@byteluck-fe/model-driven-core 2.6.0-alpha.8 → 2.7.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.
- package/dist/esm/api-doc-index.js +4 -4
- package/dist/esm/common/BaseControl/designer.js +305 -225
- package/dist/esm/common/BaseControl/index.js +7 -7
- package/dist/esm/common/BaseControl/property.js +13 -10
- package/dist/esm/common/BaseControl/runtime.js +16 -16
- package/dist/esm/common/ColumnControl/designer.js +5 -5
- package/dist/esm/common/ColumnControl/index.js +6 -6
- package/dist/esm/common/ColumnControl/property.js +36 -36
- package/dist/esm/common/ColumnControl/runtime.js +5 -5
- package/dist/esm/common/ControlArray.js +8 -8
- package/dist/esm/common/FormControl/designer.js +8 -8
- package/dist/esm/common/FormControl/index.js +6 -6
- package/dist/esm/common/FormControl/property.js +68 -66
- package/dist/esm/common/FormControl/runtime.js +5 -5
- package/dist/esm/common/LayoutControl/designer.js +196 -102
- package/dist/esm/common/LayoutControl/index.js +6 -6
- package/dist/esm/common/LayoutControl/property.js +3 -3
- package/dist/esm/common/LayoutControl/runtime.js +7 -7
- package/dist/esm/common/ListControl/designer.js +184 -84
- package/dist/esm/common/ListControl/index.js +6 -6
- package/dist/esm/common/ListControl/property.js +5 -5
- package/dist/esm/common/ListControl/runtime.js +7 -7
- package/dist/esm/common/SearchViewControl/designer.js +5 -5
- package/dist/esm/common/SearchViewControl/index.js +6 -6
- package/dist/esm/common/SearchViewControl/property.js +4 -4
- package/dist/esm/common/SearchViewControl/runtime.js +5 -5
- package/dist/esm/common/Validator.js +5 -5
- package/dist/esm/common/WrapControl/designer.js +5 -5
- package/dist/esm/common/WrapControl/index.js +6 -6
- package/dist/esm/common/WrapControl/property.js +3 -3
- package/dist/esm/common/WrapControl/runtime.js +5 -5
- package/dist/esm/common/controlHooksEmitter.js +1 -1
- package/dist/esm/common/index.js +12 -12
- package/dist/esm/common/initLinkOperationRules.js +6 -6
- package/dist/esm/common/initOptionAndDataSourceRules.js +82 -82
- package/dist/esm/framework/RegisterControls.js +122 -179
- package/dist/esm/framework/index.js +401 -341
- package/dist/esm/index.js +3 -3
- package/dist/index.umd.js +1 -1
- package/dist/types/common/BaseControl/property.d.ts +14 -0
- package/dist/types/common/FormControl/property.d.ts +4 -0
- package/dist/types/common/Validator.d.ts +1 -1
- package/dist/types/common/controlHooksEmitter.d.ts +1 -1
- package/dist/types/framework/index.d.ts +227 -1
- package/dist/types/type.d.ts +23 -23
- package/package.json +3 -3
|
@@ -30,7 +30,7 @@ function _inherits(subClass, superClass) {
|
|
|
30
30
|
}
|
|
31
31
|
function _instanceof(left, right) {
|
|
32
32
|
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
33
|
-
return right[Symbol.hasInstance](left);
|
|
33
|
+
return !!right[Symbol.hasInstance](left);
|
|
34
34
|
} else {
|
|
35
35
|
return left instanceof right;
|
|
36
36
|
}
|
|
@@ -76,29 +76,30 @@ function _createSuper(Derived) {
|
|
|
76
76
|
return _possibleConstructorReturn(this, result);
|
|
77
77
|
};
|
|
78
78
|
}
|
|
79
|
-
import { FieldTypes, genNonDuplicateId } from
|
|
80
|
-
export * from
|
|
79
|
+
import { FieldTypes, genNonDuplicateId } from "@byteluck-fe/model-driven-shared";
|
|
80
|
+
export * from "./RegisterControls";
|
|
81
81
|
/**
|
|
82
82
|
* 数据绑定配置
|
|
83
83
|
* @public
|
|
84
84
|
*/ export var DataBind = function DataBind(props) {
|
|
85
85
|
"use strict";
|
|
86
86
|
_classCallCheck(this, DataBind);
|
|
87
|
-
var
|
|
88
|
-
this.dataCode = (
|
|
89
|
-
var
|
|
90
|
-
this.fieldCode = (
|
|
91
|
-
var
|
|
92
|
-
this.fieldType = (
|
|
87
|
+
var _props_dataCode;
|
|
88
|
+
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
|
|
89
|
+
var _props_fieldCode;
|
|
90
|
+
this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : "";
|
|
91
|
+
var _props_fieldType;
|
|
92
|
+
this.fieldType = (_props_fieldType = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _props_fieldType !== void 0 ? _props_fieldType : "";
|
|
93
|
+
this.aliasCode = props === null || props === void 0 ? void 0 : props.aliasCode;
|
|
93
94
|
};
|
|
94
95
|
export var AutoWidth = function AutoWidth(props) {
|
|
95
96
|
"use strict";
|
|
96
97
|
_classCallCheck(this, AutoWidth);
|
|
97
|
-
var
|
|
98
|
-
this.minWidth = (
|
|
98
|
+
var _props_minWidth;
|
|
99
|
+
this.minWidth = (_props_minWidth = props === null || props === void 0 ? void 0 : props.minWidth) !== null && _props_minWidth !== void 0 ? _props_minWidth : 150;
|
|
99
100
|
this.maxWidth = props === null || props === void 0 ? void 0 : props.maxWidth;
|
|
100
|
-
var
|
|
101
|
-
this.flex = (
|
|
101
|
+
var _props_flex;
|
|
102
|
+
this.flex = (_props_flex = props === null || props === void 0 ? void 0 : props.flex) !== null && _props_flex !== void 0 ? _props_flex : 1;
|
|
102
103
|
};
|
|
103
104
|
export var MetaWidth = /*#__PURE__*/ function(AutoWidth) {
|
|
104
105
|
"use strict";
|
|
@@ -108,10 +109,10 @@ export var MetaWidth = /*#__PURE__*/ function(AutoWidth) {
|
|
|
108
109
|
_classCallCheck(this, MetaWidth);
|
|
109
110
|
var _this;
|
|
110
111
|
_this = _super.call(this, props);
|
|
111
|
-
var
|
|
112
|
-
_this.width = (
|
|
113
|
-
var
|
|
114
|
-
_this.widthType = (
|
|
112
|
+
var _props_width;
|
|
113
|
+
_this.width = (_props_width = props === null || props === void 0 ? void 0 : props.width) !== null && _props_width !== void 0 ? _props_width : 240;
|
|
114
|
+
var _props_widthType;
|
|
115
|
+
_this.widthType = (_props_widthType = props === null || props === void 0 ? void 0 : props.widthType) !== null && _props_widthType !== void 0 ? _props_widthType : "auto";
|
|
115
116
|
return _this;
|
|
116
117
|
}
|
|
117
118
|
return MetaWidth;
|
|
@@ -128,20 +129,20 @@ export var MetaAutoWidth = function MetaAutoWidth(props) {
|
|
|
128
129
|
export var DataStorageDoc = function DataStorageDoc(props) {
|
|
129
130
|
"use strict";
|
|
130
131
|
_classCallCheck(this, DataStorageDoc);
|
|
131
|
-
var
|
|
132
|
-
this.type = (
|
|
133
|
-
var
|
|
134
|
-
this.customOptions = (
|
|
132
|
+
var _props_type;
|
|
133
|
+
this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "firstThree";
|
|
134
|
+
var _props_customOptions;
|
|
135
|
+
this.customOptions = (_props_customOptions = props === null || props === void 0 ? void 0 : props.customOptions) !== null && _props_customOptions !== void 0 ? _props_customOptions : [];
|
|
135
136
|
};
|
|
136
137
|
export var FormBind = function FormBind(props) {
|
|
137
138
|
"use strict";
|
|
138
139
|
_classCallCheck(this, FormBind);
|
|
139
|
-
var
|
|
140
|
-
this.dataCode = (
|
|
141
|
-
var
|
|
142
|
-
this.formKey = (
|
|
143
|
-
var
|
|
144
|
-
this.appId = (
|
|
140
|
+
var _props_dataCode;
|
|
141
|
+
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
|
|
142
|
+
var _props_formKey;
|
|
143
|
+
this.formKey = (_props_formKey = props === null || props === void 0 ? void 0 : props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : "";
|
|
144
|
+
var _props_appId;
|
|
145
|
+
this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : "";
|
|
145
146
|
};
|
|
146
147
|
export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
147
148
|
"use strict";
|
|
@@ -151,42 +152,45 @@ export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
|
151
152
|
_classCallCheck(this, FormSelectBind);
|
|
152
153
|
var _this;
|
|
153
154
|
_this = _super.call(this, props);
|
|
154
|
-
var
|
|
155
|
-
_this.primaryControlId = (
|
|
155
|
+
var _props_primaryControlId;
|
|
156
|
+
_this.primaryControlId = (_props_primaryControlId = props === null || props === void 0 ? void 0 : props.primaryControlId) !== null && _props_primaryControlId !== void 0 ? _props_primaryControlId : "";
|
|
156
157
|
return _this;
|
|
157
158
|
}
|
|
158
159
|
return FormSelectBind;
|
|
159
160
|
}(FormBind);
|
|
160
|
-
|
|
161
|
+
/**
|
|
162
|
+
* 列表绑定字段项
|
|
163
|
+
* @public
|
|
164
|
+
*/ var ListBindHeaderItem = function ListBindHeaderItem(props) {
|
|
161
165
|
"use strict";
|
|
162
166
|
_classCallCheck(this, ListBindHeaderItem);
|
|
163
|
-
var
|
|
164
|
-
this.fieldCode = (
|
|
167
|
+
var _props_fieldCode;
|
|
168
|
+
this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : "";
|
|
165
169
|
};
|
|
166
170
|
/**
|
|
167
171
|
* 列表绑定配置
|
|
168
172
|
*/ export var ListBind = function ListBind(props) {
|
|
169
173
|
"use strict";
|
|
170
174
|
_classCallCheck(this, ListBind);
|
|
171
|
-
var
|
|
172
|
-
var
|
|
173
|
-
this.appId = (
|
|
174
|
-
var
|
|
175
|
-
this.formKey = (
|
|
176
|
-
var
|
|
177
|
-
this.headers = (
|
|
175
|
+
var _props_headers;
|
|
176
|
+
var _props_appId;
|
|
177
|
+
this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : "";
|
|
178
|
+
var _props_formKey;
|
|
179
|
+
this.formKey = (_props_formKey = props === null || props === void 0 ? void 0 : props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : "";
|
|
180
|
+
var _props_headers_map;
|
|
181
|
+
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
182
|
return new ListBindHeaderItem(item);
|
|
179
|
-
})) !== null &&
|
|
183
|
+
})) !== null && _props_headers_map !== void 0 ? _props_headers_map : [];
|
|
180
184
|
};
|
|
181
185
|
export var FieldBindItem = function FieldBindItem(props) {
|
|
182
186
|
"use strict";
|
|
183
187
|
_classCallCheck(this, FieldBindItem);
|
|
184
|
-
var
|
|
185
|
-
this.fieldName = (
|
|
186
|
-
var
|
|
187
|
-
this.fieldCode = (
|
|
188
|
-
var
|
|
189
|
-
this.fieldType = (
|
|
188
|
+
var _props_fieldName;
|
|
189
|
+
this.fieldName = (_props_fieldName = props === null || props === void 0 ? void 0 : props.fieldName) !== null && _props_fieldName !== void 0 ? _props_fieldName : "";
|
|
190
|
+
var _props_fieldCode;
|
|
191
|
+
this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : "";
|
|
192
|
+
var _props_fieldType;
|
|
193
|
+
this.fieldType = (_props_fieldType = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _props_fieldType !== void 0 ? _props_fieldType : FieldTypes.VARCHAR;
|
|
190
194
|
};
|
|
191
195
|
export var SubListItem = /*#__PURE__*/ function(FormBind) {
|
|
192
196
|
"use strict";
|
|
@@ -196,14 +200,14 @@ export var SubListItem = /*#__PURE__*/ function(FormBind) {
|
|
|
196
200
|
_classCallCheck(this, SubListItem);
|
|
197
201
|
var _this;
|
|
198
202
|
_this = _super.call(this, props);
|
|
199
|
-
var
|
|
200
|
-
_this.title = (
|
|
201
|
-
var
|
|
202
|
-
_this.svcCode = (
|
|
203
|
-
var
|
|
204
|
-
_this.isOpenFilter = (
|
|
205
|
-
var
|
|
206
|
-
_this.filters = (
|
|
203
|
+
var _props_title;
|
|
204
|
+
_this.title = (_props_title = props === null || props === void 0 ? void 0 : props.title) !== null && _props_title !== void 0 ? _props_title : "";
|
|
205
|
+
var _props_svcCode;
|
|
206
|
+
_this.svcCode = (_props_svcCode = props === null || props === void 0 ? void 0 : props.svcCode) !== null && _props_svcCode !== void 0 ? _props_svcCode : "";
|
|
207
|
+
var _props_isOpenFilter;
|
|
208
|
+
_this.isOpenFilter = (_props_isOpenFilter = props === null || props === void 0 ? void 0 : props.isOpenFilter) !== null && _props_isOpenFilter !== void 0 ? _props_isOpenFilter : false;
|
|
209
|
+
var _props_filters;
|
|
210
|
+
_this.filters = (_props_filters = props === null || props === void 0 ? void 0 : props.filters) !== null && _props_filters !== void 0 ? _props_filters : [];
|
|
207
211
|
return _this;
|
|
208
212
|
}
|
|
209
213
|
return SubListItem;
|
|
@@ -211,17 +215,17 @@ export var SubListItem = /*#__PURE__*/ function(FormBind) {
|
|
|
211
215
|
export var SubListPageConfig = function SubListPageConfig(props) {
|
|
212
216
|
"use strict";
|
|
213
217
|
_classCallCheck(this, SubListPageConfig);
|
|
214
|
-
var
|
|
215
|
-
this.type =
|
|
218
|
+
var _props_displayFields, _props_sublists;
|
|
219
|
+
this.type = "sublist-page";
|
|
216
220
|
this.formBind = new FormBind(props === null || props === void 0 ? void 0 : props.formBind);
|
|
217
|
-
var
|
|
218
|
-
this.displayFields = (
|
|
221
|
+
var _props_displayFields_map;
|
|
222
|
+
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
223
|
return new FieldBindItem(item);
|
|
220
|
-
})) !== null &&
|
|
221
|
-
var
|
|
222
|
-
this.sublists = (
|
|
224
|
+
})) !== null && _props_displayFields_map !== void 0 ? _props_displayFields_map : [];
|
|
225
|
+
var _props_sublists_map;
|
|
226
|
+
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
227
|
return new SubListItem(item);
|
|
224
|
-
})) !== null &&
|
|
228
|
+
})) !== null && _props_sublists_map !== void 0 ? _props_sublists_map : [];
|
|
225
229
|
};
|
|
226
230
|
export var LeftVariable = function LeftVariable(props) {
|
|
227
231
|
"use strict";
|
|
@@ -232,144 +236,171 @@ export var LeftVariable = function LeftVariable(props) {
|
|
|
232
236
|
export var RightVariable = function RightVariable(props) {
|
|
233
237
|
"use strict";
|
|
234
238
|
_classCallCheck(this, RightVariable);
|
|
235
|
-
var
|
|
236
|
-
this.type = (
|
|
237
|
-
var
|
|
238
|
-
this.value = (
|
|
239
|
-
var
|
|
240
|
-
this.displayBos = (
|
|
239
|
+
var _props_type;
|
|
240
|
+
this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "custom";
|
|
241
|
+
var _props_value;
|
|
242
|
+
this.value = (_props_value = props === null || props === void 0 ? void 0 : props.value) !== null && _props_value !== void 0 ? _props_value : [];
|
|
243
|
+
var _props_displayBos;
|
|
244
|
+
this.displayBos = (_props_displayBos = props === null || props === void 0 ? void 0 : props.displayBos) !== null && _props_displayBos !== void 0 ? _props_displayBos : [];
|
|
241
245
|
};
|
|
242
|
-
|
|
246
|
+
/**
|
|
247
|
+
* 连接符条件
|
|
248
|
+
* @public
|
|
249
|
+
*/ export var FieldFilterConditions = function FieldFilterConditions(props) {
|
|
243
250
|
"use strict";
|
|
251
|
+
var _this = this;
|
|
244
252
|
_classCallCheck(this, FieldFilterConditions);
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
253
|
+
/**
|
|
254
|
+
* 类型:连接符条件
|
|
255
|
+
* @defaultValue 'conditions'
|
|
256
|
+
*/ this.type = "conditions";
|
|
257
|
+
var _props_id;
|
|
258
|
+
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId();
|
|
259
|
+
var _props_ruleId;
|
|
260
|
+
this.ruleId = (_props_ruleId = props === null || props === void 0 ? void 0 : props.ruleId) !== null && _props_ruleId !== void 0 ? _props_ruleId : new Date().valueOf();
|
|
261
|
+
var _props_level;
|
|
262
|
+
this.level = (_props_level = props === null || props === void 0 ? void 0 : props.level) !== null && _props_level !== void 0 ? _props_level : 0;
|
|
263
|
+
var _props_value;
|
|
264
|
+
this.value = (_props_value = props === null || props === void 0 ? void 0 : props.value) !== null && _props_value !== void 0 ? _props_value : "and";
|
|
254
265
|
this.children = [];
|
|
255
266
|
if (Array.isArray(props === null || props === void 0 ? void 0 : props.children)) {
|
|
256
|
-
var _this = this;
|
|
257
267
|
props === null || props === void 0 ? void 0 : props.children.map(function(item) {
|
|
258
268
|
if (item.children !== undefined) {
|
|
259
|
-
var
|
|
269
|
+
var _this_children;
|
|
260
270
|
var filter = new FieldFilterConditions(item);
|
|
261
|
-
(
|
|
271
|
+
(_this_children = _this.children) === null || _this_children === void 0 ? void 0 : _this_children.push(filter);
|
|
262
272
|
} else {
|
|
263
|
-
var
|
|
273
|
+
var _this_children1;
|
|
264
274
|
var filter1 = new FieldFilterCondition(item);
|
|
265
|
-
(
|
|
275
|
+
(_this_children1 = _this.children) === null || _this_children1 === void 0 ? void 0 : _this_children1.push(filter1);
|
|
266
276
|
}
|
|
267
277
|
});
|
|
268
278
|
}
|
|
269
279
|
};
|
|
270
|
-
|
|
280
|
+
/**
|
|
281
|
+
* 字段过滤条件
|
|
282
|
+
* @public
|
|
283
|
+
*/ export var FieldFilterCondition = function FieldFilterCondition(props) {
|
|
271
284
|
"use strict";
|
|
272
285
|
_classCallCheck(this, FieldFilterCondition);
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
286
|
+
/**
|
|
287
|
+
* 类型
|
|
288
|
+
* @defaultValue 'condition'
|
|
289
|
+
*/ this.type = "condition";
|
|
290
|
+
var _props_id;
|
|
291
|
+
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId();
|
|
292
|
+
var _props_ruleId;
|
|
293
|
+
this.ruleId = (_props_ruleId = props === null || props === void 0 ? void 0 : props.ruleId) !== null && _props_ruleId !== void 0 ? _props_ruleId : new Date().valueOf();
|
|
294
|
+
var _props_symbol;
|
|
295
|
+
this.symbol = (_props_symbol = props === null || props === void 0 ? void 0 : props.symbol) !== null && _props_symbol !== void 0 ? _props_symbol : "";
|
|
296
|
+
var _props_checked;
|
|
297
|
+
this.checked = (_props_checked = props === null || props === void 0 ? void 0 : props.checked) !== null && _props_checked !== void 0 ? _props_checked : false;
|
|
298
|
+
var _props_describe;
|
|
299
|
+
this.describe = (_props_describe = props === null || props === void 0 ? void 0 : props.describe) !== null && _props_describe !== void 0 ? _props_describe : "";
|
|
284
300
|
this.leftVariableBo = new LeftVariable(props === null || props === void 0 ? void 0 : props.leftVariableBo);
|
|
285
301
|
this.rightVariableBo = new RightVariable(props === null || props === void 0 ? void 0 : props.rightVariableBo);
|
|
286
302
|
};
|
|
303
|
+
export var JoinRelation = function JoinRelation(props) {
|
|
304
|
+
"use strict";
|
|
305
|
+
_classCallCheck(this, JoinRelation);
|
|
306
|
+
var _props_aliasCode;
|
|
307
|
+
this.aliasCode = (_props_aliasCode = props === null || props === void 0 ? void 0 : props.aliasCode) !== null && _props_aliasCode !== void 0 ? _props_aliasCode : "";
|
|
308
|
+
this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
|
|
309
|
+
var _props_relationFields;
|
|
310
|
+
this.relationFields = (_props_relationFields = props === null || props === void 0 ? void 0 : props.relationFields) !== null && _props_relationFields !== void 0 ? _props_relationFields : [];
|
|
311
|
+
};
|
|
287
312
|
/**
|
|
288
313
|
* 数据填充项
|
|
289
314
|
* @public
|
|
290
315
|
*/ export var MultistageFillingItem = function MultistageFillingItem(props) {
|
|
291
316
|
"use strict";
|
|
292
317
|
_classCallCheck(this, MultistageFillingItem);
|
|
293
|
-
var
|
|
294
|
-
this.controlId = (
|
|
295
|
-
var
|
|
296
|
-
this.fieldCode = (
|
|
297
|
-
var
|
|
298
|
-
this.fieldType = (
|
|
299
|
-
var
|
|
300
|
-
this.propName = (
|
|
318
|
+
var _props_controlId;
|
|
319
|
+
this.controlId = (_props_controlId = props === null || props === void 0 ? void 0 : props.controlId) !== null && _props_controlId !== void 0 ? _props_controlId : "";
|
|
320
|
+
var _props_fieldCode;
|
|
321
|
+
this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : "";
|
|
322
|
+
var _props_fieldType;
|
|
323
|
+
this.fieldType = (_props_fieldType = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _props_fieldType !== void 0 ? _props_fieldType : "";
|
|
324
|
+
var _props_propName;
|
|
325
|
+
this.propName = (_props_propName = props === null || props === void 0 ? void 0 : props.propName) !== null && _props_propName !== void 0 ? _props_propName : "";
|
|
301
326
|
};
|
|
302
|
-
|
|
327
|
+
/**
|
|
328
|
+
* 显示项
|
|
329
|
+
* @public
|
|
330
|
+
*/ export var DisplayBoListItem = function DisplayBoListItem(props) {
|
|
303
331
|
"use strict";
|
|
304
332
|
_classCallCheck(this, DisplayBoListItem);
|
|
305
|
-
var
|
|
306
|
-
this.type = (
|
|
307
|
-
var
|
|
308
|
-
this.value = (
|
|
333
|
+
var _props_type;
|
|
334
|
+
this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "FIELD";
|
|
335
|
+
var _props_value;
|
|
336
|
+
this.value = (_props_value = props === null || props === void 0 ? void 0 : props.value) !== null && _props_value !== void 0 ? _props_value : "";
|
|
309
337
|
this.fieldType = props === null || props === void 0 ? void 0 : props.fieldType;
|
|
310
338
|
};
|
|
311
|
-
|
|
339
|
+
/**
|
|
340
|
+
* 数据源排序项
|
|
341
|
+
* @public
|
|
342
|
+
*/ export var DataSourceOrderItem = function DataSourceOrderItem(props) {
|
|
312
343
|
"use strict";
|
|
313
344
|
_classCallCheck(this, DataSourceOrderItem);
|
|
314
|
-
var
|
|
315
|
-
this.columnName = (
|
|
316
|
-
var
|
|
317
|
-
this.desc = (
|
|
345
|
+
var _props_columnName;
|
|
346
|
+
this.columnName = (_props_columnName = props.columnName) !== null && _props_columnName !== void 0 ? _props_columnName : "";
|
|
347
|
+
var _props_desc;
|
|
348
|
+
this.desc = (_props_desc = props.desc) !== null && _props_desc !== void 0 ? _props_desc : false;
|
|
318
349
|
};
|
|
319
350
|
export var DataSourceDataSetValue = function DataSourceDataSetValue(props) {
|
|
320
351
|
"use strict";
|
|
321
352
|
_classCallCheck(this, DataSourceDataSetValue);
|
|
322
|
-
var
|
|
323
|
-
this.code = (
|
|
324
|
-
var
|
|
325
|
-
this.value = (
|
|
326
|
-
var
|
|
327
|
-
this.field_type = (
|
|
353
|
+
var _props_code;
|
|
354
|
+
this.code = (_props_code = props.code) !== null && _props_code !== void 0 ? _props_code : "";
|
|
355
|
+
var _props_value;
|
|
356
|
+
this.value = (_props_value = props.value) !== null && _props_value !== void 0 ? _props_value : "";
|
|
357
|
+
var _props_field_type;
|
|
358
|
+
this.field_type = (_props_field_type = props.field_type) !== null && _props_field_type !== void 0 ? _props_field_type : FieldTypes.ANY;
|
|
328
359
|
};
|
|
329
360
|
export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
330
361
|
"use strict";
|
|
331
362
|
_classCallCheck(this, DataSourceParamItem);
|
|
332
|
-
var
|
|
333
|
-
var
|
|
363
|
+
var _props_orders, _props_dataSet;
|
|
364
|
+
var _props_id;
|
|
334
365
|
//字段ID,不可以当作随机数生成唯一编号
|
|
335
|
-
this.id = (
|
|
336
|
-
var
|
|
337
|
-
this.limit = (
|
|
338
|
-
var
|
|
339
|
-
this.formKey = (
|
|
340
|
-
var
|
|
341
|
-
this.orders = (
|
|
366
|
+
this.id = (_props_id = props.id) !== null && _props_id !== void 0 ? _props_id : "";
|
|
367
|
+
var _props_limit;
|
|
368
|
+
this.limit = (_props_limit = props.limit) !== null && _props_limit !== void 0 ? _props_limit : 20;
|
|
369
|
+
var _props_formKey;
|
|
370
|
+
this.formKey = (_props_formKey = props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : "";
|
|
371
|
+
var _props_orders_map;
|
|
372
|
+
this.orders = (_props_orders_map = (_props_orders = props.orders) === null || _props_orders === void 0 ? void 0 : _props_orders.map(function(item) {
|
|
342
373
|
return new DataSourceOrderItem(item);
|
|
343
|
-
})) !== null &&
|
|
344
|
-
var
|
|
345
|
-
this.dataSet = (
|
|
374
|
+
})) !== null && _props_orders_map !== void 0 ? _props_orders_map : [];
|
|
375
|
+
var _props_dataSet_map;
|
|
376
|
+
this.dataSet = (_props_dataSet_map = (_props_dataSet = props.dataSet) === null || _props_dataSet === void 0 ? void 0 : _props_dataSet.map(function(item) {
|
|
346
377
|
return new DataSourceDataSetValue(item);
|
|
347
|
-
})) !== null &&
|
|
378
|
+
})) !== null && _props_dataSet_map !== void 0 ? _props_dataSet_map : [];
|
|
348
379
|
};
|
|
349
380
|
/**
|
|
350
381
|
* 给filters和orders赋值
|
|
351
382
|
* */ function callFiltersAndOrders(props) {
|
|
352
|
-
var
|
|
353
|
-
var
|
|
354
|
-
this.filters = (
|
|
383
|
+
var _props_filters, _props_viewFilters;
|
|
384
|
+
var _props_filters_map;
|
|
385
|
+
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) {
|
|
355
386
|
if (item.children !== undefined) {
|
|
356
387
|
return new FieldFilterConditions(item);
|
|
357
388
|
}
|
|
358
389
|
return new FieldFilterCondition(item);
|
|
359
|
-
})) !== null &&
|
|
360
|
-
var
|
|
361
|
-
this.viewFilters = (
|
|
390
|
+
})) !== null && _props_filters_map !== void 0 ? _props_filters_map : [];
|
|
391
|
+
var _props_viewFilters_map;
|
|
392
|
+
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
393
|
if (item.children !== undefined) {
|
|
363
394
|
return new FieldFilterConditions(item);
|
|
364
395
|
}
|
|
365
396
|
return new FieldFilterCondition(item);
|
|
366
|
-
})) !== null &&
|
|
397
|
+
})) !== null && _props_viewFilters_map !== void 0 ? _props_viewFilters_map : [];
|
|
367
398
|
if (_instanceof(this, DataSourceBind) || _instanceof(this, FillPayloadBind)) {
|
|
368
|
-
var
|
|
369
|
-
var
|
|
370
|
-
this.orders = (
|
|
399
|
+
var _props_orders;
|
|
400
|
+
var _props_orders_map;
|
|
401
|
+
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) {
|
|
371
402
|
return new DataSourceOrderItem(item);
|
|
372
|
-
})) !== null &&
|
|
403
|
+
})) !== null && _props_orders_map !== void 0 ? _props_orders_map : [];
|
|
373
404
|
}
|
|
374
405
|
}
|
|
375
406
|
/**
|
|
@@ -377,73 +408,75 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
|
377
408
|
* @public
|
|
378
409
|
*/ export var DataSourceBind = function DataSourceBind(props) {
|
|
379
410
|
"use strict";
|
|
411
|
+
var _this = this;
|
|
380
412
|
_classCallCheck(this, DataSourceBind);
|
|
381
|
-
var
|
|
382
|
-
this.dataCode = (
|
|
383
|
-
var
|
|
384
|
-
this.appId = (
|
|
385
|
-
var
|
|
386
|
-
this.valueFieldCode = (
|
|
413
|
+
var _props_dataCode;
|
|
414
|
+
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
|
|
415
|
+
var _props_appId;
|
|
416
|
+
this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : "";
|
|
417
|
+
var _props_valueFieldCode;
|
|
418
|
+
this.valueFieldCode = (_props_valueFieldCode = props === null || props === void 0 ? void 0 : props.valueFieldCode) !== null && _props_valueFieldCode !== void 0 ? _props_valueFieldCode : "";
|
|
387
419
|
this.displayBoList = [];
|
|
388
|
-
var
|
|
389
|
-
this.isOpenViewFilters = (
|
|
420
|
+
var _props_isOpenViewFilters;
|
|
421
|
+
this.isOpenViewFilters = (_props_isOpenViewFilters = props === null || props === void 0 ? void 0 : props.isOpenViewFilters) !== null && _props_isOpenViewFilters !== void 0 ? _props_isOpenViewFilters : 0;
|
|
390
422
|
if (Array.isArray(props === null || props === void 0 ? void 0 : props.displayBoList)) {
|
|
391
|
-
var _this = this;
|
|
392
423
|
props === null || props === void 0 ? void 0 : props.displayBoList.map(function(item) {
|
|
393
|
-
var
|
|
394
|
-
(
|
|
424
|
+
var _this_displayBoList;
|
|
425
|
+
(_this_displayBoList = _this.displayBoList) === null || _this_displayBoList === void 0 ? void 0 : _this_displayBoList.push(new DisplayBoListItem(item));
|
|
395
426
|
});
|
|
396
427
|
}
|
|
397
|
-
var
|
|
398
|
-
this.
|
|
399
|
-
var
|
|
400
|
-
this.
|
|
428
|
+
var _props_keywordMapping;
|
|
429
|
+
this.keywordMapping = (_props_keywordMapping = props === null || props === void 0 ? void 0 : props.keywordMapping) !== null && _props_keywordMapping !== void 0 ? _props_keywordMapping : "";
|
|
430
|
+
var _props_showOrder;
|
|
431
|
+
this.showOrder = (_props_showOrder = props === null || props === void 0 ? void 0 : props.showOrder) !== null && _props_showOrder !== void 0 ? _props_showOrder : true;
|
|
432
|
+
var _props_svcCode;
|
|
433
|
+
this.svcCode = (_props_svcCode = props === null || props === void 0 ? void 0 : props.svcCode) !== null && _props_svcCode !== void 0 ? _props_svcCode : "";
|
|
401
434
|
callFiltersAndOrders.call(this, props);
|
|
402
435
|
};
|
|
403
436
|
export var SelectedContentConfig = function SelectedContentConfig(props) {
|
|
404
437
|
"use strict";
|
|
405
438
|
_classCallCheck(this, SelectedContentConfig);
|
|
406
|
-
var
|
|
407
|
-
this.dataCode = (
|
|
408
|
-
var
|
|
409
|
-
this.displayBoList = (
|
|
439
|
+
var _props_dataCode;
|
|
440
|
+
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
|
|
441
|
+
var _props_displayBoList;
|
|
442
|
+
this.displayBoList = (_props_displayBoList = props === null || props === void 0 ? void 0 : props.displayBoList) !== null && _props_displayBoList !== void 0 ? _props_displayBoList : [];
|
|
410
443
|
};
|
|
411
444
|
export var LinkOperationOption = function LinkOperationOption(props) {
|
|
412
445
|
"use strict";
|
|
413
446
|
_classCallCheck(this, LinkOperationOption);
|
|
414
|
-
var
|
|
415
|
-
this.code = (
|
|
416
|
-
var
|
|
417
|
-
this.color = (
|
|
418
|
-
var
|
|
419
|
-
this.command = (
|
|
420
|
-
var
|
|
421
|
-
this.confirmMessage = (
|
|
422
|
-
var
|
|
423
|
-
this.defaultState = (
|
|
424
|
-
var
|
|
425
|
-
this.formKey = (
|
|
426
|
-
var
|
|
427
|
-
this.icon = (
|
|
428
|
-
var
|
|
429
|
-
this.needConfirm = (
|
|
430
|
-
var
|
|
431
|
-
this.openType = (
|
|
432
|
-
var
|
|
433
|
-
this.priorityProcess = (
|
|
447
|
+
var _props_code;
|
|
448
|
+
this.code = (_props_code = props === null || props === void 0 ? void 0 : props.code) !== null && _props_code !== void 0 ? _props_code : "view";
|
|
449
|
+
var _props_color;
|
|
450
|
+
this.color = (_props_color = props === null || props === void 0 ? void 0 : props.color) !== null && _props_color !== void 0 ? _props_color : "primary";
|
|
451
|
+
var _props_command;
|
|
452
|
+
this.command = (_props_command = props === null || props === void 0 ? void 0 : props.command) !== null && _props_command !== void 0 ? _props_command : "view";
|
|
453
|
+
var _props_confirmMessage;
|
|
454
|
+
this.confirmMessage = (_props_confirmMessage = props === null || props === void 0 ? void 0 : props.confirmMessage) !== null && _props_confirmMessage !== void 0 ? _props_confirmMessage : undefined;
|
|
455
|
+
var _props_defaultState;
|
|
456
|
+
this.defaultState = (_props_defaultState = props === null || props === void 0 ? void 0 : props.defaultState) !== null && _props_defaultState !== void 0 ? _props_defaultState : "default";
|
|
457
|
+
var _props_formKey;
|
|
458
|
+
this.formKey = (_props_formKey = props === null || props === void 0 ? void 0 : props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : undefined;
|
|
459
|
+
var _props_icon;
|
|
460
|
+
this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : "iconliulan1";
|
|
461
|
+
var _props_needConfirm;
|
|
462
|
+
this.needConfirm = (_props_needConfirm = props === null || props === void 0 ? void 0 : props.needConfirm) !== null && _props_needConfirm !== void 0 ? _props_needConfirm : false;
|
|
463
|
+
var _props_openType;
|
|
464
|
+
this.openType = (_props_openType = props === null || props === void 0 ? void 0 : props.openType) !== null && _props_openType !== void 0 ? _props_openType : "modal";
|
|
465
|
+
var _props_priorityProcess;
|
|
466
|
+
this.priorityProcess = (_props_priorityProcess = props === null || props === void 0 ? void 0 : props.priorityProcess) !== null && _props_priorityProcess !== void 0 ? _props_priorityProcess : true;
|
|
434
467
|
};
|
|
435
468
|
export var CustomAttributeItem = function CustomAttributeItem(props) {
|
|
436
469
|
"use strict";
|
|
437
470
|
_classCallCheck(this, CustomAttributeItem);
|
|
438
|
-
var
|
|
439
|
-
var
|
|
440
|
-
this.name = (
|
|
441
|
-
var
|
|
442
|
-
this.key = (
|
|
443
|
-
var
|
|
444
|
-
this.value = (
|
|
471
|
+
var _props_value;
|
|
472
|
+
var _props_name;
|
|
473
|
+
this.name = (_props_name = props === null || props === void 0 ? void 0 : props.name) !== null && _props_name !== void 0 ? _props_name : "";
|
|
474
|
+
var _props_key;
|
|
475
|
+
this.key = (_props_key = props === null || props === void 0 ? void 0 : props.key) !== null && _props_key !== void 0 ? _props_key : "";
|
|
476
|
+
var _props_value_map;
|
|
477
|
+
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) {
|
|
445
478
|
return new DisplayBoListItem(item);
|
|
446
|
-
})) !== null &&
|
|
479
|
+
})) !== null && _props_value_map !== void 0 ? _props_value_map : [];
|
|
447
480
|
};
|
|
448
481
|
export var SuperDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
449
482
|
"use strict";
|
|
@@ -452,12 +485,12 @@ export var SuperDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
|
452
485
|
function SuperDataSourceBind(props) {
|
|
453
486
|
_classCallCheck(this, SuperDataSourceBind);
|
|
454
487
|
var _this;
|
|
455
|
-
var
|
|
488
|
+
var _props_attributes;
|
|
456
489
|
_this = _super.call(this, props);
|
|
457
|
-
var
|
|
458
|
-
_this.attributes = (
|
|
490
|
+
var _props_attributes_map;
|
|
491
|
+
_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) {
|
|
459
492
|
return new CustomAttributeItem(item);
|
|
460
|
-
})) !== null &&
|
|
493
|
+
})) !== null && _props_attributes_map !== void 0 ? _props_attributes_map : [];
|
|
461
494
|
return _this;
|
|
462
495
|
}
|
|
463
496
|
return SuperDataSourceBind;
|
|
@@ -469,14 +502,14 @@ export var OrganizationDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
|
469
502
|
function OrganizationDataSourceBind(props) {
|
|
470
503
|
_classCallCheck(this, OrganizationDataSourceBind);
|
|
471
504
|
var _this;
|
|
472
|
-
var
|
|
505
|
+
var _props_attributes;
|
|
473
506
|
_this = _super.call(this, props);
|
|
474
|
-
var
|
|
475
|
-
_this.attributes = (
|
|
507
|
+
var _props_attributes_map;
|
|
508
|
+
_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
509
|
return new CustomAttributeItem(item);
|
|
477
|
-
})) !== null &&
|
|
478
|
-
var
|
|
479
|
-
_this.formCode = (
|
|
510
|
+
})) !== null && _props_attributes_map !== void 0 ? _props_attributes_map : [];
|
|
511
|
+
var _props_formCode;
|
|
512
|
+
_this.formCode = (_props_formCode = props === null || props === void 0 ? void 0 : props.formCode) !== null && _props_formCode !== void 0 ? _props_formCode : "";
|
|
480
513
|
return _this;
|
|
481
514
|
}
|
|
482
515
|
return OrganizationDataSourceBind;
|
|
@@ -490,8 +523,8 @@ export var TreeDataSourceBind = /*#__PURE__*/ function(SuperDataSourceBind) {
|
|
|
490
523
|
var _this;
|
|
491
524
|
_this = _super.call(this, props);
|
|
492
525
|
_this.rootNode = new RightVariable(props === null || props === void 0 ? void 0 : props.rootNode);
|
|
493
|
-
var
|
|
494
|
-
_this.filterCode = (
|
|
526
|
+
var _props_filterCode;
|
|
527
|
+
_this.filterCode = (_props_filterCode = props === null || props === void 0 ? void 0 : props.filterCode) !== null && _props_filterCode !== void 0 ? _props_filterCode : "";
|
|
495
528
|
return _this;
|
|
496
529
|
}
|
|
497
530
|
return TreeDataSourceBind;
|
|
@@ -499,15 +532,15 @@ export var TreeDataSourceBind = /*#__PURE__*/ function(SuperDataSourceBind) {
|
|
|
499
532
|
var FillBind = function FillBind(props) {
|
|
500
533
|
"use strict";
|
|
501
534
|
_classCallCheck(this, FillBind);
|
|
502
|
-
var
|
|
503
|
-
var
|
|
504
|
-
this.dataCode = (
|
|
505
|
-
var
|
|
506
|
-
this.appId = (
|
|
507
|
-
var
|
|
508
|
-
this.fillList = (
|
|
535
|
+
var _props_fillList;
|
|
536
|
+
var _props_dataCode;
|
|
537
|
+
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
|
|
538
|
+
var _props_appId;
|
|
539
|
+
this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : "";
|
|
540
|
+
var _props_fillList_map;
|
|
541
|
+
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) {
|
|
509
542
|
return new MultistageFillingItem(item);
|
|
510
|
-
})) !== null &&
|
|
543
|
+
})) !== null && _props_fillList_map !== void 0 ? _props_fillList_map : [];
|
|
511
544
|
};
|
|
512
545
|
/**
|
|
513
546
|
* FillPayloadBind 填充配置
|
|
@@ -537,10 +570,10 @@ var FillBind = function FillBind(props) {
|
|
|
537
570
|
_classCallCheck(this, FillBackBind);
|
|
538
571
|
var _this;
|
|
539
572
|
_this = _super.call(this, props);
|
|
540
|
-
var
|
|
541
|
-
_this.mode = (
|
|
542
|
-
var
|
|
543
|
-
_this.multiple = (
|
|
573
|
+
var _props_mode;
|
|
574
|
+
_this.mode = (_props_mode = props === null || props === void 0 ? void 0 : props.mode) !== null && _props_mode !== void 0 ? _props_mode : "current";
|
|
575
|
+
var _props_multiple;
|
|
576
|
+
_this.multiple = (_props_multiple = props === null || props === void 0 ? void 0 : props.multiple) !== null && _props_multiple !== void 0 ? _props_multiple : false;
|
|
544
577
|
return _this;
|
|
545
578
|
}
|
|
546
579
|
return FillBackBind;
|
|
@@ -548,22 +581,25 @@ var FillBind = function FillBind(props) {
|
|
|
548
581
|
export var Language = function Language(props) {
|
|
549
582
|
"use strict";
|
|
550
583
|
_classCallCheck(this, Language);
|
|
551
|
-
var
|
|
552
|
-
this.zh = (
|
|
553
|
-
var
|
|
554
|
-
this.en = (
|
|
555
|
-
var
|
|
556
|
-
this.ja = (
|
|
584
|
+
var _props_zh;
|
|
585
|
+
this.zh = (_props_zh = props === null || props === void 0 ? void 0 : props.zh) !== null && _props_zh !== void 0 ? _props_zh : "";
|
|
586
|
+
var _props_en;
|
|
587
|
+
this.en = (_props_en = props === null || props === void 0 ? void 0 : props.en) !== null && _props_en !== void 0 ? _props_en : "";
|
|
588
|
+
var _props_ja;
|
|
589
|
+
this.ja = (_props_ja = props === null || props === void 0 ? void 0 : props.ja) !== null && _props_ja !== void 0 ? _props_ja : "";
|
|
557
590
|
};
|
|
558
|
-
|
|
591
|
+
/**
|
|
592
|
+
* 正则校验
|
|
593
|
+
* @public
|
|
594
|
+
*/ export var RegularRules = function RegularRules(props) {
|
|
559
595
|
"use strict";
|
|
560
596
|
_classCallCheck(this, RegularRules);
|
|
561
|
-
var
|
|
562
|
-
this.stencilName = (
|
|
563
|
-
var
|
|
564
|
-
this.expression = (
|
|
565
|
-
var
|
|
566
|
-
this.errMessage = (
|
|
597
|
+
var _props_stencilName;
|
|
598
|
+
this.stencilName = (_props_stencilName = props === null || props === void 0 ? void 0 : props.stencilName) !== null && _props_stencilName !== void 0 ? _props_stencilName : "";
|
|
599
|
+
var _props_expression;
|
|
600
|
+
this.expression = (_props_expression = props === null || props === void 0 ? void 0 : props.expression) !== null && _props_expression !== void 0 ? _props_expression : "";
|
|
601
|
+
var _props_errMessage;
|
|
602
|
+
this.errMessage = (_props_errMessage = props === null || props === void 0 ? void 0 : props.errMessage) !== null && _props_errMessage !== void 0 ? _props_errMessage : "";
|
|
567
603
|
};
|
|
568
604
|
/**
|
|
569
605
|
* 选项设置-自定义选项
|
|
@@ -571,12 +607,12 @@ export var RegularRules = function RegularRules(props) {
|
|
|
571
607
|
*/ export var OptionSetting = function OptionSetting(props) {
|
|
572
608
|
"use strict";
|
|
573
609
|
_classCallCheck(this, OptionSetting);
|
|
574
|
-
var
|
|
575
|
-
this.id = (
|
|
576
|
-
var
|
|
577
|
-
this.label = (
|
|
578
|
-
var
|
|
579
|
-
this.value = (
|
|
610
|
+
var _props_id;
|
|
611
|
+
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId(8);
|
|
612
|
+
var _props_label;
|
|
613
|
+
this.label = (_props_label = props === null || props === void 0 ? void 0 : props.label) !== null && _props_label !== void 0 ? _props_label : "";
|
|
614
|
+
var _props_value;
|
|
615
|
+
this.value = (_props_value = props === null || props === void 0 ? void 0 : props.value) !== null && _props_value !== void 0 ? _props_value : this.label;
|
|
580
616
|
};
|
|
581
617
|
export var ImageOptionSetting = /*#__PURE__*/ function(OptionSetting) {
|
|
582
618
|
"use strict";
|
|
@@ -586,31 +622,37 @@ export var ImageOptionSetting = /*#__PURE__*/ function(OptionSetting) {
|
|
|
586
622
|
_classCallCheck(this, ImageOptionSetting);
|
|
587
623
|
var _this;
|
|
588
624
|
_this = _super.call(this, props);
|
|
589
|
-
var
|
|
590
|
-
_this.image = (
|
|
591
|
-
var
|
|
592
|
-
_this.type = (
|
|
625
|
+
var _props_image;
|
|
626
|
+
_this.image = (_props_image = props === null || props === void 0 ? void 0 : props.image) !== null && _props_image !== void 0 ? _props_image : "";
|
|
627
|
+
var _props_type;
|
|
628
|
+
_this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "src";
|
|
593
629
|
return _this;
|
|
594
630
|
}
|
|
595
631
|
return ImageOptionSetting;
|
|
596
632
|
}(OptionSetting);
|
|
597
633
|
export function initOptions(options) {
|
|
598
|
-
var
|
|
599
|
-
return (
|
|
634
|
+
var _options_map;
|
|
635
|
+
return (_options_map = options === null || options === void 0 ? void 0 : options.map(function(item) {
|
|
600
636
|
return new OptionSetting(item);
|
|
601
|
-
})) !== null &&
|
|
637
|
+
})) !== null && _options_map !== void 0 ? _options_map : [];
|
|
602
638
|
}
|
|
603
639
|
export function initImageOptions(options) {
|
|
604
|
-
var
|
|
605
|
-
return (
|
|
640
|
+
var _options_map;
|
|
641
|
+
return (_options_map = options === null || options === void 0 ? void 0 : options.map(function(item) {
|
|
606
642
|
return new ImageOptionSetting(item);
|
|
607
|
-
})) !== null &&
|
|
643
|
+
})) !== null && _options_map !== void 0 ? _options_map : [];
|
|
608
644
|
}
|
|
609
|
-
|
|
645
|
+
/**
|
|
646
|
+
* 对象类型数据绑定配置
|
|
647
|
+
* @public
|
|
648
|
+
*/ export var ObjectDataBind = function ObjectDataBind() {
|
|
610
649
|
"use strict";
|
|
611
650
|
_classCallCheck(this, ObjectDataBind);
|
|
612
651
|
};
|
|
613
|
-
|
|
652
|
+
/**
|
|
653
|
+
* 金额控件数据绑定配置
|
|
654
|
+
* @public
|
|
655
|
+
*/ export var AmountDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
614
656
|
"use strict";
|
|
615
657
|
_inherits(AmountDataBind, ObjectDataBind);
|
|
616
658
|
var _super = _createSuper(AmountDataBind);
|
|
@@ -624,15 +666,21 @@ export var AmountDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
|
624
666
|
}
|
|
625
667
|
return AmountDataBind;
|
|
626
668
|
}(ObjectDataBind);
|
|
627
|
-
|
|
669
|
+
/**
|
|
670
|
+
* 金额控件值
|
|
671
|
+
* @public
|
|
672
|
+
*/ export var AmountValue = function AmountValue(props) {
|
|
628
673
|
"use strict";
|
|
629
674
|
_classCallCheck(this, AmountValue);
|
|
630
|
-
var
|
|
631
|
-
this.amount = (
|
|
632
|
-
var
|
|
633
|
-
this.currency = (
|
|
675
|
+
var _props_amount;
|
|
676
|
+
this.amount = (_props_amount = props === null || props === void 0 ? void 0 : props.amount) !== null && _props_amount !== void 0 ? _props_amount : "";
|
|
677
|
+
var _props_currency;
|
|
678
|
+
this.currency = (_props_currency = props === null || props === void 0 ? void 0 : props.currency) !== null && _props_currency !== void 0 ? _props_currency : AMOUNT_TYPE.CNY;
|
|
634
679
|
};
|
|
635
|
-
|
|
680
|
+
/**
|
|
681
|
+
* 日期区间数据绑定项
|
|
682
|
+
* @public
|
|
683
|
+
*/ export var RangeDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
636
684
|
"use strict";
|
|
637
685
|
_inherits(RangeDataBind, ObjectDataBind);
|
|
638
686
|
var _super = _createSuper(RangeDataBind);
|
|
@@ -646,31 +694,40 @@ export var RangeDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
|
646
694
|
}
|
|
647
695
|
return RangeDataBind;
|
|
648
696
|
}(ObjectDataBind);
|
|
649
|
-
|
|
697
|
+
/**
|
|
698
|
+
* 日期区间值
|
|
699
|
+
* @public
|
|
700
|
+
*/ export var RangeDateValue = function RangeDateValue(props) {
|
|
650
701
|
"use strict";
|
|
651
702
|
_classCallCheck(this, RangeDateValue);
|
|
652
|
-
var
|
|
653
|
-
this.min = (
|
|
654
|
-
var
|
|
655
|
-
this.max = (
|
|
703
|
+
var _props_min;
|
|
704
|
+
this.min = (_props_min = props === null || props === void 0 ? void 0 : props.min) !== null && _props_min !== void 0 ? _props_min : "";
|
|
705
|
+
var _props_max;
|
|
706
|
+
this.max = (_props_max = props === null || props === void 0 ? void 0 : props.max) !== null && _props_max !== void 0 ? _props_max : "";
|
|
656
707
|
};
|
|
657
|
-
|
|
708
|
+
/**
|
|
709
|
+
* 地址值
|
|
710
|
+
* @public
|
|
711
|
+
*/ export var AddressValue = function AddressValue(props) {
|
|
658
712
|
"use strict";
|
|
659
713
|
_classCallCheck(this, AddressValue);
|
|
660
|
-
var
|
|
661
|
-
this.city = (
|
|
662
|
-
var
|
|
663
|
-
this.cityDisplay = (
|
|
664
|
-
var
|
|
665
|
-
this.district = (
|
|
666
|
-
var
|
|
667
|
-
this.districtDisplay = (
|
|
668
|
-
var
|
|
669
|
-
this.province = (
|
|
670
|
-
var
|
|
671
|
-
this.provinceDisplay = (
|
|
672
|
-
};
|
|
673
|
-
|
|
714
|
+
var _props_city;
|
|
715
|
+
this.city = (_props_city = props === null || props === void 0 ? void 0 : props.city) !== null && _props_city !== void 0 ? _props_city : "";
|
|
716
|
+
var _props_cityDisplay;
|
|
717
|
+
this.cityDisplay = (_props_cityDisplay = props === null || props === void 0 ? void 0 : props.cityDisplay) !== null && _props_cityDisplay !== void 0 ? _props_cityDisplay : "";
|
|
718
|
+
var _props_district;
|
|
719
|
+
this.district = (_props_district = props === null || props === void 0 ? void 0 : props.district) !== null && _props_district !== void 0 ? _props_district : "";
|
|
720
|
+
var _props_districtDisplay;
|
|
721
|
+
this.districtDisplay = (_props_districtDisplay = props === null || props === void 0 ? void 0 : props.districtDisplay) !== null && _props_districtDisplay !== void 0 ? _props_districtDisplay : "";
|
|
722
|
+
var _props_province;
|
|
723
|
+
this.province = (_props_province = props === null || props === void 0 ? void 0 : props.province) !== null && _props_province !== void 0 ? _props_province : "";
|
|
724
|
+
var _props_provinceDisplay;
|
|
725
|
+
this.provinceDisplay = (_props_provinceDisplay = props === null || props === void 0 ? void 0 : props.provinceDisplay) !== null && _props_provinceDisplay !== void 0 ? _props_provinceDisplay : "";
|
|
726
|
+
};
|
|
727
|
+
/**
|
|
728
|
+
* 计算公式数据绑定项
|
|
729
|
+
* @public
|
|
730
|
+
*/ export var CalcDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
674
731
|
"use strict";
|
|
675
732
|
_inherits(CalcDataBind, ObjectDataBind);
|
|
676
733
|
var _super = _createSuper(CalcDataBind);
|
|
@@ -684,13 +741,16 @@ export var CalcDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
|
684
741
|
}
|
|
685
742
|
return CalcDataBind;
|
|
686
743
|
}(ObjectDataBind);
|
|
687
|
-
|
|
744
|
+
/**
|
|
745
|
+
* 计算公式值
|
|
746
|
+
* @public
|
|
747
|
+
*/ export var CalcValue = function CalcValue(props) {
|
|
688
748
|
"use strict";
|
|
689
749
|
_classCallCheck(this, CalcValue);
|
|
690
|
-
var
|
|
691
|
-
this.result = (
|
|
692
|
-
var
|
|
693
|
-
this.unit = (
|
|
750
|
+
var _props_result;
|
|
751
|
+
this.result = (_props_result = props === null || props === void 0 ? void 0 : props.result) !== null && _props_result !== void 0 ? _props_result : 0;
|
|
752
|
+
var _props_unit;
|
|
753
|
+
this.unit = (_props_unit = props === null || props === void 0 ? void 0 : props.unit) !== null && _props_unit !== void 0 ? _props_unit : "";
|
|
694
754
|
};
|
|
695
755
|
export var AMOUNT_TYPE;
|
|
696
756
|
(function(AMOUNT_TYPE) {
|
|
@@ -724,35 +784,35 @@ export var AMOUNT_TYPE;
|
|
|
724
784
|
})(AMOUNT_TYPE || (AMOUNT_TYPE = {}));
|
|
725
785
|
export var COMMON_SETTING_TYPE;
|
|
726
786
|
(function(COMMON_SETTING_TYPE) {
|
|
727
|
-
COMMON_SETTING_TYPE["DEFAULT_DISPLAY"] =
|
|
728
|
-
COMMON_SETTING_TYPE["REQUIRED"] =
|
|
729
|
-
COMMON_SETTING_TYPE["IS_HIDE"] =
|
|
730
|
-
COMMON_SETTING_TYPE["IS_SHOW_UNIT"] =
|
|
731
|
-
COMMON_SETTING_TYPE["IMD_SEARCH"] =
|
|
732
|
-
COMMON_SETTING_TYPE["MULTIPLE"] =
|
|
733
|
-
COMMON_SETTING_TYPE["SUBMIT_SELECT_CURRENCY"] =
|
|
734
|
-
COMMON_SETTING_TYPE["CAPTION"] =
|
|
735
|
-
COMMON_SETTING_TYPE["IS_HIDE_CAPTION"] =
|
|
736
|
-
COMMON_SETTING_TYPE["DEFAULT_SHOW_OPTIONS"] =
|
|
737
|
-
COMMON_SETTING_TYPE["CAN_SEARCH"] =
|
|
738
|
-
COMMON_SETTING_TYPE["CAN_CHECK"] =
|
|
739
|
-
COMMON_SETTING_TYPE["CAN_EDIT"] =
|
|
740
|
-
COMMON_SETTING_TYPE["CAN_DELETE"] =
|
|
741
|
-
COMMON_SETTING_TYPE["SHOW_UPPER_CASE"] =
|
|
742
|
-
COMMON_SETTING_TYPE["MICROMETER"] =
|
|
743
|
-
COMMON_SETTING_TYPE["PRECISION"] =
|
|
744
|
-
COMMON_SETTING_TYPE["PERCENTAGE"] =
|
|
745
|
-
COMMON_SETTING_TYPE["OPTIONAL_LEVEL"] =
|
|
746
|
-
COMMON_SETTING_TYPE["CONTAINS_SUB_NODE"] =
|
|
747
|
-
COMMON_SETTING_TYPE["DEFAULT_COLLAPSE"] =
|
|
748
|
-
COMMON_SETTING_TYPE["CAN_VIEW_FORM"] =
|
|
749
|
-
COMMON_SETTING_TYPE["VIEW_FORM_MODEL_TYPE"] =
|
|
750
|
-
COMMON_SETTING_TYPE["SERVER_PAGINATION"] =
|
|
751
|
-
COMMON_SETTING_TYPE["IS_SHOW_CAPTION_TIP"] =
|
|
752
|
-
COMMON_SETTING_TYPE["ENCRYPTED"] =
|
|
753
|
-
COMMON_SETTING_TYPE["IS_INLINE_EDIT"] =
|
|
754
|
-
COMMON_SETTING_TYPE["REVISIONS_MODE"] =
|
|
755
|
-
COMMON_SETTING_TYPE["ALLOW_COPY_OPTIONS"] =
|
|
787
|
+
COMMON_SETTING_TYPE["DEFAULT_DISPLAY"] = "defaultDisplay";
|
|
788
|
+
COMMON_SETTING_TYPE["REQUIRED"] = "required";
|
|
789
|
+
COMMON_SETTING_TYPE["IS_HIDE"] = "isHide";
|
|
790
|
+
COMMON_SETTING_TYPE["IS_SHOW_UNIT"] = "isShowUnit";
|
|
791
|
+
COMMON_SETTING_TYPE["IMD_SEARCH"] = "immediatelySearch";
|
|
792
|
+
COMMON_SETTING_TYPE["MULTIPLE"] = "multiple";
|
|
793
|
+
COMMON_SETTING_TYPE["SUBMIT_SELECT_CURRENCY"] = "submitSelectCurrency";
|
|
794
|
+
COMMON_SETTING_TYPE["CAPTION"] = "caption";
|
|
795
|
+
COMMON_SETTING_TYPE["IS_HIDE_CAPTION"] = "isHideCaption";
|
|
796
|
+
COMMON_SETTING_TYPE["DEFAULT_SHOW_OPTIONS"] = "defaultShowOptions";
|
|
797
|
+
COMMON_SETTING_TYPE["CAN_SEARCH"] = "canSearch";
|
|
798
|
+
COMMON_SETTING_TYPE["CAN_CHECK"] = "canCheck";
|
|
799
|
+
COMMON_SETTING_TYPE["CAN_EDIT"] = "canEdit";
|
|
800
|
+
COMMON_SETTING_TYPE["CAN_DELETE"] = "canDelete";
|
|
801
|
+
COMMON_SETTING_TYPE["SHOW_UPPER_CASE"] = "showUpperCase";
|
|
802
|
+
COMMON_SETTING_TYPE["MICROMETER"] = "micrometer";
|
|
803
|
+
COMMON_SETTING_TYPE["PRECISION"] = "precision";
|
|
804
|
+
COMMON_SETTING_TYPE["PERCENTAGE"] = "percentage";
|
|
805
|
+
COMMON_SETTING_TYPE["OPTIONAL_LEVEL"] = "optionalLevel";
|
|
806
|
+
COMMON_SETTING_TYPE["CONTAINS_SUB_NODE"] = "containsSubNode";
|
|
807
|
+
COMMON_SETTING_TYPE["DEFAULT_COLLAPSE"] = "defaultCollapse";
|
|
808
|
+
COMMON_SETTING_TYPE["CAN_VIEW_FORM"] = "canViewForm";
|
|
809
|
+
COMMON_SETTING_TYPE["VIEW_FORM_MODEL_TYPE"] = "viewFormModelType";
|
|
810
|
+
COMMON_SETTING_TYPE["SERVER_PAGINATION"] = "serverPagination";
|
|
811
|
+
COMMON_SETTING_TYPE["IS_SHOW_CAPTION_TIP"] = "isShowCaptionTip";
|
|
812
|
+
COMMON_SETTING_TYPE["ENCRYPTED"] = "encrypted";
|
|
813
|
+
COMMON_SETTING_TYPE["IS_INLINE_EDIT"] = "isInlineEdit";
|
|
814
|
+
COMMON_SETTING_TYPE["REVISIONS_MODE"] = "revisionsMode";
|
|
815
|
+
COMMON_SETTING_TYPE["ALLOW_COPY_OPTIONS"] = "allowCopyOptions";
|
|
756
816
|
})(COMMON_SETTING_TYPE || (COMMON_SETTING_TYPE = {}));
|
|
757
817
|
export var PAGE_STATUS;
|
|
758
818
|
(function(PAGE_STATUS) {
|
|
@@ -767,31 +827,31 @@ export var PAGE_STATUS;
|
|
|
767
827
|
*/ export var OperationItem = function OperationItem(props) {
|
|
768
828
|
"use strict";
|
|
769
829
|
_classCallCheck(this, OperationItem);
|
|
770
|
-
var
|
|
771
|
-
this.isShow = (
|
|
772
|
-
var
|
|
773
|
-
this.content = (
|
|
774
|
-
var
|
|
775
|
-
this.formKey = (
|
|
776
|
-
var
|
|
777
|
-
this.openType = (
|
|
778
|
-
var
|
|
779
|
-
this.type = (
|
|
780
|
-
var
|
|
781
|
-
this.priorityProcess = (
|
|
830
|
+
var _props_isShow;
|
|
831
|
+
this.isShow = (_props_isShow = props === null || props === void 0 ? void 0 : props.isShow) !== null && _props_isShow !== void 0 ? _props_isShow : true;
|
|
832
|
+
var _props_content;
|
|
833
|
+
this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : "";
|
|
834
|
+
var _props_formKey;
|
|
835
|
+
this.formKey = (_props_formKey = props === null || props === void 0 ? void 0 : props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : "";
|
|
836
|
+
var _props_openType;
|
|
837
|
+
this.openType = (_props_openType = props === null || props === void 0 ? void 0 : props.openType) !== null && _props_openType !== void 0 ? _props_openType : "modal";
|
|
838
|
+
var _props_type;
|
|
839
|
+
this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "";
|
|
840
|
+
var _props_priorityProcess;
|
|
841
|
+
this.priorityProcess = (_props_priorityProcess = props === null || props === void 0 ? void 0 : props.priorityProcess) !== null && _props_priorityProcess !== void 0 ? _props_priorityProcess : false;
|
|
782
842
|
};
|
|
783
843
|
export var ViewOperationItem = function ViewOperationItem(props) {
|
|
784
844
|
"use strict";
|
|
785
845
|
_classCallCheck(this, ViewOperationItem);
|
|
786
|
-
var
|
|
787
|
-
var
|
|
788
|
-
this.id = (
|
|
789
|
-
var
|
|
790
|
-
this.title = (
|
|
791
|
-
var
|
|
792
|
-
this.headers = (
|
|
846
|
+
var _props_headers;
|
|
847
|
+
var _props_id;
|
|
848
|
+
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId(8);
|
|
849
|
+
var _props_title;
|
|
850
|
+
this.title = (_props_title = props === null || props === void 0 ? void 0 : props.title) !== null && _props_title !== void 0 ? _props_title : "";
|
|
851
|
+
var _props_headers_map;
|
|
852
|
+
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) {
|
|
793
853
|
return new ListBindHeaderItem(item);
|
|
794
|
-
})) !== null &&
|
|
854
|
+
})) !== null && _props_headers_map !== void 0 ? _props_headers_map : [];
|
|
795
855
|
callFiltersAndOrders.call(this, props);
|
|
796
856
|
};
|
|
797
857
|
/**
|
|
@@ -799,28 +859,28 @@ export var ViewOperationItem = function ViewOperationItem(props) {
|
|
|
799
859
|
*/ export var CustomPermissionItem = function CustomPermissionItem(props) {
|
|
800
860
|
"use strict";
|
|
801
861
|
_classCallCheck(this, CustomPermissionItem);
|
|
802
|
-
var
|
|
803
|
-
this.key = (
|
|
804
|
-
var
|
|
805
|
-
this.caption = (
|
|
862
|
+
var _props_key;
|
|
863
|
+
this.key = (_props_key = props.key) !== null && _props_key !== void 0 ? _props_key : genNonDuplicateId(8);
|
|
864
|
+
var _props_caption;
|
|
865
|
+
this.caption = (_props_caption = props.caption) !== null && _props_caption !== void 0 ? _props_caption : "";
|
|
806
866
|
};
|
|
807
867
|
export var BaseStyle = function BaseStyle(props) {
|
|
808
868
|
"use strict";
|
|
809
869
|
_classCallCheck(this, BaseStyle);
|
|
810
|
-
var
|
|
811
|
-
this.width = (
|
|
812
|
-
var
|
|
813
|
-
this.height = (
|
|
814
|
-
var
|
|
815
|
-
this.widthConfig = (
|
|
816
|
-
var
|
|
817
|
-
this.heightConfig = (
|
|
870
|
+
var _props_width;
|
|
871
|
+
this.width = (_props_width = props === null || props === void 0 ? void 0 : props.width) !== null && _props_width !== void 0 ? _props_width : "";
|
|
872
|
+
var _props_height;
|
|
873
|
+
this.height = (_props_height = props === null || props === void 0 ? void 0 : props.height) !== null && _props_height !== void 0 ? _props_height : "";
|
|
874
|
+
var _props_widthConfig;
|
|
875
|
+
this.widthConfig = (_props_widthConfig = props === null || props === void 0 ? void 0 : props.widthConfig) !== null && _props_widthConfig !== void 0 ? _props_widthConfig : "fill";
|
|
876
|
+
var _props_heightConfig;
|
|
877
|
+
this.heightConfig = (_props_heightConfig = props === null || props === void 0 ? void 0 : props.heightConfig) !== null && _props_heightConfig !== void 0 ? _props_heightConfig : "fill";
|
|
818
878
|
};
|
|
819
879
|
export var OptObject = function OptObject(props) {
|
|
820
880
|
"use strict";
|
|
821
881
|
_classCallCheck(this, OptObject);
|
|
822
|
-
var
|
|
823
|
-
this.optCode = (
|
|
824
|
-
var
|
|
825
|
-
this.optType = (
|
|
882
|
+
var _props_optCode;
|
|
883
|
+
this.optCode = (_props_optCode = props === null || props === void 0 ? void 0 : props.optCode) !== null && _props_optCode !== void 0 ? _props_optCode : "";
|
|
884
|
+
var _props_optType;
|
|
885
|
+
this.optType = (_props_optType = props === null || props === void 0 ? void 0 : props.optType) !== null && _props_optType !== void 0 ? _props_optType : "";
|
|
826
886
|
};
|