cortex-react-components 2.15.0 → 2.16.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. package/dist/{chunk-N3B3XNV3.mjs → chunk-2BRDNDUB.mjs} +1 -1
  2. package/dist/{chunk-M7NV6EFH.mjs → chunk-3HNU2NYP.mjs} +1 -1
  3. package/dist/{chunk-FKU4VQR6.mjs → chunk-3NRXQBBS.mjs} +1 -1
  4. package/dist/{chunk-NWISIJFD.mjs → chunk-3Y7QG6VP.mjs} +1 -1
  5. package/dist/{chunk-A2KX5N75.mjs → chunk-4ZWGVKVT.mjs} +1 -1
  6. package/dist/{chunk-LHO4WFYP.mjs → chunk-5FWH5YVM.mjs} +1 -1
  7. package/dist/{chunk-PK3OBSCB.mjs → chunk-5MWZTJYP.mjs} +1 -1
  8. package/dist/{chunk-DMCFEJ2C.mjs → chunk-6VRPQKAK.mjs} +1 -1
  9. package/dist/{chunk-5SHZBJ5R.mjs → chunk-75F3LJMX.mjs} +1 -1
  10. package/dist/{chunk-MXCW6SOT.mjs → chunk-7R47MHQE.mjs} +1 -1
  11. package/dist/{chunk-LJQPLE4S.mjs → chunk-AJQHGVZ5.mjs} +1 -1
  12. package/dist/{chunk-YKG4FNS4.mjs → chunk-C4RWEPVF.mjs} +1 -1
  13. package/dist/{chunk-7GMAMIHM.mjs → chunk-CXOVEABI.mjs} +1 -1
  14. package/dist/{chunk-JTVWQ42C.mjs → chunk-DDQWJGAN.mjs} +1 -1
  15. package/dist/{chunk-D2H36ZLW.mjs → chunk-DXE6AGJX.mjs} +1 -1
  16. package/dist/{chunk-5WVFEIMC.mjs → chunk-EM3T2XYC.mjs} +1 -1
  17. package/dist/{chunk-IF3425JX.mjs → chunk-FE7ZGUPU.mjs} +1 -1
  18. package/dist/{chunk-H3CJOE6S.mjs → chunk-GHOL5L32.mjs} +1 -1
  19. package/dist/{chunk-2RQDJ5XT.mjs → chunk-GTZJWMZR.mjs} +1 -1
  20. package/dist/{chunk-AQQCH7Z2.mjs → chunk-KBEXWUKI.mjs} +1 -1
  21. package/dist/{chunk-I2GNNRFH.mjs → chunk-LJXTXROJ.mjs} +1 -1
  22. package/dist/{chunk-PO3XUUWY.mjs → chunk-LLP4EFT4.mjs} +1 -1
  23. package/dist/{chunk-OLIYPWO3.mjs → chunk-LQX37M4T.mjs} +1 -1
  24. package/dist/{chunk-P7S6XFU4.mjs → chunk-MX3JKY3V.mjs} +1 -1
  25. package/dist/{chunk-HKGW6JI2.mjs → chunk-NINFDOV5.mjs} +1 -1
  26. package/dist/{chunk-RX63ABAF.mjs → chunk-O54IXEY5.mjs} +1 -1
  27. package/dist/{chunk-ZFUP5NVF.mjs → chunk-O5P35LEY.mjs} +1 -1
  28. package/dist/chunk-OGAY4DL2.mjs +1 -0
  29. package/dist/{chunk-TILPSVAP.mjs → chunk-PHQMSVOB.mjs} +1 -1
  30. package/dist/{chunk-255P6K5W.mjs → chunk-RGOKBIQ5.mjs} +1 -1
  31. package/dist/{chunk-67QPOSVV.mjs → chunk-RJGYVDOU.mjs} +1 -1
  32. package/dist/{chunk-XKGBG5FX.mjs → chunk-TVTTUSWM.mjs} +1 -1
  33. package/dist/{chunk-SRUG246N.mjs → chunk-TXVA6XJT.mjs} +1 -1
  34. package/dist/chunk-UGBDJDPW.mjs +4 -0
  35. package/dist/{chunk-6PS55VJZ.mjs → chunk-VDFRWGXR.mjs} +1 -1
  36. package/dist/{chunk-ERJXTG6X.mjs → chunk-WIRQ5IRT.mjs} +1 -1
  37. package/dist/{chunk-2HWSTGAP.mjs → chunk-XQ3XV5DH.mjs} +1 -1
  38. package/dist/{chunk-5NIEZE7A.mjs → chunk-XX4GSGRP.mjs} +1 -1
  39. package/dist/{chunk-62A35O55.mjs → chunk-ZEALRBXW.mjs} +1 -1
  40. package/dist/chunk-ZN7NNMB7.mjs +4 -0
  41. package/dist/components/Blocks/Banner.mjs +1 -1
  42. package/dist/components/Blocks/CallToAction.mjs +1 -1
  43. package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
  44. package/dist/components/Blocks/Content.mjs +1 -1
  45. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  46. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  47. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  48. package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
  49. package/dist/components/Blocks/index.mjs +1 -1
  50. package/dist/components/Cards/ContentCard.mjs +1 -1
  51. package/dist/components/Cards/FeatureCard.mjs +1 -1
  52. package/dist/components/Cards/index.mjs +1 -1
  53. package/dist/components/Chat/ChatInterface.js +6 -6
  54. package/dist/components/Chat/ChatInterface.mjs +1 -1
  55. package/dist/components/Chat/CopilotInterface.js +7 -7
  56. package/dist/components/Chat/CopilotInterface.mjs +1 -1
  57. package/dist/components/Chat/PartTypes/CodeBlock.css +1 -0
  58. package/dist/components/Chat/PartTypes/CodeBlock.d.ts +15 -0
  59. package/dist/components/Chat/PartTypes/CodeBlock.js +4 -0
  60. package/dist/components/Chat/PartTypes/CodeBlock.mjs +2 -0
  61. package/dist/components/Chat/PartTypes/Tool.css +1 -0
  62. package/dist/components/Chat/PartTypes/Tool.d.ts +22 -0
  63. package/dist/components/Chat/PartTypes/Tool.js +5 -0
  64. package/dist/components/Chat/PartTypes/Tool.mjs +2 -0
  65. package/dist/components/Chat/PartTypes/index.d.ts +2 -0
  66. package/dist/components/Chat/PartTypes/index.js +6 -6
  67. package/dist/components/Chat/PartTypes/index.mjs +1 -1
  68. package/dist/components/Chat/demo-long-messages.js +12 -12
  69. package/dist/components/Chat/demo-long-messages.mjs +1 -1
  70. package/dist/components/Chat/demo-tests.js +27 -27
  71. package/dist/components/Chat/demo-tests.mjs +1 -1
  72. package/dist/components/Chat/demo.js +7 -7
  73. package/dist/components/Chat/demo.mjs +1 -1
  74. package/dist/components/Chat/example-usage.js +7 -7
  75. package/dist/components/Chat/example-usage.mjs +1 -1
  76. package/dist/components/Chat/example-with-vercel-ai.js +7 -7
  77. package/dist/components/Chat/example-with-vercel-ai.mjs +1 -1
  78. package/dist/components/Chat/index.js +11 -11
  79. package/dist/components/Chat/index.mjs +1 -1
  80. package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +1 -1
  81. package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
  82. package/dist/components/DigitalColleagues/Pages/dashboardpage.mjs +1 -1
  83. package/dist/components/DigitalColleagues/Views/index.mjs +1 -1
  84. package/dist/components/DigitalColleagues/index.mjs +1 -1
  85. package/dist/components/Foundary/AppSidebarLeft.mjs +1 -1
  86. package/dist/components/Foundary/MainPage.mjs +1 -1
  87. package/dist/components/Foundary/Pages/dashboardpage.mjs +1 -1
  88. package/dist/components/Foundary/Views/index.mjs +1 -1
  89. package/dist/components/Foundary/index.mjs +1 -1
  90. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  91. package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
  92. package/dist/components/HeaderFooter/index.mjs +1 -1
  93. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  94. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  95. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  96. package/dist/components/Heros/PostHero/index.mjs +1 -1
  97. package/dist/components/Heros/RenderHero.mjs +1 -1
  98. package/dist/components/Heros/SectionHero/index.mjs +1 -1
  99. package/dist/components/Heros/index.mjs +1 -1
  100. package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
  101. package/dist/components/Layouts/Print.mjs +1 -1
  102. package/dist/components/Layouts/SlideShow.mjs +1 -1
  103. package/dist/components/Layouts/index.mjs +1 -1
  104. package/dist/components/Menus/SidebarLeft.mjs +1 -1
  105. package/dist/components/Menus/SidebarRight.mjs +1 -1
  106. package/dist/components/Menus/index.mjs +1 -1
  107. package/dist/components/Other/index.mjs +1 -1
  108. package/dist/components/Payload/RichText/index.mjs +1 -1
  109. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  110. package/dist/components/Payload/index.mjs +1 -1
  111. package/dist/components/Projects/EpicsView.mjs +1 -1
  112. package/dist/components/Projects/KanbanBoardView.mjs +1 -1
  113. package/dist/components/Projects/ProjectPage.mjs +1 -1
  114. package/dist/components/Projects/ProjectView.mjs +1 -1
  115. package/dist/components/Projects/ProjectsIndexView.mjs +1 -1
  116. package/dist/components/Projects/index.mjs +1 -1
  117. package/dist/components/dc-temp/index.mjs +1 -1
  118. package/dist/components/index.js +14 -14
  119. package/dist/components/index.mjs +1 -1
  120. package/dist/components/ui/index.mjs +1 -1
  121. package/dist/components/ui/sidebar.mjs +1 -1
  122. package/dist/globals.css +1 -1
  123. package/dist/index.js +25 -25
  124. package/dist/index.mjs +1 -1
  125. package/dist/metafile-cjs.json +1 -1
  126. package/dist/metafile-esm.json +1 -1
  127. package/dist/pages/Blog.mjs +1 -1
  128. package/dist/pages/Documentation.mjs +1 -1
  129. package/dist/pages/IndexPage.mjs +1 -1
  130. package/dist/pages/Intranet.mjs +1 -1
  131. package/dist/pages/LandingPage.mjs +1 -1
  132. package/dist/pages/Page.mjs +1 -1
  133. package/dist/pages/Publish.mjs +1 -1
  134. package/dist/pages/Website.mjs +1 -1
  135. package/dist/sections/AboutSection.mjs +1 -1
  136. package/dist/sections/BlogDetail.mjs +1 -1
  137. package/dist/sections/BlogList.mjs +1 -1
  138. package/dist/sections/BlogListSection.mjs +1 -1
  139. package/dist/sections/ContactSection.mjs +1 -1
  140. package/dist/sections/PageSections.mjs +1 -1
  141. package/dist/sections/PricingSection.mjs +1 -1
  142. package/dist/sections/ServiceDetail.mjs +1 -1
  143. package/dist/sections/ServiceDetailSection.mjs +1 -1
  144. package/dist/sections/ServiceSection.mjs +1 -1
  145. package/dist/sections/form/index.mjs +1 -1
  146. package/dist/sections/index.mjs +1 -1
  147. package/package.json +5 -2
  148. package/dist/chunk-UTHKFW4R.mjs +0 -1
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";import{a as l}from"../../chunk-A2KX5N75.mjs";import"../../chunk-E6UOMRHI.mjs";import"../../chunk-56X4PU43.mjs";import"../../chunk-UTHKFW4R.mjs";import"../../chunk-3BG2SCNC.mjs";import"../../chunk-6OT5PQXV.mjs";import"../../chunk-SIL7AP7H.mjs";import"../../chunk-QM5FOQHG.mjs";import"../../chunk-6OCLRAHU.mjs";import"../../chunk-5Y6FKL5W.mjs";import"../../chunk-EW6KWAHS.mjs";import"../../chunk-2LINLX4S.mjs";import"../../chunk-DBY4SXQI.mjs";import"../../chunk-I2PVJQQR.mjs";import"../../chunk-LTTO57ZK.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};
2
+ "use strict";import{a as l}from"../../chunk-4ZWGVKVT.mjs";import"../../chunk-E6UOMRHI.mjs";import"../../chunk-56X4PU43.mjs";import"../../chunk-OGAY4DL2.mjs";import"../../chunk-5Y6FKL5W.mjs";import"../../chunk-EW6KWAHS.mjs";import"../../chunk-UGBDJDPW.mjs";import"../../chunk-ZN7NNMB7.mjs";import"../../chunk-3BG2SCNC.mjs";import"../../chunk-6OT5PQXV.mjs";import"../../chunk-SIL7AP7H.mjs";import"../../chunk-QM5FOQHG.mjs";import"../../chunk-6OCLRAHU.mjs";import"../../chunk-2LINLX4S.mjs";import"../../chunk-DBY4SXQI.mjs";import"../../chunk-I2PVJQQR.mjs";import"../../chunk-LTTO57ZK.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};