@univerjs-proedit-history-loaderclassesHistoryloaderservice

@univerjs-pro/edit-history-loader v0.5.0-beta.1Docs


Class: HistoryLoaderService

Extends

Constructors

new HistoryLoaderService()

new HistoryLoaderService(
   _localeService, 
   _univerInstanceService, 
   _configService, 
   _commandService, 
   _messageService, 
   _permissionService, 
   _selectionProtectionRuleModel, 
   _dialogService, 
   _sidebarService): HistoryLoaderService

Parameters

ParameterType
_localeServiceLocaleService
_univerInstanceServiceIUniverInstanceService
_configServiceIConfigService
_commandServiceICommandService
_messageServiceIMessageService
_permissionServiceIPermissionService
_selectionProtectionRuleModelRangeProtectionRuleModel
_dialogServiceIDialogService
_sidebarServiceISidebarService

Returns

HistoryLoaderService

Overrides

Disposable.constructor

Defined in

packages/edit-history-loader/src/services/history-loader.service.ts:45

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseDisposable._disposedsubmodules/univer/packages/core/src/shared/lifecycle.ts:93

Methods

dispose()

dispose(): void

Returns

void

Overrides

Disposable.dispose

Defined in

packages/edit-history-loader/src/services/history-loader.service.ts:129


disposeWithMe()

disposeWithMe(disposable): IDisposable

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe

Defined in

submodules/univer/packages/core/src/shared/lifecycle.ts:96


ensureNotDisposed()

protected ensureNotDisposed(): void

Returns

void

Inherited from

Disposable.ensureNotDisposed

Defined in

submodules/univer/packages/core/src/shared/lifecycle.ts:100


getAllPlugins()

getAllPlugins(): [PluginCtor, object][]

Returns

[PluginCtor, object][]

Defined in

packages/edit-history-loader/src/services/history-loader.service.ts:142


mountHistoryContent()

mountHistoryContent(unitId): void

Parameters

ParameterType
unitIdstring

Returns

void

Defined in

packages/edit-history-loader/src/services/history-loader.service.ts:146


registerPlugin()

registerPlugin<T>(
   ctor, 
   config?, 
   override?): void

Type Parameters

Type Parameter
T extends PluginCtor

Parameters

ParameterType
ctorT
config?ConstructorParameters<T>[0]
override?false

Returns

void

Defined in

packages/edit-history-loader/src/services/history-loader.service.ts:135


unMountHistoryContent()

unMountHistoryContent(): void

Returns

void

Defined in

packages/edit-history-loader/src/services/history-loader.service.ts:155