@form-create/element-ui 2.6.0-alpha.0 → 2.6.0

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.
@@ -7,20 +7,20 @@
7
7
  * Released under the MIT License.
8
8
  */
9
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 .el-upload{display:block}._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 .form-create .el-form-item .el-form-item{margin-bottom:0}')),document.head.appendChild(o)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
10
- var gt = Object.defineProperty, $t = Object.defineProperties;
11
- var vt = Object.getOwnPropertyDescriptors;
12
- var Fe = Object.getOwnPropertySymbols;
13
- var bt = Object.prototype.hasOwnProperty, Ct = Object.prototype.propertyIsEnumerable;
14
- var Se = (t, e, r) => e in t ? gt(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, y = (t, e) => {
10
+ var $t = Object.defineProperty, vt = Object.defineProperties;
11
+ var bt = Object.getOwnPropertyDescriptors;
12
+ var Se = Object.getOwnPropertySymbols;
13
+ var Ct = Object.prototype.hasOwnProperty, _t = Object.prototype.propertyIsEnumerable;
14
+ var Re = (t, e, r) => e in t ? $t(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, y = (t, e) => {
15
15
  for (var r in e || (e = {}))
16
- bt.call(e, r) && Se(t, r, e[r]);
17
- if (Fe)
18
- for (var r of Fe(e))
19
- Ct.call(e, r) && Se(t, r, e[r]);
16
+ Ct.call(e, r) && Re(t, r, e[r]);
17
+ if (Se)
18
+ for (var r of Se(e))
19
+ _t.call(e, r) && Re(t, r, e[r]);
20
20
  return t;
21
- }, q = (t, e) => $t(t, vt(e));
22
- import Y, { h as p } from "vue";
23
- function _t(t) {
21
+ }, q = (t, e) => vt(t, bt(e));
22
+ import D, { h as p } from "vue";
23
+ function kt(t) {
24
24
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
25
25
  }
26
26
  function le() {
@@ -29,33 +29,33 @@ function le() {
29
29
  return t;
30
30
  }, le.apply(this, arguments);
31
31
  }
32
- var kt = ["attrs", "props", "domProps"], Ot = ["class", "style", "directives"], wt = ["on", "nativeOn"], Ft = function(t) {
32
+ var Ot = ["attrs", "props", "domProps"], wt = ["class", "style", "directives"], Ft = ["on", "nativeOn"], St = function(t) {
33
33
  return t.reduce(function(e, r) {
34
34
  for (var i in r) if (!e[i]) e[i] = r[i];
35
- else if (kt.indexOf(i) !== -1) e[i] = le({}, e[i], r[i]);
36
- else if (Ot.indexOf(i) !== -1) {
35
+ else if (Ot.indexOf(i) !== -1) e[i] = le({}, e[i], r[i]);
36
+ else if (wt.indexOf(i) !== -1) {
37
37
  var s = e[i] instanceof Array ? e[i] : [e[i]], n = r[i] instanceof Array ? r[i] : [r[i]];
38
38
  e[i] = [].concat(s, n);
39
- } else if (wt.indexOf(i) !== -1)
39
+ } else if (Ft.indexOf(i) !== -1)
40
40
  for (var o in r[i]) if (e[i][o]) {
41
41
  var a = e[i][o] instanceof Array ? e[i][o] : [e[i][o]], u = r[i][o] instanceof Array ? r[i][o] : [r[i][o]];
42
42
  e[i][o] = [].concat(a, u);
43
43
  } else e[i][o] = r[i][o];
44
- else if (i === "hook") for (var l in r[i]) e[i][l] = e[i][l] ? St(e[i][l], r[i][l]) : r[i][l];
44
+ else if (i === "hook") for (var l in r[i]) e[i][l] = e[i][l] ? Rt(e[i][l], r[i][l]) : r[i][l];
45
45
  else e[i] = r[i];
46
46
  return e;
47
47
  }, {});
48
- }, St = function(t, e) {
48
+ }, Rt = function(t, e) {
49
49
  return function() {
50
50
  t && t.apply(this, arguments), e && e.apply(this, arguments);
51
51
  };
52
- }, Rt = Ft;
53
- const S = /* @__PURE__ */ _t(Rt);
54
- function ee(t, e) {
52
+ }, Et = St;
53
+ const S = /* @__PURE__ */ kt(Et);
54
+ function te(t, e) {
55
55
  return Object.keys(t).reduce((r, i) => ((!e || e.indexOf(i) === -1) && r.push(t[i]), r), []);
56
56
  }
57
- const Et = "fcCheckbox", jt = {
58
- name: Et,
57
+ const jt = "fcCheckbox", It = {
58
+ name: jt,
59
59
  props: {
60
60
  formCreateInject: {
61
61
  type: Object,
@@ -116,7 +116,7 @@ const Et = "fcCheckbox", jt = {
116
116
  }, {
117
117
  key: i + e + "-" + t.value
118
118
  }]));
119
- }), ee(this.$slots)]);
119
+ }), te(this.$slots)]);
120
120
  },
121
121
  mounted() {
122
122
  this.$emit("fc.el", this.$refs.el);
@@ -125,8 +125,8 @@ const Et = "fcCheckbox", jt = {
125
125
  function I(t) {
126
126
  return Array.isArray(t) ? t : [null, void 0, ""].indexOf(t) > -1 ? [] : [t];
127
127
  }
128
- const It = "fcFrame", At = {
129
- name: It,
128
+ const At = "fcFrame", Vt = {
129
+ name: At,
130
130
  props: {
131
131
  formCreateInject: {
132
132
  type: Object,
@@ -487,8 +487,8 @@ const It = "fcFrame", At = {
487
487
  mounted() {
488
488
  this.$on("fc.closeModal", this.closeModal);
489
489
  }
490
- }, Vt = "fcRadio", Pt = {
491
- name: Vt,
490
+ }, Pt = "fcRadio", Tt = {
491
+ name: Pt,
492
492
  props: {
493
493
  formCreateInject: {
494
494
  type: Object,
@@ -546,7 +546,7 @@ const It = "fcFrame", At = {
546
546
  }, {
547
547
  key: i + e + "-" + t.value
548
548
  }]));
549
- }), ee(this.$slots)]);
549
+ }), te(this.$slots)]);
550
550
  },
551
551
  mounted() {
552
552
  this.$emit("fc.el", this.$refs.el);
@@ -584,8 +584,8 @@ const It = "fcFrame", At = {
584
584
  function w(t, e) {
585
585
  return {}.hasOwnProperty.call(t, e);
586
586
  }
587
- const Tt = "fcSelect", Dt = {
588
- name: Tt,
587
+ const Dt = "fcSelect", Bt = {
588
+ name: Dt,
589
589
  functional: !0,
590
590
  props: {
591
591
  formCreateInject: {
@@ -616,8 +616,8 @@ const Tt = "fcSelect", Dt = {
616
616
  mounted() {
617
617
  this.$emit("fc.el", this.$refs.el);
618
618
  }
619
- }, Bt = "fcTree", Lt = {
620
- name: Bt,
619
+ }, Lt = "fcTree", Nt = {
620
+ name: Lt,
621
621
  formCreateParser: {
622
622
  mergeProp(t) {
623
623
  const e = t.prop.props;
@@ -666,24 +666,24 @@ const Tt = "fcSelect", Dt = {
666
666
  check: () => this.updateValue(),
667
667
  "node-click": () => this.updateValue()
668
668
  }
669
- }]), [ee(this.$slots)]);
669
+ }]), [te(this.$slots)]);
670
670
  },
671
671
  mounted() {
672
672
  this.setValue(), this.$emit("fc.el", this.$refs.tree);
673
673
  }
674
674
  };
675
- function Re(t, e) {
675
+ function Ee(t, e) {
676
676
  return {
677
677
  url: t,
678
- name: Nt(t),
678
+ name: Mt(t),
679
679
  uid: e
680
680
  };
681
681
  }
682
- function Nt(t) {
682
+ function Mt(t) {
683
683
  return ("" + t).split("/").pop();
684
684
  }
685
- const Mt = "fcUpload", qt = {
686
- name: Mt,
685
+ const qt = "fcUpload", Ut = {
686
+ name: qt,
687
687
  props: {
688
688
  formCreateInject: {
689
689
  type: Object,
@@ -725,11 +725,11 @@ const Mt = "fcUpload", qt = {
725
725
  };
726
726
  },
727
727
  created() {
728
- this.formCreateInject.prop.props.showFileList === void 0 && (this.formCreateInject.prop.props.showFileList = !1), this.formCreateInject.prop.props.fileList = I(this.value).map(Re);
728
+ this.formCreateInject.prop.props.showFileList === void 0 && (this.formCreateInject.prop.props.showFileList = !1), this.formCreateInject.prop.props.fileList = I(this.value).map(Ee);
729
729
  },
730
730
  watch: {
731
731
  value(t) {
732
- this.$refs.upload.uploadFiles.every((e) => !e.status || e.status === "success") && (this.$refs.upload.uploadFiles = I(t).map(Re), this.uploadList = this.$refs.upload.uploadFiles);
732
+ this.$refs.upload.uploadFiles.every((e) => !e.status || e.status === "success") && (this.$refs.upload.uploadFiles = I(t).map(Ee), this.uploadList = this.$refs.upload.uploadFiles);
733
733
  },
734
734
  limit(t, e) {
735
735
  (e === 1 || t === 1) && this.update();
@@ -820,7 +820,7 @@ const Mt = "fcUpload", qt = {
820
820
  class: "fc-upload-btn"
821
821
  }, [p("i", {
822
822
  class: "el-icon-upload2"
823
- })])]) : null, ee(this.$slots, ["default"])]);
823
+ })])]) : null, te(this.$slots, ["default"])]);
824
824
  },
825
825
  update() {
826
826
  let t = this.$refs.upload.uploadFiles.map((e) => e.url).filter((e) => e !== void 0);
@@ -861,10 +861,10 @@ const Mt = "fcUpload", qt = {
861
861
  }
862
862
  };
863
863
  function F(t, e, r) {
864
- Y.set(t, e, r);
864
+ D.set(t, e, r);
865
865
  }
866
- function N(t, e) {
867
- Y.delete(t, e);
866
+ function L(t, e) {
867
+ D.delete(t, e);
868
868
  }
869
869
  function G(t, e = {}, r) {
870
870
  let i = !1;
@@ -890,20 +890,20 @@ function G(t, e = {}, r) {
890
890
  }
891
891
  return r !== void 0 && Array.isArray(t) ? t.filter((s) => !s || !s.__ctrl) : t;
892
892
  }
893
- function M(t) {
893
+ function N(t) {
894
894
  return G({}, { value: t }).value;
895
895
  }
896
- const Ut = Object.assign || function(t) {
896
+ const Ht = Object.assign || function(t) {
897
897
  for (let e, r = 1; r < arguments.length; r++)
898
898
  for (let i in e = arguments[r], e)
899
899
  Object.prototype.hasOwnProperty.call(e, i) && F(t, i, e[i]);
900
900
  return t;
901
901
  };
902
902
  function m() {
903
- return Ut.apply(this, arguments);
903
+ return Ht.apply(this, arguments);
904
904
  }
905
- const Ht = "fcGroup", xt = {
906
- name: Ht,
905
+ const xt = "fcGroup", Jt = {
906
+ name: xt,
907
907
  props: {
908
908
  field: String,
909
909
  rule: [Array, Object],
@@ -990,7 +990,7 @@ const Ht = "fcGroup", xt = {
990
990
  const n = i.$f.formData();
991
991
  i.$f.once("reloading", () => {
992
992
  i.$f.setValue(n);
993
- }), i.rule = M(t);
993
+ }), i.rule = N(t);
994
994
  }
995
995
  }
996
996
  });
@@ -1055,7 +1055,7 @@ const Ht = "fcGroup", xt = {
1055
1055
  };
1056
1056
  if (this.defaultValue) {
1057
1057
  i.formData || (i.formData = {});
1058
- const s = M(this.defaultValue);
1058
+ const s = N(this.defaultValue);
1059
1059
  m(i.formData, this.field ? {
1060
1060
  [this.field]: s
1061
1061
  } : s);
@@ -1174,9 +1174,9 @@ const Ht = "fcGroup", xt = {
1174
1174
  key: n
1175
1175
  }, {
1176
1176
  on: {
1177
- "update:value": (f) => this.formData(n, f),
1178
- "emit-event": (f, ...g) => this.emitEvent(f, g, o, n),
1179
- input: (f) => this.add$f(o, n, f)
1177
+ "update:value": (h) => this.formData(n, h),
1178
+ "emit-event": (h, ...g) => this.emitEvent(h, g, o, n),
1179
+ input: (h) => this.add$f(o, n, h)
1180
1180
  }
1181
1181
  }, {}, {
1182
1182
  props: {
@@ -1200,8 +1200,8 @@ const Ht = "fcGroup", xt = {
1200
1200
  class: "_fc-group " + (i ? "_fc-group-disabled" : "")
1201
1201
  }, [s]);
1202
1202
  }
1203
- }, Jt = "fcSubForm", Kt = {
1204
- name: Jt,
1203
+ }, Kt = "fcSubForm", Wt = {
1204
+ name: Kt,
1205
1205
  props: {
1206
1206
  rule: Array,
1207
1207
  options: Object,
@@ -1284,16 +1284,16 @@ const Ht = "fcGroup", xt = {
1284
1284
  }
1285
1285
  }]));
1286
1286
  }
