@byteluck-fe/model-driven-core 2.7.0-alpha.1 → 2.7.0-alpha.12

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.
Files changed (49) hide show
  1. package/dist/esm/api-doc-index.js +4 -4
  2. package/dist/esm/common/BaseControl/designer.js +254 -306
  3. package/dist/esm/common/BaseControl/index.js +7 -7
  4. package/dist/esm/common/BaseControl/property.js +10 -13
  5. package/dist/esm/common/BaseControl/runtime.js +16 -16
  6. package/dist/esm/common/ColumnControl/designer.js +5 -5
  7. package/dist/esm/common/ColumnControl/index.js +6 -6
  8. package/dist/esm/common/ColumnControl/property.js +36 -36
  9. package/dist/esm/common/ColumnControl/runtime.js +5 -5
  10. package/dist/esm/common/ControlArray.js +8 -8
  11. package/dist/esm/common/FormControl/designer.js +8 -8
  12. package/dist/esm/common/FormControl/index.js +6 -6
  13. package/dist/esm/common/FormControl/property.js +68 -73
  14. package/dist/esm/common/FormControl/runtime.js +5 -5
  15. package/dist/esm/common/LayoutControl/designer.js +102 -196
  16. package/dist/esm/common/LayoutControl/index.js +6 -6
  17. package/dist/esm/common/LayoutControl/property.js +3 -3
  18. package/dist/esm/common/LayoutControl/runtime.js +7 -7
  19. package/dist/esm/common/ListControl/designer.js +93 -184
  20. package/dist/esm/common/ListControl/index.js +6 -6
  21. package/dist/esm/common/ListControl/property.js +5 -5
  22. package/dist/esm/common/ListControl/runtime.js +7 -7
  23. package/dist/esm/common/SearchViewControl/designer.js +5 -5
  24. package/dist/esm/common/SearchViewControl/index.js +6 -6
  25. package/dist/esm/common/SearchViewControl/property.js +4 -4
  26. package/dist/esm/common/SearchViewControl/runtime.js +5 -5
  27. package/dist/esm/common/Validator.js +5 -5
  28. package/dist/esm/common/WrapControl/designer.js +5 -5
  29. package/dist/esm/common/WrapControl/index.js +6 -6
  30. package/dist/esm/common/WrapControl/property.js +3 -3
  31. package/dist/esm/common/WrapControl/runtime.js +5 -5
  32. package/dist/esm/common/controlHooksEmitter.js +1 -1
  33. package/dist/esm/common/index.js +12 -12
  34. package/dist/esm/common/initLinkOperationRules.js +6 -6
  35. package/dist/esm/common/initOptionAndDataSourceRules.js +82 -82
  36. package/dist/esm/framework/RegisterControls.js +196 -122
  37. package/dist/esm/framework/index.js +334 -345
  38. package/dist/esm/framework/isDataBind.js +7 -0
  39. package/dist/esm/index.js +4 -3
  40. package/dist/index.umd.js +1 -1
  41. package/dist/types/common/BaseControl/designer.d.ts +4 -0
  42. package/dist/types/common/ListControl/property.d.ts +1 -0
  43. package/dist/types/common/Validator.d.ts +1 -1
  44. package/dist/types/common/controlHooksEmitter.d.ts +1 -1
  45. package/dist/types/framework/index.d.ts +3 -2
  46. package/dist/types/framework/isDataBind.d.ts +2 -0
  47. package/dist/types/index.d.ts +1 -0
  48. package/dist/types/type.d.ts +23 -23
  49. package/package.json +3 -3
@@ -28,13 +28,6 @@ function _inherits(subClass, superClass) {
28
28
  });
29
29
  if (superClass) _setPrototypeOf(subClass, superClass);
30
30
  }
