import type { MessageLanguages } from "src/boot/i18n";

export interface DarkModeOption {
   label: string;
   value: boolean | null;
   quasar_value: boolean | "auto";
   icon: string; 
}
export const dark_mode_options: DarkModeOption[] = [
    { label: 'profile.preferences.dark_mode', value: true, quasar_value: true, icon: 'dark_mode'},
    { label: 'profile.preferences.light_mode', value: false, quasar_value: false, icon: 'light_mode'},
    { label: 'profile.preferences.auto_mode', value: null, quasar_value: "auto", icon: 'brightness_auto'},
]
 
export class Preferences {
    id: number;
    notifications: boolean;
    is_dark_mode: boolean | null;
    display_language: MessageLanguages;
    is_lefty_mode: boolean;
    is_employee_list_grid: boolean;
    is_timesheet_approval_grid: boolean;

    constructor() {
        this.id = -1;
        this.notifications = true;
        this.is_dark_mode = null;
        this.display_language = 'fr-FR';
        this.is_lefty_mode = false;
        this.is_employee_list_grid = true;
        this.is_timesheet_approval_grid = true;
    }
}