@byteluck-fe/model-driven-controls 6.2.0-1-beta.28 → 6.2.0-1-beta-tree-data.1
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.
|
@@ -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,12 @@ 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);
|
|
284
289
|
_this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
|
|
285
290
|
var _props_isLoading;
|
|
286
291
|
_this.isLoading = (_props_isLoading = props === null || props === void 0 ? void 0 : props.isLoading) !== null && _props_isLoading !== void 0 ? _props_isLoading : false;
|
|
@@ -310,6 +315,9 @@ import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
|
310
315
|
var _props_countLimit;
|
|
311
316
|
_this.countLimit = (_props_countLimit = props === null || props === void 0 ? void 0 : props.countLimit) !== null && _props_countLimit !== void 0 ? _props_countLimit : 100000;
|
|
312
317
|
_this.rowStyle = new RowStyle(props === null || props === void 0 ? void 0 : props.rowStyle);
|
|
318
|
+
var _props_isTreeData;
|
|
319
|
+
_this.isTreeData = (_props_isTreeData = props === null || props === void 0 ? void 0 : props.isTreeData) !== null && _props_isTreeData !== void 0 ? _props_isTreeData : false;
|
|
320
|
+
_this.treeData = new ListTreeData(props === null || props === void 0 ? void 0 : props.treeData);
|
|
313
321
|
return _this;
|
|
314
322
|
}
|
|
315
323
|
return ListViewControlProperty;
|