|
allowDirectNavigationWithoutState
|
allowDirectNavigationWithoutState: boolean
|
Type : boolean
|
|
Optional
|
|
|
Allows the user to directly navigate into some location within the flow
without a restored state.
Default is false, which means the user gets redirected to the first page, if no state
was restored.
|
|
autoCleanStaleState
|
autoCleanStaleState: boolean
|
Type : boolean
|
|
Optional
|
|
|
Boolean to enable state clean on page Navigation
if set to true when page is revisited it will auto clean up data
|
|
backButtonLabel
|
backButtonLabel: string
|
Type : string
|
|
Optional
|
|
|
The label to be displayed on the back button.
Can be used to change the translation key with ngx-translate or any other dynamic translation tool/library.
Can not be used for dynamic translation keys with the native Angular translation or any other static translation tool/library.
|
|
backOptionListFallBackToHistory
|
backOptionListFallBackToHistory: boolean
|
Default value : false
|
Type : boolean
|
|
Optional
|
|
|
Automatically fallback to the history, if none of the entries in a backOptionList are valid.
false
|
|
enableSessionStorageState
|
enableSessionStorageState: boolean
|
Type : boolean
|
|
Optional
|
|
|
Boolean to enable state restoration by sessionStorage
|
|
enableStateCleaning
|
enableStateCleaning: boolean
|
Type : boolean
|
|
Optional
|
|
|
Boolean to enable stateStale
|
|
excludeFromStaleState
|
excludeFromStaleState: string[]
|
Type : string[]
|
|
Optional
|
|
|
Array of pages to exclude from staleState analysis.
|
|
nextButtonLabel
|
nextButtonLabel: string
|
Type : string
|
|
Optional
|
|
|
The label to be displayed on the next button.
Can be used to change the translation key with ngx-translate or any other dynamic translation tool/library.
Can not be used for dynamic translation keys with the native Angular translation or any other static translation tool/library.
|
|
stateIDStateKey
|
|
true
|
stateIDStateKey: string
|
Type : string
|
|
Optional
|
|
|
This attribute never actually did anything and will be removed soon.
|
|
validationErrorStateKey
|
validationErrorStateKey: string
|
Type : string
|
|
Optional
|
|
|
The key name in the state, that is used for the
display of generic validation messages.
|
import { UrlParametersInState } from './navigation-config.model';
import { TrackingConfig } from './tracking-config.model';
export interface AppConfiguration {
pfeConfig: PfeConfig;
}
export interface PfeConfig {
/**
* The key name in the state, that is used for the
* display of generic validation messages.
*/
validationErrorStateKey?: string;
/**
* @deprecated true
* @deprecationMessage This attribute never actually did anything and will be removed soon.
*/
stateIDStateKey?: string;
/**
* Allows the user to directly navigate into some location within the flow
* without a restored state.
* Default is false, which means the user gets redirected to the first page, if no state
* was restored.
*/
allowDirectNavigationWithoutState?: boolean;
/**
* The label to be displayed on the next button.
* Can be used to change the translation key with ngx-translate or any other dynamic translation tool/library.
* Can not be used for dynamic translation keys with the native Angular translation or any other static translation tool/library.
*/
nextButtonLabel?: string;
/**
* The label to be displayed on the back button.
* Can be used to change the translation key with ngx-translate or any other dynamic translation tool/library.
* Can not be used for dynamic translation keys with the native Angular translation or any other static translation tool/library.
*/
backButtonLabel?: string;
/**
* Boolean to enable state restoration by sessionStorage
*/
enableSessionStorageState?: boolean;
/**
* Boolean to enable stateStale
*/
enableStateCleaning?: boolean;
/**
* Boolean to enable state clean on page Navigation
* if set to true when page is revisited it will auto clean up data
*/
autoCleanStaleState?: boolean;
/**
* Array of pages to exclude from staleState analysis.
*/
excludeFromStaleState?: string[];
trackingConfig?: TrackingConfig;
/**
* Array of specific url parameter key and expression to save value to state.
*/
urlParametersInState?: UrlParametersInState[];
/**
* Automatically fallback to the history, if none of the entries in a backOptionList are valid.
*
* @default false
*/
backOptionListFallBackToHistory?: boolean;
}