@byteluck-fe/model-driven-controls 7.0.0-props.13 → 7.0.0-props.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/baseControls/BatchDeleteButton/property.js +18 -10
- package/dist/esm/baseControls/BatchPrintListButton/property.js +9 -6
- package/dist/esm/baseControls/BatchPrintRecordListButton/property.js +4 -3
- package/dist/esm/baseControls/BatchSubmissionListButton/property.js +12 -7
- package/dist/esm/baseControls/Button/property.js +18 -10
- package/dist/esm/baseControls/Comment/property.js +2 -2
- package/dist/esm/baseControls/CreateFormListButton/property.js +8 -5
- package/dist/esm/baseControls/Dashboard/property.js +16 -9
- package/dist/esm/baseControls/Divider/designer.js +25 -0
- package/dist/esm/baseControls/Divider/property.js +14 -8
- package/dist/esm/baseControls/ExportListButton/property.js +9 -6
- package/dist/esm/baseControls/ExportRecordListButton/property.js +4 -3
- package/dist/esm/baseControls/FormSelectButton/property.js +6 -4
- package/dist/esm/baseControls/ImportRecordListButton/property.js +9 -6
- package/dist/esm/baseControls/InvoiceCheckButton/property.js +19 -11
- package/dist/esm/baseControls/Link/property.js +18 -10
- package/dist/esm/baseControls/ListSelectButton/property.js +10 -6
- package/dist/esm/baseControls/ListViewSelect/property.js +5 -4
- package/dist/esm/baseControls/OperationButton/property.js +12 -7
- package/dist/esm/baseControls/ReferenceList/property.js +12 -7
- package/dist/esm/baseControls/SubmissionRecordListButton/property.js +4 -3
- package/dist/esm/baseControls/Text/property.js +16 -9
- package/dist/esm/baseControls/TextOcrButton/property.js +19 -11
- package/dist/esm/baseControls/Title/property.js +6 -4
- package/dist/esm/columnControls/ApprovalStatusColumn/property.js +6 -4
- package/dist/esm/columnControls/ArrayColumn/property.js +8 -5
- package/dist/esm/columnControls/AutoNumberColumn/property.js +4 -3
- package/dist/esm/columnControls/CustomColumn/property.js +6 -4
- package/dist/esm/columnControls/DecimalColumn/property.js +14 -8
- package/dist/esm/columnControls/DepartmentColumn/property.js +4 -3
- package/dist/esm/columnControls/EmployeeColumn/property.js +4 -3
- package/dist/esm/columnControls/FileColumn/property.js +4 -3
- 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 +4 -3
- package/dist/esm/columnControls/OperationColumn/designer.js +4 -12
- package/dist/esm/columnControls/OperationColumn/property.js +10 -6
- package/dist/esm/columnControls/OrderColumn/property.js +12 -7
- package/dist/esm/columnControls/PeopleColumn/property.js +2 -2
- package/dist/esm/columnControls/TextColumn/property.js +8 -5
- package/dist/esm/columnControls/TimescopeColumn/property.js +8 -5
- package/dist/esm/columnControls/TimestampColumn/property.js +8 -5
- package/dist/esm/columnControls/VarcharColumn/property.js +12 -7
- package/dist/esm/formControls/Address/property.js +10 -6
- package/dist/esm/formControls/Amount/property.js +24 -13
- package/dist/esm/formControls/Attachment/property.js +42 -26
- package/dist/esm/formControls/AutoNumber/property.js +6 -4
- package/dist/esm/formControls/Calc/property.js +18 -10
- package/dist/esm/formControls/Cascader/property.js +31 -17
- package/dist/esm/formControls/Checkbox/property.js +33 -18
- package/dist/esm/formControls/DatePicker/property.js +27 -15
- package/dist/esm/formControls/DateRange/property.js +23 -13
- package/dist/esm/formControls/Department/property.js +22 -12
- package/dist/esm/formControls/Department2/property.js +37 -20
- package/dist/esm/formControls/ElectronicSignature/property.js +12 -7
- package/dist/esm/formControls/Employee/property.js +18 -10
- package/dist/esm/formControls/Employee2/property.js +34 -18
- package/dist/esm/formControls/Image/designer.js +8 -8
- package/dist/esm/formControls/Image/property.js +14 -8
- package/dist/esm/formControls/Input/property.js +20 -11
- package/dist/esm/formControls/Number/property.js +32 -17
- package/dist/esm/formControls/OrganizationSelection/property.js +36 -19
- package/dist/esm/formControls/Radio/property.js +28 -15
- package/dist/esm/formControls/RichText/property.js +24 -13
- package/dist/esm/formControls/Score/property.js +19 -11
- package/dist/esm/formControls/SearchDateRange/property.js +25 -14
- package/dist/esm/formControls/SearchNumberRange/property.js +12 -7
- package/dist/esm/formControls/Select/property.js +26 -14
- package/dist/esm/formControls/SelectMultiple/property.js +24 -13
- package/dist/esm/formControls/SelectRelation/property.js +26 -14
- package/dist/esm/formControls/Textarea/property.js +20 -11
- package/dist/esm/formControls/TimePicker/property.js +15 -9
- package/dist/esm/formControls/TimeRange/property.js +19 -11
- package/dist/esm/formControls/Tree/property.js +39 -21
- package/dist/esm/formControls/VueFormItem/property.js +10 -6
- package/dist/esm/formControls/VuePage/property.js +10 -6
- package/dist/esm/formControls/WPS/designer.js +9 -9
- package/dist/esm/formControls/WPS/property.js +24 -13
- package/dist/esm/framework.js +121 -74
- package/dist/esm/layoutControls/ActionBar/designer.js +2 -2
- package/dist/esm/layoutControls/ActionBar/property.js +6 -4
- package/dist/esm/layoutControls/ActionBar/runtime.js +2 -2
- package/dist/esm/layoutControls/CardGroup/property.js +20 -11
- package/dist/esm/layoutControls/Col/property.js +6 -4
- package/dist/esm/layoutControls/Collapse/designer.js +2 -2
- package/dist/esm/layoutControls/Collapse/property.js +6 -4
- package/dist/esm/layoutControls/CollapsePane/property.js +2 -2
- package/dist/esm/layoutControls/DataView/property.js +14 -8
- package/dist/esm/layoutControls/GridLayoutContainer/property.js +4 -3
- package/dist/esm/layoutControls/GridTableColumn/property.js +20 -11
- package/dist/esm/layoutControls/ListView/property.js +28 -15
- package/dist/esm/layoutControls/Page/property.js +2 -2
- package/dist/esm/layoutControls/Position/property.js +8 -5
- package/dist/esm/layoutControls/Row/property.js +10 -6
- package/dist/esm/layoutControls/Step/designer.js +2 -2
- package/dist/esm/layoutControls/Step/property.js +22 -12
- package/dist/esm/layoutControls/StepPane/property.js +16 -9
- package/dist/esm/layoutControls/SubTableColumn/property.js +10 -6
- package/dist/esm/layoutControls/Tab/designer.js +2 -2
- package/dist/esm/layoutControls/Tab/property.js +10 -6
- package/dist/esm/layoutControls/TabPane/property.js +2 -2
- package/dist/esm/layoutControls/TableLayout/property.js +30 -16
- package/dist/esm/layoutControls/TableLayoutCol/property.js +20 -11
- package/dist/esm/layoutControls/TableLayoutRow/property.js +4 -3
- package/dist/esm/layoutControls/TableLayoutWrapper/property.js +6 -4
- package/dist/esm/listControls/GridTable/designer.js +4 -12
- package/dist/esm/listControls/GridTable/property.js +19 -15
- package/dist/esm/listControls/SubTable/property.js +70 -36
- package/dist/esm/searchControls/SimpleSearch/property.js +24 -13
- 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/baseControls/Divider/property.d.ts +7 -0
- package/package.json +5 -5
|
@@ -101,24 +101,29 @@ var OperationButtonProperty = /*#__PURE__*/ function(Property) {
|
|
|
101
101
|
function OperationButtonProperty(props) {
|
|
102
102
|
_class_call_check(this, OperationButtonProperty);
|
|
103
103
|
var _this;
|
|
104
|
-
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5;
|
|
105
104
|
_this = _call_super(this, OperationButtonProperty, [
|
|
106
105
|
props
|
|
107
106
|
]), _define_property(_this, "content", void 0), _define_property(_this, "code", void 0), _define_property(_this, "command", void 0), _define_property(_this, "color", void 0), _define_property(_this, "icon", void 0), _define_property(_this, "formKey", void 0), _define_property(_this, "openType", void 0), _define_property(_this, "needConfirm", void 0), _define_property(_this, "confirmMessage", void 0), _define_property(_this, "options", void 0), _define_property(_this, "defaultState", void 0), _define_property(_this, "priorityProcess", void 0), _define_property(_this, "isLoading", void 0), _define_property(_this, "isSyncDelete", void 0);
|
|
108
|
-
|
|
107
|
+
var _props_content;
|
|
108
|
+
_this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : getLocaleText('CMD.button', null, '按钮');
|
|
109
109
|
_this.code = props === null || props === void 0 ? void 0 : props.code;
|
|
110
|
-
|
|
111
|
-
_this.
|
|
110
|
+
var _props_command;
|
|
111
|
+
_this.command = (_props_command = props === null || props === void 0 ? void 0 : props.command) !== null && _props_command !== void 0 ? _props_command : 'custom';
|
|
112
|
+
var _props_color;
|
|
113
|
+
_this.color = (_props_color = props === null || props === void 0 ? void 0 : props.color) !== null && _props_color !== void 0 ? _props_color : 'primary';
|
|
112
114
|
_this.icon = props === null || props === void 0 ? void 0 : props.icon;
|
|
113
115
|
_this.formKey = props === null || props === void 0 ? void 0 : props.formKey;
|
|
114
116
|
_this.openType = props === null || props === void 0 ? void 0 : props.openType;
|
|
115
117
|
_this.needConfirm = props === null || props === void 0 ? void 0 : props.needConfirm;
|
|
116
118
|
_this.confirmMessage = props === null || props === void 0 ? void 0 : props.confirmMessage;
|
|
117
119
|
_this.options = props === null || props === void 0 ? void 0 : props.options;
|
|
118
|
-
|
|
120
|
+
var _props_defaultState;
|
|
121
|
+
_this.defaultState = (_props_defaultState = props === null || props === void 0 ? void 0 : props.defaultState) !== null && _props_defaultState !== void 0 ? _props_defaultState : 'default';
|
|
119
122
|
_this.priorityProcess = props === null || props === void 0 ? void 0 : props.priorityProcess;
|
|
120
|
-
|
|
121
|
-
_this.
|
|
123
|
+
var _props_isLoading;
|
|
124
|
+
_this.isLoading = (_props_isLoading = props === null || props === void 0 ? void 0 : props.isLoading) !== null && _props_isLoading !== void 0 ? _props_isLoading : false;
|
|
125
|
+
var _props_isSyncDelete;
|
|
126
|
+
_this.isSyncDelete = (_props_isSyncDelete = props === null || props === void 0 ? void 0 : props.isSyncDelete) !== null && _props_isSyncDelete !== void 0 ? _props_isSyncDelete : false;
|
|
122
127
|
return _this;
|
|
123
128
|
}
|
|
124
129
|
return OperationButtonProperty;
|
|
@@ -110,16 +110,21 @@ var ReferenceListPropertyRules = /*#__PURE__*/ function(PropertyRules) {
|
|
|
110
110
|
function ReferenceListProperty(props) {
|
|
111
111
|
_class_call_check(this, ReferenceListProperty);
|
|
112
112
|
var _this;
|
|
113
|
-
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5;
|
|
114
113
|
_this = _call_super(this, ReferenceListProperty, [
|
|
115
114
|
props
|
|
116
115
|
]), _define_property(_this, "isShowSimpleSearch", void 0), _define_property(_this, "isShowToolbar", void 0), _define_property(_this, "actionSetting", void 0), _define_property(_this, "listHeightSetting", void 0), _define_property(_this, "isHideCaption", void 0);
|
|
117
|
-
|
|
118
|
-
_this.
|
|
119
|
-
|
|
120
|
-
_this.
|
|
121
|
-
|
|
122
|
-
_this.
|
|
116
|
+
var _props_caption;
|
|
117
|
+
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : ReferenceListControl.controlName;
|
|
118
|
+
var _props_isShowSimpleSearch;
|
|
119
|
+
_this.isShowSimpleSearch = (_props_isShowSimpleSearch = props === null || props === void 0 ? void 0 : props.isShowSimpleSearch) !== null && _props_isShowSimpleSearch !== void 0 ? _props_isShowSimpleSearch : true;
|
|
120
|
+
var _props_isShowToolbar;
|
|
121
|
+
_this.isShowToolbar = (_props_isShowToolbar = props === null || props === void 0 ? void 0 : props.isShowToolbar) !== null && _props_isShowToolbar !== void 0 ? _props_isShowToolbar : true;
|
|
122
|
+
var _props_isHideCaption;
|
|
123
|
+
_this.isHideCaption = (_props_isHideCaption = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _props_isHideCaption !== void 0 ? _props_isHideCaption : false;
|
|
124
|
+
var _ref;
|
|
125
|
+
_this.actionSetting = (_ref = new ActionSetting(props === null || props === void 0 ? void 0 : props.actionSetting)) !== null && _ref !== void 0 ? _ref : new ActionSetting();
|
|
126
|
+
var _ref1;
|
|
127
|
+
_this.listHeightSetting = (_ref1 = new ListHeightSetting(props === null || props === void 0 ? void 0 : props.listHeightSetting)) !== null && _ref1 !== void 0 ? _ref1 : new ListHeightSetting();
|
|
123
128
|
return _this;
|
|
124
129
|
}
|
|
125
130
|
return ReferenceListProperty;
|
|
@@ -65,12 +65,13 @@ 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;
|
|
69
68
|
_this = _call_super(this, SubmissionRecordListButtonProperty, [
|
|
70
69
|
props
|
|
71
70
|
]);
|
|
72
|
-
|
|
73
|
-
_this.
|
|
71
|
+
var _props_content;
|
|
72
|
+
_this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : SubmissionRecordListButtonControl.controlName;
|
|
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;
|
|
74
75
|
return _this;
|
|
75
76
|
}
|
|
76
77
|
return SubmissionRecordListButtonProperty;
|
|
@@ -78,7 +78,6 @@ 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, _ref6, _ref7;
|
|
82
81
|
_this = _call_super(this, TextProperty, [
|
|
83
82
|
props
|
|
84
83
|
]), // public dataBind: DataBind
|
|
@@ -91,19 +90,27 @@ var TextProperty = /*#__PURE__*/ function(Property) {
|
|
|
91
90
|
_this.captionColor = (props === null || props === void 0 ? void 0 : props.captionColor) || '';
|
|
92
91
|
_this.captionSize = (props === null || props === void 0 ? void 0 : props.captionSize) || '';
|
|
93
92
|
_this.isCaptionItalic = (props === null || props === void 0 ? void 0 : props.isCaptionItalic) || false;
|
|
94
|
-
|
|
95
|
-
_this.
|
|
96
|
-
|
|
97
|
-
_this.
|
|
98
|
-
|
|
99
|
-
_this.
|
|
100
|
-
|
|
93
|
+
var _props_icon;
|
|
94
|
+
_this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : 'page-hint';
|
|
95
|
+
var _props_showState;
|
|
96
|
+
_this.showState = (_props_showState = props === null || props === void 0 ? void 0 : props.showState) !== null && _props_showState !== void 0 ? _props_showState : 'text';
|
|
97
|
+
var _props_content;
|
|
98
|
+
_this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : getLocaleText('CMD.text', null, '说明文字');
|
|
99
|
+
var _props_align;
|
|
100
|
+
_this.align = (_props_align = props === null || props === void 0 ? void 0 : props.align) !== null && _props_align !== void 0 ? _props_align : '';
|
|
101
|
+
var _props_aiContentSearch;
|
|
102
|
+
_this.aiContentSearch = (_props_aiContentSearch = props === null || props === void 0 ? void 0 : props.aiContentSearch) !== null && _props_aiContentSearch !== void 0 ? _props_aiContentSearch : false;
|
|
103
|
+
var _props_isLabel;
|
|
104
|
+
_this.isLabel = (_props_isLabel = props === null || props === void 0 ? void 0 : props.isLabel) !== null && _props_isLabel !== void 0 ? _props_isLabel : false;
|
|
105
|
+
var _props_background;
|
|
106
|
+
_this.background = (_props_background = props === null || props === void 0 ? void 0 : props.background) !== null && _props_background !== void 0 ? _props_background : {
|
|
101
107
|
type: 'backgroundColor',
|
|
102
108
|
backgroundColor: '',
|
|
103
109
|
backgroundImage: '',
|
|
104
110
|
placementMode: 'contain'
|
|
105
111
|
};
|
|
106
|
-
|
|
112
|
+
var _props_close;
|
|
113
|
+
_this.close = (_props_close = props === null || props === void 0 ? void 0 : props.close) !== null && _props_close !== void 0 ? _props_close : {
|
|
107
114
|
show: false,
|
|
108
115
|
text: getLocaleText('CMD.closeText', null, '关闭')
|
|
109
116
|
};
|
|
@@ -128,22 +128,30 @@ 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;
|
|
132
131
|
var _props_fillList;
|
|
133
132
|
_this = _call_super(this, TextOcrButtonProperty, [
|
|
134
133
|
props
|
|
135
134
|
]), _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);
|
|
136
|
-
|
|
137
|
-
_this.
|
|
138
|
-
|
|
139
|
-
_this.
|
|
140
|
-
|
|
141
|
-
_this.
|
|
142
|
-
|
|
143
|
-
_this.
|
|
144
|
-
|
|
135
|
+
var _props_caption;
|
|
136
|
+
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : TextOcrButtonControl.controlName;
|
|
137
|
+
var _props_isHideCaption;
|
|
138
|
+
_this.isHideCaption = (_props_isHideCaption = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _props_isHideCaption !== void 0 ? _props_isHideCaption : false;
|
|
139
|
+
var _props_isShowCaptionTip;
|
|
140
|
+
_this.isShowCaptionTip = (_props_isShowCaptionTip = props === null || props === void 0 ? void 0 : props.isShowCaptionTip) !== null && _props_isShowCaptionTip !== void 0 ? _props_isShowCaptionTip : false;
|
|
141
|
+
var _props_captionTip;
|
|
142
|
+
_this.captionTip = (_props_captionTip = props === null || props === void 0 ? void 0 : props.captionTip) !== null && _props_captionTip !== void 0 ? _props_captionTip : '';
|
|
143
|
+
var _props_labelPosition;
|
|
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) {
|
|
145
153
|
return new MultistageFillingItem(item);
|
|
146
|
-
})) !== null &&
|
|
154
|
+
})) !== null && _props_fillList_map !== void 0 ? _props_fillList_map : [];
|
|
147
155
|
return _this;
|
|
148
156
|
}
|
|
149
157
|
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;
|
|
132
131
|
_this = _call_super(this, TitleProperty, [
|
|
133
132
|
props
|
|
134
133
|
]), _define_property(_this, "dataBind", void 0), _define_property(_this, "caption", void 0), _define_property(_this, "config", void 0), _define_property(_this, "position", void 0);
|
|
135
134
|
_this.dataBind = new DataBind(props === null || props === void 0 ? void 0 : props.dataBind);
|
|
136
|
-
|
|
135
|
+
var _props_config;
|
|
136
|
+
_this.config = (_props_config = props === null || props === void 0 ? void 0 : props.config) !== null && _props_config !== void 0 ? _props_config : [
|
|
137
137
|
// TitleConfigEnum.ShowBizKey,
|
|
138
138
|
TitleConfigEnum.ShowSubmitUser,
|
|
139
139
|
TitleConfigEnum.ShowSubmitDept,
|
|
@@ -141,8 +141,10 @@ var TitleProperty = /*#__PURE__*/ function(Property) {
|
|
|
141
141
|
TitleConfigEnum.ShowCurrentApprovar,
|
|
142
142
|
TitleConfigEnum.ShowTitle
|
|
143
143
|
];
|
|
144
|
-
|
|
145
|
-
_this.
|
|
144
|
+
var _props_caption, _ref;
|
|
145
|
+
_this.caption = (_ref = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerTitleControl === null || DesignerTitleControl === void 0 ? void 0 : DesignerTitleControl.controlName) !== null && _ref !== void 0 ? _ref : '';
|
|
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';
|
|
146
148
|
return _this;
|
|
147
149
|
}
|
|
148
150
|
return TitleProperty;
|
|
@@ -78,14 +78,16 @@ var ApprovalStatusColumnControlProperty = /*#__PURE__*/ function(ColumnControlPr
|
|
|
78
78
|
function ApprovalStatusColumnControlProperty(props) {
|
|
79
79
|
_class_call_check(this, ApprovalStatusColumnControlProperty);
|
|
80
80
|
var _this;
|
|
81
|
-
var _ref, _ref1, _ref2;
|
|
82
81
|
_this = _call_super(this, ApprovalStatusColumnControlProperty, [
|
|
83
82
|
props
|
|
84
83
|
]), _define_property(_this, "lineEllipsis", void 0), _define_property(_this, "showLinkOperation", void 0), _define_property(_this, "linkOperationOption", void 0);
|
|
85
|
-
|
|
86
|
-
_this.
|
|
84
|
+
var _props_caption;
|
|
85
|
+
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerApprovalStatusColumnControl.controlName;
|
|
86
|
+
var _props_showLinkOperation;
|
|
87
|
+
_this.showLinkOperation = (_props_showLinkOperation = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _props_showLinkOperation !== void 0 ? _props_showLinkOperation : false;
|
|
87
88
|
_this.linkOperationOption = new LinkOperationOption(props === null || props === void 0 ? void 0 : props.linkOperationOption);
|
|
88
|
-
|
|
89
|
+
var _props_lineEllipsis;
|
|
90
|
+
_this.lineEllipsis = (_props_lineEllipsis = props === null || props === void 0 ? void 0 : props.lineEllipsis) !== null && _props_lineEllipsis !== void 0 ? _props_lineEllipsis : 1;
|
|
89
91
|
return _this;
|
|
90
92
|
}
|
|
91
93
|
return ApprovalStatusColumnControlProperty;
|
|
@@ -95,16 +95,19 @@ var ArrayColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty) {
|
|
|
95
95
|
function ArrayColumnControlProperty(props) {
|
|
96
96
|
_class_call_check(this, ArrayColumnControlProperty);
|
|
97
97
|
var _this;
|
|
98
|
-
var _ref, _ref1, _ref2, _ref3;
|
|
99
98
|
_this = _call_super(this, ArrayColumnControlProperty, [
|
|
100
99
|
props
|
|
101
100
|
]), _define_property(_this, "optionConfig", void 0), _define_property(_this, "datasourceBind", void 0), _define_property(_this, "showLinkOperation", void 0), _define_property(_this, "linkOperationOption", void 0), _define_property(_this, "options", void 0);
|
|
102
|
-
|
|
103
|
-
_this.
|
|
101
|
+
var _props_caption;
|
|
102
|
+
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerArrayColumnControl.controlName;
|
|
103
|
+
var _props_optionConfig;
|
|
104
|
+
_this.optionConfig = (_props_optionConfig = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _props_optionConfig !== void 0 ? _props_optionConfig : 'none';
|
|
104
105
|
_this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
|
|
105
|
-
|
|
106
|
+
var _props_showLinkOperation;
|
|
107
|
+
_this.showLinkOperation = (_props_showLinkOperation = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _props_showLinkOperation !== void 0 ? _props_showLinkOperation : false;
|
|
106
108
|
_this.linkOperationOption = new LinkOperationOption(props === null || props === void 0 ? void 0 : props.linkOperationOption);
|
|
107
|
-
|
|
109
|
+
var _props_options;
|
|
110
|
+
_this.options = initOptions((_props_options = props === null || props === void 0 ? void 0 : props.options) !== null && _props_options !== void 0 ? _props_options : [
|
|
108
111
|
{}
|
|
109
112
|
]);
|
|
110
113
|
return _this;
|
|
@@ -95,12 +95,13 @@ 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;
|
|
99
98
|
_this = _call_super(this, AutoNumberColumnControlProperty, [
|
|
100
99
|
props
|
|
101
100
|
]), _define_property(_this, "showLinkOperation", void 0), _define_property(_this, "linkOperationOption", void 0);
|
|
102
|
-
|
|
103
|
-
_this.
|
|
101
|
+
var _props_caption;
|
|
102
|
+
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerAutoNumberColumnControl.controlName;
|
|
103
|
+
var _props_showLinkOperation;
|
|
104
|
+
_this.showLinkOperation = (_props_showLinkOperation = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _props_showLinkOperation !== void 0 ? _props_showLinkOperation : false;
|
|
104
105
|
_this.linkOperationOption = new LinkOperationOption(props === null || props === void 0 ? void 0 : props.linkOperationOption);
|
|
105
106
|
return _this;
|
|
106
107
|
}
|
|
@@ -98,13 +98,15 @@ var CustomColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty)
|
|
|
98
98
|
function CustomColumnControlProperty(props) {
|
|
99
99
|
_class_call_check(this, CustomColumnControlProperty);
|
|
100
100
|
var _this;
|
|
101
|
-
var _ref, _ref1, _ref2;
|
|
102
101
|
_this = _call_super(this, CustomColumnControlProperty, [
|
|
103
102
|
props
|
|
104
103
|
]), _define_property(_this, "fieldCodeList", void 0), _define_property(_this, "sortFieldCode", void 0);
|
|
105
|
-
|
|
106
|
-
_this.
|
|
107
|
-
|
|
104
|
+
var _props_caption;
|
|
105
|
+
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerCustomColumnControl.controlName;
|
|
106
|
+
var _props_fieldCodeList;
|
|
107
|
+
_this.fieldCodeList = (_props_fieldCodeList = props === null || props === void 0 ? void 0 : props.fieldCodeList) !== null && _props_fieldCodeList !== void 0 ? _props_fieldCodeList : [];
|
|
108
|
+
var _props_sortFieldCode;
|
|
109
|
+
_this.sortFieldCode = (_props_sortFieldCode = props === null || props === void 0 ? void 0 : props.sortFieldCode) !== null && _props_sortFieldCode !== void 0 ? _props_sortFieldCode : '';
|
|
108
110
|
return _this;
|
|
109
111
|
}
|
|
110
112
|
return CustomColumnControlProperty;
|
|
@@ -92,20 +92,26 @@ var DecimalColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty)
|
|
|
92
92
|
function DecimalColumnControlProperty(props) {
|
|
93
93
|
_class_call_check(this, DecimalColumnControlProperty);
|
|
94
94
|
var _this;
|
|
95
|
-
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6;
|
|
96
95
|
_this = _call_super(this, DecimalColumnControlProperty, [
|
|
97
96
|
props
|
|
98
97
|
]), _define_property(_this, "optionConfig", void 0), _define_property(_this, "datasourceBind", void 0), _define_property(_this, "showLinkOperation", void 0), _define_property(_this, "linkOperationOption", void 0), _define_property(_this, "options", void 0), _define_property(_this, "precision", void 0), _define_property(_this, "micrometer", void 0), _define_property(_this, "percentageFormat", void 0);
|
|
99
|
-
|
|
100
|
-
_this.
|
|
101
|
-
|
|
102
|
-
_this.
|
|
103
|
-
|
|
98
|
+
var _props_caption;
|
|
99
|
+
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerDecimalColumnControl.controlName;
|
|
100
|
+
var _props_precision;
|
|
101
|
+
_this.precision = (_props_precision = props === null || props === void 0 ? void 0 : props.precision) !== null && _props_precision !== void 0 ? _props_precision : 0;
|
|
102
|
+
var _props_micrometer;
|
|
103
|
+
_this.micrometer = (_props_micrometer = props === null || props === void 0 ? void 0 : props.micrometer) !== null && _props_micrometer !== void 0 ? _props_micrometer : false;
|
|
104
|
+
var _props_percentageFormat;
|
|
105
|
+
_this.percentageFormat = (_props_percentageFormat = props === null || props === void 0 ? void 0 : props.percentageFormat) !== null && _props_percentageFormat !== void 0 ? _props_percentageFormat : false;
|
|
106
|
+
var _props_optionConfig;
|
|
107
|
+
_this.optionConfig = (_props_optionConfig = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _props_optionConfig !== void 0 ? _props_optionConfig : 'none';
|
|
104
108
|
_this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
|
|
105
|
-
|
|
109
|
+
var _props_options;
|
|
110
|
+
_this.options = initOptions((_props_options = props === null || props === void 0 ? void 0 : props.options) !== null && _props_options !== void 0 ? _props_options : [
|
|
106
111
|
{}
|
|
107
112
|
]);
|
|
108
|
-
|
|
113
|
+
var _props_showLinkOperation;
|
|
114
|
+
_this.showLinkOperation = (_props_showLinkOperation = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _props_showLinkOperation !== void 0 ? _props_showLinkOperation : false;
|
|
109
115
|
_this.linkOperationOption = new LinkOperationOption(props === null || props === void 0 ? void 0 : props.linkOperationOption);
|
|
110
116
|
return _this;
|
|
111
117
|
}
|
|
@@ -78,12 +78,13 @@ var DepartmentColumnControlProperty = /*#__PURE__*/ function(ColumnControlProper
|
|
|
78
78
|
function DepartmentColumnControlProperty(props) {
|
|
79
79
|
_class_call_check(this, DepartmentColumnControlProperty);
|
|
80
80
|
var _this;
|
|
81
|
-
var _ref, _ref1;
|
|
82
81
|
_this = _call_super(this, DepartmentColumnControlProperty, [
|
|
83
82
|
props
|
|
84
83
|
]), _define_property(_this, "displayLevel", void 0);
|
|
85
|
-
|
|
86
|
-
_this.
|
|
84
|
+
var _props_caption;
|
|
85
|
+
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerDepartmentColumnControl.controlName;
|
|
86
|
+
var _props_displayLevel;
|
|
87
|
+
_this.displayLevel = (_props_displayLevel = props === null || props === void 0 ? void 0 : props.displayLevel) !== null && _props_displayLevel !== void 0 ? _props_displayLevel : 1;
|
|
87
88
|
return _this;
|
|
88
89
|
}
|
|
89
90
|
return DepartmentColumnControlProperty;
|
|
@@ -78,12 +78,13 @@ var EmployeeColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty
|
|
|
78
78
|
function EmployeeColumnControlProperty(props) {
|
|
79
79
|
_class_call_check(this, EmployeeColumnControlProperty);
|
|
80
80
|
var _this;
|
|
81
|
-
var _ref, _ref1;
|
|
82
81
|
_this = _call_super(this, EmployeeColumnControlProperty, [
|
|
83
82
|
props
|
|
84
83
|
]), _define_property(_this, "datasourceBind", void 0);
|
|
85
|
-
|
|
86
|
-
_this.
|
|
84
|
+
var _props_caption;
|
|
85
|
+
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : EmployeeColumnControl.controlName;
|
|
86
|
+
var _props_datasourceBind;
|
|
87
|
+
_this.datasourceBind = new SuperDataSourceBind((_props_datasourceBind = props === null || props === void 0 ? void 0 : props.datasourceBind) !== null && _props_datasourceBind !== void 0 ? _props_datasourceBind : {
|
|
87
88
|
attributes: EmployeeColumnControl.controlCustomAttributes
|
|
88
89
|
});
|
|
89
90
|
return _this;
|
|
@@ -78,12 +78,13 @@ var FileColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty) {
|
|
|
78
78
|
function FileColumnControlProperty(props) {
|
|
79
79
|
_class_call_check(this, FileColumnControlProperty);
|
|
80
80
|
var _this;
|
|
81
|
-
var _ref, _ref1;
|
|
82
81
|
_this = _call_super(this, FileColumnControlProperty, [
|
|
83
82
|
props
|
|
84
83
|
]), _define_property(_this, "operation", void 0);
|
|
85
|
-
|
|
86
|
-
_this.
|
|
84
|
+
var _props_caption;
|
|
85
|
+
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerFileColumnControl.controlName;
|
|
86
|
+
var _props_operation;
|
|
87
|
+
_this.operation = (_props_operation = props === null || props === void 0 ? void 0 : props.operation) !== null && _props_operation !== void 0 ? _props_operation : [
|
|
87
88
|
'info',
|
|
88
89
|
'preview',
|
|
89
90
|
'download'
|
|
@@ -64,11 +64,11 @@ var GroupColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty) {
|
|
|
64
64
|
function GroupColumnControlProperty(props) {
|
|
65
65
|
_class_call_check(this, GroupColumnControlProperty);
|
|
66
66
|
var _this;
|
|
67
|
-
var _ref;
|
|
68
67
|
_this = _call_super(this, GroupColumnControlProperty, [
|
|
69
68
|
props
|
|
70
69
|
]);
|
|
71
|
-
|
|
70
|
+
var _props_caption;
|
|
71
|
+
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : '';
|
|
72
72
|
return _this;
|
|
73
73
|
}
|
|
74
74
|
return GroupColumnControlProperty;
|
|
@@ -65,11 +65,11 @@ var ImageColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty) {
|
|
|
65
65
|
function ImageColumnControlProperty(props) {
|
|
66
66
|
_class_call_check(this, ImageColumnControlProperty);
|
|
67
67
|
var _this;
|
|
68
|
-
var _ref;
|
|
69
68
|
_this = _call_super(this, ImageColumnControlProperty, [
|
|
70
69
|
props
|
|
71
70
|
]);
|
|
72
|
-
|
|
71
|
+
var _props_caption;
|
|
72
|
+
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerImageColumnControl.controlName;
|
|
73
73
|
return _this;
|
|
74
74
|
}
|
|
75
75
|
return ImageColumnControlProperty;
|
|
@@ -92,12 +92,13 @@ var LocationColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty
|
|
|
92
92
|
function LocationColumnControlProperty(props) {
|
|
93
93
|
_class_call_check(this, LocationColumnControlProperty);
|
|
94
94
|
var _this;
|
|
95
|
-
var _ref, _ref1;
|
|
96
95
|
_this = _call_super(this, LocationColumnControlProperty, [
|
|
97
96
|
props
|
|
98
97
|
]), _define_property(_this, "showLinkOperation", void 0), _define_property(_this, "linkOperationOption", void 0);
|
|
99
|
-
|
|
100
|
-
_this.
|
|
98
|
+
var _props_caption;
|
|
99
|
+
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerLocationColumnControl.controlName;
|
|
100
|
+
var _props_showLinkOperation;
|
|
101
|
+
_this.showLinkOperation = (_props_showLinkOperation = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _props_showLinkOperation !== void 0 ? _props_showLinkOperation : false;
|
|
101
102
|
_this.linkOperationOption = new LinkOperationOption(props === null || props === void 0 ? void 0 : props.linkOperationOption);
|
|
102
103
|
return _this;
|
|
103
104
|
}
|
|
@@ -145,17 +145,9 @@ 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
|
-
|
|
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
|
-
}
|
|
148
|
+
}, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
149
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() {
|
|
150
|
+
return this;
|
|
159
151
|
}), g;
|
|
160
152
|
function verb(n) {
|
|
161
153
|
return function(v) {
|
|
@@ -281,7 +273,7 @@ var OperationColumnControl = /*#__PURE__*/ function(DesignerColumnControl) {
|
|
|
281
273
|
// }
|
|
282
274
|
function validate(messages, ignore) {
|
|
283
275
|
var _this = this;
|
|
284
|
-
var _this1 = this, _superprop_get_validate = function
|
|
276
|
+
var _this1 = this, _superprop_get_validate = function() {
|
|
285
277
|
return _get(_get_prototype_of(OperationColumnControl.prototype), "validate", _this);
|
|
286
278
|
};
|
|
287
279
|
return _async_to_generator(function() {
|
|
@@ -78,7 +78,6 @@ var OperationColumnControlProperty = /*#__PURE__*/ function(ColumnControlPropert
|
|
|
78
78
|
function OperationColumnControlProperty(props) {
|
|
79
79
|
_class_call_check(this, OperationColumnControlProperty);
|
|
80
80
|
var _this;
|
|
81
|
-
var _ref, _ref1, _ref2, _ref3, _ref4;
|
|
82
81
|
var _props_autoWidth;
|
|
83
82
|
_this = _call_super(this, OperationColumnControlProperty, [
|
|
84
83
|
props
|
|
@@ -88,8 +87,10 @@ var OperationColumnControlProperty = /*#__PURE__*/ function(ColumnControlPropert
|
|
|
88
87
|
// public delete: OperationItem
|
|
89
88
|
// public custom: OperationItem[]
|
|
90
89
|
_define_property(_this, "showType", void 0), _define_property(_this, "limit", void 0);
|
|
91
|
-
|
|
90
|
+
var _props_fixed;
|
|
91
|
+
_this.fixed = (_props_fixed = props === null || props === void 0 ? void 0 : props.fixed) !== null && _props_fixed !== void 0 ? _props_fixed : 'right';
|
|
92
92
|
_this.widthType = 'auto';
|
|
93
|
+
var _props_autoWidth_minWidth;
|
|
93
94
|
// this.check = new OperationItem(
|
|
94
95
|
// props?.check ?? {
|
|
95
96
|
// content: '查看',
|
|
@@ -105,10 +106,13 @@ var OperationColumnControlProperty = /*#__PURE__*/ function(ColumnControlPropert
|
|
|
105
106
|
// props?.delete ?? { content: '删除', type: 'delete', isShow: false }
|
|
106
107
|
// )
|
|
107
108
|
// this.custom = (props?.custom ?? []).map((item) => new OperationItem(item))
|
|
108
|
-
_this.autoWidth.minWidth = (
|
|
109
|
-
|
|
110
|
-
_this.
|
|
111
|
-
|
|
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 : 84;
|
|
110
|
+
var _props_caption;
|
|
111
|
+
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerOperationColumnControl.controlName;
|
|
112
|
+
var _props_showType;
|
|
113
|
+
_this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : 'icon';
|
|
114
|
+
var _props_limit;
|
|
115
|
+
_this.limit = (_props_limit = props === null || props === void 0 ? void 0 : props.limit) !== null && _props_limit !== void 0 ? _props_limit : 3;
|
|
112
116
|
return _this;
|
|
113
117
|
}
|
|
114
118
|
return OperationColumnControlProperty;
|
|
@@ -92,17 +92,22 @@ var OrderColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty) {
|
|
|
92
92
|
function OrderColumnControlProperty(props) {
|
|
93
93
|
_class_call_check(this, OrderColumnControlProperty);
|
|
94
94
|
var _this;
|
|
95
|
-
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5;
|
|
96
95
|
var _props_autoWidth, _props_autoWidth1;
|
|
97
96
|
_this = _call_super(this, OrderColumnControlProperty, [
|
|
98
97
|
props
|
|
99
98
|
]);
|
|
100
|
-
|
|
101
|
-
_this.
|
|
102
|
-
|
|
103
|
-
_this.
|
|
104
|
-
|
|
105
|
-
_this.
|
|
99
|
+
var _props_fixed;
|
|
100
|
+
_this.fixed = (_props_fixed = props === null || props === void 0 ? void 0 : props.fixed) !== null && _props_fixed !== void 0 ? _props_fixed : 'left';
|
|
101
|
+
var _props_caption;
|
|
102
|
+
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerOrderColumnControl.controlName;
|
|
103
|
+
var _props_width;
|
|
104
|
+
_this.width = (_props_width = props === null || props === void 0 ? void 0 : props.width) !== null && _props_width !== void 0 ? _props_width : 60;
|
|
105
|
+
var _props_autoWidth_minWidth;
|
|
106
|
+
_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;
|
|
107
|
+
var _props_autoWidth_flex;
|
|
108
|
+
_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;
|
|
109
|
+
var _props_widthType;
|
|
110
|
+
_this.widthType = (_props_widthType = props === null || props === void 0 ? void 0 : props.widthType) !== null && _props_widthType !== void 0 ? _props_widthType : 'px';
|
|
106
111
|
return _this;
|
|
107
112
|
}
|
|
108
113
|
return OrderColumnControlProperty;
|
|
@@ -65,11 +65,11 @@ var PeopleColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty)
|
|
|
65
65
|
function PeopleColumnControlProperty(props) {
|
|
66
66
|
_class_call_check(this, PeopleColumnControlProperty);
|
|
67
67
|
var _this;
|
|
68
|
-
var _ref;
|
|
69
68
|
_this = _call_super(this, PeopleColumnControlProperty, [
|
|
70
69
|
props
|
|
71
70
|
]);
|
|
72
|
-
|
|
71
|
+
var _props_caption;
|
|
72
|
+
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerPeopleColumnControl.controlName;
|
|
73
73
|
return _this;
|
|
74
74
|
}
|
|
75
75
|
return PeopleColumnControlProperty;
|
|
@@ -92,14 +92,17 @@ var TextColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty) {
|
|
|
92
92
|
function TextColumnControlProperty(props) {
|
|
93
93
|
_class_call_check(this, TextColumnControlProperty);
|
|
94
94
|
var _this;
|
|
95
|
-
var _ref, _ref1, _ref2, _ref3;
|
|
96
95
|
_this = _call_super(this, TextColumnControlProperty, [
|
|
97
96
|
props
|
|
98
97
|
]), _define_property(_this, "escapeHTML", void 0), _define_property(_this, "showLinkOperation", void 0), _define_property(_this, "linkOperationOption", void 0), _define_property(_this, "lineEllipsis", void 0);
|
|
99
|
-
|
|
100
|
-
_this.
|
|
101
|
-
|
|
102
|
-
_this.
|
|
98
|
+
var _props_escapeHTML;
|
|
99
|
+
_this.escapeHTML = (_props_escapeHTML = props === null || props === void 0 ? void 0 : props.escapeHTML) !== null && _props_escapeHTML !== void 0 ? _props_escapeHTML : false;
|
|
100
|
+
var _props_caption;
|
|
101
|
+
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerTextColumnControl.controlName;
|
|
102
|
+
var _props_lineEllipsis;
|
|
103
|
+
_this.lineEllipsis = (_props_lineEllipsis = props === null || props === void 0 ? void 0 : props.lineEllipsis) !== null && _props_lineEllipsis !== void 0 ? _props_lineEllipsis : 1;
|
|
104
|
+
var _props_showLinkOperation;
|
|
105
|
+
_this.showLinkOperation = (_props_showLinkOperation = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _props_showLinkOperation !== void 0 ? _props_showLinkOperation : false;
|
|
103
106
|
_this.linkOperationOption = new LinkOperationOption(props === null || props === void 0 ? void 0 : props.linkOperationOption);
|
|
104
107
|
return _this;
|
|
105
108
|
}
|