@form-create/element-ui 3.2.39 → 3.2.40
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 +14 -4
- package/dist/form-create.esm.min.js +2 -2
- package/dist/form-create.js +14 -4
- package/dist/form-create.min.js +2 -2
- package/package.json +3 -3
- package/src/core/manager.js +2 -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.40
|
|
3
3
|
* (c) 2018-2026 xaboy
|
|
4
4
|
* Github https://github.com/xaboy/form-create
|
|
5
5
|
* Released under the MIT License.
|
|
@@ -4341,6 +4341,8 @@
|
|
|
4341
4341
|
}
|
|
4342
4342
|
|
|
4343
4343
|
vn = function vn() {
|
|
4344
|
+
var _prop$col;
|
|
4345
|
+
|
|
4344
4346
|
for (var _len = arguments.length, slotValue = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
4345
4347
|
slotValue[_key] = arguments[_key];
|
|
4346
4348
|
}
|
|
@@ -4403,7 +4405,7 @@
|
|
|
4403
4405
|
|
|
4404
4406
|
_vn = _this4.renderSides(_vn, ctx);
|
|
4405
4407
|
|
|
4406
|
-
if ((ctx.input
|
|
4408
|
+
if ((!(!ctx.input && is.Undef(prop["native"])) || ((_prop$col = prop.col) === null || _prop$col === void 0 ? void 0 : _prop$col.show) === true) && prop["native"] !== true) {
|
|
4407
4409
|
_this4.fc.targetFormDriver('updateWrap', ctx);
|
|
4408
4410
|
|
|
4409
4411
|
_vn = _this4.$manager.makeWrap(ctx, _vn);
|
|
@@ -5246,6 +5248,7 @@
|
|
|
5246
5248
|
},
|
|
5247
5249
|
initProp: function initProp() {
|
|
5248
5250
|
var _this3 = this,
|
|
5251
|
+
_rule$col,
|
|
5249
5252
|
_this$refRule,
|
|
5250
5253
|
_this$refRule$__$vali;
|
|
5251
5254
|
|
|
@@ -5256,6 +5259,11 @@
|
|
|
5256
5259
|
this.prop = mergeRule({}, [rule].concat(_toConsumableArray(Object.keys(this.payload).map(function (k) {
|
|
5257
5260
|
return _this3.payload[k];
|
|
5258
5261
|
})), [this.computed]));
|
|
5262
|
+
|
|
5263
|
+
if (rule.col && ((_rule$col = rule.col) === null || _rule$col === void 0 ? void 0 : _rule$col.show) !== false) {
|
|
5264
|
+
this.prop.col.show = true;
|
|
5265
|
+
}
|
|
5266
|
+
|
|
5259
5267
|
this.prop.validate = [].concat(_toConsumableArray(((_this$refRule = this.refRule) === null || _this$refRule === void 0 ? void 0 : (_this$refRule$__$vali = _this$refRule.__$validate) === null || _this$refRule$__$vali === void 0 ? void 0 : _this$refRule$__$vali.value) || []), _toConsumableArray(this.prop.validate || []));
|
|
5260
5268
|
},
|
|
5261
5269
|
initNone: function initNone() {
|
|
@@ -9435,7 +9443,9 @@
|
|
|
9435
9443
|
return this.$r(_prop, children);
|
|
9436
9444
|
},
|
|
9437
9445
|
makeCol: function makeCol(rule, uni, children) {
|
|
9438
|
-
var col = rule.col;
|
|
9446
|
+
var col = _objectSpread2({}, rule.col);
|
|
9447
|
+
|
|
9448
|
+
delete col.show;
|
|
9439
9449
|
return this.$r({
|
|
9440
9450
|
"class": this.$render.mergeClass(col["class"], 'fc-form-col'),
|
|
9441
9451
|
type: 'col',
|
|
@@ -9906,7 +9916,7 @@
|
|
|
9906
9916
|
function elmFormCreate() {
|
|
9907
9917
|
return FormCreateFactory({
|
|
9908
9918
|
ui: 'element-ui',
|
|
9909
|
-
version: '3.2.
|
|
9919
|
+
version: '3.2.40',
|
|
9910
9920
|
manager: manager,
|
|
9911
9921
|
extendApi: extendApi,
|
|
9912
9922
|
install: install,
|