evui 3.4.122 → 3.4.124

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evui",
3
- "version": "3.4.122",
3
+ "version": "3.4.124",
4
4
  "description": "A EXEM Library project",
5
5
  "author": "exem <dev_client@ex-em.com>",
6
6
  "license": "MIT",
@@ -265,7 +265,7 @@ class EvChart {
265
265
  * @returns {undefined}
266
266
  */
267
267
  collectDuplicatePoints(duple, chartTypeSet) {
268
- const isReverseOrder = !!this.options.reverse;
268
+ const isReverseOrder = !!this.options.seriesReverse;
269
269
  for (
270
270
  let jx = isReverseOrder ? chartTypeSet.length - 1 : 0;
271
271
  isReverseOrder ? jx >= 0 : jx < chartTypeSet.length;
@@ -483,10 +483,7 @@ class HeatMap {
483
483
  const y1 = yp;
484
484
  const y2 = yp + h;
485
485
 
486
- return ((x1 >= xsp && x1 <= xep) && (y1 >= ysp && y1 <= yep))
487
- || ((x1 >= xsp && x1 <= xep) && (y2 >= ysp && y2 <= yep))
488
- || ((x2 >= xsp && x2 <= xep) && (y1 >= ysp && y1 <= yep))
489
- || ((x2 >= xsp && x2 <= xep) && (y2 >= ysp && y2 <= yep));
486
+ return ((x1 >= xsp && x2 <= xep) && (y1 >= ysp && y2 <= yep));
490
487
  });
491
488
  }
492
489
 
@@ -695,8 +692,8 @@ class HeatMap {
695
692
  y: { steps: yCurrentCount, min: yMin, max: yMax },
696
693
  } = this.currentLabelInfo;
697
694
 
698
- const labelXCount = xCurrentCount || labelX.x.length;
699
- const labelYCount = yCurrentCount || labelY.y.length;
695
+ const labelXCount = xCurrentCount || labelX.length;
696
+ const labelYCount = yCurrentCount || labelY.length;
700
697
  const gapX = (x2 - x1) / labelXCount;
701
698
  const gapY = (y2 - y1) / labelYCount;
702
699
 
@@ -895,8 +895,8 @@ export default {
895
895
  );
896
896
  watch(
897
897
  () => [props.width, props.height, props.option.columnWidth],
898
- (value) => {
899
- resizeInfo.columnWidth = value[3];
898
+ () => {
899
+ if (props.option.columnWidth != null) resizeInfo.columnWidth = props.option.columnWidth;
900
900
  stores.orderedColumns.map((column) => {
901
901
  const item = column;
902
902