handsontable 0.0.0-next-1763d65-20240422 → 0.0.0-next-442dd51-20240422
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 +20 -24
- package/3rdparty/walkontable/src/overlay/_base.mjs +20 -24
- package/3rdparty/walkontable/src/overlay/bottom.js +6 -3
- package/3rdparty/walkontable/src/overlay/bottom.mjs +6 -3
- package/3rdparty/walkontable/src/overlay/inlineStart.js +6 -3
- package/3rdparty/walkontable/src/overlay/inlineStart.mjs +6 -3
- package/3rdparty/walkontable/src/overlay/top.js +6 -3
- package/3rdparty/walkontable/src/overlay/top.mjs +6 -3
- package/3rdparty/walkontable/src/overlays.js +24 -46
- package/3rdparty/walkontable/src/overlays.mjs +24 -46
- package/3rdparty/walkontable/src/selection/manager.js +0 -7
- package/3rdparty/walkontable/src/selection/manager.mjs +0 -7
- package/3rdparty/walkontable/src/selection/scanner.js +0 -7
- package/3rdparty/walkontable/src/selection/scanner.mjs +0 -7
- package/3rdparty/walkontable/src/table.js +11 -10
- package/3rdparty/walkontable/src/table.mjs +11 -10
- package/base.js +2 -2
- package/base.mjs +2 -2
- package/core.js +0 -7
- package/core.mjs +0 -7
- package/dataMap/metaManager/lazyFactoryMap.js +0 -7
- package/dataMap/metaManager/lazyFactoryMap.mjs +0 -7
- package/dataMap/metaManager/mods/dynamicCellMeta.js +0 -7
- package/dataMap/metaManager/mods/dynamicCellMeta.mjs +0 -7
- package/dataMap/metaManager/mods/extendMetaProperties.js +31 -44
- package/dataMap/metaManager/mods/extendMetaProperties.mjs +31 -44
- package/dataMap/metaManager/utils.js +0 -7
- package/dataMap/metaManager/utils.mjs +0 -7
- package/dist/handsontable.css +2 -2
- package/dist/handsontable.full.css +2 -2
- package/dist/handsontable.full.js +3780 -10138
- package/dist/handsontable.full.min.css +2 -2
- package/dist/handsontable.full.min.js +84 -276
- package/dist/handsontable.js +2522 -3361
- package/dist/handsontable.min.css +2 -2
- package/dist/handsontable.min.js +18 -18
- package/helpers/array.js +0 -7
- package/helpers/array.mjs +0 -7
- package/helpers/mixed.js +1 -1
- package/helpers/mixed.mjs +1 -1
- package/helpers/number.js +2 -12
- package/helpers/number.mjs +2 -12
- package/package.json +7 -5
- package/plugins/autoColumnSize/autoColumnSize.js +0 -7
- package/plugins/autoColumnSize/autoColumnSize.mjs +0 -7
- 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 +0 -7
- package/plugins/columnSorting/utils.mjs +0 -7
- package/plugins/comments/comments.js +8 -2
- package/plugins/comments/comments.mjs +8 -2
- package/plugins/filters/filters.js +1 -1
- package/plugins/filters/filters.mjs +1 -1
- package/plugins/filters/ui/multipleSelect.js +12 -15
- package/plugins/filters/ui/multipleSelect.mjs +12 -15
- package/plugins/filters/utils.js +0 -7
- package/plugins/filters/utils.mjs +0 -7
- package/plugins/formulas/formulas.js +0 -7
- package/plugins/formulas/formulas.mjs +0 -7
- 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 +0 -7
- package/plugins/hiddenColumns/hiddenColumns.mjs +0 -7
- 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 +0 -7
- package/plugins/hiddenRows/hiddenRows.mjs +0 -7
- 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 +0 -7
- package/plugins/mergeCells/cellsCollection.mjs +0 -7
- package/plugins/mergeCells/mergeCells.js +0 -7
- package/plugins/mergeCells/mergeCells.mjs +0 -7
- package/plugins/nestedHeaders/stateManager/nodeModifiers/collapse.js +0 -7
- package/plugins/nestedHeaders/stateManager/nodeModifiers/collapse.mjs +0 -7
- package/plugins/nestedHeaders/stateManager/nodeModifiers/expand.js +0 -7
- package/plugins/nestedHeaders/stateManager/nodeModifiers/expand.mjs +0 -7
- package/plugins/nestedRows/nestedRows.js +0 -7
- package/plugins/nestedRows/nestedRows.mjs +0 -7
- package/plugins/trimRows/trimRows.js +0 -7
- package/plugins/trimRows/trimRows.mjs +0 -7
- package/selection/selection.js +0 -7
- package/selection/selection.mjs +0 -7
- package/selection/utils.js +0 -7
- package/selection/utils.mjs +0 -7
- package/shortcuts/keyObserver.js +0 -7
- package/shortcuts/keyObserver.mjs +0 -7
- package/shortcuts/utils.js +0 -7
- package/shortcuts/utils.mjs +0 -7
- package/tableView.js +4 -1
- package/tableView.mjs +4 -1
- package/translations/changesObservable/observable.js +0 -7
- package/translations/changesObservable/observable.mjs +0 -7
- package/translations/indexMapper.js +0 -7
- package/translations/indexMapper.mjs +1 -8
- package/utils/dataStructures/uniqueSet.js +0 -7
- package/utils/dataStructures/uniqueSet.mjs +0 -7
- package/utils/paginator.js +0 -7
- package/utils/paginator.mjs +0 -7
@@ -1,20 +1,7 @@
|
|
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"); } }
|
12
2
|
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; }
|
13
3
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
14
4
|
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();
|
18
5
|
/**
|
19
6
|
* @class ExtendMetaPropertiesMod
|
20
7
|
*/
|
@@ -32,7 +19,11 @@ export class ExtendMetaPropertiesMod {
|
|
32
19
|
* @type {Map}
|
33
20
|
*/
|
34
21
|
_defineProperty(this, "propDescriptors", new Map([['ariaTags', {
|
35
|
-
|
22
|
+
onChange(propName, value, isInitialChange) {
|
23
|
+
if (!isInitialChange) {
|
24
|
+
throw new Error(`The \`${propName}\` option can not be updated after the Handsontable instance was initialized.`);
|
25
|
+
}
|
26
|
+
}
|
36
27
|
}], ['fixedColumnsLeft', {
|
37
28
|
target: 'fixedColumnsStart',
|
38
29
|
onChange(propName) {
|
@@ -45,52 +36,48 @@ export class ExtendMetaPropertiesMod {
|
|
45
36
|
}
|
46
37
|
}
|
47
38
|
}], ['layoutDirection', {
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
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.`);
|
39
|
+
onChange(propName, value, isInitialChange) {
|
40
|
+
if (!isInitialChange) {
|
41
|
+
throw new Error(`The \`${propName}\` option can not be updated after the Handsontable is initialized.`);
|
42
|
+
}
|
64
43
|
}
|
65
|
-
}
|
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
|
+
]));
|
66
61
|
this.metaManager = metaManager;
|
67
62
|
this.extendMetaProps();
|
68
63
|
}
|
64
|
+
|
69
65
|
/**
|
70
66
|
* Extends the meta options based on the object descriptors from the `propDescriptors` list.
|
71
67
|
*/
|
72
68
|
extendMetaProps() {
|
73
69
|
this.propDescriptors.forEach((descriptor, alias) => {
|
74
70
|
const {
|
75
|
-
initOnly,
|
76
71
|
target,
|
77
|
-
onChange
|
72
|
+
onChange = () => {}
|
78
73
|
} = descriptor;
|
79
74
|
const hasTarget = typeof target === 'string';
|
80
75
|
const targetProp = hasTarget ? target : alias;
|
81
76
|
const origProp = `_${targetProp}`;
|
82
77
|
this.metaManager.globalMeta.meta[origProp] = this.metaManager.globalMeta.meta[targetProp];
|
83
|
-
|
84
|
-
|
85
|
-
|
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);
|
78
|
+
this.installPropWatcher(alias, origProp, onChange);
|
79
|
+
if (hasTarget) {
|
80
|
+
this.installPropWatcher(target, origProp, onChange);
|
94
81
|
}
|
95
82
|
});
|
96
83
|
}
|
@@ -7,13 +7,6 @@ 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");
|
17
10
|
var _object = require("../../helpers/object");
|
18
11
|
var _registry = require("../../cellTypes/registry");
|
19
12
|
/**
|
@@ -1,11 +1,4 @@
|
|
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";
|
9
2
|
import { hasOwnProperty, isObject, objectEach, inherit, extend } from "../../helpers/object.mjs";
|
10
3
|
import { getCellType } from "../../cellTypes/registry.mjs";
|
11
4
|
/**
|
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 22/04/2024
|
28
|
+
* Version: 0.0.0-next-442dd51-20240422
|
29
|
+
* Release date: 16/04/2024 (built at 22/04/2024 11:46:24)
|
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: 16/04/2024 (built at 22/04/2024
|
28
|
+
* Version: 0.0.0-next-442dd51-20240422
|
29
|
+
* Release date: 16/04/2024 (built at 22/04/2024 11:46:24)
|
30
30
|
*/
|
31
31
|
/**
|
32
32
|
* Fix for bootstrap styles
|