31
- function _instanceof(left, right) {
32
- if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
33
- return !!right[Symbol.hasInstance](left);
34
- } else {
35
- return left instanceof right;
36
- }
37
- }
38
31
  function _possibleConstructorReturn(self, call) {
39
32
  if (call && (_typeof(call) === "object" || typeof call === "function")) {
40
33
  return call;
@@ -76,30 +69,30 @@ function _createSuper(Derived) {
76
69
  return _possibleConstructorReturn(this, result);
77
70
  };
78
71
  }
79
- import { FieldTypes, genNonDuplicateId } from "@byteluck-fe/model-driven-shared";
80
- export * from "./RegisterControls";
72
+ import { FieldTypes, genNonDuplicateId } from '@byteluck-fe/model-driven-shared';
73
+ export * from './RegisterControls';
81
74
  /**
82
75
  * 数据绑定配置
83
76
  * @public
84
77
  */ export var DataBind = function DataBind(props) {
85
78
  "use strict";
86
79
  _classCallCheck(this, DataBind);
87
- var _props_dataCode;
88
- this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
89
- var _props_fieldCode;
90
- this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : "";
91
- var _props_fieldType;
92
- this.fieldType = (_props_fieldType = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _props_fieldType !== void 0 ? _props_fieldType : "";
80
+ var ref;
81
+ this.dataCode = (ref = props === null || props === void 0 ? void 0 : props.dataCode) !== null && ref !== void 0 ? ref : '';
82
+ var ref1;
83
+ this.fieldCode = (ref1 = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && ref1 !== void 0 ? ref1 : '';
84
+ var ref2;
85
+ this.fieldType = (ref2 = props === null || props === void 0 ? void 0 : props.fieldType) !== null && ref2 !== void 0 ? ref2 : '';
93
86
  this.aliasCode = props === null || props === void 0 ? void 0 : props.aliasCode;
94
87
  };
95
88
  export var AutoWidth = function AutoWidth(props) {
96
89
  "use strict";
97
90
  _classCallCheck(this, AutoWidth);
98
- var _props_minWidth;
99
- this.minWidth = (_props_minWidth = props === null || props === void 0 ? void 0 : props.minWidth) !== null && _props_minWidth !== void 0 ? _props_minWidth : 150;
91
+ var ref;
92
+ this.minWidth = (ref = props === null || props === void 0 ? void 0 : props.minWidth) !== null && ref !== void 0 ? ref : 150;
100
93
  this.maxWidth = props === null || props === void 0 ? void 0 : props.maxWidth;
101
- var _props_flex;
102
- this.flex = (_props_flex = props === null || props === void 0 ? void 0 : props.flex) !== null && _props_flex !== void 0 ? _props_flex : 1;
94
+ var ref3;
95
+ this.flex = (ref3 = props === null || props === void 0 ? void 0 : props.flex) !== null && ref3 !== void 0 ? ref3 : 1;
103
96
  };
104
97
  export var MetaWidth = /*#__PURE__*/ function(AutoWidth) {
105
98
  "use strict";
@@ -109,10 +102,10 @@ export var MetaWidth = /*#__PURE__*/ function(AutoWidth) {
109
102
  _classCallCheck(this, MetaWidth);
110
103
  var _this;
111
104
  _this = _super.call(this, props);
112
- var _props_width;
113
- _this.width = (_props_width = props === null || props === void 0 ? void 0 : props.width) !== null && _props_width !== void 0 ? _props_width : 240;
114
- var _props_widthType;
115
- _this.widthType = (_props_widthType = props === null || props === void 0 ? void 0 : props.widthType) !== null && _props_widthType !== void 0 ? _props_widthType : "auto";
105
+ var ref;
106
+ _this.width = (ref = props === null || props === void 0 ? void 0 : props.width) !== null && ref !== void 0 ? ref : 240;
107
+ var ref4;
108
+ _this.widthType = (ref4 = props === null || props === void 0 ? void 0 : props.widthType) !== null && ref4 !== void 0 ? ref4 : 'auto';
116
109
  return _this;
117
110
  }
118
111
  return MetaWidth;
@@ -129,20 +122,20 @@ export var MetaAutoWidth = function MetaAutoWidth(props) {
129
122
  export var DataStorageDoc = function DataStorageDoc(props) {
130
123
  "use strict";
131
124
  _classCallCheck(this, DataStorageDoc);
132
- var _props_type;
133
- this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "firstThree";
134
- var _props_customOptions;
135
- this.customOptions = (_props_customOptions = props === null || props === void 0 ? void 0 : props.customOptions) !== null && _props_customOptions !== void 0 ? _props_customOptions : [];
125
+ var ref;
126
+ this.type = (ref = props === null || props === void 0 ? void 0 : props.type) !== null && ref !== void 0 ? ref : 'firstThree';
127
+ var ref5;
128
+ this.customOptions = (ref5 = props === null || props === void 0 ? void 0 : props.customOptions) !== null && ref5 !== void 0 ? ref5 : [];
136
129
  };
137
130
  export var FormBind = function FormBind(props) {
138
131
  "use strict";
139
132
  _classCallCheck(this, FormBind);
140
- var _props_dataCode;
141
- this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
142
- var _props_formKey;
143
- this.formKey = (_props_formKey = props === null || props === void 0 ? void 0 : props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : "";
144
- var _props_appId;
145
- this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : "";
133
+ var ref;
134
+ this.dataCode = (ref = props === null || props === void 0 ? void 0 : props.dataCode) !== null && ref !== void 0 ? ref : '';
135
+ var ref6;
136
+ this.formKey = (ref6 = props === null || props === void 0 ? void 0 : props.formKey) !== null && ref6 !== void 0 ? ref6 : '';
137
+ var ref7;
138
+ this.appId = (ref7 = props === null || props === void 0 ? void 0 : props.appId) !== null && ref7 !== void 0 ? ref7 : '';
146
139
  };
147
140
  export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
148
141
  "use strict";
@@ -152,45 +145,42 @@ export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
152
145
  _classCallCheck(this, FormSelectBind);
153
146
  var _this;
154
147
  _this = _super.call(this, props);
155
- var _props_primaryControlId;
156
- _this.primaryControlId = (_props_primaryControlId = props === null || props === void 0 ? void 0 : props.primaryControlId) !== null && _props_primaryControlId !== void 0 ? _props_primaryControlId : "";
148
+ var ref;
149
+ _this.primaryControlId = (ref = props === null || props === void 0 ? void 0 : props.primaryControlId) !== null && ref !== void 0 ? ref : '';
157
150
  return _this;
158
151
  }
159
152
  return FormSelectBind;
160
153
  }(FormBind);
161
- /**
162
- * 列表绑定字段项
163
- * @public
164
- */ var ListBindHeaderItem = function ListBindHeaderItem(props) {
154
+ var ListBindHeaderItem = function ListBindHeaderItem(props) {
165
155
  "use strict";
166
156
  _classCallCheck(this, ListBindHeaderItem);
167
- var _props_fieldCode;
168
- this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : "";
157
+ var ref;
158
+ this.fieldCode = (ref = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && ref !== void 0 ? ref : '';
169
159
  };
170
160
  /**
171
161
  * 列表绑定配置
172
162
  */ export var ListBind = function ListBind(props) {
173
163
  "use strict";
174
164
  _classCallCheck(this, ListBind);
175
- var _props_headers;
176
- var _props_appId;
177
- this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : "";
178
- var _props_formKey;
179
- this.formKey = (_props_formKey = props === null || props === void 0 ? void 0 : props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : "";
180
- var _props_headers_map;
181
- 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) {
165
+ var ref;
166
+ var ref8;
167
+ this.appId = (ref8 = props === null || props === void 0 ? void 0 : props.appId) !== null && ref8 !== void 0 ? ref8 : '';
168
+ var ref9;
169
+ this.formKey = (ref9 = props === null || props === void 0 ? void 0 : props.formKey) !== null && ref9 !== void 0 ? ref9 : '';
170
+ var ref10;
171
+ this.headers = (ref10 = props === null || props === void 0 ? void 0 : (ref = props.headers) === null || ref === void 0 ? void 0 : ref.map(function(item) {
182
172
  return new ListBindHeaderItem(item);
183
- })) !== null && _props_headers_map !== void 0 ? _props_headers_map : [];
173
+ })) !== null && ref10 !== void 0 ? ref10 : [];
184
174
  };
185
175
  export var FieldBindItem = function FieldBindItem(props) {
186
176
  "use strict";
187
177
  _classCallCheck(this, FieldBindItem);
188
- var _props_fieldName;
189
- this.fieldName = (_props_fieldName = props === null || props === void 0 ? void 0 : props.fieldName) !== null && _props_fieldName !== void 0 ? _props_fieldName : "";
190
- var _props_fieldCode;
191
- this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : "";
192
- var _props_fieldType;
193
- this.fieldType = (_props_fieldType = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _props_fieldType !== void 0 ? _props_fieldType : FieldTypes.VARCHAR;
178
+ var ref;
179
+ this.fieldName = (ref = props === null || props === void 0 ? void 0 : props.fieldName) !== null && ref !== void 0 ? ref : '';
180
+ var ref11;
181
+ this.fieldCode = (ref11 = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && ref11 !== void 0 ? ref11 : '';
182
+ var ref12;
183
+ this.fieldType = (ref12 = props === null || props === void 0 ? void 0 : props.fieldType) !== null && ref12 !== void 0 ? ref12 : FieldTypes.VARCHAR;
194
184
  };
195
185
  export var SubListItem = /*#__PURE__*/ function(FormBind) {
196
186
  "use strict";
@@ -200,14 +190,14 @@ export var SubListItem = /*#__PURE__*/ function(FormBind) {
200
190
  _classCallCheck(this, SubListItem);
201
191
  var _this;
202
192
  _this = _super.call(this, props);
203
- var _props_title;
204
- _this.title = (_props_title = props === null || props === void 0 ? void 0 : props.title) !== null && _props_title !== void 0 ? _props_title : "";
205
- var _props_svcCode;
206
- _this.svcCode = (_props_svcCode = props === null || props === void 0 ? void 0 : props.svcCode) !== null && _props_svcCode !== void 0 ? _props_svcCode : "";
207
- var _props_isOpenFilter;
208
- _this.isOpenFilter = (_props_isOpenFilter = props === null || props === void 0 ? void 0 : props.isOpenFilter) !== null && _props_isOpenFilter !== void 0 ? _props_isOpenFilter : false;
209
- var _props_filters;
210
- _this.filters = (_props_filters = props === null || props === void 0 ? void 0 : props.filters) !== null && _props_filters !== void 0 ? _props_filters : [];
193
+ var ref;
194
+ _this.title = (ref = props === null || props === void 0 ? void 0 : props.title) !== null && ref !== void 0 ? ref : '';
195
+ var ref13;
196
+ _this.svcCode = (ref13 = props === null || props === void 0 ? void 0 : props.svcCode) !== null && ref13 !== void 0 ? ref13 : '';
197
+ var ref14;
198
+ _this.isOpenFilter = (ref14 = props === null || props === void 0 ? void 0 : props.isOpenFilter) !== null && ref14 !== void 0 ? ref14 : false;
199
+ var ref15;
200
+ _this.filters = (ref15 = props === null || props === void 0 ? void 0 : props.filters) !== null && ref15 !== void 0 ? ref15 : [];
211
201
  return _this;
212
202
  }
213
203
  return SubListItem;
@@ -215,17 +205,17 @@ export var SubListItem = /*#__PURE__*/ function(FormBind) {
215
205
  export var SubListPageConfig = function SubListPageConfig(props) {
216
206
  "use strict";
217
207
  _classCallCheck(this, SubListPageConfig);
218
- var _props_displayFields, _props_sublists;
219
- this.type = "sublist-page";
208
+ var ref, ref16;
209
+ this.type = 'sublist-page';
220
210
  this.formBind = new FormBind(props === null || props === void 0 ? void 0 : props.formBind);
221
- var _props_displayFields_map;
222
- 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) {
211
+ var ref17;
212
+ this.displayFields = (ref17 = props === null || props === void 0 ? void 0 : (ref = props.displayFields) === null || ref === void 0 ? void 0 : ref.map(function(item) {
223
213
  return new FieldBindItem(item);
224
- })) !== null && _props_displayFields_map !== void 0 ? _props_displayFields_map : [];
225
- var _props_sublists_map;
226
- 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) {
214
+ })) !== null && ref17 !== void 0 ? ref17 : [];
215
+ var ref18;
216
+ this.sublists = (ref18 = props === null || props === void 0 ? void 0 : (ref16 = props.sublists) === null || ref16 === void 0 ? void 0 : ref16.map(function(item) {
227
217
  return new SubListItem(item);
228
- })) !== null && _props_sublists_map !== void 0 ? _props_sublists_map : [];
218
+ })) !== null && ref18 !== void 0 ? ref18 : [];
229
219
  };
230
220
  export var LeftVariable = function LeftVariable(props) {
231
221
  "use strict";
@@ -236,43 +226,43 @@ export var LeftVariable = function LeftVariable(props) {
236
226
  export var RightVariable = function RightVariable(props) {
237
227
  "use strict";
238
228
  _classCallCheck(this, RightVariable);
239
- var _props_type;
240
- this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "custom";
241
- var _props_value;
242
- this.value = (_props_value = props === null || props === void 0 ? void 0 : props.value) !== null && _props_value !== void 0 ? _props_value : [];
243
- var _props_displayBos;
244
- this.displayBos = (_props_displayBos = props === null || props === void 0 ? void 0 : props.displayBos) !== null && _props_displayBos !== void 0 ? _props_displayBos : [];
229
+ var ref;
230
+ this.type = (ref = props === null || props === void 0 ? void 0 : props.type) !== null && ref !== void 0 ? ref : 'custom';
231
+ var ref19;
232
+ this.value = (ref19 = props === null || props === void 0 ? void 0 : props.value) !== null && ref19 !== void 0 ? ref19 : [];
233
+ var ref20;
234
+ this.displayBos = (ref20 = props === null || props === void 0 ? void 0 : props.displayBos) !== null && ref20 !== void 0 ? ref20 : [];
245
235
  };
246
236
  /**
247
237
  * 连接符条件
248
238
  * @public
249
239
  */ export var FieldFilterConditions = function FieldFilterConditions(props) {
250
240
  "use strict";
251
- var _this = this;
252
241
  _classCallCheck(this, FieldFilterConditions);
253
242
  /**
254
243
  * 类型:连接符条件
255
244
  * @defaultValue 'conditions'
256
- */ this.type = "conditions";
257
- var _props_id;
258
- this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId();
259
- var _props_ruleId;
260
- this.ruleId = (_props_ruleId = props === null || props === void 0 ? void 0 : props.ruleId) !== null && _props_ruleId !== void 0 ? _props_ruleId : new Date().valueOf();
261
- var _props_level;
262
- this.level = (_props_level = props === null || props === void 0 ? void 0 : props.level) !== null && _props_level !== void 0 ? _props_level : 0;
263
- var _props_value;
264
- this.value = (_props_value = props === null || props === void 0 ? void 0 : props.value) !== null && _props_value !== void 0 ? _props_value : "and";
245
+ */ this.type = 'conditions';
246
+ var ref25;
247
+ this.id = (ref25 = props === null || props === void 0 ? void 0 : props.id) !== null && ref25 !== void 0 ? ref25 : genNonDuplicateId();
248
+ var ref21;
249
+ this.ruleId = (ref21 = props === null || props === void 0 ? void 0 : props.ruleId) !== null && ref21 !== void 0 ? ref21 : new Date().valueOf();
250
+ var ref22;
251
+ this.level = (ref22 = props === null || props === void 0 ? void 0 : props.level) !== null && ref22 !== void 0 ? ref22 : 0;
252
+ var ref23;
253
+ this.value = (ref23 = props === null || props === void 0 ? void 0 : props.value) !== null && ref23 !== void 0 ? ref23 : 'and';
265
254
  this.children = [];
266
255
  if (Array.isArray(props === null || props === void 0 ? void 0 : props.children)) {
256
+ var _this = this;
267
257
  props === null || props === void 0 ? void 0 : props.children.map(function(item) {
268
258
  if (item.children !== undefined) {
269
- var _this_children;
259
+ var ref;
270
260
  var filter = new FieldFilterConditions(item);
271
- (_this_children = _this.children) === null || _this_children === void 0 ? void 0 : _this_children.push(filter);
261
+ (ref = _this.children) === null || ref === void 0 ? void 0 : ref.push(filter);
272
262
  } else {
273
- var _this_children1;
263
+ var ref24;
274
264
  var filter1 = new FieldFilterCondition(item);
275
- (_this_children1 = _this.children) === null || _this_children1 === void 0 ? void 0 : _this_children1.push(filter1);
265
+ (ref24 = _this.children) === null || ref24 === void 0 ? void 0 : ref24.push(filter1);
276
266
  }
277
267
  });
278
268
  }
@@ -286,28 +276,28 @@ export var RightVariable = function RightVariable(props) {
286
276
  /**
287
277
  * 类型
288
278
  * @defaultValue 'condition'
289
- */ this.type = "condition";
290
- var _props_id;
291
- this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId();
292
- var _props_ruleId;
293
- this.ruleId = (_props_ruleId = props === null || props === void 0 ? void 0 : props.ruleId) !== null && _props_ruleId !== void 0 ? _props_ruleId : new Date().valueOf();
294
- var _props_symbol;
295
- this.symbol = (_props_symbol = props === null || props === void 0 ? void 0 : props.symbol) !== null && _props_symbol !== void 0 ? _props_symbol : "";
296
- var _props_checked;
297
- this.checked = (_props_checked = props === null || props === void 0 ? void 0 : props.checked) !== null && _props_checked !== void 0 ? _props_checked : false;
298
- var _props_describe;
299
- this.describe = (_props_describe = props === null || props === void 0 ? void 0 : props.describe) !== null && _props_describe !== void 0 ? _props_describe : "";
279
+ */ this.type = 'condition';
280
+ var ref;
281
+ this.id = (ref = props === null || props === void 0 ? void 0 : props.id) !== null && ref !== void 0 ? ref : genNonDuplicateId();
282
+ var ref26;
283
+ this.ruleId = (ref26 = props === null || props === void 0 ? void 0 : props.ruleId) !== null && ref26 !== void 0 ? ref26 : new Date().valueOf();
284
+ var ref27;
285
+ this.symbol = (ref27 = props === null || props === void 0 ? void 0 : props.symbol) !== null && ref27 !== void 0 ? ref27 : '';
286
+ var ref28;
287
+ this.checked = (ref28 = props === null || props === void 0 ? void 0 : props.checked) !== null && ref28 !== void 0 ? ref28 : false;
288
+ var ref29;
289
+ this.describe = (ref29 = props === null || props === void 0 ? void 0 : props.describe) !== null && ref29 !== void 0 ? ref29 : '';
300
290
  this.leftVariableBo = new LeftVariable(props === null || props === void 0 ? void 0 : props.leftVariableBo);
301
291
  this.rightVariableBo = new RightVariable(props === null || props === void 0 ? void 0 : props.rightVariableBo);
302
292
  };
303
293
  export var JoinRelation = function JoinRelation(props) {
304
294
  "use strict";
305
295
  _classCallCheck(this, JoinRelation);
306
- var _props_aliasCode;
307
- this.aliasCode = (_props_aliasCode = props === null || props === void 0 ? void 0 : props.aliasCode) !== null && _props_aliasCode !== void 0 ? _props_aliasCode : "";
296
+ var ref;
297
+ this.aliasCode = (ref = props === null || props === void 0 ? void 0 : props.aliasCode) !== null && ref !== void 0 ? ref : '';
308
298
  this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
309
- var _props_relationFields;
310
- this.relationFields = (_props_relationFields = props === null || props === void 0 ? void 0 : props.relationFields) !== null && _props_relationFields !== void 0 ? _props_relationFields : [];
299
+ var ref30;
300
+ this.relationFields = (ref30 = props === null || props === void 0 ? void 0 : props.relationFields) !== null && ref30 !== void 0 ? ref30 : [];
311
301
  };
312
302
  /**
313
303
  * 数据填充项
@@ -315,14 +305,14 @@ export var JoinRelation = function JoinRelation(props) {
315
305
  */ export var MultistageFillingItem = function MultistageFillingItem(props) {
316
306
  "use strict";
317
307
  _classCallCheck(this, MultistageFillingItem);
318
- var _props_controlId;
319
- this.controlId = (_props_controlId = props === null || props === void 0 ? void 0 : props.controlId) !== null && _props_controlId !== void 0 ? _props_controlId : "";
320
- var _props_fieldCode;
321
- this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : "";
322
- var _props_fieldType;
323
- this.fieldType = (_props_fieldType = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _props_fieldType !== void 0 ? _props_fieldType : "";
324
- var _props_propName;
325
- this.propName = (_props_propName = props === null || props === void 0 ? void 0 : props.propName) !== null && _props_propName !== void 0 ? _props_propName : "";
308
+ var ref;
309
+ this.controlId = (ref = props === null || props === void 0 ? void 0 : props.controlId) !== null && ref !== void 0 ? ref : '';
310
+ var ref31;
311
+ this.fieldCode = (ref31 = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && ref31 !== void 0 ? ref31 : '';
312
+ var ref32;
313
+ this.fieldType = (ref32 = props === null || props === void 0 ? void 0 : props.fieldType) !== null && ref32 !== void 0 ? ref32 : '';
314
+ var ref33;
315
+ this.propName = (ref33 = props === null || props === void 0 ? void 0 : props.propName) !== null && ref33 !== void 0 ? ref33 : '';
326
316
  };
327
317
  /**
328
318
  * 显示项
@@ -330,10 +320,10 @@ export var JoinRelation = function JoinRelation(props) {
330
320
  */ export var DisplayBoListItem = function DisplayBoListItem(props) {
331
321
  "use strict";
332
322
  _classCallCheck(this, DisplayBoListItem);
333
- var _props_type;
334
- this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "FIELD";
335
- var _props_value;
336
- this.value = (_props_value = props === null || props === void 0 ? void 0 : props.value) !== null && _props_value !== void 0 ? _props_value : "";
323
+ var ref;
324
+ this.type = (ref = props === null || props === void 0 ? void 0 : props.type) !== null && ref !== void 0 ? ref : 'FIELD';
325
+ var ref34;
326
+ this.value = (ref34 = props === null || props === void 0 ? void 0 : props.value) !== null && ref34 !== void 0 ? ref34 : '';
337
327
  this.fieldType = props === null || props === void 0 ? void 0 : props.fieldType;
338
328
  };
339
329
  /**
@@ -342,141 +332,139 @@ export var JoinRelation = function JoinRelation(props) {
342
332
  */ export var DataSourceOrderItem = function DataSourceOrderItem(props) {
343
333
  "use strict";
344
334
  _classCallCheck(this, DataSourceOrderItem);
345
- var _props_columnName;
346
- this.columnName = (_props_columnName = props.columnName) !== null && _props_columnName !== void 0 ? _props_columnName : "";
347
- var _props_desc;
348
- this.desc = (_props_desc = props.desc) !== null && _props_desc !== void 0 ? _props_desc : false;
335
+ var _columnName;
336
+ this.columnName = (_columnName = props.columnName) !== null && _columnName !== void 0 ? _columnName : '';
337
+ var _desc;
338
+ this.desc = (_desc = props.desc) !== null && _desc !== void 0 ? _desc : false;
349
339
  };
350
340
  export var DataSourceDataSetValue = function DataSourceDataSetValue(props) {
351
341
  "use strict";
352
342
  _classCallCheck(this, DataSourceDataSetValue);
353
- var _props_code;
354
- this.code = (_props_code = props.code) !== null && _props_code !== void 0 ? _props_code : "";
355
- var _props_value;
356
- this.value = (_props_value = props.value) !== null && _props_value !== void 0 ? _props_value : "";
357
- var _props_field_type;
358
- this.field_type = (_props_field_type = props.field_type) !== null && _props_field_type !== void 0 ? _props_field_type : FieldTypes.ANY;
343
+ var _code;
344
+ this.code = (_code = props.code) !== null && _code !== void 0 ? _code : '';
345
+ var _value;
346
+ this.value = (_value = props.value) !== null && _value !== void 0 ? _value : '';
347
+ var _field_type;
348
+ this.field_type = (_field_type = props.field_type) !== null && _field_type !== void 0 ? _field_type : FieldTypes.ANY;
359
349
  };
360
350
  export var DataSourceParamItem = function DataSourceParamItem(props) {
361
351
  "use strict";
362
352
  _classCallCheck(this, DataSourceParamItem);
363
- var _props_orders, _props_dataSet;
364
- var _props_id;
353
+ var ref, ref35;
354
+ var _id;
365
355
  //字段ID,不可以当作随机数生成唯一编号
366
- this.id = (_props_id = props.id) !== null && _props_id !== void 0 ? _props_id : "";
367
- var _props_limit;
368
- this.limit = (_props_limit = props.limit) !== null && _props_limit !== void 0 ? _props_limit : 20;
369
- var _props_formKey;
370
- this.formKey = (_props_formKey = props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : "";
371
- var _props_orders_map;
372
- this.orders = (_props_orders_map = (_props_orders = props.orders) === null || _props_orders === void 0 ? void 0 : _props_orders.map(function(item) {
356
+ this.id = (_id = props.id) !== null && _id !== void 0 ? _id : '';
357
+ var _limit;
358
+ this.limit = (_limit = props.limit) !== null && _limit !== void 0 ? _limit : 20;
359
+ var _formKey;
360
+ this.formKey = (_formKey = props.formKey) !== null && _formKey !== void 0 ? _formKey : '';
361
+ var ref36;
362
+ this.orders = (ref36 = (ref = props.orders) === null || ref === void 0 ? void 0 : ref.map(function(item) {
373
363
  return new DataSourceOrderItem(item);
374
- })) !== null && _props_orders_map !== void 0 ? _props_orders_map : [];
375
- var _props_dataSet_map;
376
- this.dataSet = (_props_dataSet_map = (_props_dataSet = props.dataSet) === null || _props_dataSet === void 0 ? void 0 : _props_dataSet.map(function(item) {
364
+ })) !== null && ref36 !== void 0 ? ref36 : [];
365
+ var ref37;
366
+ this.dataSet = (ref37 = (ref35 = props.dataSet) === null || ref35 === void 0 ? void 0 : ref35.map(function(item) {
377
367
  return new DataSourceDataSetValue(item);
378
- })) !== null && _props_dataSet_map !== void 0 ? _props_dataSet_map : [];
368
+ })) !== null && ref37 !== void 0 ? ref37 : [];
379
369
  };
380
370
  /**
381
371
  * 给filters和orders赋值
382
372
  * */ function callFiltersAndOrders(props) {
383
- var _props_filters, _props_viewFilters;
384
- var _props_filters_map;
385
- 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) {
373
+ var ref, ref38, ref39, ref40;
374
+ var ref41;
375
+ this.filters = (ref41 = props === null || props === void 0 ? void 0 : (ref = props.filters) === null || ref === void 0 ? void 0 : ref.map(function(item) {
386
376
  if (item.children !== undefined) {
387
377
  return new FieldFilterConditions(item);
388
378
  }
389
379
  return new FieldFilterCondition(item);
390
- })) !== null && _props_filters_map !== void 0 ? _props_filters_map : [];
391
- var _props_viewFilters_map;
392
- this.viewFilters = (_props_viewFilters_map = props === null || props === void 0 ? void 0 : (_props_viewFilters = props.viewFilters) === null || _props_viewFilters === void 0 ? void 0 : _props_viewFilters.map(function(item) {
380
+ })) !== null && ref41 !== void 0 ? ref41 : [];
381
+ var ref42;
382
+ this.viewFilters = (ref42 = props === null || props === void 0 ? void 0 : (ref38 = props.viewFilters) === null || ref38 === void 0 ? void 0 : ref38.map(function(item) {
393
383
  if (item.children !== undefined) {
394
384
  return new FieldFilterConditions(item);
395
385
  }
396
386
  return new FieldFilterCondition(item);
397
- })) !== null && _props_viewFilters_map !== void 0 ? _props_viewFilters_map : [];
398
- if (_instanceof(this, DataSourceBind) || _instanceof(this, FillPayloadBind)) {
399
- var _props_orders;
400
- var _props_orders_map;
401
- 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) {
402
- return new DataSourceOrderItem(item);
403
- })) !== null && _props_orders_map !== void 0 ? _props_orders_map : [];
404
- }
387
+ })) !== null && ref42 !== void 0 ? ref42 : [];
388
+ var ref43;
389
+ this.orders = (ref43 = (ref39 = props) === null || ref39 === void 0 ? void 0 : (ref40 = ref39.orders) === null || ref40 === void 0 ? void 0 : ref40.map(function(item) {
390
+ return new DataSourceOrderItem(item);
391
+ })) !== null && ref43 !== void 0 ? ref43 : [];
392
+ // }
405
393
  }
406
394
  /**
407
395
  * 数据源绑定配置
408
396
  * @public
409
397
  */ export var DataSourceBind = function DataSourceBind(props) {
410
398
  "use strict";
411
- var _this = this;
412
399
  _classCallCheck(this, DataSourceBind);
413
- var _props_dataCode;
414
- this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
415
- var _props_appId;
416
- this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : "";
417
- var _props_valueFieldCode;
418
- this.valueFieldCode = (_props_valueFieldCode = props === null || props === void 0 ? void 0 : props.valueFieldCode) !== null && _props_valueFieldCode !== void 0 ? _props_valueFieldCode : "";
400
+ var ref50;
401
+ this.dataCode = (ref50 = props === null || props === void 0 ? void 0 : props.dataCode) !== null && ref50 !== void 0 ? ref50 : '';
402
+ var ref44;
403
+ this.appId = (ref44 = props === null || props === void 0 ? void 0 : props.appId) !== null && ref44 !== void 0 ? ref44 : '';
404
+ var ref45;
405
+ this.valueFieldCode = (ref45 = props === null || props === void 0 ? void 0 : props.valueFieldCode) !== null && ref45 !== void 0 ? ref45 : '';
419
406
  this.displayBoList = [];
420
- var _props_isOpenViewFilters;
421
- this.isOpenViewFilters = (_props_isOpenViewFilters = props === null || props === void 0 ? void 0 : props.isOpenViewFilters) !== null && _props_isOpenViewFilters !== void 0 ? _props_isOpenViewFilters : 0;
407
+ var ref46;
408
+ this.isOpenViewFilters = (ref46 = props === null || props === void 0 ? void 0 : props.isOpenViewFilters) !== null && ref46 !== void 0 ? ref46 : 0;
422
409
  if (Array.isArray(props === null || props === void 0 ? void 0 : props.displayBoList)) {
410
+ var _this = this;
423
411
  props === null || props === void 0 ? void 0 : props.displayBoList.map(function(item) {
424
- var _this_displayBoList;
425
- (_this_displayBoList = _this.displayBoList) === null || _this_displayBoList === void 0 ? void 0 : _this_displayBoList.push(new DisplayBoListItem(item));
412
+ var ref;
413
+ (ref = _this.displayBoList) === null || ref === void 0 ? void 0 : ref.push(new DisplayBoListItem(item));
426
414
  });
427
415
  }
428
- var _props_keywordMapping;
429
- this.keywordMapping = (_props_keywordMapping = props === null || props === void 0 ? void 0 : props.keywordMapping) !== null && _props_keywordMapping !== void 0 ? _props_keywordMapping : "";
430
- var _props_showOrder;
431
- this.showOrder = (_props_showOrder = props === null || props === void 0 ? void 0 : props.showOrder) !== null && _props_showOrder !== void 0 ? _props_showOrder : true;
432
- var _props_svcCode;
433
- this.svcCode = (_props_svcCode = props === null || props === void 0 ? void 0 : props.svcCode) !== null && _props_svcCode !== void 0 ? _props_svcCode : "";
416
+ var ref47;
417
+ this.keywordMapping = (ref47 = props === null || props === void 0 ? void 0 : props.keywordMapping) !== null && ref47 !== void 0 ? ref47 : '';
418
+ var ref48;
419
+ this.showOrder = (ref48 = props === null || props === void 0 ? void 0 : props.showOrder) !== null && ref48 !== void 0 ? ref48 : true;
420
+ var ref49;
421
+ this.svcCode = (ref49 = props === null || props === void 0 ? void 0 : props.svcCode) !== null && ref49 !== void 0 ? ref49 : '';
434
422
  callFiltersAndOrders.call(this, props);
435
423
  };
436
424
  export var SelectedContentConfig = function SelectedContentConfig(props) {
437
425
  "use strict";
438
426
  _classCallCheck(this, SelectedContentConfig);
439
- var _props_dataCode;
440
- this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
441
- var _props_displayBoList;
442
- this.displayBoList = (_props_displayBoList = props === null || props === void 0 ? void 0 : props.displayBoList) !== null && _props_displayBoList !== void 0 ? _props_displayBoList : [];
427
+ var ref;
428
+ this.dataCode = (ref = props === null || props === void 0 ? void 0 : props.dataCode) !== null && ref !== void 0 ? ref : '';
429
+ var ref51;
430
+ this.displayBoList = (ref51 = props === null || props === void 0 ? void 0 : props.displayBoList) !== null && ref51 !== void 0 ? ref51 : [];
443
431
  };
444
432
  export var LinkOperationOption = function LinkOperationOption(props) {
445
433
  "use strict";
446
434
  _classCallCheck(this, LinkOperationOption);
447
- var _props_code;
448
- this.code = (_props_code = props === null || props === void 0 ? void 0 : props.code) !== null && _props_code !== void 0 ? _props_code : "view";
449
- var _props_color;
450
- this.color = (_props_color = props === null || props === void 0 ? void 0 : props.color) !== null && _props_color !== void 0 ? _props_color : "primary";
451
- var _props_command;
452
- this.command = (_props_command = props === null || props === void 0 ? void 0 : props.command) !== null && _props_command !== void 0 ? _props_command : "view";
453
- var _props_confirmMessage;
454
- this.confirmMessage = (_props_confirmMessage = props === null || props === void 0 ? void 0 : props.confirmMessage) !== null && _props_confirmMessage !== void 0 ? _props_confirmMessage : undefined;
455
- var _props_defaultState;
456
- this.defaultState = (_props_defaultState = props === null || props === void 0 ? void 0 : props.defaultState) !== null && _props_defaultState !== void 0 ? _props_defaultState : "default";
457
- var _props_formKey;
458
- this.formKey = (_props_formKey = props === null || props === void 0 ? void 0 : props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : undefined;
459
- var _props_icon;
460
- this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : "iconliulan1";
461
- var _props_needConfirm;
462
- this.needConfirm = (_props_needConfirm = props === null || props === void 0 ? void 0 : props.needConfirm) !== null && _props_needConfirm !== void 0 ? _props_needConfirm : false;
463
- var _props_openType;
464
- this.openType = (_props_openType = props === null || props === void 0 ? void 0 : props.openType) !== null && _props_openType !== void 0 ? _props_openType : "modal";
465
- var _props_priorityProcess;
466
- this.priorityProcess = (_props_priorityProcess = props === null || props === void 0 ? void 0 : props.priorityProcess) !== null && _props_priorityProcess !== void 0 ? _props_priorityProcess : true;
435
+ var ref;
436
+ this.code = (ref = props === null || props === void 0 ? void 0 : props.code) !== null && ref !== void 0 ? ref : 'view';
437
+ var ref52;
438
+ this.color = (ref52 = props === null || props === void 0 ? void 0 : props.color) !== null && ref52 !== void 0 ? ref52 : 'primary';
439
+ var ref53;
440
+ this.command = (ref53 = props === null || props === void 0 ? void 0 : props.command) !== null && ref53 !== void 0 ? ref53 : 'view';
441
+ var ref54;
442
+ this.confirmMessage = (ref54 = props === null || props === void 0 ? void 0 : props.confirmMessage) !== null && ref54 !== void 0 ? ref54 : undefined;
443
+ var ref55;
444
+ this.defaultState = (ref55 = props === null || props === void 0 ? void 0 : props.defaultState) !== null && ref55 !== void 0 ? ref55 : 'default';
445
+ var ref56;
446
+ this.formKey = (ref56 = props === null || props === void 0 ? void 0 : props.formKey) !== null && ref56 !== void 0 ? ref56 : undefined;
447
+ var ref57;
448
+ this.icon = (ref57 = props === null || props === void 0 ? void 0 : props.icon) !== null && ref57 !== void 0 ? ref57 : 'iconliulan1';
449
+ var ref58;
450
+ this.needConfirm = (ref58 = props === null || props === void 0 ? void 0 : props.needConfirm) !== null && ref58 !== void 0 ? ref58 : false;
451
+ var ref59;
452
+ this.openType = (ref59 = props === null || props === void 0 ? void 0 : props.openType) !== null && ref59 !== void 0 ? ref59 : 'modal';
453
+ var ref60;
454
+ this.priorityProcess = (ref60 = props === null || props === void 0 ? void 0 : props.priorityProcess) !== null && ref60 !== void 0 ? ref60 : true;
467
455
  };
468
456
  export var CustomAttributeItem = function CustomAttributeItem(props) {
469
457
  "use strict";
470
458
  _classCallCheck(this, CustomAttributeItem);
471
- var _props_value;
472
- var _props_name;
473
- this.name = (_props_name = props === null || props === void 0 ? void 0 : props.name) !== null && _props_name !== void 0 ? _props_name : "";
474
- var _props_key;
475
- this.key = (_props_key = props === null || props === void 0 ? void 0 : props.key) !== null && _props_key !== void 0 ? _props_key : "";
476
- var _props_value_map;
477
- 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) {
459
+ var ref;
460
+ var ref61;
461
+ this.name = (ref61 = props === null || props === void 0 ? void 0 : props.name) !== null && ref61 !== void 0 ? ref61 : '';
462
+ var ref62;
463
+ this.key = (ref62 = props === null || props === void 0 ? void 0 : props.key) !== null && ref62 !== void 0 ? ref62 : '';
464
+ var ref63;
465
+ this.value = (ref63 = props === null || props === void 0 ? void 0 : (ref = props.value) === null || ref === void 0 ? void 0 : ref.map(function(item) {
478
466
  return new DisplayBoListItem(item);
479
- })) !== null && _props_value_map !== void 0 ? _props_value_map : [];
467
+ })) !== null && ref63 !== void 0 ? ref63 : [];
480
468
  };
