@byteluck-fe/model-driven-core 2.5.0-beta.1 → 2.5.0-beta.8
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 +228 -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 +419 -3
- package/dist/index.umd.js +1 -1
- package/dist/types/api-doc-index.d.ts +4 -4
- package/dist/types/common/BaseControl/designer.d.ts +62 -62
- package/dist/types/common/BaseControl/index.d.ts +13 -13
- package/dist/types/common/BaseControl/property.d.ts +36 -36
- package/dist/types/common/BaseControl/runtime.d.ts +22 -22
- package/dist/types/common/BaseControl/types.d.ts +35 -35
- package/dist/types/common/ColumnControl/designer.d.ts +10 -10
- package/dist/types/common/ColumnControl/index.d.ts +12 -12
- package/dist/types/common/ColumnControl/property.d.ts +73 -73
- package/dist/types/common/ColumnControl/runtime.d.ts +10 -10
- package/dist/types/common/ControlArray.d.ts +8 -8
- package/dist/types/common/FormControl/designer.d.ts +13 -13
- package/dist/types/common/FormControl/index.d.ts +12 -12
- package/dist/types/common/FormControl/property.d.ts +100 -100
- package/dist/types/common/FormControl/runtime.d.ts +11 -11
- package/dist/types/common/LayoutControl/designer.d.ts +21 -21
- package/dist/types/common/LayoutControl/index.d.ts +12 -12
- package/dist/types/common/LayoutControl/property.d.ts +6 -6
- package/dist/types/common/LayoutControl/runtime.d.ts +11 -11
- package/dist/types/common/ListControl/designer.d.ts +16 -16
- package/dist/types/common/ListControl/index.d.ts +12 -12
- package/dist/types/common/ListControl/property.d.ts +12 -12
- package/dist/types/common/ListControl/runtime.d.ts +12 -12
- package/dist/types/common/SearchViewControl/designer.d.ts +11 -11
- package/dist/types/common/SearchViewControl/index.d.ts +12 -12
- package/dist/types/common/SearchViewControl/property.d.ts +8 -8
- package/dist/types/common/SearchViewControl/runtime.d.ts +11 -11
- package/dist/types/common/Validator.d.ts +15 -15
- package/dist/types/common/WrapControl/designer.d.ts +11 -11
- package/dist/types/common/WrapControl/index.d.ts +12 -12
- package/dist/types/common/WrapControl/property.d.ts +6 -6
- package/dist/types/common/WrapControl/runtime.d.ts +11 -11
- package/dist/types/common/controlHooksEmitter.d.ts +4 -4
- package/dist/types/common/index.d.ts +12 -12
- package/dist/types/common/initLinkOperationRules.d.ts +6 -6
- package/dist/types/common/initOptionAndDataSourceRules.d.ts +10 -10
- package/dist/types/framework/RegisterControls.d.ts +33 -33
- package/dist/types/framework/index.d.ts +812 -812
- package/dist/types/index.d.ts +3 -3
- package/dist/types/type.d.ts +91 -91
- 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,21 @@ 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);
|
|
87
115
|
var _props_dataCode;
|
|
88
116
|
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
|
|
89
117
|
var _props_fieldCode;
|
|
@@ -94,6 +122,9 @@ export * from "./RegisterControls";
|
|
|
94
122
|
export var AutoWidth = function AutoWidth(props) {
|
|
95
123
|
"use strict";
|
|
96
124
|
_classCallCheck(this, AutoWidth);
|
|
125
|
+
_defineProperty(this, "minWidth", void 0);
|
|
126
|
+
_defineProperty(this, "maxWidth", void 0);
|
|
127
|
+
_defineProperty(this, "flex", void 0);
|
|
97
128
|
var _props_minWidth;
|
|
98
129
|
this.minWidth = (_props_minWidth = props === null || props === void 0 ? void 0 : props.minWidth) !== null && _props_minWidth !== void 0 ? _props_minWidth : 150;
|
|
99
130
|
this.maxWidth = props === null || props === void 0 ? void 0 : props.maxWidth;
|
|
@@ -108,6 +139,8 @@ export var MetaWidth = /*#__PURE__*/ function(AutoWidth) {
|
|
|
108
139
|
_classCallCheck(this, MetaWidth);
|
|
109
140
|
var _this;
|
|
110
141
|
_this = _super.call(this, props);
|
|
142
|
+
_defineProperty(_assertThisInitialized(_this), "width", void 0);
|
|
143
|
+
_defineProperty(_assertThisInitialized(_this), "widthType", void 0);
|
|
111
144
|
var _props_width;
|
|
112
145
|
_this.width = (_props_width = props === null || props === void 0 ? void 0 : props.width) !== null && _props_width !== void 0 ? _props_width : 240;
|
|
113
146
|
var _props_widthType;
|
|
@@ -119,6 +152,8 @@ export var MetaWidth = /*#__PURE__*/ function(AutoWidth) {
|
|
|
119
152
|
export var MetaAutoWidth = function MetaAutoWidth(props) {
|
|
120
153
|
"use strict";
|
|
121
154
|
_classCallCheck(this, MetaAutoWidth);
|
|
155
|
+
_defineProperty(this, "pc", void 0);
|
|
156
|
+
_defineProperty(this, "mobile", void 0);
|
|
122
157
|
this.pc = new MetaWidth(props === null || props === void 0 ? void 0 : props.pc);
|
|
123
158
|
this.mobile = (props === null || props === void 0 ? void 0 : props.mobile) ? new MetaWidth(props === null || props === void 0 ? void 0 : props.mobile) : new MetaWidth({
|
|
124
159
|
width: 130,
|
|
@@ -128,6 +163,8 @@ export var MetaAutoWidth = function MetaAutoWidth(props) {
|
|
|
128
163
|
export var DataStorageDoc = function DataStorageDoc(props) {
|
|
129
164
|
"use strict";
|
|
130
165
|
_classCallCheck(this, DataStorageDoc);
|
|
166
|
+
_defineProperty(this, "type", void 0);
|
|
167
|
+
_defineProperty(this, "customOptions", void 0);
|
|
131
168
|
var _props_type;
|
|
132
169
|
this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "firstThree";
|
|
133
170
|
var _props_customOptions;
|
|
@@ -136,6 +173,9 @@ export var DataStorageDoc = function DataStorageDoc(props) {
|
|
|
136
173
|
export var FormBind = function FormBind(props) {
|
|
137
174
|
"use strict";
|
|
138
175
|
_classCallCheck(this, FormBind);
|
|
176
|
+
_defineProperty(this, "dataCode", void 0);
|
|
177
|
+
_defineProperty(this, "formKey", void 0);
|
|
178
|
+
_defineProperty(this, "appId", void 0);
|
|
139
179
|
var _props_dataCode;
|
|
140
180
|
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
|
|
141
181
|
var _props_formKey;
|
|
@@ -151,6 +191,7 @@ export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
|
151
191
|
_classCallCheck(this, FormSelectBind);
|
|
152
192
|
var _this;
|
|
153
193
|
_this = _super.call(this, props);
|
|
194
|
+
_defineProperty(_assertThisInitialized(_this), "primaryControlId", void 0);
|
|
154
195
|
var _props_primaryControlId;
|
|
155
196
|
_this.primaryControlId = (_props_primaryControlId = props === null || props === void 0 ? void 0 : props.primaryControlId) !== null && _props_primaryControlId !== void 0 ? _props_primaryControlId : "";
|
|
156
197
|
return _this;
|
|
@@ -163,6 +204,10 @@ export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
|
163
204
|
*/ var ListBindHeaderItem = function ListBindHeaderItem(props) {
|
|
164
205
|
"use strict";
|
|
165
206
|
_classCallCheck(this, ListBindHeaderItem);
|
|
207
|
+
/**
|
|
208
|
+
* 字段
|
|
209
|
+
* @defaultValue ''
|
|
210
|
+
*/ _defineProperty(this, "fieldCode", void 0);
|
|
166
211
|
var _props_fieldCode;
|
|
167
212
|
this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : "";
|
|
168
213
|
};
|
|
@@ -172,6 +217,18 @@ export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
|
172
217
|
"use strict";
|
|
173
218
|
_classCallCheck(this, ListBind);
|
|
174
219
|
var _props_headers;
|
|
220
|
+
/**
|
|
221
|
+
* 应用ID
|
|
222
|
+
* @public
|
|
223
|
+
*/ _defineProperty(this, "appId", void 0);
|
|
224
|
+
/**
|
|
225
|
+
* 表单ID
|
|
226
|
+
* @public
|
|
227
|
+
*/ _defineProperty(this, "formKey", void 0);
|
|
228
|
+
/**
|
|
229
|
+
* 显示字段
|
|
230
|
+
* @public
|
|
231
|
+
*/ _defineProperty(this, "headers", void 0);
|
|
175
232
|
var _props_appId;
|
|
176
233
|
this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : "";
|
|
177
234
|
var _props_formKey;
|
|
@@ -184,6 +241,9 @@ export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
|
184
241
|
export var FieldBindItem = function FieldBindItem(props) {
|
|
185
242
|
"use strict";
|
|
186
243
|
_classCallCheck(this, FieldBindItem);
|
|
244
|
+
_defineProperty(this, "fieldName", void 0);
|
|
245
|
+
_defineProperty(this, "fieldCode", void 0);
|
|
246
|
+
_defineProperty(this, "fieldType", void 0);
|
|
187
247
|
var _props_fieldName;
|
|
188
248
|
this.fieldName = (_props_fieldName = props === null || props === void 0 ? void 0 : props.fieldName) !== null && _props_fieldName !== void 0 ? _props_fieldName : "";
|
|
189
249
|
var _props_fieldCode;
|
|
@@ -199,6 +259,10 @@ export var SubListItem = /*#__PURE__*/ function(FormBind) {
|
|
|
199
259
|
_classCallCheck(this, SubListItem);
|
|
200
260
|
var _this;
|
|
201
261
|
_this = _super.call(this, props);
|
|
262
|
+
_defineProperty(_assertThisInitialized(_this), "title", void 0);
|
|
263
|
+
_defineProperty(_assertThisInitialized(_this), "svcCode", void 0);
|
|
264
|
+
_defineProperty(_assertThisInitialized(_this), "isOpenFilter", void 0);
|
|
265
|
+
_defineProperty(_assertThisInitialized(_this), "filters", void 0);
|
|
202
266
|
var _props_title;
|
|
203
267
|
_this.title = (_props_title = props === null || props === void 0 ? void 0 : props.title) !== null && _props_title !== void 0 ? _props_title : "";
|
|
204
268
|
var _props_svcCode;
|
|
@@ -215,7 +279,10 @@ export var SubListPageConfig = function SubListPageConfig(props) {
|
|
|
215
279
|
"use strict";
|
|
216
280
|
_classCallCheck(this, SubListPageConfig);
|
|
217
281
|
var _props_displayFields, _props_sublists;
|
|
218
|
-
this
|
|
282
|
+
_defineProperty(this, "type", "sublist-page");
|
|
283
|
+
_defineProperty(this, "formBind", void 0);
|
|
284
|
+
_defineProperty(this, "displayFields", void 0);
|
|
285
|
+
_defineProperty(this, "sublists", void 0);
|
|
219
286
|
this.formBind = new FormBind(props === null || props === void 0 ? void 0 : props.formBind);
|
|
220
287
|
var _props_displayFields_map;
|
|
221
288
|
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) {
|
|
@@ -229,12 +296,17 @@ export var SubListPageConfig = function SubListPageConfig(props) {
|
|
|
229
296
|
export var LeftVariable = function LeftVariable(props) {
|
|
230
297
|
"use strict";
|
|
231
298
|
_classCallCheck(this, LeftVariable);
|
|
299
|
+
_defineProperty(this, "type", void 0);
|
|
300
|
+
_defineProperty(this, "value", void 0);
|
|
232
301
|
this.type = props === null || props === void 0 ? void 0 : props.type;
|
|
233
302
|
this.value = props === null || props === void 0 ? void 0 : props.value;
|
|
234
303
|
};
|
|
235
304
|
export var RightVariable = function RightVariable(props) {
|
|
236
305
|
"use strict";
|
|
237
306
|
_classCallCheck(this, RightVariable);
|
|
307
|
+
_defineProperty(this, "type", void 0);
|
|
308
|
+
_defineProperty(this, "value", void 0);
|
|
309
|
+
_defineProperty(this, "displayBos", void 0);
|
|
238
310
|
var _props_type;
|
|
239
311
|
this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "custom";
|
|
240
312
|
var _props_value;
|
|
@@ -250,9 +322,29 @@ export var RightVariable = function RightVariable(props) {
|
|
|
250
322
|
var _this = this;
|
|
251
323
|
_classCallCheck(this, FieldFilterConditions);
|
|
252
324
|
/**
|
|
325
|
+
* 编号
|
|
326
|
+
* @defaultValue ''
|
|
327
|
+
*/ _defineProperty(this, "id", void 0);
|
|
328
|
+
/**
|
|
329
|
+
* 规则编号
|
|
330
|
+
* @defaultValue Timestamp
|
|
331
|
+
*/ _defineProperty(this, "ruleId", void 0);
|
|
332
|
+
/**
|
|
253
333
|
* 类型:连接符条件
|
|
254
334
|
* @defaultValue 'conditions'
|
|
255
|
-
*/ this
|
|
335
|
+
*/ _defineProperty(this, "type", "conditions");
|
|
336
|
+
/**
|
|
337
|
+
* 深度
|
|
338
|
+
* @defaultValue 0
|
|
339
|
+
*/ _defineProperty(this, "level", void 0);
|
|
340
|
+
/**
|
|
341
|
+
* 连接符值
|
|
342
|
+
* @defaultValue 'and'
|
|
343
|
+
*/ _defineProperty(this, "value", void 0);
|
|
344
|
+
/**
|
|
345
|
+
* 包含子项
|
|
346
|
+
* @defaultValue []
|
|
347
|
+
*/ _defineProperty(this, "children", void 0);
|
|
256
348
|
var _props_id;
|
|
257
349
|
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId();
|
|
258
350
|
var _props_ruleId;
|
|
@@ -283,9 +375,28 @@ export var RightVariable = function RightVariable(props) {
|
|
|
283
375
|
"use strict";
|
|
284
376
|
_classCallCheck(this, FieldFilterCondition);
|
|
285
377
|
/**
|
|
378
|
+
* 唯一编号
|
|
379
|
+
* @defaultValue ''
|
|
380
|
+
*/ _defineProperty(this, "id", void 0);
|
|
381
|
+
/**
|
|
382
|
+
* 规则编号
|
|
383
|
+
* @defaultValue Timestamp
|
|
384
|
+
*/ _defineProperty(this, "ruleId", void 0);
|
|
385
|
+
/**
|
|
286
386
|
* 类型
|
|
287
387
|
* @defaultValue 'condition'
|
|
288
|
-
*/ this
|
|
388
|
+
*/ _defineProperty(this, "type", "condition");
|
|
389
|
+
/**
|
|
390
|
+
* 符号
|
|
391
|
+
*/ _defineProperty(this, "symbol", void 0);
|
|
392
|
+
_defineProperty(this, "checked", void 0);
|
|
393
|
+
_defineProperty(this, "describe", void 0);
|
|
394
|
+
/**
|
|
395
|
+
* 左值
|
|
396
|
+
*/ _defineProperty(this, "leftVariableBo", void 0);
|
|
397
|
+
/**
|
|
398
|
+
* 右值
|
|
399
|
+
*/ _defineProperty(this, "rightVariableBo", void 0);
|
|
289
400
|
var _props_id;
|
|
290
401
|
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId();
|
|
291
402
|
var _props_ruleId;
|
|
@@ -305,6 +416,26 @@ export var RightVariable = function RightVariable(props) {
|
|
|
305
416
|
*/ export var MultistageFillingItem = function MultistageFillingItem(props) {
|
|
306
417
|
"use strict";
|
|
307
418
|
_classCallCheck(this, MultistageFillingItem);
|
|
419
|
+
/**
|
|
420
|
+
* 控件ID
|
|
421
|
+
* @defaultValue ''
|
|
422
|
+
* @public
|
|
423
|
+
*/ _defineProperty(this, "controlId", void 0);
|
|
424
|
+
/**
|
|
425
|
+
* 字段
|
|
426
|
+
* @defaultValue ''
|
|
427
|
+
* @public
|
|
428
|
+
*/ _defineProperty(this, "fieldCode", void 0);
|
|
429
|
+
/**
|
|
430
|
+
* 字段类型。事件在填充时,需要根据数据类型进行判断处理动作。
|
|
431
|
+
* @defaultValue ''
|
|
432
|
+
* @public
|
|
433
|
+
*/ _defineProperty(this, "fieldType", void 0);
|
|
434
|
+
/**
|
|
435
|
+
* 属性名称。如果是ObjectDataBind的控件,可以指定填充到哪个数据项。
|
|
436
|
+
* @defaultValue ''
|
|
437
|
+
* @public
|
|
438
|
+
* */ _defineProperty(this, "propName", void 0);
|
|
308
439
|
var _props_controlId;
|
|
309
440
|
this.controlId = (_props_controlId = props === null || props === void 0 ? void 0 : props.controlId) !== null && _props_controlId !== void 0 ? _props_controlId : "";
|
|
310
441
|
var _props_fieldCode;
|
|
@@ -320,6 +451,17 @@ export var RightVariable = function RightVariable(props) {
|
|
|
320
451
|
*/ export var DisplayBoListItem = function DisplayBoListItem(props) {
|
|
321
452
|
"use strict";
|
|
322
453
|
_classCallCheck(this, DisplayBoListItem);
|
|
454
|
+
/**
|
|
455
|
+
* 显示项类型:字段 | 符号
|
|
456
|
+
* @defaultValue 'FIELD'
|
|
457
|
+
* @public
|
|
458
|
+
*/ _defineProperty(this, "type", void 0);
|
|
459
|
+
/**
|
|
460
|
+
* 值
|
|
461
|
+
*/ _defineProperty(this, "value", void 0);
|
|
462
|
+
/**
|
|
463
|
+
* 字段数据类型
|
|
464
|
+
*/ _defineProperty(this, "fieldType", void 0);
|
|
323
465
|
var _props_type;
|
|
324
466
|
this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "FIELD";
|
|
325
467
|
var _props_value;
|
|
@@ -332,6 +474,14 @@ export var RightVariable = function RightVariable(props) {
|
|
|
332
474
|
*/ export var DataSourceOrderItem = function DataSourceOrderItem(props) {
|
|
333
475
|
"use strict";
|
|
334
476
|
_classCallCheck(this, DataSourceOrderItem);
|
|
477
|
+
/**
|
|
478
|
+
* 列名
|
|
479
|
+
* @defaultValue ''
|
|
480
|
+
*/ _defineProperty(this, "columnName", void 0);
|
|
481
|
+
/**
|
|
482
|
+
* 倒序
|
|
483
|
+
* @defaultValue false
|
|
484
|
+
*/ _defineProperty(this, "desc", void 0);
|
|
335
485
|
var _props_columnName;
|
|
336
486
|
this.columnName = (_props_columnName = props.columnName) !== null && _props_columnName !== void 0 ? _props_columnName : "";
|
|
337
487
|
var _props_desc;
|
|
@@ -340,6 +490,12 @@ export var RightVariable = function RightVariable(props) {
|
|
|
340
490
|
export var DataSourceDataSetValue = function DataSourceDataSetValue(props) {
|
|
341
491
|
"use strict";
|
|
342
492
|
_classCallCheck(this, DataSourceDataSetValue);
|
|
493
|
+
// fieldCode
|
|
494
|
+
_defineProperty(this, "code", void 0);
|
|
495
|
+
// 值
|
|
496
|
+
_defineProperty(this, "value", void 0);
|
|
497
|
+
// 数据类型
|
|
498
|
+
_defineProperty(this, "field_type", void 0);
|
|
343
499
|
var _props_code;
|
|
344
500
|
this.code = (_props_code = props.code) !== null && _props_code !== void 0 ? _props_code : "";
|
|
345
501
|
var _props_value;
|
|
@@ -351,6 +507,13 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
|
351
507
|
"use strict";
|
|
352
508
|
_classCallCheck(this, DataSourceParamItem);
|
|
353
509
|
var _props_orders, _props_dataSet;
|
|
510
|
+
/**
|
|
511
|
+
* 字段ID
|
|
512
|
+
*/ _defineProperty(this, "id", void 0);
|
|
513
|
+
_defineProperty(this, "limit", void 0);
|
|
514
|
+
_defineProperty(this, "orders", void 0);
|
|
515
|
+
_defineProperty(this, "formKey", void 0);
|
|
516
|
+
_defineProperty(this, "dataSet", void 0);
|
|
354
517
|
var _props_id;
|
|
355
518
|
//字段ID,不可以当作随机数生成唯一编号
|
|
356
519
|
this.id = (_props_id = props.id) !== null && _props_id !== void 0 ? _props_id : "";
|
|
@@ -400,6 +563,62 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
|
400
563
|
"use strict";
|
|
401
564
|
var _this = this;
|
|
402
565
|
_classCallCheck(this, DataSourceBind);
|
|
566
|
+
/**
|
|
567
|
+
* 绑定数据源id
|
|
568
|
+
* @defaultValue ''
|
|
569
|
+
* @public
|
|
570
|
+
*/ _defineProperty(this, "dataCode", void 0);
|
|
571
|
+
/**
|
|
572
|
+
* 存储值
|
|
573
|
+
* @defaultValue ''
|
|
574
|
+
* @public
|
|
575
|
+
*/ _defineProperty(this, "valueFieldCode", void 0);
|
|
576
|
+
/**
|
|
577
|
+
* 显示值
|
|
578
|
+
* @defaultValue []
|
|
579
|
+
* @public
|
|
580
|
+
*/ _defineProperty(this, "displayBoList", void 0);
|
|
581
|
+
/**
|
|
582
|
+
* 查询关键字参数映射
|
|
583
|
+
* @defaultValue ''
|
|
584
|
+
* @public
|
|
585
|
+
*/ _defineProperty(this, "keywordMapping", void 0);
|
|
586
|
+
/**
|
|
587
|
+
* 绑定服务
|
|
588
|
+
* @defaultValue ''
|
|
589
|
+
* @public
|
|
590
|
+
*/ _defineProperty(this, "svcCode", void 0);
|
|
591
|
+
/**
|
|
592
|
+
* 应用Id
|
|
593
|
+
* @defaultValue ''
|
|
594
|
+
* @public
|
|
595
|
+
*/ _defineProperty(this, "appId", void 0);
|
|
596
|
+
/**
|
|
597
|
+
* 过滤条件
|
|
598
|
+
* @defaultValue []
|
|
599
|
+
* @public
|
|
600
|
+
*/ _defineProperty(this, "filters", void 0);
|
|
601
|
+
// 过滤
|
|
602
|
+
/**
|
|
603
|
+
* 过滤条件-查看过滤
|
|
604
|
+
* @defaultValue []
|
|
605
|
+
* @public
|
|
606
|
+
*/ _defineProperty(this, "viewFilters", void 0);
|
|
607
|
+
/**
|
|
608
|
+
* 是否开启查看过滤
|
|
609
|
+
* @defaultValue 0:未开启;1:开启
|
|
610
|
+
* @public
|
|
611
|
+
*/ _defineProperty(this, "isOpenViewFilters", void 0);
|
|
612
|
+
/**
|
|
613
|
+
* 排序
|
|
614
|
+
* @defaultValue []
|
|
615
|
+
* @public
|
|
616
|
+
*/ _defineProperty(this, "orders", void 0);
|
|
617
|
+
/**
|
|
618
|
+
* 显示排序
|
|
619
|
+
* @defaultValue true
|
|
620
|
+
* @public
|
|
621
|
+
*/ _defineProperty(this, "showOrder", void 0);
|
|
403
622
|
var _props_dataCode;
|
|
404
623
|
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
|
|
405
624
|
var _props_appId;
|
|
@@ -426,6 +645,16 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
|
426
645
|
export var SelectedContentConfig = function SelectedContentConfig(props) {
|
|
427
646
|
"use strict";
|
|
428
647
|
_classCallCheck(this, SelectedContentConfig);
|
|
648
|
+
/**
|
|
649
|
+
* 展示已选内容
|
|
650
|
+
* @defaultValue ''
|
|
651
|
+
* @public
|
|
652
|
+
*/ _defineProperty(this, "dataCode", void 0);
|
|
653
|
+
/**
|
|
654
|
+
* 展示已选明细
|
|
655
|
+
* @defaultValue []
|
|
656
|
+
* @public
|
|
657
|
+
*/ _defineProperty(this, "displayBoList", void 0);
|
|
429
658
|
var _props_dataCode;
|
|
430
659
|
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
|
|
431
660
|
var _props_displayBoList;
|
|
@@ -434,6 +663,16 @@ export var SelectedContentConfig = function SelectedContentConfig(props) {
|
|
|
434
663
|
export var LinkOperationOption = function LinkOperationOption(props) {
|
|
435
664
|
"use strict";
|
|
436
665
|
_classCallCheck(this, LinkOperationOption);
|
|
666
|
+
_defineProperty(this, "code", void 0);
|
|
667
|
+
_defineProperty(this, "color", void 0);
|
|
668
|
+
_defineProperty(this, "command", void 0);
|
|
669
|
+
_defineProperty(this, "confirmMessage", void 0);
|
|
670
|
+
_defineProperty(this, "defaultState", void 0);
|
|
671
|
+
_defineProperty(this, "formKey", void 0);
|
|
672
|
+
_defineProperty(this, "icon", void 0);
|
|
673
|
+
_defineProperty(this, "needConfirm", void 0);
|
|
674
|
+
_defineProperty(this, "openType", void 0);
|
|
675
|
+
_defineProperty(this, "priorityProcess", void 0);
|
|
437
676
|
var _props_code;
|
|
438
677
|
this.code = (_props_code = props === null || props === void 0 ? void 0 : props.code) !== null && _props_code !== void 0 ? _props_code : "view";
|
|
439
678
|
var _props_color;
|
|
@@ -459,6 +698,9 @@ export var CustomAttributeItem = function CustomAttributeItem(props) {
|
|
|
459
698
|
"use strict";
|
|
460
699
|
_classCallCheck(this, CustomAttributeItem);
|
|
461
700
|
var _props_value;
|
|
701
|
+
_defineProperty(this, "name", void 0);
|
|
702
|
+
_defineProperty(this, "key", void 0);
|
|
703
|
+
_defineProperty(this, "value", void 0);
|
|
462
704
|
var _props_name;
|
|
463
705
|
this.name = (_props_name = props === null || props === void 0 ? void 0 : props.name) !== null && _props_name !== void 0 ? _props_name : "";
|
|
464
706
|
var _props_key;
|
|
@@ -477,6 +719,7 @@ export var SuperDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
|
477
719
|
var _this;
|
|
478
720
|
var _props_attributes;
|
|
479
721
|
_this = _super.call(this, props);
|
|
722
|
+
_defineProperty(_assertThisInitialized(_this), "attributes", void 0);
|
|
480
723
|
var _props_attributes_map;
|
|
481
724
|
_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) {
|
|
482
725
|
return new CustomAttributeItem(item);
|
|
@@ -494,6 +737,8 @@ export var OrganizationDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
|
494
737
|
var _this;
|
|
495
738
|
var _props_attributes;
|
|
496
739
|
_this = _super.call(this, props);
|
|
740
|
+
_defineProperty(_assertThisInitialized(_this), "attributes", void 0);
|
|
741
|
+
_defineProperty(_assertThisInitialized(_this), "formCode", void 0);
|
|
497
742
|
var _props_attributes_map;
|
|
498
743
|
_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) {
|
|
499
744
|
return new CustomAttributeItem(item);
|
|
@@ -512,6 +757,8 @@ export var TreeDataSourceBind = /*#__PURE__*/ function(SuperDataSourceBind) {
|
|
|
512
757
|
_classCallCheck(this, TreeDataSourceBind);
|
|
513
758
|
var _this;
|
|
514
759
|
_this = _super.call(this, props);
|
|
760
|
+
_defineProperty(_assertThisInitialized(_this), "rootNode", void 0);
|
|
761
|
+
_defineProperty(_assertThisInitialized(_this), "filterCode", void 0);
|
|
515
762
|
_this.rootNode = new RightVariable(props === null || props === void 0 ? void 0 : props.rootNode);
|
|
516
763
|
var _props_filterCode;
|
|
517
764
|
_this.filterCode = (_props_filterCode = props === null || props === void 0 ? void 0 : props.filterCode) !== null && _props_filterCode !== void 0 ? _props_filterCode : "";
|
|
@@ -523,6 +770,15 @@ var FillBind = function FillBind(props) {
|
|
|
523
770
|
"use strict";
|
|
524
771
|
_classCallCheck(this, FillBind);
|
|
525
772
|
var _props_fillList;
|
|
773
|
+
/*
|
|
774
|
+
* 需要被填充的数据源
|
|
775
|
+
* */ _defineProperty(this, "dataCode", void 0);
|
|
776
|
+
/*
|
|
777
|
+
* appId
|
|
778
|
+
* */ _defineProperty(this, "appId", void 0);
|
|
779
|
+
/*
|
|
780
|
+
* 执行填充的数据项和控件
|
|
781
|
+
* */ _defineProperty(this, "fillList", void 0);
|
|
526
782
|
var _props_dataCode;
|
|
527
783
|
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
|
|
528
784
|
var _props_appId;
|
|
@@ -544,6 +800,21 @@ var FillBind = function FillBind(props) {
|
|
|
544
800
|
_classCallCheck(this, FillPayloadBind);
|
|
545
801
|
var _this;
|
|
546
802
|
_this = _super.call(this, props);
|
|
803
|
+
/**
|
|
804
|
+
* 数据源过滤条件
|
|
805
|
+
* @defaultValue []
|
|
806
|
+
* @public
|
|
807
|
+
**/ _defineProperty(_assertThisInitialized(_this), "filters", void 0);
|
|
808
|
+
/**
|
|
809
|
+
* 数据源过滤条件-查看
|
|
810
|
+
* @defaultValue []
|
|
811
|
+
* @public
|
|
812
|
+
**/ _defineProperty(_assertThisInitialized(_this), "viewFilters", void 0);
|
|
813
|
+
/**
|
|
814
|
+
* 数据源排序条件
|
|
815
|
+
* @defaultValue []
|
|
816
|
+
* @public
|
|
817
|
+
**/ _defineProperty(_assertThisInitialized(_this), "orders", void 0);
|
|
547
818
|
callFiltersAndOrders.call(_assertThisInitialized(_this), props);
|
|
548
819
|
return _this;
|
|
549
820
|
}
|
|
@@ -560,6 +831,16 @@ var FillBind = function FillBind(props) {
|
|
|
560
831
|
_classCallCheck(this, FillBackBind);
|
|
561
832
|
var _this;
|
|
562
833
|
_this = _super.call(this, props);
|
|
834
|
+
/**
|
|
835
|
+
* 回填模式。current 当前表(根据按钮所在位置来区分,而不是通过主表和子表来区分)| subtable 子表
|
|
836
|
+
* @defaultValue 'current'
|
|
837
|
+
* @public
|
|
838
|
+
* */ _defineProperty(_assertThisInitialized(_this), "mode", void 0);
|
|
839
|
+
/**
|
|
840
|
+
* 多选
|
|
841
|
+
* @defaultValue false
|
|
842
|
+
* @public
|
|
843
|
+
*/ _defineProperty(_assertThisInitialized(_this), "multiple", void 0);
|
|
563
844
|
var _props_mode;
|
|
564
845
|
_this.mode = (_props_mode = props === null || props === void 0 ? void 0 : props.mode) !== null && _props_mode !== void 0 ? _props_mode : "current";
|
|
565
846
|
var _props_multiple;
|
|
@@ -571,6 +852,9 @@ var FillBind = function FillBind(props) {
|
|
|
571
852
|
export var Language = function Language(props) {
|
|
572
853
|
"use strict";
|
|
573
854
|
_classCallCheck(this, Language);
|
|
855
|
+
_defineProperty(this, "zh", void 0);
|
|
856
|
+
_defineProperty(this, "en", void 0);
|
|
857
|
+
_defineProperty(this, "ja", void 0);
|
|
574
858
|
var _props_zh;
|
|
575
859
|
this.zh = (_props_zh = props === null || props === void 0 ? void 0 : props.zh) !== null && _props_zh !== void 0 ? _props_zh : "";
|
|
576
860
|
var _props_en;
|
|
@@ -584,6 +868,18 @@ export var Language = function Language(props) {
|
|
|
584
868
|
*/ export var RegularRules = function RegularRules(props) {
|
|
585
869
|
"use strict";
|
|
586
870
|
_classCallCheck(this, RegularRules);
|
|
871
|
+
/**
|
|
872
|
+
* 内置模版
|
|
873
|
+
* @defaultValue ''
|
|
874
|
+
*/ _defineProperty(this, "stencilName", void 0);
|
|
875
|
+
/**
|
|
876
|
+
* 正则表达式
|
|
877
|
+
* @defaultValue ''
|
|
878
|
+
*/ _defineProperty(this, "expression", void 0);
|
|
879
|
+
/**
|
|
880
|
+
* 校验错误提示信息
|
|
881
|
+
* @defaultValue ''
|
|
882
|
+
*/ _defineProperty(this, "errMessage", void 0);
|
|
587
883
|
var _props_stencilName;
|
|
588
884
|
this.stencilName = (_props_stencilName = props === null || props === void 0 ? void 0 : props.stencilName) !== null && _props_stencilName !== void 0 ? _props_stencilName : "";
|
|
589
885
|
var _props_expression;
|
|
@@ -597,6 +893,17 @@ export var Language = function Language(props) {
|
|
|
597
893
|
*/ export var OptionSetting = function OptionSetting(props) {
|
|
598
894
|
"use strict";
|
|
599
895
|
_classCallCheck(this, OptionSetting);
|
|
896
|
+
_defineProperty(this, "id", void 0);
|
|
897
|
+
/**
|
|
898
|
+
* 显示值
|
|
899
|
+
* @defaultValue ''
|
|
900
|
+
* @public
|
|
901
|
+
*/ _defineProperty(this, "label", void 0);
|
|
902
|
+
/**
|
|
903
|
+
* 选项ID
|
|
904
|
+
* @defaultValue this.label
|
|
905
|
+
* @public
|
|
906
|
+
*/ _defineProperty(this, "value", void 0);
|
|
600
907
|
var _props_id;
|
|
601
908
|
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId(8);
|
|
602
909
|
var _props_label;
|
|
@@ -612,6 +919,8 @@ export var ImageOptionSetting = /*#__PURE__*/ function(OptionSetting) {
|
|
|
612
919
|
_classCallCheck(this, ImageOptionSetting);
|
|
613
920
|
var _this;
|
|
614
921
|
_this = _super.call(this, props);
|
|
922
|
+
_defineProperty(_assertThisInitialized(_this), "image", void 0);
|
|
923
|
+
_defineProperty(_assertThisInitialized(_this), "type", void 0);
|
|
615
924
|
var _props_image;
|
|
616
925
|
_this.image = (_props_image = props === null || props === void 0 ? void 0 : props.image) !== null && _props_image !== void 0 ? _props_image : "";
|
|
617
926
|
var _props_type;
|
|
@@ -650,6 +959,12 @@ export function initImageOptions(options) {
|
|
|
650
959
|
_classCallCheck(this, AmountDataBind);
|
|
651
960
|
var _this;
|
|
652
961
|
_this = _super.call(this);
|
|
962
|
+
/**
|
|
963
|
+
* 金额字段绑定配置
|
|
964
|
+
*/ _defineProperty(_assertThisInitialized(_this), "amount", void 0);
|
|
965
|
+
/**
|
|
966
|
+
* 币种字段绑定配置
|
|
967
|
+
*/ _defineProperty(_assertThisInitialized(_this), "currency", void 0);
|
|
653
968
|
_this.amount = new DataBind(props === null || props === void 0 ? void 0 : props.amount);
|
|
654
969
|
_this.currency = new DataBind(props === null || props === void 0 ? void 0 : props.currency);
|
|
655
970
|
return _this;
|
|
@@ -662,6 +977,14 @@ export function initImageOptions(options) {
|
|
|
662
977
|
*/ export var AmountValue = function AmountValue(props) {
|
|
663
978
|
"use strict";
|
|
664
979
|
_classCallCheck(this, AmountValue);
|
|
980
|
+
/**
|
|
981
|
+
* 金额值
|
|
982
|
+
* @defaultValue ''
|
|
983
|
+
*/ _defineProperty(this, "amount", void 0);
|
|
984
|
+
/**
|
|
985
|
+
* 货币值
|
|
986
|
+
* @defaultValue 'CNY'
|
|
987
|
+
*/ _defineProperty(this, "currency", void 0);
|
|
665
988
|
var _props_amount;
|
|
666
989
|
this.amount = (_props_amount = props === null || props === void 0 ? void 0 : props.amount) !== null && _props_amount !== void 0 ? _props_amount : "";
|
|
667
990
|
var _props_currency;
|
|
@@ -678,6 +1001,12 @@ export function initImageOptions(options) {
|
|
|
678
1001
|
_classCallCheck(this, RangeDataBind);
|
|
679
1002
|
var _this;
|
|
680
1003
|
_this = _super.call(this);
|
|
1004
|
+
/**
|
|
1005
|
+
* 开始日期字段绑定项
|
|
1006
|
+
*/ _defineProperty(_assertThisInitialized(_this), "min", void 0);
|
|
1007
|
+
/**
|
|
1008
|
+
* 结束日期字段绑定项
|
|
1009
|
+
*/ _defineProperty(_assertThisInitialized(_this), "max", void 0);
|
|
681
1010
|
_this.min = new DataBind(props === null || props === void 0 ? void 0 : props.min);
|
|
682
1011
|
_this.max = new DataBind(props === null || props === void 0 ? void 0 : props.max);
|
|
683
1012
|
return _this;
|
|
@@ -690,6 +1019,14 @@ export function initImageOptions(options) {
|
|
|
690
1019
|
*/ export var RangeDateValue = function RangeDateValue(props) {
|
|
691
1020
|
"use strict";
|
|
692
1021
|
_classCallCheck(this, RangeDateValue);
|
|
1022
|
+
/**
|
|
1023
|
+
* 开始日期值
|
|
1024
|
+
* @defaultValue ''
|
|
1025
|
+
*/ _defineProperty(this, "min", void 0);
|
|
1026
|
+
/**
|
|
1027
|
+
* 结束日期值
|
|
1028
|
+
* @defaultValue ''
|
|
1029
|
+
*/ _defineProperty(this, "max", void 0);
|
|
693
1030
|
var _props_min;
|
|
694
1031
|
this.min = (_props_min = props === null || props === void 0 ? void 0 : props.min) !== null && _props_min !== void 0 ? _props_min : "";
|
|
695
1032
|
var _props_max;
|
|
@@ -701,6 +1038,30 @@ export function initImageOptions(options) {
|
|
|
701
1038
|
*/ export var AddressValue = function AddressValue(props) {
|
|
702
1039
|
"use strict";
|
|
703
1040
|
_classCallCheck(this, AddressValue);
|
|
1041
|
+
/**
|
|
1042
|
+
* 市编码
|
|
1043
|
+
* @defaultValue ''
|
|
1044
|
+
*/ _defineProperty(this, "city", void 0);
|
|
1045
|
+
/**
|
|
1046
|
+
* 市显示文字
|
|
1047
|
+
* @defaultValue ''
|
|
1048
|
+
*/ _defineProperty(this, "cityDisplay", void 0);
|
|
1049
|
+
/**
|
|
1050
|
+
* 区编码
|
|
1051
|
+
* @defaultValue ''
|
|
1052
|
+
*/ _defineProperty(this, "district", void 0);
|
|
1053
|
+
/**
|
|
1054
|
+
* 区显示文字
|
|
1055
|
+
* @defaultValue ''
|
|
1056
|
+
*/ _defineProperty(this, "districtDisplay", void 0);
|
|
1057
|
+
/**
|
|
1058
|
+
* 省编码
|
|
1059
|
+
* @defaultValue ''
|
|
1060
|
+
*/ _defineProperty(this, "province", void 0);
|
|
1061
|
+
/**
|
|
1062
|
+
* 省显示文字
|
|
1063
|
+
* @defaultValue ''
|
|
1064
|
+
*/ _defineProperty(this, "provinceDisplay", void 0);
|
|
704
1065
|
var _props_city;
|
|
705
1066
|
this.city = (_props_city = props === null || props === void 0 ? void 0 : props.city) !== null && _props_city !== void 0 ? _props_city : "";
|
|
706
1067
|
var _props_cityDisplay;
|
|
@@ -725,6 +1086,12 @@ export function initImageOptions(options) {
|
|
|
725
1086
|
_classCallCheck(this, CalcDataBind);
|
|
726
1087
|
var _this;
|
|
727
1088
|
_this = _super.call(this);
|
|
1089
|
+
/**
|
|
1090
|
+
* 计算结果字段绑定项
|
|
1091
|
+
*/ _defineProperty(_assertThisInitialized(_this), "result", void 0);
|
|
1092
|
+
/**
|
|
1093
|
+
* 单位字段绑定项
|
|
1094
|
+
*/ _defineProperty(_assertThisInitialized(_this), "unit", void 0);
|
|
728
1095
|
_this.result = new DataBind(props === null || props === void 0 ? void 0 : props.result);
|
|
729
1096
|
_this.unit = new DataBind(props === null || props === void 0 ? void 0 : props.unit);
|
|
730
1097
|
return _this;
|
|
@@ -737,6 +1104,14 @@ export function initImageOptions(options) {
|
|
|
737
1104
|
*/ export var CalcValue = function CalcValue(props) {
|
|
738
1105
|
"use strict";
|
|
739
1106
|
_classCallCheck(this, CalcValue);
|
|
1107
|
+
/**
|
|
1108
|
+
* 计算结果值
|
|
1109
|
+
* @defaultValue 0
|
|
1110
|
+
*/ _defineProperty(this, "result", void 0);
|
|
1111
|
+
/**
|
|
1112
|
+
* 单位
|
|
1113
|
+
* @defaultValue ''
|
|
1114
|
+
*/ _defineProperty(this, "unit", void 0);
|
|
740
1115
|
var _props_result;
|
|
741
1116
|
this.result = (_props_result = props === null || props === void 0 ? void 0 : props.result) !== null && _props_result !== void 0 ? _props_result : 0;
|
|
742
1117
|
var _props_unit;
|
|
@@ -817,6 +1192,32 @@ export var PAGE_STATUS;
|
|
|
817
1192
|
*/ export var OperationItem = function OperationItem(props) {
|
|
818
1193
|
"use strict";
|
|
819
1194
|
_classCallCheck(this, OperationItem);
|
|
1195
|
+
/**
|
|
1196
|
+
* 是否显示
|
|
1197
|
+
* @defaultValue true
|
|
1198
|
+
* @public
|
|
1199
|
+
*/ _defineProperty(this, "isShow", void 0);
|
|
1200
|
+
/**
|
|
1201
|
+
* 优先访问流程表单
|
|
1202
|
+
* @defaultValue false
|
|
1203
|
+
* @public
|
|
1204
|
+
*/ _defineProperty(this, "priorityProcess", void 0);
|
|
1205
|
+
/**
|
|
1206
|
+
* 表单ID
|
|
1207
|
+
* @defaultValue ''
|
|
1208
|
+
* @public
|
|
1209
|
+
*/ _defineProperty(this, "formKey", void 0);
|
|
1210
|
+
/**
|
|
1211
|
+
* 显示文字
|
|
1212
|
+
* @defaultValue ''
|
|
1213
|
+
* @public
|
|
1214
|
+
*/ _defineProperty(this, "content", void 0);
|
|
1215
|
+
/**
|
|
1216
|
+
* 打开方式
|
|
1217
|
+
* @defaultValue 'modal'
|
|
1218
|
+
* @public
|
|
1219
|
+
*/ _defineProperty(this, "openType", void 0);
|
|
1220
|
+
_defineProperty(this, "type", void 0);
|
|
820
1221
|
var _props_isShow;
|
|
821
1222
|
this.isShow = (_props_isShow = props === null || props === void 0 ? void 0 : props.isShow) !== null && _props_isShow !== void 0 ? _props_isShow : true;
|
|
822
1223
|
var _props_content;
|
|
@@ -834,6 +1235,11 @@ export var ViewOperationItem = function ViewOperationItem(props) {
|
|
|
834
1235
|
"use strict";
|
|
835
1236
|
_classCallCheck(this, ViewOperationItem);
|
|
836
1237
|
var _props_headers;
|
|
1238
|
+
_defineProperty(this, "id", void 0);
|
|
1239
|
+
_defineProperty(this, "title", void 0);
|
|
1240
|
+
_defineProperty(this, "filters", void 0);
|
|
1241
|
+
_defineProperty(this, "viewFilters", void 0);
|
|
1242
|
+
_defineProperty(this, "headers", void 0);
|
|
837
1243
|
var _props_id;
|
|
838
1244
|
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId(8);
|
|
839
1245
|
var _props_title;
|
|
@@ -849,6 +1255,12 @@ export var ViewOperationItem = function ViewOperationItem(props) {
|
|
|
849
1255
|
*/ export var CustomPermissionItem = function CustomPermissionItem(props) {
|
|
850
1256
|
"use strict";
|
|
851
1257
|
_classCallCheck(this, CustomPermissionItem);
|
|
1258
|
+
/**
|
|
1259
|
+
* 人工输入的权限key
|
|
1260
|
+
*/ _defineProperty(this, "key", void 0);
|
|
1261
|
+
/**
|
|
1262
|
+
* 权限名称
|
|
1263
|
+
*/ _defineProperty(this, "caption", void 0);
|
|
852
1264
|
var _props_key;
|
|
853
1265
|
this.key = (_props_key = props.key) !== null && _props_key !== void 0 ? _props_key : genNonDuplicateId(8);
|
|
854
1266
|
var _props_caption;
|
|
@@ -857,6 +1269,10 @@ export var ViewOperationItem = function ViewOperationItem(props) {
|
|
|
857
1269
|
export var BaseStyle = function BaseStyle(props) {
|
|
858
1270
|
"use strict";
|
|
859
1271
|
_classCallCheck(this, BaseStyle);
|
|
1272
|
+
_defineProperty(this, "width", void 0);
|
|
1273
|
+
_defineProperty(this, "height", void 0);
|
|
1274
|
+
_defineProperty(this, "widthConfig", void 0);
|
|
1275
|
+
_defineProperty(this, "heightConfig", void 0);
|
|
860
1276
|
var _props_width;
|
|
861
1277
|
this.width = (_props_width = props === null || props === void 0 ? void 0 : props.width) !== null && _props_width !== void 0 ? _props_width : "";
|
|
862
1278
|
var _props_height;
|