@byteluck-fe/model-driven-controls 7.0.0-props.97 → 7.0.0-props.99

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.
@@ -127,6 +127,9 @@ var BarChartControl = /*#__PURE__*/ function(DesignerControl) {
127
127
  ]);
128
128
  return BarChartControl;
129
129
  }(DesignerControl);
130
+ _define_property(BarChartControl, "controlEventKeys", [
131
+ 'on_chart_change'
132
+ ]);
130
133
  _define_property(BarChartControl, "setting", [
131
134
  {
132
135
  key: 'caption',
@@ -127,6 +127,9 @@ var PieChartControl = /*#__PURE__*/ function(DesignerControl) {
127
127
  ]);
128
128
  return PieChartControl;
129
129
  }(DesignerControl);
130
+ _define_property(PieChartControl, "controlEventKeys", [
131
+ 'on_chart_change'
132
+ ]);
130
133
  _define_property(PieChartControl, "setting", [
131
134
  {
132
135
  key: 'caption',
@@ -81,11 +81,11 @@ var PieChartProperty = /*#__PURE__*/ function(Property) {
81
81
  function PieChartProperty(props) {
82
82
  _class_call_check(this, PieChartProperty);
83
83
  var _this;
84
- var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12, _ref13, _ref14, _ref15, _ref16, _ref17, _ref18;
84
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12, _ref13, _ref14, _ref15, _ref16;
85
85
  var _props_multistageFilling;
86
86
  _this = _call_super(this, PieChartProperty, [
87
87
  props
88
- ]), _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, "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, "yFields", void 0), _define_property(_this, "groupField", void 0), _define_property(_this, "nameField", void 0), _define_property(_this, "valueField", void 0);
88
+ ]), _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, "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, "yFields", void 0), _define_property(_this, "seriesConfig", void 0);
89
89
  _this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : PieChartControl.controlName;
90
90
  _this.isHideCaption = (_ref1 = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _ref1 !== void 0 ? _ref1 : false;
91
91
  _this.isShowCaptionTip = (_ref2 = props === null || props === void 0 ? void 0 : props.isShowCaptionTip) !== null && _ref2 !== void 0 ? _ref2 : false;
@@ -108,9 +108,7 @@ var PieChartProperty = /*#__PURE__*/ function(Property) {
108
108
  _this.xField = (_ref13 = props === null || props === void 0 ? void 0 : props.xField) !== null && _ref13 !== void 0 ? _ref13 : '';
109
109
  _this.yField = (_ref14 = props === null || props === void 0 ? void 0 : props.yField) !== null && _ref14 !== void 0 ? _ref14 : '';
110
110
  _this.yFields = (_ref15 = props === null || props === void 0 ? void 0 : props.yFields) !== null && _ref15 !== void 0 ? _ref15 : [];
111
- _this.groupField = (_ref16 = props === null || props === void 0 ? void 0 : props.groupField) !== null && _ref16 !== void 0 ? _ref16 : '';
112
- _this.nameField = (_ref17 = props === null || props === void 0 ? void 0 : props.nameField) !== null && _ref17 !== void 0 ? _ref17 : '';
113
- _this.valueField = (_ref18 = props === null || props === void 0 ? void 0 : props.valueField) !== null && _ref18 !== void 0 ? _ref18 : '';
111
+ _this.seriesConfig = (_ref16 = props === null || props === void 0 ? void 0 : props.seriesConfig) !== null && _ref16 !== void 0 ? _ref16 : [];
114
112
  return _this;
115
113
  }
116
114
  return PieChartProperty;