import { WindowProps } from '@/hooks/Mapper/components/ui-kit/WindowManager/types.ts'; import { LocalCharacters, RoutesWidget, SystemInfo, SystemSignatures, SystemStructures, WSystemKills, } from '@/hooks/Mapper/components/mapInterface/widgets'; import { CommentsWidget } from '@/hooks/Mapper/components/mapInterface/widgets/CommentsWidget'; export const CURRENT_WINDOWS_VERSION = 9; export const WINDOWS_LOCAL_STORE_KEY = 'windows:settings:v2'; export enum WidgetsIds { info = 'info', signatures = 'signatures', local = 'local', routes = 'routes', structures = 'structures', kills = 'kills', comments = 'comments', } export const STORED_VISIBLE_WIDGETS_DEFAULT = [ WidgetsIds.info, WidgetsIds.local, WidgetsIds.routes, WidgetsIds.signatures, ]; export const DEFAULT_WIDGETS: WindowProps[] = [ { id: WidgetsIds.info, position: { x: 10, y: 10 }, size: { width: 250, height: 200 }, zIndex: 0, content: () => , }, { id: WidgetsIds.signatures, position: { x: 10, y: 220 }, size: { width: 250, height: 300 }, zIndex: 0, content: () => , }, { id: WidgetsIds.local, position: { x: 270, y: 10 }, size: { width: 250, height: 510 }, zIndex: 0, content: () => , }, { id: WidgetsIds.routes, position: { x: 10, y: 530 }, size: { width: 510, height: 200 }, zIndex: 0, content: () => , }, { id: WidgetsIds.structures, position: { x: 10, y: 730 }, size: { width: 510, height: 200 }, zIndex: 0, content: () => , }, { id: WidgetsIds.kills, position: { x: 270, y: 730 }, size: { width: 510, height: 200 }, zIndex: 0, content: () => , }, { id: WidgetsIds.comments, position: { x: 10, y: 10 }, size: { width: 250, height: 300 }, zIndex: 0, content: () => , }, ]; type WidgetsCheckboxesType = { id: WidgetsIds; label: string; }[]; export const WIDGETS_CHECKBOXES_PROPS: WidgetsCheckboxesType = [ { id: WidgetsIds.info, label: 'System Info', }, { id: WidgetsIds.signatures, label: 'Signatures', }, { id: WidgetsIds.local, label: 'Local', }, { id: WidgetsIds.routes, label: 'Routes', }, { id: WidgetsIds.structures, label: 'Structures', }, { id: WidgetsIds.kills, label: 'Kills', }, { id: WidgetsIds.comments, label: 'Comments', }, ];