@leankylin-sheet/core 4.0.55 → 4.0.56
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 +5 -7
- package/dist/index.js +5 -7
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -55641,6 +55641,7 @@ function setCellValue$1(ctx, row, column, value, cellInput) {
|
|
|
55641
55641
|
updateCell(ctx, row, column, cellInput, curv);
|
|
55642
55642
|
} else {
|
|
55643
55643
|
var needupdateFdev = false;
|
|
55644
|
+
var needUpdateM = false;
|
|
55644
55645
|
var oldF = cell.f;
|
|
55645
55646
|
var nf = value.f;
|
|
55646
55647
|
var oldV = cell.v;
|
|
@@ -55661,18 +55662,15 @@ function setCellValue$1(ctx, row, column, value, cellInput) {
|
|
|
55661
55662
|
}
|
|
55662
55663
|
if (nf !== undefined && nf !== oldF) {
|
|
55663
55664
|
needupdateFdev = true;
|
|
55665
|
+
needUpdateM = true;
|
|
55664
55666
|
}
|
|
55665
|
-
console.log('new', value);
|
|
55666
|
-
console.log('old', cell);
|
|
55667
|
-
console.log('nv', nv);
|
|
55668
|
-
console.log('oldV', oldV);
|
|
55669
|
-
console.log('nv', String(nv) !== String(oldV));
|
|
55670
55667
|
if (nv !== undefined && String(nv) !== String(oldV)) {
|
|
55671
|
-
|
|
55668
|
+
needUpdateM = true;
|
|
55672
55669
|
}
|
|
55673
|
-
console.log('needupdateFdev', needupdateFdev);
|
|
55674
55670
|
if (needupdateFdev) {
|
|
55675
55671
|
delFunctionGroup(ctx, row, column);
|
|
55672
|
+
}
|
|
55673
|
+
if (needUpdateM) {
|
|
55676
55674
|
setCellValue(ctx, row, column, data, curv);
|
|
55677
55675
|
}
|
|
55678
55676
|
}
|
package/dist/index.js
CHANGED
|
@@ -55651,6 +55651,7 @@ function setCellValue$1(ctx, row, column, value, cellInput) {
|
|
|
55651
55651
|
updateCell(ctx, row, column, cellInput, curv);
|
|
55652
55652
|
} else {
|
|
55653
55653
|
var needupdateFdev = false;
|
|
55654
|
+
var needUpdateM = false;
|
|
55654
55655
|
var oldF = cell.f;
|
|
55655
55656
|
var nf = value.f;
|
|
55656
55657
|
var oldV = cell.v;
|
|
@@ -55671,18 +55672,15 @@ function setCellValue$1(ctx, row, column, value, cellInput) {
|
|
|
55671
55672
|
}
|
|
55672
55673
|
if (nf !== undefined && nf !== oldF) {
|
|
55673
55674
|
needupdateFdev = true;
|
|
55675
|
+
needUpdateM = true;
|
|
55674
55676
|
}
|
|
55675
|
-
console.log('new', value);
|
|
55676
|
-
console.log('old', cell);
|
|
55677
|
-
console.log('nv', nv);
|
|
55678
|
-
console.log('oldV', oldV);
|
|
55679
|
-
console.log('nv', String(nv) !== String(oldV));
|
|
55680
55677
|
if (nv !== undefined && String(nv) !== String(oldV)) {
|
|
55681
|
-
|
|
55678
|
+
needUpdateM = true;
|
|
55682
55679
|
}
|
|
55683
|
-
console.log('needupdateFdev', needupdateFdev);
|
|
55684
55680
|
if (needupdateFdev) {
|
|
55685
55681
|
delFunctionGroup(ctx, row, column);
|
|
55682
|
+
}
|
|
55683
|
+
if (needUpdateM) {
|
|
55686
55684
|
setCellValue(ctx, row, column, data, curv);
|
|
55687
55685
|
}
|
|
55688
55686
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leankylin-sheet/core",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.56",
|
|
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.56",
|
|
17
17
|
"dayjs": "^1.11.0",
|
|
18
18
|
"immer": "^9.0.12",
|
|
19
19
|
"lodash": "^4.17.21",
|