@byteluck-fe/model-driven-core 2.2.6 → 2.2.7-beta.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 (61) hide show
  1. package/dist/esm/common/BaseControl/designer.js +228 -189
  2. package/dist/esm/common/BaseControl/property.js +21 -4
  3. package/dist/esm/common/BaseControl/runtime.js +26 -5
  4. package/dist/esm/common/ColumnControl/designer.js +15 -1
  5. package/dist/esm/common/ColumnControl/property.js +34 -11
  6. package/dist/esm/common/ColumnControl/runtime.js +15 -1
  7. package/dist/esm/common/FormControl/designer.js +18 -3
  8. package/dist/esm/common/FormControl/property.js +45 -21
  9. package/dist/esm/common/FormControl/runtime.js +16 -1
  10. package/dist/esm/common/LayoutControl/designer.js +104 -70
  11. package/dist/esm/common/LayoutControl/runtime.js +16 -1
  12. package/dist/esm/common/ListControl/designer.js +86 -61
  13. package/dist/esm/common/ListControl/property.js +14 -0
  14. package/dist/esm/common/ListControl/runtime.js +16 -1
  15. package/dist/esm/common/SearchViewControl/designer.js +15 -1
  16. package/dist/esm/common/SearchViewControl/property.js +14 -0
  17. package/dist/esm/common/SearchViewControl/runtime.js +15 -1
  18. package/dist/esm/common/WrapControl/designer.js +15 -1
  19. package/dist/esm/common/WrapControl/runtime.js +15 -1
  20. package/dist/esm/framework/RegisterControls.js +197 -128
  21. package/dist/esm/framework/index.js +175 -3
  22. package/dist/index.umd.js +1 -1
  23. package/dist/types/common/BaseControl/designer.d.ts +62 -62
  24. package/dist/types/common/BaseControl/index.d.ts +13 -13
  25. package/dist/types/common/BaseControl/property.d.ts +22 -22
  26. package/dist/types/common/BaseControl/runtime.d.ts +22 -22
  27. package/dist/types/common/BaseControl/types.d.ts +35 -35
  28. package/dist/types/common/ColumnControl/designer.d.ts +10 -10
  29. package/dist/types/common/ColumnControl/index.d.ts +12 -12
  30. package/dist/types/common/ColumnControl/property.d.ts +34 -34
  31. package/dist/types/common/ColumnControl/runtime.d.ts +10 -10
  32. package/dist/types/common/ControlArray.d.ts +8 -8
  33. package/dist/types/common/FormControl/designer.d.ts +13 -13
  34. package/dist/types/common/FormControl/index.d.ts +12 -12
  35. package/dist/types/common/FormControl/property.d.ts +44 -44
  36. package/dist/types/common/FormControl/runtime.d.ts +11 -11
  37. package/dist/types/common/LayoutControl/designer.d.ts +21 -21
  38. package/dist/types/common/LayoutControl/index.d.ts +12 -12
  39. package/dist/types/common/LayoutControl/property.d.ts +6 -6
  40. package/dist/types/common/LayoutControl/runtime.d.ts +11 -11
  41. package/dist/types/common/ListControl/designer.d.ts +16 -16
  42. package/dist/types/common/ListControl/index.d.ts +12 -12
  43. package/dist/types/common/ListControl/property.d.ts +12 -12
  44. package/dist/types/common/ListControl/runtime.d.ts +12 -12
  45. package/dist/types/common/SearchViewControl/designer.d.ts +11 -11
  46. package/dist/types/common/SearchViewControl/index.d.ts +12 -12
  47. package/dist/types/common/SearchViewControl/property.d.ts +8 -8
  48. package/dist/types/common/SearchViewControl/runtime.d.ts +11 -11
  49. package/dist/types/common/Validator.d.ts +15 -15
  50. package/dist/types/common/WrapControl/designer.d.ts +11 -11
  51. package/dist/types/common/WrapControl/index.d.ts +12 -12
  52. package/dist/types/common/WrapControl/property.d.ts +6 -6
  53. package/dist/types/common/WrapControl/runtime.d.ts +11 -11
  54. package/dist/types/common/controlHooksEmitter.d.ts +4 -4
  55. package/dist/types/common/index.d.ts +11 -11
  56. package/dist/types/common/initOptionAndDataSourceRules.d.ts +10 -10
  57. package/dist/types/framework/RegisterControls.d.ts +33 -33
  58. package/dist/types/framework/index.d.ts +358 -358
  59. package/dist/types/index.d.ts +3 -3
  60. package/dist/types/type.d.ts +91 -91
  61. package/package.json +3 -3
