2019-08-31 20:51:14 -07:00
|
|
|
/**
|
|
|
|
* String enum of notification types
|
|
|
|
* @type {string}
|
|
|
|
*/
|
|
|
|
export enum NotificationEvent {
|
|
|
|
success = 'success',
|
|
|
|
error = 'error',
|
|
|
|
info = 'info',
|
|
|
|
confirm = 'confirm'
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* String enum of available notifications
|
|
|
|
* @type {string}
|
|
|
|
*/
|
|
|
|
export enum NotificationType {
|
|
|
|
Modal = 'modal',
|
|
|
|
Toast = 'toast'
|
|
|
|
}
|
2018-05-17 10:39:09 -07:00
|
|
|
|
2018-05-01 22:50:04 -07:00
|
|
|
/**
|
|
|
|
* Base animation speed for the banner alerts.
|
|
|
|
* NOTE: This value corresponds with animation speed value set in styles/abstracts/_variables.scss
|
|
|
|
*/
|
|
|
|
export const bannerAnimationSpeed = 0.6;
|
2018-05-14 11:26:52 -07:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Base message for 2 factor auth banner message for the login screen.
|
|
|
|
*/
|
2018-05-14 14:17:05 -07:00
|
|
|
export const twoFABannerMessage =
|
2018-05-14 11:26:52 -07:00
|
|
|
'We have enabled 2-factor authentication. Login now requires your password + Symantec VIP Token.';
|
2018-05-17 10:39:09 -07:00
|
|
|
|
|
|
|
export const twoFABannerType = NotificationEvent['confirm'];
|