office-viewer 0.3.8 → 0.3.9

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.
@@ -114,7 +114,7 @@ function getViewPointData(getSheetRowData, getMergeCells, getRowHeight, getColWi
114
114
  for (var i = startRow; i < rowIndex; i++) {
115
115
  yOffset += getRowHeight(i);
116
116
  }
117
- y == yOffset;
117
+ y -= yOffset;
118
118
  var value_1 = getSheetRowData(startRow)[startCol];
119
119
  displayData.push({
120
120
  x: x,
@@ -3,4 +3,4 @@
3
3
  */
4
4
  import { CT_SortState } from '../../../../openxml/ExcelTypes';
5
5
  import { RangeRef } from '../../../types/RangeRef';
6
- export declare function getColumnSortOrder(colIndex: number, rangeRef: RangeRef, sortState?: CT_SortState): "none" | "desc" | "asc";
6
+ export declare function getColumnSortOrder(colIndex: number, rangeRef: RangeRef, sortState?: CT_SortState): "desc" | "none" | "asc";
@@ -118,7 +118,7 @@ function getViewPointData(getSheetRowData, getMergeCells, getRowHeight, getColWi
118
118
  for (var i = startRow; i < rowIndex; i++) {
119
119
  yOffset += getRowHeight(i);
120
120
  }
121
- y == yOffset;
121
+ y -= yOffset;
122
122
  var value_1 = getSheetRowData(startRow)[startCol];
123
123
  displayData.push({
124
124
  x: x,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "office-viewer",
3
- "version": "0.3.8",
3
+ "version": "0.3.9",
4
4
  "description": "office 文档在线预览",
5
5
  "main": "lib/index.js",
6
6
  "module": "esm/index.js",