@byteluck-fe/model-driven-controls 4.53.0-lx2 → 4.54.0-lx2
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/CreateFormListButton/property.js +5 -8
- package/dist/esm/baseControls/Dashboard/property.js +7 -12
- 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 +5 -8
- package/dist/esm/baseControls/ImportRecordListButton/designer.js +4 -0
- package/dist/esm/baseControls/ImportRecordListButton/property.js +10 -10
- package/dist/esm/baseControls/InvoiceCheckButton/property.js +11 -19
- package/dist/esm/baseControls/ListSelectButton/property.js +5 -8
- package/dist/esm/baseControls/ListViewSelect/property.js +4 -5
- package/dist/esm/baseControls/OperationButton/property.js +6 -10
- 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 +7 -12
- 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/designer.js +1 -0
- 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/designer.js +8 -8
- package/dist/esm/columnControls/FileColumn/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 +4 -6
- package/dist/esm/columnControls/TimestampColumn/property.js +4 -6
- 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 +12 -22
- package/dist/esm/formControls/Attachment/property.js +23 -36
- package/dist/esm/formControls/AutoNumber/property.js +4 -6
- package/dist/esm/formControls/Calc/property.js +9 -16
- package/dist/esm/formControls/Checkbox/property.js +15 -27
- package/dist/esm/formControls/DatePicker/property.js +12 -21
- package/dist/esm/formControls/DateRange/property.js +12 -21
- package/dist/esm/formControls/Department/property.js +12 -22
- package/dist/esm/formControls/Department2/property.js +17 -32
- 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 +15 -28
- package/dist/esm/formControls/Image/designer.js +11 -12
- package/dist/esm/formControls/Image/property.js +10 -10
- package/dist/esm/formControls/Image/runtime.js +4 -6
- package/dist/esm/formControls/Input/property.js +8 -14
- package/dist/esm/formControls/Link/property.js +4 -6
- 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 +12 -22
- package/dist/esm/formControls/RichText/property.js +6 -10
- package/dist/esm/formControls/Score/property.js +8 -13
- package/dist/esm/formControls/SearchDateRange/property.js +13 -23
- package/dist/esm/formControls/SearchNumberRange/property.js +7 -12
- package/dist/esm/formControls/Select/property.js +11 -20
- package/dist/esm/formControls/SelectMultiple/property.js +10 -18
- package/dist/esm/formControls/SelectRelation/property.js +10 -18
- package/dist/esm/formControls/SensitivenInformation/property.js +8 -14
- package/dist/esm/formControls/Textarea/property.js +8 -14
- package/dist/esm/formControls/Tree/property.js +20 -37
- package/dist/esm/formControls/VueFormItem/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 +41 -67
- 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 +3 -4
- package/dist/esm/layoutControls/Col/property.js +3 -4
- package/dist/esm/layoutControls/DataView/property.js +7 -12
- 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 +19 -34
- 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/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/listControls/GridTable/designer.js +12 -4
- package/dist/esm/listControls/GridTable/property.js +15 -19
- package/dist/esm/listControls/SubTable/designer.js +2 -1
- package/dist/esm/listControls/SubTable/property.js +33 -64
- package/dist/esm/searchControls/SimpleSearch/property.js +11 -20
- 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/ImportRecordListButton/property.d.ts +2 -0
- package/package.json +5 -5
|
@@ -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,6 +128,7 @@ 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, _ref4, _ref5, _ref6;
|
|
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), _define_property(_this, "isExtenalConfig", void 0 // 是否开启展示扩展信息
|
|
@@ -135,8 +136,7 @@ var TitleProperty = /*#__PURE__*/ function(Property) {
|
|
|
135
136
|
), _define_property(_this, "externalCustomConfig", void 0 // 扩展信息自定义配置项
|
|
136
137
|
);
|
|
137
138
|
_this.dataBind = new DataBind(props === null || props === void 0 ? void 0 : props.dataBind);
|
|
138
|
-
|
|
139
|
-
_this.config = (_props_config = props === null || props === void 0 ? void 0 : props.config) !== null && _props_config !== void 0 ? _props_config : [
|
|
139
|
+
_this.config = (_ref = props === null || props === void 0 ? void 0 : props.config) !== null && _ref !== void 0 ? _ref : [
|
|
140
140
|
// TitleConfigEnum.ShowBizKey,
|
|
141
141
|
TitleConfigEnum.ShowSubmitUser,
|
|
142
142
|
TitleConfigEnum.ShowSubmitDept,
|
|
@@ -144,21 +144,16 @@ var TitleProperty = /*#__PURE__*/ function(Property) {
|
|
|
144
144
|
TitleConfigEnum.ShowCurrentApprovar,
|
|
145
145
|
TitleConfigEnum.ShowTitle
|
|
146
146
|
];
|
|
147
|
-
|
|
148
|
-
_this.
|
|
149
|
-
|
|
150
|
-
_this.
|
|
151
|
-
var _props_isExtenalConfig;
|
|
152
|
-
_this.isExtenalConfig = (_props_isExtenalConfig = props === null || props === void 0 ? void 0 : props.isExtenalConfig) !== null && _props_isExtenalConfig !== void 0 ? _props_isExtenalConfig : false;
|
|
153
|
-
var _props_externalSysConfig;
|
|
154
|
-
_this.externalSysConfig = (_props_externalSysConfig = props === null || props === void 0 ? void 0 : props.externalSysConfig) !== null && _props_externalSysConfig !== void 0 ? _props_externalSysConfig : [
|
|
147
|
+
_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 : '';
|
|
148
|
+
_this.position = (_ref3 = props === null || props === void 0 ? void 0 : props.position) !== null && _ref3 !== void 0 ? _ref3 : 'top';
|
|
149
|
+
_this.isExtenalConfig = (_ref4 = props === null || props === void 0 ? void 0 : props.isExtenalConfig) !== null && _ref4 !== void 0 ? _ref4 : true;
|
|
150
|
+
_this.externalSysConfig = (_ref5 = props === null || props === void 0 ? void 0 : props.externalSysConfig) !== null && _ref5 !== void 0 ? _ref5 : [
|
|
155
151
|
TitleConfigEnum.ShowProcessTaskInfo,
|
|
156
152
|
TitleConfigEnum.ShowProcessModelCreator,
|
|
157
153
|
TitleConfigEnum.ShowProcessModelOwner,
|
|
158
154
|
TitleConfigEnum.ShowProcessModelDiagram
|
|
159
155
|
];
|
|
160
|
-
|
|
161
|
-
_this.externalCustomConfig = (_props_externalCustomConfig = props === null || props === void 0 ? void 0 : props.externalCustomConfig) !== null && _props_externalCustomConfig !== void 0 ? _props_externalCustomConfig : [];
|
|
156
|
+
_this.externalCustomConfig = (_ref6 = props === null || props === void 0 ? void 0 : props.externalCustomConfig) !== null && _ref6 !== void 0 ? _ref6 : [];
|
|
162
157
|
return _this;
|
|
163
158
|
}
|
|
164
159
|
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
|
}
|
|
@@ -76,6 +76,7 @@ function _inherits(subClass, superClass) {
|
|
|
76
76
|
if (superClass) _set_prototype_of(subClass, superClass);
|
|
77
77
|
}
|
|
78
78
|
function _instanceof(left, right) {
|
|
79
|
+
"@swc/helpers - instanceof";
|
|
79
80
|
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
80
81
|
return !!right[Symbol.hasInstance](left);
|
|
81
82
|
} else {
|
|
@@ -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(ColumnControlProp
|
|
|
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(ColumnControlProp
|
|
|
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;
|
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* @Description:
|
|
3
|
-
* @Autor: SuperLucky-Q
|
|
4
|
-
* @Date: 2022-12-15 10:48:27
|
|
5
|
-
* @LastEditors: SuperLucky-Q
|
|
6
|
-
* @LastEditTime: 2022-12-15 15:08:08
|
|
7
|
-
*/ function _assert_this_initialized(self) {
|
|
1
|
+
function _assert_this_initialized(self) {
|
|
8
2
|
if (self === void 0) {
|
|
9
3
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
10
4
|
}
|
|
@@ -76,7 +70,13 @@ function _is_native_reflect_construct() {
|
|
|
76
70
|
return !!result;
|
|
77
71
|
})();
|
|
78
72
|
}
|
|
79
|
-
|
|
73
|
+
/*
|
|
74
|
+
* @Description:
|
|
75
|
+
* @Autor: SuperLucky-Q
|
|
76
|
+
* @Date: 2022-12-15 10:48:27
|
|
77
|
+
* @LastEditors: SuperLucky-Q
|
|
78
|
+
* @LastEditTime: 2022-12-15 15:08:08
|
|
79
|
+
*/ import { DesignerColumnControl, COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
|
|
80
80
|
import FileColumnControlProperty from './property';
|
|
81
81
|
import { FieldTypes } from '@byteluck-fe/model-driven-shared';
|
|
82
82
|
var FileColumnControl = /*#__PURE__*/ function(DesignerColumnControl) {
|
|
@@ -67,11 +67,11 @@ import { DesignerFileColumnControl } from './designer';
|
|
|
67
67
|
function FileColumnControlProperty(props) {
|
|
68
68
|
_class_call_check(this, FileColumnControlProperty);
|
|
69
69
|
var _this;
|
|
70
|
+
var _ref;
|
|
70
71
|
_this = _call_super(this, FileColumnControlProperty, [
|
|
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 : DesignerFileColumnControl.controlName;
|
|
74
|
+
_this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : DesignerFileColumnControl.controlName;
|
|
75
75
|
return _this;
|
|
76
76
|
}
|
|
77
77
|
return FileColumnControlProperty;
|
|
@@ -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) {
|
|
@@ -272,7 +280,7 @@ var OperationColumnControl = /*#__PURE__*/ function(DesignerColumnControl) {
|
|
|
272
280
|
// }
|
|
273
281
|
function validate(messages, ignore) {
|
|
274
282
|
var _this = this;
|
|
275
|
-
var _this1 = this, _superprop_get_validate = function() {
|
|
283
|
+
var _this1 = this, _superprop_get_validate = function _superprop_get_validate() {
|
|
276
284
|
return _get(_get_prototype_of(OperationColumnControl.prototype), "validate", _this);
|
|
277
285
|
};
|
|
278
286
|
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;
|
|
99
100
|
_this = _call_super(this, TimescopeColumnControlProperty, [
|
|
100
101
|
props
|
|
101
102
|
]), /**
|
|
@@ -109,13 +110,10 @@ var TimescopeColumnControlPropertyRules = /*#__PURE__*/ function(ColumnControlPr
|
|
|
109
110
|
* 链接操作配置
|
|
110
111
|
* @public
|
|
111
112
|
*/ _define_property(_this, "linkOperationOption", void 0);
|
|
112
|
-
|
|
113
|
-
_this.
|
|
114
|
-
var _props_showLinkOperation;
|
|
115
|
-
_this.showLinkOperation = (_props_showLinkOperation = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _props_showLinkOperation !== void 0 ? _props_showLinkOperation : false;
|
|
113
|
+
_this.dateType = (_ref = props === null || props === void 0 ? void 0 : props.dateType) !== null && _ref !== void 0 ? _ref : DateType.DATE;
|
|
114
|
+
_this.showLinkOperation = (_ref1 = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _ref1 !== void 0 ? _ref1 : false;
|
|
116
115
|
_this.linkOperationOption = new LinkOperationOption(props === null || props === void 0 ? void 0 : props.linkOperationOption);
|
|
117
|
-
|
|
118
|
-
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerTimescopeColumnControl.controlName;
|
|
116
|
+
_this.caption = (_ref2 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref2 !== void 0 ? _ref2 : DesignerTimescopeColumnControl.controlName;
|
|
119
117
|
return _this;
|
|
120
118
|
}
|
|
121
119
|
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;
|
|
99
100
|
_this = _call_super(this, TimestampColumnControlProperty, [
|
|
100
101
|
props
|
|
101
102
|
]), /**
|
|
@@ -109,13 +110,10 @@ var TimestampColumnControlPropertyRules = /*#__PURE__*/ function(ColumnControlPr
|
|
|
109
110
|
* 链接操作配置
|
|
110
111
|
* @public
|
|
111
112
|
*/ _define_property(_this, "linkOperationOption", void 0);
|
|
112
|
-
|
|
113
|
-
_this.
|
|
114
|
-
var _props_showLinkOperation;
|
|
115
|
-
_this.showLinkOperation = (_props_showLinkOperation = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _props_showLinkOperation !== void 0 ? _props_showLinkOperation : false;
|
|
113
|
+
_this.dateType = (_ref = props === null || props === void 0 ? void 0 : props.dateType) !== null && _ref !== void 0 ? _ref : DateType.DATE;
|
|
114
|
+
_this.showLinkOperation = (_ref1 = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _ref1 !== void 0 ? _ref1 : false;
|
|
116
115
|
_this.linkOperationOption = new LinkOperationOption(props === null || props === void 0 ? void 0 : props.linkOperationOption);
|
|
117
|
-
|
|
118
|
-
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerTimestampColumnControl.controlName;
|
|
116
|
+
_this.caption = (_ref2 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref2 !== void 0 ? _ref2 : DesignerTimestampColumnControl.controlName;
|
|
119
117
|
return _this;
|
|
120
118
|
}
|
|
121
119
|
return TimestampColumnControlProperty;
|
|
@@ -95,6 +95,7 @@ var VarcharColumnControlPropertyRules = /*#__PURE__*/ function(ColumnOptionAndDa
|
|
|
95
95
|
function VarcharColumnControlProperty(props) {
|
|
96
96
|
_class_call_check(this, VarcharColumnControlProperty);
|
|
97
97
|
var _this;
|
|
98
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5;
|
|
98
99
|
_this = _call_super(this, VarcharColumnControlProperty, [
|
|
99
100
|
props
|
|
100
101
|
]), /**
|
|
@@ -118,22 +119,16 @@ var VarcharColumnControlPropertyRules = /*#__PURE__*/ function(ColumnOptionAndDa
|
|
|
118
119
|
* 最大行数
|
|
119
120
|
* */ _define_property(_this, "lineEllipsis", void 0), // 显示明文
|
|
120
121
|
_define_property(_this, "displayPlaintext", 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 : DesignerVarcharColumnControl.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.options = initOptions((_props_options = props === null || props === void 0 ? void 0 : props.options) !== null && _props_options !== void 0 ? _props_options : [
|
|
125
|
+
_this.options = initOptions((_ref2 = props === null || props === void 0 ? void 0 : props.options) !== null && _ref2 !== void 0 ? _ref2 : [
|
|
128
126
|
{}
|
|
129
127
|
]);
|
|
130
|
-
|
|
131
|
-
_this.showLinkOperation = (_props_showLinkOperation = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _props_showLinkOperation !== void 0 ? _props_showLinkOperation : false;
|
|
128
|
+
_this.showLinkOperation = (_ref3 = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _ref3 !== void 0 ? _ref3 : false;
|
|
132
129
|
_this.linkOperationOption = new LinkOperationOption(props === null || props === void 0 ? void 0 : props.linkOperationOption);
|
|
133
|
-
|
|
134
|
-
_this.
|
|
135
|
-
var _props_displayPlaintext;
|
|
136
|
-
_this.displayPlaintext = (_props_displayPlaintext = props === null || props === void 0 ? void 0 : props.displayPlaintext) !== null && _props_displayPlaintext !== void 0 ? _props_displayPlaintext : false;
|
|
130
|
+
_this.lineEllipsis = (_ref4 = props === null || props === void 0 ? void 0 : props.lineEllipsis) !== null && _ref4 !== void 0 ? _ref4 : 1;
|
|
131
|
+
_this.displayPlaintext = (_ref5 = props === null || props === void 0 ? void 0 : props.displayPlaintext) !== null && _ref5 !== void 0 ? _ref5 : false;
|
|
137
132
|
return _this;
|
|
138
133
|
}
|
|
139
134
|
return VarcharColumnControlProperty;
|