Hierarchy

  • ApplicationSettings

Properties

browserStorage: SettingsStorage

Settings storage which stores settings for the current browser. Note: This is a synchronous api.

calculation: Readonly<CalculationSettings>

current calculation settings

dataLanguage: readonly string[]

Default language used for the product data (Array of languages in order of priority). If the array is empty the UI language will be used as fallback. Use EaiwsSessionDefaults.applyDefaults() to apply the default language.

defaults: Readonly<DefaultSettings>

default application settings

eaiws: Readonly<EaiwsSettings>

current eaiws settings

eventCalculationChanged: ListenableEvent<void, ApplicationSettings>

event which triggers if the calculation settings are changed

eventDataLanguageChanged: ListenableEvent<void, ApplicationSettings>

event which triggers if the data language is changed

eventEaiwsChanged: ListenableEvent<void, ApplicationSettings>

event which triggers if the eaiws settings are changed

eventLengthUnitChanged: ListenableEvent<void, ApplicationSettings>

event which triggers if the length unit is changed

eventLocaleChanged: ListenableEvent<void, ApplicationSettings>

event which triggers if the locale is changed

eventOrderChanged: ListenableEvent<void, ApplicationSettings>

event which triggers if the order settings are changed

eventProjectEditorChanged: ListenableEvent<void, ApplicationSettings>

event which triggers if the project editor settings are changed

eventProjectValidityChanged: ListenableEvent<void, ApplicationSettings>

event which triggers if the project validity is changed

eventReportChanged: ListenableEvent<void, ApplicationSettings>

event which triggers if the report settings are changed

eventThemeChanged: ListenableEvent<void, ApplicationSettings>

event which triggers if the theme settings are changed

language: string

UI language of the application (based on the current locale)

lengthUnit: LengthUnit

Length unit which is used to show length values.

locale: string

Locale of the application. Used for number and date formatting and defines the language of the application.

order: Readonly<OrderSettings>

current order settings

priceDateSupported: boolean

True if the articles price date is supported.

projectEditor: Readonly<ProjectEditorSettings>

current project editor settings

projectValidity: string

Default project validity. The validity is represented as an ISO 8601 duration string. An empty string is used for no validity. Use EaiwsSessionDefaults.applyDefaults() to apply the default project validity.

report: Readonly<ReportSettings>

current report settings

specialModelInfoTextId: string

ID of the special model information text.

supportedProjectStates: readonly ProjectState[]

List of supported project states in correct order.

theme: Readonly<ThemeSettings>

current theme settings

userStorage: null | AsyncSettingsStorage

Cross browser settings storage which stores settings for the current user. Only available if the user authentication provides a storage. Note: This is an asynchronous api.

webGL: Readonly<WebGLSettings>

current WebGL settings

Methods

  • Sets new data language.

    Parameters

    • pLanguage: readonly string[]

    Returns void

  • Enables/disables article price date support.

    Parameters

    • pSupported: boolean

    Returns void

  • Sets new project validity.

    Parameters

    • pValidity: string

    Returns void

Generated using TypeDoc