handsontable 0.0.0-next-802f59c-20241024 → 0.0.0-next-adeb5a2-20241025

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.

Files changed (63) hide show
  1. package/3rdparty/walkontable/src/overlay/inlineStart.js +1 -1
  2. package/3rdparty/walkontable/src/overlay/inlineStart.mjs +1 -1
  3. package/3rdparty/walkontable/src/overlays.js +6 -7
  4. package/3rdparty/walkontable/src/overlays.mjs +6 -7
  5. package/3rdparty/walkontable/src/renderer/colGroup.js +1 -1
  6. package/3rdparty/walkontable/src/renderer/colGroup.mjs +1 -1
  7. package/3rdparty/walkontable/src/renderer/table.js +1 -1
  8. package/3rdparty/walkontable/src/renderer/table.mjs +1 -1
  9. package/3rdparty/walkontable/src/settings.js +7 -0
  10. package/3rdparty/walkontable/src/settings.mjs +7 -0
  11. package/3rdparty/walkontable/src/table.js +24 -0
  12. package/3rdparty/walkontable/src/table.mjs +24 -0
  13. package/3rdparty/walkontable/src/utils/column.js +42 -0
  14. package/3rdparty/walkontable/src/utils/column.mjs +42 -0
  15. package/3rdparty/walkontable/src/utils/columnStretching.js +197 -0
  16. package/3rdparty/walkontable/src/utils/columnStretching.mjs +193 -0
  17. package/3rdparty/walkontable/src/viewport.js +87 -66
  18. package/3rdparty/walkontable/src/viewport.mjs +88 -67
  19. package/base.js +2 -2
  20. package/base.mjs +2 -2
  21. package/core/hooks/constants.js +0 -2
  22. package/core/hooks/constants.mjs +0 -2
  23. package/core/hooks/index.d.ts +2 -2
  24. package/core.d.ts +2 -2
  25. package/core.js +4 -6
  26. package/core.mjs +4 -6
  27. package/dist/handsontable.css +2 -2
  28. package/dist/handsontable.full.css +2 -2
  29. package/dist/handsontable.full.js +1821 -2217
  30. package/dist/handsontable.full.min.css +2 -2
  31. package/dist/handsontable.full.min.js +10 -10
  32. package/dist/handsontable.js +1823 -2219
  33. package/dist/handsontable.min.css +2 -2
  34. package/dist/handsontable.min.js +10 -10
  35. package/helpers/mixed.js +1 -1
  36. package/helpers/mixed.mjs +1 -1
  37. package/index.d.ts +0 -7
  38. package/package.json +1 -6
  39. package/plugins/comments/comments.js +1 -1
  40. package/plugins/comments/comments.mjs +1 -1
  41. package/plugins/index.d.ts +0 -3
  42. package/plugins/index.js +0 -3
  43. package/plugins/index.mjs +1 -3
  44. package/plugins/manualColumnMove/manualColumnMove.js +3 -1
  45. package/plugins/manualColumnMove/manualColumnMove.mjs +3 -1
  46. package/plugins/manualColumnResize/manualColumnResize.js +12 -24
  47. package/plugins/manualColumnResize/manualColumnResize.mjs +12 -24
  48. package/tableView.js +6 -39
  49. package/tableView.mjs +6 -39
  50. package/plugins/stretchColumns/calculator.js +0 -159
  51. package/plugins/stretchColumns/calculator.mjs +0 -155
  52. package/plugins/stretchColumns/index.d.ts +0 -1
  53. package/plugins/stretchColumns/index.js +0 -7
  54. package/plugins/stretchColumns/index.mjs +0 -1
  55. package/plugins/stretchColumns/strategies/_base.js +0 -85
  56. package/plugins/stretchColumns/strategies/_base.mjs +0 -81
  57. package/plugins/stretchColumns/strategies/all.js +0 -68
  58. package/plugins/stretchColumns/strategies/all.mjs +0 -64
  59. package/plugins/stretchColumns/strategies/last.js +0 -77
  60. package/plugins/stretchColumns/strategies/last.mjs +0 -73
  61. package/plugins/stretchColumns/stretchColumns.d.ts +0 -11
  62. package/plugins/stretchColumns/stretchColumns.js +0 -211
  63. package/plugins/stretchColumns/stretchColumns.mjs +0 -207
