@byteluck-fe/model-driven-controls 2.23.0-beta.26-zt → 2.23.0-beta.27-zt

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.
@@ -126,8 +126,8 @@ var Employee2Property = /*#__PURE__*/ function(BaseControlProperty) {
126
126
  var _this;
127
127
  _this = _call_super(this, Employee2Property, [
128
128
  props
129
- ]), /**
130
- * 展示类型: 默认形式 / 树状人员
129
+ ]), /**
130
+ * 展示类型: 默认形式 / 树状人员
131
131
  * */ _define_property(_this, "showType", void 0), _define_property(_this, "range", void 0 // 人员范围: 公司全员 / 指定人员
132
132
  ), // 选择指定人员时的范围
133
133
  _define_property(_this, "rangeOptions", void 0), _define_property(_this, "multiple", void 0 // 是否多选
@@ -92,7 +92,9 @@ var HandSignatureControlPropertyRuntimeRules = /*#__PURE__*/ function(BaseContro
92
92
  _this = _call_super(this, HandSignatureControlPropertyRuntimeRules, [
93
93
  props
94
94
  ]);
95
- _this[0].type = 'array';
95
+ if (_this[0]) {
96
+ _this[0].type = 'array';
97
+ }
96
98
  return _this;
97
99
  }
98
100
  return HandSignatureControlPropertyRuntimeRules;
@@ -19,28 +19,32 @@ function _define_property(obj, key, value) {
19
19
  import { genNonDuplicateId } from '@byteluck-fe/model-driven-shared';
20
20
  import { RightVariable } from '@byteluck-fe/model-driven-core';
21
21
  import { getLocaleText } from '@byteluck-fe/locale-message';
22
- export var TitleConfigEnum;
23
- (function(TitleConfigEnum) {
22
+ export var TitleConfigEnum = /*#__PURE__*/ function(TitleConfigEnum) {
24
23
  TitleConfigEnum["ShowBizKey"] = "is_show_biz_key";
25
24
  TitleConfigEnum["ShowSubmitUser"] = "is_show_submit_user";
26
25
  TitleConfigEnum["ShowSubmitTime"] = "is_show_submit_time";
27
26
  TitleConfigEnum["ShowSubmitDept"] = "is_show_submit_dept";
28
27
  TitleConfigEnum["ShowCurrentApprovar"] = "is_show_current_approvar";
29
28
  TitleConfigEnum["ShowTitle"] = "is_show_title";
30
- })(TitleConfigEnum || (TitleConfigEnum = {}));
31
- export var DATE_CONFIG_TYPE;
32
- (function(DATE_CONFIG_TYPE) {
29
+ return TitleConfigEnum;
30
+ }({});
31
+ /**
32
+ * 时间范围类型
33
+ */ export var DATE_CONFIG_TYPE = /*#__PURE__*/ function(DATE_CONFIG_TYPE) {
33
34
  DATE_CONFIG_TYPE["EARLY_DATE"] = "earlyDate";
34
35
  DATE_CONFIG_TYPE["LATE_DATE"] = "lateDate";
35
36
  DATE_CONFIG_TYPE["UN_SELECT_ABLE_INTERVAL"] = "unSelectAbleInterval";
36
- })(DATE_CONFIG_TYPE || (DATE_CONFIG_TYPE = {}));
37
- export var DATE_LIMIT_TYPE;
38
- (function(DATE_LIMIT_TYPE) {
37
+ return DATE_CONFIG_TYPE;
38
+ }({});
39
+ /**
40
+ * 时间限制类型
41
+ */ export var DATE_LIMIT_TYPE = /*#__PURE__*/ function(DATE_LIMIT_TYPE) {
39
42
  DATE_LIMIT_TYPE["FILE_IN_TIME"] = "filledInTime";
40
43
  DATE_LIMIT_TYPE["BEFORE_TIME"] = "beforeTime";
41
44
  DATE_LIMIT_TYPE["AFTER_TIME"] = "afterTime";
42
45
  DATE_LIMIT_TYPE["TIME_SPECIFIED"] = "timeSpecified";
43
- })(DATE_LIMIT_TYPE || (DATE_LIMIT_TYPE = {}));
46
+ return DATE_LIMIT_TYPE;
47
+ }({});
44
48
  /**
45
49
  * 时间限制范围
46
50
  */ export var LimitDate = function LimitDate() {
@@ -67,15 +71,15 @@ export var DATE_LIMIT_TYPE;
67
71
  this.dateLimitType = props.dateLimitType;
68
72
  this.value = props.value;
69
73
  };
70
- export var SCORE_TYPE;
71
- (function(SCORE_TYPE) {
74
+ export var SCORE_TYPE = /*#__PURE__*/ function(SCORE_TYPE) {
72
75
  SCORE_TYPE["PRAISE"] = "praise";
73
76
  SCORE_TYPE["STAR"] = "star";
74
77
  SCORE_TYPE["FLOWER"] = "flower";
75
78
  SCORE_TYPE["HAND"] = "hand";
76
79
  SCORE_TYPE["HEART"] = "heart";
77
80
  SCORE_TYPE["SMILE"] = "smile";
78
- })(SCORE_TYPE || (SCORE_TYPE = {}));
81
+ return SCORE_TYPE;
82
+ }({});
79
83
  export var Explain = function Explain(props) {
80
84
  "use strict";
81
85
  _class_call_check(this, Explain);
@@ -86,15 +90,15 @@ export var Explain = function Explain(props) {
86
90
  var _props_text;
87
91
  this.text = (_props_text = props === null || props === void 0 ? void 0 : props.text) !== null && _props_text !== void 0 ? _props_text : '';
88
92
  };
89
- export var LINE_STYLE;
90
- (function(LINE_STYLE) {
93
+ export var LINE_STYLE = /*#__PURE__*/ function(LINE_STYLE) {
91
94
  LINE_STYLE["SOLID"] = "solid-line";
92
95
  LINE_STYLE["DASHED"] = "dashed-line";
93
96
  LINE_STYLE["BOLD_SOLID"] = "bold-solid-line";
94
97
  LINE_STYLE["BOLD_DASHED"] = "bold-dashed-line";
95
98
  LINE_STYLE["DOUBLE_SOLID"] = "double-solid-line";
96
99
  LINE_STYLE["DOUBLE_DASHED"] = "double-dashed-line";
97
- })(LINE_STYLE || (LINE_STYLE = {}));
100
+ return LINE_STYLE;
101
+ }({});
98
102
  export var UndersignedPerson = function UndersignedPerson(props) {
99
103
  "use strict";
100
104
  _class_call_check(this, UndersignedPerson);
@@ -347,32 +351,42 @@ export var FlexStyleConfig = function FlexStyleConfig(props) {
347
351
  var _props_alignItems;
348
352
  this.alignItems = (_props_alignItems = props === null || props === void 0 ? void 0 : props.alignItems) !== null && _props_alignItems !== void 0 ? _props_alignItems : 'flex-start';
349
353
  };
350
- export var EncryptTypeEnum;
351
- (function(EncryptTypeEnum) {
354
+ /**
355
+ * 加密类型
356
+ */ export var EncryptTypeEnum = /*#__PURE__*/ function(EncryptTypeEnum) {
352
357
  EncryptTypeEnum["NO_MASK"] = "NO_MASK";
353
358
  EncryptTypeEnum["LAST_FOUR_MASK"] = "LAST_FOUR_MASK";
354
359
  EncryptTypeEnum["ALL_MASK"] = "ALL_MASK";
355
- })(EncryptTypeEnum || (EncryptTypeEnum = {}));
356
- export var OrganizeType;
357
- (function(OrganizeType) {
360
+ return EncryptTypeEnum;
361
+ }({});
362
+ /**
363
+ * 新人员 内部组织 or 外部组织
364
+ */ export var OrganizeType = /*#__PURE__*/ function(OrganizeType) {
358
365
  OrganizeType["ALL"] = "ALL";
359
366
  OrganizeType["INTERNAL"] = "INTERNAL";
360
367
  OrganizeType["EXTERNAL"] = "EXTERNAL";
361
368
  OrganizeType["INTERNAL_EXTERNAL"] = "INTERNAL_EXTERNAL";
362
- })(OrganizeType || (OrganizeType = {}));
363
- export var DepartmentType;
364
- (function(DepartmentType) {
369
+ return OrganizeType;
370
+ }({});
371
+ /**
372
+ * 新部门 行政 or 业务
373
+ */ export var DepartmentType = /*#__PURE__*/ function(DepartmentType) {
365
374
  DepartmentType["INTERNAL_BUSINESS"] = "INTERNAL_BUSINESS";
366
375
  DepartmentType["INTERNAL"] = "INTERNAL";
367
376
  DepartmentType["BUSINESS"] = "BUSINESS";
368
- })(DepartmentType || (DepartmentType = {}));
369
- export var AssignType;
370
- (function(AssignType) {
377
+ return DepartmentType;
378
+ }({});
379
+ /**
380
+ * 指定或者全部
381
+ */ export var AssignType = /*#__PURE__*/ function(AssignType) {
371
382
  AssignType["ALL"] = "all";
372
383
  AssignType["ASSIGN"] = "assign";
373
- })(AssignType || (AssignType = {}));
374
- export var InternalType;
375
- (function(InternalType) {
384
+ return AssignType;
385
+ }({});
386
+ /**
387
+ * 内部组织类型
388
+ */ export var InternalType = /*#__PURE__*/ function(InternalType) {
376
389
  InternalType["ALL"] = "all";
377
390
  InternalType["ADMIN"] = "admin";
378
- })(InternalType || (InternalType = {}));
391
+ return InternalType;
392
+ }({});
@@ -73,11 +73,13 @@ function _is_native_reflect_construct() {
73
73
  import { LayoutControlProperty, PropertyRules, PropertyRuntimeRules, DataSourceBind, SubListPageConfig, JoinRelation, RowStyle } from '@byteluck-fe/model-driven-core';
74
74
  import { initOptionAndDataSourceRules } from '@byteluck-fe/model-driven-core';
75
75
  import { getLocaleText } from '@byteluck-fe/locale-message';
76
- export var TriggerType;
77
- (function(TriggerType) {
76
+ /**
77
+ * @internal
78
+ */ export var TriggerType = /*#__PURE__*/ function(TriggerType) {
78
79
  TriggerType[TriggerType["CLICK_ROW"] = 1] = "CLICK_ROW";
79
80
  TriggerType[TriggerType["CLICK_CELL"] = 2] = "CLICK_CELL";
80
- })(TriggerType || (TriggerType = {}));
81
+ return TriggerType;
82
+ }({});
81
83
  /**
82
84
  * @internal
83
85
  */ var ListViewControlPropertyRuntimeRules = /*#__PURE__*/ function(PropertyRuntimeRules) {