@byteluck-fe/model-driven-controls 5.6.0-1-beta.1 → 5.6.0-1-beta2

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.
@@ -203,7 +203,8 @@ _define_property(Department2Control, "setting", [
203
203
  COMMON_SETTING_TYPE.IS_HIDE,
204
204
  COMMON_SETTING_TYPE.IS_HIDE_CAPTION,
205
205
  COMMON_SETTING_TYPE.MULTIPLE,
206
- COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP
206
+ COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,
207
+ COMMON_SETTING_TYPE.DEFAULT_SHOW_OPTIONS
207
208
  ]
208
209
  },
209
210
  {
@@ -126,32 +126,33 @@ var Department2Property = /*#__PURE__*/ function(BaseControlProperty) {
126
126
  var _this;
127
127
  _this = _call_super(this, Department2Property, [
128
128
  props
129
- ]), /**
130
- * 展示类型: 默认形式 / 树状部门
131
- * */ _define_property(_this, "showType", void 0), /**
132
- * 部门范围: 所有部门 / 指定部门
133
- * */ _define_property(_this, "range", void 0), /**
134
- * 默认值类型:发起人部门/ 指定部门 /无
135
- */ _define_property(_this, "defaultValueType", void 0), /**
136
- * 部门多选
137
- * */ _define_property(_this, "multiple", void 0), /**
138
- * 指定部门范围
139
- * */ _define_property(_this, "rangeOptions", void 0), /**
140
- * 默认值
141
- * */ _define_property(_this, "defaultValue", void 0), /**
142
- * 部门显示层级
143
- * */ _define_property(_this, "displayLevel", void 0), /**
144
- * 是否展示子部门
145
- * */ _define_property(_this, "showSubDept", void 0), /**
146
- * 多级填充
147
- * */ _define_property(_this, "multistageFilling", void 0), /**
148
- * 数据设置
149
- * */ _define_property(_this, "datasourceBind", void 0), /**
150
- * 数据类型 行政 or 业务
129
+ ]), /**
130
+ * 展示类型: 默认形式 / 树状部门
131
+ * */ _define_property(_this, "showType", void 0), /**
132
+ * 部门范围: 所有部门 / 指定部门
133
+ * */ _define_property(_this, "range", void 0), /**
134
+ * 默认值类型:发起人部门/ 指定部门 /无
135
+ */ _define_property(_this, "defaultValueType", void 0), /**
136
+ * 部门多选
137
+ * */ _define_property(_this, "multiple", void 0), /**
138
+ * 指定部门范围
139
+ * */ _define_property(_this, "rangeOptions", void 0), /**
140
+ * 默认值
141
+ * */ _define_property(_this, "defaultValue", void 0), /**
142
+ * 部门显示层级
143
+ * */ _define_property(_this, "displayLevel", void 0), /**
144
+ * 是否展示子部门
145
+ * */ _define_property(_this, "showSubDept", void 0), /**
146
+ * 多级填充
147
+ * */ _define_property(_this, "multistageFilling", void 0), /**
148
+ * 数据设置
149
+ * */ _define_property(_this, "datasourceBind", void 0), /**
150
+ * 数据类型 行政 or 业务
151
151
  * */ _define_property(_this, "datasourceType", void 0 //数据类型 行政 'administration'| 业务 'business'
152
152
  ), _define_property(_this, "businessType", void 0 //业务部门类型 'all' | 'assign'
153
153
  ), _define_property(_this, "businessScope", void 0 //业务部门范围
154
154
  ), _define_property(_this, "openMultistageFilling", void 0 //是否开启填充
155
+ ), _define_property(_this, "defaultShowOptions", void 0 //默认展开选项
155
156
  );
156
157
  var _props_showType;
157
158
  _this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : 'default';
@@ -192,6 +193,8 @@ var Department2Property = /*#__PURE__*/ function(BaseControlProperty) {
192
193
  (_this_multistageFilling = _this.multistageFilling) === null || _this_multistageFilling === void 0 ? void 0 : _this_multistageFilling.push(new MultistageFillingItem(item));
193
194
  });
194
195
  }
196
+ var _props_defaultShowOptions;
197
+ _this.defaultShowOptions = (_props_defaultShowOptions = props === null || props === void 0 ? void 0 : props.defaultShowOptions) !== null && _props_defaultShowOptions !== void 0 ? _props_defaultShowOptions : false;
195
198
  return _this;
196
199
  }
197
200
  return Department2Property;
@@ -126,8 +126,8 @@ var Employee2Property = /*#__PURE__*/ function(BaseControlProperty) {
126
126
  var _this;
127
127
  _this = _call_super(this, Employee2Property, [
128
128
  props
129
- ]), /**
130
- * 展示类型: 默认形式 / 树状人员
129
+ ]), /**
130
+ * 展示类型: 默认形式 / 树状人员
131
131
  * */ _define_property(_this, "showType", void 0), _define_property(_this, "range", void 0 // 人员范围: 公司全员 / 指定人员
132
132
  ), // 选择指定人员时的范围
133
133
  _define_property(_this, "rangeOptions", void 0), _define_property(_this, "multiple", void 0 // 是否多选