@byteluck-fe/model-driven-controls 2.2.2-beta.8 → 2.2.2
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/columnControls/TextColumn/designer.js +4 -0
- package/dist/esm/columnControls/VarcharColumn/designer.js +4 -0
- package/dist/esm/formControls/Checkbox/property.js +2 -0
- package/dist/esm/formControls/Department/property.js +2 -0
- package/dist/esm/formControls/Department2/property.js +2 -0
- package/dist/esm/formControls/Employee/property.js +2 -0
- package/dist/esm/formControls/Employee2/property.js +2 -0
- package/dist/esm/formControls/Radio/property.js +2 -0
- package/dist/esm/formControls/Select/property.js +2 -0
- package/dist/esm/formControls/SelectMultiple/property.js +2 -0
- package/dist/esm/formControls/SelectRelation/property.js +2 -0
- package/dist/esm/formControls/Tree/property.js +2 -0
- package/dist/esm/layoutControls/SubTableColumn/designer.js +1 -2
- package/dist/esm/layoutControls/SubTableColumn/property.js +1 -2
- package/dist/esm/layoutControls/Tab/designer.js +3 -0
- package/dist/esm/listControls/SubTable/designer.js +0 -8
- package/dist/esm/listControls/SubTable/property.js +1 -5
- package/dist/index.umd.js +1 -1
- package/dist/types/formControls/Checkbox/property.d.ts +1 -0
- package/dist/types/formControls/Department/property.d.ts +1 -0
- package/dist/types/formControls/Department2/property.d.ts +1 -0
- package/dist/types/formControls/Employee/property.d.ts +1 -0
- package/dist/types/formControls/Employee2/property.d.ts +1 -0
- package/dist/types/formControls/Radio/property.d.ts +1 -0
- package/dist/types/formControls/Select/property.d.ts +1 -0
- package/dist/types/formControls/SelectMultiple/property.d.ts +1 -0
- package/dist/types/formControls/SelectRelation/property.d.ts +1 -0
- package/dist/types/formControls/Tree/property.d.ts +1 -0
- package/dist/types/layoutControls/SubTableColumn/property.d.ts +1 -6
- package/dist/types/layoutControls/Tab/designer.d.ts +1 -0
- package/dist/types/listControls/SubTable/property.d.ts +1 -11
- package/package.json +5 -5
|
@@ -161,6 +161,8 @@ var CheckboxProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
161
161
|
_this.optionsFormat = (_props_optionsFormat = props === null || props === void 0 ? void 0 : props.optionsFormat) !== null && _props_optionsFormat !== void 0 ? _props_optionsFormat : "horizontal";
|
|
162
162
|
var _props_defaultShowOptions;
|
|
163
163
|
_this.defaultShowOptions = (_props_defaultShowOptions = props === null || props === void 0 ? void 0 : props.defaultShowOptions) !== null && _props_defaultShowOptions !== void 0 ? _props_defaultShowOptions : true;
|
|
164
|
+
var _props_openMultistageFilling;
|
|
165
|
+
_this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
|
|
164
166
|
_this.multistageFilling = [];
|
|
165
167
|
if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
|
|
166
168
|
props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
|
|
@@ -112,6 +112,8 @@ var DepartmentProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
112
112
|
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DepartmentControl.controlName;
|
|
113
113
|
var _props_placeholder;
|
|
114
114
|
_this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请选择部门";
|
|
115
|
+
var _props_openMultistageFilling;
|
|
116
|
+
_this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
|
|
115
117
|
_this.multistageFilling = [];
|
|
116
118
|
if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
|
|
117
119
|
props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
|
|
@@ -153,6 +153,8 @@ var Department2Property = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
153
153
|
_this.businessScope = (_props_businessScope = props === null || props === void 0 ? void 0 : props.businessScope) !== null && _props_businessScope !== void 0 ? _props_businessScope : [];
|
|
154
154
|
var _props_businessType;
|
|
155
155
|
_this.businessType = (_props_businessType = props === null || props === void 0 ? void 0 : props.businessType) !== null && _props_businessType !== void 0 ? _props_businessType : AssignType.ALL;
|
|
156
|
+
var _props_openMultistageFilling;
|
|
157
|
+
_this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
|
|
156
158
|
_this.multistageFilling = [];
|
|
157
159
|
if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
|
|
158
160
|
props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
|
|
@@ -108,6 +108,8 @@ var EmployeeProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
108
108
|
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : EmployeeControl.controlName;
|
|
109
109
|
var _props_placeholder;
|
|
110
110
|
_this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请输入人员姓名或邮箱";
|
|
111
|
+
var _props_openMultistageFilling;
|
|
112
|
+
_this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
|
|
111
113
|
_this.multistageFilling = [];
|
|
112
114
|
if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
|
|
113
115
|
props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
|
|
@@ -152,6 +152,8 @@ var Employee2Property = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
152
152
|
_this.externalType = (_props_externalType = props === null || props === void 0 ? void 0 : props.externalType) !== null && _props_externalType !== void 0 ? _props_externalType : AssignType.ALL;
|
|
153
153
|
var _props_externalScope;
|
|
154
154
|
_this.externalScope = (_props_externalScope = props === null || props === void 0 ? void 0 : props.externalScope) !== null && _props_externalScope !== void 0 ? _props_externalScope : [];
|
|
155
|
+
var _props_openMultistageFilling;
|
|
156
|
+
_this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
|
|
155
157
|
_this.multistageFilling = [];
|
|
156
158
|
if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
|
|
157
159
|
props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
|
|
@@ -123,6 +123,8 @@ var RadioProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
123
123
|
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : RadioControl.controlName;
|
|
124
124
|
var _props_defaultValue;
|
|
125
125
|
_this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : "";
|
|
126
|
+
var _props_openMultistageFilling;
|
|
127
|
+
_this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
|
|
126
128
|
_this.multistageFilling = [];
|
|
127
129
|
if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
|
|
128
130
|
props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
|
|
@@ -117,6 +117,8 @@ var SelectProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
117
117
|
_this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : "";
|
|
118
118
|
var _props_allowCopyOptions;
|
|
119
119
|
_this.allowCopyOptions = (_props_allowCopyOptions = props === null || props === void 0 ? void 0 : props.allowCopyOptions) !== null && _props_allowCopyOptions !== void 0 ? _props_allowCopyOptions : false;
|
|
120
|
+
var _props_openMultistageFilling;
|
|
121
|
+
_this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
|
|
120
122
|
_this.multistageFilling = [];
|
|
121
123
|
if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
|
|
122
124
|
props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
|
|
@@ -128,6 +128,8 @@ var SelectMultipleProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
128
128
|
_this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请选择";
|
|
129
129
|
var _props_defaultValue;
|
|
130
130
|
_this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [];
|
|
131
|
+
var _props_openMultistageFilling;
|
|
132
|
+
_this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
|
|
131
133
|
_this.multistageFilling = [];
|
|
132
134
|
if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
|
|
133
135
|
props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
|
|
@@ -127,6 +127,8 @@ var SelectRelationProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
127
127
|
_this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请选择";
|
|
128
128
|
var _props_defaultValue;
|
|
129
129
|
_this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : "";
|
|
130
|
+
var _props_openMultistageFilling;
|
|
131
|
+
_this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
|
|
130
132
|
_this.multistageFilling = [];
|
|
131
133
|
if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
|
|
132
134
|
props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
|
|
@@ -166,6 +166,8 @@ var TreeProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
166
166
|
_this.datasourceBind = new TreeDataSourceBind((_props_datasourceBind = props === null || props === void 0 ? void 0 : props.datasourceBind) !== null && _props_datasourceBind !== void 0 ? _props_datasourceBind : {
|
|
167
167
|
attributes: TreeControl.controlCustomAttributes
|
|
168
168
|
});
|
|
169
|
+
var _props_openMultistageFilling;
|
|
170
|
+
_this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
|
|
169
171
|
var _props_multistageFilling_map;
|
|
170
172
|
_this.multistageFilling = (_props_multistageFilling_map = props === null || props === void 0 ? void 0 : (_props_multistageFilling = props.multistageFilling) === null || _props_multistageFilling === void 0 ? void 0 : _props_multistageFilling.map(function(item) {
|
|
171
173
|
return new MultistageFillingItem(item);
|
|
@@ -69,7 +69,7 @@ function _createSuper(Derived) {
|
|
|
69
69
|
return _possibleConstructorReturn(this, result);
|
|
70
70
|
};
|
|
71
71
|
}
|
|
72
|
-
import { LayoutControlProperty, PropertyRules
|
|
72
|
+
import { LayoutControlProperty, PropertyRules } from "@byteluck-fe/model-driven-core";
|
|
73
73
|
import { RulesMessage } from "@byteluck-fe/model-driven-shared";
|
|
74
74
|
var SubTableColumnControlPropertyRules = /*#__PURE__*/ function(PropertyRules) {
|
|
75
75
|
"use strict";
|
|
@@ -123,7 +123,6 @@ var SubTableColumnControlProperty = /*#__PURE__*/ function(LayoutControlProperty
|
|
|
123
123
|
_this.captionTip = (_props_captionTip = props === null || props === void 0 ? void 0 : props.captionTip) !== null && _props_captionTip !== void 0 ? _props_captionTip : "";
|
|
124
124
|
var _props_isHideCaption;
|
|
125
125
|
_this.isHideCaption = (_props_isHideCaption = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _props_isHideCaption !== void 0 ? _props_isHideCaption : false;
|
|
126
|
-
_this.metaAutoWidth = new MetaAutoWidth(props === null || props === void 0 ? void 0 : props.metaAutoWidth);
|
|
127
126
|
return _this;
|
|
128
127
|
}
|
|
129
128
|
return SubTableColumnControlProperty;
|
|
@@ -200,14 +200,6 @@ SubTableControl.setting = [
|
|
|
200
200
|
key: "subtable-max-height",
|
|
201
201
|
visible: true
|
|
202
202
|
},
|
|
203
|
-
{
|
|
204
|
-
key: "mobile-show-type",
|
|
205
|
-
visible: true
|
|
206
|
-
},
|
|
207
|
-
{
|
|
208
|
-
key: "data-storage-description",
|
|
209
|
-
visible: true
|
|
210
|
-
},
|
|
211
203
|
{
|
|
212
204
|
key: "super-setting",
|
|
213
205
|
visible: true
|
|
@@ -70,7 +70,7 @@ function _createSuper(Derived) {
|
|
|
70
70
|
};
|
|
71
71
|
}
|
|
72
72
|
import SubTableControl from "./designer";
|
|
73
|
-
import { ListControlProperty, PropertyRules, PropertyRuntimeRules, DataSourceBind
|
|
73
|
+
import { ListControlProperty, PropertyRules, PropertyRuntimeRules, DataSourceBind } from "@byteluck-fe/model-driven-core";
|
|
74
74
|
import { RulesMessage } from "@byteluck-fe/model-driven-shared";
|
|
75
75
|
import { SUBTABLE_DEFAULT_MAX_HEIGHT } from "../../framework";
|
|
76
76
|
var SubTableControlPropertyRules = /*#__PURE__*/ function(PropertyRules) {
|
|
@@ -208,10 +208,6 @@ var SubTableControlProperty = /*#__PURE__*/ function(ListControlProperty) {
|
|
|
208
208
|
_this.isShowCaptionTip = (_props_isShowCaptionTip = props === null || props === void 0 ? void 0 : props.isShowCaptionTip) !== null && _props_isShowCaptionTip !== void 0 ? _props_isShowCaptionTip : false;
|
|
209
209
|
var _props_captionTip;
|
|
210
210
|
_this.captionTip = (_props_captionTip = props === null || props === void 0 ? void 0 : props.captionTip) !== null && _props_captionTip !== void 0 ? _props_captionTip : "";
|
|
211
|
-
var _props_mobileShowType;
|
|
212
|
-
_this.mobileShowType = (_props_mobileShowType = props === null || props === void 0 ? void 0 : props.mobileShowType) !== null && _props_mobileShowType !== void 0 ? _props_mobileShowType : "tile";
|
|
213
|
-
var _props_dataStorageDoc;
|
|
214
|
-
_this.dataStorageDoc = (_props_dataStorageDoc = props === null || props === void 0 ? void 0 : props.dataStorageDoc) !== null && _props_dataStorageDoc !== void 0 ? _props_dataStorageDoc : new DataStorageDoc();
|
|
215
211
|
return _this;
|
|
216
212
|
}
|
|
217
213
|
return SubTableControlProperty;
|