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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/dist/esm/common/BaseControl/designer.js +8 -7
  2. package/dist/esm/common/BaseControl/property.js +3 -4
  3. package/dist/esm/common/BaseControl/runtime.js +6 -7
  4. package/dist/esm/common/ColumnControl/designer.js +1 -2
  5. package/dist/esm/common/ColumnControl/property.js +10 -11
  6. package/dist/esm/common/ColumnControl/runtime.js +1 -2
  7. package/dist/esm/common/FormControl/designer.js +1 -2
  8. package/dist/esm/common/FormControl/property.js +14 -20
  9. package/dist/esm/common/FormControl/runtime.js +1 -2
  10. package/dist/esm/common/LayoutControl/designer.js +2 -3
  11. package/dist/esm/common/LayoutControl/runtime.js +2 -3
  12. package/dist/esm/common/ListControl/designer.js +11 -3
  13. package/dist/esm/common/ListControl/property.js +14 -2
  14. package/dist/esm/common/ListControl/runtime.js +2 -3
  15. package/dist/esm/common/SearchViewControl/designer.js +1 -2
  16. package/dist/esm/common/SearchViewControl/property.js +1 -2
  17. package/dist/esm/common/SearchViewControl/runtime.js +1 -2
  18. package/dist/esm/common/WrapControl/designer.js +1 -2
  19. package/dist/esm/common/WrapControl/runtime.js +1 -2
  20. package/dist/esm/framework/RegisterControls.js +22 -6
  21. package/dist/esm/framework/index.js +186 -196
  22. package/dist/esm/framework/isDataBind.js +7 -0
  23. package/dist/esm/index.js +1 -0
  24. package/dist/index.umd.js +1 -1
  25. package/dist/types/common/ColumnControl/property.d.ts +1 -1
  26. package/dist/types/common/ListControl/property.d.ts +5 -0
  27. package/dist/types/framework/index.d.ts +32 -2
  28. package/dist/types/framework/isDataBind.d.ts +2 -0
  29. package/dist/types/index.d.ts +1 -0
  30. package/dist/types/type.d.ts +1 -1
  31. package/package.json +3 -3
@@ -41,13 +41,6 @@ function _inherits(subClass, superClass) {
41
41
  });
42
42
  if (superClass) _set_prototype_of(subClass, superClass);
43
43
  }
