@byteluck-fe/model-driven-controls 7.0.0-props.102 → 7.0.0-props.103
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/baseControls/BarChart/designer.js +4 -4
- package/dist/esm/baseControls/BarChart/property.js +18 -17
- package/dist/esm/baseControls/LineChart/designer.js +4 -4
- package/dist/esm/baseControls/LineChart/property.js +18 -17
- package/dist/esm/baseControls/PieChart/designer.js +4 -4
- package/dist/esm/baseControls/PieChart/property.js +16 -15
- package/dist/index.umd.js +1 -1
- package/dist/types/baseControls/BarChart/property.d.ts +7 -0
- package/dist/types/baseControls/LineChart/property.d.ts +7 -0
- package/dist/types/baseControls/PieChart/property.d.ts +7 -0
- package/package.json +2 -2
|
@@ -149,6 +149,10 @@ _define_property(BarChartControl, "setting", [
|
|
|
149
149
|
],
|
|
150
150
|
visible: true
|
|
151
151
|
},
|
|
152
|
+
{
|
|
153
|
+
key: 'label-position',
|
|
154
|
+
visible: true
|
|
155
|
+
},
|
|
152
156
|
{
|
|
153
157
|
key: 'common-setting',
|
|
154
158
|
visible: true,
|
|
@@ -206,10 +210,6 @@ _define_property(BarChartControl, "setting", [
|
|
|
206
210
|
key: 'chart-setting',
|
|
207
211
|
visible: true
|
|
208
212
|
},
|
|
209
|
-
{
|
|
210
|
-
key: 'label-position',
|
|
211
|
-
visible: true
|
|
212
|
-
},
|
|
213
213
|
{
|
|
214
214
|
key: 'chart-data-bind',
|
|
215
215
|
visible: true
|
|
@@ -82,37 +82,38 @@ var BarChartProperty = /*#__PURE__*/ function(Property) {
|
|
|
82
82
|
function BarChartProperty(props) {
|
|
83
83
|
_class_call_check(this, BarChartProperty);
|
|
84
84
|
var _this;
|
|
85
|
-
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12, _ref13, _ref14, _ref15, _ref16;
|
|
85
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12, _ref13, _ref14, _ref15, _ref16, _ref17;
|
|
86
86
|
var _props_multistageFilling;
|
|
87
87
|
_this = _call_super(this, BarChartProperty, [
|
|
88
88
|
props
|
|
89
|
-
]), _define_property(_this, "caption", void 0), _define_property(_this, "isHideCaption", void 0), _define_property(_this, "isShowCaptionTip", void 0), _define_property(_this, "captionTip", void 0), _define_property(_this, "captionSize", void 0), _define_property(_this, "captionColor", void 0), _define_property(_this, "isCaptionItalic", void 0), _define_property(_this, "captionFontWeight", void 0), _define_property(_this, "isHide", void 0), _define_property(_this, "template", void 0), _define_property(_this, "dataMode", void 0), _define_property(_this, "optionJson", void 0), _define_property(_this, "optionConfig", 'datasource'), _define_property(_this, "datasourceBind", void 0), _define_property(_this, "filterItemDatasourceBind", void 0), _define_property(_this, "multistageFilling", void 0), _define_property(_this, "defaultValue", void 0), _define_property(_this, "openMultistageFilling", void 0), _define_property(_this, "xField", void 0), _define_property(_this, "yField", void 0), _define_property(_this, "seriesConfig", void 0);
|
|
89
|
+
]), _define_property(_this, "caption", void 0), _define_property(_this, "isHideCaption", void 0), _define_property(_this, "isShowCaptionTip", void 0), _define_property(_this, "labelPosition", void 0), _define_property(_this, "captionTip", void 0), _define_property(_this, "captionSize", void 0), _define_property(_this, "captionColor", void 0), _define_property(_this, "isCaptionItalic", void 0), _define_property(_this, "captionFontWeight", void 0), _define_property(_this, "isHide", void 0), _define_property(_this, "template", void 0), _define_property(_this, "dataMode", void 0), _define_property(_this, "optionJson", void 0), _define_property(_this, "optionConfig", 'datasource'), _define_property(_this, "datasourceBind", void 0), _define_property(_this, "filterItemDatasourceBind", void 0), _define_property(_this, "multistageFilling", void 0), _define_property(_this, "defaultValue", void 0), _define_property(_this, "openMultistageFilling", void 0), _define_property(_this, "xField", void 0), _define_property(_this, "yField", void 0), _define_property(_this, "seriesConfig", void 0);
|
|
90
90
|
_this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : BarChartControl.controlName;
|
|
91
91
|
_this.isHideCaption = (_ref1 = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _ref1 !== void 0 ? _ref1 : false;
|
|
92
92
|
_this.isShowCaptionTip = (_ref2 = props === null || props === void 0 ? void 0 : props.isShowCaptionTip) !== null && _ref2 !== void 0 ? _ref2 : false;
|
|
93
|
-
_this.
|
|
93
|
+
_this.labelPosition = (_ref3 = props === null || props === void 0 ? void 0 : props.labelPosition) !== null && _ref3 !== void 0 ? _ref3 : 'top';
|
|
94
|
+
_this.captionTip = (_ref4 = props === null || props === void 0 ? void 0 : props.captionTip) !== null && _ref4 !== void 0 ? _ref4 : '';
|
|
94
95
|
_this.captionColor = (props === null || props === void 0 ? void 0 : props.captionColor) || '';
|
|
95
96
|
_this.captionSize = (props === null || props === void 0 ? void 0 : props.captionSize) || '';
|
|
96
97
|
_this.isCaptionItalic = (props === null || props === void 0 ? void 0 : props.isCaptionItalic) || false;
|
|
97
|
-
_this.captionFontWeight = (
|
|
98
|
-
_this.isHide = (
|
|
99
|
-
_this.template = (
|
|
100
|
-
_this.dataMode = (
|
|
101
|
-
_this.optionJson = (
|
|
102
|
-
_this.datasourceBind = new TreeDataSourceBind((
|
|
98
|
+
_this.captionFontWeight = (_ref5 = props === null || props === void 0 ? void 0 : props.captionFontWeight) !== null && _ref5 !== void 0 ? _ref5 : FONT_WEIGHT.NORMAL;
|
|
99
|
+
_this.isHide = (_ref6 = props === null || props === void 0 ? void 0 : props.isHide) !== null && _ref6 !== void 0 ? _ref6 : false;
|
|
100
|
+
_this.template = (_ref7 = props === null || props === void 0 ? void 0 : props.template) !== null && _ref7 !== void 0 ? _ref7 : 'bar-basic';
|
|
101
|
+
_this.dataMode = (_ref8 = props === null || props === void 0 ? void 0 : props.dataMode) !== null && _ref8 !== void 0 ? _ref8 : 'static';
|
|
102
|
+
_this.optionJson = (_ref9 = props === null || props === void 0 ? void 0 : props.optionJson) !== null && _ref9 !== void 0 ? _ref9 : '{}';
|
|
103
|
+
_this.datasourceBind = new TreeDataSourceBind((_ref10 = props === null || props === void 0 ? void 0 : props.datasourceBind) !== null && _ref10 !== void 0 ? _ref10 : {
|
|
103
104
|
attributes: BarChartControl.controlCustomAttributes
|
|
104
105
|
});
|
|
105
|
-
_this.filterItemDatasourceBind = new TreeDataSourceBind((
|
|
106
|
+
_this.filterItemDatasourceBind = new TreeDataSourceBind((_ref11 = props === null || props === void 0 ? void 0 : props.filterItemDatasourceBind) !== null && _ref11 !== void 0 ? _ref11 : {
|
|
106
107
|
attributes: BarChartControl.controlCustomAttributes
|
|
107
108
|
});
|
|
108
|
-
_this.multistageFilling = (
|
|
109
|
+
_this.multistageFilling = (_ref12 = props === null || props === void 0 ? void 0 : (_props_multistageFilling = props.multistageFilling) === null || _props_multistageFilling === void 0 ? void 0 : _props_multistageFilling.map(function(item) {
|
|
109
110
|
return new MultistageFillingItem(item);
|
|
110
|
-
})) !== null &&
|
|
111
|
-
_this.defaultValue = (
|
|
112
|
-
_this.openMultistageFilling = (
|
|
113
|
-
_this.xField = (
|
|
114
|
-
_this.yField = (
|
|
115
|
-
_this.seriesConfig = (
|
|
111
|
+
})) !== null && _ref12 !== void 0 ? _ref12 : [];
|
|
112
|
+
_this.defaultValue = (_ref13 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref13 !== void 0 ? _ref13 : [];
|
|
113
|
+
_this.openMultistageFilling = (_ref14 = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _ref14 !== void 0 ? _ref14 : false;
|
|
114
|
+
_this.xField = (_ref15 = props === null || props === void 0 ? void 0 : props.xField) !== null && _ref15 !== void 0 ? _ref15 : '';
|
|
115
|
+
_this.yField = (_ref16 = props === null || props === void 0 ? void 0 : props.yField) !== null && _ref16 !== void 0 ? _ref16 : '';
|
|
116
|
+
_this.seriesConfig = (_ref17 = props === null || props === void 0 ? void 0 : props.seriesConfig) !== null && _ref17 !== void 0 ? _ref17 : [];
|
|
116
117
|
return _this;
|
|
117
118
|
}
|
|
118
119
|
return BarChartProperty;
|
|
@@ -149,6 +149,10 @@ _define_property(LineChartControl, "setting", [
|
|
|
149
149
|
],
|
|
150
150
|
visible: true
|
|
151
151
|
},
|
|
152
|
+
{
|
|
153
|
+
key: 'label-position',
|
|
154
|
+
visible: true
|
|
155
|
+
},
|
|
152
156
|
{
|
|
153
157
|
key: 'common-setting',
|
|
154
158
|
visible: true,
|
|
@@ -190,10 +194,6 @@ _define_property(LineChartControl, "setting", [
|
|
|
190
194
|
key: 'chart-setting',
|
|
191
195
|
visible: true
|
|
192
196
|
},
|
|
193
|
-
{
|
|
194
|
-
key: 'label-position',
|
|
195
|
-
visible: true
|
|
196
|
-
},
|
|
197
197
|
{
|
|
198
198
|
key: 'chart-data-bind',
|
|
199
199
|
visible: true
|
|
@@ -90,37 +90,38 @@ var LineChartProperty = /*#__PURE__*/ function(Property) {
|
|
|
90
90
|
function LineChartProperty(props) {
|
|
91
91
|
_class_call_check(this, LineChartProperty);
|
|
92
92
|
var _this;
|
|
93
|
-
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12, _ref13, _ref14, _ref15, _ref16;
|
|
93
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12, _ref13, _ref14, _ref15, _ref16, _ref17;
|
|
94
94
|
var _props_multistageFilling;
|
|
95
95
|
_this = _call_super(this, LineChartProperty, [
|
|
96
96
|
props
|
|
97
|
-
]), _define_property(_this, "caption", void 0), _define_property(_this, "isHideCaption", void 0), _define_property(_this, "isShowCaptionTip", void 0), _define_property(_this, "captionTip", void 0), _define_property(_this, "captionSize", void 0), _define_property(_this, "captionColor", void 0), _define_property(_this, "isCaptionItalic", void 0), _define_property(_this, "captionFontWeight", void 0), _define_property(_this, "isHide", void 0), _define_property(_this, "template", void 0), _define_property(_this, "dataMode", void 0), _define_property(_this, "optionJson", void 0), _define_property(_this, "optionConfig", 'datasource'), _define_property(_this, "datasourceBind", void 0), _define_property(_this, "filterItemDatasourceBind", void 0), _define_property(_this, "multistageFilling", void 0), _define_property(_this, "defaultValue", void 0), _define_property(_this, "openMultistageFilling", void 0), _define_property(_this, "xField", void 0), _define_property(_this, "yField", void 0), _define_property(_this, "seriesConfig", void 0);
|
|
97
|
+
]), _define_property(_this, "caption", void 0), _define_property(_this, "isHideCaption", void 0), _define_property(_this, "isShowCaptionTip", void 0), _define_property(_this, "labelPosition", void 0), _define_property(_this, "captionTip", void 0), _define_property(_this, "captionSize", void 0), _define_property(_this, "captionColor", void 0), _define_property(_this, "isCaptionItalic", void 0), _define_property(_this, "captionFontWeight", void 0), _define_property(_this, "isHide", void 0), _define_property(_this, "template", void 0), _define_property(_this, "dataMode", void 0), _define_property(_this, "optionJson", void 0), _define_property(_this, "optionConfig", 'datasource'), _define_property(_this, "datasourceBind", void 0), _define_property(_this, "filterItemDatasourceBind", void 0), _define_property(_this, "multistageFilling", void 0), _define_property(_this, "defaultValue", void 0), _define_property(_this, "openMultistageFilling", void 0), _define_property(_this, "xField", void 0), _define_property(_this, "yField", void 0), _define_property(_this, "seriesConfig", void 0);
|
|
98
98
|
_this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : LineChartControl.controlName;
|
|
99
99
|
_this.isHideCaption = (_ref1 = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _ref1 !== void 0 ? _ref1 : false;
|
|
100
100
|
_this.isShowCaptionTip = (_ref2 = props === null || props === void 0 ? void 0 : props.isShowCaptionTip) !== null && _ref2 !== void 0 ? _ref2 : false;
|
|
101
|
-
_this.
|
|
101
|
+
_this.labelPosition = (_ref3 = props === null || props === void 0 ? void 0 : props.labelPosition) !== null && _ref3 !== void 0 ? _ref3 : 'top';
|
|
102
|
+
_this.captionTip = (_ref4 = props === null || props === void 0 ? void 0 : props.captionTip) !== null && _ref4 !== void 0 ? _ref4 : '';
|
|
102
103
|
_this.captionColor = (props === null || props === void 0 ? void 0 : props.captionColor) || '';
|
|
103
104
|
_this.captionSize = (props === null || props === void 0 ? void 0 : props.captionSize) || '';
|
|
104
105
|
_this.isCaptionItalic = (props === null || props === void 0 ? void 0 : props.isCaptionItalic) || false;
|
|
105
|
-
_this.captionFontWeight = (
|
|
106
|
-
_this.isHide = (
|
|
107
|
-
_this.template = (
|
|
108
|
-
_this.dataMode = (
|
|
109
|
-
_this.optionJson = (
|
|
110
|
-
_this.datasourceBind = new TreeDataSourceBind((
|
|
106
|
+
_this.captionFontWeight = (_ref5 = props === null || props === void 0 ? void 0 : props.captionFontWeight) !== null && _ref5 !== void 0 ? _ref5 : FONT_WEIGHT.NORMAL;
|
|
107
|
+
_this.isHide = (_ref6 = props === null || props === void 0 ? void 0 : props.isHide) !== null && _ref6 !== void 0 ? _ref6 : false;
|
|
108
|
+
_this.template = (_ref7 = props === null || props === void 0 ? void 0 : props.template) !== null && _ref7 !== void 0 ? _ref7 : "line-basic";
|
|
109
|
+
_this.dataMode = (_ref8 = props === null || props === void 0 ? void 0 : props.dataMode) !== null && _ref8 !== void 0 ? _ref8 : 'static';
|
|
110
|
+
_this.optionJson = (_ref9 = props === null || props === void 0 ? void 0 : props.optionJson) !== null && _ref9 !== void 0 ? _ref9 : '{}';
|
|
111
|
+
_this.datasourceBind = new TreeDataSourceBind((_ref10 = props === null || props === void 0 ? void 0 : props.datasourceBind) !== null && _ref10 !== void 0 ? _ref10 : {
|
|
111
112
|
attributes: LineChartControl.controlCustomAttributes
|
|
112
113
|
});
|
|
113
|
-
_this.filterItemDatasourceBind = new TreeDataSourceBind((
|
|
114
|
+
_this.filterItemDatasourceBind = new TreeDataSourceBind((_ref11 = props === null || props === void 0 ? void 0 : props.filterItemDatasourceBind) !== null && _ref11 !== void 0 ? _ref11 : {
|
|
114
115
|
attributes: LineChartControl.controlCustomAttributes
|
|
115
116
|
});
|
|
116
|
-
_this.multistageFilling = (
|
|
117
|
+
_this.multistageFilling = (_ref12 = props === null || props === void 0 ? void 0 : (_props_multistageFilling = props.multistageFilling) === null || _props_multistageFilling === void 0 ? void 0 : _props_multistageFilling.map(function(item) {
|
|
117
118
|
return new MultistageFillingItem(item);
|
|
118
|
-
})) !== null &&
|
|
119
|
-
_this.defaultValue = (
|
|
120
|
-
_this.openMultistageFilling = (
|
|
121
|
-
_this.xField = (
|
|
122
|
-
_this.yField = (
|
|
123
|
-
_this.seriesConfig = (
|
|
119
|
+
})) !== null && _ref12 !== void 0 ? _ref12 : [];
|
|
120
|
+
_this.defaultValue = (_ref13 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref13 !== void 0 ? _ref13 : [];
|
|
121
|
+
_this.openMultistageFilling = (_ref14 = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _ref14 !== void 0 ? _ref14 : false;
|
|
122
|
+
_this.xField = (_ref15 = props === null || props === void 0 ? void 0 : props.xField) !== null && _ref15 !== void 0 ? _ref15 : '';
|
|
123
|
+
_this.yField = (_ref16 = props === null || props === void 0 ? void 0 : props.yField) !== null && _ref16 !== void 0 ? _ref16 : '';
|
|
124
|
+
_this.seriesConfig = (_ref17 = props === null || props === void 0 ? void 0 : props.seriesConfig) !== null && _ref17 !== void 0 ? _ref17 : [];
|
|
124
125
|
return _this;
|
|
125
126
|
}
|
|
126
127
|
return LineChartProperty;
|
|
@@ -149,6 +149,10 @@ _define_property(PieChartControl, "setting", [
|
|
|
149
149
|
],
|
|
150
150
|
visible: true
|
|
151
151
|
},
|
|
152
|
+
{
|
|
153
|
+
key: 'chart-setting',
|
|
154
|
+
visible: true
|
|
155
|
+
},
|
|
152
156
|
{
|
|
153
157
|
key: 'common-setting',
|
|
154
158
|
visible: true,
|
|
@@ -190,10 +194,6 @@ _define_property(PieChartControl, "setting", [
|
|
|
190
194
|
}
|
|
191
195
|
]
|
|
192
196
|
},
|
|
193
|
-
{
|
|
194
|
-
key: 'chart-setting',
|
|
195
|
-
visible: true
|
|
196
|
-
},
|
|
197
197
|
{
|
|
198
198
|
key: 'label-position',
|
|
199
199
|
visible: true
|
|
@@ -82,35 +82,36 @@ var PieChartProperty = /*#__PURE__*/ function(Property) {
|
|
|
82
82
|
function PieChartProperty(props) {
|
|
83
83
|
_class_call_check(this, PieChartProperty);
|
|
84
84
|
var _this;
|
|
85
|
-
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12, _ref13, _ref14;
|
|
85
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12, _ref13, _ref14, _ref15;
|
|
86
86
|
var _props_multistageFilling;
|
|
87
87
|
_this = _call_super(this, PieChartProperty, [
|
|
88
88
|
props
|
|
89
|
-
]), _define_property(_this, "caption", void 0), _define_property(_this, "isHideCaption", void 0), _define_property(_this, "isShowCaptionTip", void 0), _define_property(_this, "captionTip", void 0), _define_property(_this, "captionSize", void 0), _define_property(_this, "captionColor", void 0), _define_property(_this, "isCaptionItalic", void 0), _define_property(_this, "captionFontWeight", void 0), _define_property(_this, "isHide", void 0), _define_property(_this, "template", void 0), _define_property(_this, "dataMode", void 0), _define_property(_this, "optionJson", void 0), _define_property(_this, "optionConfig", 'datasource'), _define_property(_this, "datasourceBind", void 0), _define_property(_this, "filterItemDatasourceBind", void 0), _define_property(_this, "multistageFilling", void 0), _define_property(_this, "defaultValue", void 0), _define_property(_this, "openMultistageFilling", void 0), _define_property(_this, "seriesConfig", void 0);
|
|
89
|
+
]), _define_property(_this, "caption", void 0), _define_property(_this, "isHideCaption", void 0), _define_property(_this, "isShowCaptionTip", void 0), _define_property(_this, "labelPosition", void 0), _define_property(_this, "captionTip", void 0), _define_property(_this, "captionSize", void 0), _define_property(_this, "captionColor", void 0), _define_property(_this, "isCaptionItalic", void 0), _define_property(_this, "captionFontWeight", void 0), _define_property(_this, "isHide", void 0), _define_property(_this, "template", void 0), _define_property(_this, "dataMode", void 0), _define_property(_this, "optionJson", void 0), _define_property(_this, "optionConfig", 'datasource'), _define_property(_this, "datasourceBind", void 0), _define_property(_this, "filterItemDatasourceBind", void 0), _define_property(_this, "multistageFilling", void 0), _define_property(_this, "defaultValue", void 0), _define_property(_this, "openMultistageFilling", void 0), _define_property(_this, "seriesConfig", void 0);
|
|
90
90
|
_this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : PieChartControl.controlName;
|
|
91
91
|
_this.isHideCaption = (_ref1 = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _ref1 !== void 0 ? _ref1 : false;
|
|
92
92
|
_this.isShowCaptionTip = (_ref2 = props === null || props === void 0 ? void 0 : props.isShowCaptionTip) !== null && _ref2 !== void 0 ? _ref2 : false;
|
|
93
|
-
_this.
|
|
93
|
+
_this.labelPosition = (_ref3 = props === null || props === void 0 ? void 0 : props.labelPosition) !== null && _ref3 !== void 0 ? _ref3 : 'top';
|
|
94
|
+
_this.captionTip = (_ref4 = props === null || props === void 0 ? void 0 : props.captionTip) !== null && _ref4 !== void 0 ? _ref4 : '';
|
|
94
95
|
_this.captionColor = (props === null || props === void 0 ? void 0 : props.captionColor) || '';
|
|
95
96
|
_this.captionSize = (props === null || props === void 0 ? void 0 : props.captionSize) || '';
|
|
96
97
|
_this.isCaptionItalic = (props === null || props === void 0 ? void 0 : props.isCaptionItalic) || false;
|
|
97
|
-
_this.captionFontWeight = (
|
|
98
|
-
_this.isHide = (
|
|
99
|
-
_this.template = (
|
|
100
|
-
_this.dataMode = (
|
|
101
|
-
_this.optionJson = (
|
|
102
|
-
_this.datasourceBind = new TreeDataSourceBind((
|
|
98
|
+
_this.captionFontWeight = (_ref5 = props === null || props === void 0 ? void 0 : props.captionFontWeight) !== null && _ref5 !== void 0 ? _ref5 : FONT_WEIGHT.NORMAL;
|
|
99
|
+
_this.isHide = (_ref6 = props === null || props === void 0 ? void 0 : props.isHide) !== null && _ref6 !== void 0 ? _ref6 : false;
|
|
100
|
+
_this.template = (_ref7 = props === null || props === void 0 ? void 0 : props.template) !== null && _ref7 !== void 0 ? _ref7 : 'pie-rounded-ring';
|
|
101
|
+
_this.dataMode = (_ref8 = props === null || props === void 0 ? void 0 : props.dataMode) !== null && _ref8 !== void 0 ? _ref8 : 'static';
|
|
102
|
+
_this.optionJson = (_ref9 = props === null || props === void 0 ? void 0 : props.optionJson) !== null && _ref9 !== void 0 ? _ref9 : '{}';
|
|
103
|
+
_this.datasourceBind = new TreeDataSourceBind((_ref10 = props === null || props === void 0 ? void 0 : props.datasourceBind) !== null && _ref10 !== void 0 ? _ref10 : {
|
|
103
104
|
attributes: PieChartControl.controlCustomAttributes
|
|
104
105
|
});
|
|
105
|
-
_this.filterItemDatasourceBind = new TreeDataSourceBind((
|
|
106
|
+
_this.filterItemDatasourceBind = new TreeDataSourceBind((_ref11 = props === null || props === void 0 ? void 0 : props.filterItemDatasourceBind) !== null && _ref11 !== void 0 ? _ref11 : {
|
|
106
107
|
attributes: PieChartControl.controlCustomAttributes
|
|
107
108
|
});
|
|
108
|
-
_this.multistageFilling = (
|
|
109
|
+
_this.multistageFilling = (_ref12 = props === null || props === void 0 ? void 0 : (_props_multistageFilling = props.multistageFilling) === null || _props_multistageFilling === void 0 ? void 0 : _props_multistageFilling.map(function(item) {
|
|
109
110
|
return new MultistageFillingItem(item);
|
|
110
|
-
})) !== null &&
|
|
111
|
-
_this.defaultValue = (
|
|
112
|
-
_this.openMultistageFilling = (
|
|
113
|
-
_this.seriesConfig = (
|
|
111
|
+
})) !== null && _ref12 !== void 0 ? _ref12 : [];
|
|
112
|
+
_this.defaultValue = (_ref13 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref13 !== void 0 ? _ref13 : [];
|
|
113
|
+
_this.openMultistageFilling = (_ref14 = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _ref14 !== void 0 ? _ref14 : false;
|
|
114
|
+
_this.seriesConfig = (_ref15 = props === null || props === void 0 ? void 0 : props.seriesConfig) !== null && _ref15 !== void 0 ? _ref15 : [];
|
|
114
115
|
return _this;
|
|
115
116
|
}
|
|
116
117
|
return PieChartProperty;
|