/** * 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 { Disposable, ICommandService, IUniverInstanceService } from '@univerjs/core'; import { IRenderManagerService } from '@univerjs/engine-render'; import { SheetPermissionCheckController, SheetsSelectionsService } from '@univerjs/sheets'; import { SheetsThreadCommentModel } from '@univerjs/sheets-thread-comment'; import { IEditorBridgeService, IMarkSelectionService } from '@univerjs/sheets-ui'; import { ThreadCommentPanelService } from '@univerjs/thread-comment-ui'; import { SheetsThreadCommentPopupService } from '../services/sheets-thread-comment-popup.service'; export declare class SheetsThreadCommentPopupController extends Disposable { private readonly _commandService; private readonly _sheetsThreadCommentPopupService; private readonly _sheetsThreadCommentModel; private readonly _threadCommentPanelService; private readonly _univerInstanceService; private readonly _sheetPermissionCheckController; private readonly _markSelectionService; private readonly _sheetSelectionService; private readonly _editorBridgeService; private readonly _renderManagerService; private _isSwitchToCommenting; private _selectionShapeInfo; constructor(_commandService: ICommandService, _sheetsThreadCommentPopupService: SheetsThreadCommentPopupService, _sheetsThreadCommentModel: SheetsThreadCommentModel, _threadCommentPanelService: ThreadCommentPanelService, _univerInstanceService: IUniverInstanceService, _sheetPermissionCheckController: SheetPermissionCheckController, _markSelectionService: IMarkSelectionService, _sheetSelectionService: SheetsSelectionsService, _editorBridgeService: IEditorBridgeService, _renderManagerService: IRenderManagerService); private _handleSelectionChange; private _initSelectionUpdateListener; private _initEditorBridge; private _initCommandListener; private _initPanelListener; private _initMarkSelection; }