@byteluck-fe/model-driven-controls 6.2.0-1-beta.28 → 6.2.0-1-beta-tree-data.2

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.
@@ -158,6 +158,14 @@ _define_property(ListViewControl, "setting", [
158
158
  key: 'list-selection-state',
159
159
  visible: true
160
160
  },
161
+ {
162
+ key: 'list-tree-setting',
163
+ visible: true
164
+ },
165
+ {
166
+ key: 'list-master-detail',
167
+ visible: true
168
+ },
161
169
  {
162
170
  key: 'list-row-style',
163
171
  visible: true
@@ -70,7 +70,7 @@ function _is_native_reflect_construct() {
70
70
  return !!result;
71
71
  })();
72
72
  }
73
- import { LayoutControlProperty, PropertyRules, PropertyRuntimeRules, DataSourceBind, SubListPageConfig, JoinRelation, RowStyle } from '@byteluck-fe/model-driven-core';
73
+ import { LayoutControlProperty, PropertyRules, PropertyRuntimeRules, DataSourceBind, SubListPageConfig, JoinRelation, RowStyle, ListTreeData } from '@byteluck-fe/model-driven-core';
74
74
  import { initOptionAndDataSourceRules } from '@byteluck-fe/model-driven-core';
75
75
  import { getLocaleText } from '@byteluck-fe/locale-message';
76
76
  /**
@@ -280,7 +280,14 @@ import { getLocaleText } from '@byteluck-fe/locale-message';
280
280
  */ _define_property(_this, "countLimit", void 0), /**
281
281
  * 行背景规则
282
282
  * @defaultValue 'none'
283
- */ _define_property(_this, "rowStyle", void 0);
283
+ */ _define_property(_this, "rowStyle", void 0), /**
284
+ * 是否树状列表
285
+ * @defaultValue false
286
+ */ _define_property(_this, "isTreeData", void 0), /**
287
+ * 树状列表配置详情
288
+ */ _define_property(_this, "treeData", void 0), // 是否开启嵌套列表
289
+ _define_property(_this, "isMasterDetail", void 0), // 嵌套列表的关联表配置
290
+ _define_property(_this, "masterDetail", void 0);
284
291
  _this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
285
292
  var _props_isLoading;
286
293
  _this.isLoading = (_props_isLoading = props === null || props === void 0 ? void 0 : props.isLoading) !== null && _props_isLoading !== void 0 ? _props_isLoading : false;
@@ -310,6 +317,12 @@ import { getLocaleText } from '@byteluck-fe/locale-message';
310
317
  var _props_countLimit;
311
318
  _this.countLimit = (_props_countLimit = props === null || props === void 0 ? void 0 : props.countLimit) !== null && _props_countLimit !== void 0 ? _props_countLimit : 100000;
312
319
  _this.rowStyle = new RowStyle(props === null || props === void 0 ? void 0 : props.rowStyle);
320
+ var _props_isTreeData;
321
+ _this.isTreeData = (_props_isTreeData = props === null || props === void 0 ? void 0 : props.isTreeData) !== null && _props_isTreeData !== void 0 ? _props_isTreeData : false;
322
+ _this.treeData = new ListTreeData(props === null || props === void 0 ? void 0 : props.treeData);
323
+ var _props_isMasterDetail;
324
+ _this.isMasterDetail = (_props_isMasterDetail = props === null || props === void 0 ? void 0 : props.isMasterDetail) !== null && _props_isMasterDetail !== void 0 ? _props_isMasterDetail : false;
325
+ _this.masterDetail = new DataSourceBind(props === null || props === void 0 ? void 0 : props.masterDetail);
313
326
  return _this;
314
327
  }
315
328
  return ListViewControlProperty;