@byteluck-fe/model-driven-core 1.8.1-beta.2 → 2.0.1

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