2017-08-17 22:00:37 +05:30
|
|
|
export const BYTES_IN_KIB = 1024;
|
2021-09-30 23:02:18 +05:30
|
|
|
export const DEFAULT_DEBOUNCE_AND_THROTTLE_MS = 250;
|
2017-09-10 17:25:29 +05:30
|
|
|
export const HIDDEN_CLASS = 'hidden';
|
2022-04-04 11:22:00 +05:30
|
|
|
export const THOUSAND = 1000;
|
2020-07-28 23:09:34 +05:30
|
|
|
export const TRUNCATE_WIDTH_DEFAULT_WIDTH = 80;
|
|
|
|
export const TRUNCATE_WIDTH_DEFAULT_FONT_SIZE = 12;
|
2020-06-23 00:09:42 +05:30
|
|
|
|
|
|
|
export const DATETIME_RANGE_TYPES = {
|
|
|
|
fixed: 'fixed',
|
|
|
|
anchored: 'anchored',
|
|
|
|
rolling: 'rolling',
|
|
|
|
open: 'open',
|
|
|
|
invalid: 'invalid',
|
|
|
|
};
|
2021-03-11 19:13:27 +05:30
|
|
|
|
|
|
|
export const BV_SHOW_MODAL = 'bv::show::modal';
|
|
|
|
export const BV_HIDE_MODAL = 'bv::hide::modal';
|
|
|
|
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-09-04 01:27:46 +05:30
|
|
|
|
|
|
|
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-11-18 22:05:49 +05:30
|
|
|
|
|
|
|
// 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-12-11 22:18:48 +05:30
|
|
|
|
|
|
|
export const MIN_USERNAME_LENGTH = 2;
|