@univerjs/sheets-ui 0.1.9 → 0.1.11
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/lib/cjs/index.js +12 -12
- package/lib/es/index.js +6921 -6577
- package/lib/types/basics/editor/get-editor-object.d.ts +2 -1
- package/lib/types/commands/commands/__tests__/create-command-test-bed.d.ts +1 -1
- package/lib/types/commands/commands/auto-fill.command.d.ts +2 -0
- package/lib/types/commands/commands/set-format-painter.command.d.ts +1 -1
- package/lib/types/commands/commands/set-selection.command.d.ts +1 -1
- package/lib/types/commands/operations/activate-cell-edit.operation.d.ts +1 -1
- package/lib/types/commands/operations/cell-edit.operation.d.ts +1 -1
- package/lib/types/commands/operations/scroll.operation.d.ts +1 -1
- package/lib/types/commands/operations/set-format-painter.operation.d.ts +1 -1
- package/lib/types/commands/operations/set-zoom-ratio.operation.d.ts +1 -1
- package/lib/types/common/utils.d.ts +2 -2
- package/lib/types/components/border-panel/BorderPanel.d.ts +1 -1
- package/lib/types/components/border-panel/border-line/BorderLine.d.ts +1 -1
- package/lib/types/components/border-panel/interface.d.ts +1 -1
- package/lib/types/components/hook.d.ts +4 -0
- package/lib/types/components/menu-item-input/MenuItemInput.d.ts +1 -1
- package/lib/types/controllers/auto-fill.controller.d.ts +9 -7
- package/lib/types/controllers/auto-height.controller.d.ts +14 -5
- package/lib/types/controllers/cell-alert.controller.d.ts +5 -3
- package/lib/types/controllers/cell-custom-render.controller.d.ts +5 -4
- package/lib/types/controllers/clipboard/clipboard.controller.d.ts +6 -7
- package/lib/types/controllers/clipboard/utils.d.ts +3 -3
- package/lib/types/controllers/editor/__tests__/create-test-bed.d.ts +1 -1
- package/lib/types/controllers/editor/editing.controller.d.ts +1 -5
- package/lib/types/controllers/editor/end-edit.controller.d.ts +6 -6
- package/lib/types/controllers/editor/formula-editor.controller.d.ts +6 -4
- package/lib/types/controllers/editor/start-edit.controller.d.ts +5 -5
- package/lib/types/controllers/force-string-alert-render.controller.d.ts +15 -0
- package/lib/types/controllers/force-string-render.controller.d.ts +6 -5
- package/lib/types/controllers/format-painter/format-painter.controller.d.ts +3 -7
- package/lib/types/controllers/hover-render.controller.d.ts +13 -0
- package/lib/types/controllers/mark-selection.controller.d.ts +6 -4
- package/lib/types/controllers/menu/border.menu.d.ts +2 -2
- package/lib/types/controllers/menu/insert.menu.d.ts +1 -1
- package/lib/types/controllers/menu/menu-util.d.ts +1 -1
- package/lib/types/controllers/menu/menu.d.ts +2 -2
- package/lib/types/controllers/menu/merge.menu.d.ts +1 -1
- package/lib/types/controllers/menu/sheet.menu.d.ts +1 -1
- package/lib/types/controllers/move-range.controller.d.ts +2 -2
- package/lib/types/controllers/{contextmenu/contextmenu.controller.d.ts → render-controllers/contextmenu.render-controller.d.ts} +7 -8
- package/lib/types/controllers/render-controllers/editor-bridge.render-controller.d.ts +35 -0
- package/lib/types/controllers/render-controllers/format-painter.render-controller.d.ts +11 -0
- package/lib/types/controllers/{freeze.render-controller.d.ts → render-controllers/freeze.render-controller.d.ts} +5 -5
- package/lib/types/controllers/render-controllers/header-menu.render-controller.d.ts +27 -0
- package/lib/types/controllers/{header-move.controller.d.ts → render-controllers/header-move.render-controller.d.ts} +7 -10
- package/lib/types/controllers/{header-resize.render-controller.d.ts → render-controllers/header-resize.render-controller.d.ts} +4 -5
- package/lib/types/controllers/{header-unhide.render-controller.d.ts → render-controllers/header-unhide.render-controller.d.ts} +2 -2
- package/lib/types/controllers/{scroll.controller.d.ts → render-controllers/scroll.render-controller.d.ts} +7 -6
- package/lib/types/controllers/{selection.controller.d.ts → render-controllers/selection.render-controller.d.ts} +10 -10
- package/lib/types/controllers/render-controllers/sheet.render-controller.d.ts +15 -0
- package/lib/types/controllers/render-controllers/zoom.render-controller.d.ts +15 -0
- package/lib/types/controllers/sheet-render.controller.d.ts +5 -4
- package/lib/types/controllers/sheet-ui.controller.d.ts +2 -2
- package/lib/types/controllers/shortcuts/selection.shortcut.d.ts +1 -1
- package/lib/types/controllers/status-bar.controller.d.ts +4 -4
- package/lib/types/controllers/utils/component-tools.d.ts +9 -2
- package/lib/types/controllers/utils/range-tools.d.ts +1 -1
- package/lib/types/index.d.ts +6 -3
- package/lib/types/locale/index.d.ts +1 -0
- package/lib/types/locale/ru-RU.d.ts +4 -0
- package/lib/types/services/auto-fill/auto-fill.service.d.ts +9 -6
- package/lib/types/services/auto-fill/type.d.ts +2 -1
- package/lib/types/services/canvas-pop-manager.service.d.ts +5 -5
- package/lib/types/services/cell-alert-manager.service.d.ts +3 -3
- package/lib/types/services/clipboard/__tests__/clipboard-test-bed.d.ts +1 -1
- package/lib/types/services/clipboard/clipboard.service.d.ts +18 -7
- package/lib/types/services/clipboard/copy-content-cache.d.ts +2 -2
- package/lib/types/services/clipboard/html-to-usm/converter.d.ts +3 -3
- package/lib/types/services/clipboard/type.d.ts +1 -1
- package/lib/types/services/clipboard/usm-to-html/convertor.d.ts +1 -1
- package/lib/types/services/clipboard/utils.d.ts +2 -2
- package/lib/types/services/editor/cell-editor-manager.service.d.ts +2 -2
- package/lib/types/services/editor/formula-editor-manager.service.d.ts +2 -2
- package/lib/types/services/editor-bridge.service.d.ts +7 -7
- package/lib/types/services/format-painter/format-painter.service.d.ts +3 -3
- package/lib/types/services/hover-manager.service.d.ts +4 -4
- package/lib/types/services/mark-selection/mark-selection.service.d.ts +5 -5
- package/lib/types/services/selection/__test__/create-service-test-bed.d.ts +1 -1
- package/lib/types/services/selection/selection-render.service.d.ts +24 -11
- package/lib/types/services/selection/selection-shape-extension.d.ts +3 -3
- package/lib/types/services/selection/selection-shape.d.ts +4 -4
- package/lib/types/services/sheet-bar/sheet-bar.service.d.ts +3 -3
- package/lib/types/services/sheet-skeleton-manager.service.d.ts +5 -4
- package/lib/types/services/shortcut-experience.service.d.ts +2 -2
- package/lib/types/services/status-bar.service.d.ts +3 -3
- package/lib/types/sheets-ui-plugin.d.ts +2 -2
- package/lib/types/views/cell-alert/CellAlertPopup.d.ts +1 -1
- package/lib/types/views/defined-name/DefinedNameInput.d.ts +1 -1
- package/lib/types/views/operate-container/AutoFillPopupMenu.d.ts +1 -1
- package/lib/types/views/sheet-bar/sheet-bar-tabs/SheetBarItem.d.ts +1 -1
- package/lib/types/views/sheet-canvas-view.d.ts +5 -13
- package/lib/types/views/status-bar/CopyableStatisticItem.d.ts +1 -1
- package/lib/umd/index.js +11 -11
- package/package.json +23 -23
- package/lib/types/controllers/editor-bridge.controller.d.ts +0 -39
- package/lib/types/controllers/force-string-alert.controller.d.ts +0 -13
- package/lib/types/controllers/header-menu.controller.d.ts +0 -29
- package/lib/types/controllers/hover.controller.d.ts +0 -12
- package/lib/types/controllers/zoom.controller.d.ts +0 -24
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Workbook, Disposable, ICommandService } from '@univerjs/core';
|
|
2
|
+
import { IRenderContext, IRenderController } from '@univerjs/engine-render';
|
|
3
|
+
import { SelectionManagerService } from '@univerjs/sheets';
|
|
4
|
+
import { IContextMenuService } from '@univerjs/ui';
|
|
5
|
+
import { SheetSkeletonManagerService } from '../../services/sheet-skeleton-manager.service';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* header highlight
|
|
9
|
+
* column menu: show, hover and mousedown event
|
|
10
|
+
*/
|
|
11
|
+
export declare class HeaderMenuRenderController extends Disposable implements IRenderController {
|
|
12
|
+
private readonly _context;
|
|
13
|
+
private readonly _sheetSkeletonManagerService;
|
|
14
|
+
private readonly _contextMenuService;
|
|
15
|
+
private readonly _commandService;
|
|
16
|
+
private readonly _selectionManagerService;
|
|
17
|
+
private _hoverRect;
|
|
18
|
+
private _hoverMenu;
|
|
19
|
+
private _currentColumn;
|
|
20
|
+
private _observers;
|
|
21
|
+
constructor(_context: IRenderContext<Workbook>, _sheetSkeletonManagerService: SheetSkeletonManagerService, _contextMenuService: IContextMenuService, _commandService: ICommandService, _selectionManagerService: SelectionManagerService);
|
|
22
|
+
dispose(): void;
|
|
23
|
+
private _initialize;
|
|
24
|
+
private _initialHover;
|
|
25
|
+
private _initialHoverMenu;
|
|
26
|
+
private _getSelectionOnColumn;
|
|
27
|
+
}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Workbook, Disposable, ICommandService } from '@univerjs/core';
|
|
2
|
+
import { IRenderContext, IRenderController } from '@univerjs/engine-render';
|
|
3
3
|
import { SelectionManagerService } from '@univerjs/sheets';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { ISelectionRenderService } from '../../services/selection/selection-render.service';
|
|
5
|
+
import { SheetSkeletonManagerService } from '../../services/sheet-skeleton-manager.service';
|
|
6
6
|
|
|
7
|
-
export declare class
|
|
7
|
+
export declare class HeaderMoveRenderController extends Disposable implements IRenderController {
|
|
8
|
+
private readonly _context;
|
|
8
9
|
private readonly _sheetSkeletonManagerService;
|
|
9
|
-
private readonly _univerInstanceService;
|
|
10
|
-
private readonly _renderManagerService;
|
|
11
10
|
private readonly _commandService;
|
|
12
11
|
private readonly _selectionRenderService;
|
|
13
12
|
private readonly _selectionManagerService;
|
|
@@ -15,7 +14,6 @@ export declare class HeaderMoveController extends Disposable {
|
|
|
15
14
|
private _startOffsetY;
|
|
16
15
|
private _moveHelperBackgroundShape;
|
|
17
16
|
private _moveHelperLineShape;
|
|
18
|
-
private _sheetObject;
|
|
19
17
|
private _rowOrColumnDownObservers;
|
|
20
18
|
private _rowOrColumnMoveObservers;
|
|
21
19
|
private _rowOrColumnLeaveObservers;
|
|
@@ -27,7 +25,7 @@ export declare class HeaderMoveController extends Disposable {
|
|
|
27
25
|
private _changeToColumn;
|
|
28
26
|
private _changeToRow;
|
|
29
27
|
dispose(): void;
|
|
30
|
-
constructor(
|
|
28
|
+
constructor(_context: IRenderContext<Workbook>, _sheetSkeletonManagerService: SheetSkeletonManagerService, _commandService: ICommandService, _selectionRenderService: ISelectionRenderService, _selectionManagerService: SelectionManagerService);
|
|
31
29
|
private _initialize;
|
|
32
30
|
private _initialRowOrColumn;
|
|
33
31
|
private _rowColumnMoving;
|
|
@@ -35,5 +33,4 @@ export declare class HeaderMoveController extends Disposable {
|
|
|
35
33
|
private _clearObserverEvent;
|
|
36
34
|
private _newBackgroundAndLine;
|
|
37
35
|
private _disposeBackgroundAndLine;
|
|
38
|
-
private _getSheetObject;
|
|
39
36
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { SheetSkeletonManagerService } from '../services/sheet-skeleton-manager.service';
|
|
2
|
-
import { IEditorBridgeService } from '../services/editor-bridge.service';
|
|
3
|
-
import { IRenderContext, IRenderController } from '@univerjs/engine-render';
|
|
4
1
|
import { Workbook, Disposable, ICommandService } from '@univerjs/core';
|
|
2
|
+
import { IRenderContext, IRenderController } from '@univerjs/engine-render';
|
|
3
|
+
import { IEditorBridgeService } from '../../services/editor-bridge.service';
|
|
4
|
+
import { SheetSkeletonManagerService } from '../../services/sheet-skeleton-manager.service';
|
|
5
5
|
|
|
6
|
-
export declare class
|
|
6
|
+
export declare class HeaderResizeRenderController extends Disposable implements IRenderController {
|
|
7
7
|
private readonly _context;
|
|
8
8
|
private readonly _sheetSkeletonManagerService;
|
|
9
9
|
private readonly _commandService;
|
|
@@ -24,5 +24,4 @@ export declare class HeaderResizeController extends Disposable implements IRende
|
|
|
24
24
|
private _initialHover;
|
|
25
25
|
private _initialHoverResize;
|
|
26
26
|
private _clearObserverEvent;
|
|
27
|
-
private _getSheetObject;
|
|
28
27
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { SheetSkeletonManagerService } from '../services/sheet-skeleton-manager.service';
|
|
2
|
-
import { IRenderContext } from '@univerjs/engine-render';
|
|
3
1
|
import { Workbook, ICommandService, RxDisposable } from '@univerjs/core';
|
|
2
|
+
import { IRenderContext } from '@univerjs/engine-render';
|
|
3
|
+
import { SheetSkeletonManagerService } from '../../services/sheet-skeleton-manager.service';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* This controller controls rendering of the buttons to unhide hidden rows and columns.
|
|
@@ -1,20 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { IRange, Workbook, Disposable, ICommandService, IUniverInstanceService } from '@univerjs/core';
|
|
2
|
+
import { IRenderContext, IRenderController, IRenderManagerService } from '@univerjs/engine-render';
|
|
3
3
|
import { SelectionManagerService } from '@univerjs/sheets';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { ScrollManagerService } from '../../services/scroll-manager.service';
|
|
5
|
+
import { SheetSkeletonManagerService } from '../../services/sheet-skeleton-manager.service';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* This controller handles scroll logic in sheet interaction.
|
|
9
9
|
*/
|
|
10
|
-
export declare class
|
|
10
|
+
export declare class SheetsScrollRenderController extends Disposable implements IRenderController {
|
|
11
|
+
private readonly _context;
|
|
11
12
|
private readonly _sheetSkeletonManagerService;
|
|
12
13
|
private readonly _univerInstanceService;
|
|
13
14
|
private readonly _commandService;
|
|
14
15
|
private readonly _renderManagerService;
|
|
15
16
|
private readonly _selectionManagerService;
|
|
16
17
|
private readonly _scrollManagerService;
|
|
17
|
-
constructor(_sheetSkeletonManagerService: SheetSkeletonManagerService, _univerInstanceService: IUniverInstanceService, _commandService: ICommandService, _renderManagerService: IRenderManagerService, _selectionManagerService: SelectionManagerService, _scrollManagerService: ScrollManagerService);
|
|
18
|
+
constructor(_context: IRenderContext<Workbook>, _sheetSkeletonManagerService: SheetSkeletonManagerService, _univerInstanceService: IUniverInstanceService, _commandService: ICommandService, _renderManagerService: IRenderManagerService, _selectionManagerService: SelectionManagerService, _scrollManagerService: ScrollManagerService);
|
|
18
19
|
scrollToRange(range: IRange): boolean;
|
|
19
20
|
private _init;
|
|
20
21
|
private _initCommandListener;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { IDefinedNamesService } from '@univerjs/engine-formula';
|
|
1
|
+
import { Workbook, Disposable, ICommandService, ThemeService } from '@univerjs/core';
|
|
2
|
+
import { IRenderContext, IRenderController } from '@univerjs/engine-render';
|
|
4
3
|
import { SelectionManagerService } from '@univerjs/sheets';
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
4
|
+
import { IDefinedNamesService } from '@univerjs/engine-formula';
|
|
5
|
+
import { ISelectionRenderService } from '../../services/selection/selection-render.service';
|
|
6
|
+
import { SheetSkeletonManagerService } from '../../services/sheet-skeleton-manager.service';
|
|
7
7
|
|
|
8
|
-
export declare class
|
|
8
|
+
export declare class SelectionRenderController extends Disposable implements IRenderController {
|
|
9
|
+
private readonly _context;
|
|
9
10
|
private readonly _sheetSkeletonManagerService;
|
|
10
|
-
private readonly _univerInstanceService;
|
|
11
11
|
private readonly _commandService;
|
|
12
|
-
private readonly _renderManagerService;
|
|
13
12
|
private readonly _selectionRenderService;
|
|
14
13
|
private readonly _selectionManagerService;
|
|
15
14
|
private readonly _themeService;
|
|
16
15
|
private readonly _definedNamesService;
|
|
17
|
-
constructor(
|
|
18
|
-
|
|
16
|
+
constructor(_context: IRenderContext<Workbook>, _sheetSkeletonManagerService: SheetSkeletonManagerService, _commandService: ICommandService, _selectionRenderService: ISelectionRenderService, _selectionManagerService: SelectionManagerService, _themeService: ThemeService, _definedNamesService: IDefinedNamesService);
|
|
17
|
+
dispose(): void;
|
|
18
|
+
private _init;
|
|
19
19
|
private _initDefinedNameListener;
|
|
20
20
|
private _getSelections;
|
|
21
21
|
private _getActiveViewport;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Inc.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Workbook, Disposable, ICommandService } from '@univerjs/core';
|
|
2
|
+
import { IRenderContext, IRenderController } from '@univerjs/engine-render';
|
|
3
|
+
import { SheetSkeletonManagerService } from '../../services/sheet-skeleton-manager.service';
|
|
4
|
+
|
|
5
|
+
export declare class SheetsZoomRenderController extends Disposable implements IRenderController {
|
|
6
|
+
private readonly _context;
|
|
7
|
+
private readonly _sheetSkeletonManagerService;
|
|
8
|
+
private readonly _commandService;
|
|
9
|
+
constructor(_context: IRenderContext<Workbook>, _sheetSkeletonManagerService: SheetSkeletonManagerService, _commandService: ICommandService);
|
|
10
|
+
updateZoom(worksheetId: string, zoomRatio: number): boolean;
|
|
11
|
+
private _zoomEventBinding;
|
|
12
|
+
private _skeletonListener;
|
|
13
|
+
private _updateViewZoom;
|
|
14
|
+
private _getSheetObject;
|
|
15
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { SheetSkeletonManagerService } from '../services/sheet-skeleton-manager.service';
|
|
2
|
-
import { IDisposable } from '@wendellhu/redi';
|
|
3
|
-
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
4
1
|
import { ICommandService, IContextService, IUniverInstanceService, RxDisposable } from '@univerjs/core';
|
|
2
|
+
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
3
|
+
import { IDisposable } from '@wendellhu/redi';
|
|
4
|
+
import { SheetSkeletonManagerService } from '../services/sheet-skeleton-manager.service';
|
|
5
5
|
|
|
6
6
|
export declare class SheetRenderController extends RxDisposable {
|
|
7
7
|
private readonly _sheetSkeletonManagerService;
|
|
@@ -20,7 +20,8 @@ export declare class SheetRenderController extends RxDisposable {
|
|
|
20
20
|
registerSkeletonChangingMutations(mutationId: string): IDisposable;
|
|
21
21
|
private _init;
|
|
22
22
|
private _initialRenderRefresh;
|
|
23
|
-
private
|
|
23
|
+
private _initWorkbookListener;
|
|
24
|
+
private _createSheetRenderer;
|
|
24
25
|
private _initCommandListener;
|
|
25
26
|
private _initContextListener;
|
|
26
27
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Injector } from '@wendellhu/redi';
|
|
2
|
-
import { IDesktopUIController, ComponentManager, ILayoutService, IMenuService, IShortcutService } from '@univerjs/ui';
|
|
3
1
|
import { Disposable, ICommandService } from '@univerjs/core';
|
|
2
|
+
import { IDesktopUIController, ComponentManager, ILayoutService, IMenuService, IShortcutService } from '@univerjs/ui';
|
|
3
|
+
import { Injector } from '@wendellhu/redi';
|
|
4
4
|
|
|
5
5
|
export declare class SheetUIController extends Disposable {
|
|
6
6
|
private readonly _injector;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IExpandSelectionCommandParams, IMoveSelectionCommandParams, IMoveSelectionEnterAndTabCommandParams, ISelectAllCommandParams } from '../../commands/commands/set-selection.command';
|
|
2
1
|
import { IShortcutItem } from '@univerjs/ui';
|
|
2
|
+
import { IExpandSelectionCommandParams, IMoveSelectionCommandParams, IMoveSelectionEnterAndTabCommandParams, ISelectAllCommandParams } from '../../commands/commands/set-selection.command';
|
|
3
3
|
|
|
4
4
|
export declare const MoveSelectionDownShortcutItem: IShortcutItem<IMoveSelectionCommandParams>;
|
|
5
5
|
export declare const MoveSelectionUpShortcutItem: IShortcutItem<IMoveSelectionCommandParams>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { IStatusBarService } from '../services/status-bar.service';
|
|
2
|
-
import { INumfmtService, SelectionManagerService } from '@univerjs/sheets';
|
|
3
|
-
import { FormulaDataModel, IFunctionService } from '@univerjs/engine-formula';
|
|
4
1
|
import { Disposable, ICommandService, IUniverInstanceService } from '@univerjs/core';
|
|
2
|
+
import { FormulaDataModel, IFunctionService } from '@univerjs/engine-formula';
|
|
3
|
+
import { INumfmtService, SelectionManagerService } from '@univerjs/sheets';
|
|
4
|
+
import { IStatusBarService } from '../services/status-bar.service';
|
|
5
5
|
|
|
6
6
|
export declare class StatusBarController extends Disposable {
|
|
7
7
|
private readonly _univerInstanceService;
|
|
@@ -15,6 +15,6 @@ export declare class StatusBarController extends Disposable {
|
|
|
15
15
|
constructor(_univerInstanceService: IUniverInstanceService, _selectionManagerService: SelectionManagerService, _functionService: IFunctionService, _statusBarService: IStatusBarService, _commandService: ICommandService, _formulaDataModel: FormulaDataModel, _numfmtService: INumfmtService);
|
|
16
16
|
private _init;
|
|
17
17
|
private _registerSelectionListener;
|
|
18
|
+
private _clearResult;
|
|
18
19
|
private _calculateSelection;
|
|
19
|
-
private _isSingleCell;
|
|
20
20
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Engine, IRenderContext, IRenderManagerService, Rect, Scene, Spreadsheet, SpreadsheetColumnHeader, SpreadsheetHeader, SpreadsheetSkeleton, Viewport } from '@univerjs/engine-render';
|
|
2
1
|
import { IUniverInstanceService, Nullable, Workbook } from '@univerjs/core';
|
|
2
|
+
import { Engine, IRenderContext, IRenderManagerService, Rect, Scene, Spreadsheet, SpreadsheetColumnHeader, SpreadsheetHeader, SpreadsheetSkeleton, Viewport } from '@univerjs/engine-render';
|
|
3
3
|
|
|
4
4
|
export interface ISheetObjectParam {
|
|
5
5
|
spreadsheet: Spreadsheet;
|
|
@@ -9,6 +9,13 @@ export interface ISheetObjectParam {
|
|
|
9
9
|
scene: Scene;
|
|
10
10
|
engine: Engine;
|
|
11
11
|
}
|
|
12
|
+
/**
|
|
13
|
+
* @deprecated
|
|
14
|
+
*
|
|
15
|
+
* @param univerInstanceService
|
|
16
|
+
* @param renderManagerService
|
|
17
|
+
* @returns
|
|
18
|
+
*/
|
|
12
19
|
export declare function getSheetObject(univerInstanceService: IUniverInstanceService | Workbook, renderManagerService: IRenderManagerService | IRenderContext): Nullable<ISheetObjectParam>;
|
|
13
20
|
export declare function getCoordByCell(row: number, col: number, scene: Scene, skeleton: SpreadsheetSkeleton): {
|
|
14
21
|
startX: number;
|
|
@@ -16,7 +23,7 @@ export declare function getCoordByCell(row: number, col: number, scene: Scene, s
|
|
|
16
23
|
endX: number;
|
|
17
24
|
endY: number;
|
|
18
25
|
};
|
|
19
|
-
export declare function getCoordByOffset(evtOffsetX: number, evtOffsetY: number, scene: Scene, skeleton: SpreadsheetSkeleton, viewport?: Viewport): {
|
|
26
|
+
export declare function getCoordByOffset(evtOffsetX: number, evtOffsetY: number, scene: Scene, skeleton: SpreadsheetSkeleton, viewport?: Viewport, closeFirst?: boolean): {
|
|
20
27
|
startX: number;
|
|
21
28
|
startY: number;
|
|
22
29
|
endX: number;
|
package/lib/types/index.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ export { expandToContinuousRange } from './commands/commands/utils/selection-uti
|
|
|
22
22
|
export { ExpandSelectionCommand, JumpOver, MoveSelectionCommand } from './commands/commands/set-selection.command';
|
|
23
23
|
export { SetCellEditVisibleArrowOperation, SetCellEditVisibleOperation } from './commands/operations/cell-edit.operation';
|
|
24
24
|
export { SetScrollOperation } from './commands/operations/scroll.operation';
|
|
25
|
-
export {
|
|
25
|
+
export { SheetsScrollRenderController } from './controllers/render-controllers/scroll.render-controller';
|
|
26
26
|
export { deriveStateFromActiveSheet$ } from './controllers/menu/menu-util';
|
|
27
27
|
export { SheetRenderController } from './controllers/sheet-render.controller';
|
|
28
28
|
export { SetZoomRatioOperation } from './commands/operations/set-zoom-ratio.operation';
|
|
@@ -33,9 +33,10 @@ export { CellCustomRenderController } from './controllers/cell-custom-render.con
|
|
|
33
33
|
export { PASTE_SPECIAL_MENU_ID } from './controllers/menu/menu';
|
|
34
34
|
export { whenFormulaEditorActivated } from './controllers/shortcuts/utils';
|
|
35
35
|
export { getCoordByCell, getCoordByOffset, getSheetObject, getTransformCoord, } from './controllers/utils/component-tools';
|
|
36
|
+
export { useActiveWorkbook, useActiveWorksheet } from './components/hook';
|
|
36
37
|
export { whenSheetEditorFocused } from './controllers/shortcuts/utils';
|
|
37
38
|
export type { IEditorBridgeServiceParam } from './services/editor-bridge.service';
|
|
38
|
-
export { enUS, zhCN } from './locale';
|
|
39
|
+
export { enUS, zhCN, ruRU } from './locale';
|
|
39
40
|
export { AutoFillService, IAutoFillService } from './services/auto-fill/auto-fill.service';
|
|
40
41
|
export { getAutoFillRepeatRange } from './services/auto-fill/tools';
|
|
41
42
|
export type { ICopyDataPiece, ISheetAutoFillHook } from './services/auto-fill/type';
|
|
@@ -59,10 +60,12 @@ export { UniverSheetsUIPlugin } from './sheets-ui-plugin';
|
|
|
59
60
|
export { SheetCanvasView } from './views/sheet-canvas-view';
|
|
60
61
|
export { HoverManagerService } from './services/hover-manager.service';
|
|
61
62
|
export { CellAlertManagerService, CellAlertType, type ICellAlert } from './services/cell-alert-manager.service';
|
|
62
|
-
export {
|
|
63
|
+
export { HoverRenderController } from './controllers/hover-render.controller';
|
|
63
64
|
export { SHEET_VIEW_KEY } from './common/keys';
|
|
64
65
|
export { SheetCanvasPopManagerService } from './services/canvas-pop-manager.service';
|
|
65
66
|
export { mergeSetRangeValues } from './services/clipboard/utils';
|
|
66
67
|
export type { IAutoFillLocation } from './services/auto-fill/type';
|
|
67
68
|
export type { IDiscreteRange } from './controllers/utils/range-tools';
|
|
68
69
|
export { virtualizeDiscreteRanges, rangeToDiscreteRange } from './controllers/utils/range-tools';
|
|
70
|
+
export { type IHoverCellPosition } from './services/hover-manager.service';
|
|
71
|
+
export { AutoHeightController } from './controllers/auto-height.controller';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Nullable, Direction, Disposable, ICommandService, IUndoRedoService, IUniverInstanceService } from '@univerjs/core';
|
|
2
|
+
import { SelectionManagerService } from '@univerjs/sheets';
|
|
3
3
|
import { IDisposable } from '@wendellhu/redi';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import { IAutoFillLocation, IAutoFillRule, ISheetAutoFillHook, APPLY_TYPE } from './type';
|
|
6
6
|
|
|
7
7
|
export interface IAutoFillService {
|
|
8
8
|
applyType$: Observable<APPLY_TYPE>;
|
|
@@ -22,6 +22,7 @@ export interface IAutoFillService {
|
|
|
22
22
|
getAllHooks(): ISheetAutoFillHook[];
|
|
23
23
|
getActiveHooks(): ISheetAutoFillHook[];
|
|
24
24
|
addHook(hook: ISheetAutoFillHook): IDisposable;
|
|
25
|
+
fillData(triggerUnitId: string, triggerSubUnitId: string): boolean;
|
|
25
26
|
}
|
|
26
27
|
export interface IApplyMenuItem {
|
|
27
28
|
label: string;
|
|
@@ -29,9 +30,10 @@ export interface IApplyMenuItem {
|
|
|
29
30
|
disable: boolean;
|
|
30
31
|
}
|
|
31
32
|
export declare class AutoFillService extends Disposable implements IAutoFillService {
|
|
32
|
-
private _sheetInterceptorService;
|
|
33
33
|
private _univerInstanceService;
|
|
34
34
|
private _selectionManagerService;
|
|
35
|
+
private _commandService;
|
|
36
|
+
private _undoRedoService;
|
|
35
37
|
private _rules;
|
|
36
38
|
private _hooks;
|
|
37
39
|
private readonly _applyType$;
|
|
@@ -44,7 +46,7 @@ export declare class AutoFillService extends Disposable implements IAutoFillServ
|
|
|
44
46
|
readonly applyType$: Observable<APPLY_TYPE>;
|
|
45
47
|
private readonly _menu$;
|
|
46
48
|
readonly menu$: Observable<IApplyMenuItem[]>;
|
|
47
|
-
constructor(
|
|
49
|
+
constructor(_univerInstanceService: IUniverInstanceService, _selectionManagerService: SelectionManagerService, _commandService: ICommandService, _undoRedoService: IUndoRedoService);
|
|
48
50
|
private _init;
|
|
49
51
|
private getOneByPriority;
|
|
50
52
|
addHook(hook: ISheetAutoFillHook): IDisposable;
|
|
@@ -63,5 +65,6 @@ export declare class AutoFillService extends Disposable implements IAutoFillServ
|
|
|
63
65
|
set autoFillLocation(location: Nullable<IAutoFillLocation>);
|
|
64
66
|
setDisableApplyType(type: APPLY_TYPE, disable: boolean): void;
|
|
65
67
|
setShowMenu(show: boolean): void;
|
|
68
|
+
fillData(triggerUnitId: string, triggerSubUnitId: string): boolean;
|
|
66
69
|
}
|
|
67
70
|
export declare const IAutoFillService: import('@wendellhu/redi').IdentifierDecorator<AutoFillService>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IDiscreteRange } from '../../controllers/utils/range-tools';
|
|
2
1
|
import { Direction, ICellData, IMutationInfo, Nullable } from '@univerjs/core';
|
|
2
|
+
import { IDiscreteRange } from '../../controllers/utils/range-tools';
|
|
3
3
|
|
|
4
4
|
export declare enum AutoFillHookType {
|
|
5
5
|
Append = "APPEND",
|
|
@@ -16,6 +16,7 @@ export interface ISheetAutoFillHook {
|
|
|
16
16
|
id: string;
|
|
17
17
|
priority?: number;
|
|
18
18
|
type?: AutoFillHookType;
|
|
19
|
+
bindUnit?: string;
|
|
19
20
|
disable?: (location: IAutoFillLocation, direction: Direction, applyType: APPLY_TYPE) => boolean;
|
|
20
21
|
onBeforeFillData?(location: IAutoFillLocation, direction: Direction): boolean | void;
|
|
21
22
|
onFillData?(location: IAutoFillLocation, direction: Direction, applyType: APPLY_TYPE): {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { SheetSkeletonManagerService } from './sheet-skeleton-manager.service';
|
|
2
|
-
import { RefRangeService } from '@univerjs/sheets';
|
|
3
|
-
import { IDisposable } from '@wendellhu/redi';
|
|
4
|
-
import { ICanvasPopupService } from '@univerjs/ui';
|
|
5
|
-
import { IRenderManagerService, BaseObject, Viewport } from '@univerjs/engine-render';
|
|
6
1
|
import { Nullable, Disposable, ICommandService, IUniverInstanceService } from '@univerjs/core';
|
|
2
|
+
import { IRenderManagerService, BaseObject, Viewport } from '@univerjs/engine-render';
|
|
3
|
+
import { ICanvasPopupService } from '@univerjs/ui';
|
|
4
|
+
import { IDisposable } from '@wendellhu/redi';
|
|
5
|
+
import { RefRangeService } from '@univerjs/sheets';
|
|
6
|
+
import { SheetSkeletonManagerService } from './sheet-skeleton-manager.service';
|
|
7
7
|
|
|
8
8
|
export interface ICanvasPopup {
|
|
9
9
|
componentKey: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { SheetCanvasPopManagerService } from './canvas-pop-manager.service';
|
|
2
|
-
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
3
|
-
import { ISheetLocation } from '@univerjs/sheets';
|
|
4
1
|
import { IDisposable } from '@wendellhu/redi';
|
|
2
|
+
import { ISheetLocation } from '@univerjs/sheets';
|
|
3
|
+
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
4
|
+
import { SheetCanvasPopManagerService } from './canvas-pop-manager.service';
|
|
5
5
|
|
|
6
6
|
export declare enum CellAlertType {
|
|
7
7
|
INFO = 0,
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { CopyContentCache } from './copy-content-cache';
|
|
3
|
-
import { SheetSkeletonManagerService } from '../sheet-skeleton-manager.service';
|
|
4
|
-
import { IMarkSelectionService } from '../mark-selection/mark-selection.service';
|
|
5
|
-
import { IDisposable, Injector } from '@wendellhu/redi';
|
|
6
|
-
import { IClipboardInterfaceService, INotificationService, IPlatformService } from '@univerjs/ui';
|
|
1
|
+
import { IRange, Nullable, Disposable, ErrorService, ICommandService, ILogService, IUndoRedoService, IUniverInstanceService, LocaleService, ObjectMatrix } from '@univerjs/core';
|
|
7
2
|
import { SelectionManagerService } from '@univerjs/sheets';
|
|
8
|
-
import {
|
|
3
|
+
import { IClipboardInterfaceService, INotificationService, IPlatformService } from '@univerjs/ui';
|
|
4
|
+
import { IDisposable, Injector } from '@wendellhu/redi';
|
|
5
|
+
import { IMarkSelectionService } from '../mark-selection/mark-selection.service';
|
|
6
|
+
import { SheetSkeletonManagerService } from '../sheet-skeleton-manager.service';
|
|
7
|
+
import { IDiscreteRange } from '../../controllers/utils/range-tools';
|
|
8
|
+
import { CopyContentCache } from './copy-content-cache';
|
|
9
|
+
import { ICellDataWithSpanInfo, ISheetClipboardHook, COPY_TYPE } from './type';
|
|
9
10
|
|
|
10
11
|
export declare const PREDEFINED_HOOK_NAME: {
|
|
11
12
|
DEFAULT_COPY: string;
|
|
@@ -15,11 +16,19 @@ export declare const PREDEFINED_HOOK_NAME: {
|
|
|
15
16
|
SPECIAL_PASTE_COL_WIDTH: string;
|
|
16
17
|
SPECIAL_PASTE_BESIDES_BORDER: string;
|
|
17
18
|
};
|
|
19
|
+
interface ICopyContent {
|
|
20
|
+
copyId: string;
|
|
21
|
+
plain: string;
|
|
22
|
+
html: string;
|
|
23
|
+
matrixFragment: ObjectMatrix<ICellDataWithSpanInfo>;
|
|
24
|
+
discreteRange: IDiscreteRange;
|
|
25
|
+
}
|
|
18
26
|
export interface ISheetClipboardService {
|
|
19
27
|
copy(): Promise<boolean>;
|
|
20
28
|
cut(): Promise<boolean>;
|
|
21
29
|
paste(item: ClipboardItem, pasteType?: string): Promise<boolean>;
|
|
22
30
|
legacyPaste(html?: string, text?: string): Promise<boolean>;
|
|
31
|
+
generateCopyContent(workbookId: string, worksheetId: string, range: IRange): Nullable<ICopyContent>;
|
|
23
32
|
copyContentCache(): CopyContentCache;
|
|
24
33
|
addClipboardHook(hook: ISheetClipboardHook): IDisposable;
|
|
25
34
|
getClipboardHooks(): ISheetClipboardHook[];
|
|
@@ -48,6 +57,7 @@ export declare class SheetClipboardService extends Disposable implements ISheetC
|
|
|
48
57
|
private _copyMarkId;
|
|
49
58
|
constructor(_logService: ILogService, _univerInstanceService: IUniverInstanceService, _selectionManagerService: SelectionManagerService, _clipboardInterfaceService: IClipboardInterfaceService, _undoRedoService: IUndoRedoService, _commandService: ICommandService, _markSelectionService: IMarkSelectionService, _sheetSkeletonManagerService: SheetSkeletonManagerService, _notificationService: INotificationService, _platformService: IPlatformService, _localeService: LocaleService, _errorService: ErrorService, _injector: Injector);
|
|
50
59
|
copyContentCache(): CopyContentCache;
|
|
60
|
+
generateCopyContent(workbookId: string, worksheetId: string, range: IRange): Nullable<ICopyContent>;
|
|
51
61
|
copy(copyType?: COPY_TYPE): Promise<boolean>;
|
|
52
62
|
cut(): Promise<boolean>;
|
|
53
63
|
paste(item: ClipboardItem, pasteType?: string): Promise<boolean>;
|
|
@@ -116,3 +126,4 @@ export declare class SheetClipboardService extends Disposable implements ISheetC
|
|
|
116
126
|
private _topLeftCellsMatch;
|
|
117
127
|
}
|
|
118
128
|
export declare const escapeSpecialCode: (cellStr: string) => string;
|
|
129
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { COPY_TYPE, ICellDataWithSpanInfo } from './type';
|
|
2
|
-
import { IDiscreteRange } from '../../controllers/utils/range-tools';
|
|
3
1
|
import { Nullable, ObjectMatrix } from '@univerjs/core';
|
|
2
|
+
import { IDiscreteRange } from '../../controllers/utils/range-tools';
|
|
3
|
+
import { COPY_TYPE, ICellDataWithSpanInfo } from './type';
|
|
4
4
|
|
|
5
5
|
export interface ICopyContentCacheData {
|
|
6
6
|
subUnitId: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { IUniverSheetCopyDataModel } from '../type';
|
|
2
|
-
import { ISheetSkeletonManagerParam } from '../../sheet-skeleton-manager.service';
|
|
3
|
-
import { IPastePlugin } from '@univerjs/docs-ui';
|
|
4
1
|
import { ITextStyle, Nullable } from '@univerjs/core';
|
|
2
|
+
import { IPastePlugin } from '@univerjs/docs-ui';
|
|
3
|
+
import { ISheetSkeletonManagerParam } from '../../sheet-skeleton-manager.service';
|
|
4
|
+
import { IUniverSheetCopyDataModel } from '../type';
|
|
5
5
|
|
|
6
6
|
export interface IStyleRule {
|
|
7
7
|
filter: string | string[] | ((node: HTMLElement) => boolean);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IDiscreteRange } from '../../controllers/utils/range-tools';
|
|
2
1
|
import { ICellData, IDocumentData, IMutationInfo, IRange, ObjectMatrix } from '@univerjs/core';
|
|
2
|
+
import { IDiscreteRange } from '../../controllers/utils/range-tools';
|
|
3
3
|
|
|
4
4
|
export declare enum COPY_TYPE {
|
|
5
5
|
COPY = "COPY",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IDiscreteRange } from '../../controllers/utils/range-tools';
|
|
2
|
-
import { ISetRangeValuesMutationParams } from '@univerjs/sheets';
|
|
3
1
|
import { ICellData, IMutationInfo, IObjectMatrixPrimitiveType, IRange, Nullable } from '@univerjs/core';
|
|
2
|
+
import { ISetRangeValuesMutationParams } from '@univerjs/sheets';
|
|
3
|
+
import { IDiscreteRange } from '../../controllers/utils/range-tools';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { IDisposable } from '@wendellhu/redi';
|
|
3
1
|
import { IPosition, Nullable } from '@univerjs/core';
|
|
2
|
+
import { IDisposable } from '@wendellhu/redi';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
4
|
|
|
5
5
|
export interface ICellEditorManagerParam extends Partial<IPosition> {
|
|
6
6
|
show: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { IDisposable } from '@wendellhu/redi';
|
|
3
1
|
import { Nullable } from '@univerjs/core';
|
|
2
|
+
import { IDisposable } from '@wendellhu/redi';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
4
|
|
|
5
5
|
export interface IFormulaEditorManagerService {
|
|
6
6
|
position$: Observable<Nullable<DOMRect>>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { SheetSkeletonManagerService } from './sheet-skeleton-manager.service';
|
|
2
|
-
import { ISelectionRenderService } from './selection/selection-render.service';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import { IDisposable } from '@wendellhu/redi';
|
|
5
|
-
import { IEditorService, KeyCode } from '@univerjs/ui';
|
|
6
|
-
import { ISheetLocation } from '@univerjs/sheets';
|
|
7
|
-
import { Engine, IDocumentLayoutObject, Scene, DeviceInputEventType } from '@univerjs/engine-render';
|
|
8
1
|
import { ICellDataForSheetInterceptor, IPosition, ISelectionCell, Nullable, Disposable, InterceptorManager, IUniverInstanceService, ThemeService } from '@univerjs/core';
|
|
2
|
+
import { Engine, IDocumentLayoutObject, Scene, DeviceInputEventType } from '@univerjs/engine-render';
|
|
3
|
+
import { ISheetLocation } from '@univerjs/sheets';
|
|
4
|
+
import { IEditorService, KeyCode } from '@univerjs/ui';
|
|
5
|
+
import { IDisposable } from '@wendellhu/redi';
|
|
6
|
+
import { Observable } from 'rxjs';
|
|
7
|
+
import { ISelectionRenderService } from './selection/selection-render.service';
|
|
8
|
+
import { SheetSkeletonManagerService } from './sheet-skeleton-manager.service';
|
|
9
9
|
|
|
10
10
|
export interface IEditorBridgeServiceVisibleParam {
|
|
11
11
|
visible: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { IMarkSelectionService } from '../mark-selection/mark-selection.service';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { SelectionManagerService } from '@univerjs/sheets';
|
|
4
1
|
import { IRange, IStyleData, Disposable, IUniverInstanceService, ObjectMatrix } from '@univerjs/core';
|
|
2
|
+
import { SelectionManagerService } from '@univerjs/sheets';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { IMarkSelectionService } from '../mark-selection/mark-selection.service';
|
|
5
5
|
|
|
6
6
|
export interface IFormatPainterService {
|
|
7
7
|
status$: Observable<FormatPainterStatus>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { SheetSkeletonManagerService } from './sheet-skeleton-manager.service';
|
|
2
|
-
import { ScrollManagerService } from './scroll-manager.service';
|
|
3
|
-
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
4
|
-
import { ISheetLocation } from '@univerjs/sheets';
|
|
5
1
|
import { IPosition, Nullable, Disposable, IUniverInstanceService } from '@univerjs/core';
|
|
2
|
+
import { ISheetLocation } from '@univerjs/sheets';
|
|
3
|
+
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
4
|
+
import { ScrollManagerService } from './scroll-manager.service';
|
|
5
|
+
import { SheetSkeletonManagerService } from './sheet-skeleton-manager.service';
|
|
6
6
|
|
|
7
7
|
export interface IHoverCellPosition {
|
|
8
8
|
position: IPosition;
|