@byteluck-fe/model-driven-controls 1.7.5 → 1.7.8
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/designer.js +158 -0
- package/dist/esm/baseControls/BatchDeleteButton/index.js +11 -0
- package/dist/esm/baseControls/BatchDeleteButton/property.js +106 -0
- package/dist/esm/baseControls/BatchDeleteButton/runtime.js +110 -0
- package/dist/esm/baseControls/BatchDeleteButton/types.js +0 -0
- package/dist/esm/baseControls/BatchPrintListButton/property.js +10 -10
- package/dist/esm/baseControls/BatchPrintRecordListButton/property.js +4 -4
- package/dist/esm/baseControls/BatchSubmissionListButton/property.js +12 -12
- package/dist/esm/baseControls/Button/property.js +16 -16
- package/dist/esm/baseControls/CreateFormListButton/property.js +8 -8
- package/dist/esm/baseControls/Dashboard/property.js +12 -12
- package/dist/esm/baseControls/Divider/property.js +4 -4
- package/dist/esm/baseControls/ExportListButton/property.js +8 -8
- package/dist/esm/baseControls/ExportRecordListButton/property.js +4 -4
- package/dist/esm/baseControls/FormSelectButton/property.js +6 -6
- package/dist/esm/baseControls/ImportRecordListButton/property.js +8 -8
- package/dist/esm/baseControls/InvoiceCheckButton/property.js +20 -20
- package/dist/esm/baseControls/Link/property.js +6 -6
- package/dist/esm/baseControls/ListSelectButton/property.js +4 -4
- package/dist/esm/baseControls/ListViewSelect/property.js +6 -6
- package/dist/esm/baseControls/SubmissionRecordListButton/property.js +4 -4
- package/dist/esm/baseControls/Text/property.js +10 -10
- package/dist/esm/baseControls/TextOcrButton/property.js +20 -20
- package/dist/esm/baseControls/Title/property.js +4 -4
- package/dist/esm/baseControls/index.js +1 -0
- package/dist/esm/columnControls/ArrayColumn/property.js +6 -6
- package/dist/esm/columnControls/AutoNumberColumn/property.js +2 -2
- package/dist/esm/columnControls/CustomColumn/designer.js +1 -1
- package/dist/esm/columnControls/CustomColumn/property.js +4 -4
- package/dist/esm/columnControls/DecimalColumn/designer.js +1 -1
- package/dist/esm/columnControls/DecimalColumn/property.js +12 -12
- package/dist/esm/columnControls/DepartmentColumn/property.js +4 -4
- package/dist/esm/columnControls/EmployeeColumn/property.js +4 -4
- 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 +2 -2
- package/dist/esm/columnControls/OperationColumn/property.js +12 -12
- package/dist/esm/columnControls/OrderColumn/property.js +8 -8
- package/dist/esm/columnControls/PeopleColumn/property.js +2 -2
- package/dist/esm/columnControls/TextColumn/property.js +6 -6
- package/dist/esm/columnControls/TimescopeColumn/property.js +4 -4
- package/dist/esm/columnControls/TimestampColumn/property.js +4 -4
- package/dist/esm/columnControls/VarcharColumn/property.js +8 -8
- package/dist/esm/formControls/Address/property.js +10 -10
- package/dist/esm/formControls/Amount/designer.js +1 -1
- package/dist/esm/formControls/Amount/property.js +22 -22
- package/dist/esm/formControls/Attachment/property.js +16 -16
- package/dist/esm/formControls/AutoNumber/property.js +6 -6
- package/dist/esm/formControls/Calc/designer.js +1 -1
- package/dist/esm/formControls/Calc/property.js +14 -14
- package/dist/esm/formControls/Checkbox/property.js +26 -26
- package/dist/esm/formControls/DatePicker/property.js +18 -18
- package/dist/esm/formControls/DateRange/property.js +18 -18
- package/dist/esm/formControls/Department/designer.js +1 -1
- package/dist/esm/formControls/Department/property.js +22 -22
- package/dist/esm/formControls/Department2/designer.js +1 -1
- package/dist/esm/formControls/Department2/property.js +30 -30
- package/dist/esm/formControls/ElectronicSignature/property.js +12 -12
- package/dist/esm/formControls/Employee/property.js +18 -18
- package/dist/esm/formControls/Employee2/property.js +28 -28
- package/dist/esm/formControls/Image/designer.js +5 -5
- package/dist/esm/formControls/Image/runtime.js +7 -7
- package/dist/esm/formControls/Input/property.js +14 -14
- package/dist/esm/formControls/Number/designer.js +1 -1
- package/dist/esm/formControls/Number/property.js +26 -26
- package/dist/esm/formControls/Radio/property.js +22 -22
- package/dist/esm/formControls/RichText/property.js +10 -10
- package/dist/esm/formControls/Score/designer.js +2 -2
- package/dist/esm/formControls/Score/property.js +14 -14
- package/dist/esm/formControls/SearchDateRange/property.js +20 -20
- package/dist/esm/formControls/SearchNumberRange/property.js +12 -12
- package/dist/esm/formControls/Select/property.js +16 -16
- package/dist/esm/formControls/SelectMultiple/property.js +14 -14
- package/dist/esm/formControls/SelectRelation/property.js +14 -14
- package/dist/esm/formControls/Textarea/property.js +12 -12
- package/dist/esm/formControls/Tree/property.js +26 -26
- package/dist/esm/formControls/VueFormItem/property.js +10 -10
- package/dist/esm/formControls/WPS/property.js +24 -24
- package/dist/esm/framework.js +70 -70
- package/dist/esm/layoutControls/CardGroup/property.js +6 -6
- package/dist/esm/layoutControls/Col/property.js +4 -4
- package/dist/esm/layoutControls/DataView/property.js +12 -12
- package/dist/esm/layoutControls/GridTableColumn/property.js +20 -20
- package/dist/esm/layoutControls/ListView/property.js +18 -16
- package/dist/esm/layoutControls/Page/property.js +2 -2
- package/dist/esm/layoutControls/Position/property.js +8 -8
- package/dist/esm/layoutControls/Row/property.js +4 -4
- package/dist/esm/layoutControls/SubTableColumn/property.js +12 -12
- package/dist/esm/layoutControls/Tab/designer.js +2 -2
- package/dist/esm/layoutControls/TabPane/property.js +2 -2
- package/dist/esm/listControls/GridTable/property.js +8 -8
- package/dist/esm/listControls/SubTable/designer.js +2 -2
- package/dist/esm/listControls/SubTable/property.js +42 -42
- package/dist/esm/searchControls/SimpleSearch/property.js +14 -14
- package/dist/esm/searchControls/SimpleSearch/runtime.js +2 -2
- package/dist/index.umd.js +1 -1
- package/dist/types/baseControls/BatchDeleteButton/designer.d.ts +13 -0
- package/dist/types/baseControls/BatchDeleteButton/index.d.ts +12 -0
- package/dist/types/baseControls/BatchDeleteButton/property.d.ts +14 -0
- package/dist/types/baseControls/BatchDeleteButton/runtime.d.ts +9 -0
- package/dist/types/baseControls/BatchDeleteButton/types.d.ts +0 -0
- package/dist/types/baseControls/index.d.ts +1 -0
- package/dist/types/layoutControls/ListView/property.d.ts +1 -0
- package/package.json +2 -2
|
@@ -154,12 +154,12 @@ var FormSelectButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
|
|
|
154
154
|
_classCallCheck(this, FormSelectButtonProperty);
|
|
155
155
|
var _this;
|
|
156
156
|
_this = _super.call(this, props);
|
|
157
|
-
var
|
|
158
|
-
_this.content = (
|
|
159
|
-
var
|
|
160
|
-
_this.icon = (
|
|
161
|
-
var
|
|
162
|
-
_this.command = (
|
|
157
|
+
var _props_content;
|
|
158
|
+
_this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : FormSelectButtonControl.controlName;
|
|
159
|
+
var _props_icon;
|
|
160
|
+
_this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : FormSelectButtonControl.controlIcon;
|
|
161
|
+
var _props_command;
|
|
162
|
+
_this.command = (_props_command = props === null || props === void 0 ? void 0 : props.command) !== null && _props_command !== void 0 ? _props_command : "create";
|
|
163
163
|
_this.fillPayload = new FillPayloadBind(props === null || props === void 0 ? void 0 : props.fillPayload);
|
|
164
164
|
_this.formBind = new FormSelectBind(props === null || props === void 0 ? void 0 : props.formBind);
|
|
165
165
|
_this.fillBack = new FillBackBind(props === null || props === void 0 ? void 0 : props.fillBack);
|
|
@@ -83,16 +83,16 @@ var ImportRecordListButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
|
|
|
83
83
|
function ImportRecordListButtonProperty(props) {
|
|
84
84
|
_classCallCheck(this, ImportRecordListButtonProperty);
|
|
85
85
|
var _this;
|
|
86
|
-
var
|
|
86
|
+
var _props_canImportList;
|
|
87
87
|
_this = _super.call(this, props);
|
|
88
|
-
var
|
|
89
|
-
_this.content = (
|
|
90
|
-
var
|
|
91
|
-
_this.icon = (
|
|
92
|
-
var
|
|
93
|
-
_this.canImportList = (
|
|
88
|
+
var _props_content;
|
|
89
|
+
_this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : ImportRecordListButtonControl.controlName;
|
|
90
|
+
var _props_icon;
|
|
91
|
+
_this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : ImportRecordListButtonControl.controlIcon;
|
|
92
|
+
var _props_canImportList_map;
|
|
93
|
+
_this.canImportList = (_props_canImportList_map = props === null || props === void 0 ? void 0 : (_props_canImportList = props.canImportList) === null || _props_canImportList === void 0 ? void 0 : _props_canImportList.map(function(item) {
|
|
94
94
|
return new ImportListBind(item);
|
|
95
|
-
})) !== null &&
|
|
95
|
+
})) !== null && _props_canImportList_map !== void 0 ? _props_canImportList_map : [];
|
|
96
96
|
return _this;
|
|
97
97
|
}
|
|
98
98
|
return ImportRecordListButtonProperty;
|
|
@@ -131,28 +131,28 @@ var InvoiceCheckButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
|
|
|
131
131
|
function InvoiceCheckButtonProperty(props) {
|
|
132
132
|
_classCallCheck(this, InvoiceCheckButtonProperty);
|
|
133
133
|
var _this;
|
|
134
|
-
var
|
|
134
|
+
var _props_fillList;
|
|
135
135
|
_this = _super.call(this, props);
|
|
136
|
-
var
|
|
137
|
-
_this.caption = (
|
|
138
|
-
var
|
|
139
|
-
_this.isHideCaption = (
|
|
140
|
-
var
|
|
141
|
-
_this.isShowCaptionTip = (
|
|
142
|
-
var
|
|
143
|
-
_this.captionTip = (
|
|
144
|
-
var
|
|
145
|
-
_this.labelPosition = (
|
|
146
|
-
var
|
|
147
|
-
_this.content = (
|
|
148
|
-
var
|
|
149
|
-
_this.icon = (
|
|
150
|
-
var
|
|
151
|
-
_this.invoiceCheck = (
|
|
152
|
-
var
|
|
153
|
-
_this.fillList = (
|
|
136
|
+
var _props_caption;
|
|
137
|
+
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : InvoiceCheckButtonControl.controlName;
|
|
138
|
+
var _props_isHideCaption;
|
|
139
|
+
_this.isHideCaption = (_props_isHideCaption = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _props_isHideCaption !== void 0 ? _props_isHideCaption : false;
|
|
140
|
+
var _props_isShowCaptionTip;
|
|
141
|
+
_this.isShowCaptionTip = (_props_isShowCaptionTip = props === null || props === void 0 ? void 0 : props.isShowCaptionTip) !== null && _props_isShowCaptionTip !== void 0 ? _props_isShowCaptionTip : false;
|
|
142
|
+
var _props_captionTip;
|
|
143
|
+
_this.captionTip = (_props_captionTip = props === null || props === void 0 ? void 0 : props.captionTip) !== null && _props_captionTip !== void 0 ? _props_captionTip : "";
|
|
144
|
+
var _props_labelPosition;
|
|
145
|
+
_this.labelPosition = (_props_labelPosition = props === null || props === void 0 ? void 0 : props.labelPosition) !== null && _props_labelPosition !== void 0 ? _props_labelPosition : "top";
|
|
146
|
+
var _props_content;
|
|
147
|
+
_this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : InvoiceCheckButtonControl.controlName;
|
|
148
|
+
var _props_icon;
|
|
149
|
+
_this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : InvoiceCheckButtonControl.controlIcon;
|
|
150
|
+
var _props_invoiceCheck;
|
|
151
|
+
_this.invoiceCheck = (_props_invoiceCheck = props === null || props === void 0 ? void 0 : props.invoiceCheck) !== null && _props_invoiceCheck !== void 0 ? _props_invoiceCheck : true;
|
|
152
|
+
var _props_fillList_map;
|
|
153
|
+
_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) {
|
|
154
154
|
return new MultistageFillingItem(item);
|
|
155
|
-
})) !== null &&
|
|
155
|
+
})) !== null && _props_fillList_map !== void 0 ? _props_fillList_map : [];
|
|
156
156
|
return _this;
|
|
157
157
|
}
|
|
158
158
|
return InvoiceCheckButtonProperty;
|
|
@@ -78,12 +78,12 @@ var LinkProperty = /*#__PURE__*/ function(Property) {
|
|
|
78
78
|
_classCallCheck(this, LinkProperty);
|
|
79
79
|
var _this;
|
|
80
80
|
_this = _super.call(this, props);
|
|
81
|
-
var
|
|
82
|
-
_this.content = (
|
|
83
|
-
var
|
|
84
|
-
_this.url = (
|
|
85
|
-
var
|
|
86
|
-
_this.openMode = (
|
|
81
|
+
var _props_content;
|
|
82
|
+
_this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : "我是一个链接";
|
|
83
|
+
var _props_url;
|
|
84
|
+
_this.url = (_props_url = props === null || props === void 0 ? void 0 : props.url) !== null && _props_url !== void 0 ? _props_url : "";
|
|
85
|
+
var _props_openMode;
|
|
86
|
+
_this.openMode = (_props_openMode = props === null || props === void 0 ? void 0 : props.openMode) !== null && _props_openMode !== void 0 ? _props_openMode : "new";
|
|
87
87
|
return _this;
|
|
88
88
|
}
|
|
89
89
|
return LinkProperty;
|
|
@@ -151,10 +151,10 @@ var ListSelectButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
|
|
|
151
151
|
_classCallCheck(this, ListSelectButtonProperty);
|
|
152
152
|
var _this;
|
|
153
153
|
_this = _super.call(this, props);
|
|
154
|
-
var
|
|
155
|
-
_this.content = (
|
|
156
|
-
var
|
|
157
|
-
_this.icon = (
|
|
154
|
+
var _props_content;
|
|
155
|
+
_this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : ListSelectButtonControl.controlName;
|
|
156
|
+
var _props_icon;
|
|
157
|
+
_this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : ListSelectButtonControl.controlIcon;
|
|
158
158
|
_this.fillPayload = new FillPayloadBind(props === null || props === void 0 ? void 0 : props.fillPayload);
|
|
159
159
|
_this.listPageBind = new ListBind(props === null || props === void 0 ? void 0 : props.listPageBind);
|
|
160
160
|
_this.fillBack = new FillBackBind(props === null || props === void 0 ? void 0 : props.fillBack);
|
|
@@ -116,14 +116,14 @@ var ListViewSelectProperty = /*#__PURE__*/ function(Property) {
|
|
|
116
116
|
function ListViewSelectProperty(props) {
|
|
117
117
|
_classCallCheck(this, ListViewSelectProperty);
|
|
118
118
|
var _this;
|
|
119
|
-
var
|
|
119
|
+
var _props_viewList;
|
|
120
120
|
_this = _super.call(this, props);
|
|
121
|
-
var
|
|
122
|
-
_this.showType = (
|
|
123
|
-
var
|
|
124
|
-
_this.viewList = (
|
|
121
|
+
var _props_showType;
|
|
122
|
+
_this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : "select";
|
|
123
|
+
var _props_viewList_map;
|
|
124
|
+
_this.viewList = (_props_viewList_map = props === null || props === void 0 ? void 0 : (_props_viewList = props.viewList) === null || _props_viewList === void 0 ? void 0 : _props_viewList.map(function(item) {
|
|
125
125
|
return new ViewOperationItem(item);
|
|
126
|
-
})) !== null &&
|
|
126
|
+
})) !== null && _props_viewList_map !== void 0 ? _props_viewList_map : [];
|
|
127
127
|
return _this;
|
|
128
128
|
}
|
|
129
129
|
return ListViewSelectProperty;
|
|
@@ -79,10 +79,10 @@ var SubmissionRecordListButtonProperty = /*#__PURE__*/ function(ButtonProperty)
|
|
|
79
79
|
_classCallCheck(this, SubmissionRecordListButtonProperty);
|
|
80
80
|
var _this;
|
|
81
81
|
_this = _super.call(this, props);
|
|
82
|
-
var
|
|
83
|
-
_this.content = (
|
|
84
|
-
var
|
|
85
|
-
_this.icon = (
|
|
82
|
+
var _props_content;
|
|
83
|
+
_this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : SubmissionRecordListButtonControl.controlName;
|
|
84
|
+
var _props_icon;
|
|
85
|
+
_this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : SubmissionRecordListButtonControl.controlIcon;
|
|
86
86
|
return _this;
|
|
87
87
|
}
|
|
88
88
|
return SubmissionRecordListButtonProperty;
|
|
@@ -78,17 +78,17 @@ var TextProperty = /*#__PURE__*/ function(Property) {
|
|
|
78
78
|
_classCallCheck(this, TextProperty);
|
|
79
79
|
var _this;
|
|
80
80
|
_this = _super.call(this, props);
|
|
81
|
-
var
|
|
81
|
+
var _props_fontSize;
|
|
82
82
|
// this.dataBind = new DataBind(props?.dataBind)
|
|
83
|
-
_this.fontSize = (
|
|
84
|
-
var
|
|
85
|
-
_this.color = (
|
|
86
|
-
var
|
|
87
|
-
_this.icon = (
|
|
88
|
-
var
|
|
89
|
-
_this.showState = (
|
|
90
|
-
var
|
|
91
|
-
_this.content = (
|
|
83
|
+
_this.fontSize = (_props_fontSize = props === null || props === void 0 ? void 0 : props.fontSize) !== null && _props_fontSize !== void 0 ? _props_fontSize : "14px";
|
|
84
|
+
var _props_color;
|
|
85
|
+
_this.color = (_props_color = props === null || props === void 0 ? void 0 : props.color) !== null && _props_color !== void 0 ? _props_color : "#646A73";
|
|
86
|
+
var _props_icon;
|
|
87
|
+
_this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : "page-hint";
|
|
88
|
+
var _props_showState;
|
|
89
|
+
_this.showState = (_props_showState = props === null || props === void 0 ? void 0 : props.showState) !== null && _props_showState !== void 0 ? _props_showState : "text";
|
|
90
|
+
var _props_content;
|
|
91
|
+
_this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : "说明文字";
|
|
92
92
|
return _this;
|
|
93
93
|
}
|
|
94
94
|
return TextProperty;
|
|
@@ -133,28 +133,28 @@ var TextOcrButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
|
|
|
133
133
|
function TextOcrButtonProperty(props) {
|
|
134
134
|
_classCallCheck(this, TextOcrButtonProperty);
|
|
135
135
|
var _this;
|
|
136
|
-
var
|
|
136
|
+
var _props_fillList;
|
|
137
137
|
_this = _super.call(this, props);
|
|
138
|
-
var
|
|
139
|
-
_this.caption = (
|
|
140
|
-
var
|
|
141
|
-
_this.isHideCaption = (
|
|
142
|
-
var
|
|
143
|
-
_this.isShowCaptionTip = (
|
|
144
|
-
var
|
|
145
|
-
_this.captionTip = (
|
|
146
|
-
var
|
|
147
|
-
_this.labelPosition = (
|
|
148
|
-
var
|
|
149
|
-
_this.content = (
|
|
150
|
-
var
|
|
151
|
-
_this.icon = (
|
|
152
|
-
var
|
|
153
|
-
_this.ocrType = (
|
|
154
|
-
var
|
|
155
|
-
_this.fillList = (
|
|
138
|
+
var _props_caption;
|
|
139
|
+
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : TextOcrButtonControl.controlName;
|
|
140
|
+
var _props_isHideCaption;
|
|
141
|
+
_this.isHideCaption = (_props_isHideCaption = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _props_isHideCaption !== void 0 ? _props_isHideCaption : false;
|
|
142
|
+
var _props_isShowCaptionTip;
|
|
143
|
+
_this.isShowCaptionTip = (_props_isShowCaptionTip = props === null || props === void 0 ? void 0 : props.isShowCaptionTip) !== null && _props_isShowCaptionTip !== void 0 ? _props_isShowCaptionTip : false;
|
|
144
|
+
var _props_captionTip;
|
|
145
|
+
_this.captionTip = (_props_captionTip = props === null || props === void 0 ? void 0 : props.captionTip) !== null && _props_captionTip !== void 0 ? _props_captionTip : "";
|
|
146
|
+
var _props_labelPosition;
|
|
147
|
+
_this.labelPosition = (_props_labelPosition = props === null || props === void 0 ? void 0 : props.labelPosition) !== null && _props_labelPosition !== void 0 ? _props_labelPosition : "top";
|
|
148
|
+
var _props_content;
|
|
149
|
+
_this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : TextOcrButtonControl.controlName;
|
|
150
|
+
var _props_icon;
|
|
151
|
+
_this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : TextOcrButtonControl.controlIcon;
|
|
152
|
+
var _props_ocrType;
|
|
153
|
+
_this.ocrType = (_props_ocrType = props === null || props === void 0 ? void 0 : props.ocrType) !== null && _props_ocrType !== void 0 ? _props_ocrType : "";
|
|
154
|
+
var _props_fillList_map;
|
|
155
|
+
_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) {
|
|
156
156
|
return new MultistageFillingItem(item);
|
|
157
|
-
})) !== null &&
|
|
157
|
+
})) !== null && _props_fillList_map !== void 0 ? _props_fillList_map : [];
|
|
158
158
|
return _this;
|
|
159
159
|
}
|
|
160
160
|
return TextOcrButtonProperty;
|
|
@@ -121,16 +121,16 @@ var TitleProperty = /*#__PURE__*/ function(Property) {
|
|
|
121
121
|
var _this;
|
|
122
122
|
_this = _super.call(this, props);
|
|
123
123
|
_this.dataBind = new DataBind(props === null || props === void 0 ? void 0 : props.dataBind);
|
|
124
|
-
var
|
|
125
|
-
_this.config = (
|
|
124
|
+
var _props_config;
|
|
125
|
+
_this.config = (_props_config = props === null || props === void 0 ? void 0 : props.config) !== null && _props_config !== void 0 ? _props_config : [
|
|
126
126
|
// TitleConfigEnum.ShowBizKey,
|
|
127
127
|
TitleConfigEnum.ShowSubmitUser,
|
|
128
128
|
TitleConfigEnum.ShowSubmitDept,
|
|
129
129
|
TitleConfigEnum.ShowSubmitTime,
|
|
130
130
|
TitleConfigEnum.ShowCurrentApprovar
|
|
131
131
|
];
|
|
132
|
-
var
|
|
133
|
-
_this.caption = (
|
|
132
|
+
var _props_caption, _ref;
|
|
133
|
+
_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 : "";
|
|
134
134
|
return _this;
|
|
135
135
|
}
|
|
136
136
|
return TitleProperty;
|
|
@@ -18,3 +18,4 @@ export { default as TextOcrButton } from "./TextOcrButton";
|
|
|
18
18
|
export { default as InvoiceCheckButton } from "./InvoiceCheckButton";
|
|
19
19
|
export { default as BatchPrintListButton } from "./BatchPrintListButton";
|
|
20
20
|
export { default as BatchPrintRecordListButton } from "./BatchPrintRecordListButton";
|
|
21
|
+
export { default as BatchDeleteButton } from "./BatchDeleteButton";
|
|
@@ -89,13 +89,13 @@ var ArrayColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty) {
|
|
|
89
89
|
_classCallCheck(this, ArrayColumnControlProperty);
|
|
90
90
|
var _this;
|
|
91
91
|
_this = _super.call(this, props);
|
|
92
|
-
var
|
|
93
|
-
_this.caption = (
|
|
94
|
-
var
|
|
95
|
-
_this.optionConfig = (
|
|
92
|
+
var _props_caption;
|
|
93
|
+
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerArrayColumnControl.controlName;
|
|
94
|
+
var _props_optionConfig;
|
|
95
|
+
_this.optionConfig = (_props_optionConfig = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _props_optionConfig !== void 0 ? _props_optionConfig : "none";
|
|
96
96
|
_this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
|
|
97
|
-
var
|
|
98
|
-
_this.options = initOptions((
|
|
97
|
+
var _props_options;
|
|
98
|
+
_this.options = initOptions((_props_options = props === null || props === void 0 ? void 0 : props.options) !== null && _props_options !== void 0 ? _props_options : [
|
|
99
99
|
{}
|
|
100
100
|
]);
|
|
101
101
|
return _this;
|
|
@@ -79,8 +79,8 @@ var AutoNumberColumnControlProperty = /*#__PURE__*/ function(ColumnControlProper
|
|
|
79
79
|
_classCallCheck(this, AutoNumberColumnControlProperty);
|
|
80
80
|
var _this;
|
|
81
81
|
_this = _super.call(this, props);
|
|
82
|
-
var
|
|
83
|
-
_this.caption = (
|
|
82
|
+
var _props_caption;
|
|
83
|
+
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerAutoNumberColumnControl.controlName;
|
|
84
84
|
return _this;
|
|
85
85
|
}
|
|
86
86
|
return AutoNumberColumnControlProperty;
|
|
@@ -163,7 +163,7 @@ var CustomColumnControl = /*#__PURE__*/ function _target(DesignerColumnControl)
|
|
|
163
163
|
_classCallCheck(this, CustomColumnControl);
|
|
164
164
|
var _this;
|
|
165
165
|
_this = _super.call(this, props);
|
|
166
|
-
var
|
|
166
|
+
var _ref = _instanceof(this, CustomColumnControl) ? this.constructor : void 0, excludes = _ref.excludes, childrenMaxLength = _ref.childrenMaxLength;
|
|
167
167
|
_this.props = new CustomColumnControlProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
168
168
|
defineControlArrayToProperty(_assertThisInitialized(_this), "children", props === null || props === void 0 ? void 0 : props.children);
|
|
169
169
|
_this.excludes = JSONCopy(excludes);
|
|
@@ -79,10 +79,10 @@ var CustomColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty)
|
|
|
79
79
|
_classCallCheck(this, CustomColumnControlProperty);
|
|
80
80
|
var _this;
|
|
81
81
|
_this = _super.call(this, props);
|
|
82
|
-
var
|
|
83
|
-
_this.caption = (
|
|
84
|
-
var
|
|
85
|
-
_this.fieldCodeList = (
|
|
82
|
+
var _props_caption;
|
|
83
|
+
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerCustomColumnControl.controlName;
|
|
84
|
+
var _props_fieldCodeList;
|
|
85
|
+
_this.fieldCodeList = (_props_fieldCodeList = props === null || props === void 0 ? void 0 : props.fieldCodeList) !== null && _props_fieldCodeList !== void 0 ? _props_fieldCodeList : [];
|
|
86
86
|
return _this;
|
|
87
87
|
}
|
|
88
88
|
return CustomColumnControlProperty;
|
|
@@ -110,7 +110,7 @@ var DecimalColumnControl = /*#__PURE__*/ function(DesignerColumnControl) {
|
|
|
110
110
|
_proto.toDataBindModel = function toDataBindModel(parentId) {
|
|
111
111
|
var dataBindModel = _get(_getPrototypeOf(DecimalColumnControl.prototype), "toDataBindModel", this).call(this, parentId);
|
|
112
112
|
if (dataBindModel) {
|
|
113
|
-
var
|
|
113
|
+
var _this_props = this.props, precision = _this_props.precision, micrometer = _this_props.micrometer;
|
|
114
114
|
precision !== "" && (dataBindModel.props.precision = precision);
|
|
115
115
|
dataBindModel.props.micrometer = micrometer;
|
|
116
116
|
}
|
|
@@ -79,19 +79,19 @@ var DecimalColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty)
|
|
|
79
79
|
_classCallCheck(this, DecimalColumnControlProperty);
|
|
80
80
|
var _this;
|
|
81
81
|
_this = _super.call(this, props);
|
|
82
|
-
var
|
|
83
|
-
_this.caption = (
|
|
84
|
-
var
|
|
85
|
-
_this.precision = (
|
|
86
|
-
var
|
|
87
|
-
_this.micrometer = (
|
|
88
|
-
var
|
|
89
|
-
_this.percentageFormat = (
|
|
90
|
-
var
|
|
91
|
-
_this.optionConfig = (
|
|
82
|
+
var _props_caption;
|
|
83
|
+
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerDecimalColumnControl.controlName;
|
|
84
|
+
var _props_precision;
|
|
85
|
+
_this.precision = (_props_precision = props === null || props === void 0 ? void 0 : props.precision) !== null && _props_precision !== void 0 ? _props_precision : 0;
|
|
86
|
+
var _props_micrometer;
|
|
87
|
+
_this.micrometer = (_props_micrometer = props === null || props === void 0 ? void 0 : props.micrometer) !== null && _props_micrometer !== void 0 ? _props_micrometer : false;
|
|
88
|
+
var _props_percentageFormat;
|
|
89
|
+
_this.percentageFormat = (_props_percentageFormat = props === null || props === void 0 ? void 0 : props.percentageFormat) !== null && _props_percentageFormat !== void 0 ? _props_percentageFormat : false;
|
|
90
|
+
var _props_optionConfig;
|
|
91
|
+
_this.optionConfig = (_props_optionConfig = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _props_optionConfig !== void 0 ? _props_optionConfig : "none";
|
|
92
92
|
_this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
|
|
93
|
-
var
|
|
94
|
-
_this.options = initOptions((
|
|
93
|
+
var _props_options;
|
|
94
|
+
_this.options = initOptions((_props_options = props === null || props === void 0 ? void 0 : props.options) !== null && _props_options !== void 0 ? _props_options : [
|
|
95
95
|
{}
|
|
96
96
|
]);
|
|
97
97
|
return _this;
|
|
@@ -79,10 +79,10 @@ var DepartmentColumnControlProperty = /*#__PURE__*/ function(ColumnControlProper
|
|
|
79
79
|
_classCallCheck(this, DepartmentColumnControlProperty);
|
|
80
80
|
var _this;
|
|
81
81
|
_this = _super.call(this, props);
|
|
82
|
-
var
|
|
83
|
-
_this.caption = (
|
|
84
|
-
var
|
|
85
|
-
_this.displayLevel = (
|
|
82
|
+
var _props_caption;
|
|
83
|
+
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerDepartmentColumnControl.controlName;
|
|
84
|
+
var _props_displayLevel;
|
|
85
|
+
_this.displayLevel = (_props_displayLevel = props === null || props === void 0 ? void 0 : props.displayLevel) !== null && _props_displayLevel !== void 0 ? _props_displayLevel : 1;
|
|
86
86
|
return _this;
|
|
87
87
|
}
|
|
88
88
|
return DepartmentColumnControlProperty;
|
|
@@ -79,10 +79,10 @@ var EmployeeColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty
|
|
|
79
79
|
_classCallCheck(this, EmployeeColumnControlProperty);
|
|
80
80
|
var _this;
|
|
81
81
|
_this = _super.call(this, props);
|
|
82
|
-
var
|
|
83
|
-
_this.caption = (
|
|
84
|
-
var
|
|
85
|
-
_this.datasourceBind = new SuperDataSourceBind((
|
|
82
|
+
var _props_caption;
|
|
83
|
+
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : EmployeeColumnControl.controlName;
|
|
84
|
+
var _props_datasourceBind;
|
|
85
|
+
_this.datasourceBind = new SuperDataSourceBind((_props_datasourceBind = props === null || props === void 0 ? void 0 : props.datasourceBind) !== null && _props_datasourceBind !== void 0 ? _props_datasourceBind : {
|
|
86
86
|
attributes: EmployeeColumnControl.controlCustomAttributes
|
|
87
87
|
});
|
|
88
88
|
return _this;
|
|
@@ -79,8 +79,8 @@ var FileColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty) {
|
|
|
79
79
|
_classCallCheck(this, FileColumnControlProperty);
|
|
80
80
|
var _this;
|
|
81
81
|
_this = _super.call(this, props);
|
|
82
|
-
var
|
|
83
|
-
_this.caption = (
|
|
82
|
+
var _props_caption;
|
|
83
|
+
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerFileColumnControl.controlName;
|
|
84
84
|
return _this;
|
|
85
85
|
}
|
|
86
86
|
return FileColumnControlProperty;
|
|
@@ -79,8 +79,8 @@ var ImageColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty) {
|
|
|
79
79
|
_classCallCheck(this, ImageColumnControlProperty);
|
|
80
80
|
var _this;
|
|
81
81
|
_this = _super.call(this, props);
|
|
82
|
-
var
|
|
83
|
-
_this.caption = (
|
|
82
|
+
var _props_caption;
|
|
83
|
+
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerImageColumnControl.controlName;
|
|
84
84
|
return _this;
|
|
85
85
|
}
|
|
86
86
|
return ImageColumnControlProperty;
|
|
@@ -79,8 +79,8 @@ var LocationColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty
|
|
|
79
79
|
_classCallCheck(this, LocationColumnControlProperty);
|
|
80
80
|
var _this;
|
|
81
81
|
_this = _super.call(this, props);
|
|
82
|
-
var
|
|
83
|
-
_this.caption = (
|
|
82
|
+
var _props_caption;
|
|
83
|
+
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerLocationColumnControl.controlName;
|
|
84
84
|
return _this;
|
|
85
85
|
}
|
|
86
86
|
return LocationColumnControlProperty;
|
|
@@ -122,33 +122,33 @@ var OperationColumnControlProperty = /*#__PURE__*/ function(ColumnControlPropert
|
|
|
122
122
|
_classCallCheck(this, OperationColumnControlProperty);
|
|
123
123
|
var _this;
|
|
124
124
|
_this = _super.call(this, props);
|
|
125
|
-
var
|
|
126
|
-
_this.fixed = (
|
|
127
|
-
var
|
|
128
|
-
_this.check = new OperationItem((
|
|
125
|
+
var _props_fixed;
|
|
126
|
+
_this.fixed = (_props_fixed = props === null || props === void 0 ? void 0 : props.fixed) !== null && _props_fixed !== void 0 ? _props_fixed : "right";
|
|
127
|
+
var _props_check;
|
|
128
|
+
_this.check = new OperationItem((_props_check = props === null || props === void 0 ? void 0 : props.check) !== null && _props_check !== void 0 ? _props_check : {
|
|
129
129
|
content: "查看",
|
|
130
130
|
type: "check",
|
|
131
131
|
isShow: false,
|
|
132
132
|
priorityProcess: true
|
|
133
133
|
});
|
|
134
|
-
var
|
|
135
|
-
_this.edit = new OperationItem((
|
|
134
|
+
var _props_edit;
|
|
135
|
+
_this.edit = new OperationItem((_props_edit = props === null || props === void 0 ? void 0 : props.edit) !== null && _props_edit !== void 0 ? _props_edit : {
|
|
136
136
|
content: "编辑",
|
|
137
137
|
type: "edit",
|
|
138
138
|
isShow: false
|
|
139
139
|
});
|
|
140
|
-
var
|
|
141
|
-
_this.delete = new OperationItem((
|
|
140
|
+
var _props_delete;
|
|
141
|
+
_this.delete = new OperationItem((_props_delete = props === null || props === void 0 ? void 0 : props.delete) !== null && _props_delete !== void 0 ? _props_delete : {
|
|
142
142
|
content: "删除",
|
|
143
143
|
type: "delete",
|
|
144
144
|
isShow: false
|
|
145
145
|
});
|
|
146
|
-
var
|
|
147
|
-
_this.custom = ((
|
|
146
|
+
var _props_custom;
|
|
147
|
+
_this.custom = ((_props_custom = props === null || props === void 0 ? void 0 : props.custom) !== null && _props_custom !== void 0 ? _props_custom : []).map(function(item) {
|
|
148
148
|
return new OperationItem(item);
|
|
149
149
|
});
|
|
150
|
-
var
|
|
151
|
-
_this.caption = (
|
|
150
|
+
var _props_caption;
|
|
151
|
+
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerOperationColumnControl.controlName;
|
|
152
152
|
return _this;
|
|
153
153
|
}
|
|
154
154
|
return OperationColumnControlProperty;
|
|
@@ -92,14 +92,14 @@ var OrderColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty) {
|
|
|
92
92
|
_classCallCheck(this, OrderColumnControlProperty);
|
|
93
93
|
var _this;
|
|
94
94
|
_this = _super.call(this, props);
|
|
95
|
-
var
|
|
96
|
-
_this.fixed = (
|
|
97
|
-
var
|
|
98
|
-
_this.caption = (
|
|
99
|
-
var
|
|
100
|
-
_this.width = (
|
|
101
|
-
var
|
|
102
|
-
_this.widthType = (
|
|
95
|
+
var _props_fixed;
|
|
96
|
+
_this.fixed = (_props_fixed = props === null || props === void 0 ? void 0 : props.fixed) !== null && _props_fixed !== void 0 ? _props_fixed : "left";
|
|
97
|
+
var _props_caption;
|
|
98
|
+
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerOrderColumnControl.controlName;
|
|
99
|
+
var _props_width;
|
|
100
|
+
_this.width = (_props_width = props === null || props === void 0 ? void 0 : props.width) !== null && _props_width !== void 0 ? _props_width : 50;
|
|
101
|
+
var _props_widthType;
|
|
102
|
+
_this.widthType = (_props_widthType = props === null || props === void 0 ? void 0 : props.widthType) !== null && _props_widthType !== void 0 ? _props_widthType : "px";
|
|
103
103
|
return _this;
|
|
104
104
|
}
|
|
105
105
|
return OrderColumnControlProperty;
|
|
@@ -79,8 +79,8 @@ var PeopleColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty)
|
|
|
79
79
|
_classCallCheck(this, PeopleColumnControlProperty);
|
|
80
80
|
var _this;
|
|
81
81
|
_this = _super.call(this, props);
|
|
82
|
-
var
|
|
83
|
-
_this.caption = (
|
|
82
|
+
var _props_caption;
|
|
83
|
+
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerPeopleColumnControl.controlName;
|
|
84
84
|
return _this;
|
|
85
85
|
}
|
|
86
86
|
return PeopleColumnControlProperty;
|
|
@@ -79,12 +79,12 @@ var TextColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty) {
|
|
|
79
79
|
_classCallCheck(this, TextColumnControlProperty);
|
|
80
80
|
var _this;
|
|
81
81
|
_this = _super.call(this, props);
|
|
82
|
-
var
|
|
83
|
-
_this.escapeHTML = (
|
|
84
|
-
var
|
|
85
|
-
_this.caption = (
|
|
86
|
-
var
|
|
87
|
-
_this.lineEllipsis = (
|
|
82
|
+
var _props_escapeHTML;
|
|
83
|
+
_this.escapeHTML = (_props_escapeHTML = props === null || props === void 0 ? void 0 : props.escapeHTML) !== null && _props_escapeHTML !== void 0 ? _props_escapeHTML : true;
|
|
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 : DesignerTextColumnControl.controlName;
|
|
86
|
+
var _props_lineEllipsis;
|
|
87
|
+
_this.lineEllipsis = (_props_lineEllipsis = props === null || props === void 0 ? void 0 : props.lineEllipsis) !== null && _props_lineEllipsis !== void 0 ? _props_lineEllipsis : 1;
|
|
88
88
|
return _this;
|
|
89
89
|
}
|
|
90
90
|
return TextColumnControlProperty;
|
|
@@ -80,10 +80,10 @@ var TimescopeColumnControlProperty = /*#__PURE__*/ function(ColumnControlPropert
|
|
|
80
80
|
_classCallCheck(this, TimescopeColumnControlProperty);
|
|
81
81
|
var _this;
|
|
82
82
|
_this = _super.call(this, props);
|
|
83
|
-
var
|
|
84
|
-
_this.dateType = (
|
|
85
|
-
var
|
|
86
|
-
_this.caption = (
|
|
83
|
+
var _props_dateType;
|
|
84
|
+
_this.dateType = (_props_dateType = props === null || props === void 0 ? void 0 : props.dateType) !== null && _props_dateType !== void 0 ? _props_dateType : DateType.DATE;
|
|
85
|
+
var _props_caption;
|
|
86
|
+
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerTimescopeColumnControl.controlName;
|
|
87
87
|
return _this;
|
|
88
88
|
}
|
|
89
89
|
return TimescopeColumnControlProperty;
|