@leankylin-sheet/core 4.0.51 → 4.0.52
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 +7 -3
- package/dist/index.js +7 -3
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -55640,8 +55640,9 @@ function setCellValue$1(ctx, row, column, value, cellInput) {
|
|
|
55640
55640
|
}
|
|
55641
55641
|
updateCell(ctx, row, column, cellInput, curv);
|
|
55642
55642
|
} else {
|
|
55643
|
-
var
|
|
55644
|
-
var
|
|
55643
|
+
var needupdateFdev = false;
|
|
55644
|
+
var oldF = cell.f;
|
|
55645
|
+
var nf = value.f;
|
|
55645
55646
|
if (value.ct != null) {
|
|
55646
55647
|
curv.ct = value.ct;
|
|
55647
55648
|
}
|
|
@@ -55656,7 +55657,10 @@ function setCellValue$1(ctx, row, column, value, cellInput) {
|
|
|
55656
55657
|
if (value.m != null) {
|
|
55657
55658
|
curv.m = value.m;
|
|
55658
55659
|
}
|
|
55659
|
-
if (
|
|
55660
|
+
if (nf !== undefined && nf !== oldF) {
|
|
55661
|
+
needupdateFdev = true;
|
|
55662
|
+
}
|
|
55663
|
+
if (needupdateFdev) {
|
|
55660
55664
|
delFunctionGroup(ctx, row, column);
|
|
55661
55665
|
setCellValue(ctx, row, column, data, curv);
|
|
55662
55666
|
}
|
package/dist/index.js
CHANGED
|
@@ -55650,8 +55650,9 @@ function setCellValue$1(ctx, row, column, value, cellInput) {
|
|
|
55650
55650
|
}
|
|
55651
55651
|
updateCell(ctx, row, column, cellInput, curv);
|
|
55652
55652
|
} else {
|
|
55653
|
-
var
|
|
55654
|
-
var
|
|
55653
|
+
var needupdateFdev = false;
|
|
55654
|
+
var oldF = cell.f;
|
|
55655
|
+
var nf = value.f;
|
|
55655
55656
|
if (value.ct != null) {
|
|
55656
55657
|
curv.ct = value.ct;
|
|
55657
55658
|
}
|
|
@@ -55666,7 +55667,10 @@ function setCellValue$1(ctx, row, column, value, cellInput) {
|
|
|
55666
55667
|
if (value.m != null) {
|
|
55667
55668
|
curv.m = value.m;
|
|
55668
55669
|
}
|
|
55669
|
-
if (
|
|
55670
|
+
if (nf !== undefined && nf !== oldF) {
|
|
55671
|
+
needupdateFdev = true;
|
|
55672
|
+
}
|
|
55673
|
+
if (needupdateFdev) {
|
|
55670
55674
|
delFunctionGroup(ctx, row, column);
|
|
55671
55675
|
setCellValue(ctx, row, column, data, curv);
|
|
55672
55676
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leankylin-sheet/core",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.52",
|
|
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": "4.0.
|
|
16
|
+
"@leankylin-sheet/formula-parser": "4.0.52",
|
|
17
17
|
"dayjs": "^1.11.0",
|
|
18
18
|
"immer": "^9.0.12",
|
|
19
19
|
"lodash": "^4.17.21",
|