@leankylin-sheet/core 5.2.41 → 5.2.43
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 +6 -6
- package/dist/index.js +6 -6
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -46766,8 +46766,8 @@ function calculateSheetFromula(ctx, id, isrefresh) {
|
|
|
46766
46766
|
console.time("calcTime:all}");
|
|
46767
46767
|
execFunctionGroup(ctx, null, null, null, undefined, [], true);
|
|
46768
46768
|
groupValuesRefresh(ctx);
|
|
46769
|
+
console.timeEnd("calcTime:".concat(id));
|
|
46769
46770
|
}
|
|
46770
|
-
console.timeEnd("calcTime:".concat(id));
|
|
46771
46771
|
function updateFunctionGroupBySheetId(ctx, id) {
|
|
46772
46772
|
var _ctx$luckysheetfile$i, _ctx$luckysheetfile$i2, _ctx$luckysheetfile$i3;
|
|
46773
46773
|
var luckysheetfile = ctx.luckysheetfile;
|
|
@@ -46829,8 +46829,8 @@ function calculateSheetByCells(ctx, cells) {
|
|
|
46829
46829
|
var _cells$index = cells[index$1],
|
|
46830
46830
|
r = _cells$index.r,
|
|
46831
46831
|
c = _cells$index.c,
|
|
46832
|
-
|
|
46833
|
-
updatedMap["".concat(sheetIdNameMap[
|
|
46832
|
+
id = _cells$index.id;
|
|
46833
|
+
updatedMap["".concat(sheetIdNameMap[id], "!").concat(indexToColumnChar(c) + (r + 1))] = true;
|
|
46834
46834
|
}
|
|
46835
46835
|
var _loop = function _loop() {
|
|
46836
46836
|
var file = fileList[fIndex];
|
|
@@ -46873,16 +46873,16 @@ function calculateSheetByCells(ctx, cells) {
|
|
|
46873
46873
|
var _needUpdateCell$nInde = needUpdateCell[nIndex],
|
|
46874
46874
|
_r = _needUpdateCell$nInde.r,
|
|
46875
46875
|
_c = _needUpdateCell$nInde.c,
|
|
46876
|
-
|
|
46876
|
+
_id = _needUpdateCell$nInde.id,
|
|
46877
46877
|
_f = _needUpdateCell$nInde.f,
|
|
46878
46878
|
v = _needUpdateCell$nInde.v;
|
|
46879
|
-
var result = execfunction(ctx, _f, _r, _c,
|
|
46879
|
+
var result = execfunction(ctx, _f, _r, _c, _id, undefined, true);
|
|
46880
46880
|
var newV = result[1];
|
|
46881
46881
|
if (newV === v) {
|
|
46882
46882
|
continue;
|
|
46883
46883
|
}
|
|
46884
46884
|
setCellValue$1(ctx, _r, _c, result[1], null, {
|
|
46885
|
-
id:
|
|
46885
|
+
id: _id
|
|
46886
46886
|
});
|
|
46887
46887
|
}
|
|
46888
46888
|
console.timeEnd("calculateSheetByCellsTime");
|
package/dist/index.js
CHANGED
|
@@ -46776,8 +46776,8 @@ function calculateSheetFromula(ctx, id, isrefresh) {
|
|
|
46776
46776
|
console.time("calcTime:all}");
|
|
46777
46777
|
execFunctionGroup(ctx, null, null, null, undefined, [], true);
|
|
46778
46778
|
groupValuesRefresh(ctx);
|
|
46779
|
+
console.timeEnd("calcTime:".concat(id));
|
|
46779
46780
|
}
|
|
46780
|
-
console.timeEnd("calcTime:".concat(id));
|
|
46781
46781
|
function updateFunctionGroupBySheetId(ctx, id) {
|
|
46782
46782
|
var _ctx$luckysheetfile$i, _ctx$luckysheetfile$i2, _ctx$luckysheetfile$i3;
|
|
46783
46783
|
var luckysheetfile = ctx.luckysheetfile;
|
|
@@ -46839,8 +46839,8 @@ function calculateSheetByCells(ctx, cells) {
|
|
|
46839
46839
|
var _cells$index = cells[index$1],
|
|
46840
46840
|
r = _cells$index.r,
|
|
46841
46841
|
c = _cells$index.c,
|
|
46842
|
-
|
|
46843
|
-
updatedMap["".concat(sheetIdNameMap[
|
|
46842
|
+
id = _cells$index.id;
|
|
46843
|
+
updatedMap["".concat(sheetIdNameMap[id], "!").concat(indexToColumnChar(c) + (r + 1))] = true;
|
|
46844
46844
|
}
|
|
46845
46845
|
var _loop = function _loop() {
|
|
46846
46846
|
var file = fileList[fIndex];
|
|
@@ -46883,16 +46883,16 @@ function calculateSheetByCells(ctx, cells) {
|
|
|
46883
46883
|
var _needUpdateCell$nInde = needUpdateCell[nIndex],
|
|
46884
46884
|
_r = _needUpdateCell$nInde.r,
|
|
46885
46885
|
_c = _needUpdateCell$nInde.c,
|
|
46886
|
-
|
|
46886
|
+
_id = _needUpdateCell$nInde.id,
|
|
46887
46887
|
_f = _needUpdateCell$nInde.f,
|
|
46888
46888
|
v = _needUpdateCell$nInde.v;
|
|
46889
|
-
var result = execfunction(ctx, _f, _r, _c,
|
|
46889
|
+
var result = execfunction(ctx, _f, _r, _c, _id, undefined, true);
|
|
46890
46890
|
var newV = result[1];
|
|
46891
46891
|
if (newV === v) {
|
|
46892
46892
|
continue;
|
|
46893
46893
|
}
|
|
46894
46894
|
setCellValue$1(ctx, _r, _c, result[1], null, {
|
|
46895
|
-
id:
|
|
46895
|
+
id: _id
|
|
46896
46896
|
});
|
|
46897
46897
|
}
|
|
46898
46898
|
console.timeEnd("calculateSheetByCellsTime");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leankylin-sheet/core",
|
|
3
|
-
"version": "5.2.
|
|
3
|
+
"version": "5.2.43",
|
|
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.2.
|
|
16
|
+
"@leankylin-sheet/formula-parser": "5.2.43",
|
|
17
17
|
"dayjs": "^1.11.0",
|
|
18
18
|
"immer": "^9.0.12",
|
|
19
19
|
"lodash": "^4.17.21",
|