@byteluck-fe/model-driven-core 2.5.0-alpha.6 → 2.6.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 (63) hide show
  1. package/dist/esm/common/BaseControl/designer.js +189 -228
  2. package/dist/esm/common/BaseControl/property.js +4 -21
  3. package/dist/esm/common/BaseControl/runtime.js +5 -26
  4. package/dist/esm/common/ColumnControl/designer.js +1 -15
  5. package/dist/esm/common/ColumnControl/property.js +11 -59
  6. package/dist/esm/common/ColumnControl/runtime.js +1 -15
  7. package/dist/esm/common/FormControl/designer.js +3 -18
  8. package/dist/esm/common/FormControl/property.js +21 -86
  9. package/dist/esm/common/FormControl/runtime.js +1 -16
  10. package/dist/esm/common/LayoutControl/designer.js +70 -104
  11. package/dist/esm/common/LayoutControl/runtime.js +1 -16
  12. package/dist/esm/common/ListControl/designer.js +61 -86
  13. package/dist/esm/common/ListControl/property.js +0 -14
  14. package/dist/esm/common/ListControl/runtime.js +1 -16
  15. package/dist/esm/common/SearchViewControl/designer.js +1 -15
  16. package/dist/esm/common/SearchViewControl/property.js +0 -14
  17. package/dist/esm/common/SearchViewControl/runtime.js +1 -15
  18. package/dist/esm/common/WrapControl/designer.js +1 -15
  19. package/dist/esm/common/WrapControl/runtime.js +1 -15
  20. package/dist/esm/framework/RegisterControls.js +128 -197
  21. package/dist/esm/framework/index.js +51 -285
  22. package/dist/index.umd.js +1 -1
  23. package/dist/types/api-doc-index.d.ts +4 -4
  24. package/dist/types/common/BaseControl/designer.d.ts +62 -62
  25. package/dist/types/common/BaseControl/index.d.ts +13 -13
  26. package/dist/types/common/BaseControl/property.d.ts +22 -22
  27. package/dist/types/common/BaseControl/runtime.d.ts +22 -22
  28. package/dist/types/common/BaseControl/types.d.ts +35 -35
  29. package/dist/types/common/ColumnControl/designer.d.ts +10 -10
  30. package/dist/types/common/ColumnControl/index.d.ts +12 -12
  31. package/dist/types/common/ColumnControl/property.d.ts +73 -73
  32. package/dist/types/common/ColumnControl/runtime.d.ts +10 -10
  33. package/dist/types/common/ControlArray.d.ts +8 -8
  34. package/dist/types/common/FormControl/designer.d.ts +13 -13
  35. package/dist/types/common/FormControl/index.d.ts +12 -12
  36. package/dist/types/common/FormControl/property.d.ts +96 -96
  37. package/dist/types/common/FormControl/runtime.d.ts +11 -11
  38. package/dist/types/common/LayoutControl/designer.d.ts +21 -21
  39. package/dist/types/common/LayoutControl/index.d.ts +12 -12
  40. package/dist/types/common/LayoutControl/property.d.ts +6 -6
  41. package/dist/types/common/LayoutControl/runtime.d.ts +11 -11
  42. package/dist/types/common/ListControl/designer.d.ts +16 -16
  43. package/dist/types/common/ListControl/index.d.ts +12 -12
  44. package/dist/types/common/ListControl/property.d.ts +12 -12
  45. package/dist/types/common/ListControl/runtime.d.ts +12 -12
  46. package/dist/types/common/SearchViewControl/designer.d.ts +11 -11
  47. package/dist/types/common/SearchViewControl/index.d.ts +12 -12
  48. package/dist/types/common/SearchViewControl/property.d.ts +8 -8
  49. package/dist/types/common/SearchViewControl/runtime.d.ts +11 -11
  50. package/dist/types/common/Validator.d.ts +15 -15
  51. package/dist/types/common/WrapControl/designer.d.ts +11 -11
  52. package/dist/types/common/WrapControl/index.d.ts +12 -12
  53. package/dist/types/common/WrapControl/property.d.ts +6 -6
  54. package/dist/types/common/WrapControl/runtime.d.ts +11 -11
  55. package/dist/types/common/controlHooksEmitter.d.ts +4 -4
  56. package/dist/types/common/index.d.ts +12 -12
  57. package/dist/types/common/initLinkOperationRules.d.ts +6 -6
  58. package/dist/types/common/initOptionAndDataSourceRules.d.ts +10 -10
  59. package/dist/types/framework/RegisterControls.d.ts +33 -33
  60. package/dist/types/framework/index.d.ts +616 -558
  61. package/dist/types/index.d.ts +3 -3
  62. package/dist/types/type.d.ts +91 -91
  63. package/package.json +3 -3
