handsontable 0.0.0-next-e989337-20240117 → 0.0.0-next-d82e84a-20240117
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 +11 -11
- package/dist/handsontable.full.min.css +2 -2
- package/dist/handsontable.full.min.js +4 -4
- package/dist/handsontable.js +11 -11
- 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 +1 -1
- package/utils/ghostTable.js +6 -6
- package/utils/ghostTable.mjs +6 -6
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-d82e84a-20240117";
|
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-d82e84a-20240117";
|
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-d82e84a-20240117",
|
14
14
|
"main": "index",
|
15
15
|
"module": "index.mjs",
|
16
16
|
"jsnext:main": "index.mjs",
|
package/utils/ghostTable.js
CHANGED
@@ -65,7 +65,7 @@ class GhostTable {
|
|
65
65
|
/**
|
66
66
|
* Add row.
|
67
67
|
*
|
68
|
-
* @param {number} row
|
68
|
+
* @param {number} row Visual row index.
|
69
69
|
* @param {Map} samples Samples Map object.
|
70
70
|
*/
|
71
71
|
addRow(row, samples) {
|
@@ -112,7 +112,7 @@ class GhostTable {
|
|
112
112
|
/**
|
113
113
|
* Add column.
|
114
114
|
*
|
115
|
-
* @param {number} column
|
115
|
+
* @param {number} column Visual column index.
|
116
116
|
* @param {Map} samples A map with sampled table values.
|
117
117
|
*/
|
118
118
|
addColumn(column, samples) {
|
@@ -244,7 +244,7 @@ class GhostTable {
|
|
244
244
|
/**
|
245
245
|
* Create table row element.
|
246
246
|
*
|
247
|
-
* @param {number} row
|
247
|
+
* @param {number} row Visual row index.
|
248
248
|
* @returns {DocumentFragment} Returns created table row elements.
|
249
249
|
*/
|
250
250
|
createRow(row) {
|
@@ -312,7 +312,7 @@ class GhostTable {
|
|
312
312
|
/**
|
313
313
|
* Create table column elements.
|
314
314
|
*
|
315
|
-
* @param {number} column
|
315
|
+
* @param {number} column Visual column index.
|
316
316
|
* @returns {DocumentFragment} Returns created column table column elements.
|
317
317
|
*/
|
318
318
|
createCol(column) {
|
@@ -392,10 +392,10 @@ class GhostTable {
|
|
392
392
|
if (row >= 0 && column >= 0) {
|
393
393
|
colspan = this.hot.getCellMeta(row, column).colspan;
|
394
394
|
}
|
395
|
-
let width = this.hot.
|
395
|
+
let width = this.hot.getColWidth(column);
|
396
396
|
if (colspan > 1) {
|
397
397
|
for (let nextColumn = column + 1; nextColumn < column + colspan; nextColumn++) {
|
398
|
-
width += this.hot.
|
398
|
+
width += this.hot.getColWidth(nextColumn);
|
399
399
|
}
|
400
400
|
}
|
401
401
|
col.style.width = `${width}px`;
|
package/utils/ghostTable.mjs
CHANGED
@@ -62,7 +62,7 @@ class GhostTable {
|
|
62
62
|
/**
|
63
63
|
* Add row.
|
64
64
|
*
|
65
|
-
* @param {number} row
|
65
|
+
* @param {number} row Visual row index.
|
66
66
|
* @param {Map} samples Samples Map object.
|
67
67
|
*/
|
68
68
|
addRow(row, samples) {
|
@@ -109,7 +109,7 @@ class GhostTable {
|
|
109
109
|
/**
|
110
110
|
* Add column.
|
111
111
|
*
|
112
|
-
* @param {number} column
|
112
|
+
* @param {number} column Visual column index.
|
113
113
|
* @param {Map} samples A map with sampled table values.
|
114
114
|
*/
|
115
115
|
addColumn(column, samples) {
|
@@ -241,7 +241,7 @@ class GhostTable {
|
|
241
241
|
/**
|
242
242
|
* Create table row element.
|
243
243
|
*
|
244
|
-
* @param {number} row
|
244
|
+
* @param {number} row Visual row index.
|
245
245
|
* @returns {DocumentFragment} Returns created table row elements.
|
246
246
|
*/
|
247
247
|
createRow(row) {
|
@@ -309,7 +309,7 @@ class GhostTable {
|
|
309
309
|
/**
|
310
310
|
* Create table column elements.
|
311
311
|
*
|
312
|
-
* @param {number} column
|
312
|
+
* @param {number} column Visual column index.
|
313
313
|
* @returns {DocumentFragment} Returns created column table column elements.
|
314
314
|
*/
|
315
315
|
createCol(column) {
|
@@ -389,10 +389,10 @@ class GhostTable {
|
|
389
389
|
if (row >= 0 && column >= 0) {
|
390
390
|
colspan = this.hot.getCellMeta(row, column).colspan;
|
391
391
|
}
|
392
|
-
let width = this.hot.
|
392
|
+
let width = this.hot.getColWidth(column);
|
393
393
|
if (colspan > 1) {
|
394
394
|
for (let nextColumn = column + 1; nextColumn < column + colspan; nextColumn++) {
|
395
|
-
width += this.hot.
|
395
|
+
width += this.hot.getColWidth(nextColumn);
|
396
396
|
}
|
397
397
|
}
|
398
398
|
col.style.width = `${width}px`;
|