@byteluck-fe/model-driven-controls 1.7.0 → 1.7.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/baseControls/BatchPrintListButton/designer.js +1 -1
- package/dist/esm/baseControls/BatchPrintListButton/property.js +10 -10
- package/dist/esm/baseControls/BatchPrintRecordListButton/designer.js +1 -1
- package/dist/esm/baseControls/BatchPrintRecordListButton/property.js +4 -4
- package/dist/esm/baseControls/BatchSubmissionListButton/designer.js +1 -1
- package/dist/esm/baseControls/BatchSubmissionListButton/property.js +13 -13
- package/dist/esm/baseControls/Button/designer.js +1 -1
- package/dist/esm/baseControls/Button/property.js +16 -16
- package/dist/esm/baseControls/CreateFormListButton/designer.js +1 -1
- package/dist/esm/baseControls/CreateFormListButton/property.js +8 -8
- package/dist/esm/baseControls/Dashboard/designer.js +3 -3
- package/dist/esm/baseControls/Dashboard/property.js +12 -12
- package/dist/esm/baseControls/Divider/designer.js +1 -1
- package/dist/esm/baseControls/Divider/property.js +4 -4
- package/dist/esm/baseControls/ExportListButton/designer.js +1 -1
- package/dist/esm/baseControls/ExportListButton/property.js +9 -9
- package/dist/esm/baseControls/ExportRecordListButton/designer.js +1 -1
- package/dist/esm/baseControls/ExportRecordListButton/property.js +4 -4
- package/dist/esm/baseControls/FormSelectButton/designer.js +1 -1
- package/dist/esm/baseControls/FormSelectButton/property.js +6 -6
- package/dist/esm/baseControls/ImportRecordListButton/designer.js +1 -1
- package/dist/esm/baseControls/ImportRecordListButton/property.js +8 -8
- package/dist/esm/baseControls/InvoiceCheckButton/designer.js +3 -3
- package/dist/esm/baseControls/InvoiceCheckButton/property.js +20 -20
- package/dist/esm/baseControls/Link/designer.js +1 -1
- package/dist/esm/baseControls/Link/property.js +6 -6
- package/dist/esm/baseControls/ListSelectButton/designer.js +1 -1
- package/dist/esm/baseControls/ListSelectButton/property.js +4 -4
- package/dist/esm/baseControls/ListViewSelect/designer.js +1 -1
- package/dist/esm/baseControls/ListViewSelect/property.js +6 -6
- package/dist/esm/baseControls/SubmissionRecordListButton/designer.js +1 -1
- package/dist/esm/baseControls/SubmissionRecordListButton/property.js +4 -4
- package/dist/esm/baseControls/Text/designer.js +1 -1
- package/dist/esm/baseControls/Text/property.js +10 -10
- package/dist/esm/baseControls/TextOcrButton/designer.js +3 -3
- package/dist/esm/baseControls/TextOcrButton/property.js +20 -20
- package/dist/esm/baseControls/Title/designer.js +3 -2
- package/dist/esm/baseControls/Title/property.js +7 -5
- package/dist/esm/columnControls/ArrayColumn/designer.js +1 -1
- package/dist/esm/columnControls/ArrayColumn/property.js +6 -6
- package/dist/esm/columnControls/AutoNumberColumn/designer.js +1 -1
- package/dist/esm/columnControls/AutoNumberColumn/property.js +2 -2
- package/dist/esm/columnControls/CustomColumn/designer.js +2 -2
- package/dist/esm/columnControls/CustomColumn/property.js +4 -4
- package/dist/esm/columnControls/DecimalColumn/designer.js +3 -3
- package/dist/esm/columnControls/DecimalColumn/property.js +12 -12
- package/dist/esm/columnControls/DepartmentColumn/designer.js +1 -1
- package/dist/esm/columnControls/DepartmentColumn/property.js +4 -4
- package/dist/esm/columnControls/EmployeeColumn/designer.js +2 -2
- package/dist/esm/columnControls/EmployeeColumn/property.js +4 -4
- package/dist/esm/columnControls/FileColumn/designer.js +1 -1
- package/dist/esm/columnControls/FileColumn/property.js +2 -2
- package/dist/esm/columnControls/ImageColumn/designer.js +1 -1
- package/dist/esm/columnControls/ImageColumn/property.js +2 -2
- package/dist/esm/columnControls/LocationColumn/designer.js +1 -1
- package/dist/esm/columnControls/LocationColumn/property.js +2 -2
- package/dist/esm/columnControls/OperationColumn/designer.js +2 -2
- package/dist/esm/columnControls/OperationColumn/property.js +14 -14
- package/dist/esm/columnControls/OrderColumn/property.js +8 -8
- package/dist/esm/columnControls/PeopleColumn/designer.js +1 -1
- package/dist/esm/columnControls/PeopleColumn/property.js +2 -2
- package/dist/esm/columnControls/TextColumn/designer.js +1 -1
- package/dist/esm/columnControls/TextColumn/property.js +6 -6
- package/dist/esm/columnControls/TimescopeColumn/designer.js +1 -1
- package/dist/esm/columnControls/TimescopeColumn/property.js +4 -4
- package/dist/esm/columnControls/TimestampColumn/designer.js +1 -1
- package/dist/esm/columnControls/TimestampColumn/property.js +4 -4
- package/dist/esm/columnControls/VarcharColumn/designer.js +1 -1
- package/dist/esm/columnControls/VarcharColumn/property.js +8 -8
- package/dist/esm/formControls/Address/designer.js +3 -3
- package/dist/esm/formControls/Address/property.js +10 -10
- package/dist/esm/formControls/Amount/designer.js +5 -5
- package/dist/esm/formControls/Amount/property.js +24 -24
- package/dist/esm/formControls/Attachment/designer.js +3 -3
- package/dist/esm/formControls/Attachment/property.js +16 -16
- package/dist/esm/formControls/AutoNumber/designer.js +3 -3
- package/dist/esm/formControls/AutoNumber/property.js +6 -6
- package/dist/esm/formControls/Calc/designer.js +5 -5
- package/dist/esm/formControls/Calc/property.js +15 -15
- package/dist/esm/formControls/Checkbox/designer.js +3 -3
- package/dist/esm/formControls/Checkbox/property.js +27 -27
- package/dist/esm/formControls/DatePicker/designer.js +3 -3
- package/dist/esm/formControls/DatePicker/property.js +18 -18
- package/dist/esm/formControls/DateRange/designer.js +3 -3
- package/dist/esm/formControls/DateRange/property.js +18 -18
- package/dist/esm/formControls/Department/designer.js +4 -4
- package/dist/esm/formControls/Department/property.js +22 -22
- package/dist/esm/formControls/Department2/designer.js +5 -5
- package/dist/esm/formControls/Department2/property.js +31 -31
- package/dist/esm/formControls/ElectronicSignature/designer.js +2 -2
- package/dist/esm/formControls/ElectronicSignature/property.js +12 -12
- package/dist/esm/formControls/Employee/designer.js +3 -3
- package/dist/esm/formControls/Employee/property.js +18 -18
- package/dist/esm/formControls/Employee2/designer.js +4 -4
- package/dist/esm/formControls/Employee2/property.js +29 -29
- package/dist/esm/formControls/Image/designer.js +8 -8
- package/dist/esm/formControls/Image/runtime.js +7 -7
- package/dist/esm/formControls/Input/designer.js +3 -3
- package/dist/esm/formControls/Input/property.js +15 -15
- package/dist/esm/formControls/Number/designer.js +5 -5
- package/dist/esm/formControls/Number/property.js +27 -27
- package/dist/esm/formControls/Radio/designer.js +3 -3
- package/dist/esm/formControls/Radio/property.js +23 -23
- package/dist/esm/formControls/RichText/designer.js +3 -3
- package/dist/esm/formControls/RichText/property.js +10 -10
- package/dist/esm/formControls/Score/designer.js +5 -5
- package/dist/esm/formControls/Score/property.js +15 -15
- package/dist/esm/formControls/SearchDateRange/designer.js +3 -3
- package/dist/esm/formControls/SearchDateRange/property.js +20 -20
- package/dist/esm/formControls/SearchInput/designer.js +2 -2
- package/dist/esm/formControls/SearchNumberRange/designer.js +3 -3
- package/dist/esm/formControls/SearchNumberRange/property.js +12 -12
- package/dist/esm/formControls/Select/designer.js +3 -3
- package/dist/esm/formControls/Select/property.js +17 -17
- package/dist/esm/formControls/SelectMultiple/designer.js +3 -3
- package/dist/esm/formControls/SelectMultiple/property.js +15 -15
- package/dist/esm/formControls/SelectRelation/designer.js +3 -3
- package/dist/esm/formControls/SelectRelation/property.js +16 -16
- package/dist/esm/formControls/Textarea/designer.js +3 -3
- package/dist/esm/formControls/Textarea/property.js +12 -12
- package/dist/esm/formControls/Tree/designer.js +4 -4
- package/dist/esm/formControls/Tree/property.js +28 -28
- package/dist/esm/formControls/VueFormItem/designer.js +3 -3
- package/dist/esm/formControls/VueFormItem/property.js +10 -10
- package/dist/esm/formControls/WPS/designer.js +4 -4
- package/dist/esm/formControls/WPS/property.js +24 -24
- package/dist/esm/framework.js +70 -70
- package/dist/esm/layoutControls/AdvancedContainer/Setting.js +3 -3
- package/dist/esm/layoutControls/CardGroup/designer.js +1 -1
- package/dist/esm/layoutControls/CardGroup/property.js +6 -6
- package/dist/esm/layoutControls/Col/designer.js +1 -1
- package/dist/esm/layoutControls/Col/property.js +4 -4
- package/dist/esm/layoutControls/DataView/property.js +12 -12
- package/dist/esm/layoutControls/GridTableColumn/designer.js +2 -2
- package/dist/esm/layoutControls/GridTableColumn/property.js +20 -20
- package/dist/esm/layoutControls/ListView/designer.js +2 -2
- package/dist/esm/layoutControls/ListView/property.js +16 -16
- package/dist/esm/layoutControls/Page/Setting.js +4 -4
- package/dist/esm/layoutControls/Page/property.js +2 -2
- package/dist/esm/layoutControls/Position/property.js +8 -8
- package/dist/esm/layoutControls/PositioningContainer/Setting.js +3 -3
- package/dist/esm/layoutControls/Row/designer.js +1 -1
- package/dist/esm/layoutControls/Row/property.js +4 -4
- package/dist/esm/layoutControls/SubTableColumn/designer.js +2 -2
- package/dist/esm/layoutControls/SubTableColumn/property.js +12 -12
- package/dist/esm/layoutControls/SubTableRow/designer.js +2 -2
- package/dist/esm/layoutControls/Tab/designer.js +3 -3
- package/dist/esm/layoutControls/TabPane/designer.js +1 -1
- package/dist/esm/layoutControls/TabPane/property.js +2 -2
- package/dist/esm/layoutControls/Toolbox/designer.js +2 -2
- package/dist/esm/layoutControls/Toolbox/runtime.js +1 -1
- package/dist/esm/listControls/GridTable/designer.js +118 -18
- package/dist/esm/listControls/GridTable/property.js +8 -8
- package/dist/esm/listControls/SubTable/designer.js +7 -7
- package/dist/esm/listControls/SubTable/property.js +43 -43
- package/dist/esm/searchControls/SimpleSearch/designer.js +1 -1
- package/dist/esm/searchControls/SimpleSearch/property.js +14 -14
- package/dist/esm/searchControls/SimpleSearch/runtime.js +2 -2
- package/dist/index.umd.js +1 -1
- package/dist/types/baseControls/Title/property.d.ts +1 -0
- package/dist/types/columnControls/CustomColumn/designer.d.ts +1 -1
- package/dist/types/layoutControls/AdvancedContainer/Setting.d.ts +1 -1
- package/dist/types/layoutControls/Page/Setting.d.ts +1 -1
- package/dist/types/layoutControls/Position/Setting.d.ts +1 -1
- package/dist/types/layoutControls/PositioningContainer/Setting.d.ts +1 -1
- package/package.json +5 -5
|
@@ -79,12 +79,12 @@ var TextColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty) {
|
|
|
79
79
|
_classCallCheck(this, TextColumnControlProperty);
|
|
80
80
|
var _this;
|
|
81
81
|
_this = _super.call(this, props);
|
|
82
|
-
var
|
|
83
|
-
_this.escapeHTML = (
|
|
84
|
-
var
|
|
85
|
-
_this.caption = (
|
|
86
|
-
var
|
|
87
|
-
_this.lineEllipsis = (
|
|
82
|
+
var _props_escapeHTML;
|
|
83
|
+
_this.escapeHTML = (_props_escapeHTML = props === null || props === void 0 ? void 0 : props.escapeHTML) !== null && _props_escapeHTML !== void 0 ? _props_escapeHTML : true;
|
|
84
|
+
var _props_caption;
|
|
85
|
+
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerTextColumnControl.controlName;
|
|
86
|
+
var _props_lineEllipsis;
|
|
87
|
+
_this.lineEllipsis = (_props_lineEllipsis = props === null || props === void 0 ? void 0 : props.lineEllipsis) !== null && _props_lineEllipsis !== void 0 ? _props_lineEllipsis : 1;
|
|
88
88
|
return _this;
|
|
89
89
|
}
|
|
90
90
|
return TextColumnControlProperty;
|
|
@@ -80,10 +80,10 @@ var TimescopeColumnControlProperty = /*#__PURE__*/ function(ColumnControlPropert
|
|
|
80
80
|
_classCallCheck(this, TimescopeColumnControlProperty);
|
|
81
81
|
var _this;
|
|
82
82
|
_this = _super.call(this, props);
|
|
83
|
-
var
|
|
84
|
-
_this.dateType = (
|
|
85
|
-
var
|
|
86
|
-
_this.caption = (
|
|
83
|
+
var _props_dateType;
|
|
84
|
+
_this.dateType = (_props_dateType = props === null || props === void 0 ? void 0 : props.dateType) !== null && _props_dateType !== void 0 ? _props_dateType : DateType.DATE;
|
|
85
|
+
var _props_caption;
|
|
86
|
+
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerTimescopeColumnControl.controlName;
|
|
87
87
|
return _this;
|
|
88
88
|
}
|
|
89
89
|
return TimescopeColumnControlProperty;
|
|
@@ -80,10 +80,10 @@ var TimestampColumnControlProperty = /*#__PURE__*/ function(ColumnControlPropert
|
|
|
80
80
|
_classCallCheck(this, TimestampColumnControlProperty);
|
|
81
81
|
var _this;
|
|
82
82
|
_this = _super.call(this, props);
|
|
83
|
-
var
|
|
84
|
-
_this.dateType = (
|
|
85
|
-
var
|
|
86
|
-
_this.caption = (
|
|
83
|
+
var _props_dateType;
|
|
84
|
+
_this.dateType = (_props_dateType = props === null || props === void 0 ? void 0 : props.dateType) !== null && _props_dateType !== void 0 ? _props_dateType : DateType.DATE;
|
|
85
|
+
var _props_caption;
|
|
86
|
+
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerTimestampColumnControl.controlName;
|
|
87
87
|
return _this;
|
|
88
88
|
}
|
|
89
89
|
return TimestampColumnControlProperty;
|
|
@@ -89,17 +89,17 @@ var VarcharColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty)
|
|
|
89
89
|
_classCallCheck(this, VarcharColumnControlProperty);
|
|
90
90
|
var _this;
|
|
91
91
|
_this = _super.call(this, props);
|
|
92
|
-
var
|
|
93
|
-
_this.caption = (
|
|
94
|
-
var
|
|
95
|
-
_this.optionConfig = (
|
|
92
|
+
var _props_caption;
|
|
93
|
+
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerVarcharColumnControl.controlName;
|
|
94
|
+
var _props_optionConfig;
|
|
95
|
+
_this.optionConfig = (_props_optionConfig = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _props_optionConfig !== void 0 ? _props_optionConfig : "none";
|
|
96
96
|
_this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
|
|
97
|
-
var
|
|
98
|
-
_this.options = initOptions((
|
|
97
|
+
var _props_options;
|
|
98
|
+
_this.options = initOptions((_props_options = props === null || props === void 0 ? void 0 : props.options) !== null && _props_options !== void 0 ? _props_options : [
|
|
99
99
|
{}
|
|
100
100
|
]);
|
|
101
|
-
var
|
|
102
|
-
_this.lineEllipsis = (
|
|
101
|
+
var _props_lineEllipsis;
|
|
102
|
+
_this.lineEllipsis = (_props_lineEllipsis = props === null || props === void 0 ? void 0 : props.lineEllipsis) !== null && _props_lineEllipsis !== void 0 ? _props_lineEllipsis : 1;
|
|
103
103
|
return _this;
|
|
104
104
|
}
|
|
105
105
|
return VarcharColumnControlProperty;
|
|
@@ -129,7 +129,7 @@ AddressControl.setting = [
|
|
|
129
129
|
key: "caption",
|
|
130
130
|
showItems: [
|
|
131
131
|
COMMON_SETTING_TYPE.CAPTION,
|
|
132
|
-
COMMON_SETTING_TYPE.IS_HIDE_CAPTION
|
|
132
|
+
COMMON_SETTING_TYPE.IS_HIDE_CAPTION
|
|
133
133
|
],
|
|
134
134
|
visible: true
|
|
135
135
|
},
|
|
@@ -151,7 +151,7 @@ AddressControl.setting = [
|
|
|
151
151
|
showItems: [
|
|
152
152
|
COMMON_SETTING_TYPE.REQUIRED,
|
|
153
153
|
COMMON_SETTING_TYPE.IS_HIDE,
|
|
154
|
-
COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP
|
|
154
|
+
COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP
|
|
155
155
|
]
|
|
156
156
|
},
|
|
157
157
|
{
|
|
@@ -161,7 +161,7 @@ AddressControl.setting = [
|
|
|
161
161
|
{
|
|
162
162
|
key: "super-setting",
|
|
163
163
|
visible: true
|
|
164
|
-
}
|
|
164
|
+
}
|
|
165
165
|
];
|
|
166
166
|
export default AddressControl;
|
|
167
167
|
export { AddressControl as DesignerAddressControl };
|
|
@@ -120,20 +120,20 @@ var AddressProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
120
120
|
_classCallCheck(this, AddressProperty);
|
|
121
121
|
var _this;
|
|
122
122
|
_this = _super.call(this, props);
|
|
123
|
-
var
|
|
124
|
-
_this.caption = (
|
|
125
|
-
var
|
|
126
|
-
_this.defaultValueType = (
|
|
127
|
-
var
|
|
128
|
-
_this.addressType = (
|
|
123
|
+
var _props_caption;
|
|
124
|
+
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : AddressControl.controlName;
|
|
125
|
+
var _props_defaultValueType;
|
|
126
|
+
_this.defaultValueType = (_props_defaultValueType = props === null || props === void 0 ? void 0 : props.defaultValueType) !== null && _props_defaultValueType !== void 0 ? _props_defaultValueType : "default";
|
|
127
|
+
var _props_addressType;
|
|
128
|
+
_this.addressType = (_props_addressType = props === null || props === void 0 ? void 0 : props.addressType) !== null && _props_addressType !== void 0 ? _props_addressType : [
|
|
129
129
|
"province",
|
|
130
130
|
"city",
|
|
131
131
|
"district"
|
|
132
132
|
];
|
|
133
|
-
var
|
|
134
|
-
_this.defaultValue = new AddressValue((
|
|
135
|
-
var
|
|
136
|
-
_this.placeholder = (
|
|
133
|
+
var _props_defaultValue;
|
|
134
|
+
_this.defaultValue = new AddressValue((_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : {});
|
|
135
|
+
var _props_placeholder;
|
|
136
|
+
_this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请选择地址";
|
|
137
137
|
return _this;
|
|
138
138
|
}
|
|
139
139
|
return AddressProperty;
|
|
@@ -124,7 +124,7 @@ var AmountControl = /*#__PURE__*/ function(DesignerFormControl) {
|
|
|
124
124
|
_proto.toDataBindModel = function toDataBindModel(parentId) {
|
|
125
125
|
var dataBindModel = _get(_getPrototypeOf(AmountControl.prototype), "toDataBindModel", this).call(this, parentId);
|
|
126
126
|
if (dataBindModel && !Array.isArray(dataBindModel)) {
|
|
127
|
-
var
|
|
127
|
+
var _this_props = this.props, precision = _this_props.precision, micrometer = _this_props.micrometer;
|
|
128
128
|
precision !== "" && (dataBindModel.props.precision = precision);
|
|
129
129
|
dataBindModel.props.micrometer = micrometer;
|
|
130
130
|
}
|
|
@@ -168,7 +168,7 @@ AmountControl.setting = [
|
|
|
168
168
|
key: "caption",
|
|
169
169
|
showItems: [
|
|
170
170
|
COMMON_SETTING_TYPE.CAPTION,
|
|
171
|
-
COMMON_SETTING_TYPE.IS_HIDE_CAPTION
|
|
171
|
+
COMMON_SETTING_TYPE.IS_HIDE_CAPTION
|
|
172
172
|
],
|
|
173
173
|
visible: true
|
|
174
174
|
},
|
|
@@ -192,7 +192,7 @@ AmountControl.setting = [
|
|
|
192
192
|
COMMON_SETTING_TYPE.IS_HIDE,
|
|
193
193
|
COMMON_SETTING_TYPE.IS_HIDE_CAPTION,
|
|
194
194
|
COMMON_SETTING_TYPE.SUBMIT_SELECT_CURRENCY,
|
|
195
|
-
COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP
|
|
195
|
+
COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP
|
|
196
196
|
]
|
|
197
197
|
},
|
|
198
198
|
{
|
|
@@ -212,14 +212,14 @@ AmountControl.setting = [
|
|
|
212
212
|
showItems: [
|
|
213
213
|
COMMON_SETTING_TYPE.SHOW_UPPER_CASE,
|
|
214
214
|
COMMON_SETTING_TYPE.MICROMETER,
|
|
215
|
-
COMMON_SETTING_TYPE.PRECISION
|
|
215
|
+
COMMON_SETTING_TYPE.PRECISION
|
|
216
216
|
],
|
|
217
217
|
visible: true
|
|
218
218
|
},
|
|
219
219
|
{
|
|
220
220
|
key: "super-setting",
|
|
221
221
|
visible: true
|
|
222
|
-
}
|
|
222
|
+
}
|
|
223
223
|
];
|
|
224
224
|
export default AmountControl;
|
|
225
225
|
export { AmountControl as DesignerAmountControl };
|
|
@@ -141,7 +141,7 @@ var AmountPropertyRules = /*#__PURE__*/ function(OptionAndDataSourcePropertyRule
|
|
|
141
141
|
min: undefined,
|
|
142
142
|
max: undefined,
|
|
143
143
|
message: RulesMessage.getMessage("pleaseEnterNumberRange")
|
|
144
|
-
}
|
|
144
|
+
}
|
|
145
145
|
]
|
|
146
146
|
}
|
|
147
147
|
};
|
|
@@ -193,7 +193,7 @@ var AmountPropertyRuntimeRules = /*#__PURE__*/ function(BaseControlPropertyRunti
|
|
|
193
193
|
max: amountMax,
|
|
194
194
|
min: amountMin
|
|
195
195
|
})
|
|
196
|
-
}
|
|
196
|
+
}
|
|
197
197
|
],
|
|
198
198
|
currency: {
|
|
199
199
|
type: "string"
|
|
@@ -212,39 +212,39 @@ var AmountProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
212
212
|
_classCallCheck(this, AmountProperty);
|
|
213
213
|
var _this;
|
|
214
214
|
_this = _super.call(this, props);
|
|
215
|
-
var
|
|
216
|
-
_this.rangeMin = (
|
|
217
|
-
var
|
|
218
|
-
_this.rangeMax = (
|
|
219
|
-
var
|
|
220
|
-
_this.optionConfig = (
|
|
221
|
-
var
|
|
222
|
-
_this.micrometer = (
|
|
223
|
-
var
|
|
224
|
-
_this.precision = (
|
|
215
|
+
var _props_rangeMin;
|
|
216
|
+
_this.rangeMin = (_props_rangeMin = props === null || props === void 0 ? void 0 : props.rangeMin) !== null && _props_rangeMin !== void 0 ? _props_rangeMin : "";
|
|
217
|
+
var _props_rangeMax;
|
|
218
|
+
_this.rangeMax = (_props_rangeMax = props === null || props === void 0 ? void 0 : props.rangeMax) !== null && _props_rangeMax !== void 0 ? _props_rangeMax : "";
|
|
219
|
+
var _props_optionConfig;
|
|
220
|
+
_this.optionConfig = (_props_optionConfig = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _props_optionConfig !== void 0 ? _props_optionConfig : "datasource";
|
|
221
|
+
var _props_micrometer;
|
|
222
|
+
_this.micrometer = (_props_micrometer = props === null || props === void 0 ? void 0 : props.micrometer) !== null && _props_micrometer !== void 0 ? _props_micrometer : false;
|
|
223
|
+
var _props_precision;
|
|
224
|
+
_this.precision = (_props_precision = props === null || props === void 0 ? void 0 : props.precision) !== null && _props_precision !== void 0 ? _props_precision : 2;
|
|
225
225
|
_this.dataBind = new AmountDataBind(props === null || props === void 0 ? void 0 : props.dataBind);
|
|
226
|
-
var
|
|
227
|
-
_this.datasourceBind = new DataSourceBind((
|
|
226
|
+
var _props_datasourceBind;
|
|
227
|
+
_this.datasourceBind = new DataSourceBind((_props_datasourceBind = props === null || props === void 0 ? void 0 : props.datasourceBind) !== null && _props_datasourceBind !== void 0 ? _props_datasourceBind : {
|
|
228
228
|
displayBoList: [
|
|
229
229
|
new DisplayBoListItem({
|
|
230
230
|
value: "name"
|
|
231
231
|
})
|
|
232
232
|
]
|
|
233
233
|
});
|
|
234
|
-
var
|
|
235
|
-
_this.defaultValue = new AmountValue((
|
|
234
|
+
var _props_defaultValue;
|
|
235
|
+
_this.defaultValue = new AmountValue((_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : {
|
|
236
236
|
amount: "",
|
|
237
237
|
currency: AMOUNT_TYPE.CNY
|
|
238
238
|
});
|
|
239
239
|
_this.options = initOptions(props === null || props === void 0 ? void 0 : props.options);
|
|
240
|
-
var
|
|
241
|
-
_this.caption = (
|
|
242
|
-
var
|
|
243
|
-
_this.placeholder = (
|
|
244
|
-
var
|
|
245
|
-
_this.submitSelectCurrency = (
|
|
246
|
-
var
|
|
247
|
-
_this.showUpperCase = (
|
|
240
|
+
var _props_caption;
|
|
241
|
+
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : AmountControl.controlName;
|
|
242
|
+
var _props_placeholder;
|
|
243
|
+
_this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请输入";
|
|
244
|
+
var _props_submitSelectCurrency;
|
|
245
|
+
_this.submitSelectCurrency = (_props_submitSelectCurrency = props === null || props === void 0 ? void 0 : props.submitSelectCurrency) !== null && _props_submitSelectCurrency !== void 0 ? _props_submitSelectCurrency : false;
|
|
246
|
+
var _props_showUpperCase;
|
|
247
|
+
_this.showUpperCase = (_props_showUpperCase = props === null || props === void 0 ? void 0 : props.showUpperCase) !== null && _props_showUpperCase !== void 0 ? _props_showUpperCase : false;
|
|
248
248
|
return _this;
|
|
249
249
|
}
|
|
250
250
|
return AmountProperty;
|
|
@@ -132,7 +132,7 @@ AttachmentControl.setting = [
|
|
|
132
132
|
key: "caption",
|
|
133
133
|
showItems: [
|
|
134
134
|
COMMON_SETTING_TYPE.CAPTION,
|
|
135
|
-
COMMON_SETTING_TYPE.IS_HIDE_CAPTION
|
|
135
|
+
COMMON_SETTING_TYPE.IS_HIDE_CAPTION
|
|
136
136
|
],
|
|
137
137
|
visible: true
|
|
138
138
|
},
|
|
@@ -155,7 +155,7 @@ AttachmentControl.setting = [
|
|
|
155
155
|
COMMON_SETTING_TYPE.REQUIRED,
|
|
156
156
|
COMMON_SETTING_TYPE.IS_HIDE,
|
|
157
157
|
COMMON_SETTING_TYPE.IS_HIDE_CAPTION,
|
|
158
|
-
COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP
|
|
158
|
+
COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP
|
|
159
159
|
]
|
|
160
160
|
},
|
|
161
161
|
{
|
|
@@ -181,7 +181,7 @@ AttachmentControl.setting = [
|
|
|
181
181
|
{
|
|
182
182
|
key: "super-setting",
|
|
183
183
|
visible: true
|
|
184
|
-
}
|
|
184
|
+
}
|
|
185
185
|
];
|
|
186
186
|
export default AttachmentControl;
|
|
187
187
|
export { AttachmentControl as DesignerAttachmentControl };
|
|
@@ -123,22 +123,22 @@ var AttachmentProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
123
123
|
_classCallCheck(this, AttachmentProperty);
|
|
124
124
|
var _this;
|
|
125
125
|
_this = _super.call(this, props);
|
|
126
|
-
var
|
|
127
|
-
_this.defaultValue = (
|
|
128
|
-
var
|
|
129
|
-
_this.showType = (
|
|
130
|
-
var
|
|
131
|
-
_this.attachmentAccept = (
|
|
132
|
-
var
|
|
133
|
-
_this.maxLimit = (
|
|
134
|
-
var
|
|
135
|
-
_this.minLimit = (
|
|
136
|
-
var
|
|
137
|
-
_this.maxSize = (
|
|
138
|
-
var
|
|
139
|
-
_this.caption = (
|
|
140
|
-
var
|
|
141
|
-
_this.placeholder = (
|
|
126
|
+
var _props_defaultValue;
|
|
127
|
+
_this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [];
|
|
128
|
+
var _props_showType;
|
|
129
|
+
_this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : "default";
|
|
130
|
+
var _props_attachmentAccept;
|
|
131
|
+
_this.attachmentAccept = (_props_attachmentAccept = props === null || props === void 0 ? void 0 : props.attachmentAccept) !== null && _props_attachmentAccept !== void 0 ? _props_attachmentAccept : [];
|
|
132
|
+
var _props_maxLimit;
|
|
133
|
+
_this.maxLimit = (_props_maxLimit = props === null || props === void 0 ? void 0 : props.maxLimit) !== null && _props_maxLimit !== void 0 ? _props_maxLimit : 10;
|
|
134
|
+
var _props_minLimit;
|
|
135
|
+
_this.minLimit = (_props_minLimit = props === null || props === void 0 ? void 0 : props.minLimit) !== null && _props_minLimit !== void 0 ? _props_minLimit : 0;
|
|
136
|
+
var _props_maxSize;
|
|
137
|
+
_this.maxSize = (_props_maxSize = props === null || props === void 0 ? void 0 : props.maxSize) !== null && _props_maxSize !== void 0 ? _props_maxSize : MB100;
|
|
138
|
+
var _props_caption;
|
|
139
|
+
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : AttachmentControl.controlName;
|
|
140
|
+
var _props_placeholder;
|
|
141
|
+
_this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "上传附件";
|
|
142
142
|
return _this;
|
|
143
143
|
}
|
|
144
144
|
return AttachmentProperty;
|
|
@@ -132,7 +132,7 @@ AutoNumberControl.setting = [
|
|
|
132
132
|
key: "caption",
|
|
133
133
|
showItems: [
|
|
134
134
|
COMMON_SETTING_TYPE.CAPTION,
|
|
135
|
-
COMMON_SETTING_TYPE.IS_HIDE_CAPTION
|
|
135
|
+
COMMON_SETTING_TYPE.IS_HIDE_CAPTION
|
|
136
136
|
],
|
|
137
137
|
visible: true
|
|
138
138
|
},
|
|
@@ -150,13 +150,13 @@ AutoNumberControl.setting = [
|
|
|
150
150
|
showItems: [
|
|
151
151
|
COMMON_SETTING_TYPE.IS_HIDE,
|
|
152
152
|
COMMON_SETTING_TYPE.IS_HIDE_CAPTION,
|
|
153
|
-
COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP
|
|
153
|
+
COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP
|
|
154
154
|
]
|
|
155
155
|
},
|
|
156
156
|
{
|
|
157
157
|
key: "super-setting",
|
|
158
158
|
visible: true
|
|
159
|
-
}
|
|
159
|
+
}
|
|
160
160
|
];
|
|
161
161
|
export default AutoNumberControl;
|
|
162
162
|
export { AutoNumberControl as DesignerAutoNumberControl };
|
|
@@ -79,12 +79,12 @@ var AutoNumberProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
79
79
|
_classCallCheck(this, AutoNumberProperty);
|
|
80
80
|
var _this;
|
|
81
81
|
_this = _super.call(this, props);
|
|
82
|
-
var
|
|
83
|
-
_this.defaultValue = (
|
|
84
|
-
var
|
|
85
|
-
_this.caption = (
|
|
86
|
-
var
|
|
87
|
-
_this.placeholder = (
|
|
82
|
+
var _props_defaultValue;
|
|
83
|
+
_this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : "";
|
|
84
|
+
var _props_caption;
|
|
85
|
+
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : AutoNumberControl.controlName;
|
|
86
|
+
var _props_placeholder;
|
|
87
|
+
_this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请输入自动编号";
|
|
88
88
|
return _this;
|
|
89
89
|
}
|
|
90
90
|
return AutoNumberProperty;
|
|
@@ -124,7 +124,7 @@ var CalcControl = /*#__PURE__*/ function(DesignerFormControl) {
|
|
|
124
124
|
_proto.toDataBindModel = function toDataBindModel(parentId) {
|
|
125
125
|
var dataBindModel = _get(_getPrototypeOf(CalcControl.prototype), "toDataBindModel", this).call(this, parentId);
|
|
126
126
|
if (dataBindModel && !Array.isArray(dataBindModel)) {
|
|
127
|
-
var
|
|
127
|
+
var _this_props = this.props, precision = _this_props.precision, micrometer = _this_props.micrometer;
|
|
128
128
|
precision !== "" && (dataBindModel.props.precision = precision);
|
|
129
129
|
dataBindModel.props.micrometer = micrometer;
|
|
130
130
|
}
|
|
@@ -165,7 +165,7 @@ CalcControl.setting = [
|
|
|
165
165
|
key: "caption",
|
|
166
166
|
showItems: [
|
|
167
167
|
COMMON_SETTING_TYPE.CAPTION,
|
|
168
|
-
COMMON_SETTING_TYPE.IS_HIDE_CAPTION
|
|
168
|
+
COMMON_SETTING_TYPE.IS_HIDE_CAPTION
|
|
169
169
|
],
|
|
170
170
|
visible: true
|
|
171
171
|
},
|
|
@@ -192,7 +192,7 @@ CalcControl.setting = [
|
|
|
192
192
|
COMMON_SETTING_TYPE.REQUIRED,
|
|
193
193
|
COMMON_SETTING_TYPE.IS_HIDE,
|
|
194
194
|
COMMON_SETTING_TYPE.IS_HIDE_CAPTION,
|
|
195
|
-
COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP
|
|
195
|
+
COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP
|
|
196
196
|
]
|
|
197
197
|
},
|
|
198
198
|
{
|
|
@@ -208,14 +208,14 @@ CalcControl.setting = [
|
|
|
208
208
|
showItems: [
|
|
209
209
|
COMMON_SETTING_TYPE.SHOW_UPPER_CASE,
|
|
210
210
|
COMMON_SETTING_TYPE.MICROMETER,
|
|
211
|
-
COMMON_SETTING_TYPE.PRECISION
|
|
211
|
+
COMMON_SETTING_TYPE.PRECISION
|
|
212
212
|
],
|
|
213
213
|
visible: true
|
|
214
214
|
},
|
|
215
215
|
{
|
|
216
216
|
key: "super-setting",
|
|
217
217
|
visible: true
|
|
218
|
-
}
|
|
218
|
+
}
|
|
219
219
|
];
|
|
220
220
|
export default CalcControl;
|
|
221
221
|
export { CalcControl as DesignerCalcControl };
|
|
@@ -107,7 +107,7 @@ var CalcControlPropertyRuntimeRules = /*#__PURE__*/ function(BaseControlProperty
|
|
|
107
107
|
{
|
|
108
108
|
type: "number",
|
|
109
109
|
message: RulesMessage.getMessage("isNotNumber")
|
|
110
|
-
}
|
|
110
|
+
}
|
|
111
111
|
],
|
|
112
112
|
unit: {
|
|
113
113
|
type: "string",
|
|
@@ -127,22 +127,22 @@ var CalcProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
127
127
|
_classCallCheck(this, CalcProperty);
|
|
128
128
|
var _this;
|
|
129
129
|
_this = _super.call(this, props);
|
|
130
|
-
var
|
|
131
|
-
_this.precision = (
|
|
132
|
-
var
|
|
133
|
-
_this.micrometer = (
|
|
134
|
-
var
|
|
135
|
-
_this.showUpperCase = (
|
|
130
|
+
var _props_precision;
|
|
131
|
+
_this.precision = (_props_precision = props === null || props === void 0 ? void 0 : props.precision) !== null && _props_precision !== void 0 ? _props_precision : 0;
|
|
132
|
+
var _props_micrometer;
|
|
133
|
+
_this.micrometer = (_props_micrometer = props === null || props === void 0 ? void 0 : props.micrometer) !== null && _props_micrometer !== void 0 ? _props_micrometer : false;
|
|
134
|
+
var _props_showUpperCase;
|
|
135
|
+
_this.showUpperCase = (_props_showUpperCase = props === null || props === void 0 ? void 0 : props.showUpperCase) !== null && _props_showUpperCase !== void 0 ? _props_showUpperCase : false;
|
|
136
136
|
_this.dataBind = new CalcDataBind(props === null || props === void 0 ? void 0 : props.dataBind);
|
|
137
137
|
_this.defaultValue = new CalcValue(props === null || props === void 0 ? void 0 : props.defaultValue);
|
|
138
|
-
var
|
|
139
|
-
_this.caption = (
|
|
140
|
-
var
|
|
141
|
-
_this.placeholder = (
|
|
142
|
-
var
|
|
143
|
-
_this.scriptEcho = (
|
|
144
|
-
var
|
|
145
|
-
_this.scriptSrc = (
|
|
138
|
+
var _props_caption;
|
|
139
|
+
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : AmountControl.controlName;
|
|
140
|
+
var _props_placeholder;
|
|
141
|
+
_this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请输入";
|
|
142
|
+
var _props_scriptEcho;
|
|
143
|
+
_this.scriptEcho = (_props_scriptEcho = props === null || props === void 0 ? void 0 : props.scriptEcho) !== null && _props_scriptEcho !== void 0 ? _props_scriptEcho : [];
|
|
144
|
+
var _props_scriptSrc;
|
|
145
|
+
_this.scriptSrc = (_props_scriptSrc = props === null || props === void 0 ? void 0 : props.scriptSrc) !== null && _props_scriptSrc !== void 0 ? _props_scriptSrc : "";
|
|
146
146
|
return _this;
|
|
147
147
|
}
|
|
148
148
|
return CalcProperty;
|
|
@@ -137,7 +137,7 @@ CheckboxControl.setting = [
|
|
|
137
137
|
key: "caption",
|
|
138
138
|
showItems: [
|
|
139
139
|
COMMON_SETTING_TYPE.CAPTION,
|
|
140
|
-
COMMON_SETTING_TYPE.IS_HIDE_CAPTION
|
|
140
|
+
COMMON_SETTING_TYPE.IS_HIDE_CAPTION
|
|
141
141
|
],
|
|
142
142
|
visible: true
|
|
143
143
|
},
|
|
@@ -160,7 +160,7 @@ CheckboxControl.setting = [
|
|
|
160
160
|
COMMON_SETTING_TYPE.REQUIRED,
|
|
161
161
|
COMMON_SETTING_TYPE.IS_HIDE,
|
|
162
162
|
COMMON_SETTING_TYPE.IS_HIDE_CAPTION,
|
|
163
|
-
COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP
|
|
163
|
+
COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP
|
|
164
164
|
]
|
|
165
165
|
},
|
|
166
166
|
{
|
|
@@ -178,7 +178,7 @@ CheckboxControl.setting = [
|
|
|
178
178
|
{
|
|
179
179
|
key: "super-setting",
|
|
180
180
|
visible: true
|
|
181
|
-
}
|
|
181
|
+
}
|
|
182
182
|
];
|
|
183
183
|
export default CheckboxControl;
|
|
184
184
|
export { CheckboxControl as DesignerCheckboxControl };
|
|
@@ -123,8 +123,8 @@ var CheckboxProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
123
123
|
_classCallCheck(this, CheckboxProperty);
|
|
124
124
|
var _this;
|
|
125
125
|
_this = _super.call(this, props);
|
|
126
|
-
var
|
|
127
|
-
_this.options = initOptions((
|
|
126
|
+
var _props_options;
|
|
127
|
+
_this.options = initOptions((_props_options = props === null || props === void 0 ? void 0 : props.options) !== null && _props_options !== void 0 ? _props_options : [
|
|
128
128
|
{
|
|
129
129
|
label: "选项一",
|
|
130
130
|
value: "选项一"
|
|
@@ -136,36 +136,36 @@ var CheckboxProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
136
136
|
{
|
|
137
137
|
label: "选项三",
|
|
138
138
|
value: "选项三"
|
|
139
|
-
}
|
|
139
|
+
}
|
|
140
140
|
]);
|
|
141
|
-
var
|
|
142
|
-
_this.checkboxMode = (
|
|
143
|
-
var
|
|
144
|
-
_this.optionConfig = (
|
|
145
|
-
var
|
|
146
|
-
_this.optionsOrder = (
|
|
147
|
-
var
|
|
148
|
-
_this.otherOption = (
|
|
149
|
-
var
|
|
150
|
-
_this.limitMin = (
|
|
151
|
-
var
|
|
152
|
-
_this.limitMax = (
|
|
141
|
+
var _props_checkboxMode;
|
|
142
|
+
_this.checkboxMode = (_props_checkboxMode = props === null || props === void 0 ? void 0 : props.checkboxMode) !== null && _props_checkboxMode !== void 0 ? _props_checkboxMode : "horizontal";
|
|
143
|
+
var _props_optionConfig;
|
|
144
|
+
_this.optionConfig = (_props_optionConfig = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _props_optionConfig !== void 0 ? _props_optionConfig : "custom";
|
|
145
|
+
var _props_optionsOrder;
|
|
146
|
+
_this.optionsOrder = (_props_optionsOrder = props === null || props === void 0 ? void 0 : props.optionsOrder) !== null && _props_optionsOrder !== void 0 ? _props_optionsOrder : false;
|
|
147
|
+
var _props_otherOption;
|
|
148
|
+
_this.otherOption = (_props_otherOption = props === null || props === void 0 ? void 0 : props.otherOption) !== null && _props_otherOption !== void 0 ? _props_otherOption : false;
|
|
149
|
+
var _props_limitMin;
|
|
150
|
+
_this.limitMin = (_props_limitMin = props === null || props === void 0 ? void 0 : props.limitMin) !== null && _props_limitMin !== void 0 ? _props_limitMin : "unlimited";
|
|
151
|
+
var _props_limitMax;
|
|
152
|
+
_this.limitMax = (_props_limitMax = props === null || props === void 0 ? void 0 : props.limitMax) !== null && _props_limitMax !== void 0 ? _props_limitMax : "unlimited";
|
|
153
153
|
_this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
|
|
154
|
-
var
|
|
155
|
-
_this.interreaction = (
|
|
156
|
-
var
|
|
157
|
-
_this.caption = (
|
|
158
|
-
var
|
|
159
|
-
_this.defaultValue = (
|
|
160
|
-
var
|
|
161
|
-
_this.optionsFormat = (
|
|
162
|
-
var
|
|
163
|
-
_this.defaultShowOptions = (
|
|
154
|
+
var _props_interreaction;
|
|
155
|
+
_this.interreaction = (_props_interreaction = props === null || props === void 0 ? void 0 : props.interreaction) !== null && _props_interreaction !== void 0 ? _props_interreaction : [];
|
|
156
|
+
var _props_caption;
|
|
157
|
+
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : CheckboxControl.controlName;
|
|
158
|
+
var _props_defaultValue;
|
|
159
|
+
_this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [];
|
|
160
|
+
var _props_optionsFormat;
|
|
161
|
+
_this.optionsFormat = (_props_optionsFormat = props === null || props === void 0 ? void 0 : props.optionsFormat) !== null && _props_optionsFormat !== void 0 ? _props_optionsFormat : "horizontal";
|
|
162
|
+
var _props_defaultShowOptions;
|
|
163
|
+
_this.defaultShowOptions = (_props_defaultShowOptions = props === null || props === void 0 ? void 0 : props.defaultShowOptions) !== null && _props_defaultShowOptions !== void 0 ? _props_defaultShowOptions : true;
|
|
164
164
|
_this.multistageFilling = [];
|
|
165
165
|
if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
|
|
166
166
|
props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
|
|
167
|
-
var
|
|
168
|
-
(
|
|
167
|
+
var _this_multistageFilling;
|
|
168
|
+
(_this_multistageFilling = _this.multistageFilling) === null || _this_multistageFilling === void 0 ? void 0 : _this_multistageFilling.push(new MultistageFillingItem(item));
|
|
169
169
|
});
|
|
170
170
|
}
|
|
171
171
|
return _this;
|