@byteluck-fe/model-driven-core 2.3.1-beta.2 → 2.3.1-beta.3

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