cortex-react-components 2.12.2 → 2.12.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-OU7KVCBI.mjs → chunk-22LHS2J6.mjs} +1 -1
- package/dist/{chunk-QXA6C5VE.mjs → chunk-2BR55L74.mjs} +1 -1
- package/dist/{chunk-TR52MKZR.mjs → chunk-2BRDNDUB.mjs} +1 -1
- package/dist/{chunk-6PQ67CC6.mjs → chunk-2LINLX4S.mjs} +1 -1
- package/dist/{chunk-JULD2KZR.mjs → chunk-2QZUKVBA.mjs} +1 -1
- package/dist/{chunk-5N2D3BGH.mjs → chunk-2RGAV55J.mjs} +1 -1
- package/dist/chunk-33XEFJDE.mjs +4 -0
- package/dist/{chunk-E6IIUYQ7.mjs → chunk-3AWUWWR4.mjs} +1 -1
- package/dist/{chunk-CXXPSCV3.mjs → chunk-3HNU2NYP.mjs} +1 -1
- package/dist/{chunk-4OAROJ4M.mjs → chunk-3NRXQBBS.mjs} +1 -1
- package/dist/{chunk-AG6IN5S7.mjs → chunk-3UMMMQEH.mjs} +1 -1
- package/dist/chunk-4A3MGS6I.mjs +1 -0
- package/dist/{chunk-2C3C5SQQ.mjs → chunk-4CU7D3X2.mjs} +1 -1
- package/dist/{chunk-ZJBZTPLD.mjs → chunk-4QRKVSTE.mjs} +1 -1
- package/dist/{chunk-X5RHYJW3.mjs → chunk-4RX6WI4T.mjs} +1 -1
- package/dist/{chunk-T3NMKARZ.mjs → chunk-4UIARERB.mjs} +1 -1
- package/dist/{chunk-D42KIYIO.mjs → chunk-4WA47ZQA.mjs} +1 -1
- package/dist/chunk-54K53IWE.mjs +4 -0
- package/dist/{chunk-PXAKUW3U.mjs → chunk-56X4PU43.mjs} +1 -1
- package/dist/{chunk-ZNV6MCYI.mjs → chunk-5AWZJAK3.mjs} +1 -1
- package/dist/{chunk-Z756RYIZ.mjs → chunk-5BT4EWU5.mjs} +1 -1
- package/dist/{chunk-WWTVAR4J.mjs → chunk-5BV4MHV6.mjs} +1 -1
- package/dist/{chunk-3ZXW3WQU.mjs → chunk-5MWZTJYP.mjs} +1 -1
- package/dist/{chunk-PMOMDGBA.mjs → chunk-5NRGSTPV.mjs} +1 -1
- package/dist/{chunk-EPDV35LO.mjs → chunk-5RTGHMF3.mjs} +1 -1
- package/dist/{chunk-H45UTXIK.mjs → chunk-5WV5ZFEP.mjs} +1 -1
- package/dist/{chunk-OGN7YDFB.mjs → chunk-6C4WESLL.mjs} +1 -1
- package/dist/{chunk-GFLX67DN.mjs → chunk-6DEY5ZDD.mjs} +1 -1
- package/dist/{chunk-QEFMYXHA.mjs → chunk-6HLXIE4P.mjs} +1 -1
- package/dist/{chunk-C4SUCDRQ.mjs → chunk-6MSM3CZ6.mjs} +1 -1
- package/dist/{chunk-TUTSJOO4.mjs → chunk-6SWKEZN6.mjs} +1 -1
- package/dist/{chunk-QAIS2C6W.mjs → chunk-6WQXZ6IE.mjs} +1 -1
- package/dist/{chunk-TYMRNSJ3.mjs → chunk-6XUIHSKG.mjs} +1 -1
- package/dist/{chunk-VFPS3FYN.mjs → chunk-75F3LJMX.mjs} +1 -1
- package/dist/{chunk-WJZDHRGO.mjs → chunk-75WE6ZXB.mjs} +1 -1
- package/dist/{chunk-LQDJWEHX.mjs → chunk-76M7JE4D.mjs} +1 -1
- package/dist/{chunk-F5JHHMZQ.mjs → chunk-7BXIU4ZM.mjs} +1 -1
- package/dist/{chunk-HH4JDBUN.mjs → chunk-7GSXNSLD.mjs} +1 -1
- package/dist/{chunk-6GDVIZS5.mjs → chunk-7R47MHQE.mjs} +1 -1
- package/dist/{chunk-52UFJIL4.mjs → chunk-7VDNUJZC.mjs} +1 -1
- package/dist/{chunk-ESTO675Y.mjs → chunk-7WIO2CIC.mjs} +1 -1
- package/dist/{chunk-CXK2IY4V.mjs → chunk-AB43AQKL.mjs} +1 -1
- package/dist/{chunk-6UVEJCVM.mjs → chunk-AJQHGVZ5.mjs} +1 -1
- package/dist/{chunk-TFPWTJ2V.mjs → chunk-AMVJPDM3.mjs} +1 -1
- package/dist/{chunk-FSV7RCTY.mjs → chunk-AP32JABH.mjs} +1 -1
- package/dist/{chunk-YVNVQONM.mjs → chunk-AREQGH47.mjs} +1 -1
- package/dist/{chunk-SIFQNSEM.mjs → chunk-AZ4VR5JX.mjs} +1 -1
- package/dist/{chunk-GIGKJZGA.mjs → chunk-AZKOVKSK.mjs} +1 -1
- package/dist/{chunk-DA5SDQDL.mjs → chunk-B2EJGXDG.mjs} +1 -1
- package/dist/{chunk-JKPUXPHP.mjs → chunk-B3F6F2S4.mjs} +1 -1
- package/dist/{chunk-VXZPPTQQ.mjs → chunk-B4H6T2GP.mjs} +1 -1
- package/dist/{chunk-XXFUUOSB.mjs → chunk-BG7QXNV5.mjs} +1 -1
- package/dist/{chunk-U5UV7T63.mjs → chunk-BMA4266L.mjs} +1 -1
- package/dist/{chunk-GCIWMQMK.mjs → chunk-C4RWEPVF.mjs} +1 -1
- package/dist/{chunk-UJ6M7EV5.mjs → chunk-CGDLOY7W.mjs} +1 -1
- package/dist/{chunk-3JEM6RIR.mjs → chunk-CO6AQNZ5.mjs} +1 -1
- package/dist/{chunk-2JKLBLDE.mjs → chunk-CSBGSBEU.mjs} +1 -1
- package/dist/{chunk-TAVSBP7M.mjs → chunk-CTAIR3TE.mjs} +1 -1
- package/dist/{chunk-QB63WPDB.mjs → chunk-CXOVEABI.mjs} +1 -1
- package/dist/{chunk-QUDKEIE6.mjs → chunk-D3B2YO7G.mjs} +1 -1
- package/dist/{chunk-BEPKJ67R.mjs → chunk-D4IMQTVU.mjs} +1 -1
- package/dist/{chunk-NMAMUYGQ.mjs → chunk-DBY4SXQI.mjs} +1 -1
- package/dist/{chunk-N5GHL7UZ.mjs → chunk-DFIXTV2M.mjs} +1 -1
- package/dist/{chunk-AQIMDHFI.mjs → chunk-DSSHQ6K7.mjs} +1 -1
- package/dist/{chunk-7EEEXU54.mjs → chunk-E4TE4NV6.mjs} +1 -1
- package/dist/{chunk-6PBOA7BL.mjs → chunk-EAFH3DTH.mjs} +1 -1
- package/dist/{chunk-WNBJ7C5Y.mjs → chunk-EHSOO47V.mjs} +1 -1
- package/dist/{chunk-BUTUPCGN.mjs → chunk-EM3T2XYC.mjs} +1 -1
- package/dist/{chunk-3KBY7FKD.mjs → chunk-EOXVYLPB.mjs} +1 -1
- package/dist/{chunk-44JXFP6W.mjs → chunk-F5N6KQA2.mjs} +1 -1
- package/dist/{chunk-5AYDHF5U.mjs → chunk-FE7ZGUPU.mjs} +1 -1
- package/dist/{chunk-6CAO4IKW.mjs → chunk-FGEFYI5E.mjs} +1 -1
- package/dist/{chunk-A4XWPIEI.mjs → chunk-FHMQVAKQ.mjs} +1 -1
- package/dist/{chunk-VRZHKAJK.mjs → chunk-FMH5CZ7X.mjs} +1 -1
- package/dist/{chunk-TNCD5YIY.mjs → chunk-FMJBJ3HN.mjs} +1 -1
- package/dist/{chunk-JVJG2LOA.mjs → chunk-FT3AE7L2.mjs} +1 -1
- package/dist/{chunk-VB7K44IF.mjs → chunk-GHOL5L32.mjs} +1 -1
- package/dist/{chunk-HTQIVWYI.mjs → chunk-GNXLNZ6A.mjs} +1 -1
- package/dist/{chunk-FT6JQ4AC.mjs → chunk-GTZJWMZR.mjs} +1 -1
- package/dist/{chunk-OHDNPAPI.mjs → chunk-I3E2TYYZ.mjs} +1 -1
- package/dist/{chunk-2LLMXGTP.mjs → chunk-IC2ABKAM.mjs} +1 -1
- package/dist/{chunk-QIDPNZOL.mjs → chunk-IJQC7T2R.mjs} +1 -1
- package/dist/{chunk-NQPBIFGO.mjs → chunk-INCYANPB.mjs} +1 -1
- package/dist/{chunk-XXWSCTF5.mjs → chunk-INPV5MBU.mjs} +1 -1
- package/dist/{chunk-AWMXVMUW.mjs → chunk-IPIDKLAW.mjs} +1 -1
- package/dist/{chunk-N5BLWWDM.mjs → chunk-IQQ7ZWCP.mjs} +1 -1
- package/dist/{chunk-NGC3C4FW.mjs → chunk-ISBVFNWD.mjs} +1 -1
- package/dist/{chunk-EBO2R46A.mjs → chunk-J4IHIM6A.mjs} +1 -1
- package/dist/{chunk-7QBPKUWN.mjs → chunk-JFFTEK6Z.mjs} +1 -1
- package/dist/{chunk-E6W2YMC3.mjs → chunk-JHNVX4UB.mjs} +1 -1
- package/dist/chunk-JXIKSSGH.mjs +1 -0
- package/dist/{chunk-4OK6PUOO.mjs → chunk-JYL3XIJX.mjs} +1 -1
- package/dist/{chunk-UXCCCQCB.mjs → chunk-KFCSVEI6.mjs} +1 -1
- package/dist/{chunk-GNIVCF53.mjs → chunk-KGEIN56Y.mjs} +1 -1
- package/dist/chunk-KGKGZ4H2.mjs +4 -0
- package/dist/{chunk-HTCM27MI.mjs → chunk-KVD6XDZT.mjs} +1 -1
- package/dist/chunk-KW6L6KBY.mjs +1 -0
- package/dist/{chunk-A5TPL5CB.mjs → chunk-KWYJ3XZI.mjs} +1 -1
- package/dist/{chunk-GYTXBVCX.mjs → chunk-KX2NCNCS.mjs} +1 -1
- package/dist/{chunk-BIAOADJS.mjs → chunk-KY7WQYN4.mjs} +1 -1
- package/dist/{chunk-GJUA2KUH.mjs → chunk-L5JPAKPM.mjs} +1 -1
- package/dist/{chunk-HPZPRZWG.mjs → chunk-LEC6GEWS.mjs} +1 -1
- package/dist/{chunk-67RPQW7V.mjs → chunk-LKGCU7H6.mjs} +1 -1
- package/dist/{chunk-6WVIXUXX.mjs → chunk-LLED3RQS.mjs} +1 -1
- package/dist/{chunk-LARQXED4.mjs → chunk-LVFMFRBR.mjs} +1 -1
- package/dist/{chunk-S7N4CSMJ.mjs → chunk-LVK4QE5D.mjs} +1 -1
- package/dist/{chunk-EESKUTPD.mjs → chunk-LXZAOORS.mjs} +1 -1
- package/dist/{chunk-OKAETRO6.mjs → chunk-M4UVNIK2.mjs} +1 -1
- package/dist/{chunk-FDJHY37W.mjs → chunk-MAAKU7PN.mjs} +1 -1
- package/dist/chunk-MBPTBEOX.mjs +1 -0
- package/dist/chunk-MDJREBVI.mjs +1 -0
- package/dist/{chunk-EYRTGZWR.mjs → chunk-MFCVMJBO.mjs} +1 -1
- package/dist/{chunk-Q6FPZ6J3.mjs → chunk-MGYV46AJ.mjs} +1 -1
- package/dist/{chunk-3GLK3JM6.mjs → chunk-MU5WPW4N.mjs} +1 -1
- package/dist/{chunk-BOG3XLGP.mjs → chunk-MZP7RIQZ.mjs} +1 -1
- package/dist/{chunk-BXVJNWFA.mjs → chunk-NINFDOV5.mjs} +1 -1
- package/dist/chunk-NKDFAFWH.mjs +1 -0
- package/dist/chunk-NO3FZ27F.mjs +1 -0
- package/dist/chunk-NPVUICIF.mjs +1 -0
- package/dist/{chunk-NN2RHTGW.mjs → chunk-NSMXJCXE.mjs} +1 -1
- package/dist/{chunk-2WLZ5T2D.mjs → chunk-NUHGPB5U.mjs} +1 -1
- package/dist/chunk-O5P35LEY.mjs +4 -0
- package/dist/{chunk-DGJHJHFF.mjs → chunk-OCPX4QPC.mjs} +1 -1
- package/dist/{chunk-RU435LAU.mjs → chunk-OM5ZUHCN.mjs} +1 -1
- package/dist/{chunk-YUW3HHAK.mjs → chunk-OPLUKFRN.mjs} +1 -1
- package/dist/{chunk-KUVPOOSW.mjs → chunk-ORNGKQM7.mjs} +1 -1
- package/dist/{chunk-F6KHZ4OS.mjs → chunk-OSXK6NGG.mjs} +1 -1
- package/dist/{chunk-FPWCCVDI.mjs → chunk-OYZDAMCS.mjs} +1 -1
- package/dist/{chunk-PUAHE5VJ.mjs → chunk-PDY7JYY3.mjs} +1 -1
- package/dist/{chunk-E2MPOOEL.mjs → chunk-PWXCBW2H.mjs} +1 -1
- package/dist/{chunk-IG6J62QA.mjs → chunk-Q5NHYYRS.mjs} +1 -1
- package/dist/{chunk-3HD7RAT7.mjs → chunk-Q5Q3DJWU.mjs} +1 -1
- package/dist/{chunk-532HP37G.mjs → chunk-Q5XT55O3.mjs} +1 -1
- package/dist/{chunk-RD7LJPUV.mjs → chunk-Q67RF7VO.mjs} +1 -1
- package/dist/{chunk-K5GFFN67.mjs → chunk-Q6PKGY27.mjs} +1 -1
- package/dist/{chunk-HLWGNTZD.mjs → chunk-QBUU2AQL.mjs} +1 -1
- package/dist/{chunk-JTFMN7OL.mjs → chunk-QQVPLMPJ.mjs} +1 -1
- package/dist/{chunk-DFWWQRJ2.mjs → chunk-RGOKBIQ5.mjs} +1 -1
- package/dist/{chunk-E7SIU5SS.mjs → chunk-RHR3YOLG.mjs} +1 -1
- package/dist/{chunk-EYQ4UGAJ.mjs → chunk-RJGYVDOU.mjs} +1 -1
- package/dist/{chunk-P5U27QUJ.mjs → chunk-RLVKIMGU.mjs} +1 -1
- package/dist/{chunk-EUXJZBRI.mjs → chunk-RR4QSUV2.mjs} +1 -1
- package/dist/{chunk-WKLJU63E.mjs → chunk-RULSHTXR.mjs} +1 -1
- package/dist/{chunk-QMTI6672.mjs → chunk-RVHCTANZ.mjs} +1 -1
- package/dist/{chunk-RHYQ4V7N.mjs → chunk-SOIRB5TV.mjs} +1 -1
- package/dist/{chunk-RFNYVF6F.mjs → chunk-SOLZ4VQH.mjs} +1 -1
- package/dist/{chunk-55OESIAK.mjs → chunk-TEB67NCD.mjs} +1 -1
- package/dist/{chunk-WH24BWZV.mjs → chunk-TJVEQJW3.mjs} +1 -1
- package/dist/{chunk-OF63XSJ4.mjs → chunk-TR6RBROH.mjs} +1 -1
- package/dist/{chunk-RAAY7PEH.mjs → chunk-TVZOULLL.mjs} +1 -1
- package/dist/{chunk-FJUAYJF4.mjs → chunk-TXVA6XJT.mjs} +1 -1
- package/dist/{chunk-HK52LPE3.mjs → chunk-TZKQXT7Y.mjs} +1 -1
- package/dist/{chunk-HYIRE7BK.mjs → chunk-U5PBLRRV.mjs} +1 -1
- package/dist/{chunk-5T4OPJ7F.mjs → chunk-U67OTPTT.mjs} +1 -1
- package/dist/{chunk-AARMIMMZ.mjs → chunk-UWEU6TLS.mjs} +1 -1
- package/dist/{chunk-5YJFMMVM.mjs → chunk-V6GC3UGV.mjs} +1 -1
- package/dist/chunk-VFUTR2R2.mjs +4 -0
- package/dist/{chunk-E43QS242.mjs → chunk-VGWDYD6Z.mjs} +1 -1
- package/dist/{chunk-6TLGI4P6.mjs → chunk-VMAPGGGW.mjs} +1 -1
- package/dist/chunk-WDI7JGA6.mjs +1 -0
- package/dist/{chunk-YHTFEWSZ.mjs → chunk-WIRQ5IRT.mjs} +1 -1
- package/dist/{chunk-UY4BSKPK.mjs → chunk-WISC5QJV.mjs} +1 -1
- package/dist/{chunk-7RKPUKFH.mjs → chunk-WUA65ZZB.mjs} +1 -1
- package/dist/{chunk-EGERAM4Q.mjs → chunk-X3JZSN3W.mjs} +1 -1
- package/dist/{chunk-T3BIRW2W.mjs → chunk-XBCYPOFD.mjs} +1 -1
- package/dist/{chunk-TZTQENNX.mjs → chunk-XGIYNUGC.mjs} +1 -1
- package/dist/chunk-XGRRLABA.mjs +8 -0
- package/dist/{chunk-WLM2ZFHF.mjs → chunk-YFAZQYK4.mjs} +1 -1
- package/dist/{chunk-7WKUKFCT.mjs → chunk-YO3GQYRJ.mjs} +1 -1
- package/dist/{chunk-EFIJNPMM.mjs → chunk-YRMNCHFO.mjs} +1 -1
- package/dist/{chunk-BM2ZNFM6.mjs → chunk-Z22NSJMF.mjs} +1 -1
- package/dist/{chunk-5WDNNO37.mjs → chunk-ZEALRBXW.mjs} +1 -1
- package/dist/{chunk-FHPZSG7W.mjs → chunk-ZGQC6O62.mjs} +1 -1
- package/dist/{chunk-LCIKBYDR.mjs → chunk-ZMB6R6JX.mjs} +1 -1
- package/dist/chunk-ZMSNHKKT.mjs +1 -0
- package/dist/{chunk-A7S4L4P2.mjs → chunk-ZSIYEVUV.mjs} +1 -1
- package/dist/{chunk-7Z3TOFNL.mjs → chunk-ZUA4KNIR.mjs} +1 -1
- package/dist/chunk-ZWHGOTSF.mjs +1 -0
- package/dist/{chunk-UBCJPXKD.mjs → chunk-ZXPDSSCF.mjs} +1 -1
- package/dist/components/AdvancedComponents/AppSidebar.js +1 -1
- package/dist/components/AdvancedComponents/AppSidebar.mjs +1 -1
- package/dist/components/AdvancedComponents/CommentSection.js +1 -1
- package/dist/components/AdvancedComponents/CommentSection.mjs +1 -1
- package/dist/components/AdvancedComponents/EditableField.js +1 -1
- package/dist/components/AdvancedComponents/EditableField.mjs +1 -1
- package/dist/components/AdvancedComponents/app-header.js +1 -1
- package/dist/components/AdvancedComponents/app-header.mjs +1 -1
- package/dist/components/AdvancedComponents/index.js +1 -1
- package/dist/components/AdvancedComponents/index.mjs +1 -1
- package/dist/components/AdvancedComponents/navigation-tabs.js +1 -1
- package/dist/components/AdvancedComponents/navigation-tabs.mjs +1 -1
- package/dist/components/AdvancedComponents/notifications-panel.js +1 -1
- package/dist/components/AdvancedComponents/notifications-panel.mjs +1 -1
- package/dist/components/AdvancedComponents/switch.js +1 -1
- package/dist/components/AdvancedComponents/switch.mjs +1 -1
- package/dist/components/AdvancedComponents/theme-toggle.js +1 -1
- package/dist/components/AdvancedComponents/theme-toggle.mjs +1 -1
- package/dist/components/AdvancedComponents/user-selection.js +1 -1
- package/dist/components/AdvancedComponents/user-selection.mjs +1 -1
- package/dist/components/Blocks/Banner.js +1 -1
- package/dist/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.js +1 -1
- package/dist/components/Blocks/CallToAction.mjs +1 -1
- package/dist/components/Blocks/CaseStudy.js +1 -1
- package/dist/components/Blocks/CaseStudy.mjs +1 -1
- package/dist/components/Blocks/Code.client.js +1 -1
- package/dist/components/Blocks/Code.client.mjs +1 -1
- package/dist/components/Blocks/Code.js +1 -1
- package/dist/components/Blocks/Code.mjs +1 -1
- package/dist/components/Blocks/CollapsibleArea.js +1 -1
- package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
- package/dist/components/Blocks/ConsultantProfile.js +1 -1
- package/dist/components/Blocks/ConsultantProfile.mjs +1 -1
- package/dist/components/Blocks/Content.js +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/CopyButton.js +1 -1
- package/dist/components/Blocks/CopyButton.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.js +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/ImageBlock.js +1 -1
- package/dist/components/Blocks/ImageBlock.mjs +1 -1
- package/dist/components/Blocks/MediaBlock.js +1 -1
- package/dist/components/Blocks/MediaBlock.mjs +1 -1
- package/dist/components/Blocks/ProposalSummary.js +1 -1
- package/dist/components/Blocks/ProposalSummary.mjs +1 -1
- package/dist/components/Blocks/RelatedPosts.js +1 -1
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.js +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/ReusableContentBlock.js +1 -1
- package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
- package/dist/components/Blocks/index.js +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/CRM/CogeBoard.js +1 -1
- package/dist/components/CRM/CogeBoard.mjs +1 -1
- package/dist/components/CRM/DealCard.js +1 -1
- package/dist/components/CRM/DealCard.mjs +1 -1
- package/dist/components/CRM/DealDetails.js +1 -1
- package/dist/components/CRM/DealDetails.mjs +1 -1
- package/dist/components/CRM/KanbanBoard.js +1 -1
- package/dist/components/CRM/KanbanBoard.mjs +1 -1
- package/dist/components/CRM/KanbanColumn.js +1 -1
- package/dist/components/CRM/KanbanColumn.mjs +1 -1
- package/dist/components/CRM/NewCustomerForm.js +1 -1
- package/dist/components/CRM/NewCustomerForm.mjs +1 -1
- package/dist/components/CRM/NewDealForm.js +1 -1
- package/dist/components/CRM/NewDealForm.mjs +1 -1
- package/dist/components/CRM/index.js +1 -1
- package/dist/components/CRM/index.mjs +1 -1
- package/dist/components/Cards/ContentCard.js +1 -1
- package/dist/components/Cards/ContentCard.mjs +1 -1
- package/dist/components/Cards/CustomerCard.js +1 -1
- package/dist/components/Cards/CustomerCard.mjs +1 -1
- package/dist/components/Cards/EventCard.js +1 -1
- package/dist/components/Cards/EventCard.mjs +1 -1
- package/dist/components/Cards/FeatureCard.js +1 -1
- package/dist/components/Cards/FeatureCard.mjs +1 -1
- package/dist/components/Cards/HeroCard.js +1 -1
- package/dist/components/Cards/HeroCard.mjs +1 -1
- package/dist/components/Cards/Image.js +1 -1
- package/dist/components/Cards/Image.mjs +1 -1
- package/dist/components/Cards/PricingCard.js +1 -1
- package/dist/components/Cards/PricingCard.mjs +1 -1
- package/dist/components/Cards/ProjectCard.js +3 -3
- package/dist/components/Cards/ProjectCard.mjs +1 -1
- package/dist/components/Cards/ServiceCard.js +1 -1
- package/dist/components/Cards/ServiceCard.mjs +1 -1
- package/dist/components/Cards/index.js +4 -4
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/Chat/ChatCardArtefact.js +1 -1
- package/dist/components/Chat/ChatCardArtefact.mjs +1 -1
- package/dist/components/Chat/ChatCardTask.js +1 -1
- package/dist/components/Chat/ChatCardTask.mjs +1 -1
- package/dist/components/Chat/ChatInterface.js +2 -2
- package/dist/components/Chat/ChatInterface.mjs +1 -1
- package/dist/components/Chat/ChatInterfaceMessages.js +2 -2
- package/dist/components/Chat/ChatInterfaceMessages.mjs +1 -1
- package/dist/components/Chat/ChatMessage.js +2 -2
- package/dist/components/Chat/ChatMessage.mjs +1 -1
- package/dist/components/Chat/CopilotInterface.js +3 -3
- package/dist/components/Chat/CopilotInterface.mjs +1 -1
- package/dist/components/Chat/capability-menu.js +1 -1
- package/dist/components/Chat/capability-menu.mjs +1 -1
- package/dist/components/Chat/chat-session-sidebar.js +1 -1
- package/dist/components/Chat/chat-session-sidebar.mjs +1 -1
- package/dist/components/Chat/demo-long-messages.js +9 -9
- package/dist/components/Chat/demo-long-messages.mjs +1 -1
- package/dist/components/Chat/demo-tests.js +22 -22
- package/dist/components/Chat/demo-tests.mjs +1 -1
- package/dist/components/Chat/demo.js +3 -3
- package/dist/components/Chat/demo.mjs +1 -1
- package/dist/components/Chat/example-usage.js +3 -3
- package/dist/components/Chat/example-usage.mjs +1 -1
- package/dist/components/Chat/example-with-file-uploads.js +1 -1
- package/dist/components/Chat/example-with-file-uploads.mjs +1 -1
- package/dist/components/Chat/example-with-vercel-ai.js +3 -3
- package/dist/components/Chat/example-with-vercel-ai.mjs +1 -1
- package/dist/components/Chat/index.js +3 -3
- package/dist/components/Chat/index.mjs +1 -1
- package/dist/components/DeliveryLead/DeliveryLeadSubmission.js +2 -2
- package/dist/components/DeliveryLead/DeliveryLeadSubmission.mjs +1 -1
- package/dist/components/DeliveryLead/DeliveryLeadSubmissionList.js +1 -1
- package/dist/components/DeliveryLead/DeliveryLeadSubmissionList.mjs +1 -1
- package/dist/components/DeliveryLead/DeliveryLeadSubmissionWithList.js +2 -2
- package/dist/components/DeliveryLead/DeliveryLeadSubmissionWithList.mjs +1 -1
- package/dist/components/DeliveryLead/index.js +2 -2
- package/dist/components/DeliveryLead/index.mjs +1 -1
- package/dist/components/DigitalColleagues/AppSidebarLeft.js +1 -1
- package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +1 -1
- package/dist/components/DigitalColleagues/DashboardHeader.js +1 -1
- package/dist/components/DigitalColleagues/DashboardHeader.mjs +1 -1
- package/dist/components/DigitalColleagues/DigitalColleageusLayout.js +1 -1
- package/dist/components/DigitalColleagues/DigitalColleageusLayout.mjs +1 -1
- package/dist/components/DigitalColleagues/MainPage.js +1 -1
- package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
- package/dist/components/DigitalColleagues/ManagementSidebar.d.ts +0 -3
- package/dist/components/DigitalColleagues/ManagementSidebar.js +1 -1
- package/dist/components/DigitalColleagues/ManagementSidebar.mjs +1 -1
- package/dist/components/DigitalColleagues/Pages/dashboardpage.d.ts +1 -1
- package/dist/components/DigitalColleagues/Pages/dashboardpage.js +1 -1
- package/dist/components/DigitalColleagues/Pages/dashboardpage.mjs +1 -1
- package/dist/components/DigitalColleagues/SearchableSelect.js +1 -1
- package/dist/components/DigitalColleagues/SearchableSelect.mjs +1 -1
- package/dist/components/DigitalColleagues/Views/ColleaguesView.d.ts +1 -1
- package/dist/components/DigitalColleagues/Views/ColleaguesView.js +1 -1
- package/dist/components/DigitalColleagues/Views/ColleaguesView.mjs +1 -1
- package/dist/components/DigitalColleagues/Views/KnowledgeView.js +1 -1
- package/dist/components/DigitalColleagues/Views/KnowledgeView.mjs +1 -1
- package/dist/components/DigitalColleagues/Views/TeamsIndexView.js +1 -1
- package/dist/components/DigitalColleagues/Views/TeamsIndexView.mjs +1 -1
- package/dist/components/DigitalColleagues/Views/index.js +1 -1
- package/dist/components/DigitalColleagues/Views/index.mjs +1 -1
- package/dist/components/DigitalColleagues/colleague-card.d.ts +1 -1
- package/dist/components/DigitalColleagues/colleague-card.js +1 -2
- package/dist/components/DigitalColleagues/colleague-card.mjs +1 -1
- package/dist/components/DigitalColleagues/colleague-form.js +1 -1
- package/dist/components/DigitalColleagues/colleague-form.mjs +1 -1
- package/dist/components/DigitalColleagues/colleague-type-selection.js +1 -1
- package/dist/components/DigitalColleagues/colleague-type-selection.mjs +1 -1
- package/dist/components/DigitalColleagues/digital-colleague-clone.js +1 -1
- package/dist/components/DigitalColleagues/digital-colleague-clone.mjs +1 -1
- package/dist/components/DigitalColleagues/digital-colleague-options.js +1 -1
- package/dist/components/DigitalColleagues/digital-colleague-options.mjs +1 -1
- package/dist/components/DigitalColleagues/document-edit.js +1 -1
- package/dist/components/DigitalColleagues/document-edit.mjs +1 -1
- package/dist/components/DigitalColleagues/document-preview-examples.js +5 -5
- package/dist/components/DigitalColleagues/document-preview-examples.mjs +1 -1
- package/dist/components/DigitalColleagues/document-preview.js +1 -1
- package/dist/components/DigitalColleagues/document-preview.mjs +1 -1
- package/dist/components/DigitalColleagues/index.js +1 -1
- package/dist/components/DigitalColleagues/index.mjs +1 -1
- package/dist/components/DigitalColleagues/knowledge-browser.js +1 -1
- package/dist/components/DigitalColleagues/knowledge-browser.mjs +1 -1
- package/dist/components/DigitalColleagues/knowledge-search.js +1 -1
- package/dist/components/DigitalColleagues/knowledge-search.mjs +1 -1
- package/dist/components/DigitalColleagues/team-form.js +1 -1
- package/dist/components/DigitalColleagues/team-form.mjs +1 -1
- package/dist/components/DigitalColleagues/test-data.js +1 -1
- package/dist/components/DigitalColleagues/test-data.mjs +1 -1
- package/dist/components/DigitalColleagues/types.d.ts +10 -1
- package/dist/components/HeaderFooter/BrandLogo.js +1 -1
- package/dist/components/HeaderFooter/BrandLogo.mjs +1 -1
- package/dist/components/HeaderFooter/Footer.js +1 -1
- package/dist/components/HeaderFooter/Footer.mjs +1 -1
- package/dist/components/HeaderFooter/Header.js +1 -1
- package/dist/components/HeaderFooter/Header.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.js +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderMenu.js +1 -1
- package/dist/components/HeaderFooter/HeaderMenu.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderMobile.js +1 -1
- package/dist/components/HeaderFooter/HeaderMobile.mjs +1 -1
- package/dist/components/HeaderFooter/RelatedPagesMenu.js +1 -1
- package/dist/components/HeaderFooter/RelatedPagesMenu.mjs +1 -1
- package/dist/components/HeaderFooter/SectionHeading.js +1 -1
- package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
- package/dist/components/HeaderFooter/SimpleHeader.js +1 -1
- package/dist/components/HeaderFooter/SimpleHeader.mjs +1 -1
- package/dist/components/HeaderFooter/VideoHeader.js +1 -1
- package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
- package/dist/components/HeaderFooter/enhanced-header.js +1 -1
- package/dist/components/HeaderFooter/enhanced-header.mjs +1 -1
- package/dist/components/HeaderFooter/index.js +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/DashboardHero/DashboardHero.js +1 -1
- package/dist/components/Heros/DashboardHero/DashboardHero.mjs +1 -1
- package/dist/components/Heros/DashboardHero/index.js +1 -1
- package/dist/components/Heros/DashboardHero/index.mjs +1 -1
- package/dist/components/Heros/HighImpact/index.js +1 -1
- package/dist/components/Heros/HighImpact/index.mjs +1 -1
- package/dist/components/Heros/LowImpact/index.js +1 -1
- package/dist/components/Heros/LowImpact/index.mjs +1 -1
- package/dist/components/Heros/MediumImpact/index.js +1 -1
- package/dist/components/Heros/MediumImpact/index.mjs +1 -1
- package/dist/components/Heros/PostHero/index.js +1 -1
- package/dist/components/Heros/PostHero/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.js +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/SectionHero/index.js +1 -1
- package/dist/components/Heros/SectionHero/index.mjs +1 -1
- package/dist/components/Heros/index.js +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Holidays/ApproveLeave.js +1 -1
- package/dist/components/Holidays/ApproveLeave.mjs +1 -1
- package/dist/components/Holidays/CalendarView.js +1 -1
- package/dist/components/Holidays/CalendarView.mjs +1 -1
- package/dist/components/Holidays/HolidayGrid.js +1 -1
- package/dist/components/Holidays/HolidayGrid.mjs +1 -1
- package/dist/components/Holidays/HolidayTracker.js +1 -1
- package/dist/components/Holidays/HolidayTracker.mjs +1 -1
- package/dist/components/Holidays/RequestLeave.js +1 -1
- package/dist/components/Holidays/RequestLeave.mjs +1 -1
- package/dist/components/Holidays/index.js +1 -1
- package/dist/components/Holidays/index.mjs +1 -1
- package/dist/components/Layouts/OutputHeaderFooter.js +2 -2
- package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
- package/dist/components/Layouts/Print.js +2 -2
- package/dist/components/Layouts/Print.mjs +1 -1
- package/dist/components/Layouts/SlideShow.js +3 -3
- package/dist/components/Layouts/SlideShow.mjs +1 -1
- package/dist/components/Layouts/index.js +4 -4
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Menus/Categories.js +1 -1
- package/dist/components/Menus/Categories.mjs +1 -1
- package/dist/components/Menus/Filter.js +1 -1
- package/dist/components/Menus/Filter.mjs +1 -1
- package/dist/components/Menus/Pagination.js +1 -1
- package/dist/components/Menus/Pagination.mjs +1 -1
- package/dist/components/Menus/ProjectTeam.js +1 -1
- package/dist/components/Menus/ProjectTeam.mjs +1 -1
- package/dist/components/Menus/RelatedContent.js +1 -1
- package/dist/components/Menus/RelatedContent.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.js +1 -1
- package/dist/components/Menus/SidebarLeft.mjs +1 -1
- package/dist/components/Menus/SidebarRight.js +1 -1
- package/dist/components/Menus/SidebarRight.mjs +1 -1
- package/dist/components/Menus/index.js +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Other/Container.js +1 -1
- package/dist/components/Other/Container.mjs +1 -1
- package/dist/components/Other/PageShape.js +1 -1
- package/dist/components/Other/PageShape.mjs +1 -1
- package/dist/components/Other/index.js +1 -1
- package/dist/components/Other/index.mjs +1 -1
- package/dist/components/Payload/Card/index.js +1 -1
- package/dist/components/Payload/Card/index.mjs +1 -1
- package/dist/components/Payload/CollectionArchive/index.js +1 -1
- package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
- package/dist/components/Payload/Link/index.js +1 -1
- package/dist/components/Payload/Link/index.mjs +1 -1
- package/dist/components/Payload/Media/ImageMedia/index.js +1 -1
- package/dist/components/Payload/Media/ImageMedia/index.mjs +1 -1
- package/dist/components/Payload/Media/VideoMedia/index.js +1 -1
- package/dist/components/Payload/Media/VideoMedia/index.mjs +1 -1
- package/dist/components/Payload/Media/index.js +1 -1
- package/dist/components/Payload/Media/index.mjs +1 -1
- package/dist/components/Payload/Pagination/index.js +1 -1
- package/dist/components/Payload/Pagination/index.mjs +1 -1
- package/dist/components/Payload/RichText/index.js +1 -1
- package/dist/components/Payload/RichText/index.mjs +1 -1
- package/dist/components/Payload/RichText/serialize.js +1 -1
- package/dist/components/Payload/RichText/serialize.mjs +1 -1
- package/dist/components/Payload/index.js +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/Projects/AddEpicModal.js +1 -1
- package/dist/components/Projects/AddEpicModal.mjs +1 -1
- package/dist/components/Projects/AddSprintModal.js +1 -1
- package/dist/components/Projects/AddSprintModal.mjs +1 -1
- package/dist/components/Projects/AddTaskModal.js +1 -1
- package/dist/components/Projects/AddTaskModal.mjs +1 -1
- package/dist/components/Projects/EpicFilter.js +1 -1
- package/dist/components/Projects/EpicFilter.mjs +1 -1
- package/dist/components/Projects/EpicsView.js +1 -2
- package/dist/components/Projects/EpicsView.mjs +1 -1
- package/dist/components/Projects/FileView.js +1 -1
- package/dist/components/Projects/FileView.mjs +1 -1
- package/dist/components/Projects/KanbanBoardView.d.ts +4 -0
- package/dist/components/Projects/KanbanBoardView.js +1 -1
- package/dist/components/Projects/KanbanBoardView.mjs +1 -1
- package/dist/components/Projects/KanbanColumn.d.ts +1 -0
- package/dist/components/Projects/KanbanColumn.js +1 -1
- package/dist/components/Projects/KanbanColumn.mjs +1 -1
- package/dist/components/Projects/PlanningView.d.ts +2 -0
- package/dist/components/Projects/PlanningView.js +1 -1
- package/dist/components/Projects/PlanningView.mjs +1 -1
- package/dist/components/Projects/PlanningView_broken_backup.css +1 -0
- package/dist/components/Projects/PlanningView_broken_backup.d.ts +14 -0
- package/dist/components/Projects/PlanningView_broken_backup.js +5 -0
- package/dist/components/Projects/PlanningView_broken_backup.mjs +1 -0
- package/dist/components/Projects/ProjectPage.d.ts +3 -3
- package/dist/components/Projects/ProjectPage.js +2 -2
- package/dist/components/Projects/ProjectPage.mjs +1 -1
- package/dist/components/Projects/ProjectView.d.ts +9 -4
- package/dist/components/Projects/ProjectView.js +1 -1
- package/dist/components/Projects/ProjectView.mjs +1 -1
- package/dist/components/Projects/ProjectsIndexView.js +1 -1
- package/dist/components/Projects/ProjectsIndexView.mjs +1 -1
- package/dist/components/Projects/TaskCard.js +1 -1
- package/dist/components/Projects/TaskCard.mjs +1 -1
- package/dist/components/Projects/TaskDetailsModal.d.ts +8 -3
- package/dist/components/Projects/TaskDetailsModal.js +1 -1
- package/dist/components/Projects/TaskDetailsModal.mjs +1 -1
- package/dist/components/Projects/TaskSelect.js +1 -1
- package/dist/components/Projects/TaskSelect.mjs +1 -1
- package/dist/components/Projects/TaskSidebar.d.ts +2 -1
- package/dist/components/Projects/TaskSidebar.js +1 -1
- package/dist/components/Projects/TaskSidebar.mjs +1 -1
- package/dist/components/Projects/TasksView.js +1 -1
- package/dist/components/Projects/TasksView.mjs +1 -1
- package/dist/components/Projects/TeamSwitcher.js +1 -1
- package/dist/components/Projects/TeamSwitcher.mjs +1 -1
- package/dist/components/Projects/business-unit-switcher.js +1 -1
- package/dist/components/Projects/business-unit-switcher.mjs +1 -1
- package/dist/components/Projects/file-list.js +1 -1
- package/dist/components/Projects/file-list.mjs +1 -1
- package/dist/components/Projects/index.js +1 -1
- package/dist/components/Projects/index.mjs +1 -1
- package/dist/components/Projects/project-card.js +1 -1
- package/dist/components/Projects/project-card.mjs +1 -1
- package/dist/components/Projects/project-form.js +1 -1
- package/dist/components/Projects/project-form.mjs +1 -1
- package/dist/components/Projects/team-card.js +1 -1
- package/dist/components/Projects/team-card.mjs +1 -1
- package/dist/components/Projects/team-switcher-bar.js +1 -1
- package/dist/components/Projects/team-switcher-bar.mjs +1 -1
- package/dist/components/Projects/test-data.js +1 -1
- package/dist/components/Projects/test-data.mjs +1 -1
- package/dist/components/dc-temp/creative.js +1 -1
- package/dist/components/dc-temp/creative.mjs +1 -1
- package/dist/components/dc-temp/dashboard-integration-example.js +1 -1
- package/dist/components/dc-temp/dashboard-integration-example.mjs +1 -1
- package/dist/components/dc-temp/index.js +1 -1
- package/dist/components/dc-temp/index.mjs +1 -1
- package/dist/components/dc-temp/markdown-renderer.js +1 -1
- package/dist/components/dc-temp/markdown-renderer.mjs +1 -1
- package/dist/components/dc-temp/utils.js +1 -1
- package/dist/components/dc-temp/utils.mjs +1 -1
- package/dist/components/index.js +14 -14
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/alert.js +1 -1
- package/dist/components/ui/alert.mjs +1 -1
- package/dist/components/ui/avatar.js +1 -1
- package/dist/components/ui/avatar.mjs +1 -1
- package/dist/components/ui/badge.js +1 -1
- package/dist/components/ui/badge.mjs +1 -1
- package/dist/components/ui/breadcrumb.js +1 -1
- package/dist/components/ui/breadcrumb.mjs +1 -1
- package/dist/components/ui/button.js +1 -1
- package/dist/components/ui/button.mjs +1 -1
- package/dist/components/ui/calendar.js +1 -1
- package/dist/components/ui/calendar.mjs +1 -1
- package/dist/components/ui/card.js +1 -1
- package/dist/components/ui/card.mjs +1 -1
- package/dist/components/ui/checkbox.js +1 -1
- package/dist/components/ui/checkbox.mjs +1 -1
- package/dist/components/ui/command.js +1 -1
- package/dist/components/ui/command.mjs +1 -1
- package/dist/components/ui/dialog.js +1 -1
- package/dist/components/ui/dialog.mjs +1 -1
- package/dist/components/ui/dropdown-menu.js +1 -1
- package/dist/components/ui/dropdown-menu.mjs +1 -1
- package/dist/components/ui/hover-card.js +1 -1
- package/dist/components/ui/hover-card.mjs +1 -1
- package/dist/components/ui/index.js +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/components/ui/input.js +1 -1
- package/dist/components/ui/input.mjs +1 -1
- package/dist/components/ui/inputs/common/styles/index.js +1 -1
- package/dist/components/ui/inputs/common/styles/index.mjs +1 -1
- package/dist/components/ui/inputs/text-input/index.js +1 -1
- package/dist/components/ui/inputs/text-input/index.mjs +1 -1
- package/dist/components/ui/inputs/textarea-input/index.js +1 -1
- package/dist/components/ui/inputs/textarea-input/index.mjs +1 -1
- package/dist/components/ui/label.js +1 -1
- package/dist/components/ui/label.mjs +1 -1
- package/dist/components/ui/pagination.js +1 -1
- package/dist/components/ui/pagination.mjs +1 -1
- package/dist/components/ui/popover.js +1 -1
- package/dist/components/ui/popover.mjs +1 -1
- package/dist/components/ui/progress.js +1 -1
- package/dist/components/ui/progress.mjs +1 -1
- package/dist/components/ui/scroll-area.js +1 -1
- package/dist/components/ui/scroll-area.mjs +1 -1
- package/dist/components/ui/select.js +1 -1
- package/dist/components/ui/select.mjs +1 -1
- package/dist/components/ui/separator.js +1 -1
- package/dist/components/ui/separator.mjs +1 -1
- package/dist/components/ui/sheet.js +1 -1
- package/dist/components/ui/sheet.mjs +1 -1
- package/dist/components/ui/sidebar.js +1 -1
- package/dist/components/ui/sidebar.mjs +1 -1
- package/dist/components/ui/skeleton.js +1 -1
- package/dist/components/ui/skeleton.mjs +1 -1
- package/dist/components/ui/switch.js +1 -1
- package/dist/components/ui/switch.mjs +1 -1
- package/dist/components/ui/tabs.js +1 -1
- package/dist/components/ui/tabs.mjs +1 -1
- package/dist/components/ui/textarea.js +1 -1
- package/dist/components/ui/textarea.mjs +1 -1
- package/dist/components/ui/toast.js +1 -1
- package/dist/components/ui/toast.mjs +1 -1
- package/dist/components/ui/toaster.js +1 -1
- package/dist/components/ui/toaster.mjs +1 -1
- package/dist/components/ui/toggle-group.js +1 -1
- package/dist/components/ui/toggle-group.mjs +1 -1
- package/dist/components/ui/toggle.js +1 -1
- package/dist/components/ui/toggle.mjs +1 -1
- package/dist/components/ui/tooltip.js +1 -1
- package/dist/components/ui/tooltip.mjs +1 -1
- package/dist/globals.css +1 -1
- package/dist/index.js +19 -19
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/pages/Blog.js +1 -1
- package/dist/pages/Blog.mjs +1 -1
- package/dist/pages/Documentation.js +1 -1
- package/dist/pages/Documentation.mjs +1 -1
- package/dist/pages/IndexPage.js +1 -1
- package/dist/pages/IndexPage.mjs +1 -1
- package/dist/pages/Intranet.js +1 -1
- package/dist/pages/Intranet.mjs +1 -1
- package/dist/pages/LandingPage.js +3 -3
- package/dist/pages/LandingPage.mjs +1 -1
- package/dist/pages/Page.js +1 -1
- package/dist/pages/Page.mjs +1 -1
- package/dist/pages/Publish.js +4 -4
- package/dist/pages/Publish.mjs +1 -1
- package/dist/pages/Website.js +1 -1
- package/dist/pages/Website.mjs +1 -1
- package/dist/sections/AboutSection.js +1 -1
- package/dist/sections/AboutSection.mjs +1 -1
- package/dist/sections/BlogDetail.js +1 -1
- package/dist/sections/BlogDetail.mjs +1 -1
- package/dist/sections/BlogList.js +3 -3
- package/dist/sections/BlogList.mjs +1 -1
- package/dist/sections/BlogListSection.js +1 -1
- package/dist/sections/BlogListSection.mjs +1 -1
- package/dist/sections/ContactSection.js +1 -1
- package/dist/sections/ContactSection.mjs +1 -1
- package/dist/sections/ImageSection.js +1 -1
- package/dist/sections/ImageSection.mjs +1 -1
- package/dist/sections/MainPageSection.js +1 -1
- package/dist/sections/MainPageSection.mjs +1 -1
- package/dist/sections/PageSections.js +3 -3
- package/dist/sections/PageSections.mjs +1 -1
- package/dist/sections/PricingSection.js +1 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/ServiceDetail.js +1 -1
- package/dist/sections/ServiceDetail.mjs +1 -1
- package/dist/sections/ServiceDetailSection.js +1 -1
- package/dist/sections/ServiceDetailSection.mjs +1 -1
- package/dist/sections/ServiceSection.js +1 -1
- package/dist/sections/ServiceSection.mjs +1 -1
- package/dist/sections/form/index.js +1 -1
- package/dist/sections/form/index.mjs +1 -1
- package/dist/sections/index.js +3 -3
- package/dist/sections/index.mjs +1 -1
- package/dist/styles/Colors.js +1 -1
- package/dist/styles/Colors.mjs +1 -1
- package/dist/utils/AOSInit.js +2 -2
- package/dist/utils/AOSInit.mjs +1 -1
- package/dist/utils/cn.js +1 -1
- package/dist/utils/cn.mjs +1 -1
- package/dist/utils/index.js +2 -2
- package/dist/utils/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-4RQ27GTD.mjs +0 -1
- package/dist/chunk-56AGUZR5.mjs +0 -1
- package/dist/chunk-5WH7SFOR.mjs +0 -4
- package/dist/chunk-CDH5ONCJ.mjs +0 -8
- package/dist/chunk-E3NWG6B4.mjs +0 -4
- package/dist/chunk-GZQ7JEUL.mjs +0 -1
- package/dist/chunk-I2BNJCJ7.mjs +0 -1
- package/dist/chunk-KCOLYVJX.mjs +0 -1
- package/dist/chunk-KZTONTWM.mjs +0 -1
- package/dist/chunk-MZKVGPNQ.mjs +0 -1
- package/dist/chunk-NM6U4PLY.mjs +0 -1
- package/dist/chunk-QXNCGSQE.mjs +0 -4
- package/dist/chunk-RARAKOXE.mjs +0 -1
- package/dist/chunk-RPUSKO6J.mjs +0 -4
- package/dist/chunk-TSEOL53Y.mjs +0 -1
- package/dist/chunk-WXTJ6DVT.mjs +0 -4
- package/dist/chunk-ZKLSTUIP.mjs +0 -1
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as ee}from"./chunk-ZMB6R6JX.mjs";import{a as _}from"./chunk-ZMSNHKKT.mjs";import{a as Z}from"./chunk-WDI7JGA6.mjs";import{a as Y}from"./chunk-NO3FZ27F.mjs";import{a as X}from"./chunk-ORNGKQM7.mjs";import{a as Q}from"./chunk-4A3MGS6I.mjs";import{a as L}from"./chunk-QBUU2AQL.mjs";import{a as J}from"./chunk-VFUTR2R2.mjs";import{useEffect as o,useState as s}from"react";import{useRouter as Ze}from"next/navigation";import{jsx as a,jsxs as et}from"react/jsx-runtime";function _e({title:tt="",initialTasks:h=[],initialEpics:D=[],initialSprints:S=[],initialProjects:E=[],initialReminders:v=[],initialColleagues:A=[],initialUsers:w=[],initialFiles:P=[],initialView:C="kanban",onAddTask:te,onUpdateTask:ie,onDeleteTask:ne,onTaskClick:it,onAddEpic:se,onUpdateEpic:ae,onDeleteEpic:oe,onAddTaskToEpic:nt,onAddSprint:de,onUpdateSprint:re,onDeleteSprint:le,onAddProject:ce,onUpdateProject:pe,onDeleteProject:me,onFileAdd:ge,onFileEdit:ke,onFileDelete:Te,onFileClick:ue,onAddReminder:fe,onUpdateReminder:he,onDeleteReminder:De,onViewChange:Se,onToggleMobileMenu:Ee,onTeamClick:st,onTeamChange:at,onCopilotClick:ot,handleAddComment:ve}){let[p,d]=s(h),[r,m]=s(D),[c,g]=s(S),[F,k]=s(E),[Ae,T]=s(v),[U,we]=s(A),[M,Pe]=s(w),[Ce,O]=s(P),[Ue,R]=s(!1),[be,V]=s(!1),[ye,j]=s(null),[Fe,I]=s(null),[B,N]=s(null),[l,x]=s(C||"kanban"),[Me,Oe]=s(!1),G=Ze();o(()=>{d(h)},[h]),o(()=>{g(S)},[S]),o(()=>{m(D)},[D]),o(()=>{k(E)},[E]),o(()=>{O(P)},[P]),o(()=>{Pe(w)},[w]),o(()=>{we(A)},[A]),o(()=>{T(v)},[v]),o(()=>{x(C)},[C]);let Re=r.filter(e=>e.isSelected).map(e=>e.id),u=c.find(e=>e.isSelected),Ve=p.filter(e=>{let t=Re.includes(e.epicId);return!u||u.id==="all-tasks"?t:u.id==="backlog"?t&&!e.sprintId:t&&e.sprintId===u.id}),dt=e=>Ve.filter(t=>t.status===e),rt=e=>{let t={};return r.forEach(i=>{t[i.id]=e.filter(n=>n.epicId===i.id)}),t},lt=e=>{N(e)},ct=e=>{B&&(d(t=>t.map(i=>i.id===B.id?{...i,status:e}:i)),N(null))},H=e=>{let t={...e,id:Date.now().toString(),createdAt:new Date};d(i=>[...i,t]),te?.(t)},f=async(e,t)=>(d(i=>i.map(n=>n.id===e?{...n,...t}:n)),await ie?.(e,t)),pt=async(e,t)=>{f(e,t)},K=e=>{d(t=>t.filter(i=>i.id!==e)),ye?.id===e&&j(null),ne?.(e)},mt=async e=>{K(e)},je=e=>{let t={...e,id:Date.now().toString(),isSelected:!1};k(i=>[...i,t]),ce?.(e)},Ie=(e,t)=>{k(i=>i.map(n=>n.id===e?t.isSelected?(G.push(`/project/${e}`),{...n,...t}):{...n,...t}:t.isSelected&&e!==n.id?{...n,isSelected:!1}:n)),pe?.(e,t)},Be=e=>{k(t=>t.filter(i=>i.id!==e)),me?.(e)},W=e=>{let t={...e,id:Date.now().toString(),isSelected:!0};m(i=>[...i,t]),se?.({...t})},$=()=>{V(!0)},q=(e,t)=>{m(i=>i.map(n=>n.id===e?{...n,...t}:n)),ae?.(e,t)},z=e=>{m(t=>t.filter(i=>i.id!==e)),d(t=>t.filter(i=>i.epicId!==e)),oe?.(e)},Ne=e=>{let t={...e,id:Date.now().toString(),isSelected:!1};g(i=>[...i,t]),de?.(e)},xe=(e,t)=>{g(i=>i.map(n=>n.id===e?t.isSelected?{...n,...t}:{...n,...t}:t.isSelected&&e!==n.id?{...n,isSelected:!1}:n)),re?.(e,t)},Ge=e=>{e==="backlog"||e==="all-tasks"||(g(t=>t.filter(i=>i.id!==e)),d(t=>t.map(i=>i.sprintId===e?{...i,sprintId:void 0}:i)),le?.(e))},b=e=>{j(e)},He=e=>{e==="planning"&&window.innerWidth<768||(x(e),Se?.(e))},Ke=()=>{Oe(e=>!e),Ee?.()},gt=()=>{G.push("/")},kt=e=>{console.log("Switching to team:",e)},Tt=e=>{console.log("Switching to team:",e)},We=e=>{I(e),R(!0)},$e=()=>{R(!1),I(null)},qe=e=>{let t={...e,id:Date.now().toString(),createdAt:new Date};T(i=>[...i,t]),fe?.(e)},ze=(e,t)=>{T(i=>i.map(n=>n.id===e?{...n,...t}:n)),he?.(e,t)},Je=e=>{T(t=>t.filter(i=>i.id!==e)),De?.(e)},Le=()=>{ge?.()},Qe=e=>{ke?.(e)},Xe=e=>{O(t=>t.filter(i=>i.name!==e)),Te?.(e)},Ye=e=>{ue?.(e)},ut=[{id:"todo",title:"To Do",status:"todo"},{id:"in-progress",title:"In Progress",status:"in-progress"},{id:"review",title:"Review",status:"review"},{id:"done",title:"Done",status:"done"}],ft=()=>{switch(l){case"kanban":return"Project Board";case"planning":return"Sprint Planning";case"tasks":return"Task Reminders";case"files":return"Documentation";case"epics":return"Epic Planning";default:return"Project Board"}},y=[{id:"1",name:"Product Development",avatar:"PD",lastUsed:new Date("2024-01-20")},{id:"2",name:"Engineering",avatar:"ENG",lastUsed:new Date("2024-01-19")},{id:"3",name:"Marketing Team",avatar:"MT",lastUsed:new Date("2024-01-18")},{id:"4",name:"Design System",avatar:"DS",lastUsed:new Date("2024-01-17")},{id:"5",name:"Sales Operations",avatar:"SO",lastUsed:new Date("2024-01-16")},{id:"6",name:"Customer Success",avatar:"CS",lastUsed:new Date("2024-01-15")}],ht=y.sort((e,t)=>t.lastUsed.getTime()-e.lastUsed.getTime()).slice(0,3),Dt=y.length>3,St=y.slice(3);return et(J,{projects:F,epics:r,sprints:c,currentView:l,onUpdateProject:Ie,onDeleteProject:Be,onAddProject:je,onUpdateEpic:q,onDeleteEpic:z,onAddEpic:$,onViewChange:He,mobileMenuOpen:Me,onToggleMobileMenu:Ke,children:[l==="kanban"&&a("div",{className:"h-full overflow-hidden",children:a(Y,{initialProjects:F,initialEpics:r,initialSprints:c,initialTasks:p,initialColleagues:U,initialUsers:M,onAddTask:H,onUpdateTask:f,onDeleteTask:K,onTaskClick:b,onAddEpic:W,onAddComment:ve})}),l==="planning"&&a("div",{className:"hidden md:block h-full",children:a(_,{tasks:p,epics:r,sprints:c,onUpdateTask:f,onTaskClick:b,onAddSprint:Ne,onUpdateSprint:xe,onDeleteSprint:Ge})}),l==="tasks"&&a("div",{className:"h-full",children:a(ee,{initialReminders:Ae,initialColleagues:U,onAddReminder:qe,onUpdateReminder:ze,onDeleteReminder:Je})}),l==="files"&&a("div",{className:"h-full",children:a(L,{initialFiles:Ce,onFileAdd:Le,onFileEdit:Qe,onFileDelete:Xe,onFileClick:Ye,compactView:!1})}),l==="epics"&&a("div",{className:"h-full",children:a(Z,{tasks:p,epics:r,sprints:c,onUpdateTask:f,onTaskClick:b,onAddTaskToEpic:We,onAddEpic:$,onUpdateEpic:q,onDeleteEpic:z})}),a(Q,{isOpen:Ue,onClose:$e,onAddTask:H,epics:r,sprints:c,assignees:[...U,...M],defaultEpicId:Fe||void 0}),a(X,{isOpen:be,onClose:()=>V(!1),onAddEpic:W})]})}export{_e as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as c}from"./chunk-
|
|
1
|
+
import{b as c}from"./chunk-CSBGSBEU.mjs";import{a as s,b as r,c as o,e as n}from"./chunk-YO3GQYRJ.mjs";import{CalendarIcon as x,UserIcon as C}from"lucide-react";import{jsx as e,jsxs as t}from"react/jsx-runtime";function N({deal:a,customer:i,categories:p,onClick:d,compact:f=!1}){let m=p.find(l=>l.type==="proposition"&&(a.categories??[]).includes(l.id));return f?t(s,{className:"mb-1 cursor-pointer hover:shadow-md transition-shadow border-l-4 border-l-accent",onClick:d,children:[t(r,{className:"pb-1 pt-2",children:[e(o,{className:"text-sm font-semibold text-foreground",children:i?.name}),e("p",{className:"text-sm text-foreground mt-1",children:a.description})]}),e(n,{className:"text-xs text-gray-200 pb-2",children:e("div",{className:"flex justify-between items-center mb-1",children:e("div",{className:"flex items-center text-sm font-bold text-green-600",children:t("span",{children:["\xA3",a.value.toLocaleString()]})})})})]}):t(s,{className:"mb-4 cursor-pointer hover:shadow-md transition-shadow border-l-4 border-l-accent",onClick:d,children:[t(r,{className:"pb-2",children:[e("div",{className:"flex justify-between items-center",children:e(o,{className:"text-lg font-semibold text-foreground",children:i?.name})}),e("p",{className:"text-sm text-foreground mt-1",children:a.description})]}),t(n,{children:[t("div",{className:"flex justify-between items-center mb-3",children:[t("div",{className:"flex items-center text-sm text-foreground",children:[e(C,{className:"w-4 h-4 mr-1 text-xs"}),e("span",{children:a.assignee.name})]}),e("div",{className:"flex items-center text-sm font-bold text-green-600",children:t("span",{children:["\xA3",a.value.toLocaleString()]})})]}),e("div",{className:"flex justify-between items-left mb-3",children:t("div",{className:"flex items-center text-xs text-gray-200",children:[e(x,{className:"w-3 h-3 mr-1"}),e("span",{children:new Date(a.updatedAt).toLocaleDateString()})]})}),e("div",{className:"flex justify-between items-left",children:m&&e(c,{variant:"secondary",className:"bg-blue-100 text-blue-800 text-xs",children:m.name})})]})]})}export{N as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-YO3GQYRJ.mjs";import{User as u,AlertCircle as p,Bug as g,Zap as f,BookOpen as b}from"lucide-react";import{jsx as e,jsxs as t}from"react/jsx-runtime";var y=({task:r,epic:x,onDragStart:i,onTaskClick:d,isCompact:m=!1})=>{let s=v=>{i(r)},o=()=>{d(r)},l=()=>{switch(r.priority){case"high":return"bg-destructive/20 text-destructive border-destructive/20";case"medium":return"bg-warning/20 text-warning border-warning/20";case"low":return"bg-success/20 text-success border-success/20";default:return"bg-muted text-muted-foreground border-border"}},n=()=>{switch(r.type){case"story":return e(b,{className:"h-3 w-3"});case"bug":return e(g,{className:"h-3 w-3"});case"spike":return e(f,{className:"h-3 w-3"});case"task":default:return e(p,{className:"h-3 w-3"})}},c=()=>{switch(r.type){case"story":return"bg-primary/20 text-primary";case"bug":return"bg-destructive/20 text-destructive";case"spike":return"bg-accent/20 text-accent";case"task":default:return"bg-muted text-muted-foreground"}};return m?e(a,{className:"p-3 bg-card border border-border hover:border-accent cursor-pointer transition-all duration-200 hover:shadow-sm",draggable:!0,onDragStart:s,onClick:o,children:t("div",{className:"flex items-center gap-2",children:[e("div",{className:`flex items-center gap-1 px-2 py-1 rounded-full text-xs font-medium ${c()}`,children:n()}),e("h4",{className:"font-medium text-foreground text-sm mb-1 line-clamp-2 select-none-important",children:r.name})]})}):t(a,{className:"p-4 bg-card border border-border hover:border-accent cursor-pointer transition-all duration-200 hover:shadow-md",draggable:!0,onDragStart:s,onClick:o,children:[t("div",{className:"flex items-center justify-between mb-3",children:[t("div",{className:`flex items-center gap-2 px-3 py-1 rounded-full text-sm font-medium ${c()}`,children:[n(),e("span",{className:"capitalize",children:r.type})]}),t("div",{className:"flex gap-1",children:[e("div",{className:`flex items-center gap-2 px-3 py-1 rounded-full text-xs font-medium ${l()}`,children:r.priority}),e("div",{className:"flex items-center gap-2 px-3 py-1 border border-accent rounded-full text-xs font-medium",children:r.points})]})]}),e("h4",{className:"font-semibold text-foreground mb-2 select-none-important",children:r.name}),e("p",{className:"text-sm text-muted-foreground mb-3 line-clamp-2 select-none-important",children:r.description}),e("div",{className:"flex items-center justify-between text-sm text-muted-foreground",children:t("div",{className:"flex items-center gap-1",children:[e(u,{className:"h-4 w-4"}),e("span",{children:r.assignee?.value?.name})]})})]})};export{y as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as c}from"./chunk-SV7NMNDI.mjs";import{a as d}from"./chunk-
|
|
1
|
+
import{a as c}from"./chunk-SV7NMNDI.mjs";import{a as d}from"./chunk-3HNU2NYP.mjs";import{c as g}from"./chunk-YNNW2C2U.mjs";import{a as l}from"./chunk-WISCWNL2.mjs";import{a as p}from"./chunk-FMJBJ3HN.mjs";import{a as i}from"./chunk-MDJREBVI.mjs";import f from"next/image";import{FaArrowRight as x}from"react-icons/fa6";import{jsx as e,jsxs as r}from"react/jsx-runtime";function z({blogs:a,sectionHeading:t,base:n="insights"}){return r(p,{children:[e("div",{className:"",children:t&&e("div",{"data-aos":"fade-up","data-aos-delay":"100",children:e(d,{...t,alignment:"start",hasBottomSpacing:!0})})}),a&&a.length>0&&e("div",{className:"-mx-4 flex flex-wrap justify-start gap-y-4",children:a.map((s,o)=>e("div",{"data-aos":"fade-up","data-aos-delay":c([200,400,600],o),className:"w-full h-full md:w-1/2 md:px-4 lg:w-1/3",children:e(v,{...s,base:n})},o))})]})}var u=i("inline-flex items-center gap-2 text-white"),L=i("text-sm text-white");function v({slug:a,meta:t,authors:n,title:s,publishedAt:o,categories:h,base:m}){return r("article",{className:"group/blog relative z-1 flex h-full min-h-[452px] flex-col overflow-hidden rounded-5 p-0",children:[e("span",{className:"absolute inset-0 z-[2] "}),e(f,{src:t?.image?.url||"/assets/images/brand/cortex-reply-gradient.png",alt:t?.image?.alt||"Blog image",fill:!0,sizes:`
|
|
2
2
|
(min-width:768px) 50vw,
|
|
3
3
|
(min-width:1024px) 33vw,
|
|
4
4
|
100vw
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as o}from"./chunk-
|
|
1
|
+
import{b as o}from"./chunk-ZUA4KNIR.mjs";import{a as s}from"./chunk-WISCWNL2.mjs";import{FaCircleCheck as m,FaAnglesRight as g}from"react-icons/fa6";import{jsx as e,jsxs as r}from"react/jsx-runtime";function u({title:n,description:d,features:t,price:l,duration:i,button:a}){return r("div",{className:"relative grid rounded-5 border border-accent-200 dark:border-opacity-20 lg:grid-cols-[300px_1fr] 2xl:grid-cols-[386px_1fr]",children:[r("div",{className:"h-full border-card p-6 dark:border-opacity-20 max-lg:border-b max-lg:pt-14 lg:border-r lg:p-10",children:[e("h3",{className:"mb-4 text-lg font-bold leading-[1.3] text-foreground lg:mb-5 lg:text-xl",children:n}),e("p",{children:d})]}),e("div",{className:"relative my-auto p-6 max-lg:pb-14 md:p-10",children:r("div",{className:"flex flex-col justify-stretch gap-x-14 gap-y-5 md:flex-row md:items-center",children:[t&&t.length>0&&e("ul",{"aria-label":"pricing point list",className:"grid w-full grid-cols-1 md:grid-cols-2 gap-1 md:gap-2",style:{gridAutoFlow:"row"},children:t.map((p,c)=>r("li",{className:"flex items-start gap-3 lg:gap-4",children:[e("span",{className:"text-accent pt-1",children:e(m,{})}),e("span",{children:p})]},c))}),r("p",{className:"font-secondary ml-auto text-xl font-bold leading-[1.25] text-accent-900 dark:text-white lg:text-2xl",children:[l&&l,e("sub",{className:"relative bottom-0 ml-1.5 inline-block text-base lg:text-md",children:i&&i})]}),a&&e("div",{className:"flex-none mr-0 sm:ml-auto",children:e(o,{asChild:!0,className:"border-2 p-5 border-accent bg-transparent text-foreground hover:bg-accent hover:text-accent-foreground",children:r(s,{href:a.href,openNewTab:a.openNewTab,children:[e("span",{className:"relative z-1",children:a.label}),e("span",{className:"relative z-1 pl-2",children:e(g,{})})]})})})]})})]})}export{u as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as o}from"./chunk-
|
|
4
|
+
import{a as o}from"./chunk-MDJREBVI.mjs";import*as e from"react";import*as t from"@radix-ui/react-tooltip";import{jsx as i}from"react/jsx-runtime";var p=t.Provider,s=t.Root,f=t.Trigger,l=e.forwardRef(({className:r,sideOffset:a=4,...m},d)=>i(t.Portal,{children:i(t.Content,{ref:d,sideOffset:a,className:o("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",r),...m})}));l.displayName=t.Content.displayName;export{p as a,s as b,f as c,l as d};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e}from"./chunk-
|
|
1
|
+
import{a as e}from"./chunk-MDJREBVI.mjs";import*as t from"react";import{jsx as l}from"react/jsx-runtime";var s=t.forwardRef(({className:r,type:o,...n},i)=>l("input",{type:o,className:e("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",r),ref:i,...n}));s.displayName="Input";export{s as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as r}from"./chunk-
|
|
1
|
+
import{a as r}from"./chunk-MDJREBVI.mjs";import n from"next/link";import p from"next/image";import{jsx as o,jsxs as a}from"react/jsx-runtime";var e={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1400px"};function c({slug:s,image:t,title:i,description:l}){return a(n,{href:s,className:"group/portfolio relative z-1 block aspect-[640/916] overflow-hidden rounded-5 p-6 md:p-[1.875rem]",children:[o("span",{className:r("absolute inset-0 z-[2] bg-gradient-1 from-primary/0 to-primary [transition:all_500ms_ease] md:[transform:perspective(400px)_rotateX(90deg)_scaleY(0.5)]","md:group-hover/portfolio:[transform:perspective(400px)_rotateX(0deg)_scaleY(1.0)] md:group-hover/portfolio:[transition-delay:.1s] md:group-hover/portfolio:[transition:all_.7s_ease]")}),o(p,{src:t.src,alt:t.alt,fill:!0,sizes:`
|
|
2
2
|
(min-width:${e.md}) 50vw,
|
|
3
3
|
(min-width:${e.lg}) 25vw,
|
|
4
4
|
100vw
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-MDJREBVI.mjs";import{jsx as t,jsxs as l}from"react/jsx-runtime";function m({className:s,badge:e,title:o,subtitle:r}){return l("div",{className:a("relative overflow-hidden rounded-xl bg-gradient-to-br from-[#A42368] to-[#A42368] m-6 px-6 py-16 md:px-12 md:py-24",s),children:[l("div",{className:"relative z-10 mx-auto max-w-4xl text-center",children:[e&&t("div",{className:"mb-4",children:t("span",{className:"inline-block rounded-lg bg-[#A42368]/50 px-4 py-1.5 text-sm font-medium text-white backdrop-blur-sm",children:e})}),t("h1",{className:"mt-6 text-3xl font-bold tracking-tight text-white sm:text-4xl md:text-5xl lg:text-6xl",children:o}),t("p",{className:"mt-6 text-base text-gray-300 sm:text-lg md:text-xl",children:r})]}),t("div",{className:"absolute bottom-0 left-1/2 h-48 w-full -translate-x-1/2",style:{background:"radial-gradient(50% 50% at 50% 100%, rgba(164, 35, 104, 0.1) 0%, rgba(164, 35, 104, 0) 100%)"}}),t("div",{className:"absolute bottom-0 left-1/2 h-32 w-full -translate-x-1/2",children:t("svg",{viewBox:"0 0 1113 170",fill:"none",className:"absolute bottom-0 opacity-10",children:t("path",{d:"M-19 170H1113V0C1113 0 1001.5 101.5 547.5 101.5C93.5 101.5 -19 170 -19 170Z",fill:"currentColor",className:"text-white"})})})]})}export{m as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as u,c as g,d as p,g as v,i as b}from"./chunk-
|
|
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 F}from"./chunk-B4H6T2GP.mjs";import{a as l}from"./chunk-TVZOULLL.mjs";import{a as S}from"./chunk-FT3AE7L2.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};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as l}from"./chunk-
|
|
4
|
+
import{a as l}from"./chunk-ZSIYEVUV.mjs";import{a as r}from"./chunk-FT3AE7L2.mjs";import{a as i,b as n,c as o}from"./chunk-SOLZ4VQH.mjs";import{useEffect as p,useRef as u}from"react";import{jsx as e,jsxs as a}from"react/jsx-runtime";function N({messages:t,isLoading:c}){let s=u(null);return p(()=>{s.current?.scrollIntoView({behavior:"smooth"})},[t]),e("div",{className:"flex flex-col h-full overflow-hidden",children:a(r,{className:"container flex-1 p-4",children:[a("div",{className:"space-y-6",children:[t.length===0&&e("div",{className:"flex items-center justify-center h-full pt-60",children:a("div",{className:"text-center max-w-md",children:[e("h2",{className:"text-2xl font-bold mb-2",children:"Welcome to Dexter"}),e("p",{className:"text-zinc-400",children:"Ask me anything or direct your question to a business function directly using the toolbar below."})]})}),c&&a("div",{className:"flex items-start gap-3",children:[a(i,{className:"ai-border",children:[e(n,{src:"/placeholder.svg?height=40&width=40",alt:"AI Assistant"}),e(o,{children:"AI"})]}),a("div",{className:"grid gap-1.5",children:[e("div",{className:"flex items-center gap-2",children:e("span",{className:"font-medium",children:"AI Assistant"})}),e("div",{className:"rounded-lg p-3 text-sm bg-muted",children:a("div",{className:"flex space-x-2",children:[e("div",{className:"w-2 h-2 rounded-full bg-current animate-bounce"}),e("div",{className:"w-2 h-2 rounded-full bg-current animate-bounce [animation-delay:0.2s]"}),e("div",{className:"w-2 h-2 rounded-full bg-current animate-bounce [animation-delay:0.4s]"})]})})]})]}),t.map((m,d)=>e(l,{...m},d))]}),e("div",{ref:s})]})})}export{N as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e}from"./chunk-
|
|
1
|
+
import{a as e}from"./chunk-MDJREBVI.mjs";function o({className:r}){return e("flex items-center min-h-[3.5rem] md:min-h-[3.75rem] w-full rounded-5 px-4 md:px-5 py-2"," bg-transparent text-accent-800 placeholder:text-accent-800 dark:text-body dark:placeholder:text-body"," border border-solid border-accent-900 border-opacity-20 dark:border-opacity-20 dark:border-accent-200"," focus:border-accent-900 focus:ring-0 focus-visible:outline-0 focus-visible:ring-0 focus-visible:ring-offset-0","transition-all duration-300",r)}export{o as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as o}from"./chunk-
|
|
1
|
+
import{a as o}from"./chunk-MGYV46AJ.mjs";import{jsx as e}from"react/jsx-runtime";var c=({className:r,code:t,language:p})=>e("div",{className:[r,"not-prose"].filter(Boolean).join(" "),children:e(o,{code:t,language:p})});export{c as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as r}from"./chunk-
|
|
1
|
+
import{a as r}from"./chunk-ISBVFNWD.mjs";import{f as s}from"./chunk-2BRDNDUB.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};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{b as F,c as L}from"./chunk-PC6TVU7J.mjs";import{a as b,b as h,d as P}from"./chunk-
|
|
4
|
+
import{b as F,c as L}from"./chunk-PC6TVU7J.mjs";import{a as b,b as h,d as P}from"./chunk-JHNVX4UB.mjs";import{a as x}from"./chunk-7BXIU4ZM.mjs";import{a as f}from"./chunk-TVZOULLL.mjs";import{b as c}from"./chunk-ZUA4KNIR.mjs";import{a as D}from"./chunk-MDJREBVI.mjs";import{useState as m,useEffect as w}from"react";import{format as C}from"date-fns";import{CalendarIcon as T}from"lucide-react";import{useRouter as E}from"next/navigation";import{Toaster as k,toast as v}from"sonner";import{jsx as e,jsxs as o}from"react/jsx-runtime";var I=({options:r,value:l,onChange:a,disabled:n=[]})=>e("div",{className:"flex space-x-2",children:r.map((t,i)=>e(c,{type:"button",variant:l===t?"default":"outline",onClick:()=>a(t),disabled:n[i],className:"flex-1 hover:bg-accent hover:text-accent-foreground",children:t},t))});function V({remainingDays:r,submitLeaveRequest:l}){let[a,n]=m(new Date),[t,i]=m(new Date),[d,g]=m("Full Day"),[N,R]=m(!1),[p,S]=m(1),B=E();w(()=>{let s=L(a,t);R(s),s&&g("Full Day")},[a,t]),w(()=>{if(!a||!t){S(0);return}let s=F(a,t,d!=="Full Day");S(s)},[a,t,d]);let q=s=>{g(s)};return o("div",{className:"max-w-2xl",children:[e("h2",{className:"text-lg font-semibold mb-4",children:"Request Leave"}),o("p",{className:"text-sm text-gray-500 mb-4",children:["Remaining leave days: ",r]}),o("form",{onSubmit:async s=>{if(s.preventDefault(),!a||!t){v.error("Please select both start and end dates");return}if(p>r){v.error("You do not have enough leave days remaining");return}let u=new FormData;u.append("startDate",a.toISOString()),u.append("endDate",t.toISOString()),u.append("leaveType",d),u.append("duration",p.toString());let y=await(l||M)(u);y.success?(v.success(y.message),n(void 0),i(void 0),g("Full Day"),B.refresh()):v.error(`Error: ${y.message}`)},className:"space-y-4",children:[o("div",{className:"grid grid-cols-2 gap-4",children:[o("div",{className:"flex flex-col space-y-2",children:[e(f,{htmlFor:"startDate",children:"Start Date"}),o(b,{children:[e(h,{asChild:!0,children:o(c,{variant:"outline",className:D("w-full justify-start text-left font-normal",!a&&"text-muted-foreground"),children:[e(T,{className:"mr-2 h-4 w-4"}),a?C(a,"PPP"):e("span",{children:"Pick a date"})]})}),e(P,{className:"w-auto p-0",align:"start",children:e(x,{mode:"single",selected:a,onSelect:s=>{n(s),s&&(!t||s>t)&&i(s)},initialFocus:!0})})]})]}),o("div",{className:"flex flex-col space-y-2",children:[e(f,{htmlFor:"endDate",children:"End Date"}),o(b,{children:[e(h,{asChild:!0,children:o(c,{variant:"outline",className:D("w-full justify-start text-left font-normal",!t&&"text-muted-foreground"),children:[e(T,{className:"mr-2 h-4 w-4"}),t?C(t,"PPP"):e("span",{children:"Pick a date"})]})}),e(P,{className:"w-auto p-0",align:"start",children:e(x,{mode:"single",selected:t,onSelect:i,disabled:s=>a?s<a:!1,initialFocus:!0})})]})]})]}),o("div",{className:"space-y-2",children:[e(f,{children:"Leave Type"}),e(I,{options:["Full Day","Morning","Afternoon"],value:d,onChange:q,disabled:[!1,N,N]})]}),o("p",{className:"text-sm text-gray-500",children:["Total days: ",p]}),e(c,{disabled:p<=0,type:"submit",className:"w-full hover:bg-accent hover:text-accent-foreground",children:"Submit Request"})]}),e(k,{richColors:!0,position:"top-right",closeButton:!0,visibleToasts:9,className:"z-50"})]})}var M=async r=>{let l={};return r.forEach((a,n)=>{l[n]=a}),{success:!0,message:`Leave request submitted successfully for ${r.get("duration")}`}};export{V as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as n}from"./chunk-AB43AQKL.mjs";import{a as g}from"./chunk-EOXVYLPB.mjs";import{a as u,b as m}from"./chunk-E4TE4NV6.mjs";import{a as o}from"./chunk-TVZOULLL.mjs";import{b as i}from"./chunk-ZUA4KNIR.mjs";import{Calendar as w,Clock as C,User as D,Trash2 as S,BookOpen as T,Bug as L,Zap as B,AlertCircle as k,Loader2 as I,Check as A,X as G}from"lucide-react";import{jsx as a,jsxs as t}from"react/jsx-runtime";var P=[{value:"story",label:"Story",color:"bg-primary/20 text-primary",icon:T},{value:"task",label:"Task",color:"bg-muted text-muted-foreground",icon:k},{value:"bug",label:"Bug",color:"bg-destructive/20 text-destructive",icon:L},{value:"spike",label:"Spike",color:"bg-accent/20 text-accent",icon:B}],V=[{value:"low",label:"Low",color:"bg-success/20 text-success"},{value:"medium",label:"Medium",color:"bg-warning/20 text-warning"},{value:"high",label:"High",color:"bg-destructive/20 text-destructive"}];var R=({task:s,epics:b,sprints:x,lastUpdated:v,onUpdateTask:r,onClose:f,onDelete:N,isUpdating:l=!1,isDeleting:p=!1,deleteState:d="idle",teamMembers:y})=>{let J=e=>e.split(" ").map(c=>c[0]).join("").toUpperCase(),h=()=>d==="loading"?t(i,{disabled:!0,variant:"destructive",className:"w-full h-8 text-xs gap-1",children:[a(I,{className:"h-3 w-3 animate-spin"}),"Deleting..."]}):d==="success"?t(i,{disabled:!0,variant:"destructive",className:"w-full h-8 text-xs gap-1",children:[a(A,{className:"h-3 w-3"}),"Deleted"]}):d==="error"?t(i,{disabled:!0,variant:"destructive",className:"w-full h-8 text-xs gap-1",children:[a(G,{className:"h-3 w-3"}),"Delete failed"]}):t(i,{onClick:N,variant:"destructive",className:"w-full h-8 text-xs gap-1",disabled:l||p,children:[a(S,{className:"h-3 w-3"}),"Delete Task"]});return t("div",{className:"flex flex-col h-full",children:[t("div",{className:"space-y-4",style:{opacity:l?.6:1},children:[t("div",{className:"space-y-2",children:[a(o,{className:"text-xs text-muted-foreground",children:"Status"}),a(n,{label:"",value:s.status,onValueChange:e=>r("status",e),options:[{value:"todo",label:"To Do"},{value:"in-progress",label:"In Progress"},{value:"done",label:"Done"}],disabled:l})]}),t("div",{className:"space-y-2",children:[a(o,{className:"text-xs text-muted-foreground",children:"Type"}),a(u,{type:"single",value:s.type,onValueChange:e=>e&&r("type",e),className:"grid grid-cols-2 gap-1",disabled:l,children:P.map(e=>{let c=e.icon;return t(m,{value:e.value,className:"flex items-center gap-1 text-xs h-8 data-[state=on]:bg-primary data-[state=on]:text-primary-foreground",size:"sm",disabled:l,children:[a(c,{className:"h-3 w-3"}),e.label]},e.value)})})]}),t("div",{className:"space-y-2",children:[a(o,{className:"text-xs text-muted-foreground",children:"Priority"}),a(u,{type:"single",value:s.priority,onValueChange:e=>e&&r("priority",e),className:"grid grid-cols-3 gap-1",disabled:l,children:V.map(e=>a(m,{value:e.value,className:"text-xs h-8 data-[state=on]:bg-primary data-[state=on]:text-primary-foreground",size:"sm",disabled:l,children:e.label},e.value))})]}),t("div",{className:"space-y-2",children:[a(o,{className:"text-xs text-muted-foreground",children:"Story Points"}),a("input",{type:"number",min:"1",max:"100",value:s.points||1,onChange:e=>r("points",e.target.value),className:"w-full h-8 px-2 text-xs border border-border rounded-md focus:outline-none focus:ring-2 focus:ring-ring focus:border-transparent bg-background text-foreground disabled:opacity-50 disabled:cursor-not-allowed",disabled:l})]}),t("div",{className:"space-y-2",children:[a(o,{className:"text-xs text-muted-foreground",children:"Epic"}),a(n,{label:"",value:s.epicId,onValueChange:e=>r("epicId",e),options:(b||[]).map(e=>({value:e.id,label:e?.name,color:e.color})),showColor:!0,disabled:l})]}),t("div",{className:"space-y-2",children:[a(o,{className:"text-xs text-muted-foreground",children:"Sprint"}),a(n,{label:"",value:s.sprintId||"none",onValueChange:e=>r("sprintId",e==="none"?"":e),options:[{value:"none",label:"No Sprint"},...(x||[]).map(e=>({value:e.id,label:`${e?.name}${e.isActive?" (Active)":""}`}))],disabled:l})]}),t("div",{className:"space-y-2",children:[a(o,{className:"text-xs text-muted-foreground",children:"Assignee"}),a(g,{label:"",value:s.assignee?.value?.name,onValueChange:e=>r("assignee",e),options:y.map(e=>({value:`${typeof e.email=="string"?"users":"digital-colleagues"}:${e.id}`,label:e?.name})),placeholder:"Search team members...",allowCustomValue:!0,disabled:l})]})]}),t("div",{className:"mt-auto pt-4 space-y-4",children:[t("div",{className:"space-y-2",children:[a(i,{onClick:f,variant:"outline",className:"w-full h-8 text-xs",disabled:l||p,children:"Close"}),h()]}),t("div",{className:"pt-4 border-t border-border space-y-2",children:[a("div",{className:"text-xs text-muted-foreground font-medium mb-2",children:"Information"}),t("div",{className:"flex items-center justify-between",children:[a("span",{className:"text-xs text-muted-foreground",children:"Logged By"}),t("div",{className:"flex items-center gap-1 text-xs text-muted-foreground",children:[a(D,{className:"h-3 w-3"}),a("span",{children:"System"})]})]}),t("div",{className:"flex items-center justify-between",children:[a("span",{className:"text-xs text-muted-foreground",children:"Created"}),t("div",{className:"flex items-center gap-1 text-xs text-muted-foreground",children:[a(w,{className:"h-3 w-3"}),a("span",{children:new Date(s.createdAt)?.toLocaleDateString()})]})]}),t("div",{className:"flex items-center justify-between",children:[a("span",{className:"text-xs text-muted-foreground",children:"Last Updated"}),t("div",{className:"flex items-center gap-1 text-xs text-muted-foreground",children:[a(C,{className:"h-3 w-3"}),t("span",{children:[new Date(v).toLocaleDateString()," at"," ",new Date(v).toLocaleTimeString()]})]})]})]})]})]})};export{R as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as r}from"./chunk-ZWHGOTSF.mjs";import{clsx as t}from"clsx";function s(...e){return r(t(e))}export{s as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as i}from"./chunk-
|
|
4
|
+
import{a as i}from"./chunk-V6GC3UGV.mjs";import{a as m}from"./chunk-LLED3RQS.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};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as o}from"./chunk-
|
|
4
|
+
import{a as o}from"./chunk-CGDLOY7W.mjs";import{Highlight as i,themes as d}from"prism-react-renderer";import{jsx as e,jsxs as s}from"react/jsx-runtime";var u=({code:t,language:l=""})=>t?e(i,{code:t,language:l,theme:d.vsDark,children:({getLineProps:p,getTokenProps:n,tokens:m})=>s("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[m.map((a,r)=>s("div",{...p({className:"table-row",line:a}),children:[e("span",{className:"table-cell select-none text-right text-white/25",children:r+1}),e("span",{className:"table-cell pl-4",children:a.map((c,g)=>e("span",{...n({token:c})},g))})]},r)),e(o,{code:t})]})}):null;export{u as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as r}from"./chunk-
|
|
4
|
+
import{a as r}from"./chunk-FT3AE7L2.mjs";import{b as a}from"./chunk-ZUA4KNIR.mjs";import{b as c}from"./chunk-CSBGSBEU.mjs";import{a as o}from"./chunk-MDJREBVI.mjs";import{motion as m,AnimatePresence as b}from"motion/react";import{Check as d,Info as w,X as y,AlertTriangle as f,Bell as u,ChevronRight as k}from"lucide-react";import{Fragment as C,jsx as e,jsxs as t}from"react/jsx-runtime";function R({notifications:p,open:N,onClose:l,onNotificationRemove:x,onRemoveAll:v,className:g}){let n=p.filter(s=>!s.read),i=n.length,h=s=>{switch(s){case"info":return e(w,{className:"h-5 w-5 text-blue-500"});case"success":return e(d,{className:"h-5 w-5 text-green-500"});case"warning":return e(f,{className:"h-5 w-5 text-amber-500"});case"error":return e(f,{className:"h-5 w-5 text-red-500"})}};return e(b,{children:N&&t(C,{children:[e(m.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 z-40 bg-black/20 backdrop-blur-sm md:hidden",onClick:l}),e(m.div,{initial:{x:"100%"},animate:{x:0},exit:{x:"100%"},transition:{type:"spring",damping:20,stiffness:300},className:o("fixed inset-y-0 right-0 z-50 w-full max-w-sm border-l bg-background shadow-lg md:w-96",g),children:t("div",{className:"flex h-full flex-col",children:[t("div",{className:"flex items-center justify-between border-b p-4",children:[t("div",{className:"flex items-center gap-2",children:[e(u,{className:"h-5 w-5"}),e("h2",{className:"text-lg font-semibold",children:"Notifications"}),i>0&&t(c,{variant:"secondary",className:"rounded-full px-2 py-0.5",children:[i," new"]})]}),t(a,{variant:"ghost",size:"icon",onClick:l,className:"rounded-full",children:[e(y,{className:"h-5 w-5"}),e("span",{className:"sr-only",children:"Close"})]})]}),i>0&&t("div",{className:"flex items-center justify-between border-b p-2",children:[t("span",{className:"text-sm text-muted-foreground",children:[i," unread notification",i!==1?"s":""]}),e(a,{variant:"ghost",size:"sm",onClick:v,className:"text-sm",children:"Dismiss all"})]}),n.length>0?e(r,{className:"flex-1",children:e("div",{className:"divide-y",children:n.map(s=>t("div",{className:o("flex gap-3 p-4 transition-colors bg-muted/50"),children:[e("div",{className:"flex h-10 w-10 flex-shrink-0 items-center justify-center rounded-full bg-muted",children:h(s.type)}),t("div",{className:"flex-1 space-y-1",children:[t("div",{className:"flex items-center justify-between",children:[e("p",{className:"font-medium",children:s.title}),t("div",{className:"flex items-center gap-2",children:[e("p",{className:"text-xs text-muted-foreground",children:s.time}),e(a,{variant:"ghost",size:"sm",className:"h-6 w-6 p-0",onClick:()=>x?.(s.id),title:"Dismiss",children:e(d,{className:"h-3 w-3"})})]})]}),e("p",{className:"text-sm text-muted-foreground",children:s.description}),s.actionLabel&&t(a,{variant:"link",size:"sm",className:"h-auto p-0 text-sm",onClick:s.onAction,children:[s.actionLabel,e(k,{className:"ml-1 h-3 w-3"})]})]})]},s.id))})}):t("div",{className:"flex flex-1 flex-col items-center justify-center p-8 text-center",children:[e("div",{className:"flex h-16 w-16 items-center justify-center rounded-full bg-muted",children:e(u,{className:"h-8 w-8 text-muted-foreground"})}),e("h3",{className:"mt-4 text-lg font-medium",children:"No notifications"}),e("p",{className:"mt-2 text-sm text-muted-foreground",children:"When you receive notifications, they'll appear here."})]})]})})]})})}export{R as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as r}from"./chunk-
|
|
1
|
+
import{a as r}from"./chunk-7WIO2CIC.mjs";import a from"next/image";import{jsx as t,jsxs as i}from"react/jsx-runtime";var n=({title:o,image:e})=>t("div",{children:i("div",{className:"sticky top-0 h-[50vh] min-h-[400px]",children:[t("div",{className:"fixed inset-0 container mt-24 mb-8 z-10 flex items-start justify-start",children:t("h1",{className:"text-5xl md:text-6xl",children:o})}),i("div",{className:"fixed inset-0 h-[50vh] min-h-[400px] select-none",children:[e&&typeof e=="object"&&t(a,{priority:!0,src:e.src,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"}),e&&typeof e=="string"&&t("div",{children:t(a,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:e})}),t("span",{className:"absolute inset-0 bg-gradient-to-b from-white dark:from-black"})]}),t(r,{className:"text-black z-10",position:"header"})]})});export{n as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{f as r}from"./chunk-
|
|
1
|
+
import{f as r}from"./chunk-2BRDNDUB.mjs";import{jsx as e}from"react/jsx-runtime";var c=({children:o,richText:t})=>e("div",{className:"min-w-full py-10 bg-muted mt-24",children:e("div",{className:"container",children:o||t&&e(r,{content:t,enableGutter:!1})})});export{c as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as U}from"./chunk-MBPTBEOX.mjs";import{a as C}from"./chunk-6SWKEZN6.mjs";import{a as u}from"./chunk-DFIXTV2M.mjs";import{a as x,f as y,g as S,i as w}from"./chunk-3UMMMQEH.mjs";import{useEffect as O,useState as l}from"react";import{Loader2 as R,Check as X,X as j}from"lucide-react";import{jsx as t,jsxs as o}from"react/jsx-runtime";var Z=({isOpen:b,onClose:f,initialTask:m,epics:N,sprints:P,onUpdateTask:k,onDeleteTask:I,onAddComment:T,colleagues:A})=>{let[s,c]=l(m),[E,p]=l(new Date),[n,e]=l("idle"),[g,d]=l("idle"),[q,z]=l([]);O(()=>{c(m)},[m]);let D=async(a,i)=>{if(i!==s[a]){e("loading");try{let r=await k(s.id,{[a]:i});c(r),p(new Date),e("success"),setTimeout(()=>e("idle"),1500)}catch{e("error"),setTimeout(()=>e("idle"),3e3)}}},M=async(a,i)=>{if(i!==s[a]){e("loading");try{let r=await k(s.id,{[a]:i});c(r),p(new Date),e("success"),setTimeout(()=>e("idle"),1500)}catch{e("error"),setTimeout(()=>e("idle"),3e3)}}},F=async a=>{if(T){e("loading");try{let i=await T?.({content:a,taskId:s.id});c(i),p(new Date),e("success"),setTimeout(()=>e("idle"),1500)}catch{e("error"),setTimeout(()=>e("idle"),3e3)}}},H=async()=>{d("loading");try{await I(s.id),d("success"),setTimeout(()=>{f(),d("idle")},1e3)}catch{d("error"),setTimeout(()=>d("idle"),3e3)}},v=n!=="loading"&&g!=="loading",h=()=>{v&&f()},L=()=>n==="loading"?o("div",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[t(R,{className:"h-4 w-4 animate-spin"}),t("span",{children:"Updating..."})]}):n==="success"?o("div",{className:"flex items-center gap-2 text-sm text-success",children:[t(X,{className:"h-4 w-4"}),t("span",{children:"Updated successfully"})]}):n==="error"?o("div",{className:"flex items-center gap-2 text-sm text-destructive",children:[t(j,{className:"h-4 w-4"}),t("span",{children:"Update failed"})]}):null;return t(x,{open:b,onOpenChange:h,children:o(y,{className:"max-w-3xl max-h-[80vh] overflow-y-auto p-4",children:[o(S,{children:[t(w,{className:"sr-only",children:s.name}),o("div",{className:"flex items-center justify-between",children:[t("div",{className:"flex-1",children:L()}),!v&&t("div",{className:"text-xs text-muted-foreground",children:"Please wait..."})]})]}),o("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-4",children:[o("div",{className:"lg:col-span-2 space-y-4",children:[t(u,{fieldName:"name",value:s.name,label:"",onSave:D,className:"border-b border-border pb-3",disabled:n==="loading"}),t(u,{fieldName:"description",value:s.description,label:"Description",multiline:!0,onSave:D,disabled:n==="loading"}),t(C,{comments:(s?.comments||[]).map(a=>({author:a.author.value.name,createdAt:new Date(a.timestamp),text:a.content,id:a.id})),onAddComment:F})]}),t(U,{task:s,epics:N,sprints:P,lastUpdated:E,onUpdateTask:M,onClose:h,onDelete:H,isUpdating:n==="loading",isDeleting:g==="loading",deleteState:g,teamMembers:A})]})]})})};export{Z as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as j}from"./chunk-JXIKSSGH.mjs";import{a as $}from"./chunk-NKDFAFWH.mjs";import{a as z}from"./chunk-ORNGKQM7.mjs";import{a as L}from"./chunk-4A3MGS6I.mjs";import{a as K}from"./chunk-KW6L6KBY.mjs";import{a as U}from"./chunk-Z22NSJMF.mjs";import{b as R}from"./chunk-CSBGSBEU.mjs";import{useEffect as l,useState as n,useRef as F}from"react";import{jsx as i,jsxs as w}from"react/jsx-runtime";var Ae=({initialTasks:f=[],initialEpics:k=[],initialSprints:T=[],initialUsers:V=[],initialColleagues:q=[],initialProjects:le=[],onAddTask:G,onUpdateTask:v,onDeleteTask:y,onTaskClick:J,onAddEpic:Q,onAddComment:W})=>{let[b,d]=n(f),[c,S]=n(k),[h,X]=n(T),[x,O]=n(!1),[P,N]=n(!1),[p,E]=n(null),[C,H]=n(null),[B,pe]=n(V),[M,ue]=n(q),[u,I]=n(0),o=F(null),Y=F(null),A=c.filter(e=>!0).map(e=>e.id),m=h.find(e=>e.isSelected);A.push("no-epic"),l(()=>{d(f)},[f]),l(()=>{S(k)},[k]),l(()=>{X(T)},[T]),l(()=>{let e=()=>{if(o.current){let a=o.current.offsetHeight;I(a)}};e();let t=new ResizeObserver(e);o.current&&t.observe(o.current);let s=()=>{setTimeout(e,100)};return window.addEventListener("storage",s),()=>{t.disconnect(),window.removeEventListener("storage",s)}},[]),l(()=>{let e=setTimeout(()=>{o.current&&I(o.current.offsetHeight)},300);return()=>clearTimeout(e)},[x,P]);let Z=b.filter(e=>{let t=A.includes(e.epicId)||!e.epicId;return!m||m.id==="all-tasks"?t:m.id==="backlog"?t&&!e.sprintId:t&&e.sprintId===m.id}),_=e=>Z.filter(t=>t.status===e),ee=e=>{let t={};return c.forEach(s=>{t[s.id]=e.filter(a=>a.epicId===s.id)}),t["no-epic"]=e.filter(s=>!s.epicId),t},te=e=>{H(e)},se=e=>{C&&(d(t=>t.map(s=>s.id===C.id?{...s,status:e}:s)),v?.(C.id,{status:e}),H(null))},ie=e=>{let t={...e,id:Date.now().toString(),createdAt:new Date};d(s=>[...s,t]),G?.(e)},ae=async(e,t)=>{d(a=>a.map(r=>r.id===e?{...r,...t}:r)),v&&await v(e,t);let s=b.find(a=>a.id===e);if(!s)throw new Error("Task not found");return{...s,...t}},ne=async e=>{d(t=>t.filter(s=>s.id!==e)),p?.id===e&&E(null),y&&await y(e)},oe=e=>{let t={...e,id:Date.now().toString(),isSelected:!0};S(s=>[...s,t]),Q?.(e)},re=e=>{E(e),J?.(e)},de=[{id:"todo",title:"To Do",status:"todo"},{id:"in-progress",title:"In Progress",status:"in-progress"},{id:"review",title:"Review",status:"review"},{id:"done",title:"Done",status:"done"}],ce=u>0?`calc(100vh - ${u+120}px)`:"calc(100vh - 12rem)";return w("div",{ref:Y,className:"h-full flex flex-col px-2 md:px-4 py-4",children:[i("div",{ref:o,className:"flex-shrink-0",children:i(U,{title:"Project Board",description:"Manage tasks and track progress across your project sprints.",gradient:"bg-gradient-to-r from-purple-600 via-violet-600 to-indigo-600",primaryAction:{label:"Add task",onClick:()=>O(!0)},secondaryAction:{label:"Add epic",onClick:()=>N(!0)}})}),i("div",{className:"flex-1 min-h-0 mt-8",children:i("div",{className:"h-full",style:{height:u>0?`calc(100vh - ${u+120}px)`:"calc(100vh - 12rem)"},children:i("div",{className:"grid grid-cols-1 lg:grid-cols-4 gap-6 h-full",children:de.map(e=>{let t=_(e.status),s=ee(t);return i(j,{title:e.title,status:e.status,taskCount:t.length,onDrop:se,isCompact:e.status==="done",height:ce,children:A.map(a=>{let r=c.find(g=>g.id===a),D=s[a]||[];return D.length===0?null:w("div",{className:"mb-6",children:[w("div",{className:"flex items-center gap-2 mb-3",children:[i("div",{className:`w-3 h-3 rounded-full ${r?.color}`}),i("span",{className:"text-sm font-medium text-muted-foreground select-none-important",children:r?.name||"No Epic"}),i(R,{variant:"secondary",className:"text-xs",children:D.length})]})," ",i("div",{className:"space-y-3",children:D.map(g=>i(K,{task:g,epic:r,onDragStart:te,onTaskClick:re,isCompact:e.status==="done"},g.id))})]},a)})},e.id)})})})}),i(L,{isOpen:x,onClose:()=>O(!1),onAddTask:ie,assignees:[...M,...B],epics:c,sprints:h}),i(z,{isOpen:P,onClose:()=>N(!1),onAddEpic:oe}),p&&i($,{isOpen:!!p,onClose:()=>E(null),initialTask:p,epics:c,sprints:h,onUpdateTask:ae,onDeleteTask:ne,colleagues:[...M,...B],onAddComment:W})]})};export{Ae as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Home as u,Layers as h,Bot as w,Building2 as y,Code as D,Palette as f,TrendingUp as b,Users as m,Wrench as k,DollarSign as v,Scale as A,Package as S,Zap as C,FileText as g,FileImage as I,FileVideo as P,Music as x,File as j}from"lucide-react";import{jsx as t}from"react/jsx-runtime";var i=e=>({id:Math.random().toString(36).substr(2,9),title:e,format:"markdown",createdAt:new Date}),E=[{id:"home",title:"Home",icon:t(u,{}),isActive:!0},{id:"teams",title:"Teams",icon:t(m,{}),maxItems:2,items:[{id:"design",title:"Design",url:"#"},{id:"marketing",title:"Marketing",url:"#"},{id:"finance",title:"Finance",url:"#"},{id:"engineering",title:"Engineering",url:"#"},{id:"sales",title:"Sales",url:"#"}]},{id:"projects",title:"Projects",icon:t(h,{}),badge:"4",maxItems:2,items:[{id:"active-projects",title:"Active Projects",url:"#",badge:"4"},{id:"archived",title:"Archived",url:"#"},{id:"templates",title:"Templates",url:"#"},{id:"drafts",title:"Drafts",url:"#"},{id:"shared",title:"Shared with Me",url:"#",badge:"2"}]},{id:"copilot",title:"Copilot",icon:t(w,{}),url:"/copilot"},{id:"knowledge",title:"Knowledge",icon:t(g,{}),url:"/knowledge"}],U=[{id:"1",title:"New comment on your post",description:"Alex Morgan commented on your 'Minimalist Logo Design' post.",time:"Just now",read:!1,type:"info",actionLabel:"View comment",onAction:()=>console.log("View comment clicked")},{id:"2",title:"Project deadline approaching",description:"The 'Website Redesign' project is due in 2 days.",time:"5 minutes ago",read:!1,type:"warning",actionLabel:"View project",onAction:()=>console.log("View project clicked")},{id:"3",title:"File shared with you",description:"Emma Thompson shared 'Brand Guidelines.pdf' with you.",time:"1 hour ago",read:!1,type:"info",actionLabel:"Open file",onAction:()=>console.log("Open file clicked")},{id:"4",title:"Update successful",description:"PixelMaster has been updated to version 2.4.0.",time:"3 hours ago",read:!0,type:"success",actionLabel:"See what's new",onAction:()=>console.log("See what's new clicked")},{id:"5",title:"Storage limit reached",description:"You've used 95% of your storage. Consider upgrading your plan.",time:"Yesterday",read:!0,type:"error",actionLabel:"Upgrade plan",onAction:()=>console.log("Upgrade plan clicked")},{id:"6",title:"Weekly summary",description:"Check out your activity summary for the past week.",time:"2 days ago",read:!0,type:"info",actionLabel:"View summary",onAction:()=>console.log("View summary clicked")},{id:"7",title:"New tutorial available",description:"A new tutorial on 'Advanced Animation Techniques' is now available.",time:"3 days ago",read:!0,type:"info",actionLabel:"Start learning",onAction:()=>console.log("Start learning clicked")}],z=[{id:"design",name:"Design",description:"Creative and visual design team",icon:t(f,{className:"h-4 w-4"}),color:"bg-purple-600",accentColor:"text-purple-600"},{id:"engineering",name:"Engineering",description:"Software development and technical teams",icon:t(D,{className:"h-4 w-4"}),color:"bg-blue-600",accentColor:"text-blue-600"},{id:"marketing",name:"Marketing",description:"Brand, campaigns, and growth marketing",icon:t(b,{className:"h-4 w-4"}),color:"bg-pink-600",accentColor:"text-pink-600"},{id:"sales",name:"Sales",description:"Revenue generation and customer acquisition",icon:t(v,{className:"h-4 w-4"}),color:"bg-green-600",accentColor:"text-green-600"},{id:"hr",name:"Human Resources",description:"People operations and talent management",icon:t(m,{className:"h-4 w-4"}),color:"bg-orange-600",accentColor:"text-orange-600"},{id:"operations",name:"Operations",description:"Business operations and process optimization",icon:t(k,{className:"h-4 w-4"}),color:"bg-indigo-600",accentColor:"text-indigo-600"},{id:"legal",name:"Legal",description:"Legal affairs and compliance",icon:t(A,{className:"h-4 w-4"}),color:"bg-slate-600",accentColor:"text-slate-600"},{id:"product",name:"Product",description:"Product strategy and management",icon:t(S,{className:"h-4 w-4"}),color:"bg-violet-600",accentColor:"text-violet-600"},{id:"it",name:"IT Support",description:"Information technology and infrastructure",icon:t(C,{className:"h-4 w-4"}),color:"bg-cyan-600",accentColor:"text-cyan-600"},{id:"company",name:"Company",description:"Company-wide resources and information",icon:t(y,{className:"h-4 w-4"}),color:"bg-gray-600",accentColor:"text-gray-600"}],r=[{id:"1",name:"E-commerce Platform",description:"Main customer-facing e-commerce application",isSelected:!0},{id:"2",name:"Admin Dashboard",description:"Internal administration and analytics dashboard",isSelected:!1},{id:"3",name:"Mobile App",description:"Native mobile application for iOS and Android",isSelected:!1}],B=[{id:1,name:"Website Redesign",description:"Complete overhaul of company website",progress:75,dueDate:"June 15, 2025",members:4,files:23},{id:2,name:"Mobile App Launch",description:"Design and assets for new mobile application",progress:60,dueDate:"July 30, 2025",members:6,files:42},{id:3,name:"Brand Identity",description:"New brand guidelines and assets",progress:90,dueDate:"May 25, 2025",members:3,files:18},{id:4,name:"Marketing Campaign",description:"Summer promotion materials",progress:40,dueDate:"August 10, 2025",members:5,files:31}],N=[{id:"1",name:"Product Development",description:"Core product development team responsible for building and maintaining our main platform",humanColleagues:8,digitalColleagues:3,projects:5},{id:"2",name:"Design & UX",description:"Creative team focused on user experience design and visual identity",humanColleagues:5,digitalColleagues:2,projects:3},{id:"3",name:"Marketing",description:"Growth and marketing team driving customer acquisition and retention",humanColleagues:6,digitalColleagues:4,projects:7},{id:"4",name:"Data Science",description:"Analytics and machine learning team providing insights and intelligent features",humanColleagues:4,digitalColleagues:6,projects:2},{id:"5",name:"Customer Success",description:"Support and success team ensuring customer satisfaction and retention",humanColleagues:7,digitalColleagues:2,projects:4},{id:"6",name:"Operations",description:"Infrastructure and operations team maintaining system reliability and performance",humanColleagues:3,digitalColleagues:5,projects:3}],l=[{id:"1",name:"User Authentication",color:"bg-blue-500",description:"Implement secure user authentication system",confidence:"high",phase:2,startDate:new Date("2024-01-01"),endDate:new Date("2024-02-15"),progress:75,isSelected:!0},{id:"2",name:"Dashboard Features",color:"bg-green-500",description:"Build comprehensive dashboard functionality",confidence:"medium",phase:1,startDate:new Date("2024-02-01"),endDate:new Date("2024-03-15"),progress:30,isSelected:!0},{id:"3",name:"Mobile Optimization",color:"bg-purple-500",description:"Optimize application for mobile devices",confidence:"low",phase:1,startDate:new Date("2024-03-01"),endDate:new Date("2024-04-15"),progress:10,isSelected:!0},{id:"4",name:"Performance Improvements",color:"bg-orange-500",description:"Enhance application performance and speed",confidence:"high",phase:3,startDate:new Date("2024-01-15"),endDate:new Date("2024-02-28"),progress:90,isSelected:!0}],s=[{id:"backlog",name:"Backlog",description:"Tasks not yet assigned to a sprint",startDate:new Date("2024-01-01"),endDate:new Date("2024-12-31"),isActive:!1,isSelected:!1},{id:"all-tasks",name:"All Tasks",description:"View all tasks across all sprints",startDate:new Date("2024-01-01"),endDate:new Date("2024-12-31"),isActive:!1,isSelected:!0},{id:"1",name:"Sprint 1",description:"Initial development phase",startDate:new Date("2024-01-01"),endDate:new Date("2024-01-14"),isActive:!1,isSelected:!1},{id:"2",name:"Sprint 2",description:"Feature development",startDate:new Date("2024-01-15"),endDate:new Date("2024-01-28"),isActive:!0,isSelected:!1}],d=[{id:"1",name:"Design login page",description:"Create wireframes and mockups for the login interface",status:"todo",priority:"high",type:"story",points:5,epicId:"1",sprintId:"2",assignee:"John Doe",createdAt:new Date("2024-01-15")},{id:"2",name:"Implement OAuth integration",description:"Add Google and GitHub OAuth authentication",status:"review",priority:"high",type:"task",points:8,epicId:"1",sprintId:"2",assignee:"Jane Smith",createdAt:new Date("2024-01-16")},{id:"3",name:"Create dashboard widgets",description:"Build analytics and metrics widgets for the main dashboard",status:"todo",priority:"medium",type:"story",points:13,epicId:"2",sprintId:"2",assignee:"Mike Johnson",createdAt:new Date("2024-01-17")},{id:"4",name:"Fix login redirect bug",description:"Resolve issue where users are not redirected after login",status:"done",priority:"high",type:"bug",points:3,epicId:"1",sprintId:"1",assignee:"Sarah Wilson",createdAt:new Date("2024-01-14")},{id:"5",name:"Research mobile frameworks",description:"Investigate best practices for mobile responsive design",status:"in-progress",priority:"medium",type:"spike",points:5,epicId:"3",assignee:"Alex Brown",createdAt:new Date("2024-01-18")},{id:"6",name:"Update user profile page",description:"Enhance user profile with new settings and preferences",status:"review",priority:"medium",type:"story",points:8,epicId:"2",sprintId:"2",assignee:"Emma Davis",createdAt:new Date("2024-01-19")},{id:"7",name:"Performance optimization",description:"Optimize database queries and improve page load times",status:"done",priority:"high",type:"task",points:13,epicId:"4",sprintId:"1",assignee:"Tom Wilson",createdAt:new Date("2024-01-13")}],T=[...d,{id:"8",name:"Add search functionality",description:"Implement search across all dashboard widgets",status:"todo",priority:"medium",type:"story",points:8,epicId:"2",sprintId:"2",assignee:"Chris Lee",createdAt:new Date("2024-01-20")},{id:"9",name:"Fix mobile responsive issues",description:"Resolve layout problems on mobile devices",status:"in-progress",priority:"high",type:"bug",points:5,epicId:"3",sprintId:"2",assignee:"Taylor Swift",createdAt:new Date("2024-01-21")},{id:"10",name:"Implement dark mode",description:"Add dark theme support across the application",status:"review",priority:"low",type:"story",points:13,epicId:"2",sprintId:"2",assignee:"Jordan Smith",createdAt:new Date("2024-01-22")},{id:"11",name:"API rate limiting",description:"Implement rate limiting for API endpoints",status:"done",priority:"high",type:"task",points:8,epicId:"4",sprintId:"1",assignee:"Morgan Davis",createdAt:new Date("2024-01-12")},{id:"12",name:"User onboarding flow",description:"Create guided tour for new users",status:"todo",priority:"medium",type:"story",points:21,epicId:"1",sprintId:"2",assignee:"Casey Johnson",createdAt:new Date("2024-01-23")}],M=[...r,{id:"4",name:"Analytics Platform",description:"Business intelligence and reporting system",isSelected:!1},{id:"5",name:"API Gateway",description:"Microservices API management layer",isSelected:!1}],o={projects:[{id:"1",name:"Empty Project",description:"A project with no tasks",isSelected:!0}],epics:[],sprints:[{id:"all-tasks",name:"All Tasks",description:"View all tasks across all sprints",startDate:new Date("2024-01-01"),endDate:new Date("2024-12-31"),isActive:!1,isSelected:!0}],tasks:[]},p={epics:[{id:"1",name:"User Authentication",color:"bg-blue-500",description:"Implement secure user authentication system",confidence:"high",phase:2,startDate:new Date("2024-01-01"),endDate:new Date("2024-02-15"),progress:75,isSelected:!0}],tasks:d.filter(e=>e.epicId==="1")},F=(e,a)=>e.filter(n=>n.status===a),L=(e,a)=>e.filter(n=>n.epicId===a),G=(e,a)=>e.filter(n=>n.sprintId===a),O=e=>e.filter(a=>a.isSelected),q=e=>e.filter(a=>a.isActive),V={empty:{initialProjects:o.projects,initialEpics:o.epics,initialSprints:o.sprints,initialTasks:o.tasks},default:{initialProjects:r,initialEpics:l,initialSprints:s,initialTasks:d},highDensity:{initialProjects:r,initialEpics:l,initialSprints:s,initialTasks:T},singleEpic:{initialProjects:r,initialEpics:p.epics,initialSprints:s,initialTasks:p.tasks},multipleProjects:{initialProjects:M,initialEpics:l,initialSprints:s,initialTasks:d}},c=[{id:"1",type:"human",name:"Sarah Johnson",email:"sarah.johnson@company.com",role:"Senior Designer",department:"Design",status:"active",joinedDate:new Date("2023-01-15"),lastActive:new Date,phone:"+1 (555) 123-4567",location:"San Francisco, CA",timezone:"PST",skills:["UI/UX Design","Figma","Adobe Creative Suite","Prototyping","User Research"],bio:"Passionate designer with 8+ years of experience creating user-centered digital experiences."},{id:"2",type:"digital",name:"CodeAssist Pro",status:"active",joinedDate:new Date("2024-01-01"),lastActive:new Date,jobDescription:"AI-powered coding assistant that helps with code review, debugging, and documentation generation.",workInstructions:"Review pull requests for code quality and best practices. Generate comprehensive documentation for new features. Assist with debugging complex issues. Provide code suggestions and optimizations.",capabilities:["Code Review","Documentation Generation","Debugging","Code Optimization","Testing"],knowledge:["JavaScript","TypeScript","React","Node.js","Python","Git"].map(i),coreKnowledge:["Company coding standards","Architecture patterns","Security guidelines"].map(i),version:"2",lastUpdated:new Date("2024-01-15"),isActive:!0},{id:"3",type:"human",name:"Michael Chen",email:"michael.chen@company.com",role:"Product Manager",department:"Product",status:"inactive",joinedDate:new Date("2022-08-20"),lastActive:new Date(Date.now()-2*60*60*1e3),phone:"+1 (555) 987-6543",location:"New York, NY",timezone:"EST",skills:["Product Strategy","Agile","Data Analysis","User Stories","Roadmapping"],bio:"Strategic product manager focused on driving user engagement and business growth."},{id:"4",type:"digital",name:"MarketingBot",status:"active",joinedDate:new Date("2024-02-01"),lastActive:new Date,jobDescription:"Specialized AI assistant for marketing campaigns, content creation, and social media management.",workInstructions:"Create engaging social media content. Analyze campaign performance metrics. Generate marketing copy and headlines. Schedule and manage social media posts.",capabilities:["Content Creation","Social Media Management","Analytics","SEO Optimization","Campaign Management"],knowledge:["Digital Marketing","Social Media Platforms","Content Strategy","Analytics Tools"].map(i),coreKnowledge:["Brand guidelines","Target audience personas","Marketing objectives"].map(i),version:"52",lastUpdated:new Date("2024-02-10"),isActive:!0},{id:"5",type:"human",name:"Emily Rodriguez",email:"emily.rodriguez@company.com",role:"UX Researcher",department:"Design",status:"inactive",joinedDate:new Date("2023-06-10"),lastActive:new Date(Date.now()-7*24*60*60*1e3),phone:"+1 (555) 456-7890",location:"Austin, TX",timezone:"CST",skills:["User Research","Usability Testing","Data Analysis","Survey Design","Interview Techniques"],bio:"User researcher dedicated to understanding user needs and improving product experiences."},{id:"6",type:"digital",name:"DataAnalyzer Pro",status:"active",joinedDate:new Date("2024-01-10"),lastActive:new Date,jobDescription:"Advanced AI assistant specializing in data analysis, reporting, and business intelligence.",workInstructions:"Analyze complex datasets, generate insightful reports, create data visualizations, and provide actionable business recommendations.",capabilities:["Data Analysis","Report Generation","Data Visualization","Business Intelligence","Statistical Analysis"],knowledge:["Python","SQL","Tableau","Excel","R","Statistics"].map(i),coreKnowledge:["Company data sources","KPI definitions","Reporting standards"].map(i),version:"3.1",lastUpdated:new Date("2024-02-20"),isActive:!0},{id:"7",type:"digital",name:"ProjectManager AI",status:"active",joinedDate:new Date("2024-01-05"),lastActive:new Date,jobDescription:"Intelligent project management assistant that helps coordinate tasks, track progress, and manage timelines.",workInstructions:"Coordinate project activities, track milestones, manage resource allocation, and provide project status updates.",capabilities:["Project Planning","Task Coordination","Timeline Management","Resource Allocation","Progress Tracking"],knowledge:["Agile","Scrum","Gantt Charts","Risk Management","Stakeholder Management"].map(i),coreKnowledge:["Company project templates","Resource availability","Project methodologies"].map(i),version:"2.5",lastUpdated:new Date("2024-02-15"),isActive:!0},{id:"8",type:"digital",name:"CustomerSupport Bot",status:"active",joinedDate:new Date("2024-02-01"),lastActive:new Date,jobDescription:"AI-powered customer support assistant that handles inquiries, resolves issues, and escalates complex problems.",workInstructions:"Respond to customer inquiries, troubleshoot common issues, provide product information, and escalate complex cases to human agents.",capabilities:["Customer Support","Issue Resolution","Product Knowledge","Escalation Management","Chat Support"],knowledge:["Product Documentation","FAQ","Troubleshooting Guides","Customer Service Best Practices"].map(i),coreKnowledge:["Product catalog","Support processes","Escalation procedures"].map(i),version:"1.8",lastUpdated:new Date("2024-02-25"),isActive:!0}],J=[{id:"1",title:"Review quarterly report",description:"Go through Q4 performance metrics and prepare summary for the team meeting",dueDate:new Date(2024,2,15),dueTime:"14:30",colleague:c.find(e=>e.id==="2"&&e.type==="digital"),isCompleted:!1,isRecurring:!1,priority:"high",reminderEnabled:!0,reminderMinutes:30,createdAt:new Date(2024,2,10),tags:["quarterly","review","urgent"]},{id:"2",title:"Weekly team standup",description:"Join the weekly team synchronization meeting",dueDate:new Date(2024,2,18),dueTime:"10:00",colleague:c.find(e=>e.id==="4"&&e.type==="digital"),isCompleted:!1,isRecurring:!0,recurrencePattern:"weekly",recurrenceInterval:1,priority:"medium",reminderEnabled:!0,reminderMinutes:15,createdAt:new Date(2024,2,11),tags:["meeting","standup","weekly"]},{id:"3",title:"Deploy to production",description:"Deploy the latest version to production environment",dueDate:new Date,dueTime:"16:00",colleague:c.find(e=>e.id==="2"&&e.type==="digital"),isCompleted:!1,isRecurring:!1,priority:"high",reminderEnabled:!0,reminderMinutes:60,createdAt:new Date,tags:["deploy","production","urgent"]}],K=[{name:"Project_Requirements.docx",app:"Word",modified:"2 hours ago",icon:t(g,{className:"h-5 w-5 text-blue-500"}),shared:!0,size:"1.2 MB",collaborators:4},{name:"Sprint_Planning_Notes.pdf",app:"PDF Reader",modified:"1 day ago",icon:t(j,{className:"h-5 w-5 text-red-500"}),shared:!1,size:"245 KB",collaborators:0},{name:"UI_Mockups.fig",app:"Figma",modified:"3 days ago",icon:t(I,{className:"h-5 w-5 text-purple-500"}),shared:!0,size:"5.7 MB",collaborators:6},{name:"Demo_Video.mp4",app:"Video Player",modified:"1 week ago",icon:t(P,{className:"h-5 w-5 text-green-500"}),shared:!1,size:"89 MB",collaborators:0},{name:"Meeting_Recording.m4a",app:"Audio Player",modified:"2 weeks ago",icon:t(x,{className:"h-5 w-5 text-orange-500"}),shared:!0,size:"12 MB",collaborators:2}],W=c.filter(e=>e.type==="digital");export{E as a,U as b,z as c,r as d,B as e,N as f,l as g,s as h,d as i,T as j,M as k,o as l,p as m,F as n,L as o,G as p,O as q,q as r,V as s,c as t,J as u,K as v,W as w};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as i}from"./chunk-
|
|
1
|
+
import{b as i}from"./chunk-ZUA4KNIR.mjs";import{a}from"./chunk-WISCWNL2.mjs";import{a as c}from"./chunk-FVM5SQT2.mjs";import{a as o}from"./chunk-MDJREBVI.mjs";import{jsx as e,jsxs as n}from"react/jsx-runtime";function m(r){return r&&typeof r=="object"&&"type"in r&&"iconName"in r}function h({icon:r,title:s,description:p,slug:t}){return n("article",{className:o(["group/service bg-card shadow-3 transition-transform duration-350 dark:shadow-none","relative z-1 block h-full space-y-6 overflow-hidden rounded-5 p-6 md:space-y-7 md:p-10","hover:[transform:translateY(-.5rem)]"]),children:[n("div",{className:"flex items-center text-foreground gap-5",children:[e("span",{className:"flex-none text-[2.5rem] transition-all duration-300 group-hover/service:scale-90 group-hover/service:text-accent md:text-[4rem]",children:m(r)?e(c,{type:r.type,iconName:r.iconName,size:"sm"}):r}),e("h2",{className:"text-md font-medium leading-[1.25] md:text-lg",children:t?e(a,{href:t,children:s}):s})]}),e("p",{className:"text-foreground",children:p}),t&&e(i,{asChild:!0,className:o(["rounded-5 border p-5","group-hover/service:border-accent","border-current bg-transparent text-foreground hover:bg-transparent hover:text-accent","before:hidden after:hidden"]),children:n(a,{href:t,children:[e("span",{children:"Read More"}),e("span",{className:"relative pl-3 text-sm/[1] text-accent",children:e("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M11.8125 5.75C11.8125 6.24219 11.4023 6.65234 10.9375 6.65234H7V10.5898C7 11.0547 6.58984 11.4375 6.125 11.4375C5.63281 11.4375 5.25 11.0547 5.25 10.5898V6.65234H1.3125C0.820312 6.65234 0.4375 6.24219 0.4375 5.75C0.4375 5.28516 0.820312 4.90234 1.3125 4.90234H5.25V0.964844C5.25 0.472656 5.63281 0.0625 6.125 0.0625C6.58984 0.0625 7 0.472656 7 0.964844V4.90234H10.9375C11.4023 4.875 11.8125 5.28516 11.8125 5.75Z"})})})]})}),e("span",{className:"invisible absolute bottom-0 left-0 h-[2px] w-full scale-x-[30%] bg-accent opacity-0 transition-all duration-400 group-hover/service:visible group-hover/service:scale-x-100 group-hover/service:opacity-100"})]})}export{h as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as V}from"./chunk-SIL7AP7H.mjs";import{a as _}from"./chunk-6OCLRAHU.mjs";import{a as J}from"./chunk-
|
|
1
|
+
import{a as V}from"./chunk-SIL7AP7H.mjs";import{a as _}from"./chunk-6OCLRAHU.mjs";import{a as J}from"./chunk-2LINLX4S.mjs";import{a as W}from"./chunk-DBY4SXQI.mjs";import{a as K}from"./chunk-I3E2TYYZ.mjs";import{d as D}from"./chunk-Q2DPE66H.mjs";import{a as U}from"./chunk-FT3AE7L2.mjs";import{a as O}from"./chunk-L5JPAKPM.mjs";import{b as d}from"./chunk-ZUA4KNIR.mjs";import{a as N,c as h}from"./chunk-SOLZ4VQH.mjs";import{b as $}from"./chunk-CSBGSBEU.mjs";import{a as f,b as x,c as y,e as v}from"./chunk-YO3GQYRJ.mjs";import{a as p}from"./chunk-MDJREBVI.mjs";import{useRef as A,useEffect as q,useState as G}from"react";import*as u from"motion/react-client";import{Send as me,Bot as E,User as ce,Menu as ue,Paperclip as pe,X as fe,FileText as ve,Image as ge,File as Ne,Download as he,ExternalLink as xe}from"lucide-react";import{jsx as e,jsxs as s}from"react/jsx-runtime";function Ue({messages:M,input:B,isTyping:b=!1,currentSessionTitle:ye,capabilities:F,fileUploads:C,isDragOver:Q,enableFileUpload:P,onInputChange:X,addToolResult:j,onSendMessage:Y,onKeyPress:Z,onFileUpload:S,onRemoveFile:ee,onDragOver:w,className:te}){let k=A(null),ae=A(null),R=A(null),[c,g]=G(!1),[L,be]=G({path:[],selectedItems:[],filters:{}});q(()=>{k.current?.scrollIntoView({behavior:"smooth"})},[M]),q(()=>{c&&setTimeout(()=>{k.current?.scrollIntoView({behavior:"smooth"})},100)},[c]);let z=()=>D(L),se=()=>{let t=[];return F.forEach(r=>{r.actions&&r.actions.forEach(l=>{t.push({label:l.label,action:()=>T(l.id,{path:[r],selectedItems:[],filters:{}})})}),r.children&&r.children.forEach(l=>{l.type==="list"&&l.data&&t.push({label:`View ${l.name}`,action:()=>g(!0)})})}),t.slice(0,5)},T=(t,r)=>{console.log("Capability action:",t,r);let l=`Executing ${t} with context: ${JSON.stringify(r.path.map(i=>i.name))}`;g(!1)},Ce=D({path:[],selectedItems:[],filters:{}}),ie=t=>{S(t.target.files),t.target.files&&(t.target.value="")},re=t=>{t.preventDefault(),w(!0)},le=t=>{t.preventDefault(),w(!1)},oe=t=>{t.preventDefault(),w(!1),S(t.dataTransfer.files)},ne=t=>{if(t===0)return"0 Bytes";let r=1024,l=["Bytes","KB","MB","GB"],i=Math.floor(Math.log(t)/Math.log(r));return parseFloat((t/Math.pow(r,i)).toFixed(2))+" "+l[i]},H=t=>t.startsWith("image/")?e(ge,{className:"h-4 w-4"}):t.startsWith("text/")?e(ve,{className:"h-4 w-4"}):e(Ne,{className:"h-4 w-4"}),de=t=>{let r=t.role==="assistant",l=t.role==="user";return s("div",{className:p("flex items-start gap-3",l?"flex-row-reverse":""),children:[e(N,{className:"h-8 w-8 shrink-0",children:e(h,{className:p(l?"bg-primary text-primary-foreground":"bg-gradient-to-br from-purple-600 to-blue-600 text-white"),children:l?e(ce,{className:"h-4 w-4"}):e(E,{className:"h-4 w-4"})})}),e("div",{className:p("max-w-[80%] rounded-2xl px-4 py-3 shadow-sm",l?"bg-primary text-primary-foreground":"bg-muted"),children:t.parts.map((i,o)=>{if(i.type==="text")return e(_,{id:t.id,content:i.text},`${t.id}-text`);if(i.type==="file"){let a=i;return e("div",{className:"mb-2 p-2 bg-background/50 rounded-lg",children:s("div",{className:"flex items-center gap-2",children:[H(a.mediaType||"application/octet-stream"),e("div",{className:"flex-1 min-w-0",children:e("p",{className:"text-sm font-medium truncate",children:a.filename||a.url?.split("/").pop()||"File"})}),a.url&&e(d,{variant:"ghost",size:"sm",onClick:()=>window.open(a.url,"_blank"),className:"h-8 w-8 p-0",children:e(he,{className:"h-4 w-4"})})]})},o)}if(i.type.startsWith("tool-")){let a=i,m=i.type.replace("tool-","");if(m==="task")switch(a.state){case"input-available":return e("div",{className:"text-sm opacity-70",children:"Loading task..."},o);case"output-available":return e("div",{className:"mb-2",children:e(K,{data:{id:a.output?.id||a.input?.id,fetchLatest:!1,taskData:a.output||a.input}})},o);case"output-error":return s("div",{className:"text-sm text-red-500",children:["Error: ",a.errorText]},o);default:return null}if(i.type==="tool-requestEndpointLogin")return e("div",{className:"mb-2",children:e(V,{toolPart:a,index:o,addToolResult:j??(()=>{})})},o);if(m==="artefact")switch(a.state){case"input-available":return e("div",{className:"text-sm opacity-70",children:"Loading artefact..."},o);case"output-available":return e("div",{className:"mb-2",children:e(W,{artefact:a.output?.description||"",taskId:a.output?.id||a.input?.id,taskData:a.output||a.input})},o);case"output-error":return s("div",{className:"text-sm text-red-500",children:["Error: ",a.errorText]},o);default:return null}return e("div",{className:"mb-2",children:s(f,{className:"w-full max-w-md",children:[e(x,{children:e(y,{className:"text-lg",children:m})}),s(v,{children:[a.state==="input-available"&&s("p",{className:"text-sm",children:["Processing ",m,"..."]}),a.state==="output-available"&&e("pre",{className:"text-sm",children:JSON.stringify(a.output,null,2)}),a.state==="output-error"&&s("p",{className:"text-sm text-red-500",children:["Error: ",a.errorText]})]})]})},o)}if(i.type.startsWith("data-")){let a=i,m=i.type.replace("data-","");return m==="reference"?e("div",{className:"mb-2",children:e(f,{className:"w-full",children:e(v,{className:"p-4",children:e("div",{className:"space-y-2",children:a.data?.references?.map((n,I)=>s("div",{className:"flex items-center gap-2 p-2 rounded-md bg-muted/50",children:[e($,{variant:"outline",children:n.type||"link"}),s("div",{className:"flex-1 min-w-0",children:[e("p",{className:"text-sm font-medium truncate",children:n.title}),n.description&&e("p",{className:"text-xs text-muted-foreground truncate",children:n.description})]}),n.url&&e(d,{variant:"ghost",size:"sm",onClick:()=>window.open(n.url,"_blank"),className:"h-8 w-8 p-0",children:e(xe,{className:"h-4 w-4"})})]},I))})})})},o):m==="menu"?e("div",{className:"mb-2",children:s(f,{className:"w-full",children:[e(x,{children:e(y,{className:"text-lg",children:a.data?.title})}),e(v,{children:e("div",{className:"space-y-2",children:a.data?.items?.map((n,I)=>e(d,{variant:"outline",className:"w-full justify-start",onClick:n.action,children:s("div",{className:"text-left",children:[e("p",{className:"font-medium",children:n.label}),n.description&&e("p",{className:"text-xs text-muted-foreground",children:n.description})]})},I))})})]})},o):e("div",{className:"mb-2",children:s(f,{className:"w-full max-w-md",children:[e(x,{children:e(y,{className:"text-lg",children:m})}),e(v,{children:e("pre",{className:"text-sm",children:JSON.stringify(a.data,null,2)})})]})},o)}return null})})]})};return s("div",{className:`h-full flex flex-col shadow-sm max-w-4xl mx-auto ${te||""}`,children:[s(U,{ref:ae,className:"flex-1 p-4 bg-background border-0",onDragOver:re,onDragLeave:le,onDrop:oe,children:[s("div",{className:p("space-y-4",Q&&"ring-2 ring-primary ring-offset-2 bg-primary/5"),children:[e(u.animate,{children:M.map(t=>e(u.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},className:p("flex gap-3",t.role==="user"?"flex-row-reverse":"flex-row"),children:de(t)},t.id))}),c&&s(u.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},className:"flex gap-3",children:[e(N,{className:"h-8 w-8",children:e(h,{className:"bg-gradient-to-br from-purple-600 to-blue-600 text-white",children:e(E,{className:"h-4 w-4"})})}),e("div",{className:"flex-1 bg-muted rounded-2xl px-4 py-3 shadow-sm",children:e(J,{capabilities:F,isOpen:c,onToggle:()=>g(!c),onActionSelect:T,className:"w-full"})})]}),b&&s(u.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},className:"flex gap-3",children:[e(N,{className:"h-8 w-8",children:e(h,{className:"bg-gradient-to-br from-purple-600 to-blue-600 text-white",children:e(E,{className:"h-4 w-4"})})}),e("div",{className:"bg-muted rounded-2xl px-4 py-3 shadow-sm",children:s("div",{className:"flex space-x-1",children:[e("div",{className:"w-2 h-2 bg-muted-foreground/50 rounded-full animate-bounce"}),e("div",{className:"w-2 h-2 bg-muted-foreground/50 rounded-full animate-bounce",style:{animationDelay:"0.1s"}}),e("div",{className:"w-2 h-2 bg-muted-foreground/50 rounded-full animate-bounce",style:{animationDelay:"0.2s"}})]})})]})]}),e("div",{ref:k})]}),C.length>0&&e("div",{className:"p-4 border-t bg-muted/10",children:e("div",{className:"flex flex-wrap gap-2",children:C.map(t=>s("div",{className:"flex items-center gap-2 bg-background rounded-lg p-2 border",children:[H(t.file.type),e("span",{className:"text-sm font-medium",children:t.file.name}),e("span",{className:"text-xs text-muted-foreground",children:ne(t.file.size)}),e(d,{variant:"ghost",size:"sm",onClick:()=>ee(t.id),className:"h-6 w-6 p-0",children:e(fe,{className:"h-4 w-4"})})]},t.id))})}),s("div",{className:"border rounded-2xl p-4 bg-muted/20",children:[s("div",{className:"flex gap-3",children:[e(O,{value:B,onChange:t=>X(t.target.value),onKeyPress:Z,placeholder:"How can I help you today?",className:"flex-1 rounded-2xl bg-background shadow-sm",disabled:b}),P&&e(d,{variant:"outline",size:"icon",onClick:()=>R.current?.click(),className:"rounded-2xl h-10 w-10 shadow-sm",children:e(pe,{className:"h-4 w-4"})}),e(d,{onClick:Y,disabled:!B.trim()&&C.length===0||b,size:"icon",className:"rounded-2xl h-10 w-10 shadow-sm",children:e(me,{className:"h-4 w-4"})})]}),s("div",{className:"flex items-center gap-3 mt-3",children:[s(d,{onClick:()=>g(!c),variant:"outline",size:"sm",className:"rounded-full text-xs flex-shrink-0",children:[e(ue,{className:"h-3 w-3 mr-1"}),c?"Hide":"Show"," Capabilities"]}),s("div",{className:"flex flex-wrap gap-2 overflow-hidden",children:[z().map((t,r)=>e(d,{variant:"default",size:"sm",className:"rounded-full text-xs bg-accent hover:bg-accent/80",onClick:()=>T(t.id,L),children:t.label},`context-${t.id}`)),z().length===0&&se().map((t,r)=>e(d,{variant:"outline",size:"sm",className:"rounded-full text-xs",onClick:t.action,children:t.label},`suggestion-${r}`))]})]}),P&&e("input",{ref:R,type:"file",multiple:!0,onChange:ie,className:"hidden"})]})]})}export{Ue as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as C}from"./chunk-7GSXNSLD.mjs";import{a as N}from"./chunk-4UIARERB.mjs";import{a as E,f as T}from"./chunk-D4IMQTVU.mjs";import{a as M}from"./chunk-L5JPAKPM.mjs";import{a as L,b as I,c as H,d as k}from"./chunk-KY7WQYN4.mjs";import{b as _}from"./chunk-ZUA4KNIR.mjs";import{a as n}from"./chunk-MDJREBVI.mjs";import{a as P}from"./chunk-FRWX5YES.mjs";import*as o from"react";import{Slot as g}from"@radix-ui/react-slot";import{cva as A}from"class-variance-authority";import{PanelLeft as O}from"lucide-react";import{jsx as r,jsxs as S}from"react/jsx-runtime";var G="sidebar:state",K=60*60*24*7,V="16rem",$="18rem",U="3rem",W="b",B=o.createContext(null);function w(){let a=o.useContext(B);if(!a)throw new Error("useSidebar must be used within a SidebarProvider.");return a}var j=o.forwardRef(({defaultOpen:a=!0,open:e,onOpenChange:t,className:i,style:d,children:s,...p},m)=>{let c=P(),[u,b]=o.useState(!1),[v,D]=o.useState(a),f=e??v,h=o.useCallback(l=>{if(t)return t?.(typeof l=="function"?l(f):l);D(l),document.cookie=`${G}=${f}; path=/; max-age=${K}`},[t,f]),x=o.useCallback(()=>c?b(l=>!l):h(l=>!l),[c,h,b]);o.useEffect(()=>{let l=R=>{R.key===W&&(R.metaKey||R.ctrlKey)&&(R.preventDefault(),x())};return window.addEventListener("keydown",l),()=>window.removeEventListener("keydown",l)},[x]);let y=f?"expanded":"collapsed",z=o.useMemo(()=>({state:y,open:f,setOpen:h,isMobile:c,openMobile:u,setOpenMobile:b,toggleSidebar:x}),[y,f,h,c,u,b,x]);return r(B.Provider,{value:z,children:r(L,{delayDuration:0,children:r("div",{style:{"--sidebar-width":V,"--sidebar-width-icon":U,...d},className:n("group/sidebar-wrapper flex w-full has-[[data-variant=inset]]:bg-sidebar",i),ref:m,...p,children:s})})})});j.displayName="SidebarProvider";var q=o.forwardRef(({side:a="left",variant:e="sidebar",collapsible:t="offcanvas",className:i,children:d,...s},p)=>{let{isMobile:m,state:c,openMobile:u,setOpenMobile:b}=w();return t==="none"?r("div",{className:n("flex h-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground",i),ref:p,...s,children:d}):m?r(E,{open:u,onOpenChange:b,...s,children:r(T,{"data-sidebar":"sidebar","data-mobile":"true",className:"w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":$},side:a,children:r("div",{className:"flex h-full w-full flex-col",children:d})})}):S("div",{ref:p,className:"group peer hidden md:block text-sidebar-foreground","data-state":c,"data-collapsible":c==="collapsed"?t:"","data-variant":e,"data-side":a,children:[r("div",{className:n("duration-200 relative h-svh w-[--sidebar-width] bg-transparent transition-[width] ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180",e==="floating"||e==="inset"?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4))]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon]")}),r("div",{className:n("duration-200 fixed top-14 bottom-0 z-10 hidden w-[--sidebar-width] transition-[left,right,width] ease-linear md:flex",a==="left"?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",e==="floating"||e==="inset"?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4)_+2px)]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon] group-data-[side=left]:border-r group-data-[side=right]:border-l",i),...s,children:r("div",{"data-sidebar":"sidebar",className:"flex h-full w-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow",children:d})})]})});q.displayName="Sidebar";var F=o.forwardRef(({className:a,onClick:e,...t},i)=>{let{toggleSidebar:d}=w();return S(_,{ref:i,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:n("h-7 w-7",a),onClick:s=>{e?.(s),d()},...t,children:[r(O,{}),r("span",{className:"sr-only",children:"Toggle Sidebar"})]})});F.displayName="SidebarTrigger";var X=o.forwardRef(({className:a,...e},t)=>{let{toggleSidebar:i}=w();return r("button",{ref:t,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:i,title:"Toggle Sidebar",className:n("absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex","[[data-side=left]_&]:cursor-w-resize [[data-side=right]_&]:cursor-e-resize","[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize","group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-sidebar","[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",a),...e})});X.displayName="SidebarRail";var Y=o.forwardRef(({className:a,...e},t)=>r("main",{ref:t,className:n("flex flex-1 flex-col bg-background overflow-y-auto relative max-h-full","md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow",a),...e}));Y.displayName="SidebarInset";var J=o.forwardRef(({className:a,...e},t)=>r(M,{ref:t,"data-sidebar":"input",className:n("h-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",a),...e}));J.displayName="SidebarInput";var Q=o.forwardRef(({className:a,...e},t)=>r("div",{ref:t,"data-sidebar":"header",className:n("flex flex-col gap-2 p-2",a),...e}));Q.displayName="SidebarHeader";var Z=o.forwardRef(({className:a,...e},t)=>r("div",{ref:t,"data-sidebar":"footer",className:n("flex flex-col gap-2 p-2",a),...e}));Z.displayName="SidebarFooter";var ee=o.forwardRef(({className:a,...e},t)=>r(N,{ref:t,"data-sidebar":"separator",className:n("mx-2 w-auto bg-sidebar-border",a),...e}));ee.displayName="SidebarSeparator";var ae=o.forwardRef(({className:a,...e},t)=>r("div",{ref:t,"data-sidebar":"content",className:n("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",a),...e}));ae.displayName="SidebarContent";var te=o.forwardRef(({className:a,...e},t)=>r("div",{ref:t,"data-sidebar":"group",className:n("relative flex w-full min-w-0 flex-col p-2",a),...e}));te.displayName="SidebarGroup";var oe=o.forwardRef(({className:a,asChild:e=!1,...t},i)=>r(e?g:"div",{ref:i,"data-sidebar":"group-label",className:n("duration-200 flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 outline-none ring-sidebar-ring transition-[margin,opa] ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",a),...t}));oe.displayName="SidebarGroupLabel";var re=o.forwardRef(({className:a,asChild:e=!1,...t},i)=>r(e?g:"button",{ref:i,"data-sidebar":"group-action",className:n("absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","group-data-[collapsible=icon]:hidden",a),...t}));re.displayName="SidebarGroupAction";var ne=o.forwardRef(({className:a,...e},t)=>r("div",{ref:t,"data-sidebar":"group-content",className:n("w-full text-sm",a),...e}));ne.displayName="SidebarGroupContent";var ie=o.forwardRef(({className:a,...e},t)=>r("ul",{ref:t,"data-sidebar":"menu",className:n("flex w-full min-w-0 flex-col gap-1",a),...e}));ie.displayName="SidebarMenu";var de=o.forwardRef(({className:a,...e},t)=>r("li",{ref:t,"data-sidebar":"menu-item",className:n("group/menu-item relative",a),...e}));de.displayName="SidebarMenuItem";var se=A("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-none ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!p-2 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",{variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{default:"h-8 text-sm",sm:"h-7 text-xs",lg:"h-12 text-sm group-data-[collapsible=icon]:!p-0"}},defaultVariants:{variant:"default",size:"default"}}),le=o.forwardRef(({asChild:a=!1,isActive:e=!1,variant:t="default",size:i="default",tooltip:d,className:s,...p},m)=>{let c=a?g:"button",{isMobile:u,state:b}=w(),v=r(c,{ref:m,"data-sidebar":"menu-button","data-size":i,"data-active":e,className:n(se({variant:t,size:i}),s),...p});return d?(typeof d=="string"&&(d={children:d}),S(I,{children:[r(H,{asChild:!0,children:v}),r(k,{side:"right",align:"center",hidden:b!=="collapsed"||u,...d})]})):v});le.displayName="SidebarMenuButton";var ce=o.forwardRef(({className:a,asChild:e=!1,showOnHover:t=!1,...i},d)=>r(e?g:"button",{ref:d,"data-sidebar":"menu-action",className:n("absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 peer-hover/menu-button:text-sidebar-accent-foreground [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",t&&"group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 peer-data-[active=true]/menu-button:text-sidebar-accent-foreground md:opacity-0",a),...i}));ce.displayName="SidebarMenuAction";var be=o.forwardRef(({className:a,...e},t)=>r("div",{ref:t,"data-sidebar":"menu-badge",className:n("absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums text-sidebar-foreground select-none pointer-events-none","peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",a),...e}));be.displayName="SidebarMenuBadge";var pe=o.forwardRef(({className:a,showIcon:e=!1,...t},i)=>{let d=o.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return S("div",{ref:i,"data-sidebar":"menu-skeleton",className:n("rounded-md h-8 flex gap-2 px-2 items-center",a),...t,children:[e&&r(C,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),r(C,{className:"h-4 flex-1 max-w-[--skeleton-width]","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":d}})]})});pe.displayName="SidebarMenuSkeleton";var ue=o.forwardRef(({className:a,...e},t)=>r("ul",{ref:t,"data-sidebar":"menu-sub",className:n("mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",a),...e}));ue.displayName="SidebarMenuSub";var fe=o.forwardRef(({...a},e)=>r("li",{ref:e,...a}));fe.displayName="SidebarMenuSubItem";var me=o.forwardRef(({asChild:a=!1,size:e="md",isActive:t,className:i,...d},s)=>r(a?g:"a",{ref:s,"data-sidebar":"menu-sub-button","data-size":e,"data-active":t,className:n("flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground outline-none ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground","data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",e==="sm"&&"text-xs",e==="md"&&"text-sm","group-data-[collapsible=icon]:hidden",i),...d}));me.displayName="SidebarMenuSubButton";export{w as a,j as b,q as c,F as d,X as e,Y as f,J as g,Q as h,Z as i,ee as j,ae as k,te as l,oe as m,re as n,ne as o,ie as p,de as q,le as r,ce as s,be as t,pe as u,ue as v,fe as w,me as x};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a}from"./chunk-
|
|
4
|
+
import{a}from"./chunk-MDJREBVI.mjs";import*as d from"react";import*as e from"@radix-ui/react-dropdown-menu";import{CheckIcon as m,ChevronRightIcon as u,DotFilledIcon as c}from"@radix-ui/react-icons";import{jsx as i,jsxs as s}from"react/jsx-runtime";var h=e.Root,N=e.Trigger,x=e.Group,I=e.Portal,C=e.Sub,S=e.RadioGroup,l=d.forwardRef(({className:o,inset:t,children:n,...r},p)=>s(e.SubTrigger,{ref:p,className:a("flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",t&&"pl-8",o),...r,children:[n,i(u,{className:"ml-auto"})]}));l.displayName=e.SubTrigger.displayName;var f=d.forwardRef(({className:o,...t},n)=>i(e.SubContent,{ref:n,className:a("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",o),...t}));f.displayName=e.SubContent.displayName;var w=d.forwardRef(({className:o,sideOffset:t=4,...n},r)=>i(e.Portal,{children:i(e.Content,{ref:r,sideOffset:t,className:a("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",o),...n})}));w.displayName=e.Content.displayName;var v=d.forwardRef(({className:o,inset:t,...n},r)=>i(e.Item,{ref:r,className:a("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",t&&"pl-8",o),...n}));v.displayName=e.Item.displayName;var M=d.forwardRef(({className:o,children:t,checked:n,...r},p)=>s(e.CheckboxItem,{ref:p,className:a("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",o),checked:n,...r,children:[i("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:i(e.ItemIndicator,{children:i(m,{className:"h-4 w-4"})})}),t]}));M.displayName=e.CheckboxItem.displayName;var D=d.forwardRef(({className:o,children:t,...n},r)=>s(e.RadioItem,{ref:r,className:a("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",o),...n,children:[i("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:i(e.ItemIndicator,{children:i(c,{className:"h-4 w-4 fill-current"})})}),t]}));D.displayName=e.RadioItem.displayName;var P=d.forwardRef(({className:o,inset:t,...n},r)=>i(e.Label,{ref:r,className:a("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",o),...n}));P.displayName=e.Label.displayName;var R=d.forwardRef(({className:o,...t},n)=>i(e.Separator,{ref:n,className:a("-mx-1 my-1 h-px bg-muted",o),...t}));R.displayName=e.Separator.displayName;var b=({className:o,...t})=>i("span",{className:a("ml-auto text-xs tracking-widest opacity-60",o),...t});b.displayName="DropdownMenuShortcut";export{h as a,N as b,x as c,I as d,C as e,S as f,l as g,f as h,w as i,v as j,M as k,D as l,P as m,R as n,b as o};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{b as a}from"./chunk-
|
|
4
|
+
import{b as a}from"./chunk-ZUA4KNIR.mjs";import{a as n}from"./chunk-MDJREBVI.mjs";import{useState as u}from"react";import{useSearchParams as h,usePathname as l,useRouter as d}from"next/navigation";import{jsx as s}from"react/jsx-runtime";function w({types:r}){let[o,c]=u(r&&r[0].href),f=h(),m=l(),{replace:p}=d();function i(e){let t=new URLSearchParams(f);e?t.set("type",e):t.delete("type"),c(e),p(`${m}?${t.toString()}`)}return s("div",{className:"flex gap-2 flex-wrap items-center justify-center overflow-x-auto pb-4 mb-6",children:r&&r.map((e,t)=>s(a,{variant:e.href===o?"default":"ghost",className:n("rounded-full whitespace-nowrap text-foreground border border-accent hover:bg-accent hover:text-accent-foreground",e.href===o&&"bg-accent text-accent-foreground"),onClick:()=>i(e.href),children:e.label},t))})}export{w as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as p}from"./chunk-
|
|
4
|
+
import{a as p}from"./chunk-VGWDYD6Z.mjs";import{a as d}from"./chunk-Z22NSJMF.mjs";import{a as c}from"./chunk-CTAIR3TE.mjs";import{a as m,f as n,g as r,i as s,j as l}from"./chunk-3UMMMQEH.mjs";import{useState as w}from"react";import{motion as C,AnimatePresence as D}from"motion/react";import{jsx as e,jsxs as t}from"react/jsx-runtime";function h({teams:i=[],onCreateTeam:g,onTeamOpen:T}){let[y,o]=w(!1),u=()=>{o(!0)},f=a=>{g?.(a),o(!1)},v=()=>{o(!1)},x=a=>{T?.(a)};return t("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[e(D,{mode:"wait",children:t(C.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:u}}),t("section",{className:"space-y-4 mt-8",children:[e("h2",{className:"text-2xl font-semibold",children:"Active Teams"}),i.length===0?t("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:i.map(a=>e(p,{team:a,onOpen:x},a.id))})]})]},"teams-index-view")}),e(m,{open:y,onOpenChange:o,children:t(n,{className:"max-w-4xl max-h-[90vh] overflow-y-auto p-0",children:[e("div",{className:"sr-only",children:t(r,{children:[e(s,{children:"Create New Team"}),e(l,{children:"Set up a new team to collaborate with colleagues on projects."})]})}),e(c,{title:"Create New Team",submitLabel:"Create Team",onSave:f,onCancel:v})]})})]})}export{h as a};
|