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
@@ -5,7 +5,7 @@ exports.textRenderer = textRenderer;
|
|
5
5
|
var _baseRenderer = require("../baseRenderer");
|
6
6
|
var _element = require("../../helpers/dom/element");
|
7
7
|
var _mixed = require("../../helpers/mixed");
|
8
|
-
const RENDERER_TYPE = 'text';
|
8
|
+
const RENDERER_TYPE = exports.RENDERER_TYPE = 'text';
|
9
9
|
|
10
10
|
/**
|
11
11
|
* Default text renderer.
|
@@ -19,7 +19,6 @@ const RENDERER_TYPE = 'text';
|
|
19
19
|
* @param {*} value The rendered value.
|
20
20
|
* @param {object} cellProperties The cell meta object ({@see Core#getCellMeta}).
|
21
21
|
*/
|
22
|
-
exports.RENDERER_TYPE = RENDERER_TYPE;
|
23
22
|
function textRenderer(hotInstance, TD, row, col, prop, value, cellProperties) {
|
24
23
|
_baseRenderer.baseRenderer.apply(this, [hotInstance, TD, row, col, prop, value, cellProperties]);
|
25
24
|
let escaped = value;
|
@@ -3,7 +3,7 @@
|
|
3
3
|
exports.__esModule = true;
|
4
4
|
exports.timeRenderer = timeRenderer;
|
5
5
|
var _textRenderer = require("../textRenderer");
|
6
|
-
const RENDERER_TYPE = 'time';
|
6
|
+
const RENDERER_TYPE = exports.RENDERER_TYPE = 'time';
|
7
7
|
|
8
8
|
/**
|
9
9
|
* Default time renderer.
|
@@ -17,7 +17,6 @@ const RENDERER_TYPE = 'time';
|
|
17
17
|
* @param {*} value The rendered value.
|
18
18
|
* @param {object} cellProperties The cell meta object ({@see Core#getCellMeta}).
|
19
19
|
*/
|
20
|
-
exports.RENDERER_TYPE = RENDERER_TYPE;
|
21
20
|
function timeRenderer(hotInstance, TD, row, col, prop, value, cellProperties) {
|
22
21
|
_textRenderer.textRenderer.apply(this, [hotInstance, TD, row, col, prop, value, cellProperties]);
|
23
22
|
TD.dir = 'ltr';
|
@@ -229,5 +229,4 @@ class VisualSelection extends _src.Selection {
|
|
229
229
|
return this.settings.createCellRange(renderableFromCoords, renderableFromCoords, renderableToCoords);
|
230
230
|
}
|
231
231
|
}
|
232
|
-
var _default = VisualSelection;
|
233
|
-
exports.default = _default;
|
232
|
+
var _default = exports.default = VisualSelection;
|
package/selection/range.js
CHANGED
package/selection/selection.js
CHANGED
@@ -14,8 +14,8 @@ var _utils = require("./utils");
|
|
14
14
|
var _templateLiteralTag = require("./../helpers/templateLiteralTag");
|
15
15
|
var _a11y = require("../helpers/a11y");
|
16
16
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
17
|
-
function _getRequireWildcardCache(
|
18
|
-
function _interopRequireWildcard(
|
17
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
18
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
19
19
|
function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
|
20
20
|
function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
|
21
21
|
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; }
|
@@ -857,5 +857,4 @@ class Selection {
|
|
857
857
|
}
|
858
858
|
}
|
859
859
|
(0, _object.mixin)(Selection, _localHooks.default);
|
860
|
-
var _default = Selection;
|
861
|
-
exports.default = _default;
|
860
|
+
var _default = exports.default = Selection;
|
@@ -297,5 +297,4 @@ function _zeroBasedToVisualCoords2(zeroBasedCoords) {
|
|
297
297
|
return _classPrivateFieldGet(this, _options).renderableToVisualCoords(coords);
|
298
298
|
}
|
299
299
|
(0, _object.mixin)(Transformation, _localHooks.default);
|
300
|
-
var _default = Transformation;
|
301
|
-
exports.default = _default;
|
300
|
+
var _default = exports.default = Transformation;
|
package/selection/utils.js
CHANGED
@@ -10,16 +10,11 @@ require("core-js/modules/es.array.push.js");
|
|
10
10
|
var _src = require("./../3rdparty/walkontable/src");
|
11
11
|
var _array = require("./../helpers/array");
|
12
12
|
var _mixed = require("./../helpers/mixed");
|
13
|
-
const SELECTION_TYPE_UNRECOGNIZED = 0;
|
14
|
-
exports.
|
15
|
-
const
|
16
|
-
exports.
|
17
|
-
const
|
18
|
-
exports.SELECTION_TYPE_ARRAY = SELECTION_TYPE_ARRAY;
|
19
|
-
const SELECTION_TYPE_OBJECT = 3;
|
20
|
-
exports.SELECTION_TYPE_OBJECT = SELECTION_TYPE_OBJECT;
|
21
|
-
const SELECTION_TYPES = [SELECTION_TYPE_OBJECT, SELECTION_TYPE_ARRAY];
|
22
|
-
exports.SELECTION_TYPES = SELECTION_TYPES;
|
13
|
+
const SELECTION_TYPE_UNRECOGNIZED = exports.SELECTION_TYPE_UNRECOGNIZED = 0;
|
14
|
+
const SELECTION_TYPE_EMPTY = exports.SELECTION_TYPE_EMPTY = 1;
|
15
|
+
const SELECTION_TYPE_ARRAY = exports.SELECTION_TYPE_ARRAY = 2;
|
16
|
+
const SELECTION_TYPE_OBJECT = exports.SELECTION_TYPE_OBJECT = 3;
|
17
|
+
const SELECTION_TYPES = exports.SELECTION_TYPES = [SELECTION_TYPE_OBJECT, SELECTION_TYPE_ARRAY];
|
23
18
|
const ARRAY_TYPE_PATTERN = [['number'], ['number', 'string'], ['number', 'undefined'], ['number', 'string', 'undefined']];
|
24
19
|
const rootCall = Symbol('root');
|
25
20
|
const childCall = Symbol('child');
|
@@ -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: 'editorCloseAndSave',
|
6
6
|
callback(hot, event, keys) {
|
7
7
|
const editorManager = hot._getEditorManager();
|
8
8
|
editorManager.closeEditorAndSaveChanges(event.ctrlKey || event.metaKey);
|
9
9
|
editorManager.moveSelectionAfterEnter(keys.includes('shift'));
|
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: 'editorCloseWithoutSaving',
|
6
6
|
callback(hot) {
|
7
7
|
const editorManager = hot._getEditorManager();
|
8
8
|
editorManager.closeEditorAndRestoreOriginalValue(hot.getShortcutManager().isCtrlPressed());
|
9
9
|
editorManager.activeEditor.focus();
|
10
10
|
}
|
11
|
-
};
|
12
|
-
exports.command = command;
|
11
|
+
};
|
@@ -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: 'editorFastOpen',
|
6
6
|
callback(hot, event) {
|
7
7
|
const {
|
@@ -12,5 +12,4 @@ const command = {
|
|
12
12
|
}
|
13
13
|
hot._getEditorManager().openEditor(null, event, true);
|
14
14
|
}
|
15
|
-
};
|
16
|
-
exports.command = command;
|
15
|
+
};
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
exports.__esModule = true;
|
4
4
|
var _event = require("../../../helpers/dom/event");
|
5
|
-
const command = {
|
5
|
+
const command = exports.command = {
|
6
6
|
name: 'editorOpen',
|
7
7
|
callback(hot, event, keys) {
|
8
8
|
const editorManager = hot._getEditorManager();
|
@@ -23,5 +23,4 @@ const command = {
|
|
23
23
|
}
|
24
24
|
(0, _event.stopImmediatePropagation)(event); // required by HandsontableEditor
|
25
25
|
}
|
26
|
-
};
|
27
|
-
exports.command = command;
|
26
|
+
};
|
@@ -1,11 +1,10 @@
|
|
1
1
|
"use strict";
|
2
2
|
|
3
3
|
exports.__esModule = true;
|
4
|
-
const command = {
|
4
|
+
const command = exports.command = {
|
5
5
|
name: 'emptySelectedCells',
|
6
6
|
callback(hot) {
|
7
7
|
hot.emptySelectedCells();
|
8
8
|
hot._getEditorManager().prepareEditor();
|
9
9
|
}
|
10
|
-
};
|
11
|
-
exports.command = command;
|
10
|
+
};
|
@@ -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: 'extendCellsSelectionDown',
|
6
6
|
callback(hot) {
|
7
7
|
const {
|
@@ -11,5 +11,4 @@ const command = {
|
|
11
11
|
hot.selection.transformEnd(1, 0);
|
12
12
|
}
|
13
13
|
}
|
14
|
-
};
|
15
|
-
exports.command = command;
|
14
|
+
};
|
@@ -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: 'extendCellsSelectionDownByViewportHeight',
|
6
6
|
callback(hot) {
|
7
7
|
const {
|
@@ -21,5 +21,4 @@ const command = {
|
|
21
21
|
});
|
22
22
|
}
|
23
23
|
}
|
24
|
-
};
|
25
|
-
exports.command = command;
|
24
|
+
};
|
@@ -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: 'extendCellsSelectionLeft',
|
6
6
|
callback(hot) {
|
7
7
|
const {
|
@@ -11,5 +11,4 @@ const command = {
|
|
11
11
|
hot.selection.transformEnd(0, -1 * hot.getDirectionFactor());
|
12
12
|
}
|
13
13
|
}
|
14
|
-
};
|
15
|
-
exports.command = command;
|
14
|
+
};
|
@@ -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: 'extendCellsSelectionRight',
|
6
6
|
callback(hot) {
|
7
7
|
const {
|
@@ -11,5 +11,4 @@ const command = {
|
|
11
11
|
hot.selection.transformEnd(0, hot.getDirectionFactor());
|
12
12
|
}
|
13
13
|
}
|
14
|
-
};
|
15
|
-
exports.command = command;
|
14
|
+
};
|
@@ -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: 'extendCellsSelectionToColumns',
|
6
6
|
callback(hot) {
|
7
7
|
const {
|
@@ -15,5 +15,4 @@ const command = {
|
|
15
15
|
hot.selectColumns(from.col, to.col, highlight.row);
|
16
16
|
}
|
17
17
|
}
|
18
|
-
};
|
19
|
-
exports.command = command;
|
18
|
+
};
|
@@ -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: 'extendCellsSelectionToMostBottom',
|
6
6
|
callback(hot) {
|
7
7
|
const {
|
@@ -25,5 +25,4 @@ const command = {
|
|
25
25
|
selection.setRangeEnd(hot._createCellCoords(row, to.col));
|
26
26
|
}
|
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: 'extendCellsSelectionToMostInlineEnd',
|
6
6
|
callback(hot) {
|
7
7
|
const {
|
@@ -15,5 +15,4 @@ const command = {
|
|
15
15
|
selection.setRangeEnd(hot._createCellCoords(selection.selectedRange.current().from.row, columnIndexMapper.getNearestNotHiddenIndex(hot.countCols() - 1, -1)));
|
16
16
|
}
|
17
17
|
}
|
18
|
-
};
|
19
|
-
exports.command = command;
|
18
|
+
};
|
@@ -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: 'extendCellsSelectionToMostInlineStart',
|
6
6
|
callback(hot) {
|
7
7
|
const {
|
@@ -15,5 +15,4 @@ const command = {
|
|
15
15
|
selection.setRangeEnd(hot._createCellCoords(selection.selectedRange.current().from.row, columnIndexMapper.getNearestNotHiddenIndex(0, 1)));
|
16
16
|
}
|
17
17
|
}
|
18
|
-
};
|
19
|
-
exports.command = command;
|
18
|
+
};
|
@@ -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: 'extendCellsSelectionToMostLeft',
|
6
6
|
callback(hot) {
|
7
7
|
const {
|
@@ -25,5 +25,4 @@ const command = {
|
|
25
25
|
selection.setRangeEnd(hot._createCellCoords(to.row, column));
|
26
26
|
}
|
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: 'extendCellsSelectionToMostRight',
|
6
6
|
callback(hot) {
|
7
7
|
const {
|
@@ -25,5 +25,4 @@ const command = {
|
|
25
25
|
selection.setRangeEnd(hot._createCellCoords(to.row, column));
|
26
26
|
}
|
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: 'extendCellsSelectionToMostTop',
|
6
6
|
callback(hot) {
|
7
7
|
const {
|
@@ -25,5 +25,4 @@ const command = {
|
|
25
25
|
selection.setRangeEnd(hot._createCellCoords(row, to.col));
|
26
26
|
}
|
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: 'extendCellsSelectionToRows',
|
6
6
|
callback(hot) {
|
7
7
|
const {
|
@@ -15,5 +15,4 @@ const command = {
|
|
15
15
|
hot.selectRows(from.row, to.row, highlight.col);
|
16
16
|
}
|
17
17
|
}
|
18
|
-
};
|
19
|
-
exports.command = command;
|
18
|
+
};
|
@@ -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: 'extendCellsSelectionUp',
|
6
6
|
callback(hot) {
|
7
7
|
const {
|
@@ -11,5 +11,4 @@ const command = {
|
|
11
11
|
hot.selection.transformEnd(-1, 0);
|
12
12
|
}
|
13
13
|
}
|
14
|
-
};
|
15
|
-
exports.command = command;
|
14
|
+
};
|
@@ -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: 'extendCellsSelectionUpByViewportHeight',
|
6
6
|
callback(hot) {
|
7
7
|
const {
|
@@ -21,5 +21,4 @@ const command = {
|
|
21
21
|
});
|
22
22
|
}
|
23
23
|
}
|
24
|
-
};
|
25
|
-
exports.command = command;
|
24
|
+
};
|
@@ -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: 'moveCellSelectionDown',
|
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: 'moveCellSelectionDownByViewportHeight',
|
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,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: 'moveCellSelectionInlineEnd',
|
6
6
|
callback(hot, event) {
|
7
7
|
const settings = hot.getSettings();
|
8
8
|
const tabMoves = typeof settings.tabMoves === 'function' ? settings.tabMoves(event) : settings.tabMoves;
|
9
9
|
hot.selection.transformStart(-tabMoves.row, -tabMoves.col);
|
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: 'moveCellSelectionInlineStart',
|
6
6
|
callback(hot, event) {
|
7
7
|
const settings = hot.getSettings();
|
8
8
|
const tabMoves = typeof settings.tabMoves === 'function' ? settings.tabMoves(event) : settings.tabMoves;
|
9
9
|
hot.selection.transformStart(tabMoves.row, tabMoves.col);
|
10
10
|
}
|
11
|
-
};
|
12
|
-
exports.command = command;
|
11
|
+
};
|
@@ -1,10 +1,9 @@
|
|
1
1
|
"use strict";
|
2
2
|
|
3
3
|
exports.__esModule = true;
|
4
|
-
const command = {
|
4
|
+
const command = exports.command = {
|
5
5
|
name: 'moveCellSelectionLeft',
|
6
6
|
callback(hot) {
|
7
7
|
hot.selection.transformStart(0, -1 * hot.getDirectionFactor());
|
8
8
|
}
|
9
|
-
};
|
10
|
-
exports.command = command;
|
9
|
+
};
|
@@ -1,10 +1,9 @@
|
|
1
1
|
"use strict";
|
2
2
|
|
3
3
|
exports.__esModule = true;
|
4
|
-
const command = {
|
4
|
+
const command = exports.command = {
|
5
5
|
name: 'moveCellSelectionRight',
|
6
6
|
callback(hot) {
|
7
7
|
hot.selection.transformStart(0, hot.getDirectionFactor());
|
8
8
|
}
|
9
|
-
};
|
10
|
-
exports.command = command;
|
9
|
+
};
|
@@ -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: 'moveCellSelectionToMostBottom',
|
6
6
|
callback(hot) {
|
7
7
|
const {
|
@@ -13,5 +13,4 @@ const command = {
|
|
13
13
|
}
|
14
14
|
hot.selection.setRangeStart(hot._createCellCoords(row, col));
|
15
15
|
}
|
16
|
-
};
|
17
|
-
exports.command = command;
|
16
|
+
};
|
@@ -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: 'moveCellSelectionToMostBottomInlineEnd',
|
6
6
|
callback(hot) {
|
7
7
|
const {
|
@@ -14,5 +14,4 @@ const command = {
|
|
14
14
|
const column = columnIndexMapper.getNearestNotHiddenIndex(hot.countCols() - 1, -1);
|
15
15
|
selection.setRangeStart(hot._createCellCoords(row, column));
|
16
16
|
}
|
17
|
-
};
|
18
|
-
exports.command = command;
|
17
|
+
};
|
@@ -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: 'moveCellSelectionToMostInlineEnd',
|
6
6
|
callback(hot) {
|
7
7
|
const {
|
@@ -10,5 +10,4 @@ const command = {
|
|
10
10
|
} = hot;
|
11
11
|
selection.setRangeStart(hot._createCellCoords(hot.getSelectedRangeLast().highlight.row, columnIndexMapper.getNearestNotHiddenIndex(hot.countCols() - 1, -1)));
|
12
12
|
}
|
13
|
-
};
|
14
|
-
exports.command = command;
|
13
|
+
};
|
@@ -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: 'moveCellSelectionToMostInlineStart',
|
6
6
|
callback(hot) {
|
7
7
|
const {
|
@@ -13,5 +13,4 @@ const command = {
|
|
13
13
|
const column = columnIndexMapper.getNearestNotHiddenIndex(fixedColumns, 1);
|
14
14
|
selection.setRangeStart(hot._createCellCoords(row, column));
|
15
15
|
}
|
16
|
-
};
|
17
|
-
exports.command = command;
|
16
|
+
};
|
@@ -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: 'moveCellSelectionToMostLeft',
|
6
6
|
callback(hot) {
|
7
7
|
const {
|
@@ -15,5 +15,4 @@ const command = {
|
|
15
15
|
}
|
16
16
|
selection.setRangeStart(hot._createCellCoords(row, column));
|
17
17
|
}
|
18
|
-
};
|
19
|
-
exports.command = command;
|
18
|
+
};
|
@@ -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: 'moveCellSelectionToMostRight',
|
6
6
|
callback(hot) {
|
7
7
|
const {
|
@@ -17,5 +17,4 @@ const command = {
|
|
17
17
|
}
|
18
18
|
selection.setRangeStart(hot._createCellCoords(row, column));
|
19
19
|
}
|
20
|
-
};
|
21
|
-
exports.command = command;
|
20
|
+
};
|
@@ -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: 'moveCellSelectionToMostTop',
|
6
6
|
callback(hot) {
|
7
7
|
const {
|
@@ -13,5 +13,4 @@ const command = {
|
|
13
13
|
}
|
14
14
|
hot.selection.setRangeStart(hot._createCellCoords(row, col));
|
15
15
|
}
|
16
|
-
};
|
17
|
-
exports.command = command;
|
16
|
+
};
|
@@ -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: 'moveCellSelectionToMostTopInlineStart',
|
6
6
|
callback(hot) {
|
7
7
|
const {
|
@@ -15,5 +15,4 @@ const command = {
|
|
15
15
|
const column = columnIndexMapper.getNearestNotHiddenIndex(fixedColumns, 1);
|
16
16
|
selection.setRangeStart(hot._createCellCoords(row, column));
|
17
17
|
}
|
18
|
-
};
|
19
|
-
exports.command = command;
|
18
|
+
};
|