@byteluck-fe/model-driven-controls 4.53.0-lx2 → 4.54.0-lx2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/baseControls/BatchDeleteButton/property.js +10 -18
- package/dist/esm/baseControls/BatchPrintListButton/property.js +6 -9
- package/dist/esm/baseControls/BatchPrintRecordListButton/property.js +3 -4
- package/dist/esm/baseControls/BatchSubmissionListButton/property.js +7 -12
- package/dist/esm/baseControls/Button/property.js +10 -18
- package/dist/esm/baseControls/CreateFormListButton/property.js +5 -8
- package/dist/esm/baseControls/Dashboard/property.js +7 -12
- package/dist/esm/baseControls/Divider/property.js +4 -5
- package/dist/esm/baseControls/ExportListButton/property.js +6 -9
- package/dist/esm/baseControls/ExportRecordListButton/property.js +3 -4
- package/dist/esm/baseControls/FormSelectButton/property.js +5 -8
- package/dist/esm/baseControls/ImportRecordListButton/designer.js +4 -0
- package/dist/esm/baseControls/ImportRecordListButton/property.js +10 -10
- package/dist/esm/baseControls/InvoiceCheckButton/property.js +11 -19
- package/dist/esm/baseControls/ListSelectButton/property.js +5 -8
- package/dist/esm/baseControls/ListViewSelect/property.js +4 -5
- package/dist/esm/baseControls/OperationButton/property.js +6 -10
- package/dist/esm/baseControls/SubmissionRecordListButton/property.js +3 -4
- package/dist/esm/baseControls/Text/property.js +7 -12
- package/dist/esm/baseControls/TextOcrButton/property.js +11 -19
- package/dist/esm/baseControls/Title/property.js +7 -12
- package/dist/esm/columnControls/ApprovalStatusColumn/property.js +4 -6
- package/dist/esm/columnControls/ArrayColumn/property.js +5 -8
- package/dist/esm/columnControls/AutoNumberColumn/property.js +3 -4
- package/dist/esm/columnControls/CustomColumn/designer.js +1 -0
- package/dist/esm/columnControls/CustomColumn/property.js +4 -6
- package/dist/esm/columnControls/DecimalColumn/property.js +8 -14
- package/dist/esm/columnControls/DepartmentColumn/property.js +3 -4
- package/dist/esm/columnControls/EmployeeColumn/property.js +3 -4
- package/dist/esm/columnControls/FileColumn/designer.js +8 -8
- package/dist/esm/columnControls/FileColumn/property.js +2 -2
- package/dist/esm/columnControls/ImageColumn/property.js +2 -2
- package/dist/esm/columnControls/LocationColumn/property.js +3 -4
- package/dist/esm/columnControls/OperationColumn/designer.js +12 -4
- package/dist/esm/columnControls/OperationColumn/property.js +6 -10
- package/dist/esm/columnControls/OrderColumn/property.js +7 -12
- package/dist/esm/columnControls/PeopleColumn/property.js +2 -2
- package/dist/esm/columnControls/TextColumn/property.js +5 -8
- package/dist/esm/columnControls/TimescopeColumn/property.js +4 -6
- package/dist/esm/columnControls/TimestampColumn/property.js +4 -6
- package/dist/esm/columnControls/VarcharColumn/property.js +7 -12
- package/dist/esm/formControls/Address/property.js +6 -10
- package/dist/esm/formControls/Amount/property.js +12 -22
- package/dist/esm/formControls/Attachment/property.js +23 -36
- package/dist/esm/formControls/AutoNumber/property.js +4 -6
- package/dist/esm/formControls/Calc/property.js +9 -16
- package/dist/esm/formControls/Checkbox/property.js +15 -27
- package/dist/esm/formControls/DatePicker/property.js +12 -21
- package/dist/esm/formControls/DateRange/property.js +12 -21
- package/dist/esm/formControls/Department/property.js +12 -22
- package/dist/esm/formControls/Department2/property.js +17 -32
- package/dist/esm/formControls/ElectronicSignature/property.js +7 -12
- package/dist/esm/formControls/Employee/property.js +10 -18
- package/dist/esm/formControls/Employee2/property.js +15 -28
- package/dist/esm/formControls/Image/designer.js +11 -12
- package/dist/esm/formControls/Image/property.js +10 -10
- package/dist/esm/formControls/Image/runtime.js +4 -6
- package/dist/esm/formControls/Input/property.js +8 -14
- package/dist/esm/formControls/Link/property.js +4 -6
- package/dist/esm/formControls/Number/property.js +14 -26
- package/dist/esm/formControls/OrganizationSelection/property.js +19 -36
- package/dist/esm/formControls/Radio/property.js +12 -22
- package/dist/esm/formControls/RichText/property.js +6 -10
- package/dist/esm/formControls/Score/property.js +8 -13
- package/dist/esm/formControls/SearchDateRange/property.js +13 -23
- package/dist/esm/formControls/SearchNumberRange/property.js +7 -12
- package/dist/esm/formControls/Select/property.js +11 -20
- package/dist/esm/formControls/SelectMultiple/property.js +10 -18
- package/dist/esm/formControls/SelectRelation/property.js +10 -18
- package/dist/esm/formControls/SensitivenInformation/property.js +8 -14
- package/dist/esm/formControls/Textarea/property.js +8 -14
- package/dist/esm/formControls/Tree/property.js +20 -37
- package/dist/esm/formControls/VueFormItem/property.js +6 -10
- package/dist/esm/formControls/WPS/designer.js +9 -9
- package/dist/esm/formControls/WPS/property.js +13 -24
- package/dist/esm/framework.js +41 -67
- package/dist/esm/layoutControls/ActionBar/designer.js +2 -2
- package/dist/esm/layoutControls/ActionBar/property.js +4 -6
- package/dist/esm/layoutControls/ActionBar/runtime.js +2 -2
- package/dist/esm/layoutControls/CardGroup/property.js +3 -4
- package/dist/esm/layoutControls/Col/property.js +3 -4
- package/dist/esm/layoutControls/DataView/property.js +7 -12
- package/dist/esm/layoutControls/GridLayoutContainer/property.js +3 -4
- package/dist/esm/layoutControls/GridTableColumn/property.js +11 -20
- package/dist/esm/layoutControls/ListView/property.js +19 -34
- package/dist/esm/layoutControls/Page/property.js +2 -2
- package/dist/esm/layoutControls/Position/property.js +5 -8
- package/dist/esm/layoutControls/Row/property.js +3 -4
- package/dist/esm/layoutControls/SubTableColumn/property.js +6 -10
- package/dist/esm/layoutControls/Tab/designer.js +2 -2
- package/dist/esm/layoutControls/Tab/property.js +2 -2
- package/dist/esm/layoutControls/TabPane/property.js +2 -2
- package/dist/esm/listControls/GridTable/designer.js +12 -4
- package/dist/esm/listControls/GridTable/property.js +15 -19
- package/dist/esm/listControls/SubTable/designer.js +2 -1
- package/dist/esm/listControls/SubTable/property.js +33 -64
- package/dist/esm/searchControls/SimpleSearch/property.js +11 -20
- package/dist/esm/searchControls/SimpleSearch/runtime.js +2 -2
- package/dist/esm/wrapControls/GridLayoutWrap/designer.js +8 -8
- package/dist/esm/wrapControls/GridLayoutWrap/property.js +2 -2
- package/dist/esm/wrapControls/GridLayoutWrap/runtime.js +8 -8
- package/dist/index.umd.js +1 -1
- package/dist/types/baseControls/ImportRecordListButton/property.d.ts +2 -0
- package/package.json +5 -5
package/dist/esm/framework.js
CHANGED
|
@@ -83,12 +83,11 @@ export var SCORE_TYPE = /*#__PURE__*/ function(SCORE_TYPE) {
|
|
|
83
83
|
export var Explain = function Explain(props) {
|
|
84
84
|
"use strict";
|
|
85
85
|
_class_call_check(this, Explain);
|
|
86
|
+
var _ref, _ref1;
|
|
86
87
|
_define_property(this, "id", void 0);
|
|
87
88
|
_define_property(this, "text", void 0);
|
|
88
|
-
|
|
89
|
-
this.
|
|
90
|
-
var _props_text;
|
|
91
|
-
this.text = (_props_text = props === null || props === void 0 ? void 0 : props.text) !== null && _props_text !== void 0 ? _props_text : '';
|
|
89
|
+
this.id = (_ref = props === null || props === void 0 ? void 0 : props.id) !== null && _ref !== void 0 ? _ref : genNonDuplicateId();
|
|
90
|
+
this.text = (_ref1 = props === null || props === void 0 ? void 0 : props.text) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
92
91
|
};
|
|
93
92
|
export var LINE_STYLE = /*#__PURE__*/ function(LINE_STYLE) {
|
|
94
93
|
LINE_STYLE["SOLID"] = "solid-line";
|
|
@@ -102,6 +101,7 @@ export var LINE_STYLE = /*#__PURE__*/ function(LINE_STYLE) {
|
|
|
102
101
|
export var UndersignedPerson = function UndersignedPerson(props) {
|
|
103
102
|
"use strict";
|
|
104
103
|
_class_call_check(this, UndersignedPerson);
|
|
104
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7;
|
|
105
105
|
/**
|
|
106
106
|
* 签署人类型
|
|
107
107
|
* */ _define_property(this, "type", void 0);
|
|
@@ -120,28 +120,23 @@ export var UndersignedPerson = function UndersignedPerson(props) {
|
|
|
120
120
|
/**
|
|
121
121
|
* 备注
|
|
122
122
|
* */ _define_property(this, "remark", void 0);
|
|
123
|
-
|
|
124
|
-
this.
|
|
125
|
-
var _props_person;
|
|
126
|
-
this.person = new RightVariable((_props_person = props === null || props === void 0 ? void 0 : props.person) !== null && _props_person !== void 0 ? _props_person : {
|
|
123
|
+
this.type = (_ref = props === null || props === void 0 ? void 0 : props.type) !== null && _ref !== void 0 ? _ref : 'private';
|
|
124
|
+
this.person = new RightVariable((_ref1 = props === null || props === void 0 ? void 0 : props.person) !== null && _ref1 !== void 0 ? _ref1 : {
|
|
127
125
|
type: 'form'
|
|
128
126
|
});
|
|
129
|
-
|
|
130
|
-
this.
|
|
131
|
-
var _props_telephone, _props_telephone1;
|
|
132
|
-
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 : {
|
|
127
|
+
this.signatureType = (_ref2 = props === null || props === void 0 ? void 0 : props.signatureType) !== null && _ref2 !== void 0 ? _ref2 : [];
|
|
128
|
+
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 : {
|
|
133
129
|
type: 'form'
|
|
134
130
|
});
|
|
135
|
-
|
|
136
|
-
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 : {
|
|
131
|
+
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 : {
|
|
137
132
|
type: 'form'
|
|
138
133
|
});
|
|
139
|
-
|
|
140
|
-
this.remark = (_props_remark = props === null || props === void 0 ? void 0 : props.remark) !== null && _props_remark !== void 0 ? _props_remark : '';
|
|
134
|
+
this.remark = (_ref7 = props === null || props === void 0 ? void 0 : props.remark) !== null && _ref7 !== void 0 ? _ref7 : '';
|
|
141
135
|
};
|
|
142
136
|
export var ElectronicSignatureConfig = function ElectronicSignatureConfig(props) {
|
|
143
137
|
"use strict";
|
|
144
138
|
_class_call_check(this, ElectronicSignatureConfig);
|
|
139
|
+
var _ref, _ref1, _ref2, _ref3, _ref4;
|
|
145
140
|
var _props_undersignedList;
|
|
146
141
|
/**
|
|
147
142
|
* 签署文件
|
|
@@ -158,24 +153,20 @@ export var ElectronicSignatureConfig = function ElectronicSignatureConfig(props)
|
|
|
158
153
|
/**
|
|
159
154
|
* 签署完成时间
|
|
160
155
|
* */ _define_property(this, "completeTimeControl", void 0);
|
|
161
|
-
|
|
162
|
-
this.
|
|
163
|
-
var _props_undersignedList_map;
|
|
164
|
-
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) {
|
|
156
|
+
this.fileControl = (_ref = props === null || props === void 0 ? void 0 : props.fileControl) !== null && _ref !== void 0 ? _ref : '';
|
|
157
|
+
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) {
|
|
165
158
|
return new UndersignedPerson(item);
|
|
166
|
-
})) !== null &&
|
|
159
|
+
})) !== null && _ref1 !== void 0 ? _ref1 : [
|
|
167
160
|
new UndersignedPerson()
|
|
168
161
|
];
|
|
169
|
-
|
|
170
|
-
this.
|
|
171
|
-
|
|
172
|
-
this.completeControl = (_props_completeControl = props === null || props === void 0 ? void 0 : props.completeControl) !== null && _props_completeControl !== void 0 ? _props_completeControl : '';
|
|
173
|
-
var _props_completeTimeControl;
|
|
174
|
-
this.completeTimeControl = (_props_completeTimeControl = props === null || props === void 0 ? void 0 : props.completeTimeControl) !== null && _props_completeTimeControl !== void 0 ? _props_completeTimeControl : '';
|
|
162
|
+
this.statusControl = (_ref2 = props === null || props === void 0 ? void 0 : props.statusControl) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
163
|
+
this.completeControl = (_ref3 = props === null || props === void 0 ? void 0 : props.completeControl) !== null && _ref3 !== void 0 ? _ref3 : '';
|
|
164
|
+
this.completeTimeControl = (_ref4 = props === null || props === void 0 ? void 0 : props.completeTimeControl) !== null && _ref4 !== void 0 ? _ref4 : '';
|
|
175
165
|
};
|
|
176
166
|
export var ExportTemplate = function ExportTemplate(props) {
|
|
177
167
|
"use strict";
|
|
178
168
|
_class_call_check(this, ExportTemplate);
|
|
169
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6;
|
|
179
170
|
_define_property(this, "id", void 0);
|
|
180
171
|
_define_property(this, "appId", void 0);
|
|
181
172
|
_define_property(this, "dataCode", void 0);
|
|
@@ -183,52 +174,41 @@ export var ExportTemplate = function ExportTemplate(props) {
|
|
|
183
174
|
_define_property(this, "name", void 0);
|
|
184
175
|
_define_property(this, "fieldList", void 0);
|
|
185
176
|
_define_property(this, "active", void 0);
|
|
186
|
-
|
|
187
|
-
this.
|
|
188
|
-
|
|
189
|
-
this.
|
|
190
|
-
|
|
191
|
-
this.
|
|
192
|
-
|
|
193
|
-
this.svcCode = (_props_svcCode = props === null || props === void 0 ? void 0 : props.svcCode) !== null && _props_svcCode !== void 0 ? _props_svcCode : '';
|
|
194
|
-
var _props_name;
|
|
195
|
-
this.name = (_props_name = props === null || props === void 0 ? void 0 : props.name) !== null && _props_name !== void 0 ? _props_name : '';
|
|
196
|
-
var _props_fieldList;
|
|
197
|
-
this.fieldList = (_props_fieldList = props === null || props === void 0 ? void 0 : props.fieldList) !== null && _props_fieldList !== void 0 ? _props_fieldList : [];
|
|
198
|
-
var _props_active;
|
|
199
|
-
this.active = (_props_active = props === null || props === void 0 ? void 0 : props.active) !== null && _props_active !== void 0 ? _props_active : false;
|
|
177
|
+
this.id = (_ref = props === null || props === void 0 ? void 0 : props.id) !== null && _ref !== void 0 ? _ref : genNonDuplicateId(8);
|
|
178
|
+
this.appId = (_ref1 = props === null || props === void 0 ? void 0 : props.appId) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
179
|
+
this.dataCode = (_ref2 = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
180
|
+
this.svcCode = (_ref3 = props === null || props === void 0 ? void 0 : props.svcCode) !== null && _ref3 !== void 0 ? _ref3 : '';
|
|
181
|
+
this.name = (_ref4 = props === null || props === void 0 ? void 0 : props.name) !== null && _ref4 !== void 0 ? _ref4 : '';
|
|
182
|
+
this.fieldList = (_ref5 = props === null || props === void 0 ? void 0 : props.fieldList) !== null && _ref5 !== void 0 ? _ref5 : [];
|
|
183
|
+
this.active = (_ref6 = props === null || props === void 0 ? void 0 : props.active) !== null && _ref6 !== void 0 ? _ref6 : false;
|
|
200
184
|
};
|
|
201
185
|
export var WpsOperationItem = function WpsOperationItem(props) {
|
|
202
186
|
"use strict";
|
|
203
187
|
_class_call_check(this, WpsOperationItem);
|
|
188
|
+
var _ref, _ref1;
|
|
204
189
|
_define_property(this, "active", void 0);
|
|
205
190
|
_define_property(this, "text", void 0);
|
|
206
|
-
|
|
207
|
-
this.
|
|
208
|
-
var _props_text;
|
|
209
|
-
this.text = (_props_text = props === null || props === void 0 ? void 0 : props.text) !== null && _props_text !== void 0 ? _props_text : '';
|
|
191
|
+
this.active = (_ref = props === null || props === void 0 ? void 0 : props.active) !== null && _ref !== void 0 ? _ref : false;
|
|
192
|
+
this.text = (_ref1 = props === null || props === void 0 ? void 0 : props.text) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
210
193
|
};
|
|
211
194
|
export var WPSSetting = function WPSSetting(props) {
|
|
212
195
|
"use strict";
|
|
213
196
|
_class_call_check(this, WPSSetting);
|
|
197
|
+
var _ref, _ref1, _ref2, _ref3;
|
|
214
198
|
_define_property(this, "types", void 0);
|
|
215
199
|
_define_property(this, "history", void 0);
|
|
216
200
|
_define_property(this, "collaborativeRecord", void 0);
|
|
217
201
|
_define_property(this, "logicToDelete", void 0);
|
|
218
202
|
_define_property(this, "watermark", void 0);
|
|
219
203
|
_define_property(this, "autoRename", void 0);
|
|
220
|
-
|
|
221
|
-
this.types = (_props_types = props === null || props === void 0 ? void 0 : props.types) !== null && _props_types !== void 0 ? _props_types : [
|
|
204
|
+
this.types = (_ref = props === null || props === void 0 ? void 0 : props.types) !== null && _ref !== void 0 ? _ref : [
|
|
222
205
|
'word',
|
|
223
206
|
'ppt',
|
|
224
207
|
'excel'
|
|
225
208
|
];
|
|
226
|
-
|
|
227
|
-
this.
|
|
228
|
-
|
|
229
|
-
this.collaborativeRecord = (_props_collaborativeRecord = props === null || props === void 0 ? void 0 : props.collaborativeRecord) !== null && _props_collaborativeRecord !== void 0 ? _props_collaborativeRecord : false;
|
|
230
|
-
var _props_logicToDelete;
|
|
231
|
-
this.logicToDelete = (_props_logicToDelete = props === null || props === void 0 ? void 0 : props.logicToDelete) !== null && _props_logicToDelete !== void 0 ? _props_logicToDelete : true;
|
|
209
|
+
this.history = (_ref1 = props === null || props === void 0 ? void 0 : props.history) !== null && _ref1 !== void 0 ? _ref1 : false;
|
|
210
|
+
this.collaborativeRecord = (_ref2 = props === null || props === void 0 ? void 0 : props.collaborativeRecord) !== null && _ref2 !== void 0 ? _ref2 : false;
|
|
211
|
+
this.logicToDelete = (_ref3 = props === null || props === void 0 ? void 0 : props.logicToDelete) !== null && _ref3 !== void 0 ? _ref3 : true;
|
|
232
212
|
this.watermark = new WpsOperationItem(props === null || props === void 0 ? void 0 : props.watermark);
|
|
233
213
|
this.autoRename = new WpsOperationItem(props === null || props === void 0 ? void 0 : props.autoRename);
|
|
234
214
|
};
|
|
@@ -239,34 +219,28 @@ export function initExpression(expression) {
|
|
|
239
219
|
export var PrintTemplate = function PrintTemplate(props) {
|
|
240
220
|
"use strict";
|
|
241
221
|
_class_call_check(this, PrintTemplate);
|
|
222
|
+
var _ref, _ref1, _ref2, _props_isDefault, _props_rules;
|
|
242
223
|
_define_property(this, "fileId", void 0);
|
|
243
224
|
_define_property(this, "fileName", void 0);
|
|
244
225
|
_define_property(this, "ruleName", void 0); //规则名称
|
|
245
226
|
_define_property(this, "isDefault", void 0); //是否是默认模板
|
|
246
227
|
_define_property(this, "rules", void 0);
|
|
247
|
-
|
|
248
|
-
this.
|
|
249
|
-
|
|
250
|
-
this.fileName = (_props_fileName = props === null || props === void 0 ? void 0 : props.fileName) !== null && _props_fileName !== void 0 ? _props_fileName : '';
|
|
251
|
-
var _props_ruleName;
|
|
252
|
-
this.ruleName = (_props_ruleName = props === null || props === void 0 ? void 0 : props.ruleName) !== null && _props_ruleName !== void 0 ? _props_ruleName : '';
|
|
253
|
-
var _props_isDefault;
|
|
228
|
+
this.fileId = (_ref = props === null || props === void 0 ? void 0 : props.fileId) !== null && _ref !== void 0 ? _ref : '';
|
|
229
|
+
this.fileName = (_ref1 = props === null || props === void 0 ? void 0 : props.fileName) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
230
|
+
this.ruleName = (_ref2 = props === null || props === void 0 ? void 0 : props.ruleName) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
254
231
|
this.isDefault = (_props_isDefault = props.isDefault) !== null && _props_isDefault !== void 0 ? _props_isDefault : false;
|
|
255
|
-
var _props_rules;
|
|
256
232
|
this.rules = (_props_rules = props.rules) !== null && _props_rules !== void 0 ? _props_rules : [];
|
|
257
233
|
};
|
|
258
234
|
export var FlexStyleConfig = function FlexStyleConfig(props) {
|
|
259
235
|
"use strict";
|
|
260
236
|
_class_call_check(this, FlexStyleConfig);
|
|
237
|
+
var _ref, _ref1, _ref2;
|
|
261
238
|
_define_property(this, "direction", void 0);
|
|
262
239
|
_define_property(this, "justifyContent", void 0);
|
|
263
240
|
_define_property(this, "alignItems", void 0);
|
|
264
|
-
|
|
265
|
-
this.
|
|
266
|
-
|
|
267
|
-
this.justifyContent = (_props_justifyContent = props === null || props === void 0 ? void 0 : props.justifyContent) !== null && _props_justifyContent !== void 0 ? _props_justifyContent : 'flex-start';
|
|
268
|
-
var _props_alignItems;
|
|
269
|
-
this.alignItems = (_props_alignItems = props === null || props === void 0 ? void 0 : props.alignItems) !== null && _props_alignItems !== void 0 ? _props_alignItems : 'flex-start';
|
|
241
|
+
this.direction = (_ref = props === null || props === void 0 ? void 0 : props.direction) !== null && _ref !== void 0 ? _ref : 'row';
|
|
242
|
+
this.justifyContent = (_ref1 = props === null || props === void 0 ? void 0 : props.justifyContent) !== null && _ref1 !== void 0 ? _ref1 : 'flex-start';
|
|
243
|
+
this.alignItems = (_ref2 = props === null || props === void 0 ? void 0 : props.alignItems) !== null && _ref2 !== void 0 ? _ref2 : 'flex-start';
|
|
270
244
|
};
|
|
271
245
|
/**
|
|
272
246
|
* 加密类型
|
|
@@ -92,11 +92,11 @@ var ActionBarControl = /*#__PURE__*/ function(DesignerLayoutControl) {
|
|
|
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, [
|
|
@@ -77,18 +77,16 @@ 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 //位置
|
|
83
84
|
), _define_property(_this, "opacity", void 0 // 背景透明
|
|
84
85
|
), _define_property(_this, "align", void 0 // 对齐方式
|
|
85
86
|
);
|
|
86
|
-
|
|
87
|
-
_this.
|
|
88
|
-
|
|
89
|
-
_this.opacity = (_props_opacity = props === null || props === void 0 ? void 0 : props.opacity) !== null && _props_opacity !== void 0 ? _props_opacity : true;
|
|
90
|
-
var _props_align;
|
|
91
|
-
_this.align = (_props_align = props === null || props === void 0 ? void 0 : props.align) !== null && _props_align !== void 0 ? _props_align : 'right';
|
|
87
|
+
_this.position = (_ref = props === null || props === void 0 ? void 0 : props.position) !== null && _ref !== void 0 ? _ref : 'bottom';
|
|
88
|
+
_this.opacity = (_ref1 = props === null || props === void 0 ? void 0 : props.opacity) !== null && _ref1 !== void 0 ? _ref1 : true;
|
|
89
|
+
_this.align = (_ref2 = props === null || props === void 0 ? void 0 : props.align) !== null && _ref2 !== void 0 ? _ref2 : 'right';
|
|
92
90
|
return _this;
|
|
93
91
|
}
|
|
94
92
|
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,6 +93,7 @@ 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;
|
|
96
97
|
_this = _call_super(this, CardGroupControlProperty, [
|
|
97
98
|
props
|
|
98
99
|
]), /*
|
|
@@ -101,10 +102,8 @@ var CardGroupControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
|
101
102
|
* 卡片分组是否支持展开收起
|
|
102
103
|
* 可选项: none 不允许 | open 默认展开 | close 默认关闭
|
|
103
104
|
* */ _define_property(_this, "collapse", void 0);
|
|
104
|
-
|
|
105
|
-
_this.
|
|
106
|
-
var _props_collapse;
|
|
107
|
-
_this.collapse = (_props_collapse = props === null || props === void 0 ? void 0 : props.collapse) !== null && _props_collapse !== void 0 ? _props_collapse : 'none';
|
|
105
|
+
_this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : '分组';
|
|
106
|
+
_this.collapse = (_ref1 = props === null || props === void 0 ? void 0 : props.collapse) !== null && _ref1 !== void 0 ? _ref1 : 'none';
|
|
108
107
|
return _this;
|
|
109
108
|
}
|
|
110
109
|
return CardGroupControlProperty;
|
|
@@ -78,13 +78,12 @@ 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;
|
|
81
82
|
_this = _call_super(this, ColControlProperty, [
|
|
82
83
|
props
|
|
83
84
|
]), _define_property(_this, "span", void 0), _define_property(_this, "offset", void 0);
|
|
84
|
-
|
|
85
|
-
_this.
|
|
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;
|
|
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;
|
|
88
87
|
return _this;
|
|
89
88
|
}
|
|
90
89
|
return ColControlProperty;
|
|
@@ -97,6 +97,7 @@ var DataViewControlPropertyRuntimeRules = /*#__PURE__*/ function(PropertyRuntime
|
|
|
97
97
|
function DataViewControlProperty(props) {
|
|
98
98
|
_class_call_check(this, DataViewControlProperty);
|
|
99
99
|
var _this;
|
|
100
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5;
|
|
100
101
|
_this = _call_super(this, DataViewControlProperty, [
|
|
101
102
|
props
|
|
102
103
|
]), _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), /**
|
|
@@ -107,36 +108,30 @@ var DataViewControlPropertyRuntimeRules = /*#__PURE__*/ function(PropertyRuntime
|
|
|
107
108
|
* 绑定业务模型
|
|
108
109
|
* @public
|
|
109
110
|
*/ _define_property(_this, "datasourceBind", void 0);
|
|
110
|
-
|
|
111
|
-
_this.save = new OperationItem((_props_save = props === null || props === void 0 ? void 0 : props.save) !== null && _props_save !== void 0 ? _props_save : {
|
|
111
|
+
_this.save = new OperationItem((_ref = props === null || props === void 0 ? void 0 : props.save) !== null && _ref !== void 0 ? _ref : {
|
|
112
112
|
content: '保存',
|
|
113
113
|
type: 'save',
|
|
114
114
|
isShow: false
|
|
115
115
|
});
|
|
116
|
-
|
|
117
|
-
_this.cancel = new OperationItem((_props_cancel = props === null || props === void 0 ? void 0 : props.cancel) !== null && _props_cancel !== void 0 ? _props_cancel : {
|
|
116
|
+
_this.cancel = new OperationItem((_ref1 = props === null || props === void 0 ? void 0 : props.cancel) !== null && _ref1 !== void 0 ? _ref1 : {
|
|
118
117
|
content: '取消',
|
|
119
118
|
type: 'cancel',
|
|
120
119
|
isShow: false
|
|
121
120
|
});
|
|
122
|
-
|
|
123
|
-
_this.saveAs = new OperationItem((_props_saveAs = props === null || props === void 0 ? void 0 : props.saveAs) !== null && _props_saveAs !== void 0 ? _props_saveAs : {
|
|
121
|
+
_this.saveAs = new OperationItem((_ref2 = props === null || props === void 0 ? void 0 : props.saveAs) !== null && _ref2 !== void 0 ? _ref2 : {
|
|
124
122
|
content: '保存草稿',
|
|
125
123
|
type: 'saveAs',
|
|
126
124
|
isShow: false
|
|
127
125
|
});
|
|
128
|
-
|
|
129
|
-
_this.print = new OperationItem((_props_print = props === null || props === void 0 ? void 0 : props.print) !== null && _props_print !== void 0 ? _props_print : {
|
|
126
|
+
_this.print = new OperationItem((_ref3 = props === null || props === void 0 ? void 0 : props.print) !== null && _ref3 !== void 0 ? _ref3 : {
|
|
130
127
|
content: '打印',
|
|
131
128
|
type: 'print',
|
|
132
129
|
isShow: false
|
|
133
130
|
});
|
|
134
|
-
|
|
135
|
-
_this.custom = ((_props_custom = props === null || props === void 0 ? void 0 : props.custom) !== null && _props_custom !== void 0 ? _props_custom : []).map(function(item) {
|
|
131
|
+
_this.custom = ((_ref4 = props === null || props === void 0 ? void 0 : props.custom) !== null && _ref4 !== void 0 ? _ref4 : []).map(function(item) {
|
|
136
132
|
return new OperationItem(item);
|
|
137
133
|
});
|
|
138
|
-
|
|
139
|
-
_this.isLoading = (_props_isLoading = props === null || props === void 0 ? void 0 : props.isLoading) !== null && _props_isLoading !== void 0 ? _props_isLoading : false;
|
|
134
|
+
_this.isLoading = (_ref5 = props === null || props === void 0 ? void 0 : props.isLoading) !== null && _ref5 !== void 0 ? _ref5 : false;
|
|
140
135
|
_this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
|
|
141
136
|
return _this;
|
|
142
137
|
}
|
|
@@ -77,15 +77,14 @@ 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;
|
|
80
81
|
_this = _call_super(this, GridLayoutContainerControlProperty, [
|
|
81
82
|
props
|
|
82
83
|
]), _define_property(_this, "childMinWidth", void 0 // 控件宽度最小值
|
|
83
84
|
), _define_property(_this, "colGap", void 0 // 控件间距
|
|
84
85
|
);
|
|
85
|
-
|
|
86
|
-
_this.
|
|
87
|
-
var _props_colGap;
|
|
88
|
-
_this.colGap = (_props_colGap = props === null || props === void 0 ? void 0 : props.colGap) !== null && _props_colGap !== void 0 ? _props_colGap : 24;
|
|
86
|
+
_this.childMinWidth = (_ref = props === null || props === void 0 ? void 0 : props.childMinWidth) !== null && _ref !== void 0 ? _ref : 230;
|
|
87
|
+
_this.colGap = (_ref1 = props === null || props === void 0 ? void 0 : props.colGap) !== null && _ref1 !== void 0 ? _ref1 : 24;
|
|
89
88
|
return _this;
|
|
90
89
|
}
|
|
91
90
|
return GridLayoutContainerControlProperty;
|
|
@@ -78,32 +78,23 @@ var GridTableColumnControlProperty = /*#__PURE__*/ function(LayoutControlPropert
|
|
|
78
78
|
function GridTableColumnControlProperty(props) {
|
|
79
79
|
_class_call_check(this, GridTableColumnControlProperty);
|
|
80
80
|
var _this;
|
|
81
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9;
|
|
81
82
|
_this = _call_super(this, GridTableColumnControlProperty, [
|
|
82
83
|
props
|
|
83
84
|
]), _define_property(_this, "widthType", void 0), _define_property(_this, "width", void 0), _define_property(_this, "caption", void 0), _define_property(_this, "fieldCode", void 0), _define_property(_this, "fieldType", void 0), _define_property(_this, "fieldName", void 0), _define_property(_this, "datasourceBind", void 0), _define_property(_this, "fixed", void 0), _define_property(_this, "textCleanFormart", void 0 //是否去除标签格式
|
|
84
85
|
), _define_property(_this, "decimalKeepPrecision", void 0), _define_property(_this, "timestampDateType", void 0), _define_property(_this, "departmentDisplayLevel", void 0);
|
|
85
|
-
|
|
86
|
-
_this.width = (_props_width = props === null || props === void 0 ? void 0 : props.width) !== null && _props_width !== void 0 ? _props_width : 200;
|
|
86
|
+
_this.width = (_ref = props === null || props === void 0 ? void 0 : props.width) !== null && _ref !== void 0 ? _ref : 200;
|
|
87
87
|
_this.widthType = (props === null || props === void 0 ? void 0 : props.widthType) || 'auto';
|
|
88
|
-
|
|
89
|
-
_this.
|
|
90
|
-
|
|
91
|
-
_this.
|
|
92
|
-
|
|
93
|
-
_this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : '';
|
|
94
|
-
var _props_fieldType;
|
|
95
|
-
_this.fieldType = (_props_fieldType = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _props_fieldType !== void 0 ? _props_fieldType : FieldTypes.VARCHAR;
|
|
96
|
-
var _props_fieldName;
|
|
97
|
-
_this.fieldName = (_props_fieldName = props === null || props === void 0 ? void 0 : props.fieldName) !== null && _props_fieldName !== void 0 ? _props_fieldName : '';
|
|
88
|
+
_this.caption = (_ref1 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
89
|
+
_this.fixed = (_ref2 = props === null || props === void 0 ? void 0 : props.fixed) !== null && _ref2 !== void 0 ? _ref2 : false;
|
|
90
|
+
_this.fieldCode = (_ref3 = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _ref3 !== void 0 ? _ref3 : '';
|
|
91
|
+
_this.fieldType = (_ref4 = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _ref4 !== void 0 ? _ref4 : FieldTypes.VARCHAR;
|
|
92
|
+
_this.fieldName = (_ref5 = props === null || props === void 0 ? void 0 : props.fieldName) !== null && _ref5 !== void 0 ? _ref5 : '';
|
|
98
93
|
_this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
|
|
99
|
-
|
|
100
|
-
_this.
|
|
101
|
-
|
|
102
|
-
_this.
|
|
103
|
-
var _props_timestampDateType;
|
|
104
|
-
_this.timestampDateType = (_props_timestampDateType = props === null || props === void 0 ? void 0 : props.timestampDateType) !== null && _props_timestampDateType !== void 0 ? _props_timestampDateType : DateType.DATE;
|
|
105
|
-
var _props_departmentDisplayLevel;
|
|
106
|
-
_this.departmentDisplayLevel = (_props_departmentDisplayLevel = props === null || props === void 0 ? void 0 : props.departmentDisplayLevel) !== null && _props_departmentDisplayLevel !== void 0 ? _props_departmentDisplayLevel : 1;
|
|
94
|
+
_this.textCleanFormart = (_ref6 = props === null || props === void 0 ? void 0 : props.textCleanFormart) !== null && _ref6 !== void 0 ? _ref6 : false;
|
|
95
|
+
_this.decimalKeepPrecision = (_ref7 = props === null || props === void 0 ? void 0 : props.decimalKeepPrecision) !== null && _ref7 !== void 0 ? _ref7 : 0;
|
|
96
|
+
_this.timestampDateType = (_ref8 = props === null || props === void 0 ? void 0 : props.timestampDateType) !== null && _ref8 !== void 0 ? _ref8 : DateType.DATE;
|
|
97
|
+
_this.departmentDisplayLevel = (_ref9 = props === null || props === void 0 ? void 0 : props.departmentDisplayLevel) !== null && _ref9 !== void 0 ? _ref9 : 1;
|
|
107
98
|
return _this;
|
|
108
99
|
}
|
|
109
100
|
return GridTableColumnControlProperty;
|
|
@@ -216,6 +216,7 @@ import { initOptionAndDataSourceRules } from '@byteluck-fe/model-driven-core';
|
|
|
216
216
|
function ListViewControlProperty(props) {
|
|
217
217
|
_class_call_check(this, ListViewControlProperty);
|
|
218
218
|
var _this;
|
|
219
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12, _ref13, _ref14, _ref15;
|
|
219
220
|
var _props_rowStyleRules, _props_rowStyleRulesScript;
|
|
220
221
|
_this = _call_super(this, ListViewControlProperty, [
|
|
221
222
|
props
|
|
@@ -286,45 +287,29 @@ import { initOptionAndDataSourceRules } from '@byteluck-fe/model-driven-core';
|
|
|
286
287
|
* @defaultValue 'theme'
|
|
287
288
|
*/ _define_property(_this, "rowStyleBgColor", void 0), _define_property(_this, "rowStyleRules", void 0), _define_property(_this, "rowStyleRulesScript", void 0);
|
|
288
289
|
_this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
|
|
289
|
-
|
|
290
|
-
_this.
|
|
291
|
-
|
|
292
|
-
_this.
|
|
293
|
-
var _props_triggerType;
|
|
294
|
-
_this.triggerType = (_props_triggerType = props === null || props === void 0 ? void 0 : props.triggerType) !== null && _props_triggerType !== void 0 ? _props_triggerType : 1;
|
|
295
|
-
var _props_triggerFieldCode;
|
|
296
|
-
_this.triggerFieldCode = (_props_triggerFieldCode = props === null || props === void 0 ? void 0 : props.triggerFieldCode) !== null && _props_triggerFieldCode !== void 0 ? _props_triggerFieldCode : '';
|
|
290
|
+
_this.isLoading = (_ref = props === null || props === void 0 ? void 0 : props.isLoading) !== null && _ref !== void 0 ? _ref : false;
|
|
291
|
+
_this.isShowSubList = (_ref1 = props === null || props === void 0 ? void 0 : props.isShowSubList) !== null && _ref1 !== void 0 ? _ref1 : false;
|
|
292
|
+
_this.triggerType = (_ref2 = props === null || props === void 0 ? void 0 : props.triggerType) !== null && _ref2 !== void 0 ? _ref2 : 1;
|
|
293
|
+
_this.triggerFieldCode = (_ref3 = props === null || props === void 0 ? void 0 : props.triggerFieldCode) !== null && _ref3 !== void 0 ? _ref3 : '';
|
|
297
294
|
_this.sublistPage = new SubListPageConfig(props === null || props === void 0 ? void 0 : props.sublistPage);
|
|
298
|
-
|
|
299
|
-
_this.isShowJoinRelation = (_props_isShowJoinRelation = props === null || props === void 0 ? void 0 : props.isShowJoinRelation) !== null && _props_isShowJoinRelation !== void 0 ? _props_isShowJoinRelation : false;
|
|
295
|
+
_this.isShowJoinRelation = (_ref4 = props === null || props === void 0 ? void 0 : props.isShowJoinRelation) !== null && _ref4 !== void 0 ? _ref4 : false;
|
|
300
296
|
_this.joinRelation = new JoinRelation(props === null || props === void 0 ? void 0 : props.joinRelation);
|
|
301
|
-
|
|
302
|
-
_this.
|
|
303
|
-
|
|
304
|
-
_this.
|
|
305
|
-
|
|
306
|
-
_this.
|
|
307
|
-
var _props_isFixedHeader;
|
|
308
|
-
_this.isFixedHeader = (_props_isFixedHeader = props === null || props === void 0 ? void 0 : props.isFixedHeader) !== null && _props_isFixedHeader !== void 0 ? _props_isFixedHeader : false;
|
|
309
|
-
var _props_isShowSelection;
|
|
310
|
-
_this.isShowSelection = (_props_isShowSelection = props === null || props === void 0 ? void 0 : props.isShowSelection) !== null && _props_isShowSelection !== void 0 ? _props_isShowSelection : false;
|
|
311
|
-
var _props_isAllLoaded;
|
|
312
|
-
_this.isAllLoaded = (_props_isAllLoaded = props === null || props === void 0 ? void 0 : props.isAllLoaded) !== null && _props_isAllLoaded !== void 0 ? _props_isAllLoaded : true;
|
|
297
|
+
_this.showType = (_ref5 = props === null || props === void 0 ? void 0 : props.showType) !== null && _ref5 !== void 0 ? _ref5 : 'stretch';
|
|
298
|
+
_this.showFullScreen = (_ref6 = props === null || props === void 0 ? void 0 : props.showFullScreen) !== null && _ref6 !== void 0 ? _ref6 : false;
|
|
299
|
+
_this.selectionType = (_ref7 = props === null || props === void 0 ? void 0 : props.selectionType) !== null && _ref7 !== void 0 ? _ref7 : 'multiple';
|
|
300
|
+
_this.isFixedHeader = (_ref8 = props === null || props === void 0 ? void 0 : props.isFixedHeader) !== null && _ref8 !== void 0 ? _ref8 : false;
|
|
301
|
+
_this.isShowSelection = (_ref9 = props === null || props === void 0 ? void 0 : props.isShowSelection) !== null && _ref9 !== void 0 ? _ref9 : false;
|
|
302
|
+
_this.isAllLoaded = (_ref10 = props === null || props === void 0 ? void 0 : props.isAllLoaded) !== null && _ref10 !== void 0 ? _ref10 : true;
|
|
313
303
|
_this.countType = props === null || props === void 0 ? void 0 : props.countType;
|
|
314
|
-
|
|
315
|
-
_this.
|
|
316
|
-
|
|
317
|
-
_this.
|
|
318
|
-
var _props_rowStyleBgColor;
|
|
319
|
-
_this.rowStyleBgColor = (_props_rowStyleBgColor = props === null || props === void 0 ? void 0 : props.rowStyleBgColor) !== null && _props_rowStyleBgColor !== void 0 ? _props_rowStyleBgColor : 'theme';
|
|
320
|
-
var _props_rowStyleRules_map;
|
|
321
|
-
_this.rowStyleRules = (props === null || props === void 0 ? void 0 : props.rowStyleRules) && Array.isArray(props === null || props === void 0 ? void 0 : props.rowStyleRules) ? (_props_rowStyleRules_map = props === null || props === void 0 ? void 0 : (_props_rowStyleRules = props.rowStyleRules) === null || _props_rowStyleRules === void 0 ? void 0 : _props_rowStyleRules.map(function(item) {
|
|
304
|
+
_this.countLimit = (_ref11 = props === null || props === void 0 ? void 0 : props.countLimit) !== null && _ref11 !== void 0 ? _ref11 : 100000;
|
|
305
|
+
_this.rowStyleType = (_ref12 = props === null || props === void 0 ? void 0 : props.rowStyleType) !== null && _ref12 !== void 0 ? _ref12 : 'none';
|
|
306
|
+
_this.rowStyleBgColor = (_ref13 = props === null || props === void 0 ? void 0 : props.rowStyleBgColor) !== null && _ref13 !== void 0 ? _ref13 : 'theme';
|
|
307
|
+
_this.rowStyleRules = (props === null || props === void 0 ? void 0 : props.rowStyleRules) && Array.isArray(props === null || props === void 0 ? void 0 : props.rowStyleRules) ? (_ref14 = props === null || props === void 0 ? void 0 : (_props_rowStyleRules = props.rowStyleRules) === null || _props_rowStyleRules === void 0 ? void 0 : _props_rowStyleRules.map(function(item) {
|
|
322
308
|
return new RowStyleRule(item);
|
|
323
|
-
})) !== null &&
|
|
324
|
-
|
|
325
|
-
_this.rowStyleRulesScript = (props === null || props === void 0 ? void 0 : props.rowStyleRulesScript) && Array.isArray(props === null || props === void 0 ? void 0 : props.rowStyleRulesScript) ? (_props_rowStyleRulesScript_map = props === null || props === void 0 ? void 0 : (_props_rowStyleRulesScript = props.rowStyleRulesScript) === null || _props_rowStyleRulesScript === void 0 ? void 0 : _props_rowStyleRulesScript.map(function(item) {
|
|
309
|
+
})) !== null && _ref14 !== void 0 ? _ref14 : [] : [];
|
|
310
|
+
_this.rowStyleRulesScript = (props === null || props === void 0 ? void 0 : props.rowStyleRulesScript) && Array.isArray(props === null || props === void 0 ? void 0 : props.rowStyleRulesScript) ? (_ref15 = props === null || props === void 0 ? void 0 : (_props_rowStyleRulesScript = props.rowStyleRulesScript) === null || _props_rowStyleRulesScript === void 0 ? void 0 : _props_rowStyleRulesScript.map(function(item) {
|
|
326
311
|
return new RowStyleRuleScript(item);
|
|
327
|
-
})) !== null &&
|
|
312
|
+
})) !== null && _ref15 !== void 0 ? _ref15 : [] : [];
|
|
328
313
|
return _this;
|
|
329
314
|
}
|
|
330
315
|
return ListViewControlProperty;
|
|
@@ -77,6 +77,7 @@ var PageProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
|
77
77
|
function PageProperty(props) {
|
|
78
78
|
_class_call_check(this, PageProperty);
|
|
79
79
|
var _this;
|
|
80
|
+
var _ref;
|
|
80
81
|
_this = _call_super(this, PageProperty, [
|
|
81
82
|
props
|
|
82
83
|
]), _define_property(_this, "hideHeader", void 0), _define_property(_this, "background", '#fff'), _define_property(_this, "minWidth", ''), _define_property(_this, "maxWidth", ''), /**
|
|
@@ -84,8 +85,7 @@ var PageProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
|
84
85
|
* auto指内容多高它多高
|
|
85
86
|
* fill指最小占一屏幕高
|
|
86
87
|
* */ _define_property(_this, "heightConfig", 'auto');
|
|
87
|
-
|
|
88
|
-
_this.hideHeader = (_props_hideHeader = props === null || props === void 0 ? void 0 : props.hideHeader) !== null && _props_hideHeader !== void 0 ? _props_hideHeader : false;
|
|
88
|
+
_this.hideHeader = (_ref = props === null || props === void 0 ? void 0 : props.hideHeader) !== null && _ref !== void 0 ? _ref : false;
|
|
89
89
|
return _this;
|
|
90
90
|
}
|
|
91
91
|
return PageProperty;
|
|
@@ -77,17 +77,14 @@ var PositionProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
|
77
77
|
function PositionProperty(props) {
|
|
78
78
|
_class_call_check(this, PositionProperty);
|
|
79
79
|
var _this;
|
|
80
|
+
var _ref, _ref1, _ref2, _ref3;
|
|
80
81
|
_this = _call_super(this, PositionProperty, [
|
|
81
82
|
props
|
|
82
83
|
]), _define_property(_this, "widthSpan", void 0), _define_property(_this, "heightSpan", void 0), _define_property(_this, "left", void 0), _define_property(_this, "top", void 0);
|
|
83
|
-
|
|
84
|
-
_this.
|
|
85
|
-
|
|
86
|
-
_this.
|
|
87
|
-
var _props_left;
|
|
88
|
-
_this.left = (_props_left = props === null || props === void 0 ? void 0 : props.left) !== null && _props_left !== void 0 ? _props_left : 0;
|
|
89
|
-
var _props_top;
|
|
90
|
-
_this.top = (_props_top = props === null || props === void 0 ? void 0 : props.top) !== null && _props_top !== void 0 ? _props_top : 0;
|
|
84
|
+
_this.widthSpan = (_ref = props === null || props === void 0 ? void 0 : props.widthSpan) !== null && _ref !== void 0 ? _ref : 12;
|
|
85
|
+
_this.heightSpan = (_ref1 = props === null || props === void 0 ? void 0 : props.heightSpan) !== null && _ref1 !== void 0 ? _ref1 : 12;
|
|
86
|
+
_this.left = (_ref2 = props === null || props === void 0 ? void 0 : props.left) !== null && _ref2 !== void 0 ? _ref2 : 0;
|
|
87
|
+
_this.top = (_ref3 = props === null || props === void 0 ? void 0 : props.top) !== null && _ref3 !== void 0 ? _ref3 : 0;
|
|
91
88
|
return _this;
|
|
92
89
|
}
|
|
93
90
|
return PositionProperty;
|
|
@@ -77,13 +77,12 @@ var RowControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
|
77
77
|
function RowControlProperty(props) {
|
|
78
78
|
_class_call_check(this, RowControlProperty);
|
|
79
79
|
var _this;
|
|
80
|
+
var _ref, _ref1;
|
|
80
81
|
_this = _call_super(this, RowControlProperty, [
|
|
81
82
|
props
|
|
82
83
|
]), _define_property(_this, "layoutMode", void 0), _define_property(_this, "gutter", void 0);
|
|
83
|
-
|
|
84
|
-
_this.
|
|
85
|
-
var _props_gutter;
|
|
86
|
-
_this.gutter = (_props_gutter = props === null || props === void 0 ? void 0 : props.gutter) !== null && _props_gutter !== void 0 ? _props_gutter : 0;
|
|
84
|
+
_this.layoutMode = (_ref = props === null || props === void 0 ? void 0 : props.layoutMode) !== null && _ref !== void 0 ? _ref : 'select';
|
|
85
|
+
_this.gutter = (_ref1 = props === null || props === void 0 ? void 0 : props.gutter) !== null && _ref1 !== void 0 ? _ref1 : 0;
|
|
87
86
|
return _this;
|
|
88
87
|
}
|
|
89
88
|
return RowControlProperty;
|
|
@@ -106,6 +106,7 @@ var SubTableColumnControlProperty = /*#__PURE__*/ function(LayoutControlProperty
|
|
|
106
106
|
function SubTableColumnControlProperty(props) {
|
|
107
107
|
_class_call_check(this, SubTableColumnControlProperty);
|
|
108
108
|
var _this;
|
|
109
|
+
var _ref, _ref1, _ref2, _ref3, _ref4;
|
|
109
110
|
_this = _call_super(this, SubTableColumnControlProperty, [
|
|
110
111
|
props
|
|
111
112
|
]), /**
|
|
@@ -122,16 +123,11 @@ var SubTableColumnControlProperty = /*#__PURE__*/ function(LayoutControlProperty
|
|
|
122
123
|
* */ _define_property(_this, "captionTip", void 0), /**
|
|
123
124
|
* 隐藏标题一直为false
|
|
124
125
|
* */ _define_property(_this, "isHideCaption", void 0);
|
|
125
|
-
|
|
126
|
-
_this.
|
|
127
|
-
|
|
128
|
-
_this.
|
|
129
|
-
|
|
130
|
-
_this.isShowCaptionTip = (_props_isShowCaptionTip = props === null || props === void 0 ? void 0 : props.isShowCaptionTip) !== null && _props_isShowCaptionTip !== void 0 ? _props_isShowCaptionTip : false;
|
|
131
|
-
var _props_captionTip;
|
|
132
|
-
_this.captionTip = (_props_captionTip = props === null || props === void 0 ? void 0 : props.captionTip) !== null && _props_captionTip !== void 0 ? _props_captionTip : '';
|
|
133
|
-
var _props_isHideCaption;
|
|
134
|
-
_this.isHideCaption = (_props_isHideCaption = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _props_isHideCaption !== void 0 ? _props_isHideCaption : false;
|
|
126
|
+
_this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : '';
|
|
127
|
+
_this.fixed = (_ref1 = props === null || props === void 0 ? void 0 : props.fixed) !== null && _ref1 !== void 0 ? _ref1 : false;
|
|
128
|
+
_this.isShowCaptionTip = (_ref2 = props === null || props === void 0 ? void 0 : props.isShowCaptionTip) !== null && _ref2 !== void 0 ? _ref2 : false;
|
|
129
|
+
_this.captionTip = (_ref3 = props === null || props === void 0 ? void 0 : props.captionTip) !== null && _ref3 !== void 0 ? _ref3 : '';
|
|
130
|
+
_this.isHideCaption = (_ref4 = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _ref4 !== void 0 ? _ref4 : false;
|
|
135
131
|
_this.metaAutoWidth = new MetaAutoWidth(props === null || props === void 0 ? void 0 : props.metaAutoWidth);
|
|
136
132
|
return _this;
|
|
137
133
|
}
|