@@ -9,6 +9,19 @@ function _classCallCheck(instance, Constructor) {
9
9
  throw new TypeError("Cannot call a class as a function");
10
10
  }
11
11
  }
12
+ function _defineProperty(obj, key, value) {
13
+ if (key in obj) {
14
+ Object.defineProperty(obj, key, {
15
+ value: value,
16
+ enumerable: true,
17
+ configurable: true,
18
+ writable: true
19
+ });
20
+ } else {
21
+ obj[key] = value;
22
+ }
23
+ return obj;
24
+ }
12
25
  function _getPrototypeOf(o) {
13
26
  _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
14
27
  return o.__proto__ || Object.getPrototypeOf(o);
@@ -81,6 +94,9 @@ export * from "./RegisterControls";
81
94
  export var DataBind = function DataBind(props) {
82
95
  "use strict";
83
96
  _classCallCheck(this, DataBind);
97
+ _defineProperty(this, "dataCode", void 0);
98
+ _defineProperty(this, "fieldCode", void 0);
99
+ _defineProperty(this, "fieldType", void 0);
84
100
  var _props_dataCode;
85
101
  this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
86
102
  var _props_fieldCode;
@@ -91,6 +107,9 @@ export var DataBind = function DataBind(props) {
91
107
  export var AutoWidth = function AutoWidth(props) {
92
108
  "use strict";
93
109
  _classCallCheck(this, AutoWidth);
110
+ _defineProperty(this, "minWidth", void 0);
111
+ _defineProperty(this, "maxWidth", void 0);
112
+ _defineProperty(this, "flex", void 0);
94
113
  var _props_minWidth;
95
114
  this.minWidth = (_props_minWidth = props === null || props === void 0 ? void 0 : props.minWidth) !== null && _props_minWidth !== void 0 ? _props_minWidth : 150;
96
115
  this.maxWidth = props === null || props === void 0 ? void 0 : props.maxWidth;
@@ -100,6 +119,9 @@ export var AutoWidth = function AutoWidth(props) {
100
119
  export var FormBind = function FormBind(props) {
101
120
  "use strict";
102
121
  _classCallCheck(this, FormBind);
122
+ _defineProperty(this, "dataCode", void 0);
123
+ _defineProperty(this, "formKey", void 0);
124
+ _defineProperty(this, "appId", void 0);
103
125
  var _props_dataCode;
104
126
  this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
105
127
  var _props_formKey;
@@ -115,6 +137,7 @@ export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
115
137
  _classCallCheck(this, FormSelectBind);
116
138
  var _this;
117
139
  _this = _super.call(this, props);
140
+ _defineProperty(_assertThisInitialized(_this), "primaryControlId", void 0);
118
141
  var _props_primaryControlId;
119
142
  _this.primaryControlId = (_props_primaryControlId = props === null || props === void 0 ? void 0 : props.primaryControlId) !== null && _props_primaryControlId !== void 0 ? _props_primaryControlId : "";
120
143
  return _this;
@@ -124,6 +147,7 @@ export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
124
147
  var ListBindHeaderItem = function ListBindHeaderItem(props) {
125
148
  "use strict";
126
149
  _classCallCheck(this, ListBindHeaderItem);
150
+ _defineProperty(this, "fieldCode", void 0);
127
151
  var _props_fieldCode;
128
152
  this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : "";
129
153
  };
@@ -131,6 +155,9 @@ export var ListBind = function ListBind(props) {
131
155
  "use strict";
132
156
  _classCallCheck(this, ListBind);
133
157
  var _props_headers;
158
+ _defineProperty(this, "appId", void 0);
159
+ _defineProperty(this, "formKey", void 0);
160
+ _defineProperty(this, "headers", void 0);
134
161
  var _props_appId;
135
162
  this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : "";
136
163
  var _props_formKey;
@@ -143,6 +170,9 @@ export var ListBind = function ListBind(props) {
143
170
  export var FieldBindItem = function FieldBindItem(props) {
144
171
  "use strict";
145
172
  _classCallCheck(this, FieldBindItem);
173
+ _defineProperty(this, "fieldName", void 0);
174
+ _defineProperty(this, "fieldCode", void 0);
175
+ _defineProperty(this, "fieldType", void 0);
146
176
  var _props_fieldName;
147
177
  this.fieldName = (_props_fieldName = props === null || props === void 0 ? void 0 : props.fieldName) !== null && _props_fieldName !== void 0 ? _props_fieldName : "";
148
178
  var _props_fieldCode;
@@ -158,6 +188,10 @@ export var SubListItem = /*#__PURE__*/ function(FormBind) {
158
188
  _classCallCheck(this, SubListItem);
159
189
  var _this;
160
190
  _this = _super.call(this, props);
191
+ _defineProperty(_assertThisInitialized(_this), "title", void 0);
192
+ _defineProperty(_assertThisInitialized(_this), "svcCode", void 0);
193
+ _defineProperty(_assertThisInitialized(_this), "isOpenFilter", void 0);
194
+ _defineProperty(_assertThisInitialized(_this), "filters", void 0);
161
195
  var _props_title;
162
196
  _this.title = (_props_title = props === null || props === void 0 ? void 0 : props.title) !== null && _props_title !== void 0 ? _props_title : "";
163
197
  var _props_svcCode;
@@ -174,7 +208,10 @@ export var SubListPageConfig = function SubListPageConfig(props) {
174
208
  "use strict";
175
209
  _classCallCheck(this, SubListPageConfig);
176
210
  var _props_displayFields, _props_sublists;
177
- this.type = "sublist-page";
211
+ _defineProperty(this, "type", "sublist-page");
212
+ _defineProperty(this, "formBind", void 0);
213
+ _defineProperty(this, "displayFields", void 0);
214
+ _defineProperty(this, "sublists", void 0);
178
215
  this.formBind = new FormBind(props === null || props === void 0 ? void 0 : props.formBind);
179
216
  var _props_displayFields_map;
180
217
  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) {
@@ -188,12 +225,17 @@ export var SubListPageConfig = function SubListPageConfig(props) {
188
225
  export var LeftVariable = function LeftVariable(props) {
189
226
  "use strict";
190
227
  _classCallCheck(this, LeftVariable);
228
+ _defineProperty(this, "type", void 0);
229
+ _defineProperty(this, "value", void 0);
191
230
  this.type = props === null || props === void 0 ? void 0 : props.type;
192
231
  this.value = props === null || props === void 0 ? void 0 : props.value;
193
232
  };
194
233
  export var RightVariable = function RightVariable(props) {
195
234
  "use strict";
196
235
  _classCallCheck(this, RightVariable);
236
+ _defineProperty(this, "type", void 0);
237
+ _defineProperty(this, "value", void 0);
238
+ _defineProperty(this, "displayBos", void 0);
197
239
  var _props_type;
198
240
  this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "custom";
199
241
  var _props_value;
@@ -205,7 +247,12 @@ export var FieldFilterConditions = function FieldFilterConditions(props) {
205
247
  "use strict";
206
248
  var _this = this;
207
249
  _classCallCheck(this, FieldFilterConditions);
208
- this.type = "conditions";
250
+ _defineProperty(this, "id", void 0);
251
+ _defineProperty(this, "ruleId", void 0);
252
+ _defineProperty(this, "type", "conditions");
253
+ _defineProperty(this, "level", void 0);
254
+ _defineProperty(this, "value", void 0);
255
+ _defineProperty(this, "children", void 0);
209
256
  var _props_id;
210
257
  this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId();
211
258
  var _props_ruleId;
@@ -232,7 +279,14 @@ export var FieldFilterConditions = function FieldFilterConditions(props) {
232
279
  export var FieldFilterCondition = function FieldFilterCondition(props) {
233
280
  "use strict";
234
281
  _classCallCheck(this, FieldFilterCondition);
235
- this.type = "condition";
282
+ _defineProperty(this, "id", void 0);
283
+ _defineProperty(this, "ruleId", void 0);
284
+ _defineProperty(this, "type", "condition");
285
+ _defineProperty(this, "symbol", void 0);
286
+ _defineProperty(this, "checked", void 0);
287
+ _defineProperty(this, "describe", void 0);
288
+ _defineProperty(this, "leftVariableBo", void 0);
289
+ _defineProperty(this, "rightVariableBo", void 0);
236
290
  var _props_id;
237
291
  this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId();
238
292
  var _props_ruleId;
@@ -249,6 +303,14 @@ export var FieldFilterCondition = function FieldFilterCondition(props) {
249
303
  export var MultistageFillingItem = function MultistageFillingItem(props) {
250
304
  "use strict";
251
305
  _classCallCheck(this, MultistageFillingItem);
306
+ _defineProperty(this, "controlId", void 0);
307
+ _defineProperty(this, "fieldCode", void 0);
308
+ /**
309
+ * 事件在填充时,需要根据数据类型进行判断处理动作。
310
+ */ _defineProperty(this, "fieldType", void 0);
311
+ /*
312
+ * 如果是ObjectDataBind的控件,可以指定填充到哪个数据项
313
+ * */ _defineProperty(this, "propName", void 0);
252
314
  var _props_controlId;
253
315
  this.controlId = (_props_controlId = props === null || props === void 0 ? void 0 : props.controlId) !== null && _props_controlId !== void 0 ? _props_controlId : "";
254
316
  var _props_fieldCode;
@@ -261,6 +323,9 @@ export var MultistageFillingItem = function MultistageFillingItem(props) {
261
323
  export var DisplayBoListItem = function DisplayBoListItem(props) {
262
324
  "use strict";
263
325
  _classCallCheck(this, DisplayBoListItem);
326
+ _defineProperty(this, "type", void 0);
327
+ _defineProperty(this, "value", void 0);
328
+ _defineProperty(this, "fieldType", void 0);
264
329
  var _props_type;
265
330
  this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "FIELD";
266
331
  var _props_value;
@@ -270,6 +335,8 @@ export var DisplayBoListItem = function DisplayBoListItem(props) {
270
335
  export var DataSourceOrderItem = function DataSourceOrderItem(props) {
271
336
  "use strict";
272
337
  _classCallCheck(this, DataSourceOrderItem);
338
+ _defineProperty(this, "columnName", void 0);
339
+ _defineProperty(this, "desc", void 0);
273
340
  var _props_columnName;
274
341
  this.columnName = (_props_columnName = props.columnName) !== null && _props_columnName !== void 0 ? _props_columnName : "";
275
342
  var _props_desc;
@@ -278,6 +345,12 @@ export var DataSourceOrderItem = function DataSourceOrderItem(props) {
278
345
  export var DataSourceDataSetValue = function DataSourceDataSetValue(props) {
279
346
  "use strict";
280
347
  _classCallCheck(this, DataSourceDataSetValue);
348
+ // fieldCode
349
+ _defineProperty(this, "code", void 0);
350
+ // 值
351
+ _defineProperty(this, "value", void 0);
352
+ // 数据类型
353
+ _defineProperty(this, "field_type", void 0);
281
354
  var _props_code;
282
355
  this.code = (_props_code = props.code) !== null && _props_code !== void 0 ? _props_code : "";
283
356
  var _props_value;
@@ -289,6 +362,13 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
289
362
  "use strict";
290
363
  _classCallCheck(this, DataSourceParamItem);
291
364
  var _props_orders, _props_dataSet;
365
+ /**
366
+ * 字段ID
367
+ */ _defineProperty(this, "id", void 0);
368
+ _defineProperty(this, "limit", void 0);
369
+ _defineProperty(this, "orders", void 0);
370
+ _defineProperty(this, "formKey", void 0);
371
+ _defineProperty(this, "dataSet", void 0);
292
372
  var _props_id;
293
373
  //字段ID,不可以当作随机数生成唯一编号
294
374
  this.id = (_props_id = props.id) !== null && _props_id !== void 0 ? _props_id : "";
@@ -328,6 +408,21 @@ export var DataSourceBind = function DataSourceBind(props) {
328
408
  "use strict";
329
409
  var _this = this;
330
410
  _classCallCheck(this, DataSourceBind);
411
+ _defineProperty(this, "dataCode", void 0 // 绑定数据源id
412
+ );
413
+ _defineProperty(this, "valueFieldCode", void 0 // 存储值
414
+ );
415
+ _defineProperty(this, "displayBoList", void 0 // 显示值
416
+ );
417
+ _defineProperty(this, "svcCode", void 0 // 绑定服务
418
+ );
419
+ _defineProperty(this, "appId", void 0);
420
+ _defineProperty(this, "filters", void 0);
421
+ // 过滤
422
+ _defineProperty(this, "orders", void 0 // 排序
423
+ );
424
+ _defineProperty(this, "showOrder", void 0 //是否显示排序
425
+ );
331
426
  var _props_dataCode;
332
427
  this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
333
428
  var _props_appId;
@@ -351,6 +446,9 @@ export var CustomAttributeItem = function CustomAttributeItem(props) {
351
446
  "use strict";
352
447
  _classCallCheck(this, CustomAttributeItem);
353
448
  var _props_value;
449
+ _defineProperty(this, "name", void 0);
450
+ _defineProperty(this, "key", void 0);
451
+ _defineProperty(this, "value", void 0);
354
452
  var _props_name;
355
453
  this.name = (_props_name = props === null || props === void 0 ? void 0 : props.name) !== null && _props_name !== void 0 ? _props_name : "";
356
454
  var _props_key;
@@ -369,6 +467,7 @@ export var SuperDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
369
467
  var _this;
370
468
  var _props_attributes;
371
469
  _this = _super.call(this, props);
470
+ _defineProperty(_assertThisInitialized(_this), "attributes", void 0);
372
471
  var _props_attributes_map;
373
472
  _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) {
374
473
  return new CustomAttributeItem(item);
@@ -385,6 +484,7 @@ export var TreeDataSourceBind = /*#__PURE__*/ function(SuperDataSourceBind) {
385
484
  _classCallCheck(this, TreeDataSourceBind);
386
485
  var _this;
387
486
  _this = _super.call(this, props);
487
+ _defineProperty(_assertThisInitialized(_this), "rootNode", void 0);
388
488
  _this.rootNode = new RightVariable(props === null || props === void 0 ? void 0 : props.rootNode);
389
489
  return _this;
390
490
  }
@@ -394,6 +494,15 @@ var FillBind = function FillBind(props) {
394
494
  "use strict";
395
495
  _classCallCheck(this, FillBind);
396
496
  var _props_fillList;
497
+ /*
498
+ * 需要被填充的数据源
499
+ * */ _defineProperty(this, "dataCode", void 0);
500
+ /*
501
+ * appId
502
+ * */ _defineProperty(this, "appId", void 0);
503
+ /*
504
+ * 执行填充的数据项和控件
505
+ * */ _defineProperty(this, "fillList", void 0);
397
506
  var _props_dataCode;
398
507
  this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
399
508
  var _props_appId;
@@ -413,6 +522,12 @@ var FillBind = function FillBind(props) {
413
522
  _classCallCheck(this, FillPayloadBind);
414
523
  var _this;
415
524
  _this = _super.call(this, props);
525
+ /*
526
+ * 数据源过滤条件
527
+ * */ _defineProperty(_assertThisInitialized(_this), "filters", void 0);
528
+ /*
529
+ * 数据源排序条件
530
+ * */ _defineProperty(_assertThisInitialized(_this), "orders", void 0);
416
531
  callFiltersAndOrders.call(_assertThisInitialized(_this), props);
417
532
  return _this;
418
533
  }
@@ -428,6 +543,14 @@ var FillBind = function FillBind(props) {
428
543
  _classCallCheck(this, FillBackBind);
429
544
  var _this;
430
545
  _this = _super.call(this, props);
546
+ /*
547
+ * 回填模式
548
+ * current 当前表(根据按钮所在位置来区分,而不是通过主表和子表来区分)
549
+ * subtable 子表
550
+ * */ _defineProperty(_assertThisInitialized(_this), "mode", void 0);
551
+ /*
552
+ * 多选
553
+ * */ _defineProperty(_assertThisInitialized(_this), "multiple", void 0);
431
554
  var _props_mode;
432
555
  _this.mode = (_props_mode = props === null || props === void 0 ? void 0 : props.mode) !== null && _props_mode !== void 0 ? _props_mode : "current";
433
556
  var _props_multiple;
@@ -439,6 +562,9 @@ var FillBind = function FillBind(props) {
439
562
  export var Language = function Language(props) {
440
563
  "use strict";
441
564
  _classCallCheck(this, Language);
565
+ _defineProperty(this, "zh", void 0);
566
+ _defineProperty(this, "en", void 0);
567
+ _defineProperty(this, "ja", void 0);
442
568
  var _props_zh;
443
569
  this.zh = (_props_zh = props === null || props === void 0 ? void 0 : props.zh) !== null && _props_zh !== void 0 ? _props_zh : "";
444
570
  var _props_en;
@@ -449,6 +575,9 @@ export var Language = function Language(props) {
449
575
  export var RegularRules = function RegularRules(props) {
450
576
  "use strict";
451
577
  _classCallCheck(this, RegularRules);
578
+ _defineProperty(this, "stencilName", void 0);
579
+ _defineProperty(this, "expression", void 0);
580
+ _defineProperty(this, "errMessage", void 0);
452
581
  var _props_stencilName;
453
582
  this.stencilName = (_props_stencilName = props === null || props === void 0 ? void 0 : props.stencilName) !== null && _props_stencilName !== void 0 ? _props_stencilName : "";
454
583
  var _props_expression;
@@ -460,6 +589,9 @@ export var RegularRules = function RegularRules(props) {
460
589
  export var OptionSetting = function OptionSetting(props) {
461
590
  "use strict";
462
591
  _classCallCheck(this, OptionSetting);
592
+ _defineProperty(this, "id", void 0);
593
+ _defineProperty(this, "label", void 0);
594
+ _defineProperty(this, "value", void 0);
463
595
  var _props_id;
464
596
  this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId(8);
465
597
  var _props_label;
@@ -475,6 +607,8 @@ export var ImageOptionSetting = /*#__PURE__*/ function(OptionSetting) {
475
607
  _classCallCheck(this, ImageOptionSetting);
476
608
  var _this;
477
609
  _this = _super.call(this, props);
610
+ _defineProperty(_assertThisInitialized(_this), "image", void 0);
611
+ _defineProperty(_assertThisInitialized(_this), "type", void 0);
478
612
  var _props_image;
479
613
  _this.image = (_props_image = props === null || props === void 0 ? void 0 : props.image) !== null && _props_image !== void 0 ? _props_image : "";
480
614
  var _props_type;
@@ -507,6 +641,8 @@ export var AmountDataBind = /*#__PURE__*/ function(ObjectDataBind) {
507
641
  _classCallCheck(this, AmountDataBind);
508
642
  var _this;
509
643
  _this = _super.call(this);
644
+ _defineProperty(_assertThisInitialized(_this), "amount", void 0);
645
+ _defineProperty(_assertThisInitialized(_this), "currency", void 0);
510
646
  _this.amount = new DataBind(props === null || props === void 0 ? void 0 : props.amount);
511
647
  _this.currency = new DataBind(props === null || props === void 0 ? void 0 : props.currency);
512
648
  return _this;
@@ -516,6 +652,8 @@ export var AmountDataBind = /*#__PURE__*/ function(ObjectDataBind) {
516
652
  export var AmountValue = function AmountValue(props) {
517
653
  "use strict";
518
654
  _classCallCheck(this, AmountValue);
655
+ _defineProperty(this, "amount", void 0);
656
+ _defineProperty(this, "currency", void 0);
519
657
  var _props_amount;
520
658
  this.amount = (_props_amount = props === null || props === void 0 ? void 0 : props.amount) !== null && _props_amount !== void 0 ? _props_amount : "";
521
659
  var _props_currency;
@@ -529,6 +667,8 @@ export var RangeDataBind = /*#__PURE__*/ function(ObjectDataBind) {
529
667
  _classCallCheck(this, RangeDataBind);
530
668
  var _this;
531
669
  _this = _super.call(this);
670
+ _defineProperty(_assertThisInitialized(_this), "min", void 0);
671
+ _defineProperty(_assertThisInitialized(_this), "max", void 0);
532
672
  _this.min = new DataBind(props === null || props === void 0 ? void 0 : props.min);
533
673
  _this.max = new DataBind(props === null || props === void 0 ? void 0 : props.max);
534
674
  return _this;
@@ -538,6 +678,8 @@ export var RangeDataBind = /*#__PURE__*/ function(ObjectDataBind) {
538
678
  export var RangeDateValue = function RangeDateValue(props) {
539
679
  "use strict";
540
680
  _classCallCheck(this, RangeDateValue);
681
+ _defineProperty(this, "min", void 0);
682
+ _defineProperty(this, "max", void 0);
541
683
  var _props_min;
542
684
  this.min = (_props_min = props === null || props === void 0 ? void 0 : props.min) !== null && _props_min !== void 0 ? _props_min : "";
543
685
  var _props_max;
@@ -546,6 +688,12 @@ export var RangeDateValue = function RangeDateValue(props) {
546
688
  export var AddressValue = function AddressValue(props) {
547
689
  "use strict";
548
690
  _classCallCheck(this, AddressValue);
691
+ _defineProperty(this, "city", void 0);
692
+ _defineProperty(this, "cityDisplay", void 0);
693
+ _defineProperty(this, "district", void 0);
694
+ _defineProperty(this, "districtDisplay", void 0);
695
+ _defineProperty(this, "province", void 0);
696
+ _defineProperty(this, "provinceDisplay", void 0);
549
697
  var _props_city;
550
698
  this.city = (_props_city = props === null || props === void 0 ? void 0 : props.city) !== null && _props_city !== void 0 ? _props_city : "";
551
699
  var _props_cityDisplay;
@@ -567,6 +715,8 @@ export var CalcDataBind = /*#__PURE__*/ function(ObjectDataBind) {
567
715
  _classCallCheck(this, CalcDataBind);
568
716
  var _this;
569
717
  _this = _super.call(this);
718
+ _defineProperty(_assertThisInitialized(_this), "result", void 0);
719
+ _defineProperty(_assertThisInitialized(_this), "unit", void 0);
570
720
  _this.result = new DataBind(props === null || props === void 0 ? void 0 : props.result);
571
721
  _this.unit = new DataBind(props === null || props === void 0 ? void 0 : props.unit);
572
722
  return _this;
@@ -576,6 +726,8 @@ export var CalcDataBind = /*#__PURE__*/ function(ObjectDataBind) {
576
726
  export var CalcValue = function CalcValue(props) {
577
727
  "use strict";
578
728
  _classCallCheck(this, CalcValue);
729
+ _defineProperty(this, "result", void 0);
730
+ _defineProperty(this, "unit", void 0);
579
731
  var _props_result;
580
732
  this.result = (_props_result = props === null || props === void 0 ? void 0 : props.result) !== null && _props_result !== void 0 ? _props_result : 0;
581
733
  var _props_unit;
@@ -651,6 +803,12 @@ export var PAGE_STATUS;
651
803
  export var OperationItem = function OperationItem(props) {
652
804
  "use strict";
653
805
  _classCallCheck(this, OperationItem);
806
+ _defineProperty(this, "isShow", void 0);
807
+ _defineProperty(this, "priorityProcess", void 0);
808
+ _defineProperty(this, "formKey", void 0);
809
+ _defineProperty(this, "content", void 0);
810
+ _defineProperty(this, "openType", void 0);
811
+ _defineProperty(this, "type", void 0);
654
812
  var _props_isShow;
655
813
  this.isShow = (_props_isShow = props === null || props === void 0 ? void 0 : props.isShow) !== null && _props_isShow !== void 0 ? _props_isShow : true;
656
814
  var _props_content;
@@ -668,6 +826,10 @@ export var ViewOperationItem = function ViewOperationItem(props) {
668
826
  "use strict";
669
827
  _classCallCheck(this, ViewOperationItem);
670
828
  var _props_headers;
829
+ _defineProperty(this, "id", void 0);
830
+ _defineProperty(this, "title", void 0);
831
+ _defineProperty(this, "filters", void 0);
832
+ _defineProperty(this, "headers", void 0);
671
833
  var _props_id;
672
834
  this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId(8);
673
835
  var _props_title;
@@ -683,6 +845,12 @@ export var ViewOperationItem = function ViewOperationItem(props) {
683
845
  */ export var CustomPermissionItem = function CustomPermissionItem(props) {
684
846
  "use strict";
685
847
  _classCallCheck(this, CustomPermissionItem);
848
+ /**
849
+ * 人工输入的权限key
850
+ */ _defineProperty(this, "key", void 0);
851
+ /**
852
+ * 权限名称
853
+ */ _defineProperty(this, "caption", void 0);
686
854
  var _props_key;
687
855
  this.key = (_props_key = props.key) !== null && _props_key !== void 0 ? _props_key : genNonDuplicateId(8);
688
856
  var _props_caption;
@@ -691,6 +859,10 @@ export var ViewOperationItem = function ViewOperationItem(props) {
691
859
  export var BaseStyle = function BaseStyle(props) {
692
860
  "use strict";
693
861
  _classCallCheck(this, BaseStyle);
862
+ _defineProperty(this, "width", void 0);
863
+ _defineProperty(this, "height", void 0);
864
+ _defineProperty(this, "widthConfig", void 0);
865
+ _defineProperty(this, "heightConfig", void 0);
694
866
  var _props_width;
695
867
  this.width = (_props_width = props === null || props === void 0 ? void 0 : props.width) !== null && _props_width !== void 0 ? _props_width : "";
696
868
  var _props_height;