Files
llama.cpp/tools/ui/src/lib/enums/ui.enums.ts
T
Aleksander Grygier 375a5b08e9 ui : models discover dialog
Add the Models Discover explorer behind a new sidebar action and full-screen
dialog: a searchable HuggingFace GGUF list (org avatars, capability icons,
catalog size ranges) and a detail pane with header, metadata chips, the
sanitized model-card readme and the download area - per-quant action chips
grouped by bit depth, sidecar queuing and a scrollable serve-command preview
with dynamic quant selects. Searchable dropdowns gain sticky headers/footers.

Assisted-by: pi:GLM-5.3-Flash
2026-09-16 19:07:37 +02:00

64 lines
1009 B
TypeScript

export enum ColorMode {
DARK = 'dark',
LIGHT = 'light',
SYSTEM = 'system'
}
export enum TooltipSide {
BOTTOM = 'bottom',
LEFT = 'left',
RIGHT = 'right',
TOP = 'top'
}
/**
* ScrollCarousel arrow placement.
*/
export enum ScrollCarouselVariant {
CENTER = 'center',
TOP = 'top'
}
/**
* Sidebar icon strip actions handled directly by the sidebar.
*/
export enum SidebarAction {
DISCOVER_MODELS = 'discover-models',
NEW_CHAT = 'new-chat',
SETTINGS = 'settings'
}
/**
* MCP prompt display variant
*/
export enum McpPromptVariant {
ATTACHMENT = 'attachment',
MESSAGE = 'message'
}
/**
* URL prefixes for protocol detection
*/
export enum UrlProtocol {
DATA = 'data:',
FILE = 'file:',
HTTP = 'http:',
HTTPS = 'https:',
WEBSOCKET = 'ws:',
WEBSOCKET_SECURE = 'wss:'
}
export enum HtmlInputType {
FILE = 'file'
}
/**
* Alert level that drives the context gauge dial color.
*/
export enum ColorLevel {
CRITICAL = 'critical',
NEUTRAL = 'neutral',
OK = 'ok',
WARNING = 'warning'
}