/** * Copyright 2023-present DreamNum Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import type { Workbook } from '@univerjs/core'; import type { IRenderContext, IRenderModule } from '@univerjs/engine-render'; import { Disposable, ICommandService, Injector, IPermissionService, IUniverInstanceService } from '@univerjs/core'; import { IRenderManagerService } from '@univerjs/engine-render'; import { WorkbookPermissionService } from '@univerjs/sheets'; import { TableManager } from '@univerjs/sheets-table'; import { SheetScrollManagerService, SheetSkeletonManagerService } from '@univerjs/sheets-ui'; import { IUIPartsService } from '@univerjs/ui'; export interface ITableAnchorPosition { x: number; y: number; tableId: string; tableName: string; } export declare class SheetTableAnchorController extends Disposable implements IRenderModule { private readonly _context; private readonly _injector; private readonly _sheetSkeletonManagerService; private readonly _renderManagerService; private readonly _commandService; private readonly _univerInstanceService; protected readonly _uiPartsService: IUIPartsService; private readonly _tableManager; private readonly _scrollManagerService; private readonly _workbookPermissionService; private readonly _permissionService; private _anchorVisible$; private _timer; private _anchorPosition$; anchorPosition$: import("rxjs").Observable; constructor(_context: IRenderContext, _injector: Injector, _sheetSkeletonManagerService: SheetSkeletonManagerService, _renderManagerService: IRenderManagerService, _commandService: ICommandService, _univerInstanceService: IUniverInstanceService, _uiPartsService: IUIPartsService, _tableManager: TableManager, _scrollManagerService: SheetScrollManagerService, _workbookPermissionService: WorkbookPermissionService, _permissionService: IPermissionService); private _initUI; private _initListener; private _initTableAnchor; }