@byteluck-fe/model-driven-core 2.7.0-alpha.2 → 2.7.0-alpha.4
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 +253 -189
- package/dist/esm/common/BaseControl/property.js +29 -4
- package/dist/esm/common/BaseControl/runtime.js +26 -5
- package/dist/esm/common/ColumnControl/designer.js +15 -1
- package/dist/esm/common/ColumnControl/property.js +59 -11
- package/dist/esm/common/ColumnControl/runtime.js +15 -1
- package/dist/esm/common/FormControl/designer.js +18 -3
- package/dist/esm/common/FormControl/property.js +86 -21
- package/dist/esm/common/FormControl/runtime.js +16 -1
- package/dist/esm/common/LayoutControl/designer.js +104 -70
- package/dist/esm/common/LayoutControl/runtime.js +16 -1
- package/dist/esm/common/ListControl/designer.js +86 -61
- package/dist/esm/common/ListControl/property.js +14 -0
- package/dist/esm/common/ListControl/runtime.js +16 -1
- package/dist/esm/common/SearchViewControl/designer.js +15 -1
- package/dist/esm/common/SearchViewControl/property.js +14 -0
- package/dist/esm/common/SearchViewControl/runtime.js +15 -1
- package/dist/esm/common/WrapControl/designer.js +15 -1
- package/dist/esm/common/WrapControl/runtime.js +15 -1
- package/dist/esm/framework/RegisterControls.js +197 -128
- package/dist/esm/framework/index.js +437 -3
- package/dist/index.umd.js +1 -1
- package/dist/types/common/BaseControl/designer.d.ts +4 -0
- package/package.json +3 -3
|
@@ -9,6 +9,19 @@ function _classCallCheck(instance, Constructor) {
|
|
|
9
9
|
throw new TypeError("Cannot call a class as a function");
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
|
+
function _defineProperty(obj, key, value) {
|
|
13
|
+
if (key in obj) {
|
|
14
|
+
Object.defineProperty(obj, key, {
|
|
15
|
+
value: value,
|
|
16
|
+
enumerable: true,
|
|
17
|
+
configurable: true,
|
|
18
|
+
writable: true
|
|
19
|
+
});
|
|
20
|
+
} else {
|
|
21
|
+
obj[key] = value;
|
|
22
|
+
}
|
|
23
|
+
return obj;
|
|
24
|
+
}
|
|
12
25
|
function _getPrototypeOf(o) {
|
|
13
26
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
14
27
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
@@ -84,6 +97,26 @@ export * from "./RegisterControls";
|
|
|
84
97
|
*/ export var DataBind = function DataBind(props) {
|
|
85
98
|
"use strict";
|
|
86
99
|
_classCallCheck(this, DataBind);
|
|
100
|
+
/**
|
|
101
|
+
* 数据模型编码
|
|
102
|
+
* @defaultValue ''
|
|
103
|
+
* @public
|
|
104
|
+
*/ _defineProperty(this, "dataCode", void 0);
|
|
105
|
+
/**
|
|
106
|
+
* 字段编码
|
|
107
|
+
* @defaultValue ''
|
|
108
|
+
* @public
|
|
109
|
+
*/ _defineProperty(this, "fieldCode", void 0);
|
|
110
|
+
/**
|
|
111
|
+
* 字段类型
|
|
112
|
+
* @defaultValue ''
|
|
113
|
+
* @public
|
|
114
|
+
*/ _defineProperty(this, "fieldType", void 0);
|
|
115
|
+
/**
|
|
116
|
+
* 表别名
|
|
117
|
+
* @defaultValue undefined
|
|
118
|
+
* @public
|
|
119
|
+
*/ _defineProperty(this, "aliasCode", void 0);
|
|
87
120
|
var _props_dataCode;
|
|
88
121
|
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
|
|
89
122
|
var _props_fieldCode;
|
|
@@ -95,6 +128,9 @@ export * from "./RegisterControls";
|
|
|
95
128
|
export var AutoWidth = function AutoWidth(props) {
|
|
96
129
|
"use strict";
|
|
97
130
|
_classCallCheck(this, AutoWidth);
|
|
131
|
+
_defineProperty(this, "minWidth", void 0);
|
|
132
|
+
_defineProperty(this, "maxWidth", void 0);
|
|
133
|
+
_defineProperty(this, "flex", void 0);
|
|
98
134
|
var _props_minWidth;
|
|
99
135
|
this.minWidth = (_props_minWidth = props === null || props === void 0 ? void 0 : props.minWidth) !== null && _props_minWidth !== void 0 ? _props_minWidth : 150;
|
|
100
136
|
this.maxWidth = props === null || props === void 0 ? void 0 : props.maxWidth;
|
|
@@ -109,6 +145,8 @@ export var MetaWidth = /*#__PURE__*/ function(AutoWidth) {
|
|
|
109
145
|
_classCallCheck(this, MetaWidth);
|
|
110
146
|
var _this;
|
|
111
147
|
_this = _super.call(this, props);
|
|
148
|
+
_defineProperty(_assertThisInitialized(_this), "width", void 0);
|
|
149
|
+
_defineProperty(_assertThisInitialized(_this), "widthType", void 0);
|
|
112
150
|
var _props_width;
|
|
113
151
|
_this.width = (_props_width = props === null || props === void 0 ? void 0 : props.width) !== null && _props_width !== void 0 ? _props_width : 240;
|
|
114
152
|
var _props_widthType;
|
|
@@ -120,6 +158,8 @@ export var MetaWidth = /*#__PURE__*/ function(AutoWidth) {
|
|
|
120
158
|
export var MetaAutoWidth = function MetaAutoWidth(props) {
|
|
121
159
|
"use strict";
|
|
122
160
|
_classCallCheck(this, MetaAutoWidth);
|
|
161
|
+
_defineProperty(this, "pc", void 0);
|
|
162
|
+
_defineProperty(this, "mobile", void 0);
|
|
123
163
|
this.pc = new MetaWidth(props === null || props === void 0 ? void 0 : props.pc);
|
|
124
164
|
this.mobile = (props === null || props === void 0 ? void 0 : props.mobile) ? new MetaWidth(props === null || props === void 0 ? void 0 : props.mobile) : new MetaWidth({
|
|
125
165
|
width: 130,
|
|
@@ -129,6 +169,8 @@ export var MetaAutoWidth = function MetaAutoWidth(props) {
|
|
|
129
169
|
export var DataStorageDoc = function DataStorageDoc(props) {
|
|
130
170
|
"use strict";
|
|
131
171
|
_classCallCheck(this, DataStorageDoc);
|
|
172
|
+
_defineProperty(this, "type", void 0);
|
|
173
|
+
_defineProperty(this, "customOptions", void 0);
|
|
132
174
|
var _props_type;
|
|
133
175
|
this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "firstThree";
|
|
134
176
|
var _props_customOptions;
|
|
@@ -137,6 +179,9 @@ export var DataStorageDoc = function DataStorageDoc(props) {
|
|
|
137
179
|
export var FormBind = function FormBind(props) {
|
|
138
180
|
"use strict";
|
|
139
181
|
_classCallCheck(this, FormBind);
|
|
182
|
+
_defineProperty(this, "dataCode", void 0);
|
|
183
|
+
_defineProperty(this, "formKey", void 0);
|
|
184
|
+
_defineProperty(this, "appId", void 0);
|
|
140
185
|
var _props_dataCode;
|
|
141
186
|
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
|
|
142
187
|
var _props_formKey;
|
|
@@ -152,6 +197,7 @@ export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
|
152
197
|
_classCallCheck(this, FormSelectBind);
|
|
153
198
|
var _this;
|
|
154
199
|
_this = _super.call(this, props);
|
|
200
|
+
_defineProperty(_assertThisInitialized(_this), "primaryControlId", void 0);
|
|
155
201
|
var _props_primaryControlId;
|
|
156
202
|
_this.primaryControlId = (_props_primaryControlId = props === null || props === void 0 ? void 0 : props.primaryControlId) !== null && _props_primaryControlId !== void 0 ? _props_primaryControlId : "";
|
|
157
203
|
return _this;
|
|
@@ -164,6 +210,10 @@ export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
|
164
210
|
*/ var ListBindHeaderItem = function ListBindHeaderItem(props) {
|
|
165
211
|
"use strict";
|
|
166
212
|
_classCallCheck(this, ListBindHeaderItem);
|
|
213
|
+
/**
|
|
214
|
+
* 字段
|
|
215
|
+
* @defaultValue ''
|
|
216
|
+
*/ _defineProperty(this, "fieldCode", void 0);
|
|
167
217
|
var _props_fieldCode;
|
|
168
218
|
this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : "";
|
|
169
219
|
};
|
|
@@ -173,6 +223,18 @@ export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
|
173
223
|
"use strict";
|
|
174
224
|
_classCallCheck(this, ListBind);
|
|
175
225
|
var _props_headers;
|
|
226
|
+
/**
|
|
227
|
+
* 应用ID
|
|
228
|
+
* @public
|
|
229
|
+
*/ _defineProperty(this, "appId", void 0);
|
|
230
|
+
/**
|
|
231
|
+
* 表单ID
|
|
232
|
+
* @public
|
|
233
|
+
*/ _defineProperty(this, "formKey", void 0);
|
|
234
|
+
/**
|
|
235
|
+
* 显示字段
|
|
236
|
+
* @public
|
|
237
|
+
*/ _defineProperty(this, "headers", void 0);
|
|
176
238
|
var _props_appId;
|
|
177
239
|
this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : "";
|
|
178
240
|
var _props_formKey;
|
|
@@ -185,6 +247,9 @@ export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
|
185
247
|
export var FieldBindItem = function FieldBindItem(props) {
|
|
186
248
|
"use strict";
|
|
187
249
|
_classCallCheck(this, FieldBindItem);
|
|
250
|
+
_defineProperty(this, "fieldName", void 0);
|
|
251
|
+
_defineProperty(this, "fieldCode", void 0);
|
|
252
|
+
_defineProperty(this, "fieldType", void 0);
|
|
188
253
|
var _props_fieldName;
|
|
189
254
|
this.fieldName = (_props_fieldName = props === null || props === void 0 ? void 0 : props.fieldName) !== null && _props_fieldName !== void 0 ? _props_fieldName : "";
|
|
190
255
|
var _props_fieldCode;
|
|
@@ -200,6 +265,10 @@ export var SubListItem = /*#__PURE__*/ function(FormBind) {
|
|
|
200
265
|
_classCallCheck(this, SubListItem);
|
|
201
266
|
var _this;
|
|
202
267
|
_this = _super.call(this, props);
|
|
268
|
+
_defineProperty(_assertThisInitialized(_this), "title", void 0);
|
|
269
|
+
_defineProperty(_assertThisInitialized(_this), "svcCode", void 0);
|
|
270
|
+
_defineProperty(_assertThisInitialized(_this), "isOpenFilter", void 0);
|
|
271
|
+
_defineProperty(_assertThisInitialized(_this), "filters", void 0);
|
|
203
272
|
var _props_title;
|
|
204
273
|
_this.title = (_props_title = props === null || props === void 0 ? void 0 : props.title) !== null && _props_title !== void 0 ? _props_title : "";
|
|
205
274
|
var _props_svcCode;
|
|
@@ -216,7 +285,10 @@ export var SubListPageConfig = function SubListPageConfig(props) {
|
|
|
216
285
|
"use strict";
|
|
217
286
|
_classCallCheck(this, SubListPageConfig);
|
|
218
287
|
var _props_displayFields, _props_sublists;
|
|
219
|
-
this
|
|
288
|
+
_defineProperty(this, "type", "sublist-page");
|
|
289
|
+
_defineProperty(this, "formBind", void 0);
|
|
290
|
+
_defineProperty(this, "displayFields", void 0);
|
|
291
|
+
_defineProperty(this, "sublists", void 0);
|
|
220
292
|
this.formBind = new FormBind(props === null || props === void 0 ? void 0 : props.formBind);
|
|
221
293
|
var _props_displayFields_map;
|
|
222
294
|
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) {
|
|
@@ -230,12 +302,17 @@ export var SubListPageConfig = function SubListPageConfig(props) {
|
|
|
230
302
|
export var LeftVariable = function LeftVariable(props) {
|
|
231
303
|
"use strict";
|
|
232
304
|
_classCallCheck(this, LeftVariable);
|
|
305
|
+
_defineProperty(this, "type", void 0);
|
|
306
|
+
_defineProperty(this, "value", void 0);
|
|
233
307
|
this.type = props === null || props === void 0 ? void 0 : props.type;
|
|
234
308
|
this.value = props === null || props === void 0 ? void 0 : props.value;
|
|
235
309
|
};
|
|
236
310
|
export var RightVariable = function RightVariable(props) {
|
|
237
311
|
"use strict";
|
|
238
312
|
_classCallCheck(this, RightVariable);
|
|
313
|
+
_defineProperty(this, "type", void 0);
|
|
314
|
+
_defineProperty(this, "value", void 0);
|
|
315
|
+
_defineProperty(this, "displayBos", void 0);
|
|
239
316
|
var _props_type;
|
|
240
317
|
this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "custom";
|
|
241
318
|
var _props_value;
|
|
@@ -251,9 +328,29 @@ export var RightVariable = function RightVariable(props) {
|
|
|
251
328
|
var _this = this;
|
|
252
329
|
_classCallCheck(this, FieldFilterConditions);
|
|
253
330
|
/**
|
|
331
|
+
* 编号
|
|
332
|
+
* @defaultValue ''
|
|
333
|
+
*/ _defineProperty(this, "id", void 0);
|
|
334
|
+
/**
|
|
335
|
+
* 规则编号
|
|
336
|
+
* @defaultValue Timestamp
|
|
337
|
+
*/ _defineProperty(this, "ruleId", void 0);
|
|
338
|
+
/**
|
|
254
339
|
* 类型:连接符条件
|
|
255
340
|
* @defaultValue 'conditions'
|
|
256
|
-
*/ this
|
|
341
|
+
*/ _defineProperty(this, "type", "conditions");
|
|
342
|
+
/**
|
|
343
|
+
* 深度
|
|
344
|
+
* @defaultValue 0
|
|
345
|
+
*/ _defineProperty(this, "level", void 0);
|
|
346
|
+
/**
|
|
347
|
+
* 连接符值
|
|
348
|
+
* @defaultValue 'and'
|
|
349
|
+
*/ _defineProperty(this, "value", void 0);
|
|
350
|
+
/**
|
|
351
|
+
* 包含子项
|
|
352
|
+
* @defaultValue []
|
|
353
|
+
*/ _defineProperty(this, "children", void 0);
|
|
257
354
|
var _props_id;
|
|
258
355
|
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId();
|
|
259
356
|
var _props_ruleId;
|
|
@@ -284,9 +381,28 @@ export var RightVariable = function RightVariable(props) {
|
|
|
284
381
|
"use strict";
|
|
285
382
|
_classCallCheck(this, FieldFilterCondition);
|
|
286
383
|
/**
|
|
384
|
+
* 唯一编号
|
|
385
|
+
* @defaultValue ''
|
|
386
|
+
*/ _defineProperty(this, "id", void 0);
|
|
387
|
+
/**
|
|
388
|
+
* 规则编号
|
|
389
|
+
* @defaultValue Timestamp
|
|
390
|
+
*/ _defineProperty(this, "ruleId", void 0);
|
|
391
|
+
/**
|
|
287
392
|
* 类型
|
|
288
393
|
* @defaultValue 'condition'
|
|
289
|
-
*/ this
|
|
394
|
+
*/ _defineProperty(this, "type", "condition");
|
|
395
|
+
/**
|
|
396
|
+
* 符号
|
|
397
|
+
*/ _defineProperty(this, "symbol", void 0);
|
|
398
|
+
_defineProperty(this, "checked", void 0);
|
|
399
|
+
_defineProperty(this, "describe", void 0);
|
|
400
|
+
/**
|
|
401
|
+
* 左值
|
|
402
|
+
*/ _defineProperty(this, "leftVariableBo", void 0);
|
|
403
|
+
/**
|
|
404
|
+
* 右值
|
|
405
|
+
*/ _defineProperty(this, "rightVariableBo", void 0);
|
|
290
406
|
var _props_id;
|
|
291
407
|
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId();
|
|
292
408
|
var _props_ruleId;
|
|
@@ -303,6 +419,9 @@ export var RightVariable = function RightVariable(props) {
|
|
|
303
419
|
export var JoinRelation = function JoinRelation(props) {
|
|
304
420
|
"use strict";
|
|
305
421
|
_classCallCheck(this, JoinRelation);
|
|
422
|
+
_defineProperty(this, "aliasCode", void 0);
|
|
423
|
+
_defineProperty(this, "datasourceBind", void 0);
|
|
424
|
+
_defineProperty(this, "relationFields", void 0);
|
|
306
425
|
var _props_aliasCode;
|
|
307
426
|
this.aliasCode = (_props_aliasCode = props === null || props === void 0 ? void 0 : props.aliasCode) !== null && _props_aliasCode !== void 0 ? _props_aliasCode : "";
|
|
308
427
|
this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
|
|
@@ -315,6 +434,26 @@ export var JoinRelation = function JoinRelation(props) {
|
|
|
315
434
|
*/ export var MultistageFillingItem = function MultistageFillingItem(props) {
|
|
316
435
|
"use strict";
|
|
317
436
|
_classCallCheck(this, MultistageFillingItem);
|
|
437
|
+
/**
|
|
438
|
+
* 控件ID
|
|
439
|
+
* @defaultValue ''
|
|
440
|
+
* @public
|
|
441
|
+
*/ _defineProperty(this, "controlId", void 0);
|
|
442
|
+
/**
|
|
443
|
+
* 字段
|
|
444
|
+
* @defaultValue ''
|
|
445
|
+
* @public
|
|
446
|
+
*/ _defineProperty(this, "fieldCode", void 0);
|
|
447
|
+
/**
|
|
448
|
+
* 字段类型。事件在填充时,需要根据数据类型进行判断处理动作。
|
|
449
|
+
* @defaultValue ''
|
|
450
|
+
* @public
|
|
451
|
+
*/ _defineProperty(this, "fieldType", void 0);
|
|
452
|
+
/**
|
|
453
|
+
* 属性名称。如果是ObjectDataBind的控件,可以指定填充到哪个数据项。
|
|
454
|
+
* @defaultValue ''
|
|
455
|
+
* @public
|
|
456
|
+
* */ _defineProperty(this, "propName", void 0);
|
|
318
457
|
var _props_controlId;
|
|
319
458
|
this.controlId = (_props_controlId = props === null || props === void 0 ? void 0 : props.controlId) !== null && _props_controlId !== void 0 ? _props_controlId : "";
|
|
320
459
|
var _props_fieldCode;
|
|
@@ -330,6 +469,17 @@ export var JoinRelation = function JoinRelation(props) {
|
|
|
330
469
|
*/ export var DisplayBoListItem = function DisplayBoListItem(props) {
|
|
331
470
|
"use strict";
|
|
332
471
|
_classCallCheck(this, DisplayBoListItem);
|
|
472
|
+
/**
|
|
473
|
+
* 显示项类型:字段 | 符号
|
|
474
|
+
* @defaultValue 'FIELD'
|
|
475
|
+
* @public
|
|
476
|
+
*/ _defineProperty(this, "type", void 0);
|
|
477
|
+
/**
|
|
478
|
+
* 值
|
|
479
|
+
*/ _defineProperty(this, "value", void 0);
|
|
480
|
+
/**
|
|
481
|
+
* 字段数据类型
|
|
482
|
+
*/ _defineProperty(this, "fieldType", void 0);
|
|
333
483
|
var _props_type;
|
|
334
484
|
this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "FIELD";
|
|
335
485
|
var _props_value;
|
|
@@ -342,6 +492,14 @@ export var JoinRelation = function JoinRelation(props) {
|
|
|
342
492
|
*/ export var DataSourceOrderItem = function DataSourceOrderItem(props) {
|
|
343
493
|
"use strict";
|
|
344
494
|
_classCallCheck(this, DataSourceOrderItem);
|
|
495
|
+
/**
|
|
496
|
+
* 列名
|
|
497
|
+
* @defaultValue ''
|
|
498
|
+
*/ _defineProperty(this, "columnName", void 0);
|
|
499
|
+
/**
|
|
500
|
+
* 倒序
|
|
501
|
+
* @defaultValue false
|
|
502
|
+
*/ _defineProperty(this, "desc", void 0);
|
|
345
503
|
var _props_columnName;
|
|
346
504
|
this.columnName = (_props_columnName = props.columnName) !== null && _props_columnName !== void 0 ? _props_columnName : "";
|
|
347
505
|
var _props_desc;
|
|
@@ -350,6 +508,12 @@ export var JoinRelation = function JoinRelation(props) {
|
|
|
350
508
|
export var DataSourceDataSetValue = function DataSourceDataSetValue(props) {
|
|
351
509
|
"use strict";
|
|
352
510
|
_classCallCheck(this, DataSourceDataSetValue);
|
|
511
|
+
// fieldCode
|
|
512
|
+
_defineProperty(this, "code", void 0);
|
|
513
|
+
// 值
|
|
514
|
+
_defineProperty(this, "value", void 0);
|
|
515
|
+
// 数据类型
|
|
516
|
+
_defineProperty(this, "field_type", void 0);
|
|
353
517
|
var _props_code;
|
|
354
518
|
this.code = (_props_code = props.code) !== null && _props_code !== void 0 ? _props_code : "";
|
|
355
519
|
var _props_value;
|
|
@@ -361,6 +525,13 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
|
361
525
|
"use strict";
|
|
362
526
|
_classCallCheck(this, DataSourceParamItem);
|
|
363
527
|
var _props_orders, _props_dataSet;
|
|
528
|
+
/**
|
|
529
|
+
* 字段ID
|
|
530
|
+
*/ _defineProperty(this, "id", void 0);
|
|
531
|
+
_defineProperty(this, "limit", void 0);
|
|
532
|
+
_defineProperty(this, "orders", void 0);
|
|
533
|
+
_defineProperty(this, "formKey", void 0);
|
|
534
|
+
_defineProperty(this, "dataSet", void 0);
|
|
364
535
|
var _props_id;
|
|
365
536
|
//字段ID,不可以当作随机数生成唯一编号
|
|
366
537
|
this.id = (_props_id = props.id) !== null && _props_id !== void 0 ? _props_id : "";
|
|
@@ -410,6 +581,62 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
|
410
581
|
"use strict";
|
|
411
582
|
var _this = this;
|
|
412
583
|
_classCallCheck(this, DataSourceBind);
|
|
584
|
+
/**
|
|
585
|
+
* 绑定数据源id
|
|
586
|
+
* @defaultValue ''
|
|
587
|
+
* @public
|
|
588
|
+
*/ _defineProperty(this, "dataCode", void 0);
|
|
589
|
+
/**
|
|
590
|
+
* 存储值
|
|
591
|
+
* @defaultValue ''
|
|
592
|
+
* @public
|
|
593
|
+
*/ _defineProperty(this, "valueFieldCode", void 0);
|
|
594
|
+
/**
|
|
595
|
+
* 显示值
|
|
596
|
+
* @defaultValue []
|
|
597
|
+
* @public
|
|
598
|
+
*/ _defineProperty(this, "displayBoList", void 0);
|
|
599
|
+
/**
|
|
600
|
+
* 查询关键字参数映射
|
|
601
|
+
* @defaultValue ''
|
|
602
|
+
* @public
|
|
603
|
+
*/ _defineProperty(this, "keywordMapping", void 0);
|
|
604
|
+
/**
|
|
605
|
+
* 绑定服务
|
|
606
|
+
* @defaultValue ''
|
|
607
|
+
* @public
|
|
608
|
+
*/ _defineProperty(this, "svcCode", void 0);
|
|
609
|
+
/**
|
|
610
|
+
* 应用Id
|
|
611
|
+
* @defaultValue ''
|
|
612
|
+
* @public
|
|
613
|
+
*/ _defineProperty(this, "appId", void 0);
|
|
614
|
+
/**
|
|
615
|
+
* 过滤条件
|
|
616
|
+
* @defaultValue []
|
|
617
|
+
* @public
|
|
618
|
+
*/ _defineProperty(this, "filters", void 0);
|
|
619
|
+
// 过滤
|
|
620
|
+
/**
|
|
621
|
+
* 过滤条件-查看过滤
|
|
622
|
+
* @defaultValue []
|
|
623
|
+
* @public
|
|
624
|
+
*/ _defineProperty(this, "viewFilters", void 0);
|
|
625
|
+
/**
|
|
626
|
+
* 是否开启查看过滤
|
|
627
|
+
* @defaultValue 0:未开启;1:开启
|
|
628
|
+
* @public
|
|
629
|
+
*/ _defineProperty(this, "isOpenViewFilters", void 0);
|
|
630
|
+
/**
|
|
631
|
+
* 排序
|
|
632
|
+
* @defaultValue []
|
|
633
|
+
* @public
|
|
634
|
+
*/ _defineProperty(this, "orders", void 0);
|
|
635
|
+
/**
|
|
636
|
+
* 显示排序
|
|
637
|
+
* @defaultValue true
|
|
638
|
+
* @public
|
|
639
|
+
*/ _defineProperty(this, "showOrder", void 0);
|
|
413
640
|
var _props_dataCode;
|
|
414
641
|
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
|
|
415
642
|
var _props_appId;
|
|
@@ -436,6 +663,16 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
|
436
663
|
export var SelectedContentConfig = function SelectedContentConfig(props) {
|
|
437
664
|
"use strict";
|
|
438
665
|
_classCallCheck(this, SelectedContentConfig);
|
|
666
|
+
/**
|
|
667
|
+
* 展示已选内容
|
|
668
|
+
* @defaultValue ''
|
|
669
|
+
* @public
|
|
670
|
+
*/ _defineProperty(this, "dataCode", void 0);
|
|
671
|
+
/**
|
|
672
|
+
* 展示已选明细
|
|
673
|
+
* @defaultValue []
|
|
674
|
+
* @public
|
|
675
|
+
*/ _defineProperty(this, "displayBoList", void 0);
|
|
439
676
|
var _props_dataCode;
|
|
440
677
|
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
|
|
441
678
|
var _props_displayBoList;
|
|
@@ -444,6 +681,16 @@ export var SelectedContentConfig = function SelectedContentConfig(props) {
|
|
|
444
681
|
export var LinkOperationOption = function LinkOperationOption(props) {
|
|
445
682
|
"use strict";
|
|
446
683
|
_classCallCheck(this, LinkOperationOption);
|
|
684
|
+
_defineProperty(this, "code", void 0);
|
|
685
|
+
_defineProperty(this, "color", void 0);
|
|
686
|
+
_defineProperty(this, "command", void 0);
|
|
687
|
+
_defineProperty(this, "confirmMessage", void 0);
|
|
688
|
+
_defineProperty(this, "defaultState", void 0);
|
|
689
|
+
_defineProperty(this, "formKey", void 0);
|
|
690
|
+
_defineProperty(this, "icon", void 0);
|
|
691
|
+
_defineProperty(this, "needConfirm", void 0);
|
|
692
|
+
_defineProperty(this, "openType", void 0);
|
|
693
|
+
_defineProperty(this, "priorityProcess", void 0);
|
|
447
694
|
var _props_code;
|
|
448
695
|
this.code = (_props_code = props === null || props === void 0 ? void 0 : props.code) !== null && _props_code !== void 0 ? _props_code : "view";
|
|
449
696
|
var _props_color;
|
|
@@ -469,6 +716,9 @@ export var CustomAttributeItem = function CustomAttributeItem(props) {
|
|
|
469
716
|
"use strict";
|
|
470
717
|
_classCallCheck(this, CustomAttributeItem);
|
|
471
718
|
var _props_value;
|
|
719
|
+
_defineProperty(this, "name", void 0);
|
|
720
|
+
_defineProperty(this, "key", void 0);
|
|
721
|
+
_defineProperty(this, "value", void 0);
|
|
472
722
|
var _props_name;
|
|
473
723
|
this.name = (_props_name = props === null || props === void 0 ? void 0 : props.name) !== null && _props_name !== void 0 ? _props_name : "";
|
|
474
724
|
var _props_key;
|
|
@@ -487,6 +737,7 @@ export var SuperDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
|
487
737
|
var _this;
|
|
488
738
|
var _props_attributes;
|
|
489
739
|
_this = _super.call(this, props);
|
|
740
|
+
_defineProperty(_assertThisInitialized(_this), "attributes", void 0);
|
|
490
741
|
var _props_attributes_map;
|
|
491
742
|
_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) {
|
|
492
743
|
return new CustomAttributeItem(item);
|
|
@@ -504,6 +755,8 @@ export var OrganizationDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
|
504
755
|
var _this;
|
|
505
756
|
var _props_attributes;
|
|
506
757
|
_this = _super.call(this, props);
|
|
758
|
+
_defineProperty(_assertThisInitialized(_this), "attributes", void 0);
|
|
759
|
+
_defineProperty(_assertThisInitialized(_this), "formCode", void 0);
|
|
507
760
|
var _props_attributes_map;
|
|
508
761
|
_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) {
|
|
509
762
|
return new CustomAttributeItem(item);
|
|
@@ -522,6 +775,8 @@ export var TreeDataSourceBind = /*#__PURE__*/ function(SuperDataSourceBind) {
|
|
|
522
775
|
_classCallCheck(this, TreeDataSourceBind);
|
|
523
776
|
var _this;
|
|
524
777
|
_this = _super.call(this, props);
|
|
778
|
+
_defineProperty(_assertThisInitialized(_this), "rootNode", void 0);
|
|
779
|
+
_defineProperty(_assertThisInitialized(_this), "filterCode", void 0);
|
|
525
780
|
_this.rootNode = new RightVariable(props === null || props === void 0 ? void 0 : props.rootNode);
|
|
526
781
|
var _props_filterCode;
|
|
527
782
|
_this.filterCode = (_props_filterCode = props === null || props === void 0 ? void 0 : props.filterCode) !== null && _props_filterCode !== void 0 ? _props_filterCode : "";
|
|
@@ -533,6 +788,15 @@ var FillBind = function FillBind(props) {
|
|
|
533
788
|
"use strict";
|
|
534
789
|
_classCallCheck(this, FillBind);
|
|
535
790
|
var _props_fillList;
|
|
791
|
+
/*
|
|
792
|
+
* 需要被填充的数据源
|
|
793
|
+
* */ _defineProperty(this, "dataCode", void 0);
|
|
794
|
+
/*
|
|
795
|
+
* appId
|
|
796
|
+
* */ _defineProperty(this, "appId", void 0);
|
|
797
|
+
/*
|
|
798
|
+
* 执行填充的数据项和控件
|
|
799
|
+
* */ _defineProperty(this, "fillList", void 0);
|
|
536
800
|
var _props_dataCode;
|
|
537
801
|
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
|
|
538
802
|
var _props_appId;
|
|
@@ -554,6 +818,21 @@ var FillBind = function FillBind(props) {
|
|
|
554
818
|
_classCallCheck(this, FillPayloadBind);
|
|
555
819
|
var _this;
|
|
556
820
|
_this = _super.call(this, props);
|
|
821
|
+
/**
|
|
822
|
+
* 数据源过滤条件
|
|
823
|
+
* @defaultValue []
|
|
824
|
+
* @public
|
|
825
|
+
**/ _defineProperty(_assertThisInitialized(_this), "filters", void 0);
|
|
826
|
+
/**
|
|
827
|
+
* 数据源过滤条件-查看
|
|
828
|
+
* @defaultValue []
|
|
829
|
+
* @public
|
|
830
|
+
**/ _defineProperty(_assertThisInitialized(_this), "viewFilters", void 0);
|
|
831
|
+
/**
|
|
832
|
+
* 数据源排序条件
|
|
833
|
+
* @defaultValue []
|
|
834
|
+
* @public
|
|
835
|
+
**/ _defineProperty(_assertThisInitialized(_this), "orders", void 0);
|
|
557
836
|
callFiltersAndOrders.call(_assertThisInitialized(_this), props);
|
|
558
837
|
return _this;
|
|
559
838
|
}
|
|
@@ -570,6 +849,16 @@ var FillBind = function FillBind(props) {
|
|
|
570
849
|
_classCallCheck(this, FillBackBind);
|
|
571
850
|
var _this;
|
|
572
851
|
_this = _super.call(this, props);
|
|
852
|
+
/**
|
|
853
|
+
* 回填模式。current 当前表(根据按钮所在位置来区分,而不是通过主表和子表来区分)| subtable 子表
|
|
854
|
+
* @defaultValue 'current'
|
|
855
|
+
* @public
|
|
856
|
+
* */ _defineProperty(_assertThisInitialized(_this), "mode", void 0);
|
|
857
|
+
/**
|
|
858
|
+
* 多选
|
|
859
|
+
* @defaultValue false
|
|
860
|
+
* @public
|
|
861
|
+
*/ _defineProperty(_assertThisInitialized(_this), "multiple", void 0);
|
|
573
862
|
var _props_mode;
|
|
574
863
|
_this.mode = (_props_mode = props === null || props === void 0 ? void 0 : props.mode) !== null && _props_mode !== void 0 ? _props_mode : "current";
|
|
575
864
|
var _props_multiple;
|
|
@@ -581,6 +870,9 @@ var FillBind = function FillBind(props) {
|
|
|
581
870
|
export var Language = function Language(props) {
|
|
582
871
|
"use strict";
|
|
583
872
|
_classCallCheck(this, Language);
|
|
873
|
+
_defineProperty(this, "zh", void 0);
|
|
874
|
+
_defineProperty(this, "en", void 0);
|
|
875
|
+
_defineProperty(this, "ja", void 0);
|
|
584
876
|
var _props_zh;
|
|
585
877
|
this.zh = (_props_zh = props === null || props === void 0 ? void 0 : props.zh) !== null && _props_zh !== void 0 ? _props_zh : "";
|
|
586
878
|
var _props_en;
|
|
@@ -594,6 +886,18 @@ export var Language = function Language(props) {
|
|
|
594
886
|
*/ export var RegularRules = function RegularRules(props) {
|
|
595
887
|
"use strict";
|
|
596
888
|
_classCallCheck(this, RegularRules);
|
|
889
|
+
/**
|
|
890
|
+
* 内置模版
|
|
891
|
+
* @defaultValue ''
|
|
892
|
+
*/ _defineProperty(this, "stencilName", void 0);
|
|
893
|
+
/**
|
|
894
|
+
* 正则表达式
|
|
895
|
+
* @defaultValue ''
|
|
896
|
+
*/ _defineProperty(this, "expression", void 0);
|
|
897
|
+
/**
|
|
898
|
+
* 校验错误提示信息
|
|
899
|
+
* @defaultValue ''
|
|
900
|
+
*/ _defineProperty(this, "errMessage", void 0);
|
|
597
901
|
var _props_stencilName;
|
|
598
902
|
this.stencilName = (_props_stencilName = props === null || props === void 0 ? void 0 : props.stencilName) !== null && _props_stencilName !== void 0 ? _props_stencilName : "";
|
|
599
903
|
var _props_expression;
|
|
@@ -607,6 +911,17 @@ export var Language = function Language(props) {
|
|
|
607
911
|
*/ export var OptionSetting = function OptionSetting(props) {
|
|
608
912
|
"use strict";
|
|
609
913
|
_classCallCheck(this, OptionSetting);
|
|
914
|
+
_defineProperty(this, "id", void 0);
|
|
915
|
+
/**
|
|
916
|
+
* 显示值
|
|
917
|
+
* @defaultValue ''
|
|
918
|
+
* @public
|
|
919
|
+
*/ _defineProperty(this, "label", void 0);
|
|
920
|
+
/**
|
|
921
|
+
* 选项ID
|
|
922
|
+
* @defaultValue this.label
|
|
923
|
+
* @public
|
|
924
|
+
*/ _defineProperty(this, "value", void 0);
|
|
610
925
|
var _props_id;
|
|
611
926
|
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId(8);
|
|
612
927
|
var _props_label;
|
|
@@ -622,6 +937,8 @@ export var ImageOptionSetting = /*#__PURE__*/ function(OptionSetting) {
|
|
|
622
937
|
_classCallCheck(this, ImageOptionSetting);
|
|
623
938
|
var _this;
|
|
624
939
|
_this = _super.call(this, props);
|
|
940
|
+
_defineProperty(_assertThisInitialized(_this), "image", void 0);
|
|
941
|
+
_defineProperty(_assertThisInitialized(_this), "type", void 0);
|
|
625
942
|
var _props_image;
|
|
626
943
|
_this.image = (_props_image = props === null || props === void 0 ? void 0 : props.image) !== null && _props_image !== void 0 ? _props_image : "";
|
|
627
944
|
var _props_type;
|
|
@@ -660,6 +977,12 @@ export function initImageOptions(options) {
|
|
|
660
977
|
_classCallCheck(this, AmountDataBind);
|
|
661
978
|
var _this;
|
|
662
979
|
_this = _super.call(this);
|
|
980
|
+
/**
|
|
981
|
+
* 金额字段绑定配置
|
|
982
|
+
*/ _defineProperty(_assertThisInitialized(_this), "amount", void 0);
|
|
983
|
+
/**
|
|
984
|
+
* 币种字段绑定配置
|
|
985
|
+
*/ _defineProperty(_assertThisInitialized(_this), "currency", void 0);
|
|
663
986
|
_this.amount = new DataBind(props === null || props === void 0 ? void 0 : props.amount);
|
|
664
987
|
_this.currency = new DataBind(props === null || props === void 0 ? void 0 : props.currency);
|
|
665
988
|
return _this;
|
|
@@ -672,6 +995,14 @@ export function initImageOptions(options) {
|
|
|
672
995
|
*/ export var AmountValue = function AmountValue(props) {
|
|
673
996
|
"use strict";
|
|
674
997
|
_classCallCheck(this, AmountValue);
|
|
998
|
+
/**
|
|
999
|
+
* 金额值
|
|
1000
|
+
* @defaultValue ''
|
|
1001
|
+
*/ _defineProperty(this, "amount", void 0);
|
|
1002
|
+
/**
|
|
1003
|
+
* 货币值
|
|
1004
|
+
* @defaultValue 'CNY'
|
|
1005
|
+
*/ _defineProperty(this, "currency", void 0);
|
|
675
1006
|
var _props_amount;
|
|
676
1007
|
this.amount = (_props_amount = props === null || props === void 0 ? void 0 : props.amount) !== null && _props_amount !== void 0 ? _props_amount : "";
|
|
677
1008
|
var _props_currency;
|
|
@@ -688,6 +1019,12 @@ export function initImageOptions(options) {
|
|
|
688
1019
|
_classCallCheck(this, RangeDataBind);
|
|
689
1020
|
var _this;
|
|
690
1021
|
_this = _super.call(this);
|
|
1022
|
+
/**
|
|
1023
|
+
* 开始日期字段绑定项
|
|
1024
|
+
*/ _defineProperty(_assertThisInitialized(_this), "min", void 0);
|
|
1025
|
+
/**
|
|
1026
|
+
* 结束日期字段绑定项
|
|
1027
|
+
*/ _defineProperty(_assertThisInitialized(_this), "max", void 0);
|
|
691
1028
|
_this.min = new DataBind(props === null || props === void 0 ? void 0 : props.min);
|
|
692
1029
|
_this.max = new DataBind(props === null || props === void 0 ? void 0 : props.max);
|
|
693
1030
|
return _this;
|
|
@@ -700,6 +1037,14 @@ export function initImageOptions(options) {
|
|
|
700
1037
|
*/ export var RangeDateValue = function RangeDateValue(props) {
|
|
701
1038
|
"use strict";
|
|
702
1039
|
_classCallCheck(this, RangeDateValue);
|
|
1040
|
+
/**
|
|
1041
|
+
* 开始日期值
|
|
1042
|
+
* @defaultValue ''
|
|
1043
|
+
*/ _defineProperty(this, "min", void 0);
|
|
1044
|
+
/**
|
|
1045
|
+
* 结束日期值
|
|
1046
|
+
* @defaultValue ''
|
|
1047
|
+
*/ _defineProperty(this, "max", void 0);
|
|
703
1048
|
var _props_min;
|
|
704
1049
|
this.min = (_props_min = props === null || props === void 0 ? void 0 : props.min) !== null && _props_min !== void 0 ? _props_min : "";
|
|
705
1050
|
var _props_max;
|
|
@@ -711,6 +1056,30 @@ export function initImageOptions(options) {
|
|
|
711
1056
|
*/ export var AddressValue = function AddressValue(props) {
|
|
712
1057
|
"use strict";
|
|
713
1058
|
_classCallCheck(this, AddressValue);
|
|
1059
|
+
/**
|
|
1060
|
+
* 市编码
|
|
1061
|
+
* @defaultValue ''
|
|
1062
|
+
*/ _defineProperty(this, "city", void 0);
|
|
1063
|
+
/**
|
|
1064
|
+
* 市显示文字
|
|
1065
|
+
* @defaultValue ''
|
|
1066
|
+
*/ _defineProperty(this, "cityDisplay", void 0);
|
|
1067
|
+
/**
|
|
1068
|
+
* 区编码
|
|
1069
|
+
* @defaultValue ''
|
|
1070
|
+
*/ _defineProperty(this, "district", void 0);
|
|
1071
|
+
/**
|
|
1072
|
+
* 区显示文字
|
|
1073
|
+
* @defaultValue ''
|
|
1074
|
+
*/ _defineProperty(this, "districtDisplay", void 0);
|
|
1075
|
+
/**
|
|
1076
|
+
* 省编码
|
|
1077
|
+
* @defaultValue ''
|
|
1078
|
+
*/ _defineProperty(this, "province", void 0);
|
|
1079
|
+
/**
|
|
1080
|
+
* 省显示文字
|
|
1081
|
+
* @defaultValue ''
|
|
1082
|
+
*/ _defineProperty(this, "provinceDisplay", void 0);
|
|
714
1083
|
var _props_city;
|
|
715
1084
|
this.city = (_props_city = props === null || props === void 0 ? void 0 : props.city) !== null && _props_city !== void 0 ? _props_city : "";
|
|
716
1085
|
var _props_cityDisplay;
|
|
@@ -735,6 +1104,12 @@ export function initImageOptions(options) {
|
|
|
735
1104
|
_classCallCheck(this, CalcDataBind);
|
|
736
1105
|
var _this;
|
|
737
1106
|
_this = _super.call(this);
|
|
1107
|
+
/**
|
|
1108
|
+
* 计算结果字段绑定项
|
|
1109
|
+
*/ _defineProperty(_assertThisInitialized(_this), "result", void 0);
|
|
1110
|
+
/**
|
|
1111
|
+
* 单位字段绑定项
|
|
1112
|
+
*/ _defineProperty(_assertThisInitialized(_this), "unit", void 0);
|
|
738
1113
|
_this.result = new DataBind(props === null || props === void 0 ? void 0 : props.result);
|
|
739
1114
|
_this.unit = new DataBind(props === null || props === void 0 ? void 0 : props.unit);
|
|
740
1115
|
return _this;
|
|
@@ -747,6 +1122,14 @@ export function initImageOptions(options) {
|
|
|
747
1122
|
*/ export var CalcValue = function CalcValue(props) {
|
|
748
1123
|
"use strict";
|
|
749
1124
|
_classCallCheck(this, CalcValue);
|
|
1125
|
+
/**
|
|
1126
|
+
* 计算结果值
|
|
1127
|
+
* @defaultValue 0
|
|
1128
|
+
*/ _defineProperty(this, "result", void 0);
|
|
1129
|
+
/**
|
|
1130
|
+
* 单位
|
|
1131
|
+
* @defaultValue ''
|
|
1132
|
+
*/ _defineProperty(this, "unit", void 0);
|
|
750
1133
|
var _props_result;
|
|
751
1134
|
this.result = (_props_result = props === null || props === void 0 ? void 0 : props.result) !== null && _props_result !== void 0 ? _props_result : 0;
|
|
752
1135
|
var _props_unit;
|
|
@@ -827,6 +1210,32 @@ export var PAGE_STATUS;
|
|
|
827
1210
|
*/ export var OperationItem = function OperationItem(props) {
|
|
828
1211
|
"use strict";
|
|
829
1212
|
_classCallCheck(this, OperationItem);
|
|
1213
|
+
/**
|
|
1214
|
+
* 是否显示
|
|
1215
|
+
* @defaultValue true
|
|
1216
|
+
* @public
|
|
1217
|
+
*/ _defineProperty(this, "isShow", void 0);
|
|
1218
|
+
/**
|
|
1219
|
+
* 优先访问流程表单
|
|
1220
|
+
* @defaultValue false
|
|
1221
|
+
* @public
|
|
1222
|
+
*/ _defineProperty(this, "priorityProcess", void 0);
|
|
1223
|
+
/**
|
|
1224
|
+
* 表单ID
|
|
1225
|
+
* @defaultValue ''
|
|
1226
|
+
* @public
|
|
1227
|
+
*/ _defineProperty(this, "formKey", void 0);
|
|
1228
|
+
/**
|
|
1229
|
+
* 显示文字
|
|
1230
|
+
* @defaultValue ''
|
|
1231
|
+
* @public
|
|
1232
|
+
*/ _defineProperty(this, "content", void 0);
|
|
1233
|
+
/**
|
|
1234
|
+
* 打开方式
|
|
1235
|
+
* @defaultValue 'modal'
|
|
1236
|
+
* @public
|
|
1237
|
+
*/ _defineProperty(this, "openType", void 0);
|
|
1238
|
+
_defineProperty(this, "type", void 0);
|
|
830
1239
|
var _props_isShow;
|
|
831
1240
|
this.isShow = (_props_isShow = props === null || props === void 0 ? void 0 : props.isShow) !== null && _props_isShow !== void 0 ? _props_isShow : true;
|
|
832
1241
|
var _props_content;
|
|
@@ -844,6 +1253,11 @@ export var ViewOperationItem = function ViewOperationItem(props) {
|
|
|
844
1253
|
"use strict";
|
|
845
1254
|
_classCallCheck(this, ViewOperationItem);
|
|
846
1255
|
var _props_headers;
|
|
1256
|
+
_defineProperty(this, "id", void 0);
|
|
1257
|
+
_defineProperty(this, "title", void 0);
|
|
1258
|
+
_defineProperty(this, "filters", void 0);
|
|
1259
|
+
_defineProperty(this, "viewFilters", void 0);
|
|
1260
|
+
_defineProperty(this, "headers", void 0);
|
|
847
1261
|
var _props_id;
|
|
848
1262
|
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId(8);
|
|
849
1263
|
var _props_title;
|
|
@@ -859,6 +1273,12 @@ export var ViewOperationItem = function ViewOperationItem(props) {
|
|
|
859
1273
|
*/ export var CustomPermissionItem = function CustomPermissionItem(props) {
|
|
860
1274
|
"use strict";
|
|
861
1275
|
_classCallCheck(this, CustomPermissionItem);
|
|
1276
|
+
/**
|
|
1277
|
+
* 人工输入的权限key
|
|
1278
|
+
*/ _defineProperty(this, "key", void 0);
|
|
1279
|
+
/**
|
|
1280
|
+
* 权限名称
|
|
1281
|
+
*/ _defineProperty(this, "caption", void 0);
|
|
862
1282
|
var _props_key;
|
|
863
1283
|
this.key = (_props_key = props.key) !== null && _props_key !== void 0 ? _props_key : genNonDuplicateId(8);
|
|
864
1284
|
var _props_caption;
|
|
@@ -867,6 +1287,10 @@ export var ViewOperationItem = function ViewOperationItem(props) {
|
|
|
867
1287
|
export var BaseStyle = function BaseStyle(props) {
|
|
868
1288
|
"use strict";
|
|
869
1289
|
_classCallCheck(this, BaseStyle);
|
|
1290
|
+
_defineProperty(this, "width", void 0);
|
|
1291
|
+
_defineProperty(this, "height", void 0);
|
|
1292
|
+
_defineProperty(this, "widthConfig", void 0);
|
|
1293
|
+
_defineProperty(this, "heightConfig", void 0);
|
|
870
1294
|
var _props_width;
|
|
871
1295
|
this.width = (_props_width = props === null || props === void 0 ? void 0 : props.width) !== null && _props_width !== void 0 ? _props_width : "";
|
|
872
1296
|
var _props_height;
|
|
@@ -879,6 +1303,16 @@ export var BaseStyle = function BaseStyle(props) {
|
|
|
879
1303
|
export var OptObject = function OptObject(props) {
|
|
880
1304
|
"use strict";
|
|
881
1305
|
_classCallCheck(this, OptObject);
|
|
1306
|
+
/**
|
|
1307
|
+
* 操作项编码
|
|
1308
|
+
* @defaultValue ''
|
|
1309
|
+
* @public
|
|
1310
|
+
*/ _defineProperty(this, "optCode", void 0);
|
|
1311
|
+
/**
|
|
1312
|
+
* 操作项类型
|
|
1313
|
+
* @defaultValue ''
|
|
1314
|
+
* @public
|
|
1315
|
+
*/ _defineProperty(this, "optType", void 0);
|
|
882
1316
|
var _props_optCode;
|
|
883
1317
|
this.optCode = (_props_optCode = props === null || props === void 0 ? void 0 : props.optCode) !== null && _props_optCode !== void 0 ? _props_optCode : "";
|
|
884
1318
|
var _props_optType;
|