State, Theme, and Dictionaries
| Store | Responsibility |
|---|---|
settings | Theme, layout, and preferences with schema migration |
user | User details, roles, menus, and dynamic route input |
dict | Global dictionaries and rendering helpers |
tab | Open tabs |
lock | Screen lock, optional PIN hash, and idle timeout |
socket | WebSocket connection state |
Themes support light, dark, and system modes, colors, background skins, rounding, grayscale, and color-weakness filters. The application currently provides three layouts: vertical (vertical), double-column (doubleColumn), and content fullscreen (fullScreen). Headers, sidebars, tabs, breadcrumbs, footers, and tools can be configured independently.
Use dictionaries consistently:
ts
dictStore.options('common_status')
dictStore.label('common_status', row.status)
dictStore.tag('common_status', row.status)Call dictStore.load(true) after dictionary administration changes to refresh the current session.