Skip to content

State, Theme, and Dictionaries

StoreResponsibility
settingsTheme, layout, and preferences with schema migration
userUser details, roles, menus, and dynamic route input
dictGlobal dictionaries and rendering helpers
tabOpen tabs
lockScreen lock, optional PIN hash, and idle timeout
socketWebSocket 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.

Released under the MIT License