@byteluck-fe/model-driven-core 2.3.1-beta.8 → 2.4.1-beta.0
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 +252 -213
- package/dist/esm/common/BaseControl/property.js +68 -51
- package/dist/esm/common/BaseControl/runtime.js +30 -9
- package/dist/esm/common/ColumnControl/designer.js +37 -23
- package/dist/esm/common/ColumnControl/property.js +86 -38
- package/dist/esm/common/ColumnControl/runtime.js +37 -23
- package/dist/esm/common/ControlArray.js +12 -12
- package/dist/esm/common/FormControl/designer.js +40 -25
- package/dist/esm/common/FormControl/property.js +119 -52
- package/dist/esm/common/FormControl/runtime.js +38 -23
- package/dist/esm/common/LayoutControl/designer.js +149 -115
- package/dist/esm/common/LayoutControl/property.js +22 -22
- package/dist/esm/common/LayoutControl/runtime.js +39 -24
- package/dist/esm/common/ListControl/designer.js +131 -106
- package/dist/esm/common/ListControl/property.js +37 -23
- package/dist/esm/common/ListControl/runtime.js +42 -27
- package/dist/esm/common/SearchViewControl/designer.js +37 -23
- package/dist/esm/common/SearchViewControl/property.js +36 -22
- package/dist/esm/common/SearchViewControl/runtime.js +37 -23
- package/dist/esm/common/WrapControl/designer.js +37 -23
- package/dist/esm/common/WrapControl/property.js +22 -22
- package/dist/esm/common/WrapControl/runtime.js +37 -23
- package/dist/esm/framework/RegisterControls.js +199 -130
- package/dist/esm/framework/index.js +513 -93
- package/dist/index.umd.js +1 -1
- package/dist/types/common/BaseControl/property.d.ts +14 -0
- package/dist/types/common/FormControl/property.d.ts +4 -0
- package/dist/types/framework/index.d.ts +205 -0
- package/package.json +3 -3
|
@@ -1,19 +1,32 @@
|
|
|
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
|
|
13
|
-
|
|
12
|
+
function _define_property(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
|
+
}
|
|
25
|
+
function _get_prototype_of(o) {
|
|
26
|
+
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
14
27
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
15
28
|
};
|
|
16
|
-
return
|
|
29
|
+
return _get_prototype_of(o);
|
|
17
30
|
}
|
|
18
31
|
function _inherits(subClass, superClass) {
|
|
19
32
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -26,7 +39,7 @@ function _inherits(subClass, superClass) {
|
|
|
26
39
|
configurable: true
|
|
27
40
|
}
|
|
28
41
|
});
|
|
29
|
-
if (superClass)
|
|
42
|
+
if (superClass) _set_prototype_of(subClass, superClass);
|
|
30
43
|
}
|
|
31
44
|
function _instanceof(left, right) {
|
|
32
45
|
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
@@ -35,24 +48,24 @@ function _instanceof(left, right) {
|
|
|
35
48
|
return left instanceof right;
|
|
36
49
|
}
|
|
37
50
|
}
|
|
38
|
-
function
|
|
39
|
-
if (call && (
|
|
51
|
+
function _possible_constructor_return(self, call) {
|
|
52
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) {
|
|
40
53
|
return call;
|
|
41
54
|
}
|
|
42
|
-
return
|
|
55
|
+
return _assert_this_initialized(self);
|
|
43
56
|
}
|
|
44
|
-
function
|
|
45
|
-
|
|
57
|
+
function _set_prototype_of(o, p) {
|
|
58
|
+
_set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
46
59
|
o.__proto__ = p;
|
|
47
60
|
return o;
|
|
48
61
|
};
|
|
49
|
-
return
|
|
62
|
+
return _set_prototype_of(o, p);
|
|
50
63
|
}
|
|
51
|
-
|
|
64
|
+
function _type_of(obj) {
|
|
52
65
|
"@swc/helpers - typeof";
|
|
53
66
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
54
|
-
}
|
|
55
|
-
function
|
|
67
|
+
}
|
|
68
|
+
function _is_native_reflect_construct() {
|
|
56
69
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
57
70
|
if (Reflect.construct.sham) return false;
|
|
58
71
|
if (typeof Proxy === "function") return true;
|
|
@@ -63,17 +76,17 @@ function _isNativeReflectConstruct() {
|
|
|
63
76
|
return false;
|
|
64
77
|
}
|
|
65
78
|
}
|
|
66
|
-
function
|
|
67
|
-
var hasNativeReflectConstruct =
|
|
79
|
+
function _create_super(Derived) {
|
|
80
|
+
var hasNativeReflectConstruct = _is_native_reflect_construct();
|
|
68
81
|
return function _createSuperInternal() {
|
|
69
|
-
var Super =
|
|
82
|
+
var Super = _get_prototype_of(Derived), result;
|
|
70
83
|
if (hasNativeReflectConstruct) {
|
|
71
|
-
var NewTarget =
|
|
84
|
+
var NewTarget = _get_prototype_of(this).constructor;
|
|
72
85
|
result = Reflect.construct(Super, arguments, NewTarget);
|
|
73
86
|
} else {
|
|
74
87
|
result = Super.apply(this, arguments);
|
|
75
88
|
}
|
|
76
|
-
return
|
|
89
|
+
return _possible_constructor_return(this, result);
|
|
77
90
|
};
|
|
78
91
|
}
|
|
79
92
|
import { FieldTypes, genNonDuplicateId } from "@byteluck-fe/model-driven-shared";
|
|
@@ -83,7 +96,22 @@ export * from "./RegisterControls";
|
|
|
83
96
|
* @public
|
|
84
97
|
*/ export var DataBind = function DataBind(props) {
|
|
85
98
|
"use strict";
|
|
86
|
-
|
|
99
|
+
_class_call_check(this, DataBind);
|
|
100
|
+
/**
|
|
101
|
+
* 数据模型编码
|
|
102
|
+
* @defaultValue ''
|
|
103
|
+
* @public
|
|
104
|
+
*/ _define_property(this, "dataCode", void 0);
|
|
105
|
+
/**
|
|
106
|
+
* 字段编码
|
|
107
|
+
* @defaultValue ''
|
|
108
|
+
* @public
|
|
109
|
+
*/ _define_property(this, "fieldCode", void 0);
|
|
110
|
+
/**
|
|
111
|
+
* 字段类型
|
|
112
|
+
* @defaultValue ''
|
|
113
|
+
* @public
|
|
114
|
+
*/ _define_property(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;
|
|
@@ -93,7 +121,10 @@ export * from "./RegisterControls";
|
|
|
93
121
|
};
|
|
94
122
|
export var AutoWidth = function AutoWidth(props) {
|
|
95
123
|
"use strict";
|
|
96
|
-
|
|
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);
|
|
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;
|
|
@@ -103,11 +134,13 @@ export var AutoWidth = function AutoWidth(props) {
|
|
|
103
134
|
export var MetaWidth = /*#__PURE__*/ function(AutoWidth) {
|
|
104
135
|
"use strict";
|
|
105
136
|
_inherits(MetaWidth, AutoWidth);
|
|
106
|
-
var _super =
|
|
137
|
+
var _super = _create_super(MetaWidth);
|
|
107
138
|
function MetaWidth(props) {
|
|
108
|
-
|
|
139
|
+
_class_call_check(this, MetaWidth);
|
|
109
140
|
var _this;
|
|
110
141
|
_this = _super.call(this, props);
|
|
142
|
+
_define_property(_assert_this_initialized(_this), "width", void 0);
|
|
143
|
+
_define_property(_assert_this_initialized(_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;
|
|
@@ -118,7 +151,9 @@ export var MetaWidth = /*#__PURE__*/ function(AutoWidth) {
|
|
|
118
151
|
}(AutoWidth);
|
|
119
152
|
export var MetaAutoWidth = function MetaAutoWidth(props) {
|
|
120
153
|
"use strict";
|
|
121
|
-
|
|
154
|
+
_class_call_check(this, MetaAutoWidth);
|
|
155
|
+
_define_property(this, "pc", void 0);
|
|
156
|
+
_define_property(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,
|
|
@@ -127,7 +162,9 @@ export var MetaAutoWidth = function MetaAutoWidth(props) {
|
|
|
127
162
|
};
|
|
128
163
|
export var DataStorageDoc = function DataStorageDoc(props) {
|
|
129
164
|
"use strict";
|
|
130
|
-
|
|
165
|
+
_class_call_check(this, DataStorageDoc);
|
|
166
|
+
_define_property(this, "type", void 0);
|
|
167
|
+
_define_property(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;
|
|
@@ -135,7 +172,10 @@ export var DataStorageDoc = function DataStorageDoc(props) {
|
|
|
135
172
|
};
|
|
136
173
|
export var FormBind = function FormBind(props) {
|
|
137
174
|
"use strict";
|
|
138
|
-
|
|
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);
|
|
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;
|
|
@@ -146,20 +186,28 @@ export var FormBind = function FormBind(props) {
|
|
|
146
186
|
export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
147
187
|
"use strict";
|
|
148
188
|
_inherits(FormSelectBind, FormBind);
|
|
149
|
-
var _super =
|
|
189
|
+
var _super = _create_super(FormSelectBind);
|
|
150
190
|
function FormSelectBind(props) {
|
|
151
|
-
|
|
191
|
+
_class_call_check(this, FormSelectBind);
|
|
152
192
|
var _this;
|
|
153
193
|
_this = _super.call(this, props);
|
|
194
|
+
_define_property(_assert_this_initialized(_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;
|
|
157
198
|
}
|
|
158
199
|
return FormSelectBind;
|
|
159
200
|
}(FormBind);
|
|
160
|
-
|
|
201
|
+
/**
|
|
202
|
+
* 列表绑定字段项
|
|
203
|
+
* @public
|
|
204
|
+
*/ var ListBindHeaderItem = function ListBindHeaderItem(props) {
|
|
161
205
|
"use strict";
|
|
162
|
-
|
|
206
|
+
_class_call_check(this, ListBindHeaderItem);
|
|
207
|
+
/**
|
|
208
|
+
* 字段
|
|
209
|
+
* @defaultValue ''
|
|
210
|
+
*/ _define_property(this, "fieldCode", void 0);
|
|
163
211
|
var _props_fieldCode;
|
|
164
212
|
this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : "";
|
|
165
213
|
};
|
|
@@ -167,8 +215,20 @@ var ListBindHeaderItem = function ListBindHeaderItem(props) {
|
|
|
167
215
|
* 列表绑定配置
|
|
168
216
|
*/ export var ListBind = function ListBind(props) {
|
|
169
217
|
"use strict";
|
|
170
|
-
|
|
218
|
+
_class_call_check(this, ListBind);
|
|
171
219
|
var _props_headers;
|
|
220
|
+
/**
|
|
221
|
+
* 应用ID
|
|
222
|
+
* @public
|
|
223
|
+
*/ _define_property(this, "appId", void 0);
|
|
224
|
+
/**
|
|
225
|
+
* 表单ID
|
|
226
|
+
* @public
|
|
227
|
+
*/ _define_property(this, "formKey", void 0);
|
|
228
|
+
/**
|
|
229
|
+
* 显示字段
|
|
230
|
+
* @public
|
|
231
|
+
*/ _define_property(this, "headers", void 0);
|
|
172
232
|
var _props_appId;
|
|
173
233
|
this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : "";
|
|
174
234
|
var _props_formKey;
|
|
@@ -180,7 +240,10 @@ var ListBindHeaderItem = function ListBindHeaderItem(props) {
|
|
|
180
240
|
};
|
|
181
241
|
export var FieldBindItem = function FieldBindItem(props) {
|
|
182
242
|
"use strict";
|
|
183
|
-
|
|
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);
|
|
184
247
|
var _props_fieldName;
|
|
185
248
|
this.fieldName = (_props_fieldName = props === null || props === void 0 ? void 0 : props.fieldName) !== null && _props_fieldName !== void 0 ? _props_fieldName : "";
|
|
186
249
|
var _props_fieldCode;
|
|
@@ -191,11 +254,15 @@ export var FieldBindItem = function FieldBindItem(props) {
|
|
|
191
254
|
export var SubListItem = /*#__PURE__*/ function(FormBind) {
|
|
192
255
|
"use strict";
|
|
193
256
|
_inherits(SubListItem, FormBind);
|
|
194
|
-
var _super =
|
|
257
|
+
var _super = _create_super(SubListItem);
|
|
195
258
|
function SubListItem(props) {
|
|
196
|
-
|
|
259
|
+
_class_call_check(this, SubListItem);
|
|
197
260
|
var _this;
|
|
198
261
|
_this = _super.call(this, props);
|
|
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);
|
|
199
266
|
var _props_title;
|
|
200
267
|
_this.title = (_props_title = props === null || props === void 0 ? void 0 : props.title) !== null && _props_title !== void 0 ? _props_title : "";
|
|
201
268
|
var _props_svcCode;
|
|
@@ -210,9 +277,12 @@ export var SubListItem = /*#__PURE__*/ function(FormBind) {
|
|
|
210
277
|
}(FormBind);
|
|
211
278
|
export var SubListPageConfig = function SubListPageConfig(props) {
|
|
212
279
|
"use strict";
|
|
213
|
-
|
|
280
|
+
_class_call_check(this, SubListPageConfig);
|
|
214
281
|
var _props_displayFields, _props_sublists;
|
|
215
|
-
this
|
|
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);
|
|
216
286
|
this.formBind = new FormBind(props === null || props === void 0 ? void 0 : props.formBind);
|
|
217
287
|
var _props_displayFields_map;
|
|
218
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) {
|
|
@@ -225,13 +295,18 @@ export var SubListPageConfig = function SubListPageConfig(props) {
|
|
|
225
295
|
};
|
|
226
296
|
export var LeftVariable = function LeftVariable(props) {
|
|
227
297
|
"use strict";
|
|
228
|
-
|
|
298
|
+
_class_call_check(this, LeftVariable);
|
|
299
|
+
_define_property(this, "type", void 0);
|
|
300
|
+
_define_property(this, "value", void 0);
|
|
229
301
|
this.type = props === null || props === void 0 ? void 0 : props.type;
|
|
230
302
|
this.value = props === null || props === void 0 ? void 0 : props.value;
|
|
231
303
|
};
|
|
232
304
|
export var RightVariable = function RightVariable(props) {
|
|
233
305
|
"use strict";
|
|
234
|
-
|
|
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);
|
|
235
310
|
var _props_type;
|
|
236
311
|
this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "custom";
|
|
237
312
|
var _props_value;
|
|
@@ -239,11 +314,37 @@ export var RightVariable = function RightVariable(props) {
|
|
|
239
314
|
var _props_displayBos;
|
|
240
315
|
this.displayBos = (_props_displayBos = props === null || props === void 0 ? void 0 : props.displayBos) !== null && _props_displayBos !== void 0 ? _props_displayBos : [];
|
|
241
316
|
};
|
|
242
|
-
|
|
317
|
+
/**
|
|
318
|
+
* 连接符条件
|
|
319
|
+
* @public
|
|
320
|
+
*/ export var FieldFilterConditions = function FieldFilterConditions(props) {
|
|
243
321
|
"use strict";
|
|
244
322
|
var _this = this;
|
|
245
|
-
|
|
246
|
-
|
|
323
|
+
_class_call_check(this, FieldFilterConditions);
|
|
324
|
+
/**
|
|
325
|
+
* 编号
|
|
326
|
+
* @defaultValue ''
|
|
327
|
+
*/ _define_property(this, "id", void 0);
|
|
328
|
+
/**
|
|
329
|
+
* 规则编号
|
|
330
|
+
* @defaultValue Timestamp
|
|
331
|
+
*/ _define_property(this, "ruleId", void 0);
|
|
332
|
+
/**
|
|
333
|
+
* 类型:连接符条件
|
|
334
|
+
* @defaultValue 'conditions'
|
|
335
|
+
*/ _define_property(this, "type", "conditions");
|
|
336
|
+
/**
|
|
337
|
+
* 深度
|
|
338
|
+
* @defaultValue 0
|
|
339
|
+
*/ _define_property(this, "level", void 0);
|
|
340
|
+
/**
|
|
341
|
+
* 连接符值
|
|
342
|
+
* @defaultValue 'and'
|
|
343
|
+
*/ _define_property(this, "value", void 0);
|
|
344
|
+
/**
|
|
345
|
+
* 包含子项
|
|
346
|
+
* @defaultValue []
|
|
347
|
+
*/ _define_property(this, "children", void 0);
|
|
247
348
|
var _props_id;
|
|
248
349
|
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId();
|
|
249
350
|
var _props_ruleId;
|
|
@@ -267,10 +368,35 @@ export var FieldFilterConditions = function FieldFilterConditions(props) {
|
|
|
267
368
|
});
|
|
268
369
|
}
|
|
269
370
|
};
|
|
270
|
-
|
|
371
|
+
/**
|
|
372
|
+
* 字段过滤条件
|
|
373
|
+
* @public
|
|
374
|
+
*/ export var FieldFilterCondition = function FieldFilterCondition(props) {
|
|
271
375
|
"use strict";
|
|
272
|
-
|
|
273
|
-
|
|
376
|
+
_class_call_check(this, FieldFilterCondition);
|
|
377
|
+
/**
|
|
378
|
+
* 唯一编号
|
|
379
|
+
* @defaultValue ''
|
|
380
|
+
*/ _define_property(this, "id", void 0);
|
|
381
|
+
/**
|
|
382
|
+
* 规则编号
|
|
383
|
+
* @defaultValue Timestamp
|
|
384
|
+
*/ _define_property(this, "ruleId", void 0);
|
|
385
|
+
/**
|
|
386
|
+
* 类型
|
|
387
|
+
* @defaultValue 'condition'
|
|
388
|
+
*/ _define_property(this, "type", "condition");
|
|
389
|
+
/**
|
|
390
|
+
* 符号
|
|
391
|
+
*/ _define_property(this, "symbol", void 0);
|
|
392
|
+
_define_property(this, "checked", void 0);
|
|
393
|
+
_define_property(this, "describe", void 0);
|
|
394
|
+
/**
|
|
395
|
+
* 左值
|
|
396
|
+
*/ _define_property(this, "leftVariableBo", void 0);
|
|
397
|
+
/**
|
|
398
|
+
* 右值
|
|
399
|
+
*/ _define_property(this, "rightVariableBo", void 0);
|
|
274
400
|
var _props_id;
|
|
275
401
|
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId();
|
|
276
402
|
var _props_ruleId;
|
|
@@ -289,7 +415,27 @@ export var FieldFilterCondition = function FieldFilterCondition(props) {
|
|
|
289
415
|
* @public
|
|
290
416
|
*/ export var MultistageFillingItem = function MultistageFillingItem(props) {
|
|
291
417
|
"use strict";
|
|
292
|
-
|
|
418
|
+
_class_call_check(this, MultistageFillingItem);
|
|
419
|
+
/**
|
|
420
|
+
* 控件ID
|
|
421
|
+
* @defaultValue ''
|
|
422
|
+
* @public
|
|
423
|
+
*/ _define_property(this, "controlId", void 0);
|
|
424
|
+
/**
|
|
425
|
+
* 字段
|
|
426
|
+
* @defaultValue ''
|
|
427
|
+
* @public
|
|
428
|
+
*/ _define_property(this, "fieldCode", void 0);
|
|
429
|
+
/**
|
|
430
|
+
* 字段类型。事件在填充时,需要根据数据类型进行判断处理动作。
|
|
431
|
+
* @defaultValue ''
|
|
432
|
+
* @public
|
|
433
|
+
*/ _define_property(this, "fieldType", void 0);
|
|
434
|
+
/**
|
|
435
|
+
* 属性名称。如果是ObjectDataBind的控件,可以指定填充到哪个数据项。
|
|
436
|
+
* @defaultValue ''
|
|
437
|
+
* @public
|
|
438
|
+
* */ _define_property(this, "propName", void 0);
|
|
293
439
|
var _props_controlId;
|
|
294
440
|
this.controlId = (_props_controlId = props === null || props === void 0 ? void 0 : props.controlId) !== null && _props_controlId !== void 0 ? _props_controlId : "";
|
|
295
441
|
var _props_fieldCode;
|
|
@@ -299,18 +445,43 @@ export var FieldFilterCondition = function FieldFilterCondition(props) {
|
|
|
299
445
|
var _props_propName;
|
|
300
446
|
this.propName = (_props_propName = props === null || props === void 0 ? void 0 : props.propName) !== null && _props_propName !== void 0 ? _props_propName : "";
|
|
301
447
|
};
|
|
302
|
-
|
|
448
|
+
/**
|
|
449
|
+
* 显示项
|
|
450
|
+
* @public
|
|
451
|
+
*/ export var DisplayBoListItem = function DisplayBoListItem(props) {
|
|
303
452
|
"use strict";
|
|
304
|
-
|
|
453
|
+
_class_call_check(this, DisplayBoListItem);
|
|
454
|
+
/**
|
|
455
|
+
* 显示项类型:字段 | 符号
|
|
456
|
+
* @defaultValue 'FIELD'
|
|
457
|
+
* @public
|
|
458
|
+
*/ _define_property(this, "type", void 0);
|
|
459
|
+
/**
|
|
460
|
+
* 值
|
|
461
|
+
*/ _define_property(this, "value", void 0);
|
|
462
|
+
/**
|
|
463
|
+
* 字段数据类型
|
|
464
|
+
*/ _define_property(this, "fieldType", void 0);
|
|
305
465
|
var _props_type;
|
|
306
466
|
this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "FIELD";
|
|
307
467
|
var _props_value;
|
|
308
468
|
this.value = (_props_value = props === null || props === void 0 ? void 0 : props.value) !== null && _props_value !== void 0 ? _props_value : "";
|
|
309
469
|
this.fieldType = props === null || props === void 0 ? void 0 : props.fieldType;
|
|
310
470
|
};
|
|
311
|
-
|
|
471
|
+
/**
|
|
472
|
+
* 数据源排序项
|
|
473
|
+
* @public
|
|
474
|
+
*/ export var DataSourceOrderItem = function DataSourceOrderItem(props) {
|
|
312
475
|
"use strict";
|
|
313
|
-
|
|
476
|
+
_class_call_check(this, DataSourceOrderItem);
|
|
477
|
+
/**
|
|
478
|
+
* 列名
|
|
479
|
+
* @defaultValue ''
|
|
480
|
+
*/ _define_property(this, "columnName", void 0);
|
|
481
|
+
/**
|
|
482
|
+
* 倒序
|
|
483
|
+
* @defaultValue false
|
|
484
|
+
*/ _define_property(this, "desc", void 0);
|
|
314
485
|
var _props_columnName;
|
|
315
486
|
this.columnName = (_props_columnName = props.columnName) !== null && _props_columnName !== void 0 ? _props_columnName : "";
|
|
316
487
|
var _props_desc;
|
|
@@ -318,7 +489,13 @@ export var DataSourceOrderItem = function DataSourceOrderItem(props) {
|
|
|
318
489
|
};
|
|
319
490
|
export var DataSourceDataSetValue = function DataSourceDataSetValue(props) {
|
|
320
491
|
"use strict";
|
|
321
|
-
|
|
492
|
+
_class_call_check(this, DataSourceDataSetValue);
|
|
493
|
+
// fieldCode
|
|
494
|
+
_define_property(this, "code", void 0);
|
|
495
|
+
// 值
|
|
496
|
+
_define_property(this, "value", void 0);
|
|
497
|
+
// 数据类型
|
|
498
|
+
_define_property(this, "field_type", void 0);
|
|
322
499
|
var _props_code;
|
|
323
500
|
this.code = (_props_code = props.code) !== null && _props_code !== void 0 ? _props_code : "";
|
|
324
501
|
var _props_value;
|
|
@@ -328,8 +505,15 @@ export var DataSourceDataSetValue = function DataSourceDataSetValue(props) {
|
|
|
328
505
|
};
|
|
329
506
|
export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
330
507
|
"use strict";
|
|
331
|
-
|
|
508
|
+
_class_call_check(this, DataSourceParamItem);
|
|
332
509
|
var _props_orders, _props_dataSet;
|
|
510
|
+
/**
|
|
511
|
+
* 字段ID
|
|
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);
|
|
333
517
|
var _props_id;
|
|
334
518
|
//字段ID,不可以当作随机数生成唯一编号
|
|
335
519
|
this.id = (_props_id = props.id) !== null && _props_id !== void 0 ? _props_id : "";
|
|
@@ -371,7 +555,48 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
|
371
555
|
*/ export var DataSourceBind = function DataSourceBind(props) {
|
|
372
556
|
"use strict";
|
|
373
557
|
var _this = this;
|
|
374
|
-
|
|
558
|
+
_class_call_check(this, DataSourceBind);
|
|
559
|
+
/**
|
|
560
|
+
* 绑定数据源id
|
|
561
|
+
* @defaultValue ''
|
|
562
|
+
* @public
|
|
563
|
+
*/ _define_property(this, "dataCode", void 0);
|
|
564
|
+
/**
|
|
565
|
+
* 存储值
|
|
566
|
+
* @defaultValue ''
|
|
567
|
+
* @public
|
|
568
|
+
*/ _define_property(this, "valueFieldCode", void 0);
|
|
569
|
+
/**
|
|
570
|
+
* 显示值
|
|
571
|
+
* @defaultValue []
|
|
572
|
+
* @public
|
|
573
|
+
*/ _define_property(this, "displayBoList", void 0);
|
|
574
|
+
/**
|
|
575
|
+
* 绑定服务
|
|
576
|
+
* @defaultValue ''
|
|
577
|
+
* @public
|
|
578
|
+
*/ _define_property(this, "svcCode", void 0);
|
|
579
|
+
/**
|
|
580
|
+
* 应用Id
|
|
581
|
+
* @defaultValue ''
|
|
582
|
+
* @public
|
|
583
|
+
*/ _define_property(this, "appId", void 0);
|
|
584
|
+
/**
|
|
585
|
+
* 过滤条件
|
|
586
|
+
* @defaultValue []
|
|
587
|
+
* @public
|
|
588
|
+
*/ _define_property(this, "filters", void 0);
|
|
589
|
+
// 过滤
|
|
590
|
+
/**
|
|
591
|
+
* 排序
|
|
592
|
+
* @defaultValue []
|
|
593
|
+
* @public
|
|
594
|
+
*/ _define_property(this, "orders", void 0);
|
|
595
|
+
/**
|
|
596
|
+
* 显示排序
|
|
597
|
+
* @defaultValue true
|
|
598
|
+
* @public
|
|
599
|
+
*/ _define_property(this, "showOrder", void 0);
|
|
375
600
|
var _props_dataCode;
|
|
376
601
|
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
|
|
377
602
|
var _props_appId;
|
|
@@ -393,8 +618,11 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
|
393
618
|
};
|
|
394
619
|
export var CustomAttributeItem = function CustomAttributeItem(props) {
|
|
395
620
|
"use strict";
|
|
396
|
-
|
|
621
|
+
_class_call_check(this, CustomAttributeItem);
|
|
397
622
|
var _props_value;
|
|
623
|
+
_define_property(this, "name", void 0);
|
|
624
|
+
_define_property(this, "key", void 0);
|
|
625
|
+
_define_property(this, "value", void 0);
|
|
398
626
|
var _props_name;
|
|
399
627
|
this.name = (_props_name = props === null || props === void 0 ? void 0 : props.name) !== null && _props_name !== void 0 ? _props_name : "";
|
|
400
628
|
var _props_key;
|
|
@@ -407,12 +635,13 @@ export var CustomAttributeItem = function CustomAttributeItem(props) {
|
|
|
407
635
|
export var SuperDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
408
636
|
"use strict";
|
|
409
637
|
_inherits(SuperDataSourceBind, DataSourceBind);
|
|
410
|
-
var _super =
|
|
638
|
+
var _super = _create_super(SuperDataSourceBind);
|
|
411
639
|
function SuperDataSourceBind(props) {
|
|
412
|
-
|
|
640
|
+
_class_call_check(this, SuperDataSourceBind);
|
|
413
641
|
var _this;
|
|
414
642
|
var _props_attributes;
|
|
415
643
|
_this = _super.call(this, props);
|
|
644
|
+
_define_property(_assert_this_initialized(_this), "attributes", void 0);
|
|
416
645
|
var _props_attributes_map;
|
|
417
646
|
_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) {
|
|
418
647
|
return new CustomAttributeItem(item);
|
|
@@ -424,11 +653,12 @@ export var SuperDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
|
424
653
|
export var TreeDataSourceBind = /*#__PURE__*/ function(SuperDataSourceBind) {
|
|
425
654
|
"use strict";
|
|
426
655
|
_inherits(TreeDataSourceBind, SuperDataSourceBind);
|
|
427
|
-
var _super =
|
|
656
|
+
var _super = _create_super(TreeDataSourceBind);
|
|
428
657
|
function TreeDataSourceBind(props) {
|
|
429
|
-
|
|
658
|
+
_class_call_check(this, TreeDataSourceBind);
|
|
430
659
|
var _this;
|
|
431
660
|
_this = _super.call(this, props);
|
|
661
|
+
_define_property(_assert_this_initialized(_this), "rootNode", void 0);
|
|
432
662
|
_this.rootNode = new RightVariable(props === null || props === void 0 ? void 0 : props.rootNode);
|
|
433
663
|
return _this;
|
|
434
664
|
}
|
|
@@ -436,8 +666,17 @@ export var TreeDataSourceBind = /*#__PURE__*/ function(SuperDataSourceBind) {
|
|
|
436
666
|
}(SuperDataSourceBind);
|
|
437
667
|
var FillBind = function FillBind(props) {
|
|
438
668
|
"use strict";
|
|
439
|
-
|
|
669
|
+
_class_call_check(this, FillBind);
|
|
440
670
|
var _props_fillList;
|
|
671
|
+
/*
|
|
672
|
+
* 需要被填充的数据源
|
|
673
|
+
* */ _define_property(this, "dataCode", void 0);
|
|
674
|
+
/*
|
|
675
|
+
* appId
|
|
676
|
+
* */ _define_property(this, "appId", void 0);
|
|
677
|
+
/*
|
|
678
|
+
* 执行填充的数据项和控件
|
|
679
|
+
* */ _define_property(this, "fillList", void 0);
|
|
441
680
|
var _props_dataCode;
|
|
442
681
|
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
|
|
443
682
|
var _props_appId;
|
|
@@ -454,12 +693,22 @@ var FillBind = function FillBind(props) {
|
|
|
454
693
|
* */ export var FillPayloadBind = /*#__PURE__*/ function(FillBind) {
|
|
455
694
|
"use strict";
|
|
456
695
|
_inherits(FillPayloadBind, FillBind);
|
|
457
|
-
var _super =
|
|
696
|
+
var _super = _create_super(FillPayloadBind);
|
|
458
697
|
function FillPayloadBind(props) {
|
|
459
|
-
|
|
698
|
+
_class_call_check(this, FillPayloadBind);
|
|
460
699
|
var _this;
|
|
461
700
|
_this = _super.call(this, props);
|
|
462
|
-
|
|
701
|
+
/**
|
|
702
|
+
* 数据源过滤条件
|
|
703
|
+
* @defaultValue []
|
|
704
|
+
* @public
|
|
705
|
+
**/ _define_property(_assert_this_initialized(_this), "filters", void 0);
|
|
706
|
+
/**
|
|
707
|
+
* 数据源排序条件
|
|
708
|
+
* @defaultValue []
|
|
709
|
+
* @public
|
|
710
|
+
**/ _define_property(_assert_this_initialized(_this), "orders", void 0);
|
|
711
|
+
callFiltersAndOrders.call(_assert_this_initialized(_this), props);
|
|
463
712
|
return _this;
|
|
464
713
|
}
|
|
465
714
|
return FillPayloadBind;
|
|
@@ -470,11 +719,21 @@ var FillBind = function FillBind(props) {
|
|
|
470
719
|
*/ export var FillBackBind = /*#__PURE__*/ function(FillBind) {
|
|
471
720
|
"use strict";
|
|
472
721
|
_inherits(FillBackBind, FillBind);
|
|
473
|
-
var _super =
|
|
722
|
+
var _super = _create_super(FillBackBind);
|
|
474
723
|
function FillBackBind(props) {
|
|
475
|
-
|
|
724
|
+
_class_call_check(this, FillBackBind);
|
|
476
725
|
var _this;
|
|
477
726
|
_this = _super.call(this, props);
|
|
727
|
+
/**
|
|
728
|
+
* 回填模式。current 当前表(根据按钮所在位置来区分,而不是通过主表和子表来区分)| subtable 子表
|
|
729
|
+
* @defaultValue 'current'
|
|
730
|
+
* @public
|
|
731
|
+
* */ _define_property(_assert_this_initialized(_this), "mode", void 0);
|
|
732
|
+
/**
|
|
733
|
+
* 多选
|
|
734
|
+
* @defaultValue false
|
|
735
|
+
* @public
|
|
736
|
+
*/ _define_property(_assert_this_initialized(_this), "multiple", void 0);
|
|
478
737
|
var _props_mode;
|
|
479
738
|
_this.mode = (_props_mode = props === null || props === void 0 ? void 0 : props.mode) !== null && _props_mode !== void 0 ? _props_mode : "current";
|
|
480
739
|
var _props_multiple;
|
|
@@ -485,7 +744,10 @@ var FillBind = function FillBind(props) {
|
|
|
485
744
|
}(FillBind);
|
|
486
745
|
export var Language = function Language(props) {
|
|
487
746
|
"use strict";
|
|
488
|
-
|
|
747
|
+
_class_call_check(this, Language);
|
|
748
|
+
_define_property(this, "zh", void 0);
|
|
749
|
+
_define_property(this, "en", void 0);
|
|
750
|
+
_define_property(this, "ja", void 0);
|
|
489
751
|
var _props_zh;
|
|
490
752
|
this.zh = (_props_zh = props === null || props === void 0 ? void 0 : props.zh) !== null && _props_zh !== void 0 ? _props_zh : "";
|
|
491
753
|
var _props_en;
|
|
@@ -493,9 +755,24 @@ export var Language = function Language(props) {
|
|
|
493
755
|
var _props_ja;
|
|
494
756
|
this.ja = (_props_ja = props === null || props === void 0 ? void 0 : props.ja) !== null && _props_ja !== void 0 ? _props_ja : "";
|
|
495
757
|
};
|
|
496
|
-
|
|
758
|
+
/**
|
|
759
|
+
* 正则校验
|
|
760
|
+
* @public
|
|
761
|
+
*/ export var RegularRules = function RegularRules(props) {
|
|
497
762
|
"use strict";
|
|
498
|
-
|
|
763
|
+
_class_call_check(this, RegularRules);
|
|
764
|
+
/**
|
|
765
|
+
* 内置模版
|
|
766
|
+
* @defaultValue ''
|
|
767
|
+
*/ _define_property(this, "stencilName", void 0);
|
|
768
|
+
/**
|
|
769
|
+
* 正则表达式
|
|
770
|
+
* @defaultValue ''
|
|
771
|
+
*/ _define_property(this, "expression", void 0);
|
|
772
|
+
/**
|
|
773
|
+
* 校验错误提示信息
|
|
774
|
+
* @defaultValue ''
|
|
775
|
+
*/ _define_property(this, "errMessage", void 0);
|
|
499
776
|
var _props_stencilName;
|
|
500
777
|
this.stencilName = (_props_stencilName = props === null || props === void 0 ? void 0 : props.stencilName) !== null && _props_stencilName !== void 0 ? _props_stencilName : "";
|
|
501
778
|
var _props_expression;
|
|
@@ -508,7 +785,18 @@ export var RegularRules = function RegularRules(props) {
|
|
|
508
785
|
* @public
|
|
509
786
|
*/ export var OptionSetting = function OptionSetting(props) {
|
|
510
787
|
"use strict";
|
|
511
|
-
|
|
788
|
+
_class_call_check(this, OptionSetting);
|
|
789
|
+
_define_property(this, "id", void 0);
|
|
790
|
+
/**
|
|
791
|
+
* 显示值
|
|
792
|
+
* @defaultValue ''
|
|
793
|
+
* @public
|
|
794
|
+
*/ _define_property(this, "label", void 0);
|
|
795
|
+
/**
|
|
796
|
+
* 选项ID
|
|
797
|
+
* @defaultValue this.label
|
|
798
|
+
* @public
|
|
799
|
+
*/ _define_property(this, "value", void 0);
|
|
512
800
|
var _props_id;
|
|
513
801
|
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId(8);
|
|
514
802
|
var _props_label;
|
|
@@ -519,11 +807,13 @@ export var RegularRules = function RegularRules(props) {
|
|
|
519
807
|
export var ImageOptionSetting = /*#__PURE__*/ function(OptionSetting) {
|
|
520
808
|
"use strict";
|
|
521
809
|
_inherits(ImageOptionSetting, OptionSetting);
|
|
522
|
-
var _super =
|
|
810
|
+
var _super = _create_super(ImageOptionSetting);
|
|
523
811
|
function ImageOptionSetting(props) {
|
|
524
|
-
|
|
812
|
+
_class_call_check(this, ImageOptionSetting);
|
|
525
813
|
var _this;
|
|
526
814
|
_this = _super.call(this, props);
|
|
815
|
+
_define_property(_assert_this_initialized(_this), "image", void 0);
|
|
816
|
+
_define_property(_assert_this_initialized(_this), "type", void 0);
|
|
527
817
|
var _props_image;
|
|
528
818
|
_this.image = (_props_image = props === null || props === void 0 ? void 0 : props.image) !== null && _props_image !== void 0 ? _props_image : "";
|
|
529
819
|
var _props_type;
|
|
@@ -544,57 +834,127 @@ export function initImageOptions(options) {
|
|
|
544
834
|
return new ImageOptionSetting(item);
|
|
545
835
|
})) !== null && _options_map !== void 0 ? _options_map : [];
|
|
546
836
|
}
|
|
547
|
-
|
|
837
|
+
/**
|
|
838
|
+
* 对象类型数据绑定配置
|
|
839
|
+
* @public
|
|
840
|
+
*/ export var ObjectDataBind = function ObjectDataBind() {
|
|
548
841
|
"use strict";
|
|
549
|
-
|
|
842
|
+
_class_call_check(this, ObjectDataBind);
|
|
550
843
|
};
|
|
551
|
-
|
|
844
|
+
/**
|
|
845
|
+
* 金额控件数据绑定配置
|
|
846
|
+
* @public
|
|
847
|
+
*/ export var AmountDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
552
848
|
"use strict";
|
|
553
849
|
_inherits(AmountDataBind, ObjectDataBind);
|
|
554
|
-
var _super =
|
|
850
|
+
var _super = _create_super(AmountDataBind);
|
|
555
851
|
function AmountDataBind(props) {
|
|
556
|
-
|
|
852
|
+
_class_call_check(this, AmountDataBind);
|
|
557
853
|
var _this;
|
|
558
854
|
_this = _super.call(this);
|
|
855
|
+
/**
|
|
856
|
+
* 金额字段绑定配置
|
|
857
|
+
*/ _define_property(_assert_this_initialized(_this), "amount", void 0);
|
|
858
|
+
/**
|
|
859
|
+
* 币种字段绑定配置
|
|
860
|
+
*/ _define_property(_assert_this_initialized(_this), "currency", void 0);
|
|
559
861
|
_this.amount = new DataBind(props === null || props === void 0 ? void 0 : props.amount);
|
|
560
862
|
_this.currency = new DataBind(props === null || props === void 0 ? void 0 : props.currency);
|
|
561
863
|
return _this;
|
|
562
864
|
}
|
|
563
865
|
return AmountDataBind;
|
|
564
866
|
}(ObjectDataBind);
|
|
565
|
-
|
|
867
|
+
/**
|
|
868
|
+
* 金额控件值
|
|
869
|
+
* @public
|
|
870
|
+
*/ export var AmountValue = function AmountValue(props) {
|
|
566
871
|
"use strict";
|
|
567
|
-
|
|
872
|
+
_class_call_check(this, AmountValue);
|
|
873
|
+
/**
|
|
874
|
+
* 金额值
|
|
875
|
+
* @defaultValue ''
|
|
876
|
+
*/ _define_property(this, "amount", void 0);
|
|
877
|
+
/**
|
|
878
|
+
* 货币值
|
|
879
|
+
* @defaultValue 'CNY'
|
|
880
|
+
*/ _define_property(this, "currency", void 0);
|
|
568
881
|
var _props_amount;
|
|
569
882
|
this.amount = (_props_amount = props === null || props === void 0 ? void 0 : props.amount) !== null && _props_amount !== void 0 ? _props_amount : "";
|
|
570
883
|
var _props_currency;
|
|
571
884
|
this.currency = (_props_currency = props === null || props === void 0 ? void 0 : props.currency) !== null && _props_currency !== void 0 ? _props_currency : AMOUNT_TYPE.CNY;
|
|
572
885
|
};
|
|
573
|
-
|
|
886
|
+
/**
|
|
887
|
+
* 日期区间数据绑定项
|
|
888
|
+
* @public
|
|
889
|
+
*/ export var RangeDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
574
890
|
"use strict";
|
|
575
891
|
_inherits(RangeDataBind, ObjectDataBind);
|
|
576
|
-
var _super =
|
|
892
|
+
var _super = _create_super(RangeDataBind);
|
|
577
893
|
function RangeDataBind(props) {
|
|
578
|
-
|
|
894
|
+
_class_call_check(this, RangeDataBind);
|
|
579
895
|
var _this;
|
|
580
896
|
_this = _super.call(this);
|
|
897
|
+
/**
|
|
898
|
+
* 开始日期字段绑定项
|
|
899
|
+
*/ _define_property(_assert_this_initialized(_this), "min", void 0);
|
|
900
|
+
/**
|
|
901
|
+
* 结束日期字段绑定项
|
|
902
|
+
*/ _define_property(_assert_this_initialized(_this), "max", void 0);
|
|
581
903
|
_this.min = new DataBind(props === null || props === void 0 ? void 0 : props.min);
|
|
582
904
|
_this.max = new DataBind(props === null || props === void 0 ? void 0 : props.max);
|
|
583
905
|
return _this;
|
|
584
906
|
}
|
|
585
907
|
return RangeDataBind;
|
|
586
908
|
}(ObjectDataBind);
|
|
587
|
-
|
|
909
|
+
/**
|
|
910
|
+
* 日期区间值
|
|
911
|
+
* @public
|
|
912
|
+
*/ export var RangeDateValue = function RangeDateValue(props) {
|
|
588
913
|
"use strict";
|
|
589
|
-
|
|
914
|
+
_class_call_check(this, RangeDateValue);
|
|
915
|
+
/**
|
|
916
|
+
* 开始日期值
|
|
917
|
+
* @defaultValue ''
|
|
918
|
+
*/ _define_property(this, "min", void 0);
|
|
919
|
+
/**
|
|
920
|
+
* 结束日期值
|
|
921
|
+
* @defaultValue ''
|
|
922
|
+
*/ _define_property(this, "max", void 0);
|
|
590
923
|
var _props_min;
|
|
591
924
|
this.min = (_props_min = props === null || props === void 0 ? void 0 : props.min) !== null && _props_min !== void 0 ? _props_min : "";
|
|
592
925
|
var _props_max;
|
|
593
926
|
this.max = (_props_max = props === null || props === void 0 ? void 0 : props.max) !== null && _props_max !== void 0 ? _props_max : "";
|
|
594
927
|
};
|
|
595
|
-
|
|
928
|
+
/**
|
|
929
|
+
* 地址值
|
|
930
|
+
* @public
|
|
931
|
+
*/ export var AddressValue = function AddressValue(props) {
|
|
596
932
|
"use strict";
|
|
597
|
-
|
|
933
|
+
_class_call_check(this, AddressValue);
|
|
934
|
+
/**
|
|
935
|
+
* 市编码
|
|
936
|
+
* @defaultValue ''
|
|
937
|
+
*/ _define_property(this, "city", void 0);
|
|
938
|
+
/**
|
|
939
|
+
* 市显示文字
|
|
940
|
+
* @defaultValue ''
|
|
941
|
+
*/ _define_property(this, "cityDisplay", void 0);
|
|
942
|
+
/**
|
|
943
|
+
* 区编码
|
|
944
|
+
* @defaultValue ''
|
|
945
|
+
*/ _define_property(this, "district", void 0);
|
|
946
|
+
/**
|
|
947
|
+
* 区显示文字
|
|
948
|
+
* @defaultValue ''
|
|
949
|
+
*/ _define_property(this, "districtDisplay", void 0);
|
|
950
|
+
/**
|
|
951
|
+
* 省编码
|
|
952
|
+
* @defaultValue ''
|
|
953
|
+
*/ _define_property(this, "province", void 0);
|
|
954
|
+
/**
|
|
955
|
+
* 省显示文字
|
|
956
|
+
* @defaultValue ''
|
|
957
|
+
*/ _define_property(this, "provinceDisplay", void 0);
|
|
598
958
|
var _props_city;
|
|
599
959
|
this.city = (_props_city = props === null || props === void 0 ? void 0 : props.city) !== null && _props_city !== void 0 ? _props_city : "";
|
|
600
960
|
var _props_cityDisplay;
|
|
@@ -608,23 +968,43 @@ export var AddressValue = function AddressValue(props) {
|
|
|
608
968
|
var _props_provinceDisplay;
|
|
609
969
|
this.provinceDisplay = (_props_provinceDisplay = props === null || props === void 0 ? void 0 : props.provinceDisplay) !== null && _props_provinceDisplay !== void 0 ? _props_provinceDisplay : "";
|
|
610
970
|
};
|
|
611
|
-
|
|
971
|
+
/**
|
|
972
|
+
* 计算公式数据绑定项
|
|
973
|
+
* @public
|
|
974
|
+
*/ export var CalcDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
612
975
|
"use strict";
|
|
613
976
|
_inherits(CalcDataBind, ObjectDataBind);
|
|
614
|
-
var _super =
|
|
977
|
+
var _super = _create_super(CalcDataBind);
|
|
615
978
|
function CalcDataBind(props) {
|
|
616
|
-
|
|
979
|
+
_class_call_check(this, CalcDataBind);
|
|
617
980
|
var _this;
|
|
618
981
|
_this = _super.call(this);
|
|
982
|
+
/**
|
|
983
|
+
* 计算结果字段绑定项
|
|
984
|
+
*/ _define_property(_assert_this_initialized(_this), "result", void 0);
|
|
985
|
+
/**
|
|
986
|
+
* 单位字段绑定项
|
|
987
|
+
*/ _define_property(_assert_this_initialized(_this), "unit", void 0);
|
|
619
988
|
_this.result = new DataBind(props === null || props === void 0 ? void 0 : props.result);
|
|
620
989
|
_this.unit = new DataBind(props === null || props === void 0 ? void 0 : props.unit);
|
|
621
990
|
return _this;
|
|
622
991
|
}
|
|
623
992
|
return CalcDataBind;
|
|
624
993
|
}(ObjectDataBind);
|
|
625
|
-
|
|
994
|
+
/**
|
|
995
|
+
* 计算公式值
|
|
996
|
+
* @public
|
|
997
|
+
*/ export var CalcValue = function CalcValue(props) {
|
|
626
998
|
"use strict";
|
|
627
|
-
|
|
999
|
+
_class_call_check(this, CalcValue);
|
|
1000
|
+
/**
|
|
1001
|
+
* 计算结果值
|
|
1002
|
+
* @defaultValue 0
|
|
1003
|
+
*/ _define_property(this, "result", void 0);
|
|
1004
|
+
/**
|
|
1005
|
+
* 单位
|
|
1006
|
+
* @defaultValue ''
|
|
1007
|
+
*/ _define_property(this, "unit", void 0);
|
|
628
1008
|
var _props_result;
|
|
629
1009
|
this.result = (_props_result = props === null || props === void 0 ? void 0 : props.result) !== null && _props_result !== void 0 ? _props_result : 0;
|
|
630
1010
|
var _props_unit;
|
|
@@ -702,7 +1082,33 @@ export var PAGE_STATUS;
|
|
|
702
1082
|
* @public
|
|
703
1083
|
*/ export var OperationItem = function OperationItem(props) {
|
|
704
1084
|
"use strict";
|
|
705
|
-
|
|
1085
|
+
_class_call_check(this, OperationItem);
|
|
1086
|
+
/**
|
|
1087
|
+
* 是否显示
|
|
1088
|
+
* @defaultValue true
|
|
1089
|
+
* @public
|
|
1090
|
+
*/ _define_property(this, "isShow", void 0);
|
|
1091
|
+
/**
|
|
1092
|
+
* 优先访问流程表单
|
|
1093
|
+
* @defaultValue false
|
|
1094
|
+
* @public
|
|
1095
|
+
*/ _define_property(this, "priorityProcess", void 0);
|
|
1096
|
+
/**
|
|
1097
|
+
* 表单ID
|
|
1098
|
+
* @defaultValue ''
|
|
1099
|
+
* @public
|
|
1100
|
+
*/ _define_property(this, "formKey", void 0);
|
|
1101
|
+
/**
|
|
1102
|
+
* 显示文字
|
|
1103
|
+
* @defaultValue ''
|
|
1104
|
+
* @public
|
|
1105
|
+
*/ _define_property(this, "content", void 0);
|
|
1106
|
+
/**
|
|
1107
|
+
* 打开方式
|
|
1108
|
+
* @defaultValue 'modal'
|
|
1109
|
+
* @public
|
|
1110
|
+
*/ _define_property(this, "openType", void 0);
|
|
1111
|
+
_define_property(this, "type", void 0);
|
|
706
1112
|
var _props_isShow;
|
|
707
1113
|
this.isShow = (_props_isShow = props === null || props === void 0 ? void 0 : props.isShow) !== null && _props_isShow !== void 0 ? _props_isShow : true;
|
|
708
1114
|
var _props_content;
|
|
@@ -718,8 +1124,12 @@ export var PAGE_STATUS;
|
|
|
718
1124
|
};
|
|
719
1125
|
export var ViewOperationItem = function ViewOperationItem(props) {
|
|
720
1126
|
"use strict";
|
|
721
|
-
|
|
1127
|
+
_class_call_check(this, ViewOperationItem);
|
|
722
1128
|
var _props_headers;
|
|
1129
|
+
_define_property(this, "id", void 0);
|
|
1130
|
+
_define_property(this, "title", void 0);
|
|
1131
|
+
_define_property(this, "filters", void 0);
|
|
1132
|
+
_define_property(this, "headers", void 0);
|
|
723
1133
|
var _props_id;
|
|
724
1134
|
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId(8);
|
|
725
1135
|
var _props_title;
|
|
@@ -734,7 +1144,13 @@ export var ViewOperationItem = function ViewOperationItem(props) {
|
|
|
734
1144
|
* 自定义权限项,用于Vue容器上,注册自定义的权限
|
|
735
1145
|
*/ export var CustomPermissionItem = function CustomPermissionItem(props) {
|
|
736
1146
|
"use strict";
|
|
737
|
-
|
|
1147
|
+
_class_call_check(this, CustomPermissionItem);
|
|
1148
|
+
/**
|
|
1149
|
+
* 人工输入的权限key
|
|
1150
|
+
*/ _define_property(this, "key", void 0);
|
|
1151
|
+
/**
|
|
1152
|
+
* 权限名称
|
|
1153
|
+
*/ _define_property(this, "caption", void 0);
|
|
738
1154
|
var _props_key;
|
|
739
1155
|
this.key = (_props_key = props.key) !== null && _props_key !== void 0 ? _props_key : genNonDuplicateId(8);
|
|
740
1156
|
var _props_caption;
|
|
@@ -742,7 +1158,11 @@ export var ViewOperationItem = function ViewOperationItem(props) {
|
|
|
742
1158
|
};
|
|
743
1159
|
export var BaseStyle = function BaseStyle(props) {
|
|
744
1160
|
"use strict";
|
|
745
|
-
|
|
1161
|
+
_class_call_check(this, BaseStyle);
|
|
1162
|
+
_define_property(this, "width", void 0);
|
|
1163
|
+
_define_property(this, "height", void 0);
|
|
1164
|
+
_define_property(this, "widthConfig", void 0);
|
|
1165
|
+
_define_property(this, "heightConfig", void 0);
|
|
746
1166
|
var _props_width;
|
|
747
1167
|
this.width = (_props_width = props === null || props === void 0 ? void 0 : props.width) !== null && _props_width !== void 0 ? _props_width : "";
|
|
748
1168
|
var _props_height;
|