@leankylin-sheet/core 4.0.21 → 4.0.23
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 +2 -0
- package/dist/index.js +2 -0
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -40800,6 +40800,7 @@ function scrollToHighlightCell(ctx, r, c) {
|
|
|
40800
40800
|
var _scrollAmount = Math.max(20, freezeW);
|
|
40801
40801
|
ctx.scrollLeft = col_pre - _scrollAmount;
|
|
40802
40802
|
}
|
|
40803
|
+
console.log(ctx.scrollLeft, c, r, col_pre, Math.max(20, freezeW), freezeW, column_focus, winW, col - scrollLeft - winW + 20 > 0);
|
|
40803
40804
|
}
|
|
40804
40805
|
}
|
|
40805
40806
|
function seletedHighlistByindex(ctx, r1, r2, c1, c2) {
|
|
@@ -41398,6 +41399,7 @@ function moveHighlightCell(ctx, postion, index, type) {
|
|
|
41398
41399
|
y: moveY
|
|
41399
41400
|
};
|
|
41400
41401
|
normalizeSelection(ctx, ctx.luckysheet_select_save);
|
|
41402
|
+
scrollToHighlightCell(ctx, row_index, col_index);
|
|
41401
41403
|
} else if (type === "rangeOfFormula") {
|
|
41402
41404
|
var _last = ctx.formulaCache.func_selectedrange;
|
|
41403
41405
|
if (!_last) return;
|
package/dist/index.js
CHANGED
|
@@ -40810,6 +40810,7 @@ function scrollToHighlightCell(ctx, r, c) {
|
|
|
40810
40810
|
var _scrollAmount = Math.max(20, freezeW);
|
|
40811
40811
|
ctx.scrollLeft = col_pre - _scrollAmount;
|
|
40812
40812
|
}
|
|
40813
|
+
console.log(ctx.scrollLeft, c, r, col_pre, Math.max(20, freezeW), freezeW, column_focus, winW, col - scrollLeft - winW + 20 > 0);
|
|
40813
40814
|
}
|
|
40814
40815
|
}
|
|
40815
40816
|
function seletedHighlistByindex(ctx, r1, r2, c1, c2) {
|
|
@@ -41408,6 +41409,7 @@ function moveHighlightCell(ctx, postion, index, type) {
|
|
|
41408
41409
|
y: moveY
|
|
41409
41410
|
};
|
|
41410
41411
|
normalizeSelection(ctx, ctx.luckysheet_select_save);
|
|
41412
|
+
scrollToHighlightCell(ctx, row_index, col_index);
|
|
41411
41413
|
} else if (type === "rangeOfFormula") {
|
|
41412
41414
|
var _last = ctx.formulaCache.func_selectedrange;
|
|
41413
41415
|
if (!_last) return;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leankylin-sheet/core",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.23",
|
|
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.23",
|
|
17
17
|
"dayjs": "^1.11.0",
|
|
18
18
|
"immer": "^9.0.12",
|
|
19
19
|
"lodash": "^4.17.21",
|