cortex-react-components 2.26.4 → 2.27.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-SME3D72Q.mjs → chunk-2BRDNDUB.mjs} +1 -1
- package/dist/{chunk-HTS3KCJL.mjs → chunk-2O54GV6Q.mjs} +1 -1
- package/dist/chunk-32G45Z2G.mjs +1 -0
- package/dist/{chunk-QDP657UR.mjs → chunk-3HNU2NYP.mjs} +1 -1
- package/dist/{chunk-HB57GPGK.mjs → chunk-3M5KHST3.mjs} +1 -1
- package/dist/{chunk-TIIYFAV6.mjs → chunk-3NRXQBBS.mjs} +1 -1
- package/dist/{chunk-IISYRLNU.mjs → chunk-3Y7QG6VP.mjs} +1 -1
- package/dist/{chunk-GULRIPMU.mjs → chunk-4FEVXBNU.mjs} +1 -1
- package/dist/{chunk-YH72WKGC.mjs → chunk-5MWZTJYP.mjs} +1 -1
- package/dist/chunk-6YHCNPFB.mjs +4 -0
- package/dist/{chunk-AABB4TFO.mjs → chunk-75F3LJMX.mjs} +1 -1
- package/dist/{chunk-NZJ7VVG6.mjs → chunk-7NWIK57W.mjs} +1 -1
- package/dist/{chunk-TQKXHMD7.mjs → chunk-7R47MHQE.mjs} +1 -1
- package/dist/{chunk-FB5PBKLV.mjs → chunk-AJQHGVZ5.mjs} +1 -1
- package/dist/chunk-B7RZ4K6Y.mjs +1 -0
- package/dist/{chunk-7MPZOMXK.mjs → chunk-C4RWEPVF.mjs} +1 -1
- package/dist/{chunk-VNKGAW4K.mjs → chunk-CXOVEABI.mjs} +1 -1
- package/dist/{chunk-J3VJUPR7.mjs → chunk-EM3T2XYC.mjs} +1 -1
- package/dist/{chunk-UTJZH3X5.mjs → chunk-EPJJKGCG.mjs} +1 -1
- package/dist/{chunk-VDN4LQSS.mjs → chunk-F6DMXMR4.mjs} +1 -1
- package/dist/{chunk-JU4TJYSZ.mjs → chunk-FE7ZGUPU.mjs} +1 -1
- package/dist/{chunk-HLRMUJPL.mjs → chunk-FZX3ZPEU.mjs} +1 -1
- package/dist/chunk-G6OGEIN4.mjs +4 -0
- package/dist/{chunk-7BYNW77I.mjs → chunk-GHOL5L32.mjs} +1 -1
- package/dist/chunk-GLZEHRPY.mjs +4 -0
- package/dist/{chunk-5MMNC65L.mjs → chunk-GTZJWMZR.mjs} +1 -1
- package/dist/chunk-HD6E7KI2.mjs +4 -0
- package/dist/{chunk-OP6ZWZIM.mjs → chunk-I75OOO4H.mjs} +1 -1
- package/dist/{chunk-NXAQ6ESJ.mjs → chunk-JDIPWJBD.mjs} +1 -1
- package/dist/{chunk-BGQC6IQK.mjs → chunk-KEK763EH.mjs} +1 -1
- package/dist/chunk-KQRQXBJ3.mjs +9 -0
- package/dist/{chunk-RWHPQAWZ.mjs → chunk-LAP57E2L.mjs} +1 -1
- package/dist/chunk-LCEEFZH7.mjs +4 -0
- package/dist/chunk-LEF6M5ZD.mjs +4 -0
- package/dist/{chunk-EM4CGGGV.mjs → chunk-LJXTXROJ.mjs} +1 -1
- package/dist/{chunk-DKRRVTCV.mjs → chunk-MS7YIAWP.mjs} +1 -1
- package/dist/chunk-MXMW65GM.mjs +4 -0
- package/dist/{chunk-YJ7XPZWV.mjs → chunk-NBJLXJQ3.mjs} +1 -1
- package/dist/{chunk-ITNR7N47.mjs → chunk-NINFDOV5.mjs} +1 -1
- package/dist/{chunk-5EM6P7SU.mjs → chunk-OQBCIB4L.mjs} +1 -1
- package/dist/{chunk-AN744MXS.mjs → chunk-OWL3KUE3.mjs} +1 -1
- package/dist/chunk-P2B3OITE.mjs +4 -0
- package/dist/{chunk-CC57QZMB.mjs → chunk-RGOKBIQ5.mjs} +1 -1
- package/dist/{chunk-MU47F4UR.mjs → chunk-RJGYVDOU.mjs} +1 -1
- package/dist/{chunk-CTTBF7F4.mjs → chunk-RS4WAAGI.mjs} +1 -1
- package/dist/chunk-SOTCQX2G.mjs +1 -0
- package/dist/{chunk-CMU5JFUC.mjs → chunk-SWE754OC.mjs} +1 -1
- package/dist/{chunk-ZA423OPA.mjs → chunk-TJZVV3XH.mjs} +1 -1
- package/dist/{chunk-WRCRZUGO.mjs → chunk-TTWEHUP5.mjs} +1 -1
- package/dist/{chunk-FBEHQRZ4.mjs → chunk-TVTTUSWM.mjs} +1 -1
- package/dist/{chunk-FR4X2HHQ.mjs → chunk-TYARLEAC.mjs} +1 -1
- package/dist/chunk-U3PUWUVM.mjs +4 -0
- package/dist/{chunk-VATGKKXW.mjs → chunk-UJITFLIZ.mjs} +1 -1
- package/dist/{chunk-IO5ZSALG.mjs → chunk-VKCDLKYH.mjs} +1 -1
- package/dist/{chunk-NDBSSX6Q.mjs → chunk-WIRQ5IRT.mjs} +1 -1
- package/dist/{chunk-VTFO5GXK.mjs → chunk-XMYXQR5W.mjs} +1 -1
- package/dist/{chunk-OVZKO3Z5.mjs → chunk-ZEALRBXW.mjs} +1 -1
- package/dist/components/AdvancedComponents/AppSidebar.d.ts +3 -2
- package/dist/components/AdvancedComponents/AppSidebar.js +1 -2
- package/dist/components/AdvancedComponents/AppSidebar.mjs +1 -1
- package/dist/components/AdvancedComponents/app-header.js +1 -1
- package/dist/components/AdvancedComponents/app-header.mjs +1 -1
- package/dist/components/AdvancedComponents/index.d.ts +1 -0
- package/dist/components/AdvancedComponents/index.js +12 -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/org-chart-component/OrgChart.d.ts +15 -0
- package/dist/components/AdvancedComponents/org-chart-component/OrgChart.js +12 -0
- package/dist/components/AdvancedComponents/org-chart-component/OrgChart.mjs +1 -0
- package/dist/components/AdvancedComponents/org-chart-component/OrgNode.d.ts +3 -0
- package/dist/components/AdvancedComponents/org-chart-component/OrgNode.js +9 -0
- package/dist/components/AdvancedComponents/org-chart-component/OrgNode.mjs +1 -0
- package/dist/components/AdvancedComponents/org-chart-component/OrgTree.d.ts +10 -0
- package/dist/components/AdvancedComponents/org-chart-component/OrgTree.js +12 -0
- package/dist/components/AdvancedComponents/org-chart-component/OrgTree.mjs +1 -0
- package/dist/components/AdvancedComponents/org-chart-component/examples/PayloadIntegration.js +233 -0
- package/dist/components/AdvancedComponents/org-chart-component/examples/PayloadIntegration.mjs +233 -0
- package/dist/components/AdvancedComponents/org-chart-component/index.d.ts +4 -0
- package/dist/components/AdvancedComponents/org-chart-component/index.js +12 -0
- package/dist/components/AdvancedComponents/org-chart-component/index.mjs +1 -0
- package/dist/components/AdvancedComponents/org-chart-component/mockData.d.ts +7 -0
- package/dist/components/AdvancedComponents/org-chart-component/mockData.js +1 -0
- package/dist/components/AdvancedComponents/org-chart-component/mockData.mjs +1 -0
- package/dist/components/AdvancedComponents/org-chart-component/types/index.d.ts +33 -0
- package/dist/components/AdvancedComponents/org-chart-component/types/index.js +1 -0
- package/dist/components/AdvancedComponents/org-chart-component/types/index.mjs +1 -0
- package/dist/components/AdvancedComponents/org-chart-component/utils.d.ts +13 -0
- package/dist/components/AdvancedComponents/org-chart-component/utils.js +1 -0
- package/dist/components/AdvancedComponents/org-chart-component/utils.mjs +1 -0
- package/dist/components/AdvancedComponents/user-selection.js +1 -1
- package/dist/components/AdvancedComponents/user-selection.mjs +1 -1
- package/dist/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.mjs +1 -1
- package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/OrgChart.mjs +3 -1
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
- package/dist/components/Blocks/index.d.ts +0 -1
- package/dist/components/Blocks/index.js +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/Cards/ContentCard.mjs +1 -1
- package/dist/components/Cards/FeatureCard.mjs +1 -1
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/Chat/ChatInterface.mjs +1 -1
- package/dist/components/Chat/CopilotInterface.js +3 -3
- package/dist/components/Chat/CopilotInterface.mjs +1 -1
- package/dist/components/Chat/PartTypes/MessageHandler.mjs +1 -1
- package/dist/components/Chat/PartTypes/index.mjs +1 -1
- package/dist/components/Chat/demo-long-messages.js +5 -5
- package/dist/components/Chat/demo-long-messages.mjs +1 -1
- package/dist/components/Chat/demo-tests.js +5 -5
- package/dist/components/Chat/demo-tests.mjs +1 -1
- package/dist/components/Chat/demo.js +3 -3
- package/dist/components/Chat/demo.mjs +1 -1
- package/dist/components/Chat/example-usage.js +3 -3
- package/dist/components/Chat/example-usage.mjs +1 -1
- package/dist/components/Chat/example-with-vercel-ai.js +3 -3
- package/dist/components/Chat/example-with-vercel-ai.mjs +1 -1
- package/dist/components/Chat/index.js +3 -3
- package/dist/components/Chat/index.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/Pages/dashboardpage.js +5 -5
- 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/index.js +5 -5
- package/dist/components/DigitalColleagues/Views/index.mjs +1 -1
- package/dist/components/DigitalColleagues/index.js +5 -5
- package/dist/components/DigitalColleagues/index.mjs +1 -1
- package/dist/components/Foundary/MainPage.mjs +1 -1
- package/dist/components/Foundary/Pages/dashboardpage.js +6 -6
- package/dist/components/Foundary/Pages/dashboardpage.mjs +1 -1
- package/dist/components/Foundary/RichText/index.mjs +1 -1
- package/dist/components/Foundary/RichText/plugins/toolbar-plugin.mjs +1 -1
- package/dist/components/Foundary/Views/ColleaguesView.d.ts +12 -1
- package/dist/components/Foundary/Views/ColleaguesView.js +1 -1
- package/dist/components/Foundary/Views/ColleaguesView.mjs +1 -1
- package/dist/components/Foundary/Views/KnowledgeView.mjs +1 -1
- package/dist/components/Foundary/Views/index.js +5 -5
- package/dist/components/Foundary/Views/index.mjs +1 -1
- package/dist/components/Foundary/colleague-card.js +1 -1
- package/dist/components/Foundary/colleague-card.mjs +1 -1
- package/dist/components/Foundary/colleague-form.d.ts +12 -1
- package/dist/components/Foundary/colleague-form.js +1 -1
- package/dist/components/Foundary/colleague-form.mjs +1 -1
- package/dist/components/Foundary/document-edit.mjs +1 -1
- package/dist/components/Foundary/document-preview-examples.mjs +1 -1
- package/dist/components/Foundary/document-preview.mjs +1 -1
- package/dist/components/Foundary/file-edit.mjs +1 -1
- package/dist/components/Foundary/foundary-clone.js +1 -1
- package/dist/components/Foundary/foundary-clone.mjs +1 -1
- package/dist/components/Foundary/foundary-layout.d.ts +2 -1
- package/dist/components/Foundary/foundary-layout.js +1 -1
- package/dist/components/Foundary/foundary-layout.mjs +1 -1
- package/dist/components/Foundary/index.js +5 -5
- package/dist/components/Foundary/index.mjs +1 -1
- package/dist/components/Foundary/knowledge-browser.mjs +1 -1
- package/dist/components/Foundary/knowledge-search.js +1 -1
- package/dist/components/Foundary/knowledge-search.mjs +1 -1
- package/dist/components/Foundary/types.d.ts +14 -2
- package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/HighImpact/index.mjs +1 -1
- package/dist/components/Heros/LowImpact/index.mjs +1 -1
- package/dist/components/Heros/MediumImpact/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
- package/dist/components/Layouts/Print.mjs +1 -1
- package/dist/components/Layouts/SlideShow.mjs +1 -1
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Payload/RichText/index.mjs +1 -1
- package/dist/components/Payload/RichText/serialize.mjs +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/Projects/FileView.js +1 -1
- package/dist/components/Projects/FileView.mjs +1 -1
- package/dist/components/Projects/KanbanBoardView.mjs +1 -1
- package/dist/components/Projects/ProjectPage.js +5 -5
- 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.mjs +1 -1
- package/dist/components/Projects/TaskDetailsModal.mjs +1 -1
- package/dist/components/Projects/file-list.mjs +1 -1
- package/dist/components/Projects/index.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 +33 -22
- package/dist/components/index.mjs +1 -1
- package/dist/globals.css +1 -1
- package/dist/index.js +38 -27
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/pages/Blog.mjs +1 -1
- package/dist/pages/Documentation.mjs +1 -1
- package/dist/pages/IndexPage.mjs +1 -1
- package/dist/pages/Intranet.mjs +1 -1
- package/dist/pages/LandingPage.mjs +1 -1
- package/dist/pages/Page.mjs +1 -1
- package/dist/pages/Publish.mjs +1 -1
- package/dist/pages/Website.mjs +1 -1
- package/dist/sections/AboutSection.mjs +1 -1
- package/dist/sections/BlogDetail.mjs +1 -1
- package/dist/sections/BlogList.mjs +1 -1
- package/dist/sections/ContactSection.mjs +1 -1
- package/dist/sections/PageSections.mjs +1 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/ServiceDetail.mjs +1 -1
- package/dist/sections/ServiceDetailSection.mjs +1 -1
- package/dist/sections/ServiceSection.mjs +1 -1
- package/dist/sections/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-4WA47ZQA.mjs +0 -4
- package/dist/chunk-53QLSQCO.mjs +0 -4
- package/dist/chunk-5HT2KC5I.mjs +0 -4
- package/dist/chunk-CRAFZGCI.mjs +0 -4
- package/dist/chunk-FGEFYI5E.mjs +0 -4
- package/dist/chunk-GPFPTU7U.mjs +0 -4
- package/dist/chunk-KKW3FINI.mjs +0 -4
- package/dist/chunk-NDZ26EG6.mjs +0 -4
- package/dist/chunk-Y7H3EUBR.mjs +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as
|
|
4
|
+
import{a as N}from"./chunk-LEF6M5ZD.mjs";import{a as x}from"./chunk-KEK763EH.mjs";import{a as f,b as y}from"./chunk-QY3UXH77.mjs";import{a as g}from"./chunk-HD6E7KI2.mjs";import{a as n}from"./chunk-R4SE63GR.mjs";import{a as r,b as h,d as v}from"./chunk-DXRAJQMA.mjs";import{a as b}from"./chunk-KPTGYVDM.mjs";import{a as u}from"./chunk-2O54GV6Q.mjs";import{a}from"./chunk-Z22NSJMF.mjs";import{useState as C}from"react";import{motion as G,AnimatePresence as Y}from"motion/react";import{Bot as z}from"lucide-react";import{jsx as e,jsxs as o}from"react/jsx-runtime";function K({title:k="Digital Colleagues",businessUnits:c,projects:m,fileCount:A,teamMemberCount:w,onCreateProject:P,onOpenProject:j,sidebarItems:W,initialColleagues:F,users:T,onColleagueAdd:S,onColleagueEdit:U,onColleagueDelete:I}){let[i,s]=C("home"),[l,O]=C(c[0]),d=t=>{console.log("Opening app:",t.name)},p=t=>{console.log("Favoriting app:",t.name)},B=t=>{console.log("Opening file:",t.name)},_=t=>{console.log("Sharing file:",t.name)},D=t=>{console.log("Opening project:",t.name),j(t)},R=t=>{console.log("Sharing project:",t.name)},L=t=>{O(t),console.log("Business unit changed to:",t.name)},E=()=>{console.log("Copilot clicked - navigating to chat"),s("chat")},H=t=>{console.log("Notification removed:",t)},M=()=>{console.log("All notifications removed")},V=()=>{switch(i){case"home":return o("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[o("section",{className:"text-center py-12",children:[o("h1",{className:"text-4xl font-bold mb-4",children:["Welcome to the ",l.name," team"]}),e("p",{className:"text-xl text-muted-foreground mb-8",children:"This is your collaborative workspace for productivity and knowledge sharing."})]}),o("section",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[o("div",{className:"bg-card p-6 rounded-lg border",children:[e("h3",{className:"text-lg font-semibold mb-2",children:"Projects"}),e("p",{className:"text-3xl font-bold text-primary",children:m.length}),e("p",{className:"text-sm text-muted-foreground",children:"Active projects"})]}),o("div",{className:"bg-card p-6 rounded-lg border",children:[e("h3",{className:"text-lg font-semibold mb-2",children:"Team Members"}),e("p",{className:"text-3xl font-bold text-primary",children:w}),e("p",{className:"text-sm text-muted-foreground",children:"Collaborators"})]}),o("div",{className:"bg-card p-6 rounded-lg border",children:[e("h3",{className:"text-lg font-semibold mb-2",children:"Files"}),e("p",{className:"text-3xl font-bold text-primary",children:A}),e("p",{className:"text-sm text-muted-foreground",children:"Project files"})]})]}),e(a,{title:"Chat with your team",gradient:"bg-gradient-to-r from-pink-600 via-red-600 to-orange-600",primaryAction:{label:"Go",onClick:()=>s("chat")}})]});case"colleagues":return e(N,{initialColleagues:F,availableUsers:T,onColleagueAdd:S,onColleagueEdit:U,onColleagueDelete:I});case"chat":return o("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[o("section",{className:"text-center py-12",children:[e("h1",{className:"text-4xl font-bold mb-4",children:"Team Chat"}),o("p",{className:"text-xl text-muted-foreground mb-8",children:["Connect with your ",l.name," team members and collaborate in real-time."]})]}),e(a,{title:"Launch Full Chat Interface",description:"Access the complete chat experience with AI assistance.",gradient:"bg-gradient-to-r from-blue-600 via-purple-600 to-pink-600",primaryAction:{label:"Open Chat",onClick:()=>console.log("Open full chat interface")}})]});case"apps":return o("div",{className:"space-y-8",children:[e(a,{title:"Creative Apps Collection",description:"Discover our full suite of professional design and creative applications.",gradient:"bg-gradient-to-r from-pink-600 via-red-600 to-orange-600",primaryAction:{label:"Install Desktop App",onClick:()=>console.log("Install desktop app clicked")}}),o("section",{className:"space-y-4",children:[e("h2",{className:"text-2xl font-semibold",children:"New Releases"}),e("div",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4",children:r.filter(t=>t.new).map(t=>e(n,{app:t,showProgress:!0,onOpen:d,onFavorite:p},t.name))})]}),o("section",{className:"space-y-4",children:[e("h2",{className:"text-2xl font-semibold",children:"All Apps"}),e("div",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4",children:r.map(t=>e(n,{app:t,onOpen:d,onFavorite:p},t.name))})]})]});case"knowledge":return e(x,{});case"files":return o("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[e(a,{title:"Your Creative Files",description:"Access, manage, and share all your design files in one place.",gradient:"bg-gradient-to-r from-teal-600 via-cyan-600 to-blue-600",primaryAction:{label:"Upload Files",onClick:()=>console.log("Upload files clicked")}}),o("section",{className:"space-y-4",children:[e("div",{className:"flex items-center justify-between",children:e("h2",{className:"text-2xl font-semibold",children:"All Files"})}),e(u,{files:h,onFileClick:B})]})]});case"projects":return o("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[e(a,{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:P}}),o("section",{className:"space-y-4",children:[e("h2",{className:"text-2xl font-semibold",children:"Active Projects"}),e("div",{className:"grid grid-cols-1 gap-3 md:grid-cols-2 lg:grid-cols-3",children:m.map(t=>e(b,{project:t,onOpen:D,onShare:R},t.name))})]})]});case"learn":return o("div",{className:"space-y-8",children:[e(a,{title:"Learn & Grow",description:"Expand your creative skills with tutorials, courses, and resources.",gradient:"bg-gradient-to-r from-green-600 via-emerald-600 to-teal-600",primaryAction:{label:"Upgrade to Pro",onClick:()=>console.log("Upgrade to pro clicked")}}),o("section",{className:"space-y-4",children:[e("h2",{className:"text-2xl font-semibold",children:"Featured Tutorials"}),e("div",{className:"grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-3",children:v.slice(0,3).map(t=>o("div",{className:"rounded-3xl border p-6",children:[e("h3",{className:"font-semibold mb-2",children:t.title}),e("p",{className:"text-sm text-muted-foreground mb-4",children:t.description}),o("div",{className:"flex items-center justify-between text-sm",children:[e("span",{children:t.duration}),e("span",{children:t.level})]})]},t.title))})]})]});default:return null}};return e(g,{sidebarItems:f,title:k,notifications:y,businessUnits:c,currentBusinessUnit:l,onBusinessUnitChange:L,activeTab:i,onTabChange:s,showTabs:!0,onActionClick:E,actionIcon:e(z,{className:"mr-2 h-4 w-4"}),actionText:"Start Chat",onNotificationRemove:H,onRemoveAll:M,children:e(Y,{mode:"wait",children:e(G.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:V()},i)})})}export{K as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as n}from"./chunk-MZP7RIQZ.mjs";import{a as i}from"./chunk-
|
|
1
|
+
import{a as n}from"./chunk-MZP7RIQZ.mjs";import{a as i}from"./chunk-RGOKBIQ5.mjs";import{a as m}from"./chunk-C4RWEPVF.mjs";import{a as l}from"./chunk-NINFDOV5.mjs";import{ChevronRightIcon as c,HomeIcon as f}from"@heroicons/react/20/solid";import{Fragment as h,jsx as e,jsxs as a}from"react/jsx-runtime";var d={highImpact:i,lowImpact:l,mediumImpact:m,sectionHero:n},H=t=>{let{type:o}=t||{};if(!o||o==="none")return null;let r=d[o];return r?e(r,{...t}):null};function N({breadcrumbItems:t}){if(t&&t.length>0){let o=t.filter(r=>r.label.toLowerCase()!=="home");return e("nav",{"aria-label":"Breadcrumb",className:"flex",children:a("ol",{role:"list",className:"flex items-center space-x-4",children:[e("li",{children:e("div",{children:a("a",{href:"/",className:"text-foreground hover:text-accent",children:[e(f,{"aria-hidden":"true",className:"size-5 shrink-0"}),e("span",{className:"sr-only",children:"Home"})]})})}),o.map((r,s)=>e("li",{children:a("div",{className:"flex items-center",children:[e(c,{"aria-hidden":"true",className:"size-5 shrink-0 text-gray-400"}),r.href?e("a",{href:r.href,className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:r.label}):e("div",{className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:r.label})]})},s))]})})}return e(h,{})}export{H as a,N as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as u}from"./chunk-KML6U7IE.mjs";import{a as C}from"./chunk-KGEIN56Y.mjs";import{f as v}from"./chunk-
|
|
1
|
+
import{a as u}from"./chunk-KML6U7IE.mjs";import{a as C}from"./chunk-KGEIN56Y.mjs";import{f as v}from"./chunk-2BRDNDUB.mjs";import{b as f}from"./chunk-ZUA4KNIR.mjs";import{a as c,b as g,c as x,e as p}from"./chunk-YO3GQYRJ.mjs";import{a as b}from"./chunk-FMJBJ3HN.mjs";import{a as h}from"./chunk-WISCWNL2.mjs";import U from"next/image";import{notFound as M}from"next/navigation";import w from"next/link";import{FaLinkedin as I}from"react-icons/fa6";import{jsx as e,jsxs as s}from"react/jsx-runtime";function L({image:t,name:i,about:l,socialLinks:o}){return!t||!t.src||t.src.length<3||!i?null:e("div",{className:"mt-1 z-10 px-0 pt-0 lg:px-10",children:e(c,{children:s(p,{className:"flex flex-col items-center",children:[t&&t.src&&e(U,{src:t.src,alt:t.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:u,className:"mx-auto mt-6 rounded-full object-cover"}),s("h3",{className:"flex items-center ali font-secondary text-center py-2 text-lg leading-[1.25] text-accent md:text-xl",children:[i,o&&o.length>0&&e("nav",{"aria-label":"social links",children:e("ul",{className:"inline-flex items-center divide-x divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:o.map((a,m)=>a.href&&e("li",{children:e(h,{href:a.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 hover:text-accents",children:e("span",{children:a.icon})})},m))})})]}),e("p",{children:l})]})})})}function j({page:t,categoryList:i,edit:l=!1,path:o="/admin/collections/posts/"}){if(!t)return M();let{meta:a,populatedAuthors:m,authors:P,categories:N,content:k,title:y}=t,A={image:{src:a&&a.image&&a.image.url||void 0,alt:a&&a.image&&a.image.alt||void 0},authorName:m?.[0]?.name||"",category:N,commentCount:0,title:y,description:a?.description||""},d=P?.map(r=>{let n=r.profilePicture&&r.profilePicture.sizes?.square?.url||r.profilePicture&&r.profilePicture.sizes?.thumbnail?.url||"";return console.log("val:",n),{name:r.name||"",about:r.about||"",image:{src:n,alt:r.name||"blog author"},socialLinks:[{icon:e(I,{}),href:r.linkedIn??""}]}});return console.log(d),e(b,{children:s("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[e("div",{children:s("div",{className:"[&_p+P]:mt-4",children:[e("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),e(v,{content:k,enableGutter:!1,className:"prose-invert"})]})}),s("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[l&&e("div",{className:"mt-4 lg:-mt-10 z-10 px-0 pt-0 lg:px-10",children:s(c,{children:[e(g,{children:e(x,{className:"text-accent",children:"Content Actions"})}),s(p,{children:[e("p",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),e(w,{href:`${o}${t.id}`,children:e(f,{variant:"outline",className:"w-full text-accent hover:text-foreground",children:"Edit"})})]})]})}),d&&d.map((r,n)=>e(L,{...r},n)),i&&i.links&&e("div",{className:"mt-4 px-0 pt-0 lg:px-10",children:e(C,{links:i.links,title:i.title})})]})]})})}export{j as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as k}from"./chunk-
|
|
4
|
+
import{a as k}from"./chunk-75F3LJMX.mjs";import{a as C}from"./chunk-LJXTXROJ.mjs";import{a as S,b as w}from"./chunk-7R47MHQE.mjs";import{a as g}from"./chunk-MZP7RIQZ.mjs";import{a as u}from"./chunk-RGOKBIQ5.mjs";import{a as f}from"./chunk-C4RWEPVF.mjs";import{a as v}from"./chunk-NINFDOV5.mjs";import{c as m,f as p}from"./chunk-2BRDNDUB.mjs";import{a as d}from"./chunk-2BR55L74.mjs";import{a as s}from"./chunk-7WIO2CIC.mjs";import{a as x}from"./chunk-6C4WESLL.mjs";import{a as N}from"./chunk-LAQ3QAUW.mjs";import{a as h}from"./chunk-FMJBJ3HN.mjs";import{a as n}from"./chunk-MDJREBVI.mjs";import{a as b}from"./chunk-WU3JMLSC.mjs";import{a as y}from"./chunk-BZAYEKYC.mjs";import z from"next/image";import{jsx as e,jsxs as o}from"react/jsx-runtime";var H=t=>({root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:t,type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}}),T=({children:t})=>e("div",{children:o("div",{className:"sticky top-0 h-screen",children:[t,e(s,{className:"text-black z-10",position:"header"})]})}),R=()=>o(T,{children:[o("video",{className:"fixed inset-0 object-cover w-full h-full z-0",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:[e("source",{src:"assets/videos/background2.mp4",type:"video/mp4"}),"Your browser does not support the video tag."]}),e("div",{className:"fixed inset-0 h-full z-10 flex flex-col items-start justify-center text-white px-4",children:e(h,{children:o("div",{className:"flex flex-col items-start md:w-1/2 mb-10 z-0 md:mb-0",children:[e("h1",{className:"text-5xl md:text-7xl mb-6",children:"Lorum ipsum."}),e("div",{className:"text-lg md:text-2xl text-gray-300 mb-8 max-w-lg",children:"Lorum ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec dui ac odio."})]})})})]}),L={highImpact:u,lowImpact:v,mediumImpact:f,sectionHero:g,dummy:R};function P({...t}){let i=t.style;return o("div",{className:"relative overflow-y-none scroll-smooth snap-y snap-mandatory",children:[e(N,{isMenuOpen:!0,logoLight:y,logoDark:b,...t.header}),e(I,{...t.hero}),e(c,{theme:"light",style:i,children:e(k,{...t.service})}),e(c,{theme:"dark",style:i,image:t.service.services[0].image,children:e(j,{})}),e(c,{theme:"light",style:i,children:e(j,{})}),e(c,{theme:"dark",style:i,children:e(S,{...t.contact})}),e(c,{theme:"light",style:i,children:e(w,{...t.contact})}),e(c,{theme:"last",style:i,children:e(C,{...t.blog})}),e(m,{...t.cta}),e(x,{...t.footer})]})}var I=t=>{let{type:i}=t||{};if(!i||i==="none")return null;let l=L[i];return l?e(l,{...t}):null},j=()=>{let t={blurDataURL:"/assets/props/Cortex-Handshake-BG.jpg",height:1315,url:"/assets/props/Cortex-Handshake-BG.jpg",width:1920};return e("div",{className:"container",children:o("div",{className:"w-full grid grid-cols-1 md:grid-cols-2 gap-1 items-center justify-center",children:[o("div",{className:n("w-full text-left"),children:[e("h2",{className:"text-3xl md:text-5xl text-primary",children:"Lorum ipsum..."}),e("p",{className:"mt-4 text-gray-700 text-lg",children:e(p,{enableGutter:!1,content:H("Lorum ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec dui ac odio. Nulla facilisi. Nullam nec nisi nec odio ultricies ultricies. Nullam nec nisi nec odio ultricies ultricies. Nullam nec nisi nec odio ultricies ultricies. Lorum ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec dui ac odio. Nulla facilisi. Nullam nec nisi nec odio ultricies ultricies. Nullam nec nisi nec odio ultricies ultricies. Nullam nec nisi nec odio ultricies ultricies."),enableProse:!1,className:n("prose prose-headings:text-foreground prose-p:text-foreground")})}),e("button",{className:"mt-6 px-6 py-3 border border-1 border-accent text-foreground rounded-full text-base hover:bg-accent hover:text-accent-foreground transition",children:"Click here"})]}),e("div",{className:"w-full h-full min-h-96 p-6 md:p-6 flex justify-center",children:e(z,{src:t.url,alt:"image",width:t.width,height:t.height,className:"max-w-full"})})]})})},c=({children:t,theme:i,style:l,neighbours:M,shape:D,image:B,id:r,continueTheme:F})=>{let G=a=>o("div",{className:"select-none",children:[a&&typeof a=="object"&&e(d,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:a}),a&&typeof a=="string"&&e("div",{children:e(z,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:a})})]});if(i==="dark"&&l==="slide")return e("section",{id:r||"next-section",className:"sticky md:top-0 h-screen",children:o("div",{className:"dark pt-0 min-h-[80vh]",children:[e(s,{className:"z-10",position:"dark-top"}),o("div",{className:"relative",children:[e("div",{className:"flex items-center bg-black justify-center pt-12",children:e("div",{className:"container",children:t})}),e(s,{className:"z-10",position:"dark-bottom"})]})]})});if(i==="light"&&l==="slide")return e("section",{id:r||"next-section",className:"sticky top-0 light pt-0 h-screen",children:o("div",{className:"sticky top-0 light pt-0 h-screen",children:[e(s,{className:"z-10",position:"light-top"}),o("div",{className:"relative bg-white",children:[e("div",{className:"flex items-center bg-white justify-center pt-12",children:e("div",{className:"container",children:t})}),e("div",{className:"h-[200px] bg-white"})]})]})});if(i==="first")return e("section",{id:r||"next-section",className:"",children:e("div",{className:"sticky top-0 light bg-background pt-6 min-h-[80vh]",children:o("div",{className:"relative",children:[e("div",{className:"flex items-center justify-center pt-12",children:e("div",{className:"container",children:t})}),e(s,{className:"text-black z-10",position:"bottom-right"})]})})});if(i==="light")return e("section",{id:r||"next-section",className:"",children:e("div",{className:n("sticky top-0 light bg-background min-h-[50vh]","pb-10"),children:e("div",{className:"flex items-center pt-8 justify-center",children:e("div",{className:"container",children:t})})})});if(i==="dark")return e("section",{id:r||"next-section",className:"",children:o("div",{className:"sticky -top-[1px] dark min-h-[80vh] bg-white",children:[e(s,{className:"text-black z-10",position:"bottom-right"}),e("div",{className:"flex items-center justify-center pt-12 bg-black",children:e("div",{className:"container",children:t})}),e(s,{className:"text-accent z-10",position:"top"})]})});if(i==="last")return e("section",{id:r||"next-section",className:"",children:o("div",{className:"sticky -top-[1px] dark min-h-[80vh] bg-white",children:[e(s,{className:"text-black z-10",position:"bottom-right"}),e("div",{className:"flex items-center justify-center pb-12 bg-black min-h-[80vh]",children:e("div",{className:"container",children:t})})]})})};export{P as a,c as b};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as K}from"./chunk-TVZOULLL.mjs";import{a as y}from"./chunk-FT3AE7L2.mjs";import{a as k}from"./chunk-L5JPAKPM.mjs";import{b as p}from"./chunk-ZUA4KNIR.mjs";import{b as u}from"./chunk-CSBGSBEU.mjs";import{a as d,e as v}from"./chunk-YO3GQYRJ.mjs";import{useState as h,useEffect as A}from"react";import{Search as D,X as F,FileText as S,Tag as I}from"lucide-react";import{jsx as t,jsxs as s}from"react/jsx-runtime";function J({selectedDocuments:l,onDocumentsChange:N,availableDocuments:x,label:L,placeholder:B="Search knowledge documents...",maxSelections:i,disabled:c=!1}){let[r,w]=h(""),[f,C]=h([]),[g,o]=h(!1);A(()=>{if(!r.trim()){C([]),o(!1);return}let e=x.filter(a=>{if(l.map(n=>n.id).includes(a.id))return!1;let m=r.toLowerCase();return a.title.toLowerCase().includes(m)||a.description?.toLowerCase().includes(m)||a.tags?.some(n=>n.toLowerCase().includes(m))||Object.values(a.metadata||{}).some(n=>String(n).toLowerCase().includes(m))});C(e),o(!0)},[r,l,x]);let z=e=>{i&&l.length>=i&&l.pop(),N([...l,e]),w(""),o(!1)},T=e=>{N(l.filter(a=>a.id!==e))},b=!i||l.length<i;return s("div",{className:"space-y-2",children:[t(K,{children:L}),s("div",{className:"relative",children:[s("div",{className:"relative",children:[t(D,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),t(k,{value:r,onChange:e=>w(e.target.value),placeholder:b?B:`Maximum ${i} documents selected`,className:"pl-9",disabled:c||!b,onFocus:()=>r&&o(!0)})]}),g&&f.length>0&&t(d,{className:"absolute top-full left-0 right-0 z-10 mt-1 max-h-60 overflow-y-scroll no-scrollbar",children:t(y,{className:"h-full",children:t(v,{className:"p-2",children:f.map(e=>t(p,{variant:"ghost",className:"w-full justify-start h-auto p-3 mb-1",onClick:()=>z(e),disabled:c,children:s("div",{className:"flex items-start gap-3 w-full",children:[t(S,{className:"h-4 w-4 mt-0.5 text-muted-foreground flex-shrink-0"}),s("div",{className:"text-left flex-1 min-w-0",children:[t("div",{className:"font-medium text-sm truncate",children:e.title}),e.description&&t("div",{className:"text-xs text-muted-foreground mt-1 line-clamp-2",children:e.description}),e.tags&&e.tags.length>0&&s("div",{className:"flex flex-wrap gap-1 mt-2",children:[e.tags.slice(0,3).map(a=>t(u,{variant:"outline",className:"text-xs",children:a},a)),e.tags.length>3&&s(u,{variant:"outline",className:"text-xs",children:["+",e.tags.length-3," more"]})]})]})]})},e.id))})})}),g&&r&&f.length===0&&t(d,{className:"absolute top-full left-0 right-0 z-10 mt-1",children:s(v,{className:"p-4 text-center text-sm text-muted-foreground",children:['No knowledge documents found for "',r,'"']})})]}),l.length>0&&t("div",{className:"space-y-2",children:t("div",{className:"space-y-2",children:l.map(e=>t(d,{className:"p-3",children:s("div",{className:"flex items-start gap-3",children:[t(S,{className:"h-4 w-4 mt-0.5 text-muted-foreground flex-shrink-0"}),s("div",{className:"flex-1 min-w-0",children:[t("div",{className:"font-medium text-sm",children:e.title}),e.description&&t("div",{className:"text-xs text-muted-foreground mt-1",children:e.description}),e.tags&&e.tags.length>0&&t("div",{className:"flex flex-wrap gap-1 mt-2",children:e.tags.map(a=>s(u,{variant:"outline",className:"text-xs",children:[t(I,{className:"h-3 w-3 mr-1"}),a]},a))})]}),t(p,{type:"button",variant:"ghost",size:"icon",className:"h-6 w-6 flex-shrink-0",onClick:()=>T(e.id),disabled:c,children:t(F,{className:"h-3 w-3"})})]})},e.id))})}),g&&t("div",{className:"fixed inset-0 z-0",onClick:()=>o(!1)})]})}export{J as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as
|
|
1
|
+
import{a as R}from"./chunk-EPJJKGCG.mjs";import{a as S,b as z}from"./chunk-7TSR2LQB.mjs";import{a as F}from"./chunk-2LINLX4S.mjs";import{d as y}from"./chunk-Q2DPE66H.mjs";import{a as B}from"./chunk-FT3AE7L2.mjs";import{a as E}from"./chunk-L5JPAKPM.mjs";import{b as s}from"./chunk-ZUA4KNIR.mjs";import{a as b,c as x}from"./chunk-SOLZ4VQH.mjs";import{a as A}from"./chunk-MDJREBVI.mjs";import{useRef as N,useEffect as T,useState as O}from"react";import*as l from"motion/react-client";import{Send as ie,Bot as H,Menu as oe,Paperclip as se,X as ne,FileText as le,Image as re,File as ce}from"lucide-react";import{jsx as t,jsxs as i}from"react/jsx-runtime";function ke({messages:r,input:C,isTyping:d=!1,currentSessionTitle:L,capabilities:u,fileUploads:f,isDragOver:$,enableFileUpload:w,onInputChange:P,addToolResult:K,onSendMessage:U,onKeyPress:V,onFileUpload:k,onRemoveFile:J,onDragOver:p,className:Q,status:W="ready"}){let g=N(null),G=N(null),I=N(null),[n,c]=O(!1),[v,me]=O({path:[],selectedItems:[],filters:{}});T(()=>{g.current?.scrollIntoView({behavior:"smooth"})},[r]),T(()=>{n&&setTimeout(()=>{g.current?.scrollIntoView({behavior:"smooth"})},100)},[n]);let M=()=>y(v),D=()=>{let e=[];return u.forEach(a=>{a.actions&&a.actions.forEach(o=>{e.push({label:o.label,action:()=>h(o.id,{path:[a],selectedItems:[],filters:{}})})}),a.children&&a.children.forEach(o=>{o.type==="list"&&o.data&&e.push({label:`View ${o.name}`,action:()=>c(!0)})})}),e.slice(0,5)},h=(e,a)=>{console.log("Capability action:",e,a);let o=`Executing ${e} with context: ${JSON.stringify(a.path.map(m=>m.name))}`;c(!1)},X=y({path:[],selectedItems:[],filters:{}}),q=e=>{k(e.target.files),e.target.files&&(e.target.value="")},Y=e=>{e.preventDefault(),p(!0)},Z=e=>{e.preventDefault(),p(!1)},_=e=>{e.preventDefault(),p(!1),k(e.dataTransfer.files)},j=e=>{if(e===0)return"0 Bytes";let a=1024,o=["Bytes","KB","MB","GB"],m=Math.floor(Math.log(e)/Math.log(a));return parseFloat((e/Math.pow(a,m)).toFixed(2))+" "+o[m]},ee=e=>e.startsWith("image/")?t(re,{className:"h-4 w-4"}):e.startsWith("text/")?t(le,{className:"h-4 w-4"}):t(ce,{className:"h-4 w-4"}),te={messages:r,currentSessionTitle:L,capabilities:u,currentCapabilityContext:v,contextualActions:X,getQuickSuggestions:D().map(e=>e.label)},ae=()=>{navigator.clipboard.writeText(JSON.stringify(te,null,2)),alert("Debug info copied to clipboard")};return i("div",{className:`h-full flex flex-col relative size-full shadow-sm max-w-4xl mx-auto ${Q||""}`,children:[i(B,{ref:G,className:"flex-1 p-4 bg-background border-0",onDragOver:Y,onDragLeave:Z,onDrop:_,children:[i("div",{className:A("space-y-4",$&&"ring-2 ring-primary ring-offset-2 bg-primary/5"),children:[t(l.animate,{children:r.map(e=>t(l.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},children:t(S,{from:e.role,children:t(z,{variant:"flat",children:R({message:e,addToolResult:K??(()=>{}),status:W,messages:r})})},e.id)},e.id))}),n&&i(l.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},className:"flex gap-3",children:[t(b,{className:"h-8 w-8",children:t(x,{className:"bg-gradient-to-br from-purple-600 to-blue-600 text-white",children:t(H,{className:"h-4 w-4"})})}),t("div",{className:"flex-1 bg-muted rounded-2xl px-4 py-3 shadow-sm",children:t(F,{capabilities:u,isOpen:n,onToggle:()=>c(!n),onActionSelect:h,className:"w-full"})})]}),d&&i(l.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},className:"flex gap-3",children:[t(b,{className:"h-8 w-8",children:t(x,{className:"bg-gradient-to-br from-purple-600 to-blue-600 text-white",children:t(H,{className:"h-4 w-4"})})}),t("div",{className:"bg-muted rounded-2xl px-4 py-3 shadow-sm",children:i("div",{className:"flex space-x-1",children:[t("div",{className:"w-2 h-2 bg-muted-foreground/50 rounded-full animate-bounce"}),t("div",{className:"w-2 h-2 bg-muted-foreground/50 rounded-full animate-bounce",style:{animationDelay:"0.1s"}}),t("div",{className:"w-2 h-2 bg-muted-foreground/50 rounded-full animate-bounce",style:{animationDelay:"0.2s"}})]})})]})]}),t("div",{ref:g})]}),f.length>0&&t("div",{className:"p-4 border-t bg-muted/10",children:t("div",{className:"flex flex-wrap gap-2",children:f.map(e=>i("div",{className:"flex items-center gap-2 bg-background rounded-lg p-2 border",children:[ee(e.file.type),t("span",{className:"text-sm font-medium",children:e.file.name}),t("span",{className:"text-xs text-muted-foreground",children:j(e.file.size)}),t(s,{variant:"ghost",size:"sm",onClick:()=>J(e.id),className:"h-6 w-6 p-0",children:t(ne,{className:"h-4 w-4"})})]},e.id))})}),i("div",{className:"border rounded-2xl p-4 bg-muted/20",children:[i("div",{className:"flex gap-3",children:[t(E,{value:C,onChange:e=>P(e.target.value),onKeyPress:V,placeholder:"How can I help you today?",className:"flex-1 rounded-2xl bg-background shadow-sm",disabled:d}),w&&t(s,{variant:"outline",size:"icon",onClick:()=>I.current?.click(),className:"rounded-2xl h-10 w-10 shadow-sm",children:t(se,{className:"h-4 w-4"})}),t(s,{onClick:U,disabled:!C.trim()&&f.length===0||d,size:"icon",className:"rounded-2xl h-10 w-10 shadow-sm",children:t(ie,{className:"h-4 w-4"})})]}),i("div",{className:"flex items-center gap-3 mt-3",children:[i(s,{onClick:()=>c(!n),variant:"outline",size:"sm",className:"rounded-full text-xs flex-shrink-0",children:[t(oe,{className:"h-3 w-3 mr-1"}),n?"Hide":"Show"," Capabilities"]}),i("div",{className:"flex flex-wrap gap-2 overflow-hidden",children:[M().map((e,a)=>t(s,{variant:"default",size:"sm",className:"rounded-full text-xs bg-accent hover:bg-accent/80",onClick:()=>h(e.id,v),children:e.label},`context-${e.id}`)),M().length===0&&D().map((e,a)=>t(s,{variant:"outline",size:"sm",className:"rounded-full text-xs",onClick:e.action,children:e.label},`suggestion-${a}`)),t(s,{variant:"outline",size:"sm",className:"rounded-full text-xs ml-auto",onClick:ae,children:"Debug"})]})]}),w&&t("input",{ref:I,type:"file",multiple:!0,onChange:q,className:"hidden"})]})]})}export{ke as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as P}from"./chunk-ZHBYZ4HE.mjs";import{a as I}from"./chunk-
|
|
1
|
+
import{a as P}from"./chunk-ZHBYZ4HE.mjs";import{a as I}from"./chunk-2O54GV6Q.mjs";import{a as M}from"./chunk-DCOFQFVJ.mjs";import{a as C}from"./chunk-6SWKEZN6.mjs";import{a as v}from"./chunk-DFIXTV2M.mjs";import{a as S,f as b,g as F,i as U}from"./chunk-3UMMMQEH.mjs";import{b as N}from"./chunk-ZUA4KNIR.mjs";import{useEffect as W,useState as n}from"react";import{Loader2 as Y,Check as Z,X as _,Upload as $,File as ee}from"lucide-react";import{jsx as a,jsxs as i}from"react/jsx-runtime";var fe=({isOpen:A,onClose:h,initialTask:m,epics:E,sprints:O,onUpdateTask:y,onDeleteTask:H,onAddComment:T,colleagues:L,onUploadFile:c,onDeleteFile:p,onFileUpdate:B})=>{let[s,R]=n(m),[j,d]=n(new Date),[r,e]=n("idle"),[g,l]=n("idle"),[z,u]=n(!1),[te,ae]=n([]),[X,se]=n(L);W(()=>{R(m)},[m]);let D=async(t,o)=>{if(o!==s[t]){e("loading");try{await y(s.id.toString(),{[t]:o}),d(new Date),e("success"),setTimeout(()=>e("idle"),1500)}catch(f){console.log("error",f),e("error"),setTimeout(()=>e("idle"),3e3)}}},q=async(t,o)=>{if(o!==s[t]){e("loading");try{await y(s.id.toString(),{[t]:o}),d(new Date),e("success"),setTimeout(()=>e("idle"),1500)}catch(f){console.log("error",f),e("error"),setTimeout(()=>e("idle"),3e3)}}},G=async t=>{if(T){e("loading");try{await T?.({content:t,taskId:s.id.toString()}),d(new Date),e("success"),setTimeout(()=>e("idle"),1500)}catch{e("error"),setTimeout(()=>e("idle"),3e3)}}},J=async()=>{l("loading");try{await H(s.id.toString()),l("success"),setTimeout(()=>{h(),l("idle")},1e3)}catch{l("error"),setTimeout(()=>l("idle"),3e3)}},K=async t=>{if(c){e("loading");try{await c(s.id.toString(),t),d(new Date),e("success"),u(!1),setTimeout(()=>e("idle"),1500)}catch(o){console.error("Error uploading file:",o),e("error"),setTimeout(()=>e("idle"),3e3)}}},Q=async t=>{if(p){e("loading");try{await p(s.id.toString(),t.id.toString()),d(new Date),e("success"),setTimeout(()=>e("idle"),1500)}catch(o){console.error("Error deleting file:",o),e("error"),setTimeout(()=>e("idle"),3e3)}}},x=(s.files||[]).map(t=>typeof t=="number"?null:t).filter(t=>t!==null),k=r!=="loading"&&g!=="loading",w=()=>{k&&h()},V=()=>r==="loading"?i("div",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[a(Y,{className:"h-4 w-4 animate-spin"}),a("span",{children:"Updating..."})]}):r==="success"?i("div",{className:"flex items-center gap-2 text-sm text-success",children:[a(Z,{className:"h-4 w-4"}),a("span",{children:"Updated successfully"})]}):r==="error"?i("div",{className:"flex items-center gap-2 text-sm text-destructive",children:[a(_,{className:"h-4 w-4"}),a("span",{children:"Update failed"})]}):null;return i(S,{open:A,onOpenChange:w,children:[i(b,{className:"max-w-3xl max-h-[80vh] overflow-y-auto p-4",children:[i(F,{children:[a(U,{className:"sr-only",children:s?.name}),i("div",{className:"flex items-center justify-between",children:[a("div",{className:"flex-1",children:V()}),!k&&a("div",{className:"text-xs text-muted-foreground",children:"Please wait..."})]})]}),i("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-4",children:[i("div",{className:"lg:col-span-2 space-y-4",children:[a(v,{fieldName:"name",value:s.name||"",label:"",onSave:D,className:"border-b border-border pb-3",disabled:r==="loading"}),a(v,{fieldName:"description",value:s.description||"",label:"Description",multiline:!0,onSave:D,disabled:r==="loading"}),i("div",{className:"space-y-2",children:[i("div",{className:"flex items-center justify-between",children:[i("div",{className:"flex items-center gap-2",children:[a(ee,{className:"h-4 w-4 text-muted-foreground"}),a("h3",{className:"text-sm font-medium",children:"Files"})]}),c&&i(N,{variant:"outline",size:"sm",onClick:()=>u(!0),disabled:r==="loading",className:"gap-2",children:[a($,{className:"h-4 w-4"}),"Upload"]})]}),x.length>0?a(I,{files:x,onFileDelete:p?Q:void 0,onFileUpdate:B,showHeader:!1,className:"border rounded-lg",viewMode:"card"}):a("div",{className:"text-sm text-muted-foreground py-4 text-center border border-dashed rounded-lg",children:"No files attached"})]}),a(C,{comments:(s?.comments||[]).map(t=>({author:t.author?.value.name||"",createdAt:new Date(t.timestamp),text:t.text,id:t.id||""})),onAddComment:G})]}),a(P,{task:s,epics:E,sprints:O,lastUpdated:j,onUpdateTask:q,onClose:w,onDelete:J,isUpdating:r==="loading",isDeleting:g==="loading",deleteState:g,teamMembers:X})]})]}),c&&a(M,{isOpen:z,onClose:()=>u(!1),onAddFile:K})]})};export{fe as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{f as c}from"./chunk-
|
|
1
|
+
import{f as c}from"./chunk-2BRDNDUB.mjs";import{a as t}from"./chunk-MDJREBVI.mjs";import n from"next/image";import{jsx as e,jsxs as l}from"react/jsx-runtime";function g({image:a,title:i,content:s,link:o,theme:r}){return l("section",{className:"container relative",children:[e("div",{className:t("absolute mt-[50%] w-full h-full",r==="dark"?"bg-white":"bg-black")}),e("div",{className:t("flex flex-col md:flex-row items-center justify-between gap-12 px-6 md:px-16 py-16 bg-background",r,r==="dark"&&"bg-black clip-custom-top-r"),children:l("div",{className:"w-full flex flex-row items-center justify-center",children:[l("div",{className:t("w-full md:w-1/2 max-w-lg text-left",r==="dark"&&"mt-48"),children:[e("h2",{className:"text-3xl md:text-5xl text-primary",children:i}),e("p",{className:"mt-4 text-gray-700 text-lg",children:s&&e(c,{enableGutter:!1,content:s,enableProse:!1,className:t("prose prose-headings:text-gray-700 prose-p:text-gray-700")})}),e("button",{className:"mt-6 px-6 py-3 border border-1 border-accent text-foreground bg-background rounded-full text-base hover:bg-accent hover:text-white transition",children:e("a",{href:o.url||"#",children:o.label||"Learn more"})})]}),e("div",{className:"w-full md:w-1/2 flex justify-center",children:a&&a.url&&e(n,{src:a.url,alt:a.alt||`Image of ${i}`,width:400,height:400,className:"max-w-full"})})]})})]})}export{g as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as u}from"./chunk-
|
|
4
|
+
import{a as u}from"./chunk-4FEVXBNU.mjs";import{d as m}from"./chunk-RKS7CWAP.mjs";import{a as c}from"./chunk-BZEGLKRZ.mjs";import{AutoFocusPlugin as f}from"@payloadcms/richtext-lexical/lexical/react/LexicalAutoFocusPlugin";import{LexicalComposer as g}from"@payloadcms/richtext-lexical/lexical/react/LexicalComposer";import{ContentEditable as x}from"@payloadcms/richtext-lexical/lexical/react/LexicalContentEditable";import{LexicalErrorBoundary as y}from"@payloadcms/richtext-lexical/lexical/react/LexicalErrorBoundary";import{HistoryPlugin as C}from"@payloadcms/richtext-lexical/lexical/react/LexicalHistoryPlugin";import{RichTextPlugin as N}from"@payloadcms/richtext-lexical/lexical/react/LexicalRichTextPlugin";import{ListPlugin as E}from"@payloadcms/richtext-lexical/lexical/react/LexicalListPlugin";import{ListItemNode as S,ListNode as R}from"@payloadcms/richtext-lexical/lexical/list";import{HeadingNode as b}from"@payloadcms/richtext-lexical/lexical/rich-text";import{OnChangePlugin as P}from"@payloadcms/richtext-lexical/lexical/react/LexicalOnChangePlugin";import{useEffect as h,useRef as L}from"react";import{useLexicalComposerContext as v}from"@payloadcms/richtext-lexical/lexical/react/LexicalComposerContext";import{Fragment as k,jsx as t,jsxs as d}from"react/jsx-runtime";var T=({setValue:l,value:e,name:a,editable:i=!0})=>{let[r]=v(),o=L(null),p=n=>{n.read(()=>{let s=n.toJSON();JSON.stringify(s)!==JSON.stringify(o.current)&&(o.current=s,l?.(()=>s))})};return h(()=>{r.setEditable(i)},[i,r]),h(()=>{e&&JSON.stringify(e)!==JSON.stringify(o.current)&&r.update(()=>{try{let n=r.parseEditorState(e);r.setEditorState(n),o.current=e}catch(n){console.error("Error parsing editor state:",n)}},{discrete:!0})},[e,r]),t("div",{className:"w-full",children:d("div",{className:" ",children:[i&&t(u,{}),d("div",{className:"px-4 my-4 border-l border-[#222222]",children:[t(N,{contentEditable:t(x,{name:a,className:"focus:outline-none focus:ring-0 focus-visible:outline-none min-h-40"}),ErrorBoundary:y}),i&&d(k,{children:[t(C,{}),t(f,{}),t(E,{}),t(P,{onChange:p}),t(m,{})]})]})]})})},O=({setValue:l,value:e,name:a,editable:i=!0})=>t(g,{initialConfig:{namespace:"Lexical editor",nodes:[R,S,b,c],onError(o){throw console.error("Lexical error:",o),o},theme:{code:"editor-code",heading:{h1:"text-4xl text-primary",h2:"text-3xl",h3:"text-2xl",h4:"text-lg",h5:"text-sm"},image:"editor-image",link:"editor-link",list:{listitem:"editor-listitem",nested:{listitem:"editor-nested-listitem"},ol:"list-decimal",ul:"list-disc"},ltr:"ltr",paragraph:"editor-paragraph",placeholder:"editor-placeholder",quote:"editor-quote",rtl:"rtl",text:{bold:"editor-text-bold font-bold",code:"editor-text-code",hashtag:"editor-text-hashtag",italic:"editor-text-italic italic",overflowed:"editor-text-overflowed",strikethrough:"editor-text-strikethrough line-through",underline:"editor-text-underline underline",underlineStrikethrough:"underline line-through"}}},children:t(T,{value:e,setValue:l,name:a,editable:i})}),X=O;export{X as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as F}from"./chunk-
|
|
4
|
+
import{a as F}from"./chunk-FE7ZGUPU.mjs";import{a as T}from"./chunk-EM3T2XYC.mjs";import{a as v}from"./chunk-MDJREBVI.mjs";import{a as R}from"./chunk-Q3G5UAAD.mjs";import{useState as A}from"react";import G from"html2canvas";import{jsPDF as W}from"jspdf";import{Fragment as J,jsx as e,jsxs as g}from"react/jsx-runtime";function ae({type:p="slideshow",orientation:d="landscape",...c}){let h=c.page,[C,n]=A(d),{contentWithIds:a,tableOfContents:i}=R(h);if(p==="slideshow")return e("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:e(T,{blocks:a,hero:c.hero,title:c.page.title,logoImage:c.logoImage})});if(p==="print")return g(J,{children:[e(U,{layout:C,changeLayout:n}),e(F,{page:c.page,layout:C,logoImage:c.logoImage})]})}var U=({changeLayout:p,layout:d="landscape"})=>{let c=async()=>{if(d==="flow"){let a=document.getElementById("printable-content")?.innerHTML;if(a){var n=window.document.body.innerHTML;window.document.body.innerHTML=a,window.print(),window.document.body.innerHTML=n}}else await new Promise(a=>setTimeout(a,300)),window.print()},h=n=>{p&&p(n)},C=async n=>{let a=document.getElementById(n);if(!a)throw new Error(`Element with id ${n} not found`);let i=document.createElement("canvas"),P=window.devicePixelRatio;i.width=Math.max(a.clientWidth||0)*P,i.height=Math.max(a.clientHeight||0)*P+100;let u=i.getContext("2d");if(!u)throw new Error("Failed to get 2D context");let q=u.drawImage,z=Array.from(a.getElementsByTagName("img")).reduce((y,s)=>(y[s.src]=s,y),{});u.drawImage=function(...y){let[s,S,j,l,r,D,B,m,w]=y;if(s instanceof HTMLImageElement){let Y=z[s.src].style.objectFit||"fill",$=z[s.src].style.objectPosition||"center center";r=s.height,l=s.width;let L=l/r,b=m/w,[x,f]=$.split(" ");switch(f||(f=x),Y){case"cover":if(L>b){let t=r*b,o=(l-t)/2;x==="left"&&(o=0),x==="right"&&(o=l-t),S+=o,l=t}else{let t=l/b,o=(r-t)/2;f==="top"&&(o=0),f==="bottom"&&(o=r-t),j+=o,r=t}break;case"contain":if(L>b){let t=m/L,o=(w-t)/2;f==="top"&&(o=0),f==="bottom"&&(o=w-t),B+=o,w=t}else{let t=w*L,o=(m-t)/2;x==="left"&&(o=0),x==="right"&&(o=m-t),D+=o,m=t}break;case"fill":break}}return q.call(u,s,S,j,l,r,D,B,m,w)};let k=document.getElementById(n);if(!k)throw new Error(`Element with id ${n} not found`);var O=i.width,X=i.height;let I=(await G(k,{canvas:i,windowHeight:X,windowWidth:O,scale:window.devicePixelRatio})).toDataURL("image/png"),N=new W({}).getImageProperties(I),M=297,E=M*(N.height/N.width),H=new W({unit:"mm",format:[M,E]});H.addImage(I,"PNG",0,0,M,E),H.save("print.pdf")};return e("div",{className:v("fixed right-2 z-20 top-20 space-y-6 print:hidden"),children:e("div",{className:"flex flex-row-reverse z-20 min-w-70 gap-4",children:g("nav",{className:"z-20 flex grow-0 justify-end gap-4 border-t border-gray-200 bg-white/50 p-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-h-[auto] min-w-[54px] flex-col rounded-lg border",children:[g("a",{onClick:c,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:e("path",{d:"M96 160l-32 0 0-96C64 28.7 92.7 0 128 0L357.5 0c17 0 33.3 6.7 45.3 18.7l26.5 26.5c12 12 18.7 28.3 18.7 45.3l0 69.5-32 0 0-69.5c0-8.5-3.4-16.6-9.4-22.6L380.1 41.4c-6-6-14.1-9.4-22.6-9.4L128 32c-17.7 0-32 14.3-32 32l0 96zm352 64L64 224c-17.7 0-32 14.3-32 32l0 128 32 0 0-32c0-17.7 14.3-32 32-32l320 0c17.7 0 32 14.3 32 32l0 32 32 0 0-128c0-17.7-14.3-32-32-32zm0 192l0 64c0 17.7-14.3 32-32 32L96 512c-17.7 0-32-14.3-32-32l0-64-32 0c-17.7 0-32-14.3-32-32L0 256c0-35.3 28.7-64 64-64l384 0c35.3 0 64 28.7 64 64l0 128c0 17.7-14.3 32-32 32l-32 0zM96 352l0 128 320 0 0-128L96 352zM432 248a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"})}),e("small",{className:"text-xs font-medium",children:"Print"})]}),e("div",{className:"flex-grow border-t border-gray-200 dark:border-slate-600/60"}),g("a",{onClick:()=>h("portrait"),className:v("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",d==="portrait"?"text-accent":"hover:text-accent"),children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",fill:"currentColor",children:e("path",{d:"M352 448c0 17.7-14.3 32-32 32L64 480c-17.7 0-32-14.3-32-32L32 64c0-17.7 14.3-32 32-32l256 0c17.7 0 32 14.3 32 32l0 384zM384 64c0-35.3-28.7-64-64-64L64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-384z"})}),e("small",{className:"text-xs",children:"Portrait"})]}),g("a",{onClick:()=>h("landscape"),className:v("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",d==="landscape"?"text-accent":"hover:text-accent"),children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512",fill:"currentColor",children:e("path",{d:"M576 96c17.7 0 32 14.3 32 32l0 256c0 17.7-14.3 32-32 32L64 416c-17.7 0-32-14.3-32-32l0-256c0-17.7 14.3-32 32-32l512 0zM64 64C28.7 64 0 92.7 0 128L0 384c0 35.3 28.7 64 64 64l512 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64L64 64z"})}),e("small",{className:"text-xs",children:"Landscape"})]}),g("a",{onClick:()=>h("flow"),className:v("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",d==="flow"?"text-accent":"hover:text-accent"),children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:e("path",{d:"M266.2 4.7C273 1.6 280.5 0 288 0s15 1.6 21.8 4.7l217.4 97.5c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 251.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 153.9C38.6 149.3 32 139.2 32 128s6.6-21.3 16.8-25.9L266.2 4.7zM288 32c-3 0-6 .6-8.8 1.9L69.3 128l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-210-94.1C294 32.6 291 32 288 32zM48.8 358.1l45.9-20.6 39.1 17.5L69.3 384l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-64.5-28.9 39.1-17.5 45.9 20.6c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 507.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 409.9C38.6 405.3 32 395.2 32 384s6.6-21.3 16.8-25.9zM94.7 209.5l39.1 17.5L69.3 256l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-64.5-28.9 39.1-17.5 45.9 20.6c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 379.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 281.9C38.6 277.3 32 267.2 32 256s6.6-21.3 16.8-25.9l45.9-20.6z"})}),e("small",{className:"text-xs",children:"Continuous"})]})]})})})};export{ae as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BusinessUnit, SidebarItem } from
|
|
1
|
+
import type { BusinessUnit, SidebarItem } from '../DigitalColleagues/types';
|
|
2
2
|
interface SidebarProps {
|
|
3
3
|
items: SidebarItem[];
|
|
4
4
|
isOpen: boolean;
|
|
@@ -9,9 +9,10 @@ interface SidebarProps {
|
|
|
9
9
|
onSearch?: (query: string) => void;
|
|
10
10
|
className?: string;
|
|
11
11
|
logo?: string;
|
|
12
|
+
logoLink?: string;
|
|
12
13
|
appName?: string;
|
|
13
14
|
tagline?: string;
|
|
14
15
|
}
|
|
15
16
|
export declare function AppSidebar({ items, isOpen, isMobile, onClose, currentBusinessUnit, // Default to Design unit
|
|
16
|
-
onBusinessUnitChange, onSearch, className, logo, appName, tagline, }: SidebarProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
onBusinessUnitChange, onSearch, className, logo, logoLink, appName, tagline, }: SidebarProps): import("react/jsx-runtime").JSX.Element;
|
|
17
18
|
export {};
|