481
469
  export var SuperDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
482
470
  "use strict";
@@ -485,12 +473,12 @@ export var SuperDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
485
473
  function SuperDataSourceBind(props) {
486
474
  _classCallCheck(this, SuperDataSourceBind);
487
475
  var _this;
488
- var _props_attributes;
476
+ var ref;
489
477
  _this = _super.call(this, props);
490
- var _props_attributes_map;
491
- _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) {
478
+ var ref64;
479
+ _this.attributes = (ref64 = props === null || props === void 0 ? void 0 : (ref = props.attributes) === null || ref === void 0 ? void 0 : ref.map(function(item) {
492
480
  return new CustomAttributeItem(item);
493
- })) !== null && _props_attributes_map !== void 0 ? _props_attributes_map : [];
481
+ })) !== null && ref64 !== void 0 ? ref64 : [];
494
482
  return _this;
495
483
  }
496
484
  return SuperDataSourceBind;
@@ -502,14 +490,14 @@ export var OrganizationDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
502
490
  function OrganizationDataSourceBind(props) {
503
491
  _classCallCheck(this, OrganizationDataSourceBind);
504
492
  var _this;
505
- var _props_attributes;
493
+ var ref;
506
494
  _this = _super.call(this, props);
507
- var _props_attributes_map;
508
- _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) {
495
+ var ref65;
496
+ _this.attributes = (ref65 = props === null || props === void 0 ? void 0 : (ref = props.attributes) === null || ref === void 0 ? void 0 : ref.map(function(item) {
509
497
  return new CustomAttributeItem(item);
510
- })) !== null && _props_attributes_map !== void 0 ? _props_attributes_map : [];
511
- var _props_formCode;
512
- _this.formCode = (_props_formCode = props === null || props === void 0 ? void 0 : props.formCode) !== null && _props_formCode !== void 0 ? _props_formCode : "";
498
+ })) !== null && ref65 !== void 0 ? ref65 : [];
499
+ var ref66;
500
+ _this.formCode = (ref66 = props === null || props === void 0 ? void 0 : props.formCode) !== null && ref66 !== void 0 ? ref66 : '';
513
501
  return _this;
