@byteluck-fe/model-driven-controls 1.7.13 → 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.
|
@@ -89,6 +89,9 @@ var TitleControlPropertyRules = /*#__PURE__*/ function(PropertyRules) {
|
|
|
89
89
|
_this.dataBind = {
|
|
90
90
|
type: "any"
|
|
91
91
|
};
|
|
92
|
+
_this.config = {
|
|
93
|
+
type: "array"
|
|
94
|
+
};
|
|
92
95
|
if (props.config.includes(TitleConfigEnum.ShowBizKey)) {
|
|
93
96
|
_this.dataBind = {
|
|
94
97
|
type: "object",
|
|
@@ -127,13 +130,10 @@ var TitleProperty = /*#__PURE__*/ function(Property) {
|
|
|
127
130
|
TitleConfigEnum.ShowSubmitUser,
|
|
128
131
|
TitleConfigEnum.ShowSubmitDept,
|
|
129
132
|
TitleConfigEnum.ShowSubmitTime,
|
|
130
|
-
TitleConfigEnum.ShowCurrentApprovar
|
|
131
|
-
TitleConfigEnum.ShowTitle
|
|
133
|
+
TitleConfigEnum.ShowCurrentApprovar
|
|
132
134
|
];
|
|
133
135
|
var _props_caption, _ref;
|
|
134
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 : "";
|
|
135
|
-
var _props_position;
|
|
136
|
-
_this.position = (_props_position = props === null || props === void 0 ? void 0 : props.position) !== null && _props_position !== void 0 ? _props_position : "top";
|
|
137
137
|
return _this;
|
|
138
138
|
}
|
|
139
139
|
return TitleProperty;
|