@byteluck-fe/model-driven-core 2.3.1 → 2.3.12
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 +57 -57
- package/dist/esm/common/BaseControl/property.js +55 -55
- 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 +12 -12
- package/dist/esm/common/FormControl/designer.js +27 -27
- package/dist/esm/common/FormControl/property.js +57 -55
- 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 +12 -12
- package/dist/esm/framework/index.js +372 -223
- 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 +2 -2
|
@@ -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,22 +186,28 @@ 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;
|
|
198
198
|
}
|
|
199
199
|
return FormSelectBind;
|
|
200
200
|
}(FormBind);
|
|
201
|
-
|
|
201
|
+
/**
|
|
202
|
+
* 列表绑定字段项
|
|
203
|
+
* @public
|
|
204
|
+
*/ var ListBindHeaderItem = function ListBindHeaderItem(props) {
|
|
202
205
|
"use strict";
|
|
203
|
-
|
|
204
|
-
|
|
206
|
+
_class_call_check(this, ListBindHeaderItem);
|
|
207
|
+
/**
|
|
208
|
+
* 字段
|
|
209
|
+
* @defaultValue ''
|
|
210
|
+
*/ _define_property(this, "fieldCode", void 0);
|
|
205
211
|
var _props_fieldCode;
|
|
206
212
|
this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : "";
|
|
207
213
|
};
|
|
@@ -209,20 +215,20 @@ var ListBindHeaderItem = function ListBindHeaderItem(props) {
|
|
|
209
215
|
* 列表绑定配置
|
|
210
216
|
*/ export var ListBind = function ListBind(props) {
|
|
211
217
|
"use strict";
|
|
212
|
-
|
|
218
|
+
_class_call_check(this, ListBind);
|
|
213
219
|
var _props_headers;
|
|
214
220
|
/**
|
|
215
221
|
* 应用ID
|
|
216
222
|
* @public
|
|
217
|
-
*/
|
|
223
|
+
*/ _define_property(this, "appId", void 0);
|
|
218
224
|
/**
|
|
219
225
|
* 表单ID
|
|
220
226
|
* @public
|
|
221
|
-
*/
|
|
227
|
+
*/ _define_property(this, "formKey", void 0);
|
|
222
228
|
/**
|
|
223
229
|
* 显示字段
|
|
224
230
|
* @public
|
|
225
|
-
*/
|
|
231
|
+
*/ _define_property(this, "headers", void 0);
|
|
226
232
|
var _props_appId;
|
|
227
233
|
this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : "";
|
|
228
234
|
var _props_formKey;
|
|
@@ -234,10 +240,10 @@ var ListBindHeaderItem = function ListBindHeaderItem(props) {
|
|
|
234
240
|
};
|
|
235
241
|
export var FieldBindItem = function FieldBindItem(props) {
|
|
236
242
|
"use strict";
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
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);
|
|
241
247
|
var _props_fieldName;
|
|
242
248
|
this.fieldName = (_props_fieldName = props === null || props === void 0 ? void 0 : props.fieldName) !== null && _props_fieldName !== void 0 ? _props_fieldName : "";
|
|
243
249
|
var _props_fieldCode;
|
|
@@ -248,15 +254,15 @@ export var FieldBindItem = function FieldBindItem(props) {
|
|
|
248
254
|
export var SubListItem = /*#__PURE__*/ function(FormBind) {
|
|
249
255
|
"use strict";
|
|
250
256
|
_inherits(SubListItem, FormBind);
|
|
251
|
-
var _super =
|
|
257
|
+
var _super = _create_super(SubListItem);
|
|
252
258
|
function SubListItem(props) {
|
|
253
|
-
|
|
259
|
+
_class_call_check(this, SubListItem);
|
|
254
260
|
var _this;
|
|
255
261
|
_this = _super.call(this, props);
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
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);
|
|
260
266
|
var _props_title;
|
|
261
267
|
_this.title = (_props_title = props === null || props === void 0 ? void 0 : props.title) !== null && _props_title !== void 0 ? _props_title : "";
|
|
262
268
|
var _props_svcCode;
|
|
@@ -271,12 +277,12 @@ export var SubListItem = /*#__PURE__*/ function(FormBind) {
|
|
|
271
277
|
}(FormBind);
|
|
272
278
|
export var SubListPageConfig = function SubListPageConfig(props) {
|
|
273
279
|
"use strict";
|
|
274
|
-
|
|
280
|
+
_class_call_check(this, SubListPageConfig);
|
|
275
281
|
var _props_displayFields, _props_sublists;
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
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);
|
|
280
286
|
this.formBind = new FormBind(props === null || props === void 0 ? void 0 : props.formBind);
|
|
281
287
|
var _props_displayFields_map;
|
|
282
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) {
|
|
@@ -289,18 +295,18 @@ export var SubListPageConfig = function SubListPageConfig(props) {
|
|
|
289
295
|
};
|
|
290
296
|
export var LeftVariable = function LeftVariable(props) {
|
|
291
297
|
"use strict";
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
298
|
+
_class_call_check(this, LeftVariable);
|
|
299
|
+
_define_property(this, "type", void 0);
|
|
300
|
+
_define_property(this, "value", void 0);
|
|
295
301
|
this.type = props === null || props === void 0 ? void 0 : props.type;
|
|
296
302
|
this.value = props === null || props === void 0 ? void 0 : props.value;
|
|
297
303
|
};
|
|
298
304
|
export var RightVariable = function RightVariable(props) {
|
|
299
305
|
"use strict";
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
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);
|
|
304
310
|
var _props_type;
|
|
305
311
|
this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "custom";
|
|
306
312
|
var _props_value;
|
|
@@ -308,16 +314,37 @@ export var RightVariable = function RightVariable(props) {
|
|
|
308
314
|
var _props_displayBos;
|
|
309
315
|
this.displayBos = (_props_displayBos = props === null || props === void 0 ? void 0 : props.displayBos) !== null && _props_displayBos !== void 0 ? _props_displayBos : [];
|
|
310
316
|
};
|
|
311
|
-
|
|
317
|
+
/**
|
|
318
|
+
* 连接符条件
|
|
319
|
+
* @public
|
|
320
|
+
*/ export var FieldFilterConditions = function FieldFilterConditions(props) {
|
|
312
321
|
"use strict";
|
|
313
322
|
var _this = this;
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
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);
|
|
321
348
|
var _props_id;
|
|
322
349
|
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId();
|
|
323
350
|
var _props_ruleId;
|
|
@@ -341,17 +368,35 @@ export var FieldFilterConditions = function FieldFilterConditions(props) {
|
|
|
341
368
|
});
|
|
342
369
|
}
|
|
343
370
|
};
|
|
344
|
-
|
|
371
|
+
/**
|
|
372
|
+
* 字段过滤条件
|
|
373
|
+
* @public
|
|
374
|
+
*/ export var FieldFilterCondition = function FieldFilterCondition(props) {
|
|
345
375
|
"use strict";
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
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);
|
|
355
400
|
var _props_id;
|
|
356
401
|
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId();
|
|
357
402
|
var _props_ruleId;
|
|
@@ -370,27 +415,27 @@ export var FieldFilterCondition = function FieldFilterCondition(props) {
|
|
|
370
415
|
* @public
|
|
371
416
|
*/ export var MultistageFillingItem = function MultistageFillingItem(props) {
|
|
372
417
|
"use strict";
|
|
373
|
-
|
|
418
|
+
_class_call_check(this, MultistageFillingItem);
|
|
374
419
|
/**
|
|
375
420
|
* 控件ID
|
|
376
421
|
* @defaultValue ''
|
|
377
422
|
* @public
|
|
378
|
-
*/
|
|
423
|
+
*/ _define_property(this, "controlId", void 0);
|
|
379
424
|
/**
|
|
380
425
|
* 字段
|
|
381
426
|
* @defaultValue ''
|
|
382
427
|
* @public
|
|
383
|
-
*/
|
|
428
|
+
*/ _define_property(this, "fieldCode", void 0);
|
|
384
429
|
/**
|
|
385
430
|
* 字段类型。事件在填充时,需要根据数据类型进行判断处理动作。
|
|
386
431
|
* @defaultValue ''
|
|
387
432
|
* @public
|
|
388
|
-
*/
|
|
433
|
+
*/ _define_property(this, "fieldType", void 0);
|
|
389
434
|
/**
|
|
390
435
|
* 属性名称。如果是ObjectDataBind的控件,可以指定填充到哪个数据项。
|
|
391
436
|
* @defaultValue ''
|
|
392
437
|
* @public
|
|
393
|
-
* */
|
|
438
|
+
* */ _define_property(this, "propName", void 0);
|
|
394
439
|
var _props_controlId;
|
|
395
440
|
this.controlId = (_props_controlId = props === null || props === void 0 ? void 0 : props.controlId) !== null && _props_controlId !== void 0 ? _props_controlId : "";
|
|
396
441
|
var _props_fieldCode;
|
|
@@ -400,23 +445,43 @@ export var FieldFilterCondition = function FieldFilterCondition(props) {
|
|
|
400
445
|
var _props_propName;
|
|
401
446
|
this.propName = (_props_propName = props === null || props === void 0 ? void 0 : props.propName) !== null && _props_propName !== void 0 ? _props_propName : "";
|
|
402
447
|
};
|
|
403
|
-
|
|
448
|
+
/**
|
|
449
|
+
* 显示项
|
|
450
|
+
* @public
|
|
451
|
+
*/ export var DisplayBoListItem = function DisplayBoListItem(props) {
|
|
404
452
|
"use strict";
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
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);
|
|
409
465
|
var _props_type;
|
|
410
466
|
this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "FIELD";
|
|
411
467
|
var _props_value;
|
|
412
468
|
this.value = (_props_value = props === null || props === void 0 ? void 0 : props.value) !== null && _props_value !== void 0 ? _props_value : "";
|
|
413
469
|
this.fieldType = props === null || props === void 0 ? void 0 : props.fieldType;
|
|
414
470
|
};
|
|
415
|
-
|
|
471
|
+
/**
|
|
472
|
+
* 数据源排序项
|
|
473
|
+
* @public
|
|
474
|
+
*/ export var DataSourceOrderItem = function DataSourceOrderItem(props) {
|
|
416
475
|
"use strict";
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
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);
|
|
420
485
|
var _props_columnName;
|
|
421
486
|
this.columnName = (_props_columnName = props.columnName) !== null && _props_columnName !== void 0 ? _props_columnName : "";
|
|
422
487
|
var _props_desc;
|
|
@@ -424,13 +489,13 @@ export var DataSourceOrderItem = function DataSourceOrderItem(props) {
|
|
|
424
489
|
};
|
|
425
490
|
export var DataSourceDataSetValue = function DataSourceDataSetValue(props) {
|
|
426
491
|
"use strict";
|
|
427
|
-
|
|
492
|
+
_class_call_check(this, DataSourceDataSetValue);
|
|
428
493
|
// fieldCode
|
|
429
|
-
|
|
494
|
+
_define_property(this, "code", void 0);
|
|
430
495
|
// 值
|
|
431
|
-
|
|
496
|
+
_define_property(this, "value", void 0);
|
|
432
497
|
// 数据类型
|
|
433
|
-
|
|
498
|
+
_define_property(this, "field_type", void 0);
|
|
434
499
|
var _props_code;
|
|
435
500
|
this.code = (_props_code = props.code) !== null && _props_code !== void 0 ? _props_code : "";
|
|
436
501
|
var _props_value;
|
|
@@ -440,15 +505,15 @@ export var DataSourceDataSetValue = function DataSourceDataSetValue(props) {
|
|
|
440
505
|
};
|
|
441
506
|
export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
442
507
|
"use strict";
|
|
443
|
-
|
|
508
|
+
_class_call_check(this, DataSourceParamItem);
|
|
444
509
|
var _props_orders, _props_dataSet;
|
|
445
510
|
/**
|
|
446
511
|
* 字段ID
|
|
447
|
-
*/
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
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);
|
|
452
517
|
var _props_id;
|
|
453
518
|
//字段ID,不可以当作随机数生成唯一编号
|
|
454
519
|
this.id = (_props_id = props.id) !== null && _props_id !== void 0 ? _props_id : "";
|
|
@@ -490,48 +555,48 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
|
490
555
|
*/ export var DataSourceBind = function DataSourceBind(props) {
|
|
491
556
|
"use strict";
|
|
492
557
|
var _this = this;
|
|
493
|
-
|
|
558
|
+
_class_call_check(this, DataSourceBind);
|
|
494
559
|
/**
|
|
495
560
|
* 绑定数据源id
|
|
496
561
|
* @defaultValue ''
|
|
497
562
|
* @public
|
|
498
|
-
*/
|
|
563
|
+
*/ _define_property(this, "dataCode", void 0);
|
|
499
564
|
/**
|
|
500
565
|
* 存储值
|
|
501
566
|
* @defaultValue ''
|
|
502
567
|
* @public
|
|
503
|
-
*/
|
|
568
|
+
*/ _define_property(this, "valueFieldCode", void 0);
|
|
504
569
|
/**
|
|
505
570
|
* 显示值
|
|
506
571
|
* @defaultValue []
|
|
507
572
|
* @public
|
|
508
|
-
*/
|
|
573
|
+
*/ _define_property(this, "displayBoList", void 0);
|
|
509
574
|
/**
|
|
510
575
|
* 绑定服务
|
|
511
576
|
* @defaultValue ''
|
|
512
577
|
* @public
|
|
513
|
-
*/
|
|
578
|
+
*/ _define_property(this, "svcCode", void 0);
|
|
514
579
|
/**
|
|
515
580
|
* 应用Id
|
|
516
581
|
* @defaultValue ''
|
|
517
582
|
* @public
|
|
518
|
-
*/
|
|
583
|
+
*/ _define_property(this, "appId", void 0);
|
|
519
584
|
/**
|
|
520
585
|
* 过滤条件
|
|
521
586
|
* @defaultValue []
|
|
522
587
|
* @public
|
|
523
|
-
*/
|
|
588
|
+
*/ _define_property(this, "filters", void 0);
|
|
524
589
|
// 过滤
|
|
525
590
|
/**
|
|
526
591
|
* 排序
|
|
527
592
|
* @defaultValue []
|
|
528
593
|
* @public
|
|
529
|
-
*/
|
|
594
|
+
*/ _define_property(this, "orders", void 0);
|
|
530
595
|
/**
|
|
531
596
|
* 显示排序
|
|
532
597
|
* @defaultValue true
|
|
533
598
|
* @public
|
|
534
|
-
*/
|
|
599
|
+
*/ _define_property(this, "showOrder", void 0);
|
|
535
600
|
var _props_dataCode;
|
|
536
601
|
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
|
|
537
602
|
var _props_appId;
|
|
@@ -553,11 +618,11 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
|
553
618
|
};
|
|
554
619
|
export var CustomAttributeItem = function CustomAttributeItem(props) {
|
|
555
620
|
"use strict";
|
|
556
|
-
|
|
621
|
+
_class_call_check(this, CustomAttributeItem);
|
|
557
622
|
var _props_value;
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
623
|
+
_define_property(this, "name", void 0);
|
|
624
|
+
_define_property(this, "key", void 0);
|
|
625
|
+
_define_property(this, "value", void 0);
|
|
561
626
|
var _props_name;
|
|
562
627
|
this.name = (_props_name = props === null || props === void 0 ? void 0 : props.name) !== null && _props_name !== void 0 ? _props_name : "";
|
|
563
628
|
var _props_key;
|
|
@@ -570,13 +635,13 @@ export var CustomAttributeItem = function CustomAttributeItem(props) {
|
|
|
570
635
|
export var SuperDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
571
636
|
"use strict";
|
|
572
637
|
_inherits(SuperDataSourceBind, DataSourceBind);
|
|
573
|
-
var _super =
|
|
638
|
+
var _super = _create_super(SuperDataSourceBind);
|
|
574
639
|
function SuperDataSourceBind(props) {
|
|
575
|
-
|
|
640
|
+
_class_call_check(this, SuperDataSourceBind);
|
|
576
641
|
var _this;
|
|
577
642
|
var _props_attributes;
|
|
578
643
|
_this = _super.call(this, props);
|
|
579
|
-
|
|
644
|
+
_define_property(_assert_this_initialized(_this), "attributes", void 0);
|
|
580
645
|
var _props_attributes_map;
|
|
581
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) {
|
|
582
647
|
return new CustomAttributeItem(item);
|
|
@@ -588,12 +653,12 @@ export var SuperDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
|
588
653
|
export var TreeDataSourceBind = /*#__PURE__*/ function(SuperDataSourceBind) {
|
|
589
654
|
"use strict";
|
|
590
655
|
_inherits(TreeDataSourceBind, SuperDataSourceBind);
|
|
591
|
-
var _super =
|
|
656
|
+
var _super = _create_super(TreeDataSourceBind);
|
|
592
657
|
function TreeDataSourceBind(props) {
|
|
593
|
-
|
|
658
|
+
_class_call_check(this, TreeDataSourceBind);
|
|
594
659
|
var _this;
|
|
595
660
|
_this = _super.call(this, props);
|
|
596
|
-
|
|
661
|
+
_define_property(_assert_this_initialized(_this), "rootNode", void 0);
|
|
597
662
|
_this.rootNode = new RightVariable(props === null || props === void 0 ? void 0 : props.rootNode);
|
|
598
663
|
return _this;
|
|
599
664
|
}
|
|
@@ -601,17 +666,17 @@ export var TreeDataSourceBind = /*#__PURE__*/ function(SuperDataSourceBind) {
|
|
|
601
666
|
}(SuperDataSourceBind);
|
|
602
667
|
var FillBind = function FillBind(props) {
|
|
603
668
|
"use strict";
|
|
604
|
-
|
|
669
|
+
_class_call_check(this, FillBind);
|
|
605
670
|
var _props_fillList;
|
|
606
671
|
/*
|
|
607
672
|
* 需要被填充的数据源
|
|
608
|
-
* */
|
|
673
|
+
* */ _define_property(this, "dataCode", void 0);
|
|
609
674
|
/*
|
|
610
675
|
* appId
|
|
611
|
-
* */
|
|
676
|
+
* */ _define_property(this, "appId", void 0);
|
|
612
677
|
/*
|
|
613
678
|
* 执行填充的数据项和控件
|
|
614
|
-
* */
|
|
679
|
+
* */ _define_property(this, "fillList", void 0);
|
|
615
680
|
var _props_dataCode;
|
|
616
681
|
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
|
|
617
682
|
var _props_appId;
|
|
@@ -628,22 +693,22 @@ var FillBind = function FillBind(props) {
|
|
|
628
693
|
* */ export var FillPayloadBind = /*#__PURE__*/ function(FillBind) {
|
|
629
694
|
"use strict";
|
|
630
695
|
_inherits(FillPayloadBind, FillBind);
|
|
631
|
-
var _super =
|
|
696
|
+
var _super = _create_super(FillPayloadBind);
|
|
632
697
|
function FillPayloadBind(props) {
|
|
633
|
-
|
|
698
|
+
_class_call_check(this, FillPayloadBind);
|
|
634
699
|
var _this;
|
|
635
700
|
_this = _super.call(this, props);
|
|
636
701
|
/**
|
|
637
702
|
* 数据源过滤条件
|
|
638
703
|
* @defaultValue []
|
|
639
704
|
* @public
|
|
640
|
-
**/
|
|
705
|
+
**/ _define_property(_assert_this_initialized(_this), "filters", void 0);
|
|
641
706
|
/**
|
|
642
707
|
* 数据源排序条件
|
|
643
708
|
* @defaultValue []
|
|
644
709
|
* @public
|
|
645
|
-
**/
|
|
646
|
-
callFiltersAndOrders.call(
|
|
710
|
+
**/ _define_property(_assert_this_initialized(_this), "orders", void 0);
|
|
711
|
+
callFiltersAndOrders.call(_assert_this_initialized(_this), props);
|
|
647
712
|
return _this;
|
|
648
713
|
}
|
|
649
714
|
return FillPayloadBind;
|
|
@@ -654,21 +719,21 @@ var FillBind = function FillBind(props) {
|
|
|
654
719
|
*/ export var FillBackBind = /*#__PURE__*/ function(FillBind) {
|
|
655
720
|
"use strict";
|
|
656
721
|
_inherits(FillBackBind, FillBind);
|
|
657
|
-
var _super =
|
|
722
|
+
var _super = _create_super(FillBackBind);
|
|
658
723
|
function FillBackBind(props) {
|
|
659
|
-
|
|
724
|
+
_class_call_check(this, FillBackBind);
|
|
660
725
|
var _this;
|
|
661
726
|
_this = _super.call(this, props);
|
|
662
727
|
/**
|
|
663
728
|
* 回填模式。current 当前表(根据按钮所在位置来区分,而不是通过主表和子表来区分)| subtable 子表
|
|
664
729
|
* @defaultValue 'current'
|
|
665
730
|
* @public
|
|
666
|
-
* */
|
|
731
|
+
* */ _define_property(_assert_this_initialized(_this), "mode", void 0);
|
|
667
732
|
/**
|
|
668
733
|
* 多选
|
|
669
734
|
* @defaultValue false
|
|
670
735
|
* @public
|
|
671
|
-
*/
|
|
736
|
+
*/ _define_property(_assert_this_initialized(_this), "multiple", void 0);
|
|
672
737
|
var _props_mode;
|
|
673
738
|
_this.mode = (_props_mode = props === null || props === void 0 ? void 0 : props.mode) !== null && _props_mode !== void 0 ? _props_mode : "current";
|
|
674
739
|
var _props_multiple;
|
|
@@ -679,10 +744,10 @@ var FillBind = function FillBind(props) {
|
|
|
679
744
|
}(FillBind);
|
|
680
745
|
export var Language = function Language(props) {
|
|
681
746
|
"use strict";
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
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);
|
|
686
751
|
var _props_zh;
|
|
687
752
|
this.zh = (_props_zh = props === null || props === void 0 ? void 0 : props.zh) !== null && _props_zh !== void 0 ? _props_zh : "";
|
|
688
753
|
var _props_en;
|
|
@@ -690,12 +755,24 @@ export var Language = function Language(props) {
|
|
|
690
755
|
var _props_ja;
|
|
691
756
|
this.ja = (_props_ja = props === null || props === void 0 ? void 0 : props.ja) !== null && _props_ja !== void 0 ? _props_ja : "";
|
|
692
757
|
};
|
|
693
|
-
|
|
758
|
+
/**
|
|
759
|
+
* 正则校验
|
|
760
|
+
* @public
|
|
761
|
+
*/ export var RegularRules = function RegularRules(props) {
|
|
694
762
|
"use strict";
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
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);
|
|
699
776
|
var _props_stencilName;
|
|
700
777
|
this.stencilName = (_props_stencilName = props === null || props === void 0 ? void 0 : props.stencilName) !== null && _props_stencilName !== void 0 ? _props_stencilName : "";
|
|
701
778
|
var _props_expression;
|
|
@@ -708,18 +785,18 @@ export var RegularRules = function RegularRules(props) {
|
|
|
708
785
|
* @public
|
|
709
786
|
*/ export var OptionSetting = function OptionSetting(props) {
|
|
710
787
|
"use strict";
|
|
711
|
-
|
|
712
|
-
|
|
788
|
+
_class_call_check(this, OptionSetting);
|
|
789
|
+
_define_property(this, "id", void 0);
|
|
713
790
|
/**
|
|
714
791
|
* 显示值
|
|
715
792
|
* @defaultValue ''
|
|
716
793
|
* @public
|
|
717
|
-
*/
|
|
794
|
+
*/ _define_property(this, "label", void 0);
|
|
718
795
|
/**
|
|
719
796
|
* 选项ID
|
|
720
797
|
* @defaultValue this.label
|
|
721
798
|
* @public
|
|
722
|
-
*/
|
|
799
|
+
*/ _define_property(this, "value", void 0);
|
|
723
800
|
var _props_id;
|
|
724
801
|
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId(8);
|
|
725
802
|
var _props_label;
|
|
@@ -730,13 +807,13 @@ export var RegularRules = function RegularRules(props) {
|
|
|
730
807
|
export var ImageOptionSetting = /*#__PURE__*/ function(OptionSetting) {
|
|
731
808
|
"use strict";
|
|
732
809
|
_inherits(ImageOptionSetting, OptionSetting);
|
|
733
|
-
var _super =
|
|
810
|
+
var _super = _create_super(ImageOptionSetting);
|
|
734
811
|
function ImageOptionSetting(props) {
|
|
735
|
-
|
|
812
|
+
_class_call_check(this, ImageOptionSetting);
|
|
736
813
|
var _this;
|
|
737
814
|
_this = _super.call(this, props);
|
|
738
|
-
|
|
739
|
-
|
|
815
|
+
_define_property(_assert_this_initialized(_this), "image", void 0);
|
|
816
|
+
_define_property(_assert_this_initialized(_this), "type", void 0);
|
|
740
817
|
var _props_image;
|
|
741
818
|
_this.image = (_props_image = props === null || props === void 0 ? void 0 : props.image) !== null && _props_image !== void 0 ? _props_image : "";
|
|
742
819
|
var _props_type;
|
|
@@ -757,71 +834,127 @@ export function initImageOptions(options) {
|
|
|
757
834
|
return new ImageOptionSetting(item);
|
|
758
835
|
})) !== null && _options_map !== void 0 ? _options_map : [];
|
|
759
836
|
}
|
|
760
|
-
|
|
837
|
+
/**
|
|
838
|
+
* 对象类型数据绑定配置
|
|
839
|
+
* @public
|
|
840
|
+
*/ export var ObjectDataBind = function ObjectDataBind() {
|
|
761
841
|
"use strict";
|
|
762
|
-
|
|
842
|
+
_class_call_check(this, ObjectDataBind);
|
|
763
843
|
};
|
|
764
|
-
|
|
844
|
+
/**
|
|
845
|
+
* 金额控件数据绑定配置
|
|
846
|
+
* @public
|
|
847
|
+
*/ export var AmountDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
765
848
|
"use strict";
|
|
766
849
|
_inherits(AmountDataBind, ObjectDataBind);
|
|
767
|
-
var _super =
|
|
850
|
+
var _super = _create_super(AmountDataBind);
|
|
768
851
|
function AmountDataBind(props) {
|
|
769
|
-
|
|
852
|
+
_class_call_check(this, AmountDataBind);
|
|
770
853
|
var _this;
|
|
771
854
|
_this = _super.call(this);
|
|
772
|
-
|
|
773
|
-
|
|
855
|
+
/**
|
|
856
|
+
* 金额字段绑定配置
|
|
857
|
+
*/ _define_property(_assert_this_initialized(_this), "amount", void 0);
|
|
858
|
+
/**
|
|
859
|
+
* 币种字段绑定配置
|
|
860
|
+
*/ _define_property(_assert_this_initialized(_this), "currency", void 0);
|
|
774
861
|
_this.amount = new DataBind(props === null || props === void 0 ? void 0 : props.amount);
|
|
775
862
|
_this.currency = new DataBind(props === null || props === void 0 ? void 0 : props.currency);
|
|
776
863
|
return _this;
|
|
777
864
|
}
|
|
778
865
|
return AmountDataBind;
|
|
779
866
|
}(ObjectDataBind);
|
|
780
|
-
|
|
867
|
+
/**
|
|
868
|
+
* 金额控件值
|
|
869
|
+
* @public
|
|
870
|
+
*/ export var AmountValue = function AmountValue(props) {
|
|
781
871
|
"use strict";
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
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);
|
|
785
881
|
var _props_amount;
|
|
786
882
|
this.amount = (_props_amount = props === null || props === void 0 ? void 0 : props.amount) !== null && _props_amount !== void 0 ? _props_amount : "";
|
|
787
883
|
var _props_currency;
|
|
788
884
|
this.currency = (_props_currency = props === null || props === void 0 ? void 0 : props.currency) !== null && _props_currency !== void 0 ? _props_currency : AMOUNT_TYPE.CNY;
|
|
789
885
|
};
|
|
790
|
-
|
|
886
|
+
/**
|
|
887
|
+
* 日期区间数据绑定项
|
|
888
|
+
* @public
|
|
889
|
+
*/ export var RangeDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
791
890
|
"use strict";
|
|
792
891
|
_inherits(RangeDataBind, ObjectDataBind);
|
|
793
|
-
var _super =
|
|
892
|
+
var _super = _create_super(RangeDataBind);
|
|
794
893
|
function RangeDataBind(props) {
|
|
795
|
-
|
|
894
|
+
_class_call_check(this, RangeDataBind);
|
|
796
895
|
var _this;
|
|
797
896
|
_this = _super.call(this);
|
|
798
|
-
|
|
799
|
-
|
|
897
|
+
/**
|
|
898
|
+
* 开始日期字段绑定项
|
|
899
|
+
*/ _define_property(_assert_this_initialized(_this), "min", void 0);
|
|
900
|
+
/**
|
|
901
|
+
* 结束日期字段绑定项
|
|
902
|
+
*/ _define_property(_assert_this_initialized(_this), "max", void 0);
|
|
800
903
|
_this.min = new DataBind(props === null || props === void 0 ? void 0 : props.min);
|
|
801
904
|
_this.max = new DataBind(props === null || props === void 0 ? void 0 : props.max);
|
|
802
905
|
return _this;
|
|
803
906
|
}
|
|
804
907
|
return RangeDataBind;
|
|
805
908
|
}(ObjectDataBind);
|
|
806
|
-
|
|
909
|
+
/**
|
|
910
|
+
* 日期区间值
|
|
911
|
+
* @public
|
|
912
|
+
*/ export var RangeDateValue = function RangeDateValue(props) {
|
|
807
913
|
"use strict";
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
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);
|
|
811
923
|
var _props_min;
|
|
812
924
|
this.min = (_props_min = props === null || props === void 0 ? void 0 : props.min) !== null && _props_min !== void 0 ? _props_min : "";
|
|
813
925
|
var _props_max;
|
|
814
926
|
this.max = (_props_max = props === null || props === void 0 ? void 0 : props.max) !== null && _props_max !== void 0 ? _props_max : "";
|
|
815
927
|
};
|
|
816
|
-
|
|
928
|
+
/**
|
|
929
|
+
* 地址值
|
|
930
|
+
* @public
|
|
931
|
+
*/ export var AddressValue = function AddressValue(props) {
|
|
817
932
|
"use strict";
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
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);
|
|
825
958
|
var _props_city;
|
|
826
959
|
this.city = (_props_city = props === null || props === void 0 ? void 0 : props.city) !== null && _props_city !== void 0 ? _props_city : "";
|
|
827
960
|
var _props_cityDisplay;
|
|
@@ -835,27 +968,43 @@ export var AddressValue = function AddressValue(props) {
|
|
|
835
968
|
var _props_provinceDisplay;
|
|
836
969
|
this.provinceDisplay = (_props_provinceDisplay = props === null || props === void 0 ? void 0 : props.provinceDisplay) !== null && _props_provinceDisplay !== void 0 ? _props_provinceDisplay : "";
|
|
837
970
|
};
|
|
838
|
-
|
|
971
|
+
/**
|
|
972
|
+
* 计算公式数据绑定项
|
|
973
|
+
* @public
|
|
974
|
+
*/ export var CalcDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
839
975
|
"use strict";
|
|
840
976
|
_inherits(CalcDataBind, ObjectDataBind);
|
|
841
|
-
var _super =
|
|
977
|
+
var _super = _create_super(CalcDataBind);
|
|
842
978
|
function CalcDataBind(props) {
|
|
843
|
-
|
|
979
|
+
_class_call_check(this, CalcDataBind);
|
|
844
980
|
var _this;
|
|
845
981
|
_this = _super.call(this);
|
|
846
|
-
|
|
847
|
-
|
|
982
|
+
/**
|
|
983
|
+
* 计算结果字段绑定项
|
|
984
|
+
*/ _define_property(_assert_this_initialized(_this), "result", void 0);
|
|
985
|
+
/**
|
|
986
|
+
* 单位字段绑定项
|
|
987
|
+
*/ _define_property(_assert_this_initialized(_this), "unit", void 0);
|
|
848
988
|
_this.result = new DataBind(props === null || props === void 0 ? void 0 : props.result);
|
|
849
989
|
_this.unit = new DataBind(props === null || props === void 0 ? void 0 : props.unit);
|
|
850
990
|
return _this;
|
|
851
991
|
}
|
|
852
992
|
return CalcDataBind;
|
|
853
993
|
}(ObjectDataBind);
|
|
854
|
-
|
|
994
|
+
/**
|
|
995
|
+
* 计算公式值
|
|
996
|
+
* @public
|
|
997
|
+
*/ export var CalcValue = function CalcValue(props) {
|
|
855
998
|
"use strict";
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
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);
|
|
859
1008
|
var _props_result;
|
|
860
1009
|
this.result = (_props_result = props === null || props === void 0 ? void 0 : props.result) !== null && _props_result !== void 0 ? _props_result : 0;
|
|
861
1010
|
var _props_unit;
|
|
@@ -933,33 +1082,33 @@ export var PAGE_STATUS;
|
|
|
933
1082
|
* @public
|
|
934
1083
|
*/ export var OperationItem = function OperationItem(props) {
|
|
935
1084
|
"use strict";
|
|
936
|
-
|
|
1085
|
+
_class_call_check(this, OperationItem);
|
|
937
1086
|
/**
|
|
938
1087
|
* 是否显示
|
|
939
1088
|
* @defaultValue true
|
|
940
1089
|
* @public
|
|
941
|
-
*/
|
|
1090
|
+
*/ _define_property(this, "isShow", void 0);
|
|
942
1091
|
/**
|
|
943
1092
|
* 优先访问流程表单
|
|
944
1093
|
* @defaultValue false
|
|
945
1094
|
* @public
|
|
946
|
-
*/
|
|
1095
|
+
*/ _define_property(this, "priorityProcess", void 0);
|
|
947
1096
|
/**
|
|
948
1097
|
* 表单ID
|
|
949
1098
|
* @defaultValue ''
|
|
950
1099
|
* @public
|
|
951
|
-
*/
|
|
1100
|
+
*/ _define_property(this, "formKey", void 0);
|
|
952
1101
|
/**
|
|
953
1102
|
* 显示文字
|
|
954
1103
|
* @defaultValue ''
|
|
955
1104
|
* @public
|
|
956
|
-
*/
|
|
1105
|
+
*/ _define_property(this, "content", void 0);
|
|
957
1106
|
/**
|
|
958
1107
|
* 打开方式
|
|
959
1108
|
* @defaultValue 'modal'
|
|
960
1109
|
* @public
|
|
961
|
-
*/
|
|
962
|
-
|
|
1110
|
+
*/ _define_property(this, "openType", void 0);
|
|
1111
|
+
_define_property(this, "type", void 0);
|
|
963
1112
|
var _props_isShow;
|
|
964
1113
|
this.isShow = (_props_isShow = props === null || props === void 0 ? void 0 : props.isShow) !== null && _props_isShow !== void 0 ? _props_isShow : true;
|
|
965
1114
|
var _props_content;
|
|
@@ -975,12 +1124,12 @@ export var PAGE_STATUS;
|
|
|
975
1124
|
};
|
|
976
1125
|
export var ViewOperationItem = function ViewOperationItem(props) {
|
|
977
1126
|
"use strict";
|
|
978
|
-
|
|
1127
|
+
_class_call_check(this, ViewOperationItem);
|
|
979
1128
|
var _props_headers;
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
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);
|
|
984
1133
|
var _props_id;
|
|
985
1134
|
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId(8);
|
|
986
1135
|
var _props_title;
|
|
@@ -995,13 +1144,13 @@ export var ViewOperationItem = function ViewOperationItem(props) {
|
|
|
995
1144
|
* 自定义权限项,用于Vue容器上,注册自定义的权限
|
|
996
1145
|
*/ export var CustomPermissionItem = function CustomPermissionItem(props) {
|
|
997
1146
|
"use strict";
|
|
998
|
-
|
|
1147
|
+
_class_call_check(this, CustomPermissionItem);
|
|
999
1148
|
/**
|
|
1000
1149
|
* 人工输入的权限key
|
|
1001
|
-
*/
|
|
1150
|
+
*/ _define_property(this, "key", void 0);
|
|
1002
1151
|
/**
|
|
1003
1152
|
* 权限名称
|
|
1004
|
-
*/
|
|
1153
|
+
*/ _define_property(this, "caption", void 0);
|
|
1005
1154
|
var _props_key;
|
|
1006
1155
|
this.key = (_props_key = props.key) !== null && _props_key !== void 0 ? _props_key : genNonDuplicateId(8);
|
|
1007
1156
|
var _props_caption;
|
|
@@ -1009,11 +1158,11 @@ export var ViewOperationItem = function ViewOperationItem(props) {
|
|
|
1009
1158
|
};
|
|
1010
1159
|
export var BaseStyle = function BaseStyle(props) {
|
|
1011
1160
|
"use strict";
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
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);
|
|
1017
1166
|
var _props_width;
|
|
1018
1167
|
this.width = (_props_width = props === null || props === void 0 ? void 0 : props.width) !== null && _props_width !== void 0 ? _props_width : "";
|
|
1019
1168
|
var _props_height;
|