Wrapper and adapter for idb functionality. Manages settings to be persisted between sessions. This contains all setting keys and defaults and type resp. store information.

Constructors

Properties

_commonDefaults: CommonType[]
_commonKeys: string[]
_commonStore: string = "commonStore"
_customEquationsStore: string = "customEquationsStore"
_equationsDefault: any[]
_layoutStore: string = "layoutStore"
_stores: string[]
_windowDefault: any
_windowKeys: string[]

Accessors

  • get configurationKeys(): IterableIterator<[string, string], any, any>
  • Enumerates the Configuration Keys togther with their store, here as getter.

    Returns IterableIterator<[string, string], any, any>

  • get equationsKeys(): string[]
  • Returns the equationsKeys array (only a single entry at the moment).

    Returns string[]

Methods

  • Returns the default setting of a given property or key.

    Parameters

    • key: string

      the property

    Returns any

    the default value to be used f.i. for creation of an entry

  • Enumerates the Configuration Keys togther with their store.

    Returns IterableIterator<[string, string], any, any>

  • If key is a common key (style, locale, etc.)

    Parameters

    • key: string

    Returns boolean

  • Checks if a key is in general a settings name.

    Parameters

    • key: string

      the key to check

    Returns boolean

    true if it's a setting

  • Returns the configuration keys for one store.

    Parameters

    • idx: number

      the store index (0, 1, 2)

    Returns string[]