@byteluck-fe/model-driven-core 7.0.0-1-beta9 → 7.0.0-beta.2
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 +18 -12
- package/dist/esm/common/BaseControl/property.js +7 -20
- package/dist/esm/common/BaseControl/runtime.js +8 -11
- package/dist/esm/common/ColumnControl/property.js +7 -36
- package/dist/esm/common/FormControl/property.js +17 -80
- package/dist/esm/common/LayoutControl/designer.js +13 -4
- package/dist/esm/common/ListControl/designer.js +12 -4
- package/dist/esm/common/ListControl/property.js +5 -8
- package/dist/esm/framework/index.js +274 -351
- package/dist/index.umd.js +1 -1
- package/dist/types/common/BaseControl/property.d.ts +28 -9
- package/dist/types/common/BaseControl/types.d.ts +4 -0
- package/dist/types/common/ColumnControl/designer.d.ts +4 -4
- package/dist/types/common/ColumnControl/property.d.ts +24 -8
- package/dist/types/common/FormControl/property.d.ts +39 -9
- package/dist/types/common/LayoutControl/property.d.ts +5 -3
- package/dist/types/common/ListControl/property.d.ts +30 -3
- package/dist/types/common/SearchViewControl/property.d.ts +9 -3
- package/dist/types/common/WrapControl/property.d.ts +5 -3
- package/dist/types/framework/index.d.ts +64 -27
- package/package.json +3 -3
|
@@ -70,6 +70,7 @@ function _is_native_reflect_construct() {
|
|
|
70
70
|
return !!result;
|
|
71
71
|
})();
|
|
72
72
|
}
|
|
73
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
73
74
|
import { FieldTypes, genNonDuplicateId } from '@byteluck-fe/model-driven-shared';
|
|
74
75
|
export * from './RegisterControls';
|
|
75
76
|
/**
|
|
@@ -78,6 +79,7 @@ export * from './RegisterControls';
|
|
|
78
79
|
*/ export var DataBind = function DataBind(props) {
|
|
79
80
|
"use strict";
|
|
80
81
|
_class_call_check(this, DataBind);
|
|
82
|
+
var _ref, _ref1, _ref2;
|
|
81
83
|
/**
|
|
82
84
|
* 数据模型编码
|
|
83
85
|
* @defaultValue ''
|
|
@@ -98,41 +100,34 @@ export * from './RegisterControls';
|
|
|
98
100
|
* @defaultValue undefined
|
|
99
101
|
* @public
|
|
100
102
|
*/ _define_property(this, "aliasCode", void 0);
|
|
101
|
-
|
|
102
|
-
this.
|
|
103
|
-
|
|
104
|
-
this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : '';
|
|
105
|
-
var _props_fieldType;
|
|
106
|
-
this.fieldType = (_props_fieldType = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _props_fieldType !== void 0 ? _props_fieldType : '';
|
|
103
|
+
this.dataCode = (_ref = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _ref !== void 0 ? _ref : '';
|
|
104
|
+
this.fieldCode = (_ref1 = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
105
|
+
this.fieldType = (_ref2 = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
107
106
|
this.aliasCode = props === null || props === void 0 ? void 0 : props.aliasCode;
|
|
108
107
|
};
|
|
109
108
|
export var AutoWidth = function AutoWidth(props) {
|
|
110
109
|
"use strict";
|
|
111
110
|
_class_call_check(this, AutoWidth);
|
|
111
|
+
var _ref, _ref1;
|
|
112
112
|
_define_property(this, "minWidth", void 0);
|
|
113
113
|
_define_property(this, "maxWidth", void 0);
|
|
114
114
|
_define_property(this, "flex", void 0);
|
|
115
|
-
|
|
116
|
-
this.minWidth = (_props_minWidth = props === null || props === void 0 ? void 0 : props.minWidth) !== null && _props_minWidth !== void 0 ? _props_minWidth : 150;
|
|
115
|
+
this.minWidth = (_ref = props === null || props === void 0 ? void 0 : props.minWidth) !== null && _ref !== void 0 ? _ref : 150;
|
|
117
116
|
this.maxWidth = props === null || props === void 0 ? void 0 : props.maxWidth;
|
|
118
|
-
|
|
119
|
-
this.flex = (_props_flex = props === null || props === void 0 ? void 0 : props.flex) !== null && _props_flex !== void 0 ? _props_flex : 1;
|
|
117
|
+
this.flex = (_ref1 = props === null || props === void 0 ? void 0 : props.flex) !== null && _ref1 !== void 0 ? _ref1 : 1;
|
|
120
118
|
};
|
|
121
119
|
export var RowHeight = function RowHeight(props) {
|
|
122
120
|
"use strict";
|
|
123
121
|
_class_call_check(this, RowHeight);
|
|
122
|
+
var _ref, _ref1, _ref2, _ref3;
|
|
124
123
|
_define_property(this, "rowHeightType", void 0);
|
|
125
124
|
_define_property(this, "minRows", void 0);
|
|
126
125
|
_define_property(this, "maxRows", void 0);
|
|
127
126
|
_define_property(this, "fiexdRow", void 0);
|
|
128
|
-
|
|
129
|
-
this.
|
|
130
|
-
|
|
131
|
-
this.
|
|
132
|
-
var _props_maxRows;
|
|
133
|
-
this.maxRows = (_props_maxRows = props === null || props === void 0 ? void 0 : props.maxRows) !== null && _props_maxRows !== void 0 ? _props_maxRows : 20;
|
|
134
|
-
var _props_fiexdRow;
|
|
135
|
-
this.fiexdRow = (_props_fiexdRow = props === null || props === void 0 ? void 0 : props.fiexdRow) !== null && _props_fiexdRow !== void 0 ? _props_fiexdRow : 4;
|
|
127
|
+
this.rowHeightType = (_ref = props === null || props === void 0 ? void 0 : props.rowHeightType) !== null && _ref !== void 0 ? _ref : 'fixed';
|
|
128
|
+
this.minRows = (_ref1 = props === null || props === void 0 ? void 0 : props.minRows) !== null && _ref1 !== void 0 ? _ref1 : 4;
|
|
129
|
+
this.maxRows = (_ref2 = props === null || props === void 0 ? void 0 : props.maxRows) !== null && _ref2 !== void 0 ? _ref2 : 20;
|
|
130
|
+
this.fiexdRow = (_ref3 = props === null || props === void 0 ? void 0 : props.fiexdRow) !== null && _ref3 !== void 0 ? _ref3 : 4;
|
|
136
131
|
};
|
|
137
132
|
export var MetaRowHeight = function MetaRowHeight(props) {
|
|
138
133
|
"use strict";
|
|
@@ -148,13 +143,12 @@ export var MetaWidth = /*#__PURE__*/ function(AutoWidth) {
|
|
|
148
143
|
function MetaWidth(props) {
|
|
149
144
|
_class_call_check(this, MetaWidth);
|
|
150
145
|
var _this;
|
|
146
|
+
var _ref, _ref1;
|
|
151
147
|
_this = _call_super(this, MetaWidth, [
|
|
152
148
|
props
|
|
153
149
|
]), _define_property(_this, "width", void 0), _define_property(_this, "widthType", void 0);
|
|
154
|
-
|
|
155
|
-
_this.
|
|
156
|
-
var _props_widthType;
|
|
157
|
-
_this.widthType = (_props_widthType = props === null || props === void 0 ? void 0 : props.widthType) !== null && _props_widthType !== void 0 ? _props_widthType : 'auto';
|
|
150
|
+
_this.width = (_ref = props === null || props === void 0 ? void 0 : props.width) !== null && _ref !== void 0 ? _ref : 240;
|
|
151
|
+
_this.widthType = (_ref1 = props === null || props === void 0 ? void 0 : props.widthType) !== null && _ref1 !== void 0 ? _ref1 : 'auto';
|
|
158
152
|
return _this;
|
|
159
153
|
}
|
|
160
154
|
return MetaWidth;
|
|
@@ -173,25 +167,22 @@ export var MetaAutoWidth = function MetaAutoWidth(props) {
|
|
|
173
167
|
export var DataStorageDoc = function DataStorageDoc(props) {
|
|
174
168
|
"use strict";
|
|
175
169
|
_class_call_check(this, DataStorageDoc);
|
|
170
|
+
var _ref, _ref1;
|
|
176
171
|
_define_property(this, "type", void 0);
|
|
177
172
|
_define_property(this, "customOptions", void 0);
|
|
178
|
-
|
|
179
|
-
this.
|
|
180
|
-
var _props_customOptions;
|
|
181
|
-
this.customOptions = (_props_customOptions = props === null || props === void 0 ? void 0 : props.customOptions) !== null && _props_customOptions !== void 0 ? _props_customOptions : [];
|
|
173
|
+
this.type = (_ref = props === null || props === void 0 ? void 0 : props.type) !== null && _ref !== void 0 ? _ref : 'firstThree';
|
|
174
|
+
this.customOptions = (_ref1 = props === null || props === void 0 ? void 0 : props.customOptions) !== null && _ref1 !== void 0 ? _ref1 : [];
|
|
182
175
|
};
|
|
183
176
|
export var FormBind = function FormBind(props) {
|
|
184
177
|
"use strict";
|
|
185
178
|
_class_call_check(this, FormBind);
|
|
179
|
+
var _ref, _ref1, _ref2;
|
|
186
180
|
_define_property(this, "dataCode", void 0);
|
|
187
181
|
_define_property(this, "formKey", void 0);
|
|
188
182
|
_define_property(this, "appId", void 0);
|
|
189
|
-
|
|
190
|
-
this.
|
|
191
|
-
|
|
192
|
-
this.formKey = (_props_formKey = props === null || props === void 0 ? void 0 : props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : '';
|
|
193
|
-
var _props_appId;
|
|
194
|
-
this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : '';
|
|
183
|
+
this.dataCode = (_ref = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _ref !== void 0 ? _ref : '';
|
|
184
|
+
this.formKey = (_ref1 = props === null || props === void 0 ? void 0 : props.formKey) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
185
|
+
this.appId = (_ref2 = props === null || props === void 0 ? void 0 : props.appId) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
195
186
|
};
|
|
196
187
|
export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
197
188
|
"use strict";
|
|
@@ -199,11 +190,11 @@ export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
|
199
190
|
function FormSelectBind(props) {
|
|
200
191
|
_class_call_check(this, FormSelectBind);
|
|
201
192
|
var _this;
|
|
193
|
+
var _ref;
|
|
202
194
|
_this = _call_super(this, FormSelectBind, [
|
|
203
195
|
props
|
|
204
196
|
]), _define_property(_this, "primaryControlId", void 0);
|
|
205
|
-
|
|
206
|
-
_this.primaryControlId = (_props_primaryControlId = props === null || props === void 0 ? void 0 : props.primaryControlId) !== null && _props_primaryControlId !== void 0 ? _props_primaryControlId : '';
|
|
197
|
+
_this.primaryControlId = (_ref = props === null || props === void 0 ? void 0 : props.primaryControlId) !== null && _ref !== void 0 ? _ref : '';
|
|
207
198
|
return _this;
|
|
208
199
|
}
|
|
209
200
|
return FormSelectBind;
|
|
@@ -214,21 +205,21 @@ export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
|
214
205
|
*/ var ListBindHeaderItem = function ListBindHeaderItem(props) {
|
|
215
206
|
"use strict";
|
|
216
207
|
_class_call_check(this, ListBindHeaderItem);
|
|
208
|
+
var _ref, _ref1;
|
|
217
209
|
/**
|
|
218
210
|
* 字段
|
|
219
211
|
* @defaultValue ''
|
|
220
212
|
*/ _define_property(this, "fieldCode", void 0);
|
|
221
213
|
_define_property(this, "dataCode", void 0);
|
|
222
|
-
|
|
223
|
-
this.
|
|
224
|
-
var _props_dataCode;
|
|
225
|
-
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : '';
|
|
214
|
+
this.fieldCode = (_ref = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _ref !== void 0 ? _ref : '';
|
|
215
|
+
this.dataCode = (_ref1 = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
226
216
|
};
|
|
227
217
|
/**
|
|
228
218
|
* 列表绑定配置
|
|
229
219
|
*/ export var ListBind = function ListBind(props) {
|
|
230
220
|
"use strict";
|
|
231
221
|
_class_call_check(this, ListBind);
|
|
222
|
+
var _ref, _ref1, _ref2;
|
|
232
223
|
var _props_headers;
|
|
233
224
|
/**
|
|
234
225
|
* 应用ID
|
|
@@ -242,27 +233,22 @@ export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
|
242
233
|
* 显示字段
|
|
243
234
|
* @public
|
|
244
235
|
*/ _define_property(this, "headers", void 0);
|
|
245
|
-
|
|
246
|
-
this.
|
|
247
|
-
|
|
248
|
-
this.formKey = (_props_formKey = props === null || props === void 0 ? void 0 : props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : '';
|
|
249
|
-
var _props_headers_map;
|
|
250
|
-
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) {
|
|
236
|
+
this.appId = (_ref = props === null || props === void 0 ? void 0 : props.appId) !== null && _ref !== void 0 ? _ref : '';
|
|
237
|
+
this.formKey = (_ref1 = props === null || props === void 0 ? void 0 : props.formKey) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
238
|
+
this.headers = (_ref2 = props === null || props === void 0 ? void 0 : (_props_headers = props.headers) === null || _props_headers === void 0 ? void 0 : _props_headers.map(function(item) {
|
|
251
239
|
return new ListBindHeaderItem(item);
|
|
252
|
-
})) !== null &&
|
|
240
|
+
})) !== null && _ref2 !== void 0 ? _ref2 : [];
|
|
253
241
|
};
|
|
254
242
|
export var FieldBindItem = function FieldBindItem(props) {
|
|
255
243
|
"use strict";
|
|
256
244
|
_class_call_check(this, FieldBindItem);
|
|
245
|
+
var _ref, _ref1, _ref2;
|
|
257
246
|
_define_property(this, "fieldName", void 0);
|
|
258
247
|
_define_property(this, "fieldCode", void 0);
|
|
259
248
|
_define_property(this, "fieldType", void 0);
|
|
260
|
-
|
|
261
|
-
this.
|
|
262
|
-
|
|
263
|
-
this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : '';
|
|
264
|
-
var _props_fieldType;
|
|
265
|
-
this.fieldType = (_props_fieldType = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _props_fieldType !== void 0 ? _props_fieldType : FieldTypes.VARCHAR;
|
|
249
|
+
this.fieldName = (_ref = props === null || props === void 0 ? void 0 : props.fieldName) !== null && _ref !== void 0 ? _ref : '';
|
|
250
|
+
this.fieldCode = (_ref1 = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
251
|
+
this.fieldType = (_ref2 = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _ref2 !== void 0 ? _ref2 : FieldTypes.VARCHAR;
|
|
266
252
|
};
|
|
267
253
|
export var SubListItem = /*#__PURE__*/ function(FormBind) {
|
|
268
254
|
"use strict";
|
|
@@ -270,17 +256,14 @@ export var SubListItem = /*#__PURE__*/ function(FormBind) {
|
|
|
270
256
|
function SubListItem(props) {
|
|
271
257
|
_class_call_check(this, SubListItem);
|
|
272
258
|
var _this;
|
|
259
|
+
var _ref, _ref1, _ref2, _ref3;
|
|
273
260
|
_this = _call_super(this, SubListItem, [
|
|
274
261
|
props
|
|
275
262
|
]), _define_property(_this, "title", void 0), _define_property(_this, "svcCode", void 0), _define_property(_this, "isOpenFilter", void 0), _define_property(_this, "filters", void 0);
|
|
276
|
-
|
|
277
|
-
_this.
|
|
278
|
-
|
|
279
|
-
_this.
|
|
280
|
-
var _props_isOpenFilter;
|
|
281
|
-
_this.isOpenFilter = (_props_isOpenFilter = props === null || props === void 0 ? void 0 : props.isOpenFilter) !== null && _props_isOpenFilter !== void 0 ? _props_isOpenFilter : false;
|
|
282
|
-
var _props_filters;
|
|
283
|
-
_this.filters = (_props_filters = props === null || props === void 0 ? void 0 : props.filters) !== null && _props_filters !== void 0 ? _props_filters : [];
|
|
263
|
+
_this.title = (_ref = props === null || props === void 0 ? void 0 : props.title) !== null && _ref !== void 0 ? _ref : '';
|
|
264
|
+
_this.svcCode = (_ref1 = props === null || props === void 0 ? void 0 : props.svcCode) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
265
|
+
_this.isOpenFilter = (_ref2 = props === null || props === void 0 ? void 0 : props.isOpenFilter) !== null && _ref2 !== void 0 ? _ref2 : false;
|
|
266
|
+
_this.filters = (_ref3 = props === null || props === void 0 ? void 0 : props.filters) !== null && _ref3 !== void 0 ? _ref3 : [];
|
|
284
267
|
return _this;
|
|
285
268
|
}
|
|
286
269
|
return SubListItem;
|
|
@@ -288,20 +271,19 @@ export var SubListItem = /*#__PURE__*/ function(FormBind) {
|
|
|
288
271
|
export var SubListPageConfig = function SubListPageConfig(props) {
|
|
289
272
|
"use strict";
|
|
290
273
|
_class_call_check(this, SubListPageConfig);
|
|
274
|
+
var _ref, _ref1;
|
|
291
275
|
var _props_displayFields, _props_sublists;
|
|
292
276
|
_define_property(this, "type", 'sublist-page');
|
|
293
277
|
_define_property(this, "formBind", void 0);
|
|
294
278
|
_define_property(this, "displayFields", void 0);
|
|
295
279
|
_define_property(this, "sublists", void 0);
|
|
296
280
|
this.formBind = new FormBind(props === null || props === void 0 ? void 0 : props.formBind);
|
|
297
|
-
|
|
298
|
-
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) {
|
|
281
|
+
this.displayFields = (_ref = props === null || props === void 0 ? void 0 : (_props_displayFields = props.displayFields) === null || _props_displayFields === void 0 ? void 0 : _props_displayFields.map(function(item) {
|
|
299
282
|
return new FieldBindItem(item);
|
|
300
|
-
})) !== null &&
|
|
301
|
-
|
|
302
|
-
this.sublists = (_props_sublists_map = props === null || props === void 0 ? void 0 : (_props_sublists = props.sublists) === null || _props_sublists === void 0 ? void 0 : _props_sublists.map(function(item) {
|
|
283
|
+
})) !== null && _ref !== void 0 ? _ref : [];
|
|
284
|
+
this.sublists = (_ref1 = props === null || props === void 0 ? void 0 : (_props_sublists = props.sublists) === null || _props_sublists === void 0 ? void 0 : _props_sublists.map(function(item) {
|
|
303
285
|
return new SubListItem(item);
|
|
304
|
-
})) !== null &&
|
|
286
|
+
})) !== null && _ref1 !== void 0 ? _ref1 : [];
|
|
305
287
|
};
|
|
306
288
|
export var LeftVariable = function LeftVariable(props) {
|
|
307
289
|
"use strict";
|
|
@@ -316,15 +298,13 @@ export var LeftVariable = function LeftVariable(props) {
|
|
|
316
298
|
export var RightVariable = function RightVariable(props) {
|
|
317
299
|
"use strict";
|
|
318
300
|
_class_call_check(this, RightVariable);
|
|
301
|
+
var _ref, _ref1, _ref2;
|
|
319
302
|
_define_property(this, "type", void 0);
|
|
320
303
|
_define_property(this, "value", void 0);
|
|
321
304
|
_define_property(this, "displayBos", void 0);
|
|
322
|
-
|
|
323
|
-
this.
|
|
324
|
-
|
|
325
|
-
this.value = (_props_value = props === null || props === void 0 ? void 0 : props.value) !== null && _props_value !== void 0 ? _props_value : [];
|
|
326
|
-
var _props_displayBos;
|
|
327
|
-
this.displayBos = (_props_displayBos = props === null || props === void 0 ? void 0 : props.displayBos) !== null && _props_displayBos !== void 0 ? _props_displayBos : [];
|
|
305
|
+
this.type = (_ref = props === null || props === void 0 ? void 0 : props.type) !== null && _ref !== void 0 ? _ref : 'custom';
|
|
306
|
+
this.value = (_ref1 = props === null || props === void 0 ? void 0 : props.value) !== null && _ref1 !== void 0 ? _ref1 : [];
|
|
307
|
+
this.displayBos = (_ref2 = props === null || props === void 0 ? void 0 : props.displayBos) !== null && _ref2 !== void 0 ? _ref2 : [];
|
|
328
308
|
};
|
|
329
309
|
/**
|
|
330
310
|
* 连接符条件
|
|
@@ -333,6 +313,7 @@ export var RightVariable = function RightVariable(props) {
|
|
|
333
313
|
"use strict";
|
|
334
314
|
var _this = this;
|
|
335
315
|
_class_call_check(this, FieldFilterConditions);
|
|
316
|
+
var _ref, _ref1, _ref2, _ref3;
|
|
336
317
|
/**
|
|
337
318
|
* 编号
|
|
338
319
|
* @defaultValue ''
|
|
@@ -357,14 +338,10 @@ export var RightVariable = function RightVariable(props) {
|
|
|
357
338
|
* 包含子项
|
|
358
339
|
* @defaultValue []
|
|
359
340
|
*/ _define_property(this, "children", void 0);
|
|
360
|
-
|
|
361
|
-
this.
|
|
362
|
-
|
|
363
|
-
this.
|
|
364
|
-
var _props_level;
|
|
365
|
-
this.level = (_props_level = props === null || props === void 0 ? void 0 : props.level) !== null && _props_level !== void 0 ? _props_level : 0;
|
|
366
|
-
var _props_value;
|
|
367
|
-
this.value = (_props_value = props === null || props === void 0 ? void 0 : props.value) !== null && _props_value !== void 0 ? _props_value : 'and';
|
|
341
|
+
this.id = (_ref = props === null || props === void 0 ? void 0 : props.id) !== null && _ref !== void 0 ? _ref : genNonDuplicateId();
|
|
342
|
+
this.ruleId = (_ref1 = props === null || props === void 0 ? void 0 : props.ruleId) !== null && _ref1 !== void 0 ? _ref1 : new Date().valueOf();
|
|
343
|
+
this.level = (_ref2 = props === null || props === void 0 ? void 0 : props.level) !== null && _ref2 !== void 0 ? _ref2 : 0;
|
|
344
|
+
this.value = (_ref3 = props === null || props === void 0 ? void 0 : props.value) !== null && _ref3 !== void 0 ? _ref3 : 'and';
|
|
368
345
|
this.children = [];
|
|
369
346
|
if (Array.isArray(props === null || props === void 0 ? void 0 : props.children)) {
|
|
370
347
|
props === null || props === void 0 ? void 0 : props.children.map(function(item) {
|
|
@@ -386,6 +363,7 @@ export var RightVariable = function RightVariable(props) {
|
|
|
386
363
|
*/ export var FieldFilterCondition = function FieldFilterCondition(props) {
|
|
387
364
|
"use strict";
|
|
388
365
|
_class_call_check(this, FieldFilterCondition);
|
|
366
|
+
var _ref, _ref1, _ref2, _ref3, _ref4;
|
|
389
367
|
/**
|
|
390
368
|
* 唯一编号
|
|
391
369
|
* @defaultValue ''
|
|
@@ -409,30 +387,24 @@ export var RightVariable = function RightVariable(props) {
|
|
|
409
387
|
/**
|
|
410
388
|
* 右值
|
|
411
389
|
*/ _define_property(this, "rightVariableBo", void 0);
|
|
412
|
-
|
|
413
|
-
this.
|
|
414
|
-
|
|
415
|
-
this.
|
|
416
|
-
|
|
417
|
-
this.symbol = (_props_symbol = props === null || props === void 0 ? void 0 : props.symbol) !== null && _props_symbol !== void 0 ? _props_symbol : '';
|
|
418
|
-
var _props_checked;
|
|
419
|
-
this.checked = (_props_checked = props === null || props === void 0 ? void 0 : props.checked) !== null && _props_checked !== void 0 ? _props_checked : false;
|
|
420
|
-
var _props_describe;
|
|
421
|
-
this.describe = (_props_describe = props === null || props === void 0 ? void 0 : props.describe) !== null && _props_describe !== void 0 ? _props_describe : '';
|
|
390
|
+
this.id = (_ref = props === null || props === void 0 ? void 0 : props.id) !== null && _ref !== void 0 ? _ref : genNonDuplicateId();
|
|
391
|
+
this.ruleId = (_ref1 = props === null || props === void 0 ? void 0 : props.ruleId) !== null && _ref1 !== void 0 ? _ref1 : new Date().valueOf();
|
|
392
|
+
this.symbol = (_ref2 = props === null || props === void 0 ? void 0 : props.symbol) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
393
|
+
this.checked = (_ref3 = props === null || props === void 0 ? void 0 : props.checked) !== null && _ref3 !== void 0 ? _ref3 : false;
|
|
394
|
+
this.describe = (_ref4 = props === null || props === void 0 ? void 0 : props.describe) !== null && _ref4 !== void 0 ? _ref4 : '';
|
|
422
395
|
this.leftVariableBo = new LeftVariable(props === null || props === void 0 ? void 0 : props.leftVariableBo);
|
|
423
396
|
this.rightVariableBo = new RightVariable(props === null || props === void 0 ? void 0 : props.rightVariableBo);
|
|
424
397
|
};
|
|
425
398
|
export var JoinRelation = function JoinRelation(props) {
|
|
426
399
|
"use strict";
|
|
427
400
|
_class_call_check(this, JoinRelation);
|
|
401
|
+
var _ref, _ref1;
|
|
428
402
|
_define_property(this, "aliasCode", void 0);
|
|
429
403
|
_define_property(this, "datasourceBind", void 0);
|
|
430
404
|
_define_property(this, "relationFields", void 0);
|
|
431
|
-
|
|
432
|
-
this.aliasCode = (_props_aliasCode = props === null || props === void 0 ? void 0 : props.aliasCode) !== null && _props_aliasCode !== void 0 ? _props_aliasCode : '';
|
|
405
|
+
this.aliasCode = (_ref = props === null || props === void 0 ? void 0 : props.aliasCode) !== null && _ref !== void 0 ? _ref : '';
|
|
433
406
|
this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
|
|
434
|
-
|
|
435
|
-
this.relationFields = (_props_relationFields = props === null || props === void 0 ? void 0 : props.relationFields) !== null && _props_relationFields !== void 0 ? _props_relationFields : [];
|
|
407
|
+
this.relationFields = (_ref1 = props === null || props === void 0 ? void 0 : props.relationFields) !== null && _ref1 !== void 0 ? _ref1 : [];
|
|
436
408
|
};
|
|
437
409
|
/**
|
|
438
410
|
* 数据填充项
|
|
@@ -440,6 +412,7 @@ export var JoinRelation = function JoinRelation(props) {
|
|
|
440
412
|
*/ export var MultistageFillingItem = function MultistageFillingItem(props) {
|
|
441
413
|
"use strict";
|
|
442
414
|
_class_call_check(this, MultistageFillingItem);
|
|
415
|
+
var _ref, _ref1, _ref2, _ref3;
|
|
443
416
|
/**
|
|
444
417
|
* 控件ID
|
|
445
418
|
* @defaultValue ''
|
|
@@ -460,14 +433,10 @@ export var JoinRelation = function JoinRelation(props) {
|
|
|
460
433
|
* @defaultValue ''
|
|
461
434
|
* @public
|
|
462
435
|
* */ _define_property(this, "propName", void 0);
|
|
463
|
-
|
|
464
|
-
this.
|
|
465
|
-
|
|
466
|
-
this.
|
|
467
|
-
var _props_fieldType;
|
|
468
|
-
this.fieldType = (_props_fieldType = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _props_fieldType !== void 0 ? _props_fieldType : '';
|
|
469
|
-
var _props_propName;
|
|
470
|
-
this.propName = (_props_propName = props === null || props === void 0 ? void 0 : props.propName) !== null && _props_propName !== void 0 ? _props_propName : '';
|
|
436
|
+
this.controlId = (_ref = props === null || props === void 0 ? void 0 : props.controlId) !== null && _ref !== void 0 ? _ref : '';
|
|
437
|
+
this.fieldCode = (_ref1 = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
438
|
+
this.fieldType = (_ref2 = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
439
|
+
this.propName = (_ref3 = props === null || props === void 0 ? void 0 : props.propName) !== null && _ref3 !== void 0 ? _ref3 : '';
|
|
471
440
|
};
|
|
472
441
|
/**
|
|
473
442
|
* 显示项
|
|
@@ -475,6 +444,7 @@ export var JoinRelation = function JoinRelation(props) {
|
|
|
475
444
|
*/ export var DisplayBoListItem = function DisplayBoListItem(props) {
|
|
476
445
|
"use strict";
|
|
477
446
|
_class_call_check(this, DisplayBoListItem);
|
|
447
|
+
var _ref, _ref1;
|
|
478
448
|
/**
|
|
479
449
|
* 显示项类型:字段 | 符号
|
|
480
450
|
* @defaultValue 'FIELD'
|
|
@@ -486,25 +456,22 @@ export var JoinRelation = function JoinRelation(props) {
|
|
|
486
456
|
/**
|
|
487
457
|
* 字段数据类型
|
|
488
458
|
*/ _define_property(this, "fieldType", void 0);
|
|
489
|
-
|
|
490
|
-
this.
|
|
491
|
-
var _props_value;
|
|
492
|
-
this.value = (_props_value = props === null || props === void 0 ? void 0 : props.value) !== null && _props_value !== void 0 ? _props_value : '';
|
|
459
|
+
this.type = (_ref = props === null || props === void 0 ? void 0 : props.type) !== null && _ref !== void 0 ? _ref : 'FIELD';
|
|
460
|
+
this.value = (_ref1 = props === null || props === void 0 ? void 0 : props.value) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
493
461
|
this.fieldType = props === null || props === void 0 ? void 0 : props.fieldType;
|
|
494
462
|
};
|
|
495
463
|
export var OptionDisplayConfigItem = function OptionDisplayConfigItem(props) {
|
|
496
464
|
"use strict";
|
|
497
465
|
_class_call_check(this, OptionDisplayConfigItem);
|
|
466
|
+
var _ref, _ref1;
|
|
498
467
|
/**
|
|
499
468
|
* 标题
|
|
500
469
|
*/ _define_property(this, "title", void 0);
|
|
501
470
|
/**
|
|
502
471
|
* 字段数据类型
|
|
503
472
|
*/ _define_property(this, "displayBoList", void 0);
|
|
504
|
-
|
|
505
|
-
this.
|
|
506
|
-
var _props_displayBoList;
|
|
507
|
-
this.displayBoList = (_props_displayBoList = props === null || props === void 0 ? void 0 : props.displayBoList) !== null && _props_displayBoList !== void 0 ? _props_displayBoList : [];
|
|
473
|
+
this.title = (_ref = props === null || props === void 0 ? void 0 : props.title) !== null && _ref !== void 0 ? _ref : '';
|
|
474
|
+
this.displayBoList = (_ref1 = props === null || props === void 0 ? void 0 : props.displayBoList) !== null && _ref1 !== void 0 ? _ref1 : [];
|
|
508
475
|
};
|
|
509
476
|
/**
|
|
510
477
|
* 数据源排序项
|
|
@@ -512,6 +479,7 @@ export var OptionDisplayConfigItem = function OptionDisplayConfigItem(props) {
|
|
|
512
479
|
*/ export var DataSourceOrderItem = function DataSourceOrderItem(props) {
|
|
513
480
|
"use strict";
|
|
514
481
|
_class_call_check(this, DataSourceOrderItem);
|
|
482
|
+
var _props_columnName, _props_desc;
|
|
515
483
|
/**
|
|
516
484
|
* 列名
|
|
517
485
|
* @defaultValue ''
|
|
@@ -520,30 +488,27 @@ export var OptionDisplayConfigItem = function OptionDisplayConfigItem(props) {
|
|
|
520
488
|
* 倒序
|
|
521
489
|
* @defaultValue false
|
|
522
490
|
*/ _define_property(this, "desc", void 0);
|
|
523
|
-
var _props_columnName;
|
|
524
491
|
this.columnName = (_props_columnName = props.columnName) !== null && _props_columnName !== void 0 ? _props_columnName : '';
|
|
525
|
-
var _props_desc;
|
|
526
492
|
this.desc = (_props_desc = props.desc) !== null && _props_desc !== void 0 ? _props_desc : false;
|
|
527
493
|
};
|
|
528
494
|
export var DataSourceDataSetValue = function DataSourceDataSetValue(props) {
|
|
529
495
|
"use strict";
|
|
530
496
|
_class_call_check(this, DataSourceDataSetValue);
|
|
497
|
+
var _props_code, _props_value, _props_field_type;
|
|
531
498
|
// fieldCode
|
|
532
499
|
_define_property(this, "code", void 0);
|
|
533
500
|
// 值
|
|
534
501
|
_define_property(this, "value", void 0);
|
|
535
502
|
// 数据类型
|
|
536
503
|
_define_property(this, "field_type", void 0);
|
|
537
|
-
var _props_code;
|
|
538
504
|
this.code = (_props_code = props.code) !== null && _props_code !== void 0 ? _props_code : '';
|
|
539
|
-
var _props_value;
|
|
540
505
|
this.value = (_props_value = props.value) !== null && _props_value !== void 0 ? _props_value : '';
|
|
541
|
-
var _props_field_type;
|
|
542
506
|
this.field_type = (_props_field_type = props.field_type) !== null && _props_field_type !== void 0 ? _props_field_type : FieldTypes.ANY;
|
|
543
507
|
};
|
|
544
508
|
export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
545
509
|
"use strict";
|
|
546
510
|
_class_call_check(this, DataSourceParamItem);
|
|
511
|
+
var _props_id, _props_limit, _props_formKey, _ref, _ref1;
|
|
547
512
|
var _props_orders, _props_dataSet;
|
|
548
513
|
/**
|
|
549
514
|
* 字段ID
|
|
@@ -552,44 +517,37 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
|
552
517
|
_define_property(this, "orders", void 0);
|
|
553
518
|
_define_property(this, "formKey", void 0);
|
|
554
519
|
_define_property(this, "dataSet", void 0);
|
|
555
|
-
var _props_id;
|
|
556
520
|
//字段ID,不可以当作随机数生成唯一编号
|
|
557
521
|
this.id = (_props_id = props.id) !== null && _props_id !== void 0 ? _props_id : '';
|
|
558
|
-
var _props_limit;
|
|
559
522
|
this.limit = (_props_limit = props.limit) !== null && _props_limit !== void 0 ? _props_limit : 20;
|
|
560
|
-
var _props_formKey;
|
|
561
523
|
this.formKey = (_props_formKey = props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : '';
|
|
562
|
-
|
|
563
|
-
this.orders = (_props_orders_map = (_props_orders = props.orders) === null || _props_orders === void 0 ? void 0 : _props_orders.map(function(item) {
|
|
524
|
+
this.orders = (_ref = (_props_orders = props.orders) === null || _props_orders === void 0 ? void 0 : _props_orders.map(function(item) {
|
|
564
525
|
return new DataSourceOrderItem(item);
|
|
565
|
-
})) !== null &&
|
|
566
|
-
|
|
567
|
-
this.dataSet = (_props_dataSet_map = (_props_dataSet = props.dataSet) === null || _props_dataSet === void 0 ? void 0 : _props_dataSet.map(function(item) {
|
|
526
|
+
})) !== null && _ref !== void 0 ? _ref : [];
|
|
527
|
+
this.dataSet = (_ref1 = (_props_dataSet = props.dataSet) === null || _props_dataSet === void 0 ? void 0 : _props_dataSet.map(function(item) {
|
|
568
528
|
return new DataSourceDataSetValue(item);
|
|
569
|
-
})) !== null &&
|
|
529
|
+
})) !== null && _ref1 !== void 0 ? _ref1 : [];
|
|
570
530
|
};
|
|
571
531
|
/**
|
|
572
532
|
* 给filters和orders赋值
|
|
573
533
|
* */ function callFiltersAndOrders(props) {
|
|
534
|
+
var _ref, _ref1, _ref2;
|
|
574
535
|
var _props_filters, _props_viewFilters, _props_orders;
|
|
575
|
-
|
|
576
|
-
this.filters = (_props_filters_map = props === null || props === void 0 ? void 0 : (_props_filters = props.filters) === null || _props_filters === void 0 ? void 0 : _props_filters.map(function(item) {
|
|
536
|
+
this.filters = (_ref = props === null || props === void 0 ? void 0 : (_props_filters = props.filters) === null || _props_filters === void 0 ? void 0 : _props_filters.map(function(item) {
|
|
577
537
|
if (item.children !== undefined) {
|
|
578
538
|
return new FieldFilterConditions(item);
|
|
579
539
|
}
|
|
580
540
|
return new FieldFilterCondition(item);
|
|
581
|
-
})) !== null &&
|
|
582
|
-
|
|
583
|
-
this.viewFilters = (_props_viewFilters_map = props === null || props === void 0 ? void 0 : (_props_viewFilters = props.viewFilters) === null || _props_viewFilters === void 0 ? void 0 : _props_viewFilters.map(function(item) {
|
|
541
|
+
})) !== null && _ref !== void 0 ? _ref : [];
|
|
542
|
+
this.viewFilters = (_ref1 = props === null || props === void 0 ? void 0 : (_props_viewFilters = props.viewFilters) === null || _props_viewFilters === void 0 ? void 0 : _props_viewFilters.map(function(item) {
|
|
584
543
|
if (item.children !== undefined) {
|
|
585
544
|
return new FieldFilterConditions(item);
|
|
586
545
|
}
|
|
587
546
|
return new FieldFilterCondition(item);
|
|
588
|
-
})) !== null &&
|
|
589
|
-
|
|
590
|
-
this.orders = (_props_orders_map = props === null || props === void 0 ? void 0 : (_props_orders = props.orders) === null || _props_orders === void 0 ? void 0 : _props_orders.map(function(item) {
|
|
547
|
+
})) !== null && _ref1 !== void 0 ? _ref1 : [];
|
|
548
|
+
this.orders = (_ref2 = props === null || props === void 0 ? void 0 : (_props_orders = props.orders) === null || _props_orders === void 0 ? void 0 : _props_orders.map(function(item) {
|
|
591
549
|
return new DataSourceOrderItem(item);
|
|
592
|
-
})) !== null &&
|
|
550
|
+
})) !== null && _ref2 !== void 0 ? _ref2 : [];
|
|
593
551
|
// }
|
|
594
552
|
}
|
|
595
553
|
/**
|
|
@@ -599,6 +557,7 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
|
599
557
|
"use strict";
|
|
600
558
|
var _this = this;
|
|
601
559
|
_class_call_check(this, DataSourceBind);
|
|
560
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7;
|
|
602
561
|
/**
|
|
603
562
|
* 绑定数据源id
|
|
604
563
|
* @defaultValue ''
|
|
@@ -665,35 +624,54 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
|
665
624
|
* @defaultValue {}
|
|
666
625
|
* @public
|
|
667
626
|
*/ _define_property(this, "openAssignDepartment", void 0);
|
|
668
|
-
|
|
669
|
-
this.
|
|
670
|
-
|
|
671
|
-
this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : '';
|
|
672
|
-
var _props_valueFieldCode;
|
|
673
|
-
this.valueFieldCode = (_props_valueFieldCode = props === null || props === void 0 ? void 0 : props.valueFieldCode) !== null && _props_valueFieldCode !== void 0 ? _props_valueFieldCode : '';
|
|
627
|
+
this.dataCode = (_ref = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _ref !== void 0 ? _ref : '';
|
|
628
|
+
this.appId = (_ref1 = props === null || props === void 0 ? void 0 : props.appId) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
629
|
+
this.valueFieldCode = (_ref2 = props === null || props === void 0 ? void 0 : props.valueFieldCode) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
674
630
|
this.displayBoList = [];
|
|
675
|
-
|
|
676
|
-
this.isOpenViewFilters = (_props_isOpenViewFilters = props === null || props === void 0 ? void 0 : props.isOpenViewFilters) !== null && _props_isOpenViewFilters !== void 0 ? _props_isOpenViewFilters : 0;
|
|
631
|
+
this.isOpenViewFilters = (_ref3 = props === null || props === void 0 ? void 0 : props.isOpenViewFilters) !== null && _ref3 !== void 0 ? _ref3 : 0;
|
|
677
632
|
if (Array.isArray(props === null || props === void 0 ? void 0 : props.displayBoList)) {
|
|
678
633
|
props === null || props === void 0 ? void 0 : props.displayBoList.map(function(item) {
|
|
679
634
|
var _this_displayBoList;
|
|
680
635
|
(_this_displayBoList = _this.displayBoList) === null || _this_displayBoList === void 0 ? void 0 : _this_displayBoList.push(new DisplayBoListItem(item));
|
|
681
636
|
});
|
|
682
637
|
}
|
|
683
|
-
|
|
684
|
-
this.
|
|
685
|
-
|
|
686
|
-
this.showOrder = (_props_showOrder = props === null || props === void 0 ? void 0 : props.showOrder) !== null && _props_showOrder !== void 0 ? _props_showOrder : true;
|
|
687
|
-
var _props_svcCode;
|
|
688
|
-
this.svcCode = (_props_svcCode = props === null || props === void 0 ? void 0 : props.svcCode) !== null && _props_svcCode !== void 0 ? _props_svcCode : '';
|
|
638
|
+
this.keywordMapping = (_ref4 = props === null || props === void 0 ? void 0 : props.keywordMapping) !== null && _ref4 !== void 0 ? _ref4 : '';
|
|
639
|
+
this.showOrder = (_ref5 = props === null || props === void 0 ? void 0 : props.showOrder) !== null && _ref5 !== void 0 ? _ref5 : true;
|
|
640
|
+
this.svcCode = (_ref6 = props === null || props === void 0 ? void 0 : props.svcCode) !== null && _ref6 !== void 0 ? _ref6 : '';
|
|
689
641
|
this.assignDepartment = new RightVariable(props === null || props === void 0 ? void 0 : props.assignDepartment);
|
|
690
|
-
|
|
691
|
-
this.openAssignDepartment = (_props_openAssignDepartment = props === null || props === void 0 ? void 0 : props.openAssignDepartment) !== null && _props_openAssignDepartment !== void 0 ? _props_openAssignDepartment : false;
|
|
642
|
+
this.openAssignDepartment = (_ref7 = props === null || props === void 0 ? void 0 : props.openAssignDepartment) !== null && _ref7 !== void 0 ? _ref7 : false;
|
|
692
643
|
callFiltersAndOrders.call(this, props);
|
|
693
644
|
};
|
|
645
|
+
/**
|
|
646
|
+
* 业务行动绑定配置
|
|
647
|
+
* @public
|
|
648
|
+
*/ export var ActionSourceBind = function ActionSourceBind(props) {
|
|
649
|
+
"use strict";
|
|
650
|
+
_class_call_check(this, ActionSourceBind);
|
|
651
|
+
var _ref, _ref1, _ref2;
|
|
652
|
+
/**
|
|
653
|
+
* 应用Id
|
|
654
|
+
* @defaultValue ''
|
|
655
|
+
* @public
|
|
656
|
+
*/ _define_property(this, "appId", void 0);
|
|
657
|
+
/**
|
|
658
|
+
* 绑定数据源id
|
|
659
|
+
* @defaultValue ''
|
|
660
|
+
* @public
|
|
661
|
+
*/ _define_property(this, "dataCode", void 0);
|
|
662
|
+
/**
|
|
663
|
+
* 业务行动编码
|
|
664
|
+
* @defaultValue ''
|
|
665
|
+
* @public
|
|
666
|
+
*/ _define_property(this, "actionCode", void 0);
|
|
667
|
+
this.appId = (_ref = props === null || props === void 0 ? void 0 : props.appId) !== null && _ref !== void 0 ? _ref : '';
|
|
668
|
+
this.dataCode = (_ref1 = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
669
|
+
this.actionCode = (_ref2 = props === null || props === void 0 ? void 0 : props.actionCode) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
670
|
+
};
|
|
694
671
|
export var SelectedContentConfig = function SelectedContentConfig(props) {
|
|
695
672
|
"use strict";
|
|
696
673
|
_class_call_check(this, SelectedContentConfig);
|
|
674
|
+
var _ref, _ref1;
|
|
697
675
|
/**
|
|
698
676
|
* 展示已选内容
|
|
699
677
|
* @defaultValue ''
|
|
@@ -704,14 +682,13 @@ export var SelectedContentConfig = function SelectedContentConfig(props) {
|
|
|
704
682
|
* @defaultValue []
|
|
705
683
|
* @public
|
|
706
684
|
*/ _define_property(this, "displayBoList", void 0);
|
|
707
|
-
|
|
708
|
-
this.
|
|
709
|
-
var _props_displayBoList;
|
|
710
|
-
this.displayBoList = (_props_displayBoList = props === null || props === void 0 ? void 0 : props.displayBoList) !== null && _props_displayBoList !== void 0 ? _props_displayBoList : [];
|
|
685
|
+
this.dataCode = (_ref = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _ref !== void 0 ? _ref : '';
|
|
686
|
+
this.displayBoList = (_ref1 = props === null || props === void 0 ? void 0 : props.displayBoList) !== null && _ref1 !== void 0 ? _ref1 : [];
|
|
711
687
|
};
|
|
712
688
|
export var LinkOperationOption = function LinkOperationOption(props) {
|
|
713
689
|
"use strict";
|
|
714
690
|
_class_call_check(this, LinkOperationOption);
|
|
691
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9;
|
|
715
692
|
_define_property(this, "code", void 0);
|
|
716
693
|
_define_property(this, "color", void 0);
|
|
717
694
|
_define_property(this, "command", void 0);
|
|
@@ -723,43 +700,31 @@ export var LinkOperationOption = function LinkOperationOption(props) {
|
|
|
723
700
|
_define_property(this, "needConfirm", void 0);
|
|
724
701
|
_define_property(this, "openType", void 0);
|
|
725
702
|
_define_property(this, "priorityProcess", void 0);
|
|
726
|
-
|
|
727
|
-
this.
|
|
728
|
-
|
|
729
|
-
this.
|
|
730
|
-
|
|
731
|
-
this.
|
|
732
|
-
var _props_confirmMessage;
|
|
733
|
-
this.confirmMessage = (_props_confirmMessage = props === null || props === void 0 ? void 0 : props.confirmMessage) !== null && _props_confirmMessage !== void 0 ? _props_confirmMessage : undefined;
|
|
734
|
-
var _props_defaultState;
|
|
735
|
-
this.defaultState = (_props_defaultState = props === null || props === void 0 ? void 0 : props.defaultState) !== null && _props_defaultState !== void 0 ? _props_defaultState : 'default';
|
|
736
|
-
var _props_formKey;
|
|
737
|
-
this.formKey = (_props_formKey = props === null || props === void 0 ? void 0 : props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : undefined;
|
|
703
|
+
this.code = (_ref = props === null || props === void 0 ? void 0 : props.code) !== null && _ref !== void 0 ? _ref : 'view';
|
|
704
|
+
this.color = (_ref1 = props === null || props === void 0 ? void 0 : props.color) !== null && _ref1 !== void 0 ? _ref1 : 'primary';
|
|
705
|
+
this.command = (_ref2 = props === null || props === void 0 ? void 0 : props.command) !== null && _ref2 !== void 0 ? _ref2 : 'view';
|
|
706
|
+
this.confirmMessage = (_ref3 = props === null || props === void 0 ? void 0 : props.confirmMessage) !== null && _ref3 !== void 0 ? _ref3 : undefined;
|
|
707
|
+
this.defaultState = (_ref4 = props === null || props === void 0 ? void 0 : props.defaultState) !== null && _ref4 !== void 0 ? _ref4 : 'default';
|
|
708
|
+
this.formKey = (_ref5 = props === null || props === void 0 ? void 0 : props.formKey) !== null && _ref5 !== void 0 ? _ref5 : undefined;
|
|
738
709
|
this.formType = props === null || props === void 0 ? void 0 : props.formType;
|
|
739
|
-
|
|
740
|
-
this.
|
|
741
|
-
|
|
742
|
-
this.
|
|
743
|
-
var _props_openType;
|
|
744
|
-
this.openType = (_props_openType = props === null || props === void 0 ? void 0 : props.openType) !== null && _props_openType !== void 0 ? _props_openType : 'modal';
|
|
745
|
-
var _props_priorityProcess;
|
|
746
|
-
this.priorityProcess = (_props_priorityProcess = props === null || props === void 0 ? void 0 : props.priorityProcess) !== null && _props_priorityProcess !== void 0 ? _props_priorityProcess : true;
|
|
710
|
+
this.icon = (_ref6 = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref6 !== void 0 ? _ref6 : 'iconliulan1';
|
|
711
|
+
this.needConfirm = (_ref7 = props === null || props === void 0 ? void 0 : props.needConfirm) !== null && _ref7 !== void 0 ? _ref7 : false;
|
|
712
|
+
this.openType = (_ref8 = props === null || props === void 0 ? void 0 : props.openType) !== null && _ref8 !== void 0 ? _ref8 : 'modal';
|
|
713
|
+
this.priorityProcess = (_ref9 = props === null || props === void 0 ? void 0 : props.priorityProcess) !== null && _ref9 !== void 0 ? _ref9 : true;
|
|
747
714
|
};
|
|
748
715
|
export var CustomAttributeItem = function CustomAttributeItem(props) {
|
|
749
716
|
"use strict";
|
|
750
717
|
_class_call_check(this, CustomAttributeItem);
|
|
718
|
+
var _ref, _ref1, _ref2;
|
|
751
719
|
var _props_value;
|
|
752
720
|
_define_property(this, "name", void 0);
|
|
753
721
|
_define_property(this, "key", void 0);
|
|
754
722
|
_define_property(this, "value", void 0);
|
|
755
|
-
|
|
756
|
-
this.
|
|
757
|
-
|
|
758
|
-
this.key = (_props_key = props === null || props === void 0 ? void 0 : props.key) !== null && _props_key !== void 0 ? _props_key : '';
|
|
759
|
-
var _props_value_map;
|
|
760
|
-
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) {
|
|
723
|
+
this.name = (_ref = props === null || props === void 0 ? void 0 : props.name) !== null && _ref !== void 0 ? _ref : '';
|
|
724
|
+
this.key = (_ref1 = props === null || props === void 0 ? void 0 : props.key) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
725
|
+
this.value = (_ref2 = props === null || props === void 0 ? void 0 : (_props_value = props.value) === null || _props_value === void 0 ? void 0 : _props_value.map(function(item) {
|
|
761
726
|
return new DisplayBoListItem(item);
|
|
762
|
-
})) !== null &&
|
|
727
|
+
})) !== null && _ref2 !== void 0 ? _ref2 : [];
|
|
763
728
|
};
|
|
764
729
|
export var SuperDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
765
730
|
"use strict";
|
|
@@ -767,14 +732,14 @@ export var SuperDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
|
767
732
|
function SuperDataSourceBind(props) {
|
|
768
733
|
_class_call_check(this, SuperDataSourceBind);
|
|
769
734
|
var _this;
|
|
735
|
+
var _ref;
|
|
770
736
|
var _props_attributes;
|
|
771
737
|
_this = _call_super(this, SuperDataSourceBind, [
|
|
772
738
|
props
|
|
773
739
|
]), _define_property(_this, "attributes", void 0);
|
|
774
|
-
|
|
775
|
-
_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) {
|
|
740
|
+
_this.attributes = (_ref = props === null || props === void 0 ? void 0 : (_props_attributes = props.attributes) === null || _props_attributes === void 0 ? void 0 : _props_attributes.map(function(item) {
|
|
776
741
|
return new CustomAttributeItem(item);
|
|
777
|
-
})) !== null &&
|
|
742
|
+
})) !== null && _ref !== void 0 ? _ref : [];
|
|
778
743
|
return _this;
|
|
779
744
|
}
|
|
780
745
|
return SuperDataSourceBind;
|
|
@@ -785,16 +750,15 @@ export var OrganizationDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
|
785
750
|
function OrganizationDataSourceBind(props) {
|
|
786
751
|
_class_call_check(this, OrganizationDataSourceBind);
|
|
787
752
|
var _this;
|
|
753
|
+
var _ref, _ref1;
|
|
788
754
|
var _props_attributes;
|
|
789
755
|
_this = _call_super(this, OrganizationDataSourceBind, [
|
|
790
756
|
props
|
|
791
757
|
]), _define_property(_this, "attributes", void 0), _define_property(_this, "formCode", void 0);
|
|
792
|
-
|
|
793
|
-
_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) {
|
|
758
|
+
_this.attributes = (_ref = props === null || props === void 0 ? void 0 : (_props_attributes = props.attributes) === null || _props_attributes === void 0 ? void 0 : _props_attributes.map(function(item) {
|
|
794
759
|
return new CustomAttributeItem(item);
|
|
795
|
-
})) !== null &&
|
|
796
|
-
|
|
797
|
-
_this.formCode = (_props_formCode = props === null || props === void 0 ? void 0 : props.formCode) !== null && _props_formCode !== void 0 ? _props_formCode : '';
|
|
760
|
+
})) !== null && _ref !== void 0 ? _ref : [];
|
|
761
|
+
_this.formCode = (_ref1 = props === null || props === void 0 ? void 0 : props.formCode) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
798
762
|
return _this;
|
|
799
763
|
}
|
|
800
764
|
return OrganizationDataSourceBind;
|
|
@@ -805,12 +769,12 @@ export var TreeDataSourceBind = /*#__PURE__*/ function(SuperDataSourceBind) {
|
|
|
805
769
|
function TreeDataSourceBind(props) {
|
|
806
770
|
_class_call_check(this, TreeDataSourceBind);
|
|
807
771
|
var _this;
|
|
772
|
+
var _ref;
|
|
808
773
|
_this = _call_super(this, TreeDataSourceBind, [
|
|
809
774
|
props
|
|
810
775
|
]), _define_property(_this, "rootNode", void 0), _define_property(_this, "filterCode", void 0);
|
|
811
776
|
_this.rootNode = new RightVariable(props === null || props === void 0 ? void 0 : props.rootNode);
|
|
812
|
-
|
|
813
|
-
_this.filterCode = (_props_filterCode = props === null || props === void 0 ? void 0 : props.filterCode) !== null && _props_filterCode !== void 0 ? _props_filterCode : '';
|
|
777
|
+
_this.filterCode = (_ref = props === null || props === void 0 ? void 0 : props.filterCode) !== null && _ref !== void 0 ? _ref : '';
|
|
814
778
|
return _this;
|
|
815
779
|
}
|
|
816
780
|
return TreeDataSourceBind;
|
|
@@ -818,6 +782,7 @@ export var TreeDataSourceBind = /*#__PURE__*/ function(SuperDataSourceBind) {
|
|
|
818
782
|
var FillBind = function FillBind(props) {
|
|
819
783
|
"use strict";
|
|
820
784
|
_class_call_check(this, FillBind);
|
|
785
|
+
var _ref, _ref1, _ref2;
|
|
821
786
|
var _props_fillList;
|
|
822
787
|
/*
|
|
823
788
|
* 需要被填充的数据源
|
|
@@ -828,14 +793,11 @@ var FillBind = function FillBind(props) {
|
|
|
828
793
|
/*
|
|
829
794
|
* 执行填充的数据项和控件
|
|
830
795
|
* */ _define_property(this, "fillList", void 0);
|
|
831
|
-
|
|
832
|
-
this.
|
|
833
|
-
|
|
834
|
-
this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : '';
|
|
835
|
-
var _props_fillList_map;
|
|
836
|
-
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) {
|
|
796
|
+
this.dataCode = (_ref = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _ref !== void 0 ? _ref : '';
|
|
797
|
+
this.appId = (_ref1 = props === null || props === void 0 ? void 0 : props.appId) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
798
|
+
this.fillList = (_ref2 = props === null || props === void 0 ? void 0 : (_props_fillList = props.fillList) === null || _props_fillList === void 0 ? void 0 : _props_fillList.map(function(item) {
|
|
837
799
|
return new MultistageFillingItem(item);
|
|
838
|
-
})) !== null &&
|
|
800
|
+
})) !== null && _ref2 !== void 0 ? _ref2 : [];
|
|
839
801
|
};
|
|
840
802
|
/**
|
|
841
803
|
* FillPayloadBind 填充配置
|
|
@@ -876,6 +838,7 @@ var FillBind = function FillBind(props) {
|
|
|
876
838
|
function FillBackBind(props) {
|
|
877
839
|
_class_call_check(this, FillBackBind);
|
|
878
840
|
var _this;
|
|
841
|
+
var _ref, _ref1;
|
|
879
842
|
_this = _call_super(this, FillBackBind, [
|
|
880
843
|
props
|
|
881
844
|
]), /**
|
|
@@ -887,10 +850,8 @@ var FillBind = function FillBind(props) {
|
|
|
887
850
|
* @defaultValue false
|
|
888
851
|
* @public
|
|
889
852
|
*/ _define_property(_this, "multiple", void 0);
|
|
890
|
-
|
|
891
|
-
_this.
|
|
892
|
-
var _props_multiple;
|
|
893
|
-
_this.multiple = (_props_multiple = props === null || props === void 0 ? void 0 : props.multiple) !== null && _props_multiple !== void 0 ? _props_multiple : false;
|
|
853
|
+
_this.mode = (_ref = props === null || props === void 0 ? void 0 : props.mode) !== null && _ref !== void 0 ? _ref : 'current';
|
|
854
|
+
_this.multiple = (_ref1 = props === null || props === void 0 ? void 0 : props.multiple) !== null && _ref1 !== void 0 ? _ref1 : false;
|
|
894
855
|
return _this;
|
|
895
856
|
}
|
|
896
857
|
return FillBackBind;
|
|
@@ -898,15 +859,13 @@ var FillBind = function FillBind(props) {
|
|
|
898
859
|
export var Language = function Language(props) {
|
|
899
860
|
"use strict";
|
|
900
861
|
_class_call_check(this, Language);
|
|
862
|
+
var _ref, _ref1, _ref2;
|
|
901
863
|
_define_property(this, "zh", void 0);
|
|
902
864
|
_define_property(this, "en", void 0);
|
|
903
865
|
_define_property(this, "ja", void 0);
|
|
904
|
-
|
|
905
|
-
this.
|
|
906
|
-
|
|
907
|
-
this.en = (_props_en = props === null || props === void 0 ? void 0 : props.en) !== null && _props_en !== void 0 ? _props_en : '';
|
|
908
|
-
var _props_ja;
|
|
909
|
-
this.ja = (_props_ja = props === null || props === void 0 ? void 0 : props.ja) !== null && _props_ja !== void 0 ? _props_ja : '';
|
|
866
|
+
this.zh = (_ref = props === null || props === void 0 ? void 0 : props.zh) !== null && _ref !== void 0 ? _ref : '';
|
|
867
|
+
this.en = (_ref1 = props === null || props === void 0 ? void 0 : props.en) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
868
|
+
this.ja = (_ref2 = props === null || props === void 0 ? void 0 : props.ja) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
910
869
|
};
|
|
911
870
|
/**
|
|
912
871
|
* 正则校验
|
|
@@ -914,6 +873,7 @@ export var Language = function Language(props) {
|
|
|
914
873
|
*/ export var RegularRules = function RegularRules(props) {
|
|
915
874
|
"use strict";
|
|
916
875
|
_class_call_check(this, RegularRules);
|
|
876
|
+
var _ref, _ref1, _ref2;
|
|
917
877
|
/**
|
|
918
878
|
* 内置模版
|
|
919
879
|
* @defaultValue ''
|
|
@@ -926,12 +886,9 @@ export var Language = function Language(props) {
|
|
|
926
886
|
* 校验错误提示信息
|
|
927
887
|
* @defaultValue ''
|
|
928
888
|
*/ _define_property(this, "errMessage", void 0);
|
|
929
|
-
|
|
930
|
-
this.
|
|
931
|
-
|
|
932
|
-
this.expression = (_props_expression = props === null || props === void 0 ? void 0 : props.expression) !== null && _props_expression !== void 0 ? _props_expression : '';
|
|
933
|
-
var _props_errMessage;
|
|
934
|
-
this.errMessage = (_props_errMessage = props === null || props === void 0 ? void 0 : props.errMessage) !== null && _props_errMessage !== void 0 ? _props_errMessage : '';
|
|
889
|
+
this.stencilName = (_ref = props === null || props === void 0 ? void 0 : props.stencilName) !== null && _ref !== void 0 ? _ref : '';
|
|
890
|
+
this.expression = (_ref1 = props === null || props === void 0 ? void 0 : props.expression) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
891
|
+
this.errMessage = (_ref2 = props === null || props === void 0 ? void 0 : props.errMessage) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
935
892
|
};
|
|
936
893
|
/**
|
|
937
894
|
* 选项设置-自定义选项
|
|
@@ -939,6 +896,7 @@ export var Language = function Language(props) {
|
|
|
939
896
|
*/ export var OptionSetting = function OptionSetting(props) {
|
|
940
897
|
"use strict";
|
|
941
898
|
_class_call_check(this, OptionSetting);
|
|
899
|
+
var _ref, _ref1, _ref2, _ref3;
|
|
942
900
|
_define_property(this, "id", void 0);
|
|
943
901
|
/**
|
|
944
902
|
* 显示值
|
|
@@ -955,14 +913,10 @@ export var Language = function Language(props) {
|
|
|
955
913
|
* @defaultValue
|
|
956
914
|
* @public
|
|
957
915
|
*/ _define_property(this, "color", void 0);
|
|
958
|
-
|
|
959
|
-
this.
|
|
960
|
-
|
|
961
|
-
this.
|
|
962
|
-
var _props_value;
|
|
963
|
-
this.value = (_props_value = props === null || props === void 0 ? void 0 : props.value) !== null && _props_value !== void 0 ? _props_value : this.label;
|
|
964
|
-
var _props_color;
|
|
965
|
-
this.color = (_props_color = props === null || props === void 0 ? void 0 : props.color) !== null && _props_color !== void 0 ? _props_color : '';
|
|
916
|
+
this.id = (_ref = props === null || props === void 0 ? void 0 : props.id) !== null && _ref !== void 0 ? _ref : genNonDuplicateId(8);
|
|
917
|
+
this.label = (_ref1 = props === null || props === void 0 ? void 0 : props.label) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
918
|
+
this.value = (_ref2 = props === null || props === void 0 ? void 0 : props.value) !== null && _ref2 !== void 0 ? _ref2 : this.label;
|
|
919
|
+
this.color = (_ref3 = props === null || props === void 0 ? void 0 : props.color) !== null && _ref3 !== void 0 ? _ref3 : '';
|
|
966
920
|
};
|
|
967
921
|
export var ImageOptionSetting = /*#__PURE__*/ function(OptionSetting) {
|
|
968
922
|
"use strict";
|
|
@@ -970,13 +924,12 @@ export var ImageOptionSetting = /*#__PURE__*/ function(OptionSetting) {
|
|
|
970
924
|
function ImageOptionSetting(props) {
|
|
971
925
|
_class_call_check(this, ImageOptionSetting);
|
|
972
926
|
var _this;
|
|
927
|
+
var _ref, _ref1;
|
|
973
928
|
_this = _call_super(this, ImageOptionSetting, [
|
|
974
929
|
props
|
|
975
930
|
]), _define_property(_this, "image", void 0), _define_property(_this, "type", void 0);
|
|
976
|
-
|
|
977
|
-
_this.
|
|
978
|
-
var _props_type;
|
|
979
|
-
_this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : 'src';
|
|
931
|
+
_this.image = (_ref = props === null || props === void 0 ? void 0 : props.image) !== null && _ref !== void 0 ? _ref : '';
|
|
932
|
+
_this.type = (_ref1 = props === null || props === void 0 ? void 0 : props.type) !== null && _ref1 !== void 0 ? _ref1 : 'src';
|
|
980
933
|
return _this;
|
|
981
934
|
}
|
|
982
935
|
return ImageOptionSetting;
|
|
@@ -987,34 +940,33 @@ export var AiOptionSetting = /*#__PURE__*/ function(OptionSetting) {
|
|
|
987
940
|
function AiOptionSetting(props) {
|
|
988
941
|
_class_call_check(this, AiOptionSetting);
|
|
989
942
|
var _this;
|
|
943
|
+
var _ref, _ref1;
|
|
990
944
|
_this = _call_super(this, AiOptionSetting, [
|
|
991
945
|
props
|
|
992
946
|
]), _define_property(_this, "cueWord", void 0), _define_property(_this, "checked", void 0);
|
|
993
|
-
|
|
994
|
-
_this.
|
|
995
|
-
var _props_checked;
|
|
996
|
-
_this.checked = (_props_checked = props === null || props === void 0 ? void 0 : props.checked) !== null && _props_checked !== void 0 ? _props_checked : false;
|
|
947
|
+
_this.cueWord = (_ref = props === null || props === void 0 ? void 0 : props.cueWord) !== null && _ref !== void 0 ? _ref : '';
|
|
948
|
+
_this.checked = (_ref1 = props === null || props === void 0 ? void 0 : props.checked) !== null && _ref1 !== void 0 ? _ref1 : false;
|
|
997
949
|
return _this;
|
|
998
950
|
}
|
|
999
951
|
return AiOptionSetting;
|
|
1000
952
|
}(OptionSetting);
|
|
1001
953
|
export function initOptions(options) {
|
|
1002
|
-
var
|
|
1003
|
-
return (
|
|
954
|
+
var _ref;
|
|
955
|
+
return (_ref = options === null || options === void 0 ? void 0 : options.map(function(item) {
|
|
1004
956
|
return new OptionSetting(item);
|
|
1005
|
-
})) !== null &&
|
|
957
|
+
})) !== null && _ref !== void 0 ? _ref : [];
|
|
1006
958
|
}
|
|
1007
959
|
export function initImageOptions(options) {
|
|
1008
|
-
var
|
|
1009
|
-
return (
|
|
960
|
+
var _ref;
|
|
961
|
+
return (_ref = options === null || options === void 0 ? void 0 : options.map(function(item) {
|
|
1010
962
|
return new ImageOptionSetting(item);
|
|
1011
|
-
})) !== null &&
|
|
963
|
+
})) !== null && _ref !== void 0 ? _ref : [];
|
|
1012
964
|
}
|
|
1013
965
|
export function initAiOptions(options) {
|
|
1014
|
-
var
|
|
1015
|
-
return (
|
|
966
|
+
var _ref;
|
|
967
|
+
return (_ref = options === null || options === void 0 ? void 0 : options.map(function(item) {
|
|
1016
968
|
return new AiOptionSetting(item);
|
|
1017
|
-
})) !== null &&
|
|
969
|
+
})) !== null && _ref !== void 0 ? _ref : [];
|
|
1018
970
|
}
|
|
1019
971
|
/**
|
|
1020
972
|
* 对象类型数据绑定配置
|
|
@@ -1049,6 +1001,7 @@ export function initAiOptions(options) {
|
|
|
1049
1001
|
*/ export var AmountValue = function AmountValue(props) {
|
|
1050
1002
|
"use strict";
|
|
1051
1003
|
_class_call_check(this, AmountValue);
|
|
1004
|
+
var _ref, _ref1;
|
|
1052
1005
|
/**
|
|
1053
1006
|
* 金额值
|
|
1054
1007
|
* @defaultValue ''
|
|
@@ -1057,10 +1010,8 @@ export function initAiOptions(options) {
|
|
|
1057
1010
|
* 货币值
|
|
1058
1011
|
* @defaultValue 'CNY'
|
|
1059
1012
|
*/ _define_property(this, "currency", void 0);
|
|
1060
|
-
|
|
1061
|
-
this.
|
|
1062
|
-
var _props_currency;
|
|
1063
|
-
this.currency = (_props_currency = props === null || props === void 0 ? void 0 : props.currency) !== null && _props_currency !== void 0 ? _props_currency : "CNY";
|
|
1013
|
+
this.amount = (_ref = props === null || props === void 0 ? void 0 : props.amount) !== null && _ref !== void 0 ? _ref : '';
|
|
1014
|
+
this.currency = (_ref1 = props === null || props === void 0 ? void 0 : props.currency) !== null && _ref1 !== void 0 ? _ref1 : "CNY";
|
|
1064
1015
|
};
|
|
1065
1016
|
/**
|
|
1066
1017
|
* 日期区间数据绑定项
|
|
@@ -1088,6 +1039,7 @@ export function initAiOptions(options) {
|
|
|
1088
1039
|
*/ export var RangeDateValue = function RangeDateValue(props) {
|
|
1089
1040
|
"use strict";
|
|
1090
1041
|
_class_call_check(this, RangeDateValue);
|
|
1042
|
+
var _ref, _ref1;
|
|
1091
1043
|
/**
|
|
1092
1044
|
* 开始日期值
|
|
1093
1045
|
* @defaultValue ''
|
|
@@ -1096,10 +1048,8 @@ export function initAiOptions(options) {
|
|
|
1096
1048
|
* 结束日期值
|
|
1097
1049
|
* @defaultValue ''
|
|
1098
1050
|
*/ _define_property(this, "max", void 0);
|
|
1099
|
-
|
|
1100
|
-
this.
|
|
1101
|
-
var _props_max;
|
|
1102
|
-
this.max = (_props_max = props === null || props === void 0 ? void 0 : props.max) !== null && _props_max !== void 0 ? _props_max : '';
|
|
1051
|
+
this.min = (_ref = props === null || props === void 0 ? void 0 : props.min) !== null && _ref !== void 0 ? _ref : '';
|
|
1052
|
+
this.max = (_ref1 = props === null || props === void 0 ? void 0 : props.max) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
1103
1053
|
};
|
|
1104
1054
|
/**
|
|
1105
1055
|
* 地址值
|
|
@@ -1107,6 +1057,15 @@ export function initAiOptions(options) {
|
|
|
1107
1057
|
*/ export var AddressValue = function AddressValue(props) {
|
|
1108
1058
|
"use strict";
|
|
1109
1059
|
_class_call_check(this, AddressValue);
|
|
1060
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7;
|
|
1061
|
+
/**
|
|
1062
|
+
* 国家编码
|
|
1063
|
+
* @defaultValue ''
|
|
1064
|
+
*/ _define_property(this, "country", void 0);
|
|
1065
|
+
/**
|
|
1066
|
+
* 国家显示文字
|
|
1067
|
+
* @defaultValue ''
|
|
1068
|
+
*/ _define_property(this, "countryDisplay", void 0);
|
|
1110
1069
|
/**
|
|
1111
1070
|
* 市编码
|
|
1112
1071
|
* @defaultValue ''
|
|
@@ -1131,18 +1090,14 @@ export function initAiOptions(options) {
|
|
|
1131
1090
|
* 省显示文字
|
|
1132
1091
|
* @defaultValue ''
|
|
1133
1092
|
*/ _define_property(this, "provinceDisplay", void 0);
|
|
1134
|
-
|
|
1135
|
-
this.
|
|
1136
|
-
|
|
1137
|
-
this.cityDisplay = (
|
|
1138
|
-
|
|
1139
|
-
this.
|
|
1140
|
-
|
|
1141
|
-
this.
|
|
1142
|
-
var _props_province;
|
|
1143
|
-
this.province = (_props_province = props === null || props === void 0 ? void 0 : props.province) !== null && _props_province !== void 0 ? _props_province : '';
|
|
1144
|
-
var _props_provinceDisplay;
|
|
1145
|
-
this.provinceDisplay = (_props_provinceDisplay = props === null || props === void 0 ? void 0 : props.provinceDisplay) !== null && _props_provinceDisplay !== void 0 ? _props_provinceDisplay : '';
|
|
1093
|
+
this.country = (_ref = props === null || props === void 0 ? void 0 : props.country) !== null && _ref !== void 0 ? _ref : '';
|
|
1094
|
+
this.countryDisplay = (_ref1 = props === null || props === void 0 ? void 0 : props.countryDisplay) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
1095
|
+
this.city = (_ref2 = props === null || props === void 0 ? void 0 : props.city) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
1096
|
+
this.cityDisplay = (_ref3 = props === null || props === void 0 ? void 0 : props.cityDisplay) !== null && _ref3 !== void 0 ? _ref3 : '';
|
|
1097
|
+
this.district = (_ref4 = props === null || props === void 0 ? void 0 : props.district) !== null && _ref4 !== void 0 ? _ref4 : '';
|
|
1098
|
+
this.districtDisplay = (_ref5 = props === null || props === void 0 ? void 0 : props.districtDisplay) !== null && _ref5 !== void 0 ? _ref5 : '';
|
|
1099
|
+
this.province = (_ref6 = props === null || props === void 0 ? void 0 : props.province) !== null && _ref6 !== void 0 ? _ref6 : '';
|
|
1100
|
+
this.provinceDisplay = (_ref7 = props === null || props === void 0 ? void 0 : props.provinceDisplay) !== null && _ref7 !== void 0 ? _ref7 : '';
|
|
1146
1101
|
};
|
|
1147
1102
|
/**
|
|
1148
1103
|
* 计算公式数据绑定项
|
|
@@ -1170,6 +1125,7 @@ export function initAiOptions(options) {
|
|
|
1170
1125
|
*/ export var CalcValue = function CalcValue(props) {
|
|
1171
1126
|
"use strict";
|
|
1172
1127
|
_class_call_check(this, CalcValue);
|
|
1128
|
+
var _ref, _ref1;
|
|
1173
1129
|
/**
|
|
1174
1130
|
* 计算结果值
|
|
1175
1131
|
* @defaultValue 0
|
|
@@ -1178,10 +1134,8 @@ export function initAiOptions(options) {
|
|
|
1178
1134
|
* 单位
|
|
1179
1135
|
* @defaultValue ''
|
|
1180
1136
|
*/ _define_property(this, "unit", void 0);
|
|
1181
|
-
|
|
1182
|
-
this.
|
|
1183
|
-
var _props_unit;
|
|
1184
|
-
this.unit = (_props_unit = props === null || props === void 0 ? void 0 : props.unit) !== null && _props_unit !== void 0 ? _props_unit : '';
|
|
1137
|
+
this.result = (_ref = props === null || props === void 0 ? void 0 : props.result) !== null && _ref !== void 0 ? _ref : 0;
|
|
1138
|
+
this.unit = (_ref1 = props === null || props === void 0 ? void 0 : props.unit) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
1185
1139
|
};
|
|
1186
1140
|
// 币种类型
|
|
1187
1141
|
export var AMOUNT_TYPE = /*#__PURE__*/ function(AMOUNT_TYPE) {
|
|
@@ -1262,6 +1216,7 @@ export var AMOUNT_TYPE = /*#__PURE__*/ function(AMOUNT_TYPE) {
|
|
|
1262
1216
|
COMMON_SETTING_TYPE["CAPTION_SIZE"] = "captionSize";
|
|
1263
1217
|
COMMON_SETTING_TYPE["CAPTION_COLOR"] = "captionColor";
|
|
1264
1218
|
COMMON_SETTING_TYPE["IS_CAPTION_ITALIC"] = "isCaptionItalic";
|
|
1219
|
+
COMMON_SETTING_TYPE["CAPTION_FONT_WEIGHT"] = "captionFontWeight";
|
|
1265
1220
|
COMMON_SETTING_TYPE["SHOW_TABLE_INDEX"] = "showTableIndex";
|
|
1266
1221
|
return COMMON_SETTING_TYPE;
|
|
1267
1222
|
}({});
|
|
@@ -1278,6 +1233,7 @@ export var PAGE_STATUS = /*#__PURE__*/ function(PAGE_STATUS) {
|
|
|
1278
1233
|
*/ export var OperationItem = function OperationItem(props) {
|
|
1279
1234
|
"use strict";
|
|
1280
1235
|
_class_call_check(this, OperationItem);
|
|
1236
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5;
|
|
1281
1237
|
/**
|
|
1282
1238
|
* 是否显示
|
|
1283
1239
|
* @defaultValue true
|
|
@@ -1304,36 +1260,28 @@ export var PAGE_STATUS = /*#__PURE__*/ function(PAGE_STATUS) {
|
|
|
1304
1260
|
* @public
|
|
1305
1261
|
*/ _define_property(this, "openType", void 0);
|
|
1306
1262
|
_define_property(this, "type", void 0);
|
|
1307
|
-
|
|
1308
|
-
this.
|
|
1309
|
-
|
|
1310
|
-
this.
|
|
1311
|
-
|
|
1312
|
-
this.
|
|
1313
|
-
var _props_openType;
|
|
1314
|
-
this.openType = (_props_openType = props === null || props === void 0 ? void 0 : props.openType) !== null && _props_openType !== void 0 ? _props_openType : 'modal';
|
|
1315
|
-
var _props_type;
|
|
1316
|
-
this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : '';
|
|
1317
|
-
var _props_priorityProcess;
|
|
1318
|
-
this.priorityProcess = (_props_priorityProcess = props === null || props === void 0 ? void 0 : props.priorityProcess) !== null && _props_priorityProcess !== void 0 ? _props_priorityProcess : false;
|
|
1263
|
+
this.isShow = (_ref = props === null || props === void 0 ? void 0 : props.isShow) !== null && _ref !== void 0 ? _ref : true;
|
|
1264
|
+
this.content = (_ref1 = props === null || props === void 0 ? void 0 : props.content) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
1265
|
+
this.formKey = (_ref2 = props === null || props === void 0 ? void 0 : props.formKey) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
1266
|
+
this.openType = (_ref3 = props === null || props === void 0 ? void 0 : props.openType) !== null && _ref3 !== void 0 ? _ref3 : 'modal';
|
|
1267
|
+
this.type = (_ref4 = props === null || props === void 0 ? void 0 : props.type) !== null && _ref4 !== void 0 ? _ref4 : '';
|
|
1268
|
+
this.priorityProcess = (_ref5 = props === null || props === void 0 ? void 0 : props.priorityProcess) !== null && _ref5 !== void 0 ? _ref5 : false;
|
|
1319
1269
|
};
|
|
1320
1270
|
export var ViewOperationItem = function ViewOperationItem(props) {
|
|
1321
1271
|
"use strict";
|
|
1322
1272
|
_class_call_check(this, ViewOperationItem);
|
|
1273
|
+
var _ref, _ref1, _ref2;
|
|
1323
1274
|
var _props_headers;
|
|
1324
1275
|
_define_property(this, "id", void 0);
|
|
1325
1276
|
_define_property(this, "title", void 0);
|
|
1326
1277
|
_define_property(this, "filters", void 0);
|
|
1327
1278
|
_define_property(this, "viewFilters", void 0);
|
|
1328
1279
|
_define_property(this, "headers", void 0);
|
|
1329
|
-
|
|
1330
|
-
this.
|
|
1331
|
-
|
|
1332
|
-
this.title = (_props_title = props === null || props === void 0 ? void 0 : props.title) !== null && _props_title !== void 0 ? _props_title : '';
|
|
1333
|
-
var _props_headers_map;
|
|
1334
|
-
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) {
|
|
1280
|
+
this.id = (_ref = props === null || props === void 0 ? void 0 : props.id) !== null && _ref !== void 0 ? _ref : genNonDuplicateId(8);
|
|
1281
|
+
this.title = (_ref1 = props === null || props === void 0 ? void 0 : props.title) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
1282
|
+
this.headers = (_ref2 = props === null || props === void 0 ? void 0 : (_props_headers = props.headers) === null || _props_headers === void 0 ? void 0 : _props_headers.map(function(item) {
|
|
1335
1283
|
return new ListBindHeaderItem(item);
|
|
1336
|
-
})) !== null &&
|
|
1284
|
+
})) !== null && _ref2 !== void 0 ? _ref2 : [];
|
|
1337
1285
|
callFiltersAndOrders.call(this, props);
|
|
1338
1286
|
};
|
|
1339
1287
|
/**
|
|
@@ -1341,36 +1289,33 @@ export var ViewOperationItem = function ViewOperationItem(props) {
|
|
|
1341
1289
|
*/ export var CustomPermissionItem = function CustomPermissionItem(props) {
|
|
1342
1290
|
"use strict";
|
|
1343
1291
|
_class_call_check(this, CustomPermissionItem);
|
|
1292
|
+
var _props_key, _props_caption;
|
|
1344
1293
|
/**
|
|
1345
1294
|
* 人工输入的权限key
|
|
1346
1295
|
*/ _define_property(this, "key", void 0);
|
|
1347
1296
|
/**
|
|
1348
1297
|
* 权限名称
|
|
1349
1298
|
*/ _define_property(this, "caption", void 0);
|
|
1350
|
-
var _props_key;
|
|
1351
1299
|
this.key = (_props_key = props.key) !== null && _props_key !== void 0 ? _props_key : genNonDuplicateId(8);
|
|
1352
|
-
var _props_caption;
|
|
1353
1300
|
this.caption = (_props_caption = props.caption) !== null && _props_caption !== void 0 ? _props_caption : '';
|
|
1354
1301
|
};
|
|
1355
1302
|
export var BaseStyle = function BaseStyle(props) {
|
|
1356
1303
|
"use strict";
|
|
1357
1304
|
_class_call_check(this, BaseStyle);
|
|
1305
|
+
var _ref, _ref1, _ref2, _ref3;
|
|
1358
1306
|
_define_property(this, "width", void 0);
|
|
1359
1307
|
_define_property(this, "height", void 0);
|
|
1360
1308
|
_define_property(this, "widthConfig", void 0);
|
|
1361
1309
|
_define_property(this, "heightConfig", void 0);
|
|
1362
|
-
|
|
1363
|
-
this.
|
|
1364
|
-
|
|
1365
|
-
this.
|
|
1366
|
-
var _props_widthConfig;
|
|
1367
|
-
this.widthConfig = (_props_widthConfig = props === null || props === void 0 ? void 0 : props.widthConfig) !== null && _props_widthConfig !== void 0 ? _props_widthConfig : 'fill';
|
|
1368
|
-
var _props_heightConfig;
|
|
1369
|
-
this.heightConfig = (_props_heightConfig = props === null || props === void 0 ? void 0 : props.heightConfig) !== null && _props_heightConfig !== void 0 ? _props_heightConfig : 'fill';
|
|
1310
|
+
this.width = (_ref = props === null || props === void 0 ? void 0 : props.width) !== null && _ref !== void 0 ? _ref : '';
|
|
1311
|
+
this.height = (_ref1 = props === null || props === void 0 ? void 0 : props.height) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
1312
|
+
this.widthConfig = (_ref2 = props === null || props === void 0 ? void 0 : props.widthConfig) !== null && _ref2 !== void 0 ? _ref2 : 'fill';
|
|
1313
|
+
this.heightConfig = (_ref3 = props === null || props === void 0 ? void 0 : props.heightConfig) !== null && _ref3 !== void 0 ? _ref3 : 'fill';
|
|
1370
1314
|
};
|
|
1371
1315
|
export var OptObject = function OptObject(props) {
|
|
1372
1316
|
"use strict";
|
|
1373
1317
|
_class_call_check(this, OptObject);
|
|
1318
|
+
var _ref, _ref1;
|
|
1374
1319
|
/**
|
|
1375
1320
|
* 操作项编码
|
|
1376
1321
|
* @defaultValue ''
|
|
@@ -1381,14 +1326,13 @@ export var OptObject = function OptObject(props) {
|
|
|
1381
1326
|
* @defaultValue ''
|
|
1382
1327
|
* @public
|
|
1383
1328
|
*/ _define_property(this, "optType", void 0);
|
|
1384
|
-
|
|
1385
|
-
this.
|
|
1386
|
-
var _props_optType;
|
|
1387
|
-
this.optType = (_props_optType = props === null || props === void 0 ? void 0 : props.optType) !== null && _props_optType !== void 0 ? _props_optType : '';
|
|
1329
|
+
this.optCode = (_ref = props === null || props === void 0 ? void 0 : props.optCode) !== null && _ref !== void 0 ? _ref : '';
|
|
1330
|
+
this.optType = (_ref1 = props === null || props === void 0 ? void 0 : props.optType) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
1388
1331
|
};
|
|
1389
1332
|
export var RowStyleRule = function RowStyleRule(props) {
|
|
1390
1333
|
"use strict";
|
|
1391
1334
|
_class_call_check(this, RowStyleRule);
|
|
1335
|
+
var _ref, _ref1, _ref2, _ref3;
|
|
1392
1336
|
var _props_filters, _props_settings;
|
|
1393
1337
|
/**
|
|
1394
1338
|
* 规则编号
|
|
@@ -1408,26 +1352,23 @@ export var RowStyleRule = function RowStyleRule(props) {
|
|
|
1408
1352
|
*/ _define_property(this, "filters", void 0);
|
|
1409
1353
|
// 过滤
|
|
1410
1354
|
_define_property(this, "script", void 0);
|
|
1411
|
-
|
|
1412
|
-
this.
|
|
1413
|
-
|
|
1414
|
-
this.name = (_props_name = props === null || props === void 0 ? void 0 : props.name) !== null && _props_name !== void 0 ? _props_name : '';
|
|
1415
|
-
var _props_filters_map;
|
|
1416
|
-
this.filters = (_props_filters_map = props === null || props === void 0 ? void 0 : (_props_filters = props.filters) === null || _props_filters === void 0 ? void 0 : _props_filters.map(function(item) {
|
|
1355
|
+
this.id = (_ref = props === null || props === void 0 ? void 0 : props.id) !== null && _ref !== void 0 ? _ref : genNonDuplicateId();
|
|
1356
|
+
this.name = (_ref1 = props === null || props === void 0 ? void 0 : props.name) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
1357
|
+
this.filters = (_ref2 = props === null || props === void 0 ? void 0 : (_props_filters = props.filters) === null || _props_filters === void 0 ? void 0 : _props_filters.map(function(item) {
|
|
1417
1358
|
if (item.children !== undefined) {
|
|
1418
1359
|
return new FieldFilterConditions(item);
|
|
1419
1360
|
}
|
|
1420
1361
|
return new FieldFilterCondition(item);
|
|
1421
|
-
})) !== null &&
|
|
1422
|
-
|
|
1423
|
-
this.settings = (props === null || props === void 0 ? void 0 : props.settings) && Array.isArray(props === null || props === void 0 ? void 0 : props.settings) ? (_props_settings_map = props === null || props === void 0 ? void 0 : (_props_settings = props.settings) === null || _props_settings === void 0 ? void 0 : _props_settings.map(function(item) {
|
|
1362
|
+
})) !== null && _ref2 !== void 0 ? _ref2 : [];
|
|
1363
|
+
this.settings = (props === null || props === void 0 ? void 0 : props.settings) && Array.isArray(props === null || props === void 0 ? void 0 : props.settings) ? (_ref3 = props === null || props === void 0 ? void 0 : (_props_settings = props.settings) === null || _props_settings === void 0 ? void 0 : _props_settings.map(function(item) {
|
|
1424
1364
|
return new RowStyleSettings(item);
|
|
1425
|
-
})) !== null &&
|
|
1365
|
+
})) !== null && _ref3 !== void 0 ? _ref3 : [] : [];
|
|
1426
1366
|
this.script = props === null || props === void 0 ? void 0 : props.script;
|
|
1427
1367
|
};
|
|
1428
1368
|
export var RowStyleSettings = function RowStyleSettings(props) {
|
|
1429
1369
|
"use strict";
|
|
1430
1370
|
_class_call_check(this, RowStyleSettings);
|
|
1371
|
+
var _props_type, _props_fieldCodes, _props_color, _props_scope;
|
|
1431
1372
|
/**
|
|
1432
1373
|
* 颜色值。theme:跟随主题色;#4c78fc:具体颜色值
|
|
1433
1374
|
* @defaultValue 'theme'
|
|
@@ -1442,36 +1383,31 @@ export var RowStyleSettings = function RowStyleSettings(props) {
|
|
|
1442
1383
|
/**
|
|
1443
1384
|
* 作用范围,row整行,col整列
|
|
1444
1385
|
*/ _define_property(this, "scope", void 0);
|
|
1445
|
-
var _props_type;
|
|
1446
1386
|
this.type = (_props_type = props.type) !== null && _props_type !== void 0 ? _props_type : 'background';
|
|
1447
|
-
var _props_fieldCodes;
|
|
1448
1387
|
this.fieldCodes = (_props_fieldCodes = props.fieldCodes) !== null && _props_fieldCodes !== void 0 ? _props_fieldCodes : [];
|
|
1449
|
-
var _props_color;
|
|
1450
1388
|
this.color = (_props_color = props.color) !== null && _props_color !== void 0 ? _props_color : 'theme';
|
|
1451
|
-
var _props_scope;
|
|
1452
1389
|
this.scope = (_props_scope = props.scope) !== null && _props_scope !== void 0 ? _props_scope : 'row';
|
|
1453
1390
|
};
|
|
1454
1391
|
export var RowStyle = function RowStyle(props) {
|
|
1455
1392
|
"use strict";
|
|
1456
1393
|
_class_call_check(this, RowStyle);
|
|
1394
|
+
var _ref, _ref1, _ref2;
|
|
1457
1395
|
var _props_rules;
|
|
1458
1396
|
_define_property(this, "type", void 0);
|
|
1459
1397
|
_define_property(this, "interval", void 0);
|
|
1460
1398
|
_define_property(this, "rules", void 0);
|
|
1461
|
-
|
|
1462
|
-
this.
|
|
1463
|
-
var _props_interval;
|
|
1464
|
-
this.interval = (_props_interval = props === null || props === void 0 ? void 0 : props.interval) !== null && _props_interval !== void 0 ? _props_interval : {
|
|
1399
|
+
this.type = (_ref = props === null || props === void 0 ? void 0 : props.type) !== null && _ref !== void 0 ? _ref : 'none';
|
|
1400
|
+
this.interval = (_ref1 = props === null || props === void 0 ? void 0 : props.interval) !== null && _ref1 !== void 0 ? _ref1 : {
|
|
1465
1401
|
color: ''
|
|
1466
1402
|
};
|
|
1467
|
-
|
|
1468
|
-
this.rules = (props === null || props === void 0 ? void 0 : props.rules) && Array.isArray(props === null || props === void 0 ? void 0 : props.rules) ? (_props_rules_map = props === null || props === void 0 ? void 0 : (_props_rules = props.rules) === null || _props_rules === void 0 ? void 0 : _props_rules.map(function(item) {
|
|
1403
|
+
this.rules = (props === null || props === void 0 ? void 0 : props.rules) && Array.isArray(props === null || props === void 0 ? void 0 : props.rules) ? (_ref2 = props === null || props === void 0 ? void 0 : (_props_rules = props.rules) === null || _props_rules === void 0 ? void 0 : _props_rules.map(function(item) {
|
|
1469
1404
|
return new RowStyleRule(item);
|
|
1470
|
-
})) !== null &&
|
|
1405
|
+
})) !== null && _ref2 !== void 0 ? _ref2 : [] : [];
|
|
1471
1406
|
};
|
|
1472
1407
|
export var ListTreeData = function ListTreeData(props) {
|
|
1473
1408
|
"use strict";
|
|
1474
1409
|
_class_call_check(this, ListTreeData);
|
|
1410
|
+
var _ref, _ref1, _ref2, _ref3, _ref4;
|
|
1475
1411
|
// 是否默认展开分组 -1:全展开,0:不展开
|
|
1476
1412
|
_define_property(this, "groupDefaultExpanded", void 0);
|
|
1477
1413
|
// 是否显示每个分组行数统计
|
|
@@ -1482,77 +1418,64 @@ export var ListTreeData = function ListTreeData(props) {
|
|
|
1482
1418
|
_define_property(this, "groupHeaderName", void 0);
|
|
1483
1419
|
// 显示页脚统计按钮,当去掉序号列时能支持统计
|
|
1484
1420
|
_define_property(this, "showFooterStatistics", void 0);
|
|
1485
|
-
|
|
1486
|
-
this.
|
|
1487
|
-
|
|
1488
|
-
this.
|
|
1489
|
-
|
|
1490
|
-
this.groupFields = (_props_groupFields = props === null || props === void 0 ? void 0 : props.groupFields) !== null && _props_groupFields !== void 0 ? _props_groupFields : [];
|
|
1491
|
-
var _props_groupHeaderName;
|
|
1492
|
-
this.groupHeaderName = (_props_groupHeaderName = props === null || props === void 0 ? void 0 : props.groupHeaderName) !== null && _props_groupHeaderName !== void 0 ? _props_groupHeaderName : '';
|
|
1493
|
-
var _props_showFooterStatistics;
|
|
1494
|
-
this.showFooterStatistics = (_props_showFooterStatistics = props === null || props === void 0 ? void 0 : props.showFooterStatistics) !== null && _props_showFooterStatistics !== void 0 ? _props_showFooterStatistics : false;
|
|
1421
|
+
this.groupDefaultExpanded = (_ref = props === null || props === void 0 ? void 0 : props.groupDefaultExpanded) !== null && _ref !== void 0 ? _ref : false;
|
|
1422
|
+
this.suppressCount = (_ref1 = props === null || props === void 0 ? void 0 : props.suppressCount) !== null && _ref1 !== void 0 ? _ref1 : false;
|
|
1423
|
+
this.groupFields = (_ref2 = props === null || props === void 0 ? void 0 : props.groupFields) !== null && _ref2 !== void 0 ? _ref2 : [];
|
|
1424
|
+
this.groupHeaderName = (_ref3 = props === null || props === void 0 ? void 0 : props.groupHeaderName) !== null && _ref3 !== void 0 ? _ref3 : '';
|
|
1425
|
+
this.showFooterStatistics = (_ref4 = props === null || props === void 0 ? void 0 : props.showFooterStatistics) !== null && _ref4 !== void 0 ? _ref4 : false;
|
|
1495
1426
|
};
|
|
1496
1427
|
export var MasterDetail = function MasterDetail(props) {
|
|
1497
1428
|
"use strict";
|
|
1498
1429
|
_class_call_check(this, MasterDetail);
|
|
1430
|
+
var _ref;
|
|
1499
1431
|
_define_property(this, "datasourceBind", void 0);
|
|
1500
1432
|
_define_property(this, "headers", void 0);
|
|
1501
1433
|
this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
|
|
1502
|
-
|
|
1503
|
-
this.headers = (_props_headers = props === null || props === void 0 ? void 0 : props.headers) !== null && _props_headers !== void 0 ? _props_headers : [];
|
|
1434
|
+
this.headers = (_ref = props === null || props === void 0 ? void 0 : props.headers) !== null && _ref !== void 0 ? _ref : [];
|
|
1504
1435
|
};
|
|
1505
1436
|
export var Margin = function Margin(props) {
|
|
1506
1437
|
"use strict";
|
|
1507
1438
|
_class_call_check(this, Margin);
|
|
1439
|
+
var _ref, _ref1, _ref2, _ref3;
|
|
1508
1440
|
_define_property(this, "marginTop", void 0);
|
|
1509
1441
|
_define_property(this, "marginRight", void 0);
|
|
1510
1442
|
_define_property(this, "marginBottom", void 0);
|
|
1511
1443
|
_define_property(this, "marginLeft", void 0);
|
|
1512
|
-
|
|
1513
|
-
this.
|
|
1514
|
-
|
|
1515
|
-
this.
|
|
1516
|
-
var _props_marginBottom;
|
|
1517
|
-
this.marginBottom = (_props_marginBottom = props === null || props === void 0 ? void 0 : props.marginBottom) !== null && _props_marginBottom !== void 0 ? _props_marginBottom : '';
|
|
1518
|
-
var _props_marginLeft;
|
|
1519
|
-
this.marginLeft = (_props_marginLeft = props === null || props === void 0 ? void 0 : props.marginLeft) !== null && _props_marginLeft !== void 0 ? _props_marginLeft : '';
|
|
1444
|
+
this.marginTop = (_ref = props === null || props === void 0 ? void 0 : props.marginTop) !== null && _ref !== void 0 ? _ref : '';
|
|
1445
|
+
this.marginRight = (_ref1 = props === null || props === void 0 ? void 0 : props.marginRight) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
1446
|
+
this.marginBottom = (_ref2 = props === null || props === void 0 ? void 0 : props.marginBottom) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
1447
|
+
this.marginLeft = (_ref3 = props === null || props === void 0 ? void 0 : props.marginLeft) !== null && _ref3 !== void 0 ? _ref3 : '';
|
|
1520
1448
|
};
|
|
1521
1449
|
export var Padding = function Padding(props) {
|
|
1522
1450
|
"use strict";
|
|
1523
1451
|
_class_call_check(this, Padding);
|
|
1452
|
+
var _ref, _ref1, _ref2, _ref3;
|
|
1524
1453
|
_define_property(this, "paddingTop", void 0);
|
|
1525
1454
|
_define_property(this, "paddingRight", void 0);
|
|
1526
1455
|
_define_property(this, "paddingBottom", void 0);
|
|
1527
1456
|
_define_property(this, "paddingLeft", void 0);
|
|
1528
|
-
|
|
1529
|
-
this.
|
|
1530
|
-
|
|
1531
|
-
this.
|
|
1532
|
-
var _props_paddingBottom;
|
|
1533
|
-
this.paddingBottom = (_props_paddingBottom = props === null || props === void 0 ? void 0 : props.paddingBottom) !== null && _props_paddingBottom !== void 0 ? _props_paddingBottom : '';
|
|
1534
|
-
var _props_paddingLeft;
|
|
1535
|
-
this.paddingLeft = (_props_paddingLeft = props === null || props === void 0 ? void 0 : props.paddingLeft) !== null && _props_paddingLeft !== void 0 ? _props_paddingLeft : '';
|
|
1457
|
+
this.paddingTop = (_ref = props === null || props === void 0 ? void 0 : props.paddingTop) !== null && _ref !== void 0 ? _ref : '';
|
|
1458
|
+
this.paddingRight = (_ref1 = props === null || props === void 0 ? void 0 : props.paddingRight) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
1459
|
+
this.paddingBottom = (_ref2 = props === null || props === void 0 ? void 0 : props.paddingBottom) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
1460
|
+
this.paddingLeft = (_ref3 = props === null || props === void 0 ? void 0 : props.paddingLeft) !== null && _ref3 !== void 0 ? _ref3 : '';
|
|
1536
1461
|
};
|
|
1537
1462
|
export var StepButtonPrev = function StepButtonPrev(props) {
|
|
1538
1463
|
"use strict";
|
|
1539
1464
|
_class_call_check(this, StepButtonPrev);
|
|
1465
|
+
var _ref, _ref1;
|
|
1540
1466
|
_define_property(this, "icon", void 0);
|
|
1541
1467
|
_define_property(this, "label", void 0);
|
|
1542
|
-
|
|
1543
|
-
this.
|
|
1544
|
-
var _props_label;
|
|
1545
|
-
this.label = (_props_label = props === null || props === void 0 ? void 0 : props.label) !== null && _props_label !== void 0 ? _props_label : '上一步';
|
|
1468
|
+
this.icon = (_ref = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref !== void 0 ? _ref : 'iconleft';
|
|
1469
|
+
this.label = (_ref1 = props === null || props === void 0 ? void 0 : props.label) !== null && _ref1 !== void 0 ? _ref1 : getLocaleText('CMD.09bf1774579034724');
|
|
1546
1470
|
};
|
|
1547
1471
|
export var StepButtonNext = function StepButtonNext(props) {
|
|
1548
1472
|
"use strict";
|
|
1549
1473
|
_class_call_check(this, StepButtonNext);
|
|
1474
|
+
var _ref, _ref1;
|
|
1550
1475
|
_define_property(this, "icon", void 0);
|
|
1551
1476
|
_define_property(this, "label", void 0);
|
|
1552
|
-
|
|
1553
|
-
this.
|
|
1554
|
-
var _props_label;
|
|
1555
|
-
this.label = (_props_label = props === null || props === void 0 ? void 0 : props.label) !== null && _props_label !== void 0 ? _props_label : '下一步';
|
|
1477
|
+
this.icon = (_ref = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref !== void 0 ? _ref : 'iconxiangyou';
|
|
1478
|
+
this.label = (_ref1 = props === null || props === void 0 ? void 0 : props.label) !== null && _ref1 !== void 0 ? _ref1 : getLocaleText('CMD.39131774579036296');
|
|
1556
1479
|
};
|
|
1557
1480
|
export var StepButtons = function StepButtons(props) {
|
|
1558
1481
|
"use strict";
|