@byteluck-fe/model-driven-controls 2.23.0-beta.25-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.
- package/dist/esm/formControls/Employee2/designer.js +2 -1
- package/dist/esm/formControls/Employee2/property.js +3 -0
- package/dist/esm/formControls/HandSignature/property.js +3 -1
- package/dist/esm/framework.js +44 -30
- package/dist/esm/layoutControls/ListView/property.js +5 -3
- package/dist/index.umd.js +1 -1
- package/dist/types/formControls/Employee2/property.d.ts +1 -0
- package/package.json +4 -4
|
@@ -167,7 +167,8 @@ _define_property(Employee2Control, "setting", [
|
|
|
167
167
|
COMMON_SETTING_TYPE.REQUIRED,
|
|
168
168
|
COMMON_SETTING_TYPE.IS_HIDE,
|
|
169
169
|
COMMON_SETTING_TYPE.MULTIPLE,
|
|
170
|
-
COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP
|
|
170
|
+
COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,
|
|
171
|
+
COMMON_SETTING_TYPE.MAIN_DEPT_FLAG
|
|
171
172
|
]
|
|
172
173
|
},
|
|
173
174
|
{
|
|
@@ -137,6 +137,7 @@ var Employee2Property = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
137
137
|
), _define_property(_this, "externalType", void 0 // 外部组织:全部 'all' | 指定 'assign'
|
|
138
138
|
), _define_property(_this, "externalScope", void 0 //指定外部组织
|
|
139
139
|
), _define_property(_this, "openMultistageFilling", void 0 //是否开启填充
|
|
140
|
+
), _define_property(_this, "mainDeptFlag", void 0 //开启查询非主部门人员
|
|
140
141
|
);
|
|
141
142
|
var _props_showType;
|
|
142
143
|
_this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : 'default';
|
|
@@ -169,6 +170,8 @@ var Employee2Property = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
169
170
|
_this.externalScope = (_props_externalScope = props === null || props === void 0 ? void 0 : props.externalScope) !== null && _props_externalScope !== void 0 ? _props_externalScope : [];
|
|
170
171
|
var _props_openMultistageFilling;
|
|
171
172
|
_this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
|
|
173
|
+
var _props_mainDeptFlag;
|
|
174
|
+
_this.mainDeptFlag = (_props_mainDeptFlag = props === null || props === void 0 ? void 0 : props.mainDeptFlag) !== null && _props_mainDeptFlag !== void 0 ? _props_mainDeptFlag : false;
|
|
172
175
|
_this.multistageFilling = [];
|
|
173
176
|
if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
|
|
174
177
|
props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
|
|
@@ -92,7 +92,9 @@ var HandSignatureControlPropertyRuntimeRules = /*#__PURE__*/ function(BaseContro
|
|
|
92
92
|
_this = _call_super(this, HandSignatureControlPropertyRuntimeRules, [
|
|
93
93
|
props
|
|
94
94
|
]);
|
|
95
|
-
_this[0]
|
|
95
|
+
if (_this[0]) {
|
|
96
|
+
_this[0].type = 'array';
|
|
97
|
+
}
|
|
96
98
|
return _this;
|
|
97
99
|
}
|
|
98
100
|
return HandSignatureControlPropertyRuntimeRules;
|
package/dist/esm/framework.js
CHANGED
|
@@ -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
|
-
|
|
31
|
-
|
|
32
|
-
|
|
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
|
-
|
|
37
|
-
|
|
38
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
351
|
-
|
|
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
|
-
|
|
356
|
-
|
|
357
|
-
|
|
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
|
-
|
|
363
|
-
|
|
364
|
-
|
|
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
|
-
|
|
369
|
-
|
|
370
|
-
|
|
377
|
+
return DepartmentType;
|
|
378
|
+
}({});
|
|
379
|
+
/**
|
|
380
|
+
* 指定或者全部
|
|
381
|
+
*/ export var AssignType = /*#__PURE__*/ function(AssignType) {
|
|
371
382
|
AssignType["ALL"] = "all";
|
|
372
383
|
AssignType["ASSIGN"] = "assign";
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
384
|
+
return AssignType;
|
|
385
|
+
}({});
|
|
386
|
+
/**
|
|
387
|
+
* 内部组织类型
|
|
388
|
+
*/ export var InternalType = /*#__PURE__*/ function(InternalType) {
|
|
376
389
|
InternalType["ALL"] = "all";
|
|
377
390
|
InternalType["ADMIN"] = "admin";
|
|
378
|
-
|
|
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
|
-
|
|
77
|
-
|
|
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
|
-
|
|
81
|
+
return TriggerType;
|
|
82
|
+
}({});
|
|
81
83
|
/**
|
|
82
84
|
* @internal
|
|
83
85
|
*/ var ListViewControlPropertyRuntimeRules = /*#__PURE__*/ function(PropertyRuntimeRules) {
|