vxe-gantt 4.1.14 → 4.1.16

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/lib/index.umd.js CHANGED
@@ -2785,7 +2785,7 @@ const {
2785
2785
  setConfig,
2786
2786
  setIcon
2787
2787
  } = core_.VxeUI;
2788
- core_.VxeUI.ganttVersion = "4.1.14";
2788
+ core_.VxeUI.ganttVersion = "4.1.16";
2789
2789
  const ymdFormat = 'yyyy-MM-dd';
2790
2790
  const ymdhmsFormat = 'yyyy-MM-dd HH:mm:ss';
2791
2791
  setConfig({
@@ -2894,7 +2894,7 @@ setIcon({
2894
2894
  const {
2895
2895
  log
2896
2896
  } = core_.VxeUI;
2897
- const version = `gantt v${"4.1.14"}`;
2897
+ const version = `gantt v${"4.1.16"}`;
2898
2898
  const warnLog = log.create('warn', version);
2899
2899
  const errLog = log.create('error', version);
2900
2900
  ;// ./packages/ui/src/depend.ts
@@ -4003,7 +4003,7 @@ const gantt_body_viewType = 'body';
4003
4003
  _rowIndex
4004
4004
  };
4005
4005
  return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('td', {
4006
- key: $columnIndex,
4006
+ key: cellClassName || cellStyle ? field : $columnIndex,
4007
4007
  class: ['vxe-gantt-view--body-column', {
4008
4008
  'is--now': showNowLine && todayValue === field
4009
4009
  }, getClass(cellClassName, ctParams)],
@@ -4376,7 +4376,9 @@ const maxYHeight = 5e6;
4376
4376
  });
4377
4377
  const internalData = createInternalData();
4378
4378
  const refMaps = {
4379
- refElem
4379
+ refElem,
4380
+ refScrollXHandleElem,
4381
+ refScrollYHandleElem
4380
4382
  };
4381
4383
  const computeScaleDateList = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
4382
4384
  const {
@@ -4725,7 +4727,7 @@ const maxYHeight = 5e6;
4725
4727
  const offsetLeftSize = (indexMaps[startStr] || 0) + subtract;
4726
4728
  return {
4727
4729
  offsetLeftSize,
4728
- offsetWidthSize: (indexMaps[endStr] || 0) - offsetLeftSize + addSize + 1
4730
+ offsetWidthSize: (indexMaps[endStr] || 0) - offsetLeftSize + addSize
4729
4731
  };
4730
4732
  };
4731
4733
  }
@@ -4751,7 +4753,7 @@ const maxYHeight = 5e6;
4751
4753
  const offsetLeftSize = (indexMaps[startStr] || 0) + subtract;
4752
4754
  return {
4753
4755
  offsetLeftSize,
4754
- offsetWidthSize: (indexMaps[endStr] || 0) - offsetLeftSize + addSize + 1
4756
+ offsetWidthSize: (indexMaps[endStr] || 0) - offsetLeftSize + addSize
4755
4757
  };
4756
4758
  };
4757
4759
  }
@@ -4777,7 +4779,7 @@ const maxYHeight = 5e6;
4777
4779
  const offsetLeftSize = (indexMaps[startStr] || 0) + subtract;
4778
4780
  return {
4779
4781
  offsetLeftSize,
4780
- offsetWidthSize: (indexMaps[endStr] || 0) - offsetLeftSize + addSize + 1
4782
+ offsetWidthSize: (indexMaps[endStr] || 0) - offsetLeftSize + addSize
4781
4783
  };
4782
4784
  };
4783
4785
  }
@@ -4809,7 +4811,7 @@ const maxYHeight = 5e6;
4809
4811
  const offsetLeftSize = (indexMaps[startStr] || 0) + subtract;
4810
4812
  return {
4811
4813
  offsetLeftSize,
4812
- offsetWidthSize: (indexMaps[endStr] || 0) - offsetLeftSize + addSize + 1
4814
+ offsetWidthSize: (indexMaps[endStr] || 0) - offsetLeftSize + addSize
4813
4815
  };
4814
4816
  };
4815
4817
  }
@@ -4862,7 +4864,7 @@ const maxYHeight = 5e6;
4862
4864
  const offsetLeftSize = (indexMaps[startStr] || 0) + subtract;
4863
4865
  return {
4864
4866
  offsetLeftSize,
4865
- offsetWidthSize: (indexMaps[endStr] || 0) - offsetLeftSize + addSize + 1
4867
+ offsetWidthSize: (indexMaps[endStr] || 0) - offsetLeftSize + addSize
4866
4868
  };
4867
4869
  };
4868
4870
  }
@@ -4888,7 +4890,7 @@ const maxYHeight = 5e6;
4888
4890
  const offsetLeftSize = (indexMaps[startStr] || 0) + subtract;
4889
4891
  return {
4890
4892
  offsetLeftSize,
4891
- offsetWidthSize: (indexMaps[endStr] || 0) - offsetLeftSize + addSize + 1
4893
+ offsetWidthSize: (indexMaps[endStr] || 0) - offsetLeftSize + addSize
4892
4894
  };
4893
4895
  };
4894
4896
  }
@@ -4902,7 +4904,7 @@ const maxYHeight = 5e6;
4902
4904
  let offsetWidthSize = 0;
4903
4905
  if (minViewDate) {
4904
4906
  offsetLeftSize = (startDate.getTime() - minViewDate.getTime()) / gapTime;
4905
- offsetWidthSize = (endDate.getTime() - startDate.getTime()) / gapTime + 1;
4907
+ offsetWidthSize = (endDate.getTime() - startDate.getTime()) / gapTime;
4906
4908
  }
4907
4909
  return {
4908
4910
  offsetLeftSize,
@@ -7980,6 +7982,12 @@ function getViewTypeLevel(type) {
7980
7982
  const {
7981
7983
  barTipStore
7982
7984
  } = reactData;
7985
+ const {
7986
+ dragBarRow
7987
+ } = internalData;
7988
+ if (dragBarRow) {
7989
+ return;
7990
+ }
7983
7991
  const taskBarTooltipOpts = computeTaskBarTooltipOpts.value;
7984
7992
  const titleField = computeTitleField.value;
7985
7993
  const {