@byteluck-fe/model-driven-controls 7.0.0-props.78 → 7.0.0-props.79
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.
|
@@ -108,21 +108,20 @@ var QrCodeProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
108
108
|
function QrCodeProperty(props) {
|
|
109
109
|
_class_call_check(this, QrCodeProperty);
|
|
110
110
|
var _this;
|
|
111
|
-
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9
|
|
111
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9;
|
|
112
112
|
_this = _call_super(this, QrCodeProperty, [
|
|
113
113
|
props
|
|
114
114
|
]), _define_property(_this, "defaultValue", void 0), _define_property(_this, "qrVersion", void 0), _define_property(_this, "errorCorrectionLevel", void 0), _define_property(_this, "codeMode", void 0), _define_property(_this, "size", void 0), _define_property(_this, "codeMargin", void 0), _define_property(_this, "backgroundColor", void 0), _define_property(_this, "qrColor", void 0), _define_property(_this, "align", void 0);
|
|
115
115
|
_this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : QrCodeControl.controlName;
|
|
116
|
-
_this.
|
|
117
|
-
_this.
|
|
118
|
-
_this.
|
|
119
|
-
_this.
|
|
120
|
-
_this.
|
|
121
|
-
_this.
|
|
122
|
-
_this.
|
|
123
|
-
_this.
|
|
124
|
-
_this.
|
|
125
|
-
_this.align = (_ref10 = props === null || props === void 0 ? void 0 : props.align) !== null && _ref10 !== void 0 ? _ref10 : 'left';
|
|
116
|
+
_this.defaultValue = (_ref1 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
117
|
+
_this.qrVersion = (_ref2 = props === null || props === void 0 ? void 0 : props.qrVersion) !== null && _ref2 !== void 0 ? _ref2 : 'auto';
|
|
118
|
+
_this.errorCorrectionLevel = (_ref3 = props === null || props === void 0 ? void 0 : props.errorCorrectionLevel) !== null && _ref3 !== void 0 ? _ref3 : 'M';
|
|
119
|
+
_this.codeMode = (_ref4 = props === null || props === void 0 ? void 0 : props.codeMode) !== null && _ref4 !== void 0 ? _ref4 : 'qrCode';
|
|
120
|
+
_this.size = (_ref5 = props === null || props === void 0 ? void 0 : props.size) !== null && _ref5 !== void 0 ? _ref5 : 160;
|
|
121
|
+
_this.codeMargin = (_ref6 = props === null || props === void 0 ? void 0 : props.codeMargin) !== null && _ref6 !== void 0 ? _ref6 : 0;
|
|
122
|
+
_this.backgroundColor = (_ref7 = props === null || props === void 0 ? void 0 : props.backgroundColor) !== null && _ref7 !== void 0 ? _ref7 : '#ffffff';
|
|
123
|
+
_this.qrColor = (_ref8 = props === null || props === void 0 ? void 0 : props.qrColor) !== null && _ref8 !== void 0 ? _ref8 : '#000000';
|
|
124
|
+
_this.align = (_ref9 = props === null || props === void 0 ? void 0 : props.align) !== null && _ref9 !== void 0 ? _ref9 : 'left';
|
|
126
125
|
return _this;
|
|
127
126
|
}
|
|
128
127
|
return QrCodeProperty;
|