@leankylin-sheet/core 5.1.6 → 5.1.8

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
@@ -47954,6 +47954,7 @@ function updateFormatCell(ctx, d, attr, foucsStatus, row_st, row_ed, col_st, col
47954
47954
  continue;
47955
47955
  }
47956
47956
  for (var c = col_st; c <= col_ed; c += 1) {
47957
+ var _foucsStatus;
47957
47958
  var cell = d[r][c];
47958
47959
  var value = void 0;
47959
47960
  if (_.isPlainObject(cell)) {
@@ -47966,7 +47967,9 @@ function updateFormatCell(ctx, d, attr, foucsStatus, row_st, row_ed, col_st, col
47966
47967
  }
47967
47968
  var mask = update(foucsStatus, value);
47968
47969
  var type = "n";
47969
- if (is_date(foucsStatus) || foucsStatus === 14 || foucsStatus === 15 || foucsStatus === 16 || foucsStatus === 17 || foucsStatus === 18 || foucsStatus === 19 || foucsStatus === 20 || foucsStatus === 21 || foucsStatus === 22 || foucsStatus === 45 || foucsStatus === 46 || foucsStatus === 47) {
47970
+ if ((_foucsStatus = foucsStatus) === null || _foucsStatus === void 0 ? void 0 : _foucsStatus.includes("leanky_")) {
47971
+ type = "n";
47972
+ } else if (is_date(foucsStatus) || foucsStatus === 14 || foucsStatus === 15 || foucsStatus === 16 || foucsStatus === 17 || foucsStatus === 18 || foucsStatus === 19 || foucsStatus === 20 || foucsStatus === 21 || foucsStatus === 22 || foucsStatus === 45 || foucsStatus === 46 || foucsStatus === 47) {
47970
47973
  type = "d";
47971
47974
  } else if (foucsStatus === "@" || foucsStatus === 49) {
47972
47975
  type = "s";
package/dist/index.js CHANGED
@@ -47964,6 +47964,7 @@ function updateFormatCell(ctx, d, attr, foucsStatus, row_st, row_ed, col_st, col
47964
47964
  continue;
47965
47965
  }
47966
47966
  for (var c = col_st; c <= col_ed; c += 1) {
47967
+ var _foucsStatus;
47967
47968
  var cell = d[r][c];
47968
47969
  var value = void 0;
47969
47970
  if (___default['default'].isPlainObject(cell)) {
@@ -47976,7 +47977,9 @@ function updateFormatCell(ctx, d, attr, foucsStatus, row_st, row_ed, col_st, col
47976
47977
  }
47977
47978
  var mask = update(foucsStatus, value);
47978
47979
  var type = "n";
47979
- if (is_date(foucsStatus) || foucsStatus === 14 || foucsStatus === 15 || foucsStatus === 16 || foucsStatus === 17 || foucsStatus === 18 || foucsStatus === 19 || foucsStatus === 20 || foucsStatus === 21 || foucsStatus === 22 || foucsStatus === 45 || foucsStatus === 46 || foucsStatus === 47) {
47980
+ if ((_foucsStatus = foucsStatus) === null || _foucsStatus === void 0 ? void 0 : _foucsStatus.includes("leanky_")) {
47981
+ type = "n";
47982
+ } else if (is_date(foucsStatus) || foucsStatus === 14 || foucsStatus === 15 || foucsStatus === 16 || foucsStatus === 17 || foucsStatus === 18 || foucsStatus === 19 || foucsStatus === 20 || foucsStatus === 21 || foucsStatus === 22 || foucsStatus === 45 || foucsStatus === 46 || foucsStatus === 47) {
47980
47983
  type = "d";
47981
47984
  } else if (foucsStatus === "@" || foucsStatus === 49) {
47982
47985
  type = "s";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leankylin-sheet/core",
3
- "version": "5.1.6",
3
+ "version": "5.1.8",
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.6",
16
+ "@leankylin-sheet/formula-parser": "5.1.8",
17
17
  "dayjs": "^1.11.0",
18
18
  "immer": "^9.0.12",
19
19
  "lodash": "^4.17.21",