@form-create/element-ui 3.2.7 → 3.2.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@form-create/element-ui",
3
- "version": "3.2.7",
3
+ "version": "3.2.9",
4
4
  "description": "element-ui动态表单|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.",
5
5
  "main": "./dist/form-create.min.js",
6
6
  "module": "./dist/form-create.esm.js",
@@ -45,15 +45,15 @@
45
45
  },
46
46
  "homepage": "http://www.form-create.com/v3/",
47
47
  "dependencies": {
48
- "@form-create/component-elm-checkbox": "^3.2.0",
48
+ "@form-create/component-elm-checkbox": "^3.2.8",
49
49
  "@form-create/component-elm-frame": "^3.2.0",
50
- "@form-create/component-elm-group": "^3.2.4",
51
- "@form-create/component-elm-radio": "^3.2.0",
50
+ "@form-create/component-elm-group": "^3.2.8",
51
+ "@form-create/component-elm-radio": "^3.2.8",
52
52
  "@form-create/component-elm-select": "^3.2.0",
53
- "@form-create/component-elm-tree": "^3.2.0",
54
- "@form-create/component-elm-upload": "^3.2.7",
53
+ "@form-create/component-elm-tree": "^3.2.9",
54
+ "@form-create/component-elm-upload": "^3.2.9",
55
55
  "@form-create/component-subform": "^3.1.34",
56
- "@form-create/core": "^3.2.7",
56
+ "@form-create/core": "^3.2.9",
57
57
  "@form-create/utils": "^3.2.0"
58
58
  },
59
59
  "publishConfig": {
@@ -87,5 +87,5 @@
87
87
  "esm"
88
88
  ]
89
89
  },
90
- "gitHead": "e7f48140aaf46c2a6f5bb8c02ca67eb3eaaf49c6"
90
+ "gitHead": "0c3e2e89005d6e38a85586b3f4db9119886dc478"
91
91
  }
@@ -98,7 +98,7 @@ export default {
98
98
  e.preventDefault();
99
99
  }
100
100
  },
101
- class: [form.className, form.class, 'form-create', this.options.preview ? 'is-preview' : ''],
101
+ class: [form.className, form.class, 'form-create', this.$handle.preview ? 'is-preview' : ''],
102
102
  style: form.style,
103
103
  type: 'form',
104
104
  };
@@ -111,7 +111,7 @@ export default {
111
111
  });
112
112
  },
113
113
  render(children) {
114
- if (children.slotLen() && !this.options.preview) {
114
+ if (children.slotLen() && !this.$handle.preview) {
115
115
  children.setSlot(undefined, () => this.makeFormBtn());
116
116
  }
117
117
  return this.$r(this.rule, isFalse(this.options.row.show) ? children.getSlots() : [this.makeRow(children)]);
@@ -120,9 +120,10 @@ export default {
120
120
  const rule = ctx.prop;
121
121
  const uni = `${this.key}${ctx.key}`;
122
122
  const col = rule.col;
123
- const isTitle = this.isTitle(rule);
123
+ const isTitle = this.isTitle(rule) && rule.wrap.title !== false;
124
124
  const labelWidth = (!col.labelWidth && !isTitle) ? 0 : col.labelWidth;
125
125
  const {inline, col: _col} = this.rule.props;
126
+ delete rule.wrap.title;
126
127
  const item = isFalse(rule.wrap.show) ? children : this.$r(mergeProps([rule.wrap, {
127
128
  props: {
128
129
  labelWidth: labelWidth === void 0 ? labelWidth : toString(labelWidth),