handsontable 0.0.0-next-b2baf85-20241206 → 0.0.0-next-ab59106-20241209

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 (61) hide show
  1. package/base.js +2 -2
  2. package/base.mjs +2 -2
  3. package/core.js +1 -7
  4. package/core.mjs +1 -7
  5. package/dataMap/metaManager/metaSchema.js +2 -3
  6. package/dataMap/metaManager/metaSchema.mjs +2 -3
  7. package/dist/handsontable.css +12 -2
  8. package/dist/handsontable.full.css +12 -2
  9. package/dist/handsontable.full.js +1438 -864
  10. package/dist/handsontable.full.min.css +3 -3
  11. package/dist/handsontable.full.min.js +9 -7
  12. package/dist/handsontable.js +1437 -863
  13. package/dist/handsontable.min.css +3 -3
  14. package/dist/handsontable.min.js +35 -33
  15. package/helpers/mixed.js +1 -1
  16. package/helpers/mixed.mjs +1 -1
  17. package/package.json +1 -1
  18. package/plugins/base/base.js +0 -7
  19. package/plugins/base/base.mjs +0 -7
  20. package/plugins/undoRedo/actions/_base.js +19 -0
  21. package/plugins/undoRedo/actions/_base.mjs +15 -0
  22. package/plugins/undoRedo/actions/cellAlignment.js +85 -0
  23. package/plugins/undoRedo/actions/cellAlignment.mjs +81 -0
  24. package/plugins/undoRedo/actions/columnMove.js +84 -0
  25. package/plugins/undoRedo/actions/columnMove.mjs +80 -0
  26. package/plugins/undoRedo/actions/columnSort.js +73 -0
  27. package/plugins/undoRedo/actions/columnSort.mjs +69 -0
  28. package/plugins/undoRedo/actions/createColumn.js +60 -0
  29. package/plugins/undoRedo/actions/createColumn.mjs +56 -0
  30. package/plugins/undoRedo/actions/createRow.js +65 -0
  31. package/plugins/undoRedo/actions/createRow.mjs +61 -0
  32. package/plugins/undoRedo/actions/dataChange.js +114 -0
  33. package/plugins/undoRedo/actions/dataChange.mjs +110 -0
  34. package/plugins/undoRedo/actions/filters.js +68 -0
  35. package/plugins/undoRedo/actions/filters.mjs +64 -0
  36. package/plugins/undoRedo/actions/index.js +27 -0
  37. package/plugins/undoRedo/actions/index.mjs +23 -0
  38. package/plugins/undoRedo/actions/mergeCells.js +63 -0
  39. package/plugins/undoRedo/actions/mergeCells.mjs +59 -0
  40. package/plugins/undoRedo/actions/removeColumn.js +176 -0
  41. package/plugins/undoRedo/actions/removeColumn.mjs +172 -0
  42. package/plugins/undoRedo/actions/removeRow.js +119 -0
  43. package/plugins/undoRedo/actions/removeRow.mjs +115 -0
  44. package/plugins/undoRedo/actions/rowMove.js +84 -0
  45. package/plugins/undoRedo/actions/rowMove.mjs +80 -0
  46. package/plugins/undoRedo/actions/unmergeCells.js +56 -0
  47. package/plugins/undoRedo/actions/unmergeCells.mjs +52 -0
  48. package/plugins/undoRedo/index.js +3 -4
  49. package/plugins/undoRedo/index.mjs +1 -2
  50. package/plugins/undoRedo/undoRedo.js +277 -879
  51. package/plugins/undoRedo/undoRedo.mjs +277 -880
  52. package/plugins/undoRedo/utils.js +37 -0
  53. package/plugins/undoRedo/utils.mjs +33 -0
  54. package/styles/handsontable.css +9 -2
  55. package/styles/handsontable.min.css +3 -3
  56. package/styles/ht-theme-horizon.css +2 -2
  57. package/styles/ht-theme-horizon.min.css +2 -2
  58. package/styles/ht-theme-main.css +2 -2
  59. package/styles/ht-theme-main.min.css +2 -2
  60. package/utils/ghostTable.js +1 -5
  61. package/utils/ghostTable.mjs +1 -5
package/base.js CHANGED
@@ -45,8 +45,8 @@ Handsontable.hooks = _hooks.Hooks.getSingleton();
45
45
  Handsontable.CellCoords = _src.CellCoords;
46
46
  Handsontable.CellRange = _src.CellRange;
47
47
  Handsontable.packageName = 'handsontable';
