cortex-react-components 2.0.0 → 2.0.2
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/about-1-ANS44UVM.png +0 -0
- package/dist/about-2-NDWHP4QV.png +0 -0
- package/dist/about-3-RNUOVF6S.png +0 -0
- package/dist/about-4-V5ITRBOZ.png +0 -0
- package/dist/chunk-22LHS2J6.mjs +4 -0
- package/dist/chunk-2BR55L74.mjs +1 -0
- package/dist/chunk-2QZUKVBA.mjs +1 -0
- package/dist/chunk-2VZWOBGP.mjs +1 -0
- package/dist/chunk-3ALU5XV6.mjs +1 -0
- package/dist/chunk-3MKCQLBY.mjs +4 -0
- package/dist/chunk-3OKVKXQT.mjs +4 -0
- package/dist/chunk-3RJA57BI.mjs +4 -0
- package/dist/chunk-3SK6PULC.mjs +4 -0
- package/dist/chunk-3SZR5DC2.mjs +1 -0
- package/dist/chunk-3TVLETYW.mjs +1 -0
- package/dist/chunk-3U3PZBHQ.mjs +4 -0
- package/dist/chunk-3UMMMQEH.mjs +4 -0
- package/dist/chunk-3WPEAKCQ.mjs +4 -0
- package/dist/chunk-43IUXVGW.mjs +4 -0
- package/dist/chunk-44QDT35M.mjs +1 -0
- package/dist/chunk-4BUBW5TX.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-4TU4OACM.mjs +4 -0
- package/dist/chunk-4TVYOBYI.mjs +4 -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-5C2TR5P3.mjs +4 -0
- package/dist/chunk-5ME75SQ2.mjs +218 -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-66WBIP2O.mjs +1 -0
- package/dist/chunk-6AFX6PFG.mjs +470 -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-6LZRVGXZ.mjs +4 -0
- package/dist/chunk-6QSBVWNG.mjs +4 -0
- package/dist/chunk-6U2XBCMC.mjs +4 -0
- package/dist/chunk-6VPRGZON.mjs +4 -0
- package/dist/chunk-6XXAI7IR.mjs +1 -0
- package/dist/chunk-6YHVVP3S.mjs +1 -0
- package/dist/chunk-75WE6ZXB.mjs +1 -0
- package/dist/chunk-76M7JE4D.mjs +1 -0
- package/dist/chunk-7A3BV5SJ.mjs +1 -0
- package/dist/chunk-7BXIU4ZM.mjs +4 -0
- package/dist/chunk-7DICAJS4.mjs +1 -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-A24IEDVI.mjs +1 -0
- package/dist/chunk-AB43AQKL.mjs +1 -0
- package/dist/chunk-AEBUMA72.mjs +1 -0
- package/dist/chunk-ALI7Z4HH.mjs +4 -0
- package/dist/chunk-AMV3MECK.mjs +1 -0
- package/dist/chunk-AQLCYCLG.mjs +1 -0
- package/dist/chunk-AUBKJ4XO.mjs +1 -0
- package/dist/chunk-AV5SA2JB.mjs +9 -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-BG7QXNV5.mjs +1 -0
- package/dist/chunk-BHKBIYMM.mjs +4 -0
- package/dist/chunk-BMA4266L.mjs +1 -0
- package/dist/chunk-BPTRLIWH.mjs +1 -0
- package/dist/chunk-BUC3OG2I.mjs +4 -0
- package/dist/chunk-BWTA3BKK.mjs +4 -0
- package/dist/chunk-BXHNSQWH.mjs +1 -0
- package/dist/chunk-BZAYEKYC.mjs +1 -0
- package/dist/chunk-C4UPRDGQ.mjs +1 -0
- package/dist/chunk-CA7JDZIQ.mjs +4 -0
- package/dist/chunk-CG2SBWT7.mjs +4 -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-CXV6AWOX.mjs +4 -0
- package/dist/chunk-D4IMQTVU.mjs +4 -0
- package/dist/chunk-D6W4VUUS.mjs +1 -0
- package/dist/chunk-DBVX4BDP.mjs +4 -0
- package/dist/chunk-DBY4SXQI.mjs +1 -0
- package/dist/chunk-DFIXTV2M.mjs +1 -0
- package/dist/chunk-DYHW653F.mjs +1 -0
- package/dist/chunk-E37JPSPB.mjs +4 -0
- package/dist/chunk-E4TE4NV6.mjs +4 -0
- package/dist/chunk-EGHHWTFA.mjs +1 -0
- package/dist/chunk-EHSOO47V.mjs +1 -0
- package/dist/chunk-EPTHSTUM.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-FRWX5YES.mjs +4 -0
- package/dist/chunk-FT3AE7L2.mjs +4 -0
- package/dist/chunk-FVM5SQT2.mjs +4 -0
- package/dist/chunk-GLLR2OOI.mjs +1 -0
- package/dist/chunk-GQVNL534.mjs +4 -0
- package/dist/chunk-H4X3VQIN.mjs +4 -0
- package/dist/chunk-H7D3PZKE.mjs +1 -0
- package/dist/chunk-HIHXHTK3.mjs +1 -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-IB6VPDZQ.mjs +1 -0
- package/dist/chunk-IC2ABKAM.mjs +4 -0
- package/dist/chunk-IEUDWPYZ.mjs +1 -0
- package/dist/chunk-IJQC7T2R.mjs +1 -0
- package/dist/chunk-IN55EBPV.mjs +1 -0
- package/dist/chunk-INCYANPB.mjs +4 -0
- package/dist/chunk-IQKWNF37.mjs +5 -0
- package/dist/chunk-IQPZEEYJ.mjs +1 -0
- package/dist/chunk-ISBVFNWD.mjs +4 -0
- package/dist/chunk-IZ3PDOST.mjs +1 -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-KDSAOIPC.mjs +1 -0
- package/dist/chunk-KFCSVEI6.mjs +4 -0
- package/dist/chunk-KGEIN56Y.mjs +4 -0
- package/dist/chunk-KGYX6TIY.mjs +4 -0
- package/dist/chunk-KLEXMJR2.mjs +1 -0
- package/dist/chunk-KML6U7IE.mjs +1 -0
- package/dist/chunk-KN65DDFI.mjs +1 -0
- package/dist/chunk-KSYES4GX.mjs +1 -0
- package/dist/chunk-KUVGGKGR.mjs +4 -0
- package/dist/chunk-KVD6XDZT.mjs +1 -0
- package/dist/chunk-KX2NCNCS.mjs +1 -0
- package/dist/chunk-KY7WQYN4.mjs +4 -0
- package/dist/chunk-L2CGDHVO.mjs +1 -0
- package/dist/chunk-L5JPAKPM.mjs +1 -0
- package/dist/chunk-LALFQI3P.mjs +4 -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-M6LJ4BNZ.mjs +1 -0
- package/dist/chunk-MDJREBVI.mjs +1 -0
- package/dist/chunk-MGJTWNXD.mjs +1 -0
- package/dist/chunk-MGYV46AJ.mjs +4 -0
- package/dist/chunk-MWXZUSRT.mjs +4 -0
- package/dist/chunk-MZP7RIQZ.mjs +1 -0
- package/dist/chunk-N25B5TQ5.mjs +4 -0
- package/dist/chunk-N5SEZED7.mjs +1 -0
- package/dist/chunk-NOHO4XDS.mjs +1 -0
- package/dist/chunk-NSMXJCXE.mjs +1 -0
- package/dist/chunk-O5BAW5XQ.mjs +3 -0
- package/dist/chunk-OCPX4QPC.mjs +4 -0
- package/dist/chunk-OFFFATED.mjs +4 -0
- package/dist/chunk-OFXZKSCN.mjs +1 -0
- package/dist/chunk-OJLQ6G4W.mjs +4 -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-PA3BZDTY.mjs +245 -0
- package/dist/chunk-PANOPGUW.mjs +4 -0
- package/dist/chunk-PDY7JYY3.mjs +4 -0
- package/dist/chunk-PPZXBKTO.mjs +4 -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-QDYF4Z2F.mjs +4 -0
- package/dist/chunk-QKGEV7LG.mjs +1 -0
- package/dist/chunk-QQ36F4C4.mjs +1 -0
- package/dist/chunk-QRJOCPHI.mjs +1 -0
- package/dist/chunk-QTILVWJA.mjs +4 -0
- package/dist/chunk-RAGDUV7M.mjs +4 -0
- package/dist/chunk-RENPEB5D.mjs +1 -0
- package/dist/chunk-RIK7YEA6.mjs +2 -0
- package/dist/chunk-RLVKIMGU.mjs +4 -0
- package/dist/chunk-RR4QSUV2.mjs +1 -0
- package/dist/chunk-RTAA6HZ2.mjs +1 -0
- package/dist/chunk-RULSHTXR.mjs +1 -0
- package/dist/chunk-RVRIMD6M.mjs +4 -0
- package/dist/chunk-RYZTCMVC.mjs +4 -0
- package/dist/chunk-S7SHOCHM.mjs +1 -0
- package/dist/chunk-SG5QL77J.mjs +4 -0
- package/dist/chunk-SOIRB5TV.mjs +1 -0
- package/dist/chunk-SOLZ4VQH.mjs +4 -0
- package/dist/chunk-SRCJSWQF.mjs +1 -0
- package/dist/chunk-SV7NMNDI.mjs +1 -0
- package/dist/chunk-TAYYCGWX.mjs +4 -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-TLBLUYXL.mjs +1 -0
- package/dist/chunk-TVZOULLL.mjs +4 -0
- package/dist/chunk-U3ZHU3UY.mjs +1 -0
- package/dist/chunk-U5PBLRRV.mjs +4 -0
- package/dist/chunk-UDPQ4MXR.mjs +4 -0
- package/dist/chunk-UEBQJNVT.mjs +4 -0
- package/dist/chunk-UG7D3VNG.mjs +1 -0
- package/dist/chunk-UKYWLNKE.mjs +1 -0
- package/dist/chunk-UWEU6TLS.mjs +6 -0
- package/dist/chunk-V6GC3UGV.mjs +1 -0
- package/dist/chunk-VBGNLDO6.mjs +4 -0
- package/dist/chunk-VM25PG5R.mjs +4 -0
- package/dist/chunk-VMAPGGGW.mjs +4 -0
- package/dist/chunk-VN7TASR4.mjs +1 -0
- package/dist/chunk-VNMKCJBJ.mjs +6 -0
- package/dist/chunk-WISC5QJV.mjs +1 -0
- package/dist/chunk-WISCWNL2.mjs +1 -0
- package/dist/chunk-WU3JMLSC.mjs +1 -0
- package/dist/chunk-WUA65ZZB.mjs +4 -0
- package/dist/chunk-WV2LZOPM.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-XCCL5CIT.mjs +4 -0
- package/dist/chunk-XGIYNUGC.mjs +1 -0
- package/dist/chunk-XHMVS6GT.mjs +4 -0
- package/dist/chunk-XP4XLR2J.mjs +4 -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-YVI5URXW.mjs +4 -0
- package/dist/chunk-YX3BAJ2N.mjs +1 -0
- package/dist/chunk-ZDOLX6I2.mjs +4 -0
- package/dist/chunk-ZDPQXVTF.mjs +1 -0
- package/dist/chunk-ZFBEBFCI.mjs +4 -0
- package/dist/chunk-ZFUP5NVF.mjs +4 -0
- package/dist/chunk-ZLSF5YXT.mjs +8 -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/.archive/ai-chat-interface.d.ts +70 -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/{dc-temp → AdvancedComponents}/app-header.d.ts +10 -2
- 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.d.ts +3 -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/{dc-temp → AdvancedComponents}/notifications-panel.d.ts +3 -3
- 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.d.ts +16 -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 +2 -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.d.ts +9 -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 +5 -0
- package/dist/components/Blocks/Banner.mjs +1 -0
- package/dist/components/Blocks/CallToAction.css +1 -0
- package/dist/components/Blocks/CallToAction.js +5 -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 +5 -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 +5 -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 +5 -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 +5 -0
- package/dist/components/Blocks/RelatedPosts.mjs +1 -0
- package/dist/components/Blocks/RenderBlocks.css +1 -0
- package/dist/components/Blocks/RenderBlocks.js +5 -0
- package/dist/components/Blocks/RenderBlocks.mjs +1 -0
- package/dist/components/Blocks/ReusableContentBlock.css +1 -0
- package/dist/components/Blocks/ReusableContentBlock.js +5 -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 +5 -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 +5 -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 +5 -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 +10 -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.d.ts +96 -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.d.ts +24 -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.d.ts +70 -0
- package/dist/components/Chat/ai-chat-interface.js +5 -0
- package/dist/components/Chat/ai-chat-interface.mjs +2 -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/{dc-temp → Chat}/capability-menu.d.ts +2 -1
- 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/{dc-temp → Chat}/chat-session-sidebar.d.ts +1 -1
- 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.d.ts +4 -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.d.ts +26 -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 +2 -0
- package/dist/components/DigitalColleagues/ManagementSidebar.css +1 -0
- package/dist/components/DigitalColleagues/ManagementSidebar.d.ts +1 -1
- 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/{dc-temp → DigitalColleagues}/Pages/dashboardpage.d.ts +1 -1
- package/dist/components/DigitalColleagues/Pages/dashboardpage.js +5 -0
- package/dist/components/DigitalColleagues/Pages/dashboardpage.mjs +2 -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/{dc-temp → DigitalColleagues}/Views/ColleaguesView.d.ts +1 -2
- 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/{dc-temp → DigitalColleagues}/Views/KnowledgeView.d.ts +1 -1
- 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/{dc-temp → DigitalColleagues}/Views/TeamsIndexView.d.ts +1 -1
- 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.d.ts +6 -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/{dc-temp → DigitalColleagues}/colleague-card.d.ts +1 -1
- 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/{dc-temp → DigitalColleagues}/colleague-form.d.ts +1 -1
- 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/{dc-temp → DigitalColleagues}/digital-colleague-clone.d.ts +1 -1
- 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.d.ts +7 -1
- package/dist/components/DigitalColleagues/test-data.js +1 -0
- package/dist/components/DigitalColleagues/test-data.mjs +1 -0
- package/dist/components/DigitalColleagues/types.d.ts +40 -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 +5 -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/{dc-temp/hero-section.d.ts → Heros/DashboardHero/DashboardHero.d.ts} +1 -1
- 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.d.ts +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 +5 -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 +5 -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 +5 -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 +5 -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.d.ts +1 -0
- package/dist/components/Heros/index.js +6 -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 +2 -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 +6 -0
- package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -0
- package/dist/components/Layouts/Print.css +1 -0
- package/dist/components/Layouts/Print.js +6 -0
- package/dist/components/Layouts/Print.mjs +2 -0
- package/dist/components/Layouts/SlideShow.css +1 -0
- package/dist/components/Layouts/SlideShow.js +8 -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 +9 -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 +2 -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 +5 -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 +5 -0
- package/dist/components/Payload/RichText/serialize.mjs +1 -0
- package/dist/components/Payload/index.css +1 -0
- package/dist/components/Payload/index.js +5 -0
- package/dist/components/Payload/index.mjs +1 -0
- package/dist/components/Projects/AddEpicModal.css +1 -0
- package/dist/components/{DigitalColleagues → Projects}/AddEpicModal.d.ts +1 -1
- 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/{DigitalColleagues → Projects}/AddSprintModal.d.ts +1 -1
- 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/{DigitalColleagues → Projects}/AddTaskModal.d.ts +2 -1
- 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/{DigitalColleagues → Projects}/EpicFilter.d.ts +1 -1
- 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/{DigitalColleagues → Projects}/EpicsView.d.ts +1 -1
- 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/{dc-temp/Views → Projects}/FileView.d.ts +1 -1
- 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/{dc-temp/Views/KanbanBoard.d.ts → Projects/KanbanBoardView.d.ts} +2 -2
- 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/{DigitalColleagues → Projects}/KanbanColumn.d.ts +1 -1
- 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/{DigitalColleagues → Projects}/PlanningView.d.ts +1 -1
- 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/{dc-temp/Pages → Projects}/ProjectPage.d.ts +2 -2
- package/dist/components/Projects/ProjectPage.js +5 -0
- package/dist/components/Projects/ProjectPage.mjs +2 -0
- package/dist/components/Projects/ProjectView.css +1 -0
- package/dist/components/{dc-temp/Views → Projects}/ProjectView.d.ts +1 -1
- 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/{dc-temp/Views → Projects}/ProjectsIndexView.d.ts +1 -1
- 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/{DigitalColleagues → Projects}/TaskCard.d.ts +1 -1
- 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/{DigitalColleagues → Projects}/TaskSidebar.d.ts +1 -1
- 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.d.ts +11 -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.d.ts +9 -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.d.ts +4 -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/{dc-temp → Projects}/team-switcher-bar.d.ts +1 -1
- package/dist/components/Projects/team-switcher-bar.js +5 -0
- package/dist/components/Projects/team-switcher-bar.mjs +2 -0
- package/dist/components/Projects/test-data.d.ts +105 -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 +2 -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.d.ts +5 -5
- 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.d.ts +1 -3
- 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.d.ts +5 -3
- package/dist/components/dc-temp/sidebar.js +5 -0
- package/dist/components/dc-temp/sidebar.mjs +2 -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 +21 -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/graphql-NFIL2UYH.mjs +177 -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 +14 -13
- package/dist/index.mjs +1 -32
- 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 +5 -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 +2 -0
- package/dist/pages/IndexPage.css +1 -0
- package/dist/pages/IndexPage.js +4 -0
- package/dist/pages/IndexPage.mjs +2 -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 +13 -0
- package/dist/pages/LandingPage.mjs +2 -0
- package/dist/pages/Page.css +1 -0
- package/dist/pages/Page.js +5 -0
- package/dist/pages/Page.mjs +2 -0
- package/dist/pages/Publish.css +1 -0
- package/dist/pages/Publish.js +9 -0
- package/dist/pages/Publish.mjs +2 -0
- package/dist/pages/Website.css +1 -0
- package/dist/pages/Website.js +5 -0
- package/dist/pages/Website.mjs +1 -0
- package/dist/pattern-1-B7SDCBJ3.png +0 -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 +5 -0
- package/dist/sections/AboutSection.mjs +1 -0
- package/dist/sections/BlogDetail.css +1 -0
- package/dist/sections/BlogDetail.js +5 -0
- package/dist/sections/BlogDetail.mjs +1 -0
- package/dist/sections/BlogList.css +1 -0
- package/dist/sections/BlogList.js +13 -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 +5 -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 +13 -0
- package/dist/sections/PageSections.mjs +2 -0
- package/dist/sections/PricingSection.css +1 -0
- package/dist/sections/PricingSection.js +5 -0
- package/dist/sections/PricingSection.mjs +1 -0
- package/dist/sections/ServiceDetail.css +1 -0
- package/dist/sections/ServiceDetail.js +5 -0
- package/dist/sections/ServiceDetail.mjs +1 -0
- package/dist/sections/ServiceDetailSection.css +1 -0
- package/dist/sections/ServiceDetailSection.js +5 -0
- package/dist/sections/ServiceDetailSection.mjs +1 -0
- package/dist/sections/ServiceSection.css +1 -0
- package/dist/sections/ServiceSection.js +5 -0
- package/dist/sections/ServiceSection.mjs +1 -0
- package/dist/sections/form/index.css +1 -0
- package/dist/sections/form/index.js +5 -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/index.css +1 -0
- package/dist/sections/index.js +13 -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.d.ts +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/dist/waves-6HGOFMRK.jpg +0 -0
- package/package.json +1 -1
- package/dist/components/DigitalColleagues/ChatInterface.d.ts +0 -6
- package/dist/components/DigitalColleagues/DocumentationView.d.ts +0 -2
- package/dist/components/DigitalColleagues/TasksView.d.ts +0 -36
- package/dist/components/dc-temp/AssistantInterface.d.ts +0 -1
- package/dist/components/dc-temp/Views/index.d.ts +0 -6
- package/dist/components/dc-temp/ai-assistants.d.ts +0 -2
- package/dist/components/dc-temp/ai-chat-interface.d.ts +0 -23
- package/dist/components/dc-temp/ai-chat.d.ts +0 -21
- package/dist/components/dc-temp/business-unit-switcher.d.ts +0 -8
- package/dist/components/dc-temp/business-units.d.ts +0 -13
- package/dist/components/dc-temp/creative-layout.d.ts +0 -19
- package/dist/components/dc-temp/document-sidebar.d.ts +0 -9
- package/dist/components/dc-temp/documents.d.ts +0 -27
- package/dist/components/dc-temp/landingpage.d.ts +0 -10
- package/dist/components/dc-temp/user-selection.d.ts +0 -21
- /package/dist/components/{dc-temp → .archive}/app-card.d.ts +0 -0
- /package/dist/components/{DigitalColleagues → AdvancedComponents}/CommentSection.d.ts +0 -0
- /package/dist/components/{DigitalColleagues → AdvancedComponents}/EditableField.d.ts +0 -0
- /package/dist/components/{dc-temp → AdvancedComponents}/theme-provider.d.ts +0 -0
- /package/dist/components/{dc-temp → AdvancedComponents}/theme-toggle.d.ts +0 -0
- /package/dist/components/{dc-temp → Chat}/capabilities-config.d.ts +0 -0
- /package/dist/components/{dc-temp → Chat}/capabilities-data.d.ts +0 -0
- /package/dist/components/{dc-temp → Chat}/capabilities.d.ts +0 -0
- /package/dist/components/{dc-temp → DigitalColleagues}/colleague-type-selection.d.ts +0 -0
- /package/dist/components/{dc-temp → DigitalColleagues}/digital-colleague-options.d.ts +0 -0
- /package/dist/components/{DigitalColleagues → Projects}/TaskDetailsModal.d.ts +0 -0
- /package/dist/components/{DigitalColleagues → Projects}/TaskSelect.d.ts +0 -0
- /package/dist/components/{DigitalColleagues → Projects}/TeamSwitcher.d.ts +0 -0
- /package/dist/components/{dc-temp → Projects}/file-list.d.ts +0 -0
- /package/dist/components/{dc-temp → Projects}/project-card.d.ts +0 -0
- /package/dist/components/{dc-temp → Projects}/project-form.d.ts +0 -0
- /package/dist/components/{dc-temp → Projects}/team-card.d.ts +0 -0
|
@@ -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,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{i as G,j as _,k as O,l as $,m as J,n as U,o as X}from"./chunk-O5BAW5XQ.mjs";import{a as y}from"./chunk-2QZUKVBA.mjs";import{a as T}from"./chunk-H4X3VQIN.mjs";import{a as S}from"./chunk-X3JZSN3W.mjs";import{a as R}from"./chunk-XGIYNUGC.mjs";import{a as I}from"./chunk-LXZAOORS.mjs";import{b as P}from"./chunk-ZUA4KNIR.mjs";import{a as b}from"./chunk-FVM5SQT2.mjs";import{a as l}from"./chunk-MDJREBVI.mjs";import{useState as q}from"react";import{jsx as p,jsxs as v}from"react/jsx-runtime";var se=({links:r,richText:t})=>p("div",{className:"container",children:v("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[p("div",{className:"max-w-[48rem] flex items-center",children:t&&p(f,{className:"mb-0",content:t,enableGutter:!1})}),p("div",{className:"flex flex-col gap-8",children:(r||[]).map(({link:e},n)=>p(y,{size:"lg",...e},n))})]})}),F=({links:r,richText:t})=>{let[e,n]=q(!1),i="accent",a=()=>n(!0),o=()=>n(!1),u=m=>{m.target===m.currentTarget&&o()};return v("div",{className:l("relative isolate overflow-hidden",i==="accent"?"bg-accent":"bg-black"),children:[p("div",{className:"px-6 py-24 sm:px-6 sm:py-32 lg:px-8",children:v("div",{className:"mx-auto max-w-2xl text-center prose",children:[t&&p(f,{className:"mb-0 prose-headings:text-white prose-h2:text-white prose-p:text-white text-white",content:t,enableGutter:!1}),p("div",{className:"mt-10 flex items-center justify-center gap-x-6",children:p("div",{className:"flex flex-col gap-8 text-white",children:(r||[]).map(({link:m},g)=>m?.url==="/contact"?p("div",{onClick:a,className:l("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",i==="accent"?"border-white bg-accent":"border-accent bg-black"),children:m.label},g):p(y,{size:"lg",className:l("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",i==="accent"?"border-white bg-accent":"border-accent bg-black"),...m},g))})})]})}),e&&p("div",{className:"absolute inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50",onClick:u,children:v("div",{className:"bg-white p-6 pt-10 rounded-lg shadow-lg w-full max-w-lg light relative",children:[p("button",{className:"absolute top-4 right-4 text-gray-500 hover:text-gray-700",onClick:o,children:"\u2715"}),p(T,{})," "]})})]})};import K from"next/image";import{jsx as d,jsxs as k}from"react/jsx-runtime";function D(r){return r&&typeof r=="object"&&"type"in r&&"iconName"in r}function w({image:r,icon:t,title:e,subtitle:n,content:i,statistic:a,settings:o,link:u,className:m}){let g={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:"bg-background"},N={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return k("a",{href:u?.url||"#",className:l("min-w-56 max-w-xl h-full flex flex-col group bg-background",r?"p-0":"p-6 md:p-8",o&&!r&&g[o?.card==="default"?"solid":o?.card],r&&"bg-foreground",o&&o?.card==="outline"?"text-gray-900":"text-white",N[o?.width??"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",o&&`intersect:animate-delay-${o.order||1}00`,m),children:[r&&d("div",{className:"relative aspect-[16/9] w-full",children:d(K,{src:r.url||"/placeholder.svg",alt:r.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),k("div",{className:l(r?"p-6 md:p-8":"p-0","flex flex-col flex-grow"),children:[k("div",{className:"flex flex-col flex-grow",children:[n&&d("div",{className:"text-primary uppercase text-sm font-light mb-4",children:n}),d("div",{className:"flex items-start gap-4 mb-4",children:d(Q,{icon:{type:t?.type||"fa-light",iconName:t?.icon||"no-icon-error"},heading:e??"",variant:o?.card==="default"?"solid":o?.card??"solid",iconSize:o?.iconSize||"large"})}),i&&typeof i=="object"&&d(f,{enableGutter:!1,content:i,enableProse:!1,className:l("prose-sm prose-p:text-lg prose-headings:text-xl","space-y-3",o?.card==="outline"||o?.card==="light"?"prose-headings:text-foreground prose-p:text-foreground prose-a:text-foreground":"prose-headings:text-white prose-p:text-gray-100 prose-a:text-gray-100",r&&"prose-headings:text-background prose-p:text-background")}),i&&typeof i=="string"&&d("div",{className:l("prose-sm prose-p:text-lg prose-headings:text-xl","space-y-3",o?.card==="outline"||o?.card==="light"?"prose text-foreground":"prose text-gray-100",r&&"prose text-background"),children:i})]}),u&&u.url&&d("div",{className:"mt-6",children:d("span",{className:"text-accent font-semibold uppercase text-sm block hover:text-accent/80 transition-colors",children:u?.label||"Find out more"})})]})]})}var Q=({icon:r,heading:t,variant:e,iconSize:n,subtitle:i})=>r&&n==="small"&&r.iconName!="no-icon-error"?k("div",{className:"flex items-start justify-between w-full mb-2",children:[d("div",{className:l(e==="outline"||e==="light"?"text-primary":"text-white",n==="small"?"text-2xl":"text-3xl"),children:t}),D(r)&&d("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",e==="outline"||e==="light"?"text-primary":"text-white",n==="small"?"-mr-2 ml-1 mt-1":""),children:d(b,{type:r.type,iconName:r.iconName,size:"2x"})})]}):r&&r.iconName!="no-icon-error"?k("div",{className:"flex flex-col gap-4",children:[D(r)&&d("div",{className:l("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",e==="outline"||e==="light"?"text-accent":""),children:d(b,{type:r.type,iconName:r.iconName,size:"4x"})}),d("h3",{className:l("font-normal",e==="outline"||e==="light"?"text-2xl text-primary":"text-3xl text-white"),children:t})]}):d("div",{className:"flex items-center gap-4 mb-2",children:d("div",{className:l("font-regular",e==="outline"||e==="light"?"text-2xl text-primary":"text-3xl"),children:t})});import{jsx as c,jsxs as B}from"react/jsx-runtime";function z(r){return r&&typeof r=="object"&&"type"in r&&"iconName"in r}function ke({variant:r="outline",className:t,icon:e,iconSize:n="large",width:i="auto",order:a=0,heading:o,subheading:u,content:m,statistic:g,buttonText:N,buttonHref:E}){let H={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:""},j={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return B("div",{className:l("rounded-3xl p-8 md:p-8 min-w-56 flex flex-col group",H[r],r==="outline"?"text-gray-900":"text-white",t,j[i],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${a+1}00`),children:[c("div",{className:"flex items-center gap-4 mb-2",children:c(V,{icon:e,heading:o,variant:r,iconSize:n})}),g&&c("div",{className:"mb-6",children:c("div",{className:l("text-4xl text-wrap font-bold leading-none overflow-hidden",r==="outline"||r==="light"?"text-primary":"text-white"),children:g})}),u&&c("div",{className:"mb-4 text-xl md:text-2xl font-light",children:u}),m&&typeof m=="object"&&c("div",{className:l("space-y-6"),children:c(f,{enableGutter:!1,content:m,enableProse:!1,className:l(r==="outline"||r==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100")})}),m&&typeof m=="string"&&c("div",{className:l("space-y-6",r==="outline"||r==="light"?"text-gray-900":"text-gray-100"),children:m}),N&&c("div",{className:"mt-auto pt-6 flex items-center justify-center",children:c(P,{size:"lg",className:"text-white text-lg rounded-xl w-full mt-auto items-center justify-center",asChild:!0,children:c("a",{href:E,children:N})})}),r==="radial"&&c("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})}var V=({icon:r,heading:t,variant:e,iconSize:n})=>r&&n==="small"?B("div",{className:"flex items-start gap-4 mb-2",children:[z(r)&&c("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",e==="outline"||e==="light"?"text-primary":"text-white",n==="small"?"mt-2":""),children:c(b,{type:r.type,iconName:r.iconName,size:"2x"})}),c("div",{className:l("font-semibold",e==="outline"||e==="light"?"text-primary":"text-white",n==="small"?"text-2xl":"text-3xl"),children:t})]}):r?B("div",{className:"flex flex-col gap-4",children:[z(r)&&c("div",{className:l("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",e==="outline"||e==="light"?"text-accent":""),children:c(b,{type:r.type,iconName:r.iconName,size:"4x"})}),c("h3",{className:l("font-semibold",e==="outline"||e==="light"?"text-2xl text-primary":"text-3xl"),children:t})]}):c("div",{className:"flex items-center gap-4 mb-2",children:c("div",{className:l("font-semibold",e==="outline"||e==="light"?"text-2xl text-primary":"text-3xl"),children:t})});import{jsx as x,jsxs as A}from"react/jsx-runtime";var M=({title:r,description:t,features:e,id:n,nested:i=!1})=>A("section",{className:l(i?"w-full":"",""),children:[A("div",{className:"prose prose:max-w-none",children:[r&&x("h2",{className:"mb-6 mt-0 text-primary",id:n||"",children:r}),t&&typeof t=="string"&&x("p",{className:"mb-5 text-foreground",children:t}),t&&typeof t=="object"&&x("div",{className:"mb-5 text-foreground",children:x(f,{content:t,enableGutter:!1})})]}),x("div",{className:`grid gap-6 mt-6 md:grid-cols-${e?e.length>2?2:e.length:1} lg:grid-cols-${e?e.length>3?3:e.length:1}`,children:e&&e.map((a,o)=>{let u=()=>{if(a.icon&&"type"in a.icon&&a.icon.type!=="none")return{type:a.icon.type,icon:a.icon.icon}};return x(w,{title:a.title||"",content:a.content||void 0,statistic:a.statistic||void 0,settings:{...a.settings,width:"auto",order:o},link:a.link?{...a.link,label:"Learn more"}:void 0,icon:u()??{type:"none",icon:null}},o)})})]});import W,{Fragment as Y}from"react";import{jsx as s}from"react/jsx-runtime";function h({nodes:r}){return s(Y,{children:r?.map((t,e)=>{if(t==null)return null;if(t.type==="text"&&t.text){let a=s(W.Fragment,{children:t.text},e);return t.format&1&&(a=s("strong",{children:a},e)),t.format&2&&(a=s("em",{children:a},e)),t.format&4&&(a=s("span",{style:{textDecoration:"line-through"},children:a},e)),t.format&8&&(a=s("span",{style:{textDecoration:"underline"},children:a},e)),t.format&16&&(a=s("code",{children:t.text},e)),t.format&32&&(a=s("sub",{children:a},e)),t.format&64&&(a=s("sup",{children:a},e)),a}if(t.type==="table")return s("table",{children:s("tbody",{children:t.children.map((a,o)=>s("tr",{children:a.children.map((u,m)=>s("td",{children:h({nodes:u.children})},m))},o))})},e);let n=a=>{if(a.children==null)return null;if(a?.type==="list"&&a?.listType==="check")for(let o of a.children)"checked"in o&&(o?.checked||(o.checked=!1));return h({nodes:a.children})},i="children"in t?n(t):"";if(t.type==="block"){let a=t.fields,o=a?.blockType;if(!a||!o)return null;switch(o){case"cta":return s(F,{...a},e);case"mediaBlock":return s(S,{className:"col-start-1 col-span-3",imgClassName:"m-0",...a,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},e);case"imageBlock":return s(R,{className:"col-start-1 col-span-3",imgClassName:"m-0",...a,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},e);case"banner":return s(L,{className:"col-start-2 mb-4",...a},e);case"code":return s(I,{className:"col-start-2",...a},e);case"features":return s(M,{...a,nested:!0},e);case"reusableContentBlock":h({nodes:a.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return s("br",{className:"col-start-2"},e);case"paragraph":return s("p",{className:"col-start-2",children:i},e);case"heading":{let a=t?.tag;return s(a,{className:"col-start-2",id:t?.id||"",children:i},e)}case"list":{let a=t?.tag;return s(a,{className:"list col-start-2",children:i},e)}case"listitem":return t?.checked!=null?s("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t?.value,children:i},e):s("li",{value:t?.value,children:i},e);case"quote":return s("blockquote",{className:"col-start-2",children:i},e);case"link":{let a=t.fields;return s(y,{newTab:!!a?.newTab,reference:a.doc,type:a.linkType==="internal"?"reference":"custom",url:a.url,children:i},e)}case"autolink":{let a=t.fields;return s(y,{newTab:!!a?.newTab,reference:a.doc,type:a.linkType==="internal"?"reference":"custom",url:a.url,children:i},e)}default:return null}})})}import{jsx as Z}from"react/jsx-runtime";var f=({className:r,content:t,enableGutter:e=!0,enableProse:n=!0})=>t?Z("div",{className:l({"container ":e,"max-w-none":!e,"mx-auto prose":n},r),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&h({nodes:t?.root?.children})}):null;import{jsx as C}from"react/jsx-runtime";var L=({className:r,content:t,style:e})=>C("div",{className:l("mx-auto my-8 w-full",r),children:C("div",{className:l("border py-3 px-6 flex items-center rounded",{"border-border bg-card":e==="info","border-error bg-error/30":e==="error","border-success bg-success/30":e==="success","border-warning bg-warning/30":e==="warning"}),children:C(f,{content:t,enableGutter:!1,enableProse:!1})})});export{L as a,se as b,F as c,M as d,h as e,f,w as g,ke as h};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as i,b as s,c as l,e as o}from"./chunk-YO3GQYRJ.mjs";import{b as t}from"./chunk-ZUA4KNIR.mjs";import{Bot as u,ChevronLeft as g,Copy as d,Plus as v,Sparkles as m}from"lucide-react";import{motion as r,AnimatePresence as f}from"framer-motion";import{jsx as e,jsxs as a}from"react/jsx-runtime";function w({onCloneExisting:n,onCreateNew:c,onCancel:p}){return e("div",{className:"px-2 md:px-4 py-4 space-y-6",children:e(f,{mode:"wait",children:a(r.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},children:[a("div",{className:"flex items-center gap-4 mb-6",children:[a(t,{variant:"ghost",onClick:p,className:"gap-2",children:[e(g,{className:"h-4 w-4"}),"Back"]}),a("div",{children:[e("h1",{className:"text-3xl font-bold",children:"Add Digital Colleague"}),e("p",{className:"text-muted-foreground",children:"Choose how to create your digital colleague"})]})]}),a("div",{className:"grid gap-6 md:grid-cols-2 max-w-4xl mx-auto",children:[e(r.div,{whileHover:{scale:1.02},whileTap:{scale:.98},transition:{type:"spring",stiffness:300,damping:20},children:a(i,{className:"cursor-pointer transition-all hover:shadow-lg border-2 hover:border-primary/50",onClick:n,children:[a(s,{className:"text-center pb-4",children:[e("div",{className:"mx-auto w-16 h-16 bg-blue-100 rounded-full flex items-center justify-center mb-4",children:e(d,{className:"h-8 w-8 text-blue-600"})}),e(l,{className:"text-xl",children:"Clone Existing"})]}),a(o,{className:"text-center",children:[e("p",{className:"text-muted-foreground mb-4",children:"Start with an existing digital colleague and customize it for your needs."}),a("div",{className:"space-y-2 text-sm",children:[a("div",{className:"flex items-center gap-2 justify-center",children:[e(u,{className:"h-4 w-4 text-blue-600"}),e("span",{children:"Pre-configured capabilities"})]}),a("div",{className:"flex items-center gap-2 justify-center",children:[e(d,{className:"h-4 w-4 text-blue-600"}),e("span",{children:"Inherit knowledge base"})]})]}),e(t,{className:"mt-6 w-full",onClick:n,children:"Browse & Clone"})]})]})}),e(r.div,{whileHover:{scale:1.02},whileTap:{scale:.98},transition:{type:"spring",stiffness:300,damping:20},children:a(i,{className:"cursor-pointer transition-all hover:shadow-lg border-2 hover:border-primary/50",onClick:c,children:[a(s,{className:"text-center pb-4",children:[e("div",{className:"mx-auto w-16 h-16 bg-green-100 rounded-full flex items-center justify-center mb-4",children:e(m,{className:"h-8 w-8 text-green-600"})}),e(l,{className:"text-xl",children:"Create New"})]}),a(o,{className:"text-center",children:[e("p",{className:"text-muted-foreground mb-4",children:"Build a completely new digital colleague from scratch with custom specifications."}),a("div",{className:"space-y-2 text-sm",children:[a("div",{className:"flex items-center gap-2 justify-center",children:[e(v,{className:"h-4 w-4 text-green-600"}),e("span",{children:"Custom job description"})]}),a("div",{className:"flex items-center gap-2 justify-center",children:[e(m,{className:"h-4 w-4 text-green-600"}),e("span",{children:"Define unique capabilities"})]})]}),e(t,{className:"mt-6 w-full",onClick:c,children:"Create from Scratch"})]})]})})]})]},"digital-colleague-options")})})}export{w as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as ae}from"./chunk-SG5QL77J.mjs";import{a as se}from"./chunk-UDPQ4MXR.mjs";import{a as ie}from"./chunk-VM25PG5R.mjs";import{a as _,b as ee,c as te}from"./chunk-5Z5PL7N3.mjs";import{b as j,d as Z}from"./chunk-Q2DPE66H.mjs";import{a as q}from"./chunk-FT3AE7L2.mjs";import{a as E,c as M}from"./chunk-SOLZ4VQH.mjs";import{a as Y}from"./chunk-YO3GQYRJ.mjs";import{a as Q}from"./chunk-L5JPAKPM.mjs";import{b as y}from"./chunk-ZUA4KNIR.mjs";import{a as W}from"./chunk-MDJREBVI.mjs";import{useState as g}from"react";import{motion as we,AnimatePresence as Ne}from"framer-motion";import{Users as Me}from"lucide-react";import{useRef as ge,useEffect as ue,useState as ne,useCallback as fe}from"react";import{motion as V,AnimatePresence as he}from"framer-motion";import{Send as ye,Bot as X,User as ve,Menu as xe,X as be,Paperclip as Ce}from"lucide-react";import{jsx as e,jsxs as l}from"react/jsx-runtime";function oe({messages:C,input:k,isTyping:w=!1,selectedTeam:S,currentSessionTitle:G,capabilities:p,showCapabilities:N=!0,onInputChange:D,onSendMessage:I,onKeyPress:O,fileUploads:d=[],isDragOver:A=!1,enableFileUpload:B=!1,onFileUpload:z,onRemoveFile:T,onDragOver:r,className:F}){let v=ge(null),[u,x]=ne(!1),[R,P]=ne({path:[],selectedItems:[],filters:{}}),U=()=>{v.current?.scrollIntoView({behavior:"smooth"})};ue(()=>{U()},[C]);let f=(a,s)=>{console.log("Capability action:",a,s);let o=`Executing ${a} with context: ${JSON.stringify(s.path.map(L=>L.name))}`;x(!1)},b=fe(a=>{P(a)},[]),$=()=>Z(R),H=()=>{let a=[];return p.forEach(s=>{s.actions&&s.actions.forEach(o=>{a.push({label:o.label,action:()=>f(o.id,{path:[s],selectedItems:[],filters:{}})})}),s.children&&s.children.forEach(o=>{o.type==="list"&&o.data&&a.push({label:`View ${o.name}`,action:()=>x(!0)})})}),a.slice(0,5)};return l(Y,{className:`h-full flex flex-col shadow-sm ${F||""}`,children:[e(q,{className:"flex-1 p-4",children:l("div",{className:"space-y-4",children:[e(he,{children:C.map(a=>{let s=a;return l(V.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},className:W("flex gap-3",a.type==="user"?"flex-row-reverse":"flex-row"),children:[e(E,{className:"h-8 w-8",children:a.type==="user"?e(M,{children:e(ve,{className:"h-4 w-4"})}):e(M,{className:"bg-gradient-to-br from-purple-600 to-blue-600 text-white",children:e(X,{className:"h-4 w-4"})})}),l("div",{className:W("max-w-[80%] rounded-2xl px-4 py-3 shadow-sm",a.type==="user"?"bg-primary text-primary-foreground":"bg-muted"),children:[s.messageType==="image"&&s.image&&e("div",{className:"mb-2",children:e("img",{src:s.image.url,alt:s.image.alt||"Uploaded image",className:"max-w-full h-auto max-h-48 rounded-lg"})}),s.messageType==="file"&&s.file&&e("div",{className:"mb-2 p-2 bg-background/50 rounded-lg",children:l("div",{className:"flex items-center gap-2",children:[e("span",{className:"text-sm font-medium",children:s.file.name}),l("span",{className:"text-xs opacity-70",children:[(s.file.size/1024/1024).toFixed(1),"MB"]})]})}),s.messageType==="card"&&s.card&&e("div",{className:"mb-2",children:l("div",{className:"p-3 bg-background/50 rounded-lg",children:[e("h4",{className:"font-medium",children:s.card.title}),s.card.description&&e("p",{className:"text-sm opacity-70 mt-1",children:s.card.description})]})}),s.messageType==="reference"&&s.references&&e("div",{className:"mb-2 space-y-1",children:s.references.map(o=>l("div",{className:"p-2 bg-background/50 rounded-lg",children:[e("p",{className:"text-sm font-medium",children:o.title}),o.description&&e("p",{className:"text-xs opacity-70",children:o.description})]},o.id))}),s.messageType==="menu"&&s.menu&&l("div",{className:"mb-2",children:[e("p",{className:"text-sm font-medium mb-2",children:s.menu.title}),e("div",{className:"space-y-1",children:s.menu.items.map(o=>l("button",{onClick:o.action,className:"w-full text-left p-2 bg-background/50 rounded-lg hover:bg-background/70 transition-colors",children:[e("p",{className:"text-sm font-medium",children:o.label}),o.description&&e("p",{className:"text-xs opacity-70",children:o.description})]},o.id))})]}),e("p",{className:"text-sm leading-relaxed",children:a.content}),e("p",{className:"text-xs opacity-70 mt-2",children:a.timestamp.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})})]})]},a.id)})}),N&&u&&l(V.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},className:"flex gap-3",children:[e(E,{className:"h-8 w-8",children:e(M,{className:"bg-gradient-to-br from-purple-600 to-blue-600 text-white",children:e(X,{className:"h-4 w-4"})})}),e("div",{className:"flex-1 bg-muted rounded-2xl px-4 py-3 shadow-sm",children:e(ie,{capabilities:p,isOpen:u,onToggle:()=>x(!u),onActionSelect:f,onContextChange:b,className:"w-full"})})]}),w&&l(V.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},className:"flex gap-3",children:[e(E,{className:"h-8 w-8",children:e(M,{className:"bg-gradient-to-br from-purple-600 to-blue-600 text-white",children:e(X,{className:"h-4 w-4"})})}),e("div",{className:"bg-muted rounded-2xl px-4 py-3 shadow-sm",children:l("div",{className:"flex space-x-1",children:[e("div",{className:"w-2 h-2 bg-muted-foreground/50 rounded-full animate-bounce"}),e("div",{className:"w-2 h-2 bg-muted-foreground/50 rounded-full animate-bounce",style:{animationDelay:"0.1s"}}),e("div",{className:"w-2 h-2 bg-muted-foreground/50 rounded-full animate-bounce",style:{animationDelay:"0.2s"}})]})})]}),e("div",{ref:v})]})}),d&&d.length>0&&e("div",{className:"border-t p-4 bg-muted/10",children:e("div",{className:"flex flex-wrap gap-2",children:d.map(a=>l("div",{className:"flex items-center gap-2 bg-background rounded-lg p-2 border",children:[e("span",{className:"text-sm font-medium",children:a.file.name}),l("span",{className:"text-xs text-muted-foreground",children:[(a.file.size/1024/1024).toFixed(1),"MB"]}),e(y,{variant:"ghost",size:"sm",onClick:()=>T?.(a.id),className:"h-6 w-6 p-0",children:e(be,{className:"h-4 w-4"})})]},a.id))})}),l("div",{className:"border-t p-4 bg-muted/20",children:[l("div",{className:"flex gap-3",children:[e(Q,{value:k,onChange:a=>D(a.target.value),onKeyPress:O,placeholder:S?`Ask me about ${S.name.toLowerCase()}...`:"How can I help you today?",className:"flex-1 rounded-2xl bg-background shadow-sm",disabled:w}),B&&e(y,{variant:"outline",size:"icon",onClick:()=>{let a=document.createElement("input");a.type="file",a.multiple=!0,a.onchange=s=>{let o=s.target.files;z?.(o)},a.click()},className:"rounded-2xl h-10 w-10 shadow-sm",children:e(Ce,{className:"h-4 w-4"})}),e(y,{onClick:I,disabled:!k.trim()&&(!d||d.length===0)||w,size:"icon",className:"rounded-2xl h-10 w-10 shadow-sm",children:e(ye,{className:"h-4 w-4"})})]}),N&&l("div",{className:"flex items-center gap-3 mt-3",children:[l(y,{onClick:()=>x(!u),variant:"outline",size:"sm",className:"rounded-full text-xs flex-shrink-0",children:[e(xe,{className:"h-3 w-3 mr-1"}),u?"Hide":"Show"," Capabilities"]}),l("div",{className:"flex flex-wrap gap-2 overflow-hidden",children:[$().map((a,s)=>e(y,{variant:"default",size:"sm",className:"rounded-full text-xs bg-accent hover:bg-accent/80",onClick:()=>f(a.id,R),children:a.label},`context-${a.id}`)),$().length===0&&H().map((a,s)=>e(y,{variant:"outline",size:"sm",className:"rounded-full text-xs",onClick:a.action,children:a.label},`suggestion-${s}`))]})]})]})]})}import{jsx as h,jsxs as De}from"react/jsx-runtime";var ke=[{id:"1",title:"Logo Design Review",lastMessage:"The color palette looks great! Let's refine the typography...",timestamp:new Date(Date.now()-1e3*60*30),teamId:"design"},{id:"2",title:"React Component Optimization",lastMessage:"Here's how you can improve the performance of your component...",timestamp:new Date(Date.now()-1e3*60*60*2),teamId:"engineering"},{id:"3",title:"Campaign Strategy Discussion",lastMessage:"The target audience analysis shows promising results...",timestamp:new Date(Date.now()-1e3*60*60*24),teamId:"marketing"},{id:"4",title:"Product Roadmap Planning",lastMessage:"Based on user feedback, I recommend prioritizing...",timestamp:new Date(Date.now()-1e3*60*60*24*2),teamId:"product"}];function Se({initialTeam:C="design",initialMessages:k,initialSessions:w,showCapabilities:S=!0,title:G="Digital Colleagues",businessUnits:p=te,enableFileUpload:N=!0,maxFileSize:D=10,allowedFileTypes:I=["image/*","text/*","application/pdf","application/msword","application/vnd.openxmlformats-officedocument.wordprocessingml.document"]}={}){let[O,d]=g(k||[{id:"1",role:"assistant",type:"text",content:"Hi! I'm your AI assistant with advanced capabilities. I can help with various tasks, access data, and provide contextual actions. What would you like to work on today?",timestamp:new Date}]),[A,B]=g(""),[z,T]=g(!1),[r,F]=g(p.find(t=>t.id===C)||p[0]),[v,u]=g(null),[x,R]=g(w||ke),[P,U]=g(p.find(t=>t.id===C)||p[0]),[f,b]=g([]),[$,H]=g(!1),a=t=>{if(!t||!N)return;let i=[];Array.from(t).forEach(n=>{if(n.size>D*1024*1024){alert(`File ${n.name} is too large. Maximum size is ${D}MB.`);return}if(I.length>0&&!I.some(m=>n.type.match(m))){alert(`File type ${n.type} is not allowed.`);return}let c={id:Date.now().toString()+Math.random().toString(36).substr(2,9),file:n,status:"pending",progress:0};if(n.type.startsWith("image/")){let m=new FileReader;m.onload=de=>{b(pe=>pe.map(K=>K.id===c.id?{...K,preview:de.target?.result}:K))},m.readAsDataURL(n)}i.push(c)}),b(n=>[...n,...i])},s=t=>{b(i=>i.filter(n=>n.id!==t))},o=O.map(t=>({id:t.id,content:t.content,type:t.role==="user"?"user":"ai",timestamp:t.timestamp,role:t.role,messageType:t.type,data:t.data,image:t.image,file:t.file,card:t.card,references:t.references,menu:t.menu})),L=async()=>{if(!A.trim()&&f.length===0)return;let t={id:Date.now().toString(),role:"user",type:"text",content:A,timestamp:new Date};d(i=>[...i,t]),f.length>0&&f.forEach(i=>{if(i.file.type.startsWith("image/")){let n={id:Date.now().toString()+Math.random().toString(36).substr(2,9),role:"user",type:"image",content:`Uploaded image: ${i.file.name}`,image:{url:i.preview||"",alt:i.file.name,width:0,height:0},timestamp:new Date};d(c=>[...c,n])}else{let n={id:Date.now().toString()+Math.random().toString(36).substr(2,9),role:"user",type:"file",content:`Uploaded file: ${i.file.name}`,file:{name:i.file.name,size:i.file.size,type:i.file.type,url:URL.createObjectURL(i.file)},timestamp:new Date};d(c=>[...c,n])}}),B(""),b([]),T(!0),setTimeout(()=>{let i=j.filter(c=>c.name.toLowerCase().includes(r.name.toLowerCase())||r.name.toLowerCase().includes(c.name.toLowerCase())),n=Math.random();if(n<.3){let c={id:(Date.now()+1).toString(),role:"assistant",type:"text",content:`I can help you with ${r.name.toLowerCase()} tasks. Here are some capabilities I have: ${i.map(m=>m.name).join(", ")}`,timestamp:new Date};d(m=>[...m,c])}else if(n<.5){let c={id:(Date.now()+1).toString(),role:"assistant",type:"card",content:`Here's a ${r.name.toLowerCase()} task I created for you:`,card:{title:`${r.name} Task`,description:`A new task for ${r.name.toLowerCase()} team`,variant:"task",data:{id:Math.floor(Math.random()*1e3),name:`${r.name} Task`,description:`Complete this ${r.name.toLowerCase()} task`,status:"todo",dateLogged:new Date().toISOString(),project:{id:1,name:`${r.name} Project`}}},timestamp:new Date};d(m=>[...m,c])}else if(n<.7){let c={id:(Date.now()+1).toString(),role:"assistant",type:"menu",content:`Here are some ${r.name.toLowerCase()} options:`,menu:{title:`${r.name} Options`,items:i.slice(0,3).map(m=>({id:m.id,label:m.name,description:m.description,value:m.id}))},timestamp:new Date};d(m=>[...m,c])}else{let c={id:(Date.now()+1).toString(),role:"assistant",type:"reference",content:`Here are some helpful ${r.name.toLowerCase()} resources:`,references:[{id:"1",title:`${r.name} Best Practices`,description:`Guidelines for ${r.name.toLowerCase()} work`,type:"document"},{id:"2",title:`${r.name} Tools`,description:`Recommended tools for ${r.name.toLowerCase()}`,type:"link"}],timestamp:new Date};d(m=>[...m,c])}T(!1)},1500)},re=t=>{t.key==="Enter"&&!t.shiftKey&&(t.preventDefault(),L())},J=()=>{u(null),d([{id:"1",role:"assistant",type:"text",content:`Hi! I'm your ${r.name} AI assistant with advanced capabilities. I can help with ${r.name.toLowerCase()} tasks, access relevant data, and provide contextual actions. What would you like to work on today?`,timestamp:new Date}])},le=t=>{u(t);let i=p.find(n=>n.id===t.teamId)||p[0];F(i),U(i),d([{id:"1",role:"assistant",type:"text",content:t.lastMessage,timestamp:t.timestamp}])},me=t=>{R(i=>i.filter(n=>n.id!==t)),v?.id===t&&J()},ce=t=>{console.log("Edit session:",t)};return h(ae,{sidebarItems:_,title:G,notifications:ee,businessUnits:p,currentBusinessUnit:P,onBusinessUnitChange:t=>{U(t),F(t),console.log("Business unit changed to:",t.name)},showTabs:!1,onActionClick:()=>{console.log("Copilot clicked from header")},actionIcon:h(Me,{className:"mr-2 h-4 w-4"}),actionText:"Collaborate",onNotificationRemove:t=>{console.log("Notification removed:",t)},onRemoveAll:()=>{console.log("All notifications removed")},logo:"/headerlogo.png",appName:"Nuvia",tagline:"AI-Powered Workspace",children:h(Ne,{mode:"wait",children:h(we.div,{className:"flex-1 h-full",initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},children:De("div",{className:"h-full flex",children:[h("div",{className:"w-80 bg-muted/50 flex-shrink-0 h-full p-2",children:h(se,{sessions:x,currentSession:v,teams:p,onNewChat:J,onSessionSelect:le,onSessionEdit:ce,onSessionDelete:me})}),h("div",{className:"flex-1 h-full p-2",children:h(oe,{messages:o,input:A,isTyping:z,selectedTeam:r,currentSessionTitle:v?.title,capabilities:j,showCapabilities:S,onInputChange:B,onSendMessage:L,onKeyPress:re,fileUploads:f,isDragOver:$,enableFileUpload:N,onFileUpload:a,onRemoveFile:s,onDragOver:H})})]})},"chat-interface")})})}export{Se as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as r,b as i,c as m,d as l,e as n,f as o}from"./chunk-YO3GQYRJ.mjs";import{b as t}from"./chunk-ZUA4KNIR.mjs";import{motion as p}from"framer-motion";import{Users as u,Bot as f,FolderOpen as v}from"lucide-react";import{jsx as e,jsxs as a}from"react/jsx-runtime";function y({team:s,onOpen:d,className:c}){return e(p.div,{whileHover:{scale:1.02,y:-5},whileTap:{scale:.98},className:c,children:a(r,{className:"overflow-hidden rounded-3xl border hover:border-primary/50 transition-all duration-300",children:[a(i,{children:[e(m,{className:"text-lg",children:s.name}),e(l,{className:"mt-1 text-sm",children:s.description})]}),a(n,{className:"space-y-4",children:[a("div",{className:"grid grid-cols-2 gap-4",children:[a("div",{className:"flex items-center justify-between text-sm",children:[a("div",{className:"flex items-center gap-2",children:[e(u,{className:"h-4 w-4 text-blue-500"}),e("span",{children:"Human"})]}),e("span",{className:"font-medium",children:s.humanColleagues})]}),a("div",{className:"flex items-center justify-between text-sm",children:[a("div",{className:"flex items-center gap-2",children:[e(f,{className:"h-4 w-4 text-purple-500"}),e("span",{children:"Digital"})]}),e("span",{className:"font-medium",children:s.digitalColleagues})]})]}),a("div",{className:"flex items-center justify-between text-sm border-t pt-4",children:[a("div",{className:"flex items-center gap-2",children:[e(v,{className:"h-4 w-4 text-green-500"}),e("span",{children:"Projects"})]}),e("span",{className:"font-medium",children:s.projects})]})]}),e(o,{className:"flex gap-2",children:e(t,{variant:"secondary",className:"flex-1 rounded-2xl",onClick:()=>d?.(s),children:"View Team"})})]})})}export{y as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as m}from"./chunk-BZAYEKYC.mjs";import{a as p}from"./chunk-WU3JMLSC.mjs";import{a as n}from"./chunk-BPTRLIWH.mjs";import{d as r}from"./chunk-DYHW653F.mjs";import{a as s}from"./chunk-22LHS2J6.mjs";import{a}from"./chunk-75WE6ZXB.mjs";import{a as i}from"./chunk-6C4WESLL.mjs";import{a as t}from"./chunk-Q3G5UAAD.mjs";import{Observer as c}from"tailwindcss-intersect";import{useEffect as d}from"react";import{jsx as o,jsxs as h}from"react/jsx-runtime";function g({...e}){let f=e.page,{contentWithIds:l,tableOfContents:y}=t(f);return d(()=>{c.start()},[]),h("div",{className:"relative overflow-none scroll-smooth snap-y snap-mandatory overscroll-contain",children:[o(a,{isMenuOpen:!0,logoLight:m,logoDark:p,wide:!0}),o("div",{children:o(n,{...e.hero})}),e.hero&&e.related&&o(s,{menuItems:e.related,dark:e.hero.type!=="highImpact",wide:!0}),o(r,{blocks:l}),o(i,{...e.footer})]})}export{g as a};
|
|
@@ -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 m}from"./chunk-PDY7JYY3.mjs";import{a as i}from"./chunk-WUA65ZZB.mjs";import{a as r}from"./chunk-MDJREBVI.mjs";import{jsx as n,jsxs as d}from"react/jsx-runtime";function u({isMenuOpen:e,logoLight:o,logoDark:t,menuItems:a,className:p,wide:l,themeControl:s=!1}){return d("div",{className:r("fixed top-0 left-0 right-0 z-50",p),children:[n(i,{isMenuOpen:e,logoLight:o,logoDark:t,menuItems:a,themeControl:s,wide:l}),n(m,{isMenuOpen:e,logoLight:o,logoDark:t,menuItems:a})]})}export{u 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 @@
|
|
|
1
|
+
import{f as u}from"./chunk-6LZRVGXZ.mjs";import{a as m}from"./chunk-2QZUKVBA.mjs";import{a as d}from"./chunk-MDJREBVI.mjs";import{jsx as r,jsxs as h}from"react/jsx-runtime";var B=g=>{let{columns:a,theme:i}=g,y={full:"12",half:"6",oneThird:"4",twoThirds:"8"},b={none:"",line:"border border-primary p-4 rounded-lg"},c=e=>{if(e.type&&e.type==="block"&&e.fields&&(e.fields.blockType==="imageBlock"||e.fields.blockType==="mediaBlock"))return!0;if(e.root&&e.root.children){for(let o of e.root.children)if(c(o))return!0}if(e.children){for(let o of e.children)if(c(o))return!0}return!1},k=(e,o,n)=>{if(o==="none"||n==="full")return{processedRichText:e,heading:null};let l=e,t=null;return e&&e.root&&e.root.children&&e.root.children[0].tag==="h2"&&(l={...e,root:{...e.root,children:e.root.children.slice(1)}},t=e.root.children[0]),{processedRichText:l,heading:t}};return r("div",{className:"my-6",children:r("div",{className:d("grid grid-cols-4 lg:grid-cols-12 gap-y-8",i?.settings?.box?"gap-x-8":"gap-x-16"),children:a&&a.length>0&&a.map((e,o)=>{let{enableLink:n,link:l,richText:t,size:s}=e,{processedRichText:p,heading:f}=k(t,i?.settings?.box||"none",s||"full");return h("div",{className:d(`col-span-4 lg:col-span-${y[s]}`,{"md:col-span-2":s!=="full"},b[s!=="full"&&!c(t)&&i?.settings?.box||"none"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${o+1}00`),children:[f&&r("div",{className:"bg-primary text-primary-foreground mb-4 -mt-4 -mx-4 px-4 py-2 text-xl",children:f.children[0].text}),p&&r(u,{content:p,enableGutter:!1,className:"rich-text"}),n&&r(m,{...l})]},o)})})})};export{B as a};
|
|
@@ -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 @@
|
|
|
1
|
+
var N="./cortex-reply-light-27IMI3G7.png";var c="./cortex-reply-dark-XPAJJJYY.png";export{N as a,c as b};
|
|
@@ -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 @@
|
|
|
1
|
+
var $="./image-hero1-V6MPFDQ6.webp";export{$ 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{c as d}from"./chunk-YNNW2C2U.mjs";import n from"next/image";import{jsx as e,jsxs as t}from"react/jsx-runtime";function b({blogs:a,base:r}){return e("div",{children:a&&a.length>0&&e("div",{className:"grid gap-10 lg:gap-10 md:grid-cols-2",children:a.map((i,l)=>e(c,{post:i,id:l,base:r},l))})})}var c=({post:a,id:r,base:i})=>{let{slug:l,meta:m,authors:o,categories:p,title:u,publishedAt:v}=a;return t("article",{className:"relative isolate flex flex-col gap-8 lg:flex-row",children:[t("div",{className:"relative aspect-video sm:aspect-[2/1] lg:aspect-square lg:w-64 lg:shrink-0",children:[e(n,{src:m?.image?.url||"/assets/images/brand/cortex-reply-gradient.png",alt:m?.image?.alt||"Post image",width:850,height:575,sizes:"100vw",className:"absolute inset-0 size-full rounded-2xl bg-gray-50 object-cover"}),e("div",{className:"absolute inset-0 rounded-2xl ring-1 ring-inset ring-gray-900/10"})]}),t("div",{children:[t("div",{className:"flex flex-wrap items-center gap-x-4 text-xs",children:[e("time",{dateTime:a.publishedAt??void 0,className:"text-foreground",children:d(a.publishedAt??"")}),a.categories&&a.categories.map((s,g)=>e("a",{href:`#${s}`,className:"relative z-10 rounded-full bg-gray-50 px-3 py-1.5 font-medium text-gray-600 hover:bg-gray-100",children:s.title},g))]}),e("div",{className:"group relative max-w-xl",children:e("h3",{className:"mt-3 text-lg/6 font-semibold text-accent group-hover:text-xl/6",children:t("a",{href:`/${i}/${a.slug}`||"#",children:[e("span",{className:"absolute inset-0"}),a.title]})})}),e("div",{className:"mt-6 flex flex-wrap lg:border-t gap-y-2 border-gray-200 dark:border-gray-700 pt-6",children:o&&o.map((s,g)=>t("div",{className:"relative flex items-center gap-x-4",children:[s.profilePicture?e("img",{alt:s.name||"Author",src:s.profilePicture?.url||"/assets/images/placeholder.jpg",className:"size-10 rounded-full bg-gray-50"}):e("div",{className:"size-10 rounded-full bg-gray-50"})," ",e("div",{className:"text-sm/6",children:t("p",{className:"text-foreground pr-6",children:[e("span",{className:"absolute inset-0"}),s.name]})})]},g))})]})]},r)};export{b as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as g}from"./chunk-7EXAS7HK.mjs";import{a as v}from"./chunk-N25B5TQ5.mjs";import{a as y}from"./chunk-5AWZJAK3.mjs";import{a as f}from"./chunk-IN55EBPV.mjs";import{useState as N}from"react";import{ChevronDown as q}from"lucide-react";import{CalendarDays as P,Grid as R,PlusCircle as k,CheckSquare as A}from"lucide-react";import{useRouter as V}from"next/navigation";import{format as S,parseISO as H}from"date-fns";import{jsx as r,jsxs as t}from"react/jsx-runtime";function b(...s){return s.filter(Boolean).join(" ")}function z({holidays:s,currentUser:o,currentDate:h,leaveApprovals:w,employees:x,submitLeaveRequest:n,approveLeave:i,rejectLeave:m}){let[a,c]=N("Calendar View"),L=V(),C=!1,d=H(h),l=async e=>{let D=S(e,"dd-MM-yyyy"),p=new URL(window.location.href);return p.searchParams.set("date",D),L.push(p.toString()),{success:!0}};if(C)return r("div",{className:"flex justify-center items-center h-screen",children:r("div",{className:"animate-spin rounded-full h-32 w-32 border-t-2 border-b-2 border-gray-900"})});let u=[{name:"Grid View",icon:R,current:a==="Grid View"},{name:"Calendar View",icon:P,current:a==="Calendar View"},{name:"Request Leave",icon:k,current:a==="Request Leave"},{name:"Approve Leave",icon:A,current:a==="Approve Leave"}];return t("div",{className:"container mx-auto p-4 h-full",children:[t("div",{className:"mb-8",children:[t("div",{className:"sm:hidden",children:[r("select",{value:a,onChange:e=>c(e.target.value),className:"block w-full rounded-md border-gray-300 py-2 pl-3 pr-10 text-base focus:border-indigo-500 focus:outline-none focus:ring-indigo-500 sm:text-sm",children:u.map(e=>r("option",{children:e.name},e.name))}),r(q,{className:"pointer-events-none absolute right-3 top-3 h-5 w-5 text-gray-400","aria-hidden":"true"})]}),r("div",{className:"hidden sm:block",children:r("div",{className:"border-b border-gray-200",children:r("nav",{className:"-mb-px flex space-x-8","aria-label":"Tabs",children:u.map(e=>t("a",{onClick:()=>{(e.name!=="Approve Leave"||o.grade==="Manager"||o.grade==="Senior Manager"||o.grade==="Partner")&&c(e.name)},className:b(e.current?"border-accent text-accent":"border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700",e.name==="Approve Leave"&&o.grade!=="Manager"&&o.grade!=="Senior Manager"&&o.grade!=="Partner"?"cursor-not-allowed opacity-50":"","group inline-flex items-center border-b-2 py-4 px-1 text-sm font-medium"),"aria-current":e.current?"page":void 0,children:[r(e.icon,{className:b(e.current?"text-accent":"text-gray-400 group-hover:text-gray-500","-ml-0.5 mr-2 h-5 w-5"),"aria-hidden":"true"}),r("span",{children:e.name})]},e.name))})})})]}),a==="Grid View"&&r(f,{currentDate:d,setCurrentDate:l,holidays:s,employees:x}),a==="Calendar View"&&r(y,{currentDate:d,setCurrentDate:l,holidays:s}),a==="Request Leave"&&r(g,{remainingDays:o.remainingLeaveDays,submitLeaveRequest:e=>n?n(e):Promise.resolve({success:!1,message:"Submit leave request function not provided"})}),a==="Approve Leave"&&r(v,{leaveRequests:w,onApprove:e=>i?i(e):Promise.resolve({success:!1,message:"Approve leave request function not provided"}),onReject:e=>m?m(e):Promise.resolve({success:!1,message:"Reject leave request function not provided"})})]})}export{z as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as o}from"./chunk-CSBGSBEU.mjs";import{a as n}from"./chunk-YO3GQYRJ.mjs";import{jsx as r,jsxs as s}from"react/jsx-runtime";var f=({title:d,status:a,taskCount:l,children:m,onDrop:c,isCompact:t=!1})=>{let u=e=>{e.preventDefault()},i=e=>{e.preventDefault(),c(a)};return s(n,{className:`p-4 bg-card border-l-4 ${(()=>{switch(a){case"todo":return"border-l-gray-400";case"in-progress":return"border-l-blue-500";case"review":return"border-l-orange-500";case"done":return"border-l-green-500";default:return"border-l-gray-400"}})()} shadow-sm hover:shadow-md transition-shadow duration-200 ${t?"lg:max-w-xs":""}`,onDragOver:u,onDrop:i,children:[s("div",{className:"flex items-center justify-between mb-4",children:[r("h3",{className:`font-semibold text-foreground select-none-important ${t?"text-base":"text-lg"}`,children:d}),r(o,{variant:"secondary",className:"bg-muted text-muted-foreground",children:l})]}),r("div",{className:"space-y-4 min-h-[200px]",children:m})]})};export{f as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as q}from"./chunk-YVI5URXW.mjs";import{a as y,c as C,d as b,g as x,i as n}from"./chunk-YFAZQYK4.mjs";import{a as M}from"./chunk-B4H6T2GP.mjs";import{a as s}from"./chunk-TVZOULLL.mjs";import{a as E,b as B,f as L,g as F,i as P}from"./chunk-3UMMMQEH.mjs";import{b as H}from"./chunk-CSBGSBEU.mjs";import{a as w,e as U}from"./chunk-YO3GQYRJ.mjs";import{a as v}from"./chunk-L5JPAKPM.mjs";import{b as R}from"./chunk-ZUA4KNIR.mjs";import{useState as I}from"react";import{Plus as z,Clock as W,Calendar as Y,User as G,Repeat as J,Edit2 as K,Trash2 as Q,CheckCircle as X,Circle as Z,Bell as _}from"lucide-react";import{Fragment as se,jsx as e,jsxs as a}from"react/jsx-runtime";var ee=r=>{switch(r){case"high":return"\u{1F534}";case"medium":return"\u{1F7E1}";case"low":return"\u{1F7E2}";default:return"\u26AA"}},te=r=>r.toLocaleDateString("en-US",{weekday:"short",year:"numeric",month:"short",day:"numeric"}),ae=r=>{let[o,g]=r.split(":"),m=new Date;return m.setHours(parseInt(o),parseInt(g)),m.toLocaleTimeString("en-US",{hour:"numeric",minute:"2-digit",hour12:!0})},A=(r,o)=>{let g=new Date,m=new Date(r);if(o){let[u,t]=o.split(":");m.setHours(parseInt(u),parseInt(t))}return m<g},O=r=>{let o=new Date;return r.toDateString()===o.toDateString()},ie=r=>{let o=new Date;return o.setDate(o.getDate()+1),r.toDateString()===o.toDateString()},re=({colleagues:r,onAddReminder:o,trigger:g})=>{let[m,u]=I(!1),[t,d]=I({title:"",description:"",dueDate:"",dueTime:"",colleagueId:"",priority:"medium",isRecurring:!1,recurrencePattern:"weekly",recurrenceInterval:1,reminderEnabled:!0,reminderMinutes:15,tags:""});return a(E,{open:m,onOpenChange:u,children:[e(B,{asChild:!0,children:g}),a(L,{className:"max-w-2xl",children:[e(F,{children:e(P,{children:"Add New Reminder"})}),a("form",{onSubmit:i=>{i.preventDefault();let D=r.find(h=>h.id===t.colleagueId);if(!D)return;let p={title:t.title,description:t.description,dueDate:new Date(t.dueDate),dueTime:t.dueTime||void 0,colleague:D,isCompleted:!1,isRecurring:t.isRecurring,recurrencePattern:t.isRecurring?t.recurrencePattern:void 0,recurrenceInterval:t.isRecurring?t.recurrenceInterval:void 0,priority:t.priority,reminderEnabled:t.reminderEnabled,reminderMinutes:t.reminderEnabled?t.reminderMinutes:void 0,tags:t.tags?t.tags.split(",").map(h=>h.trim()):void 0};o(p),u(!1),d({title:"",description:"",dueDate:"",dueTime:"",colleagueId:"",priority:"medium",isRecurring:!1,recurrencePattern:"weekly",recurrenceInterval:1,reminderEnabled:!0,reminderMinutes:15,tags:""})},className:"space-y-4",children:[a("div",{className:"grid grid-cols-2 gap-4",children:[a("div",{children:[e(s,{htmlFor:"title",children:"Title"}),e(v,{id:"title",value:t.title,onChange:i=>d({...t,title:i.target.value}),placeholder:"Enter reminder title",required:!0})]}),a("div",{children:[e(s,{htmlFor:"priority",children:"Priority"}),a(y,{value:t.priority,onValueChange:i=>d({...t,priority:i}),children:[e(b,{children:e(C,{})}),a(x,{children:[e(n,{value:"low",children:"\u{1F7E2} Low"}),e(n,{value:"medium",children:"\u{1F7E1} Medium"}),e(n,{value:"high",children:"\u{1F534} High"})]})]})]})]}),a("div",{children:[e(s,{htmlFor:"description",children:"Description"}),e(M,{id:"description",value:t.description,onChange:i=>d({...t,description:i.target.value}),placeholder:"Enter reminder description",rows:3})]}),a("div",{className:"grid grid-cols-2 gap-4",children:[a("div",{children:[e(s,{htmlFor:"dueDate",children:"Due Date"}),e(v,{id:"dueDate",type:"date",value:t.dueDate,onChange:i=>d({...t,dueDate:i.target.value}),required:!0})]}),a("div",{children:[e(s,{htmlFor:"dueTime",children:"Due Time (optional)"}),e(v,{id:"dueTime",type:"time",value:t.dueTime,onChange:i=>d({...t,dueTime:i.target.value})})]})]}),a("div",{children:[e(s,{htmlFor:"colleague",children:"Assigned Colleague"}),a(y,{value:t.colleagueId,onValueChange:i=>d({...t,colleagueId:i}),children:[e(b,{children:e(C,{placeholder:"Select a digital colleague"})}),e(x,{children:r.map(i=>e(n,{value:i.id,children:i.name},i.id))})]})]}),a("div",{className:"space-y-2",children:[a("div",{className:"flex items-center space-x-2",children:[e("input",{type:"checkbox",id:"isRecurring",checked:t.isRecurring,onChange:i=>d({...t,isRecurring:i.target.checked}),className:"rounded border-border"}),e(s,{htmlFor:"isRecurring",children:"Make this a recurring reminder"})]}),t.isRecurring&&a("div",{className:"grid grid-cols-2 gap-4 pl-6",children:[a("div",{children:[e(s,{htmlFor:"recurrencePattern",children:"Frequency"}),a(y,{value:t.recurrencePattern,onValueChange:i=>d({...t,recurrencePattern:i}),children:[e(b,{children:e(C,{})}),a(x,{children:[e(n,{value:"daily",children:"Daily"}),e(n,{value:"weekly",children:"Weekly"}),e(n,{value:"monthly",children:"Monthly"}),e(n,{value:"yearly",children:"Yearly"})]})]})]}),a("div",{children:[e(s,{htmlFor:"recurrenceInterval",children:"Every"}),e(v,{id:"recurrenceInterval",type:"number",min:"1",value:t.recurrenceInterval,onChange:i=>d({...t,recurrenceInterval:parseInt(i.target.value)})})]})]})]}),a("div",{className:"space-y-2",children:[a("div",{className:"flex items-center space-x-2",children:[e("input",{type:"checkbox",id:"reminderEnabled",checked:t.reminderEnabled,onChange:i=>d({...t,reminderEnabled:i.target.checked}),className:"rounded border-border"}),e(s,{htmlFor:"reminderEnabled",children:"Enable reminder notifications"})]}),t.reminderEnabled&&a("div",{className:"pl-6",children:[e(s,{htmlFor:"reminderMinutes",children:"Remind me"}),a(y,{value:t.reminderMinutes.toString(),onValueChange:i=>d({...t,reminderMinutes:parseInt(i)}),children:[e(b,{children:e(C,{})}),a(x,{children:[e(n,{value:"5",children:"5 minutes before"}),e(n,{value:"15",children:"15 minutes before"}),e(n,{value:"30",children:"30 minutes before"}),e(n,{value:"60",children:"1 hour before"}),e(n,{value:"1440",children:"1 day before"})]})]})]})]}),a("div",{children:[e(s,{htmlFor:"tags",children:"Tags (comma-separated)"}),e(v,{id:"tags",value:t.tags,onChange:i=>d({...t,tags:i.target.value}),placeholder:"e.g., urgent, meeting, follow-up"})]}),a("div",{className:"flex justify-end space-x-2",children:[e(R,{type:"button",variant:"outline",onClick:()=>u(!1),children:"Cancel"}),e(R,{type:"submit",children:"Add Reminder"})]})]})]})]})},le=({reminder:r,colleagues:o,onUpdateReminder:g,open:m,onClose:u})=>{let[t,d]=I({title:r.title,description:r.description,dueDate:r.dueDate.toISOString().split("T")[0],dueTime:r.dueTime||"",colleagueId:r.colleague.id,priority:r.priority,isRecurring:r.isRecurring,recurrencePattern:r.recurrencePattern||"weekly",recurrenceInterval:r.recurrenceInterval||1,reminderEnabled:r.reminderEnabled,reminderMinutes:r.reminderMinutes||15,tags:r.tags?.join(", ")||""});return e(E,{open:m,onOpenChange:u,children:a(L,{className:"max-w-2xl",children:[e(F,{children:e(P,{children:"Edit Reminder"})}),a("form",{onSubmit:i=>{i.preventDefault();let D=o.find(h=>h.id===t.colleagueId);if(!D)return;let p={title:t.title,description:t.description,dueDate:new Date(t.dueDate),dueTime:t.dueTime||void 0,colleague:D,isRecurring:t.isRecurring,recurrencePattern:t.isRecurring?t.recurrencePattern:void 0,recurrenceInterval:t.isRecurring?t.recurrenceInterval:void 0,priority:t.priority,reminderEnabled:t.reminderEnabled,reminderMinutes:t.reminderEnabled?t.reminderMinutes:void 0,tags:t.tags?t.tags.split(",").map(h=>h.trim()):void 0};g(r.id,p),u()},className:"space-y-4",children:[a("div",{className:"grid grid-cols-2 gap-4",children:[a("div",{children:[e(s,{htmlFor:"edit-title",children:"Title"}),e(v,{id:"edit-title",value:t.title,onChange:i=>d({...t,title:i.target.value}),placeholder:"Enter reminder title",required:!0})]}),a("div",{children:[e(s,{htmlFor:"edit-priority",children:"Priority"}),a(y,{value:t.priority,onValueChange:i=>d({...t,priority:i}),children:[e(b,{children:e(C,{})}),a(x,{children:[e(n,{value:"low",children:"\u{1F7E2} Low"}),e(n,{value:"medium",children:"\u{1F7E1} Medium"}),e(n,{value:"high",children:"\u{1F534} High"})]})]})]})]}),a("div",{children:[e(s,{htmlFor:"edit-description",children:"Description"}),e(M,{id:"edit-description",value:t.description,onChange:i=>d({...t,description:i.target.value}),placeholder:"Enter reminder description",rows:3})]}),a("div",{className:"grid grid-cols-2 gap-4",children:[a("div",{children:[e(s,{htmlFor:"edit-dueDate",children:"Due Date"}),e(v,{id:"edit-dueDate",type:"date",value:t.dueDate,onChange:i=>d({...t,dueDate:i.target.value}),required:!0})]}),a("div",{children:[e(s,{htmlFor:"edit-dueTime",children:"Due Time (optional)"}),e(v,{id:"edit-dueTime",type:"time",value:t.dueTime,onChange:i=>d({...t,dueTime:i.target.value})})]})]}),a("div",{children:[e(s,{htmlFor:"edit-colleague",children:"Assigned Colleague"}),a(y,{value:t.colleagueId,onValueChange:i=>d({...t,colleagueId:i}),children:[e(b,{children:e(C,{placeholder:"Select a digital colleague"})}),e(x,{children:o.map(i=>e(n,{value:i.id,children:i.name},i.id))})]})]}),a("div",{className:"space-y-2",children:[a("div",{className:"flex items-center space-x-2",children:[e("input",{type:"checkbox",id:"edit-isRecurring",checked:t.isRecurring,onChange:i=>d({...t,isRecurring:i.target.checked}),className:"rounded border-border"}),e(s,{htmlFor:"edit-isRecurring",children:"Make this a recurring reminder"})]}),t.isRecurring&&a("div",{className:"grid grid-cols-2 gap-4 pl-6",children:[a("div",{children:[e(s,{htmlFor:"edit-recurrencePattern",children:"Frequency"}),a(y,{value:t.recurrencePattern,onValueChange:i=>d({...t,recurrencePattern:i}),children:[e(b,{children:e(C,{})}),a(x,{children:[e(n,{value:"daily",children:"Daily"}),e(n,{value:"weekly",children:"Weekly"}),e(n,{value:"monthly",children:"Monthly"}),e(n,{value:"yearly",children:"Yearly"})]})]})]}),a("div",{children:[e(s,{htmlFor:"edit-recurrenceInterval",children:"Every"}),e(v,{id:"edit-recurrenceInterval",type:"number",min:"1",value:t.recurrenceInterval,onChange:i=>d({...t,recurrenceInterval:parseInt(i.target.value)})})]})]})]}),a("div",{className:"space-y-2",children:[a("div",{className:"flex items-center space-x-2",children:[e("input",{type:"checkbox",id:"edit-reminderEnabled",checked:t.reminderEnabled,onChange:i=>d({...t,reminderEnabled:i.target.checked}),className:"rounded border-border"}),e(s,{htmlFor:"edit-reminderEnabled",children:"Enable reminder notifications"})]}),t.reminderEnabled&&a("div",{className:"pl-6",children:[e(s,{htmlFor:"edit-reminderMinutes",children:"Remind me"}),a(y,{value:t.reminderMinutes.toString(),onValueChange:i=>d({...t,reminderMinutes:parseInt(i)}),children:[e(b,{children:e(C,{})}),a(x,{children:[e(n,{value:"5",children:"5 minutes before"}),e(n,{value:"15",children:"15 minutes before"}),e(n,{value:"30",children:"30 minutes before"}),e(n,{value:"60",children:"1 hour before"}),e(n,{value:"1440",children:"1 day before"})]})]})]})]}),a("div",{children:[e(s,{htmlFor:"edit-tags",children:"Tags (comma-separated)"}),e(v,{id:"edit-tags",value:t.tags,onChange:i=>d({...t,tags:i.target.value}),placeholder:"e.g., urgent, meeting, follow-up"})]}),a("div",{className:"flex justify-end space-x-2",children:[e(R,{type:"button",variant:"outline",onClick:u,children:"Cancel"}),e(R,{type:"submit",children:"Save Changes"})]})]})]})})},de=({reminder:r,colleagues:o,onUpdateReminder:g,onDeleteReminder:m})=>{let[u,t]=I(!1),d=A(r.dueDate,r.dueTime),T=O(r.dueDate),i=ie(r.dueDate),D=()=>{g(r.id,{isCompleted:!r.isCompleted,completedAt:r.isCompleted?void 0:new Date})},p=()=>T?"Today":i?"Tomorrow":d&&!r.isCompleted?"Overdue":te(r.dueDate);return a(se,{children:[e(le,{reminder:r,colleagues:o,onUpdateReminder:g,open:u,onClose:()=>t(!1)}),e(w,{className:`transition-all duration-200 ${r.isCompleted?"opacity-60":""} ${d&&!r.isCompleted?"border-destructive/50 bg-destructive/5":""}`,children:e(U,{className:"p-4",children:a("div",{className:"flex items-start justify-between",children:[a("div",{className:"flex items-start space-x-3 flex-1",children:[e("button",{onClick:D,className:"mt-1 text-primary hover:text-primary/80",children:r.isCompleted?e(X,{className:"h-5 w-5"}):e(Z,{className:"h-5 w-5"})}),a("div",{className:"flex-1",children:[a("div",{className:"flex items-center space-x-2 mb-1",children:[e("h3",{className:`font-semibold ${r.isCompleted?"line-through text-muted-foreground":""}`,children:r.title}),e("span",{className:"text-sm",children:ee(r.priority)}),r.isRecurring&&e(J,{className:"h-4 w-4 text-primary"}),r.reminderEnabled&&e(_,{className:"h-4 w-4 text-success"})]}),e("p",{className:"text-sm text-muted-foreground mb-2",children:r.description}),a("div",{className:"flex items-center space-x-4 text-sm text-muted-foreground",children:[a("div",{className:"flex items-center space-x-1",children:[e(Y,{className:"h-4 w-4"}),e("span",{className:d&&!r.isCompleted?"text-destructive font-medium":"",children:p()})]}),r.dueTime&&a("div",{className:"flex items-center space-x-1",children:[e(W,{className:"h-4 w-4"}),e("span",{children:ae(r.dueTime)})]}),a("div",{className:"flex items-center space-x-1",children:[e(G,{className:"h-4 w-4"}),e("span",{children:r.colleague.name})]})]}),r.tags&&r.tags.length>0&&e("div",{className:"flex flex-wrap gap-1 mt-2",children:r.tags.map((h,k)=>e(H,{variant:"secondary",className:"text-xs",children:h},k))})]})]}),a("div",{className:"flex items-center space-x-1",children:[e(R,{variant:"ghost",size:"sm",onClick:()=>t(!0),className:"h-8 w-8 p-0",children:e(K,{className:"h-4 w-4"})}),e(R,{variant:"ghost",size:"sm",onClick:()=>m(r.id),className:"h-8 w-8 p-0 text-destructive hover:text-destructive/80",children:e(Q,{className:"h-4 w-4"})})]})]})})})]})},ne=({initialReminders:r=[],initialColleagues:o=[],onAddReminder:g,onUpdateReminder:m,onDeleteReminder:u})=>{let[t,d]=I(r),[T]=I(o),[i,D]=I("all"),[p,h]=I(""),k=l=>{let c={...l,id:Date.now().toString(),createdAt:new Date};d(N=>[...N,c]),g?.(l)},j=(l,c)=>{d(N=>N.map(S=>S.id===l?{...S,...c}:S)),m?.(l,c)},$=l=>{d(c=>c.filter(N=>N.id!==l)),u?.(l)},V=t.filter(l=>{if(p){let c=p.toLowerCase();if(!(l.title.toLowerCase().includes(c)||l.description.toLowerCase().includes(c)||l.colleague.name.toLowerCase().includes(c)||l.tags?.some(S=>S.toLowerCase().includes(c))))return!1}switch(i){case"pending":return!l.isCompleted;case"completed":return l.isCompleted;case"overdue":return!l.isCompleted&&A(l.dueDate,l.dueTime);case"today":return O(l.dueDate);default:return!0}}).sort((l,c)=>{if(l.isCompleted&&!c.isCompleted)return 1;if(!l.isCompleted&&c.isCompleted)return-1;let N={high:3,medium:2,low:1},S=N[c.priority]-N[l.priority];return S!==0?S:l.dueDate.getTime()-c.dueDate.getTime()}),f={total:t.length,pending:t.filter(l=>!l.isCompleted).length,completed:t.filter(l=>l.isCompleted).length,overdue:t.filter(l=>!l.isCompleted&&A(l.dueDate,l.dueTime)).length,today:t.filter(l=>O(l.dueDate)).length};return a("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[e(q,{title:"Task Reminders",description:"Manage reminders and stay on top of important tasks and deadlines.",gradient:"bg-gradient-to-r from-emerald-600 via-teal-600 to-cyan-600",primaryAction:{label:"Add reminder",onClick:()=>{let l={title:"New Reminder",description:"Don't forget to complete this task",dueDate:new Date,dueTime:"09:00",colleague:T[0]||{id:"1",name:"Default Colleague",department:"General",role:"Team Member"},isCompleted:!1,isRecurring:!1,priority:"medium",reminderEnabled:!0,reminderMinutes:15,tags:["reminder"]};k(l)}}}),e("div",{className:"h-full bg-background",children:a("div",{className:"p-6",children:[a("div",{className:"flex items-center justify-between mb-6",children:[a("div",{children:[e("h1",{className:"text-2xl font-bold text-foreground",children:"Task Reminders"}),e("p",{className:"text-muted-foreground",children:"Manage your digital colleague task reminders"})]}),e(re,{colleagues:T,onAddReminder:k,trigger:a(R,{className:"flex items-center space-x-2",children:[e(z,{className:"h-4 w-4"}),e("span",{children:"Add Reminder"})]})})]}),a("div",{className:"grid grid-cols-5 gap-4 mb-6",children:[a(w,{className:"p-4",children:[e("div",{className:"text-2xl font-bold text-foreground",children:f.total}),e("div",{className:"text-sm text-muted-foreground",children:"Total"})]}),a(w,{className:"p-4",children:[e("div",{className:"text-2xl font-bold text-primary",children:f.pending}),e("div",{className:"text-sm text-muted-foreground",children:"Pending"})]}),a(w,{className:"p-4",children:[e("div",{className:"text-2xl font-bold text-success",children:f.completed}),e("div",{className:"text-sm text-muted-foreground",children:"Completed"})]}),a(w,{className:"p-4",children:[e("div",{className:"text-2xl font-bold text-destructive",children:f.overdue}),e("div",{className:"text-sm text-muted-foreground",children:"Overdue"})]}),a(w,{className:"p-4",children:[e("div",{className:"text-2xl font-bold text-warning",children:f.today}),e("div",{className:"text-sm text-muted-foreground",children:"Today"})]})]}),a("div",{className:"flex items-center space-x-4 mb-6",children:[e("div",{className:"flex-1",children:e(v,{placeholder:"Search reminders...",value:p,onChange:l=>h(l.target.value),className:"max-w-md"})}),a(y,{value:i,onValueChange:l=>D(l),children:[e(b,{className:"w-40",children:e(C,{})}),a(x,{children:[a(n,{value:"all",children:["All (",f.total,")"]}),a(n,{value:"pending",children:["Pending (",f.pending,")"]}),a(n,{value:"completed",children:["Completed (",f.completed,")"]}),a(n,{value:"overdue",children:["Overdue (",f.overdue,")"]}),a(n,{value:"today",children:["Today (",f.today,")"]})]})]})]}),e("div",{className:"space-y-4",children:V.length===0?a(w,{className:"p-8 text-center",children:[e("div",{className:"text-muted-foreground",children:p||i!=="all"?"No reminders match your filters":"No reminders yet"}),!p&&i==="all"&&e("p",{className:"text-sm text-muted-foreground/60 mt-2",children:"Create your first reminder to get started"})]}):V.map(l=>e(de,{reminder:l,colleagues:T,onUpdateReminder:j,onDeleteReminder:$},l.id))})]})})]})},Re=ne;export{ne as a,Re as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import t from"clsx";import s from"next/image";import{jsx as l}from"react/jsx-runtime";var n=o=>{let{loading:a,priority:r,className:i}=o;return l(s,{alt:"Payload Logo",width:193,height:34,loading:a||"lazy",fetchPriority:r||"low",decoding:"async",className:t("max-w-[9.375rem] w-full h-[34px]",i),src:"https://raw.githubusercontent.com/payloadcms/payload/main/packages/ui/src/assets/payload-logo-light.svg"})};export{n as a};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import{a as c}from"./chunk-SV7NMNDI.mjs";import{a as d}from"./chunk-C4UPRDGQ.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,3 @@
|
|
|
1
|
+
'use strict'
|
|
2
|
+
|
|
3
|
+
import{a as i,b as m,c as d}from"./chunk-SOLZ4VQH.mjs";import{b as p}from"./chunk-CSBGSBEU.mjs";import{a as v,b as g,c as h,e as w}from"./chunk-YO3GQYRJ.mjs";import{CalendarDays as b,Cake as C,Award as f,PartyPopper as N}from"lucide-react";import{jsx as a,jsxs as e}from"react/jsx-runtime";function k({eventType:r="birthday",date:n="",title:s="",description:o="",avatarSrc:c}){let y=t=>{switch(t){case"birthday":return a(C,{className:"h-4 w-4"});case"workAnniversary":return a(f,{className:"h-4 w-4"});case"companyEvent":return a(N,{className:"h-4 w-4"});default:return a(b,{className:"h-4 w-4"})}},l=t=>{switch(t){case"birthday":return"bg-brand-one";case"workAnniversary":return"bg-brand-two";case"companyEvent":return"bg-brand-three";default:return"from-gray-500 to-slate-500"}};return e(v,{className:`w-full max-w-md overflow-hidden bg-gradient-to-br ${l(r)}`,children:[e(g,{className:"flex flex-row items-center gap-3 text-white",children:[c&&e(i,{className:"h-14 w-14 border-2 border-white",children:[a(m,{src:c,alt:s||"Event"}),a(d,{className:"bg-white text-gray-900",children:s?s.charAt(0).toUpperCase():"?"})]}),e("div",{className:"flex flex-col",children:[a(h,{className:"text-xl",children:s||"Untitled Event"}),e("p",{className:"text-sm text-white/80",children:[a(b,{className:"mr-1 inline-block h-4 w-4"}),n?new Date(n).toLocaleDateString("en-GB"):"Date not specified"]})]})]}),e(w,{className:"bg-white bg-opacity-80 p-4",children:[o&&a("p",{className:"mb-2 text-sm text-gray-700",children:o}),e(p,{variant:"secondary",className:`${l(r)} text-white/80`,children:[y(r),a("span",{className:"ml-1",children:r?r.replace(/([a-z])([A-Z])/g,"$1 $2").split(" ").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(" "):"Event"})]})]})]})}export{k as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as e,b as l,c as r,d as a}from"./chunk-KY7WQYN4.mjs";import{b as t}from"./chunk-ZUA4KNIR.mjs";import{Moon as m,Sun as T}from"lucide-react";import{useTheme as p}from"next-themes";import{jsx as o,jsxs as i}from"react/jsx-runtime";function u(){let{setTheme:s,theme:n}=p();return o(e,{children:i(l,{children:[o(r,{asChild:!0,children:i(t,{variant:"ghost",size:"icon",className:"rounded-2xl",onClick:()=>s(n==="light"?"dark":"light"),children:[o(T,{className:"h-5 w-5 rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0"}),o(m,{className:"absolute h-5 w-5 rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100"}),o("span",{className:"sr-only",children:"Toggle theme"})]})}),o(a,{children:"Toggle theme"})]})})}export{u as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as e}from"./chunk-MDJREBVI.mjs";import*as r from"react";import{jsx as s}from"react/jsx-runtime";var i=r.forwardRef(({className:t,...o},a)=>s("textarea",{className:e("flex min-h-[80px] w-full rounded border border-border bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",t),ref:a,...o}));i.displayName="Textarea";export{i as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as o,e as a}from"./chunk-YO3GQYRJ.mjs";import n from"next/image";import s from"next/link";import{jsx as r,jsxs as l}from"react/jsx-runtime";function c({name:t,logo:e,href:i}){return r(o,{className:"w-full max-w-sm overflow-hidden transition-all duration-300 ring-0 hover:shadow-lg group",children:l(s,{href:i,className:"block",children:[r("div",{className:"bg-white p-2 flex items-center justify-center h-24",children:r("div",{className:"relative w-full h-full",children:e&&r(n,{src:e,alt:`${t} logo`,layout:"fill",objectFit:"contain"})})}),r(a,{className:"p-3 flex items-center justify-center h-18 bg-gradient-to-br from-gray-900 via-brand-one to-gray-900",children:r("p",{className:"font-medium text-lg text-white text-center group-hover:scale-105 transition-transform duration-200 ease-in-out",children:t})})]})})}export{c as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as s,b as i,c as l,e as o}from"./chunk-YO3GQYRJ.mjs";import{b as t}from"./chunk-ZUA4KNIR.mjs";import{User as m,Bot as c,ChevronLeft as v,Users as p}from"lucide-react";import{motion as r,AnimatePresence as g}from"framer-motion";import{jsx as e,jsxs as a}from"react/jsx-runtime";function y({onSelectHuman:n,onSelectDigital:d,onCancel:u}){return e("div",{className:"px-2 md:px-4 py-4 space-y-6",children:e(g,{mode:"wait",children:a(r.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},children:[a("div",{className:"flex items-center gap-4 mb-6",children:[a(t,{variant:"ghost",onClick:u,className:"gap-2",children:[e(v,{className:"h-4 w-4"}),"Back"]}),a("div",{children:[e("h1",{className:"text-3xl font-bold",children:"Add Colleague"}),e("p",{className:"text-muted-foreground",children:"Choose the type of colleague to add"})]})]}),a("div",{className:"grid gap-6 md:grid-cols-2 max-w-4xl mx-auto",children:[e(r.div,{whileHover:{scale:1.02},whileTap:{scale:.98},transition:{type:"spring",stiffness:300,damping:20},children:a(s,{className:"cursor-pointer transition-all hover:shadow-lg border-2 hover:border-primary/50",onClick:n,children:[a(i,{className:"text-center pb-4",children:[e("div",{className:"mx-auto w-16 h-16 bg-blue-100 rounded-full flex items-center justify-center mb-4",children:e(m,{className:"h-8 w-8 text-blue-600"})}),e(l,{className:"text-xl",children:"Add Human Colleague"})]}),a(o,{className:"text-center",children:[e("p",{className:"text-muted-foreground mb-4",children:"Select from existing users in your organization to add as team members."}),a("div",{className:"space-y-2 text-sm",children:[a("div",{className:"flex items-center gap-2 justify-center",children:[e(p,{className:"h-4 w-4 text-blue-600"}),e("span",{children:"Browse existing users"})]}),a("div",{className:"flex items-center gap-2 justify-center",children:[e(m,{className:"h-4 w-4 text-blue-600"}),e("span",{children:"Import user details automatically"})]})]}),e(t,{className:"mt-6 w-full",onClick:n,children:"Select User"})]})]})}),e(r.div,{whileHover:{scale:1.02},whileTap:{scale:.98},transition:{type:"spring",stiffness:300,damping:20},children:a(s,{className:"cursor-pointer transition-all hover:shadow-lg border-2 hover:border-primary/50",onClick:d,children:[a(i,{className:"text-center pb-4",children:[e("div",{className:"mx-auto w-16 h-16 bg-purple-100 rounded-full flex items-center justify-center mb-4",children:e(c,{className:"h-8 w-8 text-purple-600"})}),e(l,{className:"text-xl",children:"Add Digital Colleague"})]}),a(o,{className:"text-center",children:[e("p",{className:"text-muted-foreground mb-4",children:"Clone an existing digital colleague or create a new AI assistant for your team."}),a("div",{className:"space-y-2 text-sm",children:[a("div",{className:"flex items-center gap-2 justify-center",children:[e(c,{className:"h-4 w-4 text-purple-600"}),e("span",{children:"Clone existing colleagues"})]}),a("div",{className:"flex items-center gap-2 justify-center",children:[e(p,{className:"h-4 w-4 text-purple-600"}),e("span",{children:"Create from templates"})]})]}),e(t,{className:"mt-6 w-full",onClick:d,children:"Add Digital Colleague"})]})]})})]})]},"colleague-type-selection")})})}export{y as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as r,b as a,c as n,e as o}from"./chunk-YO3GQYRJ.mjs";import d from"next/link";import{ExternalLink as C}from"lucide-react";import{jsx as e,jsxs as m}from"react/jsx-runtime";var x=({links:s,title:i="Related Content"})=>m(r,{children:[e(a,{children:e(n,{className:"text-accent",children:i})}),e(o,{children:e("nav",{className:"flex flex-col space-y-2",children:s.map((t,l)=>m(d,{href:t.href,className:"inline-flex items-center text-sm text-primary dark:text-foreground hover:text-accent",children:[t.name,t.href.startsWith("http")&&e(C,{className:"ml-1 h-3 w-3"})]},l))})})]});export{x as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as n}from"./chunk-MZP7RIQZ.mjs";import{a as i}from"./chunk-MWXZUSRT.mjs";import{a as l}from"./chunk-OFXZKSCN.mjs";import{a as m}from"./chunk-VN7TASR4.mjs";import{ChevronRightIcon as c,HomeIcon as f}from"@heroicons/react/20/solid";import{Fragment as h,jsx as e,jsxs as a}from"react/jsx-runtime";var d={highImpact:i,lowImpact:l,mediumImpact:m,sectionHero:n},H=t=>{let{type:o}=t||{};if(!o||o==="none")return null;let r=d[o];return r?e(r,{...t}):null};function N({breadcrumbItems:t}){if(t&&t.length>0){let o=t.filter(r=>r.label.toLowerCase()!=="home");return e("nav",{"aria-label":"Breadcrumb",className:"flex",children:a("ol",{role:"list",className:"flex items-center space-x-4",children:[e("li",{children:e("div",{children:a("a",{href:"/",className:"text-foreground hover:text-accent",children:[e(f,{"aria-hidden":"true",className:"size-5 shrink-0"}),e("span",{className:"sr-only",children:"Home"})]})})}),o.map((r,s)=>e("li",{children:a("div",{className:"flex items-center",children:[e(c,{"aria-hidden":"true",className:"size-5 shrink-0 text-gray-400"}),r.href?e("a",{href:r.href,className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:r.label}):e("div",{className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:r.label})]})},s))]})})}return e(h,{})}export{H as a,N as b};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as l}from"./chunk-H7D3PZKE.mjs";import{a as d}from"./chunk-TK4JC5PG.mjs";import{a as m}from"./chunk-OYZDAMCS.mjs";import{b as i,f as o}from"./chunk-ZFUP5NVF.mjs";import{a as s}from"./chunk-IC2ABKAM.mjs";import{jsx as e,jsxs as r}from"react/jsx-runtime";function n({...t}){return r("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[e(s,{...t.header}),r(i,{className:"top-14 mb-4 h-full max-h-[calc(100vh-3.5rem)] flex-1 flex-row overflow-y-clip",children:[e(d,{...t.sidebarLeft,className:"flex-none"}),e(o,{className:"grow overflow-hidden",children:r("div",{className:"max-h-full top-0 absolute max-w-full",children:[e("div",{"aria-hidden":"true",className:"inset-x-0 -z-10 transform-gpu overflow-hidden blur-3xl",children:e("div",{style:{clipPath:"polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)"},className:"relative left-[calc(50%-11rem)] aspect-[1155/678] w-[36.125rem] -translate-x-1/2 rotate-[30deg] bg-gradient-to-tr from-primary to-secondary opacity-30 sm:left-[calc(50%-30rem)] sm:w-[72.1875rem]"})}),e("div",{className:"absolute top-0 w-full",children:e("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:r("div",{className:"mx-auto max-w-2xl text-center pt-4",children:[e("h1",{className:"text-balance text-5xl font-semibold tracking-tight text-primary sm:text-7xl",children:"Anim aute id magna aliqua ad ad non deserunt sunt."}),e("p",{className:"mt-8 text-pretty text-lg font-medium text-gray-500 sm:text-xl/8",children:"Anim aute id magna aliqua ad ad non deserunt sunt. Qui irure qui lorem cupidatat commodo. Elit sunt amet fugiat veniam occaecat."}),e("div",{className:"mt-10 flex items-center justify-center gap-x-6",children:e("div",{className:"mt-6 px-10 grid grid-cols-1 gap-8 lg:grid-cols-3",children:t.tiles.map(a=>e(l,{url:a.slug,title:a.title,mainImage:a.mainImage,excerpt:a.excerpt},a.slug))})})]})})}),e("div",{"aria-hidden":"true",className:"absolute inset-x-0 top-[calc(100%-13rem)] -z-10 transform-gpu overflow-hidden blur-3xl sm:top-[calc(100%-30rem)]",children:e("div",{style:{clipPath:"polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)"},className:"relative left-[calc(50%+3rem)] aspect-[1155/678] w-[36.125rem] -translate-x-1/2 bg-gradient-to-tr from-[#ff80b5] to-[#9089fc] opacity-30 sm:left-[calc(50%+36rem)] sm:w-[72.1875rem]"})})]})})]}),e(m,{})]})}export{n as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as v}from"./chunk-HNCC3AOT.mjs";import{c as b}from"./chunk-5Z5PL7N3.mjs";import{a as g}from"./chunk-FT3AE7L2.mjs";import{b as o}from"./chunk-CSBGSBEU.mjs";import{a as p}from"./chunk-L5JPAKPM.mjs";import{b as f}from"./chunk-ZUA4KNIR.mjs";import{a as n}from"./chunk-MDJREBVI.mjs";import*as N from"react";import x from"next/link";import{ChevronDown as I,Search as L,Settings as z,X as P}from"lucide-react";import{Fragment as R,jsx as e,jsxs as a}from"react/jsx-runtime";function O({items:h,isOpen:l,isMobile:r=!1,onClose:i,currentBusinessUnit:y=b[0],onBusinessUnitChange:w,className:d,logo:S="/headerlogo.png",appName:k="Nuvia",tagline:B="Collaboration Platform"}){let[m,C]=N.useState({}),U=t=>{C(s=>({...s,[t]:!s[t]}))},A=t=>{w?.(t)},j=t=>{let s=a(R,{children:[a("div",{className:"flex items-center gap-3",children:[t.icon,e("span",{children:t.title})]}),t.badge&&e(o,{variant:"outline",className:"ml-auto rounded-full px-2 py-0.5 text-xs",children:t.badge}),t.items&&e(I,{className:n("ml-2 h-4 w-4 transition-transform",m[t.title]?"rotate-180":"")})]}),u=n("flex w-full items-center justify-between rounded-2xl px-3 py-2 text-sm font-medium",t.isActive?"bg-primary/10 text-primary":"hover:bg-muted");return t.url?e(x,{href:t.url,className:u,onClick:r?i:void 0,children:s}):e("button",{className:u,onClick:()=>t.items&&U(t.title),children:s})},c=a("div",{className:"flex h-full flex-col border-r bg-background",children:[a("div",{className:"flex items-center justify-between p-4",children:[a("div",{className:"flex items-center gap-3",children:[e("div",{className:"flex h-14 w-14 items-center justify-center ",children:e("img",{src:S,alt:"Header Logo",className:"h-14 w-14 object-contain"})}),a("div",{children:[a("h2",{className:"font-semibold",children:[k,e("br",{})]}),a("p",{className:"text-xs text-muted-foreground",children:[B,e("br",{})]})]})]}),r&&e(f,{variant:"ghost",size:"icon",onClick:i,children:e(P,{className:"h-5 w-5"})})]}),e("div",{className:"px-3 py-2",children:a("div",{className:"relative",children:[e(L,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),e(p,{type:"search",placeholder:"Search...",className:"w-full rounded-2xl bg-muted pl-9 pr-4 py-2"})]})}),e("div",{className:"px-3 pb-2",children:e(v,{currentUnit:y,onUnitChange:A})}),e(g,{className:"flex-1 px-3 py-2",children:e("div",{className:"space-y-1",children:h.map(t=>a("div",{className:"mb-1",children:[j(t),t.items&&m[t.title]&&e("div",{className:"mt-1 ml-6 space-y-1 border-l pl-3",children:t.items.map(s=>a(x,{href:s.url,className:"flex items-center justify-between rounded-2xl px-3 py-2 text-sm hover:bg-muted",onClick:r?i:void 0,children:[s.title,s.badge&&e(o,{variant:"outline",className:"ml-auto rounded-full px-2 py-0.5 text-xs",children:s.badge})]},s.title))})]},t.title))})}),e("div",{className:"border-t p-3",children:e("div",{className:"space-y-1",children:a("button",{className:"flex w-full items-center gap-3 rounded-2xl px-3 py-2 text-sm font-medium hover:bg-muted",children:[e(z,{className:"h-5 w-5"}),e("span",{children:"Settings"})]})})})]});return r?e("div",{className:n("fixed inset-y-0 left-0 z-50 w-64 transform bg-background transition-transform duration-300 ease-in-out",l?"translate-x-0":"-translate-x-full",d),children:c}):e("div",{className:n("fixed inset-y-0 left-0 z-30 w-64 transform border-r bg-background transition-transform duration-300 ease-in-out",l?"translate-x-0":"-translate-x-full",d),children:c})}export{O as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as C}from"./chunk-GLLR2OOI.mjs";import{a as w}from"./chunk-S7SHOCHM.mjs";import{a as c}from"./chunk-DFIXTV2M.mjs";import{a as h,f as x,g as S,i as T}from"./chunk-3UMMMQEH.mjs";import{useState as r}from"react";import{Loader2 as H,Check as L,X as O}from"lucide-react";import{jsx as e,jsxs as i}from"react/jsx-runtime";var J=({isOpen:y,onClose:m,task:t,epics:U,sprints:b,onUpdateTask:p,onDeleteTask:N})=>{let[k,g]=r(new Date),[o,a]=r("idle"),[l,d]=r("idle"),[u,A]=r([{id:"1",text:"Initial task created and assigned.",author:"System",createdAt:t.createdAt},{id:"2",text:"Started working on the implementation.",author:t.assignee,createdAt:new Date(t.createdAt.getTime()+864e5)}]),f=async(s,n)=>{if(n!==t[s]){a("loading");try{await p(t.id,{[s]:n}),g(new Date),a("success"),setTimeout(()=>a("idle"),1500)}catch{a("error"),setTimeout(()=>a("idle"),3e3)}}},P=async(s,n)=>{if(n!==t[s]){a("loading");try{await p(t.id,{[s]:n}),g(new Date),a("success"),setTimeout(()=>a("idle"),1500)}catch{a("error"),setTimeout(()=>a("idle"),3e3)}}},I=s=>{let n={id:Date.now().toString(),text:s,author:"Current User",createdAt:new Date};A([...u,n])},E=async()=>{d("loading");try{await N(t.id),d("success"),setTimeout(()=>{m(),d("idle")},1e3)}catch{d("error"),setTimeout(()=>d("idle"),3e3)}},v=o!=="loading"&&l!=="loading",D=()=>{v&&m()},F=()=>o==="loading"?i("div",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[e(H,{className:"h-4 w-4 animate-spin"}),e("span",{children:"Updating..."})]}):o==="success"?i("div",{className:"flex items-center gap-2 text-sm text-success",children:[e(L,{className:"h-4 w-4"}),e("span",{children:"Updated successfully"})]}):o==="error"?i("div",{className:"flex items-center gap-2 text-sm text-destructive",children:[e(O,{className:"h-4 w-4"}),e("span",{children:"Update failed"})]}):null;return e(h,{open:y,onOpenChange:D,children:i(x,{className:"max-w-3xl max-h-[80vh] overflow-y-auto p-4",children:[i(S,{children:[e(T,{className:"sr-only",children:t.title}),i("div",{className:"flex items-center justify-between",children:[e("div",{className:"flex-1",children:F()}),!v&&e("div",{className:"text-xs text-muted-foreground",children:"Please wait..."})]})]}),i("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-4",children:[i("div",{className:"lg:col-span-2 space-y-4",children:[e(c,{fieldName:"title",value:t.title,label:"",onSave:f,className:"border-b border-border pb-3",disabled:o==="loading"}),e(c,{fieldName:"description",value:t.description,label:"Description",multiline:!0,onSave:f,disabled:o==="loading"}),e(w,{comments:u,onAddComment:I})]}),e(C,{task:t,epics:U,sprints:b,lastUpdated:k,onUpdateTask:P,onClose:D,onDelete:E,isUpdating:o==="loading",isDeleting:l==="loading",deleteState:l})]})]})})};export{J as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var I="./cortex-reply-light-27IMI3G7.png";export{I as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{f as r}from"./chunk-6LZRVGXZ.mjs";import{a as n}from"./chunk-MDJREBVI.mjs";import{jsx as t,jsxs as c}from"react/jsx-runtime";function f({subtitle:s,title:o,description:e,alignment:a="start",hasBottomSpacing:i=!1,className:m,invert:l=!1}){let p=n(a==="start"&&"text-left",a==="center"&&"text-center",a==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":i},"prose",m);return c("div",{className:p,children:[s&&t("span",{className:"mb-[.625rem] block font-semibold uppercase text-accent md:text-md",children:s}),t("h2",{className:n("text-primary mt-0"),children:o}),typeof e=="string"?e&&t("p",{className:"mt-5 whitespace-pre-line text-foreground",children:e}):e&&t(r,{content:e,enableGutter:!1,className:"prose-headings:text-accent prose-p:text-primary"})]})}export{f as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{useEffect as o,useState as a}from"react";import{AnimatePresence as r,motion as t}from"framer-motion";import{jsx as e}from"react/jsx-runtime";var c=()=>{let[n,i]=a(!0);return o(()=>{typeof window>"u"||window.addEventListener("scroll",()=>{window.scrollY>10?i(!1):i(!0)})}),e(r,{children:n&&e(t.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.7,ease:[.76,0,.24,1]},className:"w-fit min-h-[75px] min-w-[30px] p-1 border-2 rounded-full border-gray-500 dark:border-white ",children:e(t.div,{initial:{y:0},animate:{y:[0,25],opacity:[1,0]},transition:{duration:1,ease:"easeOut",repeat:1/0,repeatDelay:1},className:"w-[25px] h-[25px] rounded-full bg-gray-500 dark:bg-white"})})})};export{c as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as F}from"./chunk-IQKWNF37.mjs";import{a as T}from"./chunk-VNMKCJBJ.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,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{b as e}from"./chunk-ZUA4KNIR.mjs";import{ClipboardCopy as p}from"lucide-react";import{useState as s}from"react";import{jsx as t,jsxs as r}from"react/jsx-runtime";function u({code:a}){let[o,i]=s("Copy");function n(){o==="Copy"&&(i(()=>"Copied!"),setTimeout(()=>{i(()=>"Copy")},1e3))}return t("div",{className:"flex justify-end align-middle",children:r(e,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(a),n()},children:[t("p",{children:o}),t("div",{className:"w-6 h-6",children:t(p,{})})]})})}export{u as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as r}from"./chunk-MDJREBVI.mjs";import{cva as a}from"class-variance-authority";import{jsx as s}from"react/jsx-runtime";var n=a("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function c({className:e,variant:t,...o}){return s("div",{className:r(n({variant:t}),e),...o})}export{n as a,c as b};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use server";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
async function p(r){let{name:o,email:s,subject:a,message:n}=r,t=process.env.TEAMS_WEBHOOK_URL;if(!t)throw new Error("TEAMS_WEBHOOK_URL is not defined");let c={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",content:{$schema:"http://adaptivecards.io/schemas/adaptive-card.json",type:"AdaptiveCard",version:"1.2",body:[{type:"TextBlock",text:"Contact Us Form",wrap:!0,style:"heading",weight:"Bolder"},{type:"ColumnSet",columns:[{type:"Column",width:"stretch",items:[{type:"TextBlock",text:"Name",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Email",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Subject",wrap:!0,weight:"Bolder"}]},{type:"Column",width:"stretch",items:[{type:"TextBlock",text:`${o}`,wrap:!0},{type:"TextBlock",text:`${s}`,wrap:!0},{type:"TextBlock",text:`${a}`,wrap:!0}]}]},{type:"TextBlock",text:`${n}`,wrap:!0}]}}]};try{let e=await fetch(t,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(c)});if(!e.ok)throw console.error(e),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(e){return console.error(e),{isSuccess:!1,data:null,message:"Internal Server Error"}}}export{p as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import*as i from"react";var p=1,d=1e6;var S=0;function u(){return S=(S+1)%Number.MAX_SAFE_INTEGER,S.toString()}var c=new Map,A=t=>{if(c.has(t))return;let e=setTimeout(()=>{c.delete(t),T({type:"REMOVE_TOAST",toastId:t})},d);c.set(t,e)},O=(t,e)=>{switch(e.type){case"ADD_TOAST":return{...t,toasts:[e.toast,...t.toasts].slice(0,p)};case"UPDATE_TOAST":return{...t,toasts:t.toasts.map(s=>s.id===e.toast.id?{...s,...e.toast}:s)};case"DISMISS_TOAST":{let{toastId:s}=e;return s?A(s):t.toasts.forEach(o=>{A(o.id)}),{...t,toasts:t.toasts.map(o=>o.id===s||s===void 0?{...o,open:!1}:o)}}case"REMOVE_TOAST":return e.toastId===void 0?{...t,toasts:[]}:{...t,toasts:t.toasts.filter(s=>s.id!==e.toastId)}}},a=[],n={toasts:[]};function T(t){n=O(n,t),a.forEach(e=>{e(n)})}function y({...t}){let e=u(),s=r=>T({type:"UPDATE_TOAST",toast:{...r,id:e}}),o=()=>T({type:"DISMISS_TOAST",toastId:e});return T({type:"ADD_TOAST",toast:{...t,id:e,open:!0,onOpenChange:r=>{r||o()}}}),{id:e,dismiss:o,update:s}}function E(){let[t,e]=i.useState(n);return i.useEffect(()=>(a.push(e),()=>{let s=a.indexOf(e);s>-1&&a.splice(s,1)}),[t]),{...t,toast:y,dismiss:s=>T({type:"DISMISS_TOAST",toastId:s})}}export{O as a,y as b,E as c};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as v}from"./chunk-INCYANPB.mjs";import{a as p}from"./chunk-B4H6T2GP.mjs";import{a as n}from"./chunk-TVZOULLL.mjs";import{a as j,b as h,c as x,d as g,e as w,f as N}from"./chunk-YO3GQYRJ.mjs";import{a as f}from"./chunk-L5JPAKPM.mjs";import{b as d}from"./chunk-ZUA4KNIR.mjs";import{useState as k}from"react";import{Loader2 as L,Plus as P,X as R}from"lucide-react";import{Fragment as C,jsx as t,jsxs as a}from"react/jsx-runtime";var S=({onSubmit:y,onCancel:u,isLoading:o=!1,initialData:c,className:F=""})=>{let[r,I]=k({name:c?.name||"",objectives:c?.objectives||"",workInstructions:c?.workInstructions||"",plan:c?.plan||!1}),[s,b]=k({}),D=()=>{let e={};return r.name.trim()?r.name.trim().length<3&&(e.name="Project name must be at least 3 characters"):e.name="Project name is required",r.objectives.trim()?r.objectives.trim().length<10&&(e.objectives="Please provide more detailed objectives (at least 10 characters)"):e.objectives="Project objectives are required",r.workInstructions.trim()?r.workInstructions.trim().length<20&&(e.workInstructions="Please provide more detailed work instructions (at least 20 characters)"):e.workInstructions="Work instructions are required",b(e),Object.keys(e).length===0},E=async e=>{if(e.preventDefault(),!!D())try{await y(r)}catch(m){console.error("Error submitting project form:",m)}},i=(e,m)=>{I(l=>({...l,[e]:m})),s[e]&&b(l=>({...l,[e]:void 0}))};return a(j,{className:`w-full max-w-2xl ${F}`,children:[a(h,{children:[a(x,{className:"flex items-center gap-2",children:[t(P,{className:"h-5 w-5"}),"Create New Project"]}),t(g,{children:"Set up a new project with clear objectives and work instructions to help your team collaborate effectively."})]}),a("form",{onSubmit:E,children:[a(w,{className:"space-y-6",children:[a("div",{className:"space-y-2",children:[t(n,{htmlFor:"name",className:"text-sm font-medium",children:"Project Name *"}),t(f,{id:"name",type:"text",placeholder:"Enter project name",value:r.name,onChange:e=>i("name",e.target.value),className:s.name?"border-red-500 focus:border-red-500":"",disabled:o,maxLength:100}),s.name&&t("p",{className:"text-sm text-red-600",children:s.name})]}),a("div",{className:"space-y-2",children:[t(n,{htmlFor:"objectives",className:"text-sm font-medium",children:"Project Objectives *"}),t(p,{id:"objectives",placeholder:"Describe the main goals and objectives of this project...",value:r.objectives,onChange:e=>i("objectives",e.target.value),className:`min-h-[100px] resize-y ${s.objectives?"border-red-500 focus:border-red-500":""}`,disabled:o,maxLength:1e3}),a("div",{className:"flex justify-between text-xs text-gray-500",children:[t("span",{children:s.objectives&&t("span",{className:"text-red-600",children:s.objectives})}),a("span",{children:[r.objectives.length,"/1000"]})]})]}),a("div",{className:"space-y-2",children:[t(n,{htmlFor:"workInstructions",className:"text-sm font-medium",children:"Work Instructions *"}),t(p,{id:"workInstructions",placeholder:"Provide detailed instructions on how the work should be carried out, including processes, standards, and expectations...",value:r.workInstructions,onChange:e=>i("workInstructions",e.target.value),className:`min-h-[120px] resize-y ${s.workInstructions?"border-red-500 focus:border-red-500":""}`,disabled:o,maxLength:2e3}),a("div",{className:"flex justify-between text-xs text-gray-500",children:[t("span",{children:s.workInstructions&&t("span",{className:"text-red-600",children:s.workInstructions})}),a("span",{children:[r.workInstructions.length,"/2000"]})]})]}),a("div",{className:"space-y-3",children:[t(n,{className:"text-sm font-medium",children:"Project Management"}),a("div",{className:"flex items-center space-x-2",children:[t(v,{id:"plan",checked:r.plan,onCheckedChange:e=>i("plan",e===!0),disabled:o}),t(n,{htmlFor:"plan",className:"text-sm text-gray-700 cursor-pointer",children:"Enable project planning and management features"})]}),t("p",{className:"text-xs text-gray-500 ml-6",children:"This will allow project managers to create sprints, assign tasks, and track progress."})]})]}),a(N,{className:"flex justify-end gap-3",children:[u&&a(d,{type:"button",variant:"outline",onClick:u,disabled:o,className:"flex items-center gap-2",children:[t(R,{className:"h-4 w-4"}),"Cancel"]}),t(d,{type:"submit",disabled:o,className:"flex items-center gap-2",children:o?a(C,{children:[t(L,{className:"h-4 w-4 animate-spin"}),"Creating..."]}):a(C,{children:[t(P,{className:"h-4 w-4"}),"Create Project"]})})]})]})]})},X=S;export{S as a,X as b};
|
|
@@ -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 e from"@radix-ui/react-dialog";import{Cross2Icon as c}from"@radix-ui/react-icons";import{cva as f}from"class-variance-authority";import{jsx as o,jsxs as n}from"react/jsx-runtime";var x=e.Root,N=e.Trigger,C=e.Close,p=e.Portal,m=r.forwardRef(({className:t,...i},a)=>o(e.Overlay,{className:s("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),...i,ref:a}));m.displayName=e.Overlay.displayName;var h=f("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),S=r.forwardRef(({side:t="right",className:i,children:a,...l},d)=>n(p,{children:[o(m,{}),n(e.Content,{ref:d,className:s(h({side:t}),i),...l,children:[n(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-secondary",children:[o(c,{className:"h-4 w-4"}),o("span",{className:"sr-only",children:"Close"})]}),a]})]}));S.displayName=e.Content.displayName;var v=({className:t,...i})=>o("div",{className:s("flex flex-col space-y-2 text-center sm:text-left",t),...i});v.displayName="SheetHeader";var P=({className:t,...i})=>o("div",{className:s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...i});P.displayName="SheetFooter";var y=r.forwardRef(({className:t,...i},a)=>o(e.Title,{ref:a,className:s("text-lg font-semibold text-foreground",t),...i}));y.displayName=e.Title.displayName;var u=r.forwardRef(({className:t,...i},a)=>o(e.Description,{ref:a,className:s("text-sm text-muted-foreground",t),...i}));u.displayName=e.Description.displayName;export{x as a,N as b,C as c,p as d,m as e,S as f,v as g,P as h,y as i,u as j};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as n}from"./chunk-SV7NMNDI.mjs";import{a as r}from"./chunk-C4UPRDGQ.mjs";import{a as o}from"./chunk-KX2NCNCS.mjs";import{a as e}from"./chunk-FMJBJ3HN.mjs";import{jsx as i,jsxs as c}from"react/jsx-runtime";function S({sectionHeading:p,cards:a}){return i("section",{className:"section-padding-primary !pt-0",children:c(e,{children:[i("div",{className:"mx-auto max-w-[630px]","data-aos":"fade-up","data-aos-delay":"100",children:i(r,{...p,alignment:"center",hasBottomSpacing:!0})}),a&&a.length>0&&i("div",{className:"grid gap-30px",children:a.map((d,t)=>i("div",{"data-aos":"fade-up","data-aos-delay":n([200,400,600],t),className:"py-2",children:i(o,{...d})},t))})]})})}export{S as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as v}from"./chunk-HNCC3AOT.mjs";import{c as b}from"./chunk-5Z5PL7N3.mjs";import{a as g}from"./chunk-FT3AE7L2.mjs";import{b as o}from"./chunk-CSBGSBEU.mjs";import{a as p}from"./chunk-L5JPAKPM.mjs";import{b as f}from"./chunk-ZUA4KNIR.mjs";import{a as n}from"./chunk-MDJREBVI.mjs";import*as N from"react";import x from"next/link";import{ChevronDown as I,Search as L,Settings as z,X as P}from"lucide-react";import{Fragment as R,jsx as e,jsxs as a}from"react/jsx-runtime";function O({items:h,isOpen:l,isMobile:r=!1,onClose:i,currentBusinessUnit:y=b[0],onBusinessUnitChange:w,className:d,logo:S="/headerlogo.png",appName:k="Nuvia",tagline:B="Collaboration Platform"}){let[m,C]=N.useState({}),U=t=>{C(s=>({...s,[t]:!s[t]}))},A=t=>{w?.(t)},j=t=>{let s=a(R,{children:[a("div",{className:"flex items-center gap-3",children:[t.icon,e("span",{children:t.title})]}),t.badge&&e(o,{variant:"outline",className:"ml-auto rounded-full px-2 py-0.5 text-xs",children:t.badge}),t.items&&e(I,{className:n("ml-2 h-4 w-4 transition-transform",m[t.title]?"rotate-180":"")})]}),u=n("flex w-full items-center justify-between rounded-2xl px-3 py-2 text-sm font-medium",t.isActive?"bg-primary/10 text-primary":"hover:bg-muted");return t.url?e(x,{href:t.url,className:u,onClick:r?i:void 0,children:s}):e("button",{className:u,onClick:()=>t.items&&U(t.title),children:s})},c=a("div",{className:"flex h-full flex-col border-r bg-background",children:[a("div",{className:"flex items-center justify-between p-4",children:[a("div",{className:"flex items-center gap-3",children:[e("div",{className:"flex h-14 w-14 items-center justify-center ",children:e("img",{src:S,alt:"Header Logo",className:"h-14 w-14 object-contain"})}),a("div",{children:[a("h2",{className:"font-semibold",children:[k,e("br",{})]}),a("p",{className:"text-xs text-muted-foreground",children:[B,e("br",{})]})]})]}),r&&e(f,{variant:"ghost",size:"icon",onClick:i,children:e(P,{className:"h-5 w-5"})})]}),e("div",{className:"px-3 py-2",children:a("div",{className:"relative",children:[e(L,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),e(p,{type:"search",placeholder:"Search...",className:"w-full rounded-2xl bg-muted pl-9 pr-4 py-2"})]})}),e("div",{className:"px-3 pb-2",children:e(v,{currentUnit:y,onUnitChange:A})}),e(g,{className:"flex-1 px-3 py-2",children:e("div",{className:"space-y-1",children:h.map(t=>a("div",{className:"mb-1",children:[j(t),t.items&&m[t.title]&&e("div",{className:"mt-1 ml-6 space-y-1 border-l pl-3",children:t.items.map(s=>a(x,{href:s.url,className:"flex items-center justify-between rounded-2xl px-3 py-2 text-sm hover:bg-muted",onClick:r?i:void 0,children:[s.title,s.badge&&e(o,{variant:"outline",className:"ml-auto rounded-full px-2 py-0.5 text-xs",children:s.badge})]},s.title))})]},t.title))})}),e("div",{className:"border-t p-3",children:e("div",{className:"space-y-1",children:a("button",{className:"flex w-full items-center gap-3 rounded-2xl px-3 py-2 text-sm font-medium hover:bg-muted",children:[e(z,{className:"h-5 w-5"}),e("span",{children:"Settings"})]})})})]});return r?e("div",{className:n("fixed inset-y-0 left-0 z-50 w-64 transform bg-background transition-transform duration-300 ease-in-out",l?"translate-x-0":"-translate-x-full",d),children:c}):e("div",{className:n("fixed inset-y-0 left-0 z-30 w-64 transform border-r bg-background transition-transform duration-300 ease-in-out",l?"translate-x-0":"-translate-x-full",d),children:c})}export{O as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as d,b as m,c as n,e as i,f as c}from"./chunk-YO3GQYRJ.mjs";import{Clock as g}from"lucide-react";import{formatDistanceToNow as N}from"date-fns";import{jsx as a,jsxs as e}from"react/jsx-runtime";function T({artefact:l,taskId:f,taskData:p,loading:s=!1,error:C=null}){let t=p||{id:f,name:"Loading...",description:"",status:"done",dateLogged:new Date().toISOString(),project:{id:-1,name:""}},o=t.dateLogged;try{let r=new Date(t.dateLogged);isNaN(r.getTime())||(o=N(r,{addSuffix:!0}))}catch{}return e(d,{className:"w-full max-w-md shadow-md",children:[a(m,{className:"pb-2",children:a("div",{className:"flex justify-between items-start",children:a(n,{className:"text-lg font-semibold",children:s?"Loading...":t.name})})}),a(i,{className:"pb-2",children:s?a("div",{className:"animate-pulse h-4 bg-gray-200 rounded w-3/4 mb-2"}):C?a("p",{className:"text-sm text-red-500",children:"Error loading task details"}):a("p",{className:"text-sm text-foreground",children:l})}),a(c,{className:"pt-2 flex items-center justify-between",children:e("div",{className:"flex items-center text-xs text-gray-500",children:[a(g,{className:"h-3 w-3 mr-1"}),e("span",{children:["Created ",o]}),a("span",{className:"mx-2",children:"\u2022"}),e("span",{children:["Task #",t.id]})]})})]})}export{T as a};
|