@byteluck-fe/model-driven-core 2.5.0-beta.1 → 2.5.0-beta.4

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