@byteluck-fe/model-driven-core 2.5.1-alpha.1 → 2.5.3
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 +58 -57
- package/dist/esm/common/BaseControl/property.js +43 -54
- package/dist/esm/common/BaseControl/runtime.js +17 -17
- package/dist/esm/common/ColumnControl/designer.js +25 -25
- package/dist/esm/common/ColumnControl/property.js +44 -44
- package/dist/esm/common/ColumnControl/runtime.js +25 -25
- package/dist/esm/common/ControlArray.js +13 -13
- package/dist/esm/common/FormControl/designer.js +27 -27
- package/dist/esm/common/FormControl/property.js +53 -53
- package/dist/esm/common/FormControl/runtime.js +26 -26
- package/dist/esm/common/LayoutControl/designer.js +61 -61
- package/dist/esm/common/LayoutControl/property.js +22 -22
- package/dist/esm/common/LayoutControl/runtime.js +27 -27
- package/dist/esm/common/ListControl/designer.js +58 -58
- package/dist/esm/common/ListControl/property.js +25 -25
- package/dist/esm/common/ListControl/runtime.js +30 -30
- package/dist/esm/common/SearchViewControl/designer.js +25 -25
- package/dist/esm/common/SearchViewControl/property.js +24 -24
- package/dist/esm/common/SearchViewControl/runtime.js +25 -25
- package/dist/esm/common/WrapControl/designer.js +25 -25
- package/dist/esm/common/WrapControl/property.js +22 -22
- package/dist/esm/common/WrapControl/runtime.js +25 -25
- package/dist/esm/framework/RegisterControls.js +14 -25
- package/dist/esm/framework/index.js +235 -234
- package/dist/index.umd.js +1 -1
- package/dist/types/framework/RegisterControls.d.ts +0 -2
- package/dist/types/framework/index.d.ts +2 -1
- package/package.json +3 -3
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _assert_this_initialized(self) {
|
|
2
2
|
if (self === void 0) {
|
|
3
3
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
4
|
}
|
|
5
5
|
return self;
|
|
6
6
|
}
|
|
7
|
-
function
|
|
7
|
+
function _class_call_check(instance, Constructor) {
|
|
8
8
|
if (!(instance instanceof Constructor)) {
|
|
9
9
|
throw new TypeError("Cannot call a class as a function");
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function _define_property(obj, key, value) {
|
|
13
13
|
if (key in obj) {
|
|
14
14
|
Object.defineProperty(obj, key, {
|
|
15
15
|
value: value,
|
|
@@ -22,11 +22,11 @@ function _defineProperty(obj, key, value) {
|
|
|
22
22
|
}
|
|
23
23
|
return obj;
|
|
24
24
|
}
|
|
25
|
-
function
|
|
26
|
-
|
|
25
|
+
function _get_prototype_of(o) {
|
|
26
|
+
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
27
27
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
28
28
|
};
|
|
29
|
-
return
|
|
29
|
+
return _get_prototype_of(o);
|
|
30
30
|
}
|
|
31
31
|
function _inherits(subClass, superClass) {
|
|
32
32
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -39,7 +39,7 @@ function _inherits(subClass, superClass) {
|
|
|
39
39
|
configurable: true
|
|
40
40
|
}
|
|
41
41
|
});
|
|
42
|
-
if (superClass)
|
|
42
|
+
if (superClass) _set_prototype_of(subClass, superClass);
|
|
43
43
|
}
|
|
44
44
|
function _instanceof(left, right) {
|
|
45
45
|
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
@@ -48,24 +48,24 @@ function _instanceof(left, right) {
|
|
|
48
48
|
return left instanceof right;
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
|
-
function
|
|
52
|
-
if (call && (
|
|
51
|
+
function _possible_constructor_return(self, call) {
|
|
52
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) {
|
|
53
53
|
return call;
|
|
54
54
|
}
|
|
55
|
-
return
|
|
55
|
+
return _assert_this_initialized(self);
|
|
56
56
|
}
|
|
57
|
-
function
|
|
58
|
-
|
|
57
|
+
function _set_prototype_of(o, p) {
|
|
58
|
+
_set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
59
59
|
o.__proto__ = p;
|
|
60
60
|
return o;
|
|
61
61
|
};
|
|
62
|
-
return
|
|
62
|
+
return _set_prototype_of(o, p);
|
|
63
63
|
}
|
|
64
|
-
|
|
64
|
+
function _type_of(obj) {
|
|
65
65
|
"@swc/helpers - typeof";
|
|
66
66
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
67
|
-
}
|
|
68
|
-
function
|
|
67
|
+
}
|
|
68
|
+
function _is_native_reflect_construct() {
|
|
69
69
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
70
70
|
if (Reflect.construct.sham) return false;
|
|
71
71
|
if (typeof Proxy === "function") return true;
|
|
@@ -76,17 +76,17 @@ function _isNativeReflectConstruct() {
|
|
|
76
76
|
return false;
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
|
-
function
|
|
80
|
-
var hasNativeReflectConstruct =
|
|
79
|
+
function _create_super(Derived) {
|
|
80
|
+
var hasNativeReflectConstruct = _is_native_reflect_construct();
|
|
81
81
|
return function _createSuperInternal() {
|
|
82
|
-
var Super =
|
|
82
|
+
var Super = _get_prototype_of(Derived), result;
|
|
83
83
|
if (hasNativeReflectConstruct) {
|
|
84
|
-
var NewTarget =
|
|
84
|
+
var NewTarget = _get_prototype_of(this).constructor;
|
|
85
85
|
result = Reflect.construct(Super, arguments, NewTarget);
|
|
86
86
|
} else {
|
|
87
87
|
result = Super.apply(this, arguments);
|
|
88
88
|
}
|
|
89
|
-
return
|
|
89
|
+
return _possible_constructor_return(this, result);
|
|
90
90
|
};
|
|
91
91
|
}
|
|
92
92
|
import { FieldTypes, genNonDuplicateId } from "@byteluck-fe/model-driven-shared";
|
|
@@ -96,22 +96,22 @@ export * from "./RegisterControls";
|
|
|
96
96
|
* @public
|
|
97
97
|
*/ export var DataBind = function DataBind(props) {
|
|
98
98
|
"use strict";
|
|
99
|
-
|
|
99
|
+
_class_call_check(this, DataBind);
|
|
100
100
|
/**
|
|
101
101
|
* 数据模型编码
|
|
102
102
|
* @defaultValue ''
|
|
103
103
|
* @public
|
|
104
|
-
*/
|
|
104
|
+
*/ _define_property(this, "dataCode", void 0);
|
|
105
105
|
/**
|
|
106
106
|
* 字段编码
|
|
107
107
|
* @defaultValue ''
|
|
108
108
|
* @public
|
|
109
|
-
*/
|
|
109
|
+
*/ _define_property(this, "fieldCode", void 0);
|
|
110
110
|
/**
|
|
111
111
|
* 字段类型
|
|
112
112
|
* @defaultValue ''
|
|
113
113
|
* @public
|
|
114
|
-
*/
|
|
114
|
+
*/ _define_property(this, "fieldType", void 0);
|
|
115
115
|
var _props_dataCode;
|
|
116
116
|
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
|
|
117
117
|
var _props_fieldCode;
|
|
@@ -121,10 +121,10 @@ export * from "./RegisterControls";
|
|
|
121
121
|
};
|
|
122
122
|
export var AutoWidth = function AutoWidth(props) {
|
|
123
123
|
"use strict";
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
124
|
+
_class_call_check(this, AutoWidth);
|
|
125
|
+
_define_property(this, "minWidth", void 0);
|
|
126
|
+
_define_property(this, "maxWidth", void 0);
|
|
127
|
+
_define_property(this, "flex", void 0);
|
|
128
128
|
var _props_minWidth;
|
|
129
129
|
this.minWidth = (_props_minWidth = props === null || props === void 0 ? void 0 : props.minWidth) !== null && _props_minWidth !== void 0 ? _props_minWidth : 150;
|
|
130
130
|
this.maxWidth = props === null || props === void 0 ? void 0 : props.maxWidth;
|
|
@@ -134,13 +134,13 @@ export var AutoWidth = function AutoWidth(props) {
|
|
|
134
134
|
export var MetaWidth = /*#__PURE__*/ function(AutoWidth) {
|
|
135
135
|
"use strict";
|
|
136
136
|
_inherits(MetaWidth, AutoWidth);
|
|
137
|
-
var _super =
|
|
137
|
+
var _super = _create_super(MetaWidth);
|
|
138
138
|
function MetaWidth(props) {
|
|
139
|
-
|
|
139
|
+
_class_call_check(this, MetaWidth);
|
|
140
140
|
var _this;
|
|
141
141
|
_this = _super.call(this, props);
|
|
142
|
-
|
|
143
|
-
|
|
142
|
+
_define_property(_assert_this_initialized(_this), "width", void 0);
|
|
143
|
+
_define_property(_assert_this_initialized(_this), "widthType", void 0);
|
|
144
144
|
var _props_width;
|
|
145
145
|
_this.width = (_props_width = props === null || props === void 0 ? void 0 : props.width) !== null && _props_width !== void 0 ? _props_width : 240;
|
|
146
146
|
var _props_widthType;
|
|
@@ -151,9 +151,9 @@ export var MetaWidth = /*#__PURE__*/ function(AutoWidth) {
|
|
|
151
151
|
}(AutoWidth);
|
|
152
152
|
export var MetaAutoWidth = function MetaAutoWidth(props) {
|
|
153
153
|
"use strict";
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
154
|
+
_class_call_check(this, MetaAutoWidth);
|
|
155
|
+
_define_property(this, "pc", void 0);
|
|
156
|
+
_define_property(this, "mobile", void 0);
|
|
157
157
|
this.pc = new MetaWidth(props === null || props === void 0 ? void 0 : props.pc);
|
|
158
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({
|
|
159
159
|
width: 130,
|
|
@@ -162,9 +162,9 @@ export var MetaAutoWidth = function MetaAutoWidth(props) {
|
|
|
162
162
|
};
|
|
163
163
|
export var DataStorageDoc = function DataStorageDoc(props) {
|
|
164
164
|
"use strict";
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
165
|
+
_class_call_check(this, DataStorageDoc);
|
|
166
|
+
_define_property(this, "type", void 0);
|
|
167
|
+
_define_property(this, "customOptions", void 0);
|
|
168
168
|
var _props_type;
|
|
169
169
|
this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "firstThree";
|
|
170
170
|
var _props_customOptions;
|
|
@@ -172,10 +172,10 @@ export var DataStorageDoc = function DataStorageDoc(props) {
|
|
|
172
172
|
};
|
|
173
173
|
export var FormBind = function FormBind(props) {
|
|
174
174
|
"use strict";
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
175
|
+
_class_call_check(this, FormBind);
|
|
176
|
+
_define_property(this, "dataCode", void 0);
|
|
177
|
+
_define_property(this, "formKey", void 0);
|
|
178
|
+
_define_property(this, "appId", void 0);
|
|
179
179
|
var _props_dataCode;
|
|
180
180
|
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
|
|
181
181
|
var _props_formKey;
|
|
@@ -186,12 +186,12 @@ export var FormBind = function FormBind(props) {
|
|
|
186
186
|
export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
187
187
|
"use strict";
|
|
188
188
|
_inherits(FormSelectBind, FormBind);
|
|
189
|
-
var _super =
|
|
189
|
+
var _super = _create_super(FormSelectBind);
|
|
190
190
|
function FormSelectBind(props) {
|
|
191
|
-
|
|
191
|
+
_class_call_check(this, FormSelectBind);
|
|
192
192
|
var _this;
|
|
193
193
|
_this = _super.call(this, props);
|
|
194
|
-
|
|
194
|
+
_define_property(_assert_this_initialized(_this), "primaryControlId", void 0);
|
|
195
195
|
var _props_primaryControlId;
|
|
196
196
|
_this.primaryControlId = (_props_primaryControlId = props === null || props === void 0 ? void 0 : props.primaryControlId) !== null && _props_primaryControlId !== void 0 ? _props_primaryControlId : "";
|
|
197
197
|
return _this;
|
|
@@ -203,11 +203,11 @@ export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
|
203
203
|
* @public
|
|
204
204
|
*/ var ListBindHeaderItem = function ListBindHeaderItem(props) {
|
|
205
205
|
"use strict";
|
|
206
|
-
|
|
206
|
+
_class_call_check(this, ListBindHeaderItem);
|
|
207
207
|
/**
|
|
208
208
|
* 字段
|
|
209
209
|
* @defaultValue ''
|
|
210
|
-
*/
|
|
210
|
+
*/ _define_property(this, "fieldCode", void 0);
|
|
211
211
|
var _props_fieldCode;
|
|
212
212
|
this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : "";
|
|
213
213
|
};
|
|
@@ -215,20 +215,20 @@ export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
|
215
215
|
* 列表绑定配置
|
|
216
216
|
*/ export var ListBind = function ListBind(props) {
|
|
217
217
|
"use strict";
|
|
218
|
-
|
|
218
|
+
_class_call_check(this, ListBind);
|
|
219
219
|
var _props_headers;
|
|
220
220
|
/**
|
|
221
221
|
* 应用ID
|
|
222
222
|
* @public
|
|
223
|
-
*/
|
|
223
|
+
*/ _define_property(this, "appId", void 0);
|
|
224
224
|
/**
|
|
225
225
|
* 表单ID
|
|
226
226
|
* @public
|
|
227
|
-
*/
|
|
227
|
+
*/ _define_property(this, "formKey", void 0);
|
|
228
228
|
/**
|
|
229
229
|
* 显示字段
|
|
230
230
|
* @public
|
|
231
|
-
*/
|
|
231
|
+
*/ _define_property(this, "headers", void 0);
|
|
232
232
|
var _props_appId;
|
|
233
233
|
this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : "";
|
|
234
234
|
var _props_formKey;
|
|
@@ -240,10 +240,10 @@ export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
|
240
240
|
};
|
|
241
241
|
export var FieldBindItem = function FieldBindItem(props) {
|
|
242
242
|
"use strict";
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
243
|
+
_class_call_check(this, FieldBindItem);
|
|
244
|
+
_define_property(this, "fieldName", void 0);
|
|
245
|
+
_define_property(this, "fieldCode", void 0);
|
|
246
|
+
_define_property(this, "fieldType", void 0);
|
|
247
247
|
var _props_fieldName;
|
|
248
248
|
this.fieldName = (_props_fieldName = props === null || props === void 0 ? void 0 : props.fieldName) !== null && _props_fieldName !== void 0 ? _props_fieldName : "";
|
|
249
249
|
var _props_fieldCode;
|
|
@@ -254,15 +254,15 @@ export var FieldBindItem = function FieldBindItem(props) {
|
|
|
254
254
|
export var SubListItem = /*#__PURE__*/ function(FormBind) {
|
|
255
255
|
"use strict";
|
|
256
256
|
_inherits(SubListItem, FormBind);
|
|
257
|
-
var _super =
|
|
257
|
+
var _super = _create_super(SubListItem);
|
|
258
258
|
function SubListItem(props) {
|
|
259
|
-
|
|
259
|
+
_class_call_check(this, SubListItem);
|
|
260
260
|
var _this;
|
|
261
261
|
_this = _super.call(this, props);
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
262
|
+
_define_property(_assert_this_initialized(_this), "title", void 0);
|
|
263
|
+
_define_property(_assert_this_initialized(_this), "svcCode", void 0);
|
|
264
|
+
_define_property(_assert_this_initialized(_this), "isOpenFilter", void 0);
|
|
265
|
+
_define_property(_assert_this_initialized(_this), "filters", void 0);
|
|
266
266
|
var _props_title;
|
|
267
267
|
_this.title = (_props_title = props === null || props === void 0 ? void 0 : props.title) !== null && _props_title !== void 0 ? _props_title : "";
|
|
268
268
|
var _props_svcCode;
|
|
@@ -277,12 +277,12 @@ export var SubListItem = /*#__PURE__*/ function(FormBind) {
|
|
|
277
277
|
}(FormBind);
|
|
278
278
|
export var SubListPageConfig = function SubListPageConfig(props) {
|
|
279
279
|
"use strict";
|
|
280
|
-
|
|
280
|
+
_class_call_check(this, SubListPageConfig);
|
|
281
281
|
var _props_displayFields, _props_sublists;
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
282
|
+
_define_property(this, "type", "sublist-page");
|
|
283
|
+
_define_property(this, "formBind", void 0);
|
|
284
|
+
_define_property(this, "displayFields", void 0);
|
|
285
|
+
_define_property(this, "sublists", void 0);
|
|
286
286
|
this.formBind = new FormBind(props === null || props === void 0 ? void 0 : props.formBind);
|
|
287
287
|
var _props_displayFields_map;
|
|
288
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) {
|
|
@@ -295,18 +295,18 @@ export var SubListPageConfig = function SubListPageConfig(props) {
|
|
|
295
295
|
};
|
|
296
296
|
export var LeftVariable = function LeftVariable(props) {
|
|
297
297
|
"use strict";
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
298
|
+
_class_call_check(this, LeftVariable);
|
|
299
|
+
_define_property(this, "type", void 0);
|
|
300
|
+
_define_property(this, "value", void 0);
|
|
301
301
|
this.type = props === null || props === void 0 ? void 0 : props.type;
|
|
302
302
|
this.value = props === null || props === void 0 ? void 0 : props.value;
|
|
303
303
|
};
|
|
304
304
|
export var RightVariable = function RightVariable(props) {
|
|
305
305
|
"use strict";
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
306
|
+
_class_call_check(this, RightVariable);
|
|
307
|
+
_define_property(this, "type", void 0);
|
|
308
|
+
_define_property(this, "value", void 0);
|
|
309
|
+
_define_property(this, "displayBos", void 0);
|
|
310
310
|
var _props_type;
|
|
311
311
|
this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "custom";
|
|
312
312
|
var _props_value;
|
|
@@ -320,31 +320,31 @@ export var RightVariable = function RightVariable(props) {
|
|
|
320
320
|
*/ export var FieldFilterConditions = function FieldFilterConditions(props) {
|
|
321
321
|
"use strict";
|
|
322
322
|
var _this = this;
|
|
323
|
-
|
|
323
|
+
_class_call_check(this, FieldFilterConditions);
|
|
324
324
|
/**
|
|
325
325
|
* 编号
|
|
326
326
|
* @defaultValue ''
|
|
327
|
-
*/
|
|
327
|
+
*/ _define_property(this, "id", void 0);
|
|
328
328
|
/**
|
|
329
329
|
* 规则编号
|
|
330
330
|
* @defaultValue Timestamp
|
|
331
|
-
*/
|
|
331
|
+
*/ _define_property(this, "ruleId", void 0);
|
|
332
332
|
/**
|
|
333
333
|
* 类型:连接符条件
|
|
334
334
|
* @defaultValue 'conditions'
|
|
335
|
-
*/
|
|
335
|
+
*/ _define_property(this, "type", "conditions");
|
|
336
336
|
/**
|
|
337
337
|
* 深度
|
|
338
338
|
* @defaultValue 0
|
|
339
|
-
*/
|
|
339
|
+
*/ _define_property(this, "level", void 0);
|
|
340
340
|
/**
|
|
341
341
|
* 连接符值
|
|
342
342
|
* @defaultValue 'and'
|
|
343
|
-
*/
|
|
343
|
+
*/ _define_property(this, "value", void 0);
|
|
344
344
|
/**
|
|
345
345
|
* 包含子项
|
|
346
346
|
* @defaultValue []
|
|
347
|
-
*/
|
|
347
|
+
*/ _define_property(this, "children", void 0);
|
|
348
348
|
var _props_id;
|
|
349
349
|
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId();
|
|
350
350
|
var _props_ruleId;
|
|
@@ -373,30 +373,30 @@ export var RightVariable = function RightVariable(props) {
|
|
|
373
373
|
* @public
|
|
374
374
|
*/ export var FieldFilterCondition = function FieldFilterCondition(props) {
|
|
375
375
|
"use strict";
|
|
376
|
-
|
|
376
|
+
_class_call_check(this, FieldFilterCondition);
|
|
377
377
|
/**
|
|
378
378
|
* 唯一编号
|
|
379
379
|
* @defaultValue ''
|
|
380
|
-
*/
|
|
380
|
+
*/ _define_property(this, "id", void 0);
|
|
381
381
|
/**
|
|
382
382
|
* 规则编号
|
|
383
383
|
* @defaultValue Timestamp
|
|
384
|
-
*/
|
|
384
|
+
*/ _define_property(this, "ruleId", void 0);
|
|
385
385
|
/**
|
|
386
386
|
* 类型
|
|
387
387
|
* @defaultValue 'condition'
|
|
388
|
-
*/
|
|
388
|
+
*/ _define_property(this, "type", "condition");
|
|
389
389
|
/**
|
|
390
390
|
* 符号
|
|
391
|
-
*/
|
|
392
|
-
|
|
393
|
-
|
|
391
|
+
*/ _define_property(this, "symbol", void 0);
|
|
392
|
+
_define_property(this, "checked", void 0);
|
|
393
|
+
_define_property(this, "describe", void 0);
|
|
394
394
|
/**
|
|
395
395
|
* 左值
|
|
396
|
-
*/
|
|
396
|
+
*/ _define_property(this, "leftVariableBo", void 0);
|
|
397
397
|
/**
|
|
398
398
|
* 右值
|
|
399
|
-
*/
|
|
399
|
+
*/ _define_property(this, "rightVariableBo", void 0);
|
|
400
400
|
var _props_id;
|
|
401
401
|
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId();
|
|
402
402
|
var _props_ruleId;
|
|
@@ -415,27 +415,27 @@ export var RightVariable = function RightVariable(props) {
|
|
|
415
415
|
* @public
|
|
416
416
|
*/ export var MultistageFillingItem = function MultistageFillingItem(props) {
|
|
417
417
|
"use strict";
|
|
418
|
-
|
|
418
|
+
_class_call_check(this, MultistageFillingItem);
|
|
419
419
|
/**
|
|
420
420
|
* 控件ID
|
|
421
421
|
* @defaultValue ''
|
|
422
422
|
* @public
|
|
423
|
-
*/
|
|
423
|
+
*/ _define_property(this, "controlId", void 0);
|
|
424
424
|
/**
|
|
425
425
|
* 字段
|
|
426
426
|
* @defaultValue ''
|
|
427
427
|
* @public
|
|
428
|
-
*/
|
|
428
|
+
*/ _define_property(this, "fieldCode", void 0);
|
|
429
429
|
/**
|
|
430
430
|
* 字段类型。事件在填充时,需要根据数据类型进行判断处理动作。
|
|
431
431
|
* @defaultValue ''
|
|
432
432
|
* @public
|
|
433
|
-
*/
|
|
433
|
+
*/ _define_property(this, "fieldType", void 0);
|
|
434
434
|
/**
|
|
435
435
|
* 属性名称。如果是ObjectDataBind的控件,可以指定填充到哪个数据项。
|
|
436
436
|
* @defaultValue ''
|
|
437
437
|
* @public
|
|
438
|
-
* */
|
|
438
|
+
* */ _define_property(this, "propName", void 0);
|
|
439
439
|
var _props_controlId;
|
|
440
440
|
this.controlId = (_props_controlId = props === null || props === void 0 ? void 0 : props.controlId) !== null && _props_controlId !== void 0 ? _props_controlId : "";
|
|
441
441
|
var _props_fieldCode;
|
|
@@ -450,18 +450,18 @@ export var RightVariable = function RightVariable(props) {
|
|
|
450
450
|
* @public
|
|
451
451
|
*/ export var DisplayBoListItem = function DisplayBoListItem(props) {
|
|
452
452
|
"use strict";
|
|
453
|
-
|
|
453
|
+
_class_call_check(this, DisplayBoListItem);
|
|
454
454
|
/**
|
|
455
455
|
* 显示项类型:字段 | 符号
|
|
456
456
|
* @defaultValue 'FIELD'
|
|
457
457
|
* @public
|
|
458
|
-
*/
|
|
458
|
+
*/ _define_property(this, "type", void 0);
|
|
459
459
|
/**
|
|
460
460
|
* 值
|
|
461
|
-
*/
|
|
461
|
+
*/ _define_property(this, "value", void 0);
|
|
462
462
|
/**
|
|
463
463
|
* 字段数据类型
|
|
464
|
-
*/
|
|
464
|
+
*/ _define_property(this, "fieldType", void 0);
|
|
465
465
|
var _props_type;
|
|
466
466
|
this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "FIELD";
|
|
467
467
|
var _props_value;
|
|
@@ -473,15 +473,15 @@ export var RightVariable = function RightVariable(props) {
|
|
|
473
473
|
* @public
|
|
474
474
|
*/ export var DataSourceOrderItem = function DataSourceOrderItem(props) {
|
|
475
475
|
"use strict";
|
|
476
|
-
|
|
476
|
+
_class_call_check(this, DataSourceOrderItem);
|
|
477
477
|
/**
|
|
478
478
|
* 列名
|
|
479
479
|
* @defaultValue ''
|
|
480
|
-
*/
|
|
480
|
+
*/ _define_property(this, "columnName", void 0);
|
|
481
481
|
/**
|
|
482
482
|
* 倒序
|
|
483
483
|
* @defaultValue false
|
|
484
|
-
*/
|
|
484
|
+
*/ _define_property(this, "desc", void 0);
|
|
485
485
|
var _props_columnName;
|
|
486
486
|
this.columnName = (_props_columnName = props.columnName) !== null && _props_columnName !== void 0 ? _props_columnName : "";
|
|
487
487
|
var _props_desc;
|
|
@@ -489,13 +489,13 @@ export var RightVariable = function RightVariable(props) {
|
|
|
489
489
|
};
|
|
490
490
|
export var DataSourceDataSetValue = function DataSourceDataSetValue(props) {
|
|
491
491
|
"use strict";
|
|
492
|
-
|
|
492
|
+
_class_call_check(this, DataSourceDataSetValue);
|
|
493
493
|
// fieldCode
|
|
494
|
-
|
|
494
|
+
_define_property(this, "code", void 0);
|
|
495
495
|
// 值
|
|
496
|
-
|
|
496
|
+
_define_property(this, "value", void 0);
|
|
497
497
|
// 数据类型
|
|
498
|
-
|
|
498
|
+
_define_property(this, "field_type", void 0);
|
|
499
499
|
var _props_code;
|
|
500
500
|
this.code = (_props_code = props.code) !== null && _props_code !== void 0 ? _props_code : "";
|
|
501
501
|
var _props_value;
|
|
@@ -505,15 +505,15 @@ export var DataSourceDataSetValue = function DataSourceDataSetValue(props) {
|
|
|
505
505
|
};
|
|
506
506
|
export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
507
507
|
"use strict";
|
|
508
|
-
|
|
508
|
+
_class_call_check(this, DataSourceParamItem);
|
|
509
509
|
var _props_orders, _props_dataSet;
|
|
510
510
|
/**
|
|
511
511
|
* 字段ID
|
|
512
|
-
*/
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
512
|
+
*/ _define_property(this, "id", void 0);
|
|
513
|
+
_define_property(this, "limit", void 0);
|
|
514
|
+
_define_property(this, "orders", void 0);
|
|
515
|
+
_define_property(this, "formKey", void 0);
|
|
516
|
+
_define_property(this, "dataSet", void 0);
|
|
517
517
|
var _props_id;
|
|
518
518
|
//字段ID,不可以当作随机数生成唯一编号
|
|
519
519
|
this.id = (_props_id = props.id) !== null && _props_id !== void 0 ? _props_id : "";
|
|
@@ -562,63 +562,63 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
|
562
562
|
*/ export var DataSourceBind = function DataSourceBind(props) {
|
|
563
563
|
"use strict";
|
|
564
564
|
var _this = this;
|
|
565
|
-
|
|
565
|
+
_class_call_check(this, DataSourceBind);
|
|
566
566
|
/**
|
|
567
567
|
* 绑定数据源id
|
|
568
568
|
* @defaultValue ''
|
|
569
569
|
* @public
|
|
570
|
-
*/
|
|
570
|
+
*/ _define_property(this, "dataCode", void 0);
|
|
571
571
|
/**
|
|
572
572
|
* 存储值
|
|
573
573
|
* @defaultValue ''
|
|
574
574
|
* @public
|
|
575
|
-
*/
|
|
575
|
+
*/ _define_property(this, "valueFieldCode", void 0);
|
|
576
576
|
/**
|
|
577
577
|
* 显示值
|
|
578
578
|
* @defaultValue []
|
|
579
579
|
* @public
|
|
580
|
-
*/
|
|
580
|
+
*/ _define_property(this, "displayBoList", void 0);
|
|
581
581
|
/**
|
|
582
582
|
* 查询关键字参数映射
|
|
583
583
|
* @defaultValue ''
|
|
584
584
|
* @public
|
|
585
|
-
*/
|
|
585
|
+
*/ _define_property(this, "keywordMapping", void 0);
|
|
586
586
|
/**
|
|
587
587
|
* 绑定服务
|
|
588
588
|
* @defaultValue ''
|
|
589
589
|
* @public
|
|
590
|
-
*/
|
|
590
|
+
*/ _define_property(this, "svcCode", void 0);
|
|
591
591
|
/**
|
|
592
592
|
* 应用Id
|
|
593
593
|
* @defaultValue ''
|
|
594
594
|
* @public
|
|
595
|
-
*/
|
|
595
|
+
*/ _define_property(this, "appId", void 0);
|
|
596
596
|
/**
|
|
597
597
|
* 过滤条件
|
|
598
598
|
* @defaultValue []
|
|
599
599
|
* @public
|
|
600
|
-
*/
|
|
600
|
+
*/ _define_property(this, "filters", void 0);
|
|
601
601
|
// 过滤
|
|
602
602
|
/**
|
|
603
603
|
* 过滤条件-查看过滤
|
|
604
604
|
* @defaultValue []
|
|
605
605
|
* @public
|
|
606
|
-
*/
|
|
606
|
+
*/ _define_property(this, "viewFilters", void 0);
|
|
607
607
|
/**
|
|
608
608
|
* 是否开启查看过滤
|
|
609
609
|
* @defaultValue 0:未开启;1:开启
|
|
610
610
|
* @public
|
|
611
|
-
*/
|
|
611
|
+
*/ _define_property(this, "isOpenViewFilters", void 0);
|
|
612
612
|
/**
|
|
613
613
|
* 排序
|
|
614
614
|
* @defaultValue []
|
|
615
615
|
* @public
|
|
616
|
-
*/
|
|
616
|
+
*/ _define_property(this, "orders", void 0);
|
|
617
617
|
/**
|
|
618
618
|
* 显示排序
|
|
619
619
|
* @defaultValue true
|
|
620
620
|
* @public
|
|
621
|
-
*/
|
|
621
|
+
*/ _define_property(this, "showOrder", void 0);
|
|
622
622
|
var _props_dataCode;
|
|
623
623
|
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
|
|
624
624
|
var _props_appId;
|
|
@@ -644,17 +644,17 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
|
644
644
|
};
|
|
645
645
|
export var SelectedContentConfig = function SelectedContentConfig(props) {
|
|
646
646
|
"use strict";
|
|
647
|
-
|
|
647
|
+
_class_call_check(this, SelectedContentConfig);
|
|
648
648
|
/**
|
|
649
649
|
* 展示已选内容
|
|
650
650
|
* @defaultValue ''
|
|
651
651
|
* @public
|
|
652
|
-
*/
|
|
652
|
+
*/ _define_property(this, "dataCode", void 0);
|
|
653
653
|
/**
|
|
654
654
|
* 展示已选明细
|
|
655
655
|
* @defaultValue []
|
|
656
656
|
* @public
|
|
657
|
-
*/
|
|
657
|
+
*/ _define_property(this, "displayBoList", void 0);
|
|
658
658
|
var _props_dataCode;
|
|
659
659
|
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
|
|
660
660
|
var _props_displayBoList;
|
|
@@ -662,17 +662,17 @@ export var SelectedContentConfig = function SelectedContentConfig(props) {
|
|
|
662
662
|
};
|
|
663
663
|
export var LinkOperationOption = function LinkOperationOption(props) {
|
|
664
664
|
"use strict";
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
665
|
+
_class_call_check(this, LinkOperationOption);
|
|
666
|
+
_define_property(this, "code", void 0);
|
|
667
|
+
_define_property(this, "color", void 0);
|
|
668
|
+
_define_property(this, "command", void 0);
|
|
669
|
+
_define_property(this, "confirmMessage", void 0);
|
|
670
|
+
_define_property(this, "defaultState", void 0);
|
|
671
|
+
_define_property(this, "formKey", void 0);
|
|
672
|
+
_define_property(this, "icon", void 0);
|
|
673
|
+
_define_property(this, "needConfirm", void 0);
|
|
674
|
+
_define_property(this, "openType", void 0);
|
|
675
|
+
_define_property(this, "priorityProcess", void 0);
|
|
676
676
|
var _props_code;
|
|
677
677
|
this.code = (_props_code = props === null || props === void 0 ? void 0 : props.code) !== null && _props_code !== void 0 ? _props_code : "view";
|
|
678
678
|
var _props_color;
|
|
@@ -696,11 +696,11 @@ export var LinkOperationOption = function LinkOperationOption(props) {
|
|
|
696
696
|
};
|
|
697
697
|
export var CustomAttributeItem = function CustomAttributeItem(props) {
|
|
698
698
|
"use strict";
|
|
699
|
-
|
|
699
|
+
_class_call_check(this, CustomAttributeItem);
|
|
700
700
|
var _props_value;
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
701
|
+
_define_property(this, "name", void 0);
|
|
702
|
+
_define_property(this, "key", void 0);
|
|
703
|
+
_define_property(this, "value", void 0);
|
|
704
704
|
var _props_name;
|
|
705
705
|
this.name = (_props_name = props === null || props === void 0 ? void 0 : props.name) !== null && _props_name !== void 0 ? _props_name : "";
|
|
706
706
|
var _props_key;
|
|
@@ -713,13 +713,13 @@ export var CustomAttributeItem = function CustomAttributeItem(props) {
|
|
|
713
713
|
export var SuperDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
714
714
|
"use strict";
|
|
715
715
|
_inherits(SuperDataSourceBind, DataSourceBind);
|
|
716
|
-
var _super =
|
|
716
|
+
var _super = _create_super(SuperDataSourceBind);
|
|
717
717
|
function SuperDataSourceBind(props) {
|
|
718
|
-
|
|
718
|
+
_class_call_check(this, SuperDataSourceBind);
|
|
719
719
|
var _this;
|
|
720
720
|
var _props_attributes;
|
|
721
721
|
_this = _super.call(this, props);
|
|
722
|
-
|
|
722
|
+
_define_property(_assert_this_initialized(_this), "attributes", void 0);
|
|
723
723
|
var _props_attributes_map;
|
|
724
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) {
|
|
725
725
|
return new CustomAttributeItem(item);
|
|
@@ -731,14 +731,14 @@ export var SuperDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
|
731
731
|
export var OrganizationDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
732
732
|
"use strict";
|
|
733
733
|
_inherits(OrganizationDataSourceBind, DataSourceBind);
|
|
734
|
-
var _super =
|
|
734
|
+
var _super = _create_super(OrganizationDataSourceBind);
|
|
735
735
|
function OrganizationDataSourceBind(props) {
|
|
736
|
-
|
|
736
|
+
_class_call_check(this, OrganizationDataSourceBind);
|
|
737
737
|
var _this;
|
|
738
738
|
var _props_attributes;
|
|
739
739
|
_this = _super.call(this, props);
|
|
740
|
-
|
|
741
|
-
|
|
740
|
+
_define_property(_assert_this_initialized(_this), "attributes", void 0);
|
|
741
|
+
_define_property(_assert_this_initialized(_this), "formCode", void 0);
|
|
742
742
|
var _props_attributes_map;
|
|
743
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) {
|
|
744
744
|
return new CustomAttributeItem(item);
|
|
@@ -752,13 +752,13 @@ export var OrganizationDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
|
752
752
|
export var TreeDataSourceBind = /*#__PURE__*/ function(SuperDataSourceBind) {
|
|
753
753
|
"use strict";
|
|
754
754
|
_inherits(TreeDataSourceBind, SuperDataSourceBind);
|
|
755
|
-
var _super =
|
|
755
|
+
var _super = _create_super(TreeDataSourceBind);
|
|
756
756
|
function TreeDataSourceBind(props) {
|
|
757
|
-
|
|
757
|
+
_class_call_check(this, TreeDataSourceBind);
|
|
758
758
|
var _this;
|
|
759
759
|
_this = _super.call(this, props);
|
|
760
|
-
|
|
761
|
-
|
|
760
|
+
_define_property(_assert_this_initialized(_this), "rootNode", void 0);
|
|
761
|
+
_define_property(_assert_this_initialized(_this), "filterCode", void 0);
|
|
762
762
|
_this.rootNode = new RightVariable(props === null || props === void 0 ? void 0 : props.rootNode);
|
|
763
763
|
var _props_filterCode;
|
|
764
764
|
_this.filterCode = (_props_filterCode = props === null || props === void 0 ? void 0 : props.filterCode) !== null && _props_filterCode !== void 0 ? _props_filterCode : "";
|
|
@@ -768,17 +768,17 @@ export var TreeDataSourceBind = /*#__PURE__*/ function(SuperDataSourceBind) {
|
|
|
768
768
|
}(SuperDataSourceBind);
|
|
769
769
|
var FillBind = function FillBind(props) {
|
|
770
770
|
"use strict";
|
|
771
|
-
|
|
771
|
+
_class_call_check(this, FillBind);
|
|
772
772
|
var _props_fillList;
|
|
773
773
|
/*
|
|
774
774
|
* 需要被填充的数据源
|
|
775
|
-
* */
|
|
775
|
+
* */ _define_property(this, "dataCode", void 0);
|
|
776
776
|
/*
|
|
777
777
|
* appId
|
|
778
|
-
* */
|
|
778
|
+
* */ _define_property(this, "appId", void 0);
|
|
779
779
|
/*
|
|
780
780
|
* 执行填充的数据项和控件
|
|
781
|
-
* */
|
|
781
|
+
* */ _define_property(this, "fillList", void 0);
|
|
782
782
|
var _props_dataCode;
|
|
783
783
|
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
|
|
784
784
|
var _props_appId;
|
|
@@ -795,27 +795,27 @@ var FillBind = function FillBind(props) {
|
|
|
795
795
|
* */ export var FillPayloadBind = /*#__PURE__*/ function(FillBind) {
|
|
796
796
|
"use strict";
|
|
797
797
|
_inherits(FillPayloadBind, FillBind);
|
|
798
|
-
var _super =
|
|
798
|
+
var _super = _create_super(FillPayloadBind);
|
|
799
799
|
function FillPayloadBind(props) {
|
|
800
|
-
|
|
800
|
+
_class_call_check(this, FillPayloadBind);
|
|
801
801
|
var _this;
|
|
802
802
|
_this = _super.call(this, props);
|
|
803
803
|
/**
|
|
804
804
|
* 数据源过滤条件
|
|
805
805
|
* @defaultValue []
|
|
806
806
|
* @public
|
|
807
|
-
**/
|
|
807
|
+
**/ _define_property(_assert_this_initialized(_this), "filters", void 0);
|
|
808
808
|
/**
|
|
809
809
|
* 数据源过滤条件-查看
|
|
810
810
|
* @defaultValue []
|
|
811
811
|
* @public
|
|
812
|
-
**/
|
|
812
|
+
**/ _define_property(_assert_this_initialized(_this), "viewFilters", void 0);
|
|
813
813
|
/**
|
|
814
814
|
* 数据源排序条件
|
|
815
815
|
* @defaultValue []
|
|
816
816
|
* @public
|
|
817
|
-
**/
|
|
818
|
-
callFiltersAndOrders.call(
|
|
817
|
+
**/ _define_property(_assert_this_initialized(_this), "orders", void 0);
|
|
818
|
+
callFiltersAndOrders.call(_assert_this_initialized(_this), props);
|
|
819
819
|
return _this;
|
|
820
820
|
}
|
|
821
821
|
return FillPayloadBind;
|
|
@@ -826,21 +826,21 @@ var FillBind = function FillBind(props) {
|
|
|
826
826
|
*/ export var FillBackBind = /*#__PURE__*/ function(FillBind) {
|
|
827
827
|
"use strict";
|
|
828
828
|
_inherits(FillBackBind, FillBind);
|
|
829
|
-
var _super =
|
|
829
|
+
var _super = _create_super(FillBackBind);
|
|
830
830
|
function FillBackBind(props) {
|
|
831
|
-
|
|
831
|
+
_class_call_check(this, FillBackBind);
|
|
832
832
|
var _this;
|
|
833
833
|
_this = _super.call(this, props);
|
|
834
834
|
/**
|
|
835
835
|
* 回填模式。current 当前表(根据按钮所在位置来区分,而不是通过主表和子表来区分)| subtable 子表
|
|
836
836
|
* @defaultValue 'current'
|
|
837
837
|
* @public
|
|
838
|
-
* */
|
|
838
|
+
* */ _define_property(_assert_this_initialized(_this), "mode", void 0);
|
|
839
839
|
/**
|
|
840
840
|
* 多选
|
|
841
841
|
* @defaultValue false
|
|
842
842
|
* @public
|
|
843
|
-
*/
|
|
843
|
+
*/ _define_property(_assert_this_initialized(_this), "multiple", void 0);
|
|
844
844
|
var _props_mode;
|
|
845
845
|
_this.mode = (_props_mode = props === null || props === void 0 ? void 0 : props.mode) !== null && _props_mode !== void 0 ? _props_mode : "current";
|
|
846
846
|
var _props_multiple;
|
|
@@ -851,10 +851,10 @@ var FillBind = function FillBind(props) {
|
|
|
851
851
|
}(FillBind);
|
|
852
852
|
export var Language = function Language(props) {
|
|
853
853
|
"use strict";
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
854
|
+
_class_call_check(this, Language);
|
|
855
|
+
_define_property(this, "zh", void 0);
|
|
856
|
+
_define_property(this, "en", void 0);
|
|
857
|
+
_define_property(this, "ja", void 0);
|
|
858
858
|
var _props_zh;
|
|
859
859
|
this.zh = (_props_zh = props === null || props === void 0 ? void 0 : props.zh) !== null && _props_zh !== void 0 ? _props_zh : "";
|
|
860
860
|
var _props_en;
|
|
@@ -867,19 +867,19 @@ export var Language = function Language(props) {
|
|
|
867
867
|
* @public
|
|
868
868
|
*/ export var RegularRules = function RegularRules(props) {
|
|
869
869
|
"use strict";
|
|
870
|
-
|
|
870
|
+
_class_call_check(this, RegularRules);
|
|
871
871
|
/**
|
|
872
872
|
* 内置模版
|
|
873
873
|
* @defaultValue ''
|
|
874
|
-
*/
|
|
874
|
+
*/ _define_property(this, "stencilName", void 0);
|
|
875
875
|
/**
|
|
876
876
|
* 正则表达式
|
|
877
877
|
* @defaultValue ''
|
|
878
|
-
*/
|
|
878
|
+
*/ _define_property(this, "expression", void 0);
|
|
879
879
|
/**
|
|
880
880
|
* 校验错误提示信息
|
|
881
881
|
* @defaultValue ''
|
|
882
|
-
*/
|
|
882
|
+
*/ _define_property(this, "errMessage", void 0);
|
|
883
883
|
var _props_stencilName;
|
|
884
884
|
this.stencilName = (_props_stencilName = props === null || props === void 0 ? void 0 : props.stencilName) !== null && _props_stencilName !== void 0 ? _props_stencilName : "";
|
|
885
885
|
var _props_expression;
|
|
@@ -892,18 +892,18 @@ export var Language = function Language(props) {
|
|
|
892
892
|
* @public
|
|
893
893
|
*/ export var OptionSetting = function OptionSetting(props) {
|
|
894
894
|
"use strict";
|
|
895
|
-
|
|
896
|
-
|
|
895
|
+
_class_call_check(this, OptionSetting);
|
|
896
|
+
_define_property(this, "id", void 0);
|
|
897
897
|
/**
|
|
898
898
|
* 显示值
|
|
899
899
|
* @defaultValue ''
|
|
900
900
|
* @public
|
|
901
|
-
*/
|
|
901
|
+
*/ _define_property(this, "label", void 0);
|
|
902
902
|
/**
|
|
903
903
|
* 选项ID
|
|
904
904
|
* @defaultValue this.label
|
|
905
905
|
* @public
|
|
906
|
-
*/
|
|
906
|
+
*/ _define_property(this, "value", void 0);
|
|
907
907
|
var _props_id;
|
|
908
908
|
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId(8);
|
|
909
909
|
var _props_label;
|
|
@@ -914,13 +914,13 @@ export var Language = function Language(props) {
|
|
|
914
914
|
export var ImageOptionSetting = /*#__PURE__*/ function(OptionSetting) {
|
|
915
915
|
"use strict";
|
|
916
916
|
_inherits(ImageOptionSetting, OptionSetting);
|
|
917
|
-
var _super =
|
|
917
|
+
var _super = _create_super(ImageOptionSetting);
|
|
918
918
|
function ImageOptionSetting(props) {
|
|
919
|
-
|
|
919
|
+
_class_call_check(this, ImageOptionSetting);
|
|
920
920
|
var _this;
|
|
921
921
|
_this = _super.call(this, props);
|
|
922
|
-
|
|
923
|
-
|
|
922
|
+
_define_property(_assert_this_initialized(_this), "image", void 0);
|
|
923
|
+
_define_property(_assert_this_initialized(_this), "type", void 0);
|
|
924
924
|
var _props_image;
|
|
925
925
|
_this.image = (_props_image = props === null || props === void 0 ? void 0 : props.image) !== null && _props_image !== void 0 ? _props_image : "";
|
|
926
926
|
var _props_type;
|
|
@@ -946,7 +946,7 @@ export function initImageOptions(options) {
|
|
|
946
946
|
* @public
|
|
947
947
|
*/ export var ObjectDataBind = function ObjectDataBind() {
|
|
948
948
|
"use strict";
|
|
949
|
-
|
|
949
|
+
_class_call_check(this, ObjectDataBind);
|
|
950
950
|
};
|
|
951
951
|
/**
|
|
952
952
|
* 金额控件数据绑定配置
|
|
@@ -954,17 +954,17 @@ export function initImageOptions(options) {
|
|
|
954
954
|
*/ export var AmountDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
955
955
|
"use strict";
|
|
956
956
|
_inherits(AmountDataBind, ObjectDataBind);
|
|
957
|
-
var _super =
|
|
957
|
+
var _super = _create_super(AmountDataBind);
|
|
958
958
|
function AmountDataBind(props) {
|
|
959
|
-
|
|
959
|
+
_class_call_check(this, AmountDataBind);
|
|
960
960
|
var _this;
|
|
961
961
|
_this = _super.call(this);
|
|
962
962
|
/**
|
|
963
963
|
* 金额字段绑定配置
|
|
964
|
-
*/
|
|
964
|
+
*/ _define_property(_assert_this_initialized(_this), "amount", void 0);
|
|
965
965
|
/**
|
|
966
966
|
* 币种字段绑定配置
|
|
967
|
-
*/
|
|
967
|
+
*/ _define_property(_assert_this_initialized(_this), "currency", void 0);
|
|
968
968
|
_this.amount = new DataBind(props === null || props === void 0 ? void 0 : props.amount);
|
|
969
969
|
_this.currency = new DataBind(props === null || props === void 0 ? void 0 : props.currency);
|
|
970
970
|
return _this;
|
|
@@ -976,19 +976,19 @@ export function initImageOptions(options) {
|
|
|
976
976
|
* @public
|
|
977
977
|
*/ export var AmountValue = function AmountValue(props) {
|
|
978
978
|
"use strict";
|
|
979
|
-
|
|
979
|
+
_class_call_check(this, AmountValue);
|
|
980
980
|
/**
|
|
981
981
|
* 金额值
|
|
982
982
|
* @defaultValue ''
|
|
983
|
-
*/
|
|
983
|
+
*/ _define_property(this, "amount", void 0);
|
|
984
984
|
/**
|
|
985
985
|
* 货币值
|
|
986
986
|
* @defaultValue 'CNY'
|
|
987
|
-
*/
|
|
987
|
+
*/ _define_property(this, "currency", void 0);
|
|
988
988
|
var _props_amount;
|
|
989
989
|
this.amount = (_props_amount = props === null || props === void 0 ? void 0 : props.amount) !== null && _props_amount !== void 0 ? _props_amount : "";
|
|
990
990
|
var _props_currency;
|
|
991
|
-
this.currency = (_props_currency = props === null || props === void 0 ? void 0 : props.currency) !== null && _props_currency !== void 0 ? _props_currency :
|
|
991
|
+
this.currency = (_props_currency = props === null || props === void 0 ? void 0 : props.currency) !== null && _props_currency !== void 0 ? _props_currency : "CNY";
|
|
992
992
|
};
|
|
993
993
|
/**
|
|
994
994
|
* 日期区间数据绑定项
|
|
@@ -996,17 +996,17 @@ export function initImageOptions(options) {
|
|
|
996
996
|
*/ export var RangeDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
997
997
|
"use strict";
|
|
998
998
|
_inherits(RangeDataBind, ObjectDataBind);
|
|
999
|
-
var _super =
|
|
999
|
+
var _super = _create_super(RangeDataBind);
|
|
1000
1000
|
function RangeDataBind(props) {
|
|
1001
|
-
|
|
1001
|
+
_class_call_check(this, RangeDataBind);
|
|
1002
1002
|
var _this;
|
|
1003
1003
|
_this = _super.call(this);
|
|
1004
1004
|
/**
|
|
1005
1005
|
* 开始日期字段绑定项
|
|
1006
|
-
*/
|
|
1006
|
+
*/ _define_property(_assert_this_initialized(_this), "min", void 0);
|
|
1007
1007
|
/**
|
|
1008
1008
|
* 结束日期字段绑定项
|
|
1009
|
-
*/
|
|
1009
|
+
*/ _define_property(_assert_this_initialized(_this), "max", void 0);
|
|
1010
1010
|
_this.min = new DataBind(props === null || props === void 0 ? void 0 : props.min);
|
|
1011
1011
|
_this.max = new DataBind(props === null || props === void 0 ? void 0 : props.max);
|
|
1012
1012
|
return _this;
|
|
@@ -1018,15 +1018,15 @@ export function initImageOptions(options) {
|
|
|
1018
1018
|
* @public
|
|
1019
1019
|
*/ export var RangeDateValue = function RangeDateValue(props) {
|
|
1020
1020
|
"use strict";
|
|
1021
|
-
|
|
1021
|
+
_class_call_check(this, RangeDateValue);
|
|
1022
1022
|
/**
|
|
1023
1023
|
* 开始日期值
|
|
1024
1024
|
* @defaultValue ''
|
|
1025
|
-
*/
|
|
1025
|
+
*/ _define_property(this, "min", void 0);
|
|
1026
1026
|
/**
|
|
1027
1027
|
* 结束日期值
|
|
1028
1028
|
* @defaultValue ''
|
|
1029
|
-
*/
|
|
1029
|
+
*/ _define_property(this, "max", void 0);
|
|
1030
1030
|
var _props_min;
|
|
1031
1031
|
this.min = (_props_min = props === null || props === void 0 ? void 0 : props.min) !== null && _props_min !== void 0 ? _props_min : "";
|
|
1032
1032
|
var _props_max;
|
|
@@ -1037,31 +1037,31 @@ export function initImageOptions(options) {
|
|
|
1037
1037
|
* @public
|
|
1038
1038
|
*/ export var AddressValue = function AddressValue(props) {
|
|
1039
1039
|
"use strict";
|
|
1040
|
-
|
|
1040
|
+
_class_call_check(this, AddressValue);
|
|
1041
1041
|
/**
|
|
1042
1042
|
* 市编码
|
|
1043
1043
|
* @defaultValue ''
|
|
1044
|
-
*/
|
|
1044
|
+
*/ _define_property(this, "city", void 0);
|
|
1045
1045
|
/**
|
|
1046
1046
|
* 市显示文字
|
|
1047
1047
|
* @defaultValue ''
|
|
1048
|
-
*/
|
|
1048
|
+
*/ _define_property(this, "cityDisplay", void 0);
|
|
1049
1049
|
/**
|
|
1050
1050
|
* 区编码
|
|
1051
1051
|
* @defaultValue ''
|
|
1052
|
-
*/
|
|
1052
|
+
*/ _define_property(this, "district", void 0);
|
|
1053
1053
|
/**
|
|
1054
1054
|
* 区显示文字
|
|
1055
1055
|
* @defaultValue ''
|
|
1056
|
-
*/
|
|
1056
|
+
*/ _define_property(this, "districtDisplay", void 0);
|
|
1057
1057
|
/**
|
|
1058
1058
|
* 省编码
|
|
1059
1059
|
* @defaultValue ''
|
|
1060
|
-
*/
|
|
1060
|
+
*/ _define_property(this, "province", void 0);
|
|
1061
1061
|
/**
|
|
1062
1062
|
* 省显示文字
|
|
1063
1063
|
* @defaultValue ''
|
|
1064
|
-
*/
|
|
1064
|
+
*/ _define_property(this, "provinceDisplay", void 0);
|
|
1065
1065
|
var _props_city;
|
|
1066
1066
|
this.city = (_props_city = props === null || props === void 0 ? void 0 : props.city) !== null && _props_city !== void 0 ? _props_city : "";
|
|
1067
1067
|
var _props_cityDisplay;
|
|
@@ -1081,17 +1081,17 @@ export function initImageOptions(options) {
|
|
|
1081
1081
|
*/ export var CalcDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
1082
1082
|
"use strict";
|
|
1083
1083
|
_inherits(CalcDataBind, ObjectDataBind);
|
|
1084
|
-
var _super =
|
|
1084
|
+
var _super = _create_super(CalcDataBind);
|
|
1085
1085
|
function CalcDataBind(props) {
|
|
1086
|
-
|
|
1086
|
+
_class_call_check(this, CalcDataBind);
|
|
1087
1087
|
var _this;
|
|
1088
1088
|
_this = _super.call(this);
|
|
1089
1089
|
/**
|
|
1090
1090
|
* 计算结果字段绑定项
|
|
1091
|
-
*/
|
|
1091
|
+
*/ _define_property(_assert_this_initialized(_this), "result", void 0);
|
|
1092
1092
|
/**
|
|
1093
1093
|
* 单位字段绑定项
|
|
1094
|
-
*/
|
|
1094
|
+
*/ _define_property(_assert_this_initialized(_this), "unit", void 0);
|
|
1095
1095
|
_this.result = new DataBind(props === null || props === void 0 ? void 0 : props.result);
|
|
1096
1096
|
_this.unit = new DataBind(props === null || props === void 0 ? void 0 : props.unit);
|
|
1097
1097
|
return _this;
|
|
@@ -1103,15 +1103,15 @@ export function initImageOptions(options) {
|
|
|
1103
1103
|
* @public
|
|
1104
1104
|
*/ export var CalcValue = function CalcValue(props) {
|
|
1105
1105
|
"use strict";
|
|
1106
|
-
|
|
1106
|
+
_class_call_check(this, CalcValue);
|
|
1107
1107
|
/**
|
|
1108
1108
|
* 计算结果值
|
|
1109
1109
|
* @defaultValue 0
|
|
1110
|
-
*/
|
|
1110
|
+
*/ _define_property(this, "result", void 0);
|
|
1111
1111
|
/**
|
|
1112
1112
|
* 单位
|
|
1113
1113
|
* @defaultValue ''
|
|
1114
|
-
*/
|
|
1114
|
+
*/ _define_property(this, "unit", void 0);
|
|
1115
1115
|
var _props_result;
|
|
1116
1116
|
this.result = (_props_result = props === null || props === void 0 ? void 0 : props.result) !== null && _props_result !== void 0 ? _props_result : 0;
|
|
1117
1117
|
var _props_unit;
|
|
@@ -1178,6 +1178,7 @@ export var COMMON_SETTING_TYPE;
|
|
|
1178
1178
|
COMMON_SETTING_TYPE["IS_INLINE_EDIT"] = "isInlineEdit";
|
|
1179
1179
|
COMMON_SETTING_TYPE["REVISIONS_MODE"] = "revisionsMode";
|
|
1180
1180
|
COMMON_SETTING_TYPE["ALLOW_COPY_OPTIONS"] = "allowCopyOptions";
|
|
1181
|
+
COMMON_SETTING_TYPE["IS_PASTE"] = "isPaste";
|
|
1181
1182
|
})(COMMON_SETTING_TYPE || (COMMON_SETTING_TYPE = {}));
|
|
1182
1183
|
export var PAGE_STATUS;
|
|
1183
1184
|
(function(PAGE_STATUS) {
|
|
@@ -1191,33 +1192,33 @@ export var PAGE_STATUS;
|
|
|
1191
1192
|
* @public
|
|
1192
1193
|
*/ export var OperationItem = function OperationItem(props) {
|
|
1193
1194
|
"use strict";
|
|
1194
|
-
|
|
1195
|
+
_class_call_check(this, OperationItem);
|
|
1195
1196
|
/**
|
|
1196
1197
|
* 是否显示
|
|
1197
1198
|
* @defaultValue true
|
|
1198
1199
|
* @public
|
|
1199
|
-
*/
|
|
1200
|
+
*/ _define_property(this, "isShow", void 0);
|
|
1200
1201
|
/**
|
|
1201
1202
|
* 优先访问流程表单
|
|
1202
1203
|
* @defaultValue false
|
|
1203
1204
|
* @public
|
|
1204
|
-
*/
|
|
1205
|
+
*/ _define_property(this, "priorityProcess", void 0);
|
|
1205
1206
|
/**
|
|
1206
1207
|
* 表单ID
|
|
1207
1208
|
* @defaultValue ''
|
|
1208
1209
|
* @public
|
|
1209
|
-
*/
|
|
1210
|
+
*/ _define_property(this, "formKey", void 0);
|
|
1210
1211
|
/**
|
|
1211
1212
|
* 显示文字
|
|
1212
1213
|
* @defaultValue ''
|
|
1213
1214
|
* @public
|
|
1214
|
-
*/
|
|
1215
|
+
*/ _define_property(this, "content", void 0);
|
|
1215
1216
|
/**
|
|
1216
1217
|
* 打开方式
|
|
1217
1218
|
* @defaultValue 'modal'
|
|
1218
1219
|
* @public
|
|
1219
|
-
*/
|
|
1220
|
-
|
|
1220
|
+
*/ _define_property(this, "openType", void 0);
|
|
1221
|
+
_define_property(this, "type", void 0);
|
|
1221
1222
|
var _props_isShow;
|
|
1222
1223
|
this.isShow = (_props_isShow = props === null || props === void 0 ? void 0 : props.isShow) !== null && _props_isShow !== void 0 ? _props_isShow : true;
|
|
1223
1224
|
var _props_content;
|
|
@@ -1233,13 +1234,13 @@ export var PAGE_STATUS;
|
|
|
1233
1234
|
};
|
|
1234
1235
|
export var ViewOperationItem = function ViewOperationItem(props) {
|
|
1235
1236
|
"use strict";
|
|
1236
|
-
|
|
1237
|
+
_class_call_check(this, ViewOperationItem);
|
|
1237
1238
|
var _props_headers;
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1239
|
+
_define_property(this, "id", void 0);
|
|
1240
|
+
_define_property(this, "title", void 0);
|
|
1241
|
+
_define_property(this, "filters", void 0);
|
|
1242
|
+
_define_property(this, "viewFilters", void 0);
|
|
1243
|
+
_define_property(this, "headers", void 0);
|
|
1243
1244
|
var _props_id;
|
|
1244
1245
|
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId(8);
|
|
1245
1246
|
var _props_title;
|
|
@@ -1254,13 +1255,13 @@ export var ViewOperationItem = function ViewOperationItem(props) {
|
|
|
1254
1255
|
* 自定义权限项,用于Vue容器上,注册自定义的权限
|
|
1255
1256
|
*/ export var CustomPermissionItem = function CustomPermissionItem(props) {
|
|
1256
1257
|
"use strict";
|
|
1257
|
-
|
|
1258
|
+
_class_call_check(this, CustomPermissionItem);
|
|
1258
1259
|
/**
|
|
1259
1260
|
* 人工输入的权限key
|
|
1260
|
-
*/
|
|
1261
|
+
*/ _define_property(this, "key", void 0);
|
|
1261
1262
|
/**
|
|
1262
1263
|
* 权限名称
|
|
1263
|
-
*/
|
|
1264
|
+
*/ _define_property(this, "caption", void 0);
|
|
1264
1265
|
var _props_key;
|
|
1265
1266
|
this.key = (_props_key = props.key) !== null && _props_key !== void 0 ? _props_key : genNonDuplicateId(8);
|
|
1266
1267
|
var _props_caption;
|
|
@@ -1268,11 +1269,11 @@ export var ViewOperationItem = function ViewOperationItem(props) {
|
|
|
1268
1269
|
};
|
|
1269
1270
|
export var BaseStyle = function BaseStyle(props) {
|
|
1270
1271
|
"use strict";
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1272
|
+
_class_call_check(this, BaseStyle);
|
|
1273
|
+
_define_property(this, "width", void 0);
|
|
1274
|
+
_define_property(this, "height", void 0);
|
|
1275
|
+
_define_property(this, "widthConfig", void 0);
|
|
1276
|
+
_define_property(this, "heightConfig", void 0);
|
|
1276
1277
|
var _props_width;
|
|
1277
1278
|
this.width = (_props_width = props === null || props === void 0 ? void 0 : props.width) !== null && _props_width !== void 0 ? _props_width : "";
|
|
1278
1279
|
var _props_height;
|