@byteluck-fe/model-driven-controls 4.51.0-lx1 → 4.53.0-lx2

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,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,14 +135,14 @@ var AttachmentProperty = /*#__PURE__*/ function(BaseControlProperty) {
135
135
  props
136
136
  ]), _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
140
- * */ _define_property(_this, "maxSize", void 0), /**
141
- * 禁止下载
142
- * default false
143
- */ _define_property(_this, "forbidDownload", void 0), /**
144
- * 访问控制
145
- * default false
138
+ ), _define_property(_this, "watermarkFx", void 0), /**
139
+ * maxSize 存储大小,单位为Byte,默认值为100MB
140
+ * */ _define_property(_this, "maxSize", void 0), /**
141
+ * 禁止下载
142
+ * default false
143
+ */ _define_property(_this, "forbidDownload", void 0), /**
144
+ * 访问控制
145
+ * default false
146
146
  */ _define_property(_this, "accessControl", void 0), _define_property(_this, "notRepeatFileName", void 0 // 是否禁止上传重复文件名的附件
147
147
  );
148
148
  var _props_defaultValue;
@@ -31,16 +31,16 @@ export var TitleConfigEnum = /*#__PURE__*/ function(TitleConfigEnum) {
31
31
  TitleConfigEnum["ShowProcessModelDiagram"] = "process_model_diagram";
32
32
  return TitleConfigEnum;
33
33
  }({});
34
- /**
35
- * 时间范围类型
34
+ /**
35
+ * 时间范围类型
36
36
  */ export var DATE_CONFIG_TYPE = /*#__PURE__*/ function(DATE_CONFIG_TYPE) {
37
37
  DATE_CONFIG_TYPE["EARLY_DATE"] = "earlyDate";
38
38
  DATE_CONFIG_TYPE["LATE_DATE"] = "lateDate";
39
39
  DATE_CONFIG_TYPE["UN_SELECT_ABLE_INTERVAL"] = "unSelectAbleInterval";
40
40
  return DATE_CONFIG_TYPE;
41
41
  }({});
