@form-create/element-ui 2.7.29 → 2.7.31

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/element-ui v2.7.29
3
+ * @form-create/element-ui v2.7.31
4
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.
8
8
  */
9
- (function(){"use strict";try{if(typeof document!="undefined"){var o=document.createElement("style");o.appendChild(document.createTextNode('._fc-frame .fc-files img{width:100%;height:100%;display:inline-block;vertical-align:top}._fc-frame .fc-upload-btn{border:1px dashed #c0ccda;cursor:pointer}._fc-frame .fc-upload-cover{opacity:0;position:absolute;inset:0;background:#0009;-webkit-transition:opacity .3s;-o-transition:opacity .3s;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 .el-upload{display:block}._fc-frame .fc-upload-btn,.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;-webkit-box-shadow:2px 2px 5px rgba(0,0,0,.1);box-shadow:2px 2px 5px #0000001a;margin-right:4px;-webkit-box-sizing:border-box;box-sizing:border-box}._fc-upload .fc-files img{width:100%;height:100%;display:inline-block;vertical-align:top}._fc-upload .fc-upload-btn{border:1px dashed #c0ccda;cursor:pointer}._fc-upload .fc-upload-cover{opacity:0;position:absolute;inset:0;background:#0009;-webkit-transition:opacity .3s;-o-transition:opacity .3s;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 .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;-webkit-box-shadow:2px 2px 5px rgba(0,0,0,.1);box-shadow:2px 2px 5px #0000001a;margin-right:4px;-webkit-box-sizing:border-box;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 .el-form-item{margin-bottom:22px}.form-create{width:100%}.fc-form-row{box-sizing:border-box;display:flex;flex-wrap:wrap;position:relative}.form-create.is-preview .fc-clock,.form-create .fc-none,.form-create.is-preview .el-form-item.is-required>.el-form-item__label-wrap>.el-form-item__label:before,.form-create.is-preview .el-form-item.is-required>.el-form-item__label:before{display:none!important}.fc-wrap-right>.el-form-item__label{display:flex;justify-content:flex-end}.fc-wrap-left>.el-form-item__label{display:flex;justify-content:flex-start}.fc-wrap-top.el-form-item{display:block}.fc-wrap-top.el-form-item>.el-form-item__label{display:block;height:auto;line-height:22px;margin-bottom:8px;text-align:left;float:unset}.fc-wrap-top.el-form-item>.el-form-item__content{margin-left:0!important}.el-form--large .fc-wrap-top.el-form-item>.el-form-item__label{line-height:22px;margin-bottom:12px}.el-form--default .fc-wrap-top.el-form-item>.el-form-item__label{line-height:22px;margin-bottom:8px}.el-form--small .fc-wrap-top.el-form-item>.el-form-item__label{line-height:20px;margin-bottom:4px}.fc-form-footer{margin-top:12px}')),document.head.appendChild(o)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
9
+ (function(){"use strict";try{if(typeof document!="undefined"){var e=document.createElement("style");e.appendChild(document.createTextNode('._fc-frame .fc-files img{width:100%;height:100%;display:inline-block;vertical-align:top}._fc-frame .fc-upload-btn{border:1px dashed #c0ccda;cursor:pointer}._fc-frame .fc-upload-cover{opacity:0;position:absolute;inset:0;background:#0009;-webkit-transition:opacity .3s;-o-transition:opacity .3s;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 .el-upload{display:block}._fc-frame .fc-upload-btn,.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;-webkit-box-shadow:2px 2px 5px rgba(0,0,0,.1);box-shadow:2px 2px 5px #0000001a;margin-right:4px;-webkit-box-sizing:border-box;box-sizing:border-box}._fc-upload .fc-files img{width:100%;height:100%;display:inline-block;vertical-align:top}._fc-upload .fc-upload-btn{border:1px dashed #c0ccda;cursor:pointer}._fc-upload .fc-upload-cover{opacity:0;position:absolute;inset:0;background:#0009;-webkit-transition:opacity .3s;-o-transition:opacity .3s;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 .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;-webkit-box-shadow:2px 2px 5px rgba(0,0,0,.1);box-shadow:2px 2px 5px #0000001a;margin-right:4px;-webkit-box-sizing:border-box;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 .el-form-item{margin-bottom:22px}.form-create{width:100%}.fc-form-row{box-sizing:border-box;display:flex;flex-wrap:wrap;position:relative}.form-create.is-preview .fc-clock,.form-create .fc-none,.form-create.is-preview .el-form-item.is-required>.el-form-item__label-wrap>.el-form-item__label:before,.form-create.is-preview .el-form-item.is-required>.el-form-item__label:before{display:none!important}.fc-wrap-right>.el-form-item__label{display:flex;justify-content:flex-end}.fc-wrap-left>.el-form-item__label{display:flex;justify-content:flex-start}.fc-wrap-top.el-form-item{display:block}.fc-wrap-top.el-form-item>.el-form-item__label{display:block;height:auto;line-height:22px;margin-bottom:8px;text-align:left;float:unset}.fc-wrap-top.el-form-item>.el-form-item__content{margin-left:0!important}.el-form--large .fc-wrap-top.el-form-item>.el-form-item__label{line-height:22px;margin-bottom:12px}.el-form--default .fc-wrap-top.el-form-item>.el-form-item__label{line-height:22px;margin-bottom:8px}.el-form--small .fc-wrap-top.el-form-item>.el-form-item__label{line-height:20px;margin-bottom:4px}.fc-form-footer{margin-top:12px}.form-create.is-numbered{counter-reset:q}.form-create.is-numbered .fc-form-title{counter-increment:q}.form-create.is-numbered .fc-form-title:before{content:counter(q) ". ";color:var(--fc-number-color, inherit);font-weight:600}.form-create.is-numbered.is-number-chinese .fc-form-title:before{content:counter(q,simp-chinese-informal) "、"}')),document.head.appendChild(e)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
10
10
  var nr = Object.defineProperty, sr = Object.defineProperties;
11
11
  var or = Object.getOwnPropertyDescriptors;
12
12
  var at = Object.getOwnPropertySymbols;
@@ -19,7 +19,7 @@ var lt = (t, e, r) => e in t ? nr(t, e, { enumerable: !0, configurable: !0, writ
19
19
  lr.call(e, r) && lt(t, r, e[r]);
20
20
  return t;
21
21
  }, q = (t, e) => sr(t, or(e));
22
- import be, { getCurrentInstance as ur, provide as fr, inject as cr, toRefs as ut, reactive as ne, onBeforeMount as hr, watch as N, onMounted as dr, onBeforeUnmount as pr, onUpdated as mr, nextTick as P, markRaw as ye, computed as $e, toRef as Ve, ref as gr } from "vue";
22
+ import be, { getCurrentInstance as ur, provide as fr, inject as cr, toRefs as ut, reactive as ne, onBeforeMount as hr, watch as N, onMounted as dr, onBeforeUnmount as pr, onUpdated as mr, nextTick as P, markRaw as ye, computed as $e, toRef as Ae, ref as gr } from "vue";
23
23
  function yr(t) {
24
24
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
25
25
  }
@@ -496,8 +496,8 @@ const kr = "fcFrame", Er = {
496
496
  mounted() {
497
497
  this.$on("fc.closeModal", this.closeModal);
498
498
  }
499
- }, Rr = "fcRadio", Sr = {
500
- name: Rr,
499
+ }, Sr = "fcRadio", Rr = {
500
+ name: Sr,
501
501
  props: {
502
502
  formCreateInject: {
503
503
  type: Object,
@@ -626,8 +626,8 @@ const jr = "fcSelect", Dr = {
626
626
  mounted() {
627
627
  this.$emit("fc.el", this.$refs.el);
628
628
  }
629
- }, Vr = "fcTree", Ar = {
630
- name: Vr,
629
+ }, Ar = "fcTree", Vr = {
630
+ name: Ar,
631
631
  formCreateParser: {
632
632
  mergeProp(t) {
633
633
  const e = t.prop.props;
@@ -969,7 +969,7 @@ function Et(t) {
969
969
  function Lr(t) {
970
970
  return t && typeof t == "object" && typeof t.then == "function";
971
971
  }
972
- function Ae(t) {
972
+ function Ve(t) {
973
973
  return Lr(t) ? t : Promise.resolve(t);
974
974
  }
975
975
  function ve(t) {
@@ -979,11 +979,11 @@ function ve(t) {
979
979
  function Nr(t) {
980
980
  return t.replace(t[0], t[0].toLocaleUpperCase());
981
981
  }
982
- function Rt(t, e, r) {
982
+ function St(t, e, r) {
983
983
  return `[form-create ${t}]: ${e}`;
984
984
  }
985
985
  function Ye(t, e) {
986
- console.error(Rt("err", t));
986
+ console.error(St("err", t));
987
987
  }
988
988
  function Mr(t) {
989
989
  Ye(t.toString()), console.error(t);
@@ -1045,7 +1045,7 @@ err: ${s}`);
1045
1045
  }
1046
1046
  return t;
1047
1047
  }
1048
- function St(t, e) {
1048
+ function Rt(t, e) {
1049
1049
  return JSON.parse(t, function(r, i) {
1050
1050
  return h.Undef(i) || !i.indexOf ? i : z(i, e);
1051
1051
  });
@@ -1251,7 +1251,7 @@ const Ur = "fcGroup", Hr = {
1251
1251
  const i = [...this.value];
1252
1252
  i.splice(t, 1), this.input(i);
1253
1253
  };
1254
- Ae(this.onBeforeRemove(this.modelValue, t)).then((i) => {
1254
+ Ve(this.onBeforeRemove(this.modelValue, t)).then((i) => {
1255
1255
  i !== !1 && r();
1256
1256
  });
1257
1257
  },
@@ -1458,14 +1458,14 @@ const Ur = "fcGroup", Hr = {
1458
1458
  }, Kr = [
1459
1459
  Fr,
1460
1460
  Er,
1461
- Sr,
1461
+ Rr,
1462
1462
  Dr,
1463
- Ar,
1463
+ Vr,
1464
1464
  Tr,
1465
1465
  Hr,
1466
1466
  Jr
1467
- ], jt = ["attrs", "props", "domProps", "scopedSlots"], Dt = ["class", "style", "directives"], Vt = ["on", "nativeOn", "hook"], Q = (t, e = {}, r = {}) => {
1468
- const i = [...jt, ...r.normal || []], s = [...Dt, ...r.array || []], n = [...Vt, ...r.functional || []], o = r.props || [];
1467
+ ], jt = ["attrs", "props", "domProps", "scopedSlots"], Dt = ["class", "style", "directives"], At = ["on", "nativeOn", "hook"], Q = (t, e = {}, r = {}) => {
1468
+ const i = [...jt, ...r.normal || []], s = [...Dt, ...r.array || []], n = [...At, ...r.functional || []], o = r.props || [];
1469
1469
  return t.reduce((a, l) => {
1470
1470
  for (const u in l)
1471
1471
  if (a[u])
@@ -1494,9 +1494,9 @@ const Ur = "fcGroup", Hr = {
1494
1494
  }, e);
1495
1495
  }, Wr = (t, e) => function() {
1496
1496
  t && t.apply(this, arguments), e && e.apply(this, arguments);
1497
- }, At = ["type", "slot", "ignore", "emitPrefix", "value", "name", "native", "hidden", "display", "inject", "options", "emit", "nativeEmit", "link", "prefix", "suffix", "update", "sync", "optionsTo", "key", "slotUpdate", "computed", "preview", "component", "cache"], et = ["validate", "children", "control"], tt = ["effect", "deep", "renderSlots"];
1497
+ }, Vt = ["type", "slot", "ignore", "emitPrefix", "value", "name", "native", "hidden", "display", "inject", "options", "emit", "nativeEmit", "link", "prefix", "suffix", "update", "sync", "optionsTo", "key", "slotUpdate", "computed", "preview", "component", "cache"], et = ["validate", "children", "control"], tt = ["effect", "deep", "renderSlots"];
1498
1498
  function It() {
1499
- return [...At, ...jt, ...Dt, ...Vt, ...et, ...tt];
1499
+ return [...Vt, ...jt, ...Dt, ...At, ...et, ...tt];
1500
1500
  }
1501
1501
  function ze(t, e) {
1502
1502
  return {
@@ -1559,7 +1559,7 @@ function zr(t, e) {
1559
1559
  } else
1560
1560
  return Xe(t, e);
1561
1561
  }
1562
- function Se() {
1562
+ function Re() {
1563
1563
  const t = {}, e = (r) => r || "default";
1564
1564
  return {
1565
1565
  setSlot(r, i) {
@@ -1672,7 +1672,10 @@ const De = (t, e) => {
1672
1672
  return De(t.$parent, e);
1673
1673
  }
1674
1674
  };
1675
- function Zr(t, e, r) {
1675
+ function Zr() {
1676
+ return typeof document != "undefined" && typeof document.createElement == "function" && document.head != null;
1677
+ }
1678
+ function Qr(t, e, r) {
1676
1679
  const i = "FormCreate" + (t.isMobile ? "Mobile" : "");
1677
1680
  return {
1678
1681
  name: i,
@@ -1744,30 +1747,30 @@ function Zr(t, e, r) {
1744
1747
  if (o) {
1745
1748
  const E = De(n, o);
1746
1749
  if (E) {
1747
- let S;
1748
- _ ? (S = J(E.getSubForm()), S.push($)) : S = $, E.subForm(S);
1750
+ let R;
1751
+ _ ? (R = J(E.getSubForm()), R.push($)) : R = $, E.subForm(R);
1749
1752
  }
1750
1753
  }
1751
1754
  }, M = () => {
1752
1755
  const E = De(n, o);
1753
1756
  if (E)
1754
1757
  if (_) {
1755
- const S = J(E.getSubForm()), U = S.indexOf($);
1756
- U > -1 && S.splice(U, 1);
1758
+ const R = J(E.getSubForm()), U = R.indexOf($);
1759
+ U > -1 && R.splice(U, 1);
1757
1760
  } else
1758
1761
  E.subForm();
1759
1762
  };
1760
- let A = null;
1763
+ let V = null;
1761
1764
  hr(() => {
1762
- N(() => {
1765
+ Zr() && N(() => {
1763
1766
  let E = "";
1764
- const S = s.option && s.option.globalClass || {};
1765
- Object.keys(S).forEach((U) => {
1767
+ const R = s.option && s.option.globalClass || {};
1768
+ Object.keys(R).forEach((U) => {
1766
1769
  let ge = "";
1767
- S[U].style && Object.keys(S[U].style).forEach((K) => {
1768
- ge += ve(K) + ":" + S[U].style[K] + ";";
1769
- }), S[U].content && (ge += S[U].content + ";"), ge && (E += `.${U}{${ge}}`);
1770
- }), s.option && s.option.style && (E += s.option.style), A || (A = document.createElement("style"), A.type = "text/css", document.head.appendChild(A)), A.innerHTML = E || "";
1770
+ R[U].style && Object.keys(R[U].style).forEach((K) => {
1771
+ ge += ve(K) + ":" + R[U].style[K] + ";";
1772
+ }), R[U].content && (ge += R[U].content + ";"), ge && (E += `.${U}{${ge}}`);
1773
+ }), s.option && s.option.style && (E += s.option.style), V || (V = document.createElement("style"), V.type = "text/css", document.head.appendChild(V)), V.innerHTML = E || "";
1771
1774
  }, () => {
1772
1775
  });
1773
1776
  });
@@ -1783,7 +1786,7 @@ function Zr(t, e, r) {
1783
1786
  return dr(() => {
1784
1787
  o && ($.top.bus.$on("$loadData.$form", L), $.top.bus.$on("change", me)), $ !== $.scope && $.scope.bus.$on("$loadData.$scopeForm", pe), m.mounted();
1785
1788
  }), pr(() => {
1786
- o && ($.top.bus.$off("$loadData.$form", L), $.top.bus.$off("change", me)), $ !== $.scope && $.scope.bus.$off("$loadData.$scopeForm", pe), M(), p.destroyed = !0, m.unmount(), A && (A.parentNode || A.parentElement) && document.head.removeChild(A);
1789
+ o && ($.top.bus.$off("$loadData.$form", L), $.top.bus.$off("change", me)), $ !== $.scope && $.scope.bus.$off("$loadData.$scopeForm", pe), M(), p.destroyed = !0, m.unmount(), V && V.parentNode && V.parentNode.removeChild(V);
1787
1790
  }), mr(() => {
1788
1791
  m.updated();
1789
1792
  }), N(f, (E) => {
@@ -1791,7 +1794,7 @@ function Zr(t, e, r) {
1791
1794
  }, { immediate: !0 }), N(() => s.option, () => {
1792
1795
  m.initOptions(), $.refresh();
1793
1796
  }, { deep: !0, flush: "sync" }), N(() => [...l.value], (E) => {
1794
- m.$handle.isBreakWatch() || E.length === p.renderRule.length && E.every((S) => p.renderRule.indexOf(S) > -1) || (m.$handle.updateAppendData(), m.$handle.reloadRule(l.value), n.renderRule());
1797
+ m.$handle.isBreakWatch() || E.length === p.renderRule.length && E.every((R) => p.renderRule.indexOf(R) > -1) || (m.$handle.updateAppendData(), m.$handle.reloadRule(l.value), n.renderRule());
1795
1798
  }), N(() => [s.disabled, s.preview], () => {
1796
1799
  $.refresh();
1797
1800
  }), N(u, (E) => {
@@ -1817,8 +1820,8 @@ function Zr(t, e, r) {
1817
1820
  },
1818
1821
  updateValue(E) {
1819
1822
  if (p.destroyed) return;
1820
- const S = Oe(E);
1821
- p.updateValue !== S && (p.updateValue = S, n.$emit("update:value", E), P(() => {
1823
+ const R = Oe(E);
1824
+ p.updateValue !== R && (p.updateValue = R, n.$emit("update:value", E), P(() => {
1822
1825
  Pe(), o ? f.value || pe() : (L(), pe());
1823
1826
  }));
1824
1827
  }
@@ -1871,7 +1874,7 @@ function Mt(t) {
1871
1874
  }
1872
1875
  Mt(It());
1873
1876
  const qt = T("");
1874
- function Qr(t, e, r) {
1877
+ function Yr(t, e, r) {
1875
1878
  let i = qt("", e);
1876
1879
  return i._data.type = t, i._data.title = r, i;
1877
1880
  }
@@ -1879,15 +1882,15 @@ function mt(t, e, r, i) {
1879
1882
  let s = qt("", r);
1880
1883
  return s._data.type = "template", s._data.template = t, s._data.title = i, s._data.vm = e, s;
1881
1884
  }
1882
- function Yr() {
1885
+ function ei() {
1883
1886
  return {
1884
- create: Qr,
1887
+ create: Yr,
1885
1888
  createTmp: mt,
1886
1889
  template: mt,
1887
1890
  factory: T
1888
1891
  };
1889
1892
  }
1890
- function ei(t, e, r) {
1893
+ function ti(t, e, r) {
1891
1894
  const i = `fail to ${t} ${r.status}'`, s = new Error(i);
1892
1895
  return s.status = r.status, s.url = t, s;
1893
1896
  }
@@ -1916,7 +1919,7 @@ function Ut(t) {
1916
1919
  t.onError(o);
1917
1920
  }, e.onload = function() {
1918
1921
  if (e.status < 200 || e.status >= 300)
1919
- return t.onError(ei(r, t, e), gt(e));
1922
+ return t.onError(ti(r, t, e), gt(e));
1920
1923
  t.onSuccess(gt(e));
1921
1924
  }, e.open(t.method || "get", r, !0);
1922
1925
  let i;
@@ -1934,7 +1937,7 @@ function yt(t, e, r) {
1934
1937
  onSuccess(n) {
1935
1938
  let o = (l) => l;
1936
1939
  const a = z(t.parse);
1937
- h.Function(a) ? o = a : a && h.String(a) && (o = (l) => B(l, a)), Ae(o(n, t.targetRule, r)).then((l) => {
1940
+ h.Function(a) ? o = a : a && h.String(a) && (o = (l) => B(l, a)), Ve(o(n, t.targetRule, r)).then((l) => {
1938
1941
  i(l);
1939
1942
  });
1940
1943
  },
@@ -1947,7 +1950,7 @@ function yt(t, e, r) {
1947
1950
  function _e(t) {
1948
1951
  return Y(t);
1949
1952
  }
1950
- function ti(t) {
1953
+ function ri(t) {
1951
1954
  function e(n) {
1952
1955
  return h.Undef(n) ? n = t.fields() : Array.isArray(n) || (n = [n]), n;
1953
1956
  }
@@ -2275,7 +2278,7 @@ function ti(t) {
2275
2278
  method(n, o) {
2276
2279
  const a = s.el(n);
2277
2280
  if (!a || !a[o])
2278
- throw new Error(Rt("err", `${o} 方法不存在`));
2281
+ throw new Error(St("err", `${o} 方法不存在`));
2279
2282
  return (...l) => a[o](...l);
2280
2283
  },
2281
2284
  exec(n, o, ...a) {
@@ -2462,7 +2465,7 @@ function ti(t) {
2462
2465
  };
2463
2466
  }), s.changeValue = s.changeField = s.setValue, s;
2464
2467
  }
2465
- function ri(t) {
2468
+ function ii(t) {
2466
2469
  C(t.prototype, {
2467
2470
  initCache() {
2468
2471
  this.clearCacheAll();
@@ -2503,7 +2506,7 @@ function G(t) {
2503
2506
  function Ht(t) {
2504
2507
  return t.replace(t[0], t[0].toLowerCase());
2505
2508
  }
2506
- function ii(t) {
2509
+ function ni(t) {
2507
2510
  C(t.prototype, {
2508
2511
  initRender() {
2509
2512
  this.cacheConfig = {};
@@ -2520,12 +2523,24 @@ function ii(t) {
2520
2523
  render() {
2521
2524
  if (!this.vm.isShow)
2522
2525
  return;
2523
- this.$manager.beforeRender();
2524
- const e = Se();
2526
+ this.$manager.beforeRender(), this.applyShowNumber(this.$manager.rule);
2527
+ const e = Re();
2525
2528
  return this.sort.forEach((r) => {
2526
2529
  this.renderSlot(e, this.$handle.ctxs[r]);
2527
2530
  }), this.$manager.render(e);
2528
2531
  },
2532
+ applyShowNumber(e) {
2533
+ const r = this.$handle.options || {};
2534
+ if (!r.showNumber || !e)
2535
+ return;
2536
+ e.class = this.mergeClass(e.class, "is-numbered"), r.showNumber === "chinese" && (e.class = this.mergeClass(e.class, "is-number-chinese"));
2537
+ const i = r.numberColor, s = (r.form || {}).style;
2538
+ if (!i) {
2539
+ e.style = s;
2540
+ return;
2541
+ }
2542
+ h.String(s) ? e.style = `${s};--fc-number-color:${i}` : Array.isArray(s) ? e.style = s.concat({ "--fc-number-color": i }) : e.style = q(v({}, s || {}), { "--fc-number-color": i });
2543
+ },
2529
2544
  renderSlot(e, r, i) {
2530
2545
  this.isFragment(r) ? (r.initProp(), this.mergeGlobal(r), r.initNone(), this.renderChildren(r.loadChildrenPending(), r, r.rule.slot).forEach((n) => {
2531
2546
  e.setSlot(r.rule.slot, n);
@@ -2599,7 +2614,7 @@ function ii(t) {
2599
2614
  });
2600
2615
  const p = this.getTypeSlot(e);
2601
2616
  let m;
2602
- return p ? (u.children = f, m = p(u)) : m = a ? e.parser.preview(Ke(f), e) : e.parser.render(Ke(f), e), m = this.renderSides(m, e), ($ = n.title) != null && $.show && (n.wrap = q(v({}, n.wrap || {}), { show: !0 }), n.native || (n.native = !1)), (!(!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((O) => !O || !O.tag ? O : this.none(O)) : m = this.none(m)), o && this.setCache(e, () => this.stable(m), r), m;
2617
+ return p ? (u.children = f, m = p(u)) : m = a ? e.parser.preview(Ke(f), e) : e.parser.render(Ke(f), e), m = this.renderSides(m, e), ($ = n.title) != null && $.show && (n.wrap = v({ show: !0 }, n.wrap || {}), n.native || (n.native = !1)), (!(!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((O) => !O || !O.tag ? O : this.none(O)) : m = this.none(m)), o && this.setCache(e, () => this.stable(m), r), m;
2603
2618
  }, this.setCache(e, s, r);
2604
2619
  }
2605
2620
  return (...s) => {
@@ -2742,7 +2757,7 @@ function ii(t) {
2742
2757
  },
2743
2758
  renderChildren(e, r, i) {
2744
2759
  if (!h.trueArray(e)) return [];
2745
- const s = Se();
2760
+ const s = Re();
2746
2761
  return e.map((n) => {
2747
2762
  if (n) {
2748
2763
  if (h.String(n) || h.Number(n)) return s.setSlot(null, i ? this.renderRule({
@@ -2768,7 +2783,7 @@ function ii(t) {
2768
2783
  },
2769
2784
  createRuleVnode(e, r, i) {
2770
2785
  this.force = i !== !1, this.tmpInput = r;
2771
- const s = Se();
2786
+ const s = Re();
2772
2787
  return this.renderSlot(s, e, e.parent), this.force = !1, this.tmpInput = null, s.getSlots();
2773
2788
  },
2774
2789
  renderRule(e, r, i) {
@@ -2783,7 +2798,7 @@ function ii(t) {
2783
2798
  a && (s = G(a));
2784
2799
  }
2785
2800
  if (!s) return;
2786
- const n = Se();
2801
+ const n = Re();
2787
2802
  h.trueArray(e.children) && e.children.forEach((a) => {
2788
2803
  a && n.setSlot(a == null ? void 0 : a.slot, () => this.renderRule(a));
2789
2804
  });
@@ -2792,7 +2807,7 @@ function ii(t) {
2792
2807
  }
2793
2808
  });
2794
2809
  }
2795
- let ni = 1;
2810
+ let si = 1;
2796
2811
  function it(t) {
2797
2812
  C(this, {
2798
2813
  $handle: t,
@@ -2802,7 +2817,7 @@ function it(t) {
2802
2817
  vNode: new t.fc.CreateNode(t),
2803
2818
  force: !1,
2804
2819
  tmpInput: null,
2805
- id: ni++
2820
+ id: si++
2806
2821
  }), Bt(this, {
2807
2822
  options() {
2808
2823
  return t.options;
@@ -2812,9 +2827,9 @@ function it(t) {
2812
2827
  }
2813
2828
  }), this.initCache(), this.initRender();
2814
2829
  }
2815
- ri(it);
2816
2830
  ii(it);
2817
- function si(t) {
2831
+ ni(it);
2832
+ function oi(t) {
2818
2833
  C(t.prototype, {
2819
2834
  parseInjectEvent(e, r) {
2820
2835
  const i = e.inject || this.options.injectEvent;
@@ -2930,12 +2945,12 @@ function si(t) {
2930
2945
  });
2931
2946
  }
2932
2947
  const $t = ["hook:updated", "hook:mounted"];
2933
- function oi(t) {
2948
+ function ai(t) {
2934
2949
  C(t.prototype, {
2935
2950
  usePage() {
2936
2951
  const e = this.options.page;
2937
2952
  if (!e) return;
2938
- let r = 25, i = ai(this.rules);
2953
+ let r = 25, i = li(this.rules);
2939
2954
  h.Object(e) && (e.first && (r = parseInt(e.first, 10) || r), e.limit && (i = parseInt(e.limit, 10) || i)), C(this, {
2940
2955
  first: r,
2941
2956
  limit: i,
@@ -2950,10 +2965,10 @@ function oi(t) {
2950
2965
  }
2951
2966
  });
2952
2967
  }
2953
- function ai(t) {
2968
+ function li(t) {
2954
2969
  return t.length < 31 ? 31 : Math.ceil(t.length / 3);
2955
2970
  }
2956
- function li(t) {
2971
+ function ui(t) {
2957
2972
  C(t.prototype, {
2958
2973
  clearNextTick() {
2959
2974
  this.nextTick && clearTimeout(this.nextTick), this.nextTick = null;
@@ -2968,7 +2983,7 @@ function li(t) {
2968
2983
  }
2969
2984
  });
2970
2985
  }
2971
- function ui(t) {
2986
+ function fi(t) {
2972
2987
  Object.defineProperties(t.origin, {
2973
2988
  __fc__: ze(ye(t), !0)
2974
2989
  }), t.rule !== t.origin && Object.defineProperties(t.rule, {
@@ -3003,7 +3018,7 @@ function Gt(t, e, r) {
3003
3018
  exportEl: void 0,
3004
3019
  defaultValue: s ? Y(r) : void 0,
3005
3020
  field: e.field || void 0
3006
- }), this.updateKey(), ui(this), this.update(t, !0);
3021
+ }), this.updateKey(), fi(this), this.update(t, !0);
3007
3022
  }
3008
3023
  C(Gt.prototype, {
3009
3024
  getParentGroup() {
@@ -3157,7 +3172,7 @@ C(Gt.prototype, {
3157
3172
  }), !e && this.unwatch(), this.watchTo(), this.link(), this.updateType();
3158
3173
  }
3159
3174
  });
3160
- function fi(t) {
3175
+ function ci(t) {
3161
3176
  C(t.prototype, {
3162
3177
  nextRefresh(e) {
3163
3178
  const r = this.loadedId;
@@ -3169,7 +3184,7 @@ function fi(t) {
3169
3184
  const r = ht(e);
3170
3185
  return Object.defineProperties(r, {
3171
3186
  __origin__: ze(e, !0)
3172
- }), ci(r), this.appendValue(r), [r, r.prefix, r.suffix].forEach((i) => {
3187
+ }), hi(r), this.appendValue(r), [r, r.prefix, r.suffix].forEach((i) => {
3173
3188
  i && this.loadFn(i, r);
3174
3189
  }), this.loadCtrl(r), r.update && (r.update = z(r.update)), r;
3175
3190
  },
@@ -3228,7 +3243,7 @@ function fi(t) {
3228
3243
  } else if (!f.check(this)) {
3229
3244
  if (bt(f))
3230
3245
  return;
3231
- e[a] = o = o._clone ? o._clone() : St(Oe(o)), f = null, d = !0;
3246
+ e[a] = o = o._clone ? o._clone() : Rt(Oe(o)), f = null, d = !0;
3232
3247
  }
3233
3248
  }
3234
3249
  if (f)
@@ -3254,7 +3269,7 @@ function fi(t) {
3254
3269
  return e.input && e.rule.control && this.useCtrl(e);
3255
3270
  },
3256
3271
  useCtrl(e) {
3257
- const r = hi(e), i = [], s = this.api;
3272
+ const r = di(e), i = [], s = this.api;
3258
3273
  if (!r.length) return !1;
3259
3274
  for (let a = 0; a < r.length; a++) {
3260
3275
  const l = r[a], u = l.handle || function(d) {
@@ -3263,7 +3278,7 @@ function fi(t) {
3263
3278
  if (!h.trueArray(l.rule)) continue;
3264
3279
  const f = q(v({}, l), {
3265
3280
  valid: F(() => u(e.rule.value, s)),
3266
- ctrl: di(e, l.rule),
3281
+ ctrl: pi(e, l.rule),
3267
3282
  isHidden: h.String(l.rule[0])
3268
3283
  });
3269
3284
  f.valid && f.ctrl || !f.valid && !f.ctrl && !f.isHidden || i.push(f);
@@ -3326,17 +3341,17 @@ function fi(t) {
3326
3341
  }
3327
3342
  });
3328
3343
  }
3329
- function ci(t) {
3344
+ function hi(t) {
3330
3345
  const e = Nt();
3331
3346
  return Object.keys(e).forEach((r) => {
3332
3347
  j(t, r) || k(t, r, e[r]);
3333
3348
  }), t;
3334
3349
  }
3335
- function hi(t) {
3350
+ function di(t) {
3336
3351
  const e = t.rule.control || [];
3337
3352
  return h.Object(e) ? [e] : e;
3338
3353
  }
3339
- function di(t, e) {
3354
+ function pi(t, e) {
3340
3355
  for (let r = 0; r < t.ctrlRule.length; r++) {
3341
3356
  const i = t.ctrlRule[r];
3342
3357
  if (i.children === e)
@@ -3346,7 +3361,7 @@ function di(t, e) {
3346
3361
  function bt(t) {
3347
3362
  return !!t.rule.__ctrl;
3348
3363
  }
3349
- function pi(t) {
3364
+ function mi(t) {
3350
3365
  C(t.prototype, {
3351
3366
  setValue(e, r, i, s) {
3352
3367
  e.deleted || (e.rule.value = r, this.changeStatus = !0, this.nextRefresh(), this.$render.clearCache(e), this.setFormData(e, i), this.syncValue(), this.valueChange(e, r), this.vm.$emit("change", e.field, r, e.origin, this.api, s || !1), this.effect(e, "value"), this.targetHook(e, "value", { value: r }), this.emitEvent("change", e.field, r, {
@@ -3390,9 +3405,9 @@ function pi(t) {
3390
3405
  },
3391
3406
  syncForm() {
3392
3407
  const e = {}, r = this.fields(), i = [];
3393
- this.options.appendValue !== !1 && Object.keys(this.appendData).reduce((s, n) => (r.indexOf(n) === -1 && (s[n] = Ve(this.appendData, n)), s), e), r.reduce((s, n) => {
3408
+ this.options.appendValue !== !1 && Object.keys(this.appendData).reduce((s, n) => (r.indexOf(n) === -1 && (s[n] = Ae(this.appendData, n)), s), e), r.reduce((s, n) => {
3394
3409
  let o = (this.fieldCtx[n] || []).filter((a) => !this.isIgnore(a))[0];
3395
- return o || (o = this.fieldCtx[n][0], i.push(n)), s[n] = Ve(o.rule, "value"), s;
3410
+ return o || (o = this.fieldCtx[n][0], i.push(n)), s[n] = Ae(o.rule, "value"), s;
3396
3411
  }, e), this.form = ne(e), this.ignoreFields = i, this.syncValue();
3397
3412
  },
3398
3413
  isIgnore(e) {
@@ -3471,8 +3486,8 @@ const we = {
3471
3486
  },
3472
3487
  mergeProp(t) {
3473
3488
  }
3474
- }, mi = ["field", "value", "vm", "template", "name", "config", "control", "inject", "sync", "payload", "optionsTo", "update", "slotUpdate", "computed", "component", "cache"], Ce = Symbol("oldValue");
3475
- function gi(t) {
3489
+ }, gi = ["field", "value", "vm", "template", "name", "config", "control", "inject", "sync", "payload", "optionsTo", "update", "slotUpdate", "computed", "component", "cache"], Ce = Symbol("oldValue");
3490
+ function yi(t) {
3476
3491
  C(t.prototype, {
3477
3492
  getCtx(e) {
3478
3493
  return this.getFieldCtx(e) || this.getNameCtx(e)[0] || this.ctxs[e];
@@ -3520,8 +3535,8 @@ function gi(t) {
3520
3535
  this.noWatchFn || (this.noWatchFn = e), F(e), this.noWatchFn === e && (this.noWatchFn = null);
3521
3536
  },
3522
3537
  watchCtx(e) {
3523
- if (It().filter((i) => i[0] !== "_" && i[0] !== "$" && mi.indexOf(i) === -1).forEach((i) => {
3524
- const s = Ve(e.rule, i), n = i === "children";
3538
+ if (It().filter((i) => i[0] !== "_" && i[0] !== "$" && gi.indexOf(i) === -1).forEach((i) => {
3539
+ const s = Ae(e.rule, i), n = i === "children";
3525
3540
  e.refRule[i] = s, e.watch.push(N(n ? () => h.Function(s.value) ? s.value : [...s.value || []] : () => s.value, (o, a) => {
3526
3541
  let l = s.value;
3527
3542
  if (!this.isBreakWatch()) {
@@ -3588,7 +3603,7 @@ function gi(t) {
3588
3603
  return n;
3589
3604
  });
3590
3605
  }), e.input) {
3591
- const i = Ve(e.rule, "value");
3606
+ const i = Ae(e.rule, "value");
3592
3607
  e.watch.push(N(() => i.value, () => {
3593
3608
  let s = e.parser.toFormValue(i.value, e);
3594
3609
  this.isChange(e, s) && this.setValue(e, i.value, s, !0);
@@ -3802,7 +3817,7 @@ function gi(t) {
3802
3817
  }
3803
3818
  });
3804
3819
  }
3805
- function yi(t) {
3820
+ function $i(t) {
3806
3821
  C(t.prototype, {
3807
3822
  mounted() {
3808
3823
  const e = () => {
@@ -3846,13 +3861,13 @@ function yi(t) {
3846
3861
  }
3847
3862
  });
3848
3863
  }
3849
- function $i(t) {
3864
+ function bi(t) {
3850
3865
  C(t.prototype, {
3851
3866
  useProvider() {
3852
3867
  const e = this.fc.providers;
3853
3868
  Object.keys(e).forEach((r) => {
3854
3869
  let i = e[r];
3855
- h.Function(i) && (i = i(this.fc)), i._c = vi(i), this.onEffect(i, r), this.providers[r] = i;
3870
+ h.Function(i) && (i = i(this.fc)), i._c = _i(i), this.onEffect(i, r), this.providers[r] = i;
3856
3871
  });
3857
3872
  },
3858
3873
  onEffect(e, r) {
@@ -3922,15 +3937,15 @@ function $i(t) {
3922
3937
  }
3923
3938
  });
3924
3939
  }
3925
- function bi(t) {
3940
+ function vi(t) {
3926
3941
  return t.filter(function(e, r, i) {
3927
3942
  return i.indexOf(e, 0) === r;
3928
3943
  });
3929
3944
  }
3930
- function vi(t) {
3945
+ function _i(t) {
3931
3946
  const e = t.components;
3932
3947
  if (Array.isArray(e)) {
3933
- const r = bi(e.filter((i) => i !== "*"));
3948
+ const r = vi(e.filter((i) => i !== "*"));
3934
3949
  return r.length ? r : !1;
3935
3950
  } else return h.String(e) ? [e] : !1;
3936
3951
  }
@@ -3972,7 +3987,7 @@ function X(t) {
3972
3987
  }), this.initData(t.rules), this.$manager = new t.manager(this), this.$render = new it(this), this.api = t.extendApiFn.reduce((e, r) => {
3973
3988
  const i = F(() => r(e, this));
3974
3989
  return i && i !== e && C(e, i), e;
3975
- }, ti(this));
3990
+ }, ri(this));
3976
3991
  }
3977
3992
  C(X.prototype, {
3978
3993
  initData(t) {
@@ -4012,26 +4027,26 @@ C(X.prototype, {
4012
4027
  });
4013
4028
  }
4014
4029
  });
4015
- si(X);
4016
4030
  oi(X);
4017
- li(X);
4018
- fi(X);
4019
- pi(X);
4020
- gi(X);
4031
+ ai(X);
4032
+ ui(X);
4033
+ ci(X);
4034
+ mi(X);
4021
4035
  yi(X);
4022
4036
  $i(X);
4023
- const _i = "fcFragment", Ne = {
4024
- name: _i,
4037
+ bi(X);
4038
+ const Ci = "fcFragment", Ne = {
4039
+ name: Ci,
4025
4040
  functional: !0,
4026
4041
  props: ["vnode"],
4027
4042
  render(t, e) {
4028
4043
  return e.props.vnode ? e.props.vnode : e.children;
4029
4044
  }
4030
4045
  };
4031
- function Ci(t) {
4046
+ function wi(t) {
4032
4047
  return h.String(t) ? { domProps: { innerHTML: t } } : t;
4033
4048
  }
4034
- function wi() {
4049
+ function Oi() {
4035
4050
  const t = {};
4036
4051
  function e(r) {
4037
4052
  r && this.setVm(r);
@@ -4048,7 +4063,7 @@ function wi() {
4048
4063
  var a;
4049
4064
  const n = this.handle.fc.prop.components[r];
4050
4065
  n && (r = n);
4051
- let o = this.$h(r, Ci(i), s || []);
4066
+ let o = this.$h(r, wi(i), s || []);
4052
4067
  if ((a = o == null ? void 0 : o.componentOptions) != null && a.propsData && (i != null && i.props)) {
4053
4068
  const l = Object.keys(o.componentOptions.propsData);
4054
4069
  o.data.attrs || (o.data.attrs = {}), Object.keys(i.props).forEach((u) => {
@@ -4075,7 +4090,7 @@ function wi() {
4075
4090
  }
4076
4091
  }), e;
4077
4092
  }
4078
- function Oi(t) {
4093
+ function Fi(t) {
4079
4094
  class e extends Jt {
4080
4095
  }
4081
4096
  return Object.assign(e.prototype, t), e;
@@ -4141,7 +4156,7 @@ C(Jt.prototype, {
4141
4156
  render(t) {
4142
4157
  }
4143
4158
  });
4144
- const Fi = function(t) {
4159
+ const ki = function(t) {
4145
4160
  const e = {
4146
4161
  name: "loadData",
4147
4162
  _fn: [],
@@ -4172,7 +4187,7 @@ const Fi = function(t) {
4172
4187
  }
4173
4188
  };
4174
4189
  return e.watch = e.loaded, e;
4175
- }, ki = function(t) {
4190
+ }, Ei = function(t) {
4176
4191
  const e = {
4177
4192
  name: "t",
4178
4193
  _fn: [],
@@ -4226,7 +4241,7 @@ const Fi = function(t) {
4226
4241
  watch(...t) {
4227
4242
  Kt.load(...t);
4228
4243
  }
4229
- }, Ei = function(t) {
4244
+ }, Si = function(t) {
4230
4245
  function e(s) {
4231
4246
  return h.String(s) && (s = {
4232
4247
  action: s,
@@ -4266,8 +4281,8 @@ const Fi = function(t) {
4266
4281
  onSuccess(_, O) {
4267
4282
  if (f()) return;
4268
4283
  let M = (L) => O ? L : j(L, "data") ? L.data : L;
4269
- const A = z(m.parse);
4270
- h.Function(A) ? M = A : A && h.String(A) && (M = (L) => B(L, A)), Ae(M(_, n, o)).then((L) => {
4284
+ const V = z(m.parse);
4285
+ h.Function(V) ? M = V : V && h.String(V) && (M = (L) => B(L, V)), Ve(M(_, n, o)).then((L) => {
4271
4286
  l(L);
4272
4287
  });
4273
4288
  },
@@ -4277,7 +4292,7 @@ const Fi = function(t) {
4277
4292
  });
4278
4293
  t.$handle.beforeFetch($, { rule: n, api: o }).then(() => {
4279
4294
  if (h.Function(m.action)) {
4280
- Ae(m.action(n, o)).then((_) => {
4295
+ Ve(m.action(n, o)).then((_) => {
4281
4296
  $.onSuccess(_, !0);
4282
4297
  }).catch((_) => {
4283
4298
  $.onError(_);
@@ -4304,12 +4319,12 @@ const Fi = function(t) {
4304
4319
  };
4305
4320
  return i;
4306
4321
  }, Ri = {
4307
- fetch: Ei,
4308
- loadData: Fi,
4309
- t: ki,
4322
+ fetch: Si,
4323
+ loadData: ki,
4324
+ t: Ei,
4310
4325
  componentValidate: Kt
4311
4326
  };
4312
- function Si(t) {
4327
+ function ji(t) {
4313
4328
  t = t || /* @__PURE__ */ new Map();
4314
4329
  const e = {
4315
4330
  $on(r, i) {
@@ -4333,8 +4348,8 @@ function Si(t) {
4333
4348
  };
4334
4349
  return e;
4335
4350
  }
4336
- const ji = "html", Di = {
4337
- name: ji,
4351
+ const Di = "html", Ai = {
4352
+ name: Di,
4338
4353
  loadChildren: !1,
4339
4354
  render(t, e) {
4340
4355
  return e.prop.domProps || (e.prop.domProps = {}), e.prop.domProps.innerHTML = t, e.vNode.make(e.prop.props.tag || "div", e.prop);
@@ -4361,7 +4376,7 @@ function Vi(t) {
4361
4376
  }
4362
4377
  return null;
4363
4378
  }
4364
- function Ai(t) {
4379
+ function Ii(t) {
4365
4380
  const e = localStorage.getItem(t);
4366
4381
  if (e)
4367
4382
  try {
@@ -4371,7 +4386,7 @@ function Ai(t) {
4371
4386
  }
4372
4387
  return null;
4373
4388
  }
4374
- function Ii(t) {
4389
+ function Pi(t) {
4375
4390
  const e = sessionStorage.getItem(t);
4376
4391
  if (e)
4377
4392
  try {
@@ -4388,16 +4403,16 @@ function nt(t, e) {
4388
4403
  let i = t(r.shift());
4389
4404
  return r.length ? i == null ? null : B(i, r) : i;
4390
4405
  }
4391
- function Pi(t) {
4392
- return nt(Vi, t);
4393
- }
4394
4406
  function Ti(t) {
4395
- return nt(Ai, t);
4407
+ return nt(Vi, t);
4396
4408
  }
4397
4409
  function Bi(t) {
4398
4410
  return nt(Ii, t);
4399
4411
  }
4400
- const Li = {
4412
+ function Li(t) {
4413
+ return nt(Pi, t);
4414
+ }
4415
+ const Ni = {
4401
4416
  en: {
4402
4417
  required: "{title} is required",
4403
4418
  validate: {
@@ -4447,17 +4462,17 @@ const Li = {
4447
4462
  }
4448
4463
  }
4449
4464
  };
4450
- function Ni(t, e) {
4465
+ function Mi(t, e) {
4451
4466
  let r;
4452
4467
  return arguments.length === 2 ? (r = arguments[1], e = r[t]) : r = arguments[2], { id: e, prop: r };
4453
4468
  }
4454
4469
  function Me() {
4455
- return Ni("name", ...arguments);
4470
+ return Mi("name", ...arguments);
4456
4471
  }
4457
- function Mi(t) {
4472
+ function qi(t) {
4458
4473
  return !t || !t.el ? window.document.body : h.Element(t.el) ? t.el : document.querySelector(t.el);
4459
4474
  }
4460
- function qi(t, e) {
4475
+ function Ui(t, e) {
4461
4476
  const r = new Vue({
4462
4477
  data() {
4463
4478
  return { rule: t, option: e || {} };
@@ -4468,23 +4483,23 @@ function qi(t, e) {
4468
4483
  });
4469
4484
  return r.$mount(), r;
4470
4485
  }
4471
- function Ui(t) {
4486
+ function Hi(t) {
4472
4487
  const e = t.key || [], r = t.array || [], i = t.normal || [];
4473
- At.push(...e), et.push(...r), tt.push(...i), Mt([...e, ...r, ...i]);
4488
+ Vt.push(...e), et.push(...r), tt.push(...i), Mt([...e, ...r, ...i]);
4474
4489
  }
4475
- let Hi = 1;
4490
+ let Gi = 1;
4476
4491
  const H = {}, _t = Symbol("defValue");
4477
4492
  function Wt(t) {
4478
4493
  const e = {
4479
4494
  [Ne.name]: Ne
4480
4495
  }, r = {}, i = {}, s = {}, n = {}, o = [], a = [], l = [
4481
4496
  t.extendApi
4482
- ], u = v({}, Ri), f = Yr();
4497
+ ], u = v({}, Ri), f = ei();
4483
4498
  let d = { global: {} };
4484
4499
  const p = t.isMobile === !0, m = ne({
4485
4500
  $mobile: p
4486
- }), $ = wi(), _ = {}, O = {};
4487
- Ui(t.attrs || {});
4501
+ }), $ = Oi(), _ = {}, O = {};
4502
+ Hi(t.attrs || {});
4488
4503
  function M(c) {
4489
4504
  const g = H[c];
4490
4505
  if (Array.isArray(g))
@@ -4492,7 +4507,7 @@ function Wt(t) {
4492
4507
  if (g)
4493
4508
  return g.api();
4494
4509
  }
4495
- function A(c) {
4510
+ function V(c) {
4496
4511
  o.push(c);
4497
4512
  }
4498
4513
  function L() {
@@ -4522,15 +4537,15 @@ function Wt(t) {
4522
4537
  let y;
4523
4538
  if (h.String(c)) {
4524
4539
  if (y = c, g === void 0)
4525
- return ["form-create", "formcreate"].indexOf(y) > -1 ? S() : e[y];
4540
+ return ["form-create", "formcreate"].indexOf(y) > -1 ? R() : e[y];
4526
4541
  } else
4527
4542
  y = G(c.name), g = c;
4528
4543
  if (!y || !g) return;
4529
4544
  const b = G(y);
4530
4545
  e[y] = g, e[b] = g, delete $.aliasMap[y], delete $.aliasMap[b], delete r[y], delete r[b], g.formCreateParser && me(y, g.formCreateParser);
4531
4546
  }
4532
- function S() {
4533
- return Zr(Be, e, i);
4547
+ function R() {
4548
+ return Qr(Be, e, i);
4534
4549
  }
4535
4550
  function U() {
4536
4551
  return Ne;
@@ -4539,9 +4554,9 @@ function Wt(t) {
4539
4554
  return h.Function(c.install) ? c.install(K, g) : h.Function(c) && c(K, g), this;
4540
4555
  }
4541
4556
  function K(c, g, y) {
4542
- let b = qi(c, g || {});
4557
+ let b = Ui(c, g || {});
4543
4558
  const w = b.$refs.fc.formCreate;
4544
- return w.$parent = y, Mi(w.options).appendChild(b.$el), w.api();
4559
+ return w.$parent = y, qi(w.options).appendChild(b.$el), w.api();
4545
4560
  }
4546
4561
  je(K, O);
4547
4562
  function zt(c) {
@@ -4605,10 +4620,10 @@ function Wt(t) {
4605
4620
  }
4606
4621
  function Be(c) {
4607
4622
  C(this, {
4608
- id: Hi++,
4623
+ id: Gi++,
4609
4624
  create: K,
4610
4625
  vm: c,
4611
- manager: Oi(t.manager),
4626
+ manager: Fi(t.manager),
4612
4627
  parsers: r,
4613
4628
  providers: u,
4614
4629
  modelFields: s,
@@ -4627,7 +4642,7 @@ function Wt(t) {
4627
4642
  refreshData: ke,
4628
4643
  loadData: m,
4629
4644
  CreateNode: $,
4630
- bus: new Si(),
4645
+ bus: new ji(),
4631
4646
  unwatch: [],
4632
4647
  options: gr({}),
4633
4648
  extendApiFn: l,
@@ -4654,8 +4669,8 @@ function Wt(t) {
4654
4669
  t(c, g, y) {
4655
4670
  let b = y ? y("$t." + c) : this.globalLanguageDriver(c);
4656
4671
  return b == null && (b = ""), b && g && Object.keys(g).forEach((w) => {
4657
- const V = new RegExp(`{${w}}`, "g");
4658
- b = b.replace(V, g[w]);
4672
+ const A = new RegExp(`{${w}}`, "g");
4673
+ b = b.replace(A, g[w]);
4659
4674
  }), b;
4660
4675
  },
4661
4676
  globalDataDriver(c) {
@@ -4666,14 +4681,14 @@ function Wt(t) {
4666
4681
  return B(b.data, g);
4667
4682
  {
4668
4683
  let w;
4669
- const V = this.fetchCache.get(b);
4670
- if (V) {
4671
- if (V.status && (w = B(V.data, g)), !V.loading)
4684
+ const A = this.fetchCache.get(b);
4685
+ if (A) {
4686
+ if (A.status && (w = B(A.data, g)), !A.loading)
4672
4687
  return w;
4673
- V.loading = !1, this.fetchCache.set(b, V);
4688
+ A.loading = !1, this.fetchCache.set(b, A);
4674
4689
  } else
4675
4690
  this.fetchCache.set(b, { status: !1 });
4676
- const R = se(() => {
4691
+ const S = se(() => {
4677
4692
  te();
4678
4693
  const W = this.fetchCache.get(b);
4679
4694
  this.options.value.globalData && Object.values(this.options.value.globalData).indexOf(b) !== -1 ? (W && (W.loading = !0, this.fetchCache.set(b, W)), this.bus.$emit("$loadData.$globalData." + y)) : this.fetchCache.delete(b);
@@ -4683,7 +4698,7 @@ function Wt(t) {
4683
4698
  if (ue && b.watch === !1)
4684
4699
  return te();
4685
4700
  if (ue) {
4686
- R();
4701
+ S();
4687
4702
  return;
4688
4703
  }
4689
4704
  const fe = this.$handle.loadFetchVar(Ke(b), W);
@@ -4704,8 +4719,8 @@ function Wt(t) {
4704
4719
  globalLanguageDriver(c) {
4705
4720
  let g = this.vm.top.$props.t, y = this.vm.top.$props.locale, b;
4706
4721
  if (g && (b = F(() => g(c))), b == null && y && typeof y == "object" && (b = B(y, c)), b == null) {
4707
- const w = this.options.value.language || {}, V = this.getLocale();
4708
- b = B(w[V] || {}, c), b == null && (b = B(Li[V] || {}, c));
4722
+ const w = this.options.value.language || {}, A = this.getLocale();
4723
+ b = B(w[A] || {}, c), b == null && (b = B(Ni[A] || {}, c));
4709
4724
  }
4710
4725
  return b;
4711
4726
  },
@@ -4715,8 +4730,8 @@ function Wt(t) {
4715
4730
  if (b) {
4716
4731
  const w = h.Function(b) ? b : z(b.handle);
4717
4732
  if (w) {
4718
- let V = w((...R) => this.$handle.api.getData(...R), this.$handle.api);
4719
- return B(V, g);
4733
+ let A = w((...S) => this.$handle.api.getData(...S), this.$handle.api);
4734
+ return B(A, g);
4720
4735
  }
4721
4736
  }
4722
4737
  },
@@ -4757,23 +4772,23 @@ function Wt(t) {
4757
4772
  },
4758
4773
  watchLoadData(c, g) {
4759
4774
  let y = {};
4760
- const b = (R) => {
4775
+ const b = (S) => {
4761
4776
  this.get || (this.get = w), F(() => {
4762
- c(w, R);
4777
+ c(w, S);
4763
4778
  }), this.get === w && (this.get = void 0);
4764
- }, w = (R, ae) => {
4779
+ }, w = (S, ae) => {
4765
4780
  let le;
4766
- if (typeof R == "object" && (le = R.getValue, R = R.id), y[R])
4767
- return y[R].val;
4768
- const te = $e(() => le ? le() : this.getLoadData(R, ae)), W = R.split("."), ue = W.shift(), fe = W.shift() || "", re = se(() => {
4769
- const ce = le ? le() : this.getLoadData(R, ae);
4770
- if (y[R])
4771
- ((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));
4781
+ if (typeof S == "object" && (le = S.getValue, S = S.id), y[S])
4782
+ return y[S].val;
4783
+ const te = $e(() => le ? le() : this.getLoadData(S, ae)), W = S.split("."), ue = W.shift(), fe = W.shift() || "", re = se(() => {
4784
+ const ce = le ? le() : this.getLoadData(S, ae);
4785
+ if (y[S])
4786
+ ((ce instanceof Function || h.Object(ce) || Array.isArray(ce)) && ce === y[S].val || JSON.stringify(ce) !== JSON.stringify(y[S].val)) && (y[S].val = ce, b(!0));
4772
4787
  else return;
4773
4788
  }, g || 0), ir = N(te, (ce) => {
4774
4789
  re();
4775
4790
  });
4776
- return this.bus.$on("$loadData." + ue, re), fe && this.bus.$on("$loadData." + ue + "." + fe, re), y[R] = {
4791
+ return this.bus.$on("$loadData." + ue, re), fe && this.bus.$on("$loadData." + ue + "." + fe, re), y[S] = {
4777
4792
  fn: () => {
4778
4793
  this.bus.$off("$loadData." + ue, re), fe && this.bus.$off("$loadData." + ue + "." + fe, re), ir();
4779
4794
  },
@@ -4781,10 +4796,10 @@ function Wt(t) {
4781
4796
  }, te.value;
4782
4797
  };
4783
4798
  b(!1);
4784
- const V = () => {
4785
- Object.keys(y).forEach((R) => y[R].fn()), y = {};
4799
+ const A = () => {
4800
+ Object.keys(y).forEach((S) => y[S].fn()), y = {};
4786
4801
  };
4787
- return this.unwatch.push(V), V;
4802
+ return this.unwatch.push(A), A;
4788
4803
  },
4789
4804
  isSub() {
4790
4805
  return this.vm.parent && this.vm.extendOption;
@@ -4862,11 +4877,11 @@ function Wt(t) {
4862
4877
  copyRules: Tt,
4863
4878
  mergeRule: ee,
4864
4879
  fetch: Ut,
4865
- $form: S,
4880
+ $form: R,
4866
4881
  parseFn: z,
4867
- parseJson: St,
4882
+ parseJson: Rt,
4868
4883
  toJson: Oe,
4869
- useApp: A,
4884
+ useApp: V,
4870
4885
  getApi: M,
4871
4886
  on: tr
4872
4887
  });
@@ -4879,23 +4894,23 @@ function Wt(t) {
4879
4894
  const b = `_installedFormCreate${p ? "Mobile" : ""}_${t.ui}`;
4880
4895
  if (g[b] === !0) return;
4881
4896
  g[b] = !0;
4882
- const w = function(R, ae = {}) {
4883
- return K(R, ae, this);
4897
+ const w = function(S, ae = {}) {
4898
+ return K(S, ae, this);
4884
4899
  };
4885
4900
  ot(w), g.prototype.$formCreate = w;
4886
- const V = S();
4887
- g.component(V.name, V), g.component("FcFragment", U()), o.forEach((R) => {
4888
- F(() => R(c, g));
4901
+ const A = R();
4902
+ g.component(A.name, A), g.component("FcFragment", U()), o.forEach((S) => {
4903
+ F(() => S(c, g));
4889
4904
  });
4890
4905
  }
4891
4906
  });
4892
4907
  }
4893
- if (ot(O), rr(O), Ee("$cookie", Pi), Ee("$localStorage", Ti), Ee("$sessionStorage", Bi), $.use({ fragment: "fcFragment" }), t.install && K.use(t), me(Di), t.inherit) {
4908
+ if (ot(O), rr(O), Ee("$cookie", Ti), Ee("$localStorage", Bi), Ee("$sessionStorage", Li), $.use({ fragment: "fcFragment" }), t.install && K.use(t), me(Ai), t.inherit) {
4894
4909
  const c = t.inherit;
4895
4910
  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);
4896
4911
  }
4897
- const Re = S();
4898
- return je(Re, O), Object.defineProperties(Re, {
4912
+ const Se = R();
4913
+ return je(Se, O), Object.defineProperties(Se, {
4899
4914
  fetch: {
4900
4915
  get() {
4901
4916
  return O.fetch;
@@ -4904,7 +4919,7 @@ function Wt(t) {
4904
4919
  O.fetch = c;
4905
4920
  }
4906
4921
  }
4907
- }), Re.util = O, Re;
4922
+ }), Se.util = O, Se;
4908
4923
  }
4909
4924
  const Ct = {
4910
4925
  date: "yyyy-MM-dd",
@@ -4915,7 +4930,7 @@ const Ct = {
4915
4930
  monthrange: "yyyy-MM",
4916
4931
  datetimerange: "yyyy-MM-dd HH:mm:ss",
4917
4932
  year: "yyyy"
4918
- }, wt = "datePicker", Gi = {
4933
+ }, wt = "datePicker", Ji = {
4919
4934
  name: wt,
4920
4935
  maker: function() {
4921
4936
  return ["year", "month", "date", "dates", "week", "datetime", "datetimeRange", "dateRange", "monthRange"].reduce((t, e) => (t[e] = T(wt, { type: e.toLowerCase() }), t), {});
@@ -4924,7 +4939,7 @@ const Ct = {
4924
4939
  const e = t.prop.props;
4925
4940
  e.valueFormat || (e.valueFormat = Ct[e.type] || Ct.date);
4926
4941
  }
4927
- }, qe = "hidden", Ji = {
4942
+ }, qe = "hidden", Ki = {
4928
4943
  name: qe,
4929
4944
  maker: {
4930
4945
  [qe]: (t, e) => T(qe)("", t, e)
@@ -4932,7 +4947,7 @@ const Ct = {
4932
4947
  render() {
4933
4948
  return [];
4934
4949
  }
4935
- }, Ue = "input", Ki = {
4950
+ }, Ue = "input", Wi = {
4936
4951
  name: Ue,
4937
4952
  maker: function() {
4938
4953
  const t = ["password", "url", "email", "text", "textarea"].reduce((e, r) => (e[r] = T(Ue, { type: r }), e), {});
@@ -4942,13 +4957,13 @@ const Ct = {
4942
4957
  let { props: e } = t.prop;
4943
4958
  e && e.autosize && e.autosize.minRows && (e.rows = e.autosize.minRows || 2);
4944
4959
  }
4945
- }, Wi = "textarea", xi = {
4946
- name: Wi,
4960
+ }, xi = "textarea", zi = {
4961
+ name: xi,
4947
4962
  mergeProp(t) {
4948
4963
  let { props: e } = t.prop;
4949
4964
  e.type = "textarea", e && e.autosize && e.autosize.minRows && (e.rows = e.autosize.minRows || 2);
4950
4965
  }
4951
- }, Ot = "slider", zi = {
4966
+ }, Ot = "slider", Xi = {
4952
4967
  name: Ot,
4953
4968
  maker: {
4954
4969
  sliderRange: T(Ot, { range: !0 })
@@ -4957,7 +4972,7 @@ const Ct = {
4957
4972
  let r = Array.isArray(t), i = e.prop.props, s = i.min || 0, n;
4958
4973
  return i.range === !0 ? n = r ? t : [s, parseFloat(t) || s] : n = r ? parseFloat(t[0]) || s : parseFloat(t), n;
4959
4974
  }
4960
- }, He = "timePicker", Xi = {
4975
+ }, He = "timePicker", Zi = {
4961
4976
  name: He,
4962
4977
  maker: {
4963
4978
  time: T(He, (t) => t.props.isRange = !1),
@@ -4967,28 +4982,28 @@ const Ct = {
4967
4982
  const e = t.prop.props;
4968
4983
  e.valueFormat || (e.valueFormat = "HH:mm:ss");
4969
4984
  }
4970
- }, Zi = {
4985
+ }, Qi = {
4971
4986
  name: "FcRow",
4972
4987
  render(t, e) {
4973
4988
  return e.vNode.col({ props: { span: 24 } }, [
4974
4989
  e.vNode.row(e.prop, t)
4975
4990
  ]);
4976
4991
  }
4977
- }, Qi = "select", Yi = {
4978
- name: Qi,
4992
+ }, Yi = "select", en = {
4993
+ name: Yi,
4979
4994
  toFormValue(t, e) {
4980
4995
  return e.prop.props.multiple && !Array.isArray(t) ? J(t) : t;
4981
4996
  }
4982
- }, en = [
4983
- Gi,
4997
+ }, tn = [
4984
4998
  Ji,
4985
4999
  Ki,
4986
- xi,
5000
+ Wi,
4987
5001
  zi,
4988
5002
  Xi,
4989
5003
  Zi,
4990
- Yi
4991
- ], D = "el", tn = {
5004
+ Qi,
5005
+ en
5006
+ ], D = "el", rn = {
4992
5007
  button: D + "Button",
4993
5008
  icon: "i",
4994
5009
  slider: D + "Slider",
@@ -5022,7 +5037,7 @@ const Ct = {
5022
5037
  object: "fcSubForm",
5023
5038
  subForm: "fcSubForm"
5024
5039
  };
5025
- function rn() {
5040
+ function nn() {
5026
5041
  return {
5027
5042
  form: {
5028
5043
  inline: !1,
@@ -5056,7 +5071,7 @@ function rn() {
5056
5071
  }
5057
5072
  };
5058
5073
  }
5059
- function nn(t) {
5074
+ function sn(t) {
5060
5075
  return t.type === "tooltip";
5061
5076
  }
5062
5077
  function Ft(t, e) {
@@ -5065,14 +5080,14 @@ function Ft(t, e) {
5065
5080
  function Z(t) {
5066
5081
  return t === !1;
5067
5082
  }
5068
- function sn(t, e) {
5083
+ function on(t, e) {
5069
5084
  j(t, e) && !h.Object(t[e]) && (t[e] = { show: !!t[e] });
5070
5085
  }
5071
5086
  function Ge(t) {
5072
5087
  const e = v({}, t);
5073
5088
  return delete e.children, e;
5074
5089
  }
5075
- const on = {
5090
+ const an = {
5076
5091
  validate() {
5077
5092
  const t = this.form();
5078
5093
  return t ? t.validate() : new Promise((e) => e());
@@ -5095,7 +5110,7 @@ const on = {
5095
5110
  },
5096
5111
  tidyOptions(t) {
5097
5112
  return ["submitBtn", "resetBtn", "row", "info", "wrap", "col", "title"].forEach((e) => {
5098
- sn(t, e);
5113
+ on(t, e);
5099
5114
  }), t;
5100
5115
  },
5101
5116
  tidyRule({ prop: t }) {
@@ -5117,7 +5132,7 @@ const on = {
5117
5132
  });
5118
5133
  },
5119
5134
  getDefaultOptions() {
5120
- return rn();
5135
+ return nn();
5121
5136
  },
5122
5137
  update() {
5123
5138
  const t = this.options.form;
@@ -5166,7 +5181,7 @@ const on = {
5166
5181
  },
5167
5182
  makeInfo(t, e, r) {
5168
5183
  var f, d, p, m, $, _;
5169
- const i = v({}, t.title), s = v({}, t.info), n = nn(s), o = this.options.form, a = this.getSlot("title"), l = [a ? a({
5184
+ const i = v({}, t.title), s = v({}, t.info), n = sn(s), o = this.options.form, a = this.getSlot("title"), l = [a ? a({
5170
5185
  title: (d = (f = r.refRule) == null ? void 0 : f.__$title) == null ? void 0 : d.value,
5171
5186
  rule: r.rule,
5172
5187
  options: this.options
@@ -5271,25 +5286,25 @@ const on = {
5271
5286
  }, [e]);
5272
5287
  }
5273
5288
  }, de = {};
5274
- an(de);
5275
5289
  ln(de);
5276
5290
  un(de);
5277
5291
  fn(de);
5278
5292
  cn(de);
5279
- function an(t) {
5293
+ hn(de);
5294
+ function ln(t) {
5280
5295
  ["group", "tree", "switch", "upload", "autoComplete", "checkbox", "cascader", "colorPicker", "datePicker", "frame", "inputNumber", "radio", "rate"].forEach((e) => {
5281
5296
  t[e] = T(e);
5282
5297
  }), t.auto = t.autoComplete, t.number = t.inputNumber, t.color = t.colorPicker;
5283
5298
  }
5284
- function ln(t) {
5299
+ function un(t) {
5285
5300
  const e = "select", r = "multiple";
5286
5301
  t.selectMultiple = T(e, { [r]: !0 }), t.selectOne = T(e, { [r]: !1 });
5287
5302
  }
5288
- function un(t) {
5303
+ function fn(t) {
5289
5304
  const e = "tree", r = { treeSelected: "selected", treeChecked: "checked" };
5290
5305
  Object.keys(r).reduce((i, s) => (i[s] = T(e, { type: r[s] }), i), t);
5291
5306
  }
5292
- function fn(t) {
5307
+ function cn(t) {
5293
5308
  const e = "upload", r = {
5294
5309
  image: ["image", 0],
5295
5310
  file: ["file", 0],
@@ -5298,7 +5313,7 @@ function fn(t) {
5298
5313
  };
5299
5314
  Object.keys(r).reduce((i, s) => (i[s] = T(e, (n) => n.props({ uploadType: r[s][0], maxLength: r[s][1] })), i), t), t.uploadImage = t.image, t.uploadFile = t.file;
5300
5315
  }
5301
- function cn(t) {
5316
+ function hn(t) {
5302
5317
  const e = {
5303
5318
  frameInputs: ["input", 0],
5304
5319
  frameFiles: ["file", 0],
@@ -5312,7 +5327,7 @@ function cn(t) {
5312
5327
  function kt(t, e) {
5313
5328
  return h.Boolean(t) ? t = { show: t } : !h.Undef(t) && !h.Object(t) && (t = { show: e }), t;
5314
5329
  }
5315
- function hn(t, e) {
5330
+ function dn(t, e) {
5316
5331
  return {
5317
5332
  formEl() {
5318
5333
  return e.$manager.form();
@@ -5427,7 +5442,7 @@ function hn(t, e) {
5427
5442
  const xt = {
5428
5443
  name: "required",
5429
5444
  load(t, e, r) {
5430
- const i = dn(t.getValue());
5445
+ const i = pn(t.getValue());
5431
5446
  let s;
5432
5447
  if (i.required === !1)
5433
5448
  t.clearProp(), r.clearValidateState([e.field]);
@@ -5456,25 +5471,25 @@ const xt = {
5456
5471
  xt.load(...t);
5457
5472
  }
5458
5473
  };
5459
- function dn(t) {
5474
+ function pn(t) {
5460
5475
  return h.Boolean(t) ? { required: t } : h.String(t) ? { message: t } : h.Undef(t) ? { required: !1 } : h.Function(t) ? { validator: t } : h.Object(t) ? t : {};
5461
5476
  }
5462
- function pn(t) {
5463
- t.componentAlias(tn), Kr.forEach((e) => {
5477
+ function mn(t) {
5478
+ t.componentAlias(rn), Kr.forEach((e) => {
5464
5479
  t.component(e.name, e);
5465
- }), t.register(xt), en.forEach((e) => {
5480
+ }), t.register(xt), tn.forEach((e) => {
5466
5481
  t.parser(e);
5467
5482
  }), Object.keys(de).forEach((e) => {
5468
5483
  t.maker[e] = de[e];
5469
5484
  });
5470
5485
  }
5471
- function mn() {
5486
+ function gn() {
5472
5487
  return Wt({
5473
5488
  ui: "element-ui",
5474
- version: "2.7.29",
5475
- manager: on,
5476
- extendApi: hn,
5477
- install: pn,
5489
+ version: "2.7.31",
5490
+ manager: an,
5491
+ extendApi: dn,
5492
+ install: mn,
5478
5493
  attrs: {
5479
5494
  normal: ["col", "wrap"],
5480
5495
  array: ["className"],
@@ -5482,10 +5497,10 @@ function mn() {
5482
5497
  }
5483
5498
  });
5484
5499
  }
5485
- const Ze = mn();
5500
+ const Ze = gn();
5486
5501
  typeof window != "undefined" && (window.formCreate = Ze, window.Vue && Ze.install(window.Vue));
5487
- const $n = Ze.maker;
5502
+ const bn = Ze.maker;
5488
5503
  export {
5489
5504
  Ze as default,
5490
- $n as maker
5505
+ bn as maker
5491
5506
  };