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{c as d}from"./chunk-YNNW2C2U.mjs";import n from"next/image";import{jsx as e,jsxs as t}from"react/jsx-runtime";function b({blogs:a,base:r}){return e("div",{children:a&&a.length>0&&e("div",{className:"grid gap-10 lg:gap-10 md:grid-cols-2",children:a.map((i,l)=>e(c,{post:i,id:l,base:r},l))})})}var c=({post:a,id:r,base:i})=>{let{slug:l,meta:m,authors:o,categories:p,title:u,publishedAt:v}=a;return t("article",{className:"relative isolate flex flex-col gap-8 lg:flex-row",children:[t("div",{className:"relative aspect-video sm:aspect-[2/1] lg:aspect-square lg:w-64 lg:shrink-0",children:[e(n,{src:m?.image?.url||"/assets/images/brand/cortex-reply-gradient.png",alt:m?.image?.alt||"Post image",width:850,height:575,sizes:"100vw",className:"absolute inset-0 size-full rounded-2xl bg-gray-50 object-cover"}),e("div",{className:"absolute inset-0 rounded-2xl ring-1 ring-inset ring-gray-900/10"})]}),t("div",{children:[t("div",{className:"flex flex-wrap items-center gap-x-4 text-xs",children:[e("time",{dateTime:a.publishedAt??void 0,className:"text-foreground",children:d(a.publishedAt??"")}),a.categories&&a.categories.map((s,g)=>e("a",{href:`#${s}`,className:"relative z-10 rounded-full bg-gray-50 px-3 py-1.5 font-medium text-gray-600 hover:bg-gray-100",children:s.title},g))]}),e("div",{className:"group relative max-w-xl",children:e("h3",{className:"mt-3 text-lg/6 font-semibold text-accent group-hover:text-xl/6",children:t("a",{href:`/${i}/${a.slug}`||"#",children:[e("span",{className:"absolute inset-0"}),a.title]})})}),e("div",{className:"mt-6 flex flex-wrap lg:border-t gap-y-2 border-gray-200 dark:border-gray-700 pt-6",children:o&&o.map((s,g)=>t("div",{className:"relative flex items-center gap-x-4",children:[s.profilePicture?e("img",{alt:s.name||"Author",src:s.profilePicture?.url||"/assets/images/placeholder.jpg",className:"size-10 rounded-full bg-gray-50"}):e("div",{className:"size-10 rounded-full bg-gray-50"})," ",e("div",{className:"text-sm/6",children:t("p",{className:"text-foreground pr-6",children:[e("span",{className:"absolute inset-0"}),s.name]})})]},g))})]})]},r)};export{b as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as o}from"./chunk-CSBGSBEU.mjs";import{a as n}from"./chunk-YO3GQYRJ.mjs";import{jsx as r,jsxs as s}from"react/jsx-runtime";var f=({title:d,status:a,taskCount:l,children:m,onDrop:c,isCompact:t=!1})=>{let u=e=>{e.preventDefault()},i=e=>{e.preventDefault(),c(a)};return s(n,{className:`p-4 bg-card border-l-4 ${(()=>{switch(a){case"todo":return"border-l-gray-400";case"in-progress":return"border-l-blue-500";case"review":return"border-l-orange-500";case"done":return"border-l-green-500";default:return"border-l-gray-400"}})()} shadow-sm hover:shadow-md transition-shadow duration-200 ${t?"lg:max-w-xs":""}`,onDragOver:u,onDrop:i,children:[s("div",{className:"flex items-center justify-between mb-4",children:[r("h3",{className:`font-semibold text-foreground select-none-important ${t?"text-base":"text-lg"}`,children:d}),r(o,{variant:"secondary",className:"bg-muted text-muted-foreground",children:l})]}),r("div",{className:"space-y-4 min-h-[200px]",children:m})]})};export{f as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import t from"clsx";import s from"next/image";import{jsx as l}from"react/jsx-runtime";var n=o=>{let{loading:a,priority:r,className:i}=o;return l(s,{alt:"Payload Logo",width:193,height:34,loading:a||"lazy",fetchPriority:r||"low",decoding:"async",className:t("max-w-[9.375rem] w-full h-[34px]",i),src:"https://raw.githubusercontent.com/payloadcms/payload/main/packages/ui/src/assets/payload-logo-light.svg"})};export{n as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as c}from"./chunk-L5JPAKPM.mjs";import{b as p}from"./chunk-ZUA4KNIR.mjs";import{a as v,b as N,c as f}from"./chunk-SOLZ4VQH.mjs";import{b as o}from"./chunk-CSBGSBEU.mjs";import{a as i,b as g,c as x,e as r}from"./chunk-YO3GQYRJ.mjs";import{useState as U,useMemo as b}from"react";import{Search as L,User as u,Check as T,ChevronLeft as A}from"lucide-react";import{motion as h,AnimatePresence as B}from"framer-motion";import{jsx as e,jsxs as t}from"react/jsx-runtime";function $({users:m,onUserSelect:C,onCancel:y,selectedUserId:d}){let[s,w]=U(""),n=b(()=>m.filter(a=>a.name.toLowerCase().includes(s.toLowerCase())||a.email.toLowerCase().includes(s.toLowerCase())||a.role.toLowerCase().includes(s.toLowerCase())||(a.skills||[]).some(S=>S.toLowerCase().includes(s.toLowerCase()))),[m,s]),k=a=>{C(a)};return e("div",{className:"px-2 md:px-4 py-4 space-y-6",children:e(B,{mode:"wait",children:t(h.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},children:[t("div",{className:"flex items-center gap-4 mb-6",children:[t(p,{variant:"ghost",onClick:y,className:"gap-2",children:[e(A,{className:"h-4 w-4"}),"Back"]}),t("div",{children:[e("h1",{className:"text-3xl font-bold",children:"Select User"}),e("p",{className:"text-muted-foreground",children:"Choose a user to add as a colleague"})]})]}),e(i,{className:"container",children:e(r,{className:"pt-6",children:e("div",{className:"flex flex-col md:flex-row gap-4",children:e("div",{className:"flex-1",children:t("div",{className:"relative",children:[e(L,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),e(c,{placeholder:"Search users by name, email, role, or skills...",value:s,onChange:a=>w(a.target.value),className:"pl-9"})]})})})})}),e("div",{className:"container grid gap-4 md:grid-cols-2 lg:grid-cols-3",children:n.map(a=>e(h.div,{layout:!0,initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},transition:{duration:.2},children:t(i,{className:`cursor-pointer transition-all hover:shadow-lg ${d===a.id?"ring-2 ring-primary":""}`,onClick:()=>k(a),children:[e(g,{className:"pb-3",children:t("div",{className:"flex items-start justify-between",children:[t("div",{className:"flex items-center gap-3",children:[t(v,{children:[e(N,{src:a.avatar,alt:a.name}),e(f,{children:e(u,{className:"h-4 w-4"})})]}),t("div",{children:[e(x,{className:"text-lg",children:a.name}),e("p",{className:"text-sm text-muted-foreground",children:a.role})]})]}),d===a.id&&e(T,{className:"h-5 w-5 text-primary"})]})}),e(r,{className:"pt-0",children:t("div",{className:"space-y-3",children:[t("div",{children:[e("p",{className:"text-sm text-muted-foreground",children:"Email"}),e("p",{className:"text-sm font-medium",children:a.email})]}),t("div",{children:[e("p",{className:"text-sm text-muted-foreground",children:"Department"}),e(o,{variant:"secondary",children:a.department})]}),a.location&&t("div",{children:[e("p",{className:"text-sm text-muted-foreground",children:"Location"}),e("p",{className:"text-sm",children:a.location})]}),a.skills&&a.skills.length>0&&t("div",{children:[e("p",{className:"text-sm text-muted-foreground mb-2",children:"Skills"}),t("div",{className:"flex flex-wrap gap-1",children:[a.skills.slice(0,3).map(l=>e(o,{variant:"outline",className:"text-xs",children:l},l)),a.skills.length>3&&t(o,{variant:"outline",className:"text-xs",children:["+",a.skills.length-3]})]})]})]})})]})},a.id))}),n.length===0&&e(i,{className:"container mt-4",children:e(r,{className:"pt-6",children:t("div",{className:"text-center py-8",children:[e(u,{className:"h-12 w-12 text-muted-foreground mx-auto mb-4"}),e("h3",{className:"text-lg font-semibold mb-2",children:"No users found"}),e("p",{className:"text-muted-foreground",children:"Try adjusting your search terms or filters."})]})})})]},"user-selection")})})}export{$ as a};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
'use strict'
|
|
2
|
+
|
|
3
|
+
import{a as i,b as m,c as d}from"./chunk-SOLZ4VQH.mjs";import{b as p}from"./chunk-CSBGSBEU.mjs";import{a as v,b as g,c as h,e as w}from"./chunk-YO3GQYRJ.mjs";import{CalendarDays as b,Cake as C,Award as f,PartyPopper as N}from"lucide-react";import{jsx as a,jsxs as e}from"react/jsx-runtime";function k({eventType:r="birthday",date:n="",title:s="",description:o="",avatarSrc:c}){let y=t=>{switch(t){case"birthday":return a(C,{className:"h-4 w-4"});case"workAnniversary":return a(f,{className:"h-4 w-4"});case"companyEvent":return a(N,{className:"h-4 w-4"});default:return a(b,{className:"h-4 w-4"})}},l=t=>{switch(t){case"birthday":return"bg-brand-one";case"workAnniversary":return"bg-brand-two";case"companyEvent":return"bg-brand-three";default:return"from-gray-500 to-slate-500"}};return e(v,{className:`w-full max-w-md overflow-hidden bg-gradient-to-br ${l(r)}`,children:[e(g,{className:"flex flex-row items-center gap-3 text-white",children:[c&&e(i,{className:"h-14 w-14 border-2 border-white",children:[a(m,{src:c,alt:s||"Event"}),a(d,{className:"bg-white text-gray-900",children:s?s.charAt(0).toUpperCase():"?"})]}),e("div",{className:"flex flex-col",children:[a(h,{className:"text-xl",children:s||"Untitled Event"}),e("p",{className:"text-sm text-white/80",children:[a(b,{className:"mr-1 inline-block h-4 w-4"}),n?new Date(n).toLocaleDateString("en-GB"):"Date not specified"]})]})]}),e(w,{className:"bg-white bg-opacity-80 p-4",children:[o&&a("p",{className:"mb-2 text-sm text-gray-700",children:o}),e(p,{variant:"secondary",className:`${l(r)} text-white/80`,children:[y(r),a("span",{className:"ml-1",children:r?r.replace(/([a-z])([A-Z])/g,"$1 $2").split(" ").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(" "):"Event"})]})]})]})}export{k as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as e,b as l,c as r,d as a}from"./chunk-KY7WQYN4.mjs";import{b as t}from"./chunk-ZUA4KNIR.mjs";import{Moon as m,Sun as T}from"lucide-react";import{useTheme as p}from"next-themes";import{jsx as o,jsxs as i}from"react/jsx-runtime";function u(){let{setTheme:s,theme:n}=p();return o(e,{children:i(l,{children:[o(r,{asChild:!0,children:i(t,{variant:"ghost",size:"icon",className:"rounded-2xl",onClick:()=>s(n==="light"?"dark":"light"),children:[o(T,{className:"h-5 w-5 rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0"}),o(m,{className:"absolute h-5 w-5 rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100"}),o("span",{className:"sr-only",children:"Toggle theme"})]})}),o(a,{children:"Toggle theme"})]})})}export{u as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as e}from"./chunk-MDJREBVI.mjs";import*as r from"react";import{jsx as s}from"react/jsx-runtime";var i=r.forwardRef(({className:t,...o},a)=>s("textarea",{className:e("flex min-h-[80px] w-full rounded border border-border bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",t),ref:a,...o}));i.displayName="Textarea";export{i as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{b as t}from"./chunk-ZUA4KNIR.mjs";import{a as i,b as s,c as l,e as o}from"./chunk-YO3GQYRJ.mjs";import{Bot as u,ChevronLeft as g,Copy as d,Plus as v,Sparkles as m}from"lucide-react";import{motion as r,AnimatePresence as f}from"framer-motion";import{jsx as e,jsxs as a}from"react/jsx-runtime";function w({onCloneExisting:n,onCreateNew:c,onCancel:p}){return e("div",{className:"px-2 md:px-4 py-4 space-y-6",children:e(f,{mode:"wait",children:a(r.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},children:[a("div",{className:"flex items-center gap-4 mb-6",children:[a(t,{variant:"ghost",onClick:p,className:"gap-2",children:[e(g,{className:"h-4 w-4"}),"Back"]}),a("div",{children:[e("h1",{className:"text-3xl font-bold",children:"Add Digital Colleague"}),e("p",{className:"text-muted-foreground",children:"Choose how to create your digital colleague"})]})]}),a("div",{className:"grid gap-6 md:grid-cols-2 max-w-4xl mx-auto",children:[e(r.div,{whileHover:{scale:1.02},whileTap:{scale:.98},transition:{type:"spring",stiffness:300,damping:20},children:a(i,{className:"cursor-pointer transition-all hover:shadow-lg border-2 hover:border-primary/50",onClick:n,children:[a(s,{className:"text-center pb-4",children:[e("div",{className:"mx-auto w-16 h-16 bg-blue-100 rounded-full flex items-center justify-center mb-4",children:e(d,{className:"h-8 w-8 text-blue-600"})}),e(l,{className:"text-xl",children:"Clone Existing"})]}),a(o,{className:"text-center",children:[e("p",{className:"text-muted-foreground mb-4",children:"Start with an existing digital colleague and customize it for your needs."}),a("div",{className:"space-y-2 text-sm",children:[a("div",{className:"flex items-center gap-2 justify-center",children:[e(u,{className:"h-4 w-4 text-blue-600"}),e("span",{children:"Pre-configured capabilities"})]}),a("div",{className:"flex items-center gap-2 justify-center",children:[e(d,{className:"h-4 w-4 text-blue-600"}),e("span",{children:"Inherit knowledge base"})]})]}),e(t,{className:"mt-6 w-full",onClick:n,children:"Browse & Clone"})]})]})}),e(r.div,{whileHover:{scale:1.02},whileTap:{scale:.98},transition:{type:"spring",stiffness:300,damping:20},children:a(i,{className:"cursor-pointer transition-all hover:shadow-lg border-2 hover:border-primary/50",onClick:c,children:[a(s,{className:"text-center pb-4",children:[e("div",{className:"mx-auto w-16 h-16 bg-green-100 rounded-full flex items-center justify-center mb-4",children:e(m,{className:"h-8 w-8 text-green-600"})}),e(l,{className:"text-xl",children:"Create New"})]}),a(o,{className:"text-center",children:[e("p",{className:"text-muted-foreground mb-4",children:"Build a completely new digital colleague from scratch with custom specifications."}),a("div",{className:"space-y-2 text-sm",children:[a("div",{className:"flex items-center gap-2 justify-center",children:[e(v,{className:"h-4 w-4 text-green-600"}),e("span",{children:"Custom job description"})]}),a("div",{className:"flex items-center gap-2 justify-center",children:[e(m,{className:"h-4 w-4 text-green-600"}),e("span",{children:"Define unique capabilities"})]})]}),e(t,{className:"mt-6 w-full",onClick:c,children:"Create from Scratch"})]})]})})]})]},"digital-colleague-options")})})}export{w as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as o,e as a}from"./chunk-YO3GQYRJ.mjs";import n from"next/image";import s from"next/link";import{jsx as r,jsxs as l}from"react/jsx-runtime";function c({name:t,logo:e,href:i}){return r(o,{className:"w-full max-w-sm overflow-hidden transition-all duration-300 ring-0 hover:shadow-lg group",children:l(s,{href:i,className:"block",children:[r("div",{className:"bg-white p-2 flex items-center justify-center h-24",children:r("div",{className:"relative w-full h-full",children:e&&r(n,{src:e,alt:`${t} logo`,layout:"fill",objectFit:"contain"})})}),r(a,{className:"p-3 flex items-center justify-center h-18 bg-gradient-to-br from-gray-900 via-brand-one to-gray-900",children:r("p",{className:"font-medium text-lg text-white text-center group-hover:scale-105 transition-transform duration-200 ease-in-out",children:t})})]})})}export{c as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as r,b as a,c as n,e as o}from"./chunk-YO3GQYRJ.mjs";import d from"next/link";import{ExternalLink as C}from"lucide-react";import{jsx as e,jsxs as m}from"react/jsx-runtime";var x=({links:s,title:i="Related Content"})=>m(r,{children:[e(a,{children:e(n,{className:"text-accent",children:i})}),e(o,{children:e("nav",{className:"flex flex-col space-y-2",children:s.map((t,l)=>m(d,{href:t.href,className:"inline-flex items-center text-sm text-primary dark:text-foreground hover:text-accent",children:[t.name,t.href.startsWith("http")&&e(C,{className:"ml-1 h-3 w-3"})]},l))})})]});export{x as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var I="./cortex-reply-light-27IMI3G7.png";export{I as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{b as e}from"./chunk-ZUA4KNIR.mjs";import{ClipboardCopy as p}from"lucide-react";import{useState as s}from"react";import{jsx as t,jsxs as r}from"react/jsx-runtime";function u({code:a}){let[o,i]=s("Copy");function n(){o==="Copy"&&(i(()=>"Copied!"),setTimeout(()=>{i(()=>"Copy")},1e3))}return t("div",{className:"flex justify-end align-middle",children:r(e,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(a),n()},children:[t("p",{children:o}),t("div",{className:"w-6 h-6",children:t(p,{})})]})})}export{u as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as r}from"./chunk-MDJREBVI.mjs";import{cva as a}from"class-variance-authority";import{jsx as s}from"react/jsx-runtime";var n=a("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function c({className:e,variant:t,...o}){return s("div",{className:r(n({variant:t}),e),...o})}export{n as a,c as b};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use server";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
async function p(r){let{name:o,email:s,subject:a,message:n}=r,t=process.env.TEAMS_WEBHOOK_URL;if(!t)throw new Error("TEAMS_WEBHOOK_URL is not defined");let c={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",content:{$schema:"http://adaptivecards.io/schemas/adaptive-card.json",type:"AdaptiveCard",version:"1.2",body:[{type:"TextBlock",text:"Contact Us Form",wrap:!0,style:"heading",weight:"Bolder"},{type:"ColumnSet",columns:[{type:"Column",width:"stretch",items:[{type:"TextBlock",text:"Name",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Email",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Subject",wrap:!0,weight:"Bolder"}]},{type:"Column",width:"stretch",items:[{type:"TextBlock",text:`${o}`,wrap:!0},{type:"TextBlock",text:`${s}`,wrap:!0},{type:"TextBlock",text:`${a}`,wrap:!0}]}]},{type:"TextBlock",text:`${n}`,wrap:!0}]}}]};try{let e=await fetch(t,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(c)});if(!e.ok)throw console.error(e),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(e){return console.error(e),{isSuccess:!1,data:null,message:"Internal Server Error"}}}export{p as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import*as i from"react";var p=1,d=1e6;var S=0;function u(){return S=(S+1)%Number.MAX_SAFE_INTEGER,S.toString()}var c=new Map,A=t=>{if(c.has(t))return;let e=setTimeout(()=>{c.delete(t),T({type:"REMOVE_TOAST",toastId:t})},d);c.set(t,e)},O=(t,e)=>{switch(e.type){case"ADD_TOAST":return{...t,toasts:[e.toast,...t.toasts].slice(0,p)};case"UPDATE_TOAST":return{...t,toasts:t.toasts.map(s=>s.id===e.toast.id?{...s,...e.toast}:s)};case"DISMISS_TOAST":{let{toastId:s}=e;return s?A(s):t.toasts.forEach(o=>{A(o.id)}),{...t,toasts:t.toasts.map(o=>o.id===s||s===void 0?{...o,open:!1}:o)}}case"REMOVE_TOAST":return e.toastId===void 0?{...t,toasts:[]}:{...t,toasts:t.toasts.filter(s=>s.id!==e.toastId)}}},a=[],n={toasts:[]};function T(t){n=O(n,t),a.forEach(e=>{e(n)})}function y({...t}){let e=u(),s=r=>T({type:"UPDATE_TOAST",toast:{...r,id:e}}),o=()=>T({type:"DISMISS_TOAST",toastId:e});return T({type:"ADD_TOAST",toast:{...t,id:e,open:!0,onOpenChange:r=>{r||o()}}}),{id:e,dismiss:o,update:s}}function E(){let[t,e]=i.useState(n);return i.useEffect(()=>(a.push(e),()=>{let s=a.indexOf(e);s>-1&&a.splice(s,1)}),[t]),{...t,toast:y,dismiss:s=>T({type:"DISMISS_TOAST",toastId:s})}}export{O as a,y as b,E as c};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as u,c as g,d as p,g as v,i as b}from"./chunk-YFAZQYK4.mjs";import{a as B}from"./chunk-INCYANPB.mjs";import{a as S}from"./chunk-FT3AE7L2.mjs";import{a as F}from"./chunk-B4H6T2GP.mjs";import{a as l}from"./chunk-TVZOULLL.mjs";import{a as w,f as P,g as L,i as A}from"./chunk-3UMMMQEH.mjs";import{a as d}from"./chunk-L5JPAKPM.mjs";import{b as m}from"./chunk-ZUA4KNIR.mjs";import{b as I}from"./chunk-CSBGSBEU.mjs";import{useState as x,useEffect as M}from"react";import{UserIcon as Q,CalendarIcon as $,SaveIcon as j,PlusIcon as q}from"lucide-react";import{jsx as a,jsxs as r}from"react/jsx-runtime";function ie({deal:c,users:f,customer:T,categories:U,onClose:E,onSave:O,onAddComment:V}){let[t,h]=x({...c,value:c.value||0,comments:c.comments||[],customer:c.customer||{}}),[C,D]=x(""),[H,y]=x(!1),[i,s]=x(null);M(()=>{y(JSON.stringify(c)!==JSON.stringify(t))},[c,t]);let R=async()=>{try{let e=await O(t);e.success?(y(!1),s(null)):console.error("Failed to save deal:",e.errors)}catch(e){console.error("Failed to save deal:",e)}},n=(e,o)=>{h(N=>({...N,[e]:o}))},G=e=>{let o=(t.categories||[]).includes(e)?(t.categories||[]).filter(N=>N!==e):[...t.categories||[],e];n("categories",o)},J=async()=>{if(C.trim()){let e={text:C,timestamp:new Date().toISOString()};try{let o=await V(e);if(!o.success){console.error("Failed to add comment:",o.errors);return}}catch(o){console.error("Failed to add comment:",o)}h(o=>({...o,comments:[...o.comments||[],e]})),D("")}},k=e=>{switch(e){case"proposition":return"border-blue-800 text-blue-800";case"source":return"border-green-800 text-green-800";case"sector":return"border-purple-800 text-purple-800";default:return"border-gray-800 text-gray-800"}},W=e=>f?.find(o=>o.id===Number(e));return a(w,{open:!0,children:r(P,{className:"max-w-3xl max-h-[90vh] overflow-hidden flex flex-col [&>button:last-child]:hidden",children:[r(L,{className:"flex flex-row items-center justify-between",children:[a(A,{className:"text-2xl font-bold",children:T?.name||"no customer"}),r("div",{className:"flex space-x-2",children:[a(m,{variant:"outline",onClick:E,children:"Close"}),r(m,{onClick:R,disabled:!H,children:[a(j,{className:"w-4 h-4 mr-2"}),"Save"]})]})]}),r(S,{className:"flex-grow pr-4",children:[r("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-4",children:[a("div",{className:"grid gap-2 m-1",children:i==="value"?a(d,{type:"number",value:t.value,onChange:e=>n("value",Number(e.target.value)),onBlur:()=>s(null),className:"text-3xl font-bold text-green-600",autoFocus:!0}):r("div",{className:"text-3xl font-bold text-green-600 cursor-pointer p-1 border border-background hover:border-accent rounded",onClick:()=>s("value"),children:["\xA3",t.value?.toLocaleString()]})}),r("div",{className:"grid gap-2 m-1",children:[a(l,{className:"text-sm font-medium text-accent",children:"Assignee"}),i==="assignee"?r(u,{value:t?.assignee?.id?.toString()||"",onValueChange:e=>n("assignee",W(e)),children:[a(p,{children:a(g,{placeholder:"Select assignee"})}),a(v,{children:f&&f.map(e=>a(b,{value:e?.id?.toString()||"",children:e.name},e.id))})]}):r("div",{className:"flex items-center space-x-2 cursor-pointer p-1 border border-background hover:border-accent rounded",onClick:()=>s("assignee"),children:[a(Q,{className:"w-4 h-4 text-gray-400"}),a("span",{children:t?.assignee?.name})]})]}),r("div",{className:"grid gap-2 m-1",children:[a(l,{className:"text-sm font-medium text-accent",children:"Closure Date"}),i==="closureDate"?a(d,{type:"date",value:t.closureDate?.split("T")[0]??"",onChange:e=>n("closureDate",e.target.value),onBlur:()=>s(null),className:"mr-2",autoFocus:!0}):r("div",{className:"flex items-center space-x-2 cursor-pointer p-1 border border-background hover:border-accent rounded",onClick:()=>s("closureDate"),children:[a($,{className:"w-4 h-4 text-gray-400"}),a("span",{children:t.closureDate?new Date(t.closureDate).toLocaleDateString("en-GB"):"N/A"})]})]})]}),a("div",{className:"grid grid-cols-1 sm:grid-cols-1 gap-4",children:r("div",{className:"grid gap-2 m-1",children:[a(l,{className:"text-sm font-medium text-accent",children:"Description"}),i==="description"?a(F,{value:t.description||"",onChange:e=>n("description",e.target.value),onBlur:()=>s(null),className:"min-h-[100px]",autoFocus:!0}):a("div",{className:"cursor-pointer p-1 border border-background hover:border-accent pb-5 rounded",onClick:()=>s("description"),children:t.description})]})}),r("div",{className:"grid grid-cols-1 sm:grid-cols-3 pt-2 gap-4",children:[r("div",{className:"grid gap-2 m-1",children:[a(l,{className:"text-sm font-medium text-accent",children:"Status"}),i==="status"?r(u,{value:t.status,onValueChange:e=>{n("status",e),s(null)},children:[a(p,{children:a(g,{placeholder:"Select status"})}),a(v,{children:["Cold","Qualified","Proposal Made","SoW Submitted","Won","Lost"].map(e=>a(b,{value:e,children:e},e))})]}):a("div",{className:"cursor-pointer p-1 border border-background hover:border-accent rounded",onClick:()=>s("status"),children:t.status})]}),r("div",{className:"grid col-span-2 gap-2",children:[a(l,{className:"text-sm font-medium text-accent",children:"Categories"}),i==="categories"?a("div",{className:"grid grid-cols-2 gap-2 m-1",children:U.map(e=>r("div",{className:"flex items-center space-x-2",children:[a(B,{id:e.id?.toString()||"",checked:(t.categories||[]).some(o=>o.id===e.id),onCheckedChange:()=>e.id!==void 0&&G(e)}),a("label",{htmlFor:(e.id??"").toString(),className:`text-sm font-medium ${k(e.type||"sector")} px-2 py-1 rounded`,children:e.name})]},e.id))}):a("div",{className:"flex flex-wrap gap-2 cursor-pointer p-1 border border-background hover:border-accent rounded",onClick:()=>s("categories"),children:t.categories&&t.categories.map(e=>{let o=e;return o?a(I,{variant:"outline",className:k(o.type||"sector"),children:o.name},o.id):null})})]}),r("div",{className:"grid gap-2 m-1",children:[a(l,{className:"text-sm font-medium text-accent",children:"COGE Status"}),i==="gecoStatus"?r(u,{value:t.gecoStatus??void 0,onValueChange:e=>{n("gecoStatus",e),s(null)},children:[a(p,{children:a(g,{placeholder:"Select status"})}),a(v,{children:["firm","forecast","other"].map(e=>a(b,{value:e,children:e.charAt(0).toUpperCase()+e.slice(1)},e))})]}):a("div",{className:"cursor-pointer p-1 border border-background hover:border-accent rounded",onClick:()=>s("gecoStatus"),children:t.gecoStatus?t.gecoStatus.charAt(0).toUpperCase()+t.gecoStatus.slice(1):"N/A"})]})]}),r("div",{className:"grid grid-cols-1 sm:grid-cols-1 pt-4 gap-4",children:[r("div",{className:"grid gap-2",children:[a(l,{className:"text-sm font-medium text-accent",children:"Comments"}),a(S,{className:"h-[200px] overflow-y-auto",children:a("div",{className:"space-y-2",children:t.comments&&t.comments.slice().sort((e,o)=>new Date(o.timestamp||"").getTime()-new Date(e.timestamp||"").getTime()).map(e=>r("div",{className:"p-3 rounded-lg",children:[a("p",{className:"text-sm text-foreground",children:e.text}),r("p",{className:"text-xs text-foreground mt-1",children:[e?.author?.name," - ",new Date(e.timestamp||"").toLocaleString()]})]},e.id))})}),r("div",{className:"flex mt-2",children:[a(d,{value:C,onChange:e=>D(e.target.value),placeholder:"Add a comment...",className:"flex-grow ml-1"}),r(m,{onClick:J,className:"ml-2",children:[a(q,{className:"w-4 h-4 mr-2"}),"Add"]})]})]}),r("div",{className:"text-xs text-gray-500 mt-4",children:["Last modified: ",new Date(t.updatedAt||"").toLocaleString()]})]})]})]})})}export{ie as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as v}from"./chunk-INCYANPB.mjs";import{a as p}from"./chunk-B4H6T2GP.mjs";import{a as n}from"./chunk-TVZOULLL.mjs";import{a as f}from"./chunk-L5JPAKPM.mjs";import{b as d}from"./chunk-ZUA4KNIR.mjs";import{a as j,b as h,c as x,d as g,e as w,f as N}from"./chunk-YO3GQYRJ.mjs";import{useState as k}from"react";import{Loader2 as L,Plus as P,X as R}from"lucide-react";import{Fragment as C,jsx as t,jsxs as a}from"react/jsx-runtime";var S=({onSubmit:y,onCancel:u,isLoading:o=!1,initialData:c,className:F=""})=>{let[r,I]=k({name:c?.name||"",objectives:c?.objectives||"",workInstructions:c?.workInstructions||"",plan:c?.plan||!1}),[s,b]=k({}),D=()=>{let e={};return r.name.trim()?r.name.trim().length<3&&(e.name="Project name must be at least 3 characters"):e.name="Project name is required",r.objectives.trim()?r.objectives.trim().length<10&&(e.objectives="Please provide more detailed objectives (at least 10 characters)"):e.objectives="Project objectives are required",r.workInstructions.trim()?r.workInstructions.trim().length<20&&(e.workInstructions="Please provide more detailed work instructions (at least 20 characters)"):e.workInstructions="Work instructions are required",b(e),Object.keys(e).length===0},E=async e=>{if(e.preventDefault(),!!D())try{await y(r)}catch(m){console.error("Error submitting project form:",m)}},i=(e,m)=>{I(l=>({...l,[e]:m})),s[e]&&b(l=>({...l,[e]:void 0}))};return a(j,{className:`w-full max-w-2xl ${F}`,children:[a(h,{children:[a(x,{className:"flex items-center gap-2",children:[t(P,{className:"h-5 w-5"}),"Create New Project"]}),t(g,{children:"Set up a new project with clear objectives and work instructions to help your team collaborate effectively."})]}),a("form",{onSubmit:E,children:[a(w,{className:"space-y-6",children:[a("div",{className:"space-y-2",children:[t(n,{htmlFor:"name",className:"text-sm font-medium",children:"Project Name *"}),t(f,{id:"name",type:"text",placeholder:"Enter project name",value:r.name,onChange:e=>i("name",e.target.value),className:s.name?"border-red-500 focus:border-red-500":"",disabled:o,maxLength:100}),s.name&&t("p",{className:"text-sm text-red-600",children:s.name})]}),a("div",{className:"space-y-2",children:[t(n,{htmlFor:"objectives",className:"text-sm font-medium",children:"Project Objectives *"}),t(p,{id:"objectives",placeholder:"Describe the main goals and objectives of this project...",value:r.objectives,onChange:e=>i("objectives",e.target.value),className:`min-h-[100px] resize-y ${s.objectives?"border-red-500 focus:border-red-500":""}`,disabled:o,maxLength:1e3}),a("div",{className:"flex justify-between text-xs text-gray-500",children:[t("span",{children:s.objectives&&t("span",{className:"text-red-600",children:s.objectives})}),a("span",{children:[r.objectives.length,"/1000"]})]})]}),a("div",{className:"space-y-2",children:[t(n,{htmlFor:"workInstructions",className:"text-sm font-medium",children:"Work Instructions *"}),t(p,{id:"workInstructions",placeholder:"Provide detailed instructions on how the work should be carried out, including processes, standards, and expectations...",value:r.workInstructions,onChange:e=>i("workInstructions",e.target.value),className:`min-h-[120px] resize-y ${s.workInstructions?"border-red-500 focus:border-red-500":""}`,disabled:o,maxLength:2e3}),a("div",{className:"flex justify-between text-xs text-gray-500",children:[t("span",{children:s.workInstructions&&t("span",{className:"text-red-600",children:s.workInstructions})}),a("span",{children:[r.workInstructions.length,"/2000"]})]})]}),a("div",{className:"space-y-3",children:[t(n,{className:"text-sm font-medium",children:"Project Management"}),a("div",{className:"flex items-center space-x-2",children:[t(v,{id:"plan",checked:r.plan,onCheckedChange:e=>i("plan",e===!0),disabled:o}),t(n,{htmlFor:"plan",className:"text-sm text-gray-700 cursor-pointer",children:"Enable project planning and management features"})]}),t("p",{className:"text-xs text-gray-500 ml-6",children:"This will allow project managers to create sprints, assign tasks, and track progress."})]})]}),a(N,{className:"flex justify-end gap-3",children:[u&&a(d,{type:"button",variant:"outline",onClick:u,disabled:o,className:"flex items-center gap-2",children:[t(R,{className:"h-4 w-4"}),"Cancel"]}),t(d,{type:"submit",disabled:o,className:"flex items-center gap-2",children:o?a(C,{children:[t(L,{className:"h-4 w-4 animate-spin"}),"Creating..."]}):a(C,{children:[t(P,{className:"h-4 w-4"}),"Create Project"]})})]})]})]})},X=S;export{S as a,X as b};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as s}from"./chunk-MDJREBVI.mjs";import*as r from"react";import*as e from"@radix-ui/react-dialog";import{Cross2Icon as c}from"@radix-ui/react-icons";import{cva as f}from"class-variance-authority";import{jsx as o,jsxs as n}from"react/jsx-runtime";var x=e.Root,N=e.Trigger,C=e.Close,p=e.Portal,m=r.forwardRef(({className:t,...i},a)=>o(e.Overlay,{className:s("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...i,ref:a}));m.displayName=e.Overlay.displayName;var h=f("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),S=r.forwardRef(({side:t="right",className:i,children:a,...l},d)=>n(p,{children:[o(m,{}),n(e.Content,{ref:d,className:s(h({side:t}),i),...l,children:[n(e.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[o(c,{className:"h-4 w-4"}),o("span",{className:"sr-only",children:"Close"})]}),a]})]}));S.displayName=e.Content.displayName;var v=({className:t,...i})=>o("div",{className:s("flex flex-col space-y-2 text-center sm:text-left",t),...i});v.displayName="SheetHeader";var P=({className:t,...i})=>o("div",{className:s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...i});P.displayName="SheetFooter";var y=r.forwardRef(({className:t,...i},a)=>o(e.Title,{ref:a,className:s("text-lg font-semibold text-foreground",t),...i}));y.displayName=e.Title.displayName;var u=r.forwardRef(({className:t,...i},a)=>o(e.Description,{ref:a,className:s("text-sm text-muted-foreground",t),...i}));u.displayName=e.Description.displayName;export{x as a,N as b,C as c,p as d,m as e,S as f,v as g,P as h,y as i,u as j};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as d,b as m,c as n,e as i,f as c}from"./chunk-YO3GQYRJ.mjs";import{Clock as g}from"lucide-react";import{formatDistanceToNow as N}from"date-fns";import{jsx as a,jsxs as e}from"react/jsx-runtime";function T({artefact:l,taskId:f,taskData:p,loading:s=!1,error:C=null}){let t=p||{id:f,name:"Loading...",description:"",status:"done",dateLogged:new Date().toISOString(),project:{id:-1,name:""}},o=t.dateLogged;try{let r=new Date(t.dateLogged);isNaN(r.getTime())||(o=N(r,{addSuffix:!0}))}catch{}return e(d,{className:"w-full max-w-md shadow-md",children:[a(m,{className:"pb-2",children:a("div",{className:"flex justify-between items-start",children:a(n,{className:"text-lg font-semibold",children:s?"Loading...":t.name})})}),a(i,{className:"pb-2",children:s?a("div",{className:"animate-pulse h-4 bg-gray-200 rounded w-3/4 mb-2"}):C?a("p",{className:"text-sm text-red-500",children:"Error loading task details"}):a("p",{className:"text-sm text-foreground",children:l})}),a(c,{className:"pt-2 flex items-center justify-between",children:e("div",{className:"flex items-center text-xs text-gray-500",children:[a(g,{className:"h-3 w-3 mr-1"}),e("span",{children:["Created ",o]}),a("span",{className:"mx-2",children:"\u2022"}),e("span",{children:["Task #",t.id]})]})})]})}export{T as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as p}from"./chunk-B4H6T2GP.mjs";import{a as m}from"./chunk-TVZOULLL.mjs";import{a as c}from"./chunk-L5JPAKPM.mjs";import{useState as u}from"react";import{Edit as E}from"lucide-react";import{jsx as o,jsxs as f}from"react/jsx-runtime";var P=({fieldName:g,value:n,label:v,multiline:t=!1,onSave:y,className:b="",disabled:i=!1})=>{let[h,l]=u(!1),[a,r]=u(""),x=()=>{i||(l(!0),r(n))},s=async()=>{a!==n&&await y(g,a),l(!1)},d=e=>{e.key==="Enter"&&!t||e.key==="Enter"&&e.ctrlKey&&t?s():e.key==="Escape"&&(l(!1),r(""))};return f("div",{className:`space-y-2 ${b}`,children:[o(m,{children:v}),h?t?o(p,{value:a,onChange:e=>r(e.target.value),onBlur:s,onKeyDown:d,autoFocus:!0,rows:4,className:"resize-none"}):o(c,{value:a,onChange:e=>r(e.target.value),onBlur:s,onKeyPress:d,autoFocus:!0,className:"text-lg font-medium"}):f("div",{onClick:x,className:`${i?"cursor-not-allowed opacity-50":"cursor-pointer"} hover:bg-muted/50 p-2 rounded border border-transparent hover:border-border transition-colors group ${t?"min-h-[100px]":"min-h-[40px]"} flex items-start gap-2`,children:[o("span",{className:t?"text-sm text-muted-foreground":"text-lg font-medium text-foreground",children:n||"Click to edit..."}),!i&&o(E,{className:"h-4 w-4 text-muted-foreground opacity-0 group-hover:opacity-100 transition-opacity"})]})]})};export{P as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as v}from"./chunk-HNCC3AOT.mjs";import{c as b}from"./chunk-5Z5PL7N3.mjs";import{a as g}from"./chunk-FT3AE7L2.mjs";import{a as p}from"./chunk-L5JPAKPM.mjs";import{b as f}from"./chunk-ZUA4KNIR.mjs";import{b as o}from"./chunk-CSBGSBEU.mjs";import{a as n}from"./chunk-MDJREBVI.mjs";import*as N from"react";import x from"next/link";import{ChevronDown as I,Search as L,Settings as z,X as P}from"lucide-react";import{Fragment as R,jsx as e,jsxs as a}from"react/jsx-runtime";function O({items:h,isOpen:l,isMobile:r=!1,onClose:i,currentBusinessUnit:y=b[0],onBusinessUnitChange:w,className:d,logo:S="/headerlogo.png",appName:k="Nuvia",tagline:B="Collaboration Platform"}){let[m,C]=N.useState({}),U=t=>{C(s=>({...s,[t]:!s[t]}))},A=t=>{w?.(t)},j=t=>{let s=a(R,{children:[a("div",{className:"flex items-center gap-3",children:[t.icon,e("span",{children:t.title})]}),t.badge&&e(o,{variant:"outline",className:"ml-auto rounded-full px-2 py-0.5 text-xs",children:t.badge}),t.items&&e(I,{className:n("ml-2 h-4 w-4 transition-transform",m[t.title]?"rotate-180":"")})]}),u=n("flex w-full items-center justify-between rounded-2xl px-3 py-2 text-sm font-medium",t.isActive?"bg-primary/10 text-primary":"hover:bg-muted");return t.url?e(x,{href:t.url,className:u,onClick:r?i:void 0,children:s}):e("button",{className:u,onClick:()=>t.items&&U(t.title),children:s})},c=a("div",{className:"flex h-full flex-col border-r bg-background",children:[a("div",{className:"flex items-center justify-between p-4",children:[a("div",{className:"flex items-center gap-3",children:[e("div",{className:"flex h-14 w-14 items-center justify-center ",children:e("img",{src:S,alt:"Header Logo",className:"h-14 w-14 object-contain"})}),a("div",{children:[a("h2",{className:"font-semibold",children:[k,e("br",{})]}),a("p",{className:"text-xs text-muted-foreground",children:[B,e("br",{})]})]})]}),r&&e(f,{variant:"ghost",size:"icon",onClick:i,children:e(P,{className:"h-5 w-5"})})]}),e("div",{className:"px-3 py-2",children:a("div",{className:"relative",children:[e(L,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),e(p,{type:"search",placeholder:"Search...",className:"w-full rounded-2xl bg-muted pl-9 pr-4 py-2"})]})}),e("div",{className:"px-3 pb-2",children:e(v,{currentUnit:y,onUnitChange:A})}),e(g,{className:"flex-1 px-3 py-2",children:e("div",{className:"space-y-1",children:h.map(t=>a("div",{className:"mb-1",children:[j(t),t.items&&m[t.title]&&e("div",{className:"mt-1 ml-6 space-y-1 border-l pl-3",children:t.items.map(s=>a(x,{href:s.url,className:"flex items-center justify-between rounded-2xl px-3 py-2 text-sm hover:bg-muted",onClick:r?i:void 0,children:[s.title,s.badge&&e(o,{variant:"outline",className:"ml-auto rounded-full px-2 py-0.5 text-xs",children:s.badge})]},s.title))})]},t.title))})}),e("div",{className:"border-t p-3",children:e("div",{className:"space-y-1",children:a("button",{className:"flex w-full items-center gap-3 rounded-2xl px-3 py-2 text-sm font-medium hover:bg-muted",children:[e(z,{className:"h-5 w-5"}),e("span",{children:"Settings"})]})})})]});return r?e("div",{className:n("fixed inset-y-0 left-0 z-50 w-64 transform bg-background transition-transform duration-300 ease-in-out",l?"translate-x-0":"-translate-x-full",d),children:c}):e("div",{className:n("fixed inset-y-0 left-0 z-30 w-64 transform border-r bg-background transition-transform duration-300 ease-in-out",l?"translate-x-0":"-translate-x-full",d),children:c})}export{O as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{f as o}from"./chunk-IUT6JJHY.mjs";import n from"next/image";import{jsx as r,jsxs as m}from"react/jsx-runtime";var s=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:a,height:i,url:l,width:c}=e;return r(n,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:l||"",width:c||0,height:i||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return r("div",{children:r(n,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},p=({links:e,media:t,children:a,richText:i})=>m("div",{className:"relative bg-brand-one pb-12 mt-20 pt-10",children:[t&&r(s,{media:t}),r("div",{className:"mx-0 min-w-full relative z-9",children:r("div",{className:"container text-brand-one-foreground",children:a||i&&r(o,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:i,enableProse:!0,enableGutter:!1})})})]});export{p as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as n}from"./chunk-MZP7RIQZ.mjs";import{a as i}from"./chunk-HH3AWPYB.mjs";import{a as l}from"./chunk-M4NJB4NN.mjs";import{a as m}from"./chunk-DUEPJ3F4.mjs";import{ChevronRightIcon as c,HomeIcon as f}from"@heroicons/react/20/solid";import{Fragment as h,jsx as e,jsxs as a}from"react/jsx-runtime";var d={highImpact:i,lowImpact:l,mediumImpact:m,sectionHero:n},H=t=>{let{type:o}=t||{};if(!o||o==="none")return null;let r=d[o];return r?e(r,{...t}):null};function N({breadcrumbItems:t}){if(t&&t.length>0){let o=t.filter(r=>r.label.toLowerCase()!=="home");return e("nav",{"aria-label":"Breadcrumb",className:"flex",children:a("ol",{role:"list",className:"flex items-center space-x-4",children:[e("li",{children:e("div",{children:a("a",{href:"/",className:"text-foreground hover:text-accent",children:[e(f,{"aria-hidden":"true",className:"size-5 shrink-0"}),e("span",{className:"sr-only",children:"Home"})]})})}),o.map((r,s)=>e("li",{children:a("div",{className:"flex items-center",children:[e(c,{"aria-hidden":"true",className:"size-5 shrink-0 text-gray-400"}),r.href?e("a",{href:r.href,className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:r.label}):e("div",{className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:r.label})]})},s))]})})}return e(h,{})}export{H as a,N as b};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as s}from"./chunk-JFFTEK6Z.mjs";import{a as m}from"./chunk-MDJREBVI.mjs";import*as e from"react";import*as t from"@radix-ui/react-toggle-group";import{jsx as l}from"react/jsx-runtime";var f=e.createContext({size:"default",variant:"default"}),u=e.forwardRef(({className:o,variant:r,size:i,children:a,...p},g)=>l(t.Root,{ref:g,className:m("flex items-center justify-center gap-1",o),...p,children:l(f.Provider,{value:{variant:r,size:i},children:a})}));u.displayName=t.Root.displayName;var c=e.forwardRef(({className:o,children:r,variant:i,size:a,...p},g)=>{let n=e.useContext(f);return l(t.Item,{ref:g,className:m(s({variant:n.variant||i,size:n.size||a}),o),...p,children:r})});c.displayName=t.Item.displayName;export{u as a,c as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as r}from"./chunk-ISBVFNWD.mjs";import{f as s}from"./chunk-IUT6JJHY.mjs";import m from"clsx";import{jsx as t,jsxs as c}from"react/jsx-runtime";var g=a=>{let{className:i,docs:n,introContent:o}=a;return c("div",{className:m("container",i),children:[o&&t(s,{content:o,enableGutter:!1}),t("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 md:gap-8 items-stretch",children:n?.map((e,p)=>typeof e=="string"?null:t(r,{doc:e,relationTo:"posts",showCategories:!0},p))})]})};export{g as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as f,d as b,g as v,i as m}from"./chunk-YFAZQYK4.mjs";import{a as g}from"./chunk-TVZOULLL.mjs";import{a as u}from"./chunk-L5JPAKPM.mjs";import{b as h}from"./chunk-CSBGSBEU.mjs";import{useState as C}from"react";import{jsx as a,jsxs as n}from"react/jsx-runtime";var A=({label:O,value:o,onValueChange:d,options:c,placeholder:y="Search...",allowCustomValue:s=!1,disabled:l=!1})=>{let[p,r]=C(!1),[t,i]=C(""),N=c.find(e=>e.value===o),S=c.filter(e=>e.label.toLowerCase().includes(t.toLowerCase())),I=e=>{d(e),r(!1),i("")},L=()=>{s&&t.trim()&&!c.find(e=>e.value===t.trim())&&(d(t.trim()),r(!1),i(""))};return n("div",{className:"space-y-1",children:[a(g,{className:"text-xs text-muted-foreground",children:O}),n(f,{value:o,onValueChange:I,open:p,onOpenChange:e=>{l||r(e)},disabled:l,children:[a(b,{className:"h-auto p-0 border-none bg-transparent hover:bg-muted/50 rounded-md",children:a(h,{variant:"secondary",className:`${l?"cursor-not-allowed opacity-50":"cursor-pointer"} hover:bg-muted transition-colors`,onClick:()=>!l&&r(!p),children:N?.label||o||"Select..."})}),n(v,{children:[a("div",{className:"p-2",children:a(u,{placeholder:y,value:t,onChange:e=>i(e.target.value),onKeyDown:e=>{e.key==="Enter"&&s&&L()},className:"mb-2"})}),S.map(e=>a(m,{value:e.value,children:e.label},e.value)),s&&t.trim()&&!S.find(e=>e.value===t.trim())&&n(m,{value:t.trim(),children:['Add "',t.trim(),'"']})]})]})]})};export{A as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{BarChart3 as i,CogIcon as a,Building2 as t,BadgeCheck as n}from"lucide-react";import{jsx as e,jsxs as s}from"react/jsx-runtime";function r(){return e("div",{className:"w-full bg-primary text-white p-8 rounded-lg border border-dashed border-white/30",children:s("div",{className:"grid md:grid-cols-4 gap-8 relative",children:[s("div",{className:"space-y-4 bg-primary p-3 rounded-lg",children:[s("div",{className:"flex items-center gap-2 relative z-10",children:[e("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:e("span",{className:"text-[#0B3B4E]",children:"1"})}),e(i,{className:"w-8 h-8"})]}),e("h2",{className:"text-xl font-semibold",children:"Agile Delivery and Leadership in Complex Environments"}),e("p",{className:"text-secondary text-sm",children:"We excel in delivering technology solutions in complex environments with evolving customer needs, regulatory constraints, and resource limitations."}),s("ul",{className:"text-sm",children:[e("li",{children:"Strategy definition"}),e("li",{children:"Programme leadership"}),e("li",{children:"Detailed planning"}),e("li",{children:"\u2022 Financial control"}),e("li",{children:"\u2022 Rigorous governance"})]})]}),s("div",{className:"space-y-4",children:[s("div",{className:"flex items-center gap-2 relative z-10",children:[e("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:e("span",{className:"text-[#0B3B4E]",children:"2"})}),e(a,{className:"w-8 h-8"})]}),e("h2",{className:"text-xl font-semibold",children:"Significant Technical Expertise in Cloud, AI, & Data"}),e("p",{className:"text-sky-200 text-sm",children:"Our architects and engineers possess extensive expertise in designing, building, and operating modern, leading-edge technologies and enterprise-class solutions."}),e("p",{className:"text-sm",children:"We deploy highly experienced, multidisciplinary teams skilled in product delivery, architecture, software development, DevOps, and security."})]}),s("div",{className:"space-y-4",children:[s("div",{className:"flex items-center gap-2 relative z-10",children:[e("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:e("span",{className:"text-[#0B3B4E]",children:"3"})}),e(t,{className:"w-8 h-8"})]}),e("h2",{className:"text-xl font-semibold",children:"Deep Public Sector, FS, Regulatory & Security Expertise"}),e("p",{className:"text-sky-200 text-sm",children:"We understand how to navigate public sector and financial services regulation and how to deliver compliant and robustly secure cutting-edge solutions in this context."}),e("p",{className:"text-sm",children:"We have successfully completed projects for numerous public sector and Financial Services engagements, including XXX, XXXXXX XXXXXX, XXXXX XXXXXXXXXXXXXXX, XXXXXXXXXXXXXX and many other institutions."})]}),s("div",{className:"space-y-4",children:[s("div",{className:"flex items-center gap-2 relative z-10",children:[e("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:e("span",{className:"text-[#0B3B4E]",children:"4"})}),e(n,{className:"w-8 h-8"})]}),e("h2",{className:"text-xl font-semibold",children:"Extensive track record of delivery within XXXX"}),e("p",{className:"text-sky-200 text-sm",children:"We have collaborated closely with the XXXX since 2020 and understand its technology landscape and ambitions."}),e("p",{className:"text-sm",children:"As an XXXX strategic partner, we have led numerous transformation programmes, providing expertise in architectural design, engineering standards and technical leadership, and optimisations."})]})]})})}export{r as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as l}from"./chunk-XI5H6WLY.mjs";import{a as o}from"./chunk-SRUG246N.mjs";import{a as r}from"./chunk-KML6U7IE.mjs";import p from"next/image";import{FaEnvelope as c,FaPhoneFlip as d}from"react-icons/fa6";import{jsx as e,jsxs as t}from"react/jsx-runtime";function f(s){let{sectionHeading:i,image:a}=s;return e("div",{className:"relative w-full light py-[60px]",children:t("div",{className:"w-full grid grid-cols-1 md:grid-cols-2 gap-1 items-center justify-center",children:[e("div",{className:"relative h-full w-full",children:e(p,{src:a.src,alt:a.alt,fill:!0,objectFit:"contain",sizes:"(min-width: 768px) 30vw, 50vw",placeholder:"blur",blurDataURL:r})}),e("div",{className:"w-full h-full",children:t("div",{className:"bg-white p-10",children:[e("div",{className:"mb-30px",children:e(l,{...i,invert:!0})}),e(o,{})]})})]})})}function y(s){return e("div",{className:"",children:e("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:e("div",{className:"mx-auto max-w-2xl space-y-16 divide-y divide-gray-100 lg:mx-0 lg:max-w-none",children:t("div",{className:"grid grid-cols-1 gap-10 pt-16 lg:grid-cols-3",children:[t("div",{children:[e("h2",{className:"text-pretty text-4xl text-primary",children:"Locations"}),e("p",{className:"mt-4 text-base/7 text-foreground",children:"We have multiple locations across the UK."})]}),e("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2 lg:col-span-2 lg:gap-8",children:s.locations&&s.locations.map((i,a)=>t("div",{className:"rounded-2xl p-10 border",children:[e("h3",{className:"text-base/7 text-primary",children:i.title}),t("address",{className:"mt-3 space-y-1 text-sm/6 not-italic text-foreground",children:[i.location.split(",")?.map((m,n)=>e("p",{children:m},n))," ",i.mails&&t("p",{className:"flex items-center space-x-2",children:[e(c,{className:"pr-2 text-primary size-auto"}),e("span",{children:i.mails[0]})]}),i.phoneNumbers&&i.phoneNumbers.length>0&&t("p",{className:"flex items-center space-x-2",children:[e(d,{className:"pr-2 text-primary size-auto"}),i.phoneNumbers[0]]})]})]},a))})]})})})})}export{f as a,y as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as A}from"./chunk-RR4QSUV2.mjs";import{a as g,c as v,d as f,g as C,i as h}from"./chunk-YFAZQYK4.mjs";import{a as F}from"./chunk-INCYANPB.mjs";import{a as N}from"./chunk-FT3AE7L2.mjs";import{a as k}from"./chunk-B4H6T2GP.mjs";import{a as l}from"./chunk-TVZOULLL.mjs";import{a as S,f as y,g as x,i as w}from"./chunk-3UMMMQEH.mjs";import{a as u}from"./chunk-L5JPAKPM.mjs";import{b as p}from"./chunk-ZUA4KNIR.mjs";import{useState as D,useEffect as M}from"react";import{PlusIcon as z}from"lucide-react";import{Fragment as j,jsx as t,jsxs as r}from"react/jsx-runtime";function se({customers:b,users:d,categories:I,onSubmit:E,initialDeal:n,onAddCustomer:P,onClose:L}){let[a,o]=D(n||{customer:void 0,value:0,assignee:void 0,status:"Cold",categories:[],dateLogged:new Date().toISOString().split("T")[0],closureDate:"",comments:[],description:""}),[T,m]=D(!1),[i,c]=D({});M(()=>{n&&o(n)},[n]);let U=()=>{let e={};return a.customer||(e.customer="Customer is required"),a.value||(e.value="Value is required"),a.assignee||(e.assignee="Assignee is required"),a.closureDate||(e.closureDate="Closure Date is required"),c(e),Object.keys(e).length===0},B=async e=>{e.preventDefault(),c({});try{if(U()){let s=await E({...a});s.success?(o({customer:void 0,value:0,assignee:void 0,description:"",status:"Cold",closureDate:""}),L?.()):c(s.errors||{})}}catch{c({submit:"An error occurred while submitting the form."})}},O=e=>{o(s=>({...s,categories:(s.categories||[]).includes(e.id)?(s.categories||[]).filter(H=>H!==e.id):[...s.categories||[],e.id]}))},V=async e=>{o({...a,customer:e});try{let s=await P(e);s.success?m(!1):c(s.errors||{})}catch{c({submit:"An error occurred while submitting the form."})}},q=e=>d?.find(s=>s.id===Number(e)),R=e=>b?.find(s=>s.id===Number(e));return r(j,{children:[r("form",{onSubmit:B,className:"space-y-6",children:[t(N,{className:"h-[60vh] pr-4",children:r("div",{className:"space-y-6 px-4",children:[r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"customer",children:"Customer"}),r("div",{className:"flex items-center space-x-2",children:[r(g,{value:a.customer?.id?.toString(),onValueChange:e=>o({...a,customer:R(e)}),children:[t(f,{children:t(v,{placeholder:"Select customer"})}),t(C,{children:b.map(e=>t(h,{value:e.id?.toString()||"",children:e.name},e.id))})]}),t(p,{variant:"outline",size:"icon",onClick:()=>m(!0),children:t(z,{className:"w-5 h-5"})})]}),i.customerId&&t("p",{className:"text-red-500 text-sm",children:i.customerId})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"value",children:"Value"}),t(u,{id:"value",type:"number",value:a.value||"",onChange:e=>o({...a,value:Number.parseFloat(e.target.value)}),placeholder:"Enter deal value"}),i.value&&t("p",{className:"text-red-500 text-sm",children:i.value})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"assignee",children:"Assignee"}),r(g,{value:a.assignee?.id?.toString(),onValueChange:e=>o({...a,assignee:q(e)}),children:[t(f,{children:t(v,{placeholder:"Select assignee"})}),t(C,{children:d&&d.map(e=>t(h,{value:e.id?.toString()||"",children:e.name},e.id))})]}),i.assignee&&t("p",{className:"text-red-500 text-sm",children:i.assignee})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"description",children:"Description"}),t(k,{id:"description",value:a.description||"",onChange:e=>o({...a,description:e.target.value}),placeholder:"Enter deal description"})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{children:"Categories"}),t("div",{className:"space-y-4",children:["proposition","source","sector"].map(e=>r("div",{className:"space-y-2",children:[t("h4",{className:"text-sm font-medium",children:e.charAt(0).toUpperCase()+e.slice(1)}),t("div",{className:"grid grid-cols-2 gap-2",children:I.filter(s=>s.type===e).map(s=>r("div",{className:"flex items-center space-x-2",children:[t(F,{id:s.id.toString(),checked:a.categories?.includes(s.id),onCheckedChange:()=>O(s)}),t("label",{htmlFor:s.id.toString(),className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",children:s.name})]},s.id))})]},e))})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"closureDate",children:"Closure Date"}),t(u,{id:"closureDate",type:"date",value:a.closureDate||"",onChange:e=>o({...a,closureDate:e.target.value})}),i.closureDate&&t("p",{className:"text-red-500 text-sm",children:i.closureDate})]})]})}),t(p,{type:"submit",className:"w-full",children:n?"Update Deal":"Add Deal"})]}),t(S,{open:T,onOpenChange:m,children:r(y,{children:[t(x,{children:t(w,{children:"Add New Customer"})}),t(A,{onSubmit:V})]})})]})}export{se as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as d}from"./chunk-YNNW2C2U.mjs";import{b as r}from"./chunk-CSBGSBEU.mjs";import f from"react";import c from"next/image";import{jsx as e,jsxs as t}from"react/jsx-runtime";var h=({post:p})=>{let{categories:o,meta:n,populatedAuthors:a,publishedAt:i,title:m}=p;return t("div",{className:"relative grid pt-24",children:[e("div",{className:"relative z-10 flex flex-col justify-end min-h-[50vh] text-foreground dark:text-foreground pt-24 p-6 lg:p-12",children:t("div",{className:"container mx-auto",children:[e("h1",{className:"mb-6 text-[clamp(2rem,1.5rem+1.5vw,3.5rem)] font-bold leading-tight ",children:m}),t("div",{className:"flex flex-col gap-4 md:flex-row md:gap-16 ",children:[a&&a.length>0&&t("div",{className:"flex flex-col gap-1",children:[t("p",{className:"text-sm",children:["Author",a.length>1?"s":""]}),e("p",{children:a.map((l,s)=>t(f.Fragment,{children:[l.name,s<a.length-2&&", ",s===a.length-2&&(a.length>2?", and ":" and ")]},l.id))})]}),i&&t("div",{className:"flex flex-col gap-1",children:[e("p",{className:"text-sm",children:"Date Published"}),e("time",{dateTime:i,children:d(i)})]}),o&&o.length>0&&t("div",{className:"flex flex-col gap-1",children:[e("p",{className:"text-sm font-medium",children:"Categories"}),e("div",{className:"flex flex-wrap gap-2",children:o.map((l,s)=>typeof l=="object"&&l!==null&&e(r,{className:"px-3 py-1 mx-1",children:l.title||"Untitled category"},l.id||s))})]})]})]})}),t("div",{className:"absolute inset-0 w-full h-full",children:[e(c,{className:"object-cover",alt:`Cover image for ${m}`,src:n?.image?.url||"/assets/images/blog/gradient.png",fill:!0,priority:!0,sizes:"100vw"}),e("div",{className:"absolute pointer-events-none left-0 bottom-0 w-full h-1/2 bg-gradient-to-t from-background dark:from-black to-transparent"})]})]})};export{h as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as s}from"./chunk-7WIO2CIC.mjs";import{a as m}from"./chunk-FMJBJ3HN.mjs";import{jsx as e,jsxs as t}from"react/jsx-runtime";function f({logoVideo:r,logoLight:l,logoDark:n,menuItems:d,title:o,subtitle:i}){let c=()=>{let a=document.getElementById("next-section");a&&a.scrollIntoView({behavior:"smooth"})};return e("div",{children:t("div",{className:"sticky top-0 h-screen",children:[t("video",{className:"fixed inset-0 object-cover w-full h-full z-0",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:[e("source",{src:"assets/videos/background2.mp4",type:"video/mp4"}),"Your browser does not support the video tag."]}),e("div",{className:"fixed inset-0 h-full z-10 flex flex-col items-start justify-center text-white px-4",children:e(m,{children:t("div",{className:"flex flex-col items-start md:w-2/3 mb-10 z-0 md:mb-0",children:[e("h1",{className:"text-5xl md:text-7xl mb-6",children:o&&o}),e("div",{className:"text-lg md:text-2xl text-gray-300 mb-8 max-w-lg",children:i&&i})]})})}),e(s,{className:"text-black z-10",position:"header"})]})})}export{f as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{useState as c,useEffect as d}from"react";function a(r,t){let[o,s]=c(()=>{if(typeof window>"u")return t;try{let e=window.localStorage.getItem(r);return e?JSON.parse(e):t}catch{return t}}),n=e=>{try{s(e),typeof window<"u"&&window.localStorage.setItem(r,JSON.stringify(e))}catch{}};return d(()=>{n(o)},[]),[o,n]}export{a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as n}from"./chunk-MDJREBVI.mjs";import{useSearchParams as h,usePathname as P,useRouter as x}from"next/navigation";import{FaArrowRight as N,FaArrowLeft as S}from"react-icons/fa6";import{useState as v}from"react";import{jsx as a,jsxs as w}from"react/jsx-runtime";var s=n("grid h-[45px] w-[45px] place-items-center border border-[#3b3b3b] font-secondary text-base text-foreground rounded-full transition-colors duration-300 hover:bg-accent hover:border-accent hover:text-accent-foreground");function $({pages:u}){let b=h(),d=P(),{replace:m}=x(),{totalPages:l,page:o}=u,[r,c]=v({start:o>3?o-3:1,end:o+2}),i=e=>{e==="left"&&r.start>1?c(t=>({start:t.start-1,end:t.end-1})):e==="right"&&r.end<l&&c(t=>({start:t.start+1,end:t.end+1}))};function f(e){let t=new URLSearchParams(b);e?t.set("page",e):t.delete("page"),m(`${d}?${t.toString()}`)}if(l<=1)return null;let g=[];for(let e=r.start;e<=r.end;e++)g.push(e);return a("div",{className:"mt-12",children:w("ul",{className:"flex flex-wrap items-center justify-center gap-3 md:gap-5","aria-label":"pagination",children:[r.start>1&&a("li",{children:a("button",{className:n(s,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll left",onClick:()=>i("left"),children:a(S,{})})}),g.map((e,t)=>a("li",{children:a("a",{className:n(s,e===o?"border-accent bg-accent text-accent-foreground":"border-accent"),href:"#","aria-label":`pagination button ${e}`,role:"button",onClick:p=>{p.preventDefault(),f(e.toString())},children:e})},t)),r.end<l&&a("li",{children:a("button",{className:n(s,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll right",onClick:()=>i("right"),children:a(N,{})})})]})})}export{$ as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as n}from"./chunk-MDJREBVI.mjs";import{jsx as r}from"react/jsx-runtime";function l({children:e,isFluid:a=!1,isNoPadding:o=!1,className:i=""}){let t=n("container",a&&"full-width",o&&"no-padding",i);return r("div",{className:t,children:e})}export{l as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as C}from"./chunk-PFLESLNT.mjs";import{a as c}from"./chunk-DFIXTV2M.mjs";import{a as w}from"./chunk-6SWKEZN6.mjs";import{a as h,f as x,g as S,i as T}from"./chunk-3UMMMQEH.mjs";import{useState as r}from"react";import{Loader2 as H,Check as L,X as O}from"lucide-react";import{jsx as e,jsxs as i}from"react/jsx-runtime";var J=({isOpen:y,onClose:m,task:t,epics:U,sprints:b,onUpdateTask:p,onDeleteTask:N})=>{let[k,g]=r(new Date),[o,a]=r("idle"),[l,d]=r("idle"),[u,A]=r([{id:"1",text:"Initial task created and assigned.",author:"System",createdAt:t.createdAt},{id:"2",text:"Started working on the implementation.",author:t.assignee,createdAt:new Date(t.createdAt.getTime()+864e5)}]),f=async(s,n)=>{if(n!==t[s]){a("loading");try{await p(t.id,{[s]:n}),g(new Date),a("success"),setTimeout(()=>a("idle"),1500)}catch{a("error"),setTimeout(()=>a("idle"),3e3)}}},P=async(s,n)=>{if(n!==t[s]){a("loading");try{await p(t.id,{[s]:n}),g(new Date),a("success"),setTimeout(()=>a("idle"),1500)}catch{a("error"),setTimeout(()=>a("idle"),3e3)}}},I=s=>{let n={id:Date.now().toString(),text:s,author:"Current User",createdAt:new Date};A([...u,n])},E=async()=>{d("loading");try{await N(t.id),d("success"),setTimeout(()=>{m(),d("idle")},1e3)}catch{d("error"),setTimeout(()=>d("idle"),3e3)}},v=o!=="loading"&&l!=="loading",D=()=>{v&&m()},F=()=>o==="loading"?i("div",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[e(H,{className:"h-4 w-4 animate-spin"}),e("span",{children:"Updating..."})]}):o==="success"?i("div",{className:"flex items-center gap-2 text-sm text-success",children:[e(L,{className:"h-4 w-4"}),e("span",{children:"Updated successfully"})]}):o==="error"?i("div",{className:"flex items-center gap-2 text-sm text-destructive",children:[e(O,{className:"h-4 w-4"}),e("span",{children:"Update failed"})]}):null;return e(h,{open:y,onOpenChange:D,children:i(x,{className:"max-w-3xl max-h-[80vh] overflow-y-auto p-4",children:[i(S,{children:[e(T,{className:"sr-only",children:t.title}),i("div",{className:"flex items-center justify-between",children:[e("div",{className:"flex-1",children:F()}),!v&&e("div",{className:"text-xs text-muted-foreground",children:"Please wait..."})]})]}),i("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-4",children:[i("div",{className:"lg:col-span-2 space-y-4",children:[e(c,{fieldName:"title",value:t.title,label:"",onSave:f,className:"border-b border-border pb-3",disabled:o==="loading"}),e(c,{fieldName:"description",value:t.description,label:"Description",multiline:!0,onSave:f,disabled:o==="loading"}),e(w,{comments:u,onAddComment:I})]}),e(C,{task:t,epics:U,sprints:b,lastUpdated:k,onUpdateTask:P,onClose:D,onDelete:E,isUpdating:o==="loading",isDeleting:l==="loading",deleteState:l})]})]})})};export{J as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as c}from"./chunk-MNI6AM7Q.mjs";import{a as d}from"./chunk-2NMVE5M4.mjs";import{a as m,f as n,g as r,i as s,j as l}from"./chunk-3UMMMQEH.mjs";import{useState as f}from"react";import{motion as x,AnimatePresence as v}from"framer-motion";import{jsx as e,jsxs as a}from"react/jsx-runtime";function w({teams:o=[],onCreateTeam:p,onTeamOpen:g}){let[u,i]=f(!1),y=()=>{i(!0),p?.()},T=t=>{g?.(t)};return a("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[e(v,{mode:"wait",children:a(x.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},children:[e(d,{title:"My Teams",description:"Collaborate with your human and digital colleagues across different teams and projects.",gradient:"bg-gradient-to-r from-blue-600 via-cyan-600 to-teal-600",primaryAction:{label:"Create Team",onClick:y}}),a("section",{className:"space-y-4 mt-8",children:[e("h2",{className:"text-2xl font-semibold",children:"Active Teams"}),o.length===0?a("div",{className:"text-center py-12",children:[e("p",{className:"text-muted-foreground text-lg",children:"You're not part of any teams yet."}),e("p",{className:"text-muted-foreground text-sm mt-2",children:"Create a new team or ask to be added to an existing one."})]}):e("div",{className:"grid grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-3",children:o.map(t=>e(c,{team:t,onOpen:T},t.id))})]})]},"teams-index-view")}),e(m,{open:u,onOpenChange:i,children:a(n,{className:"max-w-3xl max-h-[90vh] overflow-y-auto",children:[a(r,{children:[e(s,{children:"Create New Team"}),e(l,{children:"Set up a new team to collaborate with colleagues on projects."})]}),e("div",{className:"p-6 text-center text-muted-foreground",children:e("p",{children:"Team creation form coming soon..."})})]})})]})}export{w as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{useState as i,useEffect as o}from"react";var l=(n=768)=>{let[s,t]=i(!1);return o(()=>{let e=()=>{t(window.innerWidth<n)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[n]),s};export{l as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as t}from"./chunk-MDJREBVI.mjs";import*as c from"react";import*as r from"@radix-ui/react-scroll-area";import{jsx as l,jsxs as f}from"react/jsx-runtime";var S=c.forwardRef(({className:o,children:e,...i},a)=>f(r.Root,{ref:a,className:t("relative overflow-hidden",o),...i,children:[l(r.Viewport,{className:"h-full w-full rounded-[inherit]",children:e}),l(m,{}),l(r.Corner,{})]}));S.displayName=r.Root.displayName;var m=c.forwardRef(({className:o,orientation:e="vertical",...i},a)=>l(r.ScrollAreaScrollbar,{ref:a,orientation:e,className:t("flex touch-none select-none transition-colors",e==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-[1px]",e==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",o),...i,children:l(r.ScrollAreaThumb,{className:"relative flex-1 rounded-full bg-border"})}));m.displayName=r.ScrollAreaScrollbar.displayName;export{S as a,m as b};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as p}from"./chunk-3U3PZBHQ.mjs";import{a as B}from"./chunk-2NMVE5M4.mjs";import{a as I}from"./chunk-M245YHYF.mjs";import{a as R,c as D,d as H,g as E,i as b}from"./chunk-YFAZQYK4.mjs";import{a as k}from"./chunk-L5JPAKPM.mjs";import{b as N}from"./chunk-ZUA4KNIR.mjs";import{a,b as c,c as m,e as i}from"./chunk-YO3GQYRJ.mjs";import{useState as f}from"react";import{Plus as M,Search as O,File as u,Filter as W}from"lucide-react";import{motion as J,AnimatePresence as K}from"framer-motion";import{jsx as e,jsxs as t}from"react/jsx-runtime";function Q({initialFiles:P=[],onFileAdd:X,onFileEdit:U,onFileDelete:V,onFileClick:$,compactView:g=!1,className:j}){let[n,G]=f(P),[r,y]=f(""),[o,w]=f("all"),[d,L]=f("all"),q=Array.from(new Set(n.map(l=>l.app))),s=n.filter(l=>{let h=l.name.toLowerCase().includes(r.toLowerCase()),x=o==="all"||l.app===o;return h&&x}),S=s.slice(0,10),A=s.filter(l=>l.shared),T=()=>{console.log("Add file clicked")},F=l=>{console.log("Edit file:",l.name),U?.(l)},v=l=>{G(h=>h.filter(x=>x.name!==l.name)),V?.(l.name)},C=l=>{console.log("File clicked:",l.name),$?.(l)},z=()=>{y(""),w("all")};return e("div",{className:"px-2 md:px-4 py-4 space-y-8",children:e(K,{mode:"wait",children:e(J.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},children:t("div",{className:`space-y-6 ${j||""}`,children:[e(B,{title:"Files",description:"Manage and organize your files and documents.",gradient:"bg-gradient-to-r from-blue-600 via-indigo-600 to-purple-600",primaryAction:{label:"Upload file",onClick:T},secondaryAction:{label:"Download all",onClick:()=>console.log("Download all clicked")}}),t("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[t(a,{children:[t(c,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[e(m,{className:"text-sm font-medium",children:"Total Files"}),e(u,{className:"h-4 w-4 text-muted-foreground"})]}),t(i,{children:[e("div",{className:"text-2xl font-bold",children:n.length}),t("p",{className:"text-xs text-muted-foreground",children:[n.filter(l=>l.shared).length," shared"]})]})]}),t(a,{children:[t(c,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[e(m,{className:"text-sm font-medium",children:"Storage Used"}),e(u,{className:"h-4 w-4 text-muted-foreground"})]}),t(i,{children:[e("div",{className:"text-2xl font-bold",children:"2.4 GB"}),e("p",{className:"text-xs text-muted-foreground",children:"of 10 GB used"})]})]}),t(a,{children:[t(c,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[e(m,{className:"text-sm font-medium",children:"Recent Activity"}),e(u,{className:"h-4 w-4 text-muted-foreground"})]}),t(i,{children:[e("div",{className:"text-2xl font-bold",children:"12"}),e("p",{className:"text-xs text-muted-foreground",children:"files modified today"})]})]})]}),e(a,{children:e(i,{className:"pt-6",children:t("div",{className:"flex flex-col md:flex-row gap-4",children:[e("div",{className:"flex-1",children:t("div",{className:"relative",children:[e(O,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),e(k,{placeholder:"Search files...",value:r,onChange:l=>y(l.target.value),className:"pl-9"})]})}),t(R,{value:o,onValueChange:w,children:[e(H,{className:"w-full md:w-[180px]",children:e(D,{placeholder:"Filter by app"})}),t(E,{children:[e(b,{value:"all",children:"All Apps"}),q.map(l=>e(b,{value:l,children:l},l))]})]}),(r||o!=="all")&&t(N,{variant:"outline",onClick:z,className:"gap-2",children:[e(W,{className:"h-4 w-4"}),"Clear"]})]})})}),t("div",{className:"space-y-4",children:[e(I,{activeTab:d,onTabChange:L,tabOptions:[{value:"all",label:`All Files (${s.length})`},{value:"recent",label:`Recent (${S.length})`},{value:"shared",label:`Shared (${A.length})`}],maxWidth:"500px",gridCols:3}),d==="all"&&e(p,{files:s,onFileClick:C,onFileEdit:F,onFileDelete:v,showHeader:!g}),d==="recent"&&e(p,{files:S,onFileClick:C,onFileEdit:F,onFileDelete:v,showHeader:!g}),d==="shared"&&e(p,{files:A,onFileClick:C,onFileEdit:F,onFileDelete:v,showHeader:!g})]}),s.length===0&&e(a,{children:e(i,{className:"pt-6",children:t("div",{className:"text-center py-8",children:[e(u,{className:"h-12 w-12 text-muted-foreground mx-auto mb-4"}),e("h3",{className:"text-lg font-semibold mb-2",children:"No files found"}),e("p",{className:"text-muted-foreground mb-4",children:r||o!=="all"?"Try adjusting your filters to see more results.":"Get started by uploading your first file."}),t(N,{onClick:T,className:"gap-2",children:[e(M,{className:"h-4 w-4"}),"Upload File"]})]})})})]})},"files-view")})})}export{Q as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{f as u}from"./chunk-IUT6JJHY.mjs";import{a as m}from"./chunk-2QZUKVBA.mjs";import{a as d}from"./chunk-MDJREBVI.mjs";import{jsx as r,jsxs as h}from"react/jsx-runtime";var B=g=>{let{columns:a,theme:i}=g,y={full:"12",half:"6",oneThird:"4",twoThirds:"8"},b={none:"",line:"border border-primary p-4 rounded-lg"},c=e=>{if(e.type&&e.type==="block"&&e.fields&&(e.fields.blockType==="imageBlock"||e.fields.blockType==="mediaBlock"))return!0;if(e.root&&e.root.children){for(let o of e.root.children)if(c(o))return!0}if(e.children){for(let o of e.children)if(c(o))return!0}return!1},k=(e,o,n)=>{if(o==="none"||n==="full")return{processedRichText:e,heading:null};let l=e,t=null;return e&&e.root&&e.root.children&&e.root.children[0].tag==="h2"&&(l={...e,root:{...e.root,children:e.root.children.slice(1)}},t=e.root.children[0]),{processedRichText:l,heading:t}};return r("div",{className:"my-6",children:r("div",{className:d("grid grid-cols-4 lg:grid-cols-12 gap-y-8",i?.settings?.box?"gap-x-8":"gap-x-16"),children:a&&a.length>0&&a.map((e,o)=>{let{enableLink:n,link:l,richText:t,size:s}=e,{processedRichText:p,heading:f}=k(t,i?.settings?.box||"none",s||"full");return h("div",{className:d(`col-span-4 lg:col-span-${y[s]}`,{"md:col-span-2":s!=="full"},b[s!=="full"&&!c(t)&&i?.settings?.box||"none"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${o+1}00`),children:[f&&r("div",{className:"bg-primary text-primary-foreground mb-4 -mt-4 -mx-4 px-4 py-2 text-xl",children:f.children[0].text}),p&&r(u,{content:p,enableGutter:!1,className:"rich-text"}),n&&r(m,{...l})]},o)})})})};export{B as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as g}from"./chunk-A24EPYUY.mjs";import{b as d}from"./chunk-ZUA4KNIR.mjs";import{a as v,b as p,c as f}from"./chunk-SOLZ4VQH.mjs";import{ChevronLeft as $,ChevronRight as A}from"lucide-react";import{jsx as t,jsxs as a}from"react/jsx-runtime";function y(...e){return e.filter(Boolean).join(" ")}function B({currentDate:e,setCurrentDate:i,holidays:u,employees:n}){let b=new Date(e.getFullYear(),e.getMonth()+1,0).getDate(),x=()=>{i(new Date(e.getFullYear(),e.getMonth()-1,1))},N=()=>{i(new Date(e.getFullYear(),e.getMonth()+1,1))},w=()=>{i(new Date)},k=r=>r.toLocaleString("default",{weekday:"short"}).charAt(0);return a("div",{className:"px-4 sm:px-6 lg:px-8",children:[a("div",{className:"sm:flex sm:items-center",children:[a("div",{className:"sm:flex-auto",children:[t("h1",{className:"text-2xl font-semibold text-accent",children:e.toLocaleString("default",{month:"long",year:"numeric"})}),t("p",{className:"mt-2 text-sm text-foreground",children:"All staff with holidays for the current month."})]}),a("div",{className:"relative flex items-center rounded-md gap-1 md:items-stretch",children:[a(d,{onClick:x,variant:"outline",size:"icon",className:"rounded-l-md border-accent hover:text-accent",children:[t("span",{className:"sr-only",children:"Previous month"}),t($,{className:"h-5 w-5","aria-hidden":"true"})]}),t(d,{variant:"outline",onClick:w,className:"hidden border-l border-r border-accent px-3.5 text-sm font-semibold text-accent hover:bg-gray-50 focus:relative md:block",children:"Today"}),a(d,{onClick:N,variant:"outline",size:"icon",className:"rounded-r-md border-accent hover:text-accent",children:[t("span",{className:"sr-only",children:"Next month"}),t(A,{className:"h-5 w-5","aria-hidden":"true"})]})]})]}),t("div",{className:"mt-8 flow-root",children:t("div",{className:"-mx-4 -my-2 overflow-x-auto sm:-mx-6 lg:-mx-8",children:t("div",{className:"max-h-[60vh] overflow-y-auto",children:a("table",{className:"min-w-full border-separate border-spacing-0",children:[t("thead",{className:"sticky top-0 z-20 bg-white",children:a("tr",{children:[t("th",{scope:"col",className:"sticky left-0 top-0 z-30 border-b border-r border-gray-300 bg-white bg-opacity-75 py-3.5 pl-4 pr-3 text-left text-sm font-semibold text-gray-900 backdrop-blur backdrop-filter sm:pl-6 lg:pl-8",children:"Employee"}),[...Array(b)].map((r,s)=>{let l=new Date(e.getFullYear(),e.getMonth(),s+1);return a("th",{scope:"col",className:`sticky top-0 z-10 border-b border-r border-gray-300 bg-white bg-opacity-75 px-0 py-3.5 text-center text-sm font-semibold text-gray-900 backdrop-blur backdrop-filter ${g(l)?"bg-gray-200":""}`,children:[t("div",{children:k(l)}),t("div",{children:s+1})]},s)})]})}),t("tbody",{children:n.map((r,s)=>a("tr",{children:[t("td",{className:y(s!==n.length-1?"border-gray-200":"","sticky left-0 z-10 bg-white border-r pl-4 pr-3 text-sm font-medium text-gray-900 sm:pl-6 lg:pl-8"),children:a("div",{className:"flex items-center",children:[a(v,{className:"h-11 w-11",children:[t(p,{src:r.image,alt:r.name}),t(f,{children:r.name.split(" ").map(l=>l[0]).join("")})]}),t("div",{className:"ml-4",children:t("div",{className:"font-medium text-accent",children:r.name})})]})}),[...Array(b)].map((l,h)=>{let m=new Date(e.getFullYear(),e.getMonth(),h+1),o=u.find(c=>c.userId===r.id&&new Date(c.startDate)<=m&&new Date(c.endDate)>=m);return t("td",{className:y(s!==n.length-1?"border-r border-gray-200":"","whitespace-nowrap border-r border-gray-200",g(m)?"bg-gray-200":"bg-white"),children:t("div",{className:`h-6 w-6 mx-auto rounded-full overflow-hidden ${o?o.status==="approved"?"bg-green-500":o.status==="rejected"?"bg-red-500":"bg-gray-600":"bg-gray-100"}`,title:o?`${r.name}: ${o.status} (${o.startDate} - ${o.endDate}) - ${o.leaveType}`:"",children:o&&o.leaveType!=="Full Day"&&t("div",{className:`h-3 w-6 ${o.leaveType==="Morning","bg-white rounded-t-full"}`})})},`${r.id}-${h}`)})]},r.id))})]})})})})]})}export{B as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import n from"next/image";import{jsx as e,jsxs as t}from"react/jsx-runtime";function c(s){let{url:r,mainImage:o,excerpt:a,title:i}=s;return t("div",{className:"relative flex flex-col rounded-3xl bg-white p-2 shadow-md shadow-black/5 ring-1 ring-black/5 hover:shadow-lg transition-shadow group",children:[o&&e(n,{alt:i||"",src:o,layout:"responsive",width:1170,height:780,className:"rounded-2xl object-cover transform group-hover:scale-95 transition-transform duration-400"}),t("div",{className:"flex flex-1 flex-col p-4",children:[e("div",{className:"mt-2 font-medium text-center group-hover:scale-110 transition-transform duration-400 ease-in-out text-foreground dark:text-background group-hover:text-accent",children:t("a",{href:r,children:[e("span",{className:"absolute inset-0"}),i]})}),a&&e("div",{className:"mt-2 flex-1 text-sm/6 text-gray-500",children:a})]})]},r)}export{c as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{f as l}from"./chunk-IUT6JJHY.mjs";import{a as r}from"./chunk-2QZUKVBA.mjs";import{a as s}from"./chunk-2BR55L74.mjs";import h from"next/image";import{jsx as e,jsxs as t}from"react/jsx-runtime";var x=({links:o,media:i,children:m,richText:a})=>e("div",{children:t("div",{className:"sticky top-0 h-[70vh] min-h-[600px]",children:[t("div",{className:"fixed inset-0 container mt-24 mb-8 z-10 flex items-start justify-center",children:[m||a&&e(l,{className:"max-w-none p-0 mb-6 ml-0 prose prose-headings:text-foreground prose-p:text-foreground",content:a,enableGutter:!0}),Array.isArray(o)&&o.length>0&&e("ul",{className:"flex justify-center gap-4",children:o.map(({link:n},d)=>e("li",{children:e(r,{...n})},d))})]}),t("div",{className:"fixed inset-0 h-[70vh] min-h-[600px] select-none",children:[i&&typeof i=="object"&&e(s,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:i}),i&&typeof i=="string"&&e("div",{children:e(h,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:i})}),e("span",{className:"absolute inset-0 bg-gradient-to-b from-white dark:from-black"})]}),e(p,{})]})}),p=()=>e("div",{className:"w-full h-[1240px] z-10",children:t("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 337",style:{fontSize:0,float:"left",zIndex:20},className:"absolute -bottom-[2px] flex",children:[e("defs",{children:t("mask",{id:"mask",children:[e("rect",{width:"1920",height:"332",fill:"white"}),e("polygon",{points:"0 0 0 135 1255 330 1920 0 1920 0 1920 0 0 0"})]})}),e("rect",{width:"1920",height:"332",fill:"white",mask:"url(#mask)"}),e("rect",{y:"330",width:"1920",height:"7",fill:"white"})," "]})});export{x as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as l,b as m,i as d,j as p,m as c,n as u}from"./chunk-OCPX4QPC.mjs";import{b as f}from"./chunk-ZUA4KNIR.mjs";import{a as o}from"./chunk-MDJREBVI.mjs";import{useState as g}from"react";import{Check as h,ChevronDown as v}from"lucide-react";import{jsx as e,jsxs as t}from"react/jsx-runtime";function b({currentUnit:n,businessUnits:a,onUnitChange:x,className:w}){let[i,r]=g(!1);return t(l,{open:i,onOpenChange:r,children:[e(m,{asChild:!0,children:t(f,{variant:"ghost",role:"combobox","aria-expanded":i,className:o("w-full justify-between rounded-2xl px-3 py-2 h-auto min-h-[44px] hover:bg-muted/50",w),children:[t("div",{className:"flex items-center gap-3 min-w-0 flex-1",children:[e("div",{className:o("flex h-8 w-8 items-center justify-center rounded-lg text-white",n.color),children:n.icon}),t("div",{className:"flex flex-col items-start min-w-0 flex-1",children:[e("span",{className:"font-medium text-sm truncate w-full text-left",children:n.name}),e("span",{className:"text-xs text-muted-foreground truncate w-full text-left",children:n.description})]})]}),e(v,{className:"ml-2 h-4 w-4 shrink-0 opacity-50"})]})}),t(d,{className:"w-[280px] p-2",align:"start",children:[e(c,{className:"px-2 py-1.5 text-xs font-medium text-muted-foreground",children:"Switch Business Unit"}),e(u,{}),e("div",{className:"grid gap-1",children:a&&a.length>0?a.map(s=>t(p,{className:"flex items-center gap-3 p-2 rounded-lg cursor-pointer",onSelect:()=>{x(s),r(!1)},children:[e("div",{className:o("flex h-8 w-8 items-center justify-center rounded-lg text-white",s.color),children:s.icon}),t("div",{className:"flex flex-col items-start min-w-0 flex-1",children:[t("div",{className:"flex items-center gap-2 w-full",children:[e("span",{className:"font-medium text-sm truncate",children:s.name}),n.id===s.id&&e(h,{className:"h-4 w-4 text-primary"})]}),e("span",{className:"text-xs text-muted-foreground truncate w-full",children:s.description})]})]},s.id)):e("div",{className:"flex items-center justify-center p-4 text-sm text-muted-foreground",children:"No business units available"})})]})]})}export{b as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=!!(typeof window<"u"&&window.document&&window.document.createElement);export{e as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as h}from"./chunk-LTTO57ZK.mjs";import{b as u}from"./chunk-CSBGSBEU.mjs";import{a as f,b as p,c as C,d as k,e as x,f as b}from"./chunk-YO3GQYRJ.mjs";import{a as g}from"./chunk-MDJREBVI.mjs";import{Clock as S}from"lucide-react";import{formatDistanceToNow as v}from"date-fns";import{jsx as e,jsxs as r}from"react/jsx-runtime";var P=a=>{switch(a){case"backlog":return"bg-gray-200 text-gray-800";case"todo":return"bg-blue-200 text-blue-800";case"inProgress":return"bg-yellow-200 text-yellow-800";case"done":return"bg-green-200 text-green-800";case"cancelled":return"bg-red-200 text-red-800";default:return"bg-gray-200 text-gray-800"}},j=a=>{switch(a){case"inProgress":return"In Progress";default:return a.charAt(0).toUpperCase()+a.slice(1)}};function $({data:a}){let{id:s,system:l,fetchLatest:i,taskData:N,error:w}=a||{};if(!s)return null;let t=null,n=!0,d=w,c=i!==void 0?i:!0;if(t=N||{id:s,name:"Loading...",description:"",status:"todo",dateLogged:new Date().toISOString(),project:void 0},console.log("ChatCardTask",{data:a,id:s,initialFetchLatest:i,system:l,fetchLatest:c,taskData:t,error:d}),c){let{task:o,loading:D,error:L}=h({taskId:s,system:l});t=o,n=D,d=L}else n=!1;let T=P(t?.status||"todo"),y=j(t?.status||"todo"),m=t?.dateLogged||new Date().toISOString();try{let o=new Date(t?.dateLogged||"");isNaN(o.getTime())||(m=v(o,{addSuffix:!0}))}catch{}return r(f,{className:g("w-full max-w-md shadow-md",d&&"border border-destructive"),children:[r(p,{className:"pb-2",children:[r("div",{className:"flex justify-between items-start",children:[e(C,{className:"text-lg font-semibold",children:n?"Loading...":t?.name||"Task"}),e(u,{className:`${T}`,children:y})]}),t?.project&&r(k,{className:"text-sm text-gray-500",children:["Project: ",t.project.name]})]}),e(x,{className:"pb-2",children:n?e("div",{className:"animate-pulse h-4 bg-gray-200 rounded w-3/4 mb-2"}):d?e("p",{className:"text-sm text-red-500",children:"Error loading task details"}):e("p",{className:"text-sm text-foreground",children:t?.description||"......."})}),e(b,{className:"pt-2 flex items-center justify-between",children:r("div",{className:"flex items-center text-xs text-gray-500",children:[e(S,{className:"h-3 w-3 mr-1"}),r("span",{children:["Created ",m]}),e("span",{className:"mx-2",children:"\u2022"}),r("span",{children:["Task #",s]})]})})]})}export{$ as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as h}from"./chunk-WISC5QJV.mjs";import{useState as m,useEffect as v}from"react";import{Dialog as w,DialogPanel as k,Disclosure as D,DisclosureButton as y,DisclosurePanel as P,PopoverGroup as M}from"@headlessui/react";import{Bars3Icon as I,XMarkIcon as $}from"@heroicons/react/24/outline";import{SunIcon as N,MoonIcon as C}from"@heroicons/react/20/solid";import{jsx as e,jsxs as s}from"react/jsx-runtime";var c=["light","dark","green"];function A({title:l,logo:t,menuItems:d}){let[n,o]=m(!1),[S,T]=m(!1),[u,g]=m("light"),r=t?.split(".")[0],i=t?.split(".")[1],[b,p]=m(`${r}.${i}`),f=a=>{c.includes(a)?p(a==="light"?`${r}.${i}`:`${r}-${a}.${i}`):p(`${r}.${i}`)};v(()=>{let a=localStorage.getItem("theme")||"light";g(a),document.documentElement.setAttribute("class",a),f(a)},[]);let x=()=>{let a=c[(c.indexOf(u)+1)%c.length];g(a),document.documentElement.setAttribute("class",a),localStorage.setItem("theme",a),f(a)};return s("header",{className:"relative isolate z-10 bg-background h-14",children:[s("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between p-3 lg:px-8",children:[e("div",{className:"flex lg:flex-1",children:s("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[e("span",{className:"sr-only",children:l}),e("img",{alt:l,src:b,className:"h-9 w-auto"})]})}),e("div",{className:"flex lg:hidden",children:s("button",{type:"button",onClick:()=>o(!0),className:"-m-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-gray-700 outline-none",children:[e("span",{className:"sr-only",children:"Open main menu"}),e(I,{"aria-hidden":"true",className:"h-6 w-6"})]})}),e(M,{className:"hidden lg:flex lg:gap-x-12",children:d.map(a=>e(h,{...a},a.name))}),e("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:e("button",{onClick:x,className:"p-2 text-gray-700 outline-none",children:u==="dark"?e(N,{className:"h-6 w-6"}):u==="green"?e(C,{className:"h-6 w-6"}):e(N,{className:"h-6 w-6"})})})]}),s(w,{open:n,onClose:o,className:"lg:hidden",children:[e("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),s(k,{className:"fixed inset-y-0 right-0 z-20 w-full overflow-y-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[s("div",{className:"flex items-center justify-between",children:[s("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[e("span",{className:"sr-only",children:"Your Company"}),e("img",{alt:l,src:t,className:"h-8 w-auto"})]}),s("button",{type:"button",onClick:()=>o(!1),className:"-m-2.5 rounded-md p-2.5 text-gray-700 outline-none",children:[e("span",{className:"sr-only",children:"Close menu"}),e($,{"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 py-6",children:d.map(a=>e(H,{...a},a.name))})})})]})]})]})}function H({name:l,items:t,actions:d,href:n}){return!t&&n?e("a",{href:n,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold text-gray-900 hover:bg-gray-50",children:l}):s(D,{as:"div",className:"-mx-3",children:[e(y,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold text-gray-900 hover:bg-gray-50",children:l}),e(P,{className:"mt-2 space-y-2",children:t&&t.map(o=>e(y,{as:"a",href:o.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold text-gray-900 hover:bg-gray-50",children:o.name},o.name))})]})}export{A as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as c}from"./chunk-CSBGSBEU.mjs";import{a as m,e as g}from"./chunk-YO3GQYRJ.mjs";import f from"next/image";import{Quote as u}from"lucide-react";import{jsx as t,jsxs as a}from"react/jsx-runtime";function p(l){let s=l.replace("#",""),r=parseInt(s.substring(0,2),16),n=parseInt(s.substring(2,4),16),e=parseInt(s.substring(4,6),16);return(r*299+n*587+e*114)/1e3<128}function x({customerName:l="Acme Corporation",logoUrl:s,industry:r,projectDescription:n="Revolutionizing widget production with cloud technology",color:e="#3B82F6",quote:o,metrics:b=[],children:v=null}){let d=[{label:"Technology",value:"technology"},{label:"Finance",value:"finance"},{label:"Healthcare",value:"healthcare"},{label:"Retail",value:"retail"}].find(i=>i.value===r)?.label||void 0,h=p(e)?"text-white":"text-gray-900",C=p(e)?"white":e;return t(m,{className:"w-full max-w-4xl mx-auto overflow-hidden shadow-lg",children:a(g,{className:"p-0",children:[a("div",{className:`flex items-center ${h}`,style:{background:`linear-gradient(to right, ${e}, ${e}80)`,padding:"1.5rem"},children:[a("div",{className:"flex-grow pr-4",children:[t("h2",{className:"text-2xl font-bold mb-2",children:l}),d&&t(c,{variant:"secondary",className:"text-sm font-medium",children:d}),t("p",{className:"mt-4 text-lg",children:n})]}),s&&t("div",{className:"flex items-center justify-center bg-white rounded-lg",style:{padding:"1rem",height:"100px"},children:t(f,{src:s,alt:`${l} logo`,width:120,height:60,className:"object-contain h-full"})})]}),a("div",{className:"p-6",children:[o&&a("blockquote",{className:"border-l-4 pl-4 py-2 mb-6 italic",style:{borderColor:e,color:e},children:[t(u,{className:"inline-block mr-2",size:24,style:{color:e}}),o,t(u,{className:"inline-block ml-2",size:24,style:{color:e}})]}),t("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4 mt-6",children:b.map((i,y)=>a("div",{className:"text-center",children:[t("div",{className:"text-3xl font-bold",style:{color:e},children:i.value}),t("div",{className:"text-sm text-gray-600",children:i.label})]},y))})]}),t("div",{className:"p-6",children:v})]})})}export{x as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as i}from"./chunk-MDJREBVI.mjs";import*as e from"@radix-ui/react-checkbox";import{Check as s}from"lucide-react";import*as t from"react";import{jsx as o}from"react/jsx-runtime";var m=t.forwardRef(({className:r,...c},a)=>o(e.Root,{className:i("peer h-4 w-4 shrink-0 rounded border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",r),ref:a,...c,children:o(e.Indicator,{className:i("flex items-center justify-center text-current"),children:o(s,{className:"h-4 w-4"})})}));m.displayName=e.Root.displayName;export{m as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as n}from"./chunk-SV7NMNDI.mjs";import{f as s,g as m}from"./chunk-IUT6JJHY.mjs";import{a as o}from"./chunk-MDJREBVI.mjs";import{jsx as e,jsxs as p}from"react/jsx-runtime";function x({services:t,className:f,title:r,content:i}){let d={settings:{width:"full",card:"light"}};return p("div",{className:"pb-4 md:pb-0",children:[p("div",{className:o("w-full text-left prose"),children:[r&&e("h2",{className:"text-primary",children:r}),e("div",{className:"pb-12 ",children:i&&e(s,{enableGutter:!1,content:i,enableProse:!1,className:o("prose prose-headings:text-foreground prose-p:text-foreground")})})]}),t&&t.length>0&&e("div",{className:"-mx-4 flex flex-wrap justify-between gap-y-8",children:t.map((a,l)=>e("div",{"data-aos":"fade-up","data-aos-delay":n([200,400,600],l),className:"w-full px-4 md:w-1/2 lg:w-1/3 flex",children:e(m,{...d,icon:{type:"none"},title:a.title,image:a.image,content:a.content,link:a.link,className:"w-full"})},l))})]})}export{x as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Fragment as n,jsx as s,jsxs as r}from"react/jsx-runtime";var i=(e,t)=>`from-brand-${e} to-brand-${t}`;function a({...e}){let t=i(e.brandFrom||"one",e.brandTo||"two");return r("div",{className:`relative isolate flex items-center gap-x-6 overflow-hidden px-6 py-2.5 sm:px-3.5 sm:before:flex-1 bg-gradient-to-r ${t}`,children:[s("p",{className:"text-sm/6 text-primary-foreground",children:e.url?r("a",{href:e.url,children:[s("strong",{className:"font-semibold",children:e.title}),e.message&&s("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:s("circle",{r:1,cx:1,cy:1})}),s("span",{children:e.message&&e.message})]}):r(n,{children:[s("strong",{className:"font-semibold",children:e.title}),e.message&&s("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:s("circle",{r:1,cx:1,cy:1})}),e.message&&e.message]})}),s("div",{className:"flex flex-1 justify-end"})]})}export{a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as p}from"./chunk-RYZTCMVC.mjs";import{a as d}from"./chunk-2BR55L74.mjs";import{a as m}from"./chunk-MDJREBVI.mjs";import A from"next/link";import{Fragment as g}from"react";import{jsx as e,jsxs as o}from"react/jsx-runtime";var j=v=>{let{card:f,link:h}=p({}),{className:u,doc:N,relationTo:y,showCategories:i,title:b}=v,{slug:C,categories:t,meta:F,title:k}=N||{},{description:s,image:r}=F||{},a=t&&Array.isArray(t)&&t.length>0,c=b||k,w=s?.replace(/\s/g," "),T=`/${y}/${C}`;return o("article",{className:m("border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer",u),ref:f.ref,children:[o("div",{className:"relative w-full ",children:[!r&&e("div",{className:"",children:"No image"}),r&&typeof r!="string"&&e(d,{resource:r,size:"33vw"})]}),o("div",{className:"p-4",children:[i&&a&&e("div",{className:"uppercase text-sm mb-4",children:i&&a&&e("div",{children:t?.map((l,n)=>{if(typeof l=="object"){let{title:L}=l,P=L||"Untitled category",z=n===t.length-1;return o(g,{children:[P,!z&&e(g,{children:", \xA0"})]},n)}return null})})}),c&&e("div",{className:"prose",children:e("h3",{children:e(A,{className:"not-prose",href:T,ref:h.ref,children:c})})}),s&&e("div",{className:"mt-2",children:s&&e("p",{children:w})})]})]})};export{j as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as y}from"./chunk-2QZUKVBA.mjs";import{i as G,j as _,k as O,l as $,m as J,n as U,o as X}from"./chunk-O5BAW5XQ.mjs";import{a as T}from"./chunk-SRUG246N.mjs";import{a as S}from"./chunk-X3JZSN3W.mjs";import{a as R}from"./chunk-XGIYNUGC.mjs";import{a as I}from"./chunk-LXZAOORS.mjs";import{b as P}from"./chunk-ZUA4KNIR.mjs";import{a as b}from"./chunk-FVM5SQT2.mjs";import{a as l}from"./chunk-MDJREBVI.mjs";import{useState as q}from"react";import{jsx as p,jsxs as v}from"react/jsx-runtime";var se=({links:r,richText:t})=>p("div",{className:"container",children:v("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[p("div",{className:"max-w-[48rem] flex items-center",children:t&&p(f,{className:"mb-0",content:t,enableGutter:!1})}),p("div",{className:"flex flex-col gap-8",children:(r||[]).map(({link:e},n)=>p(y,{size:"lg",...e},n))})]})}),F=({links:r,richText:t})=>{let[e,n]=q(!1),i="accent",a=()=>n(!0),o=()=>n(!1),u=m=>{m.target===m.currentTarget&&o()};return v("div",{className:l("relative isolate overflow-hidden",i==="accent"?"bg-accent":"bg-black"),children:[p("div",{className:"px-6 py-24 sm:px-6 sm:py-32 lg:px-8",children:v("div",{className:"mx-auto max-w-2xl text-center prose",children:[t&&p(f,{className:"mb-0 prose-headings:text-white prose-h2:text-white prose-p:text-white text-white",content:t,enableGutter:!1}),p("div",{className:"mt-10 flex items-center justify-center gap-x-6",children:p("div",{className:"flex flex-col gap-8 text-white",children:(r||[]).map(({link:m},g)=>m?.url==="/contact"?p("div",{onClick:a,className:l("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",i==="accent"?"border-white bg-accent":"border-accent bg-black"),children:m.label},g):p(y,{size:"lg",className:l("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",i==="accent"?"border-white bg-accent":"border-accent bg-black"),...m},g))})})]})}),e&&p("div",{className:"absolute inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50",onClick:u,children:v("div",{className:"bg-white p-6 pt-10 rounded-lg shadow-lg w-full max-w-lg light relative",children:[p("button",{className:"absolute top-4 right-4 text-gray-500 hover:text-gray-700",onClick:o,children:"\u2715"}),p(T,{})," "]})})]})};import K from"next/image";import{jsx as d,jsxs as k}from"react/jsx-runtime";function D(r){return r&&typeof r=="object"&&"type"in r&&"iconName"in r}function w({image:r,icon:t,title:e,subtitle:n,content:i,statistic:a,settings:o,link:u,className:m}){let g={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:"bg-background"},N={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return k("a",{href:u?.url||"#",className:l("min-w-56 max-w-xl h-full flex flex-col group bg-background",r?"p-0":"p-6 md:p-8",o&&!r&&g[o?.card==="default"?"solid":o?.card],r&&"bg-foreground",o&&o?.card==="outline"?"text-gray-900":"text-white",N[o?.width??"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",o&&`intersect:animate-delay-${o.order||1}00`,m),children:[r&&d("div",{className:"relative aspect-[16/9] w-full",children:d(K,{src:r.url||"/placeholder.svg",alt:r.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),k("div",{className:l(r?"p-6 md:p-8":"p-0","flex flex-col flex-grow"),children:[k("div",{className:"flex flex-col flex-grow",children:[n&&d("div",{className:"text-primary uppercase text-sm font-light mb-4",children:n}),d("div",{className:"flex items-start gap-4 mb-4",children:d(Q,{icon:{type:t?.type||"fa-light",iconName:t?.icon||"no-icon-error"},heading:e??"",variant:o?.card==="default"?"solid":o?.card??"solid",iconSize:o?.iconSize||"large"})}),i&&typeof i=="object"&&d(f,{enableGutter:!1,content:i,enableProse:!1,className:l("prose-sm prose-p:text-lg prose-headings:text-xl","space-y-3",o?.card==="outline"||o?.card==="light"?"prose-headings:text-foreground prose-p:text-foreground prose-a:text-foreground":"prose-headings:text-white prose-p:text-gray-100 prose-a:text-gray-100",r&&"prose-headings:text-background prose-p:text-background")}),i&&typeof i=="string"&&d("div",{className:l("prose-sm prose-p:text-lg prose-headings:text-xl","space-y-3",o?.card==="outline"||o?.card==="light"?"prose text-foreground":"prose text-gray-100",r&&"prose text-background"),children:i})]}),u&&u.url&&d("div",{className:"mt-6",children:d("span",{className:"text-accent font-semibold uppercase text-sm block hover:text-accent/80 transition-colors",children:u?.label||"Find out more"})})]})]})}var Q=({icon:r,heading:t,variant:e,iconSize:n,subtitle:i})=>r&&n==="small"&&r.iconName!="no-icon-error"?k("div",{className:"flex items-start justify-between w-full mb-2",children:[d("div",{className:l(e==="outline"||e==="light"?"text-primary":"text-white",n==="small"?"text-2xl":"text-3xl"),children:t}),D(r)&&d("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",e==="outline"||e==="light"?"text-primary":"text-white",n==="small"?"-mr-2 ml-1 mt-1":""),children:d(b,{type:r.type,iconName:r.iconName,size:"2x"})})]}):r&&r.iconName!="no-icon-error"?k("div",{className:"flex flex-col gap-4",children:[D(r)&&d("div",{className:l("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",e==="outline"||e==="light"?"text-accent":""),children:d(b,{type:r.type,iconName:r.iconName,size:"4x"})}),d("h3",{className:l("font-normal",e==="outline"||e==="light"?"text-2xl text-primary":"text-3xl text-white"),children:t})]}):d("div",{className:"flex items-center gap-4 mb-2",children:d("div",{className:l("font-regular",e==="outline"||e==="light"?"text-2xl text-primary":"text-3xl"),children:t})});import{jsx as c,jsxs as B}from"react/jsx-runtime";function z(r){return r&&typeof r=="object"&&"type"in r&&"iconName"in r}function ke({variant:r="outline",className:t,icon:e,iconSize:n="large",width:i="auto",order:a=0,heading:o,subheading:u,content:m,statistic:g,buttonText:N,buttonHref:E}){let H={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:""},j={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return B("div",{className:l("rounded-3xl p-8 md:p-8 min-w-56 flex flex-col group",H[r],r==="outline"?"text-gray-900":"text-white",t,j[i],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${a+1}00`),children:[c("div",{className:"flex items-center gap-4 mb-2",children:c(V,{icon:e,heading:o,variant:r,iconSize:n})}),g&&c("div",{className:"mb-6",children:c("div",{className:l("text-4xl text-wrap font-bold leading-none overflow-hidden",r==="outline"||r==="light"?"text-primary":"text-white"),children:g})}),u&&c("div",{className:"mb-4 text-xl md:text-2xl font-light",children:u}),m&&typeof m=="object"&&c("div",{className:l("space-y-6"),children:c(f,{enableGutter:!1,content:m,enableProse:!1,className:l(r==="outline"||r==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100")})}),m&&typeof m=="string"&&c("div",{className:l("space-y-6",r==="outline"||r==="light"?"text-gray-900":"text-gray-100"),children:m}),N&&c("div",{className:"mt-auto pt-6 flex items-center justify-center",children:c(P,{size:"lg",className:"text-white text-lg rounded-xl w-full mt-auto items-center justify-center",asChild:!0,children:c("a",{href:E,children:N})})}),r==="radial"&&c("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})}var V=({icon:r,heading:t,variant:e,iconSize:n})=>r&&n==="small"?B("div",{className:"flex items-start gap-4 mb-2",children:[z(r)&&c("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",e==="outline"||e==="light"?"text-primary":"text-white",n==="small"?"mt-2":""),children:c(b,{type:r.type,iconName:r.iconName,size:"2x"})}),c("div",{className:l("font-semibold",e==="outline"||e==="light"?"text-primary":"text-white",n==="small"?"text-2xl":"text-3xl"),children:t})]}):r?B("div",{className:"flex flex-col gap-4",children:[z(r)&&c("div",{className:l("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",e==="outline"||e==="light"?"text-accent":""),children:c(b,{type:r.type,iconName:r.iconName,size:"4x"})}),c("h3",{className:l("font-semibold",e==="outline"||e==="light"?"text-2xl text-primary":"text-3xl"),children:t})]}):c("div",{className:"flex items-center gap-4 mb-2",children:c("div",{className:l("font-semibold",e==="outline"||e==="light"?"text-2xl text-primary":"text-3xl"),children:t})});import{jsx as x,jsxs as A}from"react/jsx-runtime";var M=({title:r,description:t,features:e,id:n,nested:i=!1})=>A("section",{className:l(i?"w-full":"",""),children:[A("div",{className:"prose prose:max-w-none",children:[r&&x("h2",{className:"mb-6 mt-0 text-primary",id:n||"",children:r}),t&&typeof t=="string"&&x("p",{className:"mb-5 text-foreground",children:t}),t&&typeof t=="object"&&x("div",{className:"mb-5 text-foreground",children:x(f,{content:t,enableGutter:!1})})]}),x("div",{className:`grid gap-6 mt-6 md:grid-cols-${e?e.length>2?2:e.length:1} lg:grid-cols-${e?e.length>3?3:e.length:1}`,children:e&&e.map((a,o)=>{let u=()=>{if(a.icon&&"type"in a.icon&&a.icon.type!=="none")return{type:a.icon.type,icon:a.icon.icon}};return x(w,{title:a.title||"",content:a.content||void 0,statistic:a.statistic||void 0,settings:{...a.settings,width:"auto",order:o},link:a.link?{...a.link,label:"Learn more"}:void 0,icon:u()??{type:"none",icon:null}},o)})})]});import W,{Fragment as Y}from"react";import{jsx as s}from"react/jsx-runtime";function h({nodes:r}){return s(Y,{children:r?.map((t,e)=>{if(t==null)return null;if(t.type==="text"&&t.text){let a=s(W.Fragment,{children:t.text},e);return t.format&1&&(a=s("strong",{children:a},e)),t.format&2&&(a=s("em",{children:a},e)),t.format&4&&(a=s("span",{style:{textDecoration:"line-through"},children:a},e)),t.format&8&&(a=s("span",{style:{textDecoration:"underline"},children:a},e)),t.format&16&&(a=s("code",{children:t.text},e)),t.format&32&&(a=s("sub",{children:a},e)),t.format&64&&(a=s("sup",{children:a},e)),a}if(t.type==="table")return s("table",{children:s("tbody",{children:t.children.map((a,o)=>s("tr",{children:a.children.map((u,m)=>s("td",{children:h({nodes:u.children})},m))},o))})},e);let n=a=>{if(a.children==null)return null;if(a?.type==="list"&&a?.listType==="check")for(let o of a.children)"checked"in o&&(o?.checked||(o.checked=!1));return h({nodes:a.children})},i="children"in t?n(t):"";if(t.type==="block"){let a=t.fields,o=a?.blockType;if(!a||!o)return null;switch(o){case"cta":return s(F,{...a},e);case"mediaBlock":return s(S,{className:"col-start-1 col-span-3",imgClassName:"m-0",...a,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},e);case"imageBlock":return s(R,{className:"col-start-1 col-span-3",imgClassName:"m-0",...a,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},e);case"banner":return s(L,{className:"col-start-2 mb-4",...a},e);case"code":return s(I,{className:"col-start-2",...a},e);case"features":return s(M,{...a,nested:!0},e);case"reusableContentBlock":h({nodes:a.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return s("br",{className:"col-start-2"},e);case"paragraph":return s("p",{className:"col-start-2",children:i},e);case"heading":{let a=t?.tag;return s(a,{className:"col-start-2",id:t?.id||"",children:i},e)}case"list":{let a=t?.tag;return s(a,{className:"list col-start-2",children:i},e)}case"listitem":return t?.checked!=null?s("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t?.value,children:i},e):s("li",{value:t?.value,children:i},e);case"quote":return s("blockquote",{className:"col-start-2",children:i},e);case"link":{let a=t.fields;return s(y,{newTab:!!a?.newTab,reference:a.doc,type:a.linkType==="internal"?"reference":"custom",url:a.url,children:i},e)}case"autolink":{let a=t.fields;return s(y,{newTab:!!a?.newTab,reference:a.doc,type:a.linkType==="internal"?"reference":"custom",url:a.url,children:i},e)}default:return null}})})}import{jsx as Z}from"react/jsx-runtime";var f=({className:r,content:t,enableGutter:e=!0,enableProse:n=!0})=>t?Z("div",{className:l({"container ":e,"max-w-none":!e,"mx-auto prose":n},r),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&h({nodes:t?.root?.children})}):null;import{jsx as C}from"react/jsx-runtime";var L=({className:r,content:t,style:e})=>C("div",{className:l("mx-auto my-8 w-full",r),children:C("div",{className:l("border py-3 px-6 flex items-center rounded",{"border-border bg-card":e==="info","border-error bg-error/30":e==="error","border-success bg-success/30":e==="success","border-warning bg-warning/30":e==="warning"}),children:C(f,{content:t,enableGutter:!1,enableProse:!1})})});export{L as a,se as b,F as c,M as d,h as e,f,w as g,ke as h};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as m}from"./chunk-CVLUVZR3.mjs";import{a as i}from"./chunk-V6GC3UGV.mjs";import{useState as f,useCallback as R}from"react";import{DragDropContext as P}from"@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration";import{jsx as r,jsxs as M}from"react/jsx-runtime";var w=["Cold","Qualified","Proposal Made","SoW Submitted","Won","Lost","Dormant"];function h({initialData:s,addNewDeal:v,updateDeal:l,addComment:p,addNewCustomer:N}){let[a,u]=f(null),C=e=>(s.deals??[]).filter(t=>t.status===e),D=e=>e.reduce((t,o)=>t+(o.value||0),0),g=(e,t)=>{let o={Cold:0,Qualified:.1,"Proposal Made":.25,"SoW Submitted":.8,Won:1,Lost:0,Dormant:0};return e.reduce((c,d)=>c+(d.value||0)*o[t],0)},b=R(e=>{let{source:t,destination:o}=e;if(!o||t.droppableId===o.droppableId&&t.index===o.index)return;let c=t.droppableId,d=o.droppableId,n=s.deals?.filter(S=>S.id===t.index)[0],x=[...s.deals??[]];n&&(n.status=d,l(n))},[l]);return r(P,{onDragEnd:b,children:M("div",{className:"p-4 h-full overflow-auto",children:[r("div",{className:"flex space-x-4 pb-4",children:w.filter(e=>e!=="Lost").map(e=>{let t=C(e);return r(i,{status:e,deals:t,customers:s.customers??[],users:s.users,categories:s.categories??[],onDealClick:u,calculateColumnValue:D,calculateWeightedValue:g},e)})}),a&&r(m,{deal:a,users:s.users,customer:a.customer,categories:s.categories??[],onClose:()=>u(null),onSave:l,onAddComment:e=>p(a.id.toString(),e)})]})})}export{h as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as p}from"./chunk-CSBGSBEU.mjs";import{a as s,b as i,c as l,e as d}from"./chunk-YO3GQYRJ.mjs";import f from"next/image";import{jsx as a,jsxs as t}from"react/jsx-runtime";var N=({name:o,email:x,profilePicture:n,workHistory:m=[],certifications:c=[],areasOfExpertise:g=[]})=>a("div",{className:"bg-gray-100 p-6 rounded-lg shadow-lg max-w-6xl mx-auto",children:t("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[t(s,{className:"md:col-span-1",children:[t(i,{children:[a("div",{className:"w-32 h-32 mx-auto bg-gray-300 rounded-full overflow-hidden",children:n?a(f,{src:n,alt:o,width:128,height:128,className:"object-cover w-full h-full"}):a("div",{className:"w-full h-full flex items-center justify-center text-gray-500",children:"No Image"})}),a(l,{className:"text-2xl font-bold text-center mt-4",children:o||"Consultant Name"}),a("p",{className:"text-gray-600 text-center",children:x||"email@example.com"})]}),t(d,{children:[a("h3",{className:"text-xl font-semibold mb-2 text-gray-700",children:"Areas of Expertise"}),a("div",{className:"flex flex-wrap gap-2",children:g.length>0?g.map((e,r)=>a(p,{variant:"secondary",className:"text-sm",children:e.area},r)):a("p",{className:"text-gray-600",children:"No areas of expertise available"})})]})]}),t(s,{className:"md:col-span-2",children:[a(i,{children:a(l,{className:"text-xl font-semibold text-gray-700",children:"Work History"})}),a(d,{children:m.length>0?m.map((e,r)=>t("div",{className:"mb-4 pb-4 border-b border-gray-200 last:border-b-0",children:[t("h4",{className:"font-medium text-gray-800",children:[e.position," at ",e.company]}),t("p",{className:"text-sm text-gray-600",children:[e.startDate," - ",e.endDate||"Present"]}),e.description&&a("p",{className:"mt-1 text-gray-700",children:e.description})]},r)):a("p",{className:"text-gray-600",children:"No work history available"})})]}),t(s,{className:"md:col-span-3",children:[a(i,{children:a(l,{className:"text-xl font-semibold text-gray-700",children:"Certifications"})}),a(d,{children:c.length>0?a("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:c.map((e,r)=>t("div",{className:"bg-white p-4 rounded-lg shadow",children:[a("h4",{className:"font-medium text-gray-800",children:e.name}),e.issuer&&a("p",{className:"text-sm text-gray-600",children:e.issuer}),e.dateObtained&&t("p",{className:"text-xs text-gray-500 mt-1",children:["Obtained: ",e.dateObtained]})]},r))}):a("p",{className:"text-gray-600",children:"No certifications available"})})]})]})}),u=N;export{u as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import t from"next/image";import{jsx as e,jsxs as l}from"react/jsx-runtime";function m({image:o,subtitle:s="Case study",title:d,companyLogo:a,customerLogo:i}){return l("div",{className:"relative w-full overflow-hidden bg-white pb-16 pt-[calc(80vw*0.5)]",children:[e("div",{className:"absolute left-0 top-0 h-[calc(100%+80vw*0.5)] w-full overflow-hidden",children:e("div",{className:"absolute left-[calc(50%-40vw*0.5)] top-[calc(40vw*0.5*-0.29)] h-[80vw] w-[80vw] origin-top-left -rotate-45 overflow-hidden rounded-[24vw]",children:e(t,{src:o,alt:"Header background",className:"h-full w-full rotate-45 scale-[1.42] object-cover object-center",width:1e3,height:1e3,priority:!0})})}),l("div",{className:"absolute left-4 top-4 flex flex-col items-start gap-4 md:left-8 md:top-8",children:[a&&e("div",{className:"h-16 w-32 md:h-24 md:w-48",children:e(t,{src:a,alt:"Company logo",className:"h-full w-full object-contain",width:192,height:96})}),i&&e("div",{className:"h-10 w-20 md:h-12 md:w-24",children:e(t,{src:i,alt:"Customer logo",className:"h-full w-full object-contain",width:96,height:48})})]}),l("div",{className:"container relative mx-auto px-4",children:[e("p",{className:"mb-4 text-lg font-medium text-sky-400",children:s}),e("h1",{className:"max-w-4xl text-[2.75rem] font-bold leading-[1.15] tracking-tight text-[#051527] md:text-6xl",children:d})]})]})}export{m as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as t}from"./chunk-MDJREBVI.mjs";import*as o from"react";import*as e from"@radix-ui/react-toggle";import{cva as g}from"class-variance-authority";import{jsx as d}from"react/jsx-runtime";var l=g("inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground"},size:{default:"h-9 px-2 min-w-9",sm:"h-8 px-1.5 min-w-8",lg:"h-10 px-2.5 min-w-10"}},defaultVariants:{variant:"default",size:"default"}}),m=o.forwardRef(({className:i,variant:n,size:r,...a},s)=>d(e.Root,{ref:s,className:t(l({variant:n,size:r,className:i})),...a}));m.displayName=e.Root.displayName;export{l as a,m as b};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as e}from"./chunk-MDJREBVI.mjs";import*as i from"react";import*as o from"@radix-ui/react-popover";import{jsx as t}from"react/jsx-runtime";var P=o.Root,v=o.Trigger,f=o.Anchor,m=i.forwardRef(({className:r,align:a="center",sideOffset:n=4,...d},p)=>t(o.Portal,{children:t(o.Content,{ref:p,align:a,sideOffset:n,className:e("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none 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",r),...d})}));m.displayName=o.Content.displayName;export{P as a,v as b,f as c,m as d};
|