@leankylin-sheet/core 7.0.16 → 7.0.18

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
@@ -51964,7 +51964,8 @@ function updateDropCell(ctx) {
51964
51964
  _cell.m = _cell.v.toString();
51965
51965
  } else {
51966
51966
  if (_cell.v.toString().indexOf("e") > -1) {
51967
- var _len7 = _cell.v.toString().split(".")[1].split("e")[0].length;
51967
+ var _cell$v2, _cell$v2$toString$spl, _cell$v2$toString$spl2, _cell$v2$toString$spl3, _cell$v2$toString$spl4;
51968
+ var _len7 = (_cell$v2 = _cell.v) === null || _cell$v2 === void 0 ? void 0 : (_cell$v2$toString$spl = _cell$v2.toString().split(".")) === null || _cell$v2$toString$spl === void 0 ? void 0 : (_cell$v2$toString$spl2 = _cell$v2$toString$spl[1]) === null || _cell$v2$toString$spl2 === void 0 ? void 0 : (_cell$v2$toString$spl3 = _cell$v2$toString$spl2.split("e")) === null || _cell$v2$toString$spl3 === void 0 ? void 0 : (_cell$v2$toString$spl4 = _cell$v2$toString$spl3[0]) === null || _cell$v2$toString$spl4 === void 0 ? void 0 : _cell$v2$toString$spl4.length;
51968
51969
  if (_len7 > 5) {
51969
51970
  _len7 = 5;
51970
51971
  }
@@ -52046,7 +52047,8 @@ function updateDropCell(ctx) {
52046
52047
  _cell2.m = _cell2.v.toString();
52047
52048
  } else {
52048
52049
  if (_cell2.v.toString().indexOf("e") > -1) {
52049
- var _len8 = _cell2.v.toString().split(".")[1].split("e")[0].length;
52050
+ var _cell2$v, _cell2$v$toString$spl, _cell2$v$toString$spl2, _cell2$v$toString$spl3, _cell2$v$toString$spl4;
52051
+ var _len8 = (_cell2$v = _cell2.v) === null || _cell2$v === void 0 ? void 0 : (_cell2$v$toString$spl = _cell2$v.toString().split(".")) === null || _cell2$v$toString$spl === void 0 ? void 0 : (_cell2$v$toString$spl2 = _cell2$v$toString$spl[1]) === null || _cell2$v$toString$spl2 === void 0 ? void 0 : (_cell2$v$toString$spl3 = _cell2$v$toString$spl2.split("e")) === null || _cell2$v$toString$spl3 === void 0 ? void 0 : (_cell2$v$toString$spl4 = _cell2$v$toString$spl3[0]) === null || _cell2$v$toString$spl4 === void 0 ? void 0 : _cell2$v$toString$spl4.length;
52050
52052
  if (_len8 > 5) {
52051
52053
  _len8 = 5;
52052
52054
  }
@@ -52122,7 +52124,8 @@ function updateDropCell(ctx) {
52122
52124
  _cell3.m = _cell3.v.toString();
52123
52125
  } else {
52124
52126
  if (_cell3.v.toString().indexOf("e") > -1) {
52125
- var _len9 = _cell3.v.toString().split(".")[1].split("e")[0].length;
52127
+ var _cell3$v, _cell3$v$toString$spl, _cell3$v$toString$spl2, _cell3$v$toString$spl3, _cell3$v$toString$spl4;
52128
+ var _len9 = (_cell3$v = _cell3.v) === null || _cell3$v === void 0 ? void 0 : (_cell3$v$toString$spl = _cell3$v.toString().split(".")) === null || _cell3$v$toString$spl === void 0 ? void 0 : (_cell3$v$toString$spl2 = _cell3$v$toString$spl[1]) === null || _cell3$v$toString$spl2 === void 0 ? void 0 : (_cell3$v$toString$spl3 = _cell3$v$toString$spl2.split("e")) === null || _cell3$v$toString$spl3 === void 0 ? void 0 : (_cell3$v$toString$spl4 = _cell3$v$toString$spl3[0]) === null || _cell3$v$toString$spl4 === void 0 ? void 0 : _cell3$v$toString$spl4.length;
52126
52129
  if (_len9 > 5) {
52127
52130
  _len9 = 5;
52128
52131
  }
@@ -57555,6 +57558,7 @@ var defaultSettings = {
57555
57558
  renderFreezeCol: undefined,
57556
57559
  renderFreezeRow: undefined,
57557
57560
  renderFilter: undefined,
57561
+ renderSheetBody: undefined,
57558
57562
  fxContainer: undefined,
57559
57563
  disabledKeyboardCodes: [],
57560
57564
  Footer: undefined,
package/dist/index.js CHANGED
@@ -51974,7 +51974,8 @@ function updateDropCell(ctx) {
51974
51974
  _cell.m = _cell.v.toString();
51975
51975
  } else {
51976
51976
  if (_cell.v.toString().indexOf("e") > -1) {
51977
- var _len7 = _cell.v.toString().split(".")[1].split("e")[0].length;
51977
+ var _cell$v2, _cell$v2$toString$spl, _cell$v2$toString$spl2, _cell$v2$toString$spl3, _cell$v2$toString$spl4;
51978
+ var _len7 = (_cell$v2 = _cell.v) === null || _cell$v2 === void 0 ? void 0 : (_cell$v2$toString$spl = _cell$v2.toString().split(".")) === null || _cell$v2$toString$spl === void 0 ? void 0 : (_cell$v2$toString$spl2 = _cell$v2$toString$spl[1]) === null || _cell$v2$toString$spl2 === void 0 ? void 0 : (_cell$v2$toString$spl3 = _cell$v2$toString$spl2.split("e")) === null || _cell$v2$toString$spl3 === void 0 ? void 0 : (_cell$v2$toString$spl4 = _cell$v2$toString$spl3[0]) === null || _cell$v2$toString$spl4 === void 0 ? void 0 : _cell$v2$toString$spl4.length;
51978
51979
  if (_len7 > 5) {
51979
51980
  _len7 = 5;
51980
51981
  }
@@ -52056,7 +52057,8 @@ function updateDropCell(ctx) {
52056
52057
  _cell2.m = _cell2.v.toString();
52057
52058
  } else {
52058
52059
  if (_cell2.v.toString().indexOf("e") > -1) {
52059
- var _len8 = _cell2.v.toString().split(".")[1].split("e")[0].length;
52060
+ var _cell2$v, _cell2$v$toString$spl, _cell2$v$toString$spl2, _cell2$v$toString$spl3, _cell2$v$toString$spl4;
52061
+ var _len8 = (_cell2$v = _cell2.v) === null || _cell2$v === void 0 ? void 0 : (_cell2$v$toString$spl = _cell2$v.toString().split(".")) === null || _cell2$v$toString$spl === void 0 ? void 0 : (_cell2$v$toString$spl2 = _cell2$v$toString$spl[1]) === null || _cell2$v$toString$spl2 === void 0 ? void 0 : (_cell2$v$toString$spl3 = _cell2$v$toString$spl2.split("e")) === null || _cell2$v$toString$spl3 === void 0 ? void 0 : (_cell2$v$toString$spl4 = _cell2$v$toString$spl3[0]) === null || _cell2$v$toString$spl4 === void 0 ? void 0 : _cell2$v$toString$spl4.length;
52060
52062
  if (_len8 > 5) {
52061
52063
  _len8 = 5;
52062
52064
  }
@@ -52132,7 +52134,8 @@ function updateDropCell(ctx) {
52132
52134
  _cell3.m = _cell3.v.toString();
52133
52135
  } else {
52134
52136
  if (_cell3.v.toString().indexOf("e") > -1) {
52135
- var _len9 = _cell3.v.toString().split(".")[1].split("e")[0].length;
52137
+ var _cell3$v, _cell3$v$toString$spl, _cell3$v$toString$spl2, _cell3$v$toString$spl3, _cell3$v$toString$spl4;
52138
+ var _len9 = (_cell3$v = _cell3.v) === null || _cell3$v === void 0 ? void 0 : (_cell3$v$toString$spl = _cell3$v.toString().split(".")) === null || _cell3$v$toString$spl === void 0 ? void 0 : (_cell3$v$toString$spl2 = _cell3$v$toString$spl[1]) === null || _cell3$v$toString$spl2 === void 0 ? void 0 : (_cell3$v$toString$spl3 = _cell3$v$toString$spl2.split("e")) === null || _cell3$v$toString$spl3 === void 0 ? void 0 : (_cell3$v$toString$spl4 = _cell3$v$toString$spl3[0]) === null || _cell3$v$toString$spl4 === void 0 ? void 0 : _cell3$v$toString$spl4.length;
52136
52139
  if (_len9 > 5) {
52137
52140
  _len9 = 5;
52138
52141
  }
@@ -57565,6 +57568,7 @@ var defaultSettings = {
57565
57568
  renderFreezeCol: undefined,
57566
57569
  renderFreezeRow: undefined,
57567
57570
  renderFilter: undefined,
57571
+ renderSheetBody: undefined,
57568
57572
  fxContainer: undefined,
57569
57573
  disabledKeyboardCodes: [],
57570
57574
  Footer: undefined,
@@ -167,6 +167,7 @@ export type Settings = {
167
167
  renderFreezeCol?: any;
168
168
  renderFreezeRow?: any;
169
169
  renderFilter?: any;
170
+ renderSheetBody?: any;
170
171
  fxContainer?: any;
171
172
  disabledKeyboardCodes?: string[];
172
173
  blank?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leankylin-sheet/core",
3
- "version": "7.0.16",
3
+ "version": "7.0.18",
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": "7.0.16",
16
+ "@leankylin-sheet/formula-parser": "7.0.18",
17
17
  "dayjs": "^1.11.0",
18
18
  "immer": "^9.0.12",
19
19
  "lodash": "^4.17.21",