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