@byteluck-fe/model-driven-controls 2.23.0-beta.21-zt → 2.23.0-beta.21-dx
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/baseControls/Text/designer.js +0 -4
- package/dist/esm/baseControls/Text/property.js +1 -3
- package/dist/esm/baseControls/Title/designer.js +4 -9
- package/dist/esm/baseControls/Title/property.js +5 -2
- package/dist/esm/columnControls/index.js +0 -1
- package/dist/esm/formControls/Department2/designer.js +1 -1
- package/dist/esm/formControls/Employee/property.js +3 -3
- package/dist/esm/formControls/Employee2/designer.js +1 -1
- package/dist/esm/formControls/Employee2/property.js +3 -3
- package/dist/esm/formControls/index.js +0 -1
- package/dist/index.umd.js +1 -1
- package/dist/types/baseControls/Text/property.d.ts +0 -1
- package/dist/types/baseControls/Title/property.d.ts +1 -0
- package/dist/types/columnControls/index.d.ts +0 -1
- package/dist/types/formControls/index.d.ts +0 -1
- package/dist/types/type.d.ts +2 -4
- package/package.json +5 -5
- package/dist/esm/columnControls/SignatureColumn/designer.js +0 -120
- package/dist/esm/columnControls/SignatureColumn/index.js +0 -11
- package/dist/esm/columnControls/SignatureColumn/property.js +0 -78
- package/dist/esm/columnControls/SignatureColumn/runtime.js +0 -93
- package/dist/esm/columnControls/SignatureColumn/types.js +0 -0
- package/dist/esm/formControls/HandSignature/designer.js +0 -157
- package/dist/esm/formControls/HandSignature/index.js +0 -11
- package/dist/esm/formControls/HandSignature/property.js +0 -132
- package/dist/esm/formControls/HandSignature/runtime.js +0 -114
- package/dist/esm/formControls/HandSignature/types.js +0 -0
- package/dist/types/columnControls/SignatureColumn/designer.d.ts +0 -14
- package/dist/types/columnControls/SignatureColumn/index.d.ts +0 -12
- package/dist/types/columnControls/SignatureColumn/property.d.ts +0 -6
- package/dist/types/columnControls/SignatureColumn/runtime.d.ts +0 -12
- package/dist/types/columnControls/SignatureColumn/types.d.ts +0 -0
- package/dist/types/formControls/HandSignature/designer.d.ts +0 -14
- package/dist/types/formControls/HandSignature/index.d.ts +0 -12
- package/dist/types/formControls/HandSignature/property.d.ts +0 -19
- package/dist/types/formControls/HandSignature/runtime.d.ts +0 -12
- package/dist/types/formControls/HandSignature/types.d.ts +0 -0
|
@@ -81,14 +81,12 @@ var TextProperty = /*#__PURE__*/ function(Property) {
|
|
|
81
81
|
_this = _call_super(this, TextProperty, [
|
|
82
82
|
props
|
|
83
83
|
]), // public dataBind: DataBind
|
|
84
|
-
_define_property(_this, "content", void 0), _define_property(_this, "fontSize", void 0), _define_property(_this, "color", void 0), _define_property(_this, "
|
|
84
|
+
_define_property(_this, "content", void 0), _define_property(_this, "fontSize", void 0), _define_property(_this, "color", void 0), _define_property(_this, "icon", void 0), _define_property(_this, "align", void 0), _define_property(_this, "showState", void 0);
|
|
85
85
|
var _props_fontSize;
|
|
86
86
|
// this.dataBind = new DataBind(props?.dataBind)
|
|
87
87
|
_this.fontSize = (_props_fontSize = props === null || props === void 0 ? void 0 : props.fontSize) !== null && _props_fontSize !== void 0 ? _props_fontSize : '14px';
|
|
88
88
|
var _props_color;
|
|
89
89
|
_this.color = (_props_color = props === null || props === void 0 ? void 0 : props.color) !== null && _props_color !== void 0 ? _props_color : '#646A73';
|
|
90
|
-
var _props_bgColor;
|
|
91
|
-
_this.bgColor = (_props_bgColor = props === null || props === void 0 ? void 0 : props.bgColor) !== null && _props_bgColor !== void 0 ? _props_bgColor : '#fff';
|
|
92
90
|
var _props_icon;
|
|
93
91
|
_this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : 'page-hint';
|
|
94
92
|
var _props_showState;
|
|
@@ -124,11 +124,6 @@ var TitleControl = /*#__PURE__*/ function(DesignerControl) {
|
|
|
124
124
|
}(DesignerControl);
|
|
125
125
|
_define_property(TitleControl, "controlFieldType", FieldTypes.AUTO_NUMBER);
|
|
126
126
|
_define_property(TitleControl, "setting", [
|
|
127
|
-
// {
|
|
128
|
-
// key: 'common-setting',
|
|
129
|
-
// visible: true,
|
|
130
|
-
// showItems: [COMMON_SETTING_TYPE.IS_HIDE],
|
|
131
|
-
// },
|
|
132
127
|
{
|
|
133
128
|
key: 'common-setting',
|
|
134
129
|
visible: true,
|
|
@@ -147,10 +142,10 @@ _define_property(TitleControl, "setting", [
|
|
|
147
142
|
key: 'title-setting',
|
|
148
143
|
visible: true
|
|
149
144
|
},
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
145
|
+
{
|
|
146
|
+
key: 'position',
|
|
147
|
+
visible: true
|
|
148
|
+
},
|
|
154
149
|
{
|
|
155
150
|
key: 'super-setting',
|
|
156
151
|
visible: true
|
|
@@ -130,7 +130,7 @@ var TitleProperty = /*#__PURE__*/ function(Property) {
|
|
|
130
130
|
var _this;
|
|
131
131
|
_this = _call_super(this, TitleProperty, [
|
|
132
132
|
props
|
|
133
|
-
]), _define_property(_this, "dataBind", void 0), _define_property(_this, "caption", void 0), _define_property(_this, "config", void 0);
|
|
133
|
+
]), _define_property(_this, "dataBind", void 0), _define_property(_this, "caption", void 0), _define_property(_this, "config", void 0), _define_property(_this, "position", void 0);
|
|
134
134
|
_this.dataBind = new DataBind(props === null || props === void 0 ? void 0 : props.dataBind);
|
|
135
135
|
var _props_config;
|
|
136
136
|
_this.config = (_props_config = props === null || props === void 0 ? void 0 : props.config) !== null && _props_config !== void 0 ? _props_config : [
|
|
@@ -138,10 +138,13 @@ var TitleProperty = /*#__PURE__*/ function(Property) {
|
|
|
138
138
|
TitleConfigEnum.ShowSubmitUser,
|
|
139
139
|
TitleConfigEnum.ShowSubmitDept,
|
|
140
140
|
TitleConfigEnum.ShowSubmitTime,
|
|
141
|
-
TitleConfigEnum.ShowCurrentApprovar
|
|
141
|
+
TitleConfigEnum.ShowCurrentApprovar,
|
|
142
|
+
TitleConfigEnum.ShowTitle
|
|
142
143
|
];
|
|
143
144
|
var _props_caption, _ref;
|
|
144
145
|
_this.caption = (_ref = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerTitleControl === null || DesignerTitleControl === void 0 ? void 0 : DesignerTitleControl.controlName) !== null && _ref !== void 0 ? _ref : '';
|
|
146
|
+
var _props_position;
|
|
147
|
+
_this.position = (_props_position = props === null || props === void 0 ? void 0 : props.position) !== null && _props_position !== void 0 ? _props_position : 'top';
|
|
145
148
|
return _this;
|
|
146
149
|
}
|
|
147
150
|
return TitleProperty;
|
|
@@ -8,7 +8,6 @@ export { default as DepartmentColumn } from './DepartmentColumn';
|
|
|
8
8
|
export { default as AutoNumberColumn } from './AutoNumberColumn';
|
|
9
9
|
export { default as FileColumn } from './FileColumn';
|
|
10
10
|
export { default as ImageColumn } from './ImageColumn';
|
|
11
|
-
export { default as SignatureColumn } from './SignatureColumn';
|
|
12
11
|
export { default as PeopleColumn } from './PeopleColumn';
|
|
13
12
|
export { default as LocationColumn } from './LocationColumn';
|
|
14
13
|
export { default as CustomColumn } from './CustomColumn';
|
|
@@ -97,8 +97,8 @@ var EmployeeProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
97
97
|
var _this;
|
|
98
98
|
_this = _call_super(this, EmployeeProperty, [
|
|
99
99
|
props
|
|
100
|
-
]), /**
|
|
101
|
-
* 展示类型: 默认形式 / 树状人员
|
|
100
|
+
]), /**
|
|
101
|
+
* 展示类型: 默认形式 / 树状人员
|
|
102
102
|
* */ _define_property(_this, "showType", void 0), _define_property(_this, "range", void 0 // 人员范围: 公司全员 / 指定人员
|
|
103
103
|
), // 选择指定人员时的范围
|
|
104
104
|
_define_property(_this, "rangeOptions", void 0), _define_property(_this, "multiple", void 0 // 是否多选
|
|
@@ -120,7 +120,7 @@ var EmployeeProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
120
120
|
var _props_caption;
|
|
121
121
|
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : EmployeeControl.controlName;
|
|
122
122
|
var _props_placeholder;
|
|
123
|
-
_this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : getLocaleText('CMD.pleaseEnterNameorEmail', null, '
|
|
123
|
+
_this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : getLocaleText('CMD.pleaseEnterNameorEmail', null, '请输入人员姓名或邮箱');
|
|
124
124
|
var _props_openMultistageFilling;
|
|
125
125
|
_this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
|
|
126
126
|
_this.multistageFilling = [];
|
|
@@ -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 // 是否多选
|
|
@@ -153,7 +153,7 @@ var Employee2Property = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
153
153
|
var _props_caption;
|
|
154
154
|
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : Employee2Control.controlName;
|
|
155
155
|
var _props_placeholder;
|
|
156
|
-
_this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : getLocaleText('CMD.pleaseEnterNameorEmail', null, '
|
|
156
|
+
_this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : getLocaleText('CMD.pleaseEnterNameorEmail', null, '请输入人员姓名或邮箱');
|
|
157
157
|
var _props_datasourceBind;
|
|
158
158
|
_this.datasourceBind = new SuperDataSourceBind((_props_datasourceBind = props === null || props === void 0 ? void 0 : props.datasourceBind) !== null && _props_datasourceBind !== void 0 ? _props_datasourceBind : {
|
|
159
159
|
attributes: Employee2Control.controlCustomAttributes
|
|
@@ -24,7 +24,6 @@ export { default as SelectRelation } from './SelectRelation';
|
|
|
24
24
|
export { default as SearchInput } from './SearchInput';
|
|
25
25
|
export { default as Tree } from './Tree';
|
|
26
26
|
export { default as Employee2 } from './Employee2';
|
|
27
|
-
export { default as HandSignature } from './HandSignature';
|
|
28
27
|
export { default as ElectronicSignature } from './ElectronicSignature';
|
|
29
28
|
export { default as WPS } from './WPS';
|
|
30
29
|
export { default as Department2 } from './Department2';
|