@byteluck-fe/model-driven-core 2.8.2-beta.1 → 2.8.2-beta.13
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/README.md +69 -69
- package/dist/esm/api-doc-index.js +4 -4
- package/dist/esm/common/BaseControl/designer.js +39 -35
- package/dist/esm/common/BaseControl/index.js +7 -7
- package/dist/esm/common/BaseControl/property.js +24 -37
- package/dist/esm/common/BaseControl/runtime.js +6 -6
- package/dist/esm/common/ColumnControl/designer.js +105 -27
- package/dist/esm/common/ColumnControl/index.js +6 -6
- package/dist/esm/common/ColumnControl/property.js +71 -95
- package/dist/esm/common/ColumnControl/runtime.js +16 -27
- package/dist/esm/common/ControlArray.js +5 -5
- package/dist/esm/common/FormControl/designer.js +17 -30
- package/dist/esm/common/FormControl/index.js +6 -6
- package/dist/esm/common/FormControl/property.js +119 -147
- package/dist/esm/common/FormControl/runtime.js +14 -28
- package/dist/esm/common/LayoutControl/designer.js +17 -33
- package/dist/esm/common/LayoutControl/index.js +6 -6
- package/dist/esm/common/LayoutControl/property.js +13 -24
- package/dist/esm/common/LayoutControl/runtime.js +16 -30
- package/dist/esm/common/ListControl/designer.js +16 -29
- package/dist/esm/common/ListControl/index.js +6 -6
- package/dist/esm/common/ListControl/property.js +16 -33
- package/dist/esm/common/ListControl/runtime.js +17 -31
- package/dist/esm/common/SearchViewControl/designer.js +14 -27
- package/dist/esm/common/SearchViewControl/index.js +6 -6
- package/dist/esm/common/SearchViewControl/property.js +14 -26
- package/dist/esm/common/SearchViewControl/runtime.js +14 -27
- package/dist/esm/common/Validator.js +5 -5
- package/dist/esm/common/WrapControl/designer.js +14 -27
- package/dist/esm/common/WrapControl/index.js +6 -6
- package/dist/esm/common/WrapControl/property.js +13 -24
- package/dist/esm/common/WrapControl/runtime.js +14 -27
- package/dist/esm/common/controlHooksEmitter.js +1 -1
- package/dist/esm/common/index.js +12 -12
- package/dist/esm/common/initLinkOperationRules.js +5 -5
- package/dist/esm/common/initOptionAndDataSourceRules.js +74 -74
- package/dist/esm/framework/RegisterControls.js +9 -8
- package/dist/esm/framework/index.js +144 -174
- package/dist/esm/index.js +4 -4
- package/dist/index.umd.js +1 -1
- package/dist/types/api-doc-index.d.ts +4 -4
- package/dist/types/common/BaseControl/designer.d.ts +63 -63
- package/dist/types/common/BaseControl/index.d.ts +13 -13
- package/dist/types/common/BaseControl/property.d.ts +38 -38
- package/dist/types/common/BaseControl/runtime.d.ts +23 -23
- package/dist/types/common/BaseControl/types.d.ts +35 -35
- package/dist/types/common/ColumnControl/designer.d.ts +20 -10
- package/dist/types/common/ColumnControl/index.d.ts +12 -12
- package/dist/types/common/ColumnControl/property.d.ts +74 -73
- package/dist/types/common/ColumnControl/runtime.d.ts +11 -10
- package/dist/types/common/ControlArray.d.ts +9 -9
- package/dist/types/common/FormControl/designer.d.ts +13 -13
- package/dist/types/common/FormControl/index.d.ts +12 -12
- package/dist/types/common/FormControl/property.d.ts +100 -100
- package/dist/types/common/FormControl/runtime.d.ts +11 -11
- package/dist/types/common/LayoutControl/designer.d.ts +21 -21
- package/dist/types/common/LayoutControl/index.d.ts +12 -12
- package/dist/types/common/LayoutControl/property.d.ts +6 -6
- package/dist/types/common/LayoutControl/runtime.d.ts +11 -11
- package/dist/types/common/ListControl/designer.d.ts +16 -16
- package/dist/types/common/ListControl/index.d.ts +12 -12
- package/dist/types/common/ListControl/property.d.ts +18 -18
- package/dist/types/common/ListControl/runtime.d.ts +12 -12
- package/dist/types/common/SearchViewControl/designer.d.ts +11 -11
- package/dist/types/common/SearchViewControl/index.d.ts +12 -12
- package/dist/types/common/SearchViewControl/property.d.ts +8 -8
- package/dist/types/common/SearchViewControl/runtime.d.ts +11 -11
- package/dist/types/common/Validator.d.ts +15 -15
- package/dist/types/common/WrapControl/designer.d.ts +11 -11
- package/dist/types/common/WrapControl/index.d.ts +12 -12
- package/dist/types/common/WrapControl/property.d.ts +6 -6
- package/dist/types/common/WrapControl/runtime.d.ts +11 -11
- package/dist/types/common/controlHooksEmitter.d.ts +4 -4
- package/dist/types/common/index.d.ts +12 -12
- package/dist/types/common/initLinkOperationRules.d.ts +6 -6
- package/dist/types/common/initOptionAndDataSourceRules.d.ts +10 -10
- package/dist/types/framework/RegisterControls.d.ts +37 -37
- package/dist/types/framework/index.d.ts +881 -880
- package/dist/types/framework/isDataBind.d.ts +2 -2
- package/dist/types/index.d.ts +4 -4
- package/dist/types/type.d.ts +91 -91
- package/package.json +3 -3
|
@@ -4,6 +4,10 @@ function _assert_this_initialized(self) {
|
|
|
4
4
|
}
|
|
5
5
|
return self;
|
|
6
6
|
}
|
|
7
|
+
function _call_super(_this, derived, args) {
|
|
8
|
+
derived = _get_prototype_of(derived);
|
|
9
|
+
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
10
|
+
}
|
|
7
11
|
function _class_call_check(instance, Constructor) {
|
|
8
12
|
if (!(instance instanceof Constructor)) {
|
|
9
13
|
throw new TypeError("Cannot call a class as a function");
|
|
@@ -59,31 +63,15 @@ function _type_of(obj) {
|
|
|
59
63
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
60
64
|
}
|
|
61
65
|
function _is_native_reflect_construct() {
|
|
62
|
-
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
63
|
-
if (Reflect.construct.sham) return false;
|
|
64
|
-
if (typeof Proxy === "function") return true;
|
|
65
66
|
try {
|
|
66
|
-
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
return
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
function _create_super(Derived) {
|
|
73
|
-
var hasNativeReflectConstruct = _is_native_reflect_construct();
|
|
74
|
-
return function _createSuperInternal() {
|
|
75
|
-
var Super = _get_prototype_of(Derived), result;
|
|
76
|
-
if (hasNativeReflectConstruct) {
|
|
77
|
-
var NewTarget = _get_prototype_of(this).constructor;
|
|
78
|
-
result = Reflect.construct(Super, arguments, NewTarget);
|
|
79
|
-
} else {
|
|
80
|
-
result = Super.apply(this, arguments);
|
|
81
|
-
}
|
|
82
|
-
return _possible_constructor_return(this, result);
|
|
83
|
-
};
|
|
67
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
68
|
+
} catch (_) {}
|
|
69
|
+
return (_is_native_reflect_construct = function() {
|
|
70
|
+
return !!result;
|
|
71
|
+
})();
|
|
84
72
|
}
|
|
85
|
-
import { FieldTypes, genNonDuplicateId } from
|
|
86
|
-
export * from
|
|
73
|
+
import { FieldTypes, genNonDuplicateId } from '@byteluck-fe/model-driven-shared';
|
|
74
|
+
export * from './RegisterControls';
|
|
87
75
|
/**
|
|
88
76
|
* 数据绑定配置
|
|
89
77
|
* @public
|
|
@@ -111,11 +99,11 @@ export * from "./RegisterControls";
|
|
|
111
99
|
* @public
|
|
112
100
|
*/ _define_property(this, "aliasCode", void 0);
|
|
113
101
|
var _props_dataCode;
|
|
114
|
-
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode :
|
|
102
|
+
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : '';
|
|
115
103
|
var _props_fieldCode;
|
|
116
|
-
this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode :
|
|
104
|
+
this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : '';
|
|
117
105
|
var _props_fieldType;
|
|
118
|
-
this.fieldType = (_props_fieldType = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _props_fieldType !== void 0 ? _props_fieldType :
|
|
106
|
+
this.fieldType = (_props_fieldType = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _props_fieldType !== void 0 ? _props_fieldType : '';
|
|
119
107
|
this.aliasCode = props === null || props === void 0 ? void 0 : props.aliasCode;
|
|
120
108
|
};
|
|
121
109
|
export var AutoWidth = function AutoWidth(props) {
|
|
@@ -133,17 +121,16 @@ export var AutoWidth = function AutoWidth(props) {
|
|
|
133
121
|
export var MetaWidth = /*#__PURE__*/ function(AutoWidth) {
|
|
134
122
|
"use strict";
|
|
135
123
|
_inherits(MetaWidth, AutoWidth);
|
|
136
|
-
var _super = _create_super(MetaWidth);
|
|
137
124
|
function MetaWidth(props) {
|
|
138
125
|
_class_call_check(this, MetaWidth);
|
|
139
126
|
var _this;
|
|
140
|
-
_this =
|
|
141
|
-
|
|
142
|
-
_define_property(
|
|
127
|
+
_this = _call_super(this, MetaWidth, [
|
|
128
|
+
props
|
|
129
|
+
]), _define_property(_this, "width", void 0), _define_property(_this, "widthType", void 0);
|
|
143
130
|
var _props_width;
|
|
144
131
|
_this.width = (_props_width = props === null || props === void 0 ? void 0 : props.width) !== null && _props_width !== void 0 ? _props_width : 240;
|
|
145
132
|
var _props_widthType;
|
|
146
|
-
_this.widthType = (_props_widthType = props === null || props === void 0 ? void 0 : props.widthType) !== null && _props_widthType !== void 0 ? _props_widthType :
|
|
133
|
+
_this.widthType = (_props_widthType = props === null || props === void 0 ? void 0 : props.widthType) !== null && _props_widthType !== void 0 ? _props_widthType : 'auto';
|
|
147
134
|
return _this;
|
|
148
135
|
}
|
|
149
136
|
return MetaWidth;
|
|
@@ -165,7 +152,7 @@ export var DataStorageDoc = function DataStorageDoc(props) {
|
|
|
165
152
|
_define_property(this, "type", void 0);
|
|
166
153
|
_define_property(this, "customOptions", void 0);
|
|
167
154
|
var _props_type;
|
|
168
|
-
this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type :
|
|
155
|
+
this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : 'firstThree';
|
|
169
156
|
var _props_customOptions;
|
|
170
157
|
this.customOptions = (_props_customOptions = props === null || props === void 0 ? void 0 : props.customOptions) !== null && _props_customOptions !== void 0 ? _props_customOptions : [];
|
|
171
158
|
};
|
|
@@ -176,23 +163,23 @@ export var FormBind = function FormBind(props) {
|
|
|
176
163
|
_define_property(this, "formKey", void 0);
|
|
177
164
|
_define_property(this, "appId", void 0);
|
|
178
165
|
var _props_dataCode;
|
|
179
|
-
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode :
|
|
166
|
+
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : '';
|
|
180
167
|
var _props_formKey;
|
|
181
|
-
this.formKey = (_props_formKey = props === null || props === void 0 ? void 0 : props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey :
|
|
168
|
+
this.formKey = (_props_formKey = props === null || props === void 0 ? void 0 : props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : '';
|
|
182
169
|
var _props_appId;
|
|
183
|
-
this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId :
|
|
170
|
+
this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : '';
|
|
184
171
|
};
|
|
185
172
|
export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
186
173
|
"use strict";
|
|
187
174
|
_inherits(FormSelectBind, FormBind);
|
|
188
|
-
var _super = _create_super(FormSelectBind);
|
|
189
175
|
function FormSelectBind(props) {
|
|
190
176
|
_class_call_check(this, FormSelectBind);
|
|
191
177
|
var _this;
|
|
192
|
-
_this =
|
|
193
|
-
|
|
178
|
+
_this = _call_super(this, FormSelectBind, [
|
|
179
|
+
props
|
|
180
|
+
]), _define_property(_this, "primaryControlId", void 0);
|
|
194
181
|
var _props_primaryControlId;
|
|
195
|
-
_this.primaryControlId = (_props_primaryControlId = props === null || props === void 0 ? void 0 : props.primaryControlId) !== null && _props_primaryControlId !== void 0 ? _props_primaryControlId :
|
|
182
|
+
_this.primaryControlId = (_props_primaryControlId = props === null || props === void 0 ? void 0 : props.primaryControlId) !== null && _props_primaryControlId !== void 0 ? _props_primaryControlId : '';
|
|
196
183
|
return _this;
|
|
197
184
|
}
|
|
198
185
|
return FormSelectBind;
|
|
@@ -209,9 +196,9 @@ export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
|
209
196
|
*/ _define_property(this, "fieldCode", void 0);
|
|
210
197
|
_define_property(this, "dataCode", void 0);
|
|
211
198
|
var _props_fieldCode;
|
|
212
|
-
this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode :
|
|
199
|
+
this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : '';
|
|
213
200
|
var _props_dataCode;
|
|
214
|
-
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode :
|
|
201
|
+
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : '';
|
|
215
202
|
};
|
|
216
203
|
/**
|
|
217
204
|
* 列表绑定配置
|
|
@@ -232,9 +219,9 @@ export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
|
232
219
|
* @public
|
|
233
220
|
*/ _define_property(this, "headers", void 0);
|
|
234
221
|
var _props_appId;
|
|
235
|
-
this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId :
|
|
222
|
+
this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : '';
|
|
236
223
|
var _props_formKey;
|
|
237
|
-
this.formKey = (_props_formKey = props === null || props === void 0 ? void 0 : props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey :
|
|
224
|
+
this.formKey = (_props_formKey = props === null || props === void 0 ? void 0 : props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : '';
|
|
238
225
|
var _props_headers_map;
|
|
239
226
|
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) {
|
|
240
227
|
return new ListBindHeaderItem(item);
|
|
@@ -247,28 +234,25 @@ export var FieldBindItem = function FieldBindItem(props) {
|
|
|
247
234
|
_define_property(this, "fieldCode", void 0);
|
|
248
235
|
_define_property(this, "fieldType", void 0);
|
|
249
236
|
var _props_fieldName;
|
|
250
|
-
this.fieldName = (_props_fieldName = props === null || props === void 0 ? void 0 : props.fieldName) !== null && _props_fieldName !== void 0 ? _props_fieldName :
|
|
237
|
+
this.fieldName = (_props_fieldName = props === null || props === void 0 ? void 0 : props.fieldName) !== null && _props_fieldName !== void 0 ? _props_fieldName : '';
|
|
251
238
|
var _props_fieldCode;
|
|
252
|
-
this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode :
|
|
239
|
+
this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : '';
|
|
253
240
|
var _props_fieldType;
|
|
254
241
|
this.fieldType = (_props_fieldType = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _props_fieldType !== void 0 ? _props_fieldType : FieldTypes.VARCHAR;
|
|
255
242
|
};
|
|
256
243
|
export var SubListItem = /*#__PURE__*/ function(FormBind) {
|
|
257
244
|
"use strict";
|
|
258
245
|
_inherits(SubListItem, FormBind);
|
|
259
|
-
var _super = _create_super(SubListItem);
|
|
260
246
|
function SubListItem(props) {
|
|
261
247
|
_class_call_check(this, SubListItem);
|
|
262
248
|
var _this;
|
|
263
|
-
_this =
|
|
264
|
-
|
|
265
|
-
_define_property(
|
|
266
|
-
_define_property(_assert_this_initialized(_this), "isOpenFilter", void 0);
|
|
267
|
-
_define_property(_assert_this_initialized(_this), "filters", void 0);
|
|
249
|
+
_this = _call_super(this, SubListItem, [
|
|
250
|
+
props
|
|
251
|
+
]), _define_property(_this, "title", void 0), _define_property(_this, "svcCode", void 0), _define_property(_this, "isOpenFilter", void 0), _define_property(_this, "filters", void 0);
|
|
268
252
|
var _props_title;
|
|
269
|
-
_this.title = (_props_title = props === null || props === void 0 ? void 0 : props.title) !== null && _props_title !== void 0 ? _props_title :
|
|
253
|
+
_this.title = (_props_title = props === null || props === void 0 ? void 0 : props.title) !== null && _props_title !== void 0 ? _props_title : '';
|
|
270
254
|
var _props_svcCode;
|
|
271
|
-
_this.svcCode = (_props_svcCode = props === null || props === void 0 ? void 0 : props.svcCode) !== null && _props_svcCode !== void 0 ? _props_svcCode :
|
|
255
|
+
_this.svcCode = (_props_svcCode = props === null || props === void 0 ? void 0 : props.svcCode) !== null && _props_svcCode !== void 0 ? _props_svcCode : '';
|
|
272
256
|
var _props_isOpenFilter;
|
|
273
257
|
_this.isOpenFilter = (_props_isOpenFilter = props === null || props === void 0 ? void 0 : props.isOpenFilter) !== null && _props_isOpenFilter !== void 0 ? _props_isOpenFilter : false;
|
|
274
258
|
var _props_filters;
|
|
@@ -281,7 +265,7 @@ export var SubListPageConfig = function SubListPageConfig(props) {
|
|
|
281
265
|
"use strict";
|
|
282
266
|
_class_call_check(this, SubListPageConfig);
|
|
283
267
|
var _props_displayFields, _props_sublists;
|
|
284
|
-
_define_property(this, "type",
|
|
268
|
+
_define_property(this, "type", 'sublist-page');
|
|
285
269
|
_define_property(this, "formBind", void 0);
|
|
286
270
|
_define_property(this, "displayFields", void 0);
|
|
287
271
|
_define_property(this, "sublists", void 0);
|
|
@@ -312,7 +296,7 @@ export var RightVariable = function RightVariable(props) {
|
|
|
312
296
|
_define_property(this, "value", void 0);
|
|
313
297
|
_define_property(this, "displayBos", void 0);
|
|
314
298
|
var _props_type;
|
|
315
|
-
this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type :
|
|
299
|
+
this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : 'custom';
|
|
316
300
|
var _props_value;
|
|
317
301
|
this.value = (_props_value = props === null || props === void 0 ? void 0 : props.value) !== null && _props_value !== void 0 ? _props_value : [];
|
|
318
302
|
var _props_displayBos;
|
|
@@ -336,7 +320,7 @@ export var RightVariable = function RightVariable(props) {
|
|
|
336
320
|
/**
|
|
337
321
|
* 类型:连接符条件
|
|
338
322
|
* @defaultValue 'conditions'
|
|
339
|
-
*/ _define_property(this, "type",
|
|
323
|
+
*/ _define_property(this, "type", 'conditions');
|
|
340
324
|
/**
|
|
341
325
|
* 深度
|
|
342
326
|
* @defaultValue 0
|
|
@@ -356,7 +340,7 @@ export var RightVariable = function RightVariable(props) {
|
|
|
356
340
|
var _props_level;
|
|
357
341
|
this.level = (_props_level = props === null || props === void 0 ? void 0 : props.level) !== null && _props_level !== void 0 ? _props_level : 0;
|
|
358
342
|
var _props_value;
|
|
359
|
-
this.value = (_props_value = props === null || props === void 0 ? void 0 : props.value) !== null && _props_value !== void 0 ? _props_value :
|
|
343
|
+
this.value = (_props_value = props === null || props === void 0 ? void 0 : props.value) !== null && _props_value !== void 0 ? _props_value : 'and';
|
|
360
344
|
this.children = [];
|
|
361
345
|
if (Array.isArray(props === null || props === void 0 ? void 0 : props.children)) {
|
|
362
346
|
props === null || props === void 0 ? void 0 : props.children.map(function(item) {
|
|
@@ -389,7 +373,7 @@ export var RightVariable = function RightVariable(props) {
|
|
|
389
373
|
/**
|
|
390
374
|
* 类型
|
|
391
375
|
* @defaultValue 'condition'
|
|
392
|
-
*/ _define_property(this, "type",
|
|
376
|
+
*/ _define_property(this, "type", 'condition');
|
|
393
377
|
/**
|
|
394
378
|
* 符号
|
|
395
379
|
*/ _define_property(this, "symbol", void 0);
|
|
@@ -406,11 +390,11 @@ export var RightVariable = function RightVariable(props) {
|
|
|
406
390
|
var _props_ruleId;
|
|
407
391
|
this.ruleId = (_props_ruleId = props === null || props === void 0 ? void 0 : props.ruleId) !== null && _props_ruleId !== void 0 ? _props_ruleId : new Date().valueOf();
|
|
408
392
|
var _props_symbol;
|
|
409
|
-
this.symbol = (_props_symbol = props === null || props === void 0 ? void 0 : props.symbol) !== null && _props_symbol !== void 0 ? _props_symbol :
|
|
393
|
+
this.symbol = (_props_symbol = props === null || props === void 0 ? void 0 : props.symbol) !== null && _props_symbol !== void 0 ? _props_symbol : '';
|
|
410
394
|
var _props_checked;
|
|
411
395
|
this.checked = (_props_checked = props === null || props === void 0 ? void 0 : props.checked) !== null && _props_checked !== void 0 ? _props_checked : false;
|
|
412
396
|
var _props_describe;
|
|
413
|
-
this.describe = (_props_describe = props === null || props === void 0 ? void 0 : props.describe) !== null && _props_describe !== void 0 ? _props_describe :
|
|
397
|
+
this.describe = (_props_describe = props === null || props === void 0 ? void 0 : props.describe) !== null && _props_describe !== void 0 ? _props_describe : '';
|
|
414
398
|
this.leftVariableBo = new LeftVariable(props === null || props === void 0 ? void 0 : props.leftVariableBo);
|
|
415
399
|
this.rightVariableBo = new RightVariable(props === null || props === void 0 ? void 0 : props.rightVariableBo);
|
|
416
400
|
};
|
|
@@ -421,7 +405,7 @@ export var JoinRelation = function JoinRelation(props) {
|
|
|
421
405
|
_define_property(this, "datasourceBind", void 0);
|
|
422
406
|
_define_property(this, "relationFields", void 0);
|
|
423
407
|
var _props_aliasCode;
|
|
424
|
-
this.aliasCode = (_props_aliasCode = props === null || props === void 0 ? void 0 : props.aliasCode) !== null && _props_aliasCode !== void 0 ? _props_aliasCode :
|
|
408
|
+
this.aliasCode = (_props_aliasCode = props === null || props === void 0 ? void 0 : props.aliasCode) !== null && _props_aliasCode !== void 0 ? _props_aliasCode : '';
|
|
425
409
|
this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
|
|
426
410
|
var _props_relationFields;
|
|
427
411
|
this.relationFields = (_props_relationFields = props === null || props === void 0 ? void 0 : props.relationFields) !== null && _props_relationFields !== void 0 ? _props_relationFields : [];
|
|
@@ -453,13 +437,13 @@ export var JoinRelation = function JoinRelation(props) {
|
|
|
453
437
|
* @public
|
|
454
438
|
* */ _define_property(this, "propName", void 0);
|
|
455
439
|
var _props_controlId;
|
|
456
|
-
this.controlId = (_props_controlId = props === null || props === void 0 ? void 0 : props.controlId) !== null && _props_controlId !== void 0 ? _props_controlId :
|
|
440
|
+
this.controlId = (_props_controlId = props === null || props === void 0 ? void 0 : props.controlId) !== null && _props_controlId !== void 0 ? _props_controlId : '';
|
|
457
441
|
var _props_fieldCode;
|
|
458
|
-
this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode :
|
|
442
|
+
this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : '';
|
|
459
443
|
var _props_fieldType;
|
|
460
|
-
this.fieldType = (_props_fieldType = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _props_fieldType !== void 0 ? _props_fieldType :
|
|
444
|
+
this.fieldType = (_props_fieldType = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _props_fieldType !== void 0 ? _props_fieldType : '';
|
|
461
445
|
var _props_propName;
|
|
462
|
-
this.propName = (_props_propName = props === null || props === void 0 ? void 0 : props.propName) !== null && _props_propName !== void 0 ? _props_propName :
|
|
446
|
+
this.propName = (_props_propName = props === null || props === void 0 ? void 0 : props.propName) !== null && _props_propName !== void 0 ? _props_propName : '';
|
|
463
447
|
};
|
|
464
448
|
/**
|
|
465
449
|
* 显示项
|
|
@@ -479,9 +463,9 @@ export var JoinRelation = function JoinRelation(props) {
|
|
|
479
463
|
* 字段数据类型
|
|
480
464
|
*/ _define_property(this, "fieldType", void 0);
|
|
481
465
|
var _props_type;
|
|
482
|
-
this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type :
|
|
466
|
+
this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : 'FIELD';
|
|
483
467
|
var _props_value;
|
|
484
|
-
this.value = (_props_value = props === null || props === void 0 ? void 0 : props.value) !== null && _props_value !== void 0 ? _props_value :
|
|
468
|
+
this.value = (_props_value = props === null || props === void 0 ? void 0 : props.value) !== null && _props_value !== void 0 ? _props_value : '';
|
|
485
469
|
this.fieldType = props === null || props === void 0 ? void 0 : props.fieldType;
|
|
486
470
|
};
|
|
487
471
|
/**
|
|
@@ -499,7 +483,7 @@ export var JoinRelation = function JoinRelation(props) {
|
|
|
499
483
|
* @defaultValue false
|
|
500
484
|
*/ _define_property(this, "desc", void 0);
|
|
501
485
|
var _props_columnName;
|
|
502
|
-
this.columnName = (_props_columnName = props.columnName) !== null && _props_columnName !== void 0 ? _props_columnName :
|
|
486
|
+
this.columnName = (_props_columnName = props.columnName) !== null && _props_columnName !== void 0 ? _props_columnName : '';
|
|
503
487
|
var _props_desc;
|
|
504
488
|
this.desc = (_props_desc = props.desc) !== null && _props_desc !== void 0 ? _props_desc : false;
|
|
505
489
|
};
|
|
@@ -513,9 +497,9 @@ export var DataSourceDataSetValue = function DataSourceDataSetValue(props) {
|
|
|
513
497
|
// 数据类型
|
|
514
498
|
_define_property(this, "field_type", void 0);
|
|
515
499
|
var _props_code;
|
|
516
|
-
this.code = (_props_code = props.code) !== null && _props_code !== void 0 ? _props_code :
|
|
500
|
+
this.code = (_props_code = props.code) !== null && _props_code !== void 0 ? _props_code : '';
|
|
517
501
|
var _props_value;
|
|
518
|
-
this.value = (_props_value = props.value) !== null && _props_value !== void 0 ? _props_value :
|
|
502
|
+
this.value = (_props_value = props.value) !== null && _props_value !== void 0 ? _props_value : '';
|
|
519
503
|
var _props_field_type;
|
|
520
504
|
this.field_type = (_props_field_type = props.field_type) !== null && _props_field_type !== void 0 ? _props_field_type : FieldTypes.ANY;
|
|
521
505
|
};
|
|
@@ -532,11 +516,11 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
|
532
516
|
_define_property(this, "dataSet", void 0);
|
|
533
517
|
var _props_id;
|
|
534
518
|
//字段ID,不可以当作随机数生成唯一编号
|
|
535
|
-
this.id = (_props_id = props.id) !== null && _props_id !== void 0 ? _props_id :
|
|
519
|
+
this.id = (_props_id = props.id) !== null && _props_id !== void 0 ? _props_id : '';
|
|
536
520
|
var _props_limit;
|
|
537
521
|
this.limit = (_props_limit = props.limit) !== null && _props_limit !== void 0 ? _props_limit : 20;
|
|
538
522
|
var _props_formKey;
|
|
539
|
-
this.formKey = (_props_formKey = props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey :
|
|
523
|
+
this.formKey = (_props_formKey = props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : '';
|
|
540
524
|
var _props_orders_map;
|
|
541
525
|
this.orders = (_props_orders_map = (_props_orders = props.orders) === null || _props_orders === void 0 ? void 0 : _props_orders.map(function(item) {
|
|
542
526
|
return new DataSourceOrderItem(item);
|
|
@@ -634,11 +618,11 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
|
634
618
|
* @public
|
|
635
619
|
*/ _define_property(this, "showOrder", void 0);
|
|
636
620
|
var _props_dataCode;
|
|
637
|
-
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode :
|
|
621
|
+
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : '';
|
|
638
622
|
var _props_appId;
|
|
639
|
-
this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId :
|
|
623
|
+
this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : '';
|
|
640
624
|
var _props_valueFieldCode;
|
|
641
|
-
this.valueFieldCode = (_props_valueFieldCode = props === null || props === void 0 ? void 0 : props.valueFieldCode) !== null && _props_valueFieldCode !== void 0 ? _props_valueFieldCode :
|
|
625
|
+
this.valueFieldCode = (_props_valueFieldCode = props === null || props === void 0 ? void 0 : props.valueFieldCode) !== null && _props_valueFieldCode !== void 0 ? _props_valueFieldCode : '';
|
|
642
626
|
this.displayBoList = [];
|
|
643
627
|
var _props_isOpenViewFilters;
|
|
644
628
|
this.isOpenViewFilters = (_props_isOpenViewFilters = props === null || props === void 0 ? void 0 : props.isOpenViewFilters) !== null && _props_isOpenViewFilters !== void 0 ? _props_isOpenViewFilters : 0;
|
|
@@ -649,11 +633,11 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
|
649
633
|
});
|
|
650
634
|
}
|
|
651
635
|
var _props_keywordMapping;
|
|
652
|
-
this.keywordMapping = (_props_keywordMapping = props === null || props === void 0 ? void 0 : props.keywordMapping) !== null && _props_keywordMapping !== void 0 ? _props_keywordMapping :
|
|
636
|
+
this.keywordMapping = (_props_keywordMapping = props === null || props === void 0 ? void 0 : props.keywordMapping) !== null && _props_keywordMapping !== void 0 ? _props_keywordMapping : '';
|
|
653
637
|
var _props_showOrder;
|
|
654
638
|
this.showOrder = (_props_showOrder = props === null || props === void 0 ? void 0 : props.showOrder) !== null && _props_showOrder !== void 0 ? _props_showOrder : true;
|
|
655
639
|
var _props_svcCode;
|
|
656
|
-
this.svcCode = (_props_svcCode = props === null || props === void 0 ? void 0 : props.svcCode) !== null && _props_svcCode !== void 0 ? _props_svcCode :
|
|
640
|
+
this.svcCode = (_props_svcCode = props === null || props === void 0 ? void 0 : props.svcCode) !== null && _props_svcCode !== void 0 ? _props_svcCode : '';
|
|
657
641
|
callFiltersAndOrders.call(this, props);
|
|
658
642
|
};
|
|
659
643
|
export var SelectedContentConfig = function SelectedContentConfig(props) {
|
|
@@ -670,7 +654,7 @@ export var SelectedContentConfig = function SelectedContentConfig(props) {
|
|
|
670
654
|
* @public
|
|
671
655
|
*/ _define_property(this, "displayBoList", void 0);
|
|
672
656
|
var _props_dataCode;
|
|
673
|
-
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode :
|
|
657
|
+
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : '';
|
|
674
658
|
var _props_displayBoList;
|
|
675
659
|
this.displayBoList = (_props_displayBoList = props === null || props === void 0 ? void 0 : props.displayBoList) !== null && _props_displayBoList !== void 0 ? _props_displayBoList : [];
|
|
676
660
|
};
|
|
@@ -689,24 +673,24 @@ export var LinkOperationOption = function LinkOperationOption(props) {
|
|
|
689
673
|
_define_property(this, "openType", void 0);
|
|
690
674
|
_define_property(this, "priorityProcess", void 0);
|
|
691
675
|
var _props_code;
|
|
692
|
-
this.code = (_props_code = props === null || props === void 0 ? void 0 : props.code) !== null && _props_code !== void 0 ? _props_code :
|
|
676
|
+
this.code = (_props_code = props === null || props === void 0 ? void 0 : props.code) !== null && _props_code !== void 0 ? _props_code : 'view';
|
|
693
677
|
var _props_color;
|
|
694
|
-
this.color = (_props_color = props === null || props === void 0 ? void 0 : props.color) !== null && _props_color !== void 0 ? _props_color :
|
|
678
|
+
this.color = (_props_color = props === null || props === void 0 ? void 0 : props.color) !== null && _props_color !== void 0 ? _props_color : 'primary';
|
|
695
679
|
var _props_command;
|
|
696
|
-
this.command = (_props_command = props === null || props === void 0 ? void 0 : props.command) !== null && _props_command !== void 0 ? _props_command :
|
|
680
|
+
this.command = (_props_command = props === null || props === void 0 ? void 0 : props.command) !== null && _props_command !== void 0 ? _props_command : 'view';
|
|
697
681
|
var _props_confirmMessage;
|
|
698
682
|
this.confirmMessage = (_props_confirmMessage = props === null || props === void 0 ? void 0 : props.confirmMessage) !== null && _props_confirmMessage !== void 0 ? _props_confirmMessage : undefined;
|
|
699
683
|
var _props_defaultState;
|
|
700
|
-
this.defaultState = (_props_defaultState = props === null || props === void 0 ? void 0 : props.defaultState) !== null && _props_defaultState !== void 0 ? _props_defaultState :
|
|
684
|
+
this.defaultState = (_props_defaultState = props === null || props === void 0 ? void 0 : props.defaultState) !== null && _props_defaultState !== void 0 ? _props_defaultState : 'default';
|
|
701
685
|
var _props_formKey;
|
|
702
686
|
this.formKey = (_props_formKey = props === null || props === void 0 ? void 0 : props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : undefined;
|
|
703
687
|
this.formType = props === null || props === void 0 ? void 0 : props.formType;
|
|
704
688
|
var _props_icon;
|
|
705
|
-
this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon :
|
|
689
|
+
this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : 'iconliulan1';
|
|
706
690
|
var _props_needConfirm;
|
|
707
691
|
this.needConfirm = (_props_needConfirm = props === null || props === void 0 ? void 0 : props.needConfirm) !== null && _props_needConfirm !== void 0 ? _props_needConfirm : false;
|
|
708
692
|
var _props_openType;
|
|
709
|
-
this.openType = (_props_openType = props === null || props === void 0 ? void 0 : props.openType) !== null && _props_openType !== void 0 ? _props_openType :
|
|
693
|
+
this.openType = (_props_openType = props === null || props === void 0 ? void 0 : props.openType) !== null && _props_openType !== void 0 ? _props_openType : 'modal';
|
|
710
694
|
var _props_priorityProcess;
|
|
711
695
|
this.priorityProcess = (_props_priorityProcess = props === null || props === void 0 ? void 0 : props.priorityProcess) !== null && _props_priorityProcess !== void 0 ? _props_priorityProcess : true;
|
|
712
696
|
};
|
|
@@ -718,9 +702,9 @@ export var CustomAttributeItem = function CustomAttributeItem(props) {
|
|
|
718
702
|
_define_property(this, "key", void 0);
|
|
719
703
|
_define_property(this, "value", void 0);
|
|
720
704
|
var _props_name;
|
|
721
|
-
this.name = (_props_name = props === null || props === void 0 ? void 0 : props.name) !== null && _props_name !== void 0 ? _props_name :
|
|
705
|
+
this.name = (_props_name = props === null || props === void 0 ? void 0 : props.name) !== null && _props_name !== void 0 ? _props_name : '';
|
|
722
706
|
var _props_key;
|
|
723
|
-
this.key = (_props_key = props === null || props === void 0 ? void 0 : props.key) !== null && _props_key !== void 0 ? _props_key :
|
|
707
|
+
this.key = (_props_key = props === null || props === void 0 ? void 0 : props.key) !== null && _props_key !== void 0 ? _props_key : '';
|
|
724
708
|
var _props_value_map;
|
|
725
709
|
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) {
|
|
726
710
|
return new DisplayBoListItem(item);
|
|
@@ -729,13 +713,13 @@ export var CustomAttributeItem = function CustomAttributeItem(props) {
|
|
|
729
713
|
export var SuperDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
730
714
|
"use strict";
|
|
731
715
|
_inherits(SuperDataSourceBind, DataSourceBind);
|
|
732
|
-
var _super = _create_super(SuperDataSourceBind);
|
|
733
716
|
function SuperDataSourceBind(props) {
|
|
734
717
|
_class_call_check(this, SuperDataSourceBind);
|
|
735
718
|
var _this;
|
|
736
719
|
var _props_attributes;
|
|
737
|
-
_this =
|
|
738
|
-
|
|
720
|
+
_this = _call_super(this, SuperDataSourceBind, [
|
|
721
|
+
props
|
|
722
|
+
]), _define_property(_this, "attributes", void 0);
|
|
739
723
|
var _props_attributes_map;
|
|
740
724
|
_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) {
|
|
741
725
|
return new CustomAttributeItem(item);
|
|
@@ -747,20 +731,19 @@ export var SuperDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
|
747
731
|
export var OrganizationDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
748
732
|
"use strict";
|
|
749
733
|
_inherits(OrganizationDataSourceBind, DataSourceBind);
|
|
750
|
-
var _super = _create_super(OrganizationDataSourceBind);
|
|
751
734
|
function OrganizationDataSourceBind(props) {
|
|
752
735
|
_class_call_check(this, OrganizationDataSourceBind);
|
|
753
736
|
var _this;
|
|
754
737
|
var _props_attributes;
|
|
755
|
-
_this =
|
|
756
|
-
|
|
757
|
-
_define_property(
|
|
738
|
+
_this = _call_super(this, OrganizationDataSourceBind, [
|
|
739
|
+
props
|
|
740
|
+
]), _define_property(_this, "attributes", void 0), _define_property(_this, "formCode", void 0);
|
|
758
741
|
var _props_attributes_map;
|
|
759
742
|
_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) {
|
|
760
743
|
return new CustomAttributeItem(item);
|
|
761
744
|
})) !== null && _props_attributes_map !== void 0 ? _props_attributes_map : [];
|
|
762
745
|
var _props_formCode;
|
|
763
|
-
_this.formCode = (_props_formCode = props === null || props === void 0 ? void 0 : props.formCode) !== null && _props_formCode !== void 0 ? _props_formCode :
|
|
746
|
+
_this.formCode = (_props_formCode = props === null || props === void 0 ? void 0 : props.formCode) !== null && _props_formCode !== void 0 ? _props_formCode : '';
|
|
764
747
|
return _this;
|
|
765
748
|
}
|
|
766
749
|
return OrganizationDataSourceBind;
|
|
@@ -768,16 +751,15 @@ export var OrganizationDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
|
768
751
|
export var TreeDataSourceBind = /*#__PURE__*/ function(SuperDataSourceBind) {
|
|
769
752
|
"use strict";
|
|
770
753
|
_inherits(TreeDataSourceBind, SuperDataSourceBind);
|
|
771
|
-
var _super = _create_super(TreeDataSourceBind);
|
|
772
754
|
function TreeDataSourceBind(props) {
|
|
773
755
|
_class_call_check(this, TreeDataSourceBind);
|
|
774
756
|
var _this;
|
|
775
|
-
_this =
|
|
776
|
-
|
|
777
|
-
_define_property(
|
|
757
|
+
_this = _call_super(this, TreeDataSourceBind, [
|
|
758
|
+
props
|
|
759
|
+
]), _define_property(_this, "rootNode", void 0), _define_property(_this, "filterCode", void 0);
|
|
778
760
|
_this.rootNode = new RightVariable(props === null || props === void 0 ? void 0 : props.rootNode);
|
|
779
761
|
var _props_filterCode;
|
|
780
|
-
_this.filterCode = (_props_filterCode = props === null || props === void 0 ? void 0 : props.filterCode) !== null && _props_filterCode !== void 0 ? _props_filterCode :
|
|
762
|
+
_this.filterCode = (_props_filterCode = props === null || props === void 0 ? void 0 : props.filterCode) !== null && _props_filterCode !== void 0 ? _props_filterCode : '';
|
|
781
763
|
return _this;
|
|
782
764
|
}
|
|
783
765
|
return TreeDataSourceBind;
|
|
@@ -796,9 +778,9 @@ var FillBind = function FillBind(props) {
|
|
|
796
778
|
* 执行填充的数据项和控件
|
|
797
779
|
* */ _define_property(this, "fillList", void 0);
|
|
798
780
|
var _props_dataCode;
|
|
799
|
-
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode :
|
|
781
|
+
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : '';
|
|
800
782
|
var _props_appId;
|
|
801
|
-
this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId :
|
|
783
|
+
this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : '';
|
|
802
784
|
var _props_fillList_map;
|
|
803
785
|
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) {
|
|
804
786
|
return new MultistageFillingItem(item);
|
|
@@ -811,27 +793,25 @@ var FillBind = function FillBind(props) {
|
|
|
811
793
|
* */ export var FillPayloadBind = /*#__PURE__*/ function(FillBind) {
|
|
812
794
|
"use strict";
|
|
813
795
|
_inherits(FillPayloadBind, FillBind);
|
|
814
|
-
var _super = _create_super(FillPayloadBind);
|
|
815
796
|
function FillPayloadBind(props) {
|
|
816
797
|
_class_call_check(this, FillPayloadBind);
|
|
817
798
|
var _this;
|
|
818
|
-
_this =
|
|
819
|
-
|
|
799
|
+
_this = _call_super(this, FillPayloadBind, [
|
|
800
|
+
props
|
|
801
|
+
]), /**
|
|
820
802
|
* 数据源过滤条件
|
|
821
803
|
* @defaultValue []
|
|
822
804
|
* @public
|
|
823
|
-
**/ _define_property(
|
|
824
|
-
/**
|
|
805
|
+
**/ _define_property(_this, "filters", void 0), /**
|
|
825
806
|
* 数据源过滤条件-查看
|
|
826
807
|
* @defaultValue []
|
|
827
808
|
* @public
|
|
828
|
-
**/ _define_property(
|
|
829
|
-
/**
|
|
809
|
+
**/ _define_property(_this, "viewFilters", void 0), /**
|
|
830
810
|
* 数据源排序条件
|
|
831
811
|
* @defaultValue []
|
|
832
812
|
* @public
|
|
833
|
-
**/ _define_property(
|
|
834
|
-
callFiltersAndOrders.call(
|
|
813
|
+
**/ _define_property(_this, "orders", void 0);
|
|
814
|
+
callFiltersAndOrders.call(_this, props);
|
|
835
815
|
return _this;
|
|
836
816
|
}
|
|
837
817
|
return FillPayloadBind;
|
|
@@ -842,23 +822,22 @@ var FillBind = function FillBind(props) {
|
|
|
842
822
|
*/ export var FillBackBind = /*#__PURE__*/ function(FillBind) {
|
|
843
823
|
"use strict";
|
|
844
824
|
_inherits(FillBackBind, FillBind);
|
|
845
|
-
var _super = _create_super(FillBackBind);
|
|
846
825
|
function FillBackBind(props) {
|
|
847
826
|
_class_call_check(this, FillBackBind);
|
|
848
827
|
var _this;
|
|
849
|
-
_this =
|
|
850
|
-
|
|
828
|
+
_this = _call_super(this, FillBackBind, [
|
|
829
|
+
props
|
|
830
|
+
]), /**
|
|
851
831
|
* 回填模式。current 当前表(根据按钮所在位置来区分,而不是通过主表和子表来区分)| subtable 子表
|
|
852
832
|
* @defaultValue 'current'
|
|
853
833
|
* @public
|
|
854
|
-
* */ _define_property(
|
|
855
|
-
/**
|
|
834
|
+
* */ _define_property(_this, "mode", void 0), /**
|
|
856
835
|
* 多选
|
|
857
836
|
* @defaultValue false
|
|
858
837
|
* @public
|
|
859
|
-
*/ _define_property(
|
|
838
|
+
*/ _define_property(_this, "multiple", void 0);
|
|
860
839
|
var _props_mode;
|
|
861
|
-
_this.mode = (_props_mode = props === null || props === void 0 ? void 0 : props.mode) !== null && _props_mode !== void 0 ? _props_mode :
|
|
840
|
+
_this.mode = (_props_mode = props === null || props === void 0 ? void 0 : props.mode) !== null && _props_mode !== void 0 ? _props_mode : 'current';
|
|
862
841
|
var _props_multiple;
|
|
863
842
|
_this.multiple = (_props_multiple = props === null || props === void 0 ? void 0 : props.multiple) !== null && _props_multiple !== void 0 ? _props_multiple : false;
|
|
864
843
|
return _this;
|
|
@@ -872,11 +851,11 @@ export var Language = function Language(props) {
|
|
|
872
851
|
_define_property(this, "en", void 0);
|
|
873
852
|
_define_property(this, "ja", void 0);
|
|
874
853
|
var _props_zh;
|
|
875
|
-
this.zh = (_props_zh = props === null || props === void 0 ? void 0 : props.zh) !== null && _props_zh !== void 0 ? _props_zh :
|
|
854
|
+
this.zh = (_props_zh = props === null || props === void 0 ? void 0 : props.zh) !== null && _props_zh !== void 0 ? _props_zh : '';
|
|
876
855
|
var _props_en;
|
|
877
|
-
this.en = (_props_en = props === null || props === void 0 ? void 0 : props.en) !== null && _props_en !== void 0 ? _props_en :
|
|
856
|
+
this.en = (_props_en = props === null || props === void 0 ? void 0 : props.en) !== null && _props_en !== void 0 ? _props_en : '';
|
|
878
857
|
var _props_ja;
|
|
879
|
-
this.ja = (_props_ja = props === null || props === void 0 ? void 0 : props.ja) !== null && _props_ja !== void 0 ? _props_ja :
|
|
858
|
+
this.ja = (_props_ja = props === null || props === void 0 ? void 0 : props.ja) !== null && _props_ja !== void 0 ? _props_ja : '';
|
|
880
859
|
};
|
|
881
860
|
/**
|
|
882
861
|
* 正则校验
|
|
@@ -897,11 +876,11 @@ export var Language = function Language(props) {
|
|
|
897
876
|
* @defaultValue ''
|
|
898
877
|
*/ _define_property(this, "errMessage", void 0);
|
|
899
878
|
var _props_stencilName;
|
|
900
|
-
this.stencilName = (_props_stencilName = props === null || props === void 0 ? void 0 : props.stencilName) !== null && _props_stencilName !== void 0 ? _props_stencilName :
|
|
879
|
+
this.stencilName = (_props_stencilName = props === null || props === void 0 ? void 0 : props.stencilName) !== null && _props_stencilName !== void 0 ? _props_stencilName : '';
|
|
901
880
|
var _props_expression;
|
|
902
|
-
this.expression = (_props_expression = props === null || props === void 0 ? void 0 : props.expression) !== null && _props_expression !== void 0 ? _props_expression :
|
|
881
|
+
this.expression = (_props_expression = props === null || props === void 0 ? void 0 : props.expression) !== null && _props_expression !== void 0 ? _props_expression : '';
|
|
903
882
|
var _props_errMessage;
|
|
904
|
-
this.errMessage = (_props_errMessage = props === null || props === void 0 ? void 0 : props.errMessage) !== null && _props_errMessage !== void 0 ? _props_errMessage :
|
|
883
|
+
this.errMessage = (_props_errMessage = props === null || props === void 0 ? void 0 : props.errMessage) !== null && _props_errMessage !== void 0 ? _props_errMessage : '';
|
|
905
884
|
};
|
|
906
885
|
/**
|
|
907
886
|
* 选项设置-自定义选项
|
|
@@ -923,24 +902,23 @@ export var Language = function Language(props) {
|
|
|
923
902
|
var _props_id;
|
|
924
903
|
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId(8);
|
|
925
904
|
var _props_label;
|
|
926
|
-
this.label = (_props_label = props === null || props === void 0 ? void 0 : props.label) !== null && _props_label !== void 0 ? _props_label :
|
|
905
|
+
this.label = (_props_label = props === null || props === void 0 ? void 0 : props.label) !== null && _props_label !== void 0 ? _props_label : '';
|
|
927
906
|
var _props_value;
|
|
928
907
|
this.value = (_props_value = props === null || props === void 0 ? void 0 : props.value) !== null && _props_value !== void 0 ? _props_value : this.label;
|
|
929
908
|
};
|
|
930
909
|
export var ImageOptionSetting = /*#__PURE__*/ function(OptionSetting) {
|
|
931
910
|
"use strict";
|
|
932
911
|
_inherits(ImageOptionSetting, OptionSetting);
|
|
933
|
-
var _super = _create_super(ImageOptionSetting);
|
|
934
912
|
function ImageOptionSetting(props) {
|
|
935
913
|
_class_call_check(this, ImageOptionSetting);
|
|
936
914
|
var _this;
|
|
937
|
-
_this =
|
|
938
|
-
|
|
939
|
-
_define_property(
|
|
915
|
+
_this = _call_super(this, ImageOptionSetting, [
|
|
916
|
+
props
|
|
917
|
+
]), _define_property(_this, "image", void 0), _define_property(_this, "type", void 0);
|
|
940
918
|
var _props_image;
|
|
941
|
-
_this.image = (_props_image = props === null || props === void 0 ? void 0 : props.image) !== null && _props_image !== void 0 ? _props_image :
|
|
919
|
+
_this.image = (_props_image = props === null || props === void 0 ? void 0 : props.image) !== null && _props_image !== void 0 ? _props_image : '';
|
|
942
920
|
var _props_type;
|
|
943
|
-
_this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type :
|
|
921
|
+
_this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : 'src';
|
|
944
922
|
return _this;
|
|
945
923
|
}
|
|
946
924
|
return ImageOptionSetting;
|
|
@@ -970,17 +948,14 @@ export function initImageOptions(options) {
|
|
|
970
948
|
*/ export var AmountDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
971
949
|
"use strict";
|
|
972
950
|
_inherits(AmountDataBind, ObjectDataBind);
|
|
973
|
-
var _super = _create_super(AmountDataBind);
|
|
974
951
|
function AmountDataBind(props) {
|
|
975
952
|
_class_call_check(this, AmountDataBind);
|
|
976
953
|
var _this;
|
|
977
|
-
_this =
|
|
978
|
-
/**
|
|
954
|
+
_this = _call_super(this, AmountDataBind), /**
|
|
979
955
|
* 金额字段绑定配置
|
|
980
|
-
*/ _define_property(
|
|
981
|
-
/**
|
|
956
|
+
*/ _define_property(_this, "amount", void 0), /**
|
|
982
957
|
* 币种字段绑定配置
|
|
983
|
-
*/ _define_property(
|
|
958
|
+
*/ _define_property(_this, "currency", void 0);
|
|
984
959
|
_this.amount = new DataBind(props === null || props === void 0 ? void 0 : props.amount);
|
|
985
960
|
_this.currency = new DataBind(props === null || props === void 0 ? void 0 : props.currency);
|
|
986
961
|
return _this;
|
|
@@ -1002,7 +977,7 @@ export function initImageOptions(options) {
|
|
|
1002
977
|
* @defaultValue 'CNY'
|
|
1003
978
|
*/ _define_property(this, "currency", void 0);
|
|
1004
979
|
var _props_amount;
|
|
1005
|
-
this.amount = (_props_amount = props === null || props === void 0 ? void 0 : props.amount) !== null && _props_amount !== void 0 ? _props_amount :
|
|
980
|
+
this.amount = (_props_amount = props === null || props === void 0 ? void 0 : props.amount) !== null && _props_amount !== void 0 ? _props_amount : '';
|
|
1006
981
|
var _props_currency;
|
|
1007
982
|
this.currency = (_props_currency = props === null || props === void 0 ? void 0 : props.currency) !== null && _props_currency !== void 0 ? _props_currency : "CNY";
|
|
1008
983
|
};
|
|
@@ -1012,17 +987,14 @@ export function initImageOptions(options) {
|
|
|
1012
987
|
*/ export var RangeDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
1013
988
|
"use strict";
|
|
1014
989
|
_inherits(RangeDataBind, ObjectDataBind);
|
|
1015
|
-
var _super = _create_super(RangeDataBind);
|
|
1016
990
|
function RangeDataBind(props) {
|
|
1017
991
|
_class_call_check(this, RangeDataBind);
|
|
1018
992
|
var _this;
|
|
1019
|
-
_this =
|
|
1020
|
-
/**
|
|
993
|
+
_this = _call_super(this, RangeDataBind), /**
|
|
1021
994
|
* 开始日期字段绑定项
|
|
1022
|
-
*/ _define_property(
|
|
1023
|
-
/**
|
|
995
|
+
*/ _define_property(_this, "min", void 0), /**
|
|
1024
996
|
* 结束日期字段绑定项
|
|
1025
|
-
*/ _define_property(
|
|
997
|
+
*/ _define_property(_this, "max", void 0);
|
|
1026
998
|
_this.min = new DataBind(props === null || props === void 0 ? void 0 : props.min);
|
|
1027
999
|
_this.max = new DataBind(props === null || props === void 0 ? void 0 : props.max);
|
|
1028
1000
|
return _this;
|
|
@@ -1044,9 +1016,9 @@ export function initImageOptions(options) {
|
|
|
1044
1016
|
* @defaultValue ''
|
|
1045
1017
|
*/ _define_property(this, "max", void 0);
|
|
1046
1018
|
var _props_min;
|
|
1047
|
-
this.min = (_props_min = props === null || props === void 0 ? void 0 : props.min) !== null && _props_min !== void 0 ? _props_min :
|
|
1019
|
+
this.min = (_props_min = props === null || props === void 0 ? void 0 : props.min) !== null && _props_min !== void 0 ? _props_min : '';
|
|
1048
1020
|
var _props_max;
|
|
1049
|
-
this.max = (_props_max = props === null || props === void 0 ? void 0 : props.max) !== null && _props_max !== void 0 ? _props_max :
|
|
1021
|
+
this.max = (_props_max = props === null || props === void 0 ? void 0 : props.max) !== null && _props_max !== void 0 ? _props_max : '';
|
|
1050
1022
|
};
|
|
1051
1023
|
/**
|
|
1052
1024
|
* 地址值
|
|
@@ -1079,17 +1051,17 @@ export function initImageOptions(options) {
|
|
|
1079
1051
|
* @defaultValue ''
|
|
1080
1052
|
*/ _define_property(this, "provinceDisplay", void 0);
|
|
1081
1053
|
var _props_city;
|
|
1082
|
-
this.city = (_props_city = props === null || props === void 0 ? void 0 : props.city) !== null && _props_city !== void 0 ? _props_city :
|
|
1054
|
+
this.city = (_props_city = props === null || props === void 0 ? void 0 : props.city) !== null && _props_city !== void 0 ? _props_city : '';
|
|
1083
1055
|
var _props_cityDisplay;
|
|
1084
|
-
this.cityDisplay = (_props_cityDisplay = props === null || props === void 0 ? void 0 : props.cityDisplay) !== null && _props_cityDisplay !== void 0 ? _props_cityDisplay :
|
|
1056
|
+
this.cityDisplay = (_props_cityDisplay = props === null || props === void 0 ? void 0 : props.cityDisplay) !== null && _props_cityDisplay !== void 0 ? _props_cityDisplay : '';
|
|
1085
1057
|
var _props_district;
|
|
1086
|
-
this.district = (_props_district = props === null || props === void 0 ? void 0 : props.district) !== null && _props_district !== void 0 ? _props_district :
|
|
1058
|
+
this.district = (_props_district = props === null || props === void 0 ? void 0 : props.district) !== null && _props_district !== void 0 ? _props_district : '';
|
|
1087
1059
|
var _props_districtDisplay;
|
|
1088
|
-
this.districtDisplay = (_props_districtDisplay = props === null || props === void 0 ? void 0 : props.districtDisplay) !== null && _props_districtDisplay !== void 0 ? _props_districtDisplay :
|
|
1060
|
+
this.districtDisplay = (_props_districtDisplay = props === null || props === void 0 ? void 0 : props.districtDisplay) !== null && _props_districtDisplay !== void 0 ? _props_districtDisplay : '';
|
|
1089
1061
|
var _props_province;
|
|
1090
|
-
this.province = (_props_province = props === null || props === void 0 ? void 0 : props.province) !== null && _props_province !== void 0 ? _props_province :
|
|
1062
|
+
this.province = (_props_province = props === null || props === void 0 ? void 0 : props.province) !== null && _props_province !== void 0 ? _props_province : '';
|
|
1091
1063
|
var _props_provinceDisplay;
|
|
1092
|
-
this.provinceDisplay = (_props_provinceDisplay = props === null || props === void 0 ? void 0 : props.provinceDisplay) !== null && _props_provinceDisplay !== void 0 ? _props_provinceDisplay :
|
|
1064
|
+
this.provinceDisplay = (_props_provinceDisplay = props === null || props === void 0 ? void 0 : props.provinceDisplay) !== null && _props_provinceDisplay !== void 0 ? _props_provinceDisplay : '';
|
|
1093
1065
|
};
|
|
1094
1066
|
/**
|
|
1095
1067
|
* 计算公式数据绑定项
|
|
@@ -1097,17 +1069,14 @@ export function initImageOptions(options) {
|
|
|
1097
1069
|
*/ export var CalcDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
1098
1070
|
"use strict";
|
|
1099
1071
|
_inherits(CalcDataBind, ObjectDataBind);
|
|
1100
|
-
var _super = _create_super(CalcDataBind);
|
|
1101
1072
|
function CalcDataBind(props) {
|
|
1102
1073
|
_class_call_check(this, CalcDataBind);
|
|
1103
1074
|
var _this;
|
|
1104
|
-
_this =
|
|
1105
|
-
/**
|
|
1075
|
+
_this = _call_super(this, CalcDataBind), /**
|
|
1106
1076
|
* 计算结果字段绑定项
|
|
1107
|
-
*/ _define_property(
|
|
1108
|
-
/**
|
|
1077
|
+
*/ _define_property(_this, "result", void 0), /**
|
|
1109
1078
|
* 单位字段绑定项
|
|
1110
|
-
*/ _define_property(
|
|
1079
|
+
*/ _define_property(_this, "unit", void 0);
|
|
1111
1080
|
_this.result = new DataBind(props === null || props === void 0 ? void 0 : props.result);
|
|
1112
1081
|
_this.unit = new DataBind(props === null || props === void 0 ? void 0 : props.unit);
|
|
1113
1082
|
return _this;
|
|
@@ -1131,7 +1100,7 @@ export function initImageOptions(options) {
|
|
|
1131
1100
|
var _props_result;
|
|
1132
1101
|
this.result = (_props_result = props === null || props === void 0 ? void 0 : props.result) !== null && _props_result !== void 0 ? _props_result : 0;
|
|
1133
1102
|
var _props_unit;
|
|
1134
|
-
this.unit = (_props_unit = props === null || props === void 0 ? void 0 : props.unit) !== null && _props_unit !== void 0 ? _props_unit :
|
|
1103
|
+
this.unit = (_props_unit = props === null || props === void 0 ? void 0 : props.unit) !== null && _props_unit !== void 0 ? _props_unit : '';
|
|
1135
1104
|
};
|
|
1136
1105
|
export var AMOUNT_TYPE;
|
|
1137
1106
|
(function(AMOUNT_TYPE) {
|
|
@@ -1196,6 +1165,7 @@ export var COMMON_SETTING_TYPE;
|
|
|
1196
1165
|
COMMON_SETTING_TYPE["REVISIONS_MODE"] = "revisionsMode";
|
|
1197
1166
|
COMMON_SETTING_TYPE["ALLOW_COPY_OPTIONS"] = "allowCopyOptions";
|
|
1198
1167
|
COMMON_SETTING_TYPE["IS_PASTE"] = "isPaste";
|
|
1168
|
+
COMMON_SETTING_TYPE["SHOW_TABLE_INDEX"] = "showTableIndex";
|
|
1199
1169
|
})(COMMON_SETTING_TYPE || (COMMON_SETTING_TYPE = {}));
|
|
1200
1170
|
export var PAGE_STATUS;
|
|
1201
1171
|
(function(PAGE_STATUS) {
|
|
@@ -1239,13 +1209,13 @@ export var PAGE_STATUS;
|
|
|
1239
1209
|
var _props_isShow;
|
|
1240
1210
|
this.isShow = (_props_isShow = props === null || props === void 0 ? void 0 : props.isShow) !== null && _props_isShow !== void 0 ? _props_isShow : true;
|
|
1241
1211
|
var _props_content;
|
|
1242
|
-
this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content :
|
|
1212
|
+
this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : '';
|
|
1243
1213
|
var _props_formKey;
|
|
1244
|
-
this.formKey = (_props_formKey = props === null || props === void 0 ? void 0 : props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey :
|
|
1214
|
+
this.formKey = (_props_formKey = props === null || props === void 0 ? void 0 : props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : '';
|
|
1245
1215
|
var _props_openType;
|
|
1246
|
-
this.openType = (_props_openType = props === null || props === void 0 ? void 0 : props.openType) !== null && _props_openType !== void 0 ? _props_openType :
|
|
1216
|
+
this.openType = (_props_openType = props === null || props === void 0 ? void 0 : props.openType) !== null && _props_openType !== void 0 ? _props_openType : 'modal';
|
|
1247
1217
|
var _props_type;
|
|
1248
|
-
this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type :
|
|
1218
|
+
this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : '';
|
|
1249
1219
|
var _props_priorityProcess;
|
|
1250
1220
|
this.priorityProcess = (_props_priorityProcess = props === null || props === void 0 ? void 0 : props.priorityProcess) !== null && _props_priorityProcess !== void 0 ? _props_priorityProcess : false;
|
|
1251
1221
|
};
|
|
@@ -1261,7 +1231,7 @@ export var ViewOperationItem = function ViewOperationItem(props) {
|
|
|
1261
1231
|
var _props_id;
|
|
1262
1232
|
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId(8);
|
|
1263
1233
|
var _props_title;
|
|
1264
|
-
this.title = (_props_title = props === null || props === void 0 ? void 0 : props.title) !== null && _props_title !== void 0 ? _props_title :
|
|
1234
|
+
this.title = (_props_title = props === null || props === void 0 ? void 0 : props.title) !== null && _props_title !== void 0 ? _props_title : '';
|
|
1265
1235
|
var _props_headers_map;
|
|
1266
1236
|
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) {
|
|
1267
1237
|
return new ListBindHeaderItem(item);
|
|
@@ -1282,7 +1252,7 @@ export var ViewOperationItem = function ViewOperationItem(props) {
|
|
|
1282
1252
|
var _props_key;
|
|
1283
1253
|
this.key = (_props_key = props.key) !== null && _props_key !== void 0 ? _props_key : genNonDuplicateId(8);
|
|
1284
1254
|
var _props_caption;
|
|
1285
|
-
this.caption = (_props_caption = props.caption) !== null && _props_caption !== void 0 ? _props_caption :
|
|
1255
|
+
this.caption = (_props_caption = props.caption) !== null && _props_caption !== void 0 ? _props_caption : '';
|
|
1286
1256
|
};
|
|
1287
1257
|
export var BaseStyle = function BaseStyle(props) {
|
|
1288
1258
|
"use strict";
|
|
@@ -1292,13 +1262,13 @@ export var BaseStyle = function BaseStyle(props) {
|
|
|
1292
1262
|
_define_property(this, "widthConfig", void 0);
|
|
1293
1263
|
_define_property(this, "heightConfig", void 0);
|
|
1294
1264
|
var _props_width;
|
|
1295
|
-
this.width = (_props_width = props === null || props === void 0 ? void 0 : props.width) !== null && _props_width !== void 0 ? _props_width :
|
|
1265
|
+
this.width = (_props_width = props === null || props === void 0 ? void 0 : props.width) !== null && _props_width !== void 0 ? _props_width : '';
|
|
1296
1266
|
var _props_height;
|
|
1297
|
-
this.height = (_props_height = props === null || props === void 0 ? void 0 : props.height) !== null && _props_height !== void 0 ? _props_height :
|
|
1267
|
+
this.height = (_props_height = props === null || props === void 0 ? void 0 : props.height) !== null && _props_height !== void 0 ? _props_height : '';
|
|
1298
1268
|
var _props_widthConfig;
|
|
1299
|
-
this.widthConfig = (_props_widthConfig = props === null || props === void 0 ? void 0 : props.widthConfig) !== null && _props_widthConfig !== void 0 ? _props_widthConfig :
|
|
1269
|
+
this.widthConfig = (_props_widthConfig = props === null || props === void 0 ? void 0 : props.widthConfig) !== null && _props_widthConfig !== void 0 ? _props_widthConfig : 'fill';
|
|
1300
1270
|
var _props_heightConfig;
|
|
1301
|
-
this.heightConfig = (_props_heightConfig = props === null || props === void 0 ? void 0 : props.heightConfig) !== null && _props_heightConfig !== void 0 ? _props_heightConfig :
|
|
1271
|
+
this.heightConfig = (_props_heightConfig = props === null || props === void 0 ? void 0 : props.heightConfig) !== null && _props_heightConfig !== void 0 ? _props_heightConfig : 'fill';
|
|
1302
1272
|
};
|
|
1303
1273
|
export var OptObject = function OptObject(props) {
|
|
1304
1274
|
"use strict";
|
|
@@ -1314,9 +1284,9 @@ export var OptObject = function OptObject(props) {
|
|
|
1314
1284
|
* @public
|
|
1315
1285
|
*/ _define_property(this, "optType", void 0);
|
|
1316
1286
|
var _props_optCode;
|
|
1317
|
-
this.optCode = (_props_optCode = props === null || props === void 0 ? void 0 : props.optCode) !== null && _props_optCode !== void 0 ? _props_optCode :
|
|
1287
|
+
this.optCode = (_props_optCode = props === null || props === void 0 ? void 0 : props.optCode) !== null && _props_optCode !== void 0 ? _props_optCode : '';
|
|
1318
1288
|
var _props_optType;
|
|
1319
|
-
this.optType = (_props_optType = props === null || props === void 0 ? void 0 : props.optType) !== null && _props_optType !== void 0 ? _props_optType :
|
|
1289
|
+
this.optType = (_props_optType = props === null || props === void 0 ? void 0 : props.optType) !== null && _props_optType !== void 0 ? _props_optType : '';
|
|
1320
1290
|
};
|
|
1321
1291
|
export var RowStyleRule = function RowStyleRule(props) {
|
|
1322
1292
|
"use strict";
|
|
@@ -1345,9 +1315,9 @@ export var RowStyleRule = function RowStyleRule(props) {
|
|
|
1345
1315
|
var _props_id;
|
|
1346
1316
|
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId();
|
|
1347
1317
|
var _props_name;
|
|
1348
|
-
this.name = (_props_name = props === null || props === void 0 ? void 0 : props.name) !== null && _props_name !== void 0 ? _props_name :
|
|
1318
|
+
this.name = (_props_name = props === null || props === void 0 ? void 0 : props.name) !== null && _props_name !== void 0 ? _props_name : '';
|
|
1349
1319
|
var _props_color;
|
|
1350
|
-
this.color = (_props_color = props === null || props === void 0 ? void 0 : props.color) !== null && _props_color !== void 0 ? _props_color :
|
|
1320
|
+
this.color = (_props_color = props === null || props === void 0 ? void 0 : props.color) !== null && _props_color !== void 0 ? _props_color : 'theme';
|
|
1351
1321
|
var _props_filters_map;
|
|
1352
1322
|
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) {
|
|
1353
1323
|
if (item.children !== undefined) {
|
|
@@ -1365,7 +1335,7 @@ export var RowStyleRuleScript = function RowStyleRuleScript(props) {
|
|
|
1365
1335
|
var _props_id;
|
|
1366
1336
|
this.id = (_props_id = props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId();
|
|
1367
1337
|
var _props_script;
|
|
1368
|
-
this.script = (_props_script = props.script) !== null && _props_script !== void 0 ? _props_script :
|
|
1338
|
+
this.script = (_props_script = props.script) !== null && _props_script !== void 0 ? _props_script : '';
|
|
1369
1339
|
var _props_color;
|
|
1370
|
-
this.color = (_props_color = props.color) !== null && _props_color !== void 0 ? _props_color :
|
|
1340
|
+
this.color = (_props_color = props.color) !== null && _props_color !== void 0 ? _props_color : 'theme';
|
|
1371
1341
|
};
|