@byteluck-fe/model-driven-controls 7.0.0-props.85 → 7.0.0-props.87
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,7 +205,36 @@ _define_property(TagControl, "setting", [
|
|
|
205
205
|
},
|
|
206
206
|
{
|
|
207
207
|
value: 'right',
|
|
208
|
-
label: '
|
|
208
|
+
label: '右对齐'
|
|
209
|
+
}
|
|
210
|
+
]
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
key: 'common-select',
|
|
214
|
+
visible: true,
|
|
215
|
+
name: 'color',
|
|
216
|
+
label: 'default',
|
|
217
|
+
default: 'left',
|
|
218
|
+
options: [
|
|
219
|
+
{
|
|
220
|
+
value: 'default',
|
|
221
|
+
label: '默认'
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
value: 'success',
|
|
225
|
+
label: '成功'
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
value: 'processing',
|
|
229
|
+
label: '进行中'
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
value: 'error',
|
|
233
|
+
label: '错误'
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
value: 'warning',
|
|
237
|
+
label: '警告'
|
|
209
238
|
}
|
|
210
239
|
]
|
|
211
240
|
},
|
|
@@ -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.
|
|
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 = (
|
|
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) {
|