1287
- }, Wt = [
1288
- jt,
1289
- At,
1290
- Pt,
1291
- Dt,
1292
- Lt,
1293
- qt,
1294
- xt,
1295
- Kt
1296
- ], Ee = "FormCreate", ue = (t, e) => {
1287
+ }, Gt = [
1288
+ It,
1289
+ Vt,
1290
+ Tt,
1291
+ Bt,
1292
+ Nt,
1293
+ Ut,
1294
+ Jt,
1295
+ Wt
1296
+ ], je = "FormCreate", ue = (t, e) => {
1297
1297
  if (!(!t || t === e)) {
1298
1298
  if (t.formCreateInject)
1299
1299
  return t.formCreateInject;
@@ -1301,13 +1301,15 @@ const Ht = "fcGroup", xt = {
1301
1301
  return ue(t.$parent, e);
1302
1302
  }
1303
1303
  };
1304
- function Gt(t) {
1304
+ function Xt(t, e, r) {
1305
1305
  return {
1306
- name: Ee,
1307
- componentName: Ee,
1306
+ name: je,
1307
+ componentName: je,
1308
1308
  model: {
1309
1309
  prop: "api"
1310
1310
  },
1311
+ components: e,
1312
+ directives: r,
1311
1313
  provide() {
1312
1314
  return {
1313
1315
  $pfc: this
@@ -1361,14 +1363,14 @@ function Gt(t) {
1361
1363
  _renderRule() {
1362
1364
  this.renderRule = [...this.rule || []];
1363
1365
  },
1364
- _updateValue(e) {
1365
- this.destroyed || (this.updateValue = JSON.stringify(e), this.$emit("update:value", e));
1366
+ _updateValue(i) {
1367
+ this.destroyed || (this.updateValue = JSON.stringify(i), this.$emit("update:value", i));
1366
1368
  }
1367
1369
  },
1368
1370
  watch: {
1369
1371
  value: {
1370
- handler(e) {
1371
- JSON.stringify(e || {}) !== this.updateValue && (this.$f.config.forceCoverValue ? this.$f.coverValue(e || {}) : this.$f.setValue(e || {}));
1372
+ handler(i) {
1373
+ JSON.stringify(i || {}) !== this.updateValue && (this.$f.config.forceCoverValue ? this.$f.coverValue(i || {}) : this.$f.setValue(i || {}));
1372
1374
  },
1373
1375
  deep: !0
1374
1376
  },
@@ -1378,46 +1380,46 @@ function Gt(t) {
1378
1380
  },
1379
1381
  deep: !0
1380
1382
  },
1381
- rule(e) {
1382
- e.length === this.renderRule.length && e.every((r) => this.renderRule.indexOf(r) > -1) || (this.formCreate.$handle.reloadRule(e), this._renderRule());
1383
+ rule(i) {
1384
+ i.length === this.renderRule.length && i.every((s) => this.renderRule.indexOf(s) > -1) || (this.formCreate.$handle.reloadRule(i), this._renderRule());
1383
1385
  },
1384
1386
  disabled() {
1385
1387
  this.$f.refresh();
1386
1388
  }
1387
1389
  },
1388
1390
  beforeCreate() {
1389
- this.formCreate = new t(this), Object.keys(this.formCreate.prop).forEach((e) => {
1390
- m(this.$options[e], this.formCreate.prop[e]);
1391
+ this.formCreate = new t(this), Object.keys(this.formCreate.prop).forEach((i) => {
1392
+ m(this.$options[i], this.formCreate.prop[i]);
1391
1393
  }), this.$emit("beforeCreate", this.formCreate.api());
1392
1394
  },
1393
1395
  created() {
1394
- const e = this, r = this.formCreate.api(), i = () => {
1395
- if (e.$pfc) {
1396
- const n = ue(e, e.$pfc);
1397
- if (n) {
1398
- let o;
1399
- e.isMore ? (o = I(n.getSubForm()), o.push(r)) : o = r, n.subForm(o);
1396
+ const i = this, s = this.formCreate.api(), n = () => {
1397
+ if (i.$pfc) {
1398
+ const a = ue(i, i.$pfc);
1399
+ if (a) {
1400
+ let u;
1401
+ i.isMore ? (u = I(a.getSubForm()), u.push(s)) : u = s, a.subForm(u);
1400
1402
  }
1401
1403
  }
1402
- }, s = () => {
1403
- const n = ue(e, e.$pfc);
1404
- if (n)
1405
- if (e.isMore) {
1406
- const o = I(n.getSubForm()), a = o.indexOf(r);
1407
- a > -1 && o.splice(a, 1);
1404
+ }, o = () => {
1405
+ const a = ue(i, i.$pfc);
1406
+ if (a)
1407
+ if (i.isMore) {
1408
+ const u = I(a.getSubForm()), l = u.indexOf(s);
1409
+ l > -1 && u.splice(l, 1);
1408
1410
  } else
1409
- n.subForm();
1411
+ a.subForm();
1410
1412
  };
1411
- e.$on("hook:beforeDestroy", () => {
1412
- s();
1413
- }), this.$watch(() => this.subForm, (n) => {
1414
- n ? i() : s();
1413
+ i.$on("hook:beforeDestroy", () => {
1414
+ o();
1415
+ }), this.$watch(() => this.subForm, (a) => {
1416
+ a ? n() : o();
1415
1417
  }, { immediate: !0 });
1416
1418
  }
1417
1419
  };
1418
1420
  }
1419
- const Ge = ["attrs", "props", "domProps", "scopedSlots"], Xe = ["class", "style", "directives"], ze = ["on", "nativeOn"], B = (t, e = {}, r = {}) => {
1420
- const i = [...Ge, ...r.normal || []], s = [...Xe, ...r.array || []], n = [...ze, ...r.functional || []], o = r.props || [];
1421
+ const Xe = ["attrs", "props", "domProps", "scopedSlots"], ze = ["class", "style", "directives"], Qe = ["on", "nativeOn"], B = (t, e = {}, r = {}) => {
1422
+ const i = [...Xe, ...r.normal || []], s = [...ze, ...r.array || []], n = [...Qe, ...r.functional || []], o = r.props || [];
1421
1423
  return t.reduce((a, u) => {
1422
1424
  for (const l in u)
1423
1425
  if (a[l])
@@ -1426,44 +1428,44 @@ const Ge = ["attrs", "props", "domProps", "scopedSlots"], Xe = ["class", "style"
1426
1428
  else if (i.indexOf(l) > -1)
1427
1429
  a[l] = y(y({}, a[l]), u[l]);
1428
1430
  else if (s.indexOf(l) > -1) {
1429
- const f = a[l] instanceof Array ? a[l] : [a[l]], g = u[l] instanceof Array ? u[l] : [u[l]];
1430
- a[l] = [...f, ...g];
1431
+ const h = a[l] instanceof Array ? a[l] : [a[l]], g = u[l] instanceof Array ? u[l] : [u[l]];
1432
+ a[l] = [...h, ...g];
1431
1433
  } else if (n.indexOf(l) > -1)
1432
- for (const f in u[l])
1433
- if (a[l][f]) {
1434
- const g = a[l][f] instanceof Array ? a[l][f] : [a[l][f]], b = u[l][f] instanceof Array ? u[l][f] : [u[l][f]];
1435
- a[l][f] = [...g, ...b];
1434
+ for (const h in u[l])
1435
+ if (a[l][h]) {
1436
+ const g = a[l][h] instanceof Array ? a[l][h] : [a[l][h]], b = u[l][h] instanceof Array ? u[l][h] : [u[l][h]];
1437
+ a[l][h] = [...g, ...b];
1436
1438
  } else
1437
- a[l][f] = u[l][f];
1439
+ a[l][h] = u[l][h];
1438
1440
  else if (l === "hook")
1439
- for (let f in u[l])
1440
- a[l][f] ? a[l][f] = Xt(a[l][f], u[l][f]) : a[l][f] = u[l][f];
1441
+ for (let h in u[l])
1442
+ a[l][h] ? a[l][h] = zt(a[l][h], u[l][h]) : a[l][h] = u[l][h];
1441
1443
  else
1442
1444
  a[l] = u[l];
1443
1445
  else
1444
1446
  i.indexOf(l) > -1 || n.indexOf(l) > -1 || o.indexOf(l) > -1 ? a[l] = y({}, u[l]) : s.indexOf(l) > -1 ? a[l] = u[l] instanceof Array ? [...u[l]] : typeof u[l] == "object" ? y({}, u[l]) : u[l] : a[l] = u[l];
1445
1447
  return a;
1446
1448
  }, e);
1447
- }, Xt = (t, e) => function() {
1449
+ }, zt = (t, e) => function() {
1448
1450
  t && t.apply(this, arguments), e && e.apply(this, arguments);
1449
- }, Qe = ["type", "slot", "emitPrefix", "value", "name", "native", "hidden", "display", "inject", "options", "emit", "nativeEmit", "link", "prefix", "suffix", "update", "sync", "optionsTo", "key", "preview", "component", "cache"], pe = ["validate", "children", "control"], me = ["effect", "deep"];
1450
- function zt() {
1451
- return [...Qe, ...Ge, ...Xe, ...ze, ...pe, ...me];
1451
+ }, Ze = ["type", "slot", "emitPrefix", "value", "name", "native", "hidden", "display", "inject", "options", "emit", "nativeEmit", "link", "prefix", "suffix", "update", "sync", "optionsTo", "key", "preview", "component", "cache"], pe = ["validate", "children", "control"], me = ["effect", "deep"];
1452
+ function Qt() {
1453
+ return [...Ze, ...Xe, ...ze, ...Qe, ...pe, ...me];
1452
1454
  }
1453
1455
  function ye(t, e, r) {
1454
1456
  return `[form-create ${t}]: ${e}`;
1455
1457
  }
1456
- function Qt(t, e) {
1458
+ function Zt(t, e) {
1457
1459
  console.warn(ye("tip", t));
1458
1460
  }
1459
1461
  function ge(t, e) {
1460
1462
  console.error(ye("err", t));
1461
1463
  }
1462
- function Zt(t) {
1464
+ function Yt(t) {
1463
1465
  ge(t.toString()), console.error(t);
1464
1466
  }
1465
- const fe = "[[FORM-CREATE-PREFIX-", he = "-FORM-CREATE-SUFFIX]]", je = "$FN:", Ie = "$FNX:", K = "function";
1466
- function Ze(t, e) {
1467
+ const fe = "[[FORM-CREATE-PREFIX-", he = "-FORM-CREATE-SUFFIX]]", Ie = "$FN:", Ae = "$FNX:", K = "function";
1468
+ function Ye(t, e) {
1467
1469
  return JSON.stringify(G(Array.isArray(t) ? [] : {}, t, !0), function(r, i) {
1468
1470
  if (!(i && i._isVue === !0)) {
1469
1471
  if (typeof i !== K)
@@ -1475,7 +1477,7 @@ function Ze(t, e) {
1475
1477
  }
1476
1478
  }, e);
1477
1479
  }
1478
- function Ae(t) {
1480
+ function Ve(t) {
1479
1481
  return new Function("return " + t)();
1480
1482
  }
1481
1483
  function U(t, e) {
@@ -1484,15 +1486,15 @@ function U(t, e) {
1484
1486
  try {
1485
1487
  if (r.indexOf(he) > 0 && r.indexOf(fe) === 0)
1486
1488
  r = r.replace(he, "").replace(fe, ""), i = !0;
1487
- else if (r.indexOf(je) === 0)
1488
- r = r.replace(je, ""), i = !0;
1489
+ else if (r.indexOf(Ie) === 0)
1490
+ r = r.replace(Ie, ""), i = !0;
1489
1491
  else {
1490
- if (r.indexOf(Ie) === 0)
1491
- return r = Ae("function($inject){" + r.replace(Ie, "") + "}"), r.__json = t, r.__inject = !0, r;
1492
+ if (r.indexOf(Ae) === 0)
1493
+ return r = Ve("function($inject){" + r.replace(Ae, "") + "}"), r.__json = t, r.__inject = !0, r;
1492
1494
  !e && r.indexOf(K) === 0 && r !== K && (i = !0);
1493
1495
  }
1494
1496
  if (!i) return t;
1495
- const s = Ae(r.indexOf(K) === -1 && r.indexOf("(") !== 0 ? K + " " + r : r);
1497
+ const s = Ve(r.indexOf(K) === -1 && r.indexOf("(") !== 0 ? K + " " + r : r);
1496
1498
  return s.__json = t, s;
1497
1499
  } catch (s) {
1498
1500
  ge(`解析失败:${r}
@@ -1503,12 +1505,12 @@ err: ${s}`);
1503
1505
  }
1504
1506
  return t;
1505
1507
  }
1506
- function Yt(t, e) {
1508
+ function er(t, e) {
1507
1509
  return JSON.parse(t, function(r, i) {
1508
1510
  return c.Undef(i) || !i.indexOf ? i : U(i, e);
1509
1511
  });
1510
1512
  }
1511
- function Ye(t, e) {
1513
+ function et(t, e) {
1512
1514
  return {
1513
1515
  value: t,
1514
1516
  enumerable: !1,
@@ -1517,50 +1519,50 @@ function Ye(t, e) {
1517
1519
  };
1518
1520
  }
1519
1521
  function $e(t) {
1520
- return et([t])[0];
1522
+ return tt([t])[0];
1521
1523
  }
1522
- function et(t, e) {
1524
+ function tt(t, e) {
1523
1525
  return G([], [...t], e || !1);
1524
1526
  }
1525
1527
  function H(t, e) {
1526
1528
  return B(Array.isArray(e) ? e : [e], t, { array: pe, normal: me }), t;
1527
1529
  }
1528
- function Ve(t) {
1530
+ function Pe(t) {
1529
1531
  const e = c.Function(t.getRule) ? t.getRule() : t;
1530
1532
  return e.type || (e.type = "input"), e;
1531
1533
  }
1532
- function er(t, e) {
1534
+ function tr(t, e) {
1533
1535
  return t ? (Object.keys(e || {}).forEach((r) => {
1534
1536
  e[r] && (t[r] = H(t[r] || {}, e[r]));
1535
1537
  }), t) : e;
1536
1538
  }
1537
- function tt(t, e) {
1539
+ function rt(t, e) {
1538
1540
  Object.defineProperties(t, Object.keys(e).reduce((r, i) => (r[i] = {
1539
1541
  get() {
1540
1542
  return e[i]();
1541
1543
  }
1542
1544
  }, r), {}));
1543
1545
  }
1544
- function z(t) {
1546
+ function Z(t) {
1545
1547
  return t.__fc__ || (t.__origin__ ? t.__origin__.__fc__ : null);
1546
1548
  }
1547
1549
  function j(t, e) {
1548
1550
  try {
1549
1551
  e = t();
1550
1552
  } catch (r) {
1551
- Zt(r);
1553
+ Yt(r);
1552
1554
  }
1553
1555
  return e;
1554
1556
  }
1555
- const Pe = (t, e) => typeof t == "string" ? String(e) : typeof t == "number" ? Number(e) : e, W = {
1556
- "==": (t, e) => JSON.stringify(t) === JSON.stringify(Pe(t, e)),
1557
+ const Te = (t, e) => typeof t == "string" ? String(e) : typeof t == "number" ? Number(e) : e, W = {
1558
+ "==": (t, e) => JSON.stringify(t) === JSON.stringify(Te(t, e)),
1557
1559
  "!=": (t, e) => !W["=="](t, e),
1558
1560
  ">": (t, e) => t > e,
1559
1561
  ">=": (t, e) => t >= e,
1560
1562
  "<": (t, e) => t < e,
1561
1563
  "<=": (t, e) => t <= e,
1562
1564
  on(t, e) {
1563
- return t && t.indexOf && t.indexOf(Pe(t[0], e)) > -1;
1565
+ return t && t.indexOf && t.indexOf(Te(t[0], e)) > -1;
1564
1566
  },
1565
1567
  notOn(t, e) {
1566
1568
  return !W.on(t, e);
@@ -1587,7 +1589,7 @@ const Pe = (t, e) => typeof t == "string" ? String(e) : typeof t == "number" ? N
1587
1589
  return new RegExp(e, "g").test(t);
1588
1590
  }
1589
1591
  };
1590
- function rt() {
1592
+ function it() {
1591
1593
  return {
1592
1594
  props: {},
1593
1595
  on: {},
@@ -1606,7 +1608,7 @@ function R(t, e) {
1606
1608
  };
1607
1609
  }
1608
1610
  function ve(t, e, r, i, s) {
1609
- this._data = m(rt(), { type: t, title: e, field: r, value: i, props: s || {} }), this.event = this.on;
1611
+ this._data = m(it(), { type: t, title: e, field: r, value: i, props: s || {} }), this.event = this.on;
1610
1612
  }
1611
1613
  m(ve.prototype, {
1612
1614
  getRule() {
@@ -1620,36 +1622,36 @@ m(ve.prototype, {
1620
1622
  return t._data = $e(this._data), t;
1621
1623
  }
1622
1624
  });
1623
- function it(t) {
1625
+ function nt(t) {
1624
1626
  t.forEach((e) => {
1625
1627
  ve.prototype[e] = function(r) {
1626
1628
  return H(this._data, { [e]: arguments.length < 2 ? r : { [r]: arguments[1] } }), this;
1627
1629
  };
1628
1630
  });
1629
1631
  }
1630
- it(zt());
1631
- const nt = R("");
1632
- function tr(t, e, r) {
1633
- let i = nt("", e);
1632
+ nt(Qt());
1633
+ const st = R("");
1634
+ function rr(t, e, r) {
1635
+ let i = st("", e);
1634
1636
  return i._data.type = t, i._data.title = r, i;
1635
1637
  }
1636
- function Te(t, e, r, i) {
1637
- let s = nt("", r);
1638
+ function De(t, e, r, i) {
1639
+ let s = st("", r);
1638
1640
  return s._data.type = "template", s._data.template = t, s._data.title = i, s._data.vm = e, s;
1639
1641
  }
1640
- function rr() {
1642
+ function ir() {
1641
1643
  return {
1642
- create: tr,
1643
- createTmp: Te,
1644
- template: Te,
1644
+ create: rr,
1645
+ createTmp: De,
1646
+ template: De,
1645
1647
  factory: R
1646
1648
  };
1647
1649
  }
1648
- function ir(t, e, r) {
1650
+ function nr(t, e, r) {
1649
1651
  const i = `fail to ${t} ${r.status}'`, s = new Error(i);
1650
1652
  return s.status = r.status, s.url = t, s;
1651
1653
  }
1652
- function De(t) {
1654
+ function Be(t) {
1653
1655
  const e = t.responseText || t.response;
1654
1656
  if (!e)
1655
1657
  return e;
@@ -1659,7 +1661,7 @@ function De(t) {
1659
1661
  return e;
1660
1662
  }
1661
1663
  }
1662
- function st(t) {
1664
+ function ot(t) {
1663
1665
  if (typeof XMLHttpRequest == "undefined")
1664
1666
  return;
1665
1667
  const e = new XMLHttpRequest(), r = t.action;
@@ -1667,8 +1669,8 @@ function st(t) {
1667
1669
  t.onError(o);
1668
1670
  }, e.onload = function() {
1669
1671
  if (e.status < 200 || e.status >= 300)
1670
- return t.onError(ir(r, t, e), De(e));
1671
- t.onSuccess(De(e));
1672
+ return t.onError(nr(r, t, e), Be(e));
1673
+ t.onSuccess(Be(e));
1672
1674
  }, e.open(t.method || "get", r, !0);
1673
1675
  let i;
1674
1676
  t.data && ((t.dataType || "").toLowerCase() !== "json" ? (i = new FormData(), Object.keys(t.data).map((n) => {
@@ -1679,9 +1681,9 @@ function st(t) {
1679
1681
  s[n] !== null && e.setRequestHeader(n, s[n]);
1680
1682
  }), e.send(i);
1681
1683
  }
1682
- function nr(t) {
1684
+ function sr(t) {
1683
1685
  return new Promise((e, r) => {
1684
- st(q(y({}, t), {
1686
+ ot(q(y({}, t), {
1685
1687
  onSuccess(i) {
1686
1688
  let s = (o) => o;
1687
1689
  const n = U(t.parse);
@@ -1695,10 +1697,10 @@ function nr(t) {
1695
1697
  }));
1696
1698
  });
1697
1699
  }
1698
- function X(t) {
1699
- return M(t);
1700
+ function Q(t) {
1701
+ return N(t);
1700
1702
  }
1701
- function sr(t) {
1703
+ function or(t) {
1702
1704
  function e(n) {
1703
1705
  return c.Undef(n) ? n = t.fields() : Array.isArray(n) || (n = [n]), n;
1704
1706
  }
@@ -1741,13 +1743,13 @@ function sr(t) {
1741
1743
  formData(n) {
1742
1744
  return e(n).reduce((o, a) => {
1743
1745
  const u = t.getFieldCtx(a);
1744
- return u && (o[u.field] = X(u.rule.value)), o;
1745
- }, t.options.appendValue !== !1 ? X(t.appendData) : {});
1746
+ return u && (o[u.field] = Q(u.rule.value)), o;
1747
+ }, t.options.appendValue !== !1 ? Q(t.appendData) : {});
1746
1748
  },
1747
1749
  getValue(n) {
1748
1750
  const o = t.getFieldCtx(n);
1749
1751
  if (o)
1750
- return X(o.rule.value);
1752
+ return Q(o.rule.value);
1751
1753
  },
1752
1754
  coverValue(n) {
1753
1755
  const o = y({}, n || {});
@@ -1756,8 +1758,8 @@ function sr(t) {
1756
1758
  const u = t.fieldCtx[a];
1757
1759
  if (u) {
1758
1760
  const l = w(o, a);
1759
- u.forEach((f) => {
1760
- f.rule.value = l ? o[a] : void 0;
1761
+ u.forEach((h) => {
1762
+ h.rule.value = l ? o[a] : void 0;
1761
1763
  }), delete o[a];
1762
1764
  }
1763
1765
  }), m(t.appendData, o);
@@ -1784,7 +1786,7 @@ function sr(t) {
1784
1786
  }, !0), o ? o.origin : void 0;
1785
1787
  },
1786
1788
  removeRule(n) {
1787
- const o = n && z(n);
1789
+ const o = n && Z(n);
1788
1790
  if (o)
1789
1791
  return o.rm(), o.origin;
1790
1792
  },
@@ -1794,13 +1796,13 @@ function sr(t) {
1794
1796
  fields: () => t.fields(),
1795
1797
  append: (n, o, a) => {
1796
1798
  let u = t.sort.length - 1, l;
1797
- const f = t.getCtx(o);
1798
- f ? a ? (l = f.rule.children, u = f.rule.children.length - 1) : (u = f.root.indexOf(f.origin), l = f.root) : l = t.rules, l.splice(u + 1, 0, n);
1799
+ const h = t.getCtx(o);
1800
+ h ? a ? (l = h.rule.children, u = h.rule.children.length - 1) : (u = h.root.indexOf(h.origin), l = h.root) : l = t.rules, l.splice(u + 1, 0, n);
1799
1801
  },
1800
1802
  prepend: (n, o, a) => {
1801
1803
  let u = 0, l;
1802
- const f = t.getCtx(o);
1803
- f ? a ? l = f.rule.children : (u = f.root.indexOf(f.origin), l = f.root) : l = t.rules, l.splice(u, 0, n);
1804
+ const h = t.getCtx(o);
1805
+ h ? a ? l = h.rule.children : (u = h.root.indexOf(h.origin), l = h.root) : l = t.rules, l.splice(u, 0, n);
1804
1806
  },
1805
1807
  hidden(n, o) {
1806
1808
  r(o, "hidden", !!n), t.refresh();
@@ -1860,7 +1862,7 @@ function sr(t) {
1860
1862
  n.forEach((a) => s.sync(a));
1861
1863
  return;
1862
1864
  }
1863
- let o = c.Object(n) ? z(n) : t.getCtxs(n);
1865
+ let o = c.Object(n) ? Z(n) : t.getCtxs(n);
1864
1866
  o && (o = Array.isArray(o) ? o : [o], o.forEach((a) => {
1865
1867
  if (!a.deleted) {
1866
1868
  const u = t.subForm[a.id];
@@ -1944,9 +1946,11 @@ function sr(t) {
1944
1946
  resetFields(n) {
1945
1947
  e(n).forEach((o) => {
1946
1948
  t.getCtxs(o).forEach((a) => {
1947
- t.$render.clearCache(a), a.rule.value = X(a.defaultValue);
1949
+ t.$render.clearCache(a), a.rule.value = Q(a.defaultValue);
1948
1950
  });
1949
- });
1951
+ }), t.vm.$nextTick(() => {
1952
+ s.clearValidateState();
1953
+ }), n == null && (c.Function(t.options.onReset) && j(() => t.options.onReset(s)), t.vm.$emit("reset", s));
1950
1954
  },
1951
1955
  method(n, o) {
1952
1956
  const a = s.el(n);
@@ -1958,7 +1962,7 @@ function sr(t) {
1958
1962
  return j(() => s.method(n, o)(...a));
1959
1963
  },
1960
1964
  toJson(n) {
1961
- return Ze(s.rule, n);
1965
+ return Ye(s.rule, n);
1962
1966
  },
1963
1967
  trigger(n, o, ...a) {
1964
1968
  const u = s.el(n);
@@ -1990,7 +1994,7 @@ function sr(t) {
1990
1994
  },
1991
1995
  fetch(n) {
1992
1996
  return new Promise((o, a) => {
1993
- t.beforeFetch(n).then(() => nr(n).then(o).catch(a));
1997
+ t.beforeFetch(n).then(() => sr(n).then(o).catch(a));
1994
1998
  });
1995
1999
  },
1996
2000
  getData(n, o) {
@@ -2010,7 +2014,7 @@ function sr(t) {
2010
2014
  };
2011
2015
  }), s.changeValue = s.changeField = s.setValue, s;
2012
2016
  }
2013
- function or(t) {
2017
+ function ar(t) {
2014
2018
  m(t.prototype, {
2015
2019
  initCache() {
2016
2020
  this.clearCacheAll();
@@ -2048,30 +2052,30 @@ function A(t) {
2048
2052
  const e = t.replace(/(-[a-z])/g, function(r) {
2049
2053
  return r.replace("-", "").toLocaleUpperCase();
2050
2054
  });
2051
- return ot(e);
2055
+ return at(e);
2052
2056
  }
2053
- function ot(t) {
2057
+ function at(t) {
2054
2058
  return t.replace(t[0], t[0].toLowerCase());
2055
2059
  }
2056
- function at(t) {
2060
+ function lt(t) {
2057
2061
  return t == null ? "" : typeof t == "object" ? JSON.stringify(t, null, 2) : String(t);
2058
2062
  }
2059
- function Q(t) {
2063
+ function Y(t) {
2060
2064
  let e = t.replace(/([A-Z])/g, "-$1").toLocaleLowerCase();
2061
2065
  return e.indexOf("-") === 0 && (e = e.substr(1)), e;
2062
2066
  }
2063
- let ar = 0;
2064
- function te() {
2065
- const t = 370 + ++ar;
2067
+ let lr = 0;
2068
+ function re() {
2069
+ const t = 370 + ++lr;
2066
2070
  return "F" + Math.random().toString(36).substr(3, 3) + (+`${Date.now()}`).toString(36) + t.toString(36) + "c";
2067
2071
  }
2068
- function Z(t, e, r) {
2072
+ function ee(t, e, r) {
2069
2073
  let i = t, s;
2070
2074
  return (e || "").split(".").forEach((n) => {
2071
2075
  s && ((!i[s] || typeof i[s] != "object") && (i[s] = {}), i = i[s]), s = n;
2072
2076
  }), i[s] = r, i;
2073
2077
  }
2074
- function lr(t) {
2078
+ function ur(t) {
2075
2079
  m(t.prototype, {
2076
2080
  initRender() {
2077
2081
  this.tempList = {}, this.clearOrgChildren();
@@ -2093,7 +2097,7 @@ function lr(t) {
2093
2097
  const r = (i) => {
2094
2098
  if (i) {
2095
2099
  let s;
2096
- return e.rule.field && (s = i.$scopedSlots["field-" + Q(e.rule.field)] || i.$scopedSlots["field-" + e.rule.field]), s || (s = i.$scopedSlots["type-" + Q(e.type)] || i.$scopedSlots["type-" + e.type]), s || r(i.$pfc);
2100
+ return e.rule.field && (s = i.$scopedSlots["field-" + Y(e.rule.field)] || i.$scopedSlots["field-" + e.rule.field]), s || (s = i.$scopedSlots["type-" + Y(e.type)] || i.$scopedSlots["type-" + e.type]), s || r(i.$pfc);
2097
2101
  }
2098
2102
  };
2099
2103
  return r(this.vm);
@@ -2115,8 +2119,8 @@ function lr(t) {
2115
2119
  if (c.Function(r))
2116
2120
  return j(() => e.vm(this.$handle.getInjectData(e)));
2117
2121
  if (!r._isVue)
2118
- return new L(r);
2119
- } else return new L();
2122
+ return new D(r);
2123
+ } else return new D();
2120
2124
  return r;
2121
2125
  },
2122
2126
  mergeGlobal(e) {
@@ -2124,12 +2128,12 @@ function lr(t) {
2124
2128
  r && (e.cacheConfig || (e.cacheConfig = r[e.originType] || r[e.type] || r[e.trueType] || {}), e.prop = H({}, [r["*"], e.cacheConfig, e.prop]));
2125
2129
  },
2126
2130
  setOptions(e) {
2127
- e.prop.optionsTo && e.prop.options && Z(e.prop, e.prop.optionsTo, e.prop.options);
2131
+ e.prop.optionsTo && e.prop.options && ee(e.prop, e.prop.optionsTo, e.prop.options);
2128
2132
  },
2129
2133
  deepSet(e) {
2130
2134
  const r = e.rule.deep;
2131
2135
  r && Object.keys(r).sort((i, s) => i.length < s.length ? -1 : 1).forEach((i) => {
2132
- Z(e.prop, i, r[i]);
2136
+ ee(e.prop, i, r[i]);
2133
2137
  });
2134
2138
  },
2135
2139
  setTempProps(e, r) {
@@ -2142,8 +2146,8 @@ function lr(t) {
2142
2146
  s.indexOf(a) > -1 && (e.$props[a] = i.value);
2143
2147
  },
2144
2148
  renderTemp(e) {
2145
- if (!L.compile)
2146
- return Qt("当前使用的Vue构建版本不支持compile,无法使用template功能"), [];
2149
+ if (!D.compile)
2150
+ return Zt("当前使用的Vue构建版本不支持compile,无法使用template功能"), [];
2147
2151
  const r = e.prop, { id: i, key: s } = e;
2148
2152
  if (!this.tempList[i]) {
2149
2153
  e.el || (e.el = this.makeVm(r), this.vm.$nextTick(() => e.parser.mounted(e)));
@@ -2152,7 +2156,7 @@ function lr(t) {
2152
2156
  this.onInput(e, l);
2153
2157
  }), this.tempList[i] = {
2154
2158
  vm: u,
2155
- template: L.compile(r.template)
2159
+ template: D.compile(r.template)
2156
2160
  };
2157
2161
  }
2158
2162
  const { vm: n, template: o } = this.tempList[i];
@@ -2196,17 +2200,17 @@ function lr(t) {
2196
2200
  if (o === "template" && u.template)
2197
2201
  s = this.renderTemp(e), n = !1;
2198
2202
  else {
2199
- let f = [];
2200
- e.parser.renderChildren ? f = e.parser.renderChildren(e) : e.parser.loadChildren !== !1 && (f = this.renderChildren(e));
2203
+ let h = [];
2204
+ e.parser.renderChildren ? h = e.parser.renderChildren(e) : e.parser.loadChildren !== !1 && (h = this.renderChildren(e));
2201
2205
  const g = this.getTypeSlot(e);
2202
2206
  g ? s = g({
2203
2207
  rule: i,
2204
2208
  prop: u,
2205
2209
  preview: l,
2206
- children: f,
2210
+ children: h,
2207
2211
  api: this.$handle.api,
2208
2212
  model: u.model || {}
2209
- }) : s = l ? e.parser.preview(f, e) : e.parser.render(f, e);
2213
+ }) : s = l ? e.parser.preview(h, e) : e.parser.render(h, e);
2210
2214
  }
2211
2215
  s = this.renderSides(s, e), !(!e.input && c.Undef(u.native)) && u.native !== !0 && (s = this.$manager.makeWrap(e, s)), a && (s = this.display(s)), s = this.item(e, s);
2212
2216
  }
@@ -2320,7 +2324,7 @@ function lr(t) {
2320
2324
  },
2321
2325
  defaultRender(e, r) {
2322
2326
  const i = e.prop;
2323
- return i.component ? this.vNode.makeComponent(i.component, i, r) : this.vNode[e.type] ? this.vNode[e.type](i, r) : this.vNode[e.originType] ? this.vNode[e.originType](i, r) : this.vNode.make(ot(e.originType), i, r);
2327
+ return i.component ? this.vNode.makeComponent(i.component, i, r) : this.vNode[e.type] ? this.vNode[e.type](i, r) : this.vNode[e.originType] ? this.vNode[e.originType](i, r) : this.vNode.make(at(e.originType), i, r);
2324
2328
  },
2325
2329
  renderRule(e, r, i) {
2326
2330
  if (!e) return;
@@ -2346,7 +2350,7 @@ function be(t) {
2346
2350
  vm: t.vm,
2347
2351
  $manager: t.$manager,
2348
2352
  vNode: new t.fc.CreateNode(t.vm)
2349
- }), tt(this, {
2353
+ }), rt(this, {
2350
2354
  options() {
2351
2355
  return t.options;
2352
2356
  },
@@ -2355,9 +2359,9 @@ function be(t) {
2355
2359
  }
2356
2360
  }), this.initCache(), this.initRender();
2357
2361
  }
2358
- or(be);
2359
- lr(be);
2360
- function ur(t) {
2362
+ ar(be);
2363
+ ur(be);
2364
+ function fr(t) {
2361
2365
  m(t.prototype, {
2362
2366
  parseInjectEvent(e, r) {
2363
2367
  const i = e.inject || this.options.injectEvent;
@@ -2382,19 +2386,19 @@ function ur(t) {
2382
2386
  },
2383
2387
  parseEmit(e, r) {
2384
2388
  let i = {}, s = e.rule, { emitPrefix: n, field: o, name: a, inject: u } = s, l = s[r ? "emit" : "nativeEmit"] || [];
2385
- return c.trueArray(l) && l.forEach((f) => {
2386
- if (!f) return;
2389
+ return c.trueArray(l) && l.forEach((h) => {
2390
+ if (!h) return;
2387
2391
  let g, b = n || o || a;
2388
- if (c.Object(f) && (g = f.inject, f = f.name, b = f.prefix || b), b) {
2392
+ if (c.Object(h) && (g = h.inject, h = h.name, b = h.prefix || b), b) {
2389
2393
  r || (b = `native-${b}`);
2390
- const _ = Q(`${b}-${f}`), v = (...k) => {
2391
- this.vm.$emit(_, ...k), this.vm.$emit("emit-event", _, ...k);
2394
+ const k = Y(`${b}-${h}`), $ = (...O) => {
2395
+ this.vm.$emit(k, ...O), this.vm.$emit("emit-event", k, ...O);
2392
2396
  };
2393
- if (v.__emit = !0, !g && u === !1)
2394
- i[f] = v;
2397
+ if ($.__emit = !0, !g && u === !1)
2398
+ i[h] = $;
2395
2399
  else {
2396
- let k = g || u || this.options.injectEvent;
2397
- i[f] = c.Undef(k) ? v : this.inject(s, v, k);
2400
+ let O = g || u || this.options.injectEvent;
2401
+ i[h] = c.Undef(O) ? $ : this.inject(s, $, O);
2398
2402
  }
2399
2403
  }
2400
2404
  }), e.computed[r ? "on" : "nativeOn"] = i, i;
@@ -2424,13 +2428,13 @@ function ur(t) {
2424
2428
  }
2425
2429
  });
2426
2430
  }
2427
- const Be = ["hook:updated", "hook:mounted"];
2428
- function fr(t) {
2431
+ const Le = ["hook:updated", "hook:mounted"];
2432
+ function hr(t) {
2429
2433
  m(t.prototype, {
2430
2434
  usePage() {
2431
2435
  const e = this.options.page;
2432
2436
  if (!e) return;
2433
- let r = 25, i = hr(this.rules);
2437
+ let r = 25, i = cr(this.rules);
2434
2438
  c.Object(e) && (e.first && (r = parseInt(e.first, 10) || r), e.limit && (i = parseInt(e.limit, 10) || i)), m(this, {
2435
2439
  first: r,
2436
2440
  limit: i,
@@ -2439,16 +2443,16 @@ function fr(t) {
2439
2443
  },
2440
2444
  pageLoad() {
2441
2445
  const e = () => {
2442
- this.pageEnd ? (this.vm.$off(Be, e), this.bus.$emit("page-end")) : (this.first += this.limit, this.pageEnd = this.rules.length <= this.first, this.loadRule(), this.refresh());
2446
+ this.pageEnd ? (this.vm.$off(Le, e), this.bus.$emit("page-end")) : (this.first += this.limit, this.pageEnd = this.rules.length <= this.first, this.loadRule(), this.refresh());
2443
2447
  };
2444
- this.vm.$on(Be, e);
2448
+ this.vm.$on(Le, e);
2445
2449
  }
2446
2450
  });
2447
2451
  }
2448
- function hr(t) {
2452
+ function cr(t) {
2449
2453
  return t.length < 31 ? 31 : Math.ceil(t.length / 3);
2450
2454
  }
2451
- function cr(t) {
2455
+ function dr(t) {
2452
2456
  m(t.prototype, {
2453
2457
  clearNextTick() {
2454
2458
  this.nextTick && clearTimeout(this.nextTick), this.nextTick = null;
@@ -2463,13 +2467,13 @@ function cr(t) {
2463
2467
  }
2464
2468
  });
2465
2469
  }
2466
- function dr(t) {
2470
+ function pr(t) {
2467
2471
  Object.defineProperties(t.origin, {
2468
- __fc__: Ye(t, !0)
2472
+ __fc__: et(t, !0)
2469
2473
  });
2470
2474
  }
2471
- function lt(t, e, r) {
2472
- const i = te();
2475
+ function ut(t, e, r) {
2476
+ const i = re();
2473
2477
  m(this, {
2474
2478
  id: i,
2475
2479
  ref: i,
@@ -2489,11 +2493,11 @@ function lt(t, e, r) {
2489
2493
  input: !!e.field,
2490
2494
  el: void 0,
2491
2495
  exportEl: void 0,
2492
- defaultValue: e.field ? M(r) : void 0,
2496
+ defaultValue: e.field ? N(r) : void 0,
2493
2497
  field: e.field || void 0
2494
- }), this.updateType(), this.updateKey(), dr(this), this.update(t, !0);
2498
+ }), this.updateType(), this.updateKey(), pr(this), this.update(t, !0);
2495
2499
  }
2496
- m(lt.prototype, {
2500
+ m(ut.prototype, {
2497
2501
  effectData(t) {
2498
2502
  return this.payload[t] || (this.payload[t] = {}), this.payload[t];
2499
2503
  },
@@ -2501,7 +2505,7 @@ m(lt.prototype, {
2501
2505
  t === void 0 ? this.payload = {} : delete this.payload[t];
2502
2506
  },
2503
2507
  updateKey(t) {
2504
- this.key = te(), t && this.parent && this.parent.updateKey(t);
2508
+ this.key = re(), t && this.parent && this.parent.updateKey(t);
2505
2509
  },
2506
2510
  updateType() {
2507
2511
  this.originType = this.rule.type, this.type = A(this.rule.type);
@@ -2594,7 +2598,7 @@ m(lt.prototype, {
2594
2598
  }), !e && this.unwatch(), this.watchTo(), this.link();
2595
2599
  }
2596
2600
  });
2597
- function pr(t) {
2601
+ function mr(t) {
2598
2602
  m(t.prototype, {
2599
2603
  nextRefresh(e) {
2600
2604
  const r = this.loadedId;
@@ -2603,10 +2607,10 @@ function pr(t) {
2603
2607
  });
2604
2608
  },
2605
2609
  parseRule(e) {
2606
- const r = Ve(e);
2610
+ const r = Pe(e);
2607
2611
  return Object.defineProperties(r, {
2608
- __origin__: Ye(e, !0)
2609
- }), mr(r), this.appendValue(r), r.options = Array.isArray(r.options) ? r.options : [], [r, r.prefix, r.suffix].forEach((i) => {
2612
+ __origin__: et(e, !0)
2613
+ }), yr(r), this.appendValue(r), r.options = Array.isArray(r.options) ? r.options : [], [r, r.prefix, r.suffix].forEach((i) => {
2610
2614
  i && this.loadFn(i, r);
2611
2615
  }), this.loadCtrl(r), r.update && (r.update = U(r.update)), r;
2612
2616
  },
@@ -2654,91 +2658,91 @@ function pr(t) {
2654
2658
  if (r && !c.Object(n) || !this.pageEnd && !r && o >= this.first) return;
2655
2659
  if (n.__fc__ && n.__fc__.root === e && this.ctxs[n.__fc__.id])
2656
2660
  return s(n.__fc__.rule.children, n.__fc__), n.__fc__;
2657
- let a = Ve(n);
2661
+ let a = Pe(n);
2658
2662
  const u = () => !!(a.field && this.fieldCtx[a.field] && this.fieldCtx[a.field][0] !== n.__fc__);
2659
2663
  this.ruleEffect(a, "init", { repeat: u() }), u() && this.vm.$emit("repeat-field", n, this.api);
2660
- let l, f = !1, g = !!n.__fc__, b = a.value;
2664
+ let l, h = !1, g = !!n.__fc__, b = a.value;
2661
2665
  if (g) {
2662
2666
  l = n.__fc__, b = l.defaultValue;
2663
- const v = !l.check(this);
2667
+ const $ = !l.check(this);
2664
2668
  if (l.deleted) {
2665
- if (v) {
2666
- if (Le(l))
2669
+ if ($) {
2670
+ if (Ne(l))
2667
2671
  return;
2668
2672
  l.update(this);
2669
2673
  }
2670
- } else if (v) {
2671
- if (Le(l))
2674
+ } else if ($) {
2675
+ if (Ne(l))
2672
2676
  return;
2673
- e[o] = n = n._clone ? n._clone() : $e(n), l = null, f = !0;
2677
+ e[o] = n = n._clone ? n._clone() : $e(n), l = null, h = !0;
2674
2678
  }
2675
2679
  }
2676
2680
  if (l)
2677
- l.originType !== l.rule.type && (l.updateType(), this.bindParser(l)), this.appendValue(l.rule);
2681
+ l.originType !== l.rule.type && l.updateType(), this.bindParser(l), this.appendValue(l.rule);
2678
2682
  else {
2679
- const v = this.parseRule(n);
2680
- l = new lt(this, v, b), this.bindParser(l);
2683
+ const $ = this.parseRule(n);
2684
+ l = new ut(this, $, b), this.bindParser(l);
2681
2685
  }
2682
- if ([!1, !0].forEach((v) => this.parseEmit(l, v)), this.syncProp(l), l.parent = r || null, l.root = e, this.setCtx(l), !f && !g && this.effect(l, "load"), this.effect(l, "created"), l.parser.loadChildren === !1 || s(l.rule.children, l), !r) {
2683
- const v = i(o);
2684
- v > -1 || !o ? this.sort.splice(v + 1, 0, l.id) : this.sort.push(l.id);
2686
+ if ([!1, !0].forEach(($) => this.parseEmit(l, $)), this.syncProp(l), l.parent = r || null, l.root = e, this.setCtx(l), !h && !g && this.effect(l, "load"), this.effect(l, "created"), l.parser.loadChildren === !1 || s(l.rule.children, l), !r) {
2687
+ const $ = i(o);
2688
+ $ > -1 || !o ? this.sort.splice($ + 1, 0, l.id) : this.sort.push(l.id);
2685
2689
  }
2686
- const _ = l.rule;
2687
- return l.updated || (l.updated = !0, c.Function(_.update) && this.bus.$once("load-end", () => {
2688
- this.refreshUpdate(l, _.value, "init");
2689
- }), this.effect(l, "loaded")), l.input && Object.defineProperty(_, "value", this.valueHandle(l)), this.refreshControl(l) && (this.cycleLoad = !0), l;
2690
+ const k = l.rule;
2691
+ return l.updated || (l.updated = !0, c.Function(k.update) && this.bus.$once("load-end", () => {
2692
+ this.refreshUpdate(l, k.value, "init");
2693
+ }), this.effect(l, "loaded")), l.input && Object.defineProperty(k, "value", this.valueHandle(l)), this.refreshControl(l) && (this.cycleLoad = !0), l;
2690
2694
  });
2691
2695
  },
2692
2696
  refreshControl(e) {
2693
2697
  return e.input && e.rule.control && this.useCtrl(e);
2694
2698
  },
2695
2699
  useCtrl(e) {
2696
- const r = yr(e), i = [], s = this.api;
2700
+ const r = gr(e), i = [], s = this.api;
2697
2701
  if (!r.length) return !1;
2698
2702
  for (let a = 0; a < r.length; a++) {
2699
2703
  const u = r[a], l = u.handle || function(g) {
2700
2704
  return (W[u.condition || "=="] || W["=="])(g, u.value);
2701
2705
  };
2702
2706
  if (!c.trueArray(u.rule)) continue;
2703
- const f = q(y({}, u), {
2707
+ const h = q(y({}, u), {
2704
2708
  valid: j(() => l(e.rule.value, s)),
2705
- ctrl: gr(e, u.rule),
2709
+ ctrl: $r(e, u.rule),
2706
2710
  isHidden: c.String(u.rule[0])
2707
2711
  });
2708
- f.valid && f.ctrl || !f.valid && !f.ctrl && !f.isHidden || i.push(f);
2712
+ h.valid && h.ctrl || !h.valid && !h.ctrl && !h.isHidden || i.push(h);
2709
2713
  }
2710
2714
  if (!i.length) return !1;
2711
2715
  const n = [];
2712
2716
  let o = !1;
2713
2717
  return this.deferSyncValue(() => {
2714
- i.reverse().forEach(({ isHidden: a, valid: u, rule: l, prepend: f, append: g, child: b, ctrl: _, method: v }) => {
2718
+ i.reverse().forEach(({ isHidden: a, valid: u, rule: l, prepend: h, append: g, child: b, ctrl: k, method: $ }) => {
2715
2719
  if (a) {
2716
2720
  u ? e.ctrlRule.push({
2717
2721
  __ctrl: !0,
2718
2722
  children: l,
2719
2723
  valid: u
2720
- }) : e.ctrlRule.splice(e.ctrlRule.indexOf(_), 1), n[u ? "push" : "unshift"](() => {
2721
- v === "disabled" ? this.api.disabled(!u, l) : v === "display" ? this.api.display(u, l) : v === "required" ? (l.forEach((k) => {
2722
- this.api.setEffect(k, "required", u);
2724
+ }) : k && e.ctrlRule.splice(e.ctrlRule.indexOf(k) >>> 0, 1), n[u ? "push" : "unshift"](() => {
2725
+ $ === "disabled" || $ === "enabled" ? this.api.disabled(!u, l) : $ === "display" ? this.api.display(u, l) : $ === "required" ? (l.forEach((O) => {
2726
+ this.api.setEffect(O, "required", u);
2723
2727
  }), u || this.api.clearValidateState(l)) : this.api.hidden(!u, l);
2724
2728
  });
2725
2729
  return;
2726
2730
  }
2727
2731
  if (u) {
2728
2732
  o = !0;
2729
- const k = {
2733
+ const O = {
2730
2734
  type: "fcFragment",
2731
2735
  native: !0,
2732
2736
  __ctrl: !0,
2733
2737
  children: l
2734
2738
  };
2735
- e.ctrlRule.push(k), this.bus.$once("load-start", () => {
2736
- f ? s.prepend(k, f, b) : g || b ? s.append(k, g || e.id, b) : e.root.splice(e.root.indexOf(e.origin) + 1, 0, k);
2739
+ e.ctrlRule.push(O), this.bus.$once("load-start", () => {
2740
+ h ? s.prepend(O, h, b) : g || b ? s.append(O, g || e.id, b) : e.root.splice(e.root.indexOf(e.origin) + 1, 0, O);
2737
2741
  });
2738
2742
  } else {
2739
- e.ctrlRule.splice(e.ctrlRule.indexOf(_), 1);
2740
- const k = z(_);
2741
- k && k.rm();
2743
+ e.ctrlRule.splice(e.ctrlRule.indexOf(k), 1);
2744
+ const O = Z(k);
2745
+ O && O.rm();
2742
2746
  }
2743
2747
  });
2744
2748
  }), n.length && this.vm.$nextTick(() => {
@@ -2763,27 +2767,27 @@ function pr(t) {
2763
2767
  }
2764
2768
  });
2765
2769
  }
2766
- function mr(t) {
2767
- const e = rt();
2770
+ function yr(t) {
2771
+ const e = it();
2768
2772
  return Object.keys(e).forEach((r) => {
2769
2773
  w(t, r) || F(t, r, e[r]);
2770
2774
  }), t;
2771
2775
  }
2772
- function yr(t) {
2776
+ function gr(t) {
2773
2777
  const e = t.rule.control || [];
2774
2778
  return c.Object(e) ? [e] : e;
2775
2779
  }
2776
- function gr(t, e) {
2780
+ function $r(t, e) {
2777
2781
  for (let r = 0; r < t.ctrlRule.length; r++) {
2778
2782
  const i = t.ctrlRule[r];
2779
2783
  if (i.children === e)
2780
2784
  return i;
2781
2785
  }
2782
2786
  }
2783
- function Le(t) {
2787
+ function Ne(t) {
2784
2788
  return !!t.rule.__ctrl;
2785
2789
  }
2786
- function $r(t) {
2790
+ function vr(t) {
2787
2791
  m(t.prototype, {
2788
2792
  getValue(e) {
2789
2793
  return c.Undef(e.cacheValue) && (e.cacheValue = e.parser.toValue(this.getFormData(e), e)), e.cacheValue;
@@ -2806,14 +2810,14 @@ function $r(t) {
2806
2810
  return this.formData[e.id];
2807
2811
  },
2808
2812
  validate() {
2809
- return Me(this.vm.validate), this.fields().forEach((e) => {
2813
+ return qe(this.vm.validate), this.fields().forEach((e) => {
2810
2814
  this.fieldCtx[e].forEach((r) => {
2811
2815
  this.vm.validate[r.id] = I(r.rule.validate);
2812
2816
  });
2813
2817
  }), this.vm.validate;
2814
2818
  },
2815
2819
  syncForm() {
2816
- Me(this.form), Object.defineProperties(this.form, this.fields().reduce((e, r) => {
2820
+ qe(this.form), Object.defineProperties(this.form, this.fields().reduce((e, r) => {
2817
2821
  const i = this.getFieldCtx(r), s = this.valueHandle(i);
2818
2822
  return s.configurable = !0, e[r] = s, e;
2819
2823
  }, this.options.appendValue !== !1 ? Object.keys(this.appendData).reduce((e, r) => (e[r] = {
@@ -2849,7 +2853,7 @@ function $r(t) {
2849
2853
  this.vm._updateValue(y(y({}, this.options.appendValue !== !1 ? this.appendData : {}), this.form));
2850
2854
  },
2851
2855
  isChange(e, r) {
2852
- return JSON.stringify(e.rule.value, Ne) !== JSON.stringify(r === null ? void 0 : r, Ne);
2856
+ return JSON.stringify(e.rule.value, Me) !== JSON.stringify(r === null ? void 0 : r, Me);
2853
2857
  },
2854
2858
  isQuote(e, r) {
2855
2859
  return (c.Object(r) || Array.isArray(r)) && r === e.rule.value;
@@ -2882,10 +2886,10 @@ function $r(t) {
2882
2886
  }
2883
2887
  });
2884
2888
  }
2885
- function Ne(t, e) {
2889
+ function Me(t, e) {
2886
2890
  return typeof e == "function" ? "" + e : e;
2887
2891
  }
2888
- function Me(t) {
2892
+ function qe(t) {
2889
2893
  Object.keys(t).forEach((e) => delete t[e]);
2890
2894
  }
2891
2895
  const ce = {
@@ -2907,8 +2911,8 @@ const ce = {
2907
2911
  },
2908
2912
  mergeProp(t) {
2909
2913
  }
2910
- }, vr = ["field", "value", "vm", "template", "name", "config", "control", "inject", "sync", "payload", "optionsTo", "update", "component", "cache"];
2911
- function br(t) {
2914
+ }, br = ["field", "value", "vm", "template", "name", "config", "control", "inject", "sync", "payload", "optionsTo", "update", "component", "cache"];
2915
+ function Cr(t) {
2912
2916
  m(t.prototype, {
2913
2917
  getCtx(e) {
2914
2918
  return this.getFieldCtx(e) || this.getNameCtx(e)[0] || this.ctxs[e];
@@ -2952,7 +2956,7 @@ function br(t) {
2952
2956
  },
2953
2957
  watchCtx(e) {
2954
2958
  const r = this.vm;
2955
- Object.keys(e.rule).filter((i) => i[0] !== "_" && i[0] !== "$" && vr.indexOf(i) === -1).forEach((i) => {
2959
+ Object.keys(e.rule).filter((i) => i[0] !== "_" && i[0] !== "$" && br.indexOf(i) === -1).forEach((i) => {
2956
2960
  const s = i === "children";
2957
2961
  e.watch.push(r.$watch(() => e.rule[i], (n, o) => {
2958
2962
  if (!(this.loading || this.noWatchFn || this.reloading)) {
@@ -2993,7 +2997,7 @@ function br(t) {
2993
2997
  e.input && Object.defineProperty(e.rule, "value", {
2994
2998
  value: e.rule.value,
2995
2999
  writable: !0
2996
- }), N(this.ctxs, r), N(this.$render.tempList, r), N(this.$render.orgChildren, r), N(this.vm.ctxInject, r), N(this.formData, r), N(this.subForm, r), N(e, "cacheValue"), s && this.rmIdCtx(e, i, "field"), n && this.rmIdCtx(e, n, "name"), s && !w(this.fieldCtx, i) && N(this.form, i), this.deferSyncValue(() => {
3000
+ }), L(this.ctxs, r), L(this.$render.tempList, r), L(this.$render.orgChildren, r), L(this.vm.ctxInject, r), L(this.formData, r), L(this.subForm, r), L(e, "cacheValue"), s && this.rmIdCtx(e, i, "field"), n && this.rmIdCtx(e, n, "name"), s && !w(this.fieldCtx, i) && L(this.form, i), this.deferSyncValue(() => {
2997
3001
  this.reloading || (e.parser.loadChildren !== !1 && c.trueArray(e.rule.children) && e.rule.children.forEach((a) => a.__fc__ && this.rmCtx(a.__fc__)), e.root === this.rules && this.vm._renderRule());
2998
3002
  }, s);
2999
3003
  const o = this.sort.indexOf(r);
@@ -3001,7 +3005,7 @@ function br(t) {
3001
3005
  }
3002
3006
  });
3003
3007
  }
3004
- function Cr(t) {
3008
+ function _r(t) {
3005
3009
  m(t.prototype, {
3006
3010
  mounted() {
3007
3011
  const e = () => {
@@ -3022,13 +3026,13 @@ function Cr(t) {
3022
3026
  }
3023
3027
  });
3024
3028
  }
3025
- function _r(t) {
3029
+ function kr(t) {
3026
3030
  m(t.prototype, {
3027
3031
  useProvider() {
3028
3032
  const e = this.fc.providers;
3029
3033
  Object.keys(e).forEach((r) => {
3030
3034
  let i = e[r];
3031
- c.Function(i) && (i = i(this.fc)), i._c = Or(i), this.onEffect(i), this.providers[r] = i;
3035
+ c.Function(i) && (i = i(this.fc)), i._c = wr(i), this.onEffect(i), this.providers[r] = i;
3032
3036
  });
3033
3037
  },
3034
3038
  onEffect(e) {
@@ -3082,32 +3086,32 @@ function _r(t) {
3082
3086
  },
3083
3087
  emitEffect({ ctx: e, rule: r, input: i, type: s, custom: n }, o, a) {
3084
3088
  if (!s || s === "fcFragment") return;
3085
- const u = n || Object.keys(r).reduce((l, f) => (f[0] === "$" && (l[f.substr(1)] = r[f]), l), y({}, r.effect || {}));
3089
+ const u = n || Object.keys(r).reduce((l, h) => (h[0] === "$" && (l[h.substr(1)] = r[h]), l), y({}, r.effect || {}));
3086
3090
  Object.keys(u).forEach((l) => {
3087
- const f = this.providers[l];
3088
- if (!f || f.input && !i) return;
3091
+ const h = this.providers[l];
3092
+ if (!h || h.input && !i) return;
3089
3093
  let g;
3090
- if (!f._c)
3094
+ if (!h._c)
3091
3095
  g = "*";
3092
- else if (f._used.indexOf(s) > -1)
3096
+ else if (h._used.indexOf(s) > -1)
3093
3097
  g = s;
3094
3098
  else
3095
3099
  return;
3096
3100
  const b = y({ value: u[l], getValue: () => this.getEffect(r, l) }, a || {});
3097
- e && (b.getProp = () => e.effectData(l), b.clearProp = () => e.clearEffectData(l), b.mergeProp = (_) => H(b.getProp(), [_]), b.id = e.id), this.bus.$emit(`p:${l}:${g}:${f.input ? 1 : 0}`, o, [b, r, this.api]);
3101
+ e && (b.getProp = () => e.effectData(l), b.clearProp = () => e.clearEffectData(l), b.mergeProp = (k) => H(b.getProp(), [k]), b.id = e.id), this.bus.$emit(`p:${l}:${g}:${h.input ? 1 : 0}`, o, [b, r, this.api]);
3098
3102
  });
3099
3103
  }
3100
3104
  });
3101
3105
  }
3102
- function kr(t) {
3106
+ function Or(t) {
3103
3107
  return t.filter(function(e, r, i) {
3104
3108
  return i.indexOf(e, 0) === r;
3105
3109
  });
3106
3110
  }
3107
- function Or(t) {
3111
+ function wr(t) {
3108
3112
  const e = t.components;
3109
3113
  if (Array.isArray(e)) {
3110
- const r = kr(e.filter((i) => i !== "*"));
3114
+ const r = Or(e.filter((i) => i !== "*"));
3111
3115
  return r.length ? r : !1;
3112
3116
  } else return c.String(e) ? [e] : !1;
3113
3117
  }
@@ -3134,14 +3138,14 @@ function P(t) {
3134
3138
  nextReload: () => {
3135
3139
  this.lifecycle("reload");
3136
3140
  }
3137
- }), tt(this, {
3141
+ }), rt(this, {
3138
3142
  options() {
3139
3143
  return t.options;
3140
3144
  },
3141
3145
  bus() {
3142
3146
  return t.bus;
3143
3147
  }
3144
- }), this.initData(t.rules), this.$manager = new t.manager(this), this.$render = new be(this), this.api = t.extendApi(sr(this), this);
3148
+ }), this.initData(t.rules), this.$manager = new t.manager(this), this.$render = new be(this), this.api = t.extendApi(or(this), this);
3145
3149
  }
3146
3150
  m(P.prototype, {
3147
3151
  initData(t) {
@@ -3163,26 +3167,26 @@ m(P.prototype, {
3163
3167
  });
3164
3168
  }
3165
3169
  });
3166
- ur(P);
3167
3170
  fr(P);
3168
- cr(P);
3169
- pr(P);
3170
- $r(P);
3171
- br(P);
3171
+ hr(P);
3172
+ dr(P);
3173
+ mr(P);
3174
+ vr(P);
3172
3175
  Cr(P);
3173
3176
  _r(P);
3174
- const wr = "fcFragment", ie = {
3175
- name: wr,
3177
+ kr(P);
3178
+ const Fr = "fcFragment", ie = {
3179
+ name: Fr,
3176
3180
  functional: !0,
3177
3181
  props: ["vnode"],
3178
3182
  render(t, e) {
3179
3183
  return e.props.vnode ? e.props.vnode : e.children;
3180
3184
  }
3181
3185
  };
3182
- function Fr(t) {
3186
+ function Sr(t) {
3183
3187
  return c.String(t) ? { domProps: { innerHTML: t } } : t;
3184
3188
  }
3185
- function Sr() {
3189
+ function Rr() {
3186
3190
  const t = {};
3187
3191
  function e(r) {
3188
3192
  r && this.setVm(r);
@@ -3192,10 +3196,10 @@ function Sr() {
3192
3196
  this.vm = r, this.$h = r.$createElement;
3193
3197
  },
3194
3198
  make(r, i, s) {
3195
- return Y.config.isReservedTag(r) && i.nativeOn && delete i.nativeOn, this.makeComponent(r, i, s);
3199
+ return D.config.isReservedTag(r) && i.nativeOn && delete i.nativeOn, this.makeComponent(r, i, s);
3196
3200
  },
3197
3201
  makeComponent(r, i, s) {
3198
- let n = this.$h(r, Fr(i), s || []);
3202
+ let n = this.$h(r, Sr(i), s || []);
3199
3203
  return n.context = this.vm, n;
3200
3204
  },
3201
3205
  aliasMap: t
@@ -3206,7 +3210,7 @@ function Sr() {
3206
3210
  },
3207
3211
  use(r) {
3208
3212
  Object.keys(r).forEach((i) => {
3209
- const s = Q(i), n = at(i).toLocaleLowerCase(), o = r[i];
3213
+ const s = Y(i), n = lt(i).toLocaleLowerCase(), o = r[i];
3210
3214
  [i, s, n].forEach((a) => {
3211
3215
  e.alias(i, o), e.prototype[a] = function(u, l) {
3212
3216
  return this.make(o, u, l);
@@ -3216,12 +3220,12 @@ function Sr() {
3216
3220
  }
3217
3221
  }), e;
3218
3222
  }
3219
- function Rr(t) {
3220
- class e extends ut {
3223
+ function Er(t) {
3224
+ class e extends ft {
3221
3225
  }
3222
3226
  return Object.assign(e.prototype, t), e;
3223
3227
  }
3224
- function ut(t) {
3228
+ function ft(t) {
3225
3229
  m(this, {
3226
3230
  $handle: t,
3227
3231
  vm: t.vm,
@@ -3232,12 +3236,12 @@ function ut(t) {
3232
3236
  }
3233
3237
  }), this.updateKey(), this.init();
3234
3238
  }
3235
- m(ut.prototype, {
3239
+ m(ft.prototype, {
3236
3240
  __init() {
3237
3241
  this.$render = this.$handle.$render, this.$r = (...t) => this.$render.renderRule(...t);
3238
3242
  },
3239
3243
  updateKey() {
3240
- this.key = te();
3244
+ this.key = re();
3241
3245
  },
3242
3246
  //TODO interface
3243
3247
  init() {
@@ -3277,7 +3281,7 @@ m(ut.prototype, {
3277
3281
  render(t) {
3278
3282
  }
3279
3283
  });
3280
- const Er = function(t) {
3284
+ const jr = function(t) {
3281
3285
  const e = {
3282
3286
  name: "loadData",
3283
3287
  _fn: [],
@@ -3290,7 +3294,7 @@ const Er = function(t) {
3290
3294
  const u = () => {
3291
3295
  a.watch !== !1 && (t.bus.$off("p.loadData." + a.attr, u), t.bus.$once("p.loadData." + a.attr, u));
3292
3296
  let l;
3293
- a.attr && (l = t.loadData[a.attr] || a.default, a.copy !== !1 && (l = M(l))), Z(r.getProp(), a.to || "options", l), s.sync(i);
3297
+ a.attr && (l = t.loadData[a.attr] || a.default, a.copy !== !1 && (l = N(l))), ee(r.getProp(), a.to || "options", l), s.sync(i);
3294
3298
  };
3295
3299
  o.push(() => t.bus.$off("p.loadData." + a.attr, u)), u();
3296
3300
  }
@@ -3303,13 +3307,13 @@ const Er = function(t) {
3303
3307
  }
3304
3308
  };
3305
3309
  return e.watch = e.created, e;
3306
- }, ft = {
3310
+ }, ht = {
3307
3311
  name: "componentValidate",
3308
3312
  load(t, e, r) {
3309
3313
  const i = t.getValue();
3310
3314
  i ? t.getProp().validate = [{
3311
3315
  validator(...s) {
3312
- const n = z(e);
3316
+ const n = Z(e);
3313
3317
  if (n)
3314
3318
  return r.exec(n.id, i === !0 ? "formCreateValidate" : i, ...s, {
3315
3319
  attr: t,
@@ -3320,9 +3324,9 @@ const Er = function(t) {
3320
3324
  }] : (t.clearProp(), r.clearValidateState([e.field]));
3321
3325
  },
3322
3326
  watch(...t) {
3323
- ft.load(...t);
3327
+ ht.load(...t);
3324
3328
  }
3325
- }, jr = function(t) {
3329
+ }, Ir = function(t) {
3326
3330
  function e(i) {
3327
3331
  return c.String(i) && (i = {
3328
3332
  action: i,
@@ -3332,40 +3336,40 @@ const Er = function(t) {
3332
3336
  function r(i, s, n) {
3333
3337
  let o = i.value;
3334
3338
  const a = (g) => {
3335
- g === void 0 ? (i.clearProp(), n.sync(s)) : Z(i.getProp(), o.to || "options", g);
3339
+ g === void 0 ? (i.clearProp(), n.sync(s)) : ee(i.getProp(), o.to || "options", g);
3336
3340
  };
3337
3341
  if (c.Function(o) && (o = o(s, n)), o = e(o), !o || !o.action) {
3338
3342
  a(void 0);
3339
3343
  return;
3340
3344
  }
3341
- o = M(o), o.to || (o.to = "options");
3345
+ o = N(o), o.to || (o.to = "options");
3342
3346
  const u = o.onError, l = () => {
3343
3347
  if (!i.getValue())
3344
3348
  return i.clearProp(), n.sync(s), !0;
3345
- }, f = q(y({
3349
+ }, h = q(y({
3346
3350
  headers: {}
3347
3351
  }, o), {
3348
3352
  onSuccess(g, b) {
3349
3353
  if (l()) return;
3350
- let _ = (v) => b ? v : w(v, "data") ? v.data : v;
3351
- c.Function(o.parse) ? _ = o.parse : o.parse && c.String(o.parse) && (_ = (v) => (o.parse.split(".").forEach((k) => {
3352
- v && (v = v[k]);
3353
- }), v)), a(_(g, s, n)), n.sync(s);
3354
+ let k = ($) => b ? $ : w($, "data") ? $.data : $;
3355
+ c.Function(o.parse) ? k = o.parse : o.parse && c.String(o.parse) && (k = ($) => (o.parse.split(".").forEach((O) => {
3356
+ $ && ($ = $[O]);
3357
+ }), $)), a(k(g, s, n)), n.sync(s);
3354
3358
  },
3355
3359
  onError(g) {
3356
3360
  a(void 0), !l() && (u || ((b) => ge(b.message || "fetch fail " + o.action)))(g, s, n);
3357
3361
  }
3358
3362
  });
3359
- t.$handle.beforeFetch(f, { rule: s, api: n }).then(() => {
3363
+ t.$handle.beforeFetch(h, { rule: s, api: n }).then(() => {
3360
3364
  if (c.Function(o.action)) {
3361
3365
  o.action(s, n).then((g) => {
3362
- f.onSuccess(g, !0);
3366
+ h.onSuccess(g, !0);
3363
3367
  }).catch((g) => {
3364
- f.onError(g);
3368
+ h.onError(g);
3365
3369
  });
3366
3370
  return;
3367
3371
  }
3368
- j(() => t.create.fetch(f, { inject: i, rule: s, api: n }));
3372
+ j(() => t.create.fetch(h, { inject: i, rule: s, api: n }));
3369
3373
  });
3370
3374
  }
3371
3375
  return {
@@ -3377,10 +3381,10 @@ const Er = function(t) {
3377
3381
  r(...i);
3378
3382
  }
3379
3383
  };
3380
- }, ht = {
3384
+ }, ct = {
3381
3385
  name: "required",
3382
3386
  load(t, e, r) {
3383
- const i = Ir(t.getValue());
3387
+ const i = Ar(t.getValue());
3384
3388
  if (i.required === !1)
3385
3389
  t.clearProp(), r.clearValidateState([e.field]);
3386
3390
  else {
@@ -3399,19 +3403,19 @@ const Er = function(t) {
3399
3403
  r.sync(e);
3400
3404
  },
3401
3405
  watch(...t) {
3402
- ht.load(...t);
3406
+ ct.load(...t);
3403
3407
  }
3404
3408
  };
3405
- function Ir(t) {
3409
+ function Ar(t) {
3406
3410
  return c.Boolean(t) ? { required: t } : c.String(t) ? { message: t } : c.Undef(t) ? { required: !1 } : c.Function(t) ? { validator: t } : c.Object(t) ? t : {};
3407
3411
  }
3408
- const Ar = {
3409
- fetch: jr,
3410
- loadData: Er,
3411
- required: ht,
3412
- componentValidate: ft
3413
- }, Vr = "html", Pr = {
3414
- name: Vr,
3412
+ const Vr = {
3413
+ fetch: Ir,
3414
+ loadData: jr,
3415
+ required: ct,
3416
+ componentValidate: ht
3417
+ }, Pr = "html", Tr = {
3418
+ name: Pr,
3415
3419
  loadChildren: !1,
3416
3420
  render(t, e) {
3417
3421
  return e.prop.domProps || (e.prop.domProps = {}), e.prop.domProps.innerHTML = t, e.vNode.make(e.prop.props.tag || "div", e.prop);
@@ -3420,19 +3424,18 @@ const Ar = {
3420
3424
  return Array.isArray(t.rule.children) ? t.rule.children.filter((e) => c.String(e)).join("") : "";
3421
3425
  }
3422
3426
  };
3423
- let L = typeof window != "undefined" && window.Vue ? window.Vue : Y;
3424
- function Tr(t, e) {
3427
+ function Dr(t, e) {
3425
3428
  let r;
3426
3429
  return arguments.length === 2 ? (r = arguments[1], e = r[t]) : r = arguments[2], { id: e, prop: r };
3427
3430
  }
3428
3431
  function ne() {
3429
- return Tr("name", ...arguments);
3432
+ return Dr("name", ...arguments);
3430
3433
  }
3431
- function qe(t) {
3434
+ function Ue(t) {
3432
3435
  return !t || !t.el ? window.document.body : c.Element(t.el) ? t.el : document.querySelector(t.el);
3433
3436
  }
3434
- function Ue(t, e) {
3435
- const r = new L({
3437
+ function He(t, e) {
3438
+ const r = new D({
3436
3439
  data() {
3437
3440
  return { rule: t, option: e || {} };
3438
3441
  },
@@ -3442,140 +3445,141 @@ function Ue(t, e) {
3442
3445
  });
3443
3446
  return r.$mount(), r;
3444
3447
  }
3445
- function Dr(t) {
3448
+ function Br(t) {
3446
3449
  const e = t.key || [], r = t.array || [], i = t.normal || [];
3447
- Qe.push(...e), pe.push(...r), me.push(...i), it([...e, ...r, ...i]);
3450
+ Ze.push(...e), pe.push(...r), me.push(...i), nt([...e, ...r, ...i]);
3448
3451
  }
3449
- let Br = 1;
3452
+ let Lr = 1;
3450
3453
  const E = {};
3451
- function ct(t) {
3454
+ function dt(t) {
3452
3455
  const e = {
3453
3456
  [ie.name]: ie
3454
- }, r = {}, i = {}, s = y({}, Ar), n = rr();
3457
+ }, r = {}, i = {}, s = y({}, Vr), n = ir();
3455
3458
  let o = { global: {} };
3456
- const a = {}, u = Sr();
3457
- Dr(t.attrs || {});
3458
- function l(h) {
3459
- const d = E[h];
3459
+ const a = {}, u = Rr(), l = {};
3460
+ Br(t.attrs || {});
3461
+ function h(f) {
3462
+ const d = E[f];
3460
3463
  if (Array.isArray(d))
3461
- return d.map(($) => $.api());
3464
+ return d.map((v) => v.api());
3462
3465
  if (d)
3463
3466
  return d.api();
3464
3467
  }
3465
- function f() {
3466
- const h = ne(...arguments);
3467
- h.id && h.prop && (i[h.id] = h.prop);
3468
- }
3469
3468
  function g() {
3470
- const h = ne(...arguments);
3471
- h.id && h.prop && (s[h.id] = q(y({}, h.prop), { name: h.id }));
3469
+ const f = ne(...arguments);
3470
+ f.id && f.prop && (i[f.id] = f.prop);
3472
3471
  }
3473
- function b(h) {
3474
- u.use(h);
3472
+ function b() {
3473
+ const f = ne(...arguments);
3474
+ f.id && f.prop && (s[f.id] = q(y({}, f.prop), { name: f.id }));
3475
3475
  }
3476
- function _() {
3477
- const h = ne(...arguments);
3478
- if (!h.id || !h.prop) return ce;
3479
- const d = A(h.id), $ = h.prop, C = $.merge === !0 ? r[d] : void 0;
3480
- r[d] = $, Object.setPrototypeOf($, C || ce), n[d] = R(d), $.maker && m(n, $.maker);
3476
+ function k(f) {
3477
+ u.use(f);
3481
3478
  }
3482
- function v(h, d) {
3483
- let $;
3484
- if (c.String(h)) {
3485
- if ($ = A(h), ["form-create", "formcreate"].indexOf($) > -1)
3486
- return re();
3479
+ function $() {
3480
+ const f = ne(...arguments);
3481
+ if (!f.id || !f.prop) return ce;
3482
+ const d = A(f.id), v = f.prop, C = v.merge === !0 ? r[d] : void 0;
3483
+ r[d] = v, Object.setPrototypeOf(v, C || ce), n[d] = R(d), v.maker && m(n, v.maker);
3484
+ }
3485
+ function O(f, d) {
3486
+ let v;
3487
+ if (c.String(f)) {
3488
+ if (v = A(f), ["form-create", "formcreate"].indexOf(v) > -1)
3489
+ return X();
3487
3490
  if (d === void 0)
3488
- return e[$];
3491
+ return e[v];
3489
3492
  } else
3490
- $ = A(h.name), d = h;
3491
- if (!$ || !d) return;
3492
- const C = A($);
3493
- e[$] = d, e[C] = d, delete u.aliasMap[$], delete u.aliasMap[C], delete r[$], delete r[C], d.formCreateParser && _($, d.formCreateParser);
3493
+ v = A(f.name), d = f;
3494
+ if (!v || !d) return;
3495
+ const C = A(v);
3496
+ e[v] = d, e[C] = d, delete u.aliasMap[v], delete u.aliasMap[C], delete r[v], delete r[C], d.formCreateParser && $(v, d.formCreateParser);
3494
3497
  }
3495
- function k(h) {
3498
+ function Ce(f) {
3496
3499
  Object.keys(E).forEach((d) => {
3497
3500
  (Array.isArray(E[d]) ? E[d] : [E[d]]).forEach((C) => {
3498
- C.bus.$emit("p.loadData." + h);
3501
+ C.bus.$emit("p.loadData." + f);
3499
3502
  });
3500
3503
  });
3501
3504
  }
3502
- function Ce(h, d) {
3503
- a[h] = d, k(h);
3505
+ function _e(f, d) {
3506
+ a[f] = d, Ce(f);
3504
3507
  }
3505
- function _e(h, d) {
3506
- return w(a, h) ? a[h] : d;
3508
+ function ke(f, d) {
3509
+ return w(a, f) ? a[f] : d;
3507
3510
  }
3508
- function dt(h) {
3509
- delete a[h], k(h);
3511
+ function pt(f) {
3512
+ delete a[f], Ce(f);
3510
3513
  }
3511
- function re() {
3512
- return L.extend(Gt(Oe));
3514
+ function X() {
3515
+ return Xt(we, e, i);
3513
3516
  }
3514
- function ke() {
3515
- return L.extend(ie);
3517
+ function Oe() {
3518
+ return ie;
3516
3519
  }
3517
- function pt(h, d) {
3518
- return c.Function(h.install) ? h.install(T, d) : c.Function(h) && h(T, d), this;
3520
+ function mt(f, d) {
3521
+ return c.Function(f.install) ? f.install(M, d) : c.Function(f) && f(M, d), this;
3519
3522
  }
3520
- function T(h, d, $) {
3521
- let C = Ue(h, d || {});
3523
+ function M(f, d, v) {
3524
+ let C = He(f, d || {});
3522
3525
  const V = C.$refs.fc.formCreate;
3523
- return V.$parent = $, qe(V.options).appendChild(C.$el), V.api();
3526
+ return V.$parent = v, Ue(V.options).appendChild(C.$el), V.api();
3524
3527
  }
3525
- function mt(h) {
3528
+ Object.setPrototypeOf(M, l);
3529
+ function yt(f) {
3526
3530
  let d = y({}, t);
3527
- return h ? d.inherit = {
3531
+ return f ? d.inherit = {
3528
3532
  components: e,
3529
3533
  parsers: r,
3530
3534
  directives: i,
3531
3535
  providers: s,
3532
3536
  maker: n,
3533
3537
  loadData: a
3534
- } : delete d.inherit, ct(d);
3538
+ } : delete d.inherit, dt(d);
3535
3539
  }
3536
- function Oe(h) {
3537
- const d = h.$options.propsData.rule;
3540
+ function we(f) {
3541
+ const d = f.$options.propsData.rule;
3538
3542
  m(this, {
3539
- id: Br++,
3540
- vm: h,
3541
- create: T,
3542
- manager: Rr(t.manager),
3543
+ id: Lr++,
3544
+ vm: f,
3545
+ create: M,
3546
+ manager: Er(t.manager),
3543
3547
  parsers: r,
3544
3548
  providers: s,
3545
3549
  rules: Array.isArray(d) ? d : [],
3546
- name: h.$options.propsData.name || te(),
3547
- inFor: h.$options.propsData.inFor,
3550
+ name: f.$options.propsData.name || re(),
3551
+ inFor: f.$options.propsData.inFor,
3548
3552
  prop: {
3549
3553
  components: e,
3550
3554
  directives: i
3551
3555
  },
3552
- setData: Ce,
3553
- getData: _e,
3556
+ setData: _e,
3557
+ getData: ke,
3554
3558
  loadData: a,
3555
3559
  CreateNode: u,
3556
- bus: new L(),
3560
+ bus: new D(),
3557
3561
  unwatch: null,
3558
3562
  options: {},
3559
- extendApi: t.extendApi || (($) => $)
3563
+ extendApi: t.extendApi || ((v) => v)
3560
3564
  }), this.init(), this.initOptions(), this.name && (this.inFor ? (E[this.name] || (E[this.name] = []), E[this.name].push(this)) : E[this.name] = this);
3561
3565
  }
3562
- m(Oe.prototype, {
3566
+ m(we.prototype, {
3563
3567
  init() {
3564
- const h = this.vm, d = new P(this);
3565
- this.$handle = d, h.$f = d.api, h.$emit("input", d.api), h.$on("hook:created", () => {
3566
- this.isSub() && (this.unwatch = h.$watch(() => h.$pfc.option, () => {
3567
- this.initOptions(), h.$f.refresh();
3568
+ const f = this.vm, d = new P(this);
3569
+ this.$handle = d, f.$f = d.api, f.$emit("input", d.api), f.$on("hook:created", () => {
3570
+ this.isSub() && (this.unwatch = f.$watch(() => f.$pfc.option, () => {
3571
+ this.initOptions(), f.$f.refresh();
3568
3572
  }, { deep: !0 }), this.initOptions()), this.created();
3569
- }), h.$on("hook:mounted", () => {
3573
+ }), f.$on("hook:mounted", () => {
3570
3574
  this.mounted();
3571
- }), h.$on("hook:beforeDestroy", () => {
3572
- if (h.destroyed = !0, this.unwatch && this.unwatch(), d.reloadRule([]), this.name)
3575
+ }), f.$on("hook:beforeDestroy", () => {
3576
+ if (f.destroyed = !0, this.unwatch && this.unwatch(), d.reloadRule([]), this.name)
3573
3577
  if (this.inFor) {
3574
- const $ = E[this.name].indexOf(this);
3575
- E[this.name].splice($, 1), E[this.name].length || delete E[this.name];
3578
+ const v = E[this.name].indexOf(this);
3579
+ E[this.name].splice(v, 1), E[this.name].length || delete E[this.name];
3576
3580
  } else
3577
3581
  delete E[this.name];
3578
- }), h.$on("hook:updated", () => {
3582
+ }), f.$on("hook:updated", () => {
3579
3583
  d.bindNextTick(() => this.bus.$emit("next-tick", d.api));
3580
3584
  });
3581
3585
  },
@@ -3584,16 +3588,16 @@ function ct(t) {
3584
3588
  },
3585
3589
  initOptions() {
3586
3590
  this.options = {};
3587
- let h = y({ formData: {}, submitBtn: {}, resetBtn: {} }, M(o));
3588
- this.isSub() && this.mergeOptions(this.options, this.vm.$pfc.$f.config || {}, !0), h = this.mergeOptions(h, this.vm.$options.propsData.option), this.updateOptions(h);
3591
+ let f = y({ formData: {}, submitBtn: {}, resetBtn: {} }, N(o));
3592
+ this.isSub() && this.mergeOptions(this.options, this.vm.$pfc.$f.config || {}, !0), f = this.mergeOptions(f, this.vm.$options.propsData.option), this.updateOptions(f);
3589
3593
  },
3590
- mergeOptions(h, d, $) {
3591
- return d = M(d), $ && ["page", "onSubmit", "mounted", "reload", "formData", "el"].forEach((C) => {
3594
+ mergeOptions(f, d, v) {
3595
+ return d = N(d), v && ["page", "onSubmit", "mounted", "reload", "formData", "el"].forEach((C) => {
3592
3596
  delete d[C];
3593
- }), d.global && (h.global = er(h.global, d.global), delete d.global), this.$handle.$manager.mergeOptions([d], h), h;
3597
+ }), d.global && (f.global = tr(f.global, d.global), delete d.global), this.$handle.$manager.mergeOptions([d], f), f;
3594
3598
  },
3595
- updateOptions(h) {
3596
- this.mergeOptions(this.options, h), this.$handle.$manager.updateOptions(this.options);
3599
+ updateOptions(f) {
3600
+ this.mergeOptions(this.options, f), this.$handle.$manager.updateOptions(this.options);
3597
3601
  },
3598
3602
  created() {
3599
3603
  this.$handle.init(), this.vm.$emit("created", this.api());
@@ -3608,35 +3612,35 @@ function ct(t) {
3608
3612
  this.$handle.mounted();
3609
3613
  }
3610
3614
  });
3611
- function we(h) {
3612
- m(h, {
3615
+ function Fe(f) {
3616
+ m(f, {
3613
3617
  version: t.version,
3614
3618
  ui: t.ui,
3615
- setData: Ce,
3616
- getData: _e,
3617
- removeData: dt,
3619
+ setData: _e,
3620
+ getData: ke,
3621
+ removeData: pt,
3618
3622
  maker: n,
3619
- component: v,
3620
- directive: f,
3621
- register: g,
3622
- $vnode: ke,
3623
- parser: _,
3624
- use: pt,
3625
- factory: mt,
3626
- componentAlias: b,
3623
+ component: O,
3624
+ directive: g,
3625
+ register: b,
3626
+ $vnode: Oe,
3627
+ parser: $,
3628
+ use: mt,
3629
+ factory: yt,
3630
+ componentAlias: k,
3627
3631
  copyRule: $e,
3628
- copyRules: et,
3629
- fetch: st,
3630
- $form: re,
3632
+ copyRules: tt,
3633
+ fetch: ot,
3634
+ $form: X,
3631
3635
  parseFn: U,
3632
- parseJson: Yt,
3633
- toJson: Ze,
3634
- getApi: l,
3635
- init(d, $ = {}) {
3636
- let C = Ue(d, $), V = C.$refs.fc.formCreate;
3636
+ parseJson: er,
3637
+ toJson: Ye,
3638
+ getApi: h,
3639
+ init(d, v = {}) {
3640
+ let C = He(d, v), V = C.$refs.fc.formCreate;
3637
3641
  return {
3638
3642
  mount(J) {
3639
- return J && c.Element(J) && (V.options.el = J), qe(V.options).appendChild(C.$el), V.api();
3643
+ return J && c.Element(J) && (V.options.el = J), Ue(V.options).appendChild(C.$el), V.api();
3640
3644
  },
3641
3645
  remove() {
3642
3646
  C.$el.parentNode && C.$el.parentNode.removeChild(C.$el);
@@ -3649,26 +3653,36 @@ function ct(t) {
3649
3653
  }
3650
3654
  });
3651
3655
  }
3652
- function yt(h) {
3653
- m(h, {
3654
- create: T,
3655
- install(d, $) {
3656
- if (o = y(y({}, o), $ || {}), d._installedFormCreate === !0) return;
3657
- d._installedFormCreate = !0, L = d;
3656
+ function gt(f) {
3657
+ m(f, {
3658
+ create: M,
3659
+ install(d, v) {
3660
+ if (o = y(y({}, o), v || {}), d._installedFormCreate === !0) return;
3661
+ d._installedFormCreate = !0;
3658
3662
  const C = function(V, J = {}) {
3659
- return T(V, J, this);
3663
+ return M(V, J, this);
3660
3664
  };
3661
- we(C), d.prototype.$formCreate = C, d.component("FormCreate", re()), d.component("FcFragment", ke());
3665
+ Fe(C), d.prototype.$formCreate = C, d.component("FormCreate", X()), d.component("FcFragment", Oe());
3662
3666
  }
3663
3667
  });
3664
3668
  }
3665
- if (we(T), yt(T), u.use({ fragment: "fcFragment" }), _(Pr), t.install && T.use(t), t.inherit) {
3666
- const h = t.inherit;
3667
- h.components && m(e, h.components), h.parsers && m(r, h.parsers), h.directives && m(i, h.directives), h.providers && m(s, h.providers), h.maker && m(n, h.maker), h.loadData && m(a, h.loadData);
3669
+ if (Fe(l), gt(l), u.use({ fragment: "fcFragment" }), $(Tr), t.install && M.use(t), t.inherit) {
3670
+ const f = t.inherit;
3671
+ f.components && m(e, f.components), f.parsers && m(r, f.parsers), f.directives && m(i, f.directives), f.providers && m(s, f.providers), f.maker && m(n, f.maker), f.loadData && m(a, f.loadData);
3668
3672
  }
3669
- return T;
3673
+ const z = X();
3674
+ return Object.setPrototypeOf(z, l), Object.defineProperties(z, {
3675
+ fetch: {
3676
+ get() {
3677
+ return l.fetch;
3678
+ },
3679
+ set(f) {
3680
+ l.fetch = f;
3681
+ }
3682
+ }
3683
+ }), z.util = l, z;
3670
3684
  }
3671
- const He = {
3685
+ const xe = {
3672
3686
  date: "yyyy-MM-dd",
3673
3687
  month: "yyyy-MM",
3674
3688
  datetime: "yyyy-MM-dd HH:mm:ss",
@@ -3677,16 +3691,16 @@ const He = {
3677
3691
  monthrange: "yyyy-MM",
3678
3692
  datetimerange: "yyyy-MM-dd HH:mm:ss",
3679
3693
  year: "yyyy"
3680
- }, xe = "datePicker", Lr = {
3681
- name: xe,
3694
+ }, Je = "datePicker", Nr = {
3695
+ name: Je,
3682
3696
  maker: function() {
3683
- return ["year", "month", "date", "dates", "week", "datetime", "datetimeRange", "dateRange", "monthRange"].reduce((t, e) => (t[e] = R(xe, { type: e.toLowerCase() }), t), {});
3697
+ return ["year", "month", "date", "dates", "week", "datetime", "datetimeRange", "dateRange", "monthRange"].reduce((t, e) => (t[e] = R(Je, { type: e.toLowerCase() }), t), {});
3684
3698
  }(),
3685
3699
  mergeProp(t) {
3686
3700
  const e = t.prop.props;
3687
- e.valueFormat || (e.valueFormat = He[e.type] || He.date);
3701
+ e.valueFormat || (e.valueFormat = xe[e.type] || xe.date);
3688
3702
  }
3689
- }, se = "hidden", Nr = {
3703
+ }, se = "hidden", Mr = {
3690
3704
  name: se,
3691
3705
  maker: {
3692
3706
  [se]: (t, e) => R(se)("", t, e)
@@ -3694,7 +3708,7 @@ const He = {
3694
3708
  render() {
3695
3709
  return [];
3696
3710
  }
3697
- }, oe = "input", Mr = {
3711
+ }, oe = "input", qr = {
3698
3712
  name: oe,
3699
3713
  maker: function() {
3700
3714
  const t = ["password", "url", "email", "text", "textarea"].reduce((e, r) => (e[r] = R(oe, { type: r }), e), {});
@@ -3704,16 +3718,16 @@ const He = {
3704
3718
  let { props: e } = t.prop;
3705
3719
  e && e.autosize && e.autosize.minRows && (e.rows = e.autosize.minRows || 2);
3706
3720
  }
3707
- }, Je = "slider", qr = {
3708
- name: Je,
3721
+ }, Ke = "slider", Ur = {
3722
+ name: Ke,
3709
3723
  maker: {
3710
- sliderRange: R(Je, { range: !0 })
3724
+ sliderRange: R(Ke, { range: !0 })
3711
3725
  },
3712
3726
  toFormValue(t, e) {
3713
3727
  let r = Array.isArray(t), i = e.prop.props, s = i.min || 0, n;
3714
3728
  return i.range === !0 ? n = r ? t : [s, parseFloat(t) || s] : n = r ? parseFloat(t[0]) || s : parseFloat(t), n;
3715
3729
  }
3716
- }, ae = "timePicker", Ur = {
3730
+ }, ae = "timePicker", Hr = {
3717
3731
  name: ae,
3718
3732
  maker: {
3719
3733
  time: R(ae, (t) => t.props.isRange = !1),
@@ -3723,59 +3737,59 @@ const He = {
3723
3737
  const e = t.prop.props;
3724
3738
  e.valueFormat || (e.valueFormat = "HH:mm:ss");
3725
3739
  }
3726
- }, Hr = {
3740
+ }, xr = {
3727
3741
  name: "FcRow",
3728
3742
  render(t, e) {
3729
3743
  return e.vNode.col({ props: { span: 24 } }, [
3730
3744
  e.vNode.row(e.prop, t)
3731
3745
  ]);
3732
3746
  }
3733
- }, xr = "select", Jr = {
3734
- name: xr,
3747
+ }, Jr = "select", Kr = {
3748
+ name: Jr,
3735
3749
  toFormValue(t, e) {
3736
3750
  return e.prop.props.multiple && !Array.isArray(t) ? I(t) : t;
3737
3751
  }
3738
- }, Kr = [
3739
- Lr,
3752
+ }, Wr = [
3740
3753
  Nr,
3741
3754
  Mr,
3742
3755
  qr,
3743
3756
  Ur,
3744
3757
  Hr,
3745
- Jr
3746
- ], O = "el", Wr = {
3747
- button: O + "Button",
3758
+ xr,
3759
+ Kr
3760
+ ], _ = "el", Gr = {
3761
+ button: _ + "Button",
3748
3762
  icon: "i",
3749
- slider: O + "Slider",
3750
- rate: O + "Rate",
3763
+ slider: _ + "Slider",
3764
+ rate: _ + "Rate",
3751
3765
  upload: "fcUpload",
3752
- cascader: O + "Cascader",
3753
- popover: O + "Popover",
3754
- tooltip: O + "Tooltip",
3755
- colorPicker: O + "ColorPicker",
3756
- timePicker: O + "TimePicker",
3757
- timeSelect: O + "TimeSelect",
3758
- datePicker: O + "DatePicker",
3759
- switch: O + "Switch",
3766
+ cascader: _ + "Cascader",
3767
+ popover: _ + "Popover",
3768
+ tooltip: _ + "Tooltip",
3769
+ colorPicker: _ + "ColorPicker",
3770
+ timePicker: _ + "TimePicker",
3771
+ timeSelect: _ + "TimeSelect",
3772
+ datePicker: _ + "DatePicker",
3773
+ switch: _ + "Switch",
3760
3774
  select: "fcSelect",
3761
3775
  checkbox: "fcCheckbox",
3762
3776
  radio: "fcRadio",
3763
- inputNumber: O + "InputNumber",
3764
- number: O + "InputNumber",
3765
- input: O + "Input",
3766
- formItem: O + "FormItem",
3767
- form: O + "Form",
3777
+ inputNumber: _ + "InputNumber",
3778
+ number: _ + "InputNumber",
3779
+ input: _ + "Input",
3780
+ formItem: _ + "FormItem",
3781
+ form: _ + "Form",
3768
3782
  frame: "fcFrame",
3769
- col: O + "Col",
3770
- row: O + "Row",
3783
+ col: _ + "Col",
3784
+ row: _ + "Row",
3771
3785
  tree: "fcTree",
3772
- autoComplete: O + "Autocomplete",
3773
- auto: O + "Autocomplete",
3786
+ autoComplete: _ + "Autocomplete",
3787
+ auto: _ + "Autocomplete",
3774
3788
  group: "fcGroup",
3775
3789
  object: "fcSubForm",
3776
3790
  subForm: "fcSubForm"
3777
3791
  };
3778
- function Gr() {
3792
+ function Xr() {
3779
3793
  return {
3780
3794
  form: {
3781
3795
  inline: !1,
@@ -3809,23 +3823,23 @@ function Gr() {
3809
3823
  }
3810
3824
  };
3811
3825
  }
3812
- function Xr(t) {
3826
+ function zr(t) {
3813
3827
  return t.type === "tooltip";
3814
3828
  }
3815
- const zr = /[A-Z]/;
3816
- function Qr(t, e) {
3817
- return !zr.test(t) && (c.String(e) || c.Number(e));
3829
+ const Qr = /[A-Z]/;
3830
+ function Zr(t, e) {
3831
+ return !Qr.test(t) && (c.String(e) || c.Number(e));
3818
3832
  }
3819
- function Ke(t, e) {
3833
+ function We(t, e) {
3820
3834
  w(t, e) && c.String(t[e]) && (t[e] = { [e]: t[e], show: !0 });
3821
3835
  }
3822
- function D(t) {
3836
+ function T(t) {
3823
3837
  return t === !1;
3824
3838
  }
3825
- function Zr(t, e) {
3839
+ function Yr(t, e) {
3826
3840
  w(t, e) && !c.Object(t[e]) && (t[e] = { show: !!t[e] });
3827
3841
  }
3828
- const Yr = {
3842
+ const ei = {
3829
3843
  validate() {
3830
3844
  const t = this.form();
3831
3845
  return t ? t.validate() : new Promise((e) => e());
@@ -3844,16 +3858,16 @@ const Yr = {
3844
3858
  },
3845
3859
  tidyOptions(t) {
3846
3860
  return ["submitBtn", "resetBtn", "row", "info", "wrap", "col", "title"].forEach((e) => {
3847
- Zr(t, e);
3861
+ Yr(t, e);
3848
3862
  }), t;
3849
3863
  },
3850
3864
  tidyRule({ prop: t }) {
3851
- return Ke(t, "title"), Ke(t, "info"), t;
3865
+ return We(t, "title"), We(t, "info"), t;
3852
3866
  },
3853
3867
  mergeProp(t) {
3854
3868
  let e = t.prop.props;
3855
3869
  t.prop = B([{
3856
- attrs: Object.keys(e).reduce((r, i) => (Qr(i, e[i]) && (r[i] = e[i]), r), {}),
3870
+ attrs: Object.keys(e).reduce((r, i) => (Zr(i, e[i]) && (r[i] = e[i]), r), {}),
3857
3871
  info: this.options.info || {},
3858
3872
  wrap: this.options.wrap || {},
3859
3873
  col: this.options.col || {},
@@ -3870,7 +3884,7 @@ const Yr = {
3870
3884
  }, { normal: ["title", "info", "col", "wrap"] });
3871
3885
  },
3872
3886
  getDefaultOptions() {
3873
- return Gr();
3887
+ return Xr();
3874
3888
  },
3875
3889
  update() {
3876
3890
  const t = this.options.form;
@@ -3894,12 +3908,12 @@ const Yr = {
3894
3908
  });
3895
3909
  },
3896
3910
  render(t) {
3897
- return t.length && t.push(this.makeFormBtn()), this.$r(this.rule, D(this.options.row.show) ? t : [this.makeRow(t)]);
3911
+ return t.length && t.push(this.makeFormBtn()), this.$r(this.rule, T(this.options.row.show) ? t : [this.makeRow(t)]);
3898
3912
  },
3899
3913
  makeWrap(t, e) {
3900
- const r = t.prop, i = `${this.key}${t.key}`, s = r.col, n = this.isTitle(r), o = !s.labelWidth && !n ? 0 : s.labelWidth, { inline: a, col: u } = this.rule.props, l = D(r.wrap.show) ? e : this.$r(B([r.wrap, {
3914
+ const r = t.prop, i = `${this.key}${t.key}`, s = r.col, n = this.isTitle(r), o = !s.labelWidth && !n ? 0 : s.labelWidth, { inline: a, col: u } = this.rule.props, l = T(r.wrap.show) ? e : this.$r(B([r.wrap, {
3901
3915
  props: q(y({
3902
- labelWidth: o === void 0 ? o : at(o),
3916
+ labelWidth: o === void 0 ? o : lt(o),
3903
3917
  label: n ? r.title.title : void 0
3904
3918
  }, r.wrap || {}), {
3905
3919
  prop: t.id,
@@ -3910,23 +3924,23 @@ const Yr = {
3910
3924
  ref: t.wrapRef,
3911
3925
  type: "formItem"
3912
3926
  }]), [e, n ? this.makeInfo(r, i, t) : null]);
3913
- return a === !0 || D(u) || D(s.show) ? l : this.makeCol(r, i, [l]);
3927
+ return a === !0 || T(u) || T(s.show) ? l : this.makeCol(r, i, [l]);
3914
3928
  },
3915
3929
  isTitle(t) {
3916
3930
  if (this.options.form.title === !1) return !1;
3917
3931
  const e = t.title;
3918
- return !(!e.title && !e.native || D(e.show));
3932
+ return !(!e.title && !e.native || T(e.show));
3919
3933
  },
3920
3934
  makeInfo(t, e, r) {
3921
- const i = t.title, s = t.info, n = Xr(s), o = this.options.form, a = this.getSlot("title"), u = [a ? a({ title: i.title || "", rule: r.rule, options: this.options }) : (i.title || "") + (o.labelSuffix || o["label-suffix"] || "")];
3922
- if (!D(s.show) && (s.info || s.native) && !D(s.icon)) {
3935
+ const i = t.title, s = t.info, n = zr(s), o = this.options.form, a = this.getSlot("title"), u = [a ? a({ title: i.title || "", rule: r.rule, options: this.options }) : (i.title || "") + (o.labelSuffix || o["label-suffix"] || "")];
3936
+ if (!T(s.show) && (s.info || s.native) && !T(s.icon)) {
3923
3937
  const l = {
3924
3938
  type: s.type || "popover",
3925
3939
  props: y({}, s),
3926
3940
  key: `${e}pop`,
3927
3941
  slot: "label"
3928
- }, f = "content";
3929
- s.info && !w(l.props, f) && (l.props[f] = s.info), u[s.align !== "left" ? "unshift" : "push"](this.$r(B([s, l]), [
3942
+ }, h = "content";
3943
+ s.info && !w(l.props, h) && (l.props[h] = s.info), u[s.align !== "left" ? "unshift" : "push"](this.$r(B([s, l]), [
3930
3944
  this.$r({
3931
3945
  type: "i",
3932
3946
  slot: n ? "default" : "reference",
@@ -3962,7 +3976,7 @@ const Yr = {
3962
3976
  },
3963
3977
  makeFormBtn() {
3964
3978
  let t = [];
3965
- if (D(this.options.submitBtn.show) || t.push(this.makeSubmitBtn()), D(this.options.resetBtn.show) || t.push(this.makeResetBtn()), !t.length)
3979
+ if (T(this.options.submitBtn.show) || t.push(this.makeSubmitBtn()), T(this.options.resetBtn.show) || t.push(this.makeResetBtn()), !t.length)
3966
3980
  return;
3967
3981
  const e = this.$r({
3968
3982
  type: "formItem",
@@ -4005,25 +4019,25 @@ const Yr = {
4005
4019
  }, [t.innerText]);
4006
4020
  }
4007
4021
  }, x = {};
4008
- ei(x);
4009
4022
  ti(x);
4010
4023
  ri(x);
4011
4024
  ii(x);
4012
4025
  ni(x);
4013
- function ei(t) {
4026
+ si(x);
4027
+ function ti(t) {
4014
4028
  ["group", "tree", "switch", "upload", "autoComplete", "checkbox", "cascader", "colorPicker", "datePicker", "frame", "inputNumber", "radio", "rate"].forEach((e) => {
4015
4029
  t[e] = R(e);
4016
4030
  }), t.auto = t.autoComplete, t.number = t.inputNumber, t.color = t.colorPicker;
4017
4031
  }
4018
- function ti(t) {
4032
+ function ri(t) {
4019
4033
  const e = "select", r = "multiple";
4020
4034
  t.selectMultiple = R(e, { [r]: !0 }), t.selectOne = R(e, { [r]: !1 });
4021
4035
  }
4022
- function ri(t) {
4036
+ function ii(t) {
4023
4037
  const e = "tree", r = { treeSelected: "selected", treeChecked: "checked" };
4024
4038
  Object.keys(r).reduce((i, s) => (i[s] = R(e, { type: r[s] }), i), t);
4025
4039
  }
4026
- function ii(t) {
4040
+ function ni(t) {
4027
4041
  const e = "upload", r = {
4028
4042
  image: ["image", 0],
4029
4043
  file: ["file", 0],
@@ -4032,7 +4046,7 @@ function ii(t) {
4032
4046
  };
4033
4047
  Object.keys(r).reduce((i, s) => (i[s] = R(e, (n) => n.props({ uploadType: r[s][0], maxLength: r[s][1] })), i), t), t.uploadImage = t.image, t.uploadFile = t.file;
4034
4048
  }
4035
- function ni(t) {
4049
+ function si(t) {
4036
4050
  const e = {
4037
4051
  frameInputs: ["input", 0],
4038
4052
  frameFiles: ["file", 0],
@@ -4043,10 +4057,10 @@ function ni(t) {
4043
4057
  };
4044
4058
  return Object.keys(e).reduce((r, i) => (r[i] = R("frame", (s) => s.props({ type: e[i][0], maxLength: e[i][1] })), r), t), t.frameInput = t.frameInputs, t.frameFile = t.frameFiles, t.frameImage = t.frameImages, t;
4045
4059
  }
4046
- function We(t, e) {
4060
+ function Ge(t, e) {
4047
4061
  return c.Boolean(t) ? t = { show: t } : !c.Undef(t) && !c.Object(t) && (t = { show: e }), t;
4048
4062
  }
4049
- function si(t, e) {
4063
+ function oi(t, e) {
4050
4064
  return m(t, {
4051
4065
  formEl() {
4052
4066
  return e.$manager.form();
@@ -4120,11 +4134,11 @@ function si(t, e) {
4120
4134
  }
4121
4135
  },
4122
4136
  submitBtnProps: (r = {}) => {
4123
- let i = We(e.options.submitBtn, !0);
4137
+ let i = Ge(e.options.submitBtn, !0);
4124
4138
  m(i, r), e.options.submitBtn = i, t.refreshOptions();
4125
4139
  },
4126
4140
  resetBtnProps: (r = {}) => {
4127
- let i = We(e.options.resetBtn, !1);
4141
+ let i = Ge(e.options.resetBtn, !1);
4128
4142
  m(i, r), e.options.resetBtn = i, t.refreshOptions();
4129
4143
  },
4130
4144
  submit(r, i) {
@@ -4134,26 +4148,27 @@ function si(t, e) {
4134
4148
  c.Function(r) ? j(() => r(n, this)) : (c.Function(e.options.onSubmit) && j(() => e.options.onSubmit(n, this)), e.vm.$emit("submit", n, this));
4135
4149
  } else
4136
4150
  c.Function(i) && j(() => i(this, ...arguments));
4151
+ }).catch((s) => {
4137
4152
  });
4138
4153
  }
4139
4154
  }), t;
4140
4155
  }
4141
- function oi(t) {
4142
- t.componentAlias(Wr), Wt.forEach((e) => {
4156
+ function ai(t) {
4157
+ t.componentAlias(Gr), Gt.forEach((e) => {
4143
4158
  t.component(e.name, e);
4144
- }), Kr.forEach((e) => {
4159
+ }), Wr.forEach((e) => {
4145
4160
  t.parser(e);
4146
4161
  }), Object.keys(x).forEach((e) => {
4147
4162
  t.maker[e] = x[e];
4148
4163
  });
4149
4164
  }
4150
- function ai() {
4151
- return ct({
4165
+ function li() {
4166
+ return dt({
4152
4167
  ui: "element-ui",
4153
4168
  version: "2.6.0",
4154
- manager: Yr,
4155
- extendApi: si,
4156
- install: oi,
4169
+ manager: ei,
4170
+ extendApi: oi,
4171
+ install: ai,
4157
4172
  attrs: {
4158
4173
  normal: ["col", "wrap"],
4159
4174
  array: ["className"],
@@ -4161,10 +4176,10 @@ function ai() {
4161
4176
  }
4162
4177
  });
4163
4178
  }
4164
- const de = ai();
4179
+ const de = li();
4165
4180
  typeof window != "undefined" && (window.formCreate = de, window.Vue && de.install(window.Vue));
4166
- const fi = de.maker;
4181
+ const hi = de.maker;
4167
4182
  export {
4168
4183
  de as default,
4169
- fi as maker
4184
+ hi as maker
4170
4185
  };