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