@byteluck-fe/model-driven-core 2.2.2-beta.8 → 2.3.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 +68 -174
- 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 +12 -12
- 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 +18 -118
- package/dist/esm/common/ListControl/designer.js +17 -117
- package/dist/esm/common/initOptionAndDataSourceRules.js +8 -8
- package/dist/esm/framework/index.js +251 -249
- package/dist/index.umd.js +1 -1
- package/dist/types/common/ColumnControl/property.d.ts +1 -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 +1 -0
- package/dist/types/type.d.ts +23 -23
- package/package.json +3 -3
|
@@ -81,21 +81,21 @@ 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 ref;
|
|
85
|
+
this.dataCode = (ref = props === null || props === void 0 ? void 0 : props.dataCode) !== null && ref !== void 0 ? ref : "";
|
|
86
|
+
var ref1;
|
|
87
|
+
this.fieldCode = (ref1 = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && ref1 !== void 0 ? ref1 : "";
|
|
88
|
+
var ref2;
|
|
89
|
+
this.fieldType = (ref2 = props === null || props === void 0 ? void 0 : props.fieldType) !== null && ref2 !== void 0 ? ref2 : "";
|
|
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 ref;
|
|
95
|
+
this.minWidth = (ref = props === null || props === void 0 ? void 0 : props.minWidth) !== null && ref !== void 0 ? ref : 150;
|
|
96
96
|
this.maxWidth = props === null || props === void 0 ? void 0 : props.maxWidth;
|
|
97
|
-
var
|
|
98
|
-
this.flex = (
|
|
97
|
+
var ref1;
|
|
98
|
+
this.flex = (ref1 = props === null || props === void 0 ? void 0 : props.flex) !== null && ref1 !== void 0 ? ref1 : 1;
|
|
99
99
|
};
|
|
100
100
|
export var MetaWidth = /*#__PURE__*/ function(AutoWidth) {
|
|
101
101
|
"use strict";
|
|
@@ -105,8 +105,10 @@ export var MetaWidth = /*#__PURE__*/ function(AutoWidth) {
|
|
|
105
105
|
_classCallCheck(this, MetaWidth);
|
|
106
106
|
var _this;
|
|
107
107
|
_this = _super.call(this, props);
|
|
108
|
-
var
|
|
109
|
-
_this.width = (
|
|
108
|
+
var ref;
|
|
109
|
+
_this.width = (ref = props === null || props === void 0 ? void 0 : props.width) !== null && ref !== void 0 ? ref : 240;
|
|
110
|
+
var ref1;
|
|
111
|
+
_this.widthType = (ref1 = props === null || props === void 0 ? void 0 : props.widthType) !== null && ref1 !== void 0 ? ref1 : "auto";
|
|
110
112
|
return _this;
|
|
111
113
|
}
|
|
112
114
|
return MetaWidth;
|
|
@@ -115,29 +117,29 @@ export var MetaAutoWidth = function MetaAutoWidth(props) {
|
|
|
115
117
|
"use strict";
|
|
116
118
|
_classCallCheck(this, MetaAutoWidth);
|
|
117
119
|
this.pc = new MetaWidth(props === null || props === void 0 ? void 0 : props.pc);
|
|
118
|
-
var
|
|
119
|
-
this.mobile = (
|
|
120
|
+
var ref;
|
|
121
|
+
this.mobile = (ref = props === null || props === void 0 ? void 0 : props.mobile) !== null && ref !== void 0 ? ref : new MetaWidth({
|
|
120
122
|
width: 130,
|
|
121
|
-
minWidth:
|
|
123
|
+
minWidth: 180
|
|
122
124
|
});
|
|
123
125
|
};
|
|
124
126
|
export var DataStorageDoc = function DataStorageDoc(props) {
|
|
125
127
|
"use strict";
|
|
126
128
|
_classCallCheck(this, DataStorageDoc);
|
|
127
|
-
var
|
|
128
|
-
this.type = (
|
|
129
|
-
var
|
|
130
|
-
this.customOptions = (
|
|
129
|
+
var ref;
|
|
130
|
+
this.type = (ref = props === null || props === void 0 ? void 0 : props.type) !== null && ref !== void 0 ? ref : "firstThree";
|
|
131
|
+
var ref1;
|
|
132
|
+
this.customOptions = (ref1 = props === null || props === void 0 ? void 0 : props.customOptions) !== null && ref1 !== void 0 ? ref1 : [];
|
|
131
133
|
};
|
|
132
134
|
export var FormBind = function FormBind(props) {
|
|
133
135
|
"use strict";
|
|
134
136
|
_classCallCheck(this, FormBind);
|
|
135
|
-
var
|
|
136
|
-
this.dataCode = (
|
|
137
|
-
var
|
|
138
|
-
this.formKey = (
|
|
139
|
-
var
|
|
140
|
-
this.appId = (
|
|
137
|
+
var ref;
|
|
138
|
+
this.dataCode = (ref = props === null || props === void 0 ? void 0 : props.dataCode) !== null && ref !== void 0 ? ref : "";
|
|
139
|
+
var ref1;
|
|
140
|
+
this.formKey = (ref1 = props === null || props === void 0 ? void 0 : props.formKey) !== null && ref1 !== void 0 ? ref1 : "";
|
|
141
|
+
var ref2;
|
|
142
|
+
this.appId = (ref2 = props === null || props === void 0 ? void 0 : props.appId) !== null && ref2 !== void 0 ? ref2 : "";
|
|
141
143
|
};
|
|
142
144
|
export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
143
145
|
"use strict";
|
|
@@ -147,8 +149,8 @@ export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
|
147
149
|
_classCallCheck(this, FormSelectBind);
|
|
148
150
|
var _this;
|
|
149
151
|
_this = _super.call(this, props);
|
|
150
|
-
var
|
|
151
|
-
_this.primaryControlId = (
|
|
152
|
+
var ref;
|
|
153
|
+
_this.primaryControlId = (ref = props === null || props === void 0 ? void 0 : props.primaryControlId) !== null && ref !== void 0 ? ref : "";
|
|
152
154
|
return _this;
|
|
153
155
|
}
|
|
154
156
|
return FormSelectBind;
|
|
@@ -156,31 +158,31 @@ export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
|
156
158
|
var ListBindHeaderItem = function ListBindHeaderItem(props) {
|
|
157
159
|
"use strict";
|
|
158
160
|
_classCallCheck(this, ListBindHeaderItem);
|
|
159
|
-
var
|
|
160
|
-
this.fieldCode = (
|
|
161
|
+
var ref;
|
|
162
|
+
this.fieldCode = (ref = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && ref !== void 0 ? ref : "";
|
|
161
163
|
};
|
|
162
164
|
export var ListBind = function ListBind(props) {
|
|
163
165
|
"use strict";
|
|
164
166
|
_classCallCheck(this, ListBind);
|
|
165
|
-
var
|
|
166
|
-
var
|
|
167
|
-
this.appId = (
|
|
168
|
-
var
|
|
169
|
-
this.formKey = (
|
|
170
|
-
var
|
|
171
|
-
this.headers = (
|
|
167
|
+
var ref;
|
|
168
|
+
var ref1;
|
|
169
|
+
this.appId = (ref1 = props === null || props === void 0 ? void 0 : props.appId) !== null && ref1 !== void 0 ? ref1 : "";
|
|
170
|
+
var ref2;
|
|
171
|
+
this.formKey = (ref2 = props === null || props === void 0 ? void 0 : props.formKey) !== null && ref2 !== void 0 ? ref2 : "";
|
|
172
|
+
var ref3;
|
|
173
|
+
this.headers = (ref3 = props === null || props === void 0 ? void 0 : (ref = props.headers) === null || ref === void 0 ? void 0 : ref.map(function(item) {
|
|
172
174
|
return new ListBindHeaderItem(item);
|
|
173
|
-
})) !== null &&
|
|
175
|
+
})) !== null && ref3 !== void 0 ? ref3 : [];
|
|
174
176
|
};
|
|
175
177
|
export var FieldBindItem = function FieldBindItem(props) {
|
|
176
178
|
"use strict";
|
|
177
179
|
_classCallCheck(this, FieldBindItem);
|
|
178
|
-
var
|
|
179
|
-
this.fieldName = (
|
|
180
|
-
var
|
|
181
|
-
this.fieldCode = (
|
|
182
|
-
var
|
|
183
|
-
this.fieldType = (
|
|
180
|
+
var ref;
|
|
181
|
+
this.fieldName = (ref = props === null || props === void 0 ? void 0 : props.fieldName) !== null && ref !== void 0 ? ref : "";
|
|
182
|
+
var ref1;
|
|
183
|
+
this.fieldCode = (ref1 = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && ref1 !== void 0 ? ref1 : "";
|
|
184
|
+
var ref2;
|
|
185
|
+
this.fieldType = (ref2 = props === null || props === void 0 ? void 0 : props.fieldType) !== null && ref2 !== void 0 ? ref2 : FieldTypes.VARCHAR;
|
|
184
186
|
};
|
|
185
187
|
export var SubListItem = /*#__PURE__*/ function(FormBind) {
|
|
186
188
|
"use strict";
|
|
@@ -190,14 +192,14 @@ export var SubListItem = /*#__PURE__*/ function(FormBind) {
|
|
|
190
192
|
_classCallCheck(this, SubListItem);
|
|
191
193
|
var _this;
|
|
192
194
|
_this = _super.call(this, props);
|
|
193
|
-
var
|
|
194
|
-
_this.title = (
|
|
195
|
-
var
|
|
196
|
-
_this.svcCode = (
|
|
197
|
-
var
|
|
198
|
-
_this.isOpenFilter = (
|
|
199
|
-
var
|
|
200
|
-
_this.filters = (
|
|
195
|
+
var ref;
|
|
196
|
+
_this.title = (ref = props === null || props === void 0 ? void 0 : props.title) !== null && ref !== void 0 ? ref : "";
|
|
197
|
+
var ref1;
|
|
198
|
+
_this.svcCode = (ref1 = props === null || props === void 0 ? void 0 : props.svcCode) !== null && ref1 !== void 0 ? ref1 : "";
|
|
199
|
+
var ref2;
|
|
200
|
+
_this.isOpenFilter = (ref2 = props === null || props === void 0 ? void 0 : props.isOpenFilter) !== null && ref2 !== void 0 ? ref2 : false;
|
|
201
|
+
var ref3;
|
|
202
|
+
_this.filters = (ref3 = props === null || props === void 0 ? void 0 : props.filters) !== null && ref3 !== void 0 ? ref3 : [];
|
|
201
203
|
return _this;
|
|
202
204
|
}
|
|
203
205
|
return SubListItem;
|
|
@@ -205,17 +207,17 @@ export var SubListItem = /*#__PURE__*/ function(FormBind) {
|
|
|
205
207
|
export var SubListPageConfig = function SubListPageConfig(props) {
|
|
206
208
|
"use strict";
|
|
207
209
|
_classCallCheck(this, SubListPageConfig);
|
|
208
|
-
var
|
|
210
|
+
var ref, ref1;
|
|
209
211
|
this.type = "sublist-page";
|
|
210
212
|
this.formBind = new FormBind(props === null || props === void 0 ? void 0 : props.formBind);
|
|
211
|
-
var
|
|
212
|
-
this.displayFields = (
|
|
213
|
+
var ref2;
|
|
214
|
+
this.displayFields = (ref2 = props === null || props === void 0 ? void 0 : (ref = props.displayFields) === null || ref === void 0 ? void 0 : ref.map(function(item) {
|
|
213
215
|
return new FieldBindItem(item);
|
|
214
|
-
})) !== null &&
|
|
215
|
-
var
|
|
216
|
-
this.sublists = (
|
|
216
|
+
})) !== null && ref2 !== void 0 ? ref2 : [];
|
|
217
|
+
var ref3;
|
|
218
|
+
this.sublists = (ref3 = props === null || props === void 0 ? void 0 : (ref1 = props.sublists) === null || ref1 === void 0 ? void 0 : ref1.map(function(item) {
|
|
217
219
|
return new SubListItem(item);
|
|
218
|
-
})) !== null &&
|
|
220
|
+
})) !== null && ref3 !== void 0 ? ref3 : [];
|
|
219
221
|
};
|
|
220
222
|
export var LeftVariable = function LeftVariable(props) {
|
|
221
223
|
"use strict";
|
|
@@ -226,37 +228,37 @@ export var LeftVariable = function LeftVariable(props) {
|
|
|
226
228
|
export var RightVariable = function RightVariable(props) {
|
|
227
229
|
"use strict";
|
|
228
230
|
_classCallCheck(this, RightVariable);
|
|
229
|
-
var
|
|
230
|
-
this.type = (
|
|
231
|
-
var
|
|
232
|
-
this.value = (
|
|
233
|
-
var
|
|
234
|
-
this.displayBos = (
|
|
231
|
+
var ref;
|
|
232
|
+
this.type = (ref = props === null || props === void 0 ? void 0 : props.type) !== null && ref !== void 0 ? ref : "custom";
|
|
233
|
+
var ref1;
|
|
234
|
+
this.value = (ref1 = props === null || props === void 0 ? void 0 : props.value) !== null && ref1 !== void 0 ? ref1 : [];
|
|
235
|
+
var ref2;
|
|
236
|
+
this.displayBos = (ref2 = props === null || props === void 0 ? void 0 : props.displayBos) !== null && ref2 !== void 0 ? ref2 : [];
|
|
235
237
|
};
|
|
236
238
|
export var FieldFilterConditions = function FieldFilterConditions(props) {
|
|
237
239
|
"use strict";
|
|
238
240
|
var _this = this;
|
|
239
241
|
_classCallCheck(this, FieldFilterConditions);
|
|
240
242
|
this.type = "conditions";
|
|
241
|
-
var
|
|
242
|
-
this.id = (
|
|
243
|
-
var
|
|
244
|
-
this.ruleId = (
|
|
245
|
-
var
|
|
246
|
-
this.level = (
|
|
247
|
-
var
|
|
248
|
-
this.value = (
|
|
243
|
+
var ref;
|
|
244
|
+
this.id = (ref = props === null || props === void 0 ? void 0 : props.id) !== null && ref !== void 0 ? ref : genNonDuplicateId();
|
|
245
|
+
var ref1;
|
|
246
|
+
this.ruleId = (ref1 = props === null || props === void 0 ? void 0 : props.ruleId) !== null && ref1 !== void 0 ? ref1 : new Date().valueOf();
|
|
247
|
+
var ref2;
|
|
248
|
+
this.level = (ref2 = props === null || props === void 0 ? void 0 : props.level) !== null && ref2 !== void 0 ? ref2 : 0;
|
|
249
|
+
var ref3;
|
|
250
|
+
this.value = (ref3 = props === null || props === void 0 ? void 0 : props.value) !== null && ref3 !== void 0 ? ref3 : "and";
|
|
249
251
|
this.children = [];
|
|
250
252
|
if (Array.isArray(props === null || props === void 0 ? void 0 : props.children)) {
|
|
251
253
|
props === null || props === void 0 ? void 0 : props.children.map(function(item) {
|
|
252
254
|
if (item.children !== undefined) {
|
|
253
|
-
var
|
|
255
|
+
var ref;
|
|
254
256
|
var filter = new FieldFilterConditions(item);
|
|
255
|
-
(
|
|
257
|
+
(ref = _this.children) === null || ref === void 0 ? void 0 : ref.push(filter);
|
|
256
258
|
} else {
|
|
257
|
-
var
|
|
259
|
+
var ref1;
|
|
258
260
|
var filter1 = new FieldFilterCondition(item);
|
|
259
|
-
(
|
|
261
|
+
(ref1 = _this.children) === null || ref1 === void 0 ? void 0 : ref1.push(filter1);
|
|
260
262
|
}
|
|
261
263
|
});
|
|
262
264
|
}
|
|
@@ -265,132 +267,132 @@ export var FieldFilterCondition = function FieldFilterCondition(props) {
|
|
|
265
267
|
"use strict";
|
|
266
268
|
_classCallCheck(this, FieldFilterCondition);
|
|
267
269
|
this.type = "condition";
|
|
268
|
-
var
|
|
269
|
-
this.id = (
|
|
270
|
-
var
|
|
271
|
-
this.ruleId = (
|
|
272
|
-
var
|
|
273
|
-
this.symbol = (
|
|
274
|
-
var
|
|
275
|
-
this.checked = (
|
|
276
|
-
var
|
|
277
|
-
this.describe = (
|
|
270
|
+
var ref;
|
|
271
|
+
this.id = (ref = props === null || props === void 0 ? void 0 : props.id) !== null && ref !== void 0 ? ref : genNonDuplicateId();
|
|
272
|
+
var ref1;
|
|
273
|
+
this.ruleId = (ref1 = props === null || props === void 0 ? void 0 : props.ruleId) !== null && ref1 !== void 0 ? ref1 : new Date().valueOf();
|
|
274
|
+
var ref2;
|
|
275
|
+
this.symbol = (ref2 = props === null || props === void 0 ? void 0 : props.symbol) !== null && ref2 !== void 0 ? ref2 : "";
|
|
276
|
+
var ref3;
|
|
277
|
+
this.checked = (ref3 = props === null || props === void 0 ? void 0 : props.checked) !== null && ref3 !== void 0 ? ref3 : false;
|
|
278
|
+
var ref4;
|
|
279
|
+
this.describe = (ref4 = props === null || props === void 0 ? void 0 : props.describe) !== null && ref4 !== void 0 ? ref4 : "";
|
|
278
280
|
this.leftVariableBo = new LeftVariable(props === null || props === void 0 ? void 0 : props.leftVariableBo);
|
|
279
281
|
this.rightVariableBo = new RightVariable(props === null || props === void 0 ? void 0 : props.rightVariableBo);
|
|
280
282
|
};
|
|
281
283
|
export var MultistageFillingItem = function MultistageFillingItem(props) {
|
|
282
284
|
"use strict";
|
|
283
285
|
_classCallCheck(this, MultistageFillingItem);
|
|
284
|
-
var
|
|
285
|
-
this.controlId = (
|
|
286
|
-
var
|
|
287
|
-
this.fieldCode = (
|
|
288
|
-
var
|
|
289
|
-
this.fieldType = (
|
|
290
|
-
var
|
|
291
|
-
this.propName = (
|
|
286
|
+
var ref;
|
|
287
|
+
this.controlId = (ref = props === null || props === void 0 ? void 0 : props.controlId) !== null && ref !== void 0 ? ref : "";
|
|
288
|
+
var ref1;
|
|
289
|
+
this.fieldCode = (ref1 = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && ref1 !== void 0 ? ref1 : "";
|
|
290
|
+
var ref2;
|
|
291
|
+
this.fieldType = (ref2 = props === null || props === void 0 ? void 0 : props.fieldType) !== null && ref2 !== void 0 ? ref2 : "";
|
|
292
|
+
var ref3;
|
|
293
|
+
this.propName = (ref3 = props === null || props === void 0 ? void 0 : props.propName) !== null && ref3 !== void 0 ? ref3 : "";
|
|
292
294
|
};
|
|
293
295
|
export var DisplayBoListItem = function DisplayBoListItem(props) {
|
|
294
296
|
"use strict";
|
|
295
297
|
_classCallCheck(this, DisplayBoListItem);
|
|
296
|
-
var
|
|
297
|
-
this.type = (
|
|
298
|
-
var
|
|
299
|
-
this.value = (
|
|
298
|
+
var ref;
|
|
299
|
+
this.type = (ref = props === null || props === void 0 ? void 0 : props.type) !== null && ref !== void 0 ? ref : "FIELD";
|
|
300
|
+
var ref1;
|
|
301
|
+
this.value = (ref1 = props === null || props === void 0 ? void 0 : props.value) !== null && ref1 !== void 0 ? ref1 : "";
|
|
300
302
|
this.fieldType = props === null || props === void 0 ? void 0 : props.fieldType;
|
|
301
303
|
};
|
|
302
304
|
export var DataSourceOrderItem = function DataSourceOrderItem(props) {
|
|
303
305
|
"use strict";
|
|
304
306
|
_classCallCheck(this, DataSourceOrderItem);
|
|
305
|
-
var
|
|
306
|
-
this.columnName = (
|
|
307
|
-
var
|
|
308
|
-
this.desc = (
|
|
307
|
+
var _columnName;
|
|
308
|
+
this.columnName = (_columnName = props.columnName) !== null && _columnName !== void 0 ? _columnName : "";
|
|
309
|
+
var _desc;
|
|
310
|
+
this.desc = (_desc = props.desc) !== null && _desc !== void 0 ? _desc : false;
|
|
309
311
|
};
|
|
310
312
|
export var DataSourceDataSetValue = function DataSourceDataSetValue(props) {
|
|
311
313
|
"use strict";
|
|
312
314
|
_classCallCheck(this, DataSourceDataSetValue);
|
|
313
|
-
var
|
|
314
|
-
this.code = (
|
|
315
|
-
var
|
|
316
|
-
this.value = (
|
|
317
|
-
var
|
|
318
|
-
this.field_type = (
|
|
315
|
+
var _code;
|
|
316
|
+
this.code = (_code = props.code) !== null && _code !== void 0 ? _code : "";
|
|
317
|
+
var _value;
|
|
318
|
+
this.value = (_value = props.value) !== null && _value !== void 0 ? _value : "";
|
|
319
|
+
var _field_type;
|
|
320
|
+
this.field_type = (_field_type = props.field_type) !== null && _field_type !== void 0 ? _field_type : FieldTypes.ANY;
|
|
319
321
|
};
|
|
320
322
|
export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
321
323
|
"use strict";
|
|
322
324
|
_classCallCheck(this, DataSourceParamItem);
|
|
323
|
-
var
|
|
324
|
-
var
|
|
325
|
+
var ref, ref1;
|
|
326
|
+
var _id;
|
|
325
327
|
//字段ID,不可以当作随机数生成唯一编号
|
|
326
|
-
this.id = (
|
|
327
|
-
var
|
|
328
|
-
this.limit = (
|
|
329
|
-
var
|
|
330
|
-
this.formKey = (
|
|
331
|
-
var
|
|
332
|
-
this.orders = (
|
|
328
|
+
this.id = (_id = props.id) !== null && _id !== void 0 ? _id : "";
|
|
329
|
+
var _limit;
|
|
330
|
+
this.limit = (_limit = props.limit) !== null && _limit !== void 0 ? _limit : 20;
|
|
331
|
+
var _formKey;
|
|
332
|
+
this.formKey = (_formKey = props.formKey) !== null && _formKey !== void 0 ? _formKey : "";
|
|
333
|
+
var ref2;
|
|
334
|
+
this.orders = (ref2 = (ref = props.orders) === null || ref === void 0 ? void 0 : ref.map(function(item) {
|
|
333
335
|
return new DataSourceOrderItem(item);
|
|
334
|
-
})) !== null &&
|
|
335
|
-
var
|
|
336
|
-
this.dataSet = (
|
|
336
|
+
})) !== null && ref2 !== void 0 ? ref2 : [];
|
|
337
|
+
var ref3;
|
|
338
|
+
this.dataSet = (ref3 = (ref1 = props.dataSet) === null || ref1 === void 0 ? void 0 : ref1.map(function(item) {
|
|
337
339
|
return new DataSourceDataSetValue(item);
|
|
338
|
-
})) !== null &&
|
|
340
|
+
})) !== null && ref3 !== void 0 ? ref3 : [];
|
|
339
341
|
};
|
|
340
342
|
/**
|
|
341
343
|
* 给filters和orders赋值
|
|
342
344
|
* */ function callFiltersAndOrders(props) {
|
|
343
|
-
var
|
|
344
|
-
var
|
|
345
|
-
this.filters = (
|
|
345
|
+
var ref;
|
|
346
|
+
var ref1;
|
|
347
|
+
this.filters = (ref1 = props === null || props === void 0 ? void 0 : (ref = props.filters) === null || ref === void 0 ? void 0 : ref.map(function(item) {
|
|
346
348
|
if (item.children !== undefined) {
|
|
347
349
|
return new FieldFilterConditions(item);
|
|
348
350
|
}
|
|
349
351
|
return new FieldFilterCondition(item);
|
|
350
|
-
})) !== null &&
|
|
352
|
+
})) !== null && ref1 !== void 0 ? ref1 : [];
|
|
351
353
|
if (_instanceof(this, DataSourceBind) || _instanceof(this, FillPayloadBind)) {
|
|
352
|
-
var
|
|
353
|
-
var
|
|
354
|
-
this.orders = (
|
|
354
|
+
var ref2, ref3;
|
|
355
|
+
var ref4;
|
|
356
|
+
this.orders = (ref4 = (ref2 = props) === null || ref2 === void 0 ? void 0 : (ref3 = ref2.orders) === null || ref3 === void 0 ? void 0 : ref3.map(function(item) {
|
|
355
357
|
return new DataSourceOrderItem(item);
|
|
356
|
-
})) !== null &&
|
|
358
|
+
})) !== null && ref4 !== void 0 ? ref4 : [];
|
|
357
359
|
}
|
|
358
360
|
}
|
|
359
361
|
export var DataSourceBind = function DataSourceBind(props) {
|
|
360
362
|
"use strict";
|
|
361
363
|
var _this = this;
|
|
362
364
|
_classCallCheck(this, DataSourceBind);
|
|
363
|
-
var
|
|
364
|
-
this.dataCode = (
|
|
365
|
-
var
|
|
366
|
-
this.appId = (
|
|
367
|
-
var
|
|
368
|
-
this.valueFieldCode = (
|
|
365
|
+
var ref;
|
|
366
|
+
this.dataCode = (ref = props === null || props === void 0 ? void 0 : props.dataCode) !== null && ref !== void 0 ? ref : "";
|
|
367
|
+
var ref1;
|
|
368
|
+
this.appId = (ref1 = props === null || props === void 0 ? void 0 : props.appId) !== null && ref1 !== void 0 ? ref1 : "";
|
|
369
|
+
var ref2;
|
|
370
|
+
this.valueFieldCode = (ref2 = props === null || props === void 0 ? void 0 : props.valueFieldCode) !== null && ref2 !== void 0 ? ref2 : "";
|
|
369
371
|
this.displayBoList = [];
|
|
370
372
|
if (Array.isArray(props === null || props === void 0 ? void 0 : props.displayBoList)) {
|
|
371
373
|
props === null || props === void 0 ? void 0 : props.displayBoList.map(function(item) {
|
|
372
|
-
var
|
|
373
|
-
(
|
|
374
|
+
var ref;
|
|
375
|
+
(ref = _this.displayBoList) === null || ref === void 0 ? void 0 : ref.push(new DisplayBoListItem(item));
|
|
374
376
|
});
|
|
375
377
|
}
|
|
376
|
-
var
|
|
377
|
-
this.showOrder = (
|
|
378
|
-
var
|
|
379
|
-
this.svcCode = (
|
|
378
|
+
var ref3;
|
|
379
|
+
this.showOrder = (ref3 = props === null || props === void 0 ? void 0 : props.showOrder) !== null && ref3 !== void 0 ? ref3 : true;
|
|
380
|
+
var ref4;
|
|
381
|
+
this.svcCode = (ref4 = props === null || props === void 0 ? void 0 : props.svcCode) !== null && ref4 !== void 0 ? ref4 : "";
|
|
380
382
|
callFiltersAndOrders.call(this, props);
|
|
381
383
|
};
|
|
382
384
|
export var CustomAttributeItem = function CustomAttributeItem(props) {
|
|
383
385
|
"use strict";
|
|
384
386
|
_classCallCheck(this, CustomAttributeItem);
|
|
385
|
-
var
|
|
386
|
-
var
|
|
387
|
-
this.name = (
|
|
388
|
-
var
|
|
389
|
-
this.key = (
|
|
390
|
-
var
|
|
391
|
-
this.value = (
|
|
387
|
+
var ref;
|
|
388
|
+
var ref1;
|
|
389
|
+
this.name = (ref1 = props === null || props === void 0 ? void 0 : props.name) !== null && ref1 !== void 0 ? ref1 : "";
|
|
390
|
+
var ref2;
|
|
391
|
+
this.key = (ref2 = props === null || props === void 0 ? void 0 : props.key) !== null && ref2 !== void 0 ? ref2 : "";
|
|
392
|
+
var ref3;
|
|
393
|
+
this.value = (ref3 = props === null || props === void 0 ? void 0 : (ref = props.value) === null || ref === void 0 ? void 0 : ref.map(function(item) {
|
|
392
394
|
return new DisplayBoListItem(item);
|
|
393
|
-
})) !== null &&
|
|
395
|
+
})) !== null && ref3 !== void 0 ? ref3 : [];
|
|
394
396
|
};
|
|
395
397
|
export var SuperDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
396
398
|
"use strict";
|
|
@@ -399,12 +401,12 @@ export var SuperDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
|
399
401
|
function SuperDataSourceBind(props) {
|
|
400
402
|
_classCallCheck(this, SuperDataSourceBind);
|
|
401
403
|
var _this;
|
|
402
|
-
var
|
|
404
|
+
var ref;
|
|
403
405
|
_this = _super.call(this, props);
|
|
404
|
-
var
|
|
405
|
-
_this.attributes = (
|
|
406
|
+
var ref1;
|
|
407
|
+
_this.attributes = (ref1 = props === null || props === void 0 ? void 0 : (ref = props.attributes) === null || ref === void 0 ? void 0 : ref.map(function(item) {
|
|
406
408
|
return new CustomAttributeItem(item);
|
|
407
|
-
})) !== null &&
|
|
409
|
+
})) !== null && ref1 !== void 0 ? ref1 : [];
|
|
408
410
|
return _this;
|
|
409
411
|
}
|
|
410
412
|
return SuperDataSourceBind;
|
|
@@ -425,15 +427,15 @@ export var TreeDataSourceBind = /*#__PURE__*/ function(SuperDataSourceBind) {
|
|
|
425
427
|
var FillBind = function FillBind(props) {
|
|
426
428
|
"use strict";
|
|
427
429
|
_classCallCheck(this, FillBind);
|
|
428
|
-
var
|
|
429
|
-
var
|
|
430
|
-
this.dataCode = (
|
|
431
|
-
var
|
|
432
|
-
this.appId = (
|
|
433
|
-
var
|
|
434
|
-
this.fillList = (
|
|
430
|
+
var ref;
|
|
431
|
+
var ref1;
|
|
432
|
+
this.dataCode = (ref1 = props === null || props === void 0 ? void 0 : props.dataCode) !== null && ref1 !== void 0 ? ref1 : "";
|
|
433
|
+
var ref2;
|
|
434
|
+
this.appId = (ref2 = props === null || props === void 0 ? void 0 : props.appId) !== null && ref2 !== void 0 ? ref2 : "";
|
|
435
|
+
var ref3;
|
|
436
|
+
this.fillList = (ref3 = props === null || props === void 0 ? void 0 : (ref = props.fillList) === null || ref === void 0 ? void 0 : ref.map(function(item) {
|
|
435
437
|
return new MultistageFillingItem(item);
|
|
436
|
-
})) !== null &&
|
|
438
|
+
})) !== null && ref3 !== void 0 ? ref3 : [];
|
|
437
439
|
};
|
|
438
440
|
/*
|
|
439
441
|
* 填充的配置和需要携带的数据
|
|
@@ -460,10 +462,10 @@ var FillBind = function FillBind(props) {
|
|
|
460
462
|
_classCallCheck(this, FillBackBind);
|
|
461
463
|
var _this;
|
|
462
464
|
_this = _super.call(this, props);
|
|
463
|
-
var
|
|
464
|
-
_this.mode = (
|
|
465
|
-
var
|
|
466
|
-
_this.multiple = (
|
|
465
|
+
var ref;
|
|
466
|
+
_this.mode = (ref = props === null || props === void 0 ? void 0 : props.mode) !== null && ref !== void 0 ? ref : "current";
|
|
467
|
+
var ref1;
|
|
468
|
+
_this.multiple = (ref1 = props === null || props === void 0 ? void 0 : props.multiple) !== null && ref1 !== void 0 ? ref1 : false;
|
|
467
469
|
return _this;
|
|
468
470
|
}
|
|
469
471
|
return FillBackBind;
|
|
@@ -471,33 +473,33 @@ var FillBind = function FillBind(props) {
|
|
|
471
473
|
export var Language = function Language(props) {
|
|
472
474
|
"use strict";
|
|
473
475
|
_classCallCheck(this, Language);
|
|
474
|
-
var
|
|
475
|
-
this.zh = (
|
|
476
|
-
var
|
|
477
|
-
this.en = (
|
|
478
|
-
var
|
|
479
|
-
this.ja = (
|
|
476
|
+
var ref;
|
|
477
|
+
this.zh = (ref = props === null || props === void 0 ? void 0 : props.zh) !== null && ref !== void 0 ? ref : "";
|
|
478
|
+
var ref1;
|
|
479
|
+
this.en = (ref1 = props === null || props === void 0 ? void 0 : props.en) !== null && ref1 !== void 0 ? ref1 : "";
|
|
480
|
+
var ref2;
|
|
481
|
+
this.ja = (ref2 = props === null || props === void 0 ? void 0 : props.ja) !== null && ref2 !== void 0 ? ref2 : "";
|
|
480
482
|
};
|
|
481
483
|
export var RegularRules = function RegularRules(props) {
|
|
482
484
|
"use strict";
|
|
483
485
|
_classCallCheck(this, RegularRules);
|
|
484
|
-
var
|
|
485
|
-
this.stencilName = (
|
|
486
|
-
var
|
|
487
|
-
this.expression = (
|
|
488
|
-
var
|
|
489
|
-
this.errMessage = (
|
|
486
|
+
var ref;
|
|
487
|
+
this.stencilName = (ref = props === null || props === void 0 ? void 0 : props.stencilName) !== null && ref !== void 0 ? ref : "";
|
|
488
|
+
var ref1;
|
|
489
|
+
this.expression = (ref1 = props === null || props === void 0 ? void 0 : props.expression) !== null && ref1 !== void 0 ? ref1 : "";
|
|
490
|
+
var ref2;
|
|
491
|
+
this.errMessage = (ref2 = props === null || props === void 0 ? void 0 : props.errMessage) !== null && ref2 !== void 0 ? ref2 : "";
|
|
490
492
|
};
|
|
491
493
|
// 选项设置-自定义选项
|
|
492
494
|
export var OptionSetting = function OptionSetting(props) {
|
|
493
495
|
"use strict";
|
|
494
496
|
_classCallCheck(this, OptionSetting);
|
|
495
|
-
var
|
|
496
|
-
this.id = (
|
|
497
|
-
var
|
|
498
|
-
this.label = (
|
|
499
|
-
var
|
|
500
|
-
this.value = (
|
|
497
|
+
var ref;
|
|
498
|
+
this.id = (ref = props === null || props === void 0 ? void 0 : props.id) !== null && ref !== void 0 ? ref : genNonDuplicateId(8);
|
|
499
|
+
var ref1;
|
|
500
|
+
this.label = (ref1 = props === null || props === void 0 ? void 0 : props.label) !== null && ref1 !== void 0 ? ref1 : "";
|
|
501
|
+
var ref2;
|
|
502
|
+
this.value = (ref2 = props === null || props === void 0 ? void 0 : props.value) !== null && ref2 !== void 0 ? ref2 : this.label;
|
|
501
503
|
};
|
|
502
504
|
export var ImageOptionSetting = /*#__PURE__*/ function(OptionSetting) {
|
|
503
505
|
"use strict";
|
|
@@ -507,25 +509,25 @@ export var ImageOptionSetting = /*#__PURE__*/ function(OptionSetting) {
|
|
|
507
509
|
_classCallCheck(this, ImageOptionSetting);
|
|
508
510
|
var _this;
|
|
509
511
|
_this = _super.call(this, props);
|
|
510
|
-
var
|
|
511
|
-
_this.image = (
|
|
512
|
-
var
|
|
513
|
-
_this.type = (
|
|
512
|
+
var ref;
|
|
513
|
+
_this.image = (ref = props === null || props === void 0 ? void 0 : props.image) !== null && ref !== void 0 ? ref : "";
|
|
514
|
+
var ref1;
|
|
515
|
+
_this.type = (ref1 = props === null || props === void 0 ? void 0 : props.type) !== null && ref1 !== void 0 ? ref1 : "src";
|
|
514
516
|
return _this;
|
|
515
517
|
}
|
|
516
518
|
return ImageOptionSetting;
|
|
517
519
|
}(OptionSetting);
|
|
518
520
|
export function initOptions(options) {
|
|
519
|
-
var
|
|
520
|
-
return (
|
|
521
|
+
var ref;
|
|
522
|
+
return (ref = options === null || options === void 0 ? void 0 : options.map(function(item) {
|
|
521
523
|
return new OptionSetting(item);
|
|
522
|
-
})) !== null &&
|
|
524
|
+
})) !== null && ref !== void 0 ? ref : [];
|
|
523
525
|
}
|
|
524
526
|
export function initImageOptions(options) {
|
|
525
|
-
var
|
|
526
|
-
return (
|
|
527
|
+
var ref;
|
|
528
|
+
return (ref = options === null || options === void 0 ? void 0 : options.map(function(item) {
|
|
527
529
|
return new ImageOptionSetting(item);
|
|
528
|
-
})) !== null &&
|
|
530
|
+
})) !== null && ref !== void 0 ? ref : [];
|
|
529
531
|
}
|
|
530
532
|
export var ObjectDataBind = function ObjectDataBind() {
|
|
531
533
|
"use strict";
|
|
@@ -548,10 +550,10 @@ export var AmountDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
|
548
550
|
export var AmountValue = function AmountValue(props) {
|
|
549
551
|
"use strict";
|
|
550
552
|
_classCallCheck(this, AmountValue);
|
|
551
|
-
var
|
|
552
|
-
this.amount = (
|
|
553
|
-
var
|
|
554
|
-
this.currency = (
|
|
553
|
+
var ref;
|
|
554
|
+
this.amount = (ref = props === null || props === void 0 ? void 0 : props.amount) !== null && ref !== void 0 ? ref : "";
|
|
555
|
+
var ref1;
|
|
556
|
+
this.currency = (ref1 = props === null || props === void 0 ? void 0 : props.currency) !== null && ref1 !== void 0 ? ref1 : AMOUNT_TYPE.CNY;
|
|
555
557
|
};
|
|
556
558
|
export var RangeDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
557
559
|
"use strict";
|
|
@@ -570,26 +572,26 @@ export var RangeDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
|
570
572
|
export var RangeDateValue = function RangeDateValue(props) {
|
|
571
573
|
"use strict";
|
|
572
574
|
_classCallCheck(this, RangeDateValue);
|
|
573
|
-
var
|
|
574
|
-
this.min = (
|
|
575
|
-
var
|
|
576
|
-
this.max = (
|
|
575
|
+
var ref;
|
|
576
|
+
this.min = (ref = props === null || props === void 0 ? void 0 : props.min) !== null && ref !== void 0 ? ref : "";
|
|
577
|
+
var ref1;
|
|
578
|
+
this.max = (ref1 = props === null || props === void 0 ? void 0 : props.max) !== null && ref1 !== void 0 ? ref1 : "";
|
|
577
579
|
};
|
|
578
580
|
export var AddressValue = function AddressValue(props) {
|
|
579
581
|
"use strict";
|
|
580
582
|
_classCallCheck(this, AddressValue);
|
|
581
|
-
var
|
|
582
|
-
this.city = (
|
|
583
|
-
var
|
|
584
|
-
this.cityDisplay = (
|
|
585
|
-
var
|
|
586
|
-
this.district = (
|
|
587
|
-
var
|
|
588
|
-
this.districtDisplay = (
|
|
589
|
-
var
|
|
590
|
-
this.province = (
|
|
591
|
-
var
|
|
592
|
-
this.provinceDisplay = (
|
|
583
|
+
var ref;
|
|
584
|
+
this.city = (ref = props === null || props === void 0 ? void 0 : props.city) !== null && ref !== void 0 ? ref : "";
|
|
585
|
+
var ref1;
|
|
586
|
+
this.cityDisplay = (ref1 = props === null || props === void 0 ? void 0 : props.cityDisplay) !== null && ref1 !== void 0 ? ref1 : "";
|
|
587
|
+
var ref2;
|
|
588
|
+
this.district = (ref2 = props === null || props === void 0 ? void 0 : props.district) !== null && ref2 !== void 0 ? ref2 : "";
|
|
589
|
+
var ref3;
|
|
590
|
+
this.districtDisplay = (ref3 = props === null || props === void 0 ? void 0 : props.districtDisplay) !== null && ref3 !== void 0 ? ref3 : "";
|
|
591
|
+
var ref4;
|
|
592
|
+
this.province = (ref4 = props === null || props === void 0 ? void 0 : props.province) !== null && ref4 !== void 0 ? ref4 : "";
|
|
593
|
+
var ref5;
|
|
594
|
+
this.provinceDisplay = (ref5 = props === null || props === void 0 ? void 0 : props.provinceDisplay) !== null && ref5 !== void 0 ? ref5 : "";
|
|
593
595
|
};
|
|
594
596
|
export var CalcDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
595
597
|
"use strict";
|
|
@@ -608,10 +610,10 @@ export var CalcDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
|
608
610
|
export var CalcValue = function CalcValue(props) {
|
|
609
611
|
"use strict";
|
|
610
612
|
_classCallCheck(this, CalcValue);
|
|
611
|
-
var
|
|
612
|
-
this.result = (
|
|
613
|
-
var
|
|
614
|
-
this.unit = (
|
|
613
|
+
var ref;
|
|
614
|
+
this.result = (ref = props === null || props === void 0 ? void 0 : props.result) !== null && ref !== void 0 ? ref : 0;
|
|
615
|
+
var ref1;
|
|
616
|
+
this.unit = (ref1 = props === null || props === void 0 ? void 0 : props.unit) !== null && ref1 !== void 0 ? ref1 : "";
|
|
615
617
|
};
|
|
616
618
|
export var AMOUNT_TYPE;
|
|
617
619
|
(function(AMOUNT_TYPE) {
|
|
@@ -683,31 +685,31 @@ export var PAGE_STATUS;
|
|
|
683
685
|
export var OperationItem = function OperationItem(props) {
|
|
684
686
|
"use strict";
|
|
685
687
|
_classCallCheck(this, OperationItem);
|
|
686
|
-
var
|
|
687
|
-
this.isShow = (
|
|
688
|
-
var
|
|
689
|
-
this.content = (
|
|
690
|
-
var
|
|
691
|
-
this.formKey = (
|
|
692
|
-
var
|
|
693
|
-
this.openType = (
|
|
694
|
-
var
|
|
695
|
-
this.type = (
|
|
696
|
-
var
|
|
697
|
-
this.priorityProcess = (
|
|
688
|
+
var ref;
|
|
689
|
+
this.isShow = (ref = props === null || props === void 0 ? void 0 : props.isShow) !== null && ref !== void 0 ? ref : true;
|
|
690
|
+
var ref1;
|
|
691
|
+
this.content = (ref1 = props === null || props === void 0 ? void 0 : props.content) !== null && ref1 !== void 0 ? ref1 : "";
|
|
692
|
+
var ref2;
|
|
693
|
+
this.formKey = (ref2 = props === null || props === void 0 ? void 0 : props.formKey) !== null && ref2 !== void 0 ? ref2 : "";
|
|
694
|
+
var ref3;
|
|
695
|
+
this.openType = (ref3 = props === null || props === void 0 ? void 0 : props.openType) !== null && ref3 !== void 0 ? ref3 : "modal";
|
|
696
|
+
var ref4;
|
|
697
|
+
this.type = (ref4 = props === null || props === void 0 ? void 0 : props.type) !== null && ref4 !== void 0 ? ref4 : "";
|
|
698
|
+
var ref5;
|
|
699
|
+
this.priorityProcess = (ref5 = props === null || props === void 0 ? void 0 : props.priorityProcess) !== null && ref5 !== void 0 ? ref5 : false;
|
|
698
700
|
};
|
|
699
701
|
export var ViewOperationItem = function ViewOperationItem(props) {
|
|
700
702
|
"use strict";
|
|
701
703
|
_classCallCheck(this, ViewOperationItem);
|
|
702
|
-
var
|
|
703
|
-
var
|
|
704
|
-
this.id = (
|
|
705
|
-
var
|
|
706
|
-
this.title = (
|
|
707
|
-
var
|
|
708
|
-
this.headers = (
|
|
704
|
+
var ref;
|
|
705
|
+
var ref1;
|
|
706
|
+
this.id = (ref1 = props === null || props === void 0 ? void 0 : props.id) !== null && ref1 !== void 0 ? ref1 : genNonDuplicateId(8);
|
|
707
|
+
var ref2;
|
|
708
|
+
this.title = (ref2 = props === null || props === void 0 ? void 0 : props.title) !== null && ref2 !== void 0 ? ref2 : "";
|
|
709
|
+
var ref3;
|
|
710
|
+
this.headers = (ref3 = props === null || props === void 0 ? void 0 : (ref = props.headers) === null || ref === void 0 ? void 0 : ref.map(function(item) {
|
|
709
711
|
return new ListBindHeaderItem(item);
|
|
710
|
-
})) !== null &&
|
|
712
|
+
})) !== null && ref3 !== void 0 ? ref3 : [];
|
|
711
713
|
callFiltersAndOrders.call(this, props);
|
|
712
714
|
};
|
|
713
715
|
/**
|
|
@@ -715,20 +717,20 @@ export var ViewOperationItem = function ViewOperationItem(props) {
|
|
|
715
717
|
*/ export var CustomPermissionItem = function CustomPermissionItem(props) {
|
|
716
718
|
"use strict";
|
|
717
719
|
_classCallCheck(this, CustomPermissionItem);
|
|
718
|
-
var
|
|
719
|
-
this.key = (
|
|
720
|
-
var
|
|
721
|
-
this.caption = (
|
|
720
|
+
var _key;
|
|
721
|
+
this.key = (_key = props.key) !== null && _key !== void 0 ? _key : genNonDuplicateId(8);
|
|
722
|
+
var _caption;
|
|
723
|
+
this.caption = (_caption = props.caption) !== null && _caption !== void 0 ? _caption : "";
|
|
722
724
|
};
|
|
723
725
|
export var BaseStyle = function BaseStyle(props) {
|
|
724
726
|
"use strict";
|
|
725
727
|
_classCallCheck(this, BaseStyle);
|
|
726
|
-
var
|
|
727
|
-
this.width = (
|
|
728
|
-
var
|
|
729
|
-
this.height = (
|
|
730
|
-
var
|
|
731
|
-
this.widthConfig = (
|
|
732
|
-
var
|
|
733
|
-
this.heightConfig = (
|
|
728
|
+
var ref;
|
|
729
|
+
this.width = (ref = props === null || props === void 0 ? void 0 : props.width) !== null && ref !== void 0 ? ref : "";
|
|
730
|
+
var ref1;
|
|
731
|
+
this.height = (ref1 = props === null || props === void 0 ? void 0 : props.height) !== null && ref1 !== void 0 ? ref1 : "";
|
|
732
|
+
var ref2;
|
|
733
|
+
this.widthConfig = (ref2 = props === null || props === void 0 ? void 0 : props.widthConfig) !== null && ref2 !== void 0 ? ref2 : "fill";
|
|
734
|
+
var ref3;
|
|
735
|
+
this.heightConfig = (ref3 = props === null || props === void 0 ? void 0 : props.heightConfig) !== null && ref3 !== void 0 ? ref3 : "fill";
|
|
734
736
|
};
|