@form-create/element-ui 3.2.38 → 3.2.39
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 +2 -0
- package/dist/form-create.esm.js +10 -5
- package/dist/form-create.esm.min.js +2 -2
- package/dist/form-create.js +10 -5
- package/dist/form-create.min.js +2 -2
- package/package.json +5 -5
- package/src/core/manager.js +1 -1
package/dist/form-create.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @form-create/element-ui v3.2.
|
|
2
|
+
* @form-create/element-ui v3.2.39
|
|
3
3
|
* (c) 2018-2026 xaboy
|
|
4
4
|
* Github https://github.com/xaboy/form-create
|
|
5
5
|
* Released under the MIT License.
|
|
@@ -375,7 +375,7 @@
|
|
|
375
375
|
var name = this.type === 'button' ? 'ElCheckboxButton' : 'ElCheckbox';
|
|
376
376
|
var Type = vue.resolveComponent(name);
|
|
377
377
|
return vue.createVNode(vue.resolveComponent("ElCheckboxGroup"), vue.mergeProps(this.$attrs, {
|
|
378
|
-
"modelValue": this.value,
|
|
378
|
+
"modelValue": this.value === null ? undefined : this.value,
|
|
379
379
|
"onUpdate:modelValue": this.onInput,
|
|
380
380
|
"ref": "el"
|
|
381
381
|
}), _objectSpread2({
|
|
@@ -4403,7 +4403,7 @@
|
|
|
4403
4403
|
|
|
4404
4404
|
_vn = _this4.renderSides(_vn, ctx);
|
|
4405
4405
|
|
|
4406
|
-
if (
|
|
4406
|
+
if ((ctx.input || !is.Undef(prop["native"]) || prop.col.show !== false) && prop["native"] !== true) {
|
|
4407
4407
|
_this4.fc.targetFormDriver('updateWrap', ctx);
|
|
4408
4408
|
|
|
4409
4409
|
_vn = _this4.$manager.makeWrap(ctx, _vn);
|
|
@@ -4551,6 +4551,11 @@
|
|
|
4551
4551
|
|
|
4552
4552
|
_this7.onMounted(ctx, vn.el);
|
|
4553
4553
|
},
|
|
4554
|
+
vnodeBeforeUnmount: function vnodeBeforeUnmount() {
|
|
4555
|
+
_this7.$handle.effect(ctx, 'beforeUnmount');
|
|
4556
|
+
|
|
4557
|
+
_this7.$handle.targetHook(ctx, 'beforeUnmount');
|
|
4558
|
+
},
|
|
4554
4559
|
'fc.updateValue': function fcUpdateValue(data) {
|
|
4555
4560
|
_this7.$handle.onUpdateValue(ctx, data);
|
|
4556
4561
|
},
|
|
@@ -9324,7 +9329,7 @@
|
|
|
9324
9329
|
var cls = rule.wrap["class"];
|
|
9325
9330
|
delete rule.wrap["class"];
|
|
9326
9331
|
delete rule.wrap.title;
|
|
9327
|
-
var item = isFalse(rule.wrap.show) ? children : this.$r(mergeProps([rule.wrap, {
|
|
9332
|
+
var item = (is.Undef(rule.wrap.show) ? !ctx.input : isFalse(rule.wrap.show)) ? children : this.$r(mergeProps([rule.wrap, {
|
|
9328
9333
|
props: _objectSpread2(_objectSpread2({
|
|
9329
9334
|
labelWidth: labelWidth === void 0 ? labelWidth : toString(labelWidth),
|
|
9330
9335
|
label: isTitle ? rule.title.title : undefined
|
|
@@ -9901,7 +9906,7 @@
|
|
|
9901
9906
|
function elmFormCreate() {
|
|
9902
9907
|
return FormCreateFactory({
|
|
9903
9908
|
ui: 'element-ui',
|
|
9904
|
-
version: '3.2.
|
|
9909
|
+
version: '3.2.39',
|
|
9905
9910
|
manager: manager,
|
|
9906
9911
|
extendApi: extendApi,
|
|
9907
9912
|
install: install,
|