@byteluck-fe/model-driven-core 2.23.0-beta.18 → 2.23.0-beta.19

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