handsontable 0.0.0-next-1af4e47-20241125 → 0.0.0-next-c3d40ad-20241127
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/core/_base.js +19 -23
- package/3rdparty/walkontable/src/core/_base.mjs +19 -23
- package/3rdparty/walkontable/src/facade/core.js +6 -6
- package/3rdparty/walkontable/src/facade/core.mjs +6 -6
- package/3rdparty/walkontable/src/scroll.js +46 -37
- package/3rdparty/walkontable/src/scroll.mjs +46 -37
- package/base.js +2 -2
- package/base.mjs +2 -2
- package/core/hooks/constants.js +7 -0
- package/core/hooks/constants.mjs +7 -0
- package/core/hooks/index.d.ts +2 -2
- package/core.js +3 -17
- package/core.mjs +3 -17
- package/dist/handsontable.css +2 -2
- package/dist/handsontable.full.css +2 -2
- package/dist/handsontable.full.js +181 -218
- package/dist/handsontable.full.min.css +2 -2
- package/dist/handsontable.full.min.js +11 -11
- package/dist/handsontable.js +181 -218
- package/dist/handsontable.min.css +2 -2
- package/dist/handsontable.min.js +33 -33
- package/helpers/mixed.js +1 -1
- package/helpers/mixed.mjs +1 -1
- package/package.json +1 -1
- package/plugins/contextMenu/predefinedItems/alignment.js +7 -84
- package/plugins/contextMenu/predefinedItems/alignment.mjs +8 -85
- package/plugins/contextMenu/utils.js +0 -10
- package/plugins/contextMenu/utils.mjs +0 -9
- package/plugins/nestedHeaders/nestedHeaders.js +60 -15
- package/plugins/nestedHeaders/nestedHeaders.mjs +60 -15
- package/selection/selection.js +4 -2
- package/selection/selection.mjs +4 -2
- package/tableView.js +23 -18
- package/tableView.mjs +23 -18
package/core.mjs
CHANGED
@@ -4078,22 +4078,8 @@ export default function Core(rootElement, userSettings) {
|
|
4078
4078
|
const {
|
4079
4079
|
row,
|
4080
4080
|
col,
|
4081
|
-
verticalSnap,
|
4082
|
-
horizontalSnap,
|
4083
4081
|
considerHiddenIndexes
|
4084
4082
|
} = (_options = options) !== null && _options !== void 0 ? _options : {};
|
4085
|
-
let snapToTop;
|
4086
|
-
let snapToBottom;
|
4087
|
-
let snapToInlineStart;
|
4088
|
-
let snapToInlineEnd;
|
4089
|
-
if (verticalSnap !== undefined) {
|
4090
|
-
snapToTop = verticalSnap === 'top';
|
4091
|
-
snapToBottom = !snapToTop;
|
4092
|
-
}
|
4093
|
-
if (horizontalSnap !== undefined) {
|
4094
|
-
snapToInlineStart = horizontalSnap === 'start';
|
4095
|
-
snapToInlineEnd = !snapToInlineStart;
|
4096
|
-
}
|
4097
4083
|
let renderableRow = row;
|
4098
4084
|
let renderableColumn = col;
|
4099
4085
|
if (considerHiddenIndexes === undefined || considerHiddenIndexes) {
|
@@ -4110,13 +4096,13 @@ export default function Core(rootElement, userSettings) {
|
|
4110
4096
|
const isRowInteger = Number.isInteger(renderableRow);
|
4111
4097
|
const isColumnInteger = Number.isInteger(renderableColumn);
|
4112
4098
|
if (isRowInteger && renderableRow >= 0 && isColumnInteger && renderableColumn >= 0) {
|
4113
|
-
return instance.view.scrollViewport(instance._createCellCoords(renderableRow, renderableColumn),
|
4099
|
+
return instance.view.scrollViewport(instance._createCellCoords(renderableRow, renderableColumn), options.horizontalSnap, options.verticalSnap);
|
4114
4100
|
}
|
4115
4101
|
if (isRowInteger && renderableRow >= 0 && (isColumnInteger && renderableColumn < 0 || !isColumnInteger)) {
|
4116
|
-
return instance.view.scrollViewportVertically(renderableRow,
|
4102
|
+
return instance.view.scrollViewportVertically(renderableRow, options.verticalSnap);
|
4117
4103
|
}
|
4118
4104
|
if (isColumnInteger && renderableColumn >= 0 && (isRowInteger && renderableRow < 0 || !isRowInteger)) {
|
4119
|
-
return instance.view.scrollViewportHorizontally(renderableColumn,
|
4105
|
+
return instance.view.scrollViewportHorizontally(renderableColumn, options.horizontalSnap);
|
4120
4106
|
}
|
4121
4107
|
return false;
|
4122
4108
|
};
|
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: 17/10/2024 (built at
|
28
|
+
* Version: 0.0.0-next-c3d40ad-20241127
|
29
|
+
* Release date: 17/10/2024 (built at 27/11/2024 10:03:20)
|
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: 17/10/2024 (built at
|
28
|
+
* Version: 0.0.0-next-c3d40ad-20241127
|
29
|
+
* Release date: 17/10/2024 (built at 27/11/2024 10:03:20)
|
30
30
|
*/
|
31
31
|
/**
|
32
32
|
* Fix for bootstrap styles
|