@form-create/element-ui 3.2.10 → 3.2.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,30 +1,117 @@
1
- # @form-create/element-ui
2
- **form-create 是一个可以通过 JSON 生成具有动态渲染、数据收集、验证和提交功能的表单生成组件。支持6个UI框架,并且支持生成任何 Vue 组件。内置20种常用表单组件和自定义组件,再复杂的表单都可以轻松搞定。**
1
+ <p align="center">
2
+ <a href="https://www.form-create.com" target="_blank">
3
+ <img width="300" alt="FormCreate" src="https://static.form-create.com/file/img/info-logo2.png">
4
+ </a>
5
+ </p>
6
+ <p align="center">
7
+ 基于Element Plus的低代码表单生成组件
8
+ </p>
3
9
 
4
- form-create is a form generation component that can generate dynamic rendering, data collection, verification and submission functions through JSON. Supports 5 UI frameworks, and supports the generation of any Vue components. Built-in 20 kinds of commonly used form components and custom components, no matter how complex forms can be easily handled.
10
+ <p align="center">
11
+ <a href="https://www.form-create.com/" target="_blank">官网</a>
12
+ <span>&nbsp;|&nbsp;</span>
13
+ <a href="https://form-create.com/v3/guide/" target="_blank">帮助文档</a>
14
+ <span>&nbsp;|&nbsp;</span>
15
+ <a href="https://pro.form-create.com/view/" target="_blank">可视化表单设计器</a>
16
+ <span>&nbsp;|&nbsp;</span>
17
+ <a href="https://pro.form-create.com/mobile/" target="_blank">移动端表单设计器</a>
18
+ </p>
5
19
 
6
- > form-create element-ui 动态表单组件
7
- >
8
- > form-create element-ui Dynamic form component
20
+ <p align="center">
21
+ <a href="https://github.com/xaboy/form-create" target="_blank"><img src="https://img.shields.io/badge/License-MIT-yellow.svg" alt="TIM" /></a>
22
+ <a href="https://github.com/xaboy/form-create" target="_blank"><img src="https://img.shields.io/npm/dt/@form-create/element-ui.svg" alt="dt" /></a>
23
+ </p>
9
24
 
