cortex-react-components 2.14.0 → 2.16.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-5Y6FKL5W.mjs +4 -0
- package/dist/{chunk-TILPSVAP.mjs → chunk-A5MYHSX7.mjs} +1 -1
- package/dist/{chunk-GSOFCLPO.mjs → chunk-B7AXSCTN.mjs} +1 -1
- package/dist/{chunk-MFCVMJBO.mjs → chunk-BDDEMCAH.mjs} +1 -1
- package/dist/{chunk-XKGBG5FX.mjs → chunk-CBIULUZQ.mjs} +1 -1
- package/dist/{chunk-CJDUN6R4.mjs → chunk-DKRRVTCV.mjs} +1 -1
- package/dist/{chunk-D2H36ZLW.mjs → chunk-DXE6AGJX.mjs} +1 -1
- package/dist/{chunk-MDBYZZXI.mjs → chunk-ESPA7NWT.mjs} +1 -1
- package/dist/chunk-EW6KWAHS.mjs +4 -0
- package/dist/{chunk-F2Y3ELUO.mjs → chunk-EZKKO2SR.mjs} +1 -1
- package/dist/{chunk-PO3XUUWY.mjs → chunk-L5NPH5RX.mjs} +1 -1
- package/dist/{chunk-I2GNNRFH.mjs → chunk-LJOWXPWW.mjs} +1 -1
- package/dist/{chunk-AMVJPDM3.mjs → chunk-M527EJIX.mjs} +1 -1
- package/dist/{chunk-2Z5N6HIX.mjs → chunk-N7BHIWS5.mjs} +1 -1
- package/dist/{chunk-R5SXUWYU.mjs → chunk-NWRU6YZM.mjs} +1 -1
- package/dist/chunk-R72ZFTOO.mjs +1 -0
- package/dist/{chunk-HSQAHQNP.mjs → chunk-TKCFCYEQ.mjs} +1 -1
- package/dist/chunk-UGBDJDPW.mjs +4 -0
- package/dist/{chunk-OLIYPWO3.mjs → chunk-UPDEVKI7.mjs} +1 -1
- package/dist/{chunk-2UNIT7NC.mjs → chunk-UPRS7OYQ.mjs} +1 -1
- package/dist/chunk-ZN7NNMB7.mjs +4 -0
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/CRM/CogeBoard.mjs +1 -1
- package/dist/components/CRM/KanbanBoard.mjs +1 -1
- package/dist/components/CRM/index.mjs +1 -1
- package/dist/components/Chat/ChatInterface.js +10 -9
- package/dist/components/Chat/ChatInterface.mjs +1 -1
- package/dist/components/Chat/CopilotInterface.js +10 -9
- package/dist/components/Chat/CopilotInterface.mjs +1 -1
- package/dist/components/Chat/PartTypes/CodeBlock.css +1 -0
- package/dist/components/Chat/PartTypes/CodeBlock.d.ts +15 -0
- package/dist/components/Chat/PartTypes/CodeBlock.js +4 -0
- package/dist/components/Chat/PartTypes/CodeBlock.mjs +2 -0
- package/dist/components/Chat/PartTypes/Reasoning.css +1 -0
- package/dist/components/Chat/PartTypes/Reasoning.d.ts +16 -0
- package/dist/components/Chat/PartTypes/Reasoning.js +5 -0
- package/dist/components/Chat/PartTypes/Reasoning.mjs +2 -0
- package/dist/components/Chat/PartTypes/Response.css +1 -0
- package/dist/components/Chat/PartTypes/Response.d.ts +5 -0
- package/dist/components/Chat/PartTypes/Response.js +4 -0
- package/dist/components/Chat/PartTypes/Response.mjs +2 -0
- package/dist/components/Chat/PartTypes/Tool.css +1 -0
- package/dist/components/Chat/PartTypes/Tool.d.ts +22 -0
- package/dist/components/Chat/PartTypes/Tool.js +5 -0
- package/dist/components/Chat/PartTypes/Tool.mjs +2 -0
- package/dist/components/Chat/PartTypes/index.css +1 -0
- package/dist/components/Chat/PartTypes/index.d.ts +4 -0
- package/dist/components/Chat/PartTypes/index.js +11 -10
- package/dist/components/Chat/PartTypes/index.mjs +1 -1
- package/dist/components/Chat/demo-long-messages.js +21 -20
- package/dist/components/Chat/demo-long-messages.mjs +1 -1
- package/dist/components/Chat/demo-tests.js +33 -32
- package/dist/components/Chat/demo-tests.mjs +1 -1
- package/dist/components/Chat/demo.js +10 -9
- package/dist/components/Chat/demo.mjs +1 -1
- package/dist/components/Chat/example-usage.js +10 -9
- package/dist/components/Chat/example-usage.mjs +1 -1
- package/dist/components/Chat/example-with-vercel-ai.js +10 -9
- package/dist/components/Chat/example-with-vercel-ai.mjs +1 -1
- package/dist/components/Chat/index.js +12 -11
- package/dist/components/Chat/index.mjs +1 -1
- package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
- package/dist/components/DigitalColleagues/Pages/dashboardpage.mjs +1 -1
- package/dist/components/DigitalColleagues/Views/ColleaguesView.mjs +1 -1
- package/dist/components/DigitalColleagues/Views/index.mjs +1 -1
- package/dist/components/DigitalColleagues/index.mjs +1 -1
- package/dist/components/Foundary/MainPage.mjs +1 -1
- package/dist/components/Foundary/Pages/dashboardpage.mjs +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/TeamsIndexView.mjs +1 -1
- package/dist/components/Foundary/Views/index.mjs +1 -1
- package/dist/components/Foundary/index.mjs +1 -1
- package/dist/components/HeaderFooter/Header.mjs +1 -1
- package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/SectionHero/index.mjs +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
- package/dist/components/Layouts/Print.mjs +1 -1
- package/dist/components/Layouts/SlideShow.mjs +1 -1
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Other/index.mjs +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/Projects/KanbanBoardView.mjs +1 -1
- package/dist/components/Projects/ProjectPage.mjs +1 -1
- package/dist/components/Projects/ProjectView.mjs +1 -1
- package/dist/components/Projects/ProjectsIndexView.mjs +1 -1
- package/dist/components/Projects/index.mjs +1 -1
- package/dist/components/dc-temp/index.mjs +1 -1
- package/dist/components/index.js +19 -19
- package/dist/components/index.mjs +1 -1
- package/dist/globals.css +1 -1
- package/dist/index.js +25 -25
- 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/PageSections.mjs +1 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/ServiceSection.mjs +1 -1
- package/dist/sections/index.mjs +1 -1
- package/package.json +9 -4
- package/dist/chunk-4RGIPI27.mjs +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";import{a as l}from"../../chunk-
|
|
2
|
+
"use strict";import{a as l}from"../../chunk-EZKKO2SR.mjs";import"../../chunk-E6UOMRHI.mjs";import"../../chunk-56X4PU43.mjs";import"../../chunk-R72ZFTOO.mjs";import"../../chunk-SIL7AP7H.mjs";import"../../chunk-6OCLRAHU.mjs";import"../../chunk-5Y6FKL5W.mjs";import"../../chunk-EW6KWAHS.mjs";import"../../chunk-UGBDJDPW.mjs";import"../../chunk-QM5FOQHG.mjs";import"../../chunk-ZN7NNMB7.mjs";import"../../chunk-3BG2SCNC.mjs";import"../../chunk-6OT5PQXV.mjs";import"../../chunk-2LINLX4S.mjs";import"../../chunk-I2PVJQQR.mjs";import"../../chunk-LTTO57ZK.mjs";import"../../chunk-DBY4SXQI.mjs";import"../../chunk-4WA47ZQA.mjs";import{a as t,b as i,c as n}from"../../chunk-NPVUICIF.mjs";import"../../chunk-QG4QCB5I.mjs";import"../../chunk-MU5WPW4N.mjs";import"../../chunk-AZKOVKSK.mjs";import"../../chunk-FGEFYI5E.mjs";import{b as o}from"../../chunk-Q2DPE66H.mjs";import"../../chunk-INCYANPB.mjs";import"../../chunk-FT3AE7L2.mjs";import"../../chunk-RLVKIMGU.mjs";import"../../chunk-OCPX4QPC.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-YNCJATT7.mjs";import"../../chunk-L5JPAKPM.mjs";import"../../chunk-KY7WQYN4.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-FLHDNCNY.mjs";import"../../chunk-YEKQJ4YC.mjs";import{useChat as r}from"@ai-sdk/react";import{jsx as c}from"react/jsx-runtime";var a=[{id:"1",title:"AI Assistant Chat",lastMessage:"How can I help you today?"}];function C(){return c(l,{businessUnits:n,capabilities:o,sidebarItems:t,notifications:i,sessions:a,onNewChat:()=>console.log("New chat started"),onSessionSelect:e=>console.log("Session selected:",e),onSessionDelete:e=>console.log("Session deleted:",e),title:"AI-Powered Copilot"})}function S(){return c(l,{aiConfig:{onError:e=>console.error("Chat error:",e)},businessUnits:n,capabilities:o,sidebarItems:t,notifications:i,sessions:a,onNewChat:()=>console.log("New chat started"),onSessionSelect:e=>console.log("Session selected:",e),onSessionDelete:e=>console.log("Session deleted:",e),title:"Custom AI Copilot"})}function g(){return c(l,{enableAI:!1,messages:[{id:"1",role:"assistant",parts:[{type:"text",text:"This is demo mode - no AI involved!"}]}],businessUnits:n,capabilities:o,sidebarItems:t,notifications:i,sessions:a,onNewChat:()=>console.log("New chat started"),onSessionSelect:s=>console.log("Session selected:",s),onSessionDelete:s=>console.log("Session deleted:",s),title:"Demo Copilot"})}function h(){let e=r({onError:s=>console.error("Custom chat error:",s)});return c(l,{useCustomChat:e,businessUnits:n,capabilities:o,sidebarItems:t,notifications:i,sessions:a,onNewChat:()=>{e.setMessages([]),console.log("New chat started - messages cleared")},onSessionSelect:s=>console.log("Session selected:",s),onSessionDelete:s=>console.log("Session deleted:",s),title:"Advanced AI Copilot"})}function b(){return c(l,{sidebarInitiallyClosed:!0,businessUnits:n,capabilities:o,sidebarItems:t,notifications:i,sessions:a,onNewChat:()=>console.log("New chat started"),onSessionSelect:e=>console.log("Session selected:",e),onSessionDelete:e=>console.log("Session deleted:",e),title:"Focused AI Chat"})}function f(){let e=r({onError:s=>console.error("File upload chat error:",s),onFinish:s=>console.log("Message with files completed:",s)});return c(l,{useCustomChat:e,enableAI:!0,enableFileUpload:!0,maxFileSize:10,allowedFileTypes:["image/*","text/*","application/pdf"],businessUnits:n,capabilities:o,sidebarItems:t,notifications:i,sessions:a,onNewChat:()=>{e.setMessages([]),console.log("New file upload chat started - messages cleared")},onSessionSelect:s=>console.log("Session selected:",s),onSessionDelete:s=>console.log("Session deleted:",s),title:"AI Copilot with File Uploads"})}export{h as AdvancedAICopilot,S as CustomAICopilot,g as DemoCopilot,f as FileUploadAICopilot,b as FocusedChatCopilot,C as SimpleAICopilot};
|