@byteluck-fe/model-driven-core 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/common/BaseControl/designer.js +174 -68
- package/dist/esm/common/BaseControl/property.js +4 -4
- package/dist/esm/common/BaseControl/runtime.js +11 -11
- package/dist/esm/common/ColumnControl/property.js +10 -10
- package/dist/esm/common/ControlArray.js +4 -4
- package/dist/esm/common/FormControl/designer.js +1 -1
- package/dist/esm/common/FormControl/property.js +22 -22
- package/dist/esm/common/LayoutControl/designer.js +118 -18
- package/dist/esm/common/ListControl/designer.js +117 -17
- package/dist/esm/common/initOptionAndDataSourceRules.js +8 -8
- package/dist/esm/framework/index.js +238 -238
- package/dist/index.umd.js +1 -1
- package/dist/types/common/Validator.d.ts +1 -1
- package/dist/types/common/controlHooksEmitter.d.ts +1 -1
- package/dist/types/type.d.ts +23 -23
- package/package.json +3 -3
|
@@ -81,22 +81,22 @@ export * from "./RegisterControls";
|
|
|
81
81
|
export var DataBind = function DataBind(props) {
|
|
82
82
|
"use strict";
|
|
83
83
|
_classCallCheck(this, DataBind);
|
|
84
|
-
var
|
|
85
|
-
this.dataCode = (
|
|
86
|
-
var
|
|
87
|
-
this.fieldCode = (
|
|
88
|
-
var
|
|
89
|
-
this.fieldType = (
|
|
84
|
+
var _props_dataCode;
|
|
85
|
+
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
|
|
86
|
+
var _props_fieldCode;
|
|
87
|
+
this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : "";
|
|
88
|
+
var _props_fieldType;
|
|
89
|
+
this.fieldType = (_props_fieldType = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _props_fieldType !== void 0 ? _props_fieldType : "";
|
|
90
90
|
};
|
|
91
91
|
export var FormBind = function FormBind(props) {
|
|
92
92
|
"use strict";
|
|
93
93
|
_classCallCheck(this, FormBind);
|
|
94
|
-
var
|
|
95
|
-
this.dataCode = (
|
|
96
|
-
var
|
|
97
|
-
this.formKey = (
|
|
98
|
-
var
|
|
99
|
-
this.appId = (
|
|
94
|
+
var _props_dataCode;
|
|
95
|
+
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
|
|
96
|
+
var _props_formKey;
|
|
97
|
+
this.formKey = (_props_formKey = props === null || props === void 0 ? void 0 : props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : "";
|
|
98
|
+
var _props_appId;
|
|
99
|
+
this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : "";
|
|
100
100
|
};
|
|
101
101
|
export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
102
102
|
"use strict";
|
|
@@ -106,8 +106,8 @@ export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
|
106
106
|
_classCallCheck(this, FormSelectBind);
|
|
107
107
|
var _this;
|
|
108
108
|
_this = _super.call(this, props);
|
|
109
|
-
var
|
|
110
|
-
_this.primaryControlId = (
|
|
109
|
+
var _props_primaryControlId;
|
|
110
|
+
_this.primaryControlId = (_props_primaryControlId = props === null || props === void 0 ? void 0 : props.primaryControlId) !== null && _props_primaryControlId !== void 0 ? _props_primaryControlId : "";
|
|
111
111
|
return _this;
|
|
112
112
|
}
|
|
113
113
|
return FormSelectBind;
|
|
@@ -115,31 +115,31 @@ export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
|
115
115
|
var ListBindHeaderItem = function ListBindHeaderItem(props) {
|
|
116
116
|
"use strict";
|
|
117
117
|
_classCallCheck(this, ListBindHeaderItem);
|
|
118
|
-
var
|
|
119
|
-
this.fieldCode = (
|
|
118
|
+
var _props_fieldCode;
|
|
119
|
+
this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : "";
|
|
120
120
|
};
|
|
121
121
|
export var ListBind = function ListBind(props) {
|
|
122
122
|
"use strict";
|
|
123
123
|
_classCallCheck(this, ListBind);
|
|
124
|
-
var
|
|
125
|
-
var
|
|
126
|
-
this.appId = (
|
|
127
|
-
var
|
|
128
|
-
this.formKey = (
|
|
129
|
-
var
|
|
130
|
-
this.headers = (
|
|
124
|
+
var _props_headers;
|
|
125
|
+
var _props_appId;
|
|
126
|
+
this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : "";
|
|
127
|
+
var _props_formKey;
|
|
128
|
+
this.formKey = (_props_formKey = props === null || props === void 0 ? void 0 : props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : "";
|
|
129
|
+
var _props_headers_map;
|
|
130
|
+
this.headers = (_props_headers_map = props === null || props === void 0 ? void 0 : (_props_headers = props.headers) === null || _props_headers === void 0 ? void 0 : _props_headers.map(function(item) {
|
|
131
131
|
return new ListBindHeaderItem(item);
|
|
132
|
-
})) !== null &&
|
|
132
|
+
})) !== null && _props_headers_map !== void 0 ? _props_headers_map : [];
|
|
133
133
|
};
|
|
134
134
|
export var FieldBindItem = function FieldBindItem(props) {
|
|
135
135
|
"use strict";
|
|
136
136
|
_classCallCheck(this, FieldBindItem);
|
|
137
|
-
var
|
|
138
|
-
this.fieldName = (
|
|
139
|
-
var
|
|
140
|
-
this.fieldCode = (
|
|
141
|
-
var
|
|
142
|
-
this.fieldType = (
|
|
137
|
+
var _props_fieldName;
|
|
138
|
+
this.fieldName = (_props_fieldName = props === null || props === void 0 ? void 0 : props.fieldName) !== null && _props_fieldName !== void 0 ? _props_fieldName : "";
|
|
139
|
+
var _props_fieldCode;
|
|
140
|
+
this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : "";
|
|
141
|
+
var _props_fieldType;
|
|
142
|
+
this.fieldType = (_props_fieldType = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _props_fieldType !== void 0 ? _props_fieldType : FieldTypes.VARCHAR;
|
|
143
143
|
};
|
|
144
144
|
export var SubListItem = /*#__PURE__*/ function(FormBind) {
|
|
145
145
|
"use strict";
|
|
@@ -149,14 +149,14 @@ export var SubListItem = /*#__PURE__*/ function(FormBind) {
|
|
|
149
149
|
_classCallCheck(this, SubListItem);
|
|
150
150
|
var _this;
|
|
151
151
|
_this = _super.call(this, props);
|
|
152
|
-
var
|
|
153
|
-
_this.title = (
|
|
154
|
-
var
|
|
155
|
-
_this.svcCode = (
|
|
156
|
-
var
|
|
157
|
-
_this.isOpenFilter = (
|
|
158
|
-
var
|
|
159
|
-
_this.filters = (
|
|
152
|
+
var _props_title;
|
|
153
|
+
_this.title = (_props_title = props === null || props === void 0 ? void 0 : props.title) !== null && _props_title !== void 0 ? _props_title : "";
|
|
154
|
+
var _props_svcCode;
|
|
155
|
+
_this.svcCode = (_props_svcCode = props === null || props === void 0 ? void 0 : props.svcCode) !== null && _props_svcCode !== void 0 ? _props_svcCode : "";
|
|
156
|
+
var _props_isOpenFilter;
|
|
157
|
+
_this.isOpenFilter = (_props_isOpenFilter = props === null || props === void 0 ? void 0 : props.isOpenFilter) !== null && _props_isOpenFilter !== void 0 ? _props_isOpenFilter : false;
|
|
158
|
+
var _props_filters;
|
|
159
|
+
_this.filters = (_props_filters = props === null || props === void 0 ? void 0 : props.filters) !== null && _props_filters !== void 0 ? _props_filters : [];
|
|
160
160
|
return _this;
|
|
161
161
|
}
|
|
162
162
|
return SubListItem;
|
|
@@ -164,17 +164,17 @@ export var SubListItem = /*#__PURE__*/ function(FormBind) {
|
|
|
164
164
|
export var SubListPageConfig = function SubListPageConfig(props) {
|
|
165
165
|
"use strict";
|
|
166
166
|
_classCallCheck(this, SubListPageConfig);
|
|
167
|
-
var
|
|
167
|
+
var _props_displayFields, _props_sublists;
|
|
168
168
|
this.type = "sublist-page";
|
|
169
169
|
this.formBind = new FormBind(props === null || props === void 0 ? void 0 : props.formBind);
|
|
170
|
-
var
|
|
171
|
-
this.displayFields = (
|
|
170
|
+
var _props_displayFields_map;
|
|
171
|
+
this.displayFields = (_props_displayFields_map = props === null || props === void 0 ? void 0 : (_props_displayFields = props.displayFields) === null || _props_displayFields === void 0 ? void 0 : _props_displayFields.map(function(item) {
|
|
172
172
|
return new FieldBindItem(item);
|
|
173
|
-
})) !== null &&
|
|
174
|
-
var
|
|
175
|
-
this.sublists = (
|
|
173
|
+
})) !== null && _props_displayFields_map !== void 0 ? _props_displayFields_map : [];
|
|
174
|
+
var _props_sublists_map;
|
|
175
|
+
this.sublists = (_props_sublists_map = props === null || props === void 0 ? void 0 : (_props_sublists = props.sublists) === null || _props_sublists === void 0 ? void 0 : _props_sublists.map(function(item) {
|
|
176
176
|
return new SubListItem(item);
|
|
177
|
-
})) !== null &&
|
|
177
|
+
})) !== null && _props_sublists_map !== void 0 ? _props_sublists_map : [];
|
|
178
178
|
};
|
|
179
179
|
export var LeftVariable = function LeftVariable(props) {
|
|
180
180
|
"use strict";
|
|
@@ -185,37 +185,37 @@ export var LeftVariable = function LeftVariable(props) {
|
|
|
185
185
|
export var RightVariable = function RightVariable(props) {
|
|
186
186
|
"use strict";
|
|
187
187
|
_classCallCheck(this, RightVariable);
|
|
188
|
-
var
|
|
189
|
-
this.type = (
|
|
190
|
-
var
|
|
191
|
-
this.value = (
|
|
192
|
-
var
|
|
193
|
-
this.displayBos = (
|
|
188
|
+
var _props_type;
|
|
189
|
+
this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "custom";
|
|
190
|
+
var _props_value;
|
|
191
|
+
this.value = (_props_value = props === null || props === void 0 ? void 0 : props.value) !== null && _props_value !== void 0 ? _props_value : [];
|
|
192
|
+
var _props_displayBos;
|
|
193
|
+
this.displayBos = (_props_displayBos = props === null || props === void 0 ? void 0 : props.displayBos) !== null && _props_displayBos !== void 0 ? _props_displayBos : [];
|
|
194
194
|
};
|
|
195
195
|
export var FieldFilterConditions = function FieldFilterConditions(props) {
|
|
196
196
|
"use strict";
|
|
197
197
|
var _this = this;
|
|
198
198
|
_classCallCheck(this, FieldFilterConditions);
|
|
199
199
|
this.type = "conditions";
|
|
200
|
-
var
|
|
201
|
-
this.id = (
|
|
202
|
-
var
|
|
203
|
-
this.ruleId = (
|
|
204
|
-
var
|
|
205
|
-
this.level = (
|
|
206
|
-
var
|
|
207
|
-
this.value = (
|
|
200
|
+
var _props_id;
|
|
201
|
+
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId();
|
|
202
|
+
var _props_ruleId;
|
|
203
|
+
this.ruleId = (_props_ruleId = props === null || props === void 0 ? void 0 : props.ruleId) !== null && _props_ruleId !== void 0 ? _props_ruleId : new Date().valueOf();
|
|
204
|
+
var _props_level;
|
|
205
|
+
this.level = (_props_level = props === null || props === void 0 ? void 0 : props.level) !== null && _props_level !== void 0 ? _props_level : 0;
|
|
206
|
+
var _props_value;
|
|
207
|
+
this.value = (_props_value = props === null || props === void 0 ? void 0 : props.value) !== null && _props_value !== void 0 ? _props_value : "and";
|
|
208
208
|
this.children = [];
|
|
209
209
|
if (Array.isArray(props === null || props === void 0 ? void 0 : props.children)) {
|
|
210
210
|
props === null || props === void 0 ? void 0 : props.children.map(function(item) {
|
|
211
211
|
if (item.children !== undefined) {
|
|
212
|
-
var
|
|
212
|
+
var _this_children;
|
|
213
213
|
var filter = new FieldFilterConditions(item);
|
|
214
|
-
(
|
|
214
|
+
(_this_children = _this.children) === null || _this_children === void 0 ? void 0 : _this_children.push(filter);
|
|
215
215
|
} else {
|
|
216
|
-
var
|
|
216
|
+
var _this_children1;
|
|
217
217
|
var filter1 = new FieldFilterCondition(item);
|
|
218
|
-
(
|
|
218
|
+
(_this_children1 = _this.children) === null || _this_children1 === void 0 ? void 0 : _this_children1.push(filter1);
|
|
219
219
|
}
|
|
220
220
|
});
|
|
221
221
|
}
|
|
@@ -224,132 +224,132 @@ export var FieldFilterCondition = function FieldFilterCondition(props) {
|
|
|
224
224
|
"use strict";
|
|
225
225
|
_classCallCheck(this, FieldFilterCondition);
|
|
226
226
|
this.type = "condition";
|
|
227
|
-
var
|
|
228
|
-
this.id = (
|
|
229
|
-
var
|
|
230
|
-
this.ruleId = (
|
|
231
|
-
var
|
|
232
|
-
this.symbol = (
|
|
233
|
-
var
|
|
234
|
-
this.checked = (
|
|
235
|
-
var
|
|
236
|
-
this.describe = (
|
|
227
|
+
var _props_id;
|
|
228
|
+
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId();
|
|
229
|
+
var _props_ruleId;
|
|
230
|
+
this.ruleId = (_props_ruleId = props === null || props === void 0 ? void 0 : props.ruleId) !== null && _props_ruleId !== void 0 ? _props_ruleId : new Date().valueOf();
|
|
231
|
+
var _props_symbol;
|
|
232
|
+
this.symbol = (_props_symbol = props === null || props === void 0 ? void 0 : props.symbol) !== null && _props_symbol !== void 0 ? _props_symbol : "";
|
|
233
|
+
var _props_checked;
|
|
234
|
+
this.checked = (_props_checked = props === null || props === void 0 ? void 0 : props.checked) !== null && _props_checked !== void 0 ? _props_checked : false;
|
|
235
|
+
var _props_describe;
|
|
236
|
+
this.describe = (_props_describe = props === null || props === void 0 ? void 0 : props.describe) !== null && _props_describe !== void 0 ? _props_describe : "";
|
|
237
237
|
this.leftVariableBo = new LeftVariable(props === null || props === void 0 ? void 0 : props.leftVariableBo);
|
|
238
238
|
this.rightVariableBo = new RightVariable(props === null || props === void 0 ? void 0 : props.rightVariableBo);
|
|
239
239
|
};
|
|
240
240
|
export var MultistageFillingItem = function MultistageFillingItem(props) {
|
|
241
241
|
"use strict";
|
|
242
242
|
_classCallCheck(this, MultistageFillingItem);
|
|
243
|
-
var
|
|
244
|
-
this.controlId = (
|
|
245
|
-
var
|
|
246
|
-
this.fieldCode = (
|
|
247
|
-
var
|
|
248
|
-
this.fieldType = (
|
|
249
|
-
var
|
|
250
|
-
this.propName = (
|
|
243
|
+
var _props_controlId;
|
|
244
|
+
this.controlId = (_props_controlId = props === null || props === void 0 ? void 0 : props.controlId) !== null && _props_controlId !== void 0 ? _props_controlId : "";
|
|
245
|
+
var _props_fieldCode;
|
|
246
|
+
this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : "";
|
|
247
|
+
var _props_fieldType;
|
|
248
|
+
this.fieldType = (_props_fieldType = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _props_fieldType !== void 0 ? _props_fieldType : "";
|
|
249
|
+
var _props_propName;
|
|
250
|
+
this.propName = (_props_propName = props === null || props === void 0 ? void 0 : props.propName) !== null && _props_propName !== void 0 ? _props_propName : "";
|
|
251
251
|
};
|
|
252
252
|
export var DisplayBoListItem = function DisplayBoListItem(props) {
|
|
253
253
|
"use strict";
|
|
254
254
|
_classCallCheck(this, DisplayBoListItem);
|
|
255
|
-
var
|
|
256
|
-
this.type = (
|
|
257
|
-
var
|
|
258
|
-
this.value = (
|
|
255
|
+
var _props_type;
|
|
256
|
+
this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "FIELD";
|
|
257
|
+
var _props_value;
|
|
258
|
+
this.value = (_props_value = props === null || props === void 0 ? void 0 : props.value) !== null && _props_value !== void 0 ? _props_value : "";
|
|
259
259
|
this.fieldType = props === null || props === void 0 ? void 0 : props.fieldType;
|
|
260
260
|
};
|
|
261
261
|
export var DataSourceOrderItem = function DataSourceOrderItem(props) {
|
|
262
262
|
"use strict";
|
|
263
263
|
_classCallCheck(this, DataSourceOrderItem);
|
|
264
|
-
var
|
|
265
|
-
this.columnName = (
|
|
266
|
-
var
|
|
267
|
-
this.desc = (
|
|
264
|
+
var _props_columnName;
|
|
265
|
+
this.columnName = (_props_columnName = props.columnName) !== null && _props_columnName !== void 0 ? _props_columnName : "";
|
|
266
|
+
var _props_desc;
|
|
267
|
+
this.desc = (_props_desc = props.desc) !== null && _props_desc !== void 0 ? _props_desc : false;
|
|
268
268
|
};
|
|
269
269
|
export var DataSourceDataSetValue = function DataSourceDataSetValue(props) {
|
|
270
270
|
"use strict";
|
|
271
271
|
_classCallCheck(this, DataSourceDataSetValue);
|
|
272
|
-
var
|
|
273
|
-
this.code = (
|
|
274
|
-
var
|
|
275
|
-
this.value = (
|
|
276
|
-
var
|
|
277
|
-
this.field_type = (
|
|
272
|
+
var _props_code;
|
|
273
|
+
this.code = (_props_code = props.code) !== null && _props_code !== void 0 ? _props_code : "";
|
|
274
|
+
var _props_value;
|
|
275
|
+
this.value = (_props_value = props.value) !== null && _props_value !== void 0 ? _props_value : "";
|
|
276
|
+
var _props_field_type;
|
|
277
|
+
this.field_type = (_props_field_type = props.field_type) !== null && _props_field_type !== void 0 ? _props_field_type : FieldTypes.ANY;
|
|
278
278
|
};
|
|
279
279
|
export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
280
280
|
"use strict";
|
|
281
281
|
_classCallCheck(this, DataSourceParamItem);
|
|
282
|
-
var
|
|
283
|
-
var
|
|
282
|
+
var _props_orders, _props_dataSet;
|
|
283
|
+
var _props_id;
|
|
284
284
|
//字段ID,不可以当作随机数生成唯一编号
|
|
285
|
-
this.id = (
|
|
286
|
-
var
|
|
287
|
-
this.limit = (
|
|
288
|
-
var
|
|
289
|
-
this.formKey = (
|
|
290
|
-
var
|
|
291
|
-
this.orders = (
|
|
285
|
+
this.id = (_props_id = props.id) !== null && _props_id !== void 0 ? _props_id : "";
|
|
286
|
+
var _props_limit;
|
|
287
|
+
this.limit = (_props_limit = props.limit) !== null && _props_limit !== void 0 ? _props_limit : 20;
|
|
288
|
+
var _props_formKey;
|
|
289
|
+
this.formKey = (_props_formKey = props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : "";
|
|
290
|
+
var _props_orders_map;
|
|
291
|
+
this.orders = (_props_orders_map = (_props_orders = props.orders) === null || _props_orders === void 0 ? void 0 : _props_orders.map(function(item) {
|
|
292
292
|
return new DataSourceOrderItem(item);
|
|
293
|
-
})) !== null &&
|
|
294
|
-
var
|
|
295
|
-
this.dataSet = (
|
|
293
|
+
})) !== null && _props_orders_map !== void 0 ? _props_orders_map : [];
|
|
294
|
+
var _props_dataSet_map;
|
|
295
|
+
this.dataSet = (_props_dataSet_map = (_props_dataSet = props.dataSet) === null || _props_dataSet === void 0 ? void 0 : _props_dataSet.map(function(item) {
|
|
296
296
|
return new DataSourceDataSetValue(item);
|
|
297
|
-
})) !== null &&
|
|
297
|
+
})) !== null && _props_dataSet_map !== void 0 ? _props_dataSet_map : [];
|
|
298
298
|
};
|
|
299
299
|
/**
|
|
300
300
|
* 给filters和orders赋值
|
|
301
301
|
* */ function callFiltersAndOrders(props) {
|
|
302
|
-
var
|
|
303
|
-
var
|
|
304
|
-
this.filters = (
|
|
302
|
+
var _props_filters;
|
|
303
|
+
var _props_filters_map;
|
|
304
|
+
this.filters = (_props_filters_map = props === null || props === void 0 ? void 0 : (_props_filters = props.filters) === null || _props_filters === void 0 ? void 0 : _props_filters.map(function(item) {
|
|
305
305
|
if (item.children !== undefined) {
|
|
306
306
|
return new FieldFilterConditions(item);
|
|
307
307
|
}
|
|
308
308
|
return new FieldFilterCondition(item);
|
|
309
|
-
})) !== null &&
|
|
309
|
+
})) !== null && _props_filters_map !== void 0 ? _props_filters_map : [];
|
|
310
310
|
if (_instanceof(this, DataSourceBind) || _instanceof(this, FillPayloadBind)) {
|
|
311
|
-
var
|
|
312
|
-
var
|
|
313
|
-
this.orders = (
|
|
311
|
+
var _props_orders;
|
|
312
|
+
var _props_orders_map;
|
|
313
|
+
this.orders = (_props_orders_map = props === null || props === void 0 ? void 0 : (_props_orders = props.orders) === null || _props_orders === void 0 ? void 0 : _props_orders.map(function(item) {
|
|
314
314
|
return new DataSourceOrderItem(item);
|
|
315
|
-
})) !== null &&
|
|
315
|
+
})) !== null && _props_orders_map !== void 0 ? _props_orders_map : [];
|
|
316
316
|
}
|
|
317
317
|
}
|
|
318
318
|
export var DataSourceBind = function DataSourceBind(props) {
|
|
319
319
|
"use strict";
|
|
320
320
|
var _this = this;
|
|
321
321
|
_classCallCheck(this, DataSourceBind);
|
|
322
|
-
var
|
|
323
|
-
this.dataCode = (
|
|
324
|
-
var
|
|
325
|
-
this.appId = (
|
|
326
|
-
var
|
|
327
|
-
this.valueFieldCode = (
|
|
322
|
+
var _props_dataCode;
|
|
323
|
+
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
|
|
324
|
+
var _props_appId;
|
|
325
|
+
this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : "";
|
|
326
|
+
var _props_valueFieldCode;
|
|
327
|
+
this.valueFieldCode = (_props_valueFieldCode = props === null || props === void 0 ? void 0 : props.valueFieldCode) !== null && _props_valueFieldCode !== void 0 ? _props_valueFieldCode : "";
|
|
328
328
|
this.displayBoList = [];
|
|
329
329
|
if (Array.isArray(props === null || props === void 0 ? void 0 : props.displayBoList)) {
|
|
330
330
|
props === null || props === void 0 ? void 0 : props.displayBoList.map(function(item) {
|
|
331
|
-
var
|
|
332
|
-
(
|
|
331
|
+
var _this_displayBoList;
|
|
332
|
+
(_this_displayBoList = _this.displayBoList) === null || _this_displayBoList === void 0 ? void 0 : _this_displayBoList.push(new DisplayBoListItem(item));
|
|
333
333
|
});
|
|
334
334
|
}
|
|
335
|
-
var
|
|
336
|
-
this.showOrder = (
|
|
337
|
-
var
|
|
338
|
-
this.svcCode = (
|
|
335
|
+
var _props_showOrder;
|
|
336
|
+
this.showOrder = (_props_showOrder = props === null || props === void 0 ? void 0 : props.showOrder) !== null && _props_showOrder !== void 0 ? _props_showOrder : true;
|
|
337
|
+
var _props_svcCode;
|
|
338
|
+
this.svcCode = (_props_svcCode = props === null || props === void 0 ? void 0 : props.svcCode) !== null && _props_svcCode !== void 0 ? _props_svcCode : "";
|
|
339
339
|
callFiltersAndOrders.call(this, props);
|
|
340
340
|
};
|
|
341
341
|
export var CustomAttributeItem = function CustomAttributeItem(props) {
|
|
342
342
|
"use strict";
|
|
343
343
|
_classCallCheck(this, CustomAttributeItem);
|
|
344
|
-
var
|
|
345
|
-
var
|
|
346
|
-
this.name = (
|
|
347
|
-
var
|
|
348
|
-
this.key = (
|
|
349
|
-
var
|
|
350
|
-
this.value = (
|
|
344
|
+
var _props_value;
|
|
345
|
+
var _props_name;
|
|
346
|
+
this.name = (_props_name = props === null || props === void 0 ? void 0 : props.name) !== null && _props_name !== void 0 ? _props_name : "";
|
|
347
|
+
var _props_key;
|
|
348
|
+
this.key = (_props_key = props === null || props === void 0 ? void 0 : props.key) !== null && _props_key !== void 0 ? _props_key : "";
|
|
349
|
+
var _props_value_map;
|
|
350
|
+
this.value = (_props_value_map = props === null || props === void 0 ? void 0 : (_props_value = props.value) === null || _props_value === void 0 ? void 0 : _props_value.map(function(item) {
|
|
351
351
|
return new DisplayBoListItem(item);
|
|
352
|
-
})) !== null &&
|
|
352
|
+
})) !== null && _props_value_map !== void 0 ? _props_value_map : [];
|
|
353
353
|
};
|
|
354
354
|
export var SuperDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
355
355
|
"use strict";
|
|
@@ -358,12 +358,12 @@ export var SuperDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
|
358
358
|
function SuperDataSourceBind(props) {
|
|
359
359
|
_classCallCheck(this, SuperDataSourceBind);
|
|
360
360
|
var _this;
|
|
361
|
-
var
|
|
361
|
+
var _props_attributes;
|
|
362
362
|
_this = _super.call(this, props);
|
|
363
|
-
var
|
|
364
|
-
_this.attributes = (
|
|
363
|
+
var _props_attributes_map;
|
|
364
|
+
_this.attributes = (_props_attributes_map = props === null || props === void 0 ? void 0 : (_props_attributes = props.attributes) === null || _props_attributes === void 0 ? void 0 : _props_attributes.map(function(item) {
|
|
365
365
|
return new CustomAttributeItem(item);
|
|
366
|
-
})) !== null &&
|
|
366
|
+
})) !== null && _props_attributes_map !== void 0 ? _props_attributes_map : [];
|
|
367
367
|
return _this;
|
|
368
368
|
}
|
|
369
369
|
return SuperDataSourceBind;
|
|
@@ -384,15 +384,15 @@ export var TreeDataSourceBind = /*#__PURE__*/ function(SuperDataSourceBind) {
|
|
|
384
384
|
var FillBind = function FillBind(props) {
|
|
385
385
|
"use strict";
|
|
386
386
|
_classCallCheck(this, FillBind);
|
|
387
|
-
var
|
|
388
|
-
var
|
|
389
|
-
this.dataCode = (
|
|
390
|
-
var
|
|
391
|
-
this.appId = (
|
|
392
|
-
var
|
|
393
|
-
this.fillList = (
|
|
387
|
+
var _props_fillList;
|
|
388
|
+
var _props_dataCode;
|
|
389
|
+
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
|
|
390
|
+
var _props_appId;
|
|
391
|
+
this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : "";
|
|
392
|
+
var _props_fillList_map;
|
|
393
|
+
this.fillList = (_props_fillList_map = props === null || props === void 0 ? void 0 : (_props_fillList = props.fillList) === null || _props_fillList === void 0 ? void 0 : _props_fillList.map(function(item) {
|
|
394
394
|
return new MultistageFillingItem(item);
|
|
395
|
-
})) !== null &&
|
|
395
|
+
})) !== null && _props_fillList_map !== void 0 ? _props_fillList_map : [];
|
|
396
396
|
};
|
|
397
397
|
/*
|
|
398
398
|
* 填充的配置和需要携带的数据
|
|
@@ -419,10 +419,10 @@ var FillBind = function FillBind(props) {
|
|
|
419
419
|
_classCallCheck(this, FillBackBind);
|
|
420
420
|
var _this;
|
|
421
421
|
_this = _super.call(this, props);
|
|
422
|
-
var
|
|
423
|
-
_this.mode = (
|
|
424
|
-
var
|
|
425
|
-
_this.multiple = (
|
|
422
|
+
var _props_mode;
|
|
423
|
+
_this.mode = (_props_mode = props === null || props === void 0 ? void 0 : props.mode) !== null && _props_mode !== void 0 ? _props_mode : "current";
|
|
424
|
+
var _props_multiple;
|
|
425
|
+
_this.multiple = (_props_multiple = props === null || props === void 0 ? void 0 : props.multiple) !== null && _props_multiple !== void 0 ? _props_multiple : false;
|
|
426
426
|
return _this;
|
|
427
427
|
}
|
|
428
428
|
return FillBackBind;
|
|
@@ -430,33 +430,33 @@ var FillBind = function FillBind(props) {
|
|
|
430
430
|
export var Language = function Language(props) {
|
|
431
431
|
"use strict";
|
|
432
432
|
_classCallCheck(this, Language);
|
|
433
|
-
var
|
|
434
|
-
this.zh = (
|
|
435
|
-
var
|
|
436
|
-
this.en = (
|
|
437
|
-
var
|
|
438
|
-
this.ja = (
|
|
433
|
+
var _props_zh;
|
|
434
|
+
this.zh = (_props_zh = props === null || props === void 0 ? void 0 : props.zh) !== null && _props_zh !== void 0 ? _props_zh : "";
|
|
435
|
+
var _props_en;
|
|
436
|
+
this.en = (_props_en = props === null || props === void 0 ? void 0 : props.en) !== null && _props_en !== void 0 ? _props_en : "";
|
|
437
|
+
var _props_ja;
|
|
438
|
+
this.ja = (_props_ja = props === null || props === void 0 ? void 0 : props.ja) !== null && _props_ja !== void 0 ? _props_ja : "";
|
|
439
439
|
};
|
|
440
440
|
export var RegularRules = function RegularRules(props) {
|
|
441
441
|
"use strict";
|
|
442
442
|
_classCallCheck(this, RegularRules);
|
|
443
|
-
var
|
|
444
|
-
this.stencilName = (
|
|
445
|
-
var
|
|
446
|
-
this.expression = (
|
|
447
|
-
var
|
|
448
|
-
this.errMessage = (
|
|
443
|
+
var _props_stencilName;
|
|
444
|
+
this.stencilName = (_props_stencilName = props === null || props === void 0 ? void 0 : props.stencilName) !== null && _props_stencilName !== void 0 ? _props_stencilName : "";
|
|
445
|
+
var _props_expression;
|
|
446
|
+
this.expression = (_props_expression = props === null || props === void 0 ? void 0 : props.expression) !== null && _props_expression !== void 0 ? _props_expression : "";
|
|
447
|
+
var _props_errMessage;
|
|
448
|
+
this.errMessage = (_props_errMessage = props === null || props === void 0 ? void 0 : props.errMessage) !== null && _props_errMessage !== void 0 ? _props_errMessage : "";
|
|
449
449
|
};
|
|
450
450
|
// 选项设置-自定义选项
|
|
451
451
|
export var OptionSetting = function OptionSetting(props) {
|
|
452
452
|
"use strict";
|
|
453
453
|
_classCallCheck(this, OptionSetting);
|
|
454
|
-
var
|
|
455
|
-
this.id = (
|
|
456
|
-
var
|
|
457
|
-
this.label = (
|
|
458
|
-
var
|
|
459
|
-
this.value = (
|
|
454
|
+
var _props_id;
|
|
455
|
+
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId(8);
|
|
456
|
+
var _props_label;
|
|
457
|
+
this.label = (_props_label = props === null || props === void 0 ? void 0 : props.label) !== null && _props_label !== void 0 ? _props_label : "";
|
|
458
|
+
var _props_value;
|
|
459
|
+
this.value = (_props_value = props === null || props === void 0 ? void 0 : props.value) !== null && _props_value !== void 0 ? _props_value : this.label;
|
|
460
460
|
};
|
|
461
461
|
export var ImageOptionSetting = /*#__PURE__*/ function(OptionSetting) {
|
|
462
462
|
"use strict";
|
|
@@ -466,25 +466,25 @@ export var ImageOptionSetting = /*#__PURE__*/ function(OptionSetting) {
|
|
|
466
466
|
_classCallCheck(this, ImageOptionSetting);
|
|
467
467
|
var _this;
|
|
468
468
|
_this = _super.call(this, props);
|
|
469
|
-
var
|
|
470
|
-
_this.image = (
|
|
471
|
-
var
|
|
472
|
-
_this.type = (
|
|
469
|
+
var _props_image;
|
|
470
|
+
_this.image = (_props_image = props === null || props === void 0 ? void 0 : props.image) !== null && _props_image !== void 0 ? _props_image : "";
|
|
471
|
+
var _props_type;
|
|
472
|
+
_this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "src";
|
|
473
473
|
return _this;
|
|
474
474
|
}
|
|
475
475
|
return ImageOptionSetting;
|
|
476
476
|
}(OptionSetting);
|
|
477
477
|
export function initOptions(options) {
|
|
478
|
-
var
|
|
479
|
-
return (
|
|
478
|
+
var _options_map;
|
|
479
|
+
return (_options_map = options === null || options === void 0 ? void 0 : options.map(function(item) {
|
|
480
480
|
return new OptionSetting(item);
|
|
481
|
-
})) !== null &&
|
|
481
|
+
})) !== null && _options_map !== void 0 ? _options_map : [];
|
|
482
482
|
}
|
|
483
483
|
export function initImageOptions(options) {
|
|
484
|
-
var
|
|
485
|
-
return (
|
|
484
|
+
var _options_map;
|
|
485
|
+
return (_options_map = options === null || options === void 0 ? void 0 : options.map(function(item) {
|
|
486
486
|
return new ImageOptionSetting(item);
|
|
487
|
-
})) !== null &&
|
|
487
|
+
})) !== null && _options_map !== void 0 ? _options_map : [];
|
|
488
488
|
}
|
|
489
489
|
export var ObjectDataBind = function ObjectDataBind() {
|
|
490
490
|
"use strict";
|
|
@@ -507,10 +507,10 @@ export var AmountDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
|
507
507
|
export var AmountValue = function AmountValue(props) {
|
|
508
508
|
"use strict";
|
|
509
509
|
_classCallCheck(this, AmountValue);
|
|
510
|
-
var
|
|
511
|
-
this.amount = (
|
|
512
|
-
var
|
|
513
|
-
this.currency = (
|
|
510
|
+
var _props_amount;
|
|
511
|
+
this.amount = (_props_amount = props === null || props === void 0 ? void 0 : props.amount) !== null && _props_amount !== void 0 ? _props_amount : "";
|
|
512
|
+
var _props_currency;
|
|
513
|
+
this.currency = (_props_currency = props === null || props === void 0 ? void 0 : props.currency) !== null && _props_currency !== void 0 ? _props_currency : AMOUNT_TYPE.CNY;
|
|
514
514
|
};
|
|
515
515
|
export var RangeDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
516
516
|
"use strict";
|
|
@@ -529,26 +529,26 @@ export var RangeDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
|
529
529
|
export var RangeDateValue = function RangeDateValue(props) {
|
|
530
530
|
"use strict";
|
|
531
531
|
_classCallCheck(this, RangeDateValue);
|
|
532
|
-
var
|
|
533
|
-
this.min = (
|
|
534
|
-
var
|
|
535
|
-
this.max = (
|
|
532
|
+
var _props_min;
|
|
533
|
+
this.min = (_props_min = props === null || props === void 0 ? void 0 : props.min) !== null && _props_min !== void 0 ? _props_min : "";
|
|
534
|
+
var _props_max;
|
|
535
|
+
this.max = (_props_max = props === null || props === void 0 ? void 0 : props.max) !== null && _props_max !== void 0 ? _props_max : "";
|
|
536
536
|
};
|
|
537
537
|
export var AddressValue = function AddressValue(props) {
|
|
538
538
|
"use strict";
|
|
539
539
|
_classCallCheck(this, AddressValue);
|
|
540
|
-
var
|
|
541
|
-
this.city = (
|
|
542
|
-
var
|
|
543
|
-
this.cityDisplay = (
|
|
544
|
-
var
|
|
545
|
-
this.district = (
|
|
546
|
-
var
|
|
547
|
-
this.districtDisplay = (
|
|
548
|
-
var
|
|
549
|
-
this.province = (
|
|
550
|
-
var
|
|
551
|
-
this.provinceDisplay = (
|
|
540
|
+
var _props_city;
|
|
541
|
+
this.city = (_props_city = props === null || props === void 0 ? void 0 : props.city) !== null && _props_city !== void 0 ? _props_city : "";
|
|
542
|
+
var _props_cityDisplay;
|
|
543
|
+
this.cityDisplay = (_props_cityDisplay = props === null || props === void 0 ? void 0 : props.cityDisplay) !== null && _props_cityDisplay !== void 0 ? _props_cityDisplay : "";
|
|
544
|
+
var _props_district;
|
|
545
|
+
this.district = (_props_district = props === null || props === void 0 ? void 0 : props.district) !== null && _props_district !== void 0 ? _props_district : "";
|
|
546
|
+
var _props_districtDisplay;
|
|
547
|
+
this.districtDisplay = (_props_districtDisplay = props === null || props === void 0 ? void 0 : props.districtDisplay) !== null && _props_districtDisplay !== void 0 ? _props_districtDisplay : "";
|
|
548
|
+
var _props_province;
|
|
549
|
+
this.province = (_props_province = props === null || props === void 0 ? void 0 : props.province) !== null && _props_province !== void 0 ? _props_province : "";
|
|
550
|
+
var _props_provinceDisplay;
|
|
551
|
+
this.provinceDisplay = (_props_provinceDisplay = props === null || props === void 0 ? void 0 : props.provinceDisplay) !== null && _props_provinceDisplay !== void 0 ? _props_provinceDisplay : "";
|
|
552
552
|
};
|
|
553
553
|
export var CalcDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
554
554
|
"use strict";
|
|
@@ -567,10 +567,10 @@ export var CalcDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
|
567
567
|
export var CalcValue = function CalcValue(props) {
|
|
568
568
|
"use strict";
|
|
569
569
|
_classCallCheck(this, CalcValue);
|
|
570
|
-
var
|
|
571
|
-
this.result = (
|
|
572
|
-
var
|
|
573
|
-
this.unit = (
|
|
570
|
+
var _props_result;
|
|
571
|
+
this.result = (_props_result = props === null || props === void 0 ? void 0 : props.result) !== null && _props_result !== void 0 ? _props_result : 0;
|
|
572
|
+
var _props_unit;
|
|
573
|
+
this.unit = (_props_unit = props === null || props === void 0 ? void 0 : props.unit) !== null && _props_unit !== void 0 ? _props_unit : "";
|
|
574
574
|
};
|
|
575
575
|
export var AMOUNT_TYPE;
|
|
576
576
|
(function(AMOUNT_TYPE) {
|
|
@@ -642,39 +642,39 @@ export var PAGE_STATUS;
|
|
|
642
642
|
export var OperationItem = function OperationItem(props) {
|
|
643
643
|
"use strict";
|
|
644
644
|
_classCallCheck(this, OperationItem);
|
|
645
|
-
var
|
|
646
|
-
this.id = (
|
|
647
|
-
var
|
|
648
|
-
this.type = (
|
|
649
|
-
var
|
|
650
|
-
this.isShow = (
|
|
645
|
+
var _props_id;
|
|
646
|
+
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId(8);
|
|
647
|
+
var _props_type;
|
|
648
|
+
this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "";
|
|
649
|
+
var _props_isShow;
|
|
650
|
+
this.isShow = (_props_isShow = props === null || props === void 0 ? void 0 : props.isShow) !== null && _props_isShow !== void 0 ? _props_isShow : true;
|
|
651
651
|
this.invalidType = props === null || props === void 0 ? void 0 : props.invalidType;
|
|
652
652
|
this.condition = props === null || props === void 0 ? void 0 : props.condition;
|
|
653
|
-
var
|
|
654
|
-
this.content = (
|
|
655
|
-
var
|
|
656
|
-
this.formKey = (
|
|
653
|
+
var _props_content;
|
|
654
|
+
this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : "";
|
|
655
|
+
var _props_formKey;
|
|
656
|
+
this.formKey = (_props_formKey = props === null || props === void 0 ? void 0 : props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : "";
|
|
657
657
|
this.icon = props === null || props === void 0 ? void 0 : props.icon;
|
|
658
658
|
this.showType = props === null || props === void 0 ? void 0 : props.showType;
|
|
659
|
-
var
|
|
660
|
-
this.openType = (
|
|
661
|
-
var
|
|
662
|
-
this.priorityProcess = (
|
|
659
|
+
var _props_openType;
|
|
660
|
+
this.openType = (_props_openType = props === null || props === void 0 ? void 0 : props.openType) !== null && _props_openType !== void 0 ? _props_openType : "modal";
|
|
661
|
+
var _props_priorityProcess;
|
|
662
|
+
this.priorityProcess = (_props_priorityProcess = props === null || props === void 0 ? void 0 : props.priorityProcess) !== null && _props_priorityProcess !== void 0 ? _props_priorityProcess : false;
|
|
663
663
|
this.needConfirm = props === null || props === void 0 ? void 0 : props.needConfirm;
|
|
664
664
|
this.confirmMessage = props === null || props === void 0 ? void 0 : props.confirmMessage;
|
|
665
665
|
};
|
|
666
666
|
export var ViewOperationItem = function ViewOperationItem(props) {
|
|
667
667
|
"use strict";
|
|
668
668
|
_classCallCheck(this, ViewOperationItem);
|
|
669
|
-
var
|
|
670
|
-
var
|
|
671
|
-
this.id = (
|
|
672
|
-
var
|
|
673
|
-
this.title = (
|
|
674
|
-
var
|
|
675
|
-
this.headers = (
|
|
669
|
+
var _props_headers;
|
|
670
|
+
var _props_id;
|
|
671
|
+
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId(8);
|
|
672
|
+
var _props_title;
|
|
673
|
+
this.title = (_props_title = props === null || props === void 0 ? void 0 : props.title) !== null && _props_title !== void 0 ? _props_title : "";
|
|
674
|
+
var _props_headers_map;
|
|
675
|
+
this.headers = (_props_headers_map = props === null || props === void 0 ? void 0 : (_props_headers = props.headers) === null || _props_headers === void 0 ? void 0 : _props_headers.map(function(item) {
|
|
676
676
|
return new ListBindHeaderItem(item);
|
|
677
|
-
})) !== null &&
|
|
677
|
+
})) !== null && _props_headers_map !== void 0 ? _props_headers_map : [];
|
|
678
678
|
callFiltersAndOrders.call(this, props);
|
|
679
679
|
};
|
|
680
680
|
/**
|
|
@@ -682,20 +682,20 @@ export var ViewOperationItem = function ViewOperationItem(props) {
|
|
|
682
682
|
*/ export var CustomPermissionItem = function CustomPermissionItem(props) {
|
|
683
683
|
"use strict";
|
|
684
684
|
_classCallCheck(this, CustomPermissionItem);
|
|
685
|
-
var
|
|
686
|
-
this.key = (
|
|
687
|
-
var
|
|
688
|
-
this.caption = (
|
|
685
|
+
var _props_key;
|
|
686
|
+
this.key = (_props_key = props.key) !== null && _props_key !== void 0 ? _props_key : genNonDuplicateId(8);
|
|
687
|
+
var _props_caption;
|
|
688
|
+
this.caption = (_props_caption = props.caption) !== null && _props_caption !== void 0 ? _props_caption : "";
|
|
689
689
|
};
|
|
690
690
|
export var BaseStyle = function BaseStyle(props) {
|
|
691
691
|
"use strict";
|
|
692
692
|
_classCallCheck(this, BaseStyle);
|
|
693
|
-
var
|
|
694
|
-
this.width = (
|
|
695
|
-
var
|
|
696
|
-
this.height = (
|
|
697
|
-
var
|
|
698
|
-
this.widthConfig = (
|
|
699
|
-
var
|
|
700
|
-
this.heightConfig = (
|
|
693
|
+
var _props_width;
|
|
694
|
+
this.width = (_props_width = props === null || props === void 0 ? void 0 : props.width) !== null && _props_width !== void 0 ? _props_width : "";
|
|
695
|
+
var _props_height;
|
|
696
|
+
this.height = (_props_height = props === null || props === void 0 ? void 0 : props.height) !== null && _props_height !== void 0 ? _props_height : "";
|
|
697
|
+
var _props_widthConfig;
|
|
698
|
+
this.widthConfig = (_props_widthConfig = props === null || props === void 0 ? void 0 : props.widthConfig) !== null && _props_widthConfig !== void 0 ? _props_widthConfig : "fill";
|
|
699
|
+
var _props_heightConfig;
|
|
700
|
+
this.heightConfig = (_props_heightConfig = props === null || props === void 0 ? void 0 : props.heightConfig) !== null && _props_heightConfig !== void 0 ? _props_heightConfig : "fill";
|
|
701
701
|
};
|