cortex-react-components 2.0.2 → 2.0.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-BPTRLIWH.mjs → chunk-2JBVESQ2.mjs} +1 -1
- package/dist/{chunk-YVI5URXW.mjs → chunk-2NMVE5M4.mjs} +1 -1
- package/dist/{chunk-GQVNL534.mjs → chunk-2SAKLSZ4.mjs} +1 -1
- package/dist/{chunk-ZFBEBFCI.mjs → chunk-3KITWLRN.mjs} +1 -1
- package/dist/{chunk-VNMKCJBJ.mjs → chunk-4VWCJYTN.mjs} +1 -1
- package/dist/{chunk-RENPEB5D.mjs → chunk-4ZEATBUU.mjs} +1 -1
- package/dist/{chunk-KDSAOIPC.mjs → chunk-546LLRCZ.mjs} +1 -1
- package/dist/{chunk-S7SHOCHM.mjs → chunk-6SWKEZN6.mjs} +1 -1
- package/dist/{chunk-66WBIP2O.mjs → chunk-6UADPSC5.mjs} +1 -1
- package/dist/{chunk-6LZRVGXZ.mjs → chunk-77YVLEKT.mjs} +1 -1
- package/dist/{chunk-VN7TASR4.mjs → chunk-7SPSOAIQ.mjs} +1 -1
- package/dist/{chunk-VM25PG5R.mjs → chunk-A2AEX4YB.mjs} +1 -1
- package/dist/{chunk-HIHXHTK3.mjs → chunk-ABGNIQRP.mjs} +1 -1
- package/dist/{chunk-PANOPGUW.mjs → chunk-AVHFRD6D.mjs} +1 -1
- package/dist/{chunk-7A3BV5SJ.mjs → chunk-BA53AOCS.mjs} +1 -1
- package/dist/{chunk-6QSBVWNG.mjs → chunk-BADFWNRL.mjs} +1 -1
- package/dist/{chunk-ALI7Z4HH.mjs → chunk-CAKJOTEE.mjs} +1 -1
- package/dist/{chunk-3OKVKXQT.mjs → chunk-CK2TFJB2.mjs} +1 -1
- package/dist/{chunk-75WE6ZXB.mjs → chunk-CLGBBNRB.mjs} +1 -1
- package/dist/{chunk-KN65DDFI.mjs → chunk-CVLUVZR3.mjs} +1 -1
- package/dist/{chunk-CXV6AWOX.mjs → chunk-D3B2YO7G.mjs} +1 -1
- package/dist/{chunk-RTAA6HZ2.mjs → chunk-DA2H3N3G.mjs} +1 -1
- package/dist/{chunk-BWTA3BKK.mjs → chunk-DLUWDQSW.mjs} +1 -1
- package/dist/{chunk-SRCJSWQF.mjs → chunk-EOXVYLPB.mjs} +1 -1
- package/dist/{chunk-CG2SBWT7.mjs → chunk-EW64VNFT.mjs} +1 -1
- package/dist/{chunk-AV5SA2JB.mjs → chunk-EZEZEBLI.mjs} +1 -1
- package/dist/{chunk-BXHNSQWH.mjs → chunk-FOISWNF5.mjs} +1 -1
- package/dist/{chunk-E37JPSPB.mjs → chunk-FRKGQKEM.mjs} +1 -1
- package/dist/{chunk-XHMVS6GT.mjs → chunk-FV3W3WL7.mjs} +1 -1
- package/dist/{chunk-IN55EBPV.mjs → chunk-GS2VFNHY.mjs} +1 -1
- package/dist/{chunk-XBCYPOFD.mjs → chunk-GTK2SGS5.mjs} +1 -1
- package/dist/{chunk-ISBVFNWD.mjs → chunk-IDG2O4B7.mjs} +1 -1
- package/dist/{chunk-OFXZKSCN.mjs → chunk-IPXOPQPI.mjs} +1 -1
- package/dist/{chunk-LALFQI3P.mjs → chunk-IV5HRCWW.mjs} +1 -1
- package/dist/{chunk-IEUDWPYZ.mjs → chunk-JXFCIH2E.mjs} +1 -1
- package/dist/{chunk-EHSOO47V.mjs → chunk-KEOMDWUC.mjs} +1 -1
- package/dist/{chunk-QQ36F4C4.mjs → chunk-KOXC4RIH.mjs} +1 -1
- package/dist/{chunk-QRJOCPHI.mjs → chunk-KTET6W73.mjs} +1 -1
- package/dist/{chunk-EGHHWTFA.mjs → chunk-LG2AWHTC.mjs} +1 -1
- package/dist/{chunk-6VPRGZON.mjs → chunk-MNI6AM7Q.mjs} +1 -1
- package/dist/{chunk-IQKWNF37.mjs → chunk-MXFCHKIK.mjs} +1 -1
- package/dist/{chunk-KLEXMJR2.mjs → chunk-NZS3XKXU.mjs} +1 -1
- package/dist/{chunk-XP4XLR2J.mjs → chunk-OB5WMODY.mjs} +1 -1
- package/dist/{chunk-C4UPRDGQ.mjs → chunk-OCYVZBS7.mjs} +1 -1
- package/dist/{chunk-XCCL5CIT.mjs → chunk-P6VHSIQK.mjs} +1 -1
- package/dist/{chunk-UKYWLNKE.mjs → chunk-PEOZPVWF.mjs} +1 -1
- package/dist/{chunk-ZDOLX6I2.mjs → chunk-PEQOQ7BK.mjs} +1 -1
- package/dist/{chunk-GLLR2OOI.mjs → chunk-PFLESLNT.mjs} +1 -1
- package/dist/{chunk-TAYYCGWX.mjs → chunk-PM35MWKG.mjs} +1 -1
- package/dist/{chunk-AQLCYCLG.mjs → chunk-PXPSM7OQ.mjs} +1 -1
- package/dist/{chunk-UDPQ4MXR.mjs → chunk-R7LPCFUJ.mjs} +1 -1
- package/dist/{chunk-4TVYOBYI.mjs → chunk-RK2CAIEF.mjs} +1 -1
- package/dist/{chunk-BHKBIYMM.mjs → chunk-RUOYGMOR.mjs} +1 -1
- package/dist/{chunk-43IUXVGW.mjs → chunk-SNZ5BAQQ.mjs} +1 -1
- package/dist/chunk-SRUG246N.mjs +4 -0
- package/dist/{chunk-OFFFATED.mjs → chunk-TCXAETN2.mjs} +1 -1
- package/dist/{chunk-NOHO4XDS.mjs → chunk-TO2UDP5T.mjs} +1 -1
- package/dist/{chunk-SG5QL77J.mjs → chunk-TO7KJNKC.mjs} +1 -1
- package/dist/{chunk-QDYF4Z2F.mjs → chunk-TUI4S4GI.mjs} +1 -1
- package/dist/{chunk-MWXZUSRT.mjs → chunk-TWGRQW4P.mjs} +1 -1
- package/dist/{chunk-N25B5TQ5.mjs → chunk-TZKQXT7Y.mjs} +1 -1
- package/dist/{chunk-DYHW653F.mjs → chunk-UCHNFFXQ.mjs} +1 -1
- package/dist/{chunk-X3JZSN3W.mjs → chunk-UZSBX5GO.mjs} +1 -1
- package/dist/{chunk-D6W4VUUS.mjs → chunk-VIPT3OVD.mjs} +1 -1
- package/dist/{chunk-XGIYNUGC.mjs → chunk-VNYUNZ3M.mjs} +1 -1
- package/dist/{chunk-2BR55L74.mjs → chunk-VRE6VCHX.mjs} +1 -1
- package/dist/{chunk-6U2XBCMC.mjs → chunk-WBJENB4Y.mjs} +1 -1
- package/dist/{chunk-RIK7YEA6.mjs → chunk-WG6ATCG3.mjs} +1 -1
- package/dist/{chunk-4TU4OACM.mjs → chunk-WN2LPOQP.mjs} +1 -1
- package/dist/{chunk-ZLSF5YXT.mjs → chunk-XGRRLABA.mjs} +1 -1
- package/dist/{chunk-MGJTWNXD.mjs → chunk-XR55FO72.mjs} +1 -1
- package/dist/chunk-YEKQJ4YC.mjs +1 -0
- package/dist/{chunk-UEBQJNVT.mjs → chunk-ZGQC6O62.mjs} +1 -1
- package/dist/common-types.mjs +1 -1
- package/dist/components/AdvancedComponents/CommentSection.mjs +1 -1
- package/dist/components/AdvancedComponents/EditableField.mjs +1 -1
- package/dist/components/AdvancedComponents/NAVIGATION_TABS_README.mjs +1 -1
- package/dist/components/AdvancedComponents/app-header.mjs +1 -1
- package/dist/components/AdvancedComponents/index.mjs +1 -1
- package/dist/components/AdvancedComponents/navigation-tabs.mjs +1 -1
- package/dist/components/AdvancedComponents/notifications-panel.mjs +1 -1
- package/dist/components/AdvancedComponents/sidebar.mjs +1 -1
- package/dist/components/AdvancedComponents/switch.mjs +1 -1
- package/dist/components/AdvancedComponents/theme-provider.mjs +3 -1
- package/dist/components/AdvancedComponents/theme-toggle.mjs +1 -1
- package/dist/components/AdvancedComponents/user-selection.mjs +1 -1
- package/dist/components/Blocks/Banner.js +1 -2
- package/dist/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.js +1 -2
- package/dist/components/Blocks/CallToAction.mjs +1 -1
- package/dist/components/Blocks/CaseStudy.mjs +1 -1
- package/dist/components/Blocks/Code.client.mjs +1 -1
- package/dist/components/Blocks/Code.mjs +1 -1
- package/dist/components/Blocks/CollapsibleArea.js +1 -2
- package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
- package/dist/components/Blocks/ConsultantProfile.mjs +1 -1
- package/dist/components/Blocks/Content.js +1 -2
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/CopyButton.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.js +1 -2
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/HeadingImage.mjs +1 -1
- package/dist/components/Blocks/ImageBlock.mjs +1 -1
- package/dist/components/Blocks/InfoTile.mjs +1 -1
- package/dist/components/Blocks/Insight.mjs +1 -1
- package/dist/components/Blocks/MOTD.mjs +1 -1
- package/dist/components/Blocks/MediaBlock.mjs +1 -1
- package/dist/components/Blocks/OrgChart.mjs +1 -1
- package/dist/components/Blocks/ProposalSummary.mjs +1 -1
- package/dist/components/Blocks/RelatedPosts.js +1 -2
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.js +1 -2
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/ReusableContentBlock.js +1 -2
- package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
- package/dist/components/Blocks/WhyUs.mjs +1 -1
- package/dist/components/Blocks/index.js +1 -2
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/CRM/CogeBoard.mjs +1 -1
- package/dist/components/CRM/DealCard.mjs +1 -1
- package/dist/components/CRM/DealDetails.mjs +1 -1
- package/dist/components/CRM/KanbanBoard.mjs +1 -1
- package/dist/components/CRM/KanbanColumn.mjs +1 -1
- package/dist/components/CRM/NewCustomerForm.mjs +1 -1
- package/dist/components/CRM/NewDealForm.mjs +1 -1
- package/dist/components/CRM/index.mjs +1 -1
- package/dist/components/CRM/mockData.mjs +1 -1
- package/dist/components/Cards/ContentCard.js +1 -2
- package/dist/components/Cards/ContentCard.mjs +1 -1
- package/dist/components/Cards/CustomerCard.mjs +1 -1
- package/dist/components/Cards/EventCard.mjs +1 -1
- package/dist/components/Cards/FeatureCard.js +1 -2
- package/dist/components/Cards/FeatureCard.mjs +1 -1
- package/dist/components/Cards/HeroCard.mjs +1 -1
- package/dist/components/Cards/Image.mjs +1 -1
- package/dist/components/Cards/PricingCard.mjs +1 -1
- package/dist/components/Cards/ProjectCard.mjs +1 -1
- package/dist/components/Cards/ServiceCard.mjs +1 -1
- package/dist/components/Cards/index.js +4 -5
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/Chat/CAPABILITIES_README.mjs +1 -1
- package/dist/components/Chat/ChatCardArtefact.mjs +1 -1
- package/dist/components/Chat/ChatCardTask.mjs +1 -1
- package/dist/components/Chat/ChatInterfaceMessages.mjs +1 -1
- package/dist/components/Chat/ChatMessage.mjs +1 -1
- package/dist/components/Chat/CopilotInterface.d.ts +1 -1
- package/dist/components/Chat/CopilotInterface.js +1 -1
- package/dist/components/Chat/CopilotInterface.mjs +1 -1
- package/dist/components/Chat/EnhancedChatInterface.mjs +1 -1
- package/dist/components/Chat/ai-chat-interface.mjs +3 -1
- package/dist/components/Chat/capabilities-config.mjs +1 -1
- package/dist/components/Chat/capabilities-data.mjs +1 -1
- package/dist/components/Chat/capabilities.mjs +1 -1
- package/dist/components/Chat/capability-menu.mjs +1 -1
- package/dist/components/Chat/chat-session-sidebar.mjs +1 -1
- package/dist/components/Chat/hooks/useTask.mjs +1 -1
- package/dist/components/Chat/index.js +2 -2
- package/dist/components/Chat/index.mjs +1 -1
- package/dist/components/DeliveryLead/DeliveryLeadSubmission.mjs +1 -1
- package/dist/components/DeliveryLead/DeliveryLeadSubmissionList.mjs +1 -1
- package/dist/components/DeliveryLead/DeliveryLeadSubmissionWithList.mjs +1 -1
- package/dist/components/DeliveryLead/index.mjs +1 -1
- package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +1 -1
- package/dist/components/DigitalColleagues/DashboardHeader.mjs +1 -1
- package/dist/components/DigitalColleagues/DigitalColleageusLayout.mjs +1 -1
- package/dist/components/DigitalColleagues/MainPage.mjs +3 -1
- package/dist/components/DigitalColleagues/ManagementSidebar.mjs +1 -1
- package/dist/components/DigitalColleagues/Pages/dashboardpage.mjs +3 -1
- package/dist/components/DigitalColleagues/SearchableSelect.mjs +1 -1
- package/dist/components/DigitalColleagues/Views/ColleaguesView.mjs +1 -1
- package/dist/components/DigitalColleagues/Views/KnowledgeView.mjs +1 -1
- package/dist/components/DigitalColleagues/Views/TeamsIndexView.mjs +1 -1
- package/dist/components/DigitalColleagues/Views/index.mjs +1 -1
- package/dist/components/DigitalColleagues/colleague-card.mjs +1 -1
- package/dist/components/DigitalColleagues/colleague-form.mjs +1 -1
- package/dist/components/DigitalColleagues/colleague-type-selection.mjs +1 -1
- package/dist/components/DigitalColleagues/digital-colleague-clone.mjs +1 -1
- package/dist/components/DigitalColleagues/digital-colleague-options.mjs +1 -1
- package/dist/components/DigitalColleagues/test-data.mjs +1 -1
- package/dist/components/HeaderFooter/AppLauncher.mjs +1 -1
- package/dist/components/HeaderFooter/BrandLogo.mjs +1 -1
- package/dist/components/HeaderFooter/Footer.mjs +1 -1
- package/dist/components/HeaderFooter/Header.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderMenu.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderMenuItem.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderMobile.mjs +1 -1
- package/dist/components/HeaderFooter/RelatedPagesMenu.mjs +1 -1
- package/dist/components/HeaderFooter/SectionHeading.js +1 -2
- package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
- package/dist/components/HeaderFooter/SimpleHeader.mjs +1 -1
- package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/DashboardHero/DashboardHero.mjs +1 -1
- package/dist/components/Heros/DashboardHero/index.mjs +1 -1
- package/dist/components/Heros/HighImpact/index.js +1 -2
- package/dist/components/Heros/HighImpact/index.mjs +1 -1
- package/dist/components/Heros/LowImpact/index.js +1 -2
- package/dist/components/Heros/LowImpact/index.mjs +1 -1
- package/dist/components/Heros/MediumImpact/index.js +1 -2
- package/dist/components/Heros/MediumImpact/index.mjs +1 -1
- package/dist/components/Heros/PostHero/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.js +1 -2
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/SectionHero/index.mjs +1 -1
- package/dist/components/Heros/index.js +1 -2
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Holidays/ApproveLeave.mjs +1 -1
- package/dist/components/Holidays/CalendarView.mjs +1 -1
- package/dist/components/Holidays/HolidayGrid.mjs +1 -1
- package/dist/components/Holidays/HolidayTracker.mjs +1 -1
- package/dist/components/Holidays/RequestLeave.mjs +1 -1
- package/dist/components/Holidays/index.mjs +1 -1
- package/dist/components/Icons/ScrollDownIcon.mjs +3 -1
- package/dist/components/Images/DynamicIcon.mjs +1 -1
- package/dist/components/Images/IconIndex.mjs +1 -1
- package/dist/components/Images/customIconList.mjs +1 -1
- package/dist/components/Images/index.mjs +1 -1
- package/dist/components/Layouts/FeatureGrid.mjs +1 -1
- package/dist/components/Layouts/NewsGrid.mjs +1 -1
- package/dist/components/Layouts/NewsList.mjs +1 -1
- package/dist/components/Layouts/OutputHeaderFooter.js +2 -3
- package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
- package/dist/components/Layouts/Print.js +2 -3
- package/dist/components/Layouts/Print.mjs +1 -1
- package/dist/components/Layouts/SlideShow.js +3 -4
- package/dist/components/Layouts/SlideShow.mjs +1 -1
- package/dist/components/Layouts/TextAndImages.mjs +1 -1
- package/dist/components/Layouts/index.js +5 -6
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Menus/Categories.mjs +1 -1
- package/dist/components/Menus/Filter.mjs +1 -1
- package/dist/components/Menus/Pagination.mjs +1 -1
- package/dist/components/Menus/ProjectTeam.mjs +1 -1
- package/dist/components/Menus/RelatedContent.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.mjs +1 -1
- package/dist/components/Menus/SidebarRight.mjs +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Other/AnimatedBorder.mjs +3 -1
- package/dist/components/Other/Container.mjs +1 -1
- package/dist/components/Other/CustomLink.mjs +1 -1
- package/dist/components/Other/PageShape.mjs +1 -1
- package/dist/components/Other/ThemeProvider.mjs +1 -1
- package/dist/components/Other/index.mjs +1 -1
- package/dist/components/Payload/Card/index.mjs +1 -1
- package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
- package/dist/components/Payload/Link/index.mjs +1 -1
- package/dist/components/Payload/Logo/index.mjs +1 -1
- package/dist/components/Payload/Media/ImageMedia/index.mjs +1 -1
- package/dist/components/Payload/Media/VideoMedia/index.mjs +1 -1
- package/dist/components/Payload/Media/index.mjs +1 -1
- package/dist/components/Payload/PageRange/index.mjs +1 -1
- package/dist/components/Payload/Pagination/index.mjs +1 -1
- package/dist/components/Payload/RichText/index.js +1 -2
- package/dist/components/Payload/RichText/index.mjs +1 -1
- package/dist/components/Payload/RichText/nodeFormat.mjs +1 -1
- package/dist/components/Payload/RichText/serialize.js +1 -2
- package/dist/components/Payload/RichText/serialize.mjs +1 -1
- package/dist/components/Payload/index.js +1 -2
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/Projects/AddEpicModal.mjs +1 -1
- package/dist/components/Projects/AddSprintModal.mjs +1 -1
- package/dist/components/Projects/AddTaskModal.mjs +1 -1
- package/dist/components/Projects/EpicFilter.mjs +1 -1
- package/dist/components/Projects/EpicsView.mjs +1 -1
- package/dist/components/Projects/FileView.mjs +1 -1
- package/dist/components/Projects/KanbanBoardView.mjs +1 -1
- package/dist/components/Projects/KanbanColumn.mjs +1 -1
- package/dist/components/Projects/PlanningView.mjs +1 -1
- package/dist/components/Projects/ProjectPage.mjs +3 -1
- package/dist/components/Projects/ProjectView.mjs +1 -1
- package/dist/components/Projects/ProjectsIndexView.mjs +1 -1
- package/dist/components/Projects/TaskCard.mjs +1 -1
- package/dist/components/Projects/TaskDetailsModal.mjs +1 -1
- package/dist/components/Projects/TaskSelect.mjs +1 -1
- package/dist/components/Projects/TaskSidebar.mjs +1 -1
- package/dist/components/Projects/TasksView.mjs +1 -1
- package/dist/components/Projects/TeamSwitcher.mjs +1 -1
- package/dist/components/Projects/business-unit-switcher.mjs +1 -1
- package/dist/components/Projects/business-units.mjs +1 -1
- package/dist/components/Projects/file-list.mjs +1 -1
- package/dist/components/Projects/project-card.mjs +1 -1
- package/dist/components/Projects/project-form.mjs +1 -1
- package/dist/components/Projects/team-card.mjs +1 -1
- package/dist/components/Projects/team-switcher-bar.mjs +3 -1
- package/dist/components/Projects/test-data.mjs +1 -1
- package/dist/components/dc-temp/CHANGES_SUMMARY.mjs +1 -1
- package/dist/components/dc-temp/COLLEAGUE_SELECTION_README.mjs +1 -1
- package/dist/components/dc-temp/DIGITAL_COLLEAGUE_UPDATES.mjs +1 -1
- package/dist/components/dc-temp/IMPLEMENTATION_SUMMARY.mjs +1 -1
- package/dist/components/dc-temp/TEAMS_README.mjs +1 -1
- package/dist/components/dc-temp/creative.mjs +1 -1
- package/dist/components/dc-temp/dashboard-integration-example.mjs +1 -1
- package/dist/components/dc-temp/enhanced-header.mjs +3 -1
- package/dist/components/dc-temp/headerlogo.mjs +1 -1
- package/dist/components/dc-temp/icon-mapper.mjs +1 -1
- package/dist/components/dc-temp/index.mjs +1 -1
- package/dist/components/dc-temp/knowledge-browser.mjs +1 -1
- package/dist/components/dc-temp/knowledge-search.mjs +1 -1
- package/dist/components/dc-temp/loading.mjs +1 -1
- package/dist/components/dc-temp/markdown-renderer.mjs +1 -1
- package/dist/components/dc-temp/mock-data.mjs +1 -1
- package/dist/components/dc-temp/sidebar.mjs +3 -1
- package/dist/components/dc-temp/utils.mjs +1 -1
- package/dist/components/index.d.ts +0 -1
- package/dist/components/index.js +11 -12
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/alert.mjs +1 -1
- package/dist/components/ui/avatar.mjs +1 -1
- package/dist/components/ui/badge.mjs +1 -1
- package/dist/components/ui/breadcrumb.mjs +1 -1
- package/dist/components/ui/button.mjs +1 -1
- package/dist/components/ui/calendar.mjs +1 -1
- package/dist/components/ui/card.mjs +1 -1
- package/dist/components/ui/checkbox.mjs +1 -1
- package/dist/components/ui/collapsible.mjs +1 -1
- package/dist/components/ui/command.mjs +1 -1
- package/dist/components/ui/dialog.mjs +1 -1
- package/dist/components/ui/dropdown-menu.mjs +1 -1
- package/dist/components/ui/hover-card.mjs +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/components/ui/input.mjs +1 -1
- package/dist/components/ui/inputs/common/styles/index.mjs +1 -1
- package/dist/components/ui/inputs/text-input/index.mjs +1 -1
- package/dist/components/ui/inputs/textarea-input/index.mjs +1 -1
- package/dist/components/ui/label.mjs +1 -1
- package/dist/components/ui/pagination.mjs +1 -1
- package/dist/components/ui/popover.mjs +1 -1
- package/dist/components/ui/progress.mjs +1 -1
- package/dist/components/ui/scroll-area.mjs +1 -1
- package/dist/components/ui/select.mjs +1 -1
- package/dist/components/ui/separator.mjs +1 -1
- package/dist/components/ui/sheet.mjs +1 -1
- package/dist/components/ui/sidebar.mjs +1 -1
- package/dist/components/ui/skeleton.mjs +1 -1
- package/dist/components/ui/switch.mjs +1 -1
- package/dist/components/ui/tabs.mjs +1 -1
- package/dist/components/ui/textarea.mjs +1 -1
- package/dist/components/ui/toast.mjs +1 -1
- package/dist/components/ui/toaster.mjs +1 -1
- package/dist/components/ui/toggle-group.mjs +1 -1
- package/dist/components/ui/toggle.mjs +1 -1
- package/dist/components/ui/tooltip.mjs +1 -1
- package/dist/constants.mjs +1 -1
- package/dist/fonts/Manrope-Bold.mjs +1 -1
- package/dist/fonts/Manrope-ExtraBold.mjs +1 -1
- package/dist/fonts/Manrope-ExtraLight.mjs +1 -1
- package/dist/fonts/Manrope-Light.mjs +1 -1
- package/dist/fonts/Manrope-Medium.mjs +1 -1
- package/dist/fonts/Manrope-Regular.mjs +1 -1
- package/dist/fonts/Manrope-SemiBold.mjs +1 -1
- package/dist/hooks/index.mjs +1 -1
- package/dist/hooks/use-local-storage.mjs +1 -1
- package/dist/hooks/use-mobile.mjs +1 -1
- package/dist/hooks/use-toast.mjs +1 -1
- package/dist/images/cortex-reply-bw.mjs +1 -1
- package/dist/images/cortex-reply-dark.mjs +1 -1
- package/dist/images/cortex-reply-gradient.mjs +1 -1
- package/dist/images/cortex-reply-light.mjs +1 -1
- package/dist/images/cortex-reply.mjs +1 -1
- package/dist/images/hero/hero-3.mjs +1 -1
- package/dist/images/hero/image-hero1.mjs +1 -1
- package/dist/images/hero/pattern-1.mjs +1 -1
- package/dist/images/hero/pattern-2.mjs +1 -1
- package/dist/index.js +16 -17
- 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 -2
- package/dist/pages/Blog.mjs +1 -1
- package/dist/pages/Documentation.mjs +3 -1
- package/dist/pages/IndexPage.mjs +3 -1
- package/dist/pages/Intranet.mjs +1 -1
- package/dist/pages/LandingPage.js +3 -4
- package/dist/pages/LandingPage.mjs +3 -1
- package/dist/pages/Page.js +1 -2
- package/dist/pages/Page.mjs +3 -1
- package/dist/pages/Publish.js +5 -6
- package/dist/pages/Publish.mjs +1 -1
- package/dist/pages/Website.js +1 -2
- package/dist/pages/Website.mjs +1 -1
- package/dist/sections/AboutSection.js +1 -2
- package/dist/sections/AboutSection.mjs +1 -1
- package/dist/sections/BlogDetail.js +1 -2
- package/dist/sections/BlogDetail.mjs +1 -1
- package/dist/sections/BlogList.js +2 -3
- package/dist/sections/BlogList.mjs +1 -1
- package/dist/sections/BlogListSection.mjs +1 -1
- package/dist/sections/ContactSection.js +1 -2
- package/dist/sections/ContactSection.mjs +1 -1
- package/dist/sections/ImageSection.mjs +1 -1
- package/dist/sections/MainPageSection.mjs +1 -1
- package/dist/sections/PageSections.js +2 -3
- package/dist/sections/PageSections.mjs +1 -1
- package/dist/sections/PricingSection.js +1 -2
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/ServiceDetail.js +1 -2
- package/dist/sections/ServiceDetail.mjs +1 -1
- package/dist/sections/ServiceDetailSection.js +1 -2
- package/dist/sections/ServiceDetailSection.mjs +1 -1
- package/dist/sections/ServiceSection.js +1 -2
- package/dist/sections/ServiceSection.mjs +1 -1
- package/dist/sections/form/index.d.ts +5 -1
- package/dist/sections/form/index.js +1 -2
- package/dist/sections/form/index.mjs +1 -1
- package/dist/sections/form/server/contact-us-form-submit.mjs +1 -1
- package/dist/sections/form/server/index.d.ts +2 -0
- package/dist/sections/form/server/index.js +4 -0
- package/dist/sections/form/server/index.mjs +1 -0
- package/dist/sections/index.d.ts +1 -0
- package/dist/sections/index.js +3 -4
- package/dist/sections/index.mjs +1 -1
- package/dist/styles/Colors.mjs +1 -1
- package/dist/styles/Typography.mjs +1 -1
- package/dist/test-data/capabilities.mjs +1 -1
- package/dist/tests/payload.mjs +1 -1
- package/dist/utils/AOSInit.mjs +1 -1
- package/dist/utils/BankHolidays.mjs +1 -1
- package/dist/utils/DaysUtil.mjs +1 -1
- package/dist/utils/canUseDOM.mjs +1 -1
- package/dist/utils/cn.mjs +1 -1
- package/dist/utils/formatDateTime.mjs +1 -1
- package/dist/utils/getTableOfContents.mjs +1 -1
- package/dist/utils/getURL.mjs +1 -1
- package/dist/utils/index.mjs +1 -1
- package/dist/utils/setStaggeredDelay.mjs +1 -1
- package/dist/utils/useClickableCard.mjs +1 -1
- package/package.json +7 -1
- package/dist/about-1-ANS44UVM.png +0 -0
- package/dist/about-2-NDWHP4QV.png +0 -0
- package/dist/about-3-RNUOVF6S.png +0 -0
- package/dist/about-4-V5ITRBOZ.png +0 -0
- package/dist/chunk-3ALU5XV6.mjs +0 -1
- package/dist/chunk-3MKCQLBY.mjs +0 -4
- package/dist/chunk-3RJA57BI.mjs +0 -4
- package/dist/chunk-3SK6PULC.mjs +0 -4
- package/dist/chunk-3TVLETYW.mjs +0 -1
- package/dist/chunk-3WPEAKCQ.mjs +0 -4
- package/dist/chunk-44QDT35M.mjs +0 -1
- package/dist/chunk-4BUBW5TX.mjs +0 -4
- package/dist/chunk-5C2TR5P3.mjs +0 -4
- package/dist/chunk-5ME75SQ2.mjs +0 -218
- package/dist/chunk-6AFX6PFG.mjs +0 -470
- package/dist/chunk-6XXAI7IR.mjs +0 -1
- package/dist/chunk-7DICAJS4.mjs +0 -1
- package/dist/chunk-A24IEDVI.mjs +0 -1
- package/dist/chunk-BUC3OG2I.mjs +0 -4
- package/dist/chunk-CA7JDZIQ.mjs +0 -4
- package/dist/chunk-DBVX4BDP.mjs +0 -4
- package/dist/chunk-H4X3VQIN.mjs +0 -4
- package/dist/chunk-IB6VPDZQ.mjs +0 -1
- package/dist/chunk-IZ3PDOST.mjs +0 -1
- package/dist/chunk-KGYX6TIY.mjs +0 -4
- package/dist/chunk-KSYES4GX.mjs +0 -1
- package/dist/chunk-KUVGGKGR.mjs +0 -4
- package/dist/chunk-M6LJ4BNZ.mjs +0 -1
- package/dist/chunk-N5SEZED7.mjs +0 -1
- package/dist/chunk-OJLQ6G4W.mjs +0 -4
- package/dist/chunk-PA3BZDTY.mjs +0 -245
- package/dist/chunk-PPZXBKTO.mjs +0 -4
- package/dist/chunk-TLBLUYXL.mjs +0 -1
- package/dist/chunk-U3ZHU3UY.mjs +0 -1
- package/dist/chunk-UG7D3VNG.mjs +0 -1
- package/dist/chunk-VBGNLDO6.mjs +0 -4
- package/dist/chunk-WV2LZOPM.mjs +0 -1
- package/dist/chunk-YX3BAJ2N.mjs +0 -1
- package/dist/graphql-NFIL2UYH.mjs +0 -177
- package/dist/pattern-1-B7SDCBJ3.png +0 -0
- package/dist/waves-6HGOFMRK.jpg +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use client";import{a as L}from"../../chunk-
|
|
4
|
+
"use client";import{a as L}from"../../chunk-A2AEX4YB.mjs";import{a as z}from"../../chunk-DBY4SXQI.mjs";import{a as R}from"../../chunk-I3E2TYYZ.mjs";import"../../chunk-LTTO57ZK.mjs";import{d as S}from"../../chunk-Q2DPE66H.mjs";import{a as E}from"../../chunk-FT3AE7L2.mjs";import{a as I}from"../../chunk-L5JPAKPM.mjs";import{b as l}from"../../chunk-ZUA4KNIR.mjs";import{a as n,c}from"../../chunk-SOLZ4VQH.mjs";import{b as x}from"../../chunk-CSBGSBEU.mjs";import{a as u,b,c as w,d as T,e as f}from"../../chunk-YO3GQYRJ.mjs";import{a as r}from"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";import{useRef as P,useEffect as Z,useState as $}from"react";import{motion as aa,AnimatePresence as ea}from"framer-motion";import{Send as ta,Bot as o,User as m,Menu as sa,Paperclip as ra,X as ia,FileText as la,Image as na,File as ca,Download as oa,ExternalLink as ma}from"lucide-react";import{jsx as a,jsxs as t}from"react/jsx-runtime";function Fa({messages:y,input:C,isTyping:U=!1,selectedTeam:p,currentSessionTitle:H,capabilities:O,fileUploads:N,isDragOver:K,enableFileUpload:k,onInputChange:j,onSendMessage:W,onKeyPress:_,onFileUpload:A,onRemoveFile:G,onDragOver:g,className:J}){let M=P(null),D=P(null),[v,h]=$(!1);Z(()=>{M.current?.scrollIntoView({behavior:"smooth"})},[y]);let da=S({path:[],selectedItems:[],filters:p?{teamId:p.id}:{}}),V=e=>{A(e.target.files),e.target.files&&(e.target.value="")},X=e=>{e.preventDefault(),g(!0)},q=e=>{e.preventDefault(),g(!1)},Q=e=>{e.preventDefault(),g(!1),A(e.dataTransfer.files)},F=e=>{if(e===0)return"0 Bytes";let d=1024,s=["Bytes","KB","MB","GB"],i=Math.floor(Math.log(e)/Math.log(d));return parseFloat((e/Math.pow(d,i)).toFixed(2))+" "+s[i]},B=e=>e.startsWith("image/")?a(na,{className:"h-4 w-4"}):e.startsWith("text/")?a(la,{className:"h-4 w-4"}):a(ca,{className:"h-4 w-4"}),Y=e=>{let d=e.role==="assistant",s=e.role==="user";switch(e.type){case"text":return t("div",{className:r("flex items-start gap-3 mb-4",s?"flex-row-reverse":""),children:[a(n,{className:"h-8 w-8 shrink-0",children:a(c,{className:r(s?"bg-primary text-primary-foreground":"bg-muted"),children:s?a(m,{className:"h-4 w-4"}):a(o,{className:"h-4 w-4"})})}),a("div",{className:r("max-w-[80%] rounded-lg px-4 py-2",s?"bg-primary text-primary-foreground":"bg-muted"),children:a("p",{className:"text-sm",children:e.content})})]});case"image":return t("div",{className:r("flex items-start gap-3 mb-4",s?"flex-row-reverse":""),children:[a(n,{className:"h-8 w-8 shrink-0",children:a(c,{className:r(s?"bg-primary text-primary-foreground":"bg-muted"),children:s?a(m,{className:"h-4 w-4"}):a(o,{className:"h-4 w-4"})})}),t("div",{className:r("max-w-[80%] rounded-lg overflow-hidden",s?"bg-primary text-primary-foreground":"bg-muted"),children:[a("img",{src:e.image.url,alt:e.image.alt||"Uploaded image",className:"max-w-full h-auto max-h-64 object-cover"}),e.content&&a("div",{className:"p-2",children:a("p",{className:"text-sm",children:e.content})})]})]});case"file":return t("div",{className:r("flex items-start gap-3 mb-4",s?"flex-row-reverse":""),children:[a(n,{className:"h-8 w-8 shrink-0",children:a(c,{className:r(s?"bg-primary text-primary-foreground":"bg-muted"),children:s?a(m,{className:"h-4 w-4"}):a(o,{className:"h-4 w-4"})})}),t("div",{className:r("max-w-[80%] rounded-lg px-4 py-2",s?"bg-primary text-primary-foreground":"bg-muted"),children:[t("div",{className:"flex items-center gap-2",children:[B(e.file.type),t("div",{className:"flex-1 min-w-0",children:[a("p",{className:"text-sm font-medium truncate",children:e.file.name}),a("p",{className:"text-xs opacity-70",children:F(e.file.size)})]}),a(l,{variant:"ghost",size:"sm",onClick:()=>window.open(e.file.url,"_blank"),className:"h-8 w-8 p-0",children:a(oa,{className:"h-4 w-4"})})]}),e.content&&a("p",{className:"text-sm mt-2",children:e.content})]})]});case"card":return t("div",{className:r("flex items-start gap-3 mb-4",s?"flex-row-reverse":""),children:[a(n,{className:"h-8 w-8 shrink-0",children:a(c,{className:r(s?"bg-primary text-primary-foreground":"bg-muted"),children:s?a(m,{className:"h-4 w-4"}):a(o,{className:"h-4 w-4"})})}),t("div",{className:"max-w-[80%]",children:[e.content&&a("div",{className:"mb-2",children:a("p",{className:"text-sm",children:e.content})}),e.card.variant==="task"&&a(R,{data:{id:e.card.data.id,fetchLatest:!1,taskData:e.card.data}}),e.card.variant==="artefact"&&a(z,{artefact:e.card.description||"",taskId:e.card.data.id,taskData:e.card.data}),e.card.variant==="generic"&&t(u,{className:"w-full max-w-md",children:[t(b,{children:[a(w,{className:"text-lg",children:e.card.title}),e.card.description&&a(T,{children:e.card.description})]}),a(f,{children:a("pre",{className:"text-sm",children:JSON.stringify(e.card.data,null,2)})})]})]})]});case"reference":return t("div",{className:r("flex items-start gap-3 mb-4",s?"flex-row-reverse":""),children:[a(n,{className:"h-8 w-8 shrink-0",children:a(c,{className:r(s?"bg-primary text-primary-foreground":"bg-muted"),children:s?a(m,{className:"h-4 w-4"}):a(o,{className:"h-4 w-4"})})}),t("div",{className:"max-w-[80%]",children:[e.content&&a("div",{className:"mb-2",children:a("p",{className:"text-sm",children:e.content})}),a(u,{className:"w-full",children:a(f,{className:"p-4",children:a("div",{className:"space-y-2",children:e.references.map(i=>t("div",{className:"flex items-center gap-2 p-2 rounded-md bg-muted/50",children:[a(x,{variant:"outline",children:i.type}),t("div",{className:"flex-1 min-w-0",children:[a("p",{className:"text-sm font-medium truncate",children:i.title}),i.description&&a("p",{className:"text-xs text-muted-foreground truncate",children:i.description})]}),i.url&&a(l,{variant:"ghost",size:"sm",onClick:()=>window.open(i.url,"_blank"),className:"h-8 w-8 p-0",children:a(ma,{className:"h-4 w-4"})})]},i.id))})})})]})]});case"menu":return t("div",{className:r("flex items-start gap-3 mb-4",s?"flex-row-reverse":""),children:[a(n,{className:"h-8 w-8 shrink-0",children:a(c,{className:r(s?"bg-primary text-primary-foreground":"bg-muted"),children:s?a(m,{className:"h-4 w-4"}):a(o,{className:"h-4 w-4"})})}),t("div",{className:"max-w-[80%]",children:[e.content&&a("div",{className:"mb-2",children:a("p",{className:"text-sm",children:e.content})}),t(u,{className:"w-full",children:[a(b,{children:a(w,{className:"text-lg",children:e.menu.title})}),a(f,{children:a("div",{className:"space-y-2",children:e.menu.items.map(i=>a(l,{variant:"outline",className:"w-full justify-start",onClick:i.action,children:t("div",{className:"text-left",children:[a("p",{className:"font-medium",children:i.label}),i.description&&a("p",{className:"text-xs text-muted-foreground",children:i.description})]})},i.id))})})]})]})]});default:return null}};return t("div",{className:r("flex flex-col h-full",J),children:[t("div",{className:"flex items-center justify-between p-4 border-b",children:[t("div",{className:"flex items-center gap-2",children:[a("h2",{className:"text-lg font-semibold",children:H||"Chat"}),p&&a(x,{variant:"secondary",children:p.name})]}),a(l,{variant:"ghost",size:"sm",onClick:()=>h(!v),className:"h-8 w-8 p-0",children:a(sa,{className:"h-4 w-4"})})]}),a(ea,{children:v&&a(aa.div,{initial:{height:0},animate:{height:"auto"},exit:{height:0},className:"overflow-hidden border-b",children:a(L,{capabilities:O,isOpen:v,onToggle:()=>h(!v),onActionSelect:(e,d)=>{console.log("Action selected:",e,d),h(!1)}})})}),t(E,{className:"flex-1 p-4",onDragOver:X,onDragLeave:q,onDrop:Q,children:[t("div",{className:r("space-y-4",K&&"ring-2 ring-primary ring-offset-2 bg-primary/5"),children:[y.map(e=>a("div",{children:Y(e)},e.id)),U&&t("div",{className:"flex items-start gap-3",children:[a(n,{className:"h-8 w-8 shrink-0",children:a(c,{className:"bg-muted",children:a(o,{className:"h-4 w-4"})})}),a("div",{className:"bg-muted rounded-lg px-4 py-2",children:t("div",{className:"flex items-center gap-1",children:[a("div",{className:"w-2 h-2 bg-current rounded-full animate-pulse"}),a("div",{className:"w-2 h-2 bg-current rounded-full animate-pulse",style:{animationDelay:"0.2s"}}),a("div",{className:"w-2 h-2 bg-current rounded-full animate-pulse",style:{animationDelay:"0.4s"}})]})})]})]}),a("div",{ref:M})]}),N.length>0&&a("div",{className:"p-4 border-t bg-muted/50",children:a("div",{className:"flex flex-wrap gap-2",children:N.map(e=>t("div",{className:"flex items-center gap-2 bg-background rounded-lg p-2 border",children:[B(e.file.type),a("span",{className:"text-sm font-medium",children:e.file.name}),a("span",{className:"text-xs text-muted-foreground",children:F(e.file.size)}),a(l,{variant:"ghost",size:"sm",onClick:()=>G(e.id),className:"h-6 w-6 p-0",children:a(ia,{className:"h-4 w-4"})})]},e.id))})}),t("div",{className:"p-4 border-t",children:[t("div",{className:"flex items-center gap-2",children:[a("div",{className:"flex-1",children:a(I,{placeholder:"Type a message...",value:C,onChange:e=>j(e.target.value),onKeyPress:_,className:"resize-none"})}),k&&a(l,{variant:"outline",size:"sm",onClick:()=>D.current?.click(),className:"h-10 w-10 p-0",children:a(ra,{className:"h-4 w-4"})}),a(l,{onClick:W,disabled:!C.trim()&&N.length===0,className:"h-10 w-10 p-0",children:a(ta,{className:"h-4 w-4"})})]}),k&&a("input",{ref:D,type:"file",multiple:!0,onChange:V,className:"hidden"})]})]})}export{Fa as EnhancedChatInterface};
|
|
@@ -1,2 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
"use client";import{a as E}from"../../chunk-A2AEX4YB.mjs";import{d as B}from"../../chunk-Q2DPE66H.mjs";import{a as A}from"../../chunk-FT3AE7L2.mjs";import{a as k}from"../../chunk-L5JPAKPM.mjs";import{b as n}from"../../chunk-ZUA4KNIR.mjs";import{a as c,c as r}from"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import{a as M}from"../../chunk-YO3GQYRJ.mjs";import{a as u}from"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";import{useRef as U,useEffect as V,useState as I,useCallback as J}from"react";import{motion as g,AnimatePresence as Q}from"framer-motion";import{Send as X,Bot as f,User as q,Menu as G,X as W,Paperclip as Y}from"lucide-react";import{jsx as e,jsxs as i}from"react/jsx-runtime";function de({messages:v,input:b,isTyping:d=!1,selectedTeam:x,currentSessionTitle:Z,capabilities:y,showCapabilities:h=!0,onInputChange:S,onSendMessage:T,onKeyPress:F,fileUploads:l=[],isDragOver:_=!1,enableFileUpload:D=!1,onFileUpload:z,onRemoveFile:O,onDragOver:j,className:P}){let N=U(null),[o,m]=I(!1),[C,$]=I({path:[],selectedItems:[],filters:{}}),L=()=>{N.current?.scrollIntoView({behavior:"smooth"})};V(()=>{L()},[v]);let p=(a,t)=>{console.log("Capability action:",a,t);let s=`Executing ${a} with context: ${JSON.stringify(t.path.map(K=>K.name))}`;m(!1)},R=J(a=>{$(a)},[]),w=()=>B(C),H=()=>{let a=[];return y.forEach(t=>{t.actions&&t.actions.forEach(s=>{a.push({label:s.label,action:()=>p(s.id,{path:[t],selectedItems:[],filters:{}})})}),t.children&&t.children.forEach(s=>{s.type==="list"&&s.data&&a.push({label:`View ${s.name}`,action:()=>m(!0)})})}),a.slice(0,5)};return i(M,{className:`h-full flex flex-col shadow-sm ${P||""}`,children:[e(A,{className:"flex-1 p-4",children:i("div",{className:"space-y-4",children:[e(Q,{children:v.map(a=>{let t=a;return i(g.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},className:u("flex gap-3",a.type==="user"?"flex-row-reverse":"flex-row"),children:[e(c,{className:"h-8 w-8",children:a.type==="user"?e(r,{children:e(q,{className:"h-4 w-4"})}):e(r,{className:"bg-gradient-to-br from-purple-600 to-blue-600 text-white",children:e(f,{className:"h-4 w-4"})})}),i("div",{className:u("max-w-[80%] rounded-2xl px-4 py-3 shadow-sm",a.type==="user"?"bg-primary text-primary-foreground":"bg-muted"),children:[t.messageType==="image"&&t.image&&e("div",{className:"mb-2",children:e("img",{src:t.image.url,alt:t.image.alt||"Uploaded image",className:"max-w-full h-auto max-h-48 rounded-lg"})}),t.messageType==="file"&&t.file&&e("div",{className:"mb-2 p-2 bg-background/50 rounded-lg",children:i("div",{className:"flex items-center gap-2",children:[e("span",{className:"text-sm font-medium",children:t.file.name}),i("span",{className:"text-xs opacity-70",children:[(t.file.size/1024/1024).toFixed(1),"MB"]})]})}),t.messageType==="card"&&t.card&&e("div",{className:"mb-2",children:i("div",{className:"p-3 bg-background/50 rounded-lg",children:[e("h4",{className:"font-medium",children:t.card.title}),t.card.description&&e("p",{className:"text-sm opacity-70 mt-1",children:t.card.description})]})}),t.messageType==="reference"&&t.references&&e("div",{className:"mb-2 space-y-1",children:t.references.map(s=>i("div",{className:"p-2 bg-background/50 rounded-lg",children:[e("p",{className:"text-sm font-medium",children:s.title}),s.description&&e("p",{className:"text-xs opacity-70",children:s.description})]},s.id))}),t.messageType==="menu"&&t.menu&&i("div",{className:"mb-2",children:[e("p",{className:"text-sm font-medium mb-2",children:t.menu.title}),e("div",{className:"space-y-1",children:t.menu.items.map(s=>i("button",{onClick:s.action,className:"w-full text-left p-2 bg-background/50 rounded-lg hover:bg-background/70 transition-colors",children:[e("p",{className:"text-sm font-medium",children:s.label}),s.description&&e("p",{className:"text-xs opacity-70",children:s.description})]},s.id))})]}),e("p",{className:"text-sm leading-relaxed",children:a.content}),e("p",{className:"text-xs opacity-70 mt-2",children:a.timestamp.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})})]})]},a.id)})}),h&&o&&i(g.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},className:"flex gap-3",children:[e(c,{className:"h-8 w-8",children:e(r,{className:"bg-gradient-to-br from-purple-600 to-blue-600 text-white",children:e(f,{className:"h-4 w-4"})})}),e("div",{className:"flex-1 bg-muted rounded-2xl px-4 py-3 shadow-sm",children:e(E,{capabilities:y,isOpen:o,onToggle:()=>m(!o),onActionSelect:p,onContextChange:R,className:"w-full"})})]}),d&&i(g.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},className:"flex gap-3",children:[e(c,{className:"h-8 w-8",children:e(r,{className:"bg-gradient-to-br from-purple-600 to-blue-600 text-white",children:e(f,{className:"h-4 w-4"})})}),e("div",{className:"bg-muted rounded-2xl px-4 py-3 shadow-sm",children:i("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:N})]})}),l&&l.length>0&&e("div",{className:"border-t p-4 bg-muted/10",children:e("div",{className:"flex flex-wrap gap-2",children:l.map(a=>i("div",{className:"flex items-center gap-2 bg-background rounded-lg p-2 border",children:[e("span",{className:"text-sm font-medium",children:a.file.name}),i("span",{className:"text-xs text-muted-foreground",children:[(a.file.size/1024/1024).toFixed(1),"MB"]}),e(n,{variant:"ghost",size:"sm",onClick:()=>O?.(a.id),className:"h-6 w-6 p-0",children:e(W,{className:"h-4 w-4"})})]},a.id))})}),i("div",{className:"border-t p-4 bg-muted/20",children:[i("div",{className:"flex gap-3",children:[e(k,{value:b,onChange:a=>S(a.target.value),onKeyPress:F,placeholder:x?`Ask me about ${x.name.toLowerCase()}...`:"How can I help you today?",className:"flex-1 rounded-2xl bg-background shadow-sm",disabled:d}),D&&e(n,{variant:"outline",size:"icon",onClick:()=>{let a=document.createElement("input");a.type="file",a.multiple=!0,a.onchange=t=>{let s=t.target.files;z?.(s)},a.click()},className:"rounded-2xl h-10 w-10 shadow-sm",children:e(Y,{className:"h-4 w-4"})}),e(n,{onClick:T,disabled:!b.trim()&&(!l||l.length===0)||d,size:"icon",className:"rounded-2xl h-10 w-10 shadow-sm",children:e(X,{className:"h-4 w-4"})})]}),h&&i("div",{className:"flex items-center gap-3 mt-3",children:[i(n,{onClick:()=>m(!o),variant:"outline",size:"sm",className:"rounded-full text-xs flex-shrink-0",children:[e(G,{className:"h-3 w-3 mr-1"}),o?"Hide":"Show"," Capabilities"]}),i("div",{className:"flex flex-wrap gap-2 overflow-hidden",children:[w().map((a,t)=>e(n,{variant:"default",size:"sm",className:"rounded-full text-xs bg-accent hover:bg-accent/80",onClick:()=>p(a.id,C),children:a.label},`context-${a.id}`)),w().length===0&&H().map((a,t)=>e(n,{variant:"outline",size:"sm",className:"rounded-full text-xs",onClick:a.action,children:a.label},`suggestion-${t}`))]})]})]})]})}export{de as AIChatInterface};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../../chunk-
|
|
1
|
+
import"../../chunk-YEKQJ4YC.mjs";var s=[{id:"sales",name:"Sales",description:"Revenue and customer management",iconName:"DollarSign",color:"bg-green-600",type:"category",actions:[{id:"view-pipeline",label:"View Pipeline",description:"See all opportunities in pipeline",iconName:"BarChart",action:e=>console.log("View pipeline",e)},{id:"create-opportunity",label:"Create Opportunity",iconName:"Target",action:e=>console.log("Create opportunity",e)}],children:[{id:"customers",name:"Customers",description:"Customer accounts and contacts",iconName:"Users",color:"bg-blue-500",type:"list",actions:[{id:"add-customer",label:"Add Customer",iconName:"User",action:e=>console.log("Add customer",e)},{id:"export-customers",label:"Export List",iconName:"FileText",action:e=>console.log("Export customers",e)}],data:[{id:"acme-corp",title:"Acme Corp",subtitle:"Enterprise Customer",value:"$125K ARR",metadata:{industry:"Technology",employees:500,lastContact:"2024-01-15"}},{id:"beta-inc",title:"Beta Inc",subtitle:"Mid-market",value:"$45K ARR",metadata:{industry:"Healthcare",employees:150,lastContact:"2024-01-10"}},{id:"gamma-ltd",title:"Gamma Ltd",subtitle:"Small business",value:"$12K ARR",metadata:{industry:"Retail",employees:25,lastContact:"2024-01-08"}}]},{id:"opportunities",name:"Opportunities",description:"Sales pipeline and deals",iconName:"Target",color:"bg-orange-500",type:"list",actions:[{id:"list-won-deals",label:"List Won Deals",iconName:"CheckCircle",action:e=>console.log("List won deals",e)},{id:"list-pending-deals",label:"List Pending",iconName:"Clock",action:e=>console.log("List pending deals",e)}],data:[{id:"opp-1",title:"Enterprise License",subtitle:"Acme Corp",value:"$50K",metadata:{stage:"Negotiation",probability:80,closeDate:"2024-02-15"}},{id:"opp-2",title:"Platform Upgrade",subtitle:"Beta Inc",value:"$25K",metadata:{stage:"Proposal",probability:60,closeDate:"2024-03-01"}}]}]},{id:"marketing",name:"Marketing",description:"Campaigns and lead generation",iconName:"TrendingUp",color:"bg-pink-600",type:"category",actions:[{id:"view-campaigns",label:"View Campaigns",iconName:"BarChart",action:e=>console.log("View campaigns",e)}],children:[{id:"campaigns",name:"Campaigns",description:"Marketing campaigns and performance",iconName:"TrendingUp",color:"bg-purple-500",type:"list",data:[{id:"q1-launch",title:"Q1 Product Launch",subtitle:"Multi-channel campaign",value:"85% CTR",metadata:{budget:25e3,spent:18500,leads:340}},{id:"webinar-series",title:"Webinar Series",subtitle:"Educational content",value:"1,250 attendees",metadata:{budget:5e3,spent:4200,leads:89}}]}]},{id:"projects",name:"Projects",description:"Project management and tracking",iconName:"Briefcase",color:"bg-indigo-600",type:"category",children:[{id:"active-projects",name:"Active Projects",iconName:"Package",color:"bg-green-500",type:"list",data:[{id:"proj-alpha",title:"Project Alpha",subtitle:"Q1 Initiative",value:"75% complete",metadata:{team:"Engineering",deadline:"2024-03-31",status:"On Track"}}]}]},{id:"engineering",name:"Engineering",description:"Development and technical operations",iconName:"Code",color:"bg-purple-600",type:"category",actions:[{id:"view-repos",label:"View Repositories",description:"See all code repositories",iconName:"Git",action:e=>console.log("View repositories",e)},{id:"create-task",label:"Create Task",iconName:"Plus",action:e=>console.log("Create task",e)}],children:[{id:"projects",name:"Projects",description:"Active development projects",iconName:"Briefcase",color:"bg-blue-500",type:"list",actions:[{id:"add-project",label:"Add Project",iconName:"Plus",action:e=>console.log("Add project",e)},{id:"view-tasks",label:"View Tasks",iconName:"List",action:e=>console.log("View tasks",e)}]}]},{id:"design",name:"Design",description:"User experience and visual design",iconName:"Palette",color:"bg-pink-600",type:"category",actions:[{id:"view-designs",label:"View Designs",description:"See all design assets",iconName:"Image",action:e=>console.log("View designs",e)},{id:"create-mockup",label:"Create Mockup",iconName:"Plus",action:e=>console.log("Create mockup",e)}],children:[{id:"assets",name:"Assets",description:"Design assets and components",iconName:"Package",color:"bg-blue-500",type:"list",actions:[{id:"add-asset",label:"Add Asset",iconName:"Plus",action:e=>console.log("Add asset",e)},{id:"organize-assets",label:"Organize",iconName:"FolderOpen",action:e=>console.log("Organize assets",e)}]}]},{id:"product",name:"Product",description:"Product management and strategy",iconName:"Layers",color:"bg-indigo-600",type:"category",actions:[{id:"view-roadmap",label:"View Roadmap",description:"See product roadmap",iconName:"Map",action:e=>console.log("View roadmap",e)},{id:"create-feature",label:"Create Feature",iconName:"Plus",action:e=>console.log("Create feature",e)}],children:[{id:"features",name:"Features",description:"Product features and requirements",iconName:"Star",color:"bg-yellow-500",type:"list",actions:[{id:"add-feature",label:"Add Feature",iconName:"Plus",action:e=>console.log("Add feature",e)},{id:"prioritize-features",label:"Prioritize",iconName:"ArrowUp",action:e=>console.log("Prioritize features",e)}]}]}];function l(e){let t=s,a=null;for(let o of e){let i=t.find(n=>n.id===o);if(!i)return null;a=i,t=i.children||[]}return a}function r(e){let t=e.path[e.path.length-1];return t?.actions?t.actions:[]}export{s as capabilities,l as findCapabilityByPath,r as getContextualActions};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../../chunk-
|
|
1
|
+
import"../../chunk-YEKQJ4YC.mjs";import{Users as p,Target as l,DollarSign as d,TrendingUp as o,FileText as m,Package as u,BarChart as s,User as g,Briefcase as b,CheckCircle as y,Clock as C}from"lucide-react";import{jsx as t}from"react/jsx-runtime";var h=[{id:"sales",name:"Sales",description:"Revenue and customer management",icon:t(d,{className:"h-4 w-4"}),color:"bg-green-600",type:"category",actions:[{id:"view-pipeline",label:"View Pipeline",description:"See all opportunities in pipeline",icon:t(s,{className:"h-4 w-4"}),action:e=>console.log("View pipeline",e)},{id:"create-opportunity",label:"Create Opportunity",icon:t(l,{className:"h-4 w-4"}),action:e=>console.log("Create opportunity",e)}],children:[{id:"customers",name:"Customers",description:"Customer accounts and contacts",icon:t(p,{className:"h-4 w-4"}),color:"bg-blue-500",type:"list",actions:[{id:"add-customer",label:"Add Customer",icon:t(g,{className:"h-4 w-4"}),action:e=>console.log("Add customer",e)},{id:"export-customers",label:"Export List",icon:t(m,{className:"h-4 w-4"}),action:e=>console.log("Export customers",e)}],data:[{id:"acme-corp",title:"Acme Corp",subtitle:"Enterprise Customer",value:"$125K ARR",metadata:{industry:"Technology",employees:500,lastContact:"2024-01-15"}},{id:"beta-inc",title:"Beta Inc",subtitle:"Mid-market",value:"$45K ARR",metadata:{industry:"Healthcare",employees:150,lastContact:"2024-01-10"}},{id:"gamma-ltd",title:"Gamma Ltd",subtitle:"Small business",value:"$12K ARR",metadata:{industry:"Retail",employees:25,lastContact:"2024-01-08"}}]},{id:"opportunities",name:"Opportunities",description:"Sales pipeline and deals",icon:t(l,{className:"h-4 w-4"}),color:"bg-orange-500",type:"list",actions:[{id:"list-won-deals",label:"List Won Deals",icon:t(y,{className:"h-4 w-4"}),action:e=>console.log("List won deals",e)},{id:"list-pending-deals",label:"List Pending",icon:t(C,{className:"h-4 w-4"}),action:e=>console.log("List pending deals",e)}],data:[{id:"opp-1",title:"Enterprise License",subtitle:"Acme Corp",value:"$50K",metadata:{stage:"Negotiation",probability:80,closeDate:"2024-02-15"}},{id:"opp-2",title:"Platform Upgrade",subtitle:"Beta Inc",value:"$25K",metadata:{stage:"Proposal",probability:60,closeDate:"2024-03-01"}}]}]},{id:"marketing",name:"Marketing",description:"Campaigns and lead generation",icon:t(o,{className:"h-4 w-4"}),color:"bg-pink-600",type:"category",actions:[{id:"view-campaigns",label:"View Campaigns",icon:t(s,{className:"h-4 w-4"}),action:e=>console.log("View campaigns",e)}],children:[{id:"campaigns",name:"Campaigns",description:"Marketing campaigns and performance",icon:t(o,{className:"h-4 w-4"}),color:"bg-purple-500",type:"list",data:[{id:"q1-launch",title:"Q1 Product Launch",subtitle:"Multi-channel campaign",value:"85% CTR",metadata:{budget:25e3,spent:18500,leads:340}},{id:"webinar-series",title:"Webinar Series",subtitle:"Educational content",value:"1,250 attendees",metadata:{budget:5e3,spent:4200,leads:89}}]}]},{id:"projects",name:"Projects",description:"Project management and tracking",icon:t(b,{className:"h-4 w-4"}),color:"bg-indigo-600",type:"category",children:[{id:"active-projects",name:"Active Projects",icon:t(u,{className:"h-4 w-4"}),color:"bg-green-500",type:"list",data:[{id:"proj-alpha",title:"Project Alpha",subtitle:"Q1 Initiative",value:"75% complete",metadata:{team:"Engineering",deadline:"2024-03-31",status:"On Track"}}]}]}];function P(e){let a=h,n=null;for(let c of e){let i=a.find(r=>r.id===c);if(!i)return null;n=i,a=i.children||[]}return n}function R(e){let a=e.path[e.path.length-1];return a?.actions?a.actions:[]}export{h as capabilities,P as findCapabilityByPath,R as getContextualActions};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../../chunk-
|
|
1
|
+
import"../../chunk-YEKQJ4YC.mjs";var s={primary:"bg-blue-500",secondary:"bg-gray-500",accent:"bg-purple-500",categories:["bg-green-600","bg-pink-600","bg-indigo-600","bg-orange-600"],lists:["bg-blue-500","bg-orange-500","bg-purple-500","bg-green-500"],items:["bg-gray-400","bg-slate-400","bg-zinc-400","bg-neutral-400"]},l=[{id:"sales",name:"Sales",description:"Revenue and customer management",type:"category",actions:[{id:"view-pipeline",label:"View Pipeline",description:"See all opportunities in pipeline",action:t=>console.log("View pipeline",t)},{id:"create-opportunity",label:"Create Opportunity",action:t=>console.log("Create opportunity",t)}],children:[{id:"customers",name:"Customers",description:"Customer accounts and contacts",type:"list",actions:[{id:"add-customer",label:"Add Customer",action:t=>console.log("Add customer",t)},{id:"export-customers",label:"Export List",action:t=>console.log("Export customers",t)}],data:[{id:"acme-corp",title:"Acme Corp",subtitle:"Enterprise Customer",value:"$125K ARR",metadata:{industry:"Technology",employees:500,lastContact:"2024-01-15"}},{id:"beta-inc",title:"Beta Inc",subtitle:"Mid-market",value:"$45K ARR",metadata:{industry:"Healthcare",employees:150,lastContact:"2024-01-10"}},{id:"gamma-ltd",title:"Gamma Ltd",subtitle:"Small business",value:"$12K ARR",metadata:{industry:"Retail",employees:25,lastContact:"2024-01-08"}}]},{id:"opportunities",name:"Opportunities",description:"Sales pipeline and deals",type:"list",actions:[{id:"list-won-deals",label:"List Won Deals",action:t=>console.log("List won deals",t)},{id:"list-pending-deals",label:"List Pending",action:t=>console.log("List pending deals",t)}],data:[{id:"opp-1",title:"Enterprise License",subtitle:"Acme Corp",value:"$50K",metadata:{stage:"Negotiation",probability:80,closeDate:"2024-02-15"}},{id:"opp-2",title:"Platform Upgrade",subtitle:"Beta Inc",value:"$25K",metadata:{stage:"Proposal",probability:60,closeDate:"2024-03-01"}}]}]},{id:"marketing",name:"Marketing",description:"Campaigns and lead generation",type:"category",actions:[{id:"view-campaigns",label:"View Campaigns",action:t=>console.log("View campaigns",t)}],children:[{id:"campaigns",name:"Campaigns",description:"Marketing campaigns and performance",type:"list",data:[{id:"q1-launch",title:"Q1 Product Launch",subtitle:"Multi-channel campaign",value:"85% CTR",metadata:{budget:25e3,spent:18500,leads:340}},{id:"webinar-series",title:"Webinar Series",subtitle:"Educational content",value:"1,250 attendees",metadata:{budget:5e3,spent:4200,leads:89}}]}]},{id:"projects",name:"Projects",description:"Project management and tracking",type:"category",children:[{id:"active-projects",name:"Active Projects",type:"list",data:[{id:"proj-alpha",title:"Project Alpha",subtitle:"Q1 Initiative",value:"75% complete",metadata:{team:"Engineering",deadline:"2024-03-31",status:"On Track"}}]}]}];function r(t){let e=l,a=null;for(let n of t){let i=e.find(o=>o.id===n);if(!i)return null;a=i,e=i.children||[]}return a}function c(t){let e=t.path[t.path.length-1];return e?.actions?e.actions:[]}export{l as capabilities,s as defaultColorScheme,r as findCapabilityByPath,c as getContextualActions};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";import{a}from"../../chunk-
|
|
2
|
+
"use strict";import{a}from"../../chunk-A2AEX4YB.mjs";import"../../chunk-Q2DPE66H.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as CapabilityMenu};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";import{a}from"../../chunk-
|
|
2
|
+
"use strict";import{a}from"../../chunk-R7LPCFUJ.mjs";import"../../chunk-FT3AE7L2.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as ChatSessionSidebar};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../../chunk-LTTO57ZK.mjs";import"../../../chunk-
|
|
1
|
+
import{a}from"../../../chunk-LTTO57ZK.mjs";import"../../../chunk-YEKQJ4YC.mjs";export{a as useTask};
|