cortex-react-components 2.29.0-beta.2 → 2.29.0-beta.4

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 (122) hide show
  1. package/dist/{chunk-KGFSSFVZ.mjs → chunk-2W5UZALU.mjs} +1 -1
  2. package/dist/{chunk-7YSJAVXO.mjs → chunk-3DXSTAQP.mjs} +1 -1
  3. package/dist/{chunk-ZKTIH47I.mjs → chunk-4745QCXP.mjs} +1 -1
  4. package/dist/{chunk-BXHRPSV4.mjs → chunk-6MFAWZRQ.mjs} +1 -1
  5. package/dist/{chunk-CTQADMXV.mjs → chunk-76U5MXTI.mjs} +1 -1
  6. package/dist/{chunk-7HIL4GBK.mjs → chunk-7GWTDITT.mjs} +1 -1
  7. package/dist/{chunk-5G7LCLOY.mjs → chunk-CMEGGDTF.mjs} +1 -1
  8. package/dist/{chunk-GFYO6B7H.mjs → chunk-CTDGP5H4.mjs} +1 -1
  9. package/dist/{chunk-JGKLAY6J.mjs → chunk-DP6Q6ZTN.mjs} +1 -1
  10. package/dist/{chunk-CLMGLIGH.mjs → chunk-DZDMH6IZ.mjs} +1 -1
  11. package/dist/{chunk-K7NFBXL3.mjs → chunk-FJ4JWNKL.mjs} +1 -1
  12. package/dist/{chunk-UXSJRXJQ.mjs → chunk-G4S2QIU4.mjs} +1 -1
  13. package/dist/{chunk-ZW24FGHA.mjs → chunk-HDLKX5L3.mjs} +1 -1
  14. package/dist/chunk-IP5TOSWC.mjs +4 -0
  15. package/dist/{chunk-TBKC2B4Z.mjs → chunk-JMJUFHDA.mjs} +1 -1
  16. package/dist/{chunk-LL7CRB4U.mjs → chunk-KZXYV2BA.mjs} +1 -1
  17. package/dist/{chunk-S4CCJK44.mjs → chunk-MIM3VFET.mjs} +1 -1
  18. package/dist/{chunk-LMDGHBG2.mjs → chunk-NBWQTY4K.mjs} +1 -1
  19. package/dist/{chunk-YZDNY3K4.mjs → chunk-NK3XCHIN.mjs} +1 -1
  20. package/dist/{chunk-FOO5RONL.mjs → chunk-OK7X567A.mjs} +1 -1
  21. package/dist/{chunk-AGKZDANI.mjs → chunk-P5Q2KBKF.mjs} +1 -1
  22. package/dist/{chunk-LHO4WFYP.mjs → chunk-QLKS32RD.mjs} +1 -1
  23. package/dist/{chunk-W7QAGMX7.mjs → chunk-QPGVTPZ4.mjs} +1 -1
  24. package/dist/{chunk-LPCO4T25.mjs → chunk-RK5JHVD4.mjs} +1 -1
  25. package/dist/{chunk-VKUF2Y5T.mjs → chunk-TEJHZXUT.mjs} +1 -1
  26. package/dist/{chunk-DLX4NQ3T.mjs → chunk-V7PGZR23.mjs} +1 -1
  27. package/dist/{chunk-6A2O63AU.mjs → chunk-ZPJJOZY4.mjs} +1 -1
  28. package/dist/components/Chat/ChatInterface.mjs +1 -1
  29. package/dist/components/Chat/CopilotInterface.mjs +1 -1
  30. package/dist/components/Chat/PartTypes/MessageHandler.mjs +1 -1
  31. package/dist/components/Chat/PartTypes/index.mjs +1 -1
  32. package/dist/components/Chat/demo-long-messages.mjs +1 -1
  33. package/dist/components/Chat/demo-tests.mjs +1 -1
  34. package/dist/components/Chat/demo.mjs +1 -1
  35. package/dist/components/Chat/example-usage.mjs +1 -1
  36. package/dist/components/Chat/example-with-vercel-ai.mjs +1 -1
  37. package/dist/components/Chat/index.mjs +1 -1
  38. package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
  39. package/dist/components/DigitalColleagues/Pages/dashboardpage.mjs +1 -1
  40. package/dist/components/DigitalColleagues/Views/index.mjs +1 -1
  41. package/dist/components/DigitalColleagues/index.mjs +1 -1
  42. package/dist/components/Foundary/Knowledge/add-knowledge-modal.mjs +1 -1
  43. package/dist/components/Foundary/Knowledge/add-team-context.mjs +1 -1
  44. package/dist/components/Foundary/MainPage.mjs +1 -1
  45. package/dist/components/Foundary/Pages/dashboardpage.mjs +1 -1
  46. package/dist/components/Foundary/RichText/index.mjs +1 -1
  47. package/dist/components/Foundary/RichText/plugins/toolbar-plugin.mjs +1 -1
  48. package/dist/components/Foundary/Views/ColleaguesView.mjs +1 -1
  49. package/dist/components/Foundary/Views/KnowledgeView.mjs +1 -1
  50. package/dist/components/Foundary/Views/index.mjs +1 -1
  51. package/dist/components/Foundary/document-edit.mjs +1 -1
  52. package/dist/components/Foundary/document-preview-examples.mjs +1 -1
  53. package/dist/components/Foundary/document-preview.mjs +1 -1
  54. package/dist/components/Foundary/file-edit.mjs +1 -1
  55. package/dist/components/Foundary/index.mjs +1 -1
  56. package/dist/components/Foundary/knowledge-browser.mjs +1 -1
  57. package/dist/components/HeaderFooter/Header.mjs +1 -1
  58. package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
  59. package/dist/components/HeaderFooter/index.mjs +1 -1
  60. package/dist/components/Heros/PostHero/index.mjs +1 -1
  61. package/dist/components/Heros/RenderHero.mjs +1 -1
  62. package/dist/components/Heros/SectionHero/index.mjs +1 -1
  63. package/dist/components/Heros/index.mjs +1 -1
  64. package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
  65. package/dist/components/Layouts/Print.mjs +1 -1
  66. package/dist/components/Layouts/SlideShow.mjs +1 -1
  67. package/dist/components/Layouts/index.mjs +1 -1
  68. package/dist/components/Menus/SidebarLeft.js +1 -1
  69. package/dist/components/Menus/SidebarLeft.mjs +1 -1
  70. package/dist/components/Menus/SidebarLeftMulti.css +1 -0
  71. package/dist/components/Menus/SidebarLeftMulti.d.ts +42 -0
  72. package/dist/components/Menus/SidebarLeftMulti.js +4 -0
  73. package/dist/components/Menus/SidebarLeftMulti.mjs +2 -0
  74. package/dist/components/Menus/index.d.ts +1 -0
  75. package/dist/components/Menus/index.js +1 -1
  76. package/dist/components/Menus/index.mjs +1 -1
  77. package/dist/components/Other/index.mjs +1 -1
  78. package/dist/components/Payload/index.mjs +1 -1
  79. package/dist/components/Projects/FileView.mjs +1 -1
  80. package/dist/components/Projects/KanbanBoardView.mjs +1 -1
  81. package/dist/components/Projects/ProjectPage.mjs +1 -1
  82. package/dist/components/Projects/ProjectView.mjs +1 -1
  83. package/dist/components/Projects/ProjectsIndexView.mjs +1 -1
  84. package/dist/components/Projects/TaskDetailsModal.mjs +1 -1
  85. package/dist/components/Projects/file-list.mjs +1 -1
  86. package/dist/components/Projects/index.mjs +1 -1
  87. package/dist/components/dc-temp/index.mjs +1 -1
  88. package/dist/components/index.js +22 -22
  89. package/dist/components/index.mjs +1 -1
  90. package/dist/components/ui/carousel.d.ts +1 -1
  91. package/dist/components/ui/carousel.js +1 -1
  92. package/dist/components/ui/carousel.mjs +1 -1
  93. package/dist/components/ui/index.js +1 -1
  94. package/dist/components/ui/index.mjs +1 -1
  95. package/dist/decorators/Intranet.css +1 -1
  96. package/dist/decorators/Intranet.mjs +1 -1
  97. package/dist/globals.css +1 -1
  98. package/dist/hooks/index.mjs +1 -1
  99. package/dist/index.js +37 -37
  100. package/dist/index.mjs +1 -1
  101. package/dist/metafile-cjs.json +1 -1
  102. package/dist/metafile-esm.json +1 -1
  103. package/dist/pages/Blog.mjs +1 -1
  104. package/dist/pages/Documentation.js +1 -1
  105. package/dist/pages/Documentation.mjs +1 -1
  106. package/dist/pages/IndexPage.js +1 -1
  107. package/dist/pages/IndexPage.mjs +1 -1
  108. package/dist/pages/Intranet.js +1 -1
  109. package/dist/pages/Intranet.mjs +1 -1
  110. package/dist/pages/LandingPage.mjs +1 -1
  111. package/dist/pages/Page.mjs +1 -1
  112. package/dist/pages/Publish.mjs +1 -1
  113. package/dist/pages/Website.mjs +1 -1
  114. package/dist/sections/AboutSection.mjs +1 -1
  115. package/dist/sections/BlogDetail.mjs +1 -1
  116. package/dist/sections/BlogList.mjs +1 -1
  117. package/dist/sections/BlogListSection.mjs +1 -1
  118. package/dist/sections/PageSections.mjs +1 -1
  119. package/dist/sections/PricingSection.mjs +1 -1
  120. package/dist/sections/ServiceSection.mjs +1 -1
  121. package/dist/sections/index.mjs +1 -1
  122. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as V}from"./chunk-ZKTIH47I.mjs";import{a as A}from"./chunk-DFIXTV2M.mjs";import{a as I,c as _,d as L,g as O,i as M}from"./chunk-YFAZQYK4.mjs";import{a as z}from"./chunk-B4H6T2GP.mjs";import{a as k}from"./chunk-L5JPAKPM.mjs";import{b as m}from"./chunk-ZUA4KNIR.mjs";import{motion as H}from"motion/react";import{Save as oe,X as J,Plus as ie,ChevronDown as le,ChevronRight as de,Info as $,File as P,FileText as ce,Type as me,Loader2 as ue}from"lucide-react";import{useEffect as w,useRef as p,useState as y}from"react";import{jsx as t,jsxs as i}from"react/jsx-runtime";function De({document:C,onSave:S,mode:fe="edit",onCancel:U,availableDocuments:K=[],knowledgeContexts:W=[]}){let[s,l]=y({...C,updatedAt:new Date}),[x,X]=y(!1),[d,q]=y(s.richTextContent),[u,R]=y(!1),he=p(null),v=p(""),T=p(null),f=p(null),F=e=>{let a=new WeakSet,n=r=>r&&typeof r=="object"?a.has(r)?null:(a.add(r),Array.isArray(r)?r.map(n):Object.keys(r).sort().reduce((o,c)=>(o[c]=n(r[c]),o),{})):r;return JSON.stringify(n(e))},h=e=>e?e.replace(/\s+/g," ").trim():"",D=()=>s.format==="richText"?F(d):h(s.content),j=()=>{let e={title:h(s.title),description:h(s.description),format:s.format,content:D()},a=F(e),n=5381;for(let r=0;r<a.length;r++)n=n*33^a.charCodeAt(r);return(n>>>0).toString(16)},G=(e,a)=>{if(e===a)return!1;if(s.format!=="richText"){let n=Q(e),r=D();if(n==null)return!0;let o=n.length,c=r.length,g=Math.abs(c-o),b=o===0?1:g/o;return h(n)===h(r)&&g<3?!1:g>=10||b>=.02}return!0},B=p(new Map),Q=e=>{let a=B.current.get(e);return a==null?null:"x".repeat(a)};w(()=>(f.current&&clearTimeout(f.current),f.current=setTimeout(()=>{let e=j(),a=v.current;if(G(a,e)&&(R(!0),S({...s,richTextContent:d},"autosave"),v.current=e,s.format!=="richText")){let n=D();B.current.set(e,n.length)}},800),()=>{f.current&&clearTimeout(f.current)}),[s.title,s.description,s.format,s.content,s.metadata,d]),w(()=>{let e=()=>{let a=j();a!==v.current&&(S({...s,richTextContent:d},"autosave"),v.current=a)};return window.addEventListener("pagehide",e),window.addEventListener("beforeunload",e),()=>{window.removeEventListener("pagehide",e),window.removeEventListener("beforeunload",e)}},[s,d]),w(()=>(u&&(T.current=setTimeout(()=>{R(!1)},2e3)),()=>{T.current&&clearTimeout(T.current)}),[u]),w(()=>{l(C)},[C]);let ge=e=>{switch(e){case"markdown":case"mdx":return t(ce,{className:"h-6 w-6 text-primary"});case"richText":return t(P,{className:"h-6 w-6 text-success"});case"text":return t(me,{className:"h-6 w-6 text-muted-foreground"});default:return t(P,{className:"h-6 w-6 text-muted-foreground"})}},Y=e=>{switch(e){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"}},Z=()=>{let e=new Set,a=new Set;return W.forEach(n=>{n.menuConfig.groupBy.forEach(r=>e.add(r))}),K.forEach(n=>{n.metadata&&Object.keys(n.metadata).forEach(r=>a.add(r))}),{contextKeys:Array.from(e).sort(),documentKeys:Array.from(a).sort(),allKeys:Array.from(new Set([...e,...a])).sort()}},ee=e=>{let a=new Set;return K.forEach(n=>{n.metadata?.[e]&&a.add(String(n.metadata[e]))}),Array.from(a).sort()},te=Z(),ae=()=>{S({...s,richTextContent:d},"autosave")},N=(e,a)=>{l(n=>({...n,metadata:{...n.metadata,[e]:a}}))},ne=(e,a)=>{a==="__custom__"?N(e,""):N(e,a)},se=()=>{N("","")},re=e=>{l(a=>{let n={...a.metadata};return delete n[e],{...a,metadata:n}})};return i(H.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.3},className:"h-screen flex flex-col",children:[i("div",{className:"border-b border-border bg-card p-8 pb-6",children:[i("div",{className:"flex items-start justify-between gap-4 mb-4",children:[t("div",{className:"flex items-start gap-4 flex-1 min-w-0",children:i("div",{className:"flex-1 min-w-0",children:[i("div",{className:"flex items-start gap-4 mb-0 leading-tight",children:[t("div",{className:"flex-1 min-w-0",children:t(A,{fieldName:"title",value:s.title,label:"",onSave:(e,a)=>l(n=>({...n,title:a})),className:"[&>div:last-child]:text-2xl [&>div:last-child]:font-bold [&>div:last-child]:leading-tight [&>div:last-child]:text-foreground [&>div:last-child]:p-0 [&>div:last-child]:border-0 [&>div:last-child]:hover:bg-muted/30 [&>div:last-child]:min-h-0"})}),t("span",{className:`inline-flex items-center px-3 py-1 rounded-full text-sm font-medium border ${Y(s.format)} flex-shrink-0 mt-1`,children:s.format.toUpperCase()})]}),t("div",{className:"mt-2",children:t(A,{fieldName:"description",value:s.description||"Click to add description...",label:"",multiline:!0,onSave:(e,a)=>l(n=>({...n,description:a})),className:"[&>div:last-child]:text-muted-foreground [&>div:last-child]:text-lg [&>div:last-child]:leading-relaxed [&>div:last-child]:p-0 [&>div:last-child]:border-0 [&>div:last-child]:hover:bg-muted/30 [&>div:last-child]:min-h-0"})})]})}),i("div",{className:"flex items-center gap-2 flex-shrink-0",children:[i(m,{variant:"ghost",size:"sm",onClick:()=>X(!x),className:"gap-2",children:[t($,{className:"h-4 w-4"}),"Metadata",s.metadata&&Object.keys(s.metadata).length>0&&t("span",{className:"inline-flex items-center justify-center w-5 h-5 text-xs font-medium bg-primary/10 text-primary rounded-full",children:Object.keys(s.metadata).length}),x?t(le,{className:"h-4 w-4"}):t(de,{className:"h-4 w-4"})]}),i(m,{variant:"outline",size:"sm",onClick:U,className:"gap-2",children:[t(J,{className:"h-4 w-4"}),"Close"]}),i(m,{size:"sm",onClick:ae,className:"gap-2",disabled:u,children:[u?t(ue,{className:"h-4 w-4 animate-spin"}):t(oe,{className:"h-4 w-4"}),u?"Auto-saving...":"Save"]})]})]}),t(H.div,{initial:!1,animate:{height:x?"auto":0,opacity:x?1:0},transition:{duration:.2,ease:"easeInOut"},className:"overflow-hidden h-full max-h-full",children:i("div",{className:"pt-4 border-t border-border mt-4 max-h-full flex gap-2",children:[t("div",{className:"flex items-center justify-between mb-3",children:i("h3",{className:"text-sm font-semibold text-foreground flex items-center gap-2",children:[t($,{className:"h-4 w-4"}),"Document Metadata"]})}),i("div",{className:"flex flex-col gap-2",children:[t("div",{className:"bg-muted rounded-lg p-4 border border-border",children:s.metadata&&Object.keys(s.metadata).length>0?t("div",{className:"space-y-2",children:Object.entries(s.metadata).map(([e,a],n)=>{let r=ee(e);return i("div",{className:"flex gap-2 items-center",children:[t(k,{value:e,onChange:o=>{let c=o.target.value||"",g=s.metadata?.[e];l(b=>{let E={...b.metadata};return delete E[e],c&&(E[c]=g||""),{...b,metadata:E}})},placeholder:"Key",className:"w-32 h-8 text-sm",list:`metadata-keys-${e}`}),t("datalist",{id:`metadata-keys-${e}`,children:te.allKeys.map(o=>t("option",{value:o},o))}),t("span",{className:"text-muted-foreground text-sm",children:"="}),r.length>0?i(I,{value:String(a||""),onValueChange:o=>ne(e,o),children:[t(L,{className:"flex-1 h-8 text-sm",children:t(_,{placeholder:"Value"})}),i(O,{children:[r.map(o=>t(M,{value:o,children:o},o)),t(M,{value:"__custom__",children:t("span",{className:"text-muted-foreground text-xs",children:"Custom..."})})]})]}):t(k,{value:String(a||""),onChange:o=>N(e,o.target.value),placeholder:"Value",className:"flex-1 h-8 text-sm"}),t(m,{type:"button",variant:"ghost",size:"sm",onClick:()=>re(e),className:"h-8 w-8 p-0 text-muted-foreground hover:text-destructive",children:t(J,{className:"h-3 w-3"})})]},`metadata-key-${n}`)})}):i("div",{className:"text-center py-4",children:[t("p",{className:"text-sm text-muted-foreground mb-2",children:"No metadata fields"}),t("p",{className:"text-xs text-muted-foreground",children:'Click "Add Field" to create metadata'})]})}),i(m,{type:"button",variant:"outline",size:"sm",onClick:se,className:"gap-1 h-8",children:[t(ie,{className:"h-3 w-3"}),"Add Field"]})]})]})})]}),t("div",{className:"flex-1 overflow-hidden",children:t("div",{className:"p-8 pt-0 h-full max-h-full overflow-auto",children:s.format==="richText"?t(V,{setValue:q,value:d,name:"richTextContent"}):t(z,{value:s.content||"",onChange:e=>l(a=>({...a,content:e.target.value})),placeholder:"Document content...",className:"min-h-[400px] font-mono text-sm",style:{resize:"vertical"}})})})]})}export{De as a};
4
+ import{a as V}from"./chunk-4745QCXP.mjs";import{a as A}from"./chunk-DFIXTV2M.mjs";import{a as I,c as _,d as L,g as O,i as M}from"./chunk-YFAZQYK4.mjs";import{a as z}from"./chunk-B4H6T2GP.mjs";import{a as k}from"./chunk-L5JPAKPM.mjs";import{b as m}from"./chunk-ZUA4KNIR.mjs";import{motion as H}from"motion/react";import{Save as oe,X as J,Plus as ie,ChevronDown as le,ChevronRight as de,Info as $,File as P,FileText as ce,Type as me,Loader2 as ue}from"lucide-react";import{useEffect as w,useRef as p,useState as y}from"react";import{jsx as t,jsxs as i}from"react/jsx-runtime";function De({document:C,onSave:S,mode:fe="edit",onCancel:U,availableDocuments:K=[],knowledgeContexts:W=[]}){let[s,l]=y({...C,updatedAt:new Date}),[x,X]=y(!1),[d,q]=y(s.richTextContent),[u,R]=y(!1),he=p(null),v=p(""),T=p(null),f=p(null),F=e=>{let a=new WeakSet,n=r=>r&&typeof r=="object"?a.has(r)?null:(a.add(r),Array.isArray(r)?r.map(n):Object.keys(r).sort().reduce((o,c)=>(o[c]=n(r[c]),o),{})):r;return JSON.stringify(n(e))},h=e=>e?e.replace(/\s+/g," ").trim():"",D=()=>s.format==="richText"?F(d):h(s.content),j=()=>{let e={title:h(s.title),description:h(s.description),format:s.format,content:D()},a=F(e),n=5381;for(let r=0;r<a.length;r++)n=n*33^a.charCodeAt(r);return(n>>>0).toString(16)},G=(e,a)=>{if(e===a)return!1;if(s.format!=="richText"){let n=Q(e),r=D();if(n==null)return!0;let o=n.length,c=r.length,g=Math.abs(c-o),b=o===0?1:g/o;return h(n)===h(r)&&g<3?!1:g>=10||b>=.02}return!0},B=p(new Map),Q=e=>{let a=B.current.get(e);return a==null?null:"x".repeat(a)};w(()=>(f.current&&clearTimeout(f.current),f.current=setTimeout(()=>{let e=j(),a=v.current;if(G(a,e)&&(R(!0),S({...s,richTextContent:d},"autosave"),v.current=e,s.format!=="richText")){let n=D();B.current.set(e,n.length)}},800),()=>{f.current&&clearTimeout(f.current)}),[s.title,s.description,s.format,s.content,s.metadata,d]),w(()=>{let e=()=>{let a=j();a!==v.current&&(S({...s,richTextContent:d},"autosave"),v.current=a)};return window.addEventListener("pagehide",e),window.addEventListener("beforeunload",e),()=>{window.removeEventListener("pagehide",e),window.removeEventListener("beforeunload",e)}},[s,d]),w(()=>(u&&(T.current=setTimeout(()=>{R(!1)},2e3)),()=>{T.current&&clearTimeout(T.current)}),[u]),w(()=>{l(C)},[C]);let ge=e=>{switch(e){case"markdown":case"mdx":return t(ce,{className:"h-6 w-6 text-primary"});case"richText":return t(P,{className:"h-6 w-6 text-success"});case"text":return t(me,{className:"h-6 w-6 text-muted-foreground"});default:return t(P,{className:"h-6 w-6 text-muted-foreground"})}},Y=e=>{switch(e){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"}},Z=()=>{let e=new Set,a=new Set;return W.forEach(n=>{n.menuConfig.groupBy.forEach(r=>e.add(r))}),K.forEach(n=>{n.metadata&&Object.keys(n.metadata).forEach(r=>a.add(r))}),{contextKeys:Array.from(e).sort(),documentKeys:Array.from(a).sort(),allKeys:Array.from(new Set([...e,...a])).sort()}},ee=e=>{let a=new Set;return K.forEach(n=>{n.metadata?.[e]&&a.add(String(n.metadata[e]))}),Array.from(a).sort()},te=Z(),ae=()=>{S({...s,richTextContent:d},"autosave")},N=(e,a)=>{l(n=>({...n,metadata:{...n.metadata,[e]:a}}))},ne=(e,a)=>{a==="__custom__"?N(e,""):N(e,a)},se=()=>{N("","")},re=e=>{l(a=>{let n={...a.metadata};return delete n[e],{...a,metadata:n}})};return i(H.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.3},className:"h-screen flex flex-col",children:[i("div",{className:"border-b border-border bg-card p-8 pb-6",children:[i("div",{className:"flex items-start justify-between gap-4 mb-4",children:[t("div",{className:"flex items-start gap-4 flex-1 min-w-0",children:i("div",{className:"flex-1 min-w-0",children:[i("div",{className:"flex items-start gap-4 mb-0 leading-tight",children:[t("div",{className:"flex-1 min-w-0",children:t(A,{fieldName:"title",value:s.title,label:"",onSave:(e,a)=>l(n=>({...n,title:a})),className:"[&>div:last-child]:text-2xl [&>div:last-child]:font-bold [&>div:last-child]:leading-tight [&>div:last-child]:text-foreground [&>div:last-child]:p-0 [&>div:last-child]:border-0 [&>div:last-child]:hover:bg-muted/30 [&>div:last-child]:min-h-0"})}),t("span",{className:`inline-flex items-center px-3 py-1 rounded-full text-sm font-medium border ${Y(s.format)} flex-shrink-0 mt-1`,children:s.format.toUpperCase()})]}),t("div",{className:"mt-2",children:t(A,{fieldName:"description",value:s.description||"Click to add description...",label:"",multiline:!0,onSave:(e,a)=>l(n=>({...n,description:a})),className:"[&>div:last-child]:text-muted-foreground [&>div:last-child]:text-lg [&>div:last-child]:leading-relaxed [&>div:last-child]:p-0 [&>div:last-child]:border-0 [&>div:last-child]:hover:bg-muted/30 [&>div:last-child]:min-h-0"})})]})}),i("div",{className:"flex items-center gap-2 flex-shrink-0",children:[i(m,{variant:"ghost",size:"sm",onClick:()=>X(!x),className:"gap-2",children:[t($,{className:"h-4 w-4"}),"Metadata",s.metadata&&Object.keys(s.metadata).length>0&&t("span",{className:"inline-flex items-center justify-center w-5 h-5 text-xs font-medium bg-primary/10 text-primary rounded-full",children:Object.keys(s.metadata).length}),x?t(le,{className:"h-4 w-4"}):t(de,{className:"h-4 w-4"})]}),i(m,{variant:"outline",size:"sm",onClick:U,className:"gap-2",children:[t(J,{className:"h-4 w-4"}),"Close"]}),i(m,{size:"sm",onClick:ae,className:"gap-2",disabled:u,children:[u?t(ue,{className:"h-4 w-4 animate-spin"}):t(oe,{className:"h-4 w-4"}),u?"Auto-saving...":"Save"]})]})]}),t(H.div,{initial:!1,animate:{height:x?"auto":0,opacity:x?1:0},transition:{duration:.2,ease:"easeInOut"},className:"overflow-hidden h-full max-h-full",children:i("div",{className:"pt-4 border-t border-border mt-4 max-h-full flex gap-2",children:[t("div",{className:"flex items-center justify-between mb-3",children:i("h3",{className:"text-sm font-semibold text-foreground flex items-center gap-2",children:[t($,{className:"h-4 w-4"}),"Document Metadata"]})}),i("div",{className:"flex flex-col gap-2",children:[t("div",{className:"bg-muted rounded-lg p-4 border border-border",children:s.metadata&&Object.keys(s.metadata).length>0?t("div",{className:"space-y-2",children:Object.entries(s.metadata).map(([e,a],n)=>{let r=ee(e);return i("div",{className:"flex gap-2 items-center",children:[t(k,{value:e,onChange:o=>{let c=o.target.value||"",g=s.metadata?.[e];l(b=>{let E={...b.metadata};return delete E[e],c&&(E[c]=g||""),{...b,metadata:E}})},placeholder:"Key",className:"w-32 h-8 text-sm",list:`metadata-keys-${e}`}),t("datalist",{id:`metadata-keys-${e}`,children:te.allKeys.map(o=>t("option",{value:o},o))}),t("span",{className:"text-muted-foreground text-sm",children:"="}),r.length>0?i(I,{value:String(a||""),onValueChange:o=>ne(e,o),children:[t(L,{className:"flex-1 h-8 text-sm",children:t(_,{placeholder:"Value"})}),i(O,{children:[r.map(o=>t(M,{value:o,children:o},o)),t(M,{value:"__custom__",children:t("span",{className:"text-muted-foreground text-xs",children:"Custom..."})})]})]}):t(k,{value:String(a||""),onChange:o=>N(e,o.target.value),placeholder:"Value",className:"flex-1 h-8 text-sm"}),t(m,{type:"button",variant:"ghost",size:"sm",onClick:()=>re(e),className:"h-8 w-8 p-0 text-muted-foreground hover:text-destructive",children:t(J,{className:"h-3 w-3"})})]},`metadata-key-${n}`)})}):i("div",{className:"text-center py-4",children:[t("p",{className:"text-sm text-muted-foreground mb-2",children:"No metadata fields"}),t("p",{className:"text-xs text-muted-foreground",children:'Click "Add Field" to create metadata'})]})}),i(m,{type:"button",variant:"outline",size:"sm",onClick:se,className:"gap-1 h-8",children:[t(ie,{className:"h-3 w-3"}),"Add Field"]})]})]})})]}),t("div",{className:"flex-1 overflow-hidden",children:t("div",{className:"p-8 pt-0 h-full max-h-full overflow-auto",children:s.format==="richText"?t(V,{setValue:q,value:d,name:"richTextContent"}):t(z,{value:s.content||"",onChange:e=>l(a=>({...a,content:e.target.value})),placeholder:"Document content...",className:"min-h-[400px] font-mono text-sm",style:{resize:"vertical"}})})})]})}export{De as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as N}from"./chunk-CLMGLIGH.mjs";import{a as x}from"./chunk-GFYO6B7H.mjs";import{a as f,b as y}from"./chunk-QY3UXH77.mjs";import{a as g}from"./chunk-4KVVVRGU.mjs";import{a as n}from"./chunk-3W5SE2HO.mjs";import{a as b}from"./chunk-MQG7MKTK.mjs";import{a as u}from"./chunk-TBKC2B4Z.mjs";import{a as r,b as h,d as v}from"./chunk-DXRAJQMA.mjs";import{a}from"./chunk-HF33ZXKX.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};
4
+ import{a as N}from"./chunk-DZDMH6IZ.mjs";import{a as x}from"./chunk-CTDGP5H4.mjs";import{a as g}from"./chunk-4KVVVRGU.mjs";import{a as f,b as y}from"./chunk-QY3UXH77.mjs";import{a as n}from"./chunk-3W5SE2HO.mjs";import{a as b}from"./chunk-MQG7MKTK.mjs";import{a as r,b as h,d as v}from"./chunk-DXRAJQMA.mjs";import{a as u}from"./chunk-JMJUFHDA.mjs";import{a}from"./chunk-HF33ZXKX.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,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{c as k,h as R,i as v,k as S,l as f,o as x,p as u,q as c,r as y,s as w,v as P,w as B,x as L}from"./chunk-ZFUP5NVF.mjs";import{a as n}from"./chunk-7GSXNSLD.mjs";import{a as g,b as N,c as M}from"./chunk-YNCJATT7.mjs";import{ChevronRight as A}from"lucide-react";import T from"clsx";import{Fragment as H,jsx as e,jsxs as r}from"react/jsx-runtime";function J({mainNav:l,secondaryNav:s,title:o,subTitle:a,pathName:b,menuHeading:i,onNavClick:d,loading:p=!1,LinkComponent:h,...F}){let C=h?t=>e(h,{...t}):d?({href:t,children:m,...I})=>e("button",{onClick:()=>d&&d(t),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...I,children:m}):t=>e("a",{...t});return r(k,{...F,variant:"inset",children:[e(R,{children:e(u,{children:e(c,{children:p?r("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[e(n,{className:"bg-gray-200 my-2 w-full h-7"}),e(n,{className:"bg-gray-200 w-3/4 my-2 h-5"})]}):r("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[e("span",{className:"truncate font-semibold",children:o}),a&&e("span",{className:"truncate text-sm",children:a})]})})})}),p&&r(S,{children:[e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"})]}),r(S,{children:[l&&!p&&l.map((t,m)=>e(G,{subNav:t,pathName:b,Link:C},m)),e(f,{className:"mt-auto",children:e(x,{children:e(u,{children:s&&!p&&s.map(t=>e(c,{children:e(y,{asChild:!0,size:"sm",children:r(C,{href:t.url||"",children:[t.icon&&e(t.icon,{}),e("span",{children:t.label})]})})},t.label))})})})]}),e(v,{})]})}function G({subNav:l,pathName:s,Link:o}){let a=l,b=!1;return a.links&&a.links.map(i=>{i.url===s&&(b=!0)}),e(g,{defaultOpen:!0,className:"group/collapsible",children:e(f,{className:"py-0",children:e(u,{children:e(g,{asChild:!0,defaultOpen:a.isActive,children:r(c,{children:[e(y,{asChild:!0,tooltip:a.label,className:T(b&&"font-bold text-accent"),children:r(o,{href:a.url,children:[a.icon&&e(a.icon,{}),e("span",{children:a.label})]})}),a.links?.length?r(H,{children:[e(N,{asChild:!0,children:r(w,{className:"data-[state=open]:rotate-90",children:[e(A,{}),e("span",{className:"sr-only",children:"Toggle"})]})}),e(M,{children:e(P,{children:a.links?.map(i=>e(B,{children:e(L,{asChild:!0,className:T(i.url===s&&"font-bold text-accent"),children:e(o,{href:i.url,children:e("span",{children:i.label})})})},i.label))})})]}):null]})},a.label)})})})}export{J as a};
4
+ import{c as k,h as R,i as v,k as S,l as f,o as x,p as u,q as c,r as y,s as w,v as P,w as B,x as L}from"./chunk-ZFUP5NVF.mjs";import{a as n}from"./chunk-7GSXNSLD.mjs";import{a as g,b as N,c as M}from"./chunk-YNCJATT7.mjs";import{ChevronRight as A}from"lucide-react";import T from"clsx";import{Fragment as H,jsx as e,jsxs as r}from"react/jsx-runtime";function J({mainNav:l,secondaryNav:s,title:o,subTitle:a,pathName:b,menuHeading:i,onNavClick:d,loading:p=!1,LinkComponent:h,...F}){let C=h?t=>e(h,{...t}):d?({href:t,children:m,...I})=>e("button",{onClick:()=>d&&d(t),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...I,children:m}):t=>e("a",{...t});return r(k,{...F,variant:"inset",children:[e(R,{children:e(u,{children:e(c,{children:p?r("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[e(n,{className:"bg-gray-200 my-2 w-full h-7"}),e(n,{className:"bg-gray-200 w-3/4 my-2 h-5"})]}):r("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[e("span",{className:"truncate font-semibold",children:o}),a&&e("span",{className:"truncate text-sm",children:a})]})})})}),p&&r(S,{children:[e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"})]}),r(S,{children:[l&&!p&&l.map((t,m)=>e(G,{subNav:t,pathName:b,Link:C},m)),e(f,{className:"",children:e(x,{children:e(u,{children:s&&!p&&s.map(t=>e(c,{children:e(y,{asChild:!0,size:"sm",children:r(C,{href:t.url||"",children:[t.icon&&e(t.icon,{}),e("span",{children:t.label})]})})},t.label))})})})]}),e(v,{})]})}function G({subNav:l,pathName:s,Link:o}){let a=l,b=!1;return a.links&&a.links.map(i=>{i.url===s&&(b=!0)}),e(g,{defaultOpen:!0,className:"group/collapsible",children:e(f,{className:"py-0",children:e(u,{children:e(g,{asChild:!0,defaultOpen:a.isActive,children:r(c,{children:[e(y,{asChild:!0,tooltip:a.label,className:T(b&&"font-bold text-accent"),children:r(o,{href:a.url,children:[a.icon&&e(a.icon,{}),e("span",{children:a.label})]})}),a.links?.length?r(H,{children:[e(N,{asChild:!0,children:r(w,{className:"data-[state=open]:rotate-90",children:[e(A,{}),e("span",{className:"sr-only",children:"Toggle"})]})}),e(M,{children:e(P,{children:a.links?.map(i=>e(B,{children:e(L,{asChild:!0,className:T(i.url===s&&"font-bold text-accent"),children:e(o,{href:i.url,children:e("span",{children:i.label})})})},i.label))})})]}):null]})},a.label)})})})}export{J as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as p}from"./chunk-CDVRH3MC.mjs";import{a as d}from"./chunk-MQG7MKTK.mjs";import{a as m}from"./chunk-HF33ZXKX.mjs";import{a as i,f as n,g as s,i as l,j as c}from"./chunk-3UMMMQEH.mjs";import{useState as u}from"react";import{motion as N,AnimatePresence as D}from"motion/react";import{jsx as e,jsxs as o}from"react/jsx-runtime";function C({projects:g=[],onAddProject:j,handleProjectOpen:P,handleProjectShare:y}){let[f,t]=u(!1),[b,r]=u(!1),v=async a=>{r(!0);try{await j(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(D,{mode:"wait",children:o(N.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:"Organize 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:g.map(a=>e(d,{project:a,onOpen:P,onShare:y},a.id))})]})]},"projects-index-view")}),e(i,{open:f,onOpenChange:t,children:o(n,{className:"max-w-3xl max-h-[90vh] overflow-y-auto",children:[o(s,{className:"sr-only",children:[e(l,{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};
4
+ import{a as d}from"./chunk-MQG7MKTK.mjs";import{a as p}from"./chunk-CDVRH3MC.mjs";import{a as m}from"./chunk-HF33ZXKX.mjs";import{a as i,f as n,g as s,i as l,j as c}from"./chunk-3UMMMQEH.mjs";import{useState as u}from"react";import{motion as N,AnimatePresence as D}from"motion/react";import{jsx as e,jsxs as o}from"react/jsx-runtime";function C({projects:g=[],onAddProject:j,handleProjectOpen:P,handleProjectShare:y}){let[f,t]=u(!1),[b,r]=u(!1),v=async a=>{r(!0);try{await j(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(D,{mode:"wait",children:o(N.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:"Organize 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:g.map(a=>e(d,{project:a,onOpen:P,onShare:y},a.id))})]})]},"projects-index-view")}),e(i,{open:f,onOpenChange:t,children:o(n,{className:"max-w-3xl max-h-[90vh] overflow-y-auto",children:[o(s,{className:"sr-only",children:[e(l,{children:"Create New Project"}),e(c,{children:"Fill out the form below to create a new project."})]}),e(p,{onSubmit:v,onCancel:()=>t(!1),isLoading:b,className:"border-0 shadow-none"})]})})]})}export{C as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as C}from"./chunk-FOO5RONL.mjs";import{a as D}from"./chunk-ZKTIH47I.mjs";import{a as w,c as y,e as k}from"./chunk-3UMMMQEH.mjs";import{b as f}from"./chunk-ZUA4KNIR.mjs";import{a as N}from"./chunk-MDJREBVI.mjs";import{motion as R}from"motion/react";import{File as T,FileText as K,Edit3 as A,Type as G,ChevronDown as L,ChevronRight as Z,Info as P,Loader2 as H}from"lucide-react";import{startTransition as M,useEffect as Q,useMemo as V,useRef as W,useState as c}from"react";import*as E from"@radix-ui/react-dialog";import Y from"react-markdown";import _ from"remark-gfm";import{Fragment as ae,jsx as e,jsxs as o}from"react/jsx-runtime";var S=s=>e(Y,{remarkPlugins:[_],components:{h1:({children:t})=>e("h1",{className:"text-2xl font-bold",children:t}),h2:({children:t})=>e("h2",{className:"text-xl font-bold",children:t}),h3:({children:t})=>e("h3",{className:"text-lg font-bold",children:t}),h4:({children:t})=>e("h4",{className:"text-base font-bold",children:t}),ol:({children:t})=>e("ol",{className:"list-decimal",children:t}),ul:({children:t})=>e("ul",{className:"list-disc",children:t}),li:({children:t})=>e("li",{className:"ml-4",children:t}),p:({children:t})=>e("p",{className:"mb-4",children:t}),a:({children:t,href:i})=>e("a",{href:i,className:"text-blue-500",children:t}),img:({src:t,alt:i})=>e("img",{src:t,alt:i,className:"mb-4"}),blockquote:({children:t})=>e("blockquote",{className:"border-l-4 border-gray-300 pl-4 mb-4",children:t})},children:s}),O=s=>e("div",{className:"whitespace-pre-wrap font-mono text-sm leading-relaxed",children:s}),ee=s=>e("div",{className:"prose prose-slate dark:prose-invert max-w-none",children:s&&e(D,{value:JSON.stringify(s),editable:!1,name:"richTextContent"},JSON.stringify(s))}),te=s=>o("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:o("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."]})}),S(s)]});function pe({document:s,onDocumentUpdate:t,editable:i=!0,mode:g="view",renderers:j,availableDocuments:I=[],knowledgeContexts:B=[]}){let[$,x]=c(!1),[d,q]=c(!1),[a,m]=c(s),[z,p]=c(!1),u=W(null),b=a.format==="richText"?a.richTextContent:a.content,F=V(()=>`${a.format}:${JSON.stringify(b)}`,[a.format,b]);Q(()=>{m(s)},[s]);let re=r=>{switch(r){case"markdown":case"mdx":return e(K,{className:"h-6 w-6 text-primary"});case"richText":return e(T,{className:"h-6 w-6 text-success"});case"text":return e(G,{className:"h-6 w-6 text-muted-foreground"});default:return e(T,{className:"h-6 w-6 text-muted-foreground"})}},J=r=>{switch(r){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"}},X=(r,n)=>{let l={markdown:S,mdx:te,text:O},h=j?.[n]||l[n];if(n==="richText"&&typeof r=="object")return ee(r);if(h&&typeof r=="string")return h(r);if(typeof r=="string")return O(r)},U=async(r,n="save")=>{n==="save"&&p(!0),u.current=a,M(()=>{m({...r,richTextContent:r.richTextContent?structuredClone(r.richTextContent):void 0})});try{let l=await t?.(r);if(n==="save"&&p(!1),!l)throw new Error("save failed")}catch{u.current&&M(()=>m(u.current))}},v=()=>{x(!1)};return o(ae,{children:[e(w,{open:$||g==="create",onOpenChange:r=>!r&&v(),children:o(y,{children:[e(k,{}),o(E.Content,{className:N("fixed inset-0 z-50 bg-background p-0 m-0 border-0","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0"),children:[z&&e("div",{className:"absolute inset-0 bg-background/50 flex items-center justify-center",children:e(H,{className:"h-8 w-8 animate-spin text-primary"})}),e(C,{mode:g==="create"?"create":"edit",document:a,onSave:U,onCancel:v,availableDocuments:I,knowledgeContexts:B})]})]})}),o(R.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.3},className:"h-full flex flex-col",children:[o("div",{className:"border-b border-border bg-card p-8 pb-6",children:[o("div",{className:"flex items-start justify-between gap-4",children:[e("div",{className:"flex items-start gap-4 flex-1 min-w-0",children:o("div",{className:"flex-1 min-w-0",children:[o("h1",{className:"text-2xl font-bold text-foreground mb-2 leading-tight",children:[a.title,e("span",{className:`inline-flex ml-4 items-center px-3 py-1 rounded-full text-sm font-medium border ${J(a.format)}`,children:a.format.toUpperCase()})]}),a.description&&e("p",{className:"text-muted-foreground text-lg leading-relaxed",children:a.description})]})}),o("div",{className:"items-center gap-2 flex-shrink-0 hidden lg:flex",children:[a.metadata&&Object.keys(a.metadata).length>0&&o(f,{variant:"ghost",size:"sm",onClick:()=>q(!d),className:"gap-2",children:[e(P,{className:"h-4 w-4"}),"Metadata",d?e(L,{className:"h-4 w-4"}):e(Z,{className:"h-4 w-4"})]}),i&&o(f,{variant:"outline",size:"sm",onClick:()=>x(!0),className:"gap-2",children:[e(A,{className:"h-4 w-4"}),"Edit"]})]})]}),a.metadata&&Object.keys(a.metadata).length>0&&e(R.div,{initial:!1,animate:{height:d?"auto":0,opacity:d?1:0},transition:{duration:.2,ease:"easeInOut"},className:"overflow-hidden",children:o("div",{className:"pt-4 border-t border-border mt-4",children:[o("h3",{className:"text-sm font-semibold text-foreground mb-3 flex items-center gap-2",children:[e(P,{className:"h-4 w-4"}),"Document Metadata"]}),e("div",{className:"bg-muted rounded-lg p-4 border border-border",children:e("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-x-6 gap-y-2 text-sm",children:Object.entries(a.metadata).map(([r,n])=>o("div",{className:"flex flex-col gap-1",children:[e("span",{className:"text-muted-foreground font-medium text-xs uppercase tracking-wide",children:r.replace(/([A-Z])/g," $1").trim()}),e("span",{className:"text-foreground font-medium",children:String(n)})]},r))})})]})})]}),e("div",{className:"flex-1 ",children:e("div",{className:"py-4 h-full",children:e("div",{className:"space-y-4",children:a.content||a.richTextContent?e("div",{className:"relative",children:e("div",{className:"bg-background px-8 overflow-hidden h-full flex-1",children:X(a.format==="richText"?a.richTextContent:a.content,a.format)})},F):o("div",{className:"text-center p-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(K,{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{pe as a};
4
+ import{a as C}from"./chunk-OK7X567A.mjs";import{a as D}from"./chunk-4745QCXP.mjs";import{a as w,c as y,e as k}from"./chunk-3UMMMQEH.mjs";import{b as f}from"./chunk-ZUA4KNIR.mjs";import{a as N}from"./chunk-MDJREBVI.mjs";import{motion as R}from"motion/react";import{File as T,FileText as K,Edit3 as A,Type as G,ChevronDown as L,ChevronRight as Z,Info as P,Loader2 as H}from"lucide-react";import{startTransition as M,useEffect as Q,useMemo as V,useRef as W,useState as c}from"react";import*as E from"@radix-ui/react-dialog";import Y from"react-markdown";import _ from"remark-gfm";import{Fragment as ae,jsx as e,jsxs as o}from"react/jsx-runtime";var S=s=>e(Y,{remarkPlugins:[_],components:{h1:({children:t})=>e("h1",{className:"text-2xl font-bold",children:t}),h2:({children:t})=>e("h2",{className:"text-xl font-bold",children:t}),h3:({children:t})=>e("h3",{className:"text-lg font-bold",children:t}),h4:({children:t})=>e("h4",{className:"text-base font-bold",children:t}),ol:({children:t})=>e("ol",{className:"list-decimal",children:t}),ul:({children:t})=>e("ul",{className:"list-disc",children:t}),li:({children:t})=>e("li",{className:"ml-4",children:t}),p:({children:t})=>e("p",{className:"mb-4",children:t}),a:({children:t,href:i})=>e("a",{href:i,className:"text-blue-500",children:t}),img:({src:t,alt:i})=>e("img",{src:t,alt:i,className:"mb-4"}),blockquote:({children:t})=>e("blockquote",{className:"border-l-4 border-gray-300 pl-4 mb-4",children:t})},children:s}),O=s=>e("div",{className:"whitespace-pre-wrap font-mono text-sm leading-relaxed",children:s}),ee=s=>e("div",{className:"prose prose-slate dark:prose-invert max-w-none",children:s&&e(D,{value:JSON.stringify(s),editable:!1,name:"richTextContent"},JSON.stringify(s))}),te=s=>o("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:o("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."]})}),S(s)]});function pe({document:s,onDocumentUpdate:t,editable:i=!0,mode:g="view",renderers:j,availableDocuments:I=[],knowledgeContexts:B=[]}){let[$,x]=c(!1),[d,q]=c(!1),[a,m]=c(s),[z,p]=c(!1),u=W(null),b=a.format==="richText"?a.richTextContent:a.content,F=V(()=>`${a.format}:${JSON.stringify(b)}`,[a.format,b]);Q(()=>{m(s)},[s]);let re=r=>{switch(r){case"markdown":case"mdx":return e(K,{className:"h-6 w-6 text-primary"});case"richText":return e(T,{className:"h-6 w-6 text-success"});case"text":return e(G,{className:"h-6 w-6 text-muted-foreground"});default:return e(T,{className:"h-6 w-6 text-muted-foreground"})}},J=r=>{switch(r){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"}},X=(r,n)=>{let l={markdown:S,mdx:te,text:O},h=j?.[n]||l[n];if(n==="richText"&&typeof r=="object")return ee(r);if(h&&typeof r=="string")return h(r);if(typeof r=="string")return O(r)},U=async(r,n="save")=>{n==="save"&&p(!0),u.current=a,M(()=>{m({...r,richTextContent:r.richTextContent?structuredClone(r.richTextContent):void 0})});try{let l=await t?.(r);if(n==="save"&&p(!1),!l)throw new Error("save failed")}catch{u.current&&M(()=>m(u.current))}},v=()=>{x(!1)};return o(ae,{children:[e(w,{open:$||g==="create",onOpenChange:r=>!r&&v(),children:o(y,{children:[e(k,{}),o(E.Content,{className:N("fixed inset-0 z-50 bg-background p-0 m-0 border-0","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0"),children:[z&&e("div",{className:"absolute inset-0 bg-background/50 flex items-center justify-center",children:e(H,{className:"h-8 w-8 animate-spin text-primary"})}),e(C,{mode:g==="create"?"create":"edit",document:a,onSave:U,onCancel:v,availableDocuments:I,knowledgeContexts:B})]})]})}),o(R.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.3},className:"h-full flex flex-col",children:[o("div",{className:"border-b border-border bg-card p-8 pb-6",children:[o("div",{className:"flex items-start justify-between gap-4",children:[e("div",{className:"flex items-start gap-4 flex-1 min-w-0",children:o("div",{className:"flex-1 min-w-0",children:[o("h1",{className:"text-2xl font-bold text-foreground mb-2 leading-tight",children:[a.title,e("span",{className:`inline-flex ml-4 items-center px-3 py-1 rounded-full text-sm font-medium border ${J(a.format)}`,children:a.format.toUpperCase()})]}),a.description&&e("p",{className:"text-muted-foreground text-lg leading-relaxed",children:a.description})]})}),o("div",{className:"items-center gap-2 flex-shrink-0 hidden lg:flex",children:[a.metadata&&Object.keys(a.metadata).length>0&&o(f,{variant:"ghost",size:"sm",onClick:()=>q(!d),className:"gap-2",children:[e(P,{className:"h-4 w-4"}),"Metadata",d?e(L,{className:"h-4 w-4"}):e(Z,{className:"h-4 w-4"})]}),i&&o(f,{variant:"outline",size:"sm",onClick:()=>x(!0),className:"gap-2",children:[e(A,{className:"h-4 w-4"}),"Edit"]})]})]}),a.metadata&&Object.keys(a.metadata).length>0&&e(R.div,{initial:!1,animate:{height:d?"auto":0,opacity:d?1:0},transition:{duration:.2,ease:"easeInOut"},className:"overflow-hidden",children:o("div",{className:"pt-4 border-t border-border mt-4",children:[o("h3",{className:"text-sm font-semibold text-foreground mb-3 flex items-center gap-2",children:[e(P,{className:"h-4 w-4"}),"Document Metadata"]}),e("div",{className:"bg-muted rounded-lg p-4 border border-border",children:e("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-x-6 gap-y-2 text-sm",children:Object.entries(a.metadata).map(([r,n])=>o("div",{className:"flex flex-col gap-1",children:[e("span",{className:"text-muted-foreground font-medium text-xs uppercase tracking-wide",children:r.replace(/([A-Z])/g," $1").trim()}),e("span",{className:"text-foreground font-medium",children:String(n)})]},r))})})]})})]}),e("div",{className:"flex-1 ",children:e("div",{className:"py-4 h-full",children:e("div",{className:"space-y-4",children:a.content||a.richTextContent?e("div",{className:"relative",children:e("div",{className:"bg-background px-8 overflow-hidden h-full flex-1",children:X(a.format==="richText"?a.richTextContent:a.content,a.format)})},F):o("div",{className:"text-center p-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(K,{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{pe as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as S}from"./chunk-5NIEZE7A.mjs";import{a as p}from"./chunk-ZW24FGHA.mjs";import{a as d,b as o,c as a,d as m,e as t,f as l}from"./chunk-76M7JE4D.mjs";import{a as u}from"./chunk-OYZDAMCS.mjs";import{b as n,d as b,f as c}from"./chunk-ZFUP5NVF.mjs";import{a as s}from"./chunk-4UIARERB.mjs";import{a as g}from"./chunk-WU3JMLSC.mjs";import{a as f}from"./chunk-BZAYEKYC.mjs";import{jsx as e,jsxs as r}from"react/jsx-runtime";function h({...i}){return r("div",{className:"bg-sidebar",children:[e(p,{isMenuOpen:!0,logoLight:f,logoDark:g,...i.header,className:"bg-sidebar",wide:!0}),r(n,{className:"top-24 mb-4 h-full max-h-[calc(100vh-3.5rem)] flex-1 flex-row overflow-y-clip",children:[e(S,{...i.sidebarLeft,className:"flex-none top-24"}),r(c,{className:"grow overflow-hidden",children:[e("header",{className:"flex h-16 shrink-0 items-center gap-2",children:r("div",{className:"flex items-center gap-2 px-4",children:[e(b,{className:"-ml-1"}),e(s,{orientation:"vertical",className:"mr-2 h-4"}),e(d,{children:r(o,{children:[e(a,{className:"hidden md:block",children:e(m,{href:"#",children:"Building Your Application"})}),e(l,{className:"hidden md:block"}),e(a,{children:e(t,{children:"Data Fetching"})})]})})]})}),r("div",{className:"flex flex-1 flex-col gap-4 p-4 pt-0",children:[r("div",{className:"grid auto-rows-min gap-4 md:grid-cols-3",children:[e("div",{className:"aspect-video rounded-xl bg-muted/50"}),e("div",{className:"aspect-video rounded-xl bg-muted/50"}),e("div",{className:"aspect-video rounded-xl bg-muted/50"})]}),e("div",{className:"flex-1 rounded-xl bg-muted/50 md:min-h-min"})]})]})]}),e(u,{})]})}export{h as a};
4
+ import{a as S}from"./chunk-5NIEZE7A.mjs";import{a as p}from"./chunk-HDLKX5L3.mjs";import{a as d,b as o,c as a,d as m,e as t,f as l}from"./chunk-76M7JE4D.mjs";import{a as u}from"./chunk-OYZDAMCS.mjs";import{b as n,d as b,f as c}from"./chunk-ZFUP5NVF.mjs";import{a as s}from"./chunk-4UIARERB.mjs";import{a as g}from"./chunk-WU3JMLSC.mjs";import{a as f}from"./chunk-BZAYEKYC.mjs";import{jsx as e,jsxs as r}from"react/jsx-runtime";function h({...i}){return r("div",{className:"bg-sidebar",children:[e(p,{isMenuOpen:!0,logoLight:f,logoDark:g,...i.header,className:"bg-sidebar",wide:!0}),r(n,{className:"top-24 mb-4 h-full max-h-[calc(100vh-3.5rem)] flex-1 flex-row overflow-y-clip",children:[e(S,{...i.sidebarLeft,className:"flex-none top-24"}),r(c,{className:"grow overflow-hidden",children:[e("header",{className:"flex h-16 shrink-0 items-center gap-2",children:r("div",{className:"flex items-center gap-2 px-4",children:[e(b,{className:"-ml-1"}),e(s,{orientation:"vertical",className:"mr-2 h-4"}),e(d,{children:r(o,{children:[e(a,{className:"hidden md:block",children:e(m,{href:"#",children:"Building Your Application"})}),e(l,{className:"hidden md:block"}),e(a,{children:e(t,{children:"Data Fetching"})})]})})]})}),r("div",{className:"flex flex-1 flex-col gap-4 p-4 pt-0",children:[r("div",{className:"grid auto-rows-min gap-4 md:grid-cols-3",children:[e("div",{className:"aspect-video rounded-xl bg-muted/50"}),e("div",{className:"aspect-video rounded-xl bg-muted/50"}),e("div",{className:"aspect-video rounded-xl bg-muted/50"})]}),e("div",{className:"flex-1 rounded-xl bg-muted/50 md:min-h-min"})]})]})]}),e(u,{})]})}export{h as a};
@@ -1 +1 @@
1
- import{a as P}from"./chunk-UW65QW5M.mjs";import{a as I}from"./chunk-TBKC2B4Z.mjs";import{a as M}from"./chunk-DCOFQFVJ.mjs";import{a as C}from"./chunk-S7SHOCHM.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
+ import{a as P}from"./chunk-UW65QW5M.mjs";import{a as I}from"./chunk-JMJUFHDA.mjs";import{a as M}from"./chunk-DCOFQFVJ.mjs";import{a as C}from"./chunk-S7SHOCHM.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,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as $}from"./chunk-LPCO4T25.mjs";import{a as O}from"./chunk-FT3AE7L2.mjs";import{a as H}from"./chunk-L5JPAKPM.mjs";import{motion as v}from"motion/react";import{ChevronRight as A,File as M,FileText as K,Search as Q}from"lucide-react";import{useState as N,useMemo as P,useEffect as T}from"react";import{Fragment as E,jsx as e,jsxs as r}from"react/jsx-runtime";function j({label:x,documents:a,children:l,level:p,onDocumentClick:w,selectedDocumentId:f,showDocumentCount:y=!0}){let[c,i]=N(p===0),D=l&&Object.keys(l).length>0,u=a.length+(l?Object.values(l).reduce((t,n)=>t+n.documents.length,0):0),b=t=>{switch(t){case"markdown":case"mdx":return e(K,{className:"h-3.5 w-3.5 text-muted-foreground"});case"richText":return e(M,{className:"h-3.5 w-3.5 text-muted-foreground"});default:return e(M,{className:"h-3.5 w-3.5 text-muted-foreground"})}},g=t=>{let n=["bg-primary","bg-secondary","bg-accent","bg-chart-1"];return n[t%n.length]};return r("div",{className:"space-y-1",children:[(D||a.length>0)&&r(v.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:`${p*20}px`},onClick:()=>i(!c),whileHover:{scale:1.01},whileTap:{scale:.99},children:[e("div",{className:`w-1 h-6 rounded-full ${g(p)}`}),e(v.div,{animate:{rotate:c?90:0},transition:{duration:.2},className:"flex-shrink-0",children:e(A,{className:"h-4 w-4 text-muted-foreground"})}),r("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:x})}),y&&u>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:u})})]})]}),e(v.div,{initial:!1,animate:{height:c?"auto":0,opacity:c?1:0},transition:{duration:.2,ease:"easeInOut"},className:"overflow-hidden",children:r("div",{className:"pt-2 space-y-1",children:[a.map((t,n)=>r(v.div,{initial:{opacity:0,x:-10},animate:{opacity:1,x:0},transition:{delay:n*.05,duration:.2},className:`group flex items-center gap-3 p-2.5 mx-2 rounded-lg cursor-pointer transition-all duration-150 ${f===t.id?"bg-primary/10 border-l-2 border-primary shadow-sm":"hover:bg-muted/50 hover:translate-x-1"}`,style:{marginLeft:`${p*20+20}px`},onClick:()=>w?.(t),whileHover:{scale:1.01},whileTap:{scale:.99},children:[e("div",{className:"flex-shrink-0",children:b(t.format)}),r("div",{className:"flex-1 min-w-0",children:[e("p",{className:`text-sm truncate transition-colors ${f===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)),l&&Object.entries(l).map(([t,n])=>e(j,{label:t,documents:n.documents,children:n.children,level:p+1,onDocumentClick:w,selectedDocumentId:f,showDocumentCount:y},t))]})})]})}function Z({documents:x,menuConfig:a,onDocumentClick:l,onDocumentShare:p,onDocumentUpdate:w,selectedDocumentId:f,className:y,editable:c=!0}){let[i,D]=N(""),[u,b]=N(null),[g,t]=N(x);T(()=>{t(x)},[x]),T(()=>{if(u?.id){let o=g.find(s=>s.id===u.id);o&&b(o)}},[g]);let n=P(()=>i?g.filter(o=>o.title.toLowerCase().includes(i.toLowerCase())||o.description?.toLowerCase().includes(i.toLowerCase())||o.tags?.some(s=>s.toLowerCase().includes(i.toLowerCase()))||Object.values(o.metadata||{}).some(s=>String(s).toLowerCase().includes(i.toLowerCase()))):g,[g,i]),S=P(()=>{let o=(s,L)=>{if(L.length===0)return{};let[F,...B]=L;return s.reduce((d,C)=>{let U=C.metadata?.[F]||"Uncategorized",m=String(U);if(d[m]||(d[m]={documents:[],children:{}}),B.length===0)d[m].documents.push(C);else{let k=o([C],B),h=Object.keys(k)[0];h&&(d[m].children||(d[m].children={}),d[m].children[h]?d[m].children[h].documents.push(...k[h].documents):d[m].children[h]=k[h])}return d},{})};return o(n,a.groupBy)},[n,a.groupBy]),I=o=>{b(o),l?.(o)};return r("div",{className:`flex h-full ${y||""}`,children:[r("div",{className:"w-1/3 border-r border-border bg-muted/20",children:[e("div",{className:"p-6 border-b border-border",children:r("div",{className:"relative",children:[e("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:e(Q,{className:"h-4 w-4 text-muted-foreground"})}),e(H,{placeholder:"Search knowledge base...",value:i,onChange:o=>D(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(O,{className:"h-[calc(100%-100px)]",children:e("div",{className:"p-4 space-y-3",children:a.groupBy.length===0?e(E,{children:e(j,{label:"Document",documents:n,level:0,onDocumentClick:I,selectedDocumentId:f,showDocumentCount:a.showDocumentCount},"Document")}):r(E,{children:[Object.entries(S).map(([o,s])=>e(j,{label:o,documents:s.documents,children:s.children,level:0,onDocumentClick:I,selectedDocumentId:f,showDocumentCount:a.showDocumentCount},o)),Object.keys(S).length===0&&r(v.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 overflow-scroll",children:u?e($,{document:u,onDocumentUpdate:w,editable:c}):e("div",{className:"h-full flex items-center justify-center text-center",children:r(v.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{Z as a};
4
+ import{a as $}from"./chunk-RK5JHVD4.mjs";import{a as O}from"./chunk-FT3AE7L2.mjs";import{a as H}from"./chunk-L5JPAKPM.mjs";import{motion as v}from"motion/react";import{ChevronRight as A,File as M,FileText as K,Search as Q}from"lucide-react";import{useState as N,useMemo as P,useEffect as T}from"react";import{Fragment as E,jsx as e,jsxs as r}from"react/jsx-runtime";function j({label:x,documents:a,children:l,level:p,onDocumentClick:w,selectedDocumentId:f,showDocumentCount:y=!0}){let[c,i]=N(p===0),D=l&&Object.keys(l).length>0,u=a.length+(l?Object.values(l).reduce((t,n)=>t+n.documents.length,0):0),b=t=>{switch(t){case"markdown":case"mdx":return e(K,{className:"h-3.5 w-3.5 text-muted-foreground"});case"richText":return e(M,{className:"h-3.5 w-3.5 text-muted-foreground"});default:return e(M,{className:"h-3.5 w-3.5 text-muted-foreground"})}},g=t=>{let n=["bg-primary","bg-secondary","bg-accent","bg-chart-1"];return n[t%n.length]};return r("div",{className:"space-y-1",children:[(D||a.length>0)&&r(v.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:`${p*20}px`},onClick:()=>i(!c),whileHover:{scale:1.01},whileTap:{scale:.99},children:[e("div",{className:`w-1 h-6 rounded-full ${g(p)}`}),e(v.div,{animate:{rotate:c?90:0},transition:{duration:.2},className:"flex-shrink-0",children:e(A,{className:"h-4 w-4 text-muted-foreground"})}),r("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:x})}),y&&u>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:u})})]})]}),e(v.div,{initial:!1,animate:{height:c?"auto":0,opacity:c?1:0},transition:{duration:.2,ease:"easeInOut"},className:"overflow-hidden",children:r("div",{className:"pt-2 space-y-1",children:[a.map((t,n)=>r(v.div,{initial:{opacity:0,x:-10},animate:{opacity:1,x:0},transition:{delay:n*.05,duration:.2},className:`group flex items-center gap-3 p-2.5 mx-2 rounded-lg cursor-pointer transition-all duration-150 ${f===t.id?"bg-primary/10 border-l-2 border-primary shadow-sm":"hover:bg-muted/50 hover:translate-x-1"}`,style:{marginLeft:`${p*20+20}px`},onClick:()=>w?.(t),whileHover:{scale:1.01},whileTap:{scale:.99},children:[e("div",{className:"flex-shrink-0",children:b(t.format)}),r("div",{className:"flex-1 min-w-0",children:[e("p",{className:`text-sm truncate transition-colors ${f===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)),l&&Object.entries(l).map(([t,n])=>e(j,{label:t,documents:n.documents,children:n.children,level:p+1,onDocumentClick:w,selectedDocumentId:f,showDocumentCount:y},t))]})})]})}function Z({documents:x,menuConfig:a,onDocumentClick:l,onDocumentShare:p,onDocumentUpdate:w,selectedDocumentId:f,className:y,editable:c=!0}){let[i,D]=N(""),[u,b]=N(null),[g,t]=N(x);T(()=>{t(x)},[x]),T(()=>{if(u?.id){let o=g.find(s=>s.id===u.id);o&&b(o)}},[g]);let n=P(()=>i?g.filter(o=>o.title.toLowerCase().includes(i.toLowerCase())||o.description?.toLowerCase().includes(i.toLowerCase())||o.tags?.some(s=>s.toLowerCase().includes(i.toLowerCase()))||Object.values(o.metadata||{}).some(s=>String(s).toLowerCase().includes(i.toLowerCase()))):g,[g,i]),S=P(()=>{let o=(s,L)=>{if(L.length===0)return{};let[F,...B]=L;return s.reduce((d,C)=>{let U=C.metadata?.[F]||"Uncategorized",m=String(U);if(d[m]||(d[m]={documents:[],children:{}}),B.length===0)d[m].documents.push(C);else{let k=o([C],B),h=Object.keys(k)[0];h&&(d[m].children||(d[m].children={}),d[m].children[h]?d[m].children[h].documents.push(...k[h].documents):d[m].children[h]=k[h])}return d},{})};return o(n,a.groupBy)},[n,a.groupBy]),I=o=>{b(o),l?.(o)};return r("div",{className:`flex h-full ${y||""}`,children:[r("div",{className:"w-1/3 border-r border-border bg-muted/20",children:[e("div",{className:"p-6 border-b border-border",children:r("div",{className:"relative",children:[e("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:e(Q,{className:"h-4 w-4 text-muted-foreground"})}),e(H,{placeholder:"Search knowledge base...",value:i,onChange:o=>D(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(O,{className:"h-[calc(100%-100px)]",children:e("div",{className:"p-4 space-y-3",children:a.groupBy.length===0?e(E,{children:e(j,{label:"Document",documents:n,level:0,onDocumentClick:I,selectedDocumentId:f,showDocumentCount:a.showDocumentCount},"Document")}):r(E,{children:[Object.entries(S).map(([o,s])=>e(j,{label:o,documents:s.documents,children:s.children,level:0,onDocumentClick:I,selectedDocumentId:f,showDocumentCount:a.showDocumentCount},o)),Object.keys(S).length===0&&r(v.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 overflow-scroll",children:u?e($,{document:u,onDocumentUpdate:w,editable:c}):e("div",{className:"h-full flex items-center justify-center text-center",children:r(v.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{Z as a};
@@ -1 +1 @@
1
- import{a}from"../../chunk-JGKLAY6J.mjs";import"../../chunk-TIAA3ZN3.mjs";import"../../chunk-LL7CRB4U.mjs";import"../../chunk-SH5SK6V2.mjs";import"../../chunk-6OCLRAHU.mjs";import"../../chunk-5Y6FKL5W.mjs";import"../../chunk-4DESBE4R.mjs";import"../../chunk-QM5FOQHG.mjs";import"../../chunk-JQL4XGAF.mjs";import"../../chunk-G3BOVXUM.mjs";import"../../chunk-EW6KWAHS.mjs";import"../../chunk-IUVPH5LV.mjs";import"../../chunk-YRDJBAYA.mjs";import"../../chunk-MTA6RFZ7.mjs";import"../../chunk-6OT5PQXV.mjs";import"../../chunk-YPZAYXNQ.mjs";import"../../chunk-RL6365DN.mjs";import"../../chunk-LTTO57ZK.mjs";import"../../chunk-Q2DPE66H.mjs";import"../../chunk-4QRKVSTE.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-YNCJATT7.mjs";import"../../chunk-L5JPAKPM.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-QTW33JYG.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as ChatInterface};
1
+ import{a}from"../../chunk-DP6Q6ZTN.mjs";import"../../chunk-TIAA3ZN3.mjs";import"../../chunk-KZXYV2BA.mjs";import"../../chunk-MTA6RFZ7.mjs";import"../../chunk-SH5SK6V2.mjs";import"../../chunk-6OCLRAHU.mjs";import"../../chunk-5Y6FKL5W.mjs";import"../../chunk-4DESBE4R.mjs";import"../../chunk-QM5FOQHG.mjs";import"../../chunk-JQL4XGAF.mjs";import"../../chunk-G3BOVXUM.mjs";import"../../chunk-EW6KWAHS.mjs";import"../../chunk-IUVPH5LV.mjs";import"../../chunk-YRDJBAYA.mjs";import"../../chunk-6OT5PQXV.mjs";import"../../chunk-YPZAYXNQ.mjs";import"../../chunk-RL6365DN.mjs";import"../../chunk-LTTO57ZK.mjs";import"../../chunk-Q2DPE66H.mjs";import"../../chunk-4QRKVSTE.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-YNCJATT7.mjs";import"../../chunk-L5JPAKPM.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-QTW33JYG.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as ChatInterface};
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";import{a}from"../../chunk-5G7LCLOY.mjs";import"../../chunk-XTUH2DJE.mjs";import"../../chunk-Q35D7SUU.mjs";import"../../chunk-JGKLAY6J.mjs";import"../../chunk-TIAA3ZN3.mjs";import"../../chunk-LL7CRB4U.mjs";import"../../chunk-SH5SK6V2.mjs";import"../../chunk-6OCLRAHU.mjs";import"../../chunk-5Y6FKL5W.mjs";import"../../chunk-4DESBE4R.mjs";import"../../chunk-QM5FOQHG.mjs";import"../../chunk-JQL4XGAF.mjs";import"../../chunk-G3BOVXUM.mjs";import"../../chunk-EW6KWAHS.mjs";import"../../chunk-IUVPH5LV.mjs";import"../../chunk-YRDJBAYA.mjs";import"../../chunk-MTA6RFZ7.mjs";import"../../chunk-6OT5PQXV.mjs";import"../../chunk-YPZAYXNQ.mjs";import"../../chunk-RL6365DN.mjs";import"../../chunk-LTTO57ZK.mjs";import"../../chunk-KOLP657S.mjs";import"../../chunk-NPVUICIF.mjs";import"../../chunk-S3OBSLA5.mjs";import"../../chunk-GLZEHRPY.mjs";import"../../chunk-WPH2ALD6.mjs";import"../../chunk-AZKOVKSK.mjs";import"../../chunk-Q2DPE66H.mjs";import"../../chunk-4QRKVSTE.mjs";import"../../chunk-INCYANPB.mjs";import"../../chunk-RLVKIMGU.mjs";import"../../chunk-OCPX4QPC.mjs";import"../../chunk-FT3AE7L2.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-YNCJATT7.mjs";import"../../chunk-L5JPAKPM.mjs";import"../../chunk-KY7WQYN4.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-QTW33JYG.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";export{a as CopilotInterface};
2
+ "use strict";import{a}from"../../chunk-CMEGGDTF.mjs";import"../../chunk-XTUH2DJE.mjs";import"../../chunk-Q35D7SUU.mjs";import"../../chunk-DP6Q6ZTN.mjs";import"../../chunk-TIAA3ZN3.mjs";import"../../chunk-KZXYV2BA.mjs";import"../../chunk-MTA6RFZ7.mjs";import"../../chunk-SH5SK6V2.mjs";import"../../chunk-6OCLRAHU.mjs";import"../../chunk-5Y6FKL5W.mjs";import"../../chunk-4DESBE4R.mjs";import"../../chunk-QM5FOQHG.mjs";import"../../chunk-JQL4XGAF.mjs";import"../../chunk-G3BOVXUM.mjs";import"../../chunk-EW6KWAHS.mjs";import"../../chunk-IUVPH5LV.mjs";import"../../chunk-YRDJBAYA.mjs";import"../../chunk-6OT5PQXV.mjs";import"../../chunk-YPZAYXNQ.mjs";import"../../chunk-RL6365DN.mjs";import"../../chunk-LTTO57ZK.mjs";import"../../chunk-KOLP657S.mjs";import"../../chunk-NPVUICIF.mjs";import"../../chunk-S3OBSLA5.mjs";import"../../chunk-GLZEHRPY.mjs";import"../../chunk-WPH2ALD6.mjs";import"../../chunk-AZKOVKSK.mjs";import"../../chunk-Q2DPE66H.mjs";import"../../chunk-4QRKVSTE.mjs";import"../../chunk-INCYANPB.mjs";import"../../chunk-RLVKIMGU.mjs";import"../../chunk-OCPX4QPC.mjs";import"../../chunk-FT3AE7L2.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-YNCJATT7.mjs";import"../../chunk-L5JPAKPM.mjs";import"../../chunk-KY7WQYN4.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-QTW33JYG.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";export{a as CopilotInterface};
@@ -1 +1 @@
1
- import{a}from"../../../chunk-LL7CRB4U.mjs";import"../../../chunk-SH5SK6V2.mjs";import"../../../chunk-6OCLRAHU.mjs";import"../../../chunk-5Y6FKL5W.mjs";import"../../../chunk-4DESBE4R.mjs";import"../../../chunk-QM5FOQHG.mjs";import"../../../chunk-JQL4XGAF.mjs";import"../../../chunk-G3BOVXUM.mjs";import"../../../chunk-EW6KWAHS.mjs";import"../../../chunk-IUVPH5LV.mjs";import"../../../chunk-YRDJBAYA.mjs";import"../../../chunk-MTA6RFZ7.mjs";import"../../../chunk-6OT5PQXV.mjs";import"../../../chunk-YPZAYXNQ.mjs";import"../../../chunk-RL6365DN.mjs";import"../../../chunk-LTTO57ZK.mjs";import"../../../chunk-4QRKVSTE.mjs";import"../../../chunk-CSBGSBEU.mjs";import"../../../chunk-YO3GQYRJ.mjs";import"../../../chunk-YNCJATT7.mjs";import"../../../chunk-ZUA4KNIR.mjs";import"../../../chunk-QTW33JYG.mjs";import"../../../chunk-MDJREBVI.mjs";import"../../../chunk-ZWHGOTSF.mjs";import"../../../chunk-Q3G5UAAD.mjs";import"../../../chunk-XGRRLABA.mjs";import"../../../chunk-YEKQJ4YC.mjs";export{a as messageHandler};
1
+ import{a}from"../../../chunk-KZXYV2BA.mjs";import"../../../chunk-MTA6RFZ7.mjs";import"../../../chunk-SH5SK6V2.mjs";import"../../../chunk-6OCLRAHU.mjs";import"../../../chunk-5Y6FKL5W.mjs";import"../../../chunk-4DESBE4R.mjs";import"../../../chunk-QM5FOQHG.mjs";import"../../../chunk-JQL4XGAF.mjs";import"../../../chunk-G3BOVXUM.mjs";import"../../../chunk-EW6KWAHS.mjs";import"../../../chunk-IUVPH5LV.mjs";import"../../../chunk-YRDJBAYA.mjs";import"../../../chunk-6OT5PQXV.mjs";import"../../../chunk-YPZAYXNQ.mjs";import"../../../chunk-RL6365DN.mjs";import"../../../chunk-LTTO57ZK.mjs";import"../../../chunk-4QRKVSTE.mjs";import"../../../chunk-CSBGSBEU.mjs";import"../../../chunk-YO3GQYRJ.mjs";import"../../../chunk-YNCJATT7.mjs";import"../../../chunk-ZUA4KNIR.mjs";import"../../../chunk-QTW33JYG.mjs";import"../../../chunk-MDJREBVI.mjs";import"../../../chunk-ZWHGOTSF.mjs";import"../../../chunk-Q3G5UAAD.mjs";import"../../../chunk-XGRRLABA.mjs";import"../../../chunk-YEKQJ4YC.mjs";export{a as messageHandler};
@@ -1 +1 @@
1
- import{a}from"../../../chunk-SH5SK6V2.mjs";import{a as b}from"../../../chunk-6OCLRAHU.mjs";import{a as e,b as f,c as g}from"../../../chunk-5Y6FKL5W.mjs";import{a as k,b as l,c as m,d as n,e as o}from"../../../chunk-4DESBE4R.mjs";import"../../../chunk-QM5FOQHG.mjs";import{a as h,b as i,c as j}from"../../../chunk-JQL4XGAF.mjs";import{a as p,b as q,c as r,d as s}from"../../../chunk-G3BOVXUM.mjs";import{a as d}from"../../../chunk-EW6KWAHS.mjs";import{a as t,b as u,c as v,d as w,e as x,f as y,g as z}from"../../../chunk-IUVPH5LV.mjs";import{a as A,b as B,c as C,d as D}from"../../../chunk-YRDJBAYA.mjs";import{a as c}from"../../../chunk-MTA6RFZ7.mjs";import"../../../chunk-6OT5PQXV.mjs";import"../../../chunk-4QRKVSTE.mjs";import"../../../chunk-CSBGSBEU.mjs";import"../../../chunk-YNCJATT7.mjs";import"../../../chunk-ZUA4KNIR.mjs";import"../../../chunk-QTW33JYG.mjs";import"../../../chunk-MDJREBVI.mjs";import"../../../chunk-ZWHGOTSF.mjs";import"../../../chunk-Q3G5UAAD.mjs";import"../../../chunk-XGRRLABA.mjs";import"../../../chunk-YEKQJ4YC.mjs";export{i as CodeBlock,j as CodeBlockCopyButton,p as ColleagueHandoff,r as ColleagueHandoffContent,s as ColleagueHandoffQuery,q as ColleagueHandoffTrigger,t as Confirmation,w as ConfirmationAccepted,z as ConfirmationAction,y as ConfirmationActions,x as ConfirmationRejected,v as ConfirmationRequest,u as ConfirmationTitle,A as Conversation,B as ConversationContent,C as ConversationEmptyState,D as ConversationScrollButton,c as PartApprovalTool,a as PartAuthenticateTool,b as PartText,e as Reasoning,g as ReasoningContent,f as ReasoningTrigger,d as Response,k as Tool,m as ToolContent,l as ToolHeader,n as ToolInput,o as ToolOutput,h as highlightCode};
1
+ import{a as c}from"../../../chunk-MTA6RFZ7.mjs";import{a}from"../../../chunk-SH5SK6V2.mjs";import{a as b}from"../../../chunk-6OCLRAHU.mjs";import{a as e,b as f,c as g}from"../../../chunk-5Y6FKL5W.mjs";import{a as k,b as l,c as m,d as n,e as o}from"../../../chunk-4DESBE4R.mjs";import"../../../chunk-QM5FOQHG.mjs";import{a as h,b as i,c as j}from"../../../chunk-JQL4XGAF.mjs";import{a as p,b as q,c as r,d as s}from"../../../chunk-G3BOVXUM.mjs";import{a as d}from"../../../chunk-EW6KWAHS.mjs";import{a as t,b as u,c as v,d as w,e as x,f as y,g as z}from"../../../chunk-IUVPH5LV.mjs";import{a as A,b as B,c as C,d as D}from"../../../chunk-YRDJBAYA.mjs";import"../../../chunk-6OT5PQXV.mjs";import"../../../chunk-4QRKVSTE.mjs";import"../../../chunk-CSBGSBEU.mjs";import"../../../chunk-YNCJATT7.mjs";import"../../../chunk-ZUA4KNIR.mjs";import"../../../chunk-QTW33JYG.mjs";import"../../../chunk-MDJREBVI.mjs";import"../../../chunk-ZWHGOTSF.mjs";import"../../../chunk-Q3G5UAAD.mjs";import"../../../chunk-XGRRLABA.mjs";import"../../../chunk-YEKQJ4YC.mjs";export{i as CodeBlock,j as CodeBlockCopyButton,p as ColleagueHandoff,r as ColleagueHandoffContent,s as ColleagueHandoffQuery,q as ColleagueHandoffTrigger,t as Confirmation,w as ConfirmationAccepted,z as ConfirmationAction,y as ConfirmationActions,x as ConfirmationRejected,v as ConfirmationRequest,u as ConfirmationTitle,A as Conversation,B as ConversationContent,C as ConversationEmptyState,D as ConversationScrollButton,c as PartApprovalTool,a as PartAuthenticateTool,b as PartText,e as Reasoning,g as ReasoningContent,f as ReasoningTrigger,d as Response,k as Tool,m as ToolContent,l as ToolHeader,n as ToolInput,o as ToolOutput,h as highlightCode};
@@ -1,4 +1,4 @@
1
- import{a}from"../../chunk-5G7LCLOY.mjs";import"../../chunk-XTUH2DJE.mjs";import"../../chunk-Q35D7SUU.mjs";import"../../chunk-JGKLAY6J.mjs";import"../../chunk-TIAA3ZN3.mjs";import"../../chunk-LL7CRB4U.mjs";import"../../chunk-SH5SK6V2.mjs";import"../../chunk-6OCLRAHU.mjs";import"../../chunk-5Y6FKL5W.mjs";import"../../chunk-4DESBE4R.mjs";import"../../chunk-QM5FOQHG.mjs";import"../../chunk-JQL4XGAF.mjs";import"../../chunk-G3BOVXUM.mjs";import"../../chunk-EW6KWAHS.mjs";import"../../chunk-IUVPH5LV.mjs";import"../../chunk-YRDJBAYA.mjs";import"../../chunk-MTA6RFZ7.mjs";import"../../chunk-6OT5PQXV.mjs";import"../../chunk-YPZAYXNQ.mjs";import"../../chunk-RL6365DN.mjs";import"../../chunk-LTTO57ZK.mjs";import"../../chunk-KOLP657S.mjs";import"../../chunk-NPVUICIF.mjs";import"../../chunk-S3OBSLA5.mjs";import"../../chunk-GLZEHRPY.mjs";import"../../chunk-WPH2ALD6.mjs";import"../../chunk-AZKOVKSK.mjs";import{b as e}from"../../chunk-Q2DPE66H.mjs";import"../../chunk-4QRKVSTE.mjs";import"../../chunk-INCYANPB.mjs";import"../../chunk-RLVKIMGU.mjs";import"../../chunk-OCPX4QPC.mjs";import"../../chunk-FT3AE7L2.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-YNCJATT7.mjs";import"../../chunk-L5JPAKPM.mjs";import"../../chunk-KY7WQYN4.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-QTW33JYG.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{useState as r}from"react";import{jsx as i}from"react/jsx-runtime";var n=[{id:"1",role:"user",parts:[{type:"text",text:"Can you write me a comprehensive analysis of the current state of artificial intelligence and machine learning technologies, including their applications, limitations, and future prospects?"}]},{id:"2",role:"assistant",parts:[{type:"text",text:`Here's a comprehensive analysis of the current state of AI and ML technologies:
1
+ import{a}from"../../chunk-CMEGGDTF.mjs";import"../../chunk-XTUH2DJE.mjs";import"../../chunk-Q35D7SUU.mjs";import"../../chunk-DP6Q6ZTN.mjs";import"../../chunk-TIAA3ZN3.mjs";import"../../chunk-KZXYV2BA.mjs";import"../../chunk-MTA6RFZ7.mjs";import"../../chunk-SH5SK6V2.mjs";import"../../chunk-6OCLRAHU.mjs";import"../../chunk-5Y6FKL5W.mjs";import"../../chunk-4DESBE4R.mjs";import"../../chunk-QM5FOQHG.mjs";import"../../chunk-JQL4XGAF.mjs";import"../../chunk-G3BOVXUM.mjs";import"../../chunk-EW6KWAHS.mjs";import"../../chunk-IUVPH5LV.mjs";import"../../chunk-YRDJBAYA.mjs";import"../../chunk-6OT5PQXV.mjs";import"../../chunk-YPZAYXNQ.mjs";import"../../chunk-RL6365DN.mjs";import"../../chunk-LTTO57ZK.mjs";import"../../chunk-KOLP657S.mjs";import"../../chunk-NPVUICIF.mjs";import"../../chunk-S3OBSLA5.mjs";import"../../chunk-GLZEHRPY.mjs";import"../../chunk-WPH2ALD6.mjs";import"../../chunk-AZKOVKSK.mjs";import{b as e}from"../../chunk-Q2DPE66H.mjs";import"../../chunk-4QRKVSTE.mjs";import"../../chunk-INCYANPB.mjs";import"../../chunk-RLVKIMGU.mjs";import"../../chunk-OCPX4QPC.mjs";import"../../chunk-FT3AE7L2.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-YNCJATT7.mjs";import"../../chunk-L5JPAKPM.mjs";import"../../chunk-KY7WQYN4.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-QTW33JYG.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{useState as r}from"react";import{jsx as i}from"react/jsx-runtime";var n=[{id:"1",role:"user",parts:[{type:"text",text:"Can you write me a comprehensive analysis of the current state of artificial intelligence and machine learning technologies, including their applications, limitations, and future prospects?"}]},{id:"2",role:"assistant",parts:[{type:"text",text:`Here's a comprehensive analysis of the current state of AI and ML technologies:
2
2
 
3
3
  **Current State of Artificial Intelligence and Machine Learning**
4
4
 
@@ -1,4 +1,4 @@
1
- import{a as n}from"../../chunk-5G7LCLOY.mjs";import"../../chunk-XTUH2DJE.mjs";import"../../chunk-Q35D7SUU.mjs";import"../../chunk-JGKLAY6J.mjs";import"../../chunk-TIAA3ZN3.mjs";import"../../chunk-LL7CRB4U.mjs";import"../../chunk-SH5SK6V2.mjs";import"../../chunk-6OCLRAHU.mjs";import"../../chunk-5Y6FKL5W.mjs";import"../../chunk-4DESBE4R.mjs";import"../../chunk-QM5FOQHG.mjs";import"../../chunk-JQL4XGAF.mjs";import"../../chunk-G3BOVXUM.mjs";import"../../chunk-EW6KWAHS.mjs";import"../../chunk-IUVPH5LV.mjs";import"../../chunk-YRDJBAYA.mjs";import"../../chunk-MTA6RFZ7.mjs";import"../../chunk-6OT5PQXV.mjs";import"../../chunk-YPZAYXNQ.mjs";import"../../chunk-RL6365DN.mjs";import"../../chunk-LTTO57ZK.mjs";import"../../chunk-KOLP657S.mjs";import"../../chunk-NPVUICIF.mjs";import"../../chunk-S3OBSLA5.mjs";import"../../chunk-GLZEHRPY.mjs";import"../../chunk-WPH2ALD6.mjs";import"../../chunk-AZKOVKSK.mjs";import{b as s}from"../../chunk-Q2DPE66H.mjs";import"../../chunk-4QRKVSTE.mjs";import"../../chunk-INCYANPB.mjs";import"../../chunk-RLVKIMGU.mjs";import"../../chunk-OCPX4QPC.mjs";import"../../chunk-FT3AE7L2.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-YNCJATT7.mjs";import"../../chunk-L5JPAKPM.mjs";import"../../chunk-KY7WQYN4.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-QTW33JYG.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{useState as r}from"react";import{jsx as e}from"react/jsx-runtime";function u(){let[t,a]=r([{id:"1",role:"user",parts:[{type:"text",text:"Can you help me analyze my sales data?"}]},{id:"2",role:"assistant",parts:[{type:"text",text:`I'll help you analyze your sales data. Let me fetch the latest information.
1
+ import{a as n}from"../../chunk-CMEGGDTF.mjs";import"../../chunk-XTUH2DJE.mjs";import"../../chunk-Q35D7SUU.mjs";import"../../chunk-DP6Q6ZTN.mjs";import"../../chunk-TIAA3ZN3.mjs";import"../../chunk-KZXYV2BA.mjs";import"../../chunk-MTA6RFZ7.mjs";import"../../chunk-SH5SK6V2.mjs";import"../../chunk-6OCLRAHU.mjs";import"../../chunk-5Y6FKL5W.mjs";import"../../chunk-4DESBE4R.mjs";import"../../chunk-QM5FOQHG.mjs";import"../../chunk-JQL4XGAF.mjs";import"../../chunk-G3BOVXUM.mjs";import"../../chunk-EW6KWAHS.mjs";import"../../chunk-IUVPH5LV.mjs";import"../../chunk-YRDJBAYA.mjs";import"../../chunk-6OT5PQXV.mjs";import"../../chunk-YPZAYXNQ.mjs";import"../../chunk-RL6365DN.mjs";import"../../chunk-LTTO57ZK.mjs";import"../../chunk-KOLP657S.mjs";import"../../chunk-NPVUICIF.mjs";import"../../chunk-S3OBSLA5.mjs";import"../../chunk-GLZEHRPY.mjs";import"../../chunk-WPH2ALD6.mjs";import"../../chunk-AZKOVKSK.mjs";import{b as s}from"../../chunk-Q2DPE66H.mjs";import"../../chunk-4QRKVSTE.mjs";import"../../chunk-INCYANPB.mjs";import"../../chunk-RLVKIMGU.mjs";import"../../chunk-OCPX4QPC.mjs";import"../../chunk-FT3AE7L2.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-YNCJATT7.mjs";import"../../chunk-L5JPAKPM.mjs";import"../../chunk-KY7WQYN4.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-QTW33JYG.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{useState as r}from"react";import{jsx as e}from"react/jsx-runtime";function u(){let[t,a]=r([{id:"1",role:"user",parts:[{type:"text",text:"Can you help me analyze my sales data?"}]},{id:"2",role:"assistant",parts:[{type:"text",text:`I'll help you analyze your sales data. Let me fetch the latest information.
2
2
 
3
3
  *\u{1F527} Calling function: fetch_sales_data(period="30d", region="all")*`}]},{id:"3",role:"assistant",parts:[{type:"text",text:`Great! I've retrieved your sales data for the last 30 days. Here's what I found:
4
4
 
@@ -1 +1 @@
1
- import{a as s}from"../../chunk-5G7LCLOY.mjs";import"../../chunk-XTUH2DJE.mjs";import"../../chunk-Q35D7SUU.mjs";import"../../chunk-JGKLAY6J.mjs";import"../../chunk-TIAA3ZN3.mjs";import"../../chunk-LL7CRB4U.mjs";import"../../chunk-SH5SK6V2.mjs";import"../../chunk-6OCLRAHU.mjs";import"../../chunk-5Y6FKL5W.mjs";import"../../chunk-4DESBE4R.mjs";import"../../chunk-QM5FOQHG.mjs";import"../../chunk-JQL4XGAF.mjs";import"../../chunk-G3BOVXUM.mjs";import"../../chunk-EW6KWAHS.mjs";import"../../chunk-IUVPH5LV.mjs";import"../../chunk-YRDJBAYA.mjs";import"../../chunk-MTA6RFZ7.mjs";import"../../chunk-6OT5PQXV.mjs";import"../../chunk-YPZAYXNQ.mjs";import"../../chunk-RL6365DN.mjs";import"../../chunk-LTTO57ZK.mjs";import"../../chunk-KOLP657S.mjs";import"../../chunk-NPVUICIF.mjs";import"../../chunk-S3OBSLA5.mjs";import"../../chunk-GLZEHRPY.mjs";import"../../chunk-WPH2ALD6.mjs";import"../../chunk-AZKOVKSK.mjs";import{b as e}from"../../chunk-Q2DPE66H.mjs";import"../../chunk-4QRKVSTE.mjs";import"../../chunk-INCYANPB.mjs";import"../../chunk-RLVKIMGU.mjs";import"../../chunk-OCPX4QPC.mjs";import"../../chunk-FT3AE7L2.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-YNCJATT7.mjs";import"../../chunk-L5JPAKPM.mjs";import"../../chunk-KY7WQYN4.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-QTW33JYG.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{useState as o}from"react";import{jsx as t}from"react/jsx-runtime";var l=[{id:"1",role:"user",parts:[{type:"text",text:"Hello! Can you help me with a task?"}]},{id:"2",role:"assistant",parts:[{type:"text",text:"Of course! I can help you with various tasks. Try uploading a file or use the capabilities menu at the bottom to see what I can do."}]}];function u(){let[a,i]=o(l);return t("div",{className:"h-screen w-full",children:t(s,{messages:a,capabilities:e,enableFileUpload:!0,maxFileSize:10,allowedFileTypes:["*"],businessUnits:[],sessions:[],notifications:[],onNewChat:()=>i([]),onSessionSelect:()=>{},onSessionDelete:()=>{},showCapabilities:!0})})}export{u as ChatDemo};
1
+ import{a as s}from"../../chunk-CMEGGDTF.mjs";import"../../chunk-XTUH2DJE.mjs";import"../../chunk-Q35D7SUU.mjs";import"../../chunk-DP6Q6ZTN.mjs";import"../../chunk-TIAA3ZN3.mjs";import"../../chunk-KZXYV2BA.mjs";import"../../chunk-MTA6RFZ7.mjs";import"../../chunk-SH5SK6V2.mjs";import"../../chunk-6OCLRAHU.mjs";import"../../chunk-5Y6FKL5W.mjs";import"../../chunk-4DESBE4R.mjs";import"../../chunk-QM5FOQHG.mjs";import"../../chunk-JQL4XGAF.mjs";import"../../chunk-G3BOVXUM.mjs";import"../../chunk-EW6KWAHS.mjs";import"../../chunk-IUVPH5LV.mjs";import"../../chunk-YRDJBAYA.mjs";import"../../chunk-6OT5PQXV.mjs";import"../../chunk-YPZAYXNQ.mjs";import"../../chunk-RL6365DN.mjs";import"../../chunk-LTTO57ZK.mjs";import"../../chunk-KOLP657S.mjs";import"../../chunk-NPVUICIF.mjs";import"../../chunk-S3OBSLA5.mjs";import"../../chunk-GLZEHRPY.mjs";import"../../chunk-WPH2ALD6.mjs";import"../../chunk-AZKOVKSK.mjs";import{b as e}from"../../chunk-Q2DPE66H.mjs";import"../../chunk-4QRKVSTE.mjs";import"../../chunk-INCYANPB.mjs";import"../../chunk-RLVKIMGU.mjs";import"../../chunk-OCPX4QPC.mjs";import"../../chunk-FT3AE7L2.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-YNCJATT7.mjs";import"../../chunk-L5JPAKPM.mjs";import"../../chunk-KY7WQYN4.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-QTW33JYG.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{useState as o}from"react";import{jsx as t}from"react/jsx-runtime";var l=[{id:"1",role:"user",parts:[{type:"text",text:"Hello! Can you help me with a task?"}]},{id:"2",role:"assistant",parts:[{type:"text",text:"Of course! I can help you with various tasks. Try uploading a file or use the capabilities menu at the bottom to see what I can do."}]}];function u(){let[a,i]=o(l);return t("div",{className:"h-screen w-full",children:t(s,{messages:a,capabilities:e,enableFileUpload:!0,maxFileSize:10,allowedFileTypes:["*"],businessUnits:[],sessions:[],notifications:[],onNewChat:()=>i([]),onSessionSelect:()=>{},onSessionDelete:()=>{},showCapabilities:!0})})}export{u as ChatDemo};
@@ -1 +1 @@
1
- import"../../chunk-LUPNE23E.mjs";import"../../chunk-WHOWQZV6.mjs";import{a as t}from"../../chunk-5G7LCLOY.mjs";import"../../chunk-XTUH2DJE.mjs";import"../../chunk-Q35D7SUU.mjs";import"../../chunk-JGKLAY6J.mjs";import"../../chunk-TIAA3ZN3.mjs";import"../../chunk-LL7CRB4U.mjs";import"../../chunk-SH5SK6V2.mjs";import"../../chunk-6OCLRAHU.mjs";import"../../chunk-5Y6FKL5W.mjs";import"../../chunk-4DESBE4R.mjs";import"../../chunk-QM5FOQHG.mjs";import"../../chunk-JQL4XGAF.mjs";import"../../chunk-G3BOVXUM.mjs";import"../../chunk-EW6KWAHS.mjs";import"../../chunk-IUVPH5LV.mjs";import"../../chunk-YRDJBAYA.mjs";import"../../chunk-MTA6RFZ7.mjs";import"../../chunk-6OT5PQXV.mjs";import"../../chunk-YPZAYXNQ.mjs";import"../../chunk-RL6365DN.mjs";import"../../chunk-LTTO57ZK.mjs";import"../../chunk-KOLP657S.mjs";import"../../chunk-NPVUICIF.mjs";import"../../chunk-S3OBSLA5.mjs";import"../../chunk-GLZEHRPY.mjs";import"../../chunk-WPH2ALD6.mjs";import"../../chunk-AZKOVKSK.mjs";import"../../chunk-Q2DPE66H.mjs";import"../../chunk-4QRKVSTE.mjs";import"../../chunk-INCYANPB.mjs";import"../../chunk-RLVKIMGU.mjs";import"../../chunk-OCPX4QPC.mjs";import"../../chunk-FT3AE7L2.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-YNCJATT7.mjs";import"../../chunk-L5JPAKPM.mjs";import"../../chunk-KY7WQYN4.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-QTW33JYG.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{jsx as i}from"react/jsx-runtime";var a=[{id:"1",role:"user",parts:[{type:"text",text:"Hello, can you help me with a task?"}]},{id:"2",role:"assistant",parts:[{type:"text",text:"Of course! I can help you create and manage tasks."}]},{id:"3",role:"user",parts:[{type:"text",text:"Here is a file with project requirements"},{type:"file",mimeType:"application/pdf",url:"/path/to/file.pdf"}]},{id:"4",role:"assistant",parts:[{type:"text",text:"I'll create a task based on your requirements."},{type:"tool-task",toolCallId:"call-123",state:"output-available",input:{title:"Project Requirements Review",description:"Review and analyze the uploaded requirements document"},output:{id:"task-123",title:"Project Requirements Review",description:"Review and analyze the uploaded requirements document",status:"created",assignee:"AI Assistant",priority:"high"}}]},{id:"5",role:"assistant",parts:[{type:"text",text:"Here are some relevant resources for your project:"},{type:"data-reference",data:{references:[{id:"ref-1",title:"Project Management Best Practices",url:"https://example.com/pm-best-practices",description:"Comprehensive guide to project management",type:"document"},{id:"ref-2",title:"Requirements Gathering Template",url:"https://example.com/requirements-template",description:"Template for gathering project requirements",type:"link"}]}}]},{id:"6",role:"assistant",parts:[{type:"text",text:"What would you like to do next?"},{type:"data-menu",data:{title:"Available Actions",items:[{id:"action-1",label:"Create another task",description:"Set up a new task for the project",action:()=>console.log("Create task clicked")},{id:"action-2",label:"View project timeline",description:"See the project schedule and milestones",action:()=>console.log("View timeline clicked")},{id:"action-3",label:"Assign team members",description:"Add team members to the project",action:()=>console.log("Assign team clicked")}]}}]}];function o(){return i(t,{messages:a,businessUnits:[{id:"engineering",name:"Engineering",description:"Software development team",icon:"\u2699\uFE0F",color:"bg-blue-500",accentColor:"bg-blue-600"}],capabilities:[],sessions:[],onNewChat:()=>console.log("New chat started"),onSessionSelect:e=>console.log("Session selected:",e),onSessionDelete:e=>console.log("Session deleted:",e),enableFileUpload:!0,title:"AI Assistant"})}export{o as ExampleChatInterface};
1
+ import"../../chunk-LUPNE23E.mjs";import"../../chunk-WHOWQZV6.mjs";import{a as t}from"../../chunk-CMEGGDTF.mjs";import"../../chunk-XTUH2DJE.mjs";import"../../chunk-Q35D7SUU.mjs";import"../../chunk-DP6Q6ZTN.mjs";import"../../chunk-TIAA3ZN3.mjs";import"../../chunk-KZXYV2BA.mjs";import"../../chunk-MTA6RFZ7.mjs";import"../../chunk-SH5SK6V2.mjs";import"../../chunk-6OCLRAHU.mjs";import"../../chunk-5Y6FKL5W.mjs";import"../../chunk-4DESBE4R.mjs";import"../../chunk-QM5FOQHG.mjs";import"../../chunk-JQL4XGAF.mjs";import"../../chunk-G3BOVXUM.mjs";import"../../chunk-EW6KWAHS.mjs";import"../../chunk-IUVPH5LV.mjs";import"../../chunk-YRDJBAYA.mjs";import"../../chunk-6OT5PQXV.mjs";import"../../chunk-YPZAYXNQ.mjs";import"../../chunk-RL6365DN.mjs";import"../../chunk-LTTO57ZK.mjs";import"../../chunk-KOLP657S.mjs";import"../../chunk-NPVUICIF.mjs";import"../../chunk-S3OBSLA5.mjs";import"../../chunk-GLZEHRPY.mjs";import"../../chunk-WPH2ALD6.mjs";import"../../chunk-AZKOVKSK.mjs";import"../../chunk-Q2DPE66H.mjs";import"../../chunk-4QRKVSTE.mjs";import"../../chunk-INCYANPB.mjs";import"../../chunk-RLVKIMGU.mjs";import"../../chunk-OCPX4QPC.mjs";import"../../chunk-FT3AE7L2.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-YNCJATT7.mjs";import"../../chunk-L5JPAKPM.mjs";import"../../chunk-KY7WQYN4.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-QTW33JYG.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{jsx as i}from"react/jsx-runtime";var a=[{id:"1",role:"user",parts:[{type:"text",text:"Hello, can you help me with a task?"}]},{id:"2",role:"assistant",parts:[{type:"text",text:"Of course! I can help you create and manage tasks."}]},{id:"3",role:"user",parts:[{type:"text",text:"Here is a file with project requirements"},{type:"file",mimeType:"application/pdf",url:"/path/to/file.pdf"}]},{id:"4",role:"assistant",parts:[{type:"text",text:"I'll create a task based on your requirements."},{type:"tool-task",toolCallId:"call-123",state:"output-available",input:{title:"Project Requirements Review",description:"Review and analyze the uploaded requirements document"},output:{id:"task-123",title:"Project Requirements Review",description:"Review and analyze the uploaded requirements document",status:"created",assignee:"AI Assistant",priority:"high"}}]},{id:"5",role:"assistant",parts:[{type:"text",text:"Here are some relevant resources for your project:"},{type:"data-reference",data:{references:[{id:"ref-1",title:"Project Management Best Practices",url:"https://example.com/pm-best-practices",description:"Comprehensive guide to project management",type:"document"},{id:"ref-2",title:"Requirements Gathering Template",url:"https://example.com/requirements-template",description:"Template for gathering project requirements",type:"link"}]}}]},{id:"6",role:"assistant",parts:[{type:"text",text:"What would you like to do next?"},{type:"data-menu",data:{title:"Available Actions",items:[{id:"action-1",label:"Create another task",description:"Set up a new task for the project",action:()=>console.log("Create task clicked")},{id:"action-2",label:"View project timeline",description:"See the project schedule and milestones",action:()=>console.log("View timeline clicked")},{id:"action-3",label:"Assign team members",description:"Add team members to the project",action:()=>console.log("Assign team clicked")}]}}]}];function o(){return i(t,{messages:a,businessUnits:[{id:"engineering",name:"Engineering",description:"Software development team",icon:"\u2699\uFE0F",color:"bg-blue-500",accentColor:"bg-blue-600"}],capabilities:[],sessions:[],onNewChat:()=>console.log("New chat started"),onSessionSelect:e=>console.log("Session selected:",e),onSessionDelete:e=>console.log("Session deleted:",e),enableFileUpload:!0,title:"AI Assistant"})}export{o as ExampleChatInterface};
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";import{a as l}from"../../chunk-5G7LCLOY.mjs";import"../../chunk-XTUH2DJE.mjs";import"../../chunk-Q35D7SUU.mjs";import"../../chunk-JGKLAY6J.mjs";import"../../chunk-TIAA3ZN3.mjs";import"../../chunk-LL7CRB4U.mjs";import"../../chunk-SH5SK6V2.mjs";import"../../chunk-6OCLRAHU.mjs";import"../../chunk-5Y6FKL5W.mjs";import"../../chunk-4DESBE4R.mjs";import"../../chunk-QM5FOQHG.mjs";import"../../chunk-JQL4XGAF.mjs";import"../../chunk-G3BOVXUM.mjs";import"../../chunk-EW6KWAHS.mjs";import"../../chunk-IUVPH5LV.mjs";import"../../chunk-YRDJBAYA.mjs";import"../../chunk-MTA6RFZ7.mjs";import"../../chunk-6OT5PQXV.mjs";import"../../chunk-YPZAYXNQ.mjs";import"../../chunk-RL6365DN.mjs";import"../../chunk-LTTO57ZK.mjs";import"../../chunk-KOLP657S.mjs";import{a as t,b as i,c as n}from"../../chunk-NPVUICIF.mjs";import"../../chunk-S3OBSLA5.mjs";import"../../chunk-GLZEHRPY.mjs";import"../../chunk-WPH2ALD6.mjs";import"../../chunk-AZKOVKSK.mjs";import{b as o}from"../../chunk-Q2DPE66H.mjs";import"../../chunk-4QRKVSTE.mjs";import"../../chunk-INCYANPB.mjs";import"../../chunk-RLVKIMGU.mjs";import"../../chunk-OCPX4QPC.mjs";import"../../chunk-FT3AE7L2.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-YNCJATT7.mjs";import"../../chunk-L5JPAKPM.mjs";import"../../chunk-KY7WQYN4.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-QTW33JYG.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-CMEGGDTF.mjs";import"../../chunk-XTUH2DJE.mjs";import"../../chunk-Q35D7SUU.mjs";import"../../chunk-DP6Q6ZTN.mjs";import"../../chunk-TIAA3ZN3.mjs";import"../../chunk-KZXYV2BA.mjs";import"../../chunk-MTA6RFZ7.mjs";import"../../chunk-SH5SK6V2.mjs";import"../../chunk-6OCLRAHU.mjs";import"../../chunk-5Y6FKL5W.mjs";import"../../chunk-4DESBE4R.mjs";import"../../chunk-QM5FOQHG.mjs";import"../../chunk-JQL4XGAF.mjs";import"../../chunk-G3BOVXUM.mjs";import"../../chunk-EW6KWAHS.mjs";import"../../chunk-IUVPH5LV.mjs";import"../../chunk-YRDJBAYA.mjs";import"../../chunk-6OT5PQXV.mjs";import"../../chunk-YPZAYXNQ.mjs";import"../../chunk-RL6365DN.mjs";import"../../chunk-LTTO57ZK.mjs";import"../../chunk-KOLP657S.mjs";import{a as t,b as i,c as n}from"../../chunk-NPVUICIF.mjs";import"../../chunk-S3OBSLA5.mjs";import"../../chunk-GLZEHRPY.mjs";import"../../chunk-WPH2ALD6.mjs";import"../../chunk-AZKOVKSK.mjs";import{b as o}from"../../chunk-Q2DPE66H.mjs";import"../../chunk-4QRKVSTE.mjs";import"../../chunk-INCYANPB.mjs";import"../../chunk-RLVKIMGU.mjs";import"../../chunk-OCPX4QPC.mjs";import"../../chunk-FT3AE7L2.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-YNCJATT7.mjs";import"../../chunk-L5JPAKPM.mjs";import"../../chunk-KY7WQYN4.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-QTW33JYG.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};
@@ -1 +1 @@
1
- import{a as n,b as o,c as p,d as q,e as r,f as s,g as t}from"../../chunk-LUPNE23E.mjs";import{a as m}from"../../chunk-WHOWQZV6.mjs";import{a as l}from"../../chunk-5G7LCLOY.mjs";import"../../chunk-XTUH2DJE.mjs";import"../../chunk-Q35D7SUU.mjs";import{a as k}from"../../chunk-JGKLAY6J.mjs";import"../../chunk-TIAA3ZN3.mjs";import"../../chunk-LL7CRB4U.mjs";import"../../chunk-SH5SK6V2.mjs";import"../../chunk-6OCLRAHU.mjs";import"../../chunk-5Y6FKL5W.mjs";import"../../chunk-4DESBE4R.mjs";import{a as i}from"../../chunk-QM5FOQHG.mjs";import"../../chunk-JQL4XGAF.mjs";import"../../chunk-G3BOVXUM.mjs";import"../../chunk-EW6KWAHS.mjs";import"../../chunk-IUVPH5LV.mjs";import"../../chunk-YRDJBAYA.mjs";import"../../chunk-MTA6RFZ7.mjs";import{a as j}from"../../chunk-6OT5PQXV.mjs";import{a as h}from"../../chunk-YPZAYXNQ.mjs";import{a}from"../../chunk-RL6365DN.mjs";import"../../chunk-LTTO57ZK.mjs";import"../../chunk-KOLP657S.mjs";import"../../chunk-NPVUICIF.mjs";import"../../chunk-S3OBSLA5.mjs";import"../../chunk-GLZEHRPY.mjs";import"../../chunk-WPH2ALD6.mjs";import"../../chunk-AZKOVKSK.mjs";import{a as b,b as c,c as d,d as e,e as f,f as g}from"../../chunk-Q2DPE66H.mjs";import"../../chunk-4QRKVSTE.mjs";import"../../chunk-INCYANPB.mjs";import"../../chunk-RLVKIMGU.mjs";import"../../chunk-OCPX4QPC.mjs";import"../../chunk-FT3AE7L2.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-YNCJATT7.mjs";import"../../chunk-L5JPAKPM.mjs";import"../../chunk-KY7WQYN4.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-QTW33JYG.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";export{j as ApprovalRequestModal,m as CapabilityMenu,h as ChatCardArtefact,a as ChatCardTask,k as ChatInterface,l as CopilotInterface,i as OAuthModal,b as defaultColorScheme,d as findCapabilityByPath,g as getAllCapabilities,f as getCapabilityByTeam,e as getContextualActions,t as getDataPart,r as getFileParts,n as getTextContent,p as getToolPart,s as hasDataPart,q as hasFilePart,o as hasToolPart,c as testCapabilities};
1
+ import{a as n,b as o,c as p,d as q,e as r,f as s,g as t}from"../../chunk-LUPNE23E.mjs";import{a as m}from"../../chunk-WHOWQZV6.mjs";import{a as l}from"../../chunk-CMEGGDTF.mjs";import"../../chunk-XTUH2DJE.mjs";import"../../chunk-Q35D7SUU.mjs";import{a as k}from"../../chunk-DP6Q6ZTN.mjs";import"../../chunk-TIAA3ZN3.mjs";import"../../chunk-KZXYV2BA.mjs";import"../../chunk-MTA6RFZ7.mjs";import"../../chunk-SH5SK6V2.mjs";import"../../chunk-6OCLRAHU.mjs";import"../../chunk-5Y6FKL5W.mjs";import"../../chunk-4DESBE4R.mjs";import{a as i}from"../../chunk-QM5FOQHG.mjs";import"../../chunk-JQL4XGAF.mjs";import"../../chunk-G3BOVXUM.mjs";import"../../chunk-EW6KWAHS.mjs";import"../../chunk-IUVPH5LV.mjs";import"../../chunk-YRDJBAYA.mjs";import{a as j}from"../../chunk-6OT5PQXV.mjs";import{a as h}from"../../chunk-YPZAYXNQ.mjs";import{a}from"../../chunk-RL6365DN.mjs";import"../../chunk-LTTO57ZK.mjs";import"../../chunk-KOLP657S.mjs";import"../../chunk-NPVUICIF.mjs";import"../../chunk-S3OBSLA5.mjs";import"../../chunk-GLZEHRPY.mjs";import"../../chunk-WPH2ALD6.mjs";import"../../chunk-AZKOVKSK.mjs";import{a as b,b as c,c as d,d as e,e as f,f as g}from"../../chunk-Q2DPE66H.mjs";import"../../chunk-4QRKVSTE.mjs";import"../../chunk-INCYANPB.mjs";import"../../chunk-RLVKIMGU.mjs";import"../../chunk-OCPX4QPC.mjs";import"../../chunk-FT3AE7L2.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-YNCJATT7.mjs";import"../../chunk-L5JPAKPM.mjs";import"../../chunk-KY7WQYN4.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-QTW33JYG.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";export{j as ApprovalRequestModal,m as CapabilityMenu,h as ChatCardArtefact,a as ChatCardTask,k as ChatInterface,l as CopilotInterface,i as OAuthModal,b as defaultColorScheme,d as findCapabilityByPath,g as getAllCapabilities,f as getCapabilityByTeam,e as getContextualActions,t as getDataPart,r as getFileParts,n as getTextContent,p as getToolPart,s as hasDataPart,q as hasFilePart,o as hasToolPart,c as testCapabilities};
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";import{a}from"../../chunk-7YSJAVXO.mjs";import"../../chunk-AQQCH7Z2.mjs";import"../../chunk-22LHS2J6.mjs";import"../../chunk-IC2ABKAM.mjs";import"../../chunk-FHMQVAKQ.mjs";import"../../chunk-X5KZKO2V.mjs";import"../../chunk-7WIO2CIC.mjs";import"../../chunk-55EX54R7.mjs";import"../../chunk-6C4WESLL.mjs";import"../../chunk-ZW24FGHA.mjs";import"../../chunk-DHYTERFI.mjs";import"../../chunk-WISC5QJV.mjs";import"../../chunk-ZDPQXVTF.mjs";import"../../chunk-PDY7JYY3.mjs";import"../../chunk-Q5XT55O3.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FMJBJ3HN.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-76M7JE4D.mjs";import"../../chunk-OYZDAMCS.mjs";import"../../chunk-5NRGSTPV.mjs";import"../../chunk-ZFUP5NVF.mjs";import"../../chunk-4UIARERB.mjs";import"../../chunk-D4IMQTVU.mjs";import"../../chunk-7GSXNSLD.mjs";import"../../chunk-YNCJATT7.mjs";import"../../chunk-L5JPAKPM.mjs";import"../../chunk-KY7WQYN4.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-QTW33JYG.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-FRWX5YES.mjs";import"../../chunk-CV7PH2KH.mjs";import"../../chunk-WU3JMLSC.mjs";import"../../chunk-BZAYEKYC.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as default};
2
+ "use strict";import{a}from"../../chunk-3DXSTAQP.mjs";import"../../chunk-AQQCH7Z2.mjs";import"../../chunk-ZDPQXVTF.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-HDLKX5L3.mjs";import"../../chunk-PDY7JYY3.mjs";import"../../chunk-DHYTERFI.mjs";import"../../chunk-WISC5QJV.mjs";import"../../chunk-Q5XT55O3.mjs";import"../../chunk-FMJBJ3HN.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-76M7JE4D.mjs";import"../../chunk-OYZDAMCS.mjs";import"../../chunk-5NRGSTPV.mjs";import"../../chunk-ZFUP5NVF.mjs";import"../../chunk-4UIARERB.mjs";import"../../chunk-D4IMQTVU.mjs";import"../../chunk-7GSXNSLD.mjs";import"../../chunk-YNCJATT7.mjs";import"../../chunk-L5JPAKPM.mjs";import"../../chunk-KY7WQYN4.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-QTW33JYG.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-WU3JMLSC.mjs";import"../../chunk-BZAYEKYC.mjs";import"../../chunk-CV7PH2KH.mjs";import"../../chunk-FRWX5YES.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as default};
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";import{a}from"../../../chunk-S4CCJK44.mjs";import"../../../chunk-2ZBHHV3P.mjs";import"../../../chunk-ZNSW443Y.mjs";import"../../../chunk-RZELSUQT.mjs";import"../../../chunk-ONNK2NEI.mjs";import"../../../chunk-3W5SE2HO.mjs";import"../../../chunk-MQG7MKTK.mjs";import"../../../chunk-5RTGHMF3.mjs";import"../../../chunk-TBKC2B4Z.mjs";import"../../../chunk-DXRAJQMA.mjs";import"../../../chunk-HF33ZXKX.mjs";import"../../../chunk-7HIL4GBK.mjs";import"../../../chunk-ZKTIH47I.mjs";import"../../../chunk-K7NFBXL3.mjs";import"../../../chunk-T3F3RQIC.mjs";import"../../../chunk-UP67R64J.mjs";import"../../../chunk-6QERRKM4.mjs";import"../../../chunk-VSU7LYXZ.mjs";import"../../../chunk-RKS7CWAP.mjs";import"../../../chunk-BZEGLKRZ.mjs";import"../../../chunk-K7N3FRGH.mjs";import"../../../chunk-IPRG56MW.mjs";import"../../../chunk-HFEN3KJC.mjs";import"../../../chunk-L2UJOICL.mjs";import"../../../chunk-XTUH2DJE.mjs";import"../../../chunk-KOLP657S.mjs";import"../../../chunk-NPVUICIF.mjs";import"../../../chunk-DFIXTV2M.mjs";import"../../../chunk-S3OBSLA5.mjs";import"../../../chunk-GLZEHRPY.mjs";import"../../../chunk-WPH2ALD6.mjs";import"../../../chunk-AZKOVKSK.mjs";import"../../../chunk-Q5Q3DJWU.mjs";import"../../../chunk-U5PBLRRV.mjs";import"../../../chunk-E4TE4NV6.mjs";import"../../../chunk-JFFTEK6Z.mjs";import"../../../chunk-JHNVX4UB.mjs";import"../../../chunk-7BXIU4ZM.mjs";import"../../../chunk-4QRKVSTE.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-3UMMMQEH.mjs";import"../../../chunk-AKQARBH3.mjs";import"../../../chunk-76M7JE4D.mjs";import"../../../chunk-SOLZ4VQH.mjs";import"../../../chunk-CSBGSBEU.mjs";import"../../../chunk-YO3GQYRJ.mjs";import"../../../chunk-OYZDAMCS.mjs";import"../../../chunk-5NRGSTPV.mjs";import"../../../chunk-ZFUP5NVF.mjs";import"../../../chunk-4UIARERB.mjs";import"../../../chunk-D4IMQTVU.mjs";import"../../../chunk-7GSXNSLD.mjs";import"../../../chunk-YNCJATT7.mjs";import"../../../chunk-L5JPAKPM.mjs";import"../../../chunk-KY7WQYN4.mjs";import"../../../chunk-ZUA4KNIR.mjs";import"../../../chunk-QTW33JYG.mjs";import"../../../chunk-MDJREBVI.mjs";import"../../../chunk-ZWHGOTSF.mjs";import"../../../chunk-Q3G5UAAD.mjs";import"../../../chunk-XGRRLABA.mjs";import"../../../chunk-FLHDNCNY.mjs";import"../../../chunk-FRWX5YES.mjs";import"../../../chunk-CV7PH2KH.mjs";import"../../../chunk-YEKQJ4YC.mjs";export{a as default};
2
+ "use strict";import{a}from"../../../chunk-MIM3VFET.mjs";import"../../../chunk-2ZBHHV3P.mjs";import"../../../chunk-ZNSW443Y.mjs";import"../../../chunk-RZELSUQT.mjs";import"../../../chunk-ONNK2NEI.mjs";import"../../../chunk-3W5SE2HO.mjs";import"../../../chunk-MQG7MKTK.mjs";import"../../../chunk-DXRAJQMA.mjs";import"../../../chunk-5RTGHMF3.mjs";import"../../../chunk-JMJUFHDA.mjs";import"../../../chunk-HF33ZXKX.mjs";import"../../../chunk-7GWTDITT.mjs";import"../../../chunk-4745QCXP.mjs";import"../../../chunk-FJ4JWNKL.mjs";import"../../../chunk-L2UJOICL.mjs";import"../../../chunk-T3F3RQIC.mjs";import"../../../chunk-UP67R64J.mjs";import"../../../chunk-6QERRKM4.mjs";import"../../../chunk-VSU7LYXZ.mjs";import"../../../chunk-RKS7CWAP.mjs";import"../../../chunk-BZEGLKRZ.mjs";import"../../../chunk-K7N3FRGH.mjs";import"../../../chunk-IPRG56MW.mjs";import"../../../chunk-HFEN3KJC.mjs";import"../../../chunk-XTUH2DJE.mjs";import"../../../chunk-KOLP657S.mjs";import"../../../chunk-NPVUICIF.mjs";import"../../../chunk-DFIXTV2M.mjs";import"../../../chunk-S3OBSLA5.mjs";import"../../../chunk-GLZEHRPY.mjs";import"../../../chunk-WPH2ALD6.mjs";import"../../../chunk-AZKOVKSK.mjs";import"../../../chunk-Q5Q3DJWU.mjs";import"../../../chunk-U5PBLRRV.mjs";import"../../../chunk-E4TE4NV6.mjs";import"../../../chunk-JFFTEK6Z.mjs";import"../../../chunk-JHNVX4UB.mjs";import"../../../chunk-7BXIU4ZM.mjs";import"../../../chunk-4QRKVSTE.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-3UMMMQEH.mjs";import"../../../chunk-AKQARBH3.mjs";import"../../../chunk-76M7JE4D.mjs";import"../../../chunk-SOLZ4VQH.mjs";import"../../../chunk-CSBGSBEU.mjs";import"../../../chunk-YO3GQYRJ.mjs";import"../../../chunk-OYZDAMCS.mjs";import"../../../chunk-5NRGSTPV.mjs";import"../../../chunk-ZFUP5NVF.mjs";import"../../../chunk-4UIARERB.mjs";import"../../../chunk-D4IMQTVU.mjs";import"../../../chunk-7GSXNSLD.mjs";import"../../../chunk-YNCJATT7.mjs";import"../../../chunk-L5JPAKPM.mjs";import"../../../chunk-KY7WQYN4.mjs";import"../../../chunk-ZUA4KNIR.mjs";import"../../../chunk-QTW33JYG.mjs";import"../../../chunk-MDJREBVI.mjs";import"../../../chunk-ZWHGOTSF.mjs";import"../../../chunk-Q3G5UAAD.mjs";import"../../../chunk-XGRRLABA.mjs";import"../../../chunk-CV7PH2KH.mjs";import"../../../chunk-FLHDNCNY.mjs";import"../../../chunk-FRWX5YES.mjs";import"../../../chunk-YEKQJ4YC.mjs";export{a as default};
@@ -1 +1 @@
1
- import{a as f}from"../../../chunk-ABWLO5GA.mjs";import{a as e}from"../../../chunk-2ZBHHV3P.mjs";import{a as g}from"../../../chunk-DDQVEARQ.mjs";import"../../../chunk-ZNSW443Y.mjs";import"../../../chunk-RZELSUQT.mjs";import"../../../chunk-7HLSAUWP.mjs";import"../../../chunk-YCD46AKJ.mjs";import"../../../chunk-G53ROINJ.mjs";import"../../../chunk-ONNK2NEI.mjs";import{a as c}from"../../../chunk-BXHRPSV4.mjs";import"../../../chunk-5WTGNFUL.mjs";import"../../../chunk-KGFSSFVZ.mjs";import"../../../chunk-KZCIHFTM.mjs";import{a as b}from"../../../chunk-QHIZOLWH.mjs";import{a as d}from"../../../chunk-W7QAGMX7.mjs";import"../../../chunk-CDVRH3MC.mjs";import"../../../chunk-MQG7MKTK.mjs";import"../../../chunk-DLX4NQ3T.mjs";import"../../../chunk-UW65QW5M.mjs";import"../../../chunk-AB43AQKL.mjs";import"../../../chunk-NGX2VCHS.mjs";import"../../../chunk-T46EPXCV.mjs";import"../../../chunk-KG7HG2VO.mjs";import"../../../chunk-L3V5YDPH.mjs";import"../../../chunk-QC2UWZWL.mjs";import"../../../chunk-5RTGHMF3.mjs";import{a}from"../../../chunk-LMDGHBG2.mjs";import"../../../chunk-TBKC2B4Z.mjs";import"../../../chunk-DCOFQFVJ.mjs";import"../../../chunk-6LJCQVKZ.mjs";import"../../../chunk-HF33ZXKX.mjs";import"../../../chunk-7HIL4GBK.mjs";import"../../../chunk-ZKTIH47I.mjs";import"../../../chunk-K7NFBXL3.mjs";import"../../../chunk-T3F3RQIC.mjs";import"../../../chunk-UP67R64J.mjs";import"../../../chunk-6QERRKM4.mjs";import"../../../chunk-VSU7LYXZ.mjs";import"../../../chunk-RKS7CWAP.mjs";import"../../../chunk-BZEGLKRZ.mjs";import"../../../chunk-K7N3FRGH.mjs";import"../../../chunk-IPRG56MW.mjs";import"../../../chunk-HFEN3KJC.mjs";import"../../../chunk-L2UJOICL.mjs";import"../../../chunk-HFND7WDK.mjs";import"../../../chunk-YRMNCHFO.mjs";import"../../../chunk-EOR2BAI2.mjs";import"../../../chunk-R422HRMQ.mjs";import"../../../chunk-S7SHOCHM.mjs";import"../../../chunk-DFIXTV2M.mjs";import"../../../chunk-GLZEHRPY.mjs";import"../../../chunk-UVHMI3PU.mjs";import"../../../chunk-Q5Q3DJWU.mjs";import"../../../chunk-U5PBLRRV.mjs";import"../../../chunk-E4TE4NV6.mjs";import"../../../chunk-JFFTEK6Z.mjs";import"../../../chunk-JHNVX4UB.mjs";import"../../../chunk-7BXIU4ZM.mjs";import"../../../chunk-4QRKVSTE.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-3UMMMQEH.mjs";import"../../../chunk-AKQARBH3.mjs";import"../../../chunk-76M7JE4D.mjs";import"../../../chunk-SOLZ4VQH.mjs";import"../../../chunk-CSBGSBEU.mjs";import"../../../chunk-YO3GQYRJ.mjs";import"../../../chunk-OYZDAMCS.mjs";import"../../../chunk-5NRGSTPV.mjs";import"../../../chunk-ZFUP5NVF.mjs";import"../../../chunk-4UIARERB.mjs";import"../../../chunk-D4IMQTVU.mjs";import"../../../chunk-7GSXNSLD.mjs";import"../../../chunk-YNCJATT7.mjs";import"../../../chunk-L5JPAKPM.mjs";import"../../../chunk-KY7WQYN4.mjs";import"../../../chunk-ZUA4KNIR.mjs";import"../../../chunk-QTW33JYG.mjs";import"../../../chunk-MDJREBVI.mjs";import"../../../chunk-ZWHGOTSF.mjs";import"../../../chunk-Q3G5UAAD.mjs";import"../../../chunk-XGRRLABA.mjs";import"../../../chunk-FLHDNCNY.mjs";import"../../../chunk-FRWX5YES.mjs";import"../../../chunk-CV7PH2KH.mjs";import"../../../chunk-YEKQJ4YC.mjs";export{f as ColleaguesView,a as FileView,e as KnowledgeView,b as PlanningView,c as ProjectView,d as ProjectsIndexView,g as TeamsIndexView};
1
+ import{a as f}from"../../../chunk-ABWLO5GA.mjs";import{a as e}from"../../../chunk-2ZBHHV3P.mjs";import{a as g}from"../../../chunk-DDQVEARQ.mjs";import"../../../chunk-ZNSW443Y.mjs";import"../../../chunk-RZELSUQT.mjs";import"../../../chunk-7HLSAUWP.mjs";import"../../../chunk-YCD46AKJ.mjs";import"../../../chunk-G53ROINJ.mjs";import"../../../chunk-ONNK2NEI.mjs";import{a as c}from"../../../chunk-6MFAWZRQ.mjs";import"../../../chunk-5WTGNFUL.mjs";import"../../../chunk-2W5UZALU.mjs";import"../../../chunk-V7PGZR23.mjs";import"../../../chunk-UW65QW5M.mjs";import"../../../chunk-AB43AQKL.mjs";import"../../../chunk-KZCIHFTM.mjs";import{a as b}from"../../../chunk-QHIZOLWH.mjs";import{a as d}from"../../../chunk-QPGVTPZ4.mjs";import"../../../chunk-MQG7MKTK.mjs";import"../../../chunk-CDVRH3MC.mjs";import"../../../chunk-NGX2VCHS.mjs";import"../../../chunk-T46EPXCV.mjs";import"../../../chunk-KG7HG2VO.mjs";import"../../../chunk-L3V5YDPH.mjs";import"../../../chunk-QC2UWZWL.mjs";import"../../../chunk-5RTGHMF3.mjs";import{a}from"../../../chunk-NBWQTY4K.mjs";import"../../../chunk-JMJUFHDA.mjs";import"../../../chunk-DCOFQFVJ.mjs";import"../../../chunk-6LJCQVKZ.mjs";import"../../../chunk-HF33ZXKX.mjs";import"../../../chunk-HFND7WDK.mjs";import"../../../chunk-7GWTDITT.mjs";import"../../../chunk-4745QCXP.mjs";import"../../../chunk-FJ4JWNKL.mjs";import"../../../chunk-L2UJOICL.mjs";import"../../../chunk-T3F3RQIC.mjs";import"../../../chunk-UP67R64J.mjs";import"../../../chunk-6QERRKM4.mjs";import"../../../chunk-VSU7LYXZ.mjs";import"../../../chunk-RKS7CWAP.mjs";import"../../../chunk-BZEGLKRZ.mjs";import"../../../chunk-K7N3FRGH.mjs";import"../../../chunk-IPRG56MW.mjs";import"../../../chunk-HFEN3KJC.mjs";import"../../../chunk-YRMNCHFO.mjs";import"../../../chunk-EOR2BAI2.mjs";import"../../../chunk-R422HRMQ.mjs";import"../../../chunk-S7SHOCHM.mjs";import"../../../chunk-DFIXTV2M.mjs";import"../../../chunk-GLZEHRPY.mjs";import"../../../chunk-UVHMI3PU.mjs";import"../../../chunk-Q5Q3DJWU.mjs";import"../../../chunk-U5PBLRRV.mjs";import"../../../chunk-E4TE4NV6.mjs";import"../../../chunk-JFFTEK6Z.mjs";import"../../../chunk-JHNVX4UB.mjs";import"../../../chunk-7BXIU4ZM.mjs";import"../../../chunk-4QRKVSTE.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-3UMMMQEH.mjs";import"../../../chunk-AKQARBH3.mjs";import"../../../chunk-76M7JE4D.mjs";import"../../../chunk-SOLZ4VQH.mjs";import"../../../chunk-CSBGSBEU.mjs";import"../../../chunk-YO3GQYRJ.mjs";import"../../../chunk-OYZDAMCS.mjs";import"../../../chunk-5NRGSTPV.mjs";import"../../../chunk-ZFUP5NVF.mjs";import"../../../chunk-4UIARERB.mjs";import"../../../chunk-D4IMQTVU.mjs";import"../../../chunk-7GSXNSLD.mjs";import"../../../chunk-YNCJATT7.mjs";import"../../../chunk-L5JPAKPM.mjs";import"../../../chunk-KY7WQYN4.mjs";import"../../../chunk-ZUA4KNIR.mjs";import"../../../chunk-QTW33JYG.mjs";import"../../../chunk-MDJREBVI.mjs";import"../../../chunk-ZWHGOTSF.mjs";import"../../../chunk-Q3G5UAAD.mjs";import"../../../chunk-XGRRLABA.mjs";import"../../../chunk-CV7PH2KH.mjs";import"../../../chunk-FLHDNCNY.mjs";import"../../../chunk-FRWX5YES.mjs";import"../../../chunk-YEKQJ4YC.mjs";export{f as ColleaguesView,a as FileView,e as KnowledgeView,b as PlanningView,c as ProjectView,d as ProjectsIndexView,g as TeamsIndexView};
@@ -1 +1 @@
1
- import{a as s}from"../../chunk-S4CCJK44.mjs";import{a as w}from"../../chunk-ABWLO5GA.mjs";import{a as h}from"../../chunk-2ZBHHV3P.mjs";import{a as P}from"../../chunk-DDQVEARQ.mjs";import{a as C}from"../../chunk-ZNSW443Y.mjs";import{a as u}from"../../chunk-RZELSUQT.mjs";import{a as n}from"../../chunk-7HLSAUWP.mjs";import{a as m}from"../../chunk-SRCJSWQF.mjs";import{a as l}from"../../chunk-LCHPGIER.mjs";import{a as f}from"../../chunk-UE66RIJN.mjs";import{a as p}from"../../chunk-GMLLRSAH.mjs";import{a as x}from"../../chunk-YCD46AKJ.mjs";import{a as g}from"../../chunk-YONYS5B2.mjs";import{a as i}from"../../chunk-G53ROINJ.mjs";import{a as d}from"../../chunk-ONNK2NEI.mjs";import{a as t}from"../../chunk-KSYES4GX.mjs";import{a}from"../../chunk-7YSJAVXO.mjs";import{a as r}from"../../chunk-AQQCH7Z2.mjs";import"../../chunk-3W5SE2HO.mjs";import{a as S}from"../../chunk-BXHRPSV4.mjs";import"../../chunk-5WTGNFUL.mjs";import"../../chunk-KGFSSFVZ.mjs";import"../../chunk-KZCIHFTM.mjs";import{a as c}from"../../chunk-QHIZOLWH.mjs";import{a as b}from"../../chunk-W7QAGMX7.mjs";import"../../chunk-CDVRH3MC.mjs";import"../../chunk-MQG7MKTK.mjs";import"../../chunk-DLX4NQ3T.mjs";import"../../chunk-UW65QW5M.mjs";import"../../chunk-AB43AQKL.mjs";import"../../chunk-NGX2VCHS.mjs";import"../../chunk-T46EPXCV.mjs";import"../../chunk-KG7HG2VO.mjs";import"../../chunk-L3V5YDPH.mjs";import"../../chunk-QC2UWZWL.mjs";import"../../chunk-5RTGHMF3.mjs";import{a as D}from"../../chunk-LMDGHBG2.mjs";import"../../chunk-TBKC2B4Z.mjs";import"../../chunk-DCOFQFVJ.mjs";import"../../chunk-6LJCQVKZ.mjs";import"../../chunk-DXRAJQMA.mjs";import"../../chunk-HF33ZXKX.mjs";import"../../chunk-7HIL4GBK.mjs";import"../../chunk-ZKTIH47I.mjs";import"../../chunk-K7NFBXL3.mjs";import"../../chunk-T3F3RQIC.mjs";import"../../chunk-UP67R64J.mjs";import"../../chunk-6QERRKM4.mjs";import"../../chunk-VSU7LYXZ.mjs";import"../../chunk-RKS7CWAP.mjs";import"../../chunk-BZEGLKRZ.mjs";import"../../chunk-K7N3FRGH.mjs";import"../../chunk-IPRG56MW.mjs";import"../../chunk-HFEN3KJC.mjs";import"../../chunk-L2UJOICL.mjs";import"../../chunk-HFND7WDK.mjs";import"../../chunk-YRMNCHFO.mjs";import{a as o}from"../../chunk-EOR2BAI2.mjs";import{a as e}from"../../chunk-XTUH2DJE.mjs";import"../../chunk-R422HRMQ.mjs";import"../../chunk-KOLP657S.mjs";import"../../chunk-NPVUICIF.mjs";import"../../chunk-S7SHOCHM.mjs";import"../../chunk-DFIXTV2M.mjs";import"../../chunk-S3OBSLA5.mjs";import"../../chunk-GLZEHRPY.mjs";import"../../chunk-WPH2ALD6.mjs";import"../../chunk-AZKOVKSK.mjs";import"../../chunk-UVHMI3PU.mjs";import"../../chunk-Q5Q3DJWU.mjs";import"../../chunk-U5PBLRRV.mjs";import"../../chunk-E4TE4NV6.mjs";import"../../chunk-JFFTEK6Z.mjs";import"../../chunk-JHNVX4UB.mjs";import"../../chunk-7BXIU4ZM.mjs";import"../../chunk-4QRKVSTE.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-3UMMMQEH.mjs";import"../../chunk-22LHS2J6.mjs";import"../../chunk-IC2ABKAM.mjs";import"../../chunk-FHMQVAKQ.mjs";import"../../chunk-X5KZKO2V.mjs";import"../../chunk-7WIO2CIC.mjs";import"../../chunk-55EX54R7.mjs";import"../../chunk-6C4WESLL.mjs";import"../../chunk-ZW24FGHA.mjs";import"../../chunk-DHYTERFI.mjs";import"../../chunk-WISC5QJV.mjs";import"../../chunk-ZDPQXVTF.mjs";import"../../chunk-PDY7JYY3.mjs";import"../../chunk-Q5XT55O3.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FMJBJ3HN.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-AKQARBH3.mjs";import"../../chunk-76M7JE4D.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-OYZDAMCS.mjs";import"../../chunk-5NRGSTPV.mjs";import"../../chunk-ZFUP5NVF.mjs";import"../../chunk-4UIARERB.mjs";import"../../chunk-D4IMQTVU.mjs";import"../../chunk-7GSXNSLD.mjs";import"../../chunk-YNCJATT7.mjs";import"../../chunk-L5JPAKPM.mjs";import"../../chunk-KY7WQYN4.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-QTW33JYG.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-FLHDNCNY.mjs";import"../../chunk-FRWX5YES.mjs";import"../../chunk-CV7PH2KH.mjs";import"../../chunk-WU3JMLSC.mjs";import"../../chunk-BZAYEKYC.mjs";import"../../chunk-YEKQJ4YC.mjs";export{r as AppSidebarLeft,l as ColleagueCard,f as ColleagueForm,x as ColleagueTypeSelection,w as ColleaguesView,t as DashboardHeader,s as DashboardPage,e as DigitalColleageusLayout,g as DigitalColleagueClone,i as DigitalColleagueOptions,d as DocumentEdit,u as DocumentPreview,D as FileView,C as KnowledgeBrowser,p as KnowledgeSearch,h as KnowledgeView,a as MainPage,o as ManagementSidebar,c as PlanningView,S as ProjectView,b as ProjectsIndexView,m as SearchableSelect,n as TeamForm,P as TeamsIndexView};
1
+ import{a as s}from"../../chunk-MIM3VFET.mjs";import{a as w}from"../../chunk-ABWLO5GA.mjs";import{a as h}from"../../chunk-2ZBHHV3P.mjs";import{a as P}from"../../chunk-DDQVEARQ.mjs";import{a as C}from"../../chunk-ZNSW443Y.mjs";import{a as u}from"../../chunk-RZELSUQT.mjs";import{a as n}from"../../chunk-7HLSAUWP.mjs";import{a as m}from"../../chunk-SRCJSWQF.mjs";import{a as l}from"../../chunk-LCHPGIER.mjs";import{a as f}from"../../chunk-UE66RIJN.mjs";import{a as p}from"../../chunk-GMLLRSAH.mjs";import{a as x}from"../../chunk-YCD46AKJ.mjs";import{a as g}from"../../chunk-YONYS5B2.mjs";import{a as i}from"../../chunk-G53ROINJ.mjs";import{a as d}from"../../chunk-ONNK2NEI.mjs";import{a as t}from"../../chunk-KSYES4GX.mjs";import{a}from"../../chunk-3DXSTAQP.mjs";import{a as r}from"../../chunk-AQQCH7Z2.mjs";import"../../chunk-3W5SE2HO.mjs";import{a as S}from"../../chunk-6MFAWZRQ.mjs";import"../../chunk-5WTGNFUL.mjs";import"../../chunk-2W5UZALU.mjs";import"../../chunk-V7PGZR23.mjs";import"../../chunk-UW65QW5M.mjs";import"../../chunk-AB43AQKL.mjs";import"../../chunk-KZCIHFTM.mjs";import{a as c}from"../../chunk-QHIZOLWH.mjs";import{a as b}from"../../chunk-QPGVTPZ4.mjs";import"../../chunk-MQG7MKTK.mjs";import"../../chunk-CDVRH3MC.mjs";import"../../chunk-DXRAJQMA.mjs";import"../../chunk-NGX2VCHS.mjs";import"../../chunk-T46EPXCV.mjs";import"../../chunk-KG7HG2VO.mjs";import"../../chunk-L3V5YDPH.mjs";import"../../chunk-QC2UWZWL.mjs";import"../../chunk-5RTGHMF3.mjs";import{a as D}from"../../chunk-NBWQTY4K.mjs";import"../../chunk-JMJUFHDA.mjs";import"../../chunk-DCOFQFVJ.mjs";import"../../chunk-6LJCQVKZ.mjs";import"../../chunk-HF33ZXKX.mjs";import"../../chunk-HFND7WDK.mjs";import"../../chunk-7GWTDITT.mjs";import"../../chunk-4745QCXP.mjs";import"../../chunk-FJ4JWNKL.mjs";import"../../chunk-L2UJOICL.mjs";import"../../chunk-T3F3RQIC.mjs";import"../../chunk-UP67R64J.mjs";import"../../chunk-6QERRKM4.mjs";import"../../chunk-VSU7LYXZ.mjs";import"../../chunk-RKS7CWAP.mjs";import"../../chunk-BZEGLKRZ.mjs";import"../../chunk-K7N3FRGH.mjs";import"../../chunk-IPRG56MW.mjs";import"../../chunk-HFEN3KJC.mjs";import"../../chunk-YRMNCHFO.mjs";import{a as o}from"../../chunk-EOR2BAI2.mjs";import{a as e}from"../../chunk-XTUH2DJE.mjs";import"../../chunk-R422HRMQ.mjs";import"../../chunk-KOLP657S.mjs";import"../../chunk-NPVUICIF.mjs";import"../../chunk-S7SHOCHM.mjs";import"../../chunk-DFIXTV2M.mjs";import"../../chunk-S3OBSLA5.mjs";import"../../chunk-GLZEHRPY.mjs";import"../../chunk-WPH2ALD6.mjs";import"../../chunk-AZKOVKSK.mjs";import"../../chunk-UVHMI3PU.mjs";import"../../chunk-Q5Q3DJWU.mjs";import"../../chunk-U5PBLRRV.mjs";import"../../chunk-E4TE4NV6.mjs";import"../../chunk-JFFTEK6Z.mjs";import"../../chunk-JHNVX4UB.mjs";import"../../chunk-7BXIU4ZM.mjs";import"../../chunk-4QRKVSTE.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-3UMMMQEH.mjs";import"../../chunk-ZDPQXVTF.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-HDLKX5L3.mjs";import"../../chunk-PDY7JYY3.mjs";import"../../chunk-DHYTERFI.mjs";import"../../chunk-WISC5QJV.mjs";import"../../chunk-Q5XT55O3.mjs";import"../../chunk-FMJBJ3HN.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-AKQARBH3.mjs";import"../../chunk-76M7JE4D.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-OYZDAMCS.mjs";import"../../chunk-5NRGSTPV.mjs";import"../../chunk-ZFUP5NVF.mjs";import"../../chunk-4UIARERB.mjs";import"../../chunk-D4IMQTVU.mjs";import"../../chunk-7GSXNSLD.mjs";import"../../chunk-YNCJATT7.mjs";import"../../chunk-L5JPAKPM.mjs";import"../../chunk-KY7WQYN4.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-QTW33JYG.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-WU3JMLSC.mjs";import"../../chunk-BZAYEKYC.mjs";import"../../chunk-CV7PH2KH.mjs";import"../../chunk-FLHDNCNY.mjs";import"../../chunk-FRWX5YES.mjs";import"../../chunk-YEKQJ4YC.mjs";export{r as AppSidebarLeft,l as ColleagueCard,f as ColleagueForm,x as ColleagueTypeSelection,w as ColleaguesView,t as DashboardHeader,s as DashboardPage,e as DigitalColleageusLayout,g as DigitalColleagueClone,i as DigitalColleagueOptions,d as DocumentEdit,u as DocumentPreview,D as FileView,C as KnowledgeBrowser,p as KnowledgeSearch,h as KnowledgeView,a as MainPage,o as ManagementSidebar,c as PlanningView,S as ProjectView,b as ProjectsIndexView,m as SearchableSelect,n as TeamForm,P as TeamsIndexView};