@univerjs-proedit-history-loaderclassesHistoryloaderservice

@univerjs-pro/edit-history-loader v0.5.4


Class: HistoryLoaderService

Defined in: packages/edit-history-loader/src/services/history-loader.service.ts:50

Extends

Constructors

new HistoryLoaderService()

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

Defined in: packages/edit-history-loader/src/services/history-loader.service.ts:54

Parameters

ParameterType
_localeServiceLocaleService
_univerInstanceServiceIUniverInstanceService
_configServiceIConfigService
_commandServiceICommandService
_messageServiceIMessageService
_permissionServiceIPermissionService
_selectionProtectionRuleModelRangeProtectionRuleModel
_dialogServiceIDialogService
_sidebarServiceISidebarService

Returns

HistoryLoaderService

Overrides

Disposable.constructor

Properties

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

Methods

dispose()

dispose(): void

Defined in: packages/edit-history-loader/src/services/history-loader.service.ts:141

Returns

void

Overrides

Disposable.dispose


disposeWithMe()

disposeWithMe(disposable): IDisposable

Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:99

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe


ensureNotDisposed()

protected ensureNotDisposed(): void

Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:103

Returns

void

Inherited from

Disposable.ensureNotDisposed


getAllPlugins()

getAllPlugins(): [PluginCtor, object][]

Defined in: packages/edit-history-loader/src/services/history-loader.service.ts:154

Returns

[PluginCtor, object][]


mountHistoryContent()

mountHistoryContent(unitId): void

Defined in: packages/edit-history-loader/src/services/history-loader.service.ts:158

Parameters

ParameterType
unitIdstring

Returns

void


registerPlugin()

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

Defined in: packages/edit-history-loader/src/services/history-loader.service.ts:147

Type Parameters

Type Parameter
T extends PluginCtor

Parameters

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

Returns

void


unMountHistoryContent()

unMountHistoryContent(): void

Defined in: packages/edit-history-loader/src/services/history-loader.service.ts:167

Returns

void