tvcharts 0.8.88 → 0.8.89

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.
@@ -410,6 +410,9 @@ var AlarmView = /** @class */function (_super) {
410
410
  // }
411
411
  var selectId = this.model.get('selectedId');
412
412
  if (selectId) {
413
+ if (this.mouseOverId) {
414
+ this.mouseOverId = '';
415
+ }
413
416
  this.model.setSelectedId('');
414
417
  this._reCreate(selectId);
415
418
  }
@@ -420,8 +423,9 @@ var AlarmView = /** @class */function (_super) {
420
423
  eventTool.stop(e.event);
421
424
  this.dragAlarmId = id;
422
425
  var selectId = this.model.get('selectedId');
423
- if (selectId && selectId !== id) {
424
- this._reCreate(selectId);
426
+ if (selectId && selectId !== id || !this.mouseOverId) {
427
+ !this.mouseOverId && (this.mouseOverId = id);
428
+ this._reCreate(selectId || id);
425
429
  }
426
430
  this.model.setSelectedId(id);
427
431
  // this.downStop = true;
@@ -242,7 +242,7 @@ var RoamController = /** @class */function (_super) {
242
242
  if (interactionMutex.isTaken(this._zr, 'globalPan')) {
243
243
  return;
244
244
  }
245
- var scale = e.pinchScale > 1 ? 1.05 : 1 / 1.05;
245
+ var scale = e.pinchScale > 1 ? 1.03 : 1 / 1.03;
246
246
  // const scale = e.pinchScale;
247
247
  // if (e.pinchScale === 1) {
248
248
  // console.log('%c [ e ]-316', 'font-size:13px; background:pink; color:#bf2c9f;', e)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tvcharts",
3
- "version": "0.8.88",
3
+ "version": "0.8.89",
4
4
  "main": "dist/echarts.js",
5
5
  "module": "index.js",
6
6
  "jsdelivr": "dist/echarts.min.js",
@@ -1,10 +1,3 @@
1
- /**
2
- * Describes a weight of tick mark, i.e. a part of a time that changed since previous time.
3
- * Note that you can use any timezone to calculate this value, it is unnecessary to use UTC.
4
- *
5
- * @example Between 2020-01-01 and 2020-01-02 there is a day of difference, i.e. for 2020-01-02 weight would be a day.
6
- * @example Between 2020-01-01 and 2020-02-02 there is a month of difference, i.e. for 2020-02-02 weight would be a month.
7
- */
8
1
  export declare const enum TickMarkWeight {
9
2
  LessThanSecond = 0,
10
3
  Second = 10,