@univerjs-pro/collaboration-client 0.2.6 → 0.2.7

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.
@@ -1,5 +1,5 @@
1
- import { DocumentDataModel, RxDisposable, ThemeService } from '@univerjs/core';
2
- import { IRenderContext, IRenderModule, IRenderManagerService } from '@univerjs/engine-render';
1
+ import { DocumentDataModel, ICommandService, RxDisposable, ThemeService } from '@univerjs/core';
2
+ import { IRenderContext, IRenderModule } from '@univerjs/engine-render';
3
3
  import { DocSkeletonManagerService } from '@univerjs/docs';
4
4
  import { CollabCursorController } from './collab-cursor.controller';
5
5
 
@@ -10,12 +10,16 @@ export declare class DocCollabCursorRenderController extends RxDisposable implem
10
10
  private readonly _context;
11
11
  private readonly _docSkeletonManagerService;
12
12
  private readonly _collabCursorController;
13
- private readonly _renderManagerService;
13
+ private readonly _commandService;
14
14
  private readonly _themeService;
15
15
  /** Cursors stored for different Workbooks. */
16
+ private _cursorShapes;
16
17
  private _cursors;
17
- constructor(_context: IRenderContext<DocumentDataModel>, _docSkeletonManagerService: DocSkeletonManagerService, _collabCursorController: CollabCursorController, _renderManagerService: IRenderManagerService, _themeService: ThemeService);
18
+ constructor(_context: IRenderContext<DocumentDataModel>, _docSkeletonManagerService: DocSkeletonManagerService, _collabCursorController: CollabCursorController, _commandService: ICommandService, _themeService: ThemeService);
18
19
  private _init;
19
20
  private _updateCollabCursors;
21
+ private _refreshCollabCursors;
20
22
  private _removeCollabCursors;
23
+ private _initCommandExecutedListener;
24
+ private _initResize;
21
25
  }
@@ -21,7 +21,8 @@ export declare class DocCollabCursor {
21
21
  private _render;
22
22
  private _drawAnchor;
23
23
  private _handleHover;
24
- private _drawRange;
24
+ private _drawTextRange;
25
+ private _drawRectRange;
25
26
  private _getAnchorBounding;
26
27
  private _getScale;
27
28
  }