@byteluck-fe/model-driven-controls 5.5.0-1-beta2 → 5.5.0-1-beta4

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.
@@ -178,6 +178,10 @@ _define_property(AttachmentControl, "setting", [
178
178
  key: 'attachment-size',
179
179
  visible: true
180
180
  },
181
+ {
182
+ key: 'attachment-custom-operation',
183
+ visible: true
184
+ },
181
185
  {
182
186
  key: 'attachment-operation',
183
187
  visible: true
@@ -138,7 +138,7 @@ var AttachmentProperty = /*#__PURE__*/ function(BaseControlProperty) {
138
138
  ), _define_property(_this, "watermarkFx", void 0), /**
139
139
  * maxSize 存储大小,单位为Byte,默认值为100MB
140
140
  * */ _define_property(_this, "maxSize", void 0), // 附件按钮操作数组
141
- _define_property(_this, "operation", void 0);
141
+ _define_property(_this, "operation", void 0), _define_property(_this, "customOperation", void 0);
142
142
  var _props_defaultValue;
143
143
  _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [];
144
144
  var _props_showType;
@@ -167,6 +167,8 @@ var AttachmentProperty = /*#__PURE__*/ function(BaseControlProperty) {
167
167
  'preview',
168
168
  'download'
169
169
  ];
170
+ var _props_customOperation;
171
+ _this.customOperation = (_props_customOperation = props === null || props === void 0 ? void 0 : props.customOperation) !== null && _props_customOperation !== void 0 ? _props_customOperation : [];
170
172
  return _this;
171
173
  }
172
174
  return AttachmentProperty;