@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.esm.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.
|
|
@@ -4337,6 +4337,8 @@ function useRender$1(Render) {
|
|
|
4337
4337
|
}
|
|
4338
4338
|
|
|
4339
4339
|
vn = function vn() {
|
|
4340
|
+
var _prop$col;
|
|
4341
|
+
|
|
4340
4342
|
for (var _len = arguments.length, slotValue = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
4341
4343
|
slotValue[_key] = arguments[_key];
|
|
4342
4344
|
}
|
|
@@ -4399,7 +4401,7 @@ function useRender$1(Render) {
|
|
|
4399
4401
|
|
|
4400
4402
|
_vn = _this4.renderSides(_vn, ctx);
|
|
4401
4403
|
|
|
4402
|
-
if ((ctx.input
|
|
4404
|
+
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) {
|
|
4403
4405
|
_this4.fc.targetFormDriver('updateWrap', ctx);
|
|
4404
4406
|
|
|
4405
4407
|
_vn = _this4.$manager.makeWrap(ctx, _vn);
|
|
@@ -5242,6 +5244,7 @@ extend(RuleContext.prototype, {
|
|
|
5242
5244
|
},
|
|
5243
5245
|
initProp: function initProp() {
|
|
5244
5246
|
var _this3 = this,
|
|
5247
|
+
_rule$col,
|
|
5245
5248
|
_this$refRule,
|
|
5246
5249
|
_this$refRule$__$vali;
|
|
5247
5250
|
|
|
@@ -5252,6 +5255,11 @@ extend(RuleContext.prototype, {
|
|
|
5252
5255
|
this.prop = mergeRule({}, [rule].concat(_toConsumableArray(Object.keys(this.payload).map(function (k) {
|
|
5253
5256
|
return _this3.payload[k];
|
|
5254
5257
|
})), [this.computed]));
|
|
5258
|
+
|
|
5259
|
+
if (rule.col && ((_rule$col = rule.col) === null || _rule$col === void 0 ? void 0 : _rule$col.show) !== false) {
|
|
5260
|
+
this.prop.col.show = true;
|
|
5261
|
+
}
|
|
5262
|
+
|
|
5255
5263
|
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 || []));
|
|
5256
5264
|
},
|
|
5257
5265
|
initNone: function initNone() {
|
|
@@ -9431,7 +9439,9 @@ var manager = {
|
|
|
9431
9439
|
return this.$r(_prop, children);
|
|
9432
9440
|
},
|
|
9433
9441
|
makeCol: function makeCol(rule, uni, children) {
|
|
9434
|
-
var col = rule.col;
|
|
9442
|
+
var col = _objectSpread2({}, rule.col);
|
|
9443
|
+
|
|
9444
|
+
delete col.show;
|
|
9435
9445
|
return this.$r({
|
|
9436
9446
|
"class": this.$render.mergeClass(col["class"], 'fc-form-col'),
|
|
9437
9447
|
type: 'col',
|
|
@@ -9902,7 +9912,7 @@ function install(FormCreate) {
|
|
|
9902
9912
|
function elmFormCreate() {
|
|
9903
9913
|
return FormCreateFactory({
|
|
9904
9914
|
ui: 'element-ui',
|
|
9905
|
-
version: '3.2.
|
|
9915
|
+
version: '3.2.40',
|
|
9906
9916
|
manager: manager,
|
|
9907
9917
|
extendApi: extendApi,
|
|
9908
9918
|
install: install,
|