handsontable 0.0.0-next-fad35d5-20240924 → 0.0.0-next-ffdf116-20240926
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/3rdparty/walkontable/src/calculator/calculationType/renderedColumns.js +0 -23
- package/3rdparty/walkontable/src/calculator/calculationType/renderedColumns.mjs +0 -23
- package/3rdparty/walkontable/src/calculator/calculationType/renderedRows.js +0 -23
- package/3rdparty/walkontable/src/calculator/calculationType/renderedRows.mjs +0 -23
- package/3rdparty/walkontable/src/core/_base.js +0 -7
- package/3rdparty/walkontable/src/core/_base.mjs +0 -7
- package/3rdparty/walkontable/src/facade/core.js +0 -3
- package/3rdparty/walkontable/src/facade/core.mjs +0 -3
- package/3rdparty/walkontable/src/overlay/_base.js +0 -3
- package/3rdparty/walkontable/src/overlay/_base.mjs +0 -3
- package/3rdparty/walkontable/src/selection/border/border.js +45 -33
- package/3rdparty/walkontable/src/selection/border/border.mjs +46 -34
- package/3rdparty/walkontable/src/selection/scanner.js +11 -46
- package/3rdparty/walkontable/src/selection/scanner.mjs +11 -46
- package/3rdparty/walkontable/src/settings.js +0 -8
- package/3rdparty/walkontable/src/settings.mjs +0 -8
- package/3rdparty/walkontable/src/table/master.js +1 -1
- package/3rdparty/walkontable/src/table/master.mjs +2 -2
- package/3rdparty/walkontable/src/table.js +3 -6
- package/3rdparty/walkontable/src/table.mjs +3 -6
- package/3rdparty/walkontable/src/viewport.js +4 -26
- package/3rdparty/walkontable/src/viewport.mjs +4 -26
- package/base.js +4 -4
- package/base.mjs +3 -3
- package/core.d.ts +1 -1
- package/core.js +12 -13
- package/core.mjs +4 -5
- package/dataMap/metaManager/metaSchema.js +2 -68
- package/dataMap/metaManager/metaSchema.mjs +2 -68
- package/dataMap/metaManager/mods/dynamicCellMeta.js +3 -2
- package/dataMap/metaManager/mods/dynamicCellMeta.mjs +1 -1
- package/dist/handsontable.css +2 -2
- package/dist/handsontable.full.css +2 -2
- package/dist/handsontable.full.js +2685 -3046
- package/dist/handsontable.full.min.css +2 -2
- package/dist/handsontable.full.min.js +60 -60
- package/dist/handsontable.js +2687 -3048
- package/dist/handsontable.min.css +2 -2
- package/dist/handsontable.min.js +18 -18
- package/editorManager.js +2 -2
- package/editorManager.mjs +2 -2
- package/editors/autocompleteEditor/autocompleteEditor.js +31 -14
- package/editors/autocompleteEditor/autocompleteEditor.mjs +31 -14
- package/editors/baseEditor/baseEditor.js +17 -24
- package/editors/baseEditor/baseEditor.mjs +18 -25
- package/editors/dropdownEditor/dropdownEditor.js +3 -2
- package/editors/dropdownEditor/dropdownEditor.mjs +1 -1
- package/editors/handsontableEditor/handsontableEditor.js +24 -0
- package/editors/handsontableEditor/handsontableEditor.mjs +24 -0
- package/editors/registry.js +2 -2
- package/editors/registry.mjs +1 -1
- package/editors/textEditor/textEditor.js +2 -2
- package/editors/textEditor/textEditor.mjs +3 -3
- package/helpers/dom/element.js +4 -17
- package/helpers/dom/element.mjs +4 -16
- package/helpers/mixed.js +1 -1
- package/helpers/mixed.mjs +1 -1
- package/index.d.ts +1 -2
- package/package.json +1 -1
- package/{core/hooks/index.d.ts → pluginHooks.d.ts} +21 -17
- package/{core/hooks/constants.mjs → pluginHooks.js} +489 -16
- package/{core/hooks/constants.js → pluginHooks.mjs} +486 -20
- package/plugins/autoColumnSize/autoColumnSize.js +27 -18
- package/plugins/autoColumnSize/autoColumnSize.mjs +27 -18
- package/plugins/autoRowSize/autoRowSize.js +22 -16
- package/plugins/autoRowSize/autoRowSize.mjs +23 -17
- package/plugins/autofill/autofill.js +5 -4
- package/plugins/autofill/autofill.mjs +1 -1
- package/plugins/base/base.d.ts +1 -1
- package/plugins/base/base.js +0 -39
- package/plugins/base/base.mjs +1 -40
- package/plugins/base/index.js +1 -2
- package/plugins/base/index.mjs +1 -1
- package/plugins/bindRowsWithHeaders/bindRowsWithHeaders.js +5 -2
- package/plugins/bindRowsWithHeaders/bindRowsWithHeaders.mjs +5 -2
- package/plugins/columnSorting/columnSorting.js +4 -3
- package/plugins/columnSorting/columnSorting.mjs +1 -1
- package/plugins/comments/comments.js +15 -7
- package/plugins/comments/comments.mjs +16 -8
- package/plugins/contextMenu/contextMenu.js +7 -6
- package/plugins/contextMenu/contextMenu.mjs +1 -1
- package/plugins/contextMenu/menu/menu.js +1 -1
- package/plugins/contextMenu/menu/menu.mjs +2 -2
- package/plugins/contextMenu/menu/positioner.js +4 -2
- package/plugins/contextMenu/menu/positioner.mjs +4 -2
- package/plugins/copyPaste/copyPaste.js +23 -29
- package/plugins/copyPaste/copyPaste.mjs +15 -21
- package/plugins/dropdownMenu/dropdownMenu.js +7 -6
- package/plugins/dropdownMenu/dropdownMenu.mjs +1 -1
- package/plugins/formulas/formulas.js +7 -7
- package/plugins/formulas/formulas.mjs +1 -1
- package/plugins/hiddenColumns/hiddenColumns.js +30 -19
- package/plugins/hiddenColumns/hiddenColumns.mjs +26 -15
- package/plugins/hiddenRows/hiddenRows.js +29 -18
- package/plugins/hiddenRows/hiddenRows.mjs +25 -14
- package/plugins/manualColumnFreeze/manualColumnFreeze.js +5 -5
- package/plugins/manualColumnFreeze/manualColumnFreeze.mjs +1 -1
- package/plugins/manualColumnMove/manualColumnMove.js +3 -3
- package/plugins/manualColumnMove/manualColumnMove.mjs +1 -1
- package/plugins/manualRowMove/manualRowMove.js +5 -5
- package/plugins/manualRowMove/manualRowMove.mjs +3 -3
- package/plugins/mergeCells/cellsCollection.js +3 -15
- package/plugins/mergeCells/cellsCollection.mjs +4 -16
- package/plugins/mergeCells/mergeCells.d.ts +2 -6
- package/plugins/mergeCells/mergeCells.js +55 -78
- package/plugins/mergeCells/mergeCells.mjs +53 -76
- package/plugins/mergeCells/renderer.js +3 -13
- package/plugins/mergeCells/renderer.mjs +3 -13
- package/plugins/persistentState/persistentState.js +4 -4
- package/plugins/persistentState/persistentState.mjs +1 -1
- package/plugins/undoRedo/undoRedo.js +5 -4
- package/plugins/undoRedo/undoRedo.mjs +3 -3
- package/renderers/checkboxRenderer/checkboxRenderer.js +2 -2
- package/renderers/checkboxRenderer/checkboxRenderer.mjs +1 -1
- package/settings.d.ts +1 -3
- package/shortcutContexts/commands/extendCellsSelection/downByViewportHeight.js +1 -1
- package/shortcutContexts/commands/extendCellsSelection/downByViewportHeight.mjs +1 -1
- package/shortcutContexts/commands/extendCellsSelection/upByViewportHeight.js +1 -1
- package/shortcutContexts/commands/extendCellsSelection/upByViewportHeight.mjs +1 -1
- package/shortcutContexts/commands/scrollToFocusedCell.js +4 -4
- package/shortcutContexts/commands/scrollToFocusedCell.mjs +4 -4
- package/tableView.js +43 -38
- package/tableView.mjs +43 -38
- package/core/hooks/bucket.js +0 -180
- package/core/hooks/bucket.mjs +0 -176
- package/core/hooks/index.js +0 -385
- package/core/hooks/index.mjs +0 -381
@@ -4678,7 +4678,7 @@ export default (() => {
|
|
4678
4678
|
* - [Performance: Define the number of pre-rendered rows and columns](@/guides/optimization/performance/performance.md#define-the-number-of-pre-rendered-rows-and-columns)
|
4679
4679
|
*
|
4680
4680
|
* @memberof Options#
|
4681
|
-
* @type {number|
|
4681
|
+
* @type {number|string}
|
4682
4682
|
* @default 'auto'
|
4683
4683
|
* @category Core
|
4684
4684
|
*
|
@@ -4708,7 +4708,7 @@ export default (() => {
|
|
4708
4708
|
* - [Column virtualization](@/guides/columns/column-virtualization/column-virtualization.md)
|
4709
4709
|
*
|
4710
4710
|
* @memberof Options#
|
4711
|
-
* @type {number|
|
4711
|
+
* @type {number|string}
|
4712
4712
|
* @default 'auto'
|
4713
4713
|
* @category Core
|
4714
4714
|
*
|
@@ -4719,72 +4719,6 @@ export default (() => {
|
|
4719
4719
|
* ```
|
4720
4720
|
*/
|
4721
4721
|
viewportRowRenderingOffset: 'auto',
|
4722
|
-
/**
|
4723
|
-
* @description
|
4724
|
-
* The `viewportColumnRenderingThreshold` option configures what column number starting from the left or right
|
4725
|
-
* (depends on the scroll direction) should trigger the rendering of columns outside of the grid's viewport.
|
4726
|
-
*
|
4727
|
-
* You can set the `viewportColumnRenderingThreshold` option to one of the following:
|
4728
|
-
*
|
4729
|
-
* | Setting | Description |
|
4730
|
-
* | ------------------ | ------------------------------------------------------- |
|
4731
|
-
* | `auto` | Triggers rendering at half the offset defined by [`viewportColumnRenderingOffset`](#viewportColumnRenderingOffset) option |
|
4732
|
-
* | A number | Sets the offset manually (`0` is a default) |
|
4733
|
-
*
|
4734
|
-
* The `viewportColumnRenderingThreshold` setting is ignored when [`renderAllColumn`](#renderAllColumn) is set to `true`.
|
4735
|
-
*
|
4736
|
-
* Read more:
|
4737
|
-
* - [Performance: Define the number of pre-rendered rows and columns](@/guides/optimization/performance/performance.md#define-the-number-of-pre-rendered-rows-and-columns)
|
4738
|
-
* - [Column virtualization](@/guides/columns/column-virtualization/column-virtualization.md)
|
4739
|
-
*
|
4740
|
-
* @memberof Options#
|
4741
|
-
* @since 1.14.7
|
4742
|
-
* @type {number|'auto'}
|
4743
|
-
* @default 0
|
4744
|
-
* @category Core
|
4745
|
-
*
|
4746
|
-
* @example
|
4747
|
-
* ```js
|
4748
|
-
* // render 12 columns outside of the grid's viewport
|
4749
|
-
* viewportColumnRenderingOffset: 12,
|
4750
|
-
* // the columns outside of the viewport will be rendered when the user scrolls to the 8th column from/to
|
4751
|
-
* viewportColumnRenderingThreshold: 8,
|
4752
|
-
* ```
|
4753
|
-
*/
|
4754
|
-
viewportColumnRenderingThreshold: 0,
|
4755
|
-
/**
|
4756
|
-
* @description
|
4757
|
-
* The `viewportRowRenderingThreshold` option configures what row number starting from the top or bottom
|
4758
|
-
* (depends on the scroll direction) should trigger the rendering of rows outside of the grid's viewport.
|
4759
|
-
*
|
4760
|
-
* You can set the `viewportRowRenderingThreshold` option to one of the following:
|
4761
|
-
*
|
4762
|
-
* | Setting | Description |
|
4763
|
-
* | ------------------ | ------------------------------------------------------- |
|
4764
|
-
* | `auto` | Triggers rendering at half the offset defined by [`viewportRowRenderingOffset`](#viewportRowRenderingOffset) option |
|
4765
|
-
* | A number | Sets the offset manually (`0` is a default) |
|
4766
|
-
*
|
4767
|
-
* The `viewportRowRenderingThreshold` setting is ignored when [`renderAllRows`](#renderAllRows) is set to `true`.
|
4768
|
-
*
|
4769
|
-
* Read more:
|
4770
|
-
* - [Performance: Define the number of pre-rendered rows and columns](@/guides/optimization/performance/performance.md#define-the-number-of-pre-rendered-rows-and-columns)
|
4771
|
-
* - [Row virtualization](@/guides/rows/row-virtualization/row-virtualization.md)
|
4772
|
-
*
|
4773
|
-
* @memberof Options#
|
4774
|
-
* @since 1.14.7
|
4775
|
-
* @type {number|'auto'}
|
4776
|
-
* @default 0
|
4777
|
-
* @category Core
|
4778
|
-
*
|
4779
|
-
* @example
|
4780
|
-
* ```js
|
4781
|
-
* // render 12 rows outside of the grid's viewport
|
4782
|
-
* viewportRowRenderingOffset: 12,
|
4783
|
-
* // the rows outside of the viewport will be rendered when the user scrolls to the 8th row from/to
|
4784
|
-
* viewportRowRenderingThreshold: 8,
|
4785
|
-
* ```
|
4786
|
-
*/
|
4787
|
-
viewportRowRenderingThreshold: 0,
|
4788
4722
|
/**
|
4789
4723
|
* The `visibleRows` option sets the height of the [`autocomplete`](@/guides/cell-types/autocomplete-cell-type/autocomplete-cell-type.md)
|
4790
4724
|
* and [`dropdown`](@/guides/cell-types/dropdown-cell-type/dropdown-cell-type.md) lists.
|
@@ -9,9 +9,10 @@ require("core-js/modules/esnext.set.is-subset-of.v2.js");
|
|
9
9
|
require("core-js/modules/esnext.set.is-superset-of.v2.js");
|
10
10
|
require("core-js/modules/esnext.set.symmetric-difference.v2.js");
|
11
11
|
require("core-js/modules/esnext.set.union.v2.js");
|
12
|
-
var
|
12
|
+
var _pluginHooks = _interopRequireDefault(require("../../../pluginHooks"));
|
13
13
|
var _object = require("../../../helpers/object");
|
14
14
|
var _function = require("../../../helpers/function");
|
15
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
15
16
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
16
17
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
17
18
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
@@ -42,7 +43,7 @@ class DynamicCellMetaMod {
|
|
42
43
|
_defineProperty(this, "metaSyncMemo", new Map());
|
43
44
|
this.metaManager = metaManager;
|
44
45
|
metaManager.addLocalHook('afterGetCellMeta', cellMeta => this.extendCellMeta(cellMeta));
|
45
|
-
|
46
|
+
_pluginHooks.default.getSingleton().add('beforeRender', forceFullRender => {
|
46
47
|
if (forceFullRender) {
|
47
48
|
this.metaSyncMemo.clear();
|
48
49
|
}
|
@@ -9,7 +9,7 @@ import "core-js/modules/esnext.set.union.v2.js";
|
|
9
9
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
10
10
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
11
11
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
12
|
-
import
|
12
|
+
import Hooks from "../../../pluginHooks.mjs";
|
13
13
|
import { hasOwnProperty } from "../../../helpers/object.mjs";
|
14
14
|
import { isFunction } from "../../../helpers/function.mjs";
|
15
15
|
/**
|
package/dist/handsontable.css
CHANGED
@@ -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-
|
29
|
-
* Release date: 30/07/2024 (built at
|
28
|
+
* Version: 0.0.0-next-ffdf116-20240926
|
29
|
+
* Release date: 30/07/2024 (built at 26/09/2024 10:52:57)
|
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-
|
29
|
-
* Release date: 30/07/2024 (built at
|
28
|
+
* Version: 0.0.0-next-ffdf116-20240926
|
29
|
+
* Release date: 30/07/2024 (built at 26/09/2024 10:52:57)
|
30
30
|
*/
|
31
31
|
/**
|
32
32
|
* Fix for bootstrap styles
|