@byteluck-fe/model-driven-controls 2.22.3-beta.1 → 2.22.3-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.
|
@@ -73,6 +73,7 @@ function _is_native_reflect_construct() {
|
|
|
73
73
|
import { PropertyRules, Property } from '@byteluck-fe/model-driven-core';
|
|
74
74
|
import { ActionSetting, ListHeightSetting } from '../../framework';
|
|
75
75
|
import { RulesMessage } from '@byteluck-fe/model-driven-shared';
|
|
76
|
+
import ReferenceListControl from './designer';
|
|
76
77
|
var ReferenceListPropertyRules = /*#__PURE__*/ function(PropertyRules) {
|
|
77
78
|
"use strict";
|
|
78
79
|
_inherits(ReferenceListPropertyRules, PropertyRules);
|
|
@@ -116,6 +117,8 @@ var ReferenceListPropertyRules = /*#__PURE__*/ function(PropertyRules) {
|
|
|
116
117
|
_define_property(_this, "isShowToolbar", void 0), //动作设置
|
|
117
118
|
_define_property(_this, "actionSetting", void 0), //列表高度配置
|
|
118
119
|
_define_property(_this, "listHeightSetting", void 0);
|
|
120
|
+
var _props_caption;
|
|
121
|
+
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : ReferenceListControl.controlName;
|
|
119
122
|
var _props_isShowSimpleSearch;
|
|
120
123
|
_this.isShowSimpleSearch = (_props_isShowSimpleSearch = props === null || props === void 0 ? void 0 : props.isShowSimpleSearch) !== null && _props_isShowSimpleSearch !== void 0 ? _props_isShowSimpleSearch : true;
|
|
121
124
|
var _props_isShowToolbar;
|
package/dist/esm/framework.js
CHANGED
|
@@ -253,12 +253,12 @@ export var ListHeightSetting = function ListHeightSetting(props) {
|
|
|
253
253
|
"use strict";
|
|
254
254
|
_class_call_check(this, ListHeightSetting);
|
|
255
255
|
_define_property(this, "type", void 0);
|
|
256
|
-
_define_property(this, "
|
|
256
|
+
_define_property(this, "row", void 0);
|
|
257
257
|
_define_property(this, "height", void 0);
|
|
258
258
|
var _props_type;
|
|
259
259
|
this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : 'auto';
|
|
260
|
-
var
|
|
261
|
-
this.
|
|
260
|
+
var _props_row;
|
|
261
|
+
this.row = (_props_row = props === null || props === void 0 ? void 0 : props.row) !== null && _props_row !== void 0 ? _props_row : 20;
|
|
262
262
|
this.height = props === null || props === void 0 ? void 0 : props.height;
|
|
263
263
|
};
|
|
264
264
|
export var ImportListBind = function ImportListBind(props) {
|