@leankylin-sheet/core 5.2.50 → 5.2.51

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/dist/index.esm.js CHANGED
@@ -52395,7 +52395,7 @@ function getFirstNonEmptyRowBelow(flowdata, col, startRow) {
52395
52395
  for (var r = startRow; r < flowdata.length; r += 1) {
52396
52396
  var _flowdata$r2;
52397
52397
  var cell = (_flowdata$r2 = flowdata[r]) === null || _flowdata$r2 === void 0 ? void 0 : _flowdata$r2[col];
52398
- if (cell != null && cell.v != null) {
52398
+ if (cell != null && cell.v != null && cell.v !== "") {
52399
52399
  return r;
52400
52400
  }
52401
52401
  }
@@ -52406,7 +52406,7 @@ function getLastConsecutiveNonEmptyRow(flowdata, col, startRow) {
52406
52406
  for (var r = startRow; r < flowdata.length; r += 1) {
52407
52407
  var _flowdata$r3;
52408
52408
  var cell = (_flowdata$r3 = flowdata[r]) === null || _flowdata$r3 === void 0 ? void 0 : _flowdata$r3[col];
52409
- if (cell != null && cell.v != null) {
52409
+ if (cell != null && cell.v != null && cell.v !== "") {
52410
52410
  endRow = r;
52411
52411
  } else {
52412
52412
  break;
package/dist/index.js CHANGED
@@ -52405,7 +52405,7 @@ function getFirstNonEmptyRowBelow(flowdata, col, startRow) {
52405
52405
  for (var r = startRow; r < flowdata.length; r += 1) {
52406
52406
  var _flowdata$r2;
52407
52407
  var cell = (_flowdata$r2 = flowdata[r]) === null || _flowdata$r2 === void 0 ? void 0 : _flowdata$r2[col];
52408
- if (cell != null && cell.v != null) {
52408
+ if (cell != null && cell.v != null && cell.v !== "") {
52409
52409
  return r;
52410
52410
  }
52411
52411
  }
@@ -52416,7 +52416,7 @@ function getLastConsecutiveNonEmptyRow(flowdata, col, startRow) {
52416
52416
  for (var r = startRow; r < flowdata.length; r += 1) {
52417
52417
  var _flowdata$r3;
52418
52418
  var cell = (_flowdata$r3 = flowdata[r]) === null || _flowdata$r3 === void 0 ? void 0 : _flowdata$r3[col];
52419
- if (cell != null && cell.v != null) {
52419
+ if (cell != null && cell.v != null && cell.v !== "") {
52420
52420
  endRow = r;
52421
52421
  } else {
52422
52422
  break;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leankylin-sheet/core",
3
- "version": "5.2.50",
3
+ "version": "5.2.51",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.esm.js",
6
6
  "typings": "dist/index.d.ts",
@@ -13,7 +13,7 @@
13
13
  "build": "father-build"
14
14
  },
15
15
  "dependencies": {
16
- "@leankylin-sheet/formula-parser": "5.2.50",
16
+ "@leankylin-sheet/formula-parser": "5.2.51",
17
17
  "dayjs": "^1.11.0",
18
18
  "immer": "^9.0.12",
19
19
  "lodash": "^4.17.21",