@form-create/element-ui 3.2.14 → 3.2.16

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
@@ -35,14 +35,12 @@
35
35
  - 支持子表单和分组
36
36
  - 高性能
37
37
  - **适配移动端**
38
+ - **多语言**
38
39
 
39
40
  ## 支持的UI框架
40
- - element-plus
41
- - ant-design-vue
42
- - naive-ui
43
- - arco-design
44
- - tdesign
45
- - vant
41
+
42
+ [![FcDesigner](https://static.form-create.com/file/img/products.jpg)](https://form-create.com/)
43
+
46
44
 
47
45
  > 如果对您有帮助,您可以点右上角 "Star" 支持一下 谢谢!本项目还在不断开发完善中,如有任何建议或问题[请在这里提出](https://github.com/xaboy/form-create/issues/new)
48
46
 
@@ -79,16 +77,38 @@
79
77
 
80
78
  ## 包说明
81
79
 
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) |
80
+ | 包名 | 说明 |
81
+ |-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------|
82
+ | @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) | [element-plus 版本](http://form-create.com/v3/element-ui/) |
83
+ | @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) | [ant-design-vue 版本](http://form-create.com/v3/ant-design-vue/) |
84
+ | @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) | [arco-design 版本](http://form-create.com/v3/arco-design/) |
85
+ | @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) | [naive-ui 版本](http://form-create.com/v3/naive-ui/) |
86
+ | @form-create/tdesign [![version](https://img.shields.io/npm/v/@form-create/tdesign/next.svg)](https://www.npmjs.com/package/@form-create/tdesign) | [tdesign 版本](http://form-create.com/v3/tdesign/) |
87
+ | @form-create/iview [![version](https://img.shields.io/npm/v/@form-create/iview.svg)](https://www.npmjs.com/package/@form-create/iview) | [iview 版本](http://form-create.com/v2/iview/) |
88
+ | @form-create/view-design [![version](https://img.shields.io/npm/v/@form-create/view-design.svg)](https://www.npmjs.com/package/@form-create/view-design) | [view-design 版本](http://form-create.com/v2/iview/) |
89
+ | @form-create/vant [![version](https://img.shields.io/npm/v/@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) | [可视化表单设计器](http://form-create.com/v3/designer) |
91
+ | @form-create/vant-designer [![version](https://img.shields.io/npm/v/@form-create/vant-designer.svg)](https://www.npmjs.com/package/@form-create/designer) | [移动端表单设计器](http://form-create.com/v3/mobile) |
92
+
93
+ **分支说明**
94
+
95
+ - **latest:** Vue2.0版本分支
96
+ - **super:** Vue2.7版本分支(该版本功能和next分支功能一致)
97
+ - **next:** Vue3.0版本分支
98
+
99
+ 例如:
100
+
101
+ 安装Vue2版本的@form-create/element-ui
102
+
103
+ ```sh
104
+ npm install @form-create/element-ui
105
+ ```
106
+
107
+ 安装Vue3版本的@form-create/element-ui
91
108
 
109
+ ```sh
110
+ npm install @form-create/element-ui@next
111
+ ```
92
112
 
93
113
  ## 示例
94
114
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @form-create/element-ui v3.2.14
2
+ * @form-create/element-ui v3.2.16
3
3
  * (c) 2018-2024 xaboy
4
4
  * Github https://github.com/xaboy/form-create
5
5
  * Released under the MIT License.
@@ -1414,7 +1414,7 @@ var Upload = defineComponent({
1414
1414
  onPreview: Function,
1415
1415
  modalTitle: String,
1416
1416
  listType: String,
1417
- modelValue: [Array, String]
1417
+ modelValue: [Array, String, Object]
1418
1418
  },
1419
1419
  emits: ['update:modelValue', 'change', 'remove', 'fc.el'],
1420
1420
  data: function data() {
@@ -1449,7 +1449,7 @@ var Upload = defineComponent({
1449
1449
  var files = fileList.map(function (v) {
1450
1450
  return v.is_string ? v.url : v.value || v.url;
1451
1451
  }).filter(function (url) {
1452
- return url !== undefined && url.indexOf('blob:') !== 0;
1452
+ return url !== undefined;
1453
1453
  });
1454
1454
  this.$emit('update:modelValue', files);
1455
1455
  },
@@ -2609,7 +2609,14 @@ function parseFn(fn, mode) {
2609
2609
  }
2610
2610
 
2611
2611
  if (!flag) return fn;
2612
- var val = makeFn(v);
2612
+ var val;
2613
+
2614
+ try {
2615
+ val = makeFn(v);
2616
+ } catch (e) {
2617
+ val = makeFn('function ' + v);
2618
+ }
2619
+
2613
2620
  val.__json = fn;
2614
2621
  return val;
2615
2622
  } catch (e) {
@@ -2871,6 +2878,21 @@ function extractVar(str) {
2871
2878
 
2872
2879
  return Object.keys(matches);
2873
2880
  }
2881
+ function convertFieldToConditions(field) {
2882
+ var parts = field.split('.');
2883
+ var conditions = [];
2884
+ var currentCondition = '';
2885
+ parts.forEach(function (part, index) {
2886
+ if (index === 0) {
2887
+ currentCondition = part;
2888
+ } else {
2889
+ currentCondition += '.' + part;
2890
+ }
2891
+
2892
+ conditions.push(currentCondition);
2893
+ });
2894
+ return conditions.join(' && ');
2895
+ }
2874
2896
 
2875
2897
  function baseRule() {
2876
2898
  return {
@@ -3663,11 +3685,16 @@ function Api(h) {
3663
3685
  });
3664
3686
  });
3665
3687
  },
3666
- watchFetch: function watchFetch(opt, callback, error) {
3688
+ watchFetch: function watchFetch(opt, callback, error, beforeFetch) {
3667
3689
  return h.fc.watchLoadData(function (get, change) {
3668
3690
  var _opt = deepCopy(opt);
3669
3691
 
3670
3692
  _opt = h.loadFetchVar(_opt, get);
3693
+
3694
+ if (beforeFetch && beforeFetch(_opt, change) === false) {
3695
+ return;
3696
+ }
3697
+
3671
3698
  h.beforeFetch(_opt).then(function () {
3672
3699
  return asyncFetch(_opt, h.fc.create.fetch, api).then(function (res) {
3673
3700
  invoke(function () {
@@ -3681,11 +3708,18 @@ function Api(h) {
3681
3708
  error && error(e);
3682
3709
  });
3683
3710
  });
3684
- });
3711
+ }, opt.wait == null ? 1000 : opt.wait);
3685
3712
  },
3686
3713
  getData: function getData(id, def) {
3687
3714
  return h.fc.getLoadData(id, def);
3688
3715
  },
3716
+ watchData: function watchData(fn) {
3717
+ return h.fc.watchLoadData(function (get, change) {
3718
+ invoke(function () {
3719
+ return fn(get, change);
3720
+ });
3721
+ });
3722
+ },
3689
3723
  setData: function setData(id, data, isGlobal) {
3690
3724
  return h.fc.setData(id, data, isGlobal);
3691
3725
  },
@@ -4366,7 +4400,7 @@ function useInject(Handler) {
4366
4400
  },
4367
4401
  getInjectData: function getInjectData(self, inject) {
4368
4402
  var $api = self.__fc__ && self.__fc__.$api;
4369
- var vm = self.__fc__ && self.__fc__.$handle.vm || this.vm.props;
4403
+ var vm = self.__fc__ && self.__fc__.$handle.vm || this.vm;
4370
4404
  var _vm$props = vm.props,
4371
4405
  option = _vm$props.option,
4372
4406
  rule = _vm$props.rule;
@@ -4542,6 +4576,12 @@ function bind(ctx) {
4542
4576
  Object.defineProperties(ctx.origin, {
4543
4577
  __fc__: enumerable(markRaw(ctx), true)
4544
4578
  });
4579
+
4580
+ if (ctx.rule !== ctx.origin) {
4581
+ Object.defineProperties(ctx.rule, {
4582
+ __fc__: enumerable(markRaw(ctx), true)
4583
+ });
4584
+ }
4545
4585
  }
4546
4586
 
4547
4587
  function RuleContext(handle, rule, defaultValue) {
@@ -4885,8 +4925,8 @@ function useLoader(Handler) {
4885
4925
  var rule = ctx.rule;
4886
4926
  is.trueArray(rule.sync) && mergeProps([{
4887
4927
  on: rule.sync.reduce(function (pre, prop) {
4888
- pre["update:".concat(prop)] = function (val) {
4889
- rule.props[prop] = val;
4928
+ pre[_typeof(prop) === 'object' && prop.event || "update:".concat(prop)] = function (val) {
4929
+ rule.props[_typeof(prop) === 'object' && prop.prop || prop] = val;
4890
4930
 
4891
4931
  _this4.vm.emit('sync', prop, val, rule, _this4.fapi);
4892
4932
  };
@@ -5012,7 +5052,7 @@ function useLoader(Handler) {
5012
5052
  return;
5013
5053
  }
5014
5054
 
5015
- rules[index] = _rule = _rule._clone ? _rule._clone() : copyRule(_rule);
5055
+ rules[index] = _rule = _rule._clone ? _rule._clone() : parseJson(toJson(_rule));
5016
5056
  ctx = null;
5017
5057
  isCopy = true;
5018
5058
  }
@@ -5540,6 +5580,7 @@ var BaseParser = {
5540
5580
  };
5541
5581
 
5542
5582
  var noneKey = ['field', 'value', 'vm', 'template', 'name', 'config', 'control', 'inject', 'sync', 'payload', 'optionsTo', 'update', 'slotUpdate', 'computed', 'component', 'cache'];
5583
+ var oldValueTag = Symbol('oldValue');
5543
5584
  function useContext(Handler) {
5544
5585
  extend(Handler.prototype, {
5545
5586
  getCtx: function getCtx(id) {
@@ -5809,7 +5850,7 @@ function useContext(Handler) {
5809
5850
 
5810
5851
  var value = _this.compute(ctx, item);
5811
5852
 
5812
- if (item.linkage && value === undefined) {
5853
+ if (item.linkage && value === oldValueTag) {
5813
5854
  return oldValue;
5814
5855
  }
5815
5856
 
@@ -5864,10 +5905,22 @@ function useContext(Handler) {
5864
5905
  var _loop = function _loop(i) {
5865
5906
  var one = item.group[i];
5866
5907
  var flag = void 0;
5867
- var field = one.field;
5908
+ var field = null;
5868
5909
 
5869
5910
  if (one.variable) {
5870
5911
  field = JSON.stringify(_this2.fc.getLoadData(one.variable) || '');
5912
+ } else if (one.field) {
5913
+ field = convertFieldToConditions(one.field || '');
5914
+ } else {
5915
+ return {
5916
+ v: true
5917
+ };
5918
+ }
5919
+
5920
+ var compare = one.compare;
5921
+
5922
+ if (compare) {
5923
+ compare = convertFieldToConditions(compare || '');
5871
5924
  }
5872
5925
 
5873
5926
  if (one.mode) {
@@ -5879,7 +5932,7 @@ function useContext(Handler) {
5879
5932
  return one.handler(_this2.api, ctx.rule);
5880
5933
  });
5881
5934
  } else {
5882
- flag = new Function('$condition', '$val', '$form', '$group', '$rule', "with($form){with(this){with($group){ return $condition['".concat(one.condition, "'](").concat(field, ", ").concat(one.compare ? one.compare : '$val', "); }}}")).call(_this2.api.form, condition, one.value, _this2.api.top.form, group ? _this2.subRuleData[group.id] || {} : {}, ctx.rule);
5935
+ flag = new Function('$condition', '$val', '$form', '$group', '$rule', "with($form){with(this){with($group){ return $condition['".concat(one.condition, "'](").concat(field, ", ").concat(compare ? compare : '$val', "); }}}")).call(_this2.api.form, condition, one.value, _this2.api.top.form, group ? _this2.subRuleData[group.id] || {} : {}, ctx.rule);
5883
5936
  }
5884
5937
 
5885
5938
  if (or && flag) {
@@ -5908,7 +5961,7 @@ function useContext(Handler) {
5908
5961
  if (item.linkage) {
5909
5962
  return val ? invoke(function () {
5910
5963
  return _this2.computeValue(item.linkage, ctx, group);
5911
- }, undefined) : undefined;
5964
+ }, undefined) : oldValueTag;
5912
5965
  }
5913
5966
 
5914
5967
  return val;
@@ -6305,9 +6358,14 @@ function Handler(fc) {
6305
6358
  this.$manager = new fc.manager(this);
6306
6359
  this.$render = new Render(this);
6307
6360
  this.api = fc.extendApiFn.reduce(function (api, fn) {
6308
- extend(api, invoke(function () {
6361
+ var extendApi = invoke(function () {
6309
6362
  return fn(api, _this);
6310
- }, {}));
6363
+ });
6364
+
6365
+ if (extendApi && extendApi !== api) {
6366
+ extend(api, extendApi);
6367
+ }
6368
+
6311
6369
  return api;
6312
6370
  }, Api(this));
6313
6371
  }
@@ -6609,6 +6667,8 @@ var loadData = function loadData(fc) {
6609
6667
  this._fn[inject.id].forEach(function (un) {
6610
6668
  un();
6611
6669
  });
6670
+
6671
+ delete this._fn[inject.id];
6612
6672
  }
6613
6673
 
6614
6674
  inject.clearProp();
@@ -6671,6 +6731,8 @@ var t = function t(fc) {
6671
6731
  this._fn[inject.id].forEach(function (un) {
6672
6732
  un();
6673
6733
  });
6734
+
6735
+ delete this._fn[inject.id];
6674
6736
  }
6675
6737
 
6676
6738
  inject.clearProp();
@@ -6750,6 +6812,13 @@ var fetch = function fetch(fc) {
6750
6812
  deepSet(inject.getProp(), option.to || 'options', val);
6751
6813
  }
6752
6814
 
6815
+ if (val != null && option && option.key && fc.$handle.options.globalData[option.key]) {
6816
+ fc.fetchCache.set(fc.$handle.options.globalData[option.key], {
6817
+ status: true,
6818
+ data: val
6819
+ });
6820
+ }
6821
+
6753
6822
  api.sync(rule);
6754
6823
  };
6755
6824
 
@@ -6867,6 +6936,8 @@ var fetch = function fetch(fc) {
6867
6936
  deleted: function deleted(inject) {
6868
6937
  if (this._fn[inject.id]) {
6869
6938
  this._fn[inject.id]();
6939
+
6940
+ delete this._fn[inject.id];
6870
6941
  }
6871
6942
 
6872
6943
  inject.clearProp();
@@ -6997,7 +7068,8 @@ function exportAttrs(attrs) {
6997
7068
  }
6998
7069
 
6999
7070
  var id = 1;
7000
- var instance = {}; //todo 表单嵌套
7071
+ var instance = {};
7072
+ var defValueTag = Symbol('defValue'); //todo 表单嵌套
7001
7073
 
7002
7074
  function FormCreateFactory(config) {
7003
7075
  var components = _defineProperty({}, fragment.name, fragment);
@@ -7220,7 +7292,11 @@ function FormCreateFactory(config) {
7220
7292
  id = split.shift();
7221
7293
  var field = split.join('.');
7222
7294
 
7223
- if (hasProperty(loadData, id)) {
7295
+ if (!hasProperty(loadData, id)) {
7296
+ loadData[id] = defValueTag;
7297
+ }
7298
+
7299
+ if (loadData[id] !== defValueTag) {
7224
7300
  var val = loadData[id];
7225
7301
 
7226
7302
  if (val && val._driver) {
@@ -7273,6 +7349,7 @@ function FormCreateFactory(config) {
7273
7349
  },
7274
7350
  drivers: drivers,
7275
7351
  renderDriver: null,
7352
+ get: null,
7276
7353
  refreshData: refreshData,
7277
7354
  loadData: loadData,
7278
7355
  CreateNode: CreateNode,
@@ -7505,22 +7582,11 @@ function FormCreateFactory(config) {
7505
7582
  var handle = is.Function(option) ? option : option.handle;
7506
7583
 
7507
7584
  if (handle) {
7508
- var val;
7509
- var unwatch = this.watchLoadData(function (get, change) {
7510
- if (change) {
7511
- unwatch();
7512
-
7513
- _this5.bus.$emit('$loadData.$var.' + key);
7514
-
7515
- return val;
7516
- }
7517
-
7518
- val = invoke(function () {
7519
- return handle(get, _this5.$handle.api);
7520
- });
7521
- });
7522
- this.unwatch.push(unwatch);
7523
- return val;
7585
+ return deepGet(invoke(function () {
7586
+ return handle(_this5.get || function () {
7587
+ return _this5.getLoadData.apply(_this5, arguments);
7588
+ }, _this5.$handle.api);
7589
+ }), split);
7524
7590
  }
7525
7591
  }
7526
7592
  },
@@ -7559,7 +7625,12 @@ function FormCreateFactory(config) {
7559
7625
  split = [];
7560
7626
  } else {
7561
7627
  var tmpData = this.vm.setupState.top.setupState.fc.tmpData;
7562
- val = hasProperty(tmpData, key) ? deepGet(tmpData, id) : getData(id);
7628
+
7629
+ if (!hasProperty(tmpData, key)) {
7630
+ tmpData[key] = defValueTag;
7631
+ }
7632
+
7633
+ val = tmpData[key] !== defValueTag ? deepGet(tmpData, id) : getData(id);
7563
7634
  split = [];
7564
7635
  }
7565
7636
 
@@ -7570,15 +7641,23 @@ function FormCreateFactory(config) {
7570
7641
 
7571
7642
  return val == null || val === '' ? def : val;
7572
7643
  },
7573
- watchLoadData: function watchLoadData(fn) {
7644
+ watchLoadData: function watchLoadData(fn, wait) {
7574
7645
  var _this6 = this;
7575
7646
 
7576
7647
  var unwatch = {};
7577
7648
 
7578
7649
  var run = function run(flag) {
7650
+ if (!_this6.get) {
7651
+ _this6.get = get;
7652
+ }
7653
+
7579
7654
  invoke(function () {
7580
7655
  fn(get, flag);
7581
7656
  });
7657
+
7658
+ if (_this6.get === get) {
7659
+ _this6.get = undefined;
7660
+ }
7582
7661
  };
7583
7662
 
7584
7663
  var get = function get(id, def) {
@@ -7601,7 +7680,7 @@ function FormCreateFactory(config) {
7601
7680
  unwatch[id].val = temp;
7602
7681
  run(true);
7603
7682
  }
7604
- }, 0);
7683
+ }, wait || 0);
7605
7684
  var un = watch(data, function (n) {
7606
7685
  callback();
7607
7686
  });
@@ -7661,8 +7740,8 @@ function FormCreateFactory(config) {
7661
7740
  this.updateOptions(options);
7662
7741
  },
7663
7742
  mergeOptions: function mergeOptions(target, opt, parent) {
7664
- opt = deepCopy(opt);
7665
- parent && ['page', 'onSubmit', 'mounted', 'reload', 'formData', 'el', 'globalClass', 'style'].forEach(function (n) {
7743
+ opt = _objectSpread2({}, opt || {});
7744
+ parent && ['page', 'onSubmit', 'onReset', 'onCreated', 'onChange', 'onMounted', 'mounted', 'onReload', 'reload', 'formData', 'el', 'globalClass', 'style'].forEach(function (n) {
7666
7745
  delete opt[n];
7667
7746
  });
7668
7747
 
@@ -8458,7 +8537,7 @@ function useFrame(maker) {
8458
8537
  return maker;
8459
8538
  }
8460
8539
 
8461
- var css_248z = ".form-create .form-create .el-form-item{margin-bottom:22px}.form-create{width:100%}.form-create .fc-none,.form-create.is-preview .el-form-item.is-required>.el-form-item__label-wrap>.el-form-item__label:before,.form-create.is-preview .el-form-item.is-required>.el-form-item__label:before,.form-create.is-preview .fc-clock{display:none!important}.fc-wrap-right .el-form-item__label{justify-content:flex-end}.fc-wrap-left .el-form-item__label{justify-content:flex-start}.fc-wrap-top.el-form-item{display:block}.fc-wrap-top.el-form-item .el-form-item__label{display:block;height:auto;line-height:22px;margin-bottom:8px;text-align:left}.el-form--large .fc-wrap-top.el-form-item .el-form-item__label{line-height:22px;margin-bottom:12px}.el-form--default .fc-wrap-top.el-form-item .el-form-item__label{line-height:22px;margin-bottom:8px}.el-form--small .fc-wrap-top.el-form-item .el-form-item__label{line-height:20px;margin-bottom:4px}.fc-form-footer{margin-top:12px}";
8540
+ var css_248z = ".form-create .form-create .el-form-item{margin-bottom:22px}.form-create{width:100%}.form-create .fc-none,.form-create.is-preview .el-form-item.is-required>.el-form-item__label-wrap>.el-form-item__label:before,.form-create.is-preview .el-form-item.is-required>.el-form-item__label:before,.form-create.is-preview .fc-clock{display:none!important}.fc-wrap-right>.el-form-item__label{display:flex;justify-content:flex-end}.fc-wrap-left>.el-form-item__label{display:flex;justify-content:flex-start}.fc-wrap-top.el-form-item{display:block}.fc-wrap-top.el-form-item>.el-form-item__label{display:block;height:auto;line-height:22px;margin-bottom:8px;text-align:left}.el-form--large .fc-wrap-top.el-form-item>.el-form-item__label{line-height:22px;margin-bottom:12px}.el-form--default .fc-wrap-top.el-form-item>.el-form-item__label{line-height:22px;margin-bottom:8px}.el-form--small .fc-wrap-top.el-form-item>.el-form-item__label{line-height:20px;margin-bottom:4px}.fc-form-footer{margin-top:12px}";
8462
8541
  styleInject(css_248z);
8463
8542
 
8464
8543
  function tidyBtnProp(btn, def) {
@@ -8718,7 +8797,7 @@ function install(FormCreate) {
8718
8797
  function elmFormCreate() {
8719
8798
  return FormCreateFactory({
8720
8799
  ui: 'element-ui',
8721
- version: '3.2.14',
8800
+ version: '3.2.16',
8722
8801
  manager: manager,
8723
8802
  extendApi: extendApi,
8724
8803
  install: install,