handsontable 0.0.0-next-56d54d6-20240423 → 0.0.0-next-9ed2854-20240426
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/calculator/viewportColumns.js +2 -2
- package/3rdparty/walkontable/src/calculator/viewportColumns.mjs +2 -2
- package/3rdparty/walkontable/src/calculator/viewportRows.js +1 -1
- package/3rdparty/walkontable/src/calculator/viewportRows.mjs +1 -1
- package/3rdparty/walkontable/src/viewport.js +18 -10
- package/3rdparty/walkontable/src/viewport.mjs +18 -10
- 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 +421 -5882
- package/dist/handsontable.full.min.css +2 -2
- package/dist/handsontable.full.min.js +80 -272
- package/dist/handsontable.js +26 -18
- package/dist/handsontable.min.css +2 -2
- package/dist/handsontable.min.js +4 -4
- package/helpers/mixed.js +1 -1
- package/helpers/mixed.mjs +1 -1
- package/package.json +5 -3
@@ -137,9 +137,9 @@ class ViewportColumnsCalculator {
|
|
137
137
|
const inlineStartColumnOffset = calculationType === _constants.FULLY_VISIBLE_TYPE ? firstVisibleColumnWidth : 0;
|
138
138
|
if (
|
139
139
|
// the table is to the left of the viewport
|
140
|
-
mostRightScrollOffset < -1 * _classPrivateFieldGet(_options, this).inlineStartOffset || scrollOffset
|
140
|
+
mostRightScrollOffset < -1 * _classPrivateFieldGet(_options, this).inlineStartOffset || scrollOffset > startPositions.at(-1) + inlineEndColumnOffset ||
|
141
141
|
// the table is to the right of the viewport
|
142
|
-
-1 * _classPrivateFieldGet(_options, this).scrollOffset - _classPrivateFieldGet(_options, this).viewportWidth
|
142
|
+
-1 * _classPrivateFieldGet(_options, this).scrollOffset - _classPrivateFieldGet(_options, this).viewportWidth > -1 * inlineStartColumnOffset) {
|
143
143
|
this.isVisibleInTrimmingContainer = false;
|
144
144
|
} else {
|
145
145
|
this.isVisibleInTrimmingContainer = true;
|
@@ -134,9 +134,9 @@ export class ViewportColumnsCalculator {
|
|
134
134
|
const inlineStartColumnOffset = calculationType === FULLY_VISIBLE_TYPE ? firstVisibleColumnWidth : 0;
|
135
135
|
if (
|
136
136
|
// the table is to the left of the viewport
|
137
|
-
mostRightScrollOffset < -1 * _classPrivateFieldGet(_options, this).inlineStartOffset || scrollOffset
|
137
|
+
mostRightScrollOffset < -1 * _classPrivateFieldGet(_options, this).inlineStartOffset || scrollOffset > startPositions.at(-1) + inlineEndColumnOffset ||
|
138
138
|
// the table is to the right of the viewport
|
139
|
-
-1 * _classPrivateFieldGet(_options, this).scrollOffset - _classPrivateFieldGet(_options, this).viewportWidth
|
139
|
+
-1 * _classPrivateFieldGet(_options, this).scrollOffset - _classPrivateFieldGet(_options, this).viewportWidth > -1 * inlineStartColumnOffset) {
|
140
140
|
this.isVisibleInTrimmingContainer = false;
|
141
141
|
} else {
|
142
142
|
this.isVisibleInTrimmingContainer = true;
|
@@ -138,7 +138,7 @@ class ViewportRowsCalculator {
|
|
138
138
|
const mostBottomScrollOffset = scrollOffset + viewportHeight - horizontalScrollbarHeight;
|
139
139
|
const topRowOffset = calculationType === _constants.FULLY_VISIBLE_TYPE ? firstVisibleRowHeight : 0;
|
140
140
|
const bottomRowOffset = calculationType === _constants.FULLY_VISIBLE_TYPE ? 0 : lastVisibleRowHeight;
|
141
|
-
if (mostBottomScrollOffset
|
141
|
+
if (mostBottomScrollOffset < topRowOffset || scrollOffset > startPositions.at(-1) + bottomRowOffset) {
|
142
142
|
this.isVisibleInTrimmingContainer = false;
|
143
143
|
} else {
|
144
144
|
this.isVisibleInTrimmingContainer = true;
|
@@ -135,7 +135,7 @@ export class ViewportRowsCalculator {
|
|
135
135
|
const mostBottomScrollOffset = scrollOffset + viewportHeight - horizontalScrollbarHeight;
|
136
136
|
const topRowOffset = calculationType === FULLY_VISIBLE_TYPE ? firstVisibleRowHeight : 0;
|
137
137
|
const bottomRowOffset = calculationType === FULLY_VISIBLE_TYPE ? 0 : lastVisibleRowHeight;
|
138
|
-
if (mostBottomScrollOffset
|
138
|
+
if (mostBottomScrollOffset < topRowOffset || scrollOffset > startPositions.at(-1) + bottomRowOffset) {
|
139
139
|
this.isVisibleInTrimmingContainer = false;
|
140
140
|
} else {
|
141
141
|
this.isVisibleInTrimmingContainer = true;
|
@@ -398,15 +398,19 @@ class Viewport {
|
|
398
398
|
if (!this.rowsVisibleCalculator) {
|
399
399
|
return false;
|
400
400
|
}
|
401
|
-
|
401
|
+
let {
|
402
402
|
startRow,
|
403
|
-
endRow
|
404
|
-
isVisibleInTrimmingContainer
|
403
|
+
endRow
|
405
404
|
} = proposedRowsVisibleCalculator;
|
406
405
|
|
407
|
-
// if there are no fully visible rows at all
|
406
|
+
// if there are no fully visible rows at all...
|
408
407
|
if (startRow === null && endRow === null) {
|
409
|
-
|
408
|
+
if (!proposedRowsVisibleCalculator.isVisibleInTrimmingContainer) {
|
409
|
+
return true;
|
410
|
+
}
|
411
|
+
// ...use partially visible rows calculator to determine what render type is needed
|
412
|
+
startRow = this.rowsPartiallyVisibleCalculator.startRow;
|
413
|
+
endRow = this.rowsPartiallyVisibleCalculator.endRow;
|
410
414
|
}
|
411
415
|
const {
|
412
416
|
startRow: renderedStartRow,
|
@@ -432,15 +436,19 @@ class Viewport {
|
|
432
436
|
if (!this.columnsVisibleCalculator) {
|
433
437
|
return false;
|
434
438
|
}
|
435
|
-
|
439
|
+
let {
|
436
440
|
startColumn,
|
437
|
-
endColumn
|
438
|
-
isVisibleInTrimmingContainer
|
441
|
+
endColumn
|
439
442
|
} = proposedColumnsVisibleCalculator;
|
440
443
|
|
441
|
-
// if there are no fully visible columns at all
|
444
|
+
// if there are no fully visible columns at all...
|
442
445
|
if (startColumn === null && endColumn === null) {
|
443
|
-
|
446
|
+
if (!proposedColumnsVisibleCalculator.isVisibleInTrimmingContainer) {
|
447
|
+
return true;
|
448
|
+
}
|
449
|
+
// ...use partially visible columns calculator to determine what render type is needed
|
450
|
+
startColumn = this.columnsPartiallyVisibleCalculator.startColumn;
|
451
|
+
endColumn = this.columnsPartiallyVisibleCalculator.endColumn;
|
444
452
|
}
|
445
453
|
const {
|
446
454
|
startColumn: renderedStartColumn,
|
@@ -395,15 +395,19 @@ class Viewport {
|
|
395
395
|
if (!this.rowsVisibleCalculator) {
|
396
396
|
return false;
|
397
397
|
}
|
398
|
-
|
398
|
+
let {
|
399
399
|
startRow,
|
400
|
-
endRow
|
401
|
-
isVisibleInTrimmingContainer
|
400
|
+
endRow
|
402
401
|
} = proposedRowsVisibleCalculator;
|
403
402
|
|
404
|
-
// if there are no fully visible rows at all
|
403
|
+
// if there are no fully visible rows at all...
|
405
404
|
if (startRow === null && endRow === null) {
|
406
|
-
|
405
|
+
if (!proposedRowsVisibleCalculator.isVisibleInTrimmingContainer) {
|
406
|
+
return true;
|
407
|
+
}
|
408
|
+
// ...use partially visible rows calculator to determine what render type is needed
|
409
|
+
startRow = this.rowsPartiallyVisibleCalculator.startRow;
|
410
|
+
endRow = this.rowsPartiallyVisibleCalculator.endRow;
|
407
411
|
}
|
408
412
|
const {
|
409
413
|
startRow: renderedStartRow,
|
@@ -429,15 +433,19 @@ class Viewport {
|
|
429
433
|
if (!this.columnsVisibleCalculator) {
|
430
434
|
return false;
|
431
435
|
}
|
432
|
-
|
436
|
+
let {
|
433
437
|
startColumn,
|
434
|
-
endColumn
|
435
|
-
isVisibleInTrimmingContainer
|
438
|
+
endColumn
|
436
439
|
} = proposedColumnsVisibleCalculator;
|
437
440
|
|
438
|
-
// if there are no fully visible columns at all
|
441
|
+
// if there are no fully visible columns at all...
|
439
442
|
if (startColumn === null && endColumn === null) {
|
440
|
-
|
443
|
+
if (!proposedColumnsVisibleCalculator.isVisibleInTrimmingContainer) {
|
444
|
+
return true;
|
445
|
+
}
|
446
|
+
// ...use partially visible columns calculator to determine what render type is needed
|
447
|
+
startColumn = this.columnsPartiallyVisibleCalculator.startColumn;
|
448
|
+
endColumn = this.columnsPartiallyVisibleCalculator.endColumn;
|
441
449
|
}
|
442
450
|
const {
|
443
451
|
startColumn: renderedStartColumn,
|
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 = "26/04/2024 08:35:27";
|
49
|
+
Handsontable.version = "0.0.0-next-9ed2854-20240426";
|
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 = "26/04/2024 08:35:33";
|
39
|
+
Handsontable.version = "0.0.0-next-9ed2854-20240426";
|
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: 16/04/2024 (built at
|
28
|
+
* Version: 0.0.0-next-9ed2854-20240426
|
29
|
+
* Release date: 16/04/2024 (built at 26/04/2024 08:35:38)
|
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: 16/04/2024 (built at
|
28
|
+
* Version: 0.0.0-next-9ed2854-20240426
|
29
|
+
* Release date: 16/04/2024 (built at 26/04/2024 08:35:38)
|
30
30
|
*/
|
31
31
|
/**
|
32
32
|
* Fix for bootstrap styles
|