cortex-react-components 2.8.0 → 2.9.0
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-2B5LH5XN.mjs +4 -0
- package/dist/chunk-2LINLX4S.mjs +4 -0
- package/dist/chunk-2RGAV55J.mjs +4 -0
- package/dist/chunk-3IVM6KAB.mjs +4 -0
- package/dist/chunk-3R75NUYA.mjs +4 -0
- package/dist/{chunk-QTILVWJA.mjs → chunk-4RYG24IZ.mjs} +1 -1
- package/dist/{chunk-URYIYEGY.mjs → chunk-5BV4MHV6.mjs} +1 -1
- package/dist/{chunk-ABGNIQRP.mjs → chunk-5RDLHKTK.mjs} +1 -1
- package/dist/chunk-6WQXZ6IE.mjs +4 -0
- package/dist/chunk-6XUIHSKG.mjs +4 -0
- package/dist/chunk-AREQGH47.mjs +4 -0
- package/dist/chunk-BHWGOTCJ.mjs +4 -0
- package/dist/chunk-CO6AQNZ5.mjs +4 -0
- package/dist/{chunk-TK4JC5PG.mjs → chunk-E64KWNOT.mjs} +1 -1
- package/dist/{chunk-X57JQVKC.mjs → chunk-ED7T3BDO.mjs} +1 -1
- package/dist/chunk-GHZ6CUY3.mjs +4 -0
- package/dist/{chunk-6OZUHBYJ.mjs → chunk-GN25OSET.mjs} +1 -1
- package/dist/{chunk-KOXC4RIH.mjs → chunk-I5NNEOCF.mjs} +1 -1
- package/dist/{chunk-A3YDFYEB.mjs → chunk-LUM6KEWN.mjs} +1 -1
- package/dist/{chunk-GLBQHEMQ.mjs → chunk-MO2B5CDW.mjs} +1 -1
- package/dist/chunk-MU5WPW4N.mjs +4 -0
- package/dist/chunk-NVHQBM66.mjs +4 -0
- package/dist/chunk-O46BOA4T.mjs +1 -0
- package/dist/{chunk-NZCHFTHJ.mjs → chunk-OYZX5BM4.mjs} +1 -1
- package/dist/chunk-PH67DP3M.mjs +4 -0
- package/dist/chunk-PWXCBW2H.mjs +4 -0
- package/dist/{chunk-ZFUP5NVF.mjs → chunk-PXLSH6S2.mjs} +1 -1
- package/dist/{chunk-PIOFHZSJ.mjs → chunk-QQFIVSBW.mjs} +1 -1
- package/dist/chunk-R6AYIVIR.mjs +6 -0
- package/dist/chunk-RHR3YOLG.mjs +4 -0
- package/dist/{chunk-DPZHVBGG.mjs → chunk-RRME4EHD.mjs} +1 -1
- package/dist/chunk-U67OTPTT.mjs +4 -0
- package/dist/chunk-UML2QHEN.mjs +5 -0
- package/dist/chunk-VGWDYD6Z.mjs +4 -0
- package/dist/{chunk-RAGDUV7M.mjs → chunk-XIGBDWYI.mjs} +1 -1
- package/dist/{chunk-2GNX22CR.mjs → chunk-XOH2L4XW.mjs} +1 -1
- package/dist/{chunk-S4A4VHOI.mjs → chunk-XW52WZ2B.mjs} +1 -1
- package/dist/chunk-Z22NSJMF.mjs +4 -0
- package/dist/chunk-ZXPDSSCF.mjs +4 -0
- package/dist/components/AdvancedComponents/app-header.js +1 -1
- package/dist/components/AdvancedComponents/app-header.mjs +1 -1
- package/dist/components/AdvancedComponents/index.js +1 -1
- package/dist/components/AdvancedComponents/index.mjs +1 -1
- package/dist/components/AdvancedComponents/navigation-tabs.js +1 -1
- package/dist/components/AdvancedComponents/navigation-tabs.mjs +1 -1
- package/dist/components/AdvancedComponents/notifications-panel.js +1 -1
- package/dist/components/AdvancedComponents/notifications-panel.mjs +1 -1
- package/dist/components/AdvancedComponents/user-selection.js +1 -1
- package/dist/components/AdvancedComponents/user-selection.mjs +1 -1
- package/dist/components/Chat/ChatInterface.js +1 -1
- package/dist/components/Chat/ChatInterface.mjs +1 -1
- package/dist/components/Chat/CopilotInterface.js +1 -1
- package/dist/components/Chat/CopilotInterface.mjs +1 -1
- package/dist/components/Chat/capability-menu.js +1 -1
- package/dist/components/Chat/capability-menu.mjs +1 -1
- package/dist/components/Chat/demo-long-messages.js +1 -1
- package/dist/components/Chat/demo-long-messages.mjs +1 -1
- package/dist/components/Chat/demo-tests.js +1 -1
- package/dist/components/Chat/demo-tests.mjs +1 -1
- package/dist/components/Chat/demo.js +1 -1
- package/dist/components/Chat/demo.mjs +1 -1
- package/dist/components/Chat/example-usage.js +1 -1
- package/dist/components/Chat/example-usage.mjs +1 -1
- package/dist/components/Chat/example-with-vercel-ai.js +1 -1
- package/dist/components/Chat/example-with-vercel-ai.mjs +1 -1
- package/dist/components/Chat/index.js +1 -1
- package/dist/components/Chat/index.mjs +1 -1
- package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +1 -1
- package/dist/components/DigitalColleagues/DigitalColleageusLayout.js +1 -1
- package/dist/components/DigitalColleagues/DigitalColleageusLayout.mjs +1 -1
- package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
- package/dist/components/DigitalColleagues/ManagementSidebar.mjs +1 -1
- package/dist/components/DigitalColleagues/Pages/dashboardpage.js +1 -1
- package/dist/components/DigitalColleagues/Pages/dashboardpage.mjs +1 -1
- package/dist/components/DigitalColleagues/Views/ColleaguesView.js +1 -1
- package/dist/components/DigitalColleagues/Views/ColleaguesView.mjs +1 -1
- package/dist/components/DigitalColleagues/Views/KnowledgeView.js +1 -1
- package/dist/components/DigitalColleagues/Views/KnowledgeView.mjs +1 -1
- package/dist/components/DigitalColleagues/Views/TeamsIndexView.js +1 -1
- package/dist/components/DigitalColleagues/Views/TeamsIndexView.mjs +1 -1
- package/dist/components/DigitalColleagues/Views/index.js +1 -1
- package/dist/components/DigitalColleagues/Views/index.mjs +1 -1
- package/dist/components/DigitalColleagues/colleague-type-selection.js +1 -1
- package/dist/components/DigitalColleagues/colleague-type-selection.mjs +1 -1
- package/dist/components/DigitalColleagues/digital-colleague-clone.js +1 -1
- package/dist/components/DigitalColleagues/digital-colleague-clone.mjs +1 -1
- package/dist/components/DigitalColleagues/digital-colleague-options.js +1 -1
- package/dist/components/DigitalColleagues/digital-colleague-options.mjs +1 -1
- package/dist/components/DigitalColleagues/document-edit.js +1 -1
- package/dist/components/DigitalColleagues/document-edit.mjs +1 -1
- package/dist/components/DigitalColleagues/document-preview-examples.js +1 -1
- package/dist/components/DigitalColleagues/document-preview-examples.mjs +1 -1
- package/dist/components/DigitalColleagues/document-preview.js +1 -1
- package/dist/components/DigitalColleagues/document-preview.mjs +1 -1
- package/dist/components/DigitalColleagues/index.js +1 -1
- package/dist/components/DigitalColleagues/index.mjs +1 -1
- package/dist/components/DigitalColleagues/knowledge-browser.js +1 -1
- package/dist/components/DigitalColleagues/knowledge-browser.mjs +1 -1
- package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/DashboardHero/DashboardHero.js +1 -1
- package/dist/components/Heros/DashboardHero/DashboardHero.mjs +1 -1
- package/dist/components/Heros/DashboardHero/index.js +1 -1
- package/dist/components/Heros/DashboardHero/index.mjs +1 -1
- package/dist/components/Heros/PostHero/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.js +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Icons/ScrollDownIcon.js +1 -1
- package/dist/components/Icons/ScrollDownIcon.mjs +1 -1
- package/dist/components/Layouts/SlideShow.js +1 -1
- package/dist/components/Layouts/SlideShow.mjs +1 -1
- package/dist/components/Layouts/index.js +1 -1
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.mjs +1 -1
- package/dist/components/Menus/SidebarRight.mjs +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Other/AnimatedBorder.js +1 -1
- package/dist/components/Other/AnimatedBorder.mjs +1 -1
- package/dist/components/Other/index.mjs +1 -1
- package/dist/components/Projects/EpicsView.js +1 -1
- package/dist/components/Projects/EpicsView.mjs +1 -1
- package/dist/components/Projects/FileView.js +1 -1
- package/dist/components/Projects/FileView.mjs +1 -1
- package/dist/components/Projects/KanbanBoardView.js +1 -1
- package/dist/components/Projects/KanbanBoardView.mjs +1 -1
- package/dist/components/Projects/PlanningView.js +1 -1
- package/dist/components/Projects/PlanningView.mjs +1 -1
- package/dist/components/Projects/ProjectPage.js +1 -1
- package/dist/components/Projects/ProjectPage.mjs +1 -1
- package/dist/components/Projects/ProjectView.js +1 -1
- package/dist/components/Projects/ProjectView.mjs +1 -1
- package/dist/components/Projects/ProjectsIndexView.js +1 -1
- package/dist/components/Projects/ProjectsIndexView.mjs +1 -1
- package/dist/components/Projects/TasksView.js +1 -1
- package/dist/components/Projects/TasksView.mjs +1 -1
- package/dist/components/Projects/file-list.js +1 -1
- package/dist/components/Projects/file-list.mjs +1 -1
- package/dist/components/Projects/project-card.js +1 -1
- package/dist/components/Projects/project-card.mjs +1 -1
- package/dist/components/Projects/team-card.js +1 -1
- package/dist/components/Projects/team-card.mjs +1 -1
- package/dist/components/dc-temp/creative.js +1 -1
- package/dist/components/dc-temp/creative.mjs +1 -1
- package/dist/components/dc-temp/dashboard-integration-example.js +1 -1
- package/dist/components/dc-temp/dashboard-integration-example.mjs +1 -1
- package/dist/components/dc-temp/index.js +1 -1
- package/dist/components/dc-temp/index.mjs +1 -1
- package/dist/components/index.js +2 -2
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/components/ui/sidebar.mjs +1 -1
- package/dist/index.js +2 -2
- 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.js +1 -1
- package/dist/pages/Publish.mjs +1 -1
- package/dist/pages/Website.mjs +1 -1
- package/dist/sections/BlogListSection.mjs +1 -1
- package/dist/sections/PageSections.mjs +1 -1
- package/dist/sections/ServiceSection.mjs +1 -1
- package/dist/sections/index.mjs +1 -1
- package/package.json +2 -3
- package/dist/chunk-2NMVE5M4.mjs +0 -4
- package/dist/chunk-2SAKLSZ4.mjs +0 -4
- package/dist/chunk-2THNVSE5.mjs +0 -4
- package/dist/chunk-3KITWLRN.mjs +0 -4
- package/dist/chunk-3PHJWI4Q.mjs +0 -4
- package/dist/chunk-A2AEX4YB.mjs +0 -4
- package/dist/chunk-AVHFRD6D.mjs +0 -4
- package/dist/chunk-BADFWNRL.mjs +0 -4
- package/dist/chunk-CBLP4MXP.mjs +0 -4
- package/dist/chunk-FRKGQKEM.mjs +0 -4
- package/dist/chunk-G3WMXDFV.mjs +0 -5
- package/dist/chunk-HME6CJ6L.mjs +0 -1
- package/dist/chunk-JHYWAL24.mjs +0 -6
- package/dist/chunk-JVUSZPSP.mjs +0 -4
- package/dist/chunk-M245YHYF.mjs +0 -4
- package/dist/chunk-MNI6AM7Q.mjs +0 -4
- package/dist/chunk-O4GULNQE.mjs +0 -4
- package/dist/chunk-PEQOQ7BK.mjs +0 -4
- package/dist/chunk-RUOYGMOR.mjs +0 -4
- package/dist/chunk-UPQQQYZZ.mjs +0 -4
- package/dist/chunk-VGARU7ZT.mjs +0 -4
- package/dist/chunk-WN2LPOQP.mjs +0 -4
- package/dist/chunk-XKM35QQD.mjs +0 -4
package/dist/pages/Website.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as n}from"../chunk-
|
|
1
|
+
import{a as n}from"../chunk-RRME4EHD.mjs";import"../chunk-MZP7RIQZ.mjs";import"../chunk-GETYSIZV.mjs";import"../chunk-HKMNAXLM.mjs";import"../chunk-U3FYDDE2.mjs";import{d as r}from"../chunk-P6OSMPUQ.mjs";import"../chunk-MO4HRQEL.mjs";import"../chunk-PTZT4QJW.mjs";import"../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"../chunk-VNYUNZ3M.mjs";import"../chunk-UZSBX5GO.mjs";import"../chunk-VRE6VCHX.mjs";import"../chunk-KFCSVEI6.mjs";import"../chunk-TEB67NCD.mjs";import"../chunk-LXZAOORS.mjs";import"../chunk-MGYV46AJ.mjs";import"../chunk-CGDLOY7W.mjs";import"../chunk-3UMMMQEH.mjs";import"../chunk-ZUA4KNIR.mjs";import"../chunk-AZ4VR5JX.mjs";import"../chunk-BG7QXNV5.mjs";import"../chunk-SOLZ4VQH.mjs";import"../chunk-CSBGSBEU.mjs";import"../chunk-YO3GQYRJ.mjs";import{a as s}from"../chunk-22LHS2J6.mjs";import"../chunk-IC2ABKAM.mjs";import"../chunk-FHMQVAKQ.mjs";import"../chunk-7WIO2CIC.mjs";import"../chunk-X5KZKO2V.mjs";import"../chunk-55EX54R7.mjs";import{a as i}from"../chunk-6C4WESLL.mjs";import{a}from"../chunk-CLGBBNRB.mjs";import"../chunk-WUA65ZZB.mjs";import"../chunk-WISC5QJV.mjs";import"../chunk-ZDPQXVTF.mjs";import"../chunk-PDY7JYY3.mjs";import"../chunk-Q5XT55O3.mjs";import"../chunk-FMJBJ3HN.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-FVM5SQT2.mjs";import"../chunk-MDJREBVI.mjs";import"../chunk-ZWHGOTSF.mjs";import{a as t}from"../chunk-Q3G5UAAD.mjs";import"../chunk-XGRRLABA.mjs";import{a as p}from"../chunk-WU3JMLSC.mjs";import{a as m}from"../chunk-BZAYEKYC.mjs";import"../chunk-YEKQJ4YC.mjs";import{Observer as c}from"tailwindcss-intersect";import{useEffect as d}from"react";import{jsx as o,jsxs as h}from"react/jsx-runtime";function g({...e}){let f=e.page,{contentWithIds:l,tableOfContents:y}=t(f);return d(()=>{c.start()},[]),h("div",{className:"relative overflow-none scroll-smooth snap-y snap-mandatory overscroll-contain",children:[o(a,{isMenuOpen:!0,logoLight:m,logoDark:p,wide:!0}),o("div",{children:o(n,{...e.hero})}),e.hero&&e.related&&o(s,{menuItems:e.related,dark:e.hero.type!=="highImpact",wide:!0}),o(r,{blocks:l}),o(i,{...e.footer})]})}export{g as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-EHSOO47V.mjs";import"../chunk-AEBUMA72.mjs";import"../chunk-OM5ZUHCN.mjs";import"../chunk-FMH5CZ7X.mjs";import"../chunk-SOIRB5TV.mjs";import"../chunk-BMA4266L.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-KGEIN56Y.mjs";import"../chunk-
|
|
1
|
+
import{a}from"../chunk-EHSOO47V.mjs";import"../chunk-AEBUMA72.mjs";import"../chunk-OM5ZUHCN.mjs";import"../chunk-FMH5CZ7X.mjs";import"../chunk-SOIRB5TV.mjs";import"../chunk-BMA4266L.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-KGEIN56Y.mjs";import"../chunk-4RYG24IZ.mjs";import"../chunk-E64KWNOT.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-PXLSH6S2.mjs";import"../chunk-D4IMQTVU.mjs";import"../chunk-7GSXNSLD.mjs";import"../chunk-4UIARERB.mjs";import"../chunk-L5JPAKPM.mjs";import"../chunk-KY7WQYN4.mjs";import"../chunk-ZUA4KNIR.mjs";import"../chunk-YO3GQYRJ.mjs";import"../chunk-FMJBJ3HN.mjs";import"../chunk-FVM5SQT2.mjs";import"../chunk-MDJREBVI.mjs";import"../chunk-ZWHGOTSF.mjs";import"../chunk-Q3G5UAAD.mjs";import"../chunk-XGRRLABA.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-YEKQJ4YC.mjs";export{a as BlogListSection};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";import{a,b}from"../chunk-
|
|
2
|
+
"use strict";import{a,b}from"../chunk-MO2B5CDW.mjs";import"../chunk-2GM2LPLB.mjs";import"../chunk-BQQ4V4PX.mjs";import"../chunk-KZAYLEFB.mjs";import"../chunk-EHSOO47V.mjs";import"../chunk-AEBUMA72.mjs";import"../chunk-4SRUEQTP.mjs";import"../chunk-6HLXIE4P.mjs";import"../chunk-Q6PKGY27.mjs";import"../chunk-GAZHKHGB.mjs";import"../chunk-SV7NMNDI.mjs";import"../chunk-F64CA5CH.mjs";import"../chunk-HDKHF3EA.mjs";import"../chunk-2OOJ4ZFB.mjs";import"../chunk-W7MEHF4G.mjs";import"../chunk-KML6U7IE.mjs";import"../chunk-R6AYIVIR.mjs";import"../chunk-L2CGDHVO.mjs";import"../chunk-CSWXKGJE.mjs";import"../chunk-KCCDR7HB.mjs";import"../chunk-PNUBVBSR.mjs";import"../chunk-7OMPPFGG.mjs";import"../chunk-3SZR5DC2.mjs";import"../chunk-VMAPGGGW.mjs";import"../chunk-GTK2SGS5.mjs";import"../chunk-AUBKJ4XO.mjs";import"../chunk-5BT4EWU5.mjs";import"../chunk-RVHCTANZ.mjs";import"../chunk-TZKQXT7Y.mjs";import"../chunk-5AWZJAK3.mjs";import"../chunk-B3F6F2S4.mjs";import"../chunk-MAAKU7PN.mjs";import"../chunk-UML2QHEN.mjs";import"../chunk-2B5LH5XN.mjs";import"../chunk-JB7IQQ3N.mjs";import"../chunk-5BV4MHV6.mjs";import"../chunk-3R75NUYA.mjs";import"../chunk-VGWDYD6Z.mjs";import"../chunk-ED7T3BDO.mjs";import"../chunk-OYZX5BM4.mjs";import"../chunk-GN25OSET.mjs";import"../chunk-AMV3MECK.mjs";import"../chunk-LUM6KEWN.mjs";import"../chunk-U67OTPTT.mjs";import"../chunk-D3B2YO7G.mjs";import"../chunk-2RGAV55J.mjs";import"../chunk-5RTGHMF3.mjs";import"../chunk-HHYHENVF.mjs";import"../chunk-PFLESLNT.mjs";import"../chunk-AB43AQKL.mjs";import"../chunk-ORNGKQM7.mjs";import"../chunk-6DEY5ZDD.mjs";import"../chunk-EBTFLN5U.mjs";import"../chunk-I5NNEOCF.mjs";import"../chunk-6YHVVP3S.mjs";import"../chunk-PH67DP3M.mjs";import"../chunk-GHZ6CUY3.mjs";import"../chunk-Z22NSJMF.mjs";import"../chunk-ZXPDSSCF.mjs";import"../chunk-RHR3YOLG.mjs";import"../chunk-AREQGH47.mjs";import"../chunk-EOXVYLPB.mjs";import"../chunk-TUI4S4GI.mjs";import"../chunk-EAFH3DTH.mjs";import"../chunk-QQVPLMPJ.mjs";import"../chunk-6XUIHSKG.mjs";import"../chunk-6WQXZ6IE.mjs";import"../chunk-CO6AQNZ5.mjs";import"../chunk-ZGQC6O62.mjs";import"../chunk-TR6RBROH.mjs";import"../chunk-XW52WZ2B.mjs";import"../chunk-XIGBDWYI.mjs";import"../chunk-5RDLHKTK.mjs";import"../chunk-LUPNE23E.mjs";import"../chunk-UWEU6TLS.mjs";import"../chunk-Q5NHYYRS.mjs";import"../chunk-LVFMFRBR.mjs";import"../chunk-ZSIYEVUV.mjs";import"../chunk-3IVM6KAB.mjs";import"../chunk-XOH2L4XW.mjs";import"../chunk-56X4PU43.mjs";import"../chunk-O46BOA4T.mjs";import"../chunk-SIL7AP7H.mjs";import"../chunk-QM5FOQHG.mjs";import"../chunk-6OCLRAHU.mjs";import"../chunk-2LINLX4S.mjs";import"../chunk-DBY4SXQI.mjs";import"../chunk-I3E2TYYZ.mjs";import"../chunk-LTTO57ZK.mjs";import"../chunk-IQQ7ZWCP.mjs";import"../chunk-RR4QSUV2.mjs";import"../chunk-AMVJPDM3.mjs";import"../chunk-MFCVMJBO.mjs";import"../chunk-V6GC3UGV.mjs";import"../chunk-KVD6XDZT.mjs";import"../chunk-LLED3RQS.mjs";import"../chunk-PWXCBW2H.mjs";import"../chunk-TJVEQJW3.mjs";import"../chunk-BE5B22X7.mjs";import"../chunk-PA4ZBJDO.mjs";import"../chunk-6SWKEZN6.mjs";import"../chunk-DFIXTV2M.mjs";import"../chunk-NVHQBM66.mjs";import"../chunk-AZKOVKSK.mjs";import"../chunk-BHWGOTCJ.mjs";import"../chunk-MU5WPW4N.mjs";import"../chunk-Q2DPE66H.mjs";import"../chunk-PC6TVU7J.mjs";import"../chunk-LYPWYO4W.mjs";import"../chunk-OM5ZUHCN.mjs";import"../chunk-FMH5CZ7X.mjs";import"../chunk-SOIRB5TV.mjs";import"../chunk-BMA4266L.mjs";import"../chunk-RRME4EHD.mjs";import"../chunk-MZP7RIQZ.mjs";import"../chunk-GETYSIZV.mjs";import"../chunk-HKMNAXLM.mjs";import"../chunk-U3FYDDE2.mjs";import"../chunk-F5N6KQA2.mjs";import"../chunk-U5PBLRRV.mjs";import"../chunk-Q5Q3DJWU.mjs";import"../chunk-4QRKVSTE.mjs";import"../chunk-E4TE4NV6.mjs";import"../chunk-JFFTEK6Z.mjs";import"../chunk-JHNVX4UB.mjs";import"../chunk-7BXIU4ZM.mjs";import"../chunk-YFAZQYK4.mjs";import"../chunk-INCYANPB.mjs";import"../chunk-B4H6T2GP.mjs";import"../chunk-TVZOULLL.mjs";import"../chunk-RLVKIMGU.mjs";import"../chunk-OCPX4QPC.mjs";import"../chunk-FT3AE7L2.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-KGEIN56Y.mjs";import"../chunk-4RYG24IZ.mjs";import"../chunk-76M7JE4D.mjs";import"../chunk-EPTHSTUM.mjs";import"../chunk-RVRIMD6M.mjs";import"../chunk-53QLSQCO.mjs";import"../chunk-RULSHTXR.mjs";import"../chunk-77PCUNUC.mjs";import"../chunk-IDG2O4B7.mjs";import"../chunk-J4IHIM6A.mjs";import"../chunk-JCH2CCQ7.mjs";import"../chunk-IJQC7T2R.mjs";import"../chunk-RYZTCMVC.mjs";import"../chunk-P6OSMPUQ.mjs";import"../chunk-MO4HRQEL.mjs";import"../chunk-PTZT4QJW.mjs";import"../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"../chunk-VNYUNZ3M.mjs";import"../chunk-UZSBX5GO.mjs";import"../chunk-VRE6VCHX.mjs";import"../chunk-KFCSVEI6.mjs";import"../chunk-TEB67NCD.mjs";import"../chunk-LXZAOORS.mjs";import"../chunk-MGYV46AJ.mjs";import"../chunk-CGDLOY7W.mjs";import"../chunk-3UMMMQEH.mjs";import"../chunk-E64KWNOT.mjs";import"../chunk-OYZDAMCS.mjs";import"../chunk-5NRGSTPV.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-PXLSH6S2.mjs";import"../chunk-D4IMQTVU.mjs";import"../chunk-7GSXNSLD.mjs";import"../chunk-4UIARERB.mjs";import"../chunk-L5JPAKPM.mjs";import"../chunk-KY7WQYN4.mjs";import"../chunk-ZUA4KNIR.mjs";import"../chunk-H7D3PZKE.mjs";import"../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-22LHS2J6.mjs";import"../chunk-IC2ABKAM.mjs";import"../chunk-FHMQVAKQ.mjs";import"../chunk-7WIO2CIC.mjs";import"../chunk-X5KZKO2V.mjs";import"../chunk-55EX54R7.mjs";import"../chunk-6C4WESLL.mjs";import"../chunk-CLGBBNRB.mjs";import"../chunk-WUA65ZZB.mjs";import"../chunk-WISC5QJV.mjs";import"../chunk-ZDPQXVTF.mjs";import"../chunk-PDY7JYY3.mjs";import"../chunk-Q5XT55O3.mjs";import"../chunk-FMJBJ3HN.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-FLHDNCNY.mjs";import"../chunk-WU3JMLSC.mjs";import"../chunk-BZAYEKYC.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-CV7PH2KH.mjs";import"../chunk-YEKQJ4YC.mjs";export{b as Section,a as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-BQQ4V4PX.mjs";import"../chunk-SV7NMNDI.mjs";import"../chunk-
|
|
1
|
+
import{a}from"../chunk-BQQ4V4PX.mjs";import"../chunk-SV7NMNDI.mjs";import"../chunk-R6AYIVIR.mjs";import"../chunk-L2CGDHVO.mjs";import"../chunk-CSWXKGJE.mjs";import"../chunk-KCCDR7HB.mjs";import"../chunk-PNUBVBSR.mjs";import"../chunk-7OMPPFGG.mjs";import"../chunk-3SZR5DC2.mjs";import"../chunk-VMAPGGGW.mjs";import"../chunk-GTK2SGS5.mjs";import"../chunk-AUBKJ4XO.mjs";import"../chunk-5BT4EWU5.mjs";import"../chunk-RVHCTANZ.mjs";import"../chunk-TZKQXT7Y.mjs";import"../chunk-5AWZJAK3.mjs";import"../chunk-B3F6F2S4.mjs";import"../chunk-MAAKU7PN.mjs";import"../chunk-UML2QHEN.mjs";import"../chunk-2B5LH5XN.mjs";import"../chunk-JB7IQQ3N.mjs";import"../chunk-5BV4MHV6.mjs";import"../chunk-3R75NUYA.mjs";import"../chunk-VGWDYD6Z.mjs";import"../chunk-ED7T3BDO.mjs";import"../chunk-OYZX5BM4.mjs";import"../chunk-GN25OSET.mjs";import"../chunk-AMV3MECK.mjs";import"../chunk-LUM6KEWN.mjs";import"../chunk-U67OTPTT.mjs";import"../chunk-D3B2YO7G.mjs";import"../chunk-2RGAV55J.mjs";import"../chunk-5RTGHMF3.mjs";import"../chunk-HHYHENVF.mjs";import"../chunk-PFLESLNT.mjs";import"../chunk-AB43AQKL.mjs";import"../chunk-ORNGKQM7.mjs";import"../chunk-6DEY5ZDD.mjs";import"../chunk-EBTFLN5U.mjs";import"../chunk-I5NNEOCF.mjs";import"../chunk-6YHVVP3S.mjs";import"../chunk-PH67DP3M.mjs";import"../chunk-GHZ6CUY3.mjs";import"../chunk-Z22NSJMF.mjs";import"../chunk-ZXPDSSCF.mjs";import"../chunk-RHR3YOLG.mjs";import"../chunk-AREQGH47.mjs";import"../chunk-EOXVYLPB.mjs";import"../chunk-TUI4S4GI.mjs";import"../chunk-EAFH3DTH.mjs";import"../chunk-QQVPLMPJ.mjs";import"../chunk-6XUIHSKG.mjs";import"../chunk-6WQXZ6IE.mjs";import"../chunk-CO6AQNZ5.mjs";import"../chunk-ZGQC6O62.mjs";import"../chunk-TR6RBROH.mjs";import"../chunk-XW52WZ2B.mjs";import"../chunk-XIGBDWYI.mjs";import"../chunk-5RDLHKTK.mjs";import"../chunk-LUPNE23E.mjs";import"../chunk-UWEU6TLS.mjs";import"../chunk-Q5NHYYRS.mjs";import"../chunk-LVFMFRBR.mjs";import"../chunk-ZSIYEVUV.mjs";import"../chunk-3IVM6KAB.mjs";import"../chunk-XOH2L4XW.mjs";import"../chunk-56X4PU43.mjs";import"../chunk-O46BOA4T.mjs";import"../chunk-SIL7AP7H.mjs";import"../chunk-QM5FOQHG.mjs";import"../chunk-6OCLRAHU.mjs";import"../chunk-2LINLX4S.mjs";import"../chunk-DBY4SXQI.mjs";import"../chunk-I3E2TYYZ.mjs";import"../chunk-LTTO57ZK.mjs";import"../chunk-IQQ7ZWCP.mjs";import"../chunk-RR4QSUV2.mjs";import"../chunk-AMVJPDM3.mjs";import"../chunk-MFCVMJBO.mjs";import"../chunk-V6GC3UGV.mjs";import"../chunk-KVD6XDZT.mjs";import"../chunk-LLED3RQS.mjs";import"../chunk-PWXCBW2H.mjs";import"../chunk-TJVEQJW3.mjs";import"../chunk-BE5B22X7.mjs";import"../chunk-PA4ZBJDO.mjs";import"../chunk-6SWKEZN6.mjs";import"../chunk-DFIXTV2M.mjs";import"../chunk-NVHQBM66.mjs";import"../chunk-AZKOVKSK.mjs";import"../chunk-BHWGOTCJ.mjs";import"../chunk-MU5WPW4N.mjs";import"../chunk-Q2DPE66H.mjs";import"../chunk-PC6TVU7J.mjs";import"../chunk-LYPWYO4W.mjs";import"../chunk-OM5ZUHCN.mjs";import"../chunk-FMH5CZ7X.mjs";import"../chunk-SOIRB5TV.mjs";import"../chunk-BMA4266L.mjs";import"../chunk-RRME4EHD.mjs";import"../chunk-MZP7RIQZ.mjs";import"../chunk-GETYSIZV.mjs";import"../chunk-HKMNAXLM.mjs";import"../chunk-U3FYDDE2.mjs";import"../chunk-F5N6KQA2.mjs";import"../chunk-U5PBLRRV.mjs";import"../chunk-Q5Q3DJWU.mjs";import"../chunk-4QRKVSTE.mjs";import"../chunk-E4TE4NV6.mjs";import"../chunk-JFFTEK6Z.mjs";import"../chunk-JHNVX4UB.mjs";import"../chunk-7BXIU4ZM.mjs";import"../chunk-YFAZQYK4.mjs";import"../chunk-INCYANPB.mjs";import"../chunk-B4H6T2GP.mjs";import"../chunk-TVZOULLL.mjs";import"../chunk-RLVKIMGU.mjs";import"../chunk-OCPX4QPC.mjs";import"../chunk-FT3AE7L2.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-KGEIN56Y.mjs";import"../chunk-4RYG24IZ.mjs";import"../chunk-76M7JE4D.mjs";import"../chunk-EPTHSTUM.mjs";import"../chunk-RVRIMD6M.mjs";import"../chunk-53QLSQCO.mjs";import"../chunk-RULSHTXR.mjs";import"../chunk-77PCUNUC.mjs";import"../chunk-IDG2O4B7.mjs";import"../chunk-J4IHIM6A.mjs";import"../chunk-JCH2CCQ7.mjs";import"../chunk-IJQC7T2R.mjs";import"../chunk-RYZTCMVC.mjs";import"../chunk-P6OSMPUQ.mjs";import"../chunk-MO4HRQEL.mjs";import"../chunk-PTZT4QJW.mjs";import"../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"../chunk-VNYUNZ3M.mjs";import"../chunk-UZSBX5GO.mjs";import"../chunk-VRE6VCHX.mjs";import"../chunk-KFCSVEI6.mjs";import"../chunk-TEB67NCD.mjs";import"../chunk-LXZAOORS.mjs";import"../chunk-MGYV46AJ.mjs";import"../chunk-CGDLOY7W.mjs";import"../chunk-3UMMMQEH.mjs";import"../chunk-E64KWNOT.mjs";import"../chunk-OYZDAMCS.mjs";import"../chunk-5NRGSTPV.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-PXLSH6S2.mjs";import"../chunk-D4IMQTVU.mjs";import"../chunk-7GSXNSLD.mjs";import"../chunk-4UIARERB.mjs";import"../chunk-L5JPAKPM.mjs";import"../chunk-KY7WQYN4.mjs";import"../chunk-ZUA4KNIR.mjs";import"../chunk-H7D3PZKE.mjs";import"../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-22LHS2J6.mjs";import"../chunk-IC2ABKAM.mjs";import"../chunk-FHMQVAKQ.mjs";import"../chunk-7WIO2CIC.mjs";import"../chunk-X5KZKO2V.mjs";import"../chunk-55EX54R7.mjs";import"../chunk-6C4WESLL.mjs";import"../chunk-CLGBBNRB.mjs";import"../chunk-WUA65ZZB.mjs";import"../chunk-WISC5QJV.mjs";import"../chunk-ZDPQXVTF.mjs";import"../chunk-PDY7JYY3.mjs";import"../chunk-Q5XT55O3.mjs";import"../chunk-FMJBJ3HN.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-FLHDNCNY.mjs";import"../chunk-WU3JMLSC.mjs";import"../chunk-BZAYEKYC.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-CV7PH2KH.mjs";import"../chunk-YEKQJ4YC.mjs";export{a as ServiceSection};
|
package/dist/sections/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as n}from"../chunk-
|
|
1
|
+
import{b as n}from"../chunk-MO2B5CDW.mjs";import{a as m}from"../chunk-2GM2LPLB.mjs";import{a as b}from"../chunk-BQQ4V4PX.mjs";import{a as k,b as l}from"../chunk-KZAYLEFB.mjs";import{a as e}from"../chunk-EHSOO47V.mjs";import"../chunk-AEBUMA72.mjs";import{a as f,b as g}from"../chunk-4SRUEQTP.mjs";import{a as j}from"../chunk-6HLXIE4P.mjs";import{a as i}from"../chunk-Q6PKGY27.mjs";import{a as c}from"../chunk-GAZHKHGB.mjs";import"../chunk-SV7NMNDI.mjs";import{a as o}from"../chunk-F64CA5CH.mjs";import{a as d}from"../chunk-HDKHF3EA.mjs";import"../chunk-2OOJ4ZFB.mjs";import{a as h}from"../chunk-W7MEHF4G.mjs";import"../chunk-KML6U7IE.mjs";import"../chunk-R6AYIVIR.mjs";import"../chunk-L2CGDHVO.mjs";import"../chunk-CSWXKGJE.mjs";import"../chunk-KCCDR7HB.mjs";import"../chunk-PNUBVBSR.mjs";import"../chunk-7OMPPFGG.mjs";import"../chunk-3SZR5DC2.mjs";import"../chunk-VMAPGGGW.mjs";import"../chunk-GTK2SGS5.mjs";import"../chunk-AUBKJ4XO.mjs";import"../chunk-5BT4EWU5.mjs";import"../chunk-RVHCTANZ.mjs";import"../chunk-TZKQXT7Y.mjs";import"../chunk-5AWZJAK3.mjs";import"../chunk-B3F6F2S4.mjs";import"../chunk-MAAKU7PN.mjs";import"../chunk-UML2QHEN.mjs";import"../chunk-2B5LH5XN.mjs";import"../chunk-JB7IQQ3N.mjs";import"../chunk-5BV4MHV6.mjs";import"../chunk-3R75NUYA.mjs";import"../chunk-VGWDYD6Z.mjs";import"../chunk-ED7T3BDO.mjs";import"../chunk-OYZX5BM4.mjs";import"../chunk-GN25OSET.mjs";import"../chunk-AMV3MECK.mjs";import"../chunk-LUM6KEWN.mjs";import"../chunk-U67OTPTT.mjs";import"../chunk-D3B2YO7G.mjs";import"../chunk-2RGAV55J.mjs";import"../chunk-5RTGHMF3.mjs";import"../chunk-HHYHENVF.mjs";import"../chunk-PFLESLNT.mjs";import"../chunk-AB43AQKL.mjs";import"../chunk-ORNGKQM7.mjs";import"../chunk-6DEY5ZDD.mjs";import"../chunk-EBTFLN5U.mjs";import"../chunk-I5NNEOCF.mjs";import"../chunk-6YHVVP3S.mjs";import"../chunk-PH67DP3M.mjs";import"../chunk-GHZ6CUY3.mjs";import"../chunk-Z22NSJMF.mjs";import"../chunk-ZXPDSSCF.mjs";import"../chunk-RHR3YOLG.mjs";import"../chunk-AREQGH47.mjs";import"../chunk-EOXVYLPB.mjs";import"../chunk-TUI4S4GI.mjs";import"../chunk-EAFH3DTH.mjs";import"../chunk-QQVPLMPJ.mjs";import"../chunk-6XUIHSKG.mjs";import"../chunk-6WQXZ6IE.mjs";import"../chunk-CO6AQNZ5.mjs";import"../chunk-ZGQC6O62.mjs";import"../chunk-TR6RBROH.mjs";import"../chunk-XW52WZ2B.mjs";import"../chunk-XIGBDWYI.mjs";import"../chunk-5RDLHKTK.mjs";import"../chunk-LUPNE23E.mjs";import"../chunk-UWEU6TLS.mjs";import"../chunk-Q5NHYYRS.mjs";import"../chunk-LVFMFRBR.mjs";import"../chunk-ZSIYEVUV.mjs";import"../chunk-3IVM6KAB.mjs";import"../chunk-XOH2L4XW.mjs";import"../chunk-56X4PU43.mjs";import"../chunk-O46BOA4T.mjs";import"../chunk-SIL7AP7H.mjs";import"../chunk-QM5FOQHG.mjs";import"../chunk-6OCLRAHU.mjs";import"../chunk-2LINLX4S.mjs";import"../chunk-DBY4SXQI.mjs";import"../chunk-I3E2TYYZ.mjs";import"../chunk-LTTO57ZK.mjs";import"../chunk-IQQ7ZWCP.mjs";import"../chunk-RR4QSUV2.mjs";import"../chunk-AMVJPDM3.mjs";import"../chunk-MFCVMJBO.mjs";import"../chunk-V6GC3UGV.mjs";import"../chunk-KVD6XDZT.mjs";import"../chunk-LLED3RQS.mjs";import"../chunk-PWXCBW2H.mjs";import"../chunk-TJVEQJW3.mjs";import"../chunk-BE5B22X7.mjs";import"../chunk-PA4ZBJDO.mjs";import"../chunk-6SWKEZN6.mjs";import"../chunk-DFIXTV2M.mjs";import"../chunk-NVHQBM66.mjs";import"../chunk-AZKOVKSK.mjs";import"../chunk-BHWGOTCJ.mjs";import"../chunk-MU5WPW4N.mjs";import"../chunk-Q2DPE66H.mjs";import"../chunk-PC6TVU7J.mjs";import"../chunk-LYPWYO4W.mjs";import"../chunk-OM5ZUHCN.mjs";import"../chunk-FMH5CZ7X.mjs";import"../chunk-SOIRB5TV.mjs";import"../chunk-BMA4266L.mjs";import"../chunk-RRME4EHD.mjs";import"../chunk-MZP7RIQZ.mjs";import"../chunk-GETYSIZV.mjs";import"../chunk-HKMNAXLM.mjs";import"../chunk-U3FYDDE2.mjs";import"../chunk-F5N6KQA2.mjs";import"../chunk-U5PBLRRV.mjs";import"../chunk-Q5Q3DJWU.mjs";import"../chunk-4QRKVSTE.mjs";import"../chunk-E4TE4NV6.mjs";import"../chunk-JFFTEK6Z.mjs";import"../chunk-JHNVX4UB.mjs";import"../chunk-7BXIU4ZM.mjs";import"../chunk-YFAZQYK4.mjs";import"../chunk-INCYANPB.mjs";import"../chunk-B4H6T2GP.mjs";import"../chunk-TVZOULLL.mjs";import"../chunk-RLVKIMGU.mjs";import"../chunk-OCPX4QPC.mjs";import"../chunk-FT3AE7L2.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-KGEIN56Y.mjs";import"../chunk-4RYG24IZ.mjs";import"../chunk-76M7JE4D.mjs";import"../chunk-EPTHSTUM.mjs";import"../chunk-RVRIMD6M.mjs";import"../chunk-53QLSQCO.mjs";import"../chunk-RULSHTXR.mjs";import"../chunk-77PCUNUC.mjs";import"../chunk-IDG2O4B7.mjs";import"../chunk-J4IHIM6A.mjs";import"../chunk-JCH2CCQ7.mjs";import"../chunk-IJQC7T2R.mjs";import"../chunk-RYZTCMVC.mjs";import"../chunk-P6OSMPUQ.mjs";import"../chunk-MO4HRQEL.mjs";import"../chunk-PTZT4QJW.mjs";import"../chunk-FYQBRCQM.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-2QZUKVBA.mjs";import{a}from"../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"../chunk-VNYUNZ3M.mjs";import"../chunk-UZSBX5GO.mjs";import"../chunk-VRE6VCHX.mjs";import"../chunk-KFCSVEI6.mjs";import"../chunk-TEB67NCD.mjs";import"../chunk-LXZAOORS.mjs";import"../chunk-MGYV46AJ.mjs";import"../chunk-CGDLOY7W.mjs";import"../chunk-3UMMMQEH.mjs";import"../chunk-E64KWNOT.mjs";import"../chunk-OYZDAMCS.mjs";import"../chunk-5NRGSTPV.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-PXLSH6S2.mjs";import"../chunk-D4IMQTVU.mjs";import"../chunk-7GSXNSLD.mjs";import"../chunk-4UIARERB.mjs";import"../chunk-L5JPAKPM.mjs";import"../chunk-KY7WQYN4.mjs";import"../chunk-ZUA4KNIR.mjs";import"../chunk-H7D3PZKE.mjs";import"../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-22LHS2J6.mjs";import"../chunk-IC2ABKAM.mjs";import"../chunk-FHMQVAKQ.mjs";import"../chunk-7WIO2CIC.mjs";import"../chunk-X5KZKO2V.mjs";import"../chunk-55EX54R7.mjs";import"../chunk-6C4WESLL.mjs";import"../chunk-CLGBBNRB.mjs";import"../chunk-WUA65ZZB.mjs";import"../chunk-WISC5QJV.mjs";import"../chunk-ZDPQXVTF.mjs";import"../chunk-PDY7JYY3.mjs";import"../chunk-Q5XT55O3.mjs";import"../chunk-FMJBJ3HN.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-FLHDNCNY.mjs";import"../chunk-WU3JMLSC.mjs";import"../chunk-BZAYEKYC.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-CV7PH2KH.mjs";import"../chunk-YEKQJ4YC.mjs";export{d as AboutSection,l as BlogCard,h as BlogDetail,k as BlogList,e as BlogListSection,f as ContactSection,a as Form,j as ImageSection,g as LocationsSection,i as MainPageSection,c as PricingSection,n as Section,o as ServiceDetail,m as ServiceDetailSection,b as ServiceSection};
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "cortex-react-components",
|
|
3
3
|
"author": "Cortex Reply",
|
|
4
4
|
"private": false,
|
|
5
|
-
"version": "2.
|
|
5
|
+
"version": "2.9.0",
|
|
6
6
|
"description": "A library of React components with styles. Designed to seamlessly integrate with React and Next.js.",
|
|
7
7
|
"license": "MPL-2.0",
|
|
8
8
|
"main": "./dist/index.js",
|
|
@@ -72,7 +72,6 @@
|
|
|
72
72
|
"esbuild-plugin-rdi": "^0.0.0",
|
|
73
73
|
"esbuild-plugin-react18": "0.2.6",
|
|
74
74
|
"esbuild-plugin-react18-css": "^0.0.4",
|
|
75
|
-
"framer-motion": "^11.15.0",
|
|
76
75
|
"jsdom": "^25.0.1",
|
|
77
76
|
"lucide-react": "^0.469.0",
|
|
78
77
|
"msw": "^2.7.5",
|
|
@@ -131,6 +130,7 @@
|
|
|
131
130
|
"html2canvas": "^1.4.1",
|
|
132
131
|
"jspdf": "^2.5.2",
|
|
133
132
|
"marked": "^16.2.0",
|
|
133
|
+
"motion": "^12.23.12",
|
|
134
134
|
"next-themes": "^0.4.4",
|
|
135
135
|
"pagedjs": "^0.4.3",
|
|
136
136
|
"prism-react-renderer": "^2.4.1",
|
|
@@ -146,7 +146,6 @@
|
|
|
146
146
|
},
|
|
147
147
|
"peerDependencies": {
|
|
148
148
|
"@types/react": ">=16.8",
|
|
149
|
-
"framer-motion": "^11.15.0",
|
|
150
149
|
"lucide-react": "^0.469.0",
|
|
151
150
|
"next": ">=10",
|
|
152
151
|
"react": ">=16.8",
|
package/dist/chunk-2NMVE5M4.mjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
import{b as s}from"./chunk-ZUA4KNIR.mjs";import{b as c}from"./chunk-CSBGSBEU.mjs";import{a as h}from"./chunk-FLHDNCNY.mjs";import{motion as x}from"framer-motion";import{FaChevronDown as w,FaChevronUp as f}from"react-icons/fa";import{jsx as e,jsxs as t}from"react/jsx-runtime";function z({title:n,description:a,badge:r,primaryAction:i,secondaryAction:o,gradient:g,children:d,className:v}){let[l,b]=h(`hero-section-minimized-${n.replace(/\s+/g,"-").toLowerCase()}`,!o&&!a),m=!o&&!a||l;return t(x.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5},className:`overflow-hidden rounded-3xl ${g} p-8 text-white ${v||""}`,children:[t("div",{className:"flex items-center justify-between mb-2",children:[t("div",{className:"flex items-center gap-3",children:[r&&e(c,{className:"bg-white/20 text-white hover:bg-white/30 rounded-xl",children:r}),e("h2",{className:"text-3xl font-bold m-0",children:n})]}),t("div",{className:"flex items-center gap-3",children:[m&&i&&e(s,{className:"rounded-2xl bg-white text-indigo-700 hover:bg-white/90",onClick:i.onClick,children:i.label}),(o||a)&&e("button",{"aria-label":l?"Expand hero section":"Minimize hero section",className:"rounded-full bg-white/20 hover:bg-white/30 p-1 text-white transition-colors",onClick:()=>b(!l),style:{lineHeight:0},children:l?e(w,{size:22}):e(f,{size:22})})]})]}),!m&&t("div",{className:"flex flex-col gap-6 md:flex-row md:items-center md:justify-between",children:[t("div",{className:"space-y-4",children:[e("p",{className:"max-w-[600px] text-white/80",children:a}),t("div",{className:"flex flex-wrap gap-3",children:[i&&e(s,{className:"rounded-2xl bg-white text-indigo-700 hover:bg-white/90",onClick:i.onClick,children:i.label}),o&&e(s,{variant:"outline",className:"rounded-2xl bg-transparent border-white text-white hover:bg-white/10",onClick:o.onClick,children:o.label})]})]}),d&&e("div",{className:"hidden lg:block",children:d})]})]})}export{z as a};
|
package/dist/chunk-2SAKLSZ4.mjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
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};
|
package/dist/chunk-2THNVSE5.mjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
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 r}from"react";import{motion as fe,AnimatePresence as he}from"framer-motion";import{Users as ye}from"lucide-react";import{jsx as n,jsxs as Ce}from"react/jsx-runtime";function Le({aiConfig:w,useCustomChat:F,enableAI:D=!0,messages:T=[],businessUnits:B=[],capabilities:R=[],sidebarItems:x=[],notifications:N=[],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:m=null,showCapabilities:ve=!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=n(ye,{className:"mr-2 h-4 w-4"}),actionText:Q="Collaborate",sidebarInitiallyClosed:V=!1}){let p={...w,onError:e=>{i?.setMessages(t=>[...t,{role:"assistant",id:`error-${Date.now()}`,createdAt:new Date,parts:[{type:"text",text:e.message}]}]),console.error("Error in CopilotInterface:",e)}},Y=me(p||{}),i=D?F||Y:null,[Z,u]=r(""),[_,C]=r(!1),j=i?.messages||T,l=Z,ee=i?.status==="submitted"||_,se=i?.addToolResult?(e,t,s)=>{i.addToolResult({tool:t,toolCallId:e,output:s}),i.sendMessage()}:()=>{},o=B||[],te={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"},[ie,ne]=r(()=>o.length===0?te:o.find(e=>e.id===z)||o[0]),[a,c]=r([]),[oe,ae]=r(!1),re=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=ue=>{c(ge=>ge.map(g=>g.id===U.id?{...g,preview:ue.target?.result}:g))},d.readAsDataURL(s)}t.push(U)}),c(s=>[...s,...t])},le=e=>{c(t=>t.filter(s=>s.id!==e))},v=()=>{if(!(!l.trim()&&a.length===0)){if(i){let e=a.length>0?ce(a.map(t=>t.file)):void 0;i.sendMessage({text:l,files:e},{body:{timestamp:Date.now()}}),u("")}else console.log("Message to send:",l),console.log("Files to upload:",a),u(""),C(!0),setTimeout(()=>{C(!1)},1500);c([])}},ce=e=>{let t=new DataTransfer;return e.forEach(s=>t.items.add(s)),t.files},de=e=>{e.key==="Enter"&&!e.shiftKey&&(e.preventDefault(),v())},pe=e=>{u(e)};return n(b,{sidebarItems:x||[],title:W,notifications:N||[],businessUnits:o,currentBusinessUnit:ie,onBusinessUnitChange:e=>{e&&(ne(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:n(he,{mode:"wait",children:n(fe.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:Ce("div",{className:"h-full flex",children:[n("div",{className:"w-80 flex-shrink-0 h-full p-2",children:n(I,{sessions:M||[],currentSession:m,teams:o,onNewChat:A,onSessionSelect:L,onSessionEdit:k,onSessionDelete:P})}),n("div",{className:"flex-1 h-full p-2",children:n(S,{messages:j||[],input:l,isTyping:ee,currentSessionTitle:m?.title,capabilities:R||[],onInputChange:pe,addToolResult:se,onSendMessage:v,onKeyPress:de,fileUploads:a,isDragOver:oe,enableFileUpload:f,onFileUpload:re,onRemoveFile:le,onDragOver:ae})})]})},"chat-interface")})})}export{Le as a};
|
package/dist/chunk-3KITWLRN.mjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
import{a as r}from"./chunk-FT3AE7L2.mjs";import{b as a}from"./chunk-ZUA4KNIR.mjs";import{b as c}from"./chunk-CSBGSBEU.mjs";import{a as o}from"./chunk-MDJREBVI.mjs";import{motion as m,AnimatePresence as b}from"framer-motion";import{Check as d,Info as w,X as y,AlertTriangle as f,Bell as u,ChevronRight as k}from"lucide-react";import{Fragment as C,jsx as e,jsxs as t}from"react/jsx-runtime";function R({notifications:p,open:N,onClose:l,onNotificationRemove:x,onRemoveAll:v,className:g}){let n=p.filter(s=>!s.read),i=n.length,h=s=>{switch(s){case"info":return e(w,{className:"h-5 w-5 text-blue-500"});case"success":return e(d,{className:"h-5 w-5 text-green-500"});case"warning":return e(f,{className:"h-5 w-5 text-amber-500"});case"error":return e(f,{className:"h-5 w-5 text-red-500"})}};return e(b,{children:N&&t(C,{children:[e(m.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 z-40 bg-black/20 backdrop-blur-sm md:hidden",onClick:l}),e(m.div,{initial:{x:"100%"},animate:{x:0},exit:{x:"100%"},transition:{type:"spring",damping:20,stiffness:300},className:o("fixed inset-y-0 right-0 z-50 w-full max-w-sm border-l bg-background shadow-lg md:w-96",g),children:t("div",{className:"flex h-full flex-col",children:[t("div",{className:"flex items-center justify-between border-b p-4",children:[t("div",{className:"flex items-center gap-2",children:[e(u,{className:"h-5 w-5"}),e("h2",{className:"text-lg font-semibold",children:"Notifications"}),i>0&&t(c,{variant:"secondary",className:"rounded-full px-2 py-0.5",children:[i," new"]})]}),t(a,{variant:"ghost",size:"icon",onClick:l,className:"rounded-full",children:[e(y,{className:"h-5 w-5"}),e("span",{className:"sr-only",children:"Close"})]})]}),i>0&&t("div",{className:"flex items-center justify-between border-b p-2",children:[t("span",{className:"text-sm text-muted-foreground",children:[i," unread notification",i!==1?"s":""]}),e(a,{variant:"ghost",size:"sm",onClick:v,className:"text-sm",children:"Dismiss all"})]}),n.length>0?e(r,{className:"flex-1",children:e("div",{className:"divide-y",children:n.map(s=>t("div",{className:o("flex gap-3 p-4 transition-colors bg-muted/50"),children:[e("div",{className:"flex h-10 w-10 flex-shrink-0 items-center justify-center rounded-full bg-muted",children:h(s.type)}),t("div",{className:"flex-1 space-y-1",children:[t("div",{className:"flex items-center justify-between",children:[e("p",{className:"font-medium",children:s.title}),t("div",{className:"flex items-center gap-2",children:[e("p",{className:"text-xs text-muted-foreground",children:s.time}),e(a,{variant:"ghost",size:"sm",className:"h-6 w-6 p-0",onClick:()=>x?.(s.id),title:"Dismiss",children:e(d,{className:"h-3 w-3"})})]})]}),e("p",{className:"text-sm text-muted-foreground",children:s.description}),s.actionLabel&&t(a,{variant:"link",size:"sm",className:"h-auto p-0 text-sm",onClick:s.onAction,children:[s.actionLabel,e(k,{className:"ml-1 h-3 w-3"})]})]})]},s.id))})}):t("div",{className:"flex flex-1 flex-col items-center justify-center p-8 text-center",children:[e("div",{className:"flex h-16 w-16 items-center justify-center rounded-full bg-muted",children:e(u,{className:"h-8 w-8 text-muted-foreground"})}),e("h3",{className:"mt-4 text-lg font-medium",children:"No notifications"}),e("p",{className:"mt-2 text-sm text-muted-foreground",children:"When you receive notifications, they'll appear here."})]})]})})]})})}export{R as a};
|
package/dist/chunk-3PHJWI4Q.mjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
import{a as i}from"./chunk-XKM35QQD.mjs";import{b as n}from"./chunk-ZUA4KNIR.mjs";import{motion as D}from"framer-motion";import{File as l,FileText as m,Edit3 as $,Type as C}from"lucide-react";import{useState as T}from"react";import{jsx as e,jsxs as r}from"react/jsx-runtime";var u=t=>e("div",{className:"prose prose-slate dark:prose-invert max-w-none",dangerouslySetInnerHTML:{__html:t.replace(/\n/g,"<br>").replace(/\*\*(.*?)\*\*/g,"<strong>$1</strong>").replace(/\*(.*?)\*/g,"<em>$1</em>").replace(/`(.*?)`/g,'<code class="bg-muted px-1 py-0.5 rounded text-sm">$1</code>').replace(/^# (.*$)/gm,'<h1 class="text-2xl font-bold mb-4">$1</h1>').replace(/^## (.*$)/gm,'<h2 class="text-xl font-semibold mb-3">$1</h2>').replace(/^### (.*$)/gm,'<h3 class="text-lg font-medium mb-2">$1</h3>')}}),c=t=>e("div",{className:"whitespace-pre-wrap font-mono text-sm leading-relaxed",children:t}),K=t=>r("div",{className:"prose prose-slate dark:prose-invert max-w-none",children:[e("div",{className:"bg-amber-50 dark:bg-amber-950/20 border border-amber-200 dark:border-amber-800 rounded-lg p-4 mb-4",children:r("p",{className:"text-amber-800 dark:text-amber-200 text-sm",children:[e("strong",{children:"RichText Renderer:"})," This is a placeholder. Integrate with @payloadcms/richtext-lexical for full rendering."]})}),e("pre",{className:"text-sm",children:t})]}),M=t=>r("div",{className:"prose prose-slate dark:prose-invert max-w-none",children:[e("div",{className:"bg-blue-50 dark:bg-blue-950/20 border border-blue-200 dark:border-blue-800 rounded-lg p-4 mb-4",children:r("p",{className:"text-blue-800 dark:text-blue-200 text-sm",children:[e("strong",{children:"MDX Renderer:"})," This is a placeholder. Integrate with @mdx-js/react for full MDX rendering."]})}),u(t)]});function B({document:t,onDocumentUpdate:g,editable:p=!0,renderers:x,availableDocuments:b=[],knowledgeContexts:f=[]}){let[v,d]=T(!1),N=a=>{switch(a){case"markdown":case"mdx":return e(m,{className:"h-6 w-6 text-primary"});case"richtext":return e(l,{className:"h-6 w-6 text-success"});case"text":return e(C,{className:"h-6 w-6 text-muted-foreground"});default:return e(l,{className:"h-6 w-6 text-muted-foreground"})}},h=a=>{switch(a){case"markdown":return"bg-primary/10 text-primary border-primary/20";case"mdx":return"bg-secondary/10 text-secondary border-secondary/20";case"richtext":return"bg-success/10 text-success border-success/20";case"text":return"bg-muted/50 text-muted-foreground border-muted-foreground/20";default:return"bg-muted text-muted-foreground border-border"}},w=(a,s)=>{let R={markdown:u,mdx:M,richtext:K,text:c},o=x?.[s]||R[s];return o?o(a):c(a)},y=a=>{d(!1),g?.(a)},k=()=>{d(!1)};return v?e(i,{document:t,onSave:y,onCancel:k,availableDocuments:b,knowledgeContexts:f}):r(D.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.3},className:"h-full flex flex-col",children:[r("div",{className:"border-b border-border bg-card p-8",children:[r("div",{className:"flex items-start justify-between gap-4 mb-4",children:[r("div",{className:"flex items-start gap-4 flex-1 min-w-0",children:[e("div",{className:"flex-shrink-0 p-3 rounded-xl bg-muted border border-border",children:N(t.format)}),r("div",{className:"flex-1 min-w-0",children:[e("h1",{className:"text-2xl font-bold text-foreground mb-2 leading-tight",children:t.title}),t.description&&e("p",{className:"text-muted-foreground text-lg leading-relaxed mb-4",children:t.description})]})]}),p&&e("div",{className:"flex-shrink-0",children:r(n,{variant:"outline",size:"sm",onClick:()=>d(!0),className:"gap-2",children:[e($,{className:"h-4 w-4"}),"Edit"]})})]}),r("div",{className:"flex flex-wrap gap-2",children:[e("span",{className:`inline-flex items-center px-3 py-1 rounded-full text-sm font-medium border ${h(t.format)}`,children:t.format.toUpperCase()}),t.tags?.map(a=>r("span",{className:"inline-flex items-center px-3 py-1 rounded-full text-sm bg-muted text-muted-foreground border border-border",children:["#",a]},a))]})]}),e("div",{className:"flex-1 overflow-auto",children:r("div",{className:"p-8",children:[t.metadata&&Object.keys(t.metadata).length>0&&r("div",{className:"mb-6",children:[e("h3",{className:"text-sm font-semibold text-foreground mb-2",children:"Metadata"}),e("div",{className:"bg-muted rounded-lg p-3 border border-border",children:e("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-x-4 gap-y-1 text-xs",children:Object.entries(t.metadata).map(([a,s])=>r("div",{className:"flex gap-1",children:[r("span",{className:"text-muted-foreground font-medium",children:[a.replace(/([A-Z])/g," $1").trim(),":"]}),e("span",{className:"text-foreground truncate",children:String(s)})]},a))})})]}),e("div",{className:"space-y-4",children:t.content?e("div",{className:"relative",children:e("div",{className:"bg-card border border-border rounded-xl p-6 overflow-hidden",children:w(t.content,t.format)})}):r("div",{className:"text-center py-12 bg-muted rounded-xl border-2 border-dashed border-border",children:[e("div",{className:"w-16 h-16 mx-auto mb-4 rounded-full bg-background flex items-center justify-center",children:e(m,{className:"h-8 w-8 text-muted-foreground"})}),e("h4",{className:"text-foreground font-medium mb-1",children:"No content available"}),e("p",{className:"text-muted-foreground text-sm",children:"This document doesn't have preview content"})]})})]})})]})}export{B as a};
|
package/dist/chunk-A2AEX4YB.mjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
import{a as x}from"./chunk-Q2DPE66H.mjs";import{b as C}from"./chunk-ZUA4KNIR.mjs";import{b as h}from"./chunk-CSBGSBEU.mjs";import{a}from"./chunk-MDJREBVI.mjs";import{useState as y,useEffect as B,useMemo as H}from"react";import{motion as m,AnimatePresence as D}from"framer-motion";import{ChevronRight as N,ChevronLeft as I,Menu as L,X as M}from"lucide-react";import{jsx as t,jsxs as o}from"react/jsx-runtime";function K({capabilities:n,isOpen:u,onToggle:r,onActionSelect:e,onContextChange:d,colorScheme:l=x,className:w}){let[s,b]=y([]),[v,f]=y([]),c=s[s.length-1],k=c?.children||n,z=(i,p)=>{switch(i.type){case"category":return l.categories[p%l.categories.length];case"list":return l.lists[p%l.lists.length];case"item":return l.items[p%l.items.length];default:return l.primary}},g=H(()=>({path:s,selectedItems:v,filters:{}}),[s,v]);B(()=>{d&&d(g)},[g,d]);let P=i=>{i.type==="category"||i.type==="list"?b([...s,i]):i.type==="item"&&f([...v,i])},A=()=>{b(s.slice(0,-1))},S=i=>{b(s.slice(0,i+1))},E=()=>c?.actions?c.actions:[];return u?o("div",{className:a("w-full",w),children:[o("div",{className:"flex items-center justify-between mb-3",children:[o("div",{className:"flex items-center gap-2",children:[s.length>0&&t(m.button,{whileHover:{scale:1.1,transition:{duration:.3,ease:[.4,0,.2,1]}},whileTap:{scale:.9,transition:{duration:.15,ease:[.4,0,.2,1]}},onClick:A,className:a("group p-1 h-6 w-6 rounded-md backdrop-blur-sm","transition-all duration-300 ease-in-out","hover:bg-accent/50 hover:shadow-sm"),children:t(I,{className:a("h-3 w-3 transition-transform duration-300 ease-in-out","group-hover:-translate-x-0.5")})}),t("h4",{className:"font-medium text-sm",children:c?.name||"Capabilities"})]}),t(m.button,{whileHover:{scale:1.1,transition:{duration:.3,ease:[.4,0,.2,1]}},whileTap:{scale:.9,transition:{duration:.15,ease:[.4,0,.2,1]}},onClick:r,className:a("group p-1 h-6 w-6 rounded-md backdrop-blur-sm","transition-all duration-300 ease-in-out","hover:bg-accent/50 hover:shadow-sm"),children:t(M,{className:a("h-3 w-3 transition-transform duration-300 ease-in-out","group-hover:rotate-90")})})]}),s.length>0&&o("div",{className:"flex items-center gap-1 mb-3 text-xs text-muted-foreground",children:[t(m.button,{whileHover:{scale:1.05,transition:{duration:.3,ease:[.4,0,.2,1]}},onClick:()=>b([]),className:a("group relative transition-colors duration-300 ease-in-out hover:text-accent"),children:o("span",{className:"relative",children:["Capabilities",t("span",{className:"absolute -bottom-0.5 left-1/2 w-0 h-0.5 bg-accent transform -translate-x-1/2 transition-all duration-300 ease-in-out group-hover:w-full"})]})}),s.map((i,p)=>o("div",{className:"flex items-center gap-1",children:[t(N,{className:"h-2 w-2"}),t(m.button,{whileHover:{scale:1.05,transition:{duration:.3,ease:[.4,0,.2,1]}},onClick:()=>S(p),className:a("group relative transition-colors duration-300 ease-in-out hover:text-accent"),children:o("span",{className:"relative",children:[i.name,t("span",{className:"absolute -bottom-0.5 left-1/2 w-0 h-0.5 bg-accent transform -translate-x-1/2 transition-all duration-300 ease-in-out group-hover:w-full"})]})})]},i.id))]}),t("div",{className:"max-h-40 overflow-y-auto",children:t(D,{mode:"wait",children:t(m.div,{initial:{opacity:0,y:-4},animate:{opacity:1,y:0},exit:{opacity:0,y:4},transition:{duration:.2,ease:[.4,0,.2,1]},children:c?.type==="list"&&c.data?t(R,{data:c.data,onItemSelect:i=>f([...v,i]),colorScheme:l}):t(T,{capabilities:k,onSelect:P,colorScheme:l})},c?.id||"root")})})]}):o(C,{onClick:r,size:"sm",variant:"outline",className:"rounded-full",children:[t(L,{className:"h-4 w-4"}),t("span",{className:"ml-2",children:"Capabilities"})]})}function T({capabilities:n,onSelect:u,colorScheme:r}){return t("div",{className:"flex flex-wrap gap-2",children:n.map((e,d)=>t(G,{capability:e,onClick:()=>u(e),color:r.categories[d%r.categories.length]},e.id))})}function G({capability:n,onClick:u,selected:r,color:e}){return o(m.button,{whileHover:{scale:1.02,transition:{duration:.3,ease:[.4,0,.2,1]}},whileTap:{scale:.95,transition:{duration:.15,ease:[.4,0,.2,1]}},className:a("group relative inline-flex items-center gap-2 px-3 py-2 rounded-lg border cursor-pointer","bg-background text-left text-sm font-medium backdrop-blur-sm","transition-all duration-300 ease-in-out","hover:bg-accent/50 hover:border-accent/50 hover:shadow-sm",r&&"border-primary bg-accent scale-105"),onClick:u,children:[t("div",{className:a("w-2 h-2 rounded-full flex-shrink-0 transition-transform duration-300 ease-in-out","group-hover:scale-125",e)}),o("span",{className:"truncate relative",children:[n.name,t("span",{className:"absolute -bottom-0.5 left-1/2 w-0 h-0.5 bg-accent transform -translate-x-1/2 transition-all duration-300 ease-in-out group-hover:w-full"})]}),(n.children||n.data)&&t(N,{className:a("h-3 w-3 text-muted-foreground flex-shrink-0","transition-transform duration-300 ease-in-out group-hover:translate-x-0.5")}),n.type==="list"&&n.data&&t(h,{variant:"secondary",className:a("text-xs h-5 px-1.5 flex-shrink-0","transition-transform duration-300 ease-in-out group-hover:scale-110"),children:n.data.length})]})}function R({data:n,onItemSelect:u,colorScheme:r}){return t("div",{className:"flex flex-wrap gap-2",children:n.map((e,d)=>o(m.button,{whileHover:{scale:1.02,transition:{duration:.3,ease:[.4,0,.2,1]}},whileTap:{scale:.95,transition:{duration:.15,ease:[.4,0,.2,1]}},className:a("group relative inline-flex items-center gap-2 px-3 py-2 rounded-lg border cursor-pointer","bg-background text-left text-sm font-medium backdrop-blur-sm","transition-all duration-300 ease-in-out","hover:bg-accent/50 hover:border-accent/50 hover:shadow-sm"),onClick:()=>u(e),children:[t("div",{className:a("w-2 h-2 rounded-full flex-shrink-0 transition-transform duration-300 ease-in-out","group-hover:scale-125",r.items[d%r.items.length])}),o("div",{className:"flex-1 min-w-0",children:[o("span",{className:"truncate relative font-medium",children:[e.title,t("span",{className:"absolute -bottom-0.5 left-1/2 w-0 h-0.5 bg-accent transform -translate-x-1/2 transition-all duration-300 ease-in-out group-hover:w-full"})]}),e.subtitle&&t("div",{className:a("text-xs text-muted-foreground truncate","transition-colors duration-300 ease-in-out group-hover:text-accent/80"),children:e.subtitle})]}),e.value&&t(h,{variant:"secondary",className:a("text-xs h-5 px-1.5 flex-shrink-0 ml-2","transition-transform duration-300 ease-in-out group-hover:scale-110"),children:e.value})]},e.id))})}export{K as a};
|
package/dist/chunk-AVHFRD6D.mjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
import{a as c}from"./chunk-L5JPAKPM.mjs";import{b as p}from"./chunk-ZUA4KNIR.mjs";import{a as v,b as N,c as f}from"./chunk-SOLZ4VQH.mjs";import{b as o}from"./chunk-CSBGSBEU.mjs";import{a as i,b as g,c as x,e as r}from"./chunk-YO3GQYRJ.mjs";import{useState as U,useMemo as b}from"react";import{Search as L,User as u,Check as T,ChevronLeft as A}from"lucide-react";import{motion as h,AnimatePresence as B}from"framer-motion";import{jsx as e,jsxs as t}from"react/jsx-runtime";function $({users:m,onUserSelect:C,onCancel:y,selectedUserId:d}){let[s,w]=U(""),n=b(()=>m.filter(a=>a.name.toLowerCase().includes(s.toLowerCase())||a.email.toLowerCase().includes(s.toLowerCase())||a.role.toLowerCase().includes(s.toLowerCase())||(a.skills||[]).some(S=>S.toLowerCase().includes(s.toLowerCase()))),[m,s]),k=a=>{C(a)};return e("div",{className:"px-2 md:px-4 py-4 space-y-6",children:e(B,{mode:"wait",children:t(h.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},children:[t("div",{className:"flex items-center gap-4 mb-6",children:[t(p,{variant:"ghost",onClick:y,className:"gap-2",children:[e(A,{className:"h-4 w-4"}),"Back"]}),t("div",{children:[e("h1",{className:"text-3xl font-bold",children:"Select User"}),e("p",{className:"text-muted-foreground",children:"Choose a user to add as a colleague"})]})]}),e(i,{className:"container",children:e(r,{className:"pt-6",children:e("div",{className:"flex flex-col md:flex-row gap-4",children:e("div",{className:"flex-1",children:t("div",{className:"relative",children:[e(L,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),e(c,{placeholder:"Search users by name, email, role, or skills...",value:s,onChange:a=>w(a.target.value),className:"pl-9"})]})})})})}),e("div",{className:"container grid gap-4 md:grid-cols-2 lg:grid-cols-3",children:n.map(a=>e(h.div,{layout:!0,initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},transition:{duration:.2},children:t(i,{className:`cursor-pointer transition-all hover:shadow-lg ${d===a.id?"ring-2 ring-primary":""}`,onClick:()=>k(a),children:[e(g,{className:"pb-3",children:t("div",{className:"flex items-start justify-between",children:[t("div",{className:"flex items-center gap-3",children:[t(v,{children:[e(N,{src:a.avatar,alt:a.name}),e(f,{children:e(u,{className:"h-4 w-4"})})]}),t("div",{children:[e(x,{className:"text-lg",children:a.name}),e("p",{className:"text-sm text-muted-foreground",children:a.role})]})]}),d===a.id&&e(T,{className:"h-5 w-5 text-primary"})]})}),e(r,{className:"pt-0",children:t("div",{className:"space-y-3",children:[t("div",{children:[e("p",{className:"text-sm text-muted-foreground",children:"Email"}),e("p",{className:"text-sm font-medium",children:a.email})]}),t("div",{children:[e("p",{className:"text-sm text-muted-foreground",children:"Department"}),e(o,{variant:"secondary",children:a.department})]}),a.location&&t("div",{children:[e("p",{className:"text-sm text-muted-foreground",children:"Location"}),e("p",{className:"text-sm",children:a.location})]}),a.skills&&a.skills.length>0&&t("div",{children:[e("p",{className:"text-sm text-muted-foreground mb-2",children:"Skills"}),t("div",{className:"flex flex-wrap gap-1",children:[a.skills.slice(0,3).map(l=>e(o,{variant:"outline",className:"text-xs",children:l},l)),a.skills.length>3&&t(o,{variant:"outline",className:"text-xs",children:["+",a.skills.length-3]})]})]})]})})]})},a.id))}),n.length===0&&e(i,{className:"container mt-4",children:e(r,{className:"pt-6",children:t("div",{className:"text-center py-8",children:[e(u,{className:"h-12 w-12 text-muted-foreground mx-auto mb-4"}),e("h3",{className:"text-lg font-semibold mb-2",children:"No users found"}),e("p",{className:"text-muted-foreground",children:"Try adjusting your search terms or filters."})]})})})]},"user-selection")})})}export{$ as a};
|
package/dist/chunk-BADFWNRL.mjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
import{b as t}from"./chunk-ZUA4KNIR.mjs";import{a as i,b as s,c as l,e as o}from"./chunk-YO3GQYRJ.mjs";import{Bot as u,ChevronLeft as g,Copy as d,Plus as v,Sparkles as m}from"lucide-react";import{motion as r,AnimatePresence as f}from"framer-motion";import{jsx as e,jsxs as a}from"react/jsx-runtime";function w({onCloneExisting:n,onCreateNew:c,onCancel:p}){return e("div",{className:"px-2 md:px-4 py-4 space-y-6",children:e(f,{mode:"wait",children:a(r.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},children:[a("div",{className:"flex items-center gap-4 mb-6",children:[a(t,{variant:"ghost",onClick:p,className:"gap-2",children:[e(g,{className:"h-4 w-4"}),"Back"]}),a("div",{children:[e("h1",{className:"text-3xl font-bold",children:"Add Digital Colleague"}),e("p",{className:"text-muted-foreground",children:"Choose how to create your digital colleague"})]})]}),a("div",{className:"grid gap-6 md:grid-cols-2 max-w-4xl mx-auto",children:[e(r.div,{whileHover:{scale:1.02},whileTap:{scale:.98},transition:{type:"spring",stiffness:300,damping:20},children:a(i,{className:"cursor-pointer transition-all hover:shadow-lg border-2 hover:border-primary/50",onClick:n,children:[a(s,{className:"text-center pb-4",children:[e("div",{className:"mx-auto w-16 h-16 bg-blue-100 rounded-full flex items-center justify-center mb-4",children:e(d,{className:"h-8 w-8 text-blue-600"})}),e(l,{className:"text-xl",children:"Clone Existing"})]}),a(o,{className:"text-center",children:[e("p",{className:"text-muted-foreground mb-4",children:"Start with an existing digital colleague and customize it for your needs."}),a("div",{className:"space-y-2 text-sm",children:[a("div",{className:"flex items-center gap-2 justify-center",children:[e(u,{className:"h-4 w-4 text-blue-600"}),e("span",{children:"Pre-configured capabilities"})]}),a("div",{className:"flex items-center gap-2 justify-center",children:[e(d,{className:"h-4 w-4 text-blue-600"}),e("span",{children:"Inherit knowledge base"})]})]}),e(t,{className:"mt-6 w-full",onClick:n,children:"Browse & Clone"})]})]})}),e(r.div,{whileHover:{scale:1.02},whileTap:{scale:.98},transition:{type:"spring",stiffness:300,damping:20},children:a(i,{className:"cursor-pointer transition-all hover:shadow-lg border-2 hover:border-primary/50",onClick:c,children:[a(s,{className:"text-center pb-4",children:[e("div",{className:"mx-auto w-16 h-16 bg-green-100 rounded-full flex items-center justify-center mb-4",children:e(m,{className:"h-8 w-8 text-green-600"})}),e(l,{className:"text-xl",children:"Create New"})]}),a(o,{className:"text-center",children:[e("p",{className:"text-muted-foreground mb-4",children:"Build a completely new digital colleague from scratch with custom specifications."}),a("div",{className:"space-y-2 text-sm",children:[a("div",{className:"flex items-center gap-2 justify-center",children:[e(v,{className:"h-4 w-4 text-green-600"}),e("span",{children:"Custom job description"})]}),a("div",{className:"flex items-center gap-2 justify-center",children:[e(m,{className:"h-4 w-4 text-green-600"}),e("span",{children:"Define unique capabilities"})]})]}),e(t,{className:"mt-6 w-full",onClick:c,children:"Create from Scratch"})]})]})})]})]},"digital-colleague-options")})})}export{w as a};
|
package/dist/chunk-CBLP4MXP.mjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
import{a as u}from"./chunk-AZKOVKSK.mjs";import{a as b}from"./chunk-M245YHYF.mjs";import{a as N}from"./chunk-3KITWLRN.mjs";import{a as m,b as d,c as p,d as f}from"./chunk-KY7WQYN4.mjs";import{b as a}from"./chunk-ZUA4KNIR.mjs";import{a as v,b as g,c as h}from"./chunk-SOLZ4VQH.mjs";import{useState as T}from"react";import{motion as e}from"framer-motion";import{Bell as $,Menu as q,PanelLeft as E,Bot as G}from"lucide-react";import{Fragment as J,jsx as t,jsxs as i}from"react/jsx-runtime";function at({title:Q,notifications:x=[],onToggleSidebar:w,onToggleMobileMenu:y,sidebarOpen:C=!0,className:A,activeTab:k="assistant",onTabChange:P,showTabs:O=!0,tabOptions:R=[{value:"home",label:"Home"},{value:"chat",label:"Chat"},{value:"projects",label:"Projects"},{value:"colleagues",label:"Colleagues"},{value:"knowledge",label:"Knowledge"}],onActionClick:B,actionIcon:H=t(G,{className:"mr-2 h-4 w-4"}),actionText:j="Action",onNotificationRemove:z,onRemoveAll:D,logo:I="/headerlogo.png",appName:L="Nuvia",tagline:M="Collaboration Platform"}){let[F,l]=T(!1),[r,c]=T(x),n=r.filter(o=>!o.read).length,S=o=>{c(s=>s.filter(U=>U.id!==o)),z?.(o)},K=()=>{c(o=>o.filter(s=>s.read)),D?.()};return i(J,{children:[i("header",{className:`sticky top-0 z-10 flex h-16 items-center gap-3 px-4 backdrop-blur ${A||""}`,children:[t(a,{variant:"ghost",size:"icon",className:"md:hidden",onClick:y,children:t(q,{className:"h-5 w-5"})}),t(a,{variant:"ghost",size:"icon",className:"hidden md:flex",onClick:w,children:t(E,{className:"h-5 w-5"})}),!C&&i(e.div,{className:"flex items-center gap-3",initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{duration:.3},children:[t("div",{className:"flex h-10 w-10 items-center justify-center",children:t("img",{src:I,alt:"Logo",className:"h-10 w-10 object-contain"})}),i("div",{children:[t("h2",{className:"font-semibold text-sm",children:L}),t("p",{className:"text-xs text-muted-foreground",children:M})]})]}),i("div",{className:"flex flex-1 items-center",children:[O&&t(b,{activeTab:k,onTabChange:P,tabOptions:R}),i("div",{className:"flex items-center gap-3 ml-auto",children:[t(e.div,{className:"hidden md:flex gap-2",initial:{opacity:0,x:20},animate:{opacity:1,x:0},transition:{duration:.3,ease:"easeOut",delay:.1},children:t(e.div,{whileHover:{scale:1.05},whileTap:{scale:.95},transition:{type:"spring",stiffness:400,damping:17},children:i(a,{className:"rounded-2xl transition-all duration-200 hover:shadow-md",onClick:B,children:[H,j]})})}),t(u,{}),t(m,{children:i(d,{children:[t(p,{asChild:!0,children:t(e.div,{whileHover:{scale:1.05},whileTap:{scale:.95},transition:{type:"spring",stiffness:400,damping:17},children:i(a,{variant:"ghost",size:"icon",className:"rounded-2xl relative transition-all duration-200",onClick:()=>l(!0),children:[t(e.div,{animate:n>0?{rotate:[0,-10,10,-10,0]}:{},transition:{duration:.5,repeat:n>0?1/0:0,repeatDelay:3},children:t($,{className:"h-5 w-5"})}),n>0&&t(e.span,{className:"absolute -right-1 -top-1 flex h-5 w-5 items-center justify-center rounded-full bg-red-500 text-xs text-white",initial:{scale:0},animate:{scale:1},transition:{type:"spring",stiffness:500,damping:15},children:n})]})})}),t(f,{children:"Notifications"})]})}),t(e.div,{whileHover:{scale:1.05},whileTap:{scale:.95},transition:{type:"spring",stiffness:400,damping:17},children:i(v,{className:"h-9 w-9 border-2 border-primary transition-all duration-200 hover:shadow-md cursor-pointer",children:[t(g,{src:"/placeholder.svg?height=40&width=40",alt:"User"}),t(h,{})]})})]})]})]}),t(N,{notifications:r,open:F,onClose:()=>l(!1),onNotificationRemove:S,onRemoveAll:K})]})}export{at as a};
|
package/dist/chunk-FRKGQKEM.mjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
import{a as c}from"./chunk-MNI6AM7Q.mjs";import{a as d}from"./chunk-2NMVE5M4.mjs";import{a as m,f as n,g as r,i as s,j as l}from"./chunk-3UMMMQEH.mjs";import{useState as f}from"react";import{motion as x,AnimatePresence as v}from"framer-motion";import{jsx as e,jsxs as a}from"react/jsx-runtime";function w({teams:o=[],onCreateTeam:p,onTeamOpen:g}){let[u,i]=f(!1),y=()=>{i(!0),p?.()},T=t=>{g?.(t)};return a("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[e(v,{mode:"wait",children:a(x.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},children:[e(d,{title:"My Teams",description:"Collaborate with your human and digital colleagues across different teams and projects.",gradient:"bg-gradient-to-r from-blue-600 via-cyan-600 to-teal-600",primaryAction:{label:"Create Team",onClick:y}}),a("section",{className:"space-y-4 mt-8",children:[e("h2",{className:"text-2xl font-semibold",children:"Active Teams"}),o.length===0?a("div",{className:"text-center py-12",children:[e("p",{className:"text-muted-foreground text-lg",children:"You're not part of any teams yet."}),e("p",{className:"text-muted-foreground text-sm mt-2",children:"Create a new team or ask to be added to an existing one."})]}):e("div",{className:"grid grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-3",children:o.map(t=>e(c,{team:t,onOpen:T},t.id))})]})]},"teams-index-view")}),e(m,{open:u,onOpenChange:i,children:a(n,{className:"max-w-3xl max-h-[90vh] overflow-y-auto",children:[a(r,{children:[e(s,{children:"Create New Team"}),e(l,{children:"Set up a new team to collaborate with colleagues on projects."})]}),e("div",{className:"p-6 text-center text-muted-foreground",children:e("p",{children:"Team creation form coming soon..."})})]})})]})}export{w as a};
|
package/dist/chunk-G3WMXDFV.mjs
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
"use client"
|
|
4
|
-
|
|
5
|
-
import{a as O}from"./chunk-UPQQQYZZ.mjs";import{a as S}from"./chunk-PEQOQ7BK.mjs";import{a as D}from"./chunk-URYIYEGY.mjs";import{a as I}from"./chunk-JVUSZPSP.mjs";import{a as v,b as U,d as B}from"./chunk-JB7IQQ3N.mjs";import{a as T}from"./chunk-5RTGHMF3.mjs";import{a as i}from"./chunk-2NMVE5M4.mjs";import{a as F}from"./chunk-2GNX22CR.mjs";import{a as P,b as j}from"./chunk-PA4ZBJDO.mjs";import{b as u}from"./chunk-ZUA4KNIR.mjs";import{b as N}from"./chunk-CSBGSBEU.mjs";import{a as C,b as x,c as y,d as w,e as A,f as k}from"./chunk-YO3GQYRJ.mjs";import{useState as H}from"react";import{motion as oe,AnimatePresence as te}from"framer-motion";import{Bot as ae}from"lucide-react";import{motion as Z}from"framer-motion";import{Star as ee}from"lucide-react";import{jsx as s,jsxs as l}from"react/jsx-runtime";function f({app:a,onOpen:r,onFavorite:n,showProgress:c=!1,className:d}){return s(Z.div,{whileHover:{scale:1.02,y:-5},whileTap:{scale:.98},className:d,children:l(C,{className:"overflow-hidden rounded-3xl border-2 hover:border-primary/50 transition-all duration-300",children:[s(x,{className:"pb-2",children:l("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(N,{className:"rounded-xl bg-amber-500",children:"New"}):s(u,{variant:"ghost",size:"icon",className:"h-8 w-8 rounded-2xl",onClick:()=>n?.(a),children:s(ee,{className:"h-4 w-4"})})]})}),l(A,{className:"pb-2",children:[s(y,{className:"text-lg",children:a.name}),s(w,{children:a.description}),c&&a.progress<100&&l("div",{className:"mt-2",children:[l("div",{className:"flex items-center justify-between text-sm",children:[s("span",{children:"Installation"}),l("span",{children:[a.progress,"%"]})]}),s(T,{value:a.progress,className:"h-2 mt-1 rounded-xl"})]})]}),s(k,{children:s(u,{variant:"secondary",className:"w-full rounded-2xl",onClick:()=>r?.(a),children:a.progress<100?"Continue Install":"Open"})})]})})}import{jsx as e,jsxs as t}from"react/jsx-runtime";function se({title:a="Digital Colleagues",businessUnits:r,projects:n,fileCount:c,teamMemberCount:d,onCreateProject:R,onOpenProject:L,sidebarItems:ie,initialColleagues:E,users:M,onColleagueAdd:V,onColleagueEdit:z,onColleagueDelete:G}){let[m,p]=H("home"),[g,Y]=H(r[0]),b=o=>{console.log("Opening app:",o.name)},h=o=>{console.log("Favoriting app:",o.name)},K=o=>{console.log("Opening file:",o.name)},le=o=>{console.log("Sharing file:",o.name)},W=o=>{console.log("Opening project:",o.name),L(o)},_=o=>{console.log("Sharing project:",o.name)},$=o=>{Y(o),console.log("Business unit changed to:",o.name)},q=()=>{console.log("Copilot clicked - navigating to chat"),p("chat")},J=o=>{console.log("Notification removed:",o)},Q=()=>{console.log("All notifications removed")},X=()=>{switch(m){case"home":return t("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[t("section",{className:"text-center py-12",children:[t("h1",{className:"text-4xl font-bold mb-4",children:["Welcome to the ",g.name," team"]}),e("p",{className:"text-xl text-muted-foreground mb-8",children:"This is your collaborative workspace for productivity and knowledge sharing."})]}),t("section",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[t("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:n.length}),e("p",{className:"text-sm text-muted-foreground",children:"Active projects"})]}),t("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:d}),e("p",{className:"text-sm text-muted-foreground",children:"Collaborators"})]}),t("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:c}),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:()=>p("chat")}})]});case"colleagues":return e(O,{initialColleagues:E,availableUsers:M,onColleagueAdd:V,onColleagueEdit:z,onColleagueDelete:G});case"chat":return t("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[t("section",{className:"text-center py-12",children:[e("h1",{className:"text-4xl font-bold mb-4",children:"Team Chat"}),t("p",{className:"text-xl text-muted-foreground mb-8",children:["Connect with your ",g.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 t("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")}}),t("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:v.filter(o=>o.new).map(o=>e(f,{app:o,showProgress:!0,onOpen:b,onFavorite:h},o.name))})]}),t("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:v.map(o=>e(f,{app:o,onOpen:b,onFavorite:h},o.name))})]})]});case"knowledge":return e(D,{});case"files":return t("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")}}),t("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(I,{files:U,onFileClick:K})]})]});case"projects":return t("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:R}}),t("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:n.map(o=>e(S,{project:o,onOpen:W,onShare:_},o.name))})]})]});case"learn":return t("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")}}),t("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:B.slice(0,3).map(o=>t("div",{className:"rounded-3xl border p-6",children:[e("h3",{className:"font-semibold mb-2",children:o.title}),e("p",{className:"text-sm text-muted-foreground mb-4",children:o.description}),t("div",{className:"flex items-center justify-between text-sm",children:[e("span",{children:o.duration}),e("span",{children:o.level})]})]},o.title))})]})]});default:return null}};return e(F,{sidebarItems:P,title:a,notifications:j,businessUnits:r,currentBusinessUnit:g,onBusinessUnitChange:$,activeTab:m,onTabChange:p,showTabs:!0,onActionClick:q,actionIcon:e(ae,{className:"mr-2 h-4 w-4"}),actionText:"Start Chat",onNotificationRemove:J,onRemoveAll:Q,children:e(te,{mode:"wait",children:e(oe.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:X()},m)})})}export{se as a};
|
package/dist/chunk-HME6CJ6L.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as V}from"./chunk-SIL7AP7H.mjs";import{a as _}from"./chunk-6OCLRAHU.mjs";import{a as J}from"./chunk-A2AEX4YB.mjs";import{a as W}from"./chunk-DBY4SXQI.mjs";import{a as K}from"./chunk-I3E2TYYZ.mjs";import{d as I}from"./chunk-Q2DPE66H.mjs";import{a as U}from"./chunk-FT3AE7L2.mjs";import{a as O}from"./chunk-L5JPAKPM.mjs";import{b as d}from"./chunk-ZUA4KNIR.mjs";import{a as g,c as N}from"./chunk-SOLZ4VQH.mjs";import{b as $}from"./chunk-CSBGSBEU.mjs";import{a as p,b as h,c as x,e as f}from"./chunk-YO3GQYRJ.mjs";import{a as u}from"./chunk-MDJREBVI.mjs";import{useRef as D,useEffect as q,useState as G}from"react";import{motion as A,AnimatePresence as me}from"framer-motion";import{Send as ce,Bot as E,User as ue,Menu as pe,Paperclip as fe,X as ve,FileText as ge,Image as Ne,File as he,Download as xe,ExternalLink as ye}from"lucide-react";import{jsx as e,jsxs as s}from"react/jsx-runtime";function Ke({messages:P,input:M,isTyping:y=!1,currentSessionTitle:be,capabilities:B,fileUploads:b,isDragOver:Q,enableFileUpload:F,onInputChange:X,addToolResult:j,onSendMessage:Y,onKeyPress:Z,onFileUpload:S,onRemoveFile:ee,onDragOver:C,className:te}){let w=D(null),ae=D(null),R=D(null),[c,v]=G(!1),[L,Ce]=G({path:[],selectedItems:[],filters:{}});q(()=>{w.current?.scrollIntoView({behavior:"smooth"})},[P]),q(()=>{c&&setTimeout(()=>{w.current?.scrollIntoView({behavior:"smooth"})},100)},[c]);let z=()=>I(L),se=()=>{let t=[];return B.forEach(r=>{r.actions&&r.actions.forEach(l=>{t.push({label:l.label,action:()=>k(l.id,{path:[r],selectedItems:[],filters:{}})})}),r.children&&r.children.forEach(l=>{l.type==="list"&&l.data&&t.push({label:`View ${l.name}`,action:()=>v(!0)})})}),t.slice(0,5)},k=(t,r)=>{console.log("Capability action:",t,r);let l=`Executing ${t} with context: ${JSON.stringify(r.path.map(i=>i.name))}`;v(!1)},we=I({path:[],selectedItems:[],filters:{}}),ie=t=>{S(t.target.files),t.target.files&&(t.target.value="")},re=t=>{t.preventDefault(),C(!0)},le=t=>{t.preventDefault(),C(!1)},oe=t=>{t.preventDefault(),C(!1),S(t.dataTransfer.files)},ne=t=>{if(t===0)return"0 Bytes";let r=1024,l=["Bytes","KB","MB","GB"],i=Math.floor(Math.log(t)/Math.log(r));return parseFloat((t/Math.pow(r,i)).toFixed(2))+" "+l[i]},H=t=>t.startsWith("image/")?e(Ne,{className:"h-4 w-4"}):t.startsWith("text/")?e(ge,{className:"h-4 w-4"}):e(he,{className:"h-4 w-4"}),de=t=>{let r=t.role==="assistant",l=t.role==="user";return s("div",{className:u("flex items-start gap-3",l?"flex-row-reverse":""),children:[e(g,{className:"h-8 w-8 shrink-0",children:e(N,{className:u(l?"bg-primary text-primary-foreground":"bg-gradient-to-br from-purple-600 to-blue-600 text-white"),children:l?e(ue,{className:"h-4 w-4"}):e(E,{className:"h-4 w-4"})})}),e("div",{className:u("max-w-[80%] rounded-2xl px-4 py-3 shadow-sm",l?"bg-primary text-primary-foreground":"bg-muted"),children:t.parts.map((i,o)=>{if(i.type==="text")return e(_,{id:t.id,content:i.text},`${t.id}-text`);if(i.type==="file"){let a=i;return e("div",{className:"mb-2 p-2 bg-background/50 rounded-lg",children:s("div",{className:"flex items-center gap-2",children:[H(a.mediaType||"application/octet-stream"),e("div",{className:"flex-1 min-w-0",children:e("p",{className:"text-sm font-medium truncate",children:a.filename||a.url?.split("/").pop()||"File"})}),a.url&&e(d,{variant:"ghost",size:"sm",onClick:()=>window.open(a.url,"_blank"),className:"h-8 w-8 p-0",children:e(xe,{className:"h-4 w-4"})})]})},o)}if(i.type.startsWith("tool-")){let a=i,m=i.type.replace("tool-","");if(m==="task")switch(a.state){case"input-available":return e("div",{className:"text-sm opacity-70",children:"Loading task..."},o);case"output-available":return e("div",{className:"mb-2",children:e(K,{data:{id:a.output?.id||a.input?.id,fetchLatest:!1,taskData:a.output||a.input}})},o);case"output-error":return s("div",{className:"text-sm text-red-500",children:["Error: ",a.errorText]},o);default:return null}if(i.type==="tool-requestEndpointLogin")return e("div",{className:"mb-2",children:e(V,{toolPart:a,index:o,addToolResult:j??(()=>{})})},o);if(m==="artefact")switch(a.state){case"input-available":return e("div",{className:"text-sm opacity-70",children:"Loading artefact..."},o);case"output-available":return e("div",{className:"mb-2",children:e(W,{artefact:a.output?.description||"",taskId:a.output?.id||a.input?.id,taskData:a.output||a.input})},o);case"output-error":return s("div",{className:"text-sm text-red-500",children:["Error: ",a.errorText]},o);default:return null}return e("div",{className:"mb-2",children:s(p,{className:"w-full max-w-md",children:[e(h,{children:e(x,{className:"text-lg",children:m})}),s(f,{children:[a.state==="input-available"&&s("p",{className:"text-sm",children:["Processing ",m,"..."]}),a.state==="output-available"&&e("pre",{className:"text-sm",children:JSON.stringify(a.output,null,2)}),a.state==="output-error"&&s("p",{className:"text-sm text-red-500",children:["Error: ",a.errorText]})]})]})},o)}if(i.type.startsWith("data-")){let a=i,m=i.type.replace("data-","");return m==="reference"?e("div",{className:"mb-2",children:e(p,{className:"w-full",children:e(f,{className:"p-4",children:e("div",{className:"space-y-2",children:a.data?.references?.map((n,T)=>s("div",{className:"flex items-center gap-2 p-2 rounded-md bg-muted/50",children:[e($,{variant:"outline",children:n.type||"link"}),s("div",{className:"flex-1 min-w-0",children:[e("p",{className:"text-sm font-medium truncate",children:n.title}),n.description&&e("p",{className:"text-xs text-muted-foreground truncate",children:n.description})]}),n.url&&e(d,{variant:"ghost",size:"sm",onClick:()=>window.open(n.url,"_blank"),className:"h-8 w-8 p-0",children:e(ye,{className:"h-4 w-4"})})]},T))})})})},o):m==="menu"?e("div",{className:"mb-2",children:s(p,{className:"w-full",children:[e(h,{children:e(x,{className:"text-lg",children:a.data?.title})}),e(f,{children:e("div",{className:"space-y-2",children:a.data?.items?.map((n,T)=>e(d,{variant:"outline",className:"w-full justify-start",onClick:n.action,children:s("div",{className:"text-left",children:[e("p",{className:"font-medium",children:n.label}),n.description&&e("p",{className:"text-xs text-muted-foreground",children:n.description})]})},T))})})]})},o):e("div",{className:"mb-2",children:s(p,{className:"w-full max-w-md",children:[e(h,{children:e(x,{className:"text-lg",children:m})}),e(f,{children:e("pre",{className:"text-sm",children:JSON.stringify(a.data,null,2)})})]})},o)}return null})})]})};return s("div",{className:`h-full flex flex-col shadow-sm max-w-4xl mx-auto ${te||""}`,children:[s(U,{ref:ae,className:"flex-1 p-4 bg-background border-0",onDragOver:re,onDragLeave:le,onDrop:oe,children:[s("div",{className:u("space-y-4",Q&&"ring-2 ring-primary ring-offset-2 bg-primary/5"),children:[e(me,{children:P.map(t=>e(A.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},className:u("flex gap-3",t.role==="user"?"flex-row-reverse":"flex-row"),children:de(t)},t.id))}),c&&s(A.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},className:"flex gap-3",children:[e(g,{className:"h-8 w-8",children:e(N,{className:"bg-gradient-to-br from-purple-600 to-blue-600 text-white",children:e(E,{className:"h-4 w-4"})})}),e("div",{className:"flex-1 bg-muted rounded-2xl px-4 py-3 shadow-sm",children:e(J,{capabilities:B,isOpen:c,onToggle:()=>v(!c),onActionSelect:k,className:"w-full"})})]}),y&&s(A.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},className:"flex gap-3",children:[e(g,{className:"h-8 w-8",children:e(N,{className:"bg-gradient-to-br from-purple-600 to-blue-600 text-white",children:e(E,{className:"h-4 w-4"})})}),e("div",{className:"bg-muted rounded-2xl px-4 py-3 shadow-sm",children:s("div",{className:"flex space-x-1",children:[e("div",{className:"w-2 h-2 bg-muted-foreground/50 rounded-full animate-bounce"}),e("div",{className:"w-2 h-2 bg-muted-foreground/50 rounded-full animate-bounce",style:{animationDelay:"0.1s"}}),e("div",{className:"w-2 h-2 bg-muted-foreground/50 rounded-full animate-bounce",style:{animationDelay:"0.2s"}})]})})]})]}),e("div",{ref:w})]}),b.length>0&&e("div",{className:"p-4 border-t bg-muted/10",children:e("div",{className:"flex flex-wrap gap-2",children:b.map(t=>s("div",{className:"flex items-center gap-2 bg-background rounded-lg p-2 border",children:[H(t.file.type),e("span",{className:"text-sm font-medium",children:t.file.name}),e("span",{className:"text-xs text-muted-foreground",children:ne(t.file.size)}),e(d,{variant:"ghost",size:"sm",onClick:()=>ee(t.id),className:"h-6 w-6 p-0",children:e(ve,{className:"h-4 w-4"})})]},t.id))})}),s("div",{className:"border rounded-2xl p-4 bg-muted/20",children:[s("div",{className:"flex gap-3",children:[e(O,{value:M,onChange:t=>X(t.target.value),onKeyPress:Z,placeholder:"How can I help you today?",className:"flex-1 rounded-2xl bg-background shadow-sm",disabled:y}),F&&e(d,{variant:"outline",size:"icon",onClick:()=>R.current?.click(),className:"rounded-2xl h-10 w-10 shadow-sm",children:e(fe,{className:"h-4 w-4"})}),e(d,{onClick:Y,disabled:!M.trim()&&b.length===0||y,size:"icon",className:"rounded-2xl h-10 w-10 shadow-sm",children:e(ce,{className:"h-4 w-4"})})]}),s("div",{className:"flex items-center gap-3 mt-3",children:[s(d,{onClick:()=>v(!c),variant:"outline",size:"sm",className:"rounded-full text-xs flex-shrink-0",children:[e(pe,{className:"h-3 w-3 mr-1"}),c?"Hide":"Show"," Capabilities"]}),s("div",{className:"flex flex-wrap gap-2 overflow-hidden",children:[z().map((t,r)=>e(d,{variant:"default",size:"sm",className:"rounded-full text-xs bg-accent hover:bg-accent/80",onClick:()=>k(t.id,L),children:t.label},`context-${t.id}`)),z().length===0&&se().map((t,r)=>e(d,{variant:"outline",size:"sm",className:"rounded-full text-xs",onClick:t.action,children:t.label},`suggestion-${r}`))]})]}),F&&e("input",{ref:R,type:"file",multiple:!0,onChange:ie,className:"hidden"})]})]})}export{Ke as a};
|
package/dist/chunk-JHYWAL24.mjs
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
import{a as g,b as h,c as b}from"./chunk-7OMPPFGG.mjs";import{b as y}from"./chunk-P6OSMPUQ.mjs";import{a as l}from"./chunk-MDJREBVI.mjs";import{useState as C,useEffect as D,useCallback as A}from"react";import{AnimatePresence as k,motion as v}from"framer-motion";import"pagedjs";import{Fragment as I,jsx as t,jsxs as w}from"react/jsx-runtime";var K=c=>{let[s,i]=C(0),{blocks:a,hero:x,logoImage:m}=c,N=a&&Array.isArray(a)&&a.length>0,n=[{id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...a],S=e=>{i(e)},r=()=>{i(e=>(e+1)%n.length)},d=()=>{i(e=>(e-1+n.length)%n.length)},u=A(((e,o)=>{let f;return(...T)=>{clearTimeout(f),f=setTimeout(()=>e(...T),o)}})(e=>{e.deltaY>0?r():d()},300),[]),p=e=>{e.key==="ArrowDown"?r():e.key==="ArrowUp"&&d()};return D(()=>(window.addEventListener("wheel",u),window.addEventListener("keydown",p),()=>{window.removeEventListener("wheel",u),window.removeEventListener("keydown",p)}),[]),w("div",{className:"flex flex-col min-h-screen relative overflow-hidden",children:[t("div",{className:"fixed left-0 top-0 flex h-screen w-9 z-10 flex-col items-center justify-center bg-gray-900",children:N&&n.map((e,o)=>t("button",{className:`group relative flex items-center justify-center my-2 h-16 w-4 rounded-full transition-all hover:bg-accent duration-300 ${s===o?"bg-accent":"bg-gray-600"}`,onClick:()=>S(o),children:t("span",{className:"absolute ml-7 left-full text-left transform -translate-y-1/2 translate-x-0 rotate-90 origin-left whitespace-nowrap opacity-0 group-hover:opacity-100 group-hover:translate-x-2 transition-all duration-300",children:e.blockName})},e.id))}),t(k,{children:n.map((e,o)=>t("div",{id:`slide-${o}`,className:"print-section",children:t("div",{className:`absolute flex items-center justify-center transition-opacity duration-1000
|
|
5
|
-
${o===s?"opacity-100":"opacity-0"}
|
|
6
|
-
w-full h-full bg-cover bg-center`,children:o===0?t(b,{hero:x,title:c.title,logoImage:m}):w(I,{children:[e.blockName&&t(h,{title:e.blockName}),t(y,{blocks:[e],fill:!0}),t(g,{logoImage:m})]})})},o))}),t("button",{className:"absolute bottom-4 left-1 z-20 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:r,children:t(E,{})})]})},E=()=>t(k,{children:t(v.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.7,ease:[.76,0,.24,1]},className:l("w-fit min-h-[50px] min-w-[20px] p-1 border-2 rounded-full","border-accent"),children:t(v.div,{initial:{y:0},animate:{y:[0,25],opacity:[1,0]},transition:{duration:1,ease:"easeOut",repeat:1/0,repeatDelay:1},className:l("w-[12px] h-[12px] rounded-full","bg-accent")})})});export{K as a};
|
package/dist/chunk-JVUSZPSP.mjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
import{b as t}from"./chunk-ZUA4KNIR.mjs";import{motion as n}from"framer-motion";import{Trash2 as c}from"lucide-react";import{jsx as e,jsxs as d}from"react/jsx-runtime";function x({files:s,onFileClick:a,onFileEdit:v,onFileDelete:o,showHeader:l=!0,className:m}){return d("div",{className:`rounded-3xl border overflow-hidden ${m||""}`,children:[l&&d("div",{className:"bg-muted/50 p-3 hidden md:grid md:grid-cols-10 text-sm font-medium",children:[e("div",{className:"col-span-6",children:"Name"}),e("div",{className:"col-span-2",children:"Size"}),e("div",{className:"col-span-2",children:"Modified"})]}),e("div",{className:"divide-y",children:s.map(i=>d(n.div,{whileHover:{backgroundColor:"rgba(0,0,0,0.02)"},className:"p-3 md:grid md:grid-cols-10 items-center flex flex-col md:flex-row gap-3 md:gap-0 cursor-pointer",onClick:()=>a?.(i),children:[d("div",{className:"col-span-6 flex items-center gap-3 w-full md:w-auto",children:[e("div",{className:"flex h-10 w-10 items-center justify-center rounded-2xl bg-muted"}),e("div",{children:e("p",{className:"font-medium",children:i.name})})]}),e("div",{className:"col-span-2 text-sm md:text-base",children:i.filesize}),d("div",{className:"col-span-2 flex items-center justify-between w-full md:w-auto",children:[e("span",{className:"text-sm md:text-base",children:typeof i.createdAt=="string"?i.createdAt:i.createdAt.toLocaleDateString()}),e("div",{className:"flex gap-1",children:e(t,{variant:"ghost",size:"icon",className:"h-8 w-8 rounded-xl text-red-500 hover:text-red-600",onClick:r=>{r.stopPropagation(),o?.(i)},children:e(c,{className:"h-4 w-4"})})})]})]},i.name))})]})}export{x as a};
|
package/dist/chunk-M245YHYF.mjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
import{a as u,b as p,c}from"./chunk-RLVKIMGU.mjs";import{a as t,b as l,i as s,j as d}from"./chunk-OCPX4QPC.mjs";import{b as m}from"./chunk-ZUA4KNIR.mjs";import{motion as g}from"framer-motion";import{ChevronDown as x}from"lucide-react";import{jsx as a,jsxs as o}from"react/jsx-runtime";function M({activeTab:i,onTabChange:r,tabOptions:n,className:v="",maxWidth:f="700px",gridCols:h=6}){let w=n.find(e=>e.value===i);return o(g.div,{className:`flex-1 flex justify-center ${v}`,initial:{opacity:0,y:-20},animate:{opacity:1,y:0},transition:{duration:.3,ease:"easeOut"},children:[a("div",{className:"hidden md:block",children:a(u,{value:i,onValueChange:r,children:a(p,{className:"grid w-full rounded-2xl p-0 h-10",style:{maxWidth:f,gridTemplateColumns:`repeat(${Math.min(h,n.length)}, minmax(0, 1fr))`},children:n.map(e=>a(g.div,{whileHover:{scale:1.1},whileTap:{scale:.98},transition:{type:"spring",stiffness:400,damping:17},className:"flex-1 px-2",children:a(c,{value:e.value,className:"w-full h-8 rounded-xl data-[state=active]:rounded-xl transition-all duration-200 hover:border hover:border-accent hover:bg-accent/10 px-4 py-2 text-sm font-medium",children:e.label})},e.value))})})}),a("div",{className:"md:hidden",children:o(t,{children:[a(l,{asChild:!0,children:o(m,{variant:"outline",className:"rounded-2xl min-w-[140px] justify-between",children:[w?.label||"Select",a(x,{className:"h-4 w-4 ml-2"})]})}),a(s,{align:"center",className:"w-[180px]",children:n.map(e=>a(d,{onClick:()=>r?.(e.value),className:`cursor-pointer ${i===e.value?"bg-accent":""}`,children:e.label},e.value))})]})})]})}export{M as a};
|
package/dist/chunk-MNI6AM7Q.mjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
import{b as t}from"./chunk-ZUA4KNIR.mjs";import{a as r,b as i,c as m,d as l,e as n,f as o}from"./chunk-YO3GQYRJ.mjs";import{motion as p}from"framer-motion";import{Users as u,Bot as f,FolderOpen as v}from"lucide-react";import{jsx as e,jsxs as a}from"react/jsx-runtime";function y({team:s,onOpen:d,className:c}){return e(p.div,{whileHover:{scale:1.02,y:-5},whileTap:{scale:.98},className:c,children:a(r,{className:"overflow-hidden rounded-3xl border hover:border-primary/50 transition-all duration-300",children:[a(i,{children:[e(m,{className:"text-lg",children:s.name}),e(l,{className:"mt-1 text-sm",children:s.description})]}),a(n,{className:"space-y-4",children:[a("div",{className:"grid grid-cols-2 gap-4",children:[a("div",{className:"flex items-center justify-between text-sm",children:[a("div",{className:"flex items-center gap-2",children:[e(u,{className:"h-4 w-4 text-blue-500"}),e("span",{children:"Human"})]}),e("span",{className:"font-medium",children:s.humanColleagues})]}),a("div",{className:"flex items-center justify-between text-sm",children:[a("div",{className:"flex items-center gap-2",children:[e(f,{className:"h-4 w-4 text-purple-500"}),e("span",{children:"Digital"})]}),e("span",{className:"font-medium",children:s.digitalColleagues})]})]}),a("div",{className:"flex items-center justify-between text-sm border-t pt-4",children:[a("div",{className:"flex items-center gap-2",children:[e(v,{className:"h-4 w-4 text-green-500"}),e("span",{children:"Projects"})]}),e("span",{className:"font-medium",children:s.projects})]})]}),e(o,{className:"flex gap-2",children:e(t,{variant:"secondary",className:"flex-1 rounded-2xl",onClick:()=>d?.(s),children:"View Team"})})]})})}export{y as a};
|
package/dist/chunk-O4GULNQE.mjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
import{a as H}from"./chunk-3PHJWI4Q.mjs";import{a as L}from"./chunk-FT3AE7L2.mjs";import{a as I}from"./chunk-L5JPAKPM.mjs";import{motion as p}from"framer-motion";import{ChevronRight as T,File as O,FileText as k,Search as F}from"lucide-react";import{useState as K,useMemo as B}from"react";import{jsx as e,jsxs as n}from"react/jsx-runtime";function $({label:f,documents:m,children:i,level:u,onDocumentClick:x,selectedDocumentId:h,showDocumentCount:w=!0}){let[c,s]=K(u===0),b=i&&Object.keys(i).length>0,v=m.length+(i?Object.values(i).reduce((t,r)=>t+r.documents.length,0):0),N=t=>{switch(t){case"markdown":case"mdx":return e(k,{className:"h-3.5 w-3.5 text-muted-foreground"});case"richtext":return e(O,{className:"h-3.5 w-3.5 text-muted-foreground"});default:return e(O,{className:"h-3.5 w-3.5 text-muted-foreground"})}},y=t=>{let r=["bg-primary","bg-secondary","bg-accent","bg-chart-1"];return r[t%r.length]};return n("div",{className:"space-y-1",children:[(b||m.length>0)&&n(p.div,{className:`group flex items-center gap-3 p-3 rounded-xl cursor-pointer transition-all duration-200 ${c?"bg-card shadow-sm border border-border":"hover:bg-muted/50 hover:shadow-sm"}`,style:{marginLeft:`${u*20}px`},onClick:()=>s(!c),whileHover:{scale:1.01},whileTap:{scale:.99},children:[e("div",{className:`w-1 h-6 rounded-full ${y(u)}`}),e(p.div,{animate:{rotate:c?90:0},transition:{duration:.2},className:"flex-shrink-0",children:e(T,{className:"h-4 w-4 text-muted-foreground"})}),n("div",{className:"flex-1 flex items-center justify-between min-w-0",children:[e("div",{className:"flex items-center gap-2 min-w-0",children:e("span",{className:"font-medium text-foreground truncate",children:f})}),w&&v>0&&e("div",{className:"flex-shrink-0 ml-2",children:e("span",{className:"inline-flex items-center justify-center w-6 h-6 text-xs font-medium bg-muted text-muted-foreground rounded-full",children:v})})]})]}),e(p.div,{initial:!1,animate:{height:c?"auto":0,opacity:c?1:0},transition:{duration:.2,ease:"easeInOut"},className:"overflow-hidden",children:n("div",{className:"pt-2 space-y-1",children:[m.map((t,r)=>n(p.div,{initial:{opacity:0,x:-10},animate:{opacity:1,x:0},transition:{delay:r*.05,duration:.2},className:`group flex items-center gap-3 p-2.5 mx-2 rounded-lg cursor-pointer transition-all duration-150 ${h===t.id?"bg-primary/10 border-l-2 border-primary shadow-sm":"hover:bg-muted/50 hover:translate-x-1"}`,style:{marginLeft:`${u*20+20}px`},onClick:()=>x?.(t),whileHover:{scale:1.01},whileTap:{scale:.99},children:[e("div",{className:"flex-shrink-0",children:N(t.format)}),n("div",{className:"flex-1 min-w-0",children:[e("p",{className:`text-sm truncate transition-colors ${h===t.id?"text-primary font-medium":"text-foreground group-hover:text-foreground"}`,children:t.title}),t.description&&e("p",{className:"text-xs text-muted-foreground truncate mt-0.5",children:t.description})]}),t.tags&&t.tags.length>0&&e("div",{className:"flex-shrink-0",children:e("span",{className:"inline-flex items-center px-2 py-1 rounded-md text-xs font-medium bg-muted text-muted-foreground group-hover:bg-muted/80 transition-colors",children:t.tags[0]})})]},t.id)),i&&Object.entries(i).map(([t,r])=>e($,{label:t,documents:r.documents,children:r.children,level:u+1,onDocumentClick:x,selectedDocumentId:h,showDocumentCount:w},t))]})})]})}function V({documents:f,menuConfig:m,onDocumentClick:i,onDocumentShare:u,onDocumentUpdate:x,selectedDocumentId:h,className:w,editable:c=!0}){let[s,b]=K(""),[v,N]=K(null),y=B(()=>s?f.filter(o=>o.title.toLowerCase().includes(s.toLowerCase())||o.description?.toLowerCase().includes(s.toLowerCase())||o.tags?.some(d=>d.toLowerCase().includes(s.toLowerCase()))||Object.values(o.metadata||{}).some(d=>String(d).toLowerCase().includes(s.toLowerCase()))):f,[f,s]),t=B(()=>{let o=(d,j)=>{if(j.length===0)return{};let[M,...S]=j;return d.reduce((a,D)=>{let P=D.metadata?.[M]||"Uncategorized",l=String(P);if(a[l]||(a[l]={documents:[],children:{}}),S.length===0)a[l].documents.push(D);else{let C=o([D],S),g=Object.keys(C)[0];g&&(a[l].children||(a[l].children={}),a[l].children[g]?a[l].children[g].documents.push(...C[g].documents):a[l].children[g]=C[g])}return a},{})};return o(y,m.groupBy)},[y,m.groupBy]),r=o=>{N(o),i?.(o)};return n("div",{className:`flex h-full ${w||""}`,children:[n("div",{className:"w-1/3 border-r border-border bg-muted/20",children:[e("div",{className:"p-6 border-b border-border",children:n("div",{className:"relative",children:[e("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:e(F,{className:"h-4 w-4 text-muted-foreground"})}),e(I,{placeholder:"Search knowledge base...",value:s,onChange:o=>b(o.target.value),className:"pl-10 bg-background/80 border-border focus:border-primary/50 focus:ring-primary/20 rounded-xl h-11 text-sm placeholder:text-muted-foreground"})]})}),e(L,{className:"h-[calc(100%-100px)]",children:n("div",{className:"p-4 space-y-3",children:[Object.entries(t).map(([o,d])=>e($,{label:o,documents:d.documents,children:d.children,level:0,onDocumentClick:r,selectedDocumentId:h,showDocumentCount:m.showDocumentCount},o)),Object.keys(t).length===0&&n(p.div,{initial:{opacity:0},animate:{opacity:1},className:"text-center text-muted-foreground py-12",children:[e("div",{className:"w-16 h-16 mx-auto mb-4 rounded-full bg-muted flex items-center justify-center",children:e(k,{className:"h-8 w-8 text-muted-foreground"})}),e("p",{className:"text-sm font-medium",children:"No documents found"}),e("p",{className:"text-xs mt-1",children:"Try adjusting your search terms"})]})]})})]}),e("div",{className:"flex-1 bg-background",children:v?e(H,{document:v,onDocumentUpdate:x,editable:c}):e("div",{className:"h-full flex items-center justify-center text-center",children:n(p.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.4},className:"max-w-sm",children:[e("div",{className:"w-20 h-20 mx-auto mb-6 rounded-full bg-primary/10 flex items-center justify-center",children:e(k,{className:"h-10 w-10 text-primary"})}),e("h3",{className:"text-xl font-semibold text-foreground mb-2",children:"Select a document"}),e("p",{className:"text-muted-foreground leading-relaxed",children:"Choose any document from the knowledge base to view its content and details"})]})})})]})}export{V as a};
|
package/dist/chunk-PEQOQ7BK.mjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
import{a as c}from"./chunk-5RTGHMF3.mjs";import{b as s}from"./chunk-ZUA4KNIR.mjs";import{b as t}from"./chunk-CSBGSBEU.mjs";import{a as o,b as i,c as m,d,e as n,f as l}from"./chunk-YO3GQYRJ.mjs";import{motion as v}from"framer-motion";import{FileText as C,Share2 as N,Users as x}from"lucide-react";import{jsx as r,jsxs as e}from"react/jsx-runtime";function S({project:a,onOpen:u,onShare:f,className:p}){return r(v.div,{whileHover:{scale:1.02,y:-5},whileTap:{scale:.98},className:p,children:e(o,{className:"overflow-hidden rounded-3xl border hover:border-primary/50 transition-all duration-300",children:[e(i,{children:[e("div",{className:"flex items-center justify-between",children:[r(m,{children:a.name}),e(t,{variant:"outline",className:"rounded-xl",children:["Due ",a.dueDate]})]}),r(d,{children:a.description})]}),e(n,{className:"space-y-4",children:[e("div",{className:"space-y-2",children:[e("div",{className:"flex items-center justify-between text-sm",children:[r("span",{children:"Progress"}),e("span",{children:[a.progress,"%"]})]}),r(c,{value:a.progress,className:"h-2 rounded-xl"})]}),e("div",{className:"flex items-center justify-between text-sm text-muted-foreground",children:[e("div",{className:"flex items-center",children:[r(x,{className:"mr-1 h-4 w-4"}),a.members," members"]}),e("div",{className:"flex items-center",children:[r(C,{className:"mr-1 h-4 w-4"}),a.files," files"]})]})]}),e(l,{className:"flex gap-2",children:[r(s,{variant:"secondary",className:"flex-1 rounded-2xl",onClick:()=>u?.(a),children:"Open Project"}),r(s,{variant:"outline",size:"icon",className:"rounded-2xl",onClick:()=>f?.(a),children:r(N,{className:"h-4 w-4"})})]})]})})}export{S as a};
|
package/dist/chunk-RUOYGMOR.mjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
import{b as t}from"./chunk-ZUA4KNIR.mjs";import{a as s,b as i,c as l,e as o}from"./chunk-YO3GQYRJ.mjs";import{User as m,Bot as c,ChevronLeft as v,Users as p}from"lucide-react";import{motion as r,AnimatePresence as g}from"framer-motion";import{jsx as e,jsxs as a}from"react/jsx-runtime";function y({onSelectHuman:n,onSelectDigital:d,onCancel:u}){return e("div",{className:"px-2 md:px-4 py-4 space-y-6",children:e(g,{mode:"wait",children:a(r.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},children:[a("div",{className:"flex items-center gap-4 mb-6",children:[a(t,{variant:"ghost",onClick:u,className:"gap-2",children:[e(v,{className:"h-4 w-4"}),"Back"]}),a("div",{children:[e("h1",{className:"text-3xl font-bold",children:"Add Colleague"}),e("p",{className:"text-muted-foreground",children:"Choose the type of colleague to add"})]})]}),a("div",{className:"grid gap-6 md:grid-cols-2 max-w-4xl mx-auto",children:[e(r.div,{whileHover:{scale:1.02},whileTap:{scale:.98},transition:{type:"spring",stiffness:300,damping:20},children:a(s,{className:"cursor-pointer transition-all hover:shadow-lg border-2 hover:border-primary/50",onClick:n,children:[a(i,{className:"text-center pb-4",children:[e("div",{className:"mx-auto w-16 h-16 bg-blue-100 rounded-full flex items-center justify-center mb-4",children:e(m,{className:"h-8 w-8 text-blue-600"})}),e(l,{className:"text-xl",children:"Add Human Colleague"})]}),a(o,{className:"text-center",children:[e("p",{className:"text-muted-foreground mb-4",children:"Select from existing users in your organization to add as team members."}),a("div",{className:"space-y-2 text-sm",children:[a("div",{className:"flex items-center gap-2 justify-center",children:[e(p,{className:"h-4 w-4 text-blue-600"}),e("span",{children:"Browse existing users"})]}),a("div",{className:"flex items-center gap-2 justify-center",children:[e(m,{className:"h-4 w-4 text-blue-600"}),e("span",{children:"Import user details automatically"})]})]}),e(t,{className:"mt-6 w-full",onClick:n,children:"Select User"})]})]})}),e(r.div,{whileHover:{scale:1.02},whileTap:{scale:.98},transition:{type:"spring",stiffness:300,damping:20},children:a(s,{className:"cursor-pointer transition-all hover:shadow-lg border-2 hover:border-primary/50",onClick:d,children:[a(i,{className:"text-center pb-4",children:[e("div",{className:"mx-auto w-16 h-16 bg-purple-100 rounded-full flex items-center justify-center mb-4",children:e(c,{className:"h-8 w-8 text-purple-600"})}),e(l,{className:"text-xl",children:"Add Digital Colleague"})]}),a(o,{className:"text-center",children:[e("p",{className:"text-muted-foreground mb-4",children:"Clone an existing digital colleague or create a new AI assistant for your team."}),a("div",{className:"space-y-2 text-sm",children:[a("div",{className:"flex items-center gap-2 justify-center",children:[e(c,{className:"h-4 w-4 text-purple-600"}),e("span",{children:"Clone existing colleagues"})]}),a("div",{className:"flex items-center gap-2 justify-center",children:[e(p,{className:"h-4 w-4 text-purple-600"}),e("span",{children:"Create from templates"})]})]}),e(t,{className:"mt-6 w-full",onClick:d,children:"Add Digital Colleague"})]})]})})]})]},"colleague-type-selection")})})}export{y as a};
|
package/dist/chunk-UPQQQYZZ.mjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
import{a as R}from"./chunk-2NMVE5M4.mjs";import{a as N}from"./chunk-TUI4S4GI.mjs";import{a as K}from"./chunk-EAFH3DTH.mjs";import{a as Y}from"./chunk-RUOYGMOR.mjs";import{a as Z}from"./chunk-WN2LPOQP.mjs";import{a as _}from"./chunk-BADFWNRL.mjs";import{a as ee}from"./chunk-AVHFRD6D.mjs";import{a as X}from"./chunk-M245YHYF.mjs";import{a as U,c as F,d as O,g as I,i as g}from"./chunk-YFAZQYK4.mjs";import{a as Q}from"./chunk-L5JPAKPM.mjs";import{b as H}from"./chunk-ZUA4KNIR.mjs";import{a as u,b as x,c as D,e as p}from"./chunk-YO3GQYRJ.mjs";import{useEffect as Ce,useState as s}from"react";import{Plus as fe,Search as ve,Users as te,Bot as he,User as ye,Filter as we}from"lucide-react";import{motion as xe,AnimatePresence as De}from"framer-motion";import{jsx as t,jsxs as l}from"react/jsx-runtime";function Ne({initialColleagues:S,onColleagueAdd:b,onColleagueEdit:L,onColleagueDelete:le,compactView:d=!1,departments:ae=["Design","Engineering","Marketing","Product","Sales","Operations"],className:ie,availableUsers:oe=[],existingDigitalColleagues:$=[]}){let[n,m]=s(S||[]),[r,j]=s(""),[C,P]=s("all"),[f,B]=s("all"),[y,ne]=s("all"),[M,v]=s(null),[T,w]=s(null);Ce(()=>{m(S||[])},[S]);let[c,a]=s("main"),h=n.filter(e=>{let o=e.name.toLowerCase().includes(r.toLowerCase())||e.type==="human"&&(e.email.toLowerCase().includes(r.toLowerCase())||e.role.toLowerCase().includes(r.toLowerCase()))||e.type==="digital"&&e.jobDescription.toLowerCase().includes(r.toLowerCase()),i=C==="all"||e.type==="human"&&e.department===C,V=f==="all"||e.status===f;return o&&i&&V}),q=h.filter(e=>e.type==="human"),z=h.filter(e=>e.type==="digital"),G=()=>{a("typeSelection")},k=e=>{e.type==="digital"&&(v(e),a("form")),console.log("Editing colleague:",e),L?.(e)},A=e=>{e.type==="digital"&&(w(e),a("view"))},se=e=>{let o={id:`human-${Date.now()}`,type:"human",name:e.name,email:e.email,role:e.role,department:e.department,phone:e.phone,location:e.location,timezone:e.timezone,skills:e.skills,bio:e.bio,status:"active",joinedDate:new Date,lastActive:new Date};m(i=>[...i,o]),b?.(o),a("main")},re=e=>{m(o=>[...o,e]),b?.(e),a("main")},de=()=>{v(null),a("form")},W=e=>{M?(m(o=>o.map(i=>i.id===e.id?e:i)),L?.(e)):(m(o=>[...o,e]),b?.(e)),a("main"),v(null)},me=()=>{a("main"),v(null),w(null)},ce=()=>{a("main"),w(null)},Se=()=>{T&&(v(T),w(null),a("form"))},E=e=>{console.log("handling delete colleague",e),m(o=>o.filter(i=>i.id!==e)),le?.(e)},ge=()=>{j(""),P("all"),B("all")},J=()=>{let e=[];return $.forEach(i=>{e.push(...i.knowledge,...i.coreKnowledge)}),n.forEach(i=>{i.type==="digital"&&e.push(...i.knowledge,...i.coreKnowledge)}),e.filter((i,V,ue)=>V===ue.findIndex(pe=>pe.id===i.id))};return c==="typeSelection"?t(Y,{onSelectHuman:()=>a("userSelection"),onSelectDigital:()=>a("digitalOptions"),onCancel:()=>a("main")}):c==="userSelection"?t(ee,{users:oe,onUserSelect:se,onCancel:()=>a("typeSelection")}):c==="digitalOptions"?t(_,{onCloneExisting:()=>a("digitalClone"),onCreateNew:de,onCancel:()=>a("typeSelection")}):c==="digitalClone"?t(Z,{digitalColleagues:$,onColleagueClone:re,onCancel:()=>a("digitalOptions")}):c==="form"?t(K,{colleague:M||void 0,onSave:W,onCancel:me,availableKnowledgeDocuments:J()}):c==="view"?t(K,{colleague:T||void 0,onSave:W,onCancel:ce,readOnly:!0,availableKnowledgeDocuments:J()}):t("div",{className:"px-2 md:px-4 py-4 space-y-8",children:t(De,{mode:"wait",children:t(xe.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},children:l("div",{className:`space-y-6 ${ie||""}`,children:[t(R,{title:"Colleagues",description:"Manage your team members and digital colleagues.",gradient:"bg-gradient-to-r from-green-600 via-emerald-600 to-teal-600",primaryAction:{label:"Add colleague",onClick:G}}),l("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[l(u,{children:[l(x,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[t(D,{className:"text-sm font-medium",children:"Total Colleagues"}),t(te,{className:"h-4 w-4 text-muted-foreground"})]}),l(p,{children:[t("div",{className:"text-2xl font-bold",children:n.length}),l("p",{className:"text-xs text-muted-foreground",children:[n.filter(e=>e.status==="active").length," active"]})]})]}),l(u,{children:[l(x,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[t(D,{className:"text-sm font-medium",children:"Human Members"}),t(ye,{className:"h-4 w-4 text-muted-foreground"})]}),l(p,{children:[t("div",{className:"text-2xl font-bold",children:n.filter(e=>e.type==="human").length}),l("p",{className:"text-xs text-muted-foreground",children:[n.filter(e=>e.type==="human"&&e.status==="active").length," ","active"]})]})]}),l(u,{children:[l(x,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[t(D,{className:"text-sm font-medium",children:"Digital Colleagues"}),t(he,{className:"h-4 w-4 text-muted-foreground"})]}),l(p,{children:[t("div",{className:"text-2xl font-bold",children:n.filter(e=>e.type==="digital").length}),l("p",{className:"text-xs text-muted-foreground",children:[n.filter(e=>e.type==="digital"&&e.status==="active").length," ","active"]})]})]})]}),t(u,{children:t(p,{className:"pt-6",children:l("div",{className:"flex flex-col md:flex-row gap-4",children:[t("div",{className:"flex-1",children:l("div",{className:"relative",children:[t(ve,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),t(Q,{placeholder:"Search colleagues...",value:r,onChange:e=>j(e.target.value),className:"pl-9"})]})}),l(U,{value:C,onValueChange:P,children:[t(O,{className:"w-full md:w-[180px]",children:t(F,{placeholder:"Department"})}),l(I,{children:[t(g,{value:"all",children:"All Departments"}),ae.map(e=>t(g,{value:e,children:e},e))]})]}),l(U,{value:f,onValueChange:B,children:[t(O,{className:"w-full md:w-[140px]",children:t(F,{placeholder:"Status"})}),l(I,{children:[t(g,{value:"all",children:"All Status"}),t(g,{value:"active",children:"Active"}),t(g,{value:"inactive",children:"Inactive"})]})]}),(r||C!=="all"||f!=="all")&&l(H,{variant:"outline",onClick:ge,className:"gap-2",children:[t(we,{className:"h-4 w-4"}),"Clear"]})]})})}),l("div",{className:"space-y-4",children:[t(X,{activeTab:y,onTabChange:ne,tabOptions:[{value:"all",label:`All (${h.length})`},{value:"human",label:`Human (${q.length})`},{value:"digital",label:`Digital (${z.length})`}],maxWidth:"400px",gridCols:3}),y==="all"&&t("div",{className:`grid gap-4 ${d?"grid-cols-1 md:grid-cols-2 lg:grid-cols-4":"grid-cols-1 md:grid-cols-2 lg:grid-cols-3"}`,children:h.map(e=>t(N,{colleague:e,onEdit:k,onDelete:E,onViewDetails:A,compact:d},e.id))}),y==="human"&&t("div",{className:`grid gap-4 ${d?"grid-cols-1 md:grid-cols-2 lg:grid-cols-4":"grid-cols-1 md:grid-cols-2 lg:grid-cols-3"}`,children:q.map(e=>t(N,{colleague:e,onEdit:k,onDelete:E,onViewDetails:A,compact:d},e.id))}),y==="digital"&&t("div",{className:`grid gap-4 ${d?"grid-cols-1 md:grid-cols-2 lg:grid-cols-4":"grid-cols-1 md:grid-cols-2 lg:grid-cols-3"}`,children:z.map(e=>t(N,{colleague:e,onEdit:k,onDelete:E,onViewDetails:A,compact:d},e.id))})]}),h.length===0&&t(u,{children:t(p,{className:"pt-6",children:l("div",{className:"text-center py-8",children:[t(te,{className:"h-12 w-12 text-muted-foreground mx-auto mb-4"}),t("h3",{className:"text-lg font-semibold mb-2",children:"No colleagues found"}),t("p",{className:"text-muted-foreground mb-4",children:r||C!=="all"||f!=="all"?"Try adjusting your filters to see more results.":"Get started by adding your first colleague."}),l(H,{onClick:G,className:"gap-2",children:[t(fe,{className:"h-4 w-4"}),"Add Colleague"]})]})})})]})},"projects-index-view")})})}export{Ne as a};
|
package/dist/chunk-VGARU7ZT.mjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
import{a as n}from"./chunk-JVUSZPSP.mjs";import{a as x}from"./chunk-2NMVE5M4.mjs";import{a as A}from"./chunk-M245YHYF.mjs";import{a as w}from"./chunk-L5JPAKPM.mjs";import{b as v}from"./chunk-ZUA4KNIR.mjs";import{a as g,e as y}from"./chunk-YO3GQYRJ.mjs";import{useEffect as U,useState as r}from"react";import{Plus as V,Search as $,File as R,Filter as q}from"lucide-react";import{motion as z,AnimatePresence as G}from"framer-motion";import{jsx as e,jsxs as i}from"react/jsx-runtime";function M({initialFiles:c=[],onFileAdd:k,onFileEdit:S,onFileDelete:D,onFileClick:E,compactView:d=!1,className:H}){let[h,C]=r(c),[a,N]=r(""),[o,P]=r("all"),[s,B]=r("all");U(()=>{C(c)},[c]);let O=Array.from(new Set(h.map(l=>l.mimeType))),t=h.filter(l=>{let F=l.name.toLowerCase().includes(a.toLowerCase()),u=o==="all"||l.mimeType===o;return F&&u}),b=t.slice(0,10),I=t.filter(Boolean),T=()=>{k?.()},m=l=>{S?.(l)},p=l=>{console.log("deleting file",l),C(F=>F.filter(u=>u.name!==l.name)),D?.(l.id)},f=l=>{E?.(l)},L=()=>{N(""),P("all")};return e("div",{className:"px-2 md:px-4 py-4 space-y-8",children:e(G,{mode:"wait",children:e(z.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},children:i("div",{className:`space-y-6 ${H||""}`,children:[e(x,{title:"Files",description:"Manage and organize your files and documents.",gradient:"bg-gradient-to-r from-blue-600 via-indigo-600 to-purple-600",primaryAction:{label:"Upload file",onClick:T},secondaryAction:{label:"Download all",onClick:()=>console.log("Download all clicked")}}),e(g,{children:e(y,{className:"pt-6",children:i("div",{className:"flex flex-col md:flex-row gap-4",children:[e("div",{className:"flex-1",children:i("div",{className:"relative",children:[e($,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),e(w,{placeholder:"Search files...",value:a,onChange:l=>N(l.target.value),className:"pl-9"})]})}),(a||o!=="all")&&i(v,{variant:"outline",onClick:L,className:"gap-2",children:[e(q,{className:"h-4 w-4"}),"Clear"]})]})})}),i("div",{className:"space-y-4",children:[e(A,{activeTab:s,onTabChange:B,tabOptions:[{value:"all",label:`All Files (${t.length})`},{value:"recent",label:`Recent (${b.length})`}],maxWidth:"500px",gridCols:3}),s==="all"&&e(n,{files:t,onFileClick:f,onFileEdit:m,onFileDelete:p,showHeader:!d}),s==="recent"&&e(n,{files:b,onFileClick:f,onFileEdit:m,onFileDelete:p,showHeader:!d}),s==="shared"&&e(n,{files:I,onFileClick:f,onFileEdit:m,onFileDelete:p,showHeader:!d})]}),t.length===0&&e(g,{children:e(y,{className:"pt-6",children:i("div",{className:"text-center py-8",children:[e(R,{className:"h-12 w-12 text-muted-foreground mx-auto mb-4"}),e("h3",{className:"text-lg font-semibold mb-2",children:"No files found"}),e("p",{className:"text-muted-foreground mb-4",children:a||o!=="all"?"Try adjusting your filters to see more results.":"Get started by uploading your first file."}),i(v,{onClick:T,className:"gap-2",children:[e(V,{className:"h-4 w-4"}),"Upload File"]})]})})})]})},"files-view")})})}export{M as a};
|
package/dist/chunk-WN2LPOQP.mjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
import{a as v}from"./chunk-L5JPAKPM.mjs";import{b as d}from"./chunk-ZUA4KNIR.mjs";import{a as u,c as g}from"./chunk-SOLZ4VQH.mjs";import{b as n}from"./chunk-CSBGSBEU.mjs";import{a as r,b as C,c as x,e as l}from"./chunk-YO3GQYRJ.mjs";import{useState as f,useMemo as I}from"react";import{Search as L,Bot as N,ChevronLeft as j,Copy as T,Calendar as F,Users as P}from"lucide-react";import{motion as h,AnimatePresence as U}from"framer-motion";import{jsx as t,jsxs as a}from"react/jsx-runtime";function Q({digitalColleagues:m,onColleagueClone:b,onCancel:w,selectedColleagueId:y}){let[i,D]=f(""),[o,k]=f("all"),c=I(()=>m.filter(e=>{let s=e.name.toLowerCase().includes(i.toLowerCase())||e.jobDescription.toLowerCase().includes(i.toLowerCase())||e.capabilities.some(B=>B.toLowerCase().includes(i.toLowerCase()))||e.workInstructions.toLowerCase().includes(i.toLowerCase()),S=o==="all"||e.status===o;return s&&S}),[m,i,o]),p=e=>{let s={...e,id:`${e.id}-clone-${Date.now()}`,name:`${e.name} (Copy)`,joinedDate:new Date,lastActive:new Date,lastUpdated:new Date,version:"1.0.0"};b(s)},A=e=>new Intl.DateTimeFormat("en-US",{month:"short",day:"numeric",year:"numeric"}).format(e);return t("div",{className:"px-2 md:px-4 py-4 space-y-6",children:t(U,{mode:"wait",children:a(h.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},children:[a("div",{className:"flex items-center gap-4 mb-6",children:[a(d,{variant:"ghost",onClick:w,className:"gap-2",children:[t(j,{className:"h-4 w-4"}),"Back"]}),a("div",{children:[t("h1",{className:"text-3xl font-bold",children:"Clone Digital Colleague"}),t("p",{className:"text-muted-foreground",children:"Select a digital colleague to clone"})]})]}),t(r,{children:t(l,{className:"pt-6",children:a("div",{className:"flex flex-col md:flex-row gap-4",children:[t("div",{className:"flex-1",children:a("div",{className:"relative",children:[t(L,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),t(v,{placeholder:"Search by name, job description, or capabilities...",value:i,onChange:e=>D(e.target.value),className:"pl-9"})]})}),a("select",{value:o,onChange:e=>k(e.target.value),className:"h-10 px-3 rounded-md border border-input bg-background text-sm ring-offset-background",children:[t("option",{value:"all",children:"All Status"}),t("option",{value:"active",children:"Active"}),t("option",{value:"inactive",children:"Inactive"})]})]})})}),t("div",{className:"grid gap-4 md:grid-cols-2 lg:grid-cols-3",children:c.map(e=>t(h.div,{layout:!0,initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},transition:{duration:.2},children:a(r,{className:`cursor-pointer transition-all hover:shadow-lg ${y===e.id?"ring-2 ring-primary":""}`,onClick:()=>p(e),children:[t(C,{className:"pb-3",children:a("div",{className:"flex items-start justify-between",children:[a("div",{className:"flex items-center gap-3",children:[t(u,{children:t(g,{className:"bg-blue-100",children:t(N,{className:"h-4 w-4 text-blue-600"})})}),a("div",{children:[a(x,{className:"text-lg flex items-center gap-2",children:[e.name,t(n,{variant:e.status==="active"?"default":"secondary",className:"text-xs",children:e.status})]}),a("p",{className:"text-sm text-muted-foreground",children:["v",e.version]})]})]}),a(d,{size:"sm",variant:"outline",className:"gap-2 h-8",onClick:s=>{s.stopPropagation(),p(e)},children:[t(T,{className:"h-3 w-3"}),"Clone"]})]})}),t(l,{className:"pt-0",children:a("div",{className:"space-y-3",children:[a("div",{children:[t("p",{className:"text-sm text-muted-foreground",children:"Job Description"}),t("p",{className:"text-sm line-clamp-2",children:e.jobDescription})]}),e.capabilities&&e.capabilities.length>0&&a("div",{children:[t("p",{className:"text-sm text-muted-foreground mb-2",children:"Capabilities"}),a("div",{className:"flex flex-wrap gap-1",children:[e.capabilities.slice(0,3).map(s=>t(n,{variant:"outline",className:"text-xs",children:s},s)),e.capabilities.length>3&&a(n,{variant:"outline",className:"text-xs",children:["+",e.capabilities.length-3]})]})]}),a("div",{className:"flex items-center justify-between text-xs text-muted-foreground",children:[a("div",{className:"flex items-center gap-1",children:[t(F,{className:"h-3 w-3"}),a("span",{children:["Updated ",A(e.lastUpdated)]})]}),e.knowledge&&a("div",{className:"flex items-center gap-1",children:[t(P,{className:"h-3 w-3"}),a("span",{children:[e.knowledge.length," docs"]})]})]}),e.workInstructions&&a("div",{children:[t("p",{className:"text-sm text-muted-foreground",children:"Instructions"}),t("p",{className:"text-xs line-clamp-2",children:e.workInstructions})]})]})})]})},e.id))}),c.length===0&&t(r,{children:t(l,{className:"pt-6",children:a("div",{className:"text-center py-8",children:[t(N,{className:"h-12 w-12 text-muted-foreground mx-auto mb-4"}),t("h3",{className:"text-lg font-semibold mb-2",children:"No digital colleagues found"}),t("p",{className:"text-muted-foreground",children:"Try adjusting your search terms or filters."})]})})})]},"colleague-clone")})})}export{Q as a};
|