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
package/core.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", {
|
|
3
3
|
value: true
|
|
4
4
|
});
|
|
5
|
-
Object.defineProperty(exports,
|
|
5
|
+
Object.defineProperty(exports, /**
|
|
6
6
|
* Handsontable constructor.
|
|
7
7
|
*
|
|
8
8
|
* @core
|
|
@@ -124,21 +124,64 @@ const _index = require("./core/index");
|
|
|
124
124
|
const _focusManager = require("./focusManager");
|
|
125
125
|
const _uniqueMap = require("./utils/dataStructures/uniqueMap");
|
|
126
126
|
const _shortcuts = require("./shortcuts");
|
|
127
|
-
const
|
|
127
|
+
const _contexts = require("./shortcuts/contexts");
|
|
128
128
|
const _themes = require("./helpers/themes");
|
|
129
129
|
const _stylesHandler = require("./utils/stylesHandler");
|
|
130
130
|
const _console = require("./helpers/console");
|
|
131
131
|
const _errors = require("./helpers/errors");
|
|
132
132
|
const _a11yAnnouncer = require("./utils/a11yAnnouncer");
|
|
133
|
+
const _licenseNotification = require("./utils/licenseNotification");
|
|
133
134
|
const _valueAccessors = require("./utils/valueAccessors");
|
|
134
135
|
const _engine = require("./themes/engine");
|
|
136
|
+
const _layout = require("./core/layout");
|
|
135
137
|
const _themes1 = require("./themes");
|
|
138
|
+
const _dataMap1 = /*#__PURE__*/ _interop_require_default(require("./dataMap/dataMap"));
|
|
136
139
|
function _interop_require_default(obj) {
|
|
137
140
|
return obj && obj.__esModule ? obj : {
|
|
138
141
|
default: obj
|
|
139
142
|
};
|
|
140
143
|
}
|
|
141
144
|
let activeGuid = null;
|
|
145
|
+
/**
|
|
146
|
+
* Normalizes an array of `[index, amount]` pairs by merging overlapping or adjacent groups
|
|
147
|
+
* into the smallest set of non-overlapping groups, sorted in ascending order.
|
|
148
|
+
*
|
|
149
|
+
* @param {number[][]} indexes Array of `[index, amount]` pairs to normalize.
|
|
150
|
+
* @returns {number[][]} Normalized array of `[index, amount]` pairs.
|
|
151
|
+
*/ function normalizeIndexesGroup(indexes) {
|
|
152
|
+
if (indexes.length === 0) {
|
|
153
|
+
return [];
|
|
154
|
+
}
|
|
155
|
+
const sortedIndexes = [
|
|
156
|
+
...indexes
|
|
157
|
+
];
|
|
158
|
+
// Sort the indexes in ascending order.
|
|
159
|
+
sortedIndexes.sort(([indexA], [indexB])=>{
|
|
160
|
+
if (indexA === indexB) {
|
|
161
|
+
return 0;
|
|
162
|
+
}
|
|
163
|
+
return indexA > indexB ? 1 : -1;
|
|
164
|
+
});
|
|
165
|
+
// Normalize the {index, amount} groups into bigger groups.
|
|
166
|
+
const normalizedIndexes = (0, _array.arrayReduce)(sortedIndexes, (acc, [groupIndex, groupAmount])=>{
|
|
167
|
+
const previousItem = acc[acc.length - 1];
|
|
168
|
+
const [prevIndex, prevAmount] = previousItem;
|
|
169
|
+
const prevLastIndex = prevIndex + prevAmount;
|
|
170
|
+
if (groupIndex <= prevLastIndex) {
|
|
171
|
+
const amountToAdd = Math.max(groupAmount - (prevLastIndex - groupIndex), 0);
|
|
172
|
+
previousItem[1] += amountToAdd;
|
|
173
|
+
} else {
|
|
174
|
+
acc.push([
|
|
175
|
+
groupIndex,
|
|
176
|
+
groupAmount
|
|
177
|
+
]);
|
|
178
|
+
}
|
|
179
|
+
return acc;
|
|
180
|
+
}, [
|
|
181
|
+
sortedIndexes[0]
|
|
182
|
+
]);
|
|
183
|
+
return normalizedIndexes;
|
|
184
|
+
}
|
|
142
185
|
/**
|
|
143
186
|
* Keeps the collection of the all Handsontable instances created on the same page. The
|
|
144
187
|
* list is then used to trigger the "afterUnlisten" hook when the "listen()" method was
|
|
@@ -150,8 +193,7 @@ let activeGuid = null;
|
|
|
150
193
|
* A set of deprecated feature names.
|
|
151
194
|
*
|
|
152
195
|
* @type {Set<string>}
|
|
153
|
-
*/
|
|
154
|
-
const deprecationWarns = new Set();
|
|
196
|
+
*/ const deprecationWarns = new Set();
|
|
155
197
|
function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
156
198
|
let instance = this;
|
|
157
199
|
const eventManager = new _eventManager.default(instance);
|
|
@@ -180,19 +222,47 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
180
222
|
*
|
|
181
223
|
* @private
|
|
182
224
|
* @type {HTMLElement}
|
|
183
|
-
*/ this.rootWrapperElement =
|
|
225
|
+
*/ this.rootWrapperElement = null;
|
|
184
226
|
/**
|
|
185
227
|
* Reference to the grid element.
|
|
186
228
|
*
|
|
187
229
|
* @private
|
|
188
230
|
* @type {HTMLElement}
|
|
189
|
-
*/ this.rootGridElement =
|
|
231
|
+
*/ this.rootGridElement = null;
|
|
232
|
+
/**
|
|
233
|
+
* Reference to the grid content element. Wraps the grid (table) together with the grid focus-scope
|
|
234
|
+
* tab-catchers, so siblings of this element inside `ht-grid` (e.g. the empty-data-state) stay
|
|
235
|
+
* outside the grid focus scope.
|
|
236
|
+
*
|
|
237
|
+
* @private
|
|
238
|
+
* @type {HTMLElement}
|
|
239
|
+
*/ this.rootGridContentElement = null;
|
|
240
|
+
/**
|
|
241
|
+
* Reference to the top slot element. A wrapper slot rendered above the grid for plugin UI
|
|
242
|
+
* (for example toolbars). Ordered through the layout manager.
|
|
243
|
+
*
|
|
244
|
+
* @private
|
|
245
|
+
* @type {HTMLElement}
|
|
246
|
+
*/ this.rootSlotTopElement = null;
|
|
247
|
+
/**
|
|
248
|
+
* Reference to the bottom slot element (pagination, license notification).
|
|
249
|
+
*
|
|
250
|
+
* @private
|
|
251
|
+
* @type {HTMLElement}
|
|
252
|
+
*/ this.rootSlotBottomElement = null;
|
|
253
|
+
/**
|
|
254
|
+
* Reference to the overlays element (dialog). Note: the empty-data-state lives inside the grid
|
|
255
|
+
* element (`ht-grid`), not here.
|
|
256
|
+
*
|
|
257
|
+
* @private
|
|
258
|
+
* @type {HTMLElement}
|
|
259
|
+
*/ this.rootOverlaysElement = null;
|
|
190
260
|
/**
|
|
191
261
|
* Reference to the portal element.
|
|
192
262
|
*
|
|
193
263
|
* @private
|
|
194
264
|
* @type {HTMLElement}
|
|
195
|
-
*/ this.rootPortalElement =
|
|
265
|
+
*/ this.rootPortalElement = null;
|
|
196
266
|
// TODO: check if references to DOM elements should be move to UI layer (Walkontable)
|
|
197
267
|
/**
|
|
198
268
|
* Reference to the container element.
|
|
@@ -214,16 +284,28 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
214
284
|
*/ this.rootWindow = this.rootDocument.defaultView;
|
|
215
285
|
if ((0, _rootInstance.isRootInstance)(this)) {
|
|
216
286
|
this.rootWrapperElement = this.rootDocument.createElement('div');
|
|
287
|
+
this.rootSlotTopElement = this.rootDocument.createElement('div');
|
|
217
288
|
this.rootGridElement = this.rootDocument.createElement('div');
|
|
289
|
+
this.rootGridContentElement = this.rootDocument.createElement('div');
|
|
290
|
+
this.rootOverlaysElement = this.rootDocument.createElement('div');
|
|
291
|
+
this.rootSlotBottomElement = this.rootDocument.createElement('div');
|
|
218
292
|
this.rootPortalElement = this.rootDocument.createElement('div');
|
|
219
293
|
(0, _element.addClass)(this.rootElement, [
|
|
220
294
|
'ht-wrapper',
|
|
221
295
|
'handsontable'
|
|
222
296
|
]);
|
|
223
297
|
(0, _element.addClass)(this.rootWrapperElement, 'ht-root-wrapper');
|
|
298
|
+
(0, _element.addClass)(this.rootSlotTopElement, 'ht-slot-top');
|
|
224
299
|
(0, _element.addClass)(this.rootGridElement, 'ht-grid');
|
|
225
|
-
|
|
300
|
+
(0, _element.addClass)(this.rootGridContentElement, 'ht-grid-content');
|
|
301
|
+
(0, _element.addClass)(this.rootOverlaysElement, 'ht-overlay');
|
|
302
|
+
(0, _element.addClass)(this.rootSlotBottomElement, 'ht-slot-bottom');
|
|
303
|
+
this.rootGridContentElement.appendChild(this.rootElement);
|
|
304
|
+
this.rootGridElement.appendChild(this.rootGridContentElement);
|
|
305
|
+
this.rootWrapperElement.appendChild(this.rootSlotTopElement);
|
|
226
306
|
this.rootWrapperElement.appendChild(this.rootGridElement);
|
|
307
|
+
this.rootWrapperElement.appendChild(this.rootSlotBottomElement);
|
|
308
|
+
this.rootWrapperElement.appendChild(this.rootOverlaysElement);
|
|
227
309
|
this.rootContainer.appendChild(this.rootWrapperElement);
|
|
228
310
|
this.rootWrapperElement.__hotInstance = this;
|
|
229
311
|
(0, _element.addClass)(this.rootPortalElement, 'ht-portal');
|
|
@@ -407,13 +489,16 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
407
489
|
countCols: ()=>instance.countCols(),
|
|
408
490
|
countRows: ()=>instance.countRows(),
|
|
409
491
|
propToCol: (prop)=>datamap.propToCol(prop),
|
|
410
|
-
isEditorOpened: ()=>
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
492
|
+
isEditorOpened: ()=>{
|
|
493
|
+
const editor = instance.getActiveEditor();
|
|
494
|
+
return editor ? editor.isOpened() : false;
|
|
495
|
+
},
|
|
496
|
+
countRenderableColumns: ()=>instance.view.countRenderableColumns(),
|
|
497
|
+
countRenderableRows: ()=>instance.view.countRenderableRows(),
|
|
498
|
+
countRowHeaders: ()=>instance.countRowHeaders(),
|
|
499
|
+
countColHeaders: ()=>instance.countColHeaders(),
|
|
500
|
+
countRenderableRowsInRange: (rowStart, rowEnd)=>instance.view.countRenderableRowsInRange(rowStart, rowEnd),
|
|
501
|
+
countRenderableColumnsInRange: (columnStart, columnEnd)=>instance.view.countRenderableColumnsInRange(columnStart, columnEnd),
|
|
417
502
|
getShortcutManager: ()=>instance.getShortcutManager(),
|
|
418
503
|
createCellCoords: (row, column)=>instance._createCellCoords(row, column),
|
|
419
504
|
createCellRange: (highlight, from, to)=>instance._createCellRange(highlight, from, to),
|
|
@@ -489,7 +574,7 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
489
574
|
'updateData',
|
|
490
575
|
'deselect'
|
|
491
576
|
].includes(selectionSource)) {
|
|
492
|
-
editorManager.closeEditor(
|
|
577
|
+
editorManager.closeEditor();
|
|
493
578
|
}
|
|
494
579
|
if (![
|
|
495
580
|
'refresh',
|
|
@@ -542,7 +627,7 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
542
627
|
]);
|
|
543
628
|
this.runHooks('afterDeselect');
|
|
544
629
|
});
|
|
545
|
-
this.selection.addLocalHook('beforeHighlightSet', ()=>
|
|
630
|
+
this.selection.addLocalHook('beforeHighlightSet', ()=>instance.runHooks('beforeSelectionHighlightSet')).addLocalHook('beforeSetRangeStart', (...args)=>instance.runHooks('beforeSetRangeStart', ...args)).addLocalHook('beforeSetRangeStartOnly', (...args)=>instance.runHooks('beforeSetRangeStartOnly', ...args)).addLocalHook('beforeSetRangeEnd', (...args)=>instance.runHooks('beforeSetRangeEnd', ...args)).addLocalHook('beforeSelectColumns', (...args)=>instance.runHooks('beforeSelectColumns', ...args)).addLocalHook('afterSelectColumns', (...args)=>instance.runHooks('afterSelectColumns', ...args)).addLocalHook('beforeSelectRows', (...args)=>instance.runHooks('beforeSelectRows', ...args)).addLocalHook('afterSelectRows', (...args)=>instance.runHooks('afterSelectRows', ...args)).addLocalHook('beforeSelectAll', (...args)=>instance.runHooks('beforeSelectAll', ...args)).addLocalHook('afterSelectAll', (...args)=>instance.runHooks('afterSelectAll', ...args)).addLocalHook('beforeModifyTransformStart', (...args)=>instance.runHooks('modifyTransformStart', ...args)).addLocalHook('afterModifyTransformStart', (...args)=>instance.runHooks('afterModifyTransformStart', ...args)).addLocalHook('beforeModifyTransformFocus', (...args)=>instance.runHooks('modifyTransformFocus', ...args)).addLocalHook('afterModifyTransformFocus', (...args)=>instance.runHooks('afterModifyTransformFocus', ...args)).addLocalHook('beforeModifyTransformEnd', (...args)=>instance.runHooks('modifyTransformEnd', ...args)).addLocalHook('afterModifyTransformEnd', (...args)=>instance.runHooks('afterModifyTransformEnd', ...args)).addLocalHook('beforeRowWrap', (...args)=>instance.runHooks('beforeRowWrap', ...args)).addLocalHook('beforeColumnWrap', (...args)=>instance.runHooks('beforeColumnWrap', ...args)).addLocalHook('insertRowRequire', (totalRows)=>instance.alter('insert_row_above', totalRows, 1, 'auto')).addLocalHook('insertColRequire', (totalCols)=>instance.alter('insert_col_start', totalCols, 1, 'auto'));
|
|
546
631
|
grid = {
|
|
547
632
|
/**
|
|
548
633
|
* Inserts or removes rows and columns.
|
|
@@ -562,40 +647,6 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
562
647
|
if (skipAlter === false) {
|
|
563
648
|
return;
|
|
564
649
|
}
|
|
565
|
-
const normalizeIndexesGroup = (indexes)=>{
|
|
566
|
-
if (indexes.length === 0) {
|
|
567
|
-
return [];
|
|
568
|
-
}
|
|
569
|
-
const sortedIndexes = [
|
|
570
|
-
...indexes
|
|
571
|
-
];
|
|
572
|
-
// Sort the indexes in ascending order.
|
|
573
|
-
sortedIndexes.sort(([indexA], [indexB])=>{
|
|
574
|
-
if (indexA === indexB) {
|
|
575
|
-
return 0;
|
|
576
|
-
}
|
|
577
|
-
return indexA > indexB ? 1 : -1;
|
|
578
|
-
});
|
|
579
|
-
// Normalize the {index, amount} groups into bigger groups.
|
|
580
|
-
const normalizedIndexes = (0, _array.arrayReduce)(sortedIndexes, (acc, [groupIndex, groupAmount])=>{
|
|
581
|
-
const previousItem = acc[acc.length - 1];
|
|
582
|
-
const [prevIndex, prevAmount] = previousItem;
|
|
583
|
-
const prevLastIndex = prevIndex + prevAmount;
|
|
584
|
-
if (groupIndex <= prevLastIndex) {
|
|
585
|
-
const amountToAdd = Math.max(groupAmount - (prevLastIndex - groupIndex), 0);
|
|
586
|
-
previousItem[1] += amountToAdd;
|
|
587
|
-
} else {
|
|
588
|
-
acc.push([
|
|
589
|
-
groupIndex,
|
|
590
|
-
groupAmount
|
|
591
|
-
]);
|
|
592
|
-
}
|
|
593
|
-
return acc;
|
|
594
|
-
}, [
|
|
595
|
-
sortedIndexes[0]
|
|
596
|
-
]);
|
|
597
|
-
return normalizedIndexes;
|
|
598
|
-
};
|
|
599
650
|
/* eslint-disable no-case-declarations */ switch(action){
|
|
600
651
|
case 'insert_row_below':
|
|
601
652
|
case 'insert_row_above':
|
|
@@ -606,9 +657,9 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
606
657
|
// `above` is the default behavior for creating new rows
|
|
607
658
|
const insertRowMode = action === 'insert_row_below' ? 'below' : 'above';
|
|
608
659
|
// Calling the `insert_row_above` action adds a new row at the beginning of the data set.
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
const { delta: rowDelta, startPhysicalIndex: startRowPhysicalIndex } = datamap.createRow(
|
|
660
|
+
const defaultRowIndex = insertRowMode === 'below' ? numberOfSourceRows : 0;
|
|
661
|
+
const rowIndex = typeof index === 'number' ? index : defaultRowIndex;
|
|
662
|
+
const { delta: rowDelta, startPhysicalIndex: startRowPhysicalIndex } = datamap.createRow(rowIndex, amount, {
|
|
612
663
|
source,
|
|
613
664
|
mode: insertRowMode
|
|
614
665
|
});
|
|
@@ -619,9 +670,9 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
619
670
|
// "start" is a default behavior for creating new columns
|
|
620
671
|
const insertColumnMode = action === 'insert_col_end' ? 'end' : 'start';
|
|
621
672
|
// Calling the `insert_col_start` action adds a new column to the left of the data set.
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
const { delta: colDelta, startPhysicalIndex: startColumnPhysicalIndex } = datamap.createCol(
|
|
673
|
+
const defaultColIndex = insertColumnMode === 'end' ? instance.countSourceCols() : 0;
|
|
674
|
+
const colIndex = typeof index === 'number' ? index : defaultColIndex;
|
|
675
|
+
const { delta: colDelta, startPhysicalIndex: startColumnPhysicalIndex } = datamap.createCol(colIndex, amount, {
|
|
625
676
|
source,
|
|
626
677
|
mode: insertColumnMode
|
|
627
678
|
});
|
|
@@ -646,7 +697,6 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
646
697
|
// If the 'index' is an integer decrease it by 'offset' otherwise pass it through to make the value
|
|
647
698
|
// compatible with datamap.removeCol method.
|
|
648
699
|
if (Number.isInteger(groupIndex)) {
|
|
649
|
-
// eslint-disable-next-line no-param-reassign
|
|
650
700
|
groupIndex = Math.max(groupIndex - offset, 0);
|
|
651
701
|
}
|
|
652
702
|
// TODO: for datamap.removeRow index should be passed as it is (with undefined and null values). If not, the logic
|
|
@@ -704,7 +754,6 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
704
754
|
// If the 'index' is an integer decrease it by 'offset' otherwise pass it through to make the value
|
|
705
755
|
// compatible with datamap.removeCol method.
|
|
706
756
|
if (Number.isInteger(groupIndex)) {
|
|
707
|
-
// eslint-disable-next-line no-param-reassign
|
|
708
757
|
groupIndex = Math.max(groupIndex - offset, 0);
|
|
709
758
|
}
|
|
710
759
|
// TODO: for datamap.removeCol index should be passed as it is (with undefined and null values). If not, the logic
|
|
@@ -797,7 +846,7 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
797
846
|
}
|
|
798
847
|
}
|
|
799
848
|
{
|
|
800
|
-
let emptyCols;
|
|
849
|
+
let emptyCols = 0;
|
|
801
850
|
// count currently empty cols
|
|
802
851
|
if (minCols || minSpareCols) {
|
|
803
852
|
emptyCols = instance.countEmptyCols(true);
|
|
@@ -998,11 +1047,17 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
998
1047
|
if (cellMeta.parsePastedValue && source === 'CopyPaste.paste') {
|
|
999
1048
|
pushData = true;
|
|
1000
1049
|
}
|
|
1050
|
+
// Editor saves always accept the new value regardless of the original cell type (#3234)
|
|
1051
|
+
if (source === 'edit') {
|
|
1052
|
+
pushData = true;
|
|
1053
|
+
value = (0, _object.deepClone)(value);
|
|
1054
|
+
}
|
|
1001
1055
|
} else if (orgValue !== null) {
|
|
1002
1056
|
const orgValueSchema = (0, _object.duckSchema)(Array.isArray(orgValue) ? orgValue : orgValue[0] || orgValue);
|
|
1003
1057
|
const valueSchema = (0, _object.duckSchema)(Array.isArray(value) ? value : value[0] || value);
|
|
1004
1058
|
// Allow overwriting values with the same object-based schema or any array-based schema.
|
|
1005
1059
|
if (hasValueSetter || // If the cell has a value setter, we don't know the value schema (it's dynamic)
|
|
1060
|
+
source === 'edit' || // Editor saves always accept the new value regardless of schema (#3234)
|
|
1006
1061
|
(0, _object.isObjectEqual)(orgValueSchema, valueSchema) || Array.isArray(orgValueSchema) && Array.isArray(valueSchema)) {
|
|
1007
1062
|
value = (0, _object.deepClone)(value);
|
|
1008
1063
|
} else {
|
|
@@ -1054,12 +1109,15 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
1054
1109
|
*/ function setClassName(className, classSettings) {
|
|
1055
1110
|
const element = className === 'className' ? instance.rootElement : instance.table;
|
|
1056
1111
|
if (firstRun) {
|
|
1057
|
-
(
|
|
1112
|
+
if (classSettings !== undefined) {
|
|
1113
|
+
(0, _element.addClass)(element, classSettings);
|
|
1114
|
+
}
|
|
1058
1115
|
} else {
|
|
1059
1116
|
let globalMetaSettingsArray = [];
|
|
1060
1117
|
let settingsArray = [];
|
|
1061
1118
|
if (globalMeta[className]) {
|
|
1062
|
-
|
|
1119
|
+
const globalMetaValue = globalMeta[className];
|
|
1120
|
+
globalMetaSettingsArray = Array.isArray(globalMetaValue) ? globalMetaValue : (0, _array.stringToArray)(String(globalMetaValue));
|
|
1063
1121
|
}
|
|
1064
1122
|
if (classSettings) {
|
|
1065
1123
|
settingsArray = Array.isArray(classSettings) ? classSettings : (0, _array.stringToArray)(classSettings);
|
|
@@ -1076,6 +1134,12 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
1076
1134
|
globalMeta[className] = classSettings;
|
|
1077
1135
|
}
|
|
1078
1136
|
this.init = function() {
|
|
1137
|
+
const theme = tableMeta.theme;
|
|
1138
|
+
const themeName = tableMeta.themeName;
|
|
1139
|
+
const rootContainerThemeClassName = (0, _themes.getThemeClassName)(instance.rootContainer);
|
|
1140
|
+
if ((0, _rootInstance.isRootInstance)(instance) && !rootContainerThemeClassName && ((0, _object.isObject)(theme) || !theme && !themeName)) {
|
|
1141
|
+
initializeThemeManager(theme);
|
|
1142
|
+
}
|
|
1079
1143
|
dataSource.setData(tableMeta.data);
|
|
1080
1144
|
instance.runHooks('beforeInit');
|
|
1081
1145
|
if ((0, _browser.isMobileBrowser)() || (0, _browser.isIpadOS)()) {
|
|
@@ -1088,7 +1152,37 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
1088
1152
|
focusGridManager.init();
|
|
1089
1153
|
if ((0, _rootInstance.isRootInstance)(this)) {
|
|
1090
1154
|
(0, _a11yAnnouncer.install)(instance.rootPortalElement);
|
|
1091
|
-
(0,
|
|
1155
|
+
(0, _licenseNotification.initLicenseNotification)(instance);
|
|
1156
|
+
// Keep the edge slots (top, bottom) as wide as the table so their content
|
|
1157
|
+
// (toolbars, pagination, license notification) aligns with the grid.
|
|
1158
|
+
const lastEdgeWidths = {
|
|
1159
|
+
top: -1,
|
|
1160
|
+
bottom: -1
|
|
1161
|
+
};
|
|
1162
|
+
const syncEdgeSlotsWidth = ()=>{
|
|
1163
|
+
if (instance.isDestroyed) {
|
|
1164
|
+
return;
|
|
1165
|
+
}
|
|
1166
|
+
const { view } = instance;
|
|
1167
|
+
if (!view) {
|
|
1168
|
+
return;
|
|
1169
|
+
}
|
|
1170
|
+
let width = view.isHorizontallyScrollableByWindow() ? view.getTotalTableWidth() : view.getWorkspaceWidth();
|
|
1171
|
+
if (width === 0 && instance.rootWrapperElement) {
|
|
1172
|
+
width = instance.rootWrapperElement.offsetWidth;
|
|
1173
|
+
}
|
|
1174
|
+
// Only write when the value actually changes — avoids a reflow → dimension-refresh
|
|
1175
|
+
// → re-sync feedback loop, and needless layout writes during volatile renders.
|
|
1176
|
+
if (instance.rootSlotBottomElement && width !== lastEdgeWidths.bottom) {
|
|
1177
|
+
lastEdgeWidths.bottom = width;
|
|
1178
|
+
instance.rootSlotBottomElement.style.width = `${width}px`;
|
|
1179
|
+
}
|
|
1180
|
+
if (instance.rootSlotTopElement && width !== lastEdgeWidths.top) {
|
|
1181
|
+
lastEdgeWidths.top = width;
|
|
1182
|
+
instance.rootSlotTopElement.style.width = `${width}px`;
|
|
1183
|
+
}
|
|
1184
|
+
};
|
|
1185
|
+
this.addHook('afterRender', syncEdgeSlotsWidth);
|
|
1092
1186
|
}
|
|
1093
1187
|
instance.runHooks('init');
|
|
1094
1188
|
this.render();
|
|
@@ -1146,7 +1240,7 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
1146
1240
|
this.validatorsInQueue = this.validatorsInQueue - 1 < 0 ? 0 : this.validatorsInQueue - 1;
|
|
1147
1241
|
this.checkIfQueueIsEmpty();
|
|
1148
1242
|
},
|
|
1149
|
-
onQueueEmpty () {},
|
|
1243
|
+
onQueueEmpty (_valid) {},
|
|
1150
1244
|
checkIfQueueIsEmpty () {
|
|
1151
1245
|
if (this.validatorsInQueue === 0 && resolved === false) {
|
|
1152
1246
|
resolved = true;
|
|
@@ -1177,9 +1271,34 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
1177
1271
|
return;
|
|
1178
1272
|
}
|
|
1179
1273
|
const activeEditor = instance.getActiveEditor();
|
|
1180
|
-
const waitingForValidator =
|
|
1274
|
+
const waitingForValidator = ValidatorsQueue();
|
|
1181
1275
|
let shouldBeCanceled = true;
|
|
1276
|
+
// Track value corrections applied by validators via setDataAtCell during the validation window.
|
|
1277
|
+
// Without this, a corrected value written by a nested setDataAtCell call gets overwritten when
|
|
1278
|
+
// applyChanges() runs on the original changes array. The hook is removed before applyChanges()
|
|
1279
|
+
// runs (in onQueueEmpty), so it does not capture the parent apply itself.
|
|
1280
|
+
//
|
|
1281
|
+
// Source filtering is structurally required: each nested validateChanges() call registers its
|
|
1282
|
+
// own onAfterChange hook. Without filtering, when the parent applyChanges() fires afterChange,
|
|
1283
|
+
// the nested hook would intercept it and corrupt the nested changes array. Filtering to sources
|
|
1284
|
+
// that end with 'Validator' ensures only corrections emitted by validators are captured, never
|
|
1285
|
+
// values applied by applyChanges(). Custom validators that correct values must follow this
|
|
1286
|
+
// convention by passing a source ending in 'Validator' to their setDataAtCell call.
|
|
1287
|
+
const applyValidatorCorrection = ([changedRow, changedProp, , correctedValue])=>{
|
|
1288
|
+
const idx = changes.findIndex(([row, prop])=>row === changedRow && prop === changedProp);
|
|
1289
|
+
if (idx !== -1) {
|
|
1290
|
+
changes[idx][3] = correctedValue;
|
|
1291
|
+
}
|
|
1292
|
+
};
|
|
1293
|
+
const onAfterChange = (afterChanges, afterSource)=>{
|
|
1294
|
+
if (typeof afterSource !== 'string' || !afterSource.endsWith('Validator')) {
|
|
1295
|
+
return;
|
|
1296
|
+
}
|
|
1297
|
+
afterChanges?.forEach(applyValidatorCorrection);
|
|
1298
|
+
};
|
|
1299
|
+
instance.addHook('afterChange', onAfterChange);
|
|
1182
1300
|
waitingForValidator.onQueueEmpty = ()=>{
|
|
1301
|
+
instance.removeHook('afterChange', onAfterChange);
|
|
1183
1302
|
if (activeEditor && shouldBeCanceled && activeEditor._closeAfterDataChange && doesChangeAffectOpenedEditor(changes, activeEditor)) {
|
|
1184
1303
|
activeEditor.cancelChanges();
|
|
1185
1304
|
}
|
|
@@ -1250,7 +1369,7 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
1250
1369
|
}
|
|
1251
1370
|
}
|
|
1252
1371
|
if (instance.dataType === 'array' && (!tableMeta.columns || tableMeta.columns.length === 0) && tableMeta.allowInsertColumn) {
|
|
1253
|
-
while(datamap.propToCol(changes[i][1]) > instance.countCols() - 1){
|
|
1372
|
+
while(Number(datamap.propToCol(changes[i][1])) > instance.countCols() - 1){
|
|
1254
1373
|
const { delta: numberOfCreatedColumns } = datamap.createCol(undefined, undefined, {
|
|
1255
1374
|
source: 'auto'
|
|
1256
1375
|
});
|
|
@@ -1281,7 +1400,7 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
1281
1400
|
editorManager.prepareEditor();
|
|
1282
1401
|
}
|
|
1283
1402
|
instance.runHooks('afterChange', changes, source || 'edit');
|
|
1284
|
-
if (activeEditor &&
|
|
1403
|
+
if (activeEditor && activeEditor.refreshValue !== undefined && (!activeEditor.isOpened() || isOpenedEditorAffectedByChanges)) {
|
|
1285
1404
|
activeEditor.refreshValue();
|
|
1286
1405
|
}
|
|
1287
1406
|
} else {
|
|
@@ -1298,7 +1417,8 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
1298
1417
|
* @param {number} column The column index.
|
|
1299
1418
|
* @returns {CellCoords}
|
|
1300
1419
|
*/ this._createCellCoords = function(row, column) {
|
|
1301
|
-
|
|
1420
|
+
const view = instance.view;
|
|
1421
|
+
return view._wt.createCellCoords(row, column);
|
|
1302
1422
|
};
|
|
1303
1423
|
/**
|
|
1304
1424
|
* Creates and returns the CellRange object.
|
|
@@ -1312,7 +1432,8 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
1312
1432
|
* @param {CellCoords} to Final coordinates.
|
|
1313
1433
|
* @returns {CellRange}
|
|
1314
1434
|
*/ this._createCellRange = function(highlight, from, to) {
|
|
1315
|
-
|
|
1435
|
+
const view = instance.view;
|
|
1436
|
+
return view._wt.createCellRange(highlight, from, to);
|
|
1316
1437
|
};
|
|
1317
1438
|
/**
|
|
1318
1439
|
* Validate a single cell.
|
|
@@ -1355,19 +1476,21 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
1355
1476
|
}(validator);
|
|
1356
1477
|
}
|
|
1357
1478
|
if ((0, _function.isFunction)(validator)) {
|
|
1358
|
-
//
|
|
1359
|
-
|
|
1479
|
+
// When the column data accessor is a function, cellProperties.prop holds the accessor
|
|
1480
|
+
// function itself — not a usable column reference. Fall back to the visual column index
|
|
1481
|
+
// so hook listeners always receive a number or a property string, never a function.
|
|
1482
|
+
const colArg = (0, _function.isFunction)(cellProperties.prop) ? cellProperties.visualCol : cellProperties.prop;
|
|
1483
|
+
value = instance.runHooks('beforeValidate', value, cellProperties.visualRow, colArg, source);
|
|
1360
1484
|
// To provide consistent behavior, validation should be always asynchronous
|
|
1361
1485
|
instance._registerMicrotask(()=>{
|
|
1362
1486
|
validator.call(cellProperties, value, (valid)=>{
|
|
1363
1487
|
if (!instance) {
|
|
1364
1488
|
return;
|
|
1365
1489
|
}
|
|
1366
|
-
|
|
1367
|
-
valid = instance.runHooks('afterValidate', valid, value, cellProperties.visualRow, cellProperties.prop, source);
|
|
1490
|
+
valid = instance.runHooks('afterValidate', valid, value, cellProperties.visualRow, colArg, source);
|
|
1368
1491
|
cellProperties.valid = valid;
|
|
1369
1492
|
done(valid);
|
|
1370
|
-
instance.runHooks('postAfterValidate', valid, value, cellProperties.visualRow,
|
|
1493
|
+
instance.runHooks('postAfterValidate', valid, value, cellProperties.visualRow, colArg, source);
|
|
1371
1494
|
});
|
|
1372
1495
|
});
|
|
1373
1496
|
} else {
|
|
@@ -1456,10 +1579,12 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
1456
1579
|
// eslint-disable-next-line max-len
|
|
1457
1580
|
(0, _errors.throwWithCause)('Method `setDataAtCell` accepts row and column number as its parameters. If you want to use object property name, use method `setDataAtRowProp`');
|
|
1458
1581
|
}
|
|
1459
|
-
|
|
1460
|
-
|
|
1582
|
+
// setDataAtCell validates that column is numeric above (throws if not number).
|
|
1583
|
+
const visualColumnIndex = typeof visualColumn === 'number' ? visualColumn : 0;
|
|
1584
|
+
if (visualColumnIndex >= this.countCols()) {
|
|
1585
|
+
prop = visualColumnIndex;
|
|
1461
1586
|
} else {
|
|
1462
|
-
prop = datamap.colToProp(
|
|
1587
|
+
prop = datamap.colToProp(visualColumnIndex);
|
|
1463
1588
|
}
|
|
1464
1589
|
changes.push([
|
|
1465
1590
|
visualRow,
|
|
@@ -1589,7 +1714,7 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
1589
1714
|
if (!(typeof input === 'object' && typeof input[0] === 'object')) {
|
|
1590
1715
|
(0, _errors.throwWithCause)('populateFromArray parameter `input` must be an array of arrays'); // API changed in 0.9-beta2, let's check if you use it correctly
|
|
1591
1716
|
}
|
|
1592
|
-
const c = typeof endRow === 'number' ? instance._createCellCoords(endRow, endCol) :
|
|
1717
|
+
const c = typeof endRow === 'number' ? instance._createCellCoords(endRow, endCol) : undefined;
|
|
1593
1718
|
return grid.populateFromArray(instance._createCellCoords(row, column), input, c, source, method);
|
|
1594
1719
|
};
|
|
1595
1720
|
/**
|
|
@@ -1632,7 +1757,7 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
1632
1757
|
* @returns {Array[]|undefined} An array of arrays of the selection's coordinates.
|
|
1633
1758
|
*/ this.getSelected = function() {
|
|
1634
1759
|
if (selection.isSelected()) {
|
|
1635
|
-
return (0, _array.arrayMap)(selection.getSelectedRange(), ({ from, to })=>[
|
|
1760
|
+
return (0, _array.arrayMap)(selection.getSelectedRange().ranges, ({ from, to })=>[
|
|
1636
1761
|
from.row,
|
|
1637
1762
|
from.col,
|
|
1638
1763
|
to.row,
|
|
@@ -1648,7 +1773,7 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
1648
1773
|
* @function getSelectedLast
|
|
1649
1774
|
* @returns {Array|undefined} An array of the selection's coordinates.
|
|
1650
1775
|
*/ this.getSelectedLast = function() {
|
|
1651
|
-
const selected =
|
|
1776
|
+
const selected = instance.getSelected();
|
|
1652
1777
|
let result;
|
|
1653
1778
|
if (selected && selected.length > 0) {
|
|
1654
1779
|
result = selected[selected.length - 1];
|
|
@@ -1664,7 +1789,7 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
1664
1789
|
* @since 16.1.0
|
|
1665
1790
|
* @returns {number[]|undefined} Selected range as an array of coordinates or `undefined` if there is no selection.
|
|
1666
1791
|
*/ this.getSelectedActive = function() {
|
|
1667
|
-
const activeRange =
|
|
1792
|
+
const activeRange = instance.getSelectedRangeActive();
|
|
1668
1793
|
if (!activeRange) {
|
|
1669
1794
|
return;
|
|
1670
1795
|
}
|
|
@@ -1699,7 +1824,7 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
1699
1824
|
* @since 0.36.0
|
|
1700
1825
|
* @returns {CellRange|undefined} Selected range object or `undefined` if there is no selection.
|
|
1701
1826
|
*/ this.getSelectedRangeLast = function() {
|
|
1702
|
-
const selectedRange =
|
|
1827
|
+
const selectedRange = instance.getSelectedRange();
|
|
1703
1828
|
let result;
|
|
1704
1829
|
if (selectedRange && selectedRange.length > 0) {
|
|
1705
1830
|
result = selectedRange[selectedRange.length - 1];
|
|
@@ -1753,7 +1878,7 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
1753
1878
|
if (fromRow > toRow || fromColumn > toColumn) {
|
|
1754
1879
|
return;
|
|
1755
1880
|
}
|
|
1756
|
-
|
|
1881
|
+
const collectEmptyCellChanges = (row)=>{
|
|
1757
1882
|
(0, _number.rangeEach)(fromColumn, toColumn, (column)=>{
|
|
1758
1883
|
if (!this.getCellMeta(row, column).readOnly) {
|
|
1759
1884
|
changes.push([
|
|
@@ -1763,7 +1888,8 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
1763
1888
|
]);
|
|
1764
1889
|
}
|
|
1765
1890
|
});
|
|
1766
|
-
}
|
|
1891
|
+
};
|
|
1892
|
+
(0, _number.rangeEach)(fromRow, toRow, collectEmptyCellChanges);
|
|
1767
1893
|
});
|
|
1768
1894
|
if (changes.length > 0) {
|
|
1769
1895
|
this.setDataAtCell(changes, source);
|
|
@@ -1895,9 +2021,9 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
1895
2021
|
* });
|
|
1896
2022
|
* ```
|
|
1897
2023
|
*/ this.batchRender = function(wrappedOperations) {
|
|
1898
|
-
|
|
2024
|
+
instance.suspendRender();
|
|
1899
2025
|
const result = wrappedOperations();
|
|
1900
|
-
|
|
2026
|
+
instance.resumeRender();
|
|
1901
2027
|
return result;
|
|
1902
2028
|
};
|
|
1903
2029
|
/**
|
|
@@ -1996,9 +2122,9 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
1996
2122
|
* });
|
|
1997
2123
|
* ```
|
|
1998
2124
|
*/ this.batchExecution = function(wrappedOperations, forceFlushChanges = false) {
|
|
1999
|
-
|
|
2125
|
+
instance.suspendExecution();
|
|
2000
2126
|
const result = wrappedOperations();
|
|
2001
|
-
|
|
2127
|
+
instance.resumeExecution(forceFlushChanges);
|
|
2002
2128
|
return result;
|
|
2003
2129
|
};
|
|
2004
2130
|
/**
|
|
@@ -2035,11 +2161,11 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
2035
2161
|
* });
|
|
2036
2162
|
* ```
|
|
2037
2163
|
*/ this.batch = function(wrappedOperations) {
|
|
2038
|
-
|
|
2039
|
-
|
|
2164
|
+
instance.suspendRender();
|
|
2165
|
+
instance.suspendExecution();
|
|
2040
2166
|
const result = wrappedOperations();
|
|
2041
|
-
|
|
2042
|
-
|
|
2167
|
+
instance.resumeExecution();
|
|
2168
|
+
instance.resumeRender();
|
|
2043
2169
|
return result;
|
|
2044
2170
|
};
|
|
2045
2171
|
/**
|
|
@@ -2184,7 +2310,7 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
2184
2310
|
finalNrOfColumns = columnsSettings.length;
|
|
2185
2311
|
} else if ((0, _function.isFunction)(columnsSettings)) {
|
|
2186
2312
|
if (instance.dataType === 'array') {
|
|
2187
|
-
const nrOfSourceColumns =
|
|
2313
|
+
const nrOfSourceColumns = instance.countSourceCols();
|
|
2188
2314
|
for(let columnIndex = 0; columnIndex < nrOfSourceColumns; columnIndex += 1){
|
|
2189
2315
|
if (columnsSettings(columnIndex)) {
|
|
2190
2316
|
finalNrOfColumns += 1;
|
|
@@ -2201,7 +2327,7 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
2201
2327
|
finalNrOfColumns = Array.isArray(schema) ? schema.length : (0, _object.deepObjectSize)(schema);
|
|
2202
2328
|
} else {
|
|
2203
2329
|
// We init index mappers by length of source data to provide indexes also for skipped indexes.
|
|
2204
|
-
finalNrOfColumns =
|
|
2330
|
+
finalNrOfColumns = instance.countSourceCols();
|
|
2205
2331
|
}
|
|
2206
2332
|
return finalNrOfColumns;
|
|
2207
2333
|
};
|
|
@@ -2240,7 +2366,7 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
2240
2366
|
if ((0, _mixed.isUndefined)(row)) {
|
|
2241
2367
|
return datamap.getAll();
|
|
2242
2368
|
}
|
|
2243
|
-
return datamap.getRange(instance._createCellCoords(row, column), instance._createCellCoords(row2, column2),
|
|
2369
|
+
return datamap.getRange(instance._createCellCoords(row, column), instance._createCellCoords(row2, column2), _dataMap1.default.DESTINATION_RENDERER);
|
|
2244
2370
|
};
|
|
2245
2371
|
/**
|
|
2246
2372
|
* Returns a string value of the selected range. Each column is separated by tab, each row is separated by a new
|
|
@@ -2322,7 +2448,6 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
2322
2448
|
* @fires Hooks#afterUpdateSettings
|
|
2323
2449
|
*/ this.updateSettings = function(settings, init = false) {
|
|
2324
2450
|
const dataUpdateFunction = (firstRun ? instance.loadData : instance.updateData).bind(this);
|
|
2325
|
-
let columnsAsFunc = false;
|
|
2326
2451
|
let i;
|
|
2327
2452
|
let j;
|
|
2328
2453
|
if ((0, _mixed.isDefined)(settings.rows)) {
|
|
@@ -2379,19 +2504,21 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
2379
2504
|
} else if (instance.themeManager) {
|
|
2380
2505
|
themeName = instance.themeManager.getClassName();
|
|
2381
2506
|
}
|
|
2382
|
-
instance.useTheme(themeName);
|
|
2507
|
+
instance.useTheme(themeName ?? null);
|
|
2383
2508
|
} else {
|
|
2384
2509
|
const currentThemeName = instance.getCurrentThemeName();
|
|
2385
2510
|
// Use `theme` option if it's a string and differs from current theme (takes priority over `themeName`).
|
|
2386
2511
|
if (themeOptionExists && typeof settings.theme === 'string' && currentThemeName !== settings.theme) {
|
|
2387
|
-
instance.useTheme(settings.theme);
|
|
2388
2512
|
instance.themeManager?.unmount();
|
|
2513
|
+
instance.themeManager = null;
|
|
2514
|
+
instance.useTheme(settings.theme);
|
|
2389
2515
|
// Use `themeName` option if `theme` is not provided and the name differs from current theme.
|
|
2390
2516
|
} else if (themeNameOptionExists && !themeOptionExists && currentThemeName !== settings.themeName) {
|
|
2517
|
+
instance.themeManager?.unmount();
|
|
2518
|
+
instance.themeManager = null;
|
|
2391
2519
|
tableMeta.theme = settings.themeName;
|
|
2392
2520
|
tableMeta.themeName = undefined;
|
|
2393
2521
|
instance.useTheme(settings.themeName);
|
|
2394
|
-
instance.themeManager?.unmount();
|
|
2395
2522
|
// Initialize or update the themeManager when theme is an object.
|
|
2396
2523
|
} else if ((0, _rootInstance.isRootInstance)(instance) && !rootContainerThemeClassName && (0, _object.isObject)(settings.theme)) {
|
|
2397
2524
|
if (instance.themeManager === null) {
|
|
@@ -2439,10 +2566,6 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
2439
2566
|
}
|
|
2440
2567
|
const clen = instance.countCols();
|
|
2441
2568
|
const columnSetting = tableMeta.columns;
|
|
2442
|
-
// Init columns constructors configuration
|
|
2443
|
-
if (columnSetting && (0, _function.isFunction)(columnSetting)) {
|
|
2444
|
-
columnsAsFunc = true;
|
|
2445
|
-
}
|
|
2446
2569
|
// Clear cell meta cache
|
|
2447
2570
|
if (settings.cell !== undefined || settings.cells !== undefined || settings.columns !== undefined) {
|
|
2448
2571
|
metaManager.clearCache();
|
|
@@ -2451,7 +2574,7 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
2451
2574
|
for(i = 0, j = 0; i < clen; i++){
|
|
2452
2575
|
// Use settings provided by user
|
|
2453
2576
|
if (columnSetting) {
|
|
2454
|
-
const column =
|
|
2577
|
+
const column = (0, _function.isFunction)(columnSetting) ? columnSetting(i) : columnSetting[j];
|
|
2455
2578
|
if (column) {
|
|
2456
2579
|
metaManager.updateColumnMeta(j, column);
|
|
2457
2580
|
}
|
|
@@ -2460,7 +2583,7 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
2460
2583
|
}
|
|
2461
2584
|
}
|
|
2462
2585
|
if ((0, _mixed.isDefined)(settings.cell)) {
|
|
2463
|
-
|
|
2586
|
+
settings.cell.forEach((cell)=>{
|
|
2464
2587
|
instance.setCellMetaObject(cell.row, cell.col, cell);
|
|
2465
2588
|
});
|
|
2466
2589
|
}
|
|
@@ -2477,7 +2600,7 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
2477
2600
|
if (init) {
|
|
2478
2601
|
const initialStyle = instance.rootElement.getAttribute('style');
|
|
2479
2602
|
if (initialStyle) {
|
|
2480
|
-
instance.rootElement.
|
|
2603
|
+
instance.rootElement.dataset.initialstyle = instance.rootElement.getAttribute('style') ?? '';
|
|
2481
2604
|
}
|
|
2482
2605
|
}
|
|
2483
2606
|
let height = settings.height;
|
|
@@ -2487,7 +2610,7 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
2487
2610
|
}
|
|
2488
2611
|
height = instance.runHooks('beforeHeightChange', height);
|
|
2489
2612
|
if (height === null) {
|
|
2490
|
-
const initialStyle = instance.rootElement.
|
|
2613
|
+
const initialStyle = instance.rootElement.dataset.initialstyle;
|
|
2491
2614
|
if (initialStyle && (initialStyle.indexOf('height') > -1 || initialStyle.indexOf('overflow') > -1)) {
|
|
2492
2615
|
instance.rootElement.setAttribute('style', initialStyle);
|
|
2493
2616
|
} else {
|
|
@@ -2507,6 +2630,28 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
2507
2630
|
width = instance.runHooks('beforeWidthChange', width);
|
|
2508
2631
|
instance.rootElement.style.width = isNaN(width) ? `${width}` : `${width}px`;
|
|
2509
2632
|
}
|
|
2633
|
+
// When height is absent the table uses window scroll, so the `overflow: clip` shorthand from the
|
|
2634
|
+
// height block is not applied. Set overflowX: clip to prevent the inner table from visually
|
|
2635
|
+
// overflowing a constrained width. Read the effective values from the DOM (after both height and
|
|
2636
|
+
// width blocks ran) so partial updateSettings calls see the correct state.
|
|
2637
|
+
// When height IS set, the height block's `overflow: clip` shorthand handles both axes — leave
|
|
2638
|
+
// overflowX untouched to avoid breaking that shorthand.
|
|
2639
|
+
// Browser compatibility: `overflow-x: clip` requires Safari 16+. On Safari 14.1–15.x it silently
|
|
2640
|
+
// falls back to `visible` (graceful degradation — pre-existing behavior, not a new regression).
|
|
2641
|
+
if (typeof settings.height !== 'undefined' || typeof settings.width !== 'undefined') {
|
|
2642
|
+
const effectiveHeight = instance.rootElement.style.height;
|
|
2643
|
+
const effectiveWidth = instance.rootElement.style.width;
|
|
2644
|
+
if (!effectiveHeight) {
|
|
2645
|
+
const currentOverflowX = instance.rootElement.style.overflowX;
|
|
2646
|
+
// Only manage the overflow-x we own (`clip`) or that is unset. Preserve a user-defined
|
|
2647
|
+
// overflow (e.g. `overflow: hidden` restored from the initial style) so it is not stomped
|
|
2648
|
+
// by `clip`. Unlike `hidden`, `clip` creates no block formatting context and allows no
|
|
2649
|
+
// programmatic scroll.
|
|
2650
|
+
if (currentOverflowX === '' || currentOverflowX === 'clip') {
|
|
2651
|
+
instance.rootElement.style.overflowX = effectiveWidth && effectiveWidth !== 'auto' ? 'clip' : '';
|
|
2652
|
+
}
|
|
2653
|
+
}
|
|
2654
|
+
}
|
|
2510
2655
|
if (!init) {
|
|
2511
2656
|
if (instance.view) {
|
|
2512
2657
|
instance.view._wt.wtViewport.resetHasOversizedColumnHeadersMarked();
|
|
@@ -2524,6 +2669,9 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
2524
2669
|
if (!init && instance.view && (currentHeight === '' || height === '' || height === undefined) && currentHeight !== height) {
|
|
2525
2670
|
instance.view._wt.wtOverlays.updateMainScrollableElements();
|
|
2526
2671
|
}
|
|
2672
|
+
if ((0, _rootInstance.isRootInstance)(instance)) {
|
|
2673
|
+
layoutManager?.applyConfig(tableMeta.layout);
|
|
2674
|
+
}
|
|
2527
2675
|
};
|
|
2528
2676
|
/**
|
|
2529
2677
|
* Gets the value of the currently focused cell.
|
|
@@ -2538,8 +2686,10 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
2538
2686
|
if (tableMeta.getValue) {
|
|
2539
2687
|
if ((0, _function.isFunction)(tableMeta.getValue)) {
|
|
2540
2688
|
return tableMeta.getValue.call(instance);
|
|
2541
|
-
} else if (activeSelection) {
|
|
2542
|
-
|
|
2689
|
+
} else if (activeSelection && typeof tableMeta.getValue === 'string') {
|
|
2690
|
+
const rowIndex = activeSelection.highlight.row ?? 0;
|
|
2691
|
+
const rowData = instance.getData()[rowIndex];
|
|
2692
|
+
return rowData[tableMeta.getValue];
|
|
2543
2693
|
}
|
|
2544
2694
|
} else if (activeSelection) {
|
|
2545
2695
|
return instance.getDataAtCell(activeSelection.highlight.row, activeSelection.highlight.col);
|
|
@@ -2556,13 +2706,14 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
2556
2706
|
return tableMeta;
|
|
2557
2707
|
};
|
|
2558
2708
|
/**
|
|
2559
|
-
* Clears the data from the table (the table settings remain intact).
|
|
2709
|
+
* Clears the data from the table (the table settings remain intact) and clears the current selection.
|
|
2560
2710
|
*
|
|
2561
2711
|
* @memberof Core#
|
|
2562
2712
|
* @function clear
|
|
2563
2713
|
*/ this.clear = function() {
|
|
2564
2714
|
this.selectAll();
|
|
2565
2715
|
this.emptySelectedCells();
|
|
2716
|
+
this.deselectCell();
|
|
2566
2717
|
};
|
|
2567
2718
|
/**
|
|
2568
2719
|
* The `alter()` method lets you alter the grid's structure
|
|
@@ -2648,16 +2799,16 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
2648
2799
|
let renderableColumnIndex = column; // Handling also column headers.
|
|
2649
2800
|
let renderableRowIndex = row; // Handling also row headers.
|
|
2650
2801
|
if (column >= 0) {
|
|
2651
|
-
if (
|
|
2802
|
+
if (instance.columnIndexMapper.isHidden(instance.toPhysicalColumn(column))) {
|
|
2652
2803
|
return null;
|
|
2653
2804
|
}
|
|
2654
|
-
renderableColumnIndex =
|
|
2805
|
+
renderableColumnIndex = instance.columnIndexMapper.getRenderableFromVisualIndex(column);
|
|
2655
2806
|
}
|
|
2656
2807
|
if (row >= 0) {
|
|
2657
|
-
if (
|
|
2808
|
+
if (instance.rowIndexMapper.isHidden(instance.toPhysicalRow(row))) {
|
|
2658
2809
|
return null;
|
|
2659
2810
|
}
|
|
2660
|
-
renderableRowIndex =
|
|
2811
|
+
renderableRowIndex = instance.rowIndexMapper.getRenderableFromVisualIndex(row);
|
|
2661
2812
|
}
|
|
2662
2813
|
if (renderableRowIndex === null || renderableColumnIndex === null || renderableRowIndex === undefined || renderableColumnIndex === undefined) {
|
|
2663
2814
|
return null;
|
|
@@ -2677,18 +2828,18 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
2677
2828
|
* // it returns CellCoords object instance with props row: 1 and col: 1.
|
|
2678
2829
|
* ```
|
|
2679
2830
|
*/ this.getCoords = function(element) {
|
|
2680
|
-
const renderableCoords =
|
|
2831
|
+
const renderableCoords = instance.view._wt.wtTable.getCoords(element);
|
|
2681
2832
|
if (renderableCoords === null) {
|
|
2682
2833
|
return null;
|
|
2683
2834
|
}
|
|
2684
2835
|
const { row: renderableRow, col: renderableColumn } = renderableCoords;
|
|
2685
2836
|
let visualRow = renderableRow;
|
|
2686
2837
|
let visualColumn = renderableColumn;
|
|
2687
|
-
if (renderableRow >= 0) {
|
|
2688
|
-
visualRow =
|
|
2838
|
+
if (renderableRow !== null && renderableRow >= 0) {
|
|
2839
|
+
visualRow = instance.rowIndexMapper.getVisualFromRenderableIndex(renderableRow);
|
|
2689
2840
|
}
|
|
2690
|
-
if (renderableColumn >= 0) {
|
|
2691
|
-
visualColumn =
|
|
2841
|
+
if (renderableColumn !== null && renderableColumn >= 0) {
|
|
2842
|
+
visualColumn = instance.columnIndexMapper.getVisualFromRenderableIndex(renderableColumn);
|
|
2692
2843
|
}
|
|
2693
2844
|
return instance._createCellCoords(visualRow, visualColumn);
|
|
2694
2845
|
};
|
|
@@ -2723,7 +2874,7 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
2723
2874
|
* @function toVisualRow
|
|
2724
2875
|
* @param {number} row Physical row index.
|
|
2725
2876
|
* @returns {number} Returns visual row index.
|
|
2726
|
-
*/ this.toVisualRow = (row)=>
|
|
2877
|
+
*/ this.toVisualRow = (row)=>instance.rowIndexMapper.getVisualFromPhysicalIndex(row);
|
|
2727
2878
|
/**
|
|
2728
2879
|
* Translate physical column index into visual.
|
|
2729
2880
|
*
|
|
@@ -2734,7 +2885,7 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
2734
2885
|
* @function toVisualColumn
|
|
2735
2886
|
* @param {number} column Physical column index.
|
|
2736
2887
|
* @returns {number} Returns visual column index.
|
|
2737
|
-
*/ this.toVisualColumn = (column)=>
|
|
2888
|
+
*/ this.toVisualColumn = (column)=>instance.columnIndexMapper.getVisualFromPhysicalIndex(column);
|
|
2738
2889
|
/**
|
|
2739
2890
|
* Translate visual row index into physical.
|
|
2740
2891
|
*
|
|
@@ -2745,7 +2896,7 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
2745
2896
|
* @function toPhysicalRow
|
|
2746
2897
|
* @param {number} row Visual row index.
|
|
2747
2898
|
* @returns {number} Returns physical row index.
|
|
2748
|
-
*/ this.toPhysicalRow = (row)=>
|
|
2899
|
+
*/ this.toPhysicalRow = (row)=>instance.rowIndexMapper.getPhysicalFromVisualIndex(row);
|
|
2749
2900
|
/**
|
|
2750
2901
|
* Translate visual column index into physical.
|
|
2751
2902
|
*
|
|
@@ -2756,7 +2907,7 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
2756
2907
|
* @function toPhysicalColumn
|
|
2757
2908
|
* @param {number} column Visual column index.
|
|
2758
2909
|
* @returns {number} Returns physical column index.
|
|
2759
|
-
*/ this.toPhysicalColumn = (column)=>
|
|
2910
|
+
*/ this.toPhysicalColumn = (column)=>instance.columnIndexMapper.getPhysicalFromVisualIndex(column);
|
|
2760
2911
|
/**
|
|
2761
2912
|
* @description
|
|
2762
2913
|
* Returns the cell value at `row`, `column`.
|
|
@@ -2796,7 +2947,7 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
2796
2947
|
* @returns {Array} Array of cell values.
|
|
2797
2948
|
*/ this.getDataAtCol = function(column) {
|
|
2798
2949
|
const columnData = [];
|
|
2799
|
-
const dataByRows = datamap.getRange(instance._createCellCoords(0, column), instance._createCellCoords(tableMeta.data.length - 1, column),
|
|
2950
|
+
const dataByRows = datamap.getRange(instance._createCellCoords(0, column), instance._createCellCoords(tableMeta.data.length - 1, column), _dataMap1.default.DESTINATION_RENDERER);
|
|
2800
2951
|
for(let i = 0; i < dataByRows.length; i += 1){
|
|
2801
2952
|
for(let j = 0; j < dataByRows[i].length; j += 1){
|
|
2802
2953
|
columnData.push(dataByRows[i][j]);
|
|
@@ -2815,7 +2966,7 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
2815
2966
|
*/ // TODO: Getting data from `datamap` should work on visual indexes.
|
|
2816
2967
|
this.getDataAtProp = function(prop) {
|
|
2817
2968
|
const columnData = [];
|
|
2818
|
-
const dataByRows = datamap.getRange(instance._createCellCoords(0, datamap.propToCol(prop)), instance._createCellCoords(tableMeta.data.length - 1, datamap.propToCol(prop)),
|
|
2969
|
+
const dataByRows = datamap.getRange(instance._createCellCoords(0, datamap.propToCol(prop)), instance._createCellCoords(tableMeta.data.length - 1, datamap.propToCol(prop)), _dataMap1.default.DESTINATION_RENDERER);
|
|
2819
2970
|
for(let i = 0; i < dataByRows.length; i += 1){
|
|
2820
2971
|
for(let j = 0; j < dataByRows[i].length; j += 1){
|
|
2821
2972
|
columnData.push(dataByRows[i][j]);
|
|
@@ -2848,7 +2999,7 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
2848
2999
|
if (row === undefined) {
|
|
2849
3000
|
data = dataSource.getData();
|
|
2850
3001
|
} else {
|
|
2851
|
-
data = dataSource.getByRange(instance._createCellCoords(row, column), instance._createCellCoords(row2, column2));
|
|
3002
|
+
data = dataSource.getByRange(instance._createCellCoords(row, column ?? null), instance._createCellCoords(row2 ?? null, column2 ?? null));
|
|
2852
3003
|
}
|
|
2853
3004
|
return data;
|
|
2854
3005
|
};
|
|
@@ -2872,7 +3023,7 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
2872
3023
|
if (row === undefined) {
|
|
2873
3024
|
data = dataSource.getData(true);
|
|
2874
3025
|
} else {
|
|
2875
|
-
data = dataSource.getByRange(instance._createCellCoords(row, column), instance._createCellCoords(row2, column2), true);
|
|
3026
|
+
data = dataSource.getByRange(instance._createCellCoords(row, column ?? null), instance._createCellCoords(row2 ?? null, column2 ?? null), true);
|
|
2876
3027
|
}
|
|
2877
3028
|
return data;
|
|
2878
3029
|
};
|
|
@@ -2887,7 +3038,7 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
2887
3038
|
this.getSourceDataAtCol = function(column) {
|
|
2888
3039
|
return dataSource.getAtColumn(column);
|
|
2889
3040
|
};
|
|
2890
|
-
|
|
3041
|
+
/**
|
|
2891
3042
|
* Set the provided value in the source data set at the provided coordinates.
|
|
2892
3043
|
*
|
|
2893
3044
|
* @memberof Core#
|
|
@@ -2896,15 +3047,15 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
2896
3047
|
* @param {number|string} column Physical column index / prop name.
|
|
2897
3048
|
* @param {*} value The value to be set at the provided coordinates.
|
|
2898
3049
|
* @param {string} [source] Source of the change as a string.
|
|
2899
|
-
*/
|
|
3050
|
+
*/ this.setSourceDataAtCell = function(row, column, value, source) {
|
|
2900
3051
|
const input = setDataInputToArray(row, column, value);
|
|
2901
|
-
const isThereAnySetSourceListener =
|
|
3052
|
+
const isThereAnySetSourceListener = instance.hasHook('afterSetSourceDataAtCell');
|
|
2902
3053
|
const changesForHook = [];
|
|
2903
3054
|
const getCellProperties = (changeRow, changeProp)=>{
|
|
2904
|
-
const visualRow =
|
|
2905
|
-
const visualColumn =
|
|
3055
|
+
const visualRow = instance.toVisualRow(changeRow);
|
|
3056
|
+
const visualColumn = instance.toVisualColumn(changeProp);
|
|
2906
3057
|
if (Number.isInteger(visualColumn)) {
|
|
2907
|
-
return
|
|
3058
|
+
return instance.getCellMeta(visualRow, visualColumn);
|
|
2908
3059
|
}
|
|
2909
3060
|
// If there's no requested visual column, we can use the table meta as the cell properties
|
|
2910
3061
|
return {
|
|
@@ -2927,6 +3078,7 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
2927
3078
|
const cellMeta = getCellProperties(changeRow, changeProp);
|
|
2928
3079
|
const newValue = (0, _valueAccessors.getValueSetterValue)(changeValue, cellMeta);
|
|
2929
3080
|
if ((0, _dataMap.runSourceDataValidator)(newValue, cellMeta, source ?? 'setSourceDataAtCell')) {
|
|
3081
|
+
// changeProp is a physical column index for array-based data sources.
|
|
2930
3082
|
dataSource.setAtCell(changeRow, changeProp, newValue);
|
|
2931
3083
|
}
|
|
2932
3084
|
});
|
|
@@ -2975,7 +3127,7 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
2975
3127
|
* @param {number} row Visual row index.
|
|
2976
3128
|
* @returns {Array} Array of row's cell data.
|
|
2977
3129
|
*/ this.getDataAtRow = function(row) {
|
|
2978
|
-
const data = datamap.getRange(instance._createCellCoords(row, 0), instance._createCellCoords(row, this.countCols() - 1),
|
|
3130
|
+
const data = datamap.getRange(instance._createCellCoords(row, 0), instance._createCellCoords(row, this.countCols() - 1), _dataMap1.default.DESTINATION_RENDERER);
|
|
2979
3131
|
return data[0] || [];
|
|
2980
3132
|
};
|
|
2981
3133
|
/**
|
|
@@ -2996,8 +3148,8 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
2996
3148
|
const coords = rowFrom === undefined ? [
|
|
2997
3149
|
0,
|
|
2998
3150
|
0,
|
|
2999
|
-
|
|
3000
|
-
|
|
3151
|
+
instance.countRows(),
|
|
3152
|
+
instance.countCols()
|
|
3001
3153
|
] : [
|
|
3002
3154
|
rowFrom,
|
|
3003
3155
|
columnFrom,
|
|
@@ -3018,8 +3170,8 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
3018
3170
|
(0, _number.rangeEach)(Math.max(Math.min(rowStart, rowEnd), 0), Math.max(rowStart, rowEnd), (row)=>{
|
|
3019
3171
|
let isTypeEqual = true;
|
|
3020
3172
|
(0, _number.rangeEach)(Math.max(Math.min(columnStart, columnEnd), 0), Math.max(columnStart, columnEnd), (column)=>{
|
|
3021
|
-
const cellType =
|
|
3022
|
-
currentType = cellType.type;
|
|
3173
|
+
const cellType = instance.getCellMeta(row, column);
|
|
3174
|
+
currentType = cellType.type ?? null;
|
|
3023
3175
|
if (previousType) {
|
|
3024
3176
|
isTypeEqual = previousType === currentType;
|
|
3025
3177
|
} else {
|
|
@@ -3027,7 +3179,7 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
3027
3179
|
}
|
|
3028
3180
|
return isTypeEqual;
|
|
3029
3181
|
});
|
|
3030
|
-
type = isTypeEqual ? currentType : 'mixed';
|
|
3182
|
+
type = isTypeEqual ? currentType ?? 'mixed' : 'mixed';
|
|
3031
3183
|
return isTypeEqual;
|
|
3032
3184
|
});
|
|
3033
3185
|
return type;
|
|
@@ -3044,8 +3196,8 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
3044
3196
|
* @fires Hooks#afterRemoveCellMeta
|
|
3045
3197
|
*/ this.removeCellMeta = function(row, column, key) {
|
|
3046
3198
|
const [physicalRow, physicalColumn] = [
|
|
3047
|
-
|
|
3048
|
-
|
|
3199
|
+
instance.toPhysicalRow(row),
|
|
3200
|
+
instance.toPhysicalColumn(column)
|
|
3049
3201
|
];
|
|
3050
3202
|
let cachedValue = metaManager.getCellMetaKeyValue(physicalRow, physicalColumn, key);
|
|
3051
3203
|
const hookResult = instance.runHooks('beforeRemoveCellMeta', row, column, key, cachedValue);
|
|
@@ -3069,12 +3221,14 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
3069
3221
|
(0, _errors.throwWithCause)('The 3rd argument (cellMetaRows) has to be passed as an array of cell meta objects array.');
|
|
3070
3222
|
}
|
|
3071
3223
|
if (deleteAmount > 0) {
|
|
3072
|
-
metaManager.removeRow(
|
|
3224
|
+
metaManager.removeRow(instance.toPhysicalRow(visualIndex), deleteAmount);
|
|
3073
3225
|
}
|
|
3074
3226
|
if (cellMetaRows.length > 0) {
|
|
3075
3227
|
(0, _array.arrayEach)(cellMetaRows.reverse(), (cellMetaRow)=>{
|
|
3076
|
-
metaManager.createRow(
|
|
3077
|
-
(0, _array.arrayEach)(cellMetaRow, (cellMeta, columnIndex)=>
|
|
3228
|
+
metaManager.createRow(instance.toPhysicalRow(visualIndex));
|
|
3229
|
+
(0, _array.arrayEach)(cellMetaRow, (cellMeta, columnIndex)=>{
|
|
3230
|
+
this.setCellMetaObject(visualIndex, columnIndex, cellMeta);
|
|
3231
|
+
});
|
|
3078
3232
|
});
|
|
3079
3233
|
}
|
|
3080
3234
|
instance.render();
|
|
@@ -3112,11 +3266,11 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
3112
3266
|
}
|
|
3113
3267
|
let physicalRow = row;
|
|
3114
3268
|
let physicalColumn = column;
|
|
3115
|
-
if (row <
|
|
3116
|
-
physicalRow =
|
|
3269
|
+
if (row < instance.countRows()) {
|
|
3270
|
+
physicalRow = instance.toPhysicalRow(row);
|
|
3117
3271
|
}
|
|
3118
|
-
if (column <
|
|
3119
|
-
physicalColumn =
|
|
3272
|
+
if (column < instance.countCols()) {
|
|
3273
|
+
physicalColumn = instance.toPhysicalColumn(column);
|
|
3120
3274
|
}
|
|
3121
3275
|
metaManager.setCellMeta(physicalRow, physicalColumn, key, value);
|
|
3122
3276
|
instance.runHooks('afterSetCellMeta', row, column, key, value);
|
|
@@ -3145,8 +3299,8 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
3145
3299
|
*/ this.getCellMeta = function(row, column, options = {
|
|
3146
3300
|
skipMetaExtension: false
|
|
3147
3301
|
}) {
|
|
3148
|
-
let physicalRow =
|
|
3149
|
-
let physicalColumn =
|
|
3302
|
+
let physicalRow = instance.toPhysicalRow(row);
|
|
3303
|
+
let physicalColumn = instance.toPhysicalColumn(column);
|
|
3150
3304
|
if (physicalRow === null) {
|
|
3151
3305
|
physicalRow = row;
|
|
3152
3306
|
}
|
|
@@ -3168,7 +3322,7 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
3168
3322
|
* @param {number} column Visual column index.
|
|
3169
3323
|
* @returns {object}
|
|
3170
3324
|
*/ this.getColumnMeta = function(column) {
|
|
3171
|
-
return metaManager.getColumnMeta(
|
|
3325
|
+
return metaManager.getColumnMeta(instance.toPhysicalColumn(column));
|
|
3172
3326
|
};
|
|
3173
3327
|
/**
|
|
3174
3328
|
* Returns an array of cell meta objects for specified physical row index.
|
|
@@ -3349,7 +3503,7 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
3349
3503
|
* @param {Array} [rows] An array of validation target visual row indexes.
|
|
3350
3504
|
* @param {Array} [columns] An array of validation target visual column indexes.
|
|
3351
3505
|
*/ this._validateCells = function(callback, rows, columns) {
|
|
3352
|
-
const waitingForValidator =
|
|
3506
|
+
const waitingForValidator = ValidatorsQueue();
|
|
3353
3507
|
if (callback) {
|
|
3354
3508
|
waitingForValidator.onQueueEmpty = callback;
|
|
3355
3509
|
}
|
|
@@ -3396,10 +3550,11 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
3396
3550
|
physicalRow = instance.runHooks('modifyRowHeader', physicalRow);
|
|
3397
3551
|
}
|
|
3398
3552
|
if (physicalRow === undefined) {
|
|
3399
|
-
|
|
3553
|
+
const headers = [];
|
|
3400
3554
|
(0, _number.rangeEach)(instance.countRows() - 1, (i)=>{
|
|
3401
|
-
|
|
3555
|
+
headers.push(instance.getRowHeader(i));
|
|
3402
3556
|
});
|
|
3557
|
+
rowHeader = headers;
|
|
3403
3558
|
} else if (Array.isArray(rowHeader) && rowHeader[physicalRow] !== undefined) {
|
|
3404
3559
|
rowHeader = rowHeader[physicalRow];
|
|
3405
3560
|
} else if ((0, _function.isFunction)(rowHeader)) {
|
|
@@ -3484,12 +3639,13 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
3484
3639
|
return out;
|
|
3485
3640
|
}
|
|
3486
3641
|
let result = tableMeta.colHeaders;
|
|
3642
|
+
const columns = tableMeta.columns;
|
|
3487
3643
|
const translateVisualIndexToColumns = function(visualColumnIndex) {
|
|
3488
3644
|
const arr = [];
|
|
3489
3645
|
const columnsLen = instance.countCols();
|
|
3490
3646
|
let index = 0;
|
|
3491
3647
|
for(; index < columnsLen; index++){
|
|
3492
|
-
if ((0, _function.isFunction)(
|
|
3648
|
+
if ((0, _function.isFunction)(columns) && columns(index)) {
|
|
3493
3649
|
arr.push(index);
|
|
3494
3650
|
}
|
|
3495
3651
|
}
|
|
@@ -3499,10 +3655,10 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
3499
3655
|
const prop = translateVisualIndexToColumns(physicalColumn);
|
|
3500
3656
|
if (tableMeta.colHeaders === false) {
|
|
3501
3657
|
result = null;
|
|
3502
|
-
} else if (
|
|
3503
|
-
result =
|
|
3504
|
-
} else if (
|
|
3505
|
-
result =
|
|
3658
|
+
} else if (columns && (0, _function.isFunction)(columns) && columns(prop) && columns(prop).title) {
|
|
3659
|
+
result = columns(prop).title;
|
|
3660
|
+
} else if (columns && !(0, _function.isFunction)(columns) && columns[physicalColumn] && columns[physicalColumn].title) {
|
|
3661
|
+
result = columns[physicalColumn].title;
|
|
3506
3662
|
} else if (Array.isArray(tableMeta.colHeaders) && tableMeta.colHeaders[physicalColumn] !== undefined) {
|
|
3507
3663
|
result = tableMeta.colHeaders[physicalColumn];
|
|
3508
3664
|
} else if ((0, _function.isFunction)(tableMeta.colHeaders)) {
|
|
@@ -3591,7 +3747,9 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
3591
3747
|
height = Number.parseInt(height, 10);
|
|
3592
3748
|
}
|
|
3593
3749
|
}
|
|
3594
|
-
|
|
3750
|
+
const numHeight = height;
|
|
3751
|
+
const numDefaultRowHeight = defaultRowHeight;
|
|
3752
|
+
return numHeight !== undefined && numHeight !== null && numDefaultRowHeight !== null && numHeight < numDefaultRowHeight ? numDefaultRowHeight : numHeight;
|
|
3595
3753
|
};
|
|
3596
3754
|
/**
|
|
3597
3755
|
* Returns a row's height, as recognized by Handsontable.
|
|
@@ -3659,7 +3817,7 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
3659
3817
|
* @returns {number} Total number of columns.
|
|
3660
3818
|
*/ this.countCols = function() {
|
|
3661
3819
|
const maxCols = tableMeta.maxCols;
|
|
3662
|
-
const dataLen =
|
|
3820
|
+
const dataLen = instance.columnIndexMapper.getNotTrimmedIndexesLength();
|
|
3663
3821
|
return Math.min(maxCols, dataLen);
|
|
3664
3822
|
};
|
|
3665
3823
|
/**
|
|
@@ -3670,7 +3828,8 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
3670
3828
|
* @function countRenderedRows
|
|
3671
3829
|
* @returns {number} Returns -1 if table is not visible.
|
|
3672
3830
|
*/ this.countRenderedRows = function() {
|
|
3673
|
-
|
|
3831
|
+
const view = instance.view;
|
|
3832
|
+
return view._wt.drawn ? view._wt.wtTable.getRenderedRowsCount() : -1;
|
|
3674
3833
|
};
|
|
3675
3834
|
/**
|
|
3676
3835
|
* Returns the number of rendered rows that are only visible in the table viewport.
|
|
@@ -3680,7 +3839,8 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
3680
3839
|
* @function countVisibleRows
|
|
3681
3840
|
* @returns {number} Number of visible rows or -1.
|
|
3682
3841
|
*/ this.countVisibleRows = function() {
|
|
3683
|
-
|
|
3842
|
+
const view = instance.view;
|
|
3843
|
+
return view._wt.drawn ? view._wt.wtTable.getVisibleRowsCount() : -1;
|
|
3684
3844
|
};
|
|
3685
3845
|
/**
|
|
3686
3846
|
* Returns the number of rendered rows including columns that are partially or fully rendered
|
|
@@ -3690,7 +3850,8 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
3690
3850
|
* @function countRenderedCols
|
|
3691
3851
|
* @returns {number} Returns -1 if table is not visible.
|
|
3692
3852
|
*/ this.countRenderedCols = function() {
|
|
3693
|
-
|
|
3853
|
+
const view = instance.view;
|
|
3854
|
+
return view._wt.drawn ? view._wt.wtTable.getRenderedColumnsCount() : -1;
|
|
3694
3855
|
};
|
|
3695
3856
|
/**
|
|
3696
3857
|
* Returns the number of rendered columns that are only visible in the table viewport.
|
|
@@ -3700,7 +3861,8 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
3700
3861
|
* @function countVisibleCols
|
|
3701
3862
|
* @returns {number} Number of visible columns or -1.
|
|
3702
3863
|
*/ this.countVisibleCols = function() {
|
|
3703
|
-
|
|
3864
|
+
const view = instance.view;
|
|
3865
|
+
return view._wt.drawn ? view._wt.wtTable.getVisibleColumnsCount() : -1;
|
|
3704
3866
|
};
|
|
3705
3867
|
/**
|
|
3706
3868
|
* Returns the number of rendered row headers.
|
|
@@ -3710,7 +3872,7 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
3710
3872
|
* @function countRowHeaders
|
|
3711
3873
|
* @returns {number} Number of row headers.
|
|
3712
3874
|
*/ this.countRowHeaders = function() {
|
|
3713
|
-
return
|
|
3875
|
+
return instance.view.getRowHeadersCount();
|
|
3714
3876
|
};
|
|
3715
3877
|
/**
|
|
3716
3878
|
* Returns the number of rendered column headers.
|
|
@@ -3720,7 +3882,7 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
3720
3882
|
* @function countColHeaders
|
|
3721
3883
|
* @returns {number} Number of column headers.
|
|
3722
3884
|
*/ this.countColHeaders = function() {
|
|
3723
|
-
return
|
|
3885
|
+
return instance.view.getColumnHeadersCount();
|
|
3724
3886
|
};
|
|
3725
3887
|
/**
|
|
3726
3888
|
* Returns the number of empty rows. If the optional ending parameter is `true`, returns the
|
|
@@ -3821,20 +3983,25 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
3821
3983
|
* @param {number} [endRow] If selecting a range: the visual row index of the last cell in the range.
|
|
3822
3984
|
* @param {number|string} [endColumn] If selecting a range: the visual column index (or a column property's value) of the last cell in the range.
|
|
3823
3985
|
* @param {boolean} [scrollToCell=true] `true`: scroll the viewport to the newly-selected cells. `false`: keep the previous viewport.
|
|
3824
|
-
* @param {boolean} [changeListener=true] `true`: switch the keyboard focus to Handsontable. `false`: keep the
|
|
3986
|
+
* @param {boolean} [changeListener=true] `true`: switch the keyboard focus to Handsontable. `false`: keep the
|
|
3987
|
+
* previous keyboard focus. If an element outside Handsontable (such as a custom input) currently owns the browser
|
|
3988
|
+
* focus, it remains focused after the call.
|
|
3825
3989
|
* @returns {boolean} `true`: the selection was successful, `false`: the selection failed.
|
|
3826
3990
|
*/ this.selectCell = function(row, column, endRow, endColumn, scrollToCell = true, changeListener = true) {
|
|
3827
3991
|
if ((0, _mixed.isUndefined)(row) || (0, _mixed.isUndefined)(column)) {
|
|
3828
3992
|
return false;
|
|
3829
3993
|
}
|
|
3830
|
-
|
|
3994
|
+
const rowNum = row === null || row === undefined || Number.isNaN(Number(row)) ? 0 : Number(row);
|
|
3995
|
+
const col = column === null || column === undefined || typeof column === 'number' && Number.isNaN(column) ? 0 : column;
|
|
3996
|
+
const coords = [
|
|
3831
3997
|
[
|
|
3832
|
-
|
|
3833
|
-
|
|
3834
|
-
endRow,
|
|
3835
|
-
endColumn
|
|
3998
|
+
rowNum,
|
|
3999
|
+
col,
|
|
4000
|
+
(0, _mixed.isUndefined)(endRow) ? undefined : endRow,
|
|
4001
|
+
(0, _mixed.isUndefined)(endColumn) ? undefined : endColumn
|
|
3836
4002
|
]
|
|
3837
|
-
]
|
|
4003
|
+
];
|
|
4004
|
+
return instance.selectCells(coords, scrollToCell, changeListener);
|
|
3838
4005
|
};
|
|
3839
4006
|
/**
|
|
3840
4007
|
* Select multiple cells or ranges of cells, adjacent or non-adjacent.
|
|
@@ -3890,7 +4057,9 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
3890
4057
|
* passed either as an array of arrays (`[[rowStart, columnStart, rowEnd, columnEnd], ...]`)
|
|
3891
4058
|
* or as an array of [`CellRange`](@/api/cellRange.md) objects.
|
|
3892
4059
|
* @param {boolean} [scrollToCell=true] `true`: scroll the viewport to the newly-selected cells. `false`: keep the previous viewport.
|
|
3893
|
-
* @param {boolean} [changeListener=true] `true`: switch the keyboard focus to Handsontable. `false`: keep the
|
|
4060
|
+
* @param {boolean} [changeListener=true] `true`: switch the keyboard focus to Handsontable. `false`: keep the
|
|
4061
|
+
* previous keyboard focus. If an element outside Handsontable (such as a custom input) currently owns the browser
|
|
4062
|
+
* focus, it remains focused after the call.
|
|
3894
4063
|
* @returns {boolean} `true`: the selection was successful, `false`: the selection failed.
|
|
3895
4064
|
*/ this.selectCells = function(coords = [
|
|
3896
4065
|
[]
|
|
@@ -3898,11 +4067,21 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
3898
4067
|
if (scrollToCell === false) {
|
|
3899
4068
|
viewportScroller.suspend();
|
|
3900
4069
|
}
|
|
3901
|
-
|
|
4070
|
+
if (changeListener === false) {
|
|
4071
|
+
focusGridManager.suspend();
|
|
4072
|
+
}
|
|
4073
|
+
let wasSelected;
|
|
4074
|
+
try {
|
|
4075
|
+
wasSelected = selection.selectCells(coords);
|
|
4076
|
+
} finally{
|
|
4077
|
+
// Always release the suspended state even if `selection.selectCells` throws on malformed
|
|
4078
|
+
// coordinates. Otherwise the flags would leak across subsequent calls.
|
|
4079
|
+
viewportScroller.resume();
|
|
4080
|
+
focusGridManager.resume();
|
|
4081
|
+
}
|
|
3902
4082
|
if (wasSelected && changeListener) {
|
|
3903
4083
|
instance.listen();
|
|
3904
4084
|
}
|
|
3905
|
-
viewportScroller.resume();
|
|
3906
4085
|
return wasSelected;
|
|
3907
4086
|
};
|
|
3908
4087
|
/**
|
|
@@ -4033,6 +4212,28 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
4033
4212
|
return indexMapper.getNearestNotHiddenIndex(visualIndex, 1, true);
|
|
4034
4213
|
};
|
|
4035
4214
|
/**
|
|
4215
|
+
* Resolves renderable row and column indexes for scrolling, accounting for hidden indexes.
|
|
4216
|
+
*
|
|
4217
|
+
* @param {number|undefined} row Visual row index.
|
|
4218
|
+
* @param {number|undefined} col Visual column index.
|
|
4219
|
+
* @returns {{renderableRow: number|undefined, renderableColumn: number|undefined}|false} Resolved
|
|
4220
|
+
* renderable indexes, or `false` when scrolling target is not reachable.
|
|
4221
|
+
*/ const resolveRenderableScrollTarget = (row, col)=>{
|
|
4222
|
+
const isValidRowGrid = row !== undefined && Number.isInteger(row) && row >= 0;
|
|
4223
|
+
const isValidColumnGrid = col !== undefined && Number.isInteger(col) && col >= 0;
|
|
4224
|
+
const visualRowToScroll = isValidRowGrid ? getIndexToScroll(instance.rowIndexMapper, row) : undefined;
|
|
4225
|
+
const visualColumnToScroll = isValidColumnGrid ? getIndexToScroll(instance.columnIndexMapper, col) : undefined;
|
|
4226
|
+
if (visualRowToScroll === null || visualColumnToScroll === null) {
|
|
4227
|
+
return false;
|
|
4228
|
+
}
|
|
4229
|
+
const renderableRow = isValidRowGrid ? instance.rowIndexMapper.getRenderableFromVisualIndex(visualRowToScroll) ?? undefined : row;
|
|
4230
|
+
const renderableColumn = isValidColumnGrid ? instance.columnIndexMapper.getRenderableFromVisualIndex(visualColumnToScroll) ?? undefined : col;
|
|
4231
|
+
return {
|
|
4232
|
+
renderableRow,
|
|
4233
|
+
renderableColumn
|
|
4234
|
+
};
|
|
4235
|
+
};
|
|
4236
|
+
/**
|
|
4036
4237
|
* Scroll viewport to coordinates specified by the `row` and/or `col` object properties.
|
|
4037
4238
|
*
|
|
4038
4239
|
* ```js
|
|
@@ -4075,14 +4276,14 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
4075
4276
|
*/ this.scrollViewportTo = function(options, callback) {
|
|
4076
4277
|
// Support for backward compatibility arguments: (row, col, snapToBottom, snapToRight, considerHiddenIndexes)
|
|
4077
4278
|
if (typeof options === 'number') {
|
|
4078
|
-
/* eslint-disable prefer-rest-params */ options = {
|
|
4279
|
+
/* eslint-disable prefer-rest-params, @typescript-eslint/no-unsafe-assignment */ options = {
|
|
4079
4280
|
row: arguments[0],
|
|
4080
4281
|
col: arguments[1],
|
|
4081
4282
|
verticalSnap: arguments[2] ? 'bottom' : 'top',
|
|
4082
4283
|
horizontalSnap: arguments[3] ? 'end' : 'start',
|
|
4083
4284
|
considerHiddenIndexes: arguments[4] ?? true
|
|
4084
4285
|
};
|
|
4085
|
-
/* eslint-enable prefer-rest-params */ }
|
|
4286
|
+
/* eslint-enable prefer-rest-params, @typescript-eslint/no-unsafe-assignment */ }
|
|
4086
4287
|
const { row, col, considerHiddenIndexes } = options ?? {};
|
|
4087
4288
|
let renderableRow = row;
|
|
4088
4289
|
let renderableColumn = col;
|
|
@@ -4090,15 +4291,12 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
4090
4291
|
this.addHookOnce('afterScroll', callback);
|
|
4091
4292
|
}
|
|
4092
4293
|
if (considerHiddenIndexes === undefined || considerHiddenIndexes) {
|
|
4093
|
-
const
|
|
4094
|
-
|
|
4095
|
-
const visualRowToScroll = isValidRowGrid ? getIndexToScroll(this.rowIndexMapper, row) : undefined;
|
|
4096
|
-
const visualColumnToScroll = isValidColumnGrid ? getIndexToScroll(this.columnIndexMapper, col) : undefined;
|
|
4097
|
-
if (visualRowToScroll === null || visualColumnToScroll === null) {
|
|
4294
|
+
const resolved = resolveRenderableScrollTarget(row, col);
|
|
4295
|
+
if (resolved === false) {
|
|
4098
4296
|
return false;
|
|
4099
4297
|
}
|
|
4100
|
-
renderableRow =
|
|
4101
|
-
renderableColumn =
|
|
4298
|
+
renderableRow = resolved.renderableRow;
|
|
4299
|
+
renderableColumn = resolved.renderableColumn;
|
|
4102
4300
|
}
|
|
4103
4301
|
const isRowInteger = Number.isInteger(renderableRow);
|
|
4104
4302
|
const isColumnInteger = Number.isInteger(renderableColumn);
|
|
@@ -4131,20 +4329,20 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
4131
4329
|
* @param {Function} [callback] The callback function to call after the viewport is scrolled.
|
|
4132
4330
|
* @returns {boolean} `true` if the viewport was scrolled, `false` otherwise.
|
|
4133
4331
|
*/ this.scrollToFocusedCell = function(callback) {
|
|
4134
|
-
if (!
|
|
4332
|
+
if (!instance.selection.isSelected()) {
|
|
4135
4333
|
return false;
|
|
4136
4334
|
}
|
|
4137
4335
|
if ((0, _function.isFunction)(callback)) {
|
|
4138
|
-
|
|
4336
|
+
instance.addHookOnce('afterScroll', callback);
|
|
4139
4337
|
}
|
|
4140
|
-
const { highlight } =
|
|
4141
|
-
const isScrolled =
|
|
4338
|
+
const { highlight } = instance.getSelectedRangeActive();
|
|
4339
|
+
const isScrolled = instance.scrollViewportTo(highlight.toObject());
|
|
4142
4340
|
if (isScrolled) {
|
|
4143
4341
|
// fast render triggers `afterScroll` hook
|
|
4144
|
-
|
|
4342
|
+
instance.view.render();
|
|
4145
4343
|
} else if ((0, _function.isFunction)(callback)) {
|
|
4146
|
-
|
|
4147
|
-
|
|
4344
|
+
instance.removeHook('afterScroll', callback);
|
|
4345
|
+
instance._registerMicrotask(()=>callback());
|
|
4148
4346
|
}
|
|
4149
4347
|
return isScrolled;
|
|
4150
4348
|
};
|
|
@@ -4167,6 +4365,7 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
4167
4365
|
if ((0, _rootInstance.isRootInstance)(this)) {
|
|
4168
4366
|
(0, _a11yAnnouncer.uninstall)();
|
|
4169
4367
|
this.getFocusScopeManager().destroy();
|
|
4368
|
+
layoutManager?.destroy();
|
|
4170
4369
|
instance.themeManager?.destroy();
|
|
4171
4370
|
}
|
|
4172
4371
|
this.getShortcutManager().destroy();
|
|
@@ -4239,7 +4438,10 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
4239
4438
|
* @function getActiveEditor
|
|
4240
4439
|
* @returns {BaseEditor | undefined} The active editor instance, or `undefined` if no cell is selected.
|
|
4241
4440
|
*/ this.getActiveEditor = function() {
|
|
4242
|
-
|
|
4441
|
+
// During the first `afterLoadData` hook (fired from `loadData` inside `init`),
|
|
4442
|
+
// `editorManager` has not been assigned yet. Guard so callers (e.g.
|
|
4443
|
+
// `setSourceDataAtCell`) invoked from that hook do not crash.
|
|
4444
|
+
return editorManager?.getActiveEditor();
|
|
4243
4445
|
};
|
|
4244
4446
|
/**
|
|
4245
4447
|
* Returns the first rendered row in the DOM (usually, it is not visible in the table's viewport).
|
|
@@ -4523,8 +4725,9 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
4523
4725
|
* @since 7.1.0
|
|
4524
4726
|
* @returns {HTMLTableElement}
|
|
4525
4727
|
*/ this.toTableElement = ()=>{
|
|
4526
|
-
const
|
|
4527
|
-
tempElement.
|
|
4728
|
+
const rootDocument = instance.rootDocument;
|
|
4729
|
+
const tempElement = rootDocument.createElement('div');
|
|
4730
|
+
tempElement.insertAdjacentHTML('afterbegin', (0, _parseTable.instanceToHTML)(instance));
|
|
4528
4731
|
return tempElement.firstElementChild;
|
|
4529
4732
|
};
|
|
4530
4733
|
this.timeouts = [];
|
|
@@ -4537,7 +4740,7 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
4537
4740
|
* @param {string|boolean|undefined} themeName The name of the theme to use.
|
|
4538
4741
|
*/ this.useTheme = (themeName)=>{
|
|
4539
4742
|
const isFirstRun = !!firstRun;
|
|
4540
|
-
this.stylesHandler.useTheme(themeName);
|
|
4743
|
+
this.stylesHandler.useTheme(themeName ?? undefined);
|
|
4541
4744
|
const validThemeName = this.stylesHandler.getThemeName();
|
|
4542
4745
|
if (!isFirstRun && validThemeName) {
|
|
4543
4746
|
if ((0, _themes.getThemeClassName)(this.rootContainer)) {
|
|
@@ -4557,7 +4760,7 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
4557
4760
|
* @since 15.0.0
|
|
4558
4761
|
* @returns {string|undefined} The name of the currently used theme.
|
|
4559
4762
|
*/ this.getCurrentThemeName = ()=>{
|
|
4560
|
-
return
|
|
4763
|
+
return instance.stylesHandler.getThemeName() ?? null;
|
|
4561
4764
|
};
|
|
4562
4765
|
/**
|
|
4563
4766
|
* Gets the table's root container element height.
|
|
@@ -4567,7 +4770,7 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
4567
4770
|
* @since 16.0.0
|
|
4568
4771
|
* @returns {number}
|
|
4569
4772
|
*/ this.getTableHeight = ()=>{
|
|
4570
|
-
return
|
|
4773
|
+
return instance.rootElement.offsetHeight;
|
|
4571
4774
|
};
|
|
4572
4775
|
/**
|
|
4573
4776
|
* Gets the table's root container element width.
|
|
@@ -4577,7 +4780,7 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
4577
4780
|
* @since 16.0.0
|
|
4578
4781
|
* @returns {number}
|
|
4579
4782
|
*/ this.getTableWidth = ()=>{
|
|
4580
|
-
return
|
|
4783
|
+
return instance.rootElement.offsetWidth;
|
|
4581
4784
|
};
|
|
4582
4785
|
/**
|
|
4583
4786
|
* Sets timeout. Purpose of this method is to clear all known timeouts when `destroy` method is called.
|
|
@@ -4606,7 +4809,7 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
4606
4809
|
};
|
|
4607
4810
|
this.microtasks = [];
|
|
4608
4811
|
/**
|
|
4609
|
-
*
|
|
4812
|
+
* Registers a microtask callback.
|
|
4610
4813
|
*
|
|
4611
4814
|
* @param {Function} callback Function to be delayed in execution.
|
|
4612
4815
|
* @private
|
|
@@ -4663,7 +4866,7 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
4663
4866
|
return instance.isListening();
|
|
4664
4867
|
},
|
|
4665
4868
|
beforeKeyDown: (event)=>{
|
|
4666
|
-
return
|
|
4869
|
+
return instance.runHooks('beforeKeyDown', event);
|
|
4667
4870
|
},
|
|
4668
4871
|
afterKeyDown: (event)=>{
|
|
4669
4872
|
if (this.isDestroyed) {
|
|
@@ -4692,6 +4895,10 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
4692
4895
|
};
|
|
4693
4896
|
focusGridManager = new _focusManager.FocusGridManager(instance);
|
|
4694
4897
|
const focusScopeManager = (0, _rootInstance.isRootInstance)(this) ? (0, _focusManager.createFocusScopeManager)(instance) : null;
|
|
4898
|
+
const layoutManager = (0, _rootInstance.isRootInstance)(this) ? new _layout.LayoutManager({
|
|
4899
|
+
top: instance.rootSlotTopElement,
|
|
4900
|
+
bottom: instance.rootSlotBottomElement
|
|
4901
|
+
}) : null;
|
|
4695
4902
|
/**
|
|
4696
4903
|
* Return the Focus Manager responsible for managing the browser's focus in the table.
|
|
4697
4904
|
*
|
|
@@ -4727,6 +4934,26 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
4727
4934
|
}
|
|
4728
4935
|
return focusScopeManager;
|
|
4729
4936
|
};
|
|
4937
|
+
/**
|
|
4938
|
+
* Returns the Layout Manager. The module manages the order of plugin UI elements within the
|
|
4939
|
+
* user-orderable wrapper slots (`top`, `bottom`). Use it to add or remove custom UI and
|
|
4940
|
+
* order it via weights or the `layout` setting. Only available for the main instance.
|
|
4941
|
+
*
|
|
4942
|
+
* @memberof Core#
|
|
4943
|
+
* @since 18.0.0
|
|
4944
|
+
* @function getLayoutManager
|
|
4945
|
+
* @returns {LayoutManager} Instance of {@link LayoutManager}
|
|
4946
|
+
*
|
|
4947
|
+
* @example
|
|
4948
|
+
* ```js
|
|
4949
|
+
* hot.getLayoutManager().register('myToolbar', toolbarElement, { side: 'top', weight: 100 });
|
|
4950
|
+
* ```
|
|
4951
|
+
*/ this.getLayoutManager = function() {
|
|
4952
|
+
if (!(0, _rootInstance.isRootInstance)(instance)) {
|
|
4953
|
+
(0, _errors.throwWithCause)('The LayoutManager is only available for the main Handsontable instance.');
|
|
4954
|
+
}
|
|
4955
|
+
return layoutManager;
|
|
4956
|
+
};
|
|
4730
4957
|
const theme = mergedUserSettings.theme;
|
|
4731
4958
|
const themeName = mergedUserSettings.themeName;
|
|
4732
4959
|
const rootContainerThemeClassName = (0, _themes.getThemeClassName)(instance.rootContainer);
|
|
@@ -4735,9 +4962,11 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
|
|
|
4735
4962
|
}
|
|
4736
4963
|
(0, _registry.getPluginsNames)().forEach((pluginName)=>{
|
|
4737
4964
|
const PluginClass = (0, _registry.getPlugin)(pluginName);
|
|
4738
|
-
|
|
4965
|
+
if (PluginClass) {
|
|
4966
|
+
pluginsRegistry.addItem(pluginName, new PluginClass(this));
|
|
4967
|
+
}
|
|
4739
4968
|
});
|
|
4740
|
-
(0,
|
|
4969
|
+
(0, _contexts.registerAllShortcutContexts)(instance);
|
|
4741
4970
|
if ((0, _rootInstance.isRootInstance)(this)) {
|
|
4742
4971
|
(0, _focusManager.registerAllFocusScopes)(instance);
|
|
4743
4972
|
}
|