@byteluck-fe/model-driven-core 2.5.0-alpha.9 → 2.5.0-beta.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/property.js +14 -3
- package/dist/esm/common/FormControl/property.js +4 -2
- package/dist/esm/framework/index.js +262 -56
- package/dist/index.umd.js +1 -1
- package/dist/types/common/BaseControl/property.d.ts +14 -0
- package/dist/types/common/FormControl/property.d.ts +4 -0
- package/dist/types/framework/index.d.ts +241 -2
- package/package.json +3 -3
|
@@ -157,14 +157,25 @@ var PropertyRuntimeRules = /*#__PURE__*/ function(Array1) {
|
|
|
157
157
|
}
|
|
158
158
|
return PropertyRuntimeRules;
|
|
159
159
|
}(_wrapNativeSuper(Array));
|
|
160
|
-
|
|
160
|
+
/**
|
|
161
|
+
* 全局属性
|
|
162
|
+
* @public
|
|
163
|
+
*/ var Property = function Property(props) {
|
|
161
164
|
"use strict";
|
|
162
165
|
var caption = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "";
|
|
163
166
|
_classCallCheck(this, Property);
|
|
164
|
-
|
|
167
|
+
/**
|
|
168
|
+
* 是否隐藏
|
|
169
|
+
* @public
|
|
170
|
+
* @defaultValue false
|
|
171
|
+
*/ _defineProperty(this, "isHide", void 0);
|
|
165
172
|
_defineProperty(this, "className", void 0);
|
|
166
173
|
_defineProperty(this, "style", void 0);
|
|
167
|
-
|
|
174
|
+
/**
|
|
175
|
+
* 标题
|
|
176
|
+
* @public
|
|
177
|
+
* @defaultValue ''
|
|
178
|
+
*/ _defineProperty(this, "caption", void 0);
|
|
168
179
|
var _props_isHide;
|
|
169
180
|
this.isHide = (_props_isHide = props === null || props === void 0 ? void 0 : props.isHide) !== null && _props_isHide !== void 0 ? _props_isHide : false;
|
|
170
181
|
this.style = new BaseStyle(props === null || props === void 0 ? void 0 : props.style);
|
|
@@ -201,8 +201,10 @@ var BaseControlPropertyRuntimeRules = /*#__PURE__*/ function(PropertyRuntimeRule
|
|
|
201
201
|
}
|
|
202
202
|
return BaseControlPropertyRuntimeRules;
|
|
203
203
|
}(PropertyRuntimeRules);
|
|
204
|
-
|
|
205
|
-
|
|
204
|
+
/**
|
|
205
|
+
* 表单控件公共属性
|
|
206
|
+
* @public
|
|
207
|
+
*/ var BaseControlProperty = /*#__PURE__*/ function(Property) {
|
|
206
208
|
"use strict";
|
|
207
209
|
_inherits(BaseControlProperty, Property);
|
|
208
210
|
var _super = _createSuper(BaseControlProperty);
|
|
@@ -198,10 +198,16 @@ export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
|
198
198
|
}
|
|
199
199
|
return FormSelectBind;
|
|
200
200
|
}(FormBind);
|
|
201
|
-
|
|
201
|
+
/**
|
|
202
|
+
* 列表绑定字段项
|
|
203
|
+
* @public
|
|
204
|
+
*/ var ListBindHeaderItem = function ListBindHeaderItem(props) {
|
|
202
205
|
"use strict";
|
|
203
206
|
_classCallCheck(this, ListBindHeaderItem);
|
|
204
|
-
|
|
207
|
+
/**
|
|
208
|
+
* 字段
|
|
209
|
+
* @defaultValue ''
|
|
210
|
+
*/ _defineProperty(this, "fieldCode", void 0);
|
|
205
211
|
var _props_fieldCode;
|
|
206
212
|
this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : "";
|
|
207
213
|
};
|
|
@@ -308,16 +314,37 @@ export var RightVariable = function RightVariable(props) {
|
|
|
308
314
|
var _props_displayBos;
|
|
309
315
|
this.displayBos = (_props_displayBos = props === null || props === void 0 ? void 0 : props.displayBos) !== null && _props_displayBos !== void 0 ? _props_displayBos : [];
|
|
310
316
|
};
|
|
311
|
-
|
|
317
|
+
/**
|
|
318
|
+
* 连接符条件
|
|
319
|
+
* @public
|
|
320
|
+
*/ export var FieldFilterConditions = function FieldFilterConditions(props) {
|
|
312
321
|
"use strict";
|
|
313
322
|
var _this = this;
|
|
314
323
|
_classCallCheck(this, FieldFilterConditions);
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
324
|
+
/**
|
|
325
|
+
* 编号
|
|
326
|
+
* @defaultValue ''
|
|
327
|
+
*/ _defineProperty(this, "id", void 0);
|
|
328
|
+
/**
|
|
329
|
+
* 规则编号
|
|
330
|
+
* @defaultValue Timestamp
|
|
331
|
+
*/ _defineProperty(this, "ruleId", void 0);
|
|
332
|
+
/**
|
|
333
|
+
* 类型:连接符条件
|
|
334
|
+
* @defaultValue 'conditions'
|
|
335
|
+
*/ _defineProperty(this, "type", "conditions");
|
|
336
|
+
/**
|
|
337
|
+
* 深度
|
|
338
|
+
* @defaultValue 0
|
|
339
|
+
*/ _defineProperty(this, "level", void 0);
|
|
340
|
+
/**
|
|
341
|
+
* 连接符值
|
|
342
|
+
* @defaultValue 'and'
|
|
343
|
+
*/ _defineProperty(this, "value", void 0);
|
|
344
|
+
/**
|
|
345
|
+
* 包含子项
|
|
346
|
+
* @defaultValue []
|
|
347
|
+
*/ _defineProperty(this, "children", void 0);
|
|
321
348
|
var _props_id;
|
|
322
349
|
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId();
|
|
323
350
|
var _props_ruleId;
|
|
@@ -341,17 +368,35 @@ export var FieldFilterConditions = function FieldFilterConditions(props) {
|
|
|
341
368
|
});
|
|
342
369
|
}
|
|
343
370
|
};
|
|
344
|
-
|
|
371
|
+
/**
|
|
372
|
+
* 字段过滤条件
|
|
373
|
+
* @public
|
|
374
|
+
*/ export var FieldFilterCondition = function FieldFilterCondition(props) {
|
|
345
375
|
"use strict";
|
|
346
376
|
_classCallCheck(this, FieldFilterCondition);
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
377
|
+
/**
|
|
378
|
+
* 唯一编号
|
|
379
|
+
* @defaultValue ''
|
|
380
|
+
*/ _defineProperty(this, "id", void 0);
|
|
381
|
+
/**
|
|
382
|
+
* 规则编号
|
|
383
|
+
* @defaultValue Timestamp
|
|
384
|
+
*/ _defineProperty(this, "ruleId", void 0);
|
|
385
|
+
/**
|
|
386
|
+
* 类型
|
|
387
|
+
* @defaultValue 'condition'
|
|
388
|
+
*/ _defineProperty(this, "type", "condition");
|
|
389
|
+
/**
|
|
390
|
+
* 符号
|
|
391
|
+
*/ _defineProperty(this, "symbol", void 0);
|
|
351
392
|
_defineProperty(this, "checked", void 0);
|
|
352
393
|
_defineProperty(this, "describe", void 0);
|
|
353
|
-
|
|
354
|
-
|
|
394
|
+
/**
|
|
395
|
+
* 左值
|
|
396
|
+
*/ _defineProperty(this, "leftVariableBo", void 0);
|
|
397
|
+
/**
|
|
398
|
+
* 右值
|
|
399
|
+
*/ _defineProperty(this, "rightVariableBo", void 0);
|
|
355
400
|
var _props_id;
|
|
356
401
|
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId();
|
|
357
402
|
var _props_ruleId;
|
|
@@ -400,23 +445,43 @@ export var FieldFilterCondition = function FieldFilterCondition(props) {
|
|
|
400
445
|
var _props_propName;
|
|
401
446
|
this.propName = (_props_propName = props === null || props === void 0 ? void 0 : props.propName) !== null && _props_propName !== void 0 ? _props_propName : "";
|
|
402
447
|
};
|
|
403
|
-
|
|
448
|
+
/**
|
|
449
|
+
* 显示项
|
|
450
|
+
* @public
|
|
451
|
+
*/ export var DisplayBoListItem = function DisplayBoListItem(props) {
|
|
404
452
|
"use strict";
|
|
405
453
|
_classCallCheck(this, DisplayBoListItem);
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
454
|
+
/**
|
|
455
|
+
* 显示项类型:字段 | 符号
|
|
456
|
+
* @defaultValue 'FIELD'
|
|
457
|
+
* @public
|
|
458
|
+
*/ _defineProperty(this, "type", void 0);
|
|
459
|
+
/**
|
|
460
|
+
* 值
|
|
461
|
+
*/ _defineProperty(this, "value", void 0);
|
|
462
|
+
/**
|
|
463
|
+
* 字段数据类型
|
|
464
|
+
*/ _defineProperty(this, "fieldType", void 0);
|
|
409
465
|
var _props_type;
|
|
410
466
|
this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "FIELD";
|
|
411
467
|
var _props_value;
|
|
412
468
|
this.value = (_props_value = props === null || props === void 0 ? void 0 : props.value) !== null && _props_value !== void 0 ? _props_value : "";
|
|
413
469
|
this.fieldType = props === null || props === void 0 ? void 0 : props.fieldType;
|
|
414
470
|
};
|
|
415
|
-
|
|
471
|
+
/**
|
|
472
|
+
* 数据源排序项
|
|
473
|
+
* @public
|
|
474
|
+
*/ export var DataSourceOrderItem = function DataSourceOrderItem(props) {
|
|
416
475
|
"use strict";
|
|
417
476
|
_classCallCheck(this, DataSourceOrderItem);
|
|
418
|
-
|
|
419
|
-
|
|
477
|
+
/**
|
|
478
|
+
* 列名
|
|
479
|
+
* @defaultValue ''
|
|
480
|
+
*/ _defineProperty(this, "columnName", void 0);
|
|
481
|
+
/**
|
|
482
|
+
* 倒序
|
|
483
|
+
* @defaultValue false
|
|
484
|
+
*/ _defineProperty(this, "desc", void 0);
|
|
420
485
|
var _props_columnName;
|
|
421
486
|
this.columnName = (_props_columnName = props.columnName) !== null && _props_columnName !== void 0 ? _props_columnName : "";
|
|
422
487
|
var _props_desc;
|
|
@@ -468,7 +533,7 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
|
468
533
|
/**
|
|
469
534
|
* 给filters和orders赋值
|
|
470
535
|
* */ function callFiltersAndOrders(props) {
|
|
471
|
-
var _props_filters;
|
|
536
|
+
var _props_filters, _props_viewFilters;
|
|
472
537
|
var _props_filters_map;
|
|
473
538
|
this.filters = (_props_filters_map = props === null || props === void 0 ? void 0 : (_props_filters = props.filters) === null || _props_filters === void 0 ? void 0 : _props_filters.map(function(item) {
|
|
474
539
|
if (item.children !== undefined) {
|
|
@@ -476,6 +541,13 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
|
476
541
|
}
|
|
477
542
|
return new FieldFilterCondition(item);
|
|
478
543
|
})) !== null && _props_filters_map !== void 0 ? _props_filters_map : [];
|
|
544
|
+
var _props_viewFilters_map;
|
|
545
|
+
this.viewFilters = (_props_viewFilters_map = props === null || props === void 0 ? void 0 : (_props_viewFilters = props.viewFilters) === null || _props_viewFilters === void 0 ? void 0 : _props_viewFilters.map(function(item) {
|
|
546
|
+
if (item.children !== undefined) {
|
|
547
|
+
return new FieldFilterConditions(item);
|
|
548
|
+
}
|
|
549
|
+
return new FieldFilterCondition(item);
|
|
550
|
+
})) !== null && _props_viewFilters_map !== void 0 ? _props_viewFilters_map : [];
|
|
479
551
|
if (_instanceof(this, DataSourceBind) || _instanceof(this, FillPayloadBind)) {
|
|
480
552
|
var _props_orders;
|
|
481
553
|
var _props_orders_map;
|
|
@@ -507,6 +579,11 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
|
507
579
|
* @public
|
|
508
580
|
*/ _defineProperty(this, "displayBoList", void 0);
|
|
509
581
|
/**
|
|
582
|
+
* 查询关键字参数映射
|
|
583
|
+
* @defaultValue ''
|
|
584
|
+
* @public
|
|
585
|
+
*/ _defineProperty(this, "keywordMapping", void 0);
|
|
586
|
+
/**
|
|
510
587
|
* 绑定服务
|
|
511
588
|
* @defaultValue ''
|
|
512
589
|
* @public
|
|
@@ -523,6 +600,16 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
|
523
600
|
*/ _defineProperty(this, "filters", void 0);
|
|
524
601
|
// 过滤
|
|
525
602
|
/**
|
|
603
|
+
* 过滤条件-查看过滤
|
|
604
|
+
* @defaultValue []
|
|
605
|
+
* @public
|
|
606
|
+
*/ _defineProperty(this, "viewFilters", void 0);
|
|
607
|
+
/**
|
|
608
|
+
* 是否开启查看过滤
|
|
609
|
+
* @defaultValue 0:未开启;1:开启
|
|
610
|
+
* @public
|
|
611
|
+
*/ _defineProperty(this, "isOpenViewFilters", void 0);
|
|
612
|
+
/**
|
|
526
613
|
* 排序
|
|
527
614
|
* @defaultValue []
|
|
528
615
|
* @public
|
|
@@ -539,12 +626,16 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
|
539
626
|
var _props_valueFieldCode;
|
|
540
627
|
this.valueFieldCode = (_props_valueFieldCode = props === null || props === void 0 ? void 0 : props.valueFieldCode) !== null && _props_valueFieldCode !== void 0 ? _props_valueFieldCode : "";
|
|
541
628
|
this.displayBoList = [];
|
|
629
|
+
var _props_isOpenViewFilters;
|
|
630
|
+
this.isOpenViewFilters = (_props_isOpenViewFilters = props === null || props === void 0 ? void 0 : props.isOpenViewFilters) !== null && _props_isOpenViewFilters !== void 0 ? _props_isOpenViewFilters : 0;
|
|
542
631
|
if (Array.isArray(props === null || props === void 0 ? void 0 : props.displayBoList)) {
|
|
543
632
|
props === null || props === void 0 ? void 0 : props.displayBoList.map(function(item) {
|
|
544
633
|
var _this_displayBoList;
|
|
545
634
|
(_this_displayBoList = _this.displayBoList) === null || _this_displayBoList === void 0 ? void 0 : _this_displayBoList.push(new DisplayBoListItem(item));
|
|
546
635
|
});
|
|
547
636
|
}
|
|
637
|
+
var _props_keywordMapping;
|
|
638
|
+
this.keywordMapping = (_props_keywordMapping = props === null || props === void 0 ? void 0 : props.keywordMapping) !== null && _props_keywordMapping !== void 0 ? _props_keywordMapping : "";
|
|
548
639
|
var _props_showOrder;
|
|
549
640
|
this.showOrder = (_props_showOrder = props === null || props === void 0 ? void 0 : props.showOrder) !== null && _props_showOrder !== void 0 ? _props_showOrder : true;
|
|
550
641
|
var _props_svcCode;
|
|
@@ -566,7 +657,8 @@ export var SelectedContentConfig = function SelectedContentConfig(props) {
|
|
|
566
657
|
*/ _defineProperty(this, "displayBoList", void 0);
|
|
567
658
|
var _props_dataCode;
|
|
568
659
|
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
|
|
569
|
-
|
|
660
|
+
var _props_displayBoList;
|
|
661
|
+
this.displayBoList = (_props_displayBoList = props === null || props === void 0 ? void 0 : props.displayBoList) !== null && _props_displayBoList !== void 0 ? _props_displayBoList : [];
|
|
570
662
|
};
|
|
571
663
|
export var LinkOperationOption = function LinkOperationOption(props) {
|
|
572
664
|
"use strict";
|
|
@@ -636,6 +728,27 @@ export var SuperDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
|
636
728
|
}
|
|
637
729
|
return SuperDataSourceBind;
|
|
638
730
|
}(DataSourceBind);
|
|
731
|
+
export var OrganizationDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
732
|
+
"use strict";
|
|
733
|
+
_inherits(OrganizationDataSourceBind, DataSourceBind);
|
|
734
|
+
var _super = _createSuper(OrganizationDataSourceBind);
|
|
735
|
+
function OrganizationDataSourceBind(props) {
|
|
736
|
+
_classCallCheck(this, OrganizationDataSourceBind);
|
|
737
|
+
var _this;
|
|
738
|
+
var _props_attributes;
|
|
739
|
+
_this = _super.call(this, props);
|
|
740
|
+
_defineProperty(_assertThisInitialized(_this), "attributes", void 0);
|
|
741
|
+
_defineProperty(_assertThisInitialized(_this), "formCode", void 0);
|
|
742
|
+
var _props_attributes_map;
|
|
743
|
+
_this.attributes = (_props_attributes_map = props === null || props === void 0 ? void 0 : (_props_attributes = props.attributes) === null || _props_attributes === void 0 ? void 0 : _props_attributes.map(function(item) {
|
|
744
|
+
return new CustomAttributeItem(item);
|
|
745
|
+
})) !== null && _props_attributes_map !== void 0 ? _props_attributes_map : [];
|
|
746
|
+
var _props_formCode;
|
|
747
|
+
_this.formCode = (_props_formCode = props === null || props === void 0 ? void 0 : props.formCode) !== null && _props_formCode !== void 0 ? _props_formCode : "";
|
|
748
|
+
return _this;
|
|
749
|
+
}
|
|
750
|
+
return OrganizationDataSourceBind;
|
|
751
|
+
}(DataSourceBind);
|
|
639
752
|
export var TreeDataSourceBind = /*#__PURE__*/ function(SuperDataSourceBind) {
|
|
640
753
|
"use strict";
|
|
641
754
|
_inherits(TreeDataSourceBind, SuperDataSourceBind);
|
|
@@ -647,7 +760,8 @@ export var TreeDataSourceBind = /*#__PURE__*/ function(SuperDataSourceBind) {
|
|
|
647
760
|
_defineProperty(_assertThisInitialized(_this), "rootNode", void 0);
|
|
648
761
|
_defineProperty(_assertThisInitialized(_this), "filterCode", void 0);
|
|
649
762
|
_this.rootNode = new RightVariable(props === null || props === void 0 ? void 0 : props.rootNode);
|
|
650
|
-
|
|
763
|
+
var _props_filterCode;
|
|
764
|
+
_this.filterCode = (_props_filterCode = props === null || props === void 0 ? void 0 : props.filterCode) !== null && _props_filterCode !== void 0 ? _props_filterCode : "";
|
|
651
765
|
return _this;
|
|
652
766
|
}
|
|
653
767
|
return TreeDataSourceBind;
|
|
@@ -692,6 +806,11 @@ var FillBind = function FillBind(props) {
|
|
|
692
806
|
* @public
|
|
693
807
|
**/ _defineProperty(_assertThisInitialized(_this), "filters", void 0);
|
|
694
808
|
/**
|
|
809
|
+
* 数据源过滤条件-查看
|
|
810
|
+
* @defaultValue []
|
|
811
|
+
* @public
|
|
812
|
+
**/ _defineProperty(_assertThisInitialized(_this), "viewFilters", void 0);
|
|
813
|
+
/**
|
|
695
814
|
* 数据源排序条件
|
|
696
815
|
* @defaultValue []
|
|
697
816
|
* @public
|
|
@@ -743,12 +862,24 @@ export var Language = function Language(props) {
|
|
|
743
862
|
var _props_ja;
|
|
744
863
|
this.ja = (_props_ja = props === null || props === void 0 ? void 0 : props.ja) !== null && _props_ja !== void 0 ? _props_ja : "";
|
|
745
864
|
};
|
|
746
|
-
|
|
865
|
+
/**
|
|
866
|
+
* 正则校验
|
|
867
|
+
* @public
|
|
868
|
+
*/ export var RegularRules = function RegularRules(props) {
|
|
747
869
|
"use strict";
|
|
748
870
|
_classCallCheck(this, RegularRules);
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
871
|
+
/**
|
|
872
|
+
* 内置模版
|
|
873
|
+
* @defaultValue ''
|
|
874
|
+
*/ _defineProperty(this, "stencilName", void 0);
|
|
875
|
+
/**
|
|
876
|
+
* 正则表达式
|
|
877
|
+
* @defaultValue ''
|
|
878
|
+
*/ _defineProperty(this, "expression", void 0);
|
|
879
|
+
/**
|
|
880
|
+
* 校验错误提示信息
|
|
881
|
+
* @defaultValue ''
|
|
882
|
+
*/ _defineProperty(this, "errMessage", void 0);
|
|
752
883
|
var _props_stencilName;
|
|
753
884
|
this.stencilName = (_props_stencilName = props === null || props === void 0 ? void 0 : props.stencilName) !== null && _props_stencilName !== void 0 ? _props_stencilName : "";
|
|
754
885
|
var _props_expression;
|
|
@@ -810,11 +941,17 @@ export function initImageOptions(options) {
|
|
|
810
941
|
return new ImageOptionSetting(item);
|
|
811
942
|
})) !== null && _options_map !== void 0 ? _options_map : [];
|
|
812
943
|
}
|
|
813
|
-
|
|
944
|
+
/**
|
|
945
|
+
* 对象类型数据绑定配置
|
|
946
|
+
* @public
|
|
947
|
+
*/ export var ObjectDataBind = function ObjectDataBind() {
|
|
814
948
|
"use strict";
|
|
815
949
|
_classCallCheck(this, ObjectDataBind);
|
|
816
950
|
};
|
|
817
|
-
|
|
951
|
+
/**
|
|
952
|
+
* 金额控件数据绑定配置
|
|
953
|
+
* @public
|
|
954
|
+
*/ export var AmountDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
818
955
|
"use strict";
|
|
819
956
|
_inherits(AmountDataBind, ObjectDataBind);
|
|
820
957
|
var _super = _createSuper(AmountDataBind);
|
|
@@ -822,25 +959,41 @@ export var AmountDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
|
822
959
|
_classCallCheck(this, AmountDataBind);
|
|
823
960
|
var _this;
|
|
824
961
|
_this = _super.call(this);
|
|
825
|
-
|
|
826
|
-
|
|
962
|
+
/**
|
|
963
|
+
* 金额字段绑定配置
|
|
964
|
+
*/ _defineProperty(_assertThisInitialized(_this), "amount", void 0);
|
|
965
|
+
/**
|
|
966
|
+
* 币种字段绑定配置
|
|
967
|
+
*/ _defineProperty(_assertThisInitialized(_this), "currency", void 0);
|
|
827
968
|
_this.amount = new DataBind(props === null || props === void 0 ? void 0 : props.amount);
|
|
828
969
|
_this.currency = new DataBind(props === null || props === void 0 ? void 0 : props.currency);
|
|
829
970
|
return _this;
|
|
830
971
|
}
|
|
831
972
|
return AmountDataBind;
|
|
832
973
|
}(ObjectDataBind);
|
|
833
|
-
|
|
974
|
+
/**
|
|
975
|
+
* 金额控件值
|
|
976
|
+
* @public
|
|
977
|
+
*/ export var AmountValue = function AmountValue(props) {
|
|
834
978
|
"use strict";
|
|
835
979
|
_classCallCheck(this, AmountValue);
|
|
836
|
-
|
|
837
|
-
|
|
980
|
+
/**
|
|
981
|
+
* 金额值
|
|
982
|
+
* @defaultValue ''
|
|
983
|
+
*/ _defineProperty(this, "amount", void 0);
|
|
984
|
+
/**
|
|
985
|
+
* 货币值
|
|
986
|
+
* @defaultValue 'CNY'
|
|
987
|
+
*/ _defineProperty(this, "currency", void 0);
|
|
838
988
|
var _props_amount;
|
|
839
989
|
this.amount = (_props_amount = props === null || props === void 0 ? void 0 : props.amount) !== null && _props_amount !== void 0 ? _props_amount : "";
|
|
840
990
|
var _props_currency;
|
|
841
991
|
this.currency = (_props_currency = props === null || props === void 0 ? void 0 : props.currency) !== null && _props_currency !== void 0 ? _props_currency : AMOUNT_TYPE.CNY;
|
|
842
992
|
};
|
|
843
|
-
|
|
993
|
+
/**
|
|
994
|
+
* 日期区间数据绑定项
|
|
995
|
+
* @public
|
|
996
|
+
*/ export var RangeDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
844
997
|
"use strict";
|
|
845
998
|
_inherits(RangeDataBind, ObjectDataBind);
|
|
846
999
|
var _super = _createSuper(RangeDataBind);
|
|
@@ -848,33 +1001,67 @@ export var RangeDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
|
848
1001
|
_classCallCheck(this, RangeDataBind);
|
|
849
1002
|
var _this;
|
|
850
1003
|
_this = _super.call(this);
|
|
851
|
-
|
|
852
|
-
|
|
1004
|
+
/**
|
|
1005
|
+
* 开始日期字段绑定项
|
|
1006
|
+
*/ _defineProperty(_assertThisInitialized(_this), "min", void 0);
|
|
1007
|
+
/**
|
|
1008
|
+
* 结束日期字段绑定项
|
|
1009
|
+
*/ _defineProperty(_assertThisInitialized(_this), "max", void 0);
|
|
853
1010
|
_this.min = new DataBind(props === null || props === void 0 ? void 0 : props.min);
|
|
854
1011
|
_this.max = new DataBind(props === null || props === void 0 ? void 0 : props.max);
|
|
855
1012
|
return _this;
|
|
856
1013
|
}
|
|
857
1014
|
return RangeDataBind;
|
|
858
1015
|
}(ObjectDataBind);
|
|
859
|
-
|
|
1016
|
+
/**
|
|
1017
|
+
* 日期区间值
|
|
1018
|
+
* @public
|
|
1019
|
+
*/ export var RangeDateValue = function RangeDateValue(props) {
|
|
860
1020
|
"use strict";
|
|
861
1021
|
_classCallCheck(this, RangeDateValue);
|
|
862
|
-
|
|
863
|
-
|
|
1022
|
+
/**
|
|
1023
|
+
* 开始日期值
|
|
1024
|
+
* @defaultValue ''
|
|
1025
|
+
*/ _defineProperty(this, "min", void 0);
|
|
1026
|
+
/**
|
|
1027
|
+
* 结束日期值
|
|
1028
|
+
* @defaultValue ''
|
|
1029
|
+
*/ _defineProperty(this, "max", void 0);
|
|
864
1030
|
var _props_min;
|
|
865
1031
|
this.min = (_props_min = props === null || props === void 0 ? void 0 : props.min) !== null && _props_min !== void 0 ? _props_min : "";
|
|
866
1032
|
var _props_max;
|
|
867
1033
|
this.max = (_props_max = props === null || props === void 0 ? void 0 : props.max) !== null && _props_max !== void 0 ? _props_max : "";
|
|
868
1034
|
};
|
|
869
|
-
|
|
1035
|
+
/**
|
|
1036
|
+
* 地址值
|
|
1037
|
+
* @public
|
|
1038
|
+
*/ export var AddressValue = function AddressValue(props) {
|
|
870
1039
|
"use strict";
|
|
871
1040
|
_classCallCheck(this, AddressValue);
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
1041
|
+
/**
|
|
1042
|
+
* 市编码
|
|
1043
|
+
* @defaultValue ''
|
|
1044
|
+
*/ _defineProperty(this, "city", void 0);
|
|
1045
|
+
/**
|
|
1046
|
+
* 市显示文字
|
|
1047
|
+
* @defaultValue ''
|
|
1048
|
+
*/ _defineProperty(this, "cityDisplay", void 0);
|
|
1049
|
+
/**
|
|
1050
|
+
* 区编码
|
|
1051
|
+
* @defaultValue ''
|
|
1052
|
+
*/ _defineProperty(this, "district", void 0);
|
|
1053
|
+
/**
|
|
1054
|
+
* 区显示文字
|
|
1055
|
+
* @defaultValue ''
|
|
1056
|
+
*/ _defineProperty(this, "districtDisplay", void 0);
|
|
1057
|
+
/**
|
|
1058
|
+
* 省编码
|
|
1059
|
+
* @defaultValue ''
|
|
1060
|
+
*/ _defineProperty(this, "province", void 0);
|
|
1061
|
+
/**
|
|
1062
|
+
* 省显示文字
|
|
1063
|
+
* @defaultValue ''
|
|
1064
|
+
*/ _defineProperty(this, "provinceDisplay", void 0);
|
|
878
1065
|
var _props_city;
|
|
879
1066
|
this.city = (_props_city = props === null || props === void 0 ? void 0 : props.city) !== null && _props_city !== void 0 ? _props_city : "";
|
|
880
1067
|
var _props_cityDisplay;
|
|
@@ -888,7 +1075,10 @@ export var AddressValue = function AddressValue(props) {
|
|
|
888
1075
|
var _props_provinceDisplay;
|
|
889
1076
|
this.provinceDisplay = (_props_provinceDisplay = props === null || props === void 0 ? void 0 : props.provinceDisplay) !== null && _props_provinceDisplay !== void 0 ? _props_provinceDisplay : "";
|
|
890
1077
|
};
|
|
891
|
-
|
|
1078
|
+
/**
|
|
1079
|
+
* 计算公式数据绑定项
|
|
1080
|
+
* @public
|
|
1081
|
+
*/ export var CalcDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
892
1082
|
"use strict";
|
|
893
1083
|
_inherits(CalcDataBind, ObjectDataBind);
|
|
894
1084
|
var _super = _createSuper(CalcDataBind);
|
|
@@ -896,19 +1086,32 @@ export var CalcDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
|
896
1086
|
_classCallCheck(this, CalcDataBind);
|
|
897
1087
|
var _this;
|
|
898
1088
|
_this = _super.call(this);
|
|
899
|
-
|
|
900
|
-
|
|
1089
|
+
/**
|
|
1090
|
+
* 计算结果字段绑定项
|
|
1091
|
+
*/ _defineProperty(_assertThisInitialized(_this), "result", void 0);
|
|
1092
|
+
/**
|
|
1093
|
+
* 单位字段绑定项
|
|
1094
|
+
*/ _defineProperty(_assertThisInitialized(_this), "unit", void 0);
|
|
901
1095
|
_this.result = new DataBind(props === null || props === void 0 ? void 0 : props.result);
|
|
902
1096
|
_this.unit = new DataBind(props === null || props === void 0 ? void 0 : props.unit);
|
|
903
1097
|
return _this;
|
|
904
1098
|
}
|
|
905
1099
|
return CalcDataBind;
|
|
906
1100
|
}(ObjectDataBind);
|
|
907
|
-
|
|
1101
|
+
/**
|
|
1102
|
+
* 计算公式值
|
|
1103
|
+
* @public
|
|
1104
|
+
*/ export var CalcValue = function CalcValue(props) {
|
|
908
1105
|
"use strict";
|
|
909
1106
|
_classCallCheck(this, CalcValue);
|
|
910
|
-
|
|
911
|
-
|
|
1107
|
+
/**
|
|
1108
|
+
* 计算结果值
|
|
1109
|
+
* @defaultValue 0
|
|
1110
|
+
*/ _defineProperty(this, "result", void 0);
|
|
1111
|
+
/**
|
|
1112
|
+
* 单位
|
|
1113
|
+
* @defaultValue ''
|
|
1114
|
+
*/ _defineProperty(this, "unit", void 0);
|
|
912
1115
|
var _props_result;
|
|
913
1116
|
this.result = (_props_result = props === null || props === void 0 ? void 0 : props.result) !== null && _props_result !== void 0 ? _props_result : 0;
|
|
914
1117
|
var _props_unit;
|
|
@@ -968,12 +1171,14 @@ export var COMMON_SETTING_TYPE;
|
|
|
968
1171
|
COMMON_SETTING_TYPE["CONTAINS_SUB_NODE"] = "containsSubNode";
|
|
969
1172
|
COMMON_SETTING_TYPE["DEFAULT_COLLAPSE"] = "defaultCollapse";
|
|
970
1173
|
COMMON_SETTING_TYPE["CAN_VIEW_FORM"] = "canViewForm";
|
|
1174
|
+
COMMON_SETTING_TYPE["VIEW_FORM_MODEL_TYPE"] = "viewFormModelType";
|
|
971
1175
|
COMMON_SETTING_TYPE["SERVER_PAGINATION"] = "serverPagination";
|
|
972
1176
|
COMMON_SETTING_TYPE["IS_SHOW_CAPTION_TIP"] = "isShowCaptionTip";
|
|
973
1177
|
COMMON_SETTING_TYPE["ENCRYPTED"] = "encrypted";
|
|
974
1178
|
COMMON_SETTING_TYPE["IS_INLINE_EDIT"] = "isInlineEdit";
|
|
975
1179
|
COMMON_SETTING_TYPE["REVISIONS_MODE"] = "revisionsMode";
|
|
976
1180
|
COMMON_SETTING_TYPE["ALLOW_COPY_OPTIONS"] = "allowCopyOptions";
|
|
1181
|
+
COMMON_SETTING_TYPE["IS_PASTE"] = "isPaste";
|
|
977
1182
|
})(COMMON_SETTING_TYPE || (COMMON_SETTING_TYPE = {}));
|
|
978
1183
|
export var PAGE_STATUS;
|
|
979
1184
|
(function(PAGE_STATUS) {
|
|
@@ -1034,6 +1239,7 @@ export var ViewOperationItem = function ViewOperationItem(props) {
|
|
|
1034
1239
|
_defineProperty(this, "id", void 0);
|
|
1035
1240
|
_defineProperty(this, "title", void 0);
|
|
1036
1241
|
_defineProperty(this, "filters", void 0);
|
|
1242
|
+
_defineProperty(this, "viewFilters", void 0);
|
|
1037
1243
|
_defineProperty(this, "headers", void 0);
|
|
1038
1244
|
var _props_id;
|
|
1039
1245
|
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId(8);
|