514
502
  }
515
503
  return OrganizationDataSourceBind;
@@ -523,8 +511,8 @@ export var TreeDataSourceBind = /*#__PURE__*/ function(SuperDataSourceBind) {
523
511
  var _this;
524
512
  _this = _super.call(this, props);
525
513
  _this.rootNode = new RightVariable(props === null || props === void 0 ? void 0 : props.rootNode);
526
- var _props_filterCode;
527
- _this.filterCode = (_props_filterCode = props === null || props === void 0 ? void 0 : props.filterCode) !== null && _props_filterCode !== void 0 ? _props_filterCode : "";
514
+ var ref;
515
+ _this.filterCode = (ref = props === null || props === void 0 ? void 0 : props.filterCode) !== null && ref !== void 0 ? ref : '';
528
516
  return _this;
529
517
  }
530
518
  return TreeDataSourceBind;
@@ -532,15 +520,15 @@ export var TreeDataSourceBind = /*#__PURE__*/ function(SuperDataSourceBind) {
532
520
  var FillBind = function FillBind(props) {
533
521
  "use strict";
534
522
  _classCallCheck(this, FillBind);
535
- var _props_fillList;
536
- var _props_dataCode;
537
- this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
538
- var _props_appId;
539
- this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : "";
540
- var _props_fillList_map;
541
- 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) {
523
+ var ref;
524
+ var ref67;
525
+ this.dataCode = (ref67 = props === null || props === void 0 ? void 0 : props.dataCode) !== null && ref67 !== void 0 ? ref67 : '';
526
+ var ref68;
527
+ this.appId = (ref68 = props === null || props === void 0 ? void 0 : props.appId) !== null && ref68 !== void 0 ? ref68 : '';
528
+ var ref69;
529
+ this.fillList = (ref69 = props === null || props === void 0 ? void 0 : (ref = props.fillList) === null || ref === void 0 ? void 0 : ref.map(function(item) {
542
530
  return new MultistageFillingItem(item);
543
- })) !== null && _props_fillList_map !== void 0 ? _props_fillList_map : [];
531
+ })) !== null && ref69 !== void 0 ? ref69 : [];
544
532
  };
