handsontable 14.0.0-next-7ee54cb-20231108 → 14.0.0-next-b24d538-20231108

Sign up to get free protection for your applications and to get access to all the features.
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 = "14.0.0-next-7ee54cb-20231108";
137
+ const hotVersion = "14.0.0-next-b24d538-20231108";
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 = "14.0.0-next-7ee54cb-20231108";
127
+ const hotVersion = "14.0.0-next-b24d538-20231108";
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": "14.0.0-next-7ee54cb-20231108",
13
+ "version": "14.0.0-next-b24d538-20231108",
14
14
  "main": "index",
15
15
  "module": "index.mjs",
16
16
  "jsnext:main": "index.mjs",
@@ -12,7 +12,6 @@ export type Settings = boolean | Direction | DetailedSettings;
12
12
 
13
13
  export class Autofill extends BasePlugin {
14
14
  constructor(hotInstance: Core);
15
- autoInsertRow: boolean;
16
15
 
17
16
  isEnabled(): boolean;
18
17
  }
@@ -30,7 +30,6 @@ const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 300;
30
30
  const SHORTCUTS_GROUP = PLUGIN_KEY;
31
31
 
32
32
  /* eslint-disable jsdoc/require-description-complete-sentence */
33
-
34
33
  /**
35
34
  * Error message for the wrong data type error.
36
35
  */
@@ -201,6 +200,8 @@ class NestedRows extends _base.BasePlugin {
201
200
  */
202
201
  _defineProperty(this, "collapsedRowsMap", null);
203
202
  /**
203
+ * Allows skipping the render cycle if set as `true`.
204
+ *
204
205
  * @type {boolean}
205
206
  */
206
207
  _classPrivateFieldInitSpec(this, _skipRender, {
@@ -208,6 +209,8 @@ class NestedRows extends _base.BasePlugin {
208
209
  value: false
209
210
  });
210
211
  /**
212
+ * Allows skipping the internal Core methods call if set as `true`.
213
+ *
211
214
  * @type {boolean}
212
215
  */
213
216
  _classPrivateFieldInitSpec(this, _skipCoreAPIModifiers, {
@@ -419,6 +422,8 @@ class NestedRows extends _base.BasePlugin {
419
422
  /**
420
423
  * Enable the modify hook skipping flag - allows retrieving the data from Handsontable without this plugin's
421
424
  * modifications.
425
+ *
426
+ * @private
422
427
  */
423
428
  disableCoreAPIModifiers() {
424
429
  _classPrivateFieldSet(this, _skipCoreAPIModifiers, true);
@@ -426,6 +431,8 @@ class NestedRows extends _base.BasePlugin {
426
431
 
427
432
  /**
428
433
  * Disable the modify hook skipping flag.
434
+ *
435
+ * @private
429
436
  */
430
437
  enableCoreAPIModifiers() {
431
438
  _classPrivateFieldSet(this, _skipCoreAPIModifiers, false);
@@ -497,7 +504,7 @@ function _onAfterGetRowHeader2(row, TH) {
497
504
  this.headersUI.appendLevelIndicators(row, TH);
498
505
  }
499
506
  function _onModifyRowHeaderWidth2(rowHeaderWidth) {
500
- return this.headersUI.rowHeaderWidthCache || rowHeaderWidth;
507
+ return Math.max(this.headersUI.rowHeaderWidthCache, rowHeaderWidth);
501
508
  }
502
509
  function _onAfterRemoveRow2(index, amount, logicRows, source) {
503
510
  if (source === this.pluginName) {
@@ -507,7 +514,7 @@ function _onAfterRemoveRow2(index, amount, logicRows, source) {
507
514
  _classPrivateFieldSet(this, _skipRender, false);
508
515
  this.headersUI.updateRowHeaderWidth();
509
516
  this.collapsingUI.collapsedRowsStash.applyStash();
510
- }, 0);
517
+ });
511
518
  }
512
519
  function _onBeforeRemoveRow2(index, amount, physicalRows) {
513
520
  const modifiedPhysicalRows = Array.from(physicalRows.reduce((removedRows, physicalIndex) => {
@@ -26,7 +26,6 @@ export const PLUGIN_PRIORITY = 300;
26
26
  const SHORTCUTS_GROUP = PLUGIN_KEY;
27
27
 
28
28
  /* eslint-disable jsdoc/require-description-complete-sentence */
29
-
30
29
  /**
31
30
  * Error message for the wrong data type error.
32
31
  */
@@ -197,6 +196,8 @@ export class NestedRows extends BasePlugin {
197
196
  */
198
197
  _defineProperty(this, "collapsedRowsMap", null);
199
198
  /**
199
+ * Allows skipping the render cycle if set as `true`.
200
+ *
200
201
  * @type {boolean}
201
202
  */
202
203
  _classPrivateFieldInitSpec(this, _skipRender, {
@@ -204,6 +205,8 @@ export class NestedRows extends BasePlugin {
204
205
  value: false
205
206
  });
206
207
  /**
208
+ * Allows skipping the internal Core methods call if set as `true`.
209
+ *
207
210
  * @type {boolean}
208
211
  */
209
212
  _classPrivateFieldInitSpec(this, _skipCoreAPIModifiers, {
@@ -415,6 +418,8 @@ export class NestedRows extends BasePlugin {
415
418
  /**
416
419
  * Enable the modify hook skipping flag - allows retrieving the data from Handsontable without this plugin's
417
420
  * modifications.
421
+ *
422
+ * @private
418
423
  */
419
424
  disableCoreAPIModifiers() {
420
425
  _classPrivateFieldSet(this, _skipCoreAPIModifiers, true);
@@ -422,6 +427,8 @@ export class NestedRows extends BasePlugin {
422
427
 
423
428
  /**
424
429
  * Disable the modify hook skipping flag.
430
+ *
431
+ * @private
425
432
  */
426
433
  enableCoreAPIModifiers() {
427
434
  _classPrivateFieldSet(this, _skipCoreAPIModifiers, false);
@@ -492,7 +499,7 @@ function _onAfterGetRowHeader2(row, TH) {
492
499
  this.headersUI.appendLevelIndicators(row, TH);
493
500
  }
494
501
  function _onModifyRowHeaderWidth2(rowHeaderWidth) {
495
- return this.headersUI.rowHeaderWidthCache || rowHeaderWidth;
502
+ return Math.max(this.headersUI.rowHeaderWidthCache, rowHeaderWidth);
496
503
  }
497
504
  function _onAfterRemoveRow2(index, amount, logicRows, source) {
498
505
  if (source === this.pluginName) {
@@ -502,7 +509,7 @@ function _onAfterRemoveRow2(index, amount, logicRows, source) {
502
509
  _classPrivateFieldSet(this, _skipRender, false);
503
510
  this.headersUI.updateRowHeaderWidth();
504
511
  this.collapsingUI.collapsedRowsStash.applyStash();
505
- }, 0);
512
+ });
506
513
  }
507
514
  function _onBeforeRemoveRow2(index, amount, physicalRows) {
508
515
  const modifiedPhysicalRows = Array.from(physicalRows.reduce((removedRows, physicalIndex) => {