@byteluck-fe/model-driven-controls 2.23.0-beta.26-dx → 2.23.0-beta.27-dx

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.
@@ -161,6 +161,10 @@ _define_property(AttachmentControl, "setting", [
161
161
  COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP
162
162
  ]
163
163
  },
164
+ {
165
+ key: 'attachment-storage',
166
+ visible: true
167
+ },
164
168
  {
165
169
  key: 'attachment-state',
166
170
  visible: true
@@ -133,7 +133,7 @@ var AttachmentProperty = /*#__PURE__*/ function(BaseControlProperty) {
133
133
  var _this;
134
134
  _this = _call_super(this, AttachmentProperty, [
135
135
  props
136
- ]), _define_property(_this, "defaultValue", void 0), // 默认格式和列表格式,原应用内是title和table
136
+ ]), _define_property(_this, "storageType", void 0), _define_property(_this, "defaultValue", void 0), // 默认格式和列表格式,原应用内是title和table
137
137
  _define_property(_this, "showType", void 0), _define_property(_this, "resultShowType", void 0), _define_property(_this, "attachmentAccept", void 0), _define_property(_this, "maxLimit", void 0), _define_property(_this, "minLimit", void 0), _define_property(_this, "isShowWatermark", void 0 // 是否开启水印
138
138
  ), _define_property(_this, "watermarkFx", void 0), /**
139
139
  * maxSize 存储大小,单位为Byte,默认值为100MB
@@ -167,6 +167,8 @@ var AttachmentProperty = /*#__PURE__*/ function(BaseControlProperty) {
167
167
  'preview',
168
168
  'download'
169
169
  ];
170
+ var _props_storageType;
171
+ _this.storageType = (_props_storageType = props === null || props === void 0 ? void 0 : props.storageType) !== null && _props_storageType !== void 0 ? _props_storageType : 'local';
170
172
  return _this;
171
173
  }
172
174
  return AttachmentProperty;
@@ -170,6 +170,10 @@ _define_property(ImageControl, "setting", [
170
170
  COMMON_SETTING_TYPE.IS_SHOW_WATERMARK
171
171
  ]
172
172
  },
173
+ {
174
+ key: 'attachment-storage',
175
+ visible: true
176
+ },
173
177
  {
174
178
  key: 'attachment-limit',
175
179
  visible: true