cortex-react-components 2.0.1 → 2.0.3
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/Manrope-Bold-CPQACTSE.ttf +0 -0
- package/dist/Manrope-ExtraBold-WMIW3IUY.ttf +0 -0
- package/dist/Manrope-ExtraLight-73PSLEHW.ttf +0 -0
- package/dist/Manrope-Light-Y5DQMGPD.ttf +0 -0
- package/dist/Manrope-Medium-EG6W7WPF.ttf +0 -0
- package/dist/Manrope-Regular-XVH52NWZ.ttf +0 -0
- package/dist/Manrope-SemiBold-UGY74FUV.ttf +0 -0
- package/dist/chunk-22LHS2J6.mjs +4 -0
- package/dist/chunk-2BR55L74.mjs +1 -0
- package/dist/chunk-2NMVE5M4.mjs +4 -0
- package/dist/chunk-2QZUKVBA.mjs +1 -0
- package/dist/chunk-2SAKLSZ4.mjs +4 -0
- package/dist/chunk-2VZWOBGP.mjs +1 -0
- package/dist/chunk-3KITWLRN.mjs +4 -0
- package/dist/chunk-3SZR5DC2.mjs +1 -0
- package/dist/chunk-3U3PZBHQ.mjs +4 -0
- package/dist/chunk-3UMMMQEH.mjs +4 -0
- package/dist/chunk-436WKDWG.mjs +4 -0
- package/dist/chunk-4CU7D3X2.mjs +1 -0
- package/dist/chunk-4DJ6HKHR.mjs +1 -0
- package/dist/chunk-4QRKVSTE.mjs +1 -0
- package/dist/chunk-4UIARERB.mjs +4 -0
- package/dist/chunk-53QLSQCO.mjs +4 -0
- package/dist/chunk-55EX54R7.mjs +4 -0
- package/dist/chunk-5AWZJAK3.mjs +4 -0
- package/dist/chunk-5BT4EWU5.mjs +1 -0
- package/dist/chunk-5NRGSTPV.mjs +4 -0
- package/dist/chunk-5OQF3MNO.mjs +1 -0
- package/dist/chunk-5RTGHMF3.mjs +4 -0
- package/dist/chunk-5WV5ZFEP.mjs +4 -0
- package/dist/chunk-5Z5PL7N3.mjs +1 -0
- package/dist/chunk-637VXITY.mjs +4 -0
- package/dist/chunk-6C4WESLL.mjs +1 -0
- package/dist/chunk-6DEY5ZDD.mjs +1 -0
- package/dist/chunk-6HLXIE4P.mjs +1 -0
- package/dist/chunk-6SWKEZN6.mjs +1 -0
- package/dist/chunk-6T4OEOJH.mjs +9 -0
- package/dist/chunk-6YHVVP3S.mjs +1 -0
- package/dist/chunk-76M7JE4D.mjs +1 -0
- package/dist/chunk-7BXIU4ZM.mjs +4 -0
- package/dist/chunk-7EXAS7HK.mjs +4 -0
- package/dist/chunk-7GSXNSLD.mjs +1 -0
- package/dist/chunk-7WIO2CIC.mjs +1 -0
- package/dist/chunk-A24EPYUY.mjs +1 -0
- package/dist/chunk-A2AEX4YB.mjs +4 -0
- package/dist/chunk-A3SUL73A.mjs +4 -0
- package/dist/chunk-AB43AQKL.mjs +1 -0
- package/dist/chunk-ABGNIQRP.mjs +1 -0
- package/dist/chunk-AEBUMA72.mjs +1 -0
- package/dist/chunk-AMV3MECK.mjs +1 -0
- package/dist/chunk-AUBKJ4XO.mjs +1 -0
- package/dist/chunk-AVHFRD6D.mjs +4 -0
- package/dist/chunk-AZ4VR5JX.mjs +3 -0
- package/dist/chunk-AZKOVKSK.mjs +4 -0
- package/dist/chunk-B4H6T2GP.mjs +1 -0
- package/dist/chunk-BADFWNRL.mjs +4 -0
- package/dist/chunk-BG7QXNV5.mjs +1 -0
- package/dist/chunk-BMA4266L.mjs +1 -0
- package/dist/chunk-BZAYEKYC.mjs +1 -0
- package/dist/chunk-CGDLOY7W.mjs +4 -0
- package/dist/chunk-CSBGSBEU.mjs +1 -0
- package/dist/chunk-CSWXKGJE.mjs +4 -0
- package/dist/chunk-CTKUF2I6.mjs +4 -0
- package/dist/chunk-CV7PH2KH.mjs +4 -0
- package/dist/chunk-CVLUVZR3.mjs +1 -0
- package/dist/chunk-D3B2YO7G.mjs +4 -0
- package/dist/chunk-D4IMQTVU.mjs +4 -0
- package/dist/chunk-DBY4SXQI.mjs +1 -0
- package/dist/chunk-DFIXTV2M.mjs +1 -0
- package/dist/chunk-DLUWDQSW.mjs +4 -0
- package/dist/chunk-DUEPJ3F4.mjs +1 -0
- package/dist/chunk-DY2G774J.mjs +1 -0
- package/dist/chunk-E4TE4NV6.mjs +4 -0
- package/dist/chunk-EG646342.mjs +1 -0
- package/dist/chunk-EOXVYLPB.mjs +1 -0
- package/dist/chunk-EPTHSTUM.mjs +1 -0
- package/dist/chunk-EVZSRWUW.mjs +1 -0
- package/dist/chunk-F4UGWCXY.mjs +1 -0
- package/dist/chunk-F5N6KQA2.mjs +1 -0
- package/dist/chunk-FHMQVAKQ.mjs +4 -0
- package/dist/chunk-FLHDNCNY.mjs +1 -0
- package/dist/chunk-FMH5CZ7X.mjs +4 -0
- package/dist/chunk-FMJBJ3HN.mjs +1 -0
- package/dist/chunk-FOISWNF5.mjs +1 -0
- package/dist/chunk-FRKGQKEM.mjs +4 -0
- package/dist/chunk-FRWX5YES.mjs +4 -0
- package/dist/chunk-FT3AE7L2.mjs +4 -0
- package/dist/chunk-FV3W3WL7.mjs +4 -0
- package/dist/chunk-FVM5SQT2.mjs +4 -0
- package/dist/chunk-G6ED5Z4J.mjs +1 -0
- package/dist/chunk-GS2VFNHY.mjs +1 -0
- package/dist/chunk-H7D3PZKE.mjs +1 -0
- package/dist/chunk-HH3AWPYB.mjs +4 -0
- package/dist/chunk-HNCC3AOT.mjs +4 -0
- package/dist/chunk-HR6PBSS5.mjs +1 -0
- package/dist/chunk-I3E2TYYZ.mjs +1 -0
- package/dist/chunk-IC2ABKAM.mjs +4 -0
- package/dist/chunk-IJQC7T2R.mjs +1 -0
- package/dist/chunk-INCYANPB.mjs +4 -0
- package/dist/chunk-IQ3TUH7O.mjs +1 -0
- package/dist/chunk-IQPZEEYJ.mjs +1 -0
- package/dist/chunk-ISBVFNWD.mjs +4 -0
- package/dist/chunk-IUT6JJHY.mjs +4 -0
- package/dist/chunk-IV5HRCWW.mjs +4 -0
- package/dist/chunk-J4IHIM6A.mjs +1 -0
- package/dist/chunk-JCH2CCQ7.mjs +1 -0
- package/dist/chunk-JFFTEK6Z.mjs +4 -0
- package/dist/chunk-JHNVX4UB.mjs +4 -0
- package/dist/chunk-JYL3XIJX.mjs +1 -0
- package/dist/chunk-KCCDR7HB.mjs +4 -0
- package/dist/chunk-KEOMDWUC.mjs +1 -0
- package/dist/chunk-KFCSVEI6.mjs +4 -0
- package/dist/chunk-KGEIN56Y.mjs +4 -0
- package/dist/chunk-KJMXSFJA.mjs +1 -0
- package/dist/chunk-KML6U7IE.mjs +1 -0
- package/dist/chunk-KOXC4RIH.mjs +1 -0
- package/dist/chunk-KTET6W73.mjs +1 -0
- package/dist/chunk-KVD6XDZT.mjs +1 -0
- package/dist/chunk-KX2NCNCS.mjs +1 -0
- package/dist/chunk-KXZFR7TI.mjs +1 -0
- package/dist/chunk-KY7WQYN4.mjs +4 -0
- package/dist/chunk-L2CGDHVO.mjs +1 -0
- package/dist/chunk-L3BLBPSR.mjs +4 -0
- package/dist/chunk-L5JPAKPM.mjs +1 -0
- package/dist/chunk-LAQ3QAUW.mjs +1 -0
- package/dist/chunk-LC2RBE7W.mjs +1 -0
- package/dist/chunk-LEC6GEWS.mjs +5 -0
- package/dist/chunk-LKGCU7H6.mjs +1 -0
- package/dist/chunk-LTTO57ZK.mjs +1 -0
- package/dist/chunk-LVFMFRBR.mjs +4 -0
- package/dist/chunk-LVK4QE5D.mjs +1 -0
- package/dist/chunk-LXZAOORS.mjs +1 -0
- package/dist/chunk-M245YHYF.mjs +4 -0
- package/dist/chunk-M4NJB4NN.mjs +1 -0
- package/dist/chunk-MDJREBVI.mjs +1 -0
- package/dist/chunk-MGYV46AJ.mjs +4 -0
- package/dist/chunk-MNI6AM7Q.mjs +4 -0
- package/dist/chunk-MZP7RIQZ.mjs +1 -0
- package/dist/chunk-NSMXJCXE.mjs +1 -0
- package/dist/chunk-NZS3XKXU.mjs +1 -0
- package/dist/chunk-O5BAW5XQ.mjs +3 -0
- package/dist/chunk-OB5WMODY.mjs +4 -0
- package/dist/chunk-OCPX4QPC.mjs +4 -0
- package/dist/chunk-OEFXIEY3.mjs +4 -0
- package/dist/chunk-OJYMSL24.mjs +1 -0
- package/dist/chunk-OM5ZUHCN.mjs +4 -0
- package/dist/chunk-ORNGKQM7.mjs +1 -0
- package/dist/chunk-OYZDAMCS.mjs +4 -0
- package/dist/chunk-PDY7JYY3.mjs +4 -0
- package/dist/chunk-PEQOQ7BK.mjs +4 -0
- package/dist/chunk-PFLESLNT.mjs +1 -0
- package/dist/chunk-PLTKMHUH.mjs +1 -0
- package/dist/chunk-PM35MWKG.mjs +4 -0
- package/dist/chunk-PXPSM7OQ.mjs +1 -0
- package/dist/chunk-Q2DPE66H.mjs +1 -0
- package/dist/chunk-Q3G5UAAD.mjs +1 -0
- package/dist/chunk-Q5NHYYRS.mjs +4 -0
- package/dist/chunk-Q5Q3DJWU.mjs +4 -0
- package/dist/chunk-Q5XT55O3.mjs +1 -0
- package/dist/chunk-Q6PKGY27.mjs +4 -0
- package/dist/chunk-QDAJ7QAD.mjs +2 -0
- package/dist/chunk-QKGEV7LG.mjs +1 -0
- package/dist/chunk-QTILVWJA.mjs +4 -0
- package/dist/chunk-R7LPCFUJ.mjs +4 -0
- package/dist/chunk-RAGDUV7M.mjs +4 -0
- package/dist/chunk-RK2CAIEF.mjs +4 -0
- package/dist/chunk-RLVKIMGU.mjs +4 -0
- package/dist/chunk-RR4QSUV2.mjs +1 -0
- package/dist/chunk-RULSHTXR.mjs +1 -0
- package/dist/chunk-RUOYGMOR.mjs +4 -0
- package/dist/chunk-RVRIMD6M.mjs +4 -0
- package/dist/chunk-RYZTCMVC.mjs +4 -0
- package/dist/chunk-S562PA5P.mjs +1 -0
- package/dist/chunk-SNZ5BAQQ.mjs +4 -0
- package/dist/chunk-SOIRB5TV.mjs +1 -0
- package/dist/chunk-SOLZ4VQH.mjs +4 -0
- package/dist/chunk-SRUG246N.mjs +4 -0
- package/dist/chunk-SV7NMNDI.mjs +1 -0
- package/dist/chunk-TEB67NCD.mjs +4 -0
- package/dist/chunk-TJVEQJW3.mjs +4 -0
- package/dist/chunk-TK4JC5PG.mjs +4 -0
- package/dist/chunk-TO2UDP5T.mjs +1 -0
- package/dist/chunk-TO7KJNKC.mjs +4 -0
- package/dist/chunk-TUI4S4GI.mjs +4 -0
- package/dist/chunk-TVZOULLL.mjs +4 -0
- package/dist/chunk-TZKQXT7Y.mjs +4 -0
- package/dist/chunk-U5PBLRRV.mjs +4 -0
- package/dist/chunk-U7GAPI7X.mjs +6 -0
- package/dist/chunk-UIMLXZPF.mjs +4 -0
- package/dist/chunk-UNS6CTQZ.mjs +4 -0
- package/dist/chunk-UWEU6TLS.mjs +6 -0
- package/dist/chunk-V2KCUPP5.mjs +4 -0
- package/dist/chunk-V6GC3UGV.mjs +1 -0
- package/dist/chunk-VKJ7E6OL.mjs +1 -0
- package/dist/chunk-VMAPGGGW.mjs +4 -0
- package/dist/chunk-WHDJPD5E.mjs +5 -0
- package/dist/chunk-WISC5QJV.mjs +1 -0
- package/dist/chunk-WISCWNL2.mjs +1 -0
- package/dist/chunk-WN2LPOQP.mjs +4 -0
- package/dist/chunk-WU3JMLSC.mjs +1 -0
- package/dist/chunk-X3JZSN3W.mjs +1 -0
- package/dist/chunk-X5KZKO2V.mjs +4 -0
- package/dist/chunk-XBCYPOFD.mjs +1 -0
- package/dist/chunk-XGIYNUGC.mjs +1 -0
- package/dist/chunk-XGRRLABA.mjs +8 -0
- package/dist/chunk-XI5H6WLY.mjs +1 -0
- package/dist/chunk-YEKQJ4YC.mjs +1 -0
- package/dist/chunk-YFAZQYK4.mjs +4 -0
- package/dist/chunk-YNCJATT7.mjs +4 -0
- package/dist/chunk-YNNW2C2U.mjs +1 -0
- package/dist/chunk-YO3GQYRJ.mjs +1 -0
- package/dist/chunk-ZDPQXVTF.mjs +1 -0
- package/dist/chunk-ZFUP5NVF.mjs +4 -0
- package/dist/chunk-ZGQC6O62.mjs +4 -0
- package/dist/chunk-ZSIYEVUV.mjs +4 -0
- package/dist/chunk-ZUA4KNIR.mjs +1 -0
- package/dist/chunk-ZWHGOTSF.mjs +1 -0
- package/dist/common-types.js +1 -0
- package/dist/common-types.mjs +1 -0
- package/dist/components/AdvancedComponents/CommentSection.css +1 -0
- package/dist/components/AdvancedComponents/CommentSection.js +4 -0
- package/dist/components/AdvancedComponents/CommentSection.mjs +1 -0
- package/dist/components/AdvancedComponents/EditableField.css +1 -0
- package/dist/components/AdvancedComponents/EditableField.js +4 -0
- package/dist/components/AdvancedComponents/EditableField.mjs +1 -0
- package/dist/components/AdvancedComponents/NAVIGATION_TABS_README.js +108 -0
- package/dist/components/AdvancedComponents/NAVIGATION_TABS_README.mjs +108 -0
- package/dist/components/AdvancedComponents/app-header.css +1 -0
- package/dist/components/AdvancedComponents/app-header.js +5 -0
- package/dist/components/AdvancedComponents/app-header.mjs +2 -0
- package/dist/components/AdvancedComponents/index.css +1 -0
- package/dist/components/AdvancedComponents/index.js +6 -0
- package/dist/components/AdvancedComponents/index.mjs +1 -0
- package/dist/components/AdvancedComponents/navigation-tabs.css +1 -0
- package/dist/components/AdvancedComponents/navigation-tabs.js +5 -0
- package/dist/components/AdvancedComponents/navigation-tabs.mjs +2 -0
- package/dist/components/AdvancedComponents/notifications-panel.css +1 -0
- package/dist/components/AdvancedComponents/notifications-panel.js +5 -0
- package/dist/components/AdvancedComponents/notifications-panel.mjs +2 -0
- package/dist/components/AdvancedComponents/sidebar.css +1 -0
- package/dist/components/AdvancedComponents/sidebar.js +5 -0
- package/dist/components/AdvancedComponents/sidebar.mjs +2 -0
- package/dist/components/AdvancedComponents/switch.css +1 -0
- package/dist/components/AdvancedComponents/switch.js +4 -0
- package/dist/components/AdvancedComponents/switch.mjs +2 -0
- package/dist/components/AdvancedComponents/theme-provider.js +4 -0
- package/dist/components/AdvancedComponents/theme-provider.mjs +4 -0
- package/dist/components/AdvancedComponents/theme-toggle.css +1 -0
- package/dist/components/AdvancedComponents/theme-toggle.js +5 -0
- package/dist/components/AdvancedComponents/theme-toggle.mjs +2 -0
- package/dist/components/AdvancedComponents/user-selection.css +1 -0
- package/dist/components/AdvancedComponents/user-selection.js +5 -0
- package/dist/components/AdvancedComponents/user-selection.mjs +2 -0
- package/dist/components/Blocks/Banner.css +1 -0
- package/dist/components/Blocks/Banner.js +4 -0
- package/dist/components/Blocks/Banner.mjs +1 -0
- package/dist/components/Blocks/CallToAction.css +1 -0
- package/dist/components/Blocks/CallToAction.js +4 -0
- package/dist/components/Blocks/CallToAction.mjs +2 -0
- package/dist/components/Blocks/CaseStudy.css +1 -0
- package/dist/components/Blocks/CaseStudy.js +1 -0
- package/dist/components/Blocks/CaseStudy.mjs +1 -0
- package/dist/components/Blocks/Code.client.css +1 -0
- package/dist/components/Blocks/Code.client.js +4 -0
- package/dist/components/Blocks/Code.client.mjs +2 -0
- package/dist/components/Blocks/Code.css +1 -0
- package/dist/components/Blocks/Code.js +4 -0
- package/dist/components/Blocks/Code.mjs +1 -0
- package/dist/components/Blocks/CollapsibleArea.css +1 -0
- package/dist/components/Blocks/CollapsibleArea.js +4 -0
- package/dist/components/Blocks/CollapsibleArea.mjs +2 -0
- package/dist/components/Blocks/ConsultantProfile.css +1 -0
- package/dist/components/Blocks/ConsultantProfile.js +1 -0
- package/dist/components/Blocks/ConsultantProfile.mjs +1 -0
- package/dist/components/Blocks/Content.css +1 -0
- package/dist/components/Blocks/Content.js +4 -0
- package/dist/components/Blocks/Content.mjs +1 -0
- package/dist/components/Blocks/CopyButton.css +1 -0
- package/dist/components/Blocks/CopyButton.js +4 -0
- package/dist/components/Blocks/CopyButton.mjs +2 -0
- package/dist/components/Blocks/FeaturesBlock.css +1 -0
- package/dist/components/Blocks/FeaturesBlock.js +4 -0
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -0
- package/dist/components/Blocks/HeadingImage.js +1 -0
- package/dist/components/Blocks/HeadingImage.mjs +1 -0
- package/dist/components/Blocks/ImageBlock.js +4 -0
- package/dist/components/Blocks/ImageBlock.mjs +1 -0
- package/dist/components/Blocks/InfoTile.js +1 -0
- package/dist/components/Blocks/InfoTile.mjs +1 -0
- package/dist/components/Blocks/Insight.js +4 -0
- package/dist/components/Blocks/Insight.mjs +2 -0
- package/dist/components/Blocks/MOTD.js +1 -0
- package/dist/components/Blocks/MOTD.mjs +1 -0
- package/dist/components/Blocks/MediaBlock.js +4 -0
- package/dist/components/Blocks/MediaBlock.mjs +1 -0
- package/dist/components/Blocks/OrgChart.js +4 -0
- package/dist/components/Blocks/OrgChart.mjs +2 -0
- package/dist/components/Blocks/ProposalSummary.css +1 -0
- package/dist/components/Blocks/ProposalSummary.js +1 -0
- package/dist/components/Blocks/ProposalSummary.mjs +1 -0
- package/dist/components/Blocks/RelatedPosts.css +1 -0
- package/dist/components/Blocks/RelatedPosts.js +4 -0
- package/dist/components/Blocks/RelatedPosts.mjs +1 -0
- package/dist/components/Blocks/RenderBlocks.css +1 -0
- package/dist/components/Blocks/RenderBlocks.js +4 -0
- package/dist/components/Blocks/RenderBlocks.mjs +1 -0
- package/dist/components/Blocks/ReusableContentBlock.css +1 -0
- package/dist/components/Blocks/ReusableContentBlock.js +4 -0
- package/dist/components/Blocks/ReusableContentBlock.mjs +1 -0
- package/dist/components/Blocks/WhyUs.js +1 -0
- package/dist/components/Blocks/WhyUs.mjs +1 -0
- package/dist/components/Blocks/index.css +1 -0
- package/dist/components/Blocks/index.js +4 -0
- package/dist/components/Blocks/index.mjs +1 -0
- package/dist/components/CRM/CogeBoard.css +1 -0
- package/dist/components/CRM/CogeBoard.js +4 -0
- package/dist/components/CRM/CogeBoard.mjs +2 -0
- package/dist/components/CRM/DealCard.css +1 -0
- package/dist/components/CRM/DealCard.js +1 -0
- package/dist/components/CRM/DealCard.mjs +1 -0
- package/dist/components/CRM/DealDetails.css +1 -0
- package/dist/components/CRM/DealDetails.js +4 -0
- package/dist/components/CRM/DealDetails.mjs +1 -0
- package/dist/components/CRM/KanbanBoard.css +1 -0
- package/dist/components/CRM/KanbanBoard.js +4 -0
- package/dist/components/CRM/KanbanBoard.mjs +2 -0
- package/dist/components/CRM/KanbanColumn.css +1 -0
- package/dist/components/CRM/KanbanColumn.js +1 -0
- package/dist/components/CRM/KanbanColumn.mjs +1 -0
- package/dist/components/CRM/NewCustomerForm.css +1 -0
- package/dist/components/CRM/NewCustomerForm.js +4 -0
- package/dist/components/CRM/NewCustomerForm.mjs +1 -0
- package/dist/components/CRM/NewDealForm.css +1 -0
- package/dist/components/CRM/NewDealForm.js +4 -0
- package/dist/components/CRM/NewDealForm.mjs +1 -0
- package/dist/components/CRM/index.css +1 -0
- package/dist/components/CRM/index.js +4 -0
- package/dist/components/CRM/index.mjs +1 -0
- package/dist/components/CRM/mockData.js +1 -0
- package/dist/components/CRM/mockData.mjs +1 -0
- package/dist/components/CRM/types.js +1 -0
- package/dist/components/Cards/ContentCard.css +1 -0
- package/dist/components/Cards/ContentCard.js +4 -0
- package/dist/components/Cards/ContentCard.mjs +1 -0
- package/dist/components/Cards/CustomerCard.css +1 -0
- package/dist/components/Cards/CustomerCard.js +1 -0
- package/dist/components/Cards/CustomerCard.mjs +1 -0
- package/dist/components/Cards/EventCard.css +1 -0
- package/dist/components/Cards/EventCard.js +4 -0
- package/dist/components/Cards/EventCard.mjs +1 -0
- package/dist/components/Cards/FeatureCard.css +1 -0
- package/dist/components/Cards/FeatureCard.js +4 -0
- package/dist/components/Cards/FeatureCard.mjs +1 -0
- package/dist/components/Cards/HeroCard.css +1 -0
- package/dist/components/Cards/HeroCard.js +1 -0
- package/dist/components/Cards/HeroCard.mjs +1 -0
- package/dist/components/Cards/Image.css +1 -0
- package/dist/components/Cards/Image.js +4 -0
- package/dist/components/Cards/Image.mjs +2 -0
- package/dist/components/Cards/PricingCard.css +1 -0
- package/dist/components/Cards/PricingCard.js +1 -0
- package/dist/components/Cards/PricingCard.mjs +1 -0
- package/dist/components/Cards/ProjectCard.js +5 -0
- package/dist/components/Cards/ProjectCard.mjs +1 -0
- package/dist/components/Cards/ServiceCard.css +1 -0
- package/dist/components/Cards/ServiceCard.js +4 -0
- package/dist/components/Cards/ServiceCard.mjs +1 -0
- package/dist/components/Cards/index.css +1 -0
- package/dist/components/Cards/index.js +9 -0
- package/dist/components/Cards/index.mjs +1 -0
- package/dist/components/Chat/CAPABILITIES_README.js +199 -0
- package/dist/components/Chat/CAPABILITIES_README.mjs +199 -0
- package/dist/components/Chat/ChatCardArtefact.css +1 -0
- package/dist/components/Chat/ChatCardArtefact.js +1 -0
- package/dist/components/Chat/ChatCardArtefact.mjs +1 -0
- package/dist/components/Chat/ChatCardTask.css +1 -0
- package/dist/components/Chat/ChatCardTask.js +1 -0
- package/dist/components/Chat/ChatCardTask.mjs +1 -0
- package/dist/components/Chat/ChatInterfaceMessages.css +1 -0
- package/dist/components/Chat/ChatInterfaceMessages.js +7 -0
- package/dist/components/Chat/ChatInterfaceMessages.mjs +2 -0
- package/dist/components/Chat/ChatMessage.css +1 -0
- package/dist/components/Chat/ChatMessage.js +7 -0
- package/dist/components/Chat/ChatMessage.mjs +1 -0
- package/dist/components/Chat/CopilotInterface.css +1 -0
- package/dist/components/Chat/CopilotInterface.js +5 -0
- package/dist/components/Chat/CopilotInterface.mjs +2 -0
- package/dist/components/Chat/EnhancedChatInterface.css +1 -0
- package/dist/components/Chat/EnhancedChatInterface.js +5 -0
- package/dist/components/Chat/EnhancedChatInterface.mjs +4 -0
- package/dist/components/Chat/ai-chat-interface.css +1 -0
- package/dist/components/Chat/ai-chat-interface.js +5 -0
- package/dist/components/Chat/ai-chat-interface.mjs +4 -0
- package/dist/components/Chat/capabilities-config.js +1 -0
- package/dist/components/Chat/capabilities-config.mjs +1 -0
- package/dist/components/Chat/capabilities-data.js +1 -0
- package/dist/components/Chat/capabilities-data.mjs +1 -0
- package/dist/components/Chat/capabilities.js +1 -0
- package/dist/components/Chat/capabilities.mjs +1 -0
- package/dist/components/Chat/capability-menu.css +1 -0
- package/dist/components/Chat/capability-menu.js +4 -0
- package/dist/components/Chat/capability-menu.mjs +2 -0
- package/dist/components/Chat/chat-session-sidebar.css +1 -0
- package/dist/components/Chat/chat-session-sidebar.js +5 -0
- package/dist/components/Chat/chat-session-sidebar.mjs +2 -0
- package/dist/components/Chat/hooks/useTask.js +1 -0
- package/dist/components/Chat/hooks/useTask.mjs +1 -0
- package/dist/components/Chat/index.css +1 -0
- package/dist/components/Chat/index.js +8 -0
- package/dist/components/Chat/index.mjs +1 -0
- package/dist/components/DeliveryLead/DeliveryLeadSubmission.css +1 -0
- package/dist/components/DeliveryLead/DeliveryLeadSubmission.js +6 -0
- package/dist/components/DeliveryLead/DeliveryLeadSubmission.mjs +2 -0
- package/dist/components/DeliveryLead/DeliveryLeadSubmissionList.css +1 -0
- package/dist/components/DeliveryLead/DeliveryLeadSubmissionList.js +4 -0
- package/dist/components/DeliveryLead/DeliveryLeadSubmissionList.mjs +2 -0
- package/dist/components/DeliveryLead/DeliveryLeadSubmissionWithList.css +1 -0
- package/dist/components/DeliveryLead/DeliveryLeadSubmissionWithList.js +6 -0
- package/dist/components/DeliveryLead/DeliveryLeadSubmissionWithList.mjs +2 -0
- package/dist/components/DeliveryLead/index.css +1 -0
- package/dist/components/DeliveryLead/index.js +6 -0
- package/dist/components/DeliveryLead/index.mjs +1 -0
- package/dist/components/DeliveryLead/types.js +1 -0
- package/dist/components/DigitalColleagues/AppSidebarLeft.css +1 -0
- package/dist/components/DigitalColleagues/AppSidebarLeft.js +4 -0
- package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +2 -0
- package/dist/components/DigitalColleagues/DashboardHeader.css +1 -0
- package/dist/components/DigitalColleagues/DashboardHeader.js +4 -0
- package/dist/components/DigitalColleagues/DashboardHeader.mjs +1 -0
- package/dist/components/DigitalColleagues/DigitalColleageusLayout.css +1 -0
- package/dist/components/DigitalColleagues/DigitalColleageusLayout.js +5 -0
- package/dist/components/DigitalColleagues/DigitalColleageusLayout.mjs +2 -0
- package/dist/components/DigitalColleagues/MainPage.css +1 -0
- package/dist/components/DigitalColleagues/MainPage.js +4 -0
- package/dist/components/DigitalColleagues/MainPage.mjs +4 -0
- package/dist/components/DigitalColleagues/ManagementSidebar.css +1 -0
- package/dist/components/DigitalColleagues/ManagementSidebar.js +4 -0
- package/dist/components/DigitalColleagues/ManagementSidebar.mjs +1 -0
- package/dist/components/DigitalColleagues/Pages/dashboardpage.css +1 -0
- package/dist/components/DigitalColleagues/Pages/dashboardpage.js +5 -0
- package/dist/components/DigitalColleagues/Pages/dashboardpage.mjs +4 -0
- package/dist/components/DigitalColleagues/SearchableSelect.css +1 -0
- package/dist/components/DigitalColleagues/SearchableSelect.js +4 -0
- package/dist/components/DigitalColleagues/SearchableSelect.mjs +1 -0
- package/dist/components/DigitalColleagues/Views/ColleaguesView.css +1 -0
- package/dist/components/DigitalColleagues/Views/ColleaguesView.js +5 -0
- package/dist/components/DigitalColleagues/Views/ColleaguesView.mjs +2 -0
- package/dist/components/DigitalColleagues/Views/KnowledgeView.css +1 -0
- package/dist/components/DigitalColleagues/Views/KnowledgeView.js +5 -0
- package/dist/components/DigitalColleagues/Views/KnowledgeView.mjs +1 -0
- package/dist/components/DigitalColleagues/Views/TeamsIndexView.css +1 -0
- package/dist/components/DigitalColleagues/Views/TeamsIndexView.js +5 -0
- package/dist/components/DigitalColleagues/Views/TeamsIndexView.mjs +2 -0
- package/dist/components/DigitalColleagues/Views/index.css +1 -0
- package/dist/components/DigitalColleagues/Views/index.js +5 -0
- package/dist/components/DigitalColleagues/Views/index.mjs +1 -0
- package/dist/components/DigitalColleagues/colleague-card.css +1 -0
- package/dist/components/DigitalColleagues/colleague-card.js +5 -0
- package/dist/components/DigitalColleagues/colleague-card.mjs +2 -0
- package/dist/components/DigitalColleagues/colleague-form.css +1 -0
- package/dist/components/DigitalColleagues/colleague-form.js +5 -0
- package/dist/components/DigitalColleagues/colleague-form.mjs +2 -0
- package/dist/components/DigitalColleagues/colleague-type-selection.css +1 -0
- package/dist/components/DigitalColleagues/colleague-type-selection.js +4 -0
- package/dist/components/DigitalColleagues/colleague-type-selection.mjs +2 -0
- package/dist/components/DigitalColleagues/digital-colleague-clone.css +1 -0
- package/dist/components/DigitalColleagues/digital-colleague-clone.js +5 -0
- package/dist/components/DigitalColleagues/digital-colleague-clone.mjs +2 -0
- package/dist/components/DigitalColleagues/digital-colleague-options.css +1 -0
- package/dist/components/DigitalColleagues/digital-colleague-options.js +4 -0
- package/dist/components/DigitalColleagues/digital-colleague-options.mjs +2 -0
- package/dist/components/DigitalColleagues/test-data.js +1 -0
- package/dist/components/DigitalColleagues/test-data.mjs +1 -0
- package/dist/components/DigitalColleagues/types.js +1 -0
- package/dist/components/HeaderFooter/AppLauncher.js +4 -0
- package/dist/components/HeaderFooter/AppLauncher.mjs +2 -0
- package/dist/components/HeaderFooter/BrandLogo.js +1 -0
- package/dist/components/HeaderFooter/BrandLogo.mjs +1 -0
- package/dist/components/HeaderFooter/Footer.css +1 -0
- package/dist/components/HeaderFooter/Footer.js +1 -0
- package/dist/components/HeaderFooter/Footer.mjs +1 -0
- package/dist/components/HeaderFooter/Header.css +1 -0
- package/dist/components/HeaderFooter/Header.js +4 -0
- package/dist/components/HeaderFooter/Header.mjs +1 -0
- package/dist/components/HeaderFooter/HeaderDesktop.css +1 -0
- package/dist/components/HeaderFooter/HeaderDesktop.js +4 -0
- package/dist/components/HeaderFooter/HeaderDesktop.mjs +2 -0
- package/dist/components/HeaderFooter/HeaderMenu.css +1 -0
- package/dist/components/HeaderFooter/HeaderMenu.js +4 -0
- package/dist/components/HeaderFooter/HeaderMenu.mjs +1 -0
- package/dist/components/HeaderFooter/HeaderMenuItem.js +1 -0
- package/dist/components/HeaderFooter/HeaderMenuItem.mjs +1 -0
- package/dist/components/HeaderFooter/HeaderMobile.js +4 -0
- package/dist/components/HeaderFooter/HeaderMobile.mjs +2 -0
- package/dist/components/HeaderFooter/RelatedPagesMenu.css +1 -0
- package/dist/components/HeaderFooter/RelatedPagesMenu.js +4 -0
- package/dist/components/HeaderFooter/RelatedPagesMenu.mjs +2 -0
- package/dist/components/HeaderFooter/SectionHeading.css +1 -0
- package/dist/components/HeaderFooter/SectionHeading.js +4 -0
- package/dist/components/HeaderFooter/SectionHeading.mjs +1 -0
- package/dist/components/HeaderFooter/SimpleHeader.css +1 -0
- package/dist/components/HeaderFooter/SimpleHeader.js +4 -0
- package/dist/components/HeaderFooter/SimpleHeader.mjs +2 -0
- package/dist/components/HeaderFooter/VideoHeader.css +1 -0
- package/dist/components/HeaderFooter/VideoHeader.js +4 -0
- package/dist/components/HeaderFooter/VideoHeader.mjs +2 -0
- package/dist/components/HeaderFooter/index.css +1 -0
- package/dist/components/HeaderFooter/index.js +4 -0
- package/dist/components/HeaderFooter/index.mjs +1 -0
- package/dist/components/Heros/DashboardHero/DashboardHero.css +1 -0
- package/dist/components/Heros/DashboardHero/DashboardHero.js +4 -0
- package/dist/components/Heros/DashboardHero/DashboardHero.mjs +2 -0
- package/dist/components/Heros/DashboardHero/index.css +1 -0
- package/dist/components/Heros/DashboardHero/index.js +4 -0
- package/dist/components/Heros/DashboardHero/index.mjs +1 -0
- package/dist/components/Heros/HighImpact/index.css +1 -0
- package/dist/components/Heros/HighImpact/index.js +4 -0
- package/dist/components/Heros/HighImpact/index.mjs +2 -0
- package/dist/components/Heros/LowImpact/index.css +1 -0
- package/dist/components/Heros/LowImpact/index.js +4 -0
- package/dist/components/Heros/LowImpact/index.mjs +1 -0
- package/dist/components/Heros/MediumImpact/index.css +1 -0
- package/dist/components/Heros/MediumImpact/index.js +4 -0
- package/dist/components/Heros/MediumImpact/index.mjs +1 -0
- package/dist/components/Heros/PostHero/index.css +1 -0
- package/dist/components/Heros/PostHero/index.js +1 -0
- package/dist/components/Heros/PostHero/index.mjs +1 -0
- package/dist/components/Heros/RenderHero.css +1 -0
- package/dist/components/Heros/RenderHero.js +4 -0
- package/dist/components/Heros/RenderHero.mjs +1 -0
- package/dist/components/Heros/SectionHero/index.css +1 -0
- package/dist/components/Heros/SectionHero/index.js +1 -0
- package/dist/components/Heros/SectionHero/index.mjs +1 -0
- package/dist/components/Heros/index.css +1 -0
- package/dist/components/Heros/index.js +5 -0
- package/dist/components/Heros/index.mjs +1 -0
- package/dist/components/Holidays/ApproveLeave.css +1 -0
- package/dist/components/Holidays/ApproveLeave.js +4 -0
- package/dist/components/Holidays/ApproveLeave.mjs +2 -0
- package/dist/components/Holidays/CalendarView.css +1 -0
- package/dist/components/Holidays/CalendarView.js +4 -0
- package/dist/components/Holidays/CalendarView.mjs +2 -0
- package/dist/components/Holidays/HolidayGrid.css +1 -0
- package/dist/components/Holidays/HolidayGrid.js +4 -0
- package/dist/components/Holidays/HolidayGrid.mjs +1 -0
- package/dist/components/Holidays/HolidayTracker.css +1 -0
- package/dist/components/Holidays/HolidayTracker.js +4 -0
- package/dist/components/Holidays/HolidayTracker.mjs +2 -0
- package/dist/components/Holidays/RequestLeave.css +1 -0
- package/dist/components/Holidays/RequestLeave.js +4 -0
- package/dist/components/Holidays/RequestLeave.mjs +2 -0
- package/dist/components/Holidays/index.css +1 -0
- package/dist/components/Holidays/index.js +4 -0
- package/dist/components/Holidays/index.mjs +1 -0
- package/dist/components/Icons/ScrollDownIcon.js +4 -0
- package/dist/components/Icons/ScrollDownIcon.mjs +4 -0
- package/dist/components/Images/DynamicIcon.js +4 -0
- package/dist/components/Images/DynamicIcon.mjs +2 -0
- package/dist/components/Images/IconIndex.js +18 -0
- package/dist/components/Images/IconIndex.mjs +18 -0
- package/dist/components/Images/customIconList.js +1 -0
- package/dist/components/Images/customIconList.mjs +1 -0
- package/dist/components/Images/index.js +4 -0
- package/dist/components/Images/index.mjs +1 -0
- package/dist/components/Layouts/FeatureGrid.js +4 -0
- package/dist/components/Layouts/FeatureGrid.mjs +2 -0
- package/dist/components/Layouts/NewsGrid.js +4 -0
- package/dist/components/Layouts/NewsGrid.mjs +2 -0
- package/dist/components/Layouts/NewsList.js +1 -0
- package/dist/components/Layouts/NewsList.mjs +1 -0
- package/dist/components/Layouts/OutputHeaderFooter.css +1 -0
- package/dist/components/Layouts/OutputHeaderFooter.js +5 -0
- package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -0
- package/dist/components/Layouts/Print.css +1 -0
- package/dist/components/Layouts/Print.js +5 -0
- package/dist/components/Layouts/Print.mjs +2 -0
- package/dist/components/Layouts/SlideShow.css +1 -0
- package/dist/components/Layouts/SlideShow.js +7 -0
- package/dist/components/Layouts/SlideShow.mjs +2 -0
- package/dist/components/Layouts/TextAndImages.js +1 -0
- package/dist/components/Layouts/TextAndImages.mjs +1 -0
- package/dist/components/Layouts/index.css +1 -0
- package/dist/components/Layouts/index.js +8 -0
- package/dist/components/Layouts/index.mjs +1 -0
- package/dist/components/Menus/Categories.css +1 -0
- package/dist/components/Menus/Categories.js +4 -0
- package/dist/components/Menus/Categories.mjs +2 -0
- package/dist/components/Menus/Filter.css +1 -0
- package/dist/components/Menus/Filter.js +4 -0
- package/dist/components/Menus/Filter.mjs +2 -0
- package/dist/components/Menus/Pagination.js +4 -0
- package/dist/components/Menus/Pagination.mjs +2 -0
- package/dist/components/Menus/ProjectTeam.css +1 -0
- package/dist/components/Menus/ProjectTeam.js +1 -0
- package/dist/components/Menus/ProjectTeam.mjs +1 -0
- package/dist/components/Menus/RelatedContent.css +1 -0
- package/dist/components/Menus/RelatedContent.js +1 -0
- package/dist/components/Menus/RelatedContent.mjs +1 -0
- package/dist/components/Menus/SidebarLeft.css +1 -0
- package/dist/components/Menus/SidebarLeft.js +4 -0
- package/dist/components/Menus/SidebarLeft.mjs +2 -0
- package/dist/components/Menus/SidebarRight.css +1 -0
- package/dist/components/Menus/SidebarRight.js +4 -0
- package/dist/components/Menus/SidebarRight.mjs +2 -0
- package/dist/components/Menus/index.css +1 -0
- package/dist/components/Menus/index.js +4 -0
- package/dist/components/Menus/index.mjs +1 -0
- package/dist/components/Other/AnimatedBorder.js +4 -0
- package/dist/components/Other/AnimatedBorder.mjs +4 -0
- package/dist/components/Other/Container.css +1 -0
- package/dist/components/Other/Container.js +1 -0
- package/dist/components/Other/Container.mjs +1 -0
- package/dist/components/Other/CustomLink.js +1 -0
- package/dist/components/Other/CustomLink.mjs +1 -0
- package/dist/components/Other/PageShape.js +1 -0
- package/dist/components/Other/PageShape.mjs +1 -0
- package/dist/components/Other/ThemeProvider.js +4 -0
- package/dist/components/Other/ThemeProvider.mjs +2 -0
- package/dist/components/Other/index.css +1 -0
- package/dist/components/Other/index.js +4 -0
- package/dist/components/Other/index.mjs +1 -0
- package/dist/components/Payload/Card/index.js +4 -0
- package/dist/components/Payload/Card/index.mjs +2 -0
- package/dist/components/Payload/CollectionArchive/index.js +4 -0
- package/dist/components/Payload/CollectionArchive/index.mjs +1 -0
- package/dist/components/Payload/Link/index.css +1 -0
- package/dist/components/Payload/Link/index.js +1 -0
- package/dist/components/Payload/Link/index.mjs +1 -0
- package/dist/components/Payload/Logo/index.js +1 -0
- package/dist/components/Payload/Logo/index.mjs +1 -0
- package/dist/components/Payload/Media/ImageMedia/index.js +4 -0
- package/dist/components/Payload/Media/ImageMedia/index.mjs +2 -0
- package/dist/components/Payload/Media/VideoMedia/index.js +4 -0
- package/dist/components/Payload/Media/VideoMedia/index.mjs +2 -0
- package/dist/components/Payload/Media/index.js +4 -0
- package/dist/components/Payload/Media/index.mjs +1 -0
- package/dist/components/Payload/Media/types.js +1 -0
- package/dist/components/Payload/PageRange/index.js +1 -0
- package/dist/components/Payload/PageRange/index.mjs +1 -0
- package/dist/components/Payload/Pagination/index.css +1 -0
- package/dist/components/Payload/Pagination/index.js +4 -0
- package/dist/components/Payload/Pagination/index.mjs +2 -0
- package/dist/components/Payload/RichText/index.css +1 -0
- package/dist/components/Payload/RichText/index.js +4 -0
- package/dist/components/Payload/RichText/index.mjs +1 -0
- package/dist/components/Payload/RichText/nodeFormat.js +3 -0
- package/dist/components/Payload/RichText/nodeFormat.mjs +1 -0
- package/dist/components/Payload/RichText/serialize.css +1 -0
- package/dist/components/Payload/RichText/serialize.js +4 -0
- package/dist/components/Payload/RichText/serialize.mjs +1 -0
- package/dist/components/Payload/index.css +1 -0
- package/dist/components/Payload/index.js +4 -0
- package/dist/components/Payload/index.mjs +1 -0
- package/dist/components/Projects/AddEpicModal.css +1 -0
- package/dist/components/Projects/AddEpicModal.js +4 -0
- package/dist/components/Projects/AddEpicModal.mjs +1 -0
- package/dist/components/Projects/AddSprintModal.css +1 -0
- package/dist/components/Projects/AddSprintModal.js +4 -0
- package/dist/components/Projects/AddSprintModal.mjs +1 -0
- package/dist/components/Projects/AddTaskModal.css +1 -0
- package/dist/components/Projects/AddTaskModal.js +4 -0
- package/dist/components/Projects/AddTaskModal.mjs +1 -0
- package/dist/components/Projects/EpicFilter.css +1 -0
- package/dist/components/Projects/EpicFilter.js +4 -0
- package/dist/components/Projects/EpicFilter.mjs +1 -0
- package/dist/components/Projects/EpicsView.css +1 -0
- package/dist/components/Projects/EpicsView.js +5 -0
- package/dist/components/Projects/EpicsView.mjs +1 -0
- package/dist/components/Projects/FileView.css +1 -0
- package/dist/components/Projects/FileView.js +5 -0
- package/dist/components/Projects/FileView.mjs +2 -0
- package/dist/components/Projects/KanbanBoardView.css +1 -0
- package/dist/components/Projects/KanbanBoardView.js +5 -0
- package/dist/components/Projects/KanbanBoardView.mjs +1 -0
- package/dist/components/Projects/KanbanColumn.css +1 -0
- package/dist/components/Projects/KanbanColumn.js +1 -0
- package/dist/components/Projects/KanbanColumn.mjs +1 -0
- package/dist/components/Projects/PlanningView.css +1 -0
- package/dist/components/Projects/PlanningView.js +5 -0
- package/dist/components/Projects/PlanningView.mjs +1 -0
- package/dist/components/Projects/ProjectPage.css +1 -0
- package/dist/components/Projects/ProjectPage.js +5 -0
- package/dist/components/Projects/ProjectPage.mjs +4 -0
- package/dist/components/Projects/ProjectView.css +1 -0
- package/dist/components/Projects/ProjectView.js +5 -0
- package/dist/components/Projects/ProjectView.mjs +1 -0
- package/dist/components/Projects/ProjectsIndexView.css +1 -0
- package/dist/components/Projects/ProjectsIndexView.js +5 -0
- package/dist/components/Projects/ProjectsIndexView.mjs +2 -0
- package/dist/components/Projects/TaskCard.css +1 -0
- package/dist/components/Projects/TaskCard.js +1 -0
- package/dist/components/Projects/TaskCard.mjs +1 -0
- package/dist/components/Projects/TaskDetailsModal.css +1 -0
- package/dist/components/Projects/TaskDetailsModal.js +4 -0
- package/dist/components/Projects/TaskDetailsModal.mjs +1 -0
- package/dist/components/Projects/TaskSelect.css +1 -0
- package/dist/components/Projects/TaskSelect.js +4 -0
- package/dist/components/Projects/TaskSelect.mjs +1 -0
- package/dist/components/Projects/TaskSidebar.css +1 -0
- package/dist/components/Projects/TaskSidebar.js +4 -0
- package/dist/components/Projects/TaskSidebar.mjs +1 -0
- package/dist/components/Projects/TasksView.css +1 -0
- package/dist/components/Projects/TasksView.js +5 -0
- package/dist/components/Projects/TasksView.mjs +1 -0
- package/dist/components/Projects/TeamSwitcher.css +1 -0
- package/dist/components/Projects/TeamSwitcher.js +4 -0
- package/dist/components/Projects/TeamSwitcher.mjs +1 -0
- package/dist/components/Projects/business-unit-switcher.css +1 -0
- package/dist/components/Projects/business-unit-switcher.js +5 -0
- package/dist/components/Projects/business-unit-switcher.mjs +2 -0
- package/dist/components/Projects/business-units.js +1 -0
- package/dist/components/Projects/business-units.mjs +1 -0
- package/dist/components/Projects/file-list.css +1 -0
- package/dist/components/Projects/file-list.js +4 -0
- package/dist/components/Projects/file-list.mjs +2 -0
- package/dist/components/Projects/project-card.css +1 -0
- package/dist/components/Projects/project-card.js +4 -0
- package/dist/components/Projects/project-card.mjs +2 -0
- package/dist/components/Projects/project-form.css +1 -0
- package/dist/components/Projects/project-form.js +4 -0
- package/dist/components/Projects/project-form.mjs +2 -0
- package/dist/components/Projects/team-card.css +1 -0
- package/dist/components/Projects/team-card.js +4 -0
- package/dist/components/Projects/team-card.mjs +2 -0
- package/dist/components/Projects/team-switcher-bar.css +1 -0
- package/dist/components/Projects/team-switcher-bar.js +5 -0
- package/dist/components/Projects/team-switcher-bar.mjs +4 -0
- package/dist/components/Projects/test-data.js +1 -0
- package/dist/components/Projects/test-data.mjs +1 -0
- package/dist/components/dc-temp/CHANGES_SUMMARY.js +104 -0
- package/dist/components/dc-temp/CHANGES_SUMMARY.mjs +104 -0
- package/dist/components/dc-temp/COLLEAGUE_SELECTION_README.js +117 -0
- package/dist/components/dc-temp/COLLEAGUE_SELECTION_README.mjs +117 -0
- package/dist/components/dc-temp/DIGITAL_COLLEAGUE_UPDATES.js +207 -0
- package/dist/components/dc-temp/DIGITAL_COLLEAGUE_UPDATES.mjs +207 -0
- package/dist/components/dc-temp/IMPLEMENTATION_SUMMARY.js +121 -0
- package/dist/components/dc-temp/IMPLEMENTATION_SUMMARY.mjs +121 -0
- package/dist/components/dc-temp/TEAMS_README.js +92 -0
- package/dist/components/dc-temp/TEAMS_README.mjs +92 -0
- package/dist/components/dc-temp/creative.css +1 -0
- package/dist/components/dc-temp/creative.js +5 -0
- package/dist/components/dc-temp/creative.mjs +4 -0
- package/dist/components/dc-temp/dashboard-integration-example.css +1 -0
- package/dist/components/dc-temp/dashboard-integration-example.js +8 -0
- package/dist/components/dc-temp/dashboard-integration-example.mjs +4 -0
- package/dist/components/dc-temp/enhanced-header.css +1 -0
- package/dist/components/dc-temp/enhanced-header.js +5 -0
- package/dist/components/dc-temp/enhanced-header.mjs +4 -0
- package/dist/components/dc-temp/headerlogo.js +1 -0
- package/dist/components/dc-temp/headerlogo.mjs +1 -0
- package/dist/components/dc-temp/icon-mapper.js +1 -0
- package/dist/components/dc-temp/icon-mapper.mjs +1 -0
- package/dist/components/dc-temp/index.css +1 -0
- package/dist/components/dc-temp/index.js +5 -0
- package/dist/components/dc-temp/index.mjs +1 -0
- package/dist/components/dc-temp/knowledge-browser.css +1 -0
- package/dist/components/dc-temp/knowledge-browser.js +5 -0
- package/dist/components/dc-temp/knowledge-browser.mjs +2 -0
- package/dist/components/dc-temp/knowledge-search.css +1 -0
- package/dist/components/dc-temp/knowledge-search.js +5 -0
- package/dist/components/dc-temp/knowledge-search.mjs +2 -0
- package/dist/components/dc-temp/loading.js +1 -0
- package/dist/components/dc-temp/loading.mjs +1 -0
- package/dist/components/dc-temp/markdown-renderer.css +1 -0
- package/dist/components/dc-temp/markdown-renderer.js +4 -0
- package/dist/components/dc-temp/markdown-renderer.mjs +4 -0
- package/dist/components/dc-temp/mock-data.js +1 -0
- package/dist/components/dc-temp/mock-data.mjs +1 -0
- package/dist/components/dc-temp/sidebar.css +1 -0
- package/dist/components/dc-temp/sidebar.js +5 -0
- package/dist/components/dc-temp/sidebar.mjs +4 -0
- package/dist/components/dc-temp/utils.js +1 -0
- package/dist/components/dc-temp/utils.mjs +1 -0
- package/dist/components/index.css +1 -0
- package/dist/components/index.js +20 -0
- package/dist/components/index.mjs +1 -0
- package/dist/components/ui/alert.css +1 -0
- package/dist/components/ui/alert.js +1 -0
- package/dist/components/ui/alert.mjs +1 -0
- package/dist/components/ui/avatar.css +1 -0
- package/dist/components/ui/avatar.js +4 -0
- package/dist/components/ui/avatar.mjs +2 -0
- package/dist/components/ui/badge.css +1 -0
- package/dist/components/ui/badge.js +1 -0
- package/dist/components/ui/badge.mjs +1 -0
- package/dist/components/ui/breadcrumb.css +1 -0
- package/dist/components/ui/breadcrumb.js +1 -0
- package/dist/components/ui/breadcrumb.mjs +1 -0
- package/dist/components/ui/button.css +1 -0
- package/dist/components/ui/button.js +1 -0
- package/dist/components/ui/button.mjs +1 -0
- package/dist/components/ui/calendar.css +1 -0
- package/dist/components/ui/calendar.js +4 -0
- package/dist/components/ui/calendar.mjs +2 -0
- package/dist/components/ui/card.css +1 -0
- package/dist/components/ui/card.js +1 -0
- package/dist/components/ui/card.mjs +1 -0
- package/dist/components/ui/checkbox.css +1 -0
- package/dist/components/ui/checkbox.js +4 -0
- package/dist/components/ui/checkbox.mjs +2 -0
- package/dist/components/ui/collapsible.js +4 -0
- package/dist/components/ui/collapsible.mjs +2 -0
- package/dist/components/ui/command.css +1 -0
- package/dist/components/ui/command.js +4 -0
- package/dist/components/ui/command.mjs +2 -0
- package/dist/components/ui/dialog.css +1 -0
- package/dist/components/ui/dialog.js +4 -0
- package/dist/components/ui/dialog.mjs +2 -0
- package/dist/components/ui/dropdown-menu.css +1 -0
- package/dist/components/ui/dropdown-menu.js +4 -0
- package/dist/components/ui/dropdown-menu.mjs +2 -0
- package/dist/components/ui/hover-card.css +1 -0
- package/dist/components/ui/hover-card.js +4 -0
- package/dist/components/ui/hover-card.mjs +2 -0
- package/dist/components/ui/index.css +1 -0
- package/dist/components/ui/index.js +5 -0
- package/dist/components/ui/index.mjs +1 -0
- package/dist/components/ui/input.css +1 -0
- package/dist/components/ui/input.js +1 -0
- package/dist/components/ui/input.mjs +1 -0
- package/dist/components/ui/inputs/common/styles/index.css +1 -0
- package/dist/components/ui/inputs/common/styles/index.js +1 -0
- package/dist/components/ui/inputs/common/styles/index.mjs +1 -0
- package/dist/components/ui/inputs/text-input/index.css +1 -0
- package/dist/components/ui/inputs/text-input/index.js +1 -0
- package/dist/components/ui/inputs/text-input/index.mjs +1 -0
- package/dist/components/ui/inputs/textarea-input/index.css +1 -0
- package/dist/components/ui/inputs/textarea-input/index.js +1 -0
- package/dist/components/ui/inputs/textarea-input/index.mjs +1 -0
- package/dist/components/ui/label.css +1 -0
- package/dist/components/ui/label.js +4 -0
- package/dist/components/ui/label.mjs +2 -0
- package/dist/components/ui/pagination.css +1 -0
- package/dist/components/ui/pagination.js +1 -0
- package/dist/components/ui/pagination.mjs +1 -0
- package/dist/components/ui/popover.css +1 -0
- package/dist/components/ui/popover.js +4 -0
- package/dist/components/ui/popover.mjs +2 -0
- package/dist/components/ui/progress.css +1 -0
- package/dist/components/ui/progress.js +4 -0
- package/dist/components/ui/progress.mjs +2 -0
- package/dist/components/ui/scroll-area.css +1 -0
- package/dist/components/ui/scroll-area.js +4 -0
- package/dist/components/ui/scroll-area.mjs +2 -0
- package/dist/components/ui/select.css +1 -0
- package/dist/components/ui/select.js +4 -0
- package/dist/components/ui/select.mjs +2 -0
- package/dist/components/ui/separator.css +1 -0
- package/dist/components/ui/separator.js +4 -0
- package/dist/components/ui/separator.mjs +2 -0
- package/dist/components/ui/sheet.css +1 -0
- package/dist/components/ui/sheet.js +4 -0
- package/dist/components/ui/sheet.mjs +2 -0
- package/dist/components/ui/sidebar.css +1 -0
- package/dist/components/ui/sidebar.js +4 -0
- package/dist/components/ui/sidebar.mjs +2 -0
- package/dist/components/ui/skeleton.css +1 -0
- package/dist/components/ui/skeleton.js +1 -0
- package/dist/components/ui/skeleton.mjs +1 -0
- package/dist/components/ui/switch.css +1 -0
- package/dist/components/ui/switch.js +4 -0
- package/dist/components/ui/switch.mjs +4 -0
- package/dist/components/ui/tabs.css +1 -0
- package/dist/components/ui/tabs.js +4 -0
- package/dist/components/ui/tabs.mjs +2 -0
- package/dist/components/ui/textarea.css +1 -0
- package/dist/components/ui/textarea.js +1 -0
- package/dist/components/ui/textarea.mjs +1 -0
- package/dist/components/ui/toast.css +1 -0
- package/dist/components/ui/toast.js +4 -0
- package/dist/components/ui/toast.mjs +2 -0
- package/dist/components/ui/toaster.css +1 -0
- package/dist/components/ui/toaster.js +4 -0
- package/dist/components/ui/toaster.mjs +2 -0
- package/dist/components/ui/toggle-group.css +1 -0
- package/dist/components/ui/toggle-group.js +4 -0
- package/dist/components/ui/toggle-group.mjs +2 -0
- package/dist/components/ui/toggle.css +1 -0
- package/dist/components/ui/toggle.js +4 -0
- package/dist/components/ui/toggle.mjs +2 -0
- package/dist/components/ui/tooltip.css +1 -0
- package/dist/components/ui/tooltip.js +4 -0
- package/dist/components/ui/tooltip.mjs +2 -0
- package/dist/constants.js +1 -0
- package/dist/constants.mjs +1 -0
- package/dist/cortex-reply-27IMI3G7.png +0 -0
- package/dist/cortex-reply-bw-TFX4Q54O.png +0 -0
- package/dist/cortex-reply-dark-XPAJJJYY.png +0 -0
- package/dist/cortex-reply-gradient-LS56SYPD.png +0 -0
- package/dist/cortex-reply-light-27IMI3G7.png +0 -0
- package/dist/declaration.d.js +1 -0
- package/dist/fonts/Manrope-Bold.js +1 -0
- package/dist/fonts/Manrope-Bold.mjs +1 -0
- package/dist/fonts/Manrope-ExtraBold.js +1 -0
- package/dist/fonts/Manrope-ExtraBold.mjs +1 -0
- package/dist/fonts/Manrope-ExtraLight.js +1 -0
- package/dist/fonts/Manrope-ExtraLight.mjs +1 -0
- package/dist/fonts/Manrope-Light.js +1 -0
- package/dist/fonts/Manrope-Light.mjs +1 -0
- package/dist/fonts/Manrope-Medium.js +1 -0
- package/dist/fonts/Manrope-Medium.mjs +1 -0
- package/dist/fonts/Manrope-Regular.js +1 -0
- package/dist/fonts/Manrope-Regular.mjs +1 -0
- package/dist/fonts/Manrope-SemiBold.js +1 -0
- package/dist/fonts/Manrope-SemiBold.mjs +1 -0
- package/dist/globals.css +1 -0
- package/dist/headerlogo-7HRUF72W.png +0 -0
- package/dist/hero-3-N2CBGEV6.jpg +0 -0
- package/dist/hooks/index.js +4 -0
- package/dist/hooks/index.mjs +1 -0
- package/dist/hooks/use-local-storage.js +1 -0
- package/dist/hooks/use-local-storage.mjs +1 -0
- package/dist/hooks/use-mobile.js +4 -0
- package/dist/hooks/use-mobile.mjs +2 -0
- package/dist/hooks/use-toast.js +4 -0
- package/dist/hooks/use-toast.mjs +2 -0
- package/dist/image-hero1-V6MPFDQ6.webp +0 -0
- package/dist/images/cortex-reply-bw.js +1 -0
- package/dist/images/cortex-reply-bw.mjs +1 -0
- package/dist/images/cortex-reply-dark.js +1 -0
- package/dist/images/cortex-reply-dark.mjs +1 -0
- package/dist/images/cortex-reply-gradient.js +1 -0
- package/dist/images/cortex-reply-gradient.mjs +1 -0
- package/dist/images/cortex-reply-light.js +1 -0
- package/dist/images/cortex-reply-light.mjs +1 -0
- package/dist/images/cortex-reply.js +1 -0
- package/dist/images/cortex-reply.mjs +1 -0
- package/dist/images/hero/hero-3.js +1 -0
- package/dist/images/hero/hero-3.mjs +1 -0
- package/dist/images/hero/image-hero1.js +1 -0
- package/dist/images/hero/image-hero1.mjs +1 -0
- package/dist/images/hero/pattern-1.js +1 -0
- package/dist/images/hero/pattern-1.mjs +1 -0
- package/dist/images/hero/pattern-2.js +1 -0
- package/dist/images/hero/pattern-2.mjs +1 -0
- package/dist/index.js +11 -12
- package/dist/index.mjs +1 -33
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/model/Employee.js +1 -0
- package/dist/model/Holiday.js +1 -0
- package/dist/model/LeaveRequest.js +1 -0
- package/dist/pages/Blog.css +1 -0
- package/dist/pages/Blog.js +4 -0
- package/dist/pages/Blog.mjs +1 -0
- package/dist/pages/Documentation.css +1 -0
- package/dist/pages/Documentation.js +4 -0
- package/dist/pages/Documentation.mjs +4 -0
- package/dist/pages/IndexPage.css +1 -0
- package/dist/pages/IndexPage.js +4 -0
- package/dist/pages/IndexPage.mjs +4 -0
- package/dist/pages/Intranet.css +1 -0
- package/dist/pages/Intranet.js +5 -0
- package/dist/pages/Intranet.mjs +1 -0
- package/dist/pages/LandingPage.css +1 -0
- package/dist/pages/LandingPage.js +12 -0
- package/dist/pages/LandingPage.mjs +4 -0
- package/dist/pages/Page.css +1 -0
- package/dist/pages/Page.js +4 -0
- package/dist/pages/Page.mjs +4 -0
- package/dist/pages/Publish.css +1 -0
- package/dist/pages/Publish.js +8 -0
- package/dist/pages/Publish.mjs +2 -0
- package/dist/pages/Website.css +1 -0
- package/dist/pages/Website.js +4 -0
- package/dist/pages/Website.mjs +1 -0
- package/dist/pattern-1-EKFV67R7.png +0 -0
- package/dist/pattern-2-6AZH7ORR.png +0 -0
- package/dist/payload-types.js +1 -0
- package/dist/sections/AboutSection.css +1 -0
- package/dist/sections/AboutSection.js +4 -0
- package/dist/sections/AboutSection.mjs +1 -0
- package/dist/sections/BlogDetail.css +1 -0
- package/dist/sections/BlogDetail.js +4 -0
- package/dist/sections/BlogDetail.mjs +1 -0
- package/dist/sections/BlogList.css +1 -0
- package/dist/sections/BlogList.js +12 -0
- package/dist/sections/BlogList.mjs +1 -0
- package/dist/sections/BlogListSection.css +1 -0
- package/dist/sections/BlogListSection.js +4 -0
- package/dist/sections/BlogListSection.mjs +1 -0
- package/dist/sections/ContactSection.css +1 -0
- package/dist/sections/ContactSection.js +4 -0
- package/dist/sections/ContactSection.mjs +1 -0
- package/dist/sections/ImageSection.css +1 -0
- package/dist/sections/ImageSection.js +1 -0
- package/dist/sections/ImageSection.mjs +1 -0
- package/dist/sections/MainPageSection.css +1 -0
- package/dist/sections/MainPageSection.js +4 -0
- package/dist/sections/MainPageSection.mjs +2 -0
- package/dist/sections/PageSections.css +1 -0
- package/dist/sections/PageSections.js +12 -0
- package/dist/sections/PageSections.mjs +2 -0
- package/dist/sections/PricingSection.css +1 -0
- package/dist/sections/PricingSection.js +4 -0
- package/dist/sections/PricingSection.mjs +1 -0
- package/dist/sections/ServiceDetail.css +1 -0
- package/dist/sections/ServiceDetail.js +4 -0
- package/dist/sections/ServiceDetail.mjs +1 -0
- package/dist/sections/ServiceDetailSection.css +1 -0
- package/dist/sections/ServiceDetailSection.js +4 -0
- package/dist/sections/ServiceDetailSection.mjs +1 -0
- package/dist/sections/ServiceSection.css +1 -0
- package/dist/sections/ServiceSection.js +4 -0
- package/dist/sections/ServiceSection.mjs +1 -0
- package/dist/sections/form/index.css +1 -0
- package/dist/sections/form/index.d.ts +5 -1
- package/dist/sections/form/index.js +4 -0
- package/dist/sections/form/index.mjs +2 -0
- package/dist/sections/form/server/contact-us-form-submit.js +4 -0
- package/dist/sections/form/server/contact-us-form-submit.mjs +2 -0
- package/dist/sections/form/server/index.d.ts +2 -0
- package/dist/sections/form/server/index.js +4 -0
- package/dist/sections/form/server/index.mjs +1 -0
- package/dist/sections/index.css +1 -0
- package/dist/sections/index.d.ts +1 -0
- package/dist/sections/index.js +12 -0
- package/dist/sections/index.mjs +1 -0
- package/dist/server/index.js +1 -0
- package/dist/styles/Colors.css +1 -0
- package/dist/styles/Colors.js +4 -0
- package/dist/styles/Colors.mjs +1 -0
- package/dist/styles/Typography.js +48 -0
- package/dist/styles/Typography.mjs +48 -0
- package/dist/test-data/capabilities.js +1 -0
- package/dist/test-data/capabilities.mjs +1 -0
- package/dist/tests/payload.js +1 -0
- package/dist/tests/payload.mjs +1 -0
- package/dist/utils/AOSInit.css +1 -0
- package/dist/utils/AOSInit.js +8 -0
- package/dist/utils/AOSInit.mjs +2 -0
- package/dist/utils/BankHolidays.js +1 -0
- package/dist/utils/BankHolidays.mjs +1 -0
- package/dist/utils/DaysUtil.js +1 -0
- package/dist/utils/DaysUtil.mjs +1 -0
- package/dist/utils/canUseDOM.js +1 -0
- package/dist/utils/canUseDOM.mjs +1 -0
- package/dist/utils/cn.js +1 -0
- package/dist/utils/cn.mjs +1 -0
- package/dist/utils/formatDateTime.js +1 -0
- package/dist/utils/formatDateTime.mjs +1 -0
- package/dist/utils/getTableOfContents.js +1 -0
- package/dist/utils/getTableOfContents.mjs +1 -0
- package/dist/utils/getURL.js +1 -0
- package/dist/utils/getURL.mjs +1 -0
- package/dist/utils/index.css +1 -0
- package/dist/utils/index.js +8 -0
- package/dist/utils/index.mjs +1 -0
- package/dist/utils/setStaggeredDelay.js +1 -0
- package/dist/utils/setStaggeredDelay.mjs +1 -0
- package/dist/utils/useClickableCard.js +4 -0
- package/dist/utils/useClickableCard.mjs +2 -0
- package/package.json +7 -1
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a}from"./chunk-WISC5QJV.mjs";import{a as r}from"./chunk-MDJREBVI.mjs";import{PopoverGroup as i}from"@headlessui/react";import{Fragment as p,jsx as e}from"react/jsx-runtime";function d({menuItems:o,wide:n=!1,dark:m=!0}){return e(p,{children:e("menu",{className:r("w-full relative py-2 transition-all duration-300",m?"bg-black text-white":"light bg-background text-foreground border-b border-accent"),children:e("div",{className:"container backdrop-blur-sm",children:e("div",{className:r("flex items-center justify-between py-0",!n&&"container"),children:e(i,{className:"flex gap-x-12",children:o&&o.map(t=>e(a,{...t},t.name))})})})})})}export{d as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as m}from"./chunk-TEB67NCD.mjs";import{a as r}from"./chunk-KFCSVEI6.mjs";import{Fragment as n}from"react";import{jsx as o}from"react/jsx-runtime";var y=e=>{let{className:a,htmlElement:t="div",resource:i}=e,s=typeof i=="object"&&i?.mimeType?.includes("video");return o(t||n,{...t!==null?{className:a}:{},children:s?o(r,{...e}):o(m,{...e})})};export{y as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{b as s}from"./chunk-ZUA4KNIR.mjs";import{b as c}from"./chunk-CSBGSBEU.mjs";import{a as h}from"./chunk-FLHDNCNY.mjs";import{motion as x}from"framer-motion";import{FaChevronDown as w,FaChevronUp as f}from"react-icons/fa";import{jsx as e,jsxs as t}from"react/jsx-runtime";function z({title:n,description:a,badge:r,primaryAction:i,secondaryAction:o,gradient:g,children:d,className:v}){let[l,b]=h(`hero-section-minimized-${n.replace(/\s+/g,"-").toLowerCase()}`,!o&&!a),m=!o&&!a||l;return t(x.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5},className:`overflow-hidden rounded-3xl ${g} p-8 text-white ${v||""}`,children:[t("div",{className:"flex items-center justify-between mb-2",children:[t("div",{className:"flex items-center gap-3",children:[r&&e(c,{className:"bg-white/20 text-white hover:bg-white/30 rounded-xl",children:r}),e("h2",{className:"text-3xl font-bold m-0",children:n})]}),t("div",{className:"flex items-center gap-3",children:[m&&i&&e(s,{className:"rounded-2xl bg-white text-indigo-700 hover:bg-white/90",onClick:i.onClick,children:i.label}),(o||a)&&e("button",{"aria-label":l?"Expand hero section":"Minimize hero section",className:"rounded-full bg-white/20 hover:bg-white/30 p-1 text-white transition-colors",onClick:()=>b(!l),style:{lineHeight:0},children:l?e(w,{size:22}):e(f,{size:22})})]})]}),!m&&t("div",{className:"flex flex-col gap-6 md:flex-row md:items-center md:justify-between",children:[t("div",{className:"space-y-4",children:[e("p",{className:"max-w-[600px] text-white/80",children:a}),t("div",{className:"flex flex-wrap gap-3",children:[i&&e(s,{className:"rounded-2xl bg-white text-indigo-700 hover:bg-white/90",onClick:i.onClick,children:i.label}),o&&e(s,{variant:"outline",className:"rounded-2xl bg-transparent border-white text-white hover:bg-white/10",onClick:o.onClick,children:o.label})]})]}),d&&e("div",{className:"hidden lg:block",children:d})]})]})}export{z as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as p}from"./chunk-ZUA4KNIR.mjs";import{a as s}from"./chunk-MDJREBVI.mjs";import c from"next/link";import{jsx as P,jsxs as u}from"react/jsx-runtime";var v=m=>{let{type:f,appearance:t="inline",children:n,className:o,label:r,newTab:g,reference:e,size:y,url:a}=m,l=f==="reference"&&typeof e?.value=="object"&&e.value.slug?`${e?.relationTo!=="pages"?`/${e?.relationTo}`:""}/${e.value.slug}`:a;if(!l)return null;let b=t==="link"?"clear":y,i=g?{rel:"noopener noreferrer",target:"_blank"}:{};return t==="inline"?u(c,{className:s(o),href:l||a||"",...i,children:[r&&r,n&&n]}):P(p,{asChild:!0,className:o,size:b,variant:t,children:u(c,{className:s(o),href:l||a||"",...i,children:[r&&r,n&&n]})})};export{v as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as d}from"./chunk-PEQOQ7BK.mjs";import{a as p}from"./chunk-D3B2YO7G.mjs";import{a as m}from"./chunk-2NMVE5M4.mjs";import{a as i,f as l,g as n,i as s,j as c}from"./chunk-3UMMMQEH.mjs";import{useState as g}from"react";import{motion as D,AnimatePresence as N}from"framer-motion";import{jsx as e,jsxs as o}from"react/jsx-runtime";function C({projects:u=[],onAddProject:f,handleProjectOpen:j,handleProjectShare:y}){let[P,t]=g(!1),[b,r]=g(!1),v=async a=>{r(!0);try{await f(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(N,{mode:"wait",children:o(D.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:"Organise 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:u.map(a=>e(d,{project:a,onOpen:j,onShare:y},a.name))})]})]},"projects-index-view")}),e(i,{open:P,onOpenChange:t,children:o(l,{className:"max-w-3xl max-h-[90vh] overflow-y-auto",children:[o(n,{className:"sr-only",children:[e(s,{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};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as u,b as v}from"./chunk-E4TE4NV6.mjs";import{a as y,c as b,d as h,g as T,i as p}from"./chunk-YFAZQYK4.mjs";import{a as x}from"./chunk-B4H6T2GP.mjs";import{a as o}from"./chunk-TVZOULLL.mjs";import{a as f,f as k,g as I,h as S,i as N}from"./chunk-3UMMMQEH.mjs";import{a as n}from"./chunk-L5JPAKPM.mjs";import{b as g}from"./chunk-ZUA4KNIR.mjs";import{useState as E,useEffect as C}from"react";import{BookOpen as B,Bug as G,Zap as V,AlertCircle as M}from"lucide-react";import{jsx as t,jsxs as i}from"react/jsx-runtime";var P=[{value:"story",label:"Story",color:"bg-primary/20 text-primary",icon:B},{value:"task",label:"Task",color:"bg-secondary/20 text-secondary-foreground",icon:M},{value:"bug",label:"Bug",color:"bg-destructive/20 text-destructive",icon:G},{value:"spike",label:"Spike",color:"bg-accent/20 text-accent",icon:V}],q=[{value:"low",label:"Low",color:"bg-success/20 text-success"},{value:"medium",label:"Medium",color:"bg-warning/20 text-warning"},{value:"high",label:"High",color:"bg-destructive/20 text-destructive"}],W=({isOpen:r,onClose:c,onAddTask:D,epics:A,sprints:F,defaultEpicId:d})=>{let[a,l]=E({title:"",description:"",status:"todo",priority:"medium",type:"story",points:1,epicId:"",sprintId:"none",assignee:""});C(()=>{r&&d&&l(e=>({...e,epicId:d}))},[r,d]),C(()=>{r&&l({title:"",description:"",status:"todo",priority:"medium",type:"story",points:1,epicId:"",sprintId:"none",assignee:""})},[r]);let L=e=>{e.preventDefault(),a.title.trim()&&a.epicId&&(D({title:a.title.trim(),description:a.description.trim(),status:"todo",priority:a.priority,type:a.type,points:a.points,epicId:a.epicId,sprintId:a.sprintId==="none"?void 0:a.sprintId,assignee:a.assignee.trim()||"Unassigned"}),l({title:"",description:"",status:"todo",priority:"medium",type:"story",points:1,epicId:"",sprintId:"none",assignee:""}),c())},s=(e,m)=>{l(w=>({...w,[e]:m}))};return t(f,{open:r,onOpenChange:c,children:i(k,{className:"sm:max-w-md",children:[t(I,{children:t(N,{children:"Add New Task"})}),i("form",{onSubmit:L,className:"space-y-4",children:[i("div",{className:"space-y-2",children:[t(o,{htmlFor:"title",children:"Task Title"}),t(n,{id:"title",value:a.title,onChange:e=>s("title",e.target.value),placeholder:"Enter task title",required:!0})]}),i("div",{className:"space-y-2",children:[t(o,{htmlFor:"description",children:"Description"}),t(x,{id:"description",value:a.description,onChange:e=>s("description",e.target.value),placeholder:"Enter task description",rows:3})]}),i("div",{className:"space-y-2",children:[t(o,{children:"Type"}),t(u,{type:"single",value:a.type,onValueChange:e=>e&&s("type",e),children:P.map(e=>{let m=e.icon;return i(v,{value:e.value,className:"flex items-center gap-2 data-[state=on]:bg-primary data-[state=on]:text-primary-foreground",children:[t(m,{className:"h-4 w-4"}),e.label]},e.value)})})]}),i("div",{className:"space-y-2",children:[t(o,{children:"Priority"}),t(u,{type:"single",value:a.priority,onValueChange:e=>e&&s("priority",e),children:q.map(e=>t(v,{value:e.value,className:"data-[state=on]:bg-primary data-[state=on]:text-primary-foreground",children:e.label},e.value))})]}),i("div",{className:"space-y-2",children:[t(o,{htmlFor:"points",children:"Story Points"}),t(n,{id:"points",type:"number",min:"1",max:"100",value:a.points,onChange:e=>s("points",parseInt(e.target.value)||1),placeholder:"Enter story points",required:!0})]}),i("div",{className:"space-y-2",children:[t(o,{htmlFor:"epic",children:"Epic"}),i(y,{value:a.epicId,onValueChange:e=>s("epicId",e),children:[t(h,{children:t(b,{placeholder:"Select an epic"})}),t(T,{children:A.map(e=>t(p,{value:e.id,children:i("div",{className:"flex items-center gap-2",children:[t("div",{className:`w-3 h-3 rounded-full ${e.color}`}),e.name]})},e.id))})]})]}),i("div",{className:"space-y-2",children:[t(o,{htmlFor:"sprint",children:"Sprint (Optional)"}),i(y,{value:a.sprintId,onValueChange:e=>s("sprintId",e),children:[t(h,{children:t(b,{placeholder:"Select a sprint"})}),i(T,{children:[t(p,{value:"none",children:"No Sprint"}),F.map(e=>t(p,{value:e.id,children:i("div",{className:"flex items-center gap-2",children:[e.name,e.isActive&&t("span",{className:"text-xs bg-green-100 text-green-800 px-1 rounded",children:"Active"})]})},e.id))]})]})]}),i("div",{className:"space-y-2",children:[t(o,{htmlFor:"assignee",children:"Assignee"}),t(n,{id:"assignee",value:a.assignee,onChange:e=>s("assignee",e.target.value),placeholder:"Enter assignee name",required:!0})]}),i(S,{children:[t(g,{type:"button",variant:"outline",onClick:c,children:"Cancel"}),t(g,{type:"submit",className:"bg-blue-600 hover:bg-blue-700",children:"Add Task"})]})]})]})})};export{W as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as r}from"./chunk-FT3AE7L2.mjs";import{b as a}from"./chunk-ZUA4KNIR.mjs";import{b as c}from"./chunk-CSBGSBEU.mjs";import{a as o}from"./chunk-MDJREBVI.mjs";import{motion as m,AnimatePresence as b}from"framer-motion";import{Check as d,Info as w,X as y,AlertTriangle as f,Bell as u,ChevronRight as k}from"lucide-react";import{Fragment as C,jsx as e,jsxs as t}from"react/jsx-runtime";function R({notifications:p,open:N,onClose:l,onNotificationRemove:x,onRemoveAll:v,className:g}){let n=p.filter(s=>!s.read),i=n.length,h=s=>{switch(s){case"info":return e(w,{className:"h-5 w-5 text-blue-500"});case"success":return e(d,{className:"h-5 w-5 text-green-500"});case"warning":return e(f,{className:"h-5 w-5 text-amber-500"});case"error":return e(f,{className:"h-5 w-5 text-red-500"})}};return e(b,{children:N&&t(C,{children:[e(m.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 z-40 bg-black/20 backdrop-blur-sm md:hidden",onClick:l}),e(m.div,{initial:{x:"100%"},animate:{x:0},exit:{x:"100%"},transition:{type:"spring",damping:20,stiffness:300},className:o("fixed inset-y-0 right-0 z-50 w-full max-w-sm border-l bg-background shadow-lg md:w-96",g),children:t("div",{className:"flex h-full flex-col",children:[t("div",{className:"flex items-center justify-between border-b p-4",children:[t("div",{className:"flex items-center gap-2",children:[e(u,{className:"h-5 w-5"}),e("h2",{className:"text-lg font-semibold",children:"Notifications"}),i>0&&t(c,{variant:"secondary",className:"rounded-full px-2 py-0.5",children:[i," new"]})]}),t(a,{variant:"ghost",size:"icon",onClick:l,className:"rounded-full",children:[e(y,{className:"h-5 w-5"}),e("span",{className:"sr-only",children:"Close"})]})]}),i>0&&t("div",{className:"flex items-center justify-between border-b p-2",children:[t("span",{className:"text-sm text-muted-foreground",children:[i," unread notification",i!==1?"s":""]}),e(a,{variant:"ghost",size:"sm",onClick:v,className:"text-sm",children:"Dismiss all"})]}),n.length>0?e(r,{className:"flex-1",children:e("div",{className:"divide-y",children:n.map(s=>t("div",{className:o("flex gap-3 p-4 transition-colors bg-muted/50"),children:[e("div",{className:"flex h-10 w-10 flex-shrink-0 items-center justify-center rounded-full bg-muted",children:h(s.type)}),t("div",{className:"flex-1 space-y-1",children:[t("div",{className:"flex items-center justify-between",children:[e("p",{className:"font-medium",children:s.title}),t("div",{className:"flex items-center gap-2",children:[e("p",{className:"text-xs text-muted-foreground",children:s.time}),e(a,{variant:"ghost",size:"sm",className:"h-6 w-6 p-0",onClick:()=>x?.(s.id),title:"Dismiss",children:e(d,{className:"h-3 w-3"})})]})]}),e("p",{className:"text-sm text-muted-foreground",children:s.description}),s.actionLabel&&t(a,{variant:"link",size:"sm",className:"h-auto p-0 text-sm",onClick:s.onAction,children:[s.actionLabel,e(k,{className:"ml-1 h-3 w-3"})]})]})]},s.id))})}):t("div",{className:"flex flex-1 flex-col items-center justify-center p-8 text-center",children:[e("div",{className:"flex h-16 w-16 items-center justify-center rounded-full bg-muted",children:e(u,{className:"h-8 w-8 text-muted-foreground"})}),e("h3",{className:"mt-4 text-lg font-medium",children:"No notifications"}),e("p",{className:"mt-2 text-sm text-muted-foreground",children:"When you receive notifications, they'll appear here."})]})]})})]})})}export{R as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsxs as f}from"react/jsx-runtime";var g={plural:"Docs",singular:"Doc"},d={posts:{plural:"Posts",singular:"Post"}},p=s=>{let{className:i,collection:r,collectionLabels:a,currentPage:t,limit:n,totalDocs:l}=s,e=(t?t-1:1)*(n||1)+1;l&&e>l&&(e=0);let o=(t||1)*(n||1);l&&o>l&&(o=l);let{plural:c,singular:u}=a||d[r||""]||g||{};return f("div",{className:[i,"font-semibold"].filter(Boolean).join(" "),children:[(typeof l>"u"||l===0)&&"Search produced no results.",typeof l<"u"&&l>0&&`Showing ${e}${e>0?` - ${o}`:""} of ${l} ${l>1?c:u}`]})};export{p as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{b as a}from"./chunk-ZUA4KNIR.mjs";import{motion as r}from"framer-motion";import{MoreHorizontal as v,Trash2 as p,Edit as u}from"lucide-react";import{jsx as e,jsxs as s}from"react/jsx-runtime";function x({files:t,onFileClick:d,onFileEdit:l,onFileDelete:n,showHeader:m=!0,className:c}){return s("div",{className:`rounded-3xl border overflow-hidden ${c||""}`,children:[m&&s("div",{className:"bg-muted/50 p-3 hidden md:grid md:grid-cols-10 text-sm font-medium",children:[e("div",{className:"col-span-6",children:"Name"}),e("div",{className:"col-span-2",children:"Size"}),e("div",{className:"col-span-2",children:"Modified"})]}),e("div",{className:"divide-y",children:t.map(i=>s(r.div,{whileHover:{backgroundColor:"rgba(0,0,0,0.02)"},className:"p-3 md:grid md:grid-cols-10 items-center flex flex-col md:flex-row gap-3 md:gap-0 cursor-pointer",onClick:()=>d?.(i),children:[s("div",{className:"col-span-6 flex items-center gap-3 w-full md:w-auto",children:[e("div",{className:"flex h-10 w-10 items-center justify-center rounded-2xl bg-muted",children:i.icon}),e("div",{children:e("p",{className:"font-medium",children:i.name})})]}),e("div",{className:"col-span-2 text-sm md:text-base",children:i.size}),s("div",{className:"col-span-2 flex items-center justify-between w-full md:w-auto",children:[e("span",{className:"text-sm md:text-base",children:i.modified}),s("div",{className:"flex gap-1",children:[e(a,{variant:"ghost",size:"icon",className:"h-8 w-8 rounded-xl",onClick:o=>{o.stopPropagation(),l?.(i)},children:e(u,{className:"h-4 w-4"})}),e(a,{variant:"ghost",size:"icon",className:"h-8 w-8 rounded-xl text-red-500 hover:text-red-600",onClick:o=>{o.stopPropagation(),n?.(i)},children:e(p,{className:"h-4 w-4"})}),e(a,{variant:"ghost",size:"icon",className:"h-8 w-8 rounded-xl",children:e(v,{className:"h-4 w-4"})})]})]})]},i.name))})]})}export{x as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as l}from"./chunk-MDJREBVI.mjs";import*as s from"react";import*as e from"@radix-ui/react-dialog";import{X as d}from"lucide-react";import{jsx as i,jsxs as r}from"react/jsx-runtime";var y=e.Root,R=e.Trigger,c=e.Portal,N=e.Close,n=s.forwardRef(({className:t,...a},o)=>i(e.Overlay,{ref:o,className:l("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...a}));n.displayName=e.Overlay.displayName;var g=s.forwardRef(({className:t,children:a,...o},m)=>r(c,{children:[i(n,{}),r(e.Content,{ref:m,className:l("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",t),...o,children:[a,r(e.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[i(d,{className:"h-4 w-4"}),i("span",{className:"sr-only",children:"Close"})]})]})]}));g.displayName=e.Content.displayName;var f=({className:t,...a})=>i("div",{className:l("flex flex-col space-y-1.5 text-center sm:text-left",t),...a});f.displayName="DialogHeader";var p=({className:t,...a})=>i("div",{className:l("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...a});p.displayName="DialogFooter";var D=s.forwardRef(({className:t,...a},o)=>i(e.Title,{ref:o,className:l("text-lg font-semibold leading-none tracking-tight",t),...a}));D.displayName=e.Title.displayName;var v=s.forwardRef(({className:t,...a},o)=>i(e.Description,{ref:o,className:l("text-sm text-muted-foreground",t),...a}));v.displayName=e.Description.displayName;export{y as a,R as b,c,N as d,n as e,g as f,f as g,p as h,D as i,v as j};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{f as t}from"./chunk-IUT6JJHY.mjs";import{a}from"./chunk-MDJREBVI.mjs";import n from"react";import*as l from"@radix-ui/react-collapsible";import{ChevronDownIcon as c,ChevronUpIcon as m}from"@radix-ui/react-icons";import{jsx as e,jsxs as s}from"react/jsx-runtime";var h=({title:p,richText:r})=>{let[o,i]=n.useState(!1);return e("div",{className:"border rounded-lg overflow-hidden",children:s(l.Root,{className:a("w-full"),open:o,onOpenChange:i,children:[s(l.Trigger,{className:"flex w-full items-center justify-between bg-white px-4 py-3 text-left hover:bg-gray-50",children:[e("h2",{className:"text-lg font-medium",children:p}),o?e(m,{className:"h-6 w-6"}):e(c,{className:"h-6 w-6"})]}),e(l.Content,{className:"overflow-hidden data-[state=closed]:animate-collapse data-[state=open]:animate-expand border-t",children:e("div",{className:"px-4 py-3 bg-white",children:e(t,{content:r||{},enableGutter:!1})})})]})})};export{h as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as n}from"./chunk-LVK4QE5D.mjs";import{jsx as p,jsxs as r}from"react/jsx-runtime";function o({className:t,...e}){return p("input",{...e,className:n({className:t})})}function a({icon:t,...e}){return r("div",{className:"relative w-full",children:[p(o,{...e}),t&&p("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-y-1/2 text-accent",children:t})]})}export{a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var z="./cortex-reply-bw-TFX4Q54O.png";export{z as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-MDJREBVI.mjs";import*as s from"react";import{cva as o}from"class-variance-authority";import{jsx as i}from"react/jsx-runtime";var n=o("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),d=s.forwardRef(({className:e,variant:t,...r},l)=>i("div",{ref:l,role:"alert",className:a(n({variant:t}),e),...r}));d.displayName="Alert";var c=s.forwardRef(({className:e,...t},r)=>i("h5",{ref:r,className:a("mb-1 font-medium leading-none tracking-tight",e),...t}));c.displayName="AlertTitle";var m=s.forwardRef(({className:e,...t},r)=>i("div",{ref:r,className:a("text-sm [&_p]:leading-relaxed",e),...t}));m.displayName="AlertDescription";export{d as a,c as b,m as c};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as t}from"./chunk-MDJREBVI.mjs";import*as e from"react";import*as o from"@radix-ui/react-separator";import{jsx as l}from"react/jsx-runtime";var f=e.forwardRef(({className:a,orientation:r="horizontal",decorative:i=!0,...p},m)=>l(o.Root,{ref:m,decorative:i,orientation:r,className:t("shrink-0 bg-border",r==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",a),...p}));f.displayName=o.Root.displayName;export{f as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import y,{useState as p}from"react";import{ChevronRight as D,ChevronDown as M,Users as x,Code as g,GanttChart as b,DraftingCompass as C,Search as w}from"lucide-react";import{jsx as e,jsxs as o}from"react/jsx-runtime";var N={Architecture:e(C,{className:"h-5 w-5 text-blue-600"}),Engineering:e(g,{className:"h-5 w-5 text-green-600"}),Development:e(g,{className:"h-5 w-5 text-purple-600"}),Delivery:e(b,{className:"h-5 w-5 text-red-600"})},S=({person:r,level:t,onToggle:a,isExpanded:n,isHighlighted:s})=>{let l=r.reports.length>0;return e("div",{className:`ml-${t*4} mb-2`,children:o("div",{className:`flex items-center p-3 rounded-lg shadow-sm border ${s?"bg-card border-primary":"bg-white border-gray-200"}`,children:[l&&e("button",{onClick:a,className:"mr-2","aria-label":n?"Collapse":"Expand",children:n?e(M,{className:"h-4 w-4"}):e(D,{className:"h-4 w-4"})}),e("div",{className:"w-10 h-10 bg-gray-200 rounded-full flex items-center justify-center mr-3",children:e(x,{className:"h-6 w-6 text-gray-500"})}),o("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:r.name}),o("div",{className:"flex items-center mt-1",children:[N[r.discipline],e("span",{className:"ml-1 text-xs text-gray-600",children:r.discipline})]})]}),e("span",{className:"ml-auto text-xs font-medium text-gray-500 bg-gray-100 px-2 py-1 rounded",children:r.grade})]})})},m=({person:r,level:t,searchTerm:a})=>{let[n,s]=p(t<1),l=()=>s(!n),c=i=>i.name.toLowerCase().includes(a.toLowerCase())||i.discipline.toLowerCase().includes(a.toLowerCase())||i.grade.toLowerCase().includes(a.toLowerCase()),d=i=>c(i)||i.reports.some(d),u=a===""||d(r),h=c(r);return y.useEffect(()=>{a!==""&&d(r)&&s(!0)},[a,r]),u?o("div",{children:[e(S,{person:r,level:t,onToggle:l,isExpanded:n,isHighlighted:h}),n&&r.reports.map((i,v)=>e(m,{person:i,level:t+1,searchTerm:a},v))]}):null};function L(){let[r,t]=p("");return o("div",{className:"max-w-5xl mx-auto p-6",children:[e("h2",{className:"text-2xl font-bold mb-6 text-center text-gray-800",children:"Who's who"}),o("div",{className:"mb-4 relative",children:[e("input",{type:"text",placeholder:"Search by name, discipline, or grade",value:r,onChange:n=>t(n.target.value),className:"w-full px-4 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500","aria-label":"Search the organization chart"}),e(w,{className:"absolute right-3 top-2.5 h-5 w-5 text-gray-400"})]}),e("div",{className:"space-y-4",children:[{name:"Alice Johnson",discipline:"Architecture",grade:"Director",reports:[{name:"Bob Smith",discipline:"Engineering",grade:"Senior Manager",reports:[{name:"Charlie Brown",discipline:"Development",grade:"Manager",reports:[]},{name:"Diana Ross",discipline:"Engineering",grade:"Manager",reports:[]},{name:"Edward Norton",discipline:"Engineering",grade:"Manager",reports:[]}]},{name:"Fiona Apple",discipline:"Architecture",grade:"Senior Manager",reports:[{name:"George Clooney",discipline:"Architecture",grade:"Manager",reports:[]},{name:"Helen Mirren",discipline:"Architecture",grade:"Manager",reports:[]},{name:"Ian McKellen",discipline:"Architecture",grade:"Manager",reports:[]}]},{name:"Julia Roberts",discipline:"Development",grade:"Senior Manager",reports:[{name:"Kevin Spacey",discipline:"Development",grade:"Manager",reports:[]},{name:"Liam Neeson",discipline:"Development",grade:"Manager",reports:[]},{name:"Meryl Streep",discipline:"Development",grade:"Manager",reports:[]}]}]},{name:"Nicole Kidman",discipline:"Delivery",grade:"Director",reports:[{name:"Owen Wilson",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Penelope Cruz",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Quentin Tarantino",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Rachel McAdams",discipline:"Delivery",grade:"Manager",reports:[]}]},{name:"Samuel L. Jackson",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Tom Hanks",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Uma Thurman",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Viola Davis",discipline:"Delivery",grade:"Manager",reports:[]}]},{name:"Will Smith",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Xavier Dolan",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Yalitza Aparicio",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Zoe Saldana",discipline:"Delivery",grade:"Manager",reports:[]}]}]}].map((n,s)=>e(m,{person:n,level:0,searchTerm:r},s))})]})}export{L as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as n}from"./chunk-FVM5SQT2.mjs";import{useRef as r}from"react";import o from"next/image";import{Fragment as d,jsx as e,jsxs as m}from"react/jsx-runtime";var t=({apps:s,isVisible:l=!0})=>{let i=r(null);return e(d,{children:l&&e("div",{className:"fixed inset-0 bg-background/80 dark:bg-background backdrop-blur-sm z-10",children:e("div",{ref:i,className:"bg-background w-full max-w-3xl mx-auto mt-16 rounded-lg shadow-lg overflow-hidden",children:e("div",{className:"grid grid-cols-5 gap-4 p-4 bg-background",children:s.map((a,c)=>m("div",{className:"flex flex-col items-center text-center",children:[a.icon.url?e("div",{className:"w-12 h-12 mb-2",children:e(o,{src:a.icon.url,className:"h-full w-full",alt:"icon"})}):e("div",{className:"w-12 h-12 mb-2",children:e(n,{type:a.icon.type,iconName:a.icon.name,className:"h-full w-full"})}),e("span",{className:"text-xs",children:a.name})]},c))})})})})},b=t;export{b as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{b as r}from"./chunk-ZUA4KNIR.mjs";import{a as i}from"./chunk-MDJREBVI.mjs";import{useState as u}from"react";import{ChevronLeft as y,ChevronRight as b}from"lucide-react";import{jsx as t,jsxs as s}from"react/jsx-runtime";function k({currentDate:a,setCurrentDate:d,holidays:c}){let[n,x]=u(null),p=(new Date(a.getFullYear(),a.getMonth(),1).getDay()+6)%7,g=Array.from({length:42},(e,o)=>{let l=new Date(a.getFullYear(),a.getMonth(),o-p+1);return{date:l,isCurrentMonth:l.getMonth()===a.getMonth(),isToday:l.toDateString()===new Date().toDateString(),holidays:c.filter(m=>new Date(m.startDate)<=l&&new Date(m.endDate)>=l)}}),v=()=>{d(new Date(a.getFullYear(),a.getMonth()-1,1))},h=()=>{d(new Date(a.getFullYear(),a.getMonth()+1,1))},f=()=>{d(new Date)};return s("div",{className:"lg:flex lg:h-full lg:flex-col",children:[s("header",{className:"flex items-center justify-between border-b border-gray-200 px-6 py-4 lg:flex-none",children:[t("h1",{className:"text-base font-semibold text-foreground",children:t("time",{dateTime:a.toISOString(),children:a.toLocaleString("default",{month:"long",year:"numeric"})})}),t("div",{className:"flex items-center",children:s("div",{className:"relative flex items-center rounded-md gap-1 md:items-stretch",children:[s(r,{onClick:v,variant:"outline",size:"icon",className:"rounded-l-md border-accent hover:text-accent",children:[t("span",{className:"sr-only",children:"Previous month"}),t(y,{className:"h-5 w-5","aria-hidden":"true"})]}),t(r,{variant:"outline",onClick:f,className:"hidden border-l border-r border-accent px-3.5 text-sm font-semibold text-accent hover:bg-gray-50 focus:relative md:block",children:"Today"}),s(r,{onClick:h,variant:"outline",size:"icon",className:"rounded-r-md border-accent hover:text-accent",children:[t("span",{className:"sr-only",children:"Next month"}),t(b,{className:"h-5 w-5","aria-hidden":"true"})]})]})})]}),s("div",{className:"shadow ring-1 ring-black ring-opacity-5 lg:flex lg:flex-auto lg:flex-col",children:[s("div",{className:"grid grid-cols-7 gap-px border-b border-gray-300 bg-gray-200 text-center text-xs font-semibold leading-6 text-gray-700 lg:flex-none",children:[s("div",{className:"bg-white py-2",children:["M",t("span",{className:"sr-only sm:not-sr-only",children:"on"})]}),s("div",{className:"bg-white py-2",children:["T",t("span",{className:"sr-only sm:not-sr-only",children:"ue"})]}),s("div",{className:"bg-white py-2",children:["W",t("span",{className:"sr-only sm:not-sr-only",children:"ed"})]}),s("div",{className:"bg-white py-2",children:["T",t("span",{className:"sr-only sm:not-sr-only",children:"hu"})]}),s("div",{className:"bg-white py-2",children:["F",t("span",{className:"sr-only sm:not-sr-only",children:"ri"})]}),s("div",{className:"bg-white py-2",children:["S",t("span",{className:"sr-only sm:not-sr-only",children:"at"})]}),s("div",{className:"bg-white py-2",children:["S",t("span",{className:"sr-only sm:not-sr-only",children:"un"})]})]}),s("div",{className:"flex bg-gray-200 text-xs leading-6 text-gray-700 lg:flex-auto overflow-visible",children:[t("div",{className:"hidden w-full lg:grid lg:grid-cols-7 lg:grid-rows-6 lg:gap-px overflow-visible",children:g.map(e=>s("div",{className:i(e.isCurrentMonth?"bg-white":"bg-gray-50 text-gray-500","relative px-3 py-2 overflow-visible"),children:[t("time",{dateTime:e.date.toISOString(),className:i("flex h-6 w-6 items-center justify-center rounded-full",e.isToday&&"bg-indigo-600 font-semibold text-white"),children:e.date.getDate()}),e.holidays.length>0&&t("ol",{className:"mt-2 space-y-1 overflow-visible",children:e.holidays.map(o=>t("li",{className:"overflow-visible",children:t("div",{className:`text-xs px-1 py-0.5 rounded ${o.status==="approved"?"border-green-500":"border-gray-500"} border overflow-visible`,children:o.userName})},o.id))})]},e.date.toISOString()))}),t("div",{className:"isolate grid w-full grid-cols-7 grid-rows-6 gap-px lg:hidden",children:g.map(e=>s("button",{type:"button",className:i(e.isCurrentMonth?"bg-white":"bg-gray-50",(e.date===n||e.isToday)&&"font-semibold",e.date===n&&"text-white",!e.date&&e.isToday&&"text-indigo-600",e.date!==n&&e.isCurrentMonth&&!e.isToday&&"text-gray-900",e.date!==n&&!e.isCurrentMonth&&!e.isToday&&"text-gray-500","flex h-14 flex-col px-3 py-2 hover:bg-gray-100 focus:z-10"),children:[t("time",{dateTime:e.date.toISOString(),className:i("ml-auto",e.date===n&&e.isToday&&"flex h-6 w-6 items-center justify-center rounded-full bg-indigo-600",e.date===n&&!e.isToday&&"flex h-6 w-6 items-center justify-center rounded-full bg-gray-900"),children:e.date.getDate()}),s("span",{className:"sr-only",children:[e.holidays.length," holidays"]}),e.holidays.length>0&&t("span",{className:"-mx-0.5 mt-auto flex flex-wrap-reverse",children:e.holidays.map(o=>t("span",{className:`mx-0.5 mb-1 h-1.5 w-1.5 rounded-full ${o.status==="approved"?"bg-green-500":"bg-gray-500"}`},o.id))})]},e.date.toISOString()))})]})]})]})}export{k as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as r}from"./chunk-ZUA4KNIR.mjs";import{a as t}from"./chunk-MDJREBVI.mjs";import{ChevronLeft as m,ChevronRight as c,MoreHorizontal as P}from"lucide-react";import*as i from"react";import{jsx as o,jsxs as p}from"react/jsx-runtime";var g=({className:n,...a})=>o("nav",{"aria-label":"pagination",className:t("mx-auto flex w-full justify-center",n),role:"navigation",...a});g.displayName="Pagination";var f=i.forwardRef(({className:n,...a},e)=>o("ul",{className:t("flex flex-row items-center gap-1",n),ref:e,...a}));f.displayName="PaginationContent";var u=i.forwardRef(({className:n,...a},e)=>o("li",{className:t("",n),ref:e,...a}));u.displayName="PaginationItem";var s=({className:n,isActive:a,size:e="icon",...l})=>o("button",{"aria-current":a?"page":void 0,className:t(r({size:e,variant:a?"outline":"ghost"}),n),...l});s.displayName="PaginationLink";var N=({className:n,...a})=>p(s,{"aria-label":"Go to previous page",className:t("gap-1 pl-2.5",n),size:"default",...a,children:[o(m,{className:"h-4 w-4"}),o("span",{children:"Previous"})]});N.displayName="PaginationPrevious";var d=({className:n,...a})=>p(s,{"aria-label":"Go to next page",className:t("gap-1 pr-2.5",n),size:"default",...a,children:[o("span",{children:"Next"}),o(c,{className:"h-4 w-4"})]});d.displayName="PaginationNext";var y=({className:n,...a})=>p("span",{"aria-hidden":!0,className:t("flex h-9 w-9 items-center justify-center",n),...a,children:[o(P,{className:"h-4 w-4"}),o("span",{className:"sr-only",children:"More pages"})]});y.displayName="PaginationEllipsis";export{g as a,f as b,u as c,s as d,N as e,d as f,y as g};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as s}from"./chunk-MDJREBVI.mjs";import*as r from"react";import*as t from"@radix-ui/react-toast";import{cva as p}from"class-variance-authority";import{X as d}from"lucide-react";import{jsx as a}from"react/jsx-runtime";var g=t.Provider,c=r.forwardRef(({className:e,...o},i)=>a(t.Viewport,{ref:i,className:s("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...o}));c.displayName=t.Viewport.displayName;var m=p("group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),f=r.forwardRef(({className:e,variant:o,...i},n)=>a(t.Root,{ref:n,className:s(m({variant:o}),e),...i}));f.displayName=t.Root.displayName;var l=r.forwardRef(({className:e,...o},i)=>a(t.Action,{ref:i,className:s("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium transition-colors hover:bg-secondary focus:outline-none focus:ring-1 focus:ring-ring disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...o}));l.displayName=t.Action.displayName;var u=r.forwardRef(({className:e,...o},i)=>a(t.Close,{ref:i,className:s("absolute right-1 top-1 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...o,children:a(d,{className:"h-4 w-4"})}));u.displayName=t.Close.displayName;var v=r.forwardRef(({className:e,...o},i)=>a(t.Title,{ref:i,className:s("text-sm font-semibold [&+div]:text-xs",e),...o}));v.displayName=t.Title.displayName;var R=r.forwardRef(({className:e,...o},i)=>a(t.Description,{ref:i,className:s("text-sm opacity-90",e),...o}));R.displayName=t.Description.displayName;export{g as a,c as b,f as c,l as d,u as e,v as f,R as g};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Brush as a,Camera as t,Code as c,CuboidIcon as l,FileText as d,ImageIcon as o,Layers as i,LayoutGrid as s,Palette as m,Sparkles as r,Type as g,Video as n}from"lucide-react";import{jsx as e}from"react/jsx-runtime";var w=[{name:"PixelMaster",icon:e(o,{className:"text-violet-500"}),description:"Advanced image editing and composition",category:"Creative",recent:!0,new:!1,progress:100},{name:"VectorPro",icon:e(a,{className:"text-orange-500"}),description:"Professional vector graphics creation",category:"Creative",recent:!0,new:!1,progress:100},{name:"VideoStudio",icon:e(n,{className:"text-pink-500"}),description:"Cinematic video editing and production",category:"Video",recent:!0,new:!1,progress:100},{name:"MotionFX",icon:e(r,{className:"text-blue-500"}),description:"Stunning visual effects and animations",category:"Video",recent:!1,new:!1,progress:100},{name:"PageCraft",icon:e(i,{className:"text-red-500"}),description:"Professional page design and layout",category:"Creative",recent:!1,new:!1,progress:100},{name:"UXFlow",icon:e(s,{className:"text-fuchsia-500"}),description:"Intuitive user experience design",category:"Design",recent:!1,new:!0,progress:85},{name:"PhotoLab",icon:e(t,{className:"text-teal-500"}),description:"Advanced photo editing and organization",category:"Photography",recent:!1,new:!1,progress:100},{name:"DocMaster",icon:e(d,{className:"text-red-600"}),description:"Document editing and management",category:"Document",recent:!1,new:!1,progress:100},{name:"WebCanvas",icon:e(c,{className:"text-emerald-500"}),description:"Web design and development",category:"Web",recent:!1,new:!0,progress:70},{name:"3DStudio",icon:e(l,{className:"text-indigo-500"}),description:"3D modeling and rendering",category:"3D",recent:!1,new:!0,progress:60},{name:"FontForge",icon:e(g,{className:"text-amber-500"}),description:"Typography and font creation",category:"Typography",recent:!1,new:!1,progress:100},{name:"ColorPalette",icon:e(m,{className:"text-purple-500"}),description:"Color scheme creation and management",category:"Design",recent:!1,new:!1,progress:100}],b=[{name:"Brand Redesign.pxm",app:"PixelMaster",modified:"2 hours ago",icon:e(o,{className:"text-violet-500"}),shared:!0,size:"24.5 MB",collaborators:3},{name:"Company Logo.vec",app:"VectorPro",modified:"Yesterday",icon:e(a,{className:"text-orange-500"}),shared:!0,size:"8.2 MB",collaborators:2},{name:"Product Launch Video.vid",app:"VideoStudio",modified:"3 days ago",icon:e(n,{className:"text-pink-500"}),shared:!1,size:"1.2 GB",collaborators:0},{name:"UI Animation.mfx",app:"MotionFX",modified:"Last week",icon:e(r,{className:"text-blue-500"}),shared:!0,size:"345 MB",collaborators:4},{name:"Magazine Layout.pgc",app:"PageCraft",modified:"2 weeks ago",icon:e(i,{className:"text-red-500"}),shared:!1,size:"42.8 MB",collaborators:0},{name:"Mobile App Design.uxf",app:"UXFlow",modified:"3 weeks ago",icon:e(s,{className:"text-fuchsia-500"}),shared:!0,size:"18.3 MB",collaborators:5},{name:"Product Photography.phl",app:"PhotoLab",modified:"Last month",icon:e(t,{className:"text-teal-500"}),shared:!1,size:"156 MB",collaborators:0}],P=[{name:"Website Redesign",description:"Complete overhaul of company website",progress:75,dueDate:"June 15, 2025",members:4,files:23},{name:"Mobile App Launch",description:"Design and assets for new mobile application",progress:60,dueDate:"July 30, 2025",members:6,files:42},{name:"Brand Identity",description:"New brand guidelines and assets",progress:90,dueDate:"May 25, 2025",members:3,files:18},{name:"Marketing Campaign",description:"Summer promotion materials",progress:40,dueDate:"August 10, 2025",members:5,files:31}],C=[{title:"Mastering Digital Illustration",description:"Learn advanced techniques for creating stunning digital art",duration:"1h 45m",level:"Advanced",instructor:"Sarah Chen",category:"Illustration",views:"24K"},{title:"UI/UX Design Fundamentals",description:"Essential principles for creating intuitive user interfaces",duration:"2h 20m",level:"Intermediate",instructor:"Michael Rodriguez",category:"Design",views:"56K"},{title:"Video Editing Masterclass",description:"Professional techniques for cinematic video editing",duration:"3h 10m",level:"Advanced",instructor:"James Wilson",category:"Video",views:"32K"},{title:"Typography Essentials",description:"Create beautiful and effective typography for any project",duration:"1h 30m",level:"Beginner",instructor:"Emma Thompson",category:"Typography",views:"18K"},{title:"Color Theory for Designers",description:"Understanding color relationships and psychology",duration:"2h 05m",level:"Intermediate",instructor:"David Kim",category:"Design",views:"41K"}],D=[{title:"Minimalist Logo Design",author:"Alex Morgan",likes:342,comments:28,image:"/placeholder.svg?height=300&width=400",time:"2 days ago"},{title:"3D Character Concept",author:"Priya Sharma",likes:518,comments:47,image:"/placeholder.svg?height=300&width=400",time:"1 week ago"},{title:"UI Dashboard Redesign",author:"Thomas Wright",likes:276,comments:32,image:"/placeholder.svg?height=300&width=400",time:"3 days ago"},{title:"Product Photography Setup",author:"Olivia Chen",likes:189,comments:15,image:"/placeholder.svg?height=300&width=400",time:"5 days ago"}];export{w as a,b,P as c,C as d,D as e};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as e}from"./chunk-MDJREBVI.mjs";import*as t from"react";import*as r from"@radix-ui/react-progress";import{jsx as o}from"react/jsx-runtime";var m=t.forwardRef(({className:i,value:s,...a},l)=>o(r.Root,{ref:l,className:e("relative h-4 w-full overflow-hidden rounded-full bg-secondary",i),...a,children:o(r.Indicator,{className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:`translateX(-${100-(s||0)}%)`}})}));m.displayName=r.Root.displayName;export{m as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as m,d as p,f,g as d,i as u}from"./chunk-3UMMMQEH.mjs";import w from"next/image";import a from"path";import{useState as s}from"react";import{Fragment as j,jsx as o,jsxs as c}from"react/jsx-runtime";function N(t){try{let e=new URL(t),{hostname:n}=e;return n.endsWith("sharepoint.com")}catch{return!1}}function W(t){return t.startsWith("http")}function v(t,e){let n=t;if(N(t))n=`/docs/api/content/sharepoint?url=${t}`;else if(W(t))n=t;else if(e.source==="github"){let i=t.replace("./","");if(i.startsWith("/")&&(i=i.slice(1)),e.linked){if(e.linked.path){let r=a.dirname(e.linked.path);r.startsWith(".")||(i=`${r}/${i}`)}n=`/docs/api/github/content?owner=${e.linked.owner}&repo=${e.linked.repo}&path=${i}&branch=${e.linked.branch}`}else{if(e.file){let r=a.dirname(e.file);r.startsWith(".")||(i=`${r}/${i}`)}n=`/docs/api/github/content?owner=${e.owner}&repo=${e.repo}&path=${i}&branch=${e.branch}`}}else if(t.startsWith("/"))n=t;else if(t.startsWith("./")){let i=t.replace("./","");e.file&&(i=`/${a.dirname(e.file)}/${i}`),n=i}else n="/image-not-found.png";return n}function S({src:t,alt:e}){let[n,i]=s(!1),[r,$]=s(!1),[l,y]=s({width:0,height:0}),k=()=>{r&&i(!0)},z=()=>{i(!1)},I=D=>{let{naturalWidth:h,naturalHeight:g}=D.target;y({width:h,height:g}),$(h>300||g>300)};return c(j,{children:[o("div",{className:`relative mx-auto my-4 flex justify-center items-center cursor-pointer ${l.height>300?"h-[300px]":`h-[${l.height}px]`}`,onClick:k,children:o(w,{sizes:"100vw",height:l.height,width:l.width,src:t,alt:e||"",onLoad:I,unoptimized:!0,className:"object-contain max-w-full max-h-full"})}),o(m,{open:n,onOpenChange:i,children:c(f,{className:"flex flex-col items-center justify-center",children:[c(d,{className:"flex w-full justify-end",children:[o(u,{className:"hidden",children:e}),o(p,{})]}),o("div",{className:"flex items-center justify-center",children:o(w,{height:l.height,width:l.width,src:t,alt:e||"",unoptimized:!0,className:"object-contain"})})]})})]})}function P({props:t,baseContext:e}){let{src:n}=t;return n=v(n,e),o(S,{src:n,alt:t.alt})}export{P as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Home as u,Layers as h,Bot as w,Building2 as y,Code as D,Palette as f,TrendingUp as b,Users as m,Wrench as k,DollarSign as v,Scale as A,Package as S,Zap as C,FileText as g,FileImage as I,FileVideo as P,Music as x,File as j}from"lucide-react";import{jsx as t}from"react/jsx-runtime";var i=e=>({id:Math.random().toString(36).substr(2,9),title:e,format:"markdown",createdAt:new Date}),E=[{title:"Home",icon:t(u,{}),isActive:!0},{title:"Teams",icon:t(m,{}),url:"/teams",items:[{title:"Design",url:"#"},{title:"Marketing",url:"#"},{title:"Finance",url:"#"}]},{title:"Projects",icon:t(h,{}),badge:"4",items:[{title:"Active Projects",url:"#",badge:"4"},{title:"Archived",url:"#"},{title:"Templates",url:"#"}]},{title:"Copilot",icon:t(w,{}),url:"/copilot"},{title:"Knowledge",icon:t(g,{}),url:"/knowledge"}],U=[{id:"1",title:"New comment on your post",description:"Alex Morgan commented on your 'Minimalist Logo Design' post.",time:"Just now",read:!1,type:"info",actionLabel:"View comment",onAction:()=>console.log("View comment clicked")},{id:"2",title:"Project deadline approaching",description:"The 'Website Redesign' project is due in 2 days.",time:"5 minutes ago",read:!1,type:"warning",actionLabel:"View project",onAction:()=>console.log("View project clicked")},{id:"3",title:"File shared with you",description:"Emma Thompson shared 'Brand Guidelines.pdf' with you.",time:"1 hour ago",read:!1,type:"info",actionLabel:"Open file",onAction:()=>console.log("Open file clicked")},{id:"4",title:"Update successful",description:"PixelMaster has been updated to version 2.4.0.",time:"3 hours ago",read:!0,type:"success",actionLabel:"See what's new",onAction:()=>console.log("See what's new clicked")},{id:"5",title:"Storage limit reached",description:"You've used 95% of your storage. Consider upgrading your plan.",time:"Yesterday",read:!0,type:"error",actionLabel:"Upgrade plan",onAction:()=>console.log("Upgrade plan clicked")},{id:"6",title:"Weekly summary",description:"Check out your activity summary for the past week.",time:"2 days ago",read:!0,type:"info",actionLabel:"View summary",onAction:()=>console.log("View summary clicked")},{id:"7",title:"New tutorial available",description:"A new tutorial on 'Advanced Animation Techniques' is now available.",time:"3 days ago",read:!0,type:"info",actionLabel:"Start learning",onAction:()=>console.log("Start learning clicked")}],z=[{id:"design",name:"Design",description:"Creative and visual design team",icon:t(f,{className:"h-4 w-4"}),color:"bg-purple-600",accentColor:"text-purple-600"},{id:"engineering",name:"Engineering",description:"Software development and technical teams",icon:t(D,{className:"h-4 w-4"}),color:"bg-blue-600",accentColor:"text-blue-600"},{id:"marketing",name:"Marketing",description:"Brand, campaigns, and growth marketing",icon:t(b,{className:"h-4 w-4"}),color:"bg-pink-600",accentColor:"text-pink-600"},{id:"sales",name:"Sales",description:"Revenue generation and customer acquisition",icon:t(v,{className:"h-4 w-4"}),color:"bg-green-600",accentColor:"text-green-600"},{id:"hr",name:"Human Resources",description:"People operations and talent management",icon:t(m,{className:"h-4 w-4"}),color:"bg-orange-600",accentColor:"text-orange-600"},{id:"operations",name:"Operations",description:"Business operations and process optimization",icon:t(k,{className:"h-4 w-4"}),color:"bg-indigo-600",accentColor:"text-indigo-600"},{id:"legal",name:"Legal",description:"Legal affairs and compliance",icon:t(A,{className:"h-4 w-4"}),color:"bg-slate-600",accentColor:"text-slate-600"},{id:"product",name:"Product",description:"Product strategy and management",icon:t(S,{className:"h-4 w-4"}),color:"bg-violet-600",accentColor:"text-violet-600"},{id:"it",name:"IT Support",description:"Information technology and infrastructure",icon:t(C,{className:"h-4 w-4"}),color:"bg-cyan-600",accentColor:"text-cyan-600"},{id:"company",name:"Company",description:"Company-wide resources and information",icon:t(y,{className:"h-4 w-4"}),color:"bg-gray-600",accentColor:"text-gray-600"}],r=[{id:"1",name:"E-commerce Platform",description:"Main customer-facing e-commerce application",isSelected:!0},{id:"2",name:"Admin Dashboard",description:"Internal administration and analytics dashboard",isSelected:!1},{id:"3",name:"Mobile App",description:"Native mobile application for iOS and Android",isSelected:!1}],B=[{name:"Website Redesign",description:"Complete overhaul of company website",progress:75,dueDate:"June 15, 2025",members:4,files:23},{name:"Mobile App Launch",description:"Design and assets for new mobile application",progress:60,dueDate:"July 30, 2025",members:6,files:42},{name:"Brand Identity",description:"New brand guidelines and assets",progress:90,dueDate:"May 25, 2025",members:3,files:18},{name:"Marketing Campaign",description:"Summer promotion materials",progress:40,dueDate:"August 10, 2025",members:5,files:31}],N=[{id:"1",name:"Product Development",description:"Core product development team responsible for building and maintaining our main platform",humanColleagues:8,digitalColleagues:3,projects:5},{id:"2",name:"Design & UX",description:"Creative team focused on user experience design and visual identity",humanColleagues:5,digitalColleagues:2,projects:3},{id:"3",name:"Marketing",description:"Growth and marketing team driving customer acquisition and retention",humanColleagues:6,digitalColleagues:4,projects:7},{id:"4",name:"Data Science",description:"Analytics and machine learning team providing insights and intelligent features",humanColleagues:4,digitalColleagues:6,projects:2},{id:"5",name:"Customer Success",description:"Support and success team ensuring customer satisfaction and retention",humanColleagues:7,digitalColleagues:2,projects:4},{id:"6",name:"Operations",description:"Infrastructure and operations team maintaining system reliability and performance",humanColleagues:3,digitalColleagues:5,projects:3}],d=[{id:"1",name:"User Authentication",color:"bg-blue-500",description:"Implement secure user authentication system",confidence:"high",phase:2,startDate:new Date("2024-01-01"),endDate:new Date("2024-02-15"),progress:75,isSelected:!0},{id:"2",name:"Dashboard Features",color:"bg-green-500",description:"Build comprehensive dashboard functionality",confidence:"medium",phase:1,startDate:new Date("2024-02-01"),endDate:new Date("2024-03-15"),progress:30,isSelected:!0},{id:"3",name:"Mobile Optimization",color:"bg-purple-500",description:"Optimize application for mobile devices",confidence:"low",phase:1,startDate:new Date("2024-03-01"),endDate:new Date("2024-04-15"),progress:10,isSelected:!0},{id:"4",name:"Performance Improvements",color:"bg-orange-500",description:"Enhance application performance and speed",confidence:"high",phase:3,startDate:new Date("2024-01-15"),endDate:new Date("2024-02-28"),progress:90,isSelected:!0}],s=[{id:"backlog",name:"Backlog",description:"Tasks not yet assigned to a sprint",startDate:new Date("2024-01-01"),endDate:new Date("2024-12-31"),isActive:!1,isSelected:!1},{id:"all-tasks",name:"All Tasks",description:"View all tasks across all sprints",startDate:new Date("2024-01-01"),endDate:new Date("2024-12-31"),isActive:!1,isSelected:!0},{id:"1",name:"Sprint 1",description:"Initial development phase",startDate:new Date("2024-01-01"),endDate:new Date("2024-01-14"),isActive:!1,isSelected:!1},{id:"2",name:"Sprint 2",description:"Feature development",startDate:new Date("2024-01-15"),endDate:new Date("2024-01-28"),isActive:!0,isSelected:!1}],l=[{id:"1",title:"Design login page",description:"Create wireframes and mockups for the login interface",status:"todo",priority:"high",type:"story",points:5,epicId:"1",sprintId:"2",assignee:"John Doe",createdAt:new Date("2024-01-15")},{id:"2",title:"Implement OAuth integration",description:"Add Google and GitHub OAuth authentication",status:"review",priority:"high",type:"task",points:8,epicId:"1",sprintId:"2",assignee:"Jane Smith",createdAt:new Date("2024-01-16")},{id:"3",title:"Create dashboard widgets",description:"Build analytics and metrics widgets for the main dashboard",status:"todo",priority:"medium",type:"story",points:13,epicId:"2",sprintId:"2",assignee:"Mike Johnson",createdAt:new Date("2024-01-17")},{id:"4",title:"Fix login redirect bug",description:"Resolve issue where users are not redirected after login",status:"done",priority:"high",type:"bug",points:3,epicId:"1",sprintId:"1",assignee:"Sarah Wilson",createdAt:new Date("2024-01-14")},{id:"5",title:"Research mobile frameworks",description:"Investigate best practices for mobile responsive design",status:"in-progress",priority:"medium",type:"spike",points:5,epicId:"3",assignee:"Alex Brown",createdAt:new Date("2024-01-18")},{id:"6",title:"Update user profile page",description:"Enhance user profile with new settings and preferences",status:"review",priority:"medium",type:"story",points:8,epicId:"2",sprintId:"2",assignee:"Emma Davis",createdAt:new Date("2024-01-19")},{id:"7",title:"Performance optimization",description:"Optimize database queries and improve page load times",status:"done",priority:"high",type:"task",points:13,epicId:"4",sprintId:"1",assignee:"Tom Wilson",createdAt:new Date("2024-01-13")}],T=[...l,{id:"8",title:"Add search functionality",description:"Implement search across all dashboard widgets",status:"todo",priority:"medium",type:"story",points:8,epicId:"2",sprintId:"2",assignee:"Chris Lee",createdAt:new Date("2024-01-20")},{id:"9",title:"Fix mobile responsive issues",description:"Resolve layout problems on mobile devices",status:"in-progress",priority:"high",type:"bug",points:5,epicId:"3",sprintId:"2",assignee:"Taylor Swift",createdAt:new Date("2024-01-21")},{id:"10",title:"Implement dark mode",description:"Add dark theme support across the application",status:"review",priority:"low",type:"story",points:13,epicId:"2",sprintId:"2",assignee:"Jordan Smith",createdAt:new Date("2024-01-22")},{id:"11",title:"API rate limiting",description:"Implement rate limiting for API endpoints",status:"done",priority:"high",type:"task",points:8,epicId:"4",sprintId:"1",assignee:"Morgan Davis",createdAt:new Date("2024-01-12")},{id:"12",title:"User onboarding flow",description:"Create guided tour for new users",status:"todo",priority:"medium",type:"story",points:21,epicId:"1",sprintId:"2",assignee:"Casey Johnson",createdAt:new Date("2024-01-23")}],M=[...r,{id:"4",name:"Analytics Platform",description:"Business intelligence and reporting system",isSelected:!1},{id:"5",name:"API Gateway",description:"Microservices API management layer",isSelected:!1}],o={projects:[{id:"1",name:"Empty Project",description:"A project with no tasks",isSelected:!0}],epics:[],sprints:[{id:"all-tasks",name:"All Tasks",description:"View all tasks across all sprints",startDate:new Date("2024-01-01"),endDate:new Date("2024-12-31"),isActive:!1,isSelected:!0}],tasks:[]},p={epics:[{id:"1",name:"User Authentication",color:"bg-blue-500",description:"Implement secure user authentication system",confidence:"high",phase:2,startDate:new Date("2024-01-01"),endDate:new Date("2024-02-15"),progress:75,isSelected:!0}],tasks:l.filter(e=>e.epicId==="1")},F=(e,a)=>e.filter(n=>n.status===a),L=(e,a)=>e.filter(n=>n.epicId===a),G=(e,a)=>e.filter(n=>n.sprintId===a),O=e=>e.filter(a=>a.isSelected),q=e=>e.filter(a=>a.isActive),V={empty:{initialProjects:o.projects,initialEpics:o.epics,initialSprints:o.sprints,initialTasks:o.tasks},default:{initialProjects:r,initialEpics:d,initialSprints:s,initialTasks:l},highDensity:{initialProjects:r,initialEpics:d,initialSprints:s,initialTasks:T},singleEpic:{initialProjects:r,initialEpics:p.epics,initialSprints:s,initialTasks:p.tasks},multipleProjects:{initialProjects:M,initialEpics:d,initialSprints:s,initialTasks:l}},c=[{id:"1",type:"human",name:"Sarah Johnson",email:"sarah.johnson@company.com",role:"Senior Designer",department:"Design",status:"active",joinedDate:new Date("2023-01-15"),lastActive:new Date,phone:"+1 (555) 123-4567",location:"San Francisco, CA",timezone:"PST",skills:["UI/UX Design","Figma","Adobe Creative Suite","Prototyping","User Research"],bio:"Passionate designer with 8+ years of experience creating user-centered digital experiences."},{id:"2",type:"digital",name:"CodeAssist Pro",status:"active",joinedDate:new Date("2024-01-01"),lastActive:new Date,jobDescription:"AI-powered coding assistant that helps with code review, debugging, and documentation generation.",workInstructions:"Review pull requests for code quality and best practices. Generate comprehensive documentation for new features. Assist with debugging complex issues. Provide code suggestions and optimizations.",capabilities:["Code Review","Documentation Generation","Debugging","Code Optimization","Testing"],knowledge:["JavaScript","TypeScript","React","Node.js","Python","Git"].map(i),coreKnowledge:["Company coding standards","Architecture patterns","Security guidelines"].map(i),version:"2",lastUpdated:new Date("2024-01-15"),isActive:!0},{id:"3",type:"human",name:"Michael Chen",email:"michael.chen@company.com",role:"Product Manager",department:"Product",status:"inactive",joinedDate:new Date("2022-08-20"),lastActive:new Date(Date.now()-2*60*60*1e3),phone:"+1 (555) 987-6543",location:"New York, NY",timezone:"EST",skills:["Product Strategy","Agile","Data Analysis","User Stories","Roadmapping"],bio:"Strategic product manager focused on driving user engagement and business growth."},{id:"4",type:"digital",name:"MarketingBot",status:"active",joinedDate:new Date("2024-02-01"),lastActive:new Date,jobDescription:"Specialized AI assistant for marketing campaigns, content creation, and social media management.",workInstructions:"Create engaging social media content. Analyze campaign performance metrics. Generate marketing copy and headlines. Schedule and manage social media posts.",capabilities:["Content Creation","Social Media Management","Analytics","SEO Optimization","Campaign Management"],knowledge:["Digital Marketing","Social Media Platforms","Content Strategy","Analytics Tools"].map(i),coreKnowledge:["Brand guidelines","Target audience personas","Marketing objectives"].map(i),version:"52",lastUpdated:new Date("2024-02-10"),isActive:!0},{id:"5",type:"human",name:"Emily Rodriguez",email:"emily.rodriguez@company.com",role:"UX Researcher",department:"Design",status:"inactive",joinedDate:new Date("2023-06-10"),lastActive:new Date(Date.now()-7*24*60*60*1e3),phone:"+1 (555) 456-7890",location:"Austin, TX",timezone:"CST",skills:["User Research","Usability Testing","Data Analysis","Survey Design","Interview Techniques"],bio:"User researcher dedicated to understanding user needs and improving product experiences."},{id:"6",type:"digital",name:"DataAnalyzer Pro",status:"active",joinedDate:new Date("2024-01-10"),lastActive:new Date,jobDescription:"Advanced AI assistant specializing in data analysis, reporting, and business intelligence.",workInstructions:"Analyze complex datasets, generate insightful reports, create data visualizations, and provide actionable business recommendations.",capabilities:["Data Analysis","Report Generation","Data Visualization","Business Intelligence","Statistical Analysis"],knowledge:["Python","SQL","Tableau","Excel","R","Statistics"].map(i),coreKnowledge:["Company data sources","KPI definitions","Reporting standards"].map(i),version:"3.1",lastUpdated:new Date("2024-02-20"),isActive:!0},{id:"7",type:"digital",name:"ProjectManager AI",status:"active",joinedDate:new Date("2024-01-05"),lastActive:new Date,jobDescription:"Intelligent project management assistant that helps coordinate tasks, track progress, and manage timelines.",workInstructions:"Coordinate project activities, track milestones, manage resource allocation, and provide project status updates.",capabilities:["Project Planning","Task Coordination","Timeline Management","Resource Allocation","Progress Tracking"],knowledge:["Agile","Scrum","Gantt Charts","Risk Management","Stakeholder Management"].map(i),coreKnowledge:["Company project templates","Resource availability","Project methodologies"].map(i),version:"2.5",lastUpdated:new Date("2024-02-15"),isActive:!0},{id:"8",type:"digital",name:"CustomerSupport Bot",status:"active",joinedDate:new Date("2024-02-01"),lastActive:new Date,jobDescription:"AI-powered customer support assistant that handles inquiries, resolves issues, and escalates complex problems.",workInstructions:"Respond to customer inquiries, troubleshoot common issues, provide product information, and escalate complex cases to human agents.",capabilities:["Customer Support","Issue Resolution","Product Knowledge","Escalation Management","Chat Support"],knowledge:["Product Documentation","FAQ","Troubleshooting Guides","Customer Service Best Practices"].map(i),coreKnowledge:["Product catalog","Support processes","Escalation procedures"].map(i),version:"1.8",lastUpdated:new Date("2024-02-25"),isActive:!0}],J=[{id:"1",title:"Review quarterly report",description:"Go through Q4 performance metrics and prepare summary for the team meeting",dueDate:new Date(2024,2,15),dueTime:"14:30",colleague:c.find(e=>e.id==="2"&&e.type==="digital"),isCompleted:!1,isRecurring:!1,priority:"high",reminderEnabled:!0,reminderMinutes:30,createdAt:new Date(2024,2,10),tags:["quarterly","review","urgent"]},{id:"2",title:"Weekly team standup",description:"Join the weekly team synchronization meeting",dueDate:new Date(2024,2,18),dueTime:"10:00",colleague:c.find(e=>e.id==="4"&&e.type==="digital"),isCompleted:!1,isRecurring:!0,recurrencePattern:"weekly",recurrenceInterval:1,priority:"medium",reminderEnabled:!0,reminderMinutes:15,createdAt:new Date(2024,2,11),tags:["meeting","standup","weekly"]},{id:"3",title:"Deploy to production",description:"Deploy the latest version to production environment",dueDate:new Date,dueTime:"16:00",colleague:c.find(e=>e.id==="2"&&e.type==="digital"),isCompleted:!1,isRecurring:!1,priority:"high",reminderEnabled:!0,reminderMinutes:60,createdAt:new Date,tags:["deploy","production","urgent"]}],K=[{name:"Project_Requirements.docx",app:"Word",modified:"2 hours ago",icon:t(g,{className:"h-5 w-5 text-blue-500"}),shared:!0,size:"1.2 MB",collaborators:4},{name:"Sprint_Planning_Notes.pdf",app:"PDF Reader",modified:"1 day ago",icon:t(j,{className:"h-5 w-5 text-red-500"}),shared:!1,size:"245 KB",collaborators:0},{name:"UI_Mockups.fig",app:"Figma",modified:"3 days ago",icon:t(I,{className:"h-5 w-5 text-purple-500"}),shared:!0,size:"5.7 MB",collaborators:6},{name:"Demo_Video.mp4",app:"Video Player",modified:"1 week ago",icon:t(P,{className:"h-5 w-5 text-green-500"}),shared:!1,size:"89 MB",collaborators:0},{name:"Meeting_Recording.m4a",app:"Audio Player",modified:"2 weeks ago",icon:t(x,{className:"h-5 w-5 text-orange-500"}),shared:!0,size:"12 MB",collaborators:2}],W=c.filter(e=>e.type==="digital");export{E as a,U as b,z as c,r as d,B as e,N as f,d as g,s as h,l as i,T as j,M as k,o as l,p as m,F as n,L as o,G as p,O as q,q as r,V as s,c as t,J as u,K as v,W as w};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as I}from"./chunk-FT3AE7L2.mjs";import{a as S}from"./chunk-L5JPAKPM.mjs";import{motion as u}from"framer-motion";import{ChevronRight as H,File as w,FileText as h,Search as M}from"lucide-react";import{useState as D,useMemo as O}from"react";import{jsx as e,jsxs as r}from"react/jsx-runtime";function L({label:o,documents:i,children:n,level:a,onDocumentClick:g,selectedDocumentId:f,showDocumentCount:d=!0}){let[c,v]=D(a===0),N=n&&Object.keys(n).length>0,x=i.length+(n?Object.values(n).reduce((t,s)=>t+s.documents.length,0):0),b=t=>{switch(t){case"markdown":case"mdx":return e(h,{className:"h-3.5 w-3.5 text-muted-foreground"});case"richtext":return e(w,{className:"h-3.5 w-3.5 text-muted-foreground"});default:return e(w,{className:"h-3.5 w-3.5 text-muted-foreground"})}},y=t=>{let s=["bg-primary","bg-secondary","bg-accent","bg-chart-1"];return s[t%s.length]};return r("div",{className:"space-y-1",children:[(N||i.length>0)&&r(u.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:`${a*20}px`},onClick:()=>v(!c),whileHover:{scale:1.01},whileTap:{scale:.99},children:[e("div",{className:`w-1 h-6 rounded-full ${y(a)}`}),e(u.div,{animate:{rotate:c?90:0},transition:{duration:.2},className:"flex-shrink-0",children:e(H,{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:o})}),d&&x>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:x})})]})]}),e(u.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:[i.map((t,s)=>r(u.div,{initial:{opacity:0,x:-10},animate:{opacity:1,x:0},transition:{delay:s*.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:`${a*20+20}px`},onClick:()=>g?.(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)),n&&Object.entries(n).map(([t,s])=>e(L,{label:t,documents:s.documents,children:s.children,level:a+1,onDocumentClick:g,selectedDocumentId:f,showDocumentCount:d},t))]})})]})}function P({document:o}){let i=a=>{switch(a){case"markdown":case"mdx":return e(h,{className:"h-6 w-6 text-primary"});case"richtext":return e(w,{className:"h-6 w-6 text-success"});default:return e(w,{className:"h-6 w-6 text-muted-foreground"})}},n=a=>{switch(a){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";default:return"bg-muted text-muted-foreground border-border"}};return r(u.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.3},className:"h-full flex flex-col",children:[e("div",{className:"border-b border-border bg-card p-8",children:r("div",{className:"flex items-start gap-4",children:[e("div",{className:"flex-shrink-0 p-3 rounded-xl bg-muted border border-border",children:i(o.format)}),r("div",{className:"flex-1 min-w-0",children:[e("h1",{className:"text-2xl font-bold text-foreground mb-2 leading-tight",children:o.title}),o.description&&e("p",{className:"text-muted-foreground text-lg leading-relaxed mb-4",children:o.description}),r("div",{className:"flex flex-wrap gap-2",children:[e("span",{className:`inline-flex items-center px-3 py-1 rounded-full text-sm font-medium border ${n(o.format)}`,children:o.format.toUpperCase()}),o.tags?.map(a=>r("span",{className:"inline-flex items-center px-3 py-1 rounded-full text-sm bg-muted text-muted-foreground border border-border",children:["#",a]},a))]})]})]})}),e("div",{className:"flex-1 overflow-auto",children:r("div",{className:"p-8",children:[o.metadata&&Object.keys(o.metadata).length>0&&r("div",{className:"mb-6",children:[e("h3",{className:"text-sm font-semibold text-foreground mb-2",children:"Metadata"}),e("div",{className:"bg-muted rounded-lg p-3 border border-border",children:e("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-x-4 gap-y-1 text-xs",children:Object.entries(o.metadata).map(([a,g])=>r("div",{className:"flex gap-1",children:[r("span",{className:"text-muted-foreground font-medium",children:[a.replace(/([A-Z])/g," $1").trim(),":"]}),e("span",{className:"text-foreground truncate",children:String(g)})]},a))})})]}),e("div",{className:"space-y-4",children:o.content?r("div",{className:"relative",children:[e("div",{className:"bg-card border border-border rounded-xl p-6 overflow-hidden",children:r("pre",{className:"text-card-foreground text-sm leading-relaxed whitespace-pre-wrap font-mono",children:[o.content.substring(0,1500),o.content.length>1500&&"..."]})}),o.content.length>1500&&e("div",{className:"absolute bottom-0 left-0 right-0 h-16 bg-gradient-to-t from-card to-transparent rounded-b-xl flex items-end justify-center pb-2",children:e("span",{className:"text-muted-foreground text-xs",children:"Content truncated"})})]}):r("div",{className:"text-center py-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(h,{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"})]})})]})})]})}function Z({documents:o,menuConfig:i,onDocumentClick:n,onDocumentShare:a,selectedDocumentId:g,className:f}){let[d,c]=D(""),[v,N]=D(null),x=O(()=>d?o.filter(t=>t.title.toLowerCase().includes(d.toLowerCase())||t.description?.toLowerCase().includes(d.toLowerCase())||t.tags?.some(s=>s.toLowerCase().includes(d.toLowerCase()))||Object.values(t.metadata||{}).some(s=>String(s).toLowerCase().includes(d.toLowerCase()))):o,[o,d]),b=O(()=>{let t=(s,K)=>{if(K.length===0)return{};let[$,...j]=K;return s.reduce((l,C)=>{let B=C.metadata?.[$]||"Uncategorized",m=String(B);if(l[m]||(l[m]={documents:[],children:{}}),j.length===0)l[m].documents.push(C);else{let k=t([C],j),p=Object.keys(k)[0];p&&(l[m].children||(l[m].children={}),l[m].children[p]?l[m].children[p].documents.push(...k[p].documents):l[m].children[p]=k[p])}return l},{})};return t(x,i.groupBy)},[x,i.groupBy]),y=t=>{N(t),n?.(t)};return r("div",{className:`flex h-full ${f||""}`,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(M,{className:"h-4 w-4 text-muted-foreground"})}),e(S,{placeholder:"Search knowledge base...",value:d,onChange:t=>c(t.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(I,{className:"h-[calc(100%-100px)]",children:r("div",{className:"p-4 space-y-3",children:[Object.entries(b).map(([t,s])=>e(L,{label:t,documents:s.documents,children:s.children,level:0,onDocumentClick:y,selectedDocumentId:g,showDocumentCount:i.showDocumentCount},t)),Object.keys(b).length===0&&r(u.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(h,{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",children:v?e(P,{document:v}):e("div",{className:"h-full flex items-center justify-center text-center",children:r(u.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(h,{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};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as g}from"./chunk-Q5XT55O3.mjs";import{a as m}from"./chunk-WISCWNL2.mjs";import{a as o}from"./chunk-MDJREBVI.mjs";import{FaChevronRight as u,FaEnvelope as v,FaPaperPlane as k,FaPhone as y}from"react-icons/fa6";import{jsx as a,jsxs as t}from"react/jsx-runtime";var I=o("text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 block px-4"),f=o("text-brand-green text-md leading-[1.25] md:text-lg mb-5 md:mb-[1.5rem]"),p=o("bg-brand-green rounded-full p-3 mr-4 text-2xl"),d=o("flex items-center text-white gap-3"),c=o("transition-colors duration-300 hover:text-accent dark:hover:text-white");function D({className:h,footerData:b,logoLight:N,logoDark:x}){let{about:l,columnOne:r,columnTwo:s,footerBottom:n}=b,w=void 0;return t("footer",{className:o("sticky z-2 flex flex-col dark bg-black overflow-hidden pt-12 prose-base",h),children:[a("div",{className:"py-16 md:py-20",children:a("div",{className:"container",children:t("div",{className:"grid gap-10 md:grid-cols-2 xl:grid-cols-3",children:[t("div",{"data-aos":"fade-up","data-aos-delay":"200",children:[a(g,{logoDark:x,logoLight:N}),a("p",{className:"mb-7 mt-3",children:l.description}),l.socialLinks&&l.socialLinks.length>0&&a("nav",{"aria-label":"social links",children:a("ul",{className:"inline-flex pl-0 min-h-[50px] items-center rounded-5 text-white gap-2",children:l.socialLinks.map((e,i)=>a("li",{className:"bg-primary rounded-full p-3",children:a(m,{"aria-label":e.href,className:"text-2xl",href:e.href,openNewTab:!0,children:a("span",{children:e.icon})})},i))})})]}),t("div",{"data-aos":"fade-up","data-aos-delay":"400",children:[a("h3",{className:f,children:r.title}),r.links&&r.links.length>0&&a("nav",{"aria-label":"footer links navigation",children:a("ul",{className:"grid pl-0 gap-2",children:r.links.map(e=>t("li",{className:"flex items-center gap-2.5",children:[a("span",{className:"flex-none text-sm/[1] text-white",children:a(u,{})}),a(m,{href:e.href,openNewTab:e.openNewTab,className:c,children:e.label})]},e.label))})})]}),t("div",{"data-aos":"fade-up","data-aos-delay":"600",children:[a("h3",{className:f,children:s.title}),t("ul",{"aria-label":"addresses",className:"grid gap-2 pl-0",children:[t("li",{className:d,children:[a("span",{className:p,children:a(k,{})}),a("address",{className:"not-italic",children:s.location})]}),t("li",{className:d,children:[a("span",{className:p,children:a(v,{})}),s.mails&&s.mails.length>0&&a("div",{className:"grid gap-1",children:s.mails.map((e,i)=>a("a",{href:`mailto:${e}`,className:c,children:e},i))})]}),s.phoneNumbers&&s.phoneNumbers.length>0&&t("li",{className:d,children:[a("span",{className:p,children:a(y,{})}),a("div",{className:"grid gap-1",children:s.phoneNumbers.map((e,i)=>a("a",{href:`tel:${e.split(" ").join("")}`,className:c,children:e},i))})]})]})]})]})})}),a("div",{className:"flex min-h-[90px] items-center border-t border-accent-800 border-opacity-20 py-5 dark:border-body dark:border-opacity-20",children:a("div",{className:"container",children:t("div",{className:"flex flex-wrap items-center text-xs justify-between gap-x-8 gap-y-4 md:gap-x-10",children:[a("p",{children:n.copyrightText}),n.links&&n.links.length>0&&a("nav",{"aria-label":"footer bottom navigation",children:a("ul",{className:"flex flex-wrap items-center gap-x-4 md:gap-x-7",children:n.links.map(e=>a("li",{children:a(m,{"aria-label":`Go to page ${e.label}`,href:e.href,openNewTab:e.openNewTab,className:c,children:e.label})},e.label))})})]})})})]})}export{D as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as l,b as m,d as c}from"./chunk-JHNVX4UB.mjs";import{a as p}from"./chunk-7BXIU4ZM.mjs";import{a as N}from"./chunk-B4H6T2GP.mjs";import{a as r}from"./chunk-TVZOULLL.mjs";import{a as D,f as g,g as P,i as h}from"./chunk-3UMMMQEH.mjs";import{a as v}from"./chunk-L5JPAKPM.mjs";import{b as s}from"./chunk-ZUA4KNIR.mjs";import{a as d}from"./chunk-MDJREBVI.mjs";import{useState as x}from"react";import{CalendarIcon as S}from"lucide-react";import{format as C}from"date-fns";import{jsx as t,jsxs as i}from"react/jsx-runtime";var I=({isOpen:b,onClose:f,onAddSprint:A})=>{let[e,o]=x({name:"",description:"",startDate:void 0,endDate:void 0,isActive:!1}),y=a=>{a.preventDefault(),!(!e.name||!e.startDate||!e.endDate)&&(A({name:e.name,description:e.description,startDate:e.startDate,endDate:e.endDate,isActive:e.isActive,isSelected:!1}),o({name:"",description:"",startDate:void 0,endDate:void 0,isActive:!1}),f())},u=()=>{o({name:"",description:"",startDate:void 0,endDate:void 0,isActive:!1}),f()};return t(D,{open:b,onOpenChange:u,children:i(g,{className:"sm:max-w-md",children:[t(P,{children:t(h,{children:"Add New Sprint"})}),i("form",{onSubmit:y,className:"space-y-4",children:[i("div",{className:"space-y-2",children:[t(r,{htmlFor:"name",children:"Sprint Name *"}),t(v,{id:"name",value:e.name,onChange:a=>o(n=>({...n,name:a.target.value})),placeholder:"e.g., Sprint 3",required:!0})]}),i("div",{className:"space-y-2",children:[t(r,{htmlFor:"description",children:"Description"}),t(N,{id:"description",value:e.description,onChange:a=>o(n=>({...n,description:a.target.value})),placeholder:"Brief description of sprint goals",rows:3})]}),i("div",{className:"grid grid-cols-2 gap-4",children:[i("div",{className:"space-y-2",children:[t(r,{children:"Start Date *"}),i(l,{children:[t(m,{asChild:!0,children:i(s,{variant:"outline",className:d("w-full justify-start text-left font-normal",!e.startDate&&"text-muted-foreground"),children:[t(S,{className:"mr-2 h-4 w-4"}),e.startDate?C(e.startDate,"PPP"):"Pick a date"]})}),t(c,{className:"w-auto p-0",align:"start",children:t(p,{mode:"single",selected:e.startDate,onSelect:a=>o(n=>({...n,startDate:a})),initialFocus:!0})})]})]}),i("div",{className:"space-y-2",children:[t(r,{children:"End Date *"}),i(l,{children:[t(m,{asChild:!0,children:i(s,{variant:"outline",className:d("w-full justify-start text-left font-normal",!e.endDate&&"text-muted-foreground"),children:[t(S,{className:"mr-2 h-4 w-4"}),e.endDate?C(e.endDate,"PPP"):"Pick a date"]})}),t(c,{className:"w-auto p-0",align:"start",children:t(p,{mode:"single",selected:e.endDate,onSelect:a=>o(n=>({...n,endDate:a})),initialFocus:!0,disabled:a=>e.startDate?a<e.startDate:!1})})]})]})]}),i("div",{className:"flex items-center space-x-2",children:[t("input",{type:"checkbox",id:"isActive",checked:e.isActive,onChange:a=>o(n=>({...n,isActive:a.target.checked})),className:"rounded border-gray-300"}),t(r,{htmlFor:"isActive",children:"Set as active sprint"})]}),i("div",{className:"flex justify-end gap-3 pt-4",children:[t(s,{type:"button",variant:"outline",onClick:u,children:"Cancel"}),t(s,{type:"submit",disabled:!e.name||!e.startDate||!e.endDate,children:"Add Sprint"})]})]})]})})};export{I as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as e}from"./chunk-MDJREBVI.mjs";import c from"next/image";import{jsx as t,jsxs as l}from"react/jsx-runtime";function g({className:r,children:i,image:o="https://images.unsplash.com/photo-1557804506-669a67965ba0?q=80&w=2574&auto=format&fit=crop",imageAlt:s="Professional presentation in modern office setting",imagePosition:a="left",overlay:n=!0}){return l("section",{className:e("relative min-h-[50vh] w-full overflow-hidden",r),children:[l("div",{className:"absolute inset-0 w-full",children:[t(c,{src:o||"/placeholder.svg",alt:s,fill:!0,className:"object-cover",priority:!0}),n&&t("div",{className:"absolute inset-0",style:{background:a==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]}),t("div",{className:e("relative w-full max-w-8xl mx-auto px-4 md:px-6 lg:px-8","flex items-center",a==="left"?"justify-end":"justify-start"),children:t("div",{className:e("w-full max-w-xl py-12",a==="left"?"ml-auto":"mr-auto"),children:i})})]})}export{g as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as c}from"./chunk-B4H6T2GP.mjs";import{a as i}from"./chunk-TVZOULLL.mjs";import{b as r}from"./chunk-ZUA4KNIR.mjs";import{a as n,c as d}from"./chunk-SOLZ4VQH.mjs";import{b as l}from"./chunk-CSBGSBEU.mjs";import{useState as u}from"react";import{MessageSquare as x,Send as N}from"lucide-react";import{jsx as e,jsxs as a}from"react/jsx-runtime";var B=({comments:m,onAddComment:p})=>{let[s,o]=u(""),g=t=>t.split(" ").map(v=>v[0]).join("").toUpperCase(),f=()=>{s.trim()&&(p(s),o(""))};return a("div",{className:"space-y-4",children:[a("div",{className:"flex items-center gap-2",children:[e(x,{className:"h-5 w-5"}),e(i,{className:"text-lg font-medium",children:"Comments"}),e(l,{variant:"secondary",children:m.length})]}),e("div",{className:"space-y-4 max-h-60 overflow-y-auto",children:m.map(t=>a("div",{className:"flex gap-3 p-3 bg-muted/50 rounded-lg",children:[e(n,{className:"h-8 w-8 mt-1",children:e(d,{className:"text-xs bg-muted text-muted-foreground",children:g(t.author)})}),a("div",{className:"flex-1",children:[a("div",{className:"flex items-center gap-2 mb-1",children:[e("span",{className:"font-medium text-sm",children:t.author}),a("span",{className:"text-xs text-muted-foreground",children:[t.createdAt.toLocaleDateString()," at ",t.createdAt.toLocaleTimeString()]})]}),e("p",{className:"text-sm text-muted-foreground",children:t.text})]})]},t.id))}),a("div",{className:"flex gap-2",children:[e(c,{value:s,onChange:t=>o(t.target.value),placeholder:"Add a comment...",rows:2,className:"flex-1 resize-none"}),e(r,{onClick:f,disabled:!s.trim(),size:"sm",className:"self-end",children:e(N,{className:"h-4 w-4"})})]})]})};export{B as a};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import{a as c}from"./chunk-SV7NMNDI.mjs";import{a as d}from"./chunk-XI5H6WLY.mjs";import{c as g}from"./chunk-YNNW2C2U.mjs";import{a as p}from"./chunk-FMJBJ3HN.mjs";import{a as l}from"./chunk-WISCWNL2.mjs";import{a as i}from"./chunk-MDJREBVI.mjs";import f from"next/image";import{FaArrowRight as x}from"react-icons/fa6";import{jsx as e,jsxs as r}from"react/jsx-runtime";function z({blogs:a,sectionHeading:t,base:n="insights"}){return r(p,{children:[e("div",{className:"",children:t&&e("div",{"data-aos":"fade-up","data-aos-delay":"100",children:e(d,{...t,alignment:"start",hasBottomSpacing:!0})})}),a&&a.length>0&&e("div",{className:"-mx-4 flex flex-wrap justify-start gap-y-4",children:a.map((s,o)=>e("div",{"data-aos":"fade-up","data-aos-delay":c([200,400,600],o),className:"w-full h-full md:w-1/2 md:px-4 lg:w-1/3",children:e(v,{...s,base:n})},o))})]})}var u=i("inline-flex items-center gap-2 text-white"),L=i("text-sm text-white");function v({slug:a,meta:t,authors:n,title:s,publishedAt:o,categories:h,base:m}){return r("article",{className:"group/blog relative z-1 flex h-full min-h-[452px] flex-col overflow-hidden rounded-5 p-0",children:[e("span",{className:"absolute inset-0 z-[2] "}),e(f,{src:t?.image?.url||"/assets/images/brand/cortex-reply-gradient.png",alt:t?.image?.alt||"Blog image",fill:!0,sizes:`
|
|
2
|
+
(min-width:768px) 50vw,
|
|
3
|
+
(min-width:1024px) 33vw,
|
|
4
|
+
100vw
|
|
5
|
+
`,className:i("pointer-events-none object-cover opacity-0 [filter:blur(10px)] [transform:translatex(50%)_scalex(2)] [transition:all_500ms_ease]","group-hover/blog:opacity-100 group-hover/blog:[filter:blur(0px)] group-hover/blog:[transform:translatex(0)_scalex(1)]")}),e(f,{src:t?.image?.url||"/assets/images/brand/cortex-reply-gradient.png",alt:t?.image?.alt||"Blog image",fill:!0,sizes:`
|
|
6
|
+
(min-width:768px) 50vw,
|
|
7
|
+
(min-width:1024px) 33vw,
|
|
8
|
+
100vw
|
|
9
|
+
`,className:i("pointer-events-none object-cover [transition:all_500ms_ease]","group-hover/blog:opacity-0 group-hover/blog:[filter:blur(10px)] group-hover/blog:[transform:translatex(-50%)_scalex(2)]")}),r("div",{className:"relative z-10 flex h-full flex-1 w-full flex-col",children:[o&&e("div",{children:e("div",{className:"inline-grid w-full items-center justify-center rounded-5 bg-background/70 px-4 py-3 text-center font-secondary text-md font-bold text-foreground transition-colors group-hover/blog:bg-accent group-hover/blog:text-accent-foreground md:text-lg",children:e("time",{dateTime:o,className:"text-foreground",children:e("span",{className:"block",children:g(o)})})})}),r("div",{className:"mt-auto space-y-2 text-white md:space-y-5",children:[e("div",{className:"inline-flex flex-wrap items-center gap-x-5 gap-y-2",children:e("p",{className:u})}),e("h3",{className:"text-md font-bold w-full h-28 p-6 bg-background/70 text-foreground md:text-lg",children:e(l,{"aria-label":s,href:`/${m}/${a}`||"#",className:"transition-colors duration-300 hover:text-primary",children:s})}),e("div",{children:r(l,{href:`/${m}/${a}`||"#",className:i(u,"gap-[.625rem] bg-background/80 px-4 py-2 mx-6 my-3 text-base font-semibold uppercase text-foreground transition-colors duration-300 hover:text-accent-foreground"),children:[e("span",{children:"Read article"}),e("span",{className:"text-accent",children:e(x,{})})]})})]})]})]})}export{z as a,v as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-YO3GQYRJ.mjs";import{User as p,AlertCircle as u,Bug as g,Zap as f,BookOpen as b}from"lucide-react";import{jsx as e,jsxs as r}from"react/jsx-runtime";var y=({task:t,epic:x,onDragStart:c,onTaskClick:d,isCompact:m=!1})=>{let s=v=>{c(t)},o=()=>{d(t)},l=()=>{switch(t.priority){case"high":return"bg-destructive/20 text-destructive border-destructive/20";case"medium":return"bg-warning/20 text-warning border-warning/20";case"low":return"bg-success/20 text-success border-success/20";default:return"bg-muted text-muted-foreground border-border"}},i=()=>{switch(t.type){case"story":return e(b,{className:"h-3 w-3"});case"bug":return e(g,{className:"h-3 w-3"});case"spike":return e(f,{className:"h-3 w-3"});case"task":default:return e(u,{className:"h-3 w-3"})}},n=()=>{switch(t.type){case"story":return"bg-primary/20 text-primary";case"bug":return"bg-destructive/20 text-destructive";case"spike":return"bg-accent/20 text-accent";case"task":default:return"bg-muted text-muted-foreground"}};return m?e(a,{className:"p-3 bg-card border border-border hover:border-accent cursor-pointer transition-all duration-200 hover:shadow-sm",draggable:!0,onDragStart:s,onClick:o,children:r("div",{className:"flex items-center gap-2",children:[e("div",{className:`flex items-center gap-1 px-2 py-1 rounded-full text-xs font-medium ${n()}`,children:i()}),e("h4",{className:"font-medium text-foreground text-sm mb-1 line-clamp-2 select-none-important",children:t.title})]})}):r(a,{className:"p-4 bg-card border border-border hover:border-accent cursor-pointer transition-all duration-200 hover:shadow-md",draggable:!0,onDragStart:s,onClick:o,children:[r("div",{className:"flex items-center justify-between mb-3",children:[r("div",{className:`flex items-center gap-2 px-3 py-1 rounded-full text-sm font-medium ${n()}`,children:[i(),e("span",{className:"capitalize",children:t.type})]}),r("div",{className:"flex gap-1",children:[e("div",{className:`flex items-center gap-2 px-3 py-1 rounded-full text-xs font-medium ${l()}`,children:t.priority}),e("div",{className:"flex items-center gap-2 px-3 py-1 border border-accent rounded-full text-xs font-medium",children:t.points})]})]}),e("h4",{className:"font-semibold text-foreground mb-2 select-none-important",children:t.title}),e("p",{className:"text-sm text-muted-foreground mb-3 line-clamp-2 select-none-important",children:t.description}),e("div",{className:"flex items-center justify-between text-sm text-muted-foreground",children:r("div",{className:"flex items-center gap-1",children:[e(p,{className:"h-4 w-4"}),e("span",{children:t.assignee})]})})]})};export{y as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as o}from"./chunk-MDJREBVI.mjs";import*as s from"react";import{ChevronRightIcon as m,DotsHorizontalIcon as c}from"@radix-ui/react-icons";import{Slot as i}from"@radix-ui/react-slot";import{jsx as t,jsxs as N}from"react/jsx-runtime";var l=s.forwardRef(({...e},a)=>t("nav",{ref:a,"aria-label":"breadcrumb",...e}));l.displayName="Breadcrumb";var p=s.forwardRef(({className:e,...a},r)=>t("ol",{ref:r,className:o("flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5",e),...a}));p.displayName="BreadcrumbList";var d=s.forwardRef(({className:e,...a},r)=>t("li",{ref:r,className:o("inline-flex items-center gap-1.5",e),...a}));d.displayName="BreadcrumbItem";var f=s.forwardRef(({asChild:e,className:a,...r},n)=>t(e?i:"a",{ref:n,className:o("transition-colors hover:text-foreground",a),...r}));f.displayName="BreadcrumbLink";var u=s.forwardRef(({className:e,...a},r)=>t("span",{ref:r,role:"link","aria-disabled":"true","aria-current":"page",className:o("font-normal text-foreground",e),...a}));u.displayName="BreadcrumbPage";var R=({children:e,className:a,...r})=>t("li",{role:"presentation","aria-hidden":"true",className:o("[&>svg]:w-3.5 [&>svg]:h-3.5",a),...r,children:e??t(m,{})});R.displayName="BreadcrumbSeparator";var b=({className:e,...a})=>N("span",{role:"presentation","aria-hidden":"true",className:o("flex h-9 w-9 items-center justify-center",e),...a,children:[t(c,{className:"h-4 w-4"}),t("span",{className:"sr-only",children:"More"})]});b.displayName="BreadcrumbElipssis";export{l as a,p as b,d as c,f as d,u as e,R as f,b as g};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a}from"./chunk-ZUA4KNIR.mjs";import{a as e}from"./chunk-MDJREBVI.mjs";import{DayPicker as s}from"react-day-picker";import{jsx as c}from"react/jsx-runtime";function d({className:r,classNames:o,showOutsideDays:n=!0,...t}){return c(s,{showOutsideDays:n,weekStartsOn:1,className:e("p-3",r),classNames:{months:"flex flex-col sm:flex-row space-y-4 sm:space-x-4 sm:space-y-0",month:"space-y-4",caption:"flex justify-center pt-1 relative items-center",caption_label:"text-sm font-medium",nav:"space-x-1 flex items-center",nav_button:e(a({variant:"outline"}),"h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100"),nav_button_previous:"absolute left-1",nav_button_next:"absolute right-1",table:"w-full border-collapse space-y-1",head_row:"flex",head_cell:"text-muted-foreground rounded-md w-8 font-normal text-[0.8rem]",row:"flex w-full mt-2",cell:e("relative p-0 text-center text-sm focus-within:relative focus-within:z-20 [&:has([aria-selected])]:bg-accent [&:has([aria-selected].day-outside)]:bg-accent/50 [&:has([aria-selected].day-range-end)]:rounded-r-md",t.mode==="range"?"[&:has(>.day-range-end)]:rounded-r-md [&:has(>.day-range-start)]:rounded-l-md first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md":"[&:has([aria-selected])]:rounded-md"),day:e(a({variant:"ghost"}),"h-8 w-8 p-0 font-normal aria-selected:opacity-100"),day_range_start:"day-range-start",day_range_end:"day-range-end",day_selected:"bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground",day_today:"bg-accent text-accent-foreground",day_outside:"day-outside text-muted-foreground aria-selected:bg-accent/50 aria-selected:text-muted-foreground",day_disabled:"text-muted-foreground opacity-50",day_range_middle:"aria-selected:bg-accent aria-selected:text-accent-foreground",day_hidden:"invisible",...o},...t})}d.displayName="Calendar";export{d as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{b as F,c as L}from"./chunk-A24EPYUY.mjs";import{a as b,b as h,d as P}from"./chunk-JHNVX4UB.mjs";import{a as x}from"./chunk-7BXIU4ZM.mjs";import{a as f}from"./chunk-TVZOULLL.mjs";import{b as c}from"./chunk-ZUA4KNIR.mjs";import{a as D}from"./chunk-MDJREBVI.mjs";import{useState as m,useEffect as w}from"react";import{format as C}from"date-fns";import{CalendarIcon as T}from"lucide-react";import{useRouter as E}from"next/navigation";import{Toaster as k,toast as v}from"sonner";import{jsx as e,jsxs as o}from"react/jsx-runtime";var I=({options:r,value:l,onChange:a,disabled:n=[]})=>e("div",{className:"flex space-x-2",children:r.map((t,i)=>e(c,{type:"button",variant:l===t?"default":"outline",onClick:()=>a(t),disabled:n[i],className:"flex-1 hover:bg-accent hover:text-accent-foreground",children:t},t))});function W({remainingDays:r,submitLeaveRequest:l}){let[a,n]=m(new Date),[t,i]=m(new Date),[d,g]=m("Full Day"),[N,R]=m(!1),[p,S]=m(1),B=E();w(()=>{let s=L(a,t);R(s),s&&g("Full Day")},[a,t]),w(()=>{if(!a||!t){S(0);return}let s=F(a,t,d!=="Full Day");S(s)},[a,t,d]);let q=s=>{g(s)};return o("div",{className:"max-w-2xl",children:[e("h2",{className:"text-lg font-semibold mb-4",children:"Request Leave"}),o("p",{className:"text-sm text-gray-500 mb-4",children:["Remaining leave days: ",r]}),o("form",{onSubmit:async s=>{if(s.preventDefault(),!a||!t){v.error("Please select both start and end dates");return}if(p>r){v.error("You do not have enough leave days remaining");return}let u=new FormData;u.append("startDate",a.toISOString()),u.append("endDate",t.toISOString()),u.append("leaveType",d),u.append("duration",p.toString());let y=await(l||M)(u);y.success?(v.success(y.message),n(void 0),i(void 0),g("Full Day"),B.refresh()):v.error(`Error: ${y.message}`)},className:"space-y-4",children:[o("div",{className:"grid grid-cols-2 gap-4",children:[o("div",{className:"flex flex-col space-y-2",children:[e(f,{htmlFor:"startDate",children:"Start Date"}),o(b,{children:[e(h,{asChild:!0,children:o(c,{variant:"outline",className:D("w-full justify-start text-left font-normal",!a&&"text-muted-foreground"),children:[e(T,{className:"mr-2 h-4 w-4"}),a?C(a,"PPP"):e("span",{children:"Pick a date"})]})}),e(P,{className:"w-auto p-0",align:"start",children:e(x,{mode:"single",selected:a,onSelect:s=>{n(s),s&&(!t||s>t)&&i(s)},initialFocus:!0})})]})]}),o("div",{className:"flex flex-col space-y-2",children:[e(f,{htmlFor:"endDate",children:"End Date"}),o(b,{children:[e(h,{asChild:!0,children:o(c,{variant:"outline",className:D("w-full justify-start text-left font-normal",!t&&"text-muted-foreground"),children:[e(T,{className:"mr-2 h-4 w-4"}),t?C(t,"PPP"):e("span",{children:"Pick a date"})]})}),e(P,{className:"w-auto p-0",align:"start",children:e(x,{mode:"single",selected:t,onSelect:i,disabled:s=>a?s<a:!1,initialFocus:!0})})]})]})]}),o("div",{className:"space-y-2",children:[e(f,{children:"Leave Type"}),e(I,{options:["Full Day","Morning","Afternoon"],value:d,onChange:q,disabled:[!1,N,N]})]}),o("p",{className:"text-sm text-gray-500",children:["Total days: ",p]}),e(c,{disabled:p<=0,type:"submit",className:"w-full hover:bg-accent hover:text-accent-foreground",children:"Submit Request"})]}),e(k,{richColors:!0,position:"top-right",closeButton:!0,visibleToasts:9,className:"z-50"})]})}var M=async r=>{let l={};return r.forEach((a,n)=>{l[n]=a}),{success:!0,message:`Leave request submitted successfully for ${r.get("duration")}`}};export{W as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as e}from"./chunk-MDJREBVI.mjs";import{jsx as m}from"react/jsx-runtime";function a({className:t,...r}){return m("div",{className:e("animate-pulse rounded-md bg-primary/10",t),...r})}export{a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as s}from"./chunk-MDJREBVI.mjs";import{jsx as t,jsxs as o}from"react/jsx-runtime";var n=({position:e,className:l=""})=>{let a=["","scale(-1, 1)","scale(1, -1)","scale(-1, -1)"],i=a[Math.floor(Math.random()*a.length)];if(e==="header")return t("div",{className:"w-full h-[1240px] z-20",children:o("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 337",preserveAspectRatio:"xMidYMax meet",style:{fontSize:0,float:"left"},className:s(l,"absolute -bottom-[2px] flex"),children:[t("defs",{children:o("mask",{id:"mask",children:[t("rect",{width:"1920",height:"332",fill:"white"}),t("polygon",{points:"0 0 0 135 1255 330 1920 0 1920 0 1920 0 0 0"})]})}),t("rect",{width:"1920",height:"332",fill:"white",mask:"url(#mask)"}),t("rect",{y:"331",width:"1920",height:"7",fill:"white"})," "]})});if(e==="top")return o("div",{className:"w-full z-20 aspect-[1920/332] overflow-hidden ",children:[o("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",className:s(l,"absolute "),style:{fontSize:0,float:"left",alignContent:"flex-end",transform:"scale(-1, 1)"},children:[t("defs",{children:o("mask",{id:"mask",children:[t("rect",{width:"100%",height:"100%",fill:"white"}),t("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),t("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]}),t("div",{className:"absolute -bottom-[5px] border-none left-0 w-full h-[6px] z-10 bg-white"})]});if(e==="dark-top")return t("div",{className:"w-full aspect-[1920/332] z-20 content-end block overflow-hidden",children:o("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"xMidYMax meet",className:s(l,"relative "),style:{fontSize:0,float:"left"},transform:a[3],children:[t("defs",{children:o("mask",{id:"mask",children:[t("rect",{width:"100%",height:"100%",fill:"white"}),t("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),t("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]})});if(e==="dark-bottom")return t("div",{className:"w-full aspect-[1920/332] z-20 content-start block overflow-hidden bg-white",children:t("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain",transform:"scale(1, -1)"},className:s(l,"w-full block overflow-hidden"),children:t("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})});if(e==="light-bottom")return t("div",{className:"w-full aspect-[1920/332] z-20 content-end block overflow-hidden",children:t("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"none",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain"},className:s(l,"w-full block overflow-hidden"),transform:a[3],children:t("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})});if(e==="bottom-left"||e==="bottom-right")return t("div",{className:"w-full aspect-[1920/332] z-20 relative -bottom-[1px]",children:t("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"none",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain",transform:"rotateX(180deg)"},className:s(l,"w-full block overflow-hidden"),children:t("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})})},d=({className:e})=>o("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 1245",className:s(e,"absolute w-full h-full"),children:[t("defs",{children:o("mask",{id:"mask",children:[t("rect",{width:"100%",height:"100%",fill:"black"}),t("polygon",{fill:"white",points:"0 0 0 201.561092 0 1036.200679 0 1087.625789 1255.099121 1240.909908 1920 908.450984 1920 201.561092 1920 0 0 0"})]})}),t("rect",{width:"100%",height:"100%",fill:"black",mask:"url(#mask)"})]});export{n as a,d as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as i}from"./chunk-QKGEV7LG.mjs";var r=t=>{let a=t.getDay()===0,n=t.getDay()===6,e=i.some(s=>s.date.toISOString()===t.toISOString());return a||n||e},l=(t,a,n=!1)=>{let e=new Date(t),s=new Date(a),o=0;if(n&&!r(e))return .5;for(;e<=s;)r(e)||o++,e.setDate(e.getDate()+1);return o},u=(t,a)=>!t||!a?!1:t.toDateString()!==a.toDateString();export{r as a,l as b,u as c};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as x}from"./chunk-Q2DPE66H.mjs";import{b as C}from"./chunk-ZUA4KNIR.mjs";import{b as h}from"./chunk-CSBGSBEU.mjs";import{a}from"./chunk-MDJREBVI.mjs";import{useState as y,useEffect as B,useMemo as H}from"react";import{motion as m,AnimatePresence as D}from"framer-motion";import{ChevronRight as N,ChevronLeft as I,Menu as L,X as M}from"lucide-react";import{jsx as t,jsxs as o}from"react/jsx-runtime";function K({capabilities:n,isOpen:u,onToggle:r,onActionSelect:e,onContextChange:d,colorScheme:l=x,className:w}){let[s,b]=y([]),[v,f]=y([]),c=s[s.length-1],k=c?.children||n,z=(i,p)=>{switch(i.type){case"category":return l.categories[p%l.categories.length];case"list":return l.lists[p%l.lists.length];case"item":return l.items[p%l.items.length];default:return l.primary}},g=H(()=>({path:s,selectedItems:v,filters:{}}),[s,v]);B(()=>{d&&d(g)},[g,d]);let P=i=>{i.type==="category"||i.type==="list"?b([...s,i]):i.type==="item"&&f([...v,i])},A=()=>{b(s.slice(0,-1))},S=i=>{b(s.slice(0,i+1))},E=()=>c?.actions?c.actions:[];return u?o("div",{className:a("w-full",w),children:[o("div",{className:"flex items-center justify-between mb-3",children:[o("div",{className:"flex items-center gap-2",children:[s.length>0&&t(m.button,{whileHover:{scale:1.1,transition:{duration:.3,ease:[.4,0,.2,1]}},whileTap:{scale:.9,transition:{duration:.15,ease:[.4,0,.2,1]}},onClick:A,className:a("group p-1 h-6 w-6 rounded-md backdrop-blur-sm","transition-all duration-300 ease-in-out","hover:bg-accent/50 hover:shadow-sm"),children:t(I,{className:a("h-3 w-3 transition-transform duration-300 ease-in-out","group-hover:-translate-x-0.5")})}),t("h4",{className:"font-medium text-sm",children:c?.name||"Capabilities"})]}),t(m.button,{whileHover:{scale:1.1,transition:{duration:.3,ease:[.4,0,.2,1]}},whileTap:{scale:.9,transition:{duration:.15,ease:[.4,0,.2,1]}},onClick:r,className:a("group p-1 h-6 w-6 rounded-md backdrop-blur-sm","transition-all duration-300 ease-in-out","hover:bg-accent/50 hover:shadow-sm"),children:t(M,{className:a("h-3 w-3 transition-transform duration-300 ease-in-out","group-hover:rotate-90")})})]}),s.length>0&&o("div",{className:"flex items-center gap-1 mb-3 text-xs text-muted-foreground",children:[t(m.button,{whileHover:{scale:1.05,transition:{duration:.3,ease:[.4,0,.2,1]}},onClick:()=>b([]),className:a("group relative transition-colors duration-300 ease-in-out hover:text-accent"),children:o("span",{className:"relative",children:["Capabilities",t("span",{className:"absolute -bottom-0.5 left-1/2 w-0 h-0.5 bg-accent transform -translate-x-1/2 transition-all duration-300 ease-in-out group-hover:w-full"})]})}),s.map((i,p)=>o("div",{className:"flex items-center gap-1",children:[t(N,{className:"h-2 w-2"}),t(m.button,{whileHover:{scale:1.05,transition:{duration:.3,ease:[.4,0,.2,1]}},onClick:()=>S(p),className:a("group relative transition-colors duration-300 ease-in-out hover:text-accent"),children:o("span",{className:"relative",children:[i.name,t("span",{className:"absolute -bottom-0.5 left-1/2 w-0 h-0.5 bg-accent transform -translate-x-1/2 transition-all duration-300 ease-in-out group-hover:w-full"})]})})]},i.id))]}),t("div",{className:"max-h-40 overflow-y-auto",children:t(D,{mode:"wait",children:t(m.div,{initial:{opacity:0,y:-4},animate:{opacity:1,y:0},exit:{opacity:0,y:4},transition:{duration:.2,ease:[.4,0,.2,1]},children:c?.type==="list"&&c.data?t(R,{data:c.data,onItemSelect:i=>f([...v,i]),colorScheme:l}):t(T,{capabilities:k,onSelect:P,colorScheme:l})},c?.id||"root")})})]}):o(C,{onClick:r,size:"sm",variant:"outline",className:"rounded-full",children:[t(L,{className:"h-4 w-4"}),t("span",{className:"ml-2",children:"Capabilities"})]})}function T({capabilities:n,onSelect:u,colorScheme:r}){return t("div",{className:"flex flex-wrap gap-2",children:n.map((e,d)=>t(G,{capability:e,onClick:()=>u(e),color:r.categories[d%r.categories.length]},e.id))})}function G({capability:n,onClick:u,selected:r,color:e}){return o(m.button,{whileHover:{scale:1.02,transition:{duration:.3,ease:[.4,0,.2,1]}},whileTap:{scale:.95,transition:{duration:.15,ease:[.4,0,.2,1]}},className:a("group relative inline-flex items-center gap-2 px-3 py-2 rounded-lg border cursor-pointer","bg-background text-left text-sm font-medium backdrop-blur-sm","transition-all duration-300 ease-in-out","hover:bg-accent/50 hover:border-accent/50 hover:shadow-sm",r&&"border-primary bg-accent scale-105"),onClick:u,children:[t("div",{className:a("w-2 h-2 rounded-full flex-shrink-0 transition-transform duration-300 ease-in-out","group-hover:scale-125",e)}),o("span",{className:"truncate relative",children:[n.name,t("span",{className:"absolute -bottom-0.5 left-1/2 w-0 h-0.5 bg-accent transform -translate-x-1/2 transition-all duration-300 ease-in-out group-hover:w-full"})]}),(n.children||n.data)&&t(N,{className:a("h-3 w-3 text-muted-foreground flex-shrink-0","transition-transform duration-300 ease-in-out group-hover:translate-x-0.5")}),n.type==="list"&&n.data&&t(h,{variant:"secondary",className:a("text-xs h-5 px-1.5 flex-shrink-0","transition-transform duration-300 ease-in-out group-hover:scale-110"),children:n.data.length})]})}function R({data:n,onItemSelect:u,colorScheme:r}){return t("div",{className:"flex flex-wrap gap-2",children:n.map((e,d)=>o(m.button,{whileHover:{scale:1.02,transition:{duration:.3,ease:[.4,0,.2,1]}},whileTap:{scale:.95,transition:{duration:.15,ease:[.4,0,.2,1]}},className:a("group relative inline-flex items-center gap-2 px-3 py-2 rounded-lg border cursor-pointer","bg-background text-left text-sm font-medium backdrop-blur-sm","transition-all duration-300 ease-in-out","hover:bg-accent/50 hover:border-accent/50 hover:shadow-sm"),onClick:()=>u(e),children:[t("div",{className:a("w-2 h-2 rounded-full flex-shrink-0 transition-transform duration-300 ease-in-out","group-hover:scale-125",r.items[d%r.items.length])}),o("div",{className:"flex-1 min-w-0",children:[o("span",{className:"truncate relative font-medium",children:[e.title,t("span",{className:"absolute -bottom-0.5 left-1/2 w-0 h-0.5 bg-accent transform -translate-x-1/2 transition-all duration-300 ease-in-out group-hover:w-full"})]}),e.subtitle&&t("div",{className:a("text-xs text-muted-foreground truncate","transition-colors duration-300 ease-in-out group-hover:text-accent/80"),children:e.subtitle})]}),e.value&&t(h,{variant:"secondary",className:a("text-xs h-5 px-1.5 flex-shrink-0 ml-2","transition-transform duration-300 ease-in-out group-hover:scale-110"),children:e.value})]},e.id))})}export{K as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as F}from"./chunk-WHDJPD5E.mjs";import{a as T}from"./chunk-U7GAPI7X.mjs";import{a as v}from"./chunk-MDJREBVI.mjs";import{a as R}from"./chunk-Q3G5UAAD.mjs";import{useState as A}from"react";import G from"html2canvas";import{jsPDF as W}from"jspdf";import{Fragment as J,jsx as e,jsxs as g}from"react/jsx-runtime";function ae({type:p="slideshow",orientation:d="landscape",...c}){let h=c.page,[C,n]=A(d),{contentWithIds:a,tableOfContents:i}=R(h);if(p==="slideshow")return e("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:e(T,{blocks:a,hero:c.hero,title:c.page.title,logoImage:c.logoImage})});if(p==="print")return g(J,{children:[e(U,{layout:C,changeLayout:n}),e(F,{page:c.page,layout:C,logoImage:c.logoImage})]})}var U=({changeLayout:p,layout:d="landscape"})=>{let c=async()=>{if(d==="flow"){let a=document.getElementById("printable-content")?.innerHTML;if(a){var n=window.document.body.innerHTML;window.document.body.innerHTML=a,window.print(),window.document.body.innerHTML=n}}else await new Promise(a=>setTimeout(a,300)),window.print()},h=n=>{p&&p(n)},C=async n=>{let a=document.getElementById(n);if(!a)throw new Error(`Element with id ${n} not found`);let i=document.createElement("canvas"),P=window.devicePixelRatio;i.width=Math.max(a.clientWidth||0)*P,i.height=Math.max(a.clientHeight||0)*P+100;let u=i.getContext("2d");if(!u)throw new Error("Failed to get 2D context");let q=u.drawImage,z=Array.from(a.getElementsByTagName("img")).reduce((y,s)=>(y[s.src]=s,y),{});u.drawImage=function(...y){let[s,S,j,l,r,D,B,m,w]=y;if(s instanceof HTMLImageElement){let Y=z[s.src].style.objectFit||"fill",$=z[s.src].style.objectPosition||"center center";r=s.height,l=s.width;let L=l/r,b=m/w,[x,f]=$.split(" ");switch(f||(f=x),Y){case"cover":if(L>b){let t=r*b,o=(l-t)/2;x==="left"&&(o=0),x==="right"&&(o=l-t),S+=o,l=t}else{let t=l/b,o=(r-t)/2;f==="top"&&(o=0),f==="bottom"&&(o=r-t),j+=o,r=t}break;case"contain":if(L>b){let t=m/L,o=(w-t)/2;f==="top"&&(o=0),f==="bottom"&&(o=w-t),B+=o,w=t}else{let t=w*L,o=(m-t)/2;x==="left"&&(o=0),x==="right"&&(o=m-t),D+=o,m=t}break;case"fill":break}}return q.call(u,s,S,j,l,r,D,B,m,w)};let k=document.getElementById(n);if(!k)throw new Error(`Element with id ${n} not found`);var O=i.width,X=i.height;let I=(await G(k,{canvas:i,windowHeight:X,windowWidth:O,scale:window.devicePixelRatio})).toDataURL("image/png"),N=new W({}).getImageProperties(I),M=297,E=M*(N.height/N.width),H=new W({unit:"mm",format:[M,E]});H.addImage(I,"PNG",0,0,M,E),H.save("print.pdf")};return e("div",{className:v("fixed right-2 z-20 top-20 space-y-6 print:hidden"),children:e("div",{className:"flex flex-row-reverse z-20 min-w-70 gap-4",children:g("nav",{className:"z-20 flex grow-0 justify-end gap-4 border-t border-gray-200 bg-white/50 p-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-h-[auto] min-w-[54px] flex-col rounded-lg border",children:[g("a",{onClick:c,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:e("path",{d:"M96 160l-32 0 0-96C64 28.7 92.7 0 128 0L357.5 0c17 0 33.3 6.7 45.3 18.7l26.5 26.5c12 12 18.7 28.3 18.7 45.3l0 69.5-32 0 0-69.5c0-8.5-3.4-16.6-9.4-22.6L380.1 41.4c-6-6-14.1-9.4-22.6-9.4L128 32c-17.7 0-32 14.3-32 32l0 96zm352 64L64 224c-17.7 0-32 14.3-32 32l0 128 32 0 0-32c0-17.7 14.3-32 32-32l320 0c17.7 0 32 14.3 32 32l0 32 32 0 0-128c0-17.7-14.3-32-32-32zm0 192l0 64c0 17.7-14.3 32-32 32L96 512c-17.7 0-32-14.3-32-32l0-64-32 0c-17.7 0-32-14.3-32-32L0 256c0-35.3 28.7-64 64-64l384 0c35.3 0 64 28.7 64 64l0 128c0 17.7-14.3 32-32 32l-32 0zM96 352l0 128 320 0 0-128L96 352zM432 248a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"})}),e("small",{className:"text-xs font-medium",children:"Print"})]}),e("div",{className:"flex-grow border-t border-gray-200 dark:border-slate-600/60"}),g("a",{onClick:()=>h("portrait"),className:v("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",d==="portrait"?"text-accent":"hover:text-accent"),children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",fill:"currentColor",children:e("path",{d:"M352 448c0 17.7-14.3 32-32 32L64 480c-17.7 0-32-14.3-32-32L32 64c0-17.7 14.3-32 32-32l256 0c17.7 0 32 14.3 32 32l0 384zM384 64c0-35.3-28.7-64-64-64L64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-384z"})}),e("small",{className:"text-xs",children:"Portrait"})]}),g("a",{onClick:()=>h("landscape"),className:v("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",d==="landscape"?"text-accent":"hover:text-accent"),children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512",fill:"currentColor",children:e("path",{d:"M576 96c17.7 0 32 14.3 32 32l0 256c0 17.7-14.3 32-32 32L64 416c-17.7 0-32-14.3-32-32l0-256c0-17.7 14.3-32 32-32l512 0zM64 64C28.7 64 0 92.7 0 128L0 384c0 35.3 28.7 64 64 64l512 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64L64 64z"})}),e("small",{className:"text-xs",children:"Landscape"})]}),g("a",{onClick:()=>h("flow"),className:v("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",d==="flow"?"text-accent":"hover:text-accent"),children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:e("path",{d:"M266.2 4.7C273 1.6 280.5 0 288 0s15 1.6 21.8 4.7l217.4 97.5c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 251.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 153.9C38.6 149.3 32 139.2 32 128s6.6-21.3 16.8-25.9L266.2 4.7zM288 32c-3 0-6 .6-8.8 1.9L69.3 128l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-210-94.1C294 32.6 291 32 288 32zM48.8 358.1l45.9-20.6 39.1 17.5L69.3 384l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-64.5-28.9 39.1-17.5 45.9 20.6c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 507.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 409.9C38.6 405.3 32 395.2 32 384s6.6-21.3 16.8-25.9zM94.7 209.5l39.1 17.5L69.3 256l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-64.5-28.9 39.1-17.5 45.9 20.6c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 379.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 281.9C38.6 277.3 32 267.2 32 256s6.6-21.3 16.8-25.9l45.9-20.6z"})}),e("small",{className:"text-xs",children:"Continuous"})]})]})})})};export{ae as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as u,d as g,g as v,i as p}from"./chunk-YFAZQYK4.mjs";import{a as d}from"./chunk-TVZOULLL.mjs";import{b as m}from"./chunk-CSBGSBEU.mjs";import{useState as b}from"react";import{jsx as a,jsxs as t}from"react/jsx-runtime";var y=({label:S,value:n,onValueChange:f,options:r,showColor:s=!1,disabled:l=!1})=>{let[c,i]=b(!1),o=r.find(e=>e.value===n);return t("div",{className:"space-y-1",children:[a(d,{className:"text-xs text-muted-foreground",children:S}),t(u,{value:n,onValueChange:f,open:c,onOpenChange:e=>{l||i(e)},disabled:l,children:[a(g,{className:"h-auto p-0 border-none bg-transparent hover:bg-muted/50 rounded-md",children:t(m,{variant:"secondary",className:`${l?"cursor-not-allowed opacity-50":"cursor-pointer"} hover:bg-muted transition-colors`,onClick:()=>!l&&i(!c),children:[s&&o?.color&&a("div",{className:`w-2 h-2 rounded-full ${o.color} mr-1`}),o?.label||"Select..."]})}),a(v,{children:r.map(e=>a(p,{value:e.value,children:s&&e.color?t("div",{className:"flex items-center gap-2",children:[a("div",{className:`w-3 h-3 rounded-full ${e.color}`}),e.label]}):e.label},e.value))})]})]})};export{y as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as I,c as T,d as F,g as $,i as M}from"./chunk-YFAZQYK4.mjs";import{a as w}from"./chunk-B4H6T2GP.mjs";import{b as _}from"./chunk-ZFUP5NVF.mjs";import{a as l}from"./chunk-L5JPAKPM.mjs";import{b as i}from"./chunk-ZUA4KNIR.mjs";import{a as S}from"./chunk-YO3GQYRJ.mjs";import{useState as d}from"react";import{X as De,Plus as O,Edit2 as L,Trash2 as R,Calendar as K,Kanban as Pe,FileText as je,FolderOpen as V,Target as Ee,Layers as Ae}from"lucide-react";import{Fragment as H,jsx as e,jsxs as t}from"react/jsx-runtime";var ee=({projects:g,epics:ae,sprints:te,currentView:b,onUpdateProject:U,onDeleteProject:se,onAddProject:ne,onUpdateEpic:X,onDeleteEpic:ie,onAddEpic:re,onAddSprint:le,onUpdateSprint:q,onDeleteSprint:oe,onViewChange:h,mobileMenuOpen:G,onToggleMobileMenu:de})=>{let[o,u]=d(null),[k,C]=d(null),[D,P]=d(null),[j,E]=d(null),[x,y]=d({name:"",description:""}),[r,c]=d({name:"",description:"",color:"",confidence:"medium",phase:1,startDate:"",endDate:"",progress:0}),[m,v]=d({name:"",description:"",startDate:"",endDate:"",isActive:!1}),[ce,A]=d(!1),[me,z]=d(!1),[f,B]=d({name:"",description:""}),[p,N]=d({name:"",description:"",startDate:"",endDate:"",isActive:!1}),pe=["bg-brand-blue","bg-brand-green","bg-brand-plum","bg-brand-orange","bg-destructive","bg-warning","bg-brand-cyan","bg-accent"],J=[{value:"low",label:"Low",color:"text-destructive"},{value:"medium",label:"Medium",color:"text-warning"},{value:"high",label:"High",color:"text-success"}],Q=[{value:1,label:"Phase 1",color:"text-brand-blue"},{value:2,label:"Phase 2",color:"text-brand-plum"},{value:3,label:"Phase 3",color:"text-brand-orange"},{value:4,label:"Phase 4",color:"text-brand-green"},{value:5,label:"Phase 5",color:"text-destructive"},{value:6,label:"Phase 6",color:"text-warning"},{value:7,label:"Phase 7",color:"text-brand-cyan"},{value:8,label:"Phase 8",color:"text-accent"},{value:9,label:"Phase 9",color:"text-muted-foreground"}],ue=a=>{C(a.id),y({name:a.name,description:a.description||""})},ve=()=>{k&&x.name.trim()&&(U(k,{name:x.name.trim(),description:x.description.trim()}),C(null))},ge=()=>{C(null),y({name:"",description:""})},be=()=>{f.name.trim()&&(ne({name:f.name.trim(),description:f.description.trim(),isSelected:!1}),B({name:"",description:""}),A(!1))},he=a=>{U(a,{isSelected:!0})},xe=a=>{P(a.id),c({name:a.name,description:a.description||"",color:a.color,confidence:a.confidence,phase:a.phase,startDate:a.startDate.toISOString().split("T")[0],endDate:a.endDate.toISOString().split("T")[0],progress:a.progress})},fe=()=>{D&&r.name.trim()&&(X(D,{name:r.name.trim(),description:r.description.trim(),color:r.color,confidence:r.confidence,phase:r.phase,startDate:new Date(r.startDate),endDate:new Date(r.endDate),progress:r.progress}),P(null))},Ne=()=>{P(null),c({name:"",description:"",color:"",confidence:"medium",phase:1,startDate:"",endDate:"",progress:0})},ye=a=>{E(a.id),v({name:a.name,description:a.description||"",startDate:a.startDate.toISOString().split("T")[0],endDate:a.endDate.toISOString().split("T")[0],isActive:a.isActive})},we=()=>{j&&m.name.trim()&&(q(j,{name:m.name.trim(),description:m.description.trim(),startDate:new Date(m.startDate),endDate:new Date(m.endDate),isActive:m.isActive}),E(null))},Se=()=>{E(null),v({name:"",description:"",startDate:"",endDate:"",isActive:!1})},ke=()=>{p.name.trim()&&(le({name:p.name.trim(),description:p.description.trim(),startDate:new Date(p.startDate),endDate:new Date(p.endDate),isActive:p.isActive,isSelected:!1}),N({name:"",description:"",startDate:"",endDate:"",isActive:!1}),z(!1))},Ce=a=>{q(a,{isSelected:!0})},W=a=>a.toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"}),Y=a=>{let s=J.find(n=>n.value===a);return s?{label:s.label,color:s.color}:{label:"Medium",color:"text-warning"}},Z=a=>{let s=Q.find(n=>n.value===a);return s?{label:s.label,color:s.color}:{label:"Phase 1",color:"text-primary"}};return t(H,{children:[t("div",{className:`absolute h-full w-12 bg-sidebar-background flex flex-col z-50 flex-shrink-0 transition-transform duration-300 group ${G?"translate-x-0":"-translate-x-full"} md:translate-x-0`,children:[t("div",{className:"border-b border-sidebar-border",children:[t("button",{onClick:()=>{h("kanban"),u(null)},className:`w-12 h-12 flex items-center justify-center text-sidebar-foreground transition-all duration-200 relative overflow-hidden group/btn ${b==="kanban"?"bg-primary":"bg-primary/75 hover:bg-primary"} hover:w-28 hover:justify-start hover:pl-3 z-50`,title:"Kanban View",children:[e(Pe,{className:"h-4 w-4 flex-shrink-0"}),e("span",{className:"text-xs font-medium whitespace-nowrap opacity-0 group-hover/btn:opacity-100 transition-opacity duration-200 absolute left-8",children:"Kanban"})]}),t("button",{onClick:()=>{h("planning"),u(null)},className:`w-12 h-12 flex items-center justify-center text-sidebar-foreground transition-all duration-200 relative overflow-hidden group/btn ${b==="planning"?"bg-brand-plum":"bg-brand-plum/75 hover:bg-brand-plum"} hidden md:flex hover:w-28 hover:justify-start hover:pl-3`,title:"Planning View",children:[e(K,{className:"h-4 w-4 flex-shrink-0"}),e("span",{className:"text-xs font-medium whitespace-nowrap opacity-0 group-hover/btn:opacity-100 transition-opacity duration-200 absolute left-8",children:"Planning"})]})]}),t("button",{onClick:()=>u(o==="projects"?null:"projects"),className:`flex-1 w-12 flex items-center justify-center text-sidebar-foreground transition-all duration-200 relative overflow-hidden group/btn ${o==="projects"?"bg-sidebar-accent":"bg-sidebar-primary hover:bg-sidebar-accent"} hover:w-28 hover:justify-start hover:pl-3`,title:"Projects",children:[e(V,{className:"h-4 w-4 flex-shrink-0"}),e("span",{className:"text-xs font-medium whitespace-nowrap opacity-0 group-hover/btn:opacity-100 transition-opacity duration-200 absolute left-8",children:"Projects"})]}),t("button",{onClick:()=>{h("epics"),u(null)},className:`flex-1 w-12 flex items-center justify-center text-sidebar-foreground transition-all duration-200 relative overflow-hidden group/btn ${b==="epics"?"bg-primary":"bg-primary/75 hover:bg-primary"} hover:w-28 hover:justify-start hover:pl-3`,title:"Epic Planning",children:[e(Ee,{className:"h-4 w-4 flex-shrink-0"}),e("span",{className:"text-xs font-medium whitespace-nowrap opacity-0 group-hover/btn:opacity-100 transition-opacity duration-200 absolute left-8",children:"Epics"})]}),t("button",{onClick:()=>u(o==="sprints"?null:"sprints"),className:`flex-1 w-12 flex items-center justify-center text-sidebar-foreground transition-all duration-200 relative overflow-hidden group/btn ${o==="sprints"?"bg-brand-green":"bg-brand-green/75 hover:bg-brand-green"} hover:w-28 hover:justify-start hover:pl-3`,title:"Sprints",children:[e(Ae,{className:"h-4 w-4 flex-shrink-0"}),e("span",{className:"text-xs font-medium whitespace-nowrap opacity-0 group-hover/btn:opacity-100 transition-opacity duration-200 absolute left-8",children:"Sprints"})]}),t("button",{onClick:()=>{h("files"),u(null)},className:`flex-1 w-12 flex items-center justify-center text-sidebar-foreground transition-all duration-200 relative overflow-hidden group/btn ${b==="files"?"bg-brand-orange":"bg-brand-orange/75 hover:bg-brand-orange"} hover:w-28 hover:justify-start hover:pl-3`,title:"Files",children:[e(je,{className:"h-4 w-4 flex-shrink-0"}),e("span",{className:"text-xs font-medium whitespace-nowrap opacity-0 group-hover/btn:opacity-100 transition-opacity duration-200 absolute left-8",children:"Files"})]}),t("button",{onClick:()=>{h("tasks"),u(null)},className:`flex-1 w-12 flex items-center justify-center text-sidebar-foreground transition-all duration-200 relative overflow-hidden group/btn ${b==="tasks"?"bg-brand-cyan":"bg-brand-cyan/75 hover:bg-brand-cyan"} hover:w-28 hover:justify-start hover:pl-3`,title:"Tasks",children:[e(K,{className:"h-4 w-4 flex-shrink-0"}),e("span",{className:"text-xs font-medium whitespace-nowrap opacity-0 group-hover/btn:opacity-100 transition-opacity duration-200 absolute left-8",children:"Tasks"})]})]}),G&&e("div",{className:"md:hidden fixed inset-0 bg-background/80 backdrop-blur-sm z-20",onClick:de}),o&&t(H,{children:[e("div",{className:"fixed inset-0 bg-background/80 backdrop-blur-sm z-40",onClick:()=>u(null)}),t("div",{className:"absolute left-12 w-80 md:w-96 bg-card shadow-lg z-40 transform transition-transform max-w-[calc(100vw-3rem)] md:max-w-none top-0 h-full",children:[t("div",{className:"p-3 md:p-4 border-b flex items-center justify-between",children:[t("h2",{className:"text-base md:text-lg font-semibold",children:[o==="projects"&&"Projects",o==="epics"&&"Manage Epics",o==="sprints"&&"Manage Sprints",o==="files"&&"Files"]}),e(i,{variant:"ghost",size:"sm",onClick:()=>u(null),children:e(De,{className:"h-4 w-4"})})]}),t("div",{className:"p-3 md:p-4 space-y-4 h-full overflow-y-auto",children:[o==="projects"&&e(S,{className:"p-3",children:t("div",{className:"space-y-3",children:[t("div",{className:"flex items-center justify-between",children:[e("h3",{className:"font-medium text-foreground",children:"Projects"}),t(i,{size:"sm",onClick:()=>A(!0),className:"gap-1",children:[e(O,{className:"h-3 w-3"}),"Add Project"]})]}),ce&&t("div",{className:"border rounded-lg p-2 space-y-2",children:[e(l,{value:f.name,onChange:a=>B(s=>({...s,name:a.target.value})),placeholder:"Project name",className:"text-sm"}),e(w,{value:f.description,onChange:a=>B(s=>({...s,description:a.target.value})),placeholder:"Project description",rows:2,className:"text-sm"}),t("div",{className:"flex gap-1",children:[e(i,{size:"sm",onClick:be,className:"text-xs h-6",children:"Save"}),e(i,{size:"sm",variant:"outline",onClick:()=>A(!1),className:"text-xs h-6",children:"Cancel"})]})]}),e("div",{className:"space-y-2",children:g.map(a=>e("div",{className:"border rounded p-2",children:k===a.id?t("div",{className:"space-y-2",children:[e(l,{value:x.name,onChange:s=>y(n=>({...n,name:s.target.value})),placeholder:"Project name",className:"text-sm"}),e(w,{value:x.description,onChange:s=>y(n=>({...n,description:s.target.value})),placeholder:"Project description",rows:2,className:"text-sm"}),t("div",{className:"flex gap-1",children:[e(i,{size:"sm",onClick:ve,className:"text-xs h-6",children:"Save"}),e(i,{size:"sm",variant:"outline",onClick:ge,className:"text-xs h-6",children:"Cancel"})]})]}):t("div",{className:`cursor-pointer p-1 rounded transition-colors ${a.isSelected?"bg-primary/10 border-primary ring-2 ring-primary/20":"hover:bg-muted"}`,onClick:()=>he(a.id),children:[t("div",{className:"flex items-center gap-2 mb-1",children:[e(V,{className:"h-3 w-3 text-muted-foreground"}),e("span",{className:"font-medium text-xs",children:a.name})]}),a.description&&e("p",{className:"text-xs text-muted-foreground mb-1",children:a.description}),t("div",{className:"flex gap-1",onClick:s=>s.stopPropagation(),children:[e(i,{size:"sm",variant:"ghost",onClick:()=>ue(a),className:"h-5 px-1",children:e(L,{className:"h-3 w-3"})}),e(i,{size:"sm",variant:"ghost",onClick:()=>se(a.id),className:"h-5 px-1 text-destructive hover:text-destructive",children:e(R,{className:"h-3 w-3"})})]})]})},a.id))})]})}),o==="epics"&&e(S,{className:"p-3",children:t("div",{className:"space-y-3",children:[t("div",{className:"flex items-center justify-between",children:[e("h3",{className:"font-medium text-foreground",children:"Epics"}),t(i,{size:"sm",onClick:re,className:"gap-1",children:[e(O,{className:"h-3 w-3"}),"Add Epic"]})]}),e("div",{className:"space-y-4",children:ae.map(a=>e("div",{className:"border rounded-lg p-3",children:D===a.id?t("div",{className:"space-y-3",children:[e(l,{value:r.name,onChange:s=>c(n=>({...n,name:s.target.value})),placeholder:"Epic name",className:"text-sm"}),e(w,{value:r.description,onChange:s=>c(n=>({...n,description:s.target.value})),placeholder:"Epic description",rows:2,className:"text-sm"}),t("div",{className:"space-y-2",children:[e("label",{className:"text-xs font-medium",children:"Color"}),e("div",{className:"flex gap-1 flex-wrap",children:pe.map(s=>e("button",{onClick:()=>c(n=>({...n,color:s})),className:`w-6 h-6 rounded-full ${s} ${r.color===s?"ring-2 ring-ring":""}`},s))})]}),t("div",{className:"grid grid-cols-2 gap-2",children:[t("div",{className:"space-y-1",children:[e("label",{className:"text-xs font-medium",children:"Confidence"}),t(I,{value:r.confidence,onValueChange:s=>c(n=>({...n,confidence:s})),children:[e(F,{className:"h-8 text-xs",children:e(T,{})}),e($,{children:J.map(s=>e(M,{value:s.value,children:e("span",{className:s.color,children:s.label})},s.value))})]})]}),t("div",{className:"space-y-1",children:[e("label",{className:"text-xs font-medium",children:"Phase"}),t(I,{value:r.phase.toString(),onValueChange:s=>c(n=>({...n,phase:parseInt(s)})),children:[e(F,{className:"h-8 text-xs",children:e(T,{})}),e($,{children:Q.map(s=>e(M,{value:s.value.toString(),children:e("span",{className:s.color,children:s.label})},s.value))})]})]})]}),t("div",{className:"grid grid-cols-2 gap-2",children:[t("div",{className:"space-y-1",children:[e("label",{className:"text-xs font-medium",children:"Start Date"}),e(l,{type:"date",value:r.startDate,onChange:s=>c(n=>({...n,startDate:s.target.value})),className:"text-xs h-8"})]}),t("div",{className:"space-y-1",children:[e("label",{className:"text-xs font-medium",children:"End Date"}),e(l,{type:"date",value:r.endDate,onChange:s=>c(n=>({...n,endDate:s.target.value})),className:"text-xs h-8"})]})]}),t("div",{className:"space-y-1",children:[e("label",{className:"text-xs font-medium",children:"Progress (%)"}),e(l,{type:"number",min:"0",max:"100",value:r.progress,onChange:s=>c(n=>({...n,progress:parseInt(s.target.value)||0})),className:"text-xs h-8"})]}),t("div",{className:"flex gap-2",children:[e(i,{size:"sm",onClick:fe,className:"text-xs",children:"Save"}),e(i,{size:"sm",variant:"outline",onClick:Ne,className:"text-xs",children:"Cancel"})]})]}):t("div",{className:`cursor-pointer p-2 rounded transition-colors ${a.isSelected?"bg-primary/10 border-primary":"hover:bg-muted"}`,onClick:()=>X(a.id,{isSelected:!a.isSelected}),children:[t("div",{className:"flex items-center gap-2 mb-2",children:[e("div",{className:`w-3 h-3 rounded-full ${a.color}`}),e("span",{className:"font-medium text-sm",children:a.name})]}),a.description&&e("p",{className:"text-xs text-muted-foreground mb-2",children:a.description}),t("div",{className:"space-y-1 mb-2",children:[t("div",{className:"flex items-center justify-between text-xs",children:[e("span",{className:"text-muted-foreground",children:"Confidence:"}),e("span",{className:Y(a.confidence).color,children:Y(a.confidence).label})]}),t("div",{className:"flex items-center justify-between text-xs",children:[e("span",{className:"text-muted-foreground",children:"Phase:"}),e("span",{className:Z(a.phase).color,children:Z(a.phase).label})]}),t("div",{className:"flex items-center justify-between text-xs",children:[e("span",{className:"text-muted-foreground",children:"Timeline:"}),t("span",{className:"text-foreground",children:[W(a.startDate)," - ",W(a.endDate)]})]}),t("div",{className:"flex items-center justify-between text-xs",children:[e("span",{className:"text-muted-foreground",children:"Progress:"}),t("div",{className:"flex items-center gap-2",children:[e("div",{className:"w-12 h-2 bg-muted rounded-full",children:e("div",{className:"h-2 bg-primary rounded-full",style:{width:`${a.progress}%`}})}),t("span",{className:"text-foreground",children:[a.progress,"%"]})]})]})]}),t("div",{className:"flex gap-1",onClick:s=>s.stopPropagation(),children:[e(i,{size:"sm",variant:"ghost",onClick:()=>xe(a),className:"h-6 px-2",children:e(L,{className:"h-3 w-3"})}),e(i,{size:"sm",variant:"ghost",onClick:()=>ie(a.id),className:"h-6 px-2 text-destructive hover:text-destructive",children:e(R,{className:"h-3 w-3"})})]})]})},a.id))})]})}),o==="sprints"&&e(S,{className:"p-3",children:t("div",{className:"space-y-3",children:[t("div",{className:"flex items-center justify-between",children:[e("h3",{className:"font-medium text-foreground",children:"Sprints (Select One)"}),t(i,{size:"sm",onClick:()=>z(!0),className:"gap-1",children:[e(O,{className:"h-3 w-3"}),"Add Sprint"]})]}),me&&t("div",{className:"border rounded-lg p-2 space-y-2",children:[e(l,{value:p.name,onChange:a=>N(s=>({...s,name:a.target.value})),placeholder:"Sprint name",className:"text-sm"}),t("div",{className:"grid grid-cols-2 gap-1",children:[e(l,{type:"date",value:p.startDate,onChange:a=>N(s=>({...s,startDate:a.target.value})),className:"text-xs"}),e(l,{type:"date",value:p.endDate,onChange:a=>N(s=>({...s,endDate:a.target.value})),className:"text-xs"})]}),t("div",{className:"flex items-center gap-2",children:[e("input",{type:"checkbox",checked:p.isActive,onChange:a=>N(s=>({...s,isActive:a.target.checked})),className:"w-3 h-3"}),e("span",{className:"text-xs",children:"Active"})]}),t("div",{className:"flex gap-1",children:[e(i,{size:"sm",onClick:ke,className:"text-xs h-6",children:"Save"}),e(i,{size:"sm",variant:"outline",onClick:()=>z(!1),className:"text-xs h-6",children:"Cancel"})]})]}),e("div",{className:"space-y-2",children:te.map(a=>e("div",{className:"border rounded p-2",children:j===a.id?t("div",{className:"space-y-2",children:[e(l,{value:m.name,onChange:s=>v(n=>({...n,name:s.target.value})),placeholder:"Sprint name",className:"text-sm",disabled:a.id==="backlog"||a.id==="all-tasks"}),a.id!=="backlog"&&a.id!=="all-tasks"&&t(H,{children:[t("div",{className:"grid grid-cols-2 gap-1",children:[e(l,{type:"date",value:m.startDate,onChange:s=>v(n=>({...n,startDate:s.target.value})),className:"text-xs"}),e(l,{type:"date",value:m.endDate,onChange:s=>v(n=>({...n,endDate:s.target.value})),className:"text-xs"})]}),t("div",{className:"flex items-center gap-2",children:[e("input",{type:"checkbox",checked:m.isActive,onChange:s=>v(n=>({...n,isActive:s.target.checked})),className:"w-3 h-3"}),e("span",{className:"text-xs",children:"Active"})]})]}),t("div",{className:"flex gap-1",children:[e(i,{size:"sm",onClick:we,className:"text-xs h-6",children:"Save"}),e(i,{size:"sm",variant:"outline",onClick:Se,className:"text-xs h-6",children:"Cancel"})]})]}):t("div",{className:`cursor-pointer p-1 rounded transition-colors ${a.isSelected?"bg-brand-green/10 border-brand-green ring-2 ring-brand-green/20":"hover:bg-muted"}`,onClick:()=>Ce(a.id),children:[t("div",{className:"flex items-center gap-2 mb-1",children:[e(K,{className:"h-3 w-3 text-muted-foreground"}),e("span",{className:"font-medium text-xs",children:a.name}),a.isActive&&e("span",{className:"text-xs bg-brand-green/20 text-brand-green px-1 py-0.5 rounded",children:"Active"}),(a.id==="backlog"||a.id==="all-tasks")&&e("span",{className:"text-xs bg-muted text-muted-foreground px-1 py-0.5 rounded",children:"System"})]}),a.id!=="backlog"&&a.id!=="all-tasks"&&t("p",{className:"text-xs text-muted-foreground mb-1",children:[a.startDate.toLocaleDateString()," - ",a.endDate.toLocaleDateString()]}),t("div",{className:"flex gap-1",onClick:s=>s.stopPropagation(),children:[e(i,{size:"sm",variant:"ghost",onClick:()=>ye(a),className:"h-5 px-1",children:e(L,{className:"h-3 w-3"})}),a.id!=="backlog"&&a.id!=="all-tasks"&&e(i,{size:"sm",variant:"ghost",onClick:()=>oe(a.id),className:"h-5 px-1 text-destructive hover:text-destructive",children:e(R,{className:"h-3 w-3"})})]})]})},a.id))})]})})]})]})]})]})},Xe=g=>e(_,{children:t("div",{className:"flex w-full",children:[e("div",{className:"hidden md:block w-12 fixed h-full",children:e(ee,{...g})}),e("div",{className:"md:hidden",children:e(ee,{...g})}),e("div",{className:"flex-1 min-w-0 ml-16 px-4 md:px-6",children:e("div",{className:"w-full",children:g.children})})]})});export{Xe as a};
|