@byteluck-fe/model-driven-core 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/common/BaseControl/designer.js +18 -12
- package/dist/esm/common/BaseControl/property.js +3 -4
- package/dist/esm/common/BaseControl/runtime.js +8 -11
- package/dist/esm/common/ColumnControl/property.js +6 -10
- package/dist/esm/common/FormControl/property.js +14 -26
- package/dist/esm/common/LayoutControl/designer.js +13 -4
- package/dist/esm/common/ListControl/designer.js +12 -4
- package/dist/esm/common/ListControl/property.js +5 -8
- package/dist/esm/framework/index.js +191 -285
- package/dist/index.umd.js +1 -1
- package/package.json +3 -3
|
@@ -78,6 +78,7 @@ export * from './RegisterControls';
|
|
|
78
78
|
*/ export var DataBind = function DataBind(props) {
|
|
79
79
|
"use strict";
|
|
80
80
|
_class_call_check(this, DataBind);
|
|
81
|
+
var _ref, _ref1, _ref2;
|
|
81
82
|
/**
|
|
82
83
|
* 数据模型编码
|
|
83
84
|
* @defaultValue ''
|
|
@@ -98,25 +99,21 @@ export * from './RegisterControls';
|
|
|
98
99
|
* @defaultValue undefined
|
|
99
100
|
* @public
|
|
100
101
|
*/ _define_property(this, "aliasCode", void 0);
|
|
101
|
-
|
|
102
|
-
this.
|
|
103
|
-
|
|
104
|
-
this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : '';
|
|
105
|
-
var _props_fieldType;
|
|
106
|
-
this.fieldType = (_props_fieldType = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _props_fieldType !== void 0 ? _props_fieldType : '';
|
|
102
|
+
this.dataCode = (_ref = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _ref !== void 0 ? _ref : '';
|
|
103
|
+
this.fieldCode = (_ref1 = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
104
|
+
this.fieldType = (_ref2 = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
107
105
|
this.aliasCode = props === null || props === void 0 ? void 0 : props.aliasCode;
|
|
108
106
|
};
|
|
109
107
|
export var AutoWidth = function AutoWidth(props) {
|
|
110
108
|
"use strict";
|
|
111
109
|
_class_call_check(this, AutoWidth);
|
|
110
|
+
var _ref, _ref1;
|
|
112
111
|
_define_property(this, "minWidth", void 0);
|
|
113
112
|
_define_property(this, "maxWidth", void 0);
|
|
114
113
|
_define_property(this, "flex", void 0);
|
|
115
|
-
|
|
116
|
-
this.minWidth = (_props_minWidth = props === null || props === void 0 ? void 0 : props.minWidth) !== null && _props_minWidth !== void 0 ? _props_minWidth : 150;
|
|
114
|
+
this.minWidth = (_ref = props === null || props === void 0 ? void 0 : props.minWidth) !== null && _ref !== void 0 ? _ref : 150;
|
|
117
115
|
this.maxWidth = props === null || props === void 0 ? void 0 : props.maxWidth;
|
|
118
|
-
|
|
119
|
-
this.flex = (_props_flex = props === null || props === void 0 ? void 0 : props.flex) !== null && _props_flex !== void 0 ? _props_flex : 1;
|
|
116
|
+
this.flex = (_ref1 = props === null || props === void 0 ? void 0 : props.flex) !== null && _ref1 !== void 0 ? _ref1 : 1;
|
|
120
117
|
};
|
|
121
118
|
export var MetaWidth = /*#__PURE__*/ function(AutoWidth) {
|
|
122
119
|
"use strict";
|
|
@@ -124,13 +121,12 @@ export var MetaWidth = /*#__PURE__*/ function(AutoWidth) {
|
|
|
124
121
|
function MetaWidth(props) {
|
|
125
122
|
_class_call_check(this, MetaWidth);
|
|
126
123
|
var _this;
|
|
124
|
+
var _ref, _ref1;
|
|
127
125
|
_this = _call_super(this, MetaWidth, [
|
|
128
126
|
props
|
|
129
127
|
]), _define_property(_this, "width", void 0), _define_property(_this, "widthType", void 0);
|
|
130
|
-
|
|
131
|
-
_this.
|
|
132
|
-
var _props_widthType;
|
|
133
|
-
_this.widthType = (_props_widthType = props === null || props === void 0 ? void 0 : props.widthType) !== null && _props_widthType !== void 0 ? _props_widthType : 'auto';
|
|
128
|
+
_this.width = (_ref = props === null || props === void 0 ? void 0 : props.width) !== null && _ref !== void 0 ? _ref : 240;
|
|
129
|
+
_this.widthType = (_ref1 = props === null || props === void 0 ? void 0 : props.widthType) !== null && _ref1 !== void 0 ? _ref1 : 'auto';
|
|
134
130
|
return _this;
|
|
135
131
|
}
|
|
136
132
|
return MetaWidth;
|
|
@@ -149,25 +145,22 @@ export var MetaAutoWidth = function MetaAutoWidth(props) {
|
|
|
149
145
|
export var DataStorageDoc = function DataStorageDoc(props) {
|
|
150
146
|
"use strict";
|
|
151
147
|
_class_call_check(this, DataStorageDoc);
|
|
148
|
+
var _ref, _ref1;
|
|
152
149
|
_define_property(this, "type", void 0);
|
|
153
150
|
_define_property(this, "customOptions", void 0);
|
|
154
|
-
|
|
155
|
-
this.
|
|
156
|
-
var _props_customOptions;
|
|
157
|
-
this.customOptions = (_props_customOptions = props === null || props === void 0 ? void 0 : props.customOptions) !== null && _props_customOptions !== void 0 ? _props_customOptions : [];
|
|
151
|
+
this.type = (_ref = props === null || props === void 0 ? void 0 : props.type) !== null && _ref !== void 0 ? _ref : 'firstThree';
|
|
152
|
+
this.customOptions = (_ref1 = props === null || props === void 0 ? void 0 : props.customOptions) !== null && _ref1 !== void 0 ? _ref1 : [];
|
|
158
153
|
};
|
|
159
154
|
export var FormBind = function FormBind(props) {
|
|
160
155
|
"use strict";
|
|
161
156
|
_class_call_check(this, FormBind);
|
|
157
|
+
var _ref, _ref1, _ref2;
|
|
162
158
|
_define_property(this, "dataCode", void 0);
|
|
163
159
|
_define_property(this, "formKey", void 0);
|
|
164
160
|
_define_property(this, "appId", void 0);
|
|
165
|
-
|
|
166
|
-
this.
|
|
167
|
-
|
|
168
|
-
this.formKey = (_props_formKey = props === null || props === void 0 ? void 0 : props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : '';
|
|
169
|
-
var _props_appId;
|
|
170
|
-
this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : '';
|
|
161
|
+
this.dataCode = (_ref = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _ref !== void 0 ? _ref : '';
|
|
162
|
+
this.formKey = (_ref1 = props === null || props === void 0 ? void 0 : props.formKey) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
163
|
+
this.appId = (_ref2 = props === null || props === void 0 ? void 0 : props.appId) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
171
164
|
};
|
|
172
165
|
export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
173
166
|
"use strict";
|
|
@@ -175,11 +168,11 @@ export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
|
175
168
|
function FormSelectBind(props) {
|
|
176
169
|
_class_call_check(this, FormSelectBind);
|
|
177
170
|
var _this;
|
|
171
|
+
var _ref;
|
|
178
172
|
_this = _call_super(this, FormSelectBind, [
|
|
179
173
|
props
|
|
180
174
|
]), _define_property(_this, "primaryControlId", void 0);
|
|
181
|
-
|
|
182
|
-
_this.primaryControlId = (_props_primaryControlId = props === null || props === void 0 ? void 0 : props.primaryControlId) !== null && _props_primaryControlId !== void 0 ? _props_primaryControlId : '';
|
|
175
|
+
_this.primaryControlId = (_ref = props === null || props === void 0 ? void 0 : props.primaryControlId) !== null && _ref !== void 0 ? _ref : '';
|
|
183
176
|
return _this;
|
|
184
177
|
}
|
|
185
178
|
return FormSelectBind;
|
|
@@ -190,21 +183,21 @@ export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
|
190
183
|
*/ var ListBindHeaderItem = function ListBindHeaderItem(props) {
|
|
191
184
|
"use strict";
|
|
192
185
|
_class_call_check(this, ListBindHeaderItem);
|
|
186
|
+
var _ref, _ref1;
|
|
193
187
|
/**
|
|
194
188
|
* 字段
|
|
195
189
|
* @defaultValue ''
|
|
196
190
|
*/ _define_property(this, "fieldCode", void 0);
|
|
197
191
|
_define_property(this, "dataCode", void 0);
|
|
198
|
-
|
|
199
|
-
this.
|
|
200
|
-
var _props_dataCode;
|
|
201
|
-
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : '';
|
|
192
|
+
this.fieldCode = (_ref = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _ref !== void 0 ? _ref : '';
|
|
193
|
+
this.dataCode = (_ref1 = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
202
194
|
};
|
|
203
195
|
/**
|
|
204
196
|
* 列表绑定配置
|
|
205
197
|
*/ export var ListBind = function ListBind(props) {
|
|
206
198
|
"use strict";
|
|
207
199
|
_class_call_check(this, ListBind);
|
|
200
|
+
var _ref, _ref1, _ref2;
|
|
208
201
|
var _props_headers;
|
|
209
202
|
/**
|
|
210
203
|
* 应用ID
|
|
@@ -218,27 +211,22 @@ export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
|
218
211
|
* 显示字段
|
|
219
212
|
* @public
|
|
220
213
|
*/ _define_property(this, "headers", void 0);
|
|
221
|
-
|
|
222
|
-
this.
|
|
223
|
-
|
|
224
|
-
this.formKey = (_props_formKey = props === null || props === void 0 ? void 0 : props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : '';
|
|
225
|
-
var _props_headers_map;
|
|
226
|
-
this.headers = (_props_headers_map = props === null || props === void 0 ? void 0 : (_props_headers = props.headers) === null || _props_headers === void 0 ? void 0 : _props_headers.map(function(item) {
|
|
214
|
+
this.appId = (_ref = props === null || props === void 0 ? void 0 : props.appId) !== null && _ref !== void 0 ? _ref : '';
|
|
215
|
+
this.formKey = (_ref1 = props === null || props === void 0 ? void 0 : props.formKey) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
216
|
+
this.headers = (_ref2 = props === null || props === void 0 ? void 0 : (_props_headers = props.headers) === null || _props_headers === void 0 ? void 0 : _props_headers.map(function(item) {
|
|
227
217
|
return new ListBindHeaderItem(item);
|
|
228
|
-
})) !== null &&
|
|
218
|
+
})) !== null && _ref2 !== void 0 ? _ref2 : [];
|
|
229
219
|
};
|
|
230
220
|
export var FieldBindItem = function FieldBindItem(props) {
|
|
231
221
|
"use strict";
|
|
232
222
|
_class_call_check(this, FieldBindItem);
|
|
223
|
+
var _ref, _ref1, _ref2;
|
|
233
224
|
_define_property(this, "fieldName", void 0);
|
|
234
225
|
_define_property(this, "fieldCode", void 0);
|
|
235
226
|
_define_property(this, "fieldType", void 0);
|
|
236
|
-
|
|
237
|
-
this.
|
|
238
|
-
|
|
239
|
-
this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : '';
|
|
240
|
-
var _props_fieldType;
|
|
241
|
-
this.fieldType = (_props_fieldType = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _props_fieldType !== void 0 ? _props_fieldType : FieldTypes.VARCHAR;
|
|
227
|
+
this.fieldName = (_ref = props === null || props === void 0 ? void 0 : props.fieldName) !== null && _ref !== void 0 ? _ref : '';
|
|
228
|
+
this.fieldCode = (_ref1 = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
229
|
+
this.fieldType = (_ref2 = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _ref2 !== void 0 ? _ref2 : FieldTypes.VARCHAR;
|
|
242
230
|
};
|
|
243
231
|
export var SubListItem = /*#__PURE__*/ function(FormBind) {
|
|
244
232
|
"use strict";
|
|
@@ -246,17 +234,14 @@ export var SubListItem = /*#__PURE__*/ function(FormBind) {
|
|
|
246
234
|
function SubListItem(props) {
|
|
247
235
|
_class_call_check(this, SubListItem);
|
|
248
236
|
var _this;
|
|
237
|
+
var _ref, _ref1, _ref2, _ref3;
|
|
249
238
|
_this = _call_super(this, SubListItem, [
|
|
250
239
|
props
|
|
251
240
|
]), _define_property(_this, "title", void 0), _define_property(_this, "svcCode", void 0), _define_property(_this, "isOpenFilter", void 0), _define_property(_this, "filters", void 0);
|
|
252
|
-
|
|
253
|
-
_this.
|
|
254
|
-
|
|
255
|
-
_this.
|
|
256
|
-
var _props_isOpenFilter;
|
|
257
|
-
_this.isOpenFilter = (_props_isOpenFilter = props === null || props === void 0 ? void 0 : props.isOpenFilter) !== null && _props_isOpenFilter !== void 0 ? _props_isOpenFilter : false;
|
|
258
|
-
var _props_filters;
|
|
259
|
-
_this.filters = (_props_filters = props === null || props === void 0 ? void 0 : props.filters) !== null && _props_filters !== void 0 ? _props_filters : [];
|
|
241
|
+
_this.title = (_ref = props === null || props === void 0 ? void 0 : props.title) !== null && _ref !== void 0 ? _ref : '';
|
|
242
|
+
_this.svcCode = (_ref1 = props === null || props === void 0 ? void 0 : props.svcCode) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
243
|
+
_this.isOpenFilter = (_ref2 = props === null || props === void 0 ? void 0 : props.isOpenFilter) !== null && _ref2 !== void 0 ? _ref2 : false;
|
|
244
|
+
_this.filters = (_ref3 = props === null || props === void 0 ? void 0 : props.filters) !== null && _ref3 !== void 0 ? _ref3 : [];
|
|
260
245
|
return _this;
|
|
261
246
|
}
|
|
262
247
|
return SubListItem;
|
|
@@ -264,20 +249,19 @@ export var SubListItem = /*#__PURE__*/ function(FormBind) {
|
|
|
264
249
|
export var SubListPageConfig = function SubListPageConfig(props) {
|
|
265
250
|
"use strict";
|
|
266
251
|
_class_call_check(this, SubListPageConfig);
|
|
252
|
+
var _ref, _ref1;
|
|
267
253
|
var _props_displayFields, _props_sublists;
|
|
268
254
|
_define_property(this, "type", 'sublist-page');
|
|
269
255
|
_define_property(this, "formBind", void 0);
|
|
270
256
|
_define_property(this, "displayFields", void 0);
|
|
271
257
|
_define_property(this, "sublists", void 0);
|
|
272
258
|
this.formBind = new FormBind(props === null || props === void 0 ? void 0 : props.formBind);
|
|
273
|
-
|
|
274
|
-
this.displayFields = (_props_displayFields_map = props === null || props === void 0 ? void 0 : (_props_displayFields = props.displayFields) === null || _props_displayFields === void 0 ? void 0 : _props_displayFields.map(function(item) {
|
|
259
|
+
this.displayFields = (_ref = props === null || props === void 0 ? void 0 : (_props_displayFields = props.displayFields) === null || _props_displayFields === void 0 ? void 0 : _props_displayFields.map(function(item) {
|
|
275
260
|
return new FieldBindItem(item);
|
|
276
|
-
})) !== null &&
|
|
277
|
-
|
|
278
|
-
this.sublists = (_props_sublists_map = props === null || props === void 0 ? void 0 : (_props_sublists = props.sublists) === null || _props_sublists === void 0 ? void 0 : _props_sublists.map(function(item) {
|
|
261
|
+
})) !== null && _ref !== void 0 ? _ref : [];
|
|
262
|
+
this.sublists = (_ref1 = props === null || props === void 0 ? void 0 : (_props_sublists = props.sublists) === null || _props_sublists === void 0 ? void 0 : _props_sublists.map(function(item) {
|
|
279
263
|
return new SubListItem(item);
|
|
280
|
-
})) !== null &&
|
|
264
|
+
})) !== null && _ref1 !== void 0 ? _ref1 : [];
|
|
281
265
|
};
|
|
282
266
|
export var LeftVariable = function LeftVariable(props) {
|
|
283
267
|
"use strict";
|
|
@@ -292,15 +276,13 @@ export var LeftVariable = function LeftVariable(props) {
|
|
|
292
276
|
export var RightVariable = function RightVariable(props) {
|
|
293
277
|
"use strict";
|
|
294
278
|
_class_call_check(this, RightVariable);
|
|
279
|
+
var _ref, _ref1, _ref2;
|
|
295
280
|
_define_property(this, "type", void 0);
|
|
296
281
|
_define_property(this, "value", void 0);
|
|
297
282
|
_define_property(this, "displayBos", void 0);
|
|
298
|
-
|
|
299
|
-
this.
|
|
300
|
-
|
|
301
|
-
this.value = (_props_value = props === null || props === void 0 ? void 0 : props.value) !== null && _props_value !== void 0 ? _props_value : [];
|
|
302
|
-
var _props_displayBos;
|
|
303
|
-
this.displayBos = (_props_displayBos = props === null || props === void 0 ? void 0 : props.displayBos) !== null && _props_displayBos !== void 0 ? _props_displayBos : [];
|
|
283
|
+
this.type = (_ref = props === null || props === void 0 ? void 0 : props.type) !== null && _ref !== void 0 ? _ref : 'custom';
|
|
284
|
+
this.value = (_ref1 = props === null || props === void 0 ? void 0 : props.value) !== null && _ref1 !== void 0 ? _ref1 : [];
|
|
285
|
+
this.displayBos = (_ref2 = props === null || props === void 0 ? void 0 : props.displayBos) !== null && _ref2 !== void 0 ? _ref2 : [];
|
|
304
286
|
};
|
|
305
287
|
/**
|
|
306
288
|
* 连接符条件
|
|
@@ -309,6 +291,7 @@ export var RightVariable = function RightVariable(props) {
|
|
|
309
291
|
"use strict";
|
|
310
292
|
var _this = this;
|
|
311
293
|
_class_call_check(this, FieldFilterConditions);
|
|
294
|
+
var _ref, _ref1, _ref2, _ref3;
|
|
312
295
|
/**
|
|
313
296
|
* 编号
|
|
314
297
|
* @defaultValue ''
|
|
@@ -333,14 +316,10 @@ export var RightVariable = function RightVariable(props) {
|
|
|
333
316
|
* 包含子项
|
|
334
317
|
* @defaultValue []
|
|
335
318
|
*/ _define_property(this, "children", void 0);
|
|
336
|
-
|
|
337
|
-
this.
|
|
338
|
-
|
|
339
|
-
this.
|
|
340
|
-
var _props_level;
|
|
341
|
-
this.level = (_props_level = props === null || props === void 0 ? void 0 : props.level) !== null && _props_level !== void 0 ? _props_level : 0;
|
|
342
|
-
var _props_value;
|
|
343
|
-
this.value = (_props_value = props === null || props === void 0 ? void 0 : props.value) !== null && _props_value !== void 0 ? _props_value : 'and';
|
|
319
|
+
this.id = (_ref = props === null || props === void 0 ? void 0 : props.id) !== null && _ref !== void 0 ? _ref : genNonDuplicateId();
|
|
320
|
+
this.ruleId = (_ref1 = props === null || props === void 0 ? void 0 : props.ruleId) !== null && _ref1 !== void 0 ? _ref1 : new Date().valueOf();
|
|
321
|
+
this.level = (_ref2 = props === null || props === void 0 ? void 0 : props.level) !== null && _ref2 !== void 0 ? _ref2 : 0;
|
|
322
|
+
this.value = (_ref3 = props === null || props === void 0 ? void 0 : props.value) !== null && _ref3 !== void 0 ? _ref3 : 'and';
|
|
344
323
|
this.children = [];
|
|
345
324
|
if (Array.isArray(props === null || props === void 0 ? void 0 : props.children)) {
|
|
346
325
|
props === null || props === void 0 ? void 0 : props.children.map(function(item) {
|
|
@@ -362,6 +341,7 @@ export var RightVariable = function RightVariable(props) {
|
|
|
362
341
|
*/ export var FieldFilterCondition = function FieldFilterCondition(props) {
|
|
363
342
|
"use strict";
|
|
364
343
|
_class_call_check(this, FieldFilterCondition);
|
|
344
|
+
var _ref, _ref1, _ref2, _ref3, _ref4;
|
|
365
345
|
/**
|
|
366
346
|
* 唯一编号
|
|
367
347
|
* @defaultValue ''
|
|
@@ -385,30 +365,24 @@ export var RightVariable = function RightVariable(props) {
|
|
|
385
365
|
/**
|
|
386
366
|
* 右值
|
|
387
367
|
*/ _define_property(this, "rightVariableBo", void 0);
|
|
388
|
-
|
|
389
|
-
this.
|
|
390
|
-
|
|
391
|
-
this.
|
|
392
|
-
|
|
393
|
-
this.symbol = (_props_symbol = props === null || props === void 0 ? void 0 : props.symbol) !== null && _props_symbol !== void 0 ? _props_symbol : '';
|
|
394
|
-
var _props_checked;
|
|
395
|
-
this.checked = (_props_checked = props === null || props === void 0 ? void 0 : props.checked) !== null && _props_checked !== void 0 ? _props_checked : false;
|
|
396
|
-
var _props_describe;
|
|
397
|
-
this.describe = (_props_describe = props === null || props === void 0 ? void 0 : props.describe) !== null && _props_describe !== void 0 ? _props_describe : '';
|
|
368
|
+
this.id = (_ref = props === null || props === void 0 ? void 0 : props.id) !== null && _ref !== void 0 ? _ref : genNonDuplicateId();
|
|
369
|
+
this.ruleId = (_ref1 = props === null || props === void 0 ? void 0 : props.ruleId) !== null && _ref1 !== void 0 ? _ref1 : new Date().valueOf();
|
|
370
|
+
this.symbol = (_ref2 = props === null || props === void 0 ? void 0 : props.symbol) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
371
|
+
this.checked = (_ref3 = props === null || props === void 0 ? void 0 : props.checked) !== null && _ref3 !== void 0 ? _ref3 : false;
|
|
372
|
+
this.describe = (_ref4 = props === null || props === void 0 ? void 0 : props.describe) !== null && _ref4 !== void 0 ? _ref4 : '';
|
|
398
373
|
this.leftVariableBo = new LeftVariable(props === null || props === void 0 ? void 0 : props.leftVariableBo);
|
|
399
374
|
this.rightVariableBo = new RightVariable(props === null || props === void 0 ? void 0 : props.rightVariableBo);
|
|
400
375
|
};
|
|
401
376
|
export var JoinRelation = function JoinRelation(props) {
|
|
402
377
|
"use strict";
|
|
403
378
|
_class_call_check(this, JoinRelation);
|
|
379
|
+
var _ref, _ref1;
|
|
404
380
|
_define_property(this, "aliasCode", void 0);
|
|
405
381
|
_define_property(this, "datasourceBind", void 0);
|
|
406
382
|
_define_property(this, "relationFields", void 0);
|
|
407
|
-
|
|
408
|
-
this.aliasCode = (_props_aliasCode = props === null || props === void 0 ? void 0 : props.aliasCode) !== null && _props_aliasCode !== void 0 ? _props_aliasCode : '';
|
|
383
|
+
this.aliasCode = (_ref = props === null || props === void 0 ? void 0 : props.aliasCode) !== null && _ref !== void 0 ? _ref : '';
|
|
409
384
|
this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
|
|
410
|
-
|
|
411
|
-
this.relationFields = (_props_relationFields = props === null || props === void 0 ? void 0 : props.relationFields) !== null && _props_relationFields !== void 0 ? _props_relationFields : [];
|
|
385
|
+
this.relationFields = (_ref1 = props === null || props === void 0 ? void 0 : props.relationFields) !== null && _ref1 !== void 0 ? _ref1 : [];
|
|
412
386
|
};
|
|
413
387
|
/**
|
|
414
388
|
* 数据填充项
|
|
@@ -416,6 +390,7 @@ export var JoinRelation = function JoinRelation(props) {
|
|
|
416
390
|
*/ export var MultistageFillingItem = function MultistageFillingItem(props) {
|
|
417
391
|
"use strict";
|
|
418
392
|
_class_call_check(this, MultistageFillingItem);
|
|
393
|
+
var _ref, _ref1, _ref2, _ref3;
|
|
419
394
|
/**
|
|
420
395
|
* 控件ID
|
|
421
396
|
* @defaultValue ''
|
|
@@ -436,14 +411,10 @@ export var JoinRelation = function JoinRelation(props) {
|
|
|
436
411
|
* @defaultValue ''
|
|
437
412
|
* @public
|
|
438
413
|
* */ _define_property(this, "propName", void 0);
|
|
439
|
-
|
|
440
|
-
this.
|
|
441
|
-
|
|
442
|
-
this.
|
|
443
|
-
var _props_fieldType;
|
|
444
|
-
this.fieldType = (_props_fieldType = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _props_fieldType !== void 0 ? _props_fieldType : '';
|
|
445
|
-
var _props_propName;
|
|
446
|
-
this.propName = (_props_propName = props === null || props === void 0 ? void 0 : props.propName) !== null && _props_propName !== void 0 ? _props_propName : '';
|
|
414
|
+
this.controlId = (_ref = props === null || props === void 0 ? void 0 : props.controlId) !== null && _ref !== void 0 ? _ref : '';
|
|
415
|
+
this.fieldCode = (_ref1 = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
416
|
+
this.fieldType = (_ref2 = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
417
|
+
this.propName = (_ref3 = props === null || props === void 0 ? void 0 : props.propName) !== null && _ref3 !== void 0 ? _ref3 : '';
|
|
447
418
|
};
|
|
448
419
|
/**
|
|
449
420
|
* 显示项
|
|
@@ -451,6 +422,7 @@ export var JoinRelation = function JoinRelation(props) {
|
|
|
451
422
|
*/ export var DisplayBoListItem = function DisplayBoListItem(props) {
|
|
452
423
|
"use strict";
|
|
453
424
|
_class_call_check(this, DisplayBoListItem);
|
|
425
|
+
var _ref, _ref1;
|
|
454
426
|
/**
|
|
455
427
|
* 显示项类型:字段 | 符号
|
|
456
428
|
* @defaultValue 'FIELD'
|
|
@@ -462,10 +434,8 @@ export var JoinRelation = function JoinRelation(props) {
|
|
|
462
434
|
/**
|
|
463
435
|
* 字段数据类型
|
|
464
436
|
*/ _define_property(this, "fieldType", void 0);
|
|
465
|
-
|
|
466
|
-
this.
|
|
467
|
-
var _props_value;
|
|
468
|
-
this.value = (_props_value = props === null || props === void 0 ? void 0 : props.value) !== null && _props_value !== void 0 ? _props_value : '';
|
|
437
|
+
this.type = (_ref = props === null || props === void 0 ? void 0 : props.type) !== null && _ref !== void 0 ? _ref : 'FIELD';
|
|
438
|
+
this.value = (_ref1 = props === null || props === void 0 ? void 0 : props.value) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
469
439
|
this.fieldType = props === null || props === void 0 ? void 0 : props.fieldType;
|
|
470
440
|
};
|
|
471
441
|
/**
|
|
@@ -474,6 +444,7 @@ export var JoinRelation = function JoinRelation(props) {
|
|
|
474
444
|
*/ export var DataSourceOrderItem = function DataSourceOrderItem(props) {
|
|
475
445
|
"use strict";
|
|
476
446
|
_class_call_check(this, DataSourceOrderItem);
|
|
447
|
+
var _props_columnName, _props_desc;
|
|
477
448
|
/**
|
|
478
449
|
* 列名
|
|
479
450
|
* @defaultValue ''
|
|
@@ -482,30 +453,27 @@ export var JoinRelation = function JoinRelation(props) {
|
|
|
482
453
|
* 倒序
|
|
483
454
|
* @defaultValue false
|
|
484
455
|
*/ _define_property(this, "desc", void 0);
|
|
485
|
-
var _props_columnName;
|
|
486
456
|
this.columnName = (_props_columnName = props.columnName) !== null && _props_columnName !== void 0 ? _props_columnName : '';
|
|
487
|
-
var _props_desc;
|
|
488
457
|
this.desc = (_props_desc = props.desc) !== null && _props_desc !== void 0 ? _props_desc : false;
|
|
489
458
|
};
|
|
490
459
|
export var DataSourceDataSetValue = function DataSourceDataSetValue(props) {
|
|
491
460
|
"use strict";
|
|
492
461
|
_class_call_check(this, DataSourceDataSetValue);
|
|
462
|
+
var _props_code, _props_value, _props_field_type;
|
|
493
463
|
// fieldCode
|
|
494
464
|
_define_property(this, "code", void 0);
|
|
495
465
|
// 值
|
|
496
466
|
_define_property(this, "value", void 0);
|
|
497
467
|
// 数据类型
|
|
498
468
|
_define_property(this, "field_type", void 0);
|
|
499
|
-
var _props_code;
|
|
500
469
|
this.code = (_props_code = props.code) !== null && _props_code !== void 0 ? _props_code : '';
|
|
501
|
-
var _props_value;
|
|
502
470
|
this.value = (_props_value = props.value) !== null && _props_value !== void 0 ? _props_value : '';
|
|
503
|
-
var _props_field_type;
|
|
504
471
|
this.field_type = (_props_field_type = props.field_type) !== null && _props_field_type !== void 0 ? _props_field_type : FieldTypes.ANY;
|
|
505
472
|
};
|
|
506
473
|
export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
507
474
|
"use strict";
|
|
508
475
|
_class_call_check(this, DataSourceParamItem);
|
|
476
|
+
var _props_id, _props_limit, _props_formKey, _ref, _ref1;
|
|
509
477
|
var _props_orders, _props_dataSet;
|
|
510
478
|
/**
|
|
511
479
|
* 字段ID
|
|
@@ -514,44 +482,37 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
|
514
482
|
_define_property(this, "orders", void 0);
|
|
515
483
|
_define_property(this, "formKey", void 0);
|
|
516
484
|
_define_property(this, "dataSet", void 0);
|
|
517
|
-
var _props_id;
|
|
518
485
|
//字段ID,不可以当作随机数生成唯一编号
|
|
519
486
|
this.id = (_props_id = props.id) !== null && _props_id !== void 0 ? _props_id : '';
|
|
520
|
-
var _props_limit;
|
|
521
487
|
this.limit = (_props_limit = props.limit) !== null && _props_limit !== void 0 ? _props_limit : 20;
|
|
522
|
-
var _props_formKey;
|
|
523
488
|
this.formKey = (_props_formKey = props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : '';
|
|
524
|
-
|
|
525
|
-
this.orders = (_props_orders_map = (_props_orders = props.orders) === null || _props_orders === void 0 ? void 0 : _props_orders.map(function(item) {
|
|
489
|
+
this.orders = (_ref = (_props_orders = props.orders) === null || _props_orders === void 0 ? void 0 : _props_orders.map(function(item) {
|
|
526
490
|
return new DataSourceOrderItem(item);
|
|
527
|
-
})) !== null &&
|
|
528
|
-
|
|
529
|
-
this.dataSet = (_props_dataSet_map = (_props_dataSet = props.dataSet) === null || _props_dataSet === void 0 ? void 0 : _props_dataSet.map(function(item) {
|
|
491
|
+
})) !== null && _ref !== void 0 ? _ref : [];
|
|
492
|
+
this.dataSet = (_ref1 = (_props_dataSet = props.dataSet) === null || _props_dataSet === void 0 ? void 0 : _props_dataSet.map(function(item) {
|
|
530
493
|
return new DataSourceDataSetValue(item);
|
|
531
|
-
})) !== null &&
|
|
494
|
+
})) !== null && _ref1 !== void 0 ? _ref1 : [];
|
|
532
495
|
};
|
|
533
496
|
/**
|
|
534
497
|
* 给filters和orders赋值
|
|
535
498
|
* */ function callFiltersAndOrders(props) {
|
|
499
|
+
var _ref, _ref1, _ref2;
|
|
536
500
|
var _props_filters, _props_viewFilters, _props_orders;
|
|
537
|
-
|
|
538
|
-
this.filters = (_props_filters_map = props === null || props === void 0 ? void 0 : (_props_filters = props.filters) === null || _props_filters === void 0 ? void 0 : _props_filters.map(function(item) {
|
|
501
|
+
this.filters = (_ref = props === null || props === void 0 ? void 0 : (_props_filters = props.filters) === null || _props_filters === void 0 ? void 0 : _props_filters.map(function(item) {
|
|
539
502
|
if (item.children !== undefined) {
|
|
540
503
|
return new FieldFilterConditions(item);
|
|
541
504
|
}
|
|
542
505
|
return new FieldFilterCondition(item);
|
|
543
|
-
})) !== null &&
|
|
544
|
-
|
|
545
|
-
this.viewFilters = (_props_viewFilters_map = props === null || props === void 0 ? void 0 : (_props_viewFilters = props.viewFilters) === null || _props_viewFilters === void 0 ? void 0 : _props_viewFilters.map(function(item) {
|
|
506
|
+
})) !== null && _ref !== void 0 ? _ref : [];
|
|
507
|
+
this.viewFilters = (_ref1 = props === null || props === void 0 ? void 0 : (_props_viewFilters = props.viewFilters) === null || _props_viewFilters === void 0 ? void 0 : _props_viewFilters.map(function(item) {
|
|
546
508
|
if (item.children !== undefined) {
|
|
547
509
|
return new FieldFilterConditions(item);
|
|
548
510
|
}
|
|
549
511
|
return new FieldFilterCondition(item);
|
|
550
|
-
})) !== null &&
|
|
551
|
-
|
|
552
|
-
this.orders = (_props_orders_map = props === null || props === void 0 ? void 0 : (_props_orders = props.orders) === null || _props_orders === void 0 ? void 0 : _props_orders.map(function(item) {
|
|
512
|
+
})) !== null && _ref1 !== void 0 ? _ref1 : [];
|
|
513
|
+
this.orders = (_ref2 = props === null || props === void 0 ? void 0 : (_props_orders = props.orders) === null || _props_orders === void 0 ? void 0 : _props_orders.map(function(item) {
|
|
553
514
|
return new DataSourceOrderItem(item);
|
|
554
|
-
})) !== null &&
|
|
515
|
+
})) !== null && _ref2 !== void 0 ? _ref2 : [];
|
|
555
516
|
// }
|
|
556
517
|
}
|
|
557
518
|
/**
|
|
@@ -561,6 +522,7 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
|
561
522
|
"use strict";
|
|
562
523
|
var _this = this;
|
|
563
524
|
_class_call_check(this, DataSourceBind);
|
|
525
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7;
|
|
564
526
|
/**
|
|
565
527
|
* 绑定数据源id
|
|
566
528
|
* @defaultValue ''
|
|
@@ -627,35 +589,28 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
|
627
589
|
* @defaultValue {}
|
|
628
590
|
* @public
|
|
629
591
|
*/ _define_property(this, "openAssignDepartment", void 0);
|
|
630
|
-
|
|
631
|
-
this.
|
|
632
|
-
|
|
633
|
-
this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : '';
|
|
634
|
-
var _props_valueFieldCode;
|
|
635
|
-
this.valueFieldCode = (_props_valueFieldCode = props === null || props === void 0 ? void 0 : props.valueFieldCode) !== null && _props_valueFieldCode !== void 0 ? _props_valueFieldCode : '';
|
|
592
|
+
this.dataCode = (_ref = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _ref !== void 0 ? _ref : '';
|
|
593
|
+
this.appId = (_ref1 = props === null || props === void 0 ? void 0 : props.appId) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
594
|
+
this.valueFieldCode = (_ref2 = props === null || props === void 0 ? void 0 : props.valueFieldCode) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
636
595
|
this.displayBoList = [];
|
|
637
|
-
|
|
638
|
-
this.isOpenViewFilters = (_props_isOpenViewFilters = props === null || props === void 0 ? void 0 : props.isOpenViewFilters) !== null && _props_isOpenViewFilters !== void 0 ? _props_isOpenViewFilters : 0;
|
|
596
|
+
this.isOpenViewFilters = (_ref3 = props === null || props === void 0 ? void 0 : props.isOpenViewFilters) !== null && _ref3 !== void 0 ? _ref3 : 0;
|
|
639
597
|
if (Array.isArray(props === null || props === void 0 ? void 0 : props.displayBoList)) {
|
|
640
598
|
props === null || props === void 0 ? void 0 : props.displayBoList.map(function(item) {
|
|
641
599
|
var _this_displayBoList;
|
|
642
600
|
(_this_displayBoList = _this.displayBoList) === null || _this_displayBoList === void 0 ? void 0 : _this_displayBoList.push(new DisplayBoListItem(item));
|
|
643
601
|
});
|
|
644
602
|
}
|
|
645
|
-
|
|
646
|
-
this.
|
|
647
|
-
|
|
648
|
-
this.showOrder = (_props_showOrder = props === null || props === void 0 ? void 0 : props.showOrder) !== null && _props_showOrder !== void 0 ? _props_showOrder : true;
|
|
649
|
-
var _props_svcCode;
|
|
650
|
-
this.svcCode = (_props_svcCode = props === null || props === void 0 ? void 0 : props.svcCode) !== null && _props_svcCode !== void 0 ? _props_svcCode : '';
|
|
603
|
+
this.keywordMapping = (_ref4 = props === null || props === void 0 ? void 0 : props.keywordMapping) !== null && _ref4 !== void 0 ? _ref4 : '';
|
|
604
|
+
this.showOrder = (_ref5 = props === null || props === void 0 ? void 0 : props.showOrder) !== null && _ref5 !== void 0 ? _ref5 : true;
|
|
605
|
+
this.svcCode = (_ref6 = props === null || props === void 0 ? void 0 : props.svcCode) !== null && _ref6 !== void 0 ? _ref6 : '';
|
|
651
606
|
this.assignDepartment = new RightVariable(props === null || props === void 0 ? void 0 : props.assignDepartment);
|
|
652
|
-
|
|
653
|
-
this.openAssignDepartment = (_props_openAssignDepartment = props === null || props === void 0 ? void 0 : props.openAssignDepartment) !== null && _props_openAssignDepartment !== void 0 ? _props_openAssignDepartment : false;
|
|
607
|
+
this.openAssignDepartment = (_ref7 = props === null || props === void 0 ? void 0 : props.openAssignDepartment) !== null && _ref7 !== void 0 ? _ref7 : false;
|
|
654
608
|
callFiltersAndOrders.call(this, props);
|
|
655
609
|
};
|
|
656
610
|
export var SelectedContentConfig = function SelectedContentConfig(props) {
|
|
657
611
|
"use strict";
|
|
658
612
|
_class_call_check(this, SelectedContentConfig);
|
|
613
|
+
var _ref, _ref1;
|
|
659
614
|
/**
|
|
660
615
|
* 展示已选内容
|
|
661
616
|
* @defaultValue ''
|
|
@@ -666,14 +621,13 @@ export var SelectedContentConfig = function SelectedContentConfig(props) {
|
|
|
666
621
|
* @defaultValue []
|
|
667
622
|
* @public
|
|
668
623
|
*/ _define_property(this, "displayBoList", void 0);
|
|
669
|
-
|
|
670
|
-
this.
|
|
671
|
-
var _props_displayBoList;
|
|
672
|
-
this.displayBoList = (_props_displayBoList = props === null || props === void 0 ? void 0 : props.displayBoList) !== null && _props_displayBoList !== void 0 ? _props_displayBoList : [];
|
|
624
|
+
this.dataCode = (_ref = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _ref !== void 0 ? _ref : '';
|
|
625
|
+
this.displayBoList = (_ref1 = props === null || props === void 0 ? void 0 : props.displayBoList) !== null && _ref1 !== void 0 ? _ref1 : [];
|
|
673
626
|
};
|
|
674
627
|
export var LinkOperationOption = function LinkOperationOption(props) {
|
|
675
628
|
"use strict";
|
|
676
629
|
_class_call_check(this, LinkOperationOption);
|
|
630
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9;
|
|
677
631
|
_define_property(this, "code", void 0);
|
|
678
632
|
_define_property(this, "color", void 0);
|
|
679
633
|
_define_property(this, "command", void 0);
|
|
@@ -685,43 +639,31 @@ export var LinkOperationOption = function LinkOperationOption(props) {
|
|
|
685
639
|
_define_property(this, "needConfirm", void 0);
|
|
686
640
|
_define_property(this, "openType", void 0);
|
|
687
641
|
_define_property(this, "priorityProcess", void 0);
|
|
688
|
-
|
|
689
|
-
this.
|
|
690
|
-
|
|
691
|
-
this.
|
|
692
|
-
|
|
693
|
-
this.
|
|
694
|
-
var _props_confirmMessage;
|
|
695
|
-
this.confirmMessage = (_props_confirmMessage = props === null || props === void 0 ? void 0 : props.confirmMessage) !== null && _props_confirmMessage !== void 0 ? _props_confirmMessage : undefined;
|
|
696
|
-
var _props_defaultState;
|
|
697
|
-
this.defaultState = (_props_defaultState = props === null || props === void 0 ? void 0 : props.defaultState) !== null && _props_defaultState !== void 0 ? _props_defaultState : 'default';
|
|
698
|
-
var _props_formKey;
|
|
699
|
-
this.formKey = (_props_formKey = props === null || props === void 0 ? void 0 : props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : undefined;
|
|
642
|
+
this.code = (_ref = props === null || props === void 0 ? void 0 : props.code) !== null && _ref !== void 0 ? _ref : 'view';
|
|
643
|
+
this.color = (_ref1 = props === null || props === void 0 ? void 0 : props.color) !== null && _ref1 !== void 0 ? _ref1 : 'primary';
|
|
644
|
+
this.command = (_ref2 = props === null || props === void 0 ? void 0 : props.command) !== null && _ref2 !== void 0 ? _ref2 : 'view';
|
|
645
|
+
this.confirmMessage = (_ref3 = props === null || props === void 0 ? void 0 : props.confirmMessage) !== null && _ref3 !== void 0 ? _ref3 : undefined;
|
|
646
|
+
this.defaultState = (_ref4 = props === null || props === void 0 ? void 0 : props.defaultState) !== null && _ref4 !== void 0 ? _ref4 : 'default';
|
|
647
|
+
this.formKey = (_ref5 = props === null || props === void 0 ? void 0 : props.formKey) !== null && _ref5 !== void 0 ? _ref5 : undefined;
|
|
700
648
|
this.formType = props === null || props === void 0 ? void 0 : props.formType;
|
|
701
|
-
|
|
702
|
-
this.
|
|
703
|
-
|
|
704
|
-
this.
|
|
705
|
-
var _props_openType;
|
|
706
|
-
this.openType = (_props_openType = props === null || props === void 0 ? void 0 : props.openType) !== null && _props_openType !== void 0 ? _props_openType : 'modal';
|
|
707
|
-
var _props_priorityProcess;
|
|
708
|
-
this.priorityProcess = (_props_priorityProcess = props === null || props === void 0 ? void 0 : props.priorityProcess) !== null && _props_priorityProcess !== void 0 ? _props_priorityProcess : true;
|
|
649
|
+
this.icon = (_ref6 = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref6 !== void 0 ? _ref6 : 'iconliulan1';
|
|
650
|
+
this.needConfirm = (_ref7 = props === null || props === void 0 ? void 0 : props.needConfirm) !== null && _ref7 !== void 0 ? _ref7 : false;
|
|
651
|
+
this.openType = (_ref8 = props === null || props === void 0 ? void 0 : props.openType) !== null && _ref8 !== void 0 ? _ref8 : 'modal';
|
|
652
|
+
this.priorityProcess = (_ref9 = props === null || props === void 0 ? void 0 : props.priorityProcess) !== null && _ref9 !== void 0 ? _ref9 : true;
|
|
709
653
|
};
|
|
710
654
|
export var CustomAttributeItem = function CustomAttributeItem(props) {
|
|
711
655
|
"use strict";
|
|
712
656
|
_class_call_check(this, CustomAttributeItem);
|
|
657
|
+
var _ref, _ref1, _ref2;
|
|
713
658
|
var _props_value;
|
|
714
659
|
_define_property(this, "name", void 0);
|
|
715
660
|
_define_property(this, "key", void 0);
|
|
716
661
|
_define_property(this, "value", void 0);
|
|
717
|
-
|
|
718
|
-
this.
|
|
719
|
-
|
|
720
|
-
this.key = (_props_key = props === null || props === void 0 ? void 0 : props.key) !== null && _props_key !== void 0 ? _props_key : '';
|
|
721
|
-
var _props_value_map;
|
|
722
|
-
this.value = (_props_value_map = props === null || props === void 0 ? void 0 : (_props_value = props.value) === null || _props_value === void 0 ? void 0 : _props_value.map(function(item) {
|
|
662
|
+
this.name = (_ref = props === null || props === void 0 ? void 0 : props.name) !== null && _ref !== void 0 ? _ref : '';
|
|
663
|
+
this.key = (_ref1 = props === null || props === void 0 ? void 0 : props.key) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
664
|
+
this.value = (_ref2 = props === null || props === void 0 ? void 0 : (_props_value = props.value) === null || _props_value === void 0 ? void 0 : _props_value.map(function(item) {
|
|
723
665
|
return new DisplayBoListItem(item);
|
|
724
|
-
})) !== null &&
|
|
666
|
+
})) !== null && _ref2 !== void 0 ? _ref2 : [];
|
|
725
667
|
};
|
|
726
668
|
export var SuperDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
727
669
|
"use strict";
|
|
@@ -729,14 +671,14 @@ export var SuperDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
|
729
671
|
function SuperDataSourceBind(props) {
|
|
730
672
|
_class_call_check(this, SuperDataSourceBind);
|
|
731
673
|
var _this;
|
|
674
|
+
var _ref;
|
|
732
675
|
var _props_attributes;
|
|
733
676
|
_this = _call_super(this, SuperDataSourceBind, [
|
|
734
677
|
props
|
|
735
678
|
]), _define_property(_this, "attributes", void 0);
|
|
736
|
-
|
|
737
|
-
_this.attributes = (_props_attributes_map = props === null || props === void 0 ? void 0 : (_props_attributes = props.attributes) === null || _props_attributes === void 0 ? void 0 : _props_attributes.map(function(item) {
|
|
679
|
+
_this.attributes = (_ref = props === null || props === void 0 ? void 0 : (_props_attributes = props.attributes) === null || _props_attributes === void 0 ? void 0 : _props_attributes.map(function(item) {
|
|
738
680
|
return new CustomAttributeItem(item);
|
|
739
|
-
})) !== null &&
|
|
681
|
+
})) !== null && _ref !== void 0 ? _ref : [];
|
|
740
682
|
return _this;
|
|
741
683
|
}
|
|
742
684
|
return SuperDataSourceBind;
|
|
@@ -747,16 +689,15 @@ export var OrganizationDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
|
747
689
|
function OrganizationDataSourceBind(props) {
|
|
748
690
|
_class_call_check(this, OrganizationDataSourceBind);
|
|
749
691
|
var _this;
|
|
692
|
+
var _ref, _ref1;
|
|
750
693
|
var _props_attributes;
|
|
751
694
|
_this = _call_super(this, OrganizationDataSourceBind, [
|
|
752
695
|
props
|
|
753
696
|
]), _define_property(_this, "attributes", void 0), _define_property(_this, "formCode", void 0);
|
|
754
|
-
|
|
755
|
-
_this.attributes = (_props_attributes_map = props === null || props === void 0 ? void 0 : (_props_attributes = props.attributes) === null || _props_attributes === void 0 ? void 0 : _props_attributes.map(function(item) {
|
|
697
|
+
_this.attributes = (_ref = props === null || props === void 0 ? void 0 : (_props_attributes = props.attributes) === null || _props_attributes === void 0 ? void 0 : _props_attributes.map(function(item) {
|
|
756
698
|
return new CustomAttributeItem(item);
|
|
757
|
-
})) !== null &&
|
|
758
|
-
|
|
759
|
-
_this.formCode = (_props_formCode = props === null || props === void 0 ? void 0 : props.formCode) !== null && _props_formCode !== void 0 ? _props_formCode : '';
|
|
699
|
+
})) !== null && _ref !== void 0 ? _ref : [];
|
|
700
|
+
_this.formCode = (_ref1 = props === null || props === void 0 ? void 0 : props.formCode) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
760
701
|
return _this;
|
|
761
702
|
}
|
|
762
703
|
return OrganizationDataSourceBind;
|
|
@@ -767,12 +708,12 @@ export var TreeDataSourceBind = /*#__PURE__*/ function(SuperDataSourceBind) {
|
|
|
767
708
|
function TreeDataSourceBind(props) {
|
|
768
709
|
_class_call_check(this, TreeDataSourceBind);
|
|
769
710
|
var _this;
|
|
711
|
+
var _ref;
|
|
770
712
|
_this = _call_super(this, TreeDataSourceBind, [
|
|
771
713
|
props
|
|
772
714
|
]), _define_property(_this, "rootNode", void 0), _define_property(_this, "filterCode", void 0);
|
|
773
715
|
_this.rootNode = new RightVariable(props === null || props === void 0 ? void 0 : props.rootNode);
|
|
774
|
-
|
|
775
|
-
_this.filterCode = (_props_filterCode = props === null || props === void 0 ? void 0 : props.filterCode) !== null && _props_filterCode !== void 0 ? _props_filterCode : '';
|
|
716
|
+
_this.filterCode = (_ref = props === null || props === void 0 ? void 0 : props.filterCode) !== null && _ref !== void 0 ? _ref : '';
|
|
776
717
|
return _this;
|
|
777
718
|
}
|
|
778
719
|
return TreeDataSourceBind;
|
|
@@ -780,6 +721,7 @@ export var TreeDataSourceBind = /*#__PURE__*/ function(SuperDataSourceBind) {
|
|
|
780
721
|
var FillBind = function FillBind(props) {
|
|
781
722
|
"use strict";
|
|
782
723
|
_class_call_check(this, FillBind);
|
|
724
|
+
var _ref, _ref1, _ref2;
|
|
783
725
|
var _props_fillList;
|
|
784
726
|
/*
|
|
785
727
|
* 需要被填充的数据源
|
|
@@ -790,14 +732,11 @@ var FillBind = function FillBind(props) {
|
|
|
790
732
|
/*
|
|
791
733
|
* 执行填充的数据项和控件
|
|
792
734
|
* */ _define_property(this, "fillList", void 0);
|
|
793
|
-
|
|
794
|
-
this.
|
|
795
|
-
|
|
796
|
-
this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : '';
|
|
797
|
-
var _props_fillList_map;
|
|
798
|
-
this.fillList = (_props_fillList_map = props === null || props === void 0 ? void 0 : (_props_fillList = props.fillList) === null || _props_fillList === void 0 ? void 0 : _props_fillList.map(function(item) {
|
|
735
|
+
this.dataCode = (_ref = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _ref !== void 0 ? _ref : '';
|
|
736
|
+
this.appId = (_ref1 = props === null || props === void 0 ? void 0 : props.appId) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
737
|
+
this.fillList = (_ref2 = props === null || props === void 0 ? void 0 : (_props_fillList = props.fillList) === null || _props_fillList === void 0 ? void 0 : _props_fillList.map(function(item) {
|
|
799
738
|
return new MultistageFillingItem(item);
|
|
800
|
-
})) !== null &&
|
|
739
|
+
})) !== null && _ref2 !== void 0 ? _ref2 : [];
|
|
801
740
|
};
|
|
802
741
|
/**
|
|
803
742
|
* FillPayloadBind 填充配置
|
|
@@ -838,6 +777,7 @@ var FillBind = function FillBind(props) {
|
|
|
838
777
|
function FillBackBind(props) {
|
|
839
778
|
_class_call_check(this, FillBackBind);
|
|
840
779
|
var _this;
|
|
780
|
+
var _ref, _ref1;
|
|
841
781
|
_this = _call_super(this, FillBackBind, [
|
|
842
782
|
props
|
|
843
783
|
]), /**
|
|
@@ -849,10 +789,8 @@ var FillBind = function FillBind(props) {
|
|
|
849
789
|
* @defaultValue false
|
|
850
790
|
* @public
|
|
851
791
|
*/ _define_property(_this, "multiple", void 0);
|
|
852
|
-
|
|
853
|
-
_this.
|
|
854
|
-
var _props_multiple;
|
|
855
|
-
_this.multiple = (_props_multiple = props === null || props === void 0 ? void 0 : props.multiple) !== null && _props_multiple !== void 0 ? _props_multiple : false;
|
|
792
|
+
_this.mode = (_ref = props === null || props === void 0 ? void 0 : props.mode) !== null && _ref !== void 0 ? _ref : 'current';
|
|
793
|
+
_this.multiple = (_ref1 = props === null || props === void 0 ? void 0 : props.multiple) !== null && _ref1 !== void 0 ? _ref1 : false;
|
|
856
794
|
return _this;
|
|
857
795
|
}
|
|
858
796
|
return FillBackBind;
|
|
@@ -860,15 +798,13 @@ var FillBind = function FillBind(props) {
|
|
|
860
798
|
export var Language = function Language(props) {
|
|
861
799
|
"use strict";
|
|
862
800
|
_class_call_check(this, Language);
|
|
801
|
+
var _ref, _ref1, _ref2;
|
|
863
802
|
_define_property(this, "zh", void 0);
|
|
864
803
|
_define_property(this, "en", void 0);
|
|
865
804
|
_define_property(this, "ja", void 0);
|
|
866
|
-
|
|
867
|
-
this.
|
|
868
|
-
|
|
869
|
-
this.en = (_props_en = props === null || props === void 0 ? void 0 : props.en) !== null && _props_en !== void 0 ? _props_en : '';
|
|
870
|
-
var _props_ja;
|
|
871
|
-
this.ja = (_props_ja = props === null || props === void 0 ? void 0 : props.ja) !== null && _props_ja !== void 0 ? _props_ja : '';
|
|
805
|
+
this.zh = (_ref = props === null || props === void 0 ? void 0 : props.zh) !== null && _ref !== void 0 ? _ref : '';
|
|
806
|
+
this.en = (_ref1 = props === null || props === void 0 ? void 0 : props.en) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
807
|
+
this.ja = (_ref2 = props === null || props === void 0 ? void 0 : props.ja) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
872
808
|
};
|
|
873
809
|
/**
|
|
874
810
|
* 正则校验
|
|
@@ -876,6 +812,7 @@ export var Language = function Language(props) {
|
|
|
876
812
|
*/ export var RegularRules = function RegularRules(props) {
|
|
877
813
|
"use strict";
|
|
878
814
|
_class_call_check(this, RegularRules);
|
|
815
|
+
var _ref, _ref1, _ref2;
|
|
879
816
|
/**
|
|
880
817
|
* 内置模版
|
|
881
818
|
* @defaultValue ''
|
|
@@ -888,12 +825,9 @@ export var Language = function Language(props) {
|
|
|
888
825
|
* 校验错误提示信息
|
|
889
826
|
* @defaultValue ''
|
|
890
827
|
*/ _define_property(this, "errMessage", void 0);
|
|
891
|
-
|
|
892
|
-
this.
|
|
893
|
-
|
|
894
|
-
this.expression = (_props_expression = props === null || props === void 0 ? void 0 : props.expression) !== null && _props_expression !== void 0 ? _props_expression : '';
|
|
895
|
-
var _props_errMessage;
|
|
896
|
-
this.errMessage = (_props_errMessage = props === null || props === void 0 ? void 0 : props.errMessage) !== null && _props_errMessage !== void 0 ? _props_errMessage : '';
|
|
828
|
+
this.stencilName = (_ref = props === null || props === void 0 ? void 0 : props.stencilName) !== null && _ref !== void 0 ? _ref : '';
|
|
829
|
+
this.expression = (_ref1 = props === null || props === void 0 ? void 0 : props.expression) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
830
|
+
this.errMessage = (_ref2 = props === null || props === void 0 ? void 0 : props.errMessage) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
897
831
|
};
|
|
898
832
|
/**
|
|
899
833
|
* 选项设置-自定义选项
|
|
@@ -901,6 +835,7 @@ export var Language = function Language(props) {
|
|
|
901
835
|
*/ export var OptionSetting = function OptionSetting(props) {
|
|
902
836
|
"use strict";
|
|
903
837
|
_class_call_check(this, OptionSetting);
|
|
838
|
+
var _ref, _ref1, _ref2;
|
|
904
839
|
_define_property(this, "id", void 0);
|
|
905
840
|
/**
|
|
906
841
|
* 显示值
|
|
@@ -912,12 +847,9 @@ export var Language = function Language(props) {
|
|
|
912
847
|
* @defaultValue this.label
|
|
913
848
|
* @public
|
|
914
849
|
*/ _define_property(this, "value", void 0);
|
|
915
|
-
|
|
916
|
-
this.
|
|
917
|
-
|
|
918
|
-
this.label = (_props_label = props === null || props === void 0 ? void 0 : props.label) !== null && _props_label !== void 0 ? _props_label : '';
|
|
919
|
-
var _props_value;
|
|
920
|
-
this.value = (_props_value = props === null || props === void 0 ? void 0 : props.value) !== null && _props_value !== void 0 ? _props_value : this.label;
|
|
850
|
+
this.id = (_ref = props === null || props === void 0 ? void 0 : props.id) !== null && _ref !== void 0 ? _ref : genNonDuplicateId(8);
|
|
851
|
+
this.label = (_ref1 = props === null || props === void 0 ? void 0 : props.label) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
852
|
+
this.value = (_ref2 = props === null || props === void 0 ? void 0 : props.value) !== null && _ref2 !== void 0 ? _ref2 : this.label;
|
|
921
853
|
};
|
|
922
854
|
export var ImageOptionSetting = /*#__PURE__*/ function(OptionSetting) {
|
|
923
855
|
"use strict";
|
|
@@ -925,28 +857,27 @@ export var ImageOptionSetting = /*#__PURE__*/ function(OptionSetting) {
|
|
|
925
857
|
function ImageOptionSetting(props) {
|
|
926
858
|
_class_call_check(this, ImageOptionSetting);
|
|
927
859
|
var _this;
|
|
860
|
+
var _ref, _ref1;
|
|
928
861
|
_this = _call_super(this, ImageOptionSetting, [
|
|
929
862
|
props
|
|
930
863
|
]), _define_property(_this, "image", void 0), _define_property(_this, "type", void 0);
|
|
931
|
-
|
|
932
|
-
_this.
|
|
933
|
-
var _props_type;
|
|
934
|
-
_this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : 'src';
|
|
864
|
+
_this.image = (_ref = props === null || props === void 0 ? void 0 : props.image) !== null && _ref !== void 0 ? _ref : '';
|
|
865
|
+
_this.type = (_ref1 = props === null || props === void 0 ? void 0 : props.type) !== null && _ref1 !== void 0 ? _ref1 : 'src';
|
|
935
866
|
return _this;
|
|
936
867
|
}
|
|
937
868
|
return ImageOptionSetting;
|
|
938
869
|
}(OptionSetting);
|
|
939
870
|
export function initOptions(options) {
|
|
940
|
-
var
|
|
941
|
-
return (
|
|
871
|
+
var _ref;
|
|
872
|
+
return (_ref = options === null || options === void 0 ? void 0 : options.map(function(item) {
|
|
942
873
|
return new OptionSetting(item);
|
|
943
|
-
})) !== null &&
|
|
874
|
+
})) !== null && _ref !== void 0 ? _ref : [];
|
|
944
875
|
}
|
|
945
876
|
export function initImageOptions(options) {
|
|
946
|
-
var
|
|
947
|
-
return (
|
|
877
|
+
var _ref;
|
|
878
|
+
return (_ref = options === null || options === void 0 ? void 0 : options.map(function(item) {
|
|
948
879
|
return new ImageOptionSetting(item);
|
|
949
|
-
})) !== null &&
|
|
880
|
+
})) !== null && _ref !== void 0 ? _ref : [];
|
|
950
881
|
}
|
|
951
882
|
/**
|
|
952
883
|
* 对象类型数据绑定配置
|
|
@@ -981,6 +912,7 @@ export function initImageOptions(options) {
|
|
|
981
912
|
*/ export var AmountValue = function AmountValue(props) {
|
|
982
913
|
"use strict";
|
|
983
914
|
_class_call_check(this, AmountValue);
|
|
915
|
+
var _ref, _ref1;
|
|
984
916
|
/**
|
|
985
917
|
* 金额值
|
|
986
918
|
* @defaultValue ''
|
|
@@ -989,10 +921,8 @@ export function initImageOptions(options) {
|
|
|
989
921
|
* 货币值
|
|
990
922
|
* @defaultValue 'CNY'
|
|
991
923
|
*/ _define_property(this, "currency", void 0);
|
|
992
|
-
|
|
993
|
-
this.
|
|
994
|
-
var _props_currency;
|
|
995
|
-
this.currency = (_props_currency = props === null || props === void 0 ? void 0 : props.currency) !== null && _props_currency !== void 0 ? _props_currency : "CNY";
|
|
924
|
+
this.amount = (_ref = props === null || props === void 0 ? void 0 : props.amount) !== null && _ref !== void 0 ? _ref : '';
|
|
925
|
+
this.currency = (_ref1 = props === null || props === void 0 ? void 0 : props.currency) !== null && _ref1 !== void 0 ? _ref1 : "CNY";
|
|
996
926
|
};
|
|
997
927
|
/**
|
|
998
928
|
* 日期区间数据绑定项
|
|
@@ -1020,6 +950,7 @@ export function initImageOptions(options) {
|
|
|
1020
950
|
*/ export var RangeDateValue = function RangeDateValue(props) {
|
|
1021
951
|
"use strict";
|
|
1022
952
|
_class_call_check(this, RangeDateValue);
|
|
953
|
+
var _ref, _ref1;
|
|
1023
954
|
/**
|
|
1024
955
|
* 开始日期值
|
|
1025
956
|
* @defaultValue ''
|
|
@@ -1028,10 +959,8 @@ export function initImageOptions(options) {
|
|
|
1028
959
|
* 结束日期值
|
|
1029
960
|
* @defaultValue ''
|
|
1030
961
|
*/ _define_property(this, "max", void 0);
|
|
1031
|
-
|
|
1032
|
-
this.
|
|
1033
|
-
var _props_max;
|
|
1034
|
-
this.max = (_props_max = props === null || props === void 0 ? void 0 : props.max) !== null && _props_max !== void 0 ? _props_max : '';
|
|
962
|
+
this.min = (_ref = props === null || props === void 0 ? void 0 : props.min) !== null && _ref !== void 0 ? _ref : '';
|
|
963
|
+
this.max = (_ref1 = props === null || props === void 0 ? void 0 : props.max) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
1035
964
|
};
|
|
1036
965
|
/**
|
|
1037
966
|
* 地址值
|
|
@@ -1039,6 +968,7 @@ export function initImageOptions(options) {
|
|
|
1039
968
|
*/ export var AddressValue = function AddressValue(props) {
|
|
1040
969
|
"use strict";
|
|
1041
970
|
_class_call_check(this, AddressValue);
|
|
971
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5;
|
|
1042
972
|
/**
|
|
1043
973
|
* 市编码
|
|
1044
974
|
* @defaultValue ''
|
|
@@ -1063,18 +993,12 @@ export function initImageOptions(options) {
|
|
|
1063
993
|
* 省显示文字
|
|
1064
994
|
* @defaultValue ''
|
|
1065
995
|
*/ _define_property(this, "provinceDisplay", void 0);
|
|
1066
|
-
|
|
1067
|
-
this.
|
|
1068
|
-
|
|
1069
|
-
this.
|
|
1070
|
-
|
|
1071
|
-
this.
|
|
1072
|
-
var _props_districtDisplay;
|
|
1073
|
-
this.districtDisplay = (_props_districtDisplay = props === null || props === void 0 ? void 0 : props.districtDisplay) !== null && _props_districtDisplay !== void 0 ? _props_districtDisplay : '';
|
|
1074
|
-
var _props_province;
|
|
1075
|
-
this.province = (_props_province = props === null || props === void 0 ? void 0 : props.province) !== null && _props_province !== void 0 ? _props_province : '';
|
|
1076
|
-
var _props_provinceDisplay;
|
|
1077
|
-
this.provinceDisplay = (_props_provinceDisplay = props === null || props === void 0 ? void 0 : props.provinceDisplay) !== null && _props_provinceDisplay !== void 0 ? _props_provinceDisplay : '';
|
|
996
|
+
this.city = (_ref = props === null || props === void 0 ? void 0 : props.city) !== null && _ref !== void 0 ? _ref : '';
|
|
997
|
+
this.cityDisplay = (_ref1 = props === null || props === void 0 ? void 0 : props.cityDisplay) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
998
|
+
this.district = (_ref2 = props === null || props === void 0 ? void 0 : props.district) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
999
|
+
this.districtDisplay = (_ref3 = props === null || props === void 0 ? void 0 : props.districtDisplay) !== null && _ref3 !== void 0 ? _ref3 : '';
|
|
1000
|
+
this.province = (_ref4 = props === null || props === void 0 ? void 0 : props.province) !== null && _ref4 !== void 0 ? _ref4 : '';
|
|
1001
|
+
this.provinceDisplay = (_ref5 = props === null || props === void 0 ? void 0 : props.provinceDisplay) !== null && _ref5 !== void 0 ? _ref5 : '';
|
|
1078
1002
|
};
|
|
1079
1003
|
/**
|
|
1080
1004
|
* 计算公式数据绑定项
|
|
@@ -1102,6 +1026,7 @@ export function initImageOptions(options) {
|
|
|
1102
1026
|
*/ export var CalcValue = function CalcValue(props) {
|
|
1103
1027
|
"use strict";
|
|
1104
1028
|
_class_call_check(this, CalcValue);
|
|
1029
|
+
var _ref, _ref1;
|
|
1105
1030
|
/**
|
|
1106
1031
|
* 计算结果值
|
|
1107
1032
|
* @defaultValue 0
|
|
@@ -1110,10 +1035,8 @@ export function initImageOptions(options) {
|
|
|
1110
1035
|
* 单位
|
|
1111
1036
|
* @defaultValue ''
|
|
1112
1037
|
*/ _define_property(this, "unit", void 0);
|
|
1113
|
-
|
|
1114
|
-
this.
|
|
1115
|
-
var _props_unit;
|
|
1116
|
-
this.unit = (_props_unit = props === null || props === void 0 ? void 0 : props.unit) !== null && _props_unit !== void 0 ? _props_unit : '';
|
|
1038
|
+
this.result = (_ref = props === null || props === void 0 ? void 0 : props.result) !== null && _ref !== void 0 ? _ref : 0;
|
|
1039
|
+
this.unit = (_ref1 = props === null || props === void 0 ? void 0 : props.unit) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
1117
1040
|
};
|
|
1118
1041
|
// 币种类型
|
|
1119
1042
|
export var AMOUNT_TYPE = /*#__PURE__*/ function(AMOUNT_TYPE) {
|
|
@@ -1208,6 +1131,7 @@ export var PAGE_STATUS = /*#__PURE__*/ function(PAGE_STATUS) {
|
|
|
1208
1131
|
*/ export var OperationItem = function OperationItem(props) {
|
|
1209
1132
|
"use strict";
|
|
1210
1133
|
_class_call_check(this, OperationItem);
|
|
1134
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5;
|
|
1211
1135
|
/**
|
|
1212
1136
|
* 是否显示
|
|
1213
1137
|
* @defaultValue true
|
|
@@ -1234,36 +1158,28 @@ export var PAGE_STATUS = /*#__PURE__*/ function(PAGE_STATUS) {
|
|
|
1234
1158
|
* @public
|
|
1235
1159
|
*/ _define_property(this, "openType", void 0);
|
|
1236
1160
|
_define_property(this, "type", void 0);
|
|
1237
|
-
|
|
1238
|
-
this.
|
|
1239
|
-
|
|
1240
|
-
this.
|
|
1241
|
-
|
|
1242
|
-
this.
|
|
1243
|
-
var _props_openType;
|
|
1244
|
-
this.openType = (_props_openType = props === null || props === void 0 ? void 0 : props.openType) !== null && _props_openType !== void 0 ? _props_openType : 'modal';
|
|
1245
|
-
var _props_type;
|
|
1246
|
-
this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : '';
|
|
1247
|
-
var _props_priorityProcess;
|
|
1248
|
-
this.priorityProcess = (_props_priorityProcess = props === null || props === void 0 ? void 0 : props.priorityProcess) !== null && _props_priorityProcess !== void 0 ? _props_priorityProcess : false;
|
|
1161
|
+
this.isShow = (_ref = props === null || props === void 0 ? void 0 : props.isShow) !== null && _ref !== void 0 ? _ref : true;
|
|
1162
|
+
this.content = (_ref1 = props === null || props === void 0 ? void 0 : props.content) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
1163
|
+
this.formKey = (_ref2 = props === null || props === void 0 ? void 0 : props.formKey) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
1164
|
+
this.openType = (_ref3 = props === null || props === void 0 ? void 0 : props.openType) !== null && _ref3 !== void 0 ? _ref3 : 'modal';
|
|
1165
|
+
this.type = (_ref4 = props === null || props === void 0 ? void 0 : props.type) !== null && _ref4 !== void 0 ? _ref4 : '';
|
|
1166
|
+
this.priorityProcess = (_ref5 = props === null || props === void 0 ? void 0 : props.priorityProcess) !== null && _ref5 !== void 0 ? _ref5 : false;
|
|
1249
1167
|
};
|
|
1250
1168
|
export var ViewOperationItem = function ViewOperationItem(props) {
|
|
1251
1169
|
"use strict";
|
|
1252
1170
|
_class_call_check(this, ViewOperationItem);
|
|
1171
|
+
var _ref, _ref1, _ref2;
|
|
1253
1172
|
var _props_headers;
|
|
1254
1173
|
_define_property(this, "id", void 0);
|
|
1255
1174
|
_define_property(this, "title", void 0);
|
|
1256
1175
|
_define_property(this, "filters", void 0);
|
|
1257
1176
|
_define_property(this, "viewFilters", void 0);
|
|
1258
1177
|
_define_property(this, "headers", void 0);
|
|
1259
|
-
|
|
1260
|
-
this.
|
|
1261
|
-
|
|
1262
|
-
this.title = (_props_title = props === null || props === void 0 ? void 0 : props.title) !== null && _props_title !== void 0 ? _props_title : '';
|
|
1263
|
-
var _props_headers_map;
|
|
1264
|
-
this.headers = (_props_headers_map = props === null || props === void 0 ? void 0 : (_props_headers = props.headers) === null || _props_headers === void 0 ? void 0 : _props_headers.map(function(item) {
|
|
1178
|
+
this.id = (_ref = props === null || props === void 0 ? void 0 : props.id) !== null && _ref !== void 0 ? _ref : genNonDuplicateId(8);
|
|
1179
|
+
this.title = (_ref1 = props === null || props === void 0 ? void 0 : props.title) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
1180
|
+
this.headers = (_ref2 = props === null || props === void 0 ? void 0 : (_props_headers = props.headers) === null || _props_headers === void 0 ? void 0 : _props_headers.map(function(item) {
|
|
1265
1181
|
return new ListBindHeaderItem(item);
|
|
1266
|
-
})) !== null &&
|
|
1182
|
+
})) !== null && _ref2 !== void 0 ? _ref2 : [];
|
|
1267
1183
|
callFiltersAndOrders.call(this, props);
|
|
1268
1184
|
};
|
|
1269
1185
|
/**
|
|
@@ -1271,36 +1187,33 @@ export var ViewOperationItem = function ViewOperationItem(props) {
|
|
|
1271
1187
|
*/ export var CustomPermissionItem = function CustomPermissionItem(props) {
|
|
1272
1188
|
"use strict";
|
|
1273
1189
|
_class_call_check(this, CustomPermissionItem);
|
|
1190
|
+
var _props_key, _props_caption;
|
|
1274
1191
|
/**
|
|
1275
1192
|
* 人工输入的权限key
|
|
1276
1193
|
*/ _define_property(this, "key", void 0);
|
|
1277
1194
|
/**
|
|
1278
1195
|
* 权限名称
|
|
1279
1196
|
*/ _define_property(this, "caption", void 0);
|
|
1280
|
-
var _props_key;
|
|
1281
1197
|
this.key = (_props_key = props.key) !== null && _props_key !== void 0 ? _props_key : genNonDuplicateId(8);
|
|
1282
|
-
var _props_caption;
|
|
1283
1198
|
this.caption = (_props_caption = props.caption) !== null && _props_caption !== void 0 ? _props_caption : '';
|
|
1284
1199
|
};
|
|
1285
1200
|
export var BaseStyle = function BaseStyle(props) {
|
|
1286
1201
|
"use strict";
|
|
1287
1202
|
_class_call_check(this, BaseStyle);
|
|
1203
|
+
var _ref, _ref1, _ref2, _ref3;
|
|
1288
1204
|
_define_property(this, "width", void 0);
|
|
1289
1205
|
_define_property(this, "height", void 0);
|
|
1290
1206
|
_define_property(this, "widthConfig", void 0);
|
|
1291
1207
|
_define_property(this, "heightConfig", void 0);
|
|
1292
|
-
|
|
1293
|
-
this.
|
|
1294
|
-
|
|
1295
|
-
this.
|
|
1296
|
-
var _props_widthConfig;
|
|
1297
|
-
this.widthConfig = (_props_widthConfig = props === null || props === void 0 ? void 0 : props.widthConfig) !== null && _props_widthConfig !== void 0 ? _props_widthConfig : 'fill';
|
|
1298
|
-
var _props_heightConfig;
|
|
1299
|
-
this.heightConfig = (_props_heightConfig = props === null || props === void 0 ? void 0 : props.heightConfig) !== null && _props_heightConfig !== void 0 ? _props_heightConfig : 'fill';
|
|
1208
|
+
this.width = (_ref = props === null || props === void 0 ? void 0 : props.width) !== null && _ref !== void 0 ? _ref : '';
|
|
1209
|
+
this.height = (_ref1 = props === null || props === void 0 ? void 0 : props.height) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
1210
|
+
this.widthConfig = (_ref2 = props === null || props === void 0 ? void 0 : props.widthConfig) !== null && _ref2 !== void 0 ? _ref2 : 'fill';
|
|
1211
|
+
this.heightConfig = (_ref3 = props === null || props === void 0 ? void 0 : props.heightConfig) !== null && _ref3 !== void 0 ? _ref3 : 'fill';
|
|
1300
1212
|
};
|
|
1301
1213
|
export var OptObject = function OptObject(props) {
|
|
1302
1214
|
"use strict";
|
|
1303
1215
|
_class_call_check(this, OptObject);
|
|
1216
|
+
var _ref, _ref1;
|
|
1304
1217
|
/**
|
|
1305
1218
|
* 操作项编码
|
|
1306
1219
|
* @defaultValue ''
|
|
@@ -1311,14 +1224,13 @@ export var OptObject = function OptObject(props) {
|
|
|
1311
1224
|
* @defaultValue ''
|
|
1312
1225
|
* @public
|
|
1313
1226
|
*/ _define_property(this, "optType", void 0);
|
|
1314
|
-
|
|
1315
|
-
this.
|
|
1316
|
-
var _props_optType;
|
|
1317
|
-
this.optType = (_props_optType = props === null || props === void 0 ? void 0 : props.optType) !== null && _props_optType !== void 0 ? _props_optType : '';
|
|
1227
|
+
this.optCode = (_ref = props === null || props === void 0 ? void 0 : props.optCode) !== null && _ref !== void 0 ? _ref : '';
|
|
1228
|
+
this.optType = (_ref1 = props === null || props === void 0 ? void 0 : props.optType) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
1318
1229
|
};
|
|
1319
1230
|
export var RowStyleRule = function RowStyleRule(props) {
|
|
1320
1231
|
"use strict";
|
|
1321
1232
|
_class_call_check(this, RowStyleRule);
|
|
1233
|
+
var _ref, _ref1, _ref2, _ref3;
|
|
1322
1234
|
var _props_filters;
|
|
1323
1235
|
/**
|
|
1324
1236
|
* 规则编号
|
|
@@ -1340,30 +1252,24 @@ export var RowStyleRule = function RowStyleRule(props) {
|
|
|
1340
1252
|
* @defaultValue []
|
|
1341
1253
|
* @public
|
|
1342
1254
|
*/ _define_property(this, "filters", void 0);
|
|
1343
|
-
|
|
1344
|
-
this.
|
|
1345
|
-
|
|
1346
|
-
this.
|
|
1347
|
-
var _props_color;
|
|
1348
|
-
this.color = (_props_color = props === null || props === void 0 ? void 0 : props.color) !== null && _props_color !== void 0 ? _props_color : 'theme';
|
|
1349
|
-
var _props_filters_map;
|
|
1350
|
-
this.filters = (_props_filters_map = props === null || props === void 0 ? void 0 : (_props_filters = props.filters) === null || _props_filters === void 0 ? void 0 : _props_filters.map(function(item) {
|
|
1255
|
+
this.id = (_ref = props === null || props === void 0 ? void 0 : props.id) !== null && _ref !== void 0 ? _ref : genNonDuplicateId();
|
|
1256
|
+
this.name = (_ref1 = props === null || props === void 0 ? void 0 : props.name) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
1257
|
+
this.color = (_ref2 = props === null || props === void 0 ? void 0 : props.color) !== null && _ref2 !== void 0 ? _ref2 : 'theme';
|
|
1258
|
+
this.filters = (_ref3 = props === null || props === void 0 ? void 0 : (_props_filters = props.filters) === null || _props_filters === void 0 ? void 0 : _props_filters.map(function(item) {
|
|
1351
1259
|
if (item.children !== undefined) {
|
|
1352
1260
|
return new FieldFilterConditions(item);
|
|
1353
1261
|
}
|
|
1354
1262
|
return new FieldFilterCondition(item);
|
|
1355
|
-
})) !== null &&
|
|
1263
|
+
})) !== null && _ref3 !== void 0 ? _ref3 : [];
|
|
1356
1264
|
};
|
|
1357
1265
|
export var RowStyleRuleScript = function RowStyleRuleScript(props) {
|
|
1358
1266
|
"use strict";
|
|
1359
1267
|
_class_call_check(this, RowStyleRuleScript);
|
|
1268
|
+
var _props_id, _props_script, _props_color;
|
|
1360
1269
|
_define_property(this, "id", void 0);
|
|
1361
1270
|
_define_property(this, "script", void 0);
|
|
1362
1271
|
_define_property(this, "color", void 0);
|
|
1363
|
-
var _props_id;
|
|
1364
1272
|
this.id = (_props_id = props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId();
|
|
1365
|
-
var _props_script;
|
|
1366
1273
|
this.script = (_props_script = props.script) !== null && _props_script !== void 0 ? _props_script : '';
|
|
1367
|
-
var _props_color;
|
|
1368
1274
|
this.color = (_props_color = props.color) !== null && _props_color !== void 0 ? _props_color : 'theme';
|
|
1369
1275
|
};
|