@byteluck-fe/model-driven-core 2.7.0-alpha.2 → 2.7.0-alpha.20
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 +229 -191
- 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 +89 -29
- 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 +95 -61
- package/dist/esm/common/ListControl/property.js +16 -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 +213 -128
- package/dist/esm/framework/index.js +444 -18
- package/dist/esm/framework/isDataBind.js +7 -0
- package/dist/esm/index.js +1 -0
- package/dist/index.umd.js +1 -1
- package/dist/types/common/ListControl/property.d.ts +2 -0
- package/dist/types/framework/index.d.ts +3 -2
- package/dist/types/framework/isDataBind.d.ts +2 -0
- package/dist/types/index.d.ts +1 -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);
|
|
@@ -28,13 +41,6 @@ function _inherits(subClass, superClass) {
|
|
|
28
41
|
});
|
|
29
42
|
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
30
43
|
}
|
|
31
|
-
function _instanceof(left, right) {
|
|
32
|
-
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
33
|
-
return !!right[Symbol.hasInstance](left);
|
|
34
|
-
} else {
|
|
35
|
-
return left instanceof right;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
44
|
function _possibleConstructorReturn(self, call) {
|
|
39
45
|
if (call && (_typeof(call) === "object" || typeof call === "function")) {
|
|
40
46
|
return call;
|
|
@@ -84,6 +90,26 @@ export * from "./RegisterControls";
|
|
|
84
90
|
*/ export var DataBind = function DataBind(props) {
|
|
85
91
|
"use strict";
|
|
86
92
|
_classCallCheck(this, DataBind);
|
|
93
|
+
/**
|
|
94
|
+
* 数据模型编码
|
|
95
|
+
* @defaultValue ''
|
|
96
|
+
* @public
|
|
97
|
+
*/ _defineProperty(this, "dataCode", void 0);
|
|
98
|
+
/**
|
|
99
|
+
* 字段编码
|
|
100
|
+
* @defaultValue ''
|
|
101
|
+
* @public
|
|
102
|
+
*/ _defineProperty(this, "fieldCode", void 0);
|
|
103
|
+
/**
|
|
104
|
+
* 字段类型
|
|
105
|
+
* @defaultValue ''
|
|
106
|
+
* @public
|
|
107
|
+
*/ _defineProperty(this, "fieldType", void 0);
|
|
108
|
+
/**
|
|
109
|
+
* 表别名
|
|
110
|
+
* @defaultValue undefined
|
|
111
|
+
* @public
|
|
112
|
+
*/ _defineProperty(this, "aliasCode", void 0);
|
|
87
113
|
var _props_dataCode;
|
|
88
114
|
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
|
|
89
115
|
var _props_fieldCode;
|
|
@@ -95,6 +121,9 @@ export * from "./RegisterControls";
|
|
|
95
121
|
export var AutoWidth = function AutoWidth(props) {
|
|
96
122
|
"use strict";
|
|
97
123
|
_classCallCheck(this, AutoWidth);
|
|
124
|
+
_defineProperty(this, "minWidth", void 0);
|
|
125
|
+
_defineProperty(this, "maxWidth", void 0);
|
|
126
|
+
_defineProperty(this, "flex", void 0);
|
|
98
127
|
var _props_minWidth;
|
|
99
128
|
this.minWidth = (_props_minWidth = props === null || props === void 0 ? void 0 : props.minWidth) !== null && _props_minWidth !== void 0 ? _props_minWidth : 150;
|
|
100
129
|
this.maxWidth = props === null || props === void 0 ? void 0 : props.maxWidth;
|
|
@@ -109,6 +138,8 @@ export var MetaWidth = /*#__PURE__*/ function(AutoWidth) {
|
|
|
109
138
|
_classCallCheck(this, MetaWidth);
|
|
110
139
|
var _this;
|
|
111
140
|
_this = _super.call(this, props);
|
|
141
|
+
_defineProperty(_assertThisInitialized(_this), "width", void 0);
|
|
142
|
+
_defineProperty(_assertThisInitialized(_this), "widthType", void 0);
|
|
112
143
|
var _props_width;
|
|
113
144
|
_this.width = (_props_width = props === null || props === void 0 ? void 0 : props.width) !== null && _props_width !== void 0 ? _props_width : 240;
|
|
114
145
|
var _props_widthType;
|
|
@@ -120,6 +151,8 @@ export var MetaWidth = /*#__PURE__*/ function(AutoWidth) {
|
|
|
120
151
|
export var MetaAutoWidth = function MetaAutoWidth(props) {
|
|
121
152
|
"use strict";
|
|
122
153
|
_classCallCheck(this, MetaAutoWidth);
|
|
154
|
+
_defineProperty(this, "pc", void 0);
|
|
155
|
+
_defineProperty(this, "mobile", void 0);
|
|
123
156
|
this.pc = new MetaWidth(props === null || props === void 0 ? void 0 : props.pc);
|
|
124
157
|
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
158
|
width: 130,
|
|
@@ -129,6 +162,8 @@ export var MetaAutoWidth = function MetaAutoWidth(props) {
|
|
|
129
162
|
export var DataStorageDoc = function DataStorageDoc(props) {
|
|
130
163
|
"use strict";
|
|
131
164
|
_classCallCheck(this, DataStorageDoc);
|
|
165
|
+
_defineProperty(this, "type", void 0);
|
|
166
|
+
_defineProperty(this, "customOptions", void 0);
|
|
132
167
|
var _props_type;
|
|
133
168
|
this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "firstThree";
|
|
134
169
|
var _props_customOptions;
|
|
@@ -137,6 +172,9 @@ export var DataStorageDoc = function DataStorageDoc(props) {
|
|
|
137
172
|
export var FormBind = function FormBind(props) {
|
|
138
173
|
"use strict";
|
|
139
174
|
_classCallCheck(this, FormBind);
|
|
175
|
+
_defineProperty(this, "dataCode", void 0);
|
|
176
|
+
_defineProperty(this, "formKey", void 0);
|
|
177
|
+
_defineProperty(this, "appId", void 0);
|
|
140
178
|
var _props_dataCode;
|
|
141
179
|
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
|
|
142
180
|
var _props_formKey;
|
|
@@ -152,6 +190,7 @@ export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
|
152
190
|
_classCallCheck(this, FormSelectBind);
|
|
153
191
|
var _this;
|
|
154
192
|
_this = _super.call(this, props);
|
|
193
|
+
_defineProperty(_assertThisInitialized(_this), "primaryControlId", void 0);
|
|
155
194
|
var _props_primaryControlId;
|
|
156
195
|
_this.primaryControlId = (_props_primaryControlId = props === null || props === void 0 ? void 0 : props.primaryControlId) !== null && _props_primaryControlId !== void 0 ? _props_primaryControlId : "";
|
|
157
196
|
return _this;
|
|
@@ -164,6 +203,10 @@ export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
|
164
203
|
*/ var ListBindHeaderItem = function ListBindHeaderItem(props) {
|
|
165
204
|
"use strict";
|
|
166
205
|
_classCallCheck(this, ListBindHeaderItem);
|
|
206
|
+
/**
|
|
207
|
+
* 字段
|
|
208
|
+
* @defaultValue ''
|
|
209
|
+
*/ _defineProperty(this, "fieldCode", void 0);
|
|
167
210
|
var _props_fieldCode;
|
|
168
211
|
this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : "";
|
|
169
212
|
};
|
|
@@ -173,6 +216,18 @@ export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
|
173
216
|
"use strict";
|
|
174
217
|
_classCallCheck(this, ListBind);
|
|
175
218
|
var _props_headers;
|
|
219
|
+
/**
|
|
220
|
+
* 应用ID
|
|
221
|
+
* @public
|
|
222
|
+
*/ _defineProperty(this, "appId", void 0);
|
|
223
|
+
/**
|
|
224
|
+
* 表单ID
|
|
225
|
+
* @public
|
|
226
|
+
*/ _defineProperty(this, "formKey", void 0);
|
|
227
|
+
/**
|
|
228
|
+
* 显示字段
|
|
229
|
+
* @public
|
|
230
|
+
*/ _defineProperty(this, "headers", void 0);
|
|
176
231
|
var _props_appId;
|
|
177
232
|
this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : "";
|
|
178
233
|
var _props_formKey;
|
|
@@ -185,6 +240,9 @@ export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
|
185
240
|
export var FieldBindItem = function FieldBindItem(props) {
|
|
186
241
|
"use strict";
|
|
187
242
|
_classCallCheck(this, FieldBindItem);
|
|
243
|
+
_defineProperty(this, "fieldName", void 0);
|
|
244
|
+
_defineProperty(this, "fieldCode", void 0);
|
|
245
|
+
_defineProperty(this, "fieldType", void 0);
|
|
188
246
|
var _props_fieldName;
|
|
189
247
|
this.fieldName = (_props_fieldName = props === null || props === void 0 ? void 0 : props.fieldName) !== null && _props_fieldName !== void 0 ? _props_fieldName : "";
|
|
190
248
|
var _props_fieldCode;
|
|
@@ -200,6 +258,10 @@ export var SubListItem = /*#__PURE__*/ function(FormBind) {
|
|
|
200
258
|
_classCallCheck(this, SubListItem);
|
|
201
259
|
var _this;
|
|
202
260
|
_this = _super.call(this, props);
|
|
261
|
+
_defineProperty(_assertThisInitialized(_this), "title", void 0);
|
|
262
|
+
_defineProperty(_assertThisInitialized(_this), "svcCode", void 0);
|
|
263
|
+
_defineProperty(_assertThisInitialized(_this), "isOpenFilter", void 0);
|
|
264
|
+
_defineProperty(_assertThisInitialized(_this), "filters", void 0);
|
|
203
265
|
var _props_title;
|
|
204
266
|
_this.title = (_props_title = props === null || props === void 0 ? void 0 : props.title) !== null && _props_title !== void 0 ? _props_title : "";
|
|
205
267
|
var _props_svcCode;
|
|
@@ -216,7 +278,10 @@ export var SubListPageConfig = function SubListPageConfig(props) {
|
|
|
216
278
|
"use strict";
|
|
217
279
|
_classCallCheck(this, SubListPageConfig);
|
|
218
280
|
var _props_displayFields, _props_sublists;
|
|
219
|
-
this
|
|
281
|
+
_defineProperty(this, "type", "sublist-page");
|
|
282
|
+
_defineProperty(this, "formBind", void 0);
|
|
283
|
+
_defineProperty(this, "displayFields", void 0);
|
|
284
|
+
_defineProperty(this, "sublists", void 0);
|
|
220
285
|
this.formBind = new FormBind(props === null || props === void 0 ? void 0 : props.formBind);
|
|
221
286
|
var _props_displayFields_map;
|
|
222
287
|
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 +295,17 @@ export var SubListPageConfig = function SubListPageConfig(props) {
|
|
|
230
295
|
export var LeftVariable = function LeftVariable(props) {
|
|
231
296
|
"use strict";
|
|
232
297
|
_classCallCheck(this, LeftVariable);
|
|
298
|
+
_defineProperty(this, "type", void 0);
|
|
299
|
+
_defineProperty(this, "value", void 0);
|
|
233
300
|
this.type = props === null || props === void 0 ? void 0 : props.type;
|
|
234
301
|
this.value = props === null || props === void 0 ? void 0 : props.value;
|
|
235
302
|
};
|
|
236
303
|
export var RightVariable = function RightVariable(props) {
|
|
237
304
|
"use strict";
|
|
238
305
|
_classCallCheck(this, RightVariable);
|
|
306
|
+
_defineProperty(this, "type", void 0);
|
|
307
|
+
_defineProperty(this, "value", void 0);
|
|
308
|
+
_defineProperty(this, "displayBos", void 0);
|
|
239
309
|
var _props_type;
|
|
240
310
|
this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "custom";
|
|
241
311
|
var _props_value;
|
|
@@ -251,9 +321,29 @@ export var RightVariable = function RightVariable(props) {
|
|
|
251
321
|
var _this = this;
|
|
252
322
|
_classCallCheck(this, FieldFilterConditions);
|
|
253
323
|
/**
|
|
324
|
+
* 编号
|
|
325
|
+
* @defaultValue ''
|
|
326
|
+
*/ _defineProperty(this, "id", void 0);
|
|
327
|
+
/**
|
|
328
|
+
* 规则编号
|
|
329
|
+
* @defaultValue Timestamp
|
|
330
|
+
*/ _defineProperty(this, "ruleId", void 0);
|
|
331
|
+
/**
|
|
254
332
|
* 类型:连接符条件
|
|
255
333
|
* @defaultValue 'conditions'
|
|
256
|
-
*/ this
|
|
334
|
+
*/ _defineProperty(this, "type", "conditions");
|
|
335
|
+
/**
|
|
336
|
+
* 深度
|
|
337
|
+
* @defaultValue 0
|
|
338
|
+
*/ _defineProperty(this, "level", void 0);
|
|
339
|
+
/**
|
|
340
|
+
* 连接符值
|
|
341
|
+
* @defaultValue 'and'
|
|
342
|
+
*/ _defineProperty(this, "value", void 0);
|
|
343
|
+
/**
|
|
344
|
+
* 包含子项
|
|
345
|
+
* @defaultValue []
|
|
346
|
+
*/ _defineProperty(this, "children", void 0);
|
|
257
347
|
var _props_id;
|
|
258
348
|
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId();
|
|
259
349
|
var _props_ruleId;
|
|
@@ -284,9 +374,28 @@ export var RightVariable = function RightVariable(props) {
|
|
|
284
374
|
"use strict";
|
|
285
375
|
_classCallCheck(this, FieldFilterCondition);
|
|
286
376
|
/**
|
|
377
|
+
* 唯一编号
|
|
378
|
+
* @defaultValue ''
|
|
379
|
+
*/ _defineProperty(this, "id", void 0);
|
|
380
|
+
/**
|
|
381
|
+
* 规则编号
|
|
382
|
+
* @defaultValue Timestamp
|
|
383
|
+
*/ _defineProperty(this, "ruleId", void 0);
|
|
384
|
+
/**
|
|
287
385
|
* 类型
|
|
288
386
|
* @defaultValue 'condition'
|
|
289
|
-
*/ this
|
|
387
|
+
*/ _defineProperty(this, "type", "condition");
|
|
388
|
+
/**
|
|
389
|
+
* 符号
|
|
390
|
+
*/ _defineProperty(this, "symbol", void 0);
|
|
391
|
+
_defineProperty(this, "checked", void 0);
|
|
392
|
+
_defineProperty(this, "describe", void 0);
|
|
393
|
+
/**
|
|
394
|
+
* 左值
|
|
395
|
+
*/ _defineProperty(this, "leftVariableBo", void 0);
|
|
396
|
+
/**
|
|
397
|
+
* 右值
|
|
398
|
+
*/ _defineProperty(this, "rightVariableBo", void 0);
|
|
290
399
|
var _props_id;
|
|
291
400
|
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId();
|
|
292
401
|
var _props_ruleId;
|
|
@@ -303,6 +412,9 @@ export var RightVariable = function RightVariable(props) {
|
|
|
303
412
|
export var JoinRelation = function JoinRelation(props) {
|
|
304
413
|
"use strict";
|
|
305
414
|
_classCallCheck(this, JoinRelation);
|
|
415
|
+
_defineProperty(this, "aliasCode", void 0);
|
|
416
|
+
_defineProperty(this, "datasourceBind", void 0);
|
|
417
|
+
_defineProperty(this, "relationFields", void 0);
|
|
306
418
|
var _props_aliasCode;
|
|
307
419
|
this.aliasCode = (_props_aliasCode = props === null || props === void 0 ? void 0 : props.aliasCode) !== null && _props_aliasCode !== void 0 ? _props_aliasCode : "";
|
|
308
420
|
this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
|
|
@@ -315,6 +427,26 @@ export var JoinRelation = function JoinRelation(props) {
|
|
|
315
427
|
*/ export var MultistageFillingItem = function MultistageFillingItem(props) {
|
|
316
428
|
"use strict";
|
|
317
429
|
_classCallCheck(this, MultistageFillingItem);
|
|
430
|
+
/**
|
|
431
|
+
* 控件ID
|
|
432
|
+
* @defaultValue ''
|
|
433
|
+
* @public
|
|
434
|
+
*/ _defineProperty(this, "controlId", void 0);
|
|
435
|
+
/**
|
|
436
|
+
* 字段
|
|
437
|
+
* @defaultValue ''
|
|
438
|
+
* @public
|
|
439
|
+
*/ _defineProperty(this, "fieldCode", void 0);
|
|
440
|
+
/**
|
|
441
|
+
* 字段类型。事件在填充时,需要根据数据类型进行判断处理动作。
|
|
442
|
+
* @defaultValue ''
|
|
443
|
+
* @public
|
|
444
|
+
*/ _defineProperty(this, "fieldType", void 0);
|
|
445
|
+
/**
|
|
446
|
+
* 属性名称。如果是ObjectDataBind的控件,可以指定填充到哪个数据项。
|
|
447
|
+
* @defaultValue ''
|
|
448
|
+
* @public
|
|
449
|
+
* */ _defineProperty(this, "propName", void 0);
|
|
318
450
|
var _props_controlId;
|
|
319
451
|
this.controlId = (_props_controlId = props === null || props === void 0 ? void 0 : props.controlId) !== null && _props_controlId !== void 0 ? _props_controlId : "";
|
|
320
452
|
var _props_fieldCode;
|
|
@@ -330,6 +462,17 @@ export var JoinRelation = function JoinRelation(props) {
|
|
|
330
462
|
*/ export var DisplayBoListItem = function DisplayBoListItem(props) {
|
|
331
463
|
"use strict";
|
|
332
464
|
_classCallCheck(this, DisplayBoListItem);
|
|
465
|
+
/**
|
|
466
|
+
* 显示项类型:字段 | 符号
|
|
467
|
+
* @defaultValue 'FIELD'
|
|
468
|
+
* @public
|
|
469
|
+
*/ _defineProperty(this, "type", void 0);
|
|
470
|
+
/**
|
|
471
|
+
* 值
|
|
472
|
+
*/ _defineProperty(this, "value", void 0);
|
|
473
|
+
/**
|
|
474
|
+
* 字段数据类型
|
|
475
|
+
*/ _defineProperty(this, "fieldType", void 0);
|
|
333
476
|
var _props_type;
|
|
334
477
|
this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "FIELD";
|
|
335
478
|
var _props_value;
|
|
@@ -342,6 +485,14 @@ export var JoinRelation = function JoinRelation(props) {
|
|
|
342
485
|
*/ export var DataSourceOrderItem = function DataSourceOrderItem(props) {
|
|
343
486
|
"use strict";
|
|
344
487
|
_classCallCheck(this, DataSourceOrderItem);
|
|
488
|
+
/**
|
|
489
|
+
* 列名
|
|
490
|
+
* @defaultValue ''
|
|
491
|
+
*/ _defineProperty(this, "columnName", void 0);
|
|
492
|
+
/**
|
|
493
|
+
* 倒序
|
|
494
|
+
* @defaultValue false
|
|
495
|
+
*/ _defineProperty(this, "desc", void 0);
|
|
345
496
|
var _props_columnName;
|
|
346
497
|
this.columnName = (_props_columnName = props.columnName) !== null && _props_columnName !== void 0 ? _props_columnName : "";
|
|
347
498
|
var _props_desc;
|
|
@@ -350,6 +501,12 @@ export var JoinRelation = function JoinRelation(props) {
|
|
|
350
501
|
export var DataSourceDataSetValue = function DataSourceDataSetValue(props) {
|
|
351
502
|
"use strict";
|
|
352
503
|
_classCallCheck(this, DataSourceDataSetValue);
|
|
504
|
+
// fieldCode
|
|
505
|
+
_defineProperty(this, "code", void 0);
|
|
506
|
+
// 值
|
|
507
|
+
_defineProperty(this, "value", void 0);
|
|
508
|
+
// 数据类型
|
|
509
|
+
_defineProperty(this, "field_type", void 0);
|
|
353
510
|
var _props_code;
|
|
354
511
|
this.code = (_props_code = props.code) !== null && _props_code !== void 0 ? _props_code : "";
|
|
355
512
|
var _props_value;
|
|
@@ -361,6 +518,13 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
|
361
518
|
"use strict";
|
|
362
519
|
_classCallCheck(this, DataSourceParamItem);
|
|
363
520
|
var _props_orders, _props_dataSet;
|
|
521
|
+
/**
|
|
522
|
+
* 字段ID
|
|
523
|
+
*/ _defineProperty(this, "id", void 0);
|
|
524
|
+
_defineProperty(this, "limit", void 0);
|
|
525
|
+
_defineProperty(this, "orders", void 0);
|
|
526
|
+
_defineProperty(this, "formKey", void 0);
|
|
527
|
+
_defineProperty(this, "dataSet", void 0);
|
|
364
528
|
var _props_id;
|
|
365
529
|
//字段ID,不可以当作随机数生成唯一编号
|
|
366
530
|
this.id = (_props_id = props.id) !== null && _props_id !== void 0 ? _props_id : "";
|
|
@@ -380,7 +544,7 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
|
380
544
|
/**
|
|
381
545
|
* 给filters和orders赋值
|
|
382
546
|
* */ function callFiltersAndOrders(props) {
|
|
383
|
-
var _props_filters, _props_viewFilters;
|
|
547
|
+
var _props_filters, _props_viewFilters, _props_orders;
|
|
384
548
|
var _props_filters_map;
|
|
385
549
|
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) {
|
|
386
550
|
if (item.children !== undefined) {
|
|
@@ -395,13 +559,11 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
|
395
559
|
}
|
|
396
560
|
return new FieldFilterCondition(item);
|
|
397
561
|
})) !== null && _props_viewFilters_map !== void 0 ? _props_viewFilters_map : [];
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
})) !== null && _props_orders_map !== void 0 ? _props_orders_map : [];
|
|
404
|
-
}
|
|
562
|
+
var _props_orders_map;
|
|
563
|
+
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) {
|
|
564
|
+
return new DataSourceOrderItem(item);
|
|
565
|
+
})) !== null && _props_orders_map !== void 0 ? _props_orders_map : [];
|
|
566
|
+
// }
|
|
405
567
|
}
|
|
406
568
|
/**
|
|
407
569
|
* 数据源绑定配置
|
|
@@ -410,6 +572,62 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
|
410
572
|
"use strict";
|
|
411
573
|
var _this = this;
|
|
412
574
|
_classCallCheck(this, DataSourceBind);
|
|
575
|
+
/**
|
|
576
|
+
* 绑定数据源id
|
|
577
|
+
* @defaultValue ''
|
|
578
|
+
* @public
|
|
579
|
+
*/ _defineProperty(this, "dataCode", void 0);
|
|
580
|
+
/**
|
|
581
|
+
* 存储值
|
|
582
|
+
* @defaultValue ''
|
|
583
|
+
* @public
|
|
584
|
+
*/ _defineProperty(this, "valueFieldCode", void 0);
|
|
585
|
+
/**
|
|
586
|
+
* 显示值
|
|
587
|
+
* @defaultValue []
|
|
588
|
+
* @public
|
|
589
|
+
*/ _defineProperty(this, "displayBoList", void 0);
|
|
590
|
+
/**
|
|
591
|
+
* 查询关键字参数映射
|
|
592
|
+
* @defaultValue ''
|
|
593
|
+
* @public
|
|
594
|
+
*/ _defineProperty(this, "keywordMapping", void 0);
|
|
595
|
+
/**
|
|
596
|
+
* 绑定服务
|
|
597
|
+
* @defaultValue ''
|
|
598
|
+
* @public
|
|
599
|
+
*/ _defineProperty(this, "svcCode", void 0);
|
|
600
|
+
/**
|
|
601
|
+
* 应用Id
|
|
602
|
+
* @defaultValue ''
|
|
603
|
+
* @public
|
|
604
|
+
*/ _defineProperty(this, "appId", void 0);
|
|
605
|
+
/**
|
|
606
|
+
* 过滤条件
|
|
607
|
+
* @defaultValue []
|
|
608
|
+
* @public
|
|
609
|
+
*/ _defineProperty(this, "filters", void 0);
|
|
610
|
+
// 过滤
|
|
611
|
+
/**
|
|
612
|
+
* 过滤条件-查看过滤
|
|
613
|
+
* @defaultValue []
|
|
614
|
+
* @public
|
|
615
|
+
*/ _defineProperty(this, "viewFilters", void 0);
|
|
616
|
+
/**
|
|
617
|
+
* 是否开启查看过滤
|
|
618
|
+
* @defaultValue 0:未开启;1:开启
|
|
619
|
+
* @public
|
|
620
|
+
*/ _defineProperty(this, "isOpenViewFilters", void 0);
|
|
621
|
+
/**
|
|
622
|
+
* 排序
|
|
623
|
+
* @defaultValue []
|
|
624
|
+
* @public
|
|
625
|
+
*/ _defineProperty(this, "orders", void 0);
|
|
626
|
+
/**
|
|
627
|
+
* 显示排序
|
|
628
|
+
* @defaultValue true
|
|
629
|
+
* @public
|
|
630
|
+
*/ _defineProperty(this, "showOrder", void 0);
|
|
413
631
|
var _props_dataCode;
|
|
414
632
|
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
|
|
415
633
|
var _props_appId;
|
|
@@ -436,6 +654,16 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
|
436
654
|
export var SelectedContentConfig = function SelectedContentConfig(props) {
|
|
437
655
|
"use strict";
|
|
438
656
|
_classCallCheck(this, SelectedContentConfig);
|
|
657
|
+
/**
|
|
658
|
+
* 展示已选内容
|
|
659
|
+
* @defaultValue ''
|
|
660
|
+
* @public
|
|
661
|
+
*/ _defineProperty(this, "dataCode", void 0);
|
|
662
|
+
/**
|
|
663
|
+
* 展示已选明细
|
|
664
|
+
* @defaultValue []
|
|
665
|
+
* @public
|
|
666
|
+
*/ _defineProperty(this, "displayBoList", void 0);
|
|
439
667
|
var _props_dataCode;
|
|
440
668
|
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
|
|
441
669
|
var _props_displayBoList;
|
|
@@ -444,6 +672,16 @@ export var SelectedContentConfig = function SelectedContentConfig(props) {
|
|
|
444
672
|
export var LinkOperationOption = function LinkOperationOption(props) {
|
|
445
673
|
"use strict";
|
|
446
674
|
_classCallCheck(this, LinkOperationOption);
|
|
675
|
+
_defineProperty(this, "code", void 0);
|
|
676
|
+
_defineProperty(this, "color", void 0);
|
|
677
|
+
_defineProperty(this, "command", void 0);
|
|
678
|
+
_defineProperty(this, "confirmMessage", void 0);
|
|
679
|
+
_defineProperty(this, "defaultState", void 0);
|
|
680
|
+
_defineProperty(this, "formKey", void 0);
|
|
681
|
+
_defineProperty(this, "icon", void 0);
|
|
682
|
+
_defineProperty(this, "needConfirm", void 0);
|
|
683
|
+
_defineProperty(this, "openType", void 0);
|
|
684
|
+
_defineProperty(this, "priorityProcess", void 0);
|
|
447
685
|
var _props_code;
|
|
448
686
|
this.code = (_props_code = props === null || props === void 0 ? void 0 : props.code) !== null && _props_code !== void 0 ? _props_code : "view";
|
|
449
687
|
var _props_color;
|
|
@@ -469,6 +707,9 @@ export var CustomAttributeItem = function CustomAttributeItem(props) {
|
|
|
469
707
|
"use strict";
|
|
470
708
|
_classCallCheck(this, CustomAttributeItem);
|
|
471
709
|
var _props_value;
|
|
710
|
+
_defineProperty(this, "name", void 0);
|
|
711
|
+
_defineProperty(this, "key", void 0);
|
|
712
|
+
_defineProperty(this, "value", void 0);
|
|
472
713
|
var _props_name;
|
|
473
714
|
this.name = (_props_name = props === null || props === void 0 ? void 0 : props.name) !== null && _props_name !== void 0 ? _props_name : "";
|
|
474
715
|
var _props_key;
|
|
@@ -487,6 +728,7 @@ export var SuperDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
|
487
728
|
var _this;
|
|
488
729
|
var _props_attributes;
|
|
489
730
|
_this = _super.call(this, props);
|
|
731
|
+
_defineProperty(_assertThisInitialized(_this), "attributes", void 0);
|
|
490
732
|
var _props_attributes_map;
|
|
491
733
|
_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
734
|
return new CustomAttributeItem(item);
|
|
@@ -504,6 +746,8 @@ export var OrganizationDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
|
504
746
|
var _this;
|
|
505
747
|
var _props_attributes;
|
|
506
748
|
_this = _super.call(this, props);
|
|
749
|
+
_defineProperty(_assertThisInitialized(_this), "attributes", void 0);
|
|
750
|
+
_defineProperty(_assertThisInitialized(_this), "formCode", void 0);
|
|
507
751
|
var _props_attributes_map;
|
|
508
752
|
_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
753
|
return new CustomAttributeItem(item);
|
|
@@ -522,6 +766,8 @@ export var TreeDataSourceBind = /*#__PURE__*/ function(SuperDataSourceBind) {
|
|
|
522
766
|
_classCallCheck(this, TreeDataSourceBind);
|
|
523
767
|
var _this;
|
|
524
768
|
_this = _super.call(this, props);
|
|
769
|
+
_defineProperty(_assertThisInitialized(_this), "rootNode", void 0);
|
|
770
|
+
_defineProperty(_assertThisInitialized(_this), "filterCode", void 0);
|
|
525
771
|
_this.rootNode = new RightVariable(props === null || props === void 0 ? void 0 : props.rootNode);
|
|
526
772
|
var _props_filterCode;
|
|
527
773
|
_this.filterCode = (_props_filterCode = props === null || props === void 0 ? void 0 : props.filterCode) !== null && _props_filterCode !== void 0 ? _props_filterCode : "";
|
|
@@ -533,6 +779,15 @@ var FillBind = function FillBind(props) {
|
|
|
533
779
|
"use strict";
|
|
534
780
|
_classCallCheck(this, FillBind);
|
|
535
781
|
var _props_fillList;
|
|
782
|
+
/*
|
|
783
|
+
* 需要被填充的数据源
|
|
784
|
+
* */ _defineProperty(this, "dataCode", void 0);
|
|
785
|
+
/*
|
|
786
|
+
* appId
|
|
787
|
+
* */ _defineProperty(this, "appId", void 0);
|
|
788
|
+
/*
|
|
789
|
+
* 执行填充的数据项和控件
|
|
790
|
+
* */ _defineProperty(this, "fillList", void 0);
|
|
536
791
|
var _props_dataCode;
|
|
537
792
|
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
|
|
538
793
|
var _props_appId;
|
|
@@ -554,6 +809,21 @@ var FillBind = function FillBind(props) {
|
|
|
554
809
|
_classCallCheck(this, FillPayloadBind);
|
|
555
810
|
var _this;
|
|
556
811
|
_this = _super.call(this, props);
|
|
812
|
+
/**
|
|
813
|
+
* 数据源过滤条件
|
|
814
|
+
* @defaultValue []
|
|
815
|
+
* @public
|
|
816
|
+
**/ _defineProperty(_assertThisInitialized(_this), "filters", void 0);
|
|
817
|
+
/**
|
|
818
|
+
* 数据源过滤条件-查看
|
|
819
|
+
* @defaultValue []
|
|
820
|
+
* @public
|
|
821
|
+
**/ _defineProperty(_assertThisInitialized(_this), "viewFilters", void 0);
|
|
822
|
+
/**
|
|
823
|
+
* 数据源排序条件
|
|
824
|
+
* @defaultValue []
|
|
825
|
+
* @public
|
|
826
|
+
**/ _defineProperty(_assertThisInitialized(_this), "orders", void 0);
|
|
557
827
|
callFiltersAndOrders.call(_assertThisInitialized(_this), props);
|
|
558
828
|
return _this;
|
|
559
829
|
}
|
|
@@ -570,6 +840,16 @@ var FillBind = function FillBind(props) {
|
|
|
570
840
|
_classCallCheck(this, FillBackBind);
|
|
571
841
|
var _this;
|
|
572
842
|
_this = _super.call(this, props);
|
|
843
|
+
/**
|
|
844
|
+
* 回填模式。current 当前表(根据按钮所在位置来区分,而不是通过主表和子表来区分)| subtable 子表
|
|
845
|
+
* @defaultValue 'current'
|
|
846
|
+
* @public
|
|
847
|
+
* */ _defineProperty(_assertThisInitialized(_this), "mode", void 0);
|
|
848
|
+
/**
|
|
849
|
+
* 多选
|
|
850
|
+
* @defaultValue false
|
|
851
|
+
* @public
|
|
852
|
+
*/ _defineProperty(_assertThisInitialized(_this), "multiple", void 0);
|
|
573
853
|
var _props_mode;
|
|
574
854
|
_this.mode = (_props_mode = props === null || props === void 0 ? void 0 : props.mode) !== null && _props_mode !== void 0 ? _props_mode : "current";
|
|
575
855
|
var _props_multiple;
|
|
@@ -581,6 +861,9 @@ var FillBind = function FillBind(props) {
|
|
|
581
861
|
export var Language = function Language(props) {
|
|
582
862
|
"use strict";
|
|
583
863
|
_classCallCheck(this, Language);
|
|
864
|
+
_defineProperty(this, "zh", void 0);
|
|
865
|
+
_defineProperty(this, "en", void 0);
|
|
866
|
+
_defineProperty(this, "ja", void 0);
|
|
584
867
|
var _props_zh;
|
|
585
868
|
this.zh = (_props_zh = props === null || props === void 0 ? void 0 : props.zh) !== null && _props_zh !== void 0 ? _props_zh : "";
|
|
586
869
|
var _props_en;
|
|
@@ -594,6 +877,18 @@ export var Language = function Language(props) {
|
|
|
594
877
|
*/ export var RegularRules = function RegularRules(props) {
|
|
595
878
|
"use strict";
|
|
596
879
|
_classCallCheck(this, RegularRules);
|
|
880
|
+
/**
|
|
881
|
+
* 内置模版
|
|
882
|
+
* @defaultValue ''
|
|
883
|
+
*/ _defineProperty(this, "stencilName", void 0);
|
|
884
|
+
/**
|
|
885
|
+
* 正则表达式
|
|
886
|
+
* @defaultValue ''
|
|
887
|
+
*/ _defineProperty(this, "expression", void 0);
|
|
888
|
+
/**
|
|
889
|
+
* 校验错误提示信息
|
|
890
|
+
* @defaultValue ''
|
|
891
|
+
*/ _defineProperty(this, "errMessage", void 0);
|
|
597
892
|
var _props_stencilName;
|
|
598
893
|
this.stencilName = (_props_stencilName = props === null || props === void 0 ? void 0 : props.stencilName) !== null && _props_stencilName !== void 0 ? _props_stencilName : "";
|
|
599
894
|
var _props_expression;
|
|
@@ -607,6 +902,17 @@ export var Language = function Language(props) {
|
|
|
607
902
|
*/ export var OptionSetting = function OptionSetting(props) {
|
|
608
903
|
"use strict";
|
|
609
904
|
_classCallCheck(this, OptionSetting);
|
|
905
|
+
_defineProperty(this, "id", void 0);
|
|
906
|
+
/**
|
|
907
|
+
* 显示值
|
|
908
|
+
* @defaultValue ''
|
|
909
|
+
* @public
|
|
910
|
+
*/ _defineProperty(this, "label", void 0);
|
|
911
|
+
/**
|
|
912
|
+
* 选项ID
|
|
913
|
+
* @defaultValue this.label
|
|
914
|
+
* @public
|
|
915
|
+
*/ _defineProperty(this, "value", void 0);
|
|
610
916
|
var _props_id;
|
|
611
917
|
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId(8);
|
|
612
918
|
var _props_label;
|
|
@@ -622,6 +928,8 @@ export var ImageOptionSetting = /*#__PURE__*/ function(OptionSetting) {
|
|
|
622
928
|
_classCallCheck(this, ImageOptionSetting);
|
|
623
929
|
var _this;
|
|
624
930
|
_this = _super.call(this, props);
|
|
931
|
+
_defineProperty(_assertThisInitialized(_this), "image", void 0);
|
|
932
|
+
_defineProperty(_assertThisInitialized(_this), "type", void 0);
|
|
625
933
|
var _props_image;
|
|
626
934
|
_this.image = (_props_image = props === null || props === void 0 ? void 0 : props.image) !== null && _props_image !== void 0 ? _props_image : "";
|
|
627
935
|
var _props_type;
|
|
@@ -660,6 +968,12 @@ export function initImageOptions(options) {
|
|
|
660
968
|
_classCallCheck(this, AmountDataBind);
|
|
661
969
|
var _this;
|
|
662
970
|
_this = _super.call(this);
|
|
971
|
+
/**
|
|
972
|
+
* 金额字段绑定配置
|
|
973
|
+
*/ _defineProperty(_assertThisInitialized(_this), "amount", void 0);
|
|
974
|
+
/**
|
|
975
|
+
* 币种字段绑定配置
|
|
976
|
+
*/ _defineProperty(_assertThisInitialized(_this), "currency", void 0);
|
|
663
977
|
_this.amount = new DataBind(props === null || props === void 0 ? void 0 : props.amount);
|
|
664
978
|
_this.currency = new DataBind(props === null || props === void 0 ? void 0 : props.currency);
|
|
665
979
|
return _this;
|
|
@@ -672,6 +986,14 @@ export function initImageOptions(options) {
|
|
|
672
986
|
*/ export var AmountValue = function AmountValue(props) {
|
|
673
987
|
"use strict";
|
|
674
988
|
_classCallCheck(this, AmountValue);
|
|
989
|
+
/**
|
|
990
|
+
* 金额值
|
|
991
|
+
* @defaultValue ''
|
|
992
|
+
*/ _defineProperty(this, "amount", void 0);
|
|
993
|
+
/**
|
|
994
|
+
* 货币值
|
|
995
|
+
* @defaultValue 'CNY'
|
|
996
|
+
*/ _defineProperty(this, "currency", void 0);
|
|
675
997
|
var _props_amount;
|
|
676
998
|
this.amount = (_props_amount = props === null || props === void 0 ? void 0 : props.amount) !== null && _props_amount !== void 0 ? _props_amount : "";
|
|
677
999
|
var _props_currency;
|
|
@@ -688,6 +1010,12 @@ export function initImageOptions(options) {
|
|
|
688
1010
|
_classCallCheck(this, RangeDataBind);
|
|
689
1011
|
var _this;
|
|
690
1012
|
_this = _super.call(this);
|
|
1013
|
+
/**
|
|
1014
|
+
* 开始日期字段绑定项
|
|
1015
|
+
*/ _defineProperty(_assertThisInitialized(_this), "min", void 0);
|
|
1016
|
+
/**
|
|
1017
|
+
* 结束日期字段绑定项
|
|
1018
|
+
*/ _defineProperty(_assertThisInitialized(_this), "max", void 0);
|
|
691
1019
|
_this.min = new DataBind(props === null || props === void 0 ? void 0 : props.min);
|
|
692
1020
|
_this.max = new DataBind(props === null || props === void 0 ? void 0 : props.max);
|
|
693
1021
|
return _this;
|
|
@@ -700,6 +1028,14 @@ export function initImageOptions(options) {
|
|
|
700
1028
|
*/ export var RangeDateValue = function RangeDateValue(props) {
|
|
701
1029
|
"use strict";
|
|
702
1030
|
_classCallCheck(this, RangeDateValue);
|
|
1031
|
+
/**
|
|
1032
|
+
* 开始日期值
|
|
1033
|
+
* @defaultValue ''
|
|
1034
|
+
*/ _defineProperty(this, "min", void 0);
|
|
1035
|
+
/**
|
|
1036
|
+
* 结束日期值
|
|
1037
|
+
* @defaultValue ''
|
|
1038
|
+
*/ _defineProperty(this, "max", void 0);
|
|
703
1039
|
var _props_min;
|
|
704
1040
|
this.min = (_props_min = props === null || props === void 0 ? void 0 : props.min) !== null && _props_min !== void 0 ? _props_min : "";
|
|
705
1041
|
var _props_max;
|
|
@@ -711,6 +1047,30 @@ export function initImageOptions(options) {
|
|
|
711
1047
|
*/ export var AddressValue = function AddressValue(props) {
|
|
712
1048
|
"use strict";
|
|
713
1049
|
_classCallCheck(this, AddressValue);
|
|
1050
|
+
/**
|
|
1051
|
+
* 市编码
|
|
1052
|
+
* @defaultValue ''
|
|
1053
|
+
*/ _defineProperty(this, "city", void 0);
|
|
1054
|
+
/**
|
|
1055
|
+
* 市显示文字
|
|
1056
|
+
* @defaultValue ''
|
|
1057
|
+
*/ _defineProperty(this, "cityDisplay", void 0);
|
|
1058
|
+
/**
|
|
1059
|
+
* 区编码
|
|
1060
|
+
* @defaultValue ''
|
|
1061
|
+
*/ _defineProperty(this, "district", void 0);
|
|
1062
|
+
/**
|
|
1063
|
+
* 区显示文字
|
|
1064
|
+
* @defaultValue ''
|
|
1065
|
+
*/ _defineProperty(this, "districtDisplay", void 0);
|
|
1066
|
+
/**
|
|
1067
|
+
* 省编码
|
|
1068
|
+
* @defaultValue ''
|
|
1069
|
+
*/ _defineProperty(this, "province", void 0);
|
|
1070
|
+
/**
|
|
1071
|
+
* 省显示文字
|
|
1072
|
+
* @defaultValue ''
|
|
1073
|
+
*/ _defineProperty(this, "provinceDisplay", void 0);
|
|
714
1074
|
var _props_city;
|
|
715
1075
|
this.city = (_props_city = props === null || props === void 0 ? void 0 : props.city) !== null && _props_city !== void 0 ? _props_city : "";
|
|
716
1076
|
var _props_cityDisplay;
|
|
@@ -735,6 +1095,12 @@ export function initImageOptions(options) {
|
|
|
735
1095
|
_classCallCheck(this, CalcDataBind);
|
|
736
1096
|
var _this;
|
|
737
1097
|
_this = _super.call(this);
|
|
1098
|
+
/**
|
|
1099
|
+
* 计算结果字段绑定项
|
|
1100
|
+
*/ _defineProperty(_assertThisInitialized(_this), "result", void 0);
|
|
1101
|
+
/**
|
|
1102
|
+
* 单位字段绑定项
|
|
1103
|
+
*/ _defineProperty(_assertThisInitialized(_this), "unit", void 0);
|
|
738
1104
|
_this.result = new DataBind(props === null || props === void 0 ? void 0 : props.result);
|
|
739
1105
|
_this.unit = new DataBind(props === null || props === void 0 ? void 0 : props.unit);
|
|
740
1106
|
return _this;
|
|
@@ -747,6 +1113,14 @@ export function initImageOptions(options) {
|
|
|
747
1113
|
*/ export var CalcValue = function CalcValue(props) {
|
|
748
1114
|
"use strict";
|
|
749
1115
|
_classCallCheck(this, CalcValue);
|
|
1116
|
+
/**
|
|
1117
|
+
* 计算结果值
|
|
1118
|
+
* @defaultValue 0
|
|
1119
|
+
*/ _defineProperty(this, "result", void 0);
|
|
1120
|
+
/**
|
|
1121
|
+
* 单位
|
|
1122
|
+
* @defaultValue ''
|
|
1123
|
+
*/ _defineProperty(this, "unit", void 0);
|
|
750
1124
|
var _props_result;
|
|
751
1125
|
this.result = (_props_result = props === null || props === void 0 ? void 0 : props.result) !== null && _props_result !== void 0 ? _props_result : 0;
|
|
752
1126
|
var _props_unit;
|
|
@@ -813,6 +1187,7 @@ export var COMMON_SETTING_TYPE;
|
|
|
813
1187
|
COMMON_SETTING_TYPE["IS_INLINE_EDIT"] = "isInlineEdit";
|
|
814
1188
|
COMMON_SETTING_TYPE["REVISIONS_MODE"] = "revisionsMode";
|
|
815
1189
|
COMMON_SETTING_TYPE["ALLOW_COPY_OPTIONS"] = "allowCopyOptions";
|
|
1190
|
+
COMMON_SETTING_TYPE["IS_PASTE"] = "isPaste";
|
|
816
1191
|
})(COMMON_SETTING_TYPE || (COMMON_SETTING_TYPE = {}));
|
|
817
1192
|
export var PAGE_STATUS;
|
|
818
1193
|
(function(PAGE_STATUS) {
|
|
@@ -827,6 +1202,32 @@ export var PAGE_STATUS;
|
|
|
827
1202
|
*/ export var OperationItem = function OperationItem(props) {
|
|
828
1203
|
"use strict";
|
|
829
1204
|
_classCallCheck(this, OperationItem);
|
|
1205
|
+
/**
|
|
1206
|
+
* 是否显示
|
|
1207
|
+
* @defaultValue true
|
|
1208
|
+
* @public
|
|
1209
|
+
*/ _defineProperty(this, "isShow", void 0);
|
|
1210
|
+
/**
|
|
1211
|
+
* 优先访问流程表单
|
|
1212
|
+
* @defaultValue false
|
|
1213
|
+
* @public
|
|
1214
|
+
*/ _defineProperty(this, "priorityProcess", void 0);
|
|
1215
|
+
/**
|
|
1216
|
+
* 表单ID
|
|
1217
|
+
* @defaultValue ''
|
|
1218
|
+
* @public
|
|
1219
|
+
*/ _defineProperty(this, "formKey", void 0);
|
|
1220
|
+
/**
|
|
1221
|
+
* 显示文字
|
|
1222
|
+
* @defaultValue ''
|
|
1223
|
+
* @public
|
|
1224
|
+
*/ _defineProperty(this, "content", void 0);
|
|
1225
|
+
/**
|
|
1226
|
+
* 打开方式
|
|
1227
|
+
* @defaultValue 'modal'
|
|
1228
|
+
* @public
|
|
1229
|
+
*/ _defineProperty(this, "openType", void 0);
|
|
1230
|
+
_defineProperty(this, "type", void 0);
|
|
830
1231
|
var _props_isShow;
|
|
831
1232
|
this.isShow = (_props_isShow = props === null || props === void 0 ? void 0 : props.isShow) !== null && _props_isShow !== void 0 ? _props_isShow : true;
|
|
832
1233
|
var _props_content;
|
|
@@ -844,6 +1245,11 @@ export var ViewOperationItem = function ViewOperationItem(props) {
|
|
|
844
1245
|
"use strict";
|
|
845
1246
|
_classCallCheck(this, ViewOperationItem);
|
|
846
1247
|
var _props_headers;
|
|
1248
|
+
_defineProperty(this, "id", void 0);
|
|
1249
|
+
_defineProperty(this, "title", void 0);
|
|
1250
|
+
_defineProperty(this, "filters", void 0);
|
|
1251
|
+
_defineProperty(this, "viewFilters", void 0);
|
|
1252
|
+
_defineProperty(this, "headers", void 0);
|
|
847
1253
|
var _props_id;
|
|
848
1254
|
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId(8);
|
|
849
1255
|
var _props_title;
|
|
@@ -859,6 +1265,12 @@ export var ViewOperationItem = function ViewOperationItem(props) {
|
|
|
859
1265
|
*/ export var CustomPermissionItem = function CustomPermissionItem(props) {
|
|
860
1266
|
"use strict";
|
|
861
1267
|
_classCallCheck(this, CustomPermissionItem);
|
|
1268
|
+
/**
|
|
1269
|
+
* 人工输入的权限key
|
|
1270
|
+
*/ _defineProperty(this, "key", void 0);
|
|
1271
|
+
/**
|
|
1272
|
+
* 权限名称
|
|
1273
|
+
*/ _defineProperty(this, "caption", void 0);
|
|
862
1274
|
var _props_key;
|
|
863
1275
|
this.key = (_props_key = props.key) !== null && _props_key !== void 0 ? _props_key : genNonDuplicateId(8);
|
|
864
1276
|
var _props_caption;
|
|
@@ -867,6 +1279,10 @@ export var ViewOperationItem = function ViewOperationItem(props) {
|
|
|
867
1279
|
export var BaseStyle = function BaseStyle(props) {
|
|
868
1280
|
"use strict";
|
|
869
1281
|
_classCallCheck(this, BaseStyle);
|
|
1282
|
+
_defineProperty(this, "width", void 0);
|
|
1283
|
+
_defineProperty(this, "height", void 0);
|
|
1284
|
+
_defineProperty(this, "widthConfig", void 0);
|
|
1285
|
+
_defineProperty(this, "heightConfig", void 0);
|
|
870
1286
|
var _props_width;
|
|
871
1287
|
this.width = (_props_width = props === null || props === void 0 ? void 0 : props.width) !== null && _props_width !== void 0 ? _props_width : "";
|
|
872
1288
|
var _props_height;
|
|
@@ -879,6 +1295,16 @@ export var BaseStyle = function BaseStyle(props) {
|
|
|
879
1295
|
export var OptObject = function OptObject(props) {
|
|
880
1296
|
"use strict";
|
|
881
1297
|
_classCallCheck(this, OptObject);
|
|
1298
|
+
/**
|
|
1299
|
+
* 操作项编码
|
|
1300
|
+
* @defaultValue ''
|
|
1301
|
+
* @public
|
|
1302
|
+
*/ _defineProperty(this, "optCode", void 0);
|
|
1303
|
+
/**
|
|
1304
|
+
* 操作项类型
|
|
1305
|
+
* @defaultValue ''
|
|
1306
|
+
* @public
|
|
1307
|
+
*/ _defineProperty(this, "optType", void 0);
|
|
882
1308
|
var _props_optCode;
|
|
883
1309
|
this.optCode = (_props_optCode = props === null || props === void 0 ? void 0 : props.optCode) !== null && _props_optCode !== void 0 ? _props_optCode : "";
|
|
884
1310
|
var _props_optType;
|