package/core.d.ts CHANGED
@@ -69,7 +69,7 @@ export default class Core {
69
69
  getColHeader(): Array<number | string>;
70
70
  getColHeader(column: number, headerLevel?: number): number | string;
71
71
  getColumnMeta(column: number): ColumnSettings;
72
- getColWidth(column: number, source?: string): number;
72
+ getColWidth(column: number): number;
73
73
  getCoords(element: Element | null): CellCoords;
74
74
  getCopyableData(row: number, column: number): string;
75
75
  getCopyableText(startRow: number, startColumn: number, endRow: number, endColumn: number): string;
@@ -99,7 +99,7 @@ export default class Core {
99
99
  getPlugin(pluginName: string): Plugins['basePlugin'];
100
100
  getRowHeader(): Array<string | number>;
101
101
  getRowHeader(row: number): string | number;
102
- getRowHeight(row: number, source?: string): number;
102
+ getRowHeight(row: number): number;
103
103
  getSchema(): RowObject;
104
104
  getSelected(): Array<[number, number, number, number]> | undefined;
105
105
  getSelectedLast(): number[] | undefined;
package/core.js CHANGED
@@ -3494,13 +3494,12 @@ function Core(rootElement, userSettings) {
3494
3494
  * @memberof Core#
3495
3495
  * @function getColWidth
3496
3496
  * @param {number} column Visual column index.
3497
- * @param {string} [source] The source of the call.
3498
3497
  * @returns {number} Column width.
3499
3498
  * @fires Hooks#modifyColWidth
3500
3499
  */
3501
- this.getColWidth = function (column, source) {
3500
+ this.getColWidth = function (column) {
3502
3501
  let width = instance._getColWidthFromSettings(column);
3503
- width = instance.runHooks('modifyColWidth', width, column, source);
3502
+ width = instance.runHooks('modifyColWidth', width, column);
3504
3503
  if (width === undefined) {
3505
3504
  width = _src.DEFAULT_COLUMN_WIDTH;
3506
3505
  }
@@ -3560,13 +3559,12 @@ function Core(rootElement, userSettings) {
3560
3559
  * @memberof Core#
3561
3560
  * @function getRowHeight
3562
3561
  * @param {number} row A visual row index.
3563
- * @param {string} [source] The source of the call.
3564
3562
  * @returns {number|undefined} The height of the specified row, in pixels.
3565
3563
  * @fires Hooks#modifyRowHeight
3566
3564
  */
3567
- this.getRowHeight = function (row, source) {
3565
+ this.getRowHeight = function (row) {
3568
3566
  let height = instance._getRowHeightFromSettings(row);
3569
- height = instance.runHooks('modifyRowHeight', height, row, source);
3567
+ height = instance.runHooks('modifyRowHeight', height, row);
3570
3568
  return height;
3571
3569
  };
3572
3570
 
package/core.mjs CHANGED
@@ -3489,13 +3489,12 @@ export default function Core(rootElement, userSettings) {
3489
3489
  * @memberof Core#
3490
3490
  * @function getColWidth
3491
3491
  * @param {number} column Visual column index.
3492
- * @param {string} [source] The source of the call.
3493
3492
  * @returns {number} Column width.
3494
3493
  * @fires Hooks#modifyColWidth
3495
3494
  */
3496
- this.getColWidth = function (column, source) {
3495
+ this.getColWidth = function (column) {
3497
3496
  let width = instance._getColWidthFromSettings(column);
3498
- width = instance.runHooks('modifyColWidth', width, column, source);
3497
+ width = instance.runHooks('modifyColWidth', width, column);
3499
3498
  if (width === undefined) {
3500
3499
  width = DEFAULT_COLUMN_WIDTH;
3501
3500
  }
@@ -3555,13 +3554,12 @@ export default function Core(rootElement, userSettings) {
3555
3554
  * @memberof Core#
3556
3555
  * @function getRowHeight
3557
3556
  * @param {number} row A visual row index.
3558
- * @param {string} [source] The source of the call.
3559
3557
  * @returns {number|undefined} The height of the specified row, in pixels.
3560
3558
  * @fires Hooks#modifyRowHeight
3561
3559
  */
3562
- this.getRowHeight = function (row, source) {
3560
+ this.getRowHeight = function (row) {
3563
3561
  let height = instance._getRowHeightFromSettings(row);
3564
- height = instance.runHooks('modifyRowHeight', height, row, source);
3562
+ height = instance.runHooks('modifyRowHeight', height, row);
3565
3563
  return height;
3566
3564
  };
3567
3565
 
@@ -25,8 +25,8 @@
25
25
  * INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER ARISING FROM
26
26
  * USE OR INABILITY TO USE THIS SOFTWARE.
27
27
  *
28
- * Version: 0.0.0-next-802f59c-20241024
29
- * Release date: 17/10/2024 (built at 24/10/2024 07:23:15)
28
+ * Version: 0.0.0-next-adeb5a2-20241025
29
+ * Release date: 17/10/2024 (built at 25/10/2024 06:46:22)
30
30
  */
31
31
  /**
32
32
  * Fix for bootstrap styles
@@ -25,8 +25,8 @@
25
25
  * INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER ARISING FROM
26
26
  * USE OR INABILITY TO USE THIS SOFTWARE.
27
27
  *
28
- * Version: 0.0.0-next-802f59c-20241024
29
- * Release date: 17/10/2024 (built at 24/10/2024 07:23:15)
28
+ * Version: 0.0.0-next-adeb5a2-20241025
29
+ * Release date: 17/10/2024 (built at 25/10/2024 06:46:22)
30
30
  */
31
31
  /**
32
32
  * Fix for bootstrap styles