@leankylin-sheet/core 5.1.2 → 5.1.4

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
@@ -57117,7 +57117,7 @@ function handleCellDrop(ctx, globalCache, e, container) {
57117
57117
  var col_location = colLocation(x, ctx.visibledatacolumn);
57118
57118
  var col_pre = col_location[0];
57119
57119
  var col_index = col_location[2];
57120
- var currentCellValue = JSON.parse(JSON.stringify((_flowdata$row_index4 = flowdata[row_index]) === null || _flowdata$row_index4 === void 0 ? void 0 : _flowdata$row_index4[col_index]));
57120
+ var currentCellValue = JSON.parse(JSON.stringify(((_flowdata$row_index4 = flowdata[row_index]) === null || _flowdata$row_index4 === void 0 ? void 0 : _flowdata$row_index4[col_index]) || null));
57121
57121
  var box = document.querySelector(".leankylin-cell-area");
57122
57122
  if (box) {
57123
57123
  var _currentCellValue$cu;
@@ -57238,7 +57238,7 @@ function handleCellAreaMouseMove(ctx, globalCache, e, container) {
57238
57238
  var col_location = colLocation(x, ctx.visibledatacolumn);
57239
57239
  var col_pre = col_location[0];
57240
57240
  var col_index = col_location[2];
57241
- var currentCellValue = JSON.parse(JSON.stringify((_flowdata$row_index6 = flowdata[row_index]) === null || _flowdata$row_index6 === void 0 ? void 0 : _flowdata$row_index6[col_index]));
57241
+ var currentCellValue = JSON.parse(JSON.stringify(((_flowdata$row_index6 = flowdata[row_index]) === null || _flowdata$row_index6 === void 0 ? void 0 : _flowdata$row_index6[col_index]) || null));
57242
57242
  var box = document.querySelector(".leankylin-cell-area");
57243
57243
  if (box) {
57244
57244
  var _currentCellValue$cu3;
package/dist/index.js CHANGED
@@ -57127,7 +57127,7 @@ function handleCellDrop(ctx, globalCache, e, container) {
57127
57127
  var col_location = colLocation(x, ctx.visibledatacolumn);
57128
57128
  var col_pre = col_location[0];
57129
57129
  var col_index = col_location[2];
57130
- var currentCellValue = JSON.parse(JSON.stringify((_flowdata$row_index4 = flowdata[row_index]) === null || _flowdata$row_index4 === void 0 ? void 0 : _flowdata$row_index4[col_index]));
57130
+ var currentCellValue = JSON.parse(JSON.stringify(((_flowdata$row_index4 = flowdata[row_index]) === null || _flowdata$row_index4 === void 0 ? void 0 : _flowdata$row_index4[col_index]) || null));
57131
57131
  var box = document.querySelector(".leankylin-cell-area");
57132
57132
  if (box) {
57133
57133
  var _currentCellValue$cu;
@@ -57248,7 +57248,7 @@ function handleCellAreaMouseMove(ctx, globalCache, e, container) {
57248
57248
  var col_location = colLocation(x, ctx.visibledatacolumn);
57249
57249
  var col_pre = col_location[0];
57250
57250
  var col_index = col_location[2];
57251
- var currentCellValue = JSON.parse(JSON.stringify((_flowdata$row_index6 = flowdata[row_index]) === null || _flowdata$row_index6 === void 0 ? void 0 : _flowdata$row_index6[col_index]));
57251
+ var currentCellValue = JSON.parse(JSON.stringify(((_flowdata$row_index6 = flowdata[row_index]) === null || _flowdata$row_index6 === void 0 ? void 0 : _flowdata$row_index6[col_index]) || null));
57252
57252
  var box = document.querySelector(".leankylin-cell-area");
57253
57253
  if (box) {
57254
57254
  var _currentCellValue$cu3;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leankylin-sheet/core",
3
- "version": "5.1.2",
3
+ "version": "5.1.4",
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.1.2",
16
+ "@leankylin-sheet/formula-parser": "5.1.4",
17
17
  "dayjs": "^1.11.0",
18
18
  "immer": "^9.0.12",
19
19
  "lodash": "^4.17.21",