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