cortex-react-components 2.0.1 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Manrope-Bold-CPQACTSE.ttf +0 -0
- package/dist/Manrope-ExtraBold-WMIW3IUY.ttf +0 -0
- package/dist/Manrope-ExtraLight-73PSLEHW.ttf +0 -0
- package/dist/Manrope-Light-Y5DQMGPD.ttf +0 -0
- package/dist/Manrope-Medium-EG6W7WPF.ttf +0 -0
- package/dist/Manrope-Regular-XVH52NWZ.ttf +0 -0
- package/dist/Manrope-SemiBold-UGY74FUV.ttf +0 -0
- package/dist/chunk-22LHS2J6.mjs +4 -0
- package/dist/chunk-2BR55L74.mjs +1 -0
- package/dist/chunk-2NMVE5M4.mjs +4 -0
- package/dist/chunk-2QZUKVBA.mjs +1 -0
- package/dist/chunk-2SAKLSZ4.mjs +4 -0
- package/dist/chunk-2VZWOBGP.mjs +1 -0
- package/dist/chunk-3KITWLRN.mjs +4 -0
- package/dist/chunk-3SZR5DC2.mjs +1 -0
- package/dist/chunk-3U3PZBHQ.mjs +4 -0
- package/dist/chunk-3UMMMQEH.mjs +4 -0
- package/dist/chunk-436WKDWG.mjs +4 -0
- package/dist/chunk-4CU7D3X2.mjs +1 -0
- package/dist/chunk-4DJ6HKHR.mjs +1 -0
- package/dist/chunk-4QRKVSTE.mjs +1 -0
- package/dist/chunk-4UIARERB.mjs +4 -0
- package/dist/chunk-53QLSQCO.mjs +4 -0
- package/dist/chunk-55EX54R7.mjs +4 -0
- package/dist/chunk-5AWZJAK3.mjs +4 -0
- package/dist/chunk-5BT4EWU5.mjs +1 -0
- package/dist/chunk-5NRGSTPV.mjs +4 -0
- package/dist/chunk-5OQF3MNO.mjs +1 -0
- package/dist/chunk-5RTGHMF3.mjs +4 -0
- package/dist/chunk-5WV5ZFEP.mjs +4 -0
- package/dist/chunk-5Z5PL7N3.mjs +1 -0
- package/dist/chunk-637VXITY.mjs +4 -0
- package/dist/chunk-6C4WESLL.mjs +1 -0
- package/dist/chunk-6DEY5ZDD.mjs +1 -0
- package/dist/chunk-6HLXIE4P.mjs +1 -0
- package/dist/chunk-6SWKEZN6.mjs +1 -0
- package/dist/chunk-6T4OEOJH.mjs +9 -0
- package/dist/chunk-6YHVVP3S.mjs +1 -0
- package/dist/chunk-76M7JE4D.mjs +1 -0
- package/dist/chunk-7BXIU4ZM.mjs +4 -0
- package/dist/chunk-7EXAS7HK.mjs +4 -0
- package/dist/chunk-7GSXNSLD.mjs +1 -0
- package/dist/chunk-7WIO2CIC.mjs +1 -0
- package/dist/chunk-A24EPYUY.mjs +1 -0
- package/dist/chunk-A2AEX4YB.mjs +4 -0
- package/dist/chunk-A3SUL73A.mjs +4 -0
- package/dist/chunk-AB43AQKL.mjs +1 -0
- package/dist/chunk-ABGNIQRP.mjs +1 -0
- package/dist/chunk-AEBUMA72.mjs +1 -0
- package/dist/chunk-AMV3MECK.mjs +1 -0
- package/dist/chunk-AUBKJ4XO.mjs +1 -0
- package/dist/chunk-AVHFRD6D.mjs +4 -0
- package/dist/chunk-AZ4VR5JX.mjs +3 -0
- package/dist/chunk-AZKOVKSK.mjs +4 -0
- package/dist/chunk-B4H6T2GP.mjs +1 -0
- package/dist/chunk-BADFWNRL.mjs +4 -0
- package/dist/chunk-BG7QXNV5.mjs +1 -0
- package/dist/chunk-BMA4266L.mjs +1 -0
- package/dist/chunk-BZAYEKYC.mjs +1 -0
- package/dist/chunk-CGDLOY7W.mjs +4 -0
- package/dist/chunk-CSBGSBEU.mjs +1 -0
- package/dist/chunk-CSWXKGJE.mjs +4 -0
- package/dist/chunk-CTKUF2I6.mjs +4 -0
- package/dist/chunk-CV7PH2KH.mjs +4 -0
- package/dist/chunk-CVLUVZR3.mjs +1 -0
- package/dist/chunk-D3B2YO7G.mjs +4 -0
- package/dist/chunk-D4IMQTVU.mjs +4 -0
- package/dist/chunk-DBY4SXQI.mjs +1 -0
- package/dist/chunk-DFIXTV2M.mjs +1 -0
- package/dist/chunk-DLUWDQSW.mjs +4 -0
- package/dist/chunk-DUEPJ3F4.mjs +1 -0
- package/dist/chunk-DY2G774J.mjs +1 -0
- package/dist/chunk-E4TE4NV6.mjs +4 -0
- package/dist/chunk-EG646342.mjs +1 -0
- package/dist/chunk-EOXVYLPB.mjs +1 -0
- package/dist/chunk-EPTHSTUM.mjs +1 -0
- package/dist/chunk-EVZSRWUW.mjs +1 -0
- package/dist/chunk-F4UGWCXY.mjs +1 -0
- package/dist/chunk-F5N6KQA2.mjs +1 -0
- package/dist/chunk-FHMQVAKQ.mjs +4 -0
- package/dist/chunk-FLHDNCNY.mjs +1 -0
- package/dist/chunk-FMH5CZ7X.mjs +4 -0
- package/dist/chunk-FMJBJ3HN.mjs +1 -0
- package/dist/chunk-FOISWNF5.mjs +1 -0
- package/dist/chunk-FRKGQKEM.mjs +4 -0
- package/dist/chunk-FRWX5YES.mjs +4 -0
- package/dist/chunk-FT3AE7L2.mjs +4 -0
- package/dist/chunk-FV3W3WL7.mjs +4 -0
- package/dist/chunk-FVM5SQT2.mjs +4 -0
- package/dist/chunk-G6ED5Z4J.mjs +1 -0
- package/dist/chunk-GS2VFNHY.mjs +1 -0
- package/dist/chunk-H7D3PZKE.mjs +1 -0
- package/dist/chunk-HH3AWPYB.mjs +4 -0
- package/dist/chunk-HNCC3AOT.mjs +4 -0
- package/dist/chunk-HR6PBSS5.mjs +1 -0
- package/dist/chunk-I3E2TYYZ.mjs +1 -0
- package/dist/chunk-IC2ABKAM.mjs +4 -0
- package/dist/chunk-IJQC7T2R.mjs +1 -0
- package/dist/chunk-INCYANPB.mjs +4 -0
- package/dist/chunk-IQ3TUH7O.mjs +1 -0
- package/dist/chunk-IQPZEEYJ.mjs +1 -0
- package/dist/chunk-ISBVFNWD.mjs +4 -0
- package/dist/chunk-IUT6JJHY.mjs +4 -0
- package/dist/chunk-IV5HRCWW.mjs +4 -0
- package/dist/chunk-J4IHIM6A.mjs +1 -0
- package/dist/chunk-JCH2CCQ7.mjs +1 -0
- package/dist/chunk-JFFTEK6Z.mjs +4 -0
- package/dist/chunk-JHNVX4UB.mjs +4 -0
- package/dist/chunk-JYL3XIJX.mjs +1 -0
- package/dist/chunk-KCCDR7HB.mjs +4 -0
- package/dist/chunk-KEOMDWUC.mjs +1 -0
- package/dist/chunk-KFCSVEI6.mjs +4 -0
- package/dist/chunk-KGEIN56Y.mjs +4 -0
- package/dist/chunk-KJMXSFJA.mjs +1 -0
- package/dist/chunk-KML6U7IE.mjs +1 -0
- package/dist/chunk-KOXC4RIH.mjs +1 -0
- package/dist/chunk-KTET6W73.mjs +1 -0
- package/dist/chunk-KVD6XDZT.mjs +1 -0
- package/dist/chunk-KX2NCNCS.mjs +1 -0
- package/dist/chunk-KXZFR7TI.mjs +1 -0
- package/dist/chunk-KY7WQYN4.mjs +4 -0
- package/dist/chunk-L2CGDHVO.mjs +1 -0
- package/dist/chunk-L3BLBPSR.mjs +4 -0
- package/dist/chunk-L5JPAKPM.mjs +1 -0
- package/dist/chunk-LAQ3QAUW.mjs +1 -0
- package/dist/chunk-LC2RBE7W.mjs +1 -0
- package/dist/chunk-LEC6GEWS.mjs +5 -0
- package/dist/chunk-LKGCU7H6.mjs +1 -0
- package/dist/chunk-LTTO57ZK.mjs +1 -0
- package/dist/chunk-LVFMFRBR.mjs +4 -0
- package/dist/chunk-LVK4QE5D.mjs +1 -0
- package/dist/chunk-LXZAOORS.mjs +1 -0
- package/dist/chunk-M245YHYF.mjs +4 -0
- package/dist/chunk-M4NJB4NN.mjs +1 -0
- package/dist/chunk-MDJREBVI.mjs +1 -0
- package/dist/chunk-MGYV46AJ.mjs +4 -0
- package/dist/chunk-MNI6AM7Q.mjs +4 -0
- package/dist/chunk-MZP7RIQZ.mjs +1 -0
- package/dist/chunk-NSMXJCXE.mjs +1 -0
- package/dist/chunk-NZS3XKXU.mjs +1 -0
- package/dist/chunk-O5BAW5XQ.mjs +3 -0
- package/dist/chunk-OB5WMODY.mjs +4 -0
- package/dist/chunk-OCPX4QPC.mjs +4 -0
- package/dist/chunk-OEFXIEY3.mjs +4 -0
- package/dist/chunk-OJYMSL24.mjs +1 -0
- package/dist/chunk-OM5ZUHCN.mjs +4 -0
- package/dist/chunk-ORNGKQM7.mjs +1 -0
- package/dist/chunk-OYZDAMCS.mjs +4 -0
- package/dist/chunk-PDY7JYY3.mjs +4 -0
- package/dist/chunk-PEQOQ7BK.mjs +4 -0
- package/dist/chunk-PFLESLNT.mjs +1 -0
- package/dist/chunk-PLTKMHUH.mjs +1 -0
- package/dist/chunk-PM35MWKG.mjs +4 -0
- package/dist/chunk-PXPSM7OQ.mjs +1 -0
- package/dist/chunk-Q2DPE66H.mjs +1 -0
- package/dist/chunk-Q3G5UAAD.mjs +1 -0
- package/dist/chunk-Q5NHYYRS.mjs +4 -0
- package/dist/chunk-Q5Q3DJWU.mjs +4 -0
- package/dist/chunk-Q5XT55O3.mjs +1 -0
- package/dist/chunk-Q6PKGY27.mjs +4 -0
- package/dist/chunk-QDAJ7QAD.mjs +2 -0
- package/dist/chunk-QKGEV7LG.mjs +1 -0
- package/dist/chunk-QTILVWJA.mjs +4 -0
- package/dist/chunk-R7LPCFUJ.mjs +4 -0
- package/dist/chunk-RAGDUV7M.mjs +4 -0
- package/dist/chunk-RK2CAIEF.mjs +4 -0
- package/dist/chunk-RLVKIMGU.mjs +4 -0
- package/dist/chunk-RR4QSUV2.mjs +1 -0
- package/dist/chunk-RULSHTXR.mjs +1 -0
- package/dist/chunk-RUOYGMOR.mjs +4 -0
- package/dist/chunk-RVRIMD6M.mjs +4 -0
- package/dist/chunk-RYZTCMVC.mjs +4 -0
- package/dist/chunk-S562PA5P.mjs +1 -0
- package/dist/chunk-SNZ5BAQQ.mjs +4 -0
- package/dist/chunk-SOIRB5TV.mjs +1 -0
- package/dist/chunk-SOLZ4VQH.mjs +4 -0
- package/dist/chunk-SRUG246N.mjs +4 -0
- package/dist/chunk-SV7NMNDI.mjs +1 -0
- package/dist/chunk-TEB67NCD.mjs +4 -0
- package/dist/chunk-TJVEQJW3.mjs +4 -0
- package/dist/chunk-TK4JC5PG.mjs +4 -0
- package/dist/chunk-TO2UDP5T.mjs +1 -0
- package/dist/chunk-TO7KJNKC.mjs +4 -0
- package/dist/chunk-TUI4S4GI.mjs +4 -0
- package/dist/chunk-TVZOULLL.mjs +4 -0
- package/dist/chunk-TZKQXT7Y.mjs +4 -0
- package/dist/chunk-U5PBLRRV.mjs +4 -0
- package/dist/chunk-U7GAPI7X.mjs +6 -0
- package/dist/chunk-UIMLXZPF.mjs +4 -0
- package/dist/chunk-UNS6CTQZ.mjs +4 -0
- package/dist/chunk-UWEU6TLS.mjs +6 -0
- package/dist/chunk-V2KCUPP5.mjs +4 -0
- package/dist/chunk-V6GC3UGV.mjs +1 -0
- package/dist/chunk-VKJ7E6OL.mjs +1 -0
- package/dist/chunk-VMAPGGGW.mjs +4 -0
- package/dist/chunk-WHDJPD5E.mjs +5 -0
- package/dist/chunk-WISC5QJV.mjs +1 -0
- package/dist/chunk-WISCWNL2.mjs +1 -0
- package/dist/chunk-WN2LPOQP.mjs +4 -0
- package/dist/chunk-WU3JMLSC.mjs +1 -0
- package/dist/chunk-X3JZSN3W.mjs +1 -0
- package/dist/chunk-X5KZKO2V.mjs +4 -0
- package/dist/chunk-XBCYPOFD.mjs +1 -0
- package/dist/chunk-XGIYNUGC.mjs +1 -0
- package/dist/chunk-XGRRLABA.mjs +8 -0
- package/dist/chunk-XI5H6WLY.mjs +1 -0
- package/dist/chunk-YEKQJ4YC.mjs +1 -0
- package/dist/chunk-YFAZQYK4.mjs +4 -0
- package/dist/chunk-YNCJATT7.mjs +4 -0
- package/dist/chunk-YNNW2C2U.mjs +1 -0
- package/dist/chunk-YO3GQYRJ.mjs +1 -0
- package/dist/chunk-ZDPQXVTF.mjs +1 -0
- package/dist/chunk-ZFUP5NVF.mjs +4 -0
- package/dist/chunk-ZGQC6O62.mjs +4 -0
- package/dist/chunk-ZSIYEVUV.mjs +4 -0
- package/dist/chunk-ZUA4KNIR.mjs +1 -0
- package/dist/chunk-ZWHGOTSF.mjs +1 -0
- package/dist/common-types.js +1 -0
- package/dist/common-types.mjs +1 -0
- package/dist/components/AdvancedComponents/CommentSection.css +1 -0
- package/dist/components/AdvancedComponents/CommentSection.js +4 -0
- package/dist/components/AdvancedComponents/CommentSection.mjs +1 -0
- package/dist/components/AdvancedComponents/EditableField.css +1 -0
- package/dist/components/AdvancedComponents/EditableField.js +4 -0
- package/dist/components/AdvancedComponents/EditableField.mjs +1 -0
- package/dist/components/AdvancedComponents/NAVIGATION_TABS_README.js +108 -0
- package/dist/components/AdvancedComponents/NAVIGATION_TABS_README.mjs +108 -0
- package/dist/components/AdvancedComponents/app-header.css +1 -0
- package/dist/components/AdvancedComponents/app-header.js +5 -0
- package/dist/components/AdvancedComponents/app-header.mjs +2 -0
- package/dist/components/AdvancedComponents/index.css +1 -0
- package/dist/components/AdvancedComponents/index.js +6 -0
- package/dist/components/AdvancedComponents/index.mjs +1 -0
- package/dist/components/AdvancedComponents/navigation-tabs.css +1 -0
- package/dist/components/AdvancedComponents/navigation-tabs.js +5 -0
- package/dist/components/AdvancedComponents/navigation-tabs.mjs +2 -0
- package/dist/components/AdvancedComponents/notifications-panel.css +1 -0
- package/dist/components/AdvancedComponents/notifications-panel.js +5 -0
- package/dist/components/AdvancedComponents/notifications-panel.mjs +2 -0
- package/dist/components/AdvancedComponents/sidebar.css +1 -0
- package/dist/components/AdvancedComponents/sidebar.js +5 -0
- package/dist/components/AdvancedComponents/sidebar.mjs +2 -0
- package/dist/components/AdvancedComponents/switch.css +1 -0
- package/dist/components/AdvancedComponents/switch.js +4 -0
- package/dist/components/AdvancedComponents/switch.mjs +2 -0
- package/dist/components/AdvancedComponents/theme-provider.js +4 -0
- package/dist/components/AdvancedComponents/theme-provider.mjs +4 -0
- package/dist/components/AdvancedComponents/theme-toggle.css +1 -0
- package/dist/components/AdvancedComponents/theme-toggle.js +5 -0
- package/dist/components/AdvancedComponents/theme-toggle.mjs +2 -0
- package/dist/components/AdvancedComponents/user-selection.css +1 -0
- package/dist/components/AdvancedComponents/user-selection.js +5 -0
- package/dist/components/AdvancedComponents/user-selection.mjs +2 -0
- package/dist/components/Blocks/Banner.css +1 -0
- package/dist/components/Blocks/Banner.js +4 -0
- package/dist/components/Blocks/Banner.mjs +1 -0
- package/dist/components/Blocks/CallToAction.css +1 -0
- package/dist/components/Blocks/CallToAction.js +4 -0
- package/dist/components/Blocks/CallToAction.mjs +2 -0
- package/dist/components/Blocks/CaseStudy.css +1 -0
- package/dist/components/Blocks/CaseStudy.js +1 -0
- package/dist/components/Blocks/CaseStudy.mjs +1 -0
- package/dist/components/Blocks/Code.client.css +1 -0
- package/dist/components/Blocks/Code.client.js +4 -0
- package/dist/components/Blocks/Code.client.mjs +2 -0
- package/dist/components/Blocks/Code.css +1 -0
- package/dist/components/Blocks/Code.js +4 -0
- package/dist/components/Blocks/Code.mjs +1 -0
- package/dist/components/Blocks/CollapsibleArea.css +1 -0
- package/dist/components/Blocks/CollapsibleArea.js +4 -0
- package/dist/components/Blocks/CollapsibleArea.mjs +2 -0
- package/dist/components/Blocks/ConsultantProfile.css +1 -0
- package/dist/components/Blocks/ConsultantProfile.js +1 -0
- package/dist/components/Blocks/ConsultantProfile.mjs +1 -0
- package/dist/components/Blocks/Content.css +1 -0
- package/dist/components/Blocks/Content.js +4 -0
- package/dist/components/Blocks/Content.mjs +1 -0
- package/dist/components/Blocks/CopyButton.css +1 -0
- package/dist/components/Blocks/CopyButton.js +4 -0
- package/dist/components/Blocks/CopyButton.mjs +2 -0
- package/dist/components/Blocks/FeaturesBlock.css +1 -0
- package/dist/components/Blocks/FeaturesBlock.js +4 -0
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -0
- package/dist/components/Blocks/HeadingImage.js +1 -0
- package/dist/components/Blocks/HeadingImage.mjs +1 -0
- package/dist/components/Blocks/ImageBlock.js +4 -0
- package/dist/components/Blocks/ImageBlock.mjs +1 -0
- package/dist/components/Blocks/InfoTile.js +1 -0
- package/dist/components/Blocks/InfoTile.mjs +1 -0
- package/dist/components/Blocks/Insight.js +4 -0
- package/dist/components/Blocks/Insight.mjs +2 -0
- package/dist/components/Blocks/MOTD.js +1 -0
- package/dist/components/Blocks/MOTD.mjs +1 -0
- package/dist/components/Blocks/MediaBlock.js +4 -0
- package/dist/components/Blocks/MediaBlock.mjs +1 -0
- package/dist/components/Blocks/OrgChart.js +4 -0
- package/dist/components/Blocks/OrgChart.mjs +2 -0
- package/dist/components/Blocks/ProposalSummary.css +1 -0
- package/dist/components/Blocks/ProposalSummary.js +1 -0
- package/dist/components/Blocks/ProposalSummary.mjs +1 -0
- package/dist/components/Blocks/RelatedPosts.css +1 -0
- package/dist/components/Blocks/RelatedPosts.js +4 -0
- package/dist/components/Blocks/RelatedPosts.mjs +1 -0
- package/dist/components/Blocks/RenderBlocks.css +1 -0
- package/dist/components/Blocks/RenderBlocks.js +4 -0
- package/dist/components/Blocks/RenderBlocks.mjs +1 -0
- package/dist/components/Blocks/ReusableContentBlock.css +1 -0
- package/dist/components/Blocks/ReusableContentBlock.js +4 -0
- package/dist/components/Blocks/ReusableContentBlock.mjs +1 -0
- package/dist/components/Blocks/WhyUs.js +1 -0
- package/dist/components/Blocks/WhyUs.mjs +1 -0
- package/dist/components/Blocks/index.css +1 -0
- package/dist/components/Blocks/index.js +4 -0
- package/dist/components/Blocks/index.mjs +1 -0
- package/dist/components/CRM/CogeBoard.css +1 -0
- package/dist/components/CRM/CogeBoard.js +4 -0
- package/dist/components/CRM/CogeBoard.mjs +2 -0
- package/dist/components/CRM/DealCard.css +1 -0
- package/dist/components/CRM/DealCard.js +1 -0
- package/dist/components/CRM/DealCard.mjs +1 -0
- package/dist/components/CRM/DealDetails.css +1 -0
- package/dist/components/CRM/DealDetails.js +4 -0
- package/dist/components/CRM/DealDetails.mjs +1 -0
- package/dist/components/CRM/KanbanBoard.css +1 -0
- package/dist/components/CRM/KanbanBoard.js +4 -0
- package/dist/components/CRM/KanbanBoard.mjs +2 -0
- package/dist/components/CRM/KanbanColumn.css +1 -0
- package/dist/components/CRM/KanbanColumn.js +1 -0
- package/dist/components/CRM/KanbanColumn.mjs +1 -0
- package/dist/components/CRM/NewCustomerForm.css +1 -0
- package/dist/components/CRM/NewCustomerForm.js +4 -0
- package/dist/components/CRM/NewCustomerForm.mjs +1 -0
- package/dist/components/CRM/NewDealForm.css +1 -0
- package/dist/components/CRM/NewDealForm.js +4 -0
- package/dist/components/CRM/NewDealForm.mjs +1 -0
- package/dist/components/CRM/index.css +1 -0
- package/dist/components/CRM/index.js +4 -0
- package/dist/components/CRM/index.mjs +1 -0
- package/dist/components/CRM/mockData.js +1 -0
- package/dist/components/CRM/mockData.mjs +1 -0
- package/dist/components/CRM/types.js +1 -0
- package/dist/components/Cards/ContentCard.css +1 -0
- package/dist/components/Cards/ContentCard.js +4 -0
- package/dist/components/Cards/ContentCard.mjs +1 -0
- package/dist/components/Cards/CustomerCard.css +1 -0
- package/dist/components/Cards/CustomerCard.js +1 -0
- package/dist/components/Cards/CustomerCard.mjs +1 -0
- package/dist/components/Cards/EventCard.css +1 -0
- package/dist/components/Cards/EventCard.js +4 -0
- package/dist/components/Cards/EventCard.mjs +1 -0
- package/dist/components/Cards/FeatureCard.css +1 -0
- package/dist/components/Cards/FeatureCard.js +4 -0
- package/dist/components/Cards/FeatureCard.mjs +1 -0
- package/dist/components/Cards/HeroCard.css +1 -0
- package/dist/components/Cards/HeroCard.js +1 -0
- package/dist/components/Cards/HeroCard.mjs +1 -0
- package/dist/components/Cards/Image.css +1 -0
- package/dist/components/Cards/Image.js +4 -0
- package/dist/components/Cards/Image.mjs +2 -0
- package/dist/components/Cards/PricingCard.css +1 -0
- package/dist/components/Cards/PricingCard.js +1 -0
- package/dist/components/Cards/PricingCard.mjs +1 -0
- package/dist/components/Cards/ProjectCard.js +5 -0
- package/dist/components/Cards/ProjectCard.mjs +1 -0
- package/dist/components/Cards/ServiceCard.css +1 -0
- package/dist/components/Cards/ServiceCard.js +4 -0
- package/dist/components/Cards/ServiceCard.mjs +1 -0
- package/dist/components/Cards/index.css +1 -0
- package/dist/components/Cards/index.js +9 -0
- package/dist/components/Cards/index.mjs +1 -0
- package/dist/components/Chat/CAPABILITIES_README.js +199 -0
- package/dist/components/Chat/CAPABILITIES_README.mjs +199 -0
- package/dist/components/Chat/ChatCardArtefact.css +1 -0
- package/dist/components/Chat/ChatCardArtefact.js +1 -0
- package/dist/components/Chat/ChatCardArtefact.mjs +1 -0
- package/dist/components/Chat/ChatCardTask.css +1 -0
- package/dist/components/Chat/ChatCardTask.js +1 -0
- package/dist/components/Chat/ChatCardTask.mjs +1 -0
- package/dist/components/Chat/ChatInterfaceMessages.css +1 -0
- package/dist/components/Chat/ChatInterfaceMessages.js +7 -0
- package/dist/components/Chat/ChatInterfaceMessages.mjs +2 -0
- package/dist/components/Chat/ChatMessage.css +1 -0
- package/dist/components/Chat/ChatMessage.js +7 -0
- package/dist/components/Chat/ChatMessage.mjs +1 -0
- package/dist/components/Chat/CopilotInterface.css +1 -0
- package/dist/components/Chat/CopilotInterface.js +5 -0
- package/dist/components/Chat/CopilotInterface.mjs +2 -0
- package/dist/components/Chat/EnhancedChatInterface.css +1 -0
- package/dist/components/Chat/EnhancedChatInterface.js +5 -0
- package/dist/components/Chat/EnhancedChatInterface.mjs +4 -0
- package/dist/components/Chat/ai-chat-interface.css +1 -0
- package/dist/components/Chat/ai-chat-interface.js +5 -0
- package/dist/components/Chat/ai-chat-interface.mjs +4 -0
- package/dist/components/Chat/capabilities-config.js +1 -0
- package/dist/components/Chat/capabilities-config.mjs +1 -0
- package/dist/components/Chat/capabilities-data.js +1 -0
- package/dist/components/Chat/capabilities-data.mjs +1 -0
- package/dist/components/Chat/capabilities.js +1 -0
- package/dist/components/Chat/capabilities.mjs +1 -0
- package/dist/components/Chat/capability-menu.css +1 -0
- package/dist/components/Chat/capability-menu.js +4 -0
- package/dist/components/Chat/capability-menu.mjs +2 -0
- package/dist/components/Chat/chat-session-sidebar.css +1 -0
- package/dist/components/Chat/chat-session-sidebar.js +5 -0
- package/dist/components/Chat/chat-session-sidebar.mjs +2 -0
- package/dist/components/Chat/hooks/useTask.js +1 -0
- package/dist/components/Chat/hooks/useTask.mjs +1 -0
- package/dist/components/Chat/index.css +1 -0
- package/dist/components/Chat/index.js +8 -0
- package/dist/components/Chat/index.mjs +1 -0
- package/dist/components/DeliveryLead/DeliveryLeadSubmission.css +1 -0
- package/dist/components/DeliveryLead/DeliveryLeadSubmission.js +6 -0
- package/dist/components/DeliveryLead/DeliveryLeadSubmission.mjs +2 -0
- package/dist/components/DeliveryLead/DeliveryLeadSubmissionList.css +1 -0
- package/dist/components/DeliveryLead/DeliveryLeadSubmissionList.js +4 -0
- package/dist/components/DeliveryLead/DeliveryLeadSubmissionList.mjs +2 -0
- package/dist/components/DeliveryLead/DeliveryLeadSubmissionWithList.css +1 -0
- package/dist/components/DeliveryLead/DeliveryLeadSubmissionWithList.js +6 -0
- package/dist/components/DeliveryLead/DeliveryLeadSubmissionWithList.mjs +2 -0
- package/dist/components/DeliveryLead/index.css +1 -0
- package/dist/components/DeliveryLead/index.js +6 -0
- package/dist/components/DeliveryLead/index.mjs +1 -0
- package/dist/components/DeliveryLead/types.js +1 -0
- package/dist/components/DigitalColleagues/AppSidebarLeft.css +1 -0
- package/dist/components/DigitalColleagues/AppSidebarLeft.js +4 -0
- package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +2 -0
- package/dist/components/DigitalColleagues/DashboardHeader.css +1 -0
- package/dist/components/DigitalColleagues/DashboardHeader.js +4 -0
- package/dist/components/DigitalColleagues/DashboardHeader.mjs +1 -0
- package/dist/components/DigitalColleagues/DigitalColleageusLayout.css +1 -0
- package/dist/components/DigitalColleagues/DigitalColleageusLayout.js +5 -0
- package/dist/components/DigitalColleagues/DigitalColleageusLayout.mjs +2 -0
- package/dist/components/DigitalColleagues/MainPage.css +1 -0
- package/dist/components/DigitalColleagues/MainPage.js +4 -0
- package/dist/components/DigitalColleagues/MainPage.mjs +4 -0
- package/dist/components/DigitalColleagues/ManagementSidebar.css +1 -0
- package/dist/components/DigitalColleagues/ManagementSidebar.js +4 -0
- package/dist/components/DigitalColleagues/ManagementSidebar.mjs +1 -0
- package/dist/components/DigitalColleagues/Pages/dashboardpage.css +1 -0
- package/dist/components/DigitalColleagues/Pages/dashboardpage.js +5 -0
- package/dist/components/DigitalColleagues/Pages/dashboardpage.mjs +4 -0
- package/dist/components/DigitalColleagues/SearchableSelect.css +1 -0
- package/dist/components/DigitalColleagues/SearchableSelect.js +4 -0
- package/dist/components/DigitalColleagues/SearchableSelect.mjs +1 -0
- package/dist/components/DigitalColleagues/Views/ColleaguesView.css +1 -0
- package/dist/components/DigitalColleagues/Views/ColleaguesView.js +5 -0
- package/dist/components/DigitalColleagues/Views/ColleaguesView.mjs +2 -0
- package/dist/components/DigitalColleagues/Views/KnowledgeView.css +1 -0
- package/dist/components/DigitalColleagues/Views/KnowledgeView.js +5 -0
- package/dist/components/DigitalColleagues/Views/KnowledgeView.mjs +1 -0
- package/dist/components/DigitalColleagues/Views/TeamsIndexView.css +1 -0
- package/dist/components/DigitalColleagues/Views/TeamsIndexView.js +5 -0
- package/dist/components/DigitalColleagues/Views/TeamsIndexView.mjs +2 -0
- package/dist/components/DigitalColleagues/Views/index.css +1 -0
- package/dist/components/DigitalColleagues/Views/index.js +5 -0
- package/dist/components/DigitalColleagues/Views/index.mjs +1 -0
- package/dist/components/DigitalColleagues/colleague-card.css +1 -0
- package/dist/components/DigitalColleagues/colleague-card.js +5 -0
- package/dist/components/DigitalColleagues/colleague-card.mjs +2 -0
- package/dist/components/DigitalColleagues/colleague-form.css +1 -0
- package/dist/components/DigitalColleagues/colleague-form.js +5 -0
- package/dist/components/DigitalColleagues/colleague-form.mjs +2 -0
- package/dist/components/DigitalColleagues/colleague-type-selection.css +1 -0
- package/dist/components/DigitalColleagues/colleague-type-selection.js +4 -0
- package/dist/components/DigitalColleagues/colleague-type-selection.mjs +2 -0
- package/dist/components/DigitalColleagues/digital-colleague-clone.css +1 -0
- package/dist/components/DigitalColleagues/digital-colleague-clone.js +5 -0
- package/dist/components/DigitalColleagues/digital-colleague-clone.mjs +2 -0
- package/dist/components/DigitalColleagues/digital-colleague-options.css +1 -0
- package/dist/components/DigitalColleagues/digital-colleague-options.js +4 -0
- package/dist/components/DigitalColleagues/digital-colleague-options.mjs +2 -0
- package/dist/components/DigitalColleagues/test-data.js +1 -0
- package/dist/components/DigitalColleagues/test-data.mjs +1 -0
- package/dist/components/DigitalColleagues/types.js +1 -0
- package/dist/components/HeaderFooter/AppLauncher.js +4 -0
- package/dist/components/HeaderFooter/AppLauncher.mjs +2 -0
- package/dist/components/HeaderFooter/BrandLogo.js +1 -0
- package/dist/components/HeaderFooter/BrandLogo.mjs +1 -0
- package/dist/components/HeaderFooter/Footer.css +1 -0
- package/dist/components/HeaderFooter/Footer.js +1 -0
- package/dist/components/HeaderFooter/Footer.mjs +1 -0
- package/dist/components/HeaderFooter/Header.css +1 -0
- package/dist/components/HeaderFooter/Header.js +4 -0
- package/dist/components/HeaderFooter/Header.mjs +1 -0
- package/dist/components/HeaderFooter/HeaderDesktop.css +1 -0
- package/dist/components/HeaderFooter/HeaderDesktop.js +4 -0
- package/dist/components/HeaderFooter/HeaderDesktop.mjs +2 -0
- package/dist/components/HeaderFooter/HeaderMenu.css +1 -0
- package/dist/components/HeaderFooter/HeaderMenu.js +4 -0
- package/dist/components/HeaderFooter/HeaderMenu.mjs +1 -0
- package/dist/components/HeaderFooter/HeaderMenuItem.js +1 -0
- package/dist/components/HeaderFooter/HeaderMenuItem.mjs +1 -0
- package/dist/components/HeaderFooter/HeaderMobile.js +4 -0
- package/dist/components/HeaderFooter/HeaderMobile.mjs +2 -0
- package/dist/components/HeaderFooter/RelatedPagesMenu.css +1 -0
- package/dist/components/HeaderFooter/RelatedPagesMenu.js +4 -0
- package/dist/components/HeaderFooter/RelatedPagesMenu.mjs +2 -0
- package/dist/components/HeaderFooter/SectionHeading.css +1 -0
- package/dist/components/HeaderFooter/SectionHeading.js +4 -0
- package/dist/components/HeaderFooter/SectionHeading.mjs +1 -0
- package/dist/components/HeaderFooter/SimpleHeader.css +1 -0
- package/dist/components/HeaderFooter/SimpleHeader.js +4 -0
- package/dist/components/HeaderFooter/SimpleHeader.mjs +2 -0
- package/dist/components/HeaderFooter/VideoHeader.css +1 -0
- package/dist/components/HeaderFooter/VideoHeader.js +4 -0
- package/dist/components/HeaderFooter/VideoHeader.mjs +2 -0
- package/dist/components/HeaderFooter/index.css +1 -0
- package/dist/components/HeaderFooter/index.js +4 -0
- package/dist/components/HeaderFooter/index.mjs +1 -0
- package/dist/components/Heros/DashboardHero/DashboardHero.css +1 -0
- package/dist/components/Heros/DashboardHero/DashboardHero.js +4 -0
- package/dist/components/Heros/DashboardHero/DashboardHero.mjs +2 -0
- package/dist/components/Heros/DashboardHero/index.css +1 -0
- package/dist/components/Heros/DashboardHero/index.js +4 -0
- package/dist/components/Heros/DashboardHero/index.mjs +1 -0
- package/dist/components/Heros/HighImpact/index.css +1 -0
- package/dist/components/Heros/HighImpact/index.js +4 -0
- package/dist/components/Heros/HighImpact/index.mjs +2 -0
- package/dist/components/Heros/LowImpact/index.css +1 -0
- package/dist/components/Heros/LowImpact/index.js +4 -0
- package/dist/components/Heros/LowImpact/index.mjs +1 -0
- package/dist/components/Heros/MediumImpact/index.css +1 -0
- package/dist/components/Heros/MediumImpact/index.js +4 -0
- package/dist/components/Heros/MediumImpact/index.mjs +1 -0
- package/dist/components/Heros/PostHero/index.css +1 -0
- package/dist/components/Heros/PostHero/index.js +1 -0
- package/dist/components/Heros/PostHero/index.mjs +1 -0
- package/dist/components/Heros/RenderHero.css +1 -0
- package/dist/components/Heros/RenderHero.js +4 -0
- package/dist/components/Heros/RenderHero.mjs +1 -0
- package/dist/components/Heros/SectionHero/index.css +1 -0
- package/dist/components/Heros/SectionHero/index.js +1 -0
- package/dist/components/Heros/SectionHero/index.mjs +1 -0
- package/dist/components/Heros/index.css +1 -0
- package/dist/components/Heros/index.js +5 -0
- package/dist/components/Heros/index.mjs +1 -0
- package/dist/components/Holidays/ApproveLeave.css +1 -0
- package/dist/components/Holidays/ApproveLeave.js +4 -0
- package/dist/components/Holidays/ApproveLeave.mjs +2 -0
- package/dist/components/Holidays/CalendarView.css +1 -0
- package/dist/components/Holidays/CalendarView.js +4 -0
- package/dist/components/Holidays/CalendarView.mjs +2 -0
- package/dist/components/Holidays/HolidayGrid.css +1 -0
- package/dist/components/Holidays/HolidayGrid.js +4 -0
- package/dist/components/Holidays/HolidayGrid.mjs +1 -0
- package/dist/components/Holidays/HolidayTracker.css +1 -0
- package/dist/components/Holidays/HolidayTracker.js +4 -0
- package/dist/components/Holidays/HolidayTracker.mjs +2 -0
- package/dist/components/Holidays/RequestLeave.css +1 -0
- package/dist/components/Holidays/RequestLeave.js +4 -0
- package/dist/components/Holidays/RequestLeave.mjs +2 -0
- package/dist/components/Holidays/index.css +1 -0
- package/dist/components/Holidays/index.js +4 -0
- package/dist/components/Holidays/index.mjs +1 -0
- package/dist/components/Icons/ScrollDownIcon.js +4 -0
- package/dist/components/Icons/ScrollDownIcon.mjs +4 -0
- package/dist/components/Images/DynamicIcon.js +4 -0
- package/dist/components/Images/DynamicIcon.mjs +2 -0
- package/dist/components/Images/IconIndex.js +18 -0
- package/dist/components/Images/IconIndex.mjs +18 -0
- package/dist/components/Images/customIconList.js +1 -0
- package/dist/components/Images/customIconList.mjs +1 -0
- package/dist/components/Images/index.js +4 -0
- package/dist/components/Images/index.mjs +1 -0
- package/dist/components/Layouts/FeatureGrid.js +4 -0
- package/dist/components/Layouts/FeatureGrid.mjs +2 -0
- package/dist/components/Layouts/NewsGrid.js +4 -0
- package/dist/components/Layouts/NewsGrid.mjs +2 -0
- package/dist/components/Layouts/NewsList.js +1 -0
- package/dist/components/Layouts/NewsList.mjs +1 -0
- package/dist/components/Layouts/OutputHeaderFooter.css +1 -0
- package/dist/components/Layouts/OutputHeaderFooter.js +5 -0
- package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -0
- package/dist/components/Layouts/Print.css +1 -0
- package/dist/components/Layouts/Print.js +5 -0
- package/dist/components/Layouts/Print.mjs +2 -0
- package/dist/components/Layouts/SlideShow.css +1 -0
- package/dist/components/Layouts/SlideShow.js +7 -0
- package/dist/components/Layouts/SlideShow.mjs +2 -0
- package/dist/components/Layouts/TextAndImages.js +1 -0
- package/dist/components/Layouts/TextAndImages.mjs +1 -0
- package/dist/components/Layouts/index.css +1 -0
- package/dist/components/Layouts/index.js +8 -0
- package/dist/components/Layouts/index.mjs +1 -0
- package/dist/components/Menus/Categories.css +1 -0
- package/dist/components/Menus/Categories.js +4 -0
- package/dist/components/Menus/Categories.mjs +2 -0
- package/dist/components/Menus/Filter.css +1 -0
- package/dist/components/Menus/Filter.js +4 -0
- package/dist/components/Menus/Filter.mjs +2 -0
- package/dist/components/Menus/Pagination.js +4 -0
- package/dist/components/Menus/Pagination.mjs +2 -0
- package/dist/components/Menus/ProjectTeam.css +1 -0
- package/dist/components/Menus/ProjectTeam.js +1 -0
- package/dist/components/Menus/ProjectTeam.mjs +1 -0
- package/dist/components/Menus/RelatedContent.css +1 -0
- package/dist/components/Menus/RelatedContent.js +1 -0
- package/dist/components/Menus/RelatedContent.mjs +1 -0
- package/dist/components/Menus/SidebarLeft.css +1 -0
- package/dist/components/Menus/SidebarLeft.js +4 -0
- package/dist/components/Menus/SidebarLeft.mjs +2 -0
- package/dist/components/Menus/SidebarRight.css +1 -0
- package/dist/components/Menus/SidebarRight.js +4 -0
- package/dist/components/Menus/SidebarRight.mjs +2 -0
- package/dist/components/Menus/index.css +1 -0
- package/dist/components/Menus/index.js +4 -0
- package/dist/components/Menus/index.mjs +1 -0
- package/dist/components/Other/AnimatedBorder.js +4 -0
- package/dist/components/Other/AnimatedBorder.mjs +4 -0
- package/dist/components/Other/Container.css +1 -0
- package/dist/components/Other/Container.js +1 -0
- package/dist/components/Other/Container.mjs +1 -0
- package/dist/components/Other/CustomLink.js +1 -0
- package/dist/components/Other/CustomLink.mjs +1 -0
- package/dist/components/Other/PageShape.js +1 -0
- package/dist/components/Other/PageShape.mjs +1 -0
- package/dist/components/Other/ThemeProvider.js +4 -0
- package/dist/components/Other/ThemeProvider.mjs +2 -0
- package/dist/components/Other/index.css +1 -0
- package/dist/components/Other/index.js +4 -0
- package/dist/components/Other/index.mjs +1 -0
- package/dist/components/Payload/Card/index.js +4 -0
- package/dist/components/Payload/Card/index.mjs +2 -0
- package/dist/components/Payload/CollectionArchive/index.js +4 -0
- package/dist/components/Payload/CollectionArchive/index.mjs +1 -0
- package/dist/components/Payload/Link/index.css +1 -0
- package/dist/components/Payload/Link/index.js +1 -0
- package/dist/components/Payload/Link/index.mjs +1 -0
- package/dist/components/Payload/Logo/index.js +1 -0
- package/dist/components/Payload/Logo/index.mjs +1 -0
- package/dist/components/Payload/Media/ImageMedia/index.js +4 -0
- package/dist/components/Payload/Media/ImageMedia/index.mjs +2 -0
- package/dist/components/Payload/Media/VideoMedia/index.js +4 -0
- package/dist/components/Payload/Media/VideoMedia/index.mjs +2 -0
- package/dist/components/Payload/Media/index.js +4 -0
- package/dist/components/Payload/Media/index.mjs +1 -0
- package/dist/components/Payload/Media/types.js +1 -0
- package/dist/components/Payload/PageRange/index.js +1 -0
- package/dist/components/Payload/PageRange/index.mjs +1 -0
- package/dist/components/Payload/Pagination/index.css +1 -0
- package/dist/components/Payload/Pagination/index.js +4 -0
- package/dist/components/Payload/Pagination/index.mjs +2 -0
- package/dist/components/Payload/RichText/index.css +1 -0
- package/dist/components/Payload/RichText/index.js +4 -0
- package/dist/components/Payload/RichText/index.mjs +1 -0
- package/dist/components/Payload/RichText/nodeFormat.js +3 -0
- package/dist/components/Payload/RichText/nodeFormat.mjs +1 -0
- package/dist/components/Payload/RichText/serialize.css +1 -0
- package/dist/components/Payload/RichText/serialize.js +4 -0
- package/dist/components/Payload/RichText/serialize.mjs +1 -0
- package/dist/components/Payload/index.css +1 -0
- package/dist/components/Payload/index.js +4 -0
- package/dist/components/Payload/index.mjs +1 -0
- package/dist/components/Projects/AddEpicModal.css +1 -0
- package/dist/components/Projects/AddEpicModal.js +4 -0
- package/dist/components/Projects/AddEpicModal.mjs +1 -0
- package/dist/components/Projects/AddSprintModal.css +1 -0
- package/dist/components/Projects/AddSprintModal.js +4 -0
- package/dist/components/Projects/AddSprintModal.mjs +1 -0
- package/dist/components/Projects/AddTaskModal.css +1 -0
- package/dist/components/Projects/AddTaskModal.js +4 -0
- package/dist/components/Projects/AddTaskModal.mjs +1 -0
- package/dist/components/Projects/EpicFilter.css +1 -0
- package/dist/components/Projects/EpicFilter.js +4 -0
- package/dist/components/Projects/EpicFilter.mjs +1 -0
- package/dist/components/Projects/EpicsView.css +1 -0
- package/dist/components/Projects/EpicsView.js +5 -0
- package/dist/components/Projects/EpicsView.mjs +1 -0
- package/dist/components/Projects/FileView.css +1 -0
- package/dist/components/Projects/FileView.js +5 -0
- package/dist/components/Projects/FileView.mjs +2 -0
- package/dist/components/Projects/KanbanBoardView.css +1 -0
- package/dist/components/Projects/KanbanBoardView.js +5 -0
- package/dist/components/Projects/KanbanBoardView.mjs +1 -0
- package/dist/components/Projects/KanbanColumn.css +1 -0
- package/dist/components/Projects/KanbanColumn.js +1 -0
- package/dist/components/Projects/KanbanColumn.mjs +1 -0
- package/dist/components/Projects/PlanningView.css +1 -0
- package/dist/components/Projects/PlanningView.js +5 -0
- package/dist/components/Projects/PlanningView.mjs +1 -0
- package/dist/components/Projects/ProjectPage.css +1 -0
- package/dist/components/Projects/ProjectPage.js +5 -0
- package/dist/components/Projects/ProjectPage.mjs +4 -0
- package/dist/components/Projects/ProjectView.css +1 -0
- package/dist/components/Projects/ProjectView.js +5 -0
- package/dist/components/Projects/ProjectView.mjs +1 -0
- package/dist/components/Projects/ProjectsIndexView.css +1 -0
- package/dist/components/Projects/ProjectsIndexView.js +5 -0
- package/dist/components/Projects/ProjectsIndexView.mjs +2 -0
- package/dist/components/Projects/TaskCard.css +1 -0
- package/dist/components/Projects/TaskCard.js +1 -0
- package/dist/components/Projects/TaskCard.mjs +1 -0
- package/dist/components/Projects/TaskDetailsModal.css +1 -0
- package/dist/components/Projects/TaskDetailsModal.js +4 -0
- package/dist/components/Projects/TaskDetailsModal.mjs +1 -0
- package/dist/components/Projects/TaskSelect.css +1 -0
- package/dist/components/Projects/TaskSelect.js +4 -0
- package/dist/components/Projects/TaskSelect.mjs +1 -0
- package/dist/components/Projects/TaskSidebar.css +1 -0
- package/dist/components/Projects/TaskSidebar.js +4 -0
- package/dist/components/Projects/TaskSidebar.mjs +1 -0
- package/dist/components/Projects/TasksView.css +1 -0
- package/dist/components/Projects/TasksView.js +5 -0
- package/dist/components/Projects/TasksView.mjs +1 -0
- package/dist/components/Projects/TeamSwitcher.css +1 -0
- package/dist/components/Projects/TeamSwitcher.js +4 -0
- package/dist/components/Projects/TeamSwitcher.mjs +1 -0
- package/dist/components/Projects/business-unit-switcher.css +1 -0
- package/dist/components/Projects/business-unit-switcher.js +5 -0
- package/dist/components/Projects/business-unit-switcher.mjs +2 -0
- package/dist/components/Projects/business-units.js +1 -0
- package/dist/components/Projects/business-units.mjs +1 -0
- package/dist/components/Projects/file-list.css +1 -0
- package/dist/components/Projects/file-list.js +4 -0
- package/dist/components/Projects/file-list.mjs +2 -0
- package/dist/components/Projects/project-card.css +1 -0
- package/dist/components/Projects/project-card.js +4 -0
- package/dist/components/Projects/project-card.mjs +2 -0
- package/dist/components/Projects/project-form.css +1 -0
- package/dist/components/Projects/project-form.js +4 -0
- package/dist/components/Projects/project-form.mjs +2 -0
- package/dist/components/Projects/team-card.css +1 -0
- package/dist/components/Projects/team-card.js +4 -0
- package/dist/components/Projects/team-card.mjs +2 -0
- package/dist/components/Projects/team-switcher-bar.css +1 -0
- package/dist/components/Projects/team-switcher-bar.js +5 -0
- package/dist/components/Projects/team-switcher-bar.mjs +4 -0
- package/dist/components/Projects/test-data.js +1 -0
- package/dist/components/Projects/test-data.mjs +1 -0
- package/dist/components/dc-temp/CHANGES_SUMMARY.js +104 -0
- package/dist/components/dc-temp/CHANGES_SUMMARY.mjs +104 -0
- package/dist/components/dc-temp/COLLEAGUE_SELECTION_README.js +117 -0
- package/dist/components/dc-temp/COLLEAGUE_SELECTION_README.mjs +117 -0
- package/dist/components/dc-temp/DIGITAL_COLLEAGUE_UPDATES.js +207 -0
- package/dist/components/dc-temp/DIGITAL_COLLEAGUE_UPDATES.mjs +207 -0
- package/dist/components/dc-temp/IMPLEMENTATION_SUMMARY.js +121 -0
- package/dist/components/dc-temp/IMPLEMENTATION_SUMMARY.mjs +121 -0
- package/dist/components/dc-temp/TEAMS_README.js +92 -0
- package/dist/components/dc-temp/TEAMS_README.mjs +92 -0
- package/dist/components/dc-temp/creative.css +1 -0
- package/dist/components/dc-temp/creative.js +5 -0
- package/dist/components/dc-temp/creative.mjs +4 -0
- package/dist/components/dc-temp/dashboard-integration-example.css +1 -0
- package/dist/components/dc-temp/dashboard-integration-example.js +8 -0
- package/dist/components/dc-temp/dashboard-integration-example.mjs +4 -0
- package/dist/components/dc-temp/enhanced-header.css +1 -0
- package/dist/components/dc-temp/enhanced-header.js +5 -0
- package/dist/components/dc-temp/enhanced-header.mjs +4 -0
- package/dist/components/dc-temp/headerlogo.js +1 -0
- package/dist/components/dc-temp/headerlogo.mjs +1 -0
- package/dist/components/dc-temp/icon-mapper.js +1 -0
- package/dist/components/dc-temp/icon-mapper.mjs +1 -0
- package/dist/components/dc-temp/index.css +1 -0
- package/dist/components/dc-temp/index.js +5 -0
- package/dist/components/dc-temp/index.mjs +1 -0
- package/dist/components/dc-temp/knowledge-browser.css +1 -0
- package/dist/components/dc-temp/knowledge-browser.js +5 -0
- package/dist/components/dc-temp/knowledge-browser.mjs +2 -0
- package/dist/components/dc-temp/knowledge-search.css +1 -0
- package/dist/components/dc-temp/knowledge-search.js +5 -0
- package/dist/components/dc-temp/knowledge-search.mjs +2 -0
- package/dist/components/dc-temp/loading.js +1 -0
- package/dist/components/dc-temp/loading.mjs +1 -0
- package/dist/components/dc-temp/markdown-renderer.css +1 -0
- package/dist/components/dc-temp/markdown-renderer.js +4 -0
- package/dist/components/dc-temp/markdown-renderer.mjs +4 -0
- package/dist/components/dc-temp/mock-data.js +1 -0
- package/dist/components/dc-temp/mock-data.mjs +1 -0
- package/dist/components/dc-temp/sidebar.css +1 -0
- package/dist/components/dc-temp/sidebar.js +5 -0
- package/dist/components/dc-temp/sidebar.mjs +4 -0
- package/dist/components/dc-temp/utils.js +1 -0
- package/dist/components/dc-temp/utils.mjs +1 -0
- package/dist/components/index.css +1 -0
- package/dist/components/index.js +20 -0
- package/dist/components/index.mjs +1 -0
- package/dist/components/ui/alert.css +1 -0
- package/dist/components/ui/alert.js +1 -0
- package/dist/components/ui/alert.mjs +1 -0
- package/dist/components/ui/avatar.css +1 -0
- package/dist/components/ui/avatar.js +4 -0
- package/dist/components/ui/avatar.mjs +2 -0
- package/dist/components/ui/badge.css +1 -0
- package/dist/components/ui/badge.js +1 -0
- package/dist/components/ui/badge.mjs +1 -0
- package/dist/components/ui/breadcrumb.css +1 -0
- package/dist/components/ui/breadcrumb.js +1 -0
- package/dist/components/ui/breadcrumb.mjs +1 -0
- package/dist/components/ui/button.css +1 -0
- package/dist/components/ui/button.js +1 -0
- package/dist/components/ui/button.mjs +1 -0
- package/dist/components/ui/calendar.css +1 -0
- package/dist/components/ui/calendar.js +4 -0
- package/dist/components/ui/calendar.mjs +2 -0
- package/dist/components/ui/card.css +1 -0
- package/dist/components/ui/card.js +1 -0
- package/dist/components/ui/card.mjs +1 -0
- package/dist/components/ui/checkbox.css +1 -0
- package/dist/components/ui/checkbox.js +4 -0
- package/dist/components/ui/checkbox.mjs +2 -0
- package/dist/components/ui/collapsible.js +4 -0
- package/dist/components/ui/collapsible.mjs +2 -0
- package/dist/components/ui/command.css +1 -0
- package/dist/components/ui/command.js +4 -0
- package/dist/components/ui/command.mjs +2 -0
- package/dist/components/ui/dialog.css +1 -0
- package/dist/components/ui/dialog.js +4 -0
- package/dist/components/ui/dialog.mjs +2 -0
- package/dist/components/ui/dropdown-menu.css +1 -0
- package/dist/components/ui/dropdown-menu.js +4 -0
- package/dist/components/ui/dropdown-menu.mjs +2 -0
- package/dist/components/ui/hover-card.css +1 -0
- package/dist/components/ui/hover-card.js +4 -0
- package/dist/components/ui/hover-card.mjs +2 -0
- package/dist/components/ui/index.css +1 -0
- package/dist/components/ui/index.js +5 -0
- package/dist/components/ui/index.mjs +1 -0
- package/dist/components/ui/input.css +1 -0
- package/dist/components/ui/input.js +1 -0
- package/dist/components/ui/input.mjs +1 -0
- package/dist/components/ui/inputs/common/styles/index.css +1 -0
- package/dist/components/ui/inputs/common/styles/index.js +1 -0
- package/dist/components/ui/inputs/common/styles/index.mjs +1 -0
- package/dist/components/ui/inputs/text-input/index.css +1 -0
- package/dist/components/ui/inputs/text-input/index.js +1 -0
- package/dist/components/ui/inputs/text-input/index.mjs +1 -0
- package/dist/components/ui/inputs/textarea-input/index.css +1 -0
- package/dist/components/ui/inputs/textarea-input/index.js +1 -0
- package/dist/components/ui/inputs/textarea-input/index.mjs +1 -0
- package/dist/components/ui/label.css +1 -0
- package/dist/components/ui/label.js +4 -0
- package/dist/components/ui/label.mjs +2 -0
- package/dist/components/ui/pagination.css +1 -0
- package/dist/components/ui/pagination.js +1 -0
- package/dist/components/ui/pagination.mjs +1 -0
- package/dist/components/ui/popover.css +1 -0
- package/dist/components/ui/popover.js +4 -0
- package/dist/components/ui/popover.mjs +2 -0
- package/dist/components/ui/progress.css +1 -0
- package/dist/components/ui/progress.js +4 -0
- package/dist/components/ui/progress.mjs +2 -0
- package/dist/components/ui/scroll-area.css +1 -0
- package/dist/components/ui/scroll-area.js +4 -0
- package/dist/components/ui/scroll-area.mjs +2 -0
- package/dist/components/ui/select.css +1 -0
- package/dist/components/ui/select.js +4 -0
- package/dist/components/ui/select.mjs +2 -0
- package/dist/components/ui/separator.css +1 -0
- package/dist/components/ui/separator.js +4 -0
- package/dist/components/ui/separator.mjs +2 -0
- package/dist/components/ui/sheet.css +1 -0
- package/dist/components/ui/sheet.js +4 -0
- package/dist/components/ui/sheet.mjs +2 -0
- package/dist/components/ui/sidebar.css +1 -0
- package/dist/components/ui/sidebar.js +4 -0
- package/dist/components/ui/sidebar.mjs +2 -0
- package/dist/components/ui/skeleton.css +1 -0
- package/dist/components/ui/skeleton.js +1 -0
- package/dist/components/ui/skeleton.mjs +1 -0
- package/dist/components/ui/switch.css +1 -0
- package/dist/components/ui/switch.js +4 -0
- package/dist/components/ui/switch.mjs +4 -0
- package/dist/components/ui/tabs.css +1 -0
- package/dist/components/ui/tabs.js +4 -0
- package/dist/components/ui/tabs.mjs +2 -0
- package/dist/components/ui/textarea.css +1 -0
- package/dist/components/ui/textarea.js +1 -0
- package/dist/components/ui/textarea.mjs +1 -0
- package/dist/components/ui/toast.css +1 -0
- package/dist/components/ui/toast.js +4 -0
- package/dist/components/ui/toast.mjs +2 -0
- package/dist/components/ui/toaster.css +1 -0
- package/dist/components/ui/toaster.js +4 -0
- package/dist/components/ui/toaster.mjs +2 -0
- package/dist/components/ui/toggle-group.css +1 -0
- package/dist/components/ui/toggle-group.js +4 -0
- package/dist/components/ui/toggle-group.mjs +2 -0
- package/dist/components/ui/toggle.css +1 -0
- package/dist/components/ui/toggle.js +4 -0
- package/dist/components/ui/toggle.mjs +2 -0
- package/dist/components/ui/tooltip.css +1 -0
- package/dist/components/ui/tooltip.js +4 -0
- package/dist/components/ui/tooltip.mjs +2 -0
- package/dist/constants.js +1 -0
- package/dist/constants.mjs +1 -0
- package/dist/cortex-reply-27IMI3G7.png +0 -0
- package/dist/cortex-reply-bw-TFX4Q54O.png +0 -0
- package/dist/cortex-reply-dark-XPAJJJYY.png +0 -0
- package/dist/cortex-reply-gradient-LS56SYPD.png +0 -0
- package/dist/cortex-reply-light-27IMI3G7.png +0 -0
- package/dist/declaration.d.js +1 -0
- package/dist/fonts/Manrope-Bold.js +1 -0
- package/dist/fonts/Manrope-Bold.mjs +1 -0
- package/dist/fonts/Manrope-ExtraBold.js +1 -0
- package/dist/fonts/Manrope-ExtraBold.mjs +1 -0
- package/dist/fonts/Manrope-ExtraLight.js +1 -0
- package/dist/fonts/Manrope-ExtraLight.mjs +1 -0
- package/dist/fonts/Manrope-Light.js +1 -0
- package/dist/fonts/Manrope-Light.mjs +1 -0
- package/dist/fonts/Manrope-Medium.js +1 -0
- package/dist/fonts/Manrope-Medium.mjs +1 -0
- package/dist/fonts/Manrope-Regular.js +1 -0
- package/dist/fonts/Manrope-Regular.mjs +1 -0
- package/dist/fonts/Manrope-SemiBold.js +1 -0
- package/dist/fonts/Manrope-SemiBold.mjs +1 -0
- package/dist/globals.css +1 -0
- package/dist/headerlogo-7HRUF72W.png +0 -0
- package/dist/hero-3-N2CBGEV6.jpg +0 -0
- package/dist/hooks/index.js +4 -0
- package/dist/hooks/index.mjs +1 -0
- package/dist/hooks/use-local-storage.js +1 -0
- package/dist/hooks/use-local-storage.mjs +1 -0
- package/dist/hooks/use-mobile.js +4 -0
- package/dist/hooks/use-mobile.mjs +2 -0
- package/dist/hooks/use-toast.js +4 -0
- package/dist/hooks/use-toast.mjs +2 -0
- package/dist/image-hero1-V6MPFDQ6.webp +0 -0
- package/dist/images/cortex-reply-bw.js +1 -0
- package/dist/images/cortex-reply-bw.mjs +1 -0
- package/dist/images/cortex-reply-dark.js +1 -0
- package/dist/images/cortex-reply-dark.mjs +1 -0
- package/dist/images/cortex-reply-gradient.js +1 -0
- package/dist/images/cortex-reply-gradient.mjs +1 -0
- package/dist/images/cortex-reply-light.js +1 -0
- package/dist/images/cortex-reply-light.mjs +1 -0
- package/dist/images/cortex-reply.js +1 -0
- package/dist/images/cortex-reply.mjs +1 -0
- package/dist/images/hero/hero-3.js +1 -0
- package/dist/images/hero/hero-3.mjs +1 -0
- package/dist/images/hero/image-hero1.js +1 -0
- package/dist/images/hero/image-hero1.mjs +1 -0
- package/dist/images/hero/pattern-1.js +1 -0
- package/dist/images/hero/pattern-1.mjs +1 -0
- package/dist/images/hero/pattern-2.js +1 -0
- package/dist/images/hero/pattern-2.mjs +1 -0
- package/dist/index.js +11 -12
- package/dist/index.mjs +1 -33
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/model/Employee.js +1 -0
- package/dist/model/Holiday.js +1 -0
- package/dist/model/LeaveRequest.js +1 -0
- package/dist/pages/Blog.css +1 -0
- package/dist/pages/Blog.js +4 -0
- package/dist/pages/Blog.mjs +1 -0
- package/dist/pages/Documentation.css +1 -0
- package/dist/pages/Documentation.js +4 -0
- package/dist/pages/Documentation.mjs +4 -0
- package/dist/pages/IndexPage.css +1 -0
- package/dist/pages/IndexPage.js +4 -0
- package/dist/pages/IndexPage.mjs +4 -0
- package/dist/pages/Intranet.css +1 -0
- package/dist/pages/Intranet.js +5 -0
- package/dist/pages/Intranet.mjs +1 -0
- package/dist/pages/LandingPage.css +1 -0
- package/dist/pages/LandingPage.js +12 -0
- package/dist/pages/LandingPage.mjs +4 -0
- package/dist/pages/Page.css +1 -0
- package/dist/pages/Page.js +4 -0
- package/dist/pages/Page.mjs +4 -0
- package/dist/pages/Publish.css +1 -0
- package/dist/pages/Publish.js +8 -0
- package/dist/pages/Publish.mjs +2 -0
- package/dist/pages/Website.css +1 -0
- package/dist/pages/Website.js +4 -0
- package/dist/pages/Website.mjs +1 -0
- package/dist/pattern-1-EKFV67R7.png +0 -0
- package/dist/pattern-2-6AZH7ORR.png +0 -0
- package/dist/payload-types.js +1 -0
- package/dist/sections/AboutSection.css +1 -0
- package/dist/sections/AboutSection.js +4 -0
- package/dist/sections/AboutSection.mjs +1 -0
- package/dist/sections/BlogDetail.css +1 -0
- package/dist/sections/BlogDetail.js +4 -0
- package/dist/sections/BlogDetail.mjs +1 -0
- package/dist/sections/BlogList.css +1 -0
- package/dist/sections/BlogList.js +12 -0
- package/dist/sections/BlogList.mjs +1 -0
- package/dist/sections/BlogListSection.css +1 -0
- package/dist/sections/BlogListSection.js +4 -0
- package/dist/sections/BlogListSection.mjs +1 -0
- package/dist/sections/ContactSection.css +1 -0
- package/dist/sections/ContactSection.js +4 -0
- package/dist/sections/ContactSection.mjs +1 -0
- package/dist/sections/ImageSection.css +1 -0
- package/dist/sections/ImageSection.js +1 -0
- package/dist/sections/ImageSection.mjs +1 -0
- package/dist/sections/MainPageSection.css +1 -0
- package/dist/sections/MainPageSection.js +4 -0
- package/dist/sections/MainPageSection.mjs +2 -0
- package/dist/sections/PageSections.css +1 -0
- package/dist/sections/PageSections.js +12 -0
- package/dist/sections/PageSections.mjs +2 -0
- package/dist/sections/PricingSection.css +1 -0
- package/dist/sections/PricingSection.js +4 -0
- package/dist/sections/PricingSection.mjs +1 -0
- package/dist/sections/ServiceDetail.css +1 -0
- package/dist/sections/ServiceDetail.js +4 -0
- package/dist/sections/ServiceDetail.mjs +1 -0
- package/dist/sections/ServiceDetailSection.css +1 -0
- package/dist/sections/ServiceDetailSection.js +4 -0
- package/dist/sections/ServiceDetailSection.mjs +1 -0
- package/dist/sections/ServiceSection.css +1 -0
- package/dist/sections/ServiceSection.js +4 -0
- package/dist/sections/ServiceSection.mjs +1 -0
- package/dist/sections/form/index.css +1 -0
- package/dist/sections/form/index.d.ts +5 -1
- package/dist/sections/form/index.js +4 -0
- package/dist/sections/form/index.mjs +2 -0
- package/dist/sections/form/server/contact-us-form-submit.js +4 -0
- package/dist/sections/form/server/contact-us-form-submit.mjs +2 -0
- package/dist/sections/form/server/index.d.ts +2 -0
- package/dist/sections/form/server/index.js +4 -0
- package/dist/sections/form/server/index.mjs +1 -0
- package/dist/sections/index.css +1 -0
- package/dist/sections/index.d.ts +1 -0
- package/dist/sections/index.js +12 -0
- package/dist/sections/index.mjs +1 -0
- package/dist/server/index.js +1 -0
- package/dist/styles/Colors.css +1 -0
- package/dist/styles/Colors.js +4 -0
- package/dist/styles/Colors.mjs +1 -0
- package/dist/styles/Typography.js +48 -0
- package/dist/styles/Typography.mjs +48 -0
- package/dist/test-data/capabilities.js +1 -0
- package/dist/test-data/capabilities.mjs +1 -0
- package/dist/tests/payload.js +1 -0
- package/dist/tests/payload.mjs +1 -0
- package/dist/utils/AOSInit.css +1 -0
- package/dist/utils/AOSInit.js +8 -0
- package/dist/utils/AOSInit.mjs +2 -0
- package/dist/utils/BankHolidays.js +1 -0
- package/dist/utils/BankHolidays.mjs +1 -0
- package/dist/utils/DaysUtil.js +1 -0
- package/dist/utils/DaysUtil.mjs +1 -0
- package/dist/utils/canUseDOM.js +1 -0
- package/dist/utils/canUseDOM.mjs +1 -0
- package/dist/utils/cn.js +1 -0
- package/dist/utils/cn.mjs +1 -0
- package/dist/utils/formatDateTime.js +1 -0
- package/dist/utils/formatDateTime.mjs +1 -0
- package/dist/utils/getTableOfContents.js +1 -0
- package/dist/utils/getTableOfContents.mjs +1 -0
- package/dist/utils/getURL.js +1 -0
- package/dist/utils/getURL.mjs +1 -0
- package/dist/utils/index.css +1 -0
- package/dist/utils/index.js +8 -0
- package/dist/utils/index.mjs +1 -0
- package/dist/utils/setStaggeredDelay.js +1 -0
- package/dist/utils/setStaggeredDelay.mjs +1 -0
- package/dist/utils/useClickableCard.js +4 -0
- package/dist/utils/useClickableCard.mjs +2 -0
- package/package.json +7 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as o}from"./chunk-LVK4QE5D.mjs";import{a}from"./chunk-MDJREBVI.mjs";import{jsx as r,jsxs as n}from"react/jsx-runtime";function p({className:e,...t}){return r("textarea",{...t,className:a(o({}),"resize-none md:min-h-[130px]",e)})}function m({icon:e,...t}){return n("div",{className:"relative w-full",children:[r(p,{...t}),e&&r("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}export{m as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import m from"next/link";import n from"next/image";import{jsx as t,jsxs as r}from"react/jsx-runtime";function l({blogs:o,width:i=3}){return t("div",{className:"w-full max-w-7xl mx-auto px-4 py-8",children:t("div",{className:`grid md:grid-cols-2 lg:grid-cols-${i} gap-6`,children:o&&o.map((e,a)=>t(m,{href:`/insights/${e.slug}`,className:"group rounded-2xl overflow-hidden border bg-card text-card-foreground shadow hover:shadow-lg transition-shadow",children:r("div",{className:"relative size-full",children:[t(n,{src:e.image?.src||"/assets/images/blog/gradient.png",alt:"post image",width:850,height:575,sizes:"33vw",className:"relative inset-0 size-full rounded-2xl bg-gray-50 object-cover"}),r("div",{className:"absolute inset-0 px-4 pb-2 bg-gradient-to-t from-card to-transparrent flex flex-col justify-end",children:[r("div",{className:"text-sm text-card-foreground mb-2",children:[e.authors&&e.authors.map(s=>`${s.name} \xB7 `),e.publishedAt&&new Date(e.publishedAt).toLocaleDateString("en-GB",{day:"numeric",month:"long"})]}),t("h2",{className:"text-xl font-bold text-foreground group-hover:text-accent group-hover:scale-105 transition-transform duration-200 ease-in-out",children:e.title})]})]})},a))})})}export{l as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as s}from"./chunk-AEBUMA72.mjs";import{a as r}from"./chunk-FMH5CZ7X.mjs";import{a as e}from"./chunk-OM5ZUHCN.mjs";import{a as o}from"./chunk-FMJBJ3HN.mjs";import{jsx as t,jsxs as m}from"react/jsx-runtime";function c({blogs:n,pages:g,categories:p,types:i,base:a}){return t("section",{children:t(o,{children:t("div",{className:"grid",children:m("div",{children:[i&&t(e,{types:i}),t(s,{blogs:n,base:a}),t(r,{pages:g})]})})})})}export{c as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as s}from"./chunk-MDJREBVI.mjs";import{useEffect as c,useRef as a}from"react";import{jsx as r}from"react/jsx-runtime";var u=i=>{let{onClick:n,resource:e,videoClassName:l}=i,t=a(null);if(c(()=>{let{current:o}=t;o&&o.addEventListener("suspend",()=>{})},[]),e&&typeof e=="object"){let{filename:o}=e;return r("video",{autoPlay:!0,className:s(l),controls:!1,loop:!0,muted:!0,onClick:n,playsInline:!0,ref:t,children:r("source",{src:e.url||""})})}return null};export{u as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as s,b as i,c,e as l}from"./chunk-YO3GQYRJ.mjs";import{a as n}from"./chunk-MDJREBVI.mjs";import{useSearchParams as u,usePathname as h,useRouter as x}from"next/navigation";import{ExternalLink as y}from"lucide-react";import{jsx as e,jsxs as m}from"react/jsx-runtime";var N=n("transition-colors duration-400 hover:text-primary ease-in-out");function S({title:o,links:a}){let p=u(),d=h(),{replace:C}=x();function f(r){let t=new URLSearchParams(p);r?t.set("category",r):t.delete("category"),C(`${d}?${t.toString()}`)}return m(s,{children:[e(i,{children:e(c,{className:"text-accent",children:o&&o})}),e(l,{children:a&&a.length>0&&e("nav",{"aria-label":"footer links navigation",children:e("ul",{className:"grid gap-2.5 ",children:a.map((r,t)=>m("li",{className:"flex items-center text-sm text-primary hover:text-accent dark:text-foreground first:pt-0 hover:cursor-pointer",onClick:g=>{g.preventDefault(),f(r.href)},children:[r.label,e(y,{className:"ml-1 h-3 w-3"})]},t))})})})]})}export{S as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as c}from"./chunk-XI5H6WLY.mjs";import{a as l}from"./chunk-FMJBJ3HN.mjs";import{a as m}from"./chunk-MDJREBVI.mjs";import t from"next/image";import{Fragment as p,jsx as e,jsxs as i}from"react/jsx-runtime";function u(d){let{images:a,sectionHeading:n,keyPoints:s,description:o}=d;return e(p,{children:e("section",{id:"about-section",className:m(" clip-custom-top-l sticky md:top-0 md:h-screen z-2 flex flex-col items-center justify-center section-padding-primary dark bg-background",d.className||""),children:e(l,{children:i("div",{className:"grid items-center gap-12 lg:grid-cols-[.92fr_1fr] 2xl:gap-20",children:[i("div",{className:"lg:order-2","data-aos":"fade-left","data-aos-delay":"200",children:[e(c,{...n}),s&&s.length>0&&e("div",{className:"mt-7 grid gap-5 text-accent sm:grid-cols-2 md:mt-10 md:gap-[1.875rem]",children:s.map((r,g)=>i("div",{className:"group flex min-h-[64px] items-center gap-5 rounded-5 border border-accent px-6 py-2 md:min-h-[85px] md:px-[1.875rem] md:py-3",children:[e("span",{className:"duration flex-none scale-100 transition-transform ease-linear group-hover:scale-90",children:r.icon}),e("h3",{className:"text-md font-bold leading-[1.25] md:text-lg",children:r.title})]},g))}),o&&e("p",{className:"mt-5 text-primary md:mt-[1.875rem]",children:o})]}),a&&e("div",{className:"mx-auto text-center",children:i("div",{className:"relative mx-auto grid max-w-[580px] grid-cols-2 gap-2.5 overflow-hidden",children:[e("div",{className:"relative flex justify-end overflow-hidden",children:e("div",{className:"relative z-[2] mt-auto","data-aos":"fade-up","data-aos-delay":"200",children:e("div",{className:"relative z-[4] overflow-hidden",children:e(t,{src:a.image1.src,alt:a.image1.alt,width:a.image1.width,height:a.image1.height,className:"rounded-tl-[60px] object-cover object-top"})})})}),e("div",{className:"flex overflow-hidden",children:e(t,{src:a.image2.src,alt:a.image2.alt,width:a.image2.width,height:a.image2.height,className:"rounded-[80px_10px] object-cover","data-aos":"fade-right","data-aos-delay":"300"})}),e("div",{className:"ml-auto flex max-w-[250px] justify-end overflow-hidden",children:e(t,{src:a.image3.src,alt:a.image4.alt,width:a.image3.width,height:a.image3.height,className:"rounded-[50px_10px] object-cover","data-aos":"fade-left","data-aos-delay":"350"})}),e("div",{className:"overflow-hidden",children:e(t,{src:a.image4.src,alt:a.image4.alt,width:a.image4.width,height:a.image4.height,className:"rounded-10 rounded-br-[80px] object-cover","data-aos":"fade-right","data-aos-delay":"400"})}),e("div",{className:"absolute left-1/2 top-1/2 z-[4] -translate-x-1/2 -translate-y-1/2 overflow-hidden",children:e("div",{"data-aos":"zoom-in","data-aos-delay":"450",children:e("span",{className:"grid h-[100px] w-[100px] place-items-center rounded-full border-[12px] border-white bg-accent text-[30px] text-white",children:e("svg",{width:"1em",height:"1em",viewBox:"0 0 27 27",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M26.8125 13.8672C26.8125 14.9922 25.875 15.9297 24.8125 15.9297H15.8125V24.9297C15.8125 25.9922 14.875 26.8672 13.8125 26.8672C12.6875 26.8672 11.8125 25.9922 11.8125 24.9297V15.9297H2.8125C1.6875 15.9297 0.8125 14.9922 0.8125 13.8672C0.8125 12.8047 1.6875 11.9297 2.8125 11.9297H11.8125V2.92969C11.8125 1.80469 12.6875 0.867188 13.8125 0.867188C14.875 0.867188 15.8125 1.80469 15.8125 2.92969V11.9297H24.8125C25.875 11.8672 26.8125 12.8047 26.8125 13.8672Z"})})})})})]})})]})})})})}export{u as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var A="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Z";export{A as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as E}from"./chunk-6YHVVP3S.mjs";import{a as w}from"./chunk-2NMVE5M4.mjs";import{a as u,c as v,d as f,g as h,i as l}from"./chunk-YFAZQYK4.mjs";import{a as b}from"./chunk-B4H6T2GP.mjs";import{a as p}from"./chunk-L5JPAKPM.mjs";import{b as o}from"./chunk-ZUA4KNIR.mjs";import{b as d}from"./chunk-CSBGSBEU.mjs";import{a as k}from"./chunk-YO3GQYRJ.mjs";import{useState as x}from"react";import{Plus as U,Move as X,Edit2 as q,Trash2 as G,Check as J,X as K}from"lucide-react";import{Fragment as Q,jsx as s,jsxs as t}from"react/jsx-runtime";var le=({tasks:C,epics:y,sprints:W,onUpdateTask:S,onTaskClick:T,onAddTaskToEpic:D,onAddEpic:P,onUpdateEpic:I,onDeleteEpic:B})=>{let[c,N]=x(null),[m,g]=x(null),[r,n]=x({}),z=e=>{N(e)},A=e=>{e.preventDefault()},V=(e,i)=>{e.preventDefault(),c&&c.epicId!==i&&(S(c.id,{epicId:i}),N(null))},$=e=>C.filter(i=>i.epicId===e),R=e=>{g(e.id),n({name:e.name,description:e.description,confidence:e.confidence,phase:e.phase,progress:e.progress})},M=()=>{m&&r.name&&(I(m,r),g(null),n({}))},O=()=>{g(null),n({})},j=e=>{window.confirm("Are you sure you want to delete this epic? This will also delete all associated tasks.")&&B(e)},Y=e=>({1:"Planning",2:"Development",3:"Testing",4:"Review",5:"Deployment",6:"Monitoring",7:"Optimization",8:"Maintenance",9:"Complete"})[e]||`Phase ${e}`,F=e=>{switch(e){case"high":return"bg-success/10 text-success";case"medium":return"bg-warning/10 text-warning";case"low":return"bg-destructive/10 text-destructive";default:return"bg-muted text-muted-foreground"}};return t("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[s(w,{title:"Epic Planning",description:"Organize and manage your project epics, track progress, and assign tasks.",gradient:"bg-gradient-to-r from-rose-600 via-pink-600 to-fuchsia-600",primaryAction:{label:"Add epic",onClick:P}}),s("div",{className:"flex-1",children:s("div",{className:"w-full",children:s("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6",children:y.map(e=>{let i=$(e.id),H=i.reduce((a,L)=>a+L.points,0);return t(k,{className:`flex flex-col ${m===e.id?"h-auto":"h-[600px]"} bg-card shadow-sm`,onDragOver:A,onDrop:a=>V(a,e.id),children:[s("div",{className:"p-4 border-b border-border",children:m===e.id?t("div",{className:"space-y-4",children:[t("div",{className:"flex items-center justify-between",children:[s(p,{value:r.name||"",onChange:a=>n({...r,name:a.target.value}),placeholder:"Epic name",className:"font-semibold"}),t("div",{className:"flex gap-2 ml-2",children:[s(o,{size:"sm",variant:"ghost",onClick:M,className:"p-1 h-8 w-8",children:s(J,{className:"h-4 w-4"})}),s(o,{size:"sm",variant:"ghost",onClick:O,className:"p-1 h-8 w-8",children:s(K,{className:"h-4 w-4"})})]})]}),s(b,{value:r.description||"",onChange:a=>n({...r,description:a.target.value}),placeholder:"Epic description",className:"text-sm min-h-[60px]"}),t("div",{className:"grid grid-cols-2 gap-2",children:[t("div",{children:[s("label",{className:"text-xs text-muted-foreground",children:"Confidence"}),t(u,{value:r.confidence||e.confidence,onValueChange:a=>n({...r,confidence:a}),children:[s(f,{className:"text-xs",children:s(v,{})}),t(h,{children:[s(l,{value:"low",children:"Low"}),s(l,{value:"medium",children:"Medium"}),s(l,{value:"high",children:"High"})]})]})]}),t("div",{children:[s("label",{className:"text-xs text-muted-foreground",children:"Phase"}),t(u,{value:r.phase?.toString()||e.phase.toString(),onValueChange:a=>n({...r,phase:parseInt(a)}),children:[s(f,{className:"text-xs",children:s(v,{})}),s(h,{children:[1,2,3,4,5,6,7,8,9].map(a=>t(l,{value:a.toString(),children:["Phase ",a]},a))})]})]})]}),t("div",{children:[s("label",{className:"text-xs text-muted-foreground",children:"Progress (%)"}),s(p,{type:"number",min:"0",max:"100",value:r.progress||e.progress,onChange:a=>n({...r,progress:parseInt(a.target.value)||0}),className:"text-xs"})]})]}):t(Q,{children:[t("div",{className:"flex items-center gap-2 mb-2",children:[s("div",{className:`w-4 h-4 rounded-full ${e.color}`}),s("h3",{className:"font-semibold text-foreground select-none flex-1",children:e.name}),t("div",{className:"flex gap-1",children:[s(o,{size:"sm",variant:"ghost",onClick:()=>R(e),className:"p-1 h-8 w-8",children:s(q,{className:"h-3 w-3"})}),s(o,{size:"sm",variant:"ghost",onClick:()=>j(e.id),className:"p-1 h-8 w-8 hover:bg-destructive/10 hover:text-destructive",children:s(G,{className:"h-3 w-3"})})]})]}),t("div",{className:"flex flex-wrap gap-2 mb-3",children:[t(d,{className:`text-xs ${F(e.confidence)}`,children:[e.confidence," confidence"]}),t(d,{variant:"outline",className:"text-xs",children:["Phase ",e.phase]}),t(d,{variant:"secondary",className:"text-xs bg-muted text-muted-foreground",children:[i.length," tasks"]}),t(d,{variant:"secondary",className:"text-xs bg-muted text-muted-foreground",children:[H," pts"]})]}),e.description&&s("p",{className:"text-sm text-muted-foreground mb-3 select-none",children:e.description}),t("div",{className:"mb-3",children:[t("div",{className:"flex justify-between text-xs text-muted-foreground mb-1",children:[s("span",{className:"select-none",children:"Progress"}),t("span",{className:"select-none",children:[e.progress,"%"]})]}),s("div",{className:"w-full bg-muted rounded-full h-2",children:s("div",{className:"bg-primary h-2 rounded-full transition-all duration-300",style:{width:`${e.progress}%`}})})]}),t(o,{onClick:()=>D(e.id),variant:"outline",size:"sm",className:"w-full gap-2",children:[s(U,{className:"h-4 w-4"}),"Add Task"]})]})}),s("div",{className:"flex-1 p-4 overflow-y-auto",children:s("div",{className:`space-y-3 min-h-[200px] border-2 border-dashed rounded p-3 transition-colors ${c?"border-primary bg-primary/10":"border-border"}`,children:i.length===0?t("div",{className:"flex flex-col items-center justify-center h-32 text-muted-foreground border-2 border-dashed border-border rounded-lg",children:[s(X,{className:"h-8 w-8 mb-2"}),s("span",{className:"text-sm select-none",children:"Drop tasks here"})]}):i.map(a=>s(E,{task:a,epic:e,onDragStart:z,onTaskClick:T,isCompact:!0},a.id))})})]},e.id)})})})})]})};export{le as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as i}from"./chunk-637VXITY.mjs";import{a as d}from"./chunk-2NMVE5M4.mjs";import{useState as u}from"react";import{Server as p,Code as g,Users as f,BookOpen as w}from"lucide-react";import{jsx as e,jsxs as n}from"react/jsx-runtime";var v=[{id:"all",label:"All Documentation",description:"Browse all documentation organized by category and type",icon:e(w,{className:"h-4 w-4"}),menuConfig:{groupBy:["category","type"],sortBy:"title",sortOrder:"asc",showDocumentCount:!0}},{id:"services",label:"Services",description:"Documentation organized by service and team",icon:e(p,{className:"h-4 w-4"}),menuConfig:{groupBy:["service","team"],sortBy:"updatedAt",sortOrder:"desc",showDocumentCount:!0}},{id:"architecture",label:"Architecture",description:"System architecture documentation by component and layer",icon:e(g,{className:"h-4 w-4"}),menuConfig:{groupBy:["component","layer"],sortBy:"title",sortOrder:"asc",showDocumentCount:!0}},{id:"teams",label:"Teams",description:"Documentation organized by team and project",icon:e(f,{className:"h-4 w-4"}),menuConfig:{groupBy:["team","project"],sortBy:"updatedAt",sortOrder:"desc",showDocumentCount:!0}}];function y({documents:a=[],contexts:r=v,onDocumentClick:c=o=>console.log("Document clicked:",o),onDocumentShare:s=o=>console.log("Share document:",o),selectedDocumentId:l}){let[o,m]=u(r[0]);return n("div",{className:"flex flex-col h-full max-h-[calc(100vh-8rem)]",children:[n("div",{className:"px-2 md:px-4 py-4 flex-shrink-0",children:[e(d,{title:"Knowledge",description:"Access, manage, and share all your team knowledge in one place.",gradient:"bg-gradient-to-r from-teal-600 via-cyan-600 to-blue-600",primaryAction:{label:"Create",onClick:()=>console.log("Create document clicked")}}),n("div",{className:"mt-6",children:[e("div",{className:"border-b border-border",children:e("nav",{className:"-mb-px flex space-x-8 overflow-x-auto",children:r.map(t=>n("button",{onClick:()=>m(t),className:`group inline-flex items-center gap-2 py-3 px-1 border-b-2 font-medium text-sm whitespace-nowrap transition-colors ${o.id===t.id?"border-primary text-primary":"border-transparent text-muted-foreground hover:text-foreground hover:border-muted-foreground"}`,children:[t.icon,t.label]},t.id))})}),o.description&&e("div",{className:"mt-3 px-1",children:e("p",{className:"text-sm text-muted-foreground",children:o.description})})]})]}),e("div",{className:"flex-1 min-h-0 px-2 md:px-4 pb-4",children:e("div",{className:"h-full rounded-3xl border overflow-hidden",children:e(i,{documents:a,menuConfig:o.menuConfig,onDocumentClick:c,onDocumentShare:s,selectedDocumentId:l})})})]})}export{y as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as c}from"./chunk-CSBGSBEU.mjs";import{a as s,b as r,c as o,e as n}from"./chunk-YO3GQYRJ.mjs";import{CalendarIcon as x,UserIcon as C}from"lucide-react";import{jsx as e,jsxs as t}from"react/jsx-runtime";function N({deal:a,customer:i,categories:p,onClick:d,compact:f=!1}){let m=p.find(l=>l.type==="proposition"&&(a.categories??[]).includes(l.id));return f?t(s,{className:"mb-1 cursor-pointer hover:shadow-md transition-shadow border-l-4 border-l-accent",onClick:d,children:[t(r,{className:"pb-1 pt-2",children:[e(o,{className:"text-sm font-semibold text-foreground",children:i?.name}),e("p",{className:"text-sm text-foreground mt-1",children:a.description})]}),e(n,{className:"text-xs text-gray-200 pb-2",children:e("div",{className:"flex justify-between items-center mb-1",children:e("div",{className:"flex items-center text-sm font-bold text-green-600",children:t("span",{children:["\xA3",a.value.toLocaleString()]})})})})]}):t(s,{className:"mb-4 cursor-pointer hover:shadow-md transition-shadow border-l-4 border-l-accent",onClick:d,children:[t(r,{className:"pb-2",children:[e("div",{className:"flex justify-between items-center",children:e(o,{className:"text-lg font-semibold text-foreground",children:i?.name})}),e("p",{className:"text-sm text-foreground mt-1",children:a.description})]}),t(n,{children:[t("div",{className:"flex justify-between items-center mb-3",children:[t("div",{className:"flex items-center text-sm text-foreground",children:[e(C,{className:"w-4 h-4 mr-1 text-xs"}),e("span",{children:a.assignee.name})]}),e("div",{className:"flex items-center text-sm font-bold text-green-600",children:t("span",{children:["\xA3",a.value.toLocaleString()]})})]}),e("div",{className:"flex justify-between items-left mb-3",children:t("div",{className:"flex items-center text-xs text-gray-200",children:[e(x,{className:"w-3 h-3 mr-1"}),e("span",{children:new Date(a.updatedAt).toLocaleDateString()})]})}),e("div",{className:"flex justify-between items-left",children:m&&e(c,{variant:"secondary",className:"bg-blue-100 text-blue-800 text-xs",children:m.name})})]})]})}export{N as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as o}from"./chunk-ZUA4KNIR.mjs";import{a as s}from"./chunk-WISCWNL2.mjs";import{FaCircleCheck as m,FaAnglesRight as g}from"react-icons/fa6";import{jsx as e,jsxs as r}from"react/jsx-runtime";function u({title:n,description:d,features:t,price:l,duration:i,button:a}){return r("div",{className:"relative grid rounded-5 border border-accent-200 dark:border-opacity-20 lg:grid-cols-[300px_1fr] 2xl:grid-cols-[386px_1fr]",children:[r("div",{className:"h-full border-card p-6 dark:border-opacity-20 max-lg:border-b max-lg:pt-14 lg:border-r lg:p-10",children:[e("h3",{className:"mb-4 text-lg font-bold leading-[1.3] text-foreground lg:mb-5 lg:text-xl",children:n}),e("p",{children:d})]}),e("div",{className:"relative my-auto p-6 max-lg:pb-14 md:p-10",children:r("div",{className:"flex flex-col justify-stretch gap-x-14 gap-y-5 md:flex-row md:items-center",children:[t&&t.length>0&&e("ul",{"aria-label":"pricing point list",className:"grid w-full grid-cols-1 md:grid-cols-2 gap-1 md:gap-2",style:{gridAutoFlow:"row"},children:t.map((p,c)=>r("li",{className:"flex items-start gap-3 lg:gap-4",children:[e("span",{className:"text-accent pt-1",children:e(m,{})}),e("span",{children:p})]},c))}),r("p",{className:"font-secondary ml-auto text-xl font-bold leading-[1.25] text-accent-900 dark:text-white lg:text-2xl",children:[l&&l,e("sub",{className:"relative bottom-0 ml-1.5 inline-block text-base lg:text-md",children:i&&i})]}),a&&e("div",{className:"flex-none mr-0 sm:ml-auto",children:e(o,{asChild:!0,className:"border-2 p-5 border-accent bg-transparent text-foreground hover:bg-accent hover:text-accent-foreground",children:r(s,{href:a.href,openNewTab:a.openNewTab,children:[e("span",{className:"relative z-1",children:a.label}),e("span",{className:"relative z-1 pl-2",children:e(g,{})})]})})})]})})]})}export{u as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as p}from"./chunk-436WKDWG.mjs";import{a as v}from"./chunk-G6ED5Z4J.mjs";import{c as b,d as h}from"./chunk-IUT6JJHY.mjs";import{a as k}from"./chunk-X3JZSN3W.mjs";import{a}from"./chunk-MDJREBVI.mjs";import{Fragment as x}from"react";import R from"next/image";import{jsx as t,jsxs as g}from"react/jsx-runtime";var y={content:v,cta:b,mediaBlock:k,collapsibleArea:p,imageBlock:k,features:h,reusableContentBlock:C},P=e=>{let{blocks:n}=e;return n&&Array.isArray(n)&&n.length>0?t("section",{id:"render-blocks",className:a(e.fill?"h-full w-full":""),children:n.map((i,s)=>{let{blockType:r}=i,m=i?.theme;if(r&&r in y){let o=y[r];if(r==="reusableContentBlock")return t(x,{children:t(P,{blocks:i.reusableContent.layout})},s);if(o)return g("div",{className:a("py-6 relative",e.fill&&"flex h-full items-center justify-center"),children:[t(B,{block:i,index:s}),t("div",{className:a("container h-full relative",m?.settings?.theme||"dark"),children:t(o,{...i})})]},s)}return null})}):null},B=e=>{if(!("theme"in e.block))return t("div",{className:a("absolute inset-0 w-screen h-full dark bg-background")});let n=e.block?.theme;if(n.settings.background==="image"){let u={imagePosition:n.settings.imagePosition||"left",overlay:n.settings.overlay!==void 0?n.settings.overlay:!0};return g("div",{className:a("absolute inset-0 w-full h-full bg-background",n.settings.theme||"dark"),children:[t(R,{src:n.settings?.image?.url||"/placeholder.svg",alt:n.settings?.image?.alt||"",fill:!0,className:"object-cover",priority:!0}),n.settings.overlay&&t("div",{className:"absolute inset-0",style:{background:u.imagePosition==="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%)"}})]})}return t("div",{className:a("absolute inset-0 w-screen h-full bg-background",n.settings.theme||"dark")})},E=e=>{let{blocks:n}=e;return n&&Array.isArray(n)&&n.length>0?t("main",{id:"content-blocks",className:a(e.fill?"h-full w-full":""),children:n.map((i,s)=>{let{blockType:r}=i,m=i?.theme;if(r&&r in y){let o=y[r];if(r==="reusableContentBlock")return t(x,{children:t(P,{blocks:i.reusableContent.layout})},s);if(o)return t(A,{block:i,allBlocks:n,index:s,children:t(o,{...i})})}return null})}):null},A=e=>{if(e.index===0)return g("section",{className:"relative flex w-full",children:[t("div",{className:a("absolute inset-0 w-screen h-full light bg-background")}),t("div",{className:a("container h-full relative pt-6 pb-12 min-h-[22em] content-center light bg-background"),children:e.children})]});let n=l=>l%2===0?"light":"dark",u=({index:l,allBlocks:c})=>l===1?t(N,{position:"left"}):s(l,c)==="dark"&&m(l,c)==="light"?t(w,{position:"left"}):s(l,c)==="light"&&m(l,c)==="dark"?t(N,{position:"left"}):null,i=({index:l,allBlocks:c})=>r(l,c)==="light"&&m(l,c)==="dark"?t(w,{position:"left"}):null,s=(l,c)=>{if(l===1)return"light";let d=c[l-1];return"theme"in d&&d.theme?.settings?.theme==="light"?"light":"dark"},r=(l,c)=>{if(l===c.length-1)return"dark";if(l===0)return"light";let d=c[l+1];return"theme"in d&&d.theme?.settings?.theme==="light"?"light":"dark"},m=(l,c)=>{if(l===c.length-1)return"dark";let d=c[l];return d.theme&&d.theme?.settings?.theme==="light"?"light":"dark"};if(!e.block.theme||!e.block.theme.settings)return s(e.index,e.allBlocks)==="dark"?g("section",{id:e.block.name||"content-block",className:"relative flex flex-col w-full pt-12",children:[t("div",{className:a("absolute inset-0 w-screen dark bg-background")}),t("div",{className:a("container relative","dark bg-background py-1"),children:e.children})]}):g("section",{id:e.block.name||"content-block-start",className:"relative flex flex-col w-full",children:[t(u,{index:e.index,allBlocks:e.allBlocks}),t("div",{className:a("absolute inset-0 w-screen")}),t("div",{className:"bg-black",children:t("div",{className:a("container relative","dark bg-background py-1"),children:e.children})})]});if(!("theme"in e.block)||s(e.index,e.allBlocks)===m(e.index,e.allBlocks)){let l=m(e.index,e.allBlocks);return g("section",{id:e.block.name||"content-block-continue",className:" relative flex flex-col w-full pt-20",children:[t("div",{className:a("absolute inset-0 w-screen bg-background",l)}),t("div",{className:a("container relative bg-background py-1",l,l==="light"&&"py-12"),children:e.children})]})}if(s(e.index,e.allBlocks)!==m(e.index,e.allBlocks)){let l=m(e.index,e.allBlocks);return g("section",{id:e.block.blockName||"content-block-continue",className:"relative flex flex-col w-full",children:[t(u,{index:e.index,allBlocks:e.allBlocks}),t("div",{className:a("absolute inset-0 w-screen bg-background",l)}),t("div",{className:a("container relative bg-background min-h-[22em] content-center py-1",l,l==="light"&&"py-12"),children:e.children})]})}if(!("theme"in e.block))return g("div",{className:a("container h-full relative","dark"),children:[t("div",{className:a("absolute inset-0 w-screen h-full dark bg-background py-1")}),e.children]});let o=e.block?.theme;if(o.settings.background==="image"){let l={imagePosition:o.settings.imagePosition||"left",overlay:o.settings.overlay!==void 0?o.settings.overlay:!0};return g("div",{className:a("absolute inset-0 w-full h-full bg-background",o.settings.theme||"dark"),children:[t(R,{src:o.settings?.image?.url||"/placeholder.svg",alt:o.settings?.image?.alt||"",fill:!0,className:"object-cover",priority:!0}),o.settings.overlay&&t("div",{className:"absolute inset-0",style:{background:l.imagePosition==="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%)"}})]})}return t("div",{className:a("absolute inset-0 w-screen h-full bg-background",o.settings.theme||"dark")})},N=({position:e})=>t("div",{className:"w-full aspect-[1920/360] z-20 relative -top-[2px] bg-white",children:t("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"2 2 1920 360",preserveAspectRatio:"none",style:{transform:"rotateX(180deg)",position:"absolute",bottom:"-2px"},className:a("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"})})}),w=({position:e})=>t("div",{className:"w-full relative z-20 aspect-[1920/332] overflow-hidden ",children:g("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",className:a("absolute "),style:{fontSize:0,float:"left",alignContent:"flex-end"},children:[t("defs",{children:g("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"})]})});import{Fragment as F,jsx as f,jsxs as I}from"react/jsx-runtime";var C=e=>{let{customId:n,reusableContent:u}=e;return typeof u=="object"&&u!==null?f(S,{blocks:u.layout}):f(F,{})},T={content:v,cta:b,mediaBlock:k,imageBlock:k,features:h},S=e=>{let{blocks:n}=e;return n&&Array.isArray(n)&&n.length>0?f(F,{children:n.map((i,s)=>{let{blockType:r}=i,m=i?.theme;if(r&&r in T){let o=T[r];if(o)return I("div",{className:"py-6 relative",children:[f(B,{block:i,index:s}),f("div",{className:a(m?.settings?.theme==="dark"?"dark":m?.settings?.theme==="green"?"green":""),children:f(o,{...i})})]},s)}return null})}):null};export{C as a,P as b,B as c,E as d,A as e,N as f,w as g};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as o}from"./chunk-MDJREBVI.mjs";import*as e from"react";import*as t from"@radix-ui/react-tooltip";import{jsx as i}from"react/jsx-runtime";var p=t.Provider,s=t.Root,f=t.Trigger,l=e.forwardRef(({className:r,sideOffset:a=4,...m},d)=>i(t.Portal,{children:i(t.Content,{ref:d,sideOffset:a,className:o("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",r),...m})}));l.displayName=t.Content.displayName;export{p as a,s as b,f as c,l as d};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as t,jsxs as e}from"react/jsx-runtime";function p({title:s,subtitle:a,description:d,missionTitle:l,missionDescription:i,images:r,raisedAmount:m,companiesCount:o,dealsClosed:g,leadsGenerated:x}){return t("div",{className:"overflow-hidden bg-white py-24 sm:py-32",children:e("div",{className:"mx-auto max-w-2xl px-6 lg:max-w-7xl lg:px-8",children:[e("div",{className:"max-w-4xl",children:[t("p",{className:"text-base/7 font-semibold text-indigo-600",children:a}),t("h1",{className:"mt-2 text-pretty text-4xl font-semibold tracking-tight text-gray-900 sm:text-5xl",children:s}),t("p",{className:"mt-6 text-balance text-xl/8 text-gray-700",children:d})]}),e("section",{className:"mt-20 grid grid-cols-1 lg:grid-cols-2 lg:gap-x-8 lg:gap-y-16",children:[e("div",{className:"lg:pr-8",children:[t("h2",{className:"text-pretty text-2xl font-semibold tracking-tight text-gray-900",children:l}),t("p",{className:"mt-6 text-base/7 text-gray-600",children:i})]}),t("div",{className:"pt-16 lg:row-span-2 lg:-mr-16 xl:mr-auto",children:t("div",{className:"-mx-8 grid grid-cols-2 gap-4 sm:-mx-16 sm:grid-cols-4 lg:mx-0 lg:grid-cols-2 lg:gap-4 xl:gap-8",children:r.map((c,n)=>t("div",{className:"aspect-square overflow-hidden rounded-xl shadow-xl outline-1 -outline-offset-1 outline-black/10",children:t("img",{alt:"",src:c,className:"block size-full object-cover"})},n))})}),e("div",{className:"max-lg:mt-16 lg:col-span-1",children:[t("p",{className:"text-base/7 font-semibold text-gray-500",children:"The numbers"}),t("hr",{className:"mt-6 border-t border-gray-200"}),e("dl",{className:"mt-6 grid grid-cols-1 gap-x-8 gap-y-4 sm:grid-cols-2",children:[e("div",{className:"flex flex-col gap-y-2 border-b border-dotted border-gray-200 pb-4",children:[t("dt",{className:"text-sm/6 text-gray-600",children:"Raised"}),e("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:["$",m]})]}),e("div",{className:"flex flex-col gap-y-2 border-b border-dotted border-gray-200 pb-4",children:[t("dt",{className:"text-sm/6 text-gray-600",children:"Companies"}),e("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[o,"K"]})]}),e("div",{className:"flex flex-col gap-y-2 max-sm:border-b max-sm:border-dotted max-sm:border-gray-200 max-sm:pb-4",children:[t("dt",{className:"text-sm/6 text-gray-600",children:"Deals Closed"}),e("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[g,"M"]})]}),e("div",{className:"flex flex-col gap-y-2",children:[t("dt",{className:"text-sm/6 text-gray-600",children:"Leads Generated"}),e("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[x,"M"]})]})]})]})]})]})})}export{p as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as c}from"./chunk-Q5XT55O3.mjs";import{a as i}from"./chunk-WISC5QJV.mjs";import{a as l}from"./chunk-MDJREBVI.mjs";import{useState as m,useEffect as d}from"react";import{useTheme as S}from"next-themes";import{Moon as N,Sun as y}from"lucide-react";import{PopoverGroup as D}from"@headlessui/react";import{Fragment as H,jsx as e,jsxs as p}from"react/jsx-runtime";function z({isMenuOpen:u,logoLight:h,logoDark:f,menuItems:o,themeControl:g=!1,wide:b=!1}){let[v,a]=m(!1),[k,n]=m(""),r=["light","dark"],{theme:s,setTheme:w}=S();d(()=>{n(s||"dark")},[s]);let x=()=>{let t=r[(r.indexOf(k)+1)%r.length];n(t),w(t)};return d(()=>{let t=()=>{window.scrollY>100?a(!0):a(!1)};return window.addEventListener("scroll",t,{passive:!0}),()=>window.removeEventListener("scroll",t)},[]),e(H,{children:e("header",{className:`z-50 pb-10 transition-all duration-300 hidden lg:block ${v||u?"translate-y-0":"-translate-y-full bg-transparent"}`,children:e("nav",{className:"backdrop-blur-sm bg-background/80 text-white p-0",children:p("div",{className:l("flex items-center justify-between px-9 py-0",!b&&"container"),children:[e(c,{logoDark:f,logoLight:h}),e(D,{className:"hidden lg:flex lg:gap-x-12",children:o&&o.map(t=>e(i,{...t},t.name))}),g&&e("button",{className:"fixed right-4 z-[60] p-2 rounded-full hover:border hover:border-accent backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-primary dark:text-white hover:text-accent hover:scale-125",onClick:x,children:p("div",{className:"relative",children:[e(y,{className:"absolute h-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),e(N,{className:"absoulte h-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})})})})}export{z as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as e}from"./chunk-MDJREBVI.mjs";import*as t from"react";import{jsx as l}from"react/jsx-runtime";var s=t.forwardRef(({className:r,type:o,...n},i)=>l("input",{type:o,className:e("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",r),ref:i,...n}));s.displayName="Input";export{s as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as m}from"./chunk-PDY7JYY3.mjs";import{a as i}from"./chunk-L3BLBPSR.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 $}from"./chunk-PXPSM7OQ.mjs";import{a as W}from"./chunk-NZS3XKXU.mjs";import{a as G}from"./chunk-KOXC4RIH.mjs";import{a as K}from"./chunk-TO2UDP5T.mjs";import{a as H}from"./chunk-FOISWNF5.mjs";import{a as N}from"./chunk-ORNGKQM7.mjs";import{a as x}from"./chunk-2VZWOBGP.mjs";import{a as B}from"./chunk-ABGNIQRP.mjs";import{a as I}from"./chunk-FV3W3WL7.mjs";import{useState as s}from"react";import{useRouter as $e}from"next/navigation";import{jsx as a,jsxs as ze}from"react/jsx-runtime";function qe({title:Je="",initialTasks:q=[],initialEpics:z=[],initialSprints:J=[],initialProjects:L=[],initialReminders:Q=[],initialColleagues:X=[],initialFiles:Y=[],onAddTask:Le,onUpdateTask:v,onDeleteTask:Qe,onTaskClick:Xe,onAddEpic:Ye,onUpdateEpic:Z,onDeleteEpic:_,onAddTaskToEpic:Ze,onAddSprint:ee,onUpdateSprint:ie,onDeleteSprint:te,onAddProject:ne,onUpdateProject:se,onDeleteProject:ae,onFileAdd:oe,onFileEdit:de,onFileDelete:le,onFileClick:re,onAddReminder:ce,onUpdateReminder:pe,onDeleteReminder:ge,onViewChange:_e,onToggleMobileMenu:me,onTeamClick:ei,onTeamChange:ii,onCopilotClick:ti}){let[c,r]=s(q),[o,k]=s(z),[d,T]=s(J),[A,u]=s(L),[ke,f]=s(Q),[Te,ni]=s(X),[ue,C]=s(Y),[fe,P]=s(!1),[he,w]=s(!1),[p,h]=s(null),[De,R]=s(null),[b,U]=s(null),[l,Se]=s("kanban"),[Ee,ve]=s(!1),F=$e(),Ae=o.filter(e=>e.isSelected).map(e=>e.id),g=d.find(e=>e.isSelected),Ce=c.filter(e=>{let i=Ae.includes(e.epicId);return!g||g.id==="all-tasks"?i:g.id==="backlog"?i&&!e.sprintId:i&&e.sprintId===g.id}),si=e=>Ce.filter(i=>i.status===e),ai=e=>{let i={};return o.forEach(t=>{i[t.id]=e.filter(n=>n.epicId===t.id)}),i},oi=e=>{U(e)},di=e=>{b&&(r(i=>i.map(t=>t.id===b.id?{...t,status:e}:t)),U(null))},M=e=>{let i={...e,id:Date.now().toString(),createdAt:new Date};r(t=>[...t,i]),v?.(i.id,i)},m=(e,i)=>{r(t=>t.map(n=>n.id===e?{...n,...i}:n)),v?.(e,i)},Pe=async(e,i)=>{m(e,i)},O=e=>{r(i=>i.filter(t=>t.id!==e)),p?.id===e&&h(null)},we=async e=>{O(e)},Re=e=>{let i={...e,id:Date.now().toString(),isSelected:!1};u(t=>[...t,i]),ne?.(e)},be=(e,i)=>{u(t=>t.map(n=>n.id===e?i.isSelected?(F.push(`/kanban/${e}`),{...n,...i}):{...n,...i}:i.isSelected&&e!==n.id?{...n,isSelected:!1}:n)),se?.(e,i)},Ue=e=>{u(i=>i.filter(t=>t.id!==e)),ae?.(e)},Fe=e=>{let i={...e,id:Date.now().toString(),isSelected:!0};k(t=>[...t,i])},D=()=>{w(!0)},j=(e,i)=>{k(t=>t.map(n=>n.id===e?{...n,...i}:n)),Z?.(e,i)},y=e=>{k(i=>i.filter(t=>t.id!==e)),r(i=>i.filter(t=>t.epicId!==e)),_?.(e)},V=e=>{let i={...e,id:Date.now().toString(),isSelected:!1};T(t=>[...t,i]),ee?.(e)},Me=(e,i)=>{T(t=>t.map(n=>n.id===e?i.isSelected?{...n,...i}:{...n,...i}:i.isSelected&&e!==n.id?{...n,isSelected:!1}:n)),ie?.(e,i)},Oe=e=>{e==="backlog"||e==="all-tasks"||(T(i=>i.filter(t=>t.id!==e)),r(i=>i.map(t=>t.sprintId===e?{...t,sprintId:void 0}:t)),te?.(e))},S=e=>{h(e)},je=e=>{e==="planning"&&window.innerWidth<768||Se(e)},ye=()=>{ve(e=>!e),me?.()},li=()=>{F.push("/")},ri=e=>{console.log("Switching to team:",e)},ci=e=>{console.log("Switching to team:",e)},Ve=e=>{R(e),P(!0)},Ie=()=>{P(!1),R(null)},Be=e=>{let i={...e,id:Date.now().toString(),createdAt:new Date};f(t=>[...t,i]),ce?.(e)},Ne=(e,i)=>{f(t=>t.map(n=>n.id===e?{...n,...i}:n)),pe?.(e,i)},xe=e=>{f(i=>i.filter(t=>t.id!==e)),ge?.(e)},Ge=e=>{C(i=>[...i,e]),oe?.(e)},He=e=>{de?.(e)},Ke=e=>{C(i=>i.filter(t=>t.name!==e)),le?.(e)},We=e=>{re?.(e)},pi=[{id:"todo",title:"To Do",status:"todo"},{id:"in-progress",title:"In Progress",status:"in-progress"},{id:"review",title:"Review",status:"review"},{id:"done",title:"Done",status:"done"}],gi=()=>{switch(l){case"kanban":return"Project Board";case"planning":return"Sprint Planning";case"tasks":return"Task Reminders";case"files":return"Documentation";case"epics":return"Epic Planning";default:return"Project Board"}},E=[{id:"1",name:"Product Development",avatar:"PD",lastUsed:new Date("2024-01-20")},{id:"2",name:"Engineering",avatar:"ENG",lastUsed:new Date("2024-01-19")},{id:"3",name:"Marketing Team",avatar:"MT",lastUsed:new Date("2024-01-18")},{id:"4",name:"Design System",avatar:"DS",lastUsed:new Date("2024-01-17")},{id:"5",name:"Sales Operations",avatar:"SO",lastUsed:new Date("2024-01-16")},{id:"6",name:"Customer Success",avatar:"CS",lastUsed:new Date("2024-01-15")}],mi=E.sort((e,i)=>i.lastUsed.getTime()-e.lastUsed.getTime()).slice(0,3),ki=E.length>3,Ti=E.slice(3);return ze(B,{projects:A,epics:o,sprints:d,currentView:l,onUpdateProject:be,onDeleteProject:Ue,onAddProject:Re,onUpdateEpic:j,onDeleteEpic:y,onAddEpic:D,onAddSprint:V,onUpdateSprint:Me,onDeleteSprint:Oe,onViewChange:je,mobileMenuOpen:Ee,onToggleMobileMenu:ye,children:[l==="kanban"&&a("div",{className:"h-full",children:a(K,{initialProjects:A,initialEpics:o,initialSprints:d,initialTasks:c,onAddTask:M,onUpdateTask:m,onDeleteTask:O,onTaskClick:S,onAddEpic:D})}),l==="planning"&&a("div",{className:"hidden md:block h-full",children:a(W,{tasks:c,epics:o,sprints:d,onUpdateTask:m,onTaskClick:S,onAddSprint:V})}),l==="tasks"&&a("div",{className:"h-full",children:a($,{initialReminders:ke,initialColleagues:Te,onAddReminder:Be,onUpdateReminder:Ne,onDeleteReminder:xe})}),l==="files"&&a("div",{className:"h-full",children:a(I,{initialFiles:ue,onFileAdd:Ge,onFileEdit:He,onFileDelete:Ke,onFileClick:We,compactView:!1})}),l==="epics"&&a("div",{className:"h-full",children:a(G,{tasks:c,epics:o,sprints:d,onUpdateTask:m,onTaskClick:S,onAddTaskToEpic:Ve,onAddEpic:D,onUpdateEpic:j,onDeleteEpic:y})}),a(x,{isOpen:fe,onClose:Ie,onAddTask:M,epics:o,sprints:d,defaultEpicId:De||void 0}),a(N,{isOpen:he,onClose:()=>w(!1),onAddEpic:Fe}),p&&a(H,{isOpen:!!p,onClose:()=>h(null),task:p,onUpdateTask:Pe,onDeleteTask:we,epics:o,sprints:d})]})}export{qe as a};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import{a as r}from"./chunk-MDJREBVI.mjs";import n from"next/link";import p from"next/image";import{jsx as o,jsxs as a}from"react/jsx-runtime";var e={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1400px"};function c({slug:s,image:t,title:i,description:l}){return a(n,{href:s,className:"group/portfolio relative z-1 block aspect-[640/916] overflow-hidden rounded-5 p-6 md:p-[1.875rem]",children:[o("span",{className:r("absolute inset-0 z-[2] bg-gradient-1 from-primary/0 to-primary [transition:all_500ms_ease] md:[transform:perspective(400px)_rotateX(90deg)_scaleY(0.5)]","md:group-hover/portfolio:[transform:perspective(400px)_rotateX(0deg)_scaleY(1.0)] md:group-hover/portfolio:[transition-delay:.1s] md:group-hover/portfolio:[transition:all_.7s_ease]")}),o(p,{src:t.src,alt:t.alt,fill:!0,sizes:`
|
|
2
|
+
(min-width:${e.md}) 50vw,
|
|
3
|
+
(min-width:${e.lg}) 25vw,
|
|
4
|
+
100vw
|
|
5
|
+
`,className:"pointer-events-none [transform:scale(1.05)] [transition:.9s_ease] group-hover/portfolio:[transform:scale(1)]"}),o("div",{className:"relative z-10 flex h-full flex-col",children:a("div",{className:"mt-auto divide-y md:opacity-0 md:transition-[transform,opacity] md:duration-500 md:group-hover/portfolio:opacity-100",children:[o("h3",{className:"overflow-hidden text-md font-bold leading-[1.25] text-white md:text-lg",children:o("span",{className:"block [transition-delay:500ms] [transition:all_.9s_ease] md:[transform:translateY(-100%)] md:group-hover/portfolio:[transform:translateY(0)]",children:i})}),o("p",{className:"mt-[13px] overflow-hidden pt-[11px] text-body",children:o("span",{className:"block [transition-delay:500ms] [transition:all_.9s_ease] md:[transform:translateY(100%)] md:group-hover/portfolio:[transform:translateY(0)]",children:l})})]})})]})}export{c as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-MDJREBVI.mjs";import{jsx as t,jsxs as l}from"react/jsx-runtime";function m({className:s,badge:e,title:o,subtitle:r}){return l("div",{className:a("relative overflow-hidden rounded-xl bg-gradient-to-br from-[#A42368] to-[#A42368] m-6 px-6 py-16 md:px-12 md:py-24",s),children:[l("div",{className:"relative z-10 mx-auto max-w-4xl text-center",children:[e&&t("div",{className:"mb-4",children:t("span",{className:"inline-block rounded-lg bg-[#A42368]/50 px-4 py-1.5 text-sm font-medium text-white backdrop-blur-sm",children:e})}),t("h1",{className:"mt-6 text-3xl font-bold tracking-tight text-white sm:text-4xl md:text-5xl lg:text-6xl",children:o}),t("p",{className:"mt-6 text-base text-gray-300 sm:text-lg md:text-xl",children:r})]}),t("div",{className:"absolute bottom-0 left-1/2 h-48 w-full -translate-x-1/2",style:{background:"radial-gradient(50% 50% at 50% 100%, rgba(164, 35, 104, 0.1) 0%, rgba(164, 35, 104, 0) 100%)"}}),t("div",{className:"absolute bottom-0 left-1/2 h-32 w-full -translate-x-1/2",children:t("svg",{viewBox:"0 0 1113 170",fill:"none",className:"absolute bottom-0 opacity-10",children:t("path",{d:"M-19 170H1113V0C1113 0 1001.5 101.5 547.5 101.5C93.5 101.5 -19 170 -19 170Z",fill:"currentColor",className:"text-white"})})})]})}export{m as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{useState as n,useEffect as m}from"react";function p({taskId:t,polling:s=!0,system:g="payload"}){let[l,i]=n(null),[c,a]=n(!1),[u,f]=n(null),o=async(r=!0)=>{if(t){r&&a(!0);try{let e=await fetch(`/api/tasks/${t}`);if(!e.ok)throw new Error(`Failed to fetch task: ${e.statusText}`);let k=await e.json();i(k)}catch(e){console.error("Error fetching task:",e),f(e instanceof Error?e:new Error("Unknown error occurred"))}finally{r&&a(!1)}}},d=()=>o(!1);return m(()=>{t&&o(!0);let r=null;return t&&s&&(r=setInterval(d,5e3)),()=>{r&&clearInterval(r)}},[t,s]),{task:l,loading:c,error:u}}export{p as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as l}from"./chunk-ZSIYEVUV.mjs";import{a as r}from"./chunk-FT3AE7L2.mjs";import{a as i,b as n,c as o}from"./chunk-SOLZ4VQH.mjs";import{useEffect as p,useRef as u}from"react";import{jsx as e,jsxs as a}from"react/jsx-runtime";function N({messages:t,isLoading:c}){let s=u(null);return p(()=>{s.current?.scrollIntoView({behavior:"smooth"})},[t]),e("div",{className:"flex flex-col h-full overflow-hidden",children:a(r,{className:"container flex-1 p-4",children:[a("div",{className:"space-y-6",children:[t.length===0&&e("div",{className:"flex items-center justify-center h-full pt-60",children:a("div",{className:"text-center max-w-md",children:[e("h2",{className:"text-2xl font-bold mb-2",children:"Welcome to Dexter"}),e("p",{className:"text-zinc-400",children:"Ask me anything or direct your question to a business function directly using the toolbar below."})]})}),c&&a("div",{className:"flex items-start gap-3",children:[a(i,{className:"ai-border",children:[e(n,{src:"/placeholder.svg?height=40&width=40",alt:"AI Assistant"}),e(o,{children:"AI"})]}),a("div",{className:"grid gap-1.5",children:[e("div",{className:"flex items-center gap-2",children:e("span",{className:"font-medium",children:"AI Assistant"})}),e("div",{className:"rounded-lg p-3 text-sm bg-muted",children:a("div",{className:"flex space-x-2",children:[e("div",{className:"w-2 h-2 rounded-full bg-current animate-bounce"}),e("div",{className:"w-2 h-2 rounded-full bg-current animate-bounce [animation-delay:0.2s]"}),e("div",{className:"w-2 h-2 rounded-full bg-current animate-bounce [animation-delay:0.4s]"})]})})]})]}),t.map((m,d)=>e(l,{...m},d))]}),e("div",{ref:s})]})})}export{N as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as e}from"./chunk-MDJREBVI.mjs";function o({className:r}){return e("flex items-center min-h-[3.5rem] md:min-h-[3.75rem] w-full rounded-5 px-4 md:px-5 py-2"," bg-transparent text-accent-800 placeholder:text-accent-800 dark:text-body dark:placeholder:text-body"," border border-solid border-accent-900 border-opacity-20 dark:border-opacity-20 dark:border-accent-200"," focus:border-accent-900 focus:ring-0 focus-visible:outline-0 focus-visible:ring-0 focus-visible:ring-offset-0","transition-all duration-300",r)}export{o as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as o}from"./chunk-MGYV46AJ.mjs";import{jsx as e}from"react/jsx-runtime";var c=({className:r,code:t,language:p})=>e("div",{className:[r,"not-prose"].filter(Boolean).join(" "),children:e(o,{code:t,language:p})});export{c as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as u,b as p,c}from"./chunk-RLVKIMGU.mjs";import{a as t,b as l,i as s,j as d}from"./chunk-OCPX4QPC.mjs";import{b as m}from"./chunk-ZUA4KNIR.mjs";import{motion as g}from"framer-motion";import{ChevronDown as x}from"lucide-react";import{jsx as a,jsxs as o}from"react/jsx-runtime";function M({activeTab:i,onTabChange:r,tabOptions:n,className:v="",maxWidth:f="700px",gridCols:h=6}){let w=n.find(e=>e.value===i);return o(g.div,{className:`flex-1 flex justify-center ${v}`,initial:{opacity:0,y:-20},animate:{opacity:1,y:0},transition:{duration:.3,ease:"easeOut"},children:[a("div",{className:"hidden md:block",children:a(u,{value:i,onValueChange:r,children:a(p,{className:"grid w-full rounded-2xl p-0 h-10",style:{maxWidth:f,gridTemplateColumns:`repeat(${Math.min(h,n.length)}, minmax(0, 1fr))`},children:n.map(e=>a(g.div,{whileHover:{scale:1.1},whileTap:{scale:.98},transition:{type:"spring",stiffness:400,damping:17},className:"flex-1 px-2",children:a(c,{value:e.value,className:"w-full h-8 rounded-xl data-[state=active]:rounded-xl transition-all duration-200 hover:border hover:border-accent hover:bg-accent/10 px-4 py-2 text-sm font-medium",children:e.label})},e.value))})})}),a("div",{className:"md:hidden",children:o(t,{children:[a(l,{asChild:!0,children:o(m,{variant:"outline",className:"rounded-2xl min-w-[140px] justify-between",children:[w?.label||"Select",a(x,{className:"h-4 w-4 ml-2"})]})}),a(s,{align:"center",className:"w-[180px]",children:n.map(e=>a(d,{onClick:()=>r?.(e.value),className:`cursor-pointer ${i===e.value?"bg-accent":""}`,children:e.label},e.value))})]})})]})}export{M as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{f as r}from"./chunk-IUT6JJHY.mjs";import{jsx as e}from"react/jsx-runtime";var c=({children:o,richText:t})=>e("div",{className:"min-w-full py-10 bg-muted mt-24",children:e("div",{className:"container",children:o||t&&e(r,{content:t,enableGutter:!1})})});export{c as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as r}from"./chunk-ZWHGOTSF.mjs";import{clsx as t}from"clsx";function s(...e){return r(t(e))}export{s as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as o}from"./chunk-CGDLOY7W.mjs";import{Highlight as i,themes as d}from"prism-react-renderer";import{jsx as e,jsxs as s}from"react/jsx-runtime";var u=({code:t,language:l=""})=>t?e(i,{code:t,language:l,theme:d.vsDark,children:({getLineProps:p,getTokenProps:n,tokens:m})=>s("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[m.map((a,r)=>s("div",{...p({className:"table-row",line:a}),children:[e("span",{className:"table-cell select-none text-right text-white/25",children:r+1}),e("span",{className:"table-cell pl-4",children:a.map((c,g)=>e("span",{...n({token:c})},g))})]},r)),e(o,{code:t})]})}):null;export{u as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{b as t}from"./chunk-ZUA4KNIR.mjs";import{a as r,b as i,c as m,d as l,e as n,f as o}from"./chunk-YO3GQYRJ.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 r}from"./chunk-7WIO2CIC.mjs";import a from"next/image";import{jsx as t,jsxs as i}from"react/jsx-runtime";var n=({title:o,image:e})=>t("div",{children:i("div",{className:"sticky top-0 h-[50vh] min-h-[400px]",children:[t("div",{className:"fixed inset-0 container mt-24 mb-8 z-10 flex items-start justify-start",children:t("h1",{className:"text-5xl md:text-6xl",children:o})}),i("div",{className:"fixed inset-0 h-[50vh] min-h-[400px] select-none",children:[e&&typeof e=="object"&&t(a,{priority:!0,src:e.src,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"}),e&&typeof e=="string"&&t("div",{children:t(a,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:e})}),t("span",{className:"absolute inset-0 bg-gradient-to-b from-white dark:from-black"})]}),t(r,{className:"text-black z-10",position:"header"})]})});export{n as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as i}from"./chunk-ZUA4KNIR.mjs";import{a}from"./chunk-WISCWNL2.mjs";import{a as c}from"./chunk-FVM5SQT2.mjs";import{a as o}from"./chunk-MDJREBVI.mjs";import{jsx as e,jsxs as n}from"react/jsx-runtime";function m(r){return r&&typeof r=="object"&&"type"in r&&"iconName"in r}function h({icon:r,title:s,description:p,slug:t}){return n("article",{className:o(["group/service bg-card shadow-3 transition-transform duration-350 dark:shadow-none","relative z-1 block h-full space-y-6 overflow-hidden rounded-5 p-6 md:space-y-7 md:p-10","hover:[transform:translateY(-.5rem)]"]),children:[n("div",{className:"flex items-center text-foreground gap-5",children:[e("span",{className:"flex-none text-[2.5rem] transition-all duration-300 group-hover/service:scale-90 group-hover/service:text-accent md:text-[4rem]",children:m(r)?e(c,{type:r.type,iconName:r.iconName,size:"sm"}):r}),e("h2",{className:"text-md font-medium leading-[1.25] md:text-lg",children:t?e(a,{href:t,children:s}):s})]}),e("p",{className:"text-foreground",children:p}),t&&e(i,{asChild:!0,className:o(["rounded-5 border p-5","group-hover/service:border-accent","border-current bg-transparent text-foreground hover:bg-transparent hover:text-accent","before:hidden after:hidden"]),children:n(a,{href:t,children:[e("span",{children:"Read More"}),e("span",{className:"relative pl-3 text-sm/[1] text-accent",children:e("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M11.8125 5.75C11.8125 6.24219 11.4023 6.65234 10.9375 6.65234H7V10.5898C7 11.0547 6.58984 11.4375 6.125 11.4375C5.63281 11.4375 5.25 11.0547 5.25 10.5898V6.65234H1.3125C0.820312 6.65234 0.4375 6.24219 0.4375 5.75C0.4375 5.28516 0.820312 4.90234 1.3125 4.90234H5.25V0.964844C5.25 0.472656 5.63281 0.0625 6.125 0.0625C6.58984 0.0625 7 0.472656 7 0.964844V4.90234H10.9375C11.4023 4.875 11.8125 5.28516 11.8125 5.75Z"})})})]})}),e("span",{className:"invisible absolute bottom-0 left-0 h-[2px] w-full scale-x-[30%] bg-accent opacity-0 transition-all duration-400 group-hover/service:visible group-hover/service:scale-x-100 group-hover/service:opacity-100"})]})}export{h as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as E}from"./chunk-6DEY5ZDD.mjs";import{a as A}from"./chunk-2NMVE5M4.mjs";import{b as p}from"./chunk-ZUA4KNIR.mjs";import{b as d}from"./chunk-CSBGSBEU.mjs";import{a as n}from"./chunk-YO3GQYRJ.mjs";import{useState as i}from"react";import{Calendar as K,Plus as Q}from"lucide-react";import{jsx as t,jsxs as s}from"react/jsx-runtime";var ne=({tasks:u,epics:B,sprints:v,onUpdateTask:I,onTaskClick:P,onAddSprint:O})=>{let[l,j]=i(["2"]),[c,f]=i(null),[R,o]=i(!1),[b,m]=i(null),g=u.filter(e=>!e.sprintId),$=u.filter(e=>e.sprintId&&l.includes(e.sprintId)),h=[...v].filter(e=>e.id!=="backlog"&&e.id!=="all-tasks").sort((e,a)=>e.startDate.getTime()-a.startDate.getTime()),V=e=>B.find(a=>a.id===e),M=e=>v.find(a=>a.id===e),U=e=>{switch(e){case"high":return"bg-destructive/20 text-destructive";case"medium":return"bg-warning/20 text-warning";case"low":return"bg-success/20 text-success";default:return"bg-muted text-muted-foreground"}},z=e=>e.split(" ").map(a=>a[0]).join("").toUpperCase(),F=e=>{f(e)},x=e=>{e.preventDefault()},N=e=>{m(e)},y=()=>{m(null)},D=(e,a)=>{e.preventDefault(),m(null),c&&(I(c.id,{sprintId:a==="backlog"?void 0:a}),f(null))},L=e=>{e==="backlog"||e==="all-tasks"||j(a=>a.includes(e)?a.filter(r=>r!==e):[...a,e])},H=e=>{O(e),o(!1)},k=({task:e,showSprint:a=!1})=>{let r=V(e.epicId),w=e.sprintId?M(e.sprintId):null,[S,C]=i(!1),q=T=>{T.defaultPrevented||S||P(e)},G=T=>{C(!0),F(e)},J=()=>{C(!1)};return t(n,{className:`p-3 cursor-grab transition-all duration-200 hover:shadow-md bg-card border-border hover:border-border/80 active:cursor-grabbing ${S?"opacity-50 shadow-lg scale-105":""} ${c?.id===e.id?"ring-2 ring-primary":""}`,draggable:!0,onDragStart:G,onDragEnd:J,onClick:q,children:s("div",{className:"space-y-2",children:[s("div",{className:"flex items-start justify-between",children:[t("h4",{className:"font-medium text-sm text-foreground line-clamp-1 select-none pointer-events-none",children:e.title}),t(d,{className:`text-xs select-none pointer-events-none ${U(e.priority)}`,children:e.priority[0].toUpperCase()})]}),s("div",{className:"flex items-center justify-between text-xs pointer-events-none",children:[s("div",{className:"flex items-center gap-1",children:[r&&t("div",{className:`w-2 h-2 rounded-full ${r.color}`}),t("span",{className:"text-muted-foreground truncate select-none",children:r?.name})]}),t("span",{className:"text-muted-foreground select-none",children:z(e.assignee)})]}),a&&w&&s("div",{className:"flex items-center gap-1 text-xs text-muted-foreground pointer-events-none",children:[t(K,{className:"h-3 w-3"}),t("span",{className:"select-none",children:w.name})]})]})})};return s("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[t(A,{title:"Sprint Planning",description:"Plan and organize tasks across sprints and manage your development timeline.",gradient:"bg-gradient-to-r from-orange-600 via-amber-600 to-yellow-600",primaryAction:{label:"Add sprint",onClick:()=>o(!0)}}),t("div",{className:"flex-1",children:s("div",{className:"w-full",children:[s("div",{className:"grid grid-cols-1 lg:grid-cols-4 gap-6 h-full",children:[t("div",{className:"lg:col-span-1",children:s(n,{className:"p-4 h-full bg-card shadow-sm",onDragOver:x,onDragEnter:()=>N("backlog"),onDragLeave:y,onDrop:e=>D(e,"backlog"),children:[s("div",{className:"flex items-center justify-between mb-4",children:[t("h3",{className:"font-semibold text-foreground select-none",children:"Backlog"}),t(d,{variant:"secondary",className:"bg-muted text-muted-foreground",children:g.length})]}),s("div",{className:`space-y-3 overflow-y-auto max-h-[600px] min-h-[200px] border-2 border-dashed rounded p-3 transition-colors ${b==="backlog"?"border-primary bg-primary/10":"border-border"}`,children:[g.map(e=>t(k,{task:e},e.id)),g.length===0&&t("div",{className:"flex items-center justify-center h-32 text-muted-foreground text-sm select-none",children:"Drop tasks here to move to backlog"})]})]})}),t("div",{className:"lg:col-span-3",children:s("div",{className:"space-y-4",children:[s(n,{className:"p-4 bg-card shadow-sm",children:[s("div",{className:"flex items-center justify-between mb-3",children:[t("h3",{className:"font-semibold text-foreground select-none",children:"Select Sprints to View"}),s(p,{onClick:()=>o(!0),className:"bg-primary hover:bg-primary/90 text-primary-foreground gap-2",size:"sm",children:[t(Q,{className:"h-4 w-4"}),"Add Sprint"]})]}),t("div",{className:"grid grid-cols-2 md:grid-cols-3 gap-2",children:h.map(e=>s(p,{variant:l.includes(e.id)?"default":"outline",size:"sm",onClick:()=>L(e.id),className:"text-xs h-8",children:[e.name,e.isActive&&t("span",{className:"ml-1 text-success",children:"\u25CF"})]},e.id))})]}),t("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:l.map(e=>h.find(a=>a.id===e)).filter(Boolean).sort((e,a)=>e.startDate.getTime()-a.startDate.getTime()).map(e=>{let a=$.filter(r=>r.sprintId===e.id);return s(n,{className:"p-4 bg-card shadow-sm",onDragOver:x,onDragEnter:()=>N(e.id),onDragLeave:y,onDrop:r=>D(r,e.id),children:[s("div",{className:"flex items-center justify-between mb-4",children:[s("div",{children:[t("h3",{className:"font-semibold text-foreground select-none",children:e.name}),e.isActive&&t("span",{className:"text-xs text-success font-medium select-none",children:"Active Sprint"})]}),t(d,{variant:"secondary",className:"bg-muted text-muted-foreground",children:a.length})]}),s("div",{className:`space-y-3 overflow-y-auto max-h-[500px] min-h-[200px] border-2 border-dashed rounded p-3 transition-colors ${b===e.id?"border-primary bg-primary/10":"border-border"}`,children:[a.map(r=>t(k,{task:r},r.id)),a.length===0&&t("div",{className:"flex items-center justify-center h-32 text-muted-foreground text-sm select-none",children:"Drop tasks here"})]})]},e.id)})})," "]})})]}),t(E,{isOpen:R,onClose:()=>o(!1),onAddSprint:H})]})})]})};export{ne as a};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var I=1,_=3,o=0,E=1,T=2,S=0,r=1,n=2,c=1,R=2,L=4,p=8,s=16,N=32,x=64,A=128,F=255,G=1,u=2,O=1,D=2,i=3,l=4,C=5,m=6,a="\xA0";var d=`
|
|
2
|
+
|
|
3
|
+
`,t="\u0591-\u07FF\uFB1D-\uFDFD\uFE70-\uFEFC",e="A-Za-z\xC0-\xD6\xD8-\xF6\xF8-\u02B8\u0300-\u0590\u0800-\u1FFF\u200E\u2C00-\uFB1C\uFE00-\uFE6F\uFEFD-\uFFFF",M=new RegExp("^[^"+e+"]*["+t+"]"),H=new RegExp("^[^"+t+"]*["+e+"]"),P={bold:1,code:16,highlight:128,italic:2,strikethrough:4,subscript:32,superscript:64,underline:8},U={directionless:1,unmergeable:2},y={center:2,end:6,justify:4,left:1,right:3,start:5},B={2:"center",6:"end",4:"justify",1:"left",3:"right",5:"start"},Y={normal:0,segmented:2,token:1},g={0:"normal",2:"segmented",1:"token"};export{I as a,_ as b,o as c,E as d,T as e,S as f,r as g,n as h,c as i,R as j,L as k,p as l,s as m,N as n,x as o,A as p,F as q,G as r,u as s,O as t,D as u,i as v,l as w,C as x,m as y,a as z,d as A,M as B,H as C,P as D,U as E,y as F,B as G,Y as H,g as I};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as w}from"./chunk-SNZ5BAQQ.mjs";import{a as g}from"./chunk-B4H6T2GP.mjs";import{a as p}from"./chunk-TVZOULLL.mjs";import{a as C}from"./chunk-L5JPAKPM.mjs";import{b as u}from"./chunk-ZUA4KNIR.mjs";import{b as h}from"./chunk-CSBGSBEU.mjs";import{a as k,b as N,c as S,e as x}from"./chunk-YO3GQYRJ.mjs";import{useState as b,useEffect as J}from"react";import{Bot as O,Plus as W,X,Edit as _}from"lucide-react";import{jsx as a,jsxs as o}from"react/jsx-runtime";function le({colleague:d,onSave:I,onCancel:A,isLoading:i=!1,title:F,submitLabel:K,cancelLabel:B="Cancel",readOnly:E=!1,availableKnowledgeDocuments:D=[]}){let[e,r]=b({type:"digital",name:"",description:"",jobDescription:"",workInstructions:"",capabilities:[],knowledge:[],coreKnowledge:[],version:"1",...d}),[G,Q]=b(""),[j,P]=b(""),[l,T]=b(!E);J(()=>{d&&r(d)},[d]);let R=t=>{t.preventDefault();let s=e.version?parseInt(e.version):0,n=d?(s+1).toString():"1",c={id:e.id||Date.now().toString(),name:e.name,type:"digital",status:"active",joinedDate:e.joinedDate||new Date,lastActive:e.lastActive||new Date,description:e.description,jobDescription:e.jobDescription||"",workInstructions:e.workInstructions||"",capabilities:e.capabilities||[],knowledge:e.knowledge||[],coreKnowledge:e.coreKnowledge||[],version:n,lastUpdated:e.lastUpdated||new Date,isActive:!0};I(c)},f=(t,s,n)=>{if(!s.trim())return;let c=e[t]||[];r({...e,[t]:[...c,s.trim()]}),n("")},U=(t,s)=>{let n=e[t]||[];r({...e,[t]:n.filter((c,v)=>v!==s)})},$=t=>{t.preventDefault(),T(!l)},q=(t,s,n,c,v)=>{let M=e[t]||[];return o("div",{className:"space-y-2",children:[a(p,{children:s}),l&&o("div",{className:"flex gap-2",children:[a(C,{value:n,onChange:m=>c(m.target.value),placeholder:v,onKeyPress:m=>{m.key==="Enter"&&(m.preventDefault(),f(t,n,c))},disabled:i}),a(u,{type:"button",variant:"outline",size:"icon",onClick:()=>f(t,n,c),disabled:i,children:a(W,{className:"h-4 w-4"})})]}),a("div",{className:"flex flex-wrap gap-2",children:M.map((m,y)=>o(h,{className:"gap-1",children:[m,l&&a(u,{type:"button",variant:"ghost",size:"icon",className:"h-4 w-4 p-0 hover:bg-accent hover:text-accent-foreground",onClick:()=>U(t,y),disabled:i,children:a(X,{className:"h-3 w-3"})})]},`${t}-${y}-${m}`))})]})},z=F||(l?d?"Edit Colleague":"Add New Colleague":"View Colleague"),H=K||(d?"Update Colleague":"Add Colleague");return o(k,{className:"m-8 w-full max-w-4xl mx-auto",children:[a(N,{children:o(S,{className:"flex items-center gap-2",children:[a(O,{className:"h-5 w-5"}),z]})}),a(x,{children:o("form",{onSubmit:R,className:"space-y-6",children:[o("div",{className:"space-y-4",children:[o("div",{className:"space-y-2",children:[a(p,{htmlFor:"name",children:"Name *"}),a(C,{id:"name",value:e.name||"",onChange:t=>r({...e,name:t.target.value}),required:!0,disabled:i||!l})]}),o("div",{className:"space-y-2",children:[a(p,{htmlFor:"description",children:"Description"}),a(g,{id:"description",value:e.description||"",onChange:t=>r({...e,description:t.target.value}),rows:3,placeholder:"Brief description of this digital colleague...",disabled:i||!l})]})]}),o("div",{className:"space-y-4",children:[a("h3",{className:"text-lg font-semibold",children:"Digital Colleague Details"}),o("div",{className:"space-y-2",children:[a(p,{htmlFor:"jobDescription",children:"Job Description *"}),a(g,{id:"jobDescription",value:e.jobDescription||"",onChange:t=>r({...e,jobDescription:t.target.value}),rows:4,required:e.type==="digital",disabled:i||!l})]}),o("div",{className:"space-y-2",children:[a(p,{htmlFor:"workInstructions",children:"Work Instructions"}),a(g,{id:"workInstructions",value:e.workInstructions||"",onChange:t=>r({...e,workInstructions:t.target.value}),rows:4,placeholder:"Enter detailed work instructions for this digital colleague...",disabled:i||!l})]}),q("capabilities","Capabilities",j,P,"Add capability"),a(w,{selectedDocuments:e.knowledge||[],onDocumentsChange:t=>r({...e,knowledge:t}),label:"Knowledge",placeholder:"Search for knowledge documents to add...",disabled:i||!l,availableDocuments:D}),a(w,{selectedDocuments:e.coreKnowledge||[],onDocumentsChange:t=>r({...e,coreKnowledge:t}),label:"Core Knowledge",placeholder:"Search for core knowledge documents...",maxSelections:5,disabled:i||!l,availableDocuments:D})]}),o("div",{className:"flex justify-end gap-2 pt-4 border-t",children:[a(u,{type:"button",variant:"outline",onClick:A,disabled:i,children:l?B:"Close"}),l?a(u,{type:"submit",disabled:i,children:i?"Saving...":H}):o(u,{type:"button",onClick:$,disabled:i,className:"gap-2",children:[a(_,{className:"h-4 w-4"}),"Edit"]})]})]})})]})}export{le as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a}from"./chunk-MDJREBVI.mjs";import*as d from"react";import*as e from"@radix-ui/react-dropdown-menu";import{CheckIcon as m,ChevronRightIcon as u,DotFilledIcon as c}from"@radix-ui/react-icons";import{jsx as i,jsxs as s}from"react/jsx-runtime";var h=e.Root,N=e.Trigger,x=e.Group,I=e.Portal,C=e.Sub,S=e.RadioGroup,l=d.forwardRef(({className:o,inset:t,children:n,...r},p)=>s(e.SubTrigger,{ref:p,className:a("flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",t&&"pl-8",o),...r,children:[n,i(u,{className:"ml-auto"})]}));l.displayName=e.SubTrigger.displayName;var f=d.forwardRef(({className:o,...t},n)=>i(e.SubContent,{ref:n,className:a("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",o),...t}));f.displayName=e.SubContent.displayName;var w=d.forwardRef(({className:o,sideOffset:t=4,...n},r)=>i(e.Portal,{children:i(e.Content,{ref:r,sideOffset:t,className:a("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",o),...n})}));w.displayName=e.Content.displayName;var v=d.forwardRef(({className:o,inset:t,...n},r)=>i(e.Item,{ref:r,className:a("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",t&&"pl-8",o),...n}));v.displayName=e.Item.displayName;var M=d.forwardRef(({className:o,children:t,checked:n,...r},p)=>s(e.CheckboxItem,{ref:p,className:a("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",o),checked:n,...r,children:[i("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:i(e.ItemIndicator,{children:i(m,{className:"h-4 w-4"})})}),t]}));M.displayName=e.CheckboxItem.displayName;var D=d.forwardRef(({className:o,children:t,...n},r)=>s(e.RadioItem,{ref:r,className:a("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",o),...n,children:[i("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:i(e.ItemIndicator,{children:i(c,{className:"h-4 w-4 fill-current"})})}),t]}));D.displayName=e.RadioItem.displayName;var P=d.forwardRef(({className:o,inset:t,...n},r)=>i(e.Label,{ref:r,className:a("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",o),...n}));P.displayName=e.Label.displayName;var R=d.forwardRef(({className:o,...t},n)=>i(e.Separator,{ref:n,className:a("-mx-1 my-1 h-px bg-muted",o),...t}));R.displayName=e.Separator.displayName;var b=({className:o,...t})=>i("span",{className:a("ml-auto text-xs tracking-widest opacity-60",o),...t});b.displayName="DropdownMenuShortcut";export{h as a,N as b,x as c,I as d,C as e,S as f,l as g,f as h,w as i,v as j,M as k,D as l,P as m,R as n,b as o};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as f}from"./chunk-GS2VFNHY.mjs";import{a as g}from"./chunk-7EXAS7HK.mjs";import{a as v}from"./chunk-TZKQXT7Y.mjs";import{a as y}from"./chunk-5AWZJAK3.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{a as C}from"./chunk-KGEIN56Y.mjs";import{f as g}from"./chunk-IUT6JJHY.mjs";import{b as f}from"./chunk-ZUA4KNIR.mjs";import{a as c,b as x,c as v,e as p}from"./chunk-YO3GQYRJ.mjs";import{a as b}from"./chunk-FMJBJ3HN.mjs";import{a as h}from"./chunk-WISCWNL2.mjs";import{a as u}from"./chunk-KML6U7IE.mjs";import U from"next/image";import{notFound as M}from"next/navigation";import w from"next/link";import{FaLinkedin as I}from"react-icons/fa6";import{jsx as e,jsxs as s}from"react/jsx-runtime";function L({image:t,name:i,about:l,socialLinks:o}){return!t||!t.src||t.src.length<3||!i?null:e("div",{className:"mt-1 z-10 px-0 pt-0 lg:px-10",children:e(c,{children:s(p,{className:"flex flex-col items-center",children:[t&&t.src&&e(U,{src:t.src,alt:t.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:u,className:"mx-auto mt-6 rounded-full object-cover"}),s("h3",{className:"flex items-center ali font-secondary text-center py-2 text-lg leading-[1.25] text-accent md:text-xl",children:[i,o&&o.length>0&&e("nav",{"aria-label":"social links",children:e("ul",{className:"inline-flex items-center divide-x divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:o.map((a,m)=>a.href&&e("li",{children:e(h,{href:a.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 hover:text-accents",children:e("span",{children:a.icon})})},m))})})]}),e("p",{children:l})]})})})}function j({page:t,categoryList:i,edit:l=!1,path:o="/admin/collections/posts/"}){if(!t)return M();let{meta:a,populatedAuthors:m,authors:P,categories:N,content:k,title:y}=t,A={image:{src:a&&a.image&&a.image.url||void 0,alt:a&&a.image&&a.image.alt||void 0},authorName:m?.[0]?.name||"",category:N,commentCount:0,title:y,description:a?.description||""},d=P?.map(r=>{let n=r.profilePicture&&r.profilePicture.sizes?.square?.url||r.profilePicture&&r.profilePicture.sizes?.thumbnail?.url||"";return console.log("val:",n),{name:r.name||"",about:r.about||"",image:{src:n,alt:r.name||"blog author"},socialLinks:[{icon:e(I,{}),href:r.linkedIn??""}]}});return console.log(d),e(b,{children:s("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[e("div",{children:s("div",{className:"[&_p+P]:mt-4",children:[e("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),e(g,{content:k,enableGutter:!1,className:"prose-invert"})]})}),s("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[l&&e("div",{className:"mt-4 lg:-mt-10 z-10 px-0 pt-0 lg:px-10",children:s(c,{children:[e(x,{children:e(v,{className:"text-accent",children:"Content Actions"})}),s(p,{children:[e("p",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),e(w,{href:`${o}${t.id}`,children:e(f,{variant:"outline",className:"w-full text-accent hover:text-foreground",children:"Edit"})})]})]})}),d&&d.map((r,n)=>e(L,{...r},n)),i&&i.links&&e("div",{className:"mt-4 px-0 pt-0 lg:px-10",children:e(C,{links:i.links,title:i.title})})]})]})})}export{j as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{b as a}from"./chunk-ZUA4KNIR.mjs";import{a as n}from"./chunk-MDJREBVI.mjs";import{useState as u}from"react";import{useSearchParams as h,usePathname as l,useRouter as d}from"next/navigation";import{jsx as s}from"react/jsx-runtime";function w({types:r}){let[o,c]=u(r&&r[0].href),f=h(),m=l(),{replace:p}=d();function i(e){let t=new URLSearchParams(f);e?t.set("type",e):t.delete("type"),c(e),p(`${m}?${t.toString()}`)}return s("div",{className:"flex gap-2 flex-wrap items-center justify-center overflow-x-auto pb-4 mb-6",children:r&&r.map((e,t)=>s(a,{variant:e.href===o?"default":"ghost",className:n("rounded-full whitespace-nowrap text-foreground border border-accent hover:bg-accent hover:text-accent-foreground",e.href===o&&"bg-accent text-accent-foreground"),onClick:()=>i(e.href),children:e.label},t))})}export{w as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as c,c as d,d as p,g as m,i as g}from"./chunk-YFAZQYK4.mjs";import{a as f}from"./chunk-B4H6T2GP.mjs";import{a as i}from"./chunk-TVZOULLL.mjs";import{a as v,f as b,g as D,h,i as S}from"./chunk-3UMMMQEH.mjs";import{a as o}from"./chunk-L5JPAKPM.mjs";import{b as s}from"./chunk-ZUA4KNIR.mjs";import{useState as O}from"react";import{jsx as a,jsxs as l}from"react/jsx-runtime";var R=({isOpen:y,onClose:r,onAddEpic:C})=>{let[t,u]=O({name:"",description:"",color:"bg-blue-500",confidence:"medium",phase:1,startDate:new Date().toISOString().split("T")[0],endDate:new Date().toISOString().split("T")[0],progress:0}),N=["bg-blue-500","bg-green-500","bg-purple-500","bg-orange-500","bg-red-500","bg-yellow-500","bg-pink-500","bg-indigo-500"],w=[{value:"low",label:"Low"},{value:"medium",label:"Medium"},{value:"high",label:"High"}],E=[{value:1,label:"Planning"},{value:2,label:"Development"},{value:3,label:"Testing"},{value:4,label:"Done"}],T=e=>{e.preventDefault(),t.name.trim()&&(C({name:t.name.trim(),description:t.description.trim(),color:t.color,confidence:t.confidence,phase:t.phase,startDate:new Date(t.startDate),endDate:new Date(t.endDate),progress:t.progress,isSelected:!0}),u({name:"",description:"",color:"bg-blue-500",confidence:"medium",phase:1,startDate:new Date().toISOString().split("T")[0],endDate:new Date().toISOString().split("T")[0],progress:0}),r())},n=(e,I)=>{u(L=>({...L,[e]:I}))};return a(v,{open:y,onOpenChange:r,children:l(b,{className:"sm:max-w-md",children:[a(D,{children:a(S,{children:"Add New Epic"})}),l("form",{onSubmit:T,className:"space-y-4",children:[l("div",{className:"space-y-2",children:[a(i,{htmlFor:"name",children:"Epic Name"}),a(o,{id:"name",value:t.name,onChange:e=>n("name",e.target.value),placeholder:"Enter epic name",required:!0})]}),l("div",{className:"space-y-2",children:[a(i,{htmlFor:"description",children:"Description"}),a(f,{id:"description",value:t.description,onChange:e=>n("description",e.target.value),placeholder:"Enter epic description (optional)",rows:3})]}),l("div",{className:"space-y-2",children:[a(i,{children:"Color"}),a("div",{className:"flex gap-2 flex-wrap",children:N.map(e=>a("button",{type:"button",onClick:()=>n("color",e),className:`w-8 h-8 rounded-full ${e} ${t.color===e?"ring-2 ring-gray-400":""}`},e))})]}),l("div",{className:"grid grid-cols-2 gap-4",children:[l("div",{className:"space-y-2",children:[a(i,{children:"Confidence"}),l(c,{value:t.confidence,onValueChange:e=>n("confidence",e),children:[a(p,{children:a(d,{})}),a(m,{children:w.map(e=>a(g,{value:e.value,children:e.label},e.value))})]})]}),l("div",{className:"space-y-2",children:[a(i,{children:"Phase"}),l(c,{value:t.phase.toString(),onValueChange:e=>n("phase",parseInt(e)),children:[a(p,{children:a(d,{})}),a(m,{children:E.map(e=>a(g,{value:e.value.toString(),children:e.label},e.value))})]})]})]}),l("div",{className:"grid grid-cols-2 gap-4",children:[l("div",{className:"space-y-2",children:[a(i,{children:"Start Date"}),a(o,{type:"date",value:t.startDate,onChange:e=>n("startDate",e.target.value)})]}),l("div",{className:"space-y-2",children:[a(i,{children:"End Date"}),a(o,{type:"date",value:t.endDate,onChange:e=>n("endDate",e.target.value)})]})]}),l("div",{className:"space-y-2",children:[a(i,{children:"Progress (%)"}),a(o,{type:"number",min:"0",max:"100",value:t.progress,onChange:e=>n("progress",parseInt(e.target.value)||0)})]}),l(h,{children:[a(s,{type:"button",variant:"outline",onClick:r,children:"Cancel"}),a(s,{type:"submit",className:"bg-blue-600 hover:bg-blue-700",children:"Add Epic"})]})]})]})})};export{R as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as e,b as i,c as T,e as n,f as p,g as m}from"./chunk-5NRGSTPV.mjs";import{c as r}from"./chunk-CV7PH2KH.mjs";import{jsx as o,jsxs as t}from"react/jsx-runtime";function g(){let{toasts:c}=r();return t(e,{children:[c.map(function({id:f,title:s,description:a,action:u,...d}){return t(T,{...d,children:[t("div",{className:"grid gap-1",children:[s&&o(p,{children:s}),a&&o(m,{children:a})]}),u,o(n,{})]},f)}),o(i,{})]})}export{g as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as c}from"./chunk-Q5XT55O3.mjs";import{a as h}from"./chunk-MDJREBVI.mjs";import{useState as d,useEffect as b}from"react";import{Dialog as k,DialogPanel as N,Disclosure as w,DisclosureButton as x,DisclosurePanel as D}from"@headlessui/react";import{Bars3Icon as S,XMarkIcon as M}from"@heroicons/react/24/outline";import{useTheme as P}from"next-themes";import{Fragment as H,jsx as e,jsxs as r}from"react/jsx-runtime";var m=["light","dark"];function _({logoLight:o,logoDark:a,menuItems:l,isMenuOpen:n=!0}){let[s,u]=d(!1),{theme:g,setTheme:v}=P(),[p,i]=d(!1),[y,f]=d("light");b(()=>{let t=()=>{window.scrollY>100?u(!0):u(!1)};return window.addEventListener("scroll",t,{passive:!0}),()=>window.removeEventListener("scroll",t)},[]),b(()=>{f(g||"dark")},[g]);let T=()=>{let t=m[(m.indexOf(y)+1)%m.length];f(t),v(t)};return e(H,{children:r("header",{className:`z-50 pb-10 transition-all duration-300 block lg:hidden ${s||n?"translate-y-0":"-translate-y-full bg-transparent"}`,children:[e("nav",{className:h("backdrop-blur-sm text-white p-0",p&&"hidden"),children:r("div",{className:"flex items-stretch justify-between bg-background px-2 py-0 dark:bg-[#212124] [&_.logo-light]:[filter:brightness(0)_invert(1)] dark:border-b dark:border-accent",children:[e(c,{logoDark:a,logoLight:o,mobile:!0}),e("div",{className:"flex items-center space-x-4",children:r("button",{type:"button",onClick:()=>i(!0),className:"fixed right-4 z-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",children:[e("span",{className:"sr-only",children:"Open main menu"}),e(S,{"aria-hidden":"true",className:"h-4 w-4"})]})})]})}),r(k,{open:p,onClose:i,className:"lg:hidden",children:[e("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),r(N,{className:"fixed inset-y-0 right-0 z-20 w-full overflow-y-auto bg-background dark:bg-[#212124] px-2 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[r("div",{className:"flex items-stretch justify-between",children:[e(c,{logoDark:a,logoLight:o,mobile:!0}),r("button",{type:"button",onClick:()=>i(!1),className:"-m-2.5 rounded-md p-2.5 text-foreground dark:text-foreground outline-none hover:text-accent",children:[e("span",{className:"sr-only",children:"Close menu"}),e(M,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),e("div",{className:"mt-6 flow-root",children:e("div",{className:"-my-6 divide-y divide-gray-500/10",children:e("div",{className:"space-y-2 px-2 py-6",children:l&&l.map(t=>e(I,{...t},t.name))})})})]})]})]})})}function I({name:o,items:a,actions:l,href:n}){return!a&&n?e("a",{href:n,className:"-mx-3 block rounded-lg px-3 py-2 text-base dark:text-foreground text-foreground hover:bg-gray-50 hover:text-accent",children:o}):r(w,{as:"div",className:"-mx-3",children:[e(x,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base dark:text-foreground text-foreground hover:bg-gray-50 hover:text-accent",children:o}),e(D,{className:"mt-2 space-y-2",children:a&&a.map(s=>e(x,{as:"a",href:s.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm dark:text-foreground text-foreground hover:bg-gray-50 hover:text-accent",children:s.name},s.name))})]})}export{_ as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as c}from"./chunk-5RTGHMF3.mjs";import{b as s}from"./chunk-ZUA4KNIR.mjs";import{b as t}from"./chunk-CSBGSBEU.mjs";import{a as o,b as i,c as m,d,e as n,f as l}from"./chunk-YO3GQYRJ.mjs";import{motion as v}from"framer-motion";import{FileText as C,Share2 as N,Users as x}from"lucide-react";import{jsx as r,jsxs as e}from"react/jsx-runtime";function S({project:a,onOpen:u,onShare:f,className:p}){return r(v.div,{whileHover:{scale:1.02,y:-5},whileTap:{scale:.98},className:p,children:e(o,{className:"overflow-hidden rounded-3xl border hover:border-primary/50 transition-all duration-300",children:[e(i,{children:[e("div",{className:"flex items-center justify-between",children:[r(m,{children:a.name}),e(t,{variant:"outline",className:"rounded-xl",children:["Due ",a.dueDate]})]}),r(d,{children:a.description})]}),e(n,{className:"space-y-4",children:[e("div",{className:"space-y-2",children:[e("div",{className:"flex items-center justify-between text-sm",children:[r("span",{children:"Progress"}),e("span",{children:[a.progress,"%"]})]}),r(c,{value:a.progress,className:"h-2 rounded-xl"})]}),e("div",{className:"flex items-center justify-between text-sm text-muted-foreground",children:[e("div",{className:"flex items-center",children:[r(x,{className:"mr-1 h-4 w-4"}),a.members," members"]}),e("div",{className:"flex items-center",children:[r(C,{className:"mr-1 h-4 w-4"}),a.files," files"]})]})]}),e(l,{className:"flex gap-2",children:[r(s,{variant:"secondary",className:"flex-1 rounded-2xl",onClick:()=>u?.(a),children:"Open Project"}),r(s,{variant:"outline",size:"icon",className:"rounded-2xl",onClick:()=>f?.(a),children:r(N,{className:"h-4 w-4"})})]})]})})}export{S as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as n}from"./chunk-AB43AQKL.mjs";import{a as b}from"./chunk-EOXVYLPB.mjs";import{a as u,b as m}from"./chunk-E4TE4NV6.mjs";import{a as o}from"./chunk-TVZOULLL.mjs";import{b as i}from"./chunk-ZUA4KNIR.mjs";import{Calendar as y,Clock as w,User as C,Trash2 as S,BookOpen as D,Bug as L,Zap as T,AlertCircle as B,Loader2 as k,Check as I,X as A}from"lucide-react";import{jsx as a,jsxs as t}from"react/jsx-runtime";var G=[{value:"story",label:"Story",color:"bg-primary/20 text-primary",icon:D},{value:"task",label:"Task",color:"bg-muted text-muted-foreground",icon:B},{value:"bug",label:"Bug",color:"bg-destructive/20 text-destructive",icon:L},{value:"spike",label:"Spike",color:"bg-accent/20 text-accent",icon:T}],P=[{value:"low",label:"Low",color:"bg-success/20 text-success"},{value:"medium",label:"Medium",color:"bg-warning/20 text-warning"},{value:"high",label:"High",color:"bg-destructive/20 text-destructive"}],V=[{value:"John Doe",label:"John Doe"},{value:"Jane Smith",label:"Jane Smith"},{value:"Bob Wilson",label:"Bob Wilson"},{value:"Alice Johnson",label:"Alice Johnson"},{value:"Carol Brown",label:"Carol Brown"},{value:"David Lee",label:"David Lee"},{value:"Emma Davis",label:"Emma Davis"},{value:"Frank Miller",label:"Frank Miller"},{value:"Grace Taylor",label:"Grace Taylor"},{value:"Unassigned",label:"Unassigned"}],W=({task:s,epics:g,sprints:x,lastUpdated:v,onUpdateTask:r,onClose:f,onDelete:N,isUpdating:l=!1,isDeleting:p=!1,deleteState:d="idle"})=>{let J=e=>e.split(" ").map(c=>c[0]).join("").toUpperCase(),h=()=>d==="loading"?t(i,{disabled:!0,variant:"destructive",className:"w-full h-8 text-xs gap-1",children:[a(k,{className:"h-3 w-3 animate-spin"}),"Deleting..."]}):d==="success"?t(i,{disabled:!0,variant:"destructive",className:"w-full h-8 text-xs gap-1",children:[a(I,{className:"h-3 w-3"}),"Deleted"]}):d==="error"?t(i,{disabled:!0,variant:"destructive",className:"w-full h-8 text-xs gap-1",children:[a(A,{className:"h-3 w-3"}),"Delete failed"]}):t(i,{onClick:N,variant:"destructive",className:"w-full h-8 text-xs gap-1",disabled:l||p,children:[a(S,{className:"h-3 w-3"}),"Delete Task"]});return t("div",{className:"flex flex-col h-full",children:[t("div",{className:"space-y-4",style:{opacity:l?.6:1},children:[t("div",{className:"space-y-2",children:[a(o,{className:"text-xs text-muted-foreground",children:"Status"}),a(n,{label:"",value:s.status,onValueChange:e=>r("status",e),options:[{value:"todo",label:"To Do"},{value:"in-progress",label:"In Progress"},{value:"done",label:"Done"}],disabled:l})]}),t("div",{className:"space-y-2",children:[a(o,{className:"text-xs text-muted-foreground",children:"Type"}),a(u,{type:"single",value:s.type,onValueChange:e=>e&&r("type",e),className:"grid grid-cols-2 gap-1",disabled:l,children:G.map(e=>{let c=e.icon;return t(m,{value:e.value,className:"flex items-center gap-1 text-xs h-8 data-[state=on]:bg-primary data-[state=on]:text-primary-foreground",size:"sm",disabled:l,children:[a(c,{className:"h-3 w-3"}),e.label]},e.value)})})]}),t("div",{className:"space-y-2",children:[a(o,{className:"text-xs text-muted-foreground",children:"Priority"}),a(u,{type:"single",value:s.priority,onValueChange:e=>e&&r("priority",e),className:"grid grid-cols-3 gap-1",disabled:l,children:P.map(e=>a(m,{value:e.value,className:"text-xs h-8 data-[state=on]:bg-primary data-[state=on]:text-primary-foreground",size:"sm",disabled:l,children:e.label},e.value))})]}),t("div",{className:"space-y-2",children:[a(o,{className:"text-xs text-muted-foreground",children:"Story Points"}),a("input",{type:"number",min:"1",max:"100",value:s.points||1,onChange:e=>r("points",e.target.value),className:"w-full h-8 px-2 text-xs border border-border rounded-md focus:outline-none focus:ring-2 focus:ring-ring focus:border-transparent bg-background text-foreground disabled:opacity-50 disabled:cursor-not-allowed",disabled:l})]}),t("div",{className:"space-y-2",children:[a(o,{className:"text-xs text-muted-foreground",children:"Epic"}),a(n,{label:"",value:s.epicId,onValueChange:e=>r("epicId",e),options:(g||[]).map(e=>({value:e.id,label:e.name,color:e.color})),showColor:!0,disabled:l})]}),t("div",{className:"space-y-2",children:[a(o,{className:"text-xs text-muted-foreground",children:"Sprint"}),a(n,{label:"",value:s.sprintId||"none",onValueChange:e=>r("sprintId",e==="none"?"":e),options:[{value:"none",label:"No Sprint"},...(x||[]).map(e=>({value:e.id,label:`${e.name}${e.isActive?" (Active)":""}`}))],disabled:l})]}),t("div",{className:"space-y-2",children:[a(o,{className:"text-xs text-muted-foreground",children:"Assignee"}),a(b,{label:"",value:s.assignee,onValueChange:e=>r("assignee",e),options:V,placeholder:"Search team members...",allowCustomValue:!0,disabled:l})]})]}),t("div",{className:"mt-auto pt-4 space-y-4",children:[t("div",{className:"space-y-2",children:[a(i,{onClick:f,variant:"outline",className:"w-full h-8 text-xs",disabled:l||p,children:"Close"}),h()]}),t("div",{className:"pt-4 border-t border-border space-y-2",children:[a("div",{className:"text-xs text-muted-foreground font-medium mb-2",children:"Information"}),t("div",{className:"flex items-center justify-between",children:[a("span",{className:"text-xs text-muted-foreground",children:"Logged By"}),t("div",{className:"flex items-center gap-1 text-xs text-muted-foreground",children:[a(C,{className:"h-3 w-3"}),a("span",{children:"System"})]})]}),t("div",{className:"flex items-center justify-between",children:[a("span",{className:"text-xs text-muted-foreground",children:"Created"}),t("div",{className:"flex items-center gap-1 text-xs text-muted-foreground",children:[a(y,{className:"h-3 w-3"}),a("span",{children:s.createdAt.toLocaleDateString()})]})]}),t("div",{className:"flex items-center justify-between",children:[a("span",{className:"text-xs text-muted-foreground",children:"Last Updated"}),t("div",{className:"flex items-center gap-1 text-xs text-muted-foreground",children:[a(w,{className:"h-3 w-3"}),t("span",{children:[v.toLocaleDateString()," at ",v.toLocaleTimeString()]})]})]})]})]})]})};export{W as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{f as c}from"./chunk-IUT6JJHY.mjs";import{a as t}from"./chunk-MDJREBVI.mjs";import n from"next/image";import{jsx as e,jsxs as l}from"react/jsx-runtime";function g({image:a,title:i,content:s,link:o,theme:r}){return l("section",{className:"container relative",children:[e("div",{className:t("absolute mt-[50%] w-full h-full",r==="dark"?"bg-white":"bg-black")}),e("div",{className:t("flex flex-col md:flex-row items-center justify-between gap-12 px-6 md:px-16 py-16 bg-background",r,r==="dark"&&"bg-black clip-custom-top-r"),children:l("div",{className:"w-full flex flex-row items-center justify-center",children:[l("div",{className:t("w-full md:w-1/2 max-w-lg text-left",r==="dark"&&"mt-48"),children:[e("h2",{className:"text-3xl md:text-5xl text-primary",children:i}),e("p",{className:"mt-4 text-gray-700 text-lg",children:s&&e(c,{enableGutter:!1,content:s,enableProse:!1,className:t("prose prose-headings:text-gray-700 prose-p:text-gray-700")})}),e("button",{className:"mt-6 px-6 py-3 border border-1 border-accent text-foreground bg-background rounded-full text-base hover:bg-accent hover:text-white transition",children:e("a",{href:o.url||"#",children:o.label||"Learn more"})})]}),e("div",{className:"w-full md:w-1/2 flex justify-center",children:a&&a.url&&e(n,{src:a.url,alt:a.alt||`Image of ${i}`,width:400,height:400,className:"max-w-full"})})]})})]})}export{g as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as u}from"./chunk-AZKOVKSK.mjs";import{a as N}from"./chunk-M245YHYF.mjs";import{a as b}from"./chunk-3KITWLRN.mjs";import{a as d,b as m,c as p,d as f}from"./chunk-KY7WQYN4.mjs";import{b as a}from"./chunk-ZUA4KNIR.mjs";import{a as v,b as g,c as h}from"./chunk-SOLZ4VQH.mjs";import{useState as T}from"react";import{motion as e}from"framer-motion";import{Bell as $,Menu as q,PanelLeft as E,Bot as G}from"lucide-react";import{Fragment as J,jsx as t,jsxs as i}from"react/jsx-runtime";function at({title:Q,notifications:x=[],onToggleSidebar:w,onToggleMobileMenu:y,sidebarOpen:C=!0,className:A,activeTab:k="assistant",onTabChange:P,showTabs:O=!0,tabOptions:R=[{value:"home",label:"Home"},{value:"chat",label:"Chat"},{value:"projects",label:"Projects"},{value:"colleagues",label:"Colleagues"},{value:"knowledge",label:"Knowledge"}],onActionClick:B,actionIcon:H=t(G,{className:"mr-2 h-4 w-4"}),actionText:j="Action",onNotificationRemove:z,onRemoveAll:D,logo:I="/headerlogo.png",appName:L="Nuvia",tagline:M="Collaboration Platform"}){let[F,l]=T(!1),[r,c]=T(x),n=r.filter(o=>!o.read).length,S=o=>{c(s=>s.filter(U=>U.id!==o)),z?.(o)},K=()=>{c(o=>o.filter(s=>s.read)),D?.()};return i(J,{children:[i("header",{className:`sticky top-0 z-10 flex h-16 items-center gap-3 border-b bg-background/95 px-4 backdrop-blur ${A||""}`,children:[t(a,{variant:"ghost",size:"icon",className:"md:hidden",onClick:y,children:t(q,{className:"h-5 w-5"})}),t(a,{variant:"ghost",size:"icon",className:"hidden md:flex",onClick:w,children:t(E,{className:"h-5 w-5"})}),!C&&i(e.div,{className:"flex items-center gap-3",initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{duration:.3},children:[t("div",{className:"flex h-10 w-10 items-center justify-center",children:t("img",{src:I,alt:"Logo",className:"h-10 w-10 object-contain"})}),i("div",{children:[t("h2",{className:"font-semibold text-sm",children:L}),t("p",{className:"text-xs text-muted-foreground",children:M})]})]}),i("div",{className:"flex flex-1 items-center",children:[O&&t(N,{activeTab:k,onTabChange:P,tabOptions:R}),i("div",{className:"flex items-center gap-3 ml-auto",children:[t(e.div,{className:"hidden md:flex gap-2",initial:{opacity:0,x:20},animate:{opacity:1,x:0},transition:{duration:.3,ease:"easeOut",delay:.1},children:t(e.div,{whileHover:{scale:1.05},whileTap:{scale:.95},transition:{type:"spring",stiffness:400,damping:17},children:i(a,{className:"rounded-2xl transition-all duration-200 hover:shadow-md",onClick:B,children:[H,j]})})}),t(u,{}),t(d,{children:i(m,{children:[t(p,{asChild:!0,children:t(e.div,{whileHover:{scale:1.05},whileTap:{scale:.95},transition:{type:"spring",stiffness:400,damping:17},children:i(a,{variant:"ghost",size:"icon",className:"rounded-2xl relative transition-all duration-200",onClick:()=>l(!0),children:[t(e.div,{animate:n>0?{rotate:[0,-10,10,-10,0]}:{},transition:{duration:.5,repeat:n>0?1/0:0,repeatDelay:3},children:t($,{className:"h-5 w-5"})}),n>0&&t(e.span,{className:"absolute -right-1 -top-1 flex h-5 w-5 items-center justify-center rounded-full bg-red-500 text-xs text-white",initial:{scale:0},animate:{scale:1},transition:{type:"spring",stiffness:500,damping:15},children:n})]})})}),t(f,{children:"Notifications"})]})}),t(e.div,{whileHover:{scale:1.05},whileTap:{scale:.95},transition:{type:"spring",stiffness:400,damping:17},children:i(v,{className:"h-9 w-9 border-2 border-primary transition-all duration-200 hover:shadow-md cursor-pointer",children:[t(g,{src:"/placeholder.svg?height=40&width=40",alt:"User"}),t(h,{})]})})]})]})]}),t(b,{notifications:r,open:F,onClose:()=>l(!1),onNotificationRemove:S,onRemoveAll:K})]})}export{at as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as q}from"./chunk-2NMVE5M4.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{a as v}from"./chunk-L5JPAKPM.mjs";import{b as R}from"./chunk-ZUA4KNIR.mjs";import{b as H}from"./chunk-CSBGSBEU.mjs";import{a as w,e as U}from"./chunk-YO3GQYRJ.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
|
+
var s={primary:"bg-blue-500",secondary:"bg-gray-500",accent:"bg-purple-500",categories:["bg-green-500","bg-blue-500","bg-purple-500","bg-pink-500","bg-indigo-500","bg-orange-500"],lists:["bg-green-400","bg-blue-400","bg-purple-400","bg-pink-400","bg-indigo-400","bg-orange-400"],items:["bg-green-300","bg-blue-300","bg-purple-300","bg-pink-300","bg-indigo-300","bg-orange-300"]},a=[{id:"sales",name:"Sales",description:"Revenue and customer management",iconName:"DollarSign",color:"bg-green-600",type:"category",actions:[{id:"view-pipeline",label:"View Pipeline",description:"See all opportunities in pipeline",iconName:"BarChart",action:e=>console.log("View pipeline",e)},{id:"create-opportunity",label:"Create Opportunity",iconName:"Target",action:e=>console.log("Create opportunity",e)}],children:[{id:"customers",name:"Customers",description:"Customer accounts and contacts",iconName:"Users",color:"bg-blue-500",type:"list",actions:[{id:"add-customer",label:"Add Customer",iconName:"User",action:e=>console.log("Add customer",e)},{id:"export-customers",label:"Export List",iconName:"FileText",action:e=>console.log("Export customers",e)}],data:[{id:"acme-corp",title:"Acme Corp",subtitle:"Enterprise Customer",value:"$125K ARR",metadata:{industry:"Technology",employees:500,lastContact:"2024-01-15"}},{id:"beta-inc",title:"Beta Inc",subtitle:"Mid-market",value:"$45K ARR",metadata:{industry:"Healthcare",employees:150,lastContact:"2024-01-10"}},{id:"gamma-llc",title:"Gamma LLC",subtitle:"Small Business",value:"$15K ARR",metadata:{industry:"Manufacturing",employees:50,lastContact:"2024-01-08"}}]},{id:"opportunities",name:"Opportunities",description:"Sales opportunities and deals",iconName:"Target",color:"bg-yellow-500",type:"list",actions:[{id:"close-won",label:"Mark as Won",iconName:"CheckCircle",action:e=>console.log("Close won",e)},{id:"schedule-followup",label:"Schedule Follow-up",iconName:"Clock",action:e=>console.log("Schedule follow-up",e)}],data:[{id:"opp-1",title:"Acme Corp - Enterprise License",subtitle:"Closing Q1 2024",value:"$85K",metadata:{stage:"Negotiation",probability:80,closeDate:"2024-03-31"}},{id:"opp-2",title:"Beta Inc - Platform Upgrade",subtitle:"Closing Q2 2024",value:"$32K",metadata:{stage:"Proposal",probability:65,closeDate:"2024-06-15"}}]}]},{id:"marketing",name:"Marketing",description:"Marketing campaigns and analytics",iconName:"TrendingUp",color:"bg-pink-600",type:"category",actions:[{id:"view-analytics",label:"View Analytics",iconName:"BarChart",action:e=>console.log("View analytics",e)}],children:[{id:"campaigns",name:"Campaigns",description:"Marketing campaigns and performance",iconName:"TrendingUp",color:"bg-pink-500",type:"list",data:[{id:"campaign-1",title:"Q1 Product Launch",subtitle:"Active Campaign",value:"45% CTR",metadata:{budget:"$50K",spend:"$32K",leads:1250}},{id:"campaign-2",title:"Holiday Promotion",subtitle:"Completed",value:"38% CTR",metadata:{budget:"$25K",spend:"$24K",leads:890}}]}]},{id:"projects",name:"Projects",description:"Project management and tracking",iconName:"Briefcase",color:"bg-blue-600",type:"category",children:[{id:"active-projects",name:"Active Projects",description:"Currently active projects",iconName:"Activity",color:"bg-blue-500",type:"list",data:[{id:"project-1",title:"Website Redesign",subtitle:"In Progress",value:"75% Complete",metadata:{team:"Design",deadline:"2024-02-15",status:"On Track"}},{id:"project-2",title:"Mobile App Development",subtitle:"Planning",value:"25% Complete",metadata:{team:"Engineering",deadline:"2024-03-31",status:"On Track"}}]}]},{id:"engineering",name:"Engineering",description:"Development and technical operations",iconName:"Code",color:"bg-purple-600",type:"category",actions:[{id:"view-repos",label:"View Repositories",description:"See all code repositories",iconName:"Git",action:e=>console.log("View repositories",e)},{id:"create-task",label:"Create Task",iconName:"Plus",action:e=>console.log("Create task",e)}],children:[{id:"repositories",name:"Repositories",description:"Code repositories and projects",iconName:"GitBranch",color:"bg-purple-500",type:"list",actions:[{id:"create-repo",label:"Create Repository",iconName:"Plus",action:e=>console.log("Create repository",e)},{id:"view-commits",label:"View Commits",iconName:"Git",action:e=>console.log("View commits",e)}],data:[{id:"repo-1",title:"frontend-app",subtitle:"React Application",value:"Main Branch",metadata:{language:"TypeScript",commits:1247,contributors:8}},{id:"repo-2",title:"backend-api",subtitle:"Node.js API",value:"Main Branch",metadata:{language:"Node.js",commits:892,contributors:5}}]},{id:"tasks",name:"Tasks",description:"Development tasks and issues",iconName:"CheckSquare",color:"bg-blue-500",type:"list",actions:[{id:"create-task",label:"Create Task",iconName:"Plus",action:e=>console.log("Create task",e)},{id:"assign-task",label:"Assign Task",iconName:"UserPlus",action:e=>console.log("Assign task",e)}],data:[{id:"task-1",title:"Fix authentication bug",subtitle:"High Priority",value:"In Progress",metadata:{assignee:"John Doe",priority:"High",estimate:"4h"}},{id:"task-2",title:"Implement dark mode",subtitle:"Feature Request",value:"Todo",metadata:{assignee:"Jane Smith",priority:"Medium",estimate:"8h"}}]}]},{id:"design",name:"Design",description:"User experience and visual design",iconName:"Palette",color:"bg-pink-600",type:"category",actions:[{id:"view-designs",label:"View Designs",description:"See all design assets",iconName:"Image",action:e=>console.log("View designs",e)},{id:"create-mockup",label:"Create Mockup",iconName:"Plus",action:e=>console.log("Create mockup",e)}],children:[{id:"assets",name:"Assets",description:"Design assets and components",iconName:"Package",color:"bg-pink-500",type:"list",actions:[{id:"add-asset",label:"Add Asset",iconName:"Plus",action:e=>console.log("Add asset",e)},{id:"organize-assets",label:"Organize",iconName:"FolderOpen",action:e=>console.log("Organize assets",e)}],data:[{id:"asset-1",title:"Logo Variations",subtitle:"Brand Assets",value:"12 files",metadata:{format:"SVG",size:"2.4MB",updated:"2024-01-20"}},{id:"asset-2",title:"UI Components",subtitle:"Component Library",value:"45 components",metadata:{format:"Figma",size:"18.7MB",updated:"2024-01-22"}}]}]},{id:"product",name:"Product",description:"Product management and strategy",iconName:"Layers",color:"bg-indigo-600",type:"category",actions:[{id:"view-roadmap",label:"View Roadmap",description:"See product roadmap",iconName:"Map",action:e=>console.log("View roadmap",e)},{id:"create-feature",label:"Create Feature",iconName:"Plus",action:e=>console.log("Create feature",e)}],children:[{id:"features",name:"Features",description:"Product features and requirements",iconName:"Star",color:"bg-indigo-500",type:"list",actions:[{id:"add-feature",label:"Add Feature",iconName:"Plus",action:e=>console.log("Add feature",e)},{id:"prioritize-features",label:"Prioritize",iconName:"ArrowUp",action:e=>console.log("Prioritize features",e)}],data:[{id:"feature-1",title:"User Authentication",subtitle:"Security Feature",value:"In Development",metadata:{priority:"High",effort:"Large",impact:"High"}},{id:"feature-2",title:"Dark Mode",subtitle:"UI Enhancement",value:"Backlog",metadata:{priority:"Medium",effort:"Small",impact:"Medium"}}]}]}];function r(e){let t=a,i=null;for(let o of e){if(i=t.find(n=>n.id===o||n.name===o)||null,!i)return null;t=i.children||[]}return i}function l(e){let t=e.path[e.path.length-1];return t?.actions?t.actions:[]}function c(e){return a.filter(t=>t.name.toLowerCase().includes(e.toLowerCase())||e.toLowerCase().includes(t.name.toLowerCase()))}function d(){return a}export{s as a,a as b,r as c,l as d,c as e,d as f};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function l(d){let r=0,n=(t,a)=>`${t.toLowerCase().replace(/\s+/g,"-").replace(/[^\w-]/g,"")}-${a}`,e=d.layout.flatMap(t=>{let a=[];return"title"in t&&t.title&&a.push({text:t.title,id:n(t.title,r++),tag:"h2"}),"columns"in t&&Array.isArray(t.columns)&&t.columns.forEach(g=>{if(g.title&&a.push({text:g.title,id:n(g.title,r++),tag:"h2"}),g.richText?.root?.children&&g.richText?.root?.children.length===1){let o=g.richText.root.children.filter(s=>s!==void 0&&s.type==="heading");for(let s of o)s.children[0]&&a.push({text:s.children[0].text??"",id:n(s.children[0].text,r++),tag:s.tag||"h2"})}}),a}),i=f(d.layout);return{tableOfContents:e,contentWithIds:i}}function f(d){let r=(e,i)=>`${e.toLowerCase().replace(/\s+/g,"-").replace(/[^\w-]/g,"")}-${i}`,n=0;return d.map(e=>(e.title&&(e.id=r(e.title,n++)),e.columns&&(e.columns=e.columns.map(i=>(i.title&&(i.id=r(i.title,n++)),i.richText&&(i.richText.root.children=i.richText.root.children.filter(t=>t!==void 0).map(t=>(t.type==="heading"&&t.children&&t.children[0].text?t.id=r(t.children[0].text,n++):t.type==="block"&&t.fields?.media&&(t.id=r(`image-${n}`,n++)),t))),i))),e))}export{l as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as i}from"./chunk-TVZOULLL.mjs";import{b as m}from"./chunk-ZUA4KNIR.mjs";import{useState as v,useEffect as u}from"react";import{FileText as p,ListChecks as f,AlertTriangle as N,Users as k,Briefcase as h,ShieldAlert as z,Calendar as w,User as j,Building as L,X as D}from"lucide-react";import{Fragment as S,jsx as e,jsxs as a}from"react/jsx-runtime";var g={"On-Track":"bg-green-100 text-green-800 border-green-200","Off-Track":"bg-red-100 text-red-800 border-red-200","At Risk":"bg-yellow-100 text-yellow-800 border-yellow-200",Complete:"bg-blue-100 text-blue-800 border-blue-200"};function E({submissions:l,isLoading:y=!1}){let[n,s]=v(null);u(()=>{let t=d=>{d.key==="Escape"&&s(null)};if(n)return document.addEventListener("keydown",t),()=>document.removeEventListener("keydown",t)},[n]);let c=t=>new Date(t).toLocaleDateString("en-GB",{day:"2-digit",month:"short",year:"numeric"}),r=l.find(t=>t.id.toString()===n);function o(t){return typeof t=="object"&&t!==null&&"projectName"in t?t.projectName:`Project #${t}`}function x(t){return typeof t=="object"&&t!==null&&"name"in t?t.name:`Customer #${t}`}return y?e("div",{className:"container mx-auto p-4 max-w-6xl",children:e("div",{className:"rounded-xl shadow-lg bg-white dark:bg-zinc-900/80 border border-zinc-200 dark:border-zinc-800 p-6",children:a("div",{className:"animate-pulse",children:[e("div",{className:"h-8 bg-gray-200 rounded w-1/4 mb-6"}),e("div",{className:"space-y-4",children:[...Array(5)].map((t,d)=>e("div",{className:"h-16 bg-gray-200 rounded"},d))})]})})}):l.length===0?e("div",{className:"container mx-auto p-4 max-w-6xl",children:e("div",{className:"rounded-xl shadow-lg bg-white dark:bg-zinc-900/80 border border-zinc-200 dark:border-zinc-800 p-6",children:a("div",{className:"text-center py-12",children:[e(p,{className:"mx-auto h-12 w-12 text-gray-400"}),e("h3",{className:"mt-2 text-sm font-semibold text-gray-900 dark:text-zinc-100",children:"No submissions found"}),e("p",{className:"mt-1 text-sm text-gray-500 dark:text-zinc-400",children:"You haven't submitted any delivery lead reports yet."})]})})}):a(S,{children:[e("div",{className:"container mx-auto p-4 max-w-6xl",children:a("div",{className:"rounded-xl shadow-lg bg-white dark:bg-zinc-900/80 border border-zinc-200 dark:border-zinc-800 p-6",children:[a("div",{className:"mb-6",children:[e("h2",{className:"text-2xl font-bold text-gray-900 dark:text-zinc-100",children:"My Delivery Lead Submissions"}),e("p",{className:"text-sm text-gray-500 dark:text-zinc-400 mt-1",children:"View all your submitted delivery lead reports"})]}),e("div",{className:"overflow-y-auto max-h-96",children:a("table",{className:"min-w-full divide-y divide-gray-200 dark:divide-zinc-700",children:[e("thead",{className:"bg-gray-50 dark:bg-zinc-800 sticky top-0 z-10",children:a("tr",{children:[e("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-zinc-400 uppercase tracking-wider",children:"Project Details"}),e("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-zinc-400 uppercase tracking-wider",children:"Delivery Lead"}),e("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-zinc-400 uppercase tracking-wider",children:"Milestones"}),e("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-zinc-400 uppercase tracking-wider",children:"Submitted"}),e("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-zinc-400 uppercase tracking-wider",children:"Actions"})]})}),e("tbody",{className:"bg-white dark:bg-zinc-900 divide-y divide-gray-200 dark:divide-zinc-700",children:l.map(t=>a("tr",{className:"hover:bg-gray-50 dark:hover:bg-zinc-800/50",children:[e("td",{className:"px-6 py-4 whitespace-nowrap",children:a("div",{children:[e("div",{className:"text-sm font-medium text-gray-900 dark:text-zinc-100",children:o(t.project)}),a("div",{className:"text-sm text-gray-500 dark:text-zinc-400 flex items-center gap-1",children:[e(L,{className:"h-3 w-3"}),x(t.customer)]})]})}),e("td",{className:"px-6 py-4 whitespace-nowrap",children:a("div",{className:"text-sm text-gray-900 dark:text-zinc-100 flex items-center gap-1",children:[e(j,{className:"h-3 w-3"}),typeof t.project=="object"&&t.project!==null&&"deliveryLead"in t.project&&typeof t.project.deliveryLead=="object"&&t.project.deliveryLead!==null&&"name"in t.project.deliveryLead?t.project.deliveryLead.name:"\u2014"]})}),e("td",{className:"px-6 py-4 whitespace-nowrap",children:a("div",{className:"flex flex-wrap gap-1",children:[t.milestones?.slice(0,3).map((d,b)=>e("span",{className:`inline-flex items-center px-2 py-1 rounded-full text-xs font-medium border ${g[d.rag]}`,children:d.rag},b)),t.milestones&&t.milestones.length>3&&a("span",{className:"inline-flex items-center px-2 py-1 rounded-full text-xs font-medium bg-gray-100 text-gray-800 border border-gray-200",children:["+",t.milestones.length-3," more"]}),!t.milestones&&e("span",{className:"inline-flex items-center px-2 py-1 rounded-full text-xs font-medium bg-gray-100 text-gray-800 border border-gray-200",children:"No milestones"})]})}),e("td",{className:"px-6 py-4 whitespace-nowrap",children:a("div",{className:"text-sm text-gray-500 dark:text-zinc-400 flex items-center gap-1",children:[e(w,{className:"h-3 w-3"}),c(t.createdAt)]})}),e("td",{className:"px-6 py-4 whitespace-nowrap text-sm font-medium",children:e(m,{variant:"ghost",size:"sm",onClick:()=>s(t.id.toString()),className:"text-accent hover:text-accent/80",children:"View Details"})})]},t.id))})]})})]})}),r&&e("div",{className:"fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center p-4 z-50",children:a("div",{className:"bg-white dark:bg-zinc-900 rounded-xl shadow-xl max-w-4xl w-full max-h-[90vh] overflow-y-auto",children:[a("div",{className:"flex items-center justify-between p-6 border-b border-gray-200 dark:border-zinc-700",children:[a("div",{children:[e("h2",{className:"text-xl font-semibold text-gray-900 dark:text-zinc-100",children:o(r.project)}),a("p",{className:"text-sm text-gray-500 dark:text-zinc-400",children:[x(r.customer)," \u2022"," ",c(r.createdAt)]})]}),e("button",{onClick:()=>s(null),className:"text-gray-400 hover:text-gray-600 dark:hover:text-zinc-300",children:e(D,{className:"h-6 w-6"})})]}),a("div",{className:"p-6 space-y-6",children:[a("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6",children:[a("div",{children:[a(i,{className:"text-sm font-semibold text-gray-700 dark:text-zinc-300 mb-2 flex items-center gap-1",children:[e(p,{className:"h-4 w-4"}),"Project Summary"]}),e("p",{className:"text-sm text-gray-600 dark:text-zinc-400 bg-gray-50 dark:bg-zinc-800 p-3 rounded-lg border",children:r.projectSummary})]}),a("div",{children:[a(i,{className:"text-sm font-semibold text-gray-700 dark:text-zinc-300 mb-2 flex items-center gap-1",children:[e(k,{className:"h-4 w-4"}),"Project Update"]}),e("p",{className:"text-sm text-gray-600 dark:text-zinc-400 bg-gray-50 dark:bg-zinc-800 p-3 rounded-lg border",children:r.projectUpdate})]}),r.projectConcerns&&a("div",{children:[a(i,{className:"text-sm font-semibold text-gray-700 dark:text-zinc-300 mb-2 flex items-center gap-1",children:[e(N,{className:"h-4 w-4"}),"Project Concerns"]}),e("p",{className:"text-sm text-gray-600 dark:text-zinc-400 bg-gray-50 dark:bg-zinc-800 p-3 rounded-lg border",children:r.projectConcerns})]}),r.commercialOpportunities&&a("div",{children:[a(i,{className:"text-sm font-semibold text-gray-700 dark:text-zinc-300 mb-2 flex items-center gap-1",children:[e(h,{className:"h-4 w-4"}),"Commercial Opportunities"]}),e("p",{className:"text-sm text-gray-600 dark:text-zinc-400 bg-gray-50 dark:bg-zinc-800 p-3 rounded-lg border",children:r.commercialOpportunities})]}),r.commercialRisks&&a("div",{className:"lg:col-span-2",children:[a(i,{className:"text-sm font-semibold text-gray-700 dark:text-zinc-300 mb-2 flex items-center gap-1",children:[e(z,{className:"h-4 w-4"}),"Commercial Risks"]}),e("p",{className:"text-sm text-gray-600 dark:text-zinc-400 bg-gray-50 dark:bg-zinc-800 p-3 rounded-lg border",children:r.commercialRisks})]})]}),a("div",{children:[a(i,{className:"text-sm font-semibold text-gray-700 dark:text-zinc-300 mb-2 flex items-center gap-1",children:[e(f,{className:"h-4 w-4"}),"Milestones"]}),r.milestones&&r.milestones.length>0?e("div",{className:"bg-gray-50 dark:bg-zinc-800 rounded-lg border overflow-hidden",children:a("table",{className:"min-w-full divide-y divide-gray-200 dark:divide-zinc-700",children:[e("thead",{className:"bg-gray-100 dark:bg-zinc-700",children:a("tr",{children:[e("th",{className:"px-4 py-2 text-left text-xs font-medium text-gray-500 dark:text-zinc-400",children:"Name"}),e("th",{className:"px-4 py-2 text-left text-xs font-medium text-gray-500 dark:text-zinc-400",children:"Commentary"}),e("th",{className:"px-4 py-2 text-left text-xs font-medium text-gray-500 dark:text-zinc-400",children:"Due Date"}),e("th",{className:"px-4 py-2 text-left text-xs font-medium text-gray-500 dark:text-zinc-400",children:"Status"})]})}),e("tbody",{className:"divide-y divide-gray-200 dark:divide-zinc-700",children:r.milestones.map((t,d)=>a("tr",{children:[e("td",{className:"px-4 py-2 text-sm text-gray-900 dark:text-zinc-100",children:t.name}),e("td",{className:"px-4 py-2 text-sm text-gray-600 dark:text-zinc-400",children:t.commentary||"-"}),e("td",{className:"px-4 py-2 text-sm text-gray-600 dark:text-zinc-400",children:t.dueDate?c(t.dueDate):"-"}),e("td",{className:"px-4 py-2",children:e("span",{className:`inline-flex items-center px-2 py-1 rounded-full text-xs font-medium border ${g[t.rag]}`,children:t.rag})})]},d))})]})}):e("p",{className:"text-sm text-gray-600 dark:text-zinc-400 bg-gray-50 dark:bg-zinc-800 p-3 rounded-lg border",children:"No milestones defined for this project."})]})]}),e("div",{className:"flex justify-end p-6 border-t border-gray-200 dark:border-zinc-700",children:e(m,{onClick:()=>s(null),variant:"outline",children:"Close"})})]})})]})}export{E as a};
|