@byteluck-fe/model-driven-controls 2.5.0-alpha.14 → 2.5.0-alpha.16
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.
|
@@ -118,8 +118,8 @@ var SelectRelationProperty = /**
|
|
|
118
118
|
_classCallCheck(this, SelectRelationProperty);
|
|
119
119
|
var _this;
|
|
120
120
|
_this = _super.call(this, props);
|
|
121
|
-
var
|
|
122
|
-
_this.options = initOptions((
|
|
121
|
+
var ref9;
|
|
122
|
+
_this.options = initOptions((ref9 = props === null || props === void 0 ? void 0 : props.options) !== null && ref9 !== void 0 ? ref9 : []);
|
|
123
123
|
var ref1;
|
|
124
124
|
_this.optionConfig = (ref1 = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && ref1 !== void 0 ? ref1 : 'datasource';
|
|
125
125
|
_this.listPageBind = new ListBind(props === null || props === void 0 ? void 0 : props.listPageBind);
|
|
@@ -144,6 +144,8 @@ var SelectRelationProperty = /**
|
|
|
144
144
|
}
|
|
145
145
|
var ref7;
|
|
146
146
|
_this.canViewForm = (ref7 = props === null || props === void 0 ? void 0 : props.canViewForm) !== null && ref7 !== void 0 ? ref7 : false;
|
|
147
|
+
var ref8;
|
|
148
|
+
_this.viewFormModelType = (ref8 = props === null || props === void 0 ? void 0 : props.viewFormModelType) !== null && ref8 !== void 0 ? ref8 : 'window';
|
|
147
149
|
return _this;
|
|
148
150
|
}
|
|
149
151
|
return SelectRelationProperty;
|