@form-create/element-ui 2.7.22 → 2.7.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * FormCreate 低代码表单渲染器
3
- * @form-create/element-ui v2.7.22
4
- * (c) 2018-2025 xaboy
3
+ * @form-create/element-ui v2.7.24
4
+ * (c) 2018-2026 xaboy
5
5
  * Github https://github.com/xaboy/form-create
6
6
  * Site https://form-create.com/
7
7
  * Released under the MIT License.
@@ -11,7 +11,7 @@ var nr = Object.defineProperty, sr = Object.defineProperties;
11
11
  var or = Object.getOwnPropertyDescriptors;
12
12
  var at = Object.getOwnPropertySymbols;
13
13
  var ar = Object.prototype.hasOwnProperty, lr = Object.prototype.propertyIsEnumerable;
14
- var lt = (t, e, r) => e in t ? nr(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, v = (t, e) => {
14
+ var lt = (t, e, r) => e in t ? nr(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, _ = (t, e) => {
15
15
  for (var r in e || (e = {}))
16
16
  ar.call(e, r) && lt(t, r, e[r]);
17
17
  if (at)
@@ -111,7 +111,7 @@ const Or = "fcCheckbox", Fr = {
111
111
  input: this.onInput
112
112
  }
113
113
  }]), [this.options().map((e, r) => {
114
- const i = v({}, e), s = this.type === "button" ? "ElCheckboxButton" : "ElCheckbox";
114
+ const i = _({}, e), s = this.type === "button" ? "ElCheckboxButton" : "ElCheckbox";
115
115
  return delete i.value, t(s, I([{}, {
116
116
  props: i
117
117
  }, {
@@ -469,7 +469,7 @@ const kr = "fcFrame", Er = {
469
469
  src: this.previewImage
470
470
  }
471
471
  })]), t("el-dialog", I([{}, {
472
- props: q(v({
472
+ props: q(_({
473
473
  width: i,
474
474
  title: o,
475
475
  appendToBody: !0
@@ -550,7 +550,7 @@ const kr = "fcFrame", Er = {
550
550
  input: this.onInput
551
551
  }
552
552
  }]), [this.options().map((e, r) => {
553
- const i = v({}, e), s = this.type === "button" ? "ElRadioButton" : "ElRadio";
553
+ const i = _({}, e), s = this.type === "button" ? "ElRadioButton" : "ElRadio";
554
554
  return delete i.value, t(s, I([{}, {
555
555
  props: i
556
556
  }, {
@@ -692,7 +692,7 @@ function ft(t, e) {
692
692
  };
693
693
  }
694
694
  function ct(t) {
695
- return q(v({}, t), {
695
+ return q(_({}, t), {
696
696
  file: t,
697
697
  value: t
698
698
  });
@@ -955,7 +955,7 @@ function C() {
955
955
  return Br.apply(this, arguments);
956
956
  }
957
957
  function Ke(t) {
958
- return typeof t != "object" || t === null ? t : t instanceof Array ? [...t] : v({}, t);
958
+ return typeof t != "object" || t === null ? t : t instanceof Array ? [...t] : _({}, t);
959
959
  }
960
960
  function se(t, e) {
961
961
  var r = null;
@@ -988,7 +988,7 @@ function Ye(t, e) {
988
988
  function Mr(t) {
989
989
  Ye(t.toString()), console.error(t);
990
990
  }
991
- const We = "[[FORM-CREATE-PREFIX-", xe = "-FORM-CREATE-SUFFIX]]";
991
+ const We = "[[FORM-CREATE-PREFIX-", ze = "-FORM-CREATE-SUFFIX]]";
992
992
  function Oe(t, e) {
993
993
  return JSON.stringify(Fe(Array.isArray(t) ? [] : {}, t, !0), function(r, i) {
994
994
  if (!(i && i._isVue === !0)) {
@@ -997,19 +997,19 @@ function Oe(t, e) {
997
997
  if (i.__json)
998
998
  return i.__json;
999
999
  if (i.__origin && (i = i.__origin), !i.__emit)
1000
- return We + i + xe;
1000
+ return We + i + ze;
1001
1001
  }
1002
1002
  }, e);
1003
1003
  }
1004
1004
  function Le(t) {
1005
1005
  return new Function("return " + t)();
1006
1006
  }
1007
- function z(t, e) {
1007
+ function x(t, e) {
1008
1008
  if (t && h.String(t) && t.length > 4) {
1009
1009
  let r = t.trim(), i = !1;
1010
1010
  try {
1011
- if (r.indexOf(xe) > 0 && r.indexOf(We) === 0)
1012
- r = r.replace(xe, "").replace(We, ""), i = !0;
1011
+ if (r.indexOf(ze) > 0 && r.indexOf(We) === 0)
1012
+ r = r.replace(ze, "").replace(We, ""), i = !0;
1013
1013
  else if (r.indexOf("$FN:") === 0)
1014
1014
  r = r.substring(4), i = !0;
1015
1015
  else if (r.indexOf("$EXEC:") === 0)
@@ -1047,7 +1047,7 @@ err: ${s}`);
1047
1047
  }
1048
1048
  function St(t, e) {
1049
1049
  return JSON.parse(t, function(r, i) {
1050
- return h.Undef(i) || !i.indexOf ? i : z(i, e);
1050
+ return h.Undef(i) || !i.indexOf ? i : x(i, e);
1051
1051
  });
1052
1052
  }
1053
1053
  let qr = 0;
@@ -1196,7 +1196,7 @@ const Ur = "fcGroup", Hr = {
1196
1196
  if (i.filter((n) => r[n].$f).length !== i.length)
1197
1197
  return;
1198
1198
  const s = i.map((n) => {
1199
- const o = t === n ? e : v({}, this.cacheRule[n].$f.form), a = this.field ? o[this.field] || null : o;
1199
+ const o = t === n ? e : _({}, this.cacheRule[n].$f.form), a = this.field ? o[this.field] || null : o;
1200
1200
  return this.cache(n, a), a;
1201
1201
  });
1202
1202
  this.input(s);
@@ -1208,7 +1208,7 @@ const Ur = "fcGroup", Hr = {
1208
1208
  }), this.cacheValue[t] !== JSON.stringify(r ? e[r] : e) && (this.cache(t, e), i && i.coverValue(e || {}));
1209
1209
  },
1210
1210
  addRule(t, e) {
1211
- const r = this.formCreateInject.form.copyRules(this.formRule), i = this.options ? v({}, this.options) : {
1211
+ const r = this.formCreateInject.form.copyRules(this.formRule), i = this.options ? _({}, this.options) : {
1212
1212
  submitBtn: !1,
1213
1213
  resetBtn: !1
1214
1214
  };
@@ -1418,7 +1418,7 @@ const Ur = "fcGroup", Hr = {
1418
1418
  submitBtn: !1,
1419
1419
  resetBtn: !1
1420
1420
  };
1421
- t.formData = v({}, this.value || {}), this.cacheRule = {
1421
+ t.formData = _({}, this.value || {}), this.cacheRule = {
1422
1422
  rule: this.rule,
1423
1423
  options: t
1424
1424
  };
@@ -1472,7 +1472,7 @@ const Ur = "fcGroup", Hr = {
1472
1472
  if (o.indexOf(u) > -1)
1473
1473
  a[u] = Y([l[u]], a[u]);
1474
1474
  else if (i.indexOf(u) > -1)
1475
- a[u] = v(v({}, a[u]), l[u]);
1475
+ a[u] = _(_({}, a[u]), l[u]);
1476
1476
  else if (s.indexOf(u) > -1) {
1477
1477
  const f = a[u] instanceof Array ? a[u] : [a[u]], p = l[u] instanceof Array ? l[u] : [l[u]];
1478
1478
  a[u] = [...f, ...p];
@@ -1489,7 +1489,7 @@ const Ur = "fcGroup", Hr = {
1489
1489
  else
1490
1490
  a[u] = l[u];
1491
1491
  else
1492
- i.indexOf(u) > -1 || n.indexOf(u) > -1 || o.indexOf(u) > -1 ? a[u] = v({}, l[u]) : s.indexOf(u) > -1 ? a[u] = l[u] instanceof Array ? [...l[u]] : typeof l[u] == "object" ? v({}, l[u]) : l[u] : a[u] = l[u];
1492
+ i.indexOf(u) > -1 || n.indexOf(u) > -1 || o.indexOf(u) > -1 ? a[u] = _({}, l[u]) : s.indexOf(u) > -1 ? a[u] = l[u] instanceof Array ? [...l[u]] : typeof l[u] == "object" ? _({}, l[u]) : l[u] : a[u] = l[u];
1493
1493
  return a;
1494
1494
  }, e);
1495
1495
  }, Wr = (t, e) => function() {
@@ -1498,7 +1498,7 @@ const Ur = "fcGroup", Hr = {
1498
1498
  function It() {
1499
1499
  return [...At, ...jt, ...Dt, ...Vt, ...et, ...tt];
1500
1500
  }
1501
- function ze(t, e) {
1501
+ function xe(t, e) {
1502
1502
  return {
1503
1503
  value: t,
1504
1504
  enumerable: !1,
@@ -1519,7 +1519,7 @@ function ht(t) {
1519
1519
  const e = h.Function(t.getRule) ? t.getRule() : t;
1520
1520
  return e.type || (e.type = "input"), e;
1521
1521
  }
1522
- function xr(t, e) {
1522
+ function zr(t, e) {
1523
1523
  return t ? (Object.keys(e || {}).forEach((r) => {
1524
1524
  e[r] && (t[r] = ee(t[r] || {}, e[r]));
1525
1525
  }), t) : e;
@@ -1550,7 +1550,7 @@ function Xe(t, e) {
1550
1550
  });
1551
1551
  }), r;
1552
1552
  }
1553
- function zr(t, e) {
1553
+ function xr(t, e) {
1554
1554
  if (h.Object(t)) {
1555
1555
  const r = {};
1556
1556
  return Object.keys(t).forEach((i) => {
@@ -1575,7 +1575,7 @@ function Se() {
1575
1575
  const n = s();
1576
1576
  Array.isArray(n) ? i.push(...n) : i.push(n);
1577
1577
  } else h.Undef(s) || i.push(s);
1578
- }), zr(i, r);
1578
+ }), xr(i, r);
1579
1579
  },
1580
1580
  getSlots() {
1581
1581
  let r = [];
@@ -1740,19 +1740,19 @@ function Zr(t, e, r) {
1740
1740
  unique: 1,
1741
1741
  renderRule: [...l.value || []],
1742
1742
  updateValue: JSON.stringify(u.value || {})
1743
- }), m = new t(n), y = m.api(), _ = p.value, F = () => {
1743
+ }), m = new t(n), $ = m.api(), v = p.value, F = () => {
1744
1744
  if (o) {
1745
1745
  const E = De(n, o);
1746
1746
  if (E) {
1747
1747
  let S;
1748
- _ ? (S = G(E.getSubForm()), S.push(y)) : S = y, E.subForm(S);
1748
+ v ? (S = G(E.getSubForm()), S.push($)) : S = $, E.subForm(S);
1749
1749
  }
1750
1750
  }
1751
1751
  }, J = () => {
1752
1752
  const E = De(n, o);
1753
1753
  if (E)
1754
- if (_) {
1755
- const S = G(E.getSubForm()), M = S.indexOf(y);
1754
+ if (v) {
1755
+ const S = G(E.getSubForm()), M = S.indexOf($);
1756
1756
  M > -1 && S.splice(M, 1);
1757
1757
  } else
1758
1758
  E.subForm();
@@ -1781,32 +1781,32 @@ function Zr(t, e, r) {
1781
1781
  m.bus.$emit("change-$form." + E);
1782
1782
  };
1783
1783
  return dr(() => {
1784
- o && (y.top.bus.$on("$loadData.$form", L), y.top.bus.$on("change", me)), y !== y.scope && y.scope.bus.$on("$loadData.$scopeForm", pe), m.mounted();
1784
+ o && ($.top.bus.$on("$loadData.$form", L), $.top.bus.$on("change", me)), $ !== $.scope && $.scope.bus.$on("$loadData.$scopeForm", pe), m.mounted();
1785
1785
  }), pr(() => {
1786
- o && (y.top.bus.$off("$loadData.$form", L), y.top.bus.$off("change", me)), y !== y.scope && y.scope.bus.$off("$loadData.$scopeForm", pe), J(), d.destroyed = !0, m.unmount(), A && (A.parentNode || A.parentElement) && document.head.removeChild(A);
1786
+ o && ($.top.bus.$off("$loadData.$form", L), $.top.bus.$off("change", me)), $ !== $.scope && $.scope.bus.$off("$loadData.$scopeForm", pe), J(), d.destroyed = !0, m.unmount(), A && (A.parentNode || A.parentElement) && document.head.removeChild(A);
1787
1787
  }), mr(() => {
1788
1788
  m.updated();
1789
1789
  }), N(f, (E) => {
1790
1790
  E ? F() : J();
1791
1791
  }, { immediate: !0 }), N(() => s.option, () => {
1792
- m.initOptions(), y.refresh();
1792
+ m.initOptions(), $.refresh();
1793
1793
  }, { deep: !0, flush: "sync" }), N(() => [...l.value], (E) => {
1794
1794
  m.$handle.isBreakWatch() || E.length === d.renderRule.length && E.every((S) => d.renderRule.indexOf(S) > -1) || (m.$handle.updateAppendData(), m.$handle.reloadRule(l.value), n.renderRule());
1795
1795
  }), N(() => [s.disabled, s.preview], () => {
1796
- y.refresh();
1796
+ $.refresh();
1797
1797
  }), N(u, (E) => {
1798
- Oe(E || {}) !== d.updateValue && (y.config.forceCoverValue ? y.coverValue(E || {}) : y.setValue(E || {}));
1798
+ Oe(E || {}) !== d.updateValue && ($.config.forceCoverValue ? $.coverValue(E || {}) : $.setValue(E || {}));
1799
1799
  }, { deep: !0, flush: "post" }), N(() => s.index, () => {
1800
- y.coverValue({}), m.$handle.updateAppendData(), P(() => {
1800
+ $.coverValue({}), m.$handle.updateAppendData(), P(() => {
1801
1801
  P(() => {
1802
- y.clearValidateState();
1802
+ $.clearValidateState();
1803
1803
  });
1804
1804
  });
1805
- }, { flush: "sync" }), q(v({
1805
+ }, { flush: "sync" }), q(_({
1806
1806
  fc: ye(m),
1807
1807
  parent: o && ye(o),
1808
1808
  top: ye(a),
1809
- fapi: ye(y)
1809
+ fapi: ye($)
1810
1810
  }, ut(d)), {
1811
1811
  getGroupInject: () => De(n, o),
1812
1812
  refresh() {
@@ -1930,10 +1930,10 @@ function Ut(t) {
1930
1930
  }
1931
1931
  function yt(t, e, r) {
1932
1932
  return new Promise((i, s) => {
1933
- (e || Ut)(q(v({}, t), {
1933
+ (e || Ut)(q(_({}, t), {
1934
1934
  onSuccess(n) {
1935
1935
  let o = (l) => l;
1936
- const a = z(t.parse);
1936
+ const a = x(t.parse);
1937
1937
  h.Function(a) ? o = a : a && h.String(a) && (o = (l) => B(l, a)), Ae(o(n, t.targetRule, r)).then((l) => {
1938
1938
  i(l);
1939
1939
  });
@@ -1952,7 +1952,7 @@ function ti(t) {
1952
1952
  return h.Undef(n) ? n = t.fields() : Array.isArray(n) || (n = [n]), n;
1953
1953
  }
1954
1954
  function r(n, o, a) {
1955
- h.Undef(n) ? n = Object.keys(v(v({}, t.fieldCtx), t.nameCtx)) : Array.isArray(n) || (n = [n]), n.forEach((l) => {
1955
+ h.Undef(n) ? n = Object.keys(_(_({}, t.fieldCtx), t.nameCtx)) : Array.isArray(n) || (n = [n]), n.forEach((l) => {
1956
1956
  const u = t.fieldCtx[l] || t.nameCtx[l];
1957
1957
  u && u.forEach((f) => {
1958
1958
  k(f.rule, o, a), t.$render.clearCache(f);
@@ -2025,7 +2025,7 @@ function ti(t) {
2025
2025
  }
2026
2026
  },
2027
2027
  get formulas() {
2028
- return v({}, t.fc.formulas);
2028
+ return _({}, t.fc.formulas);
2029
2029
  },
2030
2030
  formData(n) {
2031
2031
  if (n == null || typeof n == "boolean") {
@@ -2041,7 +2041,7 @@ function ti(t) {
2041
2041
  return o ? _e(o.rule.value) : t.options.appendValue !== !1 && j(t.appendData, n) ? _e(t.appendData[n]) : void 0;
2042
2042
  },
2043
2043
  coverValue(n) {
2044
- const o = v({}, n || {});
2044
+ const o = _({}, n || {});
2045
2045
  t.deferSyncValue(() => {
2046
2046
  t.appendData = {}, s.fields().forEach((a) => {
2047
2047
  const l = t.fieldCtx[a];
@@ -2336,7 +2336,7 @@ function ti(t) {
2336
2336
  getGlobalEvent(n) {
2337
2337
  let o = s.options.globalEvent[n];
2338
2338
  if (o)
2339
- return typeof o == "object" && (o = o.handle), z(o);
2339
+ return typeof o == "object" && (o = o.handle), x(o);
2340
2340
  },
2341
2341
  getGlobalData(n) {
2342
2342
  return new Promise((o, a) => {
@@ -2553,6 +2553,7 @@ function ii(t) {
2553
2553
  return;
2554
2554
  }
2555
2555
  s = (...l) => {
2556
+ var $;
2556
2557
  const u = {
2557
2558
  rule: i,
2558
2559
  prop: n,
@@ -2564,20 +2565,20 @@ function ii(t) {
2564
2565
  l.length && i.slotUpdate && O(() => i.slotUpdate(u));
2565
2566
  let f = [];
2566
2567
  const p = e.loadChildrenPending();
2567
- e.parser.renderChildren ? f = e.parser.renderChildren(p, e) : e.parser.loadChildren !== !1 && (f = this.renderChildren(p, e)), Object.keys(n.renderSlots || {}).forEach((y) => {
2568
+ e.parser.renderChildren ? f = e.parser.renderChildren(p, e) : e.parser.loadChildren !== !1 && (f = this.renderChildren(p, e)), Object.keys(n.renderSlots || {}).forEach((v) => {
2568
2569
  f.push(this.renderRule({
2569
2570
  type: "template",
2570
- slot: y
2571
+ slot: v
2571
2572
  }, (() => {
2572
- if (h.Function(n.renderSlots[y]))
2573
- return O(() => n.renderSlots[y]());
2574
- const _ = this.parseSide(n.renderSlots[y], e);
2575
- return this.renderRule(_);
2573
+ if (h.Function(n.renderSlots[v]))
2574
+ return O(() => n.renderSlots[v]());
2575
+ const F = this.parseSide(n.renderSlots[v], e);
2576
+ return this.renderRule(F);
2576
2577
  })()));
2577
2578
  });
2578
2579
  const d = this.getTypeSlot(e);
2579
2580
  let m;
2580
- return d ? (u.children = f, m = d(u)) : m = a ? e.parser.preview(Ke(f), e) : e.parser.render(Ke(f), e), m = this.renderSides(m, e), !(!e.input && h.Undef(n.native)) && n.native !== !0 && (this.fc.targetFormDriver("updateWrap", e), m = this.$manager.makeWrap(e, m)), e.none && (Array.isArray(m) ? m = m.map((y) => !y || !y.tag ? y : this.none(y)) : m = this.none(m)), o && this.setCache(e, () => this.stable(m), r), m;
2581
+ return d ? (u.children = f, m = d(u)) : m = a ? e.parser.preview(Ke(f), e) : e.parser.render(Ke(f), e), m = this.renderSides(m, e), (!(!e.input && h.Undef(n.native)) || (($ = n.col) == null ? void 0 : $.show) === !0) && n.native !== !0 && (this.fc.targetFormDriver("updateWrap", e), m = this.$manager.makeWrap(e, m)), e.none && (Array.isArray(m) ? m = m.map((v) => !v || !v.tag ? v : this.none(v)) : m = this.none(m)), o && this.setCache(e, () => this.stable(m), r), m;
2581
2582
  }, this.setCache(e, s, r);
2582
2583
  }
2583
2584
  return (...s) => {
@@ -2644,8 +2645,8 @@ function ii(t) {
2644
2645
  preview: e.prop.preview,
2645
2646
  options: e.prop.options,
2646
2647
  prop: function() {
2647
- const n = v({}, e.prop);
2648
- return n.on = n.on ? v({}, n.on) : {}, delete n.model, n;
2648
+ const n = _({}, e.prop);
2649
+ return n.on = n.on ? _({}, n.on) : {}, delete n.model, n;
2649
2650
  }(),
2650
2651
  children: e.loadChildrenPending()
2651
2652
  };
@@ -2656,7 +2657,7 @@ function ii(t) {
2656
2657
  ctxProp(e) {
2657
2658
  const { ref: r, key: i, rule: s } = e;
2658
2659
  this.$manager.mergeProp(e), e.parser.mergeProp(e);
2659
- const n = v({}, e.prop.on || {}), o = {};
2660
+ const n = _({}, e.prop.on || {}), o = {};
2660
2661
  Object.keys(n).forEach((l) => {
2661
2662
  if (l.indexOf("native.") === 0)
2662
2663
  o[l.replace("native.", "")] = n[l], delete n[l];
@@ -2674,6 +2675,9 @@ function ii(t) {
2674
2675
  "hook:mounted": () => {
2675
2676
  this.onMounted(e);
2676
2677
  },
2678
+ "hook:beforeDestroy": () => {
2679
+ this.$handle.effect(e, "beforeUnmount"), this.$handle.targetHook(e, "beforeUnmount");
2680
+ },
2677
2681
  "fc.updateValue": (l) => {
2678
2682
  this.$handle.onUpdateValue(e, l);
2679
2683
  },
@@ -2762,7 +2766,7 @@ function ii(t) {
2762
2766
  h.trueArray(e.children) && e.children.forEach((a) => {
2763
2767
  a && n.setSlot(a == null ? void 0 : a.slot, () => this.renderRule(a));
2764
2768
  });
2765
- const o = v({}, e);
2769
+ const o = _({}, e);
2766
2770
  return delete o.type, delete o.is, this.vNode.make(s, o, n.mergeBag(r).getSlots());
2767
2771
  }
2768
2772
  });
@@ -2807,7 +2811,7 @@ function si(t) {
2807
2811
  if (!s && Array.isArray(r) && r[0] && (h.String(r[0]) || h.Function(r[0])))
2808
2812
  return this.parseEventLst(e, r, i, !0);
2809
2813
  if (h.String(r)) {
2810
- const n = z(r);
2814
+ const n = x(r);
2811
2815
  if (n && r !== n)
2812
2816
  return n.__inject ? this.parseEvent(e, n, i, !0) : n;
2813
2817
  }
@@ -2819,14 +2823,14 @@ function si(t) {
2819
2823
  let p, d = n || o || a;
2820
2824
  if (h.Object(f) && (p = f.inject, f = f.name, d = f.prefix || d), d) {
2821
2825
  r || (d = `native-${d}`);
2822
- const m = ve(`${d}-${f}`), y = (..._) => {
2823
- this.vm.$emit(m, ..._), this.vm.$emit("emit-event", m, ..._), this.bus.$emit(m, ..._);
2826
+ const m = ve(`${d}-${f}`), $ = (...v) => {
2827
+ this.vm.$emit(m, ...v), this.vm.$emit("emit-event", m, ...v), this.bus.$emit(m, ...v);
2824
2828
  };
2825
- if (y.__emit = !0, !p && l === !1)
2826
- i[f] = y;
2829
+ if ($.__emit = !0, !p && l === !1)
2830
+ i[f] = $;
2827
2831
  else {
2828
- let _ = p || l || this.options.injectEvent;
2829
- i[f] = h.Undef(_) ? y : this.inject(s, y, _);
2832
+ let v = p || l || this.options.injectEvent;
2833
+ i[f] = h.Undef(v) ? $ : this.inject(s, $, v);
2830
2834
  }
2831
2835
  }
2832
2836
  }), e.computed[r ? "on" : "nativeOn"] = i, i;
@@ -2881,8 +2885,8 @@ function si(t) {
2881
2885
  const f = u.split("||"), p = f[0].trim();
2882
2886
  if (p) {
2883
2887
  const d = (f[1] || "").trim(), m = Lt(p);
2884
- let y = O(() => a(m));
2885
- (y == null || y === "") && f.length > 1 && (y = d), l = y, e = e.replaceAll(`{{${u}}}`, y == null ? "" : y);
2888
+ let $ = O(() => a(m));
2889
+ ($ == null || $ === "") && f.length > 1 && ($ = d), l = $, e = e.replaceAll(`{{${u}}}`, $ == null ? "" : $);
2886
2890
  }
2887
2891
  }), n.length === 1 && s === `{{${n[0]}}}`)
2888
2892
  return l;
@@ -2945,9 +2949,9 @@ function li(t) {
2945
2949
  }
2946
2950
  function ui(t) {
2947
2951
  Object.defineProperties(t.origin, {
2948
- __fc__: ze(ye(t), !0)
2952
+ __fc__: xe(ye(t), !0)
2949
2953
  }), t.rule !== t.origin && Object.defineProperties(t.rule, {
2950
- __fc__: ze(ye(t), !0)
2954
+ __fc__: xe(ye(t), !0)
2951
2955
  });
2952
2956
  }
2953
2957
  function Gt(t, e, r) {
@@ -2969,7 +2973,7 @@ function Gt(t, e, r) {
2969
2973
  parent: null,
2970
2974
  group: e.subRule ? this : null,
2971
2975
  cacheConfig: null,
2972
- prop: v({}, e),
2976
+ prop: _({}, e),
2973
2977
  computed: {},
2974
2978
  payload: {},
2975
2979
  refRule: {},
@@ -3059,9 +3063,9 @@ C(Gt.prototype, {
3059
3063
  this.parser = t, t.init(this);
3060
3064
  },
3061
3065
  initProp() {
3062
- var e, r;
3063
- const t = v({}, this.rule);
3064
- delete t.children, delete t.validate, this.prop = ee({}, [t, ...Object.keys(this.payload).map((i) => this.payload[i]), this.computed]), this.prop.validate = [...((r = (e = this.refRule) == null ? void 0 : e.__$validate) == null ? void 0 : r.value) || [], ...this.prop.validate || []];
3066
+ var e, r, i;
3067
+ const t = _({}, this.rule);
3068
+ delete t.children, delete t.validate, this.prop = ee({}, [t, ...Object.keys(this.payload).map((s) => this.payload[s]), this.computed]), t.col && ((e = t.col) == null ? void 0 : e.show) !== !1 && (this.prop.col.show = !0), this.prop.validate = [...((i = (r = this.refRule) == null ? void 0 : r.__$validate) == null ? void 0 : i.value) || [], ...this.prop.validate || []];
3065
3069
  },
3066
3070
  initNone() {
3067
3071
  this.none = !(h.Undef(this.prop.display) || this.prop.display);
@@ -3143,10 +3147,10 @@ function fi(t) {
3143
3147
  parseRule(e) {
3144
3148
  const r = ht(e);
3145
3149
  return Object.defineProperties(r, {
3146
- __origin__: ze(e, !0)
3150
+ __origin__: xe(e, !0)
3147
3151
  }), ci(r), this.appendValue(r), [r, r.prefix, r.suffix].forEach((i) => {
3148
3152
  i && this.loadFn(i, r);
3149
- }), this.loadCtrl(r), r.update && (r.update = z(r.update)), r;
3153
+ }), this.loadCtrl(r), r.update && (r.update = x(r.update)), r;
3150
3154
  },
3151
3155
  loadFn(e, r) {
3152
3156
  ["on", "props", "nativeOn", "deep"].forEach((i) => {
@@ -3155,7 +3159,7 @@ function fi(t) {
3155
3159
  },
3156
3160
  loadCtrl(e) {
3157
3161
  e.control && e.control.forEach((r) => {
3158
- r.handle && (r.handle = z(r.handle));
3162
+ r.handle && (r.handle = x(r.handle));
3159
3163
  });
3160
3164
  },
3161
3165
  syncProp(e) {
@@ -3213,14 +3217,14 @@ function fi(t) {
3213
3217
  f = new Gt(this, F, m), this.bindParser(f);
3214
3218
  }
3215
3219
  [!1, !0].forEach((F) => this.parseEmit(f, F)), this.syncProp(f), f.parent = r || null, f.root = e, this.setCtx(f), !p && !d && (this.effect(f, "load"), this.targetHook(f, "load")), this.effect(f, "created");
3216
- const y = f.loadChildrenPending();
3217
- if (f.parser.loadChildren === !1 || s(y, f), !r) {
3220
+ const $ = f.loadChildrenPending();
3221
+ if (f.parser.loadChildren === !1 || s($, f), !r) {
3218
3222
  const F = i(a);
3219
3223
  F > -1 || !a ? this.sort.splice(F + 1, 0, f.id) : this.sort.push(f.id);
3220
3224
  }
3221
- const _ = f.rule;
3222
- return f.updated || (f.updated = !0, h.Function(_.update) && this.bus.$once("load-end", () => {
3223
- this.refreshUpdate(f, _.value, "init");
3225
+ const v = f.rule;
3226
+ return f.updated || (f.updated = !0, h.Function(v.update) && this.bus.$once("load-end", () => {
3227
+ this.refreshUpdate(f, v.value, "init");
3224
3228
  }), this.effect(f, "loaded")), this.refreshControl(f) && (this.cycleLoad = !0), f;
3225
3229
  }).filter((o) => !!o);
3226
3230
  r && (r.children = n);
@@ -3236,7 +3240,7 @@ function fi(t) {
3236
3240
  return (he[l.condition || "=="] || he["=="])(p, l.value);
3237
3241
  };
3238
3242
  if (!h.trueArray(l.rule)) continue;
3239
- const f = q(v({}, l), {
3243
+ const f = q(_({}, l), {
3240
3244
  valid: O(() => u(e.rule.value, s)),
3241
3245
  ctrl: di(e, l.rule),
3242
3246
  isHidden: h.String(l.rule[0])
@@ -3247,34 +3251,34 @@ function fi(t) {
3247
3251
  const n = [];
3248
3252
  let o = !1;
3249
3253
  return this.deferSyncValue(() => {
3250
- i.reverse().forEach(({ isHidden: a, valid: l, rule: u, prepend: f, append: p, child: d, ctrl: m, method: y }) => {
3254
+ i.reverse().forEach(({ isHidden: a, valid: l, rule: u, prepend: f, append: p, child: d, ctrl: m, method: $ }) => {
3251
3255
  if (a) {
3252
3256
  l ? e.ctrlRule.push({
3253
3257
  __ctrl: !0,
3254
3258
  children: u,
3255
3259
  valid: l
3256
3260
  }) : m && e.ctrlRule.splice(e.ctrlRule.indexOf(m) >>> 0, 1), n[l ? "push" : "unshift"](() => {
3257
- y === "disabled" || y === "enabled" ? this.api.disabled(!l, u) : y === "display" || y === "show" ? this.api.display(l, u) : y === "required" ? (u.forEach((_) => {
3258
- this.api.setEffect(_, "required", l);
3259
- }), l || this.api.clearValidateState(u)) : y === "if" ? this.api.hidden(!l, u) : this.api.hidden(!l, u);
3261
+ $ === "disabled" || $ === "enabled" ? this.api.disabled(!l, u) : $ === "display" || $ === "show" ? this.api.display(l, u) : $ === "required" ? (u.forEach((v) => {
3262
+ this.api.setEffect(v, "required", l);
3263
+ }), l || this.api.clearValidateState(u)) : $ === "if" ? this.api.hidden(!l, u) : this.api.hidden(!l, u);
3260
3264
  });
3261
3265
  return;
3262
3266
  }
3263
3267
  if (l) {
3264
3268
  o = !0;
3265
- const _ = {
3269
+ const v = {
3266
3270
  type: "fragment",
3267
3271
  native: !0,
3268
3272
  __ctrl: !0,
3269
3273
  children: u
3270
3274
  };
3271
- e.ctrlRule.push(_), this.bus.$once("load-start", () => {
3272
- f ? s.prepend(_, f, d) : p || d ? s.append(_, p || e.id, d) : e.root.splice(e.root.indexOf(e.origin) + 1, 0, _);
3275
+ e.ctrlRule.push(v), this.bus.$once("load-start", () => {
3276
+ f ? s.prepend(v, f, d) : p || d ? s.append(v, p || e.id, d) : e.root.splice(e.root.indexOf(e.origin) + 1, 0, v);
3273
3277
  });
3274
3278
  } else {
3275
3279
  e.ctrlRule.splice(e.ctrlRule.indexOf(m), 1);
3276
- const _ = Q(m);
3277
- _ && _.rm();
3280
+ const v = Q(m);
3281
+ v && v.rm();
3278
3282
  }
3279
3283
  });
3280
3284
  }), n.length && (this.loading ? n.length && this.bus.$once("load-end", () => {
@@ -3288,7 +3292,7 @@ function fi(t) {
3288
3292
  },
3289
3293
  _reloadRule(e) {
3290
3294
  e || (e = this.rules);
3291
- const r = v({}, this.ctxs);
3295
+ const r = _({}, this.ctxs);
3292
3296
  this.clearNextTick(), this.initData(e), this.fc.rules = e, this.deferSyncValue(() => {
3293
3297
  this.bus.$once("load-end", () => {
3294
3298
  Object.keys(r).filter((i) => this.ctxs[i] === void 0).forEach((i) => this.rmCtx(r[i])), this.$render.clearCacheAll();
@@ -3538,7 +3542,7 @@ function gi(t) {
3538
3542
  return n ? this.api.t(n[1], { title: (a = (o = e.refRule) == null ? void 0 : o.__$title) == null ? void 0 : a.value }) : s;
3539
3543
  };
3540
3544
  return G(e.rule.validate).map((s) => {
3541
- const n = v({}, s);
3545
+ const n = _({}, s);
3542
3546
  if (n.message && (n.message = i(n.message)), h.Function(n.validator)) {
3543
3547
  const o = e;
3544
3548
  n.validator = function(...a) {
@@ -3553,7 +3557,7 @@ function gi(t) {
3553
3557
  }
3554
3558
  if (n.adapter) {
3555
3559
  if (typeof n.error == "object") {
3556
- const o = v({}, n.error);
3560
+ const o = _({}, n.error);
3557
3561
  Object.keys(o).forEach((a) => {
3558
3562
  o[a] = i(o[a]);
3559
3563
  }), n.error = o;
@@ -3631,7 +3635,7 @@ function gi(t) {
3631
3635
  case "len":
3632
3636
  case "maxLen":
3633
3637
  case "minLen":
3634
- const a = (y) => n === "len" ? y === o : n === "maxLen" ? y <= o : y >= o;
3638
+ const a = ($) => n === "len" ? $ === o : n === "maxLen" ? $ <= o : $ >= o;
3635
3639
  if (Array.isArray(r)) {
3636
3640
  if (!a(r.length))
3637
3641
  return n;
@@ -3673,7 +3677,7 @@ function gi(t) {
3673
3677
  return n;
3674
3678
  break;
3675
3679
  case "hasKeys":
3676
- if (typeof r != "object" || Array.isArray(o) && o.some((y) => !(y in r)))
3680
+ if (typeof r != "object" || Array.isArray(o) && o.some(($) => !($ in r)))
3677
3681
  return n;
3678
3682
  break;
3679
3683
  case "email":
@@ -3711,15 +3715,15 @@ function gi(t) {
3711
3715
  let u = !0;
3712
3716
  for (let f = 0; f < a.group.length; f++) {
3713
3717
  const p = a.group[f];
3714
- let d, m = null, y = null;
3718
+ let d, m = null, $ = null;
3715
3719
  if (p.variable)
3716
- y = this.fc.getLoadData(p.variable);
3720
+ $ = this.fc.getLoadData(p.variable);
3717
3721
  else if (p.field)
3718
3722
  m = pt(p.field || "");
3719
3723
  else if (!p.mode)
3720
3724
  return !0;
3721
- let _ = p.compare;
3722
- if (_ && (_ = pt(_ || "")), p.mode ? d = n(p) : he[p.condition] ? h.Function(p.handler) ? d = O(() => p.handler(this.api, e.rule)) : d = O(() => new Function("$condition", "$variableVal", "$val", "$form", "$scope", "$group", "$rule", `with($form){with($scope){with(this){with($group){ return $condition['${p.condition}'](${p.variable ? "$variableVal" : m}, ${_ || "$val"}); }}}}`).call(this.api.form, he, y, p.value, this.api.top.form, this.api.top === this.api.scope ? {} : this.api.scope.form, s ? this.subRuleData[s.id] || {} : {}, e.rule)) : d = !1, l && d)
3725
+ let v = p.compare;
3726
+ if (v && (v = pt(v || "")), p.mode ? d = n(p) : he[p.condition] ? h.Function(p.handler) ? d = O(() => p.handler(this.api, e.rule)) : d = O(() => new Function("$condition", "$variableVal", "$val", "$form", "$scope", "$group", "$rule", `with($form){with($scope){with(this){with($group){ return $condition['${p.condition}'](${p.variable ? "$variableVal" : m}, ${v || "$val"}); }}}}`).call(this.api.form, he, $, p.value, this.api.top.form, this.api.top === this.api.scope ? {} : this.api.scope.form, s ? this.subRuleData[s.id] || {} : {}, e.rule)) : d = !1, l && d)
3723
3727
  return !0;
3724
3728
  l || (u = u && d);
3725
3729
  }
@@ -3791,7 +3795,7 @@ function yi(t) {
3791
3795
  emitEvent(e, ...r) {
3792
3796
  const i = this.options[e] || this.options[H("on-" + e)];
3793
3797
  if (i) {
3794
- const s = z(i);
3798
+ const s = x(i);
3795
3799
  h.Function(s) && O(() => s(...r));
3796
3800
  }
3797
3801
  this.bus.$emit(e, ...r);
@@ -3799,8 +3803,8 @@ function yi(t) {
3799
3803
  targetHook(e, r, i) {
3800
3804
  var l, u, f, p;
3801
3805
  let s = (u = (l = e.prop) == null ? void 0 : l.hook) == null ? void 0 : u[r], n = (d, m) => {
3802
- d && (d = Array.isArray(d) ? d : [d], d.forEach((y) => {
3803
- O(() => y(q(v({
3806
+ d && (d = Array.isArray(d) ? d : [d], d.forEach(($) => {
3807
+ O(() => $(q(_({
3804
3808
  args: Object.values(i || {})
3805
3809
  }, i || {}), {
3806
3810
  self: e.rule,
@@ -3880,7 +3884,7 @@ function $i(t) {
3880
3884
  },
3881
3885
  emitEffect({ ctx: e, rule: r, input: i, type: s, custom: n }, o, a) {
3882
3886
  if (!s || ["fcFragment", "fragment"].indexOf(s) > -1) return;
3883
- const l = n || Object.keys(r).reduce((u, f) => (f[0] === "$" && (u[f.substr(1)] = r[f]), u), v({}, r.effect || {}));
3887
+ const l = n || Object.keys(r).reduce((u, f) => (f[0] === "$" && (u[f.substr(1)] = r[f]), u), _({}, r.effect || {}));
3884
3888
  Object.keys(l).forEach((u) => {
3885
3889
  const f = this.providers[u];
3886
3890
  if (!f || f.input && !i) return;
@@ -3891,7 +3895,7 @@ function $i(t) {
3891
3895
  p = s;
3892
3896
  else
3893
3897
  return;
3894
- const d = v({ value: l[u], getValue: () => this.getEffect(r, u) }, a || {});
3898
+ const d = _({ value: l[u], getValue: () => this.getEffect(r, u) }, a || {});
3895
3899
  e && (d.getProp = () => e.effectData(u), d.clearProp = () => e.clearEffectData(u), d.mergeProp = (m) => ee(d.getProp(), [m]), d.id = e.id), this.bus.$emit(`p:${u}:${p}:${f.input ? 1 : 0}`, o, [d, r, this.api]);
3896
3900
  });
3897
3901
  }
@@ -3963,7 +3967,7 @@ C(X.prototype, {
3963
3967
  this.updateAppendData(), this.useProvider(), this.usePage(), this.loadRule(), this.$manager.__init(), this.lifecycle("created");
3964
3968
  },
3965
3969
  updateAppendData() {
3966
- this.appendData = v(v(v({}, this.options.formData || {}), this.fc.vm.$props.value || {}), this.appendData);
3970
+ this.appendData = _(_(_({}, this.options.formData || {}), this.fc.vm.$props.value || {}), this.appendData);
3967
3971
  },
3968
3972
  isBreakWatch() {
3969
3973
  return this.loading || this.noWatchFn || this.reloading;
@@ -4131,8 +4135,8 @@ const Fi = function(t) {
4131
4135
  i && i.__fc__ && (d = i.__fc__.getParentGroup());
4132
4136
  let m;
4133
4137
  a.template ? m = t.$handle.loadStrVar(a.template, p, d ? { rule: i, value: t.$handle.subRuleData[d.id] || {} } : null) : a.handler && h.Function(a.handler) ? m = a.handler(p, i, s) : m = t.$handle.loadStrVar(`{{${a.attr}}}`, p, d ? { rule: i, value: t.$handle.subRuleData[d.id] || {} } : null), (m == null || m === "") && a.default != null && (m = a.default), a.copy !== !1 && (m = K(m));
4134
- const y = a.modify ? i : r.getProp();
4135
- a.to === "child" ? y.children ? k(y.children, 0, m) : k(y, "children", [m]) : oe(y, a.to || "options", m), s.sync(i);
4138
+ const $ = a.modify ? i : r.getProp();
4139
+ a.to === "child" ? $.children ? k($.children, 0, m) : k($, "children", [m]) : oe($, a.to || "options", m), s.sync(i);
4136
4140
  }, u = (p) => l(p);
4137
4141
  const f = t.watchLoadData(u);
4138
4142
  l = se(l, a.wait || 300), a.watch !== !1 ? o.push(f) : f();
@@ -4160,9 +4164,9 @@ const Fi = function(t) {
4160
4164
  if (l) {
4161
4165
  const u = typeof l == "object";
4162
4166
  let f = (m) => {
4163
- let y = t.t(u ? l.attr : l, u ? l.params : null, m);
4164
- const _ = u && l.modify ? i : r.getProp();
4165
- a === "child" ? _.children ? k(_.children, 0, y) : k(_, "children", [y]) : oe(_, a, y), s.sync(i);
4167
+ let $ = t.t(u ? l.attr : l, u ? l.params : null, m);
4168
+ const v = u && l.modify ? i : r.getProp();
4169
+ a === "child" ? v.children ? k(v.children, 0, $) : k(v, "children", [$]) : oe(v, a, $), s.sync(i);
4166
4170
  }, p = (m) => f(m);
4167
4171
  const d = t.watchLoadData(p);
4168
4172
  f = se(f, l.wait || 300), l.watch !== !1 ? o.push(d) : d();
@@ -4184,7 +4188,7 @@ const Fi = function(t) {
4184
4188
  t.clearProp(), r.clearValidateState([e.field]);
4185
4189
  else {
4186
4190
  h.Object(i) || (i = { method: i });
4187
- const s = i.method, n = q(v({}, i), {
4191
+ const s = i.method, n = q(_({}, i), {
4188
4192
  validator(...o) {
4189
4193
  const a = Q(e);
4190
4194
  if (a)
@@ -4228,7 +4232,7 @@ const Fi = function(t) {
4228
4232
  l(p.data);
4229
4233
  return;
4230
4234
  } else
4231
- a = v(v({}, a), p);
4235
+ a = _(_({}, a), p);
4232
4236
  }
4233
4237
  const u = a.onError, f = () => {
4234
4238
  if (!s.getValue())
@@ -4237,32 +4241,32 @@ const Fi = function(t) {
4237
4241
  i._fn[s.id] = t.watchLoadData(se((p, d) => {
4238
4242
  if (d && a.watch === !1)
4239
4243
  return i._fn[s.id]();
4240
- const m = t.$handle.loadFetchVar(K(a), p, n), y = q(v({
4244
+ const m = t.$handle.loadFetchVar(K(a), p, n), $ = q(_({
4241
4245
  headers: {}
4242
4246
  }, m), {
4243
- onSuccess(_, F) {
4247
+ onSuccess(v, F) {
4244
4248
  if (f()) return;
4245
4249
  let J = (L) => F ? L : j(L, "data") ? L.data : L;
4246
- const A = z(m.parse);
4247
- h.Function(A) ? J = A : A && h.String(A) && (J = (L) => B(L, A)), Ae(J(_, n, o)).then((L) => {
4250
+ const A = x(m.parse);
4251
+ h.Function(A) ? J = A : A && h.String(A) && (J = (L) => B(L, A)), Ae(J(v, n, o)).then((L) => {
4248
4252
  l(L);
4249
4253
  });
4250
4254
  },
4251
- onError(_) {
4252
- l(void 0), !f() && (u || ((F) => Ye(F.message || "fetch fail " + m.action)))(_, n, o);
4255
+ onError(v) {
4256
+ l(void 0), !f() && (u || ((F) => Ye(F.message || "fetch fail " + m.action)))(v, n, o);
4253
4257
  }
4254
4258
  });
4255
- t.$handle.beforeFetch(y, { rule: n, api: o }).then(() => {
4259
+ t.$handle.beforeFetch($, { rule: n, api: o }).then(() => {
4256
4260
  if (h.Function(m.action)) {
4257
- Ae(m.action(n, o)).then((_) => {
4258
- y.onSuccess(_, !0);
4259
- }).catch((_) => {
4260
- y.onError(_);
4261
+ Ae(m.action(n, o)).then((v) => {
4262
+ $.onSuccess(v, !0);
4263
+ }).catch((v) => {
4264
+ $.onError(v);
4261
4265
  });
4262
4266
  return;
4263
4267
  }
4264
- O(() => t.create.fetch(y, { inject: s, rule: n, api: o }));
4265
- }).catch((_) => {
4268
+ O(() => t.create.fetch($, { inject: s, rule: n, api: o }));
4269
+ }).catch((v) => {
4266
4270
  });
4267
4271
  }, a.wait || 600));
4268
4272
  }
@@ -4456,16 +4460,16 @@ function Wt(t) {
4456
4460
  [Ne.name]: Ne
4457
4461
  }, r = {}, i = {}, s = {}, n = {}, o = [], a = [], l = [
4458
4462
  t.extendApi
4459
- ], u = v({}, Ri), f = Yr();
4463
+ ], u = _({}, Ri), f = Yr();
4460
4464
  let p = { global: {} };
4461
4465
  const d = t.isMobile === !0, m = ne({
4462
4466
  $mobile: d
4463
- }), y = wi(), _ = {}, F = {};
4467
+ }), $ = wi(), v = {}, F = {};
4464
4468
  Ui(t.attrs || {});
4465
4469
  function J(c) {
4466
4470
  const g = U[c];
4467
4471
  if (Array.isArray(g))
4468
- return g.map(($) => $.api());
4472
+ return g.map((y) => y.api());
4469
4473
  if (g)
4470
4474
  return g.api();
4471
4475
  }
@@ -4478,12 +4482,12 @@ function Wt(t) {
4478
4482
  }
4479
4483
  function pe() {
4480
4484
  const c = Me(...arguments);
4481
- c.id && c.prop && (u[c.id] = h.Function(c.prop) ? c.prop : q(v({}, c.prop), {
4485
+ c.id && c.prop && (u[c.id] = h.Function(c.prop) ? c.prop : q(_({}, c.prop), {
4482
4486
  name: c.id
4483
4487
  }));
4484
4488
  }
4485
4489
  function Pe(c) {
4486
- y.use(c);
4490
+ $.use(c);
4487
4491
  }
4488
4492
  function me(c) {
4489
4493
  if (arguments.length === 0)
@@ -4492,19 +4496,19 @@ function Wt(t) {
4492
4496
  return r[H(c)];
4493
4497
  const g = Me(...arguments);
4494
4498
  if (!g.id || !g.prop) return we;
4495
- const $ = H(g.id), b = g.prop, w = b.merge === !0 ? r[$] : void 0;
4496
- r[$] = je(b, w || we), f[$] = T($), b.maker && C(f, b.maker);
4499
+ const y = H(g.id), b = g.prop, w = b.merge === !0 ? r[y] : void 0;
4500
+ r[y] = je(b, w || we), f[y] = T(y), b.maker && C(f, b.maker);
4497
4501
  }
4498
4502
  function E(c, g) {
4499
- let $;
4503
+ let y;
4500
4504
  if (h.String(c)) {
4501
- if ($ = c, g === void 0)
4502
- return ["form-create", "formcreate"].indexOf($) > -1 ? S() : e[$];
4505
+ if (y = c, g === void 0)
4506
+ return ["form-create", "formcreate"].indexOf(y) > -1 ? S() : e[y];
4503
4507
  } else
4504
- $ = H(c.name), g = c;
4505
- if (!$ || !g) return;
4506
- const b = H($);
4507
- e[$] = g, e[b] = g, delete y.aliasMap[$], delete y.aliasMap[b], delete r[$], delete r[b], g.formCreateParser && me($, g.formCreateParser);
4508
+ y = H(c.name), g = c;
4509
+ if (!y || !g) return;
4510
+ const b = H(y);
4511
+ e[y] = g, e[b] = g, delete $.aliasMap[y], delete $.aliasMap[b], delete r[y], delete r[b], g.formCreateParser && me(y, g.formCreateParser);
4508
4512
  }
4509
4513
  function S() {
4510
4514
  return Zr(Be, e, i);
@@ -4515,14 +4519,14 @@ function Wt(t) {
4515
4519
  function ge(c, g) {
4516
4520
  return h.Function(c.install) ? c.install(W, g) : h.Function(c) && c(W, g), this;
4517
4521
  }
4518
- function W(c, g, $) {
4522
+ function W(c, g, y) {
4519
4523
  let b = qi(c, g || {});
4520
4524
  const w = b.$refs.fc.formCreate;
4521
- return w.$parent = $, Mi(w.options).appendChild(b.$el), w.api();
4525
+ return w.$parent = y, Mi(w.options).appendChild(b.$el), w.api();
4522
4526
  }
4523
4527
  je(W, F);
4524
- function zt(c) {
4525
- let g = v({}, t);
4528
+ function xt(c) {
4529
+ let g = _({}, t);
4526
4530
  return c ? g.inherit = {
4527
4531
  components: e,
4528
4532
  parsers: r,
@@ -4531,7 +4535,7 @@ function Wt(t) {
4531
4535
  providers: u,
4532
4536
  useApps: o,
4533
4537
  maker: f,
4534
- formulas: _,
4538
+ formulas: v,
4535
4539
  loadData: m
4536
4540
  } : delete g.inherit, Wt(g);
4537
4541
  }
@@ -4539,13 +4543,13 @@ function Wt(t) {
4539
4543
  s[c] = g;
4540
4544
  }
4541
4545
  function Zt(c, g) {
4542
- _[c] = g;
4546
+ v[c] = g;
4543
4547
  }
4544
4548
  function Qt(c, g) {
4545
- const $ = n[c] || {}, b = $.parsers || {};
4549
+ const y = n[c] || {}, b = y.parsers || {};
4546
4550
  g.parsers && Object.keys(g.parsers).forEach((w) => {
4547
4551
  b[w] = je(g.parsers[w], we);
4548
- }), g.name = c, n[c] = q(v(v({}, $), g), { parsers: b });
4552
+ }), g.name = c, n[c] = q(_(_({}, y), g), { parsers: b });
4549
4553
  }
4550
4554
  function ke(c) {
4551
4555
  c && Object.keys(U).forEach((g) => {
@@ -4558,16 +4562,16 @@ function Wt(t) {
4558
4562
  oe(m, c, g), ke(c);
4559
4563
  }
4560
4564
  function Ee(c, g) {
4561
- const $ = (...b) => O(() => g(...b));
4562
- $._driver = !0, Te(c, $);
4565
+ const y = (...b) => O(() => g(...b));
4566
+ y._driver = !0, Te(c, y);
4563
4567
  }
4564
4568
  function st(c, g) {
4565
- const $ = (c || "").split(".");
4566
- c = $.shift();
4567
- const b = $.join(".");
4569
+ const y = (c || "").split(".");
4570
+ c = y.shift();
4571
+ const b = y.join(".");
4568
4572
  if (j(m, c) || k(m, c, _t), m[c] !== _t) {
4569
4573
  let w = m[c];
4570
- return w && w._driver ? w = w(b) : $.length && (w = B(w, $)), w == null || w === "" ? g : w;
4574
+ return w && w._driver ? w = w(b) : y.length && (w = B(w, y)), w == null || w === "" ? g : w;
4571
4575
  } else
4572
4576
  return g;
4573
4577
  }
@@ -4589,7 +4593,7 @@ function Wt(t) {
4589
4593
  parsers: r,
4590
4594
  providers: u,
4591
4595
  modelFields: s,
4592
- formulas: _,
4596
+ formulas: v,
4593
4597
  isMobile: d,
4594
4598
  rules: c.$props.rule,
4595
4599
  name: c.$props.name || Ie(),
@@ -4603,7 +4607,7 @@ function Wt(t) {
4603
4607
  renderDriver: null,
4604
4608
  refreshData: ke,
4605
4609
  loadData: m,
4606
- CreateNode: y,
4610
+ CreateNode: $,
4607
4611
  bus: new Si(),
4608
4612
  unwatch: [],
4609
4613
  options: gr({}),
@@ -4628,8 +4632,8 @@ function Wt(t) {
4628
4632
  if (this.bus.$emit(c, ...g), this.renderDriver && this.renderDriver[c])
4629
4633
  return O(() => this.renderDriver[c](...g));
4630
4634
  },
4631
- t(c, g, $) {
4632
- let b = $ ? $("$t." + c) : this.globalLanguageDriver(c);
4635
+ t(c, g, y) {
4636
+ let b = y ? y("$t." + c) : this.globalLanguageDriver(c);
4633
4637
  return b == null && (b = ""), b && g && Object.keys(g).forEach((w) => {
4634
4638
  const V = new RegExp(`{${w}}`, "g");
4635
4639
  b = b.replace(V, g[w]);
@@ -4637,7 +4641,7 @@ function Wt(t) {
4637
4641
  },
4638
4642
  globalDataDriver(c) {
4639
4643
  let g = c.split(".");
4640
- const $ = g.shift(), b = this.options.value.globalData && this.options.value.globalData[$];
4644
+ const y = g.shift(), b = this.options.value.globalData && this.options.value.globalData[y];
4641
4645
  if (b) {
4642
4646
  if (b.type === "static")
4643
4647
  return B(b.data, g);
@@ -4652,18 +4656,18 @@ function Wt(t) {
4652
4656
  this.fetchCache.set(b, { status: !1 });
4653
4657
  const R = se(() => {
4654
4658
  te();
4655
- const x = this.fetchCache.get(b);
4656
- this.options.value.globalData && Object.values(this.options.value.globalData).indexOf(b) !== -1 ? (x && (x.loading = !0, this.fetchCache.set(b, x)), this.bus.$emit("$loadData.$globalData." + $)) : this.fetchCache.delete(b);
4657
- }, b.wait || 600), ae = (x) => {
4658
- this.fetchCache.set(b, { status: !0, data: x }), this.bus.$emit("$loadData.$globalData." + $);
4659
- }, le = (x, ue) => {
4659
+ const z = this.fetchCache.get(b);
4660
+ this.options.value.globalData && Object.values(this.options.value.globalData).indexOf(b) !== -1 ? (z && (z.loading = !0, this.fetchCache.set(b, z)), this.bus.$emit("$loadData.$globalData." + y)) : this.fetchCache.delete(b);
4661
+ }, b.wait || 600), ae = (z) => {
4662
+ this.fetchCache.set(b, { status: !0, data: z }), this.bus.$emit("$loadData.$globalData." + y);
4663
+ }, le = (z, ue) => {
4660
4664
  if (ue && b.watch === !1)
4661
4665
  return te();
4662
4666
  if (ue) {
4663
4667
  R();
4664
4668
  return;
4665
4669
  }
4666
- const fe = this.$handle.loadFetchVar(Ke(b), x);
4670
+ const fe = this.$handle.loadFetchVar(Ke(b), z);
4667
4671
  fe.targetRule = this.targetRule, this.$handle.api.fetch(fe).then((re) => {
4668
4672
  ae(re);
4669
4673
  }).catch((re) => {
@@ -4679,8 +4683,8 @@ function Wt(t) {
4679
4683
  return c && typeof c == "object" ? c.name : typeof c == "string" ? c : "zh-cn";
4680
4684
  },
4681
4685
  globalLanguageDriver(c) {
4682
- let g = this.vm.top.$props.t, $ = this.vm.top.$props.locale, b;
4683
- if (g && (b = O(() => g(c))), b == null && $ && typeof $ == "object" && (b = B($, c)), b == null) {
4686
+ let g = this.vm.top.$props.t, y = this.vm.top.$props.locale, b;
4687
+ if (g && (b = O(() => g(c))), b == null && y && typeof y == "object" && (b = B(y, c)), b == null) {
4684
4688
  const w = this.options.value.language || {}, V = this.getLocale();
4685
4689
  b = B(w[V] || {}, c), b == null && (b = B(Li[V] || {}, c));
4686
4690
  }
@@ -4688,69 +4692,69 @@ function Wt(t) {
4688
4692
  },
4689
4693
  globalVarDriver(c) {
4690
4694
  let g = c.split(".");
4691
- const $ = g.shift(), b = this.options.value.globalVariable && this.options.value.globalVariable[$];
4695
+ const y = g.shift(), b = this.options.value.globalVariable && this.options.value.globalVariable[y];
4692
4696
  if (b) {
4693
- const w = h.Function(b) ? b : z(b.handle);
4697
+ const w = h.Function(b) ? b : x(b.handle);
4694
4698
  if (w) {
4695
4699
  let V = w((...R) => this.$handle.api.getData(...R), this.$handle.api);
4696
4700
  return B(V, g);
4697
4701
  }
4698
4702
  }
4699
4703
  },
4700
- setData(c, g, $) {
4701
- $ ? Te(c, g) : (oe(this.vm.top.fc.tmpData, c, g), this.bus.$emit("$loadData." + c));
4704
+ setData(c, g, y) {
4705
+ y ? Te(c, g) : (oe(this.vm.top.fc.tmpData, c, g), this.bus.$emit("$loadData." + c));
4702
4706
  },
4703
4707
  getLoadData(c, g) {
4704
- let $ = null;
4708
+ let y = null;
4705
4709
  if (c != null) {
4706
4710
  let b = c.split(".");
4707
4711
  const w = b.shift();
4708
- if ($ = B(this.vm.top.fc.tmpData, c), $ != null)
4709
- return $;
4712
+ if (y = B(this.vm.top.fc.tmpData, c), y != null)
4713
+ return y;
4710
4714
  if (w === "$topForm")
4711
- $ = this.$handle.api.top.formData(!0);
4715
+ y = this.$handle.api.top.formData(!0);
4712
4716
  else if (w === "$scopeForm")
4713
- $ = this.$handle.api.scope.formData(!0);
4717
+ y = this.$handle.api.scope.formData(!0);
4714
4718
  else if (w === "$form")
4715
- $ = this.$handle.api.formData(!0);
4719
+ y = this.$handle.api.formData(!0);
4716
4720
  else if (w === "$options")
4717
- $ = this.options.value;
4721
+ y = this.options.value;
4718
4722
  else if (w === "$globalData")
4719
- $ = this.globalDataDriver(b.join(".")), b = [];
4723
+ y = this.globalDataDriver(b.join(".")), b = [];
4720
4724
  else if (w === "$var")
4721
- $ = this.globalVarDriver(b.join(".")), b = [];
4725
+ y = this.globalVarDriver(b.join(".")), b = [];
4722
4726
  else if (w === "$locale")
4723
- $ = this.getLocale(), b = [];
4727
+ y = this.getLocale(), b = [];
4724
4728
  else if (w === "$t")
4725
- $ = this.globalLanguageDriver(b.join(".")), b = [];
4729
+ y = this.globalLanguageDriver(b.join(".")), b = [];
4726
4730
  else {
4727
4731
  if (w === "$preview")
4728
4732
  return this.$handle.preview;
4729
- $ = st(c), b = [];
4733
+ y = st(c), b = [];
4730
4734
  }
4731
- $ && b.length && ($ = B($, b));
4735
+ y && b.length && (y = B(y, b));
4732
4736
  }
4733
- return $ == null || $ === "" ? g : $;
4737
+ return y == null || y === "" ? g : y;
4734
4738
  },
4735
4739
  watchLoadData(c, g) {
4736
- let $ = {};
4740
+ let y = {};
4737
4741
  const b = (R) => {
4738
4742
  this.get || (this.get = w), O(() => {
4739
4743
  c(w, R);
4740
4744
  }), this.get === w && (this.get = void 0);
4741
4745
  }, w = (R, ae) => {
4742
4746
  let le;
4743
- if (typeof R == "object" && (le = R.getValue, R = R.id), $[R])
4744
- return $[R].val;
4745
- const te = $e(() => le ? le() : this.getLoadData(R, ae)), x = R.split("."), ue = x.shift(), fe = x.shift() || "", re = se(() => {
4747
+ if (typeof R == "object" && (le = R.getValue, R = R.id), y[R])
4748
+ return y[R].val;
4749
+ const te = $e(() => le ? le() : this.getLoadData(R, ae)), z = R.split("."), ue = z.shift(), fe = z.shift() || "", re = se(() => {
4746
4750
  const ce = le ? le() : this.getLoadData(R, ae);
4747
- if ($[R])
4748
- ((ce instanceof Function || h.Object(ce) || Array.isArray(ce)) && ce === $[R].val || JSON.stringify(ce) !== JSON.stringify($[R].val)) && ($[R].val = ce, b(!0));
4751
+ if (y[R])
4752
+ ((ce instanceof Function || h.Object(ce) || Array.isArray(ce)) && ce === y[R].val || JSON.stringify(ce) !== JSON.stringify(y[R].val)) && (y[R].val = ce, b(!0));
4749
4753
  else return;
4750
4754
  }, g || 0), ir = N(te, (ce) => {
4751
4755
  re();
4752
4756
  });
4753
- return this.bus.$on("$loadData." + ue, re), fe && this.bus.$on("$loadData." + ue + "." + fe, re), $[R] = {
4757
+ return this.bus.$on("$loadData." + ue, re), fe && this.bus.$on("$loadData." + ue + "." + fe, re), y[R] = {
4754
4758
  fn: () => {
4755
4759
  this.bus.$off("$loadData." + ue, re), fe && this.bus.$off("$loadData." + ue + "." + fe, re), ir();
4756
4760
  },
@@ -4759,7 +4763,7 @@ function Wt(t) {
4759
4763
  };
4760
4764
  b(!1);
4761
4765
  const V = () => {
4762
- Object.keys($).forEach((R) => $[R].fn()), $ = {};
4766
+ Object.keys(y).forEach((R) => y[R].fn()), y = {};
4763
4767
  };
4764
4768
  return this.unwatch.push(V), V;
4765
4769
  },
@@ -4768,7 +4772,7 @@ function Wt(t) {
4768
4772
  },
4769
4773
  initOptions() {
4770
4774
  this.options.value = {};
4771
- let c = v({
4775
+ let c = _({
4772
4776
  formData: {},
4773
4777
  submitBtn: {},
4774
4778
  resetBtn: {},
@@ -4777,13 +4781,13 @@ function Wt(t) {
4777
4781
  }, K(p));
4778
4782
  const g = this.isSub();
4779
4783
  g && (c = this.mergeOptions(c, this.vm.parent.fc.options.value || {}, !0)), c = this.mergeOptions(c, this.vm.$props.option || {});
4780
- const $ = this.api();
4781
- this.targetFormDriver("initOptions", c, { api: $, isSubForm: g }), this.updateOptions(c);
4784
+ const y = this.api();
4785
+ this.targetFormDriver("initOptions", c, { api: y, isSubForm: g }), this.updateOptions(c);
4782
4786
  },
4783
- mergeOptions(c, g, $) {
4784
- return g = v({}, g || {}), $ && ["page", "onSubmit", "onReset", "onCreated", "onChange", "onMounted", "mounted", "onReload", "reload", "formData", "el", "globalClass", "style"].forEach((b) => {
4787
+ mergeOptions(c, g, y) {
4788
+ return g = _({}, g || {}), y && ["page", "onSubmit", "onReset", "onCreated", "onChange", "onMounted", "mounted", "onReload", "reload", "formData", "el", "globalClass", "style"].forEach((b) => {
4785
4789
  delete g[b];
4786
- }), g.global && (c.global = xr(c.global, g.global), delete g.global), this.$handle.$manager.mergeOptions([g], c), c;
4790
+ }), g.global && (c.global = zr(c.global, g.global), delete g.global), this.$handle.$manager.mergeOptions([g], c), c;
4787
4791
  },
4788
4792
  updateOptions(c) {
4789
4793
  this.options.value = this.mergeOptions(this.options.value, c), this.$handle.$manager.updateOptions(this.options.value), this.bus.$emit("$loadData.$options");
@@ -4833,14 +4837,14 @@ function Wt(t) {
4833
4837
  $vnode: M,
4834
4838
  parser: me,
4835
4839
  use: ge,
4836
- factory: zt,
4840
+ factory: xt,
4837
4841
  componentAlias: Pe,
4838
4842
  copyRule: Pt,
4839
4843
  copyRules: Tt,
4840
4844
  mergeRule: ee,
4841
4845
  fetch: Ut,
4842
4846
  $form: S,
4843
- parseFn: z,
4847
+ parseFn: x,
4844
4848
  parseJson: St,
4845
4849
  toJson: Oe,
4846
4850
  useApp: A,
@@ -4851,8 +4855,8 @@ function Wt(t) {
4851
4855
  function rr(c) {
4852
4856
  C(c, {
4853
4857
  create: W,
4854
- install(g, $) {
4855
- p = v(v({}, p), $ || {});
4858
+ install(g, y) {
4859
+ p = _(_({}, p), y || {});
4856
4860
  const b = `_installedFormCreate${d ? "Mobile" : ""}_${t.ui}`;
4857
4861
  if (g[b] === !0) return;
4858
4862
  g[b] = !0;
@@ -4867,9 +4871,9 @@ function Wt(t) {
4867
4871
  }
4868
4872
  });
4869
4873
  }
4870
- if (ot(F), rr(F), Ee("$cookie", Pi), Ee("$localStorage", Ti), Ee("$sessionStorage", Bi), y.use({ fragment: "fcFragment" }), t.install && W.use(t), me(Di), t.inherit) {
4874
+ if (ot(F), rr(F), Ee("$cookie", Pi), Ee("$localStorage", Ti), Ee("$sessionStorage", Bi), $.use({ fragment: "fcFragment" }), t.install && W.use(t), me(Di), t.inherit) {
4871
4875
  const c = t.inherit;
4872
- c.components && C(e, c.components), c.parsers && C(r, c.parsers), c.directives && C(i, c.directives), c.modelFields && C(s, c.modelFields), c.providers && C(u, c.providers), c.useApps && C(o, c.useApps), c.maker && C(f, c.maker), c.loadData && C(m, c.loadData), c.formulas && C(_, c.formulas);
4876
+ c.components && C(e, c.components), c.parsers && C(r, c.parsers), c.directives && C(i, c.directives), c.modelFields && C(s, c.modelFields), c.providers && C(u, c.providers), c.useApps && C(o, c.useApps), c.maker && C(f, c.maker), c.loadData && C(m, c.loadData), c.formulas && C(v, c.formulas);
4873
4877
  }
4874
4878
  const Re = S();
4875
4879
  return je(Re, F), Object.defineProperties(Re, {
@@ -4919,13 +4923,13 @@ const Ct = {
4919
4923
  let { props: e } = t.prop;
4920
4924
  e && e.autosize && e.autosize.minRows && (e.rows = e.autosize.minRows || 2);
4921
4925
  }
4922
- }, Wi = "textarea", xi = {
4926
+ }, Wi = "textarea", zi = {
4923
4927
  name: Wi,
4924
4928
  mergeProp(t) {
4925
4929
  let { props: e } = t.prop;
4926
4930
  e.type = "textarea", e && e.autosize && e.autosize.minRows && (e.rows = e.autosize.minRows || 2);
4927
4931
  }
4928
- }, Ot = "slider", zi = {
4932
+ }, Ot = "slider", xi = {
4929
4933
  name: Ot,
4930
4934
  maker: {
4931
4935
  sliderRange: T(Ot, { range: !0 })
@@ -4960,8 +4964,8 @@ const Ct = {
4960
4964
  Gi,
4961
4965
  Ji,
4962
4966
  Ki,
4963
- xi,
4964
4967
  zi,
4968
+ xi,
4965
4969
  Xi,
4966
4970
  Zi,
4967
4971
  Yi
@@ -5046,7 +5050,7 @@ function sn(t, e) {
5046
5050
  j(t, e) && !h.Object(t[e]) && (t[e] = { show: !!t[e] });
5047
5051
  }
5048
5052
  function Ge(t) {
5049
- const e = v({}, t);
5053
+ const e = _({}, t);
5050
5054
  return delete e.children, e;
5051
5055
  }
5052
5056
  const on = {
@@ -5099,7 +5103,7 @@ const on = {
5099
5103
  update() {
5100
5104
  const t = this.options.form;
5101
5105
  this.rule = {
5102
- props: v({}, t),
5106
+ props: _({}, t),
5103
5107
  nativeOn: {
5104
5108
  submit: (e) => {
5105
5109
  e.preventDefault();
@@ -5121,8 +5125,8 @@ const on = {
5121
5125
  makeWrap(t, e) {
5122
5126
  const r = t.prop, i = `${this.key}${t.key}`, s = r.col, n = this.isTitle(r) && r.wrap.title !== !1, o = !s.labelWidth && !n ? 0 : s.labelWidth, { inline: a, col: l } = this.rule.props, u = r.wrap.class;
5123
5127
  delete r.wrap.class, delete r.wrap.title;
5124
- const f = Z(r.wrap.show) ? e : this.$r(Y([r.wrap, {
5125
- props: q(v({
5128
+ const f = (h.Undef(r.wrap.show) ? !t.input : Z(r.wrap.show)) ? e : this.$r(Y([r.wrap, {
5129
+ props: q(_({
5126
5130
  labelWidth: o === void 0 ? o : Et(o),
5127
5131
  label: n ? r.title.title : void 0
5128
5132
  }, Ge(r.wrap || {})), {
@@ -5133,7 +5137,7 @@ const on = {
5133
5137
  key: `${i}fi`,
5134
5138
  ref: t.wrapRef,
5135
5139
  type: "formItem"
5136
- }]), v({ default: () => e }, n ? { label: () => this.makeInfo(r, i, t) } : {}));
5140
+ }]), _({ default: () => e }, n ? { label: () => this.makeInfo(r, i, t) } : {}));
5137
5141
  return a === !0 || Z(l) || Z(s.show) ? f : this.makeCol(r, i, [f]);
5138
5142
  },
5139
5143
  isTitle(t) {
@@ -5142,8 +5146,8 @@ const on = {
5142
5146
  return !(!e.title && !e.native || Z(e.show));
5143
5147
  },
5144
5148
  makeInfo(t, e, r) {
5145
- var f, p, d, m, y, _;
5146
- const i = v({}, t.title), s = v({}, t.info), n = nn(s), o = this.options.form, a = this.getSlot("title"), l = [a ? a({
5149
+ var f, p, d, m, $, v;
5150
+ const i = _({}, t.title), s = _({}, t.info), n = nn(s), o = this.options.form, a = this.getSlot("title"), l = [a ? a({
5147
5151
  title: (p = (f = r.refRule) == null ? void 0 : f.__$title) == null ? void 0 : p.value,
5148
5152
  rule: r.rule,
5149
5153
  options: this.options
@@ -5157,7 +5161,7 @@ const on = {
5157
5161
  };
5158
5162
  delete F.props.icon, delete F.props.show, delete F.props.info, delete F.props.align, delete F.props.native;
5159
5163
  const J = "content";
5160
- s.info && !j(F.props, J) && (F.props[J] = (_ = (y = r.refRule) == null ? void 0 : y.__$info) == null ? void 0 : _.value), l[s.align !== "left" ? "unshift" : "push"](this.$r(Y([s, F]), [
5164
+ s.info && !j(F.props, J) && (F.props[J] = (v = ($ = r.refRule) == null ? void 0 : $.__$info) == null ? void 0 : v.value), l[s.align !== "left" ? "unshift" : "push"](this.$r(Y([s, F]), [
5161
5165
  this.$r({
5162
5166
  type: "i",
5163
5167
  slot: n ? "default" : "reference",
@@ -5215,7 +5219,7 @@ const on = {
5215
5219
  }, [e]);
5216
5220
  },
5217
5221
  makeResetBtn() {
5218
- const t = v({}, this.options.resetBtn), e = t.innerText || this.$handle.api.t("reset") || "重置";
5222
+ const t = _({}, this.options.resetBtn), e = t.innerText || this.$handle.api.t("reset") || "重置";
5219
5223
  return delete t.innerText, delete t.click, delete t.col, delete t.show, this.$r({
5220
5224
  type: "button",
5221
5225
  props: t,
@@ -5231,7 +5235,7 @@ const on = {
5231
5235
  }, [e]);
5232
5236
  },
5233
5237
  makeSubmitBtn() {
5234
- const t = v({}, this.options.submitBtn), e = t.innerText || this.$handle.api.t("submit") || "提交";
5238
+ const t = _({}, this.options.submitBtn), e = t.innerText || this.$handle.api.t("submit") || "提交";
5235
5239
  return delete t.innerText, delete t.click, delete t.col, delete t.show, this.$r({
5236
5240
  type: "button",
5237
5241
  props: t,
@@ -5387,7 +5391,7 @@ function hn(t, e) {
5387
5391
  }
5388
5392
  };
5389
5393
  }
5390
- const xt = {
5394
+ const zt = {
5391
5395
  name: "required",
5392
5396
  load(t, e, r) {
5393
5397
  const i = dn(t.getValue());
@@ -5395,7 +5399,7 @@ const xt = {
5395
5399
  if (i.required === !1)
5396
5400
  t.clearProp(), r.clearValidateState([e.field]);
5397
5401
  else {
5398
- const n = v({
5402
+ const n = _({
5399
5403
  required: !0,
5400
5404
  validator(a, l, u) {
5401
5405
  o(), h.empty(l) ? u(n.message) : u();
@@ -5416,7 +5420,7 @@ const xt = {
5416
5420
  r.sync(e);
5417
5421
  },
5418
5422
  watch(...t) {
5419
- xt.load(...t);
5423
+ zt.load(...t);
5420
5424
  }
5421
5425
  };
5422
5426
  function dn(t) {
@@ -5425,7 +5429,7 @@ function dn(t) {
5425
5429
  function pn(t) {
5426
5430
  t.componentAlias(tn), Kr.forEach((e) => {
5427
5431
  t.component(e.name, e);
5428
- }), t.register(xt), en.forEach((e) => {
5432
+ }), t.register(zt), en.forEach((e) => {
5429
5433
  t.parser(e);
5430
5434
  }), Object.keys(de).forEach((e) => {
5431
5435
  t.maker[e] = de[e];
@@ -5434,7 +5438,7 @@ function pn(t) {
5434
5438
  function mn() {
5435
5439
  return Wt({
5436
5440
  ui: "element-ui",
5437
- version: "2.7.22",
5441
+ version: "2.7.24",
5438
5442
  manager: on,
5439
5443
  extendApi: hn,
5440
5444
  install: pn,