48
- Handsontable.buildDate = "06/12/2024 12:06:06";
49
- Handsontable.version = "0.0.0-next-b2baf85-20241206";
48
+ Handsontable.buildDate = "09/12/2024 13:58:12";
49
+ Handsontable.version = "0.0.0-next-ab59106-20241209";
50
50
  Handsontable.languages = {
51
51
  dictionaryKeys: _registry.dictionaryKeys,
52
52
  getLanguageDictionary: _registry.getLanguageDictionary,
package/base.mjs CHANGED
@@ -35,8 +35,8 @@ Handsontable.hooks = Hooks.getSingleton();
35
35
  Handsontable.CellCoords = CellCoords;
36
36
  Handsontable.CellRange = CellRange;
37
37
  Handsontable.packageName = 'handsontable';
38
- Handsontable.buildDate = "06/12/2024 12:06:11";
39
- Handsontable.version = "0.0.0-next-b2baf85-20241206";
38
+ Handsontable.buildDate = "09/12/2024 13:58:17";
39
+ Handsontable.version = "0.0.0-next-ab59106-20241209";
40
40
  Handsontable.languages = {
41
41
  dictionaryKeys,
42
42
  getLanguageDictionary,
package/core.js CHANGED
@@ -4418,13 +4418,7 @@ function Core(rootElement, userSettings) {
4418
4418
  * @returns {BasePlugin|undefined} The plugin instance or undefined if there is no plugin.
4419
4419
  */
4420
4420
  this.getPlugin = function (pluginName) {
4421
- const unifiedPluginName = (0, _string.toUpperCaseFirst)(pluginName);
4422
-
4423
- // Workaround for the UndoRedo plugin which, currently doesn't follow the plugin architecture.
4424
- if (unifiedPluginName === 'UndoRedo') {
4425
- return this.undoRedo;
4426
- }
4427
- return pluginsRegistry.getItem(unifiedPluginName);
4421
+ return pluginsRegistry.getItem((0, _string.toUpperCaseFirst)(pluginName));
4428
4422
  };
4429
4423
 
4430
4424
  /**
package/core.mjs CHANGED
@@ -4413,13 +4413,7 @@ export default function Core(rootElement, userSettings) {
4413
4413
  * @returns {BasePlugin|undefined} The plugin instance or undefined if there is no plugin.
4414
4414
  */
4415
4415
  this.getPlugin = function (pluginName) {
4416
- const unifiedPluginName = toUpperCaseFirst(pluginName);
4417
-
4418
- // Workaround for the UndoRedo plugin which, currently doesn't follow the plugin architecture.
4419
- if (unifiedPluginName === 'UndoRedo') {
4420
- return this.undoRedo;
4421
- }
4422
- return pluginsRegistry.getItem(unifiedPluginName);
4416
+ return pluginsRegistry.getItem(toUpperCaseFirst(pluginName));
4423
4417
  };
4424
4418
 
4425
4419
  /**
@@ -4604,8 +4604,7 @@ var _default = () => {
4604
4604
  * | `true` | Enable the [`UndoRedo`](@/api/undoRedo.md) plugin |
4605
4605
  * | `false` | Disable the [`UndoRedo`](@/api/undoRedo.md) plugin |
4606
4606
  *
4607
- * By default, the `undo` option is set to `undefined`,
4608
- * but the [`UndoRedo`](@/api/undoRedo.md) plugin acts as enabled.
4607
+ * By default, the `undo` option is set to `true`,
4609
4608
  * To disable the [`UndoRedo`](@/api/undoRedo.md) plugin completely,
4610
4609
  * set the `undo` option to `false`.
4611
4610
  *
@@ -4623,7 +4622,7 @@ var _default = () => {
4623
4622
  * undo: true,
4624
4623
  * ```
4625
4624
  */
4626
- undo: undefined,
4625
+ undo: true,
4627
4626
  /**
4628
4627
  * @description
4629
4628
  * The `validator` option sets a [cell validator](@/guides/cell-functions/cell-validator/cell-validator.md) for a cell.
@@ -4601,8 +4601,7 @@ export default () => {
4601
4601
  * | `true` | Enable the [`UndoRedo`](@/api/undoRedo.md) plugin |
4602
4602
  * | `false` | Disable the [`UndoRedo`](@/api/undoRedo.md) plugin |
4603
4603
  *
4604
- * By default, the `undo` option is set to `undefined`,
4605
- * but the [`UndoRedo`](@/api/undoRedo.md) plugin acts as enabled.
4604
+ * By default, the `undo` option is set to `true`,
4606
4605
  * To disable the [`UndoRedo`](@/api/undoRedo.md) plugin completely,
4607
4606
  * set the `undo` option to `false`.
4608
4607
  *
@@ -4620,7 +4619,7 @@ export default () => {
4620
4619
  * undo: true,
4621
4620
  * ```
4622
4621
  */
4623
- undo: undefined,
4622
+ undo: true,
4624
4623
  /**
4625
4624
  * @description
4626
4625
  * The `validator` option sets a [cell validator](@/guides/cell-functions/cell-validator/cell-validator.md) for a cell.
@@ -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-b2baf85-20241206
29
- * Release date: 17/10/2024 (built at 06/12/2024 12:06:31)
28
+ * Version: 0.0.0-next-ab59106-20241209
29
+ * Release date: 17/10/2024 (built at 09/12/2024 13:58:38)
30
30
  */
31
31
  /**
32
32
  * Fix for bootstrap styles
@@ -967,6 +967,16 @@ CheckboxRenderer
967
967
  padding-right: 20px;
968
968
  }
969
969
 
970
+ /* Force the ghost table to ignore the additional upper border 1px for the first row in the table */
971
+ .handsontable.htGhostTable table thead th {
972
+ border-bottom-width: 0;
973
+ }
974
+
975
+ .handsontable.htGhostTable table tbody tr th,
976
+ .handsontable.htGhostTable table tbody tr td {
977
+ border-top-width: 0;
978
+ }
979
+
970
980
  .handsontable .htCommentCell {
971
981
  position: relative;
972
982
  }
@@ -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-b2baf85-20241206
29
- * Release date: 17/10/2024 (built at 06/12/2024 12:06:31)
28
+ * Version: 0.0.0-next-ab59106-20241209
29
+ * Release date: 17/10/2024 (built at 09/12/2024 13:58:38)
30
30
  */
31
31
  /**
32
32
  * Fix for bootstrap styles
@@ -967,6 +967,16 @@ CheckboxRenderer
967
967
  padding-right: 20px;
968
968
  }
969
969
 
970
+ /* Force the ghost table to ignore the additional upper border 1px for the first row in the table */
971
+ .handsontable.htGhostTable table thead th {
972
+ border-bottom-width: 0;
973
+ }
974
+
975
+ .handsontable.htGhostTable table tbody tr th,
976
+ .handsontable.htGhostTable table tbody tr td {
977
+ border-top-width: 0;
978
+ }
979
+
970
980
  .handsontable .htCommentCell {
971
981
  position: relative;
972
982
  }