@byteluck-fe/model-driven-controls 3.0.0-beta.7 → 3.0.0-beta.9
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.
- package/dist/esm/formControls/Attachment/property.js +8 -8
- package/dist/esm/formControls/Image/designer.js +6 -6
- package/dist/esm/listControls/SubTable/designer.js +2 -1
- package/dist/esm/listControls/SubTable/property.js +4 -1
- package/dist/index.umd.js +1 -1
- package/dist/types/listControls/SubTable/property.d.ts +1 -0
- package/package.json +4 -4
|
@@ -1,9 +1,9 @@
|
|
|
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
|
|
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
7
|
*/ function _assert_this_initialized(self) {
|
|
8
8
|
if (self === void 0) {
|
|
9
9
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
@@ -135,8 +135,8 @@ var AttachmentProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
135
135
|
props
|
|
136
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
|
-
), _define_property(_this, "watermarkFx", void 0), /**
|
|
139
|
-
* maxSize 存储大小,单位为Byte,默认值为100MB
|
|
138
|
+
), _define_property(_this, "watermarkFx", void 0), /**
|
|
139
|
+
* maxSize 存储大小,单位为Byte,默认值为100MB
|
|
140
140
|
* */ _define_property(_this, "maxSize", void 0), // 附件按钮操作数组
|
|
141
141
|
_define_property(_this, "operation", void 0), // 附件ai解释
|
|
142
142
|
_define_property(_this, "aiExplanation", void 0), // 附件ai解释长度
|
|
@@ -1,9 +1,9 @@
|
|
|
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
|
|
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
7
|
*/ function _assert_this_initialized(self) {
|
|
8
8
|
if (self === void 0) {
|
|
9
9
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
@@ -181,7 +181,8 @@ _define_property(SubTableControl, "setting", [
|
|
|
181
181
|
COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,
|
|
182
182
|
COMMON_SETTING_TYPE.IS_PASTE,
|
|
183
183
|
COMMON_SETTING_TYPE.SERVER_PAGINATION,
|
|
184
|
-
COMMON_SETTING_TYPE.SORTABLE
|
|
184
|
+
COMMON_SETTING_TYPE.SORTABLE,
|
|
185
|
+
COMMON_SETTING_TYPE.SHOW_TABLE_INDEX
|
|
185
186
|
]
|
|
186
187
|
},
|
|
187
188
|
{
|
|
@@ -286,7 +286,8 @@ var SubtableControlRuntimeRules = /*#__PURE__*/ function(PropertyRuntimeRules) {
|
|
|
286
286
|
* @public
|
|
287
287
|
* */ _define_property(_this, "sortable", void 0), /**
|
|
288
288
|
* 排序or筛选字段
|
|
289
|
-
* */ _define_property(_this, "sortKey", void 0)
|
|
289
|
+
* */ _define_property(_this, "sortKey", void 0), // 是否展示序号
|
|
290
|
+
_define_property(_this, "showTableIndex", void 0);
|
|
290
291
|
var _props_caption;
|
|
291
292
|
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : SubTableControl.controlName;
|
|
292
293
|
var _props_isHideCaption;
|
|
@@ -361,6 +362,8 @@ var SubtableControlRuntimeRules = /*#__PURE__*/ function(PropertyRuntimeRules) {
|
|
|
361
362
|
_this.sortable = (_props_sortable = props === null || props === void 0 ? void 0 : props.sortable) !== null && _props_sortable !== void 0 ? _props_sortable : false;
|
|
362
363
|
var _props_sortKey;
|
|
363
364
|
_this.sortKey = (_props_sortKey = props === null || props === void 0 ? void 0 : props.sortKey) !== null && _props_sortKey !== void 0 ? _props_sortKey : {};
|
|
365
|
+
var _props_showTableIndex;
|
|
366
|
+
_this.showTableIndex = (_props_showTableIndex = props === null || props === void 0 ? void 0 : props.showTableIndex) !== null && _props_showTableIndex !== void 0 ? _props_showTableIndex : true;
|
|
364
367
|
return _this;
|
|
365
368
|
}
|
|
366
369
|
return SubTableControlProperty;
|