handsontable 0.0.0-next-c129d3f-20240110 → 0.0.0-next-dbd8d56-20240110

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.

Potentially problematic release.


This version of handsontable might be problematic. Click here for more details.

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-c129d3f-20240110";
137
+ const hotVersion = "0.0.0-next-dbd8d56-20240110";
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-c129d3f-20240110";
127
+ const hotVersion = "0.0.0-next-dbd8d56-20240110";
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-c129d3f-20240110",
13
+ "version": "0.0.0-next-dbd8d56-20240110",
14
14
  "main": "index",
15
15
  "module": "index.mjs",
16
16
  "jsnext:main": "index.mjs",
@@ -102,6 +102,10 @@
102
102
  "optionalDependencies": {
103
103
  "hyperformula": "^2.4.0"
104
104
  },
105
+ "peerDependencies": {
106
+ "pikaday": "1.8.2",
107
+ "@types/pikaday": "1.7.4"
108
+ },
105
109
  "license": "SEE LICENSE IN LICENSE.txt",
106
110
  "typings": "./index.d.ts",
107
111
  "sideEffects": [
@@ -205,6 +205,11 @@ class AutoColumnSize extends _base.BasePlugin {
205
205
  * @fires Hooks#modifyAutoColumnSizeSeed
206
206
  */
207
207
  _defineProperty(this, "samplesGenerator", new _samplesGenerator.default((row, column) => {
208
+ const physicalRow = this.hot.toPhysicalRow(row);
209
+ const physicalColumn = this.hot.toPhysicalColumn(column);
210
+ if (this.hot.rowIndexMapper.isHidden(physicalRow) || this.hot.columnIndexMapper.isHidden(physicalColumn)) {
211
+ return false;
212
+ }
208
213
  const cellMeta = this.hot.getCellMeta(row, column);
209
214
  let cellValue = '';
210
215
  if (!cellMeta.spanned) {
@@ -201,6 +201,11 @@ export class AutoColumnSize extends BasePlugin {
201
201
  * @fires Hooks#modifyAutoColumnSizeSeed
202
202
  */
203
203
  _defineProperty(this, "samplesGenerator", new SamplesGenerator((row, column) => {
204
+ const physicalRow = this.hot.toPhysicalRow(row);
205
+ const physicalColumn = this.hot.toPhysicalColumn(column);
206
+ if (this.hot.rowIndexMapper.isHidden(physicalRow) || this.hot.columnIndexMapper.isHidden(physicalColumn)) {
207
+ return false;
208
+ }
204
209
  const cellMeta = this.hot.getCellMeta(row, column);
205
210
  let cellValue = '';
206
211
  if (!cellMeta.spanned) {
@@ -175,6 +175,11 @@ class AutoRowSize extends _base.BasePlugin {
175
175
  * @type {SamplesGenerator}
176
176
  */
177
177
  _defineProperty(this, "samplesGenerator", new _samplesGenerator.default((row, column) => {
178
+ const physicalRow = this.hot.toPhysicalRow(row);
179
+ const physicalColumn = this.hot.toPhysicalColumn(column);
180
+ if (this.hot.rowIndexMapper.isHidden(physicalRow) || this.hot.columnIndexMapper.isHidden(physicalColumn)) {
181
+ return false;
182
+ }
178
183
  if (row >= 0 && column >= 0) {
179
184
  const cellMeta = this.hot.getCellMeta(row, column);
180
185
  if (cellMeta.hidden) {
@@ -171,6 +171,11 @@ export class AutoRowSize extends BasePlugin {
171
171
  * @type {SamplesGenerator}
172
172
  */
173
173
  _defineProperty(this, "samplesGenerator", new SamplesGenerator((row, column) => {
174
+ const physicalRow = this.hot.toPhysicalRow(row);
175
+ const physicalColumn = this.hot.toPhysicalColumn(column);
176
+ if (this.hot.rowIndexMapper.isHidden(physicalRow) || this.hot.columnIndexMapper.isHidden(physicalColumn)) {
177
+ return false;
178
+ }
174
179
  if (row >= 0 && column >= 0) {
175
180
  const cellMeta = this.hot.getCellMeta(row, column);
176
181
  if (cellMeta.hidden) {