@form-create/element-ui 3.3.0-alpha.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,15 +18,15 @@ 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 te, resolveComponent as O, createVNode as v, mergeProps as Y, toRef as T, ref as it, watch as L, computed as se, openBlock as z, createElementBlock as X, 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 Z, isVNode as Cr, getCurrentInstance as Qe, provide as Vr, inject as Sr, toRefs as bt, onBeforeMount as Fr, watchEffect as Or, 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
- const Pr = "fcCheckbox", Br = /* @__PURE__ */ te({
29
+ const Pr = "fcCheckbox", Br = /* @__PURE__ */ re({
30
30
  name: Pr,
31
31
  inheritAttrs: !1,
32
32
  props: {
@@ -43,7 +43,7 @@ const Pr = "fcCheckbox", Br = /* @__PURE__ */ te({
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) => {
@@ -83,7 +83,7 @@ const Pr = "fcCheckbox", Br = /* @__PURE__ */ te({
83
83
  value: o.value || void 0,
84
84
  label: o.value || void 0
85
85
  }, {
86
- default: () => [v(O("ElInput"), {
86
+ default: () => [v(F("ElInput"), {
87
87
  size: "small",
88
88
  modelValue: o.value,
89
89
  "onUpdate:modelValue": l
@@ -93,8 +93,8 @@ const Pr = "fcCheckbox", Br = /* @__PURE__ */ te({
93
93
  };
94
94
  },
95
95
  render() {
96
- const t = this.type === "button" ? "ElCheckboxButton" : "ElCheckbox", e = O(t);
97
- return v(O("ElCheckboxGroup"), Y(this.$attrs, {
96
+ const t = this.type === "button" ? "ElCheckboxButton" : "ElCheckbox", e = F(t);
97
+ return v(F("ElCheckboxGroup"), Y(this.$attrs, {
98
98
  modelValue: this.value === null ? void 0 : this.value,
99
99
  "onUpdate:modelValue": this.onInput,
100
100
  ref: "el"
@@ -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(), X("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(), X("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(), X("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(), X("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,14 +219,14 @@ 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(), X("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"
226
226
  }, null, -1)
227
227
  ])]);
228
228
  }
229
- const rn = /* @__PURE__ */ ge(Qr, [["render", tn]]), nn = "fcFrame", sn = /* @__PURE__ */ te({
229
+ const rn = /* @__PURE__ */ ge(Qr, [["render", tn]]), nn = "fcFrame", sn = /* @__PURE__ */ re({
230
230
  name: nn,
231
231
  props: {
232
232
  type: {
@@ -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: {
@@ -373,18 +373,18 @@ const rn = /* @__PURE__ */ ge(Qr, [["render", tn]]), nn = "fcFrame", sn = /* @__
373
373
  this.$emit("update:modelValue", e), this.$emit("change", e);
374
374
  },
375
375
  makeInput() {
376
- return v(O("ElInput"), Y({
376
+ return v(F("ElInput"), Y({
377
377
  type: "text",
378
378
  modelValue: this.fileList.map((t) => this.getSrc(t)).toString(),
379
379
  readonly: !0
380
380
  }, {
381
381
  key: 1
382
382
  }), {
383
- append: () => v(O("ElButton"), {
384
- icon: O(this.icon),
383
+ append: () => v(F("ElButton"), {
384
+ icon: F(this.icon),
385
385
  onClick: () => this.showModel()
386
386
  }, null),
387
- suffix: () => this.fileList.length && !this.disabled ? v(O("ElIcon"), {
387
+ suffix: () => this.fileList.length && !this.disabled ? v(F("ElIcon"), {
388
388
  class: "el-input__icon _fc-upload-icon",
389
389
  onClick: () => {
390
390
  this.fileList = [], this.input();
@@ -420,8 +420,8 @@ const rn = /* @__PURE__ */ ge(Qr, [["render", tn]]), nn = "fcFrame", sn = /* @__
420
420
  }
421
421
  },
422
422
  makeHandleIcon(t, e) {
423
- const r = O(this.handleIcon === !0 || this.handleIcon === void 0 ? "icon-view" : this.handleIcon);
424
- return v(O("ElIcon"), {
423
+ const r = F(this.handleIcon === !0 || this.handleIcon === void 0 ? "icon-view" : this.handleIcon);
424
+ return v(F("ElIcon"), {
425
425
  onClick: () => this.handleClick(t),
426
426
  key: "5" + e
427
427
  }, {
@@ -429,7 +429,7 @@ const rn = /* @__PURE__ */ ge(Qr, [["render", tn]]), nn = "fcFrame", sn = /* @__
429
429
  });
430
430
  },
431
431
  makeRemoveIcon(t, e) {
432
- return v(O("ElIcon"), {
432
+ return v(F("ElIcon"), {
433
433
  onClick: () => this.handleRemove(t),
434
434
  key: "6" + e
435
435
  }, {
@@ -437,7 +437,7 @@ const rn = /* @__PURE__ */ ge(Qr, [["render", tn]]), nn = "fcFrame", sn = /* @__
437
437
  });
438
438
  },
439
439
  makeFiles() {
440
- return this.makeGroup(this.fileList.map((t, e) => this.makeItem(e, [v(O("ElIcon"), {
440
+ return this.makeGroup(this.fileList.map((t, e) => this.makeItem(e, [v(F("ElIcon"), {
441
441
  onClick: () => this.handleClick(t)
442
442
  }, {
443
443
  default: () => [v(zr, null, null)]
@@ -449,12 +449,12 @@ const rn = /* @__PURE__ */ ge(Qr, [["render", tn]]), nn = "fcFrame", sn = /* @__
449
449
  }, null), this.makeIcons(t, e)])));
450
450
  },
451
451
  makeBtn() {
452
- const t = O(this.icon);
452
+ const t = F(this.icon);
453
453
  return v("div", {
454
454
  class: "_fc-upload-btn",
455
455
  onClick: () => this.showModel(),
456
456
  key: 7
457
- }, [v(O("ElIcon"), null, {
457
+ }, [v(F("ElIcon"), null, {
458
458
  default: () => [v(t, null, null)]
459
459
  })]);
460
460
  },
@@ -497,11 +497,11 @@ const rn = /* @__PURE__ */ ge(Qr, [["render", tn]]), nn = "fcFrame", sn = /* @__
497
497
  footer: s
498
498
  } = this.$props;
499
499
  if (s)
500
- return v("div", null, [r ? v(O("ElButton"), {
500
+ return v("div", null, [r ? v(F("ElButton"), {
501
501
  onClick: () => this.onCancel() !== !1 && (this.frameVisible = !1)
502
502
  }, {
503
503
  default: () => [e || this.formCreateInject.t("close") || "关闭"]
504
- }) : null, n ? v(O("ElButton"), {
504
+ }) : null, n ? v(F("ElButton"), {
505
505
  type: "primary",
506
506
  onClick: () => this.onOk() !== !1 && this.closeModel()
507
507
  }, {
@@ -527,7 +527,7 @@ const rn = /* @__PURE__ */ ge(Qr, [["render", tn]]), nn = "fcFrame", sn = /* @__
527
527
  "_fc-frame": !0,
528
528
  "_fc-disabled": this.disabled
529
529
  }
530
- }, [e, v(O("ElDialog"), {
530
+ }, [e, v(F("ElDialog"), {
531
531
  appendToBody: !0,
532
532
  modal: this.previewMask,
533
533
  title: o,
@@ -538,7 +538,7 @@ const rn = /* @__PURE__ */ ge(Qr, [["render", tn]]), nn = "fcFrame", sn = /* @__
538
538
  style: "width: 100%",
539
539
  src: this.previewImage
540
540
  }, null)]
541
- }), v(O("ElDialog"), Y({
541
+ }), v(F("ElDialog"), Y({
542
542
  appendToBody: !0
543
543
  }, _({
544
544
  width: r,
@@ -576,7 +576,7 @@ const rn = /* @__PURE__ */ ge(Qr, [["render", tn]]), nn = "fcFrame", sn = /* @__
576
576
  } = this.formCreateInject;
577
577
  t && r.off("fc:closeModal:" + t, this.close), e && r.off("fc:closeModal:" + e, this.close);
578
578
  }
579
- }), on = "fcRadio", an = /* @__PURE__ */ te({
579
+ }), on = "fcRadio", an = /* @__PURE__ */ re({
580
580
  name: on,
581
581
  inheritAttrs: !1,
582
582
  props: {
@@ -629,7 +629,7 @@ const rn = /* @__PURE__ */ ge(Qr, [["render", tn]]), nn = "fcFrame", sn = /* @__
629
629
  value: o.value || void 0,
630
630
  label: o.value || void 0
631
631
  }, {
632
- default: () => [v(O("ElInput"), {
632
+ default: () => [v(F("ElInput"), {
633
633
  size: "small",
634
634
  modelValue: o.value,
635
635
  "onUpdate:modelValue": f
@@ -639,8 +639,8 @@ const rn = /* @__PURE__ */ ge(Qr, [["render", tn]]), nn = "fcFrame", sn = /* @__
639
639
  };
640
640
  },
641
641
  render() {
642
- const t = this.type === "button" ? "ElRadioButton" : "ElRadio", e = O(t);
643
- return v(O("ElRadioGroup"), Y(this.$attrs, {
642
+ const t = this.type === "button" ? "ElRadioButton" : "ElRadio", e = F(t);
643
+ return v(F("ElRadioGroup"), Y(this.$attrs, {
644
644
  modelValue: this.value,
645
645
  "onUpdate:modelValue": this.onInput,
646
646
  ref: "el"
@@ -696,7 +696,7 @@ const rn = /* @__PURE__ */ ge(Qr, [["render", tn]]), nn = "fcFrame", sn = /* @__
696
696
  function D(t, e) {
697
697
  return {}.hasOwnProperty.call(t, e);
698
698
  }
699
- const ln = "fcSelect", un = te({
699
+ const ln = "fcSelect", un = re({
700
700
  name: ln,
701
701
  inheritAttrs: !1,
702
702
  props: {
@@ -725,25 +725,25 @@ const ln = "fcSelect", un = te({
725
725
  }
726
726
  });
727
727
  function fn(t, e, r, n, s, i) {
728
- const o = O("el-option"), a = O("el-option-group"), l = O("el-select");
729
- return z(), Be(l, Y(t.$attrs, {
728
+ const o = F("el-option"), a = F("el-option-group"), l = F("el-select");
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), X(xe, null, yt(t.options, (u, f) => (z(), X(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), X(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)),
@@ -752,7 +752,7 @@ function fn(t, e, r, n, s, i) {
752
752
  _: 3
753
753
  }, 16, ["model-value", "onUpdate:modelValue"]);
754
754
  }
755
- const cn = /* @__PURE__ */ ge(un, [["render", fn]]), dn = "fcTree", hn = /* @__PURE__ */ te({
755
+ const cn = /* @__PURE__ */ ge(un, [["render", fn]]), dn = "fcTree", hn = /* @__PURE__ */ re({
756
756
  name: dn,
757
757
  inheritAttrs: !1,
758
758
  formCreateParser: {
@@ -784,11 +784,11 @@ 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() {
791
- return v(O("ElTree"), Y(this.$attrs, {
791
+ return v(F("ElTree"), Y(this.$attrs, {
792
792
  ref: "tree",
793
793
  onCheck: this.updateValue,
794
794
  onNodeClick: this.updateValue
@@ -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(), X("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
  });
@@ -830,12 +830,12 @@ function vt(t) {
830
830
  function bn(t) {
831
831
  return ("" + t).split("/").pop();
832
832
  }
833
- const $n = "fcUpload", vn = /* @__PURE__ */ te({
833
+ const $n = "fcUpload", vn = /* @__PURE__ */ re({
834
834
  name: $n,
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__ */ te({
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,10 +891,10 @@ const $n = "fcUpload", vn = /* @__PURE__ */ te({
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
- }, [v(O("ElUpload"), Y({
897
+ }, [v(F("ElUpload"), Y({
898
898
  key: t
899
899
  }, this.$attrs, {
900
900
  listType: this.listType || "picture-card",
@@ -910,15 +910,15 @@ const $n = "fcUpload", vn = /* @__PURE__ */ te({
910
910
  }), _({
911
911
  default: () => {
912
912
  var e, r;
913
- return [((r = (e = this.$slots).default) == null ? void 0 : r.call(e)) || (["text", "picture"].indexOf(this.listType) === -1 ? v(O("ElIcon"), null, {
913
+ return [((r = (e = this.$slots).default) == null ? void 0 : r.call(e)) || (["text", "picture"].indexOf(this.listType) === -1 ? v(F("ElIcon"), null, {
914
914
  default: () => [v(yn, null, null)]
915
- }) : v(O("ElButton"), {
915
+ }) : v(F("ElButton"), {
916
916
  type: "primary"
917
917
  }, {
918
918
  default: () => [this.formCreateInject.t("clickToUpload") || this.uploadText || "点击上传"]
919
919
  }))];
920
920
  }
921
- }, st(this.$slots, ["default"]))), v(O("ElDialog"), {
921
+ }, st(this.$slots, ["default"]))), v(F("ElDialog"), {
922
922
  appendToBody: !0,
923
923
  modal: this.previewMask,
924
924
  title: this.modalTitle,
@@ -965,7 +965,7 @@ function ke(t, e = {}, r) {
965
965
  }
966
966
  return r !== void 0 && Array.isArray(t) ? t.filter((s) => !s || !s.__ctrl) : t;
967
967
  }
968
- function Q(t) {
968
+ function ee(t) {
969
969
  return ke({}, { value: t }).value;
970
970
  }
971
971
  const _n = Object.assign || function(t) {
@@ -1027,7 +1027,7 @@ function Re(t, e) {
1027
1027
  function Ge(t) {
1028
1028
  return new Function("return " + t)();
1029
1029
  }
1030
- function ee(t, e) {
1030
+ function te(t, e) {
1031
1031
  if (t && m.String(t) && t.length > 4) {
1032
1032
  let r = t.trim(), n = !1;
1033
1033
  try {
@@ -1070,7 +1070,7 @@ err: ${s}`);
1070
1070
  }
1071
1071
  function Ut(t, e) {
1072
1072
  return JSON.parse(t, function(r, n) {
1073
- return m.Undef(n) || !n.indexOf ? n : ee(n, e);
1073
+ return m.Undef(n) || !n.indexOf ? n : te(n, e);
1074
1074
  });
1075
1075
  }
1076
1076
  let Vn = 0;
@@ -1084,7 +1084,7 @@ function pe(t, e, r) {
1084
1084
  s && ((!n[s] || typeof n[s] != "object") && (n[s] = {}), n = n[s]), s = i;
1085
1085
  }), n[s] = r, n;
1086
1086
  }
1087
- const Sn = "fcGroup", Fn = /* @__PURE__ */ te({
1087
+ const Sn = "fcGroup", On = /* @__PURE__ */ re({
1088
1088
  name: Sn,
1089
1089
  props: {
1090
1090
  field: String,
@@ -1166,7 +1166,7 @@ const Sn = "fcGroup", Fn = /* @__PURE__ */ te({
1166
1166
  const i = n.$f.formData();
1167
1167
  n.$f.once("reloading", () => {
1168
1168
  n.$f.setValue(i);
1169
- }), n.rule = Q(t);
1169
+ }), n.rule = ee(t);
1170
1170
  }
1171
1171
  }
1172
1172
  });
@@ -1231,7 +1231,7 @@ const Sn = "fcGroup", Fn = /* @__PURE__ */ te({
1231
1231
  };
1232
1232
  if (this.defaultValue) {
1233
1233
  n.formData || (n.formData = {});
1234
- const s = Q(this.defaultValue);
1234
+ const s = ee(this.defaultValue);
1235
1235
  w(n.formData, this.field ? {
1236
1236
  [this.field]: s
1237
1237
  } : s);
@@ -1258,7 +1258,7 @@ const Sn = "fcGroup", Fn = /* @__PURE__ */ te({
1258
1258
  if (this.disabled || this.onBeforeAdd(this.modelValue) === !1)
1259
1259
  return;
1260
1260
  const e = [...this.modelValue];
1261
- e.push(this.defaultValue ? Q(this.defaultValue) : this.field ? null : {}), this.input(e);
1261
+ e.push(this.defaultValue ? ee(this.defaultValue) : this.field ? null : {}), this.input(e);
1262
1262
  },
1263
1263
  del(t, e) {
1264
1264
  if (this.disabled)
@@ -1372,7 +1372,7 @@ const Sn = "fcGroup", Fn = /* @__PURE__ */ te({
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", Fn = /* @__PURE__ */ te({
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),
@@ -1410,13 +1410,13 @@ const Sn = "fcGroup", Fn = /* @__PURE__ */ te({
1410
1410
  class: "_fc-group " + (n ? "_fc-group-disabled" : "") + (s ? " _fc-group-card" : "")
1411
1411
  }, [i]);
1412
1412
  }
1413
- }), On = "fcSubForm", En = /* @__PURE__ */ te({
1414
- name: On,
1413
+ }), Fn = "fcSubForm", En = /* @__PURE__ */ re({
1414
+ name: Fn,
1415
1415
  props: {
1416
1416
  rule: Array,
1417
1417
  options: {
1418
1418
  type: Object,
1419
- default: () => Z({
1419
+ default: () => Q({
1420
1420
  submitBtn: !1,
1421
1421
  resetBtn: !1
1422
1422
  })
@@ -1482,7 +1482,7 @@ const Sn = "fcGroup", Fn = /* @__PURE__ */ te({
1482
1482
  xmlns: "http://www.w3.org/2000/svg"
1483
1483
  };
1484
1484
  function Dn(t, e, r, n, s, i) {
1485
- return z(), X("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"
@@ -1496,7 +1496,7 @@ const An = /* @__PURE__ */ ge(Rn, [["render", Dn]]), jn = [
1496
1496
  cn,
1497
1497
  hn,
1498
1498
  vn,
1499
- Fn,
1499
+ On,
1500
1500
  En,
1501
1501
  An
1502
1502
  ], qt = ["props"], Ht = ["class", "style", "directives"], zt = ["on", "hook"], oe = (t, e = {}, r = {}) => {
@@ -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
  });
@@ -1575,7 +1575,7 @@ function Kt(t, e) {
1575
1575
  }
1576
1576
  }, r), {}));
1577
1577
  }
1578
- function ie(t) {
1578
+ function X(t) {
1579
1579
  return t.__fc__ || (t.__origin__ ? t.__origin__.__fc__ : null);
1580
1580
  }
1581
1581
  function S(t, e) {
@@ -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;
@@ -1708,7 +1708,7 @@ const Me = (t, e) => {
1708
1708
  }
1709
1709
  };
1710
1710
  function Tn(t, e, r) {
1711
- return te({
1711
+ return re({
1712
1712
  name: "FormCreate" + (t.isMobile ? "Mobile" : ""),
1713
1713
  components: e,
1714
1714
  directives: r,
@@ -1758,7 +1758,7 @@ function Tn(t, e, r) {
1758
1758
  o = o.setupState.parent;
1759
1759
  else
1760
1760
  o = s;
1761
- const { rule: a, modelValue: l, subForm: u, inFor: f } = bt(n), d = Z({
1761
+ const { rule: a, modelValue: l, subForm: u, inFor: f } = bt(n), d = Q({
1762
1762
  ctxInject: {},
1763
1763
  destroyed: !1,
1764
1764
  isShow: !0,
@@ -1770,21 +1770,21 @@ 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
- }, F = () => {
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();
1784
1784
  };
1785
1785
  let P = null;
1786
- Fr(() => {
1787
- Or(() => {
1786
+ Or(() => {
1787
+ Fr(() => {
1788
1788
  let E = "";
1789
1789
  const A = n.option && n.option.globalClass || {};
1790
1790
  Object.keys(A).forEach((q) => {
@@ -1807,7 +1807,7 @@ function Tn(t, e, r) {
1807
1807
  return Er(() => {
1808
1808
  i && (p.top.bus.$on("$loadData.$form", U), p.top.bus.$on("change", De)), p !== p.scope && p.scope.bus.$on("$loadData.$scopeForm", M), h.mounted();
1809
1809
  }), Rr(() => {
1810
- i && (p.top.bus.$off("$loadData.$form", U), p.top.bus.$off("change", De)), p !== p.scope && p.scope.bus.$off("$loadData.$scopeForm", M), F(), d.destroyed = !0, h.unmount(), P && (P.parentNode || P.parentElement) && document.head.removeChild(P);
1810
+ i && (p.top.bus.$off("$loadData.$form", U), p.top.bus.$off("change", De)), p !== p.scope && p.scope.bus.$off("$loadData.$scopeForm", M), O(), d.destroyed = !0, h.unmount(), P && (P.parentNode || P.parentElement) && document.head.removeChild(P);
1811
1811
  }), kr(() => {
1812
1812
  h.updated();
1813
1813
  }), C(), L(() => n.option, () => {
@@ -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),
@@ -1947,12 +1947,12 @@ function er(t) {
1947
1947
  s[i] != null && e.setRequestHeader(i, s[i]);
1948
1948
  }), e.send(n);
1949
1949
  }
1950
- function Ft(t, e, r) {
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
- const a = ee(t.parse);
1955
+ const a = te(t.parse);
1956
1956
  m.Function(a) ? o = a : a && m.String(a) && (o = (l) => N(l, a)), Ne(o(i, t.targetRule, r)).then((l) => {
1957
1957
  n(l);
1958
1958
  });
@@ -1964,7 +1964,7 @@ function Ft(t, e, r) {
1964
1964
  });
1965
1965
  }
1966
1966
  function Se(t) {
1967
- return Q(t);
1967
+ return ee(t);
1968
1968
  }
1969
1969
  function qn(t) {
1970
1970
  function e(i) {
@@ -2094,7 +2094,7 @@ function qn(t) {
2094
2094
  }, !0), o ? o.origin : void 0;
2095
2095
  },
2096
2096
  removeRule(i) {
2097
- const o = i && ie(i);
2097
+ const o = i && X(i);
2098
2098
  if (o)
2099
2099
  return o.rm(), o.origin;
2100
2100
  },
@@ -2180,7 +2180,7 @@ function qn(t) {
2180
2180
  i.forEach((a) => s.sync(a));
2181
2181
  return;
2182
2182
  }
2183
- let o = m.Object(i) ? ie(i) : t.getCtxs(i);
2183
+ let o = m.Object(i) ? X(i) : t.getCtxs(i);
2184
2184
  o && (o = Array.isArray(o) ? o : [o], o.forEach((a) => {
2185
2185
  if (!a.deleted) {
2186
2186
  const l = t.subForm[a.id];
@@ -2336,7 +2336,7 @@ function qn(t) {
2336
2336
  return o ? t.subForm[o.id] : void 0;
2337
2337
  },
2338
2338
  getChildrenRuleList(i) {
2339
- const o = typeof i == "object", a = o ? ie(i) : t.getCtx(i), l = a ? a.rule : o ? i : s.getRule(i);
2339
+ const o = typeof i == "object", a = o ? X(i) : t.getCtx(i), l = a ? a.rule : o ? i : s.getRule(i);
2340
2340
  if (!l)
2341
2341
  return [];
2342
2342
  const u = [];
@@ -2347,10 +2347,10 @@ function qn(t) {
2347
2347
  })(a ? a.loadChildrenPending() : l.children), u;
2348
2348
  },
2349
2349
  getParentRule(i) {
2350
- return (typeof i == "object" ? ie(i) : t.getCtx(i)).parent.rule;
2350
+ return (typeof i == "object" ? X(i) : t.getCtx(i)).parent.rule;
2351
2351
  },
2352
2352
  getParentSubRule(i) {
2353
- const a = typeof i == "object" ? ie(i) : t.getCtx(i);
2353
+ const a = typeof i == "object" ? X(i) : t.getCtx(i);
2354
2354
  if (a) {
2355
2355
  const l = a.getParentGroup();
2356
2356
  if (l)
@@ -2371,7 +2371,7 @@ function qn(t) {
2371
2371
  getGlobalEvent(i) {
2372
2372
  let o = s.options.globalEvent[i];
2373
2373
  if (o)
2374
- return typeof o == "object" && (o = o.handle), ee(o);
2374
+ return typeof o == "object" && (o = o.handle), te(o);
2375
2375
  },
2376
2376
  getGlobalData(i) {
2377
2377
  return new Promise((o, a) => {
@@ -2395,11 +2395,11 @@ function qn(t) {
2395
2395
  s.setData("$var." + i, o);
2396
2396
  },
2397
2397
  renderRule(i, o, a) {
2398
- const u = typeof i == "object" ? ie(i) : t.getCtx(i);
2398
+ const u = typeof i == "object" ? X(i) : t.getCtx(i);
2399
2399
  return u ? t.$render.createRuleVnode(u, o, a) : void 0;
2400
2400
  },
2401
2401
  renderChildren(i, o, a) {
2402
- const u = typeof i == "object" ? ie(i) : t.getCtx(i);
2402
+ const u = typeof i == "object" ? X(i) : t.getCtx(i);
2403
2403
  return u ? t.$render.createChildrenVnodes(u, o, a) : void 0;
2404
2404
  },
2405
2405
  nextTick(i) {
@@ -2426,7 +2426,7 @@ function qn(t) {
2426
2426
  const u = (f) => {
2427
2427
  S(() => l.onError && l.onError(f)), a(f);
2428
2428
  };
2429
- t.beforeFetch(l).then(() => Ft(l, t.fc.create.fetch, s).then((f) => {
2429
+ t.beforeFetch(l).then(() => Ot(l, t.fc.create.fetch, s).then((f) => {
2430
2430
  S(() => l.onSuccess && l.onSuccess(f)), o(f);
2431
2431
  }).catch((f) => {
2432
2432
  u(f);
@@ -2443,7 +2443,7 @@ function qn(t) {
2443
2443
  const h = (p) => {
2444
2444
  S(() => d.onError && d.onError(p)), a && a(p);
2445
2445
  };
2446
- t.beforeFetch(d).then(() => Ft(d, t.fc.create.fetch, s).then((p) => {
2446
+ t.beforeFetch(d).then(() => Ot(d, t.fc.create.fetch, s).then((p) => {
2447
2447
  S(() => d.onSuccess && d.onSuccess(p)), o && o(p, f);
2448
2448
  }).catch((p) => {
2449
2449
  h(p);
@@ -2601,17 +2601,17 @@ function zn(t) {
2601
2601
  l.length && n.slotUpdate && S(() => n.slotUpdate(u));
2602
2602
  let f = {};
2603
2603
  const d = e.loadChildrenPending();
2604
- e.parser.renderChildren ? f = e.parser.renderChildren(d, e) : e.parser.loadChildren !== !1 && (f = this.renderChildren(d, e)), Object.keys(i.renderSlots || {}).forEach((F) => {
2605
- f[F] = (...P) => {
2606
- if (m.Function(i.renderSlots[F]))
2607
- return S(() => i.renderSlots[F](...P));
2608
- const U = this.parseSide(i.renderSlots[F], e);
2604
+ e.parser.renderChildren ? f = e.parser.renderChildren(d, e) : e.parser.loadChildren !== !1 && (f = this.renderChildren(d, e)), Object.keys(i.renderSlots || {}).forEach((O) => {
2605
+ f[O] = (...P) => {
2606
+ if (m.Function(i.renderSlots[O]))
2607
+ return S(() => i.renderSlots[O](...P));
2608
+ const U = this.parseSide(i.renderSlots[O], e);
2609
2609
  return this.renderRule(U);
2610
2610
  };
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((F) => !F || !F.__v_isVNode ? F : this.none(F)) : 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();
@@ -2830,7 +2830,7 @@ function Gn(t) {
2830
2830
  if (!s && Array.isArray(r) && r[0] && (m.String(r[0]) || m.Function(r[0])))
2831
2831
  return this.parseEventLst(e, r, n, !0);
2832
2832
  if (m.String(r)) {
2833
- const i = ee(r);
2833
+ const i = te(r);
2834
2834
  if (i && r !== i)
2835
2835
  return i.__inject ? this.parseEvent(e, i, n, !0) : i;
2836
2836
  }
@@ -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;
@@ -2926,7 +2926,7 @@ function Gn(t) {
2926
2926
  }
2927
2927
  });
2928
2928
  }
2929
- const Ot = ["hook:updated", "hook:mounted"];
2929
+ const Ft = ["hook:updated", "hook:mounted"];
2930
2930
  function Yn(t) {
2931
2931
  w(t.prototype, {
2932
2932
  usePage() {
@@ -2941,9 +2941,9 @@ function Yn(t) {
2941
2941
  },
2942
2942
  pageLoad() {
2943
2943
  const e = () => {
2944
- this.pageEnd ? (this.bus.$off(Ot, e), this.bus.$emit("page-end")) : (this.first += this.limit, this.pageEnd = this.rules.length <= this.first, this.loadRule(), this.refresh());
2944
+ this.pageEnd ? (this.bus.$off(Ft, e), this.bus.$emit("page-end")) : (this.first += this.limit, this.pageEnd = this.rules.length <= this.first, this.loadRule(), this.refresh());
2945
2945
  };
2946
- this.bus.$on(Ot, e);
2946
+ this.bus.$on(Ft, e);
2947
2947
  }
2948
2948
  });
2949
2949
  }
@@ -2998,7 +2998,7 @@ function tr(t, e, r) {
2998
2998
  input: s,
2999
2999
  el: void 0,
3000
3000
  exportEl: void 0,
3001
- defaultValue: s ? Q(r) : void 0,
3001
+ defaultValue: s ? ee(r) : void 0,
3002
3002
  field: e.field || void 0
3003
3003
  }), this.updateKey(), Kn(this), this.update(t, !0);
3004
3004
  }
@@ -3062,7 +3062,7 @@ w(tr.prototype, {
3062
3062
  setPending(t, e, r) {
3063
3063
  this.pending[t] = {
3064
3064
  origin: e,
3065
- value: Z(r)
3065
+ value: Q(r)
3066
3066
  };
3067
3067
  },
3068
3068
  effectData(t) {
@@ -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);
@@ -3168,7 +3168,7 @@ function Xn(t) {
3168
3168
  __origin__: nt(e)
3169
3169
  }), Zn(r), this.appendValue(r), [r, r.prefix, r.suffix].forEach((n) => {
3170
3170
  n && this.loadFn(n, r);
3171
- }), this.loadCtrl(r), r.update && (r.update = ee(r.update)), r;
3171
+ }), this.loadCtrl(r), r.update && (r.update = te(r.update)), r;
3172
3172
  },
3173
3173
  loadFn(e, r) {
3174
3174
  ["on", "props", "deep"].forEach((n) => {
@@ -3177,7 +3177,7 @@ function Xn(t) {
3177
3177
  },
3178
3178
  loadCtrl(e) {
3179
3179
  e.control && e.control.forEach((r) => {
3180
- r.handle && (r.handle = ee(r.handle));
3180
+ r.handle && (r.handle = te(r.handle));
3181
3181
  });
3182
3182
  },
3183
3183
  syncProp(e) {
@@ -3231,14 +3231,14 @@ function Xn(t) {
3231
3231
  if (f)
3232
3232
  f.originType !== f.rule.type && f.updateType(), this.bindParser(f), this.appendValue(f.rule), f.parent && f.parent !== r && this.rmSubRuleData(f);
3233
3233
  else {
3234
- const F = this.parseRule(o);
3235
- f = new tr(this, F, p), this.bindParser(f);
3234
+ const O = this.parseRule(o);
3235
+ f = new tr(this, O, p), this.bindParser(f);
3236
3236
  }
3237
3237
  this.parseEmit(f), this.syncProp(f), f.parent = r || null, f.root = e, this.setCtx(f), !d && !h && (this.effect(f, "load"), this.targetHook(f, "load")), this.effect(f, "created");
3238
3238
  const $ = f.loadChildrenPending();
3239
3239
  if (f.parser.loadChildren === !1 || s($, f), !r) {
3240
- const F = n(a);
3241
- F > -1 || !a ? this.sort.splice(F + 1, 0, f.id) : this.sort.push(f.id);
3240
+ const O = n(a);
3241
+ O > -1 || !a ? this.sort.splice(O + 1, 0, f.id) : this.sort.push(f.id);
3242
3242
  }
3243
3243
  const C = f.rule;
3244
3244
  return f.updated || (f.updated = !0, m.Function(C.update) && this.bus.$once("load-end", () => {
@@ -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])
@@ -3295,7 +3295,7 @@ function Xn(t) {
3295
3295
  });
3296
3296
  } else {
3297
3297
  e.ctrlRule.splice(e.ctrlRule.indexOf(p), 1);
3298
- const C = ie(p);
3298
+ const C = X(p);
3299
3299
  C && C.rm();
3300
3300
  }
3301
3301
  });
@@ -3386,7 +3386,7 @@ function ti(t) {
3386
3386
  return this.formData[e.id];
3387
3387
  },
3388
3388
  syncForm() {
3389
- const e = Z({}), r = this.fields(), n = [];
3389
+ const e = Q({}), r = this.fields(), n = [];
3390
3390
  this.options.appendValue !== !1 && Object.keys(this.appendData).reduce((s, i) => (r.indexOf(i) === -1 && (s[i] = T(this.appendData, i)), s), e), r.reduce((s, i) => {
3391
3391
  let o = (this.fieldCtx[i] || []).filter((a) => !this.isIgnore(a))[0];
3392
3392
  return o || (o = this.fieldCtx[i][0], n.push(i)), s[i] = T(o.rule, "value"), s;
@@ -3449,7 +3449,7 @@ function ti(t) {
3449
3449
  function Rt(t, e) {
3450
3450
  return typeof e == "function" ? "" + e : e;
3451
3451
  }
3452
- const Oe = {
3452
+ const Fe = {
3453
3453
  init(t) {
3454
3454
  },
3455
3455
  toFormValue(t, e) {
@@ -3468,7 +3468,7 @@ const Oe = {
3468
3468
  },
3469
3469
  mergeProp(t) {
3470
3470
  }
3471
- }, ri = ["field", "value", "vm", "template", "name", "config", "control", "inject", "sync", "payload", "optionsTo", "update", "slotUpdate", "computed", "component", "cache"], Fe = Symbol("oldValue");
3471
+ }, ri = ["field", "value", "vm", "template", "name", "config", "control", "inject", "sync", "payload", "optionsTo", "update", "slotUpdate", "computed", "component", "cache"], Oe = Symbol("oldValue");
3472
3472
  function ni(t) {
3473
3473
  w(t.prototype, {
3474
3474
  getCtx(e) {
@@ -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] || Oe;
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;
@@ -3598,12 +3598,12 @@ function ni(t) {
3598
3598
  const a = n[s];
3599
3599
  if (!a) return;
3600
3600
  const l = this.compute(e, a);
3601
- return (a.linkage || a.linkageVariable) && l === Fe ? Fe : l;
3601
+ return (a.linkage || a.linkageVariable) && l === Oe ? Oe : l;
3602
3602
  }), o = (a) => {
3603
3603
  s === "value" ? this.onInput(e, a) : s[0] === "$" ? this.api.setEffect(e.id, s, a) : pe(e.rule, s, a);
3604
3604
  };
3605
3605
  (s === "value" ? [void 0, null, ""].indexOf(e.rule.value) > -1 : i.value !== N(e.rule, s)) && o(i.value), e.watch.push(L(i, (a) => {
3606
- a !== Fe && setTimeout(() => {
3606
+ a !== Oe && setTimeout(() => {
3607
3607
  o(a);
3608
3608
  });
3609
3609
  }, { deep: !0 }));
@@ -3748,7 +3748,7 @@ function ni(t) {
3748
3748
  return l ? !1 : u;
3749
3749
  };
3750
3750
  let o = i(r);
3751
- return o = r.invert === !0 ? !o : o, r.linkage ? o ? S(() => this.computeValue(r.linkage, e, s), void 0) : Fe : r.linkageVariable ? o ? S(() => this.fc.getLoadData(r.linkageVariable), void 0) : Fe : o;
3751
+ return o = r.invert === !0 ? !o : o, r.linkage ? o ? S(() => this.computeValue(r.linkage, e, s), void 0) : Oe : r.linkageVariable ? o ? S(() => this.fc.getLoadData(r.linkageVariable), void 0) : Oe : o;
3752
3752
  } else if (m.Function(r))
3753
3753
  n = () => r(this.api.form, this.api, e.rule);
3754
3754
  else {
@@ -3811,9 +3811,9 @@ 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
- const s = ee(n);
3816
+ const s = te(n);
3817
3817
  m.Function(s) && S(() => s(...r));
3818
3818
  }
3819
3819
  this.bus.$emit(e, ...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);
@@ -3922,7 +3922,7 @@ function ai(t) {
3922
3922
  return r.length ? r : !1;
3923
3923
  } else return m.String(e) ? [e] : !1;
3924
3924
  }
3925
- function re(t) {
3925
+ function ne(t) {
3926
3926
  Kt(this, {
3927
3927
  options() {
3928
3928
  return t.options.value || {};
@@ -3942,10 +3942,10 @@ function re(t) {
3942
3942
  noWatchFn: null,
3943
3943
  deferSyncFn: null,
3944
3944
  isMounted: !1,
3945
- formData: Z({}),
3946
- subRuleData: Z({}),
3945
+ formData: Q({}),
3946
+ subRuleData: Q({}),
3947
3947
  subForm: {},
3948
- form: Z({}),
3948
+ form: Q({}),
3949
3949
  appendData: {},
3950
3950
  ignoreFields: [],
3951
3951
  providers: {},
@@ -3962,7 +3962,7 @@ function re(t) {
3962
3962
  return n && n !== e && w(e, n), e;
3963
3963
  }, qn(this));
3964
3964
  }
3965
- w(re.prototype, {
3965
+ w(ne.prototype, {
3966
3966
  initData(t) {
3967
3967
  w(this, {
3968
3968
  ctxs: {},
@@ -3976,7 +3976,7 @@ w(re.prototype, {
3976
3976
  this.updateAppendData(), this.useProvider(), this.usePage(), this.loadRule(), this.$manager.__init(), this.lifecycle("created");
3977
3977
  },
3978
3978
  updateAppendData() {
3979
- this.appendData = _(_(_({}, Q(this.options.formData || {})), this.fc.vm.props.modelValue || {}), this.appendData);
3979
+ this.appendData = _(_(_({}, ee(this.options.formData || {})), this.fc.vm.props.modelValue || {}), this.appendData);
3980
3980
  },
3981
3981
  isBreakWatch() {
3982
3982
  return this.loading || this.noWatchFn || this.reloading;
@@ -4000,15 +4000,15 @@ w(re.prototype, {
4000
4000
  });
4001
4001
  }
4002
4002
  });
4003
- Gn(re);
4004
- Yn(re);
4005
- Jn(re);
4006
- Xn(re);
4007
- ti(re);
4008
- ni(re);
4009
- ii(re);
4010
- si(re);
4011
- const li = "fcFragment", Ye = te({
4003
+ Gn(ne);
4004
+ Yn(ne);
4005
+ Jn(ne);
4006
+ Xn(ne);
4007
+ ti(ne);
4008
+ ni(ne);
4009
+ ii(ne);
4010
+ si(ne);
4011
+ const li = "fcFragment", Ye = re({
4012
4012
  name: li,
4013
4013
  inheritAttrs: !1,
4014
4014
  props: ["vnode"],
@@ -4052,7 +4052,7 @@ function fi() {
4052
4052
  const o = (this.vm || Qe()).appContext.config.isNativeTag(r), a = this.handle.fc.prop.components[r];
4053
4053
  !a && o && delete n.formCreateInject;
4054
4054
  try {
4055
- return v(a || (o ? r : O(r)), n, s);
4055
+ return v(a || (o ? r : F(r)), n, s);
4056
4056
  } catch (l) {
4057
4057
  return console.error(l), v("");
4058
4058
  }
@@ -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)) {
@@ -4155,7 +4155,7 @@ const di = function(t) {
4155
4155
  let h;
4156
4156
  n && n.__fc__ && (h = n.__fc__.getParentGroup());
4157
4157
  let p;
4158
- a.template ? p = t.$handle.loadStrVar(a.template, d, h ? { rule: n, value: t.$handle.subRuleData[h.id] || {} } : null) : a.handler && m.Function(a.handler) ? p = a.handler(d, n, s) : p = t.$handle.loadStrVar(`{{${a.attr}}}`, d, h ? { rule: n, value: t.$handle.subRuleData[h.id] || {} } : null), (p == null || p === "") && a.default != null && (p = a.default), a.copy !== !1 && (p = Q(p));
4158
+ a.template ? p = t.$handle.loadStrVar(a.template, d, h ? { rule: n, value: t.$handle.subRuleData[h.id] || {} } : null) : a.handler && m.Function(a.handler) ? p = a.handler(d, n, s) : p = t.$handle.loadStrVar(`{{${a.attr}}}`, d, h ? { rule: n, value: t.$handle.subRuleData[h.id] || {} } : null), (p == null || p === "") && a.default != null && (p = a.default), a.copy !== !1 && (p = ee(p));
4159
4159
  const $ = a.modify ? n : r.getProp();
4160
4160
  a.to === "child" ? $.children ? $.children[0] = p : $.children = [p] : pe($, a.to || "options", p), s.sync(n);
4161
4161
  }, u = (d) => l(d);
@@ -4209,9 +4209,9 @@ 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
- const a = ie(e);
4214
+ const a = X(e);
4215
4215
  if (a)
4216
4216
  return r.exec(a.id, m.String(s) ? s : "formCreateValidate", ...o, {
4217
4217
  attr: t,
@@ -4243,7 +4243,7 @@ const di = function(t) {
4243
4243
  l(void 0);
4244
4244
  return;
4245
4245
  }
4246
- a = Q(a), a.to || (a.to = "options");
4246
+ a = ee(a), a.to || (a.to = "options");
4247
4247
  const u = a.onError, f = () => {
4248
4248
  if (!s.getValue())
4249
4249
  return s.clearProp(), o.sync(i), !0;
@@ -4260,19 +4260,19 @@ const di = function(t) {
4260
4260
  }
4261
4261
  return;
4262
4262
  }
4263
- const p = t.$handle.loadFetchVar(Q(a), d, i), $ = H(_({
4263
+ const p = t.$handle.loadFetchVar(ee(a), d, i), $ = G(_({
4264
4264
  headers: {}
4265
4265
  }, p), {
4266
- onSuccess(C, F) {
4266
+ onSuccess(C, O) {
4267
4267
  if (f()) return;
4268
- let P = (M) => F ? M : D(M, "data") ? M.data : M;
4269
- const U = ee(p.parse);
4268
+ let P = (M) => O ? M : D(M, "data") ? M.data : M;
4269
+ const U = te(p.parse);
4270
4270
  m.Function(U) ? P = U : U && m.String(U) && (P = (M) => N(M, U)), Ne(P(C, i, o)).then((M) => {
4271
4271
  l(M);
4272
4272
  });
4273
4273
  },
4274
4274
  onError(C) {
4275
- l(void 0), !f() && (u || ((F) => ot(F.message || "fetch fail " + p.action)))(C, i, o);
4275
+ l(void 0), !f() && (u || ((O) => ot(O.message || "fetch fail " + p.action)))(C, i, o);
4276
4276
  }
4277
4277
  });
4278
4278
  t.$handle.beforeFetch($, { rule: i, api: o }).then(() => {
@@ -4431,11 +4431,11 @@ function Si(t, e) {
4431
4431
  function We() {
4432
4432
  return Si("name", ...arguments);
4433
4433
  }
4434
- function Fi(t) {
4434
+ function Oi(t) {
4435
4435
  const e = t.key || [], r = t.array || [], n = t.normal || [];
4436
4436
  xt.push(...e), at.push(...r), lt.push(...n), Qt([...e, ...r, ...n]);
4437
4437
  }
4438
- let Oi = 1;
4438
+ let Fi = 1;
4439
4439
  const W = {}, Dt = Symbol("defValue");
4440
4440
  function ir(t) {
4441
4441
  const e = {
@@ -4444,10 +4444,10 @@ function ir(t) {
4444
4444
  t.extendApi
4445
4445
  ], u = _({}, mi), f = Nn();
4446
4446
  let d = { global: {} };
4447
- const h = t.isMobile === !0, p = Z({
4447
+ const h = t.isMobile === !0, p = Q({
4448
4448
  $mobile: h
4449
- }), $ = fi(), C = {}, F = {};
4450
- Fi(t.attrs || {});
4449
+ }), $ = fi(), C = {}, O = {};
4450
+ Oi(t.attrs || {});
4451
4451
  function P(c) {
4452
4452
  const g = W[c];
4453
4453
  if (Array.isArray(g))
@@ -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
  }
@@ -4473,13 +4473,13 @@ function ir(t) {
4473
4473
  }
4474
4474
  function E(c) {
4475
4475
  if (arguments.length === 0)
4476
- return Oe;
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
- if (!g.id || !g.prop) return Oe;
4481
- const y = G(g.id), b = g.prop, V = b.merge === !0 ? r[y] : void 0;
4482
- r[y] = Le(b, V || Oe), f[y] = B(y), b.maker && w(f, b.maker);
4480
+ if (!g.id || !g.prop) return Fe;
4481
+ const y = x(g.id), b = g.prop, V = b.merge === !0 ? r[y] : void 0;
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) {
4485
4485
  let y;
@@ -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() {
@@ -4499,7 +4499,7 @@ function ir(t) {
4499
4499
  const y = q();
4500
4500
  return jr({
4501
4501
  data() {
4502
- return Z({
4502
+ return Q({
4503
4503
  rule: c,
4504
4504
  option: g
4505
4505
  });
@@ -4523,7 +4523,7 @@ function ir(t) {
4523
4523
  const b = document.createElement("div");
4524
4524
  return ((g == null ? void 0 : g.el) || document.body).appendChild(b), y.mount(b).$refs.fc.fapi;
4525
4525
  }
4526
- Le(le, F);
4526
+ Le(le, O);
4527
4527
  function lr(c) {
4528
4528
  let g = _({}, t);
4529
4529
  return c ? g.inherit = {
@@ -4547,8 +4547,8 @@ function ir(t) {
4547
4547
  function cr(c, g) {
4548
4548
  const y = i[c] || {}, b = y.parsers || {};
4549
4549
  g.parsers && Object.keys(g.parsers).forEach((V) => {
4550
- b[V] = Le(g.parsers[V], Oe);
4551
- }), g.name = c, i[c] = H(_(_({}, y), g), { parsers: b });
4550
+ b[V] = Le(g.parsers[V], Fe);
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) => {
@@ -4585,7 +4585,7 @@ function ir(t) {
4585
4585
  }
4586
4586
  function ze(c) {
4587
4587
  w(this, {
4588
- id: Oi++,
4588
+ id: Fi++,
4589
4589
  create: le,
4590
4590
  vm: c,
4591
4591
  manager: ci(t.manager),
@@ -4612,14 +4612,14 @@ function ir(t) {
4612
4612
  options: it({}),
4613
4613
  extendApiFn: l,
4614
4614
  fetchCache: /* @__PURE__ */ new WeakMap(),
4615
- tmpData: Z({})
4615
+ tmpData: Q({})
4616
4616
  }), a.forEach((g) => {
4617
4617
  this.bus.$on(g.name, g.callback);
4618
4618
  }), I(() => {
4619
4619
  L(this.options, () => {
4620
4620
  this.$handle.$manager.updateOptions(this.options.value), this.api().refresh();
4621
4621
  }, { deep: !0 });
4622
- }), w(c.appContext.components, e), w(c.appContext.directives, n), this.$handle = new re(this), this.name && (this.inFor ? (W[this.name] || (W[this.name] = []), W[this.name].push(this)) : W[this.name] = this);
4622
+ }), w(c.appContext.components, e), w(c.appContext.directives, n), this.$handle = new ne(this), this.name && (this.inFor ? (W[this.name] || (W[this.name] = []), W[this.name].push(this)) : W[this.name] = this);
4623
4623
  }
4624
4624
  ze.isMobile = h, w(ze.prototype, {
4625
4625
  init() {
@@ -4693,7 +4693,7 @@ function ir(t) {
4693
4693
  let g = c.split(".");
4694
4694
  const y = g.shift(), b = this.options.value.globalVariable && this.options.value.globalVariable[y];
4695
4695
  if (b) {
4696
- const V = m.Function(b) ? b : ee(b.handle);
4696
+ const V = m.Function(b) ? b : te(b.handle);
4697
4697
  if (V) {
4698
4698
  let j = V((...k) => this.$handle.api.getData(...k), this.$handle.api);
4699
4699
  return N(j, g);
@@ -4777,7 +4777,7 @@ function ir(t) {
4777
4777
  resetBtn: {},
4778
4778
  globalEvent: {},
4779
4779
  globalData: {}
4780
- }, Q(d));
4780
+ }, ee(d));
4781
4781
  const g = this.isSub();
4782
4782
  g && (c = this.mergeOptions(c, this.vm.setupState.parent.setupState.fc.options.value || {}, !0)), c = this.mergeOptions(c, this.vm.props.option);
4783
4783
  const y = this.api();
@@ -4843,7 +4843,7 @@ function ir(t) {
4843
4843
  mergeRule: ae,
4844
4844
  fetch: er,
4845
4845
  $form: q,
4846
- parseFn: ee,
4846
+ parseFn: te,
4847
4847
  parseJson: Ut,
4848
4848
  toJson: Re,
4849
4849
  useApp: U,
@@ -4870,25 +4870,26 @@ function ir(t) {
4870
4870
  }
4871
4871
  });
4872
4872
  }
4873
- if (ht(F), mr(F), Ie("$cookie", _i), Ie("$localStorage", wi), Ie("$sessionStorage", Ci), $.use({ fragment: "fcFragment" }), t.install && le.use(t), U((c, g) => {
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;
4879
4880
  c.components && w(e, c.components), c.parsers && w(r, c.parsers), c.directives && w(n, c.directives), c.modelFields && w(s, c.modelFields), c.providers && w(u, c.providers), c.useApps && w(o, c.useApps), c.maker && w(f, c.maker), c.loadData && w(p, c.loadData), c.formulas && w(C, c.formulas);
4880
4881
  }
4881
4882
  const Pe = q();
4882
- return Le(Pe, F), Object.defineProperties(Pe, {
4883
+ return Le(Pe, O), Object.defineProperties(Pe, {
4883
4884
  fetch: {
4884
4885
  get() {
4885
- return F.fetch;
4886
+ return O.fetch;
4886
4887
  },
4887
4888
  set(c) {
4888
- F.fetch = c;
4889
+ O.fetch = c;
4889
4890
  }
4890
4891
  }
4891
- }), Pe.util = F, Pe;
4892
+ }), Pe.util = O, Pe;
4892
4893
  }
4893
4894
  const At = {
4894
4895
  date: "YYYY-MM-DD",
@@ -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,
@@ -5053,7 +5054,7 @@ function Ui(t) {
5053
5054
  function Pt(t, e) {
5054
5055
  D(t, e) && m.String(t[e]) && (t[e] = { [e]: t[e], show: !0 });
5055
5056
  }
5056
- function ne(t) {
5057
+ function ie(t) {
5057
5058
  return t === !1;
5058
5059
  }
5059
5060
  function qi(t, e) {
@@ -5131,13 +5132,13 @@ const Hi = {
5131
5132
  });
5132
5133
  },
5133
5134
  render(t) {
5134
- return t.slotLen() && !this.$handle.preview && t.setSlot(void 0, () => this.makeFormBtn()), this.$r(this.rule, ne(this.options.row.show) ? t.getSlots() : [this.makeRow(t)]);
5135
+ return t.slotLen() && !this.$handle.preview && t.setSlot(void 0, () => this.makeFormBtn()), this.$r(this.rule, ie(this.options.row.show) ? t.getSlots() : [this.makeRow(t)]);
5135
5136
  },
5136
5137
  makeWrap(t, e) {
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
- const f = (m.Undef(r.wrap.show) ? !t.input : ne(r.wrap.show)) ? e : this.$r(oe([r.wrap, {
5140
- props: H(_({
5140
+ const f = (m.Undef(r.wrap.show) ? !t.input : ie(r.wrap.show)) ? e : this.$r(oe([r.wrap, {
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 || {})), {
@@ -5149,12 +5150,12 @@ const Hi = {
5149
5150
  ref: t.wrapRef,
5150
5151
  type: "formItem"
5151
5152
  }]), _({ default: () => e }, i ? { label: () => this.makeInfo(r, n, t) } : {}));
5152
- return a === !0 || ne(l) || ne(s.show) ? f : this.makeCol(r, n, [f]);
5153
+ return a === !0 || ie(l) || ie(s.show) ? f : this.makeCol(r, n, [f]);
5153
5154
  },
5154
5155
  isTitle(t) {
5155
5156
  if (this.options.form.title === !1) return !1;
5156
5157
  const e = t.title;
5157
- return !(!e.title && !e.native || ne(e.show));
5158
+ return !(!e.title && !e.native || ie(e.show));
5158
5159
  },
5159
5160
  makeInfo(t, e, r) {
5160
5161
  var f, d, h, p, $, C;
@@ -5163,15 +5164,15 @@ const Hi = {
5163
5164
  rule: r.rule,
5164
5165
  options: this.options
5165
5166
  }) : ((p = (h = r.refRule) == null ? void 0 : h.__$title) == null ? void 0 : p.value) + (o.labelSuffix || o["label-suffix"] || "")];
5166
- if (!ne(s.show) && (s.info || s.native) && !ne(s.icon)) {
5167
- const F = {
5167
+ if (!ie(s.show) && (s.info || s.native) && !ie(s.icon)) {
5168
+ const O = {
5168
5169
  type: s.type || "popover",
5169
5170
  props: Ze(s),
5170
5171
  key: `${e}pop`
5171
5172
  };
5172
- delete F.props.icon, delete F.props.show, delete F.props.info, delete F.props.align, delete F.props.native;
5173
+ delete O.props.icon, delete O.props.show, delete O.props.info, delete O.props.align, delete O.props.native;
5173
5174
  const P = "content";
5174
- s.info && !D(F.props, P) && (F.props[P] = (C = ($ = r.refRule) == null ? void 0 : $.__$info) == null ? void 0 : C.value), l[s.align !== "left" ? "unshift" : "push"](this.$r(oe([s, F]), {
5175
+ s.info && !D(O.props, P) && (O.props[P] = (C = ($ = r.refRule) == null ? void 0 : $.__$info) == null ? void 0 : C.value), l[s.align !== "left" ? "unshift" : "push"](this.$r(oe([s, O]), {
5175
5176
  [n.slot || (i ? "default" : "reference")]: () => this.$r({
5176
5177
  type: "ElIcon",
5177
5178
  style: "top:2px",
@@ -5189,8 +5190,8 @@ const Hi = {
5189
5190
  class: "fc-form-title",
5190
5191
  type: n.type || "span",
5191
5192
  on: {
5192
- click: (...F) => {
5193
- this.$handle.targetHook(r, "titleClick", { args: F });
5193
+ click: (...O) => {
5194
+ this.$handle.targetHook(r, "titleClick", { args: O });
5194
5195
  }
5195
5196
  }
5196
5197
  }]);
@@ -5216,7 +5217,7 @@ const Hi = {
5216
5217
  },
5217
5218
  makeFormBtn() {
5218
5219
  let t = [];
5219
- if (ne(this.options.submitBtn.show) || t.push(this.makeSubmitBtn()), ne(this.options.resetBtn.show) || t.push(this.makeResetBtn()), !t.length)
5220
+ if (ie(this.options.submitBtn.show) || t.push(this.makeSubmitBtn()), ie(this.options.resetBtn.show) || t.push(this.makeResetBtn()), !t.length)
5220
5221
  return;
5221
5222
  const e = this.$r({
5222
5223
  type: "formItem",
@@ -5333,18 +5334,18 @@ function Ki(t, e) {
5333
5334
  },
5334
5335
  validateField(r, n) {
5335
5336
  return new Promise((s, i) => {
5336
- const o = e.getFieldCtx(r);
5337
- if (!o) {
5337
+ const a = typeof r == "object" ? X(r) : e.getCtx(r);
5338
+ if (!a) {
5338
5339
  s(null), n && n(null);
5339
5340
  return;
5340
5341
  }
5341
- const a = e.subForm[o.id], l = [e.$manager.validateField(o.id)];
5342
- x(a).filter((u) => !u.isScope).forEach((u) => {
5343
- l.push(u.validate());
5344
- }), Promise.all(l).then(() => {
5342
+ const l = e.subForm[a.id], u = [e.$manager.validateField(a.id)];
5343
+ z(l).filter((f) => !f.isScope).forEach((f) => {
5344
+ u.push(f.validate());
5345
+ }), Promise.all(u).then(() => {
5345
5346
  s(null), n && n(null);
5346
- }).catch((u) => {
5347
- i(u), n && n(u), e.vm.emit("validate-field-fail", u, { field: r, api: t });
5347
+ }).catch((f) => {
5348
+ i(f), n && n(f), e.vm.emit("validate-field-fail", f, { field: r, api: t });
5348
5349
  });
5349
5350
  });
5350
5351
  },
@@ -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,