@byteluck-fe/model-driven-controls 1.5.0-beta.9 → 1.7.0
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/Select/designer.js +2 -1
- package/dist/esm/formControls/Select/property.js +2 -0
- package/dist/esm/formControls/Textarea/designer.js +4 -0
- package/dist/esm/formControls/Textarea/property.js +2 -0
- package/dist/esm/formControls/WPS/designer.js +2 -1
- package/dist/esm/formControls/WPS/property.js +2 -0
- package/dist/esm/framework.js +1 -0
- package/dist/esm/layoutControls/ListView/designer.js +2 -1
- package/dist/index.umd.js +1 -1
- package/dist/types/baseControls/CreateFormListButton/property.d.ts +1 -1
- package/dist/types/formControls/Select/property.d.ts +1 -0
- package/dist/types/formControls/Textarea/property.d.ts +1 -0
- package/dist/types/formControls/WPS/property.d.ts +1 -0
- package/dist/types/framework.d.ts +2 -1
- package/dist/types/listControls/SubTable/property.d.ts +1 -1
- package/package.json +5 -5
|
@@ -157,7 +157,8 @@ SelectControl.setting = [
|
|
|
157
157
|
COMMON_SETTING_TYPE.IS_HIDE,
|
|
158
158
|
COMMON_SETTING_TYPE.IS_HIDE_CAPTION,
|
|
159
159
|
COMMON_SETTING_TYPE.DEFAULT_SHOW_OPTIONS,
|
|
160
|
-
COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,
|
|
160
|
+
COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,
|
|
161
|
+
COMMON_SETTING_TYPE.ALLOW_COPY_OPTIONS,
|
|
161
162
|
]
|
|
162
163
|
},
|
|
163
164
|
{
|
|
@@ -115,6 +115,8 @@ var SelectProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
115
115
|
_this.placeholder = (ref4 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && ref4 !== void 0 ? ref4 : "请选择";
|
|
116
116
|
var ref5;
|
|
117
117
|
_this.defaultValue = (ref5 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && ref5 !== void 0 ? ref5 : "";
|
|
118
|
+
var ref6;
|
|
119
|
+
_this.allowCopyOptions = (ref6 = props === null || props === void 0 ? void 0 : props.allowCopyOptions) !== null && ref6 !== void 0 ? ref6 : false;
|
|
118
120
|
_this.multistageFilling = [];
|
|
119
121
|
if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
|
|
120
122
|
props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
|
|
@@ -147,6 +147,8 @@ var TextareaProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
147
147
|
_this.caption = (ref3 = props === null || props === void 0 ? void 0 : props.caption) !== null && ref3 !== void 0 ? ref3 : TextareaControl.controlName;
|
|
148
148
|
var ref4;
|
|
149
149
|
_this.placeholder = (ref4 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && ref4 !== void 0 ? ref4 : "请输入";
|
|
150
|
+
var ref5;
|
|
151
|
+
_this.lineEllipsis = (ref5 = props === null || props === void 0 ? void 0 : props.lineEllipsis) !== null && ref5 !== void 0 ? ref5 : 4;
|
|
150
152
|
return _this;
|
|
151
153
|
}
|
|
152
154
|
return TextareaProperty;
|
|
@@ -158,7 +158,8 @@ WPSControl.setting = [
|
|
|
158
158
|
showItems: [
|
|
159
159
|
COMMON_SETTING_TYPE.REQUIRED,
|
|
160
160
|
COMMON_SETTING_TYPE.IS_HIDE,
|
|
161
|
-
COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,
|
|
161
|
+
COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,
|
|
162
|
+
COMMON_SETTING_TYPE.REVISIONS_MODE,
|
|
162
163
|
]
|
|
163
164
|
},
|
|
164
165
|
{
|
|
@@ -170,6 +170,8 @@ var WPSProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
170
170
|
var ref10;
|
|
171
171
|
_this.defaultValue = (ref10 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && ref10 !== void 0 ? ref10 : [];
|
|
172
172
|
_this.wpsSetting = new WPSSetting(props === null || props === void 0 ? void 0 : props.wpsSetting);
|
|
173
|
+
var ref11;
|
|
174
|
+
_this.revisionsMode = (ref11 = props === null || props === void 0 ? void 0 : props.revisionsMode) !== null && ref11 !== void 0 ? ref11 : false;
|
|
173
175
|
return _this;
|
|
174
176
|
}
|
|
175
177
|
return WPSProperty;
|
package/dist/esm/framework.js
CHANGED
|
@@ -195,6 +195,7 @@ export var OrganizeType;
|
|
|
195
195
|
OrganizeType["ALL"] = "ALL";
|
|
196
196
|
OrganizeType["INTERNAL"] = "INTERNAL";
|
|
197
197
|
OrganizeType["EXTERNAL"] = "EXTERNAL";
|
|
198
|
+
OrganizeType["INTERNAL_EXTERNAL"] = "INTERNAL_EXTERNAL";
|
|
198
199
|
})(OrganizeType || (OrganizeType = {}));
|
|
199
200
|
export var DepartmentType;
|
|
200
201
|
(function(DepartmentType) {
|