@byteluck-fe/model-driven-core 2.3.12 → 2.3.16
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 +54 -43
- package/dist/esm/common/BaseControl/runtime.js +17 -17
- package/dist/esm/common/ColumnControl/designer.js +25 -25
- package/dist/esm/common/ColumnControl/property.js +44 -44
- package/dist/esm/common/ColumnControl/runtime.js +25 -25
- package/dist/esm/common/ControlArray.js +13 -13
- package/dist/esm/common/FormControl/designer.js +27 -27
- package/dist/esm/common/FormControl/property.js +53 -53
- package/dist/esm/common/FormControl/runtime.js +26 -26
- package/dist/esm/common/LayoutControl/designer.js +61 -61
- package/dist/esm/common/LayoutControl/property.js +22 -22
- package/dist/esm/common/LayoutControl/runtime.js +27 -27
- package/dist/esm/common/ListControl/designer.js +58 -58
- package/dist/esm/common/ListControl/property.js +25 -25
- package/dist/esm/common/ListControl/runtime.js +30 -30
- package/dist/esm/common/SearchViewControl/designer.js +25 -25
- package/dist/esm/common/SearchViewControl/property.js +24 -24
- package/dist/esm/common/SearchViewControl/runtime.js +25 -25
- package/dist/esm/common/WrapControl/designer.js +25 -25
- package/dist/esm/common/WrapControl/property.js +22 -22
- package/dist/esm/common/WrapControl/runtime.js +25 -25
- package/dist/esm/framework/RegisterControls.js +12 -12
- package/dist/esm/framework/index.js +209 -209
- package/dist/index.umd.js +1 -1
- package/package.json +3 -3
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _assertThisInitialized(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 _classCallCheck(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 _defineProperty(obj, key, value) {
|
|
13
13
|
if (key in obj) {
|
|
14
14
|
Object.defineProperty(obj, key, {
|
|
15
15
|
value: value,
|
|
@@ -22,11 +22,11 @@ function _define_property(obj, key, value) {
|
|
|
22
22
|
}
|
|
23
23
|
return obj;
|
|
24
24
|
}
|
|
25
|
-
function
|
|
26
|
-
|
|
25
|
+
function _getPrototypeOf(o) {
|
|
26
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
27
27
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
28
28
|
};
|
|
29
|
-
return
|
|
29
|
+
return _getPrototypeOf(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) _setPrototypeOf(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 _possibleConstructorReturn(self, call) {
|
|
52
|
+
if (call && (_typeof(call) === "object" || typeof call === "function")) {
|
|
53
53
|
return call;
|
|
54
54
|
}
|
|
55
|
-
return
|
|
55
|
+
return _assertThisInitialized(self);
|
|
56
56
|
}
|
|
57
|
-
function
|
|
58
|
-
|
|
57
|
+
function _setPrototypeOf(o, p) {
|
|
58
|
+
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
59
59
|
o.__proto__ = p;
|
|
60
60
|
return o;
|
|
61
61
|
};
|
|
62
|
-
return
|
|
62
|
+
return _setPrototypeOf(o, p);
|
|
63
63
|
}
|
|
64
|
-
function
|
|
64
|
+
var _typeof = function(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 _isNativeReflectConstruct() {
|
|
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 _is_native_reflect_construct() {
|
|
|
76
76
|
return false;
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
|
-
function
|
|
80
|
-
var hasNativeReflectConstruct =
|
|
79
|
+
function _createSuper(Derived) {
|
|
80
|
+
var hasNativeReflectConstruct = _isNativeReflectConstruct();
|
|
81
81
|
return function _createSuperInternal() {
|
|
82
|
-
var Super =
|
|
82
|
+
var Super = _getPrototypeOf(Derived), result;
|
|
83
83
|
if (hasNativeReflectConstruct) {
|
|
84
|
-
var NewTarget =
|
|
84
|
+
var NewTarget = _getPrototypeOf(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 _possibleConstructorReturn(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
|
+
_classCallCheck(this, DataBind);
|
|
100
100
|
/**
|
|
101
101
|
* 数据模型编码
|
|
102
102
|
* @defaultValue ''
|
|
103
103
|
* @public
|
|
104
|
-
*/
|
|
104
|
+
*/ _defineProperty(this, "dataCode", void 0);
|
|
105
105
|
/**
|
|
106
106
|
* 字段编码
|
|
107
107
|
* @defaultValue ''
|
|
108
108
|
* @public
|
|
109
|
-
*/
|
|
109
|
+
*/ _defineProperty(this, "fieldCode", void 0);
|
|
110
110
|
/**
|
|
111
111
|
* 字段类型
|
|
112
112
|
* @defaultValue ''
|
|
113
113
|
* @public
|
|
114
|
-
*/
|
|
114
|
+
*/ _defineProperty(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
|
+
_classCallCheck(this, AutoWidth);
|
|
125
|
+
_defineProperty(this, "minWidth", void 0);
|
|
126
|
+
_defineProperty(this, "maxWidth", void 0);
|
|
127
|
+
_defineProperty(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 = _createSuper(MetaWidth);
|
|
138
138
|
function MetaWidth(props) {
|
|
139
|
-
|
|
139
|
+
_classCallCheck(this, MetaWidth);
|
|
140
140
|
var _this;
|
|
141
141
|
_this = _super.call(this, props);
|
|
142
|
-
|
|
143
|
-
|
|
142
|
+
_defineProperty(_assertThisInitialized(_this), "width", void 0);
|
|
143
|
+
_defineProperty(_assertThisInitialized(_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
|
+
_classCallCheck(this, MetaAutoWidth);
|
|
155
|
+
_defineProperty(this, "pc", void 0);
|
|
156
|
+
_defineProperty(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
|
+
_classCallCheck(this, DataStorageDoc);
|
|
166
|
+
_defineProperty(this, "type", void 0);
|
|
167
|
+
_defineProperty(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
|
+
_classCallCheck(this, FormBind);
|
|
176
|
+
_defineProperty(this, "dataCode", void 0);
|
|
177
|
+
_defineProperty(this, "formKey", void 0);
|
|
178
|
+
_defineProperty(this, "appId", void 0);
|
|
179
179
|
var _props_dataCode;
|
|
180
180
|
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
|
|
181
181
|
var _props_formKey;
|
|
@@ -186,12 +186,12 @@ export var FormBind = function FormBind(props) {
|
|
|
186
186
|
export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
187
187
|
"use strict";
|
|
188
188
|
_inherits(FormSelectBind, FormBind);
|
|
189
|
-
var _super =
|
|
189
|
+
var _super = _createSuper(FormSelectBind);
|
|
190
190
|
function FormSelectBind(props) {
|
|
191
|
-
|
|
191
|
+
_classCallCheck(this, FormSelectBind);
|
|
192
192
|
var _this;
|
|
193
193
|
_this = _super.call(this, props);
|
|
194
|
-
|
|
194
|
+
_defineProperty(_assertThisInitialized(_this), "primaryControlId", void 0);
|
|
195
195
|
var _props_primaryControlId;
|
|
196
196
|
_this.primaryControlId = (_props_primaryControlId = props === null || props === void 0 ? void 0 : props.primaryControlId) !== null && _props_primaryControlId !== void 0 ? _props_primaryControlId : "";
|
|
197
197
|
return _this;
|
|
@@ -203,11 +203,11 @@ export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
|
203
203
|
* @public
|
|
204
204
|
*/ var ListBindHeaderItem = function ListBindHeaderItem(props) {
|
|
205
205
|
"use strict";
|
|
206
|
-
|
|
206
|
+
_classCallCheck(this, ListBindHeaderItem);
|
|
207
207
|
/**
|
|
208
208
|
* 字段
|
|
209
209
|
* @defaultValue ''
|
|
210
|
-
*/
|
|
210
|
+
*/ _defineProperty(this, "fieldCode", void 0);
|
|
211
211
|
var _props_fieldCode;
|
|
212
212
|
this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : "";
|
|
213
213
|
};
|
|
@@ -215,20 +215,20 @@ export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
|
215
215
|
* 列表绑定配置
|
|
216
216
|
*/ export var ListBind = function ListBind(props) {
|
|
217
217
|
"use strict";
|
|
218
|
-
|
|
218
|
+
_classCallCheck(this, ListBind);
|
|
219
219
|
var _props_headers;
|
|
220
220
|
/**
|
|
221
221
|
* 应用ID
|
|
222
222
|
* @public
|
|
223
|
-
*/
|
|
223
|
+
*/ _defineProperty(this, "appId", void 0);
|
|
224
224
|
/**
|
|
225
225
|
* 表单ID
|
|
226
226
|
* @public
|
|
227
|
-
*/
|
|
227
|
+
*/ _defineProperty(this, "formKey", void 0);
|
|
228
228
|
/**
|
|
229
229
|
* 显示字段
|
|
230
230
|
* @public
|
|
231
|
-
*/
|
|
231
|
+
*/ _defineProperty(this, "headers", void 0);
|
|
232
232
|
var _props_appId;
|
|
233
233
|
this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : "";
|
|
234
234
|
var _props_formKey;
|
|
@@ -240,10 +240,10 @@ export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
|
240
240
|
};
|
|
241
241
|
export var FieldBindItem = function FieldBindItem(props) {
|
|
242
242
|
"use strict";
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
243
|
+
_classCallCheck(this, FieldBindItem);
|
|
244
|
+
_defineProperty(this, "fieldName", void 0);
|
|
245
|
+
_defineProperty(this, "fieldCode", void 0);
|
|
246
|
+
_defineProperty(this, "fieldType", void 0);
|
|
247
247
|
var _props_fieldName;
|
|
248
248
|
this.fieldName = (_props_fieldName = props === null || props === void 0 ? void 0 : props.fieldName) !== null && _props_fieldName !== void 0 ? _props_fieldName : "";
|
|
249
249
|
var _props_fieldCode;
|
|
@@ -254,15 +254,15 @@ export var FieldBindItem = function FieldBindItem(props) {
|
|
|
254
254
|
export var SubListItem = /*#__PURE__*/ function(FormBind) {
|
|
255
255
|
"use strict";
|
|
256
256
|
_inherits(SubListItem, FormBind);
|
|
257
|
-
var _super =
|
|
257
|
+
var _super = _createSuper(SubListItem);
|
|
258
258
|
function SubListItem(props) {
|
|
259
|
-
|
|
259
|
+
_classCallCheck(this, SubListItem);
|
|
260
260
|
var _this;
|
|
261
261
|
_this = _super.call(this, props);
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
262
|
+
_defineProperty(_assertThisInitialized(_this), "title", void 0);
|
|
263
|
+
_defineProperty(_assertThisInitialized(_this), "svcCode", void 0);
|
|
264
|
+
_defineProperty(_assertThisInitialized(_this), "isOpenFilter", void 0);
|
|
265
|
+
_defineProperty(_assertThisInitialized(_this), "filters", void 0);
|
|
266
266
|
var _props_title;
|
|
267
267
|
_this.title = (_props_title = props === null || props === void 0 ? void 0 : props.title) !== null && _props_title !== void 0 ? _props_title : "";
|
|
268
268
|
var _props_svcCode;
|
|
@@ -277,12 +277,12 @@ export var SubListItem = /*#__PURE__*/ function(FormBind) {
|
|
|
277
277
|
}(FormBind);
|
|
278
278
|
export var SubListPageConfig = function SubListPageConfig(props) {
|
|
279
279
|
"use strict";
|
|
280
|
-
|
|
280
|
+
_classCallCheck(this, SubListPageConfig);
|
|
281
281
|
var _props_displayFields, _props_sublists;
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
282
|
+
_defineProperty(this, "type", "sublist-page");
|
|
283
|
+
_defineProperty(this, "formBind", void 0);
|
|
284
|
+
_defineProperty(this, "displayFields", void 0);
|
|
285
|
+
_defineProperty(this, "sublists", void 0);
|
|
286
286
|
this.formBind = new FormBind(props === null || props === void 0 ? void 0 : props.formBind);
|
|
287
287
|
var _props_displayFields_map;
|
|
288
288
|
this.displayFields = (_props_displayFields_map = props === null || props === void 0 ? void 0 : (_props_displayFields = props.displayFields) === null || _props_displayFields === void 0 ? void 0 : _props_displayFields.map(function(item) {
|
|
@@ -295,18 +295,18 @@ export var SubListPageConfig = function SubListPageConfig(props) {
|
|
|
295
295
|
};
|
|
296
296
|
export var LeftVariable = function LeftVariable(props) {
|
|
297
297
|
"use strict";
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
298
|
+
_classCallCheck(this, LeftVariable);
|
|
299
|
+
_defineProperty(this, "type", void 0);
|
|
300
|
+
_defineProperty(this, "value", void 0);
|
|
301
301
|
this.type = props === null || props === void 0 ? void 0 : props.type;
|
|
302
302
|
this.value = props === null || props === void 0 ? void 0 : props.value;
|
|
303
303
|
};
|
|
304
304
|
export var RightVariable = function RightVariable(props) {
|
|
305
305
|
"use strict";
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
306
|
+
_classCallCheck(this, RightVariable);
|
|
307
|
+
_defineProperty(this, "type", void 0);
|
|
308
|
+
_defineProperty(this, "value", void 0);
|
|
309
|
+
_defineProperty(this, "displayBos", void 0);
|
|
310
310
|
var _props_type;
|
|
311
311
|
this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "custom";
|
|
312
312
|
var _props_value;
|
|
@@ -320,31 +320,31 @@ export var RightVariable = function RightVariable(props) {
|
|
|
320
320
|
*/ export var FieldFilterConditions = function FieldFilterConditions(props) {
|
|
321
321
|
"use strict";
|
|
322
322
|
var _this = this;
|
|
323
|
-
|
|
323
|
+
_classCallCheck(this, FieldFilterConditions);
|
|
324
324
|
/**
|
|
325
325
|
* 编号
|
|
326
326
|
* @defaultValue ''
|
|
327
|
-
*/
|
|
327
|
+
*/ _defineProperty(this, "id", void 0);
|
|
328
328
|
/**
|
|
329
329
|
* 规则编号
|
|
330
330
|
* @defaultValue Timestamp
|
|
331
|
-
*/
|
|
331
|
+
*/ _defineProperty(this, "ruleId", void 0);
|
|
332
332
|
/**
|
|
333
333
|
* 类型:连接符条件
|
|
334
334
|
* @defaultValue 'conditions'
|
|
335
|
-
*/
|
|
335
|
+
*/ _defineProperty(this, "type", "conditions");
|
|
336
336
|
/**
|
|
337
337
|
* 深度
|
|
338
338
|
* @defaultValue 0
|
|
339
|
-
*/
|
|
339
|
+
*/ _defineProperty(this, "level", void 0);
|
|
340
340
|
/**
|
|
341
341
|
* 连接符值
|
|
342
342
|
* @defaultValue 'and'
|
|
343
|
-
*/
|
|
343
|
+
*/ _defineProperty(this, "value", void 0);
|
|
344
344
|
/**
|
|
345
345
|
* 包含子项
|
|
346
346
|
* @defaultValue []
|
|
347
|
-
*/
|
|
347
|
+
*/ _defineProperty(this, "children", void 0);
|
|
348
348
|
var _props_id;
|
|
349
349
|
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId();
|
|
350
350
|
var _props_ruleId;
|
|
@@ -373,30 +373,30 @@ export var RightVariable = function RightVariable(props) {
|
|
|
373
373
|
* @public
|
|
374
374
|
*/ export var FieldFilterCondition = function FieldFilterCondition(props) {
|
|
375
375
|
"use strict";
|
|
376
|
-
|
|
376
|
+
_classCallCheck(this, FieldFilterCondition);
|
|
377
377
|
/**
|
|
378
378
|
* 唯一编号
|
|
379
379
|
* @defaultValue ''
|
|
380
|
-
*/
|
|
380
|
+
*/ _defineProperty(this, "id", void 0);
|
|
381
381
|
/**
|
|
382
382
|
* 规则编号
|
|
383
383
|
* @defaultValue Timestamp
|
|
384
|
-
*/
|
|
384
|
+
*/ _defineProperty(this, "ruleId", void 0);
|
|
385
385
|
/**
|
|
386
386
|
* 类型
|
|
387
387
|
* @defaultValue 'condition'
|
|
388
|
-
*/
|
|
388
|
+
*/ _defineProperty(this, "type", "condition");
|
|
389
389
|
/**
|
|
390
390
|
* 符号
|
|
391
|
-
*/
|
|
392
|
-
|
|
393
|
-
|
|
391
|
+
*/ _defineProperty(this, "symbol", void 0);
|
|
392
|
+
_defineProperty(this, "checked", void 0);
|
|
393
|
+
_defineProperty(this, "describe", void 0);
|
|
394
394
|
/**
|
|
395
395
|
* 左值
|
|
396
|
-
*/
|
|
396
|
+
*/ _defineProperty(this, "leftVariableBo", void 0);
|
|
397
397
|
/**
|
|
398
398
|
* 右值
|
|
399
|
-
*/
|
|
399
|
+
*/ _defineProperty(this, "rightVariableBo", void 0);
|
|
400
400
|
var _props_id;
|
|
401
401
|
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId();
|
|
402
402
|
var _props_ruleId;
|
|
@@ -415,27 +415,27 @@ export var RightVariable = function RightVariable(props) {
|
|
|
415
415
|
* @public
|
|
416
416
|
*/ export var MultistageFillingItem = function MultistageFillingItem(props) {
|
|
417
417
|
"use strict";
|
|
418
|
-
|
|
418
|
+
_classCallCheck(this, MultistageFillingItem);
|
|
419
419
|
/**
|
|
420
420
|
* 控件ID
|
|
421
421
|
* @defaultValue ''
|
|
422
422
|
* @public
|
|
423
|
-
*/
|
|
423
|
+
*/ _defineProperty(this, "controlId", void 0);
|
|
424
424
|
/**
|
|
425
425
|
* 字段
|
|
426
426
|
* @defaultValue ''
|
|
427
427
|
* @public
|
|
428
|
-
*/
|
|
428
|
+
*/ _defineProperty(this, "fieldCode", void 0);
|
|
429
429
|
/**
|
|
430
430
|
* 字段类型。事件在填充时,需要根据数据类型进行判断处理动作。
|
|
431
431
|
* @defaultValue ''
|
|
432
432
|
* @public
|
|
433
|
-
*/
|
|
433
|
+
*/ _defineProperty(this, "fieldType", void 0);
|
|
434
434
|
/**
|
|
435
435
|
* 属性名称。如果是ObjectDataBind的控件,可以指定填充到哪个数据项。
|
|
436
436
|
* @defaultValue ''
|
|
437
437
|
* @public
|
|
438
|
-
* */
|
|
438
|
+
* */ _defineProperty(this, "propName", void 0);
|
|
439
439
|
var _props_controlId;
|
|
440
440
|
this.controlId = (_props_controlId = props === null || props === void 0 ? void 0 : props.controlId) !== null && _props_controlId !== void 0 ? _props_controlId : "";
|
|
441
441
|
var _props_fieldCode;
|
|
@@ -450,18 +450,18 @@ export var RightVariable = function RightVariable(props) {
|
|
|
450
450
|
* @public
|
|
451
451
|
*/ export var DisplayBoListItem = function DisplayBoListItem(props) {
|
|
452
452
|
"use strict";
|
|
453
|
-
|
|
453
|
+
_classCallCheck(this, DisplayBoListItem);
|
|
454
454
|
/**
|
|
455
455
|
* 显示项类型:字段 | 符号
|
|
456
456
|
* @defaultValue 'FIELD'
|
|
457
457
|
* @public
|
|
458
|
-
*/
|
|
458
|
+
*/ _defineProperty(this, "type", void 0);
|
|
459
459
|
/**
|
|
460
460
|
* 值
|
|
461
|
-
*/
|
|
461
|
+
*/ _defineProperty(this, "value", void 0);
|
|
462
462
|
/**
|
|
463
463
|
* 字段数据类型
|
|
464
|
-
*/
|
|
464
|
+
*/ _defineProperty(this, "fieldType", void 0);
|
|
465
465
|
var _props_type;
|
|
466
466
|
this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "FIELD";
|
|
467
467
|
var _props_value;
|
|
@@ -473,15 +473,15 @@ export var RightVariable = function RightVariable(props) {
|
|
|
473
473
|
* @public
|
|
474
474
|
*/ export var DataSourceOrderItem = function DataSourceOrderItem(props) {
|
|
475
475
|
"use strict";
|
|
476
|
-
|
|
476
|
+
_classCallCheck(this, DataSourceOrderItem);
|
|
477
477
|
/**
|
|
478
478
|
* 列名
|
|
479
479
|
* @defaultValue ''
|
|
480
|
-
*/
|
|
480
|
+
*/ _defineProperty(this, "columnName", void 0);
|
|
481
481
|
/**
|
|
482
482
|
* 倒序
|
|
483
483
|
* @defaultValue false
|
|
484
|
-
*/
|
|
484
|
+
*/ _defineProperty(this, "desc", void 0);
|
|
485
485
|
var _props_columnName;
|
|
486
486
|
this.columnName = (_props_columnName = props.columnName) !== null && _props_columnName !== void 0 ? _props_columnName : "";
|
|
487
487
|
var _props_desc;
|
|
@@ -489,13 +489,13 @@ export var RightVariable = function RightVariable(props) {
|
|
|
489
489
|
};
|
|
490
490
|
export var DataSourceDataSetValue = function DataSourceDataSetValue(props) {
|
|
491
491
|
"use strict";
|
|
492
|
-
|
|
492
|
+
_classCallCheck(this, DataSourceDataSetValue);
|
|
493
493
|
// fieldCode
|
|
494
|
-
|
|
494
|
+
_defineProperty(this, "code", void 0);
|
|
495
495
|
// 值
|
|
496
|
-
|
|
496
|
+
_defineProperty(this, "value", void 0);
|
|
497
497
|
// 数据类型
|
|
498
|
-
|
|
498
|
+
_defineProperty(this, "field_type", void 0);
|
|
499
499
|
var _props_code;
|
|
500
500
|
this.code = (_props_code = props.code) !== null && _props_code !== void 0 ? _props_code : "";
|
|
501
501
|
var _props_value;
|
|
@@ -505,15 +505,15 @@ export var DataSourceDataSetValue = function DataSourceDataSetValue(props) {
|
|
|
505
505
|
};
|
|
506
506
|
export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
507
507
|
"use strict";
|
|
508
|
-
|
|
508
|
+
_classCallCheck(this, DataSourceParamItem);
|
|
509
509
|
var _props_orders, _props_dataSet;
|
|
510
510
|
/**
|
|
511
511
|
* 字段ID
|
|
512
|
-
*/
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
512
|
+
*/ _defineProperty(this, "id", void 0);
|
|
513
|
+
_defineProperty(this, "limit", void 0);
|
|
514
|
+
_defineProperty(this, "orders", void 0);
|
|
515
|
+
_defineProperty(this, "formKey", void 0);
|
|
516
|
+
_defineProperty(this, "dataSet", void 0);
|
|
517
517
|
var _props_id;
|
|
518
518
|
//字段ID,不可以当作随机数生成唯一编号
|
|
519
519
|
this.id = (_props_id = props.id) !== null && _props_id !== void 0 ? _props_id : "";
|
|
@@ -555,48 +555,48 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
|
555
555
|
*/ export var DataSourceBind = function DataSourceBind(props) {
|
|
556
556
|
"use strict";
|
|
557
557
|
var _this = this;
|
|
558
|
-
|
|
558
|
+
_classCallCheck(this, DataSourceBind);
|
|
559
559
|
/**
|
|
560
560
|
* 绑定数据源id
|
|
561
561
|
* @defaultValue ''
|
|
562
562
|
* @public
|
|
563
|
-
*/
|
|
563
|
+
*/ _defineProperty(this, "dataCode", void 0);
|
|
564
564
|
/**
|
|
565
565
|
* 存储值
|
|
566
566
|
* @defaultValue ''
|
|
567
567
|
* @public
|
|
568
|
-
*/
|
|
568
|
+
*/ _defineProperty(this, "valueFieldCode", void 0);
|
|
569
569
|
/**
|
|
570
570
|
* 显示值
|
|
571
571
|
* @defaultValue []
|
|
572
572
|
* @public
|
|
573
|
-
*/
|
|
573
|
+
*/ _defineProperty(this, "displayBoList", void 0);
|
|
574
574
|
/**
|
|
575
575
|
* 绑定服务
|
|
576
576
|
* @defaultValue ''
|
|
577
577
|
* @public
|
|
578
|
-
*/
|
|
578
|
+
*/ _defineProperty(this, "svcCode", void 0);
|
|
579
579
|
/**
|
|
580
580
|
* 应用Id
|
|
581
581
|
* @defaultValue ''
|
|
582
582
|
* @public
|
|
583
|
-
*/
|
|
583
|
+
*/ _defineProperty(this, "appId", void 0);
|
|
584
584
|
/**
|
|
585
585
|
* 过滤条件
|
|
586
586
|
* @defaultValue []
|
|
587
587
|
* @public
|
|
588
|
-
*/
|
|
588
|
+
*/ _defineProperty(this, "filters", void 0);
|
|
589
589
|
// 过滤
|
|
590
590
|
/**
|
|
591
591
|
* 排序
|
|
592
592
|
* @defaultValue []
|
|
593
593
|
* @public
|
|
594
|
-
*/
|
|
594
|
+
*/ _defineProperty(this, "orders", void 0);
|
|
595
595
|
/**
|
|
596
596
|
* 显示排序
|
|
597
597
|
* @defaultValue true
|
|
598
598
|
* @public
|
|
599
|
-
*/
|
|
599
|
+
*/ _defineProperty(this, "showOrder", void 0);
|
|
600
600
|
var _props_dataCode;
|
|
601
601
|
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
|
|
602
602
|
var _props_appId;
|
|
@@ -618,11 +618,11 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
|
618
618
|
};
|
|
619
619
|
export var CustomAttributeItem = function CustomAttributeItem(props) {
|
|
620
620
|
"use strict";
|
|
621
|
-
|
|
621
|
+
_classCallCheck(this, CustomAttributeItem);
|
|
622
622
|
var _props_value;
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
623
|
+
_defineProperty(this, "name", void 0);
|
|
624
|
+
_defineProperty(this, "key", void 0);
|
|
625
|
+
_defineProperty(this, "value", void 0);
|
|
626
626
|
var _props_name;
|
|
627
627
|
this.name = (_props_name = props === null || props === void 0 ? void 0 : props.name) !== null && _props_name !== void 0 ? _props_name : "";
|
|
628
628
|
var _props_key;
|
|
@@ -635,13 +635,13 @@ export var CustomAttributeItem = function CustomAttributeItem(props) {
|
|
|
635
635
|
export var SuperDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
636
636
|
"use strict";
|
|
637
637
|
_inherits(SuperDataSourceBind, DataSourceBind);
|
|
638
|
-
var _super =
|
|
638
|
+
var _super = _createSuper(SuperDataSourceBind);
|
|
639
639
|
function SuperDataSourceBind(props) {
|
|
640
|
-
|
|
640
|
+
_classCallCheck(this, SuperDataSourceBind);
|
|
641
641
|
var _this;
|
|
642
642
|
var _props_attributes;
|
|
643
643
|
_this = _super.call(this, props);
|
|
644
|
-
|
|
644
|
+
_defineProperty(_assertThisInitialized(_this), "attributes", void 0);
|
|
645
645
|
var _props_attributes_map;
|
|
646
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) {
|
|
647
647
|
return new CustomAttributeItem(item);
|
|
@@ -653,12 +653,12 @@ export var SuperDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
|
653
653
|
export var TreeDataSourceBind = /*#__PURE__*/ function(SuperDataSourceBind) {
|
|
654
654
|
"use strict";
|
|
655
655
|
_inherits(TreeDataSourceBind, SuperDataSourceBind);
|
|
656
|
-
var _super =
|
|
656
|
+
var _super = _createSuper(TreeDataSourceBind);
|
|
657
657
|
function TreeDataSourceBind(props) {
|
|
658
|
-
|
|
658
|
+
_classCallCheck(this, TreeDataSourceBind);
|
|
659
659
|
var _this;
|
|
660
660
|
_this = _super.call(this, props);
|
|
661
|
-
|
|
661
|
+
_defineProperty(_assertThisInitialized(_this), "rootNode", void 0);
|
|
662
662
|
_this.rootNode = new RightVariable(props === null || props === void 0 ? void 0 : props.rootNode);
|
|
663
663
|
return _this;
|
|
664
664
|
}
|
|
@@ -666,17 +666,17 @@ export var TreeDataSourceBind = /*#__PURE__*/ function(SuperDataSourceBind) {
|
|
|
666
666
|
}(SuperDataSourceBind);
|
|
667
667
|
var FillBind = function FillBind(props) {
|
|
668
668
|
"use strict";
|
|
669
|
-
|
|
669
|
+
_classCallCheck(this, FillBind);
|
|
670
670
|
var _props_fillList;
|
|
671
671
|
/*
|
|
672
672
|
* 需要被填充的数据源
|
|
673
|
-
* */
|
|
673
|
+
* */ _defineProperty(this, "dataCode", void 0);
|
|
674
674
|
/*
|
|
675
675
|
* appId
|
|
676
|
-
* */
|
|
676
|
+
* */ _defineProperty(this, "appId", void 0);
|
|
677
677
|
/*
|
|
678
678
|
* 执行填充的数据项和控件
|
|
679
|
-
* */
|
|
679
|
+
* */ _defineProperty(this, "fillList", void 0);
|
|
680
680
|
var _props_dataCode;
|
|
681
681
|
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
|
|
682
682
|
var _props_appId;
|
|
@@ -693,22 +693,22 @@ var FillBind = function FillBind(props) {
|
|
|
693
693
|
* */ export var FillPayloadBind = /*#__PURE__*/ function(FillBind) {
|
|
694
694
|
"use strict";
|
|
695
695
|
_inherits(FillPayloadBind, FillBind);
|
|
696
|
-
var _super =
|
|
696
|
+
var _super = _createSuper(FillPayloadBind);
|
|
697
697
|
function FillPayloadBind(props) {
|
|
698
|
-
|
|
698
|
+
_classCallCheck(this, FillPayloadBind);
|
|
699
699
|
var _this;
|
|
700
700
|
_this = _super.call(this, props);
|
|
701
701
|
/**
|
|
702
702
|
* 数据源过滤条件
|
|
703
703
|
* @defaultValue []
|
|
704
704
|
* @public
|
|
705
|
-
**/
|
|
705
|
+
**/ _defineProperty(_assertThisInitialized(_this), "filters", void 0);
|
|
706
706
|
/**
|
|
707
707
|
* 数据源排序条件
|
|
708
708
|
* @defaultValue []
|
|
709
709
|
* @public
|
|
710
|
-
**/
|
|
711
|
-
callFiltersAndOrders.call(
|
|
710
|
+
**/ _defineProperty(_assertThisInitialized(_this), "orders", void 0);
|
|
711
|
+
callFiltersAndOrders.call(_assertThisInitialized(_this), props);
|
|
712
712
|
return _this;
|
|
713
713
|
}
|
|
714
714
|
return FillPayloadBind;
|
|
@@ -719,21 +719,21 @@ var FillBind = function FillBind(props) {
|
|
|
719
719
|
*/ export var FillBackBind = /*#__PURE__*/ function(FillBind) {
|
|
720
720
|
"use strict";
|
|
721
721
|
_inherits(FillBackBind, FillBind);
|
|
722
|
-
var _super =
|
|
722
|
+
var _super = _createSuper(FillBackBind);
|
|
723
723
|
function FillBackBind(props) {
|
|
724
|
-
|
|
724
|
+
_classCallCheck(this, FillBackBind);
|
|
725
725
|
var _this;
|
|
726
726
|
_this = _super.call(this, props);
|
|
727
727
|
/**
|
|
728
728
|
* 回填模式。current 当前表(根据按钮所在位置来区分,而不是通过主表和子表来区分)| subtable 子表
|
|
729
729
|
* @defaultValue 'current'
|
|
730
730
|
* @public
|
|
731
|
-
* */
|
|
731
|
+
* */ _defineProperty(_assertThisInitialized(_this), "mode", void 0);
|
|
732
732
|
/**
|
|
733
733
|
* 多选
|
|
734
734
|
* @defaultValue false
|
|
735
735
|
* @public
|
|
736
|
-
*/
|
|
736
|
+
*/ _defineProperty(_assertThisInitialized(_this), "multiple", void 0);
|
|
737
737
|
var _props_mode;
|
|
738
738
|
_this.mode = (_props_mode = props === null || props === void 0 ? void 0 : props.mode) !== null && _props_mode !== void 0 ? _props_mode : "current";
|
|
739
739
|
var _props_multiple;
|
|
@@ -744,10 +744,10 @@ var FillBind = function FillBind(props) {
|
|
|
744
744
|
}(FillBind);
|
|
745
745
|
export var Language = function Language(props) {
|
|
746
746
|
"use strict";
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
747
|
+
_classCallCheck(this, Language);
|
|
748
|
+
_defineProperty(this, "zh", void 0);
|
|
749
|
+
_defineProperty(this, "en", void 0);
|
|
750
|
+
_defineProperty(this, "ja", void 0);
|
|
751
751
|
var _props_zh;
|
|
752
752
|
this.zh = (_props_zh = props === null || props === void 0 ? void 0 : props.zh) !== null && _props_zh !== void 0 ? _props_zh : "";
|
|
753
753
|
var _props_en;
|
|
@@ -760,19 +760,19 @@ export var Language = function Language(props) {
|
|
|
760
760
|
* @public
|
|
761
761
|
*/ export var RegularRules = function RegularRules(props) {
|
|
762
762
|
"use strict";
|
|
763
|
-
|
|
763
|
+
_classCallCheck(this, RegularRules);
|
|
764
764
|
/**
|
|
765
765
|
* 内置模版
|
|
766
766
|
* @defaultValue ''
|
|
767
|
-
*/
|
|
767
|
+
*/ _defineProperty(this, "stencilName", void 0);
|
|
768
768
|
/**
|
|
769
769
|
* 正则表达式
|
|
770
770
|
* @defaultValue ''
|
|
771
|
-
*/
|
|
771
|
+
*/ _defineProperty(this, "expression", void 0);
|
|
772
772
|
/**
|
|
773
773
|
* 校验错误提示信息
|
|
774
774
|
* @defaultValue ''
|
|
775
|
-
*/
|
|
775
|
+
*/ _defineProperty(this, "errMessage", void 0);
|
|
776
776
|
var _props_stencilName;
|
|
777
777
|
this.stencilName = (_props_stencilName = props === null || props === void 0 ? void 0 : props.stencilName) !== null && _props_stencilName !== void 0 ? _props_stencilName : "";
|
|
778
778
|
var _props_expression;
|
|
@@ -785,18 +785,18 @@ export var Language = function Language(props) {
|
|
|
785
785
|
* @public
|
|
786
786
|
*/ export var OptionSetting = function OptionSetting(props) {
|
|
787
787
|
"use strict";
|
|
788
|
-
|
|
789
|
-
|
|
788
|
+
_classCallCheck(this, OptionSetting);
|
|
789
|
+
_defineProperty(this, "id", void 0);
|
|
790
790
|
/**
|
|
791
791
|
* 显示值
|
|
792
792
|
* @defaultValue ''
|
|
793
793
|
* @public
|
|
794
|
-
*/
|
|
794
|
+
*/ _defineProperty(this, "label", void 0);
|
|
795
795
|
/**
|
|
796
796
|
* 选项ID
|
|
797
797
|
* @defaultValue this.label
|
|
798
798
|
* @public
|
|
799
|
-
*/
|
|
799
|
+
*/ _defineProperty(this, "value", void 0);
|
|
800
800
|
var _props_id;
|
|
801
801
|
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId(8);
|
|
802
802
|
var _props_label;
|
|
@@ -807,13 +807,13 @@ export var Language = function Language(props) {
|
|
|
807
807
|
export var ImageOptionSetting = /*#__PURE__*/ function(OptionSetting) {
|
|
808
808
|
"use strict";
|
|
809
809
|
_inherits(ImageOptionSetting, OptionSetting);
|
|
810
|
-
var _super =
|
|
810
|
+
var _super = _createSuper(ImageOptionSetting);
|
|
811
811
|
function ImageOptionSetting(props) {
|
|
812
|
-
|
|
812
|
+
_classCallCheck(this, ImageOptionSetting);
|
|
813
813
|
var _this;
|
|
814
814
|
_this = _super.call(this, props);
|
|
815
|
-
|
|
816
|
-
|
|
815
|
+
_defineProperty(_assertThisInitialized(_this), "image", void 0);
|
|
816
|
+
_defineProperty(_assertThisInitialized(_this), "type", void 0);
|
|
817
817
|
var _props_image;
|
|
818
818
|
_this.image = (_props_image = props === null || props === void 0 ? void 0 : props.image) !== null && _props_image !== void 0 ? _props_image : "";
|
|
819
819
|
var _props_type;
|
|
@@ -839,7 +839,7 @@ export function initImageOptions(options) {
|
|
|
839
839
|
* @public
|
|
840
840
|
*/ export var ObjectDataBind = function ObjectDataBind() {
|
|
841
841
|
"use strict";
|
|
842
|
-
|
|
842
|
+
_classCallCheck(this, ObjectDataBind);
|
|
843
843
|
};
|
|
844
844
|
/**
|
|
845
845
|
* 金额控件数据绑定配置
|
|
@@ -847,17 +847,17 @@ export function initImageOptions(options) {
|
|
|
847
847
|
*/ export var AmountDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
848
848
|
"use strict";
|
|
849
849
|
_inherits(AmountDataBind, ObjectDataBind);
|
|
850
|
-
var _super =
|
|
850
|
+
var _super = _createSuper(AmountDataBind);
|
|
851
851
|
function AmountDataBind(props) {
|
|
852
|
-
|
|
852
|
+
_classCallCheck(this, AmountDataBind);
|
|
853
853
|
var _this;
|
|
854
854
|
_this = _super.call(this);
|
|
855
855
|
/**
|
|
856
856
|
* 金额字段绑定配置
|
|
857
|
-
*/
|
|
857
|
+
*/ _defineProperty(_assertThisInitialized(_this), "amount", void 0);
|
|
858
858
|
/**
|
|
859
859
|
* 币种字段绑定配置
|
|
860
|
-
*/
|
|
860
|
+
*/ _defineProperty(_assertThisInitialized(_this), "currency", void 0);
|
|
861
861
|
_this.amount = new DataBind(props === null || props === void 0 ? void 0 : props.amount);
|
|
862
862
|
_this.currency = new DataBind(props === null || props === void 0 ? void 0 : props.currency);
|
|
863
863
|
return _this;
|
|
@@ -869,15 +869,15 @@ export function initImageOptions(options) {
|
|
|
869
869
|
* @public
|
|
870
870
|
*/ export var AmountValue = function AmountValue(props) {
|
|
871
871
|
"use strict";
|
|
872
|
-
|
|
872
|
+
_classCallCheck(this, AmountValue);
|
|
873
873
|
/**
|
|
874
874
|
* 金额值
|
|
875
875
|
* @defaultValue ''
|
|
876
|
-
*/
|
|
876
|
+
*/ _defineProperty(this, "amount", void 0);
|
|
877
877
|
/**
|
|
878
878
|
* 货币值
|
|
879
879
|
* @defaultValue 'CNY'
|
|
880
|
-
*/
|
|
880
|
+
*/ _defineProperty(this, "currency", void 0);
|
|
881
881
|
var _props_amount;
|
|
882
882
|
this.amount = (_props_amount = props === null || props === void 0 ? void 0 : props.amount) !== null && _props_amount !== void 0 ? _props_amount : "";
|
|
883
883
|
var _props_currency;
|
|
@@ -889,17 +889,17 @@ export function initImageOptions(options) {
|
|
|
889
889
|
*/ export var RangeDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
890
890
|
"use strict";
|
|
891
891
|
_inherits(RangeDataBind, ObjectDataBind);
|
|
892
|
-
var _super =
|
|
892
|
+
var _super = _createSuper(RangeDataBind);
|
|
893
893
|
function RangeDataBind(props) {
|
|
894
|
-
|
|
894
|
+
_classCallCheck(this, RangeDataBind);
|
|
895
895
|
var _this;
|
|
896
896
|
_this = _super.call(this);
|
|
897
897
|
/**
|
|
898
898
|
* 开始日期字段绑定项
|
|
899
|
-
*/
|
|
899
|
+
*/ _defineProperty(_assertThisInitialized(_this), "min", void 0);
|
|
900
900
|
/**
|
|
901
901
|
* 结束日期字段绑定项
|
|
902
|
-
*/
|
|
902
|
+
*/ _defineProperty(_assertThisInitialized(_this), "max", void 0);
|
|
903
903
|
_this.min = new DataBind(props === null || props === void 0 ? void 0 : props.min);
|
|
904
904
|
_this.max = new DataBind(props === null || props === void 0 ? void 0 : props.max);
|
|
905
905
|
return _this;
|
|
@@ -911,15 +911,15 @@ export function initImageOptions(options) {
|
|
|
911
911
|
* @public
|
|
912
912
|
*/ export var RangeDateValue = function RangeDateValue(props) {
|
|
913
913
|
"use strict";
|
|
914
|
-
|
|
914
|
+
_classCallCheck(this, RangeDateValue);
|
|
915
915
|
/**
|
|
916
916
|
* 开始日期值
|
|
917
917
|
* @defaultValue ''
|
|
918
|
-
*/
|
|
918
|
+
*/ _defineProperty(this, "min", void 0);
|
|
919
919
|
/**
|
|
920
920
|
* 结束日期值
|
|
921
921
|
* @defaultValue ''
|
|
922
|
-
*/
|
|
922
|
+
*/ _defineProperty(this, "max", void 0);
|
|
923
923
|
var _props_min;
|
|
924
924
|
this.min = (_props_min = props === null || props === void 0 ? void 0 : props.min) !== null && _props_min !== void 0 ? _props_min : "";
|
|
925
925
|
var _props_max;
|
|
@@ -930,31 +930,31 @@ export function initImageOptions(options) {
|
|
|
930
930
|
* @public
|
|
931
931
|
*/ export var AddressValue = function AddressValue(props) {
|
|
932
932
|
"use strict";
|
|
933
|
-
|
|
933
|
+
_classCallCheck(this, AddressValue);
|
|
934
934
|
/**
|
|
935
935
|
* 市编码
|
|
936
936
|
* @defaultValue ''
|
|
937
|
-
*/
|
|
937
|
+
*/ _defineProperty(this, "city", void 0);
|
|
938
938
|
/**
|
|
939
939
|
* 市显示文字
|
|
940
940
|
* @defaultValue ''
|
|
941
|
-
*/
|
|
941
|
+
*/ _defineProperty(this, "cityDisplay", void 0);
|
|
942
942
|
/**
|
|
943
943
|
* 区编码
|
|
944
944
|
* @defaultValue ''
|
|
945
|
-
*/
|
|
945
|
+
*/ _defineProperty(this, "district", void 0);
|
|
946
946
|
/**
|
|
947
947
|
* 区显示文字
|
|
948
948
|
* @defaultValue ''
|
|
949
|
-
*/
|
|
949
|
+
*/ _defineProperty(this, "districtDisplay", void 0);
|
|
950
950
|
/**
|
|
951
951
|
* 省编码
|
|
952
952
|
* @defaultValue ''
|
|
953
|
-
*/
|
|
953
|
+
*/ _defineProperty(this, "province", void 0);
|
|
954
954
|
/**
|
|
955
955
|
* 省显示文字
|
|
956
956
|
* @defaultValue ''
|
|
957
|
-
*/
|
|
957
|
+
*/ _defineProperty(this, "provinceDisplay", void 0);
|
|
958
958
|
var _props_city;
|
|
959
959
|
this.city = (_props_city = props === null || props === void 0 ? void 0 : props.city) !== null && _props_city !== void 0 ? _props_city : "";
|
|
960
960
|
var _props_cityDisplay;
|
|
@@ -974,17 +974,17 @@ export function initImageOptions(options) {
|
|
|
974
974
|
*/ export var CalcDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
975
975
|
"use strict";
|
|
976
976
|
_inherits(CalcDataBind, ObjectDataBind);
|
|
977
|
-
var _super =
|
|
977
|
+
var _super = _createSuper(CalcDataBind);
|
|
978
978
|
function CalcDataBind(props) {
|
|
979
|
-
|
|
979
|
+
_classCallCheck(this, CalcDataBind);
|
|
980
980
|
var _this;
|
|
981
981
|
_this = _super.call(this);
|
|
982
982
|
/**
|
|
983
983
|
* 计算结果字段绑定项
|
|
984
|
-
*/
|
|
984
|
+
*/ _defineProperty(_assertThisInitialized(_this), "result", void 0);
|
|
985
985
|
/**
|
|
986
986
|
* 单位字段绑定项
|
|
987
|
-
*/
|
|
987
|
+
*/ _defineProperty(_assertThisInitialized(_this), "unit", void 0);
|
|
988
988
|
_this.result = new DataBind(props === null || props === void 0 ? void 0 : props.result);
|
|
989
989
|
_this.unit = new DataBind(props === null || props === void 0 ? void 0 : props.unit);
|
|
990
990
|
return _this;
|
|
@@ -996,15 +996,15 @@ export function initImageOptions(options) {
|
|
|
996
996
|
* @public
|
|
997
997
|
*/ export var CalcValue = function CalcValue(props) {
|
|
998
998
|
"use strict";
|
|
999
|
-
|
|
999
|
+
_classCallCheck(this, CalcValue);
|
|
1000
1000
|
/**
|
|
1001
1001
|
* 计算结果值
|
|
1002
1002
|
* @defaultValue 0
|
|
1003
|
-
*/
|
|
1003
|
+
*/ _defineProperty(this, "result", void 0);
|
|
1004
1004
|
/**
|
|
1005
1005
|
* 单位
|
|
1006
1006
|
* @defaultValue ''
|
|
1007
|
-
*/
|
|
1007
|
+
*/ _defineProperty(this, "unit", void 0);
|
|
1008
1008
|
var _props_result;
|
|
1009
1009
|
this.result = (_props_result = props === null || props === void 0 ? void 0 : props.result) !== null && _props_result !== void 0 ? _props_result : 0;
|
|
1010
1010
|
var _props_unit;
|
|
@@ -1082,33 +1082,33 @@ export var PAGE_STATUS;
|
|
|
1082
1082
|
* @public
|
|
1083
1083
|
*/ export var OperationItem = function OperationItem(props) {
|
|
1084
1084
|
"use strict";
|
|
1085
|
-
|
|
1085
|
+
_classCallCheck(this, OperationItem);
|
|
1086
1086
|
/**
|
|
1087
1087
|
* 是否显示
|
|
1088
1088
|
* @defaultValue true
|
|
1089
1089
|
* @public
|
|
1090
|
-
*/
|
|
1090
|
+
*/ _defineProperty(this, "isShow", void 0);
|
|
1091
1091
|
/**
|
|
1092
1092
|
* 优先访问流程表单
|
|
1093
1093
|
* @defaultValue false
|
|
1094
1094
|
* @public
|
|
1095
|
-
*/
|
|
1095
|
+
*/ _defineProperty(this, "priorityProcess", void 0);
|
|
1096
1096
|
/**
|
|
1097
1097
|
* 表单ID
|
|
1098
1098
|
* @defaultValue ''
|
|
1099
1099
|
* @public
|
|
1100
|
-
*/
|
|
1100
|
+
*/ _defineProperty(this, "formKey", void 0);
|
|
1101
1101
|
/**
|
|
1102
1102
|
* 显示文字
|
|
1103
1103
|
* @defaultValue ''
|
|
1104
1104
|
* @public
|
|
1105
|
-
*/
|
|
1105
|
+
*/ _defineProperty(this, "content", void 0);
|
|
1106
1106
|
/**
|
|
1107
1107
|
* 打开方式
|
|
1108
1108
|
* @defaultValue 'modal'
|
|
1109
1109
|
* @public
|
|
1110
|
-
*/
|
|
1111
|
-
|
|
1110
|
+
*/ _defineProperty(this, "openType", void 0);
|
|
1111
|
+
_defineProperty(this, "type", void 0);
|
|
1112
1112
|
var _props_isShow;
|
|
1113
1113
|
this.isShow = (_props_isShow = props === null || props === void 0 ? void 0 : props.isShow) !== null && _props_isShow !== void 0 ? _props_isShow : true;
|
|
1114
1114
|
var _props_content;
|
|
@@ -1124,12 +1124,12 @@ export var PAGE_STATUS;
|
|
|
1124
1124
|
};
|
|
1125
1125
|
export var ViewOperationItem = function ViewOperationItem(props) {
|
|
1126
1126
|
"use strict";
|
|
1127
|
-
|
|
1127
|
+
_classCallCheck(this, ViewOperationItem);
|
|
1128
1128
|
var _props_headers;
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1129
|
+
_defineProperty(this, "id", void 0);
|
|
1130
|
+
_defineProperty(this, "title", void 0);
|
|
1131
|
+
_defineProperty(this, "filters", void 0);
|
|
1132
|
+
_defineProperty(this, "headers", void 0);
|
|
1133
1133
|
var _props_id;
|
|
1134
1134
|
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId(8);
|
|
1135
1135
|
var _props_title;
|
|
@@ -1144,13 +1144,13 @@ export var ViewOperationItem = function ViewOperationItem(props) {
|
|
|
1144
1144
|
* 自定义权限项,用于Vue容器上,注册自定义的权限
|
|
1145
1145
|
*/ export var CustomPermissionItem = function CustomPermissionItem(props) {
|
|
1146
1146
|
"use strict";
|
|
1147
|
-
|
|
1147
|
+
_classCallCheck(this, CustomPermissionItem);
|
|
1148
1148
|
/**
|
|
1149
1149
|
* 人工输入的权限key
|
|
1150
|
-
*/
|
|
1150
|
+
*/ _defineProperty(this, "key", void 0);
|
|
1151
1151
|
/**
|
|
1152
1152
|
* 权限名称
|
|
1153
|
-
*/
|
|
1153
|
+
*/ _defineProperty(this, "caption", void 0);
|
|
1154
1154
|
var _props_key;
|
|
1155
1155
|
this.key = (_props_key = props.key) !== null && _props_key !== void 0 ? _props_key : genNonDuplicateId(8);
|
|
1156
1156
|
var _props_caption;
|
|
@@ -1158,11 +1158,11 @@ export var ViewOperationItem = function ViewOperationItem(props) {
|
|
|
1158
1158
|
};
|
|
1159
1159
|
export var BaseStyle = function BaseStyle(props) {
|
|
1160
1160
|
"use strict";
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1161
|
+
_classCallCheck(this, BaseStyle);
|
|
1162
|
+
_defineProperty(this, "width", void 0);
|
|
1163
|
+
_defineProperty(this, "height", void 0);
|
|
1164
|
+
_defineProperty(this, "widthConfig", void 0);
|
|
1165
|
+
_defineProperty(this, "heightConfig", void 0);
|
|
1166
1166
|
var _props_width;
|
|
1167
1167
|
this.width = (_props_width = props === null || props === void 0 ? void 0 : props.width) !== null && _props_width !== void 0 ? _props_width : "";
|
|
1168
1168
|
var _props_height;
|