Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.
TypeScript boardcollaborationdocdocxexceloffce365officepdfpptpptxpresentationsdksheetslidesspreadsheetuniverwordwordprocessorworkspacexlsx
chore: remove unused variables in quick insert (#4844)
siam240546f43b83
diff --git a/packages/docs-quick-insert-ui/src/controllers/doc-quick-insert-ui.controller.ts b/packages/docs-quick-insert-ui/src/controllers/doc-quick-insert-ui.controller.tsindex 54a946be1c..1aae368fa2 100644--- a/packages/docs-quick-insert-ui/src/controllers/doc-quick-insert-ui.controller.ts+++ b/packages/docs-quick-insert-ui/src/controllers/doc-quick-insert-ui.controller.ts@@ -18,7 +18,7 @@ import type { ITextRangeWithStyle } from '@univerjs/engine-render';import type { IDocPopup } from '../services/doc-quick-insert-popup.service';import { Disposable, ICommandService, Inject } from '@univerjs/core';import { DividerSingle, TextSingle } from '@univerjs/icons';-import { ComponentManager, IMenuManagerService } from '@univerjs/ui';+import { ComponentManager } from '@univerjs/ui';import { of } from 'rxjs';import { DeleteSearchKeyCommand } from '../commands/commands/doc-quick-insert.command';import { CloseQuickInsertPopupOperation, ShowQuickInsertPopupOperation } from '../commands/operations/quick-insert-popup.operation';@@ -31,8 +31,7 @@ export class DocQuickInsertUIController extends Disposable {constructor(@ICommandService private readonly _commandService: ICommandService,@Inject(DocQuickInsertPopupService) private readonly _docQuickInsertPopupService: DocQuickInsertPopupService,- @Inject(ComponentManager) private readonly _componentManager: ComponentManager,- @Inject(IMenuManagerService) private readonly _menuManagerService: IMenuManagerService+ @Inject(ComponentManager) private readonly _componentManager: ComponentManager) {super();diff --git a/packages/docs-quick-insert-ui/src/services/doc-quick-insert-popup.service.ts b/packages/docs-quick-insert-ui/src/services/doc-quick-insert-popup.service.tsindex 1a4e3d7ac8..95e483201b 100644--- a/packages/docs-quick-insert-ui/src/services/doc-quick-insert-popup.service.ts+++ b/packages/docs-quick-insert-ui/src/services/doc-quick-insert-popup.service.ts@@ -18,7 +18,6 @@ import type { DocumentDataModel, IDisposable, Nullable } from '@univerjs/core';import type { IInsertCommandParams } from '@univerjs/docs-ui';import type { Observable } from 'rxjs';import { Disposable, ICommandService, Inject, IUniverInstanceService, UniverInstanceType } from '@univerjs/core';-import { DocFloatDomController } from '@univerjs/docs-drawing-ui';import { DocCanvasPopManagerService } from '@univerjs/docs-ui';import { BehaviorSubject, combineLatest, distinctUntilChanged, map, tap } from 'rxjs';import { DeleteSearchKeyCommand } from '../commands/commands/doc-quick-insert.command';@@ -85,8 +84,7 @@ export class DocQuickInsertPopupService extends Disposable {constructor(@Inject(DocCanvasPopManagerService) private readonly _docCanvasPopupManagerService: DocCanvasPopManagerService,@Inject(IUniverInstanceService) private readonly _univerInstanceService: IUniverInstanceService,- @Inject(ICommandService) private readonly _commandService: ICommandService,- @Inject(DocFloatDomController) private readonly _docFloatDomController: DocFloatDomController+ @Inject(ICommandService) private readonly _commandService: ICommandService) {super();