@byteluck-fe/model-driven-controls 7.0.0-props.51 → 7.0.0-props.53
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.
- package/dist/esm/formControls/Address/property.js +1 -1
- package/dist/esm/formControls/Barcode/designer.js +0 -11
- package/dist/esm/formControls/Barcode/property.js +8 -9
- package/dist/esm/formControls/QrCode/designer.js +2 -6
- package/dist/esm/formControls/QrCode/property.js +2 -2
- package/dist/index.umd.js +1 -1
- package/dist/types/formControls/Barcode/property.d.ts +0 -7
- package/dist/types/formControls/QrCode/property.d.ts +2 -2
- package/package.json +2 -2
|
@@ -140,7 +140,7 @@ var AddressProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
140
140
|
_this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : AddressControl.controlName;
|
|
141
141
|
_this.defaultValueType = (_ref1 = props === null || props === void 0 ? void 0 : props.defaultValueType) !== null && _ref1 !== void 0 ? _ref1 : 'default';
|
|
142
142
|
_this.countryScope = (_ref2 = props === null || props === void 0 ? void 0 : props.countryScope) !== null && _ref2 !== void 0 ? _ref2 : [
|
|
143
|
-
'
|
|
143
|
+
'100000'
|
|
144
144
|
];
|
|
145
145
|
_this.addressType = (_ref3 = props === null || props === void 0 ? void 0 : props.addressType) !== null && _ref3 !== void 0 ? _ref3 : [
|
|
146
146
|
'country',
|
|
@@ -132,10 +132,6 @@ _define_property(BarcodeControl, "setting", [
|
|
|
132
132
|
key: 'data-bind',
|
|
133
133
|
visible: true
|
|
134
134
|
},
|
|
135
|
-
{
|
|
136
|
-
key: 'field-type',
|
|
137
|
-
visible: true
|
|
138
|
-
},
|
|
139
135
|
{
|
|
140
136
|
key: 'caption',
|
|
141
137
|
showItems: [
|
|
@@ -171,13 +167,6 @@ _define_property(BarcodeControl, "setting", [
|
|
|
171
167
|
visible: true,
|
|
172
168
|
label: getLocaleText('CMD.propsSetting', null, '属性设置'),
|
|
173
169
|
children: [
|
|
174
|
-
{
|
|
175
|
-
key: 'common-input',
|
|
176
|
-
visible: true,
|
|
177
|
-
name: 'codeContent',
|
|
178
|
-
layout: 'horizontal',
|
|
179
|
-
label: getLocaleText('CMD.barcodeContent', null, '条码内容')
|
|
180
|
-
},
|
|
181
170
|
{
|
|
182
171
|
key: 'common-input-number',
|
|
183
172
|
visible: true,
|
|
@@ -109,20 +109,19 @@ var BarcodeProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
109
109
|
function BarcodeProperty(props) {
|
|
110
110
|
_class_call_check(this, BarcodeProperty);
|
|
111
111
|
var _this;
|
|
112
|
-
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8
|
|
112
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8;
|
|
113
113
|
_this = _call_super(this, BarcodeProperty, [
|
|
114
114
|
props
|
|
115
|
-
]), _define_property(_this, "defaultValue", void 0), _define_property(_this, "
|
|
115
|
+
]), _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);
|
|
116
116
|
_this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : BarcodeControl.controlName;
|
|
117
117
|
_this.placeholder = (_ref1 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _ref1 !== void 0 ? _ref1 : getLocaleText('CMD.pleaseEnter', null, '请输入');
|
|
118
118
|
_this.defaultValue = (_ref2 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
119
|
-
_this.
|
|
120
|
-
_this.
|
|
121
|
-
_this.
|
|
122
|
-
_this.
|
|
123
|
-
_this.
|
|
124
|
-
_this.
|
|
125
|
-
_this.align = (_ref9 = props === null || props === void 0 ? void 0 : props.align) !== null && _ref9 !== void 0 ? _ref9 : 'left';
|
|
119
|
+
_this.codeHeight = (_ref3 = props === null || props === void 0 ? void 0 : props.codeHeight) !== null && _ref3 !== void 0 ? _ref3 : 40;
|
|
120
|
+
_this.codeWidth = (_ref4 = props === null || props === void 0 ? void 0 : props.codeWidth) !== null && _ref4 !== void 0 ? _ref4 : 200;
|
|
121
|
+
_this.codeMargin = (_ref5 = props === null || props === void 0 ? void 0 : props.codeMargin) !== null && _ref5 !== void 0 ? _ref5 : 0;
|
|
122
|
+
_this.backgroundColor = (_ref6 = props === null || props === void 0 ? void 0 : props.backgroundColor) !== null && _ref6 !== void 0 ? _ref6 : '#ffffff';
|
|
123
|
+
_this.barcodeColor = (_ref7 = props === null || props === void 0 ? void 0 : props.barcodeColor) !== null && _ref7 !== void 0 ? _ref7 : '#000000';
|
|
124
|
+
_this.align = (_ref8 = props === null || props === void 0 ? void 0 : props.align) !== null && _ref8 !== void 0 ? _ref8 : 'left';
|
|
126
125
|
return _this;
|
|
127
126
|
}
|
|
128
127
|
return BarcodeProperty;
|
|
@@ -132,10 +132,6 @@ _define_property(QrCodeControl, "setting", [
|
|
|
132
132
|
key: 'data-bind',
|
|
133
133
|
visible: true
|
|
134
134
|
},
|
|
135
|
-
{
|
|
136
|
-
key: 'field-type',
|
|
137
|
-
visible: true
|
|
138
|
-
},
|
|
139
135
|
{
|
|
140
136
|
key: 'caption',
|
|
141
137
|
showItems: [
|
|
@@ -301,9 +297,9 @@ _define_property(QrCodeControl, "setting", [
|
|
|
301
297
|
{
|
|
302
298
|
key: 'color',
|
|
303
299
|
visible: true,
|
|
304
|
-
name: '
|
|
300
|
+
name: 'qrcodeColor',
|
|
305
301
|
layout: 'horizontal',
|
|
306
|
-
label: getLocaleText('CMD.qrCodeColor', null, '
|
|
302
|
+
label: getLocaleText('CMD.qrCodeColor', null, '二维码颜色')
|
|
307
303
|
},
|
|
308
304
|
{
|
|
309
305
|
key: 'common-button-radio',
|
|
@@ -112,7 +112,7 @@ var QrCodeProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
112
112
|
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10;
|
|
113
113
|
_this = _call_super(this, QrCodeProperty, [
|
|
114
114
|
props
|
|
115
|
-
]), _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, "
|
|
115
|
+
]), _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);
|
|
116
116
|
_this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : QrCodeControl.controlName;
|
|
117
117
|
_this.placeholder = (_ref1 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _ref1 !== void 0 ? _ref1 : getLocaleText('CMD.pleaseEnter', null, '请输入');
|
|
118
118
|
_this.defaultValue = (_ref2 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
@@ -122,7 +122,7 @@ var QrCodeProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
122
122
|
_this.size = (_ref6 = props === null || props === void 0 ? void 0 : props.size) !== null && _ref6 !== void 0 ? _ref6 : 160;
|
|
123
123
|
_this.codeMargin = (_ref7 = props === null || props === void 0 ? void 0 : props.codeMargin) !== null && _ref7 !== void 0 ? _ref7 : 0;
|
|
124
124
|
_this.backgroundColor = (_ref8 = props === null || props === void 0 ? void 0 : props.backgroundColor) !== null && _ref8 !== void 0 ? _ref8 : '#ffffff';
|
|
125
|
-
_this.
|
|
125
|
+
_this.qrColor = (_ref9 = props === null || props === void 0 ? void 0 : props.qrColor) !== null && _ref9 !== void 0 ? _ref9 : '#000000';
|
|
126
126
|
_this.align = (_ref10 = props === null || props === void 0 ? void 0 : props.align) !== null && _ref10 !== void 0 ? _ref10 : 'left';
|
|
127
127
|
return _this;
|
|
128
128
|
}
|