Hierarchy

Implements

Index

Constructors

constructor

Properties

propertiesManagers

propertiesManagers: Dictionary<IActivePropertyManager>

Maps a source id to a property manager

serviceName

serviceName: string = this.constructor.name

sourceAdded

sourceAdded: Subject<ISource> = new Subject<ISource>()

sourceRemoved

sourceRemoved: Subject<ISource> = new Subject<ISource>()

sourceUpdated

sourceUpdated: Subject<ISource> = new Subject<ISource>()

Static hasInstance

hasInstance: boolean = false

Static initialState

initialState: ISourcesState = {sources: {}} as ISourcesState

Static isSingleton

isSingleton: boolean = true

Static serviceAfterInit

serviceAfterInit: Subject<Service> = new Subject<Service>()

lifecycle hook

Accessors

sources

state

store

  • get store(): Store<any>

Static instance

  • get instance(): any

Methods

addSource

Protected afterInit

  • afterInit(): void
  • calls only once per application life all observers are ready to listen service's events

    Returns void

createSource

getAvailableSourcesTypes

getAvailableSourcesTypesList

  • getAvailableSourcesTypesList(): IListOption<TSourceType>[]

getSource

  • getSource(id: string): Source

getSourceById

  • getSourceById(id: string): Source

getSources

getSourcesByName

  • getSourcesByName(name: string): Source[]

Protected init

  • init(): void

Protected mounted

  • mounted(): void

refreshSourceAttributes

  • refreshSourceAttributes(): void

removeSource

  • removeSource(id: string): void

requestSourceSizes

  • requestSourceSizes(): void

reset

  • reset(): void

setMuted

  • setMuted(id: string, muted: boolean): void

showAddSource

showNameSource

showNameWidget

showRenameSource

  • showRenameSource(sourceId: string): void

showShowcase

  • showShowcase(): void

showSourceProperties

  • showSourceProperties(sourceId: string): void

suggestName

  • suggestName(name: string): string

Static createInstance

  • createInstance(ServiceClass: any): any

Static getResourceId

  • getResourceId(resource: any): string

Static getStore

  • getStore(): Store<any>

Static setupInitFunction

  • setupInitFunction(fn: function): void

Static setupProxy

  • setupProxy(fn: function): void

Static setupVuexStore

  • setupVuexStore(store: Store<any>): void