@form-create/element-ui 3.2.8 → 3.2.10
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/dist/form-create.esm.js +240 -132
- package/dist/form-create.esm.min.js +2 -2
- package/dist/form-create.js +240 -132
- package/dist/form-create.min.js +2 -2
- package/package.json +10 -9
- package/src/core/manager.js +3 -3
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@form-create/element-ui",
|
|
3
|
-
"version": "3.2.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "3.2.10",
|
|
4
|
+
"description": "Element Plus版本低代码表单|FormCreate 是一个可以通过 JSON 生成具有动态渲染、数据收集、验证和提交功能的低代码表单生成组件。支持6个UI框架,适配移动端,并且支持生成任何 Vue 组件。内置20种常用表单组件和自定义组件,再复杂的表单都可以轻松搞定。",
|
|
5
5
|
"main": "./dist/form-create.min.js",
|
|
6
6
|
"module": "./dist/form-create.esm.js",
|
|
7
7
|
"unpkg": "./dist/form-create.min.js",
|
|
@@ -19,13 +19,14 @@
|
|
|
19
19
|
},
|
|
20
20
|
"keywords": [
|
|
21
21
|
"动态表单",
|
|
22
|
+
"低代码",
|
|
22
23
|
"@form-create",
|
|
23
24
|
"form-builder",
|
|
24
25
|
"form",
|
|
25
26
|
"components",
|
|
26
27
|
"vue3",
|
|
27
|
-
"element-
|
|
28
|
-
"
|
|
28
|
+
"element-plus",
|
|
29
|
+
"lowcode",
|
|
29
30
|
"dynamic-form"
|
|
30
31
|
],
|
|
31
32
|
"files": [
|
|
@@ -50,10 +51,10 @@
|
|
|
50
51
|
"@form-create/component-elm-group": "^3.2.8",
|
|
51
52
|
"@form-create/component-elm-radio": "^3.2.8",
|
|
52
53
|
"@form-create/component-elm-select": "^3.2.0",
|
|
53
|
-
"@form-create/component-elm-tree": "^3.2.
|
|
54
|
-
"@form-create/component-elm-upload": "^3.2.
|
|
54
|
+
"@form-create/component-elm-tree": "^3.2.9",
|
|
55
|
+
"@form-create/component-elm-upload": "^3.2.9",
|
|
55
56
|
"@form-create/component-subform": "^3.1.34",
|
|
56
|
-
"@form-create/core": "^3.2.
|
|
57
|
+
"@form-create/core": "^3.2.10",
|
|
57
58
|
"@form-create/utils": "^3.2.0"
|
|
58
59
|
},
|
|
59
60
|
"publishConfig": {
|
|
@@ -67,7 +68,7 @@
|
|
|
67
68
|
"@form-create/component-wangeditor": "^3.2.4",
|
|
68
69
|
"@vue/cli-plugin-babel": "~4.5.0",
|
|
69
70
|
"@vue/cli-service": "^4.5.3",
|
|
70
|
-
"element-plus": "^2.
|
|
71
|
+
"element-plus": "^2.8.3",
|
|
71
72
|
"v-jsoneditor": "^1.4.2"
|
|
72
73
|
},
|
|
73
74
|
"buildFormCreateOptions": {
|
|
@@ -87,5 +88,5 @@
|
|
|
87
88
|
"esm"
|
|
88
89
|
]
|
|
89
90
|
},
|
|
90
|
-
"gitHead": "
|
|
91
|
+
"gitHead": "07993df07dd9d5177b42b72fe261a8c0e2436643"
|
|
91
92
|
}
|
package/src/core/manager.js
CHANGED
|
@@ -98,7 +98,7 @@ export default {
|
|
|
98
98
|
e.preventDefault();
|
|
99
99
|
}
|
|
100
100
|
},
|
|
101
|
-
class: [form.className, form.class, 'form-create', this.
|
|
101
|
+
class: [form.className, form.class, 'form-create', this.$handle.preview ? 'is-preview' : ''],
|
|
102
102
|
style: form.style,
|
|
103
103
|
type: 'form',
|
|
104
104
|
};
|
|
@@ -107,11 +107,11 @@ export default {
|
|
|
107
107
|
const {key, ref, $handle} = this;
|
|
108
108
|
extend(this.rule, {key, ref});
|
|
109
109
|
extend(this.rule.props, {
|
|
110
|
-
model:
|
|
110
|
+
model: {...$handle.formData},
|
|
111
111
|
});
|
|
112
112
|
},
|
|
113
113
|
render(children) {
|
|
114
|
-
if (children.slotLen() && !this.
|
|
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)]);
|