handsontable 0.0.0-next-8a47869-20230712 → 0.0.0-next-4fd762c-20230713
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 +3 -1
- package/3rdparty/walkontable/src/calculator/viewportColumns.mjs +3 -1
- package/3rdparty/walkontable/src/calculator/viewportRows.js +3 -1
- package/3rdparty/walkontable/src/calculator/viewportRows.mjs +3 -1
- package/3rdparty/walkontable/src/cell/range.js +1 -0
- package/3rdparty/walkontable/src/cell/range.mjs +1 -0
- package/3rdparty/walkontable/src/core/_base.js +1 -0
- package/3rdparty/walkontable/src/core/_base.mjs +1 -0
- package/3rdparty/walkontable/src/core/core.js +1 -0
- package/3rdparty/walkontable/src/core/core.mjs +1 -0
- package/3rdparty/walkontable/src/overlay/_base.js +1 -0
- package/3rdparty/walkontable/src/overlay/_base.mjs +1 -0
- package/3rdparty/walkontable/src/overlay/bottom.js +1 -0
- package/3rdparty/walkontable/src/overlay/bottom.mjs +1 -0
- package/3rdparty/walkontable/src/overlay/inlineStart.js +3 -1
- package/3rdparty/walkontable/src/overlay/inlineStart.mjs +3 -1
- package/3rdparty/walkontable/src/overlay/top.js +3 -1
- package/3rdparty/walkontable/src/overlay/top.mjs +3 -1
- package/3rdparty/walkontable/src/overlays.js +1 -0
- package/3rdparty/walkontable/src/overlays.mjs +1 -0
- package/3rdparty/walkontable/src/selection.js +1 -0
- package/3rdparty/walkontable/src/selection.mjs +1 -0
- package/3rdparty/walkontable/src/settings.js +1 -0
- package/3rdparty/walkontable/src/settings.mjs +1 -0
- package/3rdparty/walkontable/src/table.js +2 -0
- package/3rdparty/walkontable/src/table.mjs +2 -0
- package/3rdparty/walkontable/src/utils/orderView/view.js +1 -0
- package/3rdparty/walkontable/src/utils/orderView/view.mjs +1 -0
- package/base.js +2 -2
- package/base.mjs +2 -2
- package/cellTypes/registry.js +1 -0
- package/cellTypes/registry.mjs +1 -0
- package/core.js +7 -3
- package/core.mjs +7 -3
- package/dataMap/dataMap.js +2 -0
- package/dataMap/dataMap.mjs +2 -0
- package/dataMap/dataSource.js +1 -0
- package/dataMap/dataSource.mjs +1 -0
- package/dataMap/metaManager/index.js +1 -0
- package/dataMap/metaManager/index.mjs +1 -0
- package/dataMap/metaManager/lazyFactoryMap.js +1 -0
- package/dataMap/metaManager/lazyFactoryMap.mjs +1 -0
- package/dataMap/metaManager/metaLayers/cellMeta.js +1 -0
- package/dataMap/metaManager/metaLayers/cellMeta.mjs +1 -0
- package/dataMap/metaManager/metaLayers/globalMeta.js +2 -1
- package/dataMap/metaManager/metaLayers/globalMeta.mjs +2 -1
- package/dataMap/metaManager/mods/dynamicCellMeta.js +2 -1
- package/dataMap/metaManager/mods/dynamicCellMeta.mjs +2 -1
- package/dataMap/metaManager/mods/extendMetaProperties.js +1 -0
- package/dataMap/metaManager/mods/extendMetaProperties.mjs +1 -0
- package/dataMap/metaManager/utils.js +1 -0
- package/dataMap/metaManager/utils.mjs +1 -0
- package/dataMap/replaceData.js +2 -0
- package/dataMap/replaceData.mjs +2 -0
- package/dist/handsontable.css +2 -2
- package/dist/handsontable.full.css +2 -2
- package/dist/handsontable.full.js +3556 -2618
- package/dist/handsontable.full.min.css +2 -2
- package/dist/handsontable.full.min.js +19 -19
- package/dist/handsontable.js +3171 -2233
- package/dist/handsontable.min.css +2 -2
- package/dist/handsontable.min.js +18 -18
- package/editors/autocompleteEditor/autocompleteEditor.js +1 -0
- package/editors/autocompleteEditor/autocompleteEditor.mjs +1 -0
- package/editors/baseEditor/baseEditor.js +3 -1
- package/editors/baseEditor/baseEditor.mjs +3 -1
- package/editors/dateEditor/dateEditor.js +1 -0
- package/editors/dateEditor/dateEditor.mjs +1 -0
- package/editors/registry.js +1 -0
- package/editors/registry.mjs +1 -0
- package/eventManager.js +1 -0
- package/eventManager.mjs +1 -0
- package/helpers/array.js +1 -0
- package/helpers/array.mjs +1 -0
- package/helpers/data.js +1 -0
- package/helpers/data.mjs +1 -0
- package/helpers/dom/element.js +2 -0
- package/helpers/dom/element.mjs +2 -0
- package/helpers/mixed.js +1 -1
- package/helpers/mixed.mjs +1 -1
- package/helpers/object.js +2 -0
- package/helpers/object.mjs +2 -0
- package/helpers/string.js +1 -0
- package/helpers/string.mjs +1 -0
- package/helpers/unicode.js +1 -0
- package/helpers/unicode.mjs +1 -0
- package/helpers/wrappers/jquery.js +1 -0
- package/helpers/wrappers/jquery.mjs +1 -0
- package/index.js +6 -5
- package/index.mjs +6 -5
- package/mixins/hooksRefRegisterer.js +1 -0
- package/mixins/hooksRefRegisterer.mjs +1 -0
- package/mixins/localHooks.js +1 -0
- package/mixins/localHooks.mjs +1 -0
- package/package.json +1 -1
- package/pluginHooks.js +1 -0
- package/pluginHooks.mjs +1 -0
- package/plugins/autoColumnSize/autoColumnSize.js +1 -0
- package/plugins/autoColumnSize/autoColumnSize.mjs +1 -0
- package/plugins/autofill/autofill.js +1 -0
- package/plugins/autofill/autofill.mjs +1 -0
- package/plugins/base/base.js +2 -0
- package/plugins/base/base.mjs +2 -0
- package/plugins/collapsibleColumns/collapsibleColumns.js +6 -2
- package/plugins/collapsibleColumns/collapsibleColumns.mjs +6 -2
- package/plugins/columnSorting/columnSorting.js +1 -0
- package/plugins/columnSorting/columnSorting.mjs +1 -0
- package/plugins/columnSorting/domHelpers.js +1 -0
- package/plugins/columnSorting/domHelpers.mjs +1 -0
- package/plugins/columnSummary/columnSummary.js +1 -0
- package/plugins/columnSummary/columnSummary.mjs +1 -0
- package/plugins/columnSummary/endpoints.js +2 -0
- package/plugins/columnSummary/endpoints.mjs +2 -0
- package/plugins/comments/comments.js +5 -2
- package/plugins/comments/comments.mjs +5 -2
- package/plugins/contextMenu/commandExecutor.js +3 -0
- package/plugins/contextMenu/commandExecutor.mjs +3 -0
- package/plugins/contextMenu/itemsFactory.js +1 -0
- package/plugins/contextMenu/itemsFactory.mjs +1 -0
- package/plugins/contextMenu/menu.js +1 -0
- package/plugins/contextMenu/menu.mjs +1 -0
- package/plugins/contextMenu/utils.js +1 -0
- package/plugins/contextMenu/utils.mjs +1 -0
- package/plugins/copyPaste/copyPaste.js +5 -2
- package/plugins/copyPaste/copyPaste.mjs +5 -2
- package/plugins/copyPaste/copyableRanges.js +2 -0
- package/plugins/copyPaste/copyableRanges.mjs +2 -0
- package/plugins/customBorders/customBorders.js +2 -0
- package/plugins/customBorders/customBorders.mjs +2 -0
- package/plugins/customBorders/utils.js +6 -3
- package/plugins/customBorders/utils.mjs +6 -3
- package/plugins/exportFile/dataProvider.js +1 -0
- package/plugins/exportFile/dataProvider.mjs +1 -0
- package/plugins/exportFile/exportFile.js +1 -0
- package/plugins/exportFile/exportFile.mjs +1 -0
- package/plugins/filters/component/_base.js +1 -0
- package/plugins/filters/component/_base.mjs +1 -0
- package/plugins/filters/component/actionBar.js +1 -0
- package/plugins/filters/component/actionBar.mjs +1 -0
- package/plugins/filters/component/condition.js +1 -0
- package/plugins/filters/component/condition.mjs +1 -0
- package/plugins/filters/component/operators.js +2 -0
- package/plugins/filters/component/operators.mjs +2 -0
- package/plugins/filters/component/value.js +1 -0
- package/plugins/filters/component/value.mjs +1 -0
- package/plugins/filters/conditionCollection.js +6 -2
- package/plugins/filters/conditionCollection.mjs +6 -2
- package/plugins/filters/conditionRegisterer.js +1 -0
- package/plugins/filters/conditionRegisterer.mjs +1 -0
- package/plugins/filters/conditionUpdateObserver.js +1 -0
- package/plugins/filters/conditionUpdateObserver.mjs +1 -0
- package/plugins/filters/constants.js +1 -0
- package/plugins/filters/constants.mjs +1 -0
- package/plugins/filters/dataFilter.js +1 -0
- package/plugins/filters/dataFilter.mjs +1 -0
- package/plugins/filters/filters.js +3 -1
- package/plugins/filters/filters.mjs +3 -1
- package/plugins/filters/logicalOperationRegisterer.js +1 -0
- package/plugins/filters/logicalOperationRegisterer.mjs +1 -0
- package/plugins/filters/logicalOperations/disjunctionWithExtraCondition.js +1 -0
- package/plugins/filters/logicalOperations/disjunctionWithExtraCondition.mjs +1 -0
- package/plugins/filters/ui/multipleSelect.js +1 -0
- package/plugins/filters/ui/multipleSelect.mjs +1 -0
- package/plugins/filters/utils.js +1 -0
- package/plugins/filters/utils.mjs +1 -0
- package/plugins/formulas/engine/register.js +5 -2
- package/plugins/formulas/engine/register.mjs +5 -2
- package/plugins/formulas/formulas.js +10 -6
- package/plugins/formulas/formulas.mjs +10 -6
- package/plugins/formulas/indexSyncer/axisSyncer.js +3 -1
- package/plugins/formulas/indexSyncer/axisSyncer.mjs +3 -1
- package/plugins/hiddenColumns/contextMenuItem/hideColumn.js +1 -0
- package/plugins/hiddenColumns/contextMenuItem/hideColumn.mjs +1 -0
- package/plugins/hiddenColumns/contextMenuItem/showColumn.js +4 -2
- package/plugins/hiddenColumns/contextMenuItem/showColumn.mjs +4 -2
- package/plugins/hiddenColumns/hiddenColumns.js +1 -0
- package/plugins/hiddenColumns/hiddenColumns.mjs +1 -0
- package/plugins/hiddenRows/contextMenuItem/hideRow.js +1 -0
- package/plugins/hiddenRows/contextMenuItem/hideRow.mjs +1 -0
- package/plugins/hiddenRows/contextMenuItem/showRow.js +4 -2
- package/plugins/hiddenRows/contextMenuItem/showRow.mjs +4 -2
- package/plugins/hiddenRows/hiddenRows.js +1 -0
- package/plugins/hiddenRows/hiddenRows.mjs +1 -0
- package/plugins/manualColumnFreeze/manualColumnFreeze.js +1 -0
- package/plugins/manualColumnFreeze/manualColumnFreeze.mjs +1 -0
- package/plugins/manualColumnMove/manualColumnMove.js +1 -0
- package/plugins/manualColumnMove/manualColumnMove.mjs +1 -0
- package/plugins/manualColumnResize/manualColumnResize.js +1 -0
- package/plugins/manualColumnResize/manualColumnResize.mjs +1 -0
- package/plugins/manualRowMove/manualRowMove.js +1 -0
- package/plugins/manualRowMove/manualRowMove.mjs +1 -0
- package/plugins/manualRowResize/manualRowResize.js +1 -0
- package/plugins/manualRowResize/manualRowResize.mjs +1 -0
- package/plugins/mergeCells/calculations/selection.js +1 -0
- package/plugins/mergeCells/calculations/selection.mjs +1 -0
- package/plugins/mergeCells/cellsCollection.js +1 -0
- package/plugins/mergeCells/cellsCollection.mjs +1 -0
- package/plugins/mergeCells/mergeCells.js +1 -0
- package/plugins/mergeCells/mergeCells.mjs +1 -0
- package/plugins/multiColumnSorting/domHelpers.js +1 -0
- package/plugins/multiColumnSorting/domHelpers.mjs +1 -0
- package/plugins/multipleSelectionHandles/multipleSelectionHandles.js +1 -0
- package/plugins/multipleSelectionHandles/multipleSelectionHandles.mjs +1 -0
- package/plugins/nestedHeaders/nestedHeaders.js +7 -3
- package/plugins/nestedHeaders/nestedHeaders.mjs +7 -3
- package/plugins/nestedHeaders/stateManager/index.js +7 -3
- package/plugins/nestedHeaders/stateManager/index.mjs +7 -3
- package/plugins/nestedHeaders/stateManager/matrixGenerator.js +1 -0
- package/plugins/nestedHeaders/stateManager/matrixGenerator.mjs +1 -0
- package/plugins/nestedHeaders/stateManager/nodeModifiers/collapse.js +2 -1
- package/plugins/nestedHeaders/stateManager/nodeModifiers/collapse.mjs +2 -1
- package/plugins/nestedHeaders/stateManager/nodeModifiers/hideColumn.js +2 -0
- package/plugins/nestedHeaders/stateManager/nodeModifiers/hideColumn.mjs +2 -0
- package/plugins/nestedHeaders/stateManager/nodeModifiers/index.js +1 -0
- package/plugins/nestedHeaders/stateManager/nodeModifiers/index.mjs +1 -0
- package/plugins/nestedHeaders/stateManager/nodeModifiers/showColumn.js +1 -0
- package/plugins/nestedHeaders/stateManager/nodeModifiers/showColumn.mjs +1 -0
- package/plugins/nestedHeaders/stateManager/settingsNormalizer.js +1 -0
- package/plugins/nestedHeaders/stateManager/settingsNormalizer.mjs +1 -0
- package/plugins/nestedHeaders/stateManager/sourceSettings.js +4 -1
- package/plugins/nestedHeaders/stateManager/sourceSettings.mjs +4 -1
- package/plugins/nestedRows/data/dataManager.js +1 -0
- package/plugins/nestedRows/data/dataManager.mjs +1 -0
- package/plugins/nestedRows/nestedRows.js +1 -0
- package/plugins/nestedRows/nestedRows.mjs +1 -0
- package/plugins/nestedRows/ui/collapsing.js +1 -0
- package/plugins/nestedRows/ui/collapsing.mjs +1 -0
- package/plugins/nestedRows/utils/rowMoveController.js +1 -0
- package/plugins/nestedRows/utils/rowMoveController.mjs +1 -0
- package/plugins/persistentState/storage.js +1 -0
- package/plugins/persistentState/storage.mjs +1 -0
- package/plugins/registry.js +1 -0
- package/plugins/registry.mjs +1 -0
- package/plugins/search/search.js +1 -0
- package/plugins/search/search.mjs +1 -0
- package/plugins/touchScroll/touchScroll.js +1 -0
- package/plugins/touchScroll/touchScroll.mjs +1 -0
- package/plugins/trimRows/trimRows.js +1 -0
- package/plugins/trimRows/trimRows.mjs +1 -0
- package/plugins/undoRedo/undoRedo.js +1 -0
- package/plugins/undoRedo/undoRedo.mjs +1 -0
- package/renderers/baseRenderer/baseRenderer.js +1 -0
- package/renderers/baseRenderer/baseRenderer.mjs +1 -0
- package/renderers/checkboxRenderer/checkboxRenderer.js +1 -0
- package/renderers/checkboxRenderer/checkboxRenderer.mjs +1 -0
- package/renderers/numericRenderer/numericRenderer.js +1 -0
- package/renderers/numericRenderer/numericRenderer.mjs +1 -0
- package/renderers/registry.js +1 -0
- package/renderers/registry.mjs +1 -0
- package/selection/highlight/highlight.js +1 -0
- package/selection/highlight/highlight.mjs +1 -0
- package/selection/range.js +1 -0
- package/selection/range.mjs +1 -0
- package/selection/selection.js +1 -0
- package/selection/selection.mjs +1 -0
- package/selection/utils.js +2 -0
- package/selection/utils.mjs +2 -0
- package/shortcuts/context.js +2 -0
- package/shortcuts/context.mjs +2 -0
- package/shortcuts/recorder.js +1 -0
- package/shortcuts/recorder.mjs +1 -0
- package/tableView.js +4 -2
- package/tableView.mjs +4 -2
- package/translations/changesObservable/observable.js +1 -1
- package/translations/changesObservable/observable.mjs +1 -1
- package/translations/changesObservable/utils.js +1 -0
- package/translations/changesObservable/utils.mjs +1 -0
- package/translations/indexMapper.js +1 -0
- package/translations/indexMapper.mjs +1 -0
- package/translations/mapCollections/aggregatedCollection.js +1 -0
- package/translations/mapCollections/aggregatedCollection.mjs +1 -0
- package/translations/maps/hidingMap.js +1 -0
- package/translations/maps/hidingMap.mjs +1 -0
- package/translations/maps/index.js +1 -0
- package/translations/maps/index.mjs +1 -0
- package/translations/maps/indexMap.js +1 -0
- package/translations/maps/indexMap.mjs +1 -0
- package/translations/maps/trimmingMap.js +1 -0
- package/translations/maps/trimmingMap.mjs +1 -0
- package/translations/maps/utils/index.js +1 -0
- package/translations/maps/utils/index.mjs +1 -0
- package/utils/dataStructures/priorityMap.js +1 -0
- package/utils/dataStructures/priorityMap.mjs +1 -0
- package/utils/dataStructures/queue.js +1 -0
- package/utils/dataStructures/queue.mjs +1 -0
- package/utils/dataStructures/stack.js +1 -0
- package/utils/dataStructures/stack.mjs +1 -0
- package/utils/dataStructures/tree.js +2 -0
- package/utils/dataStructures/tree.mjs +2 -0
- package/utils/dataStructures/uniqueMap.js +1 -0
- package/utils/dataStructures/uniqueMap.mjs +1 -0
- package/utils/dataStructures/uniqueSet.js +1 -0
- package/utils/dataStructures/uniqueSet.mjs +1 -0
- package/utils/ghostTable.js +2 -0
- package/utils/ghostTable.mjs +2 -0
- package/utils/parseTable.js +1 -0
- package/utils/parseTable.mjs +1 -0
- package/utils/samplesGenerator.js +2 -0
- package/utils/samplesGenerator.mjs +2 -0
- package/validators/registry.js +1 -0
- package/validators/registry.mjs +1 -0
@@ -1,3 +1,4 @@
|
|
1
|
+
import "core-js/modules/es.array.push.js";
|
1
2
|
import { HandsontableEditor } from "../handsontableEditor/index.mjs";
|
2
3
|
import { arrayMap, pivot } from "../../helpers/array.mjs";
|
3
4
|
import { addClass, getCaretPosition, getScrollbarWidth, getSelectionEndPosition, getTrimmingContainer, offset, outerHeight, outerWidth, setCaretPosition } from "../../helpers/dom/element.mjs";
|
@@ -1,6 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
|
3
3
|
exports.__esModule = true;
|
4
|
+
require("core-js/modules/es.error.cause.js");
|
4
5
|
var _mixed = require("../../helpers/mixed");
|
5
6
|
var _object = require("../../helpers/object");
|
6
7
|
var _editorManager = require("../../editorManager");
|
@@ -428,6 +429,7 @@ class BaseEditor {
|
|
428
429
|
* @returns {{top: number, start: number, width: number, maxWidth: number, height: number, maxHeight: number} | undefined}
|
429
430
|
*/
|
430
431
|
getEditedCellRect() {
|
432
|
+
var _wtOverlays$getParent;
|
431
433
|
const TD = this.getEditedCell();
|
432
434
|
|
433
435
|
// TD is outside of the viewport.
|
@@ -450,7 +452,7 @@ class BaseEditor {
|
|
450
452
|
const gridMostRightPos = rootWindow.innerWidth - containerOffset.left - containerWidth;
|
451
453
|
const {
|
452
454
|
wtTable: overlayTable
|
453
|
-
} = wtOverlays.getParentOverlay(TD)
|
455
|
+
} = (_wtOverlays$getParent = wtOverlays.getParentOverlay(TD)) != null ? _wtOverlays$getParent : this.hot.view._wt;
|
454
456
|
const overlayName = overlayTable.name;
|
455
457
|
const scrollTop = ['master', 'inline_start'].includes(overlayName) ? containerScrollTop : 0;
|
456
458
|
const scrollLeft = ['master', 'top', 'bottom'].includes(overlayName) ? containerScrollLeft : 0;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import "core-js/modules/es.error.cause.js";
|
1
2
|
import { isDefined, stringify } from "../../helpers/mixed.mjs";
|
2
3
|
import { mixin } from "../../helpers/object.mjs";
|
3
4
|
import { SHORTCUTS_GROUP_NAVIGATION } from "../../editorManager.mjs";
|
@@ -421,6 +422,7 @@ export class BaseEditor {
|
|
421
422
|
* @returns {{top: number, start: number, width: number, maxWidth: number, height: number, maxHeight: number} | undefined}
|
422
423
|
*/
|
423
424
|
getEditedCellRect() {
|
425
|
+
var _wtOverlays$getParent;
|
424
426
|
const TD = this.getEditedCell();
|
425
427
|
|
426
428
|
// TD is outside of the viewport.
|
@@ -443,7 +445,7 @@ export class BaseEditor {
|
|
443
445
|
const gridMostRightPos = rootWindow.innerWidth - containerOffset.left - containerWidth;
|
444
446
|
const {
|
445
447
|
wtTable: overlayTable
|
446
|
-
} = wtOverlays.getParentOverlay(TD)
|
448
|
+
} = (_wtOverlays$getParent = wtOverlays.getParentOverlay(TD)) != null ? _wtOverlays$getParent : this.hot.view._wt;
|
447
449
|
const overlayName = overlayTable.name;
|
448
450
|
const scrollTop = ['master', 'inline_start'].includes(overlayName) ? containerScrollTop : 0;
|
449
451
|
const scrollLeft = ['master', 'top', 'bottom'].includes(overlayName) ? containerScrollLeft : 0;
|
package/editors/registry.js
CHANGED
@@ -5,6 +5,7 @@ exports.RegisteredEditor = RegisteredEditor;
|
|
5
5
|
exports.getEditorInstance = exports._getEditorInstance = _getEditorInstance;
|
6
6
|
exports.getEditor = _getItem;
|
7
7
|
exports.registerEditor = _register;
|
8
|
+
require("core-js/modules/es.error.cause.js");
|
8
9
|
var _pluginHooks = _interopRequireDefault(require("../pluginHooks"));
|
9
10
|
var _staticRegister = _interopRequireDefault(require("../utils/staticRegister"));
|
10
11
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
package/editors/registry.mjs
CHANGED
package/eventManager.js
CHANGED
package/eventManager.mjs
CHANGED
package/helpers/array.js
CHANGED
package/helpers/array.mjs
CHANGED
package/helpers/data.js
CHANGED
@@ -10,6 +10,7 @@ exports.isArrayOfArrays = isArrayOfArrays;
|
|
10
10
|
exports.isArrayOfObjects = isArrayOfObjects;
|
11
11
|
exports.spreadsheetColumnIndex = spreadsheetColumnIndex;
|
12
12
|
exports.spreadsheetColumnLabel = spreadsheetColumnLabel;
|
13
|
+
require("core-js/modules/es.array.push.js");
|
13
14
|
var _object = require("./object");
|
14
15
|
const COLUMN_LABEL_BASE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';
|
15
16
|
const COLUMN_LABEL_BASE_LENGTH = COLUMN_LABEL_BASE.length;
|
package/helpers/data.mjs
CHANGED
package/helpers/dom/element.js
CHANGED
@@ -50,6 +50,8 @@ exports.resetCssTransform = resetCssTransform;
|
|
50
50
|
exports.selectElementIfAllowed = selectElementIfAllowed;
|
51
51
|
exports.setCaretPosition = setCaretPosition;
|
52
52
|
exports.setOverlayPosition = setOverlayPosition;
|
53
|
+
require("core-js/modules/es.array.push.js");
|
54
|
+
require("core-js/modules/es.error.cause.js");
|
53
55
|
var _string = require("../string");
|
54
56
|
/**
|
55
57
|
* Get the parent of the specified node in the DOM tree.
|
package/helpers/dom/element.mjs
CHANGED
package/helpers/mixed.js
CHANGED
@@ -134,7 +134,7 @@ const domMessages = {
|
|
134
134
|
function _injectProductInfo(key, element) {
|
135
135
|
const hasValidType = !isEmpty(key);
|
136
136
|
const isNonCommercial = typeof key === 'string' && key.toLowerCase() === 'non-commercial-and-evaluation';
|
137
|
-
const hotVersion = "0.0.0-next-
|
137
|
+
const hotVersion = "0.0.0-next-4fd762c-20230713";
|
138
138
|
let keyValidityDate;
|
139
139
|
let consoleMessageState = 'invalid';
|
140
140
|
let domMessageState = 'invalid';
|
package/helpers/mixed.mjs
CHANGED
@@ -124,7 +124,7 @@ const domMessages = {
|
|
124
124
|
export function _injectProductInfo(key, element) {
|
125
125
|
const hasValidType = !isEmpty(key);
|
126
126
|
const isNonCommercial = typeof key === 'string' && key.toLowerCase() === 'non-commercial-and-evaluation';
|
127
|
-
const hotVersion = "0.0.0-next-
|
127
|
+
const hotVersion = "0.0.0-next-4fd762c-20230713";
|
128
128
|
let keyValidityDate;
|
129
129
|
let consoleMessageState = 'invalid';
|
130
130
|
let domMessageState = 'invalid';
|
package/helpers/object.js
CHANGED
@@ -17,6 +17,8 @@ exports.isObjectEqual = isObjectEqual;
|
|
17
17
|
exports.mixin = mixin;
|
18
18
|
exports.objectEach = objectEach;
|
19
19
|
exports.setProperty = setProperty;
|
20
|
+
require("core-js/modules/es.array.push.js");
|
21
|
+
require("core-js/modules/es.error.cause.js");
|
20
22
|
var _array = require("./array");
|
21
23
|
/**
|
22
24
|
* Generate schema for passed object.
|
package/helpers/object.mjs
CHANGED
package/helpers/string.js
CHANGED
@@ -8,6 +8,7 @@ exports.sanitize = sanitize;
|
|
8
8
|
exports.stripTags = stripTags;
|
9
9
|
exports.substitute = substitute;
|
10
10
|
exports.toUpperCaseFirst = toUpperCaseFirst;
|
11
|
+
require("core-js/modules/es.array.push.js");
|
11
12
|
var _dompurify = _interopRequireDefault(require("dompurify"));
|
12
13
|
var _mixed = require("./mixed");
|
13
14
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
package/helpers/string.mjs
CHANGED
package/helpers/unicode.js
CHANGED
@@ -6,6 +6,7 @@ exports.isCtrlMetaKey = isCtrlMetaKey;
|
|
6
6
|
exports.isFunctionKey = isFunctionKey;
|
7
7
|
exports.isKey = isKey;
|
8
8
|
exports.isPrintableChar = isPrintableChar;
|
9
|
+
require("core-js/modules/es.array.push.js");
|
9
10
|
var _array = require("./array");
|
10
11
|
var _browser = require("./browser");
|
11
12
|
const KEY_CODES = {
|
package/helpers/unicode.mjs
CHANGED
package/index.js
CHANGED
@@ -29,6 +29,7 @@ var _registry4 = require("./validators/registry");
|
|
29
29
|
var _registry5 = require("./cellTypes/registry");
|
30
30
|
var _registry6 = require("./plugins/registry");
|
31
31
|
var _base2 = require("./plugins/base");
|
32
|
+
var _Handsontable$cellTyp, _Handsontable$editors, _Handsontable$rendere, _Handsontable$validat, _Handsontable$plugins;
|
32
33
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
33
34
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
34
35
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
@@ -66,7 +67,7 @@ arrayHelpers.arrayEach(DOM, helper => {
|
|
66
67
|
});
|
67
68
|
|
68
69
|
// Export cell types.
|
69
|
-
_base.default.cellTypes = _base.default.cellTypes
|
70
|
+
_base.default.cellTypes = (_Handsontable$cellTyp = _base.default.cellTypes) != null ? _Handsontable$cellTyp : {};
|
70
71
|
arrayHelpers.arrayEach((0, _registry5.getRegisteredCellTypeNames)(), cellTypeName => {
|
71
72
|
_base.default.cellTypes[cellTypeName] = (0, _registry5.getCellType)(cellTypeName);
|
72
73
|
});
|
@@ -74,7 +75,7 @@ _base.default.cellTypes.registerCellType = _registry5.registerCellType;
|
|
74
75
|
_base.default.cellTypes.getCellType = _registry5.getCellType;
|
75
76
|
|
76
77
|
// Export all registered editors from the Handsontable.
|
77
|
-
_base.default.editors = _base.default.editors
|
78
|
+
_base.default.editors = (_Handsontable$editors = _base.default.editors) != null ? _Handsontable$editors : {};
|
78
79
|
arrayHelpers.arrayEach((0, _registry2.getRegisteredEditorNames)(), editorName => {
|
79
80
|
_base.default.editors[`${stringHelpers.toUpperCaseFirst(editorName)}Editor`] = (0, _registry2.getEditor)(editorName);
|
80
81
|
});
|
@@ -82,7 +83,7 @@ _base.default.editors.registerEditor = _registry2.registerEditor;
|
|
82
83
|
_base.default.editors.getEditor = _registry2.getEditor;
|
83
84
|
|
84
85
|
// Export all registered renderers from the Handsontable.
|
85
|
-
_base.default.renderers = _base.default.renderers
|
86
|
+
_base.default.renderers = (_Handsontable$rendere = _base.default.renderers) != null ? _Handsontable$rendere : {};
|
86
87
|
arrayHelpers.arrayEach((0, _registry3.getRegisteredRendererNames)(), rendererName => {
|
87
88
|
const renderer = (0, _registry3.getRenderer)(rendererName);
|
88
89
|
if (rendererName === 'base') {
|
@@ -94,7 +95,7 @@ _base.default.renderers.registerRenderer = _registry3.registerRenderer;
|
|
94
95
|
_base.default.renderers.getRenderer = _registry3.getRenderer;
|
95
96
|
|
96
97
|
// Export all registered validators from the Handsontable.
|
97
|
-
_base.default.validators = _base.default.validators
|
98
|
+
_base.default.validators = (_Handsontable$validat = _base.default.validators) != null ? _Handsontable$validat : {};
|
98
99
|
arrayHelpers.arrayEach((0, _registry4.getRegisteredValidatorNames)(), validatorName => {
|
99
100
|
_base.default.validators[`${stringHelpers.toUpperCaseFirst(validatorName)}Validator`] = (0, _registry4.getValidator)(validatorName);
|
100
101
|
});
|
@@ -108,7 +109,7 @@ _base.default.validators.getValidator = _registry4.getValidator;
|
|
108
109
|
// by the `./config/plugin/babel/add-import-extension` babel plugin. Thus, the distribution
|
109
110
|
// files will be broken. The reason is not known right now (probably it's caused by bug in
|
110
111
|
// the Babel or missing something in the plugin).
|
111
|
-
_base.default.plugins = _base.default.plugins
|
112
|
+
_base.default.plugins = (_Handsontable$plugins = _base.default.plugins) != null ? _Handsontable$plugins : {};
|
112
113
|
arrayHelpers.arrayEach((0, _registry6.getPluginsNames)(), pluginName => {
|
113
114
|
_base.default.plugins[pluginName] = (0, _registry6.getPlugin)(pluginName);
|
114
115
|
});
|
package/index.mjs
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
var _Handsontable$cellTyp, _Handsontable$editors, _Handsontable$rendere, _Handsontable$validat, _Handsontable$plugins;
|
1
2
|
import Handsontable, { CellCoords, CellRange } from "./base.mjs";
|
2
3
|
import { registerAllModules } from "./registry.mjs";
|
3
4
|
import EventManager, { getListenersCounter } from "./eventManager.mjs";
|
@@ -58,7 +59,7 @@ arrayHelpers.arrayEach(DOM, helper => {
|
|
58
59
|
});
|
59
60
|
|
60
61
|
// Export cell types.
|
61
|
-
Handsontable.cellTypes = Handsontable.cellTypes
|
62
|
+
Handsontable.cellTypes = (_Handsontable$cellTyp = Handsontable.cellTypes) != null ? _Handsontable$cellTyp : {};
|
62
63
|
arrayHelpers.arrayEach(getRegisteredCellTypeNames(), cellTypeName => {
|
63
64
|
Handsontable.cellTypes[cellTypeName] = getCellType(cellTypeName);
|
64
65
|
});
|
@@ -66,7 +67,7 @@ Handsontable.cellTypes.registerCellType = registerCellType;
|
|
66
67
|
Handsontable.cellTypes.getCellType = getCellType;
|
67
68
|
|
68
69
|
// Export all registered editors from the Handsontable.
|
69
|
-
Handsontable.editors = Handsontable.editors
|
70
|
+
Handsontable.editors = (_Handsontable$editors = Handsontable.editors) != null ? _Handsontable$editors : {};
|
70
71
|
arrayHelpers.arrayEach(getRegisteredEditorNames(), editorName => {
|
71
72
|
Handsontable.editors[`${stringHelpers.toUpperCaseFirst(editorName)}Editor`] = getEditor(editorName);
|
72
73
|
});
|
@@ -74,7 +75,7 @@ Handsontable.editors.registerEditor = registerEditor;
|
|
74
75
|
Handsontable.editors.getEditor = getEditor;
|
75
76
|
|
76
77
|
// Export all registered renderers from the Handsontable.
|
77
|
-
Handsontable.renderers = Handsontable.renderers
|
78
|
+
Handsontable.renderers = (_Handsontable$rendere = Handsontable.renderers) != null ? _Handsontable$rendere : {};
|
78
79
|
arrayHelpers.arrayEach(getRegisteredRendererNames(), rendererName => {
|
79
80
|
const renderer = getRenderer(rendererName);
|
80
81
|
if (rendererName === 'base') {
|
@@ -86,7 +87,7 @@ Handsontable.renderers.registerRenderer = registerRenderer;
|
|
86
87
|
Handsontable.renderers.getRenderer = getRenderer;
|
87
88
|
|
88
89
|
// Export all registered validators from the Handsontable.
|
89
|
-
Handsontable.validators = Handsontable.validators
|
90
|
+
Handsontable.validators = (_Handsontable$validat = Handsontable.validators) != null ? _Handsontable$validat : {};
|
90
91
|
arrayHelpers.arrayEach(getRegisteredValidatorNames(), validatorName => {
|
91
92
|
Handsontable.validators[`${stringHelpers.toUpperCaseFirst(validatorName)}Validator`] = getValidator(validatorName);
|
92
93
|
});
|
@@ -100,7 +101,7 @@ Handsontable.validators.getValidator = getValidator;
|
|
100
101
|
// by the `./config/plugin/babel/add-import-extension` babel plugin. Thus, the distribution
|
101
102
|
// files will be broken. The reason is not known right now (probably it's caused by bug in
|
102
103
|
// the Babel or missing something in the plugin).
|
103
|
-
Handsontable.plugins = Handsontable.plugins
|
104
|
+
Handsontable.plugins = (_Handsontable$plugins = Handsontable.plugins) != null ? _Handsontable$plugins : {};
|
104
105
|
arrayHelpers.arrayEach(getPluginsNames(), pluginName => {
|
105
106
|
Handsontable.plugins[pluginName] = getPlugin(pluginName);
|
106
107
|
});
|
package/mixins/localHooks.js
CHANGED
package/mixins/localHooks.mjs
CHANGED
package/package.json
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
"url": "https://github.com/handsontable/handsontable/issues"
|
11
11
|
},
|
12
12
|
"author": "Handsoncode <hello@handsontable.com>",
|
13
|
-
"version": "0.0.0-next-
|
13
|
+
"version": "0.0.0-next-4fd762c-20230713",
|
14
14
|
"main": "index",
|
15
15
|
"module": "index.mjs",
|
16
16
|
"jsnext:main": "index.mjs",
|
package/pluginHooks.js
CHANGED
package/pluginHooks.mjs
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
import "core-js/modules/es.array.push.js";
|
1
2
|
import { BasePlugin } from "../base/index.mjs";
|
2
3
|
import { arrayEach, arrayFilter, arrayReduce, arrayMap } from "../../helpers/array.mjs";
|
3
4
|
import { cancelAnimationFrame, requestAnimationFrame } from "../../helpers/feature.mjs";
|
package/plugins/base/base.js
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
|
3
3
|
exports.__esModule = true;
|
4
|
+
require("core-js/modules/es.error.cause.js");
|
5
|
+
require("core-js/modules/es.array.push.js");
|
4
6
|
var _object = require("../../helpers/object");
|
5
7
|
var _array = require("../../helpers/array");
|
6
8
|
var _registry = require("../registry");
|
package/plugins/base/base.mjs
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
import "core-js/modules/es.error.cause.js";
|
2
|
+
import "core-js/modules/es.array.push.js";
|
1
3
|
function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
|
2
4
|
function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
|
3
5
|
function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(receiver)) { throw new TypeError("attempted to get private field on non-instance"); } return fn; }
|
@@ -1,6 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
|
3
3
|
exports.__esModule = true;
|
4
|
+
require("core-js/modules/es.error.cause.js");
|
5
|
+
require("core-js/modules/es.array.push.js");
|
4
6
|
var _base = require("../base");
|
5
7
|
var _array = require("../../helpers/array");
|
6
8
|
var _number = require("../../helpers/number");
|
@@ -345,6 +347,7 @@ class CollapsibleColumns extends _base.BasePlugin {
|
|
345
347
|
});
|
346
348
|
let isActionPossible = filteredCoords.length > 0;
|
347
349
|
(0, _array.arrayEach)(filteredCoords, _ref2 => {
|
350
|
+
var _this$headerStateMana;
|
348
351
|
let {
|
349
352
|
row,
|
350
353
|
col: column
|
@@ -352,7 +355,7 @@ class CollapsibleColumns extends _base.BasePlugin {
|
|
352
355
|
const {
|
353
356
|
collapsible,
|
354
357
|
isCollapsed
|
355
|
-
} = this.headerStateManager.getHeaderSettings(row, column)
|
358
|
+
} = (_this$headerStateMana = this.headerStateManager.getHeaderSettings(row, column)) != null ? _this$headerStateMana : {};
|
356
359
|
if (!collapsible || isCollapsed && action === 'collapse' || !isCollapsed && action === 'expand') {
|
357
360
|
isActionPossible = false;
|
358
361
|
return false;
|
@@ -424,11 +427,12 @@ class CollapsibleColumns extends _base.BasePlugin {
|
|
424
427
|
* values counting from 0 to N).
|
425
428
|
*/
|
426
429
|
onAfterGetColHeader(column, TH, headerLevel) {
|
430
|
+
var _this$headerStateMana2;
|
427
431
|
const {
|
428
432
|
collapsible,
|
429
433
|
origColspan,
|
430
434
|
isCollapsed
|
431
|
-
} = this.headerStateManager.getHeaderSettings(headerLevel, column)
|
435
|
+
} = (_this$headerStateMana2 = this.headerStateManager.getHeaderSettings(headerLevel, column)) != null ? _this$headerStateMana2 : {};
|
432
436
|
const isNodeCollapsible = collapsible && origColspan > 1 && column >= this.hot.getSettings().fixedColumnsStart;
|
433
437
|
let collapsibleElement = TH.querySelector(`.${COLLAPSIBLE_ELEMENT_CLASS}`);
|
434
438
|
if (isNodeCollapsible) {
|
@@ -1,3 +1,5 @@
|
|
1
|
+
import "core-js/modules/es.error.cause.js";
|
2
|
+
import "core-js/modules/es.array.push.js";
|
1
3
|
import { BasePlugin } from "../base/index.mjs";
|
2
4
|
import { arrayEach, arrayFilter, arrayUnique } from "../../helpers/array.mjs";
|
3
5
|
import { rangeEach } from "../../helpers/number.mjs";
|
@@ -339,6 +341,7 @@ export class CollapsibleColumns extends BasePlugin {
|
|
339
341
|
});
|
340
342
|
let isActionPossible = filteredCoords.length > 0;
|
341
343
|
arrayEach(filteredCoords, _ref2 => {
|
344
|
+
var _this$headerStateMana;
|
342
345
|
let {
|
343
346
|
row,
|
344
347
|
col: column
|
@@ -346,7 +349,7 @@ export class CollapsibleColumns extends BasePlugin {
|
|
346
349
|
const {
|
347
350
|
collapsible,
|
348
351
|
isCollapsed
|
349
|
-
} = this.headerStateManager.getHeaderSettings(row, column)
|
352
|
+
} = (_this$headerStateMana = this.headerStateManager.getHeaderSettings(row, column)) != null ? _this$headerStateMana : {};
|
350
353
|
if (!collapsible || isCollapsed && action === 'collapse' || !isCollapsed && action === 'expand') {
|
351
354
|
isActionPossible = false;
|
352
355
|
return false;
|
@@ -418,11 +421,12 @@ export class CollapsibleColumns extends BasePlugin {
|
|
418
421
|
* values counting from 0 to N).
|
419
422
|
*/
|
420
423
|
onAfterGetColHeader(column, TH, headerLevel) {
|
424
|
+
var _this$headerStateMana2;
|
421
425
|
const {
|
422
426
|
collapsible,
|
423
427
|
origColspan,
|
424
428
|
isCollapsed
|
425
|
-
} = this.headerStateManager.getHeaderSettings(headerLevel, column)
|
429
|
+
} = (_this$headerStateMana2 = this.headerStateManager.getHeaderSettings(headerLevel, column)) != null ? _this$headerStateMana2 : {};
|
426
430
|
const isNodeCollapsible = collapsible && origColspan > 1 && column >= this.hot.getSettings().fixedColumnsStart;
|
427
431
|
let collapsibleElement = TH.querySelector(`.${COLLAPSIBLE_ELEMENT_CLASS}`);
|
428
432
|
if (isNodeCollapsible) {
|
@@ -3,6 +3,7 @@
|
|
3
3
|
exports.__esModule = true;
|
4
4
|
exports.getClassesToAdd = getClassesToAdd;
|
5
5
|
exports.getClassesToRemove = getClassesToRemove;
|
6
|
+
require("core-js/modules/es.array.push.js");
|
6
7
|
var _mixed = require("../../helpers/mixed");
|
7
8
|
var _utils = require("./utils");
|
8
9
|
const HEADER_CLASS_ASC_SORT = 'ascending';
|
@@ -1,6 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
|
3
3
|
exports.__esModule = true;
|
4
|
+
require("core-js/modules/es.error.cause.js");
|
5
|
+
require("core-js/modules/es.array.push.js");
|
4
6
|
var _element = require("../../helpers/dom/element");
|
5
7
|
var _object = require("../../helpers/object");
|
6
8
|
var _eventManager = _interopRequireDefault(require("../../eventManager"));
|
@@ -418,6 +420,7 @@ class Comments extends _base.BasePlugin {
|
|
418
420
|
* @param {boolean} [force=false] If `true` then recalculation will be forced.
|
419
421
|
*/
|
420
422
|
refreshEditor() {
|
423
|
+
var _renderableRow, _renderableColumn;
|
421
424
|
let force = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
422
425
|
if (!force && (!this.range.from || !this.editor.isVisible())) {
|
423
426
|
return;
|
@@ -446,8 +449,8 @@ class Comments extends _base.BasePlugin {
|
|
446
449
|
}
|
447
450
|
const isBeforeRenderedRows = renderableRow === null;
|
448
451
|
const isBeforeRenderedColumns = renderableColumn === null;
|
449
|
-
renderableRow = renderableRow
|
450
|
-
renderableColumn = renderableColumn
|
452
|
+
renderableRow = (_renderableRow = renderableRow) != null ? _renderableRow : 0;
|
453
|
+
renderableColumn = (_renderableColumn = renderableColumn) != null ? _renderableColumn : 0;
|
451
454
|
const {
|
452
455
|
rootWindow,
|
453
456
|
view: {
|