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

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.
@@ -162,6 +162,12 @@ _define_property(LinkControl, "setting", [
162
162
  key: 'common-color-type',
163
163
  visible: true
164
164
  },
165
+ {
166
+ key: 'common-icon',
167
+ visible: true,
168
+ name: 'icon',
169
+ label: '图标'
170
+ },
165
171
  {
166
172
  key: 'script-setting',
167
173
  visible: true
@@ -78,10 +78,10 @@ var LinkProperty = /*#__PURE__*/ function(Property) {
78
78
  function LinkProperty(props) {
79
79
  _class_call_check(this, LinkProperty);
80
80
  var _this;
81
- var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7;
81
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8;
82
82
  _this = _call_super(this, LinkProperty, [
83
83
  props
84
- ]), _define_property(_this, "content", void 0), _define_property(_this, "url", void 0), _define_property(_this, "description", void 0), _define_property(_this, "position", void 0), _define_property(_this, "color", void 0), _define_property(_this, "scriptType", void 0), _define_property(_this, "scriptContent", void 0), _define_property(_this, "openMode", void 0);
84
+ ]), _define_property(_this, "content", void 0), _define_property(_this, "url", void 0), _define_property(_this, "description", void 0), _define_property(_this, "position", void 0), _define_property(_this, "color", void 0), _define_property(_this, "scriptType", void 0), _define_property(_this, "scriptContent", void 0), _define_property(_this, "openMode", void 0), _define_property(_this, "icon", void 0);
85
85
  _this.content = (_ref = props === null || props === void 0 ? void 0 : props.content) !== null && _ref !== void 0 ? _ref : getLocaleText('CMD.linkContent', null, '我是一个链接');
86
86
  _this.description = (_ref1 = props === null || props === void 0 ? void 0 : props.description) !== null && _ref1 !== void 0 ? _ref1 : '';
87
87
  _this.position = (_ref2 = props === null || props === void 0 ? void 0 : props.position) !== null && _ref2 !== void 0 ? _ref2 : 'left';
@@ -90,6 +90,7 @@ var LinkProperty = /*#__PURE__*/ function(Property) {
90
90
  _this.scriptContent = (_ref5 = props === null || props === void 0 ? void 0 : props.scriptContent) !== null && _ref5 !== void 0 ? _ref5 : '';
91
91
  _this.url = (_ref6 = props === null || props === void 0 ? void 0 : props.url) !== null && _ref6 !== void 0 ? _ref6 : '';
92
92
  _this.openMode = (_ref7 = props === null || props === void 0 ? void 0 : props.openMode) !== null && _ref7 !== void 0 ? _ref7 : 'new';
93
+ _this.icon = (_ref8 = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref8 !== void 0 ? _ref8 : '';
93
94
  return _this;
94
95
  }
95
96
  return LinkProperty;
@@ -243,6 +243,10 @@ _define_property(ScoreControl, "setting", [
243
243
  label: '支持半选',
244
244
  default: false
245
245
  },
246
+ {
247
+ key: 'common-color-type',
248
+ visible: true
249
+ },
246
250
  {
247
251
  key: 'score-type',
248
252
  visible: true