handsontable 0.0.0-next-b66c79f-20230713 → 0.0.0-next-08765b9-20230714
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/cell/coords.d.ts +6 -1
- package/3rdparty/walkontable/src/cell/coords.js +87 -33
- package/3rdparty/walkontable/src/cell/coords.mjs +87 -33
- package/3rdparty/walkontable/src/cell/range.d.ts +9 -2
- package/3rdparty/walkontable/src/cell/range.js +92 -46
- package/3rdparty/walkontable/src/cell/range.mjs +92 -46
- package/3rdparty/walkontable/src/core/_base.js +41 -33
- package/3rdparty/walkontable/src/core/_base.mjs +41 -33
- package/3rdparty/walkontable/src/core/clone.js +8 -5
- package/3rdparty/walkontable/src/core/clone.mjs +8 -5
- package/3rdparty/walkontable/src/core/core.js +3 -2
- package/3rdparty/walkontable/src/core/core.mjs +3 -2
- package/3rdparty/walkontable/src/event.js +9 -8
- package/3rdparty/walkontable/src/event.mjs +9 -8
- package/3rdparty/walkontable/src/facade/core.js +2 -2
- package/3rdparty/walkontable/src/facade/core.mjs +2 -2
- package/3rdparty/walkontable/src/index.js +10 -2
- package/3rdparty/walkontable/src/index.mjs +2 -2
- package/3rdparty/walkontable/src/overlay/_base.js +11 -9
- package/3rdparty/walkontable/src/overlay/_base.mjs +11 -9
- package/3rdparty/walkontable/src/overlay/bottom.js +10 -8
- package/3rdparty/walkontable/src/overlay/bottom.mjs +10 -8
- package/3rdparty/walkontable/src/overlay/inlineStart.js +2 -6
- package/3rdparty/walkontable/src/overlay/inlineStart.mjs +2 -6
- package/3rdparty/walkontable/src/overlay/top.js +12 -14
- package/3rdparty/walkontable/src/overlay/top.mjs +12 -14
- package/3rdparty/walkontable/src/overlay/topInlineStartCorner.js +16 -13
- package/3rdparty/walkontable/src/overlay/topInlineStartCorner.mjs +16 -13
- package/3rdparty/walkontable/src/overlays.js +75 -80
- package/3rdparty/walkontable/src/overlays.mjs +75 -80
- package/3rdparty/walkontable/src/scroll.js +27 -24
- package/3rdparty/walkontable/src/scroll.mjs +27 -24
- package/3rdparty/walkontable/src/{border.js → selection/border/border.js} +7 -12
- package/3rdparty/walkontable/src/{border.mjs → selection/border/border.mjs} +7 -12
- package/3rdparty/walkontable/src/selection/border/constants.js +16 -0
- package/3rdparty/walkontable/src/selection/border/constants.mjs +12 -0
- package/3rdparty/walkontable/src/selection/constants.js +62 -0
- package/3rdparty/walkontable/src/selection/constants.mjs +51 -0
- package/3rdparty/walkontable/src/selection/index.js +26 -0
- package/3rdparty/walkontable/src/selection/index.mjs +5 -0
- package/3rdparty/walkontable/src/selection/manager.js +259 -0
- package/3rdparty/walkontable/src/selection/manager.mjs +254 -0
- package/3rdparty/walkontable/src/selection/scanner.js +270 -0
- package/3rdparty/walkontable/src/selection/scanner.mjs +267 -0
- package/3rdparty/walkontable/src/selection/selection.js +101 -0
- package/3rdparty/walkontable/src/selection/selection.mjs +96 -0
- package/3rdparty/walkontable/src/settings.js +18 -17
- package/3rdparty/walkontable/src/settings.mjs +18 -17
- package/3rdparty/walkontable/src/table/mixin/calculatedColumns.js +9 -0
- package/3rdparty/walkontable/src/table/mixin/calculatedColumns.mjs +9 -0
- package/3rdparty/walkontable/src/table/mixin/calculatedRows.js +9 -0
- package/3rdparty/walkontable/src/table/mixin/calculatedRows.mjs +9 -0
- package/3rdparty/walkontable/src/table/mixin/stickyColumnsStart.js +9 -0
- package/3rdparty/walkontable/src/table/mixin/stickyColumnsStart.mjs +9 -0
- package/3rdparty/walkontable/src/table/mixin/stickyRowsBottom.js +9 -0
- package/3rdparty/walkontable/src/table/mixin/stickyRowsBottom.mjs +9 -0
- package/3rdparty/walkontable/src/table/mixin/stickyRowsTop.js +9 -0
- package/3rdparty/walkontable/src/table/mixin/stickyRowsTop.mjs +9 -0
- package/3rdparty/walkontable/src/table.js +48 -115
- package/3rdparty/walkontable/src/table.mjs +49 -116
- package/base.js +2 -2
- package/base.mjs +2 -2
- package/core/focusCatcher/focusDetector.js +58 -0
- package/core/focusCatcher/focusDetector.mjs +54 -0
- package/core/focusCatcher/index.js +142 -0
- package/core/focusCatcher/index.mjs +138 -0
- package/core/index.js +9 -0
- package/core/index.mjs +1 -0
- package/core.d.ts +6 -3
- package/core.js +181 -298
- package/core.mjs +181 -298
- package/dataMap/metaManager/metaLayers/cellMeta.js +2 -1
- package/dataMap/metaManager/metaLayers/cellMeta.mjs +2 -1
- package/dataMap/metaManager/metaLayers/globalMeta.js +1 -1
- package/dataMap/metaManager/metaLayers/globalMeta.mjs +1 -1
- package/dataMap/metaManager/metaSchema.js +41 -0
- package/dataMap/metaManager/metaSchema.mjs +41 -0
- package/dataMap/metaManager/mods/dynamicCellMeta.js +3 -2
- package/dataMap/metaManager/mods/dynamicCellMeta.mjs +3 -2
- package/dataMap/metaManager/utils.js +4 -2
- package/dataMap/metaManager/utils.mjs +4 -2
- package/dist/handsontable.css +19 -3
- package/dist/handsontable.full.css +19 -3
- package/dist/handsontable.full.js +10739 -7037
- package/dist/handsontable.full.min.css +3 -3
- package/dist/handsontable.full.min.js +25 -25
- package/dist/handsontable.js +24884 -21182
- package/dist/handsontable.min.css +3 -3
- package/dist/handsontable.min.js +19 -19
- package/editorManager.js +11 -75
- package/editorManager.mjs +11 -74
- package/editors/autocompleteEditor/autocompleteEditor.js +70 -67
- package/editors/autocompleteEditor/autocompleteEditor.mjs +70 -67
- package/editors/baseEditor/baseEditor.js +1 -1
- package/editors/baseEditor/baseEditor.mjs +1 -1
- package/editors/dateEditor/dateEditor.js +2 -1
- package/editors/dateEditor/dateEditor.mjs +2 -1
- package/editors/textEditor/textEditor.js +3 -11
- package/editors/textEditor/textEditor.mjs +4 -12
- package/helpers/mixed.js +1 -1
- package/helpers/mixed.mjs +1 -1
- package/helpers/number.d.ts +1 -0
- package/helpers/number.js +18 -0
- package/helpers/number.mjs +17 -0
- package/helpers/object.js +1 -0
- package/helpers/object.mjs +1 -0
- package/index.js +5 -5
- package/index.mjs +5 -5
- package/package.json +1 -1
- package/pluginHooks.d.ts +7 -1
- package/pluginHooks.js +106 -1
- package/pluginHooks.mjs +106 -1
- package/plugins/autoColumnSize/autoColumnSize.js +4 -1
- package/plugins/autoColumnSize/autoColumnSize.mjs +4 -1
- package/plugins/collapsibleColumns/collapsibleColumns.js +110 -40
- package/plugins/collapsibleColumns/collapsibleColumns.mjs +110 -40
- package/plugins/columnSorting/columnSorting.js +40 -1
- package/plugins/columnSorting/columnSorting.mjs +40 -3
- package/plugins/columnSorting/columnStatesManager.js +2 -1
- package/plugins/columnSorting/columnStatesManager.mjs +2 -1
- package/plugins/columnSorting/index.js +3 -1
- package/plugins/columnSorting/index.mjs +1 -1
- package/plugins/comments/commentEditor.js +1 -0
- package/plugins/comments/commentEditor.mjs +1 -0
- package/plugins/comments/comments.js +253 -191
- package/plugins/comments/comments.mjs +252 -192
- package/plugins/comments/contextMenuItem/addEditComment.js +41 -0
- package/plugins/comments/contextMenuItem/addEditComment.mjs +35 -0
- package/plugins/comments/contextMenuItem/readOnlyComment.js +49 -0
- package/plugins/comments/contextMenuItem/readOnlyComment.mjs +43 -0
- package/plugins/comments/contextMenuItem/removeComment.js +38 -0
- package/plugins/comments/contextMenuItem/removeComment.mjs +32 -0
- package/plugins/contextMenu/contextMenu.d.ts +1 -1
- package/plugins/contextMenu/contextMenu.js +72 -30
- package/plugins/contextMenu/contextMenu.mjs +73 -31
- package/plugins/contextMenu/predefinedItems/alignment.js +7 -0
- package/plugins/contextMenu/predefinedItems/alignment.mjs +7 -0
- package/plugins/contextMenu/predefinedItems/clearColumn.js +5 -3
- package/plugins/contextMenu/predefinedItems/clearColumn.mjs +5 -3
- package/plugins/contextMenu/predefinedItems/columnLeft.js +5 -3
- package/plugins/contextMenu/predefinedItems/columnLeft.mjs +5 -3
- package/plugins/contextMenu/predefinedItems/columnRight.js +5 -3
- package/plugins/contextMenu/predefinedItems/columnRight.mjs +5 -3
- package/plugins/contextMenu/predefinedItems/readOnly.js +7 -0
- package/plugins/contextMenu/predefinedItems/readOnly.mjs +7 -0
- package/plugins/contextMenu/predefinedItems/removeColumn.js +7 -5
- package/plugins/contextMenu/predefinedItems/removeColumn.mjs +5 -3
- package/plugins/contextMenu/predefinedItems/removeRow.js +7 -5
- package/plugins/contextMenu/predefinedItems/removeRow.mjs +5 -3
- package/plugins/contextMenu/predefinedItems/rowAbove.js +5 -3
- package/plugins/contextMenu/predefinedItems/rowAbove.mjs +5 -3
- package/plugins/contextMenu/predefinedItems/rowBelow.js +5 -3
- package/plugins/contextMenu/predefinedItems/rowBelow.mjs +5 -3
- package/plugins/contextMenu/utils.js +28 -16
- package/plugins/contextMenu/utils.mjs +27 -15
- package/plugins/copyPaste/contextMenuItem/copy.js +7 -0
- package/plugins/copyPaste/contextMenuItem/copy.mjs +7 -0
- package/plugins/copyPaste/contextMenuItem/copyColumnHeadersOnly.js +9 -1
- package/plugins/copyPaste/contextMenuItem/copyColumnHeadersOnly.mjs +9 -1
- package/plugins/copyPaste/contextMenuItem/copyWithColumnGroupHeaders.js +9 -1
- package/plugins/copyPaste/contextMenuItem/copyWithColumnGroupHeaders.mjs +9 -1
- package/plugins/copyPaste/contextMenuItem/copyWithColumnHeaders.js +9 -1
- package/plugins/copyPaste/contextMenuItem/copyWithColumnHeaders.mjs +9 -1
- package/plugins/copyPaste/contextMenuItem/cut.js +7 -0
- package/plugins/copyPaste/contextMenuItem/cut.mjs +7 -0
- package/plugins/copyPaste/copyPaste.js +12 -6
- package/plugins/copyPaste/copyPaste.mjs +12 -6
- package/plugins/customBorders/customBorders.js +36 -29
- package/plugins/customBorders/customBorders.mjs +37 -30
- package/plugins/customBorders/utils.js +3 -3
- package/plugins/customBorders/utils.mjs +3 -3
- package/plugins/dropdownMenu/dropdownMenu.d.ts +1 -1
- package/plugins/dropdownMenu/dropdownMenu.js +89 -32
- package/plugins/dropdownMenu/dropdownMenu.mjs +89 -32
- package/plugins/filters/conditionCollection.js +6 -5
- package/plugins/filters/conditionCollection.mjs +6 -5
- package/plugins/filters/filters.js +44 -21
- package/plugins/filters/filters.mjs +43 -20
- package/plugins/formulas/engine/register.js +3 -3
- package/plugins/formulas/engine/register.mjs +3 -3
- package/plugins/formulas/engine/settings.js +6 -3
- package/plugins/formulas/engine/settings.mjs +6 -3
- package/plugins/formulas/formulas.js +151 -143
- package/plugins/formulas/formulas.mjs +151 -143
- package/plugins/formulas/indexSyncer/axisSyncer.js +115 -79
- package/plugins/formulas/indexSyncer/axisSyncer.mjs +115 -79
- package/plugins/formulas/indexSyncer/index.js +100 -64
- package/plugins/formulas/indexSyncer/index.mjs +100 -64
- package/plugins/hiddenColumns/contextMenuItem/showColumn.js +2 -2
- package/plugins/hiddenColumns/contextMenuItem/showColumn.mjs +2 -2
- package/plugins/hiddenColumns/hiddenColumns.js +51 -34
- package/plugins/hiddenColumns/hiddenColumns.mjs +51 -34
- package/plugins/hiddenRows/contextMenuItem/showRow.js +2 -2
- package/plugins/hiddenRows/contextMenuItem/showRow.mjs +2 -2
- package/plugins/hiddenRows/hiddenRows.js +50 -33
- package/plugins/hiddenRows/hiddenRows.mjs +50 -33
- package/plugins/manualRowResize/manualRowResize.js +2 -1
- package/plugins/manualRowResize/manualRowResize.mjs +2 -1
- package/plugins/mergeCells/mergeCells.js +6 -17
- package/plugins/mergeCells/mergeCells.mjs +6 -17
- package/plugins/multiColumnSorting/multiColumnSorting.js +37 -2
- package/plugins/multiColumnSorting/multiColumnSorting.mjs +37 -2
- package/plugins/nestedHeaders/nestedHeaders.js +209 -75
- package/plugins/nestedHeaders/nestedHeaders.mjs +208 -74
- package/plugins/nestedHeaders/stateManager/headersTree.js +58 -38
- package/plugins/nestedHeaders/stateManager/headersTree.mjs +58 -38
- package/plugins/nestedHeaders/stateManager/index.js +107 -49
- package/plugins/nestedHeaders/stateManager/index.mjs +105 -47
- package/plugins/nestedHeaders/stateManager/nodeModifiers/collapse.js +1 -1
- package/plugins/nestedHeaders/stateManager/nodeModifiers/collapse.mjs +1 -1
- package/plugins/nestedHeaders/stateManager/sourceSettings.js +57 -37
- package/plugins/nestedHeaders/stateManager/sourceSettings.mjs +57 -37
- package/plugins/nestedHeaders/utils/ghostTable.js +39 -35
- package/plugins/nestedHeaders/utils/ghostTable.mjs +39 -35
- package/plugins/nestedRows/data/dataManager.js +4 -2
- package/plugins/nestedRows/data/dataManager.mjs +4 -2
- package/plugins/nestedRows/nestedRows.js +41 -0
- package/plugins/nestedRows/nestedRows.mjs +41 -0
- package/plugins/persistentState/storage.js +1 -0
- package/plugins/persistentState/storage.mjs +1 -0
- package/plugins/undoRedo/undoRedo.js +2 -1
- package/plugins/undoRedo/undoRedo.mjs +2 -1
- package/renderers/checkboxRenderer/checkboxRenderer.js +2 -2
- package/renderers/checkboxRenderer/checkboxRenderer.mjs +1 -1
- package/selection/highlight/highlight.js +256 -71
- package/selection/highlight/highlight.mjs +250 -71
- package/selection/highlight/types/activeHeader.js +10 -8
- package/selection/highlight/types/activeHeader.mjs +10 -8
- package/selection/highlight/types/area.js +6 -18
- package/selection/highlight/types/area.mjs +6 -18
- package/selection/highlight/types/areaLayered.js +31 -0
- package/selection/highlight/types/areaLayered.mjs +26 -0
- package/selection/highlight/types/column.js +27 -0
- package/selection/highlight/types/column.mjs +22 -0
- package/selection/highlight/types/customSelection.js +7 -9
- package/selection/highlight/types/customSelection.mjs +7 -9
- package/selection/highlight/types/fill.js +5 -7
- package/selection/highlight/types/fill.mjs +5 -7
- package/selection/highlight/types/{cell.js → focus.js} +5 -7
- package/selection/highlight/types/{cell.mjs → focus.mjs} +5 -7
- package/selection/highlight/types/header.js +9 -18
- package/selection/highlight/types/header.mjs +9 -18
- package/selection/highlight/types/row.js +27 -0
- package/selection/highlight/types/row.mjs +22 -0
- package/selection/highlight/visualSelection.js +41 -33
- package/selection/highlight/visualSelection.mjs +41 -33
- package/selection/index.js +4 -7
- package/selection/index.mjs +2 -3
- package/selection/mouseEventHandler.js +1 -1
- package/selection/mouseEventHandler.mjs +1 -1
- package/selection/range.js +8 -8
- package/selection/range.mjs +8 -8
- package/selection/selection.js +290 -154
- package/selection/selection.mjs +287 -153
- package/selection/transformation.js +232 -90
- package/selection/transformation.mjs +232 -90
- package/selection/utils.js +15 -21
- package/selection/utils.mjs +16 -21
- package/settings.d.ts +2 -0
- package/shortcutContexts/commands/editor/closeAndSave.js +12 -0
- package/shortcutContexts/commands/editor/closeAndSave.mjs +8 -0
- package/shortcutContexts/commands/editor/closeWithoutSaving.js +12 -0
- package/shortcutContexts/commands/editor/closeWithoutSaving.mjs +8 -0
- package/shortcutContexts/commands/editor/fastOpen.js +16 -0
- package/shortcutContexts/commands/editor/fastOpen.mjs +12 -0
- package/shortcutContexts/commands/editor/index.js +16 -0
- package/shortcutContexts/commands/editor/index.mjs +12 -0
- package/shortcutContexts/commands/editor/open.js +27 -0
- package/shortcutContexts/commands/editor/open.mjs +23 -0
- package/shortcutContexts/commands/emptySelectedCells.js +11 -0
- package/shortcutContexts/commands/emptySelectedCells.mjs +7 -0
- package/shortcutContexts/commands/extendCellsSelection/down.js +15 -0
- package/shortcutContexts/commands/extendCellsSelection/down.mjs +11 -0
- package/shortcutContexts/commands/extendCellsSelection/downByViewportHeight.js +21 -0
- package/shortcutContexts/commands/extendCellsSelection/downByViewportHeight.mjs +17 -0
- package/shortcutContexts/commands/extendCellsSelection/index.js +26 -0
- package/shortcutContexts/commands/extendCellsSelection/index.mjs +22 -0
- package/shortcutContexts/commands/extendCellsSelection/left.js +15 -0
- package/shortcutContexts/commands/extendCellsSelection/left.mjs +11 -0
- package/shortcutContexts/commands/extendCellsSelection/right.js +15 -0
- package/shortcutContexts/commands/extendCellsSelection/right.mjs +11 -0
- package/shortcutContexts/commands/extendCellsSelection/toColumns.js +19 -0
- package/shortcutContexts/commands/extendCellsSelection/toColumns.mjs +15 -0
- package/shortcutContexts/commands/extendCellsSelection/toMostBottom.js +29 -0
- package/shortcutContexts/commands/extendCellsSelection/toMostBottom.mjs +25 -0
- package/shortcutContexts/commands/extendCellsSelection/toMostInlineEnd.js +19 -0
- package/shortcutContexts/commands/extendCellsSelection/toMostInlineEnd.mjs +15 -0
- package/shortcutContexts/commands/extendCellsSelection/toMostInlineStart.js +19 -0
- package/shortcutContexts/commands/extendCellsSelection/toMostInlineStart.mjs +15 -0
- package/shortcutContexts/commands/extendCellsSelection/toMostLeft.js +29 -0
- package/shortcutContexts/commands/extendCellsSelection/toMostLeft.mjs +25 -0
- package/shortcutContexts/commands/extendCellsSelection/toMostRight.js +29 -0
- package/shortcutContexts/commands/extendCellsSelection/toMostRight.mjs +25 -0
- package/shortcutContexts/commands/extendCellsSelection/toMostTop.js +29 -0
- package/shortcutContexts/commands/extendCellsSelection/toMostTop.mjs +25 -0
- package/shortcutContexts/commands/extendCellsSelection/toRows.js +19 -0
- package/shortcutContexts/commands/extendCellsSelection/toRows.mjs +15 -0
- package/shortcutContexts/commands/extendCellsSelection/up.js +15 -0
- package/shortcutContexts/commands/extendCellsSelection/up.mjs +11 -0
- package/shortcutContexts/commands/extendCellsSelection/upByViewportHeight.js +21 -0
- package/shortcutContexts/commands/extendCellsSelection/upByViewportHeight.mjs +17 -0
- package/shortcutContexts/commands/index.js +35 -0
- package/shortcutContexts/commands/index.mjs +31 -0
- package/shortcutContexts/commands/moveCellSelection/down.js +13 -0
- package/shortcutContexts/commands/moveCellSelection/down.mjs +9 -0
- package/shortcutContexts/commands/moveCellSelection/downByViewportHeight.js +31 -0
- package/shortcutContexts/commands/moveCellSelection/downByViewportHeight.mjs +27 -0
- package/shortcutContexts/commands/moveCellSelection/index.js +28 -0
- package/shortcutContexts/commands/moveCellSelection/index.mjs +24 -0
- package/shortcutContexts/commands/moveCellSelection/inlineEnd.js +12 -0
- package/shortcutContexts/commands/moveCellSelection/inlineEnd.mjs +8 -0
- package/shortcutContexts/commands/moveCellSelection/inlineStart.js +12 -0
- package/shortcutContexts/commands/moveCellSelection/inlineStart.mjs +8 -0
- package/shortcutContexts/commands/moveCellSelection/left.js +10 -0
- package/shortcutContexts/commands/moveCellSelection/left.mjs +6 -0
- package/shortcutContexts/commands/moveCellSelection/right.js +10 -0
- package/shortcutContexts/commands/moveCellSelection/right.mjs +6 -0
- package/shortcutContexts/commands/moveCellSelection/toMostBottom.js +17 -0
- package/shortcutContexts/commands/moveCellSelection/toMostBottom.mjs +13 -0
- package/shortcutContexts/commands/moveCellSelection/toMostBottomInlineEnd.js +18 -0
- package/shortcutContexts/commands/moveCellSelection/toMostBottomInlineEnd.mjs +14 -0
- package/shortcutContexts/commands/moveCellSelection/toMostInlineEnd.js +14 -0
- package/shortcutContexts/commands/moveCellSelection/toMostInlineEnd.mjs +10 -0
- package/shortcutContexts/commands/moveCellSelection/toMostInlineStart.js +17 -0
- package/shortcutContexts/commands/moveCellSelection/toMostInlineStart.mjs +13 -0
- package/shortcutContexts/commands/moveCellSelection/toMostLeft.js +19 -0
- package/shortcutContexts/commands/moveCellSelection/toMostLeft.mjs +15 -0
- package/shortcutContexts/commands/moveCellSelection/toMostRight.js +21 -0
- package/shortcutContexts/commands/moveCellSelection/toMostRight.mjs +17 -0
- package/shortcutContexts/commands/moveCellSelection/toMostTop.js +17 -0
- package/shortcutContexts/commands/moveCellSelection/toMostTop.mjs +13 -0
- package/shortcutContexts/commands/moveCellSelection/toMostTopInlineStart.js +19 -0
- package/shortcutContexts/commands/moveCellSelection/toMostTopInlineStart.mjs +15 -0
- package/shortcutContexts/commands/moveCellSelection/up.js +13 -0
- package/shortcutContexts/commands/moveCellSelection/up.mjs +9 -0
- package/shortcutContexts/commands/moveCellSelection/upByViewportHeight.js +31 -0
- package/shortcutContexts/commands/moveCellSelection/upByViewportHeight.mjs +27 -0
- package/shortcutContexts/commands/populateSelectedCellsData.js +29 -0
- package/shortcutContexts/commands/populateSelectedCellsData.mjs +25 -0
- package/shortcutContexts/commands/scrollToFocusedCell.js +36 -0
- package/shortcutContexts/commands/scrollToFocusedCell.mjs +32 -0
- package/shortcutContexts/commands/selectAll.js +10 -0
- package/shortcutContexts/commands/selectAll.mjs +6 -0
- package/shortcutContexts/constants.js +13 -0
- package/shortcutContexts/constants.mjs +8 -0
- package/shortcutContexts/editor.js +25 -0
- package/shortcutContexts/editor.mjs +21 -0
- package/shortcutContexts/grid.js +163 -0
- package/shortcutContexts/grid.mjs +159 -0
- package/shortcutContexts/index.js +24 -0
- package/shortcutContexts/index.mjs +11 -0
- package/shortcuts/manager.js +2 -0
- package/shortcuts/manager.mjs +2 -0
- package/shortcuts/recorder.js +2 -2
- package/shortcuts/recorder.mjs +2 -2
- package/shortcuts/utils.js +19 -5
- package/shortcuts/utils.mjs +18 -4
- package/tableView.js +163 -91
- package/tableView.mjs +163 -91
- package/translations/changesObservable/observable.js +82 -54
- package/translations/changesObservable/observable.mjs +82 -54
- package/translations/changesObservable/observer.js +24 -11
- package/translations/changesObservable/observer.mjs +24 -11
- package/translations/maps/linkedPhysicalIndexToValueMap.js +14 -8
- package/translations/maps/linkedPhysicalIndexToValueMap.mjs +14 -8
- package/utils/dataStructures/tree.js +21 -18
- package/utils/dataStructures/tree.mjs +21 -18
- package/3rdparty/walkontable/src/selection.js +0 -295
- package/3rdparty/walkontable/src/selection.mjs +0 -290
- package/selection/highlight/constants.js +0 -15
- package/selection/highlight/constants.mjs +0 -6
- package/selection/highlight/types/index.js +0 -35
- package/selection/highlight/types/index.mjs +0 -31
@@ -2,9 +2,33 @@
|
|
2
2
|
|
3
3
|
exports.__esModule = true;
|
4
4
|
require("core-js/modules/es.array.push.js");
|
5
|
-
|
6
|
-
var
|
5
|
+
require("core-js/modules/es.error.cause.js");
|
6
|
+
var _activeHeader = require("./types/activeHeader");
|
7
|
+
var _areaLayered = require("./types/areaLayered");
|
8
|
+
var _area = require("./types/area");
|
9
|
+
var _column = require("./types/column");
|
10
|
+
var _focus = require("./types/focus");
|
11
|
+
var _customSelection = require("./types/customSelection");
|
12
|
+
var _fill = require("./types/fill");
|
13
|
+
var _header = require("./types/header");
|
14
|
+
var _row = require("./types/row");
|
15
|
+
var _src = require("../../3rdparty/walkontable/src");
|
16
|
+
exports.ACTIVE_HEADER_TYPE = _src.HIGHLIGHT_ACTIVE_HEADER_TYPE;
|
17
|
+
exports.AREA_TYPE = _src.HIGHLIGHT_AREA_TYPE;
|
18
|
+
exports.FOCUS_TYPE = _src.HIGHLIGHT_FOCUS_TYPE;
|
19
|
+
exports.CUSTOM_SELECTION_TYPE = _src.HIGHLIGHT_CUSTOM_SELECTION_TYPE;
|
20
|
+
exports.FILL_TYPE = _src.HIGHLIGHT_FILL_TYPE;
|
21
|
+
exports.HEADER_TYPE = _src.HIGHLIGHT_HEADER_TYPE;
|
22
|
+
exports.ROW_TYPE = _src.HIGHLIGHT_ROW_TYPE;
|
23
|
+
exports.COLUMN_TYPE = _src.HIGHLIGHT_COLUMN_TYPE;
|
7
24
|
var _array = require("./../../helpers/array");
|
25
|
+
let _Symbol$iterator;
|
26
|
+
function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
|
27
|
+
function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
|
28
|
+
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; }
|
29
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
30
|
+
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
31
|
+
function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(receiver)) { throw new TypeError("attempted to get private field on non-instance"); } return fn; }
|
8
32
|
/**
|
9
33
|
* Highlight class responsible for managing Walkontable Selection classes.
|
10
34
|
*
|
@@ -20,14 +44,24 @@ var _array = require("./../../helpers/array");
|
|
20
44
|
* @class Highlight
|
21
45
|
* @util
|
22
46
|
*/
|
47
|
+
var _createHighlight = /*#__PURE__*/new WeakSet();
|
48
|
+
_Symbol$iterator = Symbol.iterator;
|
23
49
|
class Highlight {
|
24
50
|
constructor(options) {
|
51
|
+
/**
|
52
|
+
* Creates (if not exist in the cache) Walkontable Selection instance.
|
53
|
+
*
|
54
|
+
* @param {Map} cacheMap The map where the instance will be cached.
|
55
|
+
* @param {Function} highlightFactory The function factory.
|
56
|
+
* @returns {VisualSelection}
|
57
|
+
*/
|
58
|
+
_classPrivateMethodInitSpec(this, _createHighlight);
|
25
59
|
/**
|
26
60
|
* Options consumed by Highlight class and Walkontable Selection classes.
|
27
61
|
*
|
28
62
|
* @type {object}
|
29
63
|
*/
|
30
|
-
this
|
64
|
+
_defineProperty(this, "options", void 0);
|
31
65
|
/**
|
32
66
|
* The property which describes which layer level of the visual selection will be modified.
|
33
67
|
* This option is valid only for `area` and `header` highlight types which occurs multiple times on
|
@@ -38,49 +72,96 @@ class Highlight {
|
|
38
72
|
* @type {number}
|
39
73
|
* @default 0
|
40
74
|
*/
|
41
|
-
this
|
75
|
+
_defineProperty(this, "layerLevel", 0);
|
42
76
|
/**
|
43
77
|
* `cell` highlight object which describes attributes for the currently selected cell.
|
44
78
|
* It can only occur only once on the table.
|
45
79
|
*
|
46
80
|
* @type {Selection}
|
47
81
|
*/
|
48
|
-
this
|
82
|
+
_defineProperty(this, "focus", void 0);
|
49
83
|
/**
|
50
84
|
* `fill` highlight object which describes attributes for the borders for autofill functionality.
|
51
85
|
* It can only occur only once on the table.
|
52
86
|
*
|
53
87
|
* @type {Selection}
|
54
88
|
*/
|
55
|
-
this
|
89
|
+
_defineProperty(this, "fill", void 0);
|
56
90
|
/**
|
57
91
|
* Collection of the `area` highlights. That objects describes attributes for the borders and selection of
|
58
92
|
* the multiple selected cells. It can occur multiple times on the table.
|
59
93
|
*
|
60
94
|
* @type {Map.<number, Selection>}
|
61
95
|
*/
|
62
|
-
this
|
96
|
+
_defineProperty(this, "layeredAreas", new Map());
|
97
|
+
/**
|
98
|
+
* Collection of the `highlight` highlights. That objects describes attributes for the borders and selection of
|
99
|
+
* the multiple selected cells. It can occur multiple times on the table.
|
100
|
+
*
|
101
|
+
* @type {Map.<number, Selection>}
|
102
|
+
*/
|
103
|
+
_defineProperty(this, "areas", new Map());
|
63
104
|
/**
|
64
105
|
* Collection of the `header` highlights. That objects describes attributes for the selection of
|
65
|
-
* the multiple selected rows
|
106
|
+
* the multiple selected rows in the table header. It can occur multiple times on the table.
|
107
|
+
*
|
108
|
+
* @type {Map.<number, Selection>}
|
109
|
+
*/
|
110
|
+
_defineProperty(this, "rowHeaders", new Map());
|
111
|
+
/**
|
112
|
+
* Collection of the `header` highlights. That objects describes attributes for the selection of
|
113
|
+
* the multiple selected columns in the table header. It can occur multiple times on the table.
|
114
|
+
*
|
115
|
+
* @type {Map.<number, Selection>}
|
116
|
+
*/
|
117
|
+
_defineProperty(this, "columnHeaders", new Map());
|
118
|
+
/**
|
119
|
+
* Collection of the `active-header` highlights. That objects describes attributes for the selection of
|
120
|
+
* the multiple selected rows in the table header. The table headers which have selected all items in
|
121
|
+
* a row will be marked as `active-header`.
|
66
122
|
*
|
67
123
|
* @type {Map.<number, Selection>}
|
68
124
|
*/
|
69
|
-
this
|
125
|
+
_defineProperty(this, "activeRowHeaders", new Map());
|
70
126
|
/**
|
71
127
|
* Collection of the `active-header` highlights. That objects describes attributes for the selection of
|
72
|
-
* the multiple selected
|
128
|
+
* the multiple selected columns in the table header. The table headers which have selected all items in
|
73
129
|
* a row will be marked as `active-header`.
|
74
130
|
*
|
75
131
|
* @type {Map.<number, Selection>}
|
76
132
|
*/
|
77
|
-
this
|
133
|
+
_defineProperty(this, "activeColumnHeaders", new Map());
|
134
|
+
/**
|
135
|
+
* Collection of the `active-header` highlights. That objects describes attributes for the selection of
|
136
|
+
* the selected corner in the table header. The table headers which have selected all items in
|
137
|
+
* a row will be marked as `active-header`.
|
138
|
+
*
|
139
|
+
* @type {Map.<number, Selection>}
|
140
|
+
*/
|
141
|
+
_defineProperty(this, "activeCornerHeaders", new Map());
|
142
|
+
/**
|
143
|
+
* Collection of the `rows` highlights. That objects describes attributes for the selection of
|
144
|
+
* the multiple selected cells in a row. It can occur multiple times on the table.
|
145
|
+
*
|
146
|
+
* @type {Map.<number, Selection>}
|
147
|
+
*/
|
148
|
+
_defineProperty(this, "rowHighlights", new Map());
|
149
|
+
/**
|
150
|
+
* Collection of the `columns` highlights. That objects describes attributes for the selection of
|
151
|
+
* the multiple selected cells in a column. It can occur multiple times on the table.
|
152
|
+
*
|
153
|
+
* @type {Map.<number, Selection>}
|
154
|
+
*/
|
155
|
+
_defineProperty(this, "columnHighlights", new Map());
|
78
156
|
/**
|
79
157
|
* Collection of the `custom-selection`, holder for example borders added through CustomBorders plugin.
|
80
158
|
*
|
81
159
|
* @type {Selection[]}
|
82
160
|
*/
|
83
|
-
this
|
161
|
+
_defineProperty(this, "customSelections", []);
|
162
|
+
this.options = options;
|
163
|
+
this.focus = (0, _focus.createHighlight)(options);
|
164
|
+
this.fill = (0, _fill.createHighlight)(options);
|
84
165
|
}
|
85
166
|
|
86
167
|
/**
|
@@ -94,11 +175,14 @@ class Highlight {
|
|
94
175
|
let type = highlightType;
|
95
176
|
|
96
177
|
// Legacy compatibility.
|
97
|
-
if (highlightType ===
|
178
|
+
if (highlightType === _src.HIGHLIGHT_FOCUS_TYPE) {
|
98
179
|
type = 'current'; // One from settings for `disableVisualSelection` up to Handsontable 0.36/Handsontable Pro 1.16.0.
|
99
180
|
}
|
100
181
|
|
101
|
-
let disableHighlight =
|
182
|
+
let disableHighlight = false;
|
183
|
+
if (coords.isCell()) {
|
184
|
+
disableHighlight = this.options.disabledCellSelection(coords.row, coords.col);
|
185
|
+
}
|
102
186
|
if (typeof disableHighlight === 'string') {
|
103
187
|
disableHighlight = [disableHighlight];
|
104
188
|
}
|
@@ -118,12 +202,13 @@ class Highlight {
|
|
118
202
|
}
|
119
203
|
|
120
204
|
/**
|
121
|
-
* Get Walkontable Selection instance created for controlling highlight of the currently
|
205
|
+
* Get Walkontable Selection instance created for controlling highlight of the currently
|
206
|
+
* focused cell (or header).
|
122
207
|
*
|
123
208
|
* @returns {Selection}
|
124
209
|
*/
|
125
|
-
|
126
|
-
return this.
|
210
|
+
getFocus() {
|
211
|
+
return this.focus;
|
127
212
|
}
|
128
213
|
|
129
214
|
/**
|
@@ -136,24 +221,32 @@ class Highlight {
|
|
136
221
|
}
|
137
222
|
|
138
223
|
/**
|
139
|
-
*
|
140
|
-
*
|
224
|
+
* Creates (if not exist in the cache) Walkontable Selection instance created for controlling
|
225
|
+
* `area` highlights.
|
141
226
|
*
|
142
227
|
* @returns {Selection}
|
143
228
|
*/
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
229
|
+
createLayeredArea() {
|
230
|
+
return _classPrivateMethodGet(this, _createHighlight, _createHighlight2).call(this, this.layeredAreas, _areaLayered.createHighlight);
|
231
|
+
}
|
232
|
+
|
233
|
+
/**
|
234
|
+
* Get all Walkontable Selection instances which describes the state of the visual highlight of the cells.
|
235
|
+
*
|
236
|
+
* @returns {Selection[]}
|
237
|
+
*/
|
238
|
+
getLayeredAreas() {
|
239
|
+
return [...this.layeredAreas.values()];
|
240
|
+
}
|
241
|
+
|
242
|
+
/**
|
243
|
+
* Creates (if not exist in the cache) Walkontable Selection instance created for controlling
|
244
|
+
* `highlight` highlights.
|
245
|
+
*
|
246
|
+
* @returns {Selection}
|
247
|
+
*/
|
248
|
+
createArea() {
|
249
|
+
return _classPrivateMethodGet(this, _createHighlight, _createHighlight2).call(this, this.areas, _area.createHighlight);
|
157
250
|
}
|
158
251
|
|
159
252
|
/**
|
@@ -166,23 +259,13 @@ class Highlight {
|
|
166
259
|
}
|
167
260
|
|
168
261
|
/**
|
169
|
-
*
|
170
|
-
*
|
262
|
+
* Creates (if not exist in the cache) Walkontable Selection instance created for controlling
|
263
|
+
* header highlight for rows.
|
171
264
|
*
|
172
265
|
* @returns {Selection}
|
173
266
|
*/
|
174
|
-
|
175
|
-
|
176
|
-
let header;
|
177
|
-
if (this.headers.has(layerLevel)) {
|
178
|
-
header = this.headers.get(layerLevel);
|
179
|
-
} else {
|
180
|
-
header = (0, _types.createHighlight)(_constants.HEADER_TYPE, {
|
181
|
-
...this.options
|
182
|
-
});
|
183
|
-
this.headers.set(layerLevel, header);
|
184
|
-
}
|
185
|
-
return header;
|
267
|
+
createRowHeader() {
|
268
|
+
return _classPrivateMethodGet(this, _createHighlight, _createHighlight2).call(this, this.rowHeaders, _header.createHighlight);
|
186
269
|
}
|
187
270
|
|
188
271
|
/**
|
@@ -190,28 +273,37 @@ class Highlight {
|
|
190
273
|
*
|
191
274
|
* @returns {Selection[]}
|
192
275
|
*/
|
193
|
-
|
194
|
-
return [...this.
|
276
|
+
getRowHeaders() {
|
277
|
+
return [...this.rowHeaders.values()];
|
195
278
|
}
|
196
279
|
|
197
280
|
/**
|
198
|
-
*
|
199
|
-
*
|
281
|
+
* Creates (if not exist in the cache) Walkontable Selection instance created for controlling
|
282
|
+
* header highlight for columns.
|
200
283
|
*
|
201
284
|
* @returns {Selection}
|
202
285
|
*/
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
286
|
+
createColumnHeader() {
|
287
|
+
return _classPrivateMethodGet(this, _createHighlight, _createHighlight2).call(this, this.columnHeaders, _header.createHighlight);
|
288
|
+
}
|
289
|
+
|
290
|
+
/**
|
291
|
+
* Get all Walkontable Selection instances which describes the state of the visual highlight of the headers.
|
292
|
+
*
|
293
|
+
* @returns {Selection[]}
|
294
|
+
*/
|
295
|
+
getColumnHeaders() {
|
296
|
+
return [...this.columnHeaders.values()];
|
297
|
+
}
|
298
|
+
|
299
|
+
/**
|
300
|
+
* Creates (if not exist in the cache) Walkontable Selection instance created for controlling
|
301
|
+
* highlight for active row headers.
|
302
|
+
*
|
303
|
+
* @returns {Selection}
|
304
|
+
*/
|
305
|
+
createActiveRowHeader() {
|
306
|
+
return _classPrivateMethodGet(this, _createHighlight, _createHighlight2).call(this, this.activeRowHeaders, _activeHeader.createHighlight);
|
215
307
|
}
|
216
308
|
|
217
309
|
/**
|
@@ -219,8 +311,84 @@ class Highlight {
|
|
219
311
|
*
|
220
312
|
* @returns {Selection[]}
|
221
313
|
*/
|
222
|
-
|
223
|
-
return [...this.
|
314
|
+
getActiveRowHeaders() {
|
315
|
+
return [...this.activeRowHeaders.values()];
|
316
|
+
}
|
317
|
+
|
318
|
+
/**
|
319
|
+
* Creates (if not exist in the cache) Walkontable Selection instance created for controlling
|
320
|
+
* highlight for active column headers.
|
321
|
+
*
|
322
|
+
* @returns {Selection}
|
323
|
+
*/
|
324
|
+
createActiveColumnHeader() {
|
325
|
+
return _classPrivateMethodGet(this, _createHighlight, _createHighlight2).call(this, this.activeColumnHeaders, _activeHeader.createHighlight);
|
326
|
+
}
|
327
|
+
|
328
|
+
/**
|
329
|
+
* Get all Walkontable Selection instances which describes the state of the visual highlight of the active headers.
|
330
|
+
*
|
331
|
+
* @returns {Selection[]}
|
332
|
+
*/
|
333
|
+
getActiveColumnHeaders() {
|
334
|
+
return [...this.activeColumnHeaders.values()];
|
335
|
+
}
|
336
|
+
|
337
|
+
/**
|
338
|
+
* Creates (if not exist in the cache) Walkontable Selection instance created for controlling
|
339
|
+
* highlight for the headers corner.
|
340
|
+
*
|
341
|
+
* @returns {Selection}
|
342
|
+
*/
|
343
|
+
createActiveCornerHeader() {
|
344
|
+
return _classPrivateMethodGet(this, _createHighlight, _createHighlight2).call(this, this.activeCornerHeaders, _activeHeader.createHighlight);
|
345
|
+
}
|
346
|
+
|
347
|
+
/**
|
348
|
+
* Get all Walkontable Selection instances which describes the state of the visual highlight of the headers corner.
|
349
|
+
*
|
350
|
+
* @returns {Selection[]}
|
351
|
+
*/
|
352
|
+
getActiveCornerHeaders() {
|
353
|
+
return [...this.activeCornerHeaders.values()];
|
354
|
+
}
|
355
|
+
|
356
|
+
/**
|
357
|
+
* Creates (if not exist in the cache) Walkontable Selection instance created for controlling
|
358
|
+
* highlight cells in a row.
|
359
|
+
*
|
360
|
+
* @returns {Selection}
|
361
|
+
*/
|
362
|
+
createRowHighlight() {
|
363
|
+
return _classPrivateMethodGet(this, _createHighlight, _createHighlight2).call(this, this.rowHighlights, _row.createHighlight);
|
364
|
+
}
|
365
|
+
|
366
|
+
/**
|
367
|
+
* Get all Walkontable Selection instances which describes the state of the rows highlighting.
|
368
|
+
*
|
369
|
+
* @returns {Selection[]}
|
370
|
+
*/
|
371
|
+
getRowHighlights() {
|
372
|
+
return [...this.rowHighlights.values()];
|
373
|
+
}
|
374
|
+
|
375
|
+
/**
|
376
|
+
* Creates (if not exist in the cache) Walkontable Selection instance created for controlling
|
377
|
+
* highlight cells in a column.
|
378
|
+
*
|
379
|
+
* @returns {Selection}
|
380
|
+
*/
|
381
|
+
createColumnHighlight() {
|
382
|
+
return _classPrivateMethodGet(this, _createHighlight, _createHighlight2).call(this, this.columnHighlights, _column.createHighlight);
|
383
|
+
}
|
384
|
+
|
385
|
+
/**
|
386
|
+
* Get all Walkontable Selection instances which describes the state of the columns highlighting.
|
387
|
+
*
|
388
|
+
* @returns {Selection[]}
|
389
|
+
*/
|
390
|
+
getColumnHighlights() {
|
391
|
+
return [...this.columnHighlights.values()];
|
224
392
|
}
|
225
393
|
|
226
394
|
/**
|
@@ -238,7 +406,7 @@ class Highlight {
|
|
238
406
|
* @param {object} selectionInstance The selection instance.
|
239
407
|
*/
|
240
408
|
addCustomSelection(selectionInstance) {
|
241
|
-
this.customSelections.push((0,
|
409
|
+
this.customSelections.push((0, _customSelection.createHighlight)({
|
242
410
|
...this.options,
|
243
411
|
...selectionInstance
|
244
412
|
}));
|
@@ -248,21 +416,38 @@ class Highlight {
|
|
248
416
|
* Perform cleaning visual highlights for the whole table.
|
249
417
|
*/
|
250
418
|
clear() {
|
251
|
-
this.
|
419
|
+
this.focus.clear();
|
252
420
|
this.fill.clear();
|
253
421
|
(0, _array.arrayEach)(this.areas.values(), highlight => void highlight.clear());
|
254
|
-
(0, _array.arrayEach)(this.
|
255
|
-
(0, _array.arrayEach)(this.
|
422
|
+
(0, _array.arrayEach)(this.layeredAreas.values(), highlight => void highlight.clear());
|
423
|
+
(0, _array.arrayEach)(this.rowHeaders.values(), highlight => void highlight.clear());
|
424
|
+
(0, _array.arrayEach)(this.columnHeaders.values(), highlight => void highlight.clear());
|
425
|
+
(0, _array.arrayEach)(this.activeRowHeaders.values(), highlight => void highlight.clear());
|
426
|
+
(0, _array.arrayEach)(this.activeColumnHeaders.values(), highlight => void highlight.clear());
|
427
|
+
(0, _array.arrayEach)(this.activeCornerHeaders.values(), highlight => void highlight.clear());
|
428
|
+
(0, _array.arrayEach)(this.rowHighlights.values(), highlight => void highlight.clear());
|
429
|
+
(0, _array.arrayEach)(this.columnHighlights.values(), highlight => void highlight.clear());
|
256
430
|
}
|
257
|
-
|
258
431
|
/**
|
259
432
|
* This object can be iterate over using `for of` syntax or using internal `arrayEach` helper.
|
260
433
|
*
|
261
434
|
* @returns {Selection[]}
|
262
435
|
*/
|
263
|
-
[
|
264
|
-
return [this.
|
436
|
+
[_Symbol$iterator]() {
|
437
|
+
return [this.focus, this.fill, ...this.areas.values(), ...this.layeredAreas.values(), ...this.rowHeaders.values(), ...this.columnHeaders.values(), ...this.activeRowHeaders.values(), ...this.activeColumnHeaders.values(), ...this.activeCornerHeaders.values(), ...this.rowHighlights.values(), ...this.columnHighlights.values(), ...this.customSelections][Symbol.iterator]();
|
438
|
+
}
|
439
|
+
}
|
440
|
+
function _createHighlight2(cacheMap, highlightFactory) {
|
441
|
+
const layerLevel = this.layerLevel;
|
442
|
+
if (cacheMap.has(layerLevel)) {
|
443
|
+
return cacheMap.get(layerLevel);
|
265
444
|
}
|
445
|
+
const highlight = highlightFactory({
|
446
|
+
layerLevel,
|
447
|
+
...this.options
|
448
|
+
});
|
449
|
+
cacheMap.set(layerLevel, highlight);
|
450
|
+
return highlight;
|
266
451
|
}
|
267
452
|
var _default = Highlight;
|
268
453
|
exports.default = _default;
|