handsontable 0.0.0-next-eb8532d-20240619 → 0.0.0-next-0879a9d-20240620
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/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 +19 -5
- package/dist/handsontable.full.min.css +2 -2
- package/dist/handsontable.full.min.js +5 -5
- package/dist/handsontable.js +19 -5
- package/dist/handsontable.min.css +2 -2
- package/dist/handsontable.min.js +5 -5
- package/helpers/mixed.js +1 -1
- package/helpers/mixed.mjs +1 -1
- package/package.json +1 -1
- package/selection/selection.js +4 -0
- package/selection/selection.mjs +4 -0
- package/selection/transformation.js +10 -0
- package/selection/transformation.mjs +10 -0
package/helpers/mixed.js
CHANGED
@@ -134,7 +134,7 @@ const domMessages = {
|
|
134
134
|
function _injectProductInfo(key, element) {
|
135
135
|
const hasValidType = !isEmpty(key);
|
136
136
|
const isNonCommercial = typeof key === 'string' && key.toLowerCase() === 'non-commercial-and-evaluation';
|
137
|
-
const hotVersion = "0.0.0-next-
|
137
|
+
const hotVersion = "0.0.0-next-0879a9d-20240620";
|
138
138
|
let keyValidityDate;
|
139
139
|
let consoleMessageState = 'invalid';
|
140
140
|
let domMessageState = 'invalid';
|
package/helpers/mixed.mjs
CHANGED
@@ -124,7 +124,7 @@ const domMessages = {
|
|
124
124
|
export function _injectProductInfo(key, element) {
|
125
125
|
const hasValidType = !isEmpty(key);
|
126
126
|
const isNonCommercial = typeof key === 'string' && key.toLowerCase() === 'non-commercial-and-evaluation';
|
127
|
-
const hotVersion = "0.0.0-next-
|
127
|
+
const hotVersion = "0.0.0-next-0879a9d-20240620";
|
128
128
|
let keyValidityDate;
|
129
129
|
let consoleMessageState = 'invalid';
|
130
130
|
let domMessageState = 'invalid';
|
package/package.json
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
"url": "https://github.com/handsontable/handsontable/issues"
|
11
11
|
},
|
12
12
|
"author": "Handsoncode <hello@handsontable.com>",
|
13
|
-
"version": "0.0.0-next-
|
13
|
+
"version": "0.0.0-next-0879a9d-20240620",
|
14
14
|
"main": "index",
|
15
15
|
"module": "index.mjs",
|
16
16
|
"jsnext:main": "index.mjs",
|
package/selection/selection.js
CHANGED
@@ -571,6 +571,8 @@ class Selection {
|
|
571
571
|
x: this.tableProps.countRowHeaders(),
|
572
572
|
y: this.tableProps.countColHeaders()
|
573
573
|
});
|
574
|
+
} else {
|
575
|
+
_classPrivateFieldGet(_transformation, this).resetOffsetSize();
|
574
576
|
}
|
575
577
|
this.setRangeStart(_classPrivateFieldGet(_transformation, this).transformStart(rowDelta, colDelta, createMissingRecords));
|
576
578
|
}
|
@@ -587,6 +589,8 @@ class Selection {
|
|
587
589
|
x: this.tableProps.countRowHeaders(),
|
588
590
|
y: this.tableProps.countColHeaders()
|
589
591
|
});
|
592
|
+
} else {
|
593
|
+
_classPrivateFieldGet(_transformation, this).resetOffsetSize();
|
590
594
|
}
|
591
595
|
this.setRangeEnd(_classPrivateFieldGet(_transformation, this).transformEnd(rowDelta, colDelta));
|
592
596
|
}
|
package/selection/selection.mjs
CHANGED
@@ -565,6 +565,8 @@ class Selection {
|
|
565
565
|
x: this.tableProps.countRowHeaders(),
|
566
566
|
y: this.tableProps.countColHeaders()
|
567
567
|
});
|
568
|
+
} else {
|
569
|
+
_classPrivateFieldGet(_transformation, this).resetOffsetSize();
|
568
570
|
}
|
569
571
|
this.setRangeStart(_classPrivateFieldGet(_transformation, this).transformStart(rowDelta, colDelta, createMissingRecords));
|
570
572
|
}
|
@@ -581,6 +583,8 @@ class Selection {
|
|
581
583
|
x: this.tableProps.countRowHeaders(),
|
582
584
|
y: this.tableProps.countColHeaders()
|
583
585
|
});
|
586
|
+
} else {
|
587
|
+
_classPrivateFieldGet(_transformation, this).resetOffsetSize();
|
584
588
|
}
|
585
589
|
this.setRangeEnd(_classPrivateFieldGet(_transformation, this).transformEnd(rowDelta, colDelta));
|
586
590
|
}
|
@@ -226,6 +226,16 @@ class Transformation {
|
|
226
226
|
y
|
227
227
|
});
|
228
228
|
}
|
229
|
+
|
230
|
+
/**
|
231
|
+
* Resets the offset size to the default values.
|
232
|
+
*/
|
233
|
+
resetOffsetSize() {
|
234
|
+
_classPrivateFieldSet(_offset, this, {
|
235
|
+
x: 0,
|
236
|
+
y: 0
|
237
|
+
});
|
238
|
+
}
|
229
239
|
}
|
230
240
|
function _clampCoords(zeroBasedCoords) {
|
231
241
|
const {
|
@@ -222,6 +222,16 @@ class Transformation {
|
|
222
222
|
y
|
223
223
|
});
|
224
224
|
}
|
225
|
+
|
226
|
+
/**
|
227
|
+
* Resets the offset size to the default values.
|
228
|
+
*/
|
229
|
+
resetOffsetSize() {
|
230
|
+
_classPrivateFieldSet(_offset, this, {
|
231
|
+
x: 0,
|
232
|
+
y: 0
|
233
|
+
});
|
234
|
+
}
|
225
235
|
}
|
226
236
|
function _clampCoords(zeroBasedCoords) {
|
227
237
|
const {
|