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
|
@@ -91,6 +91,30 @@ function _interop_require_default(obj) {
|
|
|
91
91
|
default: obj
|
|
92
92
|
};
|
|
93
93
|
}
|
|
94
|
+
/**
|
|
95
|
+
* Narrow an arbitrary value to a HyperFormula cell change shape.
|
|
96
|
+
*
|
|
97
|
+
* @param {unknown} value Value to check.
|
|
98
|
+
* @returns {boolean} `true` if the value matches the cell change shape.
|
|
99
|
+
*/ function isHFCellChange(value) {
|
|
100
|
+
return typeof value === 'object' && value !== null;
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Narrow the raw `formulas` setting value to the object form.
|
|
104
|
+
*
|
|
105
|
+
* @param {unknown} value Raw setting value.
|
|
106
|
+
* @returns {boolean} `true` when the value is a settings object.
|
|
107
|
+
*/ function isFormulasSettingsObject(value) {
|
|
108
|
+
return typeof value === 'object' && value !== null;
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* Narrow a value to an object with a `value` property.
|
|
112
|
+
*
|
|
113
|
+
* @param {unknown} candidate Value to check.
|
|
114
|
+
* @returns {boolean} `true` when the value is an object exposing a `value` property.
|
|
115
|
+
*/ function hasValueProperty(candidate) {
|
|
116
|
+
return typeof candidate === 'object' && candidate !== null && 'value' in candidate;
|
|
117
|
+
}
|
|
94
118
|
const PLUGIN_KEY = 'formulas';
|
|
95
119
|
const SETTING_KEYS = [
|
|
96
120
|
'maxRows',
|
|
@@ -120,6 +144,48 @@ var /**
|
|
|
120
144
|
*
|
|
121
145
|
* @type {boolean}
|
|
122
146
|
*/ _hotWasInitializedWithEmptyData = /*#__PURE__*/ new WeakMap(), /**
|
|
147
|
+
* Maps a HyperFormula `ExportedCellChange` to the same change with `newValue` translated to a
|
|
148
|
+
* Handsontable-formatted string when the target cell is of type `date` or `time`. For other cells
|
|
149
|
+
* (or non-numeric values, or named expressions, or trimmed cells, or cells on other sheets), the
|
|
150
|
+
* original change is returned unchanged.
|
|
151
|
+
*
|
|
152
|
+
* @param {object} change The HyperFormula exported change.
|
|
153
|
+
* @returns {object}
|
|
154
|
+
*/ _exportChangeValue = /*#__PURE__*/ new WeakSet(), /**
|
|
155
|
+
* Called when a value is updated in the engine.
|
|
156
|
+
*
|
|
157
|
+
* @fires Hooks#afterFormulasValuesUpdate
|
|
158
|
+
* @param {Array} changes The values and location of applied changes.
|
|
159
|
+
*/ _onEngineValuesUpdated = /*#__PURE__*/ new WeakMap(), /**
|
|
160
|
+
* Called when a named expression is added to the engine instance.
|
|
161
|
+
*
|
|
162
|
+
* @fires Hooks#afterNamedExpressionAdded
|
|
163
|
+
* @param {string} namedExpressionName The name of the added expression.
|
|
164
|
+
* @param {Array} changes The values and location of applied changes.
|
|
165
|
+
*/ _onEngineNamedExpressionsAdded = /*#__PURE__*/ new WeakMap(), /**
|
|
166
|
+
* Called when a named expression is removed from the engine instance.
|
|
167
|
+
*
|
|
168
|
+
* @fires Hooks#afterNamedExpressionRemoved
|
|
169
|
+
* @param {string} namedExpressionName The name of the removed expression.
|
|
170
|
+
* @param {Array} changes The values and location of applied changes.
|
|
171
|
+
*/ _onEngineNamedExpressionsRemoved = /*#__PURE__*/ new WeakMap(), /**
|
|
172
|
+
* Called when a new sheet is added to the engine instance.
|
|
173
|
+
*
|
|
174
|
+
* @fires Hooks#afterSheetAdded
|
|
175
|
+
* @param {string} addedSheetDisplayName The name of the added sheet.
|
|
176
|
+
*/ _onEngineSheetAdded = /*#__PURE__*/ new WeakMap(), /**
|
|
177
|
+
* Called when a sheet in the engine instance is renamed.
|
|
178
|
+
*
|
|
179
|
+
* @fires Hooks#afterSheetRenamed
|
|
180
|
+
* @param {string} oldDisplayName The old name of the sheet.
|
|
181
|
+
* @param {string} newDisplayName The new name of the sheet.
|
|
182
|
+
*/ _onEngineSheetRenamed = /*#__PURE__*/ new WeakMap(), /**
|
|
183
|
+
* Called when a sheet is removed from the engine instance.
|
|
184
|
+
*
|
|
185
|
+
* @fires Hooks#afterSheetRemoved
|
|
186
|
+
* @param {string} removedSheetDisplayName The removed sheet name.
|
|
187
|
+
* @param {Array} changes The values and location of applied changes.
|
|
188
|
+
*/ _onEngineSheetRemoved = /*#__PURE__*/ new WeakMap(), /**
|
|
123
189
|
* The list of the HyperFormula listeners.
|
|
124
190
|
*
|
|
125
191
|
* @type {Array}
|
|
@@ -152,7 +218,7 @@ var /**
|
|
|
152
218
|
* @param {number} visualRow The visual row index.
|
|
153
219
|
* @param {number|string} prop The visual column index or property name of the column.
|
|
154
220
|
* @returns {*} Returns value to validate.
|
|
155
|
-
*/ _onBeforeValidate = /*#__PURE__*/ new
|
|
221
|
+
*/ _onBeforeValidate = /*#__PURE__*/ new WeakMap(), /**
|
|
156
222
|
* `onBeforeAutofill` hook callback.
|
|
157
223
|
*
|
|
158
224
|
* @param {Array[]} fillData The data that was used to fill the `targetRange`. If `beforeAutofill` was used
|
|
@@ -160,21 +226,21 @@ var /**
|
|
|
160
226
|
* @param {CellRange} sourceRange The range values will be filled from.
|
|
161
227
|
* @param {CellRange} targetRange The range new values will be filled into.
|
|
162
228
|
* @returns {boolean|*}
|
|
163
|
-
*/ _onBeforeAutofill = /*#__PURE__*/ new
|
|
229
|
+
*/ _onBeforeAutofill = /*#__PURE__*/ new WeakMap(), /**
|
|
164
230
|
* `beforeLoadData` hook callback.
|
|
165
231
|
*
|
|
166
232
|
* @param {Array} sourceData Array of arrays or array of objects containing data.
|
|
167
233
|
* @param {boolean} initialLoad Flag that determines whether the data has been loaded during the initialization.
|
|
168
234
|
* @param {string} [source] Source of the call.
|
|
169
|
-
*/ _onBeforeLoadData = /*#__PURE__*/ new
|
|
235
|
+
*/ _onBeforeLoadData = /*#__PURE__*/ new WeakMap(), /**
|
|
170
236
|
* Callback to `afterCellMetaReset` hook which is triggered after setting cell meta.
|
|
171
|
-
*/ _onAfterCellMetaReset = /*#__PURE__*/ new
|
|
237
|
+
*/ _onAfterCellMetaReset = /*#__PURE__*/ new WeakMap(), /**
|
|
172
238
|
* `afterLoadData` hook callback.
|
|
173
239
|
*
|
|
174
240
|
* @param {Array} sourceData Array of arrays or array of objects containing data.
|
|
175
241
|
* @param {boolean} initialLoad Flag that determines whether the data has been loaded during the initialization.
|
|
176
242
|
* @param {string} [source] Source of the call.
|
|
177
|
-
*/ _onAfterLoadData = /*#__PURE__*/ new
|
|
243
|
+
*/ _onAfterLoadData = /*#__PURE__*/ new WeakMap(), /**
|
|
178
244
|
* `modifyData` hook callback.
|
|
179
245
|
*
|
|
180
246
|
* @param {number} visualRow Visual row index.
|
|
@@ -182,7 +248,7 @@ var /**
|
|
|
182
248
|
* @param {object} valueHolder Object which contains original value which can be modified by overwriting `.value`
|
|
183
249
|
* property.
|
|
184
250
|
* @param {string} ioMode String which indicates for what operation hook is fired (`get` or `set`).
|
|
185
|
-
*/ _onModifyData = /*#__PURE__*/ new
|
|
251
|
+
*/ _onModifyData = /*#__PURE__*/ new WeakMap(), /**
|
|
186
252
|
* `modifySourceData` hook callback.
|
|
187
253
|
*
|
|
188
254
|
* @param {number} row Physical row index.
|
|
@@ -190,59 +256,59 @@ var /**
|
|
|
190
256
|
* @param {object} valueHolder Object which contains original value which can be modified by overwriting `.value`
|
|
191
257
|
* property.
|
|
192
258
|
* @param {string} ioMode String which indicates for what operation hook is fired (`get` or `set`).
|
|
193
|
-
*/ _onModifySourceData = /*#__PURE__*/ new
|
|
259
|
+
*/ _onModifySourceData = /*#__PURE__*/ new WeakMap(), /**
|
|
194
260
|
* `onAfterSetDataAtCell` hook callback.
|
|
195
261
|
*
|
|
196
262
|
* @param {Array[]} changes An array of changes in format [[row, prop, oldValue, value], ...].
|
|
197
263
|
* @param {string} [source] String that identifies source of hook call
|
|
198
264
|
* ([list of all available sources]{@link https://handsontable.com/docs/javascript-data-grid/events-and-hooks/#handsontable-hooks}).
|
|
199
|
-
*/ _onAfterSetDataAtCell = /*#__PURE__*/ new
|
|
265
|
+
*/ _onAfterSetDataAtCell = /*#__PURE__*/ new WeakMap(), /**
|
|
200
266
|
* `onAfterSetSourceDataAtCell` hook callback.
|
|
201
267
|
*
|
|
202
268
|
* @param {Array[]} changes An array of changes in format [[row, column, oldValue, value], ...].
|
|
203
269
|
* @param {string} [source] String that identifies source of hook call
|
|
204
270
|
* ([list of all available sources]{@link https://handsontable.com/docs/javascript-data-grid/events-and-hooks/#handsontable-hooks}).
|
|
205
|
-
*/ _onAfterSetSourceDataAtCell = /*#__PURE__*/ new
|
|
271
|
+
*/ _onAfterSetSourceDataAtCell = /*#__PURE__*/ new WeakMap(), /**
|
|
206
272
|
* `beforeCreateRow` hook callback.
|
|
207
273
|
*
|
|
208
274
|
* @param {number} visualRow Represents the visual index of first newly created row in the data source array.
|
|
209
275
|
* @param {number} amount Number of newly created rows in the data source array.
|
|
210
276
|
* @returns {*|boolean} If false is returned the action is canceled.
|
|
211
|
-
*/ _onBeforeCreateRow = /*#__PURE__*/ new
|
|
277
|
+
*/ _onBeforeCreateRow = /*#__PURE__*/ new WeakMap(), /**
|
|
212
278
|
* `beforeCreateCol` hook callback.
|
|
213
279
|
*
|
|
214
280
|
* @param {number} visualColumn Represents the visual index of first newly created column in the data source.
|
|
215
281
|
* @param {number} amount Number of newly created columns in the data source.
|
|
216
282
|
* @returns {*|boolean} If false is returned the action is canceled.
|
|
217
|
-
*/ _onBeforeCreateCol = /*#__PURE__*/ new
|
|
283
|
+
*/ _onBeforeCreateCol = /*#__PURE__*/ new WeakMap(), /**
|
|
218
284
|
* `beforeRemoveRow` hook callback.
|
|
219
285
|
*
|
|
220
286
|
* @param {number} row Visual index of starter row.
|
|
221
287
|
* @param {number} amount Amount of rows to be removed.
|
|
222
288
|
* @param {number[]} physicalRows An array of physical rows removed from the data source.
|
|
223
289
|
* @returns {*|boolean} If false is returned the action is canceled.
|
|
224
|
-
*/ _onBeforeRemoveRow = /*#__PURE__*/ new
|
|
290
|
+
*/ _onBeforeRemoveRow = /*#__PURE__*/ new WeakMap(), /**
|
|
225
291
|
* `beforeRemoveCol` hook callback.
|
|
226
292
|
*
|
|
227
293
|
* @param {number} col Visual index of starter column.
|
|
228
294
|
* @param {number} amount Amount of columns to be removed.
|
|
229
295
|
* @param {number[]} physicalColumns An array of physical columns removed from the data source.
|
|
230
296
|
* @returns {*|boolean} If false is returned the action is canceled.
|
|
231
|
-
*/ _onBeforeRemoveCol = /*#__PURE__*/ new
|
|
297
|
+
*/ _onBeforeRemoveCol = /*#__PURE__*/ new WeakMap(), /**
|
|
232
298
|
* `afterCreateRow` hook callback.
|
|
233
299
|
*
|
|
234
300
|
* @param {number} visualRow Represents the visual index of first newly created row in the data source array.
|
|
235
301
|
* @param {number} amount Number of newly created rows in the data source array.
|
|
236
302
|
* @param {string} [source] String that identifies source of hook call
|
|
237
303
|
* ([list of all available sources]{@link https://handsontable.com/docs/javascript-data-grid/events-and-hooks/#handsontable-hooks}).
|
|
238
|
-
*/ _onAfterCreateRow = /*#__PURE__*/ new
|
|
304
|
+
*/ _onAfterCreateRow = /*#__PURE__*/ new WeakMap(), /**
|
|
239
305
|
* `afterCreateCol` hook callback.
|
|
240
306
|
*
|
|
241
307
|
* @param {number} visualColumn Represents the visual index of first newly created column in the data source.
|
|
242
308
|
* @param {number} amount Number of newly created columns in the data source.
|
|
243
309
|
* @param {string} [source] String that identifies source of hook call
|
|
244
310
|
* ([list of all available sources]{@link https://handsontable.com/docs/javascript-data-grid/events-and-hooks/#handsontable-hooks}).
|
|
245
|
-
*/ _onAfterCreateCol = /*#__PURE__*/ new
|
|
311
|
+
*/ _onAfterCreateCol = /*#__PURE__*/ new WeakMap(), /**
|
|
246
312
|
* `afterRemoveRow` hook callback.
|
|
247
313
|
*
|
|
248
314
|
* @param {number} row Visual index of starter row.
|
|
@@ -250,7 +316,7 @@ var /**
|
|
|
250
316
|
* @param {number[]} physicalRows An array of physical rows removed from the data source.
|
|
251
317
|
* @param {string} [source] String that identifies source of hook call
|
|
252
318
|
* ([list of all available sources]{@link https://handsontable.com/docs/javascript-data-grid/events-and-hooks/#handsontable-hooks}).
|
|
253
|
-
*/ _onAfterRemoveRow = /*#__PURE__*/ new
|
|
319
|
+
*/ _onAfterRemoveRow = /*#__PURE__*/ new WeakMap(), /**
|
|
254
320
|
* `afterRemoveCol` hook callback.
|
|
255
321
|
*
|
|
256
322
|
* @param {number} col Visual index of starter column.
|
|
@@ -258,56 +324,28 @@ var /**
|
|
|
258
324
|
* @param {number[]} physicalColumns An array of physical columns removed from the data source.
|
|
259
325
|
* @param {string} [source] String that identifies source of hook call
|
|
260
326
|
* ([list of all available sources]{@link https://handsontable.com/docs/javascript-data-grid/events-and-hooks/#handsontable-hooks}).
|
|
261
|
-
*/ _onAfterRemoveCol = /*#__PURE__*/ new
|
|
327
|
+
*/ _onAfterRemoveCol = /*#__PURE__*/ new WeakMap(), /**
|
|
262
328
|
* `afterDetachChild` hook callback.
|
|
263
329
|
* Used to sync the data of the rows detached in the Nested Rows plugin with the engine's dataset.
|
|
264
330
|
*
|
|
265
331
|
* @param {object} parent An object representing the parent from which the element was detached.
|
|
266
332
|
* @param {object} element The detached element.
|
|
267
333
|
* @param {number} finalElementRowIndex The final row index of the detached element.
|
|
268
|
-
*/ _onAfterDetachChild = /*#__PURE__*/ new
|
|
269
|
-
* Called when a value is updated in the engine.
|
|
270
|
-
*
|
|
271
|
-
* @fires Hooks#afterFormulasValuesUpdate
|
|
272
|
-
* @param {Array} changes The values and location of applied changes.
|
|
273
|
-
*/ _onEngineValuesUpdated = /*#__PURE__*/ new WeakSet(), /**
|
|
274
|
-
* Called when a named expression is added to the engine instance.
|
|
275
|
-
*
|
|
276
|
-
* @fires Hooks#afterNamedExpressionAdded
|
|
277
|
-
* @param {string} namedExpressionName The name of the added expression.
|
|
278
|
-
* @param {Array} changes The values and location of applied changes.
|
|
279
|
-
*/ _onEngineNamedExpressionsAdded = /*#__PURE__*/ new WeakSet(), /**
|
|
280
|
-
* Called when a named expression is removed from the engine instance.
|
|
281
|
-
*
|
|
282
|
-
* @fires Hooks#afterNamedExpressionRemoved
|
|
283
|
-
* @param {string} namedExpressionName The name of the removed expression.
|
|
284
|
-
* @param {Array} changes The values and location of applied changes.
|
|
285
|
-
*/ _onEngineNamedExpressionsRemoved = /*#__PURE__*/ new WeakSet(), /**
|
|
286
|
-
* Called when a new sheet is added to the engine instance.
|
|
287
|
-
*
|
|
288
|
-
* @fires Hooks#afterSheetAdded
|
|
289
|
-
* @param {string} addedSheetDisplayName The name of the added sheet.
|
|
290
|
-
*/ _onEngineSheetAdded = /*#__PURE__*/ new WeakSet(), /**
|
|
291
|
-
* Called when a sheet in the engine instance is renamed.
|
|
292
|
-
*
|
|
293
|
-
* @fires Hooks#afterSheetRenamed
|
|
294
|
-
* @param {string} oldDisplayName The old name of the sheet.
|
|
295
|
-
* @param {string} newDisplayName The new name of the sheet.
|
|
296
|
-
*/ _onEngineSheetRenamed = /*#__PURE__*/ new WeakSet(), /**
|
|
297
|
-
* Called when a sheet is removed from the engine instance.
|
|
298
|
-
*
|
|
299
|
-
* @fires Hooks#afterSheetRemoved
|
|
300
|
-
* @param {string} removedSheetDisplayName The removed sheet name.
|
|
301
|
-
* @param {Array} changes The values and location of applied changes.
|
|
302
|
-
*/ _onEngineSheetRemoved = /*#__PURE__*/ new WeakSet();
|
|
334
|
+
*/ _onAfterDetachChild = /*#__PURE__*/ new WeakMap();
|
|
303
335
|
class Formulas extends _base.BasePlugin {
|
|
304
|
-
|
|
336
|
+
/**
|
|
337
|
+
* Returns the plugin key used to identify this plugin in Handsontable settings.
|
|
338
|
+
*/ static get PLUGIN_KEY() {
|
|
305
339
|
return PLUGIN_KEY;
|
|
306
340
|
}
|
|
307
|
-
|
|
341
|
+
/**
|
|
342
|
+
* Returns the priority order used to determine the order in which plugins are initialized.
|
|
343
|
+
*/ static get PLUGIN_PRIORITY() {
|
|
308
344
|
return PLUGIN_PRIORITY;
|
|
309
345
|
}
|
|
310
|
-
|
|
346
|
+
/**
|
|
347
|
+
* Returns the list of settings keys observed by the plugin for configuration changes.
|
|
348
|
+
*/ static get SETTING_KEYS() {
|
|
311
349
|
return [
|
|
312
350
|
PLUGIN_KEY,
|
|
313
351
|
...SETTING_KEYS
|
|
@@ -335,29 +373,29 @@ class Formulas extends _base.BasePlugin {
|
|
|
335
373
|
// Useful for disabling -> enabling the plugin using `updateSettings` or the API.
|
|
336
374
|
if (this.sheetName !== null && !this.engine.doesSheetExist(this.sheetName)) {
|
|
337
375
|
const newSheetName = this.addSheet(this.sheetName, _class_private_method_get(this, _getProcessedSourceDataArray, getProcessedSourceDataArray).call(this));
|
|
338
|
-
if (newSheetName
|
|
376
|
+
if (typeof newSheetName === 'string') {
|
|
339
377
|
_class_private_method_get(this, _updateSheetNameAndSheetId, updateSheetNameAndSheetId).call(this, newSheetName);
|
|
340
378
|
}
|
|
341
379
|
}
|
|
342
|
-
this.addHook('beforeLoadData', (
|
|
343
|
-
this.addHook('afterLoadData', (
|
|
380
|
+
this.addHook('beforeLoadData', _class_private_field_get(this, _onBeforeLoadData));
|
|
381
|
+
this.addHook('afterLoadData', _class_private_field_get(this, _onAfterLoadData));
|
|
344
382
|
// The `updateData` hooks utilize the same logic as the `loadData` hooks.
|
|
345
|
-
this.addHook('beforeUpdateData', (
|
|
346
|
-
this.addHook('afterUpdateData', (
|
|
347
|
-
this.addHook('modifyData', (
|
|
348
|
-
this.addHook('modifySourceData', (
|
|
349
|
-
this.addHook('beforeValidate', (
|
|
350
|
-
this.addHook('afterSetSourceDataAtCell', (
|
|
351
|
-
this.addHook('afterSetDataAtCell', (
|
|
352
|
-
this.addHook('afterSetDataAtRowProp', (
|
|
353
|
-
this.addHook('beforeCreateRow', (
|
|
354
|
-
this.addHook('beforeCreateCol', (
|
|
355
|
-
this.addHook('afterCreateRow', (
|
|
356
|
-
this.addHook('afterCreateCol', (
|
|
357
|
-
this.addHook('beforeRemoveRow', (
|
|
358
|
-
this.addHook('beforeRemoveCol', (
|
|
359
|
-
this.addHook('afterRemoveRow', (
|
|
360
|
-
this.addHook('afterRemoveCol', (
|
|
383
|
+
this.addHook('beforeUpdateData', _class_private_field_get(this, _onBeforeLoadData));
|
|
384
|
+
this.addHook('afterUpdateData', _class_private_field_get(this, _onAfterLoadData));
|
|
385
|
+
this.addHook('modifyData', _class_private_field_get(this, _onModifyData));
|
|
386
|
+
this.addHook('modifySourceData', _class_private_field_get(this, _onModifySourceData));
|
|
387
|
+
this.addHook('beforeValidate', _class_private_field_get(this, _onBeforeValidate));
|
|
388
|
+
this.addHook('afterSetSourceDataAtCell', _class_private_field_get(this, _onAfterSetSourceDataAtCell));
|
|
389
|
+
this.addHook('afterSetDataAtCell', _class_private_field_get(this, _onAfterSetDataAtCell));
|
|
390
|
+
this.addHook('afterSetDataAtRowProp', _class_private_field_get(this, _onAfterSetDataAtCell));
|
|
391
|
+
this.addHook('beforeCreateRow', _class_private_field_get(this, _onBeforeCreateRow));
|
|
392
|
+
this.addHook('beforeCreateCol', _class_private_field_get(this, _onBeforeCreateCol));
|
|
393
|
+
this.addHook('afterCreateRow', _class_private_field_get(this, _onAfterCreateRow));
|
|
394
|
+
this.addHook('afterCreateCol', _class_private_field_get(this, _onAfterCreateCol));
|
|
395
|
+
this.addHook('beforeRemoveRow', _class_private_field_get(this, _onBeforeRemoveRow));
|
|
396
|
+
this.addHook('beforeRemoveCol', _class_private_field_get(this, _onBeforeRemoveCol));
|
|
397
|
+
this.addHook('afterRemoveRow', _class_private_field_get(this, _onAfterRemoveRow));
|
|
398
|
+
this.addHook('afterRemoveCol', _class_private_field_get(this, _onAfterRemoveCol));
|
|
361
399
|
this.indexSyncer = new _indexSyncer.default(this.hot.rowIndexMapper, this.hot.columnIndexMapper, (postponedAction)=>{
|
|
362
400
|
this.hot.addHookOnce('init', ()=>{
|
|
363
401
|
// Engine is initialized after executing callback to `afterLoadData` hook. Thus, some actions on indexes should
|
|
@@ -369,38 +407,40 @@ class Formulas extends _base.BasePlugin {
|
|
|
369
407
|
this.columnAxisSyncer = this.indexSyncer.getForAxis('column');
|
|
370
408
|
this.hot.addHook('afterRowSequenceChange', this.rowAxisSyncer.getIndexesChangeSyncMethod());
|
|
371
409
|
this.hot.addHook('afterColumnSequenceChange', this.columnAxisSyncer.getIndexesChangeSyncMethod());
|
|
372
|
-
this.hot.addHook('beforeRowMove', (movedRows, finalIndex,
|
|
410
|
+
this.hot.addHook('beforeRowMove', (movedRows, finalIndex, _dropIndex, movePossible)=>{
|
|
373
411
|
this.rowAxisSyncer.storeMovesInformation(movedRows, finalIndex, movePossible);
|
|
374
412
|
});
|
|
375
|
-
this.hot.addHook('beforeColumnMove', (movedColumns, finalIndex,
|
|
413
|
+
this.hot.addHook('beforeColumnMove', (movedColumns, finalIndex, _dropIndex, movePossible)=>{
|
|
376
414
|
this.columnAxisSyncer.storeMovesInformation(movedColumns, finalIndex, movePossible);
|
|
377
415
|
});
|
|
378
|
-
this.hot.addHook('afterRowMove', (
|
|
416
|
+
this.hot.addHook('afterRowMove', (_movedRows, _finalIndex, _dropIndex, movePossible, orderChanged)=>{
|
|
379
417
|
this.rowAxisSyncer.calculateAndSyncMoves(movePossible, orderChanged);
|
|
380
418
|
});
|
|
381
|
-
this.hot.addHook('afterColumnMove', (
|
|
419
|
+
this.hot.addHook('afterColumnMove', (_movedColumns, _finalIndex, _dropIndex, movePossible, orderChanged)=>{
|
|
382
420
|
this.columnAxisSyncer.calculateAndSyncMoves(movePossible, orderChanged);
|
|
383
421
|
});
|
|
384
422
|
this.hot.addHook('beforeColumnFreeze', (column, freezePerformed)=>{
|
|
423
|
+
const fixedColumnsStart = this.hot.getSettings().fixedColumnsStart;
|
|
385
424
|
this.columnAxisSyncer.storeMovesInformation([
|
|
386
425
|
column
|
|
387
|
-
],
|
|
426
|
+
], fixedColumnsStart, freezePerformed);
|
|
388
427
|
});
|
|
389
|
-
this.hot.addHook('afterColumnFreeze', (
|
|
428
|
+
this.hot.addHook('afterColumnFreeze', (_column, freezePerformed)=>{
|
|
390
429
|
this.columnAxisSyncer.calculateAndSyncMoves(freezePerformed, freezePerformed);
|
|
391
430
|
});
|
|
392
431
|
this.hot.addHook('beforeColumnUnfreeze', (column, unfreezePerformed)=>{
|
|
432
|
+
const fixedColumnsStart = this.hot.getSettings().fixedColumnsStart;
|
|
393
433
|
this.columnAxisSyncer.storeMovesInformation([
|
|
394
434
|
column
|
|
395
|
-
],
|
|
435
|
+
], fixedColumnsStart - 1, unfreezePerformed);
|
|
396
436
|
});
|
|
397
|
-
this.hot.addHook('afterColumnUnfreeze', (
|
|
437
|
+
this.hot.addHook('afterColumnUnfreeze', (_column, unfreezePerformed)=>{
|
|
398
438
|
this.columnAxisSyncer.calculateAndSyncMoves(unfreezePerformed, unfreezePerformed);
|
|
399
439
|
});
|
|
400
440
|
// TODO: Actions related to overwriting dates from HOT format to HF default format are done as callback to this
|
|
401
441
|
// hook, because some hooks, such as `afterLoadData` doesn't have information about composed cell properties.
|
|
402
442
|
// Another hooks are triggered to late for setting HF's engine data needed for some actions.
|
|
403
|
-
this.addHook('afterCellMetaReset', (
|
|
443
|
+
this.addHook('afterCellMetaReset', _class_private_field_get(this, _onAfterCellMetaReset));
|
|
404
444
|
// Handling undo actions on data just using HyperFormula's UndoRedo mechanism
|
|
405
445
|
this.addHook('beforeUndo', ()=>{
|
|
406
446
|
this.indexSyncer.setPerformUndo(true);
|
|
@@ -417,16 +457,18 @@ class Formulas extends _base.BasePlugin {
|
|
|
417
457
|
this.addHook('afterUndo', ()=>{
|
|
418
458
|
this.indexSyncer.setPerformRedo(false);
|
|
419
459
|
});
|
|
420
|
-
this.addHook('afterDetachChild', (
|
|
421
|
-
this.addHook('beforeAutofill', (
|
|
422
|
-
_class_private_field_get(this, _engineListeners)
|
|
460
|
+
this.addHook('afterDetachChild', _class_private_field_get(this, _onAfterDetachChild));
|
|
461
|
+
this.addHook('beforeAutofill', _class_private_field_get(this, _onBeforeAutofill));
|
|
462
|
+
_class_private_field_get(this, _engineListeners)?.forEach(([eventName, listener])=>this.engine.on(eventName, listener));
|
|
423
463
|
super.enablePlugin();
|
|
424
464
|
}
|
|
425
465
|
/**
|
|
426
466
|
* Disables the plugin functionality for this Handsontable instance.
|
|
427
467
|
*/ disablePlugin() {
|
|
428
|
-
_class_private_field_get(this, _engineListeners)
|
|
429
|
-
|
|
468
|
+
_class_private_field_get(this, _engineListeners)?.forEach(([eventName, listener])=>this.engine?.off(eventName, listener));
|
|
469
|
+
if (this.engine) {
|
|
470
|
+
(0, _register.unregisterEngine)(this.engine, this.hot);
|
|
471
|
+
}
|
|
430
472
|
this.engine = null;
|
|
431
473
|
super.disablePlugin();
|
|
432
474
|
}
|
|
@@ -437,22 +479,25 @@ class Formulas extends _base.BasePlugin {
|
|
|
437
479
|
* @param {object} newSettings New set of settings passed to the `updateSettings` method.
|
|
438
480
|
*/ updatePlugin(newSettings) {
|
|
439
481
|
const newEngineSettings = (0, _settings.getEngineSettingsWithOverrides)(this.hot.getSettings());
|
|
440
|
-
if ((0, _settings.haveEngineSettingsChanged)(this.engine.getConfig(), newEngineSettings)) {
|
|
482
|
+
if (this.engine && (0, _settings.haveEngineSettingsChanged)(this.engine.getConfig(), newEngineSettings)) {
|
|
441
483
|
this.engine.updateConfig(newEngineSettings);
|
|
442
484
|
}
|
|
443
485
|
const pluginSettings = this.hot.getSettings()[PLUGIN_KEY];
|
|
444
|
-
if (
|
|
486
|
+
if (pluginSettings !== undefined && typeof pluginSettings !== 'boolean' && pluginSettings.sheetName !== undefined && pluginSettings.sheetName !== this.sheetName) {
|
|
445
487
|
this.switchSheet(pluginSettings.sheetName);
|
|
446
488
|
}
|
|
447
489
|
// If no data was passed to the `updateSettings` method and no sheet is connected to the instance -> create a
|
|
448
490
|
// new sheet using the currently used data. Otherwise, it will be handled by the `afterLoadData` call.
|
|
449
491
|
if (!newSettings.data && this.sheetName === null) {
|
|
450
|
-
const
|
|
451
|
-
|
|
452
|
-
|
|
492
|
+
const formulasSettings = this.hot.getSettings()[PLUGIN_KEY];
|
|
493
|
+
const sheetName = isFormulasSettingsObject(formulasSettings) ? formulasSettings.sheetName : undefined;
|
|
494
|
+
if (sheetName && this.engine?.doesSheetExist(sheetName)) {
|
|
495
|
+
this.switchSheet(sheetName);
|
|
453
496
|
} else {
|
|
454
497
|
const newSheetName = this.addSheet(sheetName ?? undefined, _class_private_method_get(this, _getProcessedSourceDataArray, getProcessedSourceDataArray).call(this));
|
|
455
|
-
|
|
498
|
+
if (typeof newSheetName === 'string') {
|
|
499
|
+
_class_private_method_get(this, _updateSheetNameAndSheetId, updateSheetNameAndSheetId).call(this, newSheetName);
|
|
500
|
+
}
|
|
456
501
|
}
|
|
457
502
|
}
|
|
458
503
|
super.updatePlugin(newSettings);
|
|
@@ -460,9 +505,11 @@ class Formulas extends _base.BasePlugin {
|
|
|
460
505
|
/**
|
|
461
506
|
* Destroys the plugin instance.
|
|
462
507
|
*/ destroy() {
|
|
463
|
-
_class_private_field_get(this, _engineListeners)
|
|
508
|
+
_class_private_field_get(this, _engineListeners)?.forEach(([eventName, listener])=>this.engine?.off(eventName, listener));
|
|
464
509
|
_class_private_field_set(this, _engineListeners, null);
|
|
465
|
-
|
|
510
|
+
if (this.engine) {
|
|
511
|
+
(0, _register.unregisterEngine)(this.engine, this.hot);
|
|
512
|
+
}
|
|
466
513
|
this.engine = null;
|
|
467
514
|
super.destroy();
|
|
468
515
|
}
|
|
@@ -480,7 +527,7 @@ class Formulas extends _base.BasePlugin {
|
|
|
480
527
|
(0, _console.warn)('The provided data should be an array of arrays.');
|
|
481
528
|
return false;
|
|
482
529
|
}
|
|
483
|
-
if (sheetName !== undefined && sheetName !== null && this.engine
|
|
530
|
+
if (sheetName !== undefined && sheetName !== null && this.engine?.doesSheetExist(sheetName)) {
|
|
484
531
|
(0, _console.warn)('Sheet with the provided name already exists.');
|
|
485
532
|
return false;
|
|
486
533
|
}
|
|
@@ -491,7 +538,7 @@ class Formulas extends _base.BasePlugin {
|
|
|
491
538
|
}
|
|
492
539
|
return actualSheetName;
|
|
493
540
|
} catch (e) {
|
|
494
|
-
(0, _console.warn)(e.message);
|
|
541
|
+
(0, _console.warn)(e instanceof Error ? e.message : String(e));
|
|
495
542
|
return false;
|
|
496
543
|
}
|
|
497
544
|
}
|
|
@@ -501,7 +548,7 @@ class Formulas extends _base.BasePlugin {
|
|
|
501
548
|
*
|
|
502
549
|
* @param {string} sheetName Sheet name used in the shared HyperFormula instance.
|
|
503
550
|
*/ switchSheet(sheetName) {
|
|
504
|
-
if (!this.engine
|
|
551
|
+
if (!this.engine?.doesSheetExist(sheetName)) {
|
|
505
552
|
(0, _console.error)(`The sheet named \`${sheetName}\` does not exist, switch aborted.`);
|
|
506
553
|
return;
|
|
507
554
|
}
|
|
@@ -557,13 +604,14 @@ class Formulas extends _base.BasePlugin {
|
|
|
557
604
|
const affectedSheetIds = new Set();
|
|
558
605
|
dependentCells.forEach((change)=>{
|
|
559
606
|
// For the Named expression the address is empty, hence the `sheetId` is undefined.
|
|
560
|
-
const sheetId = change
|
|
561
|
-
if (sheetId !== undefined) {
|
|
562
|
-
|
|
563
|
-
affectedSheetIds.add(sheetId);
|
|
564
|
-
}
|
|
607
|
+
const sheetId = isHFCellChange(change) ? change.address?.sheet : undefined;
|
|
608
|
+
if (sheetId !== undefined && !affectedSheetIds.has(sheetId)) {
|
|
609
|
+
affectedSheetIds.add(sheetId);
|
|
565
610
|
}
|
|
566
611
|
});
|
|
612
|
+
if (!this.engine) {
|
|
613
|
+
return;
|
|
614
|
+
}
|
|
567
615
|
(0, _register.getRegisteredHotInstances)(this.engine).forEach((relatedHot, sheetId)=>{
|
|
568
616
|
if ((renderSelf || sheetId !== this.sheetId) && affectedSheetIds.has(sheetId)) {
|
|
569
617
|
relatedHot.render();
|
|
@@ -579,22 +627,22 @@ class Formulas extends _base.BasePlugin {
|
|
|
579
627
|
* @param {object[]} [changedCells] The values and location of applied changes by developer (through API or UI).
|
|
580
628
|
*/ validateDependentCells(dependentCells, changedCells = []) {
|
|
581
629
|
const stringifyAddress = (change)=>{
|
|
582
|
-
const
|
|
630
|
+
const address = isHFCellChange(change) ? change.address : undefined;
|
|
631
|
+
const { row, col, sheet } = address ?? {};
|
|
583
632
|
return (0, _mixed.isDefined)(sheet) ? `${sheet}:${row}x${col}` : '';
|
|
584
633
|
};
|
|
585
634
|
const changedCellsSet = new Set(changedCells.map((change)=>stringifyAddress(change)));
|
|
586
635
|
dependentCells.forEach((change)=>{
|
|
587
|
-
const
|
|
636
|
+
const address = isHFCellChange(change) ? change.address : undefined;
|
|
637
|
+
const { row, col, sheet: sheetId } = address ?? {};
|
|
588
638
|
// Don't try to validate cells outside of the visual part of the table.
|
|
589
|
-
if (
|
|
639
|
+
if (row === undefined || col === undefined || row >= this.hot.countRows() || col >= this.hot.countCols()) {
|
|
590
640
|
return;
|
|
591
641
|
}
|
|
592
|
-
// For the Named expression the address is empty, hence the `sheetId` is undefined.
|
|
593
|
-
const sheetId = change?.address?.sheet;
|
|
594
642
|
const addressId = stringifyAddress(change);
|
|
595
643
|
// Validate the cells that depend on the calculated formulas. Skip that cells
|
|
596
644
|
// where the user directly changes the values - the Core triggers those validators.
|
|
597
|
-
if (sheetId !== undefined && !changedCellsSet.has(addressId)) {
|
|
645
|
+
if (sheetId !== undefined && !changedCellsSet.has(addressId) && this.engine) {
|
|
598
646
|
const boundHot = (0, _register.getRegisteredHotInstances)(this.engine).get(sheetId);
|
|
599
647
|
// if `sheetId` is not bound to any Handsontable instance, skip the validation process
|
|
600
648
|
if (!boundHot) {
|
|
@@ -619,56 +667,142 @@ class Formulas extends _base.BasePlugin {
|
|
|
619
667
|
col: this.columnAxisSyncer.getHfIndexFromVisualIndex(column),
|
|
620
668
|
sheet: this.sheetId
|
|
621
669
|
};
|
|
622
|
-
if (!this.engine
|
|
670
|
+
if (!this.engine?.isItPossibleToSetCellContents(address)) {
|
|
623
671
|
(0, _console.warn)(`Not possible to set cell data at ${JSON.stringify(address)}`);
|
|
624
672
|
return;
|
|
625
673
|
}
|
|
626
674
|
const cellMeta = this.hot.getCellMeta(row, column);
|
|
627
675
|
if ((0, _utils.isDate)(newValue, cellMeta.type)) {
|
|
628
|
-
if ((0, _utils.isDateValid)(newValue
|
|
676
|
+
if ((0, _utils.isDateValid)(newValue)) {
|
|
629
677
|
// Rewriting date in HOT format to HF format.
|
|
630
|
-
newValue = (0, _utils.getDateInHfFormat)(newValue
|
|
678
|
+
newValue = (0, _utils.getDateInHfFormat)(newValue);
|
|
631
679
|
} else if ((0, _utils.isFormula)(newValue) === false) {
|
|
632
680
|
// Escaping value from date parsing using "'" sign (HF feature).
|
|
633
681
|
newValue = `'${newValue}`;
|
|
634
682
|
}
|
|
635
683
|
}
|
|
636
|
-
return this.engine
|
|
684
|
+
return this.engine?.setCellContents(address, newValue);
|
|
637
685
|
}
|
|
638
686
|
constructor(...args){
|
|
639
|
-
super(...args), _class_private_method_init(this,
|
|
687
|
+
super(...args), _class_private_method_init(this, _exportChangeValue), _class_private_method_init(this, _updateSheetNameAndSheetId), _class_private_method_init(this, _getValueGetterValue), _class_private_method_init(this, _getProcessedSourceDataArray), _class_private_field_init(this, _internalOperationPending, {
|
|
640
688
|
writable: true,
|
|
641
689
|
value: void 0
|
|
642
690
|
}), _class_private_field_init(this, _hotWasInitializedWithEmptyData, {
|
|
643
691
|
writable: true,
|
|
644
692
|
value: void 0
|
|
693
|
+
}), _class_private_field_init(this, _onEngineValuesUpdated, {
|
|
694
|
+
writable: true,
|
|
695
|
+
value: void 0
|
|
696
|
+
}), _class_private_field_init(this, _onEngineNamedExpressionsAdded, {
|
|
697
|
+
writable: true,
|
|
698
|
+
value: void 0
|
|
699
|
+
}), _class_private_field_init(this, _onEngineNamedExpressionsRemoved, {
|
|
700
|
+
writable: true,
|
|
701
|
+
value: void 0
|
|
702
|
+
}), _class_private_field_init(this, _onEngineSheetAdded, {
|
|
703
|
+
writable: true,
|
|
704
|
+
value: void 0
|
|
705
|
+
}), _class_private_field_init(this, _onEngineSheetRenamed, {
|
|
706
|
+
writable: true,
|
|
707
|
+
value: void 0
|
|
708
|
+
}), _class_private_field_init(this, _onEngineSheetRemoved, {
|
|
709
|
+
writable: true,
|
|
710
|
+
value: void 0
|
|
645
711
|
}), _class_private_field_init(this, _engineListeners, {
|
|
646
712
|
writable: true,
|
|
647
713
|
value: void 0
|
|
648
|
-
}),
|
|
714
|
+
}), _class_private_field_init(this, _onBeforeValidate, {
|
|
715
|
+
writable: true,
|
|
716
|
+
value: void 0
|
|
717
|
+
}), _class_private_field_init(this, _onBeforeAutofill, {
|
|
718
|
+
writable: true,
|
|
719
|
+
value: void 0
|
|
720
|
+
}), _class_private_field_init(this, _onBeforeLoadData, {
|
|
721
|
+
writable: true,
|
|
722
|
+
value: void 0
|
|
723
|
+
}), _class_private_field_init(this, _onAfterCellMetaReset, {
|
|
724
|
+
writable: true,
|
|
725
|
+
value: void 0
|
|
726
|
+
}), _class_private_field_init(this, _onAfterLoadData, {
|
|
727
|
+
writable: true,
|
|
728
|
+
value: void 0
|
|
729
|
+
}), _class_private_field_init(this, _onModifyData, {
|
|
730
|
+
writable: true,
|
|
731
|
+
value: void 0
|
|
732
|
+
}), _class_private_field_init(this, _onModifySourceData, {
|
|
733
|
+
writable: true,
|
|
734
|
+
value: void 0
|
|
735
|
+
}), _class_private_field_init(this, _onAfterSetDataAtCell, {
|
|
736
|
+
writable: true,
|
|
737
|
+
value: void 0
|
|
738
|
+
}), _class_private_field_init(this, _onAfterSetSourceDataAtCell, {
|
|
739
|
+
writable: true,
|
|
740
|
+
value: void 0
|
|
741
|
+
}), _class_private_field_init(this, _onBeforeCreateRow, {
|
|
742
|
+
writable: true,
|
|
743
|
+
value: void 0
|
|
744
|
+
}), _class_private_field_init(this, _onBeforeCreateCol, {
|
|
745
|
+
writable: true,
|
|
746
|
+
value: void 0
|
|
747
|
+
}), _class_private_field_init(this, _onBeforeRemoveRow, {
|
|
748
|
+
writable: true,
|
|
749
|
+
value: void 0
|
|
750
|
+
}), _class_private_field_init(this, _onBeforeRemoveCol, {
|
|
751
|
+
writable: true,
|
|
752
|
+
value: void 0
|
|
753
|
+
}), _class_private_field_init(this, _onAfterCreateRow, {
|
|
754
|
+
writable: true,
|
|
755
|
+
value: void 0
|
|
756
|
+
}), _class_private_field_init(this, _onAfterCreateCol, {
|
|
757
|
+
writable: true,
|
|
758
|
+
value: void 0
|
|
759
|
+
}), _class_private_field_init(this, _onAfterRemoveRow, {
|
|
760
|
+
writable: true,
|
|
761
|
+
value: void 0
|
|
762
|
+
}), _class_private_field_init(this, _onAfterRemoveCol, {
|
|
763
|
+
writable: true,
|
|
764
|
+
value: void 0
|
|
765
|
+
}), _class_private_field_init(this, _onAfterDetachChild, {
|
|
766
|
+
writable: true,
|
|
767
|
+
value: void 0
|
|
768
|
+
}), _class_private_field_set(this, _internalOperationPending, false), _class_private_field_set(this, _hotWasInitializedWithEmptyData, false), _class_private_field_set(this, _onEngineValuesUpdated, (changes)=>{
|
|
769
|
+
const exportedChanges = changes.map((change)=>_class_private_method_get(this, _exportChangeValue, exportChangeValue).call(this, change));
|
|
770
|
+
this.hot.runHooks('afterFormulasValuesUpdate', exportedChanges);
|
|
771
|
+
}), _class_private_field_set(this, _onEngineNamedExpressionsAdded, (namedExpressionName, changes)=>{
|
|
772
|
+
this.hot.runHooks('afterNamedExpressionAdded', namedExpressionName, changes);
|
|
773
|
+
}), _class_private_field_set(this, _onEngineNamedExpressionsRemoved, (namedExpressionName, changes)=>{
|
|
774
|
+
this.hot.runHooks('afterNamedExpressionRemoved', namedExpressionName, changes);
|
|
775
|
+
}), _class_private_field_set(this, _onEngineSheetAdded, (addedSheetDisplayName)=>{
|
|
776
|
+
this.hot.runHooks('afterSheetAdded', addedSheetDisplayName);
|
|
777
|
+
}), _class_private_field_set(this, _onEngineSheetRenamed, (oldDisplayName, newDisplayName)=>{
|
|
778
|
+
_class_private_method_get(this, _updateSheetNameAndSheetId, updateSheetNameAndSheetId).call(this, newDisplayName);
|
|
779
|
+
this.hot.runHooks('afterSheetRenamed', oldDisplayName, newDisplayName);
|
|
780
|
+
}), _class_private_field_set(this, _onEngineSheetRemoved, (removedSheetDisplayName, changes)=>{
|
|
781
|
+
this.hot.runHooks('afterSheetRemoved', removedSheetDisplayName, changes);
|
|
782
|
+
}), _class_private_field_set(this, _engineListeners, [
|
|
649
783
|
[
|
|
650
784
|
'valuesUpdated',
|
|
651
|
-
(
|
|
785
|
+
_class_private_field_get(this, _onEngineValuesUpdated)
|
|
652
786
|
],
|
|
653
787
|
[
|
|
654
788
|
'namedExpressionAdded',
|
|
655
|
-
(
|
|
789
|
+
_class_private_field_get(this, _onEngineNamedExpressionsAdded)
|
|
656
790
|
],
|
|
657
791
|
[
|
|
658
792
|
'namedExpressionRemoved',
|
|
659
|
-
(
|
|
793
|
+
_class_private_field_get(this, _onEngineNamedExpressionsRemoved)
|
|
660
794
|
],
|
|
661
795
|
[
|
|
662
796
|
'sheetAdded',
|
|
663
|
-
(
|
|
797
|
+
_class_private_field_get(this, _onEngineSheetAdded)
|
|
664
798
|
],
|
|
665
799
|
[
|
|
666
800
|
'sheetRenamed',
|
|
667
|
-
(
|
|
801
|
+
_class_private_field_get(this, _onEngineSheetRenamed)
|
|
668
802
|
],
|
|
669
803
|
[
|
|
670
804
|
'sheetRemoved',
|
|
671
|
-
(
|
|
805
|
+
_class_private_field_get(this, _onEngineSheetRemoved)
|
|
672
806
|
]
|
|
673
807
|
]), /**
|
|
674
808
|
* Static register used to set up one global HyperFormula instance.
|
|
@@ -700,423 +834,479 @@ class Formulas extends _base.BasePlugin {
|
|
|
700
834
|
* Index synchronizer responsible for syncing the order of HOT and HF's data for the axis of the columns.
|
|
701
835
|
*
|
|
702
836
|
* @type {AxisSyncer|null}
|
|
703
|
-
*/ this.columnAxisSyncer = null
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
return (0, _utils.normalizeValueForFormulaEngine)(value);
|
|
718
|
-
}
|
|
719
|
-
function getProcessedSourceDataArray(row, column, row2, column2) {
|
|
720
|
-
return this.hot.getSourceDataArray(row, column, row2, column2).map((rowObject, rowIndex)=>{
|
|
721
|
-
return rowObject.map((value, columnIndex)=>{
|
|
722
|
-
return _class_private_method_get(this, _getValueGetterValue, getValueGetterValue).call(this, rowIndex, columnIndex, value);
|
|
723
|
-
});
|
|
724
|
-
});
|
|
725
|
-
}
|
|
726
|
-
function onBeforeValidate(value, visualRow, prop) {
|
|
727
|
-
const visualColumn = this.hot.propToCol(prop);
|
|
728
|
-
if (this.isFormulaCellType(visualRow, visualColumn)) {
|
|
729
|
-
const address = {
|
|
730
|
-
row: this.rowAxisSyncer.getHfIndexFromVisualIndex(visualRow),
|
|
731
|
-
col: this.columnAxisSyncer.getHfIndexFromVisualIndex(visualColumn),
|
|
732
|
-
sheet: this.sheetId
|
|
733
|
-
};
|
|
734
|
-
const cellMeta = this.hot.getCellMeta(visualRow, visualColumn);
|
|
735
|
-
let cellValue = this.engine.getCellValue(address); // Date as an integer (Excel-like date).
|
|
736
|
-
if (cellMeta.type === 'date' && (0, _number.isNumeric)(cellValue)) {
|
|
737
|
-
cellValue = (0, _utils.getDateFromExcelDate)(cellValue, cellMeta.dateFormat);
|
|
738
|
-
}
|
|
739
|
-
// If `cellValue` is an object it is expected to be an error
|
|
740
|
-
return typeof cellValue === 'object' && cellValue !== null ? cellValue.value : cellValue;
|
|
741
|
-
}
|
|
742
|
-
return value;
|
|
743
|
-
}
|
|
744
|
-
function onBeforeAutofill(fillData, sourceRange, targetRange) {
|
|
745
|
-
const { row: sourceTopStartRow, col: sourceTopStartColumn } = sourceRange.getTopStartCorner();
|
|
746
|
-
const { row: sourceBottomEndRow, col: sourceBottomEndColumn } = sourceRange.getBottomEndCorner();
|
|
747
|
-
const { row: targetTopStartRow, col: targetTopStartColumn } = targetRange.getTopStartCorner();
|
|
748
|
-
const { row: targetBottomEndRow, col: targetBottomEndColumn } = targetRange.getBottomEndCorner();
|
|
749
|
-
const engineSourceRange = {
|
|
750
|
-
start: {
|
|
751
|
-
row: this.rowAxisSyncer.getHfIndexFromVisualIndex(sourceTopStartRow),
|
|
752
|
-
col: this.columnAxisSyncer.getHfIndexFromVisualIndex(sourceTopStartColumn),
|
|
753
|
-
sheet: this.sheetId
|
|
754
|
-
},
|
|
755
|
-
end: {
|
|
756
|
-
row: this.rowAxisSyncer.getHfIndexFromVisualIndex(sourceBottomEndRow),
|
|
757
|
-
col: this.columnAxisSyncer.getHfIndexFromVisualIndex(sourceBottomEndColumn),
|
|
758
|
-
sheet: this.sheetId
|
|
759
|
-
}
|
|
760
|
-
};
|
|
761
|
-
const engineTargetRange = {
|
|
762
|
-
start: {
|
|
763
|
-
row: this.rowAxisSyncer.getHfIndexFromVisualIndex(targetTopStartRow),
|
|
764
|
-
col: this.columnAxisSyncer.getHfIndexFromVisualIndex(targetTopStartColumn),
|
|
765
|
-
sheet: this.sheetId
|
|
766
|
-
},
|
|
767
|
-
end: {
|
|
768
|
-
row: this.rowAxisSyncer.getHfIndexFromVisualIndex(targetBottomEndRow),
|
|
769
|
-
col: this.columnAxisSyncer.getHfIndexFromVisualIndex(targetBottomEndColumn),
|
|
770
|
-
sheet: this.sheetId
|
|
771
|
-
}
|
|
772
|
-
};
|
|
773
|
-
// Blocks the autofill operation if HyperFormula says that at least one of
|
|
774
|
-
// the underlying cell's contents cannot be set.
|
|
775
|
-
if (this.engine.isItPossibleToSetCellContents(engineTargetRange) === false) {
|
|
776
|
-
return false;
|
|
777
|
-
}
|
|
778
|
-
const fillRangeData = this.engine.getFillRangeData(engineSourceRange, engineTargetRange);
|
|
779
|
-
const { row: sourceStartRow, col: sourceStartColumn } = engineSourceRange.start;
|
|
780
|
-
const { row: sourceEndRow, col: sourceEndColumn } = engineSourceRange.end;
|
|
781
|
-
const populationRowLength = sourceEndRow - sourceStartRow + 1;
|
|
782
|
-
const populationColumnLength = sourceEndColumn - sourceStartColumn + 1;
|
|
783
|
-
for(let populatedRowIndex = 0; populatedRowIndex < fillRangeData.length; populatedRowIndex += 1){
|
|
784
|
-
for(let populatedColumnIndex = 0; populatedColumnIndex < fillRangeData[populatedRowIndex].length; populatedColumnIndex += 1){
|
|
785
|
-
const populatedValue = fillRangeData[populatedRowIndex][populatedColumnIndex];
|
|
786
|
-
const sourceRow = sourceStartRow + populatedRowIndex % populationRowLength;
|
|
787
|
-
const sourceColumn = sourceStartColumn + populatedColumnIndex % populationColumnLength;
|
|
788
|
-
const sourceCellMeta = this.hot.getCellMeta(sourceRow, sourceColumn);
|
|
789
|
-
if ((0, _utils.isDate)(populatedValue, sourceCellMeta.type)) {
|
|
790
|
-
if (populatedValue.startsWith('\'')) {
|
|
791
|
-
// Populating values on HOT side without apostrophe.
|
|
792
|
-
fillRangeData[populatedRowIndex][populatedColumnIndex] = populatedValue.slice(1);
|
|
793
|
-
} else if (this.isFormulaCellType(sourceRow, sourceColumn, this.sheetId) === false) {
|
|
794
|
-
// Populating date in proper format, coming from the source cell.
|
|
795
|
-
fillRangeData[populatedRowIndex][populatedColumnIndex] = (0, _utils.getDateInHotFormat)(populatedValue, sourceCellMeta.dateFormat);
|
|
837
|
+
*/ this.columnAxisSyncer = null, _class_private_field_set(this, _onBeforeValidate, (value, visualRow, prop)=>{
|
|
838
|
+
const visualColumn = this.hot.propToCol(prop);
|
|
839
|
+
if (this.isFormulaCellType(visualRow, visualColumn)) {
|
|
840
|
+
const address = {
|
|
841
|
+
row: this.rowAxisSyncer.getHfIndexFromVisualIndex(visualRow),
|
|
842
|
+
col: this.columnAxisSyncer.getHfIndexFromVisualIndex(visualColumn),
|
|
843
|
+
sheet: this.sheetId
|
|
844
|
+
};
|
|
845
|
+
const cellMeta = this.hot.getCellMeta(visualRow, visualColumn);
|
|
846
|
+
let cellValue = this.engine.getCellValue(address); // Date as an integer (Excel-like date).
|
|
847
|
+
if (cellMeta.type === 'date' && (0, _number.isNumeric)(cellValue)) {
|
|
848
|
+
cellValue = (0, _utils.getDateFromExcelDate)(cellValue);
|
|
849
|
+
} else if (cellMeta.type === 'time' && (0, _number.isNumeric)(cellValue)) {
|
|
850
|
+
cellValue = (0, _utils.getTimeFromHfTimeFraction)(cellValue);
|
|
796
851
|
}
|
|
852
|
+
// If `cellValue` is an object it is expected to be an error
|
|
853
|
+
return hasValueProperty(cellValue) ? cellValue.value : cellValue;
|
|
797
854
|
}
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
}
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
const
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
sourceDataArray[rowIndex][columnIndex] = `'${cellValue}`;
|
|
855
|
+
return value;
|
|
856
|
+
}), _class_private_field_set(this, _onBeforeAutofill, (fillData, sourceRange, targetRange)=>{
|
|
857
|
+
const { row: sourceTopStartRow, col: sourceTopStartColumn } = sourceRange.getTopStartCorner();
|
|
858
|
+
const { row: sourceBottomEndRow, col: sourceBottomEndColumn } = sourceRange.getBottomEndCorner();
|
|
859
|
+
const { row: targetTopStartRow, col: targetTopStartColumn } = targetRange.getTopStartCorner();
|
|
860
|
+
const { row: targetBottomEndRow, col: targetBottomEndColumn } = targetRange.getBottomEndCorner();
|
|
861
|
+
if (sourceTopStartRow === null || sourceTopStartColumn === null || sourceBottomEndRow === null || sourceBottomEndColumn === null || targetTopStartRow === null || targetTopStartColumn === null || targetBottomEndRow === null || targetBottomEndColumn === null) {
|
|
862
|
+
return;
|
|
863
|
+
}
|
|
864
|
+
const hfSourceStartRow = this.rowAxisSyncer.getHfIndexFromVisualIndex(sourceTopStartRow);
|
|
865
|
+
const hfSourceStartCol = this.columnAxisSyncer.getHfIndexFromVisualIndex(sourceTopStartColumn);
|
|
866
|
+
const hfSourceEndRow = this.rowAxisSyncer.getHfIndexFromVisualIndex(sourceBottomEndRow);
|
|
867
|
+
const hfSourceEndCol = this.columnAxisSyncer.getHfIndexFromVisualIndex(sourceBottomEndColumn);
|
|
868
|
+
const hfTargetStartRow = this.rowAxisSyncer.getHfIndexFromVisualIndex(targetTopStartRow);
|
|
869
|
+
const hfTargetStartCol = this.columnAxisSyncer.getHfIndexFromVisualIndex(targetTopStartColumn);
|
|
870
|
+
const hfTargetEndRow = this.rowAxisSyncer.getHfIndexFromVisualIndex(targetBottomEndRow);
|
|
871
|
+
const hfTargetEndCol = this.columnAxisSyncer.getHfIndexFromVisualIndex(targetBottomEndColumn);
|
|
872
|
+
if (hfSourceStartRow === null || hfSourceStartCol === null || hfSourceEndRow === null || hfSourceEndCol === null || hfTargetStartRow === null || hfTargetStartCol === null || hfTargetEndRow === null || hfTargetEndCol === null) {
|
|
873
|
+
return;
|
|
874
|
+
}
|
|
875
|
+
const engineSourceRange = {
|
|
876
|
+
start: {
|
|
877
|
+
row: hfSourceStartRow,
|
|
878
|
+
col: hfSourceStartCol,
|
|
879
|
+
sheet: this.sheetId
|
|
880
|
+
},
|
|
881
|
+
end: {
|
|
882
|
+
row: hfSourceEndRow,
|
|
883
|
+
col: hfSourceEndCol,
|
|
884
|
+
sheet: this.sheetId
|
|
829
885
|
}
|
|
886
|
+
};
|
|
887
|
+
const engineTargetRange = {
|
|
888
|
+
start: {
|
|
889
|
+
row: hfTargetStartRow,
|
|
890
|
+
col: hfTargetStartCol,
|
|
891
|
+
sheet: this.sheetId
|
|
892
|
+
},
|
|
893
|
+
end: {
|
|
894
|
+
row: hfTargetEndRow,
|
|
895
|
+
col: hfTargetEndCol,
|
|
896
|
+
sheet: this.sheetId
|
|
897
|
+
}
|
|
898
|
+
};
|
|
899
|
+
// Blocks the autofill operation if HyperFormula says that at least one of
|
|
900
|
+
// the underlying cell's contents cannot be set.
|
|
901
|
+
if (this.engine.isItPossibleToSetCellContents(engineTargetRange) === false) {
|
|
902
|
+
return false;
|
|
830
903
|
}
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
904
|
+
const fillRangeData = this.engine.getFillRangeData(engineSourceRange, engineTargetRange);
|
|
905
|
+
const { row: sourceStartRow, col: sourceStartColumn } = engineSourceRange.start;
|
|
906
|
+
const { row: sourceEndRow, col: sourceEndColumn } = engineSourceRange.end;
|
|
907
|
+
const populationRowLength = sourceEndRow - sourceStartRow + 1;
|
|
908
|
+
const populationColumnLength = sourceEndColumn - sourceStartColumn + 1;
|
|
909
|
+
for(let populatedRowIndex = 0; populatedRowIndex < fillRangeData.length; populatedRowIndex += 1){
|
|
910
|
+
for(let populatedColumnIndex = 0; populatedColumnIndex < fillRangeData[populatedRowIndex].length; populatedColumnIndex += 1){
|
|
911
|
+
const populatedValue = fillRangeData[populatedRowIndex][populatedColumnIndex];
|
|
912
|
+
const sourceRow = sourceStartRow + populatedRowIndex % populationRowLength;
|
|
913
|
+
const sourceColumn = sourceStartColumn + populatedColumnIndex % populationColumnLength;
|
|
914
|
+
const sourceCellMeta = this.hot.getCellMeta(sourceRow, sourceColumn);
|
|
915
|
+
if ((0, _utils.isDate)(populatedValue, sourceCellMeta.type)) {
|
|
916
|
+
if (populatedValue.startsWith('\'')) {
|
|
917
|
+
// Populating values on HOT side without apostrophe.
|
|
918
|
+
fillRangeData[populatedRowIndex][populatedColumnIndex] = populatedValue.slice(1);
|
|
919
|
+
} else if (this.isFormulaCellType(sourceRow, sourceColumn, this.sheetId) === false) {
|
|
920
|
+
// Populating date in proper format, coming from the source cell.
|
|
921
|
+
fillRangeData[populatedRowIndex][populatedColumnIndex] = (0, _utils.getDateInHotFormat)(populatedValue);
|
|
922
|
+
}
|
|
923
|
+
}
|
|
924
|
+
}
|
|
925
|
+
}
|
|
926
|
+
return fillRangeData;
|
|
927
|
+
}), _class_private_field_set(this, _onBeforeLoadData, (sourceData, initialLoad, source = '')=>{
|
|
928
|
+
if (source.includes((0, _string.toUpperCaseFirst)(PLUGIN_KEY))) {
|
|
929
|
+
return;
|
|
930
|
+
}
|
|
931
|
+
// This flag needs to be defined, because not passing data to HOT results in HOT auto-generating a `null`-filled
|
|
932
|
+
// initial dataset.
|
|
933
|
+
_class_private_field_set(this, _hotWasInitializedWithEmptyData, (0, _mixed.isUndefined)(this.hot.getSettings().data));
|
|
934
|
+
}), _class_private_field_set(this, _onAfterCellMetaReset, ()=>{
|
|
935
|
+
if (_class_private_field_get(this, _hotWasInitializedWithEmptyData)) {
|
|
936
|
+
if (this.sheetName !== null) {
|
|
937
|
+
this.switchSheet(this.sheetName);
|
|
938
|
+
}
|
|
939
|
+
return;
|
|
940
|
+
}
|
|
941
|
+
const sourceDataArray = _class_private_method_get(this, _getProcessedSourceDataArray, getProcessedSourceDataArray).call(this);
|
|
942
|
+
sourceDataArray.forEach((rowData, rowIndex)=>{
|
|
943
|
+
rowData.forEach((cellValue, columnIndex)=>{
|
|
944
|
+
const cellMeta = this.hot.getCellMeta(rowIndex, columnIndex, {
|
|
945
|
+
skipMetaExtension: true
|
|
946
|
+
});
|
|
947
|
+
if ((0, _utils.isDate)(cellValue, cellMeta.type)) {
|
|
948
|
+
if ((0, _utils.isDateValid)(cellValue)) {
|
|
949
|
+
// Rewriting date in HOT format to HF format.
|
|
950
|
+
sourceDataArray[rowIndex][columnIndex] = (0, _utils.getDateInHfFormat)(cellValue);
|
|
951
|
+
} else if (!cellValue.startsWith('=')) {
|
|
952
|
+
// Escaping value from date parsing using "'" sign (HF feature).
|
|
953
|
+
sourceDataArray[rowIndex][columnIndex] = `'${cellValue}`;
|
|
954
|
+
}
|
|
955
|
+
}
|
|
956
|
+
});
|
|
957
|
+
});
|
|
852
958
|
_class_private_field_set(this, _internalOperationPending, true);
|
|
853
959
|
const dependentCells = this.engine.setSheetContent(this.sheetId, sourceDataArray);
|
|
854
960
|
this.indexSyncer.setupSyncEndpoint(this.engine, this.sheetId);
|
|
855
961
|
this.renderDependentSheets(dependentCells);
|
|
856
962
|
_class_private_field_set(this, _internalOperationPending, false);
|
|
857
|
-
}
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
return;
|
|
897
|
-
}
|
|
898
|
-
const cellType = this.getCellType(visualRow, visualColumn);
|
|
899
|
-
if (cellType === 'VALUE' || cellType === 'EMPTY') {
|
|
900
|
-
return;
|
|
901
|
-
}
|
|
902
|
-
const dimensions = this.engine.getSheetDimensions(this.engine.getSheetId(this.sheetName));
|
|
903
|
-
// Don't actually change the source data if HyperFormula is not
|
|
904
|
-
// initialized yet. This is done to allow the `afterLoadData` hook to
|
|
905
|
-
// load the existing source data with `Handsontable#getSourceDataArray`
|
|
906
|
-
// properly.
|
|
907
|
-
if (dimensions.width === 0 && dimensions.height === 0) {
|
|
908
|
-
return;
|
|
909
|
-
}
|
|
910
|
-
const address = {
|
|
911
|
-
row: this.rowAxisSyncer.getHfIndexFromVisualIndex(visualRow),
|
|
912
|
-
col: this.columnAxisSyncer.getHfIndexFromVisualIndex(visualColumn),
|
|
913
|
-
sheet: this.sheetId
|
|
914
|
-
};
|
|
915
|
-
valueHolder.value = this.engine.getCellSerialized(address);
|
|
916
|
-
}
|
|
917
|
-
function onAfterSetDataAtCell(changes, source) {
|
|
918
|
-
if (isBlockedSource(source) || changes.length === 0) {
|
|
919
|
-
return;
|
|
920
|
-
}
|
|
921
|
-
const outOfBoundsChanges = [];
|
|
922
|
-
const changedCells = [];
|
|
923
|
-
const dependentCells = this.engine.batch(()=>{
|
|
924
|
-
changes.forEach(([visualRow, prop, , newValue])=>{
|
|
925
|
-
const visualColumn = this.hot.propToCol(prop);
|
|
926
|
-
const physicalRow = this.hot.toPhysicalRow(visualRow);
|
|
927
|
-
const physicalColumn = this.hot.toPhysicalColumn(visualColumn);
|
|
963
|
+
}), _class_private_field_set(this, _onAfterLoadData, (sourceData, initialLoad, source = '')=>{
|
|
964
|
+
if (source.includes((0, _string.toUpperCaseFirst)(PLUGIN_KEY))) {
|
|
965
|
+
return;
|
|
966
|
+
}
|
|
967
|
+
if (!this.engine) {
|
|
968
|
+
return;
|
|
969
|
+
}
|
|
970
|
+
const formulasSettings = this.hot.getSettings()[PLUGIN_KEY];
|
|
971
|
+
const settingsSheetName = isFormulasSettingsObject(formulasSettings) ? formulasSettings.sheetName : undefined;
|
|
972
|
+
const sheetName = (0, _register.setupSheet)(this.engine, settingsSheetName);
|
|
973
|
+
_class_private_method_get(this, _updateSheetNameAndSheetId, updateSheetNameAndSheetId).call(this, sheetName);
|
|
974
|
+
if (source === 'updateSettings') {
|
|
975
|
+
// For performance reasons, the initialization will be done in afterCellMetaReset hook
|
|
976
|
+
return;
|
|
977
|
+
}
|
|
978
|
+
if (!_class_private_field_get(this, _hotWasInitializedWithEmptyData)) {
|
|
979
|
+
const sourceDataArray = _class_private_method_get(this, _getProcessedSourceDataArray, getProcessedSourceDataArray).call(this);
|
|
980
|
+
if (this.engine.isItPossibleToReplaceSheetContent(this.sheetId, sourceDataArray)) {
|
|
981
|
+
_class_private_field_set(this, _internalOperationPending, true);
|
|
982
|
+
const dependentCells = this.engine.setSheetContent(this.sheetId, sourceDataArray);
|
|
983
|
+
this.indexSyncer.setupSyncEndpoint(this.engine, this.sheetId);
|
|
984
|
+
this.renderDependentSheets(dependentCells);
|
|
985
|
+
_class_private_field_set(this, _internalOperationPending, false);
|
|
986
|
+
}
|
|
987
|
+
} else if (this.sheetName !== null) {
|
|
988
|
+
this.switchSheet(this.sheetName);
|
|
989
|
+
}
|
|
990
|
+
}), _class_private_field_set(this, _onModifyData, (visualRow, visualColumn, valueHolder, ioMode)=>{
|
|
991
|
+
if (ioMode !== 'get' || _class_private_field_get(this, _internalOperationPending) || this.sheetName === null || !this.engine?.doesSheetExist(this.sheetName)) {
|
|
992
|
+
return;
|
|
993
|
+
}
|
|
994
|
+
if (visualRow === null || visualColumn === null) {
|
|
995
|
+
return;
|
|
996
|
+
}
|
|
997
|
+
const cellType = this.getCellType(visualRow, visualColumn);
|
|
998
|
+
if (cellType === 'VALUE' || cellType === 'EMPTY') {
|
|
999
|
+
valueHolder.value = (0, _utils.unescapeFormulaExpression)(valueHolder.value);
|
|
1000
|
+
return;
|
|
1001
|
+
}
|
|
928
1002
|
const address = {
|
|
929
1003
|
row: this.rowAxisSyncer.getHfIndexFromVisualIndex(visualRow),
|
|
930
1004
|
col: this.columnAxisSyncer.getHfIndexFromVisualIndex(visualColumn),
|
|
931
1005
|
sheet: this.sheetId
|
|
932
1006
|
};
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
}
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
1007
|
+
let cellValue = this.engine.getCellValue(address); // Date as an integer (Excel like date).
|
|
1008
|
+
const cellMeta = this.hot.getCellMeta(visualRow, visualColumn, {
|
|
1009
|
+
skipMetaExtension: true
|
|
1010
|
+
});
|
|
1011
|
+
if (cellMeta.type === 'date' && (0, _number.isNumeric)(cellValue)) {
|
|
1012
|
+
cellValue = (0, _utils.getDateFromExcelDate)(cellValue);
|
|
1013
|
+
} else if (cellMeta.type === 'time' && (0, _number.isNumeric)(cellValue)) {
|
|
1014
|
+
cellValue = (0, _utils.getTimeFromHfTimeFraction)(cellValue);
|
|
1015
|
+
}
|
|
1016
|
+
// If `cellValue` is an object it is expected to be an error
|
|
1017
|
+
valueHolder.value = hasValueProperty(cellValue) ? cellValue.value : cellValue;
|
|
1018
|
+
}), _class_private_field_set(this, _onModifySourceData, (row, columnOrProp, valueHolder, ioMode)=>{
|
|
1019
|
+
if (ioMode !== 'get' || _class_private_field_get(this, _internalOperationPending) || this.sheetName === null || !this.engine?.doesSheetExist(this.sheetName)) {
|
|
1020
|
+
return;
|
|
1021
|
+
}
|
|
1022
|
+
const visualRow = this.hot.toVisualRow(row);
|
|
1023
|
+
const visualColumn = this.hot.propToCol(columnOrProp);
|
|
1024
|
+
if (visualRow === null || visualColumn === null) {
|
|
1025
|
+
return;
|
|
1026
|
+
}
|
|
1027
|
+
const cellType = this.getCellType(visualRow, visualColumn);
|
|
1028
|
+
if (cellType === 'VALUE' || cellType === 'EMPTY') {
|
|
1029
|
+
return;
|
|
1030
|
+
}
|
|
1031
|
+
const dimensions = this.engine.getSheetDimensions(this.engine.getSheetId(this.sheetName));
|
|
1032
|
+
// Don't actually change the source data if HyperFormula is not
|
|
1033
|
+
// initialized yet. This is done to allow the `afterLoadData` hook to
|
|
1034
|
+
// load the existing source data with `Handsontable#getSourceDataArray`
|
|
1035
|
+
// properly.
|
|
1036
|
+
if (dimensions.width === 0 && dimensions.height === 0) {
|
|
1037
|
+
return;
|
|
1038
|
+
}
|
|
1039
|
+
const address = {
|
|
1040
|
+
row: this.rowAxisSyncer.getHfIndexFromVisualIndex(visualRow),
|
|
1041
|
+
col: this.columnAxisSyncer.getHfIndexFromVisualIndex(visualColumn),
|
|
1042
|
+
sheet: this.sheetId
|
|
1043
|
+
};
|
|
1044
|
+
valueHolder.value = this.engine.getCellSerialized(address);
|
|
1045
|
+
}), _class_private_field_set(this, _onAfterSetDataAtCell, (changes, source)=>{
|
|
1046
|
+
if (isBlockedSource(source)) {
|
|
1047
|
+
return;
|
|
1048
|
+
}
|
|
1049
|
+
// Skip engine sync when there are no changes (e.g. populateFromArray on readOnly cells).
|
|
1050
|
+
// Otherwise engine.batch() would push an empty undo step and undo would revert the wrong action (#dev-2136).
|
|
1051
|
+
if (!changes?.length) {
|
|
1052
|
+
return;
|
|
1053
|
+
}
|
|
1054
|
+
const outOfBoundsChanges = [];
|
|
1055
|
+
const changedCells = [];
|
|
1056
|
+
const dependentCells = this.engine.batch(()=>{
|
|
1057
|
+
changes.forEach(([visualRow, prop, , newValue])=>{
|
|
1058
|
+
if (typeof prop !== 'string' && typeof prop !== 'number') {
|
|
1059
|
+
return;
|
|
1060
|
+
}
|
|
1061
|
+
const visualColumn = this.hot.propToCol(prop);
|
|
1062
|
+
const physicalRow = this.hot.toPhysicalRow(visualRow);
|
|
1063
|
+
const physicalColumn = this.hot.toPhysicalColumn(visualColumn);
|
|
1064
|
+
const address = {
|
|
1065
|
+
row: this.rowAxisSyncer.getHfIndexFromVisualIndex(visualRow),
|
|
1066
|
+
col: this.columnAxisSyncer.getHfIndexFromVisualIndex(visualColumn),
|
|
1067
|
+
sheet: this.sheetId
|
|
1068
|
+
};
|
|
1069
|
+
newValue = _class_private_method_get(this, _getValueGetterValue, getValueGetterValue).call(this, physicalRow, physicalColumn, newValue);
|
|
1070
|
+
if (physicalRow !== null && physicalColumn !== null) {
|
|
1071
|
+
this.syncChangeWithEngine(visualRow, visualColumn, newValue);
|
|
1072
|
+
} else {
|
|
1073
|
+
outOfBoundsChanges.push([
|
|
1074
|
+
visualRow,
|
|
1075
|
+
visualColumn,
|
|
1076
|
+
newValue
|
|
1077
|
+
]);
|
|
1078
|
+
}
|
|
1079
|
+
changedCells.push({
|
|
1080
|
+
address
|
|
1081
|
+
});
|
|
1082
|
+
});
|
|
1083
|
+
});
|
|
1084
|
+
if (outOfBoundsChanges.length) {
|
|
1085
|
+
// Workaround for rows/columns being created two times (by HOT and the engine).
|
|
1086
|
+
// (unfortunately, this requires an extra re-render)
|
|
1087
|
+
this.hot.addHookOnce('afterChange', ()=>{
|
|
1088
|
+
const outOfBoundsDependentCells = this.engine.batch(()=>{
|
|
1089
|
+
outOfBoundsChanges.forEach(([row, column, newValue])=>{
|
|
1090
|
+
this.syncChangeWithEngine(row, column, newValue);
|
|
1091
|
+
});
|
|
1092
|
+
});
|
|
1093
|
+
this.renderDependentSheets(outOfBoundsDependentCells, true);
|
|
1094
|
+
});
|
|
1095
|
+
}
|
|
1096
|
+
this.renderDependentSheets(dependentCells);
|
|
1097
|
+
this.validateDependentCells(dependentCells, changedCells);
|
|
1098
|
+
}), _class_private_field_set(this, _onAfterSetSourceDataAtCell, (changes, source)=>{
|
|
1099
|
+
if (isBlockedSource(source)) {
|
|
1100
|
+
return;
|
|
1101
|
+
}
|
|
1102
|
+
const dependentCells = [];
|
|
1103
|
+
const changedCells = [];
|
|
1104
|
+
changes.forEach(([visualRow, prop, , newValue])=>{
|
|
1105
|
+
if (typeof prop !== 'string' && typeof prop !== 'number') {
|
|
1106
|
+
return;
|
|
1107
|
+
}
|
|
1108
|
+
const visualColumn = this.hot.propToCol(prop);
|
|
1109
|
+
if (!(0, _number.isNumeric)(visualColumn)) {
|
|
1110
|
+
return;
|
|
1111
|
+
}
|
|
1112
|
+
const address = {
|
|
1113
|
+
row: this.rowAxisSyncer.getHfIndexFromVisualIndex(visualRow),
|
|
1114
|
+
col: this.columnAxisSyncer.getHfIndexFromVisualIndex(visualColumn),
|
|
1115
|
+
sheet: this.sheetId
|
|
1116
|
+
};
|
|
1117
|
+
if (!this.engine?.isItPossibleToSetCellContents(address)) {
|
|
1118
|
+
(0, _console.warn)(`Not possible to set source cell data at ${JSON.stringify(address)}`);
|
|
1119
|
+
return;
|
|
1120
|
+
}
|
|
1121
|
+
newValue = (0, _utils.normalizeValueForFormulaEngine)(newValue);
|
|
1122
|
+
changedCells.push({
|
|
1123
|
+
address
|
|
1124
|
+
});
|
|
1125
|
+
dependentCells.push(...this.engine.setCellContents(address, newValue));
|
|
1126
|
+
});
|
|
1127
|
+
this.renderDependentSheets(dependentCells);
|
|
1128
|
+
this.validateDependentCells(dependentCells, changedCells);
|
|
1129
|
+
}), _class_private_field_set(this, _onBeforeCreateRow, (visualRow, amount)=>{
|
|
1130
|
+
let hfRowIndex = this.rowAxisSyncer.getHfIndexFromVisualIndex(visualRow);
|
|
1131
|
+
if (visualRow >= this.hot.countRows()) {
|
|
1132
|
+
hfRowIndex = visualRow; // Row beyond the table boundaries.
|
|
1133
|
+
}
|
|
1134
|
+
if (this.sheetId === null || !this.engine?.doesSheetExist(this.sheetName) || !this.engine?.isItPossibleToAddRows(this.sheetId, [
|
|
1135
|
+
hfRowIndex,
|
|
1136
|
+
amount
|
|
1137
|
+
])) {
|
|
1138
|
+
return false;
|
|
1139
|
+
}
|
|
1140
|
+
}), _class_private_field_set(this, _onBeforeCreateCol, (visualColumn, amount)=>{
|
|
1141
|
+
let hfColumnIndex = this.columnAxisSyncer.getHfIndexFromVisualIndex(visualColumn);
|
|
1142
|
+
if (visualColumn >= this.hot.countCols()) {
|
|
1143
|
+
hfColumnIndex = visualColumn; // Column beyond the table boundaries.
|
|
1144
|
+
}
|
|
1145
|
+
if (this.sheetId === null || !this.engine?.doesSheetExist(this.sheetName) || !this.engine?.isItPossibleToAddColumns(this.sheetId, [
|
|
1146
|
+
hfColumnIndex,
|
|
1147
|
+
amount
|
|
1148
|
+
])) {
|
|
1149
|
+
return false;
|
|
1150
|
+
}
|
|
1151
|
+
}), _class_private_field_set(this, _onBeforeRemoveRow, (row, amount, physicalRows)=>{
|
|
1152
|
+
const hfRows = this.rowAxisSyncer.setRemovedHfIndexes(physicalRows);
|
|
1153
|
+
const possible = hfRows.every((hfRow)=>{
|
|
1154
|
+
return this.engine?.isItPossibleToRemoveRows(this.sheetId, [
|
|
1155
|
+
hfRow,
|
|
1156
|
+
1
|
|
941
1157
|
]);
|
|
1158
|
+
});
|
|
1159
|
+
return possible === false ? false : undefined;
|
|
1160
|
+
}), _class_private_field_set(this, _onBeforeRemoveCol, (col, amount, physicalColumns)=>{
|
|
1161
|
+
const hfColumns = this.columnAxisSyncer.setRemovedHfIndexes(physicalColumns);
|
|
1162
|
+
const possible = hfColumns.every((hfColumn)=>{
|
|
1163
|
+
return this.engine?.isItPossibleToRemoveColumns(this.sheetId, [
|
|
1164
|
+
hfColumn,
|
|
1165
|
+
1
|
|
1166
|
+
]);
|
|
1167
|
+
});
|
|
1168
|
+
return possible === false ? false : undefined;
|
|
1169
|
+
}), _class_private_field_set(this, _onAfterCreateRow, (visualRow, amount, source)=>{
|
|
1170
|
+
if (isBlockedSource(source)) {
|
|
1171
|
+
return;
|
|
1172
|
+
}
|
|
1173
|
+
const changes = this.engine.addRows(this.sheetId, [
|
|
1174
|
+
this.rowAxisSyncer.getHfIndexFromVisualIndex(visualRow),
|
|
1175
|
+
amount
|
|
1176
|
+
]);
|
|
1177
|
+
this.renderDependentSheets(changes);
|
|
1178
|
+
}), _class_private_field_set(this, _onAfterCreateCol, (visualColumn, amount, source)=>{
|
|
1179
|
+
if (isBlockedSource(source)) {
|
|
1180
|
+
return;
|
|
1181
|
+
}
|
|
1182
|
+
const changes = this.engine.addColumns(this.sheetId, [
|
|
1183
|
+
this.columnAxisSyncer.getHfIndexFromVisualIndex(visualColumn),
|
|
1184
|
+
amount
|
|
1185
|
+
]);
|
|
1186
|
+
this.renderDependentSheets(changes);
|
|
1187
|
+
}), _class_private_field_set(this, _onAfterRemoveRow, (row, amount, physicalRows, source)=>{
|
|
1188
|
+
if (isBlockedSource(source)) {
|
|
1189
|
+
return;
|
|
1190
|
+
}
|
|
1191
|
+
const descendingHfRows = this.rowAxisSyncer.getRemovedHfIndexes().sort((a, b)=>b - a); // sort numeric values descending
|
|
1192
|
+
const changes = this.engine.batch(()=>{
|
|
1193
|
+
descendingHfRows.forEach((hfRow)=>{
|
|
1194
|
+
this.engine.removeRows(this.sheetId, [
|
|
1195
|
+
hfRow,
|
|
1196
|
+
1
|
|
1197
|
+
]);
|
|
1198
|
+
});
|
|
1199
|
+
});
|
|
1200
|
+
this.renderDependentSheets(changes);
|
|
1201
|
+
}), _class_private_field_set(this, _onAfterRemoveCol, (col, amount, physicalColumns, source)=>{
|
|
1202
|
+
if (isBlockedSource(source)) {
|
|
1203
|
+
return;
|
|
942
1204
|
}
|
|
943
|
-
|
|
944
|
-
|
|
1205
|
+
const descendingHfColumns = this.columnAxisSyncer.getRemovedHfIndexes().sort((a, b)=>b - a); // sort numeric values descending
|
|
1206
|
+
const changes = this.engine.batch(()=>{
|
|
1207
|
+
descendingHfColumns.forEach((hfColumn)=>{
|
|
1208
|
+
this.engine.removeColumns(this.sheetId, [
|
|
1209
|
+
hfColumn,
|
|
1210
|
+
1
|
|
1211
|
+
]);
|
|
1212
|
+
});
|
|
945
1213
|
});
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
1214
|
+
this.renderDependentSheets(changes);
|
|
1215
|
+
}), _class_private_field_set(this, _onAfterDetachChild, (parent, element, finalElementRowIndex)=>{
|
|
1216
|
+
_class_private_field_set(this, _internalOperationPending, true);
|
|
1217
|
+
const children = element.__children;
|
|
1218
|
+
const childrenCount = Array.isArray(children) ? children.length : 0;
|
|
1219
|
+
const rowsData = _class_private_method_get(this, _getProcessedSourceDataArray, getProcessedSourceDataArray).call(this, finalElementRowIndex, 0, finalElementRowIndex + childrenCount, this.hot.countSourceCols());
|
|
1220
|
+
_class_private_field_set(this, _internalOperationPending, false);
|
|
1221
|
+
rowsData.forEach((row, relativeRowIndex)=>{
|
|
1222
|
+
row.forEach((value, colIndex)=>{
|
|
1223
|
+
this.engine?.setCellContents({
|
|
1224
|
+
col: colIndex,
|
|
1225
|
+
row: finalElementRowIndex + relativeRowIndex,
|
|
1226
|
+
sheet: this.sheetId
|
|
1227
|
+
}, [
|
|
1228
|
+
[
|
|
1229
|
+
value
|
|
1230
|
+
]
|
|
1231
|
+
]);
|
|
955
1232
|
});
|
|
956
1233
|
});
|
|
957
|
-
this.renderDependentSheets(outOfBoundsDependentCells, true);
|
|
958
1234
|
});
|
|
959
1235
|
}
|
|
960
|
-
this.renderDependentSheets(dependentCells);
|
|
961
|
-
this.validateDependentCells(dependentCells, changedCells);
|
|
962
1236
|
}
|
|
963
|
-
function
|
|
964
|
-
if (
|
|
965
|
-
return;
|
|
1237
|
+
function exportChangeValue(change) {
|
|
1238
|
+
if (!change.address || change.address.sheet !== this.sheetId || typeof change.newValue !== 'number') {
|
|
1239
|
+
return change;
|
|
966
1240
|
}
|
|
967
|
-
const
|
|
968
|
-
const
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
if (!(0, _number.isNumeric)(visualColumn)) {
|
|
972
|
-
return;
|
|
973
|
-
}
|
|
974
|
-
const address = {
|
|
975
|
-
row: this.rowAxisSyncer.getHfIndexFromVisualIndex(visualRow),
|
|
976
|
-
col: this.columnAxisSyncer.getHfIndexFromVisualIndex(visualColumn),
|
|
977
|
-
sheet: this.sheetId
|
|
978
|
-
};
|
|
979
|
-
if (!this.engine.isItPossibleToSetCellContents(address)) {
|
|
980
|
-
(0, _console.warn)(`Not possible to set source cell data at ${JSON.stringify(address)}`);
|
|
981
|
-
return;
|
|
982
|
-
}
|
|
983
|
-
newValue = (0, _utils.normalizeValueForFormulaEngine)(newValue);
|
|
984
|
-
changedCells.push({
|
|
985
|
-
address
|
|
986
|
-
});
|
|
987
|
-
dependentCells.push(...this.engine.setCellContents(address, newValue));
|
|
988
|
-
});
|
|
989
|
-
this.renderDependentSheets(dependentCells);
|
|
990
|
-
this.validateDependentCells(dependentCells, changedCells);
|
|
991
|
-
}
|
|
992
|
-
function onBeforeCreateRow(visualRow, amount) {
|
|
993
|
-
let hfRowIndex = this.rowAxisSyncer.getHfIndexFromVisualIndex(visualRow);
|
|
994
|
-
if (visualRow >= this.hot.countRows()) {
|
|
995
|
-
hfRowIndex = visualRow; // Row beyond the table boundaries.
|
|
996
|
-
}
|
|
997
|
-
if (this.sheetId === null || !this.engine.doesSheetExist(this.sheetName) || !this.engine.isItPossibleToAddRows(this.sheetId, [
|
|
998
|
-
hfRowIndex,
|
|
999
|
-
amount
|
|
1000
|
-
])) {
|
|
1001
|
-
return false;
|
|
1002
|
-
}
|
|
1003
|
-
}
|
|
1004
|
-
function onBeforeCreateCol(visualColumn, amount) {
|
|
1005
|
-
let hfColumnIndex = this.columnAxisSyncer.getHfIndexFromVisualIndex(visualColumn);
|
|
1006
|
-
if (visualColumn >= this.hot.countCols()) {
|
|
1007
|
-
hfColumnIndex = visualColumn; // Column beyond the table boundaries.
|
|
1241
|
+
const visualRow = this.rowAxisSyncer.getVisualIndexFromHfIndex(change.address.row);
|
|
1242
|
+
const visualColumn = this.columnAxisSyncer.getVisualIndexFromHfIndex(change.address.col);
|
|
1243
|
+
if (visualRow < 0 || visualColumn < 0) {
|
|
1244
|
+
return change;
|
|
1008
1245
|
}
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
amount
|
|
1012
|
-
])) {
|
|
1013
|
-
return false;
|
|
1014
|
-
}
|
|
1015
|
-
}
|
|
1016
|
-
function onBeforeRemoveRow(row, amount, physicalRows) {
|
|
1017
|
-
const hfRows = this.rowAxisSyncer.setRemovedHfIndexes(physicalRows);
|
|
1018
|
-
const possible = hfRows.every((hfRow)=>{
|
|
1019
|
-
return this.engine.isItPossibleToRemoveRows(this.sheetId, [
|
|
1020
|
-
hfRow,
|
|
1021
|
-
1
|
|
1022
|
-
]);
|
|
1023
|
-
});
|
|
1024
|
-
return possible === false ? false : undefined;
|
|
1025
|
-
}
|
|
1026
|
-
function onBeforeRemoveCol(col, amount, physicalColumns) {
|
|
1027
|
-
const hfColumns = this.columnAxisSyncer.setRemovedHfIndexes(physicalColumns);
|
|
1028
|
-
const possible = hfColumns.every((hfColumn)=>{
|
|
1029
|
-
return this.engine.isItPossibleToRemoveColumns(this.sheetId, [
|
|
1030
|
-
hfColumn,
|
|
1031
|
-
1
|
|
1032
|
-
]);
|
|
1246
|
+
const cellMeta = this.hot.getCellMeta(visualRow, visualColumn, {
|
|
1247
|
+
skipMetaExtension: true
|
|
1033
1248
|
});
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
if (
|
|
1038
|
-
|
|
1039
|
-
}
|
|
1040
|
-
|
|
1041
|
-
this.rowAxisSyncer.getHfIndexFromVisualIndex(visualRow),
|
|
1042
|
-
amount
|
|
1043
|
-
]);
|
|
1044
|
-
this.renderDependentSheets(changes);
|
|
1045
|
-
}
|
|
1046
|
-
function onAfterCreateCol(visualColumn, amount, source) {
|
|
1047
|
-
if (isBlockedSource(source)) {
|
|
1048
|
-
return;
|
|
1249
|
+
let newValue;
|
|
1250
|
+
if (cellMeta.type === 'date') {
|
|
1251
|
+
newValue = (0, _utils.getDateFromExcelDate)(change.newValue);
|
|
1252
|
+
} else if (cellMeta.type === 'time') {
|
|
1253
|
+
newValue = (0, _utils.getTimeFromHfTimeFraction)(change.newValue);
|
|
1254
|
+
} else {
|
|
1255
|
+
return change;
|
|
1049
1256
|
}
|
|
1050
|
-
const
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
]);
|
|
1054
|
-
this.renderDependentSheets(changes);
|
|
1257
|
+
const clone = Object.assign(Object.create(Object.getPrototypeOf(change)), change);
|
|
1258
|
+
clone.newValue = newValue;
|
|
1259
|
+
return clone;
|
|
1055
1260
|
}
|
|
1056
|
-
function
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
}
|
|
1060
|
-
const descendingHfRows = this.rowAxisSyncer.getRemovedHfIndexes().sort((a, b)=>b - a); // sort numeric values descending
|
|
1061
|
-
const changes = this.engine.batch(()=>{
|
|
1062
|
-
descendingHfRows.forEach((hfRow)=>{
|
|
1063
|
-
this.engine.removeRows(this.sheetId, [
|
|
1064
|
-
hfRow,
|
|
1065
|
-
1
|
|
1066
|
-
]);
|
|
1067
|
-
});
|
|
1068
|
-
});
|
|
1069
|
-
this.renderDependentSheets(changes);
|
|
1261
|
+
function updateSheetNameAndSheetId(sheetName) {
|
|
1262
|
+
this.sheetName = sheetName;
|
|
1263
|
+
this.sheetId = this.engine?.getSheetId(this.sheetName) ?? null;
|
|
1070
1264
|
}
|
|
1071
|
-
function
|
|
1072
|
-
if (
|
|
1073
|
-
|
|
1265
|
+
function getValueGetterValue(row, column, value) {
|
|
1266
|
+
if ((0, _object.isObject)(value) && value !== null) {
|
|
1267
|
+
const visualRow = this.hot.toVisualRow(row);
|
|
1268
|
+
const visualColumn = this.hot.toVisualColumn(column);
|
|
1269
|
+
const cellMeta = this.hot.getCellMeta(visualRow, visualColumn);
|
|
1270
|
+
const valueGetter = cellMeta.valueGetter;
|
|
1271
|
+
value = (0, _valueAccessors.getValueGetterValue)(value, this.hot.getCellMeta(visualRow, visualColumn));
|
|
1272
|
+
if (value !== null && value !== undefined) {
|
|
1273
|
+
value = Object(value).toString();
|
|
1274
|
+
}
|
|
1074
1275
|
}
|
|
1075
|
-
|
|
1076
|
-
const changes = this.engine.batch(()=>{
|
|
1077
|
-
descendingHfColumns.forEach((hfColumn)=>{
|
|
1078
|
-
this.engine.removeColumns(this.sheetId, [
|
|
1079
|
-
hfColumn,
|
|
1080
|
-
1
|
|
1081
|
-
]);
|
|
1082
|
-
});
|
|
1083
|
-
});
|
|
1084
|
-
this.renderDependentSheets(changes);
|
|
1276
|
+
return (0, _utils.normalizeValueForFormulaEngine)(value);
|
|
1085
1277
|
}
|
|
1086
|
-
function
|
|
1087
|
-
|
|
1088
|
-
const
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
}
|
|
1097
|
-
[
|
|
1098
|
-
value
|
|
1099
|
-
]
|
|
1100
|
-
]);
|
|
1278
|
+
function getProcessedSourceDataArray(row, column, row2, column2) {
|
|
1279
|
+
const dataArray = this.hot.getSourceDataArray(row, column, row2, column2);
|
|
1280
|
+
const visibleColumnCount = this.hot.countCols();
|
|
1281
|
+
const physicalColumnCount = this.hot.countSourceCols();
|
|
1282
|
+
const isAoAWithSkippedColumns = visibleColumnCount < physicalColumnCount && (0, _data.isArrayOfArrays)(this.hot.getSourceData());
|
|
1283
|
+
if (!isAoAWithSkippedColumns) {
|
|
1284
|
+
return dataArray.map((rowObject, rowIndex)=>{
|
|
1285
|
+
const rowArray = Array.isArray(rowObject) ? rowObject : [];
|
|
1286
|
+
return rowArray.map((value, columnIndex)=>{
|
|
1287
|
+
return _class_private_method_get(this, _getValueGetterValue, getValueGetterValue).call(this, rowIndex, columnIndex, value);
|
|
1288
|
+
});
|
|
1101
1289
|
});
|
|
1290
|
+
}
|
|
1291
|
+
// Array-of-objects data is already projected to visible columns by
|
|
1292
|
+
// `dataSource.getAtRow`. Array-of-arrays data returns the full source row,
|
|
1293
|
+
// so when `columns` skips physical indexes the data fed to HF misaligns
|
|
1294
|
+
// with the axis-syncer's visual->HF mapping (issue #10021). Build a row
|
|
1295
|
+
// containing only visible columns so HF cell coordinates stay in sync.
|
|
1296
|
+
const columnOffset = column ?? 0;
|
|
1297
|
+
return dataArray.map((rowArray, rowIndex)=>{
|
|
1298
|
+
const projected = [];
|
|
1299
|
+
for(let visualCol = 0; visualCol < visibleColumnCount; visualCol++){
|
|
1300
|
+
const physicalCol = this.hot.colToProp(visualCol);
|
|
1301
|
+
if (typeof physicalCol !== 'number') {
|
|
1302
|
+
continue;
|
|
1303
|
+
}
|
|
1304
|
+
const arrayIndex = physicalCol - columnOffset;
|
|
1305
|
+
if (arrayIndex < 0 || arrayIndex >= rowArray.length) {
|
|
1306
|
+
continue;
|
|
1307
|
+
}
|
|
1308
|
+
projected.push(_class_private_method_get(this, _getValueGetterValue, getValueGetterValue).call(this, rowIndex, visualCol, rowArray[arrayIndex]));
|
|
1309
|
+
}
|
|
1310
|
+
return projected;
|
|
1102
1311
|
});
|
|
1103
1312
|
}
|
|
1104
|
-
function onEngineValuesUpdated(changes) {
|
|
1105
|
-
this.hot.runHooks('afterFormulasValuesUpdate', changes);
|
|
1106
|
-
}
|
|
1107
|
-
function onEngineNamedExpressionsAdded(namedExpressionName, changes) {
|
|
1108
|
-
this.hot.runHooks('afterNamedExpressionAdded', namedExpressionName, changes);
|
|
1109
|
-
}
|
|
1110
|
-
function onEngineNamedExpressionsRemoved(namedExpressionName, changes) {
|
|
1111
|
-
this.hot.runHooks('afterNamedExpressionRemoved', namedExpressionName, changes);
|
|
1112
|
-
}
|
|
1113
|
-
function onEngineSheetAdded(addedSheetDisplayName) {
|
|
1114
|
-
this.hot.runHooks('afterSheetAdded', addedSheetDisplayName);
|
|
1115
|
-
}
|
|
1116
|
-
function onEngineSheetRenamed(oldDisplayName, newDisplayName) {
|
|
1117
|
-
_class_private_method_get(this, _updateSheetNameAndSheetId, updateSheetNameAndSheetId).call(this, newDisplayName);
|
|
1118
|
-
this.hot.runHooks('afterSheetRenamed', oldDisplayName, newDisplayName);
|
|
1119
|
-
}
|
|
1120
|
-
function onEngineSheetRemoved(removedSheetDisplayName, changes) {
|
|
1121
|
-
this.hot.runHooks('afterSheetRemoved', removedSheetDisplayName, changes);
|
|
1122
|
-
}
|