@form-create/element-ui 3.3.0 → 3.3.1

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,6 +1,6 @@
1
1
  /*!
2
2
  * FormCreate 低代码表单渲染器
3
- * @form-create/element-ui v3.3.0
3
+ * @form-create/element-ui v3.3.1
4
4
  * (c) 2018-2026 xaboy
5
5
  * Github https://github.com/xaboy/form-create
6
6
  * Site https://form-create.com/
@@ -18,12 +18,12 @@ var mt = (t, e, r) => e in t ? yr(t, e, { enumerable: !0, configurable: !0, writ
18
18
  for (var r of pt(e))
19
19
  _r.call(e, r) && mt(t, r, e[r]);
20
20
  return t;
21
- }, H = (t, e) => br(t, $r(e));
22
- import { defineComponent as re, resolveComponent as F, createVNode as v, mergeProps as Y, toRef as T, ref as it, watch as L, computed as se, openBlock as z, createElementBlock as Z, createElementVNode as he, nextTick as I, createBlock as Be, withCtx as gt, Fragment as xe, renderList as yt, renderSlot as wr, markRaw as ce, reactive as Q, isVNode as Cr, getCurrentInstance as Qe, provide as Vr, inject as Sr, toRefs as bt, onBeforeMount as Or, watchEffect as Fr, onMounted as Er, onBeforeUnmount as Rr, onUpdated as kr, withDirectives as Dr, resolveDirective as Ar, createApp as jr, h as Ir } from "vue";
21
+ }, G = (t, e) => br(t, $r(e));
22
+ import { defineComponent as re, resolveComponent as F, createVNode as v, mergeProps as Y, toRef as T, ref as it, watch as L, computed as se, openBlock as H, createElementBlock as Z, createElementVNode as he, nextTick as I, createBlock as Be, withCtx as gt, Fragment as xe, renderList as yt, renderSlot as wr, markRaw as ce, reactive as Q, isVNode as Cr, getCurrentInstance as Qe, provide as Vr, inject as Sr, toRefs as bt, onBeforeMount as Or, watchEffect as Fr, onMounted as Er, onBeforeUnmount as Rr, onUpdated as kr, withDirectives as Dr, resolveDirective as Ar, createApp as jr, h as Ir } from "vue";
23
23
  function st(t, e) {
24
24
  return Object.keys(t).reduce((r, n) => ((!e || e.indexOf(n) === -1) && (r[n] = t[n]), r), {});
25
25
  }
26
- function x(t) {
26
+ function z(t) {
27
27
  return Array.isArray(t) ? t : [null, void 0, ""].indexOf(t) > -1 ? [] : [t];
28
28
  }
29
29
  const Pr = "fcCheckbox", Br = /* @__PURE__ */ re({
@@ -43,7 +43,7 @@ const Pr = "fcCheckbox", Br = /* @__PURE__ */ re({
43
43
  emits: ["update:modelValue", "fc.el"],
44
44
  setup(t, e) {
45
45
  const r = T(t.formCreateInject, "options", []), n = T(t, "options"), s = T(t, "modelValue"), i = T(t, "inputValue", ""), o = it(i.value), a = T(t, "input", !1), l = (d) => {
46
- const h = [...x(s.value)], p = h.indexOf(o.value);
46
+ const h = [...z(s.value)], p = h.indexOf(o.value);
47
47
  o.value = d, p > -1 && (h.splice(p, 1), h.push(d), f(h));
48
48
  };
49
49
  L(i, (d) => {
@@ -155,7 +155,7 @@ const ge = (t, e) => {
155
155
  xmlns: "http://www.w3.org/2000/svg"
156
156
  };
157
157
  function Mr(t, e, r, n, s, i) {
158
- return z(), Z("svg", Lr, [...e[0] || (e[0] = [
158
+ return H(), Z("svg", Lr, [...e[0] || (e[0] = [
159
159
  he("path", {
160
160
  fill: "currentColor",
161
161
  d: "M466.752 512l-90.496-90.496a32 32 0 0145.248-45.248L512 466.752l90.496-90.496a32 32 0 1145.248 45.248L557.248 512l90.496 90.496a32 32 0 11-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 01-45.248-45.248L466.752 512z"
@@ -174,7 +174,7 @@ const Nr = /* @__PURE__ */ ge(Tr, [["render", Mr]]), Ur = {
174
174
  xmlns: "http://www.w3.org/2000/svg"
175
175
  };
176
176
  function Hr(t, e, r, n, s, i) {
177
- return z(), Z("svg", qr, [...e[0] || (e[0] = [
177
+ return H(), Z("svg", qr, [...e[0] || (e[0] = [
178
178
  he("path", {
179
179
  fill: "currentColor",
180
180
  d: "M832 384H576V128H192v768h640V384zm-26.496-64L640 154.496V320h165.504zM160 64h480l256 256v608a32 32 0 01-32 32H160a32 32 0 01-32-32V96a32 32 0 0132-32zm160 448h384v64H320v-64zm0-192h160v64H320v-64zm0 384h384v64H320v-64z"
@@ -189,7 +189,7 @@ const zr = /* @__PURE__ */ ge(Ur, [["render", Hr]]), xr = {
189
189
  xmlns: "http://www.w3.org/2000/svg"
190
190
  };
191
191
  function Yr(t, e, r, n, s, i) {
192
- return z(), Z("svg", Gr, [...e[0] || (e[0] = [
192
+ return H(), Z("svg", Gr, [...e[0] || (e[0] = [
193
193
  he("path", {
194
194
  fill: "currentColor",
195
195
  d: "M160 256H96a32 32 0 010-64h256V95.936a32 32 0 0132-32h256a32 32 0 0132 32V192h256a32 32 0 110 64h-64v672a32 32 0 01-32 32H192a32 32 0 01-32-32V256zm448-64v-64H416v64h192zM224 896h576V256H224v640zm192-128a32 32 0 01-32-32V416a32 32 0 0164 0v320a32 32 0 01-32 32zm192 0a32 32 0 01-32-32V416a32 32 0 0164 0v320a32 32 0 01-32 32z"
@@ -204,7 +204,7 @@ const Wr = /* @__PURE__ */ ge(xr, [["render", Yr]]), Jr = {
204
204
  xmlns: "http://www.w3.org/2000/svg"
205
205
  };
206
206
  function Xr(t, e, r, n, s, i) {
207
- return z(), Z("svg", Kr, [...e[0] || (e[0] = [
207
+ return H(), Z("svg", Kr, [...e[0] || (e[0] = [
208
208
  he("path", {
209
209
  fill: "currentColor",
210
210
  d: "M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352zm0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 110 448 224 224 0 010-448zm0 64a160.192 160.192 0 00-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160z"
@@ -219,7 +219,7 @@ const Zr = /* @__PURE__ */ ge(Jr, [["render", Xr]]), Qr = {
219
219
  xmlns: "http://www.w3.org/2000/svg"
220
220
  };
221
221
  function tn(t, e, r, n, s, i) {
222
- return z(), Z("svg", en, [...e[0] || (e[0] = [
222
+ return H(), Z("svg", en, [...e[0] || (e[0] = [
223
223
  he("path", {
224
224
  fill: "currentColor",
225
225
  d: "M878.08 448H241.92l-96 384h636.16l96-384zM832 384v-64H485.76L357.504 192H128v448l57.92-231.744A32 32 0 01216.96 384H832zm-24.96 512H96a32 32 0 01-32-32V160a32 32 0 0132-32h287.872l128.384 128H864a32 32 0 0132 32v96h23.04a32 32 0 0131.04 39.744l-112 448A32 32 0 01807.04 896z"
@@ -343,7 +343,7 @@ const rn = /* @__PURE__ */ ge(Qr, [["render", tn]]), nn = "fcFrame", sn = /* @__
343
343
  },
344
344
  data() {
345
345
  return {
346
- fileList: x(this.modelValue),
346
+ fileList: z(this.modelValue),
347
347
  previewVisible: !1,
348
348
  frameVisible: !1,
349
349
  previewImage: "",
@@ -352,7 +352,7 @@ const rn = /* @__PURE__ */ ge(Qr, [["render", tn]]), nn = "fcFrame", sn = /* @__
352
352
  },
353
353
  watch: {
354
354
  modelValue(t) {
355
- this.fileList = x(t);
355
+ this.fileList = z(t);
356
356
  }
357
357
  },
358
358
  methods: {
@@ -726,24 +726,24 @@ const ln = "fcSelect", un = re({
726
726
  });
727
727
  function fn(t, e, r, n, s, i) {
728
728
  const o = F("el-option"), a = F("el-option-group"), l = F("el-select");
729
- return z(), Be(l, Y(t.$attrs, {
729
+ return H(), Be(l, Y(t.$attrs, {
730
730
  "model-value": t.value,
731
731
  "onUpdate:modelValue": t.handleUpdate,
732
732
  ref: "el"
733
733
  }), {
734
734
  default: gt(() => [
735
- (z(!0), Z(xe, null, yt(t.options, (u, f) => (z(), Z(xe, null, [
736
- t.hasProperty(u, "options") ? (z(), Be(a, {
735
+ (H(!0), Z(xe, null, yt(t.options, (u, f) => (H(), Z(xe, null, [
736
+ t.hasProperty(u, "options") ? (H(), Be(a, {
737
737
  label: u.label,
738
738
  key: `${f}-${u.label}`
739
739
  }, {
740
740
  default: gt(() => [
741
- (z(!0), Z(xe, null, yt(t.is.trueArray(u.options) ? u.options : [], (d, h) => (z(), Be(o, Y({
741
+ (H(!0), Z(xe, null, yt(t.is.trueArray(u.options) ? u.options : [], (d, h) => (H(), Be(o, Y({
742
742
  key: `${h}-${d.value}`
743
743
  }, { ref_for: !0 }, d), null, 16))), 128))
744
744
  ]),
745
745
  _: 2
746
- }, 1032, ["label"])) : (z(), Be(o, Y({
746
+ }, 1032, ["label"])) : (H(), Be(o, Y({
747
747
  key: `${f}-${u.value}`
748
748
  }, { ref_for: !0 }, u), null, 16))
749
749
  ], 64))), 256)),
@@ -784,7 +784,7 @@ const cn = /* @__PURE__ */ ge(un, [["render", fn]]), dn = "fcTree", hn = /* @__P
784
784
  },
785
785
  setValue() {
786
786
  if (!this.$refs.tree) return;
787
- this.type === "selected" ? this.$refs.tree.setCurrentKey(this.modelValue) : this.$refs.tree.setCheckedKeys(x(this.modelValue));
787
+ this.type === "selected" ? this.$refs.tree.setCurrentKey(this.modelValue) : this.$refs.tree.setCheckedKeys(z(this.modelValue));
788
788
  }
789
789
  },
790
790
  render() {
@@ -805,7 +805,7 @@ const cn = /* @__PURE__ */ ge(un, [["render", fn]]), dn = "fcTree", hn = /* @__P
805
805
  xmlns: "http://www.w3.org/2000/svg"
806
806
  };
807
807
  function gn(t, e, r, n, s, i) {
808
- return z(), Z("svg", mn, [...e[0] || (e[0] = [
808
+ return H(), Z("svg", mn, [...e[0] || (e[0] = [
809
809
  he("path", {
810
810
  fill: "currentColor",
811
811
  d: "M160 832h704a32 32 0 110 64H160a32 32 0 110-64zm384-578.304V704h-64V247.296L237.248 490.048 192 444.8 508.8 128l316.8 316.8-45.312 45.248L544 253.696z"
@@ -822,7 +822,7 @@ function $t(t, e) {
822
822
  };
823
823
  }
824
824
  function vt(t) {
825
- return H(_({}, t), {
825
+ return G(_({}, t), {
826
826
  file: t,
827
827
  value: t
828
828
  });
@@ -835,7 +835,7 @@ const $n = "fcUpload", vn = /* @__PURE__ */ re({
835
835
  inheritAttrs: !1,
836
836
  formCreateParser: {
837
837
  toFormValue(t) {
838
- return x(t);
838
+ return z(t);
839
839
  },
840
840
  toValue(t, e) {
841
841
  return e.prop.props.limit === 1 ? t[0] || "" : t;
@@ -860,11 +860,11 @@ const $n = "fcUpload", vn = /* @__PURE__ */ re({
860
860
  };
861
861
  },
862
862
  created() {
863
- this.fileList = x(this.modelValue).map($t).map(vt);
863
+ this.fileList = z(this.modelValue).map($t).map(vt);
864
864
  },
865
865
  watch: {
866
866
  modelValue(t) {
867
- this.fileList = x(t).map($t).map(vt);
867
+ this.fileList = z(t).map($t).map(vt);
868
868
  }
869
869
  },
870
870
  methods: {
@@ -891,7 +891,7 @@ const $n = "fcUpload", vn = /* @__PURE__ */ re({
891
891
  }
892
892
  },
893
893
  render() {
894
- const t = x(this.modelValue).length;
894
+ const t = z(this.modelValue).length;
895
895
  return v("div", {
896
896
  class: "_fc-upload"
897
897
  }, [v(F("ElUpload"), Y({
@@ -1372,7 +1372,7 @@ const Sn = "fcGroup", On = /* @__PURE__ */ re({
1372
1372
  class: "_fc-group-content"
1373
1373
  }, [v(r, Y({
1374
1374
  key: o
1375
- }, H(_({}, this.$attrs), {
1375
+ }, G(_({}, this.$attrs), {
1376
1376
  disabled: n,
1377
1377
  "onUpdate:modelValue": (h) => this.formData(o, h),
1378
1378
  "onUpdate:api": (h) => this.add$f(a, o, h),
@@ -1388,7 +1388,7 @@ const Sn = "fcGroup", On = /* @__PURE__ */ re({
1388
1388
  key: o
1389
1389
  }, [v(r, Y({
1390
1390
  key: o
1391
- }, H(_({}, this.$attrs), {
1391
+ }, G(_({}, this.$attrs), {
1392
1392
  disabled: n,
1393
1393
  "onUpdate:modelValue": (h) => this.formData(o, h),
1394
1394
  "onUpdate:api": (h) => this.add$f(a, o, h),
@@ -1482,7 +1482,7 @@ const Sn = "fcGroup", On = /* @__PURE__ */ re({
1482
1482
  xmlns: "http://www.w3.org/2000/svg"
1483
1483
  };
1484
1484
  function Dn(t, e, r, n, s, i) {
1485
- return z(), Z("svg", kn, [...e[0] || (e[0] = [
1485
+ return H(), Z("svg", kn, [...e[0] || (e[0] = [
1486
1486
  he("path", {
1487
1487
  fill: "currentColor",
1488
1488
  d: "M512 64a448 448 0 110 896 448 448 0 010-896zm0 832a384 384 0 000-768 384 384 0 000 768zm48-176a48 48 0 11-96 0 48 48 0 0196 0zm-48-464a32 32 0 0132 32v288a32 32 0 01-64 0V288a32 32 0 0132-32z"
@@ -1533,7 +1533,7 @@ const An = /* @__PURE__ */ ge(Rn, [["render", Dn]]), jn = [
1533
1533
  function Gt() {
1534
1534
  return [...xt, ...qt, ...Ht, ...zt, ...at, ...lt];
1535
1535
  }
1536
- function G(t) {
1536
+ function x(t) {
1537
1537
  const e = t.replace(/(-[a-z])/g, function(r) {
1538
1538
  return r.replace("-", "").toLocaleUpperCase();
1539
1539
  });
@@ -1625,7 +1625,7 @@ function Te() {
1625
1625
  function wt(t) {
1626
1626
  const e = _({}, t.props || {});
1627
1627
  return Object.keys(t.on || {}).forEach((r) => {
1628
- r.indexOf("-") > 0 && (r = G(r));
1628
+ r.indexOf("-") > 0 && (r = x(r));
1629
1629
  const n = `on${Mt(r)}`;
1630
1630
  Array.isArray(e[n]) ? e[n] = [...e[n], t.on[r]] : e[n] ? e[n] = [e[n], t.on[r]] : e[n] = t.on[r];
1631
1631
  }), e.key = t.key, e.ref = t.ref, e.class = t.class, e.id = t.id, e.style = t.style, e.slot && delete e.slot, e;
@@ -1770,14 +1770,14 @@ function Tn(t, e, r) {
1770
1770
  const E = Me(s, i);
1771
1771
  if (E) {
1772
1772
  let A;
1773
- $ ? (A = x(E.getSubForm()), A.push(p)) : A = p, E.subForm(A);
1773
+ $ ? (A = z(E.getSubForm()), A.push(p)) : A = p, E.subForm(A);
1774
1774
  }
1775
1775
  }
1776
1776
  }, O = () => {
1777
1777
  const E = Me(s, i);
1778
1778
  if (E)
1779
1779
  if ($) {
1780
- const A = x(E.getSubForm()), q = A.indexOf(p);
1780
+ const A = z(E.getSubForm()), q = A.indexOf(p);
1781
1781
  q > -1 && A.splice(q, 1);
1782
1782
  } else
1783
1783
  E.subForm();
@@ -1824,7 +1824,7 @@ function Tn(t, e, r) {
1824
1824
  p.clearValidateState();
1825
1825
  });
1826
1826
  });
1827
- }, { flush: "sync" }), H(_({
1827
+ }, { flush: "sync" }), G(_({
1828
1828
  fc: ce(h),
1829
1829
  parent: i && ce(i),
1830
1830
  top: ce(o),
@@ -1949,7 +1949,7 @@ function er(t) {
1949
1949
  }
1950
1950
  function Ot(t, e, r) {
1951
1951
  return new Promise((n, s) => {
1952
- (e || er)(H(_({}, t), {
1952
+ (e || er)(G(_({}, t), {
1953
1953
  onSuccess(i) {
1954
1954
  let o = (l) => l;
1955
1955
  const a = te(t.parse);
@@ -2611,7 +2611,7 @@ function zn(t) {
2611
2611
  });
2612
2612
  const h = this.getTypeSlot(e);
2613
2613
  let p;
2614
- return h ? (u.children = f, p = h(u)) : p = a ? e.parser.preview(et(f), e) : e.parser.render(et(f), e), p = this.renderSides(p, e), ($ = i.title) != null && $.show && (i.wrap = H(_({}, i.wrap || {}), { show: !0 }), i.native || (i.native = !1)), (!(!e.input && m.Undef(i.native)) || ((C = i.col) == null ? void 0 : C.show) === !0) && i.native !== !0 && (this.fc.targetFormDriver("updateWrap", e), p = this.$manager.makeWrap(e, p)), e.none && (Array.isArray(p) ? p = p.map((O) => !O || !O.__v_isVNode ? O : this.none(O)) : p = this.none(p)), o && this.setCache(e, () => this.stable(p), r), p;
2614
+ return h ? (u.children = f, p = h(u)) : p = a ? e.parser.preview(et(f), e) : e.parser.render(et(f), e), p = this.renderSides(p, e), ($ = i.title) != null && $.show && (i.wrap = _({ show: !0 }, i.wrap || {}), i.native || (i.native = !1)), (!(!e.input && m.Undef(i.native)) || ((C = i.col) == null ? void 0 : C.show) === !0) && i.native !== !0 && (this.fc.targetFormDriver("updateWrap", e), p = this.$manager.makeWrap(e, p)), e.none && (Array.isArray(p) ? p = p.map((O) => !O || !O.__v_isVNode ? O : this.none(O)) : p = this.none(p)), o && this.setCache(e, () => this.stable(p), r), p;
2615
2615
  }, this.setCache(e, s, r);
2616
2616
  }
2617
2617
  return (...s) => {
@@ -2776,9 +2776,9 @@ function zn(t) {
2776
2776
  if (n)
2777
2777
  s = e.type;
2778
2778
  else if (s = e.is, e.type) {
2779
- s = G(e.type);
2779
+ s = x(e.type);
2780
2780
  const a = this.vNode.aliasMap[s];
2781
- a && (s = G(a));
2781
+ a && (s = x(a));
2782
2782
  }
2783
2783
  if (!s) return;
2784
2784
  const i = Te();
@@ -2845,10 +2845,10 @@ function Gn(t) {
2845
2845
  this.vm.emitsOptions && !this.vm.emitsOptions[h] && (this.vm.emitsOptions[h] = null), this.vm.emit(h, ...$), this.vm.emit("emit-event", h, ...$), this.bus.$emit(h, ...$);
2846
2846
  };
2847
2847
  if (p.__emit = !0, !f && a === !1)
2848
- r[G(u)] = p;
2848
+ r[x(u)] = p;
2849
2849
  else {
2850
2850
  let $ = f || a || this.options.injectEvent;
2851
- r[G(u)] = m.Undef($) ? p : this.inject(n, p, $);
2851
+ r[x(u)] = m.Undef($) ? p : this.inject(n, p, $);
2852
2852
  }
2853
2853
  }
2854
2854
  }), e.computed.on = r, r;
@@ -3075,7 +3075,7 @@ w(tr.prototype, {
3075
3075
  this.key = Ue(), t && this.parent && this.parent.updateKey(t);
3076
3076
  },
3077
3077
  updateType() {
3078
- this.originType = this.rule.type, this.type = G(this.rule.type), this.trueType = this.$handle.getType(this.originType);
3078
+ this.originType = this.rule.type, this.type = x(this.rule.type), this.trueType = this.$handle.getType(this.originType);
3079
3079
  },
3080
3080
  setParser(t) {
3081
3081
  this.parser = t, t.init(this);
@@ -3258,7 +3258,7 @@ function Xn(t) {
3258
3258
  return (Ce[l.condition || "=="] || Ce["=="])(d, l.value);
3259
3259
  };
3260
3260
  if (!m.trueArray(l.rule)) continue;
3261
- const f = H(_({}, l), {
3261
+ const f = G(_({}, l), {
3262
3262
  valid: S(() => u(e.rule.value, s)),
3263
3263
  ctrl: ei(e, l.rule),
3264
3264
  isHidden: m.String(l.rule[0])
@@ -3500,18 +3500,18 @@ function ni(t) {
3500
3500
  getParser(e) {
3501
3501
  const r = this.fc.parsers, n = this.fc.renderDriver;
3502
3502
  if (n) {
3503
- const s = n.parsers || {}, i = s[e.originType] || s[G(e.type)] || s[e.trueType];
3503
+ const s = n.parsers || {}, i = s[e.originType] || s[x(e.type)] || s[e.trueType];
3504
3504
  if (i)
3505
3505
  return i;
3506
3506
  }
3507
- return r[e.originType] || r[G(e.type)] || r[e.trueType] || Fe;
3507
+ return r[e.originType] || r[x(e.type)] || r[e.trueType] || Fe;
3508
3508
  },
3509
3509
  bindParser(e) {
3510
3510
  e.setParser(this.getParser(e));
3511
3511
  },
3512
3512
  getType(e) {
3513
- const r = this.fc.CreateNode.aliasMap, n = r[e] || r[G(e)] || e;
3514
- return G(n);
3513
+ const r = this.fc.CreateNode.aliasMap, n = r[e] || r[x(e)] || e;
3514
+ return x(n);
3515
3515
  },
3516
3516
  noWatch(e) {
3517
3517
  this.noWatchFn || (this.noWatchFn = e), S(e), this.noWatchFn === e && (this.noWatchFn = null);
@@ -3559,7 +3559,7 @@ function ni(t) {
3559
3559
  const i = s.match(/^\{\{\s*\$t\.(.+)\s*\}\}$/);
3560
3560
  return i ? this.api.t(i[1], { title: (a = (o = e.refRule) == null ? void 0 : o.__$title) == null ? void 0 : a.value }) : s;
3561
3561
  };
3562
- return x(e.rule.validate).map((s) => {
3562
+ return z(e.rule.validate).map((s) => {
3563
3563
  const i = _({}, s);
3564
3564
  if (i.message && (i.message = n(i.message)), m.Function(i.validator)) {
3565
3565
  const o = e;
@@ -3811,7 +3811,7 @@ function ii(t) {
3811
3811
  this.fc.targetFormDriver(e, this.api, this.fc), this.vm.emit(e, this.api), this.emitEvent(e, this.api);
3812
3812
  },
3813
3813
  emitEvent(e, ...r) {
3814
- const n = this.options[e] || this.options[G("on-" + e)];
3814
+ const n = this.options[e] || this.options[x("on-" + e)];
3815
3815
  if (n) {
3816
3816
  const s = te(n);
3817
3817
  m.Function(s) && S(() => s(...r));
@@ -3822,7 +3822,7 @@ function ii(t) {
3822
3822
  var l, u, f, d;
3823
3823
  let s = (u = (l = e.prop) == null ? void 0 : l.hook) == null ? void 0 : u[r], i = (h, p) => {
3824
3824
  h && (h = Array.isArray(h) ? h : [h], h.forEach(($) => {
3825
- S(() => $(H(_({ args: Object.values(n || {}) }, n || {}), { self: e.rule, rule: e.rule, parent: p == null ? void 0 : p.rule, $f: this.api, api: this.api, option: this.vm.props.option })));
3825
+ S(() => $(G(_({ args: Object.values(n || {}) }, n || {}), { self: e.rule, rule: e.rule, parent: p == null ? void 0 : p.rule, $f: this.api, api: this.api, option: this.vm.props.option })));
3826
3826
  }));
3827
3827
  };
3828
3828
  i(s);
@@ -4147,7 +4147,7 @@ const di = function(t) {
4147
4147
  _fn: [],
4148
4148
  loaded(r, n, s) {
4149
4149
  this.deleted(r), I(() => {
4150
- let i = x(r.getValue());
4150
+ let i = z(r.getValue());
4151
4151
  const o = [];
4152
4152
  i.forEach((a) => {
4153
4153
  if (a && (a.attr || a.template)) {
@@ -4209,7 +4209,7 @@ const di = function(t) {
4209
4209
  t.clearProp(), r.clearValidateState([e.field]);
4210
4210
  else {
4211
4211
  m.Object(n) || (n = { method: n });
4212
- const s = n.method, i = H(_({}, n), {
4212
+ const s = n.method, i = G(_({}, n), {
4213
4213
  validator(...o) {
4214
4214
  const a = X(e);
4215
4215
  if (a)
@@ -4260,7 +4260,7 @@ const di = function(t) {
4260
4260
  }
4261
4261
  return;
4262
4262
  }
4263
- const p = t.$handle.loadFetchVar(ee(a), d, i), $ = H(_({
4263
+ const p = t.$handle.loadFetchVar(ee(a), d, i), $ = G(_({
4264
4264
  headers: {}
4265
4265
  }, p), {
4266
4266
  onSuccess(C, O) {
@@ -4464,7 +4464,7 @@ function ir(t) {
4464
4464
  }
4465
4465
  function qe() {
4466
4466
  const c = We(...arguments);
4467
- c.id && c.prop && (u[c.id] = m.Function(c.prop) ? c.prop : H(_({}, c.prop), {
4467
+ c.id && c.prop && (u[c.id] = m.Function(c.prop) ? c.prop : G(_({}, c.prop), {
4468
4468
  name: c.id
4469
4469
  }));
4470
4470
  }
@@ -4475,10 +4475,10 @@ function ir(t) {
4475
4475
  if (arguments.length === 0)
4476
4476
  return Fe;
4477
4477
  if (typeof c == "string" && arguments.length === 1)
4478
- return r[G(c)];
4478
+ return r[x(c)];
4479
4479
  const g = We(...arguments);
4480
4480
  if (!g.id || !g.prop) return Fe;
4481
- const y = G(g.id), b = g.prop, V = b.merge === !0 ? r[y] : void 0;
4481
+ const y = x(g.id), b = g.prop, V = b.merge === !0 ? r[y] : void 0;
4482
4482
  r[y] = Le(b, V || Fe), f[y] = B(y), b.maker && w(f, b.maker);
4483
4483
  }
4484
4484
  function A(c, g) {
@@ -4489,7 +4489,7 @@ function ir(t) {
4489
4489
  } else
4490
4490
  y = c.displayName || c.name, g = c;
4491
4491
  if (!y || !g) return;
4492
- const b = G(y);
4492
+ const b = x(y);
4493
4493
  e[y] = g, e[b] = g, delete $.aliasMap[y], delete $.aliasMap[b], delete r[y], delete r[b], g.formCreateParser && E(y, g.formCreateParser);
4494
4494
  }
4495
4495
  function q() {
@@ -4548,7 +4548,7 @@ function ir(t) {
4548
4548
  const y = i[c] || {}, b = y.parsers || {};
4549
4549
  g.parsers && Object.keys(g.parsers).forEach((V) => {
4550
4550
  b[V] = Le(g.parsers[V], Fe);
4551
- }), g.name = c, i[c] = H(_(_({}, y), g), { parsers: b });
4551
+ }), g.name = c, i[c] = G(_(_({}, y), g), { parsers: b });
4552
4552
  }
4553
4553
  function je(c) {
4554
4554
  c && Object.keys(W).forEach((g) => {
@@ -4872,7 +4872,8 @@ function ir(t) {
4872
4872
  }
4873
4873
  if (ht(O), mr(O), Ie("$cookie", _i), Ie("$localStorage", wi), Ie("$sessionStorage", Ci), $.use({ fragment: "fcFragment" }), t.install && le.use(t), U((c, g) => {
4874
4874
  g.mixin({
4875
- props: ["formCreateInject"]
4875
+ props: ["formCreateInject"],
4876
+ emits: ["fc.updateValue", "fc.el"]
4876
4877
  });
4877
4878
  }), E(yi), t.inherit) {
4878
4879
  const c = t.inherit;
@@ -4964,7 +4965,7 @@ const At = {
4964
4965
  }, Bi = "select", Ti = {
4965
4966
  name: Bi,
4966
4967
  toFormValue(t, e) {
4967
- return e.prop.props.multiple && !Array.isArray(t) ? x(t) : t;
4968
+ return e.prop.props.multiple && !Array.isArray(t) ? z(t) : t;
4968
4969
  }
4969
4970
  }, Li = [
4970
4971
  Ei,
@@ -5137,7 +5138,7 @@ const Hi = {
5137
5138
  const r = t.prop, n = `${this.key}${t.key}`, s = r.col, i = this.isTitle(r) && r.wrap.title !== !1, o = !s.labelWidth && !i ? 0 : s.labelWidth, { inline: a, col: l } = this.rule.props, u = r.wrap.class;
5138
5139
  delete r.wrap.class, delete r.wrap.title;
5139
5140
  const f = (m.Undef(r.wrap.show) ? !t.input : ie(r.wrap.show)) ? e : this.$r(oe([r.wrap, {
5140
- props: H(_({
5141
+ props: G(_({
5141
5142
  labelWidth: o === void 0 ? o : Lt(o),
5142
5143
  label: i ? r.title.title : void 0
5143
5144
  }, Ze(r.wrap || {})), {
@@ -5339,7 +5340,7 @@ function Ki(t, e) {
5339
5340
  return;
5340
5341
  }
5341
5342
  const l = e.subForm[a.id], u = [e.$manager.validateField(a.id)];
5342
- x(l).filter((f) => !f.isScope).forEach((f) => {
5343
+ z(l).filter((f) => !f.isScope).forEach((f) => {
5343
5344
  u.push(f.validate());
5344
5345
  }), Promise.all(u).then(() => {
5345
5346
  s(null), n && n(null);
@@ -5470,7 +5471,7 @@ function Zi(t) {
5470
5471
  function Qi() {
5471
5472
  return ir({
5472
5473
  ui: "element-ui",
5473
- version: "3.3.0",
5474
+ version: "3.3.1",
5474
5475
  manager: Hi,
5475
5476
  extendApi: Ki,
5476
5477
  install: Zi,