@leankylin-sheet/core 5.2.18 → 5.2.20
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 -4
- package/dist/index.js +6 -4
- package/dist/settings.d.ts +1 -0
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -46605,10 +46605,11 @@ function calculateSheetFromula(ctx, id, isrefresh) {
|
|
|
46605
46605
|
function updateFunctionGroup(ctx) {
|
|
46606
46606
|
var luckysheetfile = ctx.luckysheetfile;
|
|
46607
46607
|
for (var index = 0; index < luckysheetfile.length; index++) {
|
|
46608
|
+
var _ctx$luckysheetfile$i, _ctx$luckysheetfile$i2, _ctx$luckysheetfile$i3;
|
|
46608
46609
|
var file = luckysheetfile[index];
|
|
46609
46610
|
var calcChain = [];
|
|
46610
|
-
|
|
46611
|
-
for (var r = 0; r <
|
|
46611
|
+
var rows = (_ctx$luckysheetfile$i = (_ctx$luckysheetfile$i2 = ctx.luckysheetfile[index]) === null || _ctx$luckysheetfile$i2 === void 0 ? void 0 : (_ctx$luckysheetfile$i3 = _ctx$luckysheetfile$i2.data) === null || _ctx$luckysheetfile$i3 === void 0 ? void 0 : _ctx$luckysheetfile$i3.length) !== null && _ctx$luckysheetfile$i !== void 0 ? _ctx$luckysheetfile$i : 0;
|
|
46612
|
+
for (var r = 0; r < rows; r += 1) {
|
|
46612
46613
|
for (var c = 0; c < ctx.luckysheetfile[index].data[r].length; c += 1) {
|
|
46613
46614
|
var cell = ctx.luckysheetfile[index].data[r][c];
|
|
46614
46615
|
if (!(cell === null || cell === void 0 ? void 0 : cell.f)) {
|
|
@@ -46617,13 +46618,13 @@ function updateFunctionGroup(ctx) {
|
|
|
46617
46618
|
var cc = {
|
|
46618
46619
|
r: r,
|
|
46619
46620
|
c: c,
|
|
46620
|
-
id: file.id
|
|
46621
|
+
id: file.id,
|
|
46622
|
+
f: cell === null || cell === void 0 ? void 0 : cell.f
|
|
46621
46623
|
};
|
|
46622
46624
|
calcChain.push(cc);
|
|
46623
46625
|
}
|
|
46624
46626
|
}
|
|
46625
46627
|
file.calcChain = calcChain;
|
|
46626
|
-
console.log('calcChain', calcChain);
|
|
46627
46628
|
}
|
|
46628
46629
|
}
|
|
46629
46630
|
function parseCellReferences(expression) {
|
|
@@ -56442,6 +56443,7 @@ var defaultSettings = {
|
|
|
56442
56443
|
copyRich: false,
|
|
56443
56444
|
renderCalcInfo: undefined,
|
|
56444
56445
|
renderCellOptions: undefined,
|
|
56446
|
+
renderCellTip: undefined,
|
|
56445
56447
|
renderFreezeCol: undefined,
|
|
56446
56448
|
renderFreezeRow: undefined,
|
|
56447
56449
|
renderFilter: undefined,
|
package/dist/index.js
CHANGED
|
@@ -46615,10 +46615,11 @@ function calculateSheetFromula(ctx, id, isrefresh) {
|
|
|
46615
46615
|
function updateFunctionGroup(ctx) {
|
|
46616
46616
|
var luckysheetfile = ctx.luckysheetfile;
|
|
46617
46617
|
for (var index = 0; index < luckysheetfile.length; index++) {
|
|
46618
|
+
var _ctx$luckysheetfile$i, _ctx$luckysheetfile$i2, _ctx$luckysheetfile$i3;
|
|
46618
46619
|
var file = luckysheetfile[index];
|
|
46619
46620
|
var calcChain = [];
|
|
46620
|
-
|
|
46621
|
-
for (var r = 0; r <
|
|
46621
|
+
var rows = (_ctx$luckysheetfile$i = (_ctx$luckysheetfile$i2 = ctx.luckysheetfile[index]) === null || _ctx$luckysheetfile$i2 === void 0 ? void 0 : (_ctx$luckysheetfile$i3 = _ctx$luckysheetfile$i2.data) === null || _ctx$luckysheetfile$i3 === void 0 ? void 0 : _ctx$luckysheetfile$i3.length) !== null && _ctx$luckysheetfile$i !== void 0 ? _ctx$luckysheetfile$i : 0;
|
|
46622
|
+
for (var r = 0; r < rows; r += 1) {
|
|
46622
46623
|
for (var c = 0; c < ctx.luckysheetfile[index].data[r].length; c += 1) {
|
|
46623
46624
|
var cell = ctx.luckysheetfile[index].data[r][c];
|
|
46624
46625
|
if (!(cell === null || cell === void 0 ? void 0 : cell.f)) {
|
|
@@ -46627,13 +46628,13 @@ function updateFunctionGroup(ctx) {
|
|
|
46627
46628
|
var cc = {
|
|
46628
46629
|
r: r,
|
|
46629
46630
|
c: c,
|
|
46630
|
-
id: file.id
|
|
46631
|
+
id: file.id,
|
|
46632
|
+
f: cell === null || cell === void 0 ? void 0 : cell.f
|
|
46631
46633
|
};
|
|
46632
46634
|
calcChain.push(cc);
|
|
46633
46635
|
}
|
|
46634
46636
|
}
|
|
46635
46637
|
file.calcChain = calcChain;
|
|
46636
|
-
console.log('calcChain', calcChain);
|
|
46637
46638
|
}
|
|
46638
46639
|
}
|
|
46639
46640
|
function parseCellReferences(expression) {
|
|
@@ -56452,6 +56453,7 @@ var defaultSettings = {
|
|
|
56452
56453
|
copyRich: false,
|
|
56453
56454
|
renderCalcInfo: undefined,
|
|
56454
56455
|
renderCellOptions: undefined,
|
|
56456
|
+
renderCellTip: undefined,
|
|
56455
56457
|
renderFreezeCol: undefined,
|
|
56456
56458
|
renderFreezeRow: undefined,
|
|
56457
56459
|
renderFilter: undefined,
|
package/dist/settings.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leankylin-sheet/core",
|
|
3
|
-
"version": "5.2.
|
|
3
|
+
"version": "5.2.20",
|
|
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.20",
|
|
17
17
|
"dayjs": "^1.11.0",
|
|
18
18
|
"immer": "^9.0.12",
|
|
19
19
|
"lodash": "^4.17.21",
|