@byteluck-fe/model-driven-controls 6.2.0-beta.14 → 6.2.0-beta.21

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.
@@ -76,6 +76,7 @@ function _inherits(subClass, superClass) {
76
76
  if (superClass) _set_prototype_of(subClass, superClass);
77
77
  }
78
78
  function _instanceof(left, right) {
79
+ "@swc/helpers - instanceof";
79
80
  if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
80
81
  return !!right[Symbol.hasInstance](left);
81
82
  } else {
@@ -221,7 +221,7 @@ _define_property(Department2Control, "setting", [
221
221
  visible: true
222
222
  },
223
223
  {
224
- key: 'department-default-and-disabled-filter',
224
+ key: 'department-disabled-filter',
225
225
  visible: true
226
226
  },
227
227
  {
@@ -125,7 +125,7 @@ var Department2Property = /*#__PURE__*/ function(BaseControlProperty) {
125
125
  _class_call_check(this, Department2Property);
126
126
  var _this;
127
127
  var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12, _ref13, _ref14, _ref15, _ref16;
128
- var _props_defaultAndDisabledFilters;
128
+ var _props_disabledSelectedFilters;
129
129
  _this = _call_super(this, Department2Property, [
130
130
  props
131
131
  ]), /**
@@ -149,8 +149,8 @@ var Department2Property = /*#__PURE__*/ function(BaseControlProperty) {
149
149
  * */ _define_property(_this, "multistageFilling", void 0), /**
150
150
  * 数据设置
151
151
  * */ _define_property(_this, "datasourceBind", void 0), /**
152
- * 默认选中且不可修改部门的配置条件.配置后,这些部门将默认被选中,用户无法取消选择或修改
153
- * */ _define_property(_this, "defaultAndDisabledFilters", void 0), /**
152
+ * 不可选中部门的配置条件
153
+ * */ _define_property(_this, "disabledSelectedFilters", void 0), /**
154
154
  * 数据类型 行政 or 业务
155
155
  * */ _define_property(_this, "datasourceType", void 0 //数据类型 行政 'administration'| 业务 'business'
156
156
  ), _define_property(_this, "businessType", void 0 //业务部门类型 'all' | 'assign'
@@ -183,7 +183,7 @@ var Department2Property = /*#__PURE__*/ function(BaseControlProperty) {
183
183
  });
184
184
  }
185
185
  _this.defaultShowOptions = (_ref15 = props === null || props === void 0 ? void 0 : props.defaultShowOptions) !== null && _ref15 !== void 0 ? _ref15 : false;
186
- _this.defaultAndDisabledFilters = (_ref16 = props === null || props === void 0 ? void 0 : (_props_defaultAndDisabledFilters = props.defaultAndDisabledFilters) === null || _props_defaultAndDisabledFilters === void 0 ? void 0 : _props_defaultAndDisabledFilters.map(function(item) {
186
+ _this.disabledSelectedFilters = (_ref16 = props === null || props === void 0 ? void 0 : (_props_disabledSelectedFilters = props.disabledSelectedFilters) === null || _props_disabledSelectedFilters === void 0 ? void 0 : _props_disabledSelectedFilters.map(function(item) {
187
187
  if (item.children !== undefined) {
188
188
  return new FieldFilterConditions(item);
189
189
  }
@@ -105,6 +105,7 @@ function _inherits(subClass, superClass) {
105
105
  if (superClass) _set_prototype_of(subClass, superClass);
106
106
  }
107
107
  function _instanceof(left, right) {
108
+ "@swc/helpers - instanceof";
108
109
  if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
109
110
  return !!right[Symbol.hasInstance](left);
110
111
  } else {