@byteluck-fe/model-driven-controls 1.7.14 → 1.7.17
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.
|
@@ -121,13 +121,11 @@ var TitleControl = /*#__PURE__*/ function(DesignerControl) {
|
|
|
121
121
|
}(DesignerControl);
|
|
122
122
|
TitleControl.controlFieldType = FieldTypes.AUTO_NUMBER;
|
|
123
123
|
TitleControl.setting = [
|
|
124
|
-
{
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
]
|
|
130
|
-
},
|
|
124
|
+
// {
|
|
125
|
+
// key: 'common-setting',
|
|
126
|
+
// visible: true,
|
|
127
|
+
// showItems: [COMMON_SETTING_TYPE.IS_HIDE],
|
|
128
|
+
// },
|
|
131
129
|
{
|
|
132
130
|
key: "caption",
|
|
133
131
|
showItems: [
|
|
@@ -139,10 +137,10 @@ TitleControl.setting = [
|
|
|
139
137
|
key: "title-setting",
|
|
140
138
|
visible: true
|
|
141
139
|
},
|
|
142
|
-
{
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
},
|
|
140
|
+
// {
|
|
141
|
+
// key: 'position',
|
|
142
|
+
// visible: true,
|
|
143
|
+
// },
|
|
146
144
|
{
|
|
147
145
|
key: "super-setting",
|
|
148
146
|
visible: true
|
|
@@ -111,14 +111,6 @@ var TitleControlPropertyRules = /*#__PURE__*/ function(PropertyRules) {
|
|
|
111
111
|
message: RulesMessage.getMessage("bizKeyNotBindFiled")
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
|
-
if (!props.isHide && props.config.length === 0) {
|
|
115
|
-
_this.config = {
|
|
116
|
-
type: "array",
|
|
117
|
-
min: 1,
|
|
118
|
-
required: true,
|
|
119
|
-
message: RulesMessage.getMessage("pleaseSelectOneField")
|
|
120
|
-
};
|
|
121
|
-
}
|
|
122
114
|
return _this;
|
|
123
115
|
}
|
|
124
116
|
return TitleControlPropertyRules;
|
|
@@ -138,13 +130,10 @@ var TitleProperty = /*#__PURE__*/ function(Property) {
|
|
|
138
130
|
TitleConfigEnum.ShowSubmitUser,
|
|
139
131
|
TitleConfigEnum.ShowSubmitDept,
|
|
140
132
|
TitleConfigEnum.ShowSubmitTime,
|
|
141
|
-
TitleConfigEnum.ShowCurrentApprovar
|
|
142
|
-
TitleConfigEnum.ShowTitle
|
|
133
|
+
TitleConfigEnum.ShowCurrentApprovar
|
|
143
134
|
];
|
|
144
135
|
var _props_caption, _ref;
|
|
145
136
|
_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";
|
|
148
137
|
return _this;
|
|
149
138
|
}
|
|
150
139
|
return TitleProperty;
|