@byteluck-fe/model-driven-controls 2.21.0-beta.9 → 2.22.0-beta.3
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.
|
@@ -169,7 +169,8 @@ _define_property(SelectRelationControl, "setting", [
|
|
|
169
169
|
showItems: [
|
|
170
170
|
COMMON_SETTING_TYPE.REQUIRED,
|
|
171
171
|
COMMON_SETTING_TYPE.IS_HIDE,
|
|
172
|
-
COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP
|
|
172
|
+
COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,
|
|
173
|
+
COMMON_SETTING_TYPE.CAN_SEARCH
|
|
173
174
|
]
|
|
174
175
|
},
|
|
175
176
|
{
|
|
@@ -184,6 +185,10 @@ _define_property(SelectRelationControl, "setting", [
|
|
|
184
185
|
key: "default-value",
|
|
185
186
|
visible: true
|
|
186
187
|
},
|
|
188
|
+
{
|
|
189
|
+
key: "option-config-setting",
|
|
190
|
+
visible: true
|
|
191
|
+
},
|
|
187
192
|
{
|
|
188
193
|
key: "super-setting",
|
|
189
194
|
visible: true
|
|
@@ -198,6 +198,8 @@ var SelectRelationControlPropertyRules = /*#__PURE__*/ function(OptionAndDataSou
|
|
|
198
198
|
_define_property(_assert_this_initialized(_this), "showSelectedDetail", void 0);
|
|
199
199
|
// 展示已选内容配置字段
|
|
200
200
|
_define_property(_assert_this_initialized(_this), "selectedContentConfig", void 0);
|
|
201
|
+
_define_property(_assert_this_initialized(_this), "optionConfigItem", void 0);
|
|
202
|
+
_define_property(_assert_this_initialized(_this), "canSearch", void 0);
|
|
201
203
|
var _props_options;
|
|
202
204
|
_this.options = initOptions((_props_options = props === null || props === void 0 ? void 0 : props.options) !== null && _props_options !== void 0 ? _props_options : []);
|
|
203
205
|
var _props_optionConfig;
|
|
@@ -227,6 +229,10 @@ var SelectRelationControlPropertyRules = /*#__PURE__*/ function(OptionAndDataSou
|
|
|
227
229
|
var _props_viewFormModelType;
|
|
228
230
|
_this.viewFormModelType = (_props_viewFormModelType = props === null || props === void 0 ? void 0 : props.viewFormModelType) !== null && _props_viewFormModelType !== void 0 ? _props_viewFormModelType : "window";
|
|
229
231
|
_this.formBind = new FormBind(props === null || props === void 0 ? void 0 : props.formBind);
|
|
232
|
+
var _props_optionConfigItem;
|
|
233
|
+
_this.optionConfigItem = (_props_optionConfigItem = props === null || props === void 0 ? void 0 : props.optionConfigItem) !== null && _props_optionConfigItem !== void 0 ? _props_optionConfigItem : [];
|
|
234
|
+
var _props_canSearch;
|
|
235
|
+
_this.canSearch = (_props_canSearch = props === null || props === void 0 ? void 0 : props.canSearch) !== null && _props_canSearch !== void 0 ? _props_canSearch : false;
|
|
230
236
|
return _this;
|
|
231
237
|
}
|
|
232
238
|
return SelectRelationProperty;
|