@byteluck-fe/model-driven-controls 7.0.0-props.12 → 7.0.0-props.13

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.
@@ -160,7 +160,9 @@ _define_property(LinkControl, "setting", [
160
160
  },
161
161
  {
162
162
  key: 'common-color-type',
163
- visible: true
163
+ visible: true,
164
+ name: 'color',
165
+ label: '颜色'
164
166
  },
165
167
  {
166
168
  key: 'common-icon',
@@ -245,7 +245,9 @@ _define_property(ScoreControl, "setting", [
245
245
  },
246
246
  {
247
247
  key: 'common-color-type',
248
- visible: true
248
+ visible: true,
249
+ name: 'explainColor',
250
+ label: '辅助文字颜色'
249
251
  },
250
252
  {
251
253
  key: 'score-type',
@@ -157,7 +157,7 @@ var ScoreProperty = /*#__PURE__*/ function(BaseControlProperty) {
157
157
  _this.defaultValue = (_ref4 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref4 !== void 0 ? _ref4 : 0;
158
158
  _this.caption = (_ref5 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref5 !== void 0 ? _ref5 : ScoreControl.controlName;
159
159
  _this.canHalf = (_ref6 = props === null || props === void 0 ? void 0 : props.canHalf) !== null && _ref6 !== void 0 ? _ref6 : false;
160
- _this.explainColor = (_ref7 = props === null || props === void 0 ? void 0 : props.explainColor) !== null && _ref7 !== void 0 ? _ref7 : '';
160
+ _this.explainColor = (_ref7 = props === null || props === void 0 ? void 0 : props.explainColor) !== null && _ref7 !== void 0 ? _ref7 : 'primary';
161
161
  _this.isShowCurrentScore = (_ref8 = props === null || props === void 0 ? void 0 : props.isShowCurrentScore) !== null && _ref8 !== void 0 ? _ref8 : false;
162
162
  return _this;
163
163
  }