545
533
  /**
546
534
  * FillPayloadBind 填充配置
@@ -570,10 +558,10 @@ var FillBind = function FillBind(props) {
570
558
  _classCallCheck(this, FillBackBind);
571
559
  var _this;
572
560
  _this = _super.call(this, props);
573
- var _props_mode;
574
- _this.mode = (_props_mode = props === null || props === void 0 ? void 0 : props.mode) !== null && _props_mode !== void 0 ? _props_mode : "current";
575
- var _props_multiple;
576
- _this.multiple = (_props_multiple = props === null || props === void 0 ? void 0 : props.multiple) !== null && _props_multiple !== void 0 ? _props_multiple : false;
561
+ var ref;
562
+ _this.mode = (ref = props === null || props === void 0 ? void 0 : props.mode) !== null && ref !== void 0 ? ref : 'current';
563
+ var ref70;
564
+ _this.multiple = (ref70 = props === null || props === void 0 ? void 0 : props.multiple) !== null && ref70 !== void 0 ? ref70 : false;
577
565
  return _this;
578
566
  }
579
567
  return FillBackBind;
@@ -581,12 +569,12 @@ var FillBind = function FillBind(props) {
581
569
  export var Language = function Language(props) {
582
570
  "use strict";
583
571
  _classCallCheck(this, Language);
584
- var _props_zh;
585
- this.zh = (_props_zh = props === null || props === void 0 ? void 0 : props.zh) !== null && _props_zh !== void 0 ? _props_zh : "";
586
- var _props_en;
587
- this.en = (_props_en = props === null || props === void 0 ? void 0 : props.en) !== null && _props_en !== void 0 ? _props_en : "";
588
- var _props_ja;
589
- this.ja = (_props_ja = props === null || props === void 0 ? void 0 : props.ja) !== null && _props_ja !== void 0 ? _props_ja : "";
572
+ var ref;
573
+ this.zh = (ref = props === null || props === void 0 ? void 0 : props.zh) !== null && ref !== void 0 ? ref : '';
574
+ var ref71;
575
+ this.en = (ref71 = props === null || props === void 0 ? void 0 : props.en) !== null && ref71 !== void 0 ? ref71 : '';
576
+ var ref72;
577
+ this.ja = (ref72 = props === null || props === void 0 ? void 0 : props.ja) !== null && ref72 !== void 0 ? ref72 : '';
590
578
  };
591
579
  /**
592
580
  * 正则校验
@@ -594,12 +582,12 @@ export var Language = function Language(props) {
594
582
  */ export var RegularRules = function RegularRules(props) {
595
583
  "use strict";
596
584
  _classCallCheck(this, RegularRules);
597
- var _props_stencilName;
598
- this.stencilName = (_props_stencilName = props === null || props === void 0 ? void 0 : props.stencilName) !== null && _props_stencilName !== void 0 ? _props_stencilName : "";
599
- var _props_expression;
600
- this.expression = (_props_expression = props === null || props === void 0 ? void 0 : props.expression) !== null && _props_expression !== void 0 ? _props_expression : "";
601
- var _props_errMessage;
602
- this.errMessage = (_props_errMessage = props === null || props === void 0 ? void 0 : props.errMessage) !== null && _props_errMessage !== void 0 ? _props_errMessage : "";
585
+ var ref;
586
+ this.stencilName = (ref = props === null || props === void 0 ? void 0 : props.stencilName) !== null && ref !== void 0 ? ref : '';
587
+ var ref73;
588
+ this.expression = (ref73 = props === null || props === void 0 ? void 0 : props.expression) !== null && ref73 !== void 0 ? ref73 : '';
589
+ var ref74;
590
+ this.errMessage = (ref74 = props === null || props === void 0 ? void 0 : props.errMessage) !== null && ref74 !== void 0 ? ref74 : '';
603
591
  };
