@byteluck-fe/model-driven-core 2.23.0-beta.17 → 2.23.0-beta.18
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/property.js +23 -10
- package/dist/esm/common/ColumnControl/designer.js +27 -13
- package/dist/esm/common/ColumnControl/property.js +57 -32
- package/dist/esm/common/ColumnControl/runtime.js +27 -13
- package/dist/esm/common/FormControl/designer.js +25 -12
- package/dist/esm/common/FormControl/property.js +70 -42
- package/dist/esm/common/FormControl/runtime.js +26 -12
- package/dist/esm/common/LayoutControl/designer.js +29 -13
- package/dist/esm/common/LayoutControl/property.js +23 -12
- package/dist/esm/common/LayoutControl/runtime.js +27 -13
- package/dist/esm/common/ListControl/designer.js +26 -13
- package/dist/esm/common/ListControl/property.js +31 -14
- package/dist/esm/common/ListControl/runtime.js +28 -14
- package/dist/esm/common/SearchViewControl/designer.js +25 -12
- package/dist/esm/common/SearchViewControl/property.js +24 -12
- package/dist/esm/common/SearchViewControl/runtime.js +25 -12
- package/dist/esm/common/WrapControl/designer.js +25 -12
- package/dist/esm/common/WrapControl/property.js +23 -12
- package/dist/esm/common/WrapControl/runtime.js +25 -12
- package/dist/esm/framework/RegisterControls.js +0 -1
- package/dist/esm/framework/index.js +82 -51
- package/dist/index.umd.js +1 -1
- package/package.json +3 -3
|
@@ -4,10 +4,6 @@ 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
|
-
}
|
|
11
7
|
function _class_call_check(instance, Constructor) {
|
|
12
8
|
if (!(instance instanceof Constructor)) {
|
|
13
9
|
throw new TypeError("Cannot call a class as a function");
|
|
@@ -63,24 +59,41 @@ function _type_of(obj) {
|
|
|
63
59
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
64
60
|
}
|
|
65
61
|
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;
|
|
66
65
|
try {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
return
|
|
71
|
-
}
|
|
66
|
+
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
67
|
+
return true;
|
|
68
|
+
} catch (e) {
|
|
69
|
+
return false;
|
|
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
|
+
};
|
|
72
84
|
}
|
|
73
85
|
import WrapControlProperty from './property';
|
|
74
86
|
import { DesignerLayoutControl } from '../LayoutControl';
|
|
75
87
|
var WrapControl = /*#__PURE__*/ function(DesignerLayoutControl) {
|
|
76
88
|
"use strict";
|
|
77
89
|
_inherits(WrapControl, DesignerLayoutControl);
|
|
90
|
+
var _super = _create_super(WrapControl);
|
|
78
91
|
function WrapControl(props) {
|
|
79
92
|
_class_call_check(this, WrapControl);
|
|
80
93
|
var _this;
|
|
81
|
-
_this =
|
|
82
|
-
|
|
83
|
-
|
|
94
|
+
_this = _super.call(this, props);
|
|
95
|
+
_define_property(_assert_this_initialized(_this), "controlType", 'wrap');
|
|
96
|
+
_define_property(_assert_this_initialized(_this), "props", void 0);
|
|
84
97
|
_this.props = new WrapControlProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
85
98
|
return _this;
|
|
86
99
|
}
|
|
@@ -4,10 +4,6 @@ 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
|
-
}
|
|
11
7
|
function _class_call_check(instance, Constructor) {
|
|
12
8
|
if (!(instance instanceof Constructor)) {
|
|
13
9
|
throw new TypeError("Cannot call a class as a function");
|
|
@@ -50,22 +46,37 @@ function _type_of(obj) {
|
|
|
50
46
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
51
47
|
}
|
|
52
48
|
function _is_native_reflect_construct() {
|
|
49
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
50
|
+
if (Reflect.construct.sham) return false;
|
|
51
|
+
if (typeof Proxy === "function") return true;
|
|
53
52
|
try {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
return
|
|
58
|
-
}
|
|
53
|
+
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
54
|
+
return true;
|
|
55
|
+
} catch (e) {
|
|
56
|
+
return false;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
function _create_super(Derived) {
|
|
60
|
+
var hasNativeReflectConstruct = _is_native_reflect_construct();
|
|
61
|
+
return function _createSuperInternal() {
|
|
62
|
+
var Super = _get_prototype_of(Derived), result;
|
|
63
|
+
if (hasNativeReflectConstruct) {
|
|
64
|
+
var NewTarget = _get_prototype_of(this).constructor;
|
|
65
|
+
result = Reflect.construct(Super, arguments, NewTarget);
|
|
66
|
+
} else {
|
|
67
|
+
result = Super.apply(this, arguments);
|
|
68
|
+
}
|
|
69
|
+
return _possible_constructor_return(this, result);
|
|
70
|
+
};
|
|
59
71
|
}
|
|
60
72
|
import { LayoutControlProperty } from '../LayoutControl';
|
|
61
73
|
var WrapControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
62
74
|
"use strict";
|
|
63
75
|
_inherits(WrapControlProperty, LayoutControlProperty);
|
|
76
|
+
var _super = _create_super(WrapControlProperty);
|
|
64
77
|
function WrapControlProperty(props) {
|
|
65
78
|
_class_call_check(this, WrapControlProperty);
|
|
66
|
-
return
|
|
67
|
-
props
|
|
68
|
-
]);
|
|
79
|
+
return _super.call(this, props);
|
|
69
80
|
}
|
|
70
81
|
return WrapControlProperty;
|
|
71
82
|
}(LayoutControlProperty);
|
|
@@ -4,10 +4,6 @@ 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
|
-
}
|
|
11
7
|
function _class_call_check(instance, Constructor) {
|
|
12
8
|
if (!(instance instanceof Constructor)) {
|
|
13
9
|
throw new TypeError("Cannot call a class as a function");
|
|
@@ -63,24 +59,41 @@ function _type_of(obj) {
|
|
|
63
59
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
64
60
|
}
|
|
65
61
|
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;
|
|
66
65
|
try {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
return
|
|
71
|
-
}
|
|
66
|
+
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
67
|
+
return true;
|
|
68
|
+
} catch (e) {
|
|
69
|
+
return false;
|
|
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
|
+
};
|
|
72
84
|
}
|
|
73
85
|
import WrapControlProperty from './property';
|
|
74
86
|
import { RuntimeLayoutControl } from '../LayoutControl';
|
|
75
87
|
var WrapControl = /*#__PURE__*/ function(RuntimeLayoutControl) {
|
|
76
88
|
"use strict";
|
|
77
89
|
_inherits(WrapControl, RuntimeLayoutControl);
|
|
90
|
+
var _super = _create_super(WrapControl);
|
|
78
91
|
function WrapControl(props) {
|
|
79
92
|
_class_call_check(this, WrapControl);
|
|
80
93
|
var _this;
|
|
81
|
-
_this =
|
|
82
|
-
|
|
83
|
-
|
|
94
|
+
_this = _super.call(this, props);
|
|
95
|
+
_define_property(_assert_this_initialized(_this), "controlType", 'wrap');
|
|
96
|
+
_define_property(_assert_this_initialized(_this), "props", void 0);
|
|
84
97
|
_this.props = new WrapControlProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
85
98
|
return _this;
|
|
86
99
|
}
|
|
@@ -261,7 +261,6 @@ export var RegisterControls = /*#__PURE__*/ function() {
|
|
|
261
261
|
value: // 初始化_controls,得到所有可用控件类组成的扁平数组
|
|
262
262
|
function _initControls(type) {
|
|
263
263
|
var _this = this;
|
|
264
|
-
;
|
|
265
264
|
this.constructor.staticControls.forEach(function(item) {
|
|
266
265
|
_this.register(item[type]);
|
|
267
266
|
RegisterControls.staticControlsRuntimeRules.set(item.Runtime.controlType, item.Property.RuntimeRules);
|
|
@@ -4,10 +4,6 @@ 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
|
-
}
|
|
11
7
|
function _class_call_check(instance, Constructor) {
|
|
12
8
|
if (!(instance instanceof Constructor)) {
|
|
13
9
|
throw new TypeError("Cannot call a class as a function");
|
|
@@ -63,12 +59,28 @@ function _type_of(obj) {
|
|
|
63
59
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
64
60
|
}
|
|
65
61
|
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;
|
|
66
65
|
try {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
return
|
|
71
|
-
}
|
|
66
|
+
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
67
|
+
return true;
|
|
68
|
+
} catch (e) {
|
|
69
|
+
return false;
|
|
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
|
+
};
|
|
72
84
|
}
|
|
73
85
|
import { FieldTypes, genNonDuplicateId } from '@byteluck-fe/model-driven-shared';
|
|
74
86
|
export * from './RegisterControls';
|
|
@@ -145,12 +157,13 @@ export var MetaRowHeight = function MetaRowHeight(props) {
|
|
|
145
157
|
export var MetaWidth = /*#__PURE__*/ function(AutoWidth) {
|
|
146
158
|
"use strict";
|
|
147
159
|
_inherits(MetaWidth, AutoWidth);
|
|
160
|
+
var _super = _create_super(MetaWidth);
|
|
148
161
|
function MetaWidth(props) {
|
|
149
162
|
_class_call_check(this, MetaWidth);
|
|
150
163
|
var _this;
|
|
151
|
-
_this =
|
|
152
|
-
|
|
153
|
-
|
|
164
|
+
_this = _super.call(this, props);
|
|
165
|
+
_define_property(_assert_this_initialized(_this), "width", void 0);
|
|
166
|
+
_define_property(_assert_this_initialized(_this), "widthType", void 0);
|
|
154
167
|
var _props_width;
|
|
155
168
|
_this.width = (_props_width = props === null || props === void 0 ? void 0 : props.width) !== null && _props_width !== void 0 ? _props_width : 240;
|
|
156
169
|
var _props_widthType;
|
|
@@ -196,12 +209,12 @@ export var FormBind = function FormBind(props) {
|
|
|
196
209
|
export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
197
210
|
"use strict";
|
|
198
211
|
_inherits(FormSelectBind, FormBind);
|
|
212
|
+
var _super = _create_super(FormSelectBind);
|
|
199
213
|
function FormSelectBind(props) {
|
|
200
214
|
_class_call_check(this, FormSelectBind);
|
|
201
215
|
var _this;
|
|
202
|
-
_this =
|
|
203
|
-
|
|
204
|
-
]), _define_property(_this, "primaryControlId", void 0);
|
|
216
|
+
_this = _super.call(this, props);
|
|
217
|
+
_define_property(_assert_this_initialized(_this), "primaryControlId", void 0);
|
|
205
218
|
var _props_primaryControlId;
|
|
206
219
|
_this.primaryControlId = (_props_primaryControlId = props === null || props === void 0 ? void 0 : props.primaryControlId) !== null && _props_primaryControlId !== void 0 ? _props_primaryControlId : '';
|
|
207
220
|
return _this;
|
|
@@ -267,12 +280,15 @@ export var FieldBindItem = function FieldBindItem(props) {
|
|
|
267
280
|
export var SubListItem = /*#__PURE__*/ function(FormBind) {
|
|
268
281
|
"use strict";
|
|
269
282
|
_inherits(SubListItem, FormBind);
|
|
283
|
+
var _super = _create_super(SubListItem);
|
|
270
284
|
function SubListItem(props) {
|
|
271
285
|
_class_call_check(this, SubListItem);
|
|
272
286
|
var _this;
|
|
273
|
-
_this =
|
|
274
|
-
|
|
275
|
-
|
|
287
|
+
_this = _super.call(this, props);
|
|
288
|
+
_define_property(_assert_this_initialized(_this), "title", void 0);
|
|
289
|
+
_define_property(_assert_this_initialized(_this), "svcCode", void 0);
|
|
290
|
+
_define_property(_assert_this_initialized(_this), "isOpenFilter", void 0);
|
|
291
|
+
_define_property(_assert_this_initialized(_this), "filters", void 0);
|
|
276
292
|
var _props_title;
|
|
277
293
|
_this.title = (_props_title = props === null || props === void 0 ? void 0 : props.title) !== null && _props_title !== void 0 ? _props_title : '';
|
|
278
294
|
var _props_svcCode;
|
|
@@ -751,13 +767,13 @@ export var CustomAttributeItem = function CustomAttributeItem(props) {
|
|
|
751
767
|
export var SuperDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
752
768
|
"use strict";
|
|
753
769
|
_inherits(SuperDataSourceBind, DataSourceBind);
|
|
770
|
+
var _super = _create_super(SuperDataSourceBind);
|
|
754
771
|
function SuperDataSourceBind(props) {
|
|
755
772
|
_class_call_check(this, SuperDataSourceBind);
|
|
756
773
|
var _this;
|
|
757
774
|
var _props_attributes;
|
|
758
|
-
_this =
|
|
759
|
-
|
|
760
|
-
]), _define_property(_this, "attributes", void 0);
|
|
775
|
+
_this = _super.call(this, props);
|
|
776
|
+
_define_property(_assert_this_initialized(_this), "attributes", void 0);
|
|
761
777
|
var _props_attributes_map;
|
|
762
778
|
_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) {
|
|
763
779
|
return new CustomAttributeItem(item);
|
|
@@ -769,13 +785,14 @@ export var SuperDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
|
769
785
|
export var OrganizationDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
770
786
|
"use strict";
|
|
771
787
|
_inherits(OrganizationDataSourceBind, DataSourceBind);
|
|
788
|
+
var _super = _create_super(OrganizationDataSourceBind);
|
|
772
789
|
function OrganizationDataSourceBind(props) {
|
|
773
790
|
_class_call_check(this, OrganizationDataSourceBind);
|
|
774
791
|
var _this;
|
|
775
792
|
var _props_attributes;
|
|
776
|
-
_this =
|
|
777
|
-
|
|
778
|
-
|
|
793
|
+
_this = _super.call(this, props);
|
|
794
|
+
_define_property(_assert_this_initialized(_this), "attributes", void 0);
|
|
795
|
+
_define_property(_assert_this_initialized(_this), "formCode", void 0);
|
|
779
796
|
var _props_attributes_map;
|
|
780
797
|
_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) {
|
|
781
798
|
return new CustomAttributeItem(item);
|
|
@@ -789,12 +806,13 @@ export var OrganizationDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
|
789
806
|
export var TreeDataSourceBind = /*#__PURE__*/ function(SuperDataSourceBind) {
|
|
790
807
|
"use strict";
|
|
791
808
|
_inherits(TreeDataSourceBind, SuperDataSourceBind);
|
|
809
|
+
var _super = _create_super(TreeDataSourceBind);
|
|
792
810
|
function TreeDataSourceBind(props) {
|
|
793
811
|
_class_call_check(this, TreeDataSourceBind);
|
|
794
812
|
var _this;
|
|
795
|
-
_this =
|
|
796
|
-
|
|
797
|
-
|
|
813
|
+
_this = _super.call(this, props);
|
|
814
|
+
_define_property(_assert_this_initialized(_this), "rootNode", void 0);
|
|
815
|
+
_define_property(_assert_this_initialized(_this), "filterCode", void 0);
|
|
798
816
|
_this.rootNode = new RightVariable(props === null || props === void 0 ? void 0 : props.rootNode);
|
|
799
817
|
var _props_filterCode;
|
|
800
818
|
_this.filterCode = (_props_filterCode = props === null || props === void 0 ? void 0 : props.filterCode) !== null && _props_filterCode !== void 0 ? _props_filterCode : '';
|
|
@@ -831,25 +849,27 @@ var FillBind = function FillBind(props) {
|
|
|
831
849
|
* */ export var FillPayloadBind = /*#__PURE__*/ function(FillBind) {
|
|
832
850
|
"use strict";
|
|
833
851
|
_inherits(FillPayloadBind, FillBind);
|
|
852
|
+
var _super = _create_super(FillPayloadBind);
|
|
834
853
|
function FillPayloadBind(props) {
|
|
835
854
|
_class_call_check(this, FillPayloadBind);
|
|
836
855
|
var _this;
|
|
837
|
-
_this =
|
|
838
|
-
|
|
839
|
-
]), /**
|
|
856
|
+
_this = _super.call(this, props);
|
|
857
|
+
/**
|
|
840
858
|
* 数据源过滤条件
|
|
841
859
|
* @defaultValue []
|
|
842
860
|
* @public
|
|
843
|
-
**/ _define_property(_this, "filters", void 0)
|
|
861
|
+
**/ _define_property(_assert_this_initialized(_this), "filters", void 0);
|
|
862
|
+
/**
|
|
844
863
|
* 数据源过滤条件-查看
|
|
845
864
|
* @defaultValue []
|
|
846
865
|
* @public
|
|
847
|
-
**/ _define_property(_this, "viewFilters", void 0)
|
|
866
|
+
**/ _define_property(_assert_this_initialized(_this), "viewFilters", void 0);
|
|
867
|
+
/**
|
|
848
868
|
* 数据源排序条件
|
|
849
869
|
* @defaultValue []
|
|
850
870
|
* @public
|
|
851
|
-
**/ _define_property(_this, "orders", void 0);
|
|
852
|
-
callFiltersAndOrders.call(_this, props);
|
|
871
|
+
**/ _define_property(_assert_this_initialized(_this), "orders", void 0);
|
|
872
|
+
callFiltersAndOrders.call(_assert_this_initialized(_this), props);
|
|
853
873
|
return _this;
|
|
854
874
|
}
|
|
855
875
|
return FillPayloadBind;
|
|
@@ -860,20 +880,21 @@ var FillBind = function FillBind(props) {
|
|
|
860
880
|
*/ export var FillBackBind = /*#__PURE__*/ function(FillBind) {
|
|
861
881
|
"use strict";
|
|
862
882
|
_inherits(FillBackBind, FillBind);
|
|
883
|
+
var _super = _create_super(FillBackBind);
|
|
863
884
|
function FillBackBind(props) {
|
|
864
885
|
_class_call_check(this, FillBackBind);
|
|
865
886
|
var _this;
|
|
866
|
-
_this =
|
|
867
|
-
|
|
868
|
-
]), /**
|
|
887
|
+
_this = _super.call(this, props);
|
|
888
|
+
/**
|
|
869
889
|
* 回填模式。current 当前表(根据按钮所在位置来区分,而不是通过主表和子表来区分)| subtable 子表
|
|
870
890
|
* @defaultValue 'current'
|
|
871
891
|
* @public
|
|
872
|
-
* */ _define_property(_this, "mode", void 0)
|
|
892
|
+
* */ _define_property(_assert_this_initialized(_this), "mode", void 0);
|
|
893
|
+
/**
|
|
873
894
|
* 多选
|
|
874
895
|
* @defaultValue false
|
|
875
896
|
* @public
|
|
876
|
-
*/ _define_property(_this, "multiple", void 0);
|
|
897
|
+
*/ _define_property(_assert_this_initialized(_this), "multiple", void 0);
|
|
877
898
|
var _props_mode;
|
|
878
899
|
_this.mode = (_props_mode = props === null || props === void 0 ? void 0 : props.mode) !== null && _props_mode !== void 0 ? _props_mode : 'current';
|
|
879
900
|
var _props_multiple;
|
|
@@ -947,12 +968,13 @@ export var Language = function Language(props) {
|
|
|
947
968
|
export var ImageOptionSetting = /*#__PURE__*/ function(OptionSetting) {
|
|
948
969
|
"use strict";
|
|
949
970
|
_inherits(ImageOptionSetting, OptionSetting);
|
|
971
|
+
var _super = _create_super(ImageOptionSetting);
|
|
950
972
|
function ImageOptionSetting(props) {
|
|
951
973
|
_class_call_check(this, ImageOptionSetting);
|
|
952
974
|
var _this;
|
|
953
|
-
_this =
|
|
954
|
-
|
|
955
|
-
|
|
975
|
+
_this = _super.call(this, props);
|
|
976
|
+
_define_property(_assert_this_initialized(_this), "image", void 0);
|
|
977
|
+
_define_property(_assert_this_initialized(_this), "type", void 0);
|
|
956
978
|
var _props_image;
|
|
957
979
|
_this.image = (_props_image = props === null || props === void 0 ? void 0 : props.image) !== null && _props_image !== void 0 ? _props_image : '';
|
|
958
980
|
var _props_type;
|
|
@@ -986,14 +1008,17 @@ export function initImageOptions(options) {
|
|
|
986
1008
|
*/ export var AmountDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
987
1009
|
"use strict";
|
|
988
1010
|
_inherits(AmountDataBind, ObjectDataBind);
|
|
1011
|
+
var _super = _create_super(AmountDataBind);
|
|
989
1012
|
function AmountDataBind(props) {
|
|
990
1013
|
_class_call_check(this, AmountDataBind);
|
|
991
1014
|
var _this;
|
|
992
|
-
_this =
|
|
1015
|
+
_this = _super.call(this);
|
|
1016
|
+
/**
|
|
993
1017
|
* 金额字段绑定配置
|
|
994
|
-
*/ _define_property(_this, "amount", void 0)
|
|
1018
|
+
*/ _define_property(_assert_this_initialized(_this), "amount", void 0);
|
|
1019
|
+
/**
|
|
995
1020
|
* 币种字段绑定配置
|
|
996
|
-
*/ _define_property(_this, "currency", void 0);
|
|
1021
|
+
*/ _define_property(_assert_this_initialized(_this), "currency", void 0);
|
|
997
1022
|
_this.amount = new DataBind(props === null || props === void 0 ? void 0 : props.amount);
|
|
998
1023
|
_this.currency = new DataBind(props === null || props === void 0 ? void 0 : props.currency);
|
|
999
1024
|
return _this;
|
|
@@ -1025,14 +1050,17 @@ export function initImageOptions(options) {
|
|
|
1025
1050
|
*/ export var RangeDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
1026
1051
|
"use strict";
|
|
1027
1052
|
_inherits(RangeDataBind, ObjectDataBind);
|
|
1053
|
+
var _super = _create_super(RangeDataBind);
|
|
1028
1054
|
function RangeDataBind(props) {
|
|
1029
1055
|
_class_call_check(this, RangeDataBind);
|
|
1030
1056
|
var _this;
|
|
1031
|
-
_this =
|
|
1057
|
+
_this = _super.call(this);
|
|
1058
|
+
/**
|
|
1032
1059
|
* 开始日期字段绑定项
|
|
1033
|
-
*/ _define_property(_this, "min", void 0)
|
|
1060
|
+
*/ _define_property(_assert_this_initialized(_this), "min", void 0);
|
|
1061
|
+
/**
|
|
1034
1062
|
* 结束日期字段绑定项
|
|
1035
|
-
*/ _define_property(_this, "max", void 0);
|
|
1063
|
+
*/ _define_property(_assert_this_initialized(_this), "max", void 0);
|
|
1036
1064
|
_this.min = new DataBind(props === null || props === void 0 ? void 0 : props.min);
|
|
1037
1065
|
_this.max = new DataBind(props === null || props === void 0 ? void 0 : props.max);
|
|
1038
1066
|
return _this;
|
|
@@ -1107,14 +1135,17 @@ export function initImageOptions(options) {
|
|
|
1107
1135
|
*/ export var CalcDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
1108
1136
|
"use strict";
|
|
1109
1137
|
_inherits(CalcDataBind, ObjectDataBind);
|
|
1138
|
+
var _super = _create_super(CalcDataBind);
|
|
1110
1139
|
function CalcDataBind(props) {
|
|
1111
1140
|
_class_call_check(this, CalcDataBind);
|
|
1112
1141
|
var _this;
|
|
1113
|
-
_this =
|
|
1142
|
+
_this = _super.call(this);
|
|
1143
|
+
/**
|
|
1114
1144
|
* 计算结果字段绑定项
|
|
1115
|
-
*/ _define_property(_this, "result", void 0)
|
|
1145
|
+
*/ _define_property(_assert_this_initialized(_this), "result", void 0);
|
|
1146
|
+
/**
|
|
1116
1147
|
* 单位字段绑定项
|
|
1117
|
-
*/ _define_property(_this, "unit", void 0);
|
|
1148
|
+
*/ _define_property(_assert_this_initialized(_this), "unit", void 0);
|
|
1118
1149
|
_this.result = new DataBind(props === null || props === void 0 ? void 0 : props.result);
|
|
1119
1150
|
_this.unit = new DataBind(props === null || props === void 0 ? void 0 : props.unit);
|
|
1120
1151
|
return _this;
|