Files

1 line
6.5 KiB
JavaScript
Raw Permalink Normal View History

(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,55574,e=>{"use strict";let s=(0,e.i(64828).default)("clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]]);e.s(["Clock",0,s],55574)},24396,e=>{"use strict";let s=(0,e.i(64828).default)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);e.s(["CheckCircle2",0,s],24396)},39483,e=>{"use strict";var s=e.i(1624),t=e.i(34772),a=e.i(43673),r=e.i(80063),l=e.i(37983),c=e.i(64828);let i=(0,c.default)("play",[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]]);var d=e.i(55574),n=e.i(24396);let x=(0,c.default)("workflow",[["rect",{width:"8",height:"8",x:"3",y:"3",rx:"2",key:"by2w9f"}],["path",{d:"M7 11v4a2 2 0 0 0 2 2h4",key:"xkn7yn"}],["rect",{width:"8",height:"8",x:"13",y:"13",rx:"2",key:"1cgmvn"}]]),o=[{id:"W001",name:"Invoice Auto-Processing",description:"Automatically process and route incoming invoices",status:"active",runs:1240,lastRun:"5m ago",successRate:"99.2%"},{id:"W002",name:"Customer Onboarding",description:"Send welcome emails and create accounts for new customers",status:"active",runs:89,lastRun:"1h ago",successRate:"100%"},{id:"W003",name:"Daily Report Generation",description:"Generate and email daily KPI reports to management",status:"active",runs:365,lastRun:"8h ago",successRate:"98.9%"},{id:"W004",name:"Lead Scoring",description:"Score and route leads based on engagement data",status:"paused",runs:2340,lastRun:"2d ago",successRate:"97.5%"},{id:"W005",name:"Backup Verification",description:"Verify daily backups and alert on failures",status:"active",runs:365,lastRun:"12h ago",successRate:"100%"}],m={active:"bg-emerald-50 text-emerald-700 border-emerald-200",paused:"bg-amber-50 text-amber-700 border-amber-200",failed:"bg-red-50 text-red-700 border-red-200"};e.s(["default",0,function(){let e=o.filter(e=>"active"===e.status).length;return(0,s.jsx)(t.DashboardShell,{children:(0,s.jsxs)("div",{className:"space-y-6",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("h1",{className:"text-xl font-bold text-[#111827]",children:"Automation"}),(0,s.jsx)("p",{className:"text-sm text-[#6B7280] mt-0.5",children:"Workflows and automated processes"})]}),(0,s.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-4 gap-4",children:[(0,s.jsx)(a.Card,{className:"p-5 bg-white rounded-2xl border border-[#E5E7EB] shadow-[0_2px_8px_rgba(0,0,0,0.04)]",children:(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)("div",{className:"w-10 h-10 rounded-xl bg-blue-50 flex items-center justify-center",children:(0,s.jsx)(x,{className:"w-5 h-5 text-blue-600"})}),(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"text-xs text-[#6B7280] uppercase tracking-wider",children:"Total Workflows"}),(0,s.jsx)("p",{className:"text-xl font-bold text-[#111827]",children:o.length})]})]})}),(0,s.jsx)(a.Card,{className:"p-5 bg-white rounded-2xl border border-[#E5E7EB] shadow-[0_2px_8px_rgba(0,0,0,0.04)]",children:(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)("div",{className:"w-10 h-10 rounded-xl bg-emerald-50 flex items-center justify-center",children:(0,s.jsx)(i,{className:"w-5 h-5 text-emerald-600"})}),(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"text-xs text-[#6B7280] uppercase tracking-wider",children:"Active"}),(0,s.jsx)("p",{className:"text-xl font-bold text-[#111827]",children:e})]})]})}),(0,s.jsx)(a.Card,{className:"p-5 bg-white rounded-2xl border border-[#E5E7EB] shadow-[0_2px_8px_rgba(0,0,0,0.04)]",children:(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)("div",{className:"w-10 h-10 rounded-xl bg-violet-50 flex items-center justify-center",children:(0,s.jsx)(l.Zap,{className:"w-5 h-5 text-violet-600"})}),(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"text-xs text-[#6B7280] uppercase tracking-wider",children:"Total Runs"}),(0,s.jsx)("p",{className:"text-xl font-bold text-[#111827]",children:"4.