handsontable 0.0.0-next-fc6b71a-20231129 → 0.0.0-next-f76fee2-20231130
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/constants.js +3 -6
- package/3rdparty/walkontable/src/calculator/viewportColumns.js +1 -2
- package/3rdparty/walkontable/src/calculator/viewportRows.js +1 -2
- package/3rdparty/walkontable/src/cell/coords.js +1 -2
- package/3rdparty/walkontable/src/cell/range.js +1 -2
- package/3rdparty/walkontable/src/event.js +1 -2
- package/3rdparty/walkontable/src/filter/column.js +1 -2
- package/3rdparty/walkontable/src/filter/row.js +1 -2
- package/3rdparty/walkontable/src/index.js +2 -2
- package/3rdparty/walkontable/src/overlay/constants.js +7 -14
- package/3rdparty/walkontable/src/overlays.js +1 -2
- package/3rdparty/walkontable/src/scroll.js +1 -2
- package/3rdparty/walkontable/src/selection/border/border.js +1 -2
- package/3rdparty/walkontable/src/selection/border/constants.js +2 -3
- package/3rdparty/walkontable/src/selection/constants.js +8 -16
- package/3rdparty/walkontable/src/selection/selection.js +1 -2
- package/3rdparty/walkontable/src/table/bottom.js +1 -2
- package/3rdparty/walkontable/src/table/bottomInlineStartCorner.js +1 -2
- package/3rdparty/walkontable/src/table/inlineStart.js +1 -2
- package/3rdparty/walkontable/src/table/master.js +1 -2
- package/3rdparty/walkontable/src/table/mixin/calculatedColumns.js +1 -2
- package/3rdparty/walkontable/src/table/mixin/calculatedRows.js +1 -2
- package/3rdparty/walkontable/src/table/mixin/stickyColumnsStart.js +1 -2
- package/3rdparty/walkontable/src/table/mixin/stickyRowsBottom.js +1 -2
- package/3rdparty/walkontable/src/table/mixin/stickyRowsTop.js +1 -2
- package/3rdparty/walkontable/src/table/top.js +1 -2
- package/3rdparty/walkontable/src/table/topInlineStartCorner.js +1 -2
- package/3rdparty/walkontable/src/table.js +1 -2
- package/3rdparty/walkontable/src/utils/orderView/constants.js +3 -6
- package/3rdparty/walkontable/src/viewport.js +1 -2
- package/CHANGELOG.md +84 -15
- package/base.js +3 -4
- package/base.mjs +2 -2
- package/cellTypes/autocompleteType/autocompleteType.js +3 -5
- package/cellTypes/checkboxType/checkboxType.js +3 -5
- package/cellTypes/dateType/dateType.js +3 -5
- package/cellTypes/dropdownType/dropdownType.js +3 -5
- package/cellTypes/handsontableType/handsontableType.js +3 -5
- package/cellTypes/numericType/numericType.js +3 -5
- package/cellTypes/passwordType/passwordType.js +3 -5
- package/cellTypes/selectType/selectType.js +3 -5
- package/cellTypes/textType/textType.js +3 -5
- package/cellTypes/timeType/timeType.js +3 -5
- package/core.js +19 -9
- package/core.mjs +19 -9
- package/dataMap/dataMap.js +1 -2
- package/dataMap/dataSource.js +1 -2
- package/dataMap/metaManager/metaSchema.js +11 -11
- package/dataMap/metaManager/metaSchema.mjs +11 -11
- package/dist/handsontable.css +2 -2
- package/dist/handsontable.full.css +2 -2
- package/dist/handsontable.full.js +5147 -5188
- package/dist/handsontable.full.min.css +2 -2
- package/dist/handsontable.full.min.js +160 -150
- package/dist/handsontable.js +627 -1038
- package/dist/handsontable.min.css +2 -2
- package/dist/handsontable.min.js +31 -31
- package/dist/languages/all.js +19 -38
- package/dist/languages/all.min.js +1 -1
- package/dist/languages/ar-AR.js +1 -2
- package/dist/languages/cs-CZ.js +1 -2
- package/dist/languages/de-CH.js +1 -2
- package/dist/languages/de-DE.js +1 -2
- package/dist/languages/en-US.js +1 -2
- package/dist/languages/es-MX.js +1 -2
- package/dist/languages/fr-FR.js +1 -2
- package/dist/languages/it-IT.js +1 -2
- package/dist/languages/ja-JP.js +1 -2
- package/dist/languages/ko-KR.js +1 -2
- package/dist/languages/lv-LV.js +1 -2
- package/dist/languages/nb-NO.js +1 -2
- package/dist/languages/nl-NL.js +1 -2
- package/dist/languages/pl-PL.js +1 -2
- package/dist/languages/pt-BR.js +1 -2
- package/dist/languages/ru-RU.js +1 -2
- package/dist/languages/sr-SP.js +1 -2
- package/dist/languages/zh-CN.js +1 -2
- package/dist/languages/zh-TW.js +1 -2
- package/editorManager.js +2 -4
- package/editors/autocompleteEditor/autocompleteEditor.js +1 -2
- package/editors/baseEditor/baseEditor.js +3 -6
- package/editors/checkboxEditor/checkboxEditor.js +1 -2
- package/editors/dateEditor/dateEditor.js +1 -2
- package/editors/dropdownEditor/dropdownEditor.js +1 -2
- package/editors/handsontableEditor/handsontableEditor.js +1 -2
- package/editors/numericEditor/numericEditor.js +1 -2
- package/editors/passwordEditor/passwordEditor.js +1 -2
- package/editors/selectEditor/selectEditor.js +1 -2
- package/editors/textEditor/textEditor.js +1 -2
- package/editors/timeEditor/timeEditor.js +1 -2
- package/eventManager.js +1 -2
- package/helpers/dom/element.js +1 -2
- package/helpers/mixed.js +2 -2
- package/helpers/mixed.mjs +2 -2
- package/helpers/unicode.js +1 -2
- package/i18n/constants.js +84 -166
- package/i18n/languages/ar-AR.js +3 -4
- package/i18n/languages/cs-CZ.js +3 -4
- package/i18n/languages/de-CH.js +3 -4
- package/i18n/languages/de-DE.js +3 -4
- package/i18n/languages/en-US.js +3 -4
- package/i18n/languages/es-MX.js +3 -4
- package/i18n/languages/fr-FR.js +3 -4
- package/i18n/languages/it-IT.js +3 -4
- package/i18n/languages/ja-JP.js +3 -4
- package/i18n/languages/ko-KR.js +3 -4
- package/i18n/languages/lv-LV.js +3 -4
- package/i18n/languages/nb-NO.js +3 -4
- package/i18n/languages/nl-NL.js +3 -4
- package/i18n/languages/pl-PL.js +3 -4
- package/i18n/languages/pt-BR.js +3 -4
- package/i18n/languages/ru-RU.js +3 -4
- package/i18n/languages/sr-SP.js +3 -4
- package/i18n/languages/zh-CN.js +3 -4
- package/i18n/languages/zh-TW.js +3 -4
- package/i18n/registry.js +4 -6
- package/index.js +3 -4
- package/languages/all.js +19 -38
- package/languages/ar-AR.js +1 -2
- package/languages/cs-CZ.js +1 -2
- package/languages/de-CH.js +1 -2
- package/languages/de-DE.js +1 -2
- package/languages/en-US.js +1 -2
- package/languages/es-MX.js +1 -2
- package/languages/fr-FR.js +1 -2
- package/languages/index.js +19 -38
- package/languages/it-IT.js +1 -2
- package/languages/ja-JP.js +1 -2
- package/languages/ko-KR.js +1 -2
- package/languages/lv-LV.js +1 -2
- package/languages/nb-NO.js +1 -2
- package/languages/nl-NL.js +1 -2
- package/languages/pl-PL.js +1 -2
- package/languages/pt-BR.js +1 -2
- package/languages/ru-RU.js +1 -2
- package/languages/sr-SP.js +1 -2
- package/languages/zh-CN.js +1 -2
- package/languages/zh-TW.js +1 -2
- package/mixins/hooksRefRegisterer.js +1 -2
- package/mixins/localHooks.js +1 -2
- package/package.json +1 -1
- package/pluginHooks.js +6 -5
- package/pluginHooks.mjs +5 -3
- package/plugins/autoColumnSize/autoColumnSize.js +2 -4
- package/plugins/autoRowSize/autoRowSize.js +2 -4
- package/plugins/autofill/autofill.js +2 -4
- package/plugins/autofill/utils.js +1 -2
- package/plugins/base/base.js +1 -2
- package/plugins/bindRowsWithHeaders/bindRowsWithHeaders.js +2 -4
- package/plugins/bindRowsWithHeaders/maps/looseBindsMap.js +1 -2
- package/plugins/bindRowsWithHeaders/maps/strictBindsMap.js +1 -2
- package/plugins/collapsibleColumns/collapsibleColumns.js +2 -4
- package/plugins/columnSorting/columnSorting.js +4 -8
- package/plugins/columnSorting/sortFunction/checkbox.js +1 -2
- package/plugins/columnSorting/sortFunction/date.js +1 -2
- package/plugins/columnSorting/sortFunction/default.js +1 -2
- package/plugins/columnSorting/sortFunction/numeric.js +1 -2
- package/plugins/columnSorting/sortService/engine.js +3 -6
- package/plugins/columnSorting/utils.js +3 -6
- package/plugins/columnSummary/columnSummary.js +2 -4
- package/plugins/columnSummary/endpoints.js +1 -2
- package/plugins/comments/commentEditor.js +1 -2
- package/plugins/comments/comments.js +6 -12
- package/plugins/comments/contextMenuItem/addEditComment.js +2 -2
- package/plugins/comments/contextMenuItem/readOnlyComment.js +2 -2
- package/plugins/comments/contextMenuItem/removeComment.js +2 -2
- package/plugins/comments/displaySwitch.js +1 -2
- package/plugins/contextMenu/contextMenu.js +2 -4
- package/plugins/contextMenu/predefinedItems/alignment.js +3 -4
- package/plugins/contextMenu/predefinedItems/clearColumn.js +3 -4
- package/plugins/contextMenu/predefinedItems/columnLeft.js +3 -4
- package/plugins/contextMenu/predefinedItems/columnRight.js +3 -4
- package/plugins/contextMenu/predefinedItems/index.js +3 -4
- package/plugins/contextMenu/predefinedItems/noItems.js +1 -2
- package/plugins/contextMenu/predefinedItems/readOnly.js +3 -4
- package/plugins/contextMenu/predefinedItems/redo.js +3 -4
- package/plugins/contextMenu/predefinedItems/removeColumn.js +3 -4
- package/plugins/contextMenu/predefinedItems/removeRow.js +3 -4
- package/plugins/contextMenu/predefinedItems/rowAbove.js +3 -4
- package/plugins/contextMenu/predefinedItems/rowBelow.js +3 -4
- package/plugins/contextMenu/predefinedItems/separator.js +1 -2
- package/plugins/contextMenu/predefinedItems/undo.js +3 -4
- package/plugins/copyPaste/contextMenuItem/cut.js +2 -2
- package/plugins/copyPaste/copyPaste.js +2 -4
- package/plugins/customBorders/contextMenuItem/bottom.js +2 -2
- package/plugins/customBorders/contextMenuItem/left.js +2 -2
- package/plugins/customBorders/contextMenuItem/noBorders.js +2 -2
- package/plugins/customBorders/contextMenuItem/right.js +2 -2
- package/plugins/customBorders/contextMenuItem/top.js +2 -2
- package/plugins/customBorders/customBorders.js +4 -6
- package/plugins/dragToScroll/dragToScroll.js +2 -4
- package/plugins/dropdownMenu/dropdownMenu.js +2 -4
- package/plugins/exportFile/dataProvider.js +1 -2
- package/plugins/exportFile/exportFile.js +4 -6
- package/plugins/exportFile/typeFactory.js +5 -8
- package/plugins/exportFile/types/_base.js +1 -2
- package/plugins/exportFile/types/csv.js +1 -2
- package/plugins/filters/component/actionBar.js +2 -2
- package/plugins/filters/component/condition.js +2 -2
- package/plugins/filters/component/value.js +2 -2
- package/plugins/filters/condition/beginsWith.js +3 -4
- package/plugins/filters/condition/between.js +3 -4
- package/plugins/filters/condition/byValue.js +1 -2
- package/plugins/filters/condition/contains.js +3 -4
- package/plugins/filters/condition/date/after.js +3 -4
- package/plugins/filters/condition/date/before.js +3 -4
- package/plugins/filters/condition/date/today.js +3 -4
- package/plugins/filters/condition/date/tomorrow.js +3 -4
- package/plugins/filters/condition/date/yesterday.js +3 -4
- package/plugins/filters/condition/empty.js +3 -4
- package/plugins/filters/condition/endsWith.js +3 -4
- package/plugins/filters/condition/equal.js +3 -4
- package/plugins/filters/condition/false.js +1 -2
- package/plugins/filters/condition/greaterThan.js +3 -4
- package/plugins/filters/condition/greaterThanOrEqual.js +3 -4
- package/plugins/filters/condition/lessThan.js +3 -4
- package/plugins/filters/condition/lessThanOrEqual.js +3 -4
- package/plugins/filters/condition/none.js +3 -4
- package/plugins/filters/condition/notBetween.js +3 -4
- package/plugins/filters/condition/notContains.js +3 -4
- package/plugins/filters/condition/notEmpty.js +3 -4
- package/plugins/filters/condition/notEqual.js +3 -4
- package/plugins/filters/condition/true.js +1 -2
- package/plugins/filters/conditionCollection.js +1 -2
- package/plugins/filters/conditionRegisterer.js +1 -2
- package/plugins/filters/conditionUpdateObserver.js +1 -2
- package/plugins/filters/constants.js +4 -8
- package/plugins/filters/dataFilter.js +1 -2
- package/plugins/filters/filters.js +4 -6
- package/plugins/filters/logicalOperationRegisterer.js +1 -2
- package/plugins/filters/logicalOperations/conjunction.js +4 -6
- package/plugins/filters/logicalOperations/disjunction.js +4 -6
- package/plugins/filters/logicalOperations/disjunctionWithExtraCondition.js +4 -6
- package/plugins/filters/ui/_base.js +2 -2
- package/plugins/filters/ui/multipleSelect.js +3 -4
- package/plugins/filters/ui/select.js +2 -2
- package/plugins/formulas/engine/settings.js +2 -4
- package/plugins/formulas/formulas.js +3 -6
- package/plugins/formulas/indexSyncer/axisSyncer.js +1 -2
- package/plugins/formulas/indexSyncer/index.js +1 -2
- package/plugins/hiddenColumns/contextMenuItem/hideColumn.js +2 -2
- package/plugins/hiddenColumns/contextMenuItem/showColumn.js +2 -2
- package/plugins/hiddenColumns/hiddenColumns.js +2 -4
- package/plugins/hiddenRows/contextMenuItem/hideRow.js +2 -2
- package/plugins/hiddenRows/contextMenuItem/showRow.js +2 -2
- package/plugins/hiddenRows/hiddenRows.js +2 -4
- package/plugins/manualColumnFreeze/contextMenuItem/freezeColumn.js +2 -2
- package/plugins/manualColumnFreeze/contextMenuItem/unfreezeColumn.js +2 -2
- package/plugins/manualColumnFreeze/manualColumnFreeze.js +2 -4
- package/plugins/manualColumnMove/manualColumnMove.js +2 -4
- package/plugins/manualColumnMove/ui/_base.js +1 -2
- package/plugins/manualColumnMove/ui/backlight.js +1 -2
- package/plugins/manualColumnMove/ui/guideline.js +1 -2
- package/plugins/manualColumnResize/manualColumnResize.js +2 -4
- package/plugins/manualRowMove/manualRowMove.js +2 -4
- package/plugins/manualRowMove/ui/_base.js +1 -2
- package/plugins/manualRowMove/ui/backlight.js +1 -2
- package/plugins/manualRowMove/ui/guideline.js +1 -2
- package/plugins/manualRowResize/manualRowResize.js +2 -4
- package/plugins/mergeCells/calculations/autofill.js +1 -2
- package/plugins/mergeCells/calculations/selection.js +1 -2
- package/plugins/mergeCells/cellCoords.js +1 -2
- package/plugins/mergeCells/cellsCollection.js +1 -2
- package/plugins/mergeCells/contextMenuItem/toggleMerge.js +2 -2
- package/plugins/mergeCells/mergeCells.js +3 -5
- package/plugins/mergeCells/mergeCells.mjs +1 -1
- package/plugins/multiColumnSorting/multiColumnSorting.js +2 -4
- package/plugins/multipleSelectionHandles/multipleSelectionHandles.js +2 -4
- package/plugins/nestedHeaders/nestedHeaders.js +2 -4
- package/plugins/nestedHeaders/stateManager/sourceSettings.js +1 -2
- package/plugins/nestedHeaders/utils/ghostTable.js +1 -2
- package/plugins/nestedRows/data/dataManager.js +1 -2
- package/plugins/nestedRows/nestedRows.js +2 -4
- package/plugins/nestedRows/ui/_base.js +1 -2
- package/plugins/nestedRows/ui/collapsing.js +1 -2
- package/plugins/nestedRows/ui/contextMenu.js +3 -4
- package/plugins/nestedRows/ui/headers.js +1 -2
- package/plugins/persistentState/persistentState.js +2 -4
- package/plugins/persistentState/storage.js +1 -2
- package/plugins/search/search.js +2 -4
- package/plugins/touchScroll/touchScroll.js +2 -4
- package/plugins/trimRows/trimRows.js +2 -4
- package/plugins/undoRedo/index.js +2 -2
- package/plugins/undoRedo/undoRedo.js +2 -4
- package/renderers/autocompleteRenderer/autocompleteRenderer.js +1 -2
- package/renderers/baseRenderer/baseRenderer.js +1 -2
- package/renderers/checkboxRenderer/checkboxRenderer.js +1 -2
- package/renderers/dateRenderer/dateRenderer.js +1 -2
- package/renderers/handsontableRenderer/handsontableRenderer.js +1 -2
- package/renderers/htmlRenderer/htmlRenderer.js +1 -2
- package/renderers/numericRenderer/numericRenderer.js +1 -2
- package/renderers/passwordRenderer/passwordRenderer.js +1 -2
- package/renderers/selectRenderer/selectRenderer.js +1 -2
- package/renderers/textRenderer/textRenderer.js +1 -2
- package/renderers/timeRenderer/timeRenderer.js +1 -2
- package/selection/highlight/highlight.js +1 -2
- package/selection/highlight/visualSelection.js +1 -2
- package/selection/range.js +1 -2
- package/selection/selection.js +3 -4
- package/selection/transformation.js +1 -2
- package/selection/utils.js +5 -10
- package/shortcutContexts/commands/editor/closeAndSave.js +2 -3
- package/shortcutContexts/commands/editor/closeWithoutSaving.js +2 -3
- package/shortcutContexts/commands/editor/fastOpen.js +2 -3
- package/shortcutContexts/commands/editor/open.js +2 -3
- package/shortcutContexts/commands/emptySelectedCells.js +2 -3
- package/shortcutContexts/commands/extendCellsSelection/down.js +2 -3
- package/shortcutContexts/commands/extendCellsSelection/downByViewportHeight.js +2 -3
- package/shortcutContexts/commands/extendCellsSelection/left.js +2 -3
- package/shortcutContexts/commands/extendCellsSelection/right.js +2 -3
- package/shortcutContexts/commands/extendCellsSelection/toColumns.js +2 -3
- package/shortcutContexts/commands/extendCellsSelection/toMostBottom.js +2 -3
- package/shortcutContexts/commands/extendCellsSelection/toMostInlineEnd.js +2 -3
- package/shortcutContexts/commands/extendCellsSelection/toMostInlineStart.js +2 -3
- package/shortcutContexts/commands/extendCellsSelection/toMostLeft.js +2 -3
- package/shortcutContexts/commands/extendCellsSelection/toMostRight.js +2 -3
- package/shortcutContexts/commands/extendCellsSelection/toMostTop.js +2 -3
- package/shortcutContexts/commands/extendCellsSelection/toRows.js +2 -3
- package/shortcutContexts/commands/extendCellsSelection/up.js +2 -3
- package/shortcutContexts/commands/extendCellsSelection/upByViewportHeight.js +2 -3
- package/shortcutContexts/commands/moveCellSelection/down.js +2 -3
- package/shortcutContexts/commands/moveCellSelection/downByViewportHeight.js +2 -3
- package/shortcutContexts/commands/moveCellSelection/inlineEnd.js +2 -3
- package/shortcutContexts/commands/moveCellSelection/inlineStart.js +2 -3
- package/shortcutContexts/commands/moveCellSelection/left.js +2 -3
- package/shortcutContexts/commands/moveCellSelection/right.js +2 -3
- package/shortcutContexts/commands/moveCellSelection/toMostBottom.js +2 -3
- package/shortcutContexts/commands/moveCellSelection/toMostBottomInlineEnd.js +2 -3
- package/shortcutContexts/commands/moveCellSelection/toMostInlineEnd.js +2 -3
- package/shortcutContexts/commands/moveCellSelection/toMostInlineStart.js +2 -3
- package/shortcutContexts/commands/moveCellSelection/toMostLeft.js +2 -3
- package/shortcutContexts/commands/moveCellSelection/toMostRight.js +2 -3
- package/shortcutContexts/commands/moveCellSelection/toMostTop.js +2 -3
- package/shortcutContexts/commands/moveCellSelection/toMostTopInlineStart.js +2 -3
- package/shortcutContexts/commands/moveCellSelection/up.js +2 -3
- package/shortcutContexts/commands/moveCellSelection/upByViewportHeight.js +2 -3
- package/shortcutContexts/commands/populateSelectedCellsData.js +2 -3
- package/shortcutContexts/commands/scrollToFocusedCell.js +2 -3
- package/shortcutContexts/commands/selectAllCells.js +2 -3
- package/shortcutContexts/commands/selectAllCellsAndHeaders.js +2 -3
- package/shortcutContexts/constants.js +2 -4
- package/shortcuts/context.js +1 -1
- package/shortcuts/context.mjs +1 -1
- package/shortcuts/manager.js +2 -2
- package/shortcuts/manager.mjs +2 -2
- package/tableView.js +1 -2
- package/utils/dataStructures/linkedList.js +1 -2
- package/utils/dataStructures/priorityMap.js +2 -4
- package/utils/dataStructures/queue.js +1 -2
- package/utils/dataStructures/stack.js +1 -2
- package/utils/dataStructures/tree.js +3 -6
- package/utils/ghostTable.js +1 -2
- package/utils/interval.js +1 -2
- package/utils/rootInstance.js +2 -4
- package/utils/samplesGenerator.js +1 -2
- package/utils/staticRegister.js +1 -2
- package/validators/autocompleteValidator/autocompleteValidator.js +1 -2
- package/validators/dateValidator/dateValidator.js +1 -2
- package/validators/numericValidator/numericValidator.js +1 -2
- package/validators/timeValidator/timeValidator.js +1 -2
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
|
3
3
|
exports.__esModule = true;
|
4
|
-
const command = {
|
4
|
+
const command = exports.command = {
|
5
5
|
name: 'moveCellSelectionUp',
|
6
6
|
callback(_ref) {
|
7
7
|
let {
|
@@ -9,5 +9,4 @@ const command = {
|
|
9
9
|
} = _ref;
|
10
10
|
selection.transformStart(-1, 0);
|
11
11
|
}
|
12
|
-
};
|
13
|
-
exports.command = command;
|
12
|
+
};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
|
3
3
|
exports.__esModule = true;
|
4
|
-
const command = {
|
4
|
+
const command = exports.command = {
|
5
5
|
name: 'moveCellSelectionUpByViewportHight',
|
6
6
|
callback(hot) {
|
7
7
|
const {
|
@@ -29,5 +29,4 @@ const command = {
|
|
29
29
|
});
|
30
30
|
}
|
31
31
|
}
|
32
|
-
};
|
33
|
-
exports.command = command;
|
32
|
+
};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
|
3
3
|
exports.__esModule = true;
|
4
|
-
const command = {
|
4
|
+
const command = exports.command = {
|
5
5
|
name: 'populateSelectedCellsData',
|
6
6
|
callback(hot) {
|
7
7
|
const selectedRange = hot.getSelectedRange();
|
@@ -25,5 +25,4 @@ const command = {
|
|
25
25
|
}
|
26
26
|
hot.setDataAtCell(Array.from(cellValues.values()));
|
27
27
|
}
|
28
|
-
};
|
29
|
-
exports.command = command;
|
28
|
+
};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
|
3
3
|
exports.__esModule = true;
|
4
|
-
const command = {
|
4
|
+
const command = exports.command = {
|
5
5
|
name: 'scrollToFocusedCell',
|
6
6
|
callback(hot) {
|
7
7
|
const {
|
@@ -31,5 +31,4 @@ const command = {
|
|
31
31
|
});
|
32
32
|
}
|
33
33
|
}
|
34
|
-
};
|
35
|
-
exports.command = command;
|
34
|
+
};
|
@@ -1,12 +1,11 @@
|
|
1
1
|
"use strict";
|
2
2
|
|
3
3
|
exports.__esModule = true;
|
4
|
-
const command = {
|
4
|
+
const command = exports.command = {
|
5
5
|
name: 'selectAllCells',
|
6
6
|
callback(hot) {
|
7
7
|
hot.selection.selectAll(true, true, {
|
8
8
|
disableHeadersHighlight: true
|
9
9
|
});
|
10
10
|
}
|
11
|
-
};
|
12
|
-
exports.command = command;
|
11
|
+
};
|
@@ -1,12 +1,11 @@
|
|
1
1
|
"use strict";
|
2
2
|
|
3
3
|
exports.__esModule = true;
|
4
|
-
const command = {
|
4
|
+
const command = exports.command = {
|
5
5
|
name: 'selectAllCellsAndHeaders',
|
6
6
|
callback(hot) {
|
7
7
|
hot.selection.selectAll(true, true, {
|
8
8
|
disableHeadersHighlight: false
|
9
9
|
});
|
10
10
|
}
|
11
|
-
};
|
12
|
-
exports.command = command;
|
11
|
+
};
|
@@ -4,10 +4,8 @@ exports.__esModule = true;
|
|
4
4
|
/**
|
5
5
|
* Group name for keyboard shortcuts that are active when the cell is selected.
|
6
6
|
*/
|
7
|
-
const GRID_GROUP = 'gridDefault';
|
7
|
+
const GRID_GROUP = exports.GRID_GROUP = 'gridDefault';
|
8
8
|
/**
|
9
9
|
* Group name for keyboard shortcuts that are active when the cell editor is active.
|
10
10
|
*/
|
11
|
-
exports.
|
12
|
-
const EDITOR_EDIT_GROUP = 'editorManager.handlingEditor';
|
13
|
-
exports.EDITOR_EDIT_GROUP = EDITOR_EDIT_GROUP;
|
11
|
+
const EDITOR_EDIT_GROUP = exports.EDITOR_EDIT_GROUP = 'editorManager.handlingEditor';
|
package/shortcuts/context.js
CHANGED
@@ -24,7 +24,7 @@ function isContextObject(objectToCheck) {
|
|
24
24
|
|
25
25
|
/* eslint-disable jsdoc/require-description-complete-sentence */
|
26
26
|
/**
|
27
|
-
* The `ShortcutContext` API lets you store and manage [keyboard shortcuts](@/guides/
|
27
|
+
* The `ShortcutContext` API lets you store and manage [keyboard shortcuts](@/guides/navigation/keyboard-shortcuts.md) in a given [context](@/guides/navigation/keyboard-shortcuts.md#keyboard-shortcut-contexts).
|
28
28
|
*
|
29
29
|
* Each `ShortcutContext` object stores and manages its own set of keyboard shortcuts.
|
30
30
|
*
|
package/shortcuts/context.mjs
CHANGED
@@ -20,7 +20,7 @@ export function isContextObject(objectToCheck) {
|
|
20
20
|
|
21
21
|
/* eslint-disable jsdoc/require-description-complete-sentence */
|
22
22
|
/**
|
23
|
-
* The `ShortcutContext` API lets you store and manage [keyboard shortcuts](@/guides/
|
23
|
+
* The `ShortcutContext` API lets you store and manage [keyboard shortcuts](@/guides/navigation/keyboard-shortcuts.md) in a given [context](@/guides/navigation/keyboard-shortcuts.md#keyboard-shortcut-contexts).
|
24
24
|
*
|
25
25
|
* Each `ShortcutContext` object stores and manages its own set of keyboard shortcuts.
|
26
26
|
*
|
package/shortcuts/manager.js
CHANGED
@@ -9,7 +9,7 @@ var _recorder = require("./recorder");
|
|
9
9
|
var _templateLiteralTag = require("../helpers/templateLiteralTag");
|
10
10
|
/* eslint-disable jsdoc/require-description-complete-sentence */
|
11
11
|
/**
|
12
|
-
* The `ShortcutManager` API lets you store and manage [keyboard shortcut contexts](@/guides/
|
12
|
+
* The `ShortcutManager` API lets you store and manage [keyboard shortcut contexts](@/guides/navigation/keyboard-shortcuts.md#keyboard-shortcut-contexts) ([`ShortcutContext`](@/api/shortcutContext.md)).
|
13
13
|
*
|
14
14
|
* Each `ShortcutManager` object:
|
15
15
|
* - Stores and manages its own set of keyboard shortcut contexts.
|
@@ -20,7 +20,7 @@ var _templateLiteralTag = require("../helpers/templateLiteralTag");
|
|
20
20
|
* @param {object} options The manager's options
|
21
21
|
* @param {EventTarget} options.ownerWindow A starting `window` element
|
22
22
|
* @param {Function} options.handleEvent A condition on which `event` is handled.
|
23
|
-
* @param {Function} options.beforeKeyDown A hook fired before the `keydown` event is handled. You can use it to [block a keyboard shortcut's actions](@/guides/
|
23
|
+
* @param {Function} options.beforeKeyDown A hook fired before the `keydown` event is handled. You can use it to [block a keyboard shortcut's actions](@/guides/navigation/keyboard-shortcuts.md#block-a-keyboard-shortcut-s-actions).
|
24
24
|
* @param {Function} options.afterKeyDown A hook fired after the `keydown` event is handled
|
25
25
|
*/
|
26
26
|
const createShortcutManager = _ref => {
|
package/shortcuts/manager.mjs
CHANGED
@@ -6,7 +6,7 @@ import { useRecorder } from "./recorder.mjs";
|
|
6
6
|
import { toSingleLine } from "../helpers/templateLiteralTag.mjs";
|
7
7
|
/* eslint-disable jsdoc/require-description-complete-sentence */
|
8
8
|
/**
|
9
|
-
* The `ShortcutManager` API lets you store and manage [keyboard shortcut contexts](@/guides/
|
9
|
+
* The `ShortcutManager` API lets you store and manage [keyboard shortcut contexts](@/guides/navigation/keyboard-shortcuts.md#keyboard-shortcut-contexts) ([`ShortcutContext`](@/api/shortcutContext.md)).
|
10
10
|
*
|
11
11
|
* Each `ShortcutManager` object:
|
12
12
|
* - Stores and manages its own set of keyboard shortcut contexts.
|
@@ -17,7 +17,7 @@ import { toSingleLine } from "../helpers/templateLiteralTag.mjs";
|
|
17
17
|
* @param {object} options The manager's options
|
18
18
|
* @param {EventTarget} options.ownerWindow A starting `window` element
|
19
19
|
* @param {Function} options.handleEvent A condition on which `event` is handled.
|
20
|
-
* @param {Function} options.beforeKeyDown A hook fired before the `keydown` event is handled. You can use it to [block a keyboard shortcut's actions](@/guides/
|
20
|
+
* @param {Function} options.beforeKeyDown A hook fired before the `keydown` event is handled. You can use it to [block a keyboard shortcut's actions](@/guides/navigation/keyboard-shortcuts.md#block-a-keyboard-shortcut-s-actions).
|
21
21
|
* @param {Function} options.afterKeyDown A hook fired after the `keydown` event is handled
|
22
22
|
*/
|
23
23
|
export const createShortcutManager = _ref => {
|
package/tableView.js
CHANGED
@@ -1345,5 +1345,4 @@ function _updateAriaColcount2(delta) {
|
|
1345
1345
|
const colCount = _classPrivateMethodGet(this, _getAriaColcount, _getAriaColcount2).call(this) + delta;
|
1346
1346
|
(0, _element.setAttribute)(this.hot.rootElement, ...(0, _a11y.A11Y_COLCOUNT)(colCount));
|
1347
1347
|
}
|
1348
|
-
var _default = TableView;
|
1349
|
-
exports.default = _default;
|
1348
|
+
var _default = exports.default = TableView;
|
@@ -5,10 +5,8 @@ exports.createPriorityMap = createPriorityMap;
|
|
5
5
|
require("core-js/modules/es.error.cause.js");
|
6
6
|
var _number = require("../../helpers/number");
|
7
7
|
var _function = require("../../helpers/function");
|
8
|
-
const ASC = 'asc';
|
9
|
-
exports.
|
10
|
-
const DESC = 'desc';
|
11
|
-
exports.DESC = DESC;
|
8
|
+
const ASC = exports.ASC = 'asc';
|
9
|
+
const DESC = exports.DESC = 'desc';
|
12
10
|
const ORDER_MAP = new Map([[ASC, [-1, 1]], [DESC, [1, -1]]]);
|
13
11
|
const DEFAULT_ERROR_PRIORITY_EXISTS = priority => `The priority '${priority}' is already declared in a map.`;
|
14
12
|
const DEFAULT_ERROR_PRIORITY_NAN = priority => `The priority '${priority}' is not a number.`;
|
@@ -12,13 +12,12 @@ function _toPrimitive(input, hint) { if (typeof input !== "object" || input ===
|
|
12
12
|
*
|
13
13
|
* @type {string}
|
14
14
|
*/
|
15
|
-
const TRAVERSAL_DF_PRE = 'DF-pre-order';
|
15
|
+
const TRAVERSAL_DF_PRE = exports.TRAVERSAL_DF_PRE = 'DF-pre-order';
|
16
16
|
/**
|
17
17
|
* @param {Function} callback A callback which will be called on each visited node.
|
18
18
|
* @param {*} context A context to pass through.
|
19
19
|
* @returns {boolean}
|
20
20
|
*/
|
21
|
-
exports.TRAVERSAL_DF_PRE = TRAVERSAL_DF_PRE;
|
22
21
|
function depthFirstPreOrder(callback, context) {
|
23
22
|
let continueTraverse = callback.call(context, this);
|
24
23
|
for (let i = 0; i < this.childs.length; i++) {
|
@@ -35,13 +34,12 @@ function depthFirstPreOrder(callback, context) {
|
|
35
34
|
*
|
36
35
|
* @type {string}
|
37
36
|
*/
|
38
|
-
const TRAVERSAL_DF_POST = 'DF-post-order';
|
37
|
+
const TRAVERSAL_DF_POST = exports.TRAVERSAL_DF_POST = 'DF-post-order';
|
39
38
|
/**
|
40
39
|
* @param {Function} callback A callback which will be called on each visited node.
|
41
40
|
* @param {*} context A context to pass through.
|
42
41
|
* @returns {boolean}
|
43
42
|
*/
|
44
|
-
exports.TRAVERSAL_DF_POST = TRAVERSAL_DF_POST;
|
45
43
|
function depthFirstPostOrder(callback, context) {
|
46
44
|
for (let i = 0; i < this.childs.length; i++) {
|
47
45
|
const continueTraverse = depthFirstPostOrder.call(this.childs[i], callback, context);
|
@@ -57,12 +55,11 @@ function depthFirstPostOrder(callback, context) {
|
|
57
55
|
*
|
58
56
|
* @type {string}
|
59
57
|
*/
|
60
|
-
const TRAVERSAL_BF = 'BF';
|
58
|
+
const TRAVERSAL_BF = exports.TRAVERSAL_BF = 'BF';
|
61
59
|
/**
|
62
60
|
* @param {Function} callback A callback which will be called on each visited node.
|
63
61
|
* @param {*} context A context to pass through.
|
64
62
|
*/
|
65
|
-
exports.TRAVERSAL_BF = TRAVERSAL_BF;
|
66
63
|
function breadthFirst(callback, context) {
|
67
64
|
const queue = [this];
|
68
65
|
|
package/utils/ghostTable.js
CHANGED
package/utils/interval.js
CHANGED
@@ -134,14 +134,13 @@ function _callback3() {
|
|
134
134
|
_classPrivateFieldGet(this, _func).call(this);
|
135
135
|
}
|
136
136
|
}
|
137
|
-
var _default = Interval;
|
137
|
+
var _default = exports.default = Interval;
|
138
138
|
/**
|
139
139
|
* Convert delay from string format to milliseconds.
|
140
140
|
*
|
141
141
|
* @param {number|string} delay The delay in FPS (frame per second) or number format.
|
142
142
|
* @returns {number}
|
143
143
|
*/
|
144
|
-
exports.default = _default;
|
145
144
|
function parseDelay(delay) {
|
146
145
|
let result = delay;
|
147
146
|
if (typeof result === 'string' && /fps$/.test(result)) {
|
package/utils/rootInstance.js
CHANGED
@@ -4,16 +4,14 @@ exports.__esModule = true;
|
|
4
4
|
exports.hasValidParameter = hasValidParameter;
|
5
5
|
exports.isRootInstance = isRootInstance;
|
6
6
|
exports.registerAsRootInstance = registerAsRootInstance;
|
7
|
-
const holder = new WeakMap();
|
8
|
-
exports.
|
9
|
-
const rootInstanceSymbol = Symbol('rootInstance');
|
7
|
+
const holder = exports.holder = new WeakMap();
|
8
|
+
const rootInstanceSymbol = exports.rootInstanceSymbol = Symbol('rootInstance');
|
10
9
|
|
11
10
|
/**
|
12
11
|
* Register an object as a root instance.
|
13
12
|
*
|
14
13
|
* @param {object} object An object to associate with root instance flag.
|
15
14
|
*/
|
16
|
-
exports.rootInstanceSymbol = rootInstanceSymbol;
|
17
15
|
function registerAsRootInstance(object) {
|
18
16
|
holder.set(object, true);
|
19
17
|
}
|
package/utils/staticRegister.js
CHANGED
@@ -2,13 +2,12 @@
|
|
2
2
|
|
3
3
|
exports.__esModule = true;
|
4
4
|
exports.default = staticRegister;
|
5
|
-
const collection = new Map();
|
5
|
+
const collection = exports.collection = new Map();
|
6
6
|
|
7
7
|
/**
|
8
8
|
* @param {string} namespace The namespace for the storage.
|
9
9
|
* @returns {object}
|
10
10
|
*/
|
11
|
-
exports.collection = collection;
|
12
11
|
function staticRegister() {
|
13
12
|
let namespace = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'common';
|
14
13
|
if (!collection.has(namespace)) {
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
exports.__esModule = true;
|
4
4
|
exports.autocompleteValidator = autocompleteValidator;
|
5
|
-
const VALIDATOR_TYPE = 'autocomplete';
|
5
|
+
const VALIDATOR_TYPE = exports.VALIDATOR_TYPE = 'autocomplete';
|
6
6
|
|
7
7
|
/**
|
8
8
|
* The Autocomplete cell validator.
|
@@ -11,7 +11,6 @@ const VALIDATOR_TYPE = 'autocomplete';
|
|
11
11
|
* @param {*} value Value of edited cell.
|
12
12
|
* @param {Function} callback Callback called with validation result.
|
13
13
|
*/
|
14
|
-
exports.VALIDATOR_TYPE = VALIDATOR_TYPE;
|
15
14
|
function autocompleteValidator(value, callback) {
|
16
15
|
let valueToValidate = value;
|
17
16
|
if (valueToValidate === null || valueToValidate === undefined) {
|
@@ -8,7 +8,7 @@ var _registry = require("../../editors/registry");
|
|
8
8
|
var _dateEditor = require("../../editors/dateEditor");
|
9
9
|
var _date = require("../../helpers/date");
|
10
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
11
|
-
const VALIDATOR_TYPE = 'date';
|
11
|
+
const VALIDATOR_TYPE = exports.VALIDATOR_TYPE = 'date';
|
12
12
|
|
13
13
|
/**
|
14
14
|
* The Date cell validator.
|
@@ -17,7 +17,6 @@ const VALIDATOR_TYPE = 'date';
|
|
17
17
|
* @param {*} value Value of edited cell.
|
18
18
|
* @param {Function} callback Callback called with validation result.
|
19
19
|
*/
|
20
|
-
exports.VALIDATOR_TYPE = VALIDATOR_TYPE;
|
21
20
|
function dateValidator(value, callback) {
|
22
21
|
const dateEditor = (0, _registry.getEditorInstance)(_dateEditor.EDITOR_TYPE, this.instance);
|
23
22
|
let valueToValidate = value;
|
@@ -3,7 +3,7 @@
|
|
3
3
|
exports.__esModule = true;
|
4
4
|
exports.numericValidator = numericValidator;
|
5
5
|
var _number = require("../../helpers/number");
|
6
|
-
const VALIDATOR_TYPE = 'numeric';
|
6
|
+
const VALIDATOR_TYPE = exports.VALIDATOR_TYPE = 'numeric';
|
7
7
|
|
8
8
|
/**
|
9
9
|
* The Numeric cell validator.
|
@@ -12,7 +12,6 @@ const VALIDATOR_TYPE = 'numeric';
|
|
12
12
|
* @param {*} value Value of edited cell.
|
13
13
|
* @param {Function} callback Callback called with validation result.
|
14
14
|
*/
|
15
|
-
exports.VALIDATOR_TYPE = VALIDATOR_TYPE;
|
16
15
|
function numericValidator(value, callback) {
|
17
16
|
let valueToValidate = value;
|
18
17
|
if (valueToValidate === null || valueToValidate === undefined) {
|
@@ -10,7 +10,7 @@ const STRICT_FORMATS = ['YYYY-MM-DDTHH:mm:ss.SSSZ', 'X',
|
|
10
10
|
'x' // Unix ms timestamp
|
11
11
|
];
|
12
12
|
|
13
|
-
const VALIDATOR_TYPE = 'time';
|
13
|
+
const VALIDATOR_TYPE = exports.VALIDATOR_TYPE = 'time';
|
14
14
|
|
15
15
|
/**
|
16
16
|
* The Time cell validator.
|
@@ -19,7 +19,6 @@ const VALIDATOR_TYPE = 'time';
|
|
19
19
|
* @param {*} value Value of edited cell.
|
20
20
|
* @param {Function} callback Callback called with validation result.
|
21
21
|
*/
|
22
|
-
exports.VALIDATOR_TYPE = VALIDATOR_TYPE;
|
23
22
|
function timeValidator(value, callback) {
|
24
23
|
const timeFormat = this.timeFormat || 'h:mm:ss a';
|
25
24
|
let valid = true;
|