@byteluck-fe/model-driven-controls 7.0.0-props.74 → 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;
@@ -96,18 +96,19 @@ var BlankContainerProperty = /*#__PURE__*/ function(LayoutControlProperty) {
96
96
  function BlankContainerProperty(props) {
97
97
  _class_call_check(this, BlankContainerProperty);
98
98
  var _this;
99
- var _ref, _ref1, _ref2, _ref3, _ref4;
99
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5;
100
100
  _this = _call_super(this, BlankContainerProperty, [
101
101
  props
102
- ]), _define_property(_this, "caption", void 0), _define_property(_this, "captionSize", void 0), _define_property(_this, "captionColor", void 0), _define_property(_this, "isCaptionItalic", void 0), _define_property(_this, "captionFontWeight", void 0), _define_property(_this, "position", void 0), _define_property(_this, "backgroundColor", void 0), _define_property(_this, "showShadow", void 0);
102
+ ]), _define_property(_this, "caption", void 0), _define_property(_this, "isHideCaption", void 0), _define_property(_this, "captionSize", void 0), _define_property(_this, "captionColor", void 0), _define_property(_this, "isCaptionItalic", void 0), _define_property(_this, "captionFontWeight", void 0), _define_property(_this, "position", void 0), _define_property(_this, "backgroundColor", void 0), _define_property(_this, "showShadow", void 0);
103
103
  _this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : '空白容器';
104
+ _this.isHideCaption = (_ref1 = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _ref1 !== void 0 ? _ref1 : false;
104
105
  _this.captionColor = (props === null || props === void 0 ? void 0 : props.captionColor) || '';
105
106
  _this.captionSize = (props === null || props === void 0 ? void 0 : props.captionSize) || '';
106
107
  _this.isCaptionItalic = (props === null || props === void 0 ? void 0 : props.isCaptionItalic) || false;
107
- _this.captionFontWeight = (_ref1 = props === null || props === void 0 ? void 0 : props.captionFontWeight) !== null && _ref1 !== void 0 ? _ref1 : FONT_WEIGHT.NORMAL;
108
- _this.position = (_ref2 = props === null || props === void 0 ? void 0 : props.position) !== null && _ref2 !== void 0 ? _ref2 : 'left';
109
- _this.backgroundColor = (_ref3 = props === null || props === void 0 ? void 0 : props.backgroundColor) !== null && _ref3 !== void 0 ? _ref3 : '#ffffff';
110
- _this.showShadow = (_ref4 = props === null || props === void 0 ? void 0 : props.showShadow) !== null && _ref4 !== void 0 ? _ref4 : false;
108
+ _this.captionFontWeight = (_ref2 = props === null || props === void 0 ? void 0 : props.captionFontWeight) !== null && _ref2 !== void 0 ? _ref2 : FONT_WEIGHT.NORMAL;
109
+ _this.position = (_ref3 = props === null || props === void 0 ? void 0 : props.position) !== null && _ref3 !== void 0 ? _ref3 : 'left';
110
+ _this.backgroundColor = (_ref4 = props === null || props === void 0 ? void 0 : props.backgroundColor) !== null && _ref4 !== void 0 ? _ref4 : '#ffffff';
111
+ _this.showShadow = (_ref5 = props === null || props === void 0 ? void 0 : props.showShadow) !== null && _ref5 !== void 0 ? _ref5 : false;
111
112
  return _this;
112
113
  }
113
114
  return BlankContainerProperty;