@@ -9,19 +9,6 @@ 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
- }
25
12
  function _getPrototypeOf(o) {
26
13
  _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
27
14
  return o.__proto__ || Object.getPrototypeOf(o);
@@ -97,21 +84,6 @@ export * from "./RegisterControls";
97
84
  */ export var DataBind = function DataBind(props) {
98
85
  "use strict";
99
86
  _classCallCheck(this, DataBind);
100
- /**
101
- * 数据模型编码
102
- * @defaultValue ''
103
- * @public
104
- */ _defineProperty(this, "dataCode", void 0);
105
- /**
106
- * 字段编码
107
- * @defaultValue ''
108
- * @public
109
- */ _defineProperty(this, "fieldCode", void 0);
110
- /**
111
- * 字段类型
112
- * @defaultValue ''
113
- * @public
114
- */ _defineProperty(this, "fieldType", void 0);
115
87
  var _props_dataCode;
116
88
  this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
117
89
  var _props_fieldCode;
@@ -122,9 +94,6 @@ export * from "./RegisterControls";
122
94
  export var AutoWidth = function AutoWidth(props) {
123
95
  "use strict";
124
96
  _classCallCheck(this, AutoWidth);
125
- _defineProperty(this, "minWidth", void 0);
126
- _defineProperty(this, "maxWidth", void 0);
127
- _defineProperty(this, "flex", void 0);
128
97
  var _props_minWidth;
129
98
  this.minWidth = (_props_minWidth = props === null || props === void 0 ? void 0 : props.minWidth) !== null && _props_minWidth !== void 0 ? _props_minWidth : 150;
130
99
  this.maxWidth = props === null || props === void 0 ? void 0 : props.maxWidth;
@@ -139,8 +108,6 @@ export var MetaWidth = /*#__PURE__*/ function(AutoWidth) {
139
108
  _classCallCheck(this, MetaWidth);
140
109
  var _this;
141
110
  _this = _super.call(this, props);
142
- _defineProperty(_assertThisInitialized(_this), "width", void 0);
143
- _defineProperty(_assertThisInitialized(_this), "widthType", void 0);
144
111
  var _props_width;
145
112
  _this.width = (_props_width = props === null || props === void 0 ? void 0 : props.width) !== null && _props_width !== void 0 ? _props_width : 240;
146
113
  var _props_widthType;
@@ -152,8 +119,6 @@ export var MetaWidth = /*#__PURE__*/ function(AutoWidth) {
152
119
  export var MetaAutoWidth = function MetaAutoWidth(props) {
153
120
  "use strict";
154
121
  _classCallCheck(this, MetaAutoWidth);
155
- _defineProperty(this, "pc", void 0);
156
- _defineProperty(this, "mobile", void 0);
157
122
  this.pc = new MetaWidth(props === null || props === void 0 ? void 0 : props.pc);
158
123
  this.mobile = (props === null || props === void 0 ? void 0 : props.mobile) ? new MetaWidth(props === null || props === void 0 ? void 0 : props.mobile) : new MetaWidth({
159
124
  width: 130,
@@ -163,8 +128,6 @@ export var MetaAutoWidth = function MetaAutoWidth(props) {
163
128
  export var DataStorageDoc = function DataStorageDoc(props) {
164
129
  "use strict";
165
130
  _classCallCheck(this, DataStorageDoc);
166
- _defineProperty(this, "type", void 0);
167
- _defineProperty(this, "customOptions", void 0);
168
131
  var _props_type;
169
132
  this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "firstThree";
170
133
  var _props_customOptions;
@@ -173,9 +136,6 @@ export var DataStorageDoc = function DataStorageDoc(props) {
173
136
  export var FormBind = function FormBind(props) {
174
137
  "use strict";
175
138
  _classCallCheck(this, FormBind);
176
- _defineProperty(this, "dataCode", void 0);
177
- _defineProperty(this, "formKey", void 0);
178
- _defineProperty(this, "appId", void 0);
179
139
  var _props_dataCode;
180
140
  this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
181
141
  var _props_formKey;
@@ -191,7 +151,6 @@ export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
191
151
  _classCallCheck(this, FormSelectBind);
192
152
  var _this;
193
153
  _this = _super.call(this, props);
194
- _defineProperty(_assertThisInitialized(_this), "primaryControlId", void 0);
195
154
  var _props_primaryControlId;
196
155
  _this.primaryControlId = (_props_primaryControlId = props === null || props === void 0 ? void 0 : props.primaryControlId) !== null && _props_primaryControlId !== void 0 ? _props_primaryControlId : "";
197
156
  return _this;
@@ -201,7 +160,6 @@ export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
201
160
  var ListBindHeaderItem = function ListBindHeaderItem(props) {
202
161
  "use strict";
203
162
  _classCallCheck(this, ListBindHeaderItem);
204
- _defineProperty(this, "fieldCode", void 0);
205
163
  var _props_fieldCode;
206
164
  this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : "";
207
165
  };
@@ -211,18 +169,6 @@ var ListBindHeaderItem = function ListBindHeaderItem(props) {
211
169
  "use strict";
212
170
  _classCallCheck(this, ListBind);
213
171
  var _props_headers;
214
- /**
215
- * 应用ID
216
- * @public
217
- */ _defineProperty(this, "appId", void 0);
218
- /**
219
- * 表单ID
220
- * @public
221
- */ _defineProperty(this, "formKey", void 0);
222
- /**
223
- * 显示字段
224
- * @public
225
- */ _defineProperty(this, "headers", void 0);
226
172
  var _props_appId;
227
173
  this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : "";
228
174
  var _props_formKey;
@@ -235,9 +181,6 @@ var ListBindHeaderItem = function ListBindHeaderItem(props) {
235
181
  export var FieldBindItem = function FieldBindItem(props) {
236
182
  "use strict";
237
183
  _classCallCheck(this, FieldBindItem);
238
- _defineProperty(this, "fieldName", void 0);
239
- _defineProperty(this, "fieldCode", void 0);
240
- _defineProperty(this, "fieldType", void 0);
241
184
  var _props_fieldName;
242
185
  this.fieldName = (_props_fieldName = props === null || props === void 0 ? void 0 : props.fieldName) !== null && _props_fieldName !== void 0 ? _props_fieldName : "";
243
186
  var _props_fieldCode;
@@ -253,10 +196,6 @@ export var SubListItem = /*#__PURE__*/ function(FormBind) {
253
196
  _classCallCheck(this, SubListItem);
254
197
  var _this;
255
198
  _this = _super.call(this, props);
256
- _defineProperty(_assertThisInitialized(_this), "title", void 0);
257
- _defineProperty(_assertThisInitialized(_this), "svcCode", void 0);
258
- _defineProperty(_assertThisInitialized(_this), "isOpenFilter", void 0);
259
- _defineProperty(_assertThisInitialized(_this), "filters", void 0);
260
199
  var _props_title;
261
200
  _this.title = (_props_title = props === null || props === void 0 ? void 0 : props.title) !== null && _props_title !== void 0 ? _props_title : "";
262
201
  var _props_svcCode;
@@ -273,10 +212,7 @@ export var SubListPageConfig = function SubListPageConfig(props) {
273
212
  "use strict";
274
213
  _classCallCheck(this, SubListPageConfig);
275
214
  var _props_displayFields, _props_sublists;
276
- _defineProperty(this, "type", "sublist-page");
277
- _defineProperty(this, "formBind", void 0);
278
- _defineProperty(this, "displayFields", void 0);
279
- _defineProperty(this, "sublists", void 0);
215
+ this.type = "sublist-page";
280
216
  this.formBind = new FormBind(props === null || props === void 0 ? void 0 : props.formBind);
281
217
  var _props_displayFields_map;
282
218
  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) {
@@ -290,17 +226,12 @@ export var SubListPageConfig = function SubListPageConfig(props) {
290
226
  export var LeftVariable = function LeftVariable(props) {
291
227
  "use strict";
292
228
  _classCallCheck(this, LeftVariable);
293
- _defineProperty(this, "type", void 0);
294
- _defineProperty(this, "value", void 0);
295
229
  this.type = props === null || props === void 0 ? void 0 : props.type;
296
230
  this.value = props === null || props === void 0 ? void 0 : props.value;
297
231
  };
298
232
  export var RightVariable = function RightVariable(props) {
299
233
  "use strict";
300
234
  _classCallCheck(this, RightVariable);
301
- _defineProperty(this, "type", void 0);
302
- _defineProperty(this, "value", void 0);
303
- _defineProperty(this, "displayBos", void 0);
304
235
  var _props_type;
305
236
  this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "custom";
306
237
  var _props_value;
@@ -312,12 +243,7 @@ export var FieldFilterConditions = function FieldFilterConditions(props) {
312
243
  "use strict";
313
244
  var _this = this;
314
245
  _classCallCheck(this, FieldFilterConditions);
315
- _defineProperty(this, "id", void 0);
316
- _defineProperty(this, "ruleId", void 0);
317
- _defineProperty(this, "type", "conditions");
318
- _defineProperty(this, "level", void 0);
319
- _defineProperty(this, "value", void 0);
320
- _defineProperty(this, "children", void 0);
246
+ this.type = "conditions";
321
247
  var _props_id;
322
248
  this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId();
323
249
  var _props_ruleId;
@@ -344,14 +270,7 @@ export var FieldFilterConditions = function FieldFilterConditions(props) {
344
270
  export var FieldFilterCondition = function FieldFilterCondition(props) {
345
271
  "use strict";
346
272
  _classCallCheck(this, FieldFilterCondition);
347
- _defineProperty(this, "id", void 0);
348
- _defineProperty(this, "ruleId", void 0);
349
- _defineProperty(this, "type", "condition");
350
- _defineProperty(this, "symbol", void 0);
351
- _defineProperty(this, "checked", void 0);
352
- _defineProperty(this, "describe", void 0);
353
- _defineProperty(this, "leftVariableBo", void 0);
354
- _defineProperty(this, "rightVariableBo", void 0);
273
+ this.type = "condition";
355
274
  var _props_id;
356
275
  this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId();
357
276
  var _props_ruleId;
@@ -371,26 +290,6 @@ export var FieldFilterCondition = function FieldFilterCondition(props) {
371
290
  */ export var MultistageFillingItem = function MultistageFillingItem(props) {
372
291
  "use strict";
373
292
  _classCallCheck(this, MultistageFillingItem);
374
- /**
375
- * 控件ID
376
- * @defaultValue ''
377
- * @public
378
- */ _defineProperty(this, "controlId", void 0);
379
- /**
380
- * 字段
381
- * @defaultValue ''
382
- * @public
383
- */ _defineProperty(this, "fieldCode", void 0);
384
- /**
385
- * 字段类型。事件在填充时,需要根据数据类型进行判断处理动作。
386
- * @defaultValue ''
387
- * @public
388
- */ _defineProperty(this, "fieldType", void 0);
389
- /**
390
- * 属性名称。如果是ObjectDataBind的控件,可以指定填充到哪个数据项。
391
- * @defaultValue ''
392
- * @public
393
- * */ _defineProperty(this, "propName", void 0);
394
293
  var _props_controlId;
395
294
  this.controlId = (_props_controlId = props === null || props === void 0 ? void 0 : props.controlId) !== null && _props_controlId !== void 0 ? _props_controlId : "";
396
295
  var _props_fieldCode;
@@ -403,9 +302,6 @@ export var FieldFilterCondition = function FieldFilterCondition(props) {
403
302
  export var DisplayBoListItem = function DisplayBoListItem(props) {
404
303
  "use strict";
405
304
  _classCallCheck(this, DisplayBoListItem);
406
- _defineProperty(this, "type", void 0);
407
- _defineProperty(this, "value", void 0);
408
- _defineProperty(this, "fieldType", void 0);
409
305
  var _props_type;
410
306
  this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "FIELD";
411
307
  var _props_value;
@@ -415,8 +311,6 @@ export var DisplayBoListItem = function DisplayBoListItem(props) {
415
311
  export var DataSourceOrderItem = function DataSourceOrderItem(props) {
416
312
  "use strict";
417
313
  _classCallCheck(this, DataSourceOrderItem);
418
- _defineProperty(this, "columnName", void 0);
419
- _defineProperty(this, "desc", void 0);
420
314
  var _props_columnName;
421
315
  this.columnName = (_props_columnName = props.columnName) !== null && _props_columnName !== void 0 ? _props_columnName : "";
422
316
  var _props_desc;
@@ -425,12 +319,6 @@ export var DataSourceOrderItem = function DataSourceOrderItem(props) {
425
319
  export var DataSourceDataSetValue = function DataSourceDataSetValue(props) {
426
320
  "use strict";
427
321
  _classCallCheck(this, DataSourceDataSetValue);
428
- // fieldCode
429
- _defineProperty(this, "code", void 0);
430
- // 值
431
- _defineProperty(this, "value", void 0);
432
- // 数据类型
433
- _defineProperty(this, "field_type", void 0);
434
322
  var _props_code;
435
323
  this.code = (_props_code = props.code) !== null && _props_code !== void 0 ? _props_code : "";
436
324
  var _props_value;
@@ -442,13 +330,6 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
442
330
  "use strict";
443
331
  _classCallCheck(this, DataSourceParamItem);
444
332
  var _props_orders, _props_dataSet;
445
- /**
446
- * 字段ID
447
- */ _defineProperty(this, "id", void 0);
448
- _defineProperty(this, "limit", void 0);
449
- _defineProperty(this, "orders", void 0);
450
- _defineProperty(this, "formKey", void 0);
451
- _defineProperty(this, "dataSet", void 0);
452
333
  var _props_id;
453
334
  //字段ID,不可以当作随机数生成唯一编号
454
335
  this.id = (_props_id = props.id) !== null && _props_id !== void 0 ? _props_id : "";
@@ -468,7 +349,7 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
468
349
  /**
469
350
  * 给filters和orders赋值
470
351
  * */ function callFiltersAndOrders(props) {
471
- var _props_filters;
352
+ var _props_filters, _props_viewFilters;
472
353
  var _props_filters_map;
473
354
  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) {
474
355
  if (item.children !== undefined) {
@@ -476,6 +357,13 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
476
357
  }
477
358
  return new FieldFilterCondition(item);
478
359
  })) !== null && _props_filters_map !== void 0 ? _props_filters_map : [];
360
+ var _props_viewFilters_map;
361
+ 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) {
362
+ if (item.children !== undefined) {
363
+ return new FieldFilterConditions(item);
364
+ }
365
+ return new FieldFilterCondition(item);
366
+ })) !== null && _props_viewFilters_map !== void 0 ? _props_viewFilters_map : [];
479
367
  if (_instanceof(this, DataSourceBind) || _instanceof(this, FillPayloadBind)) {
480
368
  var _props_orders;
481
369
  var _props_orders_map;
@@ -491,47 +379,6 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
491
379
  "use strict";
492
380
  var _this = this;
493
381
  _classCallCheck(this, DataSourceBind);
494
- /**
495
- * 绑定数据源id
496
- * @defaultValue ''
497
- * @public
498
- */ _defineProperty(this, "dataCode", void 0);
499
- /**
500
- * 存储值
501
- * @defaultValue ''
502
- * @public
503
- */ _defineProperty(this, "valueFieldCode", void 0);
504
- /**
505
- * 显示值
506
- * @defaultValue []
507
- * @public
508
- */ _defineProperty(this, "displayBoList", void 0);
509
- /**
510
- * 绑定服务
511
- * @defaultValue ''
512
- * @public
513
- */ _defineProperty(this, "svcCode", void 0);
514
- /**
515
- * 应用Id
516
- * @defaultValue ''
517
- * @public
518
- */ _defineProperty(this, "appId", void 0);
519
- /**
520
- * 过滤条件
521
- * @defaultValue []
522
- * @public
523
- */ _defineProperty(this, "filters", void 0);
524
- // 过滤
525
- /**
526
- * 排序
527
- * @defaultValue []
528
- * @public
529
- */ _defineProperty(this, "orders", void 0);
530
- /**
531
- * 显示排序
532
- * @defaultValue true
533
- * @public
534
- */ _defineProperty(this, "showOrder", void 0);
535
382
  var _props_dataCode;
536
383
  this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
537
384
  var _props_appId;
@@ -539,6 +386,8 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
539
386
  var _props_valueFieldCode;
540
387
  this.valueFieldCode = (_props_valueFieldCode = props === null || props === void 0 ? void 0 : props.valueFieldCode) !== null && _props_valueFieldCode !== void 0 ? _props_valueFieldCode : "";
541
388
  this.displayBoList = [];
389
+ var _props_isOpenViewFilters;
390
+ this.isOpenViewFilters = (_props_isOpenViewFilters = props === null || props === void 0 ? void 0 : props.isOpenViewFilters) !== null && _props_isOpenViewFilters !== void 0 ? _props_isOpenViewFilters : 0;
542
391
  if (Array.isArray(props === null || props === void 0 ? void 0 : props.displayBoList)) {
543
392
  props === null || props === void 0 ? void 0 : props.displayBoList.map(function(item) {
544
393
  var _this_displayBoList;
@@ -551,19 +400,17 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
551
400
  this.svcCode = (_props_svcCode = props === null || props === void 0 ? void 0 : props.svcCode) !== null && _props_svcCode !== void 0 ? _props_svcCode : "";
552
401
  callFiltersAndOrders.call(this, props);
553
402
  };
403
+ export var SelectedContentConfig = function SelectedContentConfig(props) {
404
+ "use strict";
405
+ _classCallCheck(this, SelectedContentConfig);
406
+ var _props_dataCode;
407
+ this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
408
+ var _props_displayBoList;
409
+ this.displayBoList = (_props_displayBoList = props === null || props === void 0 ? void 0 : props.displayBoList) !== null && _props_displayBoList !== void 0 ? _props_displayBoList : [];
410
+ };
554
411
  export var LinkOperationOption = function LinkOperationOption(props) {
555
412
  "use strict";
556
413
  _classCallCheck(this, LinkOperationOption);
557
- _defineProperty(this, "code", void 0);
558
- _defineProperty(this, "color", void 0);
559
- _defineProperty(this, "command", void 0);
560
- _defineProperty(this, "confirmMessage", void 0);
561
- _defineProperty(this, "defaultState", void 0);
562
- _defineProperty(this, "formKey", void 0);
563
- _defineProperty(this, "icon", void 0);
564
- _defineProperty(this, "needConfirm", void 0);
565
- _defineProperty(this, "openType", void 0);
566
- _defineProperty(this, "priorityProcess", void 0);
567
414
  var _props_code;
568
415
  this.code = (_props_code = props === null || props === void 0 ? void 0 : props.code) !== null && _props_code !== void 0 ? _props_code : "view";
569
416
  var _props_color;
@@ -589,9 +436,6 @@ export var CustomAttributeItem = function CustomAttributeItem(props) {
589
436
  "use strict";
590
437
  _classCallCheck(this, CustomAttributeItem);
591
438
  var _props_value;
592
- _defineProperty(this, "name", void 0);
593
- _defineProperty(this, "key", void 0);
594
- _defineProperty(this, "value", void 0);
595
439
  var _props_name;
596
440
  this.name = (_props_name = props === null || props === void 0 ? void 0 : props.name) !== null && _props_name !== void 0 ? _props_name : "";
597
441
  var _props_key;
@@ -610,7 +454,6 @@ export var SuperDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
610
454
  var _this;
611
455
  var _props_attributes;
612
456
  _this = _super.call(this, props);
613
- _defineProperty(_assertThisInitialized(_this), "attributes", void 0);
614
457
  var _props_attributes_map;
615
458
  _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) {
616
459
  return new CustomAttributeItem(item);
@@ -619,6 +462,25 @@ export var SuperDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
619
462
  }
620
463
  return SuperDataSourceBind;
621
464
  }(DataSourceBind);
465
+ export var OrganizationDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
466
+ "use strict";
467
+ _inherits(OrganizationDataSourceBind, DataSourceBind);
468
+ var _super = _createSuper(OrganizationDataSourceBind);
469
+ function OrganizationDataSourceBind(props) {
470
+ _classCallCheck(this, OrganizationDataSourceBind);
471
+ var _this;
472
+ var _props_attributes;
473
+ _this = _super.call(this, props);
474
+ var _props_attributes_map;
475
+ _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) {
476
+ return new CustomAttributeItem(item);
477
+ })) !== null && _props_attributes_map !== void 0 ? _props_attributes_map : [];
478
+ var _props_formCode;
479
+ _this.formCode = (_props_formCode = props === null || props === void 0 ? void 0 : props.formCode) !== null && _props_formCode !== void 0 ? _props_formCode : "";
480
+ return _this;
481
+ }
482
+ return OrganizationDataSourceBind;
483
+ }(DataSourceBind);
622
484
  export var TreeDataSourceBind = /*#__PURE__*/ function(SuperDataSourceBind) {
623
485
  "use strict";
624
486
  _inherits(TreeDataSourceBind, SuperDataSourceBind);
@@ -627,8 +489,9 @@ export var TreeDataSourceBind = /*#__PURE__*/ function(SuperDataSourceBind) {
627
489
  _classCallCheck(this, TreeDataSourceBind);
628
490
  var _this;
629
491
  _this = _super.call(this, props);
630
- _defineProperty(_assertThisInitialized(_this), "rootNode", void 0);
631
492
  _this.rootNode = new RightVariable(props === null || props === void 0 ? void 0 : props.rootNode);
493
+ var _props_filterCode;
494
+ _this.filterCode = (_props_filterCode = props === null || props === void 0 ? void 0 : props.filterCode) !== null && _props_filterCode !== void 0 ? _props_filterCode : "";
632
495
  return _this;
633
496
  }
634
497
  return TreeDataSourceBind;
@@ -637,15 +500,6 @@ var FillBind = function FillBind(props) {
637
500
  "use strict";
638
501
  _classCallCheck(this, FillBind);
639
502
  var _props_fillList;
640
- /*
641
- * 需要被填充的数据源
642
- * */ _defineProperty(this, "dataCode", void 0);
643
- /*
644
- * appId
645
- * */ _defineProperty(this, "appId", void 0);
646
- /*
647
- * 执行填充的数据项和控件
648
- * */ _defineProperty(this, "fillList", void 0);
649
503
  var _props_dataCode;
650
504
  this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
651
505
  var _props_appId;
@@ -667,16 +521,6 @@ var FillBind = function FillBind(props) {
667
521
  _classCallCheck(this, FillPayloadBind);
668
522
  var _this;
669
523
  _this = _super.call(this, props);
670
- /**
671
- * 数据源过滤条件
672
- * @defaultValue []
673
- * @public
674
- **/ _defineProperty(_assertThisInitialized(_this), "filters", void 0);
675
- /**
676
- * 数据源排序条件
677
- * @defaultValue []
678
- * @public
679
- **/ _defineProperty(_assertThisInitialized(_this), "orders", void 0);
680
524
  callFiltersAndOrders.call(_assertThisInitialized(_this), props);
681
525
  return _this;
682
526
  }
@@ -693,16 +537,6 @@ var FillBind = function FillBind(props) {
693
537
  _classCallCheck(this, FillBackBind);
694
538
  var _this;
695
539
  _this = _super.call(this, props);
696
- /**
697
- * 回填模式。current 当前表(根据按钮所在位置来区分,而不是通过主表和子表来区分)| subtable 子表
698
- * @defaultValue 'current'
699
- * @public
700
- * */ _defineProperty(_assertThisInitialized(_this), "mode", void 0);
701
- /**
702
- * 多选
703
- * @defaultValue false
704
- * @public
705
- */ _defineProperty(_assertThisInitialized(_this), "multiple", void 0);
706
540
  var _props_mode;
707
541
  _this.mode = (_props_mode = props === null || props === void 0 ? void 0 : props.mode) !== null && _props_mode !== void 0 ? _props_mode : "current";
708
542
  var _props_multiple;
@@ -714,9 +548,6 @@ var FillBind = function FillBind(props) {
714
548
  export var Language = function Language(props) {
715
549
  "use strict";
716
550
  _classCallCheck(this, Language);
717
- _defineProperty(this, "zh", void 0);
718
- _defineProperty(this, "en", void 0);
719
- _defineProperty(this, "ja", void 0);
720
551
  var _props_zh;
721
552
  this.zh = (_props_zh = props === null || props === void 0 ? void 0 : props.zh) !== null && _props_zh !== void 0 ? _props_zh : "";
722
553
  var _props_en;
@@ -727,9 +558,6 @@ export var Language = function Language(props) {
727
558
  export var RegularRules = function RegularRules(props) {
728
559
  "use strict";
729
560
  _classCallCheck(this, RegularRules);
730
- _defineProperty(this, "stencilName", void 0);
731
- _defineProperty(this, "expression", void 0);
732
- _defineProperty(this, "errMessage", void 0);
733
561
  var _props_stencilName;
734
562
  this.stencilName = (_props_stencilName = props === null || props === void 0 ? void 0 : props.stencilName) !== null && _props_stencilName !== void 0 ? _props_stencilName : "";
735
563
  var _props_expression;
@@ -743,17 +571,6 @@ export var RegularRules = function RegularRules(props) {
743
571
  */ export var OptionSetting = function OptionSetting(props) {
744
572
  "use strict";
745
573
  _classCallCheck(this, OptionSetting);
746
- _defineProperty(this, "id", void 0);
747
- /**
748
- * 显示值
749
- * @defaultValue ''
750
- * @public
751
- */ _defineProperty(this, "label", void 0);
752
- /**
753
- * 选项ID
754
- * @defaultValue this.label
755
- * @public
756
- */ _defineProperty(this, "value", void 0);
757
574
  var _props_id;
758
575
  this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId(8);
759
576
  var _props_label;
@@ -769,8 +586,6 @@ export var ImageOptionSetting = /*#__PURE__*/ function(OptionSetting) {
769
586
  _classCallCheck(this, ImageOptionSetting);
770
587
  var _this;
771
588
  _this = _super.call(this, props);
772
- _defineProperty(_assertThisInitialized(_this), "image", void 0);
773
- _defineProperty(_assertThisInitialized(_this), "type", void 0);
774
589
  var _props_image;
775
590
  _this.image = (_props_image = props === null || props === void 0 ? void 0 : props.image) !== null && _props_image !== void 0 ? _props_image : "";
776
591
  var _props_type;
@@ -803,8 +618,6 @@ export var AmountDataBind = /*#__PURE__*/ function(ObjectDataBind) {
803
618
  _classCallCheck(this, AmountDataBind);
804
619
  var _this;
805
620
  _this = _super.call(this);
806
- _defineProperty(_assertThisInitialized(_this), "amount", void 0);
807
- _defineProperty(_assertThisInitialized(_this), "currency", void 0);
808
621
  _this.amount = new DataBind(props === null || props === void 0 ? void 0 : props.amount);
809
622
  _this.currency = new DataBind(props === null || props === void 0 ? void 0 : props.currency);
810
623
  return _this;
@@ -814,8 +627,6 @@ export var AmountDataBind = /*#__PURE__*/ function(ObjectDataBind) {
814
627
  export var AmountValue = function AmountValue(props) {
815
628
  "use strict";
816
629
  _classCallCheck(this, AmountValue);
817
- _defineProperty(this, "amount", void 0);
818
- _defineProperty(this, "currency", void 0);
819
630
  var _props_amount;
820
631
  this.amount = (_props_amount = props === null || props === void 0 ? void 0 : props.amount) !== null && _props_amount !== void 0 ? _props_amount : "";
821
632
  var _props_currency;
@@ -829,8 +640,6 @@ export var RangeDataBind = /*#__PURE__*/ function(ObjectDataBind) {
829
640
  _classCallCheck(this, RangeDataBind);
830
641
  var _this;
831
642
  _this = _super.call(this);
832
- _defineProperty(_assertThisInitialized(_this), "min", void 0);
833
- _defineProperty(_assertThisInitialized(_this), "max", void 0);
834
643
  _this.min = new DataBind(props === null || props === void 0 ? void 0 : props.min);
835
644
  _this.max = new DataBind(props === null || props === void 0 ? void 0 : props.max);
836
645
  return _this;
@@ -840,8 +649,6 @@ export var RangeDataBind = /*#__PURE__*/ function(ObjectDataBind) {
840
649
  export var RangeDateValue = function RangeDateValue(props) {
841
650
  "use strict";
842
651
  _classCallCheck(this, RangeDateValue);
843
- _defineProperty(this, "min", void 0);
844
- _defineProperty(this, "max", void 0);
845
652
  var _props_min;
846
653
  this.min = (_props_min = props === null || props === void 0 ? void 0 : props.min) !== null && _props_min !== void 0 ? _props_min : "";
847
654
  var _props_max;
@@ -850,12 +657,6 @@ export var RangeDateValue = function RangeDateValue(props) {
850
657
  export var AddressValue = function AddressValue(props) {
851
658
  "use strict";
852
659
  _classCallCheck(this, AddressValue);
853
- _defineProperty(this, "city", void 0);
854
- _defineProperty(this, "cityDisplay", void 0);
855
- _defineProperty(this, "district", void 0);
856
- _defineProperty(this, "districtDisplay", void 0);
857
- _defineProperty(this, "province", void 0);
858
- _defineProperty(this, "provinceDisplay", void 0);
859
660
  var _props_city;
860
661
  this.city = (_props_city = props === null || props === void 0 ? void 0 : props.city) !== null && _props_city !== void 0 ? _props_city : "";
861
662
  var _props_cityDisplay;
@@ -877,8 +678,6 @@ export var CalcDataBind = /*#__PURE__*/ function(ObjectDataBind) {
877
678
  _classCallCheck(this, CalcDataBind);
878
679
  var _this;
879
680
  _this = _super.call(this);
880
- _defineProperty(_assertThisInitialized(_this), "result", void 0);
881
- _defineProperty(_assertThisInitialized(_this), "unit", void 0);
882
681
  _this.result = new DataBind(props === null || props === void 0 ? void 0 : props.result);
883
682
  _this.unit = new DataBind(props === null || props === void 0 ? void 0 : props.unit);
884
683
  return _this;
@@ -888,8 +687,6 @@ export var CalcDataBind = /*#__PURE__*/ function(ObjectDataBind) {
888
687
  export var CalcValue = function CalcValue(props) {
889
688
  "use strict";
890
689
  _classCallCheck(this, CalcValue);
891
- _defineProperty(this, "result", void 0);
892
- _defineProperty(this, "unit", void 0);
893
690
  var _props_result;
894
691
  this.result = (_props_result = props === null || props === void 0 ? void 0 : props.result) !== null && _props_result !== void 0 ? _props_result : 0;
895
692
  var _props_unit;
@@ -949,6 +746,7 @@ export var COMMON_SETTING_TYPE;
949
746
  COMMON_SETTING_TYPE["CONTAINS_SUB_NODE"] = "containsSubNode";
950
747
  COMMON_SETTING_TYPE["DEFAULT_COLLAPSE"] = "defaultCollapse";
951
748
  COMMON_SETTING_TYPE["CAN_VIEW_FORM"] = "canViewForm";
749
+ COMMON_SETTING_TYPE["VIEW_FORM_MODEL_TYPE"] = "viewFormModelType";
952
750
  COMMON_SETTING_TYPE["SERVER_PAGINATION"] = "serverPagination";
953
751
  COMMON_SETTING_TYPE["IS_SHOW_CAPTION_TIP"] = "isShowCaptionTip";
954
752
  COMMON_SETTING_TYPE["ENCRYPTED"] = "encrypted";
@@ -969,32 +767,6 @@ export var PAGE_STATUS;
969
767
  */ export var OperationItem = function OperationItem(props) {
970
768
  "use strict";
971
769
  _classCallCheck(this, OperationItem);
972
- /**
973
- * 是否显示
974
- * @defaultValue true
975
- * @public
976
- */ _defineProperty(this, "isShow", void 0);
977
- /**
978
- * 优先访问流程表单
979
- * @defaultValue false
980
- * @public
981
- */ _defineProperty(this, "priorityProcess", void 0);
982
- /**
983
- * 表单ID
984
- * @defaultValue ''
985
- * @public
986
- */ _defineProperty(this, "formKey", void 0);
987
- /**
988
- * 显示文字
989
- * @defaultValue ''
990
- * @public
991
- */ _defineProperty(this, "content", void 0);
992
- /**
993
- * 打开方式
994
- * @defaultValue 'modal'
995
- * @public
996
- */ _defineProperty(this, "openType", void 0);
997
- _defineProperty(this, "type", void 0);
998
770
  var _props_isShow;
999
771
  this.isShow = (_props_isShow = props === null || props === void 0 ? void 0 : props.isShow) !== null && _props_isShow !== void 0 ? _props_isShow : true;
1000
772
  var _props_content;
@@ -1012,10 +784,6 @@ export var ViewOperationItem = function ViewOperationItem(props) {
1012
784
  "use strict";
1013
785
  _classCallCheck(this, ViewOperationItem);
1014
786
  var _props_headers;
1015
- _defineProperty(this, "id", void 0);
1016
- _defineProperty(this, "title", void 0);
1017
- _defineProperty(this, "filters", void 0);
1018
- _defineProperty(this, "headers", void 0);
1019
787
  var _props_id;
1020
788
  this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId(8);
1021
789
  var _props_title;
@@ -1031,12 +799,6 @@ export var ViewOperationItem = function ViewOperationItem(props) {
1031
799
  */ export var CustomPermissionItem = function CustomPermissionItem(props) {
1032
800
  "use strict";
1033
801
  _classCallCheck(this, CustomPermissionItem);
1034
- /**
1035
- * 人工输入的权限key
1036
- */ _defineProperty(this, "key", void 0);
1037
- /**
1038
- * 权限名称
1039
- */ _defineProperty(this, "caption", void 0);
1040
802
  var _props_key;
1041
803
  this.key = (_props_key = props.key) !== null && _props_key !== void 0 ? _props_key : genNonDuplicateId(8);
1042
804
  var _props_caption;
@@ -1045,10 +807,6 @@ export var ViewOperationItem = function ViewOperationItem(props) {
1045
807
  export var BaseStyle = function BaseStyle(props) {
1046
808
  "use strict";
1047
809
  _classCallCheck(this, BaseStyle);
1048
- _defineProperty(this, "width", void 0);
1049
- _defineProperty(this, "height", void 0);
1050
- _defineProperty(this, "widthConfig", void 0);
1051
- _defineProperty(this, "heightConfig", void 0);
1052
810
  var _props_width;
1053
811
  this.width = (_props_width = props === null || props === void 0 ? void 0 : props.width) !== null && _props_width !== void 0 ? _props_width : "";
1054
812
  var _props_height;
@@ -1058,3 +816,11 @@ export var BaseStyle = function BaseStyle(props) {
1058
816
  var _props_heightConfig;
1059
817
  this.heightConfig = (_props_heightConfig = props === null || props === void 0 ? void 0 : props.heightConfig) !== null && _props_heightConfig !== void 0 ? _props_heightConfig : "fill";
1060
818
  };
819
+ export var OptObject = function OptObject(props) {
820
+ "use strict";
821
+ _classCallCheck(this, OptObject);
822
+ var _props_optCode;
823
+ this.optCode = (_props_optCode = props === null || props === void 0 ? void 0 : props.optCode) !== null && _props_optCode !== void 0 ? _props_optCode : "";
824
+ var _props_optType;
825
+ this.optType = (_props_optType = props === null || props === void 0 ? void 0 : props.optType) !== null && _props_optType !== void 0 ? _props_optType : "";
826
+ };