@byteluck-fe/model-driven-controls 2.2.1-beta.7 → 2.2.1-beta.9
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/Checkbox/property.js +2 -0
- package/dist/esm/formControls/Department2/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/index.umd.js +1 -1
- package/dist/types/formControls/Checkbox/property.d.ts +1 -0
- package/dist/types/formControls/Department2/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/package.json +2 -2
|
@@ -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) {
|
|
@@ -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) {
|
|
@@ -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);
|