2018-07-31 11:50:34 -04:00
|
|
|
export const fieldTypes = {
|
2021-03-31 20:09:32 -04:00
|
|
|
codeBlock: 'codeBlock',
|
2018-07-31 11:50:34 -04:00
|
|
|
link: 'link',
|
2020-02-06 07:10:29 -05:00
|
|
|
seconds: 'seconds',
|
2018-07-31 11:50:34 -04:00
|
|
|
text: 'text',
|
|
|
|
};
|
|
|
|
|
|
|
|
export const LOADING = 'LOADING';
|
|
|
|
export const ERROR = 'ERROR';
|
|
|
|
export const SUCCESS = 'SUCCESS';
|
|
|
|
|
|
|
|
export const STATUS_FAILED = 'failed';
|
|
|
|
export const STATUS_SUCCESS = 'success';
|
2018-08-07 11:06:38 -04:00
|
|
|
export const STATUS_NEUTRAL = 'neutral';
|
2021-08-10 11:10:03 -04:00
|
|
|
export const STATUS_NOT_FOUND = 'not_found';
|
2018-08-07 11:06:38 -04:00
|
|
|
|
2018-07-31 11:50:34 -04:00
|
|
|
export const ICON_WARNING = 'warning';
|
|
|
|
export const ICON_SUCCESS = 'success';
|
|
|
|
export const ICON_NOTFOUND = 'notfound';
|
2021-06-17 02:10:05 -04:00
|
|
|
export const ICON_PENDING = 'pending';
|
2022-03-15 05:07:33 -04:00
|
|
|
export const ICON_FAILED = 'failed';
|
2019-06-03 17:35:39 -04:00
|
|
|
|
|
|
|
export const status = {
|
2020-11-18 13:09:08 -05:00
|
|
|
LOADING,
|
|
|
|
ERROR,
|
|
|
|
SUCCESS,
|
2019-06-03 17:35:39 -04:00
|
|
|
};
|
2020-04-21 11:21:10 -04:00
|
|
|
|
|
|
|
export const ACCESSIBILITY_ISSUE_ERROR = 'error';
|
|
|
|
export const ACCESSIBILITY_ISSUE_WARNING = 'warning';
|
2020-11-23 13:09:14 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Slot names for the ReportSection component, corresponding to the success,
|
|
|
|
* loading and error statuses.
|
|
|
|
*/
|
|
|
|
export const SLOT_SUCCESS = 'success';
|
|
|
|
export const SLOT_LOADING = 'loading';
|
|
|
|
export const SLOT_ERROR = 'error';
|