@byteluck-fe/model-driven-controls 7.0.0-props.89 → 7.0.0-props.90
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.
|
@@ -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, _ref7;
|
|
112
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8;
|
|
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, "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);
|
|
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, "defaultShowOptions", 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, '选项一'),
|
|
@@ -127,14 +127,15 @@ var TagProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
127
127
|
value: getLocaleText('CMD.optionThird', null, '选项三')
|
|
128
128
|
}
|
|
129
129
|
]);
|
|
130
|
-
_this.
|
|
131
|
-
_this.
|
|
132
|
-
_this.
|
|
133
|
-
_this.
|
|
134
|
-
_this.
|
|
135
|
-
_this.
|
|
130
|
+
_this.defaultShowOptions = (_ref1 = props === null || props === void 0 ? void 0 : props.defaultShowOptions) !== null && _ref1 !== void 0 ? _ref1 : true;
|
|
131
|
+
_this.caption = (_ref2 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref2 !== void 0 ? _ref2 : TagControl.controlName;
|
|
132
|
+
_this.defaultValue = (_ref3 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref3 !== void 0 ? _ref3 : [];
|
|
133
|
+
_this.size = (_ref4 = props === null || props === void 0 ? void 0 : props.size) !== null && _ref4 !== void 0 ? _ref4 : 'middle';
|
|
134
|
+
_this.align = (_ref5 = props === null || props === void 0 ? void 0 : props.align) !== null && _ref5 !== void 0 ? _ref5 : 'left';
|
|
135
|
+
_this.color = (_ref6 = props === null || props === void 0 ? void 0 : props.color) !== null && _ref6 !== void 0 ? _ref6 : 'default';
|
|
136
|
+
_this.optionConfig = (_ref7 = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _ref7 !== void 0 ? _ref7 : 'custom';
|
|
136
137
|
_this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
|
|
137
|
-
_this.openMultistageFilling = (
|
|
138
|
+
_this.openMultistageFilling = (_ref8 = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _ref8 !== void 0 ? _ref8 : false;
|
|
138
139
|
_this.multistageFilling = [];
|
|
139
140
|
if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
|
|
140
141
|
props === null || props === void 0 ? void 0 : props.multistageFilling.forEach(function(item) {
|