@byteluck-fe/model-driven-core 2.5.0-beta.9 → 2.5.3

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 (44) hide show
  1. package/dist/esm/api-doc-index.js +4 -4
  2. package/dist/esm/common/BaseControl/designer.js +241 -121
  3. package/dist/esm/common/BaseControl/index.js +7 -7
  4. package/dist/esm/common/BaseControl/property.js +77 -60
  5. package/dist/esm/common/BaseControl/runtime.js +45 -24
  6. package/dist/esm/common/ColumnControl/designer.js +41 -27
  7. package/dist/esm/common/ColumnControl/index.js +6 -6
  8. package/dist/esm/common/ColumnControl/property.js +122 -74
  9. package/dist/esm/common/ColumnControl/runtime.js +41 -27
  10. package/dist/esm/common/ControlArray.js +21 -21
  11. package/dist/esm/common/FormControl/designer.js +47 -32
  12. package/dist/esm/common/FormControl/index.js +6 -6
  13. package/dist/esm/common/FormControl/property.js +181 -116
  14. package/dist/esm/common/FormControl/runtime.js +42 -27
  15. package/dist/esm/common/LayoutControl/designer.js +205 -77
  16. package/dist/esm/common/LayoutControl/index.js +6 -6
  17. package/dist/esm/common/LayoutControl/property.js +25 -25
  18. package/dist/esm/common/LayoutControl/runtime.js +44 -29
  19. package/dist/esm/common/ListControl/designer.js +199 -74
  20. package/dist/esm/common/ListControl/index.js +6 -6
  21. package/dist/esm/common/ListControl/property.js +41 -27
  22. package/dist/esm/common/ListControl/runtime.js +47 -32
  23. package/dist/esm/common/SearchViewControl/designer.js +41 -27
  24. package/dist/esm/common/SearchViewControl/index.js +6 -6
  25. package/dist/esm/common/SearchViewControl/property.js +40 -26
  26. package/dist/esm/common/SearchViewControl/runtime.js +41 -27
  27. package/dist/esm/common/Validator.js +5 -5
  28. package/dist/esm/common/WrapControl/designer.js +41 -27
  29. package/dist/esm/common/WrapControl/index.js +6 -6
  30. package/dist/esm/common/WrapControl/property.js +25 -25
  31. package/dist/esm/common/WrapControl/runtime.js +41 -27
  32. package/dist/esm/common/controlHooksEmitter.js +1 -1
  33. package/dist/esm/common/index.js +12 -12
  34. package/dist/esm/common/initLinkOperationRules.js +6 -6
  35. package/dist/esm/common/initOptionAndDataSourceRules.js +82 -82
  36. package/dist/esm/framework/RegisterControls.js +31 -19
  37. package/dist/esm/framework/index.js +825 -405
  38. package/dist/esm/index.js +3 -3
  39. package/dist/index.umd.js +1 -1
  40. package/dist/types/common/Validator.d.ts +1 -1
  41. package/dist/types/common/controlHooksEmitter.d.ts +1 -1
  42. package/dist/types/framework/index.d.ts +2 -1
  43. package/dist/types/type.d.ts +23 -23
  44. package/package.json +3 -3
