handsontable 0.0.0-next-442dd51-20240422 → 0.0.0-next-499b821-20240423
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/viewportColumns.js +2 -2
- package/3rdparty/walkontable/src/calculator/viewportColumns.mjs +2 -2
- package/3rdparty/walkontable/src/calculator/viewportRows.js +1 -1
- package/3rdparty/walkontable/src/calculator/viewportRows.mjs +1 -1
- package/3rdparty/walkontable/src/overlay/_base.js +24 -20
- package/3rdparty/walkontable/src/overlay/_base.mjs +24 -20
- package/3rdparty/walkontable/src/overlay/bottom.js +3 -6
- package/3rdparty/walkontable/src/overlay/bottom.mjs +3 -6
- package/3rdparty/walkontable/src/overlay/inlineStart.js +3 -6
- package/3rdparty/walkontable/src/overlay/inlineStart.mjs +3 -6
- package/3rdparty/walkontable/src/overlay/top.js +3 -6
- package/3rdparty/walkontable/src/overlay/top.mjs +3 -6
- package/3rdparty/walkontable/src/overlays.js +46 -24
- package/3rdparty/walkontable/src/overlays.mjs +46 -24
- package/3rdparty/walkontable/src/selection/manager.js +7 -0
- package/3rdparty/walkontable/src/selection/manager.mjs +7 -0
- package/3rdparty/walkontable/src/selection/scanner.js +7 -0
- package/3rdparty/walkontable/src/selection/scanner.mjs +7 -0
- package/3rdparty/walkontable/src/table.js +10 -11
- package/3rdparty/walkontable/src/table.mjs +10 -11
- package/base.js +2 -2
- package/base.mjs +2 -2
- package/core.js +7 -2
- package/core.mjs +7 -2
- package/dataMap/metaManager/lazyFactoryMap.js +7 -0
- package/dataMap/metaManager/lazyFactoryMap.mjs +7 -0
- package/dataMap/metaManager/mods/dynamicCellMeta.js +7 -0
- package/dataMap/metaManager/mods/dynamicCellMeta.mjs +7 -0
- package/dataMap/metaManager/mods/extendMetaProperties.js +44 -31
- package/dataMap/metaManager/mods/extendMetaProperties.mjs +44 -31
- package/dataMap/metaManager/utils.js +7 -0
- package/dataMap/metaManager/utils.mjs +7 -0
- package/dist/handsontable.css +3 -3
- package/dist/handsontable.full.css +3 -3
- package/dist/handsontable.full.js +10147 -3789
- package/dist/handsontable.full.min.css +3 -3
- package/dist/handsontable.full.min.js +276 -84
- package/dist/handsontable.js +3370 -2531
- package/dist/handsontable.min.css +3 -3
- package/dist/handsontable.min.js +18 -18
- package/focusManager.js +2 -4
- package/focusManager.mjs +2 -4
- package/helpers/array.js +7 -0
- package/helpers/array.mjs +7 -0
- package/helpers/mixed.js +1 -1
- package/helpers/mixed.mjs +1 -1
- package/helpers/number.js +12 -2
- package/helpers/number.mjs +12 -2
- package/package.json +5 -7
- package/plugins/autoColumnSize/autoColumnSize.js +7 -0
- package/plugins/autoColumnSize/autoColumnSize.mjs +7 -0
- package/plugins/autoRowSize/autoRowSize.js +2 -2
- package/plugins/autoRowSize/autoRowSize.mjs +2 -2
- package/plugins/collapsibleColumns/collapsibleColumns.js +1 -1
- package/plugins/collapsibleColumns/collapsibleColumns.mjs +1 -1
- package/plugins/columnSorting/utils.js +7 -0
- package/plugins/columnSorting/utils.mjs +7 -0
- package/plugins/comments/comments.js +2 -8
- package/plugins/comments/comments.mjs +2 -8
- package/plugins/comments/contextMenuItem/addEditComment.js +0 -1
- package/plugins/comments/contextMenuItem/addEditComment.mjs +0 -1
- package/plugins/filters/filters.js +1 -1
- package/plugins/filters/filters.mjs +1 -1
- package/plugins/filters/ui/multipleSelect.js +22 -14
- package/plugins/filters/ui/multipleSelect.mjs +22 -14
- package/plugins/filters/utils.js +7 -0
- package/plugins/filters/utils.mjs +7 -0
- package/plugins/formulas/formulas.js +7 -0
- package/plugins/formulas/formulas.mjs +7 -0
- package/plugins/hiddenColumns/contextMenuItem/hideColumn.js +1 -1
- package/plugins/hiddenColumns/contextMenuItem/hideColumn.mjs +1 -1
- package/plugins/hiddenColumns/contextMenuItem/showColumn.js +1 -1
- package/plugins/hiddenColumns/contextMenuItem/showColumn.mjs +1 -1
- package/plugins/hiddenColumns/hiddenColumns.js +7 -0
- package/plugins/hiddenColumns/hiddenColumns.mjs +7 -0
- package/plugins/hiddenRows/contextMenuItem/hideRow.js +1 -1
- package/plugins/hiddenRows/contextMenuItem/hideRow.mjs +1 -1
- package/plugins/hiddenRows/contextMenuItem/showRow.js +1 -1
- package/plugins/hiddenRows/contextMenuItem/showRow.mjs +1 -1
- package/plugins/hiddenRows/hiddenRows.js +7 -0
- package/plugins/hiddenRows/hiddenRows.mjs +7 -0
- package/plugins/manualColumnFreeze/contextMenuItem/freezeColumn.js +1 -1
- package/plugins/manualColumnFreeze/contextMenuItem/freezeColumn.mjs +1 -1
- package/plugins/manualColumnFreeze/contextMenuItem/unfreezeColumn.js +1 -1
- package/plugins/manualColumnFreeze/contextMenuItem/unfreezeColumn.mjs +1 -1
- package/plugins/manualColumnMove/manualColumnMove.js +1 -1
- package/plugins/manualColumnMove/manualColumnMove.mjs +1 -1
- package/plugins/manualColumnResize/manualColumnResize.js +2 -2
- package/plugins/manualColumnResize/manualColumnResize.mjs +2 -2
- package/plugins/manualRowMove/manualRowMove.js +1 -1
- package/plugins/manualRowMove/manualRowMove.mjs +1 -1
- package/plugins/manualRowResize/manualRowResize.js +2 -2
- package/plugins/manualRowResize/manualRowResize.mjs +2 -2
- package/plugins/mergeCells/cellsCollection.js +7 -0
- package/plugins/mergeCells/cellsCollection.mjs +7 -0
- package/plugins/mergeCells/mergeCells.js +7 -0
- package/plugins/mergeCells/mergeCells.mjs +7 -0
- package/plugins/nestedHeaders/stateManager/nodeModifiers/collapse.js +7 -0
- package/plugins/nestedHeaders/stateManager/nodeModifiers/collapse.mjs +7 -0
- package/plugins/nestedHeaders/stateManager/nodeModifiers/expand.js +7 -0
- package/plugins/nestedHeaders/stateManager/nodeModifiers/expand.mjs +7 -0
- package/plugins/nestedRows/nestedRows.js +7 -0
- package/plugins/nestedRows/nestedRows.mjs +7 -0
- package/plugins/trimRows/trimRows.js +7 -0
- package/plugins/trimRows/trimRows.mjs +7 -0
- package/selection/selection.js +7 -0
- package/selection/selection.mjs +7 -0
- package/selection/utils.js +7 -0
- package/selection/utils.mjs +7 -0
- package/shortcuts/keyObserver.js +7 -0
- package/shortcuts/keyObserver.mjs +7 -0
- package/shortcuts/utils.js +7 -0
- package/shortcuts/utils.mjs +7 -0
- package/tableView.js +1 -4
- package/tableView.mjs +1 -4
- package/translations/changesObservable/observable.js +7 -0
- package/translations/changesObservable/observable.mjs +7 -0
- package/translations/indexMapper.js +7 -0
- package/translations/indexMapper.mjs +8 -1
- package/utils/dataStructures/uniqueSet.js +7 -0
- package/utils/dataStructures/uniqueSet.mjs +7 -0
- package/utils/paginator.js +7 -0
- package/utils/paginator.mjs +7 -0
@@ -1,7 +1,20 @@
|
|
1
1
|
import "core-js/modules/es.error.cause.js";
|
2
|
+
import "core-js/modules/es.array.push.js";
|
3
|
+
import "core-js/modules/esnext.set.difference.v2.js";
|
4
|
+
import "core-js/modules/esnext.set.intersection.v2.js";
|
5
|
+
import "core-js/modules/esnext.set.is-disjoint-from.v2.js";
|
6
|
+
import "core-js/modules/esnext.set.is-subset-of.v2.js";
|
7
|
+
import "core-js/modules/esnext.set.is-superset-of.v2.js";
|
8
|
+
import "core-js/modules/esnext.set.symmetric-difference.v2.js";
|
9
|
+
import "core-js/modules/esnext.set.union.v2.js";
|
10
|
+
function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
|
11
|
+
function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
|
2
12
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
3
13
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
4
14
|
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); }
|
15
|
+
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
16
|
+
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
17
|
+
var _initOnlyCallback = /*#__PURE__*/new WeakMap();
|
5
18
|
/**
|
6
19
|
* @class ExtendMetaPropertiesMod
|
7
20
|
*/
|
@@ -19,11 +32,7 @@ export class ExtendMetaPropertiesMod {
|
|
19
32
|
* @type {Map}
|
20
33
|
*/
|
21
34
|
_defineProperty(this, "propDescriptors", new Map([['ariaTags', {
|
22
|
-
|
23
|
-
if (!isInitialChange) {
|
24
|
-
throw new Error(`The \`${propName}\` option can not be updated after the Handsontable instance was initialized.`);
|
25
|
-
}
|
26
|
-
}
|
35
|
+
initOnly: true
|
27
36
|
}], ['fixedColumnsLeft', {
|
28
37
|
target: 'fixedColumnsStart',
|
29
38
|
onChange(propName) {
|
@@ -36,48 +45,52 @@ export class ExtendMetaPropertiesMod {
|
|
36
45
|
}
|
37
46
|
}
|
38
47
|
}], ['layoutDirection', {
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
48
|
+
initOnly: true
|
49
|
+
}], ['renderAllColumns', {
|
50
|
+
initOnly: true
|
51
|
+
}], ['renderAllRows', {
|
52
|
+
initOnly: true
|
53
|
+
}]]));
|
54
|
+
/**
|
55
|
+
* Callback called when the prop is marked as `initOnly`.
|
56
|
+
*
|
57
|
+
* @param {string} propName The property name.
|
58
|
+
* @param {*} value The new value.
|
59
|
+
* @param {boolean} isInitialChange Is the change initial.
|
60
|
+
*/
|
61
|
+
_classPrivateFieldInitSpec(this, _initOnlyCallback, (propName, value, isInitialChange) => {
|
62
|
+
if (!isInitialChange) {
|
63
|
+
throw new Error(`The \`${propName}\` option can not be updated after the Handsontable is initialized.`);
|
43
64
|
}
|
44
|
-
}
|
45
|
-
// Temporary commented out due to the bug in the React wrapper.
|
46
|
-
// ['renderAllColumns', {
|
47
|
-
// onChange(propName, value, isInitialChange) {
|
48
|
-
// if (!isInitialChange) {
|
49
|
-
// throw new Error(`The \`${propName}\` option can not be updated after the Handsontable is initialized.`);
|
50
|
-
// }
|
51
|
-
// }
|
52
|
-
// }],
|
53
|
-
// ['renderAllRows', {
|
54
|
-
// onChange(propName, value, isInitialChange) {
|
55
|
-
// if (!isInitialChange) {
|
56
|
-
// throw new Error(`The \`${propName}\` option can not be updated after the Handsontable is initialized.`);
|
57
|
-
// }
|
58
|
-
// }
|
59
|
-
// }],
|
60
|
-
]));
|
65
|
+
});
|
61
66
|
this.metaManager = metaManager;
|
62
67
|
this.extendMetaProps();
|
63
68
|
}
|
64
|
-
|
65
69
|
/**
|
66
70
|
* Extends the meta options based on the object descriptors from the `propDescriptors` list.
|
67
71
|
*/
|
68
72
|
extendMetaProps() {
|
69
73
|
this.propDescriptors.forEach((descriptor, alias) => {
|
70
74
|
const {
|
75
|
+
initOnly,
|
71
76
|
target,
|
72
|
-
onChange
|
77
|
+
onChange
|
73
78
|
} = descriptor;
|
74
79
|
const hasTarget = typeof target === 'string';
|
75
80
|
const targetProp = hasTarget ? target : alias;
|
76
81
|
const origProp = `_${targetProp}`;
|
77
82
|
this.metaManager.globalMeta.meta[origProp] = this.metaManager.globalMeta.meta[targetProp];
|
78
|
-
|
79
|
-
|
80
|
-
|
83
|
+
if (onChange) {
|
84
|
+
this.installPropWatcher(alias, origProp, onChange);
|
85
|
+
if (hasTarget) {
|
86
|
+
this.installPropWatcher(target, origProp, onChange);
|
87
|
+
}
|
88
|
+
} else if (initOnly) {
|
89
|
+
this.installPropWatcher(alias, origProp, _classPrivateFieldGet(_initOnlyCallback, this));
|
90
|
+
if (!this.metaManager.globalMeta.meta._initOnlySettings) {
|
91
|
+
this.metaManager.globalMeta.meta._initOnlySettings = [];
|
92
|
+
}
|
93
|
+
this.metaManager.globalMeta.meta._initOnlySettings.push(alias);
|
81
94
|
}
|
82
95
|
});
|
83
96
|
}
|
@@ -7,6 +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/esnext.set.difference.v2.js");
|
11
|
+
require("core-js/modules/esnext.set.intersection.v2.js");
|
12
|
+
require("core-js/modules/esnext.set.is-disjoint-from.v2.js");
|
13
|
+
require("core-js/modules/esnext.set.is-subset-of.v2.js");
|
14
|
+
require("core-js/modules/esnext.set.is-superset-of.v2.js");
|
15
|
+
require("core-js/modules/esnext.set.symmetric-difference.v2.js");
|
16
|
+
require("core-js/modules/esnext.set.union.v2.js");
|
10
17
|
var _object = require("../../helpers/object");
|
11
18
|
var _registry = require("../../cellTypes/registry");
|
12
19
|
/**
|
@@ -1,4 +1,11 @@
|
|
1
1
|
import "core-js/modules/es.error.cause.js";
|
2
|
+
import "core-js/modules/esnext.set.difference.v2.js";
|
3
|
+
import "core-js/modules/esnext.set.intersection.v2.js";
|
4
|
+
import "core-js/modules/esnext.set.is-disjoint-from.v2.js";
|
5
|
+
import "core-js/modules/esnext.set.is-subset-of.v2.js";
|
6
|
+
import "core-js/modules/esnext.set.is-superset-of.v2.js";
|
7
|
+
import "core-js/modules/esnext.set.symmetric-difference.v2.js";
|
8
|
+
import "core-js/modules/esnext.set.union.v2.js";
|
2
9
|
import { hasOwnProperty, isObject, objectEach, inherit, extend } from "../../helpers/object.mjs";
|
3
10
|
import { getCellType } from "../../cellTypes/registry.mjs";
|
4
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: 0.0.0-next-
|
29
|
-
* Release date: 16/04/2024 (built at
|
28
|
+
* Version: 0.0.0-next-499b821-20240423
|
29
|
+
* Release date: 16/04/2024 (built at 23/04/2024 10:35:47)
|
30
30
|
*/
|
31
31
|
/**
|
32
32
|
* Fix for bootstrap styles
|
@@ -1412,7 +1412,7 @@ textarea.HandsontableCopyPaste {
|
|
1412
1412
|
}
|
1413
1413
|
|
1414
1414
|
.htUIMultipleSelect .ht_master .wtHolder {
|
1415
|
-
overflow
|
1415
|
+
overflow: auto;
|
1416
1416
|
}
|
1417
1417
|
|
1418
1418
|
.handsontable .htFiltersActive .changeType {
|
@@ -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: 16/04/2024 (built at
|
28
|
+
* Version: 0.0.0-next-499b821-20240423
|
29
|
+
* Release date: 16/04/2024 (built at 23/04/2024 10:35:47)
|
30
30
|
*/
|
31
31
|
/**
|
32
32
|
* Fix for bootstrap styles
|
@@ -1645,7 +1645,7 @@ textarea.HandsontableCopyPaste {
|
|
1645
1645
|
}
|
1646
1646
|
|
1647
1647
|
.htUIMultipleSelect .ht_master .wtHolder {
|
1648
|
-
overflow
|
1648
|
+
overflow: auto;
|
1649
1649
|
}
|
1650
1650
|
|
1651
1651
|
.handsontable .htFiltersActive .changeType {
|