handsontable 0.0.0-next-5d8c97d-20231228 → 0.0.0-next-3388fcb-20240102
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of handsontable might be problematic. Click here for more details.
- package/3rdparty/walkontable/src/cell/range.d.ts +4 -4
- package/3rdparty/walkontable/src/cell/range.js +14 -39
- package/3rdparty/walkontable/src/cell/range.mjs +14 -39
- package/3rdparty/walkontable/src/scroll.js +2 -58
- package/3rdparty/walkontable/src/scroll.mjs +2 -58
- package/base.js +2 -2
- package/base.mjs +2 -2
- package/dist/handsontable.css +2 -2
- package/dist/handsontable.full.css +2 -2
- package/dist/handsontable.full.js +38 -123
- package/dist/handsontable.full.min.css +2 -2
- package/dist/handsontable.full.min.js +54 -54
- package/dist/handsontable.js +38 -123
- package/dist/handsontable.min.css +2 -2
- package/dist/handsontable.min.js +25 -25
- package/helpers/mixed.js +1 -1
- package/helpers/mixed.mjs +1 -1
- package/package.json +1 -1
- package/pluginHooks.js +1 -1
- package/pluginHooks.mjs +1 -1
- package/plugins/dragToScroll/dragToScroll.d.ts +8 -1
- package/plugins/dragToScroll/dragToScroll.js +16 -20
- package/plugins/dragToScroll/dragToScroll.mjs +16 -20
@@ -30,8 +30,8 @@ export default class CellRange {
|
|
30
30
|
includesRange(cellRange: CellRange): boolean;
|
31
31
|
isEqual(cellRange: CellRange): boolean;
|
32
32
|
overlaps(cellRange: CellRange): boolean;
|
33
|
-
isSouthEastOf(
|
34
|
-
isNorthWestOf(
|
33
|
+
isSouthEastOf(coords: CellCoords): boolean;
|
34
|
+
isNorthWestOf(coords: CellCoords): boolean;
|
35
35
|
isOverlappingHorizontally(cellRange: CellRange): boolean;
|
36
36
|
isOverlappingVertically(cellRange: CellRange): boolean;
|
37
37
|
expand(cellCoords: CellCoords): boolean;
|
@@ -58,8 +58,8 @@ export default class CellRange {
|
|
58
58
|
getOuterTopRightCorner(): CellCoords;
|
59
59
|
getOuterBottomStartCorner(): CellCoords;
|
60
60
|
getOuterBottomLeftCorner(): CellCoords;
|
61
|
-
isCorner(coords: CellCoords
|
62
|
-
getOppositeCorner(coords: CellCoords
|
61
|
+
isCorner(coords: CellCoords): boolean;
|
62
|
+
getOppositeCorner(coords: CellCoords): CellCoords;
|
63
63
|
getBordersSharedWith(range: CellRange): Array<'top' | 'right' | 'bottom' | 'left'>;
|
64
64
|
getInner(): CellCoords[];
|
65
65
|
getAll(): CellCoords[];
|
@@ -270,23 +270,23 @@ class CellRange {
|
|
270
270
|
}
|
271
271
|
|
272
272
|
/**
|
273
|
-
* Checks if
|
273
|
+
* Checks if coordinates point is south-east of your range.
|
274
274
|
*
|
275
|
-
* @param {
|
275
|
+
* @param {CellCoords} cellCoords Coordinates to check.
|
276
276
|
* @returns {boolean}
|
277
277
|
*/
|
278
|
-
isSouthEastOf(
|
279
|
-
return this.getOuterTopLeftCorner().isSouthEastOf(
|
278
|
+
isSouthEastOf(cellCoords) {
|
279
|
+
return this.getOuterTopLeftCorner().isSouthEastOf(cellCoords) || this.getOuterBottomRightCorner().isSouthEastOf(cellCoords);
|
280
280
|
}
|
281
281
|
|
282
282
|
/**
|
283
|
-
* Checks if
|
283
|
+
* Checks if coordinates point is north-west of your range.
|
284
284
|
*
|
285
|
-
* @param {CellRange}
|
285
|
+
* @param {CellRange} cellCoords Coordinates to check.
|
286
286
|
* @returns {boolean}
|
287
287
|
*/
|
288
|
-
isNorthWestOf(
|
289
|
-
return this.getOuterTopLeftCorner().isNorthWestOf(
|
288
|
+
isNorthWestOf(cellCoords) {
|
289
|
+
return this.getOuterTopLeftCorner().isNorthWestOf(cellCoords) || this.getOuterBottomRightCorner().isNorthWestOf(cellCoords);
|
290
290
|
}
|
291
291
|
|
292
292
|
/**
|
@@ -299,7 +299,7 @@ class CellRange {
|
|
299
299
|
* @returns {boolean}
|
300
300
|
*/
|
301
301
|
isOverlappingHorizontally(cellRange) {
|
302
|
-
return this.
|
302
|
+
return this.getOuterTopEndCorner().col >= cellRange.getOuterTopStartCorner().col && this.getOuterTopEndCorner().col <= cellRange.getOuterTopEndCorner().col || this.getOuterTopStartCorner().col <= cellRange.getOuterTopEndCorner().col && this.getOuterTopStartCorner().col >= cellRange.getOuterTopStartCorner().col;
|
303
303
|
}
|
304
304
|
|
305
305
|
/**
|
@@ -312,7 +312,7 @@ class CellRange {
|
|
312
312
|
* @returns {boolean}
|
313
313
|
*/
|
314
314
|
isOverlappingVertically(cellRange) {
|
315
|
-
return this.
|
315
|
+
return this.getOuterBottomStartCorner().row >= cellRange.getOuterTopRightCorner().row && this.getOuterBottomStartCorner().row <= cellRange.getOuterBottomStartCorner().row || this.getOuterTopEndCorner().row <= cellRange.getOuterBottomStartCorner().row && this.getOuterTopEndCorner().row >= cellRange.getOuterTopRightCorner().row;
|
316
316
|
}
|
317
317
|
|
318
318
|
/**
|
@@ -680,13 +680,9 @@ class CellRange {
|
|
680
680
|
* Checks if a set of coordinates (`coords`) matches one of the 4 corners of your range.
|
681
681
|
*
|
682
682
|
* @param {CellCoords} coords Coordinates to check.
|
683
|
-
* @param {CellRange} [expandedRange] A range to compare with.
|
684
683
|
* @returns {boolean}
|
685
684
|
*/
|
686
|
-
isCorner(coords
|
687
|
-
if (expandedRange && expandedRange.includes(coords) && (this.getOuterTopLeftCorner().isEqual(this._createCellCoords(expandedRange.from.row, expandedRange.from.col)) || this.getOuterTopRightCorner().isEqual(this._createCellCoords(expandedRange.from.row, expandedRange.to.col)) || this.getOuterBottomLeftCorner().isEqual(this._createCellCoords(expandedRange.to.row, expandedRange.from.col)) || this.getOuterBottomRightCorner().isEqual(this._createCellCoords(expandedRange.to.row, expandedRange.to.col)))) {
|
688
|
-
return true;
|
689
|
-
}
|
685
|
+
isCorner(coords) {
|
690
686
|
return coords.isEqual(this.getOuterTopLeftCorner()) || coords.isEqual(this.getOuterTopRightCorner()) || coords.isEqual(this.getOuterBottomLeftCorner()) || coords.isEqual(this.getOuterBottomRightCorner());
|
691
687
|
}
|
692
688
|
|
@@ -697,33 +693,12 @@ class CellRange {
|
|
697
693
|
* the coordinates of the top-left corner of your range are returned.
|
698
694
|
*
|
699
695
|
* @param {CellCoords} coords Coordinates to check.
|
700
|
-
* @param {CellRange} [expandedRange] A range to compare with.
|
701
696
|
* @returns {CellCoords}
|
702
697
|
*/
|
703
|
-
getOppositeCorner(coords
|
698
|
+
getOppositeCorner(coords) {
|
704
699
|
if (!(coords instanceof _coords.default)) {
|
705
700
|
return false;
|
706
701
|
}
|
707
|
-
if (expandedRange) {
|
708
|
-
const {
|
709
|
-
from,
|
710
|
-
to
|
711
|
-
} = expandedRange;
|
712
|
-
if (expandedRange.includes(coords)) {
|
713
|
-
if (this.getOuterTopStartCorner().isEqual(this._createCellCoords(from.row, from.col))) {
|
714
|
-
return this.getOuterBottomEndCorner();
|
715
|
-
}
|
716
|
-
if (this.getOuterTopEndCorner().isEqual(this._createCellCoords(from.row, to.col))) {
|
717
|
-
return this.getOuterBottomStartCorner();
|
718
|
-
}
|
719
|
-
if (this.getOuterBottomStartCorner().isEqual(this._createCellCoords(to.row, from.col))) {
|
720
|
-
return this.getOuterTopEndCorner();
|
721
|
-
}
|
722
|
-
if (this.getOuterBottomEndCorner().isEqual(this._createCellCoords(to.row, to.col))) {
|
723
|
-
return this.getOuterTopStartCorner();
|
724
|
-
}
|
725
|
-
}
|
726
|
-
}
|
727
702
|
if (coords.isEqual(this.getOuterBottomEndCorner())) {
|
728
703
|
return this.getOuterTopStartCorner();
|
729
704
|
} else if (coords.isEqual(this.getOuterTopStartCorner())) {
|
@@ -763,13 +738,13 @@ class CellRange {
|
|
763
738
|
result.push('top');
|
764
739
|
}
|
765
740
|
if (thisBorders.right === rangeBorders.right) {
|
766
|
-
result.push('right');
|
741
|
+
result.push(_classPrivateFieldGet(this, _isRtl) ? 'left' : 'right');
|
767
742
|
}
|
768
743
|
if (thisBorders.bottom === rangeBorders.bottom) {
|
769
744
|
result.push('bottom');
|
770
745
|
}
|
771
746
|
if (thisBorders.left === rangeBorders.left) {
|
772
|
-
result.push('left');
|
747
|
+
result.push(_classPrivateFieldGet(this, _isRtl) ? 'right' : 'left');
|
773
748
|
}
|
774
749
|
return result;
|
775
750
|
}
|
@@ -266,23 +266,23 @@ class CellRange {
|
|
266
266
|
}
|
267
267
|
|
268
268
|
/**
|
269
|
-
* Checks if
|
269
|
+
* Checks if coordinates point is south-east of your range.
|
270
270
|
*
|
271
|
-
* @param {
|
271
|
+
* @param {CellCoords} cellCoords Coordinates to check.
|
272
272
|
* @returns {boolean}
|
273
273
|
*/
|
274
|
-
isSouthEastOf(
|
275
|
-
return this.getOuterTopLeftCorner().isSouthEastOf(
|
274
|
+
isSouthEastOf(cellCoords) {
|
275
|
+
return this.getOuterTopLeftCorner().isSouthEastOf(cellCoords) || this.getOuterBottomRightCorner().isSouthEastOf(cellCoords);
|
276
276
|
}
|
277
277
|
|
278
278
|
/**
|
279
|
-
* Checks if
|
279
|
+
* Checks if coordinates point is north-west of your range.
|
280
280
|
*
|
281
|
-
* @param {CellRange}
|
281
|
+
* @param {CellRange} cellCoords Coordinates to check.
|
282
282
|
* @returns {boolean}
|
283
283
|
*/
|
284
|
-
isNorthWestOf(
|
285
|
-
return this.getOuterTopLeftCorner().isNorthWestOf(
|
284
|
+
isNorthWestOf(cellCoords) {
|
285
|
+
return this.getOuterTopLeftCorner().isNorthWestOf(cellCoords) || this.getOuterBottomRightCorner().isNorthWestOf(cellCoords);
|
286
286
|
}
|
287
287
|
|
288
288
|
/**
|
@@ -295,7 +295,7 @@ class CellRange {
|
|
295
295
|
* @returns {boolean}
|
296
296
|
*/
|
297
297
|
isOverlappingHorizontally(cellRange) {
|
298
|
-
return this.
|
298
|
+
return this.getOuterTopEndCorner().col >= cellRange.getOuterTopStartCorner().col && this.getOuterTopEndCorner().col <= cellRange.getOuterTopEndCorner().col || this.getOuterTopStartCorner().col <= cellRange.getOuterTopEndCorner().col && this.getOuterTopStartCorner().col >= cellRange.getOuterTopStartCorner().col;
|
299
299
|
}
|
300
300
|
|
301
301
|
/**
|
@@ -308,7 +308,7 @@ class CellRange {
|
|
308
308
|
* @returns {boolean}
|
309
309
|
*/
|
310
310
|
isOverlappingVertically(cellRange) {
|
311
|
-
return this.
|
311
|
+
return this.getOuterBottomStartCorner().row >= cellRange.getOuterTopRightCorner().row && this.getOuterBottomStartCorner().row <= cellRange.getOuterBottomStartCorner().row || this.getOuterTopEndCorner().row <= cellRange.getOuterBottomStartCorner().row && this.getOuterTopEndCorner().row >= cellRange.getOuterTopRightCorner().row;
|
312
312
|
}
|
313
313
|
|
314
314
|
/**
|
@@ -676,13 +676,9 @@ class CellRange {
|
|
676
676
|
* Checks if a set of coordinates (`coords`) matches one of the 4 corners of your range.
|
677
677
|
*
|
678
678
|
* @param {CellCoords} coords Coordinates to check.
|
679
|
-
* @param {CellRange} [expandedRange] A range to compare with.
|
680
679
|
* @returns {boolean}
|
681
680
|
*/
|
682
|
-
isCorner(coords
|
683
|
-
if (expandedRange && expandedRange.includes(coords) && (this.getOuterTopLeftCorner().isEqual(this._createCellCoords(expandedRange.from.row, expandedRange.from.col)) || this.getOuterTopRightCorner().isEqual(this._createCellCoords(expandedRange.from.row, expandedRange.to.col)) || this.getOuterBottomLeftCorner().isEqual(this._createCellCoords(expandedRange.to.row, expandedRange.from.col)) || this.getOuterBottomRightCorner().isEqual(this._createCellCoords(expandedRange.to.row, expandedRange.to.col)))) {
|
684
|
-
return true;
|
685
|
-
}
|
681
|
+
isCorner(coords) {
|
686
682
|
return coords.isEqual(this.getOuterTopLeftCorner()) || coords.isEqual(this.getOuterTopRightCorner()) || coords.isEqual(this.getOuterBottomLeftCorner()) || coords.isEqual(this.getOuterBottomRightCorner());
|
687
683
|
}
|
688
684
|
|
@@ -693,33 +689,12 @@ class CellRange {
|
|
693
689
|
* the coordinates of the top-left corner of your range are returned.
|
694
690
|
*
|
695
691
|
* @param {CellCoords} coords Coordinates to check.
|
696
|
-
* @param {CellRange} [expandedRange] A range to compare with.
|
697
692
|
* @returns {CellCoords}
|
698
693
|
*/
|
699
|
-
getOppositeCorner(coords
|
694
|
+
getOppositeCorner(coords) {
|
700
695
|
if (!(coords instanceof CellCoords)) {
|
701
696
|
return false;
|
702
697
|
}
|
703
|
-
if (expandedRange) {
|
704
|
-
const {
|
705
|
-
from,
|
706
|
-
to
|
707
|
-
} = expandedRange;
|
708
|
-
if (expandedRange.includes(coords)) {
|
709
|
-
if (this.getOuterTopStartCorner().isEqual(this._createCellCoords(from.row, from.col))) {
|
710
|
-
return this.getOuterBottomEndCorner();
|
711
|
-
}
|
712
|
-
if (this.getOuterTopEndCorner().isEqual(this._createCellCoords(from.row, to.col))) {
|
713
|
-
return this.getOuterBottomStartCorner();
|
714
|
-
}
|
715
|
-
if (this.getOuterBottomStartCorner().isEqual(this._createCellCoords(to.row, from.col))) {
|
716
|
-
return this.getOuterTopEndCorner();
|
717
|
-
}
|
718
|
-
if (this.getOuterBottomEndCorner().isEqual(this._createCellCoords(to.row, to.col))) {
|
719
|
-
return this.getOuterTopStartCorner();
|
720
|
-
}
|
721
|
-
}
|
722
|
-
}
|
723
698
|
if (coords.isEqual(this.getOuterBottomEndCorner())) {
|
724
699
|
return this.getOuterTopStartCorner();
|
725
700
|
} else if (coords.isEqual(this.getOuterTopStartCorner())) {
|
@@ -759,13 +734,13 @@ class CellRange {
|
|
759
734
|
result.push('top');
|
760
735
|
}
|
761
736
|
if (thisBorders.right === rangeBorders.right) {
|
762
|
-
result.push('right');
|
737
|
+
result.push(_classPrivateFieldGet(this, _isRtl) ? 'left' : 'right');
|
763
738
|
}
|
764
739
|
if (thisBorders.bottom === rangeBorders.bottom) {
|
765
740
|
result.push('bottom');
|
766
741
|
}
|
767
742
|
if (thisBorders.left === rangeBorders.left) {
|
768
|
-
result.push('left');
|
743
|
+
result.push(_classPrivateFieldGet(this, _isRtl) ? 'right' : 'left');
|
769
744
|
}
|
770
745
|
return result;
|
771
746
|
}
|
@@ -161,36 +161,7 @@ class Scroll {
|
|
161
161
|
* @returns {number}
|
162
162
|
*/
|
163
163
|
getFirstVisibleRow() {
|
164
|
-
|
165
|
-
topOverlay,
|
166
|
-
wtTable,
|
167
|
-
wtViewport,
|
168
|
-
totalRows,
|
169
|
-
fixedRowsTop,
|
170
|
-
rootWindow
|
171
|
-
} = this.dataAccessObject;
|
172
|
-
let firstVisibleRow = wtTable.getFirstVisibleRow();
|
173
|
-
if (topOverlay.mainTableScrollableElement === rootWindow) {
|
174
|
-
const rootElementOffset = (0, _element.offset)(wtTable.wtRootElement);
|
175
|
-
const totalTableHeight = (0, _element.innerHeight)(wtTable.hider);
|
176
|
-
const windowHeight = (0, _element.innerHeight)(rootWindow);
|
177
|
-
const windowScrollTop = (0, _element.getScrollTop)(rootWindow, rootWindow);
|
178
|
-
|
179
|
-
// Only calculate firstVisibleRow when table didn't filled (from up) whole viewport space
|
180
|
-
if (rootElementOffset.top + totalTableHeight - windowHeight <= windowScrollTop) {
|
181
|
-
let rowsHeight = wtViewport.getColumnHeaderHeight();
|
182
|
-
rowsHeight += topOverlay.sumCellSizes(0, fixedRowsTop);
|
183
|
-
for (let row = totalRows; row > 0; row--) {
|
184
|
-
rowsHeight += topOverlay.sumCellSizes(row - 1, row);
|
185
|
-
if (rootElementOffset.top + totalTableHeight - rowsHeight <= windowScrollTop) {
|
186
|
-
// Return physical row + 1
|
187
|
-
firstVisibleRow = row;
|
188
|
-
break;
|
189
|
-
}
|
190
|
-
}
|
191
|
-
}
|
192
|
-
}
|
193
|
-
return firstVisibleRow;
|
164
|
+
return this.dataAccessObject.wtTable.getFirstVisibleRow();
|
194
165
|
}
|
195
166
|
|
196
167
|
/**
|
@@ -234,34 +205,7 @@ class Scroll {
|
|
234
205
|
* @returns {number}
|
235
206
|
*/
|
236
207
|
getFirstVisibleColumn() {
|
237
|
-
|
238
|
-
inlineStartOverlay,
|
239
|
-
wtTable,
|
240
|
-
wtViewport,
|
241
|
-
totalColumns,
|
242
|
-
rootWindow
|
243
|
-
} = this.dataAccessObject;
|
244
|
-
let firstVisibleColumn = wtTable.getFirstVisibleColumn();
|
245
|
-
if (inlineStartOverlay.mainTableScrollableElement === rootWindow) {
|
246
|
-
const rootElementOffset = (0, _element.offset)(wtTable.wtRootElement);
|
247
|
-
const totalTableWidth = (0, _element.innerWidth)(wtTable.hider);
|
248
|
-
const windowWidth = (0, _element.innerWidth)(rootWindow);
|
249
|
-
const windowScrollLeft = Math.abs((0, _element.getScrollLeft)(rootWindow, rootWindow));
|
250
|
-
|
251
|
-
// Only calculate firstVisibleColumn when table didn't filled (from left) whole viewport space
|
252
|
-
if (rootElementOffset.left + totalTableWidth - windowWidth <= windowScrollLeft) {
|
253
|
-
let columnsWidth = wtViewport.getRowHeaderWidth();
|
254
|
-
for (let column = totalColumns; column > 0; column--) {
|
255
|
-
columnsWidth += inlineStartOverlay.sumCellSizes(column - 1, column);
|
256
|
-
if (rootElementOffset.left + totalTableWidth - columnsWidth <= windowScrollLeft) {
|
257
|
-
// Return physical column + 1
|
258
|
-
firstVisibleColumn = column;
|
259
|
-
break;
|
260
|
-
}
|
261
|
-
}
|
262
|
-
}
|
263
|
-
}
|
264
|
-
return firstVisibleColumn;
|
208
|
+
return this.dataAccessObject.wtTable.getFirstVisibleColumn();
|
265
209
|
}
|
266
210
|
|
267
211
|
/**
|
@@ -158,36 +158,7 @@ class Scroll {
|
|
158
158
|
* @returns {number}
|
159
159
|
*/
|
160
160
|
getFirstVisibleRow() {
|
161
|
-
|
162
|
-
topOverlay,
|
163
|
-
wtTable,
|
164
|
-
wtViewport,
|
165
|
-
totalRows,
|
166
|
-
fixedRowsTop,
|
167
|
-
rootWindow
|
168
|
-
} = this.dataAccessObject;
|
169
|
-
let firstVisibleRow = wtTable.getFirstVisibleRow();
|
170
|
-
if (topOverlay.mainTableScrollableElement === rootWindow) {
|
171
|
-
const rootElementOffset = offset(wtTable.wtRootElement);
|
172
|
-
const totalTableHeight = innerHeight(wtTable.hider);
|
173
|
-
const windowHeight = innerHeight(rootWindow);
|
174
|
-
const windowScrollTop = getScrollTop(rootWindow, rootWindow);
|
175
|
-
|
176
|
-
// Only calculate firstVisibleRow when table didn't filled (from up) whole viewport space
|
177
|
-
if (rootElementOffset.top + totalTableHeight - windowHeight <= windowScrollTop) {
|
178
|
-
let rowsHeight = wtViewport.getColumnHeaderHeight();
|
179
|
-
rowsHeight += topOverlay.sumCellSizes(0, fixedRowsTop);
|
180
|
-
for (let row = totalRows; row > 0; row--) {
|
181
|
-
rowsHeight += topOverlay.sumCellSizes(row - 1, row);
|
182
|
-
if (rootElementOffset.top + totalTableHeight - rowsHeight <= windowScrollTop) {
|
183
|
-
// Return physical row + 1
|
184
|
-
firstVisibleRow = row;
|
185
|
-
break;
|
186
|
-
}
|
187
|
-
}
|
188
|
-
}
|
189
|
-
}
|
190
|
-
return firstVisibleRow;
|
161
|
+
return this.dataAccessObject.wtTable.getFirstVisibleRow();
|
191
162
|
}
|
192
163
|
|
193
164
|
/**
|
@@ -231,34 +202,7 @@ class Scroll {
|
|
231
202
|
* @returns {number}
|
232
203
|
*/
|
233
204
|
getFirstVisibleColumn() {
|
234
|
-
|
235
|
-
inlineStartOverlay,
|
236
|
-
wtTable,
|
237
|
-
wtViewport,
|
238
|
-
totalColumns,
|
239
|
-
rootWindow
|
240
|
-
} = this.dataAccessObject;
|
241
|
-
let firstVisibleColumn = wtTable.getFirstVisibleColumn();
|
242
|
-
if (inlineStartOverlay.mainTableScrollableElement === rootWindow) {
|
243
|
-
const rootElementOffset = offset(wtTable.wtRootElement);
|
244
|
-
const totalTableWidth = innerWidth(wtTable.hider);
|
245
|
-
const windowWidth = innerWidth(rootWindow);
|
246
|
-
const windowScrollLeft = Math.abs(getScrollLeft(rootWindow, rootWindow));
|
247
|
-
|
248
|
-
// Only calculate firstVisibleColumn when table didn't filled (from left) whole viewport space
|
249
|
-
if (rootElementOffset.left + totalTableWidth - windowWidth <= windowScrollLeft) {
|
250
|
-
let columnsWidth = wtViewport.getRowHeaderWidth();
|
251
|
-
for (let column = totalColumns; column > 0; column--) {
|
252
|
-
columnsWidth += inlineStartOverlay.sumCellSizes(column - 1, column);
|
253
|
-
if (rootElementOffset.left + totalTableWidth - columnsWidth <= windowScrollLeft) {
|
254
|
-
// Return physical column + 1
|
255
|
-
firstVisibleColumn = column;
|
256
|
-
break;
|
257
|
-
}
|
258
|
-
}
|
259
|
-
}
|
260
|
-
}
|
261
|
-
return firstVisibleColumn;
|
205
|
+
return this.dataAccessObject.wtTable.getFirstVisibleColumn();
|
262
206
|
}
|
263
207
|
|
264
208
|
/**
|
package/base.js
CHANGED
@@ -45,8 +45,8 @@ Handsontable.hooks = _pluginHooks.default.getSingleton();
|
|
45
45
|
Handsontable.CellCoords = _src.CellCoords;
|
46
46
|
Handsontable.CellRange = _src.CellRange;
|
47
47
|
Handsontable.packageName = 'handsontable';
|
48
|
-
Handsontable.buildDate = "
|
49
|
-
Handsontable.version = "0.0.0-next-
|
48
|
+
Handsontable.buildDate = "02/01/2024 09:15:54";
|
49
|
+
Handsontable.version = "0.0.0-next-3388fcb-20240102";
|
50
50
|
Handsontable.languages = {
|
51
51
|
dictionaryKeys: _registry.dictionaryKeys,
|
52
52
|
getLanguageDictionary: _registry.getLanguageDictionary,
|
package/base.mjs
CHANGED
@@ -35,8 +35,8 @@ Handsontable.hooks = Hooks.getSingleton();
|
|
35
35
|
Handsontable.CellCoords = CellCoords;
|
36
36
|
Handsontable.CellRange = CellRange;
|
37
37
|
Handsontable.packageName = 'handsontable';
|
38
|
-
Handsontable.buildDate = "
|
39
|
-
Handsontable.version = "0.0.0-next-
|
38
|
+
Handsontable.buildDate = "02/01/2024 09:16:00";
|
39
|
+
Handsontable.version = "0.0.0-next-3388fcb-20240102";
|
40
40
|
Handsontable.languages = {
|
41
41
|
dictionaryKeys,
|
42
42
|
getLanguageDictionary,
|
package/dist/handsontable.css
CHANGED
@@ -25,8 +25,8 @@
|
|
25
25
|
* INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER ARISING FROM
|
26
26
|
* USE OR INABILITY TO USE THIS SOFTWARE.
|
27
27
|
*
|
28
|
-
* Version: 0.0.0-next-
|
29
|
-
* Release date: 30/11/2023 (built at
|
28
|
+
* Version: 0.0.0-next-3388fcb-20240102
|
29
|
+
* Release date: 30/11/2023 (built at 02/01/2024 09:16:05)
|
30
30
|
*/
|
31
31
|
/**
|
32
32
|
* Fix for bootstrap styles
|
@@ -25,8 +25,8 @@
|
|
25
25
|
* INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER ARISING FROM
|
26
26
|
* USE OR INABILITY TO USE THIS SOFTWARE.
|
27
27
|
*
|
28
|
-
* Version: 0.0.0-next-
|
29
|
-
* Release date: 30/11/2023 (built at
|
28
|
+
* Version: 0.0.0-next-3388fcb-20240102
|
29
|
+
* Release date: 30/11/2023 (built at 02/01/2024 09:16:05)
|
30
30
|
*/
|
31
31
|
/**
|
32
32
|
* Fix for bootstrap styles
|