@byteluck-fe/model-driven-controls 2.22.1-beta.2 → 2.23.0-beta.0

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.
@@ -1,8 +1,8 @@
1
1
  /*
2
2
  * @Author: zhaoxiaoyang zhaoxiaoyang@byteluck.com
3
3
  * @Date: 2023-09-14 18:31:51
4
- * @LastEditors: zhaoxiaoyang zhaoxiaoyang@byteluck.com
5
- * @LastEditTime: 2023-09-19 15:49:31
4
+ * @LastEditors: SuperLuckyqi
5
+ * @LastEditTime: 2024-07-25 11:08:43
6
6
  * @FilePath: /model-driven/packages/controls/src/formControls/Attachment/property.ts
7
7
  */ function _assert_this_initialized(self) {
8
8
  if (self === void 0) {
@@ -157,6 +157,7 @@ var AttachmentProperty = /*#__PURE__*/ function(BaseControlProperty) {
157
157
  /**
158
158
  * maxSize 存储大小,单位为Byte,默认值为100MB
159
159
  * */ _define_property(_assert_this_initialized(_this), "maxSize", void 0);
160
+ _define_property(_assert_this_initialized(_this), "operation", void 0);
160
161
  var _props_defaultValue;
161
162
  _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [];
162
163
  var _props_showType;
@@ -179,6 +180,8 @@ var AttachmentProperty = /*#__PURE__*/ function(BaseControlProperty) {
179
180
  _this.isShowWatermark = (_props_isShowWatermark = props === null || props === void 0 ? void 0 : props.isShowWatermark) !== null && _props_isShowWatermark !== void 0 ? _props_isShowWatermark : false;
180
181
  var _props_watermarkFx;
181
182
  _this.watermarkFx = (_props_watermarkFx = props === null || props === void 0 ? void 0 : props.watermarkFx) !== null && _props_watermarkFx !== void 0 ? _props_watermarkFx : {};
183
+ var _props_operation;
184
+ _this.operation = (_props_operation = props === null || props === void 0 ? void 0 : props.operation) !== null && _props_operation !== void 0 ? _props_operation : [];
182
185
  return _this;
183
186
  }
184
187
  return AttachmentProperty;