604
592
  /**
605
593
  * 选项设置-自定义选项
@@ -607,12 +595,12 @@ export var Language = function Language(props) {
607
595
  */ export var OptionSetting = function OptionSetting(props) {
608
596
  "use strict";
609
597
  _classCallCheck(this, OptionSetting);
610
- var _props_id;
611
- this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId(8);
612
- var _props_label;
613
- this.label = (_props_label = props === null || props === void 0 ? void 0 : props.label) !== null && _props_label !== void 0 ? _props_label : "";
614
- var _props_value;
615
- this.value = (_props_value = props === null || props === void 0 ? void 0 : props.value) !== null && _props_value !== void 0 ? _props_value : this.label;
598
+ var ref;
599
+ this.id = (ref = props === null || props === void 0 ? void 0 : props.id) !== null && ref !== void 0 ? ref : genNonDuplicateId(8);
600
+ var ref75;
601
+ this.label = (ref75 = props === null || props === void 0 ? void 0 : props.label) !== null && ref75 !== void 0 ? ref75 : '';
602
+ var ref76;
603
+ this.value = (ref76 = props === null || props === void 0 ? void 0 : props.value) !== null && ref76 !== void 0 ? ref76 : this.label;
616
604
  };
617
605
  export var ImageOptionSetting = /*#__PURE__*/ function(OptionSetting) {
618
606
  "use strict";
@@ -622,25 +610,25 @@ export var ImageOptionSetting = /*#__PURE__*/ function(OptionSetting) {
622
610
  _classCallCheck(this, ImageOptionSetting);
623
611
  var _this;
624
612
  _this = _super.call(this, props);
625
- var _props_image;
626
- _this.image = (_props_image = props === null || props === void 0 ? void 0 : props.image) !== null && _props_image !== void 0 ? _props_image : "";
627
- var _props_type;
628
- _this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "src";
613
+ var ref;
614
+ _this.image = (ref = props === null || props === void 0 ? void 0 : props.image) !== null && ref !== void 0 ? ref : '';
615
+ var ref77;
616
+ _this.type = (ref77 = props === null || props === void 0 ? void 0 : props.type) !== null && ref77 !== void 0 ? ref77 : 'src';
629
617
  return _this;
630
618
  }
631
619
  return ImageOptionSetting;
632
620
  }(OptionSetting);
633
621
  export function initOptions(options) {
634
- var _options_map;
635
- return (_options_map = options === null || options === void 0 ? void 0 : options.map(function(item) {
622
+ var ref;
623
+ return (ref = options === null || options === void 0 ? void 0 : options.map(function(item) {
636
624
  return new OptionSetting(item);
637
- })) !== null && _options_map !== void 0 ? _options_map : [];
625
+ })) !== null && ref !== void 0 ? ref : [];
638
626
  }
639
627
  export function initImageOptions(options) {
640
- var _options_map;
641
- return (_options_map = options === null || options === void 0 ? void 0 : options.map(function(item) {
628
+ var ref;
629
+ return (ref = options === null || options === void 0 ? void 0 : options.map(function(item) {
642
630
  return new ImageOptionSetting(item);
643
- })) !== null && _options_map !== void 0 ? _options_map : [];
631
+ })) !== null && ref !== void 0 ? ref : [];
644
632
  }
645
633
  /**
646
634
  * 对象类型数据绑定配置
@@ -672,10 +660,10 @@ export function initImageOptions(options) {
672
660
  */ export var AmountValue = function AmountValue(props) {
673
661
  "use strict";
674
662
  _classCallCheck(this, AmountValue);
675
- var _props_amount;
676
- this.amount = (_props_amount = props === null || props === void 0 ? void 0 : props.amount) !== null && _props_amount !== void 0 ? _props_amount : "";
677
- var _props_currency;
678
- this.currency = (_props_currency = props === null || props === void 0 ? void 0 : props.currency) !== null && _props_currency !== void 0 ? _props_currency : AMOUNT_TYPE.CNY;
663
+ var ref;
664
+ this.amount = (ref = props === null || props === void 0 ? void 0 : props.amount) !== null && ref !== void 0 ? ref : '';
665
+ var ref78;
666
+ this.currency = (ref78 = props === null || props === void 0 ? void 0 : props.currency) !== null && ref78 !== void 0 ? ref78 : AMOUNT_TYPE.CNY;
679
667
  };
