@byteluck-fe/model-driven-controls 2.3.1 → 2.5.0-alpha.0

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.
@@ -200,6 +200,10 @@ _defineProperty(TreeControl, "setting", [
200
200
  key: "tree-default-collapse",
201
201
  visible: true
202
202
  },
203
+ {
204
+ key: "tree-default-display",
205
+ visible: true
206
+ },
203
207
  {
204
208
  key: "tree-datasource-bind",
205
209
  visible: true
@@ -161,6 +161,8 @@ var TreeProperty = /*#__PURE__*/ function(BaseControlProperty) {
161
161
  _defineProperty(_assertThisInitialized(_this), "levelType", void 0);
162
162
  _defineProperty(_assertThisInitialized(_this), "optionalLevel", void 0);
163
163
  _defineProperty(_assertThisInitialized(_this), "containsSubNode", void 0);
164
+ _defineProperty(_assertThisInitialized(_this), "defaultDisplay", void 0 // 是否默认显示
165
+ );
164
166
  _defineProperty(_assertThisInitialized(_this), "defaultCollapse", void 0);
165
167
  _defineProperty(_assertThisInitialized(_this), "defaultCollapseLevel", void 0);
166
168
  _defineProperty(_assertThisInitialized(_this), "optionConfig", "datasource" // 选项配置 datasource
@@ -194,6 +196,8 @@ var TreeProperty = /*#__PURE__*/ function(BaseControlProperty) {
194
196
  });
195
197
  var _props_openMultistageFilling;
196
198
  _this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
199
+ var _props_defaultDisplay;
200
+ _this.defaultDisplay = (_props_defaultDisplay = props === null || props === void 0 ? void 0 : props.defaultDisplay) !== null && _props_defaultDisplay !== void 0 ? _props_defaultDisplay : true;
197
201
  var _props_multistageFilling_map;
198
202
  _this.multistageFilling = (_props_multistageFilling_map = props === null || props === void 0 ? void 0 : (_props_multistageFilling = props.multistageFilling) === null || _props_multistageFilling === void 0 ? void 0 : _props_multistageFilling.map(function(item) {
199
203
  return new MultistageFillingItem(item);