cortex-react-components 2.7.0 → 2.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-PZXOH6CZ.mjs → chunk-2SAKLSZ4.mjs} +1 -1
- package/dist/{chunk-J3UUZDJ7.mjs → chunk-55MVSCX4.mjs} +1 -1
- package/dist/chunk-56X4PU43.mjs +4 -0
- package/dist/{chunk-RRME4EHD.mjs → chunk-DPZHVBGG.mjs} +1 -1
- package/dist/{chunk-X5FT4XO6.mjs → chunk-GLBQHEMQ.mjs} +1 -1
- package/dist/{chunk-JUXHCP4V.mjs → chunk-JTC4NOAT.mjs} +1 -1
- package/dist/{chunk-O24GFE6Q.mjs → chunk-KZAYLEFB.mjs} +1 -1
- package/dist/{chunk-HPYNP5UQ.mjs → chunk-NTS4U2OE.mjs} +1 -1
- package/dist/{chunk-2L2SAVX6.mjs → chunk-W7MEHF4G.mjs} +1 -1
- package/dist/{chunk-2R2QNFSX.mjs → chunk-YMOW5WNP.mjs} +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/CRM/index.mjs +1 -1
- package/dist/components/Chat/CopilotInterface.js +3 -3
- package/dist/components/Chat/CopilotInterface.mjs +1 -1
- package/dist/components/Chat/chat-session-sidebar.js +1 -1
- package/dist/components/Chat/chat-session-sidebar.mjs +1 -1
- package/dist/components/Chat/demo-long-messages.js +3 -3
- package/dist/components/Chat/demo-long-messages.mjs +1 -1
- package/dist/components/Chat/demo-tests.js +12 -12
- package/dist/components/Chat/demo-tests.mjs +1 -1
- package/dist/components/Chat/demo.js +2 -2
- package/dist/components/Chat/demo.mjs +1 -1
- package/dist/components/Chat/example-usage.js +3 -3
- package/dist/components/Chat/example-usage.mjs +1 -1
- package/dist/components/Chat/example-with-vercel-ai.js +2 -2
- package/dist/components/Chat/example-with-vercel-ai.mjs +1 -1
- package/dist/components/Chat/index.js +4 -4
- package/dist/components/Chat/index.mjs +1 -1
- package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
- package/dist/components/DigitalColleagues/Pages/dashboardpage.mjs +1 -1
- package/dist/components/DigitalColleagues/Views/index.mjs +1 -1
- package/dist/components/DigitalColleagues/index.mjs +1 -1
- package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/SectionHero/index.mjs +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
- package/dist/components/Layouts/Print.mjs +1 -1
- package/dist/components/Layouts/SlideShow.mjs +1 -1
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Other/index.mjs +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/Projects/KanbanBoardView.mjs +1 -1
- package/dist/components/Projects/ProjectPage.mjs +1 -1
- package/dist/components/Projects/ProjectView.mjs +1 -1
- package/dist/components/Projects/ProjectsIndexView.mjs +1 -1
- package/dist/components/dc-temp/index.mjs +1 -1
- package/dist/components/index.js +9 -9
- package/dist/components/index.mjs +1 -1
- package/dist/globals.css +1 -1
- package/dist/index.js +8 -8
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/pages/Blog.mjs +1 -1
- package/dist/pages/Documentation.mjs +1 -1
- package/dist/pages/IndexPage.mjs +1 -1
- package/dist/pages/Intranet.mjs +1 -1
- package/dist/pages/LandingPage.mjs +1 -1
- package/dist/pages/Page.mjs +1 -1
- package/dist/pages/Publish.mjs +1 -1
- package/dist/pages/Website.mjs +1 -1
- package/dist/sections/AboutSection.mjs +1 -1
- package/dist/sections/BlogDetail.mjs +1 -1
- package/dist/sections/BlogList.mjs +1 -1
- package/dist/sections/BlogListSection.mjs +1 -1
- package/dist/sections/PageSections.mjs +1 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/ServiceSection.mjs +1 -1
- package/dist/sections/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-5BK3HTPN.mjs +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as
|
|
4
|
+
import{a as d}from"./chunk-PEQOQ7BK.mjs";import{a as p}from"./chunk-D3B2YO7G.mjs";import{a as m}from"./chunk-2NMVE5M4.mjs";import{a as i,f as l,g as n,i as s,j as c}from"./chunk-3UMMMQEH.mjs";import{useState as g}from"react";import{motion as D,AnimatePresence as N}from"framer-motion";import{jsx as e,jsxs as o}from"react/jsx-runtime";function C({projects:u=[],onAddProject:f,handleProjectOpen:j,handleProjectShare:y}){let[P,t]=g(!1),[b,r]=g(!1),v=async a=>{r(!0);try{await f(a),t(!1)}catch(w){console.error("Error creating project:",w)}finally{r(!1)}},h=()=>{t(!0)};return o("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[e(N,{mode:"wait",children:o(D.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},children:[e(m,{title:"Project Management",description:"Organise your work into projects to collaborate with your team.",gradient:"bg-gradient-to-r from-purple-600 via-violet-600 to-indigo-600",primaryAction:{label:"New Project",onClick:h}}),o("section",{className:"space-y-4 mt-8",children:[e("h2",{className:"text-2xl font-semibold",children:"Active Projects"}),e("div",{className:"grid grid-cols-1 gap-3 md:grid-cols-2 lg:grid-cols-3",children:u.map(a=>e(d,{project:a,onOpen:j,onShare:y},a.name))})]})]},"projects-index-view")}),e(i,{open:P,onOpenChange:t,children:o(l,{className:"max-w-3xl max-h-[90vh] overflow-y-auto",children:[o(n,{className:"sr-only",children:[e(s,{children:"Create New Project"}),e(c,{children:"Fill out the form below to create a new project."})]}),e(p,{onSubmit:v,onCancel:()=>t(!1),isLoading:b,className:"border-0 shadow-none"})]})})]})}export{C as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as Y}from"./chunk-Z72RUYUU.mjs";import{a as
|
|
1
|
+
import{a as Y}from"./chunk-Z72RUYUU.mjs";import{a as X}from"./chunk-A3YDFYEB.mjs";import{a as Q}from"./chunk-KOXC4RIH.mjs";import{a as L}from"./chunk-NTS4U2OE.mjs";import{a as z}from"./chunk-HHYHENVF.mjs";import{a as J}from"./chunk-ORNGKQM7.mjs";import{a as q}from"./chunk-WY2CT5AT.mjs";import{a as $}from"./chunk-34AVYSEY.mjs";import{a as W}from"./chunk-5RDLHKTK.mjs";import{useEffect as c,useState as s}from"react";import{useRouter as Xe}from"next/navigation";import{jsx as a,jsxs as Ze}from"react/jsx-runtime";function Ye({title:_e="",initialTasks:D=[],initialEpics:S=[],initialSprints:E=[],initialProjects:v=[],initialReminders:A=[],initialColleagues:P=[],initialFiles:C=[],onAddTask:Z,onUpdateTask:_,onDeleteTask:ee,onTaskClick:et,onAddEpic:te,onUpdateEpic:ie,onDeleteEpic:ne,onAddTaskToEpic:tt,onAddSprint:se,onUpdateSprint:ae,onDeleteSprint:oe,onAddProject:de,onUpdateProject:re,onDeleteProject:le,onFileAdd:ce,onFileEdit:pe,onFileDelete:ge,onFileClick:me,onAddReminder:ke,onUpdateReminder:Te,onDeleteReminder:ue,onViewChange:fe,onToggleMobileMenu:he,onTeamClick:it,onTeamChange:nt,onCopilotClick:st}){let[p,d]=s(D),[o,g]=s(S),[r,m]=s(E),[F,k]=s(v),[De,T]=s(A),[Se,Ee]=s(P),[ve,M]=s(C),[Ae,O]=s(!1),[Pe,j]=s(!1),[u,w]=s(null),[Ce,y]=s(null),[V,I]=s(null),[l,we]=s("kanban"),[Re,Ue]=s(!1),B=Xe();c(()=>{d(D)},[D]),c(()=>{m(E)},[E]),c(()=>{g(S)},[S]),c(()=>{k(v)},[v]),c(()=>{M(C)},[C]),c(()=>{Ee(P)},[P]),c(()=>{T(A)},[A]);let be=o.filter(e=>e.isSelected).map(e=>e.id),f=r.find(e=>e.isSelected),Fe=p.filter(e=>{let t=be.includes(e.epicId);return!f||f.id==="all-tasks"?t:f.id==="backlog"?t&&!e.sprintId:t&&e.sprintId===f.id}),at=e=>Fe.filter(t=>t.status===e),ot=e=>{let t={};return o.forEach(i=>{t[i.id]=e.filter(n=>n.epicId===i.id)}),t},dt=e=>{I(e)},rt=e=>{V&&(d(t=>t.map(i=>i.id===V.id?{...i,status:e}:i)),I(null))},N=e=>{let t={...e,id:Date.now().toString(),createdAt:new Date};d(i=>[...i,t]),Z?.(t)},h=(e,t)=>{d(i=>i.map(n=>n.id===e?{...n,...t}:n)),_?.(e,t)},Me=async(e,t)=>{h(e,t)},x=e=>{d(t=>t.filter(i=>i.id!==e)),u?.id===e&&w(null),ee?.(e)},Oe=async e=>{x(e)},je=e=>{let t={...e,id:Date.now().toString(),isSelected:!1};k(i=>[...i,t]),de?.(e)},ye=(e,t)=>{k(i=>i.map(n=>n.id===e?t.isSelected?(B.push(`/project/${e}`),{...n,...t}):{...n,...t}:t.isSelected&&e!==n.id?{...n,isSelected:!1}:n)),re?.(e,t)},Ve=e=>{k(t=>t.filter(i=>i.id!==e)),le?.(e)},Ie=e=>{let t={...e,id:Date.now().toString(),isSelected:!0};g(i=>[...i,t]),te?.({...t})},R=()=>{j(!0)},G=(e,t)=>{g(i=>i.map(n=>n.id===e?{...n,...t}:n)),ie?.(e,t)},H=e=>{g(t=>t.filter(i=>i.id!==e)),d(t=>t.filter(i=>i.epicId!==e)),ne?.(e)},K=e=>{let t={...e,id:Date.now().toString(),isSelected:!1};m(i=>[...i,t]),se?.(e)},Be=(e,t)=>{m(i=>i.map(n=>n.id===e?t.isSelected?{...n,...t}:{...n,...t}:t.isSelected&&e!==n.id?{...n,isSelected:!1}:n)),ae?.(e,t)},Ne=e=>{e==="backlog"||e==="all-tasks"||(m(t=>t.filter(i=>i.id!==e)),d(t=>t.map(i=>i.sprintId===e?{...i,sprintId:void 0}:i)),oe?.(e))},U=e=>{w(e)},xe=e=>{e==="planning"&&window.innerWidth<768||(we(e),fe?.(e))},Ge=()=>{Ue(e=>!e),he?.()},lt=()=>{B.push("/")},ct=e=>{console.log("Switching to team:",e)},pt=e=>{console.log("Switching to team:",e)},He=e=>{y(e),O(!0)},Ke=()=>{O(!1),y(null)},We=e=>{let t={...e,id:Date.now().toString(),createdAt:new Date};T(i=>[...i,t]),ke?.(e)},$e=(e,t)=>{T(i=>i.map(n=>n.id===e?{...n,...t}:n)),Te?.(e,t)},qe=e=>{T(t=>t.filter(i=>i.id!==e)),ue?.(e)},ze=()=>{ce?.()},Je=e=>{pe?.(e)},Le=e=>{M(t=>t.filter(i=>i.name!==e)),ge?.(e)},Qe=e=>{me?.(e)},gt=[{id:"todo",title:"To Do",status:"todo"},{id:"in-progress",title:"In Progress",status:"in-progress"},{id:"review",title:"Review",status:"review"},{id:"done",title:"Done",status:"done"}],mt=()=>{switch(l){case"kanban":return"Project Board";case"planning":return"Sprint Planning";case"tasks":return"Task Reminders";case"files":return"Documentation";case"epics":return"Epic Planning";default:return"Project Board"}},b=[{id:"1",name:"Product Development",avatar:"PD",lastUsed:new Date("2024-01-20")},{id:"2",name:"Engineering",avatar:"ENG",lastUsed:new Date("2024-01-19")},{id:"3",name:"Marketing Team",avatar:"MT",lastUsed:new Date("2024-01-18")},{id:"4",name:"Design System",avatar:"DS",lastUsed:new Date("2024-01-17")},{id:"5",name:"Sales Operations",avatar:"SO",lastUsed:new Date("2024-01-16")},{id:"6",name:"Customer Success",avatar:"CS",lastUsed:new Date("2024-01-15")}],kt=b.sort((e,t)=>t.lastUsed.getTime()-e.lastUsed.getTime()).slice(0,3),Tt=b.length>3,ut=b.slice(3);return Ze(W,{projects:F,epics:o,sprints:r,currentView:l,onUpdateProject:ye,onDeleteProject:Ve,onAddProject:je,onUpdateEpic:G,onDeleteEpic:H,onAddEpic:R,onAddSprint:K,onUpdateSprint:Be,onDeleteSprint:Ne,onViewChange:xe,mobileMenuOpen:Re,onToggleMobileMenu:Ge,children:[l==="kanban"&&a("div",{className:"h-full",children:a(L,{initialProjects:F,initialEpics:o,initialSprints:r,initialTasks:p,onAddTask:N,onUpdateTask:h,onDeleteTask:x,onTaskClick:U,onAddEpic:R})}),l==="planning"&&a("div",{className:"hidden md:block h-full",children:a(X,{tasks:p,epics:o,sprints:r,onUpdateTask:h,onTaskClick:U,onAddSprint:K})}),l==="tasks"&&a("div",{className:"h-full",children:a(Y,{initialReminders:De,initialColleagues:Se,onAddReminder:We,onUpdateReminder:$e,onDeleteReminder:qe})}),l==="files"&&a("div",{className:"h-full",children:a($,{initialFiles:ve,onFileAdd:ze,onFileEdit:Je,onFileDelete:Le,onFileClick:Qe,compactView:!1})}),l==="epics"&&a("div",{className:"h-full",children:a(Q,{tasks:p,epics:o,sprints:r,onUpdateTask:h,onTaskClick:U,onAddTaskToEpic:He,onAddEpic:R,onUpdateEpic:G,onDeleteEpic:H})}),a(q,{isOpen:Ae,onClose:Ke,onAddTask:N,epics:o,sprints:r,defaultEpicId:Ce||void 0}),a(J,{isOpen:Pe,onClose:()=>j(!1),onAddEpic:Ie}),u&&a(z,{isOpen:!!u,onClose:()=>w(null),task:u,onUpdateTask:Me,onDeleteTask:Oe,epics:o,sprints:r})]})}export{Ye as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as h}from"./chunk-FT3AE7L2.mjs";import{a as n,b as m,c,d as p}from"./chunk-KY7WQYN4.mjs";import{b as i}from"./chunk-ZUA4KNIR.mjs";import{a as v}from"./chunk-YO3GQYRJ.mjs";import{a as d}from"./chunk-MDJREBVI.mjs";import{Clock as x,Edit3 as C,Plus as S,Trash2 as w}from"lucide-react";import{jsx as t,jsxs as s}from"react/jsx-runtime";function M({sessions:o,currentSession:g,teams:y,onNewChat:u,onSessionSelect:N,onSessionEdit:r,onSessionDelete:l,className:f}){return t(n,{children:t("div",{className:`space-y-4 h-full ${f||""}`,children:s(v,{className:"shadow-sm h-full",children:[t("div",{className:"p-4 border-b",children:s("div",{className:"flex items-center justify-between",children:[s("h3",{className:"font-semibold text-sm flex items-center gap-2",children:[t(x,{className:"h-4 w-4"}),"Recent Chats"]}),s(i,{onClick:u,size:"sm",className:"gap-1 h-7 px-2 rounded-lg shadow-sm",children:[t(S,{className:"h-3 w-3"}),"New"]})]})}),t(h,{className:"h-[600px]",children:t("div",{className:"p-2",children:o.length===0?t("div",{className:"p-4 text-center text-sm text-muted-foreground",children:"No chat sessions yet"}):o.map(e=>s(m,{children:[t(c,{asChild:!0,children:t("div",{className:d("group relative p-3 rounded-xl cursor-pointer transition-all hover:bg-muted/50 mb-2",g?.id===e.id&&"bg-muted border"),onClick:()=>N(e),children:s("div",{className:"grid grid-cols-[1fr_auto] gap-2 items-start",children:[s("div",{className:"min-w-0 overflow-hidden",children:[t("h4",{className:"font-medium text-sm truncate mb-1",children:e.title}),t("p",{className:"text-xs text-muted-foreground line-clamp-2",children:e.lastMessage})]}),s("div",{className:"flex items-start gap-1 pt-0.5",children:[r&&t(i,{variant:"ghost",size:"icon",className:"h-6 w-6 rounded opacity-30 group-hover:opacity-100 transition-opacity",onClick:a=>{a.stopPropagation(),r(e.id)},children:t(C,{className:"h-3 w-3"})}),l&&t(i,{variant:"ghost",size:"icon",className:"h-6 w-6 rounded text-destructive hover:text-destructive opacity-30 group-hover:opacity-100 transition-opacity",onClick:a=>{a.stopPropagation(),l(e.id)},children:t(w,{className:"h-3 w-3"})})]})]})})}),t(p,{side:"right",className:"max-w-xs",children:s("div",{className:"space-y-1",children:[t("p",{className:"font-medium text-sm",children:e.title}),t("p",{className:"text-xs",children:e.lastMessage})]})})]},e.id))})})]})})})}export{M as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as n}from"./chunk-MZP7RIQZ.mjs";import{a as i}from"./chunk-GETYSIZV.mjs";import{a as
|
|
1
|
+
import{a as n}from"./chunk-MZP7RIQZ.mjs";import{a as i}from"./chunk-GETYSIZV.mjs";import{a as l}from"./chunk-U3FYDDE2.mjs";import{a as m}from"./chunk-HKMNAXLM.mjs";import{ChevronRightIcon as c,HomeIcon as f}from"@heroicons/react/20/solid";import{Fragment as h,jsx as e,jsxs as a}from"react/jsx-runtime";var d={highImpact:i,lowImpact:l,mediumImpact:m,sectionHero:n},H=t=>{let{type:o}=t||{};if(!o||o==="none")return null;let r=d[o];return r?e(r,{...t}):null};function N({breadcrumbItems:t}){if(t&&t.length>0){let o=t.filter(r=>r.label.toLowerCase()!=="home");return e("nav",{"aria-label":"Breadcrumb",className:"flex",children:a("ol",{role:"list",className:"flex items-center space-x-4",children:[e("li",{children:e("div",{children:a("a",{href:"/",className:"text-foreground hover:text-accent",children:[e(f,{"aria-hidden":"true",className:"size-5 shrink-0"}),e("span",{className:"sr-only",children:"Home"})]})})}),o.map((r,s)=>e("li",{children:a("div",{className:"flex items-center",children:[e(c,{"aria-hidden":"true",className:"size-5 shrink-0 text-gray-400"}),r.href?e("a",{href:r.href,className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:r.label}):e("div",{className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:r.label})]})},s))]})})}return e(h,{})}export{H as a,N as b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as
|
|
4
|
+
import{a as k}from"./chunk-BQQ4V4PX.mjs";import{a as C}from"./chunk-KZAYLEFB.mjs";import{a as S,b as w}from"./chunk-4SRUEQTP.mjs";import{a as g}from"./chunk-MZP7RIQZ.mjs";import{a as u}from"./chunk-GETYSIZV.mjs";import{a as v}from"./chunk-U3FYDDE2.mjs";import{a as f}from"./chunk-HKMNAXLM.mjs";import{c as m,f as p}from"./chunk-FYQBRCQM.mjs";import{a as d}from"./chunk-VRE6VCHX.mjs";import{a as s}from"./chunk-7WIO2CIC.mjs";import{a as x}from"./chunk-6C4WESLL.mjs";import{a as N}from"./chunk-CLGBBNRB.mjs";import{a as h}from"./chunk-FMJBJ3HN.mjs";import{a as n}from"./chunk-MDJREBVI.mjs";import{a as b}from"./chunk-WU3JMLSC.mjs";import{a as y}from"./chunk-BZAYEKYC.mjs";import z from"next/image";import{jsx as e,jsxs as o}from"react/jsx-runtime";var H=t=>({root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:t,type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}}),T=({children:t})=>e("div",{children:o("div",{className:"sticky top-0 h-screen",children:[t,e(s,{className:"text-black z-10",position:"header"})]})}),R=()=>o(T,{children:[o("video",{className:"fixed inset-0 object-cover w-full h-full z-0",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:[e("source",{src:"assets/videos/background2.mp4",type:"video/mp4"}),"Your browser does not support the video tag."]}),e("div",{className:"fixed inset-0 h-full z-10 flex flex-col items-start justify-center text-white px-4",children:e(h,{children:o("div",{className:"flex flex-col items-start md:w-1/2 mb-10 z-0 md:mb-0",children:[e("h1",{className:"text-5xl md:text-7xl mb-6",children:"Lorum ipsum."}),e("div",{className:"text-lg md:text-2xl text-gray-300 mb-8 max-w-lg",children:"Lorum ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec dui ac odio."})]})})})]}),L={highImpact:u,lowImpact:v,mediumImpact:f,sectionHero:g,dummy:R};function P({...t}){let i=t.style;return o("div",{className:"relative overflow-y-none scroll-smooth snap-y snap-mandatory",children:[e(N,{isMenuOpen:!0,logoLight:y,logoDark:b,...t.header}),e(I,{...t.hero}),e(c,{theme:"light",style:i,children:e(k,{...t.service})}),e(c,{theme:"dark",style:i,image:t.service.services[0].image,children:e(j,{})}),e(c,{theme:"light",style:i,children:e(j,{})}),e(c,{theme:"dark",style:i,children:e(S,{...t.contact})}),e(c,{theme:"light",style:i,children:e(w,{...t.contact})}),e(c,{theme:"last",style:i,children:e(C,{...t.blog})}),e(m,{...t.cta}),e(x,{...t.footer})]})}var I=t=>{let{type:i}=t||{};if(!i||i==="none")return null;let l=L[i];return l?e(l,{...t}):null},j=()=>{let t={blurDataURL:"/assets/props/Cortex-Handshake-BG.jpg",height:1315,url:"/assets/props/Cortex-Handshake-BG.jpg",width:1920};return e("div",{className:"container",children:o("div",{className:"w-full grid grid-cols-1 md:grid-cols-2 gap-1 items-center justify-center",children:[o("div",{className:n("w-full text-left"),children:[e("h2",{className:"text-3xl md:text-5xl text-primary",children:"Lorum ipsum..."}),e("p",{className:"mt-4 text-gray-700 text-lg",children:e(p,{enableGutter:!1,content:H("Lorum ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec dui ac odio. Nulla facilisi. Nullam nec nisi nec odio ultricies ultricies. Nullam nec nisi nec odio ultricies ultricies. Nullam nec nisi nec odio ultricies ultricies. Lorum ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec dui ac odio. Nulla facilisi. Nullam nec nisi nec odio ultricies ultricies. Nullam nec nisi nec odio ultricies ultricies. Nullam nec nisi nec odio ultricies ultricies."),enableProse:!1,className:n("prose prose-headings:text-foreground prose-p:text-foreground")})}),e("button",{className:"mt-6 px-6 py-3 border border-1 border-accent text-foreground rounded-full text-base hover:bg-accent hover:text-accent-foreground transition",children:"Click here"})]}),e("div",{className:"w-full h-full min-h-96 p-6 md:p-6 flex justify-center",children:e(z,{src:t.url,alt:"image",width:t.width,height:t.height,className:"max-w-full"})})]})})},c=({children:t,theme:i,style:l,neighbours:M,shape:D,image:B,id:r,continueTheme:F})=>{let G=a=>o("div",{className:"select-none",children:[a&&typeof a=="object"&&e(d,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:a}),a&&typeof a=="string"&&e("div",{children:e(z,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:a})})]});if(i==="dark"&&l==="slide")return e("section",{id:r||"next-section",className:"sticky md:top-0 h-screen",children:o("div",{className:"dark pt-0 min-h-[80vh]",children:[e(s,{className:"z-10",position:"dark-top"}),o("div",{className:"relative",children:[e("div",{className:"flex items-center bg-black justify-center pt-12",children:e("div",{className:"container",children:t})}),e(s,{className:"z-10",position:"dark-bottom"})]})]})});if(i==="light"&&l==="slide")return e("section",{id:r||"next-section",className:"sticky top-0 light pt-0 h-screen",children:o("div",{className:"sticky top-0 light pt-0 h-screen",children:[e(s,{className:"z-10",position:"light-top"}),o("div",{className:"relative bg-white",children:[e("div",{className:"flex items-center bg-white justify-center pt-12",children:e("div",{className:"container",children:t})}),e("div",{className:"h-[200px] bg-white"})]})]})});if(i==="first")return e("section",{id:r||"next-section",className:"",children:e("div",{className:"sticky top-0 light bg-background pt-6 min-h-[80vh]",children:o("div",{className:"relative",children:[e("div",{className:"flex items-center justify-center pt-12",children:e("div",{className:"container",children:t})}),e(s,{className:"text-black z-10",position:"bottom-right"})]})})});if(i==="light")return e("section",{id:r||"next-section",className:"",children:e("div",{className:n("sticky top-0 light bg-background min-h-[50vh]","pb-10"),children:e("div",{className:"flex items-center pt-8 justify-center",children:e("div",{className:"container",children:t})})})});if(i==="dark")return e("section",{id:r||"next-section",className:"",children:o("div",{className:"sticky -top-[1px] dark min-h-[80vh] bg-white",children:[e(s,{className:"text-black z-10",position:"bottom-right"}),e("div",{className:"flex items-center justify-center pt-12 bg-black",children:e("div",{className:"container",children:t})}),e(s,{className:"text-accent z-10",position:"top"})]})});if(i==="last")return e("section",{id:r||"next-section",className:"",children:o("div",{className:"sticky -top-[1px] dark min-h-[80vh] bg-white",children:[e(s,{className:"text-black z-10",position:"bottom-right"}),e("div",{className:"flex items-center justify-center pb-12 bg-black min-h-[80vh]",children:e("div",{className:"container",children:t})})]})})};export{P as a,c as b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as b}from"./chunk-2GNX22CR.mjs";import{a as I}from"./chunk-
|
|
4
|
+
import{a as b}from"./chunk-2GNX22CR.mjs";import{a as I}from"./chunk-56X4PU43.mjs";import{a as S}from"./chunk-HME6CJ6L.mjs";import{useChat as me}from"@ai-sdk/react";import{useState as l}from"react";import{motion as ge,AnimatePresence as fe}from"framer-motion";import{Users as he}from"lucide-react";import{jsx as i,jsxs as ye}from"react/jsx-runtime";function Ae({aiConfig:F,useCustomChat:w,enableAI:T=!0,messages:D=[],businessUnits:B=[],capabilities:R=[],sidebarItems:N=[],notifications:x=[],sessions:M=[],onNewChat:A,onSessionSelect:L,onSessionDelete:P,onSessionEdit:k=()=>{},onBusinessUnitChange:E=()=>{},onNotificationRemove:K=()=>{},onRemoveAll:O=()=>{},onActionClick:$=()=>{},onSearch:q=p=>console.log("Search query:",p),initialTeam:z="design",currentSession:g=null,showCapabilities:Ce=!0,title:W="Digital Colleagues",enableFileUpload:f=!0,maxFileSize:h=10,allowedFileTypes:y=["image/*","text/*","application/pdf","application/msword","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],logo:H="/headerlogo.png",appName:X="Nuvia",tagline:G="AI-Powered Workspace",actionIcon:J=i(he,{className:"mr-2 h-4 w-4"}),actionText:Q="Collaborate",sidebarInitiallyClosed:V=!1}){let p=me(F||{}),n=T?w||p:null,[Y,u]=l(""),[Z,C]=l(!1),_=n?.messages||D,r=Y,j=n?.status==="submitted"||Z,ee=n?.addToolResult?(e,t,s)=>{n.addToolResult({tool:t,toolCallId:e,output:s}),n.sendMessage()}:()=>{},o=B||[],se={id:"default",name:"Default Team",description:"Default team when no business units are available",icon:"\u{1F3E2}",color:"bg-gray-500",accentColor:"bg-gray-600"},[te,ie]=l(()=>o.length===0?se:o.find(e=>e.id===z)||o[0]),[a,c]=l([]),[ne,oe]=l(!1),ae=e=>{if(!e||!f)return;let t=[];Array.from(e).forEach(s=>{if(s.size>h*1024*1024){alert(`File ${s.name} is too large. Maximum size is ${h}MB.`);return}if(y.length>0&&!y.some(d=>s.type.match(d))){alert(`File type ${s.type} is not allowed.`);return}let U={id:Date.now().toString()+Math.random().toString(36).substr(2,9),file:s,status:"pending",progress:0};if(s.type.startsWith("image/")){let d=new FileReader;d.onload=pe=>{c(ue=>ue.map(m=>m.id===U.id?{...m,preview:pe.target?.result}:m))},d.readAsDataURL(s)}t.push(U)}),c(s=>[...s,...t])},le=e=>{c(t=>t.filter(s=>s.id!==e))},v=()=>{if(!(!r.trim()&&a.length===0)){if(n){let e=a.length>0?re(a.map(t=>t.file)):void 0;n.sendMessage({text:r,files:e},{body:{timestamp:Date.now()}}),u("")}else console.log("Message to send:",r),console.log("Files to upload:",a),u(""),C(!0),setTimeout(()=>{C(!1)},1500);c([])}},re=e=>{let t=new DataTransfer;return e.forEach(s=>t.items.add(s)),t.files},ce=e=>{e.key==="Enter"&&!e.shiftKey&&(e.preventDefault(),v())},de=e=>{u(e)};return i(b,{sidebarItems:N||[],title:W,notifications:x||[],businessUnits:o,currentBusinessUnit:te,onBusinessUnitChange:e=>{e&&(ie(e),E?.(e))},onSearch:q,showTabs:!1,onActionClick:$,actionIcon:J,actionText:Q,onNotificationRemove:K,onRemoveAll:O,logo:H,appName:X,tagline:G,sidebarInitiallyClosed:V,children:i(fe,{mode:"wait",children:i(ge.div,{className:"flex-1 h-full",initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},children:ye("div",{className:"h-full flex",children:[i("div",{className:"w-80 flex-shrink-0 h-full p-2",children:i(I,{sessions:M||[],currentSession:g,teams:o,onNewChat:A,onSessionSelect:L,onSessionEdit:k,onSessionDelete:P})}),i("div",{className:"flex-1 h-full p-2",children:i(S,{messages:_||[],input:r,isTyping:j,currentSessionTitle:g?.title,capabilities:R||[],onInputChange:de,addToolResult:ee,onSendMessage:v,onKeyPress:ce,fileUploads:a,isDragOver:ne,enableFileUpload:f,onFileUpload:ae,onRemoveFile:le,onDragOver:oe})})]})},"chat-interface")})})}export{Ae as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as c}from"./chunk-SV7NMNDI.mjs";import{a as d}from"./chunk-2OOJ4ZFB.mjs";import{c as g}from"./chunk-YNNW2C2U.mjs";import{a as
|
|
1
|
+
import{a as c}from"./chunk-SV7NMNDI.mjs";import{a as d}from"./chunk-2OOJ4ZFB.mjs";import{c as g}from"./chunk-YNNW2C2U.mjs";import{a as p}from"./chunk-FMJBJ3HN.mjs";import{a as l}from"./chunk-WISCWNL2.mjs";import{a as i}from"./chunk-MDJREBVI.mjs";import f from"next/image";import{FaArrowRight as x}from"react-icons/fa6";import{jsx as e,jsxs as r}from"react/jsx-runtime";function z({blogs:a,sectionHeading:t,base:n="insights"}){return r(p,{children:[e("div",{className:"",children:t&&e("div",{"data-aos":"fade-up","data-aos-delay":"100",children:e(d,{...t,alignment:"start",hasBottomSpacing:!0})})}),a&&a.length>0&&e("div",{className:"-mx-4 flex flex-wrap justify-start gap-y-4",children:a.map((s,o)=>e("div",{"data-aos":"fade-up","data-aos-delay":c([200,400,600],o),className:"w-full h-full md:w-1/2 md:px-4 lg:w-1/3",children:e(v,{...s,base:n})},o))})]})}var u=i("inline-flex items-center gap-2 text-white"),L=i("text-sm text-white");function v({slug:a,meta:t,authors:n,title:s,publishedAt:o,categories:h,base:m}){return r("article",{className:"group/blog relative z-1 flex h-full min-h-[452px] flex-col overflow-hidden rounded-5 p-0",children:[e("span",{className:"absolute inset-0 z-[2] "}),e(f,{src:t?.image?.url||"/assets/images/brand/cortex-reply-gradient.png",alt:t?.image?.alt||"Blog image",fill:!0,sizes:`
|
|
2
2
|
(min-width:768px) 50vw,
|
|
3
3
|
(min-width:1024px) 33vw,
|
|
4
4
|
100vw
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as
|
|
1
|
+
import{a as M}from"./chunk-HHYHENVF.mjs";import{a as j}from"./chunk-ORNGKQM7.mjs";import{a as x}from"./chunk-WY2CT5AT.mjs";import{a as N}from"./chunk-6YHVVP3S.mjs";import{a as B}from"./chunk-AMV3MECK.mjs";import{a as O}from"./chunk-2NMVE5M4.mjs";import{b as w}from"./chunk-CSBGSBEU.mjs";import{useEffect as y,useState as o}from"react";import{Fragment as Z,jsx as a,jsxs as r}from"react/jsx-runtime";var ls=({initialTasks:m=[],initialEpics:k=[],initialSprints:u=[],initialProjects:_=[],onAddTask:I,onUpdateTask:T,onDeleteTask:C,onTaskClick:K,onAddEpic:R})=>{let[F,n]=o(m),[d,D]=o(k),[f,H]=o(u),[U,S]=o(!1),[V,h]=o(!1),[c,g]=o(null),[v,b]=o(null),P=d.filter(s=>!0).map(s=>s.id),l=f.find(s=>s.isSelected);y(()=>{n(m)},[m]),y(()=>{D(k)},[k]),y(()=>{H(u)},[u]);let $=F.filter(s=>{let t=P.includes(s.epicId);return!l||l.id==="all-tasks"?t:l.id==="backlog"?t&&!s.sprintId:t&&s.sprintId===l.id}),q=s=>$.filter(t=>t.status===s),z=s=>{let t={};return d.forEach(e=>{t[e.id]=s.filter(i=>i.epicId===e.id)}),t},G=s=>{b(s)},J=s=>{v&&(n(t=>t.map(e=>e.id===v.id?{...e,status:s}:e)),T?.(v.id,{status:s}),b(null))},L=s=>{let t={...s,id:Date.now().toString(),createdAt:new Date};n(e=>[...e,t]),I?.(s)},Q=async(s,t)=>{n(e=>e.map(i=>i.id===s?{...i,...t}:i)),T&&await T(s,t)},W=async s=>{n(t=>t.filter(e=>e.id!==s)),c?.id===s&&g(null),C&&await C(s)},X=s=>{let t={...s,id:Date.now().toString(),isSelected:!0};D(e=>[...e,t]),R?.(s)},Y=s=>{g(s),K?.(s)};return r("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[a(O,{title:"Project Board",description:"Manage tasks and track progress across your project sprints.",gradient:"bg-gradient-to-r from-purple-600 via-violet-600 to-indigo-600",primaryAction:{label:"Add task",onClick:()=>S(!0)},secondaryAction:{label:"Add epic",onClick:()=>h(!0)}}),a("div",{className:"flex-1",children:r("div",{className:"w-full",children:[a("div",{className:"grid grid-cols-1 lg:grid-cols-4 gap-6",children:[{id:"todo",title:"To Do",status:"todo"},{id:"in-progress",title:"In Progress",status:"in-progress"},{id:"review",title:"Review",status:"review"},{id:"done",title:"Done",status:"done"}].map(s=>{let t=q(s.status),e=z(t);return a(B,{title:s.title,status:s.status,taskCount:t.length,onDrop:J,isCompact:s.status==="done",children:P.map(i=>{let A=d.find(p=>p.id===i),E=e[i]||[];return E.length===0?null:r("div",{className:"mb-6",children:[r("div",{className:"flex items-center gap-2 mb-3",children:[a("div",{className:`w-3 h-3 rounded-full ${A?.color}`}),a("span",{className:"text-sm font-medium text-muted-foreground select-none-important",children:A?.name}),a(w,{variant:"secondary",className:"text-xs",children:E.length})]})," ",a("div",{className:"space-y-3",children:E.map(p=>a(N,{task:p,epic:A,onDragStart:G,onTaskClick:Y,isCompact:s.status==="done"},p.id))})]},i)})},s.id)})}),r(Z,{children:[a(x,{isOpen:U,onClose:()=>S(!1),onAddTask:L,epics:d,sprints:f}),a(j,{isOpen:V,onClose:()=>h(!1),onAddEpic:X}),c&&a(M,{isOpen:!!c,onClose:()=>g(null),task:c,epics:d,sprints:f,onUpdateTask:Q,onDeleteTask:W})]})]})})]})};export{ls as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as u}from"./chunk-KML6U7IE.mjs";import{a as C}from"./chunk-KGEIN56Y.mjs";import{f as g}from"./chunk-FYQBRCQM.mjs";import{b as f}from"./chunk-ZUA4KNIR.mjs";import{a as c,b as x,c as v,e as p}from"./chunk-YO3GQYRJ.mjs";import{a as
|
|
1
|
+
import{a as u}from"./chunk-KML6U7IE.mjs";import{a as C}from"./chunk-KGEIN56Y.mjs";import{f as g}from"./chunk-FYQBRCQM.mjs";import{b as f}from"./chunk-ZUA4KNIR.mjs";import{a as c,b as x,c as v,e as p}from"./chunk-YO3GQYRJ.mjs";import{a as b}from"./chunk-FMJBJ3HN.mjs";import{a as h}from"./chunk-WISCWNL2.mjs";import U from"next/image";import{notFound as M}from"next/navigation";import w from"next/link";import{FaLinkedin as I}from"react-icons/fa6";import{jsx as e,jsxs as s}from"react/jsx-runtime";function L({image:t,name:i,about:l,socialLinks:o}){return!t||!t.src||t.src.length<3||!i?null:e("div",{className:"mt-1 z-10 px-0 pt-0 lg:px-10",children:e(c,{children:s(p,{className:"flex flex-col items-center",children:[t&&t.src&&e(U,{src:t.src,alt:t.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:u,className:"mx-auto mt-6 rounded-full object-cover"}),s("h3",{className:"flex items-center ali font-secondary text-center py-2 text-lg leading-[1.25] text-accent md:text-xl",children:[i,o&&o.length>0&&e("nav",{"aria-label":"social links",children:e("ul",{className:"inline-flex items-center divide-x divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:o.map((a,m)=>a.href&&e("li",{children:e(h,{href:a.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 hover:text-accents",children:e("span",{children:a.icon})})},m))})})]}),e("p",{children:l})]})})})}function j({page:t,categoryList:i,edit:l=!1,path:o="/admin/collections/posts/"}){if(!t)return M();let{meta:a,populatedAuthors:m,authors:P,categories:N,content:k,title:y}=t,A={image:{src:a&&a.image&&a.image.url||void 0,alt:a&&a.image&&a.image.alt||void 0},authorName:m?.[0]?.name||"",category:N,commentCount:0,title:y,description:a?.description||""},d=P?.map(r=>{let n=r.profilePicture&&r.profilePicture.sizes?.square?.url||r.profilePicture&&r.profilePicture.sizes?.thumbnail?.url||"";return console.log("val:",n),{name:r.name||"",about:r.about||"",image:{src:n,alt:r.name||"blog author"},socialLinks:[{icon:e(I,{}),href:r.linkedIn??""}]}});return console.log(d),e(b,{children:s("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[e("div",{children:s("div",{className:"[&_p+P]:mt-4",children:[e("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),e(g,{content:k,enableGutter:!1,className:"prose-invert"})]})}),s("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[l&&e("div",{className:"mt-4 lg:-mt-10 z-10 px-0 pt-0 lg:px-10",children:s(c,{children:[e(x,{children:e(v,{className:"text-accent",children:"Content Actions"})}),s(p,{children:[e("p",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),e(w,{href:`${o}${t.id}`,children:e(f,{variant:"outline",className:"w-full text-accent hover:text-foreground",children:"Edit"})})]})]})}),d&&d.map((r,n)=>e(L,{...r},n)),i&&i.links&&e("div",{className:"mt-4 px-0 pt-0 lg:px-10",children:e(C,{links:i.links,title:i.title})})]})]})})}export{j as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as O}from"./chunk-U3F45KVI.mjs";import{a as
|
|
4
|
+
import{a as O}from"./chunk-U3F45KVI.mjs";import{a as T}from"./chunk-PEQOQ7BK.mjs";import{a as S}from"./chunk-URYIYEGY.mjs";import{a as j}from"./chunk-2CS6P44F.mjs";import{a as p,b as B,d as I}from"./chunk-5OQF3MNO.mjs";import{a as F}from"./chunk-5RTGHMF3.mjs";import{a as i}from"./chunk-2NMVE5M4.mjs";import{a as P}from"./chunk-2GNX22CR.mjs";import{a as w,b as k,e as A}from"./chunk-PA4ZBJDO.mjs";import{b as m}from"./chunk-ZUA4KNIR.mjs";import{b as v}from"./chunk-CSBGSBEU.mjs";import{a as h,b,c as N,d as x,e as y,f as C}from"./chunk-YO3GQYRJ.mjs";import{useState as U}from"react";import{motion as W,AnimatePresence as _}from"framer-motion";import{Bot as $}from"lucide-react";import{motion as Y}from"framer-motion";import{Star as K}from"lucide-react";import{jsx as s,jsxs as r}from"react/jsx-runtime";function g({app:a,onOpen:d,onFavorite:l,showProgress:n=!1,className:c}){return s(Y.div,{whileHover:{scale:1.02,y:-5},whileTap:{scale:.98},className:c,children:r(h,{className:"overflow-hidden rounded-3xl border-2 hover:border-primary/50 transition-all duration-300",children:[s(b,{className:"pb-2",children:r("div",{className:"flex items-center justify-between",children:[s("div",{className:"flex h-12 w-12 items-center justify-center rounded-2xl bg-muted",children:a.icon}),a.new?s(v,{className:"rounded-xl bg-amber-500",children:"New"}):s(m,{variant:"ghost",size:"icon",className:"h-8 w-8 rounded-2xl",onClick:()=>l?.(a),children:s(K,{className:"h-4 w-4"})})]})}),r(y,{className:"pb-2",children:[s(N,{className:"text-lg",children:a.name}),s(x,{children:a.description}),n&&a.progress<100&&r("div",{className:"mt-2",children:[r("div",{className:"flex items-center justify-between text-sm",children:[s("span",{children:"Installation"}),r("span",{children:[a.progress,"%"]})]}),s(F,{value:a.progress,className:"h-2 mt-1 rounded-xl"})]})]}),s(C,{children:s(m,{variant:"secondary",className:"w-full rounded-2xl",onClick:()=>d?.(a),children:a.progress<100?"Continue Install":"Open"})})]})})}import{jsx as e,jsxs as o}from"react/jsx-runtime";function q({title:a="Digital Colleagues",businessUnits:d}){let[l,n]=U("home"),[c,D]=U(d[0]),u=t=>{console.log("Opening app:",t.name)},f=t=>{console.log("Favoriting app:",t.name)},R=t=>{console.log("Opening file:",t.name)},J=t=>{console.log("Sharing file:",t.name)},H=t=>{console.log("Opening project:",t.name)},L=t=>{console.log("Sharing project:",t.name)},V=t=>{D(t),console.log("Business unit changed to:",t.name)},z=()=>{console.log("Copilot clicked - navigating to chat"),n("chat")},E=t=>{console.log("Notification removed:",t)},G=()=>{console.log("All notifications removed")},M=()=>{switch(l){case"home":return o("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[o("section",{className:"text-center py-12",children:[o("h1",{className:"text-4xl font-bold mb-4",children:["Welcome to the ",c.name," team"]}),e("p",{className:"text-xl text-muted-foreground mb-8",children:"This is your collaborative workspace for productivity and knowledge sharing."})]}),o("section",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[o("div",{className:"bg-card p-6 rounded-lg border",children:[e("h3",{className:"text-lg font-semibold mb-2",children:"Projects"}),e("p",{className:"text-3xl font-bold text-primary",children:"12"}),e("p",{className:"text-sm text-muted-foreground",children:"Active projects"})]}),o("div",{className:"bg-card p-6 rounded-lg border",children:[e("h3",{className:"text-lg font-semibold mb-2",children:"Team Members"}),e("p",{className:"text-3xl font-bold text-primary",children:"8"}),e("p",{className:"text-sm text-muted-foreground",children:"Collaborators"})]}),o("div",{className:"bg-card p-6 rounded-lg border",children:[e("h3",{className:"text-lg font-semibold mb-2",children:"Files"}),e("p",{className:"text-3xl font-bold text-primary",children:"156"}),e("p",{className:"text-sm text-muted-foreground",children:"Project files"})]})]}),e(i,{title:"Chat with your team",gradient:"bg-gradient-to-r from-pink-600 via-red-600 to-orange-600",primaryAction:{label:"Go",onClick:()=>n("chat")}})]});case"colleagues":return e(O,{});case"chat":return o("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[o("section",{className:"text-center py-12",children:[e("h1",{className:"text-4xl font-bold mb-4",children:"Team Chat"}),o("p",{className:"text-xl text-muted-foreground mb-8",children:["Connect with your ",c.name," team members and collaborate in real-time."]})]}),e(i,{title:"Launch Full Chat Interface",description:"Access the complete chat experience with AI assistance.",gradient:"bg-gradient-to-r from-blue-600 via-purple-600 to-pink-600",primaryAction:{label:"Open Chat",onClick:()=>console.log("Open full chat interface")}})]});case"apps":return o("div",{className:"space-y-8",children:[e(i,{title:"Creative Apps Collection",description:"Discover our full suite of professional design and creative applications.",gradient:"bg-gradient-to-r from-pink-600 via-red-600 to-orange-600",primaryAction:{label:"Install Desktop App",onClick:()=>console.log("Install desktop app clicked")}}),o("section",{className:"space-y-4",children:[e("h2",{className:"text-2xl font-semibold",children:"New Releases"}),e("div",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4",children:p.filter(t=>t.new).map(t=>e(g,{app:t,showProgress:!0,onOpen:u,onFavorite:f},t.name))})]}),o("section",{className:"space-y-4",children:[e("h2",{className:"text-2xl font-semibold",children:"All Apps"}),e("div",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4",children:p.map(t=>e(g,{app:t,onOpen:u,onFavorite:f},t.name))})]})]});case"knowledge":return e(S,{});case"files":return o("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[e(i,{title:"Your Creative Files",description:"Access, manage, and share all your design files in one place.",gradient:"bg-gradient-to-r from-teal-600 via-cyan-600 to-blue-600",primaryAction:{label:"Upload Files",onClick:()=>console.log("Upload files clicked")}}),o("section",{className:"space-y-4",children:[e("div",{className:"flex items-center justify-between",children:e("h2",{className:"text-2xl font-semibold",children:"All Files"})}),e(j,{files:B,onFileClick:R})]})]});case"projects":return o("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[e(i,{title:"Project Management",description:"Organize your creative work into projects and collaborate with your team.",gradient:"bg-gradient-to-r from-purple-600 via-violet-600 to-indigo-600",primaryAction:{label:"New Project",onClick:()=>console.log("New project clicked")}}),o("section",{className:"space-y-4",children:[e("h2",{className:"text-2xl font-semibold",children:"Active Projects"}),e("div",{className:"grid grid-cols-1 gap-3 md:grid-cols-2 lg:grid-cols-3",children:A.map(t=>e(T,{project:t,onOpen:H,onShare:L},t.name))})]})]});case"learn":return o("div",{className:"space-y-8",children:[e(i,{title:"Learn & Grow",description:"Expand your creative skills with tutorials, courses, and resources.",gradient:"bg-gradient-to-r from-green-600 via-emerald-600 to-teal-600",primaryAction:{label:"Upgrade to Pro",onClick:()=>console.log("Upgrade to pro clicked")}}),o("section",{className:"space-y-4",children:[e("h2",{className:"text-2xl font-semibold",children:"Featured Tutorials"}),e("div",{className:"grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-3",children:I.slice(0,3).map(t=>o("div",{className:"rounded-3xl border p-6",children:[e("h3",{className:"font-semibold mb-2",children:t.title}),e("p",{className:"text-sm text-muted-foreground mb-4",children:t.description}),o("div",{className:"flex items-center justify-between text-sm",children:[e("span",{children:t.duration}),e("span",{children:t.level})]})]},t.title))})]})]});default:return null}};return e(P,{sidebarItems:w,title:a,notifications:k,businessUnits:d,currentBusinessUnit:c,onBusinessUnitChange:V,activeTab:l,onTabChange:n,showTabs:!0,onActionClick:z,actionIcon:e($,{className:"mr-2 h-4 w-4"}),actionText:"Start Chat",onNotificationRemove:E,onRemoveAll:G,children:e(_,{mode:"wait",children:e(W.div,{className:"flex-1 h-full",initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},children:M()},l)})})}export{q as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as
|
|
1
|
+
import{a as m}from"../../chunk-RULSHTXR.mjs";import{a as x}from"../../chunk-77PCUNUC.mjs";import"../../chunk-IDG2O4B7.mjs";import{a as n}from"../../chunk-EPTHSTUM.mjs";import{a as p}from"../../chunk-JCH2CCQ7.mjs";import{a as i}from"../../chunk-RVRIMD6M.mjs";import{a as l}from"../../chunk-53QLSQCO.mjs";import"../../chunk-IJQC7T2R.mjs";import"../../chunk-J4IHIM6A.mjs";import"../../chunk-RYZTCMVC.mjs";import{a as q,b as r,c as s,d as t,e as u,f as v,g as w}from"../../chunk-P6OSMPUQ.mjs";import"../../chunk-MO4HRQEL.mjs";import{a as o}from"../../chunk-PTZT4QJW.mjs";import{a,b,c,d as h}from"../../chunk-FYQBRCQM.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-2QZUKVBA.mjs";import"../../chunk-SRUG246N.mjs";import"../../chunk-4CU7D3X2.mjs";import"../../chunk-JYL3XIJX.mjs";import"../../chunk-LVK4QE5D.mjs";import"../../chunk-LKGCU7H6.mjs";import"../../chunk-5WV5ZFEP.mjs";import"../../chunk-KX2NCNCS.mjs";import"../../chunk-LEC6GEWS.mjs";import"../../chunk-NSMXJCXE.mjs";import{a as g}from"../../chunk-VNYUNZ3M.mjs";import{a as f}from"../../chunk-UZSBX5GO.mjs";import"../../chunk-VRE6VCHX.mjs";import"../../chunk-KFCSVEI6.mjs";import"../../chunk-TEB67NCD.mjs";import{a as e}from"../../chunk-LXZAOORS.mjs";import"../../chunk-MGYV46AJ.mjs";import{a as d}from"../../chunk-CGDLOY7W.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-ZUA4KNIR.mjs";import{a as j}from"../../chunk-H7D3PZKE.mjs";import{a as k}from"../../chunk-IQPZEEYJ.mjs";import"../../chunk-AZ4VR5JX.mjs";import"../../chunk-BG7QXNV5.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as BannerBlock,c as CallToActionBlock,b as CallToActionBlockOld,e as CodeBlock,o as ContentBlock,d as CopyButton,v as DarkTop,h as FeaturesBlock,p as HeadingImage,g as ImageBlock,j as InfoTile,i as Insight,w as LightTop,k as MOTD,f as MediaBlock,l as OrgChart,m as ProposalSummary,x as RelatedPosts,r as RenderBlocks,t as RenderBlocksWithShapes,q as ReusableContentBlock,s as Theme,u as ThemeWithShapes,n as WhyUs};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as
|
|
1
|
+
import{a as d}from"../../chunk-MFCVMJBO.mjs";import{a as f}from"../../chunk-IQQ7ZWCP.mjs";import{a as e}from"../../chunk-RR4QSUV2.mjs";import{a as g}from"../../chunk-AMVJPDM3.mjs";import{a as c}from"../../chunk-V6GC3UGV.mjs";import{a as b}from"../../chunk-KVD6XDZT.mjs";import{a}from"../../chunk-LLED3RQS.mjs";import"../../chunk-YFAZQYK4.mjs";import"../../chunk-INCYANPB.mjs";import"../../chunk-B4H6T2GP.mjs";import"../../chunk-TVZOULLL.mjs";import"../../chunk-FT3AE7L2.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-L5JPAKPM.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";export{g as CRMCogeBoard,d as CRMKanbanBoard,b as DealCard,a as DealDetails,c as KanbanColumn,e as NewCustomerForm,f as NewDealForm};
|