680
668
  /**
681
669
  * 日期区间数据绑定项
@@ -700,10 +688,10 @@ export function initImageOptions(options) {
700
688
  */ export var RangeDateValue = function RangeDateValue(props) {
701
689
  "use strict";
702
690
  _classCallCheck(this, RangeDateValue);
703
- var _props_min;
704
- this.min = (_props_min = props === null || props === void 0 ? void 0 : props.min) !== null && _props_min !== void 0 ? _props_min : "";
705
- var _props_max;
706
- this.max = (_props_max = props === null || props === void 0 ? void 0 : props.max) !== null && _props_max !== void 0 ? _props_max : "";
691
+ var ref;
692
+ this.min = (ref = props === null || props === void 0 ? void 0 : props.min) !== null && ref !== void 0 ? ref : '';
693
+ var ref79;
694
+ this.max = (ref79 = props === null || props === void 0 ? void 0 : props.max) !== null && ref79 !== void 0 ? ref79 : '';
707
695
  };
708
696
  /**
709
697
  * 地址值
@@ -711,18 +699,18 @@ export function initImageOptions(options) {
711
699
  */ export var AddressValue = function AddressValue(props) {
712
700
  "use strict";
713
701
  _classCallCheck(this, AddressValue);
714
- var _props_city;
715
- this.city = (_props_city = props === null || props === void 0 ? void 0 : props.city) !== null && _props_city !== void 0 ? _props_city : "";
716
- var _props_cityDisplay;
717
- this.cityDisplay = (_props_cityDisplay = props === null || props === void 0 ? void 0 : props.cityDisplay) !== null && _props_cityDisplay !== void 0 ? _props_cityDisplay : "";
718
- var _props_district;
719
- this.district = (_props_district = props === null || props === void 0 ? void 0 : props.district) !== null && _props_district !== void 0 ? _props_district : "";
720
- var _props_districtDisplay;
721
- this.districtDisplay = (_props_districtDisplay = props === null || props === void 0 ? void 0 : props.districtDisplay) !== null && _props_districtDisplay !== void 0 ? _props_districtDisplay : "";
722
- var _props_province;
723
- this.province = (_props_province = props === null || props === void 0 ? void 0 : props.province) !== null && _props_province !== void 0 ? _props_province : "";
724
- var _props_provinceDisplay;
725
- this.provinceDisplay = (_props_provinceDisplay = props === null || props === void 0 ? void 0 : props.provinceDisplay) !== null && _props_provinceDisplay !== void 0 ? _props_provinceDisplay : "";
702
+ var ref;
703
+ this.city = (ref = props === null || props === void 0 ? void 0 : props.city) !== null && ref !== void 0 ? ref : '';
704
+ var ref80;
705
+ this.cityDisplay = (ref80 = props === null || props === void 0 ? void 0 : props.cityDisplay) !== null && ref80 !== void 0 ? ref80 : '';
706
+ var ref81;
707
+ this.district = (ref81 = props === null || props === void 0 ? void 0 : props.district) !== null && ref81 !== void 0 ? ref81 : '';
708
+ var ref82;
709
+ this.districtDisplay = (ref82 = props === null || props === void 0 ? void 0 : props.districtDisplay) !== null && ref82 !== void 0 ? ref82 : '';
710
+ var ref83;
711
+ this.province = (ref83 = props === null || props === void 0 ? void 0 : props.province) !== null && ref83 !== void 0 ? ref83 : '';
712
+ var ref84;
713
+ this.provinceDisplay = (ref84 = props === null || props === void 0 ? void 0 : props.provinceDisplay) !== null && ref84 !== void 0 ? ref84 : '';
726
714
  };
727
715
  /**
728
716
  * 计算公式数据绑定项
@@ -747,10 +735,10 @@ export function initImageOptions(options) {
747
735
  */ export var CalcValue = function CalcValue(props) {
748
736
  "use strict";
749
737
  _classCallCheck(this, CalcValue);
750
- var _props_result;
751
- this.result = (_props_result = props === null || props === void 0 ? void 0 : props.result) !== null && _props_result !== void 0 ? _props_result : 0;
752
- var _props_unit;
753
- this.unit = (_props_unit = props === null || props === void 0 ? void 0 : props.unit) !== null && _props_unit !== void 0 ? _props_unit : "";
738
+ var ref;
739
+ this.result = (ref = props === null || props === void 0 ? void 0 : props.result) !== null && ref !== void 0 ? ref : 0;
740
+ var ref85;
741
+ this.unit = (ref85 = props === null || props === void 0 ? void 0 : props.unit) !== null && ref85 !== void 0 ? ref85 : '';
754
742
  };
755
743
  export var AMOUNT_TYPE;
756
744
  (function(AMOUNT_TYPE) {
@@ -784,35 +772,36 @@ export var AMOUNT_TYPE;
784
772
  })(AMOUNT_TYPE || (AMOUNT_TYPE = {}));
785
773
  export var COMMON_SETTING_TYPE;
786
774
  (function(COMMON_SETTING_TYPE) {
787
- COMMON_SETTING_TYPE["DEFAULT_DISPLAY"] = "defaultDisplay";
788
- COMMON_SETTING_TYPE["REQUIRED"] = "required";
789
- COMMON_SETTING_TYPE["IS_HIDE"] = "isHide";
790
- COMMON_SETTING_TYPE["IS_SHOW_UNIT"] = "isShowUnit";
791
- COMMON_SETTING_TYPE["IMD_SEARCH"] = "immediatelySearch";
792
- COMMON_SETTING_TYPE["MULTIPLE"] = "multiple";
793
- COMMON_SETTING_TYPE["SUBMIT_SELECT_CURRENCY"] = "submitSelectCurrency";
794
- COMMON_SETTING_TYPE["CAPTION"] = "caption";
795
- COMMON_SETTING_TYPE["IS_HIDE_CAPTION"] = "isHideCaption";
796
- COMMON_SETTING_TYPE["DEFAULT_SHOW_OPTIONS"] = "defaultShowOptions";
797
- COMMON_SETTING_TYPE["CAN_SEARCH"] = "canSearch";
798
- COMMON_SETTING_TYPE["CAN_CHECK"] = "canCheck";
799
- COMMON_SETTING_TYPE["CAN_EDIT"] = "canEdit";
800
- COMMON_SETTING_TYPE["CAN_DELETE"] = "canDelete";
801
- COMMON_SETTING_TYPE["SHOW_UPPER_CASE"] = "showUpperCase";
802
- COMMON_SETTING_TYPE["MICROMETER"] = "micrometer";
803
- COMMON_SETTING_TYPE["PRECISION"] = "precision";
804
- COMMON_SETTING_TYPE["PERCENTAGE"] = "percentage";
805
- COMMON_SETTING_TYPE["OPTIONAL_LEVEL"] = "optionalLevel";
806
- COMMON_SETTING_TYPE["CONTAINS_SUB_NODE"] = "containsSubNode";
807
- COMMON_SETTING_TYPE["DEFAULT_COLLAPSE"] = "defaultCollapse";
808
- COMMON_SETTING_TYPE["CAN_VIEW_FORM"] = "canViewForm";
809
- COMMON_SETTING_TYPE["VIEW_FORM_MODEL_TYPE"] = "viewFormModelType";
810
- COMMON_SETTING_TYPE["SERVER_PAGINATION"] = "serverPagination";
811
- COMMON_SETTING_TYPE["IS_SHOW_CAPTION_TIP"] = "isShowCaptionTip";
812
- COMMON_SETTING_TYPE["ENCRYPTED"] = "encrypted";
813
- COMMON_SETTING_TYPE["IS_INLINE_EDIT"] = "isInlineEdit";
814
- COMMON_SETTING_TYPE["REVISIONS_MODE"] = "revisionsMode";
815
- COMMON_SETTING_TYPE["ALLOW_COPY_OPTIONS"] = "allowCopyOptions";
775
+ COMMON_SETTING_TYPE["DEFAULT_DISPLAY"] = 'defaultDisplay';
776
+ COMMON_SETTING_TYPE["REQUIRED"] = 'required';
777
+ COMMON_SETTING_TYPE["IS_HIDE"] = 'isHide';
778
+ COMMON_SETTING_TYPE["IS_SHOW_UNIT"] = 'isShowUnit';
779
+ COMMON_SETTING_TYPE["IMD_SEARCH"] = 'immediatelySearch';
780
+ COMMON_SETTING_TYPE["MULTIPLE"] = 'multiple';
781
+ COMMON_SETTING_TYPE["SUBMIT_SELECT_CURRENCY"] = 'submitSelectCurrency';
782
+ COMMON_SETTING_TYPE["CAPTION"] = 'caption';
783
+ COMMON_SETTING_TYPE["IS_HIDE_CAPTION"] = 'isHideCaption';
784
+ COMMON_SETTING_TYPE["DEFAULT_SHOW_OPTIONS"] = 'defaultShowOptions';
785
+ COMMON_SETTING_TYPE["CAN_SEARCH"] = 'canSearch';
786
+ COMMON_SETTING_TYPE["CAN_CHECK"] = 'canCheck';
787
+ COMMON_SETTING_TYPE["CAN_EDIT"] = 'canEdit';
788
+ COMMON_SETTING_TYPE["CAN_DELETE"] = 'canDelete';
789
+ COMMON_SETTING_TYPE["SHOW_UPPER_CASE"] = 'showUpperCase';
790
+ COMMON_SETTING_TYPE["MICROMETER"] = 'micrometer';
791
+ COMMON_SETTING_TYPE["PRECISION"] = 'precision';
792
+ COMMON_SETTING_TYPE["PERCENTAGE"] = 'percentage';
793
+ COMMON_SETTING_TYPE["OPTIONAL_LEVEL"] = 'optionalLevel';
794
+ COMMON_SETTING_TYPE["CONTAINS_SUB_NODE"] = 'containsSubNode';
795
+ COMMON_SETTING_TYPE["DEFAULT_COLLAPSE"] = 'defaultCollapse';
796
+ COMMON_SETTING_TYPE["CAN_VIEW_FORM"] = 'canViewForm';
797
+ COMMON_SETTING_TYPE["VIEW_FORM_MODEL_TYPE"] = 'viewFormModelType';
798
+ COMMON_SETTING_TYPE["SERVER_PAGINATION"] = 'serverPagination';
799
+ COMMON_SETTING_TYPE["IS_SHOW_CAPTION_TIP"] = 'isShowCaptionTip';
800
+ COMMON_SETTING_TYPE["ENCRYPTED"] = 'encrypted';
801
+ COMMON_SETTING_TYPE["IS_INLINE_EDIT"] = 'isInlineEdit';
802
+ COMMON_SETTING_TYPE["REVISIONS_MODE"] = 'revisionsMode';
803
+ COMMON_SETTING_TYPE["ALLOW_COPY_OPTIONS"] = 'allowCopyOptions';
804
+ COMMON_SETTING_TYPE["IS_PASTE"] = 'isPaste';
816
805
  })(COMMON_SETTING_TYPE || (COMMON_SETTING_TYPE = {}));
