@form-create/iview 2.7.10 → 2.7.11

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,12 +1,12 @@
1
1
  /*!
2
2
  * FormCreate 低代码表单渲染器
3
- * @form-create/iview v2.7.10
3
+ * @form-create/iview v2.7.11
4
4
  * (c) 2018-2025 xaboy
5
5
  * Github https://github.com/xaboy/form-create
6
6
  * Site https://form-create.com/
7
7
  * Released under the MIT License.
8
8
  */
9
- (function(){"use strict";try{if(typeof document!="undefined"){var o=document.createElement("style");o.appendChild(document.createTextNode('._fc-frame .fc-upload-btn{border:1px dashed #c0ccda;cursor:pointer}._fc-frame .fc-upload-cover{opacity:0;position:absolute;inset:0;background:#0009;transition:opacity .3s}._fc-frame .fc-upload-cover i{color:#fff;font-size:20px;cursor:pointer;margin:0 2px}._fc-frame .fc-files:hover .fc-upload-cover{opacity:1}._fc-frame .ivu-upload-list{margin-top:0}._fc-frame .fc-files img{width:100%;height:100%;display:inline-block;vertical-align:top}._fc-frame .fc-upload-btn,._fc-frame .fc-files{display:inline-block;width:58px;height:58px;text-align:center;line-height:58px;border:1px solid #c0ccda;border-radius:4px;overflow:hidden;background:#fff;position:relative;box-shadow:2px 2px 5px #0000001a;margin-right:4px;box-sizing:border-box}._fc-upload .fc-upload-btn{border:1px dashed #c0ccda;cursor:pointer}._fc-upload .fc-upload-cover{opacity:0;position:absolute;inset:0;background:#0009;transition:opacity .3s}._fc-upload .fc-upload-cover i{color:#fff;font-size:20px;cursor:pointer;margin:0 2px}._fc-upload .fc-files:hover .fc-upload-cover{opacity:1}._fc-upload .ivu-upload-list{margin-top:0}._fc-upload .fc-files img{width:100%;height:100%;display:inline-block;vertical-align:top}._fc-upload .fc-upload-btn,._fc-upload .fc-files{display:inline-block;width:58px;height:58px;text-align:center;line-height:58px;border:1px solid #c0ccda;border-radius:4px;overflow:hidden;background:#fff;position:relative;box-shadow:2px 2px 5px #0000001a;margin-right:4px;box-sizing:border-box}._fc-group{display:flex;min-height:42px;justify-content:center;flex-direction:column}._fc-group-disabled ._fc-group-btn,._fc-group-disabled ._fc-group-add{cursor:not-allowed}._fc-group-handle{display:flex;flex-direction:row;position:absolute;bottom:-15px;right:30px;border-radius:15px;border:1px dashed #d9d9d9;padding:3px 8px;background-color:#fff}._fc-group-btn{cursor:pointer}._fc-group-idx{position:absolute;bottom:-15px;left:10px;width:30px;height:30px;display:flex;align-items:center;justify-content:center;background:#eee;border-radius:15px;font-weight:700}._fc-group-handle ._fc-group-btn+._fc-group-btn{margin-left:7px}._fc-group-container{position:relative;display:flex;flex-direction:column;border:1px dashed #d9d9d9;padding:20px 20px 25px;margin:5px 5px 25px;border-radius:5px}._fc-group-arrow{position:relative;width:20px;height:20px}._fc-group-arrow:before{content:"";position:absolute;top:8px;left:5px;width:9px;height:9px;border-left:2px solid #999;border-top:2px solid #999}._fc-group-arrow:before{transform:rotate(45deg)}._fc-group-arrow._fc-group-down{transform:rotate(180deg)}._fc-group-plus-minus{width:20px;height:20px;position:relative;cursor:pointer}._fc-group-plus-minus:before,._fc-group-plus-minus:after{content:"";position:absolute;top:50%;left:50%;width:60%;height:2px;background-color:#409eff;transform:translate(-50%,-50%)}._fc-group-plus-minus:before{transform:translate(-50%,-50%) rotate(90deg)}._fc-group-plus-minus._fc-group-minus:before{display:none}._fc-group-plus-minus._fc-group-minus:after{background-color:#f56c6c}._fc-group-add{cursor:pointer;width:25px;height:25px;border:1px solid rgb(64 158 255 / 50%);border-radius:15px}._fc-group-add._fc-group-plus-minus:before,._fc-group-add._fc-group-plus-minus:after{width:50%}.form-create .form-create .ivu-form-item{margin-bottom:24px}.form-create .form-create .ivu-form-item .ivu-form-item{margin-bottom:0}')),document.head.appendChild(o)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
9
+ (function(){"use strict";try{if(typeof document!="undefined"){var o=document.createElement("style");o.appendChild(document.createTextNode('._fc-frame .fc-upload-btn{border:1px dashed #c0ccda;cursor:pointer}._fc-frame .fc-upload-cover{opacity:0;position:absolute;inset:0;background:#0009;transition:opacity .3s}._fc-frame .fc-upload-cover i{color:#fff;font-size:20px;cursor:pointer;margin:0 2px}._fc-frame .fc-files:hover .fc-upload-cover{opacity:1}._fc-frame .ivu-upload-list{margin-top:0}._fc-frame .fc-files img{width:100%;height:100%;display:inline-block;vertical-align:top}._fc-frame .fc-upload-btn,._fc-frame .fc-files{display:inline-block;width:58px;height:58px;text-align:center;line-height:58px;border:1px solid #c0ccda;border-radius:4px;overflow:hidden;background:#fff;position:relative;box-shadow:2px 2px 5px #0000001a;margin-right:4px;box-sizing:border-box}._fc-upload .fc-upload-btn{border:1px dashed #c0ccda;cursor:pointer}._fc-upload .fc-upload-cover{opacity:0;position:absolute;inset:0;background:#0009;transition:opacity .3s}._fc-upload .fc-upload-cover i{color:#fff;font-size:20px;cursor:pointer;margin:0 2px}._fc-upload .fc-files:hover .fc-upload-cover{opacity:1}._fc-upload .ivu-upload-list{margin-top:0}._fc-upload .fc-files img{width:100%;height:100%;display:inline-block;vertical-align:top}._fc-upload .fc-upload-btn,._fc-upload .fc-files{display:inline-block;width:58px;height:58px;text-align:center;line-height:58px;border:1px solid #c0ccda;border-radius:4px;overflow:hidden;background:#fff;position:relative;box-shadow:2px 2px 5px #0000001a;margin-right:4px;box-sizing:border-box}._fc-group{display:flex;min-height:42px;justify-content:center;flex-direction:column}._fc-group-disabled ._fc-group-btn,._fc-group-disabled ._fc-group-add{cursor:not-allowed}._fc-group-handle{display:flex;flex-direction:row;position:absolute;bottom:-15px;right:30px;border-radius:15px;border:1px dashed #d9d9d9;padding:3px 8px;background-color:#fff}._fc-group-btn{cursor:pointer}._fc-group-idx{position:absolute;bottom:-15px;left:10px;width:30px;height:30px;display:flex;align-items:center;justify-content:center;background:#eee;border-radius:15px;font-weight:700}._fc-group-handle ._fc-group-btn+._fc-group-btn{margin-left:7px}._fc-group-container{position:relative;display:flex;flex-direction:column;border:1px dashed #d9d9d9;padding:20px 20px 25px;margin:5px 5px 25px;border-radius:5px}._fc-group-arrow{position:relative;width:20px;height:20px}._fc-group-arrow:before{content:"";position:absolute;top:8px;left:5px;width:9px;height:9px;border-left:2px solid #999;border-top:2px solid #999}._fc-group-arrow:before{transform:rotate(45deg)}._fc-group-arrow._fc-group-down{transform:rotate(180deg)}._fc-group-plus-minus{width:20px;height:20px;position:relative;cursor:pointer}._fc-group-plus-minus:before,._fc-group-plus-minus:after{content:"";position:absolute;top:50%;left:50%;width:60%;height:2px;background-color:#409eff;transform:translate(-50%,-50%)}._fc-group-plus-minus:before{transform:translate(-50%,-50%) rotate(90deg)}._fc-group-plus-minus._fc-group-minus:before{display:none}._fc-group-plus-minus._fc-group-minus:after{background-color:#f56c6c}._fc-group-add{cursor:pointer;width:25px;height:25px;border:1px solid rgb(64 158 255 / 50%);border-radius:15px}._fc-group-add._fc-group-plus-minus:before,._fc-group-add._fc-group-plus-minus:after{width:50%}.form-create .form-create .ivu-form-item{margin-bottom:24px}.form-create .form-create .ivu-form-item .ivu-form-item{margin-bottom:0}.form-create.is-preview .fc-clock,.form-create .fc-none{display:none!important}')),document.head.appendChild(o)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
10
10
  var sr = Object.defineProperty, or = Object.defineProperties;
11
11
  var ar = Object.getOwnPropertyDescriptors;
12
12
  var at = Object.getOwnPropertySymbols;
@@ -54,8 +54,8 @@ const A = /* @__PURE__ */ $r(Or);
54
54
  function Ve(t, e) {
55
55
  return Object.keys(t).reduce((r, i) => ((!e || e.indexOf(i) === -1) && r.push(t[i]), r), []);
56
56
  }
57
- const kr = "fcCheckbox", Fr = {
58
- name: kr,
57
+ const Fr = "fcCheckbox", kr = {
58
+ name: Fr,
59
59
  props: {
60
60
  formCreateInject: {
61
61
  type: Object,
@@ -127,7 +127,7 @@ function H(t) {
127
127
  return Array.isArray(t) ? t : [null, void 0, ""].indexOf(t) > -1 ? [] : [t];
128
128
  }
129
129
  const Sr = "fcFrame";
130
- function kt(t) {
130
+ function Ft(t) {
131
131
  return {
132
132
  name: Sr,
133
133
  props: {
@@ -503,11 +503,11 @@ function kt(t) {
503
503
  }
504
504
  };
505
505
  }
506
- const Ft = kt({
506
+ const kt = Ft({
507
507
  fileIcon: "md-document",
508
508
  fileUpIcon: "ios-folder-open"
509
509
  });
510
- Ft.v2 = kt({
510
+ kt.v2 = Ft({
511
511
  fileIcon: "document-text",
512
512
  fileUpIcon: "folder"
513
513
  });
@@ -604,7 +604,7 @@ const Rr = "fcRadio", Er = {
604
604
  return h.type(e, t);
605
605
  };
606
606
  });
607
- function E(t, e) {
607
+ function D(t, e) {
608
608
  return {}.hasOwnProperty.call(t, e);
609
609
  }
610
610
  const Dr = "fcSelect", jr = {
@@ -634,7 +634,7 @@ const Dr = "fcSelect", jr = {
634
634
  }, [h.trueArray(n.options) && n.options.map((a, l) => r(a, l))]), s = e.props.formCreateInject.options;
635
635
  return t("Select", A([{}, e.data, {
636
636
  ref: "el"
637
- }]), [(Array.isArray(s) ? s : []).map((n, o) => E(n || "", "options") ? i(n, o) : r(n, o)), e.children]);
637
+ }]), [(Array.isArray(s) ? s : []).map((n, o) => D(n || "", "options") ? i(n, o) : r(n, o)), e.children]);
638
638
  },
639
639
  mounted() {
640
640
  this.$emit("fc.el", this.$refs.el);
@@ -915,7 +915,7 @@ Rt.v2 = St({
915
915
  fileIcon: "document-text",
916
916
  imgUpIcon: "image"
917
917
  });
918
- function k(t, e, r) {
918
+ function F(t, e, r) {
919
919
  $e.set(t, e, r);
920
920
  }
921
921
  function re(t, e) {
@@ -929,19 +929,19 @@ function Ce(t, e = {}, r) {
929
929
  if ((i = Array.isArray(n)) || h.Object(n)) {
930
930
  let o = t[s] === void 0;
931
931
  if (i)
932
- i = !1, o && k(t, s, []);
932
+ i = !1, o && F(t, s, []);
933
933
  else if (n._clone && r !== void 0)
934
934
  if (r)
935
- n = n.getRule(), o && k(t, s, {});
935
+ n = n.getRule(), o && F(t, s, {});
936
936
  else {
937
- k(t, s, n._clone());
937
+ F(t, s, n._clone());
938
938
  continue;
939
939
  }
940
940
  else
941
- o && k(t, s, {});
941
+ o && F(t, s, {});
942
942
  t[s] = Ce(t[s], n, r);
943
943
  } else
944
- k(t, s, n), h.Undef(n) || (h.Undef(n.__json) || (t[s].__json = n.__json), h.Undef(n.__origin) || (t[s].__origin = n.__origin));
944
+ F(t, s, n), h.Undef(n) || (h.Undef(n.__json) || (t[s].__json = n.__json), h.Undef(n.__origin) || (t[s].__origin = n.__origin));
945
945
  }
946
946
  return r !== void 0 && Array.isArray(t) ? t.filter((s) => !s || !s.__ctrl) : t;
947
947
  }
@@ -951,7 +951,7 @@ function G(t) {
951
951
  const Lr = Object.assign || function(t) {
952
952
  for (let e, r = 1; r < arguments.length; r++)
953
953
  for (let i in e = arguments[r], e)
954
- Object.prototype.hasOwnProperty.call(e, i) && k(t, i, e[i]);
954
+ Object.prototype.hasOwnProperty.call(e, i) && F(t, i, e[i]);
955
955
  return t;
956
956
  };
957
957
  function C() {
@@ -1082,7 +1082,7 @@ const Br = "fcGroup", Tr = {
1082
1082
  },
1083
1083
  methods: {
1084
1084
  _value(t) {
1085
- return t && E(t, this.field) ? t[this.field] : t;
1085
+ return t && D(t, this.field) ? t[this.field] : t;
1086
1086
  },
1087
1087
  cache(t, e) {
1088
1088
  this.cacheValue[t] = JSON.stringify(e);
@@ -1350,12 +1350,12 @@ const Br = "fcGroup", Tr = {
1350
1350
  }]));
1351
1351
  }
1352
1352
  }, Ur = [
1353
- Fr,
1353
+ kr,
1354
1354
  Er,
1355
1355
  jr,
1356
1356
  Ir,
1357
1357
  Mr,
1358
- Ft,
1358
+ kt,
1359
1359
  Rt,
1360
1360
  Tr
1361
1361
  ];
@@ -1488,8 +1488,8 @@ function Pe() {
1488
1488
  function se(t, e, r) {
1489
1489
  let i = t, s;
1490
1490
  return (e || "").split(".").forEach((n) => {
1491
- s && ((!i[s] || typeof i[s] != "object") && k(i, s, {}), i = i[s]), s = n;
1492
- }), k(i, s, r), i;
1491
+ s && ((!i[s] || typeof i[s] != "object") && F(i, s, {}), i = i[s]), s = n;
1492
+ }), F(i, s, r), i;
1493
1493
  }
1494
1494
  function Ze(t, e) {
1495
1495
  return {
@@ -1552,7 +1552,7 @@ function Kr(t, e) {
1552
1552
  } else
1553
1553
  return Qe(t, e);
1554
1554
  }
1555
- function Fe() {
1555
+ function ke() {
1556
1556
  const t = {}, e = (r) => r || "default";
1557
1557
  return {
1558
1558
  setSlot(r, i) {
@@ -1705,6 +1705,7 @@ function Zr(t, e, r) {
1705
1705
  index: [String, Number],
1706
1706
  api: Object,
1707
1707
  locale: [String, Object],
1708
+ t: Function,
1708
1709
  name: String,
1709
1710
  subForm: {
1710
1711
  type: Boolean,
@@ -1732,70 +1733,70 @@ function Zr(t, e, r) {
1732
1733
  unique: 1,
1733
1734
  renderRule: [...l.value || []],
1734
1735
  updateValue: JSON.stringify(u.value || {})
1735
- }), g = new t(n), y = g.api(), _ = p.value, D = () => {
1736
+ }), m = new t(n), y = m.api(), _ = p.value, j = () => {
1736
1737
  if (o) {
1737
- const F = De(n, o);
1738
- if (F) {
1739
- let R;
1740
- _ ? (R = H(F.getSubForm()), R.push(y)) : R = y, F.subForm(R);
1738
+ const k = De(n, o);
1739
+ if (k) {
1740
+ let E;
1741
+ _ ? (E = H(k.getSubForm()), E.push(y)) : E = y, k.subForm(E);
1741
1742
  }
1742
1743
  }
1743
1744
  }, ee = () => {
1744
- const F = De(n, o);
1745
- if (F)
1745
+ const k = De(n, o);
1746
+ if (k)
1746
1747
  if (_) {
1747
- const R = H(F.getSubForm()), N = R.indexOf(y);
1748
- N > -1 && R.splice(N, 1);
1748
+ const E = H(k.getSubForm()), N = E.indexOf(y);
1749
+ N > -1 && E.splice(N, 1);
1749
1750
  } else
1750
- F.subForm();
1751
+ k.subForm();
1751
1752
  };
1752
1753
  let I = null;
1753
1754
  dr(() => {
1754
1755
  B(() => {
1755
- let F = "";
1756
- const R = s.option && s.option.globalClass || {};
1757
- Object.keys(R).forEach((N) => {
1756
+ let k = "";
1757
+ const E = s.option && s.option.globalClass || {};
1758
+ Object.keys(E).forEach((N) => {
1758
1759
  let pe = "";
1759
- R[N].style && Object.keys(R[N].style).forEach((z) => {
1760
- pe += be(z) + ":" + R[N].style[z] + ";";
1761
- }), R[N].content && (pe += R[N].content + ";"), pe && (F += `.${N}{${pe}}`);
1762
- }), s.option && s.option.style && (F += s.option.style), I || (I = document.createElement("style"), I.type = "text/css", document.head.appendChild(I)), I.innerHTML = F || "";
1760
+ E[N].style && Object.keys(E[N].style).forEach((z) => {
1761
+ pe += be(z) + ":" + E[N].style[z] + ";";
1762
+ }), E[N].content && (pe += E[N].content + ";"), pe && (k += `.${N}{${pe}}`);
1763
+ }), s.option && s.option.style && (k += s.option.style), I || (I = document.createElement("style"), I.type = "text/css", document.head.appendChild(I)), I.innerHTML = k || "";
1763
1764
  }, () => {
1764
1765
  });
1765
1766
  });
1766
1767
  const T = ne(() => {
1767
- g.bus.$emit("$loadData.$topForm");
1768
+ m.bus.$emit("$loadData.$topForm");
1768
1769
  }, 100), he = ne(function() {
1769
- g.bus.$emit("$loadData.$scopeForm");
1770
+ m.bus.$emit("$loadData.$scopeForm");
1770
1771
  }, 100), Le = ne(() => {
1771
- g.bus.$emit("$loadData.$form");
1772
- }, 100), de = (F) => {
1773
- g.bus.$emit("change-$form." + F);
1772
+ m.bus.$emit("$loadData.$form");
1773
+ }, 100), de = (k) => {
1774
+ m.bus.$emit("change-$form." + k);
1774
1775
  };
1775
1776
  return pr(() => {
1776
- o && (y.top.bus.$on("$loadData.$form", T), y.top.bus.$on("change", de)), y !== y.scope && y.scope.bus.$on("$loadData.$scopeForm", he), g.mounted();
1777
+ o && (y.top.bus.$on("$loadData.$form", T), y.top.bus.$on("change", de)), y !== y.scope && y.scope.bus.$on("$loadData.$scopeForm", he), m.mounted();
1777
1778
  }), mr(() => {
1778
- o && (y.top.bus.$off("$loadData.$form", T), y.top.bus.$off("change", de)), y !== y.scope && y.scope.bus.$off("$loadData.$scopeForm", he), ee(), d.destroyed = !0, g.unmount(), I && (I.parentNode || I.parentElement) && document.head.removeChild(I);
1779
+ o && (y.top.bus.$off("$loadData.$form", T), y.top.bus.$off("change", de)), y !== y.scope && y.scope.bus.$off("$loadData.$scopeForm", he), ee(), d.destroyed = !0, m.unmount(), I && (I.parentNode || I.parentElement) && document.head.removeChild(I);
1779
1780
  }), gr(() => {
1780
- g.updated();
1781
- }), B(f, (F) => {
1782
- F ? D() : ee();
1781
+ m.updated();
1782
+ }), B(f, (k) => {
1783
+ k ? j() : ee();
1783
1784
  }, { immediate: !0 }), B(() => s.option, () => {
1784
- g.initOptions(), y.refresh();
1785
- }, { deep: !0 }), B(() => [...l.value], (F) => {
1786
- g.$handle.isBreakWatch() || F.length === d.renderRule.length && F.every((R) => d.renderRule.indexOf(R) > -1) || (g.$handle.updateAppendData(), g.$handle.reloadRule(l.value), n.renderRule());
1785
+ m.initOptions(), y.refresh();
1786
+ }, { deep: !0 }), B(() => [...l.value], (k) => {
1787
+ m.$handle.isBreakWatch() || k.length === d.renderRule.length && k.every((E) => d.renderRule.indexOf(E) > -1) || (m.$handle.updateAppendData(), m.$handle.reloadRule(l.value), n.renderRule());
1787
1788
  }), B(() => [s.disabled, s.preview], () => {
1788
1789
  y.refresh();
1789
- }), B(u, (F) => {
1790
- _e(F || {}) !== d.updateValue && (y.config.forceCoverValue ? y.coverValue(F || {}) : y.setValue(F || {}));
1790
+ }), B(u, (k) => {
1791
+ _e(k || {}) !== d.updateValue && (y.config.forceCoverValue ? y.coverValue(k || {}) : y.setValue(k || {}));
1791
1792
  }, { deep: !0, flush: "post" }), B(() => s.index, () => {
1792
- y.coverValue({}), g.$handle.updateAppendData(), V(() => {
1793
+ y.coverValue({}), m.$handle.updateAppendData(), V(() => {
1793
1794
  V(() => {
1794
1795
  y.clearValidateState();
1795
1796
  });
1796
1797
  });
1797
1798
  }, { flush: "sync" }), U(v({
1798
- fc: ge(g),
1799
+ fc: ge(m),
1799
1800
  parent: o && ge(o),
1800
1801
  top: ge(a),
1801
1802
  fapi: ge(y)
@@ -1807,10 +1808,10 @@ function Zr(t, e, r) {
1807
1808
  renderRule() {
1808
1809
  d.renderRule = [...l.value || []];
1809
1810
  },
1810
- updateValue(F) {
1811
+ updateValue(k) {
1811
1812
  if (d.destroyed) return;
1812
- const R = _e(F);
1813
- d.updateValue !== R && (d.updateValue = R, n.$emit("update:value", F), V(() => {
1813
+ const E = _e(k);
1814
+ d.updateValue !== E && (d.updateValue = E, n.$emit("update:value", k), V(() => {
1814
1815
  Le(), o ? f.value || he() : (T(), he());
1815
1816
  }));
1816
1817
  }
@@ -1847,7 +1848,7 @@ C(rt.prototype, {
1847
1848
  return this._data;
1848
1849
  },
1849
1850
  setProp(t, e) {
1850
- return k(this._data, t, e), this;
1851
+ return F(this._data, t, e), this;
1851
1852
  },
1852
1853
  _clone() {
1853
1854
  const t = new this.constructor();
@@ -1945,7 +1946,7 @@ function ei(t) {
1945
1946
  h.Undef(n) ? n = Object.keys(v(v({}, t.fieldCtx), t.nameCtx)) : Array.isArray(n) || (n = [n]), n.forEach((l) => {
1946
1947
  const u = t.fieldCtx[l] || t.nameCtx[l];
1947
1948
  u && u.forEach((f) => {
1948
- k(f.rule, o, a), t.$render.clearCache(f);
1949
+ F(f.rule, o, a), t.$render.clearCache(f);
1949
1950
  });
1950
1951
  });
1951
1952
  }
@@ -2028,7 +2029,7 @@ function ei(t) {
2028
2029
  },
2029
2030
  getValue(n) {
2030
2031
  const o = t.getFieldCtx(n);
2031
- return o ? ve(o.rule.value) : t.options.appendValue !== !1 && E(t.appendData, n) ? ve(t.appendData[n]) : void 0;
2032
+ return o ? ve(o.rule.value) : t.options.appendValue !== !1 && D(t.appendData, n) ? ve(t.appendData[n]) : void 0;
2032
2033
  },
2033
2034
  coverValue(n) {
2034
2035
  const o = v({}, n || {});
@@ -2036,9 +2037,9 @@ function ei(t) {
2036
2037
  t.appendData = {}, s.fields().forEach((a) => {
2037
2038
  const l = t.fieldCtx[a];
2038
2039
  if (l) {
2039
- const u = E(n, a);
2040
+ const u = D(n, a);
2040
2041
  l.forEach((f) => {
2041
- k(f.rule, "value", u ? n[a] : void 0);
2042
+ F(f.rule, "value", u ? n[a] : void 0);
2042
2043
  }), delete o[a];
2043
2044
  }
2044
2045
  }), C(t.appendData, o);
@@ -2051,7 +2052,7 @@ function ei(t) {
2051
2052
  const l = t.fieldCtx[a];
2052
2053
  if (!l) return t.appendData[a] = o[a];
2053
2054
  l.forEach((u) => {
2054
- k(u.rule, "value", o[a]);
2055
+ F(u.rule, "value", o[a]);
2055
2056
  });
2056
2057
  });
2057
2058
  }, !0);
@@ -2115,7 +2116,7 @@ function ei(t) {
2115
2116
  disabled(n, o) {
2116
2117
  e(o).forEach((a) => {
2117
2118
  t.getCtxs(a).forEach((l) => {
2118
- k(l.rule.props, "disabled", !!n);
2119
+ F(l.rule.props, "disabled", !!n);
2119
2120
  });
2120
2121
  }), t.refresh();
2121
2122
  },
@@ -2173,7 +2174,7 @@ function ei(t) {
2173
2174
  t.$manager.updateOptions(t.options), s.refresh();
2174
2175
  },
2175
2176
  hideForm: (n) => {
2176
- k(t.vm, "isShow", !n);
2177
+ F(t.vm, "isShow", !n);
2177
2178
  },
2178
2179
  changeStatus: () => t.changeStatus,
2179
2180
  clearChangeStatus: () => {
@@ -2218,7 +2219,7 @@ function ei(t) {
2218
2219
  },
2219
2220
  setEffect(n, o, a) {
2220
2221
  const l = t.getCtx(n);
2221
- l && o && (o[0] === "$" && (o = o.substr(1)), E(l.rule, "$" + o) && k(l.rule, "$" + o, a), E(l.rule, "effect") || k(l.rule, "effect", {}), k(l.rule.effect, o, a));
2222
+ l && o && (o[0] === "$" && (o = o.substr(1)), D(l.rule, "$" + o) && F(l.rule, "$" + o, a), D(l.rule, "effect") || F(l.rule, "effect", {}), F(l.rule.effect, o, a));
2222
2223
  },
2223
2224
  clearEffectData(n, o) {
2224
2225
  const a = t.getCtx(n);
@@ -2305,7 +2306,7 @@ function ei(t) {
2305
2306
  const l = s.getChildrenRuleList(n);
2306
2307
  t.deferSyncValue(() => {
2307
2308
  l.forEach((u) => {
2308
- E(o, u.field) ? k(u, "value", o[u.field]) : a && k(u, "value", void 0);
2309
+ D(o, u.field) ? F(u, "value", o[u.field]) : a && F(u, "value", void 0);
2309
2310
  });
2310
2311
  });
2311
2312
  },
@@ -2449,7 +2450,7 @@ function ri(t) {
2449
2450
  if (!this.vm.isShow)
2450
2451
  return;
2451
2452
  this.$manager.beforeRender();
2452
- const e = Fe();
2453
+ const e = ke();
2453
2454
  return this.sort.forEach((r) => {
2454
2455
  this.renderSlot(e, this.$handle.ctxs[r]);
2455
2456
  }), this.$manager.render(e);
@@ -2525,8 +2526,8 @@ function ri(t) {
2525
2526
  })()));
2526
2527
  });
2527
2528
  const d = this.getTypeSlot(e);
2528
- let g;
2529
- return d ? (u.children = f, g = d(u)) : g = a ? e.parser.preview(We(f), e) : e.parser.render(We(f), e), g = this.renderSides(g, e), !(!e.input && h.Undef(n.native)) && n.native !== !0 && (this.fc.targetFormDriver("updateWrap", e), g = this.$manager.makeWrap(e, g)), e.none && (Array.isArray(g) ? g = g.map((y) => !y || !y.tag ? y : this.none(y)) : g = this.none(g)), o && this.setCache(e, () => this.stable(g), r), g;
2529
+ let m;
2530
+ return d ? (u.children = f, m = d(u)) : m = a ? e.parser.preview(We(f), e) : e.parser.render(We(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;
2530
2531
  }, this.setCache(e, s, r);
2531
2532
  }
2532
2533
  return (...s) => {
@@ -2663,7 +2664,7 @@ function ri(t) {
2663
2664
  },
2664
2665
  renderChildren(e, r, i) {
2665
2666
  if (!h.trueArray(e)) return [];
2666
- const s = Fe();
2667
+ const s = ke();
2667
2668
  return e.map((n) => {
2668
2669
  if (n) {
2669
2670
  if (h.String(n)) return s.setSlot(null, i ? this.renderRule({
@@ -2689,7 +2690,7 @@ function ri(t) {
2689
2690
  },
2690
2691
  createRuleVnode(e, r, i) {
2691
2692
  this.force = i !== !1, this.tmpInput = r;
2692
- const s = Fe();
2693
+ const s = ke();
2693
2694
  return this.renderSlot(s, e, e.parent), this.force = !1, this.tmpInput = null, s.getSlots();
2694
2695
  },
2695
2696
  renderRule(e, r, i) {
@@ -2704,7 +2705,7 @@ function ri(t) {
2704
2705
  a && (s = q(a));
2705
2706
  }
2706
2707
  if (!s) return;
2707
- const n = Fe();
2708
+ const n = ke();
2708
2709
  h.trueArray(e.children) && e.children.forEach((a) => {
2709
2710
  a && n.setSlot(a == null ? void 0 : a.slot, () => this.renderRule(a));
2710
2711
  });
@@ -2765,8 +2766,8 @@ function ni(t) {
2765
2766
  let p, d = n || o || a;
2766
2767
  if (h.Object(f) && (p = f.inject, f = f.name, d = f.prefix || d), d) {
2767
2768
  r || (d = `native-${d}`);
2768
- const g = be(`${d}-${f}`), y = (..._) => {
2769
- this.vm.$emit(g, ..._), this.vm.$emit("emit-event", g, ..._), this.bus.$emit(g, ..._);
2769
+ const m = be(`${d}-${f}`), y = (..._) => {
2770
+ this.vm.$emit(m, ..._), this.vm.$emit("emit-event", m, ..._), this.bus.$emit(m, ..._);
2770
2771
  };
2771
2772
  if (y.__emit = !0, !p && l === !1)
2772
2773
  i[f] = y;
@@ -2806,7 +2807,7 @@ function ni(t) {
2806
2807
  let f = !1, p;
2807
2808
  if (i && u.indexOf("$form.") === 0) {
2808
2809
  const d = u.split(".");
2809
- d.shift(), E(i.value, d[0]) && (f = !0, p = r ? r({
2810
+ d.shift(), D(i.value, d[0]) && (f = !0, p = r ? r({
2810
2811
  id: "$form." + d[0] + "_" + i.rule.__fc__.id,
2811
2812
  getValue: () => L(i.value, d)
2812
2813
  }) : L(i.value, d));
@@ -2818,16 +2819,16 @@ function ni(t) {
2818
2819
  d.key ? f.push(d.key) : d.children && f.push(a(d.children));
2819
2820
  });
2820
2821
  let p = !1;
2821
- return f.forEach((d, g) => {
2822
- d != null && (d.indexOf("'") === 0 || d.indexOf('"') === 0) && (f[g] = d.slice(1, -1), p = !0);
2822
+ return f.forEach((d, m) => {
2823
+ d != null && (d.indexOf("'") === 0 || d.indexOf('"') === 0) && (f[m] = d.slice(1, -1), p = !0);
2823
2824
  }), f.length === 1 && (p || !isNaN(Number(f[0]))) ? f[0] : o(f.join("."));
2824
2825
  };
2825
2826
  let l;
2826
2827
  if (n.forEach((u) => {
2827
2828
  const f = u.split("||"), p = f[0].trim();
2828
2829
  if (p) {
2829
- const d = (f[1] || "").trim(), g = Nt(p);
2830
- let y = O(() => a(g));
2830
+ const d = (f[1] || "").trim(), m = Nt(p);
2831
+ let y = O(() => a(m));
2831
2832
  (y == null || y === "") && f.length > 1 && (y = d), l = y, e = e.replaceAll(`{{${u}}}`, y == null ? "" : y);
2832
2833
  }
2833
2834
  }), n.length === 1 && s === `{{${n[0]}}}`)
@@ -3138,9 +3139,9 @@ function ui(t) {
3138
3139
  let l = ht(o);
3139
3140
  const u = () => !!(l.field && this.fieldCtx[l.field] && this.fieldCtx[l.field][0] !== o.__fc__);
3140
3141
  this.fc.targetFormDriver("loadRule", { rule: l, api: this.api }, this.fc), this.ruleEffect(l, "init", { repeat: u() }), u() && this.vm.$emit("repeat-field", o, this.api);
3141
- let f, p = !1, d = !!o.__fc__, g = l.value;
3142
+ let f, p = !1, d = !!o.__fc__, m = l.value;
3142
3143
  if (d) {
3143
- if (f = o.__fc__, g = f.defaultValue, f.deleted) {
3144
+ if (f = o.__fc__, m = f.defaultValue, f.deleted) {
3144
3145
  if (bt(f))
3145
3146
  return;
3146
3147
  f.update(this);
@@ -3153,14 +3154,14 @@ function ui(t) {
3153
3154
  if (f)
3154
3155
  f.originType !== f.rule.type && f.updateType(), this.bindParser(f), this.appendValue(f.rule), f.parent && f.parent !== r && this.rmSubRuleData(f);
3155
3156
  else {
3156
- const D = this.parseRule(o);
3157
- f = new zt(this, D, g), this.bindParser(f);
3157
+ const j = this.parseRule(o);
3158
+ f = new zt(this, j, m), this.bindParser(f);
3158
3159
  }
3159
- [!1, !0].forEach((D) => this.parseEmit(f, D)), 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");
3160
+ [!1, !0].forEach((j) => this.parseEmit(f, j)), 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");
3160
3161
  const y = f.loadChildrenPending();
3161
3162
  if (f.parser.loadChildren === !1 || s(y, f), !r) {
3162
- const D = i(a);
3163
- D > -1 || !a ? this.sort.splice(D + 1, 0, f.id) : this.sort.push(f.id);
3163
+ const j = i(a);
3164
+ j > -1 || !a ? this.sort.splice(j + 1, 0, f.id) : this.sort.push(f.id);
3164
3165
  }
3165
3166
  const _ = f.rule;
3166
3167
  return f.updated || (f.updated = !0, h.Function(_.update) && this.bus.$once("load-end", () => {
@@ -3191,13 +3192,13 @@ function ui(t) {
3191
3192
  const n = [];
3192
3193
  let o = !1;
3193
3194
  return this.deferSyncValue(() => {
3194
- i.reverse().forEach(({ isHidden: a, valid: l, rule: u, prepend: f, append: p, child: d, ctrl: g, method: y }) => {
3195
+ i.reverse().forEach(({ isHidden: a, valid: l, rule: u, prepend: f, append: p, child: d, ctrl: m, method: y }) => {
3195
3196
  if (a) {
3196
3197
  l ? e.ctrlRule.push({
3197
3198
  __ctrl: !0,
3198
3199
  children: u,
3199
3200
  valid: l
3200
- }) : g && e.ctrlRule.splice(e.ctrlRule.indexOf(g) >>> 0, 1), n[l ? "push" : "unshift"](() => {
3201
+ }) : m && e.ctrlRule.splice(e.ctrlRule.indexOf(m) >>> 0, 1), n[l ? "push" : "unshift"](() => {
3201
3202
  y === "disabled" || y === "enabled" ? this.api.disabled(!l, u) : y === "display" || y === "show" ? this.api.display(l, u) : y === "required" ? (u.forEach((_) => {
3202
3203
  this.api.setEffect(_, "required", l);
3203
3204
  }), l || this.api.clearValidateState(u)) : y === "if" ? this.api.hidden(!l, u) : this.api.hidden(!l, u);
@@ -3216,8 +3217,8 @@ function ui(t) {
3216
3217
  f ? s.prepend(_, f, d) : p || d ? s.append(_, p || e.id, d) : e.root.splice(e.root.indexOf(e.origin) + 1, 0, _);
3217
3218
  });
3218
3219
  } else {
3219
- e.ctrlRule.splice(e.ctrlRule.indexOf(g), 1);
3220
- const _ = Q(g);
3220
+ e.ctrlRule.splice(e.ctrlRule.indexOf(m), 1);
3221
+ const _ = Q(m);
3221
3222
  _ && _.rm();
3222
3223
  }
3223
3224
  });
@@ -3248,7 +3249,7 @@ function ui(t) {
3248
3249
  function fi(t) {
3249
3250
  const e = Mt();
3250
3251
  return Object.keys(e).forEach((r) => {
3251
- E(t, r) || k(t, r, e[r]);
3252
+ D(t, r) || F(t, r, e[r]);
3252
3253
  }), t;
3253
3254
  }
3254
3255
  function ci(t) {
@@ -3288,7 +3289,7 @@ function di(t) {
3288
3289
  this.deferSyncValue(() => {
3289
3290
  const i = e.getParentGroup(), s = i ? this.subRuleData[i.id] : null, n = {};
3290
3291
  Object.keys(r || {}).forEach((o) => {
3291
- s && E(s, o) ? n[o] = r[o] : E(this.api.form, o) ? this.api.form[o] = r[o] : this.api.top !== this.api && E(this.api.top.form, o) && (this.api.top.form[o] = r[o]);
3292
+ s && D(s, o) ? n[o] = r[o] : D(this.api.form, o) ? this.api.form[o] = r[o] : this.api.top !== this.api && D(this.api.top.form, o) && (this.api.top.form[o] = r[o]);
3292
3293
  }), Object.keys(n).length && this.api.setChildrenFormData(i.rule, n);
3293
3294
  });
3294
3295
  },
@@ -3298,7 +3299,7 @@ function di(t) {
3298
3299
  setFormData(e, r) {
3299
3300
  e.modelValue = r;
3300
3301
  const i = e.getParentGroup();
3301
- i && (this.subRuleData[i.id] || k(this.subRuleData, i.id, {}), k(this.subRuleData[i.id], e.field, e.rule.value)), k(this.formData, e.id, r);
3302
+ i && (this.subRuleData[i.id] || F(this.subRuleData, i.id, {}), F(this.subRuleData[i.id], e.field, e.rule.value)), F(this.formData, e.id, r);
3302
3303
  },
3303
3304
  rmSubRuleData(e) {
3304
3305
  const r = e.getParentGroup();
@@ -3318,7 +3319,7 @@ function di(t) {
3318
3319
  return e.rule.ignore === !0 || (e.rule.ignore === "hidden" || this.options.ignoreHiddenFields) && e.hasHidden();
3319
3320
  },
3320
3321
  appendValue(e) {
3321
- (!e.field || !E(this.appendData, e.field)) && !this.options.forceCoverValue || (e.value = this.appendData[e.field], delete this.appendData[e.field]);
3322
+ (!e.field || !D(this.appendData, e.field)) && !this.options.forceCoverValue || (e.value = this.appendData[e.field], delete this.appendData[e.field]);
3322
3323
  },
3323
3324
  addSubForm(e, r) {
3324
3325
  this.subForm[e.id] = r;
@@ -3655,15 +3656,15 @@ function mi(t) {
3655
3656
  let u = !0;
3656
3657
  for (let f = 0; f < a.group.length; f++) {
3657
3658
  const p = a.group[f];
3658
- let d, g = null;
3659
+ let d, m = null;
3659
3660
  if (p.variable)
3660
- g = JSON.stringify(this.fc.getLoadData(p.variable) || "");
3661
+ m = JSON.stringify(this.fc.getLoadData(p.variable) || "");
3661
3662
  else if (p.field)
3662
- g = pt(p.field || "");
3663
+ m = pt(p.field || "");
3663
3664
  else if (!p.mode)
3664
3665
  return !0;
3665
3666
  let y = p.compare;
3666
- if (y && (y = pt(y || "")), p.mode ? d = n(p) : ce[p.condition] ? h.Function(p.handler) ? d = O(() => p.handler(this.api, e.rule)) : d = O(() => new Function("$condition", "$val", "$form", "$scope", "$group", "$rule", `with($form){with($scope){with(this){with($group){ return $condition['${p.condition}'](${g}, ${y || "$val"}); }}}}`).call(this.api.form, ce, 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)
3667
+ if (y && (y = pt(y || "")), p.mode ? d = n(p) : ce[p.condition] ? h.Function(p.handler) ? d = O(() => p.handler(this.api, e.rule)) : d = O(() => new Function("$condition", "$val", "$form", "$scope", "$group", "$rule", `with($form){with($scope){with(this){with($group){ return $condition['${p.condition}'](${m}, ${y || "$val"}); }}}}`).call(this.api.form, ce, 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)
3667
3668
  return !0;
3668
3669
  l || (u = u && d);
3669
3670
  }
@@ -3707,7 +3708,7 @@ function mi(t) {
3707
3708
  const { id: r, field: i, input: s, name: n } = e;
3708
3709
  re(this.ctxs, r), re(this.formData, r), re(this.subForm, r), re(this.vm.ctxInject, r);
3709
3710
  const o = e.getParentGroup();
3710
- o && this.subRuleData[o.id] && re(this.subRuleData[o.id], i), e.group && re(this.subRuleData, r), s && this.rmIdCtx(e, i, "field"), n && this.rmIdCtx(e, n, "name"), s && !E(this.fieldCtx, i) && re(this.form, i), this.deferSyncValue(() => {
3711
+ o && this.subRuleData[o.id] && re(this.subRuleData[o.id], i), e.group && re(this.subRuleData, r), s && this.rmIdCtx(e, i, "field"), n && this.rmIdCtx(e, n, "name"), s && !D(this.fieldCtx, i) && re(this.form, i), this.deferSyncValue(() => {
3711
3712
  if (!this.reloading) {
3712
3713
  if (e.parser.loadChildren !== !1) {
3713
3714
  const l = e.getPending("children", e.rule.children);
@@ -3742,12 +3743,12 @@ function gi(t) {
3742
3743
  },
3743
3744
  targetHook(e, r, i) {
3744
3745
  var l, u, f, p;
3745
- let s = (u = (l = e.prop) == null ? void 0 : l.hook) == null ? void 0 : u[r], n = (d, g) => {
3746
+ let s = (u = (l = e.prop) == null ? void 0 : l.hook) == null ? void 0 : u[r], n = (d, m) => {
3746
3747
  d && (d = Array.isArray(d) ? d : [d], d.forEach((y) => {
3747
3748
  O(() => y(U(v({}, i || {}), {
3748
3749
  self: e.rule,
3749
3750
  rule: e.rule,
3750
- parent: g == null ? void 0 : g.rule,
3751
+ parent: m == null ? void 0 : m.rule,
3751
3752
  $f: this.api,
3752
3753
  api: this.api,
3753
3754
  option: this.vm.$props.option
@@ -3785,7 +3786,7 @@ function yi(t) {
3785
3786
  let r = {
3786
3787
  required: () => {
3787
3788
  var i, s;
3788
- return (E(e.rule, "$required") ? e.rule.$required : (s = (i = e.rule) == null ? void 0 : i.effect) == null ? void 0 : s.required) || !1;
3789
+ return (D(e.rule, "$required") ? e.rule.$required : (s = (i = e.rule) == null ? void 0 : i.effect) == null ? void 0 : s.required) || !1;
3789
3790
  }
3790
3791
  };
3791
3792
  Object.keys(e.rule.effect || {}).forEach((i) => {
@@ -3815,9 +3816,9 @@ function yi(t) {
3815
3816
  }, r);
3816
3817
  },
3817
3818
  getEffect(e, r) {
3818
- if (E(e, "$" + r))
3819
+ if (D(e, "$" + r))
3819
3820
  return e["$" + r];
3820
- if (E(e, "effect") && E(e.effect, r))
3821
+ if (D(e, "effect") && D(e.effect, r))
3821
3822
  return e.effect[r];
3822
3823
  },
3823
3824
  emitEffect({ ctx: e, rule: r, input: i, type: s, custom: n }, o, a) {
@@ -3834,7 +3835,7 @@ function yi(t) {
3834
3835
  else
3835
3836
  return;
3836
3837
  const d = v({ value: l[u], getValue: () => this.getEffect(r, u) }, a || {});
3837
- e && (d.getProp = () => e.effectData(u), d.clearProp = () => e.clearEffectData(u), d.mergeProp = (g) => x(d.getProp(), [g]), d.id = e.id), this.bus.$emit(`p:${u}:${p}:${f.input ? 1 : 0}`, o, [d, r, this.api]);
3838
+ e && (d.getProp = () => e.effectData(u), d.clearProp = () => e.clearEffectData(u), d.mergeProp = (m) => x(d.getProp(), [m]), d.id = e.id), this.bus.$emit(`p:${u}:${p}:${f.input ? 1 : 0}`, o, [d, r, this.api]);
3838
3839
  });
3839
3840
  }
3840
3841
  });
@@ -4067,10 +4068,10 @@ const Oi = function(t) {
4067
4068
  let l = (p) => {
4068
4069
  let d;
4069
4070
  i && i.__fc__ && (d = i.__fc__.getParentGroup());
4070
- let g;
4071
- a.template ? g = t.$handle.loadStrVar(a.template, p, d ? { rule: i, value: t.$handle.subRuleData[d.id] || {} } : null) : a.handler && h.Function(a.handler) ? g = a.handler(p, i, s) : g = t.$handle.loadStrVar(`{{${a.attr}}}`, p, d ? { rule: i, value: t.$handle.subRuleData[d.id] || {} } : null), (g == null || g === "") && a.default != null && (g = a.default), a.copy !== !1 && (g = G(g));
4071
+ let m;
4072
+ 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 = G(m));
4072
4073
  const y = a.modify ? i : r.getProp();
4073
- a.to === "child" ? y.children ? k(y.children, 0, g) : k(y, "children", [g]) : se(y, a.to || "options", g), s.sync(i);
4074
+ a.to === "child" ? y.children ? F(y.children, 0, m) : F(y, "children", [m]) : se(y, a.to || "options", m), s.sync(i);
4074
4075
  }, u = (p) => l(p);
4075
4076
  const f = t.watchLoadData(u);
4076
4077
  l = ne(l, a.wait || 300), a.watch !== !1 ? o.push(f) : f();
@@ -4085,7 +4086,7 @@ const Oi = function(t) {
4085
4086
  }
4086
4087
  };
4087
4088
  return e.watch = e.loaded, e;
4088
- }, ki = function(t) {
4089
+ }, Fi = function(t) {
4089
4090
  const e = {
4090
4091
  name: "t",
4091
4092
  _fn: [],
@@ -4097,11 +4098,11 @@ const Oi = function(t) {
4097
4098
  const l = n[a];
4098
4099
  if (l) {
4099
4100
  const u = typeof l == "object";
4100
- let f = (g) => {
4101
- let y = t.t(u ? l.attr : l, u ? l.params : null, g);
4101
+ let f = (m) => {
4102
+ let y = t.t(u ? l.attr : l, u ? l.params : null, m);
4102
4103
  const _ = u && l.modify ? i : r.getProp();
4103
- a === "child" ? _.children ? k(_.children, 0, y) : k(_, "children", [y]) : se(_, a, y), s.sync(i);
4104
- }, p = (g) => f(g);
4104
+ a === "child" ? _.children ? F(_.children, 0, y) : F(_, "children", [y]) : se(_, a, y), s.sync(i);
4105
+ }, p = (m) => f(m);
4105
4106
  const d = t.watchLoadData(p);
4106
4107
  f = ne(f, l.wait || 300), l.watch !== !1 ? o.push(d) : d();
4107
4108
  }
@@ -4122,24 +4123,24 @@ const Oi = function(t) {
4122
4123
  t.clearProp(), r.clearValidateState([e.field]);
4123
4124
  else {
4124
4125
  h.Object(i) || (i = { method: i });
4125
- const s = i.method;
4126
- delete i.method, t.getProp().validate = [U(v({}, i), {
4127
- validator(...n) {
4128
- const o = Q(e);
4129
- if (o)
4130
- return r.exec(o.id, h.String(s) ? s : "formCreateValidate", ...n, {
4126
+ const s = i.method, n = U(v({}, i), {
4127
+ validator(...o) {
4128
+ const a = Q(e);
4129
+ if (a)
4130
+ return r.exec(a.id, h.String(s) ? s : "formCreateValidate", ...o, {
4131
4131
  attr: t,
4132
4132
  rule: e,
4133
4133
  api: r
4134
4134
  });
4135
4135
  }
4136
- })];
4136
+ });
4137
+ delete n.method, t.getProp().validate = [n];
4137
4138
  }
4138
4139
  },
4139
4140
  watch(...t) {
4140
4141
  Wt.load(...t);
4141
4142
  }
4142
- }, Fi = function(t) {
4143
+ }, ki = function(t) {
4143
4144
  function e(s) {
4144
4145
  return h.String(s) && (s = {
4145
4146
  action: s,
@@ -4175,22 +4176,22 @@ const Oi = function(t) {
4175
4176
  i._fn[s.id] = t.watchLoadData(ne((p, d) => {
4176
4177
  if (d && a.watch === !1)
4177
4178
  return i._fn[s.id]();
4178
- const g = t.$handle.loadFetchVar(G(a), p, n), y = U(v({
4179
+ const m = t.$handle.loadFetchVar(G(a), p, n), y = U(v({
4179
4180
  headers: {}
4180
- }, g), {
4181
- onSuccess(_, D) {
4181
+ }, m), {
4182
+ onSuccess(_, j) {
4182
4183
  if (f()) return;
4183
- let ee = (T) => D ? T : E(T, "data") ? T.data : T;
4184
- const I = W(g.parse);
4184
+ let ee = (T) => j ? T : D(T, "data") ? T.data : T;
4185
+ const I = W(m.parse);
4185
4186
  h.Function(I) ? ee = I : I && h.String(I) && (ee = (T) => L(T, I)), l(ee(_, n, o));
4186
4187
  },
4187
4188
  onError(_) {
4188
- l(void 0), !f() && (u || ((D) => tt(D.message || "fetch fail " + g.action)))(_, n, o);
4189
+ l(void 0), !f() && (u || ((j) => tt(j.message || "fetch fail " + m.action)))(_, n, o);
4189
4190
  }
4190
4191
  });
4191
4192
  t.$handle.beforeFetch(y, { rule: n, api: o }).then(() => {
4192
- if (h.Function(g.action)) {
4193
- g.action(n, o).then((_) => {
4193
+ if (h.Function(m.action)) {
4194
+ m.action(n, o).then((_) => {
4194
4195
  y.onSuccess(_, !0);
4195
4196
  }).catch((_) => {
4196
4197
  y.onError(_);
@@ -4217,9 +4218,9 @@ const Oi = function(t) {
4217
4218
  };
4218
4219
  return i;
4219
4220
  }, Si = {
4220
- fetch: Fi,
4221
+ fetch: ki,
4221
4222
  loadData: Oi,
4222
- t: ki,
4223
+ t: Fi,
4223
4224
  componentValidate: Wt
4224
4225
  };
4225
4226
  function Ri(t) {
@@ -4394,16 +4395,16 @@ function Kt(t) {
4394
4395
  t.extendApi
4395
4396
  ], u = v({}, Si), f = Yr();
4396
4397
  let p = { global: {} };
4397
- const d = t.isMobile === !0, g = ie({
4398
+ const d = t.isMobile === !0, m = ie({
4398
4399
  $mobile: d
4399
- }), y = Ci(), _ = {}, D = {};
4400
+ }), y = Ci(), _ = {}, j = {};
4400
4401
  Ui(t.attrs || {});
4401
4402
  function ee(c) {
4402
- const m = M[c];
4403
- if (Array.isArray(m))
4404
- return m.map(($) => $.api());
4405
- if (m)
4406
- return m.api();
4403
+ const g = M[c];
4404
+ if (Array.isArray(g))
4405
+ return g.map(($) => $.api());
4406
+ if (g)
4407
+ return g.api();
4407
4408
  }
4408
4409
  function I(c) {
4409
4410
  o.push(c);
@@ -4424,38 +4425,38 @@ function Kt(t) {
4424
4425
  function de() {
4425
4426
  const c = Ue(...arguments);
4426
4427
  if (!c.id || !c.prop) return je;
4427
- const m = q(c.id), $ = c.prop, b = $.merge === !0 ? r[m] : void 0;
4428
- r[m] = Se($, b || je), f[m] = P(m), $.maker && C(f, $.maker);
4428
+ const g = q(c.id), $ = c.prop, b = $.merge === !0 ? r[g] : void 0;
4429
+ r[g] = Se($, b || je), f[g] = P(g), $.maker && C(f, $.maker);
4429
4430
  }
4430
- function F(c, m) {
4431
+ function k(c, g) {
4431
4432
  let $;
4432
4433
  if (h.String(c)) {
4433
- if ($ = c, m === void 0)
4434
- return ["form-create", "formcreate"].indexOf($) > -1 ? R() : e[$];
4434
+ if ($ = c, g === void 0)
4435
+ return ["form-create", "formcreate"].indexOf($) > -1 ? E() : e[$];
4435
4436
  } else
4436
- $ = q(c.name), m = c;
4437
- if (!$ || !m) return;
4437
+ $ = q(c.name), g = c;
4438
+ if (!$ || !g) return;
4438
4439
  const b = q($);
4439
- e[$] = m, e[b] = m, delete y.aliasMap[$], delete y.aliasMap[b], delete r[$], delete r[b], m.formCreateParser && de($, m.formCreateParser);
4440
+ e[$] = g, e[b] = g, delete y.aliasMap[$], delete y.aliasMap[b], delete r[$], delete r[b], g.formCreateParser && de($, g.formCreateParser);
4440
4441
  }
4441
- function R() {
4442
+ function E() {
4442
4443
  return Zr(Te, e, i);
4443
4444
  }
4444
4445
  function N() {
4445
4446
  return Me;
4446
4447
  }
4447
- function pe(c, m) {
4448
- return h.Function(c.install) ? c.install(z, m) : h.Function(c) && c(z, m), this;
4448
+ function pe(c, g) {
4449
+ return h.Function(c.install) ? c.install(z, g) : h.Function(c) && c(z, g), this;
4449
4450
  }
4450
- function z(c, m, $) {
4451
- let b = Mi(c, m || {});
4451
+ function z(c, g, $) {
4452
+ let b = Mi(c, g || {});
4452
4453
  const w = b.$refs.fc.formCreate;
4453
4454
  return w.$parent = $, Ni(w.options).appendChild(b.$el), w.api();
4454
4455
  }
4455
- Se(z, D);
4456
+ Se(z, j);
4456
4457
  function Zt(c) {
4457
- let m = v({}, t);
4458
- return c ? m.inherit = {
4458
+ let g = v({}, t);
4459
+ return c ? g.inherit = {
4459
4460
  components: e,
4460
4461
  parsers: r,
4461
4462
  directives: i,
@@ -4464,53 +4465,53 @@ function Kt(t) {
4464
4465
  useApps: o,
4465
4466
  maker: f,
4466
4467
  formulas: _,
4467
- loadData: g
4468
- } : delete m.inherit, Kt(m);
4468
+ loadData: m
4469
+ } : delete g.inherit, Kt(g);
4469
4470
  }
4470
- function Qt(c, m) {
4471
- s[c] = m;
4471
+ function Qt(c, g) {
4472
+ s[c] = g;
4472
4473
  }
4473
- function Yt(c, m) {
4474
- _[c] = m;
4474
+ function Yt(c, g) {
4475
+ _[c] = g;
4475
4476
  }
4476
- function xt(c, m) {
4477
+ function xt(c, g) {
4477
4478
  const $ = n[c] || {}, b = $.parsers || {};
4478
- m.parsers && Object.keys(m.parsers).forEach((w) => {
4479
- b[w] = Se(m.parsers[w], je);
4480
- }), m.name = c, n[c] = U(v(v({}, $), m), { parsers: b });
4479
+ g.parsers && Object.keys(g.parsers).forEach((w) => {
4480
+ b[w] = Se(g.parsers[w], je);
4481
+ }), g.name = c, n[c] = U(v(v({}, $), g), { parsers: b });
4481
4482
  }
4482
4483
  function we(c) {
4483
- c && Object.keys(M).forEach((m) => {
4484
- (Array.isArray(M[m]) ? M[m] : [M[m]]).forEach((b) => {
4484
+ c && Object.keys(M).forEach((g) => {
4485
+ (Array.isArray(M[g]) ? M[g] : [M[g]]).forEach((b) => {
4485
4486
  b.bus.$emit("$loadData." + c);
4486
4487
  });
4487
4488
  });
4488
4489
  }
4489
- function Be(c, m) {
4490
- se(g, c, m), we(c);
4490
+ function Be(c, g) {
4491
+ se(m, c, g), we(c);
4491
4492
  }
4492
- function Oe(c, m) {
4493
- const $ = (...b) => O(() => m(...b));
4493
+ function Oe(c, g) {
4494
+ const $ = (...b) => O(() => g(...b));
4494
4495
  $._driver = !0, Be(c, $);
4495
4496
  }
4496
- function st(c, m) {
4497
+ function st(c, g) {
4497
4498
  const $ = (c || "").split(".");
4498
4499
  c = $.shift();
4499
4500
  const b = $.join(".");
4500
- if (E(g, c) || k(g, c, Ee), g[c] !== Ee) {
4501
- let w = g[c];
4502
- return w && w._driver ? w = w(b) : $.length && (w = L(w, $)), w == null || w === "" ? m : w;
4501
+ if (D(m, c) || F(m, c, Ee), m[c] !== Ee) {
4502
+ let w = m[c];
4503
+ return w && w._driver ? w = w(b) : $.length && (w = L(w, $)), w == null || w === "" ? g : w;
4503
4504
  } else
4504
- return m;
4505
+ return g;
4505
4506
  }
4506
4507
  function er(c) {
4507
4508
  l.push(c);
4508
4509
  }
4509
4510
  function tr(c) {
4510
- delete g[c], we(c);
4511
+ delete m[c], we(c);
4511
4512
  }
4512
- function rr(c, m) {
4513
- a.push({ name: c, callback: m });
4513
+ function rr(c, g) {
4514
+ a.push({ name: c, callback: g });
4514
4515
  }
4515
4516
  function Te(c) {
4516
4517
  C(this, {
@@ -4534,7 +4535,7 @@ function Kt(t) {
4534
4535
  drivers: n,
4535
4536
  renderDriver: null,
4536
4537
  refreshData: we,
4537
- loadData: g,
4538
+ loadData: m,
4538
4539
  CreateNode: y,
4539
4540
  bus: new Ri(),
4540
4541
  unwatch: [],
@@ -4542,8 +4543,8 @@ function Kt(t) {
4542
4543
  extendApiFn: l,
4543
4544
  fetchCache: /* @__PURE__ */ new WeakMap(),
4544
4545
  tmpData: ie({})
4545
- }), a.forEach((m) => {
4546
- this.bus.$on(m.name, m.callback);
4546
+ }), a.forEach((g) => {
4547
+ this.bus.$on(g.name, g.callback);
4547
4548
  }), V(() => {
4548
4549
  B(this.options, () => {
4549
4550
  this.$handle.$manager.updateOptions(this.options.value), this.api().refresh();
@@ -4556,33 +4557,33 @@ function Kt(t) {
4556
4557
  this.initOptions(), this.$handle.api.refresh();
4557
4558
  }, { deep: !0 })), this.vm.$options.propsData.driver && (this.renderDriver = typeof this.vm.$options.propsData.driver == "object" ? this.vm.$options.propsData.driver : this.drivers[this.vm.$options.propsData.driver]), !this.renderDriver && this.vm.parent && (this.renderDriver = this.vm.parent.fc.renderDriver), this.renderDriver || (this.renderDriver = this.drivers.default), this.initOptions(), this.$handle.init();
4558
4559
  },
4559
- targetFormDriver(c, ...m) {
4560
+ targetFormDriver(c, ...g) {
4560
4561
  if (this.renderDriver && this.renderDriver[c])
4561
- return O(() => this.renderDriver[c](...m));
4562
+ return O(() => this.renderDriver[c](...g));
4562
4563
  },
4563
- t(c, m, $) {
4564
+ t(c, g, $) {
4564
4565
  let b = $ ? $("$t." + c) : this.globalLanguageDriver(c);
4565
- return b == null && (b = ""), b && m && Object.keys(m).forEach((w) => {
4566
- const j = new RegExp(`{${w}}`, "g");
4567
- b = b.replace(j, m[w]);
4566
+ return b == null && (b = ""), b && g && Object.keys(g).forEach((w) => {
4567
+ const S = new RegExp(`{${w}}`, "g");
4568
+ b = b.replace(S, g[w]);
4568
4569
  }), b;
4569
4570
  },
4570
4571
  globalDataDriver(c) {
4571
- let m = c.split(".");
4572
- const $ = m.shift(), b = this.options.value.globalData && this.options.value.globalData[$];
4572
+ let g = c.split(".");
4573
+ const $ = g.shift(), b = this.options.value.globalData && this.options.value.globalData[$];
4573
4574
  if (b) {
4574
4575
  if (b.type === "static")
4575
- return L(b.data, m);
4576
+ return L(b.data, g);
4576
4577
  {
4577
4578
  let w;
4578
- const j = this.fetchCache.get(b);
4579
- if (j) {
4580
- if (j.status && (w = L(j.data, m)), !j.loading)
4579
+ const S = this.fetchCache.get(b);
4580
+ if (S) {
4581
+ if (S.status && (w = L(S.data, g)), !S.loading)
4581
4582
  return w;
4582
- j.loading = !1, this.fetchCache.set(b, j);
4583
+ S.loading = !1, this.fetchCache.set(b, S);
4583
4584
  } else
4584
4585
  this.fetchCache.set(b, { status: !1 });
4585
- const S = ne(() => {
4586
+ const R = ne(() => {
4586
4587
  le();
4587
4588
  const J = this.fetchCache.get(b);
4588
4589
  this.options.value.globalData && Object.values(this.options.value.globalData).indexOf(b) !== -1 ? (J && (J.loading = !0, this.fetchCache.set(b, J)), this.bus.$emit("$loadData.$globalData." + $)) : this.fetchCache.delete(b);
@@ -4592,7 +4593,7 @@ function Kt(t) {
4592
4593
  if (ue && b.watch === !1)
4593
4594
  return le();
4594
4595
  if (ue) {
4595
- S();
4596
+ R();
4596
4597
  return;
4597
4598
  }
4598
4599
  const me = this.$handle.loadFetchVar(We(b), J);
@@ -4611,31 +4612,31 @@ function Kt(t) {
4611
4612
  return c && typeof c == "object" ? c.name : typeof c == "string" ? c : "zh-cn";
4612
4613
  },
4613
4614
  globalLanguageDriver(c) {
4614
- let m = this.vm.top.$props.locale, $;
4615
- if (m && typeof m == "object" && ($ = L(m, c)), $ == null) {
4616
- const b = this.options.value.language || {}, w = this.getLocale();
4617
- $ = L(b[w] || {}, c), $ == null && ($ = L(Bi[w] || {}, c));
4615
+ let g = this.vm.top.$props.t, $ = this.vm.top.$props.locale, b;
4616
+ if (g && (b = O(() => g(c))), b == null && $ && typeof $ == "object" && (b = L($, c)), b == null) {
4617
+ const w = this.options.value.language || {}, S = this.getLocale();
4618
+ b = L(w[S] || {}, c), b == null && (b = L(Bi[S] || {}, c));
4618
4619
  }
4619
- return $;
4620
+ return b;
4620
4621
  },
4621
4622
  globalVarDriver(c) {
4622
- let m = c.split(".");
4623
- const $ = m.shift(), b = this.options.value.globalVariable && this.options.value.globalVariable[$];
4623
+ let g = c.split(".");
4624
+ const $ = g.shift(), b = this.options.value.globalVariable && this.options.value.globalVariable[$];
4624
4625
  if (b) {
4625
4626
  const w = h.Function(b) ? b : W(b.handle);
4626
4627
  if (w) {
4627
- let j;
4628
- const S = this.watchLoadData((ae, X) => {
4629
- X ? (this.bus.$emit("$loadData.$var." + $), S()) : j = w(ae, this.$handle.api);
4628
+ let S;
4629
+ const R = this.watchLoadData((ae, X) => {
4630
+ X ? (this.bus.$emit("$loadData.$var." + $), R()) : S = w(ae, this.$handle.api);
4630
4631
  });
4631
- return this.unwatch.push(S), L(j, m);
4632
+ return this.unwatch.push(R), L(S, g);
4632
4633
  }
4633
4634
  }
4634
4635
  },
4635
- setData(c, m, $) {
4636
- $ ? Be(c, m) : (se(this.vm.top.fc.tmpData, c, m), this.bus.$emit("$loadData." + c));
4636
+ setData(c, g, $) {
4637
+ $ ? Be(c, g) : (se(this.vm.top.fc.tmpData, c, g), this.bus.$emit("$loadData." + c));
4637
4638
  },
4638
- getLoadData(c, m) {
4639
+ getLoadData(c, g) {
4639
4640
  let $ = null;
4640
4641
  if (c != null) {
4641
4642
  let b = c.split(".");
@@ -4660,33 +4661,33 @@ function Kt(t) {
4660
4661
  if (w === "$preview")
4661
4662
  return this.$handle.preview;
4662
4663
  {
4663
- const j = this.vm.top.fc.tmpData;
4664
- E(j, w) || k(j, w, Ee), $ = j[w] !== Ee ? L(j, c) : st(c), b = [];
4664
+ const S = this.vm.top.fc.tmpData;
4665
+ D(S, w) || F(S, w, Ee), $ = S[w] !== Ee ? L(S, c) : st(c), b = [];
4665
4666
  }
4666
4667
  }
4667
4668
  $ && b.length && ($ = L($, b));
4668
4669
  }
4669
- return $ == null || $ === "" ? m : $;
4670
+ return $ == null || $ === "" ? g : $;
4670
4671
  },
4671
- watchLoadData(c, m) {
4672
+ watchLoadData(c, g) {
4672
4673
  let $ = {};
4673
- const b = (S) => {
4674
+ const b = (R) => {
4674
4675
  this.get || (this.get = w), O(() => {
4675
- c(w, S);
4676
+ c(w, R);
4676
4677
  }), this.get === w && (this.get = void 0);
4677
- }, w = (S, ae) => {
4678
+ }, w = (R, ae) => {
4678
4679
  let X;
4679
- if (typeof S == "object" && (X = S.getValue, S = S.id), $[S])
4680
- return $[S].val;
4681
- const le = ye(() => X ? X() : this.getLoadData(S, ae)), J = S.split("."), ue = J.shift(), me = J.shift() || "", te = ne(() => {
4682
- const fe = X ? X() : this.getLoadData(S, ae);
4683
- if ($[S])
4684
- ((fe instanceof Function || h.Object(fe) || Array.isArray(fe)) && fe === $[S].val || JSON.stringify(fe) !== JSON.stringify($[S].val)) && ($[S].val = fe, b(!0));
4680
+ if (typeof R == "object" && (X = R.getValue, R = R.id), $[R])
4681
+ return $[R].val;
4682
+ const le = ye(() => X ? X() : this.getLoadData(R, ae)), J = R.split("."), ue = J.shift(), me = J.shift() || "", te = ne(() => {
4683
+ const fe = X ? X() : this.getLoadData(R, ae);
4684
+ if ($[R])
4685
+ ((fe instanceof Function || h.Object(fe) || Array.isArray(fe)) && fe === $[R].val || JSON.stringify(fe) !== JSON.stringify($[R].val)) && ($[R].val = fe, b(!0));
4685
4686
  else return;
4686
- }, m || 0), nr = B(le, (fe) => {
4687
+ }, g || 0), nr = B(le, (fe) => {
4687
4688
  te();
4688
4689
  });
4689
- return this.bus.$on("$loadData." + ue, te), me && this.bus.$on("$loadData." + ue + "." + me, te), $[S] = {
4690
+ return this.bus.$on("$loadData." + ue, te), me && this.bus.$on("$loadData." + ue + "." + me, te), $[R] = {
4690
4691
  fn: () => {
4691
4692
  this.bus.$off("$loadData." + ue, te), me && this.bus.$off("$loadData." + ue + "." + me, te), nr();
4692
4693
  },
@@ -4694,10 +4695,10 @@ function Kt(t) {
4694
4695
  }, le.value;
4695
4696
  };
4696
4697
  b(!1);
4697
- const j = () => {
4698
- Object.keys($).forEach((S) => $[S].fn()), $ = {};
4698
+ const S = () => {
4699
+ Object.keys($).forEach((R) => $[R].fn()), $ = {};
4699
4700
  };
4700
- return this.unwatch.push(j), j;
4701
+ return this.unwatch.push(S), S;
4701
4702
  },
4702
4703
  isSub() {
4703
4704
  return this.vm.parent && this.vm.extendOption;
@@ -4713,10 +4714,10 @@ function Kt(t) {
4713
4714
  }, G(p));
4714
4715
  this.isSub() && (c = this.mergeOptions(c, this.vm.parent.fc.options.value || {}, !0)), c = this.mergeOptions(c, this.vm.$options.propsData.option || {}), this.updateOptions(c);
4715
4716
  },
4716
- mergeOptions(c, m, $) {
4717
- return m = v({}, m || {}), $ && ["page", "onSubmit", "onReset", "onCreated", "onChange", "onMounted", "mounted", "onReload", "reload", "formData", "el", "globalClass", "style"].forEach((b) => {
4718
- delete m[b];
4719
- }), m.global && (c.global = Wr(c.global, m.global), delete m.global), this.$handle.$manager.mergeOptions([m], c), c;
4717
+ mergeOptions(c, g, $) {
4718
+ return g = v({}, g || {}), $ && ["page", "onSubmit", "onReset", "onCreated", "onChange", "onMounted", "mounted", "onReload", "reload", "formData", "el", "globalClass", "style"].forEach((b) => {
4719
+ delete g[b];
4720
+ }), g.global && (c.global = Wr(c.global, g.global), delete g.global), this.$handle.$manager.mergeOptions([g], c), c;
4720
4721
  },
4721
4722
  updateOptions(c) {
4722
4723
  this.options.value = this.mergeOptions(this.options.value, c), this.$handle.$manager.updateOptions(this.options.value), this.bus.$emit("$loadData.$options");
@@ -4757,7 +4758,7 @@ function Kt(t) {
4757
4758
  removeData: tr,
4758
4759
  refreshData: we,
4759
4760
  maker: f,
4760
- component: F,
4761
+ component: k,
4761
4762
  directive: T,
4762
4763
  setModelField: Qt,
4763
4764
  setFormula: Yt,
@@ -4772,7 +4773,7 @@ function Kt(t) {
4772
4773
  copyRules: Bt,
4773
4774
  mergeRule: x,
4774
4775
  fetch: Gt,
4775
- $form: R,
4776
+ $form: E,
4776
4777
  parseFn: W,
4777
4778
  parseJson: Pt,
4778
4779
  toJson: _e,
@@ -4784,35 +4785,35 @@ function Kt(t) {
4784
4785
  function ir(c) {
4785
4786
  C(c, {
4786
4787
  create: z,
4787
- install(m, $) {
4788
- if (p = v(v({}, p), $ || {}), m._installedFormCreate === !0) return;
4789
- m._installedFormCreate = !0;
4790
- const b = function(j, S = {}) {
4791
- return z(j, S, this);
4788
+ install(g, $) {
4789
+ if (p = v(v({}, p), $ || {}), g._installedFormCreate === !0) return;
4790
+ g._installedFormCreate = !0;
4791
+ const b = function(S, R = {}) {
4792
+ return z(S, R, this);
4792
4793
  };
4793
- ot(b), m.prototype.$formCreate = b;
4794
- const w = R();
4795
- m.component(w.name, w), m.component("FcFragment", N()), o.forEach((j) => {
4796
- O(() => j(c, m));
4794
+ ot(b), g.prototype.$formCreate = b;
4795
+ const w = E();
4796
+ g.component(w.name, w), g.component("FcFragment", N()), o.forEach((S) => {
4797
+ O(() => S(c, g));
4797
4798
  });
4798
4799
  }
4799
4800
  });
4800
4801
  }
4801
- if (ot(D), ir(D), Oe("$cookie", Vi), Oe("$localStorage", Pi), Oe("$sessionStorage", Li), y.use({ fragment: "fcFragment" }), t.install && z.use(t), de(Di), t.inherit) {
4802
+ if (ot(j), ir(j), Oe("$cookie", Vi), Oe("$localStorage", Pi), Oe("$sessionStorage", Li), y.use({ fragment: "fcFragment" }), t.install && z.use(t), de(Di), t.inherit) {
4802
4803
  const c = t.inherit;
4803
- 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(g, c.loadData), c.formulas && C(_, c.formulas);
4804
+ 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);
4804
4805
  }
4805
- const ke = R();
4806
- return Se(ke, D), Object.defineProperties(ke, {
4806
+ const Fe = E();
4807
+ return Se(Fe, j), Object.defineProperties(Fe, {
4807
4808
  fetch: {
4808
4809
  get() {
4809
- return D.fetch;
4810
+ return j.fetch;
4810
4811
  },
4811
4812
  set(c) {
4812
- D.fetch = c;
4813
+ j.fetch = c;
4813
4814
  }
4814
4815
  }
4815
- }), ke.util = D, ke;
4816
+ }), Fe.util = j, Fe;
4816
4817
  }
4817
4818
  function qe(t) {
4818
4819
  if (h.Date(t))
@@ -4975,13 +4976,13 @@ function Yi() {
4975
4976
  };
4976
4977
  }
4977
4978
  function wt(t, e) {
4978
- E(t, e) && h.String(t[e]) && (t[e] = { [e]: t[e], show: !0 });
4979
+ D(t, e) && h.String(t[e]) && (t[e] = { [e]: t[e], show: !0 });
4979
4980
  }
4980
4981
  function Z(t) {
4981
4982
  return t === !1;
4982
4983
  }
4983
4984
  function xi(t, e) {
4984
- E(t, e) && !h.Object(t[e]) && (t[e] = { show: !!t[e] });
4985
+ D(t, e) && !h.Object(t[e]) && (t[e] = { show: !!t[e] });
4985
4986
  }
4986
4987
  function ze(t) {
4987
4988
  const e = v({}, t);
@@ -5052,21 +5053,21 @@ const en = {
5052
5053
  return t.slotLen() && !this.$handle.preview && t.setSlot(void 0, () => this.makeFormBtn()), this.$r(this.rule, Z(this.options.row.show) ? t.getSlots() : [this.makeRow(t)]);
5053
5054
  },
5054
5055
  makeWrap(t, e) {
5055
- 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;
5056
- delete r.wrap.title;
5057
- const u = Z(r.wrap.show) ? e : this.$r(Y([r.wrap, {
5056
+ 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;
5057
+ delete r.wrap.class, delete r.wrap.title;
5058
+ const f = Z(r.wrap.show) ? e : this.$r(Y([r.wrap, {
5058
5059
  props: U(v({
5059
5060
  labelWidth: o
5060
5061
  }, ze(r.wrap || {})), {
5061
5062
  prop: t.id,
5062
5063
  rules: t.injectValidate()
5063
5064
  }),
5064
- class: this.$render.mergeClass(r.className, "fc-form-item"),
5065
+ class: this.$render.mergeClass(u || r.className, "fc-form-item"),
5065
5066
  key: `${i}fi`,
5066
5067
  ref: t.wrapRef,
5067
5068
  type: "formItem"
5068
5069
  }]), v({ default: () => e }, n ? { label: () => this.makeInfo(r, i, t) } : {}));
5069
- return a === !0 || Z(l) || Z(s.show) ? u : this.makeCol(r, i, [u]);
5070
+ return a === !0 || Z(l) || Z(s.show) ? f : this.makeCol(r, i, [f]);
5070
5071
  },
5071
5072
  isTitle(t) {
5072
5073
  if (this.options.form.title === !1) return !1;
@@ -5074,7 +5075,7 @@ const en = {
5074
5075
  return !(!e.title && !e.native || Z(e.show));
5075
5076
  },
5076
5077
  makeInfo(t, e, r) {
5077
- var u, f, p, d, g, y;
5078
+ var u, f, p, d, m, y;
5078
5079
  const i = v({}, t.title), s = v({}, t.info), n = this.options.form, o = this.getSlot("title"), a = [o ? o({
5079
5080
  title: (f = (u = r.refRule) == null ? void 0 : u.__$title) == null ? void 0 : f.value,
5080
5081
  rule: r.rule,
@@ -5088,8 +5089,8 @@ const en = {
5088
5089
  slot: "label"
5089
5090
  };
5090
5091
  delete _.props.icon, delete _.props.show, delete _.props.info, delete _.props.align, delete _.props.native;
5091
- const D = "content";
5092
- s.info && !E(_.props, D) && (_.props[D] = (y = (g = r.refRule) == null ? void 0 : g.__$info) == null ? void 0 : y.value), a[s.align !== "left" ? "unshift" : "push"](this.$r(Y([s, _]), [
5092
+ const j = "content";
5093
+ s.info && !D(_.props, j) && (_.props[j] = (y = (m = r.refRule) == null ? void 0 : m.__$info) == null ? void 0 : y.value), a[s.align !== "left" ? "unshift" : "push"](this.$r(Y([s, _]), [
5093
5094
  this.$r({
5094
5095
  type: "icon",
5095
5096
  props: { type: s.icon === !0 ? Ie.infoIcon : s.icon, size: 16 },
@@ -5362,7 +5363,7 @@ function cn(t) {
5362
5363
  function hn() {
5363
5364
  return Kt({
5364
5365
  ui: "iview",
5365
- version: "2.7.10",
5366
+ version: "2.7.11",
5366
5367
  manager: en,
5367
5368
  install: cn,
5368
5369
  extendApi: un,