handsontable 14.5.0 → 14.6.0-next-6fbf568-20240930
Sign up to get free protection for your applications and to get access to all the features.
- package/3rdparty/walkontable/src/renderer/rows.js +10 -0
- package/3rdparty/walkontable/src/renderer/rows.mjs +11 -1
- package/3rdparty/walkontable/src/selection/manager.js +7 -7
- package/3rdparty/walkontable/src/selection/manager.mjs +7 -7
- package/3rdparty/walkontable/src/selection/scanner.js +7 -7
- package/3rdparty/walkontable/src/selection/scanner.mjs +7 -7
- package/CHANGELOG.md +29 -0
- package/base.js +2 -2
- package/base.mjs +2 -2
- package/core.d.ts +13 -2
- package/core.js +160 -9
- package/core.mjs +160 -9
- package/dataMap/metaManager/lazyFactoryMap.js +7 -7
- package/dataMap/metaManager/lazyFactoryMap.mjs +7 -7
- package/dataMap/metaManager/metaSchema.js +5 -6
- package/dataMap/metaManager/metaSchema.mjs +7 -8
- package/dataMap/metaManager/mods/dynamicCellMeta.js +7 -7
- package/dataMap/metaManager/mods/dynamicCellMeta.mjs +7 -7
- package/dataMap/metaManager/mods/extendMetaProperties.js +7 -7
- package/dataMap/metaManager/mods/extendMetaProperties.mjs +7 -7
- package/dataMap/metaManager/utils.js +7 -7
- package/dataMap/metaManager/utils.mjs +7 -7
- package/dist/handsontable.css +3 -17
- package/dist/handsontable.full.css +3 -17
- package/dist/handsontable.full.js +3501 -3220
- package/dist/handsontable.full.min.css +3 -3
- package/dist/handsontable.full.min.js +109 -119
- package/dist/handsontable.js +3175 -2898
- package/dist/handsontable.min.css +3 -3
- package/dist/handsontable.min.js +19 -19
- package/editors/autocompleteEditor/autocompleteEditor.d.ts +1 -1
- package/helpers/a11y.js +2 -0
- package/helpers/a11y.mjs +1 -0
- package/helpers/array.js +7 -7
- package/helpers/array.mjs +7 -7
- package/helpers/mixed.js +2 -2
- package/helpers/mixed.mjs +2 -2
- package/helpers/number.js +7 -7
- package/helpers/number.mjs +7 -7
- package/package.json +1 -1
- package/pluginHooks.d.ts +1 -1
- package/pluginHooks.js +4 -1
- package/pluginHooks.mjs +4 -1
- package/plugins/autoRowSize/autoRowSize.js +1 -2
- package/plugins/autoRowSize/autoRowSize.mjs +1 -2
- package/plugins/columnSorting/columnSorting.js +10 -1
- package/plugins/columnSorting/columnSorting.mjs +10 -1
- package/plugins/columnSorting/utils.js +7 -7
- package/plugins/columnSorting/utils.mjs +7 -7
- package/plugins/contextMenu/contextMenu.js +7 -0
- package/plugins/contextMenu/contextMenu.mjs +7 -0
- package/plugins/contextMenu/menu/menu.js +47 -14
- package/plugins/contextMenu/menu/menu.mjs +48 -15
- package/plugins/contextMenu/menu/menuItemRenderer.js +3 -4
- package/plugins/contextMenu/menu/menuItemRenderer.mjs +5 -6
- package/plugins/contextMenu/menu/positioner.js +4 -12
- package/plugins/contextMenu/menu/positioner.mjs +4 -12
- package/plugins/contextMenu/menu/utils.js +11 -0
- package/plugins/contextMenu/menu/utils.mjs +10 -0
- package/plugins/contextMenu/predefinedItems/alignment.js +56 -49
- package/plugins/contextMenu/predefinedItems/alignment.mjs +57 -50
- package/plugins/contextMenu/predefinedItems/readOnly.js +8 -0
- package/plugins/contextMenu/predefinedItems/readOnly.mjs +8 -0
- package/plugins/contextMenu/utils.js +26 -0
- package/plugins/contextMenu/utils.mjs +24 -0
- package/plugins/copyPaste/copyPaste.js +14 -14
- package/plugins/copyPaste/copyPaste.mjs +14 -14
- package/plugins/dropdownMenu/dropdownMenu.js +10 -4
- package/plugins/dropdownMenu/dropdownMenu.mjs +10 -4
- package/plugins/filters/component/condition.js +6 -1
- package/plugins/filters/component/condition.mjs +6 -1
- package/plugins/filters/component/value.js +6 -1
- package/plugins/filters/component/value.mjs +6 -1
- package/plugins/filters/conditionCollection.d.ts +4 -3
- package/plugins/filters/conditionCollection.js +26 -0
- package/plugins/filters/conditionCollection.mjs +26 -0
- package/plugins/filters/filters.js +4 -1
- package/plugins/filters/filters.mjs +4 -1
- package/plugins/filters/ui/multipleSelect.js +7 -9
- package/plugins/filters/ui/multipleSelect.mjs +7 -9
- package/plugins/filters/utils.js +7 -7
- package/plugins/filters/utils.mjs +7 -7
- package/plugins/formulas/formulas.js +7 -7
- package/plugins/formulas/formulas.mjs +7 -7
- package/plugins/hiddenColumns/hiddenColumns.js +7 -7
- package/plugins/hiddenColumns/hiddenColumns.mjs +7 -7
- package/plugins/hiddenRows/hiddenRows.js +7 -7
- package/plugins/hiddenRows/hiddenRows.mjs +7 -7
- package/plugins/mergeCells/cellsCollection.js +18 -16
- package/plugins/mergeCells/cellsCollection.mjs +19 -17
- package/plugins/mergeCells/mergeCells.js +7 -7
- package/plugins/mergeCells/mergeCells.mjs +7 -7
- package/plugins/nestedHeaders/stateManager/nodeModifiers/collapse.js +7 -7
- package/plugins/nestedHeaders/stateManager/nodeModifiers/collapse.mjs +7 -7
- package/plugins/nestedHeaders/stateManager/nodeModifiers/expand.js +7 -7
- package/plugins/nestedHeaders/stateManager/nodeModifiers/expand.mjs +7 -7
- package/plugins/nestedRows/nestedRows.js +7 -7
- package/plugins/nestedRows/nestedRows.mjs +7 -7
- package/plugins/trimRows/trimRows.js +7 -7
- package/plugins/trimRows/trimRows.mjs +7 -7
- package/plugins/undoRedo/undoRedo.js +9 -5
- package/plugins/undoRedo/undoRedo.mjs +9 -5
- package/renderers/checkboxRenderer/checkboxRenderer.js +18 -6
- package/renderers/checkboxRenderer/checkboxRenderer.mjs +18 -6
- package/selection/selection.js +7 -7
- package/selection/selection.mjs +7 -7
- package/selection/utils.js +7 -7
- package/selection/utils.mjs +7 -7
- package/shortcutContexts/grid.js +10 -3
- package/shortcutContexts/grid.mjs +10 -3
- package/shortcuts/keyObserver.js +7 -7
- package/shortcuts/keyObserver.mjs +7 -7
- package/shortcuts/utils.js +3 -1
- package/shortcuts/utils.mjs +3 -1
- package/translations/changesObservable/observable.js +7 -7
- package/translations/changesObservable/observable.mjs +7 -7
- package/translations/indexMapper.js +7 -7
- package/translations/indexMapper.mjs +7 -7
- package/utils/dataStructures/uniqueSet.js +7 -7
- package/utils/dataStructures/uniqueSet.mjs +7 -7
- package/utils/ghostTable.js +11 -9
- package/utils/ghostTable.mjs +12 -10
- package/utils/paginator.js +7 -7
- package/utils/paginator.mjs +7 -7
@@ -391,8 +391,7 @@ var _default = () => {
|
|
391
391
|
* | `true` | Enable the [`AutoRowSize`](@/api/autoRowSize.md) plugin with the default configuration |
|
392
392
|
* | An object | Enable the [`AutoRowSize`](@/api/autoRowSize.md) plugin and modify the plugin options |
|
393
393
|
*
|
394
|
-
* To give Handsontable's
|
395
|
-
* a proper size, set the `autoRowSize` option to `true`.
|
394
|
+
* To give Handsontable's scrollbar a proper size, set the `autoRowSize` option to `true`.
|
396
395
|
*
|
397
396
|
* If you set the `autoRowSize` option to an object, you can set the following [`AutoRowSize`](@/api/autoRowSize.md) plugin options:
|
398
397
|
*
|
@@ -2907,10 +2906,10 @@ var _default = () => {
|
|
2907
2906
|
* manualRowMove: true,
|
2908
2907
|
*
|
2909
2908
|
* // enable the `ManualRowMove` plugin
|
2910
|
-
* // at initialization, move row
|
2911
|
-
* // at initialization, move row
|
2912
|
-
* // at initialization, move row
|
2913
|
-
*
|
2909
|
+
* // at initialization, move row 1 to 0
|
2910
|
+
* // at initialization, move row 4 to 1
|
2911
|
+
* // at initialization, move row 6 to 2
|
2912
|
+
* manualRowMove: [1, 4, 6],
|
2914
2913
|
* ```
|
2915
2914
|
*/
|
2916
2915
|
manualRowMove: undefined,
|
@@ -90,7 +90,7 @@ import { isObjectEqual } from "../../helpers/object.mjs";
|
|
90
90
|
* Read more:
|
91
91
|
* - [Configuration options](@/guides/getting-started/configuration-options/configuration-options.md)
|
92
92
|
*/
|
93
|
-
export default (
|
93
|
+
export default () => {
|
94
94
|
return {
|
95
95
|
/* eslint-disable jsdoc/require-description-complete-sentence */
|
96
96
|
|
@@ -388,8 +388,7 @@ export default (() => {
|
|
388
388
|
* | `true` | Enable the [`AutoRowSize`](@/api/autoRowSize.md) plugin with the default configuration |
|
389
389
|
* | An object | Enable the [`AutoRowSize`](@/api/autoRowSize.md) plugin and modify the plugin options |
|
390
390
|
*
|
391
|
-
* To give Handsontable's
|
392
|
-
* a proper size, set the `autoRowSize` option to `true`.
|
391
|
+
* To give Handsontable's scrollbar a proper size, set the `autoRowSize` option to `true`.
|
393
392
|
*
|
394
393
|
* If you set the `autoRowSize` option to an object, you can set the following [`AutoRowSize`](@/api/autoRowSize.md) plugin options:
|
395
394
|
*
|
@@ -2904,10 +2903,10 @@ export default (() => {
|
|
2904
2903
|
* manualRowMove: true,
|
2905
2904
|
*
|
2906
2905
|
* // enable the `ManualRowMove` plugin
|
2907
|
-
* // at initialization, move row
|
2908
|
-
* // at initialization, move row
|
2909
|
-
* // at initialization, move row
|
2910
|
-
*
|
2906
|
+
* // at initialization, move row 1 to 0
|
2907
|
+
* // at initialization, move row 4 to 1
|
2908
|
+
* // at initialization, move row 6 to 2
|
2909
|
+
* manualRowMove: [1, 4, 6],
|
2911
2910
|
* ```
|
2912
2911
|
*/
|
2913
2912
|
manualRowMove: undefined,
|
@@ -4829,4 +4828,4 @@ export default (() => {
|
|
4829
4828
|
|
4830
4829
|
/* eslint-enable jsdoc/require-description-complete-sentence */
|
4831
4830
|
};
|
4832
|
-
}
|
4831
|
+
};
|
@@ -2,13 +2,13 @@
|
|
2
2
|
|
3
3
|
exports.__esModule = true;
|
4
4
|
require("core-js/modules/es.error.cause.js");
|
5
|
-
require("core-js/modules/
|
6
|
-
require("core-js/modules/
|
7
|
-
require("core-js/modules/
|
8
|
-
require("core-js/modules/
|
9
|
-
require("core-js/modules/
|
10
|
-
require("core-js/modules/
|
11
|
-
require("core-js/modules/
|
5
|
+
require("core-js/modules/es.set.difference.v2.js");
|
6
|
+
require("core-js/modules/es.set.intersection.v2.js");
|
7
|
+
require("core-js/modules/es.set.is-disjoint-from.v2.js");
|
8
|
+
require("core-js/modules/es.set.is-subset-of.v2.js");
|
9
|
+
require("core-js/modules/es.set.is-superset-of.v2.js");
|
10
|
+
require("core-js/modules/es.set.symmetric-difference.v2.js");
|
11
|
+
require("core-js/modules/es.set.union.v2.js");
|
12
12
|
var _pluginHooks = _interopRequireDefault(require("../../../pluginHooks"));
|
13
13
|
var _object = require("../../../helpers/object");
|
14
14
|
var _function = require("../../../helpers/function");
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import "core-js/modules/es.error.cause.js";
|
2
|
-
import "core-js/modules/
|
3
|
-
import "core-js/modules/
|
4
|
-
import "core-js/modules/
|
5
|
-
import "core-js/modules/
|
6
|
-
import "core-js/modules/
|
7
|
-
import "core-js/modules/
|
8
|
-
import "core-js/modules/
|
2
|
+
import "core-js/modules/es.set.difference.v2.js";
|
3
|
+
import "core-js/modules/es.set.intersection.v2.js";
|
4
|
+
import "core-js/modules/es.set.is-disjoint-from.v2.js";
|
5
|
+
import "core-js/modules/es.set.is-subset-of.v2.js";
|
6
|
+
import "core-js/modules/es.set.is-superset-of.v2.js";
|
7
|
+
import "core-js/modules/es.set.symmetric-difference.v2.js";
|
8
|
+
import "core-js/modules/es.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); }
|
@@ -3,13 +3,13 @@
|
|
3
3
|
exports.__esModule = true;
|
4
4
|
require("core-js/modules/es.error.cause.js");
|
5
5
|
require("core-js/modules/es.array.push.js");
|
6
|
-
require("core-js/modules/
|
7
|
-
require("core-js/modules/
|
8
|
-
require("core-js/modules/
|
9
|
-
require("core-js/modules/
|
10
|
-
require("core-js/modules/
|
11
|
-
require("core-js/modules/
|
12
|
-
require("core-js/modules/
|
6
|
+
require("core-js/modules/es.set.difference.v2.js");
|
7
|
+
require("core-js/modules/es.set.intersection.v2.js");
|
8
|
+
require("core-js/modules/es.set.is-disjoint-from.v2.js");
|
9
|
+
require("core-js/modules/es.set.is-subset-of.v2.js");
|
10
|
+
require("core-js/modules/es.set.is-superset-of.v2.js");
|
11
|
+
require("core-js/modules/es.set.symmetric-difference.v2.js");
|
12
|
+
require("core-js/modules/es.set.union.v2.js");
|
13
13
|
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
14
14
|
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
15
15
|
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; }
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import "core-js/modules/es.error.cause.js";
|
2
2
|
import "core-js/modules/es.array.push.js";
|
3
|
-
import "core-js/modules/
|
4
|
-
import "core-js/modules/
|
5
|
-
import "core-js/modules/
|
6
|
-
import "core-js/modules/
|
7
|
-
import "core-js/modules/
|
8
|
-
import "core-js/modules/
|
9
|
-
import "core-js/modules/
|
3
|
+
import "core-js/modules/es.set.difference.v2.js";
|
4
|
+
import "core-js/modules/es.set.intersection.v2.js";
|
5
|
+
import "core-js/modules/es.set.is-disjoint-from.v2.js";
|
6
|
+
import "core-js/modules/es.set.is-subset-of.v2.js";
|
7
|
+
import "core-js/modules/es.set.is-superset-of.v2.js";
|
8
|
+
import "core-js/modules/es.set.symmetric-difference.v2.js";
|
9
|
+
import "core-js/modules/es.set.union.v2.js";
|
10
10
|
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
11
11
|
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
12
12
|
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; }
|
@@ -7,13 +7,13 @@ exports.extendByMetaType = extendByMetaType;
|
|
7
7
|
exports.isNullish = isNullish;
|
8
8
|
exports.isUnsignedNumber = isUnsignedNumber;
|
9
9
|
require("core-js/modules/es.error.cause.js");
|
10
|
-
require("core-js/modules/
|
11
|
-
require("core-js/modules/
|
12
|
-
require("core-js/modules/
|
13
|
-
require("core-js/modules/
|
14
|
-
require("core-js/modules/
|
15
|
-
require("core-js/modules/
|
16
|
-
require("core-js/modules/
|
10
|
+
require("core-js/modules/es.set.difference.v2.js");
|
11
|
+
require("core-js/modules/es.set.intersection.v2.js");
|
12
|
+
require("core-js/modules/es.set.is-disjoint-from.v2.js");
|
13
|
+
require("core-js/modules/es.set.is-subset-of.v2.js");
|
14
|
+
require("core-js/modules/es.set.is-superset-of.v2.js");
|
15
|
+
require("core-js/modules/es.set.symmetric-difference.v2.js");
|
16
|
+
require("core-js/modules/es.set.union.v2.js");
|
17
17
|
var _object = require("../../helpers/object");
|
18
18
|
var _registry = require("../../cellTypes/registry");
|
19
19
|
/**
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import "core-js/modules/es.error.cause.js";
|
2
|
-
import "core-js/modules/
|
3
|
-
import "core-js/modules/
|
4
|
-
import "core-js/modules/
|
5
|
-
import "core-js/modules/
|
6
|
-
import "core-js/modules/
|
7
|
-
import "core-js/modules/
|
8
|
-
import "core-js/modules/
|
2
|
+
import "core-js/modules/es.set.difference.v2.js";
|
3
|
+
import "core-js/modules/es.set.intersection.v2.js";
|
4
|
+
import "core-js/modules/es.set.is-disjoint-from.v2.js";
|
5
|
+
import "core-js/modules/es.set.is-subset-of.v2.js";
|
6
|
+
import "core-js/modules/es.set.is-superset-of.v2.js";
|
7
|
+
import "core-js/modules/es.set.symmetric-difference.v2.js";
|
8
|
+
import "core-js/modules/es.set.union.v2.js";
|
9
9
|
import { hasOwnProperty, isObject, objectEach, inherit, extend } from "../../helpers/object.mjs";
|
10
10
|
import { getCellType } from "../../cellTypes/registry.mjs";
|
11
11
|
/**
|
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: 14.
|
29
|
-
* Release date:
|
28
|
+
* Version: 14.6.0-next-6fbf568-20240930
|
29
|
+
* Release date: 01/10/2024 (built at 30/09/2024 11:54:00)
|
30
30
|
*/
|
31
31
|
/**
|
32
32
|
* Fix for bootstrap styles
|
@@ -523,24 +523,9 @@ innerBorderBottom - Property controlled by bottom overlay
|
|
523
523
|
left: 0;
|
524
524
|
right: 0;
|
525
525
|
bottom: 0;
|
526
|
-
/* Fix for IE9 to spread the ":before" pseudo element to 100% height of the parent element */
|
527
|
-
bottom: -100% \9 ;
|
528
526
|
background: #005eff;
|
529
527
|
}
|
530
528
|
|
531
|
-
/* Fix for IE10 and IE11 to spread the ":before" pseudo element to 100% height of the parent element */
|
532
|
-
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
533
|
-
.handsontable td.area:before,
|
534
|
-
.handsontable td.area-1:before,
|
535
|
-
.handsontable td.area-2:before,
|
536
|
-
.handsontable td.area-3:before,
|
537
|
-
.handsontable td.area-4:before,
|
538
|
-
.handsontable td.area-5:before,
|
539
|
-
.handsontable td.area-6:before,
|
540
|
-
.handsontable td.area-7:before {
|
541
|
-
bottom: -100%;
|
542
|
-
}
|
543
|
-
}
|
544
529
|
.handsontable td.area:before {
|
545
530
|
opacity: 0.1;
|
546
531
|
}
|
@@ -621,6 +606,7 @@ innerBorderBottom - Property controlled by bottom overlay
|
|
621
606
|
-webkit-appearance: menulist-button !important;
|
622
607
|
position: absolute;
|
623
608
|
width: auto;
|
609
|
+
border: 2px solid #4b89ff;
|
624
610
|
}
|
625
611
|
|
626
612
|
.htSelectEditor:focus {
|
@@ -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: 14.
|
29
|
-
* Release date:
|
28
|
+
* Version: 14.6.0-next-6fbf568-20240930
|
29
|
+
* Release date: 01/10/2024 (built at 30/09/2024 11:54:00)
|
30
30
|
*/
|
31
31
|
/**
|
32
32
|
* Fix for bootstrap styles
|
@@ -523,24 +523,9 @@ innerBorderBottom - Property controlled by bottom overlay
|
|
523
523
|
left: 0;
|
524
524
|
right: 0;
|
525
525
|
bottom: 0;
|
526
|
-
/* Fix for IE9 to spread the ":before" pseudo element to 100% height of the parent element */
|
527
|
-
bottom: -100% \9 ;
|
528
526
|
background: #005eff;
|
529
527
|
}
|
530
528
|
|
531
|
-
/* Fix for IE10 and IE11 to spread the ":before" pseudo element to 100% height of the parent element */
|
532
|
-
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
533
|
-
.handsontable td.area:before,
|
534
|
-
.handsontable td.area-1:before,
|
535
|
-
.handsontable td.area-2:before,
|
536
|
-
.handsontable td.area-3:before,
|
537
|
-
.handsontable td.area-4:before,
|
538
|
-
.handsontable td.area-5:before,
|
539
|
-
.handsontable td.area-6:before,
|
540
|
-
.handsontable td.area-7:before {
|
541
|
-
bottom: -100%;
|
542
|
-
}
|
543
|
-
}
|
544
529
|
.handsontable td.area:before {
|
545
530
|
opacity: 0.1;
|
546
531
|
}
|
@@ -621,6 +606,7 @@ innerBorderBottom - Property controlled by bottom overlay
|
|
621
606
|
-webkit-appearance: menulist-button !important;
|
622
607
|
position: absolute;
|
623
608
|
width: auto;
|
609
|
+
border: 2px solid #4b89ff;
|
624
610
|
}
|
625
611
|
|
626
612
|
.htSelectEditor:focus {
|