@byteluck-fe/model-driven-core 2.7.0-alpha.13 → 2.7.0-alpha.15a
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/api-doc-index.js +4 -4
- package/dist/esm/common/BaseControl/designer.js +99 -243
- package/dist/esm/common/BaseControl/index.js +7 -7
- package/dist/esm/common/BaseControl/property.js +14 -42
- package/dist/esm/common/BaseControl/runtime.js +21 -41
- package/dist/esm/common/ColumnControl/designer.js +5 -19
- package/dist/esm/common/ColumnControl/index.js +6 -6
- package/dist/esm/common/ColumnControl/property.js +47 -95
- package/dist/esm/common/ColumnControl/runtime.js +5 -19
- package/dist/esm/common/ControlArray.js +21 -19
- package/dist/esm/common/FormControl/designer.js +10 -25
- package/dist/esm/common/FormControl/index.js +6 -6
- package/dist/esm/common/FormControl/property.js +95 -157
- package/dist/esm/common/FormControl/runtime.js +5 -20
- package/dist/esm/common/LayoutControl/designer.js +30 -158
- package/dist/esm/common/LayoutControl/index.js +6 -6
- package/dist/esm/common/LayoutControl/property.js +3 -3
- package/dist/esm/common/LayoutControl/runtime.js +7 -22
- package/dist/esm/common/ListControl/designer.js +29 -154
- package/dist/esm/common/ListControl/index.js +6 -6
- package/dist/esm/common/ListControl/property.js +6 -21
- package/dist/esm/common/ListControl/runtime.js +8 -23
- package/dist/esm/common/SearchViewControl/designer.js +5 -19
- package/dist/esm/common/SearchViewControl/index.js +6 -6
- package/dist/esm/common/SearchViewControl/property.js +4 -18
- package/dist/esm/common/SearchViewControl/runtime.js +5 -19
- package/dist/esm/common/Validator.js +5 -5
- package/dist/esm/common/WrapControl/designer.js +5 -19
- package/dist/esm/common/WrapControl/index.js +6 -6
- package/dist/esm/common/WrapControl/property.js +3 -3
- package/dist/esm/common/WrapControl/runtime.js +5 -19
- package/dist/esm/common/controlHooksEmitter.js +1 -1
- package/dist/esm/common/index.js +12 -12
- package/dist/esm/common/initLinkOperationRules.js +6 -6
- package/dist/esm/common/initOptionAndDataSourceRules.js +82 -82
- package/dist/esm/framework/RegisterControls.js +84 -33
- package/dist/esm/framework/index.js +332 -769
- package/dist/esm/index.js +4 -4
- package/dist/index.umd.js +1 -1
- package/dist/types/common/BaseControl/designer.d.ts +2 -5
- package/dist/types/common/BaseControl/property.d.ts +2 -0
- package/dist/types/common/BaseControl/runtime.d.ts +2 -1
- package/dist/types/common/ControlArray.d.ts +4 -3
- package/dist/types/common/ListControl/property.d.ts +1 -1
- package/dist/types/common/Validator.d.ts +1 -1
- package/dist/types/common/controlHooksEmitter.d.ts +1 -1
- package/dist/types/framework/RegisterControls.d.ts +4 -1
- package/dist/types/type.d.ts +23 -23
- package/package.json +3 -3
|
@@ -9,19 +9,6 @@ function _classCallCheck(instance, Constructor) {
|
|
|
9
9
|
throw new TypeError("Cannot call a class as a function");
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
|
-
function _defineProperty(obj, key, value) {
|
|
13
|
-
if (key in obj) {
|
|
14
|
-
Object.defineProperty(obj, key, {
|
|
15
|
-
value: value,
|
|
16
|
-
enumerable: true,
|
|
17
|
-
configurable: true,
|
|
18
|
-
writable: true
|
|
19
|
-
});
|
|
20
|
-
} else {
|
|
21
|
-
obj[key] = value;
|
|
22
|
-
}
|
|
23
|
-
return obj;
|
|
24
|
-
}
|
|
25
12
|
function _getPrototypeOf(o) {
|
|
26
13
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
27
14
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
@@ -82,53 +69,30 @@ function _createSuper(Derived) {
|
|
|
82
69
|
return _possibleConstructorReturn(this, result);
|
|
83
70
|
};
|
|
84
71
|
}
|
|
85
|
-
import { FieldTypes, genNonDuplicateId } from
|
|
86
|
-
export * from
|
|
72
|
+
import { FieldTypes, genNonDuplicateId } from '@byteluck-fe/model-driven-shared';
|
|
73
|
+
export * from './RegisterControls';
|
|
87
74
|
/**
|
|
88
75
|
* 数据绑定配置
|
|
89
76
|
* @public
|
|
90
77
|
*/ export var DataBind = function DataBind(props) {
|
|
91
78
|
"use strict";
|
|
92
79
|
_classCallCheck(this, DataBind);
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
* 字段编码
|
|
100
|
-
* @defaultValue ''
|
|
101
|
-
* @public
|
|
102
|
-
*/ _defineProperty(this, "fieldCode", void 0);
|
|
103
|
-
/**
|
|
104
|
-
* 字段类型
|
|
105
|
-
* @defaultValue ''
|
|
106
|
-
* @public
|
|
107
|
-
*/ _defineProperty(this, "fieldType", void 0);
|
|
108
|
-
/**
|
|
109
|
-
* 表别名
|
|
110
|
-
* @defaultValue undefined
|
|
111
|
-
* @public
|
|
112
|
-
*/ _defineProperty(this, "aliasCode", void 0);
|
|
113
|
-
var _props_dataCode;
|
|
114
|
-
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
|
|
115
|
-
var _props_fieldCode;
|
|
116
|
-
this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : "";
|
|
117
|
-
var _props_fieldType;
|
|
118
|
-
this.fieldType = (_props_fieldType = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _props_fieldType !== void 0 ? _props_fieldType : "";
|
|
80
|
+
var ref;
|
|
81
|
+
this.dataCode = (ref = props === null || props === void 0 ? void 0 : props.dataCode) !== null && ref !== void 0 ? ref : '';
|
|
82
|
+
var ref1;
|
|
83
|
+
this.fieldCode = (ref1 = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && ref1 !== void 0 ? ref1 : '';
|
|
84
|
+
var ref2;
|
|
85
|
+
this.fieldType = (ref2 = props === null || props === void 0 ? void 0 : props.fieldType) !== null && ref2 !== void 0 ? ref2 : '';
|
|
119
86
|
this.aliasCode = props === null || props === void 0 ? void 0 : props.aliasCode;
|
|
120
87
|
};
|
|
121
88
|
export var AutoWidth = function AutoWidth(props) {
|
|
122
89
|
"use strict";
|
|
123
90
|
_classCallCheck(this, AutoWidth);
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
_defineProperty(this, "flex", void 0);
|
|
127
|
-
var _props_minWidth;
|
|
128
|
-
this.minWidth = (_props_minWidth = props === null || props === void 0 ? void 0 : props.minWidth) !== null && _props_minWidth !== void 0 ? _props_minWidth : 150;
|
|
91
|
+
var ref;
|
|
92
|
+
this.minWidth = (ref = props === null || props === void 0 ? void 0 : props.minWidth) !== null && ref !== void 0 ? ref : 150;
|
|
129
93
|
this.maxWidth = props === null || props === void 0 ? void 0 : props.maxWidth;
|
|
130
|
-
var
|
|
131
|
-
this.flex = (
|
|
94
|
+
var ref3;
|
|
95
|
+
this.flex = (ref3 = props === null || props === void 0 ? void 0 : props.flex) !== null && ref3 !== void 0 ? ref3 : 1;
|
|
132
96
|
};
|
|
133
97
|
export var MetaWidth = /*#__PURE__*/ function(AutoWidth) {
|
|
134
98
|
"use strict";
|
|
@@ -138,12 +102,10 @@ export var MetaWidth = /*#__PURE__*/ function(AutoWidth) {
|
|
|
138
102
|
_classCallCheck(this, MetaWidth);
|
|
139
103
|
var _this;
|
|
140
104
|
_this = _super.call(this, props);
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
var
|
|
144
|
-
_this.
|
|
145
|
-
var _props_widthType;
|
|
146
|
-
_this.widthType = (_props_widthType = props === null || props === void 0 ? void 0 : props.widthType) !== null && _props_widthType !== void 0 ? _props_widthType : "auto";
|
|
105
|
+
var ref;
|
|
106
|
+
_this.width = (ref = props === null || props === void 0 ? void 0 : props.width) !== null && ref !== void 0 ? ref : 240;
|
|
107
|
+
var ref4;
|
|
108
|
+
_this.widthType = (ref4 = props === null || props === void 0 ? void 0 : props.widthType) !== null && ref4 !== void 0 ? ref4 : 'auto';
|
|
147
109
|
return _this;
|
|
148
110
|
}
|
|
149
111
|
return MetaWidth;
|
|
@@ -151,8 +113,6 @@ export var MetaWidth = /*#__PURE__*/ function(AutoWidth) {
|
|
|
151
113
|
export var MetaAutoWidth = function MetaAutoWidth(props) {
|
|
152
114
|
"use strict";
|
|
153
115
|
_classCallCheck(this, MetaAutoWidth);
|
|
154
|
-
_defineProperty(this, "pc", void 0);
|
|
155
|
-
_defineProperty(this, "mobile", void 0);
|
|
156
116
|
this.pc = new MetaWidth(props === null || props === void 0 ? void 0 : props.pc);
|
|
157
117
|
this.mobile = (props === null || props === void 0 ? void 0 : props.mobile) ? new MetaWidth(props === null || props === void 0 ? void 0 : props.mobile) : new MetaWidth({
|
|
158
118
|
width: 130,
|
|
@@ -162,25 +122,20 @@ export var MetaAutoWidth = function MetaAutoWidth(props) {
|
|
|
162
122
|
export var DataStorageDoc = function DataStorageDoc(props) {
|
|
163
123
|
"use strict";
|
|
164
124
|
_classCallCheck(this, DataStorageDoc);
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
var
|
|
168
|
-
this.
|
|
169
|
-
var _props_customOptions;
|
|
170
|
-
this.customOptions = (_props_customOptions = props === null || props === void 0 ? void 0 : props.customOptions) !== null && _props_customOptions !== void 0 ? _props_customOptions : [];
|
|
125
|
+
var ref;
|
|
126
|
+
this.type = (ref = props === null || props === void 0 ? void 0 : props.type) !== null && ref !== void 0 ? ref : 'firstThree';
|
|
127
|
+
var ref5;
|
|
128
|
+
this.customOptions = (ref5 = props === null || props === void 0 ? void 0 : props.customOptions) !== null && ref5 !== void 0 ? ref5 : [];
|
|
171
129
|
};
|
|
172
130
|
export var FormBind = function FormBind(props) {
|
|
173
131
|
"use strict";
|
|
174
132
|
_classCallCheck(this, FormBind);
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
this.formKey = (_props_formKey = props === null || props === void 0 ? void 0 : props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : "";
|
|
182
|
-
var _props_appId;
|
|
183
|
-
this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : "";
|
|
133
|
+
var ref;
|
|
134
|
+
this.dataCode = (ref = props === null || props === void 0 ? void 0 : props.dataCode) !== null && ref !== void 0 ? ref : '';
|
|
135
|
+
var ref6;
|
|
136
|
+
this.formKey = (ref6 = props === null || props === void 0 ? void 0 : props.formKey) !== null && ref6 !== void 0 ? ref6 : '';
|
|
137
|
+
var ref7;
|
|
138
|
+
this.appId = (ref7 = props === null || props === void 0 ? void 0 : props.appId) !== null && ref7 !== void 0 ? ref7 : '';
|
|
184
139
|
};
|
|
185
140
|
export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
186
141
|
"use strict";
|
|
@@ -190,65 +145,42 @@ export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
|
190
145
|
_classCallCheck(this, FormSelectBind);
|
|
191
146
|
var _this;
|
|
192
147
|
_this = _super.call(this, props);
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
_this.primaryControlId = (_props_primaryControlId = props === null || props === void 0 ? void 0 : props.primaryControlId) !== null && _props_primaryControlId !== void 0 ? _props_primaryControlId : "";
|
|
148
|
+
var ref;
|
|
149
|
+
_this.primaryControlId = (ref = props === null || props === void 0 ? void 0 : props.primaryControlId) !== null && ref !== void 0 ? ref : '';
|
|
196
150
|
return _this;
|
|
197
151
|
}
|
|
198
152
|
return FormSelectBind;
|
|
199
153
|
}(FormBind);
|
|
200
|
-
|
|
201
|
-
* 列表绑定字段项
|
|
202
|
-
* @public
|
|
203
|
-
*/ var ListBindHeaderItem = function ListBindHeaderItem(props) {
|
|
154
|
+
var ListBindHeaderItem = function ListBindHeaderItem(props) {
|
|
204
155
|
"use strict";
|
|
205
156
|
_classCallCheck(this, ListBindHeaderItem);
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
* @defaultValue ''
|
|
209
|
-
*/ _defineProperty(this, "fieldCode", void 0);
|
|
210
|
-
var _props_fieldCode;
|
|
211
|
-
this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : "";
|
|
157
|
+
var ref;
|
|
158
|
+
this.fieldCode = (ref = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && ref !== void 0 ? ref : '';
|
|
212
159
|
};
|
|
213
160
|
/**
|
|
214
161
|
* 列表绑定配置
|
|
215
162
|
*/ export var ListBind = function ListBind(props) {
|
|
216
163
|
"use strict";
|
|
217
164
|
_classCallCheck(this, ListBind);
|
|
218
|
-
var
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
* @public
|
|
226
|
-
*/ _defineProperty(this, "formKey", void 0);
|
|
227
|
-
/**
|
|
228
|
-
* 显示字段
|
|
229
|
-
* @public
|
|
230
|
-
*/ _defineProperty(this, "headers", void 0);
|
|
231
|
-
var _props_appId;
|
|
232
|
-
this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : "";
|
|
233
|
-
var _props_formKey;
|
|
234
|
-
this.formKey = (_props_formKey = props === null || props === void 0 ? void 0 : props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : "";
|
|
235
|
-
var _props_headers_map;
|
|
236
|
-
this.headers = (_props_headers_map = props === null || props === void 0 ? void 0 : (_props_headers = props.headers) === null || _props_headers === void 0 ? void 0 : _props_headers.map(function(item) {
|
|
165
|
+
var ref;
|
|
166
|
+
var ref8;
|
|
167
|
+
this.appId = (ref8 = props === null || props === void 0 ? void 0 : props.appId) !== null && ref8 !== void 0 ? ref8 : '';
|
|
168
|
+
var ref9;
|
|
169
|
+
this.formKey = (ref9 = props === null || props === void 0 ? void 0 : props.formKey) !== null && ref9 !== void 0 ? ref9 : '';
|
|
170
|
+
var ref10;
|
|
171
|
+
this.headers = (ref10 = props === null || props === void 0 ? void 0 : (ref = props.headers) === null || ref === void 0 ? void 0 : ref.map(function(item) {
|
|
237
172
|
return new ListBindHeaderItem(item);
|
|
238
|
-
})) !== null &&
|
|
173
|
+
})) !== null && ref10 !== void 0 ? ref10 : [];
|
|
239
174
|
};
|
|
240
175
|
export var FieldBindItem = function FieldBindItem(props) {
|
|
241
176
|
"use strict";
|
|
242
177
|
_classCallCheck(this, FieldBindItem);
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : "";
|
|
250
|
-
var _props_fieldType;
|
|
251
|
-
this.fieldType = (_props_fieldType = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _props_fieldType !== void 0 ? _props_fieldType : FieldTypes.VARCHAR;
|
|
178
|
+
var ref;
|
|
179
|
+
this.fieldName = (ref = props === null || props === void 0 ? void 0 : props.fieldName) !== null && ref !== void 0 ? ref : '';
|
|
180
|
+
var ref11;
|
|
181
|
+
this.fieldCode = (ref11 = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && ref11 !== void 0 ? ref11 : '';
|
|
182
|
+
var ref12;
|
|
183
|
+
this.fieldType = (ref12 = props === null || props === void 0 ? void 0 : props.fieldType) !== null && ref12 !== void 0 ? ref12 : FieldTypes.VARCHAR;
|
|
252
184
|
};
|
|
253
185
|
export var SubListItem = /*#__PURE__*/ function(FormBind) {
|
|
254
186
|
"use strict";
|
|
@@ -258,18 +190,14 @@ export var SubListItem = /*#__PURE__*/ function(FormBind) {
|
|
|
258
190
|
_classCallCheck(this, SubListItem);
|
|
259
191
|
var _this;
|
|
260
192
|
_this = _super.call(this, props);
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
var
|
|
266
|
-
_this.
|
|
267
|
-
var
|
|
268
|
-
_this.
|
|
269
|
-
var _props_isOpenFilter;
|
|
270
|
-
_this.isOpenFilter = (_props_isOpenFilter = props === null || props === void 0 ? void 0 : props.isOpenFilter) !== null && _props_isOpenFilter !== void 0 ? _props_isOpenFilter : false;
|
|
271
|
-
var _props_filters;
|
|
272
|
-
_this.filters = (_props_filters = props === null || props === void 0 ? void 0 : props.filters) !== null && _props_filters !== void 0 ? _props_filters : [];
|
|
193
|
+
var ref;
|
|
194
|
+
_this.title = (ref = props === null || props === void 0 ? void 0 : props.title) !== null && ref !== void 0 ? ref : '';
|
|
195
|
+
var ref13;
|
|
196
|
+
_this.svcCode = (ref13 = props === null || props === void 0 ? void 0 : props.svcCode) !== null && ref13 !== void 0 ? ref13 : '';
|
|
197
|
+
var ref14;
|
|
198
|
+
_this.isOpenFilter = (ref14 = props === null || props === void 0 ? void 0 : props.isOpenFilter) !== null && ref14 !== void 0 ? ref14 : false;
|
|
199
|
+
var ref15;
|
|
200
|
+
_this.filters = (ref15 = props === null || props === void 0 ? void 0 : props.filters) !== null && ref15 !== void 0 ? ref15 : [];
|
|
273
201
|
return _this;
|
|
274
202
|
}
|
|
275
203
|
return SubListItem;
|
|
@@ -277,92 +205,64 @@ export var SubListItem = /*#__PURE__*/ function(FormBind) {
|
|
|
277
205
|
export var SubListPageConfig = function SubListPageConfig(props) {
|
|
278
206
|
"use strict";
|
|
279
207
|
_classCallCheck(this, SubListPageConfig);
|
|
280
|
-
var
|
|
281
|
-
|
|
282
|
-
_defineProperty(this, "formBind", void 0);
|
|
283
|
-
_defineProperty(this, "displayFields", void 0);
|
|
284
|
-
_defineProperty(this, "sublists", void 0);
|
|
208
|
+
var ref, ref16;
|
|
209
|
+
this.type = 'sublist-page';
|
|
285
210
|
this.formBind = new FormBind(props === null || props === void 0 ? void 0 : props.formBind);
|
|
286
|
-
var
|
|
287
|
-
this.displayFields = (
|
|
211
|
+
var ref17;
|
|
212
|
+
this.displayFields = (ref17 = props === null || props === void 0 ? void 0 : (ref = props.displayFields) === null || ref === void 0 ? void 0 : ref.map(function(item) {
|
|
288
213
|
return new FieldBindItem(item);
|
|
289
|
-
})) !== null &&
|
|
290
|
-
var
|
|
291
|
-
this.sublists = (
|
|
214
|
+
})) !== null && ref17 !== void 0 ? ref17 : [];
|
|
215
|
+
var ref18;
|
|
216
|
+
this.sublists = (ref18 = props === null || props === void 0 ? void 0 : (ref16 = props.sublists) === null || ref16 === void 0 ? void 0 : ref16.map(function(item) {
|
|
292
217
|
return new SubListItem(item);
|
|
293
|
-
})) !== null &&
|
|
218
|
+
})) !== null && ref18 !== void 0 ? ref18 : [];
|
|
294
219
|
};
|
|
295
220
|
export var LeftVariable = function LeftVariable(props) {
|
|
296
221
|
"use strict";
|
|
297
222
|
_classCallCheck(this, LeftVariable);
|
|
298
|
-
_defineProperty(this, "type", void 0);
|
|
299
|
-
_defineProperty(this, "value", void 0);
|
|
300
223
|
this.type = props === null || props === void 0 ? void 0 : props.type;
|
|
301
224
|
this.value = props === null || props === void 0 ? void 0 : props.value;
|
|
302
225
|
};
|
|
303
226
|
export var RightVariable = function RightVariable(props) {
|
|
304
227
|
"use strict";
|
|
305
228
|
_classCallCheck(this, RightVariable);
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
this.value = (_props_value = props === null || props === void 0 ? void 0 : props.value) !== null && _props_value !== void 0 ? _props_value : [];
|
|
313
|
-
var _props_displayBos;
|
|
314
|
-
this.displayBos = (_props_displayBos = props === null || props === void 0 ? void 0 : props.displayBos) !== null && _props_displayBos !== void 0 ? _props_displayBos : [];
|
|
229
|
+
var ref;
|
|
230
|
+
this.type = (ref = props === null || props === void 0 ? void 0 : props.type) !== null && ref !== void 0 ? ref : 'custom';
|
|
231
|
+
var ref19;
|
|
232
|
+
this.value = (ref19 = props === null || props === void 0 ? void 0 : props.value) !== null && ref19 !== void 0 ? ref19 : [];
|
|
233
|
+
var ref20;
|
|
234
|
+
this.displayBos = (ref20 = props === null || props === void 0 ? void 0 : props.displayBos) !== null && ref20 !== void 0 ? ref20 : [];
|
|
315
235
|
};
|
|
316
236
|
/**
|
|
317
237
|
* 连接符条件
|
|
318
238
|
* @public
|
|
319
239
|
*/ export var FieldFilterConditions = function FieldFilterConditions(props) {
|
|
320
240
|
"use strict";
|
|
321
|
-
var _this = this;
|
|
322
241
|
_classCallCheck(this, FieldFilterConditions);
|
|
323
242
|
/**
|
|
324
|
-
* 编号
|
|
325
|
-
* @defaultValue ''
|
|
326
|
-
*/ _defineProperty(this, "id", void 0);
|
|
327
|
-
/**
|
|
328
|
-
* 规则编号
|
|
329
|
-
* @defaultValue Timestamp
|
|
330
|
-
*/ _defineProperty(this, "ruleId", void 0);
|
|
331
|
-
/**
|
|
332
243
|
* 类型:连接符条件
|
|
333
244
|
* @defaultValue 'conditions'
|
|
334
|
-
*/
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
/**
|
|
344
|
-
* 包含子项
|
|
345
|
-
* @defaultValue []
|
|
346
|
-
*/ _defineProperty(this, "children", void 0);
|
|
347
|
-
var _props_id;
|
|
348
|
-
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId();
|
|
349
|
-
var _props_ruleId;
|
|
350
|
-
this.ruleId = (_props_ruleId = props === null || props === void 0 ? void 0 : props.ruleId) !== null && _props_ruleId !== void 0 ? _props_ruleId : new Date().valueOf();
|
|
351
|
-
var _props_level;
|
|
352
|
-
this.level = (_props_level = props === null || props === void 0 ? void 0 : props.level) !== null && _props_level !== void 0 ? _props_level : 0;
|
|
353
|
-
var _props_value;
|
|
354
|
-
this.value = (_props_value = props === null || props === void 0 ? void 0 : props.value) !== null && _props_value !== void 0 ? _props_value : "and";
|
|
245
|
+
*/ this.type = 'conditions';
|
|
246
|
+
var ref25;
|
|
247
|
+
this.id = (ref25 = props === null || props === void 0 ? void 0 : props.id) !== null && ref25 !== void 0 ? ref25 : genNonDuplicateId();
|
|
248
|
+
var ref21;
|
|
249
|
+
this.ruleId = (ref21 = props === null || props === void 0 ? void 0 : props.ruleId) !== null && ref21 !== void 0 ? ref21 : new Date().valueOf();
|
|
250
|
+
var ref22;
|
|
251
|
+
this.level = (ref22 = props === null || props === void 0 ? void 0 : props.level) !== null && ref22 !== void 0 ? ref22 : 0;
|
|
252
|
+
var ref23;
|
|
253
|
+
this.value = (ref23 = props === null || props === void 0 ? void 0 : props.value) !== null && ref23 !== void 0 ? ref23 : 'and';
|
|
355
254
|
this.children = [];
|
|
356
255
|
if (Array.isArray(props === null || props === void 0 ? void 0 : props.children)) {
|
|
256
|
+
var _this = this;
|
|
357
257
|
props === null || props === void 0 ? void 0 : props.children.map(function(item) {
|
|
358
258
|
if (item.children !== undefined) {
|
|
359
|
-
var
|
|
259
|
+
var ref;
|
|
360
260
|
var filter = new FieldFilterConditions(item);
|
|
361
|
-
(
|
|
261
|
+
(ref = _this.children) === null || ref === void 0 ? void 0 : ref.push(filter);
|
|
362
262
|
} else {
|
|
363
|
-
var
|
|
263
|
+
var ref24;
|
|
364
264
|
var filter1 = new FieldFilterCondition(item);
|
|
365
|
-
(
|
|
265
|
+
(ref24 = _this.children) === null || ref24 === void 0 ? void 0 : ref24.push(filter1);
|
|
366
266
|
}
|
|
367
267
|
});
|
|
368
268
|
}
|
|
@@ -374,52 +274,30 @@ export var RightVariable = function RightVariable(props) {
|
|
|
374
274
|
"use strict";
|
|
375
275
|
_classCallCheck(this, FieldFilterCondition);
|
|
376
276
|
/**
|
|
377
|
-
* 唯一编号
|
|
378
|
-
* @defaultValue ''
|
|
379
|
-
*/ _defineProperty(this, "id", void 0);
|
|
380
|
-
/**
|
|
381
|
-
* 规则编号
|
|
382
|
-
* @defaultValue Timestamp
|
|
383
|
-
*/ _defineProperty(this, "ruleId", void 0);
|
|
384
|
-
/**
|
|
385
277
|
* 类型
|
|
386
278
|
* @defaultValue 'condition'
|
|
387
|
-
*/
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
*/ _defineProperty(this, "rightVariableBo", void 0);
|
|
399
|
-
var _props_id;
|
|
400
|
-
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId();
|
|
401
|
-
var _props_ruleId;
|
|
402
|
-
this.ruleId = (_props_ruleId = props === null || props === void 0 ? void 0 : props.ruleId) !== null && _props_ruleId !== void 0 ? _props_ruleId : new Date().valueOf();
|
|
403
|
-
var _props_symbol;
|
|
404
|
-
this.symbol = (_props_symbol = props === null || props === void 0 ? void 0 : props.symbol) !== null && _props_symbol !== void 0 ? _props_symbol : "";
|
|
405
|
-
var _props_checked;
|
|
406
|
-
this.checked = (_props_checked = props === null || props === void 0 ? void 0 : props.checked) !== null && _props_checked !== void 0 ? _props_checked : false;
|
|
407
|
-
var _props_describe;
|
|
408
|
-
this.describe = (_props_describe = props === null || props === void 0 ? void 0 : props.describe) !== null && _props_describe !== void 0 ? _props_describe : "";
|
|
279
|
+
*/ this.type = 'condition';
|
|
280
|
+
var ref;
|
|
281
|
+
this.id = (ref = props === null || props === void 0 ? void 0 : props.id) !== null && ref !== void 0 ? ref : genNonDuplicateId();
|
|
282
|
+
var ref26;
|
|
283
|
+
this.ruleId = (ref26 = props === null || props === void 0 ? void 0 : props.ruleId) !== null && ref26 !== void 0 ? ref26 : new Date().valueOf();
|
|
284
|
+
var ref27;
|
|
285
|
+
this.symbol = (ref27 = props === null || props === void 0 ? void 0 : props.symbol) !== null && ref27 !== void 0 ? ref27 : '';
|
|
286
|
+
var ref28;
|
|
287
|
+
this.checked = (ref28 = props === null || props === void 0 ? void 0 : props.checked) !== null && ref28 !== void 0 ? ref28 : false;
|
|
288
|
+
var ref29;
|
|
289
|
+
this.describe = (ref29 = props === null || props === void 0 ? void 0 : props.describe) !== null && ref29 !== void 0 ? ref29 : '';
|
|
409
290
|
this.leftVariableBo = new LeftVariable(props === null || props === void 0 ? void 0 : props.leftVariableBo);
|
|
410
291
|
this.rightVariableBo = new RightVariable(props === null || props === void 0 ? void 0 : props.rightVariableBo);
|
|
411
292
|
};
|
|
412
293
|
export var JoinRelation = function JoinRelation(props) {
|
|
413
294
|
"use strict";
|
|
414
295
|
_classCallCheck(this, JoinRelation);
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
_defineProperty(this, "relationFields", void 0);
|
|
418
|
-
var _props_aliasCode;
|
|
419
|
-
this.aliasCode = (_props_aliasCode = props === null || props === void 0 ? void 0 : props.aliasCode) !== null && _props_aliasCode !== void 0 ? _props_aliasCode : "";
|
|
296
|
+
var ref;
|
|
297
|
+
this.aliasCode = (ref = props === null || props === void 0 ? void 0 : props.aliasCode) !== null && ref !== void 0 ? ref : '';
|
|
420
298
|
this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
|
|
421
|
-
var
|
|
422
|
-
this.relationFields = (
|
|
299
|
+
var ref30;
|
|
300
|
+
this.relationFields = (ref30 = props === null || props === void 0 ? void 0 : props.relationFields) !== null && ref30 !== void 0 ? ref30 : [];
|
|
423
301
|
};
|
|
424
302
|
/**
|
|
425
303
|
* 数据填充项
|
|
@@ -427,34 +305,14 @@ export var JoinRelation = function JoinRelation(props) {
|
|
|
427
305
|
*/ export var MultistageFillingItem = function MultistageFillingItem(props) {
|
|
428
306
|
"use strict";
|
|
429
307
|
_classCallCheck(this, MultistageFillingItem);
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
* @public
|
|
439
|
-
*/ _defineProperty(this, "fieldCode", void 0);
|
|
440
|
-
/**
|
|
441
|
-
* 字段类型。事件在填充时,需要根据数据类型进行判断处理动作。
|
|
442
|
-
* @defaultValue ''
|
|
443
|
-
* @public
|
|
444
|
-
*/ _defineProperty(this, "fieldType", void 0);
|
|
445
|
-
/**
|
|
446
|
-
* 属性名称。如果是ObjectDataBind的控件,可以指定填充到哪个数据项。
|
|
447
|
-
* @defaultValue ''
|
|
448
|
-
* @public
|
|
449
|
-
* */ _defineProperty(this, "propName", void 0);
|
|
450
|
-
var _props_controlId;
|
|
451
|
-
this.controlId = (_props_controlId = props === null || props === void 0 ? void 0 : props.controlId) !== null && _props_controlId !== void 0 ? _props_controlId : "";
|
|
452
|
-
var _props_fieldCode;
|
|
453
|
-
this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : "";
|
|
454
|
-
var _props_fieldType;
|
|
455
|
-
this.fieldType = (_props_fieldType = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _props_fieldType !== void 0 ? _props_fieldType : "";
|
|
456
|
-
var _props_propName;
|
|
457
|
-
this.propName = (_props_propName = props === null || props === void 0 ? void 0 : props.propName) !== null && _props_propName !== void 0 ? _props_propName : "";
|
|
308
|
+
var ref;
|
|
309
|
+
this.controlId = (ref = props === null || props === void 0 ? void 0 : props.controlId) !== null && ref !== void 0 ? ref : '';
|
|
310
|
+
var ref31;
|
|
311
|
+
this.fieldCode = (ref31 = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && ref31 !== void 0 ? ref31 : '';
|
|
312
|
+
var ref32;
|
|
313
|
+
this.fieldType = (ref32 = props === null || props === void 0 ? void 0 : props.fieldType) !== null && ref32 !== void 0 ? ref32 : '';
|
|
314
|
+
var ref33;
|
|
315
|
+
this.propName = (ref33 = props === null || props === void 0 ? void 0 : props.propName) !== null && ref33 !== void 0 ? ref33 : '';
|
|
458
316
|
};
|
|
459
317
|
/**
|
|
460
318
|
* 显示项
|
|
@@ -462,21 +320,10 @@ export var JoinRelation = function JoinRelation(props) {
|
|
|
462
320
|
*/ export var DisplayBoListItem = function DisplayBoListItem(props) {
|
|
463
321
|
"use strict";
|
|
464
322
|
_classCallCheck(this, DisplayBoListItem);
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
*/ _defineProperty(this, "type", void 0);
|
|
470
|
-
/**
|
|
471
|
-
* 值
|
|
472
|
-
*/ _defineProperty(this, "value", void 0);
|
|
473
|
-
/**
|
|
474
|
-
* 字段数据类型
|
|
475
|
-
*/ _defineProperty(this, "fieldType", void 0);
|
|
476
|
-
var _props_type;
|
|
477
|
-
this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "FIELD";
|
|
478
|
-
var _props_value;
|
|
479
|
-
this.value = (_props_value = props === null || props === void 0 ? void 0 : props.value) !== null && _props_value !== void 0 ? _props_value : "";
|
|
323
|
+
var ref;
|
|
324
|
+
this.type = (ref = props === null || props === void 0 ? void 0 : props.type) !== null && ref !== void 0 ? ref : 'FIELD';
|
|
325
|
+
var ref34;
|
|
326
|
+
this.value = (ref34 = props === null || props === void 0 ? void 0 : props.value) !== null && ref34 !== void 0 ? ref34 : '';
|
|
480
327
|
this.fieldType = props === null || props === void 0 ? void 0 : props.fieldType;
|
|
481
328
|
};
|
|
482
329
|
/**
|
|
@@ -485,84 +332,63 @@ export var JoinRelation = function JoinRelation(props) {
|
|
|
485
332
|
*/ export var DataSourceOrderItem = function DataSourceOrderItem(props) {
|
|
486
333
|
"use strict";
|
|
487
334
|
_classCallCheck(this, DataSourceOrderItem);
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
/**
|
|
493
|
-
* 倒序
|
|
494
|
-
* @defaultValue false
|
|
495
|
-
*/ _defineProperty(this, "desc", void 0);
|
|
496
|
-
var _props_columnName;
|
|
497
|
-
this.columnName = (_props_columnName = props.columnName) !== null && _props_columnName !== void 0 ? _props_columnName : "";
|
|
498
|
-
var _props_desc;
|
|
499
|
-
this.desc = (_props_desc = props.desc) !== null && _props_desc !== void 0 ? _props_desc : false;
|
|
335
|
+
var _columnName;
|
|
336
|
+
this.columnName = (_columnName = props.columnName) !== null && _columnName !== void 0 ? _columnName : '';
|
|
337
|
+
var _desc;
|
|
338
|
+
this.desc = (_desc = props.desc) !== null && _desc !== void 0 ? _desc : false;
|
|
500
339
|
};
|
|
501
340
|
export var DataSourceDataSetValue = function DataSourceDataSetValue(props) {
|
|
502
341
|
"use strict";
|
|
503
342
|
_classCallCheck(this, DataSourceDataSetValue);
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
var _props_code;
|
|
511
|
-
this.code = (_props_code = props.code) !== null && _props_code !== void 0 ? _props_code : "";
|
|
512
|
-
var _props_value;
|
|
513
|
-
this.value = (_props_value = props.value) !== null && _props_value !== void 0 ? _props_value : "";
|
|
514
|
-
var _props_field_type;
|
|
515
|
-
this.field_type = (_props_field_type = props.field_type) !== null && _props_field_type !== void 0 ? _props_field_type : FieldTypes.ANY;
|
|
343
|
+
var _code;
|
|
344
|
+
this.code = (_code = props.code) !== null && _code !== void 0 ? _code : '';
|
|
345
|
+
var _value;
|
|
346
|
+
this.value = (_value = props.value) !== null && _value !== void 0 ? _value : '';
|
|
347
|
+
var _field_type;
|
|
348
|
+
this.field_type = (_field_type = props.field_type) !== null && _field_type !== void 0 ? _field_type : FieldTypes.ANY;
|
|
516
349
|
};
|
|
517
350
|
export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
518
351
|
"use strict";
|
|
519
352
|
_classCallCheck(this, DataSourceParamItem);
|
|
520
|
-
var
|
|
521
|
-
|
|
522
|
-
* 字段ID
|
|
523
|
-
*/ _defineProperty(this, "id", void 0);
|
|
524
|
-
_defineProperty(this, "limit", void 0);
|
|
525
|
-
_defineProperty(this, "orders", void 0);
|
|
526
|
-
_defineProperty(this, "formKey", void 0);
|
|
527
|
-
_defineProperty(this, "dataSet", void 0);
|
|
528
|
-
var _props_id;
|
|
353
|
+
var ref, ref35;
|
|
354
|
+
var _id;
|
|
529
355
|
//字段ID,不可以当作随机数生成唯一编号
|
|
530
|
-
this.id = (
|
|
531
|
-
var
|
|
532
|
-
this.limit = (
|
|
533
|
-
var
|
|
534
|
-
this.formKey = (
|
|
535
|
-
var
|
|
536
|
-
this.orders = (
|
|
356
|
+
this.id = (_id = props.id) !== null && _id !== void 0 ? _id : '';
|
|
357
|
+
var _limit;
|
|
358
|
+
this.limit = (_limit = props.limit) !== null && _limit !== void 0 ? _limit : 20;
|
|
359
|
+
var _formKey;
|
|
360
|
+
this.formKey = (_formKey = props.formKey) !== null && _formKey !== void 0 ? _formKey : '';
|
|
361
|
+
var ref36;
|
|
362
|
+
this.orders = (ref36 = (ref = props.orders) === null || ref === void 0 ? void 0 : ref.map(function(item) {
|
|
537
363
|
return new DataSourceOrderItem(item);
|
|
538
|
-
})) !== null &&
|
|
539
|
-
var
|
|
540
|
-
this.dataSet = (
|
|
364
|
+
})) !== null && ref36 !== void 0 ? ref36 : [];
|
|
365
|
+
var ref37;
|
|
366
|
+
this.dataSet = (ref37 = (ref35 = props.dataSet) === null || ref35 === void 0 ? void 0 : ref35.map(function(item) {
|
|
541
367
|
return new DataSourceDataSetValue(item);
|
|
542
|
-
})) !== null &&
|
|
368
|
+
})) !== null && ref37 !== void 0 ? ref37 : [];
|
|
543
369
|
};
|
|
544
370
|
/**
|
|
545
371
|
* 给filters和orders赋值
|
|
546
372
|
* */ function callFiltersAndOrders(props) {
|
|
547
|
-
var
|
|
548
|
-
var
|
|
549
|
-
this.filters = (
|
|
373
|
+
var ref, ref38, ref39, ref40;
|
|
374
|
+
var ref41;
|
|
375
|
+
this.filters = (ref41 = props === null || props === void 0 ? void 0 : (ref = props.filters) === null || ref === void 0 ? void 0 : ref.map(function(item) {
|
|
550
376
|
if (item.children !== undefined) {
|
|
551
377
|
return new FieldFilterConditions(item);
|
|
552
378
|
}
|
|
553
379
|
return new FieldFilterCondition(item);
|
|
554
|
-
})) !== null &&
|
|
555
|
-
var
|
|
556
|
-
this.viewFilters = (
|
|
380
|
+
})) !== null && ref41 !== void 0 ? ref41 : [];
|
|
381
|
+
var ref42;
|
|
382
|
+
this.viewFilters = (ref42 = props === null || props === void 0 ? void 0 : (ref38 = props.viewFilters) === null || ref38 === void 0 ? void 0 : ref38.map(function(item) {
|
|
557
383
|
if (item.children !== undefined) {
|
|
558
384
|
return new FieldFilterConditions(item);
|
|
559
385
|
}
|
|
560
386
|
return new FieldFilterCondition(item);
|
|
561
|
-
})) !== null &&
|
|
562
|
-
var
|
|
563
|
-
this.orders = (
|
|
387
|
+
})) !== null && ref42 !== void 0 ? ref42 : [];
|
|
388
|
+
var ref43;
|
|
389
|
+
this.orders = (ref43 = (ref39 = props) === null || ref39 === void 0 ? void 0 : (ref40 = ref39.orders) === null || ref40 === void 0 ? void 0 : ref40.map(function(item) {
|
|
564
390
|
return new DataSourceOrderItem(item);
|
|
565
|
-
})) !== null &&
|
|
391
|
+
})) !== null && ref43 !== void 0 ? ref43 : [];
|
|
566
392
|
// }
|
|
567
393
|
}
|
|
568
394
|
/**
|
|
@@ -570,154 +396,75 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
|
570
396
|
* @public
|
|
571
397
|
*/ export var DataSourceBind = function DataSourceBind(props) {
|
|
572
398
|
"use strict";
|
|
573
|
-
var _this = this;
|
|
574
399
|
_classCallCheck(this, DataSourceBind);
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
* 存储值
|
|
582
|
-
* @defaultValue ''
|
|
583
|
-
* @public
|
|
584
|
-
*/ _defineProperty(this, "valueFieldCode", void 0);
|
|
585
|
-
/**
|
|
586
|
-
* 显示值
|
|
587
|
-
* @defaultValue []
|
|
588
|
-
* @public
|
|
589
|
-
*/ _defineProperty(this, "displayBoList", void 0);
|
|
590
|
-
/**
|
|
591
|
-
* 查询关键字参数映射
|
|
592
|
-
* @defaultValue ''
|
|
593
|
-
* @public
|
|
594
|
-
*/ _defineProperty(this, "keywordMapping", void 0);
|
|
595
|
-
/**
|
|
596
|
-
* 绑定服务
|
|
597
|
-
* @defaultValue ''
|
|
598
|
-
* @public
|
|
599
|
-
*/ _defineProperty(this, "svcCode", void 0);
|
|
600
|
-
/**
|
|
601
|
-
* 应用Id
|
|
602
|
-
* @defaultValue ''
|
|
603
|
-
* @public
|
|
604
|
-
*/ _defineProperty(this, "appId", void 0);
|
|
605
|
-
/**
|
|
606
|
-
* 过滤条件
|
|
607
|
-
* @defaultValue []
|
|
608
|
-
* @public
|
|
609
|
-
*/ _defineProperty(this, "filters", void 0);
|
|
610
|
-
// 过滤
|
|
611
|
-
/**
|
|
612
|
-
* 过滤条件-查看过滤
|
|
613
|
-
* @defaultValue []
|
|
614
|
-
* @public
|
|
615
|
-
*/ _defineProperty(this, "viewFilters", void 0);
|
|
616
|
-
/**
|
|
617
|
-
* 是否开启查看过滤
|
|
618
|
-
* @defaultValue 0:未开启;1:开启
|
|
619
|
-
* @public
|
|
620
|
-
*/ _defineProperty(this, "isOpenViewFilters", void 0);
|
|
621
|
-
/**
|
|
622
|
-
* 排序
|
|
623
|
-
* @defaultValue []
|
|
624
|
-
* @public
|
|
625
|
-
*/ _defineProperty(this, "orders", void 0);
|
|
626
|
-
/**
|
|
627
|
-
* 显示排序
|
|
628
|
-
* @defaultValue true
|
|
629
|
-
* @public
|
|
630
|
-
*/ _defineProperty(this, "showOrder", void 0);
|
|
631
|
-
var _props_dataCode;
|
|
632
|
-
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
|
|
633
|
-
var _props_appId;
|
|
634
|
-
this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : "";
|
|
635
|
-
var _props_valueFieldCode;
|
|
636
|
-
this.valueFieldCode = (_props_valueFieldCode = props === null || props === void 0 ? void 0 : props.valueFieldCode) !== null && _props_valueFieldCode !== void 0 ? _props_valueFieldCode : "";
|
|
400
|
+
var ref50;
|
|
401
|
+
this.dataCode = (ref50 = props === null || props === void 0 ? void 0 : props.dataCode) !== null && ref50 !== void 0 ? ref50 : '';
|
|
402
|
+
var ref44;
|
|
403
|
+
this.appId = (ref44 = props === null || props === void 0 ? void 0 : props.appId) !== null && ref44 !== void 0 ? ref44 : '';
|
|
404
|
+
var ref45;
|
|
405
|
+
this.valueFieldCode = (ref45 = props === null || props === void 0 ? void 0 : props.valueFieldCode) !== null && ref45 !== void 0 ? ref45 : '';
|
|
637
406
|
this.displayBoList = [];
|
|
638
|
-
var
|
|
639
|
-
this.isOpenViewFilters = (
|
|
407
|
+
var ref46;
|
|
408
|
+
this.isOpenViewFilters = (ref46 = props === null || props === void 0 ? void 0 : props.isOpenViewFilters) !== null && ref46 !== void 0 ? ref46 : 0;
|
|
640
409
|
if (Array.isArray(props === null || props === void 0 ? void 0 : props.displayBoList)) {
|
|
410
|
+
var _this = this;
|
|
641
411
|
props === null || props === void 0 ? void 0 : props.displayBoList.map(function(item) {
|
|
642
|
-
var
|
|
643
|
-
(
|
|
412
|
+
var ref;
|
|
413
|
+
(ref = _this.displayBoList) === null || ref === void 0 ? void 0 : ref.push(new DisplayBoListItem(item));
|
|
644
414
|
});
|
|
645
415
|
}
|
|
646
|
-
var
|
|
647
|
-
this.keywordMapping = (
|
|
648
|
-
var
|
|
649
|
-
this.showOrder = (
|
|
650
|
-
var
|
|
651
|
-
this.svcCode = (
|
|
416
|
+
var ref47;
|
|
417
|
+
this.keywordMapping = (ref47 = props === null || props === void 0 ? void 0 : props.keywordMapping) !== null && ref47 !== void 0 ? ref47 : '';
|
|
418
|
+
var ref48;
|
|
419
|
+
this.showOrder = (ref48 = props === null || props === void 0 ? void 0 : props.showOrder) !== null && ref48 !== void 0 ? ref48 : true;
|
|
420
|
+
var ref49;
|
|
421
|
+
this.svcCode = (ref49 = props === null || props === void 0 ? void 0 : props.svcCode) !== null && ref49 !== void 0 ? ref49 : '';
|
|
652
422
|
callFiltersAndOrders.call(this, props);
|
|
653
423
|
};
|
|
654
424
|
export var SelectedContentConfig = function SelectedContentConfig(props) {
|
|
655
425
|
"use strict";
|
|
656
426
|
_classCallCheck(this, SelectedContentConfig);
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
*/ _defineProperty(this, "dataCode", void 0);
|
|
662
|
-
/**
|
|
663
|
-
* 展示已选明细
|
|
664
|
-
* @defaultValue []
|
|
665
|
-
* @public
|
|
666
|
-
*/ _defineProperty(this, "displayBoList", void 0);
|
|
667
|
-
var _props_dataCode;
|
|
668
|
-
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
|
|
669
|
-
var _props_displayBoList;
|
|
670
|
-
this.displayBoList = (_props_displayBoList = props === null || props === void 0 ? void 0 : props.displayBoList) !== null && _props_displayBoList !== void 0 ? _props_displayBoList : [];
|
|
427
|
+
var ref;
|
|
428
|
+
this.dataCode = (ref = props === null || props === void 0 ? void 0 : props.dataCode) !== null && ref !== void 0 ? ref : '';
|
|
429
|
+
var ref51;
|
|
430
|
+
this.displayBoList = (ref51 = props === null || props === void 0 ? void 0 : props.displayBoList) !== null && ref51 !== void 0 ? ref51 : [];
|
|
671
431
|
};
|
|
672
432
|
export var LinkOperationOption = function LinkOperationOption(props) {
|
|
673
433
|
"use strict";
|
|
674
434
|
_classCallCheck(this, LinkOperationOption);
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
var
|
|
686
|
-
this.
|
|
687
|
-
var
|
|
688
|
-
this.
|
|
689
|
-
var
|
|
690
|
-
this.
|
|
691
|
-
var
|
|
692
|
-
this.
|
|
693
|
-
var
|
|
694
|
-
this.
|
|
695
|
-
var _props_formKey;
|
|
696
|
-
this.formKey = (_props_formKey = props === null || props === void 0 ? void 0 : props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : undefined;
|
|
697
|
-
var _props_icon;
|
|
698
|
-
this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : "iconliulan1";
|
|
699
|
-
var _props_needConfirm;
|
|
700
|
-
this.needConfirm = (_props_needConfirm = props === null || props === void 0 ? void 0 : props.needConfirm) !== null && _props_needConfirm !== void 0 ? _props_needConfirm : false;
|
|
701
|
-
var _props_openType;
|
|
702
|
-
this.openType = (_props_openType = props === null || props === void 0 ? void 0 : props.openType) !== null && _props_openType !== void 0 ? _props_openType : "modal";
|
|
703
|
-
var _props_priorityProcess;
|
|
704
|
-
this.priorityProcess = (_props_priorityProcess = props === null || props === void 0 ? void 0 : props.priorityProcess) !== null && _props_priorityProcess !== void 0 ? _props_priorityProcess : true;
|
|
435
|
+
var ref;
|
|
436
|
+
this.code = (ref = props === null || props === void 0 ? void 0 : props.code) !== null && ref !== void 0 ? ref : 'view';
|
|
437
|
+
var ref52;
|
|
438
|
+
this.color = (ref52 = props === null || props === void 0 ? void 0 : props.color) !== null && ref52 !== void 0 ? ref52 : 'primary';
|
|
439
|
+
var ref53;
|
|
440
|
+
this.command = (ref53 = props === null || props === void 0 ? void 0 : props.command) !== null && ref53 !== void 0 ? ref53 : 'view';
|
|
441
|
+
var ref54;
|
|
442
|
+
this.confirmMessage = (ref54 = props === null || props === void 0 ? void 0 : props.confirmMessage) !== null && ref54 !== void 0 ? ref54 : undefined;
|
|
443
|
+
var ref55;
|
|
444
|
+
this.defaultState = (ref55 = props === null || props === void 0 ? void 0 : props.defaultState) !== null && ref55 !== void 0 ? ref55 : 'default';
|
|
445
|
+
var ref56;
|
|
446
|
+
this.formKey = (ref56 = props === null || props === void 0 ? void 0 : props.formKey) !== null && ref56 !== void 0 ? ref56 : undefined;
|
|
447
|
+
var ref57;
|
|
448
|
+
this.icon = (ref57 = props === null || props === void 0 ? void 0 : props.icon) !== null && ref57 !== void 0 ? ref57 : 'iconliulan1';
|
|
449
|
+
var ref58;
|
|
450
|
+
this.needConfirm = (ref58 = props === null || props === void 0 ? void 0 : props.needConfirm) !== null && ref58 !== void 0 ? ref58 : false;
|
|
451
|
+
var ref59;
|
|
452
|
+
this.openType = (ref59 = props === null || props === void 0 ? void 0 : props.openType) !== null && ref59 !== void 0 ? ref59 : 'modal';
|
|
453
|
+
var ref60;
|
|
454
|
+
this.priorityProcess = (ref60 = props === null || props === void 0 ? void 0 : props.priorityProcess) !== null && ref60 !== void 0 ? ref60 : true;
|
|
705
455
|
};
|
|
706
456
|
export var CustomAttributeItem = function CustomAttributeItem(props) {
|
|
707
457
|
"use strict";
|
|
708
458
|
_classCallCheck(this, CustomAttributeItem);
|
|
709
|
-
var
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
this.key = (_props_key = props === null || props === void 0 ? void 0 : props.key) !== null && _props_key !== void 0 ? _props_key : "";
|
|
717
|
-
var _props_value_map;
|
|
718
|
-
this.value = (_props_value_map = props === null || props === void 0 ? void 0 : (_props_value = props.value) === null || _props_value === void 0 ? void 0 : _props_value.map(function(item) {
|
|
459
|
+
var ref;
|
|
460
|
+
var ref61;
|
|
461
|
+
this.name = (ref61 = props === null || props === void 0 ? void 0 : props.name) !== null && ref61 !== void 0 ? ref61 : '';
|
|
462
|
+
var ref62;
|
|
463
|
+
this.key = (ref62 = props === null || props === void 0 ? void 0 : props.key) !== null && ref62 !== void 0 ? ref62 : '';
|
|
464
|
+
var ref63;
|
|
465
|
+
this.value = (ref63 = props === null || props === void 0 ? void 0 : (ref = props.value) === null || ref === void 0 ? void 0 : ref.map(function(item) {
|
|
719
466
|
return new DisplayBoListItem(item);
|
|
720
|
-
})) !== null &&
|
|
467
|
+
})) !== null && ref63 !== void 0 ? ref63 : [];
|
|
721
468
|
};
|
|
722
469
|
export var SuperDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
723
470
|
"use strict";
|
|
@@ -726,13 +473,12 @@ export var SuperDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
|
726
473
|
function SuperDataSourceBind(props) {
|
|
727
474
|
_classCallCheck(this, SuperDataSourceBind);
|
|
728
475
|
var _this;
|
|
729
|
-
var
|
|
476
|
+
var ref;
|
|
730
477
|
_this = _super.call(this, props);
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
_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) {
|
|
478
|
+
var ref64;
|
|
479
|
+
_this.attributes = (ref64 = props === null || props === void 0 ? void 0 : (ref = props.attributes) === null || ref === void 0 ? void 0 : ref.map(function(item) {
|
|
734
480
|
return new CustomAttributeItem(item);
|
|
735
|
-
})) !== null &&
|
|
481
|
+
})) !== null && ref64 !== void 0 ? ref64 : [];
|
|
736
482
|
return _this;
|
|
737
483
|
}
|
|
738
484
|
return SuperDataSourceBind;
|
|
@@ -744,16 +490,14 @@ export var OrganizationDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
|
744
490
|
function OrganizationDataSourceBind(props) {
|
|
745
491
|
_classCallCheck(this, OrganizationDataSourceBind);
|
|
746
492
|
var _this;
|
|
747
|
-
var
|
|
493
|
+
var ref;
|
|
748
494
|
_this = _super.call(this, props);
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
var _props_attributes_map;
|
|
752
|
-
_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) {
|
|
495
|
+
var ref65;
|
|
496
|
+
_this.attributes = (ref65 = props === null || props === void 0 ? void 0 : (ref = props.attributes) === null || ref === void 0 ? void 0 : ref.map(function(item) {
|
|
753
497
|
return new CustomAttributeItem(item);
|
|
754
|
-
})) !== null &&
|
|
755
|
-
var
|
|
756
|
-
_this.formCode = (
|
|
498
|
+
})) !== null && ref65 !== void 0 ? ref65 : [];
|
|
499
|
+
var ref66;
|
|
500
|
+
_this.formCode = (ref66 = props === null || props === void 0 ? void 0 : props.formCode) !== null && ref66 !== void 0 ? ref66 : '';
|
|
757
501
|
return _this;
|
|
758
502
|
}
|
|
759
503
|
return OrganizationDataSourceBind;
|
|
@@ -766,11 +510,9 @@ export var TreeDataSourceBind = /*#__PURE__*/ function(SuperDataSourceBind) {
|
|
|
766
510
|
_classCallCheck(this, TreeDataSourceBind);
|
|
767
511
|
var _this;
|
|
768
512
|
_this = _super.call(this, props);
|
|
769
|
-
_defineProperty(_assertThisInitialized(_this), "rootNode", void 0);
|
|
770
|
-
_defineProperty(_assertThisInitialized(_this), "filterCode", void 0);
|
|
771
513
|
_this.rootNode = new RightVariable(props === null || props === void 0 ? void 0 : props.rootNode);
|
|
772
|
-
var
|
|
773
|
-
_this.filterCode = (
|
|
514
|
+
var ref;
|
|
515
|
+
_this.filterCode = (ref = props === null || props === void 0 ? void 0 : props.filterCode) !== null && ref !== void 0 ? ref : '';
|
|
774
516
|
return _this;
|
|
775
517
|
}
|
|
776
518
|
return TreeDataSourceBind;
|
|
@@ -778,24 +520,15 @@ export var TreeDataSourceBind = /*#__PURE__*/ function(SuperDataSourceBind) {
|
|
|
778
520
|
var FillBind = function FillBind(props) {
|
|
779
521
|
"use strict";
|
|
780
522
|
_classCallCheck(this, FillBind);
|
|
781
|
-
var
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
/*
|
|
789
|
-
* 执行填充的数据项和控件
|
|
790
|
-
* */ _defineProperty(this, "fillList", void 0);
|
|
791
|
-
var _props_dataCode;
|
|
792
|
-
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
|
|
793
|
-
var _props_appId;
|
|
794
|
-
this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : "";
|
|
795
|
-
var _props_fillList_map;
|
|
796
|
-
this.fillList = (_props_fillList_map = props === null || props === void 0 ? void 0 : (_props_fillList = props.fillList) === null || _props_fillList === void 0 ? void 0 : _props_fillList.map(function(item) {
|
|
523
|
+
var ref;
|
|
524
|
+
var ref67;
|
|
525
|
+
this.dataCode = (ref67 = props === null || props === void 0 ? void 0 : props.dataCode) !== null && ref67 !== void 0 ? ref67 : '';
|
|
526
|
+
var ref68;
|
|
527
|
+
this.appId = (ref68 = props === null || props === void 0 ? void 0 : props.appId) !== null && ref68 !== void 0 ? ref68 : '';
|
|
528
|
+
var ref69;
|
|
529
|
+
this.fillList = (ref69 = props === null || props === void 0 ? void 0 : (ref = props.fillList) === null || ref === void 0 ? void 0 : ref.map(function(item) {
|
|
797
530
|
return new MultistageFillingItem(item);
|
|
798
|
-
})) !== null &&
|
|
531
|
+
})) !== null && ref69 !== void 0 ? ref69 : [];
|
|
799
532
|
};
|
|
800
533
|
/**
|
|
801
534
|
* FillPayloadBind 填充配置
|
|
@@ -809,21 +542,6 @@ var FillBind = function FillBind(props) {
|
|
|
809
542
|
_classCallCheck(this, FillPayloadBind);
|
|
810
543
|
var _this;
|
|
811
544
|
_this = _super.call(this, props);
|
|
812
|
-
/**
|
|
813
|
-
* 数据源过滤条件
|
|
814
|
-
* @defaultValue []
|
|
815
|
-
* @public
|
|
816
|
-
**/ _defineProperty(_assertThisInitialized(_this), "filters", void 0);
|
|
817
|
-
/**
|
|
818
|
-
* 数据源过滤条件-查看
|
|
819
|
-
* @defaultValue []
|
|
820
|
-
* @public
|
|
821
|
-
**/ _defineProperty(_assertThisInitialized(_this), "viewFilters", void 0);
|
|
822
|
-
/**
|
|
823
|
-
* 数据源排序条件
|
|
824
|
-
* @defaultValue []
|
|
825
|
-
* @public
|
|
826
|
-
**/ _defineProperty(_assertThisInitialized(_this), "orders", void 0);
|
|
827
545
|
callFiltersAndOrders.call(_assertThisInitialized(_this), props);
|
|
828
546
|
return _this;
|
|
829
547
|
}
|
|
@@ -840,20 +558,10 @@ var FillBind = function FillBind(props) {
|
|
|
840
558
|
_classCallCheck(this, FillBackBind);
|
|
841
559
|
var _this;
|
|
842
560
|
_this = _super.call(this, props);
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
* */ _defineProperty(_assertThisInitialized(_this), "mode", void 0);
|
|
848
|
-
/**
|
|
849
|
-
* 多选
|
|
850
|
-
* @defaultValue false
|
|
851
|
-
* @public
|
|
852
|
-
*/ _defineProperty(_assertThisInitialized(_this), "multiple", void 0);
|
|
853
|
-
var _props_mode;
|
|
854
|
-
_this.mode = (_props_mode = props === null || props === void 0 ? void 0 : props.mode) !== null && _props_mode !== void 0 ? _props_mode : "current";
|
|
855
|
-
var _props_multiple;
|
|
856
|
-
_this.multiple = (_props_multiple = props === null || props === void 0 ? void 0 : props.multiple) !== null && _props_multiple !== void 0 ? _props_multiple : false;
|
|
561
|
+
var ref;
|
|
562
|
+
_this.mode = (ref = props === null || props === void 0 ? void 0 : props.mode) !== null && ref !== void 0 ? ref : 'current';
|
|
563
|
+
var ref70;
|
|
564
|
+
_this.multiple = (ref70 = props === null || props === void 0 ? void 0 : props.multiple) !== null && ref70 !== void 0 ? ref70 : false;
|
|
857
565
|
return _this;
|
|
858
566
|
}
|
|
859
567
|
return FillBackBind;
|
|
@@ -861,15 +569,12 @@ var FillBind = function FillBind(props) {
|
|
|
861
569
|
export var Language = function Language(props) {
|
|
862
570
|
"use strict";
|
|
863
571
|
_classCallCheck(this, Language);
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
this.en = (_props_en = props === null || props === void 0 ? void 0 : props.en) !== null && _props_en !== void 0 ? _props_en : "";
|
|
871
|
-
var _props_ja;
|
|
872
|
-
this.ja = (_props_ja = props === null || props === void 0 ? void 0 : props.ja) !== null && _props_ja !== void 0 ? _props_ja : "";
|
|
572
|
+
var ref;
|
|
573
|
+
this.zh = (ref = props === null || props === void 0 ? void 0 : props.zh) !== null && ref !== void 0 ? ref : '';
|
|
574
|
+
var ref71;
|
|
575
|
+
this.en = (ref71 = props === null || props === void 0 ? void 0 : props.en) !== null && ref71 !== void 0 ? ref71 : '';
|
|
576
|
+
var ref72;
|
|
577
|
+
this.ja = (ref72 = props === null || props === void 0 ? void 0 : props.ja) !== null && ref72 !== void 0 ? ref72 : '';
|
|
873
578
|
};
|
|
874
579
|
/**
|
|
875
580
|
* 正则校验
|
|
@@ -877,24 +582,12 @@ export var Language = function Language(props) {
|
|
|
877
582
|
*/ export var RegularRules = function RegularRules(props) {
|
|
878
583
|
"use strict";
|
|
879
584
|
_classCallCheck(this, RegularRules);
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
* @defaultValue ''
|
|
887
|
-
*/ _defineProperty(this, "expression", void 0);
|
|
888
|
-
/**
|
|
889
|
-
* 校验错误提示信息
|
|
890
|
-
* @defaultValue ''
|
|
891
|
-
*/ _defineProperty(this, "errMessage", void 0);
|
|
892
|
-
var _props_stencilName;
|
|
893
|
-
this.stencilName = (_props_stencilName = props === null || props === void 0 ? void 0 : props.stencilName) !== null && _props_stencilName !== void 0 ? _props_stencilName : "";
|
|
894
|
-
var _props_expression;
|
|
895
|
-
this.expression = (_props_expression = props === null || props === void 0 ? void 0 : props.expression) !== null && _props_expression !== void 0 ? _props_expression : "";
|
|
896
|
-
var _props_errMessage;
|
|
897
|
-
this.errMessage = (_props_errMessage = props === null || props === void 0 ? void 0 : props.errMessage) !== null && _props_errMessage !== void 0 ? _props_errMessage : "";
|
|
585
|
+
var ref;
|
|
586
|
+
this.stencilName = (ref = props === null || props === void 0 ? void 0 : props.stencilName) !== null && ref !== void 0 ? ref : '';
|
|
587
|
+
var ref73;
|
|
588
|
+
this.expression = (ref73 = props === null || props === void 0 ? void 0 : props.expression) !== null && ref73 !== void 0 ? ref73 : '';
|
|
589
|
+
var ref74;
|
|
590
|
+
this.errMessage = (ref74 = props === null || props === void 0 ? void 0 : props.errMessage) !== null && ref74 !== void 0 ? ref74 : '';
|
|
898
591
|
};
|
|
899
592
|
/**
|
|
900
593
|
* 选项设置-自定义选项
|
|
@@ -902,23 +595,12 @@ export var Language = function Language(props) {
|
|
|
902
595
|
*/ export var OptionSetting = function OptionSetting(props) {
|
|
903
596
|
"use strict";
|
|
904
597
|
_classCallCheck(this, OptionSetting);
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
/**
|
|
912
|
-
* 选项ID
|
|
913
|
-
* @defaultValue this.label
|
|
914
|
-
* @public
|
|
915
|
-
*/ _defineProperty(this, "value", void 0);
|
|
916
|
-
var _props_id;
|
|
917
|
-
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId(8);
|
|
918
|
-
var _props_label;
|
|
919
|
-
this.label = (_props_label = props === null || props === void 0 ? void 0 : props.label) !== null && _props_label !== void 0 ? _props_label : "";
|
|
920
|
-
var _props_value;
|
|
921
|
-
this.value = (_props_value = props === null || props === void 0 ? void 0 : props.value) !== null && _props_value !== void 0 ? _props_value : this.label;
|
|
598
|
+
var ref;
|
|
599
|
+
this.id = (ref = props === null || props === void 0 ? void 0 : props.id) !== null && ref !== void 0 ? ref : genNonDuplicateId(8);
|
|
600
|
+
var ref75;
|
|
601
|
+
this.label = (ref75 = props === null || props === void 0 ? void 0 : props.label) !== null && ref75 !== void 0 ? ref75 : '';
|
|
602
|
+
var ref76;
|
|
603
|
+
this.value = (ref76 = props === null || props === void 0 ? void 0 : props.value) !== null && ref76 !== void 0 ? ref76 : this.label;
|
|
922
604
|
};
|
|
923
605
|
export var ImageOptionSetting = /*#__PURE__*/ function(OptionSetting) {
|
|
924
606
|
"use strict";
|
|
@@ -928,27 +610,25 @@ export var ImageOptionSetting = /*#__PURE__*/ function(OptionSetting) {
|
|
|
928
610
|
_classCallCheck(this, ImageOptionSetting);
|
|
929
611
|
var _this;
|
|
930
612
|
_this = _super.call(this, props);
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
var
|
|
934
|
-
_this.
|
|
935
|
-
var _props_type;
|
|
936
|
-
_this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "src";
|
|
613
|
+
var ref;
|
|
614
|
+
_this.image = (ref = props === null || props === void 0 ? void 0 : props.image) !== null && ref !== void 0 ? ref : '';
|
|
615
|
+
var ref77;
|
|
616
|
+
_this.type = (ref77 = props === null || props === void 0 ? void 0 : props.type) !== null && ref77 !== void 0 ? ref77 : 'src';
|
|
937
617
|
return _this;
|
|
938
618
|
}
|
|
939
619
|
return ImageOptionSetting;
|
|
940
620
|
}(OptionSetting);
|
|
941
621
|
export function initOptions(options) {
|
|
942
|
-
var
|
|
943
|
-
return (
|
|
622
|
+
var ref;
|
|
623
|
+
return (ref = options === null || options === void 0 ? void 0 : options.map(function(item) {
|
|
944
624
|
return new OptionSetting(item);
|
|
945
|
-
})) !== null &&
|
|
625
|
+
})) !== null && ref !== void 0 ? ref : [];
|
|
946
626
|
}
|
|
947
627
|
export function initImageOptions(options) {
|
|
948
|
-
var
|
|
949
|
-
return (
|
|
628
|
+
var ref;
|
|
629
|
+
return (ref = options === null || options === void 0 ? void 0 : options.map(function(item) {
|
|
950
630
|
return new ImageOptionSetting(item);
|
|
951
|
-
})) !== null &&
|
|
631
|
+
})) !== null && ref !== void 0 ? ref : [];
|
|
952
632
|
}
|
|
953
633
|
/**
|
|
954
634
|
* 对象类型数据绑定配置
|
|
@@ -968,12 +648,6 @@ export function initImageOptions(options) {
|
|
|
968
648
|
_classCallCheck(this, AmountDataBind);
|
|
969
649
|
var _this;
|
|
970
650
|
_this = _super.call(this);
|
|
971
|
-
/**
|
|
972
|
-
* 金额字段绑定配置
|
|
973
|
-
*/ _defineProperty(_assertThisInitialized(_this), "amount", void 0);
|
|
974
|
-
/**
|
|
975
|
-
* 币种字段绑定配置
|
|
976
|
-
*/ _defineProperty(_assertThisInitialized(_this), "currency", void 0);
|
|
977
651
|
_this.amount = new DataBind(props === null || props === void 0 ? void 0 : props.amount);
|
|
978
652
|
_this.currency = new DataBind(props === null || props === void 0 ? void 0 : props.currency);
|
|
979
653
|
return _this;
|
|
@@ -986,18 +660,10 @@ export function initImageOptions(options) {
|
|
|
986
660
|
*/ export var AmountValue = function AmountValue(props) {
|
|
987
661
|
"use strict";
|
|
988
662
|
_classCallCheck(this, AmountValue);
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
/**
|
|
994
|
-
* 货币值
|
|
995
|
-
* @defaultValue 'CNY'
|
|
996
|
-
*/ _defineProperty(this, "currency", void 0);
|
|
997
|
-
var _props_amount;
|
|
998
|
-
this.amount = (_props_amount = props === null || props === void 0 ? void 0 : props.amount) !== null && _props_amount !== void 0 ? _props_amount : "";
|
|
999
|
-
var _props_currency;
|
|
1000
|
-
this.currency = (_props_currency = props === null || props === void 0 ? void 0 : props.currency) !== null && _props_currency !== void 0 ? _props_currency : AMOUNT_TYPE.CNY;
|
|
663
|
+
var ref;
|
|
664
|
+
this.amount = (ref = props === null || props === void 0 ? void 0 : props.amount) !== null && ref !== void 0 ? ref : '';
|
|
665
|
+
var ref78;
|
|
666
|
+
this.currency = (ref78 = props === null || props === void 0 ? void 0 : props.currency) !== null && ref78 !== void 0 ? ref78 : AMOUNT_TYPE.CNY;
|
|
1001
667
|
};
|
|
1002
668
|
/**
|
|
1003
669
|
* 日期区间数据绑定项
|
|
@@ -1010,12 +676,6 @@ export function initImageOptions(options) {
|
|
|
1010
676
|
_classCallCheck(this, RangeDataBind);
|
|
1011
677
|
var _this;
|
|
1012
678
|
_this = _super.call(this);
|
|
1013
|
-
/**
|
|
1014
|
-
* 开始日期字段绑定项
|
|
1015
|
-
*/ _defineProperty(_assertThisInitialized(_this), "min", void 0);
|
|
1016
|
-
/**
|
|
1017
|
-
* 结束日期字段绑定项
|
|
1018
|
-
*/ _defineProperty(_assertThisInitialized(_this), "max", void 0);
|
|
1019
679
|
_this.min = new DataBind(props === null || props === void 0 ? void 0 : props.min);
|
|
1020
680
|
_this.max = new DataBind(props === null || props === void 0 ? void 0 : props.max);
|
|
1021
681
|
return _this;
|
|
@@ -1028,18 +688,10 @@ export function initImageOptions(options) {
|
|
|
1028
688
|
*/ export var RangeDateValue = function RangeDateValue(props) {
|
|
1029
689
|
"use strict";
|
|
1030
690
|
_classCallCheck(this, RangeDateValue);
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
/**
|
|
1036
|
-
* 结束日期值
|
|
1037
|
-
* @defaultValue ''
|
|
1038
|
-
*/ _defineProperty(this, "max", void 0);
|
|
1039
|
-
var _props_min;
|
|
1040
|
-
this.min = (_props_min = props === null || props === void 0 ? void 0 : props.min) !== null && _props_min !== void 0 ? _props_min : "";
|
|
1041
|
-
var _props_max;
|
|
1042
|
-
this.max = (_props_max = props === null || props === void 0 ? void 0 : props.max) !== null && _props_max !== void 0 ? _props_max : "";
|
|
691
|
+
var ref;
|
|
692
|
+
this.min = (ref = props === null || props === void 0 ? void 0 : props.min) !== null && ref !== void 0 ? ref : '';
|
|
693
|
+
var ref79;
|
|
694
|
+
this.max = (ref79 = props === null || props === void 0 ? void 0 : props.max) !== null && ref79 !== void 0 ? ref79 : '';
|
|
1043
695
|
};
|
|
1044
696
|
/**
|
|
1045
697
|
* 地址值
|
|
@@ -1047,42 +699,18 @@ export function initImageOptions(options) {
|
|
|
1047
699
|
*/ export var AddressValue = function AddressValue(props) {
|
|
1048
700
|
"use strict";
|
|
1049
701
|
_classCallCheck(this, AddressValue);
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
/**
|
|
1063
|
-
* 区显示文字
|
|
1064
|
-
* @defaultValue ''
|
|
1065
|
-
*/ _defineProperty(this, "districtDisplay", void 0);
|
|
1066
|
-
/**
|
|
1067
|
-
* 省编码
|
|
1068
|
-
* @defaultValue ''
|
|
1069
|
-
*/ _defineProperty(this, "province", void 0);
|
|
1070
|
-
/**
|
|
1071
|
-
* 省显示文字
|
|
1072
|
-
* @defaultValue ''
|
|
1073
|
-
*/ _defineProperty(this, "provinceDisplay", void 0);
|
|
1074
|
-
var _props_city;
|
|
1075
|
-
this.city = (_props_city = props === null || props === void 0 ? void 0 : props.city) !== null && _props_city !== void 0 ? _props_city : "";
|
|
1076
|
-
var _props_cityDisplay;
|
|
1077
|
-
this.cityDisplay = (_props_cityDisplay = props === null || props === void 0 ? void 0 : props.cityDisplay) !== null && _props_cityDisplay !== void 0 ? _props_cityDisplay : "";
|
|
1078
|
-
var _props_district;
|
|
1079
|
-
this.district = (_props_district = props === null || props === void 0 ? void 0 : props.district) !== null && _props_district !== void 0 ? _props_district : "";
|
|
1080
|
-
var _props_districtDisplay;
|
|
1081
|
-
this.districtDisplay = (_props_districtDisplay = props === null || props === void 0 ? void 0 : props.districtDisplay) !== null && _props_districtDisplay !== void 0 ? _props_districtDisplay : "";
|
|
1082
|
-
var _props_province;
|
|
1083
|
-
this.province = (_props_province = props === null || props === void 0 ? void 0 : props.province) !== null && _props_province !== void 0 ? _props_province : "";
|
|
1084
|
-
var _props_provinceDisplay;
|
|
1085
|
-
this.provinceDisplay = (_props_provinceDisplay = props === null || props === void 0 ? void 0 : props.provinceDisplay) !== null && _props_provinceDisplay !== void 0 ? _props_provinceDisplay : "";
|
|
702
|
+
var ref;
|
|
703
|
+
this.city = (ref = props === null || props === void 0 ? void 0 : props.city) !== null && ref !== void 0 ? ref : '';
|
|
704
|
+
var ref80;
|
|
705
|
+
this.cityDisplay = (ref80 = props === null || props === void 0 ? void 0 : props.cityDisplay) !== null && ref80 !== void 0 ? ref80 : '';
|
|
706
|
+
var ref81;
|
|
707
|
+
this.district = (ref81 = props === null || props === void 0 ? void 0 : props.district) !== null && ref81 !== void 0 ? ref81 : '';
|
|
708
|
+
var ref82;
|
|
709
|
+
this.districtDisplay = (ref82 = props === null || props === void 0 ? void 0 : props.districtDisplay) !== null && ref82 !== void 0 ? ref82 : '';
|
|
710
|
+
var ref83;
|
|
711
|
+
this.province = (ref83 = props === null || props === void 0 ? void 0 : props.province) !== null && ref83 !== void 0 ? ref83 : '';
|
|
712
|
+
var ref84;
|
|
713
|
+
this.provinceDisplay = (ref84 = props === null || props === void 0 ? void 0 : props.provinceDisplay) !== null && ref84 !== void 0 ? ref84 : '';
|
|
1086
714
|
};
|
|
1087
715
|
/**
|
|
1088
716
|
* 计算公式数据绑定项
|
|
@@ -1095,12 +723,6 @@ export function initImageOptions(options) {
|
|
|
1095
723
|
_classCallCheck(this, CalcDataBind);
|
|
1096
724
|
var _this;
|
|
1097
725
|
_this = _super.call(this);
|
|
1098
|
-
/**
|
|
1099
|
-
* 计算结果字段绑定项
|
|
1100
|
-
*/ _defineProperty(_assertThisInitialized(_this), "result", void 0);
|
|
1101
|
-
/**
|
|
1102
|
-
* 单位字段绑定项
|
|
1103
|
-
*/ _defineProperty(_assertThisInitialized(_this), "unit", void 0);
|
|
1104
726
|
_this.result = new DataBind(props === null || props === void 0 ? void 0 : props.result);
|
|
1105
727
|
_this.unit = new DataBind(props === null || props === void 0 ? void 0 : props.unit);
|
|
1106
728
|
return _this;
|
|
@@ -1113,18 +735,10 @@ export function initImageOptions(options) {
|
|
|
1113
735
|
*/ export var CalcValue = function CalcValue(props) {
|
|
1114
736
|
"use strict";
|
|
1115
737
|
_classCallCheck(this, CalcValue);
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
/**
|
|
1121
|
-
* 单位
|
|
1122
|
-
* @defaultValue ''
|
|
1123
|
-
*/ _defineProperty(this, "unit", void 0);
|
|
1124
|
-
var _props_result;
|
|
1125
|
-
this.result = (_props_result = props === null || props === void 0 ? void 0 : props.result) !== null && _props_result !== void 0 ? _props_result : 0;
|
|
1126
|
-
var _props_unit;
|
|
1127
|
-
this.unit = (_props_unit = props === null || props === void 0 ? void 0 : props.unit) !== null && _props_unit !== void 0 ? _props_unit : "";
|
|
738
|
+
var ref;
|
|
739
|
+
this.result = (ref = props === null || props === void 0 ? void 0 : props.result) !== null && ref !== void 0 ? ref : 0;
|
|
740
|
+
var ref85;
|
|
741
|
+
this.unit = (ref85 = props === null || props === void 0 ? void 0 : props.unit) !== null && ref85 !== void 0 ? ref85 : '';
|
|
1128
742
|
};
|
|
1129
743
|
export var AMOUNT_TYPE;
|
|
1130
744
|
(function(AMOUNT_TYPE) {
|
|
@@ -1158,36 +772,36 @@ export var AMOUNT_TYPE;
|
|
|
1158
772
|
})(AMOUNT_TYPE || (AMOUNT_TYPE = {}));
|
|
1159
773
|
export var COMMON_SETTING_TYPE;
|
|
1160
774
|
(function(COMMON_SETTING_TYPE) {
|
|
1161
|
-
COMMON_SETTING_TYPE["DEFAULT_DISPLAY"] =
|
|
1162
|
-
COMMON_SETTING_TYPE["REQUIRED"] =
|
|
1163
|
-
COMMON_SETTING_TYPE["IS_HIDE"] =
|
|
1164
|
-
COMMON_SETTING_TYPE["IS_SHOW_UNIT"] =
|
|
1165
|
-
COMMON_SETTING_TYPE["IMD_SEARCH"] =
|
|
1166
|
-
COMMON_SETTING_TYPE["MULTIPLE"] =
|
|
1167
|
-
COMMON_SETTING_TYPE["SUBMIT_SELECT_CURRENCY"] =
|
|
1168
|
-
COMMON_SETTING_TYPE["CAPTION"] =
|
|
1169
|
-
COMMON_SETTING_TYPE["IS_HIDE_CAPTION"] =
|
|
1170
|
-
COMMON_SETTING_TYPE["DEFAULT_SHOW_OPTIONS"] =
|
|
1171
|
-
COMMON_SETTING_TYPE["CAN_SEARCH"] =
|
|
1172
|
-
COMMON_SETTING_TYPE["CAN_CHECK"] =
|
|
1173
|
-
COMMON_SETTING_TYPE["CAN_EDIT"] =
|
|
1174
|
-
COMMON_SETTING_TYPE["CAN_DELETE"] =
|
|
1175
|
-
COMMON_SETTING_TYPE["SHOW_UPPER_CASE"] =
|
|
1176
|
-
COMMON_SETTING_TYPE["MICROMETER"] =
|
|
1177
|
-
COMMON_SETTING_TYPE["PRECISION"] =
|
|
1178
|
-
COMMON_SETTING_TYPE["PERCENTAGE"] =
|
|
1179
|
-
COMMON_SETTING_TYPE["OPTIONAL_LEVEL"] =
|
|
1180
|
-
COMMON_SETTING_TYPE["CONTAINS_SUB_NODE"] =
|
|
1181
|
-
COMMON_SETTING_TYPE["DEFAULT_COLLAPSE"] =
|
|
1182
|
-
COMMON_SETTING_TYPE["CAN_VIEW_FORM"] =
|
|
1183
|
-
COMMON_SETTING_TYPE["VIEW_FORM_MODEL_TYPE"] =
|
|
1184
|
-
COMMON_SETTING_TYPE["SERVER_PAGINATION"] =
|
|
1185
|
-
COMMON_SETTING_TYPE["IS_SHOW_CAPTION_TIP"] =
|
|
1186
|
-
COMMON_SETTING_TYPE["ENCRYPTED"] =
|
|
1187
|
-
COMMON_SETTING_TYPE["IS_INLINE_EDIT"] =
|
|
1188
|
-
COMMON_SETTING_TYPE["REVISIONS_MODE"] =
|
|
1189
|
-
COMMON_SETTING_TYPE["ALLOW_COPY_OPTIONS"] =
|
|
1190
|
-
COMMON_SETTING_TYPE["IS_PASTE"] =
|
|
775
|
+
COMMON_SETTING_TYPE["DEFAULT_DISPLAY"] = 'defaultDisplay';
|
|
776
|
+
COMMON_SETTING_TYPE["REQUIRED"] = 'required';
|
|
777
|
+
COMMON_SETTING_TYPE["IS_HIDE"] = 'isHide';
|
|
778
|
+
COMMON_SETTING_TYPE["IS_SHOW_UNIT"] = 'isShowUnit';
|
|
779
|
+
COMMON_SETTING_TYPE["IMD_SEARCH"] = 'immediatelySearch';
|
|
780
|
+
COMMON_SETTING_TYPE["MULTIPLE"] = 'multiple';
|
|
781
|
+
COMMON_SETTING_TYPE["SUBMIT_SELECT_CURRENCY"] = 'submitSelectCurrency';
|
|
782
|
+
COMMON_SETTING_TYPE["CAPTION"] = 'caption';
|
|
783
|
+
COMMON_SETTING_TYPE["IS_HIDE_CAPTION"] = 'isHideCaption';
|
|
784
|
+
COMMON_SETTING_TYPE["DEFAULT_SHOW_OPTIONS"] = 'defaultShowOptions';
|
|
785
|
+
COMMON_SETTING_TYPE["CAN_SEARCH"] = 'canSearch';
|
|
786
|
+
COMMON_SETTING_TYPE["CAN_CHECK"] = 'canCheck';
|
|
787
|
+
COMMON_SETTING_TYPE["CAN_EDIT"] = 'canEdit';
|
|
788
|
+
COMMON_SETTING_TYPE["CAN_DELETE"] = 'canDelete';
|
|
789
|
+
COMMON_SETTING_TYPE["SHOW_UPPER_CASE"] = 'showUpperCase';
|
|
790
|
+
COMMON_SETTING_TYPE["MICROMETER"] = 'micrometer';
|
|
791
|
+
COMMON_SETTING_TYPE["PRECISION"] = 'precision';
|
|
792
|
+
COMMON_SETTING_TYPE["PERCENTAGE"] = 'percentage';
|
|
793
|
+
COMMON_SETTING_TYPE["OPTIONAL_LEVEL"] = 'optionalLevel';
|
|
794
|
+
COMMON_SETTING_TYPE["CONTAINS_SUB_NODE"] = 'containsSubNode';
|
|
795
|
+
COMMON_SETTING_TYPE["DEFAULT_COLLAPSE"] = 'defaultCollapse';
|
|
796
|
+
COMMON_SETTING_TYPE["CAN_VIEW_FORM"] = 'canViewForm';
|
|
797
|
+
COMMON_SETTING_TYPE["VIEW_FORM_MODEL_TYPE"] = 'viewFormModelType';
|
|
798
|
+
COMMON_SETTING_TYPE["SERVER_PAGINATION"] = 'serverPagination';
|
|
799
|
+
COMMON_SETTING_TYPE["IS_SHOW_CAPTION_TIP"] = 'isShowCaptionTip';
|
|
800
|
+
COMMON_SETTING_TYPE["ENCRYPTED"] = 'encrypted';
|
|
801
|
+
COMMON_SETTING_TYPE["IS_INLINE_EDIT"] = 'isInlineEdit';
|
|
802
|
+
COMMON_SETTING_TYPE["REVISIONS_MODE"] = 'revisionsMode';
|
|
803
|
+
COMMON_SETTING_TYPE["ALLOW_COPY_OPTIONS"] = 'allowCopyOptions';
|
|
804
|
+
COMMON_SETTING_TYPE["IS_PASTE"] = 'isPaste';
|
|
1191
805
|
})(COMMON_SETTING_TYPE || (COMMON_SETTING_TYPE = {}));
|
|
1192
806
|
export var PAGE_STATUS;
|
|
1193
807
|
(function(PAGE_STATUS) {
|
|
@@ -1202,62 +816,31 @@ export var PAGE_STATUS;
|
|
|
1202
816
|
*/ export var OperationItem = function OperationItem(props) {
|
|
1203
817
|
"use strict";
|
|
1204
818
|
_classCallCheck(this, OperationItem);
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
* @defaultValue ''
|
|
1218
|
-
* @public
|
|
1219
|
-
*/ _defineProperty(this, "formKey", void 0);
|
|
1220
|
-
/**
|
|
1221
|
-
* 显示文字
|
|
1222
|
-
* @defaultValue ''
|
|
1223
|
-
* @public
|
|
1224
|
-
*/ _defineProperty(this, "content", void 0);
|
|
1225
|
-
/**
|
|
1226
|
-
* 打开方式
|
|
1227
|
-
* @defaultValue 'modal'
|
|
1228
|
-
* @public
|
|
1229
|
-
*/ _defineProperty(this, "openType", void 0);
|
|
1230
|
-
_defineProperty(this, "type", void 0);
|
|
1231
|
-
var _props_isShow;
|
|
1232
|
-
this.isShow = (_props_isShow = props === null || props === void 0 ? void 0 : props.isShow) !== null && _props_isShow !== void 0 ? _props_isShow : true;
|
|
1233
|
-
var _props_content;
|
|
1234
|
-
this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : "";
|
|
1235
|
-
var _props_formKey;
|
|
1236
|
-
this.formKey = (_props_formKey = props === null || props === void 0 ? void 0 : props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : "";
|
|
1237
|
-
var _props_openType;
|
|
1238
|
-
this.openType = (_props_openType = props === null || props === void 0 ? void 0 : props.openType) !== null && _props_openType !== void 0 ? _props_openType : "modal";
|
|
1239
|
-
var _props_type;
|
|
1240
|
-
this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "";
|
|
1241
|
-
var _props_priorityProcess;
|
|
1242
|
-
this.priorityProcess = (_props_priorityProcess = props === null || props === void 0 ? void 0 : props.priorityProcess) !== null && _props_priorityProcess !== void 0 ? _props_priorityProcess : false;
|
|
819
|
+
var ref;
|
|
820
|
+
this.isShow = (ref = props === null || props === void 0 ? void 0 : props.isShow) !== null && ref !== void 0 ? ref : true;
|
|
821
|
+
var ref86;
|
|
822
|
+
this.content = (ref86 = props === null || props === void 0 ? void 0 : props.content) !== null && ref86 !== void 0 ? ref86 : '';
|
|
823
|
+
var ref87;
|
|
824
|
+
this.formKey = (ref87 = props === null || props === void 0 ? void 0 : props.formKey) !== null && ref87 !== void 0 ? ref87 : '';
|
|
825
|
+
var ref88;
|
|
826
|
+
this.openType = (ref88 = props === null || props === void 0 ? void 0 : props.openType) !== null && ref88 !== void 0 ? ref88 : 'modal';
|
|
827
|
+
var ref89;
|
|
828
|
+
this.type = (ref89 = props === null || props === void 0 ? void 0 : props.type) !== null && ref89 !== void 0 ? ref89 : '';
|
|
829
|
+
var ref90;
|
|
830
|
+
this.priorityProcess = (ref90 = props === null || props === void 0 ? void 0 : props.priorityProcess) !== null && ref90 !== void 0 ? ref90 : false;
|
|
1243
831
|
};
|
|
1244
832
|
export var ViewOperationItem = function ViewOperationItem(props) {
|
|
1245
833
|
"use strict";
|
|
1246
834
|
_classCallCheck(this, ViewOperationItem);
|
|
1247
|
-
var
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId(8);
|
|
1255
|
-
var _props_title;
|
|
1256
|
-
this.title = (_props_title = props === null || props === void 0 ? void 0 : props.title) !== null && _props_title !== void 0 ? _props_title : "";
|
|
1257
|
-
var _props_headers_map;
|
|
1258
|
-
this.headers = (_props_headers_map = props === null || props === void 0 ? void 0 : (_props_headers = props.headers) === null || _props_headers === void 0 ? void 0 : _props_headers.map(function(item) {
|
|
835
|
+
var ref;
|
|
836
|
+
var ref91;
|
|
837
|
+
this.id = (ref91 = props === null || props === void 0 ? void 0 : props.id) !== null && ref91 !== void 0 ? ref91 : genNonDuplicateId(8);
|
|
838
|
+
var ref92;
|
|
839
|
+
this.title = (ref92 = props === null || props === void 0 ? void 0 : props.title) !== null && ref92 !== void 0 ? ref92 : '';
|
|
840
|
+
var ref93;
|
|
841
|
+
this.headers = (ref93 = props === null || props === void 0 ? void 0 : (ref = props.headers) === null || ref === void 0 ? void 0 : ref.map(function(item) {
|
|
1259
842
|
return new ListBindHeaderItem(item);
|
|
1260
|
-
})) !== null &&
|
|
843
|
+
})) !== null && ref93 !== void 0 ? ref93 : [];
|
|
1261
844
|
callFiltersAndOrders.call(this, props);
|
|
1262
845
|
};
|
|
1263
846
|
/**
|
|
@@ -1265,48 +848,28 @@ export var ViewOperationItem = function ViewOperationItem(props) {
|
|
|
1265
848
|
*/ export var CustomPermissionItem = function CustomPermissionItem(props) {
|
|
1266
849
|
"use strict";
|
|
1267
850
|
_classCallCheck(this, CustomPermissionItem);
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
* 权限名称
|
|
1273
|
-
*/ _defineProperty(this, "caption", void 0);
|
|
1274
|
-
var _props_key;
|
|
1275
|
-
this.key = (_props_key = props.key) !== null && _props_key !== void 0 ? _props_key : genNonDuplicateId(8);
|
|
1276
|
-
var _props_caption;
|
|
1277
|
-
this.caption = (_props_caption = props.caption) !== null && _props_caption !== void 0 ? _props_caption : "";
|
|
851
|
+
var _key;
|
|
852
|
+
this.key = (_key = props.key) !== null && _key !== void 0 ? _key : genNonDuplicateId(8);
|
|
853
|
+
var _caption;
|
|
854
|
+
this.caption = (_caption = props.caption) !== null && _caption !== void 0 ? _caption : '';
|
|
1278
855
|
};
|
|
1279
856
|
export var BaseStyle = function BaseStyle(props) {
|
|
1280
857
|
"use strict";
|
|
1281
858
|
_classCallCheck(this, BaseStyle);
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
var
|
|
1287
|
-
this.
|
|
1288
|
-
var
|
|
1289
|
-
this.
|
|
1290
|
-
var _props_widthConfig;
|
|
1291
|
-
this.widthConfig = (_props_widthConfig = props === null || props === void 0 ? void 0 : props.widthConfig) !== null && _props_widthConfig !== void 0 ? _props_widthConfig : "fill";
|
|
1292
|
-
var _props_heightConfig;
|
|
1293
|
-
this.heightConfig = (_props_heightConfig = props === null || props === void 0 ? void 0 : props.heightConfig) !== null && _props_heightConfig !== void 0 ? _props_heightConfig : "fill";
|
|
859
|
+
var ref;
|
|
860
|
+
this.width = (ref = props === null || props === void 0 ? void 0 : props.width) !== null && ref !== void 0 ? ref : '';
|
|
861
|
+
var ref94;
|
|
862
|
+
this.height = (ref94 = props === null || props === void 0 ? void 0 : props.height) !== null && ref94 !== void 0 ? ref94 : '';
|
|
863
|
+
var ref95;
|
|
864
|
+
this.widthConfig = (ref95 = props === null || props === void 0 ? void 0 : props.widthConfig) !== null && ref95 !== void 0 ? ref95 : 'fill';
|
|
865
|
+
var ref96;
|
|
866
|
+
this.heightConfig = (ref96 = props === null || props === void 0 ? void 0 : props.heightConfig) !== null && ref96 !== void 0 ? ref96 : 'fill';
|
|
1294
867
|
};
|
|
1295
868
|
export var OptObject = function OptObject(props) {
|
|
1296
869
|
"use strict";
|
|
1297
870
|
_classCallCheck(this, OptObject);
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
*/ _defineProperty(this, "optCode", void 0);
|
|
1303
|
-
/**
|
|
1304
|
-
* 操作项类型
|
|
1305
|
-
* @defaultValue ''
|
|
1306
|
-
* @public
|
|
1307
|
-
*/ _defineProperty(this, "optType", void 0);
|
|
1308
|
-
var _props_optCode;
|
|
1309
|
-
this.optCode = (_props_optCode = props === null || props === void 0 ? void 0 : props.optCode) !== null && _props_optCode !== void 0 ? _props_optCode : "";
|
|
1310
|
-
var _props_optType;
|
|
1311
|
-
this.optType = (_props_optType = props === null || props === void 0 ? void 0 : props.optType) !== null && _props_optType !== void 0 ? _props_optType : "";
|
|
871
|
+
var ref;
|
|
872
|
+
this.optCode = (ref = props === null || props === void 0 ? void 0 : props.optCode) !== null && ref !== void 0 ? ref : '';
|
|
873
|
+
var ref97;
|
|
874
|
+
this.optType = (ref97 = props === null || props === void 0 ? void 0 : props.optType) !== null && ref97 !== void 0 ? ref97 : '';
|
|
1312
875
|
};
|