817
806
  export var PAGE_STATUS;
818
807
  (function(PAGE_STATUS) {
@@ -827,31 +816,31 @@ export var PAGE_STATUS;
827
816
  */ export var OperationItem = function OperationItem(props) {
828
817
  "use strict";
829
818
  _classCallCheck(this, OperationItem);
830
- var _props_isShow;
831
- this.isShow = (_props_isShow = props === null || props === void 0 ? void 0 : props.isShow) !== null && _props_isShow !== void 0 ? _props_isShow : true;
832
- var _props_content;
833
- this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : "";
834
- var _props_formKey;
835
- this.formKey = (_props_formKey = props === null || props === void 0 ? void 0 : props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : "";
836
- var _props_openType;
837
- this.openType = (_props_openType = props === null || props === void 0 ? void 0 : props.openType) !== null && _props_openType !== void 0 ? _props_openType : "modal";
838
- var _props_type;
839
- this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "";
840
- var _props_priorityProcess;
841
- this.priorityProcess = (_props_priorityProcess = props === null || props === void 0 ? void 0 : props.priorityProcess) !== null && _props_priorityProcess !== void 0 ? _props_priorityProcess : false;
819
+ var ref;
820
+ this.isShow = (ref = props === null || props === void 0 ? void 0 : props.isShow) !== null && ref !== void 0 ? ref : true;
821
+ var ref86;
822
+ this.content = (ref86 = props === null || props === void 0 ? void 0 : props.content) !== null && ref86 !== void 0 ? ref86 : '';
823
+ var ref87;
824
+ this.formKey = (ref87 = props === null || props === void 0 ? void 0 : props.formKey) !== null && ref87 !== void 0 ? ref87 : '';
825
+ var ref88;
826
+ this.openType = (ref88 = props === null || props === void 0 ? void 0 : props.openType) !== null && ref88 !== void 0 ? ref88 : 'modal';
827
+ var ref89;
828
+ this.type = (ref89 = props === null || props === void 0 ? void 0 : props.type) !== null && ref89 !== void 0 ? ref89 : '';
829
+ var ref90;
830
+ this.priorityProcess = (ref90 = props === null || props === void 0 ? void 0 : props.priorityProcess) !== null && ref90 !== void 0 ? ref90 : false;
842
831
  };
843
832
  export var ViewOperationItem = function ViewOperationItem(props) {
844
833
  "use strict";
845
834
  _classCallCheck(this, ViewOperationItem);
846
- var _props_headers;
847
- var _props_id;
848
- this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId(8);
849
- var _props_title;
850
- this.title = (_props_title = props === null || props === void 0 ? void 0 : props.title) !== null && _props_title !== void 0 ? _props_title : "";
851
- var _props_headers_map;
852
- 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) {
835
+ var ref;
836
+ var ref91;
837
+ this.id = (ref91 = props === null || props === void 0 ? void 0 : props.id) !== null && ref91 !== void 0 ? ref91 : genNonDuplicateId(8);
838
+ var ref92;
839
+ this.title = (ref92 = props === null || props === void 0 ? void 0 : props.title) !== null && ref92 !== void 0 ? ref92 : '';
840
+ var ref93;
841
+ this.headers = (ref93 = props === null || props === void 0 ? void 0 : (ref = props.headers) === null || ref === void 0 ? void 0 : ref.map(function(item) {
853
842
  return new ListBindHeaderItem(item);
854
- })) !== null && _props_headers_map !== void 0 ? _props_headers_map : [];
843
+ })) !== null && ref93 !== void 0 ? ref93 : [];
855
844
  callFiltersAndOrders.call(this, props);
856
845
  };
857
846
  /**
@@ -859,28 +848,28 @@ export var ViewOperationItem = function ViewOperationItem(props) {
859
848
  */ export var CustomPermissionItem = function CustomPermissionItem(props) {
860
849
  "use strict";
861
850
  _classCallCheck(this, CustomPermissionItem);
862
- var _props_key;
863
- this.key = (_props_key = props.key) !== null && _props_key !== void 0 ? _props_key : genNonDuplicateId(8);
864
- var _props_caption;
865
- this.caption = (_props_caption = props.caption) !== null && _props_caption !== void 0 ? _props_caption : "";
851
+ var _key;
852
+ this.key = (_key = props.key) !== null && _key !== void 0 ? _key : genNonDuplicateId(8);
853
+ var _caption;
854
+ this.caption = (_caption = props.caption) !== null && _caption !== void 0 ? _caption : '';
866
855
  };
867
856
  export var BaseStyle = function BaseStyle(props) {
868
857
  "use strict";
869
858
  _classCallCheck(this, BaseStyle);
870
- var _props_width;
871
- this.width = (_props_width = props === null || props === void 0 ? void 0 : props.width) !== null && _props_width !== void 0 ? _props_width : "";
872
- var _props_height;
873
- this.height = (_props_height = props === null || props === void 0 ? void 0 : props.height) !== null && _props_height !== void 0 ? _props_height : "";
874
- var _props_widthConfig;
875
- this.widthConfig = (_props_widthConfig = props === null || props === void 0 ? void 0 : props.widthConfig) !== null && _props_widthConfig !== void 0 ? _props_widthConfig : "fill";
876
- var _props_heightConfig;
877
- this.heightConfig = (_props_heightConfig = props === null || props === void 0 ? void 0 : props.heightConfig) !== null && _props_heightConfig !== void 0 ? _props_heightConfig : "fill";
859
+ var ref;
860
+ this.width = (ref = props === null || props === void 0 ? void 0 : props.width) !== null && ref !== void 0 ? ref : '';
861
+ var ref94;
862
+ this.height = (ref94 = props === null || props === void 0 ? void 0 : props.height) !== null && ref94 !== void 0 ? ref94 : '';
863
+ var ref95;
864
+ this.widthConfig = (ref95 = props === null || props === void 0 ? void 0 : props.widthConfig) !== null && ref95 !== void 0 ? ref95 : 'fill';
865
+ var ref96;
866
+ this.heightConfig = (ref96 = props === null || props === void 0 ? void 0 : props.heightConfig) !== null && ref96 !== void 0 ? ref96 : 'fill';
878
867
  };
879
868
  export var OptObject = function OptObject(props) {
880
869
  "use strict";
881
870
  _classCallCheck(this, OptObject);
882
- var _props_optCode;
883
- this.optCode = (_props_optCode = props === null || props === void 0 ? void 0 : props.optCode) !== null && _props_optCode !== void 0 ? _props_optCode : "";
884
- var _props_optType;
885
- this.optType = (_props_optType = props === null || props === void 0 ? void 0 : props.optType) !== null && _props_optType !== void 0 ? _props_optType : "";
871
+ var ref;
872
+ this.optCode = (ref = props === null || props === void 0 ? void 0 : props.optCode) !== null && ref !== void 0 ? ref : '';
873
+ var ref97;
874
+ this.optType = (ref97 = props === null || props === void 0 ? void 0 : props.optType) !== null && ref97 !== void 0 ? ref97 : '';
886
875
  };