@byteluck-fe/model-driven-controls 7.0.0-props.84 → 7.0.0-props.86

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.
@@ -197,7 +197,7 @@ _define_property(TagControl, "setting", [
197
197
  options: [
198
198
  {
199
199
  value: 'left',
200
- label: '居左'
200
+ label: '左对齐'
201
201
  },
202
202
  {
203
203
  value: 'center',
@@ -205,12 +205,18 @@ _define_property(TagControl, "setting", [
205
205
  },
206
206
  {
207
207
  value: 'right',
208
- label: '居右'
208
+ label: '右对齐'
209
209
  }
210
210
  ]
211
211
  },
212
212
  {
213
- key: 'tag-options-setting',
213
+ key: 'common-color',
214
+ visible: true,
215
+ name: 'color',
216
+ label: '颜色设置'
217
+ },
218
+ {
219
+ key: 'options-setting',
214
220
  visible: true
215
221
  },
216
222
  {
@@ -109,10 +109,10 @@ var TagProperty = /*#__PURE__*/ function(BaseControlProperty) {
109
109
  function TagProperty(props) {
110
110
  _class_call_check(this, TagProperty);
111
111
  var _this;
112
- var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6;
112
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7;
113
113
  _this = _call_super(this, TagProperty, [
114
114
  props
115
- ]), _define_property(_this, "defaultValue", void 0), _define_property(_this, "size", void 0), _define_property(_this, "align", void 0), _define_property(_this, "options", void 0), _define_property(_this, "optionConfig", void 0), _define_property(_this, "datasourceBind", void 0), _define_property(_this, "multistageFilling", void 0), _define_property(_this, "openMultistageFilling", void 0);
115
+ ]), _define_property(_this, "defaultValue", void 0), _define_property(_this, "size", void 0), _define_property(_this, "align", void 0), _define_property(_this, "color", void 0), _define_property(_this, "options", void 0), _define_property(_this, "optionConfig", void 0), _define_property(_this, "datasourceBind", void 0), _define_property(_this, "multistageFilling", void 0), _define_property(_this, "openMultistageFilling", void 0);
116
116
  _this.options = initOptions((_ref = props === null || props === void 0 ? void 0 : props.options) !== null && _ref !== void 0 ? _ref : [
117
117
  {
118
118
  label: getLocaleText('CMD.optionOne', null, '选项一'),
@@ -131,9 +131,10 @@ var TagProperty = /*#__PURE__*/ function(BaseControlProperty) {
131
131
  _this.defaultValue = (_ref2 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref2 !== void 0 ? _ref2 : [];
132
132
  _this.size = (_ref3 = props === null || props === void 0 ? void 0 : props.size) !== null && _ref3 !== void 0 ? _ref3 : 'middle';
133
133
  _this.align = (_ref4 = props === null || props === void 0 ? void 0 : props.align) !== null && _ref4 !== void 0 ? _ref4 : 'left';
134
- _this.optionConfig = (_ref5 = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _ref5 !== void 0 ? _ref5 : 'custom';
134
+ _this.color = (_ref5 = props === null || props === void 0 ? void 0 : props.color) !== null && _ref5 !== void 0 ? _ref5 : '#1677ff';
135
+ _this.optionConfig = (_ref6 = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _ref6 !== void 0 ? _ref6 : 'custom';
135
136
  _this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
136
- _this.openMultistageFilling = (_ref6 = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _ref6 !== void 0 ? _ref6 : false;
137
+ _this.openMultistageFilling = (_ref7 = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _ref7 !== void 0 ? _ref7 : false;
137
138
  _this.multistageFilling = [];
138
139
  if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
139
140
  props === null || props === void 0 ? void 0 : props.multistageFilling.forEach(function(item) {