42
- /**
43
- * 时间限制类型
42
+ /**
43
+ * 时间限制类型
44
44
  */ export var DATE_LIMIT_TYPE = /*#__PURE__*/ function(DATE_LIMIT_TYPE) {
45
45
  DATE_LIMIT_TYPE["FILE_IN_TIME"] = "filledInTime";
46
46
  DATE_LIMIT_TYPE["BEFORE_TIME"] = "beforeTime";
@@ -48,8 +48,8 @@ export var TitleConfigEnum = /*#__PURE__*/ function(TitleConfigEnum) {
48
48
  DATE_LIMIT_TYPE["TIME_SPECIFIED"] = "timeSpecified";
49
49
  return DATE_LIMIT_TYPE;
50
50
  }({});
51
- /**
52
- * 时间限制范围
51
+ /**
52
+ * 时间限制范围
53
53
  */ export var LimitDate = function LimitDate() {
54
54
  "use strict";
55
55
  var props = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
@@ -102,23 +102,23 @@ export var LINE_STYLE = /*#__PURE__*/ function(LINE_STYLE) {
102
102
  export var UndersignedPerson = function UndersignedPerson(props) {
103
103
  "use strict";
104
104
  _class_call_check(this, UndersignedPerson);
105
- /**
106
- * 签署人类型
105
+ /**
106
+ * 签署人类型
107
107
  * */ _define_property(this, "type", void 0);
108
- /**
109
- * 签署人
108
+ /**
109
+ * 签署人
110
110
  * */ _define_property(this, "person", void 0);
111
- /**
112
- * 签章类型
111
+ /**
112
+ * 签章类型
113
113
  * */ _define_property(this, "signatureType", void 0);
114
- /**
115
- * 手机号
114
+ /**
115
+ * 手机号
116
116
  * */ _define_property(this, "telephone", void 0);
117
- /**
118
- * 公司名称
117
+ /**
118
+ * 公司名称
119
119
  * */ _define_property(this, "company", void 0);
120
- /**
121
- * 备注
120
+ /**
121
+ * 备注
122
122
  * */ _define_property(this, "remark", void 0);
123
123
  var _props_type;
124
124
  this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : 'private';
@@ -143,20 +143,20 @@ export var ElectronicSignatureConfig = function ElectronicSignatureConfig(props)
143
143
  "use strict";
144
144
  _class_call_check(this, ElectronicSignatureConfig);
145
145
  var _props_undersignedList;
146
- /**
147
- * 签署文件
146
+ /**
147
+ * 签署文件
148
148
  * */ _define_property(this, "fileControl", void 0);
149
- /**
150
- * 签署人
149
+ /**
150
+ * 签署人
151
151
  * */ _define_property(this, "undersignedList", void 0);
152
- /**
153
- * 签署状态
152
+ /**
153
+ * 签署状态
154
154
  * */ _define_property(this, "statusControl", void 0);
155
- /**
156
- * 签署完成文件
155
+ /**
156
+ * 签署完成文件
157
157
  * */ _define_property(this, "completeControl", void 0);
158
- /**
159
- * 签署完成时间
158
+ /**
159
+ * 签署完成时间
160
160
  * */ _define_property(this, "completeTimeControl", void 0);
161
161
  var _props_fileControl;
162
162
  this.fileControl = (_props_fileControl = props === null || props === void 0 ? void 0 : props.fileControl) !== null && _props_fileControl !== void 0 ? _props_fileControl : '';
@@ -268,16 +268,16 @@ export var FlexStyleConfig = function FlexStyleConfig(props) {
268
268
  var _props_alignItems;
269
269
  this.alignItems = (_props_alignItems = props === null || props === void 0 ? void 0 : props.alignItems) !== null && _props_alignItems !== void 0 ? _props_alignItems : 'flex-start';
270
270
  };
271
- /**
272
- * 加密类型
271
+ /**
272
+ * 加密类型
273
273
  */ export var EncryptTypeEnum = /*#__PURE__*/ function(EncryptTypeEnum) {
274
274
  EncryptTypeEnum["NO_MASK"] = "NO_MASK";
275
275
  EncryptTypeEnum["LAST_FOUR_MASK"] = "LAST_FOUR_MASK";
276
276
  EncryptTypeEnum["ALL_MASK"] = "ALL_MASK";
277
277
  return EncryptTypeEnum;
278
278
  }({});
279
- /**
280
- * 新人员 内部组织 or 外部组织
279
+ /**
280
+ * 新人员 内部组织 or 外部组织
281
281
  */ export var OrganizeType = /*#__PURE__*/ function(OrganizeType) {
282
282
  OrganizeType["ALL"] = "ALL";
283
283
  OrganizeType["INTERNAL"] = "INTERNAL";
@@ -285,23 +285,23 @@ export var FlexStyleConfig = function FlexStyleConfig(props) {
285
285
  OrganizeType["INTERNAL_EXTERNAL"] = "INTERNAL_EXTERNAL";
286
286
  return OrganizeType;
287
287
  }({});
288
- /**
289
- * 新部门 行政 or 业务
288
+ /**
289
+ * 新部门 行政 or 业务
290
290
  */ export var DepartmentType = /*#__PURE__*/ function(DepartmentType) {
291
291
  DepartmentType["INTERNAL_BUSINESS"] = "INTERNAL_BUSINESS";
292
292
  DepartmentType["INTERNAL"] = "INTERNAL";
293
293
  DepartmentType["BUSINESS"] = "BUSINESS";
294
294
  return DepartmentType;
295
295
  }({});
296
- /**
297
- * 指定或者全部
296
+ /**
297
+ * 指定或者全部
298
298
  */ export var AssignType = /*#__PURE__*/ function(AssignType) {
299
299
  AssignType["ALL"] = "all";
300
300
  AssignType["ASSIGN"] = "assign";
301
301
  return AssignType;
302
302
  }({});
303
- /**
304
- * 内部组织类型
303
+ /**
304
+ * 内部组织类型
305
305
  */ export var InternalType = /*#__PURE__*/ function(InternalType) {
306
306
  InternalType["ALL"] = "all";
307
307
  InternalType["ADMIN"] = "admin";
@@ -199,6 +199,10 @@ _define_property(SubTableControl, "setting", [
199
199
  key: 'orders-setting',
200
200
  visible: true
201
201
  },
202
+ {
203
+ key: 'field-orders-setting',
204
+ visible: true
205
+ },
202
206
  {
203
207
  key: 'print-setting',
204
208
  visible: true
@@ -276,7 +276,8 @@ var SubtableControlRuntimeRules = /*#__PURE__*/ function(PropertyRuntimeRules) {
276
276
  * 移动端平铺数据流开关
277
277
  * @defaultValue false
278
278
  * @public
279
- * */ _define_property(_this, "mobileIsTile", void 0);
279
+ * */ _define_property(_this, "mobileIsTile", void 0), // 明细子表列头排序字段设置
280
+ _define_property(_this, "fieldOrders", void 0);
280
281
  var _props_caption;
281
282
  _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : SubTableControl.controlName;
282
283
  var _props_isHideCaption;
@@ -345,6 +346,8 @@ var SubtableControlRuntimeRules = /*#__PURE__*/ function(PropertyRuntimeRules) {
345
346
  50,
346
347
  100
347
348
  ];
349
+ var _props_fieldOrders;
350
+ _this.fieldOrders = (_props_fieldOrders = props === null || props === void 0 ? void 0 : props.fieldOrders) !== null && _props_fieldOrders !== void 0 ? _props_fieldOrders : [];
348
351
  return _this;
349
352
  }
350
353
  return SubTableControlProperty;