@byteluck-fe/model-driven-core 4.36.0-lx2 → 5.3.0-1-beta4
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/README.md +69 -69
- package/dist/esm/common/BaseControl/designer.js +21 -15
- package/dist/esm/common/BaseControl/property.js +16 -11
- package/dist/esm/common/BaseControl/runtime.js +1 -2
- package/dist/esm/common/ColumnControl/property.js +34 -34
- package/dist/esm/common/FormControl/property.js +59 -76
- package/dist/esm/common/ListControl/designer.js +8 -10
- package/dist/esm/common/Validator.js +1 -0
- package/dist/esm/common/initLinkOperationRules.js +2 -2
- package/dist/esm/common/initOptionAndDataSourceRules.js +31 -30
- package/dist/esm/framework/RegisterControls.js +13 -13
- package/dist/esm/framework/index.js +457 -389
- package/dist/index.umd.js +1 -1
- package/dist/types/api-doc-index.d.ts +4 -4
- package/dist/types/common/BaseControl/designer.d.ts +71 -63
- package/dist/types/common/BaseControl/index.d.ts +13 -13
- package/dist/types/common/BaseControl/property.d.ts +44 -38
- package/dist/types/common/BaseControl/runtime.d.ts +23 -23
- package/dist/types/common/BaseControl/types.d.ts +35 -35
- package/dist/types/common/ColumnControl/designer.d.ts +20 -20
- package/dist/types/common/ColumnControl/index.d.ts +12 -12
- package/dist/types/common/ColumnControl/property.d.ts +74 -74
- package/dist/types/common/ColumnControl/runtime.d.ts +11 -11
- package/dist/types/common/ControlArray.d.ts +9 -9
- package/dist/types/common/FormControl/designer.d.ts +13 -13
- package/dist/types/common/FormControl/index.d.ts +12 -12
- package/dist/types/common/FormControl/property.d.ts +100 -118
- package/dist/types/common/FormControl/runtime.d.ts +11 -11
- package/dist/types/common/LayoutControl/designer.d.ts +21 -21
- package/dist/types/common/LayoutControl/index.d.ts +12 -12
- package/dist/types/common/LayoutControl/property.d.ts +6 -6
- package/dist/types/common/LayoutControl/runtime.d.ts +11 -11
- package/dist/types/common/ListControl/designer.d.ts +16 -16
- package/dist/types/common/ListControl/index.d.ts +12 -12
- package/dist/types/common/ListControl/property.d.ts +18 -18
- package/dist/types/common/ListControl/runtime.d.ts +12 -12
- package/dist/types/common/SearchViewControl/designer.d.ts +11 -11
- package/dist/types/common/SearchViewControl/index.d.ts +12 -12
- package/dist/types/common/SearchViewControl/property.d.ts +8 -8
- package/dist/types/common/SearchViewControl/runtime.d.ts +11 -11
- package/dist/types/common/Validator.d.ts +15 -15
- package/dist/types/common/WrapControl/designer.d.ts +11 -11
- package/dist/types/common/WrapControl/index.d.ts +12 -12
- package/dist/types/common/WrapControl/property.d.ts +6 -6
- package/dist/types/common/WrapControl/runtime.d.ts +11 -11
- package/dist/types/common/controlHooksEmitter.d.ts +4 -4
- package/dist/types/common/index.d.ts +12 -12
- package/dist/types/common/initLinkOperationRules.d.ts +6 -6
- package/dist/types/common/initOptionAndDataSourceRules.d.ts +10 -10
- package/dist/types/framework/RegisterControls.d.ts +37 -37
- package/dist/types/framework/index.d.ts +938 -898
- package/dist/types/framework/isDataBind.d.ts +2 -2
- package/dist/types/index.d.ts +4 -4
- package/dist/types/type.d.ts +91 -91
- package/package.json +3 -3
|
@@ -72,31 +72,31 @@ function _is_native_reflect_construct() {
|
|
|
72
72
|
}
|
|
73
73
|
import { FieldTypes, genNonDuplicateId } from '@byteluck-fe/model-driven-shared';
|
|
74
74
|
export * from './RegisterControls';
|
|
75
|
-
/**
|
|
76
|
-
* 数据绑定配置
|
|
77
|
-
* @public
|
|
75
|
+
/**
|
|
76
|
+
* 数据绑定配置
|
|
77
|
+
* @public
|
|
78
78
|
*/ export var DataBind = function DataBind(props) {
|
|
79
79
|
"use strict";
|
|
80
80
|
_class_call_check(this, DataBind);
|
|
81
|
-
/**
|
|
82
|
-
* 数据模型编码
|
|
83
|
-
* @defaultValue ''
|
|
84
|
-
* @public
|
|
81
|
+
/**
|
|
82
|
+
* 数据模型编码
|
|
83
|
+
* @defaultValue ''
|
|
84
|
+
* @public
|
|
85
85
|
*/ _define_property(this, "dataCode", void 0);
|
|
86
|
-
/**
|
|
87
|
-
* 字段编码
|
|
88
|
-
* @defaultValue ''
|
|
89
|
-
* @public
|
|
86
|
+
/**
|
|
87
|
+
* 字段编码
|
|
88
|
+
* @defaultValue ''
|
|
89
|
+
* @public
|
|
90
90
|
*/ _define_property(this, "fieldCode", void 0);
|
|
91
|
-
/**
|
|
92
|
-
* 字段类型
|
|
93
|
-
* @defaultValue ''
|
|
94
|
-
* @public
|
|
91
|
+
/**
|
|
92
|
+
* 字段类型
|
|
93
|
+
* @defaultValue ''
|
|
94
|
+
* @public
|
|
95
95
|
*/ _define_property(this, "fieldType", void 0);
|
|
96
|
-
/**
|
|
97
|
-
* 表别名
|
|
98
|
-
* @defaultValue undefined
|
|
99
|
-
* @public
|
|
96
|
+
/**
|
|
97
|
+
* 表别名
|
|
98
|
+
* @defaultValue undefined
|
|
99
|
+
* @public
|
|
100
100
|
*/ _define_property(this, "aliasCode", void 0);
|
|
101
101
|
var _props_dataCode;
|
|
102
102
|
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : '';
|
|
@@ -118,6 +118,30 @@ export var AutoWidth = function AutoWidth(props) {
|
|
|
118
118
|
var _props_flex;
|
|
119
119
|
this.flex = (_props_flex = props === null || props === void 0 ? void 0 : props.flex) !== null && _props_flex !== void 0 ? _props_flex : 1;
|
|
120
120
|
};
|
|
121
|
+
export var RowHeight = function RowHeight(props) {
|
|
122
|
+
"use strict";
|
|
123
|
+
_class_call_check(this, RowHeight);
|
|
124
|
+
_define_property(this, "rowHeightType", void 0);
|
|
125
|
+
_define_property(this, "minRows", void 0);
|
|
126
|
+
_define_property(this, "maxRows", void 0);
|
|
127
|
+
_define_property(this, "fiexdRow", void 0);
|
|
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;
|
|
136
|
+
};
|
|
137
|
+
export var MetaRowHeight = function MetaRowHeight(props) {
|
|
138
|
+
"use strict";
|
|
139
|
+
_class_call_check(this, MetaRowHeight);
|
|
140
|
+
_define_property(this, "pc", void 0);
|
|
141
|
+
_define_property(this, "mobile", void 0);
|
|
142
|
+
this.pc = new RowHeight(props === null || props === void 0 ? void 0 : props.pc);
|
|
143
|
+
this.mobile = new RowHeight(props === null || props === void 0 ? void 0 : props.mobile);
|
|
144
|
+
};
|
|
121
145
|
export var MetaWidth = /*#__PURE__*/ function(AutoWidth) {
|
|
122
146
|
"use strict";
|
|
123
147
|
_inherits(MetaWidth, AutoWidth);
|
|
@@ -184,15 +208,15 @@ export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
|
184
208
|
}
|
|
185
209
|
return FormSelectBind;
|
|
186
210
|
}(FormBind);
|
|
187
|
-
/**
|
|
188
|
-
* 列表绑定字段项
|
|
189
|
-
* @public
|
|
211
|
+
/**
|
|
212
|
+
* 列表绑定字段项
|
|
213
|
+
* @public
|
|
190
214
|
*/ var ListBindHeaderItem = function ListBindHeaderItem(props) {
|
|
191
215
|
"use strict";
|
|
192
216
|
_class_call_check(this, ListBindHeaderItem);
|
|
193
|
-
/**
|
|
194
|
-
* 字段
|
|
195
|
-
* @defaultValue ''
|
|
217
|
+
/**
|
|
218
|
+
* 字段
|
|
219
|
+
* @defaultValue ''
|
|
196
220
|
*/ _define_property(this, "fieldCode", void 0);
|
|
197
221
|
_define_property(this, "dataCode", void 0);
|
|
198
222
|
var _props_fieldCode;
|
|
@@ -200,23 +224,23 @@ export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
|
200
224
|
var _props_dataCode;
|
|
201
225
|
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : '';
|
|
202
226
|
};
|
|
203
|
-
/**
|
|
204
|
-
* 列表绑定配置
|
|
227
|
+
/**
|
|
228
|
+
* 列表绑定配置
|
|
205
229
|
*/ export var ListBind = function ListBind(props) {
|
|
206
230
|
"use strict";
|
|
207
231
|
_class_call_check(this, ListBind);
|
|
208
232
|
var _props_headers;
|
|
209
|
-
/**
|
|
210
|
-
* 应用ID
|
|
211
|
-
* @public
|
|
233
|
+
/**
|
|
234
|
+
* 应用ID
|
|
235
|
+
* @public
|
|
212
236
|
*/ _define_property(this, "appId", void 0);
|
|
213
|
-
/**
|
|
214
|
-
* 表单ID
|
|
215
|
-
* @public
|
|
237
|
+
/**
|
|
238
|
+
* 表单ID
|
|
239
|
+
* @public
|
|
216
240
|
*/ _define_property(this, "formKey", void 0);
|
|
217
|
-
/**
|
|
218
|
-
* 显示字段
|
|
219
|
-
* @public
|
|
241
|
+
/**
|
|
242
|
+
* 显示字段
|
|
243
|
+
* @public
|
|
220
244
|
*/ _define_property(this, "headers", void 0);
|
|
221
245
|
var _props_appId;
|
|
222
246
|
this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : '';
|
|
@@ -302,36 +326,36 @@ export var RightVariable = function RightVariable(props) {
|
|
|
302
326
|
var _props_displayBos;
|
|
303
327
|
this.displayBos = (_props_displayBos = props === null || props === void 0 ? void 0 : props.displayBos) !== null && _props_displayBos !== void 0 ? _props_displayBos : [];
|
|
304
328
|
};
|
|
305
|
-
/**
|
|
306
|
-
* 连接符条件
|
|
307
|
-
* @public
|
|
329
|
+
/**
|
|
330
|
+
* 连接符条件
|
|
331
|
+
* @public
|
|
308
332
|
*/ export var FieldFilterConditions = function FieldFilterConditions(props) {
|
|
309
333
|
"use strict";
|
|
310
334
|
var _this = this;
|
|
311
335
|
_class_call_check(this, FieldFilterConditions);
|
|
312
|
-
/**
|
|
313
|
-
* 编号
|
|
314
|
-
* @defaultValue ''
|
|
336
|
+
/**
|
|
337
|
+
* 编号
|
|
338
|
+
* @defaultValue ''
|
|
315
339
|
*/ _define_property(this, "id", void 0);
|
|
316
|
-
/**
|
|
317
|
-
* 规则编号
|
|
318
|
-
* @defaultValue Timestamp
|
|
340
|
+
/**
|
|
341
|
+
* 规则编号
|
|
342
|
+
* @defaultValue Timestamp
|
|
319
343
|
*/ _define_property(this, "ruleId", void 0);
|
|
320
|
-
/**
|
|
321
|
-
* 类型:连接符条件
|
|
322
|
-
* @defaultValue 'conditions'
|
|
344
|
+
/**
|
|
345
|
+
* 类型:连接符条件
|
|
346
|
+
* @defaultValue 'conditions'
|
|
323
347
|
*/ _define_property(this, "type", 'conditions');
|
|
324
|
-
/**
|
|
325
|
-
* 深度
|
|
326
|
-
* @defaultValue 0
|
|
348
|
+
/**
|
|
349
|
+
* 深度
|
|
350
|
+
* @defaultValue 0
|
|
327
351
|
*/ _define_property(this, "level", void 0);
|
|
328
|
-
/**
|
|
329
|
-
* 连接符值
|
|
330
|
-
* @defaultValue 'and'
|
|
352
|
+
/**
|
|
353
|
+
* 连接符值
|
|
354
|
+
* @defaultValue 'and'
|
|
331
355
|
*/ _define_property(this, "value", void 0);
|
|
332
|
-
/**
|
|
333
|
-
* 包含子项
|
|
334
|
-
* @defaultValue []
|
|
356
|
+
/**
|
|
357
|
+
* 包含子项
|
|
358
|
+
* @defaultValue []
|
|
335
359
|
*/ _define_property(this, "children", void 0);
|
|
336
360
|
var _props_id;
|
|
337
361
|
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId();
|
|
@@ -356,34 +380,34 @@ export var RightVariable = function RightVariable(props) {
|
|
|
356
380
|
});
|
|
357
381
|
}
|
|
358
382
|
};
|
|
359
|
-
/**
|
|
360
|
-
* 字段过滤条件
|
|
361
|
-
* @public
|
|
383
|
+
/**
|
|
384
|
+
* 字段过滤条件
|
|
385
|
+
* @public
|
|
362
386
|
*/ export var FieldFilterCondition = function FieldFilterCondition(props) {
|
|
363
387
|
"use strict";
|
|
364
388
|
_class_call_check(this, FieldFilterCondition);
|
|
365
|
-
/**
|
|
366
|
-
* 唯一编号
|
|
367
|
-
* @defaultValue ''
|
|
389
|
+
/**
|
|
390
|
+
* 唯一编号
|
|
391
|
+
* @defaultValue ''
|
|
368
392
|
*/ _define_property(this, "id", void 0);
|
|
369
|
-
/**
|
|
370
|
-
* 规则编号
|
|
371
|
-
* @defaultValue Timestamp
|
|
393
|
+
/**
|
|
394
|
+
* 规则编号
|
|
395
|
+
* @defaultValue Timestamp
|
|
372
396
|
*/ _define_property(this, "ruleId", void 0);
|
|
373
|
-
/**
|
|
374
|
-
* 类型
|
|
375
|
-
* @defaultValue 'condition'
|
|
397
|
+
/**
|
|
398
|
+
* 类型
|
|
399
|
+
* @defaultValue 'condition'
|
|
376
400
|
*/ _define_property(this, "type", 'condition');
|
|
377
|
-
/**
|
|
378
|
-
* 符号
|
|
401
|
+
/**
|
|
402
|
+
* 符号
|
|
379
403
|
*/ _define_property(this, "symbol", void 0);
|
|
380
404
|
_define_property(this, "checked", void 0);
|
|
381
405
|
_define_property(this, "describe", void 0);
|
|
382
|
-
/**
|
|
383
|
-
* 左值
|
|
406
|
+
/**
|
|
407
|
+
* 左值
|
|
384
408
|
*/ _define_property(this, "leftVariableBo", void 0);
|
|
385
|
-
/**
|
|
386
|
-
* 右值
|
|
409
|
+
/**
|
|
410
|
+
* 右值
|
|
387
411
|
*/ _define_property(this, "rightVariableBo", void 0);
|
|
388
412
|
var _props_id;
|
|
389
413
|
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId();
|
|
@@ -410,31 +434,31 @@ export var JoinRelation = function JoinRelation(props) {
|
|
|
410
434
|
var _props_relationFields;
|
|
411
435
|
this.relationFields = (_props_relationFields = props === null || props === void 0 ? void 0 : props.relationFields) !== null && _props_relationFields !== void 0 ? _props_relationFields : [];
|
|
412
436
|
};
|
|
413
|
-
/**
|
|
414
|
-
* 数据填充项
|
|
415
|
-
* @public
|
|
437
|
+
/**
|
|
438
|
+
* 数据填充项
|
|
439
|
+
* @public
|
|
416
440
|
*/ export var MultistageFillingItem = function MultistageFillingItem(props) {
|
|
417
441
|
"use strict";
|
|
418
442
|
_class_call_check(this, MultistageFillingItem);
|
|
419
|
-
/**
|
|
420
|
-
* 控件ID
|
|
421
|
-
* @defaultValue ''
|
|
422
|
-
* @public
|
|
443
|
+
/**
|
|
444
|
+
* 控件ID
|
|
445
|
+
* @defaultValue ''
|
|
446
|
+
* @public
|
|
423
447
|
*/ _define_property(this, "controlId", void 0);
|
|
424
|
-
/**
|
|
425
|
-
* 字段
|
|
426
|
-
* @defaultValue ''
|
|
427
|
-
* @public
|
|
448
|
+
/**
|
|
449
|
+
* 字段
|
|
450
|
+
* @defaultValue ''
|
|
451
|
+
* @public
|
|
428
452
|
*/ _define_property(this, "fieldCode", void 0);
|
|
429
|
-
/**
|
|
430
|
-
* 字段类型。事件在填充时,需要根据数据类型进行判断处理动作。
|
|
431
|
-
* @defaultValue ''
|
|
432
|
-
* @public
|
|
453
|
+
/**
|
|
454
|
+
* 字段类型。事件在填充时,需要根据数据类型进行判断处理动作。
|
|
455
|
+
* @defaultValue ''
|
|
456
|
+
* @public
|
|
433
457
|
*/ _define_property(this, "fieldType", void 0);
|
|
434
|
-
/**
|
|
435
|
-
* 属性名称。如果是ObjectDataBind的控件,可以指定填充到哪个数据项。
|
|
436
|
-
* @defaultValue ''
|
|
437
|
-
* @public
|
|
458
|
+
/**
|
|
459
|
+
* 属性名称。如果是ObjectDataBind的控件,可以指定填充到哪个数据项。
|
|
460
|
+
* @defaultValue ''
|
|
461
|
+
* @public
|
|
438
462
|
* */ _define_property(this, "propName", void 0);
|
|
439
463
|
var _props_controlId;
|
|
440
464
|
this.controlId = (_props_controlId = props === null || props === void 0 ? void 0 : props.controlId) !== null && _props_controlId !== void 0 ? _props_controlId : '';
|
|
@@ -445,22 +469,22 @@ export var JoinRelation = function JoinRelation(props) {
|
|
|
445
469
|
var _props_propName;
|
|
446
470
|
this.propName = (_props_propName = props === null || props === void 0 ? void 0 : props.propName) !== null && _props_propName !== void 0 ? _props_propName : '';
|
|
447
471
|
};
|
|
448
|
-
/**
|
|
449
|
-
* 显示项
|
|
450
|
-
* @public
|
|
472
|
+
/**
|
|
473
|
+
* 显示项
|
|
474
|
+
* @public
|
|
451
475
|
*/ export var DisplayBoListItem = function DisplayBoListItem(props) {
|
|
452
476
|
"use strict";
|
|
453
477
|
_class_call_check(this, DisplayBoListItem);
|
|
454
|
-
/**
|
|
455
|
-
* 显示项类型:字段 | 符号
|
|
456
|
-
* @defaultValue 'FIELD'
|
|
457
|
-
* @public
|
|
478
|
+
/**
|
|
479
|
+
* 显示项类型:字段 | 符号
|
|
480
|
+
* @defaultValue 'FIELD'
|
|
481
|
+
* @public
|
|
458
482
|
*/ _define_property(this, "type", void 0);
|
|
459
|
-
/**
|
|
460
|
-
* 值
|
|
483
|
+
/**
|
|
484
|
+
* 值
|
|
461
485
|
*/ _define_property(this, "value", void 0);
|
|
462
|
-
/**
|
|
463
|
-
* 字段数据类型
|
|
486
|
+
/**
|
|
487
|
+
* 字段数据类型
|
|
464
488
|
*/ _define_property(this, "fieldType", void 0);
|
|
465
489
|
var _props_type;
|
|
466
490
|
this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : 'FIELD';
|
|
@@ -468,19 +492,33 @@ export var JoinRelation = function JoinRelation(props) {
|
|
|
468
492
|
this.value = (_props_value = props === null || props === void 0 ? void 0 : props.value) !== null && _props_value !== void 0 ? _props_value : '';
|
|
469
493
|
this.fieldType = props === null || props === void 0 ? void 0 : props.fieldType;
|
|
470
494
|
};
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
495
|
+
export var OptionDisplayConfigItem = function OptionDisplayConfigItem(props) {
|
|
496
|
+
"use strict";
|
|
497
|
+
_class_call_check(this, OptionDisplayConfigItem);
|
|
498
|
+
/**
|
|
499
|
+
* 标题
|
|
500
|
+
*/ _define_property(this, "title", void 0);
|
|
501
|
+
/**
|
|
502
|
+
* 字段数据类型
|
|
503
|
+
*/ _define_property(this, "displayBoList", void 0);
|
|
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 : [];
|
|
508
|
+
};
|
|
509
|
+
/**
|
|
510
|
+
* 数据源排序项
|
|
511
|
+
* @public
|
|
474
512
|
*/ export var DataSourceOrderItem = function DataSourceOrderItem(props) {
|
|
475
513
|
"use strict";
|
|
476
514
|
_class_call_check(this, DataSourceOrderItem);
|
|
477
|
-
/**
|
|
478
|
-
* 列名
|
|
479
|
-
* @defaultValue ''
|
|
515
|
+
/**
|
|
516
|
+
* 列名
|
|
517
|
+
* @defaultValue ''
|
|
480
518
|
*/ _define_property(this, "columnName", void 0);
|
|
481
|
-
/**
|
|
482
|
-
* 倒序
|
|
483
|
-
* @defaultValue false
|
|
519
|
+
/**
|
|
520
|
+
* 倒序
|
|
521
|
+
* @defaultValue false
|
|
484
522
|
*/ _define_property(this, "desc", void 0);
|
|
485
523
|
var _props_columnName;
|
|
486
524
|
this.columnName = (_props_columnName = props.columnName) !== null && _props_columnName !== void 0 ? _props_columnName : '';
|
|
@@ -507,8 +545,8 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
|
507
545
|
"use strict";
|
|
508
546
|
_class_call_check(this, DataSourceParamItem);
|
|
509
547
|
var _props_orders, _props_dataSet;
|
|
510
|
-
/**
|
|
511
|
-
* 字段ID
|
|
548
|
+
/**
|
|
549
|
+
* 字段ID
|
|
512
550
|
*/ _define_property(this, "id", void 0);
|
|
513
551
|
_define_property(this, "limit", void 0);
|
|
514
552
|
_define_property(this, "orders", void 0);
|
|
@@ -530,8 +568,8 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
|
530
568
|
return new DataSourceDataSetValue(item);
|
|
531
569
|
})) !== null && _props_dataSet_map !== void 0 ? _props_dataSet_map : [];
|
|
532
570
|
};
|
|
533
|
-
/**
|
|
534
|
-
* 给filters和orders赋值
|
|
571
|
+
/**
|
|
572
|
+
* 给filters和orders赋值
|
|
535
573
|
* */ function callFiltersAndOrders(props) {
|
|
536
574
|
var _props_filters, _props_viewFilters, _props_orders;
|
|
537
575
|
var _props_filters_map;
|
|
@@ -554,78 +592,78 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
|
554
592
|
})) !== null && _props_orders_map !== void 0 ? _props_orders_map : [];
|
|
555
593
|
// }
|
|
556
594
|
}
|
|
557
|
-
/**
|
|
558
|
-
* 数据源绑定配置
|
|
559
|
-
* @public
|
|
595
|
+
/**
|
|
596
|
+
* 数据源绑定配置
|
|
597
|
+
* @public
|
|
560
598
|
*/ export var DataSourceBind = function DataSourceBind(props) {
|
|
561
599
|
"use strict";
|
|
562
600
|
var _this = this;
|
|
563
601
|
_class_call_check(this, DataSourceBind);
|
|
564
|
-
/**
|
|
565
|
-
* 绑定数据源id
|
|
566
|
-
* @defaultValue ''
|
|
567
|
-
* @public
|
|
602
|
+
/**
|
|
603
|
+
* 绑定数据源id
|
|
604
|
+
* @defaultValue ''
|
|
605
|
+
* @public
|
|
568
606
|
*/ _define_property(this, "dataCode", void 0);
|
|
569
|
-
/**
|
|
570
|
-
* 存储值
|
|
571
|
-
* @defaultValue ''
|
|
572
|
-
* @public
|
|
607
|
+
/**
|
|
608
|
+
* 存储值
|
|
609
|
+
* @defaultValue ''
|
|
610
|
+
* @public
|
|
573
611
|
*/ _define_property(this, "valueFieldCode", void 0);
|
|
574
|
-
/**
|
|
575
|
-
* 显示值
|
|
576
|
-
* @defaultValue []
|
|
577
|
-
* @public
|
|
612
|
+
/**
|
|
613
|
+
* 显示值
|
|
614
|
+
* @defaultValue []
|
|
615
|
+
* @public
|
|
578
616
|
*/ _define_property(this, "displayBoList", void 0);
|
|
579
|
-
/**
|
|
580
|
-
* 查询关键字参数映射
|
|
581
|
-
* @defaultValue ''
|
|
582
|
-
* @public
|
|
617
|
+
/**
|
|
618
|
+
* 查询关键字参数映射
|
|
619
|
+
* @defaultValue ''
|
|
620
|
+
* @public
|
|
583
621
|
*/ _define_property(this, "keywordMapping", void 0);
|
|
584
|
-
/**
|
|
585
|
-
* 绑定服务
|
|
586
|
-
* @defaultValue ''
|
|
587
|
-
* @public
|
|
622
|
+
/**
|
|
623
|
+
* 绑定服务
|
|
624
|
+
* @defaultValue ''
|
|
625
|
+
* @public
|
|
588
626
|
*/ _define_property(this, "svcCode", void 0);
|
|
589
|
-
/**
|
|
590
|
-
* 应用Id
|
|
591
|
-
* @defaultValue ''
|
|
592
|
-
* @public
|
|
627
|
+
/**
|
|
628
|
+
* 应用Id
|
|
629
|
+
* @defaultValue ''
|
|
630
|
+
* @public
|
|
593
631
|
*/ _define_property(this, "appId", void 0);
|
|
594
|
-
/**
|
|
595
|
-
* 过滤条件
|
|
596
|
-
* @defaultValue []
|
|
597
|
-
* @public
|
|
632
|
+
/**
|
|
633
|
+
* 过滤条件
|
|
634
|
+
* @defaultValue []
|
|
635
|
+
* @public
|
|
598
636
|
*/ _define_property(this, "filters", void 0);
|
|
599
637
|
// 过滤
|
|
600
|
-
/**
|
|
601
|
-
* 过滤条件-查看过滤
|
|
602
|
-
* @defaultValue []
|
|
603
|
-
* @public
|
|
638
|
+
/**
|
|
639
|
+
* 过滤条件-查看过滤
|
|
640
|
+
* @defaultValue []
|
|
641
|
+
* @public
|
|
604
642
|
*/ _define_property(this, "viewFilters", void 0);
|
|
605
|
-
/**
|
|
606
|
-
* 是否开启查看过滤
|
|
607
|
-
* @defaultValue 0:未开启;1:开启
|
|
608
|
-
* @public
|
|
643
|
+
/**
|
|
644
|
+
* 是否开启查看过滤
|
|
645
|
+
* @defaultValue 0:未开启;1:开启
|
|
646
|
+
* @public
|
|
609
647
|
*/ _define_property(this, "isOpenViewFilters", void 0);
|
|
610
|
-
/**
|
|
611
|
-
* 排序
|
|
612
|
-
* @defaultValue []
|
|
613
|
-
* @public
|
|
648
|
+
/**
|
|
649
|
+
* 排序
|
|
650
|
+
* @defaultValue []
|
|
651
|
+
* @public
|
|
614
652
|
*/ _define_property(this, "orders", void 0);
|
|
615
|
-
/**
|
|
616
|
-
* 显示排序
|
|
617
|
-
* @defaultValue true
|
|
618
|
-
* @public
|
|
653
|
+
/**
|
|
654
|
+
* 显示排序
|
|
655
|
+
* @defaultValue true
|
|
656
|
+
* @public
|
|
619
657
|
*/ _define_property(this, "showOrder", void 0);
|
|
620
|
-
/**
|
|
621
|
-
* 部门或者人员指定部门配置
|
|
622
|
-
* @defaultValue {}
|
|
623
|
-
* @public
|
|
658
|
+
/**
|
|
659
|
+
* 部门或者人员指定部门配置
|
|
660
|
+
* @defaultValue {}
|
|
661
|
+
* @public
|
|
624
662
|
*/ _define_property(this, "assignDepartment", void 0);
|
|
625
|
-
/**
|
|
626
|
-
* 部门或者人员指定部门配置是否开启
|
|
627
|
-
* @defaultValue {}
|
|
628
|
-
* @public
|
|
663
|
+
/**
|
|
664
|
+
* 部门或者人员指定部门配置是否开启
|
|
665
|
+
* @defaultValue {}
|
|
666
|
+
* @public
|
|
629
667
|
*/ _define_property(this, "openAssignDepartment", void 0);
|
|
630
668
|
var _props_dataCode;
|
|
631
669
|
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : '';
|
|
@@ -656,15 +694,15 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
|
656
694
|
export var SelectedContentConfig = function SelectedContentConfig(props) {
|
|
657
695
|
"use strict";
|
|
658
696
|
_class_call_check(this, SelectedContentConfig);
|
|
659
|
-
/**
|
|
660
|
-
* 展示已选内容
|
|
661
|
-
* @defaultValue ''
|
|
662
|
-
* @public
|
|
697
|
+
/**
|
|
698
|
+
* 展示已选内容
|
|
699
|
+
* @defaultValue ''
|
|
700
|
+
* @public
|
|
663
701
|
*/ _define_property(this, "dataCode", void 0);
|
|
664
|
-
/**
|
|
665
|
-
* 展示已选明细
|
|
666
|
-
* @defaultValue []
|
|
667
|
-
* @public
|
|
702
|
+
/**
|
|
703
|
+
* 展示已选明细
|
|
704
|
+
* @defaultValue []
|
|
705
|
+
* @public
|
|
668
706
|
*/ _define_property(this, "displayBoList", void 0);
|
|
669
707
|
var _props_dataCode;
|
|
670
708
|
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : '';
|
|
@@ -781,14 +819,14 @@ var FillBind = function FillBind(props) {
|
|
|
781
819
|
"use strict";
|
|
782
820
|
_class_call_check(this, FillBind);
|
|
783
821
|
var _props_fillList;
|
|
784
|
-
/*
|
|
785
|
-
* 需要被填充的数据源
|
|
822
|
+
/*
|
|
823
|
+
* 需要被填充的数据源
|
|
786
824
|
* */ _define_property(this, "dataCode", void 0);
|
|
787
|
-
/*
|
|
788
|
-
* appId
|
|
825
|
+
/*
|
|
826
|
+
* appId
|
|
789
827
|
* */ _define_property(this, "appId", void 0);
|
|
790
|
-
/*
|
|
791
|
-
* 执行填充的数据项和控件
|
|
828
|
+
/*
|
|
829
|
+
* 执行填充的数据项和控件
|
|
792
830
|
* */ _define_property(this, "fillList", void 0);
|
|
793
831
|
var _props_dataCode;
|
|
794
832
|
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : '';
|
|
@@ -799,10 +837,10 @@ var FillBind = function FillBind(props) {
|
|
|
799
837
|
return new MultistageFillingItem(item);
|
|
800
838
|
})) !== null && _props_fillList_map !== void 0 ? _props_fillList_map : [];
|
|
801
839
|
};
|
|
802
|
-
/**
|
|
803
|
-
* FillPayloadBind 填充配置
|
|
804
|
-
* 填充的配置和需要携带的数据
|
|
805
|
-
* @public
|
|
840
|
+
/**
|
|
841
|
+
* FillPayloadBind 填充配置
|
|
842
|
+
* 填充的配置和需要携带的数据
|
|
843
|
+
* @public
|
|
806
844
|
* */ export var FillPayloadBind = /*#__PURE__*/ function(FillBind) {
|
|
807
845
|
"use strict";
|
|
808
846
|
_inherits(FillPayloadBind, FillBind);
|
|
@@ -811,27 +849,27 @@ var FillBind = function FillBind(props) {
|
|
|
811
849
|
var _this;
|
|
812
850
|
_this = _call_super(this, FillPayloadBind, [
|
|
813
851
|
props
|
|
814
|
-
]), /**
|
|
815
|
-
* 数据源过滤条件
|
|
816
|
-
* @defaultValue []
|
|
817
|
-
* @public
|
|
818
|
-
**/ _define_property(_this, "filters", void 0), /**
|
|
819
|
-
* 数据源过滤条件-查看
|
|
820
|
-
* @defaultValue []
|
|
821
|
-
* @public
|
|
822
|
-
**/ _define_property(_this, "viewFilters", void 0), /**
|
|
823
|
-
* 数据源排序条件
|
|
824
|
-
* @defaultValue []
|
|
825
|
-
* @public
|
|
852
|
+
]), /**
|
|
853
|
+
* 数据源过滤条件
|
|
854
|
+
* @defaultValue []
|
|
855
|
+
* @public
|
|
856
|
+
**/ _define_property(_this, "filters", void 0), /**
|
|
857
|
+
* 数据源过滤条件-查看
|
|
858
|
+
* @defaultValue []
|
|
859
|
+
* @public
|
|
860
|
+
**/ _define_property(_this, "viewFilters", void 0), /**
|
|
861
|
+
* 数据源排序条件
|
|
862
|
+
* @defaultValue []
|
|
863
|
+
* @public
|
|
826
864
|
**/ _define_property(_this, "orders", void 0);
|
|
827
865
|
callFiltersAndOrders.call(_this, props);
|
|
828
866
|
return _this;
|
|
829
867
|
}
|
|
830
868
|
return FillPayloadBind;
|
|
831
869
|
}(FillBind);
|
|
832
|
-
/**
|
|
833
|
-
* FillBackBind 回填需要的配置和参数
|
|
834
|
-
* @public
|
|
870
|
+
/**
|
|
871
|
+
* FillBackBind 回填需要的配置和参数
|
|
872
|
+
* @public
|
|
835
873
|
*/ export var FillBackBind = /*#__PURE__*/ function(FillBind) {
|
|
836
874
|
"use strict";
|
|
837
875
|
_inherits(FillBackBind, FillBind);
|
|
@@ -840,14 +878,14 @@ var FillBind = function FillBind(props) {
|
|
|
840
878
|
var _this;
|
|
841
879
|
_this = _call_super(this, FillBackBind, [
|
|
842
880
|
props
|
|
843
|
-
]), /**
|
|
844
|
-
* 回填模式。current 当前表(根据按钮所在位置来区分,而不是通过主表和子表来区分)| subtable 子表
|
|
845
|
-
* @defaultValue 'current'
|
|
846
|
-
* @public
|
|
847
|
-
* */ _define_property(_this, "mode", void 0), /**
|
|
848
|
-
* 多选
|
|
849
|
-
* @defaultValue false
|
|
850
|
-
* @public
|
|
881
|
+
]), /**
|
|
882
|
+
* 回填模式。current 当前表(根据按钮所在位置来区分,而不是通过主表和子表来区分)| subtable 子表
|
|
883
|
+
* @defaultValue 'current'
|
|
884
|
+
* @public
|
|
885
|
+
* */ _define_property(_this, "mode", void 0), /**
|
|
886
|
+
* 多选
|
|
887
|
+
* @defaultValue false
|
|
888
|
+
* @public
|
|
851
889
|
*/ _define_property(_this, "multiple", void 0);
|
|
852
890
|
var _props_mode;
|
|
853
891
|
_this.mode = (_props_mode = props === null || props === void 0 ? void 0 : props.mode) !== null && _props_mode !== void 0 ? _props_mode : 'current';
|
|
@@ -870,23 +908,23 @@ export var Language = function Language(props) {
|
|
|
870
908
|
var _props_ja;
|
|
871
909
|
this.ja = (_props_ja = props === null || props === void 0 ? void 0 : props.ja) !== null && _props_ja !== void 0 ? _props_ja : '';
|
|
872
910
|
};
|
|
873
|
-
/**
|
|
874
|
-
* 正则校验
|
|
875
|
-
* @public
|
|
911
|
+
/**
|
|
912
|
+
* 正则校验
|
|
913
|
+
* @public
|
|
876
914
|
*/ export var RegularRules = function RegularRules(props) {
|
|
877
915
|
"use strict";
|
|
878
916
|
_class_call_check(this, RegularRules);
|
|
879
|
-
/**
|
|
880
|
-
* 内置模版
|
|
881
|
-
* @defaultValue ''
|
|
917
|
+
/**
|
|
918
|
+
* 内置模版
|
|
919
|
+
* @defaultValue ''
|
|
882
920
|
*/ _define_property(this, "stencilName", void 0);
|
|
883
|
-
/**
|
|
884
|
-
* 正则表达式
|
|
885
|
-
* @defaultValue ''
|
|
921
|
+
/**
|
|
922
|
+
* 正则表达式
|
|
923
|
+
* @defaultValue ''
|
|
886
924
|
*/ _define_property(this, "expression", void 0);
|
|
887
|
-
/**
|
|
888
|
-
* 校验错误提示信息
|
|
889
|
-
* @defaultValue ''
|
|
925
|
+
/**
|
|
926
|
+
* 校验错误提示信息
|
|
927
|
+
* @defaultValue ''
|
|
890
928
|
*/ _define_property(this, "errMessage", void 0);
|
|
891
929
|
var _props_stencilName;
|
|
892
930
|
this.stencilName = (_props_stencilName = props === null || props === void 0 ? void 0 : props.stencilName) !== null && _props_stencilName !== void 0 ? _props_stencilName : '';
|
|
@@ -895,22 +933,22 @@ export var Language = function Language(props) {
|
|
|
895
933
|
var _props_errMessage;
|
|
896
934
|
this.errMessage = (_props_errMessage = props === null || props === void 0 ? void 0 : props.errMessage) !== null && _props_errMessage !== void 0 ? _props_errMessage : '';
|
|
897
935
|
};
|
|
898
|
-
/**
|
|
899
|
-
* 选项设置-自定义选项
|
|
900
|
-
* @public
|
|
936
|
+
/**
|
|
937
|
+
* 选项设置-自定义选项
|
|
938
|
+
* @public
|
|
901
939
|
*/ export var OptionSetting = function OptionSetting(props) {
|
|
902
940
|
"use strict";
|
|
903
941
|
_class_call_check(this, OptionSetting);
|
|
904
942
|
_define_property(this, "id", void 0);
|
|
905
|
-
/**
|
|
906
|
-
* 显示值
|
|
907
|
-
* @defaultValue ''
|
|
908
|
-
* @public
|
|
943
|
+
/**
|
|
944
|
+
* 显示值
|
|
945
|
+
* @defaultValue ''
|
|
946
|
+
* @public
|
|
909
947
|
*/ _define_property(this, "label", void 0);
|
|
910
|
-
/**
|
|
911
|
-
* 选项ID
|
|
912
|
-
* @defaultValue this.label
|
|
913
|
-
* @public
|
|
948
|
+
/**
|
|
949
|
+
* 选项ID
|
|
950
|
+
* @defaultValue this.label
|
|
951
|
+
* @public
|
|
914
952
|
*/ _define_property(this, "value", void 0);
|
|
915
953
|
var _props_id;
|
|
916
954
|
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId(8);
|
|
@@ -948,26 +986,26 @@ export function initImageOptions(options) {
|
|
|
948
986
|
return new ImageOptionSetting(item);
|
|
949
987
|
})) !== null && _options_map !== void 0 ? _options_map : [];
|
|
950
988
|
}
|
|
951
|
-
/**
|
|
952
|
-
* 对象类型数据绑定配置
|
|
953
|
-
* @public
|
|
989
|
+
/**
|
|
990
|
+
* 对象类型数据绑定配置
|
|
991
|
+
* @public
|
|
954
992
|
*/ export var ObjectDataBind = function ObjectDataBind() {
|
|
955
993
|
"use strict";
|
|
956
994
|
_class_call_check(this, ObjectDataBind);
|
|
957
995
|
};
|
|
958
|
-
/**
|
|
959
|
-
* 金额控件数据绑定配置
|
|
960
|
-
* @public
|
|
996
|
+
/**
|
|
997
|
+
* 金额控件数据绑定配置
|
|
998
|
+
* @public
|
|
961
999
|
*/ export var AmountDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
962
1000
|
"use strict";
|
|
963
1001
|
_inherits(AmountDataBind, ObjectDataBind);
|
|
964
1002
|
function AmountDataBind(props) {
|
|
965
1003
|
_class_call_check(this, AmountDataBind);
|
|
966
1004
|
var _this;
|
|
967
|
-
_this = _call_super(this, AmountDataBind), /**
|
|
968
|
-
* 金额字段绑定配置
|
|
969
|
-
*/ _define_property(_this, "amount", void 0), /**
|
|
970
|
-
* 币种字段绑定配置
|
|
1005
|
+
_this = _call_super(this, AmountDataBind), /**
|
|
1006
|
+
* 金额字段绑定配置
|
|
1007
|
+
*/ _define_property(_this, "amount", void 0), /**
|
|
1008
|
+
* 币种字段绑定配置
|
|
971
1009
|
*/ _define_property(_this, "currency", void 0);
|
|
972
1010
|
_this.amount = new DataBind(props === null || props === void 0 ? void 0 : props.amount);
|
|
973
1011
|
_this.currency = new DataBind(props === null || props === void 0 ? void 0 : props.currency);
|
|
@@ -975,38 +1013,38 @@ export function initImageOptions(options) {
|
|
|
975
1013
|
}
|
|
976
1014
|
return AmountDataBind;
|
|
977
1015
|
}(ObjectDataBind);
|
|
978
|
-
/**
|
|
979
|
-
* 金额控件值
|
|
980
|
-
* @public
|
|
1016
|
+
/**
|
|
1017
|
+
* 金额控件值
|
|
1018
|
+
* @public
|
|
981
1019
|
*/ export var AmountValue = function AmountValue(props) {
|
|
982
1020
|
"use strict";
|
|
983
1021
|
_class_call_check(this, AmountValue);
|
|
984
|
-
/**
|
|
985
|
-
* 金额值
|
|
986
|
-
* @defaultValue ''
|
|
1022
|
+
/**
|
|
1023
|
+
* 金额值
|
|
1024
|
+
* @defaultValue ''
|
|
987
1025
|
*/ _define_property(this, "amount", void 0);
|
|
988
|
-
/**
|
|
989
|
-
* 货币值
|
|
990
|
-
* @defaultValue 'CNY'
|
|
1026
|
+
/**
|
|
1027
|
+
* 货币值
|
|
1028
|
+
* @defaultValue 'CNY'
|
|
991
1029
|
*/ _define_property(this, "currency", void 0);
|
|
992
1030
|
var _props_amount;
|
|
993
1031
|
this.amount = (_props_amount = props === null || props === void 0 ? void 0 : props.amount) !== null && _props_amount !== void 0 ? _props_amount : '';
|
|
994
1032
|
var _props_currency;
|
|
995
1033
|
this.currency = (_props_currency = props === null || props === void 0 ? void 0 : props.currency) !== null && _props_currency !== void 0 ? _props_currency : "CNY";
|
|
996
1034
|
};
|
|
997
|
-
/**
|
|
998
|
-
* 日期区间数据绑定项
|
|
999
|
-
* @public
|
|
1035
|
+
/**
|
|
1036
|
+
* 日期区间数据绑定项
|
|
1037
|
+
* @public
|
|
1000
1038
|
*/ export var RangeDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
1001
1039
|
"use strict";
|
|
1002
1040
|
_inherits(RangeDataBind, ObjectDataBind);
|
|
1003
1041
|
function RangeDataBind(props) {
|
|
1004
1042
|
_class_call_check(this, RangeDataBind);
|
|
1005
1043
|
var _this;
|
|
1006
|
-
_this = _call_super(this, RangeDataBind), /**
|
|
1007
|
-
* 开始日期字段绑定项
|
|
1008
|
-
*/ _define_property(_this, "min", void 0), /**
|
|
1009
|
-
* 结束日期字段绑定项
|
|
1044
|
+
_this = _call_super(this, RangeDataBind), /**
|
|
1045
|
+
* 开始日期字段绑定项
|
|
1046
|
+
*/ _define_property(_this, "min", void 0), /**
|
|
1047
|
+
* 结束日期字段绑定项
|
|
1010
1048
|
*/ _define_property(_this, "max", void 0);
|
|
1011
1049
|
_this.min = new DataBind(props === null || props === void 0 ? void 0 : props.min);
|
|
1012
1050
|
_this.max = new DataBind(props === null || props === void 0 ? void 0 : props.max);
|
|
@@ -1014,54 +1052,54 @@ export function initImageOptions(options) {
|
|
|
1014
1052
|
}
|
|
1015
1053
|
return RangeDataBind;
|
|
1016
1054
|
}(ObjectDataBind);
|
|
1017
|
-
/**
|
|
1018
|
-
* 日期区间值
|
|
1019
|
-
* @public
|
|
1055
|
+
/**
|
|
1056
|
+
* 日期区间值
|
|
1057
|
+
* @public
|
|
1020
1058
|
*/ export var RangeDateValue = function RangeDateValue(props) {
|
|
1021
1059
|
"use strict";
|
|
1022
1060
|
_class_call_check(this, RangeDateValue);
|
|
1023
|
-
/**
|
|
1024
|
-
* 开始日期值
|
|
1025
|
-
* @defaultValue ''
|
|
1061
|
+
/**
|
|
1062
|
+
* 开始日期值
|
|
1063
|
+
* @defaultValue ''
|
|
1026
1064
|
*/ _define_property(this, "min", void 0);
|
|
1027
|
-
/**
|
|
1028
|
-
* 结束日期值
|
|
1029
|
-
* @defaultValue ''
|
|
1065
|
+
/**
|
|
1066
|
+
* 结束日期值
|
|
1067
|
+
* @defaultValue ''
|
|
1030
1068
|
*/ _define_property(this, "max", void 0);
|
|
1031
1069
|
var _props_min;
|
|
1032
1070
|
this.min = (_props_min = props === null || props === void 0 ? void 0 : props.min) !== null && _props_min !== void 0 ? _props_min : '';
|
|
1033
1071
|
var _props_max;
|
|
1034
1072
|
this.max = (_props_max = props === null || props === void 0 ? void 0 : props.max) !== null && _props_max !== void 0 ? _props_max : '';
|
|
1035
1073
|
};
|
|
1036
|
-
/**
|
|
1037
|
-
* 地址值
|
|
1038
|
-
* @public
|
|
1074
|
+
/**
|
|
1075
|
+
* 地址值
|
|
1076
|
+
* @public
|
|
1039
1077
|
*/ export var AddressValue = function AddressValue(props) {
|
|
1040
1078
|
"use strict";
|
|
1041
1079
|
_class_call_check(this, AddressValue);
|
|
1042
|
-
/**
|
|
1043
|
-
* 市编码
|
|
1044
|
-
* @defaultValue ''
|
|
1080
|
+
/**
|
|
1081
|
+
* 市编码
|
|
1082
|
+
* @defaultValue ''
|
|
1045
1083
|
*/ _define_property(this, "city", void 0);
|
|
1046
|
-
/**
|
|
1047
|
-
* 市显示文字
|
|
1048
|
-
* @defaultValue ''
|
|
1084
|
+
/**
|
|
1085
|
+
* 市显示文字
|
|
1086
|
+
* @defaultValue ''
|
|
1049
1087
|
*/ _define_property(this, "cityDisplay", void 0);
|
|
1050
|
-
/**
|
|
1051
|
-
* 区编码
|
|
1052
|
-
* @defaultValue ''
|
|
1088
|
+
/**
|
|
1089
|
+
* 区编码
|
|
1090
|
+
* @defaultValue ''
|
|
1053
1091
|
*/ _define_property(this, "district", void 0);
|
|
1054
|
-
/**
|
|
1055
|
-
* 区显示文字
|
|
1056
|
-
* @defaultValue ''
|
|
1092
|
+
/**
|
|
1093
|
+
* 区显示文字
|
|
1094
|
+
* @defaultValue ''
|
|
1057
1095
|
*/ _define_property(this, "districtDisplay", void 0);
|
|
1058
|
-
/**
|
|
1059
|
-
* 省编码
|
|
1060
|
-
* @defaultValue ''
|
|
1096
|
+
/**
|
|
1097
|
+
* 省编码
|
|
1098
|
+
* @defaultValue ''
|
|
1061
1099
|
*/ _define_property(this, "province", void 0);
|
|
1062
|
-
/**
|
|
1063
|
-
* 省显示文字
|
|
1064
|
-
* @defaultValue ''
|
|
1100
|
+
/**
|
|
1101
|
+
* 省显示文字
|
|
1102
|
+
* @defaultValue ''
|
|
1065
1103
|
*/ _define_property(this, "provinceDisplay", void 0);
|
|
1066
1104
|
var _props_city;
|
|
1067
1105
|
this.city = (_props_city = props === null || props === void 0 ? void 0 : props.city) !== null && _props_city !== void 0 ? _props_city : '';
|
|
@@ -1076,19 +1114,19 @@ export function initImageOptions(options) {
|
|
|
1076
1114
|
var _props_provinceDisplay;
|
|
1077
1115
|
this.provinceDisplay = (_props_provinceDisplay = props === null || props === void 0 ? void 0 : props.provinceDisplay) !== null && _props_provinceDisplay !== void 0 ? _props_provinceDisplay : '';
|
|
1078
1116
|
};
|
|
1079
|
-
/**
|
|
1080
|
-
* 计算公式数据绑定项
|
|
1081
|
-
* @public
|
|
1117
|
+
/**
|
|
1118
|
+
* 计算公式数据绑定项
|
|
1119
|
+
* @public
|
|
1082
1120
|
*/ export var CalcDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
1083
1121
|
"use strict";
|
|
1084
1122
|
_inherits(CalcDataBind, ObjectDataBind);
|
|
1085
1123
|
function CalcDataBind(props) {
|
|
1086
1124
|
_class_call_check(this, CalcDataBind);
|
|
1087
1125
|
var _this;
|
|
1088
|
-
_this = _call_super(this, CalcDataBind), /**
|
|
1089
|
-
* 计算结果字段绑定项
|
|
1090
|
-
*/ _define_property(_this, "result", void 0), /**
|
|
1091
|
-
* 单位字段绑定项
|
|
1126
|
+
_this = _call_super(this, CalcDataBind), /**
|
|
1127
|
+
* 计算结果字段绑定项
|
|
1128
|
+
*/ _define_property(_this, "result", void 0), /**
|
|
1129
|
+
* 单位字段绑定项
|
|
1092
1130
|
*/ _define_property(_this, "unit", void 0);
|
|
1093
1131
|
_this.result = new DataBind(props === null || props === void 0 ? void 0 : props.result);
|
|
1094
1132
|
_this.unit = new DataBind(props === null || props === void 0 ? void 0 : props.unit);
|
|
@@ -1096,19 +1134,19 @@ export function initImageOptions(options) {
|
|
|
1096
1134
|
}
|
|
1097
1135
|
return CalcDataBind;
|
|
1098
1136
|
}(ObjectDataBind);
|
|
1099
|
-
/**
|
|
1100
|
-
* 计算公式值
|
|
1101
|
-
* @public
|
|
1137
|
+
/**
|
|
1138
|
+
* 计算公式值
|
|
1139
|
+
* @public
|
|
1102
1140
|
*/ export var CalcValue = function CalcValue(props) {
|
|
1103
1141
|
"use strict";
|
|
1104
1142
|
_class_call_check(this, CalcValue);
|
|
1105
|
-
/**
|
|
1106
|
-
* 计算结果值
|
|
1107
|
-
* @defaultValue 0
|
|
1143
|
+
/**
|
|
1144
|
+
* 计算结果值
|
|
1145
|
+
* @defaultValue 0
|
|
1108
1146
|
*/ _define_property(this, "result", void 0);
|
|
1109
|
-
/**
|
|
1110
|
-
* 单位
|
|
1111
|
-
* @defaultValue ''
|
|
1147
|
+
/**
|
|
1148
|
+
* 单位
|
|
1149
|
+
* @defaultValue ''
|
|
1112
1150
|
*/ _define_property(this, "unit", void 0);
|
|
1113
1151
|
var _props_result;
|
|
1114
1152
|
this.result = (_props_result = props === null || props === void 0 ? void 0 : props.result) !== null && _props_result !== void 0 ? _props_result : 0;
|
|
@@ -1146,14 +1184,14 @@ export var AMOUNT_TYPE = /*#__PURE__*/ function(AMOUNT_TYPE) {
|
|
|
1146
1184
|
AMOUNT_TYPE["IEP"] = "IEP";
|
|
1147
1185
|
return AMOUNT_TYPE;
|
|
1148
1186
|
}({});
|
|
1149
|
-
/**
|
|
1150
|
-
* 选项设置
|
|
1151
|
-
* REQUIRED: 必填
|
|
1152
|
-
* isHide: 隐藏
|
|
1153
|
-
* IS_SHOW_UNIT: 单位
|
|
1154
|
-
* CAN_SEARCH: 支持搜索
|
|
1155
|
-
* MULTIPLE: 允许选中多个日期
|
|
1156
|
-
* SUBMIT_SELECT_CURRENCY: 提交时选择币种
|
|
1187
|
+
/**
|
|
1188
|
+
* 选项设置
|
|
1189
|
+
* REQUIRED: 必填
|
|
1190
|
+
* isHide: 隐藏
|
|
1191
|
+
* IS_SHOW_UNIT: 单位
|
|
1192
|
+
* CAN_SEARCH: 支持搜索
|
|
1193
|
+
* MULTIPLE: 允许选中多个日期
|
|
1194
|
+
* SUBMIT_SELECT_CURRENCY: 提交时选择币种
|
|
1157
1195
|
*/ export var COMMON_SETTING_TYPE = /*#__PURE__*/ function(COMMON_SETTING_TYPE) {
|
|
1158
1196
|
COMMON_SETTING_TYPE["DEFAULT_DISPLAY"] = "defaultDisplay";
|
|
1159
1197
|
COMMON_SETTING_TYPE["REQUIRED"] = "required";
|
|
@@ -1186,12 +1224,10 @@ export var AMOUNT_TYPE = /*#__PURE__*/ function(AMOUNT_TYPE) {
|
|
|
1186
1224
|
COMMON_SETTING_TYPE["REVISIONS_MODE"] = "revisionsMode";
|
|
1187
1225
|
COMMON_SETTING_TYPE["ALLOW_COPY_OPTIONS"] = "allowCopyOptions";
|
|
1188
1226
|
COMMON_SETTING_TYPE["IS_PASTE"] = "isPaste";
|
|
1189
|
-
COMMON_SETTING_TYPE["
|
|
1190
|
-
COMMON_SETTING_TYPE["
|
|
1191
|
-
COMMON_SETTING_TYPE["
|
|
1192
|
-
COMMON_SETTING_TYPE["
|
|
1193
|
-
COMMON_SETTING_TYPE["FORBID_DOWNLOAD"] = "forbidDownload";
|
|
1194
|
-
COMMON_SETTING_TYPE["ACCESS_CONTROL"] = "accessControl";
|
|
1227
|
+
COMMON_SETTING_TYPE["SORTABLE"] = "sortable";
|
|
1228
|
+
COMMON_SETTING_TYPE["IS_SHOW_SIMPLE_SEARCH"] = "isShowSimpleSearch";
|
|
1229
|
+
COMMON_SETTING_TYPE["IS_SHOW_TOOL_BAE"] = "isShowToolbar";
|
|
1230
|
+
COMMON_SETTING_TYPE["MAIN_DEPT_FLAG"] = "mainDeptFlag";
|
|
1195
1231
|
return COMMON_SETTING_TYPE;
|
|
1196
1232
|
}({});
|
|
1197
1233
|
export var PAGE_STATUS = /*#__PURE__*/ function(PAGE_STATUS) {
|
|
@@ -1201,36 +1237,36 @@ export var PAGE_STATUS = /*#__PURE__*/ function(PAGE_STATUS) {
|
|
|
1201
1237
|
PAGE_STATUS[PAGE_STATUS["PRINT"] = 5] = "PRINT";
|
|
1202
1238
|
return PAGE_STATUS;
|
|
1203
1239
|
}({});
|
|
1204
|
-
/**
|
|
1205
|
-
* 操作按钮
|
|
1206
|
-
* @public
|
|
1240
|
+
/**
|
|
1241
|
+
* 操作按钮
|
|
1242
|
+
* @public
|
|
1207
1243
|
*/ export var OperationItem = function OperationItem(props) {
|
|
1208
1244
|
"use strict";
|
|
1209
1245
|
_class_call_check(this, OperationItem);
|
|
1210
|
-
/**
|
|
1211
|
-
* 是否显示
|
|
1212
|
-
* @defaultValue true
|
|
1213
|
-
* @public
|
|
1246
|
+
/**
|
|
1247
|
+
* 是否显示
|
|
1248
|
+
* @defaultValue true
|
|
1249
|
+
* @public
|
|
1214
1250
|
*/ _define_property(this, "isShow", void 0);
|
|
1215
|
-
/**
|
|
1216
|
-
* 优先访问流程表单
|
|
1217
|
-
* @defaultValue false
|
|
1218
|
-
* @public
|
|
1251
|
+
/**
|
|
1252
|
+
* 优先访问流程表单
|
|
1253
|
+
* @defaultValue false
|
|
1254
|
+
* @public
|
|
1219
1255
|
*/ _define_property(this, "priorityProcess", void 0);
|
|
1220
|
-
/**
|
|
1221
|
-
* 表单ID
|
|
1222
|
-
* @defaultValue ''
|
|
1223
|
-
* @public
|
|
1256
|
+
/**
|
|
1257
|
+
* 表单ID
|
|
1258
|
+
* @defaultValue ''
|
|
1259
|
+
* @public
|
|
1224
1260
|
*/ _define_property(this, "formKey", void 0);
|
|
1225
|
-
/**
|
|
1226
|
-
* 显示文字
|
|
1227
|
-
* @defaultValue ''
|
|
1228
|
-
* @public
|
|
1261
|
+
/**
|
|
1262
|
+
* 显示文字
|
|
1263
|
+
* @defaultValue ''
|
|
1264
|
+
* @public
|
|
1229
1265
|
*/ _define_property(this, "content", void 0);
|
|
1230
|
-
/**
|
|
1231
|
-
* 打开方式
|
|
1232
|
-
* @defaultValue 'modal'
|
|
1233
|
-
* @public
|
|
1266
|
+
/**
|
|
1267
|
+
* 打开方式
|
|
1268
|
+
* @defaultValue 'modal'
|
|
1269
|
+
* @public
|
|
1234
1270
|
*/ _define_property(this, "openType", void 0);
|
|
1235
1271
|
_define_property(this, "type", void 0);
|
|
1236
1272
|
var _props_isShow;
|
|
@@ -1265,16 +1301,16 @@ export var ViewOperationItem = function ViewOperationItem(props) {
|
|
|
1265
1301
|
})) !== null && _props_headers_map !== void 0 ? _props_headers_map : [];
|
|
1266
1302
|
callFiltersAndOrders.call(this, props);
|
|
1267
1303
|
};
|
|
1268
|
-
/**
|
|
1269
|
-
* 自定义权限项,用于Vue容器上,注册自定义的权限
|
|
1304
|
+
/**
|
|
1305
|
+
* 自定义权限项,用于Vue容器上,注册自定义的权限
|
|
1270
1306
|
*/ export var CustomPermissionItem = function CustomPermissionItem(props) {
|
|
1271
1307
|
"use strict";
|
|
1272
1308
|
_class_call_check(this, CustomPermissionItem);
|
|
1273
|
-
/**
|
|
1274
|
-
* 人工输入的权限key
|
|
1309
|
+
/**
|
|
1310
|
+
* 人工输入的权限key
|
|
1275
1311
|
*/ _define_property(this, "key", void 0);
|
|
1276
|
-
/**
|
|
1277
|
-
* 权限名称
|
|
1312
|
+
/**
|
|
1313
|
+
* 权限名称
|
|
1278
1314
|
*/ _define_property(this, "caption", void 0);
|
|
1279
1315
|
var _props_key;
|
|
1280
1316
|
this.key = (_props_key = props.key) !== null && _props_key !== void 0 ? _props_key : genNonDuplicateId(8);
|
|
@@ -1300,15 +1336,15 @@ export var BaseStyle = function BaseStyle(props) {
|
|
|
1300
1336
|
export var OptObject = function OptObject(props) {
|
|
1301
1337
|
"use strict";
|
|
1302
1338
|
_class_call_check(this, OptObject);
|
|
1303
|
-
/**
|
|
1304
|
-
* 操作项编码
|
|
1305
|
-
* @defaultValue ''
|
|
1306
|
-
* @public
|
|
1339
|
+
/**
|
|
1340
|
+
* 操作项编码
|
|
1341
|
+
* @defaultValue ''
|
|
1342
|
+
* @public
|
|
1307
1343
|
*/ _define_property(this, "optCode", void 0);
|
|
1308
|
-
/**
|
|
1309
|
-
* 操作项类型
|
|
1310
|
-
* @defaultValue ''
|
|
1311
|
-
* @public
|
|
1344
|
+
/**
|
|
1345
|
+
* 操作项类型
|
|
1346
|
+
* @defaultValue ''
|
|
1347
|
+
* @public
|
|
1312
1348
|
*/ _define_property(this, "optType", void 0);
|
|
1313
1349
|
var _props_optCode;
|
|
1314
1350
|
this.optCode = (_props_optCode = props === null || props === void 0 ? void 0 : props.optCode) !== null && _props_optCode !== void 0 ? _props_optCode : '';
|
|
@@ -1318,33 +1354,29 @@ export var OptObject = function OptObject(props) {
|
|
|
1318
1354
|
export var RowStyleRule = function RowStyleRule(props) {
|
|
1319
1355
|
"use strict";
|
|
1320
1356
|
_class_call_check(this, RowStyleRule);
|
|
1321
|
-
var _props_filters;
|
|
1322
|
-
/**
|
|
1323
|
-
* 规则编号
|
|
1324
|
-
* @defaultValue guid
|
|
1325
|
-
* @public
|
|
1357
|
+
var _props_filters, _props_settings;
|
|
1358
|
+
/**
|
|
1359
|
+
* 规则编号
|
|
1360
|
+
* @defaultValue guid
|
|
1361
|
+
* @public
|
|
1326
1362
|
*/ _define_property(this, "id", void 0);
|
|
1327
|
-
/**
|
|
1328
|
-
* 规则名称
|
|
1329
|
-
* @defaultValue ''
|
|
1330
|
-
* @public
|
|
1363
|
+
/**
|
|
1364
|
+
* 规则名称
|
|
1365
|
+
* @defaultValue ''
|
|
1366
|
+
* @public
|
|
1331
1367
|
*/ _define_property(this, "name", void 0);
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
*
|
|
1335
|
-
* @
|
|
1336
|
-
|
|
1337
|
-
/**
|
|
1338
|
-
* 过滤条件
|
|
1339
|
-
* @defaultValue []
|
|
1340
|
-
* @public
|
|
1368
|
+
_define_property(this, "settings", void 0);
|
|
1369
|
+
/**
|
|
1370
|
+
* 过滤条件
|
|
1371
|
+
* @defaultValue []
|
|
1372
|
+
* @public
|
|
1341
1373
|
*/ _define_property(this, "filters", void 0);
|
|
1374
|
+
// 过滤
|
|
1375
|
+
_define_property(this, "script", void 0);
|
|
1342
1376
|
var _props_id;
|
|
1343
1377
|
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId();
|
|
1344
1378
|
var _props_name;
|
|
1345
1379
|
this.name = (_props_name = props === null || props === void 0 ? void 0 : props.name) !== null && _props_name !== void 0 ? _props_name : '';
|
|
1346
|
-
var _props_color;
|
|
1347
|
-
this.color = (_props_color = props === null || props === void 0 ? void 0 : props.color) !== null && _props_color !== void 0 ? _props_color : 'theme';
|
|
1348
1380
|
var _props_filters_map;
|
|
1349
1381
|
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) {
|
|
1350
1382
|
if (item.children !== undefined) {
|
|
@@ -1352,17 +1384,53 @@ export var RowStyleRule = function RowStyleRule(props) {
|
|
|
1352
1384
|
}
|
|
1353
1385
|
return new FieldFilterCondition(item);
|
|
1354
1386
|
})) !== null && _props_filters_map !== void 0 ? _props_filters_map : [];
|
|
1387
|
+
var _props_settings_map;
|
|
1388
|
+
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) {
|
|
1389
|
+
return new RowStyleSettings(item);
|
|
1390
|
+
})) !== null && _props_settings_map !== void 0 ? _props_settings_map : [] : [];
|
|
1391
|
+
this.script = props === null || props === void 0 ? void 0 : props.script;
|
|
1355
1392
|
};
|
|
1356
|
-
export var
|
|
1393
|
+
export var RowStyleSettings = function RowStyleSettings(props) {
|
|
1357
1394
|
"use strict";
|
|
1358
|
-
_class_call_check(this,
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1395
|
+
_class_call_check(this, RowStyleSettings);
|
|
1396
|
+
/**
|
|
1397
|
+
* 颜色值。theme:跟随主题色;#4c78fc:具体颜色值
|
|
1398
|
+
* @defaultValue 'theme'
|
|
1399
|
+
* @public
|
|
1400
|
+
*/ _define_property(this, "color", void 0);
|
|
1401
|
+
/**
|
|
1402
|
+
* 生效列字段
|
|
1403
|
+
*/ _define_property(this, "fieldCodes", void 0);
|
|
1404
|
+
/**
|
|
1405
|
+
* 样式类型,background单元格背景色,fontColor单元格字体色
|
|
1406
|
+
*/ _define_property(this, "type", void 0);
|
|
1407
|
+
/**
|
|
1408
|
+
* 作用范围,row整行,col整列
|
|
1409
|
+
*/ _define_property(this, "scope", void 0);
|
|
1410
|
+
var _props_type;
|
|
1411
|
+
this.type = (_props_type = props.type) !== null && _props_type !== void 0 ? _props_type : 'background';
|
|
1412
|
+
var _props_fieldCodes;
|
|
1413
|
+
this.fieldCodes = (_props_fieldCodes = props.fieldCodes) !== null && _props_fieldCodes !== void 0 ? _props_fieldCodes : [];
|
|
1366
1414
|
var _props_color;
|
|
1367
1415
|
this.color = (_props_color = props.color) !== null && _props_color !== void 0 ? _props_color : 'theme';
|
|
1416
|
+
var _props_scope;
|
|
1417
|
+
this.scope = (_props_scope = props.scope) !== null && _props_scope !== void 0 ? _props_scope : 'row';
|
|
1418
|
+
};
|
|
1419
|
+
export var RowStyle = function RowStyle(props) {
|
|
1420
|
+
"use strict";
|
|
1421
|
+
_class_call_check(this, RowStyle);
|
|
1422
|
+
var _props_rules;
|
|
1423
|
+
_define_property(this, "type", void 0);
|
|
1424
|
+
_define_property(this, "interval", void 0);
|
|
1425
|
+
_define_property(this, "rules", void 0);
|
|
1426
|
+
var _props_type;
|
|
1427
|
+
this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : 'none';
|
|
1428
|
+
var _props_interval;
|
|
1429
|
+
this.interval = (_props_interval = props === null || props === void 0 ? void 0 : props.interval) !== null && _props_interval !== void 0 ? _props_interval : {
|
|
1430
|
+
color: ''
|
|
1431
|
+
};
|
|
1432
|
+
var _props_rules_map;
|
|
1433
|
+
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) {
|
|
1434
|
+
return new RowStyleRule(item);
|
|
1435
|
+
})) !== null && _props_rules_map !== void 0 ? _props_rules_map : [] : [];
|
|
1368
1436
|
};
|