@byteluck-fe/model-driven-controls 7.0.0-props.77 → 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.
|
@@ -122,8 +122,7 @@ var BarcodeControl = /*#__PURE__*/ function(DesignerFormControl) {
|
|
|
122
122
|
return BarcodeControl;
|
|
123
123
|
}(DesignerFormControl);
|
|
124
124
|
_define_property(BarcodeControl, "controlEventKeys", [
|
|
125
|
-
'on_change'
|
|
126
|
-
'on_click'
|
|
125
|
+
'on_change'
|
|
127
126
|
]);
|
|
128
127
|
_define_property(BarcodeControl, "controlFieldType", FieldTypes.VARCHAR);
|
|
129
128
|
_define_property(BarcodeControl, "setting", [
|
|
@@ -122,8 +122,7 @@ var QrCodeControl = /*#__PURE__*/ function(DesignerFormControl) {
|
|
|
122
122
|
return QrCodeControl;
|
|
123
123
|
}(DesignerFormControl);
|
|
124
124
|
_define_property(QrCodeControl, "controlEventKeys", [
|
|
125
|
-
'on_change'
|
|
126
|
-
'on_click'
|
|
125
|
+
'on_change'
|
|
127
126
|
]);
|
|
128
127
|
_define_property(QrCodeControl, "controlFieldType", FieldTypes.VARCHAR);
|
|
129
128
|
_define_property(QrCodeControl, "setting", [
|
|
@@ -384,18 +383,6 @@ _define_property(QrCodeControl, "setting", [
|
|
|
384
383
|
{
|
|
385
384
|
value: 'qrCode',
|
|
386
385
|
label: 'QR Code'
|
|
387
|
-
},
|
|
388
|
-
{
|
|
389
|
-
value: 'hanxinCode',
|
|
390
|
-
label: '汉信码'
|
|
391
|
-
},
|
|
392
|
-
{
|
|
393
|
-
value: 'pdf417',
|
|
394
|
-
label: 'PDF417'
|
|
395
|
-
},
|
|
396
|
-
{
|
|
397
|
-
value: 'dataMatrix',
|
|
398
|
-
label: 'Data Matrix'
|
|
399
386
|
}
|
|
400
387
|
]
|
|
401
388
|
},
|
|
@@ -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;
|