44
- function _instanceof(left, right) {
45
- if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
46
- return !!right[Symbol.hasInstance](left);
47
- } else {
48
- return left instanceof right;
49
- }
50
- }
51
44
  function _possible_constructor_return(self, call) {
52
45
  if (call && (_type_of(call) === "object" || typeof call === "function")) {
53
46
  return call;
@@ -97,7 +90,6 @@ export * from "./RegisterControls";
97
90
  */ export var DataBind = function DataBind(props) {
98
91
  "use strict";
99
92
  _class_call_check(this, DataBind);
100
- var _props, _props1, _props2;
101
93
  /**
102
94
  * 数据模型编码
103
95
  * @defaultValue ''
@@ -113,25 +105,30 @@ export * from "./RegisterControls";
113
105
  * @defaultValue ''
114
106
  * @public
115
107
  */ _define_property(this, "fieldType", void 0);
108
+ /**
109
+ * 表别名
110
+ * @defaultValue undefined
111
+ * @public
112
+ */ _define_property(this, "aliasCode", void 0);
116
113
  var _props_dataCode;
117
- this.dataCode = (_props_dataCode = (_props = props) === null || _props === void 0 ? void 0 : _props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
114
+ this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
118
115
  var _props_fieldCode;
119
- this.fieldCode = (_props_fieldCode = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : "";
116
+ this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : "";
120
117
  var _props_fieldType;
121
- this.fieldType = (_props_fieldType = (_props2 = props) === null || _props2 === void 0 ? void 0 : _props2.fieldType) !== null && _props_fieldType !== void 0 ? _props_fieldType : "";
118
+ this.fieldType = (_props_fieldType = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _props_fieldType !== void 0 ? _props_fieldType : "";
119
+ this.aliasCode = props === null || props === void 0 ? void 0 : props.aliasCode;
122
120
  };
123
121
  export var AutoWidth = function AutoWidth(props) {
124
122
  "use strict";
125
123
  _class_call_check(this, AutoWidth);
126
- var _props, _props1, _props2;
127
124
  _define_property(this, "minWidth", void 0);
128
125
  _define_property(this, "maxWidth", void 0);
129
126
  _define_property(this, "flex", void 0);
130
127
  var _props_minWidth;
131
- this.minWidth = (_props_minWidth = (_props = props) === null || _props === void 0 ? void 0 : _props.minWidth) !== null && _props_minWidth !== void 0 ? _props_minWidth : 150;
132
- this.maxWidth = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.maxWidth;
128
+ this.minWidth = (_props_minWidth = props === null || props === void 0 ? void 0 : props.minWidth) !== null && _props_minWidth !== void 0 ? _props_minWidth : 150;
129
+ this.maxWidth = props === null || props === void 0 ? void 0 : props.maxWidth;
133
130
  var _props_flex;
134
- this.flex = (_props_flex = (_props2 = props) === null || _props2 === void 0 ? void 0 : _props2.flex) !== null && _props_flex !== void 0 ? _props_flex : 1;
131
+ this.flex = (_props_flex = props === null || props === void 0 ? void 0 : props.flex) !== null && _props_flex !== void 0 ? _props_flex : 1;
135
132
  };
136
133
  export var MetaWidth = /*#__PURE__*/ function(AutoWidth) {
137
134
  "use strict";
@@ -140,14 +137,13 @@ export var MetaWidth = /*#__PURE__*/ function(AutoWidth) {
140
137
  function MetaWidth(props) {
141
138
  _class_call_check(this, MetaWidth);
142
139
  var _this;
143
- var _props, _props1;
144
140
  _this = _super.call(this, props);
145
141
  _define_property(_assert_this_initialized(_this), "width", void 0);
146
142
  _define_property(_assert_this_initialized(_this), "widthType", void 0);
147
143
  var _props_width;
148
- _this.width = (_props_width = (_props = props) === null || _props === void 0 ? void 0 : _props.width) !== null && _props_width !== void 0 ? _props_width : 240;
144
+ _this.width = (_props_width = props === null || props === void 0 ? void 0 : props.width) !== null && _props_width !== void 0 ? _props_width : 240;
149
145
  var _props_widthType;
150
- _this.widthType = (_props_widthType = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.widthType) !== null && _props_widthType !== void 0 ? _props_widthType : "auto";
146
+ _this.widthType = (_props_widthType = props === null || props === void 0 ? void 0 : props.widthType) !== null && _props_widthType !== void 0 ? _props_widthType : "auto";
151
147
  return _this;
152
148
  }
153
149
  return MetaWidth;
@@ -155,11 +151,10 @@ export var MetaWidth = /*#__PURE__*/ function(AutoWidth) {
155
151
  export var MetaAutoWidth = function MetaAutoWidth(props) {
156
152
  "use strict";
157
153
  _class_call_check(this, MetaAutoWidth);
158
- var _props, _props1, _props2;
159
154
  _define_property(this, "pc", void 0);
160
155
  _define_property(this, "mobile", void 0);
161
- this.pc = new MetaWidth((_props = props) === null || _props === void 0 ? void 0 : _props.pc);
162
- this.mobile = ((_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.mobile) ? new MetaWidth((_props2 = props) === null || _props2 === void 0 ? void 0 : _props2.mobile) : new MetaWidth({
156
+ this.pc = new MetaWidth(props === null || props === void 0 ? void 0 : props.pc);
157
+ this.mobile = (props === null || props === void 0 ? void 0 : props.mobile) ? new MetaWidth(props === null || props === void 0 ? void 0 : props.mobile) : new MetaWidth({
163
158
  width: 130,
164
159
  minWidth: 180
165
160
  });
@@ -167,27 +162,25 @@ export var MetaAutoWidth = function MetaAutoWidth(props) {
167
162
  export var DataStorageDoc = function DataStorageDoc(props) {
168
163
  "use strict";
169
164
  _class_call_check(this, DataStorageDoc);
170
- var _props, _props1;
171
165
  _define_property(this, "type", void 0);
172
166
  _define_property(this, "customOptions", void 0);
173
167
  var _props_type;
174
- this.type = (_props_type = (_props = props) === null || _props === void 0 ? void 0 : _props.type) !== null && _props_type !== void 0 ? _props_type : "firstThree";
168
+ this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "firstThree";
175
169
  var _props_customOptions;
176
- this.customOptions = (_props_customOptions = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.customOptions) !== null && _props_customOptions !== void 0 ? _props_customOptions : [];
170
+ this.customOptions = (_props_customOptions = props === null || props === void 0 ? void 0 : props.customOptions) !== null && _props_customOptions !== void 0 ? _props_customOptions : [];
177
171
  };
178
172
  export var FormBind = function FormBind(props) {
179
173
  "use strict";
180
174
  _class_call_check(this, FormBind);
181
- var _props, _props1, _props2;
182
175
  _define_property(this, "dataCode", void 0);
183
176
  _define_property(this, "formKey", void 0);
184
177
  _define_property(this, "appId", void 0);
185
178
  var _props_dataCode;
186
- this.dataCode = (_props_dataCode = (_props = props) === null || _props === void 0 ? void 0 : _props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
179
+ this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
187
180
  var _props_formKey;
188
- this.formKey = (_props_formKey = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : "";
181
+ this.formKey = (_props_formKey = props === null || props === void 0 ? void 0 : props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : "";
189
182
  var _props_appId;
190
- this.appId = (_props_appId = (_props2 = props) === null || _props2 === void 0 ? void 0 : _props2.appId) !== null && _props_appId !== void 0 ? _props_appId : "";
183
+ this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : "";
191
184
  };
192
185
  export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
193
186
  "use strict";
@@ -196,11 +189,10 @@ export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
196
189
  function FormSelectBind(props) {
197
190
  _class_call_check(this, FormSelectBind);
198
191
  var _this;
199
- var _props;
200
192
  _this = _super.call(this, props);
201
193
  _define_property(_assert_this_initialized(_this), "primaryControlId", void 0);
202
194
  var _props_primaryControlId;
203
- _this.primaryControlId = (_props_primaryControlId = (_props = props) === null || _props === void 0 ? void 0 : _props.primaryControlId) !== null && _props_primaryControlId !== void 0 ? _props_primaryControlId : "";
195
+ _this.primaryControlId = (_props_primaryControlId = props === null || props === void 0 ? void 0 : props.primaryControlId) !== null && _props_primaryControlId !== void 0 ? _props_primaryControlId : "";
204
196
  return _this;
205
197
  }
206
198
  return FormSelectBind;
@@ -211,20 +203,19 @@ export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
211
203
  */ var ListBindHeaderItem = function ListBindHeaderItem(props) {
212
204
  "use strict";
213
205
  _class_call_check(this, ListBindHeaderItem);
214
- var _props;
215
206
  /**
216
207
  * 字段
217
208
  * @defaultValue ''
218
209
  */ _define_property(this, "fieldCode", void 0);
219
210
  var _props_fieldCode;
220
- this.fieldCode = (_props_fieldCode = (_props = props) === null || _props === void 0 ? void 0 : _props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : "";
211
+ this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : "";
221
212
  };
222
213
  /**
223
214
  * 列表绑定配置
224
215
  */ export var ListBind = function ListBind(props) {
225
216
  "use strict";
226
217
  _class_call_check(this, ListBind);
227
- var _props, _props1, _props_headers, _props2;
218
+ var _props_headers;
228
219
  /**
229
220
  * 应用ID
230
221
  * @public
@@ -238,27 +229,26 @@ export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
238
229
  * @public
239
230
  */ _define_property(this, "headers", void 0);
240
231
  var _props_appId;
241
- this.appId = (_props_appId = (_props = props) === null || _props === void 0 ? void 0 : _props.appId) !== null && _props_appId !== void 0 ? _props_appId : "";
232
+ this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : "";
242
233
  var _props_formKey;
243
- this.formKey = (_props_formKey = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : "";
234
+ this.formKey = (_props_formKey = props === null || props === void 0 ? void 0 : props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : "";
244
235
  var _props_headers_map;
245
- this.headers = (_props_headers_map = (_props2 = props) === null || _props2 === void 0 ? void 0 : (_props_headers = _props2.headers) === null || _props_headers === void 0 ? void 0 : _props_headers.map(function(item) {
236
+ 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) {
246
237
  return new ListBindHeaderItem(item);
247
238
  })) !== null && _props_headers_map !== void 0 ? _props_headers_map : [];
248
239
  };
249
240
  export var FieldBindItem = function FieldBindItem(props) {
250
241
  "use strict";
251
242
  _class_call_check(this, FieldBindItem);
252
- var _props, _props1, _props2;
253
243
  _define_property(this, "fieldName", void 0);
254
244
  _define_property(this, "fieldCode", void 0);
255
245
  _define_property(this, "fieldType", void 0);
256
246
  var _props_fieldName;
257
- this.fieldName = (_props_fieldName = (_props = props) === null || _props === void 0 ? void 0 : _props.fieldName) !== null && _props_fieldName !== void 0 ? _props_fieldName : "";
247
+ this.fieldName = (_props_fieldName = props === null || props === void 0 ? void 0 : props.fieldName) !== null && _props_fieldName !== void 0 ? _props_fieldName : "";
258
248
  var _props_fieldCode;
259
- this.fieldCode = (_props_fieldCode = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : "";
249
+ this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : "";
260
250
  var _props_fieldType;
261
- this.fieldType = (_props_fieldType = (_props2 = props) === null || _props2 === void 0 ? void 0 : _props2.fieldType) !== null && _props_fieldType !== void 0 ? _props_fieldType : FieldTypes.VARCHAR;
251
+ this.fieldType = (_props_fieldType = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _props_fieldType !== void 0 ? _props_fieldType : FieldTypes.VARCHAR;
262
252
  };
263
253
  export var SubListItem = /*#__PURE__*/ function(FormBind) {
264
254
  "use strict";
@@ -267,20 +257,19 @@ export var SubListItem = /*#__PURE__*/ function(FormBind) {
267
257
  function SubListItem(props) {
268
258
  _class_call_check(this, SubListItem);
269
259
  var _this;
270
- var _props, _props1, _props2, _props3;
271
260
  _this = _super.call(this, props);
272
261
  _define_property(_assert_this_initialized(_this), "title", void 0);
273
262
  _define_property(_assert_this_initialized(_this), "svcCode", void 0);
274
263
  _define_property(_assert_this_initialized(_this), "isOpenFilter", void 0);
275
264
  _define_property(_assert_this_initialized(_this), "filters", void 0);
276
265
  var _props_title;
277
- _this.title = (_props_title = (_props = props) === null || _props === void 0 ? void 0 : _props.title) !== null && _props_title !== void 0 ? _props_title : "";
266
+ _this.title = (_props_title = props === null || props === void 0 ? void 0 : props.title) !== null && _props_title !== void 0 ? _props_title : "";
278
267
  var _props_svcCode;
279
- _this.svcCode = (_props_svcCode = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.svcCode) !== null && _props_svcCode !== void 0 ? _props_svcCode : "";
268
+ _this.svcCode = (_props_svcCode = props === null || props === void 0 ? void 0 : props.svcCode) !== null && _props_svcCode !== void 0 ? _props_svcCode : "";
280
269
  var _props_isOpenFilter;
281
- _this.isOpenFilter = (_props_isOpenFilter = (_props2 = props) === null || _props2 === void 0 ? void 0 : _props2.isOpenFilter) !== null && _props_isOpenFilter !== void 0 ? _props_isOpenFilter : false;
270
+ _this.isOpenFilter = (_props_isOpenFilter = props === null || props === void 0 ? void 0 : props.isOpenFilter) !== null && _props_isOpenFilter !== void 0 ? _props_isOpenFilter : false;
282
271
  var _props_filters;
283
- _this.filters = (_props_filters = (_props3 = props) === null || _props3 === void 0 ? void 0 : _props3.filters) !== null && _props_filters !== void 0 ? _props_filters : [];
272
+ _this.filters = (_props_filters = props === null || props === void 0 ? void 0 : props.filters) !== null && _props_filters !== void 0 ? _props_filters : [];
284
273
  return _this;
285
274
  }
286
275
  return SubListItem;
@@ -288,43 +277,41 @@ export var SubListItem = /*#__PURE__*/ function(FormBind) {
288
277
  export var SubListPageConfig = function SubListPageConfig(props) {
289
278
  "use strict";
290
279
  _class_call_check(this, SubListPageConfig);
291
- var _props, _props_displayFields, _props1, _props_sublists, _props2;
280
+ var _props_displayFields, _props_sublists;
292
281
  _define_property(this, "type", "sublist-page");
293
282
  _define_property(this, "formBind", void 0);
294
283
  _define_property(this, "displayFields", void 0);
295
284
  _define_property(this, "sublists", void 0);
296
- this.formBind = new FormBind((_props = props) === null || _props === void 0 ? void 0 : _props.formBind);
285
+ this.formBind = new FormBind(props === null || props === void 0 ? void 0 : props.formBind);
297
286
  var _props_displayFields_map;
298
- this.displayFields = (_props_displayFields_map = (_props1 = props) === null || _props1 === void 0 ? void 0 : (_props_displayFields = _props1.displayFields) === null || _props_displayFields === void 0 ? void 0 : _props_displayFields.map(function(item) {
287
+ 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) {
299
288
  return new FieldBindItem(item);
300
289
  })) !== null && _props_displayFields_map !== void 0 ? _props_displayFields_map : [];
301
290
  var _props_sublists_map;
302
- this.sublists = (_props_sublists_map = (_props2 = props) === null || _props2 === void 0 ? void 0 : (_props_sublists = _props2.sublists) === null || _props_sublists === void 0 ? void 0 : _props_sublists.map(function(item) {
291
+ 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) {
303
292
  return new SubListItem(item);
304
293
  })) !== null && _props_sublists_map !== void 0 ? _props_sublists_map : [];
305
294
  };
306
295
  export var LeftVariable = function LeftVariable(props) {
307
296
  "use strict";
308
297
  _class_call_check(this, LeftVariable);
309
- var _props, _props1;
310
298
  _define_property(this, "type", void 0);
311
299
  _define_property(this, "value", void 0);
312
- this.type = (_props = props) === null || _props === void 0 ? void 0 : _props.type;
313
- this.value = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.value;
300
+ this.type = props === null || props === void 0 ? void 0 : props.type;
301
+ this.value = props === null || props === void 0 ? void 0 : props.value;
314
302
  };
315
303
  export var RightVariable = function RightVariable(props) {
316
304
  "use strict";
317
305
  _class_call_check(this, RightVariable);
318
- var _props, _props1, _props2;
319
306
  _define_property(this, "type", void 0);
320
307
  _define_property(this, "value", void 0);
321
308
  _define_property(this, "displayBos", void 0);
322
309
  var _props_type;
323
- this.type = (_props_type = (_props = props) === null || _props === void 0 ? void 0 : _props.type) !== null && _props_type !== void 0 ? _props_type : "custom";
310
+ this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "custom";
324
311
  var _props_value;
325
- this.value = (_props_value = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.value) !== null && _props_value !== void 0 ? _props_value : [];
312
+ this.value = (_props_value = props === null || props === void 0 ? void 0 : props.value) !== null && _props_value !== void 0 ? _props_value : [];
326
313
  var _props_displayBos;
327
- this.displayBos = (_props_displayBos = (_props2 = props) === null || _props2 === void 0 ? void 0 : _props2.displayBos) !== null && _props_displayBos !== void 0 ? _props_displayBos : [];
314
+ this.displayBos = (_props_displayBos = props === null || props === void 0 ? void 0 : props.displayBos) !== null && _props_displayBos !== void 0 ? _props_displayBos : [];
328
315
  };
329
316
  /**
330
317
  * 连接符条件
@@ -333,7 +320,6 @@ export var RightVariable = function RightVariable(props) {
333
320
  "use strict";
334
321
  var _this = this;
335
322
  _class_call_check(this, FieldFilterConditions);
336
- var _props, _props1, _props2, _props3, _props4;
337
323
  /**
338
324
  * 编号
339
325
  * @defaultValue ''
@@ -359,17 +345,16 @@ export var RightVariable = function RightVariable(props) {
359
345
  * @defaultValue []
360
346
  */ _define_property(this, "children", void 0);
361
347
  var _props_id;
362
- this.id = (_props_id = (_props = props) === null || _props === void 0 ? void 0 : _props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId();
348
+ this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId();
363
349
  var _props_ruleId;
364
- this.ruleId = (_props_ruleId = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.ruleId) !== null && _props_ruleId !== void 0 ? _props_ruleId : new Date().valueOf();
350
+ this.ruleId = (_props_ruleId = props === null || props === void 0 ? void 0 : props.ruleId) !== null && _props_ruleId !== void 0 ? _props_ruleId : new Date().valueOf();
365
351
  var _props_level;
366
- this.level = (_props_level = (_props2 = props) === null || _props2 === void 0 ? void 0 : _props2.level) !== null && _props_level !== void 0 ? _props_level : 0;
352
+ this.level = (_props_level = props === null || props === void 0 ? void 0 : props.level) !== null && _props_level !== void 0 ? _props_level : 0;
367
353
  var _props_value;
368
- this.value = (_props_value = (_props3 = props) === null || _props3 === void 0 ? void 0 : _props3.value) !== null && _props_value !== void 0 ? _props_value : "and";
354
+ this.value = (_props_value = props === null || props === void 0 ? void 0 : props.value) !== null && _props_value !== void 0 ? _props_value : "and";
369
355
  this.children = [];
370
- if (Array.isArray((_props4 = props) === null || _props4 === void 0 ? void 0 : _props4.children)) {
371
- var _props5;
372
- (_props5 = props) === null || _props5 === void 0 ? void 0 : _props5.children.map(function(item) {
356
+ if (Array.isArray(props === null || props === void 0 ? void 0 : props.children)) {
357
+ props === null || props === void 0 ? void 0 : props.children.map(function(item) {
373
358
  if (item.children !== undefined) {
374
359
  var _this_children;
375
360
  var filter = new FieldFilterConditions(item);
@@ -388,7 +373,6 @@ export var RightVariable = function RightVariable(props) {
388
373
  */ export var FieldFilterCondition = function FieldFilterCondition(props) {
389
374
  "use strict";
390
375
  _class_call_check(this, FieldFilterCondition);
391
- var _props, _props1, _props2, _props3, _props4, _props5, _props6;
392
376
  /**
393
377
  * 唯一编号
394
378
  * @defaultValue ''
@@ -413,17 +397,29 @@ export var RightVariable = function RightVariable(props) {
413
397
  * 右值
414
398
  */ _define_property(this, "rightVariableBo", void 0);
415
399
  var _props_id;
416
- this.id = (_props_id = (_props = props) === null || _props === void 0 ? void 0 : _props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId();
400
+ this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId();
417
401
  var _props_ruleId;
418
- this.ruleId = (_props_ruleId = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.ruleId) !== null && _props_ruleId !== void 0 ? _props_ruleId : new Date().valueOf();
402
+ this.ruleId = (_props_ruleId = props === null || props === void 0 ? void 0 : props.ruleId) !== null && _props_ruleId !== void 0 ? _props_ruleId : new Date().valueOf();
419
403
  var _props_symbol;
420
- this.symbol = (_props_symbol = (_props2 = props) === null || _props2 === void 0 ? void 0 : _props2.symbol) !== null && _props_symbol !== void 0 ? _props_symbol : "";
404
+ this.symbol = (_props_symbol = props === null || props === void 0 ? void 0 : props.symbol) !== null && _props_symbol !== void 0 ? _props_symbol : "";
421
405
  var _props_checked;
422
- this.checked = (_props_checked = (_props3 = props) === null || _props3 === void 0 ? void 0 : _props3.checked) !== null && _props_checked !== void 0 ? _props_checked : false;
406
+ this.checked = (_props_checked = props === null || props === void 0 ? void 0 : props.checked) !== null && _props_checked !== void 0 ? _props_checked : false;
423
407
  var _props_describe;
424
- this.describe = (_props_describe = (_props4 = props) === null || _props4 === void 0 ? void 0 : _props4.describe) !== null && _props_describe !== void 0 ? _props_describe : "";
425
- this.leftVariableBo = new LeftVariable((_props5 = props) === null || _props5 === void 0 ? void 0 : _props5.leftVariableBo);
426
- this.rightVariableBo = new RightVariable((_props6 = props) === null || _props6 === void 0 ? void 0 : _props6.rightVariableBo);
408
+ this.describe = (_props_describe = props === null || props === void 0 ? void 0 : props.describe) !== null && _props_describe !== void 0 ? _props_describe : "";
409
+ this.leftVariableBo = new LeftVariable(props === null || props === void 0 ? void 0 : props.leftVariableBo);
410
+ this.rightVariableBo = new RightVariable(props === null || props === void 0 ? void 0 : props.rightVariableBo);
411
+ };
412
+ export var JoinRelation = function JoinRelation(props) {
413
+ "use strict";
414
+ _class_call_check(this, JoinRelation);
415
+ _define_property(this, "aliasCode", void 0);
416
+ _define_property(this, "datasourceBind", void 0);
417
+ _define_property(this, "relationFields", void 0);
418
+ var _props_aliasCode;
419
+ this.aliasCode = (_props_aliasCode = props === null || props === void 0 ? void 0 : props.aliasCode) !== null && _props_aliasCode !== void 0 ? _props_aliasCode : "";
420
+ this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
421
+ var _props_relationFields;
422
+ this.relationFields = (_props_relationFields = props === null || props === void 0 ? void 0 : props.relationFields) !== null && _props_relationFields !== void 0 ? _props_relationFields : [];
427
423
  };
428
424
  /**
429
425
  * 数据填充项
@@ -431,7 +427,6 @@ export var RightVariable = function RightVariable(props) {
431
427
  */ export var MultistageFillingItem = function MultistageFillingItem(props) {
432
428
  "use strict";
433
429
  _class_call_check(this, MultistageFillingItem);
434
- var _props, _props1, _props2, _props3;
435
430
  /**
436
431
  * 控件ID
437
432
  * @defaultValue ''
@@ -453,13 +448,13 @@ export var RightVariable = function RightVariable(props) {
453
448
  * @public
454
449
  * */ _define_property(this, "propName", void 0);
455
450
  var _props_controlId;
456
- this.controlId = (_props_controlId = (_props = props) === null || _props === void 0 ? void 0 : _props.controlId) !== null && _props_controlId !== void 0 ? _props_controlId : "";
451
+ this.controlId = (_props_controlId = props === null || props === void 0 ? void 0 : props.controlId) !== null && _props_controlId !== void 0 ? _props_controlId : "";
457
452
  var _props_fieldCode;
458
- this.fieldCode = (_props_fieldCode = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : "";
453
+ this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : "";
459
454
  var _props_fieldType;
460
- this.fieldType = (_props_fieldType = (_props2 = props) === null || _props2 === void 0 ? void 0 : _props2.fieldType) !== null && _props_fieldType !== void 0 ? _props_fieldType : "";
455
+ this.fieldType = (_props_fieldType = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _props_fieldType !== void 0 ? _props_fieldType : "";
461
456
  var _props_propName;
462
- this.propName = (_props_propName = (_props3 = props) === null || _props3 === void 0 ? void 0 : _props3.propName) !== null && _props_propName !== void 0 ? _props_propName : "";
457
+ this.propName = (_props_propName = props === null || props === void 0 ? void 0 : props.propName) !== null && _props_propName !== void 0 ? _props_propName : "";
463
458
  };
464
459
  /**
465
460
  * 显示项
@@ -467,7 +462,6 @@ export var RightVariable = function RightVariable(props) {
467
462
  */ export var DisplayBoListItem = function DisplayBoListItem(props) {
468
463
  "use strict";
469
464
  _class_call_check(this, DisplayBoListItem);
470
- var _props, _props1, _props2;
471
465
  /**
472
466
  * 显示项类型:字段 | 符号
473
467
  * @defaultValue 'FIELD'
@@ -480,10 +474,10 @@ export var RightVariable = function RightVariable(props) {
480
474
  * 字段数据类型
481
475
  */ _define_property(this, "fieldType", void 0);
482
476
  var _props_type;
483
- this.type = (_props_type = (_props = props) === null || _props === void 0 ? void 0 : _props.type) !== null && _props_type !== void 0 ? _props_type : "FIELD";
477
+ this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "FIELD";
484
478
  var _props_value;
485
- this.value = (_props_value = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.value) !== null && _props_value !== void 0 ? _props_value : "";
486
- this.fieldType = (_props2 = props) === null || _props2 === void 0 ? void 0 : _props2.fieldType;
479
+ this.value = (_props_value = props === null || props === void 0 ? void 0 : props.value) !== null && _props_value !== void 0 ? _props_value : "";
480
+ this.fieldType = props === null || props === void 0 ? void 0 : props.fieldType;
487
481
  };
488
482
  /**
489
483
  * 数据源排序项
@@ -550,28 +544,26 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
550
544
  /**
551
545
  * 给filters和orders赋值
552
546
  * */ function callFiltersAndOrders(props) {
553
- var _props_filters, _props, _props_viewFilters, _props1;
547
+ var _props_filters, _props_viewFilters, _props_orders;
554
548
  var _props_filters_map;
555
- this.filters = (_props_filters_map = (_props = props) === null || _props === void 0 ? void 0 : (_props_filters = _props.filters) === null || _props_filters === void 0 ? void 0 : _props_filters.map(function(item) {
549
+ 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) {
556
550
  if (item.children !== undefined) {
557
551
  return new FieldFilterConditions(item);
558
552
  }
559
553
  return new FieldFilterCondition(item);
560
554
  })) !== null && _props_filters_map !== void 0 ? _props_filters_map : [];
561
555
  var _props_viewFilters_map;
562
- this.viewFilters = (_props_viewFilters_map = (_props1 = props) === null || _props1 === void 0 ? void 0 : (_props_viewFilters = _props1.viewFilters) === null || _props_viewFilters === void 0 ? void 0 : _props_viewFilters.map(function(item) {
556
+ 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) {
563
557
  if (item.children !== undefined) {
564
558
  return new FieldFilterConditions(item);
565
559
  }
566
560
  return new FieldFilterCondition(item);
567
561
  })) !== null && _props_viewFilters_map !== void 0 ? _props_viewFilters_map : [];
568
- if (_instanceof(this, DataSourceBind) || _instanceof(this, FillPayloadBind)) {
569
- var _props_orders, _props2;
570
- var _props_orders_map;
571
- this.orders = (_props_orders_map = (_props2 = props) === null || _props2 === void 0 ? void 0 : (_props_orders = _props2.orders) === null || _props_orders === void 0 ? void 0 : _props_orders.map(function(item) {
572
- return new DataSourceOrderItem(item);
573
- })) !== null && _props_orders_map !== void 0 ? _props_orders_map : [];
574
- }
562
+ var _props_orders_map;
563
+ 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) {
564
+ return new DataSourceOrderItem(item);
565
+ })) !== null && _props_orders_map !== void 0 ? _props_orders_map : [];
566
+ // }
575
567
  }
576
568
  /**
577
569
  * 数据源绑定配置
@@ -580,7 +572,6 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
580
572
  "use strict";
581
573
  var _this = this;
582
574
  _class_call_check(this, DataSourceBind);
583
- var _props, _props1, _props2, _props3, _props4, _props5, _props6, _props7;
584
575
  /**
585
576
  * 绑定数据源id
586
577
  * @defaultValue ''
@@ -638,33 +629,31 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
638
629
  * @public
639
630
  */ _define_property(this, "showOrder", void 0);
640
631
  var _props_dataCode;
641
- this.dataCode = (_props_dataCode = (_props = props) === null || _props === void 0 ? void 0 : _props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
632
+ this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
642
633
  var _props_appId;
643
- this.appId = (_props_appId = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.appId) !== null && _props_appId !== void 0 ? _props_appId : "";
634
+ this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : "";
644
635
  var _props_valueFieldCode;
645
- this.valueFieldCode = (_props_valueFieldCode = (_props2 = props) === null || _props2 === void 0 ? void 0 : _props2.valueFieldCode) !== null && _props_valueFieldCode !== void 0 ? _props_valueFieldCode : "";
636
+ this.valueFieldCode = (_props_valueFieldCode = props === null || props === void 0 ? void 0 : props.valueFieldCode) !== null && _props_valueFieldCode !== void 0 ? _props_valueFieldCode : "";
646
637
  this.displayBoList = [];
647
638
  var _props_isOpenViewFilters;
648
- this.isOpenViewFilters = (_props_isOpenViewFilters = (_props3 = props) === null || _props3 === void 0 ? void 0 : _props3.isOpenViewFilters) !== null && _props_isOpenViewFilters !== void 0 ? _props_isOpenViewFilters : 0;
649
- if (Array.isArray((_props4 = props) === null || _props4 === void 0 ? void 0 : _props4.displayBoList)) {
650
- var _props8;
651
- (_props8 = props) === null || _props8 === void 0 ? void 0 : _props8.displayBoList.map(function(item) {
639
+ this.isOpenViewFilters = (_props_isOpenViewFilters = props === null || props === void 0 ? void 0 : props.isOpenViewFilters) !== null && _props_isOpenViewFilters !== void 0 ? _props_isOpenViewFilters : 0;
640
+ if (Array.isArray(props === null || props === void 0 ? void 0 : props.displayBoList)) {
641
+ props === null || props === void 0 ? void 0 : props.displayBoList.map(function(item) {
652
642
  var _this_displayBoList;
653
643
  (_this_displayBoList = _this.displayBoList) === null || _this_displayBoList === void 0 ? void 0 : _this_displayBoList.push(new DisplayBoListItem(item));
654
644
  });
655
645
  }
656
646
  var _props_keywordMapping;
657
- this.keywordMapping = (_props_keywordMapping = (_props5 = props) === null || _props5 === void 0 ? void 0 : _props5.keywordMapping) !== null && _props_keywordMapping !== void 0 ? _props_keywordMapping : "";
647
+ this.keywordMapping = (_props_keywordMapping = props === null || props === void 0 ? void 0 : props.keywordMapping) !== null && _props_keywordMapping !== void 0 ? _props_keywordMapping : "";
658
648
  var _props_showOrder;
659
- this.showOrder = (_props_showOrder = (_props6 = props) === null || _props6 === void 0 ? void 0 : _props6.showOrder) !== null && _props_showOrder !== void 0 ? _props_showOrder : true;
649
+ this.showOrder = (_props_showOrder = props === null || props === void 0 ? void 0 : props.showOrder) !== null && _props_showOrder !== void 0 ? _props_showOrder : true;
660
650
  var _props_svcCode;
661
- this.svcCode = (_props_svcCode = (_props7 = props) === null || _props7 === void 0 ? void 0 : _props7.svcCode) !== null && _props_svcCode !== void 0 ? _props_svcCode : "";
651
+ this.svcCode = (_props_svcCode = props === null || props === void 0 ? void 0 : props.svcCode) !== null && _props_svcCode !== void 0 ? _props_svcCode : "";
662
652
  callFiltersAndOrders.call(this, props);
663
653
  };
664
654
  export var SelectedContentConfig = function SelectedContentConfig(props) {
665
655
  "use strict";
666
656
  _class_call_check(this, SelectedContentConfig);
667
- var _props, _props1;
668
657
  /**
669
658
  * 展示已选内容
670
659
  * @defaultValue ''
@@ -676,58 +665,59 @@ export var SelectedContentConfig = function SelectedContentConfig(props) {
676
665
  * @public
677
666
  */ _define_property(this, "displayBoList", void 0);
678
667
  var _props_dataCode;
679
- this.dataCode = (_props_dataCode = (_props = props) === null || _props === void 0 ? void 0 : _props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
668
+ this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
680
669
  var _props_displayBoList;
681
- this.displayBoList = (_props_displayBoList = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.displayBoList) !== null && _props_displayBoList !== void 0 ? _props_displayBoList : [];
670
+ this.displayBoList = (_props_displayBoList = props === null || props === void 0 ? void 0 : props.displayBoList) !== null && _props_displayBoList !== void 0 ? _props_displayBoList : [];
682
671
  };
683
672
  export var LinkOperationOption = function LinkOperationOption(props) {
684
673
  "use strict";
685
674
  _class_call_check(this, LinkOperationOption);
686
- var _props, _props1, _props2, _props3, _props4, _props5, _props6, _props7, _props8, _props9;
687
675
  _define_property(this, "code", void 0);
688
676
  _define_property(this, "color", void 0);
689
677
  _define_property(this, "command", void 0);
690
678
  _define_property(this, "confirmMessage", void 0);
691
679
  _define_property(this, "defaultState", void 0);
692
680
  _define_property(this, "formKey", void 0);
681
+ _define_property(this, "formType", void 0);
693
682
  _define_property(this, "icon", void 0);
694
683
  _define_property(this, "needConfirm", void 0);
695
684
  _define_property(this, "openType", void 0);
696
685
  _define_property(this, "priorityProcess", void 0);
697
686
  var _props_code;
698
- this.code = (_props_code = (_props = props) === null || _props === void 0 ? void 0 : _props.code) !== null && _props_code !== void 0 ? _props_code : "view";
687
+ this.code = (_props_code = props === null || props === void 0 ? void 0 : props.code) !== null && _props_code !== void 0 ? _props_code : "view";
699
688
  var _props_color;
700
- this.color = (_props_color = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.color) !== null && _props_color !== void 0 ? _props_color : "primary";
689
+ this.color = (_props_color = props === null || props === void 0 ? void 0 : props.color) !== null && _props_color !== void 0 ? _props_color : "primary";
701
690
  var _props_command;
702
- this.command = (_props_command = (_props2 = props) === null || _props2 === void 0 ? void 0 : _props2.command) !== null && _props_command !== void 0 ? _props_command : "view";
691
+ this.command = (_props_command = props === null || props === void 0 ? void 0 : props.command) !== null && _props_command !== void 0 ? _props_command : "view";
703
692
  var _props_confirmMessage;
704
- this.confirmMessage = (_props_confirmMessage = (_props3 = props) === null || _props3 === void 0 ? void 0 : _props3.confirmMessage) !== null && _props_confirmMessage !== void 0 ? _props_confirmMessage : undefined;
693
+ this.confirmMessage = (_props_confirmMessage = props === null || props === void 0 ? void 0 : props.confirmMessage) !== null && _props_confirmMessage !== void 0 ? _props_confirmMessage : undefined;
705
694
  var _props_defaultState;
706
- this.defaultState = (_props_defaultState = (_props4 = props) === null || _props4 === void 0 ? void 0 : _props4.defaultState) !== null && _props_defaultState !== void 0 ? _props_defaultState : "default";
695
+ this.defaultState = (_props_defaultState = props === null || props === void 0 ? void 0 : props.defaultState) !== null && _props_defaultState !== void 0 ? _props_defaultState : "default";
707
696
  var _props_formKey;
708
- this.formKey = (_props_formKey = (_props5 = props) === null || _props5 === void 0 ? void 0 : _props5.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : undefined;
697
+ this.formKey = (_props_formKey = props === null || props === void 0 ? void 0 : props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : undefined;
698
+ this.formType = props === null || props === void 0 ? void 0 : props.formType;
709
699
  var _props_icon;
710
- this.icon = (_props_icon = (_props6 = props) === null || _props6 === void 0 ? void 0 : _props6.icon) !== null && _props_icon !== void 0 ? _props_icon : "iconliulan1";
700
+ this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : "iconliulan1";
711
701
  var _props_needConfirm;
712
- this.needConfirm = (_props_needConfirm = (_props7 = props) === null || _props7 === void 0 ? void 0 : _props7.needConfirm) !== null && _props_needConfirm !== void 0 ? _props_needConfirm : false;
702
+ this.needConfirm = (_props_needConfirm = props === null || props === void 0 ? void 0 : props.needConfirm) !== null && _props_needConfirm !== void 0 ? _props_needConfirm : false;
713
703
  var _props_openType;
714
- this.openType = (_props_openType = (_props8 = props) === null || _props8 === void 0 ? void 0 : _props8.openType) !== null && _props_openType !== void 0 ? _props_openType : "modal";
704
+ this.openType = (_props_openType = props === null || props === void 0 ? void 0 : props.openType) !== null && _props_openType !== void 0 ? _props_openType : "modal";
715
705
  var _props_priorityProcess;
716
- this.priorityProcess = (_props_priorityProcess = (_props9 = props) === null || _props9 === void 0 ? void 0 : _props9.priorityProcess) !== null && _props_priorityProcess !== void 0 ? _props_priorityProcess : true;
706
+ this.priorityProcess = (_props_priorityProcess = props === null || props === void 0 ? void 0 : props.priorityProcess) !== null && _props_priorityProcess !== void 0 ? _props_priorityProcess : true;
717
707
  };
718
708
  export var CustomAttributeItem = function CustomAttributeItem(props) {
719
709
  "use strict";
720
710
  _class_call_check(this, CustomAttributeItem);
721
- var _props, _props1, _props_value, _props2;
711
+ var _props_value;
722
712
  _define_property(this, "name", void 0);
723
713
  _define_property(this, "key", void 0);
724
714
  _define_property(this, "value", void 0);
725
715
  var _props_name;
726
- this.name = (_props_name = (_props = props) === null || _props === void 0 ? void 0 : _props.name) !== null && _props_name !== void 0 ? _props_name : "";
716
+ this.name = (_props_name = props === null || props === void 0 ? void 0 : props.name) !== null && _props_name !== void 0 ? _props_name : "";
727
717
  var _props_key;
728
- this.key = (_props_key = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.key) !== null && _props_key !== void 0 ? _props_key : "";
718
+ this.key = (_props_key = props === null || props === void 0 ? void 0 : props.key) !== null && _props_key !== void 0 ? _props_key : "";
729
719
  var _props_value_map;
730
- this.value = (_props_value_map = (_props2 = props) === null || _props2 === void 0 ? void 0 : (_props_value = _props2.value) === null || _props_value === void 0 ? void 0 : _props_value.map(function(item) {
720
+ 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) {
731
721
  return new DisplayBoListItem(item);
732
722
  })) !== null && _props_value_map !== void 0 ? _props_value_map : [];
733
723
  };
@@ -738,11 +728,11 @@ export var SuperDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
738
728
  function SuperDataSourceBind(props) {
739
729
  _class_call_check(this, SuperDataSourceBind);
740
730
  var _this;
741
- var _props_attributes, _props;
731
+ var _props_attributes;
742
732
  _this = _super.call(this, props);
743
733
  _define_property(_assert_this_initialized(_this), "attributes", void 0);
744
734
  var _props_attributes_map;
745
- _this.attributes = (_props_attributes_map = (_props = props) === null || _props === void 0 ? void 0 : (_props_attributes = _props.attributes) === null || _props_attributes === void 0 ? void 0 : _props_attributes.map(function(item) {
735
+ _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) {
746
736
  return new CustomAttributeItem(item);
747
737
  })) !== null && _props_attributes_map !== void 0 ? _props_attributes_map : [];
748
738
  return _this;
@@ -756,16 +746,16 @@ export var OrganizationDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
756
746
  function OrganizationDataSourceBind(props) {
757
747
  _class_call_check(this, OrganizationDataSourceBind);
758
748
  var _this;
759
- var _props_attributes, _props, _props1;
749
+ var _props_attributes;
760
750
  _this = _super.call(this, props);
761
751
  _define_property(_assert_this_initialized(_this), "attributes", void 0);
762
752
  _define_property(_assert_this_initialized(_this), "formCode", void 0);
763
753
  var _props_attributes_map;
764
- _this.attributes = (_props_attributes_map = (_props = props) === null || _props === void 0 ? void 0 : (_props_attributes = _props.attributes) === null || _props_attributes === void 0 ? void 0 : _props_attributes.map(function(item) {
754
+ _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) {
765
755
  return new CustomAttributeItem(item);
766
756
  })) !== null && _props_attributes_map !== void 0 ? _props_attributes_map : [];
767
757
  var _props_formCode;
768
- _this.formCode = (_props_formCode = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.formCode) !== null && _props_formCode !== void 0 ? _props_formCode : "";
758
+ _this.formCode = (_props_formCode = props === null || props === void 0 ? void 0 : props.formCode) !== null && _props_formCode !== void 0 ? _props_formCode : "";
769
759
  return _this;
770
760
  }
771
761
  return OrganizationDataSourceBind;
@@ -777,13 +767,12 @@ export var TreeDataSourceBind = /*#__PURE__*/ function(SuperDataSourceBind) {
777
767
  function TreeDataSourceBind(props) {
778
768
  _class_call_check(this, TreeDataSourceBind);
779
769
  var _this;
780
- var _props, _props1;
781
770
  _this = _super.call(this, props);
782
771
  _define_property(_assert_this_initialized(_this), "rootNode", void 0);
783
772
  _define_property(_assert_this_initialized(_this), "filterCode", void 0);
784
- _this.rootNode = new RightVariable((_props = props) === null || _props === void 0 ? void 0 : _props.rootNode);
773
+ _this.rootNode = new RightVariable(props === null || props === void 0 ? void 0 : props.rootNode);
785
774
  var _props_filterCode;
786
- _this.filterCode = (_props_filterCode = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.filterCode) !== null && _props_filterCode !== void 0 ? _props_filterCode : "";
775
+ _this.filterCode = (_props_filterCode = props === null || props === void 0 ? void 0 : props.filterCode) !== null && _props_filterCode !== void 0 ? _props_filterCode : "";
787
776
  return _this;
788
777
  }
789
778
  return TreeDataSourceBind;
@@ -791,7 +780,7 @@ export var TreeDataSourceBind = /*#__PURE__*/ function(SuperDataSourceBind) {
791
780
  var FillBind = function FillBind(props) {
792
781
  "use strict";
793
782
  _class_call_check(this, FillBind);
794
- var _props, _props1, _props_fillList, _props2;
783
+ var _props_fillList;
795
784
  /*
796
785
  * 需要被填充的数据源
797
786
  * */ _define_property(this, "dataCode", void 0);
@@ -802,11 +791,11 @@ var FillBind = function FillBind(props) {
802
791
  * 执行填充的数据项和控件
803
792
  * */ _define_property(this, "fillList", void 0);
804
793
  var _props_dataCode;
805
- this.dataCode = (_props_dataCode = (_props = props) === null || _props === void 0 ? void 0 : _props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
794
+ this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
806
795
  var _props_appId;
807
- this.appId = (_props_appId = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.appId) !== null && _props_appId !== void 0 ? _props_appId : "";
796
+ this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : "";
808
797
  var _props_fillList_map;
809
- this.fillList = (_props_fillList_map = (_props2 = props) === null || _props2 === void 0 ? void 0 : (_props_fillList = _props2.fillList) === null || _props_fillList === void 0 ? void 0 : _props_fillList.map(function(item) {
798
+ 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) {
810
799
  return new MultistageFillingItem(item);
811
800
  })) !== null && _props_fillList_map !== void 0 ? _props_fillList_map : [];
812
801
  };
@@ -852,7 +841,6 @@ var FillBind = function FillBind(props) {
852
841
  function FillBackBind(props) {
853
842
  _class_call_check(this, FillBackBind);
854
843
  var _this;
855
- var _props, _props1;
856
844
  _this = _super.call(this, props);
857
845
  /**
858
846
  * 回填模式。current 当前表(根据按钮所在位置来区分,而不是通过主表和子表来区分)| subtable 子表
@@ -865,9 +853,9 @@ var FillBind = function FillBind(props) {
865
853
  * @public
866
854
  */ _define_property(_assert_this_initialized(_this), "multiple", void 0);
867
855
  var _props_mode;
868
- _this.mode = (_props_mode = (_props = props) === null || _props === void 0 ? void 0 : _props.mode) !== null && _props_mode !== void 0 ? _props_mode : "current";
856
+ _this.mode = (_props_mode = props === null || props === void 0 ? void 0 : props.mode) !== null && _props_mode !== void 0 ? _props_mode : "current";
869
857
  var _props_multiple;
870
- _this.multiple = (_props_multiple = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.multiple) !== null && _props_multiple !== void 0 ? _props_multiple : false;
858
+ _this.multiple = (_props_multiple = props === null || props === void 0 ? void 0 : props.multiple) !== null && _props_multiple !== void 0 ? _props_multiple : false;
871
859
  return _this;
872
860
  }
873
861
  return FillBackBind;
@@ -875,16 +863,15 @@ var FillBind = function FillBind(props) {
875
863
  export var Language = function Language(props) {
876
864
  "use strict";
877
865
  _class_call_check(this, Language);
878
- var _props, _props1, _props2;
879
866
  _define_property(this, "zh", void 0);
880
867
  _define_property(this, "en", void 0);
881
868
  _define_property(this, "ja", void 0);
882
869
  var _props_zh;
883
- this.zh = (_props_zh = (_props = props) === null || _props === void 0 ? void 0 : _props.zh) !== null && _props_zh !== void 0 ? _props_zh : "";
870
+ this.zh = (_props_zh = props === null || props === void 0 ? void 0 : props.zh) !== null && _props_zh !== void 0 ? _props_zh : "";
884
871
  var _props_en;
885
- this.en = (_props_en = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.en) !== null && _props_en !== void 0 ? _props_en : "";
872
+ this.en = (_props_en = props === null || props === void 0 ? void 0 : props.en) !== null && _props_en !== void 0 ? _props_en : "";
886
873
  var _props_ja;
887
- this.ja = (_props_ja = (_props2 = props) === null || _props2 === void 0 ? void 0 : _props2.ja) !== null && _props_ja !== void 0 ? _props_ja : "";
874
+ this.ja = (_props_ja = props === null || props === void 0 ? void 0 : props.ja) !== null && _props_ja !== void 0 ? _props_ja : "";
888
875
  };
889
876
  /**
890
877
  * 正则校验
@@ -892,7 +879,6 @@ export var Language = function Language(props) {
892
879
  */ export var RegularRules = function RegularRules(props) {
893
880
  "use strict";
894
881
  _class_call_check(this, RegularRules);
895
- var _props, _props1, _props2;
896
882
  /**
897
883
  * 内置模版
898
884
  * @defaultValue ''
@@ -906,11 +892,11 @@ export var Language = function Language(props) {
906
892
  * @defaultValue ''
907
893
  */ _define_property(this, "errMessage", void 0);
908
894
  var _props_stencilName;
909
- this.stencilName = (_props_stencilName = (_props = props) === null || _props === void 0 ? void 0 : _props.stencilName) !== null && _props_stencilName !== void 0 ? _props_stencilName : "";
895
+ this.stencilName = (_props_stencilName = props === null || props === void 0 ? void 0 : props.stencilName) !== null && _props_stencilName !== void 0 ? _props_stencilName : "";
910
896
  var _props_expression;
911
- this.expression = (_props_expression = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.expression) !== null && _props_expression !== void 0 ? _props_expression : "";
897
+ this.expression = (_props_expression = props === null || props === void 0 ? void 0 : props.expression) !== null && _props_expression !== void 0 ? _props_expression : "";
912
898
  var _props_errMessage;
913
- this.errMessage = (_props_errMessage = (_props2 = props) === null || _props2 === void 0 ? void 0 : _props2.errMessage) !== null && _props_errMessage !== void 0 ? _props_errMessage : "";
899
+ this.errMessage = (_props_errMessage = props === null || props === void 0 ? void 0 : props.errMessage) !== null && _props_errMessage !== void 0 ? _props_errMessage : "";
914
900
  };
915
901
  /**
916
902
  * 选项设置-自定义选项
@@ -918,7 +904,6 @@ export var Language = function Language(props) {
918
904
  */ export var OptionSetting = function OptionSetting(props) {
919
905
  "use strict";
920
906
  _class_call_check(this, OptionSetting);
921
- var _props, _props1, _props2;
922
907
  _define_property(this, "id", void 0);
923
908
  /**
924
909
  * 显示值
@@ -931,11 +916,11 @@ export var Language = function Language(props) {
931
916
  * @public
932
917
  */ _define_property(this, "value", void 0);
933
918
  var _props_id;
934
- this.id = (_props_id = (_props = props) === null || _props === void 0 ? void 0 : _props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId(8);
919
+ this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId(8);
935
920
  var _props_label;
936
- this.label = (_props_label = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.label) !== null && _props_label !== void 0 ? _props_label : "";
921
+ this.label = (_props_label = props === null || props === void 0 ? void 0 : props.label) !== null && _props_label !== void 0 ? _props_label : "";
937
922
  var _props_value;
938
- this.value = (_props_value = (_props2 = props) === null || _props2 === void 0 ? void 0 : _props2.value) !== null && _props_value !== void 0 ? _props_value : this.label;
923
+ this.value = (_props_value = props === null || props === void 0 ? void 0 : props.value) !== null && _props_value !== void 0 ? _props_value : this.label;
939
924
  };
940
925
  export var ImageOptionSetting = /*#__PURE__*/ function(OptionSetting) {
941
926
  "use strict";
@@ -944,29 +929,26 @@ export var ImageOptionSetting = /*#__PURE__*/ function(OptionSetting) {
944
929
  function ImageOptionSetting(props) {
945
930
  _class_call_check(this, ImageOptionSetting);
946
931
  var _this;
947
- var _props, _props1;
948
932
  _this = _super.call(this, props);
949
933
  _define_property(_assert_this_initialized(_this), "image", void 0);
950
934
  _define_property(_assert_this_initialized(_this), "type", void 0);
951
935
  var _props_image;
952
- _this.image = (_props_image = (_props = props) === null || _props === void 0 ? void 0 : _props.image) !== null && _props_image !== void 0 ? _props_image : "";
936
+ _this.image = (_props_image = props === null || props === void 0 ? void 0 : props.image) !== null && _props_image !== void 0 ? _props_image : "";
953
937
  var _props_type;
954
- _this.type = (_props_type = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.type) !== null && _props_type !== void 0 ? _props_type : "src";
938
+ _this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "src";
955
939
  return _this;
956
940
  }
957
941
  return ImageOptionSetting;
958
942
  }(OptionSetting);
959
943
  export function initOptions(options) {
960
- var _options;
961
944
  var _options_map;
962
- return (_options_map = (_options = options) === null || _options === void 0 ? void 0 : _options.map(function(item) {
945
+ return (_options_map = options === null || options === void 0 ? void 0 : options.map(function(item) {
963
946
  return new OptionSetting(item);
964
947
  })) !== null && _options_map !== void 0 ? _options_map : [];
965
948
  }
966
949
  export function initImageOptions(options) {
967
- var _options;
968
950
  var _options_map;
969
- return (_options_map = (_options = options) === null || _options === void 0 ? void 0 : _options.map(function(item) {
951
+ return (_options_map = options === null || options === void 0 ? void 0 : options.map(function(item) {
970
952
  return new ImageOptionSetting(item);
971
953
  })) !== null && _options_map !== void 0 ? _options_map : [];
972
954
  }
@@ -987,7 +969,6 @@ export function initImageOptions(options) {
987
969
  function AmountDataBind(props) {
988
970
  _class_call_check(this, AmountDataBind);
989
971
  var _this;
990
- var _props, _props1;
991
972
  _this = _super.call(this);
992
973
  /**
993
974
  * 金额字段绑定配置
@@ -995,8 +976,8 @@ export function initImageOptions(options) {
995
976
  /**
996
977
  * 币种字段绑定配置
997
978
  */ _define_property(_assert_this_initialized(_this), "currency", void 0);
998
- _this.amount = new DataBind((_props = props) === null || _props === void 0 ? void 0 : _props.amount);
999
- _this.currency = new DataBind((_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.currency);
979
+ _this.amount = new DataBind(props === null || props === void 0 ? void 0 : props.amount);
980
+ _this.currency = new DataBind(props === null || props === void 0 ? void 0 : props.currency);
1000
981
  return _this;
1001
982
  }
1002
983
  return AmountDataBind;
@@ -1007,7 +988,6 @@ export function initImageOptions(options) {
1007
988
  */ export var AmountValue = function AmountValue(props) {
1008
989
  "use strict";
1009
990
  _class_call_check(this, AmountValue);
1010
- var _props, _props1;
1011
991
  /**
1012
992
  * 金额值
1013
993
  * @defaultValue ''
@@ -1017,9 +997,9 @@ export function initImageOptions(options) {
1017
997
  * @defaultValue 'CNY'
1018
998
  */ _define_property(this, "currency", void 0);
1019
999
  var _props_amount;
1020
- this.amount = (_props_amount = (_props = props) === null || _props === void 0 ? void 0 : _props.amount) !== null && _props_amount !== void 0 ? _props_amount : "";
1000
+ this.amount = (_props_amount = props === null || props === void 0 ? void 0 : props.amount) !== null && _props_amount !== void 0 ? _props_amount : "";
1021
1001
  var _props_currency;
1022
- this.currency = (_props_currency = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.currency) !== null && _props_currency !== void 0 ? _props_currency : AMOUNT_TYPE.CNY;
1002
+ this.currency = (_props_currency = props === null || props === void 0 ? void 0 : props.currency) !== null && _props_currency !== void 0 ? _props_currency : "CNY";
1023
1003
  };
1024
1004
  /**
1025
1005
  * 日期区间数据绑定项
@@ -1031,7 +1011,6 @@ export function initImageOptions(options) {
1031
1011
  function RangeDataBind(props) {
1032
1012
  _class_call_check(this, RangeDataBind);
1033
1013
  var _this;
1034
- var _props, _props1;
1035
1014
  _this = _super.call(this);
1036
1015
  /**
1037
1016
  * 开始日期字段绑定项
@@ -1039,8 +1018,8 @@ export function initImageOptions(options) {
1039
1018
  /**
1040
1019
  * 结束日期字段绑定项
1041
1020
  */ _define_property(_assert_this_initialized(_this), "max", void 0);
1042
- _this.min = new DataBind((_props = props) === null || _props === void 0 ? void 0 : _props.min);
1043
- _this.max = new DataBind((_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.max);
1021
+ _this.min = new DataBind(props === null || props === void 0 ? void 0 : props.min);
1022
+ _this.max = new DataBind(props === null || props === void 0 ? void 0 : props.max);
1044
1023
  return _this;
1045
1024
  }
1046
1025
  return RangeDataBind;
@@ -1051,7 +1030,6 @@ export function initImageOptions(options) {
1051
1030
  */ export var RangeDateValue = function RangeDateValue(props) {
1052
1031
  "use strict";
1053
1032
  _class_call_check(this, RangeDateValue);
1054
- var _props, _props1;
1055
1033
  /**
1056
1034
  * 开始日期值
1057
1035
  * @defaultValue ''
@@ -1061,9 +1039,9 @@ export function initImageOptions(options) {
1061
1039
  * @defaultValue ''
1062
1040
  */ _define_property(this, "max", void 0);
1063
1041
  var _props_min;
1064
- this.min = (_props_min = (_props = props) === null || _props === void 0 ? void 0 : _props.min) !== null && _props_min !== void 0 ? _props_min : "";
1042
+ this.min = (_props_min = props === null || props === void 0 ? void 0 : props.min) !== null && _props_min !== void 0 ? _props_min : "";
1065
1043
  var _props_max;
1066
- this.max = (_props_max = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.max) !== null && _props_max !== void 0 ? _props_max : "";
1044
+ this.max = (_props_max = props === null || props === void 0 ? void 0 : props.max) !== null && _props_max !== void 0 ? _props_max : "";
1067
1045
  };
1068
1046
  /**
1069
1047
  * 地址值
@@ -1071,7 +1049,6 @@ export function initImageOptions(options) {
1071
1049
  */ export var AddressValue = function AddressValue(props) {
1072
1050
  "use strict";
1073
1051
  _class_call_check(this, AddressValue);
1074
- var _props, _props1, _props2, _props3, _props4, _props5;
1075
1052
  /**
1076
1053
  * 市编码
1077
1054
  * @defaultValue ''
@@ -1097,17 +1074,17 @@ export function initImageOptions(options) {
1097
1074
  * @defaultValue ''
1098
1075
  */ _define_property(this, "provinceDisplay", void 0);
1099
1076
  var _props_city;
1100
- this.city = (_props_city = (_props = props) === null || _props === void 0 ? void 0 : _props.city) !== null && _props_city !== void 0 ? _props_city : "";
1077
+ this.city = (_props_city = props === null || props === void 0 ? void 0 : props.city) !== null && _props_city !== void 0 ? _props_city : "";
1101
1078
  var _props_cityDisplay;
1102
- this.cityDisplay = (_props_cityDisplay = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.cityDisplay) !== null && _props_cityDisplay !== void 0 ? _props_cityDisplay : "";
1079
+ this.cityDisplay = (_props_cityDisplay = props === null || props === void 0 ? void 0 : props.cityDisplay) !== null && _props_cityDisplay !== void 0 ? _props_cityDisplay : "";
1103
1080
  var _props_district;
1104
- this.district = (_props_district = (_props2 = props) === null || _props2 === void 0 ? void 0 : _props2.district) !== null && _props_district !== void 0 ? _props_district : "";
1081
+ this.district = (_props_district = props === null || props === void 0 ? void 0 : props.district) !== null && _props_district !== void 0 ? _props_district : "";
1105
1082
  var _props_districtDisplay;
1106
- this.districtDisplay = (_props_districtDisplay = (_props3 = props) === null || _props3 === void 0 ? void 0 : _props3.districtDisplay) !== null && _props_districtDisplay !== void 0 ? _props_districtDisplay : "";
1083
+ this.districtDisplay = (_props_districtDisplay = props === null || props === void 0 ? void 0 : props.districtDisplay) !== null && _props_districtDisplay !== void 0 ? _props_districtDisplay : "";
1107
1084
  var _props_province;
1108
- this.province = (_props_province = (_props4 = props) === null || _props4 === void 0 ? void 0 : _props4.province) !== null && _props_province !== void 0 ? _props_province : "";
1085
+ this.province = (_props_province = props === null || props === void 0 ? void 0 : props.province) !== null && _props_province !== void 0 ? _props_province : "";
1109
1086
  var _props_provinceDisplay;
1110
- this.provinceDisplay = (_props_provinceDisplay = (_props5 = props) === null || _props5 === void 0 ? void 0 : _props5.provinceDisplay) !== null && _props_provinceDisplay !== void 0 ? _props_provinceDisplay : "";
1087
+ this.provinceDisplay = (_props_provinceDisplay = props === null || props === void 0 ? void 0 : props.provinceDisplay) !== null && _props_provinceDisplay !== void 0 ? _props_provinceDisplay : "";
1111
1088
  };
1112
1089
  /**
1113
1090
  * 计算公式数据绑定项
@@ -1119,7 +1096,6 @@ export function initImageOptions(options) {
1119
1096
  function CalcDataBind(props) {
1120
1097
  _class_call_check(this, CalcDataBind);
1121
1098
  var _this;
1122
- var _props, _props1;
1123
1099
  _this = _super.call(this);
1124
1100
  /**
1125
1101
  * 计算结果字段绑定项
@@ -1127,8 +1103,8 @@ export function initImageOptions(options) {
1127
1103
  /**
1128
1104
  * 单位字段绑定项
1129
1105
  */ _define_property(_assert_this_initialized(_this), "unit", void 0);
1130
- _this.result = new DataBind((_props = props) === null || _props === void 0 ? void 0 : _props.result);
1131
- _this.unit = new DataBind((_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.unit);
1106
+ _this.result = new DataBind(props === null || props === void 0 ? void 0 : props.result);
1107
+ _this.unit = new DataBind(props === null || props === void 0 ? void 0 : props.unit);
1132
1108
  return _this;
1133
1109
  }
1134
1110
  return CalcDataBind;
@@ -1139,7 +1115,6 @@ export function initImageOptions(options) {
1139
1115
  */ export var CalcValue = function CalcValue(props) {
1140
1116
  "use strict";
1141
1117
  _class_call_check(this, CalcValue);
1142
- var _props, _props1;
1143
1118
  /**
1144
1119
  * 计算结果值
1145
1120
  * @defaultValue 0
@@ -1149,9 +1124,9 @@ export function initImageOptions(options) {
1149
1124
  * @defaultValue ''
1150
1125
  */ _define_property(this, "unit", void 0);
1151
1126
  var _props_result;
1152
- this.result = (_props_result = (_props = props) === null || _props === void 0 ? void 0 : _props.result) !== null && _props_result !== void 0 ? _props_result : 0;
1127
+ this.result = (_props_result = props === null || props === void 0 ? void 0 : props.result) !== null && _props_result !== void 0 ? _props_result : 0;
1153
1128
  var _props_unit;
1154
- this.unit = (_props_unit = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.unit) !== null && _props_unit !== void 0 ? _props_unit : "";
1129
+ this.unit = (_props_unit = props === null || props === void 0 ? void 0 : props.unit) !== null && _props_unit !== void 0 ? _props_unit : "";
1155
1130
  };
1156
1131
  export var AMOUNT_TYPE;
1157
1132
  (function(AMOUNT_TYPE) {
@@ -1210,7 +1185,6 @@ export var COMMON_SETTING_TYPE;
1210
1185
  COMMON_SETTING_TYPE["VIEW_FORM_MODEL_TYPE"] = "viewFormModelType";
1211
1186
  COMMON_SETTING_TYPE["SERVER_PAGINATION"] = "serverPagination";
1212
1187
  COMMON_SETTING_TYPE["IS_SHOW_CAPTION_TIP"] = "isShowCaptionTip";
1213
- COMMON_SETTING_TYPE["IS_SHOW_WATERMARK"] = "isShowWatermark";
1214
1188
  COMMON_SETTING_TYPE["ENCRYPTED"] = "encrypted";
1215
1189
  COMMON_SETTING_TYPE["IS_INLINE_EDIT"] = "isInlineEdit";
1216
1190
  COMMON_SETTING_TYPE["REVISIONS_MODE"] = "revisionsMode";
@@ -1230,7 +1204,6 @@ export var PAGE_STATUS;
1230
1204
  */ export var OperationItem = function OperationItem(props) {
1231
1205
  "use strict";
1232
1206
  _class_call_check(this, OperationItem);
1233
- var _props, _props1, _props2, _props3, _props4, _props5;
1234
1207
  /**
1235
1208
  * 是否显示
1236
1209
  * @defaultValue true
@@ -1258,33 +1231,33 @@ export var PAGE_STATUS;
1258
1231
  */ _define_property(this, "openType", void 0);
1259
1232
  _define_property(this, "type", void 0);
1260
1233
  var _props_isShow;
1261
- this.isShow = (_props_isShow = (_props = props) === null || _props === void 0 ? void 0 : _props.isShow) !== null && _props_isShow !== void 0 ? _props_isShow : true;
1234
+ this.isShow = (_props_isShow = props === null || props === void 0 ? void 0 : props.isShow) !== null && _props_isShow !== void 0 ? _props_isShow : true;
1262
1235
  var _props_content;
1263
- this.content = (_props_content = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.content) !== null && _props_content !== void 0 ? _props_content : "";
1236
+ this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : "";
1264
1237
  var _props_formKey;
1265
- this.formKey = (_props_formKey = (_props2 = props) === null || _props2 === void 0 ? void 0 : _props2.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : "";
1238
+ this.formKey = (_props_formKey = props === null || props === void 0 ? void 0 : props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : "";
1266
1239
  var _props_openType;
1267
- this.openType = (_props_openType = (_props3 = props) === null || _props3 === void 0 ? void 0 : _props3.openType) !== null && _props_openType !== void 0 ? _props_openType : "modal";
1240
+ this.openType = (_props_openType = props === null || props === void 0 ? void 0 : props.openType) !== null && _props_openType !== void 0 ? _props_openType : "modal";
1268
1241
  var _props_type;
1269
- this.type = (_props_type = (_props4 = props) === null || _props4 === void 0 ? void 0 : _props4.type) !== null && _props_type !== void 0 ? _props_type : "";
1242
+ this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "";
1270
1243
  var _props_priorityProcess;
1271
- this.priorityProcess = (_props_priorityProcess = (_props5 = props) === null || _props5 === void 0 ? void 0 : _props5.priorityProcess) !== null && _props_priorityProcess !== void 0 ? _props_priorityProcess : false;
1244
+ this.priorityProcess = (_props_priorityProcess = props === null || props === void 0 ? void 0 : props.priorityProcess) !== null && _props_priorityProcess !== void 0 ? _props_priorityProcess : false;
1272
1245
  };
1273
1246
  export var ViewOperationItem = function ViewOperationItem(props) {
1274
1247
  "use strict";
1275
1248
  _class_call_check(this, ViewOperationItem);
1276
- var _props, _props1, _props_headers, _props2;
1249
+ var _props_headers;
1277
1250
  _define_property(this, "id", void 0);
1278
1251
  _define_property(this, "title", void 0);
1279
1252
  _define_property(this, "filters", void 0);
1280
1253
  _define_property(this, "viewFilters", void 0);
1281
1254
  _define_property(this, "headers", void 0);
1282
1255
  var _props_id;
1283
- this.id = (_props_id = (_props = props) === null || _props === void 0 ? void 0 : _props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId(8);
1256
+ this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId(8);
1284
1257
  var _props_title;
1285
- this.title = (_props_title = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.title) !== null && _props_title !== void 0 ? _props_title : "";
1258
+ this.title = (_props_title = props === null || props === void 0 ? void 0 : props.title) !== null && _props_title !== void 0 ? _props_title : "";
1286
1259
  var _props_headers_map;
1287
- this.headers = (_props_headers_map = (_props2 = props) === null || _props2 === void 0 ? void 0 : (_props_headers = _props2.headers) === null || _props_headers === void 0 ? void 0 : _props_headers.map(function(item) {
1260
+ 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) {
1288
1261
  return new ListBindHeaderItem(item);
1289
1262
  })) !== null && _props_headers_map !== void 0 ? _props_headers_map : [];
1290
1263
  callFiltersAndOrders.call(this, props);
@@ -1308,17 +1281,34 @@ export var ViewOperationItem = function ViewOperationItem(props) {
1308
1281
  export var BaseStyle = function BaseStyle(props) {
1309
1282
  "use strict";
1310
1283
  _class_call_check(this, BaseStyle);
1311
- var _props, _props1, _props2, _props3;
1312
1284
  _define_property(this, "width", void 0);
1313
1285
  _define_property(this, "height", void 0);
1314
1286
  _define_property(this, "widthConfig", void 0);
1315
1287
  _define_property(this, "heightConfig", void 0);
1316
1288
  var _props_width;
1317
- this.width = (_props_width = (_props = props) === null || _props === void 0 ? void 0 : _props.width) !== null && _props_width !== void 0 ? _props_width : "";
1289
+ this.width = (_props_width = props === null || props === void 0 ? void 0 : props.width) !== null && _props_width !== void 0 ? _props_width : "";
1318
1290
  var _props_height;
1319
- this.height = (_props_height = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.height) !== null && _props_height !== void 0 ? _props_height : "";
1291
+ this.height = (_props_height = props === null || props === void 0 ? void 0 : props.height) !== null && _props_height !== void 0 ? _props_height : "";
1320
1292
  var _props_widthConfig;
1321
- this.widthConfig = (_props_widthConfig = (_props2 = props) === null || _props2 === void 0 ? void 0 : _props2.widthConfig) !== null && _props_widthConfig !== void 0 ? _props_widthConfig : "fill";
1293
+ this.widthConfig = (_props_widthConfig = props === null || props === void 0 ? void 0 : props.widthConfig) !== null && _props_widthConfig !== void 0 ? _props_widthConfig : "fill";
1322
1294
  var _props_heightConfig;
1323
- this.heightConfig = (_props_heightConfig = (_props3 = props) === null || _props3 === void 0 ? void 0 : _props3.heightConfig) !== null && _props_heightConfig !== void 0 ? _props_heightConfig : "fill";
1295
+ this.heightConfig = (_props_heightConfig = props === null || props === void 0 ? void 0 : props.heightConfig) !== null && _props_heightConfig !== void 0 ? _props_heightConfig : "fill";
1296
+ };
1297
+ export var OptObject = function OptObject(props) {
1298
+ "use strict";
1299
+ _class_call_check(this, OptObject);
1300
+ /**
1301
+ * 操作项编码
1302
+ * @defaultValue ''
1303
+ * @public
1304
+ */ _define_property(this, "optCode", void 0);
1305
+ /**
1306
+ * 操作项类型
1307
+ * @defaultValue ''
1308
+ * @public
1309
+ */ _define_property(this, "optType", void 0);
1310
+ var _props_optCode;
1311
+ this.optCode = (_props_optCode = props === null || props === void 0 ? void 0 : props.optCode) !== null && _props_optCode !== void 0 ? _props_optCode : "";
1312
+ var _props_optType;
1313
+ this.optType = (_props_optType = props === null || props === void 0 ? void 0 : props.optType) !== null && _props_optType !== void 0 ? _props_optType : "";
1324
1314
  };