Changes done in ui screens
This commit is contained in:
@@ -1,178 +1,6 @@
|
||||
|
||||
import {
|
||||
LayoutGrid,
|
||||
Smile,
|
||||
Building2,
|
||||
User,
|
||||
Target,
|
||||
CheckSquare,
|
||||
FileText,
|
||||
Box,
|
||||
Zap,
|
||||
ClipboardList,
|
||||
Star,
|
||||
Monitor,
|
||||
UserCheck,
|
||||
Calendar,
|
||||
Layers,
|
||||
Coins,
|
||||
Receipt,
|
||||
ShieldCheck,
|
||||
Flame,
|
||||
Recycle,
|
||||
GraduationCap,
|
||||
Brain,
|
||||
Activity,
|
||||
Bot,
|
||||
Gauge,
|
||||
Snowflake,
|
||||
Leaf,
|
||||
MapPin,
|
||||
BarChart3,
|
||||
Sun,
|
||||
Shield,
|
||||
Settings,
|
||||
Wallet,
|
||||
Radar,
|
||||
Cog,
|
||||
Smartphone,
|
||||
Users,
|
||||
Database,
|
||||
Globe,
|
||||
LayoutDashboard,
|
||||
} from "lucide-react";
|
||||
|
||||
//Side bar Drop Down menu
|
||||
|
||||
export const OPERATIONS_SIDEBAR_ITEMS = [
|
||||
{
|
||||
title: "Overview",
|
||||
icon: LayoutGrid,
|
||||
children: [
|
||||
{ title: "Dashboard", href: "/dashboard/overview/dashboard", icon: LayoutGrid },
|
||||
{ title: "Engagement", href: "/dashboard/overview/engagement", icon: Smile },
|
||||
{ title: "Building Owner", href: "/dashboard/overview/buildingOwner", icon: Building2 },
|
||||
{ title: "Property Manager", href: "/dashboard/overview/propertyManager", icon: User },
|
||||
{ title: "Service Engineer", href: "/dashboard/overview/serviceEngineer", icon: Target },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Operations",
|
||||
icon: Settings,
|
||||
children: [
|
||||
{ title: "Help Desk", href: "/dashboard/operations/helpDesk", icon: CheckSquare, badge: 6, badgeColor: "bg-amber-500 text-black" },
|
||||
{ title: "Equipment", href: "/dashboard/operations/equipment", icon: Target },
|
||||
{ title: "Requests", href: "/dashboard/operations/request", icon: FileText, badge: 15, badgeColor: "bg-amber-400 text-black" },
|
||||
{ title: "Inventory", href: "/dashboard/operations/inventory", icon: Box },
|
||||
{ title: "Energy", href: "/dashboard/operations/energy", icon: Zap },
|
||||
{ title: "Work Permit", href: "/dashboard/operations/workPermit", icon: ClipboardList, badge: 3, badgeColor: "bg-amber-500 text-black" },
|
||||
{ title: "Vendor & Field Service", href: "/dashboard/operations/vendorFieldService", icon: Star, badge: 12, badgeColor: "bg-sky-400 text-black" },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Workplace",
|
||||
icon: Monitor,
|
||||
children: [
|
||||
{ title: "Visitor Management", href: "/dashboard/workplace/visitorManagement", icon: UserCheck },
|
||||
{ title: "Meeting Rooms", href: "/dashboard/workplace/meetingRoom", icon: Calendar },
|
||||
{ title: "Workspace", href: "/dashboard/workplace/workspace", icon: Layers },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Finance",
|
||||
icon: Wallet,
|
||||
children: [
|
||||
{ title: "O&M Budget", href: "/dashboard/finance/budget", icon: Coins },
|
||||
{ title: "Costing & Invoicing", href: "/dashboard/finance/costinvoice", icon: Receipt },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Compliance & Safety",
|
||||
icon: ShieldCheck,
|
||||
children: [
|
||||
{ title: "Statutory Compliance", href: "/dashboard/compliance-safety/statutoryCompliance", icon: ShieldCheck },
|
||||
{ title: "Contracts & SLA", href: "/dashboard/compliance-safety/contracts", icon: FileText },
|
||||
{ title: "Fire & Safety", href: "/dashboard/compliance-safety/fireAndSafety", icon: Flame },
|
||||
{ title: "Waste & ESG", href: "/dashboard/compliance-safety/wasteAndEsg", icon: Recycle },
|
||||
{ title: "Training", href: "/dashboard/compliance-safety/training", icon: GraduationCap },
|
||||
{ title: "Audit & Survey", href: "/dashboard/compliance-safety/auditAndSurvey", icon: GraduationCap },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Intelligence",
|
||||
icon: Brain,
|
||||
children: [{ title: "AI & Predictive", href: "/dashboard/intelligence/aiPredictive", icon: Brain },
|
||||
{ title: "Asset Health", href: "/dashboard/intelligence/assetHealth", icon: ShieldCheck },
|
||||
{ title: "Energy Benchmarking", href: "/dashboard/intelligence/energyBenchmarking", icon: Activity },
|
||||
{ title: "AI Helpdesk", href: "/dashboard/intelligence/aiHelpdesk", icon: Bot },
|
||||
{ title: "Connected Ops", href: "/dashboard/intelligence/connectedOps", icon: Gauge },
|
||||
{ title: "Connected Assets", href: "/dashboard/intelligence/connectedAsset", icon: Snowflake },
|
||||
{ title: "Sustainability", href: "/dashboard/intelligence/sustainability", icon: Leaf },
|
||||
{ title: "GPS Tracking", href: "/dashboard/intelligence/gpstracking", icon: MapPin },],
|
||||
},
|
||||
{
|
||||
title: "IoT Application",
|
||||
icon: Radar,
|
||||
children: [{ title: "Command Center", href: "/dashboard/iot-app/commandCenter", icon: Gauge },
|
||||
{ title: "HVAC Plant", href: "/dashboard/iot-app/hvacPlant", icon: Snowflake },
|
||||
{ title: "Energy & Utilities", href: "/dashboard/iot-app/energyUtility", icon: Zap },
|
||||
{ title: "Device Fleet", href: "/dashboard/iot-app/deviceFleet", icon: LayoutGrid },
|
||||
{ title: "Alarms & Rules", href: "/dashboard/iot-app/alarmsRules", icon: Shield, badge: 7, badgeColor: "bg-rose-500 text-white" },],
|
||||
},
|
||||
{
|
||||
title: "Insight",
|
||||
icon: BarChart3,
|
||||
children: [{ title: "Reports & MMR", href: "/dashboard/insight/report", icon: BarChart3 },],
|
||||
},
|
||||
{
|
||||
title: "Configure",
|
||||
icon: Cog,
|
||||
children: [{ title: "Master Data", href: "/dashboard/configure/masterdata", icon: Layers },
|
||||
{ title: "Roles & Access", href: "/dashboard/configure/rolesAndAccess", icon: Shield },
|
||||
{ title: "Workflow Automation", href: "/dashboard/configure/workflowautomation", icon: Bot },
|
||||
{ title: "User Location", href: "/dashboard/configure/userLocation", icon: MapPin },
|
||||
{ title: "Settings", href: "/dashboard/configure/settings", icon: Sun },],
|
||||
},
|
||||
];
|
||||
export const ADMIN_SIDEBAR_ITEMS = [
|
||||
{
|
||||
title: "Platform",
|
||||
icon: Building2,
|
||||
children: [
|
||||
{ title: "Overview", href: "/dashboard/admin/overview", icon: LayoutGrid },
|
||||
{ title: "Tenants", href: "/dashboard/admin/tenants", icon: Building2 },
|
||||
{ title: "Users", href: "/dashboard/admin/users", icon: Users },
|
||||
{ title: "Sites", href: "/dashboard/admin/site", icon: MapPin },
|
||||
{ title: "Security", href: "/dashboard/admin/security", icon: Shield },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Configuration",
|
||||
icon: LayoutGrid,
|
||||
children: [
|
||||
{ title: "Modules", href: "/dashboard/admin/modules", icon: LayoutGrid },
|
||||
{ title: "Language", href: "/dashboard/admin/language", icon: Globe },
|
||||
{ title: "Dynamic Dashboard", href: "/dashboard/admin/dynamicDashboard", icon: LayoutDashboard },
|
||||
{ title: "Mobile Flows", href: "/dashboard/admin/mobileFlow", icon: Smartphone },
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
export const schedulePerformanceHeaders = [
|
||||
"Schedule",
|
||||
"Total",
|
||||
"Done",
|
||||
"On Time",
|
||||
"Delayed",
|
||||
];
|
||||
|
||||
export const schedulePerformanceRows = [
|
||||
["PPM", 24, 19, 17, 2],
|
||||
["AMC", 8, 6, 6, 0],
|
||||
];
|
||||
|
||||
//Overview dashboard data
|
||||
|
||||
export const chartData = [
|
||||
{ month: 'J', height: 'h-24' },
|
||||
@@ -562,325 +390,117 @@ export const scheduleItems = [
|
||||
{ frequency: "On call", stream: "Hazardous", vendor: "Ramky Enviro" },
|
||||
];
|
||||
|
||||
export const stockItems = [
|
||||
{
|
||||
item: "Cooling tower fan belt",
|
||||
group: "HVAC",
|
||||
store: "Block Store",
|
||||
min: 5,
|
||||
presentValue: 8,
|
||||
unit: "Gallon",
|
||||
status: "COMPLETED",
|
||||
isHighlighted: false,
|
||||
},
|
||||
{
|
||||
item: "Air filter 24×24",
|
||||
group: "HVAC",
|
||||
store: "Block Store",
|
||||
min: 5,
|
||||
presentValue: 2,
|
||||
unit: "Nos",
|
||||
status: "OVERDUE",
|
||||
isHighlighted: true,
|
||||
},
|
||||
{
|
||||
item: "MCB 32A",
|
||||
group: "Electrical",
|
||||
store: "Block Store",
|
||||
min: 5,
|
||||
presentValue: 8,
|
||||
unit: "Nos",
|
||||
status: "COMPLETED",
|
||||
isHighlighted: false,
|
||||
},
|
||||
{
|
||||
item: "Contactor 40A",
|
||||
group: "Electrical",
|
||||
store: "Block Store",
|
||||
min: 2,
|
||||
presentValue: 2,
|
||||
unit: "Nos",
|
||||
status: "OVERDUE",
|
||||
isHighlighted: false,
|
||||
},
|
||||
{
|
||||
item: "PVC pipe 1\"",
|
||||
group: "Plumbing",
|
||||
store: "Main Store",
|
||||
min: 3,
|
||||
presentValue: 0,
|
||||
unit: "Mtr",
|
||||
status: "OVERDUE",
|
||||
isHighlighted: false,
|
||||
},
|
||||
{
|
||||
item: "Submersible pump seal",
|
||||
group: "Plumbing",
|
||||
store: "Main Store",
|
||||
min: 3,
|
||||
presentValue: 2,
|
||||
unit: "Nos",
|
||||
status: "OVERDUE",
|
||||
isHighlighted: false,
|
||||
},
|
||||
{
|
||||
item: "Refrigerant R410a",
|
||||
group: "HVAC",
|
||||
store: "Block Store",
|
||||
min: 5,
|
||||
presentValue: 0,
|
||||
unit: "Kg",
|
||||
status: "OVERDUE",
|
||||
isHighlighted: false,
|
||||
},
|
||||
];
|
||||
|
||||
export const consumptionLedger = [
|
||||
{
|
||||
txn: "TXN-5200",
|
||||
item: "Cooling tower fan belt",
|
||||
type: "Consume",
|
||||
qty: "2 Gallon",
|
||||
jobCard: "026/1009",
|
||||
date: "Jun 20, 2026",
|
||||
},
|
||||
{
|
||||
txn: "TXN-5201",
|
||||
item: "MCB 32A",
|
||||
type: "Consume",
|
||||
qty: "1 Nos",
|
||||
jobCard: "026/1016",
|
||||
date: "Jun 21, 2026",
|
||||
},
|
||||
{
|
||||
txn: "TXN-5202",
|
||||
item: "Air filter 24×24",
|
||||
type: "Receipt",
|
||||
qty: "10 Nos",
|
||||
jobCard: "—",
|
||||
date: "Jun 22, 2026",
|
||||
},
|
||||
{
|
||||
txn: "TXN-5203",
|
||||
item: "Submersible pump seal",
|
||||
type: "Consume",
|
||||
qty: "1 Nos",
|
||||
jobCard: "026/1023",
|
||||
date: "Jun 23, 2026",
|
||||
},
|
||||
{
|
||||
txn: "TXN-5204",
|
||||
item: "Air filter 24×24",
|
||||
type: "Consume",
|
||||
qty: "3 Nos",
|
||||
jobCard: "026/1030",
|
||||
date: "Jun 24, 2026",
|
||||
},
|
||||
{
|
||||
txn: "TXN-5205",
|
||||
item: "PVC pipe 1\"",
|
||||
type: "Receipt",
|
||||
qty: "20 Mtr",
|
||||
jobCard: "—",
|
||||
date: "Jun 25, 2026",
|
||||
},
|
||||
{
|
||||
txn: "TXN-5406",
|
||||
item: "Cooling tower fan belt",
|
||||
type: "Consume",
|
||||
qty: "2 Gallon",
|
||||
jobCard: "026/1009",
|
||||
date: "Jun 7, 2026",
|
||||
},
|
||||
{
|
||||
txn: "TXN-5407",
|
||||
item: "MCB 32A",
|
||||
type: "Consume",
|
||||
qty: "1 Nos",
|
||||
jobCard: "026/1016",
|
||||
date: "Jun 7, 2026",
|
||||
},
|
||||
{
|
||||
txn: "TXN-5200",
|
||||
item: "Cooling tower fan belt",
|
||||
type: "Consume",
|
||||
qty: "2 Gallon",
|
||||
jobCard: "026/1009",
|
||||
date: "Jun 20, 2026",
|
||||
},
|
||||
{
|
||||
txn: "TXN-5201",
|
||||
item: "MCB 32A",
|
||||
type: "Consume",
|
||||
qty: "1 Nos",
|
||||
jobCard: "026/1016",
|
||||
date: "Jun 21, 2026",
|
||||
},
|
||||
{
|
||||
txn: "TXN-5202",
|
||||
item: "Air filter 24×24",
|
||||
type: "Receipt",
|
||||
qty: "10 Nos",
|
||||
jobCard: "—",
|
||||
date: "Jun 22, 2026",
|
||||
},
|
||||
{
|
||||
txn: "TXN-5203",
|
||||
item: "Submersible pump seal",
|
||||
type: "Consume",
|
||||
qty: "1 Nos",
|
||||
jobCard: "026/1023",
|
||||
date: "Jun 23, 2026",
|
||||
},
|
||||
{
|
||||
txn: "TXN-5204",
|
||||
item: "Air filter 24×24",
|
||||
type: "Consume",
|
||||
qty: "3 Nos",
|
||||
jobCard: "026/1030",
|
||||
date: "Jun 24, 2026",
|
||||
},
|
||||
{
|
||||
txn: "TXN-5205",
|
||||
item: "PVC pipe 1\"",
|
||||
type: "Receipt",
|
||||
qty: "20 Mtr",
|
||||
jobCard: "—",
|
||||
date: "Jun 25, 2026",
|
||||
},
|
||||
{
|
||||
txn: "TXN-5406",
|
||||
item: "Cooling tower fan belt",
|
||||
type: "Consume",
|
||||
qty: "2 Gallon",
|
||||
jobCard: "026/1009",
|
||||
date: "Jun 7, 2026",
|
||||
},
|
||||
{
|
||||
txn: "TXN-5407",
|
||||
item: "MCB 32A",
|
||||
type: "Consume",
|
||||
qty: "1 Nos",
|
||||
jobCard: "026/1016",
|
||||
date: "Jun 7, 2026",
|
||||
},
|
||||
];
|
||||
export const plantLoadData = [
|
||||
{ month: '08', height: 'h-[35%]' },
|
||||
{ month: '09', height: 'h-[38%]' },
|
||||
{ month: '10', height: 'h-[32%]' },
|
||||
{ month: '11', height: 'h-[40%]' },
|
||||
{ month: '12', height: 'h-[52%]' },
|
||||
{ month: '13', height: 'h-[68%]' },
|
||||
{ month: '14', height: 'h-[78%]' },
|
||||
{ month: '15', height: 'h-[78%]' },
|
||||
{ month: '16', height: 'h-[78%]' },
|
||||
{ month: '17', height: 'h-[78%]' },
|
||||
{ month: '18', height: 'h-[78%]' },
|
||||
{ month: '19', height: 'h-[78%]' }
|
||||
];
|
||||
|
||||
// Initial roles state
|
||||
export const rolesList = [
|
||||
{ id: "admin", label: "Admin", badge: "all" },
|
||||
{ id: "helpdesk", label: "Helpdesk", badge: "scoped" },
|
||||
{ id: "mne_supervisor", label: "M&E Supervisor", badge: "scoped" },
|
||||
{ id: "technician", label: "Technician", badge: "scoped" },
|
||||
{ id: "tenant", label: "Tenant", badge: "scoped" },
|
||||
];
|
||||
|
||||
export const vendorData = [
|
||||
{
|
||||
name: "Voltas Ltd",
|
||||
id: "CTR-700",
|
||||
scope: "HVAC AMC & breakdown",
|
||||
rating: "4.6",
|
||||
sla: "95%",
|
||||
slaColor: "text-emerald-400",
|
||||
response: "4.0h",
|
||||
openJobs: "2",
|
||||
},
|
||||
{
|
||||
name: "Blue Star",
|
||||
id: "CTR-701",
|
||||
scope: "Chiller & VRV service",
|
||||
rating: "4.1",
|
||||
sla: "88%",
|
||||
slaColor: "text-amber-400",
|
||||
response: "1.2h",
|
||||
openJobs: "2",
|
||||
},
|
||||
{
|
||||
name: "Sterling FM",
|
||||
id: "CTR-702",
|
||||
scope: "Integrated FM / soft services",
|
||||
rating: "3.4",
|
||||
sla: "94%",
|
||||
slaColor: "text-emerald-400",
|
||||
response: "2.4h",
|
||||
openJobs: "4",
|
||||
},
|
||||
{
|
||||
name: "OTIS Elevators",
|
||||
id: "CTR-704",
|
||||
scope: "Elevator AMC",
|
||||
rating: "4.8",
|
||||
sla: "95%",
|
||||
slaColor: "text-emerald-400",
|
||||
response: "2.8h",
|
||||
openJobs: "—",
|
||||
},
|
||||
{
|
||||
name: "Sodexo",
|
||||
id: "CTR-705",
|
||||
scope: "Soft services & cafeteria",
|
||||
rating: "4.3",
|
||||
sla: "90%",
|
||||
slaColor: "text-amber-400",
|
||||
response: "2.8h",
|
||||
openJobs: "1",
|
||||
},
|
||||
{
|
||||
name: "In-house team",
|
||||
id: "—",
|
||||
scope: "Day-to-day maintenance",
|
||||
rating: "4.0",
|
||||
sla: "93%",
|
||||
slaColor: "text-amber-400",
|
||||
response: "3.2h",
|
||||
openJobs: "3",
|
||||
},
|
||||
];
|
||||
// Initial permissions table data
|
||||
export const initialPermissions = [
|
||||
{
|
||||
id: 1,
|
||||
module: "Help Desk",
|
||||
menu: "Daily Location Checklist",
|
||||
permissions: { all: false, view: true, add: true, edit: true, delete: false, cancel: true, print: true },
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
module: "Equipment",
|
||||
menu: "Site-Wise Equipment",
|
||||
permissions: { all: false, view: true, add: true, edit: true, delete: false, cancel: true, print: true },
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
module: "Equipment",
|
||||
menu: "AMC Schedule",
|
||||
permissions: { all: false, view: true, add: true, edit: true, delete: false, cancel: true, print: true },
|
||||
},
|
||||
{
|
||||
id: 4,
|
||||
module: "Request",
|
||||
menu: "TFM Request",
|
||||
permissions: { all: false, view: true, add: true, edit: true, delete: false, cancel: true, print: true },
|
||||
},
|
||||
{
|
||||
id: 5,
|
||||
module: "Energy",
|
||||
menu: "Meter Reading",
|
||||
permissions: { all: false, view: true, add: true, edit: true, delete: false, cancel: true, print: true },
|
||||
},
|
||||
{
|
||||
id: 6,
|
||||
module: "Master",
|
||||
menu: "Request Location",
|
||||
permissions: { all: false, view: true, add: true, edit: true, delete: false, cancel: true, print: true },
|
||||
},
|
||||
{
|
||||
id: 7,
|
||||
module: "Security",
|
||||
menu: "Users",
|
||||
permissions: { all: false, view: true, add: true, edit: true, delete: false, cancel: true, print: true },
|
||||
},
|
||||
];
|
||||
|
||||
export const fieldCrewData = [
|
||||
{
|
||||
initials: "RK",
|
||||
name: "Ravi Kumar",
|
||||
role: "M&E Technician • Chiller plant",
|
||||
status: "ON-SITE",
|
||||
statusType: "onsite",
|
||||
time: "6.4h today",
|
||||
},
|
||||
{
|
||||
initials: "SI",
|
||||
name: "Sana Iqbal",
|
||||
role: "HVAC Engineer • AHU room L7",
|
||||
status: "ON-SITE",
|
||||
statusType: "onsite",
|
||||
time: "6.1h today",
|
||||
},
|
||||
{
|
||||
initials: "MD",
|
||||
name: "Mohan D.",
|
||||
role: "Electrician • En route",
|
||||
status: "EN-ROUTE",
|
||||
statusType: "enroute",
|
||||
time: "—",
|
||||
},
|
||||
{
|
||||
initials: "LN",
|
||||
name: "Lakshmi N.",
|
||||
role: "Housekeeping Lead • Lobby + L2",
|
||||
status: "ON-SITE",
|
||||
statusType: "onsite",
|
||||
time: "6.7h today",
|
||||
},
|
||||
{
|
||||
initials: "AP",
|
||||
name: "Arjun P.",
|
||||
role: "Plumber • Off-site",
|
||||
status: "OFF-SITE",
|
||||
statusType: "offsite",
|
||||
time: "—",
|
||||
},
|
||||
{
|
||||
initials: "FR",
|
||||
name: "Fatima R.",
|
||||
role: "BMS Operator • Control room",
|
||||
status: "ON-SITE",
|
||||
statusType: "onsite",
|
||||
time: "7.6h today",
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
export const blocks = ["Block 1", "Block 2", "Tower A"];
|
||||
export const floors = ["Ground", "Floor 1", "Floor 2"];
|
||||
export const zones = ["Zone N", "Zone Z1", "Zone Z2"];
|
||||
// Mock user location data matching the screenshot
|
||||
export const userData = [
|
||||
{
|
||||
name: "Dhananjay T.",
|
||||
email: "dhananjay@kafm.io",
|
||||
mobile: "7489477369",
|
||||
latitude: "18.5450",
|
||||
longitude: "73.7935",
|
||||
site: "Apple One",
|
||||
// Relative coordinates for the map visual dots (X%, Y%)
|
||||
x: "19%",
|
||||
y: "38%",
|
||||
},
|
||||
{
|
||||
name: "ME Local",
|
||||
email: "me.local@kafm.io",
|
||||
mobile: "9876543210",
|
||||
latitude: "18.5469",
|
||||
longitude: "73.7945",
|
||||
site: "Apple One",
|
||||
x: "44%",
|
||||
y: "43%",
|
||||
},
|
||||
{
|
||||
name: "TECH Local",
|
||||
email: "tech.local@kafm.io",
|
||||
mobile: "9123456780",
|
||||
latitude: "18.5441",
|
||||
longitude: "73.7951",
|
||||
site: "Apple One",
|
||||
x: "69%",
|
||||
y: "48%",
|
||||
},
|
||||
];
|
||||
|
||||
export const permitsData = [
|
||||
{
|
||||
permit: "PTW-2663",
|
||||
|
||||
160
constants/sidebarConstant.ts
Normal file
160
constants/sidebarConstant.ts
Normal file
@@ -0,0 +1,160 @@
|
||||
|
||||
|
||||
import {
|
||||
LayoutGrid,
|
||||
Smile,
|
||||
Building2,
|
||||
User,
|
||||
Target,
|
||||
CheckSquare,
|
||||
FileText,
|
||||
Box,
|
||||
Zap,
|
||||
ClipboardList,
|
||||
Star,
|
||||
Monitor,
|
||||
UserCheck,
|
||||
Calendar,
|
||||
Layers,
|
||||
Coins,
|
||||
Receipt,
|
||||
ShieldCheck,
|
||||
Flame,
|
||||
Recycle,
|
||||
GraduationCap,
|
||||
Brain,
|
||||
Activity,
|
||||
Bot,
|
||||
Gauge,
|
||||
Snowflake,
|
||||
Leaf,
|
||||
MapPin,
|
||||
BarChart3,
|
||||
Sun,
|
||||
Shield,
|
||||
Settings,
|
||||
Wallet,
|
||||
Radar,
|
||||
Cog,
|
||||
Smartphone,
|
||||
Users,
|
||||
Globe,
|
||||
LayoutDashboard,
|
||||
} from "lucide-react";
|
||||
|
||||
|
||||
|
||||
|
||||
export const OPERATIONS_SIDEBAR_ITEMS = [
|
||||
{
|
||||
title: "Overview",
|
||||
icon: LayoutGrid,
|
||||
children: [
|
||||
{ title: "Dashboard", href: "/dashboard/overview/dashboard", icon: LayoutGrid },
|
||||
{ title: "Engagement", href: "/dashboard/overview/engagement", icon: Smile },
|
||||
{ title: "Building Owner", href: "/dashboard/overview/buildingOwner", icon: Building2 },
|
||||
{ title: "Property Manager", href: "/dashboard/overview/propertyManager", icon: User },
|
||||
{ title: "Service Engineer", href: "/dashboard/overview/serviceEngineer", icon: Target },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Operations",
|
||||
icon: Settings,
|
||||
children: [
|
||||
{ title: "Help Desk", href: "/dashboard/operations/helpDesk", icon: CheckSquare, badge: 6, badgeColor: "bg-amber-500 text-black" },
|
||||
{ title: "Equipment", href: "/dashboard/operations/equipment", icon: Target },
|
||||
{ title: "Requests", href: "/dashboard/operations/request", icon: FileText, badge: 15, badgeColor: "bg-amber-400 text-black" },
|
||||
{ title: "Inventory", href: "/dashboard/operations/inventory", icon: Box },
|
||||
{ title: "Energy", href: "/dashboard/operations/energy", icon: Zap },
|
||||
{ title: "Work Permit", href: "/dashboard/operations/workPermit", icon: ClipboardList, badge: 3, badgeColor: "bg-amber-500 text-black" },
|
||||
{ title: "Vendor & Field Service", href: "/dashboard/operations/vendorFieldService", icon: Star, badge: 12, badgeColor: "bg-sky-400 text-black" },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Workplace",
|
||||
icon: Monitor,
|
||||
children: [
|
||||
{ title: "Visitor Management", href: "/dashboard/workplace/visitorManagement", icon: UserCheck },
|
||||
{ title: "Meeting Rooms", href: "/dashboard/workplace/meetingRoom", icon: Calendar },
|
||||
{ title: "Workspace", href: "/dashboard/workplace/workspace", icon: Layers },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Finance",
|
||||
icon: Wallet,
|
||||
children: [
|
||||
{ title: "O&M Budget", href: "/dashboard/finance/budget", icon: Coins },
|
||||
{ title: "Costing & Invoicing", href: "/dashboard/finance/costinvoice", icon: Receipt },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Compliance & Safety",
|
||||
icon: ShieldCheck,
|
||||
children: [
|
||||
{ title: "Statutory Compliance", href: "/dashboard/compliance-safety/statutoryCompliance", icon: ShieldCheck },
|
||||
{ title: "Contracts & SLA", href: "/dashboard/compliance-safety/contracts", icon: FileText },
|
||||
{ title: "Fire & Safety", href: "/dashboard/compliance-safety/fireAndSafety", icon: Flame },
|
||||
{ title: "Waste & ESG", href: "/dashboard/compliance-safety/wasteAndEsg", icon: Recycle },
|
||||
{ title: "Training", href: "/dashboard/compliance-safety/training", icon: GraduationCap },
|
||||
{ title: "Audit & Survey", href: "/dashboard/compliance-safety/auditAndSurvey", icon: GraduationCap },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Intelligence",
|
||||
icon: Brain,
|
||||
children: [{ title: "AI & Predictive", href: "/dashboard/intelligence/aiPredictive", icon: Brain },
|
||||
{ title: "Asset Health", href: "/dashboard/intelligence/assetHealth", icon: ShieldCheck },
|
||||
{ title: "Energy Benchmarking", href: "/dashboard/intelligence/energyBenchmarking", icon: Activity },
|
||||
{ title: "AI Helpdesk", href: "/dashboard/intelligence/aiHelpdesk", icon: Bot },
|
||||
{ title: "Connected Ops", href: "/dashboard/intelligence/connectedOps", icon: Gauge },
|
||||
{ title: "Connected Assets", href: "/dashboard/intelligence/connectedAsset", icon: Snowflake },
|
||||
{ title: "Sustainability", href: "/dashboard/intelligence/sustainability", icon: Leaf },
|
||||
{ title: "GPS Tracking", href: "/dashboard/intelligence/gpstracking", icon: MapPin },],
|
||||
},
|
||||
{
|
||||
title: "IoT Application",
|
||||
icon: Radar,
|
||||
children: [{ title: "Command Center", href: "/dashboard/iot-app/commandCenter", icon: Gauge },
|
||||
{ title: "HVAC Plant", href: "/dashboard/iot-app/hvacPlant", icon: Snowflake },
|
||||
{ title: "Energy & Utilities", href: "/dashboard/iot-app/energyUtility", icon: Zap },
|
||||
{ title: "Device Fleet", href: "/dashboard/iot-app/deviceFleet", icon: LayoutGrid },
|
||||
{ title: "Alarms & Rules", href: "/dashboard/iot-app/alarmRule", icon: Shield, badge: 7, badgeColor: "bg-rose-500 text-white" },],
|
||||
},
|
||||
{
|
||||
title: "Insight",
|
||||
icon: BarChart3,
|
||||
children: [{ title: "Reports & MMR", href: "/dashboard/insight/report", icon: BarChart3 },],
|
||||
},
|
||||
{
|
||||
title: "Configure",
|
||||
icon: Cog,
|
||||
children: [{ title: "Master Data", href: "/dashboard/configure/masterdata", icon: Layers },
|
||||
{ title: "Roles & Access", href: "/dashboard/configure/rolesAndAccess", icon: Shield },
|
||||
{ title: "Workflow Automation", href: "/dashboard/configure/workflowautomation", icon: Bot },
|
||||
{ title: "User Location", href: "/dashboard/configure/userLocation", icon: MapPin },
|
||||
{ title: "Settings", href: "/dashboard/configure/settings", icon: Sun },],
|
||||
},
|
||||
];
|
||||
export const ADMIN_SIDEBAR_ITEMS = [
|
||||
{
|
||||
title: "Platform",
|
||||
icon: Building2,
|
||||
children: [
|
||||
{ title: "Overview", href: "/dashboard/admin/overview", icon: LayoutGrid },
|
||||
{ title: "Tenants", href: "/dashboard/admin/tenants", icon: Building2 },
|
||||
{ title: "Users", href: "/dashboard/admin/users", icon: Users },
|
||||
{ title: "Sites", href: "/dashboard/admin/site", icon: MapPin },
|
||||
{ title: "Security", href: "/dashboard/admin/security", icon: Shield },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Configuration",
|
||||
icon: LayoutGrid,
|
||||
children: [
|
||||
{ title: "Modules", href: "/dashboard/admin/modules", icon: LayoutGrid },
|
||||
{ title: "Language", href: "/dashboard/admin/language", icon: Globe },
|
||||
{ title: "Dynamic Dashboard", href: "/dashboard/admin/dynamicDashboard", icon: LayoutDashboard },
|
||||
{ title: "Mobile Flows", href: "/dashboard/admin/mobileFlow", icon: Smartphone },
|
||||
],
|
||||
},
|
||||
];
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user