@univerjs/sheets-hyper-link-ui v0.5.4


Class: SheetsHyperLinkPopupService

Defined in: sheets-hyper-link-ui/src/services/popup.service.ts:73

Extends

Constructors

new SheetsHyperLinkPopupService()

new SheetsHyperLinkPopupService(
   _sheetCanvasPopManagerService, 
   _injector, 
   _univerInstanceService, 
   _editorBridgeService, 
   _textSelectionManagerService, 
   _docCanvasPopManagerService, 
   _zenZoneService): SheetsHyperLinkPopupService

Defined in: sheets-hyper-link-ui/src/services/popup.service.ts:92

Parameters

ParameterType
_sheetCanvasPopManagerServiceSheetCanvasPopManagerService
_injectorInjector
_univerInstanceServiceIUniverInstanceService
_editorBridgeServiceIEditorBridgeService
_textSelectionManagerServiceDocSelectionManagerService
_docCanvasPopManagerServiceDocCanvasPopManagerService
_zenZoneServiceIZenZoneService

Returns

SheetsHyperLinkPopupService

Overrides

Disposable.constructor

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseDisposable._disposedcore/src/shared/lifecycle.ts:96
currentEditing$publicObservable< | null | IHyperLinkEditing & { customRange: ICustomRange; label: string; }>undefined-sheets-hyper-link-ui/src/services/popup.service.ts:80
currentPopup$publicObservable<null | IHyperLinkPopup>undefined-sheets-hyper-link-ui/src/services/popup.service.ts:76

Accessors

currentEditing

Get Signature

get currentEditing(): 
  | null
  | IHyperLinkEditing & {
  customRange: ICustomRange;
  label: string;
}

Defined in: sheets-hyper-link-ui/src/services/popup.service.ts:88

Returns

| null | IHyperLinkEditing & { customRange: ICustomRange; label: string; }


currentPopup

Get Signature

get currentPopup(): null | IHyperLinkPopup

Defined in: sheets-hyper-link-ui/src/services/popup.service.ts:84

Returns

null | IHyperLinkPopup

Methods

dispose()

dispose(): void

Defined in: core/src/shared/lifecycle.ts:109

Returns

void

Inherited from

Disposable.dispose


disposeWithMe()

disposeWithMe(disposable): IDisposable

Defined in: core/src/shared/lifecycle.ts:99

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe


endEditing()

endEditing(type?): void

Defined in: sheets-hyper-link-ui/src/services/popup.service.ts:422

Parameters

ParameterType
type?HyperLinkEditSourceType

Returns

void


ensureNotDisposed()

protected ensureNotDisposed(): void

Defined in: core/src/shared/lifecycle.ts:103

Returns

void

Inherited from

Disposable.ensureNotDisposed


getIsKeepVisible()

getIsKeepVisible(): boolean

Defined in: sheets-hyper-link-ui/src/services/popup.service.ts:116

Returns

boolean


hideCurrentPopup()

hideCurrentPopup(type?, force?): void

Defined in: sheets-hyper-link-ui/src/services/popup.service.ts:200

Parameters

ParameterType
type?HyperLinkEditSourceType
force?boolean

Returns

void


setIsKeepVisible()

setIsKeepVisible(v): void

Defined in: sheets-hyper-link-ui/src/services/popup.service.ts:112

Parameters

ParameterType
vboolean

Returns

void


showPopup()

showPopup(location): void

Defined in: sheets-hyper-link-ui/src/services/popup.service.ts:120

Parameters

ParameterType
locationIHyperLinkPopupOptions

Returns

void


startAddEditing()

startAddEditing(link): void

Defined in: sheets-hyper-link-ui/src/services/popup.service.ts:266

Parameters

ParameterType
linkIHyperLinkEditing

Returns

void


startEditing()

startEditing(link): void

Defined in: sheets-hyper-link-ui/src/services/popup.service.ts:333

Parameters

ParameterType
linkRequired<IHyperLinkEditing>

Returns

void