@byteluck-fe/model-driven-controls 7.0.0-props.75 → 7.0.0-props.76
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.
|
@@ -196,6 +196,13 @@ _define_property(BarcodeControl, "setting", [
|
|
|
196
196
|
name: 'codeMargin',
|
|
197
197
|
layout: 'horizontal',
|
|
198
198
|
label: '边距(px)'
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
key: 'common-switch',
|
|
202
|
+
visible: true,
|
|
203
|
+
name: 'displayValue',
|
|
204
|
+
layout: 'horizontal',
|
|
205
|
+
label: '显示值'
|
|
199
206
|
}
|
|
200
207
|
]
|
|
201
208
|
},
|
|
@@ -108,10 +108,10 @@ var BarcodeProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
108
108
|
function BarcodeProperty(props) {
|
|
109
109
|
_class_call_check(this, BarcodeProperty);
|
|
110
110
|
var _this;
|
|
111
|
-
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8;
|
|
111
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9;
|
|
112
112
|
_this = _call_super(this, BarcodeProperty, [
|
|
113
113
|
props
|
|
114
|
-
]), _define_property(_this, "defaultValue", void 0), _define_property(_this, "codeHeight", void 0), _define_property(_this, "codeWidth", void 0), _define_property(_this, "codeMargin", void 0), _define_property(_this, "backgroundColor", void 0), _define_property(_this, "barcodeColor", void 0), _define_property(_this, "align", void 0);
|
|
114
|
+
]), _define_property(_this, "defaultValue", void 0), _define_property(_this, "codeHeight", void 0), _define_property(_this, "codeWidth", void 0), _define_property(_this, "codeMargin", void 0), _define_property(_this, "backgroundColor", void 0), _define_property(_this, "barcodeColor", void 0), _define_property(_this, "align", void 0), _define_property(_this, "displayValue", void 0);
|
|
115
115
|
_this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : BarcodeControl.controlName;
|
|
116
116
|
_this.placeholder = (_ref1 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _ref1 !== void 0 ? _ref1 : '请输入';
|
|
117
117
|
_this.defaultValue = (_ref2 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
@@ -121,6 +121,7 @@ var BarcodeProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
121
121
|
_this.backgroundColor = (_ref6 = props === null || props === void 0 ? void 0 : props.backgroundColor) !== null && _ref6 !== void 0 ? _ref6 : '#ffffff';
|
|
122
122
|
_this.barcodeColor = (_ref7 = props === null || props === void 0 ? void 0 : props.barcodeColor) !== null && _ref7 !== void 0 ? _ref7 : '#000000';
|
|
123
123
|
_this.align = (_ref8 = props === null || props === void 0 ? void 0 : props.align) !== null && _ref8 !== void 0 ? _ref8 : 'left';
|
|
124
|
+
_this.displayValue = (_ref9 = props === null || props === void 0 ? void 0 : props.displayValue) !== null && _ref9 !== void 0 ? _ref9 : true;
|
|
124
125
|
return _this;
|
|
125
126
|
}
|
|
126
127
|
return BarcodeProperty;
|