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

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.
@@ -163,6 +163,10 @@ var ListSelectButtonPropertyRules = /*#__PURE__*/ function(PropertyRules) {
163
163
  * @public
164
164
  */ _define_property(_assert_this_initialized(_this), "listPageBind", void 0);
165
165
  /**
166
+ * 禁用填充
167
+ * @public
168
+ */ _define_property(_assert_this_initialized(_this), "disableFilling", void 0);
169
+ /**
166
170
  * 回填配置
167
171
  * @public
168
172
  */ _define_property(_assert_this_initialized(_this), "fillBack", void 0);
@@ -180,6 +184,8 @@ var ListSelectButtonPropertyRules = /*#__PURE__*/ function(PropertyRules) {
180
184
  var _props_showSelectedDetail;
181
185
  _this.showSelectedDetail = (_props_showSelectedDetail = props === null || props === void 0 ? void 0 : props.showSelectedDetail) !== null && _props_showSelectedDetail !== void 0 ? _props_showSelectedDetail : false;
182
186
  _this.selectedContentConfig = new SelectedContentConfig(props === null || props === void 0 ? void 0 : props.selectedContentConfig);
187
+ var _props_disableFilling;
188
+ _this.disableFilling = (_props_disableFilling = props === null || props === void 0 ? void 0 : props.disableFilling) !== null && _props_disableFilling !== void 0 ? _props_disableFilling : true;
183
189
  return _this;
184
190
  }
185
191
  return ListSelectButtonProperty;
@@ -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
  }