@visactor/vchart 2.0.4-alpha.2 → 2.0.4-alpha.3

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/build/index.es.js CHANGED
@@ -49702,21 +49702,13 @@ class EventDispatcher {
49702
49702
  }
49703
49703
  return true;
49704
49704
  }
49705
- _prepareParams(filter, params) {
49706
- var _a, _b, _c;
49707
- if (filter.markName && params.mark) {
49708
- const markGraphic = (_c = (_b = (_a = params.mark).getGraphics) === null || _b === void 0 ? void 0 : _b.call(_a)) === null || _c === void 0 ? void 0 : _c[0];
49709
- return Object.assign(Object.assign({}, params), { item: markGraphic, datum: getDatumOfGraphic(markGraphic) });
49710
- }
49711
- return Object.assign({}, params);
49712
- }
49713
49705
  _invoke(handlers, type, params) {
49714
49706
  const result = handlers.map(handler => {
49715
49707
  var _a, _b, _c;
49716
49708
  const filter = handler.filter;
49717
49709
  if (!handler.prevented && (!handler.query || this._filter(filter, type, params))) {
49718
49710
  const callback = handler.wrappedCallback || handler.callback;
49719
- const stopBubble = callback.call(null, this._prepareParams(filter, params));
49711
+ const stopBubble = callback.call(null, Object.assign({}, params));
49720
49712
  const doStopBubble = stopBubble !== null && stopBubble !== void 0 ? stopBubble : (_a = handler.query) === null || _a === void 0 ? void 0 : _a.consume;
49721
49713
  if (doStopBubble) {
49722
49714
  (_b = params.event) === null || _b === void 0 ? void 0 : _b.stopPropagation();
@@ -56926,7 +56918,7 @@ const lookup = (data, opt) => {
56926
56918
  });
56927
56919
  };
56928
56920
 
56929
- const version = "2.0.4-alpha.2";
56921
+ const version = "2.0.4-alpha.3";
56930
56922
 
56931
56923
  const addVChartProperty = (data, op) => {
56932
56924
  const context = op.beforeCall();
package/build/index.js CHANGED
@@ -49708,21 +49708,13 @@
49708
49708
  }
49709
49709
  return true;
49710
49710
  }
49711
- _prepareParams(filter, params) {
49712
- var _a, _b, _c;
49713
- if (filter.markName && params.mark) {
49714
- const markGraphic = (_c = (_b = (_a = params.mark).getGraphics) === null || _b === void 0 ? void 0 : _b.call(_a)) === null || _c === void 0 ? void 0 : _c[0];
49715
- return Object.assign(Object.assign({}, params), { item: markGraphic, datum: getDatumOfGraphic(markGraphic) });
49716
- }
49717
- return Object.assign({}, params);
49718
- }
49719
49711
  _invoke(handlers, type, params) {
49720
49712
  const result = handlers.map(handler => {
49721
49713
  var _a, _b, _c;
49722
49714
  const filter = handler.filter;
49723
49715
  if (!handler.prevented && (!handler.query || this._filter(filter, type, params))) {
49724
49716
  const callback = handler.wrappedCallback || handler.callback;
49725
- const stopBubble = callback.call(null, this._prepareParams(filter, params));
49717
+ const stopBubble = callback.call(null, Object.assign({}, params));
49726
49718
  const doStopBubble = stopBubble !== null && stopBubble !== void 0 ? stopBubble : (_a = handler.query) === null || _a === void 0 ? void 0 : _a.consume;
49727
49719
  if (doStopBubble) {
49728
49720
  (_b = params.event) === null || _b === void 0 ? void 0 : _b.stopPropagation();
@@ -56932,7 +56924,7 @@
56932
56924
  });
56933
56925
  };
56934
56926
 
56935
- const version = "2.0.4-alpha.2";
56927
+ const version = "2.0.4-alpha.3";
56936
56928
 
56937
56929
  const addVChartProperty = (data, op) => {
56938
56930
  const context = op.beforeCall();