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.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { addClass, empty, observeVisibilityChangeOnce, removeClass } from './helpers/dom/element.mjs';
|
|
2
2
|
import { isFunction } from './helpers/function.mjs';
|
|
3
|
-
import { isDefined, isUndefined, isRegExp,
|
|
3
|
+
import { isDefined, isUndefined, isRegExp, isEmpty } from './helpers/mixed.mjs';
|
|
4
4
|
import { isMobileBrowser, isIpadOS } from './helpers/browser.mjs';
|
|
5
5
|
import EditorManager from './editorManager.mjs';
|
|
6
6
|
import EventManager from './eventManager.mjs';
|
|
@@ -27,16 +27,59 @@ import { createViewportScroller, Hooks, CellRangeToRenderableMapper } from './co
|
|
|
27
27
|
import { FocusGridManager, createFocusScopeManager, registerAllFocusScopes } from './focusManager/index.mjs';
|
|
28
28
|
import { createUniqueMap } from './utils/dataStructures/uniqueMap.mjs';
|
|
29
29
|
import { createShortcutManager } from './shortcuts/index.mjs';
|
|
30
|
-
import { registerAllShortcutContexts } from './
|
|
30
|
+
import { registerAllShortcutContexts } from './shortcuts/contexts/index.mjs';
|
|
31
31
|
import { getThemeClassName } from './helpers/themes.mjs';
|
|
32
32
|
import { StylesHandler } from './utils/stylesHandler.mjs';
|
|
33
33
|
import { warn } from './helpers/console.mjs';
|
|
34
34
|
import { throwWithCause } from './helpers/errors.mjs';
|
|
35
35
|
import { install as installAccessibilityAnnouncer, uninstall as uninstallAccessibilityAnnouncer } from './utils/a11yAnnouncer.mjs';
|
|
36
|
+
import { initLicenseNotification } from './utils/licenseNotification.mjs';
|
|
36
37
|
import { getValueSetterValue } from './utils/valueAccessors.mjs';
|
|
37
38
|
import { createThemeManager } from './themes/engine/index.mjs';
|
|
39
|
+
import { LayoutManager } from './core/layout/index.mjs';
|
|
38
40
|
import { getTheme, hasTheme, registerTheme, mainTheme } from './themes/index.mjs';
|
|
41
|
+
import DataMap from './dataMap/dataMap.mjs';
|
|
39
42
|
let activeGuid = null;
|
|
43
|
+
/**
|
|
44
|
+
* Normalizes an array of `[index, amount]` pairs by merging overlapping or adjacent groups
|
|
45
|
+
* into the smallest set of non-overlapping groups, sorted in ascending order.
|
|
46
|
+
*
|
|
47
|
+
* @param {number[][]} indexes Array of `[index, amount]` pairs to normalize.
|
|
48
|
+
* @returns {number[][]} Normalized array of `[index, amount]` pairs.
|
|
49
|
+
*/ function normalizeIndexesGroup(indexes) {
|
|
50
|
+
if (indexes.length === 0) {
|
|
51
|
+
return [];
|
|
52
|
+
}
|
|
53
|
+
const sortedIndexes = [
|
|
54
|
+
...indexes
|
|
55
|
+
];
|
|
56
|
+
// Sort the indexes in ascending order.
|
|
57
|
+
sortedIndexes.sort(([indexA], [indexB])=>{
|
|
58
|
+
if (indexA === indexB) {
|
|
59
|
+
return 0;
|
|
60
|
+
}
|
|
61
|
+
return indexA > indexB ? 1 : -1;
|
|
62
|
+
});
|
|
63
|
+
// Normalize the {index, amount} groups into bigger groups.
|
|
64
|
+
const normalizedIndexes = arrayReduce(sortedIndexes, (acc, [groupIndex, groupAmount])=>{
|
|
65
|
+
const previousItem = acc[acc.length - 1];
|
|
66
|
+
const [prevIndex, prevAmount] = previousItem;
|
|
67
|
+
const prevLastIndex = prevIndex + prevAmount;
|
|
68
|
+
if (groupIndex <= prevLastIndex) {
|
|
69
|
+
const amountToAdd = Math.max(groupAmount - (prevLastIndex - groupIndex), 0);
|
|
70
|
+
previousItem[1] += amountToAdd;
|
|
71
|
+
} else {
|
|
72
|
+
acc.push([
|
|
73
|
+
groupIndex,
|
|
74
|
+
groupAmount
|
|
75
|
+
]);
|
|
76
|
+
}
|
|
77
|
+
return acc;
|
|
78
|
+
}, [
|
|
79
|
+
sortedIndexes[0]
|
|
80
|
+
]);
|
|
81
|
+
return normalizedIndexes;
|
|
82
|
+
}
|
|
40
83
|
/**
|
|
41
84
|
* Keeps the collection of the all Handsontable instances created on the same page. The
|
|
42
85
|
* list is then used to trigger the "afterUnlisten" hook when the "listen()" method was
|
|
@@ -48,9 +91,8 @@ let activeGuid = null;
|
|
|
48
91
|
* A set of deprecated feature names.
|
|
49
92
|
*
|
|
50
93
|
* @type {Set<string>}
|
|
51
|
-
*/
|
|
52
|
-
|
|
53
|
-
/* eslint-disable jsdoc/require-description-complete-sentence */ /**
|
|
94
|
+
*/ const deprecationWarns = new Set();
|
|
95
|
+
/**
|
|
54
96
|
* Handsontable constructor.
|
|
55
97
|
*
|
|
56
98
|
* @core
|
|
@@ -165,19 +207,47 @@ const deprecationWarns = new Set();
|
|
|
165
207
|
*
|
|
166
208
|
* @private
|
|
167
209
|
* @type {HTMLElement}
|
|
168
|
-
*/ this.rootWrapperElement =
|
|
210
|
+
*/ this.rootWrapperElement = null;
|
|
169
211
|
/**
|
|
170
212
|
* Reference to the grid element.
|
|
171
213
|
*
|
|
172
214
|
* @private
|
|
173
215
|
* @type {HTMLElement}
|
|
174
|
-
*/ this.rootGridElement =
|
|
216
|
+
*/ this.rootGridElement = null;
|
|
217
|
+
/**
|
|
218
|
+
* Reference to the grid content element. Wraps the grid (table) together with the grid focus-scope
|
|
219
|
+
* tab-catchers, so siblings of this element inside `ht-grid` (e.g. the empty-data-state) stay
|
|
220
|
+
* outside the grid focus scope.
|
|
221
|
+
*
|
|
222
|
+
* @private
|
|
223
|
+
* @type {HTMLElement}
|
|
224
|
+
*/ this.rootGridContentElement = null;
|
|
225
|
+
/**
|
|
226
|
+
* Reference to the top slot element. A wrapper slot rendered above the grid for plugin UI
|
|
227
|
+
* (for example toolbars). Ordered through the layout manager.
|
|
228
|
+
*
|
|
229
|
+
* @private
|
|
230
|
+
* @type {HTMLElement}
|
|
231
|
+
*/ this.rootSlotTopElement = null;
|
|
232
|
+
/**
|
|
233
|
+
* Reference to the bottom slot element (pagination, license notification).
|
|
234
|
+
*
|
|
235
|
+
* @private
|
|
236
|
+
* @type {HTMLElement}
|
|
237
|
+
*/ this.rootSlotBottomElement = null;
|
|
238
|
+
/**
|
|
239
|
+
* Reference to the overlays element (dialog). Note: the empty-data-state lives inside the grid
|
|
240
|
+
* element (`ht-grid`), not here.
|
|
241
|
+
*
|
|
242
|
+
* @private
|
|
243
|
+
* @type {HTMLElement}
|
|
244
|
+
*/ this.rootOverlaysElement = null;
|
|
175
245
|
/**
|
|
176
246
|
* Reference to the portal element.
|
|
177
247
|
*
|
|
178
248
|
* @private
|
|
179
249
|
* @type {HTMLElement}
|
|
180
|
-
*/ this.rootPortalElement =
|
|
250
|
+
*/ this.rootPortalElement = null;
|
|
181
251
|
// TODO: check if references to DOM elements should be move to UI layer (Walkontable)
|
|
182
252
|
/**
|
|
183
253
|
* Reference to the container element.
|
|
@@ -199,16 +269,28 @@ const deprecationWarns = new Set();
|
|
|
199
269
|
*/ this.rootWindow = this.rootDocument.defaultView;
|
|
200
270
|
if (isRootInstance(this)) {
|
|
201
271
|
this.rootWrapperElement = this.rootDocument.createElement('div');
|
|
272
|
+
this.rootSlotTopElement = this.rootDocument.createElement('div');
|
|
202
273
|
this.rootGridElement = this.rootDocument.createElement('div');
|
|
274
|
+
this.rootGridContentElement = this.rootDocument.createElement('div');
|
|
275
|
+
this.rootOverlaysElement = this.rootDocument.createElement('div');
|
|
276
|
+
this.rootSlotBottomElement = this.rootDocument.createElement('div');
|
|
203
277
|
this.rootPortalElement = this.rootDocument.createElement('div');
|
|
204
278
|
addClass(this.rootElement, [
|
|
205
279
|
'ht-wrapper',
|
|
206
280
|
'handsontable'
|
|
207
281
|
]);
|
|
208
282
|
addClass(this.rootWrapperElement, 'ht-root-wrapper');
|
|
283
|
+
addClass(this.rootSlotTopElement, 'ht-slot-top');
|
|
209
284
|
addClass(this.rootGridElement, 'ht-grid');
|
|
210
|
-
|
|
285
|
+
addClass(this.rootGridContentElement, 'ht-grid-content');
|
|
286
|
+
addClass(this.rootOverlaysElement, 'ht-overlay');
|
|
287
|
+
addClass(this.rootSlotBottomElement, 'ht-slot-bottom');
|
|
288
|
+
this.rootGridContentElement.appendChild(this.rootElement);
|
|
289
|
+
this.rootGridElement.appendChild(this.rootGridContentElement);
|
|
290
|
+
this.rootWrapperElement.appendChild(this.rootSlotTopElement);
|
|
211
291
|
this.rootWrapperElement.appendChild(this.rootGridElement);
|
|
292
|
+
this.rootWrapperElement.appendChild(this.rootSlotBottomElement);
|
|
293
|
+
this.rootWrapperElement.appendChild(this.rootOverlaysElement);
|
|
212
294
|
this.rootContainer.appendChild(this.rootWrapperElement);
|
|
213
295
|
this.rootWrapperElement.__hotInstance = this;
|
|
214
296
|
addClass(this.rootPortalElement, 'ht-portal');
|
|
@@ -392,13 +474,16 @@ const deprecationWarns = new Set();
|
|
|
392
474
|
countCols: ()=>instance.countCols(),
|
|
393
475
|
countRows: ()=>instance.countRows(),
|
|
394
476
|
propToCol: (prop)=>datamap.propToCol(prop),
|
|
395
|
-
isEditorOpened: ()=>
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
477
|
+
isEditorOpened: ()=>{
|
|
478
|
+
const editor = instance.getActiveEditor();
|
|
479
|
+
return editor ? editor.isOpened() : false;
|
|
480
|
+
},
|
|
481
|
+
countRenderableColumns: ()=>instance.view.countRenderableColumns(),
|
|
482
|
+
countRenderableRows: ()=>instance.view.countRenderableRows(),
|
|
483
|
+
countRowHeaders: ()=>instance.countRowHeaders(),
|
|
484
|
+
countColHeaders: ()=>instance.countColHeaders(),
|
|
485
|
+
countRenderableRowsInRange: (rowStart, rowEnd)=>instance.view.countRenderableRowsInRange(rowStart, rowEnd),
|
|
486
|
+
countRenderableColumnsInRange: (columnStart, columnEnd)=>instance.view.countRenderableColumnsInRange(columnStart, columnEnd),
|
|
402
487
|
getShortcutManager: ()=>instance.getShortcutManager(),
|
|
403
488
|
createCellCoords: (row, column)=>instance._createCellCoords(row, column),
|
|
404
489
|
createCellRange: (highlight, from, to)=>instance._createCellRange(highlight, from, to),
|
|
@@ -474,7 +559,7 @@ const deprecationWarns = new Set();
|
|
|
474
559
|
'updateData',
|
|
475
560
|
'deselect'
|
|
476
561
|
].includes(selectionSource)) {
|
|
477
|
-
editorManager.closeEditor(
|
|
562
|
+
editorManager.closeEditor();
|
|
478
563
|
}
|
|
479
564
|
if (![
|
|
480
565
|
'refresh',
|
|
@@ -527,7 +612,7 @@ const deprecationWarns = new Set();
|
|
|
527
612
|
]);
|
|
528
613
|
this.runHooks('afterDeselect');
|
|
529
614
|
});
|
|
530
|
-
this.selection.addLocalHook('beforeHighlightSet', ()=>
|
|
615
|
+
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'));
|
|
531
616
|
grid = {
|
|
532
617
|
/**
|
|
533
618
|
* Inserts or removes rows and columns.
|
|
@@ -547,40 +632,6 @@ const deprecationWarns = new Set();
|
|
|
547
632
|
if (skipAlter === false) {
|
|
548
633
|
return;
|
|
549
634
|
}
|
|
550
|
-
const normalizeIndexesGroup = (indexes)=>{
|
|
551
|
-
if (indexes.length === 0) {
|
|
552
|
-
return [];
|
|
553
|
-
}
|
|
554
|
-
const sortedIndexes = [
|
|
555
|
-
...indexes
|
|
556
|
-
];
|
|
557
|
-
// Sort the indexes in ascending order.
|
|
558
|
-
sortedIndexes.sort(([indexA], [indexB])=>{
|
|
559
|
-
if (indexA === indexB) {
|
|
560
|
-
return 0;
|
|
561
|
-
}
|
|
562
|
-
return indexA > indexB ? 1 : -1;
|
|
563
|
-
});
|
|
564
|
-
// Normalize the {index, amount} groups into bigger groups.
|
|
565
|
-
const normalizedIndexes = arrayReduce(sortedIndexes, (acc, [groupIndex, groupAmount])=>{
|
|
566
|
-
const previousItem = acc[acc.length - 1];
|
|
567
|
-
const [prevIndex, prevAmount] = previousItem;
|
|
568
|
-
const prevLastIndex = prevIndex + prevAmount;
|
|
569
|
-
if (groupIndex <= prevLastIndex) {
|
|
570
|
-
const amountToAdd = Math.max(groupAmount - (prevLastIndex - groupIndex), 0);
|
|
571
|
-
previousItem[1] += amountToAdd;
|
|
572
|
-
} else {
|
|
573
|
-
acc.push([
|
|
574
|
-
groupIndex,
|
|
575
|
-
groupAmount
|
|
576
|
-
]);
|
|
577
|
-
}
|
|
578
|
-
return acc;
|
|
579
|
-
}, [
|
|
580
|
-
sortedIndexes[0]
|
|
581
|
-
]);
|
|
582
|
-
return normalizedIndexes;
|
|
583
|
-
};
|
|
584
635
|
/* eslint-disable no-case-declarations */ switch(action){
|
|
585
636
|
case 'insert_row_below':
|
|
586
637
|
case 'insert_row_above':
|
|
@@ -591,9 +642,9 @@ const deprecationWarns = new Set();
|
|
|
591
642
|
// `above` is the default behavior for creating new rows
|
|
592
643
|
const insertRowMode = action === 'insert_row_below' ? 'below' : 'above';
|
|
593
644
|
// Calling the `insert_row_above` action adds a new row at the beginning of the data set.
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
const { delta: rowDelta, startPhysicalIndex: startRowPhysicalIndex } = datamap.createRow(
|
|
645
|
+
const defaultRowIndex = insertRowMode === 'below' ? numberOfSourceRows : 0;
|
|
646
|
+
const rowIndex = typeof index === 'number' ? index : defaultRowIndex;
|
|
647
|
+
const { delta: rowDelta, startPhysicalIndex: startRowPhysicalIndex } = datamap.createRow(rowIndex, amount, {
|
|
597
648
|
source,
|
|
598
649
|
mode: insertRowMode
|
|
599
650
|
});
|
|
@@ -604,9 +655,9 @@ const deprecationWarns = new Set();
|
|
|
604
655
|
// "start" is a default behavior for creating new columns
|
|
605
656
|
const insertColumnMode = action === 'insert_col_end' ? 'end' : 'start';
|
|
606
657
|
// Calling the `insert_col_start` action adds a new column to the left of the data set.
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
const { delta: colDelta, startPhysicalIndex: startColumnPhysicalIndex } = datamap.createCol(
|
|
658
|
+
const defaultColIndex = insertColumnMode === 'end' ? instance.countSourceCols() : 0;
|
|
659
|
+
const colIndex = typeof index === 'number' ? index : defaultColIndex;
|
|
660
|
+
const { delta: colDelta, startPhysicalIndex: startColumnPhysicalIndex } = datamap.createCol(colIndex, amount, {
|
|
610
661
|
source,
|
|
611
662
|
mode: insertColumnMode
|
|
612
663
|
});
|
|
@@ -631,7 +682,6 @@ const deprecationWarns = new Set();
|
|
|
631
682
|
// If the 'index' is an integer decrease it by 'offset' otherwise pass it through to make the value
|
|
632
683
|
// compatible with datamap.removeCol method.
|
|
633
684
|
if (Number.isInteger(groupIndex)) {
|
|
634
|
-
// eslint-disable-next-line no-param-reassign
|
|
635
685
|
groupIndex = Math.max(groupIndex - offset, 0);
|
|
636
686
|
}
|
|
637
687
|
// TODO: for datamap.removeRow index should be passed as it is (with undefined and null values). If not, the logic
|
|
@@ -689,7 +739,6 @@ const deprecationWarns = new Set();
|
|
|
689
739
|
// If the 'index' is an integer decrease it by 'offset' otherwise pass it through to make the value
|
|
690
740
|
// compatible with datamap.removeCol method.
|
|
691
741
|
if (Number.isInteger(groupIndex)) {
|
|
692
|
-
// eslint-disable-next-line no-param-reassign
|
|
693
742
|
groupIndex = Math.max(groupIndex - offset, 0);
|
|
694
743
|
}
|
|
695
744
|
// TODO: for datamap.removeCol index should be passed as it is (with undefined and null values). If not, the logic
|
|
@@ -782,7 +831,7 @@ const deprecationWarns = new Set();
|
|
|
782
831
|
}
|
|
783
832
|
}
|
|
784
833
|
{
|
|
785
|
-
let emptyCols;
|
|
834
|
+
let emptyCols = 0;
|
|
786
835
|
// count currently empty cols
|
|
787
836
|
if (minCols || minSpareCols) {
|
|
788
837
|
emptyCols = instance.countEmptyCols(true);
|
|
@@ -983,11 +1032,17 @@ const deprecationWarns = new Set();
|
|
|
983
1032
|
if (cellMeta.parsePastedValue && source === 'CopyPaste.paste') {
|
|
984
1033
|
pushData = true;
|
|
985
1034
|
}
|
|
1035
|
+
// Editor saves always accept the new value regardless of the original cell type (#3234)
|
|
1036
|
+
if (source === 'edit') {
|
|
1037
|
+
pushData = true;
|
|
1038
|
+
value = deepClone(value);
|
|
1039
|
+
}
|
|
986
1040
|
} else if (orgValue !== null) {
|
|
987
1041
|
const orgValueSchema = duckSchema(Array.isArray(orgValue) ? orgValue : orgValue[0] || orgValue);
|
|
988
1042
|
const valueSchema = duckSchema(Array.isArray(value) ? value : value[0] || value);
|
|
989
1043
|
// Allow overwriting values with the same object-based schema or any array-based schema.
|
|
990
1044
|
if (hasValueSetter || // If the cell has a value setter, we don't know the value schema (it's dynamic)
|
|
1045
|
+
source === 'edit' || // Editor saves always accept the new value regardless of schema (#3234)
|
|
991
1046
|
isObjectEqual(orgValueSchema, valueSchema) || Array.isArray(orgValueSchema) && Array.isArray(valueSchema)) {
|
|
992
1047
|
value = deepClone(value);
|
|
993
1048
|
} else {
|
|
@@ -1039,12 +1094,15 @@ const deprecationWarns = new Set();
|
|
|
1039
1094
|
*/ function setClassName(className, classSettings) {
|
|
1040
1095
|
const element = className === 'className' ? instance.rootElement : instance.table;
|
|
1041
1096
|
if (firstRun) {
|
|
1042
|
-
|
|
1097
|
+
if (classSettings !== undefined) {
|
|
1098
|
+
addClass(element, classSettings);
|
|
1099
|
+
}
|
|
1043
1100
|
} else {
|
|
1044
1101
|
let globalMetaSettingsArray = [];
|
|
1045
1102
|
let settingsArray = [];
|
|
1046
1103
|
if (globalMeta[className]) {
|
|
1047
|
-
|
|
1104
|
+
const globalMetaValue = globalMeta[className];
|
|
1105
|
+
globalMetaSettingsArray = Array.isArray(globalMetaValue) ? globalMetaValue : stringToArray(String(globalMetaValue));
|
|
1048
1106
|
}
|
|
1049
1107
|
if (classSettings) {
|
|
1050
1108
|
settingsArray = Array.isArray(classSettings) ? classSettings : stringToArray(classSettings);
|
|
@@ -1061,6 +1119,12 @@ const deprecationWarns = new Set();
|
|
|
1061
1119
|
globalMeta[className] = classSettings;
|
|
1062
1120
|
}
|
|
1063
1121
|
this.init = function() {
|
|
1122
|
+
const theme = tableMeta.theme;
|
|
1123
|
+
const themeName = tableMeta.themeName;
|
|
1124
|
+
const rootContainerThemeClassName = getThemeClassName(instance.rootContainer);
|
|
1125
|
+
if (isRootInstance(instance) && !rootContainerThemeClassName && (isObject(theme) || !theme && !themeName)) {
|
|
1126
|
+
initializeThemeManager(theme);
|
|
1127
|
+
}
|
|
1064
1128
|
dataSource.setData(tableMeta.data);
|
|
1065
1129
|
instance.runHooks('beforeInit');
|
|
1066
1130
|
if (isMobileBrowser() || isIpadOS()) {
|
|
@@ -1073,7 +1137,37 @@ const deprecationWarns = new Set();
|
|
|
1073
1137
|
focusGridManager.init();
|
|
1074
1138
|
if (isRootInstance(this)) {
|
|
1075
1139
|
installAccessibilityAnnouncer(instance.rootPortalElement);
|
|
1076
|
-
|
|
1140
|
+
initLicenseNotification(instance);
|
|
1141
|
+
// Keep the edge slots (top, bottom) as wide as the table so their content
|
|
1142
|
+
// (toolbars, pagination, license notification) aligns with the grid.
|
|
1143
|
+
const lastEdgeWidths = {
|
|
1144
|
+
top: -1,
|
|
1145
|
+
bottom: -1
|
|
1146
|
+
};
|
|
1147
|
+
const syncEdgeSlotsWidth = ()=>{
|
|
1148
|
+
if (instance.isDestroyed) {
|
|
1149
|
+
return;
|
|
1150
|
+
}
|
|
1151
|
+
const { view } = instance;
|
|
1152
|
+
if (!view) {
|
|
1153
|
+
return;
|
|
1154
|
+
}
|
|
1155
|
+
let width = view.isHorizontallyScrollableByWindow() ? view.getTotalTableWidth() : view.getWorkspaceWidth();
|
|
1156
|
+
if (width === 0 && instance.rootWrapperElement) {
|
|
1157
|
+
width = instance.rootWrapperElement.offsetWidth;
|
|
1158
|
+
}
|
|
1159
|
+
// Only write when the value actually changes — avoids a reflow → dimension-refresh
|
|
1160
|
+
// → re-sync feedback loop, and needless layout writes during volatile renders.
|
|
1161
|
+
if (instance.rootSlotBottomElement && width !== lastEdgeWidths.bottom) {
|
|
1162
|
+
lastEdgeWidths.bottom = width;
|
|
1163
|
+
instance.rootSlotBottomElement.style.width = `${width}px`;
|
|
1164
|
+
}
|
|
1165
|
+
if (instance.rootSlotTopElement && width !== lastEdgeWidths.top) {
|
|
1166
|
+
lastEdgeWidths.top = width;
|
|
1167
|
+
instance.rootSlotTopElement.style.width = `${width}px`;
|
|
1168
|
+
}
|
|
1169
|
+
};
|
|
1170
|
+
this.addHook('afterRender', syncEdgeSlotsWidth);
|
|
1077
1171
|
}
|
|
1078
1172
|
instance.runHooks('init');
|
|
1079
1173
|
this.render();
|
|
@@ -1131,7 +1225,7 @@ const deprecationWarns = new Set();
|
|
|
1131
1225
|
this.validatorsInQueue = this.validatorsInQueue - 1 < 0 ? 0 : this.validatorsInQueue - 1;
|
|
1132
1226
|
this.checkIfQueueIsEmpty();
|
|
1133
1227
|
},
|
|
1134
|
-
onQueueEmpty () {},
|
|
1228
|
+
onQueueEmpty (_valid) {},
|
|
1135
1229
|
checkIfQueueIsEmpty () {
|
|
1136
1230
|
if (this.validatorsInQueue === 0 && resolved === false) {
|
|
1137
1231
|
resolved = true;
|
|
@@ -1162,9 +1256,34 @@ const deprecationWarns = new Set();
|
|
|
1162
1256
|
return;
|
|
1163
1257
|
}
|
|
1164
1258
|
const activeEditor = instance.getActiveEditor();
|
|
1165
|
-
const waitingForValidator =
|
|
1259
|
+
const waitingForValidator = ValidatorsQueue();
|
|
1166
1260
|
let shouldBeCanceled = true;
|
|
1261
|
+
// Track value corrections applied by validators via setDataAtCell during the validation window.
|
|
1262
|
+
// Without this, a corrected value written by a nested setDataAtCell call gets overwritten when
|
|
1263
|
+
// applyChanges() runs on the original changes array. The hook is removed before applyChanges()
|
|
1264
|
+
// runs (in onQueueEmpty), so it does not capture the parent apply itself.
|
|
1265
|
+
//
|
|
1266
|
+
// Source filtering is structurally required: each nested validateChanges() call registers its
|
|
1267
|
+
// own onAfterChange hook. Without filtering, when the parent applyChanges() fires afterChange,
|
|
1268
|
+
// the nested hook would intercept it and corrupt the nested changes array. Filtering to sources
|
|
1269
|
+
// that end with 'Validator' ensures only corrections emitted by validators are captured, never
|
|
1270
|
+
// values applied by applyChanges(). Custom validators that correct values must follow this
|
|
1271
|
+
// convention by passing a source ending in 'Validator' to their setDataAtCell call.
|
|
1272
|
+
const applyValidatorCorrection = ([changedRow, changedProp, , correctedValue])=>{
|
|
1273
|
+
const idx = changes.findIndex(([row, prop])=>row === changedRow && prop === changedProp);
|
|
1274
|
+
if (idx !== -1) {
|
|
1275
|
+
changes[idx][3] = correctedValue;
|
|
1276
|
+
}
|
|
1277
|
+
};
|
|
1278
|
+
const onAfterChange = (afterChanges, afterSource)=>{
|
|
1279
|
+
if (typeof afterSource !== 'string' || !afterSource.endsWith('Validator')) {
|
|
1280
|
+
return;
|
|
1281
|
+
}
|
|
1282
|
+
afterChanges?.forEach(applyValidatorCorrection);
|
|
1283
|
+
};
|
|
1284
|
+
instance.addHook('afterChange', onAfterChange);
|
|
1167
1285
|
waitingForValidator.onQueueEmpty = ()=>{
|
|
1286
|
+
instance.removeHook('afterChange', onAfterChange);
|
|
1168
1287
|
if (activeEditor && shouldBeCanceled && activeEditor._closeAfterDataChange && doesChangeAffectOpenedEditor(changes, activeEditor)) {
|
|
1169
1288
|
activeEditor.cancelChanges();
|
|
1170
1289
|
}
|
|
@@ -1235,7 +1354,7 @@ const deprecationWarns = new Set();
|
|
|
1235
1354
|
}
|
|
1236
1355
|
}
|
|
1237
1356
|
if (instance.dataType === 'array' && (!tableMeta.columns || tableMeta.columns.length === 0) && tableMeta.allowInsertColumn) {
|
|
1238
|
-
while(datamap.propToCol(changes[i][1]) > instance.countCols() - 1){
|
|
1357
|
+
while(Number(datamap.propToCol(changes[i][1])) > instance.countCols() - 1){
|
|
1239
1358
|
const { delta: numberOfCreatedColumns } = datamap.createCol(undefined, undefined, {
|
|
1240
1359
|
source: 'auto'
|
|
1241
1360
|
});
|
|
@@ -1266,7 +1385,7 @@ const deprecationWarns = new Set();
|
|
|
1266
1385
|
editorManager.prepareEditor();
|
|
1267
1386
|
}
|
|
1268
1387
|
instance.runHooks('afterChange', changes, source || 'edit');
|
|
1269
|
-
if (activeEditor &&
|
|
1388
|
+
if (activeEditor && activeEditor.refreshValue !== undefined && (!activeEditor.isOpened() || isOpenedEditorAffectedByChanges)) {
|
|
1270
1389
|
activeEditor.refreshValue();
|
|
1271
1390
|
}
|
|
1272
1391
|
} else {
|
|
@@ -1283,7 +1402,8 @@ const deprecationWarns = new Set();
|
|
|
1283
1402
|
* @param {number} column The column index.
|
|
1284
1403
|
* @returns {CellCoords}
|
|
1285
1404
|
*/ this._createCellCoords = function(row, column) {
|
|
1286
|
-
|
|
1405
|
+
const view = instance.view;
|
|
1406
|
+
return view._wt.createCellCoords(row, column);
|
|
1287
1407
|
};
|
|
1288
1408
|
/**
|
|
1289
1409
|
* Creates and returns the CellRange object.
|
|
@@ -1297,7 +1417,8 @@ const deprecationWarns = new Set();
|
|
|
1297
1417
|
* @param {CellCoords} to Final coordinates.
|
|
1298
1418
|
* @returns {CellRange}
|
|
1299
1419
|
*/ this._createCellRange = function(highlight, from, to) {
|
|
1300
|
-
|
|
1420
|
+
const view = instance.view;
|
|
1421
|
+
return view._wt.createCellRange(highlight, from, to);
|
|
1301
1422
|
};
|
|
1302
1423
|
/**
|
|
1303
1424
|
* Validate a single cell.
|
|
@@ -1340,19 +1461,21 @@ const deprecationWarns = new Set();
|
|
|
1340
1461
|
}(validator);
|
|
1341
1462
|
}
|
|
1342
1463
|
if (isFunction(validator)) {
|
|
1343
|
-
//
|
|
1344
|
-
|
|
1464
|
+
// When the column data accessor is a function, cellProperties.prop holds the accessor
|
|
1465
|
+
// function itself — not a usable column reference. Fall back to the visual column index
|
|
1466
|
+
// so hook listeners always receive a number or a property string, never a function.
|
|
1467
|
+
const colArg = isFunction(cellProperties.prop) ? cellProperties.visualCol : cellProperties.prop;
|
|
1468
|
+
value = instance.runHooks('beforeValidate', value, cellProperties.visualRow, colArg, source);
|
|
1345
1469
|
// To provide consistent behavior, validation should be always asynchronous
|
|
1346
1470
|
instance._registerMicrotask(()=>{
|
|
1347
1471
|
validator.call(cellProperties, value, (valid)=>{
|
|
1348
1472
|
if (!instance) {
|
|
1349
1473
|
return;
|
|
1350
1474
|
}
|
|
1351
|
-
|
|
1352
|
-
valid = instance.runHooks('afterValidate', valid, value, cellProperties.visualRow, cellProperties.prop, source);
|
|
1475
|
+
valid = instance.runHooks('afterValidate', valid, value, cellProperties.visualRow, colArg, source);
|
|
1353
1476
|
cellProperties.valid = valid;
|
|
1354
1477
|
done(valid);
|
|
1355
|
-
instance.runHooks('postAfterValidate', valid, value, cellProperties.visualRow,
|
|
1478
|
+
instance.runHooks('postAfterValidate', valid, value, cellProperties.visualRow, colArg, source);
|
|
1356
1479
|
});
|
|
1357
1480
|
});
|
|
1358
1481
|
} else {
|
|
@@ -1441,10 +1564,12 @@ const deprecationWarns = new Set();
|
|
|
1441
1564
|
// eslint-disable-next-line max-len
|
|
1442
1565
|
throwWithCause('Method `setDataAtCell` accepts row and column number as its parameters. If you want to use object property name, use method `setDataAtRowProp`');
|
|
1443
1566
|
}
|
|
1444
|
-
|
|
1445
|
-
|
|
1567
|
+
// setDataAtCell validates that column is numeric above (throws if not number).
|
|
1568
|
+
const visualColumnIndex = typeof visualColumn === 'number' ? visualColumn : 0;
|
|
1569
|
+
if (visualColumnIndex >= this.countCols()) {
|
|
1570
|
+
prop = visualColumnIndex;
|
|
1446
1571
|
} else {
|
|
1447
|
-
prop = datamap.colToProp(
|
|
1572
|
+
prop = datamap.colToProp(visualColumnIndex);
|
|
1448
1573
|
}
|
|
1449
1574
|
changes.push([
|
|
1450
1575
|
visualRow,
|
|
@@ -1574,7 +1699,7 @@ const deprecationWarns = new Set();
|
|
|
1574
1699
|
if (!(typeof input === 'object' && typeof input[0] === 'object')) {
|
|
1575
1700
|
throwWithCause('populateFromArray parameter `input` must be an array of arrays'); // API changed in 0.9-beta2, let's check if you use it correctly
|
|
1576
1701
|
}
|
|
1577
|
-
const c = typeof endRow === 'number' ? instance._createCellCoords(endRow, endCol) :
|
|
1702
|
+
const c = typeof endRow === 'number' ? instance._createCellCoords(endRow, endCol) : undefined;
|
|
1578
1703
|
return grid.populateFromArray(instance._createCellCoords(row, column), input, c, source, method);
|
|
1579
1704
|
};
|
|
1580
1705
|
/**
|
|
@@ -1617,7 +1742,7 @@ const deprecationWarns = new Set();
|
|
|
1617
1742
|
* @returns {Array[]|undefined} An array of arrays of the selection's coordinates.
|
|
1618
1743
|
*/ this.getSelected = function() {
|
|
1619
1744
|
if (selection.isSelected()) {
|
|
1620
|
-
return arrayMap(selection.getSelectedRange(), ({ from, to })=>[
|
|
1745
|
+
return arrayMap(selection.getSelectedRange().ranges, ({ from, to })=>[
|
|
1621
1746
|
from.row,
|
|
1622
1747
|
from.col,
|
|
1623
1748
|
to.row,
|
|
@@ -1633,7 +1758,7 @@ const deprecationWarns = new Set();
|
|
|
1633
1758
|
* @function getSelectedLast
|
|
1634
1759
|
* @returns {Array|undefined} An array of the selection's coordinates.
|
|
1635
1760
|
*/ this.getSelectedLast = function() {
|
|
1636
|
-
const selected =
|
|
1761
|
+
const selected = instance.getSelected();
|
|
1637
1762
|
let result;
|
|
1638
1763
|
if (selected && selected.length > 0) {
|
|
1639
1764
|
result = selected[selected.length - 1];
|
|
@@ -1649,7 +1774,7 @@ const deprecationWarns = new Set();
|
|
|
1649
1774
|
* @since 16.1.0
|
|
1650
1775
|
* @returns {number[]|undefined} Selected range as an array of coordinates or `undefined` if there is no selection.
|
|
1651
1776
|
*/ this.getSelectedActive = function() {
|
|
1652
|
-
const activeRange =
|
|
1777
|
+
const activeRange = instance.getSelectedRangeActive();
|
|
1653
1778
|
if (!activeRange) {
|
|
1654
1779
|
return;
|
|
1655
1780
|
}
|
|
@@ -1684,7 +1809,7 @@ const deprecationWarns = new Set();
|
|
|
1684
1809
|
* @since 0.36.0
|
|
1685
1810
|
* @returns {CellRange|undefined} Selected range object or `undefined` if there is no selection.
|
|
1686
1811
|
*/ this.getSelectedRangeLast = function() {
|
|
1687
|
-
const selectedRange =
|
|
1812
|
+
const selectedRange = instance.getSelectedRange();
|
|
1688
1813
|
let result;
|
|
1689
1814
|
if (selectedRange && selectedRange.length > 0) {
|
|
1690
1815
|
result = selectedRange[selectedRange.length - 1];
|
|
@@ -1738,7 +1863,7 @@ const deprecationWarns = new Set();
|
|
|
1738
1863
|
if (fromRow > toRow || fromColumn > toColumn) {
|
|
1739
1864
|
return;
|
|
1740
1865
|
}
|
|
1741
|
-
|
|
1866
|
+
const collectEmptyCellChanges = (row)=>{
|
|
1742
1867
|
rangeEach(fromColumn, toColumn, (column)=>{
|
|
1743
1868
|
if (!this.getCellMeta(row, column).readOnly) {
|
|
1744
1869
|
changes.push([
|
|
@@ -1748,7 +1873,8 @@ const deprecationWarns = new Set();
|
|
|
1748
1873
|
]);
|
|
1749
1874
|
}
|
|
1750
1875
|
});
|
|
1751
|
-
}
|
|
1876
|
+
};
|
|
1877
|
+
rangeEach(fromRow, toRow, collectEmptyCellChanges);
|
|
1752
1878
|
});
|
|
1753
1879
|
if (changes.length > 0) {
|
|
1754
1880
|
this.setDataAtCell(changes, source);
|
|
@@ -1880,9 +2006,9 @@ const deprecationWarns = new Set();
|
|
|
1880
2006
|
* });
|
|
1881
2007
|
* ```
|
|
1882
2008
|
*/ this.batchRender = function(wrappedOperations) {
|
|
1883
|
-
|
|
2009
|
+
instance.suspendRender();
|
|
1884
2010
|
const result = wrappedOperations();
|
|
1885
|
-
|
|
2011
|
+
instance.resumeRender();
|
|
1886
2012
|
return result;
|
|
1887
2013
|
};
|
|
1888
2014
|
/**
|
|
@@ -1981,9 +2107,9 @@ const deprecationWarns = new Set();
|
|
|
1981
2107
|
* });
|
|
1982
2108
|
* ```
|
|
1983
2109
|
*/ this.batchExecution = function(wrappedOperations, forceFlushChanges = false) {
|
|
1984
|
-
|
|
2110
|
+
instance.suspendExecution();
|
|
1985
2111
|
const result = wrappedOperations();
|
|
1986
|
-
|
|
2112
|
+
instance.resumeExecution(forceFlushChanges);
|
|
1987
2113
|
return result;
|
|
1988
2114
|
};
|
|
1989
2115
|
/**
|
|
@@ -2020,11 +2146,11 @@ const deprecationWarns = new Set();
|
|
|
2020
2146
|
* });
|
|
2021
2147
|
* ```
|
|
2022
2148
|
*/ this.batch = function(wrappedOperations) {
|
|
2023
|
-
|
|
2024
|
-
|
|
2149
|
+
instance.suspendRender();
|
|
2150
|
+
instance.suspendExecution();
|
|
2025
2151
|
const result = wrappedOperations();
|
|
2026
|
-
|
|
2027
|
-
|
|
2152
|
+
instance.resumeExecution();
|
|
2153
|
+
instance.resumeRender();
|
|
2028
2154
|
return result;
|
|
2029
2155
|
};
|
|
2030
2156
|
/**
|
|
@@ -2169,7 +2295,7 @@ const deprecationWarns = new Set();
|
|
|
2169
2295
|
finalNrOfColumns = columnsSettings.length;
|
|
2170
2296
|
} else if (isFunction(columnsSettings)) {
|
|
2171
2297
|
if (instance.dataType === 'array') {
|
|
2172
|
-
const nrOfSourceColumns =
|
|
2298
|
+
const nrOfSourceColumns = instance.countSourceCols();
|
|
2173
2299
|
for(let columnIndex = 0; columnIndex < nrOfSourceColumns; columnIndex += 1){
|
|
2174
2300
|
if (columnsSettings(columnIndex)) {
|
|
2175
2301
|
finalNrOfColumns += 1;
|
|
@@ -2186,7 +2312,7 @@ const deprecationWarns = new Set();
|
|
|
2186
2312
|
finalNrOfColumns = Array.isArray(schema) ? schema.length : deepObjectSize(schema);
|
|
2187
2313
|
} else {
|
|
2188
2314
|
// We init index mappers by length of source data to provide indexes also for skipped indexes.
|
|
2189
|
-
finalNrOfColumns =
|
|
2315
|
+
finalNrOfColumns = instance.countSourceCols();
|
|
2190
2316
|
}
|
|
2191
2317
|
return finalNrOfColumns;
|
|
2192
2318
|
};
|
|
@@ -2225,7 +2351,7 @@ const deprecationWarns = new Set();
|
|
|
2225
2351
|
if (isUndefined(row)) {
|
|
2226
2352
|
return datamap.getAll();
|
|
2227
2353
|
}
|
|
2228
|
-
return datamap.getRange(instance._createCellCoords(row, column), instance._createCellCoords(row2, column2),
|
|
2354
|
+
return datamap.getRange(instance._createCellCoords(row, column), instance._createCellCoords(row2, column2), DataMap.DESTINATION_RENDERER);
|
|
2229
2355
|
};
|
|
2230
2356
|
/**
|
|
2231
2357
|
* Returns a string value of the selected range. Each column is separated by tab, each row is separated by a new
|
|
@@ -2307,7 +2433,6 @@ const deprecationWarns = new Set();
|
|
|
2307
2433
|
* @fires Hooks#afterUpdateSettings
|
|
2308
2434
|
*/ this.updateSettings = function(settings, init = false) {
|
|
2309
2435
|
const dataUpdateFunction = (firstRun ? instance.loadData : instance.updateData).bind(this);
|
|
2310
|
-
let columnsAsFunc = false;
|
|
2311
2436
|
let i;
|
|
2312
2437
|
let j;
|
|
2313
2438
|
if (isDefined(settings.rows)) {
|
|
@@ -2364,19 +2489,21 @@ const deprecationWarns = new Set();
|
|
|
2364
2489
|
} else if (instance.themeManager) {
|
|
2365
2490
|
themeName = instance.themeManager.getClassName();
|
|
2366
2491
|
}
|
|
2367
|
-
instance.useTheme(themeName);
|
|
2492
|
+
instance.useTheme(themeName ?? null);
|
|
2368
2493
|
} else {
|
|
2369
2494
|
const currentThemeName = instance.getCurrentThemeName();
|
|
2370
2495
|
// Use `theme` option if it's a string and differs from current theme (takes priority over `themeName`).
|
|
2371
2496
|
if (themeOptionExists && typeof settings.theme === 'string' && currentThemeName !== settings.theme) {
|
|
2372
|
-
instance.useTheme(settings.theme);
|
|
2373
2497
|
instance.themeManager?.unmount();
|
|
2498
|
+
instance.themeManager = null;
|
|
2499
|
+
instance.useTheme(settings.theme);
|
|
2374
2500
|
// Use `themeName` option if `theme` is not provided and the name differs from current theme.
|
|
2375
2501
|
} else if (themeNameOptionExists && !themeOptionExists && currentThemeName !== settings.themeName) {
|
|
2502
|
+
instance.themeManager?.unmount();
|
|
2503
|
+
instance.themeManager = null;
|
|
2376
2504
|
tableMeta.theme = settings.themeName;
|
|
2377
2505
|
tableMeta.themeName = undefined;
|
|
2378
2506
|
instance.useTheme(settings.themeName);
|
|
2379
|
-
instance.themeManager?.unmount();
|
|
2380
2507
|
// Initialize or update the themeManager when theme is an object.
|
|
2381
2508
|
} else if (isRootInstance(instance) && !rootContainerThemeClassName && isObject(settings.theme)) {
|
|
2382
2509
|
if (instance.themeManager === null) {
|
|
@@ -2424,10 +2551,6 @@ const deprecationWarns = new Set();
|
|
|
2424
2551
|
}
|
|
2425
2552
|
const clen = instance.countCols();
|
|
2426
2553
|
const columnSetting = tableMeta.columns;
|
|
2427
|
-
// Init columns constructors configuration
|
|
2428
|
-
if (columnSetting && isFunction(columnSetting)) {
|
|
2429
|
-
columnsAsFunc = true;
|
|
2430
|
-
}
|
|
2431
2554
|
// Clear cell meta cache
|
|
2432
2555
|
if (settings.cell !== undefined || settings.cells !== undefined || settings.columns !== undefined) {
|
|
2433
2556
|
metaManager.clearCache();
|
|
@@ -2436,7 +2559,7 @@ const deprecationWarns = new Set();
|
|
|
2436
2559
|
for(i = 0, j = 0; i < clen; i++){
|
|
2437
2560
|
// Use settings provided by user
|
|
2438
2561
|
if (columnSetting) {
|
|
2439
|
-
const column =
|
|
2562
|
+
const column = isFunction(columnSetting) ? columnSetting(i) : columnSetting[j];
|
|
2440
2563
|
if (column) {
|
|
2441
2564
|
metaManager.updateColumnMeta(j, column);
|
|
2442
2565
|
}
|
|
@@ -2445,7 +2568,7 @@ const deprecationWarns = new Set();
|
|
|
2445
2568
|
}
|
|
2446
2569
|
}
|
|
2447
2570
|
if (isDefined(settings.cell)) {
|
|
2448
|
-
|
|
2571
|
+
settings.cell.forEach((cell)=>{
|
|
2449
2572
|
instance.setCellMetaObject(cell.row, cell.col, cell);
|
|
2450
2573
|
});
|
|
2451
2574
|
}
|
|
@@ -2462,7 +2585,7 @@ const deprecationWarns = new Set();
|
|
|
2462
2585
|
if (init) {
|
|
2463
2586
|
const initialStyle = instance.rootElement.getAttribute('style');
|
|
2464
2587
|
if (initialStyle) {
|
|
2465
|
-
instance.rootElement.
|
|
2588
|
+
instance.rootElement.dataset.initialstyle = instance.rootElement.getAttribute('style') ?? '';
|
|
2466
2589
|
}
|
|
2467
2590
|
}
|
|
2468
2591
|
let height = settings.height;
|
|
@@ -2472,7 +2595,7 @@ const deprecationWarns = new Set();
|
|
|
2472
2595
|
}
|
|
2473
2596
|
height = instance.runHooks('beforeHeightChange', height);
|
|
2474
2597
|
if (height === null) {
|
|
2475
|
-
const initialStyle = instance.rootElement.
|
|
2598
|
+
const initialStyle = instance.rootElement.dataset.initialstyle;
|
|
2476
2599
|
if (initialStyle && (initialStyle.indexOf('height') > -1 || initialStyle.indexOf('overflow') > -1)) {
|
|
2477
2600
|
instance.rootElement.setAttribute('style', initialStyle);
|
|
2478
2601
|
} else {
|
|
@@ -2492,6 +2615,28 @@ const deprecationWarns = new Set();
|
|
|
2492
2615
|
width = instance.runHooks('beforeWidthChange', width);
|
|
2493
2616
|
instance.rootElement.style.width = isNaN(width) ? `${width}` : `${width}px`;
|
|
2494
2617
|
}
|
|
2618
|
+
// When height is absent the table uses window scroll, so the `overflow: clip` shorthand from the
|
|
2619
|
+
// height block is not applied. Set overflowX: clip to prevent the inner table from visually
|
|
2620
|
+
// overflowing a constrained width. Read the effective values from the DOM (after both height and
|
|
2621
|
+
// width blocks ran) so partial updateSettings calls see the correct state.
|
|
2622
|
+
// When height IS set, the height block's `overflow: clip` shorthand handles both axes — leave
|
|
2623
|
+
// overflowX untouched to avoid breaking that shorthand.
|
|
2624
|
+
// Browser compatibility: `overflow-x: clip` requires Safari 16+. On Safari 14.1–15.x it silently
|
|
2625
|
+
// falls back to `visible` (graceful degradation — pre-existing behavior, not a new regression).
|
|
2626
|
+
if (typeof settings.height !== 'undefined' || typeof settings.width !== 'undefined') {
|
|
2627
|
+
const effectiveHeight = instance.rootElement.style.height;
|
|
2628
|
+
const effectiveWidth = instance.rootElement.style.width;
|
|
2629
|
+
if (!effectiveHeight) {
|
|
2630
|
+
const currentOverflowX = instance.rootElement.style.overflowX;
|
|
2631
|
+
// Only manage the overflow-x we own (`clip`) or that is unset. Preserve a user-defined
|
|
2632
|
+
// overflow (e.g. `overflow: hidden` restored from the initial style) so it is not stomped
|
|
2633
|
+
// by `clip`. Unlike `hidden`, `clip` creates no block formatting context and allows no
|
|
2634
|
+
// programmatic scroll.
|
|
2635
|
+
if (currentOverflowX === '' || currentOverflowX === 'clip') {
|
|
2636
|
+
instance.rootElement.style.overflowX = effectiveWidth && effectiveWidth !== 'auto' ? 'clip' : '';
|
|
2637
|
+
}
|
|
2638
|
+
}
|
|
2639
|
+
}
|
|
2495
2640
|
if (!init) {
|
|
2496
2641
|
if (instance.view) {
|
|
2497
2642
|
instance.view._wt.wtViewport.resetHasOversizedColumnHeadersMarked();
|
|
@@ -2509,6 +2654,9 @@ const deprecationWarns = new Set();
|
|
|
2509
2654
|
if (!init && instance.view && (currentHeight === '' || height === '' || height === undefined) && currentHeight !== height) {
|
|
2510
2655
|
instance.view._wt.wtOverlays.updateMainScrollableElements();
|
|
2511
2656
|
}
|
|
2657
|
+
if (isRootInstance(instance)) {
|
|
2658
|
+
layoutManager?.applyConfig(tableMeta.layout);
|
|
2659
|
+
}
|
|
2512
2660
|
};
|
|
2513
2661
|
/**
|
|
2514
2662
|
* Gets the value of the currently focused cell.
|
|
@@ -2523,8 +2671,10 @@ const deprecationWarns = new Set();
|
|
|
2523
2671
|
if (tableMeta.getValue) {
|
|
2524
2672
|
if (isFunction(tableMeta.getValue)) {
|
|
2525
2673
|
return tableMeta.getValue.call(instance);
|
|
2526
|
-
} else if (activeSelection) {
|
|
2527
|
-
|
|
2674
|
+
} else if (activeSelection && typeof tableMeta.getValue === 'string') {
|
|
2675
|
+
const rowIndex = activeSelection.highlight.row ?? 0;
|
|
2676
|
+
const rowData = instance.getData()[rowIndex];
|
|
2677
|
+
return rowData[tableMeta.getValue];
|
|
2528
2678
|
}
|
|
2529
2679
|
} else if (activeSelection) {
|
|
2530
2680
|
return instance.getDataAtCell(activeSelection.highlight.row, activeSelection.highlight.col);
|
|
@@ -2541,13 +2691,14 @@ const deprecationWarns = new Set();
|
|
|
2541
2691
|
return tableMeta;
|
|
2542
2692
|
};
|
|
2543
2693
|
/**
|
|
2544
|
-
* Clears the data from the table (the table settings remain intact).
|
|
2694
|
+
* Clears the data from the table (the table settings remain intact) and clears the current selection.
|
|
2545
2695
|
*
|
|
2546
2696
|
* @memberof Core#
|
|
2547
2697
|
* @function clear
|
|
2548
2698
|
*/ this.clear = function() {
|
|
2549
2699
|
this.selectAll();
|
|
2550
2700
|
this.emptySelectedCells();
|
|
2701
|
+
this.deselectCell();
|
|
2551
2702
|
};
|
|
2552
2703
|
/**
|
|
2553
2704
|
* The `alter()` method lets you alter the grid's structure
|
|
@@ -2633,16 +2784,16 @@ const deprecationWarns = new Set();
|
|
|
2633
2784
|
let renderableColumnIndex = column; // Handling also column headers.
|
|
2634
2785
|
let renderableRowIndex = row; // Handling also row headers.
|
|
2635
2786
|
if (column >= 0) {
|
|
2636
|
-
if (
|
|
2787
|
+
if (instance.columnIndexMapper.isHidden(instance.toPhysicalColumn(column))) {
|
|
2637
2788
|
return null;
|
|
2638
2789
|
}
|
|
2639
|
-
renderableColumnIndex =
|
|
2790
|
+
renderableColumnIndex = instance.columnIndexMapper.getRenderableFromVisualIndex(column);
|
|
2640
2791
|
}
|
|
2641
2792
|
if (row >= 0) {
|
|
2642
|
-
if (
|
|
2793
|
+
if (instance.rowIndexMapper.isHidden(instance.toPhysicalRow(row))) {
|
|
2643
2794
|
return null;
|
|
2644
2795
|
}
|
|
2645
|
-
renderableRowIndex =
|
|
2796
|
+
renderableRowIndex = instance.rowIndexMapper.getRenderableFromVisualIndex(row);
|
|
2646
2797
|
}
|
|
2647
2798
|
if (renderableRowIndex === null || renderableColumnIndex === null || renderableRowIndex === undefined || renderableColumnIndex === undefined) {
|
|
2648
2799
|
return null;
|
|
@@ -2662,18 +2813,18 @@ const deprecationWarns = new Set();
|
|
|
2662
2813
|
* // it returns CellCoords object instance with props row: 1 and col: 1.
|
|
2663
2814
|
* ```
|
|
2664
2815
|
*/ this.getCoords = function(element) {
|
|
2665
|
-
const renderableCoords =
|
|
2816
|
+
const renderableCoords = instance.view._wt.wtTable.getCoords(element);
|
|
2666
2817
|
if (renderableCoords === null) {
|
|
2667
2818
|
return null;
|
|
2668
2819
|
}
|
|
2669
2820
|
const { row: renderableRow, col: renderableColumn } = renderableCoords;
|
|
2670
2821
|
let visualRow = renderableRow;
|
|
2671
2822
|
let visualColumn = renderableColumn;
|
|
2672
|
-
if (renderableRow >= 0) {
|
|
2673
|
-
visualRow =
|
|
2823
|
+
if (renderableRow !== null && renderableRow >= 0) {
|
|
2824
|
+
visualRow = instance.rowIndexMapper.getVisualFromRenderableIndex(renderableRow);
|
|
2674
2825
|
}
|
|
2675
|
-
if (renderableColumn >= 0) {
|
|
2676
|
-
visualColumn =
|
|
2826
|
+
if (renderableColumn !== null && renderableColumn >= 0) {
|
|
2827
|
+
visualColumn = instance.columnIndexMapper.getVisualFromRenderableIndex(renderableColumn);
|
|
2677
2828
|
}
|
|
2678
2829
|
return instance._createCellCoords(visualRow, visualColumn);
|
|
2679
2830
|
};
|
|
@@ -2708,7 +2859,7 @@ const deprecationWarns = new Set();
|
|
|
2708
2859
|
* @function toVisualRow
|
|
2709
2860
|
* @param {number} row Physical row index.
|
|
2710
2861
|
* @returns {number} Returns visual row index.
|
|
2711
|
-
*/ this.toVisualRow = (row)=>
|
|
2862
|
+
*/ this.toVisualRow = (row)=>instance.rowIndexMapper.getVisualFromPhysicalIndex(row);
|
|
2712
2863
|
/**
|
|
2713
2864
|
* Translate physical column index into visual.
|
|
2714
2865
|
*
|
|
@@ -2719,7 +2870,7 @@ const deprecationWarns = new Set();
|
|
|
2719
2870
|
* @function toVisualColumn
|
|
2720
2871
|
* @param {number} column Physical column index.
|
|
2721
2872
|
* @returns {number} Returns visual column index.
|
|
2722
|
-
*/ this.toVisualColumn = (column)=>
|
|
2873
|
+
*/ this.toVisualColumn = (column)=>instance.columnIndexMapper.getVisualFromPhysicalIndex(column);
|
|
2723
2874
|
/**
|
|
2724
2875
|
* Translate visual row index into physical.
|
|
2725
2876
|
*
|
|
@@ -2730,7 +2881,7 @@ const deprecationWarns = new Set();
|
|
|
2730
2881
|
* @function toPhysicalRow
|
|
2731
2882
|
* @param {number} row Visual row index.
|
|
2732
2883
|
* @returns {number} Returns physical row index.
|
|
2733
|
-
*/ this.toPhysicalRow = (row)=>
|
|
2884
|
+
*/ this.toPhysicalRow = (row)=>instance.rowIndexMapper.getPhysicalFromVisualIndex(row);
|
|
2734
2885
|
/**
|
|
2735
2886
|
* Translate visual column index into physical.
|
|
2736
2887
|
*
|
|
@@ -2741,7 +2892,7 @@ const deprecationWarns = new Set();
|
|
|
2741
2892
|
* @function toPhysicalColumn
|
|
2742
2893
|
* @param {number} column Visual column index.
|
|
2743
2894
|
* @returns {number} Returns physical column index.
|
|
2744
|
-
*/ this.toPhysicalColumn = (column)=>
|
|
2895
|
+
*/ this.toPhysicalColumn = (column)=>instance.columnIndexMapper.getPhysicalFromVisualIndex(column);
|
|
2745
2896
|
/**
|
|
2746
2897
|
* @description
|
|
2747
2898
|
* Returns the cell value at `row`, `column`.
|
|
@@ -2781,7 +2932,7 @@ const deprecationWarns = new Set();
|
|
|
2781
2932
|
* @returns {Array} Array of cell values.
|
|
2782
2933
|
*/ this.getDataAtCol = function(column) {
|
|
2783
2934
|
const columnData = [];
|
|
2784
|
-
const dataByRows = datamap.getRange(instance._createCellCoords(0, column), instance._createCellCoords(tableMeta.data.length - 1, column),
|
|
2935
|
+
const dataByRows = datamap.getRange(instance._createCellCoords(0, column), instance._createCellCoords(tableMeta.data.length - 1, column), DataMap.DESTINATION_RENDERER);
|
|
2785
2936
|
for(let i = 0; i < dataByRows.length; i += 1){
|
|
2786
2937
|
for(let j = 0; j < dataByRows[i].length; j += 1){
|
|
2787
2938
|
columnData.push(dataByRows[i][j]);
|
|
@@ -2800,7 +2951,7 @@ const deprecationWarns = new Set();
|
|
|
2800
2951
|
*/ // TODO: Getting data from `datamap` should work on visual indexes.
|
|
2801
2952
|
this.getDataAtProp = function(prop) {
|
|
2802
2953
|
const columnData = [];
|
|
2803
|
-
const dataByRows = datamap.getRange(instance._createCellCoords(0, datamap.propToCol(prop)), instance._createCellCoords(tableMeta.data.length - 1, datamap.propToCol(prop)),
|
|
2954
|
+
const dataByRows = datamap.getRange(instance._createCellCoords(0, datamap.propToCol(prop)), instance._createCellCoords(tableMeta.data.length - 1, datamap.propToCol(prop)), DataMap.DESTINATION_RENDERER);
|
|
2804
2955
|
for(let i = 0; i < dataByRows.length; i += 1){
|
|
2805
2956
|
for(let j = 0; j < dataByRows[i].length; j += 1){
|
|
2806
2957
|
columnData.push(dataByRows[i][j]);
|
|
@@ -2833,7 +2984,7 @@ const deprecationWarns = new Set();
|
|
|
2833
2984
|
if (row === undefined) {
|
|
2834
2985
|
data = dataSource.getData();
|
|
2835
2986
|
} else {
|
|
2836
|
-
data = dataSource.getByRange(instance._createCellCoords(row, column), instance._createCellCoords(row2, column2));
|
|
2987
|
+
data = dataSource.getByRange(instance._createCellCoords(row, column ?? null), instance._createCellCoords(row2 ?? null, column2 ?? null));
|
|
2837
2988
|
}
|
|
2838
2989
|
return data;
|
|
2839
2990
|
};
|
|
@@ -2857,7 +3008,7 @@ const deprecationWarns = new Set();
|
|
|
2857
3008
|
if (row === undefined) {
|
|
2858
3009
|
data = dataSource.getData(true);
|
|
2859
3010
|
} else {
|
|
2860
|
-
data = dataSource.getByRange(instance._createCellCoords(row, column), instance._createCellCoords(row2, column2), true);
|
|
3011
|
+
data = dataSource.getByRange(instance._createCellCoords(row, column ?? null), instance._createCellCoords(row2 ?? null, column2 ?? null), true);
|
|
2861
3012
|
}
|
|
2862
3013
|
return data;
|
|
2863
3014
|
};
|
|
@@ -2872,7 +3023,7 @@ const deprecationWarns = new Set();
|
|
|
2872
3023
|
this.getSourceDataAtCol = function(column) {
|
|
2873
3024
|
return dataSource.getAtColumn(column);
|
|
2874
3025
|
};
|
|
2875
|
-
|
|
3026
|
+
/**
|
|
2876
3027
|
* Set the provided value in the source data set at the provided coordinates.
|
|
2877
3028
|
*
|
|
2878
3029
|
* @memberof Core#
|
|
@@ -2881,15 +3032,15 @@ const deprecationWarns = new Set();
|
|
|
2881
3032
|
* @param {number|string} column Physical column index / prop name.
|
|
2882
3033
|
* @param {*} value The value to be set at the provided coordinates.
|
|
2883
3034
|
* @param {string} [source] Source of the change as a string.
|
|
2884
|
-
*/
|
|
3035
|
+
*/ this.setSourceDataAtCell = function(row, column, value, source) {
|
|
2885
3036
|
const input = setDataInputToArray(row, column, value);
|
|
2886
|
-
const isThereAnySetSourceListener =
|
|
3037
|
+
const isThereAnySetSourceListener = instance.hasHook('afterSetSourceDataAtCell');
|
|
2887
3038
|
const changesForHook = [];
|
|
2888
3039
|
const getCellProperties = (changeRow, changeProp)=>{
|
|
2889
|
-
const visualRow =
|
|
2890
|
-
const visualColumn =
|
|
3040
|
+
const visualRow = instance.toVisualRow(changeRow);
|
|
3041
|
+
const visualColumn = instance.toVisualColumn(changeProp);
|
|
2891
3042
|
if (Number.isInteger(visualColumn)) {
|
|
2892
|
-
return
|
|
3043
|
+
return instance.getCellMeta(visualRow, visualColumn);
|
|
2893
3044
|
}
|
|
2894
3045
|
// If there's no requested visual column, we can use the table meta as the cell properties
|
|
2895
3046
|
return {
|
|
@@ -2912,6 +3063,7 @@ const deprecationWarns = new Set();
|
|
|
2912
3063
|
const cellMeta = getCellProperties(changeRow, changeProp);
|
|
2913
3064
|
const newValue = getValueSetterValue(changeValue, cellMeta);
|
|
2914
3065
|
if (runSourceDataValidator(newValue, cellMeta, source ?? 'setSourceDataAtCell')) {
|
|
3066
|
+
// changeProp is a physical column index for array-based data sources.
|
|
2915
3067
|
dataSource.setAtCell(changeRow, changeProp, newValue);
|
|
2916
3068
|
}
|
|
2917
3069
|
});
|
|
@@ -2960,7 +3112,7 @@ const deprecationWarns = new Set();
|
|
|
2960
3112
|
* @param {number} row Visual row index.
|
|
2961
3113
|
* @returns {Array} Array of row's cell data.
|
|
2962
3114
|
*/ this.getDataAtRow = function(row) {
|
|
2963
|
-
const data = datamap.getRange(instance._createCellCoords(row, 0), instance._createCellCoords(row, this.countCols() - 1),
|
|
3115
|
+
const data = datamap.getRange(instance._createCellCoords(row, 0), instance._createCellCoords(row, this.countCols() - 1), DataMap.DESTINATION_RENDERER);
|
|
2964
3116
|
return data[0] || [];
|
|
2965
3117
|
};
|
|
2966
3118
|
/**
|
|
@@ -2981,8 +3133,8 @@ const deprecationWarns = new Set();
|
|
|
2981
3133
|
const coords = rowFrom === undefined ? [
|
|
2982
3134
|
0,
|
|
2983
3135
|
0,
|
|
2984
|
-
|
|
2985
|
-
|
|
3136
|
+
instance.countRows(),
|
|
3137
|
+
instance.countCols()
|
|
2986
3138
|
] : [
|
|
2987
3139
|
rowFrom,
|
|
2988
3140
|
columnFrom,
|
|
@@ -3003,8 +3155,8 @@ const deprecationWarns = new Set();
|
|
|
3003
3155
|
rangeEach(Math.max(Math.min(rowStart, rowEnd), 0), Math.max(rowStart, rowEnd), (row)=>{
|
|
3004
3156
|
let isTypeEqual = true;
|
|
3005
3157
|
rangeEach(Math.max(Math.min(columnStart, columnEnd), 0), Math.max(columnStart, columnEnd), (column)=>{
|
|
3006
|
-
const cellType =
|
|
3007
|
-
currentType = cellType.type;
|
|
3158
|
+
const cellType = instance.getCellMeta(row, column);
|
|
3159
|
+
currentType = cellType.type ?? null;
|
|
3008
3160
|
if (previousType) {
|
|
3009
3161
|
isTypeEqual = previousType === currentType;
|
|
3010
3162
|
} else {
|
|
@@ -3012,7 +3164,7 @@ const deprecationWarns = new Set();
|
|
|
3012
3164
|
}
|
|
3013
3165
|
return isTypeEqual;
|
|
3014
3166
|
});
|
|
3015
|
-
type = isTypeEqual ? currentType : 'mixed';
|
|
3167
|
+
type = isTypeEqual ? currentType ?? 'mixed' : 'mixed';
|
|
3016
3168
|
return isTypeEqual;
|
|
3017
3169
|
});
|
|
3018
3170
|
return type;
|
|
@@ -3029,8 +3181,8 @@ const deprecationWarns = new Set();
|
|
|
3029
3181
|
* @fires Hooks#afterRemoveCellMeta
|
|
3030
3182
|
*/ this.removeCellMeta = function(row, column, key) {
|
|
3031
3183
|
const [physicalRow, physicalColumn] = [
|
|
3032
|
-
|
|
3033
|
-
|
|
3184
|
+
instance.toPhysicalRow(row),
|
|
3185
|
+
instance.toPhysicalColumn(column)
|
|
3034
3186
|
];
|
|
3035
3187
|
let cachedValue = metaManager.getCellMetaKeyValue(physicalRow, physicalColumn, key);
|
|
3036
3188
|
const hookResult = instance.runHooks('beforeRemoveCellMeta', row, column, key, cachedValue);
|
|
@@ -3054,12 +3206,14 @@ const deprecationWarns = new Set();
|
|
|
3054
3206
|
throwWithCause('The 3rd argument (cellMetaRows) has to be passed as an array of cell meta objects array.');
|
|
3055
3207
|
}
|
|
3056
3208
|
if (deleteAmount > 0) {
|
|
3057
|
-
metaManager.removeRow(
|
|
3209
|
+
metaManager.removeRow(instance.toPhysicalRow(visualIndex), deleteAmount);
|
|
3058
3210
|
}
|
|
3059
3211
|
if (cellMetaRows.length > 0) {
|
|
3060
3212
|
arrayEach(cellMetaRows.reverse(), (cellMetaRow)=>{
|
|
3061
|
-
metaManager.createRow(
|
|
3062
|
-
arrayEach(cellMetaRow, (cellMeta, columnIndex)=>
|
|
3213
|
+
metaManager.createRow(instance.toPhysicalRow(visualIndex));
|
|
3214
|
+
arrayEach(cellMetaRow, (cellMeta, columnIndex)=>{
|
|
3215
|
+
this.setCellMetaObject(visualIndex, columnIndex, cellMeta);
|
|
3216
|
+
});
|
|
3063
3217
|
});
|
|
3064
3218
|
}
|
|
3065
3219
|
instance.render();
|
|
@@ -3097,11 +3251,11 @@ const deprecationWarns = new Set();
|
|
|
3097
3251
|
}
|
|
3098
3252
|
let physicalRow = row;
|
|
3099
3253
|
let physicalColumn = column;
|
|
3100
|
-
if (row <
|
|
3101
|
-
physicalRow =
|
|
3254
|
+
if (row < instance.countRows()) {
|
|
3255
|
+
physicalRow = instance.toPhysicalRow(row);
|
|
3102
3256
|
}
|
|
3103
|
-
if (column <
|
|
3104
|
-
physicalColumn =
|
|
3257
|
+
if (column < instance.countCols()) {
|
|
3258
|
+
physicalColumn = instance.toPhysicalColumn(column);
|
|
3105
3259
|
}
|
|
3106
3260
|
metaManager.setCellMeta(physicalRow, physicalColumn, key, value);
|
|
3107
3261
|
instance.runHooks('afterSetCellMeta', row, column, key, value);
|
|
@@ -3130,8 +3284,8 @@ const deprecationWarns = new Set();
|
|
|
3130
3284
|
*/ this.getCellMeta = function(row, column, options = {
|
|
3131
3285
|
skipMetaExtension: false
|
|
3132
3286
|
}) {
|
|
3133
|
-
let physicalRow =
|
|
3134
|
-
let physicalColumn =
|
|
3287
|
+
let physicalRow = instance.toPhysicalRow(row);
|
|
3288
|
+
let physicalColumn = instance.toPhysicalColumn(column);
|
|
3135
3289
|
if (physicalRow === null) {
|
|
3136
3290
|
physicalRow = row;
|
|
3137
3291
|
}
|
|
@@ -3153,7 +3307,7 @@ const deprecationWarns = new Set();
|
|
|
3153
3307
|
* @param {number} column Visual column index.
|
|
3154
3308
|
* @returns {object}
|
|
3155
3309
|
*/ this.getColumnMeta = function(column) {
|
|
3156
|
-
return metaManager.getColumnMeta(
|
|
3310
|
+
return metaManager.getColumnMeta(instance.toPhysicalColumn(column));
|
|
3157
3311
|
};
|
|
3158
3312
|
/**
|
|
3159
3313
|
* Returns an array of cell meta objects for specified physical row index.
|
|
@@ -3334,7 +3488,7 @@ const deprecationWarns = new Set();
|
|
|
3334
3488
|
* @param {Array} [rows] An array of validation target visual row indexes.
|
|
3335
3489
|
* @param {Array} [columns] An array of validation target visual column indexes.
|
|
3336
3490
|
*/ this._validateCells = function(callback, rows, columns) {
|
|
3337
|
-
const waitingForValidator =
|
|
3491
|
+
const waitingForValidator = ValidatorsQueue();
|
|
3338
3492
|
if (callback) {
|
|
3339
3493
|
waitingForValidator.onQueueEmpty = callback;
|
|
3340
3494
|
}
|
|
@@ -3381,10 +3535,11 @@ const deprecationWarns = new Set();
|
|
|
3381
3535
|
physicalRow = instance.runHooks('modifyRowHeader', physicalRow);
|
|
3382
3536
|
}
|
|
3383
3537
|
if (physicalRow === undefined) {
|
|
3384
|
-
|
|
3538
|
+
const headers = [];
|
|
3385
3539
|
rangeEach(instance.countRows() - 1, (i)=>{
|
|
3386
|
-
|
|
3540
|
+
headers.push(instance.getRowHeader(i));
|
|
3387
3541
|
});
|
|
3542
|
+
rowHeader = headers;
|
|
3388
3543
|
} else if (Array.isArray(rowHeader) && rowHeader[physicalRow] !== undefined) {
|
|
3389
3544
|
rowHeader = rowHeader[physicalRow];
|
|
3390
3545
|
} else if (isFunction(rowHeader)) {
|
|
@@ -3469,12 +3624,13 @@ const deprecationWarns = new Set();
|
|
|
3469
3624
|
return out;
|
|
3470
3625
|
}
|
|
3471
3626
|
let result = tableMeta.colHeaders;
|
|
3627
|
+
const columns = tableMeta.columns;
|
|
3472
3628
|
const translateVisualIndexToColumns = function(visualColumnIndex) {
|
|
3473
3629
|
const arr = [];
|
|
3474
3630
|
const columnsLen = instance.countCols();
|
|
3475
3631
|
let index = 0;
|
|
3476
3632
|
for(; index < columnsLen; index++){
|
|
3477
|
-
if (isFunction(
|
|
3633
|
+
if (isFunction(columns) && columns(index)) {
|
|
3478
3634
|
arr.push(index);
|
|
3479
3635
|
}
|
|
3480
3636
|
}
|
|
@@ -3484,10 +3640,10 @@ const deprecationWarns = new Set();
|
|
|
3484
3640
|
const prop = translateVisualIndexToColumns(physicalColumn);
|
|
3485
3641
|
if (tableMeta.colHeaders === false) {
|
|
3486
3642
|
result = null;
|
|
3487
|
-
} else if (
|
|
3488
|
-
result =
|
|
3489
|
-
} else if (
|
|
3490
|
-
result =
|
|
3643
|
+
} else if (columns && isFunction(columns) && columns(prop) && columns(prop).title) {
|
|
3644
|
+
result = columns(prop).title;
|
|
3645
|
+
} else if (columns && !isFunction(columns) && columns[physicalColumn] && columns[physicalColumn].title) {
|
|
3646
|
+
result = columns[physicalColumn].title;
|
|
3491
3647
|
} else if (Array.isArray(tableMeta.colHeaders) && tableMeta.colHeaders[physicalColumn] !== undefined) {
|
|
3492
3648
|
result = tableMeta.colHeaders[physicalColumn];
|
|
3493
3649
|
} else if (isFunction(tableMeta.colHeaders)) {
|
|
@@ -3576,7 +3732,9 @@ const deprecationWarns = new Set();
|
|
|
3576
3732
|
height = Number.parseInt(height, 10);
|
|
3577
3733
|
}
|
|
3578
3734
|
}
|
|
3579
|
-
|
|
3735
|
+
const numHeight = height;
|
|
3736
|
+
const numDefaultRowHeight = defaultRowHeight;
|
|
3737
|
+
return numHeight !== undefined && numHeight !== null && numDefaultRowHeight !== null && numHeight < numDefaultRowHeight ? numDefaultRowHeight : numHeight;
|
|
3580
3738
|
};
|
|
3581
3739
|
/**
|
|
3582
3740
|
* Returns a row's height, as recognized by Handsontable.
|
|
@@ -3644,7 +3802,7 @@ const deprecationWarns = new Set();
|
|
|
3644
3802
|
* @returns {number} Total number of columns.
|
|
3645
3803
|
*/ this.countCols = function() {
|
|
3646
3804
|
const maxCols = tableMeta.maxCols;
|
|
3647
|
-
const dataLen =
|
|
3805
|
+
const dataLen = instance.columnIndexMapper.getNotTrimmedIndexesLength();
|
|
3648
3806
|
return Math.min(maxCols, dataLen);
|
|
3649
3807
|
};
|
|
3650
3808
|
/**
|
|
@@ -3655,7 +3813,8 @@ const deprecationWarns = new Set();
|
|
|
3655
3813
|
* @function countRenderedRows
|
|
3656
3814
|
* @returns {number} Returns -1 if table is not visible.
|
|
3657
3815
|
*/ this.countRenderedRows = function() {
|
|
3658
|
-
|
|
3816
|
+
const view = instance.view;
|
|
3817
|
+
return view._wt.drawn ? view._wt.wtTable.getRenderedRowsCount() : -1;
|
|
3659
3818
|
};
|
|
3660
3819
|
/**
|
|
3661
3820
|
* Returns the number of rendered rows that are only visible in the table viewport.
|
|
@@ -3665,7 +3824,8 @@ const deprecationWarns = new Set();
|
|
|
3665
3824
|
* @function countVisibleRows
|
|
3666
3825
|
* @returns {number} Number of visible rows or -1.
|
|
3667
3826
|
*/ this.countVisibleRows = function() {
|
|
3668
|
-
|
|
3827
|
+
const view = instance.view;
|
|
3828
|
+
return view._wt.drawn ? view._wt.wtTable.getVisibleRowsCount() : -1;
|
|
3669
3829
|
};
|
|
3670
3830
|
/**
|
|
3671
3831
|
* Returns the number of rendered rows including columns that are partially or fully rendered
|
|
@@ -3675,7 +3835,8 @@ const deprecationWarns = new Set();
|
|
|
3675
3835
|
* @function countRenderedCols
|
|
3676
3836
|
* @returns {number} Returns -1 if table is not visible.
|
|
3677
3837
|
*/ this.countRenderedCols = function() {
|
|
3678
|
-
|
|
3838
|
+
const view = instance.view;
|
|
3839
|
+
return view._wt.drawn ? view._wt.wtTable.getRenderedColumnsCount() : -1;
|
|
3679
3840
|
};
|
|
3680
3841
|
/**
|
|
3681
3842
|
* Returns the number of rendered columns that are only visible in the table viewport.
|
|
@@ -3685,7 +3846,8 @@ const deprecationWarns = new Set();
|
|
|
3685
3846
|
* @function countVisibleCols
|
|
3686
3847
|
* @returns {number} Number of visible columns or -1.
|
|
3687
3848
|
*/ this.countVisibleCols = function() {
|
|
3688
|
-
|
|
3849
|
+
const view = instance.view;
|
|
3850
|
+
return view._wt.drawn ? view._wt.wtTable.getVisibleColumnsCount() : -1;
|
|
3689
3851
|
};
|
|
3690
3852
|
/**
|
|
3691
3853
|
* Returns the number of rendered row headers.
|
|
@@ -3695,7 +3857,7 @@ const deprecationWarns = new Set();
|
|
|
3695
3857
|
* @function countRowHeaders
|
|
3696
3858
|
* @returns {number} Number of row headers.
|
|
3697
3859
|
*/ this.countRowHeaders = function() {
|
|
3698
|
-
return
|
|
3860
|
+
return instance.view.getRowHeadersCount();
|
|
3699
3861
|
};
|
|
3700
3862
|
/**
|
|
3701
3863
|
* Returns the number of rendered column headers.
|
|
@@ -3705,7 +3867,7 @@ const deprecationWarns = new Set();
|
|
|
3705
3867
|
* @function countColHeaders
|
|
3706
3868
|
* @returns {number} Number of column headers.
|
|
3707
3869
|
*/ this.countColHeaders = function() {
|
|
3708
|
-
return
|
|
3870
|
+
return instance.view.getColumnHeadersCount();
|
|
3709
3871
|
};
|
|
3710
3872
|
/**
|
|
3711
3873
|
* Returns the number of empty rows. If the optional ending parameter is `true`, returns the
|
|
@@ -3806,20 +3968,25 @@ const deprecationWarns = new Set();
|
|
|
3806
3968
|
* @param {number} [endRow] If selecting a range: the visual row index of the last cell in the range.
|
|
3807
3969
|
* @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.
|
|
3808
3970
|
* @param {boolean} [scrollToCell=true] `true`: scroll the viewport to the newly-selected cells. `false`: keep the previous viewport.
|
|
3809
|
-
* @param {boolean} [changeListener=true] `true`: switch the keyboard focus to Handsontable. `false`: keep the
|
|
3971
|
+
* @param {boolean} [changeListener=true] `true`: switch the keyboard focus to Handsontable. `false`: keep the
|
|
3972
|
+
* previous keyboard focus. If an element outside Handsontable (such as a custom input) currently owns the browser
|
|
3973
|
+
* focus, it remains focused after the call.
|
|
3810
3974
|
* @returns {boolean} `true`: the selection was successful, `false`: the selection failed.
|
|
3811
3975
|
*/ this.selectCell = function(row, column, endRow, endColumn, scrollToCell = true, changeListener = true) {
|
|
3812
3976
|
if (isUndefined(row) || isUndefined(column)) {
|
|
3813
3977
|
return false;
|
|
3814
3978
|
}
|
|
3815
|
-
|
|
3979
|
+
const rowNum = row === null || row === undefined || Number.isNaN(Number(row)) ? 0 : Number(row);
|
|
3980
|
+
const col = column === null || column === undefined || typeof column === 'number' && Number.isNaN(column) ? 0 : column;
|
|
3981
|
+
const coords = [
|
|
3816
3982
|
[
|
|
3817
|
-
|
|
3818
|
-
|
|
3819
|
-
endRow,
|
|
3820
|
-
endColumn
|
|
3983
|
+
rowNum,
|
|
3984
|
+
col,
|
|
3985
|
+
isUndefined(endRow) ? undefined : endRow,
|
|
3986
|
+
isUndefined(endColumn) ? undefined : endColumn
|
|
3821
3987
|
]
|
|
3822
|
-
]
|
|
3988
|
+
];
|
|
3989
|
+
return instance.selectCells(coords, scrollToCell, changeListener);
|
|
3823
3990
|
};
|
|
3824
3991
|
/**
|
|
3825
3992
|
* Select multiple cells or ranges of cells, adjacent or non-adjacent.
|
|
@@ -3875,7 +4042,9 @@ const deprecationWarns = new Set();
|
|
|
3875
4042
|
* passed either as an array of arrays (`[[rowStart, columnStart, rowEnd, columnEnd], ...]`)
|
|
3876
4043
|
* or as an array of [`CellRange`](@/api/cellRange.md) objects.
|
|
3877
4044
|
* @param {boolean} [scrollToCell=true] `true`: scroll the viewport to the newly-selected cells. `false`: keep the previous viewport.
|
|
3878
|
-
* @param {boolean} [changeListener=true] `true`: switch the keyboard focus to Handsontable. `false`: keep the
|
|
4045
|
+
* @param {boolean} [changeListener=true] `true`: switch the keyboard focus to Handsontable. `false`: keep the
|
|
4046
|
+
* previous keyboard focus. If an element outside Handsontable (such as a custom input) currently owns the browser
|
|
4047
|
+
* focus, it remains focused after the call.
|
|
3879
4048
|
* @returns {boolean} `true`: the selection was successful, `false`: the selection failed.
|
|
3880
4049
|
*/ this.selectCells = function(coords = [
|
|
3881
4050
|
[]
|
|
@@ -3883,11 +4052,21 @@ const deprecationWarns = new Set();
|
|
|
3883
4052
|
if (scrollToCell === false) {
|
|
3884
4053
|
viewportScroller.suspend();
|
|
3885
4054
|
}
|
|
3886
|
-
|
|
4055
|
+
if (changeListener === false) {
|
|
4056
|
+
focusGridManager.suspend();
|
|
4057
|
+
}
|
|
4058
|
+
let wasSelected;
|
|
4059
|
+
try {
|
|
4060
|
+
wasSelected = selection.selectCells(coords);
|
|
4061
|
+
} finally{
|
|
4062
|
+
// Always release the suspended state even if `selection.selectCells` throws on malformed
|
|
4063
|
+
// coordinates. Otherwise the flags would leak across subsequent calls.
|
|
4064
|
+
viewportScroller.resume();
|
|
4065
|
+
focusGridManager.resume();
|
|
4066
|
+
}
|
|
3887
4067
|
if (wasSelected && changeListener) {
|
|
3888
4068
|
instance.listen();
|
|
3889
4069
|
}
|
|
3890
|
-
viewportScroller.resume();
|
|
3891
4070
|
return wasSelected;
|
|
3892
4071
|
};
|
|
3893
4072
|
/**
|
|
@@ -4018,6 +4197,28 @@ const deprecationWarns = new Set();
|
|
|
4018
4197
|
return indexMapper.getNearestNotHiddenIndex(visualIndex, 1, true);
|
|
4019
4198
|
};
|
|
4020
4199
|
/**
|
|
4200
|
+
* Resolves renderable row and column indexes for scrolling, accounting for hidden indexes.
|
|
4201
|
+
*
|
|
4202
|
+
* @param {number|undefined} row Visual row index.
|
|
4203
|
+
* @param {number|undefined} col Visual column index.
|
|
4204
|
+
* @returns {{renderableRow: number|undefined, renderableColumn: number|undefined}|false} Resolved
|
|
4205
|
+
* renderable indexes, or `false` when scrolling target is not reachable.
|
|
4206
|
+
*/ const resolveRenderableScrollTarget = (row, col)=>{
|
|
4207
|
+
const isValidRowGrid = row !== undefined && Number.isInteger(row) && row >= 0;
|
|
4208
|
+
const isValidColumnGrid = col !== undefined && Number.isInteger(col) && col >= 0;
|
|
4209
|
+
const visualRowToScroll = isValidRowGrid ? getIndexToScroll(instance.rowIndexMapper, row) : undefined;
|
|
4210
|
+
const visualColumnToScroll = isValidColumnGrid ? getIndexToScroll(instance.columnIndexMapper, col) : undefined;
|
|
4211
|
+
if (visualRowToScroll === null || visualColumnToScroll === null) {
|
|
4212
|
+
return false;
|
|
4213
|
+
}
|
|
4214
|
+
const renderableRow = isValidRowGrid ? instance.rowIndexMapper.getRenderableFromVisualIndex(visualRowToScroll) ?? undefined : row;
|
|
4215
|
+
const renderableColumn = isValidColumnGrid ? instance.columnIndexMapper.getRenderableFromVisualIndex(visualColumnToScroll) ?? undefined : col;
|
|
4216
|
+
return {
|
|
4217
|
+
renderableRow,
|
|
4218
|
+
renderableColumn
|
|
4219
|
+
};
|
|
4220
|
+
};
|
|
4221
|
+
/**
|
|
4021
4222
|
* Scroll viewport to coordinates specified by the `row` and/or `col` object properties.
|
|
4022
4223
|
*
|
|
4023
4224
|
* ```js
|
|
@@ -4060,14 +4261,14 @@ const deprecationWarns = new Set();
|
|
|
4060
4261
|
*/ this.scrollViewportTo = function(options, callback) {
|
|
4061
4262
|
// Support for backward compatibility arguments: (row, col, snapToBottom, snapToRight, considerHiddenIndexes)
|
|
4062
4263
|
if (typeof options === 'number') {
|
|
4063
|
-
/* eslint-disable prefer-rest-params */ options = {
|
|
4264
|
+
/* eslint-disable prefer-rest-params, @typescript-eslint/no-unsafe-assignment */ options = {
|
|
4064
4265
|
row: arguments[0],
|
|
4065
4266
|
col: arguments[1],
|
|
4066
4267
|
verticalSnap: arguments[2] ? 'bottom' : 'top',
|
|
4067
4268
|
horizontalSnap: arguments[3] ? 'end' : 'start',
|
|
4068
4269
|
considerHiddenIndexes: arguments[4] ?? true
|
|
4069
4270
|
};
|
|
4070
|
-
/* eslint-enable prefer-rest-params */ }
|
|
4271
|
+
/* eslint-enable prefer-rest-params, @typescript-eslint/no-unsafe-assignment */ }
|
|
4071
4272
|
const { row, col, considerHiddenIndexes } = options ?? {};
|
|
4072
4273
|
let renderableRow = row;
|
|
4073
4274
|
let renderableColumn = col;
|
|
@@ -4075,15 +4276,12 @@ const deprecationWarns = new Set();
|
|
|
4075
4276
|
this.addHookOnce('afterScroll', callback);
|
|
4076
4277
|
}
|
|
4077
4278
|
if (considerHiddenIndexes === undefined || considerHiddenIndexes) {
|
|
4078
|
-
const
|
|
4079
|
-
|
|
4080
|
-
const visualRowToScroll = isValidRowGrid ? getIndexToScroll(this.rowIndexMapper, row) : undefined;
|
|
4081
|
-
const visualColumnToScroll = isValidColumnGrid ? getIndexToScroll(this.columnIndexMapper, col) : undefined;
|
|
4082
|
-
if (visualRowToScroll === null || visualColumnToScroll === null) {
|
|
4279
|
+
const resolved = resolveRenderableScrollTarget(row, col);
|
|
4280
|
+
if (resolved === false) {
|
|
4083
4281
|
return false;
|
|
4084
4282
|
}
|
|
4085
|
-
renderableRow =
|
|
4086
|
-
renderableColumn =
|
|
4283
|
+
renderableRow = resolved.renderableRow;
|
|
4284
|
+
renderableColumn = resolved.renderableColumn;
|
|
4087
4285
|
}
|
|
4088
4286
|
const isRowInteger = Number.isInteger(renderableRow);
|
|
4089
4287
|
const isColumnInteger = Number.isInteger(renderableColumn);
|
|
@@ -4116,20 +4314,20 @@ const deprecationWarns = new Set();
|
|
|
4116
4314
|
* @param {Function} [callback] The callback function to call after the viewport is scrolled.
|
|
4117
4315
|
* @returns {boolean} `true` if the viewport was scrolled, `false` otherwise.
|
|
4118
4316
|
*/ this.scrollToFocusedCell = function(callback) {
|
|
4119
|
-
if (!
|
|
4317
|
+
if (!instance.selection.isSelected()) {
|
|
4120
4318
|
return false;
|
|
4121
4319
|
}
|
|
4122
4320
|
if (isFunction(callback)) {
|
|
4123
|
-
|
|
4321
|
+
instance.addHookOnce('afterScroll', callback);
|
|
4124
4322
|
}
|
|
4125
|
-
const { highlight } =
|
|
4126
|
-
const isScrolled =
|
|
4323
|
+
const { highlight } = instance.getSelectedRangeActive();
|
|
4324
|
+
const isScrolled = instance.scrollViewportTo(highlight.toObject());
|
|
4127
4325
|
if (isScrolled) {
|
|
4128
4326
|
// fast render triggers `afterScroll` hook
|
|
4129
|
-
|
|
4327
|
+
instance.view.render();
|
|
4130
4328
|
} else if (isFunction(callback)) {
|
|
4131
|
-
|
|
4132
|
-
|
|
4329
|
+
instance.removeHook('afterScroll', callback);
|
|
4330
|
+
instance._registerMicrotask(()=>callback());
|
|
4133
4331
|
}
|
|
4134
4332
|
return isScrolled;
|
|
4135
4333
|
};
|
|
@@ -4152,6 +4350,7 @@ const deprecationWarns = new Set();
|
|
|
4152
4350
|
if (isRootInstance(this)) {
|
|
4153
4351
|
uninstallAccessibilityAnnouncer();
|
|
4154
4352
|
this.getFocusScopeManager().destroy();
|
|
4353
|
+
layoutManager?.destroy();
|
|
4155
4354
|
instance.themeManager?.destroy();
|
|
4156
4355
|
}
|
|
4157
4356
|
this.getShortcutManager().destroy();
|
|
@@ -4224,7 +4423,10 @@ const deprecationWarns = new Set();
|
|
|
4224
4423
|
* @function getActiveEditor
|
|
4225
4424
|
* @returns {BaseEditor | undefined} The active editor instance, or `undefined` if no cell is selected.
|
|
4226
4425
|
*/ this.getActiveEditor = function() {
|
|
4227
|
-
|
|
4426
|
+
// During the first `afterLoadData` hook (fired from `loadData` inside `init`),
|
|
4427
|
+
// `editorManager` has not been assigned yet. Guard so callers (e.g.
|
|
4428
|
+
// `setSourceDataAtCell`) invoked from that hook do not crash.
|
|
4429
|
+
return editorManager?.getActiveEditor();
|
|
4228
4430
|
};
|
|
4229
4431
|
/**
|
|
4230
4432
|
* Returns the first rendered row in the DOM (usually, it is not visible in the table's viewport).
|
|
@@ -4508,8 +4710,9 @@ const deprecationWarns = new Set();
|
|
|
4508
4710
|
* @since 7.1.0
|
|
4509
4711
|
* @returns {HTMLTableElement}
|
|
4510
4712
|
*/ this.toTableElement = ()=>{
|
|
4511
|
-
const
|
|
4512
|
-
tempElement.
|
|
4713
|
+
const rootDocument = instance.rootDocument;
|
|
4714
|
+
const tempElement = rootDocument.createElement('div');
|
|
4715
|
+
tempElement.insertAdjacentHTML('afterbegin', instanceToHTML(instance));
|
|
4513
4716
|
return tempElement.firstElementChild;
|
|
4514
4717
|
};
|
|
4515
4718
|
this.timeouts = [];
|
|
@@ -4522,7 +4725,7 @@ const deprecationWarns = new Set();
|
|
|
4522
4725
|
* @param {string|boolean|undefined} themeName The name of the theme to use.
|
|
4523
4726
|
*/ this.useTheme = (themeName)=>{
|
|
4524
4727
|
const isFirstRun = !!firstRun;
|
|
4525
|
-
this.stylesHandler.useTheme(themeName);
|
|
4728
|
+
this.stylesHandler.useTheme(themeName ?? undefined);
|
|
4526
4729
|
const validThemeName = this.stylesHandler.getThemeName();
|
|
4527
4730
|
if (!isFirstRun && validThemeName) {
|
|
4528
4731
|
if (getThemeClassName(this.rootContainer)) {
|
|
@@ -4542,7 +4745,7 @@ const deprecationWarns = new Set();
|
|
|
4542
4745
|
* @since 15.0.0
|
|
4543
4746
|
* @returns {string|undefined} The name of the currently used theme.
|
|
4544
4747
|
*/ this.getCurrentThemeName = ()=>{
|
|
4545
|
-
return
|
|
4748
|
+
return instance.stylesHandler.getThemeName() ?? null;
|
|
4546
4749
|
};
|
|
4547
4750
|
/**
|
|
4548
4751
|
* Gets the table's root container element height.
|
|
@@ -4552,7 +4755,7 @@ const deprecationWarns = new Set();
|
|
|
4552
4755
|
* @since 16.0.0
|
|
4553
4756
|
* @returns {number}
|
|
4554
4757
|
*/ this.getTableHeight = ()=>{
|
|
4555
|
-
return
|
|
4758
|
+
return instance.rootElement.offsetHeight;
|
|
4556
4759
|
};
|
|
4557
4760
|
/**
|
|
4558
4761
|
* Gets the table's root container element width.
|
|
@@ -4562,7 +4765,7 @@ const deprecationWarns = new Set();
|
|
|
4562
4765
|
* @since 16.0.0
|
|
4563
4766
|
* @returns {number}
|
|
4564
4767
|
*/ this.getTableWidth = ()=>{
|
|
4565
|
-
return
|
|
4768
|
+
return instance.rootElement.offsetWidth;
|
|
4566
4769
|
};
|
|
4567
4770
|
/**
|
|
4568
4771
|
* Sets timeout. Purpose of this method is to clear all known timeouts when `destroy` method is called.
|
|
@@ -4591,7 +4794,7 @@ const deprecationWarns = new Set();
|
|
|
4591
4794
|
};
|
|
4592
4795
|
this.microtasks = [];
|
|
4593
4796
|
/**
|
|
4594
|
-
*
|
|
4797
|
+
* Registers a microtask callback.
|
|
4595
4798
|
*
|
|
4596
4799
|
* @param {Function} callback Function to be delayed in execution.
|
|
4597
4800
|
* @private
|
|
@@ -4648,7 +4851,7 @@ const deprecationWarns = new Set();
|
|
|
4648
4851
|
return instance.isListening();
|
|
4649
4852
|
},
|
|
4650
4853
|
beforeKeyDown: (event)=>{
|
|
4651
|
-
return
|
|
4854
|
+
return instance.runHooks('beforeKeyDown', event);
|
|
4652
4855
|
},
|
|
4653
4856
|
afterKeyDown: (event)=>{
|
|
4654
4857
|
if (this.isDestroyed) {
|
|
@@ -4677,6 +4880,10 @@ const deprecationWarns = new Set();
|
|
|
4677
4880
|
};
|
|
4678
4881
|
focusGridManager = new FocusGridManager(instance);
|
|
4679
4882
|
const focusScopeManager = isRootInstance(this) ? createFocusScopeManager(instance) : null;
|
|
4883
|
+
const layoutManager = isRootInstance(this) ? new LayoutManager({
|
|
4884
|
+
top: instance.rootSlotTopElement,
|
|
4885
|
+
bottom: instance.rootSlotBottomElement
|
|
4886
|
+
}) : null;
|
|
4680
4887
|
/**
|
|
4681
4888
|
* Return the Focus Manager responsible for managing the browser's focus in the table.
|
|
4682
4889
|
*
|
|
@@ -4712,6 +4919,26 @@ const deprecationWarns = new Set();
|
|
|
4712
4919
|
}
|
|
4713
4920
|
return focusScopeManager;
|
|
4714
4921
|
};
|
|
4922
|
+
/**
|
|
4923
|
+
* Returns the Layout Manager. The module manages the order of plugin UI elements within the
|
|
4924
|
+
* user-orderable wrapper slots (`top`, `bottom`). Use it to add or remove custom UI and
|
|
4925
|
+
* order it via weights or the `layout` setting. Only available for the main instance.
|
|
4926
|
+
*
|
|
4927
|
+
* @memberof Core#
|
|
4928
|
+
* @since 18.0.0
|
|
4929
|
+
* @function getLayoutManager
|
|
4930
|
+
* @returns {LayoutManager} Instance of {@link LayoutManager}
|
|
4931
|
+
*
|
|
4932
|
+
* @example
|
|
4933
|
+
* ```js
|
|
4934
|
+
* hot.getLayoutManager().register('myToolbar', toolbarElement, { side: 'top', weight: 100 });
|
|
4935
|
+
* ```
|
|
4936
|
+
*/ this.getLayoutManager = function() {
|
|
4937
|
+
if (!isRootInstance(instance)) {
|
|
4938
|
+
throwWithCause('The LayoutManager is only available for the main Handsontable instance.');
|
|
4939
|
+
}
|
|
4940
|
+
return layoutManager;
|
|
4941
|
+
};
|
|
4715
4942
|
const theme = mergedUserSettings.theme;
|
|
4716
4943
|
const themeName = mergedUserSettings.themeName;
|
|
4717
4944
|
const rootContainerThemeClassName = getThemeClassName(instance.rootContainer);
|
|
@@ -4720,7 +4947,9 @@ const deprecationWarns = new Set();
|
|
|
4720
4947
|
}
|
|
4721
4948
|
getPluginsNames().forEach((pluginName)=>{
|
|
4722
4949
|
const PluginClass = getPlugin(pluginName);
|
|
4723
|
-
|
|
4950
|
+
if (PluginClass) {
|
|
4951
|
+
pluginsRegistry.addItem(pluginName, new PluginClass(this));
|
|
4952
|
+
}
|
|
4724
4953
|
});
|
|
4725
4954
|
registerAllShortcutContexts(instance);
|
|
4726
4955
|
if (isRootInstance(this)) {
|