Skip to content

arlas-wui-toolkit / Exports / ArlasConfigService

Class: ArlasConfigService

Hierarchy

  • ConfigService

ArlasConfigService

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new ArlasConfigService()

Overrides

ConfigService.constructor

Defined in

projects/arlas-toolkit/src/lib/services/startup/startup.service.ts:78

Properties

appName

appName: string = ''

Defined in

projects/arlas-toolkit/src/lib/services/startup/startup.service.ts:76


confErrorBus

confErrorBus: Subject<string>

Bus of configuration error.

Inherited from

ConfigService.confErrorBus

Defined in

node_modules/arlas-web-core/services/config.service.d.ts:6


errorsQueue

errorsQueue: Error[]

Defined in

projects/arlas-toolkit/src/lib/services/startup/startup.service.ts:75

Methods

errorCallBack

errorCallBack(key): void

Notify bus error.

Parameters

Name Type
key string

Returns

void

Inherited from

ConfigService.errorCallBack

Defined in

node_modules/arlas-web-core/services/config.service.d.ts:20


getConfig

getConfig(): Object

Get configuration object.

Returns

Object

configuration Object

Inherited from

ConfigService.getConfig

Defined in

node_modules/arlas-web-core/services/config.service.d.ts:25


getI18n

getI18n(config): any

Parameters

Name Type
config any

Returns

any

Defined in

projects/arlas-toolkit/src/lib/services/startup/startup.service.ts:99


getPreview

getPreview(config): any

Parameters

Name Type
config any

Returns

any

Defined in

projects/arlas-toolkit/src/lib/services/startup/startup.service.ts:91


getPreviewId

getPreviewId(): string

Returns the preview identifier stored in the config.json

Returns

string

Defined in

projects/arlas-toolkit/src/lib/services/startup/startup.service.ts:83


getTours

getTours(config): any

Parameters

Name Type
config any

Returns

any

Defined in

projects/arlas-toolkit/src/lib/services/startup/startup.service.ts:103


getValue

getValue(key): any

Retrieve Value from key in configuration object.

Parameters

Name Type
key string

Returns

any

configuration value

Inherited from

ConfigService.getValue

Defined in

node_modules/arlas-web-core/services/config.service.d.ts:16


hasI18n

hasI18n(config): boolean

Parameters

Name Type
config any

Returns

boolean

Defined in

projects/arlas-toolkit/src/lib/services/startup/startup.service.ts:107


hasPreview

hasPreview(config): boolean

Parameters

Name Type
config any

Returns

boolean

Defined in

projects/arlas-toolkit/src/lib/services/startup/startup.service.ts:95


hasResources

hasResources(config): boolean

Parameters

Name Type
config any

Returns

boolean

Defined in

projects/arlas-toolkit/src/lib/services/startup/startup.service.ts:117


hasTours

hasTours(config): boolean

Parameters

Name Type
config any

Returns

boolean

Defined in

projects/arlas-toolkit/src/lib/services/startup/startup.service.ts:112


parse

parse(stringifiedConfig): any

Parameters

Name Type
stringifiedConfig string

Returns

any

Defined in

projects/arlas-toolkit/src/lib/services/startup/startup.service.ts:87


setConfig

setConfig(config): void

Set configuration object.

Parameters

Name Type Description
config Object Object

Returns

void

Inherited from

ConfigService.setConfig

Defined in

node_modules/arlas-web-core/services/config.service.d.ts:30


updateI18n

updateI18n(config, lang, i18nId): void

Parameters

Name Type
config any
lang string
i18nId string

Returns

void

Defined in

projects/arlas-toolkit/src/lib/services/startup/startup.service.ts:121


updatePreview

updatePreview(config, previewId): any

Parameters

Name Type
config any
previewId string

Returns

any

Defined in

projects/arlas-toolkit/src/lib/services/startup/startup.service.ts:141


updateTour

updateTour(config, lang, tourId): void

Parameters

Name Type
config any
lang string
tourId string

Returns

void

Defined in

projects/arlas-toolkit/src/lib/services/startup/startup.service.ts:131