handsontable 17.1.0 → 18.0.0-rc2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/3rdparty/SheetClip/SheetClip.d.mts +1 -0
- package/3rdparty/SheetClip/SheetClip.d.ts +25 -0
- package/3rdparty/SheetClip/SheetClip.js +57 -13
- package/3rdparty/SheetClip/SheetClip.mjs +57 -13
- package/3rdparty/SheetClip/index.d.mts +1 -0
- package/3rdparty/SheetClip/index.d.ts +1 -0
- package/3rdparty/walkontable/src/calculator/axisCalculation.d.mts +1 -0
- package/3rdparty/walkontable/src/calculator/axisCalculation.d.ts +38 -0
- package/3rdparty/walkontable/src/calculator/axisCalculation.js +1 -22
- package/3rdparty/walkontable/src/calculator/calculationType/fullyVisibleColumns.d.mts +1 -0
- package/3rdparty/walkontable/src/calculator/calculationType/fullyVisibleColumns.d.ts +53 -0
- package/3rdparty/walkontable/src/calculator/calculationType/fullyVisibleColumns.js +6 -5
- package/3rdparty/walkontable/src/calculator/calculationType/fullyVisibleColumns.mjs +5 -2
- package/3rdparty/walkontable/src/calculator/calculationType/fullyVisibleRows.d.mts +1 -0
- package/3rdparty/walkontable/src/calculator/calculationType/fullyVisibleRows.d.ts +53 -0
- package/3rdparty/walkontable/src/calculator/calculationType/fullyVisibleRows.js +6 -5
- package/3rdparty/walkontable/src/calculator/calculationType/fullyVisibleRows.mjs +5 -2
- package/3rdparty/walkontable/src/calculator/calculationType/partiallyVisibleColumns.d.mts +1 -0
- package/3rdparty/walkontable/src/calculator/calculationType/partiallyVisibleColumns.d.ts +53 -0
- package/3rdparty/walkontable/src/calculator/calculationType/partiallyVisibleColumns.js +6 -5
- package/3rdparty/walkontable/src/calculator/calculationType/partiallyVisibleColumns.mjs +5 -2
- package/3rdparty/walkontable/src/calculator/calculationType/partiallyVisibleRows.d.mts +1 -0
- package/3rdparty/walkontable/src/calculator/calculationType/partiallyVisibleRows.d.ts +53 -0
- package/3rdparty/walkontable/src/calculator/calculationType/partiallyVisibleRows.js +6 -5
- package/3rdparty/walkontable/src/calculator/calculationType/partiallyVisibleRows.mjs +5 -2
- package/3rdparty/walkontable/src/calculator/calculationType/renderedAllColumns.d.mts +1 -0
- package/3rdparty/walkontable/src/calculator/calculationType/renderedAllColumns.d.ts +56 -0
- package/3rdparty/walkontable/src/calculator/calculationType/renderedAllColumns.js +1 -8
- package/3rdparty/walkontable/src/calculator/calculationType/renderedAllRows.d.mts +1 -0
- package/3rdparty/walkontable/src/calculator/calculationType/renderedAllRows.d.ts +56 -0
- package/3rdparty/walkontable/src/calculator/calculationType/renderedAllRows.js +1 -8
- package/3rdparty/walkontable/src/calculator/calculationType/renderedColumns.d.mts +1 -0
- package/3rdparty/walkontable/src/calculator/calculationType/renderedColumns.d.ts +25 -0
- package/3rdparty/walkontable/src/calculator/calculationType/renderedColumns.js +5 -5
- package/3rdparty/walkontable/src/calculator/calculationType/renderedColumns.mjs +5 -5
- package/3rdparty/walkontable/src/calculator/calculationType/renderedRows.d.mts +1 -0
- package/3rdparty/walkontable/src/calculator/calculationType/renderedRows.d.ts +25 -0
- package/3rdparty/walkontable/src/calculator/calculationType/renderedRows.js +5 -5
- package/3rdparty/walkontable/src/calculator/calculationType/renderedRows.mjs +5 -5
- package/3rdparty/walkontable/src/calculator/index.d.mts +1 -0
- package/3rdparty/walkontable/src/calculator/index.d.ts +10 -0
- package/3rdparty/walkontable/src/calculator/index.mjs +10 -11
- package/3rdparty/walkontable/src/calculator/viewportBase.d.mts +1 -0
- package/3rdparty/walkontable/src/calculator/viewportBase.d.ts +91 -0
- package/3rdparty/walkontable/src/calculator/viewportBase.js +5 -10
- package/3rdparty/walkontable/src/calculator/viewportBase.mjs +5 -8
- package/3rdparty/walkontable/src/calculator/viewportColumns.d.mts +1 -0
- package/3rdparty/walkontable/src/calculator/viewportColumns.d.ts +92 -17
- package/3rdparty/walkontable/src/calculator/viewportColumns.js +33 -2
- package/3rdparty/walkontable/src/calculator/viewportColumns.mjs +33 -11
- package/3rdparty/walkontable/src/calculator/viewportRows.d.mts +1 -0
- package/3rdparty/walkontable/src/calculator/viewportRows.d.ts +97 -0
- package/3rdparty/walkontable/src/calculator/viewportRows.js +35 -2
- package/3rdparty/walkontable/src/calculator/viewportRows.mjs +35 -11
- package/3rdparty/walkontable/src/cell/coords.d.mts +2 -0
- package/3rdparty/walkontable/src/cell/coords.d.ts +171 -22
- package/3rdparty/walkontable/src/cell/coords.js +56 -11
- package/3rdparty/walkontable/src/cell/coords.mjs +56 -11
- package/3rdparty/walkontable/src/cell/range.d.mts +2 -0
- package/3rdparty/walkontable/src/cell/range.d.ts +523 -68
- package/3rdparty/walkontable/src/cell/range.js +149 -76
- package/3rdparty/walkontable/src/cell/range.mjs +149 -76
- package/3rdparty/walkontable/src/constants.d.mts +1 -0
- package/3rdparty/walkontable/src/constants.d.ts +1 -0
- package/3rdparty/walkontable/src/core/_base.d.mts +2 -0
- package/3rdparty/walkontable/src/core/_base.d.ts +255 -0
- package/3rdparty/walkontable/src/core/_base.js +92 -31
- package/3rdparty/walkontable/src/core/_base.mjs +92 -31
- package/3rdparty/walkontable/src/core/clone.d.mts +2 -0
- package/3rdparty/walkontable/src/core/clone.d.ts +32 -0
- package/3rdparty/walkontable/src/core/core.d.mts +2 -0
- package/3rdparty/walkontable/src/core/core.d.ts +31 -0
- package/3rdparty/walkontable/src/core/core.js +41 -35
- package/3rdparty/walkontable/src/core/core.mjs +41 -35
- package/3rdparty/walkontable/src/event.d.mts +2 -0
- package/3rdparty/walkontable/src/event.d.ts +161 -0
- package/3rdparty/walkontable/src/event.js +398 -80
- package/3rdparty/walkontable/src/event.mjs +399 -81
- package/3rdparty/walkontable/src/facade/core.d.mts +2 -0
- package/3rdparty/walkontable/src/facade/core.d.ts +306 -0
- package/3rdparty/walkontable/src/facade/core.js +238 -44
- package/3rdparty/walkontable/src/facade/core.mjs +238 -44
- package/3rdparty/walkontable/src/filter/column.d.mts +2 -0
- package/3rdparty/walkontable/src/filter/column.d.ts +64 -0
- package/3rdparty/walkontable/src/filter/row.d.mts +2 -0
- package/3rdparty/walkontable/src/filter/row.d.ts +64 -0
- package/3rdparty/walkontable/src/index.d.mts +1 -0
- package/3rdparty/walkontable/src/index.d.ts +11 -1
- package/3rdparty/walkontable/src/index.js +1 -1
- package/3rdparty/walkontable/src/index.mjs +3 -3
- package/3rdparty/walkontable/src/overlay/_base.d.mts +1 -0
- package/3rdparty/walkontable/src/overlay/_base.d.ts +244 -0
- package/3rdparty/walkontable/src/overlay/_base.js +33 -23
- package/3rdparty/walkontable/src/overlay/_base.mjs +33 -23
- package/3rdparty/walkontable/src/overlay/bottom.d.mts +1 -0
- package/3rdparty/walkontable/src/overlay/bottom.d.ts +118 -0
- package/3rdparty/walkontable/src/overlay/bottom.js +44 -16
- package/3rdparty/walkontable/src/overlay/bottom.mjs +45 -17
- package/3rdparty/walkontable/src/overlay/bottomInlineStartCorner.d.mts +1 -0
- package/3rdparty/walkontable/src/overlay/bottomInlineStartCorner.d.ts +97 -0
- package/3rdparty/walkontable/src/overlay/bottomInlineStartCorner.js +62 -5
- package/3rdparty/walkontable/src/overlay/bottomInlineStartCorner.mjs +62 -5
- package/3rdparty/walkontable/src/overlay/constants.d.mts +1 -0
- package/3rdparty/walkontable/src/overlay/constants.d.ts +10 -0
- package/3rdparty/walkontable/src/overlay/index.d.mts +1 -0
- package/3rdparty/walkontable/src/overlay/index.d.ts +7 -0
- package/3rdparty/walkontable/src/overlay/inlineStart.d.mts +1 -0
- package/3rdparty/walkontable/src/overlay/inlineStart.d.ts +109 -0
- package/3rdparty/walkontable/src/overlay/inlineStart.js +43 -16
- package/3rdparty/walkontable/src/overlay/inlineStart.mjs +44 -17
- package/3rdparty/walkontable/src/overlay/top.d.mts +1 -0
- package/3rdparty/walkontable/src/overlay/top.d.ts +116 -0
- package/3rdparty/walkontable/src/overlay/top.js +36 -18
- package/3rdparty/walkontable/src/overlay/top.mjs +37 -19
- package/3rdparty/walkontable/src/overlay/topInlineStartCorner.d.mts +1 -0
- package/3rdparty/walkontable/src/overlay/topInlineStartCorner.d.ts +97 -0
- package/3rdparty/walkontable/src/overlay/topInlineStartCorner.js +52 -2
- package/3rdparty/walkontable/src/overlay/topInlineStartCorner.mjs +52 -2
- package/3rdparty/walkontable/src/overlays.d.mts +2 -0
- package/3rdparty/walkontable/src/overlays.d.ts +329 -0
- package/3rdparty/walkontable/src/overlays.js +128 -64
- package/3rdparty/walkontable/src/overlays.mjs +129 -65
- package/3rdparty/walkontable/src/renderer/_base.d.mts +1 -0
- package/3rdparty/walkontable/src/renderer/_base.d.ts +56 -0
- package/3rdparty/walkontable/src/renderer/_base.js +9 -7
- package/3rdparty/walkontable/src/renderer/_base.mjs +9 -7
- package/3rdparty/walkontable/src/renderer/cells.d.mts +1 -0
- package/3rdparty/walkontable/src/renderer/cells.d.ts +44 -0
- package/3rdparty/walkontable/src/renderer/cells.js +15 -11
- package/3rdparty/walkontable/src/renderer/cells.mjs +15 -11
- package/3rdparty/walkontable/src/renderer/colGroup.d.mts +1 -0
- package/3rdparty/walkontable/src/renderer/colGroup.d.ts +32 -0
- package/3rdparty/walkontable/src/renderer/colGroup.js +9 -2
- package/3rdparty/walkontable/src/renderer/colGroup.mjs +9 -2
- package/3rdparty/walkontable/src/renderer/columnHeaderRows.d.mts +1 -0
- package/3rdparty/walkontable/src/renderer/columnHeaderRows.d.ts +39 -0
- package/3rdparty/walkontable/src/renderer/columnHeaderRows.js +7 -3
- package/3rdparty/walkontable/src/renderer/columnHeaderRows.mjs +7 -3
- package/3rdparty/walkontable/src/renderer/columnHeaders.d.mts +1 -0
- package/3rdparty/walkontable/src/renderer/columnHeaders.d.ts +43 -0
- package/3rdparty/walkontable/src/renderer/columnHeaders.js +14 -10
- package/3rdparty/walkontable/src/renderer/columnHeaders.mjs +14 -10
- package/3rdparty/walkontable/src/renderer/index.d.mts +1 -0
- package/3rdparty/walkontable/src/renderer/index.d.ts +76 -0
- package/3rdparty/walkontable/src/renderer/index.js +5 -1
- package/3rdparty/walkontable/src/renderer/index.mjs +5 -1
- package/3rdparty/walkontable/src/renderer/rowHeaders.d.mts +1 -0
- package/3rdparty/walkontable/src/renderer/rowHeaders.d.ts +44 -0
- package/3rdparty/walkontable/src/renderer/rowHeaders.js +14 -10
- package/3rdparty/walkontable/src/renderer/rowHeaders.mjs +14 -10
- package/3rdparty/walkontable/src/renderer/rows.d.mts +1 -0
- package/3rdparty/walkontable/src/renderer/rows.d.ts +39 -0
- package/3rdparty/walkontable/src/renderer/rows.js +10 -3
- package/3rdparty/walkontable/src/renderer/rows.mjs +10 -3
- package/3rdparty/walkontable/src/renderer/table.d.mts +1 -0
- package/3rdparty/walkontable/src/renderer/table.d.ts +271 -0
- package/3rdparty/walkontable/src/renderer/table.js +12 -48
- package/3rdparty/walkontable/src/renderer/table.mjs +11 -4
- package/3rdparty/walkontable/src/scroll.d.mts +2 -0
- package/3rdparty/walkontable/src/scroll.d.ts +104 -0
- package/3rdparty/walkontable/src/scroll.js +1 -1
- package/3rdparty/walkontable/src/scroll.mjs +1 -1
- package/3rdparty/walkontable/src/selection/border/border.d.mts +2 -0
- package/3rdparty/walkontable/src/selection/border/border.d.ts +216 -0
- package/3rdparty/walkontable/src/selection/border/border.js +139 -127
- package/3rdparty/walkontable/src/selection/border/border.mjs +139 -127
- package/3rdparty/walkontable/src/selection/border/types.d.mts +1 -0
- package/3rdparty/walkontable/src/selection/border/types.d.ts +50 -0
- package/3rdparty/walkontable/src/selection/border/types.js +7 -0
- package/3rdparty/walkontable/src/selection/border/types.mjs +4 -0
- package/3rdparty/walkontable/src/selection/border/utils.d.mts +1 -0
- package/3rdparty/walkontable/src/selection/border/utils.d.ts +3 -0
- package/3rdparty/walkontable/src/selection/constants.d.mts +1 -0
- package/3rdparty/walkontable/src/selection/constants.d.ts +51 -0
- package/3rdparty/walkontable/src/selection/index.d.mts +1 -0
- package/3rdparty/walkontable/src/selection/index.d.ts +5 -0
- package/3rdparty/walkontable/src/selection/manager.d.mts +1 -0
- package/3rdparty/walkontable/src/selection/manager.d.ts +82 -0
- package/3rdparty/walkontable/src/selection/manager.js +20 -6
- package/3rdparty/walkontable/src/selection/manager.mjs +20 -6
- package/3rdparty/walkontable/src/selection/scanner.d.mts +1 -0
- package/3rdparty/walkontable/src/selection/scanner.d.ts +67 -0
- package/3rdparty/walkontable/src/selection/scanner.js +21 -8
- package/3rdparty/walkontable/src/selection/scanner.mjs +23 -10
- package/3rdparty/walkontable/src/selection/selection.d.mts +2 -0
- package/3rdparty/walkontable/src/selection/selection.d.ts +93 -0
- package/3rdparty/walkontable/src/selection/selection.js +4 -4
- package/3rdparty/walkontable/src/selection/selection.mjs +4 -4
- package/3rdparty/walkontable/src/settings.d.mts +2 -0
- package/3rdparty/walkontable/src/settings.d.ts +155 -0
- package/3rdparty/walkontable/src/settings.js +6 -16
- package/3rdparty/walkontable/src/settings.mjs +7 -16
- package/3rdparty/walkontable/src/stickyScrollStrategy.d.mts +1 -0
- package/3rdparty/walkontable/src/stickyScrollStrategy.d.ts +70 -0
- package/3rdparty/walkontable/src/stickyScrollStrategy.js +44 -39
- package/3rdparty/walkontable/src/stickyScrollStrategy.mjs +44 -39
- package/3rdparty/walkontable/src/table/bottom.d.mts +2 -0
- package/3rdparty/walkontable/src/table/bottom.d.ts +19 -0
- package/3rdparty/walkontable/src/table/bottomInlineStartCorner.d.mts +2 -0
- package/3rdparty/walkontable/src/table/bottomInlineStartCorner.d.ts +20 -0
- package/3rdparty/walkontable/src/table/inlineStart.d.mts +2 -0
- package/3rdparty/walkontable/src/table/inlineStart.d.ts +16 -0
- package/3rdparty/walkontable/src/table/master.d.mts +2 -0
- package/3rdparty/walkontable/src/table/master.d.ts +37 -0
- package/3rdparty/walkontable/src/table/master.js +256 -42
- package/3rdparty/walkontable/src/table/master.mjs +256 -42
- package/3rdparty/walkontable/src/table/mixin/calculatedColumns.d.mts +2 -0
- package/3rdparty/walkontable/src/table/mixin/calculatedColumns.d.ts +75 -0
- package/3rdparty/walkontable/src/table/mixin/calculatedRows.d.mts +2 -0
- package/3rdparty/walkontable/src/table/mixin/calculatedRows.d.ts +75 -0
- package/3rdparty/walkontable/src/table/mixin/stickyColumnsStart.d.mts +2 -0
- package/3rdparty/walkontable/src/table/mixin/stickyColumnsStart.d.ts +80 -0
- package/3rdparty/walkontable/src/table/mixin/stickyColumnsStart.js +1 -1
- package/3rdparty/walkontable/src/table/mixin/stickyColumnsStart.mjs +1 -1
- package/3rdparty/walkontable/src/table/mixin/stickyRowsBottom.d.mts +2 -0
- package/3rdparty/walkontable/src/table/mixin/stickyRowsBottom.d.ts +80 -0
- package/3rdparty/walkontable/src/table/mixin/stickyRowsBottom.js +3 -3
- package/3rdparty/walkontable/src/table/mixin/stickyRowsBottom.mjs +3 -3
- package/3rdparty/walkontable/src/table/mixin/stickyRowsTop.d.mts +2 -0
- package/3rdparty/walkontable/src/table/mixin/stickyRowsTop.d.ts +80 -0
- package/3rdparty/walkontable/src/table/mixin/stickyRowsTop.js +1 -1
- package/3rdparty/walkontable/src/table/mixin/stickyRowsTop.mjs +1 -1
- package/3rdparty/walkontable/src/table/top.d.mts +2 -0
- package/3rdparty/walkontable/src/table/top.d.ts +19 -0
- package/3rdparty/walkontable/src/table/topInlineStartCorner.d.mts +2 -0
- package/3rdparty/walkontable/src/table/topInlineStartCorner.d.ts +20 -0
- package/3rdparty/walkontable/src/table.d.mts +2 -0
- package/3rdparty/walkontable/src/table.d.ts +741 -0
- package/3rdparty/walkontable/src/table.js +235 -74
- package/3rdparty/walkontable/src/table.mjs +236 -75
- package/3rdparty/walkontable/src/types.d.mts +1 -0
- package/3rdparty/walkontable/src/types.d.ts +137 -0
- package/3rdparty/walkontable/src/types.js +5 -89
- package/3rdparty/walkontable/src/types.mjs +4 -89
- package/3rdparty/walkontable/src/utils/cellCoords.d.mts +1 -0
- package/3rdparty/walkontable/src/utils/cellCoords.d.ts +23 -0
- package/3rdparty/walkontable/src/utils/cellCoords.js +54 -0
- package/3rdparty/walkontable/src/utils/cellCoords.mjs +54 -0
- package/3rdparty/walkontable/src/utils/column.d.mts +2 -0
- package/3rdparty/walkontable/src/utils/column.d.ts +51 -0
- package/3rdparty/walkontable/src/utils/column.js +9 -6
- package/3rdparty/walkontable/src/utils/column.mjs +8 -1
- package/3rdparty/walkontable/src/utils/nodesPool.d.mts +1 -0
- package/3rdparty/walkontable/src/utils/nodesPool.d.ts +45 -0
- package/3rdparty/walkontable/src/utils/nodesPool.js +5 -1
- package/3rdparty/walkontable/src/utils/nodesPool.mjs +5 -1
- package/3rdparty/walkontable/src/utils/orderView/constants.d.mts +1 -0
- package/3rdparty/walkontable/src/utils/orderView/constants.d.ts +59 -0
- package/3rdparty/walkontable/src/utils/orderView/index.d.mts +1 -0
- package/3rdparty/walkontable/src/utils/orderView/index.d.ts +2 -0
- package/3rdparty/walkontable/src/utils/orderView/index.mjs +2 -3
- package/3rdparty/walkontable/src/utils/orderView/rendererAdapter/differBasedRendererAdapter.d.mts +1 -0
- package/3rdparty/walkontable/src/utils/orderView/rendererAdapter/differBasedRendererAdapter.d.ts +60 -0
- package/3rdparty/walkontable/src/utils/orderView/rendererAdapter/directDomRendererAdapter.d.mts +1 -0
- package/3rdparty/walkontable/src/utils/orderView/rendererAdapter/directDomRendererAdapter.d.ts +45 -0
- package/3rdparty/walkontable/src/utils/orderView/rendererAdapter/directDomRendererAdapter.js +6 -3
- package/3rdparty/walkontable/src/utils/orderView/rendererAdapter/directDomRendererAdapter.mjs +6 -3
- package/3rdparty/walkontable/src/utils/orderView/rendererAdapter/index.d.mts +1 -0
- package/3rdparty/walkontable/src/utils/orderView/rendererAdapter/index.d.ts +10 -0
- package/3rdparty/walkontable/src/utils/orderView/sharedView.d.mts +1 -0
- package/3rdparty/walkontable/src/utils/orderView/sharedView.d.ts +32 -0
- package/3rdparty/walkontable/src/utils/orderView/view.d.mts +1 -0
- package/3rdparty/walkontable/src/utils/orderView/view.d.ts +115 -0
- package/3rdparty/walkontable/src/utils/orderView/view.js +7 -1
- package/3rdparty/walkontable/src/utils/orderView/view.mjs +7 -1
- package/3rdparty/walkontable/src/utils/orderView/viewDiffer/index.d.mts +1 -0
- package/3rdparty/walkontable/src/utils/orderView/viewDiffer/index.d.ts +44 -0
- package/3rdparty/walkontable/src/utils/orderView/viewDiffer/index.js +6 -2
- package/3rdparty/walkontable/src/utils/orderView/viewDiffer/index.mjs +6 -2
- package/3rdparty/walkontable/src/utils/orderView/viewDiffer/viewOrder.d.mts +1 -0
- package/3rdparty/walkontable/src/utils/orderView/viewDiffer/viewOrder.d.ts +57 -0
- package/3rdparty/walkontable/src/utils/orderView/viewDiffer/viewOrder.js +21 -6
- package/3rdparty/walkontable/src/utils/orderView/viewDiffer/viewOrder.mjs +21 -6
- package/3rdparty/walkontable/src/utils/orderView/viewSize.d.mts +1 -0
- package/3rdparty/walkontable/src/utils/orderView/viewSize.d.ts +43 -0
- package/3rdparty/walkontable/src/utils/orderView/viewSizeSet.d.mts +1 -0
- package/3rdparty/walkontable/src/utils/orderView/viewSizeSet.d.ts +83 -0
- package/3rdparty/walkontable/src/utils/positionCache.d.mts +1 -0
- package/3rdparty/walkontable/src/utils/positionCache.d.ts +91 -0
- package/3rdparty/walkontable/src/utils/positionCache.js +17 -28
- package/3rdparty/walkontable/src/utils/positionCache.mjs +16 -16
- package/3rdparty/walkontable/src/utils/row.d.mts +2 -0
- package/3rdparty/walkontable/src/utils/row.d.ts +37 -0
- package/3rdparty/walkontable/src/utils/row.js +1 -5
- package/3rdparty/walkontable/src/viewport.d.mts +2 -0
- package/3rdparty/walkontable/src/viewport.d.ts +254 -0
- package/3rdparty/walkontable/src/viewport.js +61 -36
- package/3rdparty/walkontable/src/viewport.mjs +61 -36
- package/CHANGELOG.md +112 -0
- package/base.d.mts +2 -0
- package/base.d.ts +332 -3
- package/base.js +27 -14
- package/base.mjs +25 -15
- package/cellTypes/autocompleteType/accessors/index.d.mts +1 -0
- package/cellTypes/autocompleteType/accessors/index.d.ts +2 -0
- package/cellTypes/autocompleteType/accessors/valueGetter.d.mts +1 -0
- package/cellTypes/autocompleteType/accessors/valueGetter.d.ts +7 -0
- package/cellTypes/autocompleteType/accessors/valueGetter.js +2 -1
- package/cellTypes/autocompleteType/accessors/valueGetter.mjs +2 -1
- package/cellTypes/autocompleteType/accessors/valueSetter.d.mts +1 -0
- package/cellTypes/autocompleteType/accessors/valueSetter.d.ts +17 -0
- package/cellTypes/autocompleteType/accessors/valueSetter.mjs +0 -5
- package/cellTypes/autocompleteType/autocompleteType.d.mts +1 -0
- package/cellTypes/autocompleteType/autocompleteType.d.ts +11 -14
- package/cellTypes/autocompleteType/index.d.mts +1 -0
- package/cellTypes/autocompleteType/index.d.ts +1 -1
- package/cellTypes/checkboxType/accessors/index.d.mts +1 -0
- package/cellTypes/checkboxType/accessors/index.d.ts +1 -0
- package/cellTypes/checkboxType/accessors/valueSetter.d.mts +1 -0
- package/cellTypes/checkboxType/accessors/valueSetter.d.ts +16 -0
- package/cellTypes/checkboxType/accessors/valueSetter.mjs +0 -5
- package/cellTypes/checkboxType/checkboxType.d.mts +1 -0
- package/cellTypes/checkboxType/checkboxType.d.ts +8 -12
- package/cellTypes/checkboxType/index.d.mts +1 -0
- package/cellTypes/checkboxType/index.d.ts +1 -1
- package/cellTypes/dateType/dateType.d.mts +1 -0
- package/cellTypes/dateType/dateType.d.ts +12 -16
- package/cellTypes/dateType/dateType.js +4 -2
- package/cellTypes/dateType/dateType.mjs +6 -4
- package/cellTypes/dateType/index.d.mts +1 -0
- package/cellTypes/dateType/index.d.ts +1 -1
- package/cellTypes/dropdownType/accessors/index.d.mts +1 -0
- package/cellTypes/dropdownType/accessors/index.d.ts +2 -0
- package/cellTypes/dropdownType/accessors/valueGetter.d.mts +1 -0
- package/cellTypes/dropdownType/accessors/valueGetter.d.ts +7 -0
- package/cellTypes/dropdownType/accessors/valueSetter.d.mts +1 -0
- package/cellTypes/dropdownType/accessors/valueSetter.d.ts +11 -0
- package/cellTypes/dropdownType/accessors/valueSetter.js +1 -1
- package/cellTypes/dropdownType/accessors/valueSetter.mjs +1 -1
- package/cellTypes/dropdownType/dropdownType.d.mts +1 -0
- package/cellTypes/dropdownType/dropdownType.d.ts +13 -14
- package/cellTypes/dropdownType/index.d.mts +1 -0
- package/cellTypes/dropdownType/index.d.ts +1 -1
- package/cellTypes/handsontableType/handsontableType.d.mts +1 -0
- package/cellTypes/handsontableType/handsontableType.d.ts +6 -12
- package/cellTypes/handsontableType/index.d.mts +1 -0
- package/cellTypes/handsontableType/index.d.ts +1 -1
- package/cellTypes/index.d.mts +1 -0
- package/cellTypes/index.d.ts +10 -42
- package/cellTypes/index.mjs +3 -2
- package/cellTypes/intlDateType/index.d.mts +1 -0
- package/cellTypes/intlDateType/index.d.ts +1 -1
- package/cellTypes/intlDateType/intlDateType.d.mts +1 -0
- package/cellTypes/intlDateType/intlDateType.d.ts +11 -21
- package/cellTypes/intlTimeType/index.d.mts +1 -0
- package/cellTypes/intlTimeType/index.d.ts +1 -1
- package/cellTypes/intlTimeType/intlTimeType.d.mts +1 -0
- package/cellTypes/intlTimeType/intlTimeType.d.ts +11 -21
- package/cellTypes/multiSelectType/accessors/index.d.mts +1 -0
- package/cellTypes/multiSelectType/accessors/index.d.ts +2 -0
- package/cellTypes/multiSelectType/accessors/valueGetter.d.mts +1 -0
- package/cellTypes/multiSelectType/accessors/valueGetter.d.ts +4 -0
- package/cellTypes/multiSelectType/accessors/valueGetter.mjs +0 -3
- package/cellTypes/multiSelectType/accessors/valueSetter.d.mts +1 -0
- package/cellTypes/multiSelectType/accessors/valueSetter.d.ts +7 -0
- package/cellTypes/multiSelectType/accessors/valueSetter.mjs +0 -5
- package/cellTypes/multiSelectType/index.d.mts +1 -0
- package/cellTypes/multiSelectType/index.d.ts +1 -0
- package/cellTypes/multiSelectType/multiSelectType.d.mts +1 -0
- package/cellTypes/multiSelectType/multiSelectType.d.ts +15 -0
- package/cellTypes/numericType/accessors/index.d.mts +1 -0
- package/cellTypes/numericType/accessors/index.d.ts +1 -0
- package/cellTypes/numericType/accessors/valueSetter.d.mts +1 -0
- package/cellTypes/numericType/accessors/valueSetter.d.ts +11 -0
- package/cellTypes/numericType/accessors/valueSetter.js +5 -6
- package/cellTypes/numericType/accessors/valueSetter.mjs +8 -9
- package/cellTypes/numericType/index.d.mts +1 -0
- package/cellTypes/numericType/index.d.ts +1 -1
- package/cellTypes/numericType/numericType.d.mts +1 -0
- package/cellTypes/numericType/numericType.d.ts +11 -16
- package/cellTypes/passwordType/index.d.mts +1 -0
- package/cellTypes/passwordType/index.d.ts +1 -1
- package/cellTypes/passwordType/passwordType.d.mts +1 -0
- package/cellTypes/passwordType/passwordType.d.ts +7 -12
- package/cellTypes/registry.d.mts +1 -0
- package/cellTypes/registry.d.ts +40 -17
- package/cellTypes/selectType/index.d.mts +1 -0
- package/cellTypes/selectType/index.d.ts +1 -1
- package/cellTypes/selectType/selectType.d.mts +1 -0
- package/cellTypes/selectType/selectType.d.ts +6 -12
- package/cellTypes/textType/index.d.mts +1 -0
- package/cellTypes/textType/index.d.ts +1 -1
- package/cellTypes/textType/textType.d.mts +1 -0
- package/cellTypes/textType/textType.d.ts +6 -12
- package/cellTypes/timeType/index.d.mts +1 -0
- package/cellTypes/timeType/index.d.ts +1 -1
- package/cellTypes/timeType/timeType.d.mts +1 -0
- package/cellTypes/timeType/timeType.d.ts +12 -16
- package/cellTypes/timeType/timeType.js +4 -1
- package/cellTypes/timeType/timeType.mjs +6 -3
- package/core/coordsMapper/index.d.mts +1 -0
- package/core/coordsMapper/index.d.ts +1 -0
- package/core/coordsMapper/rangeToRenderableMapper.d.mts +1 -0
- package/core/coordsMapper/rangeToRenderableMapper.d.ts +37 -0
- package/core/coordsMapper/rangeToRenderableMapper.js +7 -19
- package/core/coordsMapper/rangeToRenderableMapper.mjs +7 -2
- package/core/hooks/bucket.d.mts +1 -0
- package/core/hooks/bucket.d.ts +59 -0
- package/core/hooks/bucket.js +8 -18
- package/core/hooks/bucket.mjs +8 -18
- package/core/hooks/constants.d.mts +1 -0
- package/core/hooks/constants.d.ts +157 -0
- package/core/hooks/constants.js +47 -10
- package/core/hooks/constants.mjs +48 -11
- package/core/hooks/index.d.mts +2 -0
- package/core/hooks/index.d.ts +222 -332
- package/core/hooks/index.js +58 -47
- package/core/hooks/index.mjs +63 -48
- package/core/index.d.mts +1 -0
- package/core/index.d.ts +5 -0
- package/core/index.js +2 -0
- package/core/index.mjs +2 -0
- package/core/layout/constants.d.mts +1 -0
- package/core/layout/constants.d.ts +25 -0
- package/core/layout/constants.js +29 -0
- package/core/layout/constants.mjs +14 -0
- package/core/layout/domSlot.d.mts +1 -0
- package/core/layout/domSlot.d.ts +66 -0
- package/core/layout/domSlot.js +235 -0
- package/core/layout/domSlot.mjs +231 -0
- package/core/layout/index.d.mts +1 -0
- package/core/layout/index.d.ts +5 -0
- package/core/layout/index.js +27 -0
- package/core/layout/index.mjs +3 -0
- package/core/layout/layoutManager.d.mts +1 -0
- package/core/layout/layoutManager.d.ts +72 -0
- package/core/layout/layoutManager.js +126 -0
- package/core/layout/layoutManager.mjs +118 -0
- package/core/settings.d.mts +1 -0
- package/core/settings.d.ts +572 -0
- package/core/settings.js +7 -0
- package/core/settings.mjs +12 -0
- package/core/types.d.mts +1 -0
- package/core/types.d.ts +247 -0
- package/core/types.js +7 -0
- package/core/types.mjs +7 -0
- package/core/viewportScroll/index.d.mts +1 -0
- package/core/viewportScroll/index.d.ts +23 -0
- package/core/viewportScroll/scrollStrategies/columnHeaderScroll.d.mts +1 -0
- package/core/viewportScroll/scrollStrategies/columnHeaderScroll.d.ts +9 -0
- package/core/viewportScroll/scrollStrategies/cornerHeaderScroll.d.mts +1 -0
- package/core/viewportScroll/scrollStrategies/cornerHeaderScroll.d.ts +6 -0
- package/core/viewportScroll/scrollStrategies/cornerHeaderScroll.js +1 -1
- package/core/viewportScroll/scrollStrategies/cornerHeaderScroll.mjs +1 -1
- package/core/viewportScroll/scrollStrategies/focusScroll.d.mts +1 -0
- package/core/viewportScroll/scrollStrategies/focusScroll.d.ts +8 -0
- package/core/viewportScroll/scrollStrategies/focusScroll.js +3 -1
- package/core/viewportScroll/scrollStrategies/focusScroll.mjs +3 -1
- package/core/viewportScroll/scrollStrategies/multipleScroll.d.mts +1 -0
- package/core/viewportScroll/scrollStrategies/multipleScroll.d.ts +9 -0
- package/core/viewportScroll/scrollStrategies/noncontiguousScroll.d.mts +1 -0
- package/core/viewportScroll/scrollStrategies/noncontiguousScroll.d.ts +9 -0
- package/core/viewportScroll/scrollStrategies/rowHeaderScroll.d.mts +1 -0
- package/core/viewportScroll/scrollStrategies/rowHeaderScroll.d.ts +9 -0
- package/core/viewportScroll/scrollStrategies/singleScroll.d.mts +1 -0
- package/core/viewportScroll/scrollStrategies/singleScroll.d.ts +8 -0
- package/core/viewportScroll/utils.d.mts +1 -0
- package/core/viewportScroll/utils.d.ts +31 -0
- package/core/viewportScroll/utils.js +14 -14
- package/core/viewportScroll/utils.mjs +14 -14
- package/core.d.mts +2 -0
- package/core.d.ts +92 -194
- package/core.js +433 -204
- package/core.mjs +433 -204
- package/dataMap/dataMap.d.mts +2 -0
- package/dataMap/dataMap.d.ts +355 -0
- package/dataMap/dataMap.js +150 -96
- package/dataMap/dataMap.mjs +150 -96
- package/dataMap/dataSource.d.mts +2 -0
- package/dataMap/dataSource.d.ts +158 -0
- package/dataMap/dataSource.js +60 -23
- package/dataMap/dataSource.mjs +61 -24
- package/dataMap/index.d.mts +1 -0
- package/dataMap/index.d.ts +9 -0
- package/dataMap/index.js +2 -2
- package/dataMap/index.mjs +5 -5
- package/dataMap/metaManager/index.d.mts +2 -0
- package/dataMap/metaManager/index.d.ts +229 -0
- package/dataMap/metaManager/index.js +8 -16
- package/dataMap/metaManager/index.mjs +8 -16
- package/dataMap/metaManager/lazyFactoryMap.d.mts +2 -0
- package/dataMap/metaManager/lazyFactoryMap.d.ts +111 -0
- package/dataMap/metaManager/lazyFactoryMap.js +17 -14
- package/dataMap/metaManager/lazyFactoryMap.mjs +19 -125
- package/dataMap/metaManager/metaLayers/cellMeta.d.mts +2 -0
- package/dataMap/metaManager/metaLayers/cellMeta.d.ts +152 -0
- package/dataMap/metaManager/metaLayers/cellMeta.js +5 -8
- package/dataMap/metaManager/metaLayers/cellMeta.mjs +7 -10
- package/dataMap/metaManager/metaLayers/columnMeta.d.mts +2 -0
- package/dataMap/metaManager/metaLayers/columnMeta.d.ts +97 -0
- package/dataMap/metaManager/metaLayers/columnMeta.js +5 -2
- package/dataMap/metaManager/metaLayers/columnMeta.mjs +5 -2
- package/dataMap/metaManager/metaLayers/globalMeta.d.mts +2 -0
- package/dataMap/metaManager/metaLayers/globalMeta.d.ts +64 -0
- package/dataMap/metaManager/metaLayers/globalMeta.js +3 -1
- package/dataMap/metaManager/metaLayers/globalMeta.mjs +3 -1
- package/dataMap/metaManager/metaLayers/tableMeta.d.mts +2 -0
- package/dataMap/metaManager/metaLayers/tableMeta.d.ts +51 -0
- package/dataMap/metaManager/metaLayers/tableMeta.js +3 -1
- package/dataMap/metaManager/metaLayers/tableMeta.mjs +3 -1
- package/dataMap/metaManager/metaSchema.d.mts +2 -0
- package/dataMap/metaManager/metaSchema.d.ts +118 -0
- package/dataMap/metaManager/metaSchema.js +204 -271
- package/dataMap/metaManager/metaSchema.mjs +204 -271
- package/dataMap/metaManager/mods/dynamicCellMeta.d.mts +1 -0
- package/dataMap/metaManager/mods/dynamicCellMeta.d.ts +57 -0
- package/dataMap/metaManager/mods/dynamicCellMeta.js +10 -4
- package/dataMap/metaManager/mods/dynamicCellMeta.mjs +12 -17
- package/dataMap/metaManager/mods/extendMetaProperties.d.mts +1 -0
- package/dataMap/metaManager/mods/extendMetaProperties.d.ts +56 -0
- package/dataMap/metaManager/mods/extendMetaProperties.js +8 -30
- package/dataMap/metaManager/mods/extendMetaProperties.mjs +8 -30
- package/dataMap/metaManager/utils.d.mts +1 -0
- package/dataMap/metaManager/utils.d.ts +39 -0
- package/dataMap/metaManager/utils.js +3 -1
- package/dataMap/metaManager/utils.mjs +3 -1
- package/dataMap/replaceData.d.mts +1 -0
- package/dataMap/replaceData.d.ts +42 -0
- package/dataMap/replaceData.js +29 -22
- package/dataMap/replaceData.mjs +29 -22
- package/dataMap/sourceDataValidator.d.mts +1 -0
- package/dataMap/sourceDataValidator.d.ts +16 -0
- package/dataMap/sourceDataValidator.js +2 -4
- package/dataMap/sourceDataValidator.mjs +3 -14
- package/dist/handsontable.full.js +19581 -28605
- package/dist/handsontable.full.min.js +106 -108
- package/dist/handsontable.js +17386 -13140
- package/dist/handsontable.min.js +106 -108
- package/dist/languages/all.js +843 -2740
- package/dist/languages/all.min.js +1 -1
- package/dist/languages/ar-AR.js +36 -125
- package/dist/languages/ar-AR.min.js +1 -1
- package/dist/languages/cs-CZ.js +36 -125
- package/dist/languages/cs-CZ.min.js +1 -1
- package/dist/languages/de-CH.js +36 -124
- package/dist/languages/de-CH.min.js +1 -1
- package/dist/languages/de-DE.js +36 -124
- package/dist/languages/de-DE.min.js +1 -1
- package/dist/languages/en-US.js +45 -139
- package/dist/languages/en-US.min.js +1 -1
- package/dist/languages/es-MX.js +45 -136
- package/dist/languages/es-MX.min.js +1 -1
- package/dist/languages/fa-IR.js +45 -139
- package/dist/languages/fa-IR.min.js +1 -1
- package/dist/languages/fr-FR.js +36 -124
- package/dist/languages/fr-FR.min.js +1 -1
- package/dist/languages/hr-HR.js +45 -139
- package/dist/languages/hr-HR.min.js +1 -1
- package/dist/languages/it-IT.js +42 -133
- package/dist/languages/it-IT.min.js +1 -1
- package/dist/languages/ja-JP.js +45 -136
- package/dist/languages/ja-JP.min.js +1 -1
- package/dist/languages/ko-KR.js +36 -124
- package/dist/languages/ko-KR.min.js +1 -1
- package/dist/languages/lv-LV.js +45 -137
- package/dist/languages/lv-LV.min.js +1 -1
- package/dist/languages/nb-NO.js +36 -124
- package/dist/languages/nb-NO.min.js +1 -1
- package/dist/languages/nl-NL.js +45 -136
- package/dist/languages/nl-NL.min.js +1 -1
- package/dist/languages/pl-PL.js +45 -139
- package/dist/languages/pl-PL.min.js +1 -1
- package/dist/languages/pt-BR.js +36 -124
- package/dist/languages/pt-BR.min.js +1 -1
- package/dist/languages/ru-RU.js +36 -124
- package/dist/languages/ru-RU.min.js +1 -1
- package/dist/languages/sr-SP.js +45 -137
- package/dist/languages/sr-SP.min.js +1 -1
- package/dist/languages/zh-CN.js +36 -127
- package/dist/languages/zh-CN.min.js +1 -1
- package/dist/languages/zh-TW.js +36 -124
- package/dist/languages/zh-TW.min.js +1 -1
- package/dist/themes/classic.js +12 -11
- package/dist/themes/classic.min.js +3 -3
- package/dist/themes/horizon.js +12 -11
- package/dist/themes/horizon.min.js +3 -3
- package/dist/themes/main.js +12 -11
- package/dist/themes/main.min.js +3 -3
- package/dist/themes/static/variables/colors/ant.js +2 -2
- package/dist/themes/static/variables/colors/ant.min.js +2 -2
- package/dist/themes/static/variables/colors/classic.js +2 -2
- package/dist/themes/static/variables/colors/classic.min.js +2 -2
- package/dist/themes/static/variables/colors/horizon.js +2 -2
- package/dist/themes/static/variables/colors/horizon.min.js +2 -2
- package/dist/themes/static/variables/colors/main.js +2 -2
- package/dist/themes/static/variables/colors/main.min.js +2 -2
- package/dist/themes/static/variables/colors/material.js +2 -2
- package/dist/themes/static/variables/colors/material.min.js +2 -2
- package/dist/themes/static/variables/colors/shadcn.js +2 -2
- package/dist/themes/static/variables/colors/shadcn.min.js +2 -2
- package/dist/themes/static/variables/density.js +2 -2
- package/dist/themes/static/variables/density.min.js +2 -2
- package/dist/themes/static/variables/helpers/iconsMap.js +9 -55
- package/dist/themes/static/variables/helpers/iconsMap.min.js +33 -33
- package/dist/themes/static/variables/icons/horizon.js +3 -5
- package/dist/themes/static/variables/icons/horizon.min.js +2 -2
- package/dist/themes/static/variables/icons/main.js +3 -5
- package/dist/themes/static/variables/icons/main.min.js +2 -2
- package/dist/themes/static/variables/sizing.js +2 -2
- package/dist/themes/static/variables/sizing.min.js +2 -2
- package/dist/themes/static/variables/tokens/classic.js +3 -5
- package/dist/themes/static/variables/tokens/classic.min.js +3 -3
- package/dist/themes/static/variables/tokens/horizon.js +3 -5
- package/dist/themes/static/variables/tokens/horizon.min.js +3 -3
- package/dist/themes/static/variables/tokens/main.js +3 -5
- package/dist/themes/static/variables/tokens/main.min.js +3 -3
- package/editorManager.d.mts +2 -0
- package/editorManager.d.ts +141 -0
- package/editorManager.js +17 -9
- package/editorManager.mjs +17 -9
- package/editors/autocompleteEditor/autocompleteEditor.d.mts +1 -0
- package/editors/autocompleteEditor/autocompleteEditor.d.ts +155 -22
- package/editors/autocompleteEditor/autocompleteEditor.js +66 -36
- package/editors/autocompleteEditor/autocompleteEditor.mjs +68 -38
- package/editors/autocompleteEditor/index.d.mts +1 -0
- package/editors/autocompleteEditor/index.d.ts +1 -1
- package/editors/baseEditor/baseEditor.d.mts +1 -0
- package/editors/baseEditor/baseEditor.d.ts +262 -44
- package/editors/baseEditor/baseEditor.js +141 -72
- package/editors/baseEditor/baseEditor.mjs +141 -72
- package/editors/baseEditor/index.d.mts +1 -0
- package/editors/baseEditor/index.d.ts +1 -1
- package/editors/checkboxEditor/checkboxEditor.d.mts +1 -0
- package/editors/checkboxEditor/checkboxEditor.d.ts +42 -10
- package/editors/checkboxEditor/checkboxEditor.js +30 -10
- package/editors/checkboxEditor/checkboxEditor.mjs +31 -11
- package/editors/checkboxEditor/index.d.mts +1 -0
- package/editors/checkboxEditor/index.d.ts +1 -1
- package/editors/dateEditor/dateEditor.d.mts +1 -0
- package/editors/dateEditor/dateEditor.d.ts +35 -14
- package/editors/dateEditor/dateEditor.js +40 -324
- package/editors/dateEditor/dateEditor.mjs +41 -320
- package/editors/dateEditor/index.d.mts +1 -0
- package/editors/dateEditor/index.d.ts +1 -1
- package/editors/dropdownEditor/dropdownEditor.d.mts +1 -0
- package/editors/dropdownEditor/dropdownEditor.d.ts +28 -5
- package/editors/dropdownEditor/dropdownEditor.js +3 -1
- package/editors/dropdownEditor/dropdownEditor.mjs +3 -1
- package/editors/dropdownEditor/index.d.mts +1 -0
- package/editors/dropdownEditor/index.d.ts +1 -1
- package/editors/factory.d.mts +1 -0
- package/editors/factory.d.ts +50 -33
- package/editors/factory.js +24 -181
- package/editors/factory.mjs +24 -204
- package/editors/handsontableEditor/handsontableEditor.d.mts +1 -0
- package/editors/handsontableEditor/handsontableEditor.d.ts +184 -16
- package/editors/handsontableEditor/handsontableEditor.js +47 -15
- package/editors/handsontableEditor/handsontableEditor.mjs +46 -14
- package/editors/handsontableEditor/index.d.mts +1 -0
- package/editors/handsontableEditor/index.d.ts +1 -1
- package/editors/index.d.mts +1 -0
- package/editors/index.d.ts +10 -47
- package/editors/index.mjs +3 -2
- package/editors/intlDateEditor/index.d.mts +1 -0
- package/editors/intlDateEditor/index.d.ts +1 -1
- package/editors/intlDateEditor/intlDateEditor.d.mts +1 -0
- package/editors/intlDateEditor/intlDateEditor.d.ts +11 -6
- package/editors/intlDateEditor/intlDateEditor.js +5 -54
- package/editors/intlDateEditor/intlDateEditor.mjs +5 -54
- package/editors/intlTimeEditor/index.d.mts +1 -0
- package/editors/intlTimeEditor/index.d.ts +1 -1
- package/editors/intlTimeEditor/intlTimeEditor.d.mts +1 -0
- package/editors/intlTimeEditor/intlTimeEditor.d.ts +11 -6
- package/editors/intlTimeEditor/intlTimeEditor.js +5 -50
- package/editors/intlTimeEditor/intlTimeEditor.mjs +5 -50
- package/editors/multiSelectEditor/controllers/dropdownController.d.mts +1 -0
- package/editors/multiSelectEditor/controllers/dropdownController.d.ts +132 -0
- package/editors/multiSelectEditor/controllers/dropdownController.js +125 -143
- package/editors/multiSelectEditor/controllers/dropdownController.mjs +125 -143
- package/editors/multiSelectEditor/controllers/inputController.d.mts +1 -0
- package/editors/multiSelectEditor/controllers/inputController.d.ts +79 -0
- package/editors/multiSelectEditor/controllers/inputController.js +14 -22
- package/editors/multiSelectEditor/controllers/inputController.mjs +14 -22
- package/editors/multiSelectEditor/controllers/selectedItemsController.d.mts +1 -0
- package/editors/multiSelectEditor/controllers/selectedItemsController.d.ts +62 -0
- package/editors/multiSelectEditor/controllers/selectedItemsController.js +1 -14
- package/editors/multiSelectEditor/controllers/selectedItemsController.mjs +1 -14
- package/editors/multiSelectEditor/controllers/utils.d.mts +1 -0
- package/editors/multiSelectEditor/controllers/utils.d.ts +94 -0
- package/editors/multiSelectEditor/controllers/utils.js +6 -6
- package/editors/multiSelectEditor/controllers/utils.mjs +6 -57
- package/editors/multiSelectEditor/index.d.mts +1 -0
- package/editors/multiSelectEditor/index.d.ts +1 -0
- package/editors/multiSelectEditor/multiSelectEditor.d.mts +1 -0
- package/editors/multiSelectEditor/multiSelectEditor.d.ts +88 -0
- package/editors/multiSelectEditor/multiSelectEditor.js +53 -126
- package/editors/multiSelectEditor/multiSelectEditor.mjs +56 -126
- package/editors/multiSelectEditor/utils/utils.d.mts +1 -0
- package/editors/multiSelectEditor/utils/utils.d.ts +30 -0
- package/editors/multiSelectEditor/utils/utils.js +2 -3
- package/editors/multiSelectEditor/utils/utils.mjs +2 -3
- package/editors/numericEditor/index.d.mts +1 -0
- package/editors/numericEditor/index.d.ts +1 -1
- package/editors/numericEditor/numericEditor.d.mts +1 -0
- package/editors/numericEditor/numericEditor.d.ts +10 -5
- package/editors/numericEditor/numericEditor.js +3 -1
- package/editors/numericEditor/numericEditor.mjs +3 -1
- package/editors/passwordEditor/index.d.mts +1 -0
- package/editors/passwordEditor/index.d.ts +1 -1
- package/editors/passwordEditor/passwordEditor.d.mts +1 -0
- package/editors/passwordEditor/passwordEditor.d.ts +62 -5
- package/editors/passwordEditor/passwordEditor.js +243 -8
- package/editors/passwordEditor/passwordEditor.mjs +243 -8
- package/editors/registry.d.mts +1 -0
- package/editors/registry.d.ts +82 -28
- package/editors/registry.js +120 -29
- package/editors/registry.mjs +120 -27
- package/editors/selectEditor/index.d.mts +1 -0
- package/editors/selectEditor/index.d.ts +1 -1
- package/editors/selectEditor/selectEditor.d.mts +1 -0
- package/editors/selectEditor/selectEditor.d.ts +102 -14
- package/editors/selectEditor/selectEditor.js +42 -20
- package/editors/selectEditor/selectEditor.mjs +42 -20
- package/editors/textEditor/caretPositioner.d.mts +1 -0
- package/editors/textEditor/caretPositioner.d.ts +11 -0
- package/editors/textEditor/caretPositioner.js +1 -1
- package/editors/textEditor/caretPositioner.mjs +1 -1
- package/editors/textEditor/index.d.mts +1 -0
- package/editors/textEditor/index.d.ts +1 -1
- package/editors/textEditor/textEditor.d.mts +1 -0
- package/editors/textEditor/textEditor.d.ts +167 -22
- package/editors/textEditor/textEditor.js +16 -10
- package/editors/textEditor/textEditor.mjs +16 -10
- package/editors/timeEditor/index.d.mts +1 -0
- package/editors/timeEditor/index.d.ts +1 -1
- package/editors/timeEditor/timeEditor.d.mts +1 -0
- package/editors/timeEditor/timeEditor.d.ts +30 -5
- package/editors/timeEditor/timeEditor.js +47 -12
- package/editors/timeEditor/timeEditor.mjs +47 -12
- package/eventManager.d.mts +2 -0
- package/eventManager.d.ts +78 -12
- package/eventManager.js +11 -5
- package/eventManager.mjs +11 -5
- package/focusManager/constants.d.mts +1 -0
- package/focusManager/constants.d.ts +20 -0
- package/focusManager/eventListener.d.mts +1 -0
- package/focusManager/eventListener.d.ts +18 -0
- package/focusManager/grid.d.mts +1 -0
- package/focusManager/grid.d.ts +97 -11
- package/focusManager/grid.js +74 -12
- package/focusManager/grid.mjs +76 -14
- package/focusManager/index.d.mts +1 -0
- package/focusManager/index.d.ts +20 -2
- package/focusManager/scope.d.mts +1 -0
- package/focusManager/scope.d.ts +55 -0
- package/focusManager/scopeManager.d.mts +1 -0
- package/focusManager/scopeManager.d.ts +41 -15
- package/focusManager/scopeManager.js +2 -2
- package/focusManager/scopeManager.mjs +3 -3
- package/focusManager/scopes/grid.d.mts +1 -0
- package/focusManager/scopes/grid.d.ts +5 -0
- package/focusManager/scopes/grid.js +17 -14
- package/focusManager/scopes/grid.mjs +12 -9
- package/focusManager/scopes/index.d.mts +1 -0
- package/focusManager/scopes/index.d.ts +7 -0
- package/focusManager/utils/focusDetector.d.mts +1 -0
- package/focusManager/utils/focusDetector.d.ts +31 -0
- package/focusManager/utils/utils.d.mts +1 -0
- package/focusManager/utils/utils.d.ts +22 -0
- package/focusManager/utils/utils.js +6 -10
- package/focusManager/utils/utils.mjs +6 -10
- package/helpers/a11y.d.mts +1 -0
- package/helpers/a11y.d.ts +49 -0
- package/helpers/a11y.js +1 -1
- package/helpers/a11y.mjs +1 -1
- package/helpers/array.d.mts +1 -0
- package/helpers/array.d.ts +142 -18
- package/helpers/array.js +22 -25
- package/helpers/array.mjs +24 -27
- package/helpers/browser.d.mts +1 -0
- package/helpers/browser.d.ts +64 -19
- package/helpers/browser.js +10 -10
- package/helpers/browser.mjs +24 -34
- package/helpers/console.d.mts +1 -0
- package/helpers/console.d.ts +61 -4
- package/helpers/console.js +22 -1
- package/helpers/console.mjs +30 -1
- package/helpers/constants.d.mts +1 -0
- package/helpers/constants.d.ts +2 -0
- package/helpers/data.d.mts +1 -0
- package/helpers/data.d.ts +89 -11
- package/helpers/data.js +15 -1
- package/helpers/data.mjs +20 -1
- package/helpers/date.d.mts +1 -0
- package/helpers/date.d.ts +9 -0
- package/helpers/date.js +26 -0
- package/helpers/date.mjs +16 -0
- package/helpers/dateTime.d.mts +1 -0
- package/helpers/dateTime.d.ts +49 -5
- package/helpers/dateTime.js +22 -3
- package/helpers/dateTime.mjs +30 -29
- package/helpers/dom/cellCoords.d.mts +1 -0
- package/helpers/dom/cellCoords.d.ts +12 -0
- package/helpers/dom/cellCoords.js +192 -0
- package/helpers/dom/cellCoords.mjs +190 -0
- package/helpers/dom/element.d.mts +1 -0
- package/helpers/dom/element.d.ts +516 -51
- package/helpers/dom/element.js +182 -115
- package/helpers/dom/element.mjs +207 -120
- package/helpers/dom/event.d.mts +1 -0
- package/helpers/dom/event.d.ts +52 -6
- package/helpers/dom/event.js +7 -1
- package/helpers/dom/event.mjs +10 -2
- package/helpers/errors.d.mts +1 -0
- package/helpers/errors.d.ts +10 -1
- package/helpers/errors.js +1 -1
- package/helpers/errors.mjs +1 -1
- package/helpers/feature.d.mts +1 -0
- package/helpers/feature.d.ts +31 -7
- package/helpers/function.d.mts +1 -0
- package/helpers/function.d.ts +115 -14
- package/helpers/function.js +1 -1
- package/helpers/function.mjs +1 -1
- package/helpers/mixed.d.mts +1 -0
- package/helpers/mixed.d.ts +41 -5
- package/helpers/mixed.js +15 -9
- package/helpers/mixed.mjs +15 -9
- package/helpers/moves.d.mts +1 -0
- package/helpers/moves.d.ts +12 -0
- package/helpers/number.d.mts +1 -0
- package/helpers/number.d.ts +112 -14
- package/helpers/number.js +54 -21
- package/helpers/number.mjs +67 -23
- package/helpers/object.d.mts +1 -0
- package/helpers/object.d.ts +170 -16
- package/helpers/object.js +135 -60
- package/helpers/object.mjs +146 -75
- package/helpers/string.d.mts +1 -0
- package/helpers/string.d.ts +85 -7
- package/helpers/string.js +79 -20
- package/helpers/string.mjs +97 -18
- package/helpers/templateLiteralTag.d.mts +1 -0
- package/helpers/templateLiteralTag.d.ts +39 -1
- package/helpers/templateLiteralTag.js +8 -6
- package/helpers/templateLiteralTag.mjs +10 -8
- package/helpers/themes.d.mts +1 -0
- package/helpers/themes.d.ts +7 -0
- package/helpers/unicode.d.mts +1 -0
- package/helpers/unicode.d.ts +102 -73
- package/helpers/wrappers/jquery.d.mts +2 -0
- package/helpers/wrappers/jquery.d.ts +4 -0
- package/helpers/wrappers/jquery.js +1 -1
- package/helpers/wrappers/jquery.mjs +1 -1
- package/i18n/constants.d.mts +1 -0
- package/i18n/constants.d.ts +125 -0
- package/i18n/constants.js +8 -0
- package/i18n/constants.mjs +2 -0
- package/i18n/index.d.mts +1 -0
- package/i18n/languages/ar-AR.d.mts +2 -0
- package/i18n/languages/ar-AR.d.ts +108 -3
- package/i18n/languages/ar-AR.js +2 -0
- package/i18n/languages/ar-AR.mjs +2 -0
- package/i18n/languages/cs-CZ.d.mts +2 -0
- package/i18n/languages/cs-CZ.d.ts +107 -3
- package/i18n/languages/cs-CZ.js +2 -0
- package/i18n/languages/cs-CZ.mjs +2 -0
- package/i18n/languages/de-CH.d.mts +2 -0
- package/i18n/languages/de-CH.d.ts +106 -3
- package/i18n/languages/de-CH.js +2 -0
- package/i18n/languages/de-CH.mjs +2 -0
- package/i18n/languages/de-DE.d.mts +2 -0
- package/i18n/languages/de-DE.d.ts +106 -3
- package/i18n/languages/de-DE.js +2 -0
- package/i18n/languages/de-DE.mjs +2 -0
- package/i18n/languages/en-US.d.mts +2 -0
- package/i18n/languages/en-US.d.ts +112 -3
- package/i18n/languages/en-US.js +2 -0
- package/i18n/languages/en-US.mjs +2 -0
- package/i18n/languages/es-MX.d.mts +2 -0
- package/i18n/languages/es-MX.d.ts +109 -3
- package/i18n/languages/es-MX.js +2 -0
- package/i18n/languages/es-MX.mjs +2 -0
- package/i18n/languages/fa-IR.d.mts +2 -0
- package/i18n/languages/fa-IR.d.ts +112 -3
- package/i18n/languages/fa-IR.js +2 -0
- package/i18n/languages/fa-IR.mjs +2 -0
- package/i18n/languages/fr-FR.d.mts +2 -0
- package/i18n/languages/fr-FR.d.ts +106 -3
- package/i18n/languages/fr-FR.js +2 -0
- package/i18n/languages/fr-FR.mjs +2 -0
- package/i18n/languages/hr-HR.d.mts +2 -0
- package/i18n/languages/hr-HR.d.ts +112 -3
- package/i18n/languages/hr-HR.js +2 -0
- package/i18n/languages/hr-HR.mjs +2 -0
- package/i18n/languages/index.d.mts +1 -0
- package/i18n/languages/index.d.ts +2 -25
- package/i18n/languages/it-IT.d.mts +2 -0
- package/i18n/languages/it-IT.d.ts +109 -3
- package/i18n/languages/it-IT.js +2 -0
- package/i18n/languages/it-IT.mjs +2 -0
- package/i18n/languages/ja-JP.d.mts +2 -0
- package/i18n/languages/ja-JP.d.ts +109 -3
- package/i18n/languages/ja-JP.js +2 -0
- package/i18n/languages/ja-JP.mjs +2 -0
- package/i18n/languages/ko-KR.d.mts +2 -0
- package/i18n/languages/ko-KR.d.ts +106 -3
- package/i18n/languages/ko-KR.js +2 -0
- package/i18n/languages/ko-KR.mjs +2 -0
- package/i18n/languages/lv-LV.d.mts +2 -0
- package/i18n/languages/lv-LV.d.ts +110 -3
- package/i18n/languages/lv-LV.js +2 -0
- package/i18n/languages/lv-LV.mjs +2 -0
- package/i18n/languages/nb-NO.d.mts +2 -0
- package/i18n/languages/nb-NO.d.ts +106 -3
- package/i18n/languages/nb-NO.js +2 -0
- package/i18n/languages/nb-NO.mjs +2 -0
- package/i18n/languages/nl-NL.d.mts +2 -0
- package/i18n/languages/nl-NL.d.ts +109 -3
- package/i18n/languages/nl-NL.js +2 -0
- package/i18n/languages/nl-NL.mjs +2 -0
- package/i18n/languages/pl-PL.d.mts +2 -0
- package/i18n/languages/pl-PL.d.ts +112 -3
- package/i18n/languages/pl-PL.js +2 -0
- package/i18n/languages/pl-PL.mjs +2 -0
- package/i18n/languages/pt-BR.d.mts +2 -0
- package/i18n/languages/pt-BR.d.ts +106 -3
- package/i18n/languages/pt-BR.js +2 -0
- package/i18n/languages/pt-BR.mjs +2 -0
- package/i18n/languages/ru-RU.d.mts +2 -0
- package/i18n/languages/ru-RU.d.ts +106 -3
- package/i18n/languages/ru-RU.js +2 -0
- package/i18n/languages/ru-RU.mjs +2 -0
- package/i18n/languages/sr-SP.d.mts +2 -0
- package/i18n/languages/sr-SP.d.ts +110 -3
- package/i18n/languages/sr-SP.js +2 -0
- package/i18n/languages/sr-SP.mjs +2 -0
- package/i18n/languages/zh-CN.d.mts +2 -0
- package/i18n/languages/zh-CN.d.ts +109 -3
- package/i18n/languages/zh-CN.js +2 -0
- package/i18n/languages/zh-CN.mjs +2 -0
- package/i18n/languages/zh-TW.d.mts +2 -0
- package/i18n/languages/zh-TW.d.ts +106 -3
- package/i18n/languages/zh-TW.js +2 -0
- package/i18n/languages/zh-TW.mjs +2 -0
- package/i18n/phraseFormatters/index.d.mts +1 -0
- package/i18n/phraseFormatters/index.d.ts +14 -0
- package/i18n/phraseFormatters/pluralize.d.mts +2 -0
- package/i18n/phraseFormatters/pluralize.d.ts +9 -0
- package/i18n/phraseFormatters/substituteVariables.d.mts +2 -0
- package/i18n/phraseFormatters/substituteVariables.d.ts +9 -0
- package/i18n/registry.d.mts +1 -0
- package/i18n/registry.d.ts +166 -13
- package/i18n/registry.js +2 -3
- package/i18n/registry.mjs +2 -3
- package/i18n/utils.d.mts +1 -0
- package/i18n/utils.d.ts +40 -0
- package/index.d.mts +2 -0
- package/index.d.ts +15 -705
- package/index.js +37 -33
- package/index.mjs +37 -35
- package/languages/all.js +843 -2740
- package/languages/ar-AR.js +36 -125
- package/languages/ar-AR.mjs +2 -0
- package/languages/cs-CZ.js +36 -125
- package/languages/cs-CZ.mjs +2 -0
- package/languages/de-CH.js +36 -124
- package/languages/de-CH.mjs +2 -0
- package/languages/de-DE.js +36 -124
- package/languages/de-DE.mjs +2 -0
- package/languages/en-US.js +45 -139
- package/languages/en-US.mjs +2 -0
- package/languages/es-MX.js +45 -136
- package/languages/es-MX.mjs +2 -0
- package/languages/fa-IR.js +45 -139
- package/languages/fa-IR.mjs +2 -0
- package/languages/fr-FR.js +36 -124
- package/languages/fr-FR.mjs +2 -0
- package/languages/hr-HR.js +45 -139
- package/languages/hr-HR.mjs +2 -0
- package/languages/index.js +843 -2740
- package/languages/it-IT.js +42 -133
- package/languages/it-IT.mjs +2 -0
- package/languages/ja-JP.js +45 -136
- package/languages/ja-JP.mjs +2 -0
- package/languages/ko-KR.js +36 -124
- package/languages/ko-KR.mjs +2 -0
- package/languages/lv-LV.js +45 -137
- package/languages/lv-LV.mjs +2 -0
- package/languages/nb-NO.js +36 -124
- package/languages/nb-NO.mjs +2 -0
- package/languages/nl-NL.js +45 -136
- package/languages/nl-NL.mjs +2 -0
- package/languages/pl-PL.js +45 -139
- package/languages/pl-PL.mjs +2 -0
- package/languages/pt-BR.js +36 -124
- package/languages/pt-BR.mjs +2 -0
- package/languages/ru-RU.js +36 -124
- package/languages/ru-RU.mjs +2 -0
- package/languages/sr-SP.js +45 -137
- package/languages/sr-SP.mjs +2 -0
- package/languages/zh-CN.js +36 -127
- package/languages/zh-CN.mjs +2 -0
- package/languages/zh-TW.js +36 -124
- package/languages/zh-TW.mjs +2 -0
- package/mixins/hooksRefRegisterer.d.mts +2 -0
- package/mixins/hooksRefRegisterer.d.ts +13 -0
- package/mixins/localHooks.d.mts +2 -0
- package/mixins/localHooks.d.ts +14 -0
- package/package.json +1314 -499
- package/plugins/autoColumnSize/autoColumnSize.d.mts +1 -0
- package/plugins/autoColumnSize/autoColumnSize.d.ts +320 -27
- package/plugins/autoColumnSize/autoColumnSize.js +142 -111
- package/plugins/autoColumnSize/autoColumnSize.mjs +145 -114
- package/plugins/autoColumnSize/index.d.mts +1 -0
- package/plugins/autoColumnSize/index.d.ts +1 -1
- package/plugins/autoRowSize/autoRowSize.d.mts +1 -0
- package/plugins/autoRowSize/autoRowSize.d.ts +324 -28
- package/plugins/autoRowSize/autoRowSize.js +132 -107
- package/plugins/autoRowSize/autoRowSize.mjs +135 -110
- package/plugins/autoRowSize/index.d.mts +1 -0
- package/plugins/autoRowSize/index.d.ts +1 -1
- package/plugins/autofill/autofill.d.mts +1 -0
- package/plugins/autofill/autofill.d.ts +210 -15
- package/plugins/autofill/autofill.js +341 -156
- package/plugins/autofill/autofill.mjs +343 -158
- package/plugins/autofill/constants.d.mts +1 -0
- package/plugins/autofill/constants.d.ts +4 -0
- package/plugins/autofill/constants.js +14 -0
- package/plugins/autofill/constants.mjs +4 -0
- package/plugins/autofill/index.d.mts +1 -0
- package/plugins/autofill/index.d.ts +1 -1
- package/plugins/autofill/utils.d.mts +1 -0
- package/plugins/autofill/utils.d.ts +14 -0
- package/plugins/autofill/utils.js +3 -54
- package/plugins/autofill/utils.mjs +0 -47
- package/plugins/base/base.d.mts +1 -0
- package/plugins/base/base.d.ts +176 -27
- package/plugins/base/base.js +73 -53
- package/plugins/base/base.mjs +74 -54
- package/plugins/base/conflictRegistry.d.mts +1 -0
- package/plugins/base/conflictRegistry.d.ts +39 -0
- package/plugins/base/conflictRegistry.js +1 -7
- package/plugins/base/conflictRegistry.mjs +1 -7
- package/plugins/base/index.d.mts +1 -0
- package/plugins/base/index.d.ts +2 -1
- package/plugins/bindRowsWithHeaders/bindRowsWithHeaders.d.mts +1 -0
- package/plugins/bindRowsWithHeaders/bindRowsWithHeaders.d.ts +83 -7
- package/plugins/bindRowsWithHeaders/bindRowsWithHeaders.js +52 -17
- package/plugins/bindRowsWithHeaders/bindRowsWithHeaders.mjs +52 -17
- package/plugins/bindRowsWithHeaders/index.d.mts +1 -0
- package/plugins/bindRowsWithHeaders/index.d.ts +1 -1
- package/plugins/bindRowsWithHeaders/maps/looseBindsMap.d.mts +2 -0
- package/plugins/bindRowsWithHeaders/maps/looseBindsMap.d.ts +26 -0
- package/plugins/bindRowsWithHeaders/maps/looseBindsMap.js +6 -4
- package/plugins/bindRowsWithHeaders/maps/looseBindsMap.mjs +5 -3
- package/plugins/bindRowsWithHeaders/maps/strictBindsMap.d.mts +2 -0
- package/plugins/bindRowsWithHeaders/maps/strictBindsMap.d.ts +33 -0
- package/plugins/bindRowsWithHeaders/maps/strictBindsMap.js +6 -4
- package/plugins/bindRowsWithHeaders/maps/strictBindsMap.mjs +5 -3
- package/plugins/collapsibleColumns/collapsibleColumns.d.mts +1 -0
- package/plugins/collapsibleColumns/collapsibleColumns.d.ts +236 -20
- package/plugins/collapsibleColumns/collapsibleColumns.js +298 -125
- package/plugins/collapsibleColumns/collapsibleColumns.mjs +300 -127
- package/plugins/collapsibleColumns/index.d.mts +1 -0
- package/plugins/collapsibleColumns/index.d.ts +1 -1
- package/plugins/columnSorting/columnSorting.d.mts +1 -0
- package/plugins/columnSorting/columnSorting.d.ts +319 -26
- package/plugins/columnSorting/columnSorting.js +127 -112
- package/plugins/columnSorting/columnSorting.mjs +128 -113
- package/plugins/columnSorting/columnStatesManager.d.mts +1 -0
- package/plugins/columnSorting/columnStatesManager.d.ts +133 -0
- package/plugins/columnSorting/columnStatesManager.js +8 -6
- package/plugins/columnSorting/columnStatesManager.mjs +8 -6
- package/plugins/columnSorting/domHelpers.d.mts +1 -0
- package/plugins/columnSorting/domHelpers.d.ts +17 -0
- package/plugins/columnSorting/domHelpers.js +6 -4
- package/plugins/columnSorting/domHelpers.mjs +6 -4
- package/plugins/columnSorting/index.d.mts +1 -0
- package/plugins/columnSorting/index.d.ts +2 -1
- package/plugins/columnSorting/rootComparator.d.mts +1 -0
- package/plugins/columnSorting/rootComparator.d.ts +8 -0
- package/plugins/columnSorting/rootComparator.js +3 -2
- package/plugins/columnSorting/rootComparator.mjs +3 -2
- package/plugins/columnSorting/sortFunction/checkbox.d.mts +1 -0
- package/plugins/columnSorting/sortFunction/checkbox.d.ts +10 -0
- package/plugins/columnSorting/sortFunction/checkbox.js +49 -19
- package/plugins/columnSorting/sortFunction/checkbox.mjs +49 -19
- package/plugins/columnSorting/sortFunction/date.d.mts +1 -0
- package/plugins/columnSorting/sortFunction/date.d.ts +10 -0
- package/plugins/columnSorting/sortFunction/date.js +2 -2
- package/plugins/columnSorting/sortFunction/date.mjs +4 -4
- package/plugins/columnSorting/sortFunction/default.d.mts +1 -0
- package/plugins/columnSorting/sortFunction/default.d.ts +10 -0
- package/plugins/columnSorting/sortFunction/default.js +55 -25
- package/plugins/columnSorting/sortFunction/default.mjs +55 -25
- package/plugins/columnSorting/sortFunction/intlDate.d.mts +1 -0
- package/plugins/columnSorting/sortFunction/intlDate.d.ts +10 -0
- package/plugins/columnSorting/sortFunction/intlDate.js +2 -2
- package/plugins/columnSorting/sortFunction/intlDate.mjs +6 -6
- package/plugins/columnSorting/sortFunction/intlTime.d.mts +1 -0
- package/plugins/columnSorting/sortFunction/intlTime.d.ts +10 -0
- package/plugins/columnSorting/sortFunction/intlTime.js +2 -2
- package/plugins/columnSorting/sortFunction/intlTime.mjs +6 -6
- package/plugins/columnSorting/sortFunction/numeric.d.mts +1 -0
- package/plugins/columnSorting/sortFunction/numeric.d.ts +10 -0
- package/plugins/columnSorting/sortFunction/time.d.mts +1 -0
- package/plugins/columnSorting/sortFunction/time.d.ts +10 -0
- package/plugins/columnSorting/sortFunction/time.js +2 -2
- package/plugins/columnSorting/sortFunction/time.mjs +4 -4
- package/plugins/columnSorting/sortService/engine.d.mts +1 -0
- package/plugins/columnSorting/sortService/engine.d.ts +11 -0
- package/plugins/columnSorting/sortService/engine.mjs +2 -0
- package/plugins/columnSorting/sortService/index.d.mts +1 -0
- package/plugins/columnSorting/sortService/index.d.ts +2 -0
- package/plugins/columnSorting/sortService/index.mjs +2 -3
- package/plugins/columnSorting/sortService/registry.d.mts +1 -0
- package/plugins/columnSorting/sortService/registry.d.ts +10 -0
- package/plugins/columnSorting/utils.d.mts +1 -0
- package/plugins/columnSorting/utils.d.ts +65 -0
- package/plugins/columnSorting/utils.js +6 -54
- package/plugins/columnSorting/utils.mjs +7 -56
- package/plugins/columnSummary/columnSummary.d.mts +1 -0
- package/plugins/columnSummary/columnSummary.d.ts +256 -69
- package/plugins/columnSummary/columnSummary.js +179 -76
- package/plugins/columnSummary/columnSummary.mjs +180 -77
- package/plugins/columnSummary/endpoints.d.mts +2 -0
- package/plugins/columnSummary/endpoints.d.ts +228 -0
- package/plugins/columnSummary/endpoints.js +29 -8
- package/plugins/columnSummary/endpoints.mjs +29 -8
- package/plugins/columnSummary/index.d.mts +1 -0
- package/plugins/columnSummary/index.d.ts +2 -1
- package/plugins/columnSummary/utils.d.mts +1 -0
- package/plugins/columnSummary/utils.d.ts +15 -0
- package/plugins/columnSummary/utils.js +2 -2
- package/plugins/columnSummary/utils.mjs +2 -2
- package/plugins/comments/commentEditor.d.mts +2 -0
- package/plugins/comments/commentEditor.d.ts +133 -0
- package/plugins/comments/commentEditor.js +38 -18
- package/plugins/comments/commentEditor.mjs +38 -18
- package/plugins/comments/comments.d.mts +1 -0
- package/plugins/comments/comments.d.ts +378 -46
- package/plugins/comments/comments.js +197 -113
- package/plugins/comments/comments.mjs +200 -116
- package/plugins/comments/contextMenuItem/addEditComment.d.mts +2 -0
- package/plugins/comments/contextMenuItem/addEditComment.d.ts +12 -0
- package/plugins/comments/contextMenuItem/addEditComment.js +7 -2
- package/plugins/comments/contextMenuItem/addEditComment.mjs +7 -2
- package/plugins/comments/contextMenuItem/readOnlyComment.d.mts +2 -0
- package/plugins/comments/contextMenuItem/readOnlyComment.d.ts +12 -0
- package/plugins/comments/contextMenuItem/readOnlyComment.js +5 -2
- package/plugins/comments/contextMenuItem/readOnlyComment.mjs +5 -2
- package/plugins/comments/contextMenuItem/removeComment.d.mts +2 -0
- package/plugins/comments/contextMenuItem/removeComment.d.ts +12 -0
- package/plugins/comments/contextMenuItem/removeComment.js +3 -0
- package/plugins/comments/contextMenuItem/removeComment.mjs +3 -0
- package/plugins/comments/displaySwitch.d.mts +2 -0
- package/plugins/comments/displaySwitch.d.ts +68 -0
- package/plugins/comments/displaySwitch.js +7 -4
- package/plugins/comments/displaySwitch.mjs +7 -4
- package/plugins/comments/editorResizeObserver.d.mts +1 -0
- package/plugins/comments/editorResizeObserver.d.ts +35 -0
- package/plugins/comments/editorResizeObserver.js +6 -2
- package/plugins/comments/editorResizeObserver.mjs +6 -2
- package/plugins/comments/index.d.mts +1 -0
- package/plugins/comments/index.d.ts +1 -1
- package/plugins/comments/utils.d.mts +1 -0
- package/plugins/comments/utils.d.ts +12 -0
- package/plugins/comments/viewport.d.mts +1 -0
- package/plugins/comments/viewport.d.ts +72 -0
- package/plugins/comments/viewport.js +60 -0
- package/plugins/comments/viewport.mjs +72 -0
- package/plugins/contextMenu/commandExecutor.d.mts +1 -0
- package/plugins/contextMenu/commandExecutor.d.ts +56 -0
- package/plugins/contextMenu/commandExecutor.js +3 -1
- package/plugins/contextMenu/commandExecutor.mjs +3 -1
- package/plugins/contextMenu/contextMenu.d.mts +1 -0
- package/plugins/contextMenu/contextMenu.d.ts +185 -63
- package/plugins/contextMenu/contextMenu.js +123 -72
- package/plugins/contextMenu/contextMenu.mjs +125 -74
- package/plugins/contextMenu/index.d.mts +1 -0
- package/plugins/contextMenu/index.d.ts +2 -1
- package/plugins/contextMenu/itemsFactory.d.mts +1 -0
- package/plugins/contextMenu/itemsFactory.d.ts +39 -0
- package/plugins/contextMenu/itemsFactory.js +24 -6
- package/plugins/contextMenu/itemsFactory.mjs +24 -6
- package/plugins/contextMenu/menu/cursor.d.mts +1 -0
- package/plugins/contextMenu/menu/cursor.d.ts +96 -0
- package/plugins/contextMenu/menu/cursor.js +21 -21
- package/plugins/contextMenu/menu/cursor.mjs +20 -15
- package/plugins/contextMenu/menu/defaultShortcutsList.d.mts +1 -0
- package/plugins/contextMenu/menu/defaultShortcutsList.d.ts +9 -0
- package/plugins/contextMenu/menu/defaultShortcutsList.js +33 -29
- package/plugins/contextMenu/menu/defaultShortcutsList.mjs +32 -23
- package/plugins/contextMenu/menu/index.d.mts +1 -0
- package/plugins/contextMenu/menu/index.d.ts +1 -0
- package/plugins/contextMenu/menu/menu.d.mts +1 -0
- package/plugins/contextMenu/menu/menu.d.ts +297 -0
- package/plugins/contextMenu/menu/menu.js +81 -38
- package/plugins/contextMenu/menu/menu.mjs +84 -41
- package/plugins/contextMenu/menu/menuItemRenderer.d.mts +1 -0
- package/plugins/contextMenu/menu/menuItemRenderer.d.ts +9 -0
- package/plugins/contextMenu/menu/menuItemRenderer.js +3 -1
- package/plugins/contextMenu/menu/menuItemRenderer.mjs +3 -1
- package/plugins/contextMenu/menu/navigator.d.mts +1 -0
- package/plugins/contextMenu/menu/navigator.d.ts +17 -0
- package/plugins/contextMenu/menu/positioner.d.mts +1 -0
- package/plugins/contextMenu/menu/positioner.d.ts +63 -0
- package/plugins/contextMenu/menu/positioner.js +6 -1
- package/plugins/contextMenu/menu/positioner.mjs +6 -1
- package/plugins/contextMenu/menu/shortcuts.d.mts +1 -0
- package/plugins/contextMenu/menu/shortcuts.d.ts +27 -0
- package/plugins/contextMenu/menu/shortcuts.js +1 -1
- package/plugins/contextMenu/menu/shortcuts.mjs +1 -1
- package/plugins/contextMenu/menu/utils.d.mts +1 -0
- package/plugins/contextMenu/menu/utils.d.ts +104 -0
- package/plugins/contextMenu/menu/utils.js +5 -4
- package/plugins/contextMenu/menu/utils.mjs +5 -4
- package/plugins/contextMenu/predefinedItems/alignment.d.mts +2 -0
- package/plugins/contextMenu/predefinedItems/alignment.d.ts +23 -0
- package/plugins/contextMenu/predefinedItems/alignment.js +7 -7
- package/plugins/contextMenu/predefinedItems/alignment.mjs +7 -7
- package/plugins/contextMenu/predefinedItems/clearColumn.d.mts +2 -0
- package/plugins/contextMenu/predefinedItems/clearColumn.d.ts +20 -0
- package/plugins/contextMenu/predefinedItems/clearColumn.js +1 -1
- package/plugins/contextMenu/predefinedItems/clearColumn.mjs +1 -1
- package/plugins/contextMenu/predefinedItems/columnLeft.d.mts +2 -0
- package/plugins/contextMenu/predefinedItems/columnLeft.d.ts +12 -0
- package/plugins/contextMenu/predefinedItems/columnLeft.js +9 -2
- package/plugins/contextMenu/predefinedItems/columnLeft.mjs +9 -2
- package/plugins/contextMenu/predefinedItems/columnRight.d.mts +2 -0
- package/plugins/contextMenu/predefinedItems/columnRight.d.ts +12 -0
- package/plugins/contextMenu/predefinedItems/columnRight.js +11 -3
- package/plugins/contextMenu/predefinedItems/columnRight.mjs +11 -3
- package/plugins/contextMenu/predefinedItems/index.d.mts +1 -0
- package/plugins/contextMenu/predefinedItems/index.d.ts +27 -0
- package/plugins/contextMenu/predefinedItems/noItems.d.mts +2 -0
- package/plugins/contextMenu/predefinedItems/noItems.d.ts +11 -0
- package/plugins/contextMenu/predefinedItems/noItems.js +2 -1
- package/plugins/contextMenu/predefinedItems/noItems.mjs +2 -1
- package/plugins/contextMenu/predefinedItems/readOnly.d.mts +2 -0
- package/plugins/contextMenu/predefinedItems/readOnly.d.ts +14 -0
- package/plugins/contextMenu/predefinedItems/readOnly.js +7 -8
- package/plugins/contextMenu/predefinedItems/readOnly.mjs +7 -8
- package/plugins/contextMenu/predefinedItems/redo.d.mts +2 -0
- package/plugins/contextMenu/predefinedItems/redo.d.ts +12 -0
- package/plugins/contextMenu/predefinedItems/removeColumn.d.mts +2 -0
- package/plugins/contextMenu/predefinedItems/removeColumn.d.ts +12 -0
- package/plugins/contextMenu/predefinedItems/removeColumn.js +2 -2
- package/plugins/contextMenu/predefinedItems/removeColumn.mjs +2 -2
- package/plugins/contextMenu/predefinedItems/removeRow.d.mts +2 -0
- package/plugins/contextMenu/predefinedItems/removeRow.d.ts +12 -0
- package/plugins/contextMenu/predefinedItems/removeRow.js +1 -1
- package/plugins/contextMenu/predefinedItems/removeRow.mjs +1 -1
- package/plugins/contextMenu/predefinedItems/rowAbove.d.mts +2 -0
- package/plugins/contextMenu/predefinedItems/rowAbove.d.ts +12 -0
- package/plugins/contextMenu/predefinedItems/rowAbove.js +9 -2
- package/plugins/contextMenu/predefinedItems/rowAbove.mjs +9 -2
- package/plugins/contextMenu/predefinedItems/rowBelow.d.mts +2 -0
- package/plugins/contextMenu/predefinedItems/rowBelow.d.ts +12 -0
- package/plugins/contextMenu/predefinedItems/rowBelow.js +9 -2
- package/plugins/contextMenu/predefinedItems/rowBelow.mjs +9 -2
- package/plugins/contextMenu/predefinedItems/separator.d.mts +2 -0
- package/plugins/contextMenu/predefinedItems/separator.d.ts +7 -0
- package/plugins/contextMenu/predefinedItems/undo.d.mts +2 -0
- package/plugins/contextMenu/predefinedItems/undo.d.ts +12 -0
- package/plugins/contextMenu/predefinedItems/undo.js +2 -1
- package/plugins/contextMenu/predefinedItems/undo.mjs +2 -1
- package/plugins/contextMenu/utils.d.mts +1 -0
- package/plugins/contextMenu/utils.d.ts +63 -0
- package/plugins/contextMenu/utils.js +1 -1
- package/plugins/contextMenu/utils.mjs +1 -1
- package/plugins/copyPaste/clipboardData.d.mts +2 -0
- package/plugins/copyPaste/clipboardData.d.ts +21 -0
- package/plugins/copyPaste/clipboardData.js +9 -3
- package/plugins/copyPaste/clipboardData.mjs +9 -3
- package/plugins/copyPaste/contextMenuItem/copy.d.mts +2 -0
- package/plugins/copyPaste/contextMenuItem/copy.d.ts +19 -0
- package/plugins/copyPaste/contextMenuItem/copy.js +1 -2
- package/plugins/copyPaste/contextMenuItem/copy.mjs +1 -2
- package/plugins/copyPaste/contextMenuItem/copyColumnHeadersOnly.d.mts +2 -0
- package/plugins/copyPaste/contextMenuItem/copyColumnHeadersOnly.d.ts +19 -0
- package/plugins/copyPaste/contextMenuItem/copyColumnHeadersOnly.js +1 -2
- package/plugins/copyPaste/contextMenuItem/copyColumnHeadersOnly.mjs +1 -2
- package/plugins/copyPaste/contextMenuItem/copyWithColumnGroupHeaders.d.mts +2 -0
- package/plugins/copyPaste/contextMenuItem/copyWithColumnGroupHeaders.d.ts +19 -0
- package/plugins/copyPaste/contextMenuItem/copyWithColumnGroupHeaders.js +1 -2
- package/plugins/copyPaste/contextMenuItem/copyWithColumnGroupHeaders.mjs +1 -2
- package/plugins/copyPaste/contextMenuItem/copyWithColumnHeaders.d.mts +2 -0
- package/plugins/copyPaste/contextMenuItem/copyWithColumnHeaders.d.ts +19 -0
- package/plugins/copyPaste/contextMenuItem/copyWithColumnHeaders.js +1 -2
- package/plugins/copyPaste/contextMenuItem/copyWithColumnHeaders.mjs +1 -2
- package/plugins/copyPaste/contextMenuItem/cut.d.mts +2 -0
- package/plugins/copyPaste/contextMenuItem/cut.d.ts +19 -0
- package/plugins/copyPaste/contextMenuItem/cut.js +1 -2
- package/plugins/copyPaste/contextMenuItem/cut.mjs +1 -2
- package/plugins/copyPaste/copyPaste.d.mts +1 -0
- package/plugins/copyPaste/copyPaste.d.ts +235 -42
- package/plugins/copyPaste/copyPaste.js +162 -110
- package/plugins/copyPaste/copyPaste.mjs +165 -113
- package/plugins/copyPaste/copyableRanges.d.mts +1 -0
- package/plugins/copyPaste/copyableRanges.d.ts +83 -0
- package/plugins/copyPaste/copyableRanges.js +16 -6
- package/plugins/copyPaste/copyableRanges.mjs +16 -6
- package/plugins/copyPaste/index.d.mts +1 -0
- package/plugins/copyPaste/index.d.ts +1 -1
- package/plugins/copyPaste/pasteEvent.d.mts +2 -0
- package/plugins/copyPaste/pasteEvent.d.ts +22 -0
- package/plugins/copyPaste/pasteEvent.js +9 -3
- package/plugins/copyPaste/pasteEvent.mjs +9 -3
- package/plugins/customBorders/contextMenuItem/bottom.d.mts +2 -0
- package/plugins/customBorders/contextMenuItem/bottom.d.ts +11 -0
- package/plugins/customBorders/contextMenuItem/index.d.mts +1 -0
- package/plugins/customBorders/contextMenuItem/index.d.ts +6 -0
- package/plugins/customBorders/contextMenuItem/left.d.mts +2 -0
- package/plugins/customBorders/contextMenuItem/left.d.ts +11 -0
- package/plugins/customBorders/contextMenuItem/noBorders.d.mts +2 -0
- package/plugins/customBorders/contextMenuItem/noBorders.d.ts +12 -0
- package/plugins/customBorders/contextMenuItem/noBorders.js +3 -2
- package/plugins/customBorders/contextMenuItem/noBorders.mjs +3 -2
- package/plugins/customBorders/contextMenuItem/right.d.mts +2 -0
- package/plugins/customBorders/contextMenuItem/right.d.ts +11 -0
- package/plugins/customBorders/contextMenuItem/top.d.mts +2 -0
- package/plugins/customBorders/contextMenuItem/top.d.ts +11 -0
- package/plugins/customBorders/customBorders.d.mts +1 -0
- package/plugins/customBorders/customBorders.d.ts +309 -48
- package/plugins/customBorders/customBorders.js +99 -35
- package/plugins/customBorders/customBorders.mjs +100 -36
- package/plugins/customBorders/index.d.mts +1 -0
- package/plugins/customBorders/index.d.ts +2 -1
- package/plugins/customBorders/utils.d.mts +1 -0
- package/plugins/customBorders/utils.d.ts +166 -0
- package/plugins/customBorders/utils.js +39 -56
- package/plugins/customBorders/utils.mjs +40 -57
- package/plugins/dataProvider/constants.d.mts +1 -0
- package/plugins/dataProvider/constants.d.ts +60 -0
- package/plugins/dataProvider/dataProvider.d.mts +1 -0
- package/plugins/dataProvider/dataProvider.d.ts +202 -176
- package/plugins/dataProvider/dataProvider.js +114 -98
- package/plugins/dataProvider/dataProvider.mjs +115 -126
- package/plugins/dataProvider/index.d.mts +1 -0
- package/plugins/dataProvider/index.d.ts +2 -17
- package/plugins/dataProvider/query/crud.d.mts +1 -0
- package/plugins/dataProvider/query/crud.d.ts +265 -0
- package/plugins/dataProvider/query/crud.js +9 -5
- package/plugins/dataProvider/query/crud.mjs +9 -39
- package/plugins/dataProvider/query/filtering.d.mts +1 -0
- package/plugins/dataProvider/query/filtering.d.ts +67 -0
- package/plugins/dataProvider/query/filtering.js +1 -1
- package/plugins/dataProvider/query/filtering.mjs +1 -1
- package/plugins/dataProvider/query/pagination.d.mts +1 -0
- package/plugins/dataProvider/query/pagination.d.ts +99 -0
- package/plugins/dataProvider/query/sorting.d.mts +1 -0
- package/plugins/dataProvider/query/sorting.d.ts +109 -0
- package/plugins/dataProvider/query/sorting.js +20 -15
- package/plugins/dataProvider/query/sorting.mjs +20 -15
- package/plugins/dataProvider/utils.d.mts +1 -0
- package/plugins/dataProvider/utils.d.ts +24 -0
- package/plugins/dataProvider/utils.js +14 -10
- package/plugins/dataProvider/utils.mjs +14 -10
- package/plugins/dialog/constants.d.mts +1 -0
- package/plugins/dialog/constants.d.ts +4 -0
- package/plugins/dialog/dialog.d.mts +1 -0
- package/plugins/dialog/dialog.d.ts +299 -41
- package/plugins/dialog/dialog.js +46 -27
- package/plugins/dialog/dialog.mjs +48 -29
- package/plugins/dialog/index.d.mts +1 -0
- package/plugins/dialog/index.d.ts +1 -1
- package/plugins/dialog/templates/base.d.mts +1 -0
- package/plugins/dialog/templates/base.d.ts +16 -0
- package/plugins/dialog/templates/confirm.d.mts +1 -0
- package/plugins/dialog/templates/confirm.d.ts +35 -0
- package/plugins/dialog/templates/index.d.mts +1 -0
- package/plugins/dialog/templates/index.d.ts +4 -0
- package/plugins/dialog/templates/index.js +1 -0
- package/plugins/dialog/templates/index.mjs +1 -0
- package/plugins/dialog/ui.d.mts +1 -0
- package/plugins/dialog/ui.d.ts +101 -0
- package/plugins/dialog/ui.js +29 -34
- package/plugins/dialog/ui.mjs +30 -35
- package/plugins/dragToScroll/autoScroller.d.mts +1 -0
- package/plugins/dragToScroll/autoScroller.d.ts +78 -0
- package/plugins/dragToScroll/autoScroller.js +150 -0
- package/plugins/dragToScroll/autoScroller.mjs +140 -0
- package/plugins/dragToScroll/dragToScroll.d.mts +1 -0
- package/plugins/dragToScroll/dragToScroll.d.ts +140 -19
- package/plugins/dragToScroll/dragToScroll.js +328 -37
- package/plugins/dragToScroll/dragToScroll.mjs +329 -38
- package/plugins/dragToScroll/index.d.mts +1 -0
- package/plugins/dragToScroll/index.d.ts +1 -1
- package/plugins/dragToScroll/scrollTimer.d.mts +1 -0
- package/plugins/dragToScroll/scrollTimer.d.ts +48 -0
- package/plugins/dragToScroll/scrollTimer.js +160 -0
- package/plugins/dragToScroll/scrollTimer.mjs +147 -0
- package/plugins/dragToScroll/utils.d.mts +1 -0
- package/plugins/dragToScroll/utils.d.ts +14 -0
- package/plugins/dragToScroll/utils.js +25 -0
- package/plugins/dragToScroll/utils.mjs +15 -0
- package/plugins/dropdownMenu/dropdownMenu.d.mts +1 -0
- package/plugins/dropdownMenu/dropdownMenu.d.ts +219 -23
- package/plugins/dropdownMenu/dropdownMenu.js +149 -117
- package/plugins/dropdownMenu/dropdownMenu.mjs +151 -119
- package/plugins/dropdownMenu/index.d.mts +1 -0
- package/plugins/dropdownMenu/index.d.ts +1 -1
- package/plugins/emptyDataState/emptyDataState.d.mts +1 -0
- package/plugins/emptyDataState/emptyDataState.d.ts +220 -31
- package/plugins/emptyDataState/emptyDataState.js +98 -88
- package/plugins/emptyDataState/emptyDataState.mjs +98 -88
- package/plugins/emptyDataState/index.d.mts +1 -0
- package/plugins/emptyDataState/index.d.ts +1 -1
- package/plugins/emptyDataState/ui.d.mts +1 -0
- package/plugins/emptyDataState/ui.d.ts +67 -0
- package/plugins/emptyDataState/ui.js +19 -11
- package/plugins/emptyDataState/ui.mjs +19 -11
- package/plugins/exportFile/contextMenuItem/exportItem.d.mts +2 -0
- package/plugins/exportFile/contextMenuItem/exportItem.d.ts +13 -0
- package/plugins/exportFile/contextMenuItem/utils.d.mts +1 -0
- package/plugins/exportFile/contextMenuItem/utils.d.ts +23 -0
- package/plugins/exportFile/contextMenuItem/utils.js +6 -22
- package/plugins/exportFile/contextMenuItem/utils.mjs +5 -5
- package/plugins/exportFile/dataProvider.d.mts +2 -0
- package/plugins/exportFile/dataProvider.d.ts +409 -0
- package/plugins/exportFile/dataProvider.js +100 -62
- package/plugins/exportFile/dataProvider.mjs +100 -62
- package/plugins/exportFile/exportFile.d.mts +1 -0
- package/plugins/exportFile/exportFile.d.ts +522 -72
- package/plugins/exportFile/exportFile.js +88 -19
- package/plugins/exportFile/exportFile.mjs +88 -19
- package/plugins/exportFile/index.d.mts +1 -0
- package/plugins/exportFile/index.d.ts +2 -1
- package/plugins/exportFile/typeFactory.d.mts +2 -0
- package/plugins/exportFile/typeFactory.d.ts +18 -0
- package/plugins/exportFile/typeFactory.js +3 -2
- package/plugins/exportFile/typeFactory.mjs +3 -2
- package/plugins/exportFile/types/_base.d.mts +2 -0
- package/plugins/exportFile/types/_base.d.ts +64 -0
- package/plugins/exportFile/types/_base.js +25 -2
- package/plugins/exportFile/types/_base.mjs +25 -2
- package/plugins/exportFile/types/csv.d.mts +2 -0
- package/plugins/exportFile/types/csv.d.ts +51 -0
- package/plugins/exportFile/types/csv.js +1 -1
- package/plugins/exportFile/types/csv.mjs +1 -1
- package/plugins/exportFile/types/xlsx/cell-style.d.mts +1 -0
- package/plugins/exportFile/types/xlsx/cell-style.d.ts +148 -0
- package/plugins/exportFile/types/xlsx/cell-style.js +7 -7
- package/plugins/exportFile/types/xlsx/cell-style.mjs +7 -7
- package/plugins/exportFile/types/xlsx/date-utils.d.mts +1 -0
- package/plugins/exportFile/types/xlsx/date-utils.d.ts +41 -0
- package/plugins/exportFile/types/xlsx/formula-utils.d.mts +1 -0
- package/plugins/exportFile/types/xlsx/formula-utils.d.ts +87 -0
- package/plugins/exportFile/types/xlsx/formula-utils.js +7 -7
- package/plugins/exportFile/types/xlsx/formula-utils.mjs +7 -7
- package/plugins/exportFile/types/xlsx/numeric-utils.d.mts +1 -0
- package/plugins/exportFile/types/xlsx/numeric-utils.d.ts +17 -0
- package/plugins/exportFile/types/xlsx/numeric-utils.js +4 -41
- package/plugins/exportFile/types/xlsx/numeric-utils.mjs +1 -31
- package/plugins/exportFile/types/xlsx.d.mts +2 -0
- package/plugins/exportFile/types/xlsx.d.ts +120 -0
- package/plugins/exportFile/types/xlsx.js +12 -9
- package/plugins/exportFile/types/xlsx.mjs +12 -9
- package/plugins/exportFile/utils.d.mts +1 -0
- package/plugins/exportFile/utils.d.ts +9 -0
- package/plugins/filters/component/_base.d.mts +1 -0
- package/plugins/filters/component/_base.d.ts +115 -0
- package/plugins/filters/component/_base.js +15 -4
- package/plugins/filters/component/_base.mjs +15 -4
- package/plugins/filters/component/actionBar.d.mts +1 -0
- package/plugins/filters/component/actionBar.d.ts +57 -0
- package/plugins/filters/component/actionBar.js +20 -7
- package/plugins/filters/component/actionBar.mjs +21 -8
- package/plugins/filters/component/condition.d.mts +1 -0
- package/plugins/filters/component/condition.d.ts +114 -0
- package/plugins/filters/component/condition.js +31 -23
- package/plugins/filters/component/condition.mjs +32 -24
- package/plugins/filters/component/operators.d.mts +1 -0
- package/plugins/filters/component/operators.d.ts +76 -0
- package/plugins/filters/component/operators.js +18 -9
- package/plugins/filters/component/operators.mjs +19 -10
- package/plugins/filters/component/value.d.mts +1 -0
- package/plugins/filters/component/value.d.ts +147 -0
- package/plugins/filters/component/value.js +39 -23
- package/plugins/filters/component/value.mjs +40 -24
- package/plugins/filters/condition/beginsWith.d.mts +1 -0
- package/plugins/filters/condition/beginsWith.d.ts +19 -0
- package/plugins/filters/condition/beginsWith.js +2 -1
- package/plugins/filters/condition/beginsWith.mjs +2 -1
- package/plugins/filters/condition/between.d.mts +1 -0
- package/plugins/filters/condition/between.d.ts +20 -0
- package/plugins/filters/condition/between.js +10 -11
- package/plugins/filters/condition/between.mjs +11 -12
- package/plugins/filters/condition/byValue.d.mts +1 -0
- package/plugins/filters/condition/byValue.d.ts +19 -0
- package/plugins/filters/condition/contains.d.mts +1 -0
- package/plugins/filters/condition/contains.d.ts +19 -0
- package/plugins/filters/condition/contains.js +2 -1
- package/plugins/filters/condition/contains.mjs +2 -1
- package/plugins/filters/condition/date/after.d.mts +1 -0
- package/plugins/filters/condition/date/after.d.ts +19 -0
- package/plugins/filters/condition/date/after.js +5 -10
- package/plugins/filters/condition/date/after.mjs +5 -5
- package/plugins/filters/condition/date/afterOrEqual.d.mts +1 -0
- package/plugins/filters/condition/date/afterOrEqual.d.ts +19 -0
- package/plugins/filters/condition/date/afterOrEqual.js +76 -0
- package/plugins/filters/condition/date/afterOrEqual.mjs +22 -0
- package/plugins/filters/condition/date/before.d.mts +1 -0
- package/plugins/filters/condition/date/before.d.ts +19 -0
- package/plugins/filters/condition/date/before.js +5 -10
- package/plugins/filters/condition/date/before.mjs +5 -5
- package/plugins/filters/condition/date/beforeOrEqual.d.mts +1 -0
- package/plugins/filters/condition/date/beforeOrEqual.d.ts +19 -0
- package/plugins/filters/condition/date/beforeOrEqual.js +76 -0
- package/plugins/filters/condition/date/beforeOrEqual.mjs +22 -0
- package/plugins/filters/condition/date/today.d.mts +1 -0
- package/plugins/filters/condition/date/today.d.ts +17 -0
- package/plugins/filters/condition/date/today.js +4 -9
- package/plugins/filters/condition/date/today.mjs +4 -4
- package/plugins/filters/condition/date/tomorrow.d.mts +1 -0
- package/plugins/filters/condition/date/tomorrow.d.ts +17 -0
- package/plugins/filters/condition/date/tomorrow.js +4 -9
- package/plugins/filters/condition/date/tomorrow.mjs +4 -4
- package/plugins/filters/condition/date/yesterday.d.mts +1 -0
- package/plugins/filters/condition/date/yesterday.d.ts +17 -0
- package/plugins/filters/condition/date/yesterday.js +4 -9
- package/plugins/filters/condition/date/yesterday.mjs +4 -4
- package/plugins/filters/condition/empty.d.mts +1 -0
- package/plugins/filters/condition/empty.d.ts +17 -0
- package/plugins/filters/condition/endsWith.d.mts +1 -0
- package/plugins/filters/condition/endsWith.d.ts +19 -0
- package/plugins/filters/condition/endsWith.js +2 -1
- package/plugins/filters/condition/endsWith.mjs +2 -1
- package/plugins/filters/condition/equal.d.mts +1 -0
- package/plugins/filters/condition/equal.d.ts +19 -0
- package/plugins/filters/condition/equal.js +2 -1
- package/plugins/filters/condition/equal.mjs +2 -1
- package/plugins/filters/condition/false.d.mts +1 -0
- package/plugins/filters/condition/false.d.ts +5 -0
- package/plugins/filters/condition/greaterThan.d.mts +1 -0
- package/plugins/filters/condition/greaterThan.d.ts +19 -0
- package/plugins/filters/condition/greaterThan.js +1 -1
- package/plugins/filters/condition/greaterThan.mjs +1 -1
- package/plugins/filters/condition/greaterThanOrEqual.d.mts +1 -0
- package/plugins/filters/condition/greaterThanOrEqual.d.ts +19 -0
- package/plugins/filters/condition/greaterThanOrEqual.js +1 -1
- package/plugins/filters/condition/greaterThanOrEqual.mjs +1 -1
- package/plugins/filters/condition/intlDate/after.d.mts +1 -0
- package/plugins/filters/condition/intlDate/after.d.ts +16 -0
- package/plugins/filters/condition/intlDate/after.js +1 -1
- package/plugins/filters/condition/intlDate/after.mjs +2 -5
- package/plugins/filters/condition/intlDate/afterOrEqual.d.mts +1 -0
- package/plugins/filters/condition/intlDate/afterOrEqual.d.ts +13 -0
- package/plugins/filters/condition/intlDate/afterOrEqual.js +77 -0
- package/plugins/filters/condition/intlDate/afterOrEqual.mjs +23 -0
- package/plugins/filters/condition/intlDate/before.d.mts +1 -0
- package/plugins/filters/condition/intlDate/before.d.ts +18 -0
- package/plugins/filters/condition/intlDate/before.js +1 -1
- package/plugins/filters/condition/intlDate/before.mjs +4 -5
- package/plugins/filters/condition/intlDate/beforeOrEqual.d.mts +1 -0
- package/plugins/filters/condition/intlDate/beforeOrEqual.d.ts +13 -0
- package/plugins/filters/condition/intlDate/beforeOrEqual.js +77 -0
- package/plugins/filters/condition/intlDate/beforeOrEqual.mjs +23 -0
- package/plugins/filters/condition/intlDate/between.d.mts +1 -0
- package/plugins/filters/condition/intlDate/between.d.ts +14 -0
- package/plugins/filters/condition/intlDate/between.js +8 -9
- package/plugins/filters/condition/intlDate/between.mjs +9 -10
- package/plugins/filters/condition/intlDate/today.d.mts +1 -0
- package/plugins/filters/condition/intlDate/today.d.ts +17 -0
- package/plugins/filters/condition/intlDate/today.mjs +2 -2
- package/plugins/filters/condition/intlDate/tomorrow.d.mts +1 -0
- package/plugins/filters/condition/intlDate/tomorrow.d.ts +17 -0
- package/plugins/filters/condition/intlDate/tomorrow.mjs +2 -2
- package/plugins/filters/condition/intlDate/yesterday.d.mts +1 -0
- package/plugins/filters/condition/intlDate/yesterday.d.ts +16 -0
- package/plugins/filters/condition/intlDate/yesterday.mjs +1 -2
- package/plugins/filters/condition/intlTime/after.d.mts +1 -0
- package/plugins/filters/condition/intlTime/after.d.ts +18 -0
- package/plugins/filters/condition/intlTime/after.js +1 -1
- package/plugins/filters/condition/intlTime/after.mjs +4 -5
- package/plugins/filters/condition/intlTime/afterOrEqual.d.mts +1 -0
- package/plugins/filters/condition/intlTime/afterOrEqual.d.ts +19 -0
- package/plugins/filters/condition/intlTime/afterOrEqual.js +77 -0
- package/plugins/filters/condition/intlTime/afterOrEqual.mjs +23 -0
- package/plugins/filters/condition/intlTime/before.d.mts +1 -0
- package/plugins/filters/condition/intlTime/before.d.ts +16 -0
- package/plugins/filters/condition/intlTime/before.js +1 -1
- package/plugins/filters/condition/intlTime/before.mjs +2 -5
- package/plugins/filters/condition/intlTime/beforeOrEqual.d.mts +1 -0
- package/plugins/filters/condition/intlTime/beforeOrEqual.d.ts +19 -0
- package/plugins/filters/condition/intlTime/beforeOrEqual.js +77 -0
- package/plugins/filters/condition/intlTime/beforeOrEqual.mjs +23 -0
- package/plugins/filters/condition/intlTime/between.d.mts +1 -0
- package/plugins/filters/condition/intlTime/between.d.ts +18 -0
- package/plugins/filters/condition/intlTime/between.js +8 -9
- package/plugins/filters/condition/intlTime/between.mjs +12 -15
- package/plugins/filters/condition/lessThan.d.mts +1 -0
- package/plugins/filters/condition/lessThan.d.ts +19 -0
- package/plugins/filters/condition/lessThan.js +1 -1
- package/plugins/filters/condition/lessThan.mjs +1 -1
- package/plugins/filters/condition/lessThanOrEqual.d.mts +1 -0
- package/plugins/filters/condition/lessThanOrEqual.d.ts +19 -0
- package/plugins/filters/condition/lessThanOrEqual.js +1 -1
- package/plugins/filters/condition/lessThanOrEqual.mjs +1 -1
- package/plugins/filters/condition/none.d.mts +1 -0
- package/plugins/filters/condition/none.d.ts +5 -0
- package/plugins/filters/condition/notBetween.d.mts +1 -0
- package/plugins/filters/condition/notBetween.d.ts +18 -0
- package/plugins/filters/condition/notContains.d.mts +1 -0
- package/plugins/filters/condition/notContains.d.ts +18 -0
- package/plugins/filters/condition/notEmpty.d.mts +1 -0
- package/plugins/filters/condition/notEmpty.d.ts +18 -0
- package/plugins/filters/condition/notEqual.d.mts +1 -0
- package/plugins/filters/condition/notEqual.d.ts +18 -0
- package/plugins/filters/condition/true.d.mts +1 -0
- package/plugins/filters/condition/true.d.ts +5 -0
- package/plugins/filters/conditionCollection.d.mts +2 -0
- package/plugins/filters/conditionCollection.d.ts +142 -32
- package/plugins/filters/conditionCollection.js +11 -5
- package/plugins/filters/conditionCollection.mjs +11 -5
- package/plugins/filters/conditionRegisterer.d.mts +1 -0
- package/plugins/filters/conditionRegisterer.d.ts +36 -0
- package/plugins/filters/conditionRegisterer.js +5 -5
- package/plugins/filters/conditionRegisterer.mjs +5 -5
- package/plugins/filters/conditionUpdateObserver.d.mts +2 -0
- package/plugins/filters/conditionUpdateObserver.d.ts +87 -5
- package/plugins/filters/conditionUpdateObserver.js +14 -8
- package/plugins/filters/conditionUpdateObserver.mjs +14 -8
- package/plugins/filters/constants.d.mts +2 -0
- package/plugins/filters/constants.d.ts +48 -0
- package/plugins/filters/constants.js +22 -4
- package/plugins/filters/constants.mjs +18 -6
- package/plugins/filters/dataFilter.d.mts +2 -0
- package/plugins/filters/dataFilter.d.ts +52 -0
- package/plugins/filters/dataFilter.js +3 -1
- package/plugins/filters/dataFilter.mjs +3 -1
- package/plugins/filters/filters.d.mts +1 -0
- package/plugins/filters/filters.d.ts +708 -53
- package/plugins/filters/filters.js +276 -166
- package/plugins/filters/filters.mjs +277 -167
- package/plugins/filters/index.d.mts +1 -0
- package/plugins/filters/index.d.ts +2 -1
- package/plugins/filters/logicalOperationRegisterer.d.mts +1 -0
- package/plugins/filters/logicalOperationRegisterer.d.ts +26 -0
- package/plugins/filters/logicalOperations/conjunction.d.mts +1 -0
- package/plugins/filters/logicalOperations/conjunction.d.ts +10 -0
- package/plugins/filters/logicalOperations/disjunction.d.mts +1 -0
- package/plugins/filters/logicalOperations/disjunction.d.ts +10 -0
- package/plugins/filters/logicalOperations/disjunctionWithExtraCondition.d.mts +1 -0
- package/plugins/filters/logicalOperations/disjunctionWithExtraCondition.d.ts +10 -0
- package/plugins/filters/logicalOperations/disjunctionWithExtraCondition.js +3 -1
- package/plugins/filters/logicalOperations/disjunctionWithExtraCondition.mjs +3 -1
- package/plugins/filters/menu/focusController.d.mts +1 -0
- package/plugins/filters/menu/focusController.d.ts +34 -0
- package/plugins/filters/menu/focusNavigator.d.mts +1 -0
- package/plugins/filters/menu/focusNavigator.d.ts +17 -0
- package/plugins/filters/menu/focusNavigator.js +2 -1
- package/plugins/filters/menu/focusNavigator.mjs +3 -2
- package/plugins/filters/sortComparators.d.mts +1 -0
- package/plugins/filters/sortComparators.d.ts +16 -0
- package/plugins/filters/sortComparators.js +55 -0
- package/plugins/filters/sortComparators.mjs +49 -0
- package/plugins/filters/ui/_base.d.mts +1 -0
- package/plugins/filters/ui/_base.d.ts +122 -0
- package/plugins/filters/ui/_base.js +45 -21
- package/plugins/filters/ui/_base.mjs +45 -21
- package/plugins/filters/ui/input.d.mts +1 -0
- package/plugins/filters/ui/input.d.ts +34 -0
- package/plugins/filters/ui/input.js +17 -9
- package/plugins/filters/ui/input.mjs +18 -10
- package/plugins/filters/ui/link.d.mts +1 -0
- package/plugins/filters/ui/link.d.ts +34 -0
- package/plugins/filters/ui/link.js +16 -7
- package/plugins/filters/ui/link.mjs +16 -7
- package/plugins/filters/ui/multipleSelect.d.mts +2 -0
- package/plugins/filters/ui/multipleSelect.d.ts +111 -0
- package/plugins/filters/ui/multipleSelect.js +80 -62
- package/plugins/filters/ui/multipleSelect.mjs +81 -63
- package/plugins/filters/ui/radioInput.d.mts +1 -0
- package/plugins/filters/ui/radioInput.d.ts +42 -0
- package/plugins/filters/ui/radioInput.js +20 -9
- package/plugins/filters/ui/radioInput.mjs +20 -9
- package/plugins/filters/ui/select.d.mts +1 -0
- package/plugins/filters/ui/select.d.ts +73 -0
- package/plugins/filters/ui/select.js +48 -32
- package/plugins/filters/ui/select.mjs +48 -32
- package/plugins/filters/utils.d.mts +1 -0
- package/plugins/filters/utils.d.ts +44 -0
- package/plugins/filters/utils.js +4 -3
- package/plugins/filters/utils.mjs +7 -4
- package/plugins/formulas/engine/register.d.mts +1 -0
- package/plugins/formulas/engine/register.d.ts +63 -0
- package/plugins/formulas/engine/register.js +19 -12
- package/plugins/formulas/engine/register.mjs +19 -12
- package/plugins/formulas/engine/settings.d.mts +1 -0
- package/plugins/formulas/engine/settings.d.ts +101 -0
- package/plugins/formulas/engine/settings.js +8 -5
- package/plugins/formulas/engine/settings.mjs +8 -5
- package/plugins/formulas/engine/types.d.mts +1 -0
- package/plugins/formulas/engine/types.d.ts +73 -0
- package/plugins/formulas/engine/types.js +7 -0
- package/plugins/formulas/engine/types.mjs +7 -0
- package/plugins/formulas/formulas.d.mts +1 -0
- package/plugins/formulas/formulas.d.ts +170 -40
- package/plugins/formulas/formulas.js +699 -509
- package/plugins/formulas/formulas.mjs +700 -510
- package/plugins/formulas/index.d.mts +1 -0
- package/plugins/formulas/index.d.ts +1 -1
- package/plugins/formulas/indexSyncer/axisSyncer.d.mts +2 -0
- package/plugins/formulas/indexSyncer/axisSyncer.d.ts +94 -0
- package/plugins/formulas/indexSyncer/axisSyncer.js +91 -25
- package/plugins/formulas/indexSyncer/axisSyncer.mjs +91 -25
- package/plugins/formulas/indexSyncer/index.d.mts +2 -0
- package/plugins/formulas/indexSyncer/index.d.ts +71 -0
- package/plugins/formulas/indexSyncer/index.js +25 -23
- package/plugins/formulas/indexSyncer/index.mjs +25 -23
- package/plugins/formulas/utils.d.mts +1 -0
- package/plugins/formulas/utils.d.ts +76 -0
- package/plugins/formulas/utils.js +30 -20
- package/plugins/formulas/utils.mjs +42 -26
- package/plugins/hiddenColumns/contextMenuItem/hideColumn.d.mts +2 -0
- package/plugins/hiddenColumns/contextMenuItem/hideColumn.d.ts +12 -0
- package/plugins/hiddenColumns/contextMenuItem/hideColumn.js +9 -2
- package/plugins/hiddenColumns/contextMenuItem/hideColumn.mjs +9 -2
- package/plugins/hiddenColumns/contextMenuItem/showColumn.d.mts +2 -0
- package/plugins/hiddenColumns/contextMenuItem/showColumn.d.ts +12 -0
- package/plugins/hiddenColumns/contextMenuItem/showColumn.js +13 -6
- package/plugins/hiddenColumns/contextMenuItem/showColumn.mjs +13 -6
- package/plugins/hiddenColumns/hiddenColumns.d.mts +1 -0
- package/plugins/hiddenColumns/hiddenColumns.d.ts +264 -20
- package/plugins/hiddenColumns/hiddenColumns.js +134 -100
- package/plugins/hiddenColumns/hiddenColumns.mjs +136 -102
- package/plugins/hiddenColumns/index.d.mts +1 -0
- package/plugins/hiddenColumns/index.d.ts +1 -1
- package/plugins/hiddenRows/contextMenuItem/hideRow.d.mts +2 -0
- package/plugins/hiddenRows/contextMenuItem/hideRow.d.ts +12 -0
- package/plugins/hiddenRows/contextMenuItem/hideRow.js +9 -2
- package/plugins/hiddenRows/contextMenuItem/hideRow.mjs +9 -2
- package/plugins/hiddenRows/contextMenuItem/showRow.d.mts +2 -0
- package/plugins/hiddenRows/contextMenuItem/showRow.d.ts +12 -0
- package/plugins/hiddenRows/contextMenuItem/showRow.js +15 -6
- package/plugins/hiddenRows/contextMenuItem/showRow.mjs +15 -6
- package/plugins/hiddenRows/hiddenRows.d.mts +1 -0
- package/plugins/hiddenRows/hiddenRows.d.ts +264 -20
- package/plugins/hiddenRows/hiddenRows.js +127 -93
- package/plugins/hiddenRows/hiddenRows.mjs +129 -95
- package/plugins/hiddenRows/index.d.mts +1 -0
- package/plugins/hiddenRows/index.d.ts +1 -1
- package/plugins/index.d.mts +1 -0
- package/plugins/index.d.ts +56 -91
- package/plugins/index.mjs +2 -2
- package/plugins/loading/content.d.mts +1 -0
- package/plugins/loading/content.d.ts +18 -0
- package/plugins/loading/index.d.mts +1 -0
- package/plugins/loading/index.d.ts +1 -1
- package/plugins/loading/loading.d.mts +1 -0
- package/plugins/loading/loading.d.ts +171 -17
- package/plugins/loading/loading.js +12 -4
- package/plugins/loading/loading.mjs +12 -4
- package/plugins/manualColumnFreeze/contextMenuItem/freezeColumn.d.mts +2 -0
- package/plugins/manualColumnFreeze/contextMenuItem/freezeColumn.d.ts +15 -0
- package/plugins/manualColumnFreeze/contextMenuItem/freezeColumn.js +3 -2
- package/plugins/manualColumnFreeze/contextMenuItem/freezeColumn.mjs +3 -2
- package/plugins/manualColumnFreeze/contextMenuItem/unfreezeColumn.d.mts +2 -0
- package/plugins/manualColumnFreeze/contextMenuItem/unfreezeColumn.d.ts +15 -0
- package/plugins/manualColumnFreeze/contextMenuItem/unfreezeColumn.js +9 -3
- package/plugins/manualColumnFreeze/contextMenuItem/unfreezeColumn.mjs +9 -3
- package/plugins/manualColumnFreeze/index.d.mts +1 -0
- package/plugins/manualColumnFreeze/index.d.ts +1 -1
- package/plugins/manualColumnFreeze/manualColumnFreeze.d.mts +1 -0
- package/plugins/manualColumnFreeze/manualColumnFreeze.d.ts +63 -9
- package/plugins/manualColumnFreeze/manualColumnFreeze.js +33 -24
- package/plugins/manualColumnFreeze/manualColumnFreeze.mjs +34 -25
- package/plugins/manualColumnMove/index.d.mts +1 -0
- package/plugins/manualColumnMove/index.d.ts +1 -1
- package/plugins/manualColumnMove/manualColumnMove.d.mts +1 -0
- package/plugins/manualColumnMove/manualColumnMove.d.ts +192 -12
- package/plugins/manualColumnMove/manualColumnMove.js +187 -135
- package/plugins/manualColumnMove/manualColumnMove.mjs +189 -137
- package/plugins/manualColumnMove/ui/_base.d.mts +2 -0
- package/plugins/manualColumnMove/ui/_base.d.ts +112 -0
- package/plugins/manualColumnMove/ui/_base.js +12 -9
- package/plugins/manualColumnMove/ui/_base.mjs +12 -9
- package/plugins/manualColumnMove/ui/backlight.d.mts +2 -0
- package/plugins/manualColumnMove/ui/backlight.d.ts +12 -0
- package/plugins/manualColumnMove/ui/guideline.d.mts +2 -0
- package/plugins/manualColumnMove/ui/guideline.d.ts +12 -0
- package/plugins/manualColumnResize/index.d.mts +1 -0
- package/plugins/manualColumnResize/index.d.ts +1 -1
- package/plugins/manualColumnResize/manualColumnResize.d.mts +1 -0
- package/plugins/manualColumnResize/manualColumnResize.d.ts +153 -28
- package/plugins/manualColumnResize/manualColumnResize.js +118 -55
- package/plugins/manualColumnResize/manualColumnResize.mjs +121 -58
- package/plugins/manualColumnResize/utils.d.mts +1 -0
- package/plugins/manualColumnResize/utils.d.ts +1 -0
- package/plugins/manualColumnResize/utils.js +6 -0
- package/plugins/manualColumnResize/utils.mjs +1 -1
- package/plugins/manualResize/utils.d.mts +1 -0
- package/plugins/manualResize/utils.d.ts +36 -0
- package/plugins/manualResize/utils.js +12 -0
- package/plugins/manualResize/utils.mjs +18 -0
- package/plugins/manualRowMove/index.d.mts +1 -0
- package/plugins/manualRowMove/index.d.ts +1 -1
- package/plugins/manualRowMove/manualRowMove.d.mts +1 -0
- package/plugins/manualRowMove/manualRowMove.d.ts +204 -12
- package/plugins/manualRowMove/manualRowMove.js +142 -102
- package/plugins/manualRowMove/manualRowMove.mjs +143 -103
- package/plugins/manualRowMove/ui/_base.d.mts +2 -0
- package/plugins/manualRowMove/ui/_base.d.ts +104 -0
- package/plugins/manualRowMove/ui/_base.js +12 -10
- package/plugins/manualRowMove/ui/_base.mjs +12 -10
- package/plugins/manualRowMove/ui/backlight.d.mts +2 -0
- package/plugins/manualRowMove/ui/backlight.d.ts +12 -0
- package/plugins/manualRowMove/ui/guideline.d.mts +2 -0
- package/plugins/manualRowMove/ui/guideline.d.ts +12 -0
- package/plugins/manualRowResize/index.d.mts +1 -0
- package/plugins/manualRowResize/index.d.ts +1 -1
- package/plugins/manualRowResize/manualRowResize.d.mts +1 -0
- package/plugins/manualRowResize/manualRowResize.d.ts +157 -28
- package/plugins/manualRowResize/manualRowResize.js +109 -50
- package/plugins/manualRowResize/manualRowResize.mjs +112 -53
- package/plugins/mergeCells/calculations/autofill.d.mts +2 -0
- package/plugins/mergeCells/calculations/autofill.d.ts +128 -0
- package/plugins/mergeCells/calculations/autofill.js +35 -30
- package/plugins/mergeCells/calculations/autofill.mjs +35 -30
- package/plugins/mergeCells/calculations/selection.d.mts +2 -0
- package/plugins/mergeCells/calculations/selection.d.ts +69 -0
- package/plugins/mergeCells/calculations/selection.js +14 -9
- package/plugins/mergeCells/calculations/selection.mjs +9 -4
- package/plugins/mergeCells/cellCoords.d.mts +2 -0
- package/plugins/mergeCells/cellCoords.d.ts +218 -0
- package/plugins/mergeCells/cellCoords.js +3 -1
- package/plugins/mergeCells/cellCoords.mjs +3 -1
- package/plugins/mergeCells/cellsCollection.d.mts +2 -0
- package/plugins/mergeCells/cellsCollection.d.ts +220 -0
- package/plugins/mergeCells/cellsCollection.js +132 -8
- package/plugins/mergeCells/cellsCollection.mjs +132 -8
- package/plugins/mergeCells/contextMenuItem/toggleMerge.d.mts +2 -0
- package/plugins/mergeCells/contextMenuItem/toggleMerge.d.ts +22 -0
- package/plugins/mergeCells/contextMenuItem/toggleMerge.js +5 -3
- package/plugins/mergeCells/contextMenuItem/toggleMerge.mjs +5 -3
- package/plugins/mergeCells/focusOrder.d.mts +1 -0
- package/plugins/mergeCells/focusOrder.d.ts +101 -0
- package/plugins/mergeCells/focusOrder.js +50 -43
- package/plugins/mergeCells/focusOrder.mjs +50 -43
- package/plugins/mergeCells/index.d.mts +1 -0
- package/plugins/mergeCells/index.d.ts +1 -1
- package/plugins/mergeCells/mergeCells.d.mts +1 -0
- package/plugins/mergeCells/mergeCells.d.ts +305 -25
- package/plugins/mergeCells/mergeCells.js +794 -563
- package/plugins/mergeCells/mergeCells.mjs +795 -564
- package/plugins/mergeCells/renderer.d.mts +1 -0
- package/plugins/mergeCells/renderer.d.ts +31 -0
- package/plugins/mergeCells/renderer.js +36 -21
- package/plugins/mergeCells/renderer.mjs +36 -23
- package/plugins/mergeCells/utils.d.mts +1 -0
- package/plugins/mergeCells/utils.d.ts +10 -0
- package/plugins/mergeCells/utils.js +1 -8
- package/plugins/multiColumnSorting/domHelpers.d.mts +1 -0
- package/plugins/multiColumnSorting/domHelpers.d.ts +17 -0
- package/plugins/multiColumnSorting/index.d.mts +1 -0
- package/plugins/multiColumnSorting/index.d.ts +1 -1
- package/plugins/multiColumnSorting/multiColumnSorting.d.mts +1 -0
- package/plugins/multiColumnSorting/multiColumnSorting.d.ts +203 -6
- package/plugins/multiColumnSorting/multiColumnSorting.js +28 -18
- package/plugins/multiColumnSorting/multiColumnSorting.mjs +27 -17
- package/plugins/multiColumnSorting/rootComparator.d.mts +1 -0
- package/plugins/multiColumnSorting/rootComparator.d.ts +8 -0
- package/plugins/multipleSelectionHandles/index.d.mts +1 -0
- package/plugins/multipleSelectionHandles/index.d.ts +1 -1
- package/plugins/multipleSelectionHandles/multipleSelectionHandles.d.mts +1 -0
- package/plugins/multipleSelectionHandles/multipleSelectionHandles.d.ts +63 -26
- package/plugins/multipleSelectionHandles/multipleSelectionHandles.js +71 -51
- package/plugins/multipleSelectionHandles/multipleSelectionHandles.mjs +72 -52
- package/plugins/nestedHeaders/index.d.mts +1 -0
- package/plugins/nestedHeaders/index.d.ts +2 -1
- package/plugins/nestedHeaders/nestedHeaders.d.mts +1 -0
- package/plugins/nestedHeaders/nestedHeaders.d.ts +182 -16
- package/plugins/nestedHeaders/nestedHeaders.js +692 -658
- package/plugins/nestedHeaders/nestedHeaders.mjs +693 -659
- package/plugins/nestedHeaders/stateManager/columnVisibility.d.mts +1 -0
- package/plugins/nestedHeaders/stateManager/columnVisibility.d.ts +17 -0
- package/plugins/nestedHeaders/stateManager/columnVisibility.js +21 -0
- package/plugins/nestedHeaders/stateManager/columnVisibility.mjs +15 -0
- package/plugins/nestedHeaders/stateManager/headersTree.d.mts +2 -0
- package/plugins/nestedHeaders/stateManager/headersTree.d.ts +94 -0
- package/plugins/nestedHeaders/stateManager/headersTree.js +36 -29
- package/plugins/nestedHeaders/stateManager/headersTree.mjs +40 -61
- package/plugins/nestedHeaders/stateManager/index.d.mts +2 -0
- package/plugins/nestedHeaders/stateManager/index.d.ts +211 -0
- package/plugins/nestedHeaders/stateManager/index.js +241 -114
- package/plugins/nestedHeaders/stateManager/index.mjs +239 -135
- package/plugins/nestedHeaders/stateManager/matrixGenerator.d.mts +1 -0
- package/plugins/nestedHeaders/stateManager/matrixGenerator.d.ts +32 -0
- package/plugins/nestedHeaders/stateManager/matrixGenerator.js +2 -2
- package/plugins/nestedHeaders/stateManager/matrixGenerator.mjs +2 -2
- package/plugins/nestedHeaders/stateManager/nodeModifiers/collapse.d.mts +1 -0
- package/plugins/nestedHeaders/stateManager/nodeModifiers/collapse.d.ts +11 -0
- package/plugins/nestedHeaders/stateManager/nodeModifiers/collapse.js +63 -17
- package/plugins/nestedHeaders/stateManager/nodeModifiers/collapse.mjs +66 -30
- package/plugins/nestedHeaders/stateManager/nodeModifiers/expand.d.mts +1 -0
- package/plugins/nestedHeaders/stateManager/nodeModifiers/expand.d.ts +11 -0
- package/plugins/nestedHeaders/stateManager/nodeModifiers/expand.js +34 -15
- package/plugins/nestedHeaders/stateManager/nodeModifiers/expand.mjs +37 -27
- package/plugins/nestedHeaders/stateManager/nodeModifiers/index.d.mts +1 -0
- package/plugins/nestedHeaders/stateManager/nodeModifiers/index.d.ts +19 -0
- package/plugins/nestedHeaders/stateManager/nodeModifiers/index.js +3 -12
- package/plugins/nestedHeaders/stateManager/nodeModifiers/index.mjs +5 -20
- package/plugins/nestedHeaders/stateManager/nodeModifiers/utils/tree.d.mts +1 -0
- package/plugins/nestedHeaders/stateManager/nodeModifiers/utils/tree.d.ts +53 -0
- package/plugins/nestedHeaders/stateManager/nodeModifiers/utils/tree.js +32 -18
- package/plugins/nestedHeaders/stateManager/nodeModifiers/utils/tree.mjs +46 -21
- package/plugins/nestedHeaders/stateManager/settingsNormalizer.d.mts +1 -0
- package/plugins/nestedHeaders/stateManager/settingsNormalizer.d.ts +39 -0
- package/plugins/nestedHeaders/stateManager/settingsNormalizer.js +19 -7
- package/plugins/nestedHeaders/stateManager/settingsNormalizer.mjs +19 -7
- package/plugins/nestedHeaders/stateManager/sourceSettings.d.mts +2 -0
- package/plugins/nestedHeaders/stateManager/sourceSettings.d.ts +117 -0
- package/plugins/nestedHeaders/stateManager/sourceSettings.js +85 -16
- package/plugins/nestedHeaders/stateManager/sourceSettings.mjs +85 -16
- package/plugins/nestedHeaders/stateManager/syncVisibility.d.mts +1 -0
- package/plugins/nestedHeaders/stateManager/syncVisibility.d.ts +15 -0
- package/plugins/nestedHeaders/stateManager/syncVisibility.js +27 -0
- package/plugins/nestedHeaders/stateManager/syncVisibility.mjs +27 -0
- package/plugins/nestedHeaders/stateManager/utils.d.mts +1 -0
- package/plugins/nestedHeaders/stateManager/utils.d.ts +81 -0
- package/plugins/nestedHeaders/stateManager/utils.js +9 -5
- package/plugins/nestedHeaders/stateManager/utils.mjs +11 -2
- package/plugins/nestedHeaders/utils/ghostTable.d.mts +2 -0
- package/plugins/nestedHeaders/utils/ghostTable.d.ts +76 -0
- package/plugins/nestedHeaders/utils/ghostTable.js +34 -64
- package/plugins/nestedHeaders/utils/ghostTable.mjs +34 -64
- package/plugins/nestedHeaders/utils/navigation.d.mts +1 -0
- package/plugins/nestedHeaders/utils/navigation.d.ts +18 -0
- package/plugins/nestedHeaders/utils/navigation.js +1 -10
- package/plugins/nestedRows/data/dataManager.d.mts +2 -0
- package/plugins/nestedRows/data/dataManager.d.ts +310 -0
- package/plugins/nestedRows/data/dataManager.js +54 -37
- package/plugins/nestedRows/data/dataManager.mjs +54 -37
- package/plugins/nestedRows/index.d.mts +1 -0
- package/plugins/nestedRows/index.d.ts +1 -1
- package/plugins/nestedRows/nestedRows.d.mts +1 -0
- package/plugins/nestedRows/nestedRows.d.ts +141 -10
- package/plugins/nestedRows/nestedRows.js +214 -158
- package/plugins/nestedRows/nestedRows.mjs +213 -157
- package/plugins/nestedRows/ui/_base.d.mts +2 -0
- package/plugins/nestedRows/ui/_base.d.ts +25 -0
- package/plugins/nestedRows/ui/_base.js +3 -1
- package/plugins/nestedRows/ui/_base.mjs +3 -1
- package/plugins/nestedRows/ui/collapsing.d.mts +2 -0
- package/plugins/nestedRows/ui/collapsing.d.ts +199 -0
- package/plugins/nestedRows/ui/collapsing.js +23 -23
- package/plugins/nestedRows/ui/collapsing.mjs +24 -24
- package/plugins/nestedRows/ui/contextMenu.d.mts +2 -0
- package/plugins/nestedRows/ui/contextMenu.d.ts +63 -0
- package/plugins/nestedRows/ui/contextMenu.js +11 -8
- package/plugins/nestedRows/ui/contextMenu.mjs +11 -8
- package/plugins/nestedRows/ui/headers.d.mts +2 -0
- package/plugins/nestedRows/ui/headers.d.ts +81 -0
- package/plugins/nestedRows/ui/headers.js +3 -1
- package/plugins/nestedRows/ui/headers.mjs +3 -1
- package/plugins/nestedRows/utils/isValidDataSource.d.mts +1 -0
- package/plugins/nestedRows/utils/isValidDataSource.d.ts +7 -0
- package/plugins/nestedRows/utils/rowMoveController.d.mts +2 -0
- package/plugins/nestedRows/utils/rowMoveController.d.ts +156 -0
- package/plugins/nestedRows/utils/rowMoveController.js +22 -11
- package/plugins/nestedRows/utils/rowMoveController.mjs +22 -11
- package/plugins/notification/constants.d.mts +1 -0
- package/plugins/notification/constants.d.ts +8 -0
- package/plugins/notification/constants.mjs +1 -5
- package/plugins/notification/index.d.mts +1 -0
- package/plugins/notification/index.d.ts +2 -1
- package/plugins/notification/notification.d.mts +1 -0
- package/plugins/notification/notification.d.ts +145 -43
- package/plugins/notification/notification.js +45 -34
- package/plugins/notification/notification.mjs +45 -34
- package/plugins/notification/ui.d.mts +1 -0
- package/plugins/notification/ui.d.ts +71 -0
- package/plugins/notification/ui.js +15 -14
- package/plugins/notification/ui.mjs +15 -14
- package/plugins/pagination/index.d.mts +1 -0
- package/plugins/pagination/index.d.ts +1 -1
- package/plugins/pagination/pagination.d.mts +1 -0
- package/plugins/pagination/pagination.d.ts +281 -54
- package/plugins/pagination/pagination.js +194 -162
- package/plugins/pagination/pagination.mjs +195 -163
- package/plugins/pagination/strategies/autoPageSize.d.mts +1 -0
- package/plugins/pagination/strategies/autoPageSize.d.ts +45 -0
- package/plugins/pagination/strategies/fixedPageSize.d.mts +1 -0
- package/plugins/pagination/strategies/fixedPageSize.d.ts +60 -0
- package/plugins/pagination/strategies/index.d.mts +1 -0
- package/plugins/pagination/strategies/index.d.ts +15 -0
- package/plugins/pagination/strategies/index.mjs +1 -1
- package/plugins/pagination/ui.d.mts +1 -0
- package/plugins/pagination/ui.d.ts +94 -0
- package/plugins/pagination/ui.js +36 -65
- package/plugins/pagination/ui.mjs +36 -65
- package/plugins/registry.d.mts +1 -0
- package/plugins/registry.d.ts +39 -9
- package/plugins/registry.js +3 -8
- package/plugins/registry.mjs +4 -9
- package/plugins/search/index.d.mts +1 -0
- package/plugins/search/index.d.ts +1 -1
- package/plugins/search/search.d.mts +1 -0
- package/plugins/search/search.d.ts +146 -26
- package/plugins/search/search.js +81 -37
- package/plugins/search/search.mjs +82 -38
- package/plugins/stretchColumns/calculator.d.mts +1 -0
- package/plugins/stretchColumns/calculator.d.ts +31 -0
- package/plugins/stretchColumns/calculator.js +23 -18
- package/plugins/stretchColumns/calculator.mjs +23 -18
- package/plugins/stretchColumns/index.d.mts +1 -0
- package/plugins/stretchColumns/index.d.ts +1 -1
- package/plugins/stretchColumns/strategies/_base.d.mts +1 -0
- package/plugins/stretchColumns/strategies/_base.d.ts +65 -0
- package/plugins/stretchColumns/strategies/_base.js +8 -1
- package/plugins/stretchColumns/strategies/_base.mjs +8 -1
- package/plugins/stretchColumns/strategies/all.d.mts +1 -0
- package/plugins/stretchColumns/strategies/all.d.ts +13 -0
- package/plugins/stretchColumns/strategies/last.d.mts +1 -0
- package/plugins/stretchColumns/strategies/last.d.ts +33 -0
- package/plugins/stretchColumns/stretchColumns.d.mts +1 -0
- package/plugins/stretchColumns/stretchColumns.d.ts +107 -9
- package/plugins/stretchColumns/stretchColumns.js +38 -38
- package/plugins/stretchColumns/stretchColumns.mjs +40 -40
- package/plugins/touchScroll/index.d.mts +1 -0
- package/plugins/touchScroll/index.d.ts +1 -1
- package/plugins/touchScroll/touchScroll.d.mts +1 -0
- package/plugins/touchScroll/touchScroll.d.ts +71 -11
- package/plugins/touchScroll/touchScroll.js +113 -76
- package/plugins/touchScroll/touchScroll.mjs +113 -76
- package/plugins/trimRows/index.d.mts +1 -0
- package/plugins/trimRows/index.d.ts +1 -1
- package/plugins/trimRows/trimRows.d.mts +1 -0
- package/plugins/trimRows/trimRows.d.ts +249 -15
- package/plugins/trimRows/trimRows.js +57 -24
- package/plugins/trimRows/trimRows.mjs +59 -26
- package/plugins/types.d.mts +1 -0
- package/plugins/types.d.ts +91 -0
- package/plugins/types.js +10 -0
- package/plugins/types.mjs +10 -0
- package/plugins/undoRedo/actions/_base.d.mts +1 -0
- package/plugins/undoRedo/actions/_base.d.ts +24 -0
- package/plugins/undoRedo/actions/_base.js +9 -3
- package/plugins/undoRedo/actions/_base.mjs +9 -3
- package/plugins/undoRedo/actions/cellAlignment.d.mts +1 -0
- package/plugins/undoRedo/actions/cellAlignment.d.ts +51 -0
- package/plugins/undoRedo/actions/cellAlignment.js +9 -4
- package/plugins/undoRedo/actions/cellAlignment.mjs +9 -4
- package/plugins/undoRedo/actions/columnMove.d.mts +1 -0
- package/plugins/undoRedo/actions/columnMove.d.ts +40 -0
- package/plugins/undoRedo/actions/columnMove.js +8 -4
- package/plugins/undoRedo/actions/columnMove.mjs +8 -4
- package/plugins/undoRedo/actions/columnSort.d.mts +1 -0
- package/plugins/undoRedo/actions/columnSort.d.ts +40 -0
- package/plugins/undoRedo/actions/columnSort.js +6 -2
- package/plugins/undoRedo/actions/columnSort.mjs +6 -2
- package/plugins/undoRedo/actions/createColumn.d.mts +1 -0
- package/plugins/undoRedo/actions/createColumn.d.ts +40 -0
- package/plugins/undoRedo/actions/createColumn.js +6 -2
- package/plugins/undoRedo/actions/createColumn.mjs +6 -2
- package/plugins/undoRedo/actions/createRow.d.mts +1 -0
- package/plugins/undoRedo/actions/createRow.d.ts +40 -0
- package/plugins/undoRedo/actions/createRow.js +8 -4
- package/plugins/undoRedo/actions/createRow.mjs +8 -4
- package/plugins/undoRedo/actions/dataChange.d.mts +1 -0
- package/plugins/undoRedo/actions/dataChange.d.ts +50 -0
- package/plugins/undoRedo/actions/dataChange.js +23 -22
- package/plugins/undoRedo/actions/dataChange.mjs +23 -22
- package/plugins/undoRedo/actions/filters.d.mts +1 -0
- package/plugins/undoRedo/actions/filters.d.ts +40 -0
- package/plugins/undoRedo/actions/filters.js +6 -2
- package/plugins/undoRedo/actions/filters.mjs +6 -2
- package/plugins/undoRedo/actions/index.d.mts +1 -0
- package/plugins/undoRedo/actions/index.d.ts +8 -0
- package/plugins/undoRedo/actions/mergeCells.d.mts +1 -0
- package/plugins/undoRedo/actions/mergeCells.d.ts +41 -0
- package/plugins/undoRedo/actions/mergeCells.js +12 -7
- package/plugins/undoRedo/actions/mergeCells.mjs +12 -7
- package/plugins/undoRedo/actions/removeColumn.d.mts +1 -0
- package/plugins/undoRedo/actions/removeColumn.d.ts +75 -0
- package/plugins/undoRedo/actions/removeColumn.js +22 -13
- package/plugins/undoRedo/actions/removeColumn.mjs +22 -13
- package/plugins/undoRedo/actions/removeRow.d.mts +1 -0
- package/plugins/undoRedo/actions/removeRow.d.ts +77 -0
- package/plugins/undoRedo/actions/removeRow.js +84 -10
- package/plugins/undoRedo/actions/removeRow.mjs +84 -10
- package/plugins/undoRedo/actions/rowMove.d.mts +1 -0
- package/plugins/undoRedo/actions/rowMove.d.ts +40 -0
- package/plugins/undoRedo/actions/rowMove.js +8 -4
- package/plugins/undoRedo/actions/rowMove.mjs +8 -4
- package/plugins/undoRedo/actions/unmergeCells.d.mts +1 -0
- package/plugins/undoRedo/actions/unmergeCells.d.ts +36 -0
- package/plugins/undoRedo/actions/unmergeCells.js +7 -3
- package/plugins/undoRedo/actions/unmergeCells.mjs +7 -3
- package/plugins/undoRedo/index.d.mts +1 -0
- package/plugins/undoRedo/index.d.ts +2 -1
- package/plugins/undoRedo/undoRedo.d.mts +1 -0
- package/plugins/undoRedo/undoRedo.d.ts +137 -80
- package/plugins/undoRedo/undoRedo.js +64 -27
- package/plugins/undoRedo/undoRedo.mjs +64 -27
- package/plugins/undoRedo/utils.d.mts +1 -0
- package/plugins/undoRedo/utils.d.ts +12 -0
- package/registry.d.mts +1 -0
- package/registry.d.ts +10 -6
- package/renderers/autocompleteRenderer/autocompleteRenderer.d.mts +1 -0
- package/renderers/autocompleteRenderer/autocompleteRenderer.d.ts +19 -5
- package/renderers/autocompleteRenderer/autocompleteRenderer.js +1 -1
- package/renderers/autocompleteRenderer/autocompleteRenderer.mjs +2 -2
- package/renderers/autocompleteRenderer/index.d.mts +1 -0
- package/renderers/baseRenderer/baseRenderer.d.mts +1 -0
- package/renderers/baseRenderer/baseRenderer.d.ts +16 -5
- package/renderers/baseRenderer/baseRenderer.js +3 -4
- package/renderers/baseRenderer/baseRenderer.mjs +2 -1
- package/renderers/baseRenderer/index.d.mts +1 -0
- package/renderers/baseRenderer/index.d.ts +12 -1
- package/renderers/checkboxRenderer/checkboxRenderer.d.mts +1 -0
- package/renderers/checkboxRenderer/checkboxRenderer.d.ts +19 -5
- package/renderers/checkboxRenderer/checkboxRenderer.js +95 -73
- package/renderers/checkboxRenderer/checkboxRenderer.mjs +95 -73
- package/renderers/checkboxRenderer/index.d.mts +1 -0
- package/renderers/dateRenderer/dateRenderer.d.mts +1 -0
- package/renderers/dateRenderer/dateRenderer.d.ts +23 -5
- package/renderers/dateRenderer/dateRenderer.js +48 -8
- package/renderers/dateRenderer/dateRenderer.mjs +43 -11
- package/renderers/dateRenderer/index.d.mts +1 -0
- package/renderers/dateRenderer/index.d.ts +1 -1
- package/renderers/dateRenderer/index.js +3 -0
- package/renderers/dateRenderer/index.mjs +1 -1
- package/renderers/dropdownRenderer/dropdownRenderer.d.mts +1 -0
- package/renderers/dropdownRenderer/dropdownRenderer.d.ts +19 -5
- package/renderers/dropdownRenderer/index.d.mts +1 -0
- package/renderers/factory.d.mts +1 -0
- package/renderers/factory.d.ts +47 -20
- package/renderers/factory.js +1 -34
- package/renderers/factory.mjs +1 -34
- package/renderers/handsontableRenderer/handsontableRenderer.d.mts +1 -0
- package/renderers/handsontableRenderer/handsontableRenderer.d.ts +19 -5
- package/renderers/handsontableRenderer/index.d.mts +1 -0
- package/renderers/htmlRenderer/htmlRenderer.d.mts +1 -0
- package/renderers/htmlRenderer/htmlRenderer.d.ts +16 -5
- package/renderers/htmlRenderer/htmlRenderer.js +3 -1
- package/renderers/htmlRenderer/htmlRenderer.mjs +3 -1
- package/renderers/htmlRenderer/index.d.mts +1 -0
- package/renderers/htmlRenderer/index.d.ts +1 -1
- package/renderers/index.d.mts +1 -0
- package/renderers/index.d.ts +13 -51
- package/renderers/index.js +8 -0
- package/renderers/index.mjs +3 -1
- package/renderers/intlDateRenderer/index.d.mts +1 -0
- package/renderers/intlDateRenderer/index.d.ts +1 -1
- package/renderers/intlDateRenderer/intlDateRenderer.d.mts +1 -0
- package/renderers/intlDateRenderer/intlDateRenderer.d.ts +15 -6
- package/renderers/intlDateRenderer/intlDateRenderer.js +9 -27
- package/renderers/intlDateRenderer/intlDateRenderer.mjs +7 -41
- package/renderers/intlTimeRenderer/index.d.mts +1 -0
- package/renderers/intlTimeRenderer/index.d.ts +1 -1
- package/renderers/intlTimeRenderer/intlTimeRenderer.d.mts +1 -0
- package/renderers/intlTimeRenderer/intlTimeRenderer.d.ts +13 -6
- package/renderers/intlTimeRenderer/intlTimeRenderer.js +8 -26
- package/renderers/intlTimeRenderer/intlTimeRenderer.mjs +6 -40
- package/renderers/multiSelectRenderer/index.d.mts +1 -0
- package/renderers/multiSelectRenderer/index.d.ts +1 -0
- package/renderers/multiSelectRenderer/multiSelectRenderer.d.mts +1 -0
- package/renderers/multiSelectRenderer/multiSelectRenderer.d.ts +8 -0
- package/renderers/multiSelectRenderer/multiSelectRenderer.js +3 -12
- package/renderers/multiSelectRenderer/multiSelectRenderer.mjs +6 -24
- package/renderers/multiSelectRenderer/utils/utils.d.mts +1 -0
- package/renderers/multiSelectRenderer/utils/utils.d.ts +36 -0
- package/renderers/multiSelectRenderer/utils/utils.js +29 -29
- package/renderers/multiSelectRenderer/utils/utils.mjs +30 -66
- package/renderers/numericRenderer/index.d.mts +1 -0
- package/renderers/numericRenderer/index.d.ts +1 -1
- package/renderers/numericRenderer/numericRenderer.d.mts +1 -0
- package/renderers/numericRenderer/numericRenderer.d.ts +28 -6
- package/renderers/numericRenderer/numericRenderer.js +10 -10
- package/renderers/numericRenderer/numericRenderer.mjs +12 -12
- package/renderers/numericRenderer/utils.d.mts +1 -0
- package/renderers/numericRenderer/utils.d.ts +8 -0
- package/renderers/numericRenderer/utils.js +12 -39
- package/renderers/numericRenderer/utils.mjs +9 -31
- package/renderers/passwordRenderer/index.d.mts +1 -0
- package/renderers/passwordRenderer/index.d.ts +1 -1
- package/renderers/passwordRenderer/passwordRenderer.d.mts +1 -0
- package/renderers/passwordRenderer/passwordRenderer.d.ts +25 -5
- package/renderers/passwordRenderer/passwordRenderer.js +2 -2
- package/renderers/passwordRenderer/passwordRenderer.mjs +2 -2
- package/renderers/registry.d.mts +1 -0
- package/renderers/registry.d.ts +82 -17
- package/renderers/registry.js +4 -4
- package/renderers/registry.mjs +5 -38
- package/renderers/selectRenderer/index.d.mts +1 -0
- package/renderers/selectRenderer/index.d.ts +1 -1
- package/renderers/selectRenderer/selectRenderer.d.mts +1 -0
- package/renderers/selectRenderer/selectRenderer.d.ts +17 -5
- package/renderers/textRenderer/index.d.mts +1 -0
- package/renderers/textRenderer/index.d.ts +1 -1
- package/renderers/textRenderer/textRenderer.d.mts +1 -0
- package/renderers/textRenderer/textRenderer.d.ts +19 -5
- package/renderers/textRenderer/textRenderer.js +5 -4
- package/renderers/textRenderer/textRenderer.mjs +6 -5
- package/renderers/timeRenderer/index.d.mts +1 -0
- package/renderers/timeRenderer/index.d.ts +1 -1
- package/renderers/timeRenderer/index.js +3 -0
- package/renderers/timeRenderer/index.mjs +1 -1
- package/renderers/timeRenderer/timeRenderer.d.mts +1 -0
- package/renderers/timeRenderer/timeRenderer.d.ts +23 -5
- package/renderers/timeRenderer/timeRenderer.js +42 -6
- package/renderers/timeRenderer/timeRenderer.mjs +36 -8
- package/selection/highlight/highlight.d.mts +2 -0
- package/selection/highlight/highlight.d.ts +313 -0
- package/selection/highlight/highlight.js +19 -12
- package/selection/highlight/highlight.mjs +19 -12
- package/selection/highlight/types/activeHeader.d.mts +1 -0
- package/selection/highlight/types/activeHeader.d.ts +11 -0
- package/selection/highlight/types/area.d.mts +1 -0
- package/selection/highlight/types/area.d.ts +11 -0
- package/selection/highlight/types/areaLayered.d.mts +1 -0
- package/selection/highlight/types/areaLayered.d.ts +9 -0
- package/selection/highlight/types/column.d.mts +1 -0
- package/selection/highlight/types/column.d.ts +11 -0
- package/selection/highlight/types/customSelection.d.mts +1 -0
- package/selection/highlight/types/customSelection.d.ts +11 -0
- package/selection/highlight/types/fill.d.mts +1 -0
- package/selection/highlight/types/fill.d.ts +11 -0
- package/selection/highlight/types/focus.d.mts +1 -0
- package/selection/highlight/types/focus.d.ts +10 -0
- package/selection/highlight/types/header.d.mts +1 -0
- package/selection/highlight/types/header.d.ts +11 -0
- package/selection/highlight/types/row.d.mts +1 -0
- package/selection/highlight/types/row.d.ts +11 -0
- package/selection/highlight/visualSelection.d.mts +2 -0
- package/selection/highlight/visualSelection.d.ts +129 -0
- package/selection/highlight/visualSelection.js +37 -19
- package/selection/highlight/visualSelection.mjs +37 -19
- package/selection/index.d.mts +1 -0
- package/selection/index.d.ts +5 -5
- package/selection/mouseEventHandler.d.mts +1 -0
- package/selection/mouseEventHandler.d.ts +83 -0
- package/selection/mouseEventHandler.js +60 -44
- package/selection/mouseEventHandler.mjs +60 -44
- package/selection/range.d.mts +2 -0
- package/selection/range.d.ts +142 -0
- package/selection/range.js +6 -2
- package/selection/range.mjs +6 -2
- package/selection/selection.d.mts +2 -0
- package/selection/selection.d.ts +437 -0
- package/selection/selection.js +201 -128
- package/selection/selection.mjs +201 -128
- package/selection/transformation/_base.d.mts +1 -0
- package/selection/transformation/_base.d.ts +99 -0
- package/selection/transformation/_base.js +49 -45
- package/selection/transformation/_base.mjs +49 -45
- package/selection/transformation/extender.d.mts +1 -0
- package/selection/transformation/extender.d.ts +40 -0
- package/selection/transformation/focus.d.mts +1 -0
- package/selection/transformation/focus.d.ts +46 -0
- package/selection/transformation/focus.js +11 -9
- package/selection/transformation/focus.mjs +11 -9
- package/selection/transformation/index.d.mts +1 -0
- package/selection/transformation/index.d.ts +2 -0
- package/selection/types.d.mts +1 -0
- package/selection/types.d.ts +68 -0
- package/selection/types.js +6 -0
- package/selection/types.mjs +5 -0
- package/selection/utils.d.mts +1 -0
- package/selection/utils.d.ts +67 -0
- package/selection/utils.js +24 -20
- package/selection/utils.mjs +26 -22
- package/settings.d.mts +1 -0
- package/settings.d.ts +54 -242
- package/settings.js +7 -0
- package/settings.mjs +6 -0
- package/shortcuts/context.d.mts +1 -0
- package/shortcuts/context.d.ts +38 -19
- package/shortcuts/context.js +5 -4
- package/shortcuts/context.mjs +6 -5
- package/shortcuts/contexts/commands/editor/closeAndSave.d.mts +1 -0
- package/shortcuts/contexts/commands/editor/closeAndSave.d.ts +5 -0
- package/shortcuts/contexts/commands/editor/closeAndSaveByArrowKeys.d.mts +1 -0
- package/shortcuts/contexts/commands/editor/closeAndSaveByArrowKeys.d.ts +5 -0
- package/{shortcutContexts → shortcuts/contexts}/commands/editor/closeAndSaveByArrowKeys.js +2 -2
- package/{shortcutContexts → shortcuts/contexts}/commands/editor/closeAndSaveByArrowKeys.mjs +2 -2
- package/shortcuts/contexts/commands/editor/closeAndSaveByEnter.d.mts +1 -0
- package/shortcuts/contexts/commands/editor/closeAndSaveByEnter.d.ts +5 -0
- package/shortcuts/contexts/commands/editor/closeWithoutSaving.d.mts +1 -0
- package/shortcuts/contexts/commands/editor/closeWithoutSaving.d.ts +5 -0
- package/{shortcutContexts → shortcuts/contexts}/commands/editor/closeWithoutSaving.js +1 -1
- package/{shortcutContexts → shortcuts/contexts}/commands/editor/closeWithoutSaving.mjs +1 -1
- package/shortcuts/contexts/commands/editor/fastOpen.d.mts +1 -0
- package/shortcuts/contexts/commands/editor/fastOpen.d.ts +5 -0
- package/{shortcutContexts → shortcuts/contexts}/commands/editor/fastOpen.js +2 -2
- package/{shortcutContexts → shortcuts/contexts}/commands/editor/fastOpen.mjs +2 -2
- package/shortcuts/contexts/commands/editor/index.d.mts +1 -0
- package/shortcuts/contexts/commands/editor/index.d.ts +9 -0
- package/shortcuts/contexts/commands/editor/open.d.mts +1 -0
- package/shortcuts/contexts/commands/editor/open.d.ts +5 -0
- package/{shortcutContexts → shortcuts/contexts}/commands/editor/open.js +6 -6
- package/{shortcutContexts → shortcuts/contexts}/commands/editor/open.mjs +6 -6
- package/shortcuts/contexts/commands/emptySelectedCells.d.mts +1 -0
- package/shortcuts/contexts/commands/emptySelectedCells.d.ts +5 -0
- package/shortcuts/contexts/commands/extendCellsSelection/down.d.mts +1 -0
- package/shortcuts/contexts/commands/extendCellsSelection/down.d.ts +5 -0
- package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/down.js +2 -2
- package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/down.mjs +2 -2
- package/shortcuts/contexts/commands/extendCellsSelection/downByViewportHeight.d.mts +1 -0
- package/shortcuts/contexts/commands/extendCellsSelection/downByViewportHeight.d.ts +5 -0
- package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/downByViewportHeight.js +10 -5
- package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/downByViewportHeight.mjs +10 -5
- package/shortcuts/contexts/commands/extendCellsSelection/index.d.mts +1 -0
- package/shortcuts/contexts/commands/extendCellsSelection/index.d.ts +9 -0
- package/shortcuts/contexts/commands/extendCellsSelection/left.d.mts +1 -0
- package/shortcuts/contexts/commands/extendCellsSelection/left.d.ts +5 -0
- package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/left.js +2 -2
- package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/left.mjs +2 -2
- package/shortcuts/contexts/commands/extendCellsSelection/right.d.mts +1 -0
- package/shortcuts/contexts/commands/extendCellsSelection/right.d.ts +5 -0
- package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/right.js +2 -2
- package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/right.mjs +2 -2
- package/shortcuts/contexts/commands/extendCellsSelection/toColumns.d.mts +1 -0
- package/shortcuts/contexts/commands/extendCellsSelection/toColumns.d.ts +5 -0
- package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/toColumns.js +6 -2
- package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/toColumns.mjs +6 -2
- package/shortcuts/contexts/commands/extendCellsSelection/toMostBottom.d.mts +1 -0
- package/shortcuts/contexts/commands/extendCellsSelection/toMostBottom.d.ts +5 -0
- package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/toMostBottom.js +6 -2
- package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/toMostBottom.mjs +6 -2
- package/shortcuts/contexts/commands/extendCellsSelection/toMostInlineEnd.d.mts +1 -0
- package/shortcuts/contexts/commands/extendCellsSelection/toMostInlineEnd.d.ts +5 -0
- package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/toMostInlineEnd.js +6 -2
- package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/toMostInlineEnd.mjs +6 -2
- package/shortcuts/contexts/commands/extendCellsSelection/toMostInlineStart.d.mts +1 -0
- package/shortcuts/contexts/commands/extendCellsSelection/toMostInlineStart.d.ts +5 -0
- package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/toMostInlineStart.js +7 -3
- package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/toMostInlineStart.mjs +7 -3
- package/shortcuts/contexts/commands/extendCellsSelection/toMostLeft.d.mts +1 -0
- package/shortcuts/contexts/commands/extendCellsSelection/toMostLeft.d.ts +5 -0
- package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/toMostLeft.js +7 -9
- package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/toMostLeft.mjs +7 -9
- package/shortcuts/contexts/commands/extendCellsSelection/toMostRight.d.mts +1 -0
- package/shortcuts/contexts/commands/extendCellsSelection/toMostRight.d.ts +5 -0
- package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/toMostRight.js +7 -9
- package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/toMostRight.mjs +7 -9
- package/shortcuts/contexts/commands/extendCellsSelection/toMostTop.d.mts +1 -0
- package/shortcuts/contexts/commands/extendCellsSelection/toMostTop.d.ts +5 -0
- package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/toMostTop.js +6 -2
- package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/toMostTop.mjs +6 -2
- package/shortcuts/contexts/commands/extendCellsSelection/toRows.d.mts +1 -0
- package/shortcuts/contexts/commands/extendCellsSelection/toRows.d.ts +5 -0
- package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/toRows.js +7 -2
- package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/toRows.mjs +7 -2
- package/shortcuts/contexts/commands/extendCellsSelection/up.d.mts +1 -0
- package/shortcuts/contexts/commands/extendCellsSelection/up.d.ts +5 -0
- package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/up.js +2 -2
- package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/up.mjs +2 -2
- package/shortcuts/contexts/commands/extendCellsSelection/upByViewportHeight.d.mts +1 -0
- package/shortcuts/contexts/commands/extendCellsSelection/upByViewportHeight.d.ts +5 -0
- package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/upByViewportHeight.js +10 -5
- package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/upByViewportHeight.mjs +10 -5
- package/shortcuts/contexts/commands/index.d.mts +1 -0
- package/shortcuts/contexts/commands/index.d.ts +8 -0
- package/shortcuts/contexts/commands/moveCellSelection/down.d.mts +1 -0
- package/shortcuts/contexts/commands/moveCellSelection/down.d.ts +5 -0
- package/shortcuts/contexts/commands/moveCellSelection/downByViewportHeight.d.mts +1 -0
- package/shortcuts/contexts/commands/moveCellSelection/downByViewportHeight.d.ts +5 -0
- package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/downByViewportHeight.js +13 -2
- package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/downByViewportHeight.mjs +13 -2
- package/shortcuts/contexts/commands/moveCellSelection/index.d.mts +1 -0
- package/shortcuts/contexts/commands/moveCellSelection/index.d.ts +9 -0
- package/shortcuts/contexts/commands/moveCellSelection/inlineEnd.d.mts +1 -0
- package/shortcuts/contexts/commands/moveCellSelection/inlineEnd.d.ts +5 -0
- package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/inlineEnd.js +3 -3
- package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/inlineEnd.mjs +3 -3
- package/shortcuts/contexts/commands/moveCellSelection/inlineStart.d.mts +1 -0
- package/shortcuts/contexts/commands/moveCellSelection/inlineStart.d.ts +5 -0
- package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/inlineStart.js +3 -3
- package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/inlineStart.mjs +3 -3
- package/shortcuts/contexts/commands/moveCellSelection/left.d.mts +1 -0
- package/shortcuts/contexts/commands/moveCellSelection/left.d.ts +5 -0
- package/shortcuts/contexts/commands/moveCellSelection/right.d.mts +1 -0
- package/shortcuts/contexts/commands/moveCellSelection/right.d.ts +5 -0
- package/shortcuts/contexts/commands/moveCellSelection/toMostBottom.d.mts +1 -0
- package/shortcuts/contexts/commands/moveCellSelection/toMostBottom.d.ts +5 -0
- package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/toMostBottom.js +1 -1
- package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/toMostBottom.mjs +1 -1
- package/shortcuts/contexts/commands/moveCellSelection/toMostBottomInlineEnd.d.mts +1 -0
- package/shortcuts/contexts/commands/moveCellSelection/toMostBottomInlineEnd.d.ts +5 -0
- package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/toMostBottomInlineEnd.js +2 -2
- package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/toMostBottomInlineEnd.mjs +2 -2
- package/shortcuts/contexts/commands/moveCellSelection/toMostInlineEnd.d.mts +1 -0
- package/shortcuts/contexts/commands/moveCellSelection/toMostInlineEnd.d.ts +5 -0
- package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/toMostInlineEnd.js +1 -1
- package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/toMostInlineEnd.mjs +1 -1
- package/shortcuts/contexts/commands/moveCellSelection/toMostInlineStart.d.mts +1 -0
- package/shortcuts/contexts/commands/moveCellSelection/toMostInlineStart.d.ts +5 -0
- package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/toMostInlineStart.js +3 -3
- package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/toMostInlineStart.mjs +3 -3
- package/shortcuts/contexts/commands/moveCellSelection/toMostLeft.d.mts +1 -0
- package/shortcuts/contexts/commands/moveCellSelection/toMostLeft.d.ts +5 -0
- package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/toMostLeft.js +2 -8
- package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/toMostLeft.mjs +2 -8
- package/shortcuts/contexts/commands/moveCellSelection/toMostRight.d.mts +1 -0
- package/shortcuts/contexts/commands/moveCellSelection/toMostRight.d.ts +5 -0
- package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/toMostRight.js +2 -8
- package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/toMostRight.mjs +2 -8
- package/shortcuts/contexts/commands/moveCellSelection/toMostTop.d.mts +1 -0
- package/shortcuts/contexts/commands/moveCellSelection/toMostTop.d.ts +5 -0
- package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/toMostTop.js +1 -1
- package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/toMostTop.mjs +1 -1
- package/shortcuts/contexts/commands/moveCellSelection/toMostTopInlineStart.d.mts +1 -0
- package/shortcuts/contexts/commands/moveCellSelection/toMostTopInlineStart.d.ts +5 -0
- package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/toMostTopInlineStart.js +3 -3
- package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/toMostTopInlineStart.mjs +3 -3
- package/shortcuts/contexts/commands/moveCellSelection/up.d.mts +1 -0
- package/shortcuts/contexts/commands/moveCellSelection/up.d.ts +5 -0
- package/shortcuts/contexts/commands/moveCellSelection/upByViewportHeight.d.mts +1 -0
- package/shortcuts/contexts/commands/moveCellSelection/upByViewportHeight.d.ts +5 -0
- package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/upByViewportHeight.js +9 -3
- package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/upByViewportHeight.mjs +9 -3
- package/shortcuts/contexts/commands/populateSelectedCellsData.d.mts +1 -0
- package/shortcuts/contexts/commands/populateSelectedCellsData.d.ts +5 -0
- package/{shortcutContexts → shortcuts/contexts}/commands/populateSelectedCellsData.js +6 -1
- package/{shortcutContexts → shortcuts/contexts}/commands/populateSelectedCellsData.mjs +6 -1
- package/shortcuts/contexts/commands/scrollToFocusedCell.d.mts +1 -0
- package/shortcuts/contexts/commands/scrollToFocusedCell.d.ts +5 -0
- package/{shortcutContexts → shortcuts/contexts}/commands/scrollToFocusedCell.js +9 -6
- package/{shortcutContexts → shortcuts/contexts}/commands/scrollToFocusedCell.mjs +9 -6
- package/shortcuts/contexts/commands/selectAllCells.d.mts +1 -0
- package/shortcuts/contexts/commands/selectAllCells.d.ts +5 -0
- package/shortcuts/contexts/commands/selectAllCellsAndHeaders.d.mts +1 -0
- package/shortcuts/contexts/commands/selectAllCellsAndHeaders.d.ts +5 -0
- package/shortcuts/contexts/commands/tabNavigation.d.mts +1 -0
- package/shortcuts/contexts/commands/tabNavigation.d.ts +8 -0
- package/shortcuts/contexts/constants.d.mts +1 -0
- package/shortcuts/contexts/constants.d.ts +22 -0
- package/{shortcutContexts → shortcuts/contexts}/constants.js +1 -1
- package/{shortcutContexts → shortcuts/contexts}/constants.mjs +1 -1
- package/shortcuts/contexts/editor.d.mts +1 -0
- package/shortcuts/contexts/editor.d.ts +7 -0
- package/shortcuts/contexts/grid.d.mts +1 -0
- package/shortcuts/contexts/grid.d.ts +7 -0
- package/{shortcutContexts → shortcuts/contexts}/grid.js +3 -3
- package/{shortcutContexts → shortcuts/contexts}/grid.mjs +3 -3
- package/shortcuts/contexts/index.d.mts +1 -0
- package/shortcuts/contexts/index.d.ts +8 -0
- package/shortcuts/index.d.mts +1 -0
- package/shortcuts/index.d.ts +3 -1
- package/shortcuts/keyObserver.d.mts +1 -0
- package/shortcuts/keyObserver.d.ts +36 -0
- package/shortcuts/keyObserver.js +1 -1
- package/shortcuts/keyObserver.mjs +1 -1
- package/shortcuts/manager.d.mts +1 -0
- package/shortcuts/manager.d.ts +33 -10
- package/shortcuts/manager.js +4 -4
- package/shortcuts/manager.mjs +5 -21
- package/shortcuts/recorder.d.mts +1 -0
- package/shortcuts/recorder.d.ts +20 -0
- package/shortcuts/recorder.js +55 -53
- package/shortcuts/recorder.mjs +56 -54
- package/shortcuts/utils.d.mts +1 -0
- package/shortcuts/utils.d.ts +63 -0
- package/shortcuts/utils.js +3 -3
- package/shortcuts/utils.mjs +4 -4
- package/styles/handsontable.css +164 -215
- package/styles/handsontable.min.css +3 -3
- package/styles/handsontableStyles.d.mts +2 -0
- package/styles/handsontableStyles.d.ts +2 -0
- package/styles/handsontableStyles.js +1 -1
- package/styles/handsontableStyles.mjs +1 -1
- package/styles/ht-icons-horizon.min.css +2 -2
- package/styles/ht-icons-main.min.css +2 -2
- package/styles/ht-theme-classic-no-icons.css +1 -3
- package/styles/ht-theme-classic-no-icons.min.css +3 -3
- package/styles/ht-theme-classic.css +1 -3
- package/styles/ht-theme-classic.min.css +3 -3
- package/styles/ht-theme-horizon-no-icons.css +1 -3
- package/styles/ht-theme-horizon-no-icons.min.css +3 -3
- package/styles/ht-theme-horizon.css +1 -3
- package/styles/ht-theme-horizon.min.css +3 -3
- package/styles/ht-theme-main-no-icons.css +1 -3
- package/styles/ht-theme-main-no-icons.min.css +3 -3
- package/styles/ht-theme-main.css +1 -3
- package/styles/ht-theme-main.min.css +3 -3
- package/tableView.d.mts +2 -0
- package/tableView.d.ts +626 -0
- package/tableView.js +100 -82
- package/tableView.mjs +102 -84
- package/themes/engine/builder.d.mts +1 -0
- package/themes/engine/builder.d.ts +56 -0
- package/themes/engine/builder.js +24 -16
- package/themes/engine/builder.mjs +13 -9
- package/themes/engine/index.d.mts +1 -0
- package/themes/engine/index.d.ts +3 -0
- package/themes/engine/index.js +6 -0
- package/themes/engine/index.mjs +2 -2
- package/themes/engine/manager.d.mts +1 -0
- package/themes/engine/manager.d.ts +93 -0
- package/themes/engine/manager.js +22 -6
- package/themes/engine/manager.mjs +22 -6
- package/themes/engine/utils/cssVariables.d.mts +1 -0
- package/themes/engine/utils/cssVariables.d.ts +9 -0
- package/themes/engine/utils/cssVariables.js +2 -2
- package/themes/engine/utils/cssVariables.mjs +2 -2
- package/themes/engine/utils/validation.d.mts +1 -0
- package/themes/engine/utils/validation.d.ts +35 -0
- package/themes/engine/utils/validation.js +12 -12
- package/themes/engine/utils/validation.mjs +14 -14
- package/themes/index.d.mts +1 -0
- package/themes/index.d.ts +4 -0
- package/themes/index.js +1 -0
- package/themes/index.mjs +1 -0
- package/themes/registry.d.mts +1 -0
- package/themes/registry.d.ts +44 -0
- package/themes/registry.js +2 -2
- package/themes/registry.mjs +2 -2
- package/themes/static/variables/colors/ant.d.mts +2 -0
- package/themes/static/variables/colors/ant.d.ts +3 -4
- package/themes/static/variables/colors/ant.js +2 -1
- package/themes/static/variables/colors/ant.mjs +2 -1
- package/themes/static/variables/colors/classic.d.mts +2 -0
- package/themes/static/variables/colors/classic.d.ts +3 -4
- package/themes/static/variables/colors/classic.js +2 -1
- package/themes/static/variables/colors/classic.mjs +2 -1
- package/themes/static/variables/colors/horizon.d.mts +2 -0
- package/themes/static/variables/colors/horizon.d.ts +3 -4
- package/themes/static/variables/colors/horizon.js +2 -1
- package/themes/static/variables/colors/horizon.mjs +2 -1
- package/themes/static/variables/colors/main.d.mts +2 -0
- package/themes/static/variables/colors/main.d.ts +3 -4
- package/themes/static/variables/colors/main.js +2 -1
- package/themes/static/variables/colors/main.mjs +2 -1
- package/themes/static/variables/colors/material.d.mts +2 -0
- package/themes/static/variables/colors/material.d.ts +3 -4
- package/themes/static/variables/colors/material.js +2 -1
- package/themes/static/variables/colors/material.mjs +2 -1
- package/themes/static/variables/colors/shadcn.d.mts +2 -0
- package/themes/static/variables/colors/shadcn.d.ts +3 -4
- package/themes/static/variables/colors/shadcn.js +2 -1
- package/themes/static/variables/colors/shadcn.mjs +2 -1
- package/themes/static/variables/density.d.mts +2 -0
- package/themes/static/variables/density.d.ts +3 -4
- package/themes/static/variables/density.js +2 -1
- package/themes/static/variables/density.mjs +2 -1
- package/themes/static/variables/helpers/iconsMap.d.mts +1 -0
- package/themes/static/variables/helpers/iconsMap.d.ts +1 -3
- package/themes/static/variables/icons/horizon.d.mts +2 -0
- package/themes/static/variables/icons/horizon.d.ts +3 -4
- package/themes/static/variables/icons/horizon.js +2 -1
- package/themes/static/variables/icons/horizon.mjs +2 -1
- package/themes/static/variables/icons/main.d.mts +2 -0
- package/themes/static/variables/icons/main.d.ts +3 -4
- package/themes/static/variables/icons/main.js +2 -1
- package/themes/static/variables/icons/main.mjs +2 -1
- package/themes/static/variables/sizing.d.mts +2 -0
- package/themes/static/variables/sizing.d.ts +1 -2
- package/themes/static/variables/sizing.js +2 -1
- package/themes/static/variables/sizing.mjs +2 -1
- package/themes/static/variables/tokens/classic.d.mts +2 -0
- package/themes/static/variables/tokens/classic.d.ts +3 -4
- package/themes/static/variables/tokens/classic.js +3 -4
- package/themes/static/variables/tokens/classic.mjs +3 -4
- package/themes/static/variables/tokens/horizon.d.mts +2 -0
- package/themes/static/variables/tokens/horizon.d.ts +3 -4
- package/themes/static/variables/tokens/horizon.js +3 -4
- package/themes/static/variables/tokens/horizon.mjs +3 -4
- package/themes/static/variables/tokens/main.d.mts +2 -0
- package/themes/static/variables/tokens/main.d.ts +3 -4
- package/themes/static/variables/tokens/main.js +3 -4
- package/themes/static/variables/tokens/main.mjs +3 -4
- package/themes/theme/classic.d.mts +1 -0
- package/themes/theme/classic.d.ts +3 -3
- package/themes/theme/horizon.d.mts +1 -0
- package/themes/theme/horizon.d.ts +3 -3
- package/themes/theme/index.d.mts +1 -0
- package/themes/theme/index.d.ts +3 -5
- package/themes/theme/main.d.mts +1 -0
- package/themes/theme/main.d.ts +3 -3
- package/themes/types.d.mts +1 -0
- package/themes/types.d.ts +43 -0
- package/themes/types.js +4 -0
- package/themes/types.mjs +1 -0
- package/translations/changesObservable/observable.d.mts +1 -0
- package/translations/changesObservable/observable.d.ts +49 -0
- package/translations/changesObservable/observable.js +11 -9
- package/translations/changesObservable/observable.mjs +11 -9
- package/translations/changesObservable/observer.d.mts +1 -0
- package/translations/changesObservable/observer.d.ts +56 -0
- package/translations/changesObservable/utils.d.mts +1 -0
- package/translations/changesObservable/utils.d.ts +18 -0
- package/translations/index.d.mts +1 -0
- package/translations/index.d.ts +4 -1
- package/translations/indexMapper.d.mts +1 -0
- package/translations/indexMapper.d.ts +417 -45
- package/translations/indexMapper.js +17 -28
- package/translations/indexMapper.mjs +17 -28
- package/translations/mapCollections/aggregatedCollection.d.mts +1 -0
- package/translations/mapCollections/aggregatedCollection.d.ts +48 -0
- package/translations/mapCollections/aggregatedCollection.js +3 -1
- package/translations/mapCollections/aggregatedCollection.mjs +3 -1
- package/translations/mapCollections/index.d.mts +1 -0
- package/translations/mapCollections/index.d.ts +2 -0
- package/translations/mapCollections/mapCollection.d.mts +1 -0
- package/translations/mapCollections/mapCollection.d.ts +79 -0
- package/translations/mapCollections/mapCollection.js +2 -2
- package/translations/mapCollections/mapCollection.mjs +3 -3
- package/translations/maps/hidingMap.d.mts +1 -0
- package/translations/maps/hidingMap.d.ts +21 -0
- package/translations/maps/hidingMap.js +3 -1
- package/translations/maps/hidingMap.mjs +3 -1
- package/translations/maps/index.d.mts +1 -0
- package/translations/maps/index.d.ts +16 -0
- package/translations/maps/indexMap.d.mts +1 -0
- package/translations/maps/indexMap.d.ts +121 -9
- package/translations/maps/indexMap.js +14 -8
- package/translations/maps/indexMap.mjs +14 -8
- package/translations/maps/indexesSequence.d.mts +1 -0
- package/translations/maps/indexesSequence.d.ts +35 -0
- package/translations/maps/indexesSequence.js +12 -3
- package/translations/maps/indexesSequence.mjs +12 -3
- package/translations/maps/linkedPhysicalIndexToValueMap.d.mts +1 -0
- package/translations/maps/linkedPhysicalIndexToValueMap.d.ts +86 -0
- package/translations/maps/physicalIndexToValueMap.d.mts +1 -0
- package/translations/maps/physicalIndexToValueMap.d.ts +25 -0
- package/translations/maps/trimmingMap.d.mts +1 -0
- package/translations/maps/trimmingMap.d.ts +21 -0
- package/translations/maps/trimmingMap.js +3 -1
- package/translations/maps/trimmingMap.mjs +3 -1
- package/translations/maps/utils/actionsOnIndexes.d.mts +1 -0
- package/translations/maps/utils/actionsOnIndexes.d.ts +18 -0
- package/translations/maps/utils/index.d.mts +1 -0
- package/translations/maps/utils/index.d.ts +11 -0
- package/translations/maps/utils/indexesSequence.d.mts +1 -0
- package/translations/maps/utils/indexesSequence.d.ts +19 -0
- package/translations/maps/utils/physicallyIndexed.d.mts +1 -0
- package/translations/maps/utils/physicallyIndexed.d.ts +20 -0
- package/utils/a11yAnnouncer.d.mts +1 -0
- package/utils/a11yAnnouncer.d.ts +17 -0
- package/utils/autoResize.d.mts +1 -0
- package/utils/autoResize.d.ts +26 -0
- package/utils/autoResize.js +32 -32
- package/utils/autoResize.mjs +37 -37
- package/utils/dataStructures/linkedList.d.mts +2 -0
- package/utils/dataStructures/linkedList.d.ts +107 -0
- package/utils/dataStructures/linkedList.js +10 -4
- package/utils/dataStructures/linkedList.mjs +10 -4
- package/utils/dataStructures/priorityMap.d.mts +1 -0
- package/utils/dataStructures/priorityMap.d.ts +22 -0
- package/utils/dataStructures/priorityMap.js +4 -4
- package/utils/dataStructures/priorityMap.mjs +4 -4
- package/utils/dataStructures/queue.d.mts +2 -0
- package/utils/dataStructures/queue.d.ts +45 -0
- package/utils/dataStructures/queue.js +3 -1
- package/utils/dataStructures/queue.mjs +3 -1
- package/utils/dataStructures/stack.d.mts +2 -0
- package/utils/dataStructures/stack.d.ts +45 -0
- package/utils/dataStructures/stack.js +3 -1
- package/utils/dataStructures/stack.mjs +3 -1
- package/utils/dataStructures/tree.d.mts +2 -0
- package/utils/dataStructures/tree.d.ts +102 -0
- package/utils/dataStructures/tree.js +7 -10
- package/utils/dataStructures/tree.mjs +8 -11
- package/utils/dataStructures/uniqueMap.d.mts +1 -0
- package/utils/dataStructures/uniqueMap.d.ts +29 -0
- package/utils/dataStructures/uniqueMap.js +2 -2
- package/utils/dataStructures/uniqueMap.mjs +2 -2
- package/utils/dataStructures/uniqueSet.d.mts +1 -0
- package/utils/dataStructures/uniqueSet.d.ts +19 -0
- package/utils/dataStructures/uniqueSet.js +2 -2
- package/utils/dataStructures/uniqueSet.mjs +2 -2
- package/utils/ghostTable.d.mts +2 -0
- package/utils/ghostTable.d.ts +226 -0
- package/utils/ghostTable.js +26 -14
- package/utils/ghostTable.mjs +26 -14
- package/utils/interval.d.mts +2 -0
- package/utils/interval.d.ts +40 -0
- package/utils/interval.js +20 -16
- package/utils/interval.mjs +20 -16
- package/utils/licenseNotification.d.mts +1 -0
- package/utils/licenseNotification.d.ts +12 -0
- package/utils/licenseNotification.js +78 -0
- package/utils/licenseNotification.mjs +77 -0
- package/utils/paginator.d.mts +1 -0
- package/utils/paginator.d.ts +36 -0
- package/utils/parseTable.d.mts +1 -0
- package/utils/parseTable.d.ts +33 -5
- package/utils/parseTable.js +30 -22
- package/utils/parseTable.mjs +30 -22
- package/utils/rootInstance.d.mts +1 -0
- package/utils/rootInstance.d.ts +22 -0
- package/utils/samplesGenerator.d.mts +2 -0
- package/utils/samplesGenerator.d.ts +127 -0
- package/utils/samplesGenerator.js +5 -3
- package/utils/samplesGenerator.mjs +6 -4
- package/utils/staticRegister.d.mts +1 -0
- package/utils/staticRegister.d.ts +21 -0
- package/utils/stylesHandler.d.mts +1 -0
- package/utils/stylesHandler.d.ts +67 -0
- package/utils/stylesHandler.js +37 -31
- package/utils/stylesHandler.mjs +37 -31
- package/utils/valueAccessors.d.mts +1 -0
- package/utils/valueAccessors.d.ts +16 -0
- package/validators/autocompleteValidator/autocompleteValidator.d.mts +1 -0
- package/validators/autocompleteValidator/autocompleteValidator.d.ts +13 -5
- package/validators/autocompleteValidator/autocompleteValidator.js +8 -4
- package/validators/autocompleteValidator/autocompleteValidator.mjs +8 -4
- package/validators/autocompleteValidator/index.d.mts +1 -0
- package/validators/autocompleteValidator/index.d.ts +1 -1
- package/validators/dateValidator/dateValidator.d.mts +1 -0
- package/validators/dateValidator/dateValidator.d.ts +25 -5
- package/validators/dateValidator/dateValidator.js +21 -49
- package/validators/dateValidator/dateValidator.mjs +23 -49
- package/validators/dateValidator/index.d.mts +1 -0
- package/validators/dateValidator/index.d.ts +1 -1
- package/validators/dateValidator/index.js +6 -3
- package/validators/dateValidator/index.mjs +1 -1
- package/validators/dropdownValidator/dropdownValidator.d.mts +1 -0
- package/validators/dropdownValidator/dropdownValidator.d.ts +13 -5
- package/validators/dropdownValidator/index.d.mts +1 -0
- package/validators/dropdownValidator/index.d.ts +1 -1
- package/validators/index.d.mts +1 -0
- package/validators/index.d.ts +10 -33
- package/validators/intlDateValidator/index.d.mts +1 -0
- package/validators/intlDateValidator/index.d.ts +1 -1
- package/validators/intlDateValidator/intlDateValidator.d.mts +1 -0
- package/validators/intlDateValidator/intlDateValidator.d.ts +17 -6
- package/validators/intlDateValidator/intlDateValidator.js +3 -14
- package/validators/intlDateValidator/intlDateValidator.mjs +4 -20
- package/validators/intlTimeValidator/index.d.mts +1 -0
- package/validators/intlTimeValidator/index.d.ts +1 -1
- package/validators/intlTimeValidator/intlTimeValidator.d.mts +1 -0
- package/validators/intlTimeValidator/intlTimeValidator.d.ts +17 -6
- package/validators/intlTimeValidator/intlTimeValidator.js +3 -14
- package/validators/intlTimeValidator/intlTimeValidator.mjs +3 -19
- package/validators/multiSelectValidator/index.d.mts +1 -0
- package/validators/multiSelectValidator/index.d.ts +1 -0
- package/validators/multiSelectValidator/multiSelectValidator.d.mts +1 -0
- package/validators/multiSelectValidator/multiSelectValidator.d.ts +9 -0
- package/validators/multiSelectValidator/multiSelectValidator.js +3 -10
- package/validators/multiSelectValidator/multiSelectValidator.mjs +3 -14
- package/validators/numericValidator/index.d.mts +1 -0
- package/validators/numericValidator/index.d.ts +1 -1
- package/validators/numericValidator/numericValidator.d.mts +1 -0
- package/validators/numericValidator/numericValidator.d.ts +13 -5
- package/validators/registry.d.mts +1 -0
- package/validators/registry.d.ts +31 -18
- package/validators/registry.js +4 -4
- package/validators/registry.mjs +4 -4
- package/validators/timeValidator/index.d.mts +1 -0
- package/validators/timeValidator/index.d.ts +1 -1
- package/validators/timeValidator/index.js +6 -0
- package/validators/timeValidator/index.mjs +1 -1
- package/validators/timeValidator/timeValidator.d.mts +1 -0
- package/validators/timeValidator/timeValidator.d.ts +25 -5
- package/validators/timeValidator/timeValidator.js +22 -45
- package/validators/timeValidator/timeValidator.mjs +23 -41
- package/cellTypes/base.d.ts +0 -14
- package/common.d.ts +0 -79
- package/helpers/dom/index.d.ts +0 -2
- package/helpers/index.d.ts +0 -15
- package/plugins/nestedHeaders/stateManager/nodeModifiers/hideColumn.js +0 -47
- package/plugins/nestedHeaders/stateManager/nodeModifiers/hideColumn.mjs +0 -42
- package/plugins/nestedHeaders/stateManager/nodeModifiers/showColumn.js +0 -46
- package/plugins/nestedHeaders/stateManager/nodeModifiers/showColumn.mjs +0 -41
- package/renderers/base.d.ts +0 -3
- package/themes.d.ts +0 -511
- package/validators/base.d.ts +0 -6
- /package/{shortcutContexts → shortcuts/contexts}/commands/editor/closeAndSave.js +0 -0
- /package/{shortcutContexts → shortcuts/contexts}/commands/editor/closeAndSave.mjs +0 -0
- /package/{shortcutContexts → shortcuts/contexts}/commands/editor/closeAndSaveByEnter.js +0 -0
- /package/{shortcutContexts → shortcuts/contexts}/commands/editor/closeAndSaveByEnter.mjs +0 -0
- /package/{shortcutContexts → shortcuts/contexts}/commands/editor/index.js +0 -0
- /package/{shortcutContexts → shortcuts/contexts}/commands/editor/index.mjs +0 -0
- /package/{shortcutContexts → shortcuts/contexts}/commands/emptySelectedCells.js +0 -0
- /package/{shortcutContexts → shortcuts/contexts}/commands/emptySelectedCells.mjs +0 -0
- /package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/index.js +0 -0
- /package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/index.mjs +0 -0
- /package/{shortcutContexts → shortcuts/contexts}/commands/index.js +0 -0
- /package/{shortcutContexts → shortcuts/contexts}/commands/index.mjs +0 -0
- /package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/down.js +0 -0
- /package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/down.mjs +0 -0
- /package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/index.js +0 -0
- /package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/index.mjs +0 -0
- /package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/left.js +0 -0
- /package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/left.mjs +0 -0
- /package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/right.js +0 -0
- /package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/right.mjs +0 -0
- /package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/up.js +0 -0
- /package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/up.mjs +0 -0
- /package/{shortcutContexts → shortcuts/contexts}/commands/selectAllCells.js +0 -0
- /package/{shortcutContexts → shortcuts/contexts}/commands/selectAllCells.mjs +0 -0
- /package/{shortcutContexts → shortcuts/contexts}/commands/selectAllCellsAndHeaders.js +0 -0
- /package/{shortcutContexts → shortcuts/contexts}/commands/selectAllCellsAndHeaders.mjs +0 -0
- /package/{shortcutContexts → shortcuts/contexts}/commands/tabNavigation.js +0 -0
- /package/{shortcutContexts → shortcuts/contexts}/commands/tabNavigation.mjs +0 -0
- /package/{shortcutContexts → shortcuts/contexts}/editor.js +0 -0
- /package/{shortcutContexts → shortcuts/contexts}/editor.mjs +0 -0
- /package/{shortcutContexts → shortcuts/contexts}/index.js +0 -0
- /package/{shortcutContexts → shortcuts/contexts}/index.mjs +0 -0
|
@@ -27,7 +27,6 @@ const _autofill = /*#__PURE__*/ _interop_require_default(require("./calculations
|
|
|
27
27
|
const _selection = /*#__PURE__*/ _interop_require_default(require("./calculations/selection"));
|
|
28
28
|
const _toggleMerge = /*#__PURE__*/ _interop_require_default(require("./contextMenuItem/toggleMerge"));
|
|
29
29
|
const _array = require("../../helpers/array");
|
|
30
|
-
const _object = require("../../helpers/object");
|
|
31
30
|
const _console = require("../../helpers/console");
|
|
32
31
|
const _number = require("../../helpers/number");
|
|
33
32
|
const _element = require("../../helpers/dom/element");
|
|
@@ -116,121 +115,177 @@ var /**
|
|
|
116
115
|
*
|
|
117
116
|
* @type {{before: Function, after: Function}}
|
|
118
117
|
*/ _cellRenderer = /*#__PURE__*/ new WeakMap(), /**
|
|
118
|
+
* Snapshot of physical column indexes per merge, captured before a column move/freeze.
|
|
119
|
+
*
|
|
120
|
+
* @type {Map<MergedCellCoords, number[]> | null}
|
|
121
|
+
*/ _columnMoveSnapshot = /*#__PURE__*/ new WeakMap(), /**
|
|
122
|
+
* Snapshot of physical row indexes per merge, captured before a row move.
|
|
123
|
+
*
|
|
124
|
+
* @type {Map<MergedCellCoords, number[]> | null}
|
|
125
|
+
*/ _rowMoveSnapshot = /*#__PURE__*/ new WeakMap(), /**
|
|
126
|
+
* `true` once the plugin has finished its initial settings ingestion. Used to skip
|
|
127
|
+
* snapshot/translate during the bootstrap-time column reorders fired by
|
|
128
|
+
* `manualColumnMove: [...]` initial config, where the merge collection is empty
|
|
129
|
+
* anyway but we want to be defensive against future hook-order changes.
|
|
130
|
+
*
|
|
131
|
+
* @type {boolean}
|
|
132
|
+
*/ _initialized = /*#__PURE__*/ new WeakMap(), /**
|
|
119
133
|
* `afterInit` hook callback.
|
|
120
|
-
*/ _onAfterInit = /*#__PURE__*/ new
|
|
134
|
+
*/ _onAfterInit = /*#__PURE__*/ new WeakMap(), /**
|
|
121
135
|
* Modifies the information on whether the current selection contains multiple cells. The `afterIsMultipleSelection`
|
|
122
136
|
* hook callback.
|
|
123
137
|
*
|
|
124
138
|
* @param {boolean} isMultiple Determines whether the current selection contains multiple cells.
|
|
125
139
|
* @returns {boolean}
|
|
126
|
-
*/ _onAfterIsMultipleSelection = /*#__PURE__*/ new
|
|
140
|
+
*/ _onAfterIsMultipleSelection = /*#__PURE__*/ new WeakMap(), /**
|
|
127
141
|
* `modifyTransformFocus` hook callback.
|
|
128
142
|
*
|
|
129
143
|
* @param {object} delta The transformation delta.
|
|
130
|
-
*/ _onModifyTransformFocus = /*#__PURE__*/ new
|
|
144
|
+
*/ _onModifyTransformFocus = /*#__PURE__*/ new WeakMap(), /**
|
|
131
145
|
* `modifyTransformStart` hook callback.
|
|
132
146
|
*
|
|
133
147
|
* @param {object} delta The transformation delta.
|
|
134
|
-
*/ _onModifyTransformStart = /*#__PURE__*/ new
|
|
148
|
+
*/ _onModifyTransformStart = /*#__PURE__*/ new WeakMap(), /**
|
|
135
149
|
* The hook allows to modify the delta transformation object necessary for correct selection end transformations.
|
|
136
|
-
* The logic here handles "jumping over" merged merged cells, while selecting.
|
|
137
150
|
*
|
|
138
151
|
* @param {{ row: number, col: number }} delta The transformation delta.
|
|
139
|
-
*/ _onModifyTransformEnd = /*#__PURE__*/ new
|
|
152
|
+
*/ _onModifyTransformEnd = /*#__PURE__*/ new WeakMap(), /**
|
|
140
153
|
* The hook corrects the range (before drawing it) after the selection was made on the merged cells.
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
* The `modifyGetCellCoords` hook callback allows forwarding all `getCell` calls that point in-between the merged cells
|
|
144
|
-
* to the root element of the cell.
|
|
154
|
+
*/ _onBeforeSelectionHighlightSet = /*#__PURE__*/ new WeakMap(), /**
|
|
155
|
+
* The `modifyGetCellCoords` hook callback.
|
|
145
156
|
*
|
|
146
157
|
* @param {number} row Row index.
|
|
147
158
|
* @param {number} column Visual column index.
|
|
148
|
-
* @param {boolean} topmost Indicates if the requested element belongs to the topmost layer
|
|
159
|
+
* @param {boolean} topmost Indicates if the requested element belongs to the topmost layer.
|
|
149
160
|
* @param {string} [source] String that identifies how this coords change will be processed.
|
|
150
161
|
* @returns {Array|undefined} Visual coordinates of the merge.
|
|
151
|
-
*/ _onModifyGetCellCoords = /*#__PURE__*/ new
|
|
162
|
+
*/ _onModifyGetCellCoords = /*#__PURE__*/ new WeakMap(), /**
|
|
152
163
|
* `afterContextMenuDefaultOptions` hook callback.
|
|
153
164
|
*
|
|
154
165
|
* @param {object} defaultOptions The default context menu options.
|
|
155
166
|
*/ _addMergeActionsToContextMenu = /*#__PURE__*/ new WeakSet(), /**
|
|
156
167
|
* Clears the last selected coordinates before setting a new selection range.
|
|
157
|
-
*/ _onBeforeSetRangeStart = /*#__PURE__*/ new
|
|
158
|
-
* Detects if the last selected cell was a header cell
|
|
159
|
-
|
|
160
|
-
*/ _onBeforeSelectionFocusSet = /*#__PURE__*/ new WeakSet(), /**
|
|
168
|
+
*/ _onBeforeSetRangeStart = /*#__PURE__*/ new WeakMap(), /**
|
|
169
|
+
* Detects if the last selected cell was a header cell.
|
|
170
|
+
*/ _onBeforeSelectionFocusSet = /*#__PURE__*/ new WeakMap(), /**
|
|
161
171
|
* Changes the focus selection to the next or previous cell or merged cell position.
|
|
162
172
|
*
|
|
163
173
|
* @param {number} row The visual row index.
|
|
164
174
|
* @param {number} column The visual column index.
|
|
165
|
-
*/ _onAfterSelectionFocusSet = /*#__PURE__*/ new
|
|
175
|
+
*/ _onAfterSelectionFocusSet = /*#__PURE__*/ new WeakMap(), /**
|
|
166
176
|
* Creates the horizontal and vertical cells order matrix (linked lists) for focused cell.
|
|
167
|
-
*/ _onAfterSelectionEnd = /*#__PURE__*/ new
|
|
177
|
+
*/ _onAfterSelectionEnd = /*#__PURE__*/ new WeakMap(), /**
|
|
168
178
|
* The `afterGetCellMeta` hook callback.
|
|
169
179
|
*
|
|
170
180
|
* @param {number} row Row index.
|
|
171
181
|
* @param {number} col Column index.
|
|
172
182
|
* @param {object} cellProperties The cell properties object.
|
|
173
|
-
*/ _onAfterGetCellMeta = /*#__PURE__*/ new
|
|
183
|
+
*/ _onAfterGetCellMeta = /*#__PURE__*/ new WeakMap(), /**
|
|
174
184
|
* `afterViewportRowCalculatorOverride` hook callback.
|
|
175
185
|
*
|
|
176
186
|
* @param {object} calc The row calculator object.
|
|
177
|
-
*/ _onAfterViewportRowCalculatorOverride = /*#__PURE__*/ new
|
|
187
|
+
*/ _onAfterViewportRowCalculatorOverride = /*#__PURE__*/ new WeakMap(), /**
|
|
178
188
|
* `afterViewportColumnCalculatorOverride` hook callback.
|
|
179
189
|
*
|
|
180
190
|
* @param {object} calc The column calculator object.
|
|
181
|
-
*/ _onAfterViewportColumnCalculatorOverride = /*#__PURE__*/ new
|
|
191
|
+
*/ _onAfterViewportColumnCalculatorOverride = /*#__PURE__*/ new WeakMap(), /**
|
|
182
192
|
* The `modifyAutofillRange` hook callback.
|
|
183
193
|
*
|
|
184
194
|
* @param {number[]} fullArea The drag + base area coordinates (`[startRow, startColumn, endRow, endColumn]`).
|
|
185
195
|
* @param {number[]} baseArea The selection area coordinates (`[startRow, startColumn, endRow, endColumn]`).
|
|
186
196
|
* @returns {number[]} The new drag area (`[startRow, startColumn, endRow, endColumn]`).
|
|
187
|
-
*/ _onModifyAutofillRange = /*#__PURE__*/ new
|
|
197
|
+
*/ _onModifyAutofillRange = /*#__PURE__*/ new WeakMap(), /**
|
|
188
198
|
* `afterCreateCol` hook callback.
|
|
189
199
|
*
|
|
190
200
|
* @param {number} column Column index.
|
|
191
201
|
* @param {number} count Number of created columns.
|
|
192
|
-
*/ _onAfterCreateCol = /*#__PURE__*/ new
|
|
202
|
+
*/ _onAfterCreateCol = /*#__PURE__*/ new WeakMap(), /**
|
|
193
203
|
* `afterRemoveCol` hook callback.
|
|
194
204
|
*
|
|
195
205
|
* @param {number} column Column index.
|
|
196
206
|
* @param {number} count Number of removed columns.
|
|
197
|
-
*/ _onAfterRemoveCol = /*#__PURE__*/ new
|
|
207
|
+
*/ _onAfterRemoveCol = /*#__PURE__*/ new WeakMap(), /**
|
|
198
208
|
* `afterCreateRow` hook callback.
|
|
199
209
|
*
|
|
200
210
|
* @param {number} row Row index.
|
|
201
211
|
* @param {number} count Number of created rows.
|
|
202
212
|
* @param {string} source Source of change.
|
|
203
|
-
*/ _onAfterCreateRow = /*#__PURE__*/ new
|
|
213
|
+
*/ _onAfterCreateRow = /*#__PURE__*/ new WeakMap(), /**
|
|
204
214
|
* `afterRemoveRow` hook callback.
|
|
205
215
|
*
|
|
206
216
|
* @param {number} row Row index.
|
|
207
217
|
* @param {number} count Number of removed rows.
|
|
208
|
-
*/ _onAfterRemoveRow = /*#__PURE__*/ new
|
|
218
|
+
*/ _onAfterRemoveRow = /*#__PURE__*/ new WeakMap(), /**
|
|
219
|
+
* `beforeColumnMove` hook callback. Captures physical column positions of every merge
|
|
220
|
+
* so they can be translated onto the new visual order in `afterColumnMove`.
|
|
221
|
+
*
|
|
222
|
+
* @param {number[]} columns Visual column indexes being moved.
|
|
223
|
+
* @param {number} finalIndex Drop target visual index.
|
|
224
|
+
* @param {number} dropIndex Drop index from drag.
|
|
225
|
+
* @param {boolean} movePossible Whether the move is allowed.
|
|
226
|
+
*/ _onBeforeColumnMove = /*#__PURE__*/ new WeakMap(), /**
|
|
227
|
+
* `afterColumnMove` hook callback. Translates merges using the pre-move snapshot
|
|
228
|
+
* and the now-updated column index mapping. Auto-splits merges whose physical
|
|
229
|
+
* columns are no longer contiguous.
|
|
230
|
+
*
|
|
231
|
+
* @param {number[]} columns Visual column indexes that were moved.
|
|
232
|
+
* @param {number} finalIndex Drop target visual index.
|
|
233
|
+
* @param {number} dropIndex Drop index from drag.
|
|
234
|
+
* @param {boolean} movePossible Whether the move was allowed.
|
|
235
|
+
* @param {boolean} orderChanged Whether the move actually changed the order.
|
|
236
|
+
*/ _onAfterColumnMove = /*#__PURE__*/ new WeakMap(), /**
|
|
237
|
+
* `beforeRowMove` hook callback. Captures physical row positions of every merge
|
|
238
|
+
* so they can be translated onto the new visual order in `afterRowMove`.
|
|
239
|
+
*
|
|
240
|
+
* @param {number[]} rows Visual row indexes being moved.
|
|
241
|
+
* @param {number} finalIndex Drop target visual index.
|
|
242
|
+
* @param {number} dropIndex Drop index from drag.
|
|
243
|
+
* @param {boolean} movePossible Whether the move is allowed.
|
|
244
|
+
*/ _onBeforeRowMove = /*#__PURE__*/ new WeakMap(), /**
|
|
245
|
+
* `afterRowMove` hook callback. Translates merges using the pre-move snapshot
|
|
246
|
+
* and the now-updated row index mapping. Auto-splits merges whose physical
|
|
247
|
+
* rows are no longer contiguous.
|
|
248
|
+
*
|
|
249
|
+
* @param {number[]} rows Visual row indexes that were moved.
|
|
250
|
+
* @param {number} finalIndex Drop target visual index.
|
|
251
|
+
* @param {number} dropIndex Drop index from drag.
|
|
252
|
+
* @param {boolean} movePossible Whether the move was allowed.
|
|
253
|
+
* @param {boolean} orderChanged Whether the move actually changed the order.
|
|
254
|
+
*/ _onAfterRowMove = /*#__PURE__*/ new WeakMap(), /**
|
|
255
|
+
* `beforeColumnFreeze` / `beforeColumnUnfreeze` hook callback. `manualColumnFreeze`
|
|
256
|
+
* reorders the visual sequence directly through the column index mapper, so we
|
|
257
|
+
* need to translate merges through it the same way as for `manualColumnMove`.
|
|
258
|
+
*
|
|
259
|
+
* @param {number} column Visual column index being frozen/unfrozen.
|
|
260
|
+
* @param {boolean} performed Whether the (un)freeze will actually run.
|
|
261
|
+
*/ _onBeforeColumnFreeze = /*#__PURE__*/ new WeakMap(), /**
|
|
262
|
+
* `afterColumnFreeze` / `afterColumnUnfreeze` hook callback.
|
|
263
|
+
*
|
|
264
|
+
* @param {number} column Visual column index that was frozen/unfrozen.
|
|
265
|
+
* @param {boolean} performed Whether the (un)freeze actually ran.
|
|
266
|
+
*/ _onAfterColumnFreeze = /*#__PURE__*/ new WeakMap(), /**
|
|
209
267
|
* `afterChange` hook callback. Used to propagate merged cells after using Autofill.
|
|
210
268
|
*
|
|
211
269
|
* @param {Array} changes The changes array.
|
|
212
270
|
* @param {string} source Determines the source of the change.
|
|
213
|
-
*/ _onAfterChange = /*#__PURE__*/ new
|
|
271
|
+
*/ _onAfterChange = /*#__PURE__*/ new WeakMap(), /**
|
|
214
272
|
* `beforeDrawAreaBorders` hook callback.
|
|
215
273
|
*
|
|
216
274
|
* @param {Array} corners Visual coordinates of the area corners.
|
|
217
275
|
* @param {string} className Class name for the area.
|
|
218
|
-
*/ _onBeforeDrawAreaBorders = /*#__PURE__*/ new
|
|
219
|
-
* `afterDrawSelection` hook callback.
|
|
276
|
+
*/ _onBeforeDrawAreaBorders = /*#__PURE__*/ new WeakMap(), /**
|
|
277
|
+
* `afterDrawSelection` hook callback.
|
|
220
278
|
*
|
|
221
279
|
* @param {number} currentRow Visual row index of the currently processed cell.
|
|
222
280
|
* @param {number} currentColumn Visual column index of the currently cell.
|
|
223
|
-
* @param {Array} cornersOfSelection Array of the current selection
|
|
224
|
-
* endColumn]`.
|
|
281
|
+
* @param {Array} cornersOfSelection Array of the current selection.
|
|
225
282
|
* @param {number|undefined} layerLevel Number indicating which layer of selection is currently processed.
|
|
226
|
-
* @returns {string|undefined}
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
* `beforeRemoveCellClassNames` hook callback. Used to remove additional class name from all cells in the table.
|
|
283
|
+
* @returns {string|undefined}
|
|
284
|
+
*/ _onAfterDrawSelection = /*#__PURE__*/ new WeakMap(), /**
|
|
285
|
+
* `beforeRemoveCellClassNames` hook callback.
|
|
230
286
|
*
|
|
231
|
-
* @returns {string[]}
|
|
232
|
-
|
|
233
|
-
*/ _onBeforeRemoveCellClassNames = /*#__PURE__*/ new WeakSet(), /**
|
|
287
|
+
* @returns {string[]}
|
|
288
|
+
*/ _onBeforeRemoveCellClassNames = /*#__PURE__*/ new WeakMap(), /**
|
|
234
289
|
* Allows to prevent opening the editor while more than one merged cell is selected.
|
|
235
290
|
*
|
|
236
291
|
* @param {number} row Visual row index of the edited cell.
|
|
@@ -238,26 +293,33 @@ var /**
|
|
|
238
293
|
* @param {string | null} initialValue The initial editor value.
|
|
239
294
|
* @param {MouseEvent | KeyboardEvent} event The event which was responsible for opening the editor.
|
|
240
295
|
* @returns {boolean | undefined}
|
|
241
|
-
*/ _onBeforeBeginEditing = /*#__PURE__*/ new
|
|
296
|
+
*/ _onBeforeBeginEditing = /*#__PURE__*/ new WeakMap(), /**
|
|
242
297
|
* Hook used to modify the row height depends on the merged cells in the row.
|
|
243
298
|
*
|
|
244
299
|
* @param {number} height The row height value provided by the Core.
|
|
245
300
|
* @param {number} row The visual row index.
|
|
246
301
|
* @param {string} overlayType The overlay type that is currently rendered.
|
|
247
302
|
* @returns {number}
|
|
248
|
-
*/ _onModifyRowHeightByOverlayName = /*#__PURE__*/ new
|
|
303
|
+
*/ _onModifyRowHeightByOverlayName = /*#__PURE__*/ new WeakMap();
|
|
249
304
|
class MergeCells extends _base.BasePlugin {
|
|
250
|
-
|
|
305
|
+
/**
|
|
306
|
+
* Returns the plugin key used to identify this plugin in Handsontable settings.
|
|
307
|
+
*/ static get PLUGIN_KEY() {
|
|
251
308
|
return PLUGIN_KEY;
|
|
252
309
|
}
|
|
253
|
-
|
|
310
|
+
/**
|
|
311
|
+
* Returns the priority order used to determine the order in which plugins are initialized.
|
|
312
|
+
*/ static get PLUGIN_PRIORITY() {
|
|
254
313
|
return PLUGIN_PRIORITY;
|
|
255
314
|
}
|
|
256
|
-
|
|
315
|
+
/**
|
|
316
|
+
* Returns the default settings applied when the plugin is enabled without explicit configuration.
|
|
317
|
+
*/ static get DEFAULT_SETTINGS() {
|
|
318
|
+
const cells = [];
|
|
257
319
|
return {
|
|
258
320
|
[_base.defaultMainSettingSymbol]: 'cells',
|
|
259
321
|
virtualized: false,
|
|
260
|
-
cells
|
|
322
|
+
cells
|
|
261
323
|
};
|
|
262
324
|
}
|
|
263
325
|
/**
|
|
@@ -277,35 +339,43 @@ class MergeCells extends _base.BasePlugin {
|
|
|
277
339
|
this.mergedCellsCollection = new _cellsCollection.default(this);
|
|
278
340
|
this.autofillCalculations = new _autofill.default(this);
|
|
279
341
|
this.selectionCalculations = new _selection.default(this);
|
|
280
|
-
this.addHook('afterInit', (
|
|
281
|
-
this.addHook('modifyTransformFocus', (
|
|
282
|
-
this.addHook('modifyTransformStart', (
|
|
283
|
-
this.addHook('modifyTransformEnd', (
|
|
284
|
-
this.addHook('beforeSelectionHighlightSet', (
|
|
285
|
-
this.addHook('beforeSetRangeStart', (
|
|
286
|
-
this.addHook('beforeSetRangeStartOnly', (
|
|
287
|
-
this.addHook('beforeSelectionFocusSet', (
|
|
288
|
-
this.addHook('afterSelectionFocusSet', (
|
|
289
|
-
this.addHook('afterSelectionEnd', (
|
|
290
|
-
this.addHook('modifyGetCellCoords', (
|
|
291
|
-
this.addHook('modifyGetCoordsElement', (
|
|
292
|
-
this.addHook('afterIsMultipleSelection', (
|
|
293
|
-
this.addHook('afterRenderer', (
|
|
294
|
-
this.addHook('afterContextMenuDefaultOptions', (
|
|
295
|
-
this.addHook('afterGetCellMeta', (
|
|
296
|
-
this.addHook('afterViewportRowCalculatorOverride', (
|
|
297
|
-
this.addHook('afterViewportColumnCalculatorOverride', (
|
|
298
|
-
this.addHook('modifyAutofillRange', (
|
|
299
|
-
this.addHook('afterCreateCol', (
|
|
300
|
-
this.addHook('afterRemoveCol', (
|
|
301
|
-
this.addHook('afterCreateRow', (
|
|
302
|
-
this.addHook('afterRemoveRow', (
|
|
303
|
-
this.addHook('
|
|
304
|
-
this.addHook('
|
|
305
|
-
this.addHook('
|
|
306
|
-
this.addHook('
|
|
307
|
-
this.addHook('
|
|
308
|
-
this.addHook('
|
|
342
|
+
this.addHook('afterInit', _class_private_field_get(this, _onAfterInit));
|
|
343
|
+
this.addHook('modifyTransformFocus', _class_private_field_get(this, _onModifyTransformFocus));
|
|
344
|
+
this.addHook('modifyTransformStart', _class_private_field_get(this, _onModifyTransformStart));
|
|
345
|
+
this.addHook('modifyTransformEnd', _class_private_field_get(this, _onModifyTransformEnd));
|
|
346
|
+
this.addHook('beforeSelectionHighlightSet', _class_private_field_get(this, _onBeforeSelectionHighlightSet));
|
|
347
|
+
this.addHook('beforeSetRangeStart', _class_private_field_get(this, _onBeforeSetRangeStart));
|
|
348
|
+
this.addHook('beforeSetRangeStartOnly', _class_private_field_get(this, _onBeforeSetRangeStart));
|
|
349
|
+
this.addHook('beforeSelectionFocusSet', _class_private_field_get(this, _onBeforeSelectionFocusSet));
|
|
350
|
+
this.addHook('afterSelectionFocusSet', _class_private_field_get(this, _onAfterSelectionFocusSet));
|
|
351
|
+
this.addHook('afterSelectionEnd', _class_private_field_get(this, _onAfterSelectionEnd));
|
|
352
|
+
this.addHook('modifyGetCellCoords', _class_private_field_get(this, _onModifyGetCellCoords));
|
|
353
|
+
this.addHook('modifyGetCoordsElement', _class_private_field_get(this, _onModifyGetCellCoords));
|
|
354
|
+
this.addHook('afterIsMultipleSelection', _class_private_field_get(this, _onAfterIsMultipleSelection));
|
|
355
|
+
this.addHook('afterRenderer', (TD, row, col)=>_class_private_field_get(this, _cellRenderer).after(TD, row, col));
|
|
356
|
+
this.addHook('afterContextMenuDefaultOptions', (defaultOptions)=>_class_private_method_get(this, _addMergeActionsToContextMenu, addMergeActionsToContextMenu).call(this, defaultOptions));
|
|
357
|
+
this.addHook('afterGetCellMeta', _class_private_field_get(this, _onAfterGetCellMeta));
|
|
358
|
+
this.addHook('afterViewportRowCalculatorOverride', _class_private_field_get(this, _onAfterViewportRowCalculatorOverride));
|
|
359
|
+
this.addHook('afterViewportColumnCalculatorOverride', _class_private_field_get(this, _onAfterViewportColumnCalculatorOverride));
|
|
360
|
+
this.addHook('modifyAutofillRange', _class_private_field_get(this, _onModifyAutofillRange));
|
|
361
|
+
this.addHook('afterCreateCol', _class_private_field_get(this, _onAfterCreateCol));
|
|
362
|
+
this.addHook('afterRemoveCol', _class_private_field_get(this, _onAfterRemoveCol));
|
|
363
|
+
this.addHook('afterCreateRow', _class_private_field_get(this, _onAfterCreateRow));
|
|
364
|
+
this.addHook('afterRemoveRow', _class_private_field_get(this, _onAfterRemoveRow));
|
|
365
|
+
this.addHook('beforeColumnMove', _class_private_field_get(this, _onBeforeColumnMove));
|
|
366
|
+
this.addHook('afterColumnMove', _class_private_field_get(this, _onAfterColumnMove));
|
|
367
|
+
this.addHook('beforeRowMove', _class_private_field_get(this, _onBeforeRowMove));
|
|
368
|
+
this.addHook('afterRowMove', _class_private_field_get(this, _onAfterRowMove));
|
|
369
|
+
this.addHook('beforeColumnFreeze', _class_private_field_get(this, _onBeforeColumnFreeze));
|
|
370
|
+
this.addHook('afterColumnFreeze', _class_private_field_get(this, _onAfterColumnFreeze));
|
|
371
|
+
this.addHook('beforeColumnUnfreeze', _class_private_field_get(this, _onBeforeColumnFreeze));
|
|
372
|
+
this.addHook('afterColumnUnfreeze', _class_private_field_get(this, _onAfterColumnFreeze));
|
|
373
|
+
this.addHook('afterChange', _class_private_field_get(this, _onAfterChange));
|
|
374
|
+
this.addHook('beforeDrawBorders', _class_private_field_get(this, _onBeforeDrawAreaBorders));
|
|
375
|
+
this.addHook('afterDrawSelection', _class_private_field_get(this, _onAfterDrawSelection));
|
|
376
|
+
this.addHook('beforeRemoveCellClassNames', _class_private_field_get(this, _onBeforeRemoveCellClassNames));
|
|
377
|
+
this.addHook('beforeBeginEditing', _class_private_field_get(this, _onBeforeBeginEditing));
|
|
378
|
+
this.addHook('modifyRowHeightByOverlayName', _class_private_field_get(this, _onModifyRowHeightByOverlayName));
|
|
309
379
|
this.addHook('beforeUndoStackChange', (action, source)=>{
|
|
310
380
|
if (source === 'MergeCells') {
|
|
311
381
|
return false;
|
|
@@ -320,6 +390,7 @@ class MergeCells extends _base.BasePlugin {
|
|
|
320
390
|
this.clearCollections();
|
|
321
391
|
this.unregisterShortcuts();
|
|
322
392
|
this.hot.render();
|
|
393
|
+
_class_private_field_set(this, _initialized, false);
|
|
323
394
|
super.disablePlugin();
|
|
324
395
|
}
|
|
325
396
|
/**
|
|
@@ -332,6 +403,7 @@ class MergeCells extends _base.BasePlugin {
|
|
|
332
403
|
this.disablePlugin();
|
|
333
404
|
this.enablePlugin();
|
|
334
405
|
this.generateFromSettings();
|
|
406
|
+
_class_private_field_set(this, _initialized, true);
|
|
335
407
|
super.updatePlugin();
|
|
336
408
|
}
|
|
337
409
|
/**
|
|
@@ -358,13 +430,16 @@ class MergeCells extends _base.BasePlugin {
|
|
|
358
430
|
];
|
|
359
431
|
rowIndexesToRefresh.forEach((rowIndex)=>{
|
|
360
432
|
const renderableRowIndex = this.hot.rowIndexMapper.getRenderableFromVisualIndex(rowIndex);
|
|
361
|
-
|
|
433
|
+
if (renderableRowIndex === null) {
|
|
434
|
+
return;
|
|
435
|
+
}
|
|
436
|
+
this.hot.view._wt.wtOverlays.getOverlays(true).map((overlay)=>overlay.name === 'master' ? overlay : overlay.clone.wtTable).forEach((wtTableRef)=>{
|
|
362
437
|
const rowToRefresh = wtTableRef.getRow(renderableRowIndex);
|
|
363
438
|
if (rowToRefresh) {
|
|
364
439
|
// Modify the TR's `background` property to later modify it asynchronously.
|
|
365
440
|
// The background color is getting modified only with the alpha, so the change should not be visible (and is
|
|
366
441
|
// covered by the TDs' background color).
|
|
367
|
-
rowToRefresh.style.background = (0, _element.getStyle)(rowToRefresh, 'backgroundColor')
|
|
442
|
+
rowToRefresh.style.background = (0, _element.getStyle)(rowToRefresh, 'backgroundColor')?.replace(')', ', 0.99)') ?? '';
|
|
368
443
|
rowsToRefresh.push(rowToRefresh);
|
|
369
444
|
}
|
|
370
445
|
});
|
|
@@ -372,7 +447,7 @@ class MergeCells extends _base.BasePlugin {
|
|
|
372
447
|
// Asynchronously revert the TRs' `background` property to force a fresh repaint.
|
|
373
448
|
this.hot._registerTimeout(()=>{
|
|
374
449
|
rowsToRefresh.forEach((rowElement)=>{
|
|
375
|
-
rowElement.style.background = (0, _element.getStyle)(rowElement, 'backgroundColor')?.replace(', 0.99)', ')'
|
|
450
|
+
rowElement.style.background = (0, _element.getStyle)(rowElement, 'backgroundColor')?.replace(', 0.99)', '') ?? '';
|
|
376
451
|
});
|
|
377
452
|
}, 1);
|
|
378
453
|
}
|
|
@@ -437,7 +512,7 @@ class MergeCells extends _base.BasePlugin {
|
|
|
437
512
|
return;
|
|
438
513
|
}
|
|
439
514
|
// TODO: Change the `source` argument to a more meaningful value, e.g. `${this.pluginName}.clearCells`.
|
|
440
|
-
this.hot.setDataAtCell(populatedNulls, undefined, undefined, this.pluginName);
|
|
515
|
+
this.hot.setDataAtCell(populatedNulls, undefined, undefined, this.pluginName ?? undefined);
|
|
441
516
|
}
|
|
442
517
|
/**
|
|
443
518
|
* Clears the merged cells from the merged cell container.
|
|
@@ -466,7 +541,9 @@ class MergeCells extends _base.BasePlugin {
|
|
|
466
541
|
const { from, to } = cellRange;
|
|
467
542
|
this.unmergeRange(cellRange, true);
|
|
468
543
|
this.mergeRange(cellRange);
|
|
469
|
-
|
|
544
|
+
if (from.row !== null && from.col !== null && to.row !== null && to.col !== null) {
|
|
545
|
+
this.hot.selectCell(from.row, from.col, to.row, to.col, false);
|
|
546
|
+
}
|
|
470
547
|
}
|
|
471
548
|
/**
|
|
472
549
|
* Unmerges the selection provided as a cell range.
|
|
@@ -478,7 +555,9 @@ class MergeCells extends _base.BasePlugin {
|
|
|
478
555
|
}
|
|
479
556
|
const { from, to } = cellRange;
|
|
480
557
|
this.unmergeRange(cellRange, true);
|
|
481
|
-
|
|
558
|
+
if (from.row !== null && from.col !== null && to.row !== null && to.col !== null) {
|
|
559
|
+
this.hot.selectCell(from.row, from.col, to.row, to.col, false);
|
|
560
|
+
}
|
|
482
561
|
}
|
|
483
562
|
/**
|
|
484
563
|
* Merges cells in the provided cell range.
|
|
@@ -495,6 +574,9 @@ class MergeCells extends _base.BasePlugin {
|
|
|
495
574
|
*/ mergeRange(cellRange, auto = false, preventPopulation = false) {
|
|
496
575
|
const topStart = cellRange.getTopStartCorner();
|
|
497
576
|
const bottomEnd = cellRange.getBottomEndCorner();
|
|
577
|
+
if (topStart.row === null || topStart.col === null || bottomEnd.row === null || bottomEnd.col === null) {
|
|
578
|
+
return false;
|
|
579
|
+
}
|
|
498
580
|
const mergeParent = {
|
|
499
581
|
row: topStart.row,
|
|
500
582
|
col: topStart.col,
|
|
@@ -532,7 +614,7 @@ class MergeCells extends _base.BasePlugin {
|
|
|
532
614
|
];
|
|
533
615
|
} else {
|
|
534
616
|
// TODO: Change the `source` argument to a more meaningful value, e.g. `${this.pluginName}.clearCells`.
|
|
535
|
-
this.hot.populateFromArray(mergeParent.row, mergeParent.col, clearedData, undefined, undefined, this.pluginName);
|
|
617
|
+
this.hot.populateFromArray(mergeParent.row, mergeParent.col, clearedData, undefined, undefined, this.pluginName ?? undefined);
|
|
536
618
|
}
|
|
537
619
|
if (!auto) {
|
|
538
620
|
this.ifChromeForceRepaint();
|
|
@@ -577,8 +659,11 @@ class MergeCells extends _base.BasePlugin {
|
|
|
577
659
|
* @param {CellRange} cellRange The cell range to merge or unmerged.
|
|
578
660
|
*/ toggleMerge(cellRange) {
|
|
579
661
|
const { from, to } = cellRange.clone().normalize();
|
|
662
|
+
if (from.row === null || from.col === null || to.row === null || to.col === null) {
|
|
663
|
+
return;
|
|
664
|
+
}
|
|
580
665
|
const mergedCell = this.mergedCellsCollection.get(from.row, from.col);
|
|
581
|
-
const mergedCellCoversWholeRange = mergedCell.row === from.row && mergedCell.col === from.col && mergedCell.row + mergedCell.rowspan - 1 === to.row && mergedCell.col + mergedCell.colspan - 1 === to.col;
|
|
666
|
+
const mergedCellCoversWholeRange = mergedCell !== false && mergedCell.row === from.row && mergedCell.col === from.col && mergedCell.row + mergedCell.rowspan - 1 === to.row && mergedCell.col + mergedCell.colspan - 1 === to.col;
|
|
582
667
|
if (mergedCellCoversWholeRange) {
|
|
583
668
|
this.unmergeRange(cellRange);
|
|
584
669
|
} else {
|
|
@@ -620,6 +705,9 @@ class MergeCells extends _base.BasePlugin {
|
|
|
620
705
|
*/ registerShortcuts() {
|
|
621
706
|
const shortcutManager = this.hot.getShortcutManager();
|
|
622
707
|
const gridContext = shortcutManager.getContext('grid');
|
|
708
|
+
if (!gridContext) {
|
|
709
|
+
return;
|
|
710
|
+
}
|
|
623
711
|
gridContext.addShortcut({
|
|
624
712
|
keys: [
|
|
625
713
|
[
|
|
@@ -634,7 +722,7 @@ class MergeCells extends _base.BasePlugin {
|
|
|
634
722
|
this.hot.render();
|
|
635
723
|
}
|
|
636
724
|
},
|
|
637
|
-
runOnlyIf: (event)=>!event
|
|
725
|
+
runOnlyIf: (event)=>!event?.altKey,
|
|
638
726
|
group: SHORTCUTS_GROUP
|
|
639
727
|
});
|
|
640
728
|
}
|
|
@@ -645,102 +733,100 @@ class MergeCells extends _base.BasePlugin {
|
|
|
645
733
|
*/ unregisterShortcuts() {
|
|
646
734
|
const shortcutManager = this.hot.getShortcutManager();
|
|
647
735
|
const gridContext = shortcutManager.getContext('grid');
|
|
648
|
-
gridContext
|
|
736
|
+
gridContext?.removeShortcutsByGroup(SHORTCUTS_GROUP);
|
|
649
737
|
}
|
|
650
738
|
/**
|
|
651
|
-
* Modify viewport start when needed.
|
|
739
|
+
* Modify viewport start when needed.
|
|
652
740
|
*
|
|
653
741
|
* @private
|
|
654
742
|
* @param {object} calc The row calculator object.
|
|
655
743
|
* @param {number} nrOfColumns Number of visual columns.
|
|
656
744
|
*/ modifyViewportRowStart(calc, nrOfColumns) {
|
|
657
745
|
const rowMapper = this.hot.rowIndexMapper;
|
|
658
|
-
const visualStartRow = rowMapper.getVisualFromRenderableIndex(calc.startRow);
|
|
746
|
+
const visualStartRow = rowMapper.getVisualFromRenderableIndex(calc.startRow) ?? 0;
|
|
659
747
|
for(let visualColumnIndex = 0; visualColumnIndex < nrOfColumns; visualColumnIndex += 1){
|
|
660
748
|
const mergeParentForViewportStart = this.mergedCellsCollection.get(visualStartRow, visualColumnIndex);
|
|
661
|
-
if (
|
|
662
|
-
const
|
|
663
|
-
|
|
664
|
-
if (renderableIndexAtMergeStart < calc.startRow) {
|
|
665
|
-
// We extend viewport when some rows have been merged.
|
|
749
|
+
if (mergeParentForViewportStart !== false) {
|
|
750
|
+
const nearestNotHiddenRow = rowMapper.getNearestNotHiddenIndex(mergeParentForViewportStart.row, 1);
|
|
751
|
+
const renderableIndexAtMergeStart = nearestNotHiddenRow !== null ? rowMapper.getRenderableFromVisualIndex(nearestNotHiddenRow) : null;
|
|
752
|
+
if (renderableIndexAtMergeStart !== null && renderableIndexAtMergeStart < calc.startRow) {
|
|
666
753
|
calc.startRow = renderableIndexAtMergeStart;
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
return; // Finish the current loop. Everything will be checked from the beginning by above recursion.
|
|
754
|
+
this.modifyViewportRowStart(calc, nrOfColumns);
|
|
755
|
+
return;
|
|
670
756
|
}
|
|
671
757
|
}
|
|
672
758
|
}
|
|
673
759
|
}
|
|
674
760
|
/**
|
|
675
|
-
*
|
|
761
|
+
* Modify viewport end when needed.
|
|
676
762
|
*
|
|
677
763
|
* @private
|
|
678
764
|
* @param {object} calc The row calculator object.
|
|
679
765
|
* @param {number} nrOfColumns Number of visual columns.
|
|
680
766
|
*/ modifyViewportRowEnd(calc, nrOfColumns) {
|
|
681
767
|
const rowMapper = this.hot.rowIndexMapper;
|
|
682
|
-
const visualEndRow = rowMapper.getVisualFromRenderableIndex(calc.endRow);
|
|
768
|
+
const visualEndRow = rowMapper.getVisualFromRenderableIndex(calc.endRow) ?? 0;
|
|
683
769
|
for(let visualColumnIndex = 0; visualColumnIndex < nrOfColumns; visualColumnIndex += 1){
|
|
684
770
|
const mergeParentForViewportEnd = this.mergedCellsCollection.get(visualEndRow, visualColumnIndex);
|
|
685
|
-
if (
|
|
771
|
+
if (mergeParentForViewportEnd !== false) {
|
|
686
772
|
const mergeEnd = mergeParentForViewportEnd.row + mergeParentForViewportEnd.rowspan - 1;
|
|
687
|
-
const
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
773
|
+
const nearestRow = rowMapper.getNearestNotHiddenIndex(mergeEnd, -1);
|
|
774
|
+
if (nearestRow !== null) {
|
|
775
|
+
const renderableIndexAtMergeEnd = rowMapper.getRenderableFromVisualIndex(nearestRow);
|
|
776
|
+
if (renderableIndexAtMergeEnd !== null && renderableIndexAtMergeEnd > calc.endRow) {
|
|
777
|
+
calc.endRow = renderableIndexAtMergeEnd;
|
|
778
|
+
this.modifyViewportRowEnd(calc, nrOfColumns);
|
|
779
|
+
return;
|
|
780
|
+
}
|
|
695
781
|
}
|
|
696
782
|
}
|
|
697
783
|
}
|
|
698
784
|
}
|
|
699
785
|
/**
|
|
700
|
-
* Modify viewport start when needed.
|
|
786
|
+
* Modify viewport start when needed.
|
|
701
787
|
*
|
|
702
788
|
* @private
|
|
703
789
|
* @param {object} calc The column calculator object.
|
|
704
790
|
* @param {number} nrOfRows Number of visual rows.
|
|
705
791
|
*/ modifyViewportColumnStart(calc, nrOfRows) {
|
|
706
792
|
const columnMapper = this.hot.columnIndexMapper;
|
|
707
|
-
const visualStartCol = columnMapper.getVisualFromRenderableIndex(calc.startColumn);
|
|
793
|
+
const visualStartCol = columnMapper.getVisualFromRenderableIndex(calc.startColumn) ?? 0;
|
|
708
794
|
for(let visualRowIndex = 0; visualRowIndex < nrOfRows; visualRowIndex += 1){
|
|
709
795
|
const mergeParentForViewportStart = this.mergedCellsCollection.get(visualRowIndex, visualStartCol);
|
|
710
|
-
if (
|
|
711
|
-
const
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
796
|
+
if (mergeParentForViewportStart !== false) {
|
|
797
|
+
const nearestCol = columnMapper.getNearestNotHiddenIndex(mergeParentForViewportStart.col, 1);
|
|
798
|
+
if (nearestCol !== null) {
|
|
799
|
+
const renderableIndexAtMergeStart = columnMapper.getRenderableFromVisualIndex(nearestCol);
|
|
800
|
+
if (renderableIndexAtMergeStart !== null && renderableIndexAtMergeStart < calc.startColumn) {
|
|
801
|
+
calc.startColumn = renderableIndexAtMergeStart;
|
|
802
|
+
this.modifyViewportColumnStart(calc, nrOfRows);
|
|
803
|
+
return;
|
|
804
|
+
}
|
|
719
805
|
}
|
|
720
806
|
}
|
|
721
807
|
}
|
|
722
808
|
}
|
|
723
809
|
/**
|
|
724
|
-
*
|
|
810
|
+
* Modify viewport end when needed.
|
|
725
811
|
*
|
|
726
812
|
* @private
|
|
727
813
|
* @param {object} calc The column calculator object.
|
|
728
814
|
* @param {number} nrOfRows Number of visual rows.
|
|
729
815
|
*/ modifyViewportColumnEnd(calc, nrOfRows) {
|
|
730
816
|
const columnMapper = this.hot.columnIndexMapper;
|
|
731
|
-
const visualEndCol = columnMapper.getVisualFromRenderableIndex(calc.endColumn);
|
|
817
|
+
const visualEndCol = columnMapper.getVisualFromRenderableIndex(calc.endColumn) ?? 0;
|
|
732
818
|
for(let visualRowIndex = 0; visualRowIndex < nrOfRows; visualRowIndex += 1){
|
|
733
819
|
const mergeParentForViewportEnd = this.mergedCellsCollection.get(visualRowIndex, visualEndCol);
|
|
734
|
-
if (
|
|
820
|
+
if (mergeParentForViewportEnd !== false) {
|
|
735
821
|
const mergeEnd = mergeParentForViewportEnd.col + mergeParentForViewportEnd.colspan - 1;
|
|
736
|
-
const
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
822
|
+
const nearestCol = columnMapper.getNearestNotHiddenIndex(mergeEnd, -1);
|
|
823
|
+
if (nearestCol !== null) {
|
|
824
|
+
const renderableIndexAtMergeEnd = columnMapper.getRenderableFromVisualIndex(nearestCol);
|
|
825
|
+
if (renderableIndexAtMergeEnd !== null && renderableIndexAtMergeEnd > calc.endColumn) {
|
|
826
|
+
calc.endColumn = renderableIndexAtMergeEnd;
|
|
827
|
+
this.modifyViewportColumnEnd(calc, nrOfRows);
|
|
828
|
+
return;
|
|
829
|
+
}
|
|
744
830
|
}
|
|
745
831
|
}
|
|
746
832
|
}
|
|
@@ -750,16 +836,10 @@ class MergeCells extends _base.BasePlugin {
|
|
|
750
836
|
*
|
|
751
837
|
* @private
|
|
752
838
|
* @param {number} parentRow Visual row index.
|
|
753
|
-
* @param {number} rowspan Rowspan
|
|
754
|
-
* to calculate renderable index which points to the most bottom
|
|
755
|
-
* index position. Pass rowspan as `0` to calculate the most top
|
|
756
|
-
* index position.
|
|
839
|
+
* @param {number} rowspan Rowspan.
|
|
757
840
|
* @param {number} parentColumn Visual column index.
|
|
758
|
-
* @param {number} colspan Colspan
|
|
759
|
-
*
|
|
760
|
-
* index position. Pass colspan as `0` to calculate the most left
|
|
761
|
-
* index position.
|
|
762
|
-
* @returns {number[]}
|
|
841
|
+
* @param {number} colspan Colspan.
|
|
842
|
+
* @returns {Array<number>} A two-element array of `[renderableRow, renderableColumn]`.
|
|
763
843
|
*/ translateMergedCellToRenderable(parentRow, rowspan, parentColumn, colspan) {
|
|
764
844
|
const { rowIndexMapper: rowMapper, columnIndexMapper: columnMapper } = this.hot;
|
|
765
845
|
let firstNonHiddenRow;
|
|
@@ -774,15 +854,15 @@ class MergeCells extends _base.BasePlugin {
|
|
|
774
854
|
} else {
|
|
775
855
|
firstNonHiddenColumn = columnMapper.getNearestNotHiddenIndex(parentColumn + colspan - 1, -1);
|
|
776
856
|
}
|
|
777
|
-
const renderableRow = parentRow >= 0 ? rowMapper.getRenderableFromVisualIndex(firstNonHiddenRow) : parentRow;
|
|
778
|
-
const renderableColumn = parentColumn >= 0 ? columnMapper.getRenderableFromVisualIndex(firstNonHiddenColumn) : parentColumn;
|
|
857
|
+
const renderableRow = parentRow >= 0 && firstNonHiddenRow !== null ? rowMapper.getRenderableFromVisualIndex(firstNonHiddenRow) ?? parentRow : parentRow;
|
|
858
|
+
const renderableColumn = parentColumn >= 0 && firstNonHiddenColumn !== null ? columnMapper.getRenderableFromVisualIndex(firstNonHiddenColumn) ?? parentColumn : parentColumn;
|
|
779
859
|
return [
|
|
780
860
|
renderableRow,
|
|
781
861
|
renderableColumn
|
|
782
862
|
];
|
|
783
863
|
}
|
|
784
864
|
constructor(...args){
|
|
785
|
-
super(...args), _class_private_method_init(this,
|
|
865
|
+
super(...args), _class_private_method_init(this, _addMergeActionsToContextMenu), _class_private_field_init(this, _lastSelectedFocus, {
|
|
786
866
|
writable: true,
|
|
787
867
|
value: void 0
|
|
788
868
|
}), _class_private_field_init(this, _lastFocusDelta, {
|
|
@@ -794,441 +874,592 @@ class MergeCells extends _base.BasePlugin {
|
|
|
794
874
|
}), _class_private_field_init(this, _cellRenderer, {
|
|
795
875
|
writable: true,
|
|
796
876
|
value: void 0
|
|
797
|
-
}),
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
877
|
+
}), _class_private_field_init(this, _columnMoveSnapshot, {
|
|
878
|
+
writable: true,
|
|
879
|
+
value: void 0
|
|
880
|
+
}), _class_private_field_init(this, _rowMoveSnapshot, {
|
|
881
|
+
writable: true,
|
|
882
|
+
value: void 0
|
|
883
|
+
}), _class_private_field_init(this, _initialized, {
|
|
884
|
+
writable: true,
|
|
885
|
+
value: void 0
|
|
886
|
+
}), _class_private_field_init(this, _onAfterInit, {
|
|
887
|
+
writable: true,
|
|
888
|
+
value: void 0
|
|
889
|
+
}), _class_private_field_init(this, _onAfterIsMultipleSelection, {
|
|
890
|
+
writable: true,
|
|
891
|
+
value: void 0
|
|
892
|
+
}), _class_private_field_init(this, _onModifyTransformFocus, {
|
|
893
|
+
writable: true,
|
|
894
|
+
value: void 0
|
|
895
|
+
}), _class_private_field_init(this, _onModifyTransformStart, {
|
|
896
|
+
writable: true,
|
|
897
|
+
value: void 0
|
|
898
|
+
}), _class_private_field_init(this, _onModifyTransformEnd, {
|
|
899
|
+
writable: true,
|
|
900
|
+
value: void 0
|
|
901
|
+
}), _class_private_field_init(this, _onBeforeSelectionHighlightSet, {
|
|
902
|
+
writable: true,
|
|
903
|
+
value: void 0
|
|
904
|
+
}), _class_private_field_init(this, _onModifyGetCellCoords, {
|
|
905
|
+
writable: true,
|
|
906
|
+
value: void 0
|
|
907
|
+
}), _class_private_field_init(this, _onBeforeSetRangeStart, {
|
|
908
|
+
writable: true,
|
|
909
|
+
value: void 0
|
|
910
|
+
}), _class_private_field_init(this, _onBeforeSelectionFocusSet, {
|
|
911
|
+
writable: true,
|
|
912
|
+
value: void 0
|
|
913
|
+
}), _class_private_field_init(this, _onAfterSelectionFocusSet, {
|
|
914
|
+
writable: true,
|
|
915
|
+
value: void 0
|
|
916
|
+
}), _class_private_field_init(this, _onAfterSelectionEnd, {
|
|
917
|
+
writable: true,
|
|
918
|
+
value: void 0
|
|
919
|
+
}), _class_private_field_init(this, _onAfterGetCellMeta, {
|
|
920
|
+
writable: true,
|
|
921
|
+
value: void 0
|
|
922
|
+
}), _class_private_field_init(this, _onAfterViewportRowCalculatorOverride, {
|
|
923
|
+
writable: true,
|
|
924
|
+
value: void 0
|
|
925
|
+
}), _class_private_field_init(this, _onAfterViewportColumnCalculatorOverride, {
|
|
926
|
+
writable: true,
|
|
927
|
+
value: void 0
|
|
928
|
+
}), _class_private_field_init(this, _onModifyAutofillRange, {
|
|
929
|
+
writable: true,
|
|
930
|
+
value: void 0
|
|
931
|
+
}), _class_private_field_init(this, _onAfterCreateCol, {
|
|
932
|
+
writable: true,
|
|
933
|
+
value: void 0
|
|
934
|
+
}), _class_private_field_init(this, _onAfterRemoveCol, {
|
|
935
|
+
writable: true,
|
|
936
|
+
value: void 0
|
|
937
|
+
}), _class_private_field_init(this, _onAfterCreateRow, {
|
|
938
|
+
writable: true,
|
|
939
|
+
value: void 0
|
|
940
|
+
}), _class_private_field_init(this, _onAfterRemoveRow, {
|
|
941
|
+
writable: true,
|
|
942
|
+
value: void 0
|
|
943
|
+
}), _class_private_field_init(this, _onBeforeColumnMove, {
|
|
944
|
+
writable: true,
|
|
945
|
+
value: void 0
|
|
946
|
+
}), _class_private_field_init(this, _onAfterColumnMove, {
|
|
947
|
+
writable: true,
|
|
948
|
+
value: void 0
|
|
949
|
+
}), _class_private_field_init(this, _onBeforeRowMove, {
|
|
950
|
+
writable: true,
|
|
951
|
+
value: void 0
|
|
952
|
+
}), _class_private_field_init(this, _onAfterRowMove, {
|
|
953
|
+
writable: true,
|
|
954
|
+
value: void 0
|
|
955
|
+
}), _class_private_field_init(this, _onBeforeColumnFreeze, {
|
|
956
|
+
writable: true,
|
|
957
|
+
value: void 0
|
|
958
|
+
}), _class_private_field_init(this, _onAfterColumnFreeze, {
|
|
959
|
+
writable: true,
|
|
960
|
+
value: void 0
|
|
961
|
+
}), _class_private_field_init(this, _onAfterChange, {
|
|
962
|
+
writable: true,
|
|
963
|
+
value: void 0
|
|
964
|
+
}), _class_private_field_init(this, _onBeforeDrawAreaBorders, {
|
|
965
|
+
writable: true,
|
|
966
|
+
value: void 0
|
|
967
|
+
}), _class_private_field_init(this, _onAfterDrawSelection, {
|
|
968
|
+
writable: true,
|
|
969
|
+
value: void 0
|
|
970
|
+
}), _class_private_field_init(this, _onBeforeRemoveCellClassNames, {
|
|
971
|
+
writable: true,
|
|
972
|
+
value: void 0
|
|
973
|
+
}), _class_private_field_init(this, _onBeforeBeginEditing, {
|
|
974
|
+
writable: true,
|
|
975
|
+
value: void 0
|
|
976
|
+
}), _class_private_field_init(this, _onModifyRowHeightByOverlayName, {
|
|
977
|
+
writable: true,
|
|
978
|
+
value: void 0
|
|
979
|
+
}), _class_private_field_set(this, _lastSelectedFocus, null), _class_private_field_set(this, _lastFocusDelta, {
|
|
813
980
|
row: 0,
|
|
814
981
|
col: 0
|
|
815
982
|
}), _class_private_field_set(this, _focusOrder1, new _focusOrder.FocusOrder({
|
|
816
983
|
mergedCellsGetter: (row, column)=>this.mergedCellsCollection.get(row, column),
|
|
817
984
|
rowIndexMapper: this.hot.rowIndexMapper,
|
|
818
985
|
columnIndexMapper: this.hot.columnIndexMapper
|
|
819
|
-
})), _class_private_field_set(this, _cellRenderer, (0, _renderer.createMergeCellRenderer)(this))
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
986
|
+
})), _class_private_field_set(this, _cellRenderer, (0, _renderer.createMergeCellRenderer)(this)), _class_private_field_set(this, _columnMoveSnapshot, null), _class_private_field_set(this, _rowMoveSnapshot, null), _class_private_field_set(this, _initialized, false), _class_private_field_set(this, _onAfterInit, ()=>{
|
|
987
|
+
this.generateFromSettings();
|
|
988
|
+
this.hot.render();
|
|
989
|
+
_class_private_field_set(this, _initialized, true);
|
|
990
|
+
}), _class_private_field_set(this, _onAfterIsMultipleSelection, (isMultiple)=>{
|
|
991
|
+
if (isMultiple) {
|
|
992
|
+
const mergedCells = this.mergedCellsCollection.mergedCells;
|
|
993
|
+
const selectionRange = this.hot.getSelectedRangeActive();
|
|
994
|
+
if (!selectionRange) {
|
|
995
|
+
return isMultiple;
|
|
996
|
+
}
|
|
997
|
+
const topStartCoords = selectionRange.getTopStartCorner();
|
|
998
|
+
const bottomEndCoords = selectionRange.getBottomEndCorner();
|
|
999
|
+
for(let group = 0; group < mergedCells.length; group += 1){
|
|
1000
|
+
if (topStartCoords.row === mergedCells[group].row && topStartCoords.col === mergedCells[group].col && bottomEndCoords.row === mergedCells[group].row + mergedCells[group].rowspan - 1 && bottomEndCoords.col === mergedCells[group].col + mergedCells[group].colspan - 1) {
|
|
1001
|
+
return false;
|
|
1002
|
+
}
|
|
1003
|
+
}
|
|
835
1004
|
}
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
delta.row
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
}
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
}
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
}
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
'
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1005
|
+
return isMultiple;
|
|
1006
|
+
}), _class_private_field_set(this, _onModifyTransformFocus, (delta)=>{
|
|
1007
|
+
_class_private_field_get(this, _lastFocusDelta).row = delta.row;
|
|
1008
|
+
_class_private_field_get(this, _lastFocusDelta).col = delta.col;
|
|
1009
|
+
}), _class_private_field_set(this, _onModifyTransformStart, (delta)=>{
|
|
1010
|
+
const selectedRange = this.hot.getSelectedRangeActive();
|
|
1011
|
+
if (!selectedRange) {
|
|
1012
|
+
return;
|
|
1013
|
+
}
|
|
1014
|
+
const { highlight } = selectedRange;
|
|
1015
|
+
const { columnIndexMapper, rowIndexMapper } = this.hot;
|
|
1016
|
+
if (_class_private_field_get(this, _lastSelectedFocus)) {
|
|
1017
|
+
if (_class_private_field_get(this, _lastSelectedFocus).row !== null && rowIndexMapper.getRenderableFromVisualIndex(_class_private_field_get(this, _lastSelectedFocus).row) !== null) {
|
|
1018
|
+
highlight.row = _class_private_field_get(this, _lastSelectedFocus).row;
|
|
1019
|
+
}
|
|
1020
|
+
if (_class_private_field_get(this, _lastSelectedFocus).col !== null && columnIndexMapper.getRenderableFromVisualIndex(_class_private_field_get(this, _lastSelectedFocus).col) !== null) {
|
|
1021
|
+
highlight.col = _class_private_field_get(this, _lastSelectedFocus).col;
|
|
1022
|
+
}
|
|
1023
|
+
_class_private_field_set(this, _lastSelectedFocus, null);
|
|
1024
|
+
}
|
|
1025
|
+
if (highlight.row === null || highlight.col === null) {
|
|
1026
|
+
return;
|
|
1027
|
+
}
|
|
1028
|
+
const mergedParent = this.mergedCellsCollection.get(highlight.row, highlight.col);
|
|
1029
|
+
if (!mergedParent) {
|
|
1030
|
+
return;
|
|
1031
|
+
}
|
|
1032
|
+
const visualColumnIndexStart = mergedParent.col;
|
|
1033
|
+
const visualColumnIndexEnd = mergedParent.col + mergedParent.colspan - 1;
|
|
1034
|
+
if (delta.col < 0) {
|
|
1035
|
+
const nextColumn = highlight.col >= visualColumnIndexStart && highlight.col <= visualColumnIndexEnd ? visualColumnIndexStart - 1 : visualColumnIndexEnd;
|
|
1036
|
+
const notHiddenColumnIndex = columnIndexMapper.getNearestNotHiddenIndex(nextColumn, -1);
|
|
1037
|
+
if (notHiddenColumnIndex === null) {
|
|
1038
|
+
delta.col = -this.hot.view.countRenderableColumnsInRange(0, highlight.col);
|
|
1039
|
+
} else {
|
|
1040
|
+
delta.col = -Math.max(this.hot.view.countRenderableColumnsInRange(notHiddenColumnIndex, highlight.col) - 1, 1);
|
|
1041
|
+
}
|
|
1042
|
+
} else if (delta.col > 0) {
|
|
1043
|
+
const nextColumn = highlight.col >= visualColumnIndexStart && highlight.col <= visualColumnIndexEnd ? visualColumnIndexEnd + 1 : visualColumnIndexStart;
|
|
1044
|
+
const notHiddenColumnIndex = columnIndexMapper.getNearestNotHiddenIndex(nextColumn, 1);
|
|
1045
|
+
if (notHiddenColumnIndex === null) {
|
|
1046
|
+
delta.col = this.hot.view.countRenderableColumnsInRange(highlight.col, this.hot.countCols());
|
|
1047
|
+
} else {
|
|
1048
|
+
delta.col = Math.max(this.hot.view.countRenderableColumnsInRange(highlight.col, notHiddenColumnIndex) - 1, 1);
|
|
1049
|
+
}
|
|
1050
|
+
}
|
|
1051
|
+
const visualRowIndexStart = mergedParent.row;
|
|
1052
|
+
const visualRowIndexEnd = mergedParent.row + mergedParent.rowspan - 1;
|
|
1053
|
+
if (delta.row < 0) {
|
|
1054
|
+
const nextRow = highlight.row >= visualRowIndexStart && highlight.row <= visualRowIndexEnd ? visualRowIndexStart - 1 : visualRowIndexEnd;
|
|
1055
|
+
const notHiddenRowIndex = rowIndexMapper.getNearestNotHiddenIndex(nextRow, -1);
|
|
1056
|
+
if (notHiddenRowIndex === null) {
|
|
1057
|
+
delta.row = -this.hot.view.countRenderableRowsInRange(0, highlight.row);
|
|
1058
|
+
} else {
|
|
1059
|
+
delta.row = -Math.max(this.hot.view.countRenderableRowsInRange(notHiddenRowIndex, highlight.row) - 1, 1);
|
|
1060
|
+
}
|
|
1061
|
+
} else if (delta.row > 0) {
|
|
1062
|
+
const nextRow = highlight.row >= visualRowIndexStart && highlight.row <= visualRowIndexEnd ? visualRowIndexEnd + 1 : visualRowIndexStart;
|
|
1063
|
+
const notHiddenRowIndex = rowIndexMapper.getNearestNotHiddenIndex(nextRow, 1);
|
|
1064
|
+
if (notHiddenRowIndex === null) {
|
|
1065
|
+
delta.row = this.hot.view.countRenderableRowsInRange(highlight.row, this.hot.countRows());
|
|
1066
|
+
} else {
|
|
1067
|
+
delta.row = Math.max(this.hot.view.countRenderableRowsInRange(highlight.row, notHiddenRowIndex) - 1, 1);
|
|
1068
|
+
}
|
|
1069
|
+
}
|
|
1070
|
+
}), _class_private_field_set(this, _onModifyTransformEnd, (delta)=>{
|
|
1071
|
+
const selectedRange = this.hot.getSelectedRangeActive();
|
|
1072
|
+
if (!selectedRange) {
|
|
1073
|
+
return;
|
|
1074
|
+
}
|
|
1075
|
+
const cloneRange = selectedRange.clone();
|
|
1076
|
+
const { to } = selectedRange;
|
|
1077
|
+
const toRow = to.row ?? 0;
|
|
1078
|
+
const toCol = to.col ?? 0;
|
|
1079
|
+
const { columnIndexMapper, rowIndexMapper } = this.hot;
|
|
1080
|
+
const expandCloneRange = (row, col)=>{
|
|
1081
|
+
cloneRange.expand(this.hot._createCellCoords(row, col));
|
|
1082
|
+
for(let i = 0; i < this.mergedCellsCollection.mergedCells.length; i += 1){
|
|
1083
|
+
const range = this.mergedCellsCollection.mergedCells[i].getRange();
|
|
1084
|
+
if (range) {
|
|
1085
|
+
cloneRange.expandByRange(range);
|
|
1086
|
+
}
|
|
1087
|
+
}
|
|
1088
|
+
};
|
|
1089
|
+
if (delta.col < 0) {
|
|
1090
|
+
let nextColumn = this.mergedCellsCollection.getStartMostColumnIndex(selectedRange, toCol) + delta.col;
|
|
1091
|
+
expandCloneRange(toRow, nextColumn);
|
|
1092
|
+
if (selectedRange.getHorizontalDirection() === 'E-W' && cloneRange.getHorizontalDirection() === 'E-W') {
|
|
1093
|
+
nextColumn = cloneRange.getTopStartCorner().col ?? nextColumn;
|
|
1094
|
+
}
|
|
1095
|
+
const notHiddenColumnIndex = columnIndexMapper.getNearestNotHiddenIndex(nextColumn, 1);
|
|
1096
|
+
if (notHiddenColumnIndex !== null) {
|
|
1097
|
+
delta.col = -Math.max(this.hot.view.countRenderableColumnsInRange(notHiddenColumnIndex, toCol) - 1, 1);
|
|
1098
|
+
}
|
|
1099
|
+
} else if (delta.col > 0) {
|
|
1100
|
+
let nextColumn = this.mergedCellsCollection.getEndMostColumnIndex(selectedRange, toCol) + delta.col;
|
|
1101
|
+
expandCloneRange(toRow, nextColumn);
|
|
1102
|
+
if (selectedRange.getHorizontalDirection() === 'W-E' && cloneRange.getHorizontalDirection() === 'W-E') {
|
|
1103
|
+
nextColumn = cloneRange.getBottomEndCorner().col ?? nextColumn;
|
|
1104
|
+
}
|
|
1105
|
+
const notHiddenColumnIndex = columnIndexMapper.getNearestNotHiddenIndex(nextColumn, -1);
|
|
1106
|
+
if (notHiddenColumnIndex !== null) {
|
|
1107
|
+
delta.col = Math.max(this.hot.view.countRenderableColumnsInRange(toCol, notHiddenColumnIndex) - 1, 1);
|
|
1108
|
+
}
|
|
1109
|
+
}
|
|
1110
|
+
if (delta.row < 0) {
|
|
1111
|
+
let nextRow = this.mergedCellsCollection.getTopMostRowIndex(selectedRange, toRow) + delta.row;
|
|
1112
|
+
expandCloneRange(nextRow, toCol);
|
|
1113
|
+
if (selectedRange.getVerticalDirection() === 'S-N' && cloneRange.getVerticalDirection() === 'S-N') {
|
|
1114
|
+
nextRow = cloneRange.getTopStartCorner().row ?? nextRow;
|
|
1115
|
+
}
|
|
1116
|
+
const notHiddenRowIndex = rowIndexMapper.getNearestNotHiddenIndex(nextRow, 1);
|
|
1117
|
+
if (notHiddenRowIndex !== null) {
|
|
1118
|
+
delta.row = -Math.max(this.hot.view.countRenderableRowsInRange(notHiddenRowIndex, toRow) - 1, 1);
|
|
1119
|
+
}
|
|
1120
|
+
} else if (delta.row > 0) {
|
|
1121
|
+
let nextRow = this.mergedCellsCollection.getBottomMostRowIndex(selectedRange, toRow) + delta.row;
|
|
1122
|
+
expandCloneRange(nextRow, toCol);
|
|
1123
|
+
if (selectedRange.getVerticalDirection() === 'N-S' && cloneRange.getVerticalDirection() === 'N-S') {
|
|
1124
|
+
nextRow = cloneRange.getBottomStartCorner().row ?? nextRow;
|
|
1125
|
+
}
|
|
1126
|
+
const notHiddenRowIndex = rowIndexMapper.getNearestNotHiddenIndex(nextRow, -1);
|
|
1127
|
+
if (notHiddenRowIndex !== null) {
|
|
1128
|
+
delta.row = Math.max(this.hot.view.countRenderableRowsInRange(toRow, notHiddenRowIndex) - 1, 1);
|
|
1129
|
+
}
|
|
1130
|
+
}
|
|
1131
|
+
}), _class_private_field_set(this, _onBeforeSelectionHighlightSet, ()=>{
|
|
1132
|
+
const selectedRange = this.hot.getSelectedRangeLast();
|
|
1133
|
+
if (!selectedRange) {
|
|
1134
|
+
return;
|
|
1135
|
+
}
|
|
1136
|
+
const { highlight } = selectedRange;
|
|
1137
|
+
if (this.hot.selection.isSelectedByColumnHeader() || this.hot.selection.isSelectedByRowHeader()) {
|
|
1138
|
+
_class_private_field_set(this, _lastSelectedFocus, highlight.clone());
|
|
1139
|
+
return;
|
|
1140
|
+
}
|
|
1141
|
+
for(let i = 0; i < this.mergedCellsCollection.mergedCells.length; i += 1){
|
|
1142
|
+
const range = this.mergedCellsCollection.mergedCells[i].getRange();
|
|
1143
|
+
if (range) {
|
|
1144
|
+
selectedRange.expandByRange(range, false);
|
|
1145
|
+
}
|
|
1146
|
+
}
|
|
1147
|
+
for(let i = 0; i < this.mergedCellsCollection.mergedCells.length; i += 1){
|
|
1148
|
+
const range = this.mergedCellsCollection.mergedCells[i].getRange();
|
|
1149
|
+
if (range) {
|
|
1150
|
+
selectedRange.expandByRange(range, false);
|
|
1151
|
+
}
|
|
1152
|
+
}
|
|
1153
|
+
if (highlight.row === null || highlight.col === null) {
|
|
1154
|
+
return;
|
|
1155
|
+
}
|
|
1156
|
+
const mergedParent = this.mergedCellsCollection.get(highlight.row, highlight.col);
|
|
1157
|
+
_class_private_field_set(this, _lastSelectedFocus, highlight.clone());
|
|
1158
|
+
if (mergedParent) {
|
|
1159
|
+
highlight.assign(mergedParent);
|
|
1160
|
+
}
|
|
1161
|
+
}), _class_private_field_set(this, _onModifyGetCellCoords, (row, column, topmost, source)=>{
|
|
1162
|
+
if (row < 0 || column < 0) {
|
|
1163
|
+
return;
|
|
1164
|
+
}
|
|
1165
|
+
const mergeParent = this.mergedCellsCollection.get(row, column);
|
|
1166
|
+
if (!mergeParent) {
|
|
1167
|
+
return;
|
|
1168
|
+
}
|
|
1169
|
+
const { row: mergeRow, col: mergeColumn, colspan, rowspan } = mergeParent;
|
|
1170
|
+
const topStartRow = mergeRow;
|
|
1171
|
+
const topStartColumn = mergeColumn;
|
|
1172
|
+
const bottomEndRow = mergeRow + rowspan - 1;
|
|
1173
|
+
const bottomEndColumn = mergeColumn + colspan - 1;
|
|
1174
|
+
if (source === 'render' && this.getSetting('virtualized')) {
|
|
1175
|
+
const overlayName = this.hot.view.getActiveOverlayName();
|
|
1176
|
+
const firstRenderedRow = [
|
|
1177
|
+
'top',
|
|
1178
|
+
'top_inline_start_corner'
|
|
1179
|
+
].includes(overlayName) ? 0 : this.hot.getFirstRenderedVisibleRow();
|
|
1180
|
+
const firstRenderedColumn = [
|
|
1181
|
+
'inline_start',
|
|
1182
|
+
'top_inline_start_corner',
|
|
1183
|
+
'bottom_inline_start_corner'
|
|
1184
|
+
].includes(overlayName) ? 0 : this.hot.getFirstRenderedVisibleColumn();
|
|
1185
|
+
return [
|
|
1186
|
+
(0, _number.clamp)(firstRenderedRow, topStartRow, bottomEndRow),
|
|
1187
|
+
(0, _number.clamp)(firstRenderedColumn, topStartColumn, bottomEndColumn),
|
|
1188
|
+
(0, _number.clamp)(this.hot.getLastRenderedVisibleRow(), topStartRow, bottomEndRow),
|
|
1189
|
+
(0, _number.clamp)(this.hot.getLastRenderedVisibleColumn(), topStartColumn, bottomEndColumn)
|
|
1190
|
+
];
|
|
1191
|
+
}
|
|
1192
|
+
return [
|
|
1193
|
+
topStartRow,
|
|
1194
|
+
topStartColumn,
|
|
1195
|
+
bottomEndRow,
|
|
1196
|
+
bottomEndColumn
|
|
1197
|
+
];
|
|
1198
|
+
}), _class_private_field_set(this, _onBeforeSetRangeStart, ()=>{
|
|
1199
|
+
_class_private_field_set(this, _lastSelectedFocus, null);
|
|
1200
|
+
}), _class_private_field_set(this, _onBeforeSelectionFocusSet, ()=>{
|
|
1201
|
+
if (!_class_private_field_get(this, _lastSelectedFocus) || _class_private_field_get(this, _lastSelectedFocus).isCell()) {
|
|
1202
|
+
return;
|
|
1203
|
+
}
|
|
1204
|
+
const selectedRange = this.hot.getSelectedRangeActive();
|
|
1205
|
+
if (!selectedRange) {
|
|
1206
|
+
return;
|
|
1207
|
+
}
|
|
1208
|
+
const verticalDir = selectedRange.getVerticalDirection();
|
|
1209
|
+
const horizontalDir = selectedRange.getHorizontalDirection();
|
|
1210
|
+
const focusCoords = _class_private_field_get(this, _lastSelectedFocus).clone().normalize();
|
|
1211
|
+
if (focusCoords.row === null || focusCoords.col === null) {
|
|
1212
|
+
return;
|
|
1213
|
+
}
|
|
1214
|
+
_class_private_field_get(this, _focusOrder1).setActiveNode(focusCoords.row, focusCoords.col);
|
|
1215
|
+
if (_class_private_field_get(this, _lastFocusDelta).row > 0 || _class_private_field_get(this, _lastFocusDelta).col > 0) {
|
|
1216
|
+
_class_private_field_get(this, _focusOrder1).setPrevNodeAsActive();
|
|
1217
|
+
} else if (horizontalDir === 'E-W' && _class_private_field_get(this, _lastFocusDelta).col < 0 || verticalDir === 'S-N' && _class_private_field_get(this, _lastFocusDelta).row < 0) {
|
|
1218
|
+
_class_private_field_get(this, _focusOrder1).setNextNodeAsActive();
|
|
1219
|
+
}
|
|
1220
|
+
}), _class_private_field_set(this, _onAfterSelectionFocusSet, (row, column)=>{
|
|
1221
|
+
const { columnIndexMapper, rowIndexMapper } = this.hot;
|
|
1222
|
+
let activeSelectionLayerIndex = this.hot.getActiveSelectionLayerIndex();
|
|
1223
|
+
let notHiddenRowIndex = null;
|
|
1224
|
+
let notHiddenColumnIndex = null;
|
|
1225
|
+
if (_class_private_field_get(this, _lastFocusDelta).col < 0) {
|
|
1226
|
+
const { rowEnd, colEnd, selectionLayer } = _class_private_field_get(this, _focusOrder1).getPrevHorizontalNode();
|
|
1227
|
+
notHiddenColumnIndex = columnIndexMapper.getNearestNotHiddenIndex(colEnd, -1);
|
|
1228
|
+
notHiddenRowIndex = rowIndexMapper.getNearestNotHiddenIndex(rowEnd, -1);
|
|
1229
|
+
activeSelectionLayerIndex = selectionLayer;
|
|
1230
|
+
} else if (_class_private_field_get(this, _lastFocusDelta).col > 0) {
|
|
1231
|
+
const { rowStart, colStart, selectionLayer } = _class_private_field_get(this, _focusOrder1).getNextHorizontalNode();
|
|
1232
|
+
notHiddenColumnIndex = columnIndexMapper.getNearestNotHiddenIndex(colStart, 1);
|
|
1233
|
+
notHiddenRowIndex = rowIndexMapper.getNearestNotHiddenIndex(rowStart, 1);
|
|
1234
|
+
activeSelectionLayerIndex = selectionLayer;
|
|
1235
|
+
} else if (_class_private_field_get(this, _lastFocusDelta).row < 0) {
|
|
1236
|
+
const { rowEnd, colEnd, selectionLayer } = _class_private_field_get(this, _focusOrder1).getPrevVerticalNode();
|
|
1237
|
+
notHiddenColumnIndex = columnIndexMapper.getNearestNotHiddenIndex(colEnd, -1);
|
|
1238
|
+
notHiddenRowIndex = rowIndexMapper.getNearestNotHiddenIndex(rowEnd, -1);
|
|
1239
|
+
activeSelectionLayerIndex = selectionLayer;
|
|
1240
|
+
} else if (_class_private_field_get(this, _lastFocusDelta).row > 0) {
|
|
1241
|
+
const { rowStart, colStart, selectionLayer } = _class_private_field_get(this, _focusOrder1).getNextVerticalNode();
|
|
1242
|
+
notHiddenColumnIndex = columnIndexMapper.getNearestNotHiddenIndex(colStart, 1);
|
|
1243
|
+
notHiddenRowIndex = rowIndexMapper.getNearestNotHiddenIndex(rowStart, 1);
|
|
1244
|
+
activeSelectionLayerIndex = selectionLayer;
|
|
1245
|
+
}
|
|
1246
|
+
if (notHiddenRowIndex !== null || notHiddenColumnIndex !== null) {
|
|
1247
|
+
this.hot.selection.setActiveSelectionLayerIndex(activeSelectionLayerIndex);
|
|
1248
|
+
const selectedRange = this.hot.getSelectedRangeActive();
|
|
1249
|
+
const resolvedRow = notHiddenRowIndex ?? 0;
|
|
1250
|
+
const resolvedCol = notHiddenColumnIndex ?? 0;
|
|
1251
|
+
const coords = this.hot._createCellCoords(resolvedRow, resolvedCol);
|
|
1252
|
+
const mergeParent = this.mergedCellsCollection.get(resolvedRow, resolvedCol);
|
|
1253
|
+
const focusHighlight = this.hot.selection.highlight.getFocus();
|
|
1254
|
+
row = resolvedRow;
|
|
1255
|
+
column = resolvedCol;
|
|
1256
|
+
if (selectedRange) {
|
|
1257
|
+
if (mergeParent) {
|
|
1258
|
+
selectedRange.highlight.assign({
|
|
1259
|
+
row: this.hot.rowIndexMapper.getNearestNotHiddenIndex(mergeParent.row, 1) ?? undefined,
|
|
1260
|
+
col: this.hot.columnIndexMapper.getNearestNotHiddenIndex(mergeParent.col, 1) ?? undefined
|
|
1261
|
+
});
|
|
1262
|
+
} else {
|
|
1263
|
+
selectedRange.highlight.assign(coords);
|
|
1264
|
+
}
|
|
1265
|
+
}
|
|
1266
|
+
focusHighlight.clear();
|
|
1267
|
+
focusHighlight.add(coords).commit();
|
|
1268
|
+
}
|
|
1269
|
+
_class_private_field_get(this, _focusOrder1).setActiveNode(row, column, activeSelectionLayerIndex);
|
|
1270
|
+
_class_private_field_set(this, _lastFocusDelta, {
|
|
1271
|
+
row: 0,
|
|
1272
|
+
col: 0
|
|
1273
|
+
});
|
|
1274
|
+
}), _class_private_field_set(this, _onAfterSelectionEnd, ()=>{
|
|
1275
|
+
const selectedRanges = this.hot.getSelectedRange();
|
|
1276
|
+
if (selectedRanges) {
|
|
1277
|
+
_class_private_field_get(this, _focusOrder1).buildFocusOrder(selectedRanges);
|
|
1278
|
+
}
|
|
1279
|
+
}), _class_private_field_set(this, _onAfterGetCellMeta, (row, col, cellProperties)=>{
|
|
1280
|
+
const mergeParent = this.mergedCellsCollection.get(row, col);
|
|
1281
|
+
if (mergeParent) {
|
|
1282
|
+
if (mergeParent.row !== row || mergeParent.col !== col) {
|
|
1283
|
+
cellProperties.copyable = false;
|
|
1284
|
+
cellProperties.hidden = true;
|
|
1285
|
+
} else {
|
|
1286
|
+
cellProperties.rowspan = mergeParent.rowspan;
|
|
1287
|
+
cellProperties.colspan = mergeParent.colspan;
|
|
1288
|
+
cellProperties.spanned = true;
|
|
1289
|
+
}
|
|
1290
|
+
}
|
|
1291
|
+
}), _class_private_field_set(this, _onAfterViewportRowCalculatorOverride, (calc)=>{
|
|
1292
|
+
if (this.getSetting('virtualized')) {
|
|
1293
|
+
return;
|
|
1294
|
+
}
|
|
1295
|
+
const nrOfColumns = this.hot.countCols();
|
|
1296
|
+
this.modifyViewportRowStart(calc, nrOfColumns);
|
|
1297
|
+
this.modifyViewportRowEnd(calc, nrOfColumns);
|
|
1298
|
+
}), _class_private_field_set(this, _onAfterViewportColumnCalculatorOverride, (calc)=>{
|
|
1299
|
+
if (this.getSetting('virtualized')) {
|
|
1300
|
+
return;
|
|
1301
|
+
}
|
|
1302
|
+
const nrOfRows = this.hot.countRows();
|
|
1303
|
+
this.modifyViewportColumnStart(calc, nrOfRows);
|
|
1304
|
+
this.modifyViewportColumnEnd(calc, nrOfRows);
|
|
1305
|
+
}), _class_private_field_set(this, _onModifyAutofillRange, (fullArea, baseArea)=>{
|
|
1306
|
+
const dragDirection = this.autofillCalculations.getDirection(baseArea, fullArea);
|
|
1307
|
+
if (this.autofillCalculations.dragAreaOverlapsCollections(baseArea, fullArea, dragDirection)) {
|
|
1308
|
+
return baseArea;
|
|
1309
|
+
}
|
|
1310
|
+
const from = this.hot._createCellCoords(baseArea[0], baseArea[1]);
|
|
1311
|
+
const to = this.hot._createCellCoords(baseArea[2], baseArea[3]);
|
|
1312
|
+
const range = this.hot._createCellRange(from, from, to);
|
|
1313
|
+
const mergedCellsWithinSelectionArea = this.mergedCellsCollection.getWithinRange(range);
|
|
1314
|
+
if (mergedCellsWithinSelectionArea.length === 0) {
|
|
1315
|
+
return fullArea;
|
|
1316
|
+
}
|
|
1317
|
+
return this.autofillCalculations.snapDragArea(baseArea, fullArea, dragDirection, mergedCellsWithinSelectionArea);
|
|
1318
|
+
}), _class_private_field_set(this, _onAfterCreateCol, (column, count)=>{
|
|
1319
|
+
this.mergedCellsCollection.shiftCollections('right', column, count);
|
|
1320
|
+
}), _class_private_field_set(this, _onAfterRemoveCol, (column, count)=>{
|
|
1321
|
+
this.mergedCellsCollection.shiftCollections('left', column, count);
|
|
1322
|
+
}), _class_private_field_set(this, _onAfterCreateRow, (row, count, source)=>{
|
|
1323
|
+
if (source === 'auto') {
|
|
1324
|
+
return;
|
|
1325
|
+
}
|
|
1326
|
+
this.mergedCellsCollection.shiftCollections('down', row, count);
|
|
1327
|
+
}), _class_private_field_set(this, _onAfterRemoveRow, (row, count)=>{
|
|
1328
|
+
this.mergedCellsCollection.shiftCollections('up', row, count);
|
|
1329
|
+
}), _class_private_field_set(this, _onBeforeColumnMove, (_columns, _finalIndex, _dropIndex, movePossible)=>{
|
|
1330
|
+
if (!movePossible || !_class_private_field_get(this, _initialized)) {
|
|
1331
|
+
_class_private_field_set(this, _columnMoveSnapshot, null);
|
|
1332
|
+
return;
|
|
1333
|
+
}
|
|
1334
|
+
_class_private_field_set(this, _columnMoveSnapshot, this.mergedCellsCollection.capturePhysicalSpans('column'));
|
|
1335
|
+
}), _class_private_field_set(this, _onAfterColumnMove, (_columns, _finalIndex, _dropIndex, _movePossible, orderChanged)=>{
|
|
1336
|
+
const snapshot = _class_private_field_get(this, _columnMoveSnapshot);
|
|
1337
|
+
_class_private_field_set(this, _columnMoveSnapshot, null);
|
|
1338
|
+
if (!orderChanged || !snapshot) {
|
|
1339
|
+
return;
|
|
1340
|
+
}
|
|
1341
|
+
this.mergedCellsCollection.translateAfterAxisMove('column', snapshot);
|
|
1342
|
+
this.hot.render();
|
|
1343
|
+
}), _class_private_field_set(this, _onBeforeRowMove, (_rows, _finalIndex, _dropIndex, movePossible)=>{
|
|
1344
|
+
if (!movePossible || !_class_private_field_get(this, _initialized)) {
|
|
1345
|
+
_class_private_field_set(this, _rowMoveSnapshot, null);
|
|
1346
|
+
return;
|
|
1347
|
+
}
|
|
1348
|
+
_class_private_field_set(this, _rowMoveSnapshot, this.mergedCellsCollection.capturePhysicalSpans('row'));
|
|
1349
|
+
}), _class_private_field_set(this, _onAfterRowMove, (_rows, _finalIndex, _dropIndex, _movePossible, orderChanged)=>{
|
|
1350
|
+
const snapshot = _class_private_field_get(this, _rowMoveSnapshot);
|
|
1351
|
+
_class_private_field_set(this, _rowMoveSnapshot, null);
|
|
1352
|
+
if (!orderChanged || !snapshot) {
|
|
1353
|
+
return;
|
|
1354
|
+
}
|
|
1355
|
+
this.mergedCellsCollection.translateAfterAxisMove('row', snapshot);
|
|
1356
|
+
this.hot.render();
|
|
1357
|
+
}), _class_private_field_set(this, _onBeforeColumnFreeze, (_column, performed)=>{
|
|
1358
|
+
if (!performed || !_class_private_field_get(this, _initialized)) {
|
|
1359
|
+
_class_private_field_set(this, _columnMoveSnapshot, null);
|
|
1360
|
+
return;
|
|
1361
|
+
}
|
|
1362
|
+
_class_private_field_set(this, _columnMoveSnapshot, this.mergedCellsCollection.capturePhysicalSpans('column'));
|
|
1363
|
+
}), _class_private_field_set(this, _onAfterColumnFreeze, (_column, performed)=>{
|
|
1364
|
+
const snapshot = _class_private_field_get(this, _columnMoveSnapshot);
|
|
1365
|
+
_class_private_field_set(this, _columnMoveSnapshot, null);
|
|
1366
|
+
if (!performed || !snapshot) {
|
|
1367
|
+
return;
|
|
1368
|
+
}
|
|
1369
|
+
this.mergedCellsCollection.translateAfterAxisMove('column', snapshot);
|
|
1370
|
+
this.hot.render();
|
|
1371
|
+
}), _class_private_field_set(this, _onAfterChange, (changes, source)=>{
|
|
1372
|
+
if (source !== 'Autofill.fill') {
|
|
1373
|
+
return;
|
|
1374
|
+
}
|
|
1375
|
+
this.autofillCalculations.recreateAfterDataPopulation(changes);
|
|
1376
|
+
}), _class_private_field_set(this, _onBeforeDrawAreaBorders, (corners, className)=>{
|
|
1377
|
+
if (className && className === 'area') {
|
|
1378
|
+
const selectedRange = this.hot.getSelectedRangeActive();
|
|
1379
|
+
if (!selectedRange) {
|
|
1380
|
+
return;
|
|
1381
|
+
}
|
|
1382
|
+
const mergedCellsWithinRange = this.mergedCellsCollection.getWithinRange(selectedRange);
|
|
1383
|
+
(0, _array.arrayEach)(mergedCellsWithinRange, (mergedCell)=>{
|
|
1384
|
+
if (selectedRange.getBottomEndCorner().row === mergedCell.getLastRow() && selectedRange.getBottomEndCorner().col === mergedCell.getLastColumn()) {
|
|
1385
|
+
corners[2] = mergedCell.row;
|
|
1386
|
+
corners[3] = mergedCell.col;
|
|
1387
|
+
}
|
|
1388
|
+
});
|
|
1389
|
+
}
|
|
1390
|
+
}), _class_private_field_set(this, _onAfterDrawSelection, (currentRow, currentColumn, cornersOfSelection, layerLevel)=>{
|
|
1391
|
+
// Nothing's selected (hook might be triggered by the custom borders)
|
|
1392
|
+
if (!cornersOfSelection) {
|
|
1393
|
+
return;
|
|
1394
|
+
}
|
|
1395
|
+
return this.selectionCalculations.getSelectedMergedCellClassName(currentRow, currentColumn, cornersOfSelection, layerLevel);
|
|
1396
|
+
}), _class_private_field_set(this, _onBeforeRemoveCellClassNames, ()=>{
|
|
1397
|
+
return this.selectionCalculations.getSelectedMergedCellClassNameToRemove();
|
|
1398
|
+
}), _class_private_field_set(this, _onBeforeBeginEditing, (row, column, initialValue, event)=>{
|
|
1399
|
+
if (!(event instanceof MouseEvent)) {
|
|
1400
|
+
return;
|
|
1401
|
+
}
|
|
1402
|
+
const selection = this.hot.getSelectedRangeActive();
|
|
1403
|
+
if (!selection) {
|
|
1404
|
+
return;
|
|
1405
|
+
}
|
|
1406
|
+
const mergeCell = this.mergedCellsCollection.getByRange(selection);
|
|
1407
|
+
if (!mergeCell) {
|
|
1408
|
+
return;
|
|
1409
|
+
}
|
|
1410
|
+
const from = this.hot._createCellCoords(mergeCell.row, mergeCell.col);
|
|
1411
|
+
const to = this.hot._createCellCoords(mergeCell.row + mergeCell.rowspan - 1, mergeCell.col + mergeCell.colspan - 1);
|
|
1412
|
+
return this.hot.selection.getLayerLevel() === 0 && selection.isEqual(this.hot._createCellRange(from, from, to));
|
|
1413
|
+
}), _class_private_field_set(this, _onModifyRowHeightByOverlayName, (height, row, overlayType)=>{
|
|
1414
|
+
if (this.hot.getSettings().rowHeaders || // merged cells do not work with the bottom overlays
|
|
1415
|
+
overlayType === 'bottom' || overlayType === 'bottom_inline_start_corner') {
|
|
1416
|
+
return height;
|
|
1417
|
+
}
|
|
1418
|
+
let firstColumn;
|
|
1419
|
+
let lastColumn;
|
|
1420
|
+
if (overlayType === 'master') {
|
|
1421
|
+
firstColumn = this.hot.getFirstRenderedVisibleColumn();
|
|
1422
|
+
lastColumn = this.hot.getLastRenderedVisibleColumn();
|
|
1423
|
+
} else {
|
|
1424
|
+
const activeOverlay = this.hot.view.getOverlayByName(overlayType);
|
|
1425
|
+
const overlayWtTable = activeOverlay?.clone?.wtTable;
|
|
1426
|
+
if (!overlayWtTable) {
|
|
1427
|
+
return height;
|
|
1428
|
+
}
|
|
1429
|
+
firstColumn = this.hot.columnIndexMapper.getVisualFromRenderableIndex(overlayWtTable.getFirstRenderedColumn());
|
|
1430
|
+
lastColumn = this.hot.columnIndexMapper.getVisualFromRenderableIndex(overlayWtTable.getLastRenderedColumn());
|
|
1431
|
+
}
|
|
1432
|
+
if (firstColumn === null || firstColumn === undefined) {
|
|
1433
|
+
return height;
|
|
1434
|
+
}
|
|
1435
|
+
const firstMergedCellInRow = this.mergedCellsCollection.get(row, firstColumn);
|
|
1436
|
+
if (!firstMergedCellInRow) {
|
|
1437
|
+
return height;
|
|
1438
|
+
}
|
|
1439
|
+
const from = this.hot._createCellCoords(row, firstColumn);
|
|
1440
|
+
const to = this.hot._createCellCoords(row, lastColumn ?? firstColumn);
|
|
1441
|
+
const viewportRange = this.hot._createCellRange(from, from, to);
|
|
1442
|
+
const mergedCellsWithinRange = this.mergedCellsCollection.getWithinRange(viewportRange, true);
|
|
1443
|
+
const maxRowspan = mergedCellsWithinRange.reduce((acc, { rowspan })=>Math.max(acc, rowspan), 1);
|
|
1444
|
+
let rowspanCorrection = 0;
|
|
1445
|
+
if (mergedCellsWithinRange.length > 1 && mergedCellsWithinRange[0].rowspan < maxRowspan) {
|
|
1446
|
+
rowspanCorrection = maxRowspan - mergedCellsWithinRange[0].rowspan;
|
|
1447
|
+
}
|
|
1448
|
+
mergedCellsWithinRange.forEach(({ rowspan })=>{
|
|
1449
|
+
let rowspanAfterCorrection = 0;
|
|
1450
|
+
if (overlayType === 'top' || overlayType === 'top_inline_start_corner') {
|
|
1451
|
+
rowspanAfterCorrection = Math.min(maxRowspan, this.hot.view.countNotHiddenFixedRowsTop() - row);
|
|
1452
|
+
} else {
|
|
1453
|
+
rowspanAfterCorrection = rowspan - rowspanCorrection;
|
|
1454
|
+
}
|
|
1455
|
+
height = Math.max(height ?? 0, (0, _utils.sumCellsHeights)(this.hot, row, rowspanAfterCorrection));
|
|
1456
|
+
});
|
|
1457
|
+
return height;
|
|
1458
|
+
});
|
|
1014
1459
|
}
|
|
1015
|
-
return [
|
|
1016
|
-
topStartRow,
|
|
1017
|
-
topStartColumn,
|
|
1018
|
-
bottomEndRow,
|
|
1019
|
-
bottomEndColumn
|
|
1020
|
-
];
|
|
1021
1460
|
}
|
|
1022
1461
|
function addMergeActionsToContextMenu(defaultOptions) {
|
|
1023
1462
|
defaultOptions.items.push({
|
|
1024
1463
|
name: '---------'
|
|
1025
1464
|
}, (0, _toggleMerge.default)(this));
|
|
1026
1465
|
}
|
|
1027
|
-
function onBeforeSetRangeStart() {
|
|
1028
|
-
_class_private_field_set(this, _lastSelectedFocus, null);
|
|
1029
|
-
}
|
|
1030
|
-
function onBeforeSelectionFocusSet() {
|
|
1031
|
-
if (_class_private_field_get(this, _lastSelectedFocus).isCell()) {
|
|
1032
|
-
return;
|
|
1033
|
-
}
|
|
1034
|
-
const selectedRange = this.hot.getSelectedRangeActive();
|
|
1035
|
-
const verticalDir = selectedRange.getVerticalDirection();
|
|
1036
|
-
const horizontalDir = selectedRange.getHorizontalDirection();
|
|
1037
|
-
const focusCoords = _class_private_field_get(this, _lastSelectedFocus).clone().normalize();
|
|
1038
|
-
_class_private_field_get(this, _focusOrder1).setActiveNode(focusCoords.row, focusCoords.col);
|
|
1039
|
-
if (_class_private_field_get(this, _lastFocusDelta).row > 0 || _class_private_field_get(this, _lastFocusDelta).col > 0) {
|
|
1040
|
-
_class_private_field_get(this, _focusOrder1).setPrevNodeAsActive();
|
|
1041
|
-
} else if (horizontalDir === 'E-W' && _class_private_field_get(this, _lastFocusDelta).col < 0 || verticalDir === 'S-N' && _class_private_field_get(this, _lastFocusDelta).row < 0) {
|
|
1042
|
-
_class_private_field_get(this, _focusOrder1).setNextNodeAsActive();
|
|
1043
|
-
}
|
|
1044
|
-
}
|
|
1045
|
-
function onAfterSelectionFocusSet(row, column) {
|
|
1046
|
-
const { columnIndexMapper, rowIndexMapper } = this.hot;
|
|
1047
|
-
let activeSelectionLayerIndex = this.hot.getActiveSelectionLayerIndex();
|
|
1048
|
-
let notHiddenRowIndex = null;
|
|
1049
|
-
let notHiddenColumnIndex = null;
|
|
1050
|
-
if (_class_private_field_get(this, _lastFocusDelta).col < 0) {
|
|
1051
|
-
const { rowEnd, colEnd, selectionLayer } = _class_private_field_get(this, _focusOrder1).getPrevHorizontalNode();
|
|
1052
|
-
notHiddenColumnIndex = columnIndexMapper.getNearestNotHiddenIndex(colEnd, -1);
|
|
1053
|
-
notHiddenRowIndex = rowIndexMapper.getNearestNotHiddenIndex(rowEnd, -1);
|
|
1054
|
-
activeSelectionLayerIndex = selectionLayer;
|
|
1055
|
-
} else if (_class_private_field_get(this, _lastFocusDelta).col > 0) {
|
|
1056
|
-
const { rowStart, colStart, selectionLayer } = _class_private_field_get(this, _focusOrder1).getNextHorizontalNode();
|
|
1057
|
-
notHiddenColumnIndex = columnIndexMapper.getNearestNotHiddenIndex(colStart, 1);
|
|
1058
|
-
notHiddenRowIndex = rowIndexMapper.getNearestNotHiddenIndex(rowStart, 1);
|
|
1059
|
-
activeSelectionLayerIndex = selectionLayer;
|
|
1060
|
-
} else if (_class_private_field_get(this, _lastFocusDelta).row < 0) {
|
|
1061
|
-
const { rowEnd, colEnd, selectionLayer } = _class_private_field_get(this, _focusOrder1).getPrevVerticalNode();
|
|
1062
|
-
notHiddenColumnIndex = columnIndexMapper.getNearestNotHiddenIndex(colEnd, -1);
|
|
1063
|
-
notHiddenRowIndex = rowIndexMapper.getNearestNotHiddenIndex(rowEnd, -1);
|
|
1064
|
-
activeSelectionLayerIndex = selectionLayer;
|
|
1065
|
-
} else if (_class_private_field_get(this, _lastFocusDelta).row > 0) {
|
|
1066
|
-
const { rowStart, colStart, selectionLayer } = _class_private_field_get(this, _focusOrder1).getNextVerticalNode();
|
|
1067
|
-
notHiddenColumnIndex = columnIndexMapper.getNearestNotHiddenIndex(colStart, 1);
|
|
1068
|
-
notHiddenRowIndex = rowIndexMapper.getNearestNotHiddenIndex(rowStart, 1);
|
|
1069
|
-
activeSelectionLayerIndex = selectionLayer;
|
|
1070
|
-
}
|
|
1071
|
-
if (notHiddenRowIndex !== null || notHiddenColumnIndex !== null) {
|
|
1072
|
-
this.hot.selection.setActiveSelectionLayerIndex(activeSelectionLayerIndex);
|
|
1073
|
-
const selectedRange = this.hot.getSelectedRangeActive();
|
|
1074
|
-
const coords = this.hot._createCellCoords(notHiddenRowIndex, notHiddenColumnIndex);
|
|
1075
|
-
const mergeParent = this.mergedCellsCollection.get(coords.row, coords.col);
|
|
1076
|
-
const focusHighlight = this.hot.selection.highlight.getFocus();
|
|
1077
|
-
row = coords.row;
|
|
1078
|
-
column = coords.col;
|
|
1079
|
-
if (mergeParent) {
|
|
1080
|
-
selectedRange.highlight.assign({
|
|
1081
|
-
row: this.hot.rowIndexMapper.getNearestNotHiddenIndex(mergeParent.row, 1),
|
|
1082
|
-
col: this.hot.columnIndexMapper.getNearestNotHiddenIndex(mergeParent.col, 1)
|
|
1083
|
-
});
|
|
1084
|
-
} else {
|
|
1085
|
-
selectedRange.highlight.assign(coords);
|
|
1086
|
-
}
|
|
1087
|
-
focusHighlight.clear();
|
|
1088
|
-
focusHighlight.add(coords).commit();
|
|
1089
|
-
}
|
|
1090
|
-
_class_private_field_get(this, _focusOrder1).setActiveNode(row, column, activeSelectionLayerIndex);
|
|
1091
|
-
_class_private_field_set(this, _lastFocusDelta, {
|
|
1092
|
-
row: 0,
|
|
1093
|
-
col: 0
|
|
1094
|
-
});
|
|
1095
|
-
}
|
|
1096
|
-
function onAfterSelectionEnd() {
|
|
1097
|
-
_class_private_field_get(this, _focusOrder1).buildFocusOrder(this.hot.getSelectedRange());
|
|
1098
|
-
}
|
|
1099
|
-
function onAfterGetCellMeta(row, col, cellProperties) {
|
|
1100
|
-
const mergeParent = this.mergedCellsCollection.get(row, col);
|
|
1101
|
-
if (mergeParent) {
|
|
1102
|
-
if (mergeParent.row !== row || mergeParent.col !== col) {
|
|
1103
|
-
cellProperties.copyable = false;
|
|
1104
|
-
} else {
|
|
1105
|
-
cellProperties.rowspan = mergeParent.rowspan;
|
|
1106
|
-
cellProperties.colspan = mergeParent.colspan;
|
|
1107
|
-
}
|
|
1108
|
-
}
|
|
1109
|
-
}
|
|
1110
|
-
function onAfterViewportRowCalculatorOverride(calc) {
|
|
1111
|
-
if (this.getSetting('virtualized')) {
|
|
1112
|
-
return;
|
|
1113
|
-
}
|
|
1114
|
-
const nrOfColumns = this.hot.countCols();
|
|
1115
|
-
this.modifyViewportRowStart(calc, nrOfColumns);
|
|
1116
|
-
this.modifyViewportRowEnd(calc, nrOfColumns);
|
|
1117
|
-
}
|
|
1118
|
-
function onAfterViewportColumnCalculatorOverride(calc) {
|
|
1119
|
-
if (this.getSetting('virtualized')) {
|
|
1120
|
-
return;
|
|
1121
|
-
}
|
|
1122
|
-
const nrOfRows = this.hot.countRows();
|
|
1123
|
-
this.modifyViewportColumnStart(calc, nrOfRows);
|
|
1124
|
-
this.modifyViewportColumnEnd(calc, nrOfRows);
|
|
1125
|
-
}
|
|
1126
|
-
function onModifyAutofillRange(fullArea, baseArea) {
|
|
1127
|
-
const dragDirection = this.autofillCalculations.getDirection(baseArea, fullArea);
|
|
1128
|
-
if (this.autofillCalculations.dragAreaOverlapsCollections(baseArea, fullArea, dragDirection)) {
|
|
1129
|
-
return baseArea;
|
|
1130
|
-
}
|
|
1131
|
-
const from = this.hot._createCellCoords(baseArea[0], baseArea[1]);
|
|
1132
|
-
const to = this.hot._createCellCoords(baseArea[2], baseArea[3]);
|
|
1133
|
-
const range = this.hot._createCellRange(from, from, to);
|
|
1134
|
-
const mergedCellsWithinSelectionArea = this.mergedCellsCollection.getWithinRange(range);
|
|
1135
|
-
if (mergedCellsWithinSelectionArea.length === 0) {
|
|
1136
|
-
return fullArea;
|
|
1137
|
-
}
|
|
1138
|
-
return this.autofillCalculations.snapDragArea(baseArea, fullArea, dragDirection, mergedCellsWithinSelectionArea);
|
|
1139
|
-
}
|
|
1140
|
-
function onAfterCreateCol(column, count) {
|
|
1141
|
-
this.mergedCellsCollection.shiftCollections('right', column, count);
|
|
1142
|
-
}
|
|
1143
|
-
function onAfterRemoveCol(column, count) {
|
|
1144
|
-
this.mergedCellsCollection.shiftCollections('left', column, count);
|
|
1145
|
-
}
|
|
1146
|
-
function onAfterCreateRow(row, count, source) {
|
|
1147
|
-
if (source === 'auto') {
|
|
1148
|
-
return;
|
|
1149
|
-
}
|
|
1150
|
-
this.mergedCellsCollection.shiftCollections('down', row, count);
|
|
1151
|
-
}
|
|
1152
|
-
function onAfterRemoveRow(row, count) {
|
|
1153
|
-
this.mergedCellsCollection.shiftCollections('up', row, count);
|
|
1154
|
-
}
|
|
1155
|
-
function onAfterChange(changes, source) {
|
|
1156
|
-
if (source !== 'Autofill.fill') {
|
|
1157
|
-
return;
|
|
1158
|
-
}
|
|
1159
|
-
this.autofillCalculations.recreateAfterDataPopulation(changes);
|
|
1160
|
-
}
|
|
1161
|
-
function onBeforeDrawAreaBorders(corners, className) {
|
|
1162
|
-
if (className && className === 'area') {
|
|
1163
|
-
const selectedRange = this.hot.getSelectedRangeActive();
|
|
1164
|
-
const mergedCellsWithinRange = this.mergedCellsCollection.getWithinRange(selectedRange);
|
|
1165
|
-
(0, _array.arrayEach)(mergedCellsWithinRange, (mergedCell)=>{
|
|
1166
|
-
if (selectedRange.getBottomEndCorner().row === mergedCell.getLastRow() && selectedRange.getBottomEndCorner().col === mergedCell.getLastColumn()) {
|
|
1167
|
-
corners[2] = mergedCell.row;
|
|
1168
|
-
corners[3] = mergedCell.col;
|
|
1169
|
-
}
|
|
1170
|
-
});
|
|
1171
|
-
}
|
|
1172
|
-
}
|
|
1173
|
-
function onAfterDrawSelection(currentRow, currentColumn, cornersOfSelection, layerLevel) {
|
|
1174
|
-
// Nothing's selected (hook might be triggered by the custom borders)
|
|
1175
|
-
if (!cornersOfSelection) {
|
|
1176
|
-
return;
|
|
1177
|
-
}
|
|
1178
|
-
return this.selectionCalculations.getSelectedMergedCellClassName(currentRow, currentColumn, cornersOfSelection, layerLevel);
|
|
1179
|
-
}
|
|
1180
|
-
function onBeforeRemoveCellClassNames() {
|
|
1181
|
-
return this.selectionCalculations.getSelectedMergedCellClassNameToRemove();
|
|
1182
|
-
}
|
|
1183
|
-
function onBeforeBeginEditing(row, column, initialValue, event) {
|
|
1184
|
-
if (!(event instanceof MouseEvent)) {
|
|
1185
|
-
return;
|
|
1186
|
-
}
|
|
1187
|
-
const selection = this.hot.getSelectedRangeActive();
|
|
1188
|
-
const mergeCell = this.mergedCellsCollection.getByRange(selection);
|
|
1189
|
-
if (!mergeCell) {
|
|
1190
|
-
return;
|
|
1191
|
-
}
|
|
1192
|
-
const from = this.hot._createCellCoords(mergeCell.row, mergeCell.col);
|
|
1193
|
-
const to = this.hot._createCellCoords(mergeCell.row + mergeCell.rowspan - 1, mergeCell.col + mergeCell.colspan - 1);
|
|
1194
|
-
return this.hot.selection.getLayerLevel() === 0 && selection.isEqual(this.hot._createCellRange(from, from, to));
|
|
1195
|
-
}
|
|
1196
|
-
function onModifyRowHeightByOverlayName(height, row, overlayType) {
|
|
1197
|
-
if (this.hot.getSettings().rowHeaders || // merged cells do not work with the bottom overlays
|
|
1198
|
-
overlayType === 'bottom' || overlayType === 'bottom_inline_start_corner') {
|
|
1199
|
-
return height;
|
|
1200
|
-
}
|
|
1201
|
-
let firstColumn;
|
|
1202
|
-
let lastColumn;
|
|
1203
|
-
if (overlayType === 'master') {
|
|
1204
|
-
firstColumn = this.hot.getFirstRenderedVisibleColumn();
|
|
1205
|
-
lastColumn = this.hot.getLastRenderedVisibleColumn();
|
|
1206
|
-
} else {
|
|
1207
|
-
const activeOverlay = this.hot.view.getOverlayByName(overlayType);
|
|
1208
|
-
firstColumn = this.hot.columnIndexMapper.getVisualFromRenderableIndex(activeOverlay.clone.wtTable.getFirstRenderedColumn());
|
|
1209
|
-
lastColumn = this.hot.columnIndexMapper.getVisualFromRenderableIndex(activeOverlay.clone.wtTable.getLastRenderedColumn());
|
|
1210
|
-
}
|
|
1211
|
-
const firstMergedCellInRow = this.mergedCellsCollection.get(row, firstColumn);
|
|
1212
|
-
if (!firstMergedCellInRow) {
|
|
1213
|
-
return height;
|
|
1214
|
-
}
|
|
1215
|
-
const from = this.hot._createCellCoords(row, firstColumn);
|
|
1216
|
-
const to = this.hot._createCellCoords(row, lastColumn);
|
|
1217
|
-
const viewportRange = this.hot._createCellRange(from, from, to);
|
|
1218
|
-
const mergedCellsWithinRange = this.mergedCellsCollection.getWithinRange(viewportRange, true);
|
|
1219
|
-
const maxRowspan = mergedCellsWithinRange.reduce((acc, { rowspan })=>Math.max(acc, rowspan), 1);
|
|
1220
|
-
let rowspanCorrection = 0;
|
|
1221
|
-
if (mergedCellsWithinRange.length > 1 && mergedCellsWithinRange[0].rowspan < maxRowspan) {
|
|
1222
|
-
rowspanCorrection = maxRowspan - mergedCellsWithinRange[0].rowspan;
|
|
1223
|
-
}
|
|
1224
|
-
mergedCellsWithinRange.forEach(({ rowspan })=>{
|
|
1225
|
-
let rowspanAfterCorrection = 0;
|
|
1226
|
-
if (overlayType === 'top' || overlayType === 'top_inline_start_corner') {
|
|
1227
|
-
rowspanAfterCorrection = Math.min(maxRowspan, this.hot.view.countNotHiddenFixedRowsTop() - row);
|
|
1228
|
-
} else {
|
|
1229
|
-
rowspanAfterCorrection = rowspan - rowspanCorrection;
|
|
1230
|
-
}
|
|
1231
|
-
height = Math.max(height ?? 0, (0, _utils.sumCellsHeights)(this.hot, row, rowspanAfterCorrection));
|
|
1232
|
-
});
|
|
1233
|
-
return height;
|
|
1234
|
-
}
|