@byteluck-fe/model-driven-controls 7.0.0-props.7 → 7.0.0-props.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/baseControls/BatchDeleteButton/property.js +10 -18
- package/dist/esm/baseControls/BatchPrintListButton/property.js +6 -9
- package/dist/esm/baseControls/BatchPrintRecordListButton/property.js +3 -4
- package/dist/esm/baseControls/BatchSubmissionListButton/property.js +7 -12
- package/dist/esm/baseControls/Button/property.js +10 -18
- package/dist/esm/baseControls/Comment/property.js +2 -2
- package/dist/esm/baseControls/CreateFormListButton/property.js +5 -8
- package/dist/esm/baseControls/Dashboard/property.js +9 -16
- package/dist/esm/baseControls/Divider/designer.js +33 -1
- package/dist/esm/baseControls/Divider/property.js +12 -7
- package/dist/esm/baseControls/ExportListButton/property.js +6 -9
- package/dist/esm/baseControls/ExportRecordListButton/property.js +3 -4
- package/dist/esm/baseControls/FormSelectButton/property.js +4 -6
- package/dist/esm/baseControls/ImportRecordListButton/property.js +6 -9
- package/dist/esm/baseControls/InvoiceCheckButton/property.js +11 -19
- package/dist/esm/baseControls/Link/designer.js +33 -0
- package/dist/esm/baseControls/Link/property.js +9 -7
- package/dist/esm/baseControls/ListSelectButton/property.js +6 -10
- package/dist/esm/baseControls/ListViewSelect/property.js +4 -5
- package/dist/esm/baseControls/OperationButton/property.js +7 -12
- package/dist/esm/baseControls/ReferenceList/property.js +7 -12
- package/dist/esm/baseControls/SubmissionRecordListButton/property.js +3 -4
- package/dist/esm/baseControls/Text/designer.js +8 -0
- package/dist/esm/baseControls/Text/property.js +18 -13
- package/dist/esm/baseControls/TextOcrButton/property.js +11 -19
- package/dist/esm/baseControls/Title/property.js +4 -6
- package/dist/esm/columnControls/ApprovalStatusColumn/property.js +4 -6
- package/dist/esm/columnControls/ArrayColumn/property.js +5 -8
- package/dist/esm/columnControls/AutoNumberColumn/property.js +3 -4
- package/dist/esm/columnControls/CustomColumn/property.js +4 -6
- package/dist/esm/columnControls/DecimalColumn/property.js +8 -14
- package/dist/esm/columnControls/DepartmentColumn/property.js +3 -4
- package/dist/esm/columnControls/EmployeeColumn/property.js +3 -4
- package/dist/esm/columnControls/FileColumn/property.js +3 -4
- package/dist/esm/columnControls/GroupColumn/designer.js +2 -1
- package/dist/esm/columnControls/GroupColumn/property.js +2 -2
- package/dist/esm/columnControls/ImageColumn/property.js +2 -2
- package/dist/esm/columnControls/LocationColumn/property.js +3 -4
- package/dist/esm/columnControls/OperationColumn/designer.js +12 -4
- package/dist/esm/columnControls/OperationColumn/property.js +6 -10
- package/dist/esm/columnControls/OrderColumn/property.js +7 -12
- package/dist/esm/columnControls/PeopleColumn/property.js +2 -2
- package/dist/esm/columnControls/TextColumn/property.js +5 -8
- package/dist/esm/columnControls/TimescopeColumn/property.js +5 -8
- package/dist/esm/columnControls/TimestampColumn/property.js +5 -8
- package/dist/esm/columnControls/VarcharColumn/property.js +7 -12
- package/dist/esm/formControls/Address/property.js +6 -10
- package/dist/esm/formControls/Amount/property.js +13 -24
- package/dist/esm/formControls/Attachment/property.js +26 -42
- package/dist/esm/formControls/AutoNumber/property.js +4 -6
- package/dist/esm/formControls/Calc/property.js +10 -18
- package/dist/esm/formControls/Cascader/property.js +17 -31
- package/dist/esm/formControls/Checkbox/property.js +18 -33
- package/dist/esm/formControls/DatePicker/designer.js +4 -0
- package/dist/esm/formControls/DatePicker/property.js +19 -25
- package/dist/esm/formControls/DateRange/property.js +13 -23
- package/dist/esm/formControls/Department/property.js +12 -22
- package/dist/esm/formControls/Department2/designer.js +8 -0
- package/dist/esm/formControls/Department2/property.js +29 -34
- package/dist/esm/formControls/ElectronicSignature/property.js +7 -12
- package/dist/esm/formControls/Employee/property.js +10 -18
- package/dist/esm/formControls/Employee2/designer.js +4 -0
- package/dist/esm/formControls/Employee2/property.js +19 -33
- package/dist/esm/formControls/Image/designer.js +8 -8
- package/dist/esm/formControls/Image/property.js +8 -14
- package/dist/esm/formControls/Input/property.js +11 -20
- package/dist/esm/formControls/Number/property.js +17 -32
- package/dist/esm/formControls/OrganizationSelection/property.js +19 -36
- package/dist/esm/formControls/Radio/property.js +15 -28
- package/dist/esm/formControls/RichText/designer.js +8 -0
- package/dist/esm/formControls/RichText/property.js +51 -21
- package/dist/esm/formControls/Score/property.js +11 -19
- package/dist/esm/formControls/SearchDateRange/property.js +14 -25
- package/dist/esm/formControls/SearchNumberRange/property.js +7 -12
- package/dist/esm/formControls/Select/property.js +14 -26
- package/dist/esm/formControls/SelectMultiple/property.js +13 -24
- package/dist/esm/formControls/SelectRelation/property.js +14 -26
- package/dist/esm/formControls/Textarea/property.js +11 -20
- package/dist/esm/formControls/TimePicker/property.js +8 -13
- package/dist/esm/formControls/TimeRange/property.js +10 -17
- package/dist/esm/formControls/Tree/designer.js +2 -1
- package/dist/esm/formControls/Tree/property.js +44 -38
- package/dist/esm/formControls/VueFormItem/property.js +6 -10
- package/dist/esm/formControls/VuePage/property.js +6 -10
- package/dist/esm/formControls/WPS/designer.js +9 -9
- package/dist/esm/formControls/WPS/property.js +13 -24
- package/dist/esm/framework.js +81 -121
- 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 +11 -20
- package/dist/esm/layoutControls/Col/property.js +4 -6
- package/dist/esm/layoutControls/Collapse/designer.js +2 -2
- package/dist/esm/layoutControls/Collapse/property.js +4 -6
- package/dist/esm/layoutControls/CollapsePane/property.js +2 -2
- package/dist/esm/layoutControls/DataView/property.js +12 -13
- package/dist/esm/layoutControls/GridLayoutContainer/property.js +3 -4
- package/dist/esm/layoutControls/GridTableColumn/property.js +11 -20
- package/dist/esm/layoutControls/ListView/property.js +15 -28
- package/dist/esm/layoutControls/Page/property.js +2 -2
- package/dist/esm/layoutControls/Position/property.js +5 -8
- package/dist/esm/layoutControls/Row/property.js +6 -10
- package/dist/esm/layoutControls/Step/designer.js +2 -2
- package/dist/esm/layoutControls/Step/property.js +12 -22
- package/dist/esm/layoutControls/StepPane/property.js +9 -16
- package/dist/esm/layoutControls/SubTableColumn/property.js +6 -10
- package/dist/esm/layoutControls/Tab/designer.js +2 -2
- package/dist/esm/layoutControls/Tab/property.js +6 -10
- package/dist/esm/layoutControls/TabPane/property.js +2 -2
- package/dist/esm/layoutControls/TableLayout/designer.js +6 -1
- package/dist/esm/layoutControls/TableLayout/property.js +18 -29
- package/dist/esm/layoutControls/TableLayoutCol/property.js +11 -20
- package/dist/esm/layoutControls/TableLayoutRow/property.js +3 -4
- package/dist/esm/layoutControls/TableLayoutWrapper/property.js +4 -6
- package/dist/esm/listControls/GridTable/designer.js +12 -4
- package/dist/esm/listControls/GridTable/property.js +15 -19
- package/dist/esm/listControls/SubTable/property.js +36 -70
- package/dist/esm/searchControls/SimpleSearch/property.js +13 -24
- package/dist/esm/searchControls/SimpleSearch/runtime.js +2 -2
- package/dist/esm/wrapControls/GridLayoutWrap/designer.js +8 -8
- package/dist/esm/wrapControls/GridLayoutWrap/property.js +2 -2
- package/dist/esm/wrapControls/GridLayoutWrap/runtime.js +8 -8
- package/dist/index.umd.js +1 -1
- package/dist/types/baseControls/Divider/property.d.ts +28 -1
- package/dist/types/baseControls/Link/property.d.ts +8 -0
- package/dist/types/baseControls/Text/property.d.ts +29 -0
- package/dist/types/columnControls/GroupColumn/designer.d.ts +1 -1
- package/dist/types/formControls/DatePicker/property.d.ts +4 -0
- package/dist/types/formControls/Department2/property.d.ts +14 -1
- package/dist/types/formControls/Employee2/property.d.ts +2 -0
- package/dist/types/formControls/RichText/property.d.ts +4 -0
- package/dist/types/formControls/Tree/property.d.ts +31 -0
- package/dist/types/framework.d.ts +6 -0
- package/dist/types/layoutControls/DataView/property.d.ts +5 -0
- package/dist/types/layoutControls/TableLayout/property.d.ts +2 -0
- package/dist/types/layoutControls/TableLayoutCol/property.d.ts +5 -5
- package/package.json +5 -5
package/dist/esm/framework.js
CHANGED
|
@@ -71,15 +71,13 @@ export var TitleConfigEnum = /*#__PURE__*/ function(TitleConfigEnum) {
|
|
|
71
71
|
export var LimitTime = function LimitTime(props) {
|
|
72
72
|
"use strict";
|
|
73
73
|
_class_call_check(this, LimitTime);
|
|
74
|
+
var _ref, _ref1, _ref2;
|
|
74
75
|
_define_property(this, "limitType", void 0); // 限制类型
|
|
75
76
|
_define_property(this, "id", void 0);
|
|
76
77
|
_define_property(this, "value", void 0); // 存储值
|
|
77
|
-
|
|
78
|
-
this.
|
|
79
|
-
|
|
80
|
-
this.limitType = (_props_limitType = props === null || props === void 0 ? void 0 : props.limitType) !== null && _props_limitType !== void 0 ? _props_limitType : 'hour';
|
|
81
|
-
var _props_value;
|
|
82
|
-
this.value = (_props_value = props === null || props === void 0 ? void 0 : props.value) !== null && _props_value !== void 0 ? _props_value : [];
|
|
78
|
+
this.id = (_ref = props === null || props === void 0 ? void 0 : props.id) !== null && _ref !== void 0 ? _ref : genNonDuplicateId(8);
|
|
79
|
+
this.limitType = (_ref1 = props === null || props === void 0 ? void 0 : props.limitType) !== null && _ref1 !== void 0 ? _ref1 : 'hour';
|
|
80
|
+
this.value = (_ref2 = props === null || props === void 0 ? void 0 : props.value) !== null && _ref2 !== void 0 ? _ref2 : [];
|
|
83
81
|
};
|
|
84
82
|
export var SCORE_TYPE = /*#__PURE__*/ function(SCORE_TYPE) {
|
|
85
83
|
SCORE_TYPE["PRAISE"] = "praise";
|
|
@@ -93,15 +91,13 @@ export var SCORE_TYPE = /*#__PURE__*/ function(SCORE_TYPE) {
|
|
|
93
91
|
export var Explain = function Explain(props) {
|
|
94
92
|
"use strict";
|
|
95
93
|
_class_call_check(this, Explain);
|
|
94
|
+
var _ref, _ref1, _ref2;
|
|
96
95
|
_define_property(this, "id", void 0);
|
|
97
96
|
_define_property(this, "text", void 0);
|
|
98
97
|
_define_property(this, "color", void 0);
|
|
99
|
-
|
|
100
|
-
this.
|
|
101
|
-
|
|
102
|
-
this.text = (_props_text = props === null || props === void 0 ? void 0 : props.text) !== null && _props_text !== void 0 ? _props_text : '';
|
|
103
|
-
var _props_color;
|
|
104
|
-
this.color = (_props_color = props === null || props === void 0 ? void 0 : props.color) !== null && _props_color !== void 0 ? _props_color : '';
|
|
98
|
+
this.id = (_ref = props === null || props === void 0 ? void 0 : props.id) !== null && _ref !== void 0 ? _ref : genNonDuplicateId();
|
|
99
|
+
this.text = (_ref1 = props === null || props === void 0 ? void 0 : props.text) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
100
|
+
this.color = (_ref2 = props === null || props === void 0 ? void 0 : props.color) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
105
101
|
};
|
|
106
102
|
export var LINE_STYLE = /*#__PURE__*/ function(LINE_STYLE) {
|
|
107
103
|
LINE_STYLE["SOLID"] = "solid-line";
|
|
@@ -112,9 +108,17 @@ export var LINE_STYLE = /*#__PURE__*/ function(LINE_STYLE) {
|
|
|
112
108
|
LINE_STYLE["DOUBLE_DASHED"] = "double-dashed-line";
|
|
113
109
|
return LINE_STYLE;
|
|
114
110
|
}({});
|
|
111
|
+
export var FONT_WEIGHT = /*#__PURE__*/ function(FONT_WEIGHT) {
|
|
112
|
+
FONT_WEIGHT["NORMAL"] = "normal";
|
|
113
|
+
FONT_WEIGHT["BOLD"] = "bold";
|
|
114
|
+
FONT_WEIGHT["LIGHTER"] = "lighter";
|
|
115
|
+
FONT_WEIGHT["BOLDER"] = "bolder";
|
|
116
|
+
return FONT_WEIGHT;
|
|
117
|
+
}({});
|
|
115
118
|
export var UndersignedPerson = function UndersignedPerson(props) {
|
|
116
119
|
"use strict";
|
|
117
120
|
_class_call_check(this, UndersignedPerson);
|
|
121
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12, _ref13, _ref14, _ref15, _ref16, _ref17;
|
|
118
122
|
/**
|
|
119
123
|
* 签署人类型
|
|
120
124
|
* */ _define_property(this, "type", void 0);
|
|
@@ -166,51 +170,37 @@ export var UndersignedPerson = function UndersignedPerson(props) {
|
|
|
166
170
|
/**
|
|
167
171
|
* 备注
|
|
168
172
|
* */ _define_property(this, "remark", void 0);
|
|
169
|
-
|
|
170
|
-
this.
|
|
171
|
-
var _props_person;
|
|
172
|
-
this.person = new RightVariable((_props_person = props === null || props === void 0 ? void 0 : props.person) !== null && _props_person !== void 0 ? _props_person : {
|
|
173
|
+
this.type = (_ref = props === null || props === void 0 ? void 0 : props.type) !== null && _ref !== void 0 ? _ref : 'private';
|
|
174
|
+
this.person = new RightVariable((_ref1 = props === null || props === void 0 ? void 0 : props.person) !== null && _ref1 !== void 0 ? _ref1 : {
|
|
173
175
|
type: 'form'
|
|
174
176
|
});
|
|
175
|
-
|
|
176
|
-
this.
|
|
177
|
-
var _props_telephone, _props_telephone1;
|
|
178
|
-
this.telephone = (_props_telephone1 = props === null || props === void 0 ? void 0 : props.telephone) !== null && _props_telephone1 !== void 0 ? _props_telephone1 : new RightVariable((_props_telephone = props === null || props === void 0 ? void 0 : props.telephone) !== null && _props_telephone !== void 0 ? _props_telephone : {
|
|
177
|
+
this.signatureType = (_ref2 = props === null || props === void 0 ? void 0 : props.signatureType) !== null && _ref2 !== void 0 ? _ref2 : [];
|
|
178
|
+
this.telephone = (_ref3 = props === null || props === void 0 ? void 0 : props.telephone) !== null && _ref3 !== void 0 ? _ref3 : new RightVariable((_ref4 = props === null || props === void 0 ? void 0 : props.telephone) !== null && _ref4 !== void 0 ? _ref4 : {
|
|
179
179
|
type: 'form'
|
|
180
180
|
});
|
|
181
|
-
|
|
182
|
-
this.company = (_props_company1 = props === null || props === void 0 ? void 0 : props.company) !== null && _props_company1 !== void 0 ? _props_company1 : new RightVariable((_props_company = props === null || props === void 0 ? void 0 : props.company) !== null && _props_company !== void 0 ? _props_company : {
|
|
181
|
+
this.company = (_ref5 = props === null || props === void 0 ? void 0 : props.company) !== null && _ref5 !== void 0 ? _ref5 : new RightVariable((_ref6 = props === null || props === void 0 ? void 0 : props.company) !== null && _ref6 !== void 0 ? _ref6 : {
|
|
183
182
|
type: 'form'
|
|
184
183
|
});
|
|
185
|
-
|
|
186
|
-
this.indexSignature = (_props_indexSignature1 = props === null || props === void 0 ? void 0 : props.indexSignature) !== null && _props_indexSignature1 !== void 0 ? _props_indexSignature1 : new RightVariable((_props_indexSignature = props === null || props === void 0 ? void 0 : props.indexSignature) !== null && _props_indexSignature !== void 0 ? _props_indexSignature : {
|
|
184
|
+
this.indexSignature = (_ref7 = props === null || props === void 0 ? void 0 : props.indexSignature) !== null && _ref7 !== void 0 ? _ref7 : new RightVariable((_ref8 = props === null || props === void 0 ? void 0 : props.indexSignature) !== null && _ref8 !== void 0 ? _ref8 : {
|
|
187
185
|
type: 'form'
|
|
188
186
|
});
|
|
189
|
-
|
|
190
|
-
this.
|
|
191
|
-
var _props_seal;
|
|
192
|
-
this.seal = new RightVariable((_props_seal = props === null || props === void 0 ? void 0 : props.seal) !== null && _props_seal !== void 0 ? _props_seal : {
|
|
187
|
+
this.signaturePosition = (_ref9 = props === null || props === void 0 ? void 0 : props.signaturePosition) !== null && _ref9 !== void 0 ? _ref9 : 'free';
|
|
188
|
+
this.seal = new RightVariable((_ref10 = props === null || props === void 0 ? void 0 : props.seal) !== null && _ref10 !== void 0 ? _ref10 : {
|
|
193
189
|
type: 'form'
|
|
194
190
|
});
|
|
195
|
-
|
|
196
|
-
this.
|
|
197
|
-
|
|
198
|
-
this.
|
|
199
|
-
var _props_signDateFontSize;
|
|
200
|
-
this.signDateFontSize = (_props_signDateFontSize = props === null || props === void 0 ? void 0 : props.signDateFontSize) !== null && _props_signDateFontSize !== void 0 ? _props_signDateFontSize : 12;
|
|
201
|
-
var _props_signOrder;
|
|
202
|
-
this.signOrder = (_props_signOrder = props === null || props === void 0 ? void 0 : props.signOrder) !== null && _props_signOrder !== void 0 ? _props_signOrder : 1;
|
|
191
|
+
this.platformAutoSign = (_ref11 = props === null || props === void 0 ? void 0 : props.platformAutoSign) !== null && _ref11 !== void 0 ? _ref11 : false;
|
|
192
|
+
this.signDateBeanType = (_ref12 = props === null || props === void 0 ? void 0 : props.signDateBeanType) !== null && _ref12 !== void 0 ? _ref12 : 0;
|
|
193
|
+
this.signDateFontSize = (_ref13 = props === null || props === void 0 ? void 0 : props.signDateFontSize) !== null && _ref13 !== void 0 ? _ref13 : 12;
|
|
194
|
+
this.signOrder = (_ref14 = props === null || props === void 0 ? void 0 : props.signOrder) !== null && _ref14 !== void 0 ? _ref14 : 1;
|
|
203
195
|
this.forceReadTime = props === null || props === void 0 ? void 0 : props.forceReadTime;
|
|
204
|
-
|
|
205
|
-
this.
|
|
206
|
-
|
|
207
|
-
this.posY = (_props_posY = props === null || props === void 0 ? void 0 : props.posY) !== null && _props_posY !== void 0 ? _props_posY : 0;
|
|
208
|
-
var _props_remark;
|
|
209
|
-
this.remark = (_props_remark = props === null || props === void 0 ? void 0 : props.remark) !== null && _props_remark !== void 0 ? _props_remark : '';
|
|
196
|
+
this.posX = (_ref15 = props === null || props === void 0 ? void 0 : props.posX) !== null && _ref15 !== void 0 ? _ref15 : 0;
|
|
197
|
+
this.posY = (_ref16 = props === null || props === void 0 ? void 0 : props.posY) !== null && _ref16 !== void 0 ? _ref16 : 0;
|
|
198
|
+
this.remark = (_ref17 = props === null || props === void 0 ? void 0 : props.remark) !== null && _ref17 !== void 0 ? _ref17 : '';
|
|
210
199
|
};
|
|
211
200
|
export var ElectronicSignatureConfig = function ElectronicSignatureConfig(props) {
|
|
212
201
|
"use strict";
|
|
213
202
|
_class_call_check(this, ElectronicSignatureConfig);
|
|
203
|
+
var _ref, _ref1, _ref2, _ref3, _ref4;
|
|
214
204
|
var _props_undersignedList;
|
|
215
205
|
/**
|
|
216
206
|
* 签署文件
|
|
@@ -227,24 +217,20 @@ export var ElectronicSignatureConfig = function ElectronicSignatureConfig(props)
|
|
|
227
217
|
/**
|
|
228
218
|
* 签署完成时间
|
|
229
219
|
* */ _define_property(this, "completeTimeControl", void 0);
|
|
230
|
-
|
|
231
|
-
this.
|
|
232
|
-
var _props_undersignedList_map;
|
|
233
|
-
this.undersignedList = (_props_undersignedList_map = props === null || props === void 0 ? void 0 : (_props_undersignedList = props.undersignedList) === null || _props_undersignedList === void 0 ? void 0 : _props_undersignedList.map(function(item) {
|
|
220
|
+
this.fileControl = (_ref = props === null || props === void 0 ? void 0 : props.fileControl) !== null && _ref !== void 0 ? _ref : '';
|
|
221
|
+
this.undersignedList = (_ref1 = props === null || props === void 0 ? void 0 : (_props_undersignedList = props.undersignedList) === null || _props_undersignedList === void 0 ? void 0 : _props_undersignedList.map(function(item) {
|
|
234
222
|
return new UndersignedPerson(item);
|
|
235
|
-
})) !== null &&
|
|
223
|
+
})) !== null && _ref1 !== void 0 ? _ref1 : [
|
|
236
224
|
new UndersignedPerson()
|
|
237
225
|
];
|
|
238
|
-
|
|
239
|
-
this.
|
|
240
|
-
|
|
241
|
-
this.completeControl = (_props_completeControl = props === null || props === void 0 ? void 0 : props.completeControl) !== null && _props_completeControl !== void 0 ? _props_completeControl : '';
|
|
242
|
-
var _props_completeTimeControl;
|
|
243
|
-
this.completeTimeControl = (_props_completeTimeControl = props === null || props === void 0 ? void 0 : props.completeTimeControl) !== null && _props_completeTimeControl !== void 0 ? _props_completeTimeControl : '';
|
|
226
|
+
this.statusControl = (_ref2 = props === null || props === void 0 ? void 0 : props.statusControl) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
227
|
+
this.completeControl = (_ref3 = props === null || props === void 0 ? void 0 : props.completeControl) !== null && _ref3 !== void 0 ? _ref3 : '';
|
|
228
|
+
this.completeTimeControl = (_ref4 = props === null || props === void 0 ? void 0 : props.completeTimeControl) !== null && _ref4 !== void 0 ? _ref4 : '';
|
|
244
229
|
};
|
|
245
230
|
export var ExportTemplate = function ExportTemplate(props) {
|
|
246
231
|
"use strict";
|
|
247
232
|
_class_call_check(this, ExportTemplate);
|
|
233
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6;
|
|
248
234
|
_define_property(this, "id", void 0);
|
|
249
235
|
_define_property(this, "appId", void 0);
|
|
250
236
|
_define_property(this, "dataCode", void 0);
|
|
@@ -252,58 +238,48 @@ export var ExportTemplate = function ExportTemplate(props) {
|
|
|
252
238
|
_define_property(this, "name", void 0);
|
|
253
239
|
_define_property(this, "fieldList", void 0);
|
|
254
240
|
_define_property(this, "active", void 0);
|
|
255
|
-
|
|
256
|
-
this.
|
|
257
|
-
|
|
258
|
-
this.
|
|
259
|
-
|
|
260
|
-
this.
|
|
261
|
-
|
|
262
|
-
this.svcCode = (_props_svcCode = props === null || props === void 0 ? void 0 : props.svcCode) !== null && _props_svcCode !== void 0 ? _props_svcCode : '';
|
|
263
|
-
var _props_name;
|
|
264
|
-
this.name = (_props_name = props === null || props === void 0 ? void 0 : props.name) !== null && _props_name !== void 0 ? _props_name : '';
|
|
265
|
-
var _props_fieldList;
|
|
266
|
-
this.fieldList = (_props_fieldList = props === null || props === void 0 ? void 0 : props.fieldList) !== null && _props_fieldList !== void 0 ? _props_fieldList : [];
|
|
267
|
-
var _props_active;
|
|
268
|
-
this.active = (_props_active = props === null || props === void 0 ? void 0 : props.active) !== null && _props_active !== void 0 ? _props_active : false;
|
|
241
|
+
this.id = (_ref = props === null || props === void 0 ? void 0 : props.id) !== null && _ref !== void 0 ? _ref : genNonDuplicateId(8);
|
|
242
|
+
this.appId = (_ref1 = props === null || props === void 0 ? void 0 : props.appId) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
243
|
+
this.dataCode = (_ref2 = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
244
|
+
this.svcCode = (_ref3 = props === null || props === void 0 ? void 0 : props.svcCode) !== null && _ref3 !== void 0 ? _ref3 : '';
|
|
245
|
+
this.name = (_ref4 = props === null || props === void 0 ? void 0 : props.name) !== null && _ref4 !== void 0 ? _ref4 : '';
|
|
246
|
+
this.fieldList = (_ref5 = props === null || props === void 0 ? void 0 : props.fieldList) !== null && _ref5 !== void 0 ? _ref5 : [];
|
|
247
|
+
this.active = (_ref6 = props === null || props === void 0 ? void 0 : props.active) !== null && _ref6 !== void 0 ? _ref6 : false;
|
|
269
248
|
};
|
|
270
249
|
export var WpsOperationItem = function WpsOperationItem(props) {
|
|
271
250
|
"use strict";
|
|
272
251
|
_class_call_check(this, WpsOperationItem);
|
|
252
|
+
var _ref, _ref1;
|
|
273
253
|
_define_property(this, "active", void 0);
|
|
274
254
|
_define_property(this, "text", void 0);
|
|
275
|
-
|
|
276
|
-
this.
|
|
277
|
-
var _props_text;
|
|
278
|
-
this.text = (_props_text = props === null || props === void 0 ? void 0 : props.text) !== null && _props_text !== void 0 ? _props_text : '';
|
|
255
|
+
this.active = (_ref = props === null || props === void 0 ? void 0 : props.active) !== null && _ref !== void 0 ? _ref : false;
|
|
256
|
+
this.text = (_ref1 = props === null || props === void 0 ? void 0 : props.text) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
279
257
|
};
|
|
280
258
|
export var WPSSetting = function WPSSetting(props) {
|
|
281
259
|
"use strict";
|
|
282
260
|
_class_call_check(this, WPSSetting);
|
|
261
|
+
var _ref, _ref1, _ref2, _ref3;
|
|
283
262
|
_define_property(this, "types", void 0);
|
|
284
263
|
_define_property(this, "history", void 0);
|
|
285
264
|
_define_property(this, "collaborativeRecord", void 0);
|
|
286
265
|
_define_property(this, "logicToDelete", void 0);
|
|
287
266
|
_define_property(this, "watermark", void 0);
|
|
288
267
|
_define_property(this, "autoRename", void 0);
|
|
289
|
-
|
|
290
|
-
this.types = (_props_types = props === null || props === void 0 ? void 0 : props.types) !== null && _props_types !== void 0 ? _props_types : [
|
|
268
|
+
this.types = (_ref = props === null || props === void 0 ? void 0 : props.types) !== null && _ref !== void 0 ? _ref : [
|
|
291
269
|
'word',
|
|
292
270
|
'ppt',
|
|
293
271
|
'excel'
|
|
294
272
|
];
|
|
295
|
-
|
|
296
|
-
this.
|
|
297
|
-
|
|
298
|
-
this.collaborativeRecord = (_props_collaborativeRecord = props === null || props === void 0 ? void 0 : props.collaborativeRecord) !== null && _props_collaborativeRecord !== void 0 ? _props_collaborativeRecord : false;
|
|
299
|
-
var _props_logicToDelete;
|
|
300
|
-
this.logicToDelete = (_props_logicToDelete = props === null || props === void 0 ? void 0 : props.logicToDelete) !== null && _props_logicToDelete !== void 0 ? _props_logicToDelete : true;
|
|
273
|
+
this.history = (_ref1 = props === null || props === void 0 ? void 0 : props.history) !== null && _ref1 !== void 0 ? _ref1 : false;
|
|
274
|
+
this.collaborativeRecord = (_ref2 = props === null || props === void 0 ? void 0 : props.collaborativeRecord) !== null && _ref2 !== void 0 ? _ref2 : false;
|
|
275
|
+
this.logicToDelete = (_ref3 = props === null || props === void 0 ? void 0 : props.logicToDelete) !== null && _ref3 !== void 0 ? _ref3 : true;
|
|
301
276
|
this.watermark = new WpsOperationItem(props === null || props === void 0 ? void 0 : props.watermark);
|
|
302
277
|
this.autoRename = new WpsOperationItem(props === null || props === void 0 ? void 0 : props.autoRename);
|
|
303
278
|
};
|
|
304
279
|
export var ActionSetting = function ActionSetting(props) {
|
|
305
280
|
"use strict";
|
|
306
281
|
_class_call_check(this, ActionSetting);
|
|
282
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6;
|
|
307
283
|
_define_property(this, "appId", void 0);
|
|
308
284
|
_define_property(this, "dataCode", void 0);
|
|
309
285
|
_define_property(this, "formKey", void 0);
|
|
@@ -311,31 +287,23 @@ export var ActionSetting = function ActionSetting(props) {
|
|
|
311
287
|
_define_property(this, "filters", void 0);
|
|
312
288
|
_define_property(this, "isRelation", void 0);
|
|
313
289
|
_define_property(this, "relationBindCode", void 0);
|
|
314
|
-
|
|
315
|
-
this.
|
|
316
|
-
|
|
317
|
-
this.
|
|
318
|
-
|
|
319
|
-
this.
|
|
320
|
-
|
|
321
|
-
this.orders = (_props_orders = props === null || props === void 0 ? void 0 : props.orders) !== null && _props_orders !== void 0 ? _props_orders : [];
|
|
322
|
-
var _props_filters;
|
|
323
|
-
this.filters = (_props_filters = props === null || props === void 0 ? void 0 : props.filters) !== null && _props_filters !== void 0 ? _props_filters : [];
|
|
324
|
-
var _props_isRelation;
|
|
325
|
-
this.isRelation = (_props_isRelation = props === null || props === void 0 ? void 0 : props.isRelation) !== null && _props_isRelation !== void 0 ? _props_isRelation : false;
|
|
326
|
-
var _props_relationBindCode;
|
|
327
|
-
this.relationBindCode = (_props_relationBindCode = props === null || props === void 0 ? void 0 : props.relationBindCode) !== null && _props_relationBindCode !== void 0 ? _props_relationBindCode : '';
|
|
290
|
+
this.appId = (_ref = props === null || props === void 0 ? void 0 : props.appId) !== null && _ref !== void 0 ? _ref : '';
|
|
291
|
+
this.dataCode = (_ref1 = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
292
|
+
this.formKey = (_ref2 = props === null || props === void 0 ? void 0 : props.formKey) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
293
|
+
this.orders = (_ref3 = props === null || props === void 0 ? void 0 : props.orders) !== null && _ref3 !== void 0 ? _ref3 : [];
|
|
294
|
+
this.filters = (_ref4 = props === null || props === void 0 ? void 0 : props.filters) !== null && _ref4 !== void 0 ? _ref4 : [];
|
|
295
|
+
this.isRelation = (_ref5 = props === null || props === void 0 ? void 0 : props.isRelation) !== null && _ref5 !== void 0 ? _ref5 : false;
|
|
296
|
+
this.relationBindCode = (_ref6 = props === null || props === void 0 ? void 0 : props.relationBindCode) !== null && _ref6 !== void 0 ? _ref6 : '';
|
|
328
297
|
};
|
|
329
298
|
export var ListHeightSetting = function ListHeightSetting(props) {
|
|
330
299
|
"use strict";
|
|
331
300
|
_class_call_check(this, ListHeightSetting);
|
|
301
|
+
var _ref, _ref1;
|
|
332
302
|
_define_property(this, "type", void 0);
|
|
333
303
|
_define_property(this, "row", void 0);
|
|
334
304
|
_define_property(this, "height", void 0);
|
|
335
|
-
|
|
336
|
-
this.
|
|
337
|
-
var _props_row;
|
|
338
|
-
this.row = (_props_row = props === null || props === void 0 ? void 0 : props.row) !== null && _props_row !== void 0 ? _props_row : 20;
|
|
305
|
+
this.type = (_ref = props === null || props === void 0 ? void 0 : props.type) !== null && _ref !== void 0 ? _ref : 'auto';
|
|
306
|
+
this.row = (_ref1 = props === null || props === void 0 ? void 0 : props.row) !== null && _ref1 !== void 0 ? _ref1 : 20;
|
|
339
307
|
this.height = props === null || props === void 0 ? void 0 : props.height;
|
|
340
308
|
};
|
|
341
309
|
export var ImportListBind = function ImportListBind(props) {
|
|
@@ -347,28 +315,26 @@ export var ImportListBind = function ImportListBind(props) {
|
|
|
347
315
|
export var ImportConfig = function ImportConfig(props) {
|
|
348
316
|
"use strict";
|
|
349
317
|
_class_call_check(this, ImportConfig);
|
|
318
|
+
var _ref, _ref1;
|
|
350
319
|
var _props_templateList;
|
|
351
320
|
_define_property(this, "templateType", void 0);
|
|
352
321
|
_define_property(this, "templateList", void 0);
|
|
353
|
-
|
|
354
|
-
this.
|
|
355
|
-
var _props_templateList_map;
|
|
356
|
-
this.templateList = (_props_templateList_map = props === null || props === void 0 ? void 0 : (_props_templateList = props.templateList) === null || _props_templateList === void 0 ? void 0 : _props_templateList.map(function(item) {
|
|
322
|
+
this.templateType = (_ref = props === null || props === void 0 ? void 0 : props.templateType) !== null && _ref !== void 0 ? _ref : 'system';
|
|
323
|
+
this.templateList = (_ref1 = props === null || props === void 0 ? void 0 : (_props_templateList = props.templateList) === null || _props_templateList === void 0 ? void 0 : _props_templateList.map(function(item) {
|
|
357
324
|
return new ImportListBind(item);
|
|
358
|
-
})) !== null &&
|
|
325
|
+
})) !== null && _ref1 !== void 0 ? _ref1 : [];
|
|
359
326
|
};
|
|
360
327
|
export var ExportConfig = function ExportConfig(props) {
|
|
361
328
|
"use strict";
|
|
362
329
|
_class_call_check(this, ExportConfig);
|
|
330
|
+
var _ref, _ref1;
|
|
363
331
|
var _props_templateList;
|
|
364
332
|
_define_property(this, "templateType", void 0);
|
|
365
333
|
_define_property(this, "templateList", void 0);
|
|
366
|
-
|
|
367
|
-
this.
|
|
368
|
-
var _props_templateList_map;
|
|
369
|
-
this.templateList = (_props_templateList_map = props === null || props === void 0 ? void 0 : (_props_templateList = props.templateList) === null || _props_templateList === void 0 ? void 0 : _props_templateList.map(function(item) {
|
|
334
|
+
this.templateType = (_ref = props === null || props === void 0 ? void 0 : props.templateType) !== null && _ref !== void 0 ? _ref : 'system';
|
|
335
|
+
this.templateList = (_ref1 = props === null || props === void 0 ? void 0 : (_props_templateList = props.templateList) === null || _props_templateList === void 0 ? void 0 : _props_templateList.map(function(item) {
|
|
370
336
|
return new ExportTemplate(item);
|
|
371
|
-
})) !== null &&
|
|
337
|
+
})) !== null && _ref1 !== void 0 ? _ref1 : [
|
|
372
338
|
new ExportTemplate({
|
|
373
339
|
id: 'default',
|
|
374
340
|
name: getLocaleText('CMD.defaultTemplate', null, '默认模板'),
|
|
@@ -389,34 +355,28 @@ export function initExpression(expression) {
|
|
|
389
355
|
export var PrintTemplate = function PrintTemplate(props) {
|
|
390
356
|
"use strict";
|
|
391
357
|
_class_call_check(this, PrintTemplate);
|
|
358
|
+
var _ref, _ref1, _ref2, _props_isDefault, _props_rules;
|
|
392
359
|
_define_property(this, "fileId", void 0);
|
|
393
360
|
_define_property(this, "fileName", void 0);
|
|
394
361
|
_define_property(this, "ruleName", void 0); //规则名称
|
|
395
362
|
_define_property(this, "isDefault", void 0); //是否是默认模板
|
|
396
363
|
_define_property(this, "rules", void 0);
|
|
397
|
-
|
|
398
|
-
this.
|
|
399
|
-
|
|
400
|
-
this.fileName = (_props_fileName = props === null || props === void 0 ? void 0 : props.fileName) !== null && _props_fileName !== void 0 ? _props_fileName : '';
|
|
401
|
-
var _props_ruleName;
|
|
402
|
-
this.ruleName = (_props_ruleName = props === null || props === void 0 ? void 0 : props.ruleName) !== null && _props_ruleName !== void 0 ? _props_ruleName : '';
|
|
403
|
-
var _props_isDefault;
|
|
364
|
+
this.fileId = (_ref = props === null || props === void 0 ? void 0 : props.fileId) !== null && _ref !== void 0 ? _ref : '';
|
|
365
|
+
this.fileName = (_ref1 = props === null || props === void 0 ? void 0 : props.fileName) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
366
|
+
this.ruleName = (_ref2 = props === null || props === void 0 ? void 0 : props.ruleName) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
404
367
|
this.isDefault = (_props_isDefault = props.isDefault) !== null && _props_isDefault !== void 0 ? _props_isDefault : false;
|
|
405
|
-
var _props_rules;
|
|
406
368
|
this.rules = (_props_rules = props.rules) !== null && _props_rules !== void 0 ? _props_rules : [];
|
|
407
369
|
};
|
|
408
370
|
export var FlexStyleConfig = function FlexStyleConfig(props) {
|
|
409
371
|
"use strict";
|
|
410
372
|
_class_call_check(this, FlexStyleConfig);
|
|
373
|
+
var _ref, _ref1, _ref2;
|
|
411
374
|
_define_property(this, "direction", void 0);
|
|
412
375
|
_define_property(this, "justifyContent", void 0);
|
|
413
376
|
_define_property(this, "alignItems", void 0);
|
|
414
|
-
|
|
415
|
-
this.
|
|
416
|
-
|
|
417
|
-
this.justifyContent = (_props_justifyContent = props === null || props === void 0 ? void 0 : props.justifyContent) !== null && _props_justifyContent !== void 0 ? _props_justifyContent : 'flex-start';
|
|
418
|
-
var _props_alignItems;
|
|
419
|
-
this.alignItems = (_props_alignItems = props === null || props === void 0 ? void 0 : props.alignItems) !== null && _props_alignItems !== void 0 ? _props_alignItems : 'flex-start';
|
|
377
|
+
this.direction = (_ref = props === null || props === void 0 ? void 0 : props.direction) !== null && _ref !== void 0 ? _ref : 'row';
|
|
378
|
+
this.justifyContent = (_ref1 = props === null || props === void 0 ? void 0 : props.justifyContent) !== null && _ref1 !== void 0 ? _ref1 : 'flex-start';
|
|
379
|
+
this.alignItems = (_ref2 = props === null || props === void 0 ? void 0 : props.alignItems) !== null && _ref2 !== void 0 ? _ref2 : 'flex-start';
|
|
420
380
|
};
|
|
421
381
|
/**
|
|
422
382
|
* 加密类型
|
|
@@ -93,11 +93,11 @@ var ActionBarControl = /*#__PURE__*/ function(DesignerLayoutControl) {
|
|
|
93
93
|
function ActionBarControl(props) {
|
|
94
94
|
_class_call_check(this, ActionBarControl);
|
|
95
95
|
var _this;
|
|
96
|
+
var _ref;
|
|
96
97
|
_this = _call_super(this, ActionBarControl, [
|
|
97
98
|
props
|
|
98
99
|
]), _define_property(_this, "props", void 0);
|
|
99
|
-
|
|
100
|
-
_this.props = new ActionBarControlProperty((_props_props = props === null || props === void 0 ? void 0 : props.props) !== null && _props_props !== void 0 ? _props_props : {});
|
|
100
|
+
_this.props = new ActionBarControlProperty((_ref = props === null || props === void 0 ? void 0 : props.props) !== null && _ref !== void 0 ? _ref : {});
|
|
101
101
|
return _this;
|
|
102
102
|
}
|
|
103
103
|
_create_class(ActionBarControl, null, [
|
|
@@ -77,15 +77,13 @@ var ActionBarControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
|
77
77
|
function ActionBarControlProperty(props) {
|
|
78
78
|
_class_call_check(this, ActionBarControlProperty);
|
|
79
79
|
var _this;
|
|
80
|
+
var _ref, _ref1, _ref2;
|
|
80
81
|
_this = _call_super(this, ActionBarControlProperty, [
|
|
81
82
|
props
|
|
82
83
|
]), _define_property(_this, "position", void 0), _define_property(_this, "opacity", void 0), _define_property(_this, "align", void 0);
|
|
83
|
-
|
|
84
|
-
_this.
|
|
85
|
-
|
|
86
|
-
_this.opacity = (_props_opacity = props === null || props === void 0 ? void 0 : props.opacity) !== null && _props_opacity !== void 0 ? _props_opacity : true;
|
|
87
|
-
var _props_align;
|
|
88
|
-
_this.align = (_props_align = props === null || props === void 0 ? void 0 : props.align) !== null && _props_align !== void 0 ? _props_align : 'right';
|
|
84
|
+
_this.position = (_ref = props === null || props === void 0 ? void 0 : props.position) !== null && _ref !== void 0 ? _ref : 'bottom';
|
|
85
|
+
_this.opacity = (_ref1 = props === null || props === void 0 ? void 0 : props.opacity) !== null && _ref1 !== void 0 ? _ref1 : true;
|
|
86
|
+
_this.align = (_ref2 = props === null || props === void 0 ? void 0 : props.align) !== null && _ref2 !== void 0 ? _ref2 : 'right';
|
|
89
87
|
return _this;
|
|
90
88
|
}
|
|
91
89
|
return ActionBarControlProperty;
|
|
@@ -92,11 +92,11 @@ var ActionBarControl = /*#__PURE__*/ function(RuntimeLayoutControl) {
|
|
|
92
92
|
function ActionBarControl(props) {
|
|
93
93
|
_class_call_check(this, ActionBarControl);
|
|
94
94
|
var _this;
|
|
95
|
+
var _ref;
|
|
95
96
|
_this = _call_super(this, ActionBarControl, [
|
|
96
97
|
props
|
|
97
98
|
]), _define_property(_this, "props", void 0);
|
|
98
|
-
|
|
99
|
-
_this.props = new ActionBarControlProperty((_props_props = props === null || props === void 0 ? void 0 : props.props) !== null && _props_props !== void 0 ? _props_props : {});
|
|
99
|
+
_this.props = new ActionBarControlProperty((_ref = props === null || props === void 0 ? void 0 : props.props) !== null && _ref !== void 0 ? _ref : {});
|
|
100
100
|
return _this;
|
|
101
101
|
}
|
|
102
102
|
_create_class(ActionBarControl, null, [
|
|
@@ -93,29 +93,20 @@ var CardGroupControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
|
93
93
|
function CardGroupControlProperty(props) {
|
|
94
94
|
_class_call_check(this, CardGroupControlProperty);
|
|
95
95
|
var _this;
|
|
96
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9;
|
|
96
97
|
_this = _call_super(this, CardGroupControlProperty, [
|
|
97
98
|
props
|
|
98
99
|
]), _define_property(_this, "caption", void 0), _define_property(_this, "isHideCaption", void 0), _define_property(_this, "collapse", void 0), _define_property(_this, "type", void 0), _define_property(_this, "describe", void 0), _define_property(_this, "position", void 0), _define_property(_this, "captionType", void 0), _define_property(_this, "borderType", void 0), _define_property(_this, "divider", void 0), _define_property(_this, "triggerShadow", void 0);
|
|
99
|
-
|
|
100
|
-
_this.
|
|
101
|
-
|
|
102
|
-
_this.
|
|
103
|
-
|
|
104
|
-
_this.
|
|
105
|
-
|
|
106
|
-
_this.
|
|
107
|
-
|
|
108
|
-
_this.
|
|
109
|
-
var _props_captionType;
|
|
110
|
-
_this.captionType = (_props_captionType = props === null || props === void 0 ? void 0 : props.captionType) !== null && _props_captionType !== void 0 ? _props_captionType : 'default';
|
|
111
|
-
var _props_borderType;
|
|
112
|
-
_this.borderType = (_props_borderType = props === null || props === void 0 ? void 0 : props.borderType) !== null && _props_borderType !== void 0 ? _props_borderType : 'none';
|
|
113
|
-
var _props_divider;
|
|
114
|
-
_this.divider = (_props_divider = props === null || props === void 0 ? void 0 : props.divider) !== null && _props_divider !== void 0 ? _props_divider : 'solid';
|
|
115
|
-
var _props_triggerShadow;
|
|
116
|
-
_this.triggerShadow = (_props_triggerShadow = props === null || props === void 0 ? void 0 : props.triggerShadow) !== null && _props_triggerShadow !== void 0 ? _props_triggerShadow : 'never';
|
|
117
|
-
var _props_type;
|
|
118
|
-
_this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : 'default';
|
|
100
|
+
_this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : getLocaleText('CMD.cardGroup', null, '分组');
|
|
101
|
+
_this.isHideCaption = (_ref1 = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _ref1 !== void 0 ? _ref1 : false;
|
|
102
|
+
_this.collapse = (_ref2 = props === null || props === void 0 ? void 0 : props.collapse) !== null && _ref2 !== void 0 ? _ref2 : 'none';
|
|
103
|
+
_this.describe = (_ref3 = props === null || props === void 0 ? void 0 : props.describe) !== null && _ref3 !== void 0 ? _ref3 : '';
|
|
104
|
+
_this.position = (_ref4 = props === null || props === void 0 ? void 0 : props.position) !== null && _ref4 !== void 0 ? _ref4 : 'left';
|
|
105
|
+
_this.captionType = (_ref5 = props === null || props === void 0 ? void 0 : props.captionType) !== null && _ref5 !== void 0 ? _ref5 : 'default';
|
|
106
|
+
_this.borderType = (_ref6 = props === null || props === void 0 ? void 0 : props.borderType) !== null && _ref6 !== void 0 ? _ref6 : 'none';
|
|
107
|
+
_this.divider = (_ref7 = props === null || props === void 0 ? void 0 : props.divider) !== null && _ref7 !== void 0 ? _ref7 : 'solid';
|
|
108
|
+
_this.triggerShadow = (_ref8 = props === null || props === void 0 ? void 0 : props.triggerShadow) !== null && _ref8 !== void 0 ? _ref8 : 'never';
|
|
109
|
+
_this.type = (_ref9 = props === null || props === void 0 ? void 0 : props.type) !== null && _ref9 !== void 0 ? _ref9 : 'default';
|
|
119
110
|
return _this;
|
|
120
111
|
}
|
|
121
112
|
return CardGroupControlProperty;
|
|
@@ -78,15 +78,13 @@ var ColControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
|
78
78
|
function ColControlProperty(props) {
|
|
79
79
|
_class_call_check(this, ColControlProperty);
|
|
80
80
|
var _this;
|
|
81
|
+
var _ref, _ref1, _ref2;
|
|
81
82
|
_this = _call_super(this, ColControlProperty, [
|
|
82
83
|
props
|
|
83
84
|
]), _define_property(_this, "span", void 0), _define_property(_this, "offset", void 0), _define_property(_this, "isNoFull", void 0);
|
|
84
|
-
|
|
85
|
-
_this.
|
|
86
|
-
|
|
87
|
-
_this.offset = (_props_offset = props === null || props === void 0 ? void 0 : props.offset) !== null && _props_offset !== void 0 ? _props_offset : 0;
|
|
88
|
-
var _props_isNoFull;
|
|
89
|
-
_this.isNoFull = (_props_isNoFull = props === null || props === void 0 ? void 0 : props.isNoFull) !== null && _props_isNoFull !== void 0 ? _props_isNoFull : false;
|
|
85
|
+
_this.span = (_ref = props === null || props === void 0 ? void 0 : props.span) !== null && _ref !== void 0 ? _ref : BASE_SPAN;
|
|
86
|
+
_this.offset = (_ref1 = props === null || props === void 0 ? void 0 : props.offset) !== null && _ref1 !== void 0 ? _ref1 : 0;
|
|
87
|
+
_this.isNoFull = (_ref2 = props === null || props === void 0 ? void 0 : props.isNoFull) !== null && _ref2 !== void 0 ? _ref2 : false;
|
|
90
88
|
return _this;
|
|
91
89
|
}
|
|
92
90
|
return ColControlProperty;
|
|
@@ -93,12 +93,12 @@ var CollapseControl = /*#__PURE__*/ function(DesignerLayoutControl) {
|
|
|
93
93
|
function CollapseControl(props) {
|
|
94
94
|
_class_call_check(this, CollapseControl);
|
|
95
95
|
var _this;
|
|
96
|
+
var _ref;
|
|
96
97
|
_this = _call_super(this, CollapseControl, [
|
|
97
98
|
props
|
|
98
99
|
]), _define_property(_this, "props", void 0);
|
|
99
100
|
_this.props = new CollapseControlProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
100
|
-
|
|
101
|
-
_this.children = (_props_children = props === null || props === void 0 ? void 0 : props.children) !== null && _props_children !== void 0 ? _props_children : [
|
|
101
|
+
_this.children = (_ref = props === null || props === void 0 ? void 0 : props.children) !== null && _ref !== void 0 ? _ref : [
|
|
102
102
|
new DesignerCollapsePaneControl(),
|
|
103
103
|
new DesignerCollapsePaneControl()
|
|
104
104
|
];
|
|
@@ -77,16 +77,14 @@ var CollapseControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
|
77
77
|
function CollapseControlProperty(props) {
|
|
78
78
|
_class_call_check(this, CollapseControlProperty);
|
|
79
79
|
var _this;
|
|
80
|
+
var _ref, _ref1, _ref2;
|
|
80
81
|
_this = _call_super(this, CollapseControlProperty, [
|
|
81
82
|
props
|
|
82
83
|
]), _define_property(_this, "accordion", void 0), _define_property(_this, "bordered", void 0), _define_property(_this, "isShowHighlightBar", void 0), _define_property(_this, "ghost", void 0);
|
|
83
|
-
|
|
84
|
-
_this.accordion = (_props_accordion = props === null || props === void 0 ? void 0 : props.accordion) !== null && _props_accordion !== void 0 ? _props_accordion : false;
|
|
84
|
+
_this.accordion = (_ref = props === null || props === void 0 ? void 0 : props.accordion) !== null && _ref !== void 0 ? _ref : false;
|
|
85
85
|
_this.bordered = (props === null || props === void 0 ? void 0 : props.bordered) === false ? false : true;
|
|
86
|
-
|
|
87
|
-
_this.
|
|
88
|
-
var _props_ghost;
|
|
89
|
-
_this.ghost = (_props_ghost = props === null || props === void 0 ? void 0 : props.ghost) !== null && _props_ghost !== void 0 ? _props_ghost : false;
|
|
86
|
+
_this.isShowHighlightBar = (_ref1 = props === null || props === void 0 ? void 0 : props.isShowHighlightBar) !== null && _ref1 !== void 0 ? _ref1 : false;
|
|
87
|
+
_this.ghost = (_ref2 = props === null || props === void 0 ? void 0 : props.ghost) !== null && _ref2 !== void 0 ? _ref2 : false;
|
|
90
88
|
return _this;
|
|
91
89
|
}
|
|
92
90
|
return CollapseControlProperty;
|
|
@@ -77,11 +77,11 @@ var CollapsePaneControlProperty = /*#__PURE__*/ function(LayoutControlProperty)
|
|
|
77
77
|
function CollapsePaneControlProperty(props) {
|
|
78
78
|
_class_call_check(this, CollapsePaneControlProperty);
|
|
79
79
|
var _this;
|
|
80
|
+
var _ref;
|
|
80
81
|
_this = _call_super(this, CollapsePaneControlProperty, [
|
|
81
82
|
props
|
|
82
83
|
]), _define_property(_this, "header", void 0);
|
|
83
|
-
|
|
84
|
-
_this.header = (_props_header = props === null || props === void 0 ? void 0 : props.header) !== null && _props_header !== void 0 ? _props_header : '分组';
|
|
84
|
+
_this.header = (_ref = props === null || props === void 0 ? void 0 : props.header) !== null && _ref !== void 0 ? _ref : '分组';
|
|
85
85
|
return _this;
|
|
86
86
|
}
|
|
87
87
|
return CollapsePaneControlProperty;
|
|
@@ -95,6 +95,7 @@ var DataViewControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
|
95
95
|
function DataViewControlProperty(props) {
|
|
96
96
|
_class_call_check(this, DataViewControlProperty);
|
|
97
97
|
var _this;
|
|
98
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6;
|
|
98
99
|
_this = _call_super(this, DataViewControlProperty, [
|
|
99
100
|
props
|
|
100
101
|
]), _define_property(_this, "save", void 0), _define_property(_this, "cancel", void 0), _define_property(_this, "saveAs", void 0), _define_property(_this, "print", void 0), _define_property(_this, "custom", void 0), /**
|
|
@@ -104,38 +105,36 @@ var DataViewControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
|
104
105
|
*/ _define_property(_this, "isLoading", void 0), /**
|
|
105
106
|
* 绑定业务模型
|
|
106
107
|
* @public
|
|
107
|
-
*/ _define_property(_this, "datasourceBind", void 0)
|
|
108
|
-
|
|
109
|
-
|
|
108
|
+
*/ _define_property(_this, "datasourceBind", void 0), /**
|
|
109
|
+
* 流程表单只读控件展现形式;disabled:禁用模式;text:文本模式;
|
|
110
|
+
* @defaultValue disabled
|
|
111
|
+
*/ _define_property(_this, "processFormReadonlyControlMode", void 0);
|
|
112
|
+
_this.save = new OperationItem((_ref = props === null || props === void 0 ? void 0 : props.save) !== null && _ref !== void 0 ? _ref : {
|
|
110
113
|
content: getLocaleText('CMD.save', null, '保存'),
|
|
111
114
|
type: 'save',
|
|
112
115
|
isShow: false
|
|
113
116
|
});
|
|
114
|
-
|
|
115
|
-
_this.cancel = new OperationItem((_props_cancel = props === null || props === void 0 ? void 0 : props.cancel) !== null && _props_cancel !== void 0 ? _props_cancel : {
|
|
117
|
+
_this.cancel = new OperationItem((_ref1 = props === null || props === void 0 ? void 0 : props.cancel) !== null && _ref1 !== void 0 ? _ref1 : {
|
|
116
118
|
content: getLocaleText('CMD.cancel', null, '取消'),
|
|
117
119
|
type: 'cancel',
|
|
118
120
|
isShow: false
|
|
119
121
|
});
|
|
120
|
-
|
|
121
|
-
_this.saveAs = new OperationItem((_props_saveAs = props === null || props === void 0 ? void 0 : props.saveAs) !== null && _props_saveAs !== void 0 ? _props_saveAs : {
|
|
122
|
+
_this.saveAs = new OperationItem((_ref2 = props === null || props === void 0 ? void 0 : props.saveAs) !== null && _ref2 !== void 0 ? _ref2 : {
|
|
122
123
|
content: getLocaleText('CMD.draft', null, '保存草稿'),
|
|
123
124
|
type: 'saveAs',
|
|
124
125
|
isShow: false
|
|
125
126
|
});
|
|
126
|
-
|
|
127
|
-
_this.print = new OperationItem((_props_print = props === null || props === void 0 ? void 0 : props.print) !== null && _props_print !== void 0 ? _props_print : {
|
|
127
|
+
_this.print = new OperationItem((_ref3 = props === null || props === void 0 ? void 0 : props.print) !== null && _ref3 !== void 0 ? _ref3 : {
|
|
128
128
|
content: getLocaleText('CMD.print', null, '打印'),
|
|
129
129
|
type: 'print',
|
|
130
130
|
isShow: false
|
|
131
131
|
});
|
|
132
|
-
|
|
133
|
-
_this.custom = ((_props_custom = props === null || props === void 0 ? void 0 : props.custom) !== null && _props_custom !== void 0 ? _props_custom : []).map(function(item) {
|
|
132
|
+
_this.custom = ((_ref4 = props === null || props === void 0 ? void 0 : props.custom) !== null && _ref4 !== void 0 ? _ref4 : []).map(function(item) {
|
|
134
133
|
return new OperationItem(item);
|
|
135
134
|
});
|
|
136
|
-
|
|
137
|
-
_this.isLoading = (_props_isLoading = props === null || props === void 0 ? void 0 : props.isLoading) !== null && _props_isLoading !== void 0 ? _props_isLoading : false;
|
|
135
|
+
_this.isLoading = (_ref5 = props === null || props === void 0 ? void 0 : props.isLoading) !== null && _ref5 !== void 0 ? _ref5 : false;
|
|
138
136
|
_this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
|
|
137
|
+
_this.processFormReadonlyControlMode = (_ref6 = props === null || props === void 0 ? void 0 : props.processFormReadonlyControlMode) !== null && _ref6 !== void 0 ? _ref6 : 'disabled';
|
|
139
138
|
return _this;
|
|
140
139
|
}
|
|
141
140
|
return DataViewControlProperty;
|