@byteluck-fe/model-driven-controls 2.21.0-beta.7 → 2.21.0-beta.8

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.
@@ -82,7 +82,7 @@ function _create_super(Derived) {
82
82
  return _possible_constructor_return(this, result);
83
83
  };
84
84
  }
85
- import { LayoutControlProperty, PropertyRules, PropertyRuntimeRules, DataSourceBind, SubListPageConfig, JoinRelation, RowStyleRule, RowStyleRuleScript } from '@byteluck-fe/model-driven-core';
85
+ import { LayoutControlProperty, PropertyRules, PropertyRuntimeRules, DataSourceBind, SubListPageConfig, JoinRelation, RowStyle } from '@byteluck-fe/model-driven-core';
86
86
  import { RulesMessage } from '@byteluck-fe/model-driven-shared';
87
87
  import { initOptionAndDataSourceRules } from '@byteluck-fe/model-driven-core';
88
88
  export var TriggerType;
@@ -228,7 +228,6 @@ export var TriggerType;
228
228
  function ListViewControlProperty(props) {
229
229
  _class_call_check(this, ListViewControlProperty);
230
230
  var _this;
231
- var _props_rowStyleRules, _props_rowStyleRulesScript;
232
231
  _this = _super.call(this, props);
233
232
  /**
234
233
  * 数据高级设置
@@ -308,13 +307,7 @@ export var TriggerType;
308
307
  /**
309
308
  * 行背景规则
310
309
  * @defaultValue 'none'
311
- */ _define_property(_assert_this_initialized(_this), "rowStyleType", void 0);
312
- /**
313
- * 行背景色
314
- * @defaultValue 'theme'
315
- */ _define_property(_assert_this_initialized(_this), "rowStyleBgColor", void 0);
316
- _define_property(_assert_this_initialized(_this), "rowStyleRules", void 0);
317
- _define_property(_assert_this_initialized(_this), "rowStyleRulesScript", void 0);
310
+ */ _define_property(_assert_this_initialized(_this), "rowStyle", void 0);
318
311
  _this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
319
312
  var _props_isLoading;
320
313
  _this.isLoading = (_props_isLoading = props === null || props === void 0 ? void 0 : props.isLoading) !== null && _props_isLoading !== void 0 ? _props_isLoading : false;
@@ -343,18 +336,7 @@ export var TriggerType;
343
336
  _this.countType = props === null || props === void 0 ? void 0 : props.countType;
344
337
  var _props_countLimit;
345
338
  _this.countLimit = (_props_countLimit = props === null || props === void 0 ? void 0 : props.countLimit) !== null && _props_countLimit !== void 0 ? _props_countLimit : 100000;
346
- var _props_rowStyleType;
347
- _this.rowStyleType = (_props_rowStyleType = props === null || props === void 0 ? void 0 : props.rowStyleType) !== null && _props_rowStyleType !== void 0 ? _props_rowStyleType : 'none';
348
- var _props_rowStyleBgColor;
349
- _this.rowStyleBgColor = (_props_rowStyleBgColor = props === null || props === void 0 ? void 0 : props.rowStyleBgColor) !== null && _props_rowStyleBgColor !== void 0 ? _props_rowStyleBgColor : 'theme';
350
- var _props_rowStyleRules_map;
351
- _this.rowStyleRules = (props === null || props === void 0 ? void 0 : props.rowStyleRules) && Array.isArray(props === null || props === void 0 ? void 0 : props.rowStyleRules) ? (_props_rowStyleRules_map = props === null || props === void 0 ? void 0 : (_props_rowStyleRules = props.rowStyleRules) === null || _props_rowStyleRules === void 0 ? void 0 : _props_rowStyleRules.map(function(item) {
352
- return new RowStyleRule(item);
353
- })) !== null && _props_rowStyleRules_map !== void 0 ? _props_rowStyleRules_map : [] : [];
354
- var _props_rowStyleRulesScript_map;
355
- _this.rowStyleRulesScript = (props === null || props === void 0 ? void 0 : props.rowStyleRulesScript) && Array.isArray(props === null || props === void 0 ? void 0 : props.rowStyleRulesScript) ? (_props_rowStyleRulesScript_map = props === null || props === void 0 ? void 0 : (_props_rowStyleRulesScript = props.rowStyleRulesScript) === null || _props_rowStyleRulesScript === void 0 ? void 0 : _props_rowStyleRulesScript.map(function(item) {
356
- return new RowStyleRuleScript(item);
357
- })) !== null && _props_rowStyleRulesScript_map !== void 0 ? _props_rowStyleRulesScript_map : [] : [];
339
+ _this.rowStyle = new RowStyle(props === null || props === void 0 ? void 0 : props.rowStyle);
358
340
  return _this;
359
341
  }
360
342
  return ListViewControlProperty;