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
|
@@ -56,59 +56,40 @@ import { warn } from '../../helpers/console.mjs';
|
|
|
56
56
|
import { ACTIVE_HEADER_TYPE, HEADER_TYPE } from '../../selection/index.mjs';
|
|
57
57
|
import { BasePlugin } from '../base/index.mjs';
|
|
58
58
|
import StateManager from './stateManager/index.mjs';
|
|
59
|
+
import { createColumnVisibilityAdapter } from './stateManager/columnVisibility.mjs';
|
|
59
60
|
import GhostTable from './utils/ghostTable.mjs';
|
|
60
61
|
import { resolveRowspanNavigationContextRow } from './utils/navigation.mjs';
|
|
61
62
|
export const PLUGIN_KEY = 'nestedHeaders';
|
|
62
63
|
export const PLUGIN_PRIORITY = 280;
|
|
63
64
|
var /**
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
* @type {StateManager}
|
|
65
|
+
* Manages the state tree of nested header spans and their visibility.
|
|
67
66
|
*/ _stateManager = /*#__PURE__*/ new WeakMap(), /**
|
|
68
|
-
*
|
|
69
|
-
* column
|
|
70
|
-
|
|
71
|
-
*
|
|
72
|
-
*/ _hidingIndexMapObserver = /*#__PURE__*/ new WeakMap(), /**
|
|
73
|
-
* Holds the coords that points to the place where the column selection starts.
|
|
74
|
-
*
|
|
75
|
-
* @type {number|null}
|
|
67
|
+
* Handler bound to columnIndexMapper's cacheUpdated local hook. Keeps header colspan state
|
|
68
|
+
* in sync with the current hiding map whenever visibility or column order changes.
|
|
69
|
+
*/ _onColumnIndexMapperCacheUpdated = /*#__PURE__*/ new WeakMap(), /**
|
|
70
|
+
* Stores the initial focus coordinates before a column header click initiates a range selection.
|
|
76
71
|
*/ _focusInitialCoords = /*#__PURE__*/ new WeakMap(), /**
|
|
77
|
-
*
|
|
78
|
-
*
|
|
79
|
-
* @type {boolean}
|
|
72
|
+
* Indicates whether a column selection drag triggered by a nested header click is currently in progress.
|
|
80
73
|
*/ _isColumnsSelectionInProgress = /*#__PURE__*/ new WeakMap(), /**
|
|
81
74
|
* Keeps the last highlight position made by column selection. The coords are necessary to scroll
|
|
82
75
|
* the viewport to the correct position when the nested header is clicked when the `navigableHeaders`
|
|
83
76
|
* option is disabled.
|
|
84
|
-
*
|
|
85
|
-
* @type {CellCoords | null}
|
|
86
77
|
*/ _recentlyHighlightCoords = /*#__PURE__*/ new WeakMap(), /**
|
|
87
78
|
* Stores the header row level used as context for horizontal navigation when entering
|
|
88
79
|
* and leaving rowspanned headers.
|
|
89
|
-
*
|
|
90
|
-
* @type {number|null}
|
|
91
80
|
*/ _rowspanHeaderNavigationContextRow = /*#__PURE__*/ new WeakMap(), /**
|
|
92
81
|
* Stores the expected next highlight coordinates after keyboard navigation. If the next
|
|
93
82
|
* keyboard move starts from different coordinates, the horizontal navigation context
|
|
94
83
|
* is considered stale and should be reset.
|
|
95
|
-
*
|
|
96
|
-
* @type {{row: number, col: number}|null}
|
|
97
84
|
*/ _expectedNextKeyboardHighlightCoords = /*#__PURE__*/ new WeakMap(), /**
|
|
98
85
|
* Determines if the widths map should be updated.
|
|
99
|
-
*
|
|
100
|
-
* @type {boolean}
|
|
101
86
|
*/ _updateWidthsMap = /*#__PURE__*/ new WeakMap(), /**
|
|
102
87
|
* Determines if the current nested headers state contains headers with `rowspan`.
|
|
103
|
-
*
|
|
104
|
-
* @type {boolean}
|
|
105
88
|
*/ _hasRowspanHeaders = /*#__PURE__*/ new WeakMap(), /**
|
|
106
|
-
*
|
|
107
|
-
|
|
108
|
-
*
|
|
109
|
-
|
|
110
|
-
* the `removeLocalHook` method of the row and column index mapper.
|
|
111
|
-
*/ _updateFocusHighlightPosition = /*#__PURE__*/ new WeakMap(), /**
|
|
89
|
+
* Applies colspan attribute and related CSS classes to a header cell.
|
|
90
|
+
*/ _applyColspan = /*#__PURE__*/ new WeakSet(), /**
|
|
91
|
+
* Applies rowspan attribute and related CSS classes to a header cell.
|
|
92
|
+
*/ _applyRowspan = /*#__PURE__*/ new WeakSet(), _updateFocusHighlightPosition = /*#__PURE__*/ new WeakMap(), /**
|
|
112
93
|
* Finds the first visible header row for the passed coordinates. If the passed coordinates point
|
|
113
94
|
* to a rowspan placeholder, the method traverses up through header levels to find the header cell
|
|
114
95
|
* that visually represents that placeholder.
|
|
@@ -146,25 +127,11 @@ var /**
|
|
|
146
127
|
* the cell on the left of the table. If `'end'`, viewport is scrolled to show the cell on the right of
|
|
147
128
|
* the table. When `'auto'`, the viewport is scrolled only when the column is outside of the viewport.
|
|
148
129
|
* @returns {number}
|
|
149
|
-
*/ _onBeforeViewportScrollHorizontally = /*#__PURE__*/ new
|
|
150
|
-
*
|
|
151
|
-
|
|
152
|
-
*
|
|
153
|
-
|
|
154
|
-
* @param {object} highlightMeta An object with meta data that describes the highlight state.
|
|
155
|
-
* @returns {number}
|
|
156
|
-
*/ _onBeforeHighlightingColumnHeader = /*#__PURE__*/ new WeakSet(), /**
|
|
157
|
-
* Listens the `beforeCopy` hook that allows processing the copied column headers so that the
|
|
158
|
-
* merged column headers do not propagate the value for each column but only once at the beginning
|
|
159
|
-
* of the column.
|
|
160
|
-
*
|
|
161
|
-
* @private
|
|
162
|
-
* @param {Array[]} data An array of arrays which contains data to copied.
|
|
163
|
-
* @param {object[]} copyableRanges An array of objects with ranges of the visual indexes (`startRow`, `startCol`, `endRow`, `endCol`)
|
|
164
|
-
* which will copied.
|
|
165
|
-
* @param {{ columnHeadersCount: number }} copiedHeadersCount An object with keys that holds information with
|
|
166
|
-
* the number of copied headers.
|
|
167
|
-
*/ _onBeforeCopy = /*#__PURE__*/ new WeakSet(), /**
|
|
130
|
+
*/ _onBeforeViewportScrollHorizontally = /*#__PURE__*/ new WeakMap(), /**
|
|
131
|
+
* Adjusts the column highlight start index and width to align with the nested header spanning configuration.
|
|
132
|
+
*/ _onBeforeHighlightingColumnHeader = /*#__PURE__*/ new WeakMap(), /**
|
|
133
|
+
* Enriches copied data with nested column header labels when column headers are included in the copy range.
|
|
134
|
+
*/ _onBeforeCopy = /*#__PURE__*/ new WeakMap(), /**
|
|
168
135
|
* Allows blocking the column selection that is controlled by the core Selection module.
|
|
169
136
|
*
|
|
170
137
|
* @param {MouseEvent} event Mouse event.
|
|
@@ -172,82 +139,65 @@ var /**
|
|
|
172
139
|
* @param {CellCoords} TD The table cell or header element.
|
|
173
140
|
* @param {object} controller An object with properties `row`, `column` and `cell`. Each property contains
|
|
174
141
|
* a boolean value that allows or disallows changing the selection for that particular area.
|
|
175
|
-
*/ _onBeforeOnCellMouseDown = /*#__PURE__*/ new
|
|
176
|
-
*
|
|
177
|
-
|
|
178
|
-
*
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
*
|
|
183
|
-
|
|
184
|
-
*
|
|
185
|
-
|
|
186
|
-
*
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
* range is always positioned within the range.
|
|
193
|
-
*/ _onBeforeSelectionHighlightSet = /*#__PURE__*/ new WeakSet(), /**
|
|
194
|
-
* `modifyTransformStart` hook is called every time the keyboard navigation is used.
|
|
195
|
-
*
|
|
196
|
-
* @param {object} delta The transformation delta.
|
|
197
|
-
*/ _onModifyTransformStart = /*#__PURE__*/ new WeakSet(), /**
|
|
198
|
-
* The hook observes the column selection from the Selection API and modifies the column range to
|
|
199
|
-
* ensure that the whole nested column will be covered.
|
|
200
|
-
*
|
|
201
|
-
* @param {CellCoords} from The coords object where the selection starts.
|
|
202
|
-
* @param {CellCoords} to The coords object where the selection ends.
|
|
203
|
-
* @param {CellCoords} highlight The coords object where the focus is.
|
|
204
|
-
*/ _onBeforeSelectColumns = /*#__PURE__*/ new WeakSet(), /**
|
|
205
|
-
* `afterGetColumnHeader` hook callback - prepares the header structure.
|
|
206
|
-
*
|
|
207
|
-
* @param {Array} renderersArray Array of renderers.
|
|
208
|
-
*/ _onAfterGetColumnHeaderRenderers = /*#__PURE__*/ new WeakSet(), /**
|
|
209
|
-
* Make the renderer render the first nested column in its entirety.
|
|
210
|
-
*
|
|
211
|
-
* @param {object} calc Viewport column calculator.
|
|
212
|
-
*/ _onAfterViewportColumnCalculatorOverride = /*#__PURE__*/ new WeakSet(), /**
|
|
142
|
+
*/ _onBeforeOnCellMouseDown = /*#__PURE__*/ new WeakMap(), /**
|
|
143
|
+
* Initiates a column selection when a nested header cell is clicked, selecting all columns covered by the header span.
|
|
144
|
+
*/ _onAfterOnCellMouseDown = /*#__PURE__*/ new WeakMap(), /**
|
|
145
|
+
* Extends the column selection range when the pointer moves over a nested header cell during a drag selection.
|
|
146
|
+
*/ _onBeforeOnCellMouseOver = /*#__PURE__*/ new WeakMap(), /**
|
|
147
|
+
* Clears the in-progress column selection flag when the pointer button is released.
|
|
148
|
+
*/ _onBeforeOnCellMouseUp = /*#__PURE__*/ new WeakMap(), /**
|
|
149
|
+
* Adjusts the selection highlight position when navigable headers are enabled and a multi-column header is selected.
|
|
150
|
+
*/ _onBeforeSelectionHighlightSet = /*#__PURE__*/ new WeakMap(), /**
|
|
151
|
+
* Corrects the keyboard navigation delta when traversing across rowspanned nested header cells.
|
|
152
|
+
*/ _onModifyTransformStart = /*#__PURE__*/ new WeakMap(), /**
|
|
153
|
+
* Expands the column selection range to fully include the header spans at the start and end columns.
|
|
154
|
+
*/ _onBeforeSelectColumns = /*#__PURE__*/ new WeakMap(), /**
|
|
155
|
+
* Replaces the default column header renderer array with layer-specific renderers generated by this plugin.
|
|
156
|
+
*/ _onAfterGetColumnHeaderRenderers = /*#__PURE__*/ new WeakMap(), /**
|
|
157
|
+
* Extends the viewport start column to include any header spans that begin outside the calculated viewport boundary.
|
|
158
|
+
*/ _onAfterViewportColumnCalculatorOverride = /*#__PURE__*/ new WeakMap(), /**
|
|
213
159
|
* `modifyColWidth` hook callback - returns width from cache, when is greater than incoming from hook.
|
|
214
160
|
*
|
|
215
|
-
*
|
|
216
|
-
*
|
|
217
|
-
*
|
|
218
|
-
*/ _onModifyColWidth = /*#__PURE__*/ new
|
|
161
|
+
* When `autoColumnSize` is explicitly disabled, the user opts out of auto-sizing
|
|
162
|
+
* columns based on content; the plugin respects user-provided widths and does
|
|
163
|
+
* not override them with the ghost-table-measured header label width.
|
|
164
|
+
*/ _onModifyColWidth = /*#__PURE__*/ new WeakMap(), /**
|
|
219
165
|
* Equalizes all nested column header layers' heights when rowspans are used.
|
|
220
|
-
|
|
221
|
-
* @returns {number[]|undefined}
|
|
222
|
-
*/ _onModifyColumnHeaderHeight = /*#__PURE__*/ new WeakSet(), /**
|
|
166
|
+
*/ _onModifyColumnHeaderHeight = /*#__PURE__*/ new WeakMap(), /**
|
|
223
167
|
* Listens the `modifyColumnHeaderValue` hook that overwrites the column headers values based on
|
|
224
168
|
* the internal state and settings of the plugin.
|
|
225
169
|
*
|
|
226
|
-
* @param
|
|
227
|
-
* @param
|
|
228
|
-
* @param
|
|
229
|
-
*
|
|
230
|
-
*
|
|
231
|
-
*
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
*
|
|
236
|
-
* @param {number} row Row index.
|
|
237
|
-
* @param {number} column Column index.
|
|
238
|
-
* @returns {HTMLTableCellElement} The `TH` element to be focused.
|
|
239
|
-
*/ _onModifyFocusedElement = /*#__PURE__*/ new WeakSet(), /**
|
|
170
|
+
* @param value The column header value.
|
|
171
|
+
* @param visualColumnIndex The visual column index.
|
|
172
|
+
* @param headerLevel The index of header level. The header level accepts positive (0 to N)
|
|
173
|
+
* and negative (-1 to -N) values. For positive values, 0 points to the
|
|
174
|
+
* top most header, and for negative direction, -1 points to the most bottom
|
|
175
|
+
* header (the header closest to the cells).
|
|
176
|
+
*/ _onModifyColumnHeaderValue = /*#__PURE__*/ new WeakMap(), /**
|
|
177
|
+
* Returns the leftmost DOM cell element within the nested header span at the given row and column when in a header row.
|
|
178
|
+
*/ _onModifyFocusedElement = /*#__PURE__*/ new WeakMap(), /**
|
|
240
179
|
* Updates the plugin state after HoT initialization.
|
|
241
|
-
*/
|
|
242
|
-
|
|
180
|
+
*/ // @TODO: Workaround for broken plugin initialization abstraction.
|
|
181
|
+
_onInit = /*#__PURE__*/ new WeakMap(), /**
|
|
182
|
+
* Re-initializes the plugin state after new data is loaded, unless this is the initial data load.
|
|
183
|
+
*/ _onAfterLoadData = /*#__PURE__*/ new WeakMap(), /**
|
|
184
|
+
* Extends the nested headers structure when columns are inserted into the dataset, keeping the
|
|
185
|
+
* header tree aligned with the grid body. Headers spanning the insertion point are widened; a
|
|
186
|
+
* column inserted at a header boundary becomes a standalone header.
|
|
243
187
|
*
|
|
244
|
-
* @param {
|
|
245
|
-
* @param {
|
|
246
|
-
|
|
247
|
-
|
|
188
|
+
* @param {number} visualColumnIndex A visual column index at which the columns were inserted.
|
|
189
|
+
* @param {number} amount The number of inserted columns.
|
|
190
|
+
*/ _onAfterCreateCol = /*#__PURE__*/ new WeakMap(), /**
|
|
191
|
+
* Shrinks the nested headers structure when columns are removed from the dataset, keeping the
|
|
192
|
+
* header tree aligned with the grid body. Headers overlapping the removed range are shortened,
|
|
193
|
+
* re-anchored, or dropped when they lose all of their columns.
|
|
194
|
+
*
|
|
195
|
+
* @param {number} visualColumnIndex A visual column index from which the columns were removed.
|
|
196
|
+
* @param {number} amount The number of removed columns.
|
|
197
|
+
*/ _onAfterRemoveCol = /*#__PURE__*/ new WeakMap(), /**
|
|
248
198
|
* Builds the widths map before the view is rendered.
|
|
249
|
-
*/ _onBeforeViewRender = /*#__PURE__*/ new
|
|
250
|
-
|
|
199
|
+
*/ _onBeforeViewRender = /*#__PURE__*/ new WeakMap();
|
|
200
|
+
/**
|
|
251
201
|
* @plugin NestedHeaders
|
|
252
202
|
* @class NestedHeaders
|
|
253
203
|
*
|
|
@@ -321,21 +271,23 @@ var /**
|
|
|
321
271
|
* ```
|
|
322
272
|
* :::
|
|
323
273
|
*/ export class NestedHeaders extends BasePlugin {
|
|
324
|
-
|
|
274
|
+
/**
|
|
275
|
+
* Returns the plugin key used to identify this plugin in Handsontable settings.
|
|
276
|
+
*/ static get PLUGIN_KEY() {
|
|
325
277
|
return PLUGIN_KEY;
|
|
326
278
|
}
|
|
327
|
-
|
|
279
|
+
/**
|
|
280
|
+
* Returns the priority order used to determine the order in which plugins are initialized.
|
|
281
|
+
*/ static get PLUGIN_PRIORITY() {
|
|
328
282
|
return PLUGIN_PRIORITY;
|
|
329
283
|
}
|
|
330
284
|
/**
|
|
331
|
-
*
|
|
332
|
-
*
|
|
333
|
-
* @returns {boolean}
|
|
285
|
+
* Returns whether the plugin is enabled based on the presence of the `nestedHeaders` settings key.
|
|
334
286
|
*/ isEnabled() {
|
|
335
287
|
return !!this.hot.getSettings()[PLUGIN_KEY];
|
|
336
288
|
}
|
|
337
289
|
/**
|
|
338
|
-
* Enables the plugin
|
|
290
|
+
* Enables the plugin by registering all required hooks and initializing the header state.
|
|
339
291
|
*/ enablePlugin() {
|
|
340
292
|
if (this.enabled) {
|
|
341
293
|
return;
|
|
@@ -345,37 +297,39 @@ var /**
|
|
|
345
297
|
warn(toSingleLine`Your Nested Headers plugin configuration is invalid. The settings has to be\x20
|
|
346
298
|
passed as an array of arrays e.q. [['A1', { label: 'A2', colspan: 2 }]]`);
|
|
347
299
|
}
|
|
348
|
-
this.addHook('init', (
|
|
349
|
-
this.addHook('afterLoadData', (
|
|
350
|
-
this.addHook('
|
|
351
|
-
this.addHook('
|
|
352
|
-
this.addHook('
|
|
353
|
-
this.addHook('
|
|
354
|
-
this.addHook('
|
|
355
|
-
this.addHook('
|
|
356
|
-
this.addHook('
|
|
357
|
-
this.addHook('
|
|
358
|
-
this.addHook('
|
|
359
|
-
this.addHook('
|
|
360
|
-
this.addHook('
|
|
361
|
-
this.addHook('
|
|
362
|
-
this.addHook('
|
|
363
|
-
this.addHook('
|
|
364
|
-
this.addHook('
|
|
365
|
-
this.addHook('
|
|
366
|
-
this.addHook('
|
|
367
|
-
this.addHook('
|
|
368
|
-
this.addHook('
|
|
300
|
+
this.addHook('init', _class_private_field_get(this, _onInit));
|
|
301
|
+
this.addHook('afterLoadData', _class_private_field_get(this, _onAfterLoadData));
|
|
302
|
+
this.addHook('afterCreateCol', _class_private_field_get(this, _onAfterCreateCol));
|
|
303
|
+
this.addHook('afterRemoveCol', _class_private_field_get(this, _onAfterRemoveCol));
|
|
304
|
+
this.addHook('beforeOnCellMouseDown', _class_private_field_get(this, _onBeforeOnCellMouseDown));
|
|
305
|
+
this.addHook('afterOnCellMouseDown', _class_private_field_get(this, _onAfterOnCellMouseDown));
|
|
306
|
+
this.addHook('beforeOnCellMouseOver', _class_private_field_get(this, _onBeforeOnCellMouseOver));
|
|
307
|
+
this.addHook('beforeOnCellMouseUp', _class_private_field_get(this, _onBeforeOnCellMouseUp));
|
|
308
|
+
this.addHook('beforeSelectionHighlightSet', _class_private_field_get(this, _onBeforeSelectionHighlightSet));
|
|
309
|
+
this.addHook('modifyTransformStart', _class_private_field_get(this, _onModifyTransformStart));
|
|
310
|
+
this.addHook('afterSelection', _class_private_field_get(this, _updateFocusHighlightPosition));
|
|
311
|
+
this.addHook('afterSelectionFocusSet', _class_private_field_get(this, _updateFocusHighlightPosition));
|
|
312
|
+
this.addHook('beforeViewportScrollHorizontally', _class_private_field_get(this, _onBeforeViewportScrollHorizontally));
|
|
313
|
+
this.addHook('afterGetColumnHeaderRenderers', _class_private_field_get(this, _onAfterGetColumnHeaderRenderers));
|
|
314
|
+
this.addHook('modifyColWidth', _class_private_field_get(this, _onModifyColWidth));
|
|
315
|
+
this.addHook('modifyColumnHeaderHeight', _class_private_field_get(this, _onModifyColumnHeaderHeight));
|
|
316
|
+
this.addHook('modifyColumnHeaderValue', _class_private_field_get(this, _onModifyColumnHeaderValue));
|
|
317
|
+
this.addHook('beforeHighlightingColumnHeader', _class_private_field_get(this, _onBeforeHighlightingColumnHeader));
|
|
318
|
+
this.addHook('beforeCopy', _class_private_field_get(this, _onBeforeCopy));
|
|
319
|
+
this.addHook('beforeSelectColumns', _class_private_field_get(this, _onBeforeSelectColumns));
|
|
320
|
+
this.addHook('beforeViewRender', _class_private_field_get(this, _onBeforeViewRender));
|
|
321
|
+
this.addHook('afterViewportColumnCalculatorOverride', _class_private_field_get(this, _onAfterViewportColumnCalculatorOverride));
|
|
322
|
+
this.addHook('modifyFocusedElement', _class_private_field_get(this, _onModifyFocusedElement));
|
|
323
|
+
// Sync the header tree's hidden state from the hiding map *before* the focus highlight is
|
|
324
|
+
// repositioned, so #updateFocusHighlightPosition reads up-to-date colspan / isHidden values.
|
|
325
|
+
this.hot.columnIndexMapper.addLocalHook('cacheUpdated', _class_private_field_get(this, _onColumnIndexMapperCacheUpdated));
|
|
369
326
|
this.hot.columnIndexMapper.addLocalHook('cacheUpdated', _class_private_field_get(this, _updateFocusHighlightPosition));
|
|
370
327
|
this.hot.rowIndexMapper.addLocalHook('cacheUpdated', _class_private_field_get(this, _updateFocusHighlightPosition));
|
|
371
328
|
super.enablePlugin();
|
|
372
|
-
this.updatePlugin();
|
|
329
|
+
this.updatePlugin();
|
|
373
330
|
}
|
|
374
331
|
/**
|
|
375
|
-
* Updates the plugin
|
|
376
|
-
*
|
|
377
|
-
* This method is executed when [`updateSettings()`](@/api/core.md#updatesettings) is invoked with any of the following configuration options:
|
|
378
|
-
* - [`nestedHeaders`](@/api/options.md#nestedheaders)
|
|
332
|
+
* Updates the plugin state when Handsontable settings change, rebuilding the header tree and refreshing column widths.
|
|
379
333
|
*/ updatePlugin() {
|
|
380
334
|
if (!this.hot.view) {
|
|
381
335
|
return;
|
|
@@ -398,75 +352,45 @@ var /**
|
|
|
398
352
|
is currently not supported.`);
|
|
399
353
|
}
|
|
400
354
|
if (this.enabled) {
|
|
401
|
-
//
|
|
402
|
-
//
|
|
403
|
-
//
|
|
404
|
-
this
|
|
405
|
-
const actionName = isColumnHidden === true ? 'hide-column' : 'show-column';
|
|
406
|
-
_class_private_field_get(this, _stateManager).triggerColumnModification(actionName, physicalColumnIndex);
|
|
407
|
-
});
|
|
408
|
-
}
|
|
409
|
-
if (!_class_private_field_get(this, _hidingIndexMapObserver) && this.enabled) {
|
|
410
|
-
_class_private_field_set(this, _hidingIndexMapObserver, this.hot.columnIndexMapper.createChangesObserver('hiding').subscribe((changes)=>{
|
|
411
|
-
changes.forEach(({ op, index: columnIndex, newValue })=>{
|
|
412
|
-
if (op === 'replace') {
|
|
413
|
-
const actionName = newValue === true ? 'hide-column' : 'show-column';
|
|
414
|
-
_class_private_field_get(this, _stateManager).triggerColumnModification(actionName, columnIndex);
|
|
415
|
-
}
|
|
416
|
-
});
|
|
417
|
-
this.ghostTable.buildWidthsMap();
|
|
418
|
-
}));
|
|
355
|
+
// Derive tree colspan / isHidden state from the current hiding map. This covers columns
|
|
356
|
+
// that were already hidden before the plugin initialised (e.g. HiddenColumns configured
|
|
357
|
+
// together with nestedHeaders). Future changes are handled by #onColumnIndexMapperCacheUpdated.
|
|
358
|
+
_class_private_field_get(this, _stateManager).syncVisibility(createColumnVisibilityAdapter(this.hot));
|
|
419
359
|
}
|
|
420
360
|
_class_private_field_set(this, _updateWidthsMap, true);
|
|
421
361
|
super.updatePlugin();
|
|
422
362
|
}
|
|
423
363
|
/**
|
|
424
|
-
* Disables the plugin
|
|
364
|
+
* Disables the plugin by removing all registered hooks, clearing header state, and resetting visual indicators.
|
|
425
365
|
*/ disablePlugin() {
|
|
426
366
|
this.hot.rowIndexMapper.removeLocalHook('cacheUpdated', _class_private_field_get(this, _updateFocusHighlightPosition));
|
|
427
367
|
this.hot.columnIndexMapper.removeLocalHook('cacheUpdated', _class_private_field_get(this, _updateFocusHighlightPosition));
|
|
368
|
+
this.hot.columnIndexMapper.removeLocalHook('cacheUpdated', _class_private_field_get(this, _onColumnIndexMapperCacheUpdated));
|
|
428
369
|
this.clearColspans();
|
|
429
370
|
_class_private_field_get(this, _stateManager).clear();
|
|
430
371
|
_class_private_field_set(this, _rowspanHeaderNavigationContextRow, null);
|
|
431
372
|
_class_private_field_set(this, _expectedNextKeyboardHighlightCoords, null);
|
|
432
373
|
removeClass(this.hot.rootElement, 'htHasRowspanHeaders');
|
|
433
|
-
_class_private_field_get(this, _hidingIndexMapObserver).unsubscribe();
|
|
434
|
-
_class_private_field_set(this, _hidingIndexMapObserver, null);
|
|
435
374
|
this.ghostTable.clear();
|
|
436
375
|
super.disablePlugin();
|
|
437
376
|
}
|
|
438
377
|
/**
|
|
439
|
-
* Returns
|
|
440
|
-
*
|
|
441
|
-
* @private
|
|
442
|
-
* @returns {StateManager}
|
|
378
|
+
* Returns the internal state manager that tracks the nested header spans and their layout configuration.
|
|
443
379
|
*/ getStateManager() {
|
|
444
380
|
return _class_private_field_get(this, _stateManager);
|
|
445
381
|
}
|
|
446
382
|
/**
|
|
447
|
-
*
|
|
448
|
-
*
|
|
449
|
-
* @private
|
|
450
|
-
* @returns {number}
|
|
383
|
+
* Returns the number of nested header rows currently configured in the plugin.
|
|
451
384
|
*/ getLayersCount() {
|
|
452
385
|
return _class_private_field_get(this, _stateManager).getLayersCount();
|
|
453
386
|
}
|
|
454
387
|
/**
|
|
455
|
-
*
|
|
456
|
-
* information about the header label, its colspan length, or if it is hidden
|
|
457
|
-
* in the header renderers.
|
|
458
|
-
*
|
|
459
|
-
* @private
|
|
460
|
-
* @param {number} headerLevel Header level (0 = most distant to the table).
|
|
461
|
-
* @param {number} columnIndex A visual column index.
|
|
462
|
-
* @returns {object}
|
|
388
|
+
* Returns the header settings node for the specified header level and column index.
|
|
463
389
|
*/ getHeaderSettings(headerLevel, columnIndex) {
|
|
464
390
|
return _class_private_field_get(this, _stateManager).getHeaderSettings(headerLevel, columnIndex);
|
|
465
391
|
}
|
|
466
392
|
/**
|
|
467
|
-
*
|
|
468
|
-
*
|
|
469
|
-
* @private
|
|
393
|
+
* Removes all colspan and rowspan attributes from the rendered header cells in all overlays.
|
|
470
394
|
*/ clearColspans() {
|
|
471
395
|
if (!this.hot.view) {
|
|
472
396
|
return;
|
|
@@ -474,8 +398,11 @@ var /**
|
|
|
474
398
|
const { _wt: wt } = this.hot.view;
|
|
475
399
|
const headerLevels = wt.getSetting('columnHeaders').length;
|
|
476
400
|
const mainHeaders = wt.wtTable.THEAD;
|
|
477
|
-
const topHeaders = wt.wtOverlays.topOverlay.clone
|
|
478
|
-
const topLeftCornerHeaders = wt.wtOverlays.topInlineStartCornerOverlay
|
|
401
|
+
const topHeaders = wt.wtOverlays.topOverlay.clone?.wtTable.THEAD;
|
|
402
|
+
const topLeftCornerHeaders = wt.wtOverlays.topInlineStartCornerOverlay?.clone?.wtTable.THEAD ?? null;
|
|
403
|
+
if (!mainHeaders || !topHeaders) {
|
|
404
|
+
return;
|
|
405
|
+
}
|
|
479
406
|
for(let i = 0; i < headerLevels; i++){
|
|
480
407
|
const masterLevel = mainHeaders.childNodes[i];
|
|
481
408
|
if (!masterLevel) {
|
|
@@ -484,37 +411,34 @@ var /**
|
|
|
484
411
|
const topLevel = topHeaders.childNodes[i];
|
|
485
412
|
const topLeftCornerLevel = topLeftCornerHeaders ? topLeftCornerHeaders.childNodes[i] : null;
|
|
486
413
|
for(let j = 0, masterNodes = masterLevel.childNodes.length; j < masterNodes; j++){
|
|
487
|
-
masterLevel.childNodes[j]
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
414
|
+
const masterChild = masterLevel.childNodes[j];
|
|
415
|
+
masterChild.removeAttribute('colspan');
|
|
416
|
+
masterChild.removeAttribute('rowspan');
|
|
417
|
+
masterChild.style.display = '';
|
|
418
|
+
removeClass(masterChild, 'hiddenHeader');
|
|
491
419
|
if (topLevel && topLevel.childNodes[j]) {
|
|
492
|
-
topLevel.childNodes[j]
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
420
|
+
const topChild = topLevel.childNodes[j];
|
|
421
|
+
topChild.removeAttribute('colspan');
|
|
422
|
+
topChild.removeAttribute('rowspan');
|
|
423
|
+
topChild.style.display = '';
|
|
424
|
+
removeClass(topChild, 'hiddenHeader');
|
|
496
425
|
}
|
|
497
426
|
if (topLeftCornerHeaders && topLeftCornerLevel && topLeftCornerLevel.childNodes[j]) {
|
|
498
|
-
topLeftCornerLevel.childNodes[j]
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
427
|
+
const cornerChild = topLeftCornerLevel.childNodes[j];
|
|
428
|
+
cornerChild.removeAttribute('colspan');
|
|
429
|
+
cornerChild.removeAttribute('rowspan');
|
|
430
|
+
cornerChild.style.display = '';
|
|
431
|
+
removeClass(cornerChild, 'hiddenHeader');
|
|
502
432
|
}
|
|
503
433
|
}
|
|
504
434
|
}
|
|
505
435
|
}
|
|
506
436
|
/**
|
|
507
|
-
*
|
|
508
|
-
*
|
|
509
|
-
* @private
|
|
510
|
-
* @param {number} headerLevel The index of header level counting from the top (positive
|
|
511
|
-
* values counting from 0 to N).
|
|
512
|
-
* @returns {Function}
|
|
513
|
-
* @fires Hooks#afterGetColHeader
|
|
437
|
+
* Creates and returns a header renderer function for the specified header layer level.
|
|
514
438
|
*/ headerRendererFactory(headerLevel) {
|
|
515
439
|
const fixedColumnsStart = this.hot.view._wt.getSetting('fixedColumnsStart');
|
|
516
440
|
return (renderedColumnIndex, TH)=>{
|
|
517
|
-
const { columnIndexMapper
|
|
441
|
+
const { columnIndexMapper } = this.hot;
|
|
518
442
|
let visualColumnIndex = columnIndexMapper.getVisualFromRenderableIndex(renderedColumnIndex);
|
|
519
443
|
if (visualColumnIndex === null) {
|
|
520
444
|
visualColumnIndex = renderedColumnIndex;
|
|
@@ -526,57 +450,40 @@ var /**
|
|
|
526
450
|
removeClass(TH, 'hiddenHeaderText');
|
|
527
451
|
removeClass(TH, 'htRowspanHeader');
|
|
528
452
|
removeClass(TH, 'htRowspanBottomLevel');
|
|
529
|
-
const
|
|
530
|
-
|
|
531
|
-
};
|
|
453
|
+
const rendererHeaderSettings = _class_private_field_get(this, _stateManager).getHeaderSettings(headerLevel, visualColumnIndex) ?? {};
|
|
454
|
+
const { colspan, rowspan, isHidden, isPlaceholder, isRowspanPlaceholder, headerClassNames } = rendererHeaderSettings;
|
|
532
455
|
if (isRowspanPlaceholder) {
|
|
533
456
|
addClass(TH, 'hiddenHeader');
|
|
534
457
|
TH.style.display = 'none';
|
|
535
458
|
} else if (isPlaceholder || isHidden) {
|
|
536
459
|
addClass(TH, 'hiddenHeader');
|
|
537
460
|
} else {
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
const isBottomMostRowspanHeader = headerLevel + rowspan === this.getLayersCount();
|
|
553
|
-
addClass(TH, 'htRowspanHeader');
|
|
554
|
-
if (isBottomMostRowspanHeader) {
|
|
555
|
-
addClass(TH, 'htRowspanBottomLevel');
|
|
556
|
-
}
|
|
557
|
-
TH.setAttribute('rowspan', rowspan);
|
|
558
|
-
}
|
|
461
|
+
_class_private_method_get(this, _applyColspan, applyColspan).call(this, TH, colspan, visualColumnIndex, renderedColumnIndex, fixedColumnsStart);
|
|
462
|
+
_class_private_method_get(this, _applyRowspan, applyRowspan).call(this, TH, rowspan, headerLevel);
|
|
463
|
+
}
|
|
464
|
+
this.hot.view.appendColHeader(visualColumnIndex, TH, (colIndex, level)=>this.getColumnHeaderValue(colIndex, level), headerLevel);
|
|
465
|
+
// The hidden-column indicator added by HiddenColumns must appear only on the header closest
|
|
466
|
+
// to the cells (the one whose bottom edge reaches the last header row). Upper-level headers -
|
|
467
|
+
// group parents, or single-column headers stacked above - would point at an internal or
|
|
468
|
+
// duplicated boundary, so strip the indicator from every header that does not touch the cells.
|
|
469
|
+
const reachesCells = headerLevel + (rowspan ?? 1) === this.getLayersCount();
|
|
470
|
+
if (!reachesCells) {
|
|
471
|
+
removeClass(TH, [
|
|
472
|
+
'beforeHiddenColumn',
|
|
473
|
+
'afterHiddenColumn'
|
|
474
|
+
]);
|
|
559
475
|
}
|
|
560
|
-
this.hot.view.appendColHeader(visualColumnIndex, TH, (...args)=>this.getColumnHeaderValue(...args), headerLevel);
|
|
561
476
|
if (!isPlaceholder && !isHidden && !isRowspanPlaceholder) {
|
|
562
477
|
const innerHeaderDiv = TH.querySelector('div.relative');
|
|
563
478
|
if (innerHeaderDiv && headerClassNames && headerClassNames.length > 0) {
|
|
564
|
-
removeClass(innerHeaderDiv, this.hot.getColumnMeta(visualColumnIndex).headerClassName);
|
|
479
|
+
removeClass(innerHeaderDiv, this.hot.getColumnMeta(visualColumnIndex).headerClassName ?? []);
|
|
565
480
|
addClass(innerHeaderDiv, headerClassNames);
|
|
566
481
|
}
|
|
567
482
|
}
|
|
568
483
|
};
|
|
569
484
|
}
|
|
570
485
|
/**
|
|
571
|
-
* Returns the
|
|
572
|
-
*
|
|
573
|
-
* @private
|
|
574
|
-
* @param {number} visualColumnIndex Visual column index.
|
|
575
|
-
* @param {number} headerLevel The index of header level. The header level accepts positive (0 to N)
|
|
576
|
-
* and negative (-1 to -N) values. For positive values, 0 points to the
|
|
577
|
-
* top most header, and for negative direction, -1 points to the most bottom
|
|
578
|
-
* header (the header closest to the cells).
|
|
579
|
-
* @returns {string} Returns the column header value to update.
|
|
486
|
+
* Returns the display value for a nested header cell at the given visual column index and header level.
|
|
580
487
|
*/ getColumnHeaderValue(visualColumnIndex, headerLevel) {
|
|
581
488
|
const { isHidden, isPlaceholder, isRowspanPlaceholder } = _class_private_field_get(this, _stateManager).getHeaderSettings(headerLevel, visualColumnIndex) ?? {};
|
|
582
489
|
if (isPlaceholder || isHidden || isRowspanPlaceholder) {
|
|
@@ -587,20 +494,12 @@ var /**
|
|
|
587
494
|
/**
|
|
588
495
|
* Destroys the plugin instance.
|
|
589
496
|
*/ destroy() {
|
|
590
|
-
|
|
497
|
+
_class_private_field_get(this, _stateManager).clear();
|
|
591
498
|
removeClass(this.hot.rootElement, 'htHasRowspanHeaders');
|
|
592
|
-
if (_class_private_field_get(this, _hidingIndexMapObserver) !== null) {
|
|
593
|
-
_class_private_field_get(this, _hidingIndexMapObserver).unsubscribe();
|
|
594
|
-
_class_private_field_set(this, _hidingIndexMapObserver, null);
|
|
595
|
-
}
|
|
596
499
|
super.destroy();
|
|
597
500
|
}
|
|
598
501
|
/**
|
|
599
|
-
*
|
|
600
|
-
*
|
|
601
|
-
* @private
|
|
602
|
-
* @param {CellCoords} coords The CellCoords instance.
|
|
603
|
-
* @returns {object|undefined}
|
|
502
|
+
* Returns the header tree node data for the given coordinates, or undefined if the coordinates do not point to a header cell.
|
|
604
503
|
*/ _getHeaderTreeNodeDataByCoords(coords) {
|
|
605
504
|
if (coords.row >= 0 || coords.col < 0) {
|
|
606
505
|
return;
|
|
@@ -608,10 +507,10 @@ var /**
|
|
|
608
507
|
return _class_private_field_get(this, _stateManager).getHeaderTreeNodeData(coords.row, coords.col);
|
|
609
508
|
}
|
|
610
509
|
constructor(...args){
|
|
611
|
-
super(...args), _class_private_method_init(this,
|
|
510
|
+
super(...args), _class_private_method_init(this, _applyColspan), _class_private_method_init(this, _applyRowspan), _class_private_method_init(this, _findRenderableHeaderRow), _class_private_method_init(this, _getRootHeaderRowspan), _class_private_method_init(this, _isNavigableHeaderCell), _class_private_method_init(this, _findNearestNavigableHeaderColumn), _class_private_field_init(this, _stateManager, {
|
|
612
511
|
writable: true,
|
|
613
512
|
value: void 0
|
|
614
|
-
}), _class_private_field_init(this,
|
|
513
|
+
}), _class_private_field_init(this, _onColumnIndexMapperCacheUpdated, {
|
|
615
514
|
writable: true,
|
|
616
515
|
value: void 0
|
|
617
516
|
}), _class_private_field_init(this, _focusInitialCoords, {
|
|
@@ -635,14 +534,90 @@ var /**
|
|
|
635
534
|
}), _class_private_field_init(this, _hasRowspanHeaders, {
|
|
636
535
|
writable: true,
|
|
637
536
|
value: void 0
|
|
638
|
-
}),
|
|
537
|
+
}), /**
|
|
538
|
+
* Updates the focus highlight position in the selection model to reflect the current nested header layout.
|
|
539
|
+
*/ _class_private_field_init(this, _updateFocusHighlightPosition, {
|
|
540
|
+
writable: true,
|
|
541
|
+
value: void 0
|
|
542
|
+
}), _class_private_field_init(this, _onBeforeViewportScrollHorizontally, {
|
|
543
|
+
writable: true,
|
|
544
|
+
value: void 0
|
|
545
|
+
}), _class_private_field_init(this, _onBeforeHighlightingColumnHeader, {
|
|
546
|
+
writable: true,
|
|
547
|
+
value: void 0
|
|
548
|
+
}), _class_private_field_init(this, _onBeforeCopy, {
|
|
549
|
+
writable: true,
|
|
550
|
+
value: void 0
|
|
551
|
+
}), _class_private_field_init(this, _onBeforeOnCellMouseDown, {
|
|
552
|
+
writable: true,
|
|
553
|
+
value: void 0
|
|
554
|
+
}), _class_private_field_init(this, _onAfterOnCellMouseDown, {
|
|
555
|
+
writable: true,
|
|
556
|
+
value: void 0
|
|
557
|
+
}), _class_private_field_init(this, _onBeforeOnCellMouseOver, {
|
|
558
|
+
writable: true,
|
|
559
|
+
value: void 0
|
|
560
|
+
}), _class_private_field_init(this, _onBeforeOnCellMouseUp, {
|
|
561
|
+
writable: true,
|
|
562
|
+
value: void 0
|
|
563
|
+
}), _class_private_field_init(this, _onBeforeSelectionHighlightSet, {
|
|
564
|
+
writable: true,
|
|
565
|
+
value: void 0
|
|
566
|
+
}), _class_private_field_init(this, _onModifyTransformStart, {
|
|
567
|
+
writable: true,
|
|
568
|
+
value: void 0
|
|
569
|
+
}), _class_private_field_init(this, _onBeforeSelectColumns, {
|
|
570
|
+
writable: true,
|
|
571
|
+
value: void 0
|
|
572
|
+
}), _class_private_field_init(this, _onAfterGetColumnHeaderRenderers, {
|
|
573
|
+
writable: true,
|
|
574
|
+
value: void 0
|
|
575
|
+
}), _class_private_field_init(this, _onAfterViewportColumnCalculatorOverride, {
|
|
576
|
+
writable: true,
|
|
577
|
+
value: void 0
|
|
578
|
+
}), _class_private_field_init(this, _onModifyColWidth, {
|
|
579
|
+
writable: true,
|
|
580
|
+
value: void 0
|
|
581
|
+
}), _class_private_field_init(this, _onModifyColumnHeaderHeight, {
|
|
582
|
+
writable: true,
|
|
583
|
+
value: void 0
|
|
584
|
+
}), _class_private_field_init(this, _onModifyColumnHeaderValue, {
|
|
585
|
+
writable: true,
|
|
586
|
+
value: void 0
|
|
587
|
+
}), _class_private_field_init(this, _onModifyFocusedElement, {
|
|
639
588
|
writable: true,
|
|
640
589
|
value: void 0
|
|
641
|
-
}),
|
|
590
|
+
}), _class_private_field_init(this, _onInit, {
|
|
591
|
+
writable: true,
|
|
592
|
+
value: void 0
|
|
593
|
+
}), _class_private_field_init(this, _onAfterLoadData, {
|
|
594
|
+
writable: true,
|
|
595
|
+
value: void 0
|
|
596
|
+
}), _class_private_field_init(this, _onAfterCreateCol, {
|
|
597
|
+
writable: true,
|
|
598
|
+
value: void 0
|
|
599
|
+
}), _class_private_field_init(this, _onAfterRemoveCol, {
|
|
600
|
+
writable: true,
|
|
601
|
+
value: void 0
|
|
602
|
+
}), _class_private_field_init(this, _onBeforeViewRender, {
|
|
603
|
+
writable: true,
|
|
604
|
+
value: void 0
|
|
605
|
+
}), _class_private_field_set(this, _stateManager, new StateManager()), _class_private_field_set(this, _onColumnIndexMapperCacheUpdated, ({ hiddenIndexesChanged })=>{
|
|
606
|
+
if (!this.enabled) {
|
|
607
|
+
return;
|
|
608
|
+
}
|
|
609
|
+
// syncVisibility must run on every cache update (including a pure column move) so the tree's
|
|
610
|
+
// colspan / isHidden stay aligned with the current visual<->physical mapping (DEV-1717).
|
|
611
|
+
_class_private_field_get(this, _stateManager).syncVisibility(createColumnVisibilityAdapter(this.hot));
|
|
612
|
+
// Rebuilding the ghost table to re-measure widths is expensive (it builds and measures a
|
|
613
|
+
// detached DOM table). Only column visibility changes can alter the measured widths, so skip
|
|
614
|
+
// the rebuild on pure sequence changes (e.g. manualColumnMove) - the widths map is keyed by
|
|
615
|
+
// physical column and a move does not change them.
|
|
616
|
+
if (hiddenIndexesChanged) {
|
|
617
|
+
this.ghostTable.buildWidthsMap();
|
|
618
|
+
}
|
|
619
|
+
}), _class_private_field_set(this, _focusInitialCoords, null), _class_private_field_set(this, _isColumnsSelectionInProgress, false), _class_private_field_set(this, _recentlyHighlightCoords, null), _class_private_field_set(this, _rowspanHeaderNavigationContextRow, null), _class_private_field_set(this, _expectedNextKeyboardHighlightCoords, null), _class_private_field_set(this, _updateWidthsMap, false), /**
|
|
642
620
|
* Custom helper for getting widths of the nested headers.
|
|
643
|
-
*
|
|
644
|
-
* @private
|
|
645
|
-
* @type {GhostTable}
|
|
646
621
|
*/ // @TODO This should be changed after refactor handsontable/utils/ghostTable.
|
|
647
622
|
this.ghostTable = new GhostTable({
|
|
648
623
|
hot: this.hot,
|
|
@@ -650,16 +625,14 @@ var /**
|
|
|
650
625
|
}), /**
|
|
651
626
|
* The flag which determines that the nested header settings contains overlapping headers
|
|
652
627
|
* configuration.
|
|
653
|
-
*
|
|
654
|
-
* @type {boolean}
|
|
655
628
|
*/ this.detectedOverlappedHeaders = false, _class_private_field_set(this, _hasRowspanHeaders, false), _class_private_field_set(this, _updateFocusHighlightPosition, ()=>{
|
|
656
629
|
const selection = this.hot?.getSelectedRangeActive();
|
|
657
630
|
if (!selection) {
|
|
658
631
|
return;
|
|
659
632
|
}
|
|
660
633
|
const { highlight } = selection;
|
|
661
|
-
const isNestedHeadersRange = highlight.isHeader() && highlight.col >= 0;
|
|
662
|
-
if (isNestedHeadersRange) {
|
|
634
|
+
const isNestedHeadersRange = highlight.row !== null && highlight.col !== null && highlight.isHeader() && highlight.col >= 0;
|
|
635
|
+
if (isNestedHeadersRange && highlight.row !== null && highlight.col !== null) {
|
|
663
636
|
const { isRowspanPlaceholder } = _class_private_field_get(this, _stateManager).getHeaderSettings(highlight.row, highlight.col) ?? {};
|
|
664
637
|
const normalizedHighlightRow = isRowspanPlaceholder ? _class_private_method_get(this, _findRenderableHeaderRow, findRenderableHeaderRow).call(this, highlight.row, highlight.col) : highlight.row;
|
|
665
638
|
const columnIndex = _class_private_field_get(this, _stateManager).findLeftMostColumnIndex(normalizedHighlightRow, highlight.col);
|
|
@@ -677,9 +650,463 @@ var /**
|
|
|
677
650
|
focusVisualCellRange.to.col = columnIndex;
|
|
678
651
|
focusHighlight.commit();
|
|
679
652
|
}
|
|
653
|
+
}), _class_private_field_set(this, _onBeforeViewportScrollHorizontally, (visualColumn, snapping)=>{
|
|
654
|
+
const selection = this.hot.getSelectedRangeActive();
|
|
655
|
+
if (!selection) {
|
|
656
|
+
return visualColumn;
|
|
657
|
+
}
|
|
658
|
+
const { highlight } = selection;
|
|
659
|
+
const { navigableHeaders } = this.hot.getSettings();
|
|
660
|
+
const isSelectedByColumnHeader = this.hot.selection.isSelectedByColumnHeader();
|
|
661
|
+
const highlightRow = navigableHeaders ? highlight.row : _class_private_field_get(this, _recentlyHighlightCoords)?.row;
|
|
662
|
+
const highlightColumn = isSelectedByColumnHeader ? visualColumn : highlight.col;
|
|
663
|
+
const isNestedHeadersRange = highlightRow !== null && highlightRow !== undefined && highlightColumn !== null && highlightColumn !== undefined && highlightRow < 0 && highlightColumn >= 0;
|
|
664
|
+
_class_private_field_set(this, _recentlyHighlightCoords, null);
|
|
665
|
+
if (!isNestedHeadersRange || highlightRow === null || highlightRow === undefined || highlightColumn === null || highlightColumn === undefined) {
|
|
666
|
+
return visualColumn;
|
|
667
|
+
}
|
|
668
|
+
const firstVisibleColumn = this.hot.getFirstFullyVisibleColumn();
|
|
669
|
+
const lastVisibleColumn = this.hot.getLastFullyVisibleColumn();
|
|
670
|
+
const viewportWidth = lastVisibleColumn - firstVisibleColumn + 1;
|
|
671
|
+
const mostLeftColumnIndex = _class_private_field_get(this, _stateManager).findLeftMostColumnIndex(highlightRow, highlightColumn);
|
|
672
|
+
const mostRightColumnIndex = _class_private_field_get(this, _stateManager).findRightMostColumnIndex(highlightRow, highlightColumn);
|
|
673
|
+
const headerWidth = mostRightColumnIndex - mostLeftColumnIndex + 1;
|
|
674
|
+
if (mostLeftColumnIndex < firstVisibleColumn && mostRightColumnIndex > lastVisibleColumn) {
|
|
675
|
+
return mostLeftColumnIndex;
|
|
676
|
+
}
|
|
677
|
+
if (isSelectedByColumnHeader) {
|
|
678
|
+
let scrollColumnIndex = null;
|
|
679
|
+
if (mostLeftColumnIndex >= firstVisibleColumn && mostRightColumnIndex > lastVisibleColumn) {
|
|
680
|
+
if (headerWidth > viewportWidth) {
|
|
681
|
+
snapping.value = 'start';
|
|
682
|
+
scrollColumnIndex = mostLeftColumnIndex;
|
|
683
|
+
} else {
|
|
684
|
+
snapping.value = 'end';
|
|
685
|
+
scrollColumnIndex = mostRightColumnIndex;
|
|
686
|
+
}
|
|
687
|
+
} else if (mostLeftColumnIndex < firstVisibleColumn && mostRightColumnIndex <= lastVisibleColumn) {
|
|
688
|
+
if (headerWidth > viewportWidth) {
|
|
689
|
+
snapping.value = 'end';
|
|
690
|
+
scrollColumnIndex = mostRightColumnIndex;
|
|
691
|
+
} else {
|
|
692
|
+
snapping.value = 'start';
|
|
693
|
+
scrollColumnIndex = mostLeftColumnIndex;
|
|
694
|
+
}
|
|
695
|
+
}
|
|
696
|
+
return scrollColumnIndex;
|
|
697
|
+
}
|
|
698
|
+
return mostLeftColumnIndex <= firstVisibleColumn ? mostLeftColumnIndex : mostRightColumnIndex;
|
|
699
|
+
}), _class_private_field_set(this, _onBeforeHighlightingColumnHeader, (visualColumn, headerLevel, highlightMeta)=>{
|
|
700
|
+
const headerNodeData = _class_private_field_get(this, _stateManager).getHeaderTreeNodeData(headerLevel, visualColumn);
|
|
701
|
+
if (!headerNodeData) {
|
|
702
|
+
return visualColumn;
|
|
703
|
+
}
|
|
704
|
+
const { columnCursor, selectionType, selectionWidth } = highlightMeta;
|
|
705
|
+
const { isRoot, colspan = 1 } = _class_private_field_get(this, _stateManager).getHeaderSettings(headerLevel, visualColumn) ?? {};
|
|
706
|
+
if (selectionType === HEADER_TYPE) {
|
|
707
|
+
if (!isRoot) {
|
|
708
|
+
return headerNodeData.columnIndex;
|
|
709
|
+
}
|
|
710
|
+
} else if (selectionType === ACTIVE_HEADER_TYPE) {
|
|
711
|
+
if (colspan > selectionWidth - columnCursor || !isRoot) {
|
|
712
|
+
return null;
|
|
713
|
+
}
|
|
714
|
+
}
|
|
715
|
+
return visualColumn;
|
|
716
|
+
}), _class_private_field_set(this, _onBeforeCopy, (data, copyableRanges, { columnHeadersCount })=>{
|
|
717
|
+
if (columnHeadersCount === 0) {
|
|
718
|
+
return;
|
|
719
|
+
}
|
|
720
|
+
for(let rangeIndex = 0; rangeIndex < copyableRanges.length; rangeIndex++){
|
|
721
|
+
const { startRow, startCol, endRow, endCol } = copyableRanges[rangeIndex];
|
|
722
|
+
const rowsCount = endRow - startRow + 1;
|
|
723
|
+
const columnsCount = startCol - endCol + 1;
|
|
724
|
+
if (startRow >= 0 || columnsCount === 1) {
|
|
725
|
+
break;
|
|
726
|
+
}
|
|
727
|
+
for(let column = startCol; column <= endCol; column++){
|
|
728
|
+
for(let row = startRow; row <= endRow; row++){
|
|
729
|
+
const zeroBasedColumnHeaderLevel = rowsCount + row;
|
|
730
|
+
const zeroBasedColumnIndex = column - startCol;
|
|
731
|
+
if (zeroBasedColumnIndex === 0) {
|
|
732
|
+
continue; // eslint-disable-line no-continue
|
|
733
|
+
}
|
|
734
|
+
const isRoot = _class_private_field_get(this, _stateManager).getHeaderTreeNodeData(row, column)?.isRoot;
|
|
735
|
+
if (isRoot === false) {
|
|
736
|
+
data[zeroBasedColumnHeaderLevel][zeroBasedColumnIndex] = '';
|
|
737
|
+
}
|
|
738
|
+
}
|
|
739
|
+
}
|
|
740
|
+
}
|
|
741
|
+
}), _class_private_field_set(this, _onBeforeOnCellMouseDown, (event, coords, TD, controller)=>{
|
|
742
|
+
_class_private_field_set(this, _rowspanHeaderNavigationContextRow, null);
|
|
743
|
+
_class_private_field_set(this, _expectedNextKeyboardHighlightCoords, null);
|
|
744
|
+
const headerNodeData = this._getHeaderTreeNodeDataByCoords(coords);
|
|
745
|
+
if (headerNodeData) {
|
|
746
|
+
controller.column = true;
|
|
747
|
+
}
|
|
748
|
+
}), _class_private_field_set(this, _onAfterOnCellMouseDown, (event, coords)=>{
|
|
749
|
+
if (coords.row === null || coords.col === null) {
|
|
750
|
+
return;
|
|
751
|
+
}
|
|
752
|
+
const narrowedCoords = {
|
|
753
|
+
row: coords.row,
|
|
754
|
+
col: coords.col
|
|
755
|
+
};
|
|
756
|
+
const headerNodeData = this._getHeaderTreeNodeDataByCoords(narrowedCoords);
|
|
757
|
+
if (!headerNodeData) {
|
|
758
|
+
return;
|
|
759
|
+
}
|
|
760
|
+
_class_private_field_set(this, _focusInitialCoords, {
|
|
761
|
+
row: coords.row,
|
|
762
|
+
col: coords.col,
|
|
763
|
+
clone: ()=>coords.clone()
|
|
764
|
+
});
|
|
765
|
+
_class_private_field_set(this, _isColumnsSelectionInProgress, true);
|
|
766
|
+
const { selection } = this.hot;
|
|
767
|
+
const currentSelection = selection.isSelected() ? selection.getSelectedRange().current() : null;
|
|
768
|
+
let columnsToSelect = null;
|
|
769
|
+
const { columnIndex, origColspan } = headerNodeData;
|
|
770
|
+
const allowRightClickSelection = !selection.inInSelection(coords);
|
|
771
|
+
if (event.shiftKey && currentSelection) {
|
|
772
|
+
if ((coords.col ?? 0) < (currentSelection.from.col ?? 0)) {
|
|
773
|
+
columnsToSelect = [
|
|
774
|
+
currentSelection.getTopEndCorner().col ?? 0,
|
|
775
|
+
columnIndex,
|
|
776
|
+
coords.row ?? 0
|
|
777
|
+
];
|
|
778
|
+
} else if ((coords.col ?? 0) > (currentSelection.from.col ?? 0)) {
|
|
779
|
+
columnsToSelect = [
|
|
780
|
+
currentSelection.getTopStartCorner().col ?? 0,
|
|
781
|
+
columnIndex + origColspan - 1,
|
|
782
|
+
coords.row ?? 0
|
|
783
|
+
];
|
|
784
|
+
} else {
|
|
785
|
+
columnsToSelect = [
|
|
786
|
+
columnIndex,
|
|
787
|
+
columnIndex + origColspan - 1,
|
|
788
|
+
coords.row ?? 0
|
|
789
|
+
];
|
|
790
|
+
}
|
|
791
|
+
} else if (isLeftClick(event) || isRightClick(event) && allowRightClickSelection || isTouchEvent(event)) {
|
|
792
|
+
columnsToSelect = [
|
|
793
|
+
columnIndex,
|
|
794
|
+
columnIndex + origColspan - 1,
|
|
795
|
+
coords.row
|
|
796
|
+
];
|
|
797
|
+
}
|
|
798
|
+
if (columnsToSelect !== null) {
|
|
799
|
+
selection.selectColumns(...columnsToSelect);
|
|
800
|
+
}
|
|
801
|
+
}), _class_private_field_set(this, _onBeforeOnCellMouseOver, (event, coords, TD, controller)=>{
|
|
802
|
+
if (!this.hot.view.isMouseDown() || controller.column) {
|
|
803
|
+
return;
|
|
804
|
+
}
|
|
805
|
+
const headerNodeData = this._getHeaderTreeNodeDataByCoords(coords);
|
|
806
|
+
if (!headerNodeData) {
|
|
807
|
+
return;
|
|
808
|
+
}
|
|
809
|
+
const { columnIndex, origColspan } = headerNodeData;
|
|
810
|
+
const selectedRange = this.hot.getSelectedRangeActive();
|
|
811
|
+
if (!selectedRange) {
|
|
812
|
+
return;
|
|
813
|
+
}
|
|
814
|
+
const topStartCoords = selectedRange.getTopStartCorner();
|
|
815
|
+
const bottomEndCoords = selectedRange.getBottomEndCorner();
|
|
816
|
+
const { from } = selectedRange;
|
|
817
|
+
controller.column = true;
|
|
818
|
+
controller.cell = true;
|
|
819
|
+
const headerLevel = clamp(coords.row ?? 0, -Infinity, -1);
|
|
820
|
+
let columnsToSelect;
|
|
821
|
+
if ((coords.col ?? 0) < (from.col ?? 0)) {
|
|
822
|
+
columnsToSelect = [
|
|
823
|
+
bottomEndCoords.col ?? 0,
|
|
824
|
+
columnIndex,
|
|
825
|
+
headerLevel
|
|
826
|
+
];
|
|
827
|
+
} else if ((coords.col ?? 0) > (from.col ?? 0)) {
|
|
828
|
+
columnsToSelect = [
|
|
829
|
+
topStartCoords.col ?? 0,
|
|
830
|
+
columnIndex + origColspan - 1,
|
|
831
|
+
headerLevel
|
|
832
|
+
];
|
|
833
|
+
} else {
|
|
834
|
+
columnsToSelect = [
|
|
835
|
+
columnIndex,
|
|
836
|
+
columnIndex + origColspan - 1,
|
|
837
|
+
headerLevel
|
|
838
|
+
];
|
|
839
|
+
}
|
|
840
|
+
this.hot.selection.selectColumns(...columnsToSelect);
|
|
841
|
+
}), _class_private_field_set(this, _onBeforeOnCellMouseUp, ()=>{
|
|
842
|
+
_class_private_field_set(this, _isColumnsSelectionInProgress, false);
|
|
843
|
+
}), _class_private_field_set(this, _onBeforeSelectionHighlightSet, ()=>{
|
|
844
|
+
const { navigableHeaders } = this.hot.getSettings();
|
|
845
|
+
if (!this.hot.view.isMouseDown() || !_class_private_field_get(this, _isColumnsSelectionInProgress) || !navigableHeaders) {
|
|
846
|
+
return;
|
|
847
|
+
}
|
|
848
|
+
const selectedRange = this.hot.getSelectedRangeLast();
|
|
849
|
+
if (!selectedRange) {
|
|
850
|
+
return;
|
|
851
|
+
}
|
|
852
|
+
const columnStart = selectedRange.getTopStartCorner().col;
|
|
853
|
+
const columnEnd = selectedRange.getBottomEndCorner().col;
|
|
854
|
+
const headerNodeData = _class_private_field_get(this, _stateManager).getHeaderTreeNodeData(_class_private_field_get(this, _focusInitialCoords).row, _class_private_field_get(this, _focusInitialCoords).col);
|
|
855
|
+
if (!headerNodeData) {
|
|
856
|
+
return;
|
|
857
|
+
}
|
|
858
|
+
const { columnIndex, origColspan } = headerNodeData;
|
|
859
|
+
selectedRange.setHighlight(_class_private_field_get(this, _focusInitialCoords));
|
|
860
|
+
if (columnStart !== null && columnEnd !== null && (origColspan > selectedRange.getWidth() || columnIndex < columnStart || columnIndex + origColspan - 1 > columnEnd)) {
|
|
861
|
+
const headerLevel = _class_private_field_get(this, _stateManager).findTopMostEntireHeaderLevel(clamp(columnStart, columnIndex, columnIndex + origColspan - 1), clamp(columnEnd, columnIndex, columnIndex + origColspan - 1));
|
|
862
|
+
selectedRange.highlight.row = headerLevel;
|
|
863
|
+
selectedRange.highlight.col = selectedRange.from.col;
|
|
864
|
+
}
|
|
865
|
+
}), _class_private_field_set(this, _onModifyTransformStart, (delta)=>{
|
|
866
|
+
const activeRange = this.hot.getSelectedRangeActive();
|
|
867
|
+
if (!activeRange) {
|
|
868
|
+
return;
|
|
869
|
+
}
|
|
870
|
+
const { highlight } = activeRange;
|
|
871
|
+
const { row: expectedRow, col: expectedColumn } = _class_private_field_get(this, _expectedNextKeyboardHighlightCoords) ?? {};
|
|
872
|
+
if (Number.isInteger(expectedRow) && Number.isInteger(expectedColumn)) {
|
|
873
|
+
if (highlight.row !== expectedRow || highlight.col !== expectedColumn) {
|
|
874
|
+
_class_private_field_set(this, _rowspanHeaderNavigationContextRow, null);
|
|
875
|
+
}
|
|
876
|
+
}
|
|
877
|
+
const highlightRow = highlight.row ?? 0;
|
|
878
|
+
const highlightCol = highlight.col ?? 0;
|
|
879
|
+
const initialDeltaRow = delta.row;
|
|
880
|
+
const initialDeltaColumn = delta.col;
|
|
881
|
+
let targetColumn = highlightCol + delta.col;
|
|
882
|
+
let targetRow = highlightRow + delta.row;
|
|
883
|
+
if (delta.row !== 0 && targetColumn >= 0) {
|
|
884
|
+
const rowDirection = Math.sign(delta.row);
|
|
885
|
+
const lowestHeaderRow = -1;
|
|
886
|
+
const highestHeaderRow = -this.getLayersCount();
|
|
887
|
+
let adjustedNextRow = targetRow;
|
|
888
|
+
while(adjustedNextRow <= lowestHeaderRow && adjustedNextRow >= highestHeaderRow){
|
|
889
|
+
const { isRowspanPlaceholder } = _class_private_field_get(this, _stateManager).getHeaderSettings(adjustedNextRow, targetColumn) ?? {};
|
|
890
|
+
if (!isRowspanPlaceholder) {
|
|
891
|
+
break;
|
|
892
|
+
}
|
|
893
|
+
adjustedNextRow += rowDirection;
|
|
894
|
+
}
|
|
895
|
+
delta.row = adjustedNextRow - highlightRow;
|
|
896
|
+
targetRow = adjustedNextRow;
|
|
897
|
+
}
|
|
898
|
+
if (initialDeltaRow === 0 && initialDeltaColumn !== 0 && highlightRow < 0) {
|
|
899
|
+
if (_class_private_field_get(this, _rowspanHeaderNavigationContextRow) !== null) {
|
|
900
|
+
const contextTargetColumn = _class_private_method_get(this, _findNearestNavigableHeaderColumn, findNearestNavigableHeaderColumn).call(this, _class_private_field_get(this, _rowspanHeaderNavigationContextRow), targetColumn, Math.sign(initialDeltaColumn));
|
|
901
|
+
if (contextTargetColumn !== null) {
|
|
902
|
+
targetColumn = contextTargetColumn;
|
|
903
|
+
targetRow = _class_private_field_get(this, _rowspanHeaderNavigationContextRow);
|
|
904
|
+
}
|
|
905
|
+
}
|
|
906
|
+
if (targetColumn < 0 && initialDeltaColumn < 0 && _class_private_field_get(this, _rowspanHeaderNavigationContextRow) !== null) {
|
|
907
|
+
targetRow = _class_private_field_get(this, _rowspanHeaderNavigationContextRow);
|
|
908
|
+
}
|
|
909
|
+
const currentHeaderStartColumn = _class_private_field_get(this, _stateManager).findLeftMostColumnIndex(highlightRow, highlightCol);
|
|
910
|
+
const currentHeaderEndColumn = _class_private_field_get(this, _stateManager).findRightMostColumnIndex(highlightRow, highlightCol);
|
|
911
|
+
const { isRowspanPlaceholder: isTargetRowspanPlaceholder } = _class_private_field_get(this, _stateManager).getHeaderSettings(targetRow, targetColumn) ?? {};
|
|
912
|
+
const isTargetInsideCurrentHeader = targetRow === highlightRow && targetColumn >= currentHeaderStartColumn && targetColumn <= currentHeaderEndColumn;
|
|
913
|
+
const shouldKeepLogicalRowForRowspan = targetRow === highlightRow && isTargetRowspanPlaceholder && initialDeltaColumn > 0 && highlightRow < -1;
|
|
914
|
+
if (!isTargetInsideCurrentHeader && !shouldKeepLogicalRowForRowspan) {
|
|
915
|
+
targetRow = _class_private_method_get(this, _findRenderableHeaderRow, findRenderableHeaderRow).call(this, targetRow, targetColumn);
|
|
916
|
+
}
|
|
917
|
+
delta.row = targetRow - highlightRow;
|
|
918
|
+
const targetHeaderRowspan = _class_private_method_get(this, _getRootHeaderRowspan, getRootHeaderRowspan).call(this, targetRow, targetColumn);
|
|
919
|
+
if (targetHeaderRowspan > 1 && !Number.isInteger(_class_private_field_get(this, _rowspanHeaderNavigationContextRow))) {
|
|
920
|
+
_class_private_field_set(this, _rowspanHeaderNavigationContextRow, resolveRowspanNavigationContextRow(highlightRow, targetColumn, -this.getLayersCount(), (headerRow, visualColumn)=>{
|
|
921
|
+
const settings = _class_private_field_get(this, _stateManager).getHeaderSettings(headerRow, visualColumn);
|
|
922
|
+
return settings ? {
|
|
923
|
+
...settings,
|
|
924
|
+
isRowspanPlaceholder: settings.isRowspanPlaceholder ?? false
|
|
925
|
+
} : null;
|
|
926
|
+
}));
|
|
927
|
+
}
|
|
928
|
+
}
|
|
929
|
+
const nextCoords = this.hot._createCellCoords(targetRow, targetColumn);
|
|
930
|
+
const isNestedHeadersRange = nextCoords.isHeader() && (nextCoords.col ?? -1) >= 0;
|
|
931
|
+
if (!isNestedHeadersRange || initialDeltaRow !== 0) {
|
|
932
|
+
_class_private_field_set(this, _rowspanHeaderNavigationContextRow, null);
|
|
933
|
+
}
|
|
934
|
+
if (isNestedHeadersRange && highlight.row !== null && highlight.col !== null && nextCoords.row !== null && nextCoords.col !== null) {
|
|
935
|
+
const { isRowspanPlaceholder: isCurrentHeaderRowspanPlaceholderForBounds } = _class_private_field_get(this, _stateManager).getHeaderSettings(highlight.row, highlight.col) ?? {};
|
|
936
|
+
const { isRowspanPlaceholder: isNextHeaderRowspanPlaceholderForBounds } = _class_private_field_get(this, _stateManager).getHeaderSettings(nextCoords.row, nextCoords.col) ?? {};
|
|
937
|
+
let visualColumnIndexStart = _class_private_field_get(this, _stateManager).findLeftMostColumnIndex(nextCoords.row, nextCoords.col);
|
|
938
|
+
let visualColumnIndexEnd = _class_private_field_get(this, _stateManager).findRightMostColumnIndex(nextCoords.row, nextCoords.col);
|
|
939
|
+
if (isNextHeaderRowspanPlaceholderForBounds) {
|
|
940
|
+
const renderableNextHeaderRow = _class_private_method_get(this, _findRenderableHeaderRow, findRenderableHeaderRow).call(this, nextCoords.row, nextCoords.col);
|
|
941
|
+
visualColumnIndexStart = _class_private_field_get(this, _stateManager).findLeftMostColumnIndex(renderableNextHeaderRow, nextCoords.col);
|
|
942
|
+
visualColumnIndexEnd = _class_private_field_get(this, _stateManager).findRightMostColumnIndex(renderableNextHeaderRow, nextCoords.col);
|
|
943
|
+
}
|
|
944
|
+
if (isCurrentHeaderRowspanPlaceholderForBounds) {
|
|
945
|
+
const renderableCurrentHeaderRow = _class_private_method_get(this, _findRenderableHeaderRow, findRenderableHeaderRow).call(this, highlight.row, highlight.col);
|
|
946
|
+
visualColumnIndexStart = _class_private_field_get(this, _stateManager).findLeftMostColumnIndex(renderableCurrentHeaderRow, highlight.col);
|
|
947
|
+
visualColumnIndexEnd = _class_private_field_get(this, _stateManager).findRightMostColumnIndex(renderableCurrentHeaderRow, highlight.col);
|
|
948
|
+
if (initialDeltaColumn < 0) {
|
|
949
|
+
visualColumnIndexStart = Math.max(visualColumnIndexStart, Math.min(highlight.col, nextCoords.col));
|
|
950
|
+
} else if (initialDeltaColumn > 0) {
|
|
951
|
+
visualColumnIndexEnd = Math.min(visualColumnIndexEnd, Math.max(highlight.col, nextCoords.col));
|
|
952
|
+
}
|
|
953
|
+
}
|
|
954
|
+
if (delta.col < 0) {
|
|
955
|
+
const nextColumn = highlight.col >= visualColumnIndexStart && highlight.col <= visualColumnIndexEnd ? visualColumnIndexStart - 1 : visualColumnIndexEnd;
|
|
956
|
+
const notHiddenColumnIndex = this.hot.columnIndexMapper.getNearestNotHiddenIndex(nextColumn, -1);
|
|
957
|
+
if (notHiddenColumnIndex === null) {
|
|
958
|
+
// There are no visible columns anymore, so move the selection out of the table edge. This will
|
|
959
|
+
// be processed by the selection Transformer class as a move selection to the previous row (if autoWrapRow is enabled).
|
|
960
|
+
delta.col = -this.hot.view.countRenderableColumnsInRange(0, highlight.col);
|
|
961
|
+
} else {
|
|
962
|
+
delta.col = -Math.max(this.hot.view.countRenderableColumnsInRange(notHiddenColumnIndex, highlight.col) - 1, 1);
|
|
963
|
+
}
|
|
964
|
+
} else if (delta.col > 0) {
|
|
965
|
+
const nextColumn = highlight.col >= visualColumnIndexStart && highlight.col <= visualColumnIndexEnd ? visualColumnIndexEnd + 1 : visualColumnIndexStart;
|
|
966
|
+
const notHiddenColumnIndex = this.hot.columnIndexMapper.getNearestNotHiddenIndex(nextColumn, 1);
|
|
967
|
+
if (notHiddenColumnIndex === null) {
|
|
968
|
+
// There are no visible columns anymore, so move the selection out of the table edge. This will
|
|
969
|
+
// be processed by the selection Transformer class as a move selection to the next row (if autoWrapRow is enabled).
|
|
970
|
+
delta.col = this.hot.view.countRenderableColumnsInRange(highlight.col, this.hot.countCols());
|
|
971
|
+
if (isCurrentHeaderRowspanPlaceholderForBounds) {
|
|
972
|
+
delta.col += 1;
|
|
973
|
+
if (highlight.row < -1) {
|
|
974
|
+
delta.row = 1;
|
|
975
|
+
delta.col = -(highlight.col + 1);
|
|
976
|
+
}
|
|
977
|
+
}
|
|
978
|
+
} else {
|
|
979
|
+
delta.col = Math.max(this.hot.view.countRenderableColumnsInRange(highlight.col, notHiddenColumnIndex) - 1, 1);
|
|
980
|
+
}
|
|
981
|
+
}
|
|
982
|
+
}
|
|
983
|
+
_class_private_field_set(this, _expectedNextKeyboardHighlightCoords, {
|
|
984
|
+
row: highlightRow + delta.row,
|
|
985
|
+
col: highlightCol + delta.col
|
|
986
|
+
});
|
|
987
|
+
}), _class_private_field_set(this, _onBeforeSelectColumns, (from, to, highlight)=>{
|
|
988
|
+
const headerLevel = from.row;
|
|
989
|
+
const startNodeData = this._getHeaderTreeNodeDataByCoords({
|
|
990
|
+
row: headerLevel,
|
|
991
|
+
col: from.col
|
|
992
|
+
});
|
|
993
|
+
const endNodeData = this._getHeaderTreeNodeDataByCoords({
|
|
994
|
+
row: headerLevel,
|
|
995
|
+
col: to.col
|
|
996
|
+
});
|
|
997
|
+
_class_private_field_set(this, _recentlyHighlightCoords, highlight.clone());
|
|
998
|
+
if (to.col < from.col) {
|
|
999
|
+
if (startNodeData) {
|
|
1000
|
+
from.col = startNodeData.columnIndex + startNodeData.origColspan - 1;
|
|
1001
|
+
}
|
|
1002
|
+
if (endNodeData) {
|
|
1003
|
+
to.col = endNodeData.columnIndex;
|
|
1004
|
+
}
|
|
1005
|
+
} else if (to.col >= from.col) {
|
|
1006
|
+
if (startNodeData) {
|
|
1007
|
+
from.col = startNodeData.columnIndex;
|
|
1008
|
+
}
|
|
1009
|
+
if (endNodeData) {
|
|
1010
|
+
to.col = endNodeData.columnIndex + endNodeData.origColspan - 1;
|
|
1011
|
+
}
|
|
1012
|
+
}
|
|
1013
|
+
}), _class_private_field_set(this, _onAfterGetColumnHeaderRenderers, (renderersArray)=>{
|
|
1014
|
+
if (_class_private_field_get(this, _stateManager).getLayersCount() > 0) {
|
|
1015
|
+
renderersArray.length = 0;
|
|
1016
|
+
for(let headerLayer = 0; headerLayer < _class_private_field_get(this, _stateManager).getLayersCount(); headerLayer++){
|
|
1017
|
+
renderersArray.push(this.headerRendererFactory(headerLayer));
|
|
1018
|
+
}
|
|
1019
|
+
}
|
|
1020
|
+
}), _class_private_field_set(this, _onAfterViewportColumnCalculatorOverride, (calc)=>{
|
|
1021
|
+
const headerLayersCount = _class_private_field_get(this, _stateManager).getLayersCount();
|
|
1022
|
+
let newStartColumn = calc.startColumn;
|
|
1023
|
+
let nonRenderable = !!headerLayersCount;
|
|
1024
|
+
for(let headerLayer = 0; headerLayer < headerLayersCount; headerLayer++){
|
|
1025
|
+
const startColumn = _class_private_field_get(this, _stateManager).findLeftMostColumnIndex(headerLayer, calc.startColumn);
|
|
1026
|
+
const renderedStartColumn = this.hot.columnIndexMapper.getRenderableFromVisualIndex(startColumn);
|
|
1027
|
+
if (startColumn >= 0) {
|
|
1028
|
+
nonRenderable = false;
|
|
1029
|
+
}
|
|
1030
|
+
if (isNumeric(renderedStartColumn) && renderedStartColumn !== null && renderedStartColumn < calc.startColumn) {
|
|
1031
|
+
newStartColumn = renderedStartColumn;
|
|
1032
|
+
break;
|
|
1033
|
+
}
|
|
1034
|
+
}
|
|
1035
|
+
calc.startColumn = nonRenderable ? _class_private_field_get(this, _stateManager).getHeaderTreeNodeData(0, newStartColumn)?.columnIndex ?? newStartColumn : newStartColumn;
|
|
1036
|
+
}), _class_private_field_set(this, _onModifyColWidth, (width, column)=>{
|
|
1037
|
+
if (this.hot.getSettings().autoColumnSize === false) {
|
|
1038
|
+
return width;
|
|
1039
|
+
}
|
|
1040
|
+
const cachedWidth = this.ghostTable.getWidth(column) ?? 0;
|
|
1041
|
+
return width > cachedWidth ? width : cachedWidth;
|
|
1042
|
+
}), _class_private_field_set(this, _onModifyColumnHeaderHeight, ()=>{
|
|
1043
|
+
if (!_class_private_field_get(this, _hasRowspanHeaders)) {
|
|
1044
|
+
return;
|
|
1045
|
+
}
|
|
1046
|
+
const computedStyle = this.hot.rootWindow.getComputedStyle(this.hot.rootElement);
|
|
1047
|
+
const cellVerticalPadding = Number.parseFloat(computedStyle.getPropertyValue('--ht-cell-vertical-padding'));
|
|
1048
|
+
const lineHeight = Number.parseFloat(computedStyle.getPropertyValue('--ht-line-height'));
|
|
1049
|
+
const baseHeaderHeight = Math.round(cellVerticalPadding * 2 + lineHeight + 1);
|
|
1050
|
+
if (!Number.isFinite(baseHeaderHeight)) {
|
|
1051
|
+
return;
|
|
1052
|
+
}
|
|
1053
|
+
return new Array(this.getLayersCount()).fill(baseHeaderHeight);
|
|
1054
|
+
}), _class_private_field_set(this, _onModifyColumnHeaderValue, (value, visualColumnIndex, headerLevel)=>{
|
|
1055
|
+
const { label } = _class_private_field_get(this, _stateManager).getHeaderTreeNodeData(headerLevel, visualColumnIndex) ?? {
|
|
1056
|
+
label: ''
|
|
1057
|
+
};
|
|
1058
|
+
return label;
|
|
1059
|
+
}), _class_private_field_set(this, _onModifyFocusedElement, (row, column)=>{
|
|
1060
|
+
if (row < 0) {
|
|
1061
|
+
return this.hot.getCell(row, _class_private_field_get(this, _stateManager).findLeftMostColumnIndex(row, column), true) ?? undefined;
|
|
1062
|
+
}
|
|
1063
|
+
}), _class_private_field_set(this, _onInit, ()=>{
|
|
1064
|
+
this.updatePlugin();
|
|
1065
|
+
}), _class_private_field_set(this, _onAfterLoadData, (sourceData, initialLoad)=>{
|
|
1066
|
+
if (!initialLoad) {
|
|
1067
|
+
this.updatePlugin();
|
|
1068
|
+
}
|
|
1069
|
+
}), _class_private_field_set(this, _onAfterCreateCol, (visualColumnIndex, amount)=>{
|
|
1070
|
+
_class_private_field_get(this, _stateManager).insertColumns(visualColumnIndex, amount);
|
|
1071
|
+
_class_private_field_set(this, _updateWidthsMap, true);
|
|
1072
|
+
}), _class_private_field_set(this, _onAfterRemoveCol, (visualColumnIndex, amount)=>{
|
|
1073
|
+
_class_private_field_get(this, _stateManager).removeColumns(visualColumnIndex, amount);
|
|
1074
|
+
_class_private_field_set(this, _updateWidthsMap, true);
|
|
1075
|
+
}), _class_private_field_set(this, _onBeforeViewRender, ()=>{
|
|
1076
|
+
if (_class_private_field_get(this, _updateWidthsMap)) {
|
|
1077
|
+
this.ghostTable.setLayersCount(this.getLayersCount()).buildWidthsMap();
|
|
1078
|
+
_class_private_field_set(this, _updateWidthsMap, false);
|
|
1079
|
+
}
|
|
680
1080
|
});
|
|
681
1081
|
}
|
|
682
1082
|
}
|
|
1083
|
+
function applyColspan(TH, colspan, visualColumnIndex, renderedColumnIndex, fixedColumnsStart) {
|
|
1084
|
+
if (colspan === undefined || colspan <= 1) {
|
|
1085
|
+
return;
|
|
1086
|
+
}
|
|
1087
|
+
const { wtOverlays } = this.hot.view._wt;
|
|
1088
|
+
const isTopInlineStartOverlay = wtOverlays.topInlineStartCornerOverlay?.clone?.wtTable.THEAD?.contains(TH);
|
|
1089
|
+
const isInlineStartOverlay = wtOverlays.inlineStartOverlay?.clone?.wtTable.THEAD?.contains(TH);
|
|
1090
|
+
const isTopOverlay = wtOverlays.topOverlay?.clone?.wtTable.THEAD?.contains(TH);
|
|
1091
|
+
if (isTopOverlay && visualColumnIndex < fixedColumnsStart) {
|
|
1092
|
+
addClass(TH, 'hiddenHeaderText');
|
|
1093
|
+
}
|
|
1094
|
+
const correctedColspan = isTopInlineStartOverlay || isInlineStartOverlay ? Math.min(colspan, fixedColumnsStart - renderedColumnIndex) : colspan;
|
|
1095
|
+
if (correctedColspan > 1) {
|
|
1096
|
+
TH.setAttribute('colspan', String(correctedColspan));
|
|
1097
|
+
}
|
|
1098
|
+
}
|
|
1099
|
+
function applyRowspan(TH, rowspan, headerLevel) {
|
|
1100
|
+
if (rowspan === undefined || rowspan <= 1) {
|
|
1101
|
+
return;
|
|
1102
|
+
}
|
|
1103
|
+
const isBottomMostRowspanHeader = headerLevel + rowspan === this.getLayersCount();
|
|
1104
|
+
addClass(TH, 'htRowspanHeader');
|
|
1105
|
+
if (isBottomMostRowspanHeader) {
|
|
1106
|
+
addClass(TH, 'htRowspanBottomLevel');
|
|
1107
|
+
}
|
|
1108
|
+
TH.setAttribute('rowspan', String(rowspan));
|
|
1109
|
+
}
|
|
683
1110
|
function findRenderableHeaderRow(headerRow, visualColumnIndex) {
|
|
684
1111
|
const highestHeaderRow = -this.getLayersCount();
|
|
685
1112
|
for(let row = headerRow; row >= highestHeaderRow; row--){
|
|
@@ -720,396 +1147,3 @@ function findNearestNavigableHeaderColumn(headerRow, visualColumnIndex, directio
|
|
|
720
1147
|
}
|
|
721
1148
|
return null;
|
|
722
1149
|
}
|
|
723
|
-
function onBeforeViewportScrollHorizontally(visualColumn, snapping) {
|
|
724
|
-
const selection = this.hot.getSelectedRangeActive();
|
|
725
|
-
if (!selection) {
|
|
726
|
-
return visualColumn;
|
|
727
|
-
}
|
|
728
|
-
const { highlight } = selection;
|
|
729
|
-
const { navigableHeaders } = this.hot.getSettings();
|
|
730
|
-
const isSelectedByColumnHeader = this.hot.selection.isSelectedByColumnHeader();
|
|
731
|
-
const highlightRow = navigableHeaders ? highlight.row : _class_private_field_get(this, _recentlyHighlightCoords)?.row;
|
|
732
|
-
const highlightColumn = isSelectedByColumnHeader ? visualColumn : highlight.col;
|
|
733
|
-
const isNestedHeadersRange = highlightRow < 0 && highlightColumn >= 0;
|
|
734
|
-
_class_private_field_set(this, _recentlyHighlightCoords, null);
|
|
735
|
-
if (!isNestedHeadersRange) {
|
|
736
|
-
return visualColumn;
|
|
737
|
-
}
|
|
738
|
-
const firstVisibleColumn = this.hot.getFirstFullyVisibleColumn();
|
|
739
|
-
const lastVisibleColumn = this.hot.getLastFullyVisibleColumn();
|
|
740
|
-
const viewportWidth = lastVisibleColumn - firstVisibleColumn + 1;
|
|
741
|
-
const mostLeftColumnIndex = _class_private_field_get(this, _stateManager).findLeftMostColumnIndex(highlightRow, highlightColumn);
|
|
742
|
-
const mostRightColumnIndex = _class_private_field_get(this, _stateManager).findRightMostColumnIndex(highlightRow, highlightColumn);
|
|
743
|
-
const headerWidth = mostRightColumnIndex - mostLeftColumnIndex + 1;
|
|
744
|
-
// scroll the viewport always to the left when the header is wider than the viewport
|
|
745
|
-
if (mostLeftColumnIndex < firstVisibleColumn && mostRightColumnIndex > lastVisibleColumn) {
|
|
746
|
-
return mostLeftColumnIndex;
|
|
747
|
-
}
|
|
748
|
-
if (isSelectedByColumnHeader) {
|
|
749
|
-
let scrollColumnIndex = null;
|
|
750
|
-
if (mostLeftColumnIndex >= firstVisibleColumn && mostRightColumnIndex > lastVisibleColumn) {
|
|
751
|
-
if (headerWidth > viewportWidth) {
|
|
752
|
-
snapping.value = 'start';
|
|
753
|
-
scrollColumnIndex = mostLeftColumnIndex;
|
|
754
|
-
} else {
|
|
755
|
-
snapping.value = 'end';
|
|
756
|
-
scrollColumnIndex = mostRightColumnIndex;
|
|
757
|
-
}
|
|
758
|
-
} else if (mostLeftColumnIndex < firstVisibleColumn && mostRightColumnIndex <= lastVisibleColumn) {
|
|
759
|
-
if (headerWidth > viewportWidth) {
|
|
760
|
-
snapping.value = 'end';
|
|
761
|
-
scrollColumnIndex = mostRightColumnIndex;
|
|
762
|
-
} else {
|
|
763
|
-
snapping.value = 'start';
|
|
764
|
-
scrollColumnIndex = mostLeftColumnIndex;
|
|
765
|
-
}
|
|
766
|
-
}
|
|
767
|
-
return scrollColumnIndex;
|
|
768
|
-
}
|
|
769
|
-
return mostLeftColumnIndex <= firstVisibleColumn ? mostLeftColumnIndex : mostRightColumnIndex;
|
|
770
|
-
}
|
|
771
|
-
function onBeforeHighlightingColumnHeader(visualColumn, headerLevel, highlightMeta) {
|
|
772
|
-
const headerNodeData = _class_private_field_get(this, _stateManager).getHeaderTreeNodeData(headerLevel, visualColumn);
|
|
773
|
-
if (!headerNodeData) {
|
|
774
|
-
return visualColumn;
|
|
775
|
-
}
|
|
776
|
-
const { columnCursor, selectionType, selectionWidth } = highlightMeta;
|
|
777
|
-
const { isRoot, colspan } = _class_private_field_get(this, _stateManager).getHeaderSettings(headerLevel, visualColumn);
|
|
778
|
-
if (selectionType === HEADER_TYPE) {
|
|
779
|
-
if (!isRoot) {
|
|
780
|
-
return headerNodeData.columnIndex;
|
|
781
|
-
}
|
|
782
|
-
} else if (selectionType === ACTIVE_HEADER_TYPE) {
|
|
783
|
-
if (colspan > selectionWidth - columnCursor || !isRoot) {
|
|
784
|
-
// Prevents adding any CSS class names to the TH element
|
|
785
|
-
return null;
|
|
786
|
-
}
|
|
787
|
-
}
|
|
788
|
-
return visualColumn;
|
|
789
|
-
}
|
|
790
|
-
function onBeforeCopy(data, copyableRanges, { columnHeadersCount }) {
|
|
791
|
-
if (columnHeadersCount === 0) {
|
|
792
|
-
return;
|
|
793
|
-
}
|
|
794
|
-
for(let rangeIndex = 0; rangeIndex < copyableRanges.length; rangeIndex++){
|
|
795
|
-
const { startRow, startCol, endRow, endCol } = copyableRanges[rangeIndex];
|
|
796
|
-
const rowsCount = endRow - startRow + 1;
|
|
797
|
-
const columnsCount = startCol - endCol + 1;
|
|
798
|
-
// do not process dataset ranges and column headers where only one column is copied
|
|
799
|
-
if (startRow >= 0 || columnsCount === 1) {
|
|
800
|
-
break;
|
|
801
|
-
}
|
|
802
|
-
for(let column = startCol; column <= endCol; column++){
|
|
803
|
-
for(let row = startRow; row <= endRow; row++){
|
|
804
|
-
const zeroBasedColumnHeaderLevel = rowsCount + row;
|
|
805
|
-
const zeroBasedColumnIndex = column - startCol;
|
|
806
|
-
if (zeroBasedColumnIndex === 0) {
|
|
807
|
-
continue; // eslint-disable-line no-continue
|
|
808
|
-
}
|
|
809
|
-
const isRoot = _class_private_field_get(this, _stateManager).getHeaderTreeNodeData(row, column)?.isRoot;
|
|
810
|
-
if (isRoot === false) {
|
|
811
|
-
data[zeroBasedColumnHeaderLevel][zeroBasedColumnIndex] = '';
|
|
812
|
-
}
|
|
813
|
-
}
|
|
814
|
-
}
|
|
815
|
-
}
|
|
816
|
-
}
|
|
817
|
-
function onBeforeOnCellMouseDown(event, coords, TD, controller) {
|
|
818
|
-
_class_private_field_set(this, _rowspanHeaderNavigationContextRow, null);
|
|
819
|
-
_class_private_field_set(this, _expectedNextKeyboardHighlightCoords, null);
|
|
820
|
-
const headerNodeData = this._getHeaderTreeNodeDataByCoords(coords);
|
|
821
|
-
if (headerNodeData) {
|
|
822
|
-
// Block the Selection module in controlling how the columns are selected. Pass the
|
|
823
|
-
// responsibility of the column selection to this plugin (see "onAfterOnCellMouseDown" hook).
|
|
824
|
-
controller.column = true;
|
|
825
|
-
}
|
|
826
|
-
}
|
|
827
|
-
function onAfterOnCellMouseDown(event, coords) {
|
|
828
|
-
const headerNodeData = this._getHeaderTreeNodeDataByCoords(coords);
|
|
829
|
-
if (!headerNodeData) {
|
|
830
|
-
return;
|
|
831
|
-
}
|
|
832
|
-
_class_private_field_set(this, _focusInitialCoords, coords.clone());
|
|
833
|
-
_class_private_field_set(this, _isColumnsSelectionInProgress, true);
|
|
834
|
-
const { selection } = this.hot;
|
|
835
|
-
const currentSelection = selection.isSelected() ? selection.getSelectedRange().current() : null;
|
|
836
|
-
const columnsToSelect = [];
|
|
837
|
-
const { columnIndex, origColspan } = headerNodeData;
|
|
838
|
-
// The Selection module doesn't allow it to extend its behavior easily. That's why here we need
|
|
839
|
-
// to re-implement the "click" and "shift" behavior. As a workaround, the logic for the nested
|
|
840
|
-
// headers must implement a similar logic as in the original Selection handler
|
|
841
|
-
// (see src/selection/mouseEventHandler.js).
|
|
842
|
-
const allowRightClickSelection = !selection.inInSelection(coords);
|
|
843
|
-
if (event.shiftKey && currentSelection) {
|
|
844
|
-
if (coords.col < currentSelection.from.col) {
|
|
845
|
-
columnsToSelect.push(currentSelection.getTopEndCorner().col, columnIndex, coords.row);
|
|
846
|
-
} else if (coords.col > currentSelection.from.col) {
|
|
847
|
-
columnsToSelect.push(currentSelection.getTopStartCorner().col, columnIndex + origColspan - 1, coords.row);
|
|
848
|
-
} else {
|
|
849
|
-
columnsToSelect.push(columnIndex, columnIndex + origColspan - 1, coords.row);
|
|
850
|
-
}
|
|
851
|
-
} else if (isLeftClick(event) || isRightClick(event) && allowRightClickSelection || isTouchEvent(event)) {
|
|
852
|
-
columnsToSelect.push(columnIndex, columnIndex + origColspan - 1, coords.row);
|
|
853
|
-
}
|
|
854
|
-
// The plugin takes control of how the columns are selected.
|
|
855
|
-
selection.selectColumns(...columnsToSelect);
|
|
856
|
-
}
|
|
857
|
-
function onBeforeOnCellMouseOver(event, coords, TD, controller) {
|
|
858
|
-
if (!this.hot.view.isMouseDown() || controller.column) {
|
|
859
|
-
return;
|
|
860
|
-
}
|
|
861
|
-
const headerNodeData = this._getHeaderTreeNodeDataByCoords(coords);
|
|
862
|
-
if (!headerNodeData) {
|
|
863
|
-
return;
|
|
864
|
-
}
|
|
865
|
-
const { columnIndex, origColspan } = headerNodeData;
|
|
866
|
-
const selectedRange = this.hot.getSelectedRangeActive();
|
|
867
|
-
const topStartCoords = selectedRange.getTopStartCorner();
|
|
868
|
-
const bottomEndCoords = selectedRange.getBottomEndCorner();
|
|
869
|
-
const { from } = selectedRange;
|
|
870
|
-
// Block the Selection module in controlling how the columns and cells are selected.
|
|
871
|
-
// From now on, the plugin is responsible for the selection.
|
|
872
|
-
controller.column = true;
|
|
873
|
-
controller.cell = true;
|
|
874
|
-
const columnsToSelect = [];
|
|
875
|
-
const headerLevel = clamp(coords.row, -Infinity, -1);
|
|
876
|
-
if (coords.col < from.col) {
|
|
877
|
-
columnsToSelect.push(bottomEndCoords.col, columnIndex, headerLevel);
|
|
878
|
-
} else if (coords.col > from.col) {
|
|
879
|
-
columnsToSelect.push(topStartCoords.col, columnIndex + origColspan - 1, headerLevel);
|
|
880
|
-
} else {
|
|
881
|
-
columnsToSelect.push(columnIndex, columnIndex + origColspan - 1, headerLevel);
|
|
882
|
-
}
|
|
883
|
-
this.hot.selection.selectColumns(...columnsToSelect);
|
|
884
|
-
}
|
|
885
|
-
function onBeforeOnCellMouseUp() {
|
|
886
|
-
_class_private_field_set(this, _isColumnsSelectionInProgress, false);
|
|
887
|
-
}
|
|
888
|
-
function onBeforeSelectionHighlightSet() {
|
|
889
|
-
const { navigableHeaders } = this.hot.getSettings();
|
|
890
|
-
if (!this.hot.view.isMouseDown() || !_class_private_field_get(this, _isColumnsSelectionInProgress) || !navigableHeaders) {
|
|
891
|
-
return;
|
|
892
|
-
}
|
|
893
|
-
const selectedRange = this.hot.getSelectedRangeLast();
|
|
894
|
-
const columnStart = selectedRange.getTopStartCorner().col;
|
|
895
|
-
const columnEnd = selectedRange.getBottomEndCorner().col;
|
|
896
|
-
const { columnIndex, origColspan } = _class_private_field_get(this, _stateManager).getHeaderTreeNodeData(_class_private_field_get(this, _focusInitialCoords).row, _class_private_field_get(this, _focusInitialCoords).col);
|
|
897
|
-
selectedRange.setHighlight(_class_private_field_get(this, _focusInitialCoords));
|
|
898
|
-
if (origColspan > selectedRange.getWidth() || columnIndex < columnStart || columnIndex + origColspan - 1 > columnEnd) {
|
|
899
|
-
const headerLevel = _class_private_field_get(this, _stateManager).findTopMostEntireHeaderLevel(clamp(columnStart, columnIndex, columnIndex + origColspan - 1), clamp(columnEnd, columnIndex, columnIndex + origColspan - 1));
|
|
900
|
-
selectedRange.highlight.row = headerLevel;
|
|
901
|
-
selectedRange.highlight.col = selectedRange.from.col;
|
|
902
|
-
}
|
|
903
|
-
}
|
|
904
|
-
function onModifyTransformStart(delta) {
|
|
905
|
-
const { highlight } = this.hot.getSelectedRangeActive();
|
|
906
|
-
const { row: expectedRow, col: expectedColumn } = _class_private_field_get(this, _expectedNextKeyboardHighlightCoords) ?? {};
|
|
907
|
-
if (Number.isInteger(expectedRow) && Number.isInteger(expectedColumn)) {
|
|
908
|
-
if (highlight.row !== expectedRow || highlight.col !== expectedColumn) {
|
|
909
|
-
_class_private_field_set(this, _rowspanHeaderNavigationContextRow, null);
|
|
910
|
-
}
|
|
911
|
-
}
|
|
912
|
-
const initialDeltaRow = delta.row;
|
|
913
|
-
const initialDeltaColumn = delta.col;
|
|
914
|
-
let targetColumn = highlight.col + delta.col;
|
|
915
|
-
let targetRow = highlight.row + delta.row;
|
|
916
|
-
if (delta.row !== 0 && targetColumn >= 0) {
|
|
917
|
-
const rowDirection = Math.sign(delta.row);
|
|
918
|
-
const lowestHeaderRow = -1;
|
|
919
|
-
const highestHeaderRow = -this.getLayersCount();
|
|
920
|
-
let adjustedNextRow = targetRow;
|
|
921
|
-
while(adjustedNextRow <= lowestHeaderRow && adjustedNextRow >= highestHeaderRow){
|
|
922
|
-
const { isRowspanPlaceholder } = _class_private_field_get(this, _stateManager).getHeaderSettings(adjustedNextRow, targetColumn) ?? {};
|
|
923
|
-
if (!isRowspanPlaceholder) {
|
|
924
|
-
break;
|
|
925
|
-
}
|
|
926
|
-
adjustedNextRow += rowDirection;
|
|
927
|
-
}
|
|
928
|
-
delta.row = adjustedNextRow - highlight.row;
|
|
929
|
-
targetRow = adjustedNextRow;
|
|
930
|
-
}
|
|
931
|
-
if (initialDeltaRow === 0 && initialDeltaColumn !== 0 && highlight.row < 0) {
|
|
932
|
-
if (Number.isInteger(_class_private_field_get(this, _rowspanHeaderNavigationContextRow))) {
|
|
933
|
-
const contextTargetColumn = _class_private_method_get(this, _findNearestNavigableHeaderColumn, findNearestNavigableHeaderColumn).call(this, _class_private_field_get(this, _rowspanHeaderNavigationContextRow), targetColumn, Math.sign(initialDeltaColumn));
|
|
934
|
-
if (contextTargetColumn !== null) {
|
|
935
|
-
targetColumn = contextTargetColumn;
|
|
936
|
-
targetRow = _class_private_field_get(this, _rowspanHeaderNavigationContextRow);
|
|
937
|
-
}
|
|
938
|
-
}
|
|
939
|
-
if (targetColumn < 0 && initialDeltaColumn < 0 && Number.isInteger(_class_private_field_get(this, _rowspanHeaderNavigationContextRow))) {
|
|
940
|
-
targetRow = _class_private_field_get(this, _rowspanHeaderNavigationContextRow);
|
|
941
|
-
}
|
|
942
|
-
const currentHeaderStartColumn = _class_private_field_get(this, _stateManager).findLeftMostColumnIndex(highlight.row, highlight.col);
|
|
943
|
-
const currentHeaderEndColumn = _class_private_field_get(this, _stateManager).findRightMostColumnIndex(highlight.row, highlight.col);
|
|
944
|
-
const { isRowspanPlaceholder: isTargetRowspanPlaceholder } = _class_private_field_get(this, _stateManager).getHeaderSettings(targetRow, targetColumn) ?? {};
|
|
945
|
-
const isTargetInsideCurrentHeader = targetRow === highlight.row && targetColumn >= currentHeaderStartColumn && targetColumn <= currentHeaderEndColumn;
|
|
946
|
-
const shouldKeepLogicalRowForRowspan = targetRow === highlight.row && isTargetRowspanPlaceholder && initialDeltaColumn > 0 && highlight.row < -1;
|
|
947
|
-
if (!isTargetInsideCurrentHeader && !shouldKeepLogicalRowForRowspan) {
|
|
948
|
-
targetRow = _class_private_method_get(this, _findRenderableHeaderRow, findRenderableHeaderRow).call(this, targetRow, targetColumn);
|
|
949
|
-
}
|
|
950
|
-
delta.row = targetRow - highlight.row;
|
|
951
|
-
const targetHeaderRowspan = _class_private_method_get(this, _getRootHeaderRowspan, getRootHeaderRowspan).call(this, targetRow, targetColumn);
|
|
952
|
-
if (targetHeaderRowspan > 1 && !Number.isInteger(_class_private_field_get(this, _rowspanHeaderNavigationContextRow))) {
|
|
953
|
-
_class_private_field_set(this, _rowspanHeaderNavigationContextRow, resolveRowspanNavigationContextRow(highlight.row, targetColumn, -this.getLayersCount(), (headerRow, visualColumn)=>_class_private_field_get(this, _stateManager).getHeaderSettings(headerRow, visualColumn)));
|
|
954
|
-
}
|
|
955
|
-
}
|
|
956
|
-
const nextCoords = this.hot._createCellCoords(targetRow, targetColumn);
|
|
957
|
-
const isNestedHeadersRange = nextCoords.isHeader() && nextCoords.col >= 0;
|
|
958
|
-
if (!isNestedHeadersRange || initialDeltaRow !== 0) {
|
|
959
|
-
_class_private_field_set(this, _rowspanHeaderNavigationContextRow, null);
|
|
960
|
-
}
|
|
961
|
-
if (isNestedHeadersRange) {
|
|
962
|
-
const { isRowspanPlaceholder: isCurrentHeaderRowspanPlaceholderForBounds } = _class_private_field_get(this, _stateManager).getHeaderSettings(highlight.row, highlight.col) ?? {};
|
|
963
|
-
const { isRowspanPlaceholder: isNextHeaderRowspanPlaceholderForBounds } = _class_private_field_get(this, _stateManager).getHeaderSettings(nextCoords.row, nextCoords.col) ?? {};
|
|
964
|
-
let visualColumnIndexStart = _class_private_field_get(this, _stateManager).findLeftMostColumnIndex(nextCoords.row, nextCoords.col);
|
|
965
|
-
let visualColumnIndexEnd = _class_private_field_get(this, _stateManager).findRightMostColumnIndex(nextCoords.row, nextCoords.col);
|
|
966
|
-
if (isNextHeaderRowspanPlaceholderForBounds) {
|
|
967
|
-
const renderableNextHeaderRow = _class_private_method_get(this, _findRenderableHeaderRow, findRenderableHeaderRow).call(this, nextCoords.row, nextCoords.col);
|
|
968
|
-
visualColumnIndexStart = _class_private_field_get(this, _stateManager).findLeftMostColumnIndex(renderableNextHeaderRow, nextCoords.col);
|
|
969
|
-
visualColumnIndexEnd = _class_private_field_get(this, _stateManager).findRightMostColumnIndex(renderableNextHeaderRow, nextCoords.col);
|
|
970
|
-
}
|
|
971
|
-
if (isCurrentHeaderRowspanPlaceholderForBounds) {
|
|
972
|
-
const renderableCurrentHeaderRow = _class_private_method_get(this, _findRenderableHeaderRow, findRenderableHeaderRow).call(this, highlight.row, highlight.col);
|
|
973
|
-
visualColumnIndexStart = _class_private_field_get(this, _stateManager).findLeftMostColumnIndex(renderableCurrentHeaderRow, highlight.col);
|
|
974
|
-
visualColumnIndexEnd = _class_private_field_get(this, _stateManager).findRightMostColumnIndex(renderableCurrentHeaderRow, highlight.col);
|
|
975
|
-
if (initialDeltaColumn < 0) {
|
|
976
|
-
visualColumnIndexStart = Math.max(visualColumnIndexStart, Math.min(highlight.col, nextCoords.col));
|
|
977
|
-
} else if (initialDeltaColumn > 0) {
|
|
978
|
-
visualColumnIndexEnd = Math.min(visualColumnIndexEnd, Math.max(highlight.col, nextCoords.col));
|
|
979
|
-
}
|
|
980
|
-
}
|
|
981
|
-
if (delta.col < 0) {
|
|
982
|
-
const nextColumn = highlight.col >= visualColumnIndexStart && highlight.col <= visualColumnIndexEnd ? visualColumnIndexStart - 1 : visualColumnIndexEnd;
|
|
983
|
-
const notHiddenColumnIndex = this.hot.columnIndexMapper.getNearestNotHiddenIndex(nextColumn, -1);
|
|
984
|
-
if (notHiddenColumnIndex === null) {
|
|
985
|
-
// There are no visible columns anymore, so move the selection out of the table edge. This will
|
|
986
|
-
// be processed by the selection Transformer class as a move selection to the previous row (if autoWrapRow is enabled).
|
|
987
|
-
delta.col = -this.hot.view.countRenderableColumnsInRange(0, highlight.col);
|
|
988
|
-
} else {
|
|
989
|
-
delta.col = -Math.max(this.hot.view.countRenderableColumnsInRange(notHiddenColumnIndex, highlight.col) - 1, 1);
|
|
990
|
-
}
|
|
991
|
-
} else if (delta.col > 0) {
|
|
992
|
-
const nextColumn = highlight.col >= visualColumnIndexStart && highlight.col <= visualColumnIndexEnd ? visualColumnIndexEnd + 1 : visualColumnIndexStart;
|
|
993
|
-
const notHiddenColumnIndex = this.hot.columnIndexMapper.getNearestNotHiddenIndex(nextColumn, 1);
|
|
994
|
-
if (notHiddenColumnIndex === null) {
|
|
995
|
-
// There are no visible columns anymore, so move the selection out of the table edge. This will
|
|
996
|
-
// be processed by the selection Transformer class as a move selection to the next row (if autoWrapRow is enabled).
|
|
997
|
-
delta.col = this.hot.view.countRenderableColumnsInRange(highlight.col, this.hot.countCols());
|
|
998
|
-
if (isCurrentHeaderRowspanPlaceholderForBounds) {
|
|
999
|
-
delta.col += 1;
|
|
1000
|
-
if (highlight.row < -1) {
|
|
1001
|
-
delta.row = 1;
|
|
1002
|
-
delta.col = -(highlight.col + 1);
|
|
1003
|
-
}
|
|
1004
|
-
}
|
|
1005
|
-
} else {
|
|
1006
|
-
delta.col = Math.max(this.hot.view.countRenderableColumnsInRange(highlight.col, notHiddenColumnIndex) - 1, 1);
|
|
1007
|
-
}
|
|
1008
|
-
}
|
|
1009
|
-
}
|
|
1010
|
-
_class_private_field_set(this, _expectedNextKeyboardHighlightCoords, {
|
|
1011
|
-
row: highlight.row + delta.row,
|
|
1012
|
-
col: highlight.col + delta.col
|
|
1013
|
-
});
|
|
1014
|
-
}
|
|
1015
|
-
function onBeforeSelectColumns(from, to, highlight) {
|
|
1016
|
-
const headerLevel = from.row;
|
|
1017
|
-
const startNodeData = this._getHeaderTreeNodeDataByCoords({
|
|
1018
|
-
row: headerLevel,
|
|
1019
|
-
col: from.col
|
|
1020
|
-
});
|
|
1021
|
-
const endNodeData = this._getHeaderTreeNodeDataByCoords({
|
|
1022
|
-
row: headerLevel,
|
|
1023
|
-
col: to.col
|
|
1024
|
-
});
|
|
1025
|
-
_class_private_field_set(this, _recentlyHighlightCoords, highlight.clone());
|
|
1026
|
-
if (to.col < from.col) {
|
|
1027
|
-
if (startNodeData) {
|
|
1028
|
-
from.col = startNodeData.columnIndex + startNodeData.origColspan - 1;
|
|
1029
|
-
}
|
|
1030
|
-
if (endNodeData) {
|
|
1031
|
-
to.col = endNodeData.columnIndex;
|
|
1032
|
-
}
|
|
1033
|
-
} else if (to.col >= from.col) {
|
|
1034
|
-
if (startNodeData) {
|
|
1035
|
-
from.col = startNodeData.columnIndex;
|
|
1036
|
-
}
|
|
1037
|
-
if (endNodeData) {
|
|
1038
|
-
to.col = endNodeData.columnIndex + endNodeData.origColspan - 1;
|
|
1039
|
-
}
|
|
1040
|
-
}
|
|
1041
|
-
}
|
|
1042
|
-
function onAfterGetColumnHeaderRenderers(renderersArray) {
|
|
1043
|
-
if (_class_private_field_get(this, _stateManager).getLayersCount() > 0) {
|
|
1044
|
-
renderersArray.length = 0;
|
|
1045
|
-
for(let headerLayer = 0; headerLayer < _class_private_field_get(this, _stateManager).getLayersCount(); headerLayer++){
|
|
1046
|
-
renderersArray.push(this.headerRendererFactory(headerLayer));
|
|
1047
|
-
}
|
|
1048
|
-
}
|
|
1049
|
-
}
|
|
1050
|
-
function onAfterViewportColumnCalculatorOverride(calc) {
|
|
1051
|
-
const headerLayersCount = _class_private_field_get(this, _stateManager).getLayersCount();
|
|
1052
|
-
let newStartColumn = calc.startColumn;
|
|
1053
|
-
let nonRenderable = !!headerLayersCount;
|
|
1054
|
-
for(let headerLayer = 0; headerLayer < headerLayersCount; headerLayer++){
|
|
1055
|
-
const startColumn = _class_private_field_get(this, _stateManager).findLeftMostColumnIndex(headerLayer, calc.startColumn);
|
|
1056
|
-
const renderedStartColumn = this.hot.columnIndexMapper.getRenderableFromVisualIndex(startColumn);
|
|
1057
|
-
// If any of the headers for that column index is rendered, all of them should be rendered properly, see
|
|
1058
|
-
// comment below.
|
|
1059
|
-
if (startColumn >= 0) {
|
|
1060
|
-
nonRenderable = false;
|
|
1061
|
-
}
|
|
1062
|
-
// `renderedStartColumn` can be `null` if the leftmost columns are hidden. In that case -> ignore that header
|
|
1063
|
-
// level, as it should be handled by the "parent" header
|
|
1064
|
-
if (isNumeric(renderedStartColumn) && renderedStartColumn < calc.startColumn) {
|
|
1065
|
-
newStartColumn = renderedStartColumn;
|
|
1066
|
-
break;
|
|
1067
|
-
}
|
|
1068
|
-
}
|
|
1069
|
-
// If no headers for the provided column index are renderable, start rendering from the beginning of the upmost
|
|
1070
|
-
// header for that position.
|
|
1071
|
-
calc.startColumn = nonRenderable ? _class_private_field_get(this, _stateManager).getHeaderTreeNodeData(0, newStartColumn).columnIndex : newStartColumn;
|
|
1072
|
-
}
|
|
1073
|
-
function onModifyColWidth(width, column) {
|
|
1074
|
-
const cachedWidth = this.ghostTable.getWidth(column);
|
|
1075
|
-
return width > cachedWidth ? width : cachedWidth;
|
|
1076
|
-
}
|
|
1077
|
-
function onModifyColumnHeaderHeight() {
|
|
1078
|
-
if (!_class_private_field_get(this, _hasRowspanHeaders)) {
|
|
1079
|
-
return;
|
|
1080
|
-
}
|
|
1081
|
-
const computedStyle = this.hot.rootWindow.getComputedStyle(this.hot.rootElement);
|
|
1082
|
-
const cellVerticalPadding = Number.parseFloat(computedStyle.getPropertyValue('--ht-cell-vertical-padding'));
|
|
1083
|
-
const lineHeight = Number.parseFloat(computedStyle.getPropertyValue('--ht-line-height'));
|
|
1084
|
-
const baseHeaderHeight = Math.round(cellVerticalPadding * 2 + lineHeight + 1);
|
|
1085
|
-
if (!Number.isFinite(baseHeaderHeight)) {
|
|
1086
|
-
return;
|
|
1087
|
-
}
|
|
1088
|
-
return new Array(this.getLayersCount()).fill(baseHeaderHeight);
|
|
1089
|
-
}
|
|
1090
|
-
function onModifyColumnHeaderValue(value, visualColumnIndex, headerLevel) {
|
|
1091
|
-
const { label } = _class_private_field_get(this, _stateManager).getHeaderTreeNodeData(headerLevel, visualColumnIndex) ?? {
|
|
1092
|
-
label: ''
|
|
1093
|
-
};
|
|
1094
|
-
return label;
|
|
1095
|
-
}
|
|
1096
|
-
function onModifyFocusedElement(row, column) {
|
|
1097
|
-
if (row < 0) {
|
|
1098
|
-
return this.hot.getCell(row, _class_private_field_get(this, _stateManager).findLeftMostColumnIndex(row, column), true);
|
|
1099
|
-
}
|
|
1100
|
-
}
|
|
1101
|
-
function onInit() {
|
|
1102
|
-
// @TODO: Workaround for broken plugin initialization abstraction.
|
|
1103
|
-
this.updatePlugin();
|
|
1104
|
-
}
|
|
1105
|
-
function onAfterLoadData(sourceData, initialLoad) {
|
|
1106
|
-
if (!initialLoad) {
|
|
1107
|
-
this.updatePlugin();
|
|
1108
|
-
}
|
|
1109
|
-
}
|
|
1110
|
-
function onBeforeViewRender() {
|
|
1111
|
-
if (_class_private_field_get(this, _updateWidthsMap)) {
|
|
1112
|
-
this.ghostTable.setLayersCount(this.getLayersCount()).buildWidthsMap();
|
|
1113
|
-
_class_private_field_set(this, _updateWidthsMap, false);
|
|
1114
|
-
}
|
|
1115
|
-
}
|