import { FromToFilter } from '../types'; export const GRID_LICENSE_KEY = '49a6340cc8b248bd73da495fe54bf6d0Tz02MDQ3NCxFPTE3MDk3MDQzODU5NDEsUz1wcm8sTE09cGVycGV0dWFsLEtWPTI='; /** * The height of the column headers in the grid (in pixels). */ export const GRID_COLUMN_HEADER_HEIGHT = 48; /** * The height of the rows in the grid (in pixels). */ export const GRID_ROW_HEIGHT = 72; /** * Data grid cell rendering delay in milliseconds. */ export const GRID_RENDER_READY_DELAY = 40; // Column filter default export const defaultFromToObj: FromToFilter = { from: '', to: '' }; // Company Sizes export const companySizeMap = { Small: { min: 0, max: 50 }, SMB: { min: 0, max: 50 }, Medium: { min: 50, max: 200 }, Large: { min: 200, max: 1000 }, Enterprise: { min: 1000, max: 10000 } }; export type CompanySize = keyof typeof companySizeMap; export const companySizes = Object.keys(companySizeMap) as CompanySize[]; // OS Types export const osTypeMap = { windows: { iconName: 'icon_windows.svg' }, linux: { iconName: 'icon_linux.svg' }, android: { iconName: 'icon_android2.svg' }, ios: { iconName: 'icon_IOS.svg' }, macos: { iconName: 'icon_IOS.svg' } }; export enum OSTypes { windows = 'windows', linux = 'linux', android = 'android', ios = 'ios', macos = 'macos' } export type OSType = keyof typeof osTypeMap; export const osTypes = Object.keys(osTypeMap) as OSType[]; // Loader Data export const skeletonizedTableData = [ { _id: 'dNQb087P4p' }, { _id: 'Sn70XpW7lq' }, { _id: 'QLH4cVTJb4' }, { _id: 'PV6l5WqKs1' }, { _id: '2I7wNtfPgb' } ];