handsontable 12.4.0-next-acb5d99-20230512 → 12.4.0-next-1e3a960-20230522

Sign up to get free protection for your applications and to get access to all the features.
package/helpers/mixed.js CHANGED
@@ -152,7 +152,7 @@ var domMessages = {
152
152
  function _injectProductInfo(key, element) {
153
153
  var hasValidType = !isEmpty(key);
154
154
  var isNonCommercial = typeof key === 'string' && key.toLowerCase() === 'non-commercial-and-evaluation';
155
- var hotVersion = "12.4.0-next-acb5d99-20230512";
155
+ var hotVersion = "12.4.0-next-1e3a960-20230522";
156
156
  var keyValidityDate;
157
157
  var consoleMessageState = 'invalid';
158
158
  var domMessageState = 'invalid';
package/helpers/mixed.mjs CHANGED
@@ -142,7 +142,7 @@ var domMessages = {
142
142
  export function _injectProductInfo(key, element) {
143
143
  var hasValidType = !isEmpty(key);
144
144
  var isNonCommercial = typeof key === 'string' && key.toLowerCase() === 'non-commercial-and-evaluation';
145
- var hotVersion = "12.4.0-next-acb5d99-20230512";
145
+ var hotVersion = "12.4.0-next-1e3a960-20230522";
146
146
  var keyValidityDate;
147
147
  var consoleMessageState = 'invalid';
148
148
  var 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": "12.4.0-next-acb5d99-20230512",
13
+ "version": "12.4.0-next-1e3a960-20230522",
14
14
  "main": "index",
15
15
  "module": "index.mjs",
16
16
  "jsnext:main": "index.mjs",
package/pluginHooks.d.ts CHANGED
@@ -68,6 +68,7 @@ export interface Events {
68
68
  afterColumnFreeze?: (columnIndex: number, isFreezingPerformed: boolean) => void;
69
69
  afterColumnMove?: (movedColumns: number[], finalIndex: number, dropIndex: number | undefined, movePossible: boolean, orderChanged: boolean) => void;
70
70
  afterColumnResize?: (newSize: number, column: number, isDoubleClick: boolean) => void;
71
+ afterColumnSequenceChange?: (source: 'init' | 'move' | 'insert' | 'remove' | 'update') => void;
71
72
  afterColumnSort?: (currentSortConfig: ColumnSortingConfig[], destinationSortConfigs: ColumnSortingConfig[]) => void;
72
73
  afterColumnUnfreeze?: (columnIndex: number, isUnfreezingPerformed: boolean) => void;
73
74
  afterContextMenuDefaultOptions?: (predefinedItems: Array<ContextMenuPredefinedMenuItemKey | ContextMenuMenuItemConfig>) => void;
@@ -124,6 +125,7 @@ export interface Events {
124
125
  afterRenderer?: (TD: HTMLTableCellElement, row: number, column: number, prop: string | number, value: string, cellProperties: CellProperties) => void;
125
126
  afterRowMove?: (movedRows: number[], finalIndex: number, dropIndex: number | undefined, movePossible: boolean, orderChanged: boolean) => void;
126
127
  afterRowResize?: (newSize: number, row: number, isDoubleClick: boolean) => void;
128
+ afterRowSequenceChange?: (source: 'init' | 'move' | 'insert' | 'remove' | 'update') => void;
127
129
  afterScrollHorizontally?: () => void;
128
130
  afterScrollVertically?: () => void;
129
131
  afterSelection?: (row: number, column: number, row2: number, column2: number, preventScrolling: { value: boolean }, selectionLayerLevel: number) => void;
package/pluginHooks.js CHANGED
@@ -288,9 +288,11 @@ var REGISTERED_HOOKS = [/* eslint-disable jsdoc/require-description-complete-sen
288
288
  */
289
289
  'beforeCreateCol',
290
290
  /**
291
- * Fired after changing a column sequence. It populates every change on indexes captured by {@link IndexMapper}.
291
+ * Fired after the order of columns has changed.
292
+ * This hook is fired by changing column indexes of any type supported by the {@link IndexMapper}.
292
293
  *
293
- * @param {'init'|'remove'|'insert'|'move'|'update'} [source] String that identifies source of row sequence change.
294
+ * @event Hooks#afterColumnSequenceChange
295
+ * @param {'init'|'remove'|'insert'|'move'|'update'} [source] A string that indicates what caused the change to the order of columns.
294
296
  */
295
297
  'afterColumnSequenceChange',
296
298
  /**
@@ -556,9 +558,11 @@ var REGISTERED_HOOKS = [/* eslint-disable jsdoc/require-description-complete-sen
556
558
  */
557
559
  'afterRenderer',
558
560
  /**
559
- * Fired after changing a row sequence. It populates every change on indexes captured by {@link IndexMapper}.
561
+ * Fired after the order of rows has changed.
562
+ * This hook is fired by changing row indexes of any type supported by the {@link IndexMapper}.
560
563
  *
561
- * @param {'init'|'remove'|'insert'|'move'|'update'} [source] String that identifies source of row sequence change.
564
+ * @event Hooks#afterRowSequenceChange
565
+ * @param {'init'|'remove'|'insert'|'move'|'update'} [source] A string that indicates what caused the change to the order of rows.
562
566
  */
563
567
  'afterRowSequenceChange',
564
568
  /**
package/pluginHooks.mjs CHANGED
@@ -285,9 +285,11 @@ var REGISTERED_HOOKS = [/* eslint-disable jsdoc/require-description-complete-sen
285
285
  */
286
286
  'beforeCreateCol',
287
287
  /**
288
- * Fired after changing a column sequence. It populates every change on indexes captured by {@link IndexMapper}.
288
+ * Fired after the order of columns has changed.
289
+ * This hook is fired by changing column indexes of any type supported by the {@link IndexMapper}.
289
290
  *
290
- * @param {'init'|'remove'|'insert'|'move'|'update'} [source] String that identifies source of row sequence change.
291
+ * @event Hooks#afterColumnSequenceChange
292
+ * @param {'init'|'remove'|'insert'|'move'|'update'} [source] A string that indicates what caused the change to the order of columns.
291
293
  */
292
294
  'afterColumnSequenceChange',
293
295
  /**
@@ -553,9 +555,11 @@ var REGISTERED_HOOKS = [/* eslint-disable jsdoc/require-description-complete-sen
553
555
  */
554
556
  'afterRenderer',
555
557
  /**
556
- * Fired after changing a row sequence. It populates every change on indexes captured by {@link IndexMapper}.
558
+ * Fired after the order of rows has changed.
559
+ * This hook is fired by changing row indexes of any type supported by the {@link IndexMapper}.
557
560
  *
558
- * @param {'init'|'remove'|'insert'|'move'|'update'} [source] String that identifies source of row sequence change.
561
+ * @event Hooks#afterRowSequenceChange
562
+ * @param {'init'|'remove'|'insert'|'move'|'update'} [source] A string that indicates what caused the change to the order of rows.
559
563
  */
560
564
  'afterRowSequenceChange',
561
565
  /**