PageSourceSearch

https://snew.ai/assets/TasksOverviewPage-BxpdT7xL.js

js snew.ai collected 2026-10-05 15:07:37 UTC 4,622 bytes, 1 lines download raw bytes

1import{r as d,u as h,j as e}from"./index-L9AYrVUw.js";import{a6 as p}from"./PlanAccessModal-P_W2GThH.js";import{n as m}from"./Plus.es-BeVefyFz.js";import"./productFunnel-DiJFcMU2.js";import"./locale-Cctu0V3Y.js";const r=[{id:"email-vip-maes",title:"E-mail VIP Dia das Mães disparado",time:"há 4 min",agent:"Snew"},{id:"calendario-sazonal",title:"Calendário sazonal 2026 atualizado com 10 datas",time:"há 11 min",agent:"Snew"},{id:"copies-dia-maes",title:"Copies Dia das Mães para 6 canais",time:"há 13 min",agent:"Snew"},{id:"reels-emocional",title:"Reels emocional aguardando aprovação",time:"há 28 min",agent:null},{id:"reposicao-body-comfy",title:"Reposição Body Comfy aprovada",time:"há 1h",agent:"Snew"},{id:"sequencia-whatsapp",title:"Sequência WhatsappLogo ativada para 4 VIPs",time:"há 2h",agent:"Snew"},{id:"review-respondido",title:"Review negativo respondido no Google",time:"há 3h",agent:"Snew"},{id:"assets-pascoa",title:"Assets visuais Páscoa gerados",time:"ontem",agent:"Snew"},{id:"campanha-pascoa",title:"Campanha de Páscoa publicada em 3 canais",time:"há 2h",agent:"Snew"},{id:"cart-recovery-overnight",title:"3 carrinhos recuperados esta madrugada",time:"há 4h",agent:"Snew"}];
1function b(){const[a,c]=d.useState(""),[n,g]=d.useState(!1),s=h(),o=a.trim()?r.filter(t=>t.title.toLowerCase().includes(a.toLowerCase())):r,l=n?o:o.slice(0,6);return e.jsx("div",{style:{flex:1,overflowY:"auto",display:"flex",flexDirection:"column",background:"hsl(var(--background))"},children:e.jsxs("div",{style:{width:"100%",maxWidth:720,margin:"0 auto",padding:"48px 32px",display:"flex",flexDirection:"column"},children:[e.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:28},children:[e.jsx("h1",{style:{fontSize:22,fontWeight:500,color:"hsl(var(--foreground))",margin:0},children:"Tarefas"}),e.jsxs("button",{onClick:()=>s("/new-chat"),style:{display:"flex",alignItems:"center",gap:6,padding:"8px 16px",borderRadius:20,border:"1px solid hsl(var(--border))",background:"hsl(var(--background))",fontSize:13,fontWeight:500,color:"hsl(var(--foreground))",cursor:"pointer",transition:"background 0.1s",fontFamily:"inherit"},onMouseEnter:t=>t.currentTarget.style.background="hsl(var(--muted))",onMouseLeave:t=>t.currentTarget.style.background="hsl(var(--background))",children:[e.jsx(m,{size:14}),"Nova tarefa"]})]}),e.jsxs("div",{style:{position:"relative",marginBottom:20},children:[e.jsx(p,{size:15,color:"hsl(var(--muted-foreground))",style:{position:"absolute",left:14,top:"50%",transform:"translateY(-50%)",pointerEvents:"none"}}),e.jsx("input",{value:a,onChange:t=>c(t.target.value),placeholder:"Procurar nas suas tarefas...",style:{width:"100%",height:44,padding:"0 16px 0 40px",border:"1px solid hsl(var(--border))",borderRadius:10,background:"hsl(var(--background))",fontSize:14,color:"hsl(var(--foreground))",outline:"none",boxSizing:"border-box",fontFamily:"inherit"}})]}),e.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"4px 0 8px",marginBottom:2},children:e.jsx("span",{style:{fontSize:13,color:"hsl(var(--muted-foreground))"},children:a.trim()?`${o.length} resultado${o.length!==1?"s":""}`:"Suas tarefas"})}),e.jsx("div",{style:{height:1,background:"hsl(var(--border))",marginBottom:0}}),l.length===0?e.jsx("div",{style:{padding:"32px 0",textAlign:"center",fontSize:14,color:"hsl(var(--muted-foreground))"},children:"Nenhuma tarefa encontrada"}):l.map(t=>e.jsxs("div",{onClick:()=>s(`/tasks?chat=${t.id}`),style:{padding:"14px 0",borderBottom:"1px solid hsl(var(--border))",cursor:"pointer",transition:"opacity 0.1s"},onMouseEnter:i=>i.currentTarget.style.opacity="0.7",onMouseLeave:i=>i.currentTarget.style.opacity="1",children:[e.jsx("div",{style:{fontSize:15,fontWeight:400,color:"hsl(var(--foreground))",marginBottom:4,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:t.title}),e.jsxs("div",{style:{fontSize:13,color:"hsl(var(--muted-foreground))",display:"flex",alignItems:"center",gap:4},children:[e.jsxs("span",{children:["Última atividade ",t.time]}),t.agent&&e.jsxs(e.Fragment,{children:[e.jsx("span",{children:"em"}),e.jsx("span",{style:{color:"hsl(var(--foreground))",fontWeight:500},children:t.agent})]})]})]},t.id)),!a.trim()&&r.length>6&&e.jsx("button",{onClick:()=>g(t=>!t),style:{marginTop:16,display:"flex",alignItems:"center",gap:6,border:"none",background:"transparent",fontSize:13,color:"hsl(var(--muted-foreground))",cursor:"pointer",padding:0,fontFamily:"inherit"},children:n?"Ver menos":`Ver todas (${r.length-6} mais)`})]})})}export{b as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.