@byteluck-fe/model-driven-controls 6.2.0-beta.12 → 6.2.0-beta.13
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/baseControls/BatchDeleteButton/property.js +10 -18
- package/dist/esm/baseControls/BatchPrintListButton/property.js +6 -9
- package/dist/esm/baseControls/BatchPrintRecordListButton/property.js +3 -4
- package/dist/esm/baseControls/BatchSubmissionListButton/property.js +7 -12
- package/dist/esm/baseControls/Button/property.js +10 -18
- package/dist/esm/baseControls/Comment/property.js +2 -2
- package/dist/esm/baseControls/CreateFormListButton/property.js +5 -8
- package/dist/esm/baseControls/Dashboard/property.js +9 -16
- package/dist/esm/baseControls/Divider/property.js +4 -5
- package/dist/esm/baseControls/ExportListButton/property.js +6 -9
- package/dist/esm/baseControls/ExportRecordListButton/property.js +3 -4
- package/dist/esm/baseControls/FormSelectButton/property.js +4 -6
- package/dist/esm/baseControls/ImportRecordListButton/property.js +6 -9
- package/dist/esm/baseControls/InvoiceCheckButton/property.js +11 -19
- package/dist/esm/baseControls/Link/property.js +4 -6
- package/dist/esm/baseControls/ListSelectButton/property.js +6 -10
- package/dist/esm/baseControls/ListViewSelect/property.js +4 -5
- package/dist/esm/baseControls/OperationButton/property.js +7 -12
- package/dist/esm/baseControls/ReferenceList/property.js +7 -12
- package/dist/esm/baseControls/SubmissionRecordListButton/property.js +3 -4
- package/dist/esm/baseControls/Text/property.js +7 -12
- package/dist/esm/baseControls/TextOcrButton/property.js +11 -19
- package/dist/esm/baseControls/Title/property.js +4 -6
- package/dist/esm/columnControls/ApprovalStatusColumn/property.js +4 -6
- package/dist/esm/columnControls/ArrayColumn/property.js +5 -8
- package/dist/esm/columnControls/AutoNumberColumn/property.js +3 -4
- package/dist/esm/columnControls/CustomColumn/property.js +4 -6
- package/dist/esm/columnControls/DecimalColumn/property.js +8 -14
- package/dist/esm/columnControls/DepartmentColumn/property.js +3 -4
- package/dist/esm/columnControls/EmployeeColumn/property.js +3 -4
- package/dist/esm/columnControls/FileColumn/property.js +3 -4
- package/dist/esm/columnControls/GroupColumn/property.js +2 -2
- package/dist/esm/columnControls/ImageColumn/property.js +2 -2
- package/dist/esm/columnControls/LocationColumn/property.js +3 -4
- package/dist/esm/columnControls/OperationColumn/designer.js +12 -4
- package/dist/esm/columnControls/OperationColumn/property.js +6 -10
- package/dist/esm/columnControls/OrderColumn/property.js +7 -12
- package/dist/esm/columnControls/PeopleColumn/property.js +2 -2
- package/dist/esm/columnControls/TextColumn/property.js +5 -8
- package/dist/esm/columnControls/TimescopeColumn/property.js +5 -8
- package/dist/esm/columnControls/TimestampColumn/property.js +5 -8
- package/dist/esm/columnControls/VarcharColumn/property.js +7 -12
- package/dist/esm/formControls/Address/property.js +6 -10
- package/dist/esm/formControls/Amount/property.js +13 -24
- package/dist/esm/formControls/Attachment/property.js +25 -40
- package/dist/esm/formControls/AutoNumber/property.js +4 -6
- package/dist/esm/formControls/Calc/property.js +10 -18
- package/dist/esm/formControls/Checkbox/property.js +16 -29
- package/dist/esm/formControls/DatePicker/property.js +15 -27
- package/dist/esm/formControls/DateRange/property.js +13 -23
- package/dist/esm/formControls/Department/property.js +12 -22
- package/dist/esm/formControls/Department2/property.js +19 -35
- package/dist/esm/formControls/ElectronicSignature/property.js +7 -12
- package/dist/esm/formControls/Employee/property.js +10 -18
- package/dist/esm/formControls/Employee2/property.js +17 -32
- package/dist/esm/formControls/Image/designer.js +8 -8
- package/dist/esm/formControls/Image/property.js +7 -12
- package/dist/esm/formControls/Input/property.js +11 -20
- package/dist/esm/formControls/Number/property.js +14 -26
- package/dist/esm/formControls/OrganizationSelection/property.js +19 -36
- package/dist/esm/formControls/Radio/property.js +13 -24
- package/dist/esm/formControls/RichText/property.js +11 -20
- package/dist/esm/formControls/Score/property.js +8 -13
- package/dist/esm/formControls/SearchDateRange/property.js +14 -25
- package/dist/esm/formControls/SearchNumberRange/property.js +7 -12
- package/dist/esm/formControls/Select/property.js +12 -22
- package/dist/esm/formControls/SelectMultiple/property.js +11 -20
- package/dist/esm/formControls/SelectRelation/property.js +14 -26
- package/dist/esm/formControls/Textarea/property.js +11 -20
- package/dist/esm/formControls/Tree/designer.js +2 -1
- package/dist/esm/formControls/Tree/property.js +20 -37
- package/dist/esm/formControls/VueFormItem/property.js +6 -10
- package/dist/esm/formControls/VuePage/property.js +6 -10
- package/dist/esm/formControls/WPS/designer.js +9 -9
- package/dist/esm/formControls/WPS/property.js +13 -24
- package/dist/esm/framework.js +69 -113
- package/dist/esm/layoutControls/ActionBar/designer.js +2 -2
- package/dist/esm/layoutControls/ActionBar/property.js +4 -6
- package/dist/esm/layoutControls/ActionBar/runtime.js +2 -2
- package/dist/esm/layoutControls/CardGroup/property.js +4 -6
- package/dist/esm/layoutControls/Col/property.js +5 -8
- package/dist/esm/layoutControls/DataView/property.js +8 -14
- package/dist/esm/layoutControls/GridLayoutContainer/property.js +3 -4
- package/dist/esm/layoutControls/GridTableColumn/property.js +11 -20
- package/dist/esm/layoutControls/ListView/property.js +15 -28
- package/dist/esm/layoutControls/Page/property.js +2 -2
- package/dist/esm/layoutControls/Position/property.js +5 -8
- package/dist/esm/layoutControls/Row/property.js +3 -4
- package/dist/esm/layoutControls/Step/designer.js +2 -2
- package/dist/esm/layoutControls/Step/property.js +6 -10
- package/dist/esm/layoutControls/StepPane/property.js +9 -16
- package/dist/esm/layoutControls/SubTableColumn/property.js +6 -10
- package/dist/esm/layoutControls/Tab/designer.js +2 -2
- package/dist/esm/layoutControls/Tab/property.js +2 -2
- package/dist/esm/layoutControls/TabPane/property.js +2 -2
- package/dist/esm/layoutControls/TableLayout/property.js +16 -30
- package/dist/esm/layoutControls/TableLayoutCol/property.js +11 -20
- package/dist/esm/layoutControls/TableLayoutRow/property.js +3 -4
- package/dist/esm/layoutControls/TableLayoutWrapper/property.js +4 -6
- package/dist/esm/listControls/GridTable/designer.js +12 -4
- package/dist/esm/listControls/GridTable/property.js +15 -19
- package/dist/esm/listControls/SubTable/property.js +35 -68
- package/dist/esm/searchControls/SimpleSearch/property.js +13 -24
- package/dist/esm/searchControls/SimpleSearch/runtime.js +2 -2
- package/dist/esm/wrapControls/GridLayoutWrap/designer.js +8 -8
- package/dist/esm/wrapControls/GridLayoutWrap/property.js +2 -2
- package/dist/esm/wrapControls/GridLayoutWrap/runtime.js +8 -8
- package/dist/index.umd.js +1 -1
- package/dist/types/framework.d.ts +19 -19
- package/dist/types/wrapControls/GridLayoutWrap/index.d.ts +1 -1
- package/package.json +5 -5
|
@@ -65,13 +65,12 @@ var SubmissionRecordListButtonProperty = /*#__PURE__*/ function(ButtonProperty)
|
|
|
65
65
|
function SubmissionRecordListButtonProperty(props) {
|
|
66
66
|
_class_call_check(this, SubmissionRecordListButtonProperty);
|
|
67
67
|
var _this;
|
|
68
|
+
var _ref, _ref1;
|
|
68
69
|
_this = _call_super(this, SubmissionRecordListButtonProperty, [
|
|
69
70
|
props
|
|
70
71
|
]);
|
|
71
|
-
|
|
72
|
-
_this.
|
|
73
|
-
var _props_icon;
|
|
74
|
-
_this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : SubmissionRecordListButtonControl.controlIcon;
|
|
72
|
+
_this.content = (_ref = props === null || props === void 0 ? void 0 : props.content) !== null && _ref !== void 0 ? _ref : SubmissionRecordListButtonControl.controlName;
|
|
73
|
+
_this.icon = (_ref1 = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref1 !== void 0 ? _ref1 : SubmissionRecordListButtonControl.controlIcon;
|
|
75
74
|
return _this;
|
|
76
75
|
}
|
|
77
76
|
return SubmissionRecordListButtonProperty;
|
|
@@ -78,6 +78,7 @@ var TextProperty = /*#__PURE__*/ function(Property) {
|
|
|
78
78
|
function TextProperty(props) {
|
|
79
79
|
_class_call_check(this, TextProperty);
|
|
80
80
|
var _this;
|
|
81
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5;
|
|
81
82
|
_this = _call_super(this, TextProperty, [
|
|
82
83
|
props
|
|
83
84
|
]), // public dataBind: DataBind
|
|
@@ -106,18 +107,12 @@ var TextProperty = /*#__PURE__*/ function(Property) {
|
|
|
106
107
|
_this.captionColor = (props === null || props === void 0 ? void 0 : props.captionColor) || '';
|
|
107
108
|
_this.captionSize = (props === null || props === void 0 ? void 0 : props.captionSize) || '';
|
|
108
109
|
_this.isCaptionItalic = (props === null || props === void 0 ? void 0 : props.isCaptionItalic) || false;
|
|
109
|
-
|
|
110
|
-
_this.
|
|
111
|
-
|
|
112
|
-
_this.
|
|
113
|
-
|
|
114
|
-
_this.
|
|
115
|
-
var _props_align;
|
|
116
|
-
_this.align = (_props_align = props === null || props === void 0 ? void 0 : props.align) !== null && _props_align !== void 0 ? _props_align : '';
|
|
117
|
-
var _props_aiContentSearch;
|
|
118
|
-
_this.aiContentSearch = (_props_aiContentSearch = props === null || props === void 0 ? void 0 : props.aiContentSearch) !== null && _props_aiContentSearch !== void 0 ? _props_aiContentSearch : false;
|
|
119
|
-
var _props_isLabel;
|
|
120
|
-
_this.isLabel = (_props_isLabel = props === null || props === void 0 ? void 0 : props.isLabel) !== null && _props_isLabel !== void 0 ? _props_isLabel : false;
|
|
110
|
+
_this.icon = (_ref = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref !== void 0 ? _ref : 'page-hint';
|
|
111
|
+
_this.showState = (_ref1 = props === null || props === void 0 ? void 0 : props.showState) !== null && _ref1 !== void 0 ? _ref1 : 'text';
|
|
112
|
+
_this.content = (_ref2 = props === null || props === void 0 ? void 0 : props.content) !== null && _ref2 !== void 0 ? _ref2 : getLocaleText('CMD.text', null, '说明文字');
|
|
113
|
+
_this.align = (_ref3 = props === null || props === void 0 ? void 0 : props.align) !== null && _ref3 !== void 0 ? _ref3 : '';
|
|
114
|
+
_this.aiContentSearch = (_ref4 = props === null || props === void 0 ? void 0 : props.aiContentSearch) !== null && _ref4 !== void 0 ? _ref4 : false;
|
|
115
|
+
_this.isLabel = (_ref5 = props === null || props === void 0 ? void 0 : props.isLabel) !== null && _ref5 !== void 0 ? _ref5 : false;
|
|
121
116
|
return _this;
|
|
122
117
|
}
|
|
123
118
|
return TextProperty;
|
|
@@ -128,30 +128,22 @@ var TextOcrButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
|
|
|
128
128
|
function TextOcrButtonProperty(props) {
|
|
129
129
|
_class_call_check(this, TextOcrButtonProperty);
|
|
130
130
|
var _this;
|
|
131
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8;
|
|
131
132
|
var _props_fillList;
|
|
132
133
|
_this = _call_super(this, TextOcrButtonProperty, [
|
|
133
134
|
props
|
|
134
135
|
]), _define_property(_this, "caption", void 0), _define_property(_this, "isHideCaption", void 0), _define_property(_this, "isShowCaptionTip", void 0), _define_property(_this, "captionTip", void 0), _define_property(_this, "labelPosition", void 0), _define_property(_this, "ocrType", void 0), _define_property(_this, "fillList", void 0);
|
|
135
|
-
|
|
136
|
-
_this.
|
|
137
|
-
|
|
138
|
-
_this.
|
|
139
|
-
|
|
140
|
-
_this.
|
|
141
|
-
|
|
142
|
-
_this.
|
|
143
|
-
|
|
144
|
-
_this.labelPosition = (_props_labelPosition = props === null || props === void 0 ? void 0 : props.labelPosition) !== null && _props_labelPosition !== void 0 ? _props_labelPosition : 'top';
|
|
145
|
-
var _props_content;
|
|
146
|
-
_this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : TextOcrButtonControl.controlName;
|
|
147
|
-
var _props_icon;
|
|
148
|
-
_this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : TextOcrButtonControl.controlIcon;
|
|
149
|
-
var _props_ocrType;
|
|
150
|
-
_this.ocrType = (_props_ocrType = props === null || props === void 0 ? void 0 : props.ocrType) !== null && _props_ocrType !== void 0 ? _props_ocrType : '';
|
|
151
|
-
var _props_fillList_map;
|
|
152
|
-
_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) {
|
|
136
|
+
_this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : TextOcrButtonControl.controlName;
|
|
137
|
+
_this.isHideCaption = (_ref1 = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _ref1 !== void 0 ? _ref1 : false;
|
|
138
|
+
_this.isShowCaptionTip = (_ref2 = props === null || props === void 0 ? void 0 : props.isShowCaptionTip) !== null && _ref2 !== void 0 ? _ref2 : false;
|
|
139
|
+
_this.captionTip = (_ref3 = props === null || props === void 0 ? void 0 : props.captionTip) !== null && _ref3 !== void 0 ? _ref3 : '';
|
|
140
|
+
_this.labelPosition = (_ref4 = props === null || props === void 0 ? void 0 : props.labelPosition) !== null && _ref4 !== void 0 ? _ref4 : 'top';
|
|
141
|
+
_this.content = (_ref5 = props === null || props === void 0 ? void 0 : props.content) !== null && _ref5 !== void 0 ? _ref5 : TextOcrButtonControl.controlName;
|
|
142
|
+
_this.icon = (_ref6 = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref6 !== void 0 ? _ref6 : TextOcrButtonControl.controlIcon;
|
|
143
|
+
_this.ocrType = (_ref7 = props === null || props === void 0 ? void 0 : props.ocrType) !== null && _ref7 !== void 0 ? _ref7 : '';
|
|
144
|
+
_this.fillList = (_ref8 = props === null || props === void 0 ? void 0 : (_props_fillList = props.fillList) === null || _props_fillList === void 0 ? void 0 : _props_fillList.map(function(item) {
|
|
153
145
|
return new MultistageFillingItem(item);
|
|
154
|
-
})) !== null &&
|
|
146
|
+
})) !== null && _ref8 !== void 0 ? _ref8 : [];
|
|
155
147
|
return _this;
|
|
156
148
|
}
|
|
157
149
|
return TextOcrButtonProperty;
|
|
@@ -128,12 +128,12 @@ var TitleProperty = /*#__PURE__*/ function(Property) {
|
|
|
128
128
|
function TitleProperty(props) {
|
|
129
129
|
_class_call_check(this, TitleProperty);
|
|
130
130
|
var _this;
|
|
131
|
+
var _ref, _ref1, _ref2, _ref3;
|
|
131
132
|
_this = _call_super(this, TitleProperty, [
|
|
132
133
|
props
|
|
133
134
|
]), _define_property(_this, "dataBind", void 0), _define_property(_this, "caption", void 0), _define_property(_this, "config", void 0), _define_property(_this, "position", void 0);
|
|
134
135
|
_this.dataBind = new DataBind(props === null || props === void 0 ? void 0 : props.dataBind);
|
|
135
|
-
|
|
136
|
-
_this.config = (_props_config = props === null || props === void 0 ? void 0 : props.config) !== null && _props_config !== void 0 ? _props_config : [
|
|
136
|
+
_this.config = (_ref = props === null || props === void 0 ? void 0 : props.config) !== null && _ref !== void 0 ? _ref : [
|
|
137
137
|
// TitleConfigEnum.ShowBizKey,
|
|
138
138
|
TitleConfigEnum.ShowSubmitUser,
|
|
139
139
|
TitleConfigEnum.ShowSubmitDept,
|
|
@@ -141,10 +141,8 @@ var TitleProperty = /*#__PURE__*/ function(Property) {
|
|
|
141
141
|
TitleConfigEnum.ShowCurrentApprovar,
|
|
142
142
|
TitleConfigEnum.ShowTitle
|
|
143
143
|
];
|
|
144
|
-
|
|
145
|
-
_this.
|
|
146
|
-
var _props_position;
|
|
147
|
-
_this.position = (_props_position = props === null || props === void 0 ? void 0 : props.position) !== null && _props_position !== void 0 ? _props_position : 'top';
|
|
144
|
+
_this.caption = (_ref1 = (_ref2 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref2 !== void 0 ? _ref2 : DesignerTitleControl === null || DesignerTitleControl === void 0 ? void 0 : DesignerTitleControl.controlName) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
145
|
+
_this.position = (_ref3 = props === null || props === void 0 ? void 0 : props.position) !== null && _ref3 !== void 0 ? _ref3 : 'top';
|
|
148
146
|
return _this;
|
|
149
147
|
}
|
|
150
148
|
return TitleProperty;
|
|
@@ -81,6 +81,7 @@ import { DesignerApprovalStatusColumnControl } from './designer';
|
|
|
81
81
|
function ApprovalStatusColumnControlProperty(props) {
|
|
82
82
|
_class_call_check(this, ApprovalStatusColumnControlProperty);
|
|
83
83
|
var _this;
|
|
84
|
+
var _ref, _ref1, _ref2;
|
|
84
85
|
_this = _call_super(this, ApprovalStatusColumnControlProperty, [
|
|
85
86
|
props
|
|
86
87
|
]), /**
|
|
@@ -92,13 +93,10 @@ import { DesignerApprovalStatusColumnControl } from './designer';
|
|
|
92
93
|
* 链接操作配置
|
|
93
94
|
* @public
|
|
94
95
|
*/ _define_property(_this, "linkOperationOption", void 0);
|
|
95
|
-
|
|
96
|
-
_this.
|
|
97
|
-
var _props_showLinkOperation;
|
|
98
|
-
_this.showLinkOperation = (_props_showLinkOperation = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _props_showLinkOperation !== void 0 ? _props_showLinkOperation : false;
|
|
96
|
+
_this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : DesignerApprovalStatusColumnControl.controlName;
|
|
97
|
+
_this.showLinkOperation = (_ref1 = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _ref1 !== void 0 ? _ref1 : false;
|
|
99
98
|
_this.linkOperationOption = new LinkOperationOption(props === null || props === void 0 ? void 0 : props.linkOperationOption);
|
|
100
|
-
|
|
101
|
-
_this.lineEllipsis = (_props_lineEllipsis = props === null || props === void 0 ? void 0 : props.lineEllipsis) !== null && _props_lineEllipsis !== void 0 ? _props_lineEllipsis : 1;
|
|
99
|
+
_this.lineEllipsis = (_ref2 = props === null || props === void 0 ? void 0 : props.lineEllipsis) !== null && _ref2 !== void 0 ? _ref2 : 1;
|
|
102
100
|
return _this;
|
|
103
101
|
}
|
|
104
102
|
return ApprovalStatusColumnControlProperty;
|
|
@@ -98,6 +98,7 @@ import { DesignerArrayColumnControl } from './designer';
|
|
|
98
98
|
function ArrayColumnControlProperty(props) {
|
|
99
99
|
_class_call_check(this, ArrayColumnControlProperty);
|
|
100
100
|
var _this;
|
|
101
|
+
var _ref, _ref1, _ref2, _ref3;
|
|
101
102
|
_this = _call_super(this, ArrayColumnControlProperty, [
|
|
102
103
|
props
|
|
103
104
|
]), /**
|
|
@@ -118,16 +119,12 @@ import { DesignerArrayColumnControl } from './designer';
|
|
|
118
119
|
* @defaultValue []
|
|
119
120
|
* @public
|
|
120
121
|
*/ _define_property(_this, "options", void 0);
|
|
121
|
-
|
|
122
|
-
_this.
|
|
123
|
-
var _props_optionConfig;
|
|
124
|
-
_this.optionConfig = (_props_optionConfig = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _props_optionConfig !== void 0 ? _props_optionConfig : 'none';
|
|
122
|
+
_this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : DesignerArrayColumnControl.controlName;
|
|
123
|
+
_this.optionConfig = (_ref1 = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _ref1 !== void 0 ? _ref1 : 'none';
|
|
125
124
|
_this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
|
|
126
|
-
|
|
127
|
-
_this.showLinkOperation = (_props_showLinkOperation = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _props_showLinkOperation !== void 0 ? _props_showLinkOperation : false;
|
|
125
|
+
_this.showLinkOperation = (_ref2 = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _ref2 !== void 0 ? _ref2 : false;
|
|
128
126
|
_this.linkOperationOption = new LinkOperationOption(props === null || props === void 0 ? void 0 : props.linkOperationOption);
|
|
129
|
-
|
|
130
|
-
_this.options = initOptions((_props_options = props === null || props === void 0 ? void 0 : props.options) !== null && _props_options !== void 0 ? _props_options : [
|
|
127
|
+
_this.options = initOptions((_ref3 = props === null || props === void 0 ? void 0 : props.options) !== null && _ref3 !== void 0 ? _ref3 : [
|
|
131
128
|
{}
|
|
132
129
|
]);
|
|
133
130
|
return _this;
|
|
@@ -95,6 +95,7 @@ var AutoNumberColumnControlPropertyRules = /*#__PURE__*/ function(ColumnControlP
|
|
|
95
95
|
function AutoNumberColumnControlProperty(props) {
|
|
96
96
|
_class_call_check(this, AutoNumberColumnControlProperty);
|
|
97
97
|
var _this;
|
|
98
|
+
var _ref, _ref1;
|
|
98
99
|
_this = _call_super(this, AutoNumberColumnControlProperty, [
|
|
99
100
|
props
|
|
100
101
|
]), /**
|
|
@@ -104,10 +105,8 @@ var AutoNumberColumnControlPropertyRules = /*#__PURE__*/ function(ColumnControlP
|
|
|
104
105
|
* 链接操作配置
|
|
105
106
|
* @public
|
|
106
107
|
*/ _define_property(_this, "linkOperationOption", void 0);
|
|
107
|
-
|
|
108
|
-
_this.
|
|
109
|
-
var _props_showLinkOperation;
|
|
110
|
-
_this.showLinkOperation = (_props_showLinkOperation = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _props_showLinkOperation !== void 0 ? _props_showLinkOperation : false;
|
|
108
|
+
_this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : DesignerAutoNumberColumnControl.controlName;
|
|
109
|
+
_this.showLinkOperation = (_ref1 = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _ref1 !== void 0 ? _ref1 : false;
|
|
111
110
|
_this.linkOperationOption = new LinkOperationOption(props === null || props === void 0 ? void 0 : props.linkOperationOption);
|
|
112
111
|
return _this;
|
|
113
112
|
}
|
|
@@ -101,15 +101,13 @@ var CustomColumnControlPropertyRules = /*#__PURE__*/ function(ColumnControlPrope
|
|
|
101
101
|
function CustomColumnControlProperty(props) {
|
|
102
102
|
_class_call_check(this, CustomColumnControlProperty);
|
|
103
103
|
var _this;
|
|
104
|
+
var _ref, _ref1, _ref2;
|
|
104
105
|
_this = _call_super(this, CustomColumnControlProperty, [
|
|
105
106
|
props
|
|
106
107
|
]), _define_property(_this, "fieldCodeList", void 0), _define_property(_this, "sortFieldCode", void 0);
|
|
107
|
-
|
|
108
|
-
_this.
|
|
109
|
-
|
|
110
|
-
_this.fieldCodeList = (_props_fieldCodeList = props === null || props === void 0 ? void 0 : props.fieldCodeList) !== null && _props_fieldCodeList !== void 0 ? _props_fieldCodeList : [];
|
|
111
|
-
var _props_sortFieldCode;
|
|
112
|
-
_this.sortFieldCode = (_props_sortFieldCode = props === null || props === void 0 ? void 0 : props.sortFieldCode) !== null && _props_sortFieldCode !== void 0 ? _props_sortFieldCode : '';
|
|
108
|
+
_this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : DesignerCustomColumnControl.controlName;
|
|
109
|
+
_this.fieldCodeList = (_ref1 = props === null || props === void 0 ? void 0 : props.fieldCodeList) !== null && _ref1 !== void 0 ? _ref1 : [];
|
|
110
|
+
_this.sortFieldCode = (_ref2 = props === null || props === void 0 ? void 0 : props.sortFieldCode) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
113
111
|
return _this;
|
|
114
112
|
}
|
|
115
113
|
return CustomColumnControlProperty;
|
|
@@ -95,6 +95,7 @@ var DecimalColumnControlPropertyRules = /*#__PURE__*/ function(ColumnOptionAndDa
|
|
|
95
95
|
function DecimalColumnControlProperty(props) {
|
|
96
96
|
_class_call_check(this, DecimalColumnControlProperty);
|
|
97
97
|
var _this;
|
|
98
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6;
|
|
98
99
|
_this = _call_super(this, DecimalColumnControlProperty, [
|
|
99
100
|
props
|
|
100
101
|
]), /**
|
|
@@ -127,23 +128,16 @@ var DecimalColumnControlPropertyRules = /*#__PURE__*/ function(ColumnOptionAndDa
|
|
|
127
128
|
* @defaultValue false
|
|
128
129
|
* @public
|
|
129
130
|
* */ _define_property(_this, "percentageFormat", void 0);
|
|
130
|
-
|
|
131
|
-
_this.
|
|
132
|
-
|
|
133
|
-
_this.
|
|
134
|
-
|
|
135
|
-
_this.micrometer = (_props_micrometer = props === null || props === void 0 ? void 0 : props.micrometer) !== null && _props_micrometer !== void 0 ? _props_micrometer : false;
|
|
136
|
-
var _props_percentageFormat;
|
|
137
|
-
_this.percentageFormat = (_props_percentageFormat = props === null || props === void 0 ? void 0 : props.percentageFormat) !== null && _props_percentageFormat !== void 0 ? _props_percentageFormat : false;
|
|
138
|
-
var _props_optionConfig;
|
|
139
|
-
_this.optionConfig = (_props_optionConfig = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _props_optionConfig !== void 0 ? _props_optionConfig : 'none';
|
|
131
|
+
_this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : DesignerDecimalColumnControl.controlName;
|
|
132
|
+
_this.precision = (_ref1 = props === null || props === void 0 ? void 0 : props.precision) !== null && _ref1 !== void 0 ? _ref1 : 0;
|
|
133
|
+
_this.micrometer = (_ref2 = props === null || props === void 0 ? void 0 : props.micrometer) !== null && _ref2 !== void 0 ? _ref2 : false;
|
|
134
|
+
_this.percentageFormat = (_ref3 = props === null || props === void 0 ? void 0 : props.percentageFormat) !== null && _ref3 !== void 0 ? _ref3 : false;
|
|
135
|
+
_this.optionConfig = (_ref4 = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _ref4 !== void 0 ? _ref4 : 'none';
|
|
140
136
|
_this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
|
|
141
|
-
|
|
142
|
-
_this.options = initOptions((_props_options = props === null || props === void 0 ? void 0 : props.options) !== null && _props_options !== void 0 ? _props_options : [
|
|
137
|
+
_this.options = initOptions((_ref5 = props === null || props === void 0 ? void 0 : props.options) !== null && _ref5 !== void 0 ? _ref5 : [
|
|
143
138
|
{}
|
|
144
139
|
]);
|
|
145
|
-
|
|
146
|
-
_this.showLinkOperation = (_props_showLinkOperation = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _props_showLinkOperation !== void 0 ? _props_showLinkOperation : false;
|
|
140
|
+
_this.showLinkOperation = (_ref6 = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _ref6 !== void 0 ? _ref6 : false;
|
|
147
141
|
_this.linkOperationOption = new LinkOperationOption(props === null || props === void 0 ? void 0 : props.linkOperationOption);
|
|
148
142
|
return _this;
|
|
149
143
|
}
|
|
@@ -81,6 +81,7 @@ import { DesignerDepartmentColumnControl } from './designer';
|
|
|
81
81
|
function DepartmentColumnControlProperty(props) {
|
|
82
82
|
_class_call_check(this, DepartmentColumnControlProperty);
|
|
83
83
|
var _this;
|
|
84
|
+
var _ref, _ref1;
|
|
84
85
|
_this = _call_super(this, DepartmentColumnControlProperty, [
|
|
85
86
|
props
|
|
86
87
|
]), /**
|
|
@@ -88,10 +89,8 @@ import { DesignerDepartmentColumnControl } from './designer';
|
|
|
88
89
|
* @defaultValue 1
|
|
89
90
|
* @public
|
|
90
91
|
* */ _define_property(_this, "displayLevel", void 0);
|
|
91
|
-
|
|
92
|
-
_this.
|
|
93
|
-
var _props_displayLevel;
|
|
94
|
-
_this.displayLevel = (_props_displayLevel = props === null || props === void 0 ? void 0 : props.displayLevel) !== null && _props_displayLevel !== void 0 ? _props_displayLevel : 1;
|
|
92
|
+
_this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : DesignerDepartmentColumnControl.controlName;
|
|
93
|
+
_this.displayLevel = (_ref1 = props === null || props === void 0 ? void 0 : props.displayLevel) !== null && _ref1 !== void 0 ? _ref1 : 1;
|
|
95
94
|
return _this;
|
|
96
95
|
}
|
|
97
96
|
return DepartmentColumnControlProperty;
|
|
@@ -81,16 +81,15 @@ import EmployeeColumnControl from './designer';
|
|
|
81
81
|
function EmployeeColumnControlProperty(props) {
|
|
82
82
|
_class_call_check(this, EmployeeColumnControlProperty);
|
|
83
83
|
var _this;
|
|
84
|
+
var _ref, _ref1;
|
|
84
85
|
_this = _call_super(this, EmployeeColumnControlProperty, [
|
|
85
86
|
props
|
|
86
87
|
]), /**
|
|
87
88
|
* 关联数据源
|
|
88
89
|
* @public
|
|
89
90
|
*/ _define_property(_this, "datasourceBind", void 0);
|
|
90
|
-
|
|
91
|
-
_this.
|
|
92
|
-
var _props_datasourceBind;
|
|
93
|
-
_this.datasourceBind = new SuperDataSourceBind((_props_datasourceBind = props === null || props === void 0 ? void 0 : props.datasourceBind) !== null && _props_datasourceBind !== void 0 ? _props_datasourceBind : {
|
|
91
|
+
_this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : EmployeeColumnControl.controlName;
|
|
92
|
+
_this.datasourceBind = new SuperDataSourceBind((_ref1 = props === null || props === void 0 ? void 0 : props.datasourceBind) !== null && _ref1 !== void 0 ? _ref1 : {
|
|
94
93
|
attributes: EmployeeColumnControl.controlCustomAttributes
|
|
95
94
|
});
|
|
96
95
|
return _this;
|
|
@@ -80,14 +80,13 @@ import { DesignerFileColumnControl } from './designer';
|
|
|
80
80
|
function FileColumnControlProperty(props) {
|
|
81
81
|
_class_call_check(this, FileColumnControlProperty);
|
|
82
82
|
var _this;
|
|
83
|
+
var _ref, _ref1;
|
|
83
84
|
_this = _call_super(this, FileColumnControlProperty, [
|
|
84
85
|
props
|
|
85
86
|
]), // 附件按钮操作数组
|
|
86
87
|
_define_property(_this, "operation", void 0);
|
|
87
|
-
|
|
88
|
-
_this.
|
|
89
|
-
var _props_operation;
|
|
90
|
-
_this.operation = (_props_operation = props === null || props === void 0 ? void 0 : props.operation) !== null && _props_operation !== void 0 ? _props_operation : [
|
|
88
|
+
_this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : DesignerFileColumnControl.controlName;
|
|
89
|
+
_this.operation = (_ref1 = props === null || props === void 0 ? void 0 : props.operation) !== null && _ref1 !== void 0 ? _ref1 : [
|
|
91
90
|
'info',
|
|
92
91
|
'preview',
|
|
93
92
|
'download'
|
|
@@ -67,11 +67,11 @@ import { ColumnControlProperty } from '@byteluck-fe/model-driven-core';
|
|
|
67
67
|
function GroupColumnControlProperty(props) {
|
|
68
68
|
_class_call_check(this, GroupColumnControlProperty);
|
|
69
69
|
var _this;
|
|
70
|
+
var _ref;
|
|
70
71
|
_this = _call_super(this, GroupColumnControlProperty, [
|
|
71
72
|
props
|
|
72
73
|
]);
|
|
73
|
-
|
|
74
|
-
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : '';
|
|
74
|
+
_this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : '';
|
|
75
75
|
return _this;
|
|
76
76
|
}
|
|
77
77
|
return GroupColumnControlProperty;
|
|
@@ -67,11 +67,11 @@ import { DesignerImageColumnControl } from './designer';
|
|
|
67
67
|
function ImageColumnControlProperty(props) {
|
|
68
68
|
_class_call_check(this, ImageColumnControlProperty);
|
|
69
69
|
var _this;
|
|
70
|
+
var _ref;
|
|
70
71
|
_this = _call_super(this, ImageColumnControlProperty, [
|
|
71
72
|
props
|
|
72
73
|
]);
|
|
73
|
-
|
|
74
|
-
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerImageColumnControl.controlName;
|
|
74
|
+
_this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : DesignerImageColumnControl.controlName;
|
|
75
75
|
return _this;
|
|
76
76
|
}
|
|
77
77
|
return ImageColumnControlProperty;
|
|
@@ -95,6 +95,7 @@ var LocationColumnControlPropertyRules = /*#__PURE__*/ function(ColumnControlPro
|
|
|
95
95
|
function LocationColumnControlProperty(props) {
|
|
96
96
|
_class_call_check(this, LocationColumnControlProperty);
|
|
97
97
|
var _this;
|
|
98
|
+
var _ref, _ref1;
|
|
98
99
|
_this = _call_super(this, LocationColumnControlProperty, [
|
|
99
100
|
props
|
|
100
101
|
]), /**
|
|
@@ -104,10 +105,8 @@ var LocationColumnControlPropertyRules = /*#__PURE__*/ function(ColumnControlPro
|
|
|
104
105
|
* 链接操作配置
|
|
105
106
|
* @public
|
|
106
107
|
*/ _define_property(_this, "linkOperationOption", void 0);
|
|
107
|
-
|
|
108
|
-
_this.
|
|
109
|
-
var _props_showLinkOperation;
|
|
110
|
-
_this.showLinkOperation = (_props_showLinkOperation = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _props_showLinkOperation !== void 0 ? _props_showLinkOperation : false;
|
|
108
|
+
_this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : DesignerLocationColumnControl.controlName;
|
|
109
|
+
_this.showLinkOperation = (_ref1 = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _ref1 !== void 0 ? _ref1 : false;
|
|
111
110
|
_this.linkOperationOption = new LinkOperationOption(props === null || props === void 0 ? void 0 : props.linkOperationOption);
|
|
112
111
|
return _this;
|
|
113
112
|
}
|
|
@@ -145,9 +145,17 @@ function _ts_generator(thisArg, body) {
|
|
|
145
145
|
},
|
|
146
146
|
trys: [],
|
|
147
147
|
ops: []
|
|
148
|
-
}, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
149
|
-
return
|
|
150
|
-
|
|
148
|
+
}, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype), d = Object.defineProperty;
|
|
149
|
+
return d(g, "next", {
|
|
150
|
+
value: verb(0)
|
|
151
|
+
}), d(g, "throw", {
|
|
152
|
+
value: verb(1)
|
|
153
|
+
}), d(g, "return", {
|
|
154
|
+
value: verb(2)
|
|
155
|
+
}), typeof Symbol === "function" && d(g, Symbol.iterator, {
|
|
156
|
+
value: function() {
|
|
157
|
+
return this;
|
|
158
|
+
}
|
|
151
159
|
}), g;
|
|
152
160
|
function verb(n) {
|
|
153
161
|
return function(v) {
|
|
@@ -273,7 +281,7 @@ var OperationColumnControl = /*#__PURE__*/ function(DesignerColumnControl) {
|
|
|
273
281
|
// }
|
|
274
282
|
function validate(messages, ignore) {
|
|
275
283
|
var _this = this;
|
|
276
|
-
var _this1 = this, _superprop_get_validate = function() {
|
|
284
|
+
var _this1 = this, _superprop_get_validate = function _superprop_get_validate() {
|
|
277
285
|
return _get(_get_prototype_of(OperationColumnControl.prototype), "validate", _this);
|
|
278
286
|
};
|
|
279
287
|
return _async_to_generator(function() {
|
|
@@ -116,6 +116,7 @@ import { DesignerOperationColumnControl } from './designer';
|
|
|
116
116
|
function OperationColumnControlProperty(props) {
|
|
117
117
|
_class_call_check(this, OperationColumnControlProperty);
|
|
118
118
|
var _this;
|
|
119
|
+
var _ref, _ref1, _ref2, _ref3, _ref4;
|
|
119
120
|
var _props_autoWidth;
|
|
120
121
|
_this = _call_super(this, OperationColumnControlProperty, [
|
|
121
122
|
props
|
|
@@ -133,10 +134,8 @@ import { DesignerOperationColumnControl } from './designer';
|
|
|
133
134
|
* @defaultValue 3
|
|
134
135
|
* @public
|
|
135
136
|
*/ _define_property(_this, "limit", void 0);
|
|
136
|
-
|
|
137
|
-
_this.fixed = (_props_fixed = props === null || props === void 0 ? void 0 : props.fixed) !== null && _props_fixed !== void 0 ? _props_fixed : 'right';
|
|
137
|
+
_this.fixed = (_ref = props === null || props === void 0 ? void 0 : props.fixed) !== null && _ref !== void 0 ? _ref : 'right';
|
|
138
138
|
_this.widthType = 'auto';
|
|
139
|
-
var _props_autoWidth_minWidth;
|
|
140
139
|
// this.check = new OperationItem(
|
|
141
140
|
// props?.check ?? {
|
|
142
141
|
// content: '查看',
|
|
@@ -152,13 +151,10 @@ import { DesignerOperationColumnControl } from './designer';
|
|
|
152
151
|
// props?.delete ?? { content: '删除', type: 'delete', isShow: false }
|
|
153
152
|
// )
|
|
154
153
|
// this.custom = (props?.custom ?? []).map((item) => new OperationItem(item))
|
|
155
|
-
_this.autoWidth.minWidth = (
|
|
156
|
-
|
|
157
|
-
_this.
|
|
158
|
-
|
|
159
|
-
_this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : 'icon';
|
|
160
|
-
var _props_limit;
|
|
161
|
-
_this.limit = (_props_limit = props === null || props === void 0 ? void 0 : props.limit) !== null && _props_limit !== void 0 ? _props_limit : 3;
|
|
154
|
+
_this.autoWidth.minWidth = (_ref1 = props === null || props === void 0 ? void 0 : (_props_autoWidth = props.autoWidth) === null || _props_autoWidth === void 0 ? void 0 : _props_autoWidth.minWidth) !== null && _ref1 !== void 0 ? _ref1 : 84;
|
|
155
|
+
_this.caption = (_ref2 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref2 !== void 0 ? _ref2 : DesignerOperationColumnControl.controlName;
|
|
156
|
+
_this.showType = (_ref3 = props === null || props === void 0 ? void 0 : props.showType) !== null && _ref3 !== void 0 ? _ref3 : 'icon';
|
|
157
|
+
_this.limit = (_ref4 = props === null || props === void 0 ? void 0 : props.limit) !== null && _ref4 !== void 0 ? _ref4 : 3;
|
|
162
158
|
return _this;
|
|
163
159
|
}
|
|
164
160
|
return OperationColumnControlProperty;
|
|
@@ -95,22 +95,17 @@ var OrderColumnControlPropertyRules = /*#__PURE__*/ function(ColumnControlProper
|
|
|
95
95
|
function OrderColumnControlProperty(props) {
|
|
96
96
|
_class_call_check(this, OrderColumnControlProperty);
|
|
97
97
|
var _this;
|
|
98
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5;
|
|
98
99
|
var _props_autoWidth, _props_autoWidth1;
|
|
99
100
|
_this = _call_super(this, OrderColumnControlProperty, [
|
|
100
101
|
props
|
|
101
102
|
]);
|
|
102
|
-
|
|
103
|
-
_this.
|
|
104
|
-
|
|
105
|
-
_this.
|
|
106
|
-
|
|
107
|
-
_this.
|
|
108
|
-
var _props_autoWidth_minWidth;
|
|
109
|
-
_this.autoWidth.minWidth = (_props_autoWidth_minWidth = props === null || props === void 0 ? void 0 : (_props_autoWidth = props.autoWidth) === null || _props_autoWidth === void 0 ? void 0 : _props_autoWidth.minWidth) !== null && _props_autoWidth_minWidth !== void 0 ? _props_autoWidth_minWidth : 60;
|
|
110
|
-
var _props_autoWidth_flex;
|
|
111
|
-
_this.autoWidth.flex = (_props_autoWidth_flex = props === null || props === void 0 ? void 0 : (_props_autoWidth1 = props.autoWidth) === null || _props_autoWidth1 === void 0 ? void 0 : _props_autoWidth1.flex) !== null && _props_autoWidth_flex !== void 0 ? _props_autoWidth_flex : 0.4;
|
|
112
|
-
var _props_widthType;
|
|
113
|
-
_this.widthType = (_props_widthType = props === null || props === void 0 ? void 0 : props.widthType) !== null && _props_widthType !== void 0 ? _props_widthType : 'px';
|
|
103
|
+
_this.fixed = (_ref = props === null || props === void 0 ? void 0 : props.fixed) !== null && _ref !== void 0 ? _ref : 'left';
|
|
104
|
+
_this.caption = (_ref1 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref1 !== void 0 ? _ref1 : DesignerOrderColumnControl.controlName;
|
|
105
|
+
_this.width = (_ref2 = props === null || props === void 0 ? void 0 : props.width) !== null && _ref2 !== void 0 ? _ref2 : 60;
|
|
106
|
+
_this.autoWidth.minWidth = (_ref3 = props === null || props === void 0 ? void 0 : (_props_autoWidth = props.autoWidth) === null || _props_autoWidth === void 0 ? void 0 : _props_autoWidth.minWidth) !== null && _ref3 !== void 0 ? _ref3 : 60;
|
|
107
|
+
_this.autoWidth.flex = (_ref4 = props === null || props === void 0 ? void 0 : (_props_autoWidth1 = props.autoWidth) === null || _props_autoWidth1 === void 0 ? void 0 : _props_autoWidth1.flex) !== null && _ref4 !== void 0 ? _ref4 : 0.4;
|
|
108
|
+
_this.widthType = (_ref5 = props === null || props === void 0 ? void 0 : props.widthType) !== null && _ref5 !== void 0 ? _ref5 : 'px';
|
|
114
109
|
return _this;
|
|
115
110
|
}
|
|
116
111
|
return OrderColumnControlProperty;
|
|
@@ -67,11 +67,11 @@ import { DesignerPeopleColumnControl } from './designer';
|
|
|
67
67
|
function PeopleColumnControlProperty(props) {
|
|
68
68
|
_class_call_check(this, PeopleColumnControlProperty);
|
|
69
69
|
var _this;
|
|
70
|
+
var _ref;
|
|
70
71
|
_this = _call_super(this, PeopleColumnControlProperty, [
|
|
71
72
|
props
|
|
72
73
|
]);
|
|
73
|
-
|
|
74
|
-
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerPeopleColumnControl.controlName;
|
|
74
|
+
_this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : DesignerPeopleColumnControl.controlName;
|
|
75
75
|
return _this;
|
|
76
76
|
}
|
|
77
77
|
return PeopleColumnControlProperty;
|
|
@@ -95,6 +95,7 @@ var TextColumnControlPropertyRules = /*#__PURE__*/ function(ColumnControlPropert
|
|
|
95
95
|
function TextColumnControlProperty(props) {
|
|
96
96
|
_class_call_check(this, TextColumnControlProperty);
|
|
97
97
|
var _this;
|
|
98
|
+
var _ref, _ref1, _ref2, _ref3;
|
|
98
99
|
_this = _call_super(this, TextColumnControlProperty, [
|
|
99
100
|
props
|
|
100
101
|
]), /**
|
|
@@ -112,14 +113,10 @@ var TextColumnControlPropertyRules = /*#__PURE__*/ function(ColumnControlPropert
|
|
|
112
113
|
* 链接操作配置
|
|
113
114
|
* @public
|
|
114
115
|
*/ _define_property(_this, "linkOperationOption", void 0), _define_property(_this, "lineEllipsis", void 0);
|
|
115
|
-
|
|
116
|
-
_this.
|
|
117
|
-
|
|
118
|
-
_this.
|
|
119
|
-
var _props_lineEllipsis;
|
|
120
|
-
_this.lineEllipsis = (_props_lineEllipsis = props === null || props === void 0 ? void 0 : props.lineEllipsis) !== null && _props_lineEllipsis !== void 0 ? _props_lineEllipsis : 1;
|
|
121
|
-
var _props_showLinkOperation;
|
|
122
|
-
_this.showLinkOperation = (_props_showLinkOperation = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _props_showLinkOperation !== void 0 ? _props_showLinkOperation : false;
|
|
116
|
+
_this.escapeHTML = (_ref = props === null || props === void 0 ? void 0 : props.escapeHTML) !== null && _ref !== void 0 ? _ref : false;
|
|
117
|
+
_this.caption = (_ref1 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref1 !== void 0 ? _ref1 : DesignerTextColumnControl.controlName;
|
|
118
|
+
_this.lineEllipsis = (_ref2 = props === null || props === void 0 ? void 0 : props.lineEllipsis) !== null && _ref2 !== void 0 ? _ref2 : 1;
|
|
119
|
+
_this.showLinkOperation = (_ref3 = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _ref3 !== void 0 ? _ref3 : false;
|
|
123
120
|
_this.linkOperationOption = new LinkOperationOption(props === null || props === void 0 ? void 0 : props.linkOperationOption);
|
|
124
121
|
return _this;
|
|
125
122
|
}
|
|
@@ -96,6 +96,7 @@ var TimescopeColumnControlPropertyRules = /*#__PURE__*/ function(ColumnControlPr
|
|
|
96
96
|
function TimescopeColumnControlProperty(props) {
|
|
97
97
|
_class_call_check(this, TimescopeColumnControlProperty);
|
|
98
98
|
var _this;
|
|
99
|
+
var _ref, _ref1, _ref2, _ref3;
|
|
99
100
|
_this = _call_super(this, TimescopeColumnControlProperty, [
|
|
100
101
|
props
|
|
101
102
|
]), /**
|
|
@@ -110,15 +111,11 @@ var TimescopeColumnControlPropertyRules = /*#__PURE__*/ function(ColumnControlPr
|
|
|
110
111
|
* @public
|
|
111
112
|
*/ _define_property(_this, "linkOperationOption", void 0), _define_property(_this, "isInternational", void 0 //是否国际化
|
|
112
113
|
);
|
|
113
|
-
|
|
114
|
-
_this.
|
|
115
|
-
var _props_showLinkOperation;
|
|
116
|
-
_this.showLinkOperation = (_props_showLinkOperation = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _props_showLinkOperation !== void 0 ? _props_showLinkOperation : false;
|
|
114
|
+
_this.dateType = (_ref = props === null || props === void 0 ? void 0 : props.dateType) !== null && _ref !== void 0 ? _ref : DateType.DATE;
|
|
115
|
+
_this.showLinkOperation = (_ref1 = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _ref1 !== void 0 ? _ref1 : false;
|
|
117
116
|
_this.linkOperationOption = new LinkOperationOption(props === null || props === void 0 ? void 0 : props.linkOperationOption);
|
|
118
|
-
|
|
119
|
-
_this.
|
|
120
|
-
var _props_isInternational;
|
|
121
|
-
_this.isInternational = (_props_isInternational = props === null || props === void 0 ? void 0 : props.isInternational) !== null && _props_isInternational !== void 0 ? _props_isInternational : false;
|
|
117
|
+
_this.caption = (_ref2 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref2 !== void 0 ? _ref2 : DesignerTimescopeColumnControl.controlName;
|
|
118
|
+
_this.isInternational = (_ref3 = props === null || props === void 0 ? void 0 : props.isInternational) !== null && _ref3 !== void 0 ? _ref3 : false;
|
|
122
119
|
return _this;
|
|
123
120
|
}
|
|
124
121
|
return TimescopeColumnControlProperty;
|
|
@@ -96,6 +96,7 @@ var TimestampColumnControlPropertyRules = /*#__PURE__*/ function(ColumnControlPr
|
|
|
96
96
|
function TimestampColumnControlProperty(props) {
|
|
97
97
|
_class_call_check(this, TimestampColumnControlProperty);
|
|
98
98
|
var _this;
|
|
99
|
+
var _ref, _ref1, _ref2, _ref3;
|
|
99
100
|
_this = _call_super(this, TimestampColumnControlProperty, [
|
|
100
101
|
props
|
|
101
102
|
]), /**
|
|
@@ -110,15 +111,11 @@ var TimestampColumnControlPropertyRules = /*#__PURE__*/ function(ColumnControlPr
|
|
|
110
111
|
* @public
|
|
111
112
|
*/ _define_property(_this, "linkOperationOption", void 0), _define_property(_this, "isInternational", void 0 //是否国际化
|
|
112
113
|
);
|
|
113
|
-
|
|
114
|
-
_this.
|
|
115
|
-
var _props_showLinkOperation;
|
|
116
|
-
_this.showLinkOperation = (_props_showLinkOperation = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _props_showLinkOperation !== void 0 ? _props_showLinkOperation : false;
|
|
114
|
+
_this.dateType = (_ref = props === null || props === void 0 ? void 0 : props.dateType) !== null && _ref !== void 0 ? _ref : DateType.DATE;
|
|
115
|
+
_this.showLinkOperation = (_ref1 = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _ref1 !== void 0 ? _ref1 : false;
|
|
117
116
|
_this.linkOperationOption = new LinkOperationOption(props === null || props === void 0 ? void 0 : props.linkOperationOption);
|
|
118
|
-
|
|
119
|
-
_this.
|
|
120
|
-
var _props_isInternational;
|
|
121
|
-
_this.isInternational = (_props_isInternational = props === null || props === void 0 ? void 0 : props.isInternational) !== null && _props_isInternational !== void 0 ? _props_isInternational : false;
|
|
117
|
+
_this.caption = (_ref2 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref2 !== void 0 ? _ref2 : DesignerTimestampColumnControl.controlName;
|
|
118
|
+
_this.isInternational = (_ref3 = props === null || props === void 0 ? void 0 : props.isInternational) !== null && _ref3 !== void 0 ? _ref3 : false;
|
|
122
119
|
return _this;
|
|
123
120
|
}
|
|
124
121
|
return TimestampColumnControlProperty;
|