@byteluck-fe/model-driven-core 2.5.0-alpha.9 → 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 +45 -298
  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 -574
  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;
@@ -554,33 +403,14 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
554
403
  export var SelectedContentConfig = function SelectedContentConfig(props) {
555
404
  "use strict";
556
405
  _classCallCheck(this, SelectedContentConfig);
557
- /**
558
- * 展示已选内容
559
- * @defaultValue ''
560
- * @public
561
- */ _defineProperty(this, "dataCode", void 0);
562
- /**
563
- * 展示已选明细
564
- * @defaultValue []
565
- * @public
566
- */ _defineProperty(this, "displayBoList", void 0);
567
406
  var _props_dataCode;
568
407
  this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
569
- this.displayBoList = [];
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 : [];
570
410
  };
571
411
  export var LinkOperationOption = function LinkOperationOption(props) {
572
412
  "use strict";
573
413
  _classCallCheck(this, LinkOperationOption);
574
- _defineProperty(this, "code", void 0);
575
- _defineProperty(this, "color", void 0);
576
- _defineProperty(this, "command", void 0);
577
- _defineProperty(this, "confirmMessage", void 0);
578
- _defineProperty(this, "defaultState", void 0);
579
- _defineProperty(this, "formKey", void 0);
580
- _defineProperty(this, "icon", void 0);
581
- _defineProperty(this, "needConfirm", void 0);
582
- _defineProperty(this, "openType", void 0);
583
- _defineProperty(this, "priorityProcess", void 0);
584
414
  var _props_code;
585
415
  this.code = (_props_code = props === null || props === void 0 ? void 0 : props.code) !== null && _props_code !== void 0 ? _props_code : "view";
586
416
  var _props_color;
@@ -606,9 +436,6 @@ export var CustomAttributeItem = function CustomAttributeItem(props) {
606
436
  "use strict";
607
437
  _classCallCheck(this, CustomAttributeItem);
608
438
  var _props_value;
609
- _defineProperty(this, "name", void 0);
610
- _defineProperty(this, "key", void 0);
611
- _defineProperty(this, "value", void 0);
612
439
  var _props_name;
613
440
  this.name = (_props_name = props === null || props === void 0 ? void 0 : props.name) !== null && _props_name !== void 0 ? _props_name : "";
614
441
  var _props_key;
@@ -627,7 +454,6 @@ export var SuperDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
627
454
  var _this;
628
455
  var _props_attributes;
629
456
  _this = _super.call(this, props);
630
- _defineProperty(_assertThisInitialized(_this), "attributes", void 0);
631
457
  var _props_attributes_map;
632
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) {
633
459
  return new CustomAttributeItem(item);
@@ -636,6 +462,25 @@ export var SuperDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
636
462
  }
637
463
  return SuperDataSourceBind;
638
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);
639
484
  export var TreeDataSourceBind = /*#__PURE__*/ function(SuperDataSourceBind) {
640
485
  "use strict";
641
486
  _inherits(TreeDataSourceBind, SuperDataSourceBind);
@@ -644,10 +489,9 @@ export var TreeDataSourceBind = /*#__PURE__*/ function(SuperDataSourceBind) {
644
489
  _classCallCheck(this, TreeDataSourceBind);
645
490
  var _this;
646
491
  _this = _super.call(this, props);
647
- _defineProperty(_assertThisInitialized(_this), "rootNode", void 0);
648
- _defineProperty(_assertThisInitialized(_this), "filterCode", void 0);
649
492
  _this.rootNode = new RightVariable(props === null || props === void 0 ? void 0 : props.rootNode);
650
- _this.filterCode = "";
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 : "";
651
495
  return _this;
652
496
  }
653
497
  return TreeDataSourceBind;
@@ -656,15 +500,6 @@ var FillBind = function FillBind(props) {
656
500
  "use strict";
657
501
  _classCallCheck(this, FillBind);
658
502
  var _props_fillList;
659
- /*
660
- * 需要被填充的数据源
661
- * */ _defineProperty(this, "dataCode", void 0);
662
- /*
663
- * appId
664
- * */ _defineProperty(this, "appId", void 0);
665
- /*
666
- * 执行填充的数据项和控件
667
- * */ _defineProperty(this, "fillList", void 0);
668
503
  var _props_dataCode;
669
504
  this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
670
505
  var _props_appId;
@@ -686,16 +521,6 @@ var FillBind = function FillBind(props) {
686
521
  _classCallCheck(this, FillPayloadBind);
687
522
  var _this;
688
523
  _this = _super.call(this, props);
689
- /**
690
- * 数据源过滤条件
691
- * @defaultValue []
692
- * @public
693
- **/ _defineProperty(_assertThisInitialized(_this), "filters", void 0);
694
- /**
695
- * 数据源排序条件
696
- * @defaultValue []
697
- * @public
698
- **/ _defineProperty(_assertThisInitialized(_this), "orders", void 0);
699
524
  callFiltersAndOrders.call(_assertThisInitialized(_this), props);
700
525
  return _this;
701
526
  }
@@ -712,16 +537,6 @@ var FillBind = function FillBind(props) {
712
537
  _classCallCheck(this, FillBackBind);
713
538
  var _this;
714
539
  _this = _super.call(this, props);
715
- /**
716
- * 回填模式。current 当前表(根据按钮所在位置来区分,而不是通过主表和子表来区分)| subtable 子表
717
- * @defaultValue 'current'
718
- * @public
719
- * */ _defineProperty(_assertThisInitialized(_this), "mode", void 0);
720
- /**
721
- * 多选
722
- * @defaultValue false
723
- * @public
724
- */ _defineProperty(_assertThisInitialized(_this), "multiple", void 0);
725
540
  var _props_mode;
726
541
  _this.mode = (_props_mode = props === null || props === void 0 ? void 0 : props.mode) !== null && _props_mode !== void 0 ? _props_mode : "current";
727
542
  var _props_multiple;
@@ -733,9 +548,6 @@ var FillBind = function FillBind(props) {
733
548
  export var Language = function Language(props) {
734
549
  "use strict";
735
550
  _classCallCheck(this, Language);
736
- _defineProperty(this, "zh", void 0);
737
- _defineProperty(this, "en", void 0);
738
- _defineProperty(this, "ja", void 0);
739
551
  var _props_zh;
740
552
  this.zh = (_props_zh = props === null || props === void 0 ? void 0 : props.zh) !== null && _props_zh !== void 0 ? _props_zh : "";
741
553
  var _props_en;
@@ -746,9 +558,6 @@ export var Language = function Language(props) {
746
558
  export var RegularRules = function RegularRules(props) {
747
559
  "use strict";
748
560
  _classCallCheck(this, RegularRules);
749
- _defineProperty(this, "stencilName", void 0);
750
- _defineProperty(this, "expression", void 0);
751
- _defineProperty(this, "errMessage", void 0);
752
561
  var _props_stencilName;
753
562
  this.stencilName = (_props_stencilName = props === null || props === void 0 ? void 0 : props.stencilName) !== null && _props_stencilName !== void 0 ? _props_stencilName : "";
754
563
  var _props_expression;
@@ -762,17 +571,6 @@ export var RegularRules = function RegularRules(props) {
762
571
  */ export var OptionSetting = function OptionSetting(props) {
763
572
  "use strict";
764
573
  _classCallCheck(this, OptionSetting);
765
- _defineProperty(this, "id", void 0);
766
- /**
767
- * 显示值
768
- * @defaultValue ''
769
- * @public
770
- */ _defineProperty(this, "label", void 0);
771
- /**
772
- * 选项ID
773
- * @defaultValue this.label
774
- * @public
775
- */ _defineProperty(this, "value", void 0);
776
574
  var _props_id;
777
575
  this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId(8);
778
576
  var _props_label;
@@ -788,8 +586,6 @@ export var ImageOptionSetting = /*#__PURE__*/ function(OptionSetting) {
788
586
  _classCallCheck(this, ImageOptionSetting);
789
587
  var _this;
790
588
  _this = _super.call(this, props);
791
- _defineProperty(_assertThisInitialized(_this), "image", void 0);
792
- _defineProperty(_assertThisInitialized(_this), "type", void 0);
793
589
  var _props_image;
794
590
  _this.image = (_props_image = props === null || props === void 0 ? void 0 : props.image) !== null && _props_image !== void 0 ? _props_image : "";
795
591
  var _props_type;
@@ -822,8 +618,6 @@ export var AmountDataBind = /*#__PURE__*/ function(ObjectDataBind) {
822
618
  _classCallCheck(this, AmountDataBind);
823
619
  var _this;
824
620
  _this = _super.call(this);
825
- _defineProperty(_assertThisInitialized(_this), "amount", void 0);
826
- _defineProperty(_assertThisInitialized(_this), "currency", void 0);
827
621
  _this.amount = new DataBind(props === null || props === void 0 ? void 0 : props.amount);
828
622
  _this.currency = new DataBind(props === null || props === void 0 ? void 0 : props.currency);
829
623
  return _this;
@@ -833,8 +627,6 @@ export var AmountDataBind = /*#__PURE__*/ function(ObjectDataBind) {
833
627
  export var AmountValue = function AmountValue(props) {
834
628
  "use strict";
835
629
  _classCallCheck(this, AmountValue);
836
- _defineProperty(this, "amount", void 0);
837
- _defineProperty(this, "currency", void 0);
838
630
  var _props_amount;
839
631
  this.amount = (_props_amount = props === null || props === void 0 ? void 0 : props.amount) !== null && _props_amount !== void 0 ? _props_amount : "";
840
632
  var _props_currency;
@@ -848,8 +640,6 @@ export var RangeDataBind = /*#__PURE__*/ function(ObjectDataBind) {
848
640
  _classCallCheck(this, RangeDataBind);
849
641
  var _this;
850
642
  _this = _super.call(this);
851
- _defineProperty(_assertThisInitialized(_this), "min", void 0);
852
- _defineProperty(_assertThisInitialized(_this), "max", void 0);
853
643
  _this.min = new DataBind(props === null || props === void 0 ? void 0 : props.min);
854
644
  _this.max = new DataBind(props === null || props === void 0 ? void 0 : props.max);
855
645
  return _this;
@@ -859,8 +649,6 @@ export var RangeDataBind = /*#__PURE__*/ function(ObjectDataBind) {
859
649
  export var RangeDateValue = function RangeDateValue(props) {
860
650
  "use strict";
861
651
  _classCallCheck(this, RangeDateValue);
862
- _defineProperty(this, "min", void 0);
863
- _defineProperty(this, "max", void 0);
864
652
  var _props_min;
865
653
  this.min = (_props_min = props === null || props === void 0 ? void 0 : props.min) !== null && _props_min !== void 0 ? _props_min : "";
866
654
  var _props_max;
@@ -869,12 +657,6 @@ export var RangeDateValue = function RangeDateValue(props) {
869
657
  export var AddressValue = function AddressValue(props) {
870
658
  "use strict";
871
659
  _classCallCheck(this, AddressValue);
872
- _defineProperty(this, "city", void 0);
873
- _defineProperty(this, "cityDisplay", void 0);
874
- _defineProperty(this, "district", void 0);
875
- _defineProperty(this, "districtDisplay", void 0);
876
- _defineProperty(this, "province", void 0);
877
- _defineProperty(this, "provinceDisplay", void 0);
878
660
  var _props_city;
879
661
  this.city = (_props_city = props === null || props === void 0 ? void 0 : props.city) !== null && _props_city !== void 0 ? _props_city : "";
880
662
  var _props_cityDisplay;
@@ -896,8 +678,6 @@ export var CalcDataBind = /*#__PURE__*/ function(ObjectDataBind) {
896
678
  _classCallCheck(this, CalcDataBind);
897
679
  var _this;
898
680
  _this = _super.call(this);
899
- _defineProperty(_assertThisInitialized(_this), "result", void 0);
900
- _defineProperty(_assertThisInitialized(_this), "unit", void 0);
901
681
  _this.result = new DataBind(props === null || props === void 0 ? void 0 : props.result);
902
682
  _this.unit = new DataBind(props === null || props === void 0 ? void 0 : props.unit);
903
683
  return _this;
@@ -907,8 +687,6 @@ export var CalcDataBind = /*#__PURE__*/ function(ObjectDataBind) {
907
687
  export var CalcValue = function CalcValue(props) {
908
688
  "use strict";
909
689
  _classCallCheck(this, CalcValue);
910
- _defineProperty(this, "result", void 0);
911
- _defineProperty(this, "unit", void 0);
912
690
  var _props_result;
913
691
  this.result = (_props_result = props === null || props === void 0 ? void 0 : props.result) !== null && _props_result !== void 0 ? _props_result : 0;
914
692
  var _props_unit;
@@ -968,6 +746,7 @@ export var COMMON_SETTING_TYPE;
968
746
  COMMON_SETTING_TYPE["CONTAINS_SUB_NODE"] = "containsSubNode";
969
747
  COMMON_SETTING_TYPE["DEFAULT_COLLAPSE"] = "defaultCollapse";
970
748
  COMMON_SETTING_TYPE["CAN_VIEW_FORM"] = "canViewForm";
749
+ COMMON_SETTING_TYPE["VIEW_FORM_MODEL_TYPE"] = "viewFormModelType";
971
750
  COMMON_SETTING_TYPE["SERVER_PAGINATION"] = "serverPagination";
972
751
  COMMON_SETTING_TYPE["IS_SHOW_CAPTION_TIP"] = "isShowCaptionTip";
973
752
  COMMON_SETTING_TYPE["ENCRYPTED"] = "encrypted";
@@ -988,32 +767,6 @@ export var PAGE_STATUS;
988
767
  */ export var OperationItem = function OperationItem(props) {
989
768
  "use strict";
990
769
  _classCallCheck(this, OperationItem);
991
- /**
992
- * 是否显示
993
- * @defaultValue true
994
- * @public
995
- */ _defineProperty(this, "isShow", void 0);
996
- /**
997
- * 优先访问流程表单
998
- * @defaultValue false
999
- * @public
1000
- */ _defineProperty(this, "priorityProcess", void 0);
1001
- /**
1002
- * 表单ID
1003
- * @defaultValue ''
1004
- * @public
1005
- */ _defineProperty(this, "formKey", void 0);
1006
- /**
1007
- * 显示文字
1008
- * @defaultValue ''
1009
- * @public
1010
- */ _defineProperty(this, "content", void 0);
1011
- /**
1012
- * 打开方式
1013
- * @defaultValue 'modal'
1014
- * @public
1015
- */ _defineProperty(this, "openType", void 0);
1016
- _defineProperty(this, "type", void 0);
1017
770
  var _props_isShow;
1018
771
  this.isShow = (_props_isShow = props === null || props === void 0 ? void 0 : props.isShow) !== null && _props_isShow !== void 0 ? _props_isShow : true;
1019
772
  var _props_content;
@@ -1031,10 +784,6 @@ export var ViewOperationItem = function ViewOperationItem(props) {
1031
784
  "use strict";
1032
785
  _classCallCheck(this, ViewOperationItem);
1033
786
  var _props_headers;
1034
- _defineProperty(this, "id", void 0);
1035
- _defineProperty(this, "title", void 0);
1036
- _defineProperty(this, "filters", void 0);
1037
- _defineProperty(this, "headers", void 0);
1038
787
  var _props_id;
1039
788
  this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId(8);
1040
789
  var _props_title;
@@ -1050,12 +799,6 @@ export var ViewOperationItem = function ViewOperationItem(props) {
1050
799
  */ export var CustomPermissionItem = function CustomPermissionItem(props) {
1051
800
  "use strict";
1052
801
  _classCallCheck(this, CustomPermissionItem);
1053
- /**
1054
- * 人工输入的权限key
1055
- */ _defineProperty(this, "key", void 0);
1056
- /**
1057
- * 权限名称
1058
- */ _defineProperty(this, "caption", void 0);
1059
802
  var _props_key;
1060
803
  this.key = (_props_key = props.key) !== null && _props_key !== void 0 ? _props_key : genNonDuplicateId(8);
1061
804
  var _props_caption;
@@ -1064,10 +807,6 @@ export var ViewOperationItem = function ViewOperationItem(props) {
1064
807
  export var BaseStyle = function BaseStyle(props) {
1065
808
  "use strict";
1066
809
  _classCallCheck(this, BaseStyle);
1067
- _defineProperty(this, "width", void 0);
1068
- _defineProperty(this, "height", void 0);
1069
- _defineProperty(this, "widthConfig", void 0);
1070
- _defineProperty(this, "heightConfig", void 0);
1071
810
  var _props_width;
1072
811
  this.width = (_props_width = props === null || props === void 0 ? void 0 : props.width) !== null && _props_width !== void 0 ? _props_width : "";
1073
812
  var _props_height;
@@ -1077,3 +816,11 @@ export var BaseStyle = function BaseStyle(props) {
1077
816
  var _props_heightConfig;
1078
817
  this.heightConfig = (_props_heightConfig = props === null || props === void 0 ? void 0 : props.heightConfig) !== null && _props_heightConfig !== void 0 ? _props_heightConfig : "fill";
1079
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
+ };