Initial commit: drawNET Alpha v1.0 - Professional Topology Designer with Full i18n and Performance Optimizations

This commit is contained in:
leeyj
2026-03-22 22:37:24 +09:00
commit 5cea93e317
192 changed files with 14449 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
/**
* constants.js - Central repository for magic strings and app configuration
*/
// LocalStorage Keys
export const STORAGE_KEYS = {
SETTINGS: 'drawNET-settings',
THEME: 'drawNET-theme',
AUTOSAVE: 'drawNET_autosave',
LANGUAGE: 'drawNET_lang'
};
// Default Configuration
export const DEFAULTS = {
GRID_SPACING: 20,
GRID_COLOR: '#e2e8f0',
MAJOR_GRID_COLOR: '#cbd5e1',
MAJOR_GRID_INTERVAL: 5,
CANVAS_PRESET: 'A4',
CANVAS_ORIENTATION: 'portrait',
APP_VERSION: '2.0.0-pro',
DEFAULT_ICON: 'router.svg'
};
// UI Toggles & States
export const UI_STATES = {
QUAKE_COLLAPSED_HEIGHT: '40px',
QUAKE_EXPANDED_HEIGHT: '300px'
};