// Copy of file icon names from lime-elements.
// Source: lime-elements/src/components/file/icons.ts
//
// Stencil doesn't support exporting utility functions from a component
// library, so we duplicate them here until a proper shared solution exists.
const DEFAULT_ICON = 'file';
const CALENDAR_ICON = 'tear_off_calendar';
const EMAIL_ICON = 'email';
const HTML_ICON = 'internet';
const TEXT_ICON = 'text_box';
const EXCEL_ICON = 'ms_excel_copyrighted';
const WORD_ICON = 'ms_word_copyrighted';
const POWERPOINT_ICON = 'ms_powerpoint_copyrighted';
const IMAGE_ICON = 'picture';
const PHOTO_ICON = 'camera';
const VECTOR_GRAPHIC_ICON = 'vector';
const PRESENTATION_ICON = 'presentation_filled';
const DOCUMENT_ICON = 'overview_pages_2';
const SPREADSHEET_ICON = 'data_sheet';
const AUDIO_ICON = 'audio_wave';
const VIDEO_ICON = 'video_file';
const COMPRESSED_ICON = 'condom_package';
const MESSAGE_ICON = 'ms_outlook_copyrighted';
const DATA_ICON = 'database';
export const DEFAULT_FILE_ICON = DEFAULT_ICON;
export const filetypeIconTable = {
    msg: MESSAGE_ICON,
    ics: CALENDAR_ICON,
    ical: CALENDAR_ICON,
    icalendar: CALENDAR_ICON,
    ifb: CALENDAR_ICON,
    email: EMAIL_ICON,
    eml: EMAIL_ICON,
    oft: EMAIL_ICON,
    ost: EMAIL_ICON,
    emlx: EMAIL_ICON,
    html: HTML_ICON,
    xml: HTML_ICON,
    txt: TEXT_ICON,
    rtf: TEXT_ICON,
    dot: WORD_ICON,
    doc: WORD_ICON,
    docx: WORD_ICON,
    dotx: WORD_ICON,
    docm: WORD_ICON,
    dotm: WORD_ICON,
    odt: DOCUMENT_ICON,
    pages: DOCUMENT_ICON,
    pdf: 'PDF_2',
    ppt: POWERPOINT_ICON,
    pot: POWERPOINT_ICON,
    pps: POWERPOINT_ICON,
    pptx: POWERPOINT_ICON,
    pptm: POWERPOINT_ICON,
    potx: POWERPOINT_ICON,
    potm: POWERPOINT_ICON,
    ppam: POWERPOINT_ICON,
    ppsx: POWERPOINT_ICON,
    ppsm: POWERPOINT_ICON,
    sldx: POWERPOINT_ICON,
    sldm: POWERPOINT_ICON,
    odp: PRESENTATION_ICON,
    key: PRESENTATION_ICON,
    xls: EXCEL_ICON,
    xlsx: EXCEL_ICON,
    csv: SPREADSHEET_ICON,
    numbers: SPREADSHEET_ICON,
    jpg: PHOTO_ICON,
    jpeg: PHOTO_ICON,
    heic: PHOTO_ICON,
    bmp: IMAGE_ICON,
    png: IMAGE_ICON,
    gif: IMAGE_ICON,
    psd: 'adobe_photoshop_copyrighted',
    ai: 'adobe_illustrator_copyrighted',
    svg: VECTOR_GRAPHIC_ICON,
    svgz: VECTOR_GRAPHIC_ICON,
    ep: VECTOR_GRAPHIC_ICON,
    eps: VECTOR_GRAPHIC_ICON,
    sketch: VECTOR_GRAPHIC_ICON,
    mp3: AUDIO_ICON,
    wav: AUDIO_ICON,
    wma: AUDIO_ICON,
    ogg: AUDIO_ICON,
    avi: VIDEO_ICON,
    flv: VIDEO_ICON,
    h264: VIDEO_ICON,
    mov: VIDEO_ICON,
    mp4: VIDEO_ICON,
    mwv: VIDEO_ICON,
    zip: COMPRESSED_ICON,
    '7z': COMPRESSED_ICON,
    rar: COMPRESSED_ICON,
    json: 'json',
    yaml: DATA_ICON,
    sql: DATA_ICON,
    db: DATA_ICON,
    dbf: DATA_ICON,
};
