@leankylin-sheet/core 4.0.50 → 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 +10 -2
- package/dist/index.js +10 -2
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -55640,6 +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 needupdateFdev = false;
|
|
55644
|
+
var oldF = cell.f;
|
|
55645
|
+
var nf = value.f;
|
|
55643
55646
|
if (value.ct != null) {
|
|
55644
55647
|
curv.ct = value.ct;
|
|
55645
55648
|
}
|
|
@@ -55654,8 +55657,13 @@ function setCellValue$1(ctx, row, column, value, cellInput) {
|
|
|
55654
55657
|
if (value.m != null) {
|
|
55655
55658
|
curv.m = value.m;
|
|
55656
55659
|
}
|
|
55657
|
-
|
|
55658
|
-
|
|
55660
|
+
if (nf !== undefined && nf !== oldF) {
|
|
55661
|
+
needupdateFdev = true;
|
|
55662
|
+
}
|
|
55663
|
+
if (needupdateFdev) {
|
|
55664
|
+
delFunctionGroup(ctx, row, column);
|
|
55665
|
+
setCellValue(ctx, row, column, data, curv);
|
|
55666
|
+
}
|
|
55659
55667
|
}
|
|
55660
55668
|
_.forEach(value, function (v, attr) {
|
|
55661
55669
|
if (attr in formatList) {
|
package/dist/index.js
CHANGED
|
@@ -55650,6 +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 needupdateFdev = false;
|
|
55654
|
+
var oldF = cell.f;
|
|
55655
|
+
var nf = value.f;
|
|
55653
55656
|
if (value.ct != null) {
|
|
55654
55657
|
curv.ct = value.ct;
|
|
55655
55658
|
}
|
|
@@ -55664,8 +55667,13 @@ function setCellValue$1(ctx, row, column, value, cellInput) {
|
|
|
55664
55667
|
if (value.m != null) {
|
|
55665
55668
|
curv.m = value.m;
|
|
55666
55669
|
}
|
|
55667
|
-
|
|
55668
|
-
|
|
55670
|
+
if (nf !== undefined && nf !== oldF) {
|
|
55671
|
+
needupdateFdev = true;
|
|
55672
|
+
}
|
|
55673
|
+
if (needupdateFdev) {
|
|
55674
|
+
delFunctionGroup(ctx, row, column);
|
|
55675
|
+
setCellValue(ctx, row, column, data, curv);
|
|
55676
|
+
}
|
|
55669
55677
|
}
|
|
55670
55678
|
___default['default'].forEach(value, function (v, attr) {
|
|
55671
55679
|
if (attr in formatList) {
|
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",
|