@byteluck-fe/model-driven-controls 6.2.0-beta.10 → 6.2.0-beta.12
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/esm/formControls/Department2/designer.js +1 -1
- package/dist/esm/formControls/Department2/property.js +6 -6
- package/dist/esm/layoutControls/TableLayoutCol/property.js +2 -2
- package/dist/index.umd.js +1 -1
- package/dist/types/formControls/Department2/property.d.ts +2 -2
- package/package.json +2 -2
|
@@ -124,7 +124,7 @@ var Department2Property = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
124
124
|
function Department2Property(props) {
|
|
125
125
|
_class_call_check(this, Department2Property);
|
|
126
126
|
var _this;
|
|
127
|
-
var
|
|
127
|
+
var _props_defaultAndDisabledFilters;
|
|
128
128
|
_this = _call_super(this, Department2Property, [
|
|
129
129
|
props
|
|
130
130
|
]), /**
|
|
@@ -148,8 +148,8 @@ var Department2Property = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
148
148
|
* */ _define_property(_this, "multistageFilling", void 0), /**
|
|
149
149
|
* 数据设置
|
|
150
150
|
* */ _define_property(_this, "datasourceBind", void 0), /**
|
|
151
|
-
*
|
|
152
|
-
* */ _define_property(_this, "
|
|
151
|
+
* 默认选中且不可修改部门的配置条件.配置后,这些部门将默认被选中,用户无法取消选择或修改
|
|
152
|
+
* */ _define_property(_this, "defaultAndDisabledFilters", void 0), /**
|
|
153
153
|
* 数据类型 行政 or 业务
|
|
154
154
|
* */ _define_property(_this, "datasourceType", void 0 //数据类型 行政 'administration'| 业务 'business'
|
|
155
155
|
), _define_property(_this, "businessType", void 0 //业务部门类型 'all' | 'assign'
|
|
@@ -198,13 +198,13 @@ var Department2Property = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
198
198
|
}
|
|
199
199
|
var _props_defaultShowOptions;
|
|
200
200
|
_this.defaultShowOptions = (_props_defaultShowOptions = props === null || props === void 0 ? void 0 : props.defaultShowOptions) !== null && _props_defaultShowOptions !== void 0 ? _props_defaultShowOptions : false;
|
|
201
|
-
var
|
|
202
|
-
_this.
|
|
201
|
+
var _props_defaultAndDisabledFilters_map;
|
|
202
|
+
_this.defaultAndDisabledFilters = (_props_defaultAndDisabledFilters_map = props === null || props === void 0 ? void 0 : (_props_defaultAndDisabledFilters = props.defaultAndDisabledFilters) === null || _props_defaultAndDisabledFilters === void 0 ? void 0 : _props_defaultAndDisabledFilters.map(function(item) {
|
|
203
203
|
if (item.children !== undefined) {
|
|
204
204
|
return new FieldFilterConditions(item);
|
|
205
205
|
}
|
|
206
206
|
return new FieldFilterCondition(item);
|
|
207
|
-
})) !== null &&
|
|
207
|
+
})) !== null && _props_defaultAndDisabledFilters_map !== void 0 ? _props_defaultAndDisabledFilters_map : [];
|
|
208
208
|
return _this;
|
|
209
209
|
}
|
|
210
210
|
return Department2Property;
|
|
@@ -101,9 +101,9 @@ var TableLayoutColControlProperty = /*#__PURE__*/ function(LayoutControlProperty
|
|
|
101
101
|
var _props_flexDirection;
|
|
102
102
|
_this.flexDirection = (_props_flexDirection = props === null || props === void 0 ? void 0 : props.flexDirection) !== null && _props_flexDirection !== void 0 ? _props_flexDirection : 'column';
|
|
103
103
|
var _props_alignItems;
|
|
104
|
-
_this.alignItems = (_props_alignItems = props === null || props === void 0 ? void 0 : props.alignItems) !== null && _props_alignItems !== void 0 ? _props_alignItems : '';
|
|
104
|
+
_this.alignItems = (_props_alignItems = props === null || props === void 0 ? void 0 : props.alignItems) !== null && _props_alignItems !== void 0 ? _props_alignItems : 'flex-start';
|
|
105
105
|
var _props_justifyContent;
|
|
106
|
-
_this.justifyContent = (_props_justifyContent = props === null || props === void 0 ? void 0 : props.justifyContent) !== null && _props_justifyContent !== void 0 ? _props_justifyContent : '';
|
|
106
|
+
_this.justifyContent = (_props_justifyContent = props === null || props === void 0 ? void 0 : props.justifyContent) !== null && _props_justifyContent !== void 0 ? _props_justifyContent : 'flex-start';
|
|
107
107
|
var _props_background;
|
|
108
108
|
_this.background = (_props_background = props === null || props === void 0 ? void 0 : props.background) !== null && _props_background !== void 0 ? _props_background : {
|
|
109
109
|
type: 'backgroundColor',
|