@byteluck-fe/model-driven-core 7.0.0-props.10 → 7.0.0-props.15
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/common/BaseControl/designer.js +12 -17
- package/dist/esm/common/BaseControl/property.js +4 -3
- package/dist/esm/common/BaseControl/runtime.js +11 -7
- package/dist/esm/common/ColumnControl/property.js +10 -6
- package/dist/esm/common/FormControl/property.js +26 -14
- package/dist/esm/common/LayoutControl/designer.js +4 -12
- package/dist/esm/common/ListControl/designer.js +4 -12
- package/dist/esm/common/ListControl/property.js +8 -5
- package/dist/esm/framework/index.js +351 -236
- package/dist/index.umd.js +1 -1
- package/package.json +3 -3
|
@@ -78,7 +78,6 @@ export * from './RegisterControls';
|
|
|
78
78
|
*/ export var DataBind = function DataBind(props) {
|
|
79
79
|
"use strict";
|
|
80
80
|
_class_call_check(this, DataBind);
|
|
81
|
-
var _ref, _ref1, _ref2;
|
|
82
81
|
/**
|
|
83
82
|
* 数据模型编码
|
|
84
83
|
* @defaultValue ''
|
|
@@ -99,34 +98,41 @@ export * from './RegisterControls';
|
|
|
99
98
|
* @defaultValue undefined
|
|
100
99
|
* @public
|
|
101
100
|
*/ _define_property(this, "aliasCode", void 0);
|
|
102
|
-
|
|
103
|
-
this.
|
|
104
|
-
|
|
101
|
+
var _props_dataCode;
|
|
102
|
+
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : '';
|
|
103
|
+
var _props_fieldCode;
|
|
104
|
+
this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : '';
|
|
105
|
+
var _props_fieldType;
|
|
106
|
+
this.fieldType = (_props_fieldType = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _props_fieldType !== void 0 ? _props_fieldType : '';
|
|
105
107
|
this.aliasCode = props === null || props === void 0 ? void 0 : props.aliasCode;
|
|
106
108
|
};
|
|
107
109
|
export var AutoWidth = function AutoWidth(props) {
|
|
108
110
|
"use strict";
|
|
109
111
|
_class_call_check(this, AutoWidth);
|
|
110
|
-
var _ref, _ref1;
|
|
111
112
|
_define_property(this, "minWidth", void 0);
|
|
112
113
|
_define_property(this, "maxWidth", void 0);
|
|
113
114
|
_define_property(this, "flex", void 0);
|
|
114
|
-
|
|
115
|
+
var _props_minWidth;
|
|
116
|
+
this.minWidth = (_props_minWidth = props === null || props === void 0 ? void 0 : props.minWidth) !== null && _props_minWidth !== void 0 ? _props_minWidth : 150;
|
|
115
117
|
this.maxWidth = props === null || props === void 0 ? void 0 : props.maxWidth;
|
|
116
|
-
|
|
118
|
+
var _props_flex;
|
|
119
|
+
this.flex = (_props_flex = props === null || props === void 0 ? void 0 : props.flex) !== null && _props_flex !== void 0 ? _props_flex : 1;
|
|
117
120
|
};
|
|
118
121
|
export var RowHeight = function RowHeight(props) {
|
|
119
122
|
"use strict";
|
|
120
123
|
_class_call_check(this, RowHeight);
|
|
121
|
-
var _ref, _ref1, _ref2, _ref3;
|
|
122
124
|
_define_property(this, "rowHeightType", void 0);
|
|
123
125
|
_define_property(this, "minRows", void 0);
|
|
124
126
|
_define_property(this, "maxRows", void 0);
|
|
125
127
|
_define_property(this, "fiexdRow", void 0);
|
|
126
|
-
|
|
127
|
-
this.
|
|
128
|
-
|
|
129
|
-
this.
|
|
128
|
+
var _props_rowHeightType;
|
|
129
|
+
this.rowHeightType = (_props_rowHeightType = props === null || props === void 0 ? void 0 : props.rowHeightType) !== null && _props_rowHeightType !== void 0 ? _props_rowHeightType : 'fixed';
|
|
130
|
+
var _props_minRows;
|
|
131
|
+
this.minRows = (_props_minRows = props === null || props === void 0 ? void 0 : props.minRows) !== null && _props_minRows !== void 0 ? _props_minRows : 4;
|
|
132
|
+
var _props_maxRows;
|
|
133
|
+
this.maxRows = (_props_maxRows = props === null || props === void 0 ? void 0 : props.maxRows) !== null && _props_maxRows !== void 0 ? _props_maxRows : 20;
|
|
134
|
+
var _props_fiexdRow;
|
|
135
|
+
this.fiexdRow = (_props_fiexdRow = props === null || props === void 0 ? void 0 : props.fiexdRow) !== null && _props_fiexdRow !== void 0 ? _props_fiexdRow : 4;
|
|
130
136
|
};
|
|
131
137
|
export var MetaRowHeight = function MetaRowHeight(props) {
|
|
132
138
|
"use strict";
|
|
@@ -142,12 +148,13 @@ export var MetaWidth = /*#__PURE__*/ function(AutoWidth) {
|
|
|
142
148
|
function MetaWidth(props) {
|
|
143
149
|
_class_call_check(this, MetaWidth);
|
|
144
150
|
var _this;
|
|
145
|
-
var _ref, _ref1;
|
|
146
151
|
_this = _call_super(this, MetaWidth, [
|
|
147
152
|
props
|
|
148
153
|
]), _define_property(_this, "width", void 0), _define_property(_this, "widthType", void 0);
|
|
149
|
-
|
|
150
|
-
_this.
|
|
154
|
+
var _props_width;
|
|
155
|
+
_this.width = (_props_width = props === null || props === void 0 ? void 0 : props.width) !== null && _props_width !== void 0 ? _props_width : 240;
|
|
156
|
+
var _props_widthType;
|
|
157
|
+
_this.widthType = (_props_widthType = props === null || props === void 0 ? void 0 : props.widthType) !== null && _props_widthType !== void 0 ? _props_widthType : 'auto';
|
|
151
158
|
return _this;
|
|
152
159
|
}
|
|
153
160
|
return MetaWidth;
|
|
@@ -166,22 +173,25 @@ export var MetaAutoWidth = function MetaAutoWidth(props) {
|
|
|
166
173
|
export var DataStorageDoc = function DataStorageDoc(props) {
|
|
167
174
|
"use strict";
|
|
168
175
|
_class_call_check(this, DataStorageDoc);
|
|
169
|
-
var _ref, _ref1;
|
|
170
176
|
_define_property(this, "type", void 0);
|
|
171
177
|
_define_property(this, "customOptions", void 0);
|
|
172
|
-
|
|
173
|
-
this.
|
|
178
|
+
var _props_type;
|
|
179
|
+
this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : 'firstThree';
|
|
180
|
+
var _props_customOptions;
|
|
181
|
+
this.customOptions = (_props_customOptions = props === null || props === void 0 ? void 0 : props.customOptions) !== null && _props_customOptions !== void 0 ? _props_customOptions : [];
|
|
174
182
|
};
|
|
175
183
|
export var FormBind = function FormBind(props) {
|
|
176
184
|
"use strict";
|
|
177
185
|
_class_call_check(this, FormBind);
|
|
178
|
-
var _ref, _ref1, _ref2;
|
|
179
186
|
_define_property(this, "dataCode", void 0);
|
|
180
187
|
_define_property(this, "formKey", void 0);
|
|
181
188
|
_define_property(this, "appId", void 0);
|
|
182
|
-
|
|
183
|
-
this.
|
|
184
|
-
|
|
189
|
+
var _props_dataCode;
|
|
190
|
+
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : '';
|
|
191
|
+
var _props_formKey;
|
|
192
|
+
this.formKey = (_props_formKey = props === null || props === void 0 ? void 0 : props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : '';
|
|
193
|
+
var _props_appId;
|
|
194
|
+
this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : '';
|
|
185
195
|
};
|
|
186
196
|
export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
187
197
|
"use strict";
|
|
@@ -189,11 +199,11 @@ export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
|
189
199
|
function FormSelectBind(props) {
|
|
190
200
|
_class_call_check(this, FormSelectBind);
|
|
191
201
|
var _this;
|
|
192
|
-
var _ref;
|
|
193
202
|
_this = _call_super(this, FormSelectBind, [
|
|
194
203
|
props
|
|
195
204
|
]), _define_property(_this, "primaryControlId", void 0);
|
|
196
|
-
|
|
205
|
+
var _props_primaryControlId;
|
|
206
|
+
_this.primaryControlId = (_props_primaryControlId = props === null || props === void 0 ? void 0 : props.primaryControlId) !== null && _props_primaryControlId !== void 0 ? _props_primaryControlId : '';
|
|
197
207
|
return _this;
|
|
198
208
|
}
|
|
199
209
|
return FormSelectBind;
|
|
@@ -204,21 +214,21 @@ export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
|
204
214
|
*/ var ListBindHeaderItem = function ListBindHeaderItem(props) {
|
|
205
215
|
"use strict";
|
|
206
216
|
_class_call_check(this, ListBindHeaderItem);
|
|
207
|
-
var _ref, _ref1;
|
|
208
217
|
/**
|
|
209
218
|
* 字段
|
|
210
219
|
* @defaultValue ''
|
|
211
220
|
*/ _define_property(this, "fieldCode", void 0);
|
|
212
221
|
_define_property(this, "dataCode", void 0);
|
|
213
|
-
|
|
214
|
-
this.
|
|
222
|
+
var _props_fieldCode;
|
|
223
|
+
this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : '';
|
|
224
|
+
var _props_dataCode;
|
|
225
|
+
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : '';
|
|
215
226
|
};
|
|
216
227
|
/**
|
|
217
228
|
* 列表绑定配置
|
|
218
229
|
*/ export var ListBind = function ListBind(props) {
|
|
219
230
|
"use strict";
|
|
220
231
|
_class_call_check(this, ListBind);
|
|
221
|
-
var _ref, _ref1, _ref2;
|
|
222
232
|
var _props_headers;
|
|
223
233
|
/**
|
|
224
234
|
* 应用ID
|
|
@@ -232,22 +242,27 @@ export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
|
232
242
|
* 显示字段
|
|
233
243
|
* @public
|
|
234
244
|
*/ _define_property(this, "headers", void 0);
|
|
235
|
-
|
|
236
|
-
this.
|
|
237
|
-
|
|
245
|
+
var _props_appId;
|
|
246
|
+
this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : '';
|
|
247
|
+
var _props_formKey;
|
|
248
|
+
this.formKey = (_props_formKey = props === null || props === void 0 ? void 0 : props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : '';
|
|
249
|
+
var _props_headers_map;
|
|
250
|
+
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) {
|
|
238
251
|
return new ListBindHeaderItem(item);
|
|
239
|
-
})) !== null &&
|
|
252
|
+
})) !== null && _props_headers_map !== void 0 ? _props_headers_map : [];
|
|
240
253
|
};
|
|
241
254
|
export var FieldBindItem = function FieldBindItem(props) {
|
|
242
255
|
"use strict";
|
|
243
256
|
_class_call_check(this, FieldBindItem);
|
|
244
|
-
var _ref, _ref1, _ref2;
|
|
245
257
|
_define_property(this, "fieldName", void 0);
|
|
246
258
|
_define_property(this, "fieldCode", void 0);
|
|
247
259
|
_define_property(this, "fieldType", void 0);
|
|
248
|
-
|
|
249
|
-
this.
|
|
250
|
-
|
|
260
|
+
var _props_fieldName;
|
|
261
|
+
this.fieldName = (_props_fieldName = props === null || props === void 0 ? void 0 : props.fieldName) !== null && _props_fieldName !== void 0 ? _props_fieldName : '';
|
|
262
|
+
var _props_fieldCode;
|
|
263
|
+
this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : '';
|
|
264
|
+
var _props_fieldType;
|
|
265
|
+
this.fieldType = (_props_fieldType = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _props_fieldType !== void 0 ? _props_fieldType : FieldTypes.VARCHAR;
|
|
251
266
|
};
|
|
252
267
|
export var SubListItem = /*#__PURE__*/ function(FormBind) {
|
|
253
268
|
"use strict";
|
|
@@ -255,14 +270,17 @@ export var SubListItem = /*#__PURE__*/ function(FormBind) {
|
|
|
255
270
|
function SubListItem(props) {
|
|
256
271
|
_class_call_check(this, SubListItem);
|
|
257
272
|
var _this;
|
|
258
|
-
var _ref, _ref1, _ref2, _ref3;
|
|
259
273
|
_this = _call_super(this, SubListItem, [
|
|
260
274
|
props
|
|
261
275
|
]), _define_property(_this, "title", void 0), _define_property(_this, "svcCode", void 0), _define_property(_this, "isOpenFilter", void 0), _define_property(_this, "filters", void 0);
|
|
262
|
-
|
|
263
|
-
_this.
|
|
264
|
-
|
|
265
|
-
_this.
|
|
276
|
+
var _props_title;
|
|
277
|
+
_this.title = (_props_title = props === null || props === void 0 ? void 0 : props.title) !== null && _props_title !== void 0 ? _props_title : '';
|
|
278
|
+
var _props_svcCode;
|
|
279
|
+
_this.svcCode = (_props_svcCode = props === null || props === void 0 ? void 0 : props.svcCode) !== null && _props_svcCode !== void 0 ? _props_svcCode : '';
|
|
280
|
+
var _props_isOpenFilter;
|
|
281
|
+
_this.isOpenFilter = (_props_isOpenFilter = props === null || props === void 0 ? void 0 : props.isOpenFilter) !== null && _props_isOpenFilter !== void 0 ? _props_isOpenFilter : false;
|
|
282
|
+
var _props_filters;
|
|
283
|
+
_this.filters = (_props_filters = props === null || props === void 0 ? void 0 : props.filters) !== null && _props_filters !== void 0 ? _props_filters : [];
|
|
266
284
|
return _this;
|
|
267
285
|
}
|
|
268
286
|
return SubListItem;
|
|
@@ -270,19 +288,20 @@ export var SubListItem = /*#__PURE__*/ function(FormBind) {
|
|
|
270
288
|
export var SubListPageConfig = function SubListPageConfig(props) {
|
|
271
289
|
"use strict";
|
|
272
290
|
_class_call_check(this, SubListPageConfig);
|
|
273
|
-
var _ref, _ref1;
|
|
274
291
|
var _props_displayFields, _props_sublists;
|
|
275
292
|
_define_property(this, "type", 'sublist-page');
|
|
276
293
|
_define_property(this, "formBind", void 0);
|
|
277
294
|
_define_property(this, "displayFields", void 0);
|
|
278
295
|
_define_property(this, "sublists", void 0);
|
|
279
296
|
this.formBind = new FormBind(props === null || props === void 0 ? void 0 : props.formBind);
|
|
280
|
-
|
|
297
|
+
var _props_displayFields_map;
|
|
298
|
+
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) {
|
|
281
299
|
return new FieldBindItem(item);
|
|
282
|
-
})) !== null &&
|
|
283
|
-
|
|
300
|
+
})) !== null && _props_displayFields_map !== void 0 ? _props_displayFields_map : [];
|
|
301
|
+
var _props_sublists_map;
|
|
302
|
+
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) {
|
|
284
303
|
return new SubListItem(item);
|
|
285
|
-
})) !== null &&
|
|
304
|
+
})) !== null && _props_sublists_map !== void 0 ? _props_sublists_map : [];
|
|
286
305
|
};
|
|
287
306
|
export var LeftVariable = function LeftVariable(props) {
|
|
288
307
|
"use strict";
|
|
@@ -297,13 +316,15 @@ export var LeftVariable = function LeftVariable(props) {
|
|
|
297
316
|
export var RightVariable = function RightVariable(props) {
|
|
298
317
|
"use strict";
|
|
299
318
|
_class_call_check(this, RightVariable);
|
|
300
|
-
var _ref, _ref1, _ref2;
|
|
301
319
|
_define_property(this, "type", void 0);
|
|
302
320
|
_define_property(this, "value", void 0);
|
|
303
321
|
_define_property(this, "displayBos", void 0);
|
|
304
|
-
|
|
305
|
-
this.
|
|
306
|
-
|
|
322
|
+
var _props_type;
|
|
323
|
+
this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : 'custom';
|
|
324
|
+
var _props_value;
|
|
325
|
+
this.value = (_props_value = props === null || props === void 0 ? void 0 : props.value) !== null && _props_value !== void 0 ? _props_value : [];
|
|
326
|
+
var _props_displayBos;
|
|
327
|
+
this.displayBos = (_props_displayBos = props === null || props === void 0 ? void 0 : props.displayBos) !== null && _props_displayBos !== void 0 ? _props_displayBos : [];
|
|
307
328
|
};
|
|
308
329
|
/**
|
|
309
330
|
* 连接符条件
|
|
@@ -312,7 +333,6 @@ export var RightVariable = function RightVariable(props) {
|
|
|
312
333
|
"use strict";
|
|
313
334
|
var _this = this;
|
|
314
335
|
_class_call_check(this, FieldFilterConditions);
|
|
315
|
-
var _ref, _ref1, _ref2, _ref3;
|
|
316
336
|
/**
|
|
317
337
|
* 编号
|
|
318
338
|
* @defaultValue ''
|
|
@@ -337,10 +357,14 @@ export var RightVariable = function RightVariable(props) {
|
|
|
337
357
|
* 包含子项
|
|
338
358
|
* @defaultValue []
|
|
339
359
|
*/ _define_property(this, "children", void 0);
|
|
340
|
-
|
|
341
|
-
this.
|
|
342
|
-
|
|
343
|
-
this.
|
|
360
|
+
var _props_id;
|
|
361
|
+
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId();
|
|
362
|
+
var _props_ruleId;
|
|
363
|
+
this.ruleId = (_props_ruleId = props === null || props === void 0 ? void 0 : props.ruleId) !== null && _props_ruleId !== void 0 ? _props_ruleId : new Date().valueOf();
|
|
364
|
+
var _props_level;
|
|
365
|
+
this.level = (_props_level = props === null || props === void 0 ? void 0 : props.level) !== null && _props_level !== void 0 ? _props_level : 0;
|
|
366
|
+
var _props_value;
|
|
367
|
+
this.value = (_props_value = props === null || props === void 0 ? void 0 : props.value) !== null && _props_value !== void 0 ? _props_value : 'and';
|
|
344
368
|
this.children = [];
|
|
345
369
|
if (Array.isArray(props === null || props === void 0 ? void 0 : props.children)) {
|
|
346
370
|
props === null || props === void 0 ? void 0 : props.children.map(function(item) {
|
|
@@ -362,7 +386,6 @@ export var RightVariable = function RightVariable(props) {
|
|
|
362
386
|
*/ export var FieldFilterCondition = function FieldFilterCondition(props) {
|
|
363
387
|
"use strict";
|
|
364
388
|
_class_call_check(this, FieldFilterCondition);
|
|
365
|
-
var _ref, _ref1, _ref2, _ref3, _ref4;
|
|
366
389
|
/**
|
|
367
390
|
* 唯一编号
|
|
368
391
|
* @defaultValue ''
|
|
@@ -386,24 +409,30 @@ export var RightVariable = function RightVariable(props) {
|
|
|
386
409
|
/**
|
|
387
410
|
* 右值
|
|
388
411
|
*/ _define_property(this, "rightVariableBo", void 0);
|
|
389
|
-
|
|
390
|
-
this.
|
|
391
|
-
|
|
392
|
-
this.
|
|
393
|
-
|
|
412
|
+
var _props_id;
|
|
413
|
+
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId();
|
|
414
|
+
var _props_ruleId;
|
|
415
|
+
this.ruleId = (_props_ruleId = props === null || props === void 0 ? void 0 : props.ruleId) !== null && _props_ruleId !== void 0 ? _props_ruleId : new Date().valueOf();
|
|
416
|
+
var _props_symbol;
|
|
417
|
+
this.symbol = (_props_symbol = props === null || props === void 0 ? void 0 : props.symbol) !== null && _props_symbol !== void 0 ? _props_symbol : '';
|
|
418
|
+
var _props_checked;
|
|
419
|
+
this.checked = (_props_checked = props === null || props === void 0 ? void 0 : props.checked) !== null && _props_checked !== void 0 ? _props_checked : false;
|
|
420
|
+
var _props_describe;
|
|
421
|
+
this.describe = (_props_describe = props === null || props === void 0 ? void 0 : props.describe) !== null && _props_describe !== void 0 ? _props_describe : '';
|
|
394
422
|
this.leftVariableBo = new LeftVariable(props === null || props === void 0 ? void 0 : props.leftVariableBo);
|
|
395
423
|
this.rightVariableBo = new RightVariable(props === null || props === void 0 ? void 0 : props.rightVariableBo);
|
|
396
424
|
};
|
|
397
425
|
export var JoinRelation = function JoinRelation(props) {
|
|
398
426
|
"use strict";
|
|
399
427
|
_class_call_check(this, JoinRelation);
|
|
400
|
-
var _ref, _ref1;
|
|
401
428
|
_define_property(this, "aliasCode", void 0);
|
|
402
429
|
_define_property(this, "datasourceBind", void 0);
|
|
403
430
|
_define_property(this, "relationFields", void 0);
|
|
404
|
-
|
|
431
|
+
var _props_aliasCode;
|
|
432
|
+
this.aliasCode = (_props_aliasCode = props === null || props === void 0 ? void 0 : props.aliasCode) !== null && _props_aliasCode !== void 0 ? _props_aliasCode : '';
|
|
405
433
|
this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
|
|
406
|
-
|
|
434
|
+
var _props_relationFields;
|
|
435
|
+
this.relationFields = (_props_relationFields = props === null || props === void 0 ? void 0 : props.relationFields) !== null && _props_relationFields !== void 0 ? _props_relationFields : [];
|
|
407
436
|
};
|
|
408
437
|
/**
|
|
409
438
|
* 数据填充项
|
|
@@ -411,7 +440,6 @@ export var JoinRelation = function JoinRelation(props) {
|
|
|
411
440
|
*/ export var MultistageFillingItem = function MultistageFillingItem(props) {
|
|
412
441
|
"use strict";
|
|
413
442
|
_class_call_check(this, MultistageFillingItem);
|
|
414
|
-
var _ref, _ref1, _ref2, _ref3;
|
|
415
443
|
/**
|
|
416
444
|
* 控件ID
|
|
417
445
|
* @defaultValue ''
|
|
@@ -432,10 +460,14 @@ export var JoinRelation = function JoinRelation(props) {
|
|
|
432
460
|
* @defaultValue ''
|
|
433
461
|
* @public
|
|
434
462
|
* */ _define_property(this, "propName", void 0);
|
|
435
|
-
|
|
436
|
-
this.
|
|
437
|
-
|
|
438
|
-
this.
|
|
463
|
+
var _props_controlId;
|
|
464
|
+
this.controlId = (_props_controlId = props === null || props === void 0 ? void 0 : props.controlId) !== null && _props_controlId !== void 0 ? _props_controlId : '';
|
|
465
|
+
var _props_fieldCode;
|
|
466
|
+
this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : '';
|
|
467
|
+
var _props_fieldType;
|
|
468
|
+
this.fieldType = (_props_fieldType = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _props_fieldType !== void 0 ? _props_fieldType : '';
|
|
469
|
+
var _props_propName;
|
|
470
|
+
this.propName = (_props_propName = props === null || props === void 0 ? void 0 : props.propName) !== null && _props_propName !== void 0 ? _props_propName : '';
|
|
439
471
|
};
|
|
440
472
|
/**
|
|
441
473
|
* 显示项
|
|
@@ -443,7 +475,6 @@ export var JoinRelation = function JoinRelation(props) {
|
|
|
443
475
|
*/ export var DisplayBoListItem = function DisplayBoListItem(props) {
|
|
444
476
|
"use strict";
|
|
445
477
|
_class_call_check(this, DisplayBoListItem);
|
|
446
|
-
var _ref, _ref1;
|
|
447
478
|
/**
|
|
448
479
|
* 显示项类型:字段 | 符号
|
|
449
480
|
* @defaultValue 'FIELD'
|
|
@@ -455,22 +486,25 @@ export var JoinRelation = function JoinRelation(props) {
|
|
|
455
486
|
/**
|
|
456
487
|
* 字段数据类型
|
|
457
488
|
*/ _define_property(this, "fieldType", void 0);
|
|
458
|
-
|
|
459
|
-
this.
|
|
489
|
+
var _props_type;
|
|
490
|
+
this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : 'FIELD';
|
|
491
|
+
var _props_value;
|
|
492
|
+
this.value = (_props_value = props === null || props === void 0 ? void 0 : props.value) !== null && _props_value !== void 0 ? _props_value : '';
|
|
460
493
|
this.fieldType = props === null || props === void 0 ? void 0 : props.fieldType;
|
|
461
494
|
};
|
|
462
495
|
export var OptionDisplayConfigItem = function OptionDisplayConfigItem(props) {
|
|
463
496
|
"use strict";
|
|
464
497
|
_class_call_check(this, OptionDisplayConfigItem);
|
|
465
|
-
var _ref, _ref1;
|
|
466
498
|
/**
|
|
467
499
|
* 标题
|
|
468
500
|
*/ _define_property(this, "title", void 0);
|
|
469
501
|
/**
|
|
470
502
|
* 字段数据类型
|
|
471
503
|
*/ _define_property(this, "displayBoList", void 0);
|
|
472
|
-
|
|
473
|
-
this.
|
|
504
|
+
var _props_title;
|
|
505
|
+
this.title = (_props_title = props === null || props === void 0 ? void 0 : props.title) !== null && _props_title !== void 0 ? _props_title : '';
|
|
506
|
+
var _props_displayBoList;
|
|
507
|
+
this.displayBoList = (_props_displayBoList = props === null || props === void 0 ? void 0 : props.displayBoList) !== null && _props_displayBoList !== void 0 ? _props_displayBoList : [];
|
|
474
508
|
};
|
|
475
509
|
/**
|
|
476
510
|
* 数据源排序项
|
|
@@ -478,7 +512,6 @@ export var OptionDisplayConfigItem = function OptionDisplayConfigItem(props) {
|
|
|
478
512
|
*/ export var DataSourceOrderItem = function DataSourceOrderItem(props) {
|
|
479
513
|
"use strict";
|
|
480
514
|
_class_call_check(this, DataSourceOrderItem);
|
|
481
|
-
var _props_columnName, _props_desc;
|
|
482
515
|
/**
|
|
483
516
|
* 列名
|
|
484
517
|
* @defaultValue ''
|
|
@@ -487,27 +520,30 @@ export var OptionDisplayConfigItem = function OptionDisplayConfigItem(props) {
|
|
|
487
520
|
* 倒序
|
|
488
521
|
* @defaultValue false
|
|
489
522
|
*/ _define_property(this, "desc", void 0);
|
|
523
|
+
var _props_columnName;
|
|
490
524
|
this.columnName = (_props_columnName = props.columnName) !== null && _props_columnName !== void 0 ? _props_columnName : '';
|
|
525
|
+
var _props_desc;
|
|
491
526
|
this.desc = (_props_desc = props.desc) !== null && _props_desc !== void 0 ? _props_desc : false;
|
|
492
527
|
};
|
|
493
528
|
export var DataSourceDataSetValue = function DataSourceDataSetValue(props) {
|
|
494
529
|
"use strict";
|
|
495
530
|
_class_call_check(this, DataSourceDataSetValue);
|
|
496
|
-
var _props_code, _props_value, _props_field_type;
|
|
497
531
|
// fieldCode
|
|
498
532
|
_define_property(this, "code", void 0);
|
|
499
533
|
// 值
|
|
500
534
|
_define_property(this, "value", void 0);
|
|
501
535
|
// 数据类型
|
|
502
536
|
_define_property(this, "field_type", void 0);
|
|
537
|
+
var _props_code;
|
|
503
538
|
this.code = (_props_code = props.code) !== null && _props_code !== void 0 ? _props_code : '';
|
|
539
|
+
var _props_value;
|
|
504
540
|
this.value = (_props_value = props.value) !== null && _props_value !== void 0 ? _props_value : '';
|
|
541
|
+
var _props_field_type;
|
|
505
542
|
this.field_type = (_props_field_type = props.field_type) !== null && _props_field_type !== void 0 ? _props_field_type : FieldTypes.ANY;
|
|
506
543
|
};
|
|
507
544
|
export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
508
545
|
"use strict";
|
|
509
546
|
_class_call_check(this, DataSourceParamItem);
|
|
510
|
-
var _props_id, _props_limit, _props_formKey, _ref, _ref1;
|
|
511
547
|
var _props_orders, _props_dataSet;
|
|
512
548
|
/**
|
|
513
549
|
* 字段ID
|
|
@@ -516,37 +552,44 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
|
516
552
|
_define_property(this, "orders", void 0);
|
|
517
553
|
_define_property(this, "formKey", void 0);
|
|
518
554
|
_define_property(this, "dataSet", void 0);
|
|
555
|
+
var _props_id;
|
|
519
556
|
//字段ID,不可以当作随机数生成唯一编号
|
|
520
557
|
this.id = (_props_id = props.id) !== null && _props_id !== void 0 ? _props_id : '';
|
|
558
|
+
var _props_limit;
|
|
521
559
|
this.limit = (_props_limit = props.limit) !== null && _props_limit !== void 0 ? _props_limit : 20;
|
|
560
|
+
var _props_formKey;
|
|
522
561
|
this.formKey = (_props_formKey = props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : '';
|
|
523
|
-
|
|
562
|
+
var _props_orders_map;
|
|
563
|
+
this.orders = (_props_orders_map = (_props_orders = props.orders) === null || _props_orders === void 0 ? void 0 : _props_orders.map(function(item) {
|
|
524
564
|
return new DataSourceOrderItem(item);
|
|
525
|
-
})) !== null &&
|
|
526
|
-
|
|
565
|
+
})) !== null && _props_orders_map !== void 0 ? _props_orders_map : [];
|
|
566
|
+
var _props_dataSet_map;
|
|
567
|
+
this.dataSet = (_props_dataSet_map = (_props_dataSet = props.dataSet) === null || _props_dataSet === void 0 ? void 0 : _props_dataSet.map(function(item) {
|
|
527
568
|
return new DataSourceDataSetValue(item);
|
|
528
|
-
})) !== null &&
|
|
569
|
+
})) !== null && _props_dataSet_map !== void 0 ? _props_dataSet_map : [];
|
|
529
570
|
};
|
|
530
571
|
/**
|
|
531
572
|
* 给filters和orders赋值
|
|
532
573
|
* */ function callFiltersAndOrders(props) {
|
|
533
|
-
var _ref, _ref1, _ref2;
|
|
534
574
|
var _props_filters, _props_viewFilters, _props_orders;
|
|
535
|
-
|
|
575
|
+
var _props_filters_map;
|
|
576
|
+
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) {
|
|
536
577
|
if (item.children !== undefined) {
|
|
537
578
|
return new FieldFilterConditions(item);
|
|
538
579
|
}
|
|
539
580
|
return new FieldFilterCondition(item);
|
|
540
|
-
})) !== null &&
|
|
541
|
-
|
|
581
|
+
})) !== null && _props_filters_map !== void 0 ? _props_filters_map : [];
|
|
582
|
+
var _props_viewFilters_map;
|
|
583
|
+
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) {
|
|
542
584
|
if (item.children !== undefined) {
|
|
543
585
|
return new FieldFilterConditions(item);
|
|
544
586
|
}
|
|
545
587
|
return new FieldFilterCondition(item);
|
|
546
|
-
})) !== null &&
|
|
547
|
-
|
|
588
|
+
})) !== null && _props_viewFilters_map !== void 0 ? _props_viewFilters_map : [];
|
|
589
|
+
var _props_orders_map;
|
|
590
|
+
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) {
|
|
548
591
|
return new DataSourceOrderItem(item);
|
|
549
|
-
})) !== null &&
|
|
592
|
+
})) !== null && _props_orders_map !== void 0 ? _props_orders_map : [];
|
|
550
593
|
// }
|
|
551
594
|
}
|
|
552
595
|
/**
|
|
@@ -556,7 +599,6 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
|
556
599
|
"use strict";
|
|
557
600
|
var _this = this;
|
|
558
601
|
_class_call_check(this, DataSourceBind);
|
|
559
|
-
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7;
|
|
560
602
|
/**
|
|
561
603
|
* 绑定数据源id
|
|
562
604
|
* @defaultValue ''
|
|
@@ -623,28 +665,35 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
|
623
665
|
* @defaultValue {}
|
|
624
666
|
* @public
|
|
625
667
|
*/ _define_property(this, "openAssignDepartment", void 0);
|
|
626
|
-
|
|
627
|
-
this.
|
|
628
|
-
|
|
668
|
+
var _props_dataCode;
|
|
669
|
+
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : '';
|
|
670
|
+
var _props_appId;
|
|
671
|
+
this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : '';
|
|
672
|
+
var _props_valueFieldCode;
|
|
673
|
+
this.valueFieldCode = (_props_valueFieldCode = props === null || props === void 0 ? void 0 : props.valueFieldCode) !== null && _props_valueFieldCode !== void 0 ? _props_valueFieldCode : '';
|
|
629
674
|
this.displayBoList = [];
|
|
630
|
-
|
|
675
|
+
var _props_isOpenViewFilters;
|
|
676
|
+
this.isOpenViewFilters = (_props_isOpenViewFilters = props === null || props === void 0 ? void 0 : props.isOpenViewFilters) !== null && _props_isOpenViewFilters !== void 0 ? _props_isOpenViewFilters : 0;
|
|
631
677
|
if (Array.isArray(props === null || props === void 0 ? void 0 : props.displayBoList)) {
|
|
632
678
|
props === null || props === void 0 ? void 0 : props.displayBoList.map(function(item) {
|
|
633
679
|
var _this_displayBoList;
|
|
634
680
|
(_this_displayBoList = _this.displayBoList) === null || _this_displayBoList === void 0 ? void 0 : _this_displayBoList.push(new DisplayBoListItem(item));
|
|
635
681
|
});
|
|
636
682
|
}
|
|
637
|
-
|
|
638
|
-
this.
|
|
639
|
-
|
|
683
|
+
var _props_keywordMapping;
|
|
684
|
+
this.keywordMapping = (_props_keywordMapping = props === null || props === void 0 ? void 0 : props.keywordMapping) !== null && _props_keywordMapping !== void 0 ? _props_keywordMapping : '';
|
|
685
|
+
var _props_showOrder;
|
|
686
|
+
this.showOrder = (_props_showOrder = props === null || props === void 0 ? void 0 : props.showOrder) !== null && _props_showOrder !== void 0 ? _props_showOrder : true;
|
|
687
|
+
var _props_svcCode;
|
|
688
|
+
this.svcCode = (_props_svcCode = props === null || props === void 0 ? void 0 : props.svcCode) !== null && _props_svcCode !== void 0 ? _props_svcCode : '';
|
|
640
689
|
this.assignDepartment = new RightVariable(props === null || props === void 0 ? void 0 : props.assignDepartment);
|
|
641
|
-
|
|
690
|
+
var _props_openAssignDepartment;
|
|
691
|
+
this.openAssignDepartment = (_props_openAssignDepartment = props === null || props === void 0 ? void 0 : props.openAssignDepartment) !== null && _props_openAssignDepartment !== void 0 ? _props_openAssignDepartment : false;
|
|
642
692
|
callFiltersAndOrders.call(this, props);
|
|
643
693
|
};
|
|
644
694
|
export var SelectedContentConfig = function SelectedContentConfig(props) {
|
|
645
695
|
"use strict";
|
|
646
696
|
_class_call_check(this, SelectedContentConfig);
|
|
647
|
-
var _ref, _ref1;
|
|
648
697
|
/**
|
|
649
698
|
* 展示已选内容
|
|
650
699
|
* @defaultValue ''
|
|
@@ -655,13 +704,14 @@ export var SelectedContentConfig = function SelectedContentConfig(props) {
|
|
|
655
704
|
* @defaultValue []
|
|
656
705
|
* @public
|
|
657
706
|
*/ _define_property(this, "displayBoList", void 0);
|
|
658
|
-
|
|
659
|
-
this.
|
|
707
|
+
var _props_dataCode;
|
|
708
|
+
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : '';
|
|
709
|
+
var _props_displayBoList;
|
|
710
|
+
this.displayBoList = (_props_displayBoList = props === null || props === void 0 ? void 0 : props.displayBoList) !== null && _props_displayBoList !== void 0 ? _props_displayBoList : [];
|
|
660
711
|
};
|
|
661
712
|
export var LinkOperationOption = function LinkOperationOption(props) {
|
|
662
713
|
"use strict";
|
|
663
714
|
_class_call_check(this, LinkOperationOption);
|
|
664
|
-
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9;
|
|
665
715
|
_define_property(this, "code", void 0);
|
|
666
716
|
_define_property(this, "color", void 0);
|
|
667
717
|
_define_property(this, "command", void 0);
|
|
@@ -673,31 +723,43 @@ export var LinkOperationOption = function LinkOperationOption(props) {
|
|
|
673
723
|
_define_property(this, "needConfirm", void 0);
|
|
674
724
|
_define_property(this, "openType", void 0);
|
|
675
725
|
_define_property(this, "priorityProcess", void 0);
|
|
676
|
-
|
|
677
|
-
this.
|
|
678
|
-
|
|
679
|
-
this.
|
|
680
|
-
|
|
681
|
-
this.
|
|
726
|
+
var _props_code;
|
|
727
|
+
this.code = (_props_code = props === null || props === void 0 ? void 0 : props.code) !== null && _props_code !== void 0 ? _props_code : 'view';
|
|
728
|
+
var _props_color;
|
|
729
|
+
this.color = (_props_color = props === null || props === void 0 ? void 0 : props.color) !== null && _props_color !== void 0 ? _props_color : 'primary';
|
|
730
|
+
var _props_command;
|
|
731
|
+
this.command = (_props_command = props === null || props === void 0 ? void 0 : props.command) !== null && _props_command !== void 0 ? _props_command : 'view';
|
|
732
|
+
var _props_confirmMessage;
|
|
733
|
+
this.confirmMessage = (_props_confirmMessage = props === null || props === void 0 ? void 0 : props.confirmMessage) !== null && _props_confirmMessage !== void 0 ? _props_confirmMessage : undefined;
|
|
734
|
+
var _props_defaultState;
|
|
735
|
+
this.defaultState = (_props_defaultState = props === null || props === void 0 ? void 0 : props.defaultState) !== null && _props_defaultState !== void 0 ? _props_defaultState : 'default';
|
|
736
|
+
var _props_formKey;
|
|
737
|
+
this.formKey = (_props_formKey = props === null || props === void 0 ? void 0 : props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : undefined;
|
|
682
738
|
this.formType = props === null || props === void 0 ? void 0 : props.formType;
|
|
683
|
-
|
|
684
|
-
this.
|
|
685
|
-
|
|
686
|
-
this.
|
|
739
|
+
var _props_icon;
|
|
740
|
+
this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : 'iconliulan1';
|
|
741
|
+
var _props_needConfirm;
|
|
742
|
+
this.needConfirm = (_props_needConfirm = props === null || props === void 0 ? void 0 : props.needConfirm) !== null && _props_needConfirm !== void 0 ? _props_needConfirm : false;
|
|
743
|
+
var _props_openType;
|
|
744
|
+
this.openType = (_props_openType = props === null || props === void 0 ? void 0 : props.openType) !== null && _props_openType !== void 0 ? _props_openType : 'modal';
|
|
745
|
+
var _props_priorityProcess;
|
|
746
|
+
this.priorityProcess = (_props_priorityProcess = props === null || props === void 0 ? void 0 : props.priorityProcess) !== null && _props_priorityProcess !== void 0 ? _props_priorityProcess : true;
|
|
687
747
|
};
|
|
688
748
|
export var CustomAttributeItem = function CustomAttributeItem(props) {
|
|
689
749
|
"use strict";
|
|
690
750
|
_class_call_check(this, CustomAttributeItem);
|
|
691
|
-
var _ref, _ref1, _ref2;
|
|
692
751
|
var _props_value;
|
|
693
752
|
_define_property(this, "name", void 0);
|
|
694
753
|
_define_property(this, "key", void 0);
|
|
695
754
|
_define_property(this, "value", void 0);
|
|
696
|
-
|
|
697
|
-
this.
|
|
698
|
-
|
|
755
|
+
var _props_name;
|
|
756
|
+
this.name = (_props_name = props === null || props === void 0 ? void 0 : props.name) !== null && _props_name !== void 0 ? _props_name : '';
|
|
757
|
+
var _props_key;
|
|
758
|
+
this.key = (_props_key = props === null || props === void 0 ? void 0 : props.key) !== null && _props_key !== void 0 ? _props_key : '';
|
|
759
|
+
var _props_value_map;
|
|
760
|
+
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) {
|
|
699
761
|
return new DisplayBoListItem(item);
|
|
700
|
-
})) !== null &&
|
|
762
|
+
})) !== null && _props_value_map !== void 0 ? _props_value_map : [];
|
|
701
763
|
};
|
|
702
764
|
export var SuperDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
703
765
|
"use strict";
|
|
@@ -705,14 +767,14 @@ export var SuperDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
|
705
767
|
function SuperDataSourceBind(props) {
|
|
706
768
|
_class_call_check(this, SuperDataSourceBind);
|
|
707
769
|
var _this;
|
|
708
|
-
var _ref;
|
|
709
770
|
var _props_attributes;
|
|
710
771
|
_this = _call_super(this, SuperDataSourceBind, [
|
|
711
772
|
props
|
|
712
773
|
]), _define_property(_this, "attributes", void 0);
|
|
713
|
-
|
|
774
|
+
var _props_attributes_map;
|
|
775
|
+
_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) {
|
|
714
776
|
return new CustomAttributeItem(item);
|
|
715
|
-
})) !== null &&
|
|
777
|
+
})) !== null && _props_attributes_map !== void 0 ? _props_attributes_map : [];
|
|
716
778
|
return _this;
|
|
717
779
|
}
|
|
718
780
|
return SuperDataSourceBind;
|
|
@@ -723,15 +785,16 @@ export var OrganizationDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
|
723
785
|
function OrganizationDataSourceBind(props) {
|
|
724
786
|
_class_call_check(this, OrganizationDataSourceBind);
|
|
725
787
|
var _this;
|
|
726
|
-
var _ref, _ref1;
|
|
727
788
|
var _props_attributes;
|
|
728
789
|
_this = _call_super(this, OrganizationDataSourceBind, [
|
|
729
790
|
props
|
|
730
791
|
]), _define_property(_this, "attributes", void 0), _define_property(_this, "formCode", void 0);
|
|
731
|
-
|
|
792
|
+
var _props_attributes_map;
|
|
793
|
+
_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) {
|
|
732
794
|
return new CustomAttributeItem(item);
|
|
733
|
-
})) !== null &&
|
|
734
|
-
|
|
795
|
+
})) !== null && _props_attributes_map !== void 0 ? _props_attributes_map : [];
|
|
796
|
+
var _props_formCode;
|
|
797
|
+
_this.formCode = (_props_formCode = props === null || props === void 0 ? void 0 : props.formCode) !== null && _props_formCode !== void 0 ? _props_formCode : '';
|
|
735
798
|
return _this;
|
|
736
799
|
}
|
|
737
800
|
return OrganizationDataSourceBind;
|
|
@@ -742,12 +805,12 @@ export var TreeDataSourceBind = /*#__PURE__*/ function(SuperDataSourceBind) {
|
|
|
742
805
|
function TreeDataSourceBind(props) {
|
|
743
806
|
_class_call_check(this, TreeDataSourceBind);
|
|
744
807
|
var _this;
|
|
745
|
-
var _ref;
|
|
746
808
|
_this = _call_super(this, TreeDataSourceBind, [
|
|
747
809
|
props
|
|
748
810
|
]), _define_property(_this, "rootNode", void 0), _define_property(_this, "filterCode", void 0);
|
|
749
811
|
_this.rootNode = new RightVariable(props === null || props === void 0 ? void 0 : props.rootNode);
|
|
750
|
-
|
|
812
|
+
var _props_filterCode;
|
|
813
|
+
_this.filterCode = (_props_filterCode = props === null || props === void 0 ? void 0 : props.filterCode) !== null && _props_filterCode !== void 0 ? _props_filterCode : '';
|
|
751
814
|
return _this;
|
|
752
815
|
}
|
|
753
816
|
return TreeDataSourceBind;
|
|
@@ -755,7 +818,6 @@ export var TreeDataSourceBind = /*#__PURE__*/ function(SuperDataSourceBind) {
|
|
|
755
818
|
var FillBind = function FillBind(props) {
|
|
756
819
|
"use strict";
|
|
757
820
|
_class_call_check(this, FillBind);
|
|
758
|
-
var _ref, _ref1, _ref2;
|
|
759
821
|
var _props_fillList;
|
|
760
822
|
/*
|
|
761
823
|
* 需要被填充的数据源
|
|
@@ -766,11 +828,14 @@ var FillBind = function FillBind(props) {
|
|
|
766
828
|
/*
|
|
767
829
|
* 执行填充的数据项和控件
|
|
768
830
|
* */ _define_property(this, "fillList", void 0);
|
|
769
|
-
|
|
770
|
-
this.
|
|
771
|
-
|
|
831
|
+
var _props_dataCode;
|
|
832
|
+
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : '';
|
|
833
|
+
var _props_appId;
|
|
834
|
+
this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : '';
|
|
835
|
+
var _props_fillList_map;
|
|
836
|
+
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) {
|
|
772
837
|
return new MultistageFillingItem(item);
|
|
773
|
-
})) !== null &&
|
|
838
|
+
})) !== null && _props_fillList_map !== void 0 ? _props_fillList_map : [];
|
|
774
839
|
};
|
|
775
840
|
/**
|
|
776
841
|
* FillPayloadBind 填充配置
|
|
@@ -811,7 +876,6 @@ var FillBind = function FillBind(props) {
|
|
|
811
876
|
function FillBackBind(props) {
|
|
812
877
|
_class_call_check(this, FillBackBind);
|
|
813
878
|
var _this;
|
|
814
|
-
var _ref, _ref1;
|
|
815
879
|
_this = _call_super(this, FillBackBind, [
|
|
816
880
|
props
|
|
817
881
|
]), /**
|
|
@@ -823,8 +887,10 @@ var FillBind = function FillBind(props) {
|
|
|
823
887
|
* @defaultValue false
|
|
824
888
|
* @public
|
|
825
889
|
*/ _define_property(_this, "multiple", void 0);
|
|
826
|
-
|
|
827
|
-
_this.
|
|
890
|
+
var _props_mode;
|
|
891
|
+
_this.mode = (_props_mode = props === null || props === void 0 ? void 0 : props.mode) !== null && _props_mode !== void 0 ? _props_mode : 'current';
|
|
892
|
+
var _props_multiple;
|
|
893
|
+
_this.multiple = (_props_multiple = props === null || props === void 0 ? void 0 : props.multiple) !== null && _props_multiple !== void 0 ? _props_multiple : false;
|
|
828
894
|
return _this;
|
|
829
895
|
}
|
|
830
896
|
return FillBackBind;
|
|
@@ -832,13 +898,15 @@ var FillBind = function FillBind(props) {
|
|
|
832
898
|
export var Language = function Language(props) {
|
|
833
899
|
"use strict";
|
|
834
900
|
_class_call_check(this, Language);
|
|
835
|
-
var _ref, _ref1, _ref2;
|
|
836
901
|
_define_property(this, "zh", void 0);
|
|
837
902
|
_define_property(this, "en", void 0);
|
|
838
903
|
_define_property(this, "ja", void 0);
|
|
839
|
-
|
|
840
|
-
this.
|
|
841
|
-
|
|
904
|
+
var _props_zh;
|
|
905
|
+
this.zh = (_props_zh = props === null || props === void 0 ? void 0 : props.zh) !== null && _props_zh !== void 0 ? _props_zh : '';
|
|
906
|
+
var _props_en;
|
|
907
|
+
this.en = (_props_en = props === null || props === void 0 ? void 0 : props.en) !== null && _props_en !== void 0 ? _props_en : '';
|
|
908
|
+
var _props_ja;
|
|
909
|
+
this.ja = (_props_ja = props === null || props === void 0 ? void 0 : props.ja) !== null && _props_ja !== void 0 ? _props_ja : '';
|
|
842
910
|
};
|
|
843
911
|
/**
|
|
844
912
|
* 正则校验
|
|
@@ -846,7 +914,6 @@ export var Language = function Language(props) {
|
|
|
846
914
|
*/ export var RegularRules = function RegularRules(props) {
|
|
847
915
|
"use strict";
|
|
848
916
|
_class_call_check(this, RegularRules);
|
|
849
|
-
var _ref, _ref1, _ref2;
|
|
850
917
|
/**
|
|
851
918
|
* 内置模版
|
|
852
919
|
* @defaultValue ''
|
|
@@ -859,9 +926,12 @@ export var Language = function Language(props) {
|
|
|
859
926
|
* 校验错误提示信息
|
|
860
927
|
* @defaultValue ''
|
|
861
928
|
*/ _define_property(this, "errMessage", void 0);
|
|
862
|
-
|
|
863
|
-
this.
|
|
864
|
-
|
|
929
|
+
var _props_stencilName;
|
|
930
|
+
this.stencilName = (_props_stencilName = props === null || props === void 0 ? void 0 : props.stencilName) !== null && _props_stencilName !== void 0 ? _props_stencilName : '';
|
|
931
|
+
var _props_expression;
|
|
932
|
+
this.expression = (_props_expression = props === null || props === void 0 ? void 0 : props.expression) !== null && _props_expression !== void 0 ? _props_expression : '';
|
|
933
|
+
var _props_errMessage;
|
|
934
|
+
this.errMessage = (_props_errMessage = props === null || props === void 0 ? void 0 : props.errMessage) !== null && _props_errMessage !== void 0 ? _props_errMessage : '';
|
|
865
935
|
};
|
|
866
936
|
/**
|
|
867
937
|
* 选项设置-自定义选项
|
|
@@ -869,7 +939,6 @@ export var Language = function Language(props) {
|
|
|
869
939
|
*/ export var OptionSetting = function OptionSetting(props) {
|
|
870
940
|
"use strict";
|
|
871
941
|
_class_call_check(this, OptionSetting);
|
|
872
|
-
var _ref, _ref1, _ref2, _ref3;
|
|
873
942
|
_define_property(this, "id", void 0);
|
|
874
943
|
/**
|
|
875
944
|
* 显示值
|
|
@@ -886,10 +955,14 @@ export var Language = function Language(props) {
|
|
|
886
955
|
* @defaultValue
|
|
887
956
|
* @public
|
|
888
957
|
*/ _define_property(this, "color", void 0);
|
|
889
|
-
|
|
890
|
-
this.
|
|
891
|
-
|
|
892
|
-
this.
|
|
958
|
+
var _props_id;
|
|
959
|
+
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId(8);
|
|
960
|
+
var _props_label;
|
|
961
|
+
this.label = (_props_label = props === null || props === void 0 ? void 0 : props.label) !== null && _props_label !== void 0 ? _props_label : '';
|
|
962
|
+
var _props_value;
|
|
963
|
+
this.value = (_props_value = props === null || props === void 0 ? void 0 : props.value) !== null && _props_value !== void 0 ? _props_value : this.label;
|
|
964
|
+
var _props_color;
|
|
965
|
+
this.color = (_props_color = props === null || props === void 0 ? void 0 : props.color) !== null && _props_color !== void 0 ? _props_color : '';
|
|
893
966
|
};
|
|
894
967
|
export var ImageOptionSetting = /*#__PURE__*/ function(OptionSetting) {
|
|
895
968
|
"use strict";
|
|
@@ -897,12 +970,13 @@ export var ImageOptionSetting = /*#__PURE__*/ function(OptionSetting) {
|
|
|
897
970
|
function ImageOptionSetting(props) {
|
|
898
971
|
_class_call_check(this, ImageOptionSetting);
|
|
899
972
|
var _this;
|
|
900
|
-
var _ref, _ref1;
|
|
901
973
|
_this = _call_super(this, ImageOptionSetting, [
|
|
902
974
|
props
|
|
903
975
|
]), _define_property(_this, "image", void 0), _define_property(_this, "type", void 0);
|
|
904
|
-
|
|
905
|
-
_this.
|
|
976
|
+
var _props_image;
|
|
977
|
+
_this.image = (_props_image = props === null || props === void 0 ? void 0 : props.image) !== null && _props_image !== void 0 ? _props_image : '';
|
|
978
|
+
var _props_type;
|
|
979
|
+
_this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : 'src';
|
|
906
980
|
return _this;
|
|
907
981
|
}
|
|
908
982
|
return ImageOptionSetting;
|
|
@@ -913,33 +987,34 @@ export var AiOptionSetting = /*#__PURE__*/ function(OptionSetting) {
|
|
|
913
987
|
function AiOptionSetting(props) {
|
|
914
988
|
_class_call_check(this, AiOptionSetting);
|
|
915
989
|
var _this;
|
|
916
|
-
var _ref, _ref1;
|
|
917
990
|
_this = _call_super(this, AiOptionSetting, [
|
|
918
991
|
props
|
|
919
992
|
]), _define_property(_this, "cueWord", void 0), _define_property(_this, "checked", void 0);
|
|
920
|
-
|
|
921
|
-
_this.
|
|
993
|
+
var _props_cueWord;
|
|
994
|
+
_this.cueWord = (_props_cueWord = props === null || props === void 0 ? void 0 : props.cueWord) !== null && _props_cueWord !== void 0 ? _props_cueWord : '';
|
|
995
|
+
var _props_checked;
|
|
996
|
+
_this.checked = (_props_checked = props === null || props === void 0 ? void 0 : props.checked) !== null && _props_checked !== void 0 ? _props_checked : false;
|
|
922
997
|
return _this;
|
|
923
998
|
}
|
|
924
999
|
return AiOptionSetting;
|
|
925
1000
|
}(OptionSetting);
|
|
926
1001
|
export function initOptions(options) {
|
|
927
|
-
var
|
|
928
|
-
return (
|
|
1002
|
+
var _options_map;
|
|
1003
|
+
return (_options_map = options === null || options === void 0 ? void 0 : options.map(function(item) {
|
|
929
1004
|
return new OptionSetting(item);
|
|
930
|
-
})) !== null &&
|
|
1005
|
+
})) !== null && _options_map !== void 0 ? _options_map : [];
|
|
931
1006
|
}
|
|
932
1007
|
export function initImageOptions(options) {
|
|
933
|
-
var
|
|
934
|
-
return (
|
|
1008
|
+
var _options_map;
|
|
1009
|
+
return (_options_map = options === null || options === void 0 ? void 0 : options.map(function(item) {
|
|
935
1010
|
return new ImageOptionSetting(item);
|
|
936
|
-
})) !== null &&
|
|
1011
|
+
})) !== null && _options_map !== void 0 ? _options_map : [];
|
|
937
1012
|
}
|
|
938
1013
|
export function initAiOptions(options) {
|
|
939
|
-
var
|
|
940
|
-
return (
|
|
1014
|
+
var _options_map;
|
|
1015
|
+
return (_options_map = options === null || options === void 0 ? void 0 : options.map(function(item) {
|
|
941
1016
|
return new AiOptionSetting(item);
|
|
942
|
-
})) !== null &&
|
|
1017
|
+
})) !== null && _options_map !== void 0 ? _options_map : [];
|
|
943
1018
|
}
|
|
944
1019
|
/**
|
|
945
1020
|
* 对象类型数据绑定配置
|
|
@@ -974,7 +1049,6 @@ export function initAiOptions(options) {
|
|
|
974
1049
|
*/ export var AmountValue = function AmountValue(props) {
|
|
975
1050
|
"use strict";
|
|
976
1051
|
_class_call_check(this, AmountValue);
|
|
977
|
-
var _ref, _ref1;
|
|
978
1052
|
/**
|
|
979
1053
|
* 金额值
|
|
980
1054
|
* @defaultValue ''
|
|
@@ -983,8 +1057,10 @@ export function initAiOptions(options) {
|
|
|
983
1057
|
* 货币值
|
|
984
1058
|
* @defaultValue 'CNY'
|
|
985
1059
|
*/ _define_property(this, "currency", void 0);
|
|
986
|
-
|
|
987
|
-
this.
|
|
1060
|
+
var _props_amount;
|
|
1061
|
+
this.amount = (_props_amount = props === null || props === void 0 ? void 0 : props.amount) !== null && _props_amount !== void 0 ? _props_amount : '';
|
|
1062
|
+
var _props_currency;
|
|
1063
|
+
this.currency = (_props_currency = props === null || props === void 0 ? void 0 : props.currency) !== null && _props_currency !== void 0 ? _props_currency : "CNY";
|
|
988
1064
|
};
|
|
989
1065
|
/**
|
|
990
1066
|
* 日期区间数据绑定项
|
|
@@ -1012,7 +1088,6 @@ export function initAiOptions(options) {
|
|
|
1012
1088
|
*/ export var RangeDateValue = function RangeDateValue(props) {
|
|
1013
1089
|
"use strict";
|
|
1014
1090
|
_class_call_check(this, RangeDateValue);
|
|
1015
|
-
var _ref, _ref1;
|
|
1016
1091
|
/**
|
|
1017
1092
|
* 开始日期值
|
|
1018
1093
|
* @defaultValue ''
|
|
@@ -1021,8 +1096,10 @@ export function initAiOptions(options) {
|
|
|
1021
1096
|
* 结束日期值
|
|
1022
1097
|
* @defaultValue ''
|
|
1023
1098
|
*/ _define_property(this, "max", void 0);
|
|
1024
|
-
|
|
1025
|
-
this.
|
|
1099
|
+
var _props_min;
|
|
1100
|
+
this.min = (_props_min = props === null || props === void 0 ? void 0 : props.min) !== null && _props_min !== void 0 ? _props_min : '';
|
|
1101
|
+
var _props_max;
|
|
1102
|
+
this.max = (_props_max = props === null || props === void 0 ? void 0 : props.max) !== null && _props_max !== void 0 ? _props_max : '';
|
|
1026
1103
|
};
|
|
1027
1104
|
/**
|
|
1028
1105
|
* 地址值
|
|
@@ -1030,7 +1107,6 @@ export function initAiOptions(options) {
|
|
|
1030
1107
|
*/ export var AddressValue = function AddressValue(props) {
|
|
1031
1108
|
"use strict";
|
|
1032
1109
|
_class_call_check(this, AddressValue);
|
|
1033
|
-
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5;
|
|
1034
1110
|
/**
|
|
1035
1111
|
* 市编码
|
|
1036
1112
|
* @defaultValue ''
|
|
@@ -1055,12 +1131,18 @@ export function initAiOptions(options) {
|
|
|
1055
1131
|
* 省显示文字
|
|
1056
1132
|
* @defaultValue ''
|
|
1057
1133
|
*/ _define_property(this, "provinceDisplay", void 0);
|
|
1058
|
-
|
|
1059
|
-
this.
|
|
1060
|
-
|
|
1061
|
-
this.
|
|
1062
|
-
|
|
1063
|
-
this.
|
|
1134
|
+
var _props_city;
|
|
1135
|
+
this.city = (_props_city = props === null || props === void 0 ? void 0 : props.city) !== null && _props_city !== void 0 ? _props_city : '';
|
|
1136
|
+
var _props_cityDisplay;
|
|
1137
|
+
this.cityDisplay = (_props_cityDisplay = props === null || props === void 0 ? void 0 : props.cityDisplay) !== null && _props_cityDisplay !== void 0 ? _props_cityDisplay : '';
|
|
1138
|
+
var _props_district;
|
|
1139
|
+
this.district = (_props_district = props === null || props === void 0 ? void 0 : props.district) !== null && _props_district !== void 0 ? _props_district : '';
|
|
1140
|
+
var _props_districtDisplay;
|
|
1141
|
+
this.districtDisplay = (_props_districtDisplay = props === null || props === void 0 ? void 0 : props.districtDisplay) !== null && _props_districtDisplay !== void 0 ? _props_districtDisplay : '';
|
|
1142
|
+
var _props_province;
|
|
1143
|
+
this.province = (_props_province = props === null || props === void 0 ? void 0 : props.province) !== null && _props_province !== void 0 ? _props_province : '';
|
|
1144
|
+
var _props_provinceDisplay;
|
|
1145
|
+
this.provinceDisplay = (_props_provinceDisplay = props === null || props === void 0 ? void 0 : props.provinceDisplay) !== null && _props_provinceDisplay !== void 0 ? _props_provinceDisplay : '';
|
|
1064
1146
|
};
|
|
1065
1147
|
/**
|
|
1066
1148
|
* 计算公式数据绑定项
|
|
@@ -1088,7 +1170,6 @@ export function initAiOptions(options) {
|
|
|
1088
1170
|
*/ export var CalcValue = function CalcValue(props) {
|
|
1089
1171
|
"use strict";
|
|
1090
1172
|
_class_call_check(this, CalcValue);
|
|
1091
|
-
var _ref, _ref1;
|
|
1092
1173
|
/**
|
|
1093
1174
|
* 计算结果值
|
|
1094
1175
|
* @defaultValue 0
|
|
@@ -1097,8 +1178,10 @@ export function initAiOptions(options) {
|
|
|
1097
1178
|
* 单位
|
|
1098
1179
|
* @defaultValue ''
|
|
1099
1180
|
*/ _define_property(this, "unit", void 0);
|
|
1100
|
-
|
|
1101
|
-
this.
|
|
1181
|
+
var _props_result;
|
|
1182
|
+
this.result = (_props_result = props === null || props === void 0 ? void 0 : props.result) !== null && _props_result !== void 0 ? _props_result : 0;
|
|
1183
|
+
var _props_unit;
|
|
1184
|
+
this.unit = (_props_unit = props === null || props === void 0 ? void 0 : props.unit) !== null && _props_unit !== void 0 ? _props_unit : '';
|
|
1102
1185
|
};
|
|
1103
1186
|
// 币种类型
|
|
1104
1187
|
export var AMOUNT_TYPE = /*#__PURE__*/ function(AMOUNT_TYPE) {
|
|
@@ -1196,7 +1279,6 @@ export var PAGE_STATUS = /*#__PURE__*/ function(PAGE_STATUS) {
|
|
|
1196
1279
|
*/ export var OperationItem = function OperationItem(props) {
|
|
1197
1280
|
"use strict";
|
|
1198
1281
|
_class_call_check(this, OperationItem);
|
|
1199
|
-
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5;
|
|
1200
1282
|
/**
|
|
1201
1283
|
* 是否显示
|
|
1202
1284
|
* @defaultValue true
|
|
@@ -1223,28 +1305,36 @@ export var PAGE_STATUS = /*#__PURE__*/ function(PAGE_STATUS) {
|
|
|
1223
1305
|
* @public
|
|
1224
1306
|
*/ _define_property(this, "openType", void 0);
|
|
1225
1307
|
_define_property(this, "type", void 0);
|
|
1226
|
-
|
|
1227
|
-
this.
|
|
1228
|
-
|
|
1229
|
-
this.
|
|
1230
|
-
|
|
1231
|
-
this.
|
|
1308
|
+
var _props_isShow;
|
|
1309
|
+
this.isShow = (_props_isShow = props === null || props === void 0 ? void 0 : props.isShow) !== null && _props_isShow !== void 0 ? _props_isShow : true;
|
|
1310
|
+
var _props_content;
|
|
1311
|
+
this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : '';
|
|
1312
|
+
var _props_formKey;
|
|
1313
|
+
this.formKey = (_props_formKey = props === null || props === void 0 ? void 0 : props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : '';
|
|
1314
|
+
var _props_openType;
|
|
1315
|
+
this.openType = (_props_openType = props === null || props === void 0 ? void 0 : props.openType) !== null && _props_openType !== void 0 ? _props_openType : 'modal';
|
|
1316
|
+
var _props_type;
|
|
1317
|
+
this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : '';
|
|
1318
|
+
var _props_priorityProcess;
|
|
1319
|
+
this.priorityProcess = (_props_priorityProcess = props === null || props === void 0 ? void 0 : props.priorityProcess) !== null && _props_priorityProcess !== void 0 ? _props_priorityProcess : false;
|
|
1232
1320
|
};
|
|
1233
1321
|
export var ViewOperationItem = function ViewOperationItem(props) {
|
|
1234
1322
|
"use strict";
|
|
1235
1323
|
_class_call_check(this, ViewOperationItem);
|
|
1236
|
-
var _ref, _ref1, _ref2;
|
|
1237
1324
|
var _props_headers;
|
|
1238
1325
|
_define_property(this, "id", void 0);
|
|
1239
1326
|
_define_property(this, "title", void 0);
|
|
1240
1327
|
_define_property(this, "filters", void 0);
|
|
1241
1328
|
_define_property(this, "viewFilters", void 0);
|
|
1242
1329
|
_define_property(this, "headers", void 0);
|
|
1243
|
-
|
|
1244
|
-
this.
|
|
1245
|
-
|
|
1330
|
+
var _props_id;
|
|
1331
|
+
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId(8);
|
|
1332
|
+
var _props_title;
|
|
1333
|
+
this.title = (_props_title = props === null || props === void 0 ? void 0 : props.title) !== null && _props_title !== void 0 ? _props_title : '';
|
|
1334
|
+
var _props_headers_map;
|
|
1335
|
+
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) {
|
|
1246
1336
|
return new ListBindHeaderItem(item);
|
|
1247
|
-
})) !== null &&
|
|
1337
|
+
})) !== null && _props_headers_map !== void 0 ? _props_headers_map : [];
|
|
1248
1338
|
callFiltersAndOrders.call(this, props);
|
|
1249
1339
|
};
|
|
1250
1340
|
/**
|
|
@@ -1252,33 +1342,36 @@ export var ViewOperationItem = function ViewOperationItem(props) {
|
|
|
1252
1342
|
*/ export var CustomPermissionItem = function CustomPermissionItem(props) {
|
|
1253
1343
|
"use strict";
|
|
1254
1344
|
_class_call_check(this, CustomPermissionItem);
|
|
1255
|
-
var _props_key, _props_caption;
|
|
1256
1345
|
/**
|
|
1257
1346
|
* 人工输入的权限key
|
|
1258
1347
|
*/ _define_property(this, "key", void 0);
|
|
1259
1348
|
/**
|
|
1260
1349
|
* 权限名称
|
|
1261
1350
|
*/ _define_property(this, "caption", void 0);
|
|
1351
|
+
var _props_key;
|
|
1262
1352
|
this.key = (_props_key = props.key) !== null && _props_key !== void 0 ? _props_key : genNonDuplicateId(8);
|
|
1353
|
+
var _props_caption;
|
|
1263
1354
|
this.caption = (_props_caption = props.caption) !== null && _props_caption !== void 0 ? _props_caption : '';
|
|
1264
1355
|
};
|
|
1265
1356
|
export var BaseStyle = function BaseStyle(props) {
|
|
1266
1357
|
"use strict";
|
|
1267
1358
|
_class_call_check(this, BaseStyle);
|
|
1268
|
-
var _ref, _ref1, _ref2, _ref3;
|
|
1269
1359
|
_define_property(this, "width", void 0);
|
|
1270
1360
|
_define_property(this, "height", void 0);
|
|
1271
1361
|
_define_property(this, "widthConfig", void 0);
|
|
1272
1362
|
_define_property(this, "heightConfig", void 0);
|
|
1273
|
-
|
|
1274
|
-
this.
|
|
1275
|
-
|
|
1276
|
-
this.
|
|
1363
|
+
var _props_width;
|
|
1364
|
+
this.width = (_props_width = props === null || props === void 0 ? void 0 : props.width) !== null && _props_width !== void 0 ? _props_width : '';
|
|
1365
|
+
var _props_height;
|
|
1366
|
+
this.height = (_props_height = props === null || props === void 0 ? void 0 : props.height) !== null && _props_height !== void 0 ? _props_height : '';
|
|
1367
|
+
var _props_widthConfig;
|
|
1368
|
+
this.widthConfig = (_props_widthConfig = props === null || props === void 0 ? void 0 : props.widthConfig) !== null && _props_widthConfig !== void 0 ? _props_widthConfig : 'fill';
|
|
1369
|
+
var _props_heightConfig;
|
|
1370
|
+
this.heightConfig = (_props_heightConfig = props === null || props === void 0 ? void 0 : props.heightConfig) !== null && _props_heightConfig !== void 0 ? _props_heightConfig : 'fill';
|
|
1277
1371
|
};
|
|
1278
1372
|
export var OptObject = function OptObject(props) {
|
|
1279
1373
|
"use strict";
|
|
1280
1374
|
_class_call_check(this, OptObject);
|
|
1281
|
-
var _ref, _ref1;
|
|
1282
1375
|
/**
|
|
1283
1376
|
* 操作项编码
|
|
1284
1377
|
* @defaultValue ''
|
|
@@ -1289,13 +1382,14 @@ export var OptObject = function OptObject(props) {
|
|
|
1289
1382
|
* @defaultValue ''
|
|
1290
1383
|
* @public
|
|
1291
1384
|
*/ _define_property(this, "optType", void 0);
|
|
1292
|
-
|
|
1293
|
-
this.
|
|
1385
|
+
var _props_optCode;
|
|
1386
|
+
this.optCode = (_props_optCode = props === null || props === void 0 ? void 0 : props.optCode) !== null && _props_optCode !== void 0 ? _props_optCode : '';
|
|
1387
|
+
var _props_optType;
|
|
1388
|
+
this.optType = (_props_optType = props === null || props === void 0 ? void 0 : props.optType) !== null && _props_optType !== void 0 ? _props_optType : '';
|
|
1294
1389
|
};
|
|
1295
1390
|
export var RowStyleRule = function RowStyleRule(props) {
|
|
1296
1391
|
"use strict";
|
|
1297
1392
|
_class_call_check(this, RowStyleRule);
|
|
1298
|
-
var _ref, _ref1, _ref2, _ref3;
|
|
1299
1393
|
var _props_filters, _props_settings;
|
|
1300
1394
|
/**
|
|
1301
1395
|
* 规则编号
|
|
@@ -1315,23 +1409,26 @@ export var RowStyleRule = function RowStyleRule(props) {
|
|
|
1315
1409
|
*/ _define_property(this, "filters", void 0);
|
|
1316
1410
|
// 过滤
|
|
1317
1411
|
_define_property(this, "script", void 0);
|
|
1318
|
-
|
|
1319
|
-
this.
|
|
1320
|
-
|
|
1412
|
+
var _props_id;
|
|
1413
|
+
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId();
|
|
1414
|
+
var _props_name;
|
|
1415
|
+
this.name = (_props_name = props === null || props === void 0 ? void 0 : props.name) !== null && _props_name !== void 0 ? _props_name : '';
|
|
1416
|
+
var _props_filters_map;
|
|
1417
|
+
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) {
|
|
1321
1418
|
if (item.children !== undefined) {
|
|
1322
1419
|
return new FieldFilterConditions(item);
|
|
1323
1420
|
}
|
|
1324
1421
|
return new FieldFilterCondition(item);
|
|
1325
|
-
})) !== null &&
|
|
1326
|
-
|
|
1422
|
+
})) !== null && _props_filters_map !== void 0 ? _props_filters_map : [];
|
|
1423
|
+
var _props_settings_map;
|
|
1424
|
+
this.settings = (props === null || props === void 0 ? void 0 : props.settings) && Array.isArray(props === null || props === void 0 ? void 0 : props.settings) ? (_props_settings_map = props === null || props === void 0 ? void 0 : (_props_settings = props.settings) === null || _props_settings === void 0 ? void 0 : _props_settings.map(function(item) {
|
|
1327
1425
|
return new RowStyleSettings(item);
|
|
1328
|
-
})) !== null &&
|
|
1426
|
+
})) !== null && _props_settings_map !== void 0 ? _props_settings_map : [] : [];
|
|
1329
1427
|
this.script = props === null || props === void 0 ? void 0 : props.script;
|
|
1330
1428
|
};
|
|
1331
1429
|
export var RowStyleSettings = function RowStyleSettings(props) {
|
|
1332
1430
|
"use strict";
|
|
1333
1431
|
_class_call_check(this, RowStyleSettings);
|
|
1334
|
-
var _props_type, _props_fieldCodes, _props_color, _props_scope;
|
|
1335
1432
|
/**
|
|
1336
1433
|
* 颜色值。theme:跟随主题色;#4c78fc:具体颜色值
|
|
1337
1434
|
* @defaultValue 'theme'
|
|
@@ -1346,31 +1443,36 @@ export var RowStyleSettings = function RowStyleSettings(props) {
|
|
|
1346
1443
|
/**
|
|
1347
1444
|
* 作用范围,row整行,col整列
|
|
1348
1445
|
*/ _define_property(this, "scope", void 0);
|
|
1446
|
+
var _props_type;
|
|
1349
1447
|
this.type = (_props_type = props.type) !== null && _props_type !== void 0 ? _props_type : 'background';
|
|
1448
|
+
var _props_fieldCodes;
|
|
1350
1449
|
this.fieldCodes = (_props_fieldCodes = props.fieldCodes) !== null && _props_fieldCodes !== void 0 ? _props_fieldCodes : [];
|
|
1450
|
+
var _props_color;
|
|
1351
1451
|
this.color = (_props_color = props.color) !== null && _props_color !== void 0 ? _props_color : 'theme';
|
|
1452
|
+
var _props_scope;
|
|
1352
1453
|
this.scope = (_props_scope = props.scope) !== null && _props_scope !== void 0 ? _props_scope : 'row';
|
|
1353
1454
|
};
|
|
1354
1455
|
export var RowStyle = function RowStyle(props) {
|
|
1355
1456
|
"use strict";
|
|
1356
1457
|
_class_call_check(this, RowStyle);
|
|
1357
|
-
var _ref, _ref1, _ref2;
|
|
1358
1458
|
var _props_rules;
|
|
1359
1459
|
_define_property(this, "type", void 0);
|
|
1360
1460
|
_define_property(this, "interval", void 0);
|
|
1361
1461
|
_define_property(this, "rules", void 0);
|
|
1362
|
-
|
|
1363
|
-
this.
|
|
1462
|
+
var _props_type;
|
|
1463
|
+
this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : 'none';
|
|
1464
|
+
var _props_interval;
|
|
1465
|
+
this.interval = (_props_interval = props === null || props === void 0 ? void 0 : props.interval) !== null && _props_interval !== void 0 ? _props_interval : {
|
|
1364
1466
|
color: ''
|
|
1365
1467
|
};
|
|
1366
|
-
|
|
1468
|
+
var _props_rules_map;
|
|
1469
|
+
this.rules = (props === null || props === void 0 ? void 0 : props.rules) && Array.isArray(props === null || props === void 0 ? void 0 : props.rules) ? (_props_rules_map = props === null || props === void 0 ? void 0 : (_props_rules = props.rules) === null || _props_rules === void 0 ? void 0 : _props_rules.map(function(item) {
|
|
1367
1470
|
return new RowStyleRule(item);
|
|
1368
|
-
})) !== null &&
|
|
1471
|
+
})) !== null && _props_rules_map !== void 0 ? _props_rules_map : [] : [];
|
|
1369
1472
|
};
|
|
1370
1473
|
export var ListTreeData = function ListTreeData(props) {
|
|
1371
1474
|
"use strict";
|
|
1372
1475
|
_class_call_check(this, ListTreeData);
|
|
1373
|
-
var _ref, _ref1, _ref2, _ref3, _ref4;
|
|
1374
1476
|
// 是否默认展开分组 -1:全展开,0:不展开
|
|
1375
1477
|
_define_property(this, "groupDefaultExpanded", void 0);
|
|
1376
1478
|
// 是否显示每个分组行数统计
|
|
@@ -1381,64 +1483,77 @@ export var ListTreeData = function ListTreeData(props) {
|
|
|
1381
1483
|
_define_property(this, "groupHeaderName", void 0);
|
|
1382
1484
|
// 显示页脚统计按钮,当去掉序号列时能支持统计
|
|
1383
1485
|
_define_property(this, "showFooterStatistics", void 0);
|
|
1384
|
-
|
|
1385
|
-
this.
|
|
1386
|
-
|
|
1387
|
-
this.
|
|
1388
|
-
|
|
1486
|
+
var _props_groupDefaultExpanded;
|
|
1487
|
+
this.groupDefaultExpanded = (_props_groupDefaultExpanded = props === null || props === void 0 ? void 0 : props.groupDefaultExpanded) !== null && _props_groupDefaultExpanded !== void 0 ? _props_groupDefaultExpanded : false;
|
|
1488
|
+
var _props_suppressCount;
|
|
1489
|
+
this.suppressCount = (_props_suppressCount = props === null || props === void 0 ? void 0 : props.suppressCount) !== null && _props_suppressCount !== void 0 ? _props_suppressCount : false;
|
|
1490
|
+
var _props_groupFields;
|
|
1491
|
+
this.groupFields = (_props_groupFields = props === null || props === void 0 ? void 0 : props.groupFields) !== null && _props_groupFields !== void 0 ? _props_groupFields : [];
|
|
1492
|
+
var _props_groupHeaderName;
|
|
1493
|
+
this.groupHeaderName = (_props_groupHeaderName = props === null || props === void 0 ? void 0 : props.groupHeaderName) !== null && _props_groupHeaderName !== void 0 ? _props_groupHeaderName : '';
|
|
1494
|
+
var _props_showFooterStatistics;
|
|
1495
|
+
this.showFooterStatistics = (_props_showFooterStatistics = props === null || props === void 0 ? void 0 : props.showFooterStatistics) !== null && _props_showFooterStatistics !== void 0 ? _props_showFooterStatistics : false;
|
|
1389
1496
|
};
|
|
1390
1497
|
export var MasterDetail = function MasterDetail(props) {
|
|
1391
1498
|
"use strict";
|
|
1392
1499
|
_class_call_check(this, MasterDetail);
|
|
1393
|
-
var _ref;
|
|
1394
1500
|
_define_property(this, "datasourceBind", void 0);
|
|
1395
1501
|
_define_property(this, "headers", void 0);
|
|
1396
1502
|
this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
|
|
1397
|
-
|
|
1503
|
+
var _props_headers;
|
|
1504
|
+
this.headers = (_props_headers = props === null || props === void 0 ? void 0 : props.headers) !== null && _props_headers !== void 0 ? _props_headers : [];
|
|
1398
1505
|
};
|
|
1399
1506
|
export var Margin = function Margin(props) {
|
|
1400
1507
|
"use strict";
|
|
1401
1508
|
_class_call_check(this, Margin);
|
|
1402
|
-
var _ref, _ref1, _ref2, _ref3;
|
|
1403
1509
|
_define_property(this, "marginTop", void 0);
|
|
1404
1510
|
_define_property(this, "marginRight", void 0);
|
|
1405
1511
|
_define_property(this, "marginBottom", void 0);
|
|
1406
1512
|
_define_property(this, "marginLeft", void 0);
|
|
1407
|
-
|
|
1408
|
-
this.
|
|
1409
|
-
|
|
1410
|
-
this.
|
|
1513
|
+
var _props_marginTop;
|
|
1514
|
+
this.marginTop = (_props_marginTop = props === null || props === void 0 ? void 0 : props.marginTop) !== null && _props_marginTop !== void 0 ? _props_marginTop : '';
|
|
1515
|
+
var _props_marginRight;
|
|
1516
|
+
this.marginRight = (_props_marginRight = props === null || props === void 0 ? void 0 : props.marginRight) !== null && _props_marginRight !== void 0 ? _props_marginRight : '';
|
|
1517
|
+
var _props_marginBottom;
|
|
1518
|
+
this.marginBottom = (_props_marginBottom = props === null || props === void 0 ? void 0 : props.marginBottom) !== null && _props_marginBottom !== void 0 ? _props_marginBottom : '';
|
|
1519
|
+
var _props_marginLeft;
|
|
1520
|
+
this.marginLeft = (_props_marginLeft = props === null || props === void 0 ? void 0 : props.marginLeft) !== null && _props_marginLeft !== void 0 ? _props_marginLeft : '';
|
|
1411
1521
|
};
|
|
1412
1522
|
export var Padding = function Padding(props) {
|
|
1413
1523
|
"use strict";
|
|
1414
1524
|
_class_call_check(this, Padding);
|
|
1415
|
-
var _ref, _ref1, _ref2, _ref3;
|
|
1416
1525
|
_define_property(this, "paddingTop", void 0);
|
|
1417
1526
|
_define_property(this, "paddingRight", void 0);
|
|
1418
1527
|
_define_property(this, "paddingBottom", void 0);
|
|
1419
1528
|
_define_property(this, "paddingLeft", void 0);
|
|
1420
|
-
|
|
1421
|
-
this.
|
|
1422
|
-
|
|
1423
|
-
this.
|
|
1529
|
+
var _props_paddingTop;
|
|
1530
|
+
this.paddingTop = (_props_paddingTop = props === null || props === void 0 ? void 0 : props.paddingTop) !== null && _props_paddingTop !== void 0 ? _props_paddingTop : '';
|
|
1531
|
+
var _props_paddingRight;
|
|
1532
|
+
this.paddingRight = (_props_paddingRight = props === null || props === void 0 ? void 0 : props.paddingRight) !== null && _props_paddingRight !== void 0 ? _props_paddingRight : '';
|
|
1533
|
+
var _props_paddingBottom;
|
|
1534
|
+
this.paddingBottom = (_props_paddingBottom = props === null || props === void 0 ? void 0 : props.paddingBottom) !== null && _props_paddingBottom !== void 0 ? _props_paddingBottom : '';
|
|
1535
|
+
var _props_paddingLeft;
|
|
1536
|
+
this.paddingLeft = (_props_paddingLeft = props === null || props === void 0 ? void 0 : props.paddingLeft) !== null && _props_paddingLeft !== void 0 ? _props_paddingLeft : '';
|
|
1424
1537
|
};
|
|
1425
1538
|
export var StepButtonPrev = function StepButtonPrev(props) {
|
|
1426
1539
|
"use strict";
|
|
1427
1540
|
_class_call_check(this, StepButtonPrev);
|
|
1428
|
-
var _ref, _ref1;
|
|
1429
1541
|
_define_property(this, "icon", void 0);
|
|
1430
1542
|
_define_property(this, "label", void 0);
|
|
1431
|
-
|
|
1432
|
-
this.
|
|
1543
|
+
var _props_icon;
|
|
1544
|
+
this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : 'iconleft';
|
|
1545
|
+
var _props_label;
|
|
1546
|
+
this.label = (_props_label = props === null || props === void 0 ? void 0 : props.label) !== null && _props_label !== void 0 ? _props_label : '上一步';
|
|
1433
1547
|
};
|
|
1434
1548
|
export var StepButtonNext = function StepButtonNext(props) {
|
|
1435
1549
|
"use strict";
|
|
1436
1550
|
_class_call_check(this, StepButtonNext);
|
|
1437
|
-
var _ref, _ref1;
|
|
1438
1551
|
_define_property(this, "icon", void 0);
|
|
1439
1552
|
_define_property(this, "label", void 0);
|
|
1440
|
-
|
|
1441
|
-
this.
|
|
1553
|
+
var _props_icon;
|
|
1554
|
+
this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : 'iconxiangyou';
|
|
1555
|
+
var _props_label;
|
|
1556
|
+
this.label = (_props_label = props === null || props === void 0 ? void 0 : props.label) !== null && _props_label !== void 0 ? _props_label : '下一步';
|
|
1442
1557
|
};
|
|
1443
1558
|
export var StepButtons = function StepButtons(props) {
|
|
1444
1559
|
"use strict";
|