mirror of
https://github.com/ichsankurnia/hats-app.git
synced 2026-12-05 11:06:29 +00:00
b149903b2e
Make parent menus gate child permissions and cascade select or clear actions through descendants. Update role detail rendering for nested menus and the revised API shape, with related RBAC UI and sidebar adjustments.
75 lines
4.2 KiB
TypeScript
75 lines
4.2 KiB
TypeScript
export interface ITablerIconOption {
|
|
label: string;
|
|
value: string;
|
|
category?: string;
|
|
}
|
|
|
|
/**
|
|
* Standard registry of Tabler Icons (Webfont v3.35.0).
|
|
* Expandable anytime without modifying form components.
|
|
*/
|
|
export const TABLER_ICON_OPTIONS: ITablerIconOption[] = [
|
|
// Navigation & General
|
|
{ label: 'Category', value: 'ti ti-category', category: 'General' },
|
|
{ label: 'Overview', value: 'ti ti-layers-linked', category: 'General' },
|
|
{ label: 'Dashboard', value: 'ti ti-layout-dashboard', category: 'General' },
|
|
{ label: 'Home', value: 'ti ti-home', category: 'General' },
|
|
{ label: 'Menu', value: 'ti ti-menu-2', category: 'General' },
|
|
{ label: 'Settings', value: 'ti ti-settings', category: 'General' },
|
|
{ label: 'Adjustments', value: 'ti ti-adjustments', category: 'General' },
|
|
{ label: 'Search', value: 'ti ti-search', category: 'General' },
|
|
|
|
// Administration & Users
|
|
{ label: 'User Hexagon', value: 'ti ti-user-hexagon', category: 'Administration' },
|
|
{ label: 'User', value: 'ti ti-user', category: 'Administration' },
|
|
{ label: 'Users', value: 'ti ti-users', category: 'Administration' },
|
|
{ label: 'User Shield', value: 'ti ti-user-shield', category: 'Administration' },
|
|
{ label: 'User Check', value: 'ti ti-user-check', category: 'Administration' },
|
|
{ label: 'Shield Lock', value: 'ti ti-shield-lock', category: 'Administration' },
|
|
{ label: 'Key', value: 'ti ti-key', category: 'Administration' },
|
|
{ label: 'Lock', value: 'ti ti-lock', category: 'Administration' },
|
|
{ label: 'Building', value: 'ti ti-building', category: 'Administration' },
|
|
{ label: 'Building Community', value: 'ti ti-building-community', category: 'Administration' },
|
|
{ label: 'Map Pin', value: 'ti ti-map-pin', category: 'Administration' },
|
|
{ label: 'Sitemap', value: 'ti ti-sitemap', category: 'Administration' },
|
|
|
|
// Data, System & Tech
|
|
{ label: 'Database', value: 'ti ti-database', category: 'System' },
|
|
{ label: 'Server', value: 'ti ti-server', category: 'System' },
|
|
{ label: 'Devices', value: 'ti ti-devices', category: 'System' },
|
|
{ label: 'Devices 2', value: 'ti ti-devices-2', category: 'System' },
|
|
{ label: 'Device Mobile', value: 'ti ti-device-mobile', category: 'System' },
|
|
{ label: 'Cpu', value: 'ti ti-cpu', category: 'System' },
|
|
{ label: 'Activity', value: 'ti ti-activity', category: 'System' },
|
|
{ label: 'History', value: 'ti ti-history', category: 'System' },
|
|
|
|
// Tasks & Operations
|
|
{ label: 'Clipboard List', value: 'ti ti-clipboard-list', category: 'Operations' },
|
|
{ label: 'Clipboard Check', value: 'ti ti-clipboard-check', category: 'Operations' },
|
|
{ label: 'Briefcase', value: 'ti ti-briefcase', category: 'Operations' },
|
|
{ label: 'Calendar Event', value: 'ti ti-calendar-event', category: 'Operations' },
|
|
{ label: 'Calendar Time', value: 'ti ti-calendar-time', category: 'Operations' },
|
|
{ label: 'Calendar Off', value: 'ti ti-calendar-x', category: 'Operations' },
|
|
{ label: 'Clock', value: 'ti ti-clock', category: 'Operations' },
|
|
{ label: 'Checklist', value: 'ti ti-checklist', category: 'Operations' },
|
|
|
|
// Reports & Analytics
|
|
{ label: 'Chart Bar', value: 'ti ti-chart-bar', category: 'Reports' },
|
|
{ label: 'Chart Pie', value: 'ti ti-chart-pie', category: 'Reports' },
|
|
{ label: 'Report Analytics', value: 'ti ti-report-analytics', category: 'Reports' },
|
|
{ label: 'File Text', value: 'ti ti-file-text', category: 'Reports' },
|
|
{ label: 'File Spreadsheet', value: 'ti ti-file-spreadsheet', category: 'Reports' },
|
|
{ label: 'File Description', value: 'ti ti-file-description', category: 'Reports' },
|
|
{ label: 'Notes', value: 'ti ti-notes', category: 'Reports' },
|
|
|
|
// Communication & Badges
|
|
{ label: 'Id Badge', value: 'ti ti-id-badge', category: 'Security' },
|
|
{ label: 'Credit Card', value: 'ti ti-credit-card', category: 'Security' },
|
|
{ label: 'Scan', value: 'ti ti-scan', category: 'Security' },
|
|
{ label: 'Face id', value: 'ti ti-face-id', category: 'Security' },
|
|
{ label: 'Fingerprint', value: 'ti ti-fingerprint', category: 'Security' },
|
|
{ label: 'Bell', value: 'ti ti-bell', category: 'General' },
|
|
{ label: 'Information Circle', value: 'ti ti-info-circle', category: 'General' },
|
|
];
|
|
|