@byteluck-fe/model-driven-controls 2.8.1-alpha.7 → 2.8.1-beta1

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.
@@ -110,7 +110,7 @@ var TextColumnControlPropertyRules = /*#__PURE__*/ function(ColumnControlPropert
110
110
  _this = _super.call(this, props);
111
111
  /**
112
112
  * 保留富文本格式
113
- * @defaultValue true
113
+ * @defaultValue false
114
114
  * @public
115
115
  * */ _define_property(_assert_this_initialized(_this), "escapeHTML", void 0);
116
116
  /**
@@ -127,7 +127,7 @@ var TextColumnControlPropertyRules = /*#__PURE__*/ function(ColumnControlPropert
127
127
  */ _define_property(_assert_this_initialized(_this), "linkOperationOption", void 0);
128
128
  _define_property(_assert_this_initialized(_this), "lineEllipsis", void 0);
129
129
  var _props_escapeHTML;
130
- _this.escapeHTML = (_props_escapeHTML = props === null || props === void 0 ? void 0 : props.escapeHTML) !== null && _props_escapeHTML !== void 0 ? _props_escapeHTML : true;
130
+ _this.escapeHTML = (_props_escapeHTML = props === null || props === void 0 ? void 0 : props.escapeHTML) !== null && _props_escapeHTML !== void 0 ? _props_escapeHTML : false;
131
131
  var _props_caption;
132
132
  _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerTextColumnControl.controlName;
133
133
  var _props_lineEllipsis;
@@ -1,4 +1,10 @@
1
- function _assert_this_initialized(self) {
1
+ /*
2
+ * @Author: zhaoxiaoyang zhaoxiaoyang@byteluck.com
3
+ * @Date: 2023-09-14 18:31:51
4
+ * @LastEditors: zhaoxiaoyang zhaoxiaoyang@byteluck.com
5
+ * @LastEditTime: 2023-09-19 15:49:31
6
+ * @FilePath: /model-driven/packages/controls/src/formControls/Attachment/property.ts
7
+ */ function _assert_this_initialized(self) {
2
8
  if (self === void 0) {
3
9
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
10
  }
@@ -145,6 +151,9 @@ var AttachmentProperty = /*#__PURE__*/ function(BaseControlProperty) {
145
151
  _define_property(_assert_this_initialized(_this), "attachmentAccept", void 0);
146
152
  _define_property(_assert_this_initialized(_this), "maxLimit", void 0);
147
153
  _define_property(_assert_this_initialized(_this), "minLimit", void 0);
154
+ _define_property(_assert_this_initialized(_this), "isShowWatermark", void 0 // 是否开启水印
155
+ );
156
+ _define_property(_assert_this_initialized(_this), "watermarkFx", void 0);
148
157
  /**
149
158
  * maxSize 存储大小,单位为Byte,默认值为100MB
150
159
  * */ _define_property(_assert_this_initialized(_this), "maxSize", void 0);
@@ -166,6 +175,10 @@ var AttachmentProperty = /*#__PURE__*/ function(BaseControlProperty) {
166
175
  _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : AttachmentControl.controlName;
167
176
  var _props_placeholder;
168
177
  _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "上传附件";
178
+ var _props_isShowWatermark;
179
+ _this.isShowWatermark = (_props_isShowWatermark = props === null || props === void 0 ? void 0 : props.isShowWatermark) !== null && _props_isShowWatermark !== void 0 ? _props_isShowWatermark : false;
180
+ var _props_watermarkFx;
181
+ _this.watermarkFx = (_props_watermarkFx = props === null || props === void 0 ? void 0 : props.watermarkFx) !== null && _props_watermarkFx !== void 0 ? _props_watermarkFx : {};
169
182
  return _this;
170
183
  }
171
184
  return AttachmentProperty;
@@ -1,4 +1,10 @@
1
- function _assert_this_initialized(self) {
1
+ /*
2
+ * @Author: zhaoxiaoyang zhaoxiaoyang@byteluck.com
3
+ * @Date: 2022-12-01 14:40:30
4
+ * @LastEditors: zhaoxiaoyang zhaoxiaoyang@byteluck.com
5
+ * @LastEditTime: 2023-09-19 15:50:38
6
+ * @FilePath: /model-driven/packages/controls/src/formControls/Image/designer.ts
7
+ */ function _assert_this_initialized(self) {
2
8
  if (self === void 0) {
3
9
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
10
  }
@@ -170,7 +176,8 @@ _define_property(ImageControl, "setting", [
170
176
  COMMON_SETTING_TYPE.REQUIRED,
171
177
  COMMON_SETTING_TYPE.IS_HIDE,
172
178
  COMMON_SETTING_TYPE.IS_HIDE_CAPTION,
173
- COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP
179
+ COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,
180
+ COMMON_SETTING_TYPE.IS_SHOW_WATERMARK
174
181
  ]
175
182
  },
176
183
  {
@@ -1,4 +1,10 @@
1
- function _assert_this_initialized(self) {
1
+ /*
2
+ * @Author: zhaoxiaoyang zhaoxiaoyang@byteluck.com
3
+ * @Date: 2022-12-01 14:40:30
4
+ * @LastEditors: zhaoxiaoyang zhaoxiaoyang@byteluck.com
5
+ * @LastEditTime: 2023-09-19 14:56:27
6
+ * @FilePath: /model-driven/packages/controls/src/formControls/Image/property.ts
7
+ */ function _assert_this_initialized(self) {
2
8
  if (self === void 0) {
3
9
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
10
  }
@@ -222,6 +222,10 @@ _define_property(SubTableControl, "setting", [
222
222
  key: "limit-rows",
223
223
  visible: true
224
224
  },
225
+ {
226
+ key: "max-rows",
227
+ visible: true
228
+ },
225
229
  {
226
230
  key: "list-pager",
227
231
  visible: true