cortex-react-components 2.27.0 → 2.28.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-2TUBS2HM.mjs +4 -0
- package/dist/{chunk-JDIPWJBD.mjs → chunk-46N4YPMB.mjs} +1 -1
- package/dist/{chunk-FZX3ZPEU.mjs → chunk-4LUF5GZ6.mjs} +1 -1
- package/dist/chunk-6UULUGR2.mjs +1 -0
- package/dist/chunk-6ZMZX5TB.mjs +1 -0
- package/dist/{chunk-GHOL5L32.mjs → chunk-7BYNW77I.mjs} +1 -1
- package/dist/{chunk-ZEALRBXW.mjs → chunk-7DDFZ2M3.mjs} +1 -1
- package/dist/{chunk-C4RWEPVF.mjs → chunk-7MPZOMXK.mjs} +1 -1
- package/dist/{chunk-75F3LJMX.mjs → chunk-AABB4TFO.mjs} +1 -1
- package/dist/{chunk-GTZJWMZR.mjs → chunk-ALEPCEWP.mjs} +1 -1
- package/dist/{chunk-TJZVV3XH.mjs → chunk-ATPB5HSG.mjs} +1 -1
- package/dist/{chunk-RGOKBIQ5.mjs → chunk-CC57QZMB.mjs} +1 -1
- package/dist/{chunk-OQBCIB4L.mjs → chunk-CK2TD4BY.mjs} +1 -1
- package/dist/{chunk-NBJLXJQ3.mjs → chunk-COBOHCBL.mjs} +1 -1
- package/dist/chunk-DNMM3Q72.mjs +9 -0
- package/dist/{chunk-LJXTXROJ.mjs → chunk-EM4CGGGV.mjs} +1 -1
- package/dist/{chunk-AJQHGVZ5.mjs → chunk-FB5PBKLV.mjs} +1 -1
- package/dist/{chunk-TVTTUSWM.mjs → chunk-FBEHQRZ4.mjs} +1 -1
- package/dist/{chunk-VKCDLKYH.mjs → chunk-FJ2HHNPX.mjs} +1 -1
- package/dist/{chunk-TYARLEAC.mjs → chunk-G2DQLEAJ.mjs} +1 -1
- package/dist/chunk-G3BOVXUM.mjs +4 -0
- package/dist/{chunk-3Y7QG6VP.mjs → chunk-IISYRLNU.mjs} +1 -1
- package/dist/{chunk-NINFDOV5.mjs → chunk-ITNR7N47.mjs} +1 -1
- package/dist/chunk-IUVPH5LV.mjs +4 -0
- package/dist/chunk-JQL4XGAF.mjs +4 -0
- package/dist/{chunk-EM3T2XYC.mjs → chunk-L2OBO2VZ.mjs} +1 -1
- package/dist/chunk-LEZ6G4X7.mjs +4 -0
- package/dist/{chunk-2O54GV6Q.mjs → chunk-LJFBHY4P.mjs} +1 -1
- package/dist/chunk-MCOHKE2T.mjs +1 -0
- package/dist/{chunk-SWE754OC.mjs → chunk-MH4YPGH4.mjs} +1 -1
- package/dist/{chunk-RJGYVDOU.mjs → chunk-MU47F4UR.mjs} +1 -1
- package/dist/{chunk-4FEVXBNU.mjs → chunk-NCJAMNMQ.mjs} +1 -1
- package/dist/{chunk-WIRQ5IRT.mjs → chunk-NDBSSX6Q.mjs} +1 -1
- package/dist/{chunk-7NWIK57W.mjs → chunk-NXAXOI33.mjs} +1 -1
- package/dist/{chunk-3HNU2NYP.mjs → chunk-QDP657UR.mjs} +1 -1
- package/dist/{chunk-KEK763EH.mjs → chunk-QKDYTCZC.mjs} +1 -1
- package/dist/{chunk-FE7ZGUPU.mjs → chunk-RV4XL2CG.mjs} +1 -1
- package/dist/{chunk-2BRDNDUB.mjs → chunk-SME3D72Q.mjs} +1 -1
- package/dist/{chunk-LEF6M5ZD.mjs → chunk-SNFBF6KT.mjs} +1 -1
- package/dist/{chunk-7TSR2LQB.mjs → chunk-TIAA3ZN3.mjs} +1 -1
- package/dist/{chunk-3NRXQBBS.mjs → chunk-TIIYFAV6.mjs} +1 -1
- package/dist/{chunk-HSQAHQNP.mjs → chunk-TKCFCYEQ.mjs} +1 -1
- package/dist/{chunk-OWL3KUE3.mjs → chunk-TKY52BNP.mjs} +1 -1
- package/dist/{chunk-7R47MHQE.mjs → chunk-TQKXHMD7.mjs} +1 -1
- package/dist/chunk-VFIMFZX5.mjs +1 -0
- package/dist/{chunk-CXOVEABI.mjs → chunk-VNKGAW4K.mjs} +1 -1
- package/dist/{chunk-I75OOO4H.mjs → chunk-VRHJOUL3.mjs} +1 -1
- package/dist/{chunk-TTWEHUP5.mjs → chunk-WRCRZUGO.mjs} +1 -1
- package/dist/{chunk-XMYXQR5W.mjs → chunk-X3YJJBFJ.mjs} +1 -1
- package/dist/{chunk-LAP57E2L.mjs → chunk-XJKNH5LL.mjs} +1 -1
- package/dist/{chunk-5MWZTJYP.mjs → chunk-YH72WKGC.mjs} +1 -1
- package/dist/chunk-YRDJBAYA.mjs +4 -0
- package/dist/chunk-ZLFZBT3K.mjs +1 -0
- package/dist/components/AdvancedComponents/index.js +8 -8
- package/dist/components/AdvancedComponents/index.mjs +1 -1
- package/dist/components/AdvancedComponents/org-chart-component/CompanyNode.d.ts +7 -0
- package/dist/components/AdvancedComponents/org-chart-component/CompanyNode.js +1 -0
- package/dist/components/AdvancedComponents/org-chart-component/CompanyNode.mjs +1 -0
- package/dist/components/AdvancedComponents/org-chart-component/OrgChart.d.ts +2 -0
- package/dist/components/AdvancedComponents/org-chart-component/OrgChart.js +8 -8
- package/dist/components/AdvancedComponents/org-chart-component/OrgChart.mjs +1 -1
- package/dist/components/AdvancedComponents/org-chart-component/OrgNode.js +5 -5
- package/dist/components/AdvancedComponents/org-chart-component/OrgNode.mjs +1 -1
- package/dist/components/AdvancedComponents/org-chart-component/OrgTree.d.ts +11 -2
- package/dist/components/AdvancedComponents/org-chart-component/OrgTree.js +8 -8
- package/dist/components/AdvancedComponents/org-chart-component/OrgTree.mjs +1 -1
- package/dist/components/AdvancedComponents/org-chart-component/index.d.ts +2 -0
- package/dist/components/AdvancedComponents/org-chart-component/index.js +8 -8
- package/dist/components/AdvancedComponents/org-chart-component/index.mjs +1 -1
- package/dist/components/AdvancedComponents/org-chart-component/mockData.d.ts +9 -7
- package/dist/components/AdvancedComponents/org-chart-component/mockData.js +1 -1
- package/dist/components/AdvancedComponents/org-chart-component/mockData.mjs +1 -1
- package/dist/components/AdvancedComponents/org-chart-component/types/index.mjs +1 -1
- package/dist/components/AdvancedComponents/org-chart-component/types.d.ts +42 -0
- package/dist/components/AdvancedComponents/org-chart-component/types.js +1 -0
- package/dist/components/AdvancedComponents/org-chart-component/types.mjs +1 -0
- package/dist/components/AdvancedComponents/org-chart-component/utils.d.ts +2 -2
- package/dist/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.mjs +1 -1
- package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/Cards/ContentCard.mjs +1 -1
- package/dist/components/Cards/FeatureCard.mjs +1 -1
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/Chat/ChatInterface.js +11 -11
- package/dist/components/Chat/ChatInterface.mjs +1 -1
- package/dist/components/Chat/Components/Message.js +1 -1
- package/dist/components/Chat/Components/Message.mjs +1 -1
- package/dist/components/Chat/CopilotInterface.js +11 -10
- package/dist/components/Chat/CopilotInterface.mjs +1 -1
- package/dist/components/Chat/PartTypes/CodeBlock.d.ts +7 -5
- package/dist/components/Chat/PartTypes/CodeBlock.js +1 -1
- package/dist/components/Chat/PartTypes/CodeBlock.mjs +1 -1
- package/dist/components/Chat/PartTypes/ColleagueHandoff.d.ts +18 -0
- package/dist/components/Chat/PartTypes/ColleagueHandoff.js +5 -0
- package/dist/components/Chat/PartTypes/ColleagueHandoff.mjs +2 -0
- package/dist/components/Chat/PartTypes/Confirmation.d.ts +49 -0
- package/dist/components/Chat/PartTypes/Confirmation.js +4 -0
- package/dist/components/Chat/PartTypes/Confirmation.mjs +2 -0
- package/dist/components/Chat/PartTypes/Conversation.css +1 -0
- package/dist/components/Chat/PartTypes/Conversation.d.ts +15 -0
- package/dist/components/Chat/PartTypes/Conversation.js +4 -0
- package/dist/components/Chat/PartTypes/Conversation.mjs +2 -0
- package/dist/components/Chat/PartTypes/MessageHandler.js +8 -7
- package/dist/components/Chat/PartTypes/MessageHandler.mjs +1 -1
- package/dist/components/Chat/PartTypes/Tool.d.ts +12 -11
- package/dist/components/Chat/PartTypes/Tool.js +1 -1
- package/dist/components/Chat/PartTypes/Tool.mjs +1 -1
- package/dist/components/Chat/PartTypes/index.d.ts +3 -0
- package/dist/components/Chat/PartTypes/index.js +7 -6
- package/dist/components/Chat/PartTypes/index.mjs +1 -1
- package/dist/components/Chat/demo-long-messages.js +18 -17
- package/dist/components/Chat/demo-long-messages.mjs +1 -1
- package/dist/components/Chat/demo-tests.js +80 -79
- package/dist/components/Chat/demo-tests.mjs +1 -1
- package/dist/components/Chat/demo.js +11 -10
- package/dist/components/Chat/demo.mjs +1 -1
- package/dist/components/Chat/example-usage.js +12 -11
- package/dist/components/Chat/example-usage.mjs +1 -1
- package/dist/components/Chat/example-with-vercel-ai.js +11 -10
- package/dist/components/Chat/example-with-vercel-ai.mjs +1 -1
- package/dist/components/Chat/index.d.ts +0 -2
- package/dist/components/Chat/index.js +12 -14
- package/dist/components/Chat/index.mjs +1 -1
- package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
- package/dist/components/DigitalColleagues/Pages/dashboardpage.mjs +1 -1
- package/dist/components/DigitalColleagues/Views/index.mjs +1 -1
- package/dist/components/DigitalColleagues/index.mjs +1 -1
- package/dist/components/Foundary/Knowledge/add-knowledge-modal.mjs +1 -1
- package/dist/components/Foundary/Knowledge/add-team-context.mjs +1 -1
- package/dist/components/Foundary/MainPage.mjs +1 -1
- package/dist/components/Foundary/Pages/dashboardpage.mjs +1 -1
- package/dist/components/Foundary/RichText/index.mjs +1 -1
- package/dist/components/Foundary/RichText/plugins/toolbar-plugin.mjs +1 -1
- package/dist/components/Foundary/Views/ColleaguesView.mjs +1 -1
- package/dist/components/Foundary/Views/KnowledgeView.mjs +1 -1
- package/dist/components/Foundary/Views/index.mjs +1 -1
- package/dist/components/Foundary/document-edit.mjs +1 -1
- package/dist/components/Foundary/document-preview-examples.mjs +1 -1
- package/dist/components/Foundary/document-preview.mjs +1 -1
- package/dist/components/Foundary/file-edit.mjs +1 -1
- package/dist/components/Foundary/index.mjs +1 -1
- package/dist/components/Foundary/knowledge-browser.mjs +1 -1
- package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/HighImpact/index.mjs +1 -1
- package/dist/components/Heros/LowImpact/index.mjs +1 -1
- package/dist/components/Heros/MediumImpact/index.mjs +1 -1
- package/dist/components/Heros/PostHero/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
- package/dist/components/Layouts/Print.mjs +1 -1
- package/dist/components/Layouts/SlideShow.mjs +1 -1
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Payload/RichText/index.mjs +1 -1
- package/dist/components/Payload/RichText/serialize.mjs +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/Projects/FileView.mjs +1 -1
- package/dist/components/Projects/KanbanBoardView.mjs +1 -1
- package/dist/components/Projects/ProjectPage.mjs +1 -1
- package/dist/components/Projects/ProjectView.mjs +1 -1
- package/dist/components/Projects/ProjectsIndexView.mjs +1 -1
- package/dist/components/Projects/TaskDetailsModal.mjs +1 -1
- package/dist/components/Projects/file-list.mjs +1 -1
- package/dist/components/Projects/index.mjs +1 -1
- package/dist/components/dc-temp/index.mjs +1 -1
- package/dist/components/index.js +35 -37
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/globals.css +1 -1
- package/dist/index.js +36 -38
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/pages/Blog.mjs +1 -1
- package/dist/pages/Documentation.mjs +1 -1
- package/dist/pages/IndexPage.mjs +1 -1
- package/dist/pages/Intranet.mjs +1 -1
- package/dist/pages/LandingPage.mjs +1 -1
- package/dist/pages/Page.mjs +1 -1
- package/dist/pages/Publish.mjs +1 -1
- package/dist/pages/Website.mjs +1 -1
- package/dist/sections/AboutSection.mjs +1 -1
- package/dist/sections/BlogDetail.mjs +1 -1
- package/dist/sections/BlogList.mjs +1 -1
- package/dist/sections/BlogListSection.mjs +1 -1
- package/dist/sections/ContactSection.mjs +1 -1
- package/dist/sections/PageSections.mjs +1 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/ServiceDetail.mjs +1 -1
- package/dist/sections/ServiceDetailSection.mjs +1 -1
- package/dist/sections/ServiceSection.mjs +1 -1
- package/dist/sections/index.mjs +1 -1
- package/package.json +3 -2
- package/dist/chunk-7JDMW5R3.mjs +0 -4
- package/dist/chunk-B7RZ4K6Y.mjs +0 -1
- package/dist/chunk-BAB3ATRB.mjs +0 -4
- package/dist/chunk-EPJJKGCG.mjs +0 -1
- package/dist/chunk-G6OGEIN4.mjs +0 -4
- package/dist/chunk-KQRQXBJ3.mjs +0 -9
- package/dist/chunk-N7M6FTIO.mjs +0 -4
- package/dist/chunk-SOTCQX2G.mjs +0 -1
- package/dist/chunk-UA2E23AS.mjs +0 -4
- package/dist/chunk-UJITFLIZ.mjs +0 -1
- package/dist/components/Chat/ChatInterfaceMessages.d.ts +0 -24
- package/dist/components/Chat/ChatInterfaceMessages.js +0 -7
- package/dist/components/Chat/ChatInterfaceMessages.mjs +0 -2
- package/dist/components/Chat/ChatMessage.d.ts +0 -19
- package/dist/components/Chat/ChatMessage.js +0 -7
- package/dist/components/Chat/ChatMessage.mjs +0 -1
- /package/dist/components/Chat/{ChatInterfaceMessages.css → PartTypes/ColleagueHandoff.css} +0 -0
- /package/dist/components/Chat/{ChatMessage.css → PartTypes/Confirmation.css} +0 -0
|
@@ -10,6 +10,8 @@ import { OrgChartProps } from './types';
|
|
|
10
10
|
* @param className - Optional additional CSS classes
|
|
11
11
|
* @param expandable - Whether nodes can be collapsed/expanded (default: false)
|
|
12
12
|
* @param initiallyExpanded - Whether nodes start expanded (default: true)
|
|
13
|
+
* @param companyInfo - Optional company information (name, logo) to display at the top
|
|
14
|
+
* @param defaultExpandedLevels - Number of levels to show expanded by default (default: 2)
|
|
13
15
|
*/
|
|
14
16
|
export declare const OrgChart: React.FC<OrgChartProps>;
|
|
15
17
|
export default OrgChart;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var R=Object.defineProperty;var W=Object.getOwnPropertyDescriptor;var z=Object.getOwnPropertyNames;var F=Object.prototype.hasOwnProperty;var H=(e,r)=>{for(var n in r)R(e,n,{get:r[n],enumerable:!0})},A=(e,r,n,d)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of z(r))!F.call(e,t)&&t!==n&&R(e,t,{get:()=>r[t],enumerable:!(d=W(r,t))||d.enumerable});return e};var D=e=>A(R({},"__esModule",{value:!0}),e);var G={};H(G,{OrgChart:()=>$,default:()=>q});module.exports=D(G);function k(e){let r=new Map,n=[];e.forEach(t=>{r.set(t.id,{...t,children:[],level:0})}),e.forEach(t=>{let a=r.get(t.id);if(!a)return;let s=typeof t.manager=="string"?t.manager:t.manager?.id;if(s){let i=r.get(s);i?(i.children.push(a),a.level=i.level+1):n.push(a)}else n.push(a)});let d=(t,a)=>{t.level=a,t.children.forEach(s=>d(s,a+1))};return n.forEach(t=>d(t,0)),n}function M(e){if(!e)return"?";let r=e.trim().split(/\s+/);return r.length===1?r[0].substring(0,2).toUpperCase():(r[0][0]+r[r.length-1][0]).toUpperCase()}function T(e){return e&&{P:"bg-primary/20 text-primary border-primary/30",SM:"bg-accent/20 text-accent border-accent/30",M:"bg-accent/15 text-accent border-accent/25",SC2:"bg-card text-card-foreground border-border",SC1:"bg-card text-card-foreground border-border",C3:"bg-muted text-muted-foreground border-border",C2:"bg-muted text-muted-foreground border-border",C1:"bg-muted text-muted-foreground border-border"}[e]||"bg-muted text-muted-foreground"}var g=require("react");var j={P:"Partner",SM:"Senior Manager",M:"Manager",SC1:"Senior Consultant 1",SC2:"Senior Consultant 2",C1:"Consultant 1",C2:"Consultant 2",C3:"Consultant 3"};var o=require("react/jsx-runtime"),L=({node:e,onNodeClick:r,expandable:n=!1,isExpanded:d=!0,onToggleExpand:t})=>{let a=e.children.length>0,s=n&&a;return(0,o.jsx)("div",{className:"flex flex-col items-center",children:(0,o.jsxs)("div",{className:`
|
|
2
2
|
relative bg-card border border-border rounded-lg shadow-sm
|
|
3
3
|
transition-all duration-200 hover:shadow-md hover:border-primary/50
|
|
4
4
|
${r?"cursor-pointer":""}
|
|
5
|
-
w-64 p-4
|
|
6
|
-
`,onClick:()=>r?.(e),children:[(0,
|
|
5
|
+
w-64 p-4 min-h-[180px] flex flex-col
|
|
6
|
+
`,onClick:()=>r?.(e),children:[(0,o.jsxs)("div",{className:"flex items-start gap-3",children:[(0,o.jsx)("div",{className:"flex-shrink-0",children:e.profilePicture?.url?(0,o.jsx)("img",{src:e.profilePicture.url,alt:e.profilePicture.alt||e.name,className:"w-12 h-12 rounded-full object-cover border-2 border-primary/20"}):(0,o.jsx)("div",{className:"w-12 h-12 rounded-full bg-primary/10 border-2 border-primary/20 flex items-center justify-center",children:(0,o.jsx)("span",{className:"text-sm font-semibold text-primary",children:M(e.name)})})}),(0,o.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,o.jsx)("h3",{className:"font-semibold text-card-foreground text-sm truncate",children:e.name}),(0,o.jsx)("p",{className:"text-xs text-muted-foreground truncate",children:e.email}),e.jobRole&&(0,o.jsx)("div",{className:"mt-2",children:(0,o.jsx)("span",{className:`
|
|
7
7
|
inline-block px-2 py-0.5 rounded text-xs font-medium border
|
|
8
|
-
${
|
|
9
|
-
`,children:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
${T(e.jobRole)}
|
|
9
|
+
`,children:j[e.jobRole]})})]})]}),(0,o.jsx)("div",{className:"mt-3 pt-3 border-t border-border flex-1 flex flex-col justify-start",children:e.about?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("p",{className:"text-xs text-muted-foreground line-clamp-2",title:e.about.length>100?e.about:void 0,children:e.about}),e.about.length>100&&(0,o.jsx)("div",{className:"mt-1 text-xs text-muted-foreground/70 italic",children:"Hover to see full description"})]}):(0,o.jsx)("div",{className:"text-xs text-muted-foreground/50 italic",children:"No description available"})}),s&&(0,o.jsx)("button",{onClick:i=>{i.stopPropagation(),t?.()},className:"absolute -bottom-3 left-1/2 -translate-x-1/2 w-6 h-6 rounded-full bg-card border-2 border-border hover:border-primary/50 flex items-center justify-center transition-colors z-30","aria-label":d?"Collapse":"Expand",children:(0,o.jsx)("svg",{className:`w-3 h-3 text-muted-foreground transition-transform ${d?"rotate-180":""}`,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,o.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})})]})})};var U=({companyInfo:e})=>(0,o.jsxs)("div",{className:"flex flex-col items-center",children:[(0,o.jsx)("div",{className:"w-16 h-16 rounded-full bg-primary/10 border-2 border-primary/20 flex items-center justify-center shadow-sm",children:e.logo?.url?(0,o.jsx)("img",{src:e.logo.url,alt:e.logo.alt||e.name,className:"w-12 h-12 rounded-full object-cover"}):(0,o.jsx)("div",{className:"w-12 h-12 rounded-full bg-primary/20 flex items-center justify-center",children:(0,o.jsx)("span",{className:"text-xs font-bold text-primary",children:e.name.split(" ").map(r=>r[0]).join("").slice(0,3).toUpperCase()})})}),(0,o.jsx)("div",{className:"mt-2 text-center",children:(0,o.jsx)("p",{className:"text-sm font-semibold text-card-foreground",children:e.name})}),(0,o.jsx)("div",{className:"w-0.5 h-1 bg-border mt-2"})]});var I=(e,r)=>({...e,level:e.level+r,children:e.children.map(n=>I(n,r))}),S=({nodes:e,onNodeClick:r,expandable:n=!1,initiallyExpanded:d=!0,companyInfo:t,defaultExpandedLevels:a=2})=>{if(t&&e.length>1){let s=e.map(i=>({...i,level:i.level+1,children:i.children.map(y=>I(y,1))}));return(0,o.jsx)(E,{node:{id:"company",name:t.name,email:"",children:s,level:0},onNodeClick:r,expandable:n,initiallyExpanded:d,isCompanyNode:!0,companyInfo:t,defaultExpandedLevels:a})}return(0,o.jsx)("div",{className:"flex flex-col items-center gap-0",children:e.map((s,i)=>(0,o.jsx)(E,{node:s,onNodeClick:r,expandable:n,initiallyExpanded:d,isLast:i===e.length-1,defaultExpandedLevels:a},s.id))})},E=({node:e,onNodeClick:r,expandable:n,initiallyExpanded:d=!0,isLast:t=!1,isCompanyNode:a=!1,companyInfo:s,defaultExpandedLevels:i=2})=>{let y=a||e.level<i,[f,B]=(0,g.useState)(y),x=e.children.length>0,h=(0,g.useRef)(null),[b,O]=(0,g.useState)({childPositions:[],containerWidth:0});return(0,g.useEffect)(()=>{if(!x||!f||!h.current){O({childPositions:[],containerWidth:0});return}let u=setTimeout(()=>{let p=h.current;if(!p)return;let v=Array.from(p.children);if(v.length===0)return;let C=p.getBoundingClientRect(),w=v.map(P=>{let N=P.getBoundingClientRect();return N.left+N.width/2-C.left});O({childPositions:w,containerWidth:C.width})},0);return()=>clearTimeout(u)},[x,f,e.children.length]),(0,g.useEffect)(()=>{if(!x||!f)return;let u=new ResizeObserver(()=>{if(!h.current)return;let p=h.current,v=Array.from(p.children);if(v.length===0)return;let C=p.getBoundingClientRect(),w=v.map(P=>{let N=P.getBoundingClientRect();return N.left+N.width/2-C.left});O({childPositions:w,containerWidth:C.width})});return h.current&&u.observe(h.current),()=>u.disconnect()},[x,f]),(0,o.jsxs)("div",{className:`flex flex-col items-center ${t?"":"mb-8"}`,children:[a&&s?(0,o.jsx)(U,{companyInfo:s}):(0,o.jsx)(L,{node:e,onNodeClick:r,expandable:n,isExpanded:f,onToggleExpand:()=>B(!f)}),x&&f&&(0,o.jsxs)("div",{className:"relative",children:[e.children.length>1&&b.childPositions.length>0&&(0,o.jsxs)("div",{className:"absolute top-0 left-1/2 -translate-x-1/2 pointer-events-none z-10",children:[(0,o.jsx)("div",{className:"absolute top-0 left-0 w-0.5 h-8 bg-border -translate-x-1/2"}),(0,o.jsx)("div",{className:"absolute top-8 h-0.5 bg-border",style:{left:`${Math.min(...b.childPositions)-b.containerWidth/2}px`,width:`${Math.max(...b.childPositions)-Math.min(...b.childPositions)}px`}}),b.childPositions.map((u,p)=>(0,o.jsx)("div",{className:"absolute w-0.5 bg-border -translate-x-1/2",style:{left:`${u-b.containerWidth/2}px`,top:"32px",height:"32px"}},p))]}),e.children.length===1&&(0,o.jsx)("div",{className:"absolute top-0 left-1/2 -translate-x-1/2 w-0.5 h-16 bg-border pointer-events-none z-10"}),(0,o.jsx)("div",{className:"mt-16 w-full overflow-x-auto",children:(0,o.jsx)("div",{ref:h,className:`
|
|
10
|
+
flex gap-8 pb-4
|
|
11
|
+
${e.children.length===1?"justify-center":"justify-start min-w-max px-4"}
|
|
12
|
+
`,children:e.children.map(u=>(0,o.jsx)("div",{className:"flex-shrink-0",children:(0,o.jsx)(E,{node:u,onNodeClick:r,expandable:n,initiallyExpanded:d,defaultExpandedLevels:i})},u.id))})})]})]})};var $=({users:e,onNodeClick:r,className:n="",expandable:d=!1,initiallyExpanded:t=!0,companyInfo:a,defaultExpandedLevels:s=2})=>{let i=k(e);return e.length===0?(0,o.jsx)("div",{className:`flex items-center justify-center p-8 ${n}`,children:(0,o.jsx)("div",{className:"text-center",children:(0,o.jsx)("p",{className:"text-muted-foreground",children:"No users to display"})})}):i.length===0?(0,o.jsx)("div",{className:`flex items-center justify-center p-8 ${n}`,children:(0,o.jsxs)("div",{className:"text-center",children:[(0,o.jsx)("p",{className:"text-muted-foreground",children:"Unable to build organization tree"}),(0,o.jsx)("p",{className:"text-xs text-muted-foreground mt-1",children:"Check that manager relationships are properly configured"})]})}):(0,o.jsx)("div",{className:`org-chart w-full overflow-x-auto ${n}`,children:(0,o.jsx)("div",{className:"inline-block min-w-full p-8",children:(0,o.jsx)(S,{nodes:i,onNodeClick:r,expandable:d,initiallyExpanded:t,companyInfo:i.length>1?a:void 0,defaultExpandedLevels:s})})})},q=$;0&&(module.exports={OrgChart});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b}from"../../../chunk-
|
|
1
|
+
import{a,b}from"../../../chunk-ZLFZBT3K.mjs";import"../../../chunk-LEZ6G4X7.mjs";import"../../../chunk-6UULUGR2.mjs";import"../../../chunk-DNMM3Q72.mjs";import"../../../chunk-VFIMFZX5.mjs";import"../../../chunk-32G45Z2G.mjs";import"../../../chunk-YEKQJ4YC.mjs";export{a as OrgChart,b as default};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
"use strict";var s=Object.defineProperty;var
|
|
1
|
+
"use strict";var s=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var p=Object.getOwnPropertyNames;var b=Object.prototype.hasOwnProperty;var f=(r,t)=>{for(var a in t)s(r,a,{get:t[a],enumerable:!0})},x=(r,t,a,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of p(t))!b.call(r,o)&&o!==a&&s(r,o,{get:()=>t[o],enumerable:!(n=m(t,o))||n.enumerable});return r};var h=r=>x(s({},"__esModule",{value:!0}),r);var v={};f(v,{OrgNode:()=>C});module.exports=h(v);function i(r){if(!r)return"?";let t=r.trim().split(/\s+/);return t.length===1?t[0].substring(0,2).toUpperCase():(t[0][0]+t[t.length-1][0]).toUpperCase()}function l(r){return r&&{P:"bg-primary/20 text-primary border-primary/30",SM:"bg-accent/20 text-accent border-accent/30",M:"bg-accent/15 text-accent border-accent/25",SC2:"bg-card text-card-foreground border-border",SC1:"bg-card text-card-foreground border-border",C3:"bg-muted text-muted-foreground border-border",C2:"bg-muted text-muted-foreground border-border",C1:"bg-muted text-muted-foreground border-border"}[r]||"bg-muted text-muted-foreground"}var d={P:"Partner",SM:"Senior Manager",M:"Manager",SC1:"Senior Consultant 1",SC2:"Senior Consultant 2",C1:"Consultant 1",C2:"Consultant 2",C3:"Consultant 3"};var e=require("react/jsx-runtime"),C=({node:r,onNodeClick:t,expandable:a=!1,isExpanded:n=!0,onToggleExpand:o})=>{let c=r.children.length>0,g=a&&c;return(0,e.jsx)("div",{className:"flex flex-col items-center",children:(0,e.jsxs)("div",{className:`
|
|
2
2
|
relative bg-card border border-border rounded-lg shadow-sm
|
|
3
3
|
transition-all duration-200 hover:shadow-md hover:border-primary/50
|
|
4
4
|
${t?"cursor-pointer":""}
|
|
5
|
-
w-64 p-4
|
|
6
|
-
`,onClick:()=>t?.(r),children:[(0,e.jsxs)("div",{className:"flex items-start gap-3",children:[(0,e.jsx)("div",{className:"flex-shrink-0",children:r.profilePicture?.url?(0,e.jsx)("img",{src:r.profilePicture.url,alt:r.profilePicture.alt||r.name,className:"w-12 h-12 rounded-full object-cover border-2 border-primary/20"}):(0,e.jsx)("div",{className:"w-12 h-12 rounded-full bg-primary/10 border-2 border-primary/20 flex items-center justify-center",children:(0,e.jsx)("span",{className:"text-sm font-semibold text-primary",children:
|
|
5
|
+
w-64 p-4 min-h-[180px] flex flex-col
|
|
6
|
+
`,onClick:()=>t?.(r),children:[(0,e.jsxs)("div",{className:"flex items-start gap-3",children:[(0,e.jsx)("div",{className:"flex-shrink-0",children:r.profilePicture?.url?(0,e.jsx)("img",{src:r.profilePicture.url,alt:r.profilePicture.alt||r.name,className:"w-12 h-12 rounded-full object-cover border-2 border-primary/20"}):(0,e.jsx)("div",{className:"w-12 h-12 rounded-full bg-primary/10 border-2 border-primary/20 flex items-center justify-center",children:(0,e.jsx)("span",{className:"text-sm font-semibold text-primary",children:i(r.name)})})}),(0,e.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,e.jsx)("h3",{className:"font-semibold text-card-foreground text-sm truncate",children:r.name}),(0,e.jsx)("p",{className:"text-xs text-muted-foreground truncate",children:r.email}),r.jobRole&&(0,e.jsx)("div",{className:"mt-2",children:(0,e.jsx)("span",{className:`
|
|
7
7
|
inline-block px-2 py-0.5 rounded text-xs font-medium border
|
|
8
|
-
${
|
|
9
|
-
`,children:
|
|
8
|
+
${l(r.jobRole)}
|
|
9
|
+
`,children:d[r.jobRole]})})]})]}),(0,e.jsx)("div",{className:"mt-3 pt-3 border-t border-border flex-1 flex flex-col justify-start",children:r.about?(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("p",{className:"text-xs text-muted-foreground line-clamp-2",title:r.about.length>100?r.about:void 0,children:r.about}),r.about.length>100&&(0,e.jsx)("div",{className:"mt-1 text-xs text-muted-foreground/70 italic",children:"Hover to see full description"})]}):(0,e.jsx)("div",{className:"text-xs text-muted-foreground/50 italic",children:"No description available"})}),g&&(0,e.jsx)("button",{onClick:u=>{u.stopPropagation(),o?.()},className:"absolute -bottom-3 left-1/2 -translate-x-1/2 w-6 h-6 rounded-full bg-card border-2 border-border hover:border-primary/50 flex items-center justify-center transition-colors z-30","aria-label":n?"Collapse":"Expand",children:(0,e.jsx)("svg",{className:`w-3 h-3 text-muted-foreground transition-transform ${n?"rotate-180":""}`,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,e.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})})]})})};0&&(module.exports={OrgNode});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../../chunk-
|
|
1
|
+
import{a}from"../../../chunk-DNMM3Q72.mjs";import"../../../chunk-VFIMFZX5.mjs";import"../../../chunk-32G45Z2G.mjs";import"../../../chunk-YEKQJ4YC.mjs";export{a as OrgNode};
|
|
@@ -1,10 +1,19 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { OrgChartNode,
|
|
2
|
+
import { OrgChartNode, OrgChartUser } from './types';
|
|
3
|
+
interface CompanyInfo {
|
|
4
|
+
name: string;
|
|
5
|
+
logo?: {
|
|
6
|
+
url: string;
|
|
7
|
+
alt?: string;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
3
10
|
interface OrgTreeProps {
|
|
4
11
|
nodes: OrgChartNode[];
|
|
5
|
-
onNodeClick?: (user:
|
|
12
|
+
onNodeClick?: (user: OrgChartUser) => void;
|
|
6
13
|
expandable?: boolean;
|
|
7
14
|
initiallyExpanded?: boolean;
|
|
15
|
+
companyInfo?: CompanyInfo;
|
|
16
|
+
defaultExpandedLevels?: number;
|
|
8
17
|
}
|
|
9
18
|
export declare const OrgTree: React.FC<OrgTreeProps>;
|
|
10
19
|
export {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var w=Object.defineProperty;var U=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var W=(e,r)=>{for(var n in r)w(e,n,{get:r[n],enumerable:!0})},$=(e,r,n,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let a of I(r))!B.call(e,a)&&a!==n&&w(e,a,{get:()=>r[a],enumerable:!(i=U(r,a))||i.enumerable});return e};var z=e=>$(w({},"__esModule",{value:!0}),e);var H={};W(H,{OrgTree:()=>F});module.exports=z(H);var u=require("react");function E(e){if(!e)return"?";let r=e.trim().split(/\s+/);return r.length===1?r[0].substring(0,2).toUpperCase():(r[0][0]+r[r.length-1][0]).toUpperCase()}function k(e){return e&&{P:"bg-primary/20 text-primary border-primary/30",SM:"bg-accent/20 text-accent border-accent/30",M:"bg-accent/15 text-accent border-accent/25",SC2:"bg-card text-card-foreground border-border",SC1:"bg-card text-card-foreground border-border",C3:"bg-muted text-muted-foreground border-border",C2:"bg-muted text-muted-foreground border-border",C1:"bg-muted text-muted-foreground border-border"}[e]||"bg-muted text-muted-foreground"}var M={P:"Partner",SM:"Senior Manager",M:"Manager",SC1:"Senior Consultant 1",SC2:"Senior Consultant 2",C1:"Consultant 1",C2:"Consultant 2",C3:"Consultant 3"};var t=require("react/jsx-runtime"),j=({node:e,onNodeClick:r,expandable:n=!1,isExpanded:i=!0,onToggleExpand:a})=>{let g=e.children.length>0,d=n&&g;return(0,t.jsx)("div",{className:"flex flex-col items-center",children:(0,t.jsxs)("div",{className:`
|
|
2
2
|
relative bg-card border border-border rounded-lg shadow-sm
|
|
3
3
|
transition-all duration-200 hover:shadow-md hover:border-primary/50
|
|
4
4
|
${r?"cursor-pointer":""}
|
|
5
|
-
w-64 p-4
|
|
6
|
-
`,onClick:()=>r?.(e),children:[(0,t.jsxs)("div",{className:"flex items-start gap-3",children:[(0,t.jsx)("div",{className:"flex-shrink-0",children:e.profilePicture?.url?(0,t.jsx)("img",{src:e.profilePicture.url,alt:e.profilePicture.alt||e.name,className:"w-12 h-12 rounded-full object-cover border-2 border-primary/20"}):(0,t.jsx)("div",{className:"w-12 h-12 rounded-full bg-primary/10 border-2 border-primary/20 flex items-center justify-center",children:(0,t.jsx)("span",{className:"text-sm font-semibold text-primary",children:
|
|
5
|
+
w-64 p-4 min-h-[180px] flex flex-col
|
|
6
|
+
`,onClick:()=>r?.(e),children:[(0,t.jsxs)("div",{className:"flex items-start gap-3",children:[(0,t.jsx)("div",{className:"flex-shrink-0",children:e.profilePicture?.url?(0,t.jsx)("img",{src:e.profilePicture.url,alt:e.profilePicture.alt||e.name,className:"w-12 h-12 rounded-full object-cover border-2 border-primary/20"}):(0,t.jsx)("div",{className:"w-12 h-12 rounded-full bg-primary/10 border-2 border-primary/20 flex items-center justify-center",children:(0,t.jsx)("span",{className:"text-sm font-semibold text-primary",children:E(e.name)})})}),(0,t.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,t.jsx)("h3",{className:"font-semibold text-card-foreground text-sm truncate",children:e.name}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground truncate",children:e.email}),e.jobRole&&(0,t.jsx)("div",{className:"mt-2",children:(0,t.jsx)("span",{className:`
|
|
7
7
|
inline-block px-2 py-0.5 rounded text-xs font-medium border
|
|
8
|
-
${
|
|
9
|
-
`,children:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
${k(e.jobRole)}
|
|
9
|
+
`,children:M[e.jobRole]})})]})]}),(0,t.jsx)("div",{className:"mt-3 pt-3 border-t border-border flex-1 flex flex-col justify-start",children:e.about?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("p",{className:"text-xs text-muted-foreground line-clamp-2",title:e.about.length>100?e.about:void 0,children:e.about}),e.about.length>100&&(0,t.jsx)("div",{className:"mt-1 text-xs text-muted-foreground/70 italic",children:"Hover to see full description"})]}):(0,t.jsx)("div",{className:"text-xs text-muted-foreground/50 italic",children:"No description available"})}),d&&(0,t.jsx)("button",{onClick:s=>{s.stopPropagation(),a?.()},className:"absolute -bottom-3 left-1/2 -translate-x-1/2 w-6 h-6 rounded-full bg-card border-2 border-border hover:border-primary/50 flex items-center justify-center transition-colors z-30","aria-label":i?"Collapse":"Expand",children:(0,t.jsx)("svg",{className:`w-3 h-3 text-muted-foreground transition-transform ${i?"rotate-180":""}`,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})})]})})};var L=({companyInfo:e})=>(0,t.jsxs)("div",{className:"flex flex-col items-center",children:[(0,t.jsx)("div",{className:"w-16 h-16 rounded-full bg-primary/10 border-2 border-primary/20 flex items-center justify-center shadow-sm",children:e.logo?.url?(0,t.jsx)("img",{src:e.logo.url,alt:e.logo.alt||e.name,className:"w-12 h-12 rounded-full object-cover"}):(0,t.jsx)("div",{className:"w-12 h-12 rounded-full bg-primary/20 flex items-center justify-center",children:(0,t.jsx)("span",{className:"text-xs font-bold text-primary",children:e.name.split(" ").map(r=>r[0]).join("").slice(0,3).toUpperCase()})})}),(0,t.jsx)("div",{className:"mt-2 text-center",children:(0,t.jsx)("p",{className:"text-sm font-semibold text-card-foreground",children:e.name})}),(0,t.jsx)("div",{className:"w-0.5 h-1 bg-border mt-2"})]});var T=(e,r)=>({...e,level:e.level+r,children:e.children.map(n=>T(n,r))}),F=({nodes:e,onNodeClick:r,expandable:n=!1,initiallyExpanded:i=!0,companyInfo:a,defaultExpandedLevels:g=2})=>{if(a&&e.length>1){let d=e.map(s=>({...s,level:s.level+1,children:s.children.map(N=>T(N,1))}));return(0,t.jsx)(R,{node:{id:"company",name:a.name,email:"",children:d,level:0},onNodeClick:r,expandable:n,initiallyExpanded:i,isCompanyNode:!0,companyInfo:a,defaultExpandedLevels:g})}return(0,t.jsx)("div",{className:"flex flex-col items-center gap-0",children:e.map((d,s)=>(0,t.jsx)(R,{node:d,onNodeClick:r,expandable:n,initiallyExpanded:i,isLast:s===e.length-1,defaultExpandedLevels:g},d.id))})},R=({node:e,onNodeClick:r,expandable:n,initiallyExpanded:i=!0,isLast:a=!1,isCompanyNode:g=!1,companyInfo:d,defaultExpandedLevels:s=2})=>{let N=g||e.level<s,[p,S]=(0,u.useState)(N),b=e.children.length>0,f=(0,u.useRef)(null),[h,y]=(0,u.useState)({childPositions:[],containerWidth:0});return(0,u.useEffect)(()=>{if(!b||!p||!f.current){y({childPositions:[],containerWidth:0});return}let c=setTimeout(()=>{let m=f.current;if(!m)return;let x=Array.from(m.children);if(x.length===0)return;let v=m.getBoundingClientRect(),O=x.map(P=>{let C=P.getBoundingClientRect();return C.left+C.width/2-v.left});y({childPositions:O,containerWidth:v.width})},0);return()=>clearTimeout(c)},[b,p,e.children.length]),(0,u.useEffect)(()=>{if(!b||!p)return;let c=new ResizeObserver(()=>{if(!f.current)return;let m=f.current,x=Array.from(m.children);if(x.length===0)return;let v=m.getBoundingClientRect(),O=x.map(P=>{let C=P.getBoundingClientRect();return C.left+C.width/2-v.left});y({childPositions:O,containerWidth:v.width})});return f.current&&c.observe(f.current),()=>c.disconnect()},[b,p]),(0,t.jsxs)("div",{className:`flex flex-col items-center ${a?"":"mb-8"}`,children:[g&&d?(0,t.jsx)(L,{companyInfo:d}):(0,t.jsx)(j,{node:e,onNodeClick:r,expandable:n,isExpanded:p,onToggleExpand:()=>S(!p)}),b&&p&&(0,t.jsxs)("div",{className:"relative",children:[e.children.length>1&&h.childPositions.length>0&&(0,t.jsxs)("div",{className:"absolute top-0 left-1/2 -translate-x-1/2 pointer-events-none z-10",children:[(0,t.jsx)("div",{className:"absolute top-0 left-0 w-0.5 h-8 bg-border -translate-x-1/2"}),(0,t.jsx)("div",{className:"absolute top-8 h-0.5 bg-border",style:{left:`${Math.min(...h.childPositions)-h.containerWidth/2}px`,width:`${Math.max(...h.childPositions)-Math.min(...h.childPositions)}px`}}),h.childPositions.map((c,m)=>(0,t.jsx)("div",{className:"absolute w-0.5 bg-border -translate-x-1/2",style:{left:`${c-h.containerWidth/2}px`,top:"32px",height:"32px"}},m))]}),e.children.length===1&&(0,t.jsx)("div",{className:"absolute top-0 left-1/2 -translate-x-1/2 w-0.5 h-16 bg-border pointer-events-none z-10"}),(0,t.jsx)("div",{className:"mt-16 w-full overflow-x-auto",children:(0,t.jsx)("div",{ref:f,className:`
|
|
10
|
+
flex gap-8 pb-4
|
|
11
|
+
${e.children.length===1?"justify-center":"justify-start min-w-max px-4"}
|
|
12
|
+
`,children:e.children.map(c=>(0,t.jsx)("div",{className:"flex-shrink-0",children:(0,t.jsx)(R,{node:c,onNodeClick:r,expandable:n,initiallyExpanded:i,defaultExpandedLevels:s})},c.id))})})]})]})};0&&(module.exports={OrgTree});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../../chunk-
|
|
1
|
+
import{a}from"../../../chunk-LEZ6G4X7.mjs";import"../../../chunk-6UULUGR2.mjs";import"../../../chunk-DNMM3Q72.mjs";import"../../../chunk-VFIMFZX5.mjs";import"../../../chunk-32G45Z2G.mjs";import"../../../chunk-YEKQJ4YC.mjs";export{a as OrgTree};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var T=Object.defineProperty;var W=Object.getOwnPropertyDescriptor;var z=Object.getOwnPropertyNames;var F=Object.prototype.hasOwnProperty;var H=(e,r)=>{for(var n in r)T(e,n,{get:r[n],enumerable:!0})},A=(e,r,n,d)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of z(r))!F.call(e,t)&&t!==n&&T(e,t,{get:()=>r[t],enumerable:!(d=W(r,t))||d.enumerable});return e};var D=e=>A(T({},"__esModule",{value:!0}),e);var q={};H(q,{CompanyNode:()=>O,OrgChart:()=>$,OrgNode:()=>y,OrgTree:()=>w,buildOrgTree:()=>M,getInitials:()=>j,getRoleBadgeColor:()=>L,jobRoleLabels:()=>U});module.exports=D(q);function M(e){let r=new Map,n=[];e.forEach(t=>{r.set(t.id,{...t,children:[],level:0})}),e.forEach(t=>{let a=r.get(t.id);if(!a)return;let s=typeof t.manager=="string"?t.manager:t.manager?.id;if(s){let i=r.get(s);i?(i.children.push(a),a.level=i.level+1):n.push(a)}else n.push(a)});let d=(t,a)=>{t.level=a,t.children.forEach(s=>d(s,a+1))};return n.forEach(t=>d(t,0)),n}function j(e){if(!e)return"?";let r=e.trim().split(/\s+/);return r.length===1?r[0].substring(0,2).toUpperCase():(r[0][0]+r[r.length-1][0]).toUpperCase()}function L(e){return e&&{P:"bg-primary/20 text-primary border-primary/30",SM:"bg-accent/20 text-accent border-accent/30",M:"bg-accent/15 text-accent border-accent/25",SC2:"bg-card text-card-foreground border-border",SC1:"bg-card text-card-foreground border-border",C3:"bg-muted text-muted-foreground border-border",C2:"bg-muted text-muted-foreground border-border",C1:"bg-muted text-muted-foreground border-border"}[e]||"bg-muted text-muted-foreground"}var g=require("react");var U={P:"Partner",SM:"Senior Manager",M:"Manager",SC1:"Senior Consultant 1",SC2:"Senior Consultant 2",C1:"Consultant 1",C2:"Consultant 2",C3:"Consultant 3"};var o=require("react/jsx-runtime"),y=({node:e,onNodeClick:r,expandable:n=!1,isExpanded:d=!0,onToggleExpand:t})=>{let a=e.children.length>0,s=n&&a;return(0,o.jsx)("div",{className:"flex flex-col items-center",children:(0,o.jsxs)("div",{className:`
|
|
2
2
|
relative bg-card border border-border rounded-lg shadow-sm
|
|
3
3
|
transition-all duration-200 hover:shadow-md hover:border-primary/50
|
|
4
4
|
${r?"cursor-pointer":""}
|
|
5
|
-
w-64 p-4
|
|
6
|
-
`,onClick:()=>r?.(e),children:[(0,
|
|
5
|
+
w-64 p-4 min-h-[180px] flex flex-col
|
|
6
|
+
`,onClick:()=>r?.(e),children:[(0,o.jsxs)("div",{className:"flex items-start gap-3",children:[(0,o.jsx)("div",{className:"flex-shrink-0",children:e.profilePicture?.url?(0,o.jsx)("img",{src:e.profilePicture.url,alt:e.profilePicture.alt||e.name,className:"w-12 h-12 rounded-full object-cover border-2 border-primary/20"}):(0,o.jsx)("div",{className:"w-12 h-12 rounded-full bg-primary/10 border-2 border-primary/20 flex items-center justify-center",children:(0,o.jsx)("span",{className:"text-sm font-semibold text-primary",children:j(e.name)})})}),(0,o.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,o.jsx)("h3",{className:"font-semibold text-card-foreground text-sm truncate",children:e.name}),(0,o.jsx)("p",{className:"text-xs text-muted-foreground truncate",children:e.email}),e.jobRole&&(0,o.jsx)("div",{className:"mt-2",children:(0,o.jsx)("span",{className:`
|
|
7
7
|
inline-block px-2 py-0.5 rounded text-xs font-medium border
|
|
8
|
-
${
|
|
9
|
-
`,children:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
${L(e.jobRole)}
|
|
9
|
+
`,children:U[e.jobRole]})})]})]}),(0,o.jsx)("div",{className:"mt-3 pt-3 border-t border-border flex-1 flex flex-col justify-start",children:e.about?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("p",{className:"text-xs text-muted-foreground line-clamp-2",title:e.about.length>100?e.about:void 0,children:e.about}),e.about.length>100&&(0,o.jsx)("div",{className:"mt-1 text-xs text-muted-foreground/70 italic",children:"Hover to see full description"})]}):(0,o.jsx)("div",{className:"text-xs text-muted-foreground/50 italic",children:"No description available"})}),s&&(0,o.jsx)("button",{onClick:i=>{i.stopPropagation(),t?.()},className:"absolute -bottom-3 left-1/2 -translate-x-1/2 w-6 h-6 rounded-full bg-card border-2 border-border hover:border-primary/50 flex items-center justify-center transition-colors z-30","aria-label":d?"Collapse":"Expand",children:(0,o.jsx)("svg",{className:`w-3 h-3 text-muted-foreground transition-transform ${d?"rotate-180":""}`,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,o.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})})]})})};var O=({companyInfo:e})=>(0,o.jsxs)("div",{className:"flex flex-col items-center",children:[(0,o.jsx)("div",{className:"w-16 h-16 rounded-full bg-primary/10 border-2 border-primary/20 flex items-center justify-center shadow-sm",children:e.logo?.url?(0,o.jsx)("img",{src:e.logo.url,alt:e.logo.alt||e.name,className:"w-12 h-12 rounded-full object-cover"}):(0,o.jsx)("div",{className:"w-12 h-12 rounded-full bg-primary/20 flex items-center justify-center",children:(0,o.jsx)("span",{className:"text-xs font-bold text-primary",children:e.name.split(" ").map(r=>r[0]).join("").slice(0,3).toUpperCase()})})}),(0,o.jsx)("div",{className:"mt-2 text-center",children:(0,o.jsx)("p",{className:"text-sm font-semibold text-card-foreground",children:e.name})}),(0,o.jsx)("div",{className:"w-0.5 h-1 bg-border mt-2"})]});var S=(e,r)=>({...e,level:e.level+r,children:e.children.map(n=>S(n,r))}),w=({nodes:e,onNodeClick:r,expandable:n=!1,initiallyExpanded:d=!0,companyInfo:t,defaultExpandedLevels:a=2})=>{if(t&&e.length>1){let s=e.map(i=>({...i,level:i.level+1,children:i.children.map(P=>S(P,1))}));return(0,o.jsx)(I,{node:{id:"company",name:t.name,email:"",children:s,level:0},onNodeClick:r,expandable:n,initiallyExpanded:d,isCompanyNode:!0,companyInfo:t,defaultExpandedLevels:a})}return(0,o.jsx)("div",{className:"flex flex-col items-center gap-0",children:e.map((s,i)=>(0,o.jsx)(I,{node:s,onNodeClick:r,expandable:n,initiallyExpanded:d,isLast:i===e.length-1,defaultExpandedLevels:a},s.id))})},I=({node:e,onNodeClick:r,expandable:n,initiallyExpanded:d=!0,isLast:t=!1,isCompanyNode:a=!1,companyInfo:s,defaultExpandedLevels:i=2})=>{let P=a||e.level<i,[f,B]=(0,g.useState)(P),b=e.children.length>0,h=(0,g.useRef)(null),[x,R]=(0,g.useState)({childPositions:[],containerWidth:0});return(0,g.useEffect)(()=>{if(!b||!f||!h.current){R({childPositions:[],containerWidth:0});return}let p=setTimeout(()=>{let u=h.current;if(!u)return;let v=Array.from(u.children);if(v.length===0)return;let C=u.getBoundingClientRect(),E=v.map(k=>{let N=k.getBoundingClientRect();return N.left+N.width/2-C.left});R({childPositions:E,containerWidth:C.width})},0);return()=>clearTimeout(p)},[b,f,e.children.length]),(0,g.useEffect)(()=>{if(!b||!f)return;let p=new ResizeObserver(()=>{if(!h.current)return;let u=h.current,v=Array.from(u.children);if(v.length===0)return;let C=u.getBoundingClientRect(),E=v.map(k=>{let N=k.getBoundingClientRect();return N.left+N.width/2-C.left});R({childPositions:E,containerWidth:C.width})});return h.current&&p.observe(h.current),()=>p.disconnect()},[b,f]),(0,o.jsxs)("div",{className:`flex flex-col items-center ${t?"":"mb-8"}`,children:[a&&s?(0,o.jsx)(O,{companyInfo:s}):(0,o.jsx)(y,{node:e,onNodeClick:r,expandable:n,isExpanded:f,onToggleExpand:()=>B(!f)}),b&&f&&(0,o.jsxs)("div",{className:"relative",children:[e.children.length>1&&x.childPositions.length>0&&(0,o.jsxs)("div",{className:"absolute top-0 left-1/2 -translate-x-1/2 pointer-events-none z-10",children:[(0,o.jsx)("div",{className:"absolute top-0 left-0 w-0.5 h-8 bg-border -translate-x-1/2"}),(0,o.jsx)("div",{className:"absolute top-8 h-0.5 bg-border",style:{left:`${Math.min(...x.childPositions)-x.containerWidth/2}px`,width:`${Math.max(...x.childPositions)-Math.min(...x.childPositions)}px`}}),x.childPositions.map((p,u)=>(0,o.jsx)("div",{className:"absolute w-0.5 bg-border -translate-x-1/2",style:{left:`${p-x.containerWidth/2}px`,top:"32px",height:"32px"}},u))]}),e.children.length===1&&(0,o.jsx)("div",{className:"absolute top-0 left-1/2 -translate-x-1/2 w-0.5 h-16 bg-border pointer-events-none z-10"}),(0,o.jsx)("div",{className:"mt-16 w-full overflow-x-auto",children:(0,o.jsx)("div",{ref:h,className:`
|
|
10
|
+
flex gap-8 pb-4
|
|
11
|
+
${e.children.length===1?"justify-center":"justify-start min-w-max px-4"}
|
|
12
|
+
`,children:e.children.map(p=>(0,o.jsx)("div",{className:"flex-shrink-0",children:(0,o.jsx)(I,{node:p,onNodeClick:r,expandable:n,initiallyExpanded:d,defaultExpandedLevels:i})},p.id))})})]})]})};var $=({users:e,onNodeClick:r,className:n="",expandable:d=!1,initiallyExpanded:t=!0,companyInfo:a,defaultExpandedLevels:s=2})=>{let i=M(e);return e.length===0?(0,o.jsx)("div",{className:`flex items-center justify-center p-8 ${n}`,children:(0,o.jsx)("div",{className:"text-center",children:(0,o.jsx)("p",{className:"text-muted-foreground",children:"No users to display"})})}):i.length===0?(0,o.jsx)("div",{className:`flex items-center justify-center p-8 ${n}`,children:(0,o.jsxs)("div",{className:"text-center",children:[(0,o.jsx)("p",{className:"text-muted-foreground",children:"Unable to build organization tree"}),(0,o.jsx)("p",{className:"text-xs text-muted-foreground mt-1",children:"Check that manager relationships are properly configured"})]})}):(0,o.jsx)("div",{className:`org-chart w-full overflow-x-auto ${n}`,children:(0,o.jsx)("div",{className:"inline-block min-w-full p-8",children:(0,o.jsx)(w,{nodes:i,onNodeClick:r,expandable:d,initiallyExpanded:t,companyInfo:i.length>1?a:void 0,defaultExpandedLevels:s})})})};0&&(module.exports={CompanyNode,OrgChart,OrgNode,OrgTree,buildOrgTree,getInitials,getRoleBadgeColor,jobRoleLabels});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as
|
|
1
|
+
import{a as h}from"../../../chunk-ZLFZBT3K.mjs";import{a as g}from"../../../chunk-LEZ6G4X7.mjs";import{a as f}from"../../../chunk-6UULUGR2.mjs";import{a as e}from"../../../chunk-DNMM3Q72.mjs";import{a as d}from"../../../chunk-VFIMFZX5.mjs";import{a,b,c}from"../../../chunk-32G45Z2G.mjs";import"../../../chunk-YEKQJ4YC.mjs";export{f as CompanyNode,h as OrgChart,e as OrgNode,g as OrgTree,a as buildOrgTree,b as getInitials,c as getRoleBadgeColor,d as jobRoleLabels};
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const smallTeamData:
|
|
3
|
-
export declare const mediumTeamData:
|
|
4
|
-
export declare const singlePersonData:
|
|
5
|
-
export declare const deepHierarchyData:
|
|
6
|
-
export declare const wideHierarchyData:
|
|
7
|
-
export declare const
|
|
1
|
+
import { OrgChartUser } from './types';
|
|
2
|
+
export declare const smallTeamData: OrgChartUser[];
|
|
3
|
+
export declare const mediumTeamData: OrgChartUser[];
|
|
4
|
+
export declare const singlePersonData: OrgChartUser[];
|
|
5
|
+
export declare const deepHierarchyData: OrgChartUser[];
|
|
6
|
+
export declare const wideHierarchyData: OrgChartUser[];
|
|
7
|
+
export declare const dualPartnershipData: OrgChartUser[];
|
|
8
|
+
export declare const detailedDescriptionsData: OrgChartUser[];
|
|
9
|
+
export declare const emptyData: OrgChartUser[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var i=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var t=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var c=(e,a)=>{for(var o in a)i(e,o,{get:a[o],enumerable:!0})},s=(e,a,o,r)=>{if(a&&typeof a=="object"||typeof a=="function")for(let n of t(a))!l.call(e,n)&&n!==o&&i(e,n,{get:()=>a[n],enumerable:!(r=m(a,n))||r.enumerable});return e};var g=e=>s(i({},"__esModule",{value:!0}),e);var S={};c(S,{deepHierarchyData:()=>b,detailedDescriptionsData:()=>C,dualPartnershipData:()=>y,emptyData:()=>R,mediumTeamData:()=>d,singlePersonData:()=>p,smallTeamData:()=>u,wideHierarchyData:()=>h});module.exports=g(S);var u=[{id:"1",name:"Sarah Chen",email:"sarah.chen@company.com",jobRole:"P",manager:null,about:"Partner leading the consulting practice",profilePicture:void 0},{id:"2",name:"Michael Roberts",email:"michael.roberts@company.com",jobRole:"SM",manager:"1",about:"Senior Manager overseeing client delivery"},{id:"3",name:"Emily Watson",email:"emily.watson@company.com",jobRole:"M",manager:"2",about:"Manager focused on digital transformation projects"},{id:"4",name:"David Kim",email:"david.kim@company.com",jobRole:"SC1",manager:"3",about:"Senior Consultant specializing in cloud architecture"},{id:"5",name:"Lisa Anderson",email:"lisa.anderson@company.com",jobRole:"SC2",manager:"3",about:"Senior Consultant with expertise in data analytics"},{id:"6",name:"James Taylor",email:"james.taylor@company.com",jobRole:"C3",manager:"3",about:"Consultant working on enterprise solutions"}],d=[{id:"1",name:"Alexandra Martinez",email:"alexandra.martinez@company.com",jobRole:"P",manager:null,about:"Partner and Managing Director"},{id:"2",name:"Robert Chang",email:"robert.chang@company.com",jobRole:"SM",manager:"1",about:"Senior Manager - Technology Practice"},{id:"3",name:"Jennifer Williams",email:"jennifer.williams@company.com",jobRole:"SM",manager:"1",about:"Senior Manager - Strategy Practice"},{id:"4",name:"Thomas Brown",email:"thomas.brown@company.com",jobRole:"M",manager:"2",about:"Manager - Cloud Solutions"},{id:"5",name:"Maria Garcia",email:"maria.garcia@company.com",jobRole:"M",manager:"2",about:"Manager - Application Development"},{id:"6",name:"Christopher Lee",email:"christopher.lee@company.com",jobRole:"M",manager:"3",about:"Manager - Business Strategy"},{id:"7",name:"Amanda White",email:"amanda.white@company.com",jobRole:"SC2",manager:"4",about:"Senior Consultant - DevOps"},{id:"8",name:"Daniel Harris",email:"daniel.harris@company.com",jobRole:"SC1",manager:"4",about:"Senior Consultant - Infrastructure"},{id:"9",name:"Rachel Thompson",email:"rachel.thompson@company.com",jobRole:"C3",manager:"4",about:"Consultant - Cloud Migration"},{id:"10",name:"Kevin Martinez",email:"kevin.martinez@company.com",jobRole:"SC2",manager:"5",about:"Senior Consultant - Full Stack Development"},{id:"11",name:"Sophie Anderson",email:"sophie.anderson@company.com",jobRole:"C2",manager:"5",about:"Consultant - Frontend Development"},{id:"12",name:"Marcus Johnson",email:"marcus.johnson@company.com",jobRole:"C1",manager:"5",about:"Consultant - Backend Development"},{id:"13",name:"Olivia Davis",email:"olivia.davis@company.com",jobRole:"SC1",manager:"6",about:"Senior Consultant - Market Analysis"},{id:"14",name:"Nathan Wilson",email:"nathan.wilson@company.com",jobRole:"C3",manager:"6",about:"Consultant - Strategic Planning"}],p=[{id:"1",name:"Victoria Sterling",email:"victoria.sterling@company.com",jobRole:"P",manager:null,about:"Founder and CEO"}],b=[{id:"1",name:"William Thompson",email:"william.thompson@company.com",jobRole:"P",manager:null,about:"Partner"},{id:"2",name:"Elizabeth Moore",email:"elizabeth.moore@company.com",jobRole:"SM",manager:"1",about:"Senior Manager"},{id:"3",name:"Charles Jackson",email:"charles.jackson@company.com",jobRole:"M",manager:"2",about:"Manager"},{id:"4",name:"Margaret Taylor",email:"margaret.taylor@company.com",jobRole:"SC2",manager:"3",about:"Senior Consultant"},{id:"5",name:"Henry Adams",email:"henry.adams@company.com",jobRole:"C3",manager:"4",about:"Consultant"},{id:"6",name:"Catherine Wright",email:"catherine.wright@company.com",jobRole:"C1",manager:"5",about:"Junior Consultant"}],h=[{id:"1",name:"Richard Foster",email:"richard.foster@company.com",jobRole:"P",manager:null,about:"Partner"},{id:"2",name:"Anna Peterson",email:"anna.peterson@company.com",jobRole:"M",manager:"1",about:"Manager - Team A"},{id:"3",name:"Brian Collins",email:"brian.collins@company.com",jobRole:"SC2",manager:"2",about:"Senior Consultant"},{id:"4",name:"Caroline Hughes",email:"caroline.hughes@company.com",jobRole:"SC1",manager:"2",about:"Senior Consultant"},{id:"5",name:"Derek Murphy",email:"derek.murphy@company.com",jobRole:"C3",manager:"2",about:"Consultant"},{id:"6",name:"Emma Richardson",email:"emma.richardson@company.com",jobRole:"C2",manager:"2",about:"Consultant"},{id:"7",name:"Frank Cooper",email:"frank.cooper@company.com",jobRole:"C1",manager:"2",about:"Consultant"},{id:"8",name:"Grace Bennett",email:"grace.bennett@company.com",jobRole:"C1",manager:"2",about:"Consultant"}],y=[{id:"1",name:"Victoria Sterling",email:"victoria.sterling@company.com",jobRole:"P",manager:null,about:"Managing Partner - Technology Division"},{id:"2",name:"James Morrison",email:"james.morrison@company.com",jobRole:"SM",manager:"1",about:"Senior Manager - Cloud & Infrastructure"},{id:"3",name:"Sarah Kim",email:"sarah.kim@company.com",jobRole:"M",manager:"2",about:"Manager - DevOps Team"},{id:"4",name:"Michael Chen",email:"michael.chen@company.com",jobRole:"SC1",manager:"3",about:"Senior Consultant - Platform Engineering"},{id:"5",name:"Emma Rodriguez",email:"emma.rodriguez@company.com",jobRole:"C3",manager:"3",about:"Consultant - Site Reliability Engineer"},{id:"6",name:"Alexander Cross",email:"alexander.cross@company.com",jobRole:"P",manager:null,about:"Managing Partner - Strategy & Operations"},{id:"7",name:"Diana Wells",email:"diana.wells@company.com",jobRole:"SM",manager:"6",about:"Senior Manager - Business Transformation"},{id:"8",name:"Robert Lynch",email:"robert.lynch@company.com",jobRole:"M",manager:"7",about:"Manager - Process Optimization"},{id:"9",name:"Lisa Wang",email:"lisa.wang@company.com",jobRole:"SC2",manager:"8",about:"Senior Consultant - Change Management"},{id:"10",name:"David Park",email:"david.park@company.com",jobRole:"C2",manager:"8",about:"Consultant - Data Analytics"},{id:"11",name:"Rachel Green",email:"rachel.green@company.com",jobRole:"M",manager:"7",about:"Manager - Strategic Planning"},{id:"12",name:"Thomas Hill",email:"thomas.hill@company.com",jobRole:"SC1",manager:"11",about:"Senior Consultant - Market Research"}],C=[{id:"1",name:"Dr. Margaret Thompson",email:"margaret.thompson@company.com",jobRole:"P",manager:null,about:"Partner and Chief Technology Officer with over 20 years of experience in enterprise software architecture, digital transformation, and strategic technology leadership. Specializes in cloud-native solutions, microservices architecture, and leading large-scale technology implementations across Fortune 500 companies."},{id:"2",name:"Alexander Rodriguez",email:"alexander.rodriguez@company.com",jobRole:"SM",manager:"1",about:"Senior Manager leading the Cloud Infrastructure practice. Expert in AWS, Azure, and GCP with extensive experience in DevOps, CI/CD pipelines, infrastructure as code, Kubernetes orchestration, and enterprise security frameworks. Previously led digital transformation initiatives at three major consulting firms."},{id:"3",name:"Jennifer Liu",email:"jennifer.liu@company.com",jobRole:"M",manager:"2",about:"Manager focused on AI/ML solutions and data engineering platforms. PhD in Computer Science with research background in machine learning algorithms. Leads projects involving predictive analytics, natural language processing, computer vision, and big data processing using Spark, Kafka, and TensorFlow."},{id:"4",name:"David Park",email:"david.park@company.com",jobRole:"SC1",manager:"3",about:"Senior Consultant specializing in machine learning model deployment, MLOps pipelines, and AI ethics. Certifications in AWS ML, Google Cloud AI, and Azure AI. Experience with PyTorch, scikit-learn, Docker, Kubernetes, and building scalable ML inference systems."},{id:"5",name:"Rachel Kumar",email:"rachel.kumar@company.com",jobRole:"SC2",manager:"2",about:"Senior Consultant with expertise in cybersecurity, zero-trust architecture, and compliance frameworks including SOC2, HIPAA, and GDPR. Certified in CISSP and CISM with experience in penetration testing, security audits, and incident response planning."},{id:"6",name:"Michael Johnson",email:"michael.johnson@company.com",jobRole:"C3",manager:"3",about:"Short description for comparison."}],R=[];0&&(module.exports={deepHierarchyData,detailedDescriptionsData,dualPartnershipData,emptyData,mediumTeamData,singlePersonData,smallTeamData,wideHierarchyData});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../../../chunk-YEKQJ4YC.mjs";var a=[{id:"1",name:"Sarah Chen",email:"sarah.chen@company.com",jobRole:"P",manager:null,about:"Partner leading the consulting practice",profilePicture:void 0},{id:"2",name:"Michael Roberts",email:"michael.roberts@company.com",jobRole:"SM",manager:"1",about:"Senior Manager overseeing client delivery"},{id:"3",name:"Emily Watson",email:"emily.watson@company.com",jobRole:"M",manager:"2",about:"Manager focused on digital transformation projects"},{id:"4",name:"David Kim",email:"david.kim@company.com",jobRole:"SC1",manager:"3",about:"Senior Consultant specializing in cloud architecture"},{id:"5",name:"Lisa Anderson",email:"lisa.anderson@company.com",jobRole:"SC2",manager:"3",about:"Senior Consultant with expertise in data analytics"},{id:"6",name:"James Taylor",email:"james.taylor@company.com",jobRole:"C3",manager:"3",about:"Consultant working on enterprise solutions"}],e=[{id:"1",name:"Alexandra Martinez",email:"alexandra.martinez@company.com",jobRole:"P",manager:null,about:"Partner and Managing Director"},{id:"2",name:"Robert Chang",email:"robert.chang@company.com",jobRole:"SM",manager:"1",about:"Senior Manager - Technology Practice"},{id:"3",name:"Jennifer Williams",email:"jennifer.williams@company.com",jobRole:"SM",manager:"1",about:"Senior Manager - Strategy Practice"},{id:"4",name:"Thomas Brown",email:"thomas.brown@company.com",jobRole:"M",manager:"2",about:"Manager - Cloud Solutions"},{id:"5",name:"Maria Garcia",email:"maria.garcia@company.com",jobRole:"M",manager:"2",about:"Manager - Application Development"},{id:"6",name:"Christopher Lee",email:"christopher.lee@company.com",jobRole:"M",manager:"3",about:"Manager - Business Strategy"},{id:"7",name:"Amanda White",email:"amanda.white@company.com",jobRole:"SC2",manager:"4",about:"Senior Consultant - DevOps"},{id:"8",name:"Daniel Harris",email:"daniel.harris@company.com",jobRole:"SC1",manager:"4",about:"Senior Consultant - Infrastructure"},{id:"9",name:"Rachel Thompson",email:"rachel.thompson@company.com",jobRole:"C3",manager:"4",about:"Consultant - Cloud Migration"},{id:"10",name:"Kevin Martinez",email:"kevin.martinez@company.com",jobRole:"SC2",manager:"5",about:"Senior Consultant - Full Stack Development"},{id:"11",name:"Sophie Anderson",email:"sophie.anderson@company.com",jobRole:"C2",manager:"5",about:"Consultant - Frontend Development"},{id:"12",name:"Marcus Johnson",email:"marcus.johnson@company.com",jobRole:"C1",manager:"5",about:"Consultant - Backend Development"},{id:"13",name:"Olivia Davis",email:"olivia.davis@company.com",jobRole:"SC1",manager:"6",about:"Senior Consultant - Market Analysis"},{id:"14",name:"Nathan Wilson",email:"nathan.wilson@company.com",jobRole:"C3",manager:"6",about:"Consultant - Strategic Planning"}],
|
|
1
|
+
import"../../../chunk-YEKQJ4YC.mjs";var a=[{id:"1",name:"Sarah Chen",email:"sarah.chen@company.com",jobRole:"P",manager:null,about:"Partner leading the consulting practice",profilePicture:void 0},{id:"2",name:"Michael Roberts",email:"michael.roberts@company.com",jobRole:"SM",manager:"1",about:"Senior Manager overseeing client delivery"},{id:"3",name:"Emily Watson",email:"emily.watson@company.com",jobRole:"M",manager:"2",about:"Manager focused on digital transformation projects"},{id:"4",name:"David Kim",email:"david.kim@company.com",jobRole:"SC1",manager:"3",about:"Senior Consultant specializing in cloud architecture"},{id:"5",name:"Lisa Anderson",email:"lisa.anderson@company.com",jobRole:"SC2",manager:"3",about:"Senior Consultant with expertise in data analytics"},{id:"6",name:"James Taylor",email:"james.taylor@company.com",jobRole:"C3",manager:"3",about:"Consultant working on enterprise solutions"}],e=[{id:"1",name:"Alexandra Martinez",email:"alexandra.martinez@company.com",jobRole:"P",manager:null,about:"Partner and Managing Director"},{id:"2",name:"Robert Chang",email:"robert.chang@company.com",jobRole:"SM",manager:"1",about:"Senior Manager - Technology Practice"},{id:"3",name:"Jennifer Williams",email:"jennifer.williams@company.com",jobRole:"SM",manager:"1",about:"Senior Manager - Strategy Practice"},{id:"4",name:"Thomas Brown",email:"thomas.brown@company.com",jobRole:"M",manager:"2",about:"Manager - Cloud Solutions"},{id:"5",name:"Maria Garcia",email:"maria.garcia@company.com",jobRole:"M",manager:"2",about:"Manager - Application Development"},{id:"6",name:"Christopher Lee",email:"christopher.lee@company.com",jobRole:"M",manager:"3",about:"Manager - Business Strategy"},{id:"7",name:"Amanda White",email:"amanda.white@company.com",jobRole:"SC2",manager:"4",about:"Senior Consultant - DevOps"},{id:"8",name:"Daniel Harris",email:"daniel.harris@company.com",jobRole:"SC1",manager:"4",about:"Senior Consultant - Infrastructure"},{id:"9",name:"Rachel Thompson",email:"rachel.thompson@company.com",jobRole:"C3",manager:"4",about:"Consultant - Cloud Migration"},{id:"10",name:"Kevin Martinez",email:"kevin.martinez@company.com",jobRole:"SC2",manager:"5",about:"Senior Consultant - Full Stack Development"},{id:"11",name:"Sophie Anderson",email:"sophie.anderson@company.com",jobRole:"C2",manager:"5",about:"Consultant - Frontend Development"},{id:"12",name:"Marcus Johnson",email:"marcus.johnson@company.com",jobRole:"C1",manager:"5",about:"Consultant - Backend Development"},{id:"13",name:"Olivia Davis",email:"olivia.davis@company.com",jobRole:"SC1",manager:"6",about:"Senior Consultant - Market Analysis"},{id:"14",name:"Nathan Wilson",email:"nathan.wilson@company.com",jobRole:"C3",manager:"6",about:"Consultant - Strategic Planning"}],n=[{id:"1",name:"Victoria Sterling",email:"victoria.sterling@company.com",jobRole:"P",manager:null,about:"Founder and CEO"}],o=[{id:"1",name:"William Thompson",email:"william.thompson@company.com",jobRole:"P",manager:null,about:"Partner"},{id:"2",name:"Elizabeth Moore",email:"elizabeth.moore@company.com",jobRole:"SM",manager:"1",about:"Senior Manager"},{id:"3",name:"Charles Jackson",email:"charles.jackson@company.com",jobRole:"M",manager:"2",about:"Manager"},{id:"4",name:"Margaret Taylor",email:"margaret.taylor@company.com",jobRole:"SC2",manager:"3",about:"Senior Consultant"},{id:"5",name:"Henry Adams",email:"henry.adams@company.com",jobRole:"C3",manager:"4",about:"Consultant"},{id:"6",name:"Catherine Wright",email:"catherine.wright@company.com",jobRole:"C1",manager:"5",about:"Junior Consultant"}],i=[{id:"1",name:"Richard Foster",email:"richard.foster@company.com",jobRole:"P",manager:null,about:"Partner"},{id:"2",name:"Anna Peterson",email:"anna.peterson@company.com",jobRole:"M",manager:"1",about:"Manager - Team A"},{id:"3",name:"Brian Collins",email:"brian.collins@company.com",jobRole:"SC2",manager:"2",about:"Senior Consultant"},{id:"4",name:"Caroline Hughes",email:"caroline.hughes@company.com",jobRole:"SC1",manager:"2",about:"Senior Consultant"},{id:"5",name:"Derek Murphy",email:"derek.murphy@company.com",jobRole:"C3",manager:"2",about:"Consultant"},{id:"6",name:"Emma Richardson",email:"emma.richardson@company.com",jobRole:"C2",manager:"2",about:"Consultant"},{id:"7",name:"Frank Cooper",email:"frank.cooper@company.com",jobRole:"C1",manager:"2",about:"Consultant"},{id:"8",name:"Grace Bennett",email:"grace.bennett@company.com",jobRole:"C1",manager:"2",about:"Consultant"}],r=[{id:"1",name:"Victoria Sterling",email:"victoria.sterling@company.com",jobRole:"P",manager:null,about:"Managing Partner - Technology Division"},{id:"2",name:"James Morrison",email:"james.morrison@company.com",jobRole:"SM",manager:"1",about:"Senior Manager - Cloud & Infrastructure"},{id:"3",name:"Sarah Kim",email:"sarah.kim@company.com",jobRole:"M",manager:"2",about:"Manager - DevOps Team"},{id:"4",name:"Michael Chen",email:"michael.chen@company.com",jobRole:"SC1",manager:"3",about:"Senior Consultant - Platform Engineering"},{id:"5",name:"Emma Rodriguez",email:"emma.rodriguez@company.com",jobRole:"C3",manager:"3",about:"Consultant - Site Reliability Engineer"},{id:"6",name:"Alexander Cross",email:"alexander.cross@company.com",jobRole:"P",manager:null,about:"Managing Partner - Strategy & Operations"},{id:"7",name:"Diana Wells",email:"diana.wells@company.com",jobRole:"SM",manager:"6",about:"Senior Manager - Business Transformation"},{id:"8",name:"Robert Lynch",email:"robert.lynch@company.com",jobRole:"M",manager:"7",about:"Manager - Process Optimization"},{id:"9",name:"Lisa Wang",email:"lisa.wang@company.com",jobRole:"SC2",manager:"8",about:"Senior Consultant - Change Management"},{id:"10",name:"David Park",email:"david.park@company.com",jobRole:"C2",manager:"8",about:"Consultant - Data Analytics"},{id:"11",name:"Rachel Green",email:"rachel.green@company.com",jobRole:"M",manager:"7",about:"Manager - Strategic Planning"},{id:"12",name:"Thomas Hill",email:"thomas.hill@company.com",jobRole:"SC1",manager:"11",about:"Senior Consultant - Market Research"}],m=[{id:"1",name:"Dr. Margaret Thompson",email:"margaret.thompson@company.com",jobRole:"P",manager:null,about:"Partner and Chief Technology Officer with over 20 years of experience in enterprise software architecture, digital transformation, and strategic technology leadership. Specializes in cloud-native solutions, microservices architecture, and leading large-scale technology implementations across Fortune 500 companies."},{id:"2",name:"Alexander Rodriguez",email:"alexander.rodriguez@company.com",jobRole:"SM",manager:"1",about:"Senior Manager leading the Cloud Infrastructure practice. Expert in AWS, Azure, and GCP with extensive experience in DevOps, CI/CD pipelines, infrastructure as code, Kubernetes orchestration, and enterprise security frameworks. Previously led digital transformation initiatives at three major consulting firms."},{id:"3",name:"Jennifer Liu",email:"jennifer.liu@company.com",jobRole:"M",manager:"2",about:"Manager focused on AI/ML solutions and data engineering platforms. PhD in Computer Science with research background in machine learning algorithms. Leads projects involving predictive analytics, natural language processing, computer vision, and big data processing using Spark, Kafka, and TensorFlow."},{id:"4",name:"David Park",email:"david.park@company.com",jobRole:"SC1",manager:"3",about:"Senior Consultant specializing in machine learning model deployment, MLOps pipelines, and AI ethics. Certifications in AWS ML, Google Cloud AI, and Azure AI. Experience with PyTorch, scikit-learn, Docker, Kubernetes, and building scalable ML inference systems."},{id:"5",name:"Rachel Kumar",email:"rachel.kumar@company.com",jobRole:"SC2",manager:"2",about:"Senior Consultant with expertise in cybersecurity, zero-trust architecture, and compliance frameworks including SOC2, HIPAA, and GDPR. Certified in CISSP and CISM with experience in penetration testing, security audits, and incident response planning."},{id:"6",name:"Michael Johnson",email:"michael.johnson@company.com",jobRole:"C3",manager:"3",about:"Short description for comparison."}],t=[];export{o as deepHierarchyData,m as detailedDescriptionsData,r as dualPartnershipData,t as emptyData,e as mediumTeamData,n as singlePersonData,a as smallTeamData,i as wideHierarchyData};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import"../../../../chunk-YEKQJ4YC.mjs";var e={C1:"Consultant 1",C2:"Consultant 2",C3:"Consultant 3",SC1:"Senior Consultant 1",SC2:"Senior Consultant 2",M:"Manager",SM:"Senior Manager",P:"Partner"};export{e as jobRoleLabels};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export interface OrgChartUser {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
email: string;
|
|
5
|
+
jobRole?: 'P' | 'SM' | 'M' | 'SC1' | 'SC2' | 'C1' | 'C2' | 'C3';
|
|
6
|
+
manager?: string | {
|
|
7
|
+
id: string;
|
|
8
|
+
} | null;
|
|
9
|
+
about?: string;
|
|
10
|
+
profilePicture?: {
|
|
11
|
+
url: string;
|
|
12
|
+
alt?: string;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
export interface OrgChartNode extends OrgChartUser {
|
|
16
|
+
children: OrgChartNode[];
|
|
17
|
+
level: number;
|
|
18
|
+
}
|
|
19
|
+
export interface CompanyInfo {
|
|
20
|
+
name: string;
|
|
21
|
+
logo?: {
|
|
22
|
+
url: string;
|
|
23
|
+
alt?: string;
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
export interface OrgChartProps {
|
|
27
|
+
users: OrgChartUser[];
|
|
28
|
+
onNodeClick?: (user: OrgChartUser) => void;
|
|
29
|
+
className?: string;
|
|
30
|
+
expandable?: boolean;
|
|
31
|
+
initiallyExpanded?: boolean;
|
|
32
|
+
companyInfo?: CompanyInfo;
|
|
33
|
+
defaultExpandedLevels?: number;
|
|
34
|
+
}
|
|
35
|
+
export interface OrgNodeProps {
|
|
36
|
+
node: OrgChartNode;
|
|
37
|
+
onNodeClick?: (user: OrgChartUser) => void;
|
|
38
|
+
expandable?: boolean;
|
|
39
|
+
isExpanded?: boolean;
|
|
40
|
+
onToggleExpand?: () => void;
|
|
41
|
+
}
|
|
42
|
+
export declare const jobRoleLabels: Record<string, string>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var t=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var g=(r,e)=>{for(var o in e)t(r,o,{get:e[o],enumerable:!0})},C=(r,e,o,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of s(e))!l.call(r,n)&&n!==o&&t(r,n,{get:()=>e[n],enumerable:!(a=i(e,n))||a.enumerable});return r};var d=r=>C(t({},"__esModule",{value:!0}),r);var u={};g(u,{jobRoleLabels:()=>p});module.exports=d(u);var p={P:"Partner",SM:"Senior Manager",M:"Manager",SC1:"Senior Consultant 1",SC2:"Senior Consultant 2",C1:"Consultant 1",C2:"Consultant 2",C3:"Consultant 3"};0&&(module.exports={jobRoleLabels});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"../../../chunk-VFIMFZX5.mjs";import"../../../chunk-YEKQJ4YC.mjs";export{a as jobRoleLabels};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OrgChartUser, OrgChartNode } from './types';
|
|
2
2
|
/**
|
|
3
3
|
* Build a hierarchical tree structure from flat user list
|
|
4
4
|
*/
|
|
5
|
-
export declare function buildOrgTree(users:
|
|
5
|
+
export declare function buildOrgTree(users: OrgChartUser[]): OrgChartNode[];
|
|
6
6
|
/**
|
|
7
7
|
* Get initials from name for avatar fallback
|
|
8
8
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-SME3D72Q.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-2QZUKVBA.mjs";import"../../chunk-TXVA6XJT.mjs";import"../../chunk-JYL3XIJX.mjs";import"../../chunk-4CU7D3X2.mjs";import"../../chunk-LVK4QE5D.mjs";import"../../chunk-X3JZSN3W.mjs";import"../../chunk-XGIYNUGC.mjs";import"../../chunk-2BR55L74.mjs";import"../../chunk-TEB67NCD.mjs";import"../../chunk-KFCSVEI6.mjs";import"../../chunk-LEC6GEWS.mjs";import"../../chunk-NSMXJCXE.mjs";import"../../chunk-LXZAOORS.mjs";import"../../chunk-MGYV46AJ.mjs";import"../../chunk-CGDLOY7W.mjs";import"../../chunk-LKGCU7H6.mjs";import"../../chunk-5WV5ZFEP.mjs";import"../../chunk-KX2NCNCS.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-BG7QXNV5.mjs";import"../../chunk-BVFUCOCP.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.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 BannerBlock};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";import{b as a,c as b}from"../../chunk-
|
|
2
|
+
"use strict";import{b as a,c as b}from"../../chunk-SME3D72Q.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-2QZUKVBA.mjs";import"../../chunk-TXVA6XJT.mjs";import"../../chunk-JYL3XIJX.mjs";import"../../chunk-4CU7D3X2.mjs";import"../../chunk-LVK4QE5D.mjs";import"../../chunk-X3JZSN3W.mjs";import"../../chunk-XGIYNUGC.mjs";import"../../chunk-2BR55L74.mjs";import"../../chunk-TEB67NCD.mjs";import"../../chunk-KFCSVEI6.mjs";import"../../chunk-LEC6GEWS.mjs";import"../../chunk-NSMXJCXE.mjs";import"../../chunk-LXZAOORS.mjs";import"../../chunk-MGYV46AJ.mjs";import"../../chunk-CGDLOY7W.mjs";import"../../chunk-LKGCU7H6.mjs";import"../../chunk-5WV5ZFEP.mjs";import"../../chunk-KX2NCNCS.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-BG7QXNV5.mjs";import"../../chunk-BVFUCOCP.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.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{b as CallToActionBlock,a as CallToActionBlockOld};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";import{a}from"../../chunk-
|
|
2
|
+
"use strict";import{a}from"../../chunk-YH72WKGC.mjs";import"../../chunk-SME3D72Q.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-2QZUKVBA.mjs";import"../../chunk-TXVA6XJT.mjs";import"../../chunk-JYL3XIJX.mjs";import"../../chunk-4CU7D3X2.mjs";import"../../chunk-LVK4QE5D.mjs";import"../../chunk-X3JZSN3W.mjs";import"../../chunk-XGIYNUGC.mjs";import"../../chunk-2BR55L74.mjs";import"../../chunk-TEB67NCD.mjs";import"../../chunk-KFCSVEI6.mjs";import"../../chunk-LEC6GEWS.mjs";import"../../chunk-NSMXJCXE.mjs";import"../../chunk-LXZAOORS.mjs";import"../../chunk-MGYV46AJ.mjs";import"../../chunk-CGDLOY7W.mjs";import"../../chunk-LKGCU7H6.mjs";import"../../chunk-5WV5ZFEP.mjs";import"../../chunk-KX2NCNCS.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-BG7QXNV5.mjs";import"../../chunk-BVFUCOCP.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.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 CollapsibleBlock};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-FB5PBKLV.mjs";import"../../chunk-SME3D72Q.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-2QZUKVBA.mjs";import"../../chunk-TXVA6XJT.mjs";import"../../chunk-JYL3XIJX.mjs";import"../../chunk-4CU7D3X2.mjs";import"../../chunk-LVK4QE5D.mjs";import"../../chunk-X3JZSN3W.mjs";import"../../chunk-XGIYNUGC.mjs";import"../../chunk-2BR55L74.mjs";import"../../chunk-TEB67NCD.mjs";import"../../chunk-KFCSVEI6.mjs";import"../../chunk-LEC6GEWS.mjs";import"../../chunk-NSMXJCXE.mjs";import"../../chunk-LXZAOORS.mjs";import"../../chunk-MGYV46AJ.mjs";import"../../chunk-CGDLOY7W.mjs";import"../../chunk-LKGCU7H6.mjs";import"../../chunk-5WV5ZFEP.mjs";import"../../chunk-KX2NCNCS.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-BG7QXNV5.mjs";import"../../chunk-BVFUCOCP.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.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 ContentBlock};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as a}from"../../chunk-
|
|
1
|
+
import{d as a}from"../../chunk-SME3D72Q.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-2QZUKVBA.mjs";import"../../chunk-TXVA6XJT.mjs";import"../../chunk-JYL3XIJX.mjs";import"../../chunk-4CU7D3X2.mjs";import"../../chunk-LVK4QE5D.mjs";import"../../chunk-X3JZSN3W.mjs";import"../../chunk-XGIYNUGC.mjs";import"../../chunk-2BR55L74.mjs";import"../../chunk-TEB67NCD.mjs";import"../../chunk-KFCSVEI6.mjs";import"../../chunk-LEC6GEWS.mjs";import"../../chunk-NSMXJCXE.mjs";import"../../chunk-LXZAOORS.mjs";import"../../chunk-MGYV46AJ.mjs";import"../../chunk-CGDLOY7W.mjs";import"../../chunk-LKGCU7H6.mjs";import"../../chunk-5WV5ZFEP.mjs";import"../../chunk-KX2NCNCS.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-BG7QXNV5.mjs";import"../../chunk-BVFUCOCP.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.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 FeaturesBlock};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-IISYRLNU.mjs";import"../../chunk-RSDUFAIB.mjs";import"../../chunk-RYZTCMVC.mjs";import"../../chunk-SME3D72Q.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-2QZUKVBA.mjs";import"../../chunk-TXVA6XJT.mjs";import"../../chunk-JYL3XIJX.mjs";import"../../chunk-4CU7D3X2.mjs";import"../../chunk-LVK4QE5D.mjs";import"../../chunk-X3JZSN3W.mjs";import"../../chunk-XGIYNUGC.mjs";import"../../chunk-2BR55L74.mjs";import"../../chunk-TEB67NCD.mjs";import"../../chunk-KFCSVEI6.mjs";import"../../chunk-LEC6GEWS.mjs";import"../../chunk-NSMXJCXE.mjs";import"../../chunk-LXZAOORS.mjs";import"../../chunk-MGYV46AJ.mjs";import"../../chunk-CGDLOY7W.mjs";import"../../chunk-LKGCU7H6.mjs";import"../../chunk-5WV5ZFEP.mjs";import"../../chunk-KX2NCNCS.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-BG7QXNV5.mjs";import"../../chunk-BVFUCOCP.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.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 RelatedPosts};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as a,c as b,d as c,e as d,f as e,g as f}from"../../chunk-
|
|
1
|
+
import{b as a,c as b,d as c,e as d,f as e,g as f}from"../../chunk-ALEPCEWP.mjs";import"../../chunk-YH72WKGC.mjs";import"../../chunk-FB5PBKLV.mjs";import"../../chunk-SME3D72Q.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-2QZUKVBA.mjs";import"../../chunk-TXVA6XJT.mjs";import"../../chunk-JYL3XIJX.mjs";import"../../chunk-4CU7D3X2.mjs";import"../../chunk-LVK4QE5D.mjs";import"../../chunk-X3JZSN3W.mjs";import"../../chunk-XGIYNUGC.mjs";import"../../chunk-2BR55L74.mjs";import"../../chunk-TEB67NCD.mjs";import"../../chunk-KFCSVEI6.mjs";import"../../chunk-LEC6GEWS.mjs";import"../../chunk-NSMXJCXE.mjs";import"../../chunk-LXZAOORS.mjs";import"../../chunk-MGYV46AJ.mjs";import"../../chunk-CGDLOY7W.mjs";import"../../chunk-LKGCU7H6.mjs";import"../../chunk-5WV5ZFEP.mjs";import"../../chunk-KX2NCNCS.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-BG7QXNV5.mjs";import"../../chunk-BVFUCOCP.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.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{e as DarkTop,f as LightTop,a as RenderBlocks,c as RenderBlocksWithShapes,b as Theme,d as ThemeWithShapes};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-ALEPCEWP.mjs";import"../../chunk-YH72WKGC.mjs";import"../../chunk-FB5PBKLV.mjs";import"../../chunk-SME3D72Q.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-2QZUKVBA.mjs";import"../../chunk-TXVA6XJT.mjs";import"../../chunk-JYL3XIJX.mjs";import"../../chunk-4CU7D3X2.mjs";import"../../chunk-LVK4QE5D.mjs";import"../../chunk-X3JZSN3W.mjs";import"../../chunk-XGIYNUGC.mjs";import"../../chunk-2BR55L74.mjs";import"../../chunk-TEB67NCD.mjs";import"../../chunk-KFCSVEI6.mjs";import"../../chunk-LEC6GEWS.mjs";import"../../chunk-NSMXJCXE.mjs";import"../../chunk-LXZAOORS.mjs";import"../../chunk-MGYV46AJ.mjs";import"../../chunk-CGDLOY7W.mjs";import"../../chunk-LKGCU7H6.mjs";import"../../chunk-5WV5ZFEP.mjs";import"../../chunk-KX2NCNCS.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-BG7QXNV5.mjs";import"../../chunk-BVFUCOCP.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.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 ReusableContentBlock};
|