diff --git a/packages/sheets-formula/src/controllers/defined-name.controller.ts b/packages/sheets-formula/src/controllers/defined-name.controller.ts index 1515cad1a3a..48c47824d51 100644 --- a/packages/sheets-formula/src/controllers/defined-name.controller.ts +++ b/packages/sheets-formula/src/controllers/defined-name.controller.ts @@ -19,6 +19,7 @@ import type { IFunctionInfo, ISetDefinedNameMutationParam } from '@univerjs/engi import { Disposable, ICommandService, + Inject, IUniverInstanceService, toDisposable, UniverInstanceType, diff --git a/packages/sheets-formula/src/controllers/trigger-calculation.controller.ts b/packages/sheets-formula/src/controllers/trigger-calculation.controller.ts index 0d7ed289e1f..6870afc2cea 100644 --- a/packages/sheets-formula/src/controllers/trigger-calculation.controller.ts +++ b/packages/sheets-formula/src/controllers/trigger-calculation.controller.ts @@ -24,7 +24,7 @@ import type { ISetFormulaCalculationNotificationMutation, } from '@univerjs/engine-formula'; import type { ISetRangeValuesMutationParams } from '@univerjs/sheets'; -import { Disposable, ICommandService, throttle } from '@univerjs/core'; +import { Disposable, ICommandService, Inject, throttle } from '@univerjs/core'; import { ActiveDirtyManagerService, FormulaExecutedStateType, diff --git a/packages/sheets-formula/src/services/register-other-formula.service.ts b/packages/sheets-formula/src/services/register-other-formula.service.ts index 0ed5868321d..b578466bca7 100644 --- a/packages/sheets-formula/src/services/register-other-formula.service.ts +++ b/packages/sheets-formula/src/services/register-other-formula.service.ts @@ -17,7 +17,7 @@ import type { Nullable } from '@univerjs/core'; import type { IRemoveOtherFormulaMutationParams, ISetFormulaCalculationResultMutation, ISetOtherFormulaMutationParams } from '@univerjs/engine-formula'; import type { IOtherFormulaMarkDirtyParams } from '../commands/mutations/formula.mutation'; -import { Disposable, ICommandService, Tools } from '@univerjs/core'; +import { Disposable, ICommandService, Inject, Tools } from '@univerjs/core'; import { ActiveDirtyManagerService, RemoveOtherFormulaMutation, SetFormulaCalculationResultMutation, SetOtherFormulaMutation } from '@univerjs/engine-formula'; import { bufferTime, filter, map, Subject } from 'rxjs'; import { OtherFormulaMarkDirty } from '../commands/mutations/formula.mutation'; diff --git a/packages/sheets-formula/src/services/remote/remote-register-function.service.ts b/packages/sheets-formula/src/services/remote/remote-register-function.service.ts index 2abaec4e060..7be051672fc 100644 --- a/packages/sheets-formula/src/services/remote/remote-register-function.service.ts +++ b/packages/sheets-formula/src/services/remote/remote-register-function.service.ts @@ -15,7 +15,7 @@ */ import type { BaseFunction } from '@univerjs/engine-formula'; -import { createIdentifier } from '@univerjs/core'; +import { createIdentifier, Inject } from '@univerjs/core'; import { CustomFunction, FunctionService } from '@univerjs/engine-formula'; export interface IRemoteRegisterFunctionService { diff --git a/packages/sheets/src/controllers/defined-name-data.controller.ts b/packages/sheets/src/controllers/defined-name-data.controller.ts index ac324cfa024..76b48cdeccb 100644 --- a/packages/sheets/src/controllers/defined-name-data.controller.ts +++ b/packages/sheets/src/controllers/defined-name-data.controller.ts @@ -17,6 +17,7 @@ import type { IDefinedNameMapItem } from '@univerjs/engine-formula'; import { Disposable, + Inject, IResourceManagerService, UniverInstanceType, } from '@univerjs/core';