@byteluck-fe/model-driven-controls 7.0.0-props.21 → 7.0.0-props.22

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.
@@ -197,10 +197,7 @@ _define_property(ImageControl, "setting", [
197
197
  key: 'attachment-size',
198
198
  visible: true
199
199
  },
200
- {
201
- key: 'image-width-height',
202
- visible: true
203
- },
200
+ // { key: 'image-width-height', visible: true },
204
201
  {
205
202
  key: 'image-defaultval',
206
203
  visible: true
@@ -83,10 +83,10 @@ var ImageProperty = /*#__PURE__*/ function(AttachmentProperty) {
83
83
  function ImageProperty(props) {
84
84
  _class_call_check(this, ImageProperty);
85
85
  var _this;
86
- var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7;
86
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6;
87
87
  _this = _call_super(this, ImageProperty, [
88
88
  props
89
- ]), _define_property(_this, "compressTypeCode", void 0), _define_property(_this, "compressRatio", void 0), _define_property(_this, "maxPixel", void 0), _define_property(_this, "maxWidthHeight", void 0);
89
+ ]), _define_property(_this, "compressTypeCode", void 0), _define_property(_this, "compressRatio", void 0), _define_property(_this, "maxPixel", void 0);
90
90
  _this.showType = 'image';
91
91
  _this.maxLimit = (_ref = props === null || props === void 0 ? void 0 : props.maxLimit) !== null && _ref !== void 0 ? _ref : 10;
92
92
  _this.caption = (_ref1 = (_ref2 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref2 !== void 0 ? _ref2 : ImageControl.controlName) !== null && _ref1 !== void 0 ? _ref1 : getLocaleText('CMD.image', null, '图片');
@@ -94,7 +94,6 @@ var ImageProperty = /*#__PURE__*/ function(AttachmentProperty) {
94
94
  _this.compressTypeCode = (_ref4 = props === null || props === void 0 ? void 0 : props.compressTypeCode) !== null && _ref4 !== void 0 ? _ref4 : ImageCompressType.NO_COMPRESS; // 默认不压缩
95
95
  _this.compressRatio = (_ref5 = props === null || props === void 0 ? void 0 : props.compressRatio) !== null && _ref5 !== void 0 ? _ref5 : 1; // 默认压缩比例1
96
96
  _this.maxPixel = (_ref6 = props === null || props === void 0 ? void 0 : props.maxPixel) !== null && _ref6 !== void 0 ? _ref6 : 1080; // 默认最大像素1080
97
- _this.maxWidthHeight = (_ref7 = props === null || props === void 0 ? void 0 : props.maxWidthHeight) !== null && _ref7 !== void 0 ? _ref7 : [];
98
97
  return _this;
99
98
  }
100
99
  return ImageProperty;
@@ -152,21 +152,9 @@ _define_property(CollapseControl, "setting", [
152
152
  label: '标题左侧显示高亮条',
153
153
  default: false
154
154
  },
155
- {
156
- key: 'common-switch',
157
- visible: true,
158
- name: 'ghost',
159
- label: '幽灵风格',
160
- default: false,
161
- tip: '使折叠面板透明且无边框'
162
- },
163
155
  {
164
156
  key: 'collapse-pane',
165
157
  visible: true
166
- },
167
- {
168
- key: 'super-setting',
169
- visible: true
170
158
  }
171
159
  ]);
172
160
  export default CollapseControl;
@@ -80,14 +80,13 @@ var CollapseControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
80
80
  function CollapseControlProperty(props) {
81
81
  _class_call_check(this, CollapseControlProperty);
82
82
  var _this;
83
- var _ref, _ref1, _ref2;
83
+ var _ref, _ref1;
84
84
  _this = _call_super(this, CollapseControlProperty, [
85
85
  props
86
- ]), _define_property(_this, "accordion", void 0), _define_property(_this, "bordered", void 0), _define_property(_this, "isShowHighlightBar", void 0), _define_property(_this, "ghost", void 0);
86
+ ]), _define_property(_this, "accordion", void 0), _define_property(_this, "bordered", void 0), _define_property(_this, "isShowHighlightBar", void 0);
87
87
  _this.accordion = (_ref = props === null || props === void 0 ? void 0 : props.accordion) !== null && _ref !== void 0 ? _ref : false;
88
88
  _this.bordered = (props === null || props === void 0 ? void 0 : props.bordered) === false ? false : true;
89
89
  _this.isShowHighlightBar = (_ref1 = props === null || props === void 0 ? void 0 : props.isShowHighlightBar) !== null && _ref1 !== void 0 ? _ref1 : false;
90
- _this.ghost = (_ref2 = props === null || props === void 0 ? void 0 : props.ghost) !== null && _ref2 !== void 0 ? _ref2 : false;
91
90
  return _this;
92
91
  }
93
92
  return CollapseControlProperty;