2017-04-18 08:27:10 -04:00
|
|
|
export const BYTES_IN_KIB = 1024;
|
2021-07-01 08:08:37 -04:00
|
|
|
export const DEFAULT_DEBOUNCE_AND_THROTTLE_MS = 250;
|
2017-07-16 19:35:00 -04:00
|
|
|
export const HIDDEN_CLASS = 'hidden';
|
2022-01-24 13:14:42 -05:00
|
|
|
export const THOUSAND = 1000;
|
2020-06-24 11:08:50 -04:00
|
|
|
export const TRUNCATE_WIDTH_DEFAULT_WIDTH = 80;
|
|
|
|
export const TRUNCATE_WIDTH_DEFAULT_FONT_SIZE = 12;
|
2020-06-10 05:08:35 -04:00
|
|
|
|
|
|
|
export const DATETIME_RANGE_TYPES = {
|
|
|
|
fixed: 'fixed',
|
|
|
|
anchored: 'anchored',
|
|
|
|
rolling: 'rolling',
|
|
|
|
open: 'open',
|
|
|
|
invalid: 'invalid',
|
|
|
|
};
|
2021-01-28 16:09:04 -05:00
|
|
|
|
|
|
|
export const BV_SHOW_MODAL = 'bv::show::modal';
|
|
|
|
export const BV_HIDE_MODAL = 'bv::hide::modal';
|
2021-02-02 19:09:41 -05:00
|
|
|
export const BV_HIDE_TOOLTIP = 'bv::hide::tooltip';
|
|
|
|
export const BV_DROPDOWN_SHOW = 'bv::dropdown::show';
|
|
|
|
export const BV_DROPDOWN_HIDE = 'bv::dropdown::hide';
|
2021-05-20 11:10:13 -04:00
|
|
|
|
|
|
|
export const DEFAULT_TH_CLASSES =
|
|
|
|
'gl-bg-transparent! gl-border-b-solid! gl-border-b-gray-100! gl-p-5! gl-border-b-1!';
|
2021-10-12 17:09:47 -04:00
|
|
|
|
|
|
|
// We set the drawer's z-index to 252 to clear flash messages that might
|
|
|
|
// be displayed in the page and that have a z-index of 251.
|
|
|
|
export const DRAWER_Z_INDEX = 252;
|
2021-11-16 01:12:13 -05:00
|
|
|
|
|
|
|
export const MIN_USERNAME_LENGTH = 2;
|