handsontable 0.0.0-next-6b996e8-20230714 → 0.0.0-next-e17457f-20230807
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 +3 -7
- package/dist/handsontable.full.css +3 -7
- package/dist/handsontable.full.js +14 -13
- package/dist/handsontable.full.min.css +3 -3
- package/dist/handsontable.full.min.js +2 -2
- package/dist/handsontable.js +14 -13
- package/dist/handsontable.min.css +3 -3
- package/dist/handsontable.min.js +2 -2
- package/helpers/mixed.js +1 -1
- package/helpers/mixed.mjs +1 -1
- package/package.json +1 -1
- package/plugins/copyPaste/copyPaste.js +8 -8
- package/plugins/copyPaste/copyPaste.mjs +8 -8
- package/plugins/mergeCells/mergeCells.js +1 -0
- package/plugins/mergeCells/mergeCells.mjs +1 -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-e17457f-20230807";
|
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-e17457f-20230807";
|
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-e17457f-20230807",
|
14
14
|
"main": "index",
|
15
15
|
"module": "index.mjs",
|
16
16
|
"jsnext:main": "index.mjs",
|
@@ -168,10 +168,10 @@ class CopyPaste extends _base.BasePlugin {
|
|
168
168
|
* Defines the data range to copy. Possible values:
|
169
169
|
* * `'cells-only'` Copy selected cells only;
|
170
170
|
* * `'column-headers-only'` Copy column headers only;
|
171
|
-
* * `'with-
|
171
|
+
* * `'with-column-group-headers'` Copy cells with all column headers;
|
172
172
|
* * `'with-column-headers'` Copy cells with column headers;
|
173
173
|
*
|
174
|
-
* @type {'cells-only' | 'column-headers-only' | 'with-
|
174
|
+
* @type {'cells-only' | 'column-headers-only' | 'with-column-group-headers' | 'with-column-headers'}
|
175
175
|
*/
|
176
176
|
_classPrivateFieldInitSpec(this, _copyMode, {
|
177
177
|
writable: true,
|
@@ -306,12 +306,12 @@ class CopyPaste extends _base.BasePlugin {
|
|
306
306
|
*
|
307
307
|
* Takes an optional parameter (`copyMode`) that defines the scope of copying:
|
308
308
|
*
|
309
|
-
* | `copyMode` value
|
310
|
-
* |
|
311
|
-
* | `'cells-only'` (default)
|
312
|
-
* | `'with-column-headers'`
|
313
|
-
* | `'with-
|
314
|
-
* | `'column-headers-only'`
|
309
|
+
* | `copyMode` value | Description |
|
310
|
+
* | ----------------------------- | --------------------------------------------------------------- |
|
311
|
+
* | `'cells-only'` (default) | Copy the selected cells |
|
312
|
+
* | `'with-column-headers'` | - Copy the selected cells<br>- Copy the nearest column headers |
|
313
|
+
* | `'with-column-group-headers'` | - Copy the selected cells<br>- Copy all related columns headers |
|
314
|
+
* | `'column-headers-only'` | Copy the nearest column headers (without copying cells) |
|
315
315
|
*
|
316
316
|
* @param {string} [copyMode='cells-only'] Copy mode.
|
317
317
|
*/
|
@@ -162,10 +162,10 @@ export class CopyPaste extends BasePlugin {
|
|
162
162
|
* Defines the data range to copy. Possible values:
|
163
163
|
* * `'cells-only'` Copy selected cells only;
|
164
164
|
* * `'column-headers-only'` Copy column headers only;
|
165
|
-
* * `'with-
|
165
|
+
* * `'with-column-group-headers'` Copy cells with all column headers;
|
166
166
|
* * `'with-column-headers'` Copy cells with column headers;
|
167
167
|
*
|
168
|
-
* @type {'cells-only' | 'column-headers-only' | 'with-
|
168
|
+
* @type {'cells-only' | 'column-headers-only' | 'with-column-group-headers' | 'with-column-headers'}
|
169
169
|
*/
|
170
170
|
_classPrivateFieldInitSpec(this, _copyMode, {
|
171
171
|
writable: true,
|
@@ -300,12 +300,12 @@ export class CopyPaste extends BasePlugin {
|
|
300
300
|
*
|
301
301
|
* Takes an optional parameter (`copyMode`) that defines the scope of copying:
|
302
302
|
*
|
303
|
-
* | `copyMode` value
|
304
|
-
* |
|
305
|
-
* | `'cells-only'` (default)
|
306
|
-
* | `'with-column-headers'`
|
307
|
-
* | `'with-
|
308
|
-
* | `'column-headers-only'`
|
303
|
+
* | `copyMode` value | Description |
|
304
|
+
* | ----------------------------- | --------------------------------------------------------------- |
|
305
|
+
* | `'cells-only'` (default) | Copy the selected cells |
|
306
|
+
* | `'with-column-headers'` | - Copy the selected cells<br>- Copy the nearest column headers |
|
307
|
+
* | `'with-column-group-headers'` | - Copy the selected cells<br>- Copy all related columns headers |
|
308
|
+
* | `'column-headers-only'` | Copy the nearest column headers (without copying cells) |
|
309
309
|
*
|
310
310
|
* @param {string} [copyMode='cells-only'] Copy mode.
|
311
311
|
*/
|
@@ -497,6 +497,7 @@ class MergeCells extends _base.BasePlugin {
|
|
497
497
|
(0, _number.rangeEach)(0, currentCollection.rowspan - 1, i => {
|
498
498
|
(0, _number.rangeEach)(0, currentCollection.colspan - 1, j => {
|
499
499
|
this.hot.removeCellMeta(currentCollection.row + i, currentCollection.col + j, 'hidden');
|
500
|
+
this.hot.removeCellMeta(currentCollection.row + i, currentCollection.col + j, 'copyable');
|
500
501
|
});
|
501
502
|
});
|
502
503
|
this.hot.removeCellMeta(currentCollection.row, currentCollection.col, 'spanned');
|
@@ -491,6 +491,7 @@ export class MergeCells extends BasePlugin {
|
|
491
491
|
rangeEach(0, currentCollection.rowspan - 1, i => {
|
492
492
|
rangeEach(0, currentCollection.colspan - 1, j => {
|
493
493
|
this.hot.removeCellMeta(currentCollection.row + i, currentCollection.col + j, 'hidden');
|
494
|
+
this.hot.removeCellMeta(currentCollection.row + i, currentCollection.col + j, 'copyable');
|
494
495
|
});
|
495
496
|
});
|
496
497
|
this.hot.removeCellMeta(currentCollection.row, currentCollection.col, 'spanned');
|