10
- [GitHub](https://github.com/xaboy/form-create) | [文档](http://form-create.com/v3/element-ui/)
25
+ **FormCreate 是一个可以通过 JSON 生成具有动态渲染、数据收集、验证和提交功能的低代码表单生成组件。支持6个UI框架,适配移动端,并且支持生成任何 Vue 组件。内置20种常用表单组件和自定义组件,再复杂的表单都可以轻松搞定。**
26
+
27
+ [![FcDesigner](https://static.form-create.com/file/img/banner-m2.jpg)](https://pro.form-create.com/view)
28
+
29
+ ## 特点
30
+ - 使用JSON数据生成表单
31
+ - 支持扩展,生成任何Vue组件和HTML标签
32
+ - 支持6个UI框架
33
+ - 支持组件之间联动
34
+ - 提供丰富的表单操作API
35
+ - 支持子表单和分组
36
+ - 高性能
37
+ - **适配移动端**
38
+
39
+ ## 支持的UI框架
40
+ - element-plus
41
+ - ant-design-vue
42
+ - naive-ui
43
+ - arco-design
44
+ - tdesign
45
+ - vant
46
+
47
+ > 如果对您有帮助,您可以点右上角 "Star" 支持一下 谢谢!本项目还在不断开发完善中,如有任何建议或问题[请在这里提出](https://github.com/xaboy/form-create/issues/new)
48
+
49
+ > 开发者讨论群[629709230](https://jq.qq.com/?_wv=1027&k=F1FlEFIV)
11
50
 
12
- [开源的vue表单设计器组件](https://github.com/xaboy/form-create-designer) ([功能演示](http://form-create.com/designer?fr=fc))
13
51
 
14
52
  - **预览**
15
53
 
16
54
  ![demo1](https://raw.githubusercontent.com/xaboy/form-create/dev/images/demo-live3.gif)
17
55
 
56
+ ![demo2](https://form-create.com/v3/img/form-create.mobile.jpg)
57
+
58
+ <details>
59
+ <summary><b>更多</b></summary>
18
60
 
19
61
  - **操作表单**
20
62
 
63
+ [详细说明](https://www.form-create.com/v3/instance.html)
64
+
21
65
  ![demo2](https://raw.githubusercontent.com/xaboy/form-create/dev/images/demo-live2.gif)
22
66
 
23
67
  - **`group` 组件**
24
68
 
69
+ [详细说明](https://www.form-create.com/v3/guide/group.html)
70
+
25
71
  ![demo3](https://raw.githubusercontent.com/xaboy/form-create/dev/images/demo-group.gif)
26
72
 
27
73
  - **`control` 配置项**
28
74
 
75
+ [详细说明](https://www.form-create.com/v3/guide/control.html)
76
+
29
77
  ![demo2](https://raw.githubusercontent.com/xaboy/form-create/dev/images/demo-live4.gif)
78
+ </details>
79
+
80
+ ## 包说明
81
+
82
+ | 包名 | 说明 |
83
+ |-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------|
84
+ | @form-create/element-ui [![version](https://img.shields.io/npm/v/@form-create/element-ui/next.svg)](https://www.npmjs.com/package/@form-create/element-ui) [![npm](https://img.shields.io/npm/dt/@form-create/element-ui.svg)](https://www.npmjs.com/package/@form-create/element-ui) | [element-plus 版本](http://form-create.com/v3/element-ui/) |
85
+ | @form-create/ant-design-vue [![version](https://img.shields.io/npm/v/@form-create/ant-design-vue/next.svg)](https://www.npmjs.com/package/@form-create/ant-design-vue) [![npm](https://img.shields.io/npm/dt/@form-create/ant-design-vue.svg)](https://www.npmjs.com/package/@form-create/ant-design-vue) | [ant-design-vue 版本](http://form-create.com/v3/ant-design-vue/) |
86
+ | @form-create/arco-design [![version](https://img.shields.io/npm/v/@form-create/arco-design/next.svg)](https://www.npmjs.com/package/@form-create/arco-design) [![npm](https://img.shields.io/npm/dt/@form-create/arco-design.svg)](https://www.npmjs.com/package/@form-create/arco-design) | [arco-design 版本](http://form-create.com/v3/arco-design/) |
87
+ | @form-create/naive-ui [![version](https://img.shields.io/npm/v/@form-create/naive-ui/next.svg)](https://www.npmjs.com/package/@form-create/naive-ui) [![npm](https://img.shields.io/npm/dt/@form-create/naive-ui.svg)](https://www.npmjs.com/package/@form-create/naive-ui) | [naive-ui 版本](http://form-create.com/v3/naive-ui/) |
88
+ | @form-create/tdesign [![version](https://img.shields.io/npm/v/@form-create/tdesign/next.svg)](https://www.npmjs.com/package/@form-create/tdesign) [![npm](https://img.shields.io/npm/dt/@form-create/tdesign.svg)](https://www.npmjs.com/package/@form-create/tdesign) | [tdesign 版本](http://form-create.com/v3/tdesign/) |
89
+ | @form-create/vant [![version](https://img.shields.io/npm/v/@form-create/vant.svg)](https://www.npmjs.com/package/@form-create/vant) [![npm](https://img.shields.io/npm/dt/@form-create/vant.svg)](https://www.npmjs.com/package/@form-create/vant) | [vant 版本(移动端)](http://form-create.com/v3/vant/) |
90
+ | @form-create/designer [![version](https://img.shields.io/npm/v/@form-create/designer.svg)](https://www.npmjs.com/package/@form-create/designer) [![npm](https://img.shields.io/npm/dt/@form-create/designer.svg)](https://www.npmjs.com/package/@form-create/designer) | [可视化表单设计器](http://form-create.com/designer) |
91
+
92
+
93
+ ## 示例
94
+
95
+ - [在线示例](https://www.form-create.com/v3/guide/demo.html)
96
+
97
+
98
+
99
+ <details>
100
+ <summary><b>效果图</b></summary>
101
+
102
+ ![https://raw.githubusercontent.com/xaboy/form-create/dev/images/sample110.jpg](https://raw.githubusercontent.com/xaboy/form-create/dev/images/sample110.jpg)
103
+ </details>
104
+
105
+
106
+ ## 联系
107
+ ![http://static.form-create.com/file/img/support.jpg](http://static.form-create.com/file/img/support.jpg)
108
+
109
+ ## 感谢
110
+
111
+ [时光弧线](https://github.com/shiguanghuxian) | [wxxtqk](https://github.com/wxxtqk) | [williamBoss](https://github.com/williamBoss) | [HeyMrLin](https://github.com/HeyMrLin) | [djkloop](https://github.com/djkloop) | [daiwenyong](https://github.com/daiwenyong) | [JetBrains](https://www.jetbrains.com/?from=form-create)
112
+
113
+ ## License
114
+
115
+ [MIT](http://opensource.org/licenses/MIT)
30
116
 
117
+ Copyright (c) 2018-present xaboy
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @form-create/element-ui v3.2.10
2
+ * @form-create/element-ui v3.2.11
3
3
  * (c) 2018-2024 xaboy
4
4
  * Github https://github.com/xaboy/form-create
5
5
  * Released under the MIT License.
@@ -2141,7 +2141,7 @@ function $FormCreate(FormCreate, components, directives) {
2141
2141
  },
2142
2142
  inFor: Boolean
2143
2143
  },
2144
- emits: ['update:api', 'update:modelValue', 'mounted', 'submit', 'change', 'emit-event', 'control', 'remove-rule', 'remove-field', 'sync', 'reload', 'repeat-field', 'update', 'validate-field-fail', 'validate-fail', 'created'],
2144
+ emits: ['update:api', 'update:modelValue', 'mounted', 'submit', 'reset', 'change', 'emit-event', 'control', 'remove-rule', 'remove-field', 'sync', 'reload', 'repeat-field', 'update', 'validate-field-fail', 'validate-fail', 'created'],
2145
2145
  render: function render() {
2146
2146
  return this.fc.render();
2147
2147
  },
@@ -2444,7 +2444,7 @@ var mergeFn = function mergeFn(fn1, fn2) {
2444
2444
  };
2445
2445
  };
2446
2446
 
2447
- var keyAttrs = ['type', 'slot', 'emitPrefix', 'value', 'name', 'native', 'hidden', 'display', 'inject', 'options', 'emit', 'link', 'prefix', 'suffix', 'update', 'sync', 'optionsTo', 'key', 'slotUpdate', 'computed', 'preview', 'component', 'cache', 'modelEmit'];
2447
+ var keyAttrs = ['type', 'slot', 'ignore', 'emitPrefix', 'value', 'name', 'native', 'hidden', 'display', 'inject', 'options', 'emit', 'link', 'prefix', 'suffix', 'update', 'sync', 'optionsTo', 'key', 'slotUpdate', 'computed', 'preview', 'component', 'cache', 'modelEmit'];
2448
2448
  var arrayAttrs = ['validate', 'children', 'control'];
2449
2449
  var normalAttrs = ['effect', 'deep'];
2450
2450
  function attrs() {
@@ -3072,16 +3072,33 @@ function Api(h) {
3072
3072
  },
3073
3073
 
3074
3074
  formData: function formData(fields) {
3075
- return tidyFields(fields).reduce(function (initial, id) {
3076
- var ctx = h.getFieldCtx(id);
3077
- if (!ctx) return initial;
3078
- initial[ctx.field] = copy(ctx.rule.value);
3079
- return initial;
3080
- }, h.options.appendValue !== false ? copy(h.appendData) : {});
3075
+ if (fields == null) {
3076
+ return api.fields().reduce(function (initial, id) {
3077
+ var ctx = (h.fieldCtx[id] || []).filter(function (ctx) {
3078
+ return !h.isIgnore(ctx.rule);
3079
+ })[0];
3080
+ if (!ctx) return initial;
3081
+ initial[ctx.field] = copy(ctx.rule.value);
3082
+ return initial;
3083
+ }, h.options.appendValue !== false ? copy(h.appendData) : {});
3084
+ } else {
3085
+ return tidyFields(fields).reduce(function (initial, id) {
3086
+ initial[id] = api.getValue(id);
3087
+ return initial;
3088
+ }, {});
3089
+ }
3081
3090
  },
3082
3091
  getValue: function getValue(field) {
3083
3092
  var ctx = h.getFieldCtx(field);
3084
- if (!ctx) return;
3093
+
3094
+ if (!ctx) {
3095
+ if (h.options.appendValue !== false && hasProperty(h.appendData, field)) {
3096
+ return copy(h.appendData[field]);
3097
+ }
3098
+
3099
+ return undefined;
3100
+ }
3101
+
3085
3102
  return copy(ctx.rule.value);
3086
3103
  },
3087
3104
  coverValue: function coverValue(formData) {
@@ -3389,6 +3406,13 @@ function Api(h) {
3389
3406
  nextTick(function () {
3390
3407
  api.clearValidateState();
3391
3408
  });
3409
+
3410
+ if (fields == null) {
3411
+ is.Function(h.options.onReset) && invoke(function () {
3412
+ return h.options.onReset(api);
3413
+ });
3414
+ h.vm.emit('reset', api);
3415
+ }
3392
3416
  },
3393
3417
  method: function method(id, name) {
3394
3418
  var el = api.el(id);
@@ -3965,6 +3989,9 @@ function useRender$1(Render) {
3965
3989
  getSubForm: function getSubForm() {
3966
3990
  return _this6.$handle.subForm[ctx.id];
3967
3991
  },
3992
+ slots: function slots() {
3993
+ return _this6.vm.setupState.top.slots;
3994
+ },
3968
3995
  options: [],
3969
3996
  children: [],
3970
3997
  preview: false,
@@ -5295,12 +5322,18 @@ function useInput(Handler) {
5295
5322
  fields.reduce(function (initial, field) {
5296
5323
  var ctx = _this2.getCtx(field);
5297
5324
 
5298
- initial[field] = toRef(ctx.rule, 'value');
5325
+ if (!_this2.isIgnore(ctx.rule)) {
5326
+ initial[field] = toRef(ctx.rule, 'value');
5327
+ }
5328
+
5299
5329
  return initial;
5300
5330
  }, data);
5301
5331
  this.form = data;
5302
5332
  this.syncValue();
5303
5333
  },
5334
+ isIgnore: function isIgnore(rule) {
5335
+ return rule.ignore || this.options.ignoreHiddenFields && rule.hidden;
5336
+ },
5304
5337
  appendValue: function appendValue(rule) {
5305
5338
  if ((!rule.field || !hasProperty(this.appendData, rule.field)) && !this.options.forceCoverValue) {
5306
5339
  return;
@@ -5538,7 +5571,13 @@ function useContext(Handler) {
5538
5571
 
5539
5572
  _this.watching = true;
5540
5573
 
5541
- if (key === 'link') {
5574
+ if (key === 'hidden' && Boolean(n) !== Boolean(o)) {
5575
+ _this.$render.clearCacheAll();
5576
+ }
5577
+
5578
+ if (key === 'ignore' && ctx.input || key === 'hidden' && ctx.input && _this.options.ignoreHiddenFields) {
5579
+ _this.syncForm();
5580
+ } else if (key === 'link') {
5542
5581
  ctx.link();
5543
5582
  return;
5544
5583
  } else if (['props', 'on', 'deep'].indexOf(key) > -1) {
@@ -5549,8 +5588,6 @@ function useContext(Handler) {
5549
5588
  }
5550
5589
  } else if (key === 'emit') {
5551
5590
  _this.parseEmit(ctx);
5552
- } else if (key === 'hidden' && Boolean(n) !== Boolean(o)) {
5553
- _this.$render.clearCacheAll();
5554
5591
  } else if (['prefix', 'suffix'].indexOf(key) > -1) n && _this.loadFn(n, ctx.rule);else if (key === 'type') {
5555
5592
  ctx.updateType();
5556
5593
 
@@ -5605,10 +5642,18 @@ function useContext(Handler) {
5605
5642
  }
5606
5643
 
5607
5644
  Object.keys(computedRule).forEach(function (k) {
5645
+ var oldValue = undefined;
5608
5646
  var computedValue = computed(function () {
5609
5647
  var item = computedRule[k];
5610
5648
  if (!item) return undefined;
5611
- return _this.compute(ctx, item);
5649
+
5650
+ var value = _this.compute(ctx, item);
5651
+
5652
+ if (item.linkage && value === undefined) {
5653
+ return oldValue;
5654
+ }
5655
+
5656
+ return value;
5612
5657
  });
5613
5658
 
5614
5659
  var callback = function callback(n) {
@@ -5626,6 +5671,7 @@ function useContext(Handler) {
5626
5671
  }
5627
5672
 
5628
5673
  ctx.watch.push(watch(computedValue, function (n) {
5674
+ oldValue = n;
5629
5675
  setTimeout(function () {
5630
5676
  callback(n);
5631
5677
  });
@@ -5680,41 +5726,51 @@ function useContext(Handler) {
5680
5726
  };
5681
5727
 
5682
5728
  var val = checkCondition(item);
5683
- return item.invert === true ? !val : val;
5729
+ val = item.invert === true ? !val : val;
5730
+
5731
+ if (item.linkage) {
5732
+ return val ? invoke(function () {
5733
+ return _this2.computeValue(item.linkage, ctx, group);
5734
+ }, undefined) : undefined;
5735
+ }
5736
+
5737
+ return val;
5684
5738
  } else if (is.Function(item)) {
5685
5739
  fn = function fn() {
5686
5740
  return item(_this2.api.form, _this2.api);
5687
5741
  };
5688
5742
  } else {
5689
- var that = this;
5690
- var formulas = Object.keys(this.fc.formulas).reduce(function (obj, k) {
5691
- obj[k] = function () {
5692
- var _that$fc$formulas$k;
5693
-
5694
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
5695
- args[_key] = arguments[_key];
5696
- }
5697
-
5698
- return (_that$fc$formulas$k = that.fc.formulas[k]).call.apply(_that$fc$formulas$k, [{
5699
- that: this,
5700
- rule: ctx.rule,
5701
- api: that.api,
5702
- fc: that.fc
5703
- }].concat(args));
5704
- };
5705
-
5706
- return obj;
5707
- }, {});
5708
-
5709
5743
  var _group = ctx.getParentGroup();
5710
5744
 
5711
5745
  fn = function fn() {
5712
- return new Function('$formulas', '$form', '$group', '$rule', '$api', "with($form){with(this){with($group){with($formulas){ return ".concat(item, " }}}}")).call(_this2.api.form, formulas, _this2.api.top.form, _group ? _this2.subRuleData[_group.id] || {} : {}, ctx.rule, _this2.api);
5746
+ return _this2.computeValue(item, ctx, _group);
5713
5747
  };
5714
5748
  }
5715
5749
 
5716
5750
  return invoke(fn, undefined);
5717
5751
  },
5752
+ computeValue: function computeValue(str, ctx, group) {
5753
+ var that = this;
5754
+ var formulas = Object.keys(this.fc.formulas).reduce(function (obj, k) {
5755
+ obj[k] = function () {
5756
+ var _that$fc$formulas$k;
5757
+
5758
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
5759
+ args[_key] = arguments[_key];
5760
+ }
5761
+
5762
+ return (_that$fc$formulas$k = that.fc.formulas[k]).call.apply(_that$fc$formulas$k, [{
5763
+ that: this,
5764
+ rule: ctx.rule,
5765
+ api: that.api,
5766
+ fc: that.fc
5767
+ }].concat(args));
5768
+ };
5769
+
5770
+ return obj;
5771
+ }, {});
5772
+ return new Function('$formulas', '$form', '$group', '$rule', '$api', "with($form){with(this){with($group){with($formulas){ return ".concat(str, " }}}}")).call(this.api.form, formulas, this.api.top.form, group ? this.subRuleData[group.id] || {} : {}, ctx.rule, this.api);
5773
+ },
5718
5774
  updateChildren: function updateChildren(ctx, n, o) {
5719
5775
  var _this3 = this;
5720
5776
 
@@ -6696,6 +6752,7 @@ function FormCreateFactory(config) {
6696
6752
  var CreateNode = CreateNodeFactory();
6697
6753
  var formulas = {};
6698
6754
  var isMobile = config.isMobile === true;
6755
+ var prototype = {};
6699
6756
  exportAttrs(config.attrs || {});
6700
6757
 
6701
6758
  function getApi(name) {
@@ -6810,6 +6867,8 @@ function FormCreateFactory(config) {
6810
6867
  return vm.$refs.fc.fapi;
6811
6868
  }
6812
6869
 
6870
+ setPrototypeOf(create, prototype);
6871
+
6813
6872
  function factory(inherit) {
6814
6873
  var _config = _objectSpread2({}, config);
6815
6874
 
@@ -7157,9 +7216,9 @@ function FormCreateFactory(config) {
7157
7216
  var split = id.split('.');
7158
7217
  var key = split.shift();
7159
7218
 
7160
- if (key === '$form') {
7219
+ if (key === '$topForm') {
7161
7220
  val = this.$handle.api.top.formData();
7162
- } else if (key === '$subForm') {
7221
+ } else if (key === '$form') {
7163
7222
  val = this.$handle.api.formData();
7164
7223
  } else if (key === '$options') {
7165
7224
  val = this.options.value;
@@ -7171,7 +7230,7 @@ function FormCreateFactory(config) {
7171
7230
  split = [];
7172
7231
  } else {
7173
7232
  var tmpData = this.vm.setupState.top.setupState.fc.tmpData;
7174
- val = hasProperty(tmpData, key) ? deepGet(tmpData, id) : getData(key);
7233
+ val = hasProperty(tmpData, key) ? deepGet(tmpData, id) : getData(id);
7175
7234
  split = [];
7176
7235
  }
7177
7236
 
@@ -7206,7 +7265,9 @@ function FormCreateFactory(config) {
7206
7265
  var callback = debounce(function () {
7207
7266
  var temp = _this6.getLoadData(id, def);
7208
7267
 
7209
- if (JSON.stringify(temp) !== JSON.stringify(unwatch[id].val)) {
7268
+ if (!unwatch[id]) {
7269
+ return;
7270
+ } else if (JSON.stringify(temp) !== JSON.stringify(unwatch[id].val)) {
7210
7271
  unwatch[id].val = temp;
7211
7272
  run(true);
7212
7273
  }
@@ -7327,6 +7388,7 @@ function FormCreateFactory(config) {
7327
7388
  extend(formCreate, {
7328
7389
  version: config.version,
7329
7390
  ui: config.ui,
7391
+ isMobile: isMobile,
7330
7392
  extendApi: extendApi,
7331
7393
  getData: getData,
7332
7394
  setDataDriver: setDataDriver,
@@ -7347,6 +7409,7 @@ function FormCreateFactory(config) {
7347
7409
  componentAlias: componentAlias,
7348
7410
  copyRule: copyRule,
7349
7411
  copyRules: copyRules,
7412
+ mergeRule: mergeRule,
7350
7413
  fetch: fetch$1,
7351
7414
  $form: $form,
7352
7415
  parseFn: parseFn,
@@ -7361,7 +7424,6 @@ function FormCreateFactory(config) {
7361
7424
  function useStatic(formCreate) {
7362
7425
  extend(formCreate, {
7363
7426
  create: create,
7364
- isMobile: isMobile,
7365
7427
  install: function install(app, options) {
7366
7428
  globalConfig = _objectSpread2(_objectSpread2({}, globalConfig), options || {});
7367
7429
  var key = '_installedFormCreate_' + config.ui;
@@ -7386,8 +7448,8 @@ function FormCreateFactory(config) {
7386
7448
  });
7387
7449
  }
7388
7450
 
7389
- useAttr(create);
7390
- useStatic(create);
7451
+ useAttr(prototype);
7452
+ useStatic(prototype);
7391
7453
  setDataDriver('$cookie', cookieDriver);
7392
7454
  setDataDriver('$localStorage', localStorageDriver);
7393
7455
  CreateNode.use({
@@ -7415,18 +7477,18 @@ function FormCreateFactory(config) {
7415
7477
  }
7416
7478
 
7417
7479
  var FcComponent = $form();
7418
- setPrototypeOf(FcComponent, create);
7480
+ setPrototypeOf(FcComponent, prototype);
7419
7481
  Object.defineProperties(FcComponent, {
7420
7482
  fetch: {
7421
7483
  get: function get() {
7422
- return create.fetch;
7484
+ return prototype.fetch;
7423
7485
  },
7424
7486
  set: function set(val) {
7425
- create.fetch = val;
7487
+ prototype.fetch = val;
7426
7488
  }
7427
7489
  }
7428
7490
  });
7429
- FcComponent.util = create;
7491
+ FcComponent.util = prototype;
7430
7492
  return FcComponent;
7431
7493
  }
7432
7494
 
@@ -8311,7 +8373,7 @@ function install(FormCreate) {
8311
8373
  function elmFormCreate() {
8312
8374
  return FormCreateFactory({
8313
8375
  ui: 'element-ui',
8314
- version: '3.2.10',
8376
+ version: '3.2.11',
8315
8377
  manager: manager,
8316
8378
  extendApi: extendApi,
8317
8379
  install: install,