@@ -1,19 +1,32 @@
1
- function _assertThisInitialized(self) {
1
+ function _assert_this_initialized(self) {
2
2
  if (self === void 0) {
3
3
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
4
  }
5
5
  return self;
6
6
  }
7
- function _classCallCheck(instance, Constructor) {
7
+ function _class_call_check(instance, Constructor) {
8
8
  if (!(instance instanceof Constructor)) {
9
9
  throw new TypeError("Cannot call a class as a function");
10
10
  }
11
11
  }
12
- function _getPrototypeOf(o) {
13
- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
12
+ function _define_property(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
+ function _get_prototype_of(o) {
26
+ _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
14
27
  return o.__proto__ || Object.getPrototypeOf(o);
15
28
  };
16
- return _getPrototypeOf(o);
29
+ return _get_prototype_of(o);
17
30
  }
18
31
  function _inherits(subClass, superClass) {
19
32
  if (typeof superClass !== "function" && superClass !== null) {
@@ -26,33 +39,33 @@ function _inherits(subClass, superClass) {
26
39
  configurable: true
27
40
  }
28
41
  });
29
- if (superClass) _setPrototypeOf(subClass, superClass);
42
+ if (superClass) _set_prototype_of(subClass, superClass);
30
43
  }
31
44
  function _instanceof(left, right) {
32
45
  if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
33
- return right[Symbol.hasInstance](left);
46
+ return !!right[Symbol.hasInstance](left);
34
47
  } else {
35
48
  return left instanceof right;
36
49
  }
37
50
  }
38
- function _possibleConstructorReturn(self, call) {
39
- if (call && (_typeof(call) === "object" || typeof call === "function")) {
51
+ function _possible_constructor_return(self, call) {
52
+ if (call && (_type_of(call) === "object" || typeof call === "function")) {
40
53
  return call;
41
54
  }
42
- return _assertThisInitialized(self);
55
+ return _assert_this_initialized(self);
43
56
  }
44
- function _setPrototypeOf(o, p) {
45
- _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
57
+ function _set_prototype_of(o, p) {
58
+ _set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
46
59
  o.__proto__ = p;
47
60
  return o;
48
61
  };
49
- return _setPrototypeOf(o, p);
62
+ return _set_prototype_of(o, p);
50
63
  }
51
- var _typeof = function(obj) {
64
+ function _type_of(obj) {
52
65
  "@swc/helpers - typeof";
53
66
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
54
- };
55
- function _isNativeReflectConstruct() {
67
+ }
68
+ function _is_native_reflect_construct() {
56
69
  if (typeof Reflect === "undefined" || !Reflect.construct) return false;
57
70
  if (Reflect.construct.sham) return false;
58
71
  if (typeof Proxy === "function") return true;
@@ -63,62 +76,84 @@ function _isNativeReflectConstruct() {
63
76
  return false;
64
77
  }
65
78
  }
66
- function _createSuper(Derived) {
67
- var hasNativeReflectConstruct = _isNativeReflectConstruct();
79
+ function _create_super(Derived) {
80
+ var hasNativeReflectConstruct = _is_native_reflect_construct();
68
81
  return function _createSuperInternal() {
69
- var Super = _getPrototypeOf(Derived), result;
82
+ var Super = _get_prototype_of(Derived), result;
70
83
  if (hasNativeReflectConstruct) {
71
- var NewTarget = _getPrototypeOf(this).constructor;
84
+ var NewTarget = _get_prototype_of(this).constructor;
72
85
  result = Reflect.construct(Super, arguments, NewTarget);
73
86
  } else {
74
87
  result = Super.apply(this, arguments);
75
88
  }
76
- return _possibleConstructorReturn(this, result);
89
+ return _possible_constructor_return(this, result);
77
90
  };
78
91
  }
79
- import { FieldTypes, genNonDuplicateId } from '@byteluck-fe/model-driven-shared';
80
- export * from './RegisterControls';
92
+ import { FieldTypes, genNonDuplicateId } from "@byteluck-fe/model-driven-shared";
93
+ export * from "./RegisterControls";
81
94
  /**
82
95
  * 数据绑定配置
83
96
  * @public
84
97
  */ export var DataBind = function DataBind(props) {
85
98
  "use strict";
86
- _classCallCheck(this, DataBind);
87
- var ref;
88
- this.dataCode = (ref = props === null || props === void 0 ? void 0 : props.dataCode) !== null && ref !== void 0 ? ref : '';
89
- var ref1;
90
- this.fieldCode = (ref1 = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && ref1 !== void 0 ? ref1 : '';
91
- var ref2;
92
- this.fieldType = (ref2 = props === null || props === void 0 ? void 0 : props.fieldType) !== null && ref2 !== void 0 ? ref2 : '';
99
+ _class_call_check(this, DataBind);
100
+ /**
101
+ * 数据模型编码
102
+ * @defaultValue ''
103
+ * @public
104
+ */ _define_property(this, "dataCode", void 0);
105
+ /**
106
+ * 字段编码
107
+ * @defaultValue ''
108
+ * @public
109
+ */ _define_property(this, "fieldCode", void 0);
110
+ /**
111
+ * 字段类型
112
+ * @defaultValue ''
113
+ * @public
114
+ */ _define_property(this, "fieldType", void 0);
115
+ var _props_dataCode;
116
+ this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
117
+ var _props_fieldCode;
118
+ this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : "";
119
+ var _props_fieldType;
120
+ this.fieldType = (_props_fieldType = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _props_fieldType !== void 0 ? _props_fieldType : "";
93
121
  };
94
122
  export var AutoWidth = function AutoWidth(props) {
95
123
  "use strict";
96
- _classCallCheck(this, AutoWidth);
97
- var ref;
98
- this.minWidth = (ref = props === null || props === void 0 ? void 0 : props.minWidth) !== null && ref !== void 0 ? ref : 150;
124
+ _class_call_check(this, AutoWidth);
125
+ _define_property(this, "minWidth", void 0);
126
+ _define_property(this, "maxWidth", void 0);
127
+ _define_property(this, "flex", void 0);
128
+ var _props_minWidth;
129
+ this.minWidth = (_props_minWidth = props === null || props === void 0 ? void 0 : props.minWidth) !== null && _props_minWidth !== void 0 ? _props_minWidth : 150;
99
130
  this.maxWidth = props === null || props === void 0 ? void 0 : props.maxWidth;
100
- var ref3;
101
- this.flex = (ref3 = props === null || props === void 0 ? void 0 : props.flex) !== null && ref3 !== void 0 ? ref3 : 1;
131
+ var _props_flex;
132
+ this.flex = (_props_flex = props === null || props === void 0 ? void 0 : props.flex) !== null && _props_flex !== void 0 ? _props_flex : 1;
102
133
  };
103
134
  export var MetaWidth = /*#__PURE__*/ function(AutoWidth) {
104
135
  "use strict";
105
136
  _inherits(MetaWidth, AutoWidth);
106
- var _super = _createSuper(MetaWidth);
137
+ var _super = _create_super(MetaWidth);
107
138
  function MetaWidth(props) {
108
- _classCallCheck(this, MetaWidth);
139
+ _class_call_check(this, MetaWidth);
109
140
  var _this;
110
141
  _this = _super.call(this, props);
111
- var ref;
112
- _this.width = (ref = props === null || props === void 0 ? void 0 : props.width) !== null && ref !== void 0 ? ref : 240;
113
- var ref4;
114
- _this.widthType = (ref4 = props === null || props === void 0 ? void 0 : props.widthType) !== null && ref4 !== void 0 ? ref4 : 'auto';
142
+ _define_property(_assert_this_initialized(_this), "width", void 0);
143
+ _define_property(_assert_this_initialized(_this), "widthType", void 0);
144
+ var _props_width;
145
+ _this.width = (_props_width = props === null || props === void 0 ? void 0 : props.width) !== null && _props_width !== void 0 ? _props_width : 240;
146
+ var _props_widthType;
147
+ _this.widthType = (_props_widthType = props === null || props === void 0 ? void 0 : props.widthType) !== null && _props_widthType !== void 0 ? _props_widthType : "auto";
115
148
  return _this;
116
149
  }
117
150
  return MetaWidth;
118
151
  }(AutoWidth);
119
152
  export var MetaAutoWidth = function MetaAutoWidth(props) {
120
153
  "use strict";
121
- _classCallCheck(this, MetaAutoWidth);
154
+ _class_call_check(this, MetaAutoWidth);
155
+ _define_property(this, "pc", void 0);
156
+ _define_property(this, "mobile", void 0);
122
157
  this.pc = new MetaWidth(props === null || props === void 0 ? void 0 : props.pc);
123
158
  this.mobile = (props === null || props === void 0 ? void 0 : props.mobile) ? new MetaWidth(props === null || props === void 0 ? void 0 : props.mobile) : new MetaWidth({
124
159
  width: 130,
@@ -127,148 +162,208 @@ export var MetaAutoWidth = function MetaAutoWidth(props) {
127
162
  };
128
163
  export var DataStorageDoc = function DataStorageDoc(props) {
129
164
  "use strict";
130
- _classCallCheck(this, DataStorageDoc);
131
- var ref;
132
- this.type = (ref = props === null || props === void 0 ? void 0 : props.type) !== null && ref !== void 0 ? ref : 'firstThree';
133
- var ref5;
134
- this.customOptions = (ref5 = props === null || props === void 0 ? void 0 : props.customOptions) !== null && ref5 !== void 0 ? ref5 : [];
165
+ _class_call_check(this, DataStorageDoc);
166
+ _define_property(this, "type", void 0);
167
+ _define_property(this, "customOptions", void 0);
168
+ var _props_type;
169
+ this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "firstThree";
170
+ var _props_customOptions;
171
+ this.customOptions = (_props_customOptions = props === null || props === void 0 ? void 0 : props.customOptions) !== null && _props_customOptions !== void 0 ? _props_customOptions : [];
135
172
  };
136
173
  export var FormBind = function FormBind(props) {
137
174
  "use strict";
138
- _classCallCheck(this, FormBind);
139
- var ref;
140
- this.dataCode = (ref = props === null || props === void 0 ? void 0 : props.dataCode) !== null && ref !== void 0 ? ref : '';
141
- var ref6;
142
- this.formKey = (ref6 = props === null || props === void 0 ? void 0 : props.formKey) !== null && ref6 !== void 0 ? ref6 : '';
143
- var ref7;
144
- this.appId = (ref7 = props === null || props === void 0 ? void 0 : props.appId) !== null && ref7 !== void 0 ? ref7 : '';
175
+ _class_call_check(this, FormBind);
176
+ _define_property(this, "dataCode", void 0);
177
+ _define_property(this, "formKey", void 0);
178
+ _define_property(this, "appId", void 0);
179
+ var _props_dataCode;
180
+ this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
181
+ var _props_formKey;
182
+ this.formKey = (_props_formKey = props === null || props === void 0 ? void 0 : props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : "";
183
+ var _props_appId;
184
+ this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : "";
145
185
  };
146
186
  export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
147
187
  "use strict";
148
188
  _inherits(FormSelectBind, FormBind);
149
- var _super = _createSuper(FormSelectBind);
189
+ var _super = _create_super(FormSelectBind);
150
190
  function FormSelectBind(props) {
151
- _classCallCheck(this, FormSelectBind);
191
+ _class_call_check(this, FormSelectBind);
152
192
  var _this;
153
193
  _this = _super.call(this, props);
154
- var ref;
155
- _this.primaryControlId = (ref = props === null || props === void 0 ? void 0 : props.primaryControlId) !== null && ref !== void 0 ? ref : '';
194
+ _define_property(_assert_this_initialized(_this), "primaryControlId", void 0);
195
+ var _props_primaryControlId;
196
+ _this.primaryControlId = (_props_primaryControlId = props === null || props === void 0 ? void 0 : props.primaryControlId) !== null && _props_primaryControlId !== void 0 ? _props_primaryControlId : "";
156
197
  return _this;
157
198
  }
158
199
  return FormSelectBind;
159
200
  }(FormBind);
160
- var ListBindHeaderItem = function ListBindHeaderItem(props) {
201
+ /**
202
+ * 列表绑定字段项
203
+ * @public
204
+ */ var ListBindHeaderItem = function ListBindHeaderItem(props) {
161
205
  "use strict";
162
- _classCallCheck(this, ListBindHeaderItem);
163
- var ref;
164
- this.fieldCode = (ref = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && ref !== void 0 ? ref : '';
206
+ _class_call_check(this, ListBindHeaderItem);
207
+ /**
208
+ * 字段
209
+ * @defaultValue ''
210
+ */ _define_property(this, "fieldCode", void 0);
211
+ var _props_fieldCode;
212
+ this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : "";
165
213
  };
166
214
  /**
167
215
  * 列表绑定配置
168
216
  */ export var ListBind = function ListBind(props) {
169
217
  "use strict";
170
- _classCallCheck(this, ListBind);
171
- var ref;
172
- var ref8;
173
- this.appId = (ref8 = props === null || props === void 0 ? void 0 : props.appId) !== null && ref8 !== void 0 ? ref8 : '';
174
- var ref9;
175
- this.formKey = (ref9 = props === null || props === void 0 ? void 0 : props.formKey) !== null && ref9 !== void 0 ? ref9 : '';
176
- var ref10;
177
- this.headers = (ref10 = props === null || props === void 0 ? void 0 : (ref = props.headers) === null || ref === void 0 ? void 0 : ref.map(function(item) {
218
+ _class_call_check(this, ListBind);
219
+ var _props_headers;
220
+ /**
221
+ * 应用ID
222
+ * @public
223
+ */ _define_property(this, "appId", void 0);
224
+ /**
225
+ * 表单ID
226
+ * @public
227
+ */ _define_property(this, "formKey", void 0);
228
+ /**
229
+ * 显示字段
230
+ * @public
231
+ */ _define_property(this, "headers", void 0);
232
+ var _props_appId;
233
+ this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : "";
234
+ var _props_formKey;
235
+ this.formKey = (_props_formKey = props === null || props === void 0 ? void 0 : props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : "";
236
+ var _props_headers_map;
237
+ this.headers = (_props_headers_map = props === null || props === void 0 ? void 0 : (_props_headers = props.headers) === null || _props_headers === void 0 ? void 0 : _props_headers.map(function(item) {
178
238
  return new ListBindHeaderItem(item);
179
- })) !== null && ref10 !== void 0 ? ref10 : [];
239
+ })) !== null && _props_headers_map !== void 0 ? _props_headers_map : [];
180
240
  };
181
241
  export var FieldBindItem = function FieldBindItem(props) {
182
242
  "use strict";
183
- _classCallCheck(this, FieldBindItem);
184
- var ref;
185
- this.fieldName = (ref = props === null || props === void 0 ? void 0 : props.fieldName) !== null && ref !== void 0 ? ref : '';
186
- var ref11;
187
- this.fieldCode = (ref11 = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && ref11 !== void 0 ? ref11 : '';
188
- var ref12;
189
- this.fieldType = (ref12 = props === null || props === void 0 ? void 0 : props.fieldType) !== null && ref12 !== void 0 ? ref12 : FieldTypes.VARCHAR;
243
+ _class_call_check(this, FieldBindItem);
244
+ _define_property(this, "fieldName", void 0);
245
+ _define_property(this, "fieldCode", void 0);
246
+ _define_property(this, "fieldType", void 0);
247
+ var _props_fieldName;
248
+ this.fieldName = (_props_fieldName = props === null || props === void 0 ? void 0 : props.fieldName) !== null && _props_fieldName !== void 0 ? _props_fieldName : "";
249
+ var _props_fieldCode;
250
+ this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : "";
251
+ var _props_fieldType;
252
+ this.fieldType = (_props_fieldType = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _props_fieldType !== void 0 ? _props_fieldType : FieldTypes.VARCHAR;
190
253
  };
191
254
  export var SubListItem = /*#__PURE__*/ function(FormBind) {
192
255
  "use strict";
193
256
  _inherits(SubListItem, FormBind);
194
- var _super = _createSuper(SubListItem);
257
+ var _super = _create_super(SubListItem);
195
258
  function SubListItem(props) {
196
- _classCallCheck(this, SubListItem);
259
+ _class_call_check(this, SubListItem);
197
260
  var _this;
198
261
  _this = _super.call(this, props);
199
- var ref;
200
- _this.title = (ref = props === null || props === void 0 ? void 0 : props.title) !== null && ref !== void 0 ? ref : '';
201
- var ref13;
202
- _this.svcCode = (ref13 = props === null || props === void 0 ? void 0 : props.svcCode) !== null && ref13 !== void 0 ? ref13 : '';
203
- var ref14;
204
- _this.isOpenFilter = (ref14 = props === null || props === void 0 ? void 0 : props.isOpenFilter) !== null && ref14 !== void 0 ? ref14 : false;
205
- var ref15;
206
- _this.filters = (ref15 = props === null || props === void 0 ? void 0 : props.filters) !== null && ref15 !== void 0 ? ref15 : [];
262
+ _define_property(_assert_this_initialized(_this), "title", void 0);
263
+ _define_property(_assert_this_initialized(_this), "svcCode", void 0);
264
+ _define_property(_assert_this_initialized(_this), "isOpenFilter", void 0);
265
+ _define_property(_assert_this_initialized(_this), "filters", void 0);
266
+ var _props_title;
267
+ _this.title = (_props_title = props === null || props === void 0 ? void 0 : props.title) !== null && _props_title !== void 0 ? _props_title : "";
268
+ var _props_svcCode;
269
+ _this.svcCode = (_props_svcCode = props === null || props === void 0 ? void 0 : props.svcCode) !== null && _props_svcCode !== void 0 ? _props_svcCode : "";
270
+ var _props_isOpenFilter;
271
+ _this.isOpenFilter = (_props_isOpenFilter = props === null || props === void 0 ? void 0 : props.isOpenFilter) !== null && _props_isOpenFilter !== void 0 ? _props_isOpenFilter : false;
272
+ var _props_filters;
273
+ _this.filters = (_props_filters = props === null || props === void 0 ? void 0 : props.filters) !== null && _props_filters !== void 0 ? _props_filters : [];
207
274
  return _this;
208
275
  }
209
276
  return SubListItem;
210
277
  }(FormBind);
211
278
  export var SubListPageConfig = function SubListPageConfig(props) {
212
279
  "use strict";
213
- _classCallCheck(this, SubListPageConfig);
214
- var ref, ref16;
215
- this.type = 'sublist-page';
280
+ _class_call_check(this, SubListPageConfig);
281
+ var _props_displayFields, _props_sublists;
282
+ _define_property(this, "type", "sublist-page");
283
+ _define_property(this, "formBind", void 0);
284
+ _define_property(this, "displayFields", void 0);
285
+ _define_property(this, "sublists", void 0);
216
286
  this.formBind = new FormBind(props === null || props === void 0 ? void 0 : props.formBind);
217
- var ref17;
218
- this.displayFields = (ref17 = props === null || props === void 0 ? void 0 : (ref = props.displayFields) === null || ref === void 0 ? void 0 : ref.map(function(item) {
287
+ var _props_displayFields_map;
288
+ 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) {
219
289
  return new FieldBindItem(item);
220
- })) !== null && ref17 !== void 0 ? ref17 : [];
221
- var ref18;
222
- this.sublists = (ref18 = props === null || props === void 0 ? void 0 : (ref16 = props.sublists) === null || ref16 === void 0 ? void 0 : ref16.map(function(item) {
290
+ })) !== null && _props_displayFields_map !== void 0 ? _props_displayFields_map : [];
291
+ var _props_sublists_map;
292
+ this.sublists = (_props_sublists_map = props === null || props === void 0 ? void 0 : (_props_sublists = props.sublists) === null || _props_sublists === void 0 ? void 0 : _props_sublists.map(function(item) {
223
293
  return new SubListItem(item);
224
- })) !== null && ref18 !== void 0 ? ref18 : [];
294
+ })) !== null && _props_sublists_map !== void 0 ? _props_sublists_map : [];
225
295
  };
226
296
  export var LeftVariable = function LeftVariable(props) {
227
297
  "use strict";
228
- _classCallCheck(this, LeftVariable);
298
+ _class_call_check(this, LeftVariable);
299
+ _define_property(this, "type", void 0);
300
+ _define_property(this, "value", void 0);
229
301
  this.type = props === null || props === void 0 ? void 0 : props.type;
230
302
  this.value = props === null || props === void 0 ? void 0 : props.value;
231
303
  };
232
304
  export var RightVariable = function RightVariable(props) {
233
305
  "use strict";
234
- _classCallCheck(this, RightVariable);
235
- var ref;
236
- this.type = (ref = props === null || props === void 0 ? void 0 : props.type) !== null && ref !== void 0 ? ref : 'custom';
237
- var ref19;
238
- this.value = (ref19 = props === null || props === void 0 ? void 0 : props.value) !== null && ref19 !== void 0 ? ref19 : [];
239
- var ref20;
240
- this.displayBos = (ref20 = props === null || props === void 0 ? void 0 : props.displayBos) !== null && ref20 !== void 0 ? ref20 : [];
306
+ _class_call_check(this, RightVariable);
307
+ _define_property(this, "type", void 0);
308
+ _define_property(this, "value", void 0);
309
+ _define_property(this, "displayBos", void 0);
310
+ var _props_type;
311
+ this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "custom";
312
+ var _props_value;
313
+ this.value = (_props_value = props === null || props === void 0 ? void 0 : props.value) !== null && _props_value !== void 0 ? _props_value : [];
314
+ var _props_displayBos;
315
+ this.displayBos = (_props_displayBos = props === null || props === void 0 ? void 0 : props.displayBos) !== null && _props_displayBos !== void 0 ? _props_displayBos : [];
241
316
  };
242
317
  /**
243
318
  * 连接符条件
244
319
  * @public
245
320
  */ export var FieldFilterConditions = function FieldFilterConditions(props) {
246
321
  "use strict";
247
- _classCallCheck(this, FieldFilterConditions);
322
+ var _this = this;
323
+ _class_call_check(this, FieldFilterConditions);
324
+ /**
325
+ * 编号
326
+ * @defaultValue ''
327
+ */ _define_property(this, "id", void 0);
328
+ /**
329
+ * 规则编号
330
+ * @defaultValue Timestamp
331
+ */ _define_property(this, "ruleId", void 0);
248
332
  /**
249
333
  * 类型:连接符条件
250
334
  * @defaultValue 'conditions'
251
- */ this.type = 'conditions';
252
- var ref25;
253
- this.id = (ref25 = props === null || props === void 0 ? void 0 : props.id) !== null && ref25 !== void 0 ? ref25 : genNonDuplicateId();
254
- var ref21;
255
- this.ruleId = (ref21 = props === null || props === void 0 ? void 0 : props.ruleId) !== null && ref21 !== void 0 ? ref21 : new Date().valueOf();
256
- var ref22;
257
- this.level = (ref22 = props === null || props === void 0 ? void 0 : props.level) !== null && ref22 !== void 0 ? ref22 : 0;
258
- var ref23;
259
- this.value = (ref23 = props === null || props === void 0 ? void 0 : props.value) !== null && ref23 !== void 0 ? ref23 : 'and';
335
+ */ _define_property(this, "type", "conditions");
336
+ /**
337
+ * 深度
338
+ * @defaultValue 0
339
+ */ _define_property(this, "level", void 0);
340
+ /**
341
+ * 连接符值
342
+ * @defaultValue 'and'
343
+ */ _define_property(this, "value", void 0);
344
+ /**
345
+ * 包含子项
346
+ * @defaultValue []
347
+ */ _define_property(this, "children", void 0);
348
+ var _props_id;
349
+ this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId();
350
+ var _props_ruleId;
351
+ this.ruleId = (_props_ruleId = props === null || props === void 0 ? void 0 : props.ruleId) !== null && _props_ruleId !== void 0 ? _props_ruleId : new Date().valueOf();
352
+ var _props_level;
353
+ this.level = (_props_level = props === null || props === void 0 ? void 0 : props.level) !== null && _props_level !== void 0 ? _props_level : 0;
354
+ var _props_value;
355
+ this.value = (_props_value = props === null || props === void 0 ? void 0 : props.value) !== null && _props_value !== void 0 ? _props_value : "and";
260
356
  this.children = [];
261
357
  if (Array.isArray(props === null || props === void 0 ? void 0 : props.children)) {
262
- var _this = this;
263
358
  props === null || props === void 0 ? void 0 : props.children.map(function(item) {
264
359
  if (item.children !== undefined) {
265
- var ref;
360
+ var _this_children;
266
361
  var filter = new FieldFilterConditions(item);
267
- (ref = _this.children) === null || ref === void 0 ? void 0 : ref.push(filter);
362
+ (_this_children = _this.children) === null || _this_children === void 0 ? void 0 : _this_children.push(filter);
268
363
  } else {
269
- var ref24;
364
+ var _this_children1;
270
365
  var filter1 = new FieldFilterCondition(item);
271
- (ref24 = _this.children) === null || ref24 === void 0 ? void 0 : ref24.push(filter1);
366
+ (_this_children1 = _this.children) === null || _this_children1 === void 0 ? void 0 : _this_children1.push(filter1);
272
367
  }
273
368
  });
274
369
  }
@@ -278,21 +373,40 @@ export var RightVariable = function RightVariable(props) {
278
373
  * @public
279
374
  */ export var FieldFilterCondition = function FieldFilterCondition(props) {
280
375
  "use strict";
281
- _classCallCheck(this, FieldFilterCondition);
376
+ _class_call_check(this, FieldFilterCondition);
377
+ /**
378
+ * 唯一编号
379
+ * @defaultValue ''
380
+ */ _define_property(this, "id", void 0);
381
+ /**
382
+ * 规则编号
383
+ * @defaultValue Timestamp
384
+ */ _define_property(this, "ruleId", void 0);
282
385
  /**
283
386
  * 类型
284
387
  * @defaultValue 'condition'
285
- */ this.type = 'condition';
286
- var ref;
287
- this.id = (ref = props === null || props === void 0 ? void 0 : props.id) !== null && ref !== void 0 ? ref : genNonDuplicateId();
288
- var ref26;
289
- this.ruleId = (ref26 = props === null || props === void 0 ? void 0 : props.ruleId) !== null && ref26 !== void 0 ? ref26 : new Date().valueOf();
290
- var ref27;
291
- this.symbol = (ref27 = props === null || props === void 0 ? void 0 : props.symbol) !== null && ref27 !== void 0 ? ref27 : '';
292
- var ref28;
293
- this.checked = (ref28 = props === null || props === void 0 ? void 0 : props.checked) !== null && ref28 !== void 0 ? ref28 : false;
294
- var ref29;
295
- this.describe = (ref29 = props === null || props === void 0 ? void 0 : props.describe) !== null && ref29 !== void 0 ? ref29 : '';
388
+ */ _define_property(this, "type", "condition");
389
+ /**
390
+ * 符号
391
+ */ _define_property(this, "symbol", void 0);
392
+ _define_property(this, "checked", void 0);
393
+ _define_property(this, "describe", void 0);
394
+ /**
395
+ * 左值
396
+ */ _define_property(this, "leftVariableBo", void 0);
397
+ /**
398
+ * 右值
399
+ */ _define_property(this, "rightVariableBo", void 0);
400
+ var _props_id;
401
+ this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId();
402
+ var _props_ruleId;
403
+ this.ruleId = (_props_ruleId = props === null || props === void 0 ? void 0 : props.ruleId) !== null && _props_ruleId !== void 0 ? _props_ruleId : new Date().valueOf();
404
+ var _props_symbol;
405
+ this.symbol = (_props_symbol = props === null || props === void 0 ? void 0 : props.symbol) !== null && _props_symbol !== void 0 ? _props_symbol : "";
406
+ var _props_checked;
407
+ this.checked = (_props_checked = props === null || props === void 0 ? void 0 : props.checked) !== null && _props_checked !== void 0 ? _props_checked : false;
408
+ var _props_describe;
409
+ this.describe = (_props_describe = props === null || props === void 0 ? void 0 : props.describe) !== null && _props_describe !== void 0 ? _props_describe : "";
296
410
  this.leftVariableBo = new LeftVariable(props === null || props === void 0 ? void 0 : props.leftVariableBo);
297
411
  this.rightVariableBo = new RightVariable(props === null || props === void 0 ? void 0 : props.rightVariableBo);
298
412
  };
@@ -301,26 +415,57 @@ export var RightVariable = function RightVariable(props) {
301
415
  * @public
302
416
  */ export var MultistageFillingItem = function MultistageFillingItem(props) {
303
417
  "use strict";
304
- _classCallCheck(this, MultistageFillingItem);
305
- var ref;
306
- this.controlId = (ref = props === null || props === void 0 ? void 0 : props.controlId) !== null && ref !== void 0 ? ref : '';
307
- var ref30;
308
- this.fieldCode = (ref30 = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && ref30 !== void 0 ? ref30 : '';
309
- var ref31;
310
- this.fieldType = (ref31 = props === null || props === void 0 ? void 0 : props.fieldType) !== null && ref31 !== void 0 ? ref31 : '';
311
- var ref32;
312
- this.propName = (ref32 = props === null || props === void 0 ? void 0 : props.propName) !== null && ref32 !== void 0 ? ref32 : '';
418
+ _class_call_check(this, MultistageFillingItem);
419
+ /**
420
+ * 控件ID
421
+ * @defaultValue ''
422
+ * @public
423
+ */ _define_property(this, "controlId", void 0);
424
+ /**
425
+ * 字段
426
+ * @defaultValue ''
427
+ * @public
428
+ */ _define_property(this, "fieldCode", void 0);
429
+ /**
430
+ * 字段类型。事件在填充时,需要根据数据类型进行判断处理动作。
431
+ * @defaultValue ''
432
+ * @public
433
+ */ _define_property(this, "fieldType", void 0);
434
+ /**
435
+ * 属性名称。如果是ObjectDataBind的控件,可以指定填充到哪个数据项。
436
+ * @defaultValue ''
437
+ * @public
438
+ * */ _define_property(this, "propName", void 0);
439
+ var _props_controlId;
440
+ this.controlId = (_props_controlId = props === null || props === void 0 ? void 0 : props.controlId) !== null && _props_controlId !== void 0 ? _props_controlId : "";
441
+ var _props_fieldCode;
442
+ this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : "";
443
+ var _props_fieldType;
444
+ this.fieldType = (_props_fieldType = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _props_fieldType !== void 0 ? _props_fieldType : "";
445
+ var _props_propName;
446
+ this.propName = (_props_propName = props === null || props === void 0 ? void 0 : props.propName) !== null && _props_propName !== void 0 ? _props_propName : "";
313
447
  };
314
448
  /**
315
449
  * 显示项
316
450
  * @public
317
451
  */ export var DisplayBoListItem = function DisplayBoListItem(props) {
318
452
  "use strict";
319
- _classCallCheck(this, DisplayBoListItem);
320
- var ref;
321
- this.type = (ref = props === null || props === void 0 ? void 0 : props.type) !== null && ref !== void 0 ? ref : 'FIELD';
322
- var ref33;
323
- this.value = (ref33 = props === null || props === void 0 ? void 0 : props.value) !== null && ref33 !== void 0 ? ref33 : '';
453
+ _class_call_check(this, DisplayBoListItem);
454
+ /**
455
+ * 显示项类型:字段 | 符号
456
+ * @defaultValue 'FIELD'
457
+ * @public
458
+ */ _define_property(this, "type", void 0);
459
+ /**
460
+ * 值
461
+ */ _define_property(this, "value", void 0);
462
+ /**
463
+ * 字段数据类型
464
+ */ _define_property(this, "fieldType", void 0);
465
+ var _props_type;
466
+ this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "FIELD";
467
+ var _props_value;
468
+ this.value = (_props_value = props === null || props === void 0 ? void 0 : props.value) !== null && _props_value !== void 0 ? _props_value : "";
324
469
  this.fieldType = props === null || props === void 0 ? void 0 : props.fieldType;
325
470
  };
326
471
  /**
@@ -328,66 +473,87 @@ export var RightVariable = function RightVariable(props) {
328
473
  * @public
329
474
  */ export var DataSourceOrderItem = function DataSourceOrderItem(props) {
330
475
  "use strict";
331
- _classCallCheck(this, DataSourceOrderItem);
332
- var _columnName;
333
- this.columnName = (_columnName = props.columnName) !== null && _columnName !== void 0 ? _columnName : '';
334
- var _desc;
335
- this.desc = (_desc = props.desc) !== null && _desc !== void 0 ? _desc : false;
476
+ _class_call_check(this, DataSourceOrderItem);
477
+ /**
478
+ * 列名
479
+ * @defaultValue ''
480
+ */ _define_property(this, "columnName", void 0);
481
+ /**
482
+ * 倒序
483
+ * @defaultValue false
484
+ */ _define_property(this, "desc", void 0);
485
+ var _props_columnName;
486
+ this.columnName = (_props_columnName = props.columnName) !== null && _props_columnName !== void 0 ? _props_columnName : "";
487
+ var _props_desc;
488
+ this.desc = (_props_desc = props.desc) !== null && _props_desc !== void 0 ? _props_desc : false;
336
489
  };
337
490
  export var DataSourceDataSetValue = function DataSourceDataSetValue(props) {
338
491
  "use strict";
339
- _classCallCheck(this, DataSourceDataSetValue);
340
- var _code;
341
- this.code = (_code = props.code) !== null && _code !== void 0 ? _code : '';
342
- var _value;
343
- this.value = (_value = props.value) !== null && _value !== void 0 ? _value : '';
344
- var _field_type;
345
- this.field_type = (_field_type = props.field_type) !== null && _field_type !== void 0 ? _field_type : FieldTypes.ANY;
492
+ _class_call_check(this, DataSourceDataSetValue);
493
+ // fieldCode
494
+ _define_property(this, "code", void 0);
495
+ //
496
+ _define_property(this, "value", void 0);
497
+ // 数据类型
498
+ _define_property(this, "field_type", void 0);
499
+ var _props_code;
500
+ this.code = (_props_code = props.code) !== null && _props_code !== void 0 ? _props_code : "";
501
+ var _props_value;
502
+ this.value = (_props_value = props.value) !== null && _props_value !== void 0 ? _props_value : "";
503
+ var _props_field_type;
504
+ this.field_type = (_props_field_type = props.field_type) !== null && _props_field_type !== void 0 ? _props_field_type : FieldTypes.ANY;
346
505
  };
347
506
  export var DataSourceParamItem = function DataSourceParamItem(props) {
348
507
  "use strict";
349
- _classCallCheck(this, DataSourceParamItem);
350
- var ref, ref34;
351
- var _id;
508
+ _class_call_check(this, DataSourceParamItem);
509
+ var _props_orders, _props_dataSet;
510
+ /**
511
+ * 字段ID
512
+ */ _define_property(this, "id", void 0);
513
+ _define_property(this, "limit", void 0);
514
+ _define_property(this, "orders", void 0);
515
+ _define_property(this, "formKey", void 0);
516
+ _define_property(this, "dataSet", void 0);
517
+ var _props_id;
352
518
  //字段ID,不可以当作随机数生成唯一编号
353
- this.id = (_id = props.id) !== null && _id !== void 0 ? _id : '';
354
- var _limit;
355
- this.limit = (_limit = props.limit) !== null && _limit !== void 0 ? _limit : 20;
356
- var _formKey;
357
- this.formKey = (_formKey = props.formKey) !== null && _formKey !== void 0 ? _formKey : '';
358
- var ref35;
359
- this.orders = (ref35 = (ref = props.orders) === null || ref === void 0 ? void 0 : ref.map(function(item) {
519
+ this.id = (_props_id = props.id) !== null && _props_id !== void 0 ? _props_id : "";
520
+ var _props_limit;
521
+ this.limit = (_props_limit = props.limit) !== null && _props_limit !== void 0 ? _props_limit : 20;
522
+ var _props_formKey;
523
+ this.formKey = (_props_formKey = props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : "";
524
+ var _props_orders_map;
525
+ this.orders = (_props_orders_map = (_props_orders = props.orders) === null || _props_orders === void 0 ? void 0 : _props_orders.map(function(item) {
360
526
  return new DataSourceOrderItem(item);
361
- })) !== null && ref35 !== void 0 ? ref35 : [];
362
- var ref36;
363
- this.dataSet = (ref36 = (ref34 = props.dataSet) === null || ref34 === void 0 ? void 0 : ref34.map(function(item) {
527
+ })) !== null && _props_orders_map !== void 0 ? _props_orders_map : [];
528
+ var _props_dataSet_map;
529
+ this.dataSet = (_props_dataSet_map = (_props_dataSet = props.dataSet) === null || _props_dataSet === void 0 ? void 0 : _props_dataSet.map(function(item) {
364
530
  return new DataSourceDataSetValue(item);
365
- })) !== null && ref36 !== void 0 ? ref36 : [];
531
+ })) !== null && _props_dataSet_map !== void 0 ? _props_dataSet_map : [];
366
532
  };
367
533
  /**
368
534
  * 给filters和orders赋值
369
535
  * */ function callFiltersAndOrders(props) {
370
- var ref, ref37;
371
- var ref38;
372
- this.filters = (ref38 = props === null || props === void 0 ? void 0 : (ref = props.filters) === null || ref === void 0 ? void 0 : ref.map(function(item) {
536
+ var _props_filters, _props_viewFilters;
537
+ var _props_filters_map;
538
+ 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) {
373
539
  if (item.children !== undefined) {
374
540
  return new FieldFilterConditions(item);
375
541
  }
376
542
  return new FieldFilterCondition(item);
377
- })) !== null && ref38 !== void 0 ? ref38 : [];
378
- var ref39;
379
- this.viewFilters = (ref39 = props === null || props === void 0 ? void 0 : (ref37 = props.viewFilters) === null || ref37 === void 0 ? void 0 : ref37.map(function(item) {
543
+ })) !== null && _props_filters_map !== void 0 ? _props_filters_map : [];
544
+ var _props_viewFilters_map;
545
+ 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) {
380
546
  if (item.children !== undefined) {
381
547
  return new FieldFilterConditions(item);
382
548
  }
383
549
  return new FieldFilterCondition(item);
384
- })) !== null && ref39 !== void 0 ? ref39 : [];
550
+ })) !== null && _props_viewFilters_map !== void 0 ? _props_viewFilters_map : [];
385
551
  if (_instanceof(this, DataSourceBind) || _instanceof(this, FillPayloadBind)) {
386
- var ref40, ref41;
387
- var ref42;
388
- this.orders = (ref42 = (ref40 = props) === null || ref40 === void 0 ? void 0 : (ref41 = ref40.orders) === null || ref41 === void 0 ? void 0 : ref41.map(function(item) {
552
+ var _props_orders;
553
+ var _props_orders_map;
554
+ this.orders = (_props_orders_map = props === null || props === void 0 ? void 0 : (_props_orders = props.orders) === null || _props_orders === void 0 ? void 0 : _props_orders.map(function(item) {
389
555
  return new DataSourceOrderItem(item);
390
- })) !== null && ref42 !== void 0 ? ref42 : [];
556
+ })) !== null && _props_orders_map !== void 0 ? _props_orders_map : [];
391
557
  }
392
558
  }
393
559
  /**
@@ -395,89 +561,169 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
395
561
  * @public
396
562
  */ export var DataSourceBind = function DataSourceBind(props) {
397
563
  "use strict";
398
- _classCallCheck(this, DataSourceBind);
399
- var ref49;
400
- this.dataCode = (ref49 = props === null || props === void 0 ? void 0 : props.dataCode) !== null && ref49 !== void 0 ? ref49 : '';
401
- var ref43;
402
- this.appId = (ref43 = props === null || props === void 0 ? void 0 : props.appId) !== null && ref43 !== void 0 ? ref43 : '';
403
- var ref44;
404
- this.valueFieldCode = (ref44 = props === null || props === void 0 ? void 0 : props.valueFieldCode) !== null && ref44 !== void 0 ? ref44 : '';
564
+ var _this = this;
565
+ _class_call_check(this, DataSourceBind);
566
+ /**
567
+ * 绑定数据源id
568
+ * @defaultValue ''
569
+ * @public
570
+ */ _define_property(this, "dataCode", void 0);
571
+ /**
572
+ * 存储值
573
+ * @defaultValue ''
574
+ * @public
575
+ */ _define_property(this, "valueFieldCode", void 0);
576
+ /**
577
+ * 显示值
578
+ * @defaultValue []
579
+ * @public
580
+ */ _define_property(this, "displayBoList", void 0);
581
+ /**
582
+ * 查询关键字参数映射
583
+ * @defaultValue ''
584
+ * @public
585
+ */ _define_property(this, "keywordMapping", void 0);
586
+ /**
587
+ * 绑定服务
588
+ * @defaultValue ''
589
+ * @public
590
+ */ _define_property(this, "svcCode", void 0);
591
+ /**
592
+ * 应用Id
593
+ * @defaultValue ''
594
+ * @public
595
+ */ _define_property(this, "appId", void 0);
596
+ /**
597
+ * 过滤条件
598
+ * @defaultValue []
599
+ * @public
600
+ */ _define_property(this, "filters", void 0);
601
+ // 过滤
602
+ /**
603
+ * 过滤条件-查看过滤
604
+ * @defaultValue []
605
+ * @public
606
+ */ _define_property(this, "viewFilters", void 0);
607
+ /**
608
+ * 是否开启查看过滤
609
+ * @defaultValue 0:未开启;1:开启
610
+ * @public
611
+ */ _define_property(this, "isOpenViewFilters", void 0);
612
+ /**
613
+ * 排序
614
+ * @defaultValue []
615
+ * @public
616
+ */ _define_property(this, "orders", void 0);
617
+ /**
618
+ * 显示排序
619
+ * @defaultValue true
620
+ * @public
621
+ */ _define_property(this, "showOrder", void 0);
622
+ var _props_dataCode;
623
+ this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
624
+ var _props_appId;
625
+ this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : "";
626
+ var _props_valueFieldCode;
627
+ this.valueFieldCode = (_props_valueFieldCode = props === null || props === void 0 ? void 0 : props.valueFieldCode) !== null && _props_valueFieldCode !== void 0 ? _props_valueFieldCode : "";
405
628
  this.displayBoList = [];
406
- var ref45;
407
- this.isOpenViewFilters = (ref45 = props === null || props === void 0 ? void 0 : props.isOpenViewFilters) !== null && ref45 !== void 0 ? ref45 : 0;
629
+ var _props_isOpenViewFilters;
630
+ this.isOpenViewFilters = (_props_isOpenViewFilters = props === null || props === void 0 ? void 0 : props.isOpenViewFilters) !== null && _props_isOpenViewFilters !== void 0 ? _props_isOpenViewFilters : 0;
408
631
  if (Array.isArray(props === null || props === void 0 ? void 0 : props.displayBoList)) {
409
- var _this = this;
410
632
  props === null || props === void 0 ? void 0 : props.displayBoList.map(function(item) {
411
- var ref;
412
- (ref = _this.displayBoList) === null || ref === void 0 ? void 0 : ref.push(new DisplayBoListItem(item));
633
+ var _this_displayBoList;
634
+ (_this_displayBoList = _this.displayBoList) === null || _this_displayBoList === void 0 ? void 0 : _this_displayBoList.push(new DisplayBoListItem(item));
413
635
  });
414
636
  }
415
- var ref46;
416
- this.keywordMapping = (ref46 = props === null || props === void 0 ? void 0 : props.keywordMapping) !== null && ref46 !== void 0 ? ref46 : '';
417
- var ref47;
418
- this.showOrder = (ref47 = props === null || props === void 0 ? void 0 : props.showOrder) !== null && ref47 !== void 0 ? ref47 : true;
419
- var ref48;
420
- this.svcCode = (ref48 = props === null || props === void 0 ? void 0 : props.svcCode) !== null && ref48 !== void 0 ? ref48 : '';
637
+ var _props_keywordMapping;
638
+ this.keywordMapping = (_props_keywordMapping = props === null || props === void 0 ? void 0 : props.keywordMapping) !== null && _props_keywordMapping !== void 0 ? _props_keywordMapping : "";
639
+ var _props_showOrder;
640
+ this.showOrder = (_props_showOrder = props === null || props === void 0 ? void 0 : props.showOrder) !== null && _props_showOrder !== void 0 ? _props_showOrder : true;
641
+ var _props_svcCode;
642
+ this.svcCode = (_props_svcCode = props === null || props === void 0 ? void 0 : props.svcCode) !== null && _props_svcCode !== void 0 ? _props_svcCode : "";
421
643
  callFiltersAndOrders.call(this, props);
422
644
  };
423
645
  export var SelectedContentConfig = function SelectedContentConfig(props) {
424
646
  "use strict";
425
- _classCallCheck(this, SelectedContentConfig);
426
- var ref;
427
- this.dataCode = (ref = props === null || props === void 0 ? void 0 : props.dataCode) !== null && ref !== void 0 ? ref : '';
428
- var ref50;
429
- this.displayBoList = (ref50 = props === null || props === void 0 ? void 0 : props.displayBoList) !== null && ref50 !== void 0 ? ref50 : [];
647
+ _class_call_check(this, SelectedContentConfig);
648
+ /**
649
+ * 展示已选内容
650
+ * @defaultValue ''
651
+ * @public
652
+ */ _define_property(this, "dataCode", void 0);
653
+ /**
654
+ * 展示已选明细
655
+ * @defaultValue []
656
+ * @public
657
+ */ _define_property(this, "displayBoList", void 0);
658
+ var _props_dataCode;
659
+ this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
660
+ var _props_displayBoList;
661
+ this.displayBoList = (_props_displayBoList = props === null || props === void 0 ? void 0 : props.displayBoList) !== null && _props_displayBoList !== void 0 ? _props_displayBoList : [];
430
662
  };
431
663
  export var LinkOperationOption = function LinkOperationOption(props) {
432
664
  "use strict";
433
- _classCallCheck(this, LinkOperationOption);
434
- var ref;
435
- this.code = (ref = props === null || props === void 0 ? void 0 : props.code) !== null && ref !== void 0 ? ref : 'view';
436
- var ref51;
437
- this.color = (ref51 = props === null || props === void 0 ? void 0 : props.color) !== null && ref51 !== void 0 ? ref51 : 'primary';
438
- var ref52;
439
- this.command = (ref52 = props === null || props === void 0 ? void 0 : props.command) !== null && ref52 !== void 0 ? ref52 : 'view';
440
- var ref53;
441
- this.confirmMessage = (ref53 = props === null || props === void 0 ? void 0 : props.confirmMessage) !== null && ref53 !== void 0 ? ref53 : undefined;
442
- var ref54;
443
- this.defaultState = (ref54 = props === null || props === void 0 ? void 0 : props.defaultState) !== null && ref54 !== void 0 ? ref54 : 'default';
444
- var ref55;
445
- this.formKey = (ref55 = props === null || props === void 0 ? void 0 : props.formKey) !== null && ref55 !== void 0 ? ref55 : undefined;
446
- var ref56;
447
- this.icon = (ref56 = props === null || props === void 0 ? void 0 : props.icon) !== null && ref56 !== void 0 ? ref56 : 'iconliulan1';
448
- var ref57;
449
- this.needConfirm = (ref57 = props === null || props === void 0 ? void 0 : props.needConfirm) !== null && ref57 !== void 0 ? ref57 : false;
450
- var ref58;
451
- this.openType = (ref58 = props === null || props === void 0 ? void 0 : props.openType) !== null && ref58 !== void 0 ? ref58 : 'modal';
452
- var ref59;
453
- this.priorityProcess = (ref59 = props === null || props === void 0 ? void 0 : props.priorityProcess) !== null && ref59 !== void 0 ? ref59 : true;
665
+ _class_call_check(this, LinkOperationOption);
666
+ _define_property(this, "code", void 0);
667
+ _define_property(this, "color", void 0);
668
+ _define_property(this, "command", void 0);
669
+ _define_property(this, "confirmMessage", void 0);
670
+ _define_property(this, "defaultState", void 0);
671
+ _define_property(this, "formKey", void 0);
672
+ _define_property(this, "icon", void 0);
673
+ _define_property(this, "needConfirm", void 0);
674
+ _define_property(this, "openType", void 0);
675
+ _define_property(this, "priorityProcess", void 0);
676
+ var _props_code;
677
+ this.code = (_props_code = props === null || props === void 0 ? void 0 : props.code) !== null && _props_code !== void 0 ? _props_code : "view";
678
+ var _props_color;
679
+ this.color = (_props_color = props === null || props === void 0 ? void 0 : props.color) !== null && _props_color !== void 0 ? _props_color : "primary";
680
+ var _props_command;
681
+ this.command = (_props_command = props === null || props === void 0 ? void 0 : props.command) !== null && _props_command !== void 0 ? _props_command : "view";
682
+ var _props_confirmMessage;
683
+ this.confirmMessage = (_props_confirmMessage = props === null || props === void 0 ? void 0 : props.confirmMessage) !== null && _props_confirmMessage !== void 0 ? _props_confirmMessage : undefined;
684
+ var _props_defaultState;
685
+ this.defaultState = (_props_defaultState = props === null || props === void 0 ? void 0 : props.defaultState) !== null && _props_defaultState !== void 0 ? _props_defaultState : "default";
686
+ var _props_formKey;
687
+ this.formKey = (_props_formKey = props === null || props === void 0 ? void 0 : props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : undefined;
688
+ var _props_icon;
689
+ this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : "iconliulan1";
690
+ var _props_needConfirm;
691
+ this.needConfirm = (_props_needConfirm = props === null || props === void 0 ? void 0 : props.needConfirm) !== null && _props_needConfirm !== void 0 ? _props_needConfirm : false;
692
+ var _props_openType;
693
+ this.openType = (_props_openType = props === null || props === void 0 ? void 0 : props.openType) !== null && _props_openType !== void 0 ? _props_openType : "modal";
694
+ var _props_priorityProcess;
695
+ this.priorityProcess = (_props_priorityProcess = props === null || props === void 0 ? void 0 : props.priorityProcess) !== null && _props_priorityProcess !== void 0 ? _props_priorityProcess : true;
454
696
  };
455
697
  export var CustomAttributeItem = function CustomAttributeItem(props) {
456
698
  "use strict";
457
- _classCallCheck(this, CustomAttributeItem);
458
- var ref;
459
- var ref60;
460
- this.name = (ref60 = props === null || props === void 0 ? void 0 : props.name) !== null && ref60 !== void 0 ? ref60 : '';
461
- var ref61;
462
- this.key = (ref61 = props === null || props === void 0 ? void 0 : props.key) !== null && ref61 !== void 0 ? ref61 : '';
463
- var ref62;
464
- this.value = (ref62 = props === null || props === void 0 ? void 0 : (ref = props.value) === null || ref === void 0 ? void 0 : ref.map(function(item) {
699
+ _class_call_check(this, CustomAttributeItem);
700
+ var _props_value;
701
+ _define_property(this, "name", void 0);
702
+ _define_property(this, "key", void 0);
703
+ _define_property(this, "value", void 0);
704
+ var _props_name;
705
+ this.name = (_props_name = props === null || props === void 0 ? void 0 : props.name) !== null && _props_name !== void 0 ? _props_name : "";
706
+ var _props_key;
707
+ this.key = (_props_key = props === null || props === void 0 ? void 0 : props.key) !== null && _props_key !== void 0 ? _props_key : "";
708
+ var _props_value_map;
709
+ this.value = (_props_value_map = props === null || props === void 0 ? void 0 : (_props_value = props.value) === null || _props_value === void 0 ? void 0 : _props_value.map(function(item) {
465
710
  return new DisplayBoListItem(item);
466
- })) !== null && ref62 !== void 0 ? ref62 : [];
711
+ })) !== null && _props_value_map !== void 0 ? _props_value_map : [];
467
712
  };
468
713
  export var SuperDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
469
714
  "use strict";
470
715
  _inherits(SuperDataSourceBind, DataSourceBind);
471
- var _super = _createSuper(SuperDataSourceBind);
716
+ var _super = _create_super(SuperDataSourceBind);
472
717
  function SuperDataSourceBind(props) {
473
- _classCallCheck(this, SuperDataSourceBind);
718
+ _class_call_check(this, SuperDataSourceBind);
474
719
  var _this;
475
- var ref;
720
+ var _props_attributes;
476
721
  _this = _super.call(this, props);
477
- var ref63;
478
- _this.attributes = (ref63 = props === null || props === void 0 ? void 0 : (ref = props.attributes) === null || ref === void 0 ? void 0 : ref.map(function(item) {
722
+ _define_property(_assert_this_initialized(_this), "attributes", void 0);
723
+ var _props_attributes_map;
724
+ _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) {
479
725
  return new CustomAttributeItem(item);
480
- })) !== null && ref63 !== void 0 ? ref63 : [];
726
+ })) !== null && _props_attributes_map !== void 0 ? _props_attributes_map : [];
481
727
  return _this;
482
728
  }
483
729
  return SuperDataSourceBind;
@@ -485,18 +731,20 @@ export var SuperDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
485
731
  export var OrganizationDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
486
732
  "use strict";
487
733
  _inherits(OrganizationDataSourceBind, DataSourceBind);
488
- var _super = _createSuper(OrganizationDataSourceBind);
734
+ var _super = _create_super(OrganizationDataSourceBind);
489
735
  function OrganizationDataSourceBind(props) {
490
- _classCallCheck(this, OrganizationDataSourceBind);
736
+ _class_call_check(this, OrganizationDataSourceBind);
491
737
  var _this;
492
- var ref;
738
+ var _props_attributes;
493
739
  _this = _super.call(this, props);
494
- var ref64;
495
- _this.attributes = (ref64 = props === null || props === void 0 ? void 0 : (ref = props.attributes) === null || ref === void 0 ? void 0 : ref.map(function(item) {
740
+ _define_property(_assert_this_initialized(_this), "attributes", void 0);
741
+ _define_property(_assert_this_initialized(_this), "formCode", void 0);
742
+ var _props_attributes_map;
743
+ _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) {
496
744
  return new CustomAttributeItem(item);
497
- })) !== null && ref64 !== void 0 ? ref64 : [];
498
- var ref65;
499
- _this.formCode = (ref65 = props === null || props === void 0 ? void 0 : props.formCode) !== null && ref65 !== void 0 ? ref65 : '';
745
+ })) !== null && _props_attributes_map !== void 0 ? _props_attributes_map : [];
746
+ var _props_formCode;
747
+ _this.formCode = (_props_formCode = props === null || props === void 0 ? void 0 : props.formCode) !== null && _props_formCode !== void 0 ? _props_formCode : "";
500
748
  return _this;
501
749
  }
502
750
  return OrganizationDataSourceBind;
@@ -504,30 +752,41 @@ export var OrganizationDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
504
752
  export var TreeDataSourceBind = /*#__PURE__*/ function(SuperDataSourceBind) {
505
753
  "use strict";
506
754
  _inherits(TreeDataSourceBind, SuperDataSourceBind);
507
- var _super = _createSuper(TreeDataSourceBind);
755
+ var _super = _create_super(TreeDataSourceBind);
508
756
  function TreeDataSourceBind(props) {
509
- _classCallCheck(this, TreeDataSourceBind);
757
+ _class_call_check(this, TreeDataSourceBind);
510
758
  var _this;
511
759
  _this = _super.call(this, props);
760
+ _define_property(_assert_this_initialized(_this), "rootNode", void 0);
761
+ _define_property(_assert_this_initialized(_this), "filterCode", void 0);
512
762
  _this.rootNode = new RightVariable(props === null || props === void 0 ? void 0 : props.rootNode);
513
- var ref;
514
- _this.filterCode = (ref = props === null || props === void 0 ? void 0 : props.filterCode) !== null && ref !== void 0 ? ref : '';
763
+ var _props_filterCode;
764
+ _this.filterCode = (_props_filterCode = props === null || props === void 0 ? void 0 : props.filterCode) !== null && _props_filterCode !== void 0 ? _props_filterCode : "";
515
765
  return _this;
516
766
  }
517
767
  return TreeDataSourceBind;
518
768
  }(SuperDataSourceBind);
519
769
  var FillBind = function FillBind(props) {
520
770
  "use strict";
521
- _classCallCheck(this, FillBind);
522
- var ref;
523
- var ref66;
524
- this.dataCode = (ref66 = props === null || props === void 0 ? void 0 : props.dataCode) !== null && ref66 !== void 0 ? ref66 : '';
525
- var ref67;
526
- this.appId = (ref67 = props === null || props === void 0 ? void 0 : props.appId) !== null && ref67 !== void 0 ? ref67 : '';
527
- var ref68;
528
- this.fillList = (ref68 = props === null || props === void 0 ? void 0 : (ref = props.fillList) === null || ref === void 0 ? void 0 : ref.map(function(item) {
771
+ _class_call_check(this, FillBind);
772
+ var _props_fillList;
773
+ /*
774
+ * 需要被填充的数据源
775
+ * */ _define_property(this, "dataCode", void 0);
776
+ /*
777
+ * appId
778
+ * */ _define_property(this, "appId", void 0);
779
+ /*
780
+ * 执行填充的数据项和控件
781
+ * */ _define_property(this, "fillList", void 0);
782
+ var _props_dataCode;
783
+ this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
784
+ var _props_appId;
785
+ this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : "";
786
+ var _props_fillList_map;
787
+ this.fillList = (_props_fillList_map = props === null || props === void 0 ? void 0 : (_props_fillList = props.fillList) === null || _props_fillList === void 0 ? void 0 : _props_fillList.map(function(item) {
529
788
  return new MultistageFillingItem(item);
530
- })) !== null && ref68 !== void 0 ? ref68 : [];
789
+ })) !== null && _props_fillList_map !== void 0 ? _props_fillList_map : [];
531
790
  };
532
791
  /**
533
792
  * FillPayloadBind 填充配置
@@ -536,12 +795,27 @@ var FillBind = function FillBind(props) {
536
795
  * */ export var FillPayloadBind = /*#__PURE__*/ function(FillBind) {
537
796
  "use strict";
538
797
  _inherits(FillPayloadBind, FillBind);
539
- var _super = _createSuper(FillPayloadBind);
798
+ var _super = _create_super(FillPayloadBind);
540
799
  function FillPayloadBind(props) {
541
- _classCallCheck(this, FillPayloadBind);
800
+ _class_call_check(this, FillPayloadBind);
542
801
  var _this;
543
802
  _this = _super.call(this, props);
544
- callFiltersAndOrders.call(_assertThisInitialized(_this), props);
803
+ /**
804
+ * 数据源过滤条件
805
+ * @defaultValue []
806
+ * @public
807
+ **/ _define_property(_assert_this_initialized(_this), "filters", void 0);
808
+ /**
809
+ * 数据源过滤条件-查看
810
+ * @defaultValue []
811
+ * @public
812
+ **/ _define_property(_assert_this_initialized(_this), "viewFilters", void 0);
813
+ /**
814
+ * 数据源排序条件
815
+ * @defaultValue []
816
+ * @public
817
+ **/ _define_property(_assert_this_initialized(_this), "orders", void 0);
818
+ callFiltersAndOrders.call(_assert_this_initialized(_this), props);
545
819
  return _this;
546
820
  }
547
821
  return FillPayloadBind;
@@ -552,89 +826,127 @@ var FillBind = function FillBind(props) {
552
826
  */ export var FillBackBind = /*#__PURE__*/ function(FillBind) {
553
827
  "use strict";
554
828
  _inherits(FillBackBind, FillBind);
555
- var _super = _createSuper(FillBackBind);
829
+ var _super = _create_super(FillBackBind);
556
830
  function FillBackBind(props) {
557
- _classCallCheck(this, FillBackBind);
831
+ _class_call_check(this, FillBackBind);
558
832
  var _this;
559
833
  _this = _super.call(this, props);
560
- var ref;
561
- _this.mode = (ref = props === null || props === void 0 ? void 0 : props.mode) !== null && ref !== void 0 ? ref : 'current';
562
- var ref69;
563
- _this.multiple = (ref69 = props === null || props === void 0 ? void 0 : props.multiple) !== null && ref69 !== void 0 ? ref69 : false;
834
+ /**
835
+ * 回填模式。current 当前表(根据按钮所在位置来区分,而不是通过主表和子表来区分)| subtable 子表
836
+ * @defaultValue 'current'
837
+ * @public
838
+ * */ _define_property(_assert_this_initialized(_this), "mode", void 0);
839
+ /**
840
+ * 多选
841
+ * @defaultValue false
842
+ * @public
843
+ */ _define_property(_assert_this_initialized(_this), "multiple", void 0);
844
+ var _props_mode;
845
+ _this.mode = (_props_mode = props === null || props === void 0 ? void 0 : props.mode) !== null && _props_mode !== void 0 ? _props_mode : "current";
846
+ var _props_multiple;
847
+ _this.multiple = (_props_multiple = props === null || props === void 0 ? void 0 : props.multiple) !== null && _props_multiple !== void 0 ? _props_multiple : false;
564
848
  return _this;
565
849
  }
566
850
  return FillBackBind;
567
851
  }(FillBind);
568
852
  export var Language = function Language(props) {
569
853
  "use strict";
570
- _classCallCheck(this, Language);
571
- var ref;
572
- this.zh = (ref = props === null || props === void 0 ? void 0 : props.zh) !== null && ref !== void 0 ? ref : '';
573
- var ref70;
574
- this.en = (ref70 = props === null || props === void 0 ? void 0 : props.en) !== null && ref70 !== void 0 ? ref70 : '';
575
- var ref71;
576
- this.ja = (ref71 = props === null || props === void 0 ? void 0 : props.ja) !== null && ref71 !== void 0 ? ref71 : '';
854
+ _class_call_check(this, Language);
855
+ _define_property(this, "zh", void 0);
856
+ _define_property(this, "en", void 0);
857
+ _define_property(this, "ja", void 0);
858
+ var _props_zh;
859
+ this.zh = (_props_zh = props === null || props === void 0 ? void 0 : props.zh) !== null && _props_zh !== void 0 ? _props_zh : "";
860
+ var _props_en;
861
+ this.en = (_props_en = props === null || props === void 0 ? void 0 : props.en) !== null && _props_en !== void 0 ? _props_en : "";
862
+ var _props_ja;
863
+ this.ja = (_props_ja = props === null || props === void 0 ? void 0 : props.ja) !== null && _props_ja !== void 0 ? _props_ja : "";
577
864
  };
578
865
  /**
579
866
  * 正则校验
580
867
  * @public
581
868
  */ export var RegularRules = function RegularRules(props) {
582
869
  "use strict";
583
- _classCallCheck(this, RegularRules);
584
- var ref;
585
- this.stencilName = (ref = props === null || props === void 0 ? void 0 : props.stencilName) !== null && ref !== void 0 ? ref : '';
586
- var ref72;
587
- this.expression = (ref72 = props === null || props === void 0 ? void 0 : props.expression) !== null && ref72 !== void 0 ? ref72 : '';
588
- var ref73;
589
- this.errMessage = (ref73 = props === null || props === void 0 ? void 0 : props.errMessage) !== null && ref73 !== void 0 ? ref73 : '';
870
+ _class_call_check(this, RegularRules);
871
+ /**
872
+ * 内置模版
873
+ * @defaultValue ''
874
+ */ _define_property(this, "stencilName", void 0);
875
+ /**
876
+ * 正则表达式
877
+ * @defaultValue ''
878
+ */ _define_property(this, "expression", void 0);
879
+ /**
880
+ * 校验错误提示信息
881
+ * @defaultValue ''
882
+ */ _define_property(this, "errMessage", void 0);
883
+ var _props_stencilName;
884
+ this.stencilName = (_props_stencilName = props === null || props === void 0 ? void 0 : props.stencilName) !== null && _props_stencilName !== void 0 ? _props_stencilName : "";
885
+ var _props_expression;
886
+ this.expression = (_props_expression = props === null || props === void 0 ? void 0 : props.expression) !== null && _props_expression !== void 0 ? _props_expression : "";
887
+ var _props_errMessage;
888
+ this.errMessage = (_props_errMessage = props === null || props === void 0 ? void 0 : props.errMessage) !== null && _props_errMessage !== void 0 ? _props_errMessage : "";
590
889
  };
591
890
  /**
592
891
  * 选项设置-自定义选项
593
892
  * @public
594
893
  */ export var OptionSetting = function OptionSetting(props) {
595
894
  "use strict";
596
- _classCallCheck(this, OptionSetting);
597
- var ref;
598
- this.id = (ref = props === null || props === void 0 ? void 0 : props.id) !== null && ref !== void 0 ? ref : genNonDuplicateId(8);
599
- var ref74;
600
- this.label = (ref74 = props === null || props === void 0 ? void 0 : props.label) !== null && ref74 !== void 0 ? ref74 : '';
601
- var ref75;
602
- this.value = (ref75 = props === null || props === void 0 ? void 0 : props.value) !== null && ref75 !== void 0 ? ref75 : this.label;
895
+ _class_call_check(this, OptionSetting);
896
+ _define_property(this, "id", void 0);
897
+ /**
898
+ * 显示值
899
+ * @defaultValue ''
900
+ * @public
901
+ */ _define_property(this, "label", void 0);
902
+ /**
903
+ * 选项ID
904
+ * @defaultValue this.label
905
+ * @public
906
+ */ _define_property(this, "value", void 0);
907
+ var _props_id;
908
+ this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId(8);
909
+ var _props_label;
910
+ this.label = (_props_label = props === null || props === void 0 ? void 0 : props.label) !== null && _props_label !== void 0 ? _props_label : "";
911
+ var _props_value;
912
+ this.value = (_props_value = props === null || props === void 0 ? void 0 : props.value) !== null && _props_value !== void 0 ? _props_value : this.label;
603
913
  };
604
914
  export var ImageOptionSetting = /*#__PURE__*/ function(OptionSetting) {
605
915
  "use strict";
606
916
  _inherits(ImageOptionSetting, OptionSetting);
607
- var _super = _createSuper(ImageOptionSetting);
917
+ var _super = _create_super(ImageOptionSetting);
608
918
  function ImageOptionSetting(props) {
609
- _classCallCheck(this, ImageOptionSetting);
919
+ _class_call_check(this, ImageOptionSetting);
610
920
  var _this;
611
921
  _this = _super.call(this, props);
612
- var ref;
613
- _this.image = (ref = props === null || props === void 0 ? void 0 : props.image) !== null && ref !== void 0 ? ref : '';
614
- var ref76;
615
- _this.type = (ref76 = props === null || props === void 0 ? void 0 : props.type) !== null && ref76 !== void 0 ? ref76 : 'src';
922
+ _define_property(_assert_this_initialized(_this), "image", void 0);
923
+ _define_property(_assert_this_initialized(_this), "type", void 0);
924
+ var _props_image;
925
+ _this.image = (_props_image = props === null || props === void 0 ? void 0 : props.image) !== null && _props_image !== void 0 ? _props_image : "";
926
+ var _props_type;
927
+ _this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "src";
616
928
  return _this;
617
929
  }
618
930
  return ImageOptionSetting;
619
931
  }(OptionSetting);
620
932
  export function initOptions(options) {
621
- var ref;
622
- return (ref = options === null || options === void 0 ? void 0 : options.map(function(item) {
933
+ var _options_map;
934
+ return (_options_map = options === null || options === void 0 ? void 0 : options.map(function(item) {
623
935
  return new OptionSetting(item);
624
- })) !== null && ref !== void 0 ? ref : [];
936
+ })) !== null && _options_map !== void 0 ? _options_map : [];
625
937
  }
626
938
  export function initImageOptions(options) {
627
- var ref;
628
- return (ref = options === null || options === void 0 ? void 0 : options.map(function(item) {
939
+ var _options_map;
940
+ return (_options_map = options === null || options === void 0 ? void 0 : options.map(function(item) {
629
941
  return new ImageOptionSetting(item);
630
- })) !== null && ref !== void 0 ? ref : [];
942
+ })) !== null && _options_map !== void 0 ? _options_map : [];
631
943
  }
632
944
  /**
633
945
  * 对象类型数据绑定配置
634
946
  * @public
635
947
  */ export var ObjectDataBind = function ObjectDataBind() {
636
948
  "use strict";
637
- _classCallCheck(this, ObjectDataBind);
949
+ _class_call_check(this, ObjectDataBind);
638
950
  };
639
951
  /**
640
952
  * 金额控件数据绑定配置
@@ -642,11 +954,17 @@ export function initImageOptions(options) {
642
954
  */ export var AmountDataBind = /*#__PURE__*/ function(ObjectDataBind) {
643
955
  "use strict";
644
956
  _inherits(AmountDataBind, ObjectDataBind);
645
- var _super = _createSuper(AmountDataBind);
957
+ var _super = _create_super(AmountDataBind);
646
958
  function AmountDataBind(props) {
647
- _classCallCheck(this, AmountDataBind);
959
+ _class_call_check(this, AmountDataBind);
648
960
  var _this;
649
961
  _this = _super.call(this);
962
+ /**
963
+ * 金额字段绑定配置
964
+ */ _define_property(_assert_this_initialized(_this), "amount", void 0);
965
+ /**
966
+ * 币种字段绑定配置
967
+ */ _define_property(_assert_this_initialized(_this), "currency", void 0);
650
968
  _this.amount = new DataBind(props === null || props === void 0 ? void 0 : props.amount);
651
969
  _this.currency = new DataBind(props === null || props === void 0 ? void 0 : props.currency);
652
970
  return _this;
@@ -658,11 +976,19 @@ export function initImageOptions(options) {
658
976
  * @public
659
977
  */ export var AmountValue = function AmountValue(props) {
660
978
  "use strict";
661
- _classCallCheck(this, AmountValue);
662
- var ref;
663
- this.amount = (ref = props === null || props === void 0 ? void 0 : props.amount) !== null && ref !== void 0 ? ref : '';
664
- var ref77;
665
- this.currency = (ref77 = props === null || props === void 0 ? void 0 : props.currency) !== null && ref77 !== void 0 ? ref77 : AMOUNT_TYPE.CNY;
979
+ _class_call_check(this, AmountValue);
980
+ /**
981
+ * 金额值
982
+ * @defaultValue ''
983
+ */ _define_property(this, "amount", void 0);
984
+ /**
985
+ * 货币值
986
+ * @defaultValue 'CNY'
987
+ */ _define_property(this, "currency", void 0);
988
+ var _props_amount;
989
+ this.amount = (_props_amount = props === null || props === void 0 ? void 0 : props.amount) !== null && _props_amount !== void 0 ? _props_amount : "";
990
+ var _props_currency;
991
+ this.currency = (_props_currency = props === null || props === void 0 ? void 0 : props.currency) !== null && _props_currency !== void 0 ? _props_currency : "CNY";
666
992
  };
667
993
  /**
668
994
  * 日期区间数据绑定项
@@ -670,11 +996,17 @@ export function initImageOptions(options) {
670
996
  */ export var RangeDataBind = /*#__PURE__*/ function(ObjectDataBind) {
671
997
  "use strict";
672
998
  _inherits(RangeDataBind, ObjectDataBind);
673
- var _super = _createSuper(RangeDataBind);
999
+ var _super = _create_super(RangeDataBind);
674
1000
  function RangeDataBind(props) {
675
- _classCallCheck(this, RangeDataBind);
1001
+ _class_call_check(this, RangeDataBind);
676
1002
  var _this;
677
1003
  _this = _super.call(this);
1004
+ /**
1005
+ * 开始日期字段绑定项
1006
+ */ _define_property(_assert_this_initialized(_this), "min", void 0);
1007
+ /**
1008
+ * 结束日期字段绑定项
1009
+ */ _define_property(_assert_this_initialized(_this), "max", void 0);
678
1010
  _this.min = new DataBind(props === null || props === void 0 ? void 0 : props.min);
679
1011
  _this.max = new DataBind(props === null || props === void 0 ? void 0 : props.max);
680
1012
  return _this;
@@ -686,30 +1018,62 @@ export function initImageOptions(options) {
686
1018
  * @public
687
1019
  */ export var RangeDateValue = function RangeDateValue(props) {
688
1020
  "use strict";
689
- _classCallCheck(this, RangeDateValue);
690
- var ref;
691
- this.min = (ref = props === null || props === void 0 ? void 0 : props.min) !== null && ref !== void 0 ? ref : '';
692
- var ref78;
693
- this.max = (ref78 = props === null || props === void 0 ? void 0 : props.max) !== null && ref78 !== void 0 ? ref78 : '';
1021
+ _class_call_check(this, RangeDateValue);
1022
+ /**
1023
+ * 开始日期值
1024
+ * @defaultValue ''
1025
+ */ _define_property(this, "min", void 0);
1026
+ /**
1027
+ * 结束日期值
1028
+ * @defaultValue ''
1029
+ */ _define_property(this, "max", void 0);
1030
+ var _props_min;
1031
+ this.min = (_props_min = props === null || props === void 0 ? void 0 : props.min) !== null && _props_min !== void 0 ? _props_min : "";
1032
+ var _props_max;
1033
+ this.max = (_props_max = props === null || props === void 0 ? void 0 : props.max) !== null && _props_max !== void 0 ? _props_max : "";
694
1034
  };
695
1035
  /**
696
1036
  * 地址值
697
1037
  * @public
698
1038
  */ export var AddressValue = function AddressValue(props) {
699
1039
  "use strict";
700
- _classCallCheck(this, AddressValue);
701
- var ref;
702
- this.city = (ref = props === null || props === void 0 ? void 0 : props.city) !== null && ref !== void 0 ? ref : '';
703
- var ref79;
704
- this.cityDisplay = (ref79 = props === null || props === void 0 ? void 0 : props.cityDisplay) !== null && ref79 !== void 0 ? ref79 : '';
705
- var ref80;
706
- this.district = (ref80 = props === null || props === void 0 ? void 0 : props.district) !== null && ref80 !== void 0 ? ref80 : '';
707
- var ref81;
708
- this.districtDisplay = (ref81 = props === null || props === void 0 ? void 0 : props.districtDisplay) !== null && ref81 !== void 0 ? ref81 : '';
709
- var ref82;
710
- this.province = (ref82 = props === null || props === void 0 ? void 0 : props.province) !== null && ref82 !== void 0 ? ref82 : '';
711
- var ref83;
712
- this.provinceDisplay = (ref83 = props === null || props === void 0 ? void 0 : props.provinceDisplay) !== null && ref83 !== void 0 ? ref83 : '';
1040
+ _class_call_check(this, AddressValue);
1041
+ /**
1042
+ * 市编码
1043
+ * @defaultValue ''
1044
+ */ _define_property(this, "city", void 0);
1045
+ /**
1046
+ * 市显示文字
1047
+ * @defaultValue ''
1048
+ */ _define_property(this, "cityDisplay", void 0);
1049
+ /**
1050
+ * 区编码
1051
+ * @defaultValue ''
1052
+ */ _define_property(this, "district", void 0);
1053
+ /**
1054
+ * 区显示文字
1055
+ * @defaultValue ''
1056
+ */ _define_property(this, "districtDisplay", void 0);
1057
+ /**
1058
+ * 省编码
1059
+ * @defaultValue ''
1060
+ */ _define_property(this, "province", void 0);
1061
+ /**
1062
+ * 省显示文字
1063
+ * @defaultValue ''
1064
+ */ _define_property(this, "provinceDisplay", void 0);
1065
+ var _props_city;
1066
+ this.city = (_props_city = props === null || props === void 0 ? void 0 : props.city) !== null && _props_city !== void 0 ? _props_city : "";
1067
+ var _props_cityDisplay;
1068
+ this.cityDisplay = (_props_cityDisplay = props === null || props === void 0 ? void 0 : props.cityDisplay) !== null && _props_cityDisplay !== void 0 ? _props_cityDisplay : "";
1069
+ var _props_district;
1070
+ this.district = (_props_district = props === null || props === void 0 ? void 0 : props.district) !== null && _props_district !== void 0 ? _props_district : "";
1071
+ var _props_districtDisplay;
1072
+ this.districtDisplay = (_props_districtDisplay = props === null || props === void 0 ? void 0 : props.districtDisplay) !== null && _props_districtDisplay !== void 0 ? _props_districtDisplay : "";
1073
+ var _props_province;
1074
+ this.province = (_props_province = props === null || props === void 0 ? void 0 : props.province) !== null && _props_province !== void 0 ? _props_province : "";
1075
+ var _props_provinceDisplay;
1076
+ this.provinceDisplay = (_props_provinceDisplay = props === null || props === void 0 ? void 0 : props.provinceDisplay) !== null && _props_provinceDisplay !== void 0 ? _props_provinceDisplay : "";
713
1077
  };
714
1078
  /**
715
1079
  * 计算公式数据绑定项
@@ -717,11 +1081,17 @@ export function initImageOptions(options) {
717
1081
  */ export var CalcDataBind = /*#__PURE__*/ function(ObjectDataBind) {
718
1082
  "use strict";
719
1083
  _inherits(CalcDataBind, ObjectDataBind);
720
- var _super = _createSuper(CalcDataBind);
1084
+ var _super = _create_super(CalcDataBind);
721
1085
  function CalcDataBind(props) {
722
- _classCallCheck(this, CalcDataBind);
1086
+ _class_call_check(this, CalcDataBind);
723
1087
  var _this;
724
1088
  _this = _super.call(this);
1089
+ /**
1090
+ * 计算结果字段绑定项
1091
+ */ _define_property(_assert_this_initialized(_this), "result", void 0);
1092
+ /**
1093
+ * 单位字段绑定项
1094
+ */ _define_property(_assert_this_initialized(_this), "unit", void 0);
725
1095
  _this.result = new DataBind(props === null || props === void 0 ? void 0 : props.result);
726
1096
  _this.unit = new DataBind(props === null || props === void 0 ? void 0 : props.unit);
727
1097
  return _this;
@@ -733,11 +1103,19 @@ export function initImageOptions(options) {
733
1103
  * @public
734
1104
  */ export var CalcValue = function CalcValue(props) {
735
1105
  "use strict";
736
- _classCallCheck(this, CalcValue);
737
- var ref;
738
- this.result = (ref = props === null || props === void 0 ? void 0 : props.result) !== null && ref !== void 0 ? ref : 0;
739
- var ref84;
740
- this.unit = (ref84 = props === null || props === void 0 ? void 0 : props.unit) !== null && ref84 !== void 0 ? ref84 : '';
1106
+ _class_call_check(this, CalcValue);
1107
+ /**
1108
+ * 计算结果值
1109
+ * @defaultValue 0
1110
+ */ _define_property(this, "result", void 0);
1111
+ /**
1112
+ * 单位
1113
+ * @defaultValue ''
1114
+ */ _define_property(this, "unit", void 0);
1115
+ var _props_result;
1116
+ this.result = (_props_result = props === null || props === void 0 ? void 0 : props.result) !== null && _props_result !== void 0 ? _props_result : 0;
1117
+ var _props_unit;
1118
+ this.unit = (_props_unit = props === null || props === void 0 ? void 0 : props.unit) !== null && _props_unit !== void 0 ? _props_unit : "";
741
1119
  };
742
1120
  export var AMOUNT_TYPE;
743
1121
  (function(AMOUNT_TYPE) {
@@ -771,35 +1149,36 @@ export var AMOUNT_TYPE;
771
1149
  })(AMOUNT_TYPE || (AMOUNT_TYPE = {}));
772
1150
  export var COMMON_SETTING_TYPE;
773
1151
  (function(COMMON_SETTING_TYPE) {
774
- COMMON_SETTING_TYPE["DEFAULT_DISPLAY"] = 'defaultDisplay';
775
- COMMON_SETTING_TYPE["REQUIRED"] = 'required';
776
- COMMON_SETTING_TYPE["IS_HIDE"] = 'isHide';
777
- COMMON_SETTING_TYPE["IS_SHOW_UNIT"] = 'isShowUnit';
778
- COMMON_SETTING_TYPE["IMD_SEARCH"] = 'immediatelySearch';
779
- COMMON_SETTING_TYPE["MULTIPLE"] = 'multiple';
780
- COMMON_SETTING_TYPE["SUBMIT_SELECT_CURRENCY"] = 'submitSelectCurrency';
781
- COMMON_SETTING_TYPE["CAPTION"] = 'caption';
782
- COMMON_SETTING_TYPE["IS_HIDE_CAPTION"] = 'isHideCaption';
783
- COMMON_SETTING_TYPE["DEFAULT_SHOW_OPTIONS"] = 'defaultShowOptions';
784
- COMMON_SETTING_TYPE["CAN_SEARCH"] = 'canSearch';
785
- COMMON_SETTING_TYPE["CAN_CHECK"] = 'canCheck';
786
- COMMON_SETTING_TYPE["CAN_EDIT"] = 'canEdit';
787
- COMMON_SETTING_TYPE["CAN_DELETE"] = 'canDelete';
788
- COMMON_SETTING_TYPE["SHOW_UPPER_CASE"] = 'showUpperCase';
789
- COMMON_SETTING_TYPE["MICROMETER"] = 'micrometer';
790
- COMMON_SETTING_TYPE["PRECISION"] = 'precision';
791
- COMMON_SETTING_TYPE["PERCENTAGE"] = 'percentage';
792
- COMMON_SETTING_TYPE["OPTIONAL_LEVEL"] = 'optionalLevel';
793
- COMMON_SETTING_TYPE["CONTAINS_SUB_NODE"] = 'containsSubNode';
794
- COMMON_SETTING_TYPE["DEFAULT_COLLAPSE"] = 'defaultCollapse';
795
- COMMON_SETTING_TYPE["CAN_VIEW_FORM"] = 'canViewForm';
796
- COMMON_SETTING_TYPE["VIEW_FORM_MODEL_TYPE"] = 'viewFormModelType';
797
- COMMON_SETTING_TYPE["SERVER_PAGINATION"] = 'serverPagination';
798
- COMMON_SETTING_TYPE["IS_SHOW_CAPTION_TIP"] = 'isShowCaptionTip';
799
- COMMON_SETTING_TYPE["ENCRYPTED"] = 'encrypted';
800
- COMMON_SETTING_TYPE["IS_INLINE_EDIT"] = 'isInlineEdit';
801
- COMMON_SETTING_TYPE["REVISIONS_MODE"] = 'revisionsMode';
802
- COMMON_SETTING_TYPE["ALLOW_COPY_OPTIONS"] = 'allowCopyOptions';
1152
+ COMMON_SETTING_TYPE["DEFAULT_DISPLAY"] = "defaultDisplay";
1153
+ COMMON_SETTING_TYPE["REQUIRED"] = "required";
1154
+ COMMON_SETTING_TYPE["IS_HIDE"] = "isHide";
1155
+ COMMON_SETTING_TYPE["IS_SHOW_UNIT"] = "isShowUnit";
1156
+ COMMON_SETTING_TYPE["IMD_SEARCH"] = "immediatelySearch";
1157
+ COMMON_SETTING_TYPE["MULTIPLE"] = "multiple";
1158
+ COMMON_SETTING_TYPE["SUBMIT_SELECT_CURRENCY"] = "submitSelectCurrency";
1159
+ COMMON_SETTING_TYPE["CAPTION"] = "caption";
1160
+ COMMON_SETTING_TYPE["IS_HIDE_CAPTION"] = "isHideCaption";
1161
+ COMMON_SETTING_TYPE["DEFAULT_SHOW_OPTIONS"] = "defaultShowOptions";
1162
+ COMMON_SETTING_TYPE["CAN_SEARCH"] = "canSearch";
1163
+ COMMON_SETTING_TYPE["CAN_CHECK"] = "canCheck";
1164
+ COMMON_SETTING_TYPE["CAN_EDIT"] = "canEdit";
1165
+ COMMON_SETTING_TYPE["CAN_DELETE"] = "canDelete";
1166
+ COMMON_SETTING_TYPE["SHOW_UPPER_CASE"] = "showUpperCase";
1167
+ COMMON_SETTING_TYPE["MICROMETER"] = "micrometer";
1168
+ COMMON_SETTING_TYPE["PRECISION"] = "precision";
1169
+ COMMON_SETTING_TYPE["PERCENTAGE"] = "percentage";
1170
+ COMMON_SETTING_TYPE["OPTIONAL_LEVEL"] = "optionalLevel";
1171
+ COMMON_SETTING_TYPE["CONTAINS_SUB_NODE"] = "containsSubNode";
1172
+ COMMON_SETTING_TYPE["DEFAULT_COLLAPSE"] = "defaultCollapse";
1173
+ COMMON_SETTING_TYPE["CAN_VIEW_FORM"] = "canViewForm";
1174
+ COMMON_SETTING_TYPE["VIEW_FORM_MODEL_TYPE"] = "viewFormModelType";
1175
+ COMMON_SETTING_TYPE["SERVER_PAGINATION"] = "serverPagination";
1176
+ COMMON_SETTING_TYPE["IS_SHOW_CAPTION_TIP"] = "isShowCaptionTip";
1177
+ COMMON_SETTING_TYPE["ENCRYPTED"] = "encrypted";
1178
+ COMMON_SETTING_TYPE["IS_INLINE_EDIT"] = "isInlineEdit";
1179
+ COMMON_SETTING_TYPE["REVISIONS_MODE"] = "revisionsMode";
1180
+ COMMON_SETTING_TYPE["ALLOW_COPY_OPTIONS"] = "allowCopyOptions";
1181
+ COMMON_SETTING_TYPE["IS_PASTE"] = "isPaste";
803
1182
  })(COMMON_SETTING_TYPE || (COMMON_SETTING_TYPE = {}));
804
1183
  export var PAGE_STATUS;
805
1184
  (function(PAGE_STATUS) {
@@ -813,53 +1192,94 @@ export var PAGE_STATUS;
813
1192
  * @public
814
1193
  */ export var OperationItem = function OperationItem(props) {
815
1194
  "use strict";
816
- _classCallCheck(this, OperationItem);
817
- var ref;
818
- this.isShow = (ref = props === null || props === void 0 ? void 0 : props.isShow) !== null && ref !== void 0 ? ref : true;
819
- var ref85;
820
- this.content = (ref85 = props === null || props === void 0 ? void 0 : props.content) !== null && ref85 !== void 0 ? ref85 : '';
821
- var ref86;
822
- this.formKey = (ref86 = props === null || props === void 0 ? void 0 : props.formKey) !== null && ref86 !== void 0 ? ref86 : '';
823
- var ref87;
824
- this.openType = (ref87 = props === null || props === void 0 ? void 0 : props.openType) !== null && ref87 !== void 0 ? ref87 : 'modal';
825
- var ref88;
826
- this.type = (ref88 = props === null || props === void 0 ? void 0 : props.type) !== null && ref88 !== void 0 ? ref88 : '';
827
- var ref89;
828
- this.priorityProcess = (ref89 = props === null || props === void 0 ? void 0 : props.priorityProcess) !== null && ref89 !== void 0 ? ref89 : false;
1195
+ _class_call_check(this, OperationItem);
1196
+ /**
1197
+ * 是否显示
1198
+ * @defaultValue true
1199
+ * @public
1200
+ */ _define_property(this, "isShow", void 0);
1201
+ /**
1202
+ * 优先访问流程表单
1203
+ * @defaultValue false
1204
+ * @public
1205
+ */ _define_property(this, "priorityProcess", void 0);
1206
+ /**
1207
+ * 表单ID
1208
+ * @defaultValue ''
1209
+ * @public
1210
+ */ _define_property(this, "formKey", void 0);
1211
+ /**
1212
+ * 显示文字
1213
+ * @defaultValue ''
1214
+ * @public
1215
+ */ _define_property(this, "content", void 0);
1216
+ /**
1217
+ * 打开方式
1218
+ * @defaultValue 'modal'
1219
+ * @public
1220
+ */ _define_property(this, "openType", void 0);
1221
+ _define_property(this, "type", void 0);
1222
+ var _props_isShow;
1223
+ this.isShow = (_props_isShow = props === null || props === void 0 ? void 0 : props.isShow) !== null && _props_isShow !== void 0 ? _props_isShow : true;
1224
+ var _props_content;
1225
+ this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : "";
1226
+ var _props_formKey;
1227
+ this.formKey = (_props_formKey = props === null || props === void 0 ? void 0 : props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : "";
1228
+ var _props_openType;
1229
+ this.openType = (_props_openType = props === null || props === void 0 ? void 0 : props.openType) !== null && _props_openType !== void 0 ? _props_openType : "modal";
1230
+ var _props_type;
1231
+ this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "";
1232
+ var _props_priorityProcess;
1233
+ this.priorityProcess = (_props_priorityProcess = props === null || props === void 0 ? void 0 : props.priorityProcess) !== null && _props_priorityProcess !== void 0 ? _props_priorityProcess : false;
829
1234
  };
830
1235
  export var ViewOperationItem = function ViewOperationItem(props) {
831
1236
  "use strict";
832
- _classCallCheck(this, ViewOperationItem);
833
- var ref;
834
- var ref90;
835
- this.id = (ref90 = props === null || props === void 0 ? void 0 : props.id) !== null && ref90 !== void 0 ? ref90 : genNonDuplicateId(8);
836
- var ref91;
837
- this.title = (ref91 = props === null || props === void 0 ? void 0 : props.title) !== null && ref91 !== void 0 ? ref91 : '';
838
- var ref92;
839
- this.headers = (ref92 = props === null || props === void 0 ? void 0 : (ref = props.headers) === null || ref === void 0 ? void 0 : ref.map(function(item) {
1237
+ _class_call_check(this, ViewOperationItem);
1238
+ var _props_headers;
1239
+ _define_property(this, "id", void 0);
1240
+ _define_property(this, "title", void 0);
1241
+ _define_property(this, "filters", void 0);
1242
+ _define_property(this, "viewFilters", void 0);
1243
+ _define_property(this, "headers", void 0);
1244
+ var _props_id;
1245
+ this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId(8);
1246
+ var _props_title;
1247
+ this.title = (_props_title = props === null || props === void 0 ? void 0 : props.title) !== null && _props_title !== void 0 ? _props_title : "";
1248
+ var _props_headers_map;
1249
+ this.headers = (_props_headers_map = props === null || props === void 0 ? void 0 : (_props_headers = props.headers) === null || _props_headers === void 0 ? void 0 : _props_headers.map(function(item) {
840
1250
  return new ListBindHeaderItem(item);
841
- })) !== null && ref92 !== void 0 ? ref92 : [];
1251
+ })) !== null && _props_headers_map !== void 0 ? _props_headers_map : [];
842
1252
  callFiltersAndOrders.call(this, props);
843
1253
  };
844
1254
  /**
845
1255
  * 自定义权限项,用于Vue容器上,注册自定义的权限
846
1256
  */ export var CustomPermissionItem = function CustomPermissionItem(props) {
847
1257
  "use strict";
848
- _classCallCheck(this, CustomPermissionItem);
849
- var _key;
850
- this.key = (_key = props.key) !== null && _key !== void 0 ? _key : genNonDuplicateId(8);
851
- var _caption;
852
- this.caption = (_caption = props.caption) !== null && _caption !== void 0 ? _caption : '';
1258
+ _class_call_check(this, CustomPermissionItem);
1259
+ /**
1260
+ * 人工输入的权限key
1261
+ */ _define_property(this, "key", void 0);
1262
+ /**
1263
+ * 权限名称
1264
+ */ _define_property(this, "caption", void 0);
1265
+ var _props_key;
1266
+ this.key = (_props_key = props.key) !== null && _props_key !== void 0 ? _props_key : genNonDuplicateId(8);
1267
+ var _props_caption;
1268
+ this.caption = (_props_caption = props.caption) !== null && _props_caption !== void 0 ? _props_caption : "";
853
1269
  };
854
1270
  export var BaseStyle = function BaseStyle(props) {
855
1271
  "use strict";
856
- _classCallCheck(this, BaseStyle);
857
- var ref;
858
- this.width = (ref = props === null || props === void 0 ? void 0 : props.width) !== null && ref !== void 0 ? ref : '';
859
- var ref93;
860
- this.height = (ref93 = props === null || props === void 0 ? void 0 : props.height) !== null && ref93 !== void 0 ? ref93 : '';
861
- var ref94;
862
- this.widthConfig = (ref94 = props === null || props === void 0 ? void 0 : props.widthConfig) !== null && ref94 !== void 0 ? ref94 : 'fill';
863
- var ref95;
864
- this.heightConfig = (ref95 = props === null || props === void 0 ? void 0 : props.heightConfig) !== null && ref95 !== void 0 ? ref95 : 'fill';
1272
+ _class_call_check(this, BaseStyle);
1273
+ _define_property(this, "width", void 0);
1274
+ _define_property(this, "height", void 0);
1275
+ _define_property(this, "widthConfig", void 0);
1276
+ _define_property(this, "heightConfig", void 0);
1277
+ var _props_width;
1278
+ this.width = (_props_width = props === null || props === void 0 ? void 0 : props.width) !== null && _props_width !== void 0 ? _props_width : "";
1279
+ var _props_height;
1280
+ this.height = (_props_height = props === null || props === void 0 ? void 0 : props.height) !== null && _props_height !== void 0 ? _props_height : "";
1281
+ var _props_widthConfig;
1282
+ this.widthConfig = (_props_widthConfig = props === null || props === void 0 ? void 0 : props.widthConfig) !== null && _props_widthConfig !== void 0 ? _props_widthConfig : "fill";
1283
+ var _props_heightConfig;
1284
+ this.heightConfig = (_props_heightConfig = props === null || props === void 0 ? void 0 : props.heightConfig) !== null && _props_heightConfig !== void 0 ? _props_heightConfig : "fill";
865
1285
  };