evui 3.3.44 → 3.3.45

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.
@@ -7972,7 +7972,7 @@ $({ target: 'Number', stat: true }, {
7972
7972
  /***/ "9224":
7973
7973
  /***/ (function(module) {
7974
7974
 
7975
- module.exports = JSON.parse("{\"a\":\"3.3.44\"}");
7975
+ module.exports = JSON.parse("{\"a\":\"3.3.45\"}");
7976
7976
 
7977
7977
  /***/ }),
7978
7978
 
@@ -33301,13 +33301,15 @@ var modules = {
33301
33301
  }
33302
33302
 
33303
33303
  itemPosition = dataIndex.map(function (idx) {
33304
+ var _dataInfo$xp, _dataInfo$yp;
33305
+
33304
33306
  var dataInfo = _this6.getDataByValues(firShowSeriesID, idx);
33305
33307
 
33306
- if (!dataInfo || !(dataInfo !== null && dataInfo !== void 0 && dataInfo.xp) || !(dataInfo !== null && dataInfo !== void 0 && dataInfo.yp)) {
33308
+ if (!dataInfo) {
33307
33309
  return null;
33308
33310
  }
33309
33311
 
33310
- return _this6.getItemByPosition([dataInfo.xp, dataInfo.yp], useApproximate);
33312
+ return _this6.getItemByPosition([(_dataInfo$xp = dataInfo === null || dataInfo === void 0 ? void 0 : dataInfo.xp) !== null && _dataInfo$xp !== void 0 ? _dataInfo$xp : 0, (_dataInfo$yp = dataInfo === null || dataInfo === void 0 ? void 0 : dataInfo.yp) !== null && _dataInfo$yp !== void 0 ? _dataInfo$yp : 0], useApproximate);
33311
33313
  });
33312
33314
  }
33313
33315
 
@@ -43362,9 +43364,13 @@ var element_tip_modules = {
43362
43364
  var maxArgs;
43363
43365
  var isExistSelectedLabel;
43364
43366
 
43365
- var executeDrawTip = function executeDrawTip(tipOpt) {
43367
+ if (labelTipOpt.use && labelTipOpt.showTip) {
43368
+ isExistSelectedLabel = this.drawLabelTip();
43369
+ }
43370
+
43371
+ var executeDrawIndicator = function executeDrawIndicator(tipOpt) {
43366
43372
  tipLocationInfo.forEach(function (tipInfo) {
43367
- if (tipInfo && !isExistSelectedLabel) {
43373
+ if (tipInfo) {
43368
43374
  var seriesInfo = _this.seriesList[tipInfo === null || tipInfo === void 0 ? void 0 : tipInfo.sId];
43369
43375
 
43370
43376
  if (!(seriesInfo !== null && seriesInfo !== void 0 && seriesInfo.show)) {
@@ -43414,11 +43420,11 @@ var element_tip_modules = {
43414
43420
  });
43415
43421
  };
43416
43422
 
43417
- if (tipLocationInfo) {
43423
+ if (tipLocationInfo && !isExistSelectedLabel) {
43418
43424
  if (selTipOpt.use) {
43419
- executeDrawTip(selTipOpt);
43420
- } else if (labelTipOpt.use) {
43421
- executeDrawTip(labelTipOpt);
43425
+ executeDrawIndicator(selTipOpt);
43426
+ } else if (labelTipOpt.use && opt.type === 'line') {
43427
+ executeDrawIndicator(labelTipOpt);
43422
43428
  }
43423
43429
  }
43424
43430