cortex-react-components 1.62.1 → 1.63.0
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-RR4HR3KN.mjs → chunk-2BYCSW34.mjs} +1 -1
- package/dist/chunk-2CVUW74E.mjs +1 -0
- package/dist/{chunk-DOFKMHT2.mjs → chunk-2IJK3AE7.mjs} +1 -1
- package/dist/chunk-2WXIUKCO.mjs +1 -0
- package/dist/chunk-2ZB6Z7XN.mjs +4 -0
- package/dist/{chunk-W44AKXM4.mjs → chunk-3AUZS6TK.mjs} +1 -1
- package/dist/{chunk-A544CNOK.mjs → chunk-3OLVHVK2.mjs} +1 -1
- package/dist/{chunk-DIAK5C43.mjs → chunk-3PVDUJNF.mjs} +1 -1
- package/dist/{chunk-TLE6V6RN.mjs → chunk-4FVKNM6C.mjs} +1 -1
- package/dist/chunk-4GL57G4E.mjs +4 -0
- package/dist/{chunk-ITA62TPJ.mjs → chunk-6HVZ5G3G.mjs} +1 -1
- package/dist/chunk-6L2BDKJU.mjs +6 -0
- package/dist/{chunk-KGIOLQSJ.mjs → chunk-6XMDC6MI.mjs} +1 -1
- package/dist/chunk-7LF2QW5F.mjs +1 -0
- package/dist/chunk-7SPGDJJI.mjs +1 -0
- package/dist/{chunk-R5424SOB.mjs → chunk-7U6VVPQK.mjs} +1 -1
- package/dist/{chunk-JPGNI5UZ.mjs → chunk-A7ZACVB3.mjs} +1 -1
- package/dist/{chunk-KYZKHJAK.mjs → chunk-AU5HS6FK.mjs} +1 -1
- package/dist/{chunk-V4JGZT55.mjs → chunk-AZHIBMT6.mjs} +1 -1
- package/dist/{chunk-YRSOMSFW.mjs → chunk-BEOBHG7Z.mjs} +1 -1
- package/dist/{chunk-PGSV4TRK.mjs → chunk-BGQKHEB3.mjs} +1 -1
- package/dist/{chunk-2H6ELPBB.mjs → chunk-BRNBNHPP.mjs} +1 -1
- package/dist/{chunk-PARG2DLL.mjs → chunk-CYEI7ZEM.mjs} +1 -1
- package/dist/{chunk-WLNBPCJF.mjs → chunk-DXOIGG75.mjs} +1 -1
- package/dist/{chunk-COI2LCY2.mjs → chunk-E3HCMSS7.mjs} +1 -1
- package/dist/chunk-E6ZAA4QH.mjs +1 -0
- package/dist/{chunk-X7BL4XNE.mjs → chunk-FQPOVP4A.mjs} +1 -1
- package/dist/chunk-FWBG46K2.mjs +1 -0
- package/dist/{chunk-VGQTRTPZ.mjs → chunk-GZP2BSIJ.mjs} +1 -1
- package/dist/chunk-HOQ3CJDL.mjs +1 -0
- package/dist/chunk-HZXNJWP5.mjs +1 -0
- package/dist/chunk-I3FBQX6H.mjs +11 -0
- package/dist/{chunk-UYICWAF2.mjs → chunk-I3HJJ3O6.mjs} +1 -1
- package/dist/chunk-IAACGKX2.mjs +1 -0
- package/dist/{chunk-ZD7HSIMS.mjs → chunk-JKRLWXXO.mjs} +1 -1
- package/dist/{chunk-I5HRFLAL.mjs → chunk-N363IQBL.mjs} +1 -1
- package/dist/{chunk-6GZQTL75.mjs → chunk-N3ZBFP4A.mjs} +1 -1
- package/dist/{chunk-W77KSAW7.mjs → chunk-NX6L3JEA.mjs} +1 -1
- package/dist/{chunk-CKHMERFD.mjs → chunk-NXV22G4T.mjs} +1 -1
- package/dist/chunk-OTT43GVL.mjs +1 -0
- package/dist/{chunk-QLIAHL5I.mjs → chunk-PADGOK5C.mjs} +1 -1
- package/dist/{chunk-Q5OSKAPP.mjs → chunk-PJ7KGG2L.mjs} +1 -1
- package/dist/{chunk-24APRFWG.mjs → chunk-PMXMC5CA.mjs} +1 -1
- package/dist/{chunk-7J7FNKHF.mjs → chunk-QEQ5FQDS.mjs} +1 -1
- package/dist/chunk-QUONAVFG.mjs +1 -0
- package/dist/{chunk-BZ2FTWEK.mjs → chunk-R52W36TJ.mjs} +1 -1
- package/dist/chunk-RWM3YI4H.mjs +1 -0
- package/dist/{chunk-QT3YSTDB.mjs → chunk-SKQYQ4SD.mjs} +1 -1
- package/dist/{chunk-FC3MJHFL.mjs → chunk-SN4DCMUU.mjs} +1 -1
- package/dist/{chunk-2LZPPRWJ.mjs → chunk-SSV5U7GW.mjs} +1 -1
- package/dist/{chunk-WKFNZUIR.mjs → chunk-T6FBWMZR.mjs} +1 -1
- package/dist/{chunk-LF7I56HN.mjs → chunk-VATD3NQA.mjs} +1 -1
- package/dist/{chunk-75HYIK2G.mjs → chunk-VNGK6ACI.mjs} +1 -1
- package/dist/chunk-WI6JBSNW.mjs +1 -0
- package/dist/chunk-WTQ7QZRC.mjs +1 -0
- package/dist/chunk-XJZCX25R.mjs +1 -0
- package/dist/chunk-XPS3NXF3.mjs +1 -0
- package/dist/{chunk-BNDQ6JWZ.mjs → chunk-YLBXDW77.mjs} +1 -1
- package/dist/chunk-YUSO4OFY.mjs +1 -0
- package/dist/{chunk-SUXBUTE4.mjs → chunk-YUZINX2Q.mjs} +1 -1
- package/dist/chunk-YZIXPIYP.mjs +4 -0
- package/dist/{chunk-6XGUOJCN.mjs → chunk-Z2U42GC3.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/CallToAction.stories.js +1 -1
- package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
- package/dist/components/Blocks/CollapsibleArea.js +1 -1
- package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
- package/dist/components/Blocks/CollapsibleArea.stories.js +1 -1
- package/dist/components/Blocks/CollapsibleArea.stories.mjs +1 -1
- package/dist/components/Blocks/Content.js +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/Content.stories.js +1 -1
- package/dist/components/Blocks/Content.stories.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.js +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.js +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.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/DealDetails.mjs +1 -1
- package/dist/components/CRM/DealDetails.stories.mjs +1 -1
- package/dist/components/CRM/KanbanBoard.mjs +1 -1
- package/dist/components/CRM/KanbanBoard.stories.mjs +1 -1
- package/dist/components/CRM/KanbanColumn.mjs +1 -1
- package/dist/components/CRM/KanbanColumn.stories.mjs +1 -1
- package/dist/components/CRM/NewCustomerForm.mjs +1 -1
- package/dist/components/CRM/NewCustomerForm.stories.mjs +1 -1
- package/dist/components/CRM/NewDealForm.mjs +1 -1
- package/dist/components/CRM/NewDealForm.stories.mjs +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/ContentCard.stories.js +1 -1
- package/dist/components/Cards/ContentCard.stories.mjs +1 -1
- package/dist/components/Cards/FeatureCard.js +1 -1
- package/dist/components/Cards/FeatureCard.mjs +1 -1
- package/dist/components/Cards/FeatureCard.stories.js +1 -1
- package/dist/components/Cards/FeatureCard.stories.mjs +1 -1
- package/dist/components/Cards/index.js +4 -4
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/DigitalColleagues/AddEpicModal.css +1 -0
- package/dist/components/DigitalColleagues/AddEpicModal.d.ts +9 -0
- package/dist/components/DigitalColleagues/AddEpicModal.js +4 -0
- package/dist/components/DigitalColleagues/AddEpicModal.mjs +1 -0
- package/dist/components/DigitalColleagues/AddEpicModal.stories.css +1 -0
- package/dist/components/DigitalColleagues/AddEpicModal.stories.js +221 -0
- package/dist/components/DigitalColleagues/AddEpicModal.stories.mjs +1 -0
- package/dist/components/DigitalColleagues/AddTaskModal.css +1 -0
- package/dist/components/DigitalColleagues/AddTaskModal.d.ts +11 -0
- package/dist/components/DigitalColleagues/AddTaskModal.js +4 -0
- package/dist/components/DigitalColleagues/AddTaskModal.mjs +1 -0
- package/dist/components/DigitalColleagues/AddTaskModal.stories.css +1 -0
- package/dist/components/DigitalColleagues/AddTaskModal.stories.js +221 -0
- package/dist/components/DigitalColleagues/AddTaskModal.stories.mjs +1 -0
- package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +1 -1
- package/dist/components/DigitalColleagues/ChatInterface.css +1 -0
- package/dist/components/DigitalColleagues/ChatInterface.d.ts +6 -0
- package/dist/components/DigitalColleagues/ChatInterface.js +9 -0
- package/dist/components/DigitalColleagues/ChatInterface.mjs +1 -0
- package/dist/components/DigitalColleagues/ChatInterface.stories.css +1 -0
- package/dist/components/DigitalColleagues/ChatInterface.stories.js +226 -0
- package/dist/components/DigitalColleagues/ChatInterface.stories.mjs +1 -0
- package/dist/components/DigitalColleagues/CommentSection.css +1 -0
- package/dist/components/DigitalColleagues/CommentSection.d.ts +13 -0
- package/dist/components/DigitalColleagues/CommentSection.js +4 -0
- package/dist/components/DigitalColleagues/CommentSection.mjs +1 -0
- package/dist/components/DigitalColleagues/CommentSection.stories.css +1 -0
- package/dist/components/DigitalColleagues/CommentSection.stories.js +221 -0
- package/dist/components/DigitalColleagues/CommentSection.stories.mjs +1 -0
- package/dist/components/DigitalColleagues/DashboardHeader.css +1 -0
- package/dist/components/DigitalColleagues/DashboardHeader.d.ts +7 -0
- package/dist/components/DigitalColleagues/DashboardHeader.js +4 -0
- package/dist/components/DigitalColleagues/DashboardHeader.mjs +1 -0
- package/dist/components/DigitalColleagues/DashboardHeader.stories.css +1 -0
- package/dist/components/DigitalColleagues/DashboardHeader.stories.js +221 -0
- package/dist/components/DigitalColleagues/DashboardHeader.stories.mjs +1 -0
- package/dist/components/DigitalColleagues/DocumentationView.css +1 -0
- package/dist/components/DigitalColleagues/DocumentationView.d.ts +2 -0
- package/dist/components/DigitalColleagues/DocumentationView.js +11 -0
- package/dist/components/DigitalColleagues/DocumentationView.mjs +1 -0
- package/dist/components/DigitalColleagues/DocumentationView.stories.css +1 -0
- package/dist/components/DigitalColleagues/DocumentationView.stories.js +11 -0
- package/dist/components/DigitalColleagues/DocumentationView.stories.mjs +1 -0
- package/dist/components/DigitalColleagues/EditableField.css +1 -0
- package/dist/components/DigitalColleagues/EditableField.d.ts +11 -0
- package/dist/components/DigitalColleagues/EditableField.js +4 -0
- package/dist/components/DigitalColleagues/EditableField.mjs +1 -0
- package/dist/components/DigitalColleagues/EditableField.stories.css +1 -0
- package/dist/components/DigitalColleagues/EditableField.stories.js +221 -0
- package/dist/components/DigitalColleagues/EditableField.stories.mjs +1 -0
- package/dist/components/DigitalColleagues/EpicFilter.css +1 -0
- package/dist/components/DigitalColleagues/EpicFilter.d.ts +9 -0
- package/dist/components/DigitalColleagues/EpicFilter.js +4 -0
- package/dist/components/DigitalColleagues/EpicFilter.mjs +1 -0
- package/dist/components/DigitalColleagues/EpicFilter.stories.css +1 -0
- package/dist/components/DigitalColleagues/EpicFilter.stories.js +221 -0
- package/dist/components/DigitalColleagues/EpicFilter.stories.mjs +1 -0
- package/dist/components/DigitalColleagues/KanbanBoard.css +1 -0
- package/dist/components/DigitalColleagues/KanbanBoard.d.ts +30 -0
- package/dist/components/DigitalColleagues/KanbanBoard.js +14 -0
- package/dist/components/DigitalColleagues/KanbanBoard.mjs +1 -0
- package/dist/components/DigitalColleagues/KanbanBoard.stories.css +1 -0
- package/dist/components/DigitalColleagues/KanbanBoard.stories.js +14 -0
- package/dist/components/DigitalColleagues/KanbanBoard.stories.mjs +1 -0
- package/dist/components/DigitalColleagues/KanbanColumn.css +1 -0
- package/dist/components/DigitalColleagues/KanbanColumn.d.ts +12 -0
- package/dist/components/DigitalColleagues/KanbanColumn.js +1 -0
- package/dist/components/DigitalColleagues/KanbanColumn.mjs +1 -0
- package/dist/components/DigitalColleagues/KanbanColumn.stories.css +1 -0
- package/dist/components/DigitalColleagues/KanbanColumn.stories.js +1 -0
- package/dist/components/DigitalColleagues/KanbanColumn.stories.mjs +1 -0
- package/dist/components/DigitalColleagues/MainPage.js +1 -1
- package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
- package/dist/components/DigitalColleagues/MainPage.stories.js +1 -1
- package/dist/components/DigitalColleagues/MainPage.stories.mjs +1 -1
- package/dist/components/DigitalColleagues/ManagementSidebar.css +1 -0
- package/dist/components/DigitalColleagues/ManagementSidebar.d.ts +20 -0
- package/dist/components/DigitalColleagues/ManagementSidebar.js +4 -0
- package/dist/components/DigitalColleagues/ManagementSidebar.mjs +1 -0
- package/dist/components/DigitalColleagues/ManagementSidebar.stories.css +1 -0
- package/dist/components/DigitalColleagues/ManagementSidebar.stories.js +221 -0
- package/dist/components/DigitalColleagues/ManagementSidebar.stories.mjs +1 -0
- package/dist/components/DigitalColleagues/PlanningView.css +1 -0
- package/dist/components/DigitalColleagues/PlanningView.d.ts +11 -0
- package/dist/components/DigitalColleagues/PlanningView.js +1 -0
- package/dist/components/DigitalColleagues/PlanningView.mjs +1 -0
- package/dist/components/DigitalColleagues/PlanningView.stories.css +1 -0
- package/dist/components/DigitalColleagues/PlanningView.stories.js +218 -0
- package/dist/components/DigitalColleagues/PlanningView.stories.mjs +1 -0
- package/dist/components/DigitalColleagues/SearchableSelect.css +1 -0
- package/dist/components/DigitalColleagues/SearchableSelect.d.ts +15 -0
- package/dist/components/DigitalColleagues/SearchableSelect.js +4 -0
- package/dist/components/DigitalColleagues/SearchableSelect.mjs +1 -0
- package/dist/components/DigitalColleagues/TaskCard.css +1 -0
- package/dist/components/DigitalColleagues/TaskCard.d.ts +11 -0
- package/dist/components/DigitalColleagues/TaskCard.js +1 -0
- package/dist/components/DigitalColleagues/TaskCard.mjs +1 -0
- package/dist/components/DigitalColleagues/TaskCard.stories.css +1 -0
- package/dist/components/DigitalColleagues/TaskCard.stories.js +218 -0
- package/dist/components/DigitalColleagues/TaskCard.stories.mjs +1 -0
- package/dist/components/DigitalColleagues/TaskDetailsModal.css +1 -0
- package/dist/components/DigitalColleagues/TaskDetailsModal.d.ts +13 -0
- package/dist/components/DigitalColleagues/TaskDetailsModal.js +4 -0
- package/dist/components/DigitalColleagues/TaskDetailsModal.mjs +1 -0
- package/dist/components/DigitalColleagues/TaskDetailsModal.stories.css +1 -0
- package/dist/components/DigitalColleagues/TaskDetailsModal.stories.js +221 -0
- package/dist/components/DigitalColleagues/TaskDetailsModal.stories.mjs +1 -0
- package/dist/components/DigitalColleagues/TaskSelect.css +1 -0
- package/dist/components/DigitalColleagues/TaskSelect.d.ts +15 -0
- package/dist/components/DigitalColleagues/TaskSelect.js +4 -0
- package/dist/components/DigitalColleagues/TaskSelect.mjs +1 -0
- package/dist/components/DigitalColleagues/TaskSelect.stories.css +1 -0
- package/dist/components/DigitalColleagues/TaskSelect.stories.js +221 -0
- package/dist/components/DigitalColleagues/TaskSelect.stories.mjs +1 -0
- package/dist/components/DigitalColleagues/TaskSidebar.css +1 -0
- package/dist/components/DigitalColleagues/TaskSidebar.d.ts +13 -0
- package/dist/components/DigitalColleagues/TaskSidebar.js +4 -0
- package/dist/components/DigitalColleagues/TaskSidebar.mjs +1 -0
- package/dist/components/DigitalColleagues/TaskSidebar.stories.css +1 -0
- package/dist/components/DigitalColleagues/TaskSidebar.stories.js +4 -0
- package/dist/components/DigitalColleagues/TaskSidebar.stories.mjs +1 -0
- package/dist/components/DigitalColleagues/TeamSwitcher.css +1 -0
- package/dist/components/DigitalColleagues/TeamSwitcher.d.ts +13 -0
- package/dist/components/DigitalColleagues/TeamSwitcher.js +4 -0
- package/dist/components/DigitalColleagues/TeamSwitcher.mjs +1 -0
- package/dist/components/DigitalColleagues/TeamSwitcher.stories.css +1 -0
- package/dist/components/DigitalColleagues/TeamSwitcher.stories.js +221 -0
- package/dist/components/DigitalColleagues/TeamSwitcher.stories.mjs +1 -0
- package/dist/components/HeaderFooter/Header.mjs +1 -1
- package/dist/components/HeaderFooter/Header.stories.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/index.js +1 -1
- package/dist/components/HeaderFooter/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.mjs +1 -1
- package/dist/components/Heros/RenderHero.js +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/index.js +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Holidays/HolidayTracker.mjs +1 -1
- package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
- package/dist/components/Holidays/index.mjs +1 -1
- package/dist/components/Layouts/FeatureGrid.stories.js +1 -1
- package/dist/components/Layouts/FeatureGrid.stories.mjs +1 -1
- package/dist/components/Layouts/OutputHeaderFooter.js +1 -1
- package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
- package/dist/components/Layouts/Print.js +1 -1
- package/dist/components/Layouts/Print.mjs +1 -1
- package/dist/components/Layouts/Print.stories.js +1 -1
- package/dist/components/Layouts/Print.stories.mjs +1 -1
- package/dist/components/Layouts/SlideShow.js +1 -1
- package/dist/components/Layouts/SlideShow.mjs +1 -1
- package/dist/components/Layouts/SlideShow.stories.js +1 -1
- package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
- package/dist/components/Layouts/index.js +1 -1
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
- package/dist/components/Menus/SidebarRight.mjs +1 -1
- package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
- package/dist/components/Menus/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/RichText.stories.js +1 -1
- package/dist/components/Payload/RichText.stories.mjs +1 -1
- package/dist/components/Payload/index.js +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/index.js +3 -3
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/globals.css +1 -1
- package/dist/index.js +4 -4
- 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/Blog.stories.js +1 -1
- package/dist/pages/Blog.stories.mjs +1 -1
- package/dist/pages/Documentation.mjs +1 -1
- package/dist/pages/Documentation.stories.mjs +1 -1
- package/dist/pages/IndexPage.mjs +1 -1
- package/dist/pages/IndexPage.stories.mjs +1 -1
- package/dist/pages/Intranet.mjs +1 -1
- package/dist/pages/Intranet.stories.mjs +1 -1
- package/dist/pages/LandingPage.js +1 -1
- package/dist/pages/LandingPage.mjs +1 -1
- package/dist/pages/LandingPage.stories.js +1 -1
- package/dist/pages/LandingPage.stories.mjs +1 -1
- package/dist/pages/Page.js +1 -1
- package/dist/pages/Page.mjs +1 -1
- package/dist/pages/Page.stories.js +1 -1
- package/dist/pages/Page.stories.mjs +1 -1
- package/dist/pages/Printable.stories.js +1 -1
- package/dist/pages/Printable.stories.mjs +1 -1
- package/dist/pages/Publish.js +1 -1
- package/dist/pages/Publish.mjs +1 -1
- package/dist/pages/Publish.stories.js +1 -1
- package/dist/pages/Publish.stories.mjs +1 -1
- package/dist/pages/Website.js +1 -1
- package/dist/pages/Website.mjs +1 -1
- package/dist/pages/Website.stories.js +1 -1
- package/dist/pages/Website.stories.mjs +1 -1
- package/dist/sections/AboutSection.js +1 -1
- package/dist/sections/AboutSection.mjs +1 -1
- package/dist/sections/AboutSection.stories.js +1 -1
- package/dist/sections/AboutSection.stories.mjs +1 -1
- package/dist/sections/BlogDetail.js +1 -1
- package/dist/sections/BlogDetail.mjs +1 -1
- package/dist/sections/BlogDetail.stories.js +1 -1
- package/dist/sections/BlogDetail.stories.mjs +1 -1
- package/dist/sections/BlogList.js +1 -1
- package/dist/sections/BlogList.mjs +1 -1
- package/dist/sections/BlogList.stories.js +1 -1
- package/dist/sections/BlogList.stories.mjs +1 -1
- package/dist/sections/BlogListSection.mjs +1 -1
- package/dist/sections/BlogListSection.stories.mjs +1 -1
- package/dist/sections/ContactSection.js +1 -1
- package/dist/sections/ContactSection.mjs +1 -1
- package/dist/sections/ContactSection.stories.js +1 -1
- package/dist/sections/ContactSection.stories.mjs +1 -1
- package/dist/sections/ImageSection.stories.js +1 -1
- package/dist/sections/ImageSection.stories.mjs +1 -1
- package/dist/sections/PageSections.js +1 -1
- package/dist/sections/PageSections.mjs +1 -1
- package/dist/sections/PageSections.stories.js +1 -1
- package/dist/sections/PageSections.stories.mjs +1 -1
- package/dist/sections/PricingSection.js +1 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/PricingSection.stories.js +1 -1
- package/dist/sections/PricingSection.stories.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/ServiceDetailSection.stories.js +1 -1
- package/dist/sections/ServiceDetailSection.stories.mjs +1 -1
- package/dist/sections/ServiceSection.js +1 -1
- package/dist/sections/ServiceSection.mjs +1 -1
- package/dist/sections/ServiceSection.stories.js +1 -1
- package/dist/sections/ServiceSection.stories.mjs +1 -1
- package/dist/sections/form/index.mjs +1 -1
- package/dist/sections/index.js +1 -1
- package/dist/sections/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-F75HZ4ID.mjs +0 -4
- package/dist/chunk-LM3PDZJ4.mjs +0 -4
- package/dist/chunk-UJSN2546.mjs +0 -4
- package/dist/chunk-WWAAWBLR.mjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as l}from"./chunk-
|
|
1
|
+
import{a as l}from"./chunk-SN4DCMUU.mjs";import{a as r}from"./chunk-KML6U7IE.mjs";import{a as o}from"./chunk-3PVDUJNF.mjs";import p from"next/image";import{FaEnvelope as c,FaPhoneFlip as d}from"react-icons/fa6";import{jsx as e,jsxs as t}from"react/jsx-runtime";function f(s){let{sectionHeading:i,image:a}=s;return e("div",{className:"relative w-full light py-[60px]",children:t("div",{className:"w-full grid grid-cols-1 md:grid-cols-2 gap-1 items-center justify-center",children:[e("div",{className:"relative h-full w-full",children:e(p,{src:a.src,alt:a.alt,fill:!0,objectFit:"contain",sizes:"(min-width: 768px) 30vw, 50vw",placeholder:"blur",blurDataURL:r})}),e("div",{className:"w-full h-full",children:t("div",{className:"bg-white p-10",children:[e("div",{className:"mb-30px",children:e(l,{...i,invert:!0})}),e(o,{})]})})]})})}function y(s){return e("div",{className:"",children:e("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:e("div",{className:"mx-auto max-w-2xl space-y-16 divide-y divide-gray-100 lg:mx-0 lg:max-w-none",children:t("div",{className:"grid grid-cols-1 gap-10 pt-16 lg:grid-cols-3",children:[t("div",{children:[e("h2",{className:"text-pretty text-4xl text-primary",children:"Locations"}),e("p",{className:"mt-4 text-base/7 text-foreground",children:"We have multiple locations across the UK."})]}),e("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2 lg:col-span-2 lg:gap-8",children:s.locations&&s.locations.map((i,a)=>t("div",{className:"rounded-2xl p-10 border",children:[e("h3",{className:"text-base/7 text-primary",children:i.title}),t("address",{className:"mt-3 space-y-1 text-sm/6 not-italic text-foreground",children:[i.location.split(",")?.map((m,n)=>e("p",{children:m},n))," ",i.mails&&t("p",{className:"flex items-center space-x-2",children:[e(c,{className:"pr-2 text-primary size-auto"}),e("span",{children:i.mails[0]})]}),i.phoneNumbers&&i.phoneNumbers.length>0&&t("p",{className:"flex items-center space-x-2",children:[e(d,{className:"pr-2 text-primary size-auto"}),i.phoneNumbers[0]]})]})]},a))})]})})})})}export{f as a,y as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as i}from"./chunk-EECIYMTX.mjs";import{a as c}from"./chunk-CX4XB5W2.mjs";import{b as o}from"./chunk-BPSLUO5I.mjs";import{a as n,c as l}from"./chunk-4BHOIXJM.mjs";import{b as d}from"./chunk-J2IHT57D.mjs";import{useState as f}from"react";import{MessageSquare as N,Send as u}from"lucide-react";import{jsx as e,jsxs as t}from"react/jsx-runtime";var B=({comments:m,onAddComment:p})=>{let[s,r]=f(""),g=a=>a.split(" ").map(x=>x[0]).join("").toUpperCase(),v=()=>{s.trim()&&(p(s),r(""))};return t("div",{className:"space-y-4",children:[t("div",{className:"flex items-center gap-2",children:[e(N,{className:"h-5 w-5"}),e(i,{className:"text-lg font-medium",children:"Comments"}),e(d,{variant:"secondary",children:m.length})]}),e("div",{className:"space-y-4 max-h-60 overflow-y-auto",children:m.map(a=>t("div",{className:"flex gap-3 p-3 bg-gray-50 rounded-lg",children:[e(n,{className:"h-8 w-8 mt-1",children:e(l,{className:"text-xs bg-gray-200 text-gray-700",children:g(a.author)})}),t("div",{className:"flex-1",children:[t("div",{className:"flex items-center gap-2 mb-1",children:[e("span",{className:"font-medium text-sm",children:a.author}),t("span",{className:"text-xs text-gray-500",children:[a.createdAt.toLocaleDateString()," at ",a.createdAt.toLocaleTimeString()]})]}),e("p",{className:"text-sm text-gray-700",children:a.text})]})]},a.id))}),t("div",{className:"flex gap-2",children:[e(c,{value:s,onChange:a=>r(a.target.value),placeholder:"Add a comment...",rows:2,className:"flex-1 resize-none"}),e(o,{onClick:v,disabled:!s.trim(),size:"sm",className:"self-end",children:e(u,{className:"h-4 w-4"})})]})]})};export{B as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-H7D3PZKE.mjs";import{a as m}from"./chunk-IQPZEEYJ.mjs";import{a as
|
|
1
|
+
import{a}from"./chunk-H7D3PZKE.mjs";import{a as m}from"./chunk-IQPZEEYJ.mjs";import{a as s}from"./chunk-BLD454AX.mjs";import{a as o}from"./chunk-FHJDQP4I.mjs";import{a as d}from"./chunk-VFXHLJ45.mjs";import{Fragment as p,jsx as e,jsxs as l}from"react/jsx-runtime";function x({...t}){return e(p,{children:l("div",{className:"flex min-h-full flex-col",children:[e("div",{className:"relative isolate"}),e(d,{...t.header}),e(m,{...t.motd}),l("div",{className:"mx-auto w-full max-w-screen-2xl grow lg:flex xl:px-2",children:[l("div",{className:"flex-1 xl:flex",children:[e("div",{className:"border-b border-gray-200 px-4 py-6 sm:px-6 lg:pl-8 xl:w-64 xl:shrink-0 xl:border-b-0 xl:border-r xl:pl-6",children:t.customers.map((r,i)=>e("div",{className:"py-2 w-full flex justify-center",children:e(o,{...r})},i))}),l("div",{className:"px-4 py-4 sm:px-6 lg:pl-8 xl:flex-1 xl:pl-6",children:[l("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:[e(a,{mainImage:"/placeholder/ai.png",title:"AI Enablement",color:"primary"}),e(a,{mainImage:"/placeholder/finops.png",title:"FinOps",color:"primary2"}),e(a,{mainImage:"/placeholder/metahuman.png",title:"Metahumans",color:"primary3"})]}),e("h1",{className:"text-balance text-3xl m-5 font-semibold tracking-tight text-primary sm:text-5xl",children:"News & Updates"})]})]}),l("div",{className:"shrink-0 border-t border-gray-200 px-4 py-4 sm:px-4 lg:w-96 lg:border-l lg:border-t-0 lg:pr-8 xl:pr-6",children:[e("div",{className:"mx-auto max-w-7xl",children:l("div",{className:"relative isolate overflow-hidden bg-gradient-to-br from-gray-900 via-brand-one to-brand-two px-2 py-4 text-center shadow-2xl sm:rounded-xl sm:px-2",children:[e("h2",{className:"text-balance text-xl font-semibold tracking-tight text-white sm:text-2xl",children:"Ways of working"}),e("p",{className:"mx-3 mt-4 max-w-xl text-pretty text-lg/8 text-gray-300",children:"Guides, Templates and Tools to help you work smarter."}),e("div",{className:"mt-4 flex items-center justify-center gap-x-6",children:e("a",{href:"#",className:"rounded-md bg-white px-3.5 py-2.5 text-sm font-semibold text-gray-900 shadow-sm hover:bg-accent focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-white",children:"Get started"})})]})}),e("div",{className:"mx-auto max-w-7xl flex flex-col items-center",children:t.events.map((r,i)=>e("div",{className:"py-2 w-full flex justify-center",children:e(s,{...r})},i))})]})]})]})})}export{x as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as o}from"./chunk-J2IHT57D.mjs";import{a as n}from"./chunk-4YFMDLHL.mjs";import{jsx as r,jsxs as s}from"react/jsx-runtime";var v=({title:l,status:a,taskCount:d,children:m,onDrop:c,isCompact:t=!1})=>{let i=e=>{e.preventDefault()},g=e=>{e.preventDefault(),c(a)};return s(n,{className:`p-4 bg-white border-l-4 ${(()=>{switch(a){case"todo":return"border-l-gray-400";case"in-progress":return"border-l-blue-500";case"review":return"border-l-orange-500";case"done":return"border-l-green-500";default:return"border-l-gray-400"}})()} shadow-sm hover:shadow-md transition-shadow duration-200 ${t?"lg:max-w-xs":""}`,onDragOver:i,onDrop:g,children:[s("div",{className:"flex items-center justify-between mb-4",children:[r("h3",{className:`font-semibold text-gray-900 select-none-important ${t?"text-base":"text-lg"}`,children:l}),r(o,{variant:"secondary",className:"bg-gray-100 text-gray-600",children:d})]}),r("div",{className:"space-y-4 min-h-[200px]",children:m})]})};export{v as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a}from"./chunk-VR6QUPNE.mjs";import{a as r}from"./chunk-HTVHCBXQ.mjs";import{PopoverGroup as i}from"@headlessui/react";import{Fragment as p,jsx as e}from"react/jsx-runtime";function d({menuItems:o,wide:n=!1,dark:m=!0}){return e(p,{children:e("menu",{className:r("w-full relative py-2 transition-all duration-300",m?"bg-black text-white":"light bg-background text-foreground border-b border-accent"),children:e("div",{className:"container backdrop-blur-sm",children:e("div",{className:r("flex items-center justify-between py-0",!n&&"container"),children:e(i,{className:"flex gap-x-12",children:o&&o.map(t=>e(a,{...t},t.name))})})})})})}export{d as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as u}from"./chunk-KML6U7IE.mjs";import{a as C}from"./chunk-MCEK7XUK.mjs";import{f as g}from"./chunk-
|
|
1
|
+
import{a as u}from"./chunk-KML6U7IE.mjs";import{a as C}from"./chunk-MCEK7XUK.mjs";import{f as g}from"./chunk-FQPOVP4A.mjs";import{b as f}from"./chunk-BPSLUO5I.mjs";import{a as c,b as x,c as v,e as p}from"./chunk-4YFMDLHL.mjs";import{a as b}from"./chunk-KTXQBXXJ.mjs";import{a as h}from"./chunk-WISCWNL2.mjs";import U from"next/image";import{notFound as M}from"next/navigation";import w from"next/link";import{FaLinkedin as I}from"react-icons/fa6";import{jsx as e,jsxs as s}from"react/jsx-runtime";function L({image:t,name:i,about:l,socialLinks:o}){return!t||!t.src||t.src.length<3||!i?null:e("div",{className:"mt-1 z-10 px-0 pt-0 lg:px-10",children:e(c,{children:s(p,{className:"flex flex-col items-center",children:[t&&t.src&&e(U,{src:t.src,alt:t.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:u,className:"mx-auto mt-6 rounded-full object-cover"}),s("h3",{className:"flex items-center ali font-secondary text-center py-2 text-lg leading-[1.25] text-accent md:text-xl",children:[i,o&&o.length>0&&e("nav",{"aria-label":"social links",children:e("ul",{className:"inline-flex items-center divide-x divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:o.map((a,m)=>a.href&&e("li",{children:e(h,{href:a.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 hover:text-accents",children:e("span",{children:a.icon})})},m))})})]}),e("p",{children:l})]})})})}function j({page:t,categoryList:i,edit:l=!1,path:o="/admin/collections/posts/"}){if(!t)return M();let{meta:a,populatedAuthors:m,authors:P,categories:N,content:k,title:y}=t,A={image:{src:a&&a.image&&a.image.url||void 0,alt:a&&a.image&&a.image.alt||void 0},authorName:m?.[0]?.name||"",category:N,commentCount:0,title:y,description:a?.description||""},d=P?.map(r=>{let n=r.profilePicture&&r.profilePicture.sizes?.square?.url||r.profilePicture&&r.profilePicture.sizes?.thumbnail?.url||"";return console.log("val:",n),{name:r.name||"",about:r.about||"",image:{src:n,alt:r.name||"blog author"},socialLinks:[{icon:e(I,{}),href:r.linkedIn??""}]}});return console.log(d),e(b,{children:s("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[e("div",{children:s("div",{className:"[&_p+P]:mt-4",children:[e("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),e(g,{content:k,enableGutter:!1,className:"prose-invert"})]})}),s("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[l&&e("div",{className:"mt-4 lg:-mt-10 z-10 px-0 pt-0 lg:px-10",children:s(c,{children:[e(x,{children:e(v,{className:"text-accent",children:"Content Actions"})}),s(p,{children:[e("p",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),e(w,{href:`${o}${t.id}`,children:e(f,{variant:"outline",className:"w-full text-accent hover:text-foreground",children:"Edit"})})]})]})}),d&&d.map((r,n)=>e(L,{...r},n)),i&&i.links&&e("div",{className:"mt-4 px-0 pt-0 lg:px-10",children:e(C,{links:i.links,title:i.title})})]})]})})}export{j as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as C}from"./chunk-
|
|
1
|
+
import{a as C}from"./chunk-E3HCMSS7.mjs";import{a as b}from"./chunk-QVIJOCZ5.mjs";import{a as d,b as p,f as u,g as c,i as D}from"./chunk-BUCI7BPM.mjs";import{b as g}from"./chunk-BPSLUO5I.mjs";import{useState as R}from"react";import{PlusCircle as y}from"lucide-react";import{Droppable as v,Draggable as T}from"@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration";import{jsx as e,jsxs as o}from"react/jsx-runtime";function L({status:r,deals:s,users:f,customers:N,categories:n,onDealClick:h,calculateColumnValue:x,calculateWeightedValue:w,addNewDeal:i,onAddCustomer:P}){let[S,m]=R(!1);return o("div",{className:"flex flex-col w-80",children:[e("h2",{className:"text-xl font-semibold mb-4",children:r}),i&&o(d,{open:S,onOpenChange:m,children:[e(p,{asChild:!0,children:o(g,{className:"mb-4 w-full",children:[e(y,{className:"mr-2 h-4 w-4"}),"Add New Deal"]})}),o(u,{children:[e(c,{children:e(D,{children:"Add New Deal"})}),e(C,{customers:N,users:f,categories:n,onSubmit:i,onAddCustomer:P,onClose:()=>m(!1)})]})]}),e(v,{droppableId:r,isDropDisabled:!1,children:l=>o("div",{ref:l.innerRef,...l.droppableProps,className:"bg-background/90 p-4 rounded-lg flex-grow min-h-[200px] shadow-inner",children:[s.map((a,k)=>e(T,{draggableId:a.id.toString(),index:a.id,children:t=>e("div",{ref:t.innerRef,...t.draggableProps,...t.dragHandleProps,children:e(b,{deal:a,customer:a.customer,categories:n,onClick:()=>h(a)})})},a.id.toString())),l.placeholder]})}),o("div",{className:"mt-4 text-sm p-3 rounded-lg shadow",children:[o("p",{className:"font-semibold",children:["Total:"," ",o("span",{className:"text-green-600",children:["\xA3",x(s).toLocaleString()]})]}),o("p",{className:"font-semibold",children:["Weighted:"," ",o("span",{className:"text-blue-600",children:["\xA3",w(s,r).toLocaleString()]})]})]})]})}export{L as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as
|
|
4
|
+
import{a as C}from"./chunk-L3PFZ7PW.mjs";import{a as p}from"./chunk-56RXRTGZ.mjs";import{a as f}from"./chunk-CTKUF2I6.mjs";import{b as v}from"./chunk-BPSLUO5I.mjs";import{a as i}from"./chunk-HTVHCBXQ.mjs";import{Formik as h}from"formik";import{FaUser as N}from"react-icons/fa6";import*as m from"yup";import{toast as b}from"sonner";import{jsx as a,jsxs as r}from"react/jsx-runtime";var t={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},L=m.object().shape({name:m.string().min(2,t.tooShort).max(50,t.tooLong).required(t.required),email:m.string().email(t.email).required(t.required),subject:m.string().min(2,t.tooShort).max(50,t.tooLong).required(t.required),message:m.string().min(2,t.tooShort).max(300,t.tooLong).required(t.required)}),u=i("!pr-[44px] text-foreground"),g=i("!border-red-600 border"),d=i("sr-only");function T(){return a(h,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:L,onSubmit:async(e,{resetForm:s})=>{let o=await f(e);o.data===null?b.error(o.message):(b.success(o.message),s())},children:({errors:e,touched:s,values:o,handleChange:n,handleBlur:c,isSubmitting:l,handleSubmit:x})=>r("form",{onSubmit:x,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[r("div",{children:[a(p,{placeholder:"Your Name",type:"text",name:"name",value:o.name,onChange:n,onBlur:c,disabled:l,icon:a(N,{className:"text-primary"}),className:i(u,e.name&&s.name&&g)}),e.name&&s.name&&a("p",{title:e.name,"aria-live":"polite",role:"error message",className:d,children:e.name})]}),r("div",{children:[a(p,{placeholder:"Your Email",type:"email",name:"email",value:o.email,onChange:n,onBlur:c,disabled:l,icon:a(y,{}),className:i(u,e.email&&s.email&&g)}),e.email&&s.email&&a("p",{title:e.email,"aria-live":"polite",role:"error message",className:d,children:e.email})]}),r("div",{className:"lg:col-span-2",children:[a(p,{placeholder:"Subject",type:"text",name:"subject",value:o.subject,onChange:n,onBlur:c,disabled:l,className:i(u,e.subject&&s.subject&&g)}),e.subject&&s.subject&&a("p",{title:e.subject,"aria-live":"polite",role:"error message",className:d,children:e.subject})]}),r("div",{className:"lg:col-span-2",children:[a(C,{placeholder:"Message...",name:"message",value:o.message,onChange:n,onBlur:c,disabled:l,icon:a(w,{}),className:i(u,e.message&&s.message&&g)}),e.message&&s.message&&a("p",{title:e.message,"aria-live":"polite",role:"error message",className:d,children:e.message})]}),a("div",{className:"lg:col-span-2 light grid justify-items-center",children:a(v,{type:"submit",className:"outline px-6 rounded-full outline-accent bg-background text-foreground hover:bg-accent hover:text-accent-foreground",disabled:l,children:"Send"})})]})})}function y(){return a("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:a("path",{d:"M14.9727 1.76172L13.2227 13.1094C13.1953 13.3828 13.0312 13.6289 12.7852 13.7656C12.6484 13.8203 12.5117 13.875 12.3477 13.875C12.2383 13.875 12.1289 13.8477 12.0195 13.793L8.68359 12.3984L7.28906 14.4766C7.17969 14.668 6.98828 14.75 6.79688 14.75C6.49609 14.75 6.25 14.5039 6.25 14.2031V11.5781C6.25 11.3594 6.30469 11.168 6.41406 11.0312L12.375 3.375L4.33594 10.6211L1.51953 9.44531C1.21875 9.30859 1 9.03516 1 8.67969C0.972656 8.29688 1.13672 8.02344 1.4375 7.85938L13.6875 0.886719C13.9609 0.722656 14.3438 0.722656 14.6172 0.914062C14.8906 1.10547 15.0273 1.43359 14.9727 1.76172Z"})})}function w(){return a("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:a("path",{d:"M12.6875 0.5C13.3984 0.5 14 1.10156 14 1.8125C14 2.25 13.7812 2.63281 13.4531 2.87891L7.51953 7.33594C7.19141 7.58203 6.78125 7.58203 6.45312 7.33594L0.519531 2.87891C0.191406 2.63281 0 2.25 0 1.8125C0 1.10156 0.574219 0.5 1.3125 0.5H12.6875ZM5.93359 8.04688C6.5625 8.51172 7.41016 8.51172 8.03906 8.04688L14 3.5625V9.25C14 10.2344 13.207 11 12.25 11H1.75C0.765625 11 0 10.2344 0 9.25V3.5625L5.93359 8.04688Z"})})}export{T as a};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{b as w,c as C}from"./chunk-
|
|
4
|
+
import{b as w,c as C}from"./chunk-PMXMC5CA.mjs";import{b as y}from"./chunk-NX6L3JEA.mjs";import{a as P}from"./chunk-HTVHCBXQ.mjs";import{a as b}from"./chunk-Q3G5UAAD.mjs";import{useEffect as d,useRef as s,useState as H,useCallback as x}from"react";import{Previewer as p}from"pagedjs";import{Fragment as N,jsx as n,jsxs as l}from"react/jsx-runtime";function T(r){var e=document.createElement("div");e.style.display="block",e.style.height=r,document.body.appendChild(e);var i=parseFloat(window.getComputedStyle(e,null).height);return e.parentNode&&e.parentNode.removeChild(e),Math.floor(i)}var m=r=>{let e=document.createElement("div");e.style.height="1mm",document.body.appendChild(e);let i=parseFloat(window.getComputedStyle(e).height);return document.body.removeChild(e),Math.floor(r/i)},F=({page:r,layout:e="portrait",logoImage:i})=>e==="flow"?n(E,{page:r,layout:e,logoImage:i}):n(B,{page:r,layout:e,logoImage:i}),E=({page:r,layout:e="portrait",logoImage:i})=>{let{contentWithIds:c}=b(r),u=s(null),a=s(null),h=s(new p),f={id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}};d(()=>{let o=document.getElementById("printable-content");if(o){let t=document.createElement("style");return t.textContent=`@page { size: ${m(o.offsetWidth)}mm ${m(o.offsetHeight)}mm ; margin: 0mm; width: ${m(o.offsetWidth)}mm }; .container : { max-width: ${m(o.offsetWidth)}mm; } .container : { max-width: 100%; }; html body * :not(#prinable-content, #printable-content *) { visibility: hidden !important; }`,document.head.appendChild(t),()=>{document.head.removeChild(t)}}},[e]);let k=x(()=>{if(!a.current)return;a.current&&(a.current.innerHTML="");let o=document.getElementById("printable-content");o&&h.current.preview(document.getElementById("printable-content").innerHTML,[`@page { size: ${m(o.offsetWidth)}mm ${m(o.offsetHeight)}mm ; margin: 0mm; }; .container : { max-width: 100%; }; body { zoom: 100%;}`],a.current).catch(t=>console.error("Paged.js error:",t))},[e]);d(()=>{h.current=new p},[k,e]);let g=[f,...c];return l("div",{children:[n("div",{className:"w-[1123px] print:w-[1123px]",children:l("div",{id:"printable-content",ref:u,children:[g.map((o,t)=>n(N,{children:t===0?n("section",{className:"title-page w-full h-full",children:n(C,{hero:r.hero,title:r.title})},t):l("section",{className:"normal-page overflow-hidden",children:[o.blockName&&n(w,{title:o.blockName}),n(y,{blocks:[o],fill:!0})]},t)})),n("section",{className:"normal-page",children:l("div",{className:`w-full py-2 px-8 flex justify-between items-center
|
|
5
5
|
dark bg-background text-primary`,children:[l("div",{className:"flex px-6 items-center space-x-2",children:[i&&n("img",{src:i.src,alt:"Cortex Reply Logo",className:"h-8"}),n("span",{className:"pl-12 text-sm",children:"Power up your people"})]}),n("a",{href:"https://cortexreply.com",className:"text-sm hover:underline",children:"cortexreply.com"})]})})]})}),n("div",{ref:a,className:"preview-container"})]})},B=({page:r,layout:e="portrait"})=>{let{contentWithIds:i}=b(r),c=s(null),u=s(null),a=s(new p),[h,f]=H(0),g=[{id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...i],o=x(()=>{c.current&&(c.current&&(c.current.innerHTML=""),a.current.preview(document.getElementById("printable-content").innerHTML,["./print.css",e==="landscape"?"./landscape.css":"./portrait.css"],c.current).then(t=>f(t.pageCount)).catch(t=>console.error("Paged.js error:",t)))},[e]);return d(()=>{a.current=new p,o()},[o,e]),d(()=>{let t=document.createElement("style");return t.textContent=`@page { size: A4 ${e} ; margin: 0mm; };`,document.head.appendChild(t),()=>{document.head.removeChild(t)}},[]),l("div",{className:"pagedjs-container",children:[n("div",{id:"printable-content",ref:u,style:{display:"none"},className:"pagedjs-content",children:g.map((t,v)=>n(N,{children:v===0?n("section",{className:"pagedjs-section title-page w-full h-full",children:n(C,{hero:r.hero,title:r.title})},v):l("section",{className:P("pagedjs-section normal-page h-[699px]",`h-[${T("185mm")}px]`,t.theme?.settings?.theme==="dark"?"dark":"light"),children:[t.blockName&&n(w,{title:t.blockName}),n(y,{blocks:[t],fill:!0})]},v)}))}),n("div",{ref:c,className:"preview-container"})]})};export{F as a,E as b,B as c};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as g}from"./chunk-VNGK6ACI.mjs";import{a as f}from"./chunk-WU3JMLSC.mjs";import{a as S}from"./chunk-BZAYEKYC.mjs";import{a as d,b as o,c as a,d as m,e as t,f as l}from"./chunk-ZJ56IQPQ.mjs";import{a as u}from"./chunk-WGEMXPWB.mjs";import{b as n,d as b,f as c}from"./chunk-ZYYWN6XG.mjs";import{a as s}from"./chunk-GRCMMAFX.mjs";import{a as p}from"./chunk-T6FBWMZR.mjs";import{jsx as e,jsxs as r}from"react/jsx-runtime";function h({...i}){return r("div",{className:"bg-sidebar",children:[e(p,{isMenuOpen:!0,logoLight:S,logoDark:f,...i.header,className:"bg-sidebar",wide:!0}),r(n,{className:"top-24 mb-4 h-full max-h-[calc(100vh-3.5rem)] flex-1 flex-row overflow-y-clip",children:[e(g,{...i.sidebarLeft,className:"flex-none top-24"}),r(c,{className:"grow overflow-hidden",children:[e("header",{className:"flex h-16 shrink-0 items-center gap-2",children:r("div",{className:"flex items-center gap-2 px-4",children:[e(b,{className:"-ml-1"}),e(s,{orientation:"vertical",className:"mr-2 h-4"}),e(d,{children:r(o,{children:[e(a,{className:"hidden md:block",children:e(m,{href:"#",children:"Building Your Application"})}),e(l,{className:"hidden md:block"}),e(a,{children:e(t,{children:"Data Fetching"})})]})})]})}),r("div",{className:"flex flex-1 flex-col gap-4 p-4 pt-0",children:[r("div",{className:"grid auto-rows-min gap-4 md:grid-cols-3",children:[e("div",{className:"aspect-video rounded-xl bg-muted/50"}),e("div",{className:"aspect-video rounded-xl bg-muted/50"}),e("div",{className:"aspect-video rounded-xl bg-muted/50"})]}),e("div",{className:"flex-1 rounded-xl bg-muted/50 md:min-h-min"})]})]})]}),e(u,{})]})}export{h as a};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as g,b as h,c as b}from"./chunk-
|
|
4
|
+
import{a as g,b as h,c as b}from"./chunk-PMXMC5CA.mjs";import{b as y}from"./chunk-NX6L3JEA.mjs";import{a as l}from"./chunk-HTVHCBXQ.mjs";import{useState as C,useEffect as D,useCallback as A}from"react";import{AnimatePresence as k,motion as v}from"framer-motion";import"pagedjs";import{Fragment as I,jsx as t,jsxs as w}from"react/jsx-runtime";var K=c=>{let[s,i]=C(0),{blocks:a,hero:x,logoImage:m}=c,N=a&&Array.isArray(a)&&a.length>0,n=[{id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...a],S=e=>{i(e)},r=()=>{i(e=>(e+1)%n.length)},d=()=>{i(e=>(e-1+n.length)%n.length)},u=A(((e,o)=>{let f;return(...T)=>{clearTimeout(f),f=setTimeout(()=>e(...T),o)}})(e=>{e.deltaY>0?r():d()},300),[]),p=e=>{e.key==="ArrowDown"?r():e.key==="ArrowUp"&&d()};return D(()=>(window.addEventListener("wheel",u),window.addEventListener("keydown",p),()=>{window.removeEventListener("wheel",u),window.removeEventListener("keydown",p)}),[]),w("div",{className:"flex flex-col min-h-screen relative overflow-hidden",children:[t("div",{className:"fixed left-0 top-0 flex h-screen w-9 z-10 flex-col items-center justify-center bg-gray-900",children:N&&n.map((e,o)=>t("button",{className:`group relative flex items-center justify-center my-2 h-16 w-4 rounded-full transition-all hover:bg-accent duration-300 ${s===o?"bg-accent":"bg-gray-600"}`,onClick:()=>S(o),children:t("span",{className:"absolute ml-7 left-full text-left transform -translate-y-1/2 translate-x-0 rotate-90 origin-left whitespace-nowrap opacity-0 group-hover:opacity-100 group-hover:translate-x-2 transition-all duration-300",children:e.blockName})},e.id))}),t(k,{children:n.map((e,o)=>t("div",{id:`slide-${o}`,className:"print-section",children:t("div",{className:`absolute flex items-center justify-center transition-opacity duration-1000
|
|
5
5
|
${o===s?"opacity-100":"opacity-0"}
|
|
6
6
|
w-full h-full bg-cover bg-center`,children:o===0?t(b,{hero:x,title:c.title,logoImage:m}):w(I,{children:[e.blockName&&t(h,{title:e.blockName}),t(y,{blocks:[e],fill:!0}),t(g,{logoImage:m})]})})},o))}),t("button",{className:"absolute bottom-4 left-1 z-20 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:r,children:t(E,{})})]})},E=()=>t(k,{children:t(v.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.7,ease:[.76,0,.24,1]},className:l("w-fit min-h-[50px] min-w-[20px] p-1 border-2 rounded-full","border-accent"),children:t(v.div,{initial:{y:0},animate:{y:[0,25],opacity:[1,0]},transition:{duration:1,ease:"easeOut",repeat:1/0,repeatDelay:1},className:l("w-[12px] h-[12px] rounded-full","bg-accent")})})});export{K as a};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{a as N}from"./chunk-6T322YHB.mjs";import{a as k}from"./chunk-JPZJET3B.mjs";import{b as o}from"./chunk-BPSLUO5I.mjs";import{b as S}from"./chunk-J2IHT57D.mjs";import{a as I,b as B,e as A}from"./chunk-4YFMDLHL.mjs";import{a as m}from"./chunk-HTVHCBXQ.mjs";import{useState as u}from"react";import{Send as j,Bot as L,Users as O,Plus as E,X as M,Menu as q}from"lucide-react";import{jsx as t,jsxs as a}from"react/jsx-runtime";var $=[{id:"it",name:"IT",color:"bg-blue-600"},{id:"hr",name:"HR",color:"bg-green-600"},{id:"marketing",name:"Marketing",color:"bg-purple-600"},{id:"finance",name:"Finance",color:"bg-orange-600"},{id:"operations",name:"Operations",color:"bg-red-600"},{id:"sales",name:"Sales",color:"bg-indigo-600"}],Q=({mode:s,onModeChange:T})=>{let[h,w]=u(""),[c,z]=u("it"),[x,b]=u(!1),[i,g]=u([{id:"1",name:"General Chat",mode:"copilot",messages:[{id:"1",content:"Hello! I'm your AI assistant. How can I help you today?",sender:"assistant",timestamp:new Date}]}]),[p,v]=u("1"),l=i.find(e=>e.id===p),r=$.find(e=>e.id===c),D=()=>{let e=Date.now().toString(),n={id:e,name:`${s==="copilot"?"AI Chat":r?.name+" Chat"} ${i.length+1}`,mode:s,selectedTeam:s==="teams"?c:void 0,messages:[{id:"1",content:s==="copilot"?"Hello! I'm your AI assistant. How can I help you today?":`Welcome to ${r?.name} team chat!`,sender:s==="copilot"?"assistant":"team",timestamp:new Date,senderName:s==="teams"?`${r?.name} Bot`:void 0}]};g([...i,n]),v(e)},H=e=>{if(i.length===1)return;let n=i.filter(d=>d.id!==e);g(n),p===e&&v(n[0].id)},C=()=>{if(!h.trim()||!l)return;let e={id:Date.now().toString(),content:h,sender:"user",timestamp:new Date},n=[...l.messages,e];g(i.map(d=>d.id===p?{...d,messages:n}:d)),w(""),setTimeout(()=>{let d={id:(Date.now()+1).toString(),content:l.mode==="copilot"?"I understand your request. Let me help you with that.":`Message sent to ${r?.name} team channel.`,sender:l.mode==="copilot"?"assistant":"team",timestamp:new Date,senderName:l.mode==="teams"?`${r?.name} Bot`:void 0};g(P=>P.map(f=>f.id===p?{...f,messages:[...f.messages,d]}:f))},1e3)},y=e=>{T(e),l&&g(i.map(n=>n.id===p?{...n,mode:e,selectedTeam:e==="teams"?c:void 0}:n))};return a(I,{className:"h-full flex shadow-lg border-0 bg-white/50 backdrop-blur-sm relative overflow-hidden",children:[a("div",{className:`
|
|
2
|
+
w-64 border-r bg-gradient-to-b from-blue-50 to-purple-50 dark:from-blue-950 dark:to-purple-950 flex flex-col
|
|
3
|
+
transition-transform duration-300 ease-in-out
|
|
4
|
+
lg:translate-x-0 lg:static lg:flex
|
|
5
|
+
${x?"translate-x-0 absolute left-0 top-0 bottom-0 z-40 shadow-xl":"-translate-x-full absolute left-0 top-0 bottom-0 lg:translate-x-0 lg:static lg:flex"}
|
|
6
|
+
`,children:[t("div",{className:"lg:hidden flex justify-end p-2",children:t(o,{variant:"ghost",size:"sm",onClick:()=>b(!1),className:"h-8 w-8 p-0",children:t(M,{className:"h-4 w-4"})})}),a("div",{className:"p-4 border-b",children:[t("div",{className:"flex items-center justify-between mb-4",children:a("div",{className:"flex rounded-lg bg-white dark:bg-slate-800 p-1",children:[a(o,{variant:s==="copilot"?"default":"ghost",size:"sm",onClick:()=>y("copilot"),className:m("flex items-center space-x-2 text-xs",s==="copilot"&&"bg-blue-600 text-white"),children:[t(L,{className:"h-3 w-3"}),t("span",{children:"Copilot"})]}),a(o,{variant:s==="teams"?"default":"ghost",size:"sm",onClick:()=>y("teams"),className:m("flex items-center space-x-2 text-xs",s==="teams"&&"bg-purple-600 text-white"),children:[t(O,{className:"h-3 w-3"}),t("span",{children:"Teams"})]})]})}),a(o,{variant:"outline",size:"sm",onClick:D,className:"w-full flex items-center space-x-2",children:[t(E,{className:"h-4 w-4"}),t("span",{children:"New Chat"})]})]}),t(N,{className:"flex-1 p-2",children:t("div",{className:"space-y-1",children:i.map(e=>a("div",{onClick:()=>v(e.id),className:m("group relative p-3 rounded-lg cursor-pointer transition-colors text-sm",p===e.id?"bg-white dark:bg-slate-800 text-gray-900 dark:text-gray-100 shadow-sm":"hover:bg-white/60 dark:hover:bg-slate-800/60 text-gray-700 dark:text-gray-300"),children:[t("div",{className:"truncate pr-6",children:e.name}),i.length>1&&t(o,{variant:"ghost",size:"sm",onClick:n=>{n.stopPropagation(),H(e.id)},className:"absolute right-1 top-1/2 -translate-y-1/2 h-6 w-6 p-0 opacity-0 group-hover:opacity-100 transition-opacity",children:t(M,{className:"h-3 w-3"})})]},e.id))})})]}),x&&t("div",{className:"lg:hidden absolute inset-0 bg-black/50 z-30",onClick:()=>b(!1)}),a("div",{className:"flex-1 flex flex-col min-w-0",children:[a(B,{className:"border-b bg-gradient-to-r from-blue-50 to-purple-50 dark:from-blue-950 dark:to-purple-950",children:[a("div",{className:"flex items-center justify-between",children:[t(o,{variant:"outline",size:"sm",onClick:()=>b(!x),className:"lg:hidden mr-2",children:t(q,{className:"h-4 w-4"})}),t(S,{variant:"outline",className:"bg-white/80",children:s==="copilot"?"AI Assistant":`${r?.name} Chat`})]}),s==="teams"&&t("div",{className:"flex gap-2 pt-3 flex-wrap",children:$.map(e=>a(o,{variant:c===e.id?"default":"outline",size:"sm",onClick:()=>z(e.id),className:m("flex items-center space-x-2 text-xs",c===e.id&&`${e.color} text-white hover:${e.color}/90`),children:[t("div",{className:`w-2 h-2 rounded-full ${c===e.id?"bg-white":e.color}`}),t("span",{children:e.name})]},e.id))})]}),a(A,{className:"flex-1 flex flex-col p-0",children:[t(N,{className:"flex-1 p-6",children:t("div",{className:"space-y-4",children:l?.messages.map(e=>t("div",{className:m("flex",e.sender==="user"?"justify-end":"justify-start"),children:a("div",{className:m("max-w-xs lg:max-w-md px-4 py-2 rounded-lg",e.sender==="user"?"bg-blue-600 text-white":"bg-gray-100 dark:bg-gray-800 text-gray-900 dark:text-gray-100"),children:[e.senderName&&t("p",{className:"text-xs font-medium mb-1 opacity-70",children:e.senderName}),t("p",{className:"text-sm",children:e.content}),t("p",{className:"text-xs mt-1 opacity-70",children:e.timestamp.toLocaleTimeString()})]})},e.id))})}),t("div",{className:"p-6 border-t bg-gray-50/50 dark:bg-gray-900/50",children:a("div",{className:"flex space-x-2",children:[t(k,{value:h,onChange:e=>w(e.target.value),placeholder:`Message ${s==="copilot"?"AI Assistant":r?.name}...`,onKeyPress:e=>e.key==="Enter"&&C(),className:"flex-1"}),t(o,{onClick:C,size:"icon",children:t(j,{className:"h-4 w-4"})})]})})]})]})]})};export{Q as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as F}from"./chunk-
|
|
4
|
+
import{a as F}from"./chunk-4FVKNM6C.mjs";import{a as T}from"./chunk-6HVZ5G3G.mjs";import{a as v}from"./chunk-HTVHCBXQ.mjs";import{a as R}from"./chunk-Q3G5UAAD.mjs";import{useState as A}from"react";import G from"html2canvas";import{jsPDF as W}from"jspdf";import{Fragment as J,jsx as e,jsxs as g}from"react/jsx-runtime";function ae({type:p="slideshow",orientation:d="landscape",...c}){let h=c.page,[C,n]=A(d),{contentWithIds:a,tableOfContents:i}=R(h);if(p==="slideshow")return e("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:e(T,{blocks:a,hero:c.hero,title:c.page.title,logoImage:c.logoImage})});if(p==="print")return g(J,{children:[e(U,{layout:C,changeLayout:n}),e(F,{page:c.page,layout:C,logoImage:c.logoImage})]})}var U=({changeLayout:p,layout:d="landscape"})=>{let c=async()=>{if(d==="flow"){let a=document.getElementById("printable-content")?.innerHTML;if(a){var n=window.document.body.innerHTML;window.document.body.innerHTML=a,window.print(),window.document.body.innerHTML=n}}else await new Promise(a=>setTimeout(a,300)),window.print()},h=n=>{p&&p(n)},C=async n=>{let a=document.getElementById(n);if(!a)throw new Error(`Element with id ${n} not found`);let i=document.createElement("canvas"),P=window.devicePixelRatio;i.width=Math.max(a.clientWidth||0)*P,i.height=Math.max(a.clientHeight||0)*P+100;let u=i.getContext("2d");if(!u)throw new Error("Failed to get 2D context");let q=u.drawImage,z=Array.from(a.getElementsByTagName("img")).reduce((y,s)=>(y[s.src]=s,y),{});u.drawImage=function(...y){let[s,S,j,l,r,D,B,m,w]=y;if(s instanceof HTMLImageElement){let Y=z[s.src].style.objectFit||"fill",$=z[s.src].style.objectPosition||"center center";r=s.height,l=s.width;let L=l/r,b=m/w,[x,f]=$.split(" ");switch(f||(f=x),Y){case"cover":if(L>b){let t=r*b,o=(l-t)/2;x==="left"&&(o=0),x==="right"&&(o=l-t),S+=o,l=t}else{let t=l/b,o=(r-t)/2;f==="top"&&(o=0),f==="bottom"&&(o=r-t),j+=o,r=t}break;case"contain":if(L>b){let t=m/L,o=(w-t)/2;f==="top"&&(o=0),f==="bottom"&&(o=w-t),B+=o,w=t}else{let t=w*L,o=(m-t)/2;x==="left"&&(o=0),x==="right"&&(o=m-t),D+=o,m=t}break;case"fill":break}}return q.call(u,s,S,j,l,r,D,B,m,w)};let k=document.getElementById(n);if(!k)throw new Error(`Element with id ${n} not found`);var O=i.width,X=i.height;let I=(await G(k,{canvas:i,windowHeight:X,windowWidth:O,scale:window.devicePixelRatio})).toDataURL("image/png"),N=new W({}).getImageProperties(I),M=297,E=M*(N.height/N.width),H=new W({unit:"mm",format:[M,E]});H.addImage(I,"PNG",0,0,M,E),H.save("print.pdf")};return e("div",{className:v("fixed right-2 z-20 top-20 space-y-6 print:hidden"),children:e("div",{className:"flex flex-row-reverse z-20 min-w-70 gap-4",children:g("nav",{className:"z-20 flex grow-0 justify-end gap-4 border-t border-gray-200 bg-white/50 p-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-h-[auto] min-w-[54px] flex-col rounded-lg border",children:[g("a",{onClick:c,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:e("path",{d:"M96 160l-32 0 0-96C64 28.7 92.7 0 128 0L357.5 0c17 0 33.3 6.7 45.3 18.7l26.5 26.5c12 12 18.7 28.3 18.7 45.3l0 69.5-32 0 0-69.5c0-8.5-3.4-16.6-9.4-22.6L380.1 41.4c-6-6-14.1-9.4-22.6-9.4L128 32c-17.7 0-32 14.3-32 32l0 96zm352 64L64 224c-17.7 0-32 14.3-32 32l0 128 32 0 0-32c0-17.7 14.3-32 32-32l320 0c17.7 0 32 14.3 32 32l0 32 32 0 0-128c0-17.7-14.3-32-32-32zm0 192l0 64c0 17.7-14.3 32-32 32L96 512c-17.7 0-32-14.3-32-32l0-64-32 0c-17.7 0-32-14.3-32-32L0 256c0-35.3 28.7-64 64-64l384 0c35.3 0 64 28.7 64 64l0 128c0 17.7-14.3 32-32 32l-32 0zM96 352l0 128 320 0 0-128L96 352zM432 248a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"})}),e("small",{className:"text-xs font-medium",children:"Print"})]}),e("div",{className:"flex-grow border-t border-gray-200 dark:border-slate-600/60"}),g("a",{onClick:()=>h("portrait"),className:v("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",d==="portrait"?"text-accent":"hover:text-accent"),children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",fill:"currentColor",children:e("path",{d:"M352 448c0 17.7-14.3 32-32 32L64 480c-17.7 0-32-14.3-32-32L32 64c0-17.7 14.3-32 32-32l256 0c17.7 0 32 14.3 32 32l0 384zM384 64c0-35.3-28.7-64-64-64L64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-384z"})}),e("small",{className:"text-xs",children:"Portrait"})]}),g("a",{onClick:()=>h("landscape"),className:v("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",d==="landscape"?"text-accent":"hover:text-accent"),children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512",fill:"currentColor",children:e("path",{d:"M576 96c17.7 0 32 14.3 32 32l0 256c0 17.7-14.3 32-32 32L64 416c-17.7 0-32-14.3-32-32l0-256c0-17.7 14.3-32 32-32l512 0zM64 64C28.7 64 0 92.7 0 128L0 384c0 35.3 28.7 64 64 64l512 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64L64 64z"})}),e("small",{className:"text-xs",children:"Landscape"})]}),g("a",{onClick:()=>h("flow"),className:v("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",d==="flow"?"text-accent":"hover:text-accent"),children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:e("path",{d:"M266.2 4.7C273 1.6 280.5 0 288 0s15 1.6 21.8 4.7l217.4 97.5c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 251.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 153.9C38.6 149.3 32 139.2 32 128s6.6-21.3 16.8-25.9L266.2 4.7zM288 32c-3 0-6 .6-8.8 1.9L69.3 128l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-210-94.1C294 32.6 291 32 288 32zM48.8 358.1l45.9-20.6 39.1 17.5L69.3 384l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-64.5-28.9 39.1-17.5 45.9 20.6c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 507.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 409.9C38.6 405.3 32 395.2 32 384s6.6-21.3 16.8-25.9zM94.7 209.5l39.1 17.5L69.3 256l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-64.5-28.9 39.1-17.5 45.9 20.6c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 379.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 281.9C38.6 277.3 32 267.2 32 256s6.6-21.3 16.8-25.9l45.9-20.6z"})}),e("small",{className:"text-xs",children:"Continuous"})]})]})})})};export{ae as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as B}from"./chunk-CX4XB5W2.mjs";import{b as z}from"./chunk-ZYYWN6XG.mjs";import{a as r}from"./chunk-JPZJET3B.mjs";import{b as i}from"./chunk-BPSLUO5I.mjs";import{a as C}from"./chunk-4YFMDLHL.mjs";import{useState as p}from"react";import{X as Z,Plus as P,Edit2 as I,Trash2 as $,Calendar as _,Kanban as V,FileText as ee}from"lucide-react";import{Fragment as y,jsx as e,jsxs as a}from"react/jsx-runtime";var T=({epics:v,sprints:F,currentView:b,onUpdateEpic:D,onDeleteEpic:M,onAddEpic:j,onAddSprint:R,onUpdateSprint:E,onDeleteSprint:O,onViewChange:h,mobileMenuOpen:A,onToggleMobileMenu:L})=>{let[d,c]=p(null),[N,f]=p(null),[S,k]=p(null),[m,u]=p({name:"",description:"",color:""}),[l,g]=p({name:"",description:"",startDate:"",endDate:"",isActive:!1}),[K,w]=p(!1),[o,x]=p({name:"",description:"",startDate:"",endDate:"",isActive:!1}),G=["bg-blue-500","bg-green-500","bg-purple-500","bg-orange-500","bg-red-500","bg-yellow-500","bg-pink-500","bg-indigo-500"],X=t=>{f(t.id),u({name:t.name,description:t.description||"",color:t.color})},q=()=>{N&&m.name.trim()&&(D(N,{name:m.name.trim(),description:m.description.trim(),color:m.color}),f(null))},H=()=>{f(null),u({name:"",description:"",color:""})},J=t=>{k(t.id),g({name:t.name,description:t.description||"",startDate:t.startDate.toISOString().split("T")[0],endDate:t.endDate.toISOString().split("T")[0],isActive:t.isActive})},Q=()=>{S&&l.name.trim()&&(E(S,{name:l.name.trim(),description:l.description.trim(),startDate:new Date(l.startDate),endDate:new Date(l.endDate),isActive:l.isActive}),k(null))},U=()=>{k(null),g({name:"",description:"",startDate:"",endDate:"",isActive:!1})},W=()=>{o.name.trim()&&(R({name:o.name.trim(),description:o.description.trim(),startDate:new Date(o.startDate),endDate:new Date(o.endDate),isActive:o.isActive,isSelected:!1}),x({name:"",description:"",startDate:"",endDate:"",isActive:!1}),w(!1))},Y=t=>{E(t,{isSelected:!0})};return a(y,{children:[a("div",{className:`fixed left-0 w-12 bg-slate-800 flex flex-col z-30 flex-shrink-0 transition-transform duration-300 ${A?"translate-x-0":"-translate-x-full"} md:translate-x-0`,style:{top:"8.5rem",height:"calc(100vh - 8.5rem)"},children:[e("button",{onClick:()=>{h("kanban"),c(null)},className:`flex-1 flex items-center justify-center text-white transition-colors ${b==="kanban"?"bg-blue-600":"bg-blue-500 hover:bg-blue-600"}`,title:"Kanban",children:e(V,{className:"h-4 w-4 md:h-5 md:w-5"})}),e("button",{onClick:()=>c(d==="epics"?null:"epics"),className:`flex-1 flex items-center justify-center text-white transition-colors ${d==="epics"?"bg-blue-600":"bg-blue-500 hover:bg-blue-600"}`,title:"Epics",children:e("span",{className:"text-xs font-bold transform -rotate-90 whitespace-nowrap",children:"EPICS"})}),e("button",{onClick:()=>c(d==="sprints"?null:"sprints"),className:`flex-1 flex items-center justify-center text-white transition-colors ${d==="sprints"?"bg-green-600":"bg-green-500 hover:bg-green-600"}`,title:"Sprints",children:e("span",{className:"text-xs font-bold transform -rotate-90 whitespace-nowrap",children:"SPRINTS"})}),e("button",{onClick:()=>{h("planning"),c(null)},className:`flex-1 flex items-center justify-center text-white transition-colors ${b==="planning"?"bg-purple-600":"bg-purple-500 hover:bg-purple-600"} hidden md:flex`,title:"Planning",children:e("span",{className:"text-xs font-bold transform -rotate-90 whitespace-nowrap",children:"PLANNING"})}),e("button",{onClick:()=>{h("documentation"),c(null)},className:`flex-1 flex items-center justify-center text-white transition-colors ${b==="documentation"?"bg-orange-600":"bg-orange-500 hover:bg-orange-600"}`,title:"Documentation",children:e(ee,{className:"h-4 w-4 md:h-5 md:w-5"})})]}),A&&e("div",{className:"md:hidden fixed inset-0 bg-black/50 z-20",style:{top:"8.5rem"},onClick:L}),d&&a(y,{children:[e("div",{className:"fixed inset-0 bg-black/50 z-40",style:{top:"8.5rem"},onClick:()=>c(null)}),a("div",{className:"fixed left-12 md:left-16 w-72 md:w-80 bg-white shadow-lg z-50 transform transition-transform max-w-[calc(100vw-3rem)] md:max-w-none",style:{top:"8.5rem",height:"calc(100vh - 8.5rem)"},children:[a("div",{className:"p-3 md:p-4 border-b flex items-center justify-between",children:[a("h2",{className:"text-base md:text-lg font-semibold",children:[d==="epics"&&"Manage Epics",d==="sprints"&&"Manage Sprints"]}),e(i,{variant:"ghost",size:"sm",onClick:()=>c(null),children:e(Z,{className:"h-4 w-4"})})]}),a("div",{className:"p-3 md:p-4 space-y-4 h-full overflow-y-auto",children:[d==="epics"&&e(C,{className:"p-3",children:a("div",{className:"space-y-3",children:[a("div",{className:"flex items-center justify-between",children:[e("h3",{className:"font-medium text-gray-900",children:"Epics"}),a(i,{size:"sm",onClick:j,className:"gap-1",children:[e(P,{className:"h-3 w-3"}),"Add Epic"]})]}),e("div",{className:"space-y-3",children:v.map(t=>e("div",{className:"border rounded-lg p-3",children:N===t.id?a("div",{className:"space-y-2",children:[e(r,{value:m.name,onChange:s=>u(n=>({...n,name:s.target.value})),placeholder:"Epic name"}),e(B,{value:m.description,onChange:s=>u(n=>({...n,description:s.target.value})),placeholder:"Epic description",rows:2}),e("div",{className:"flex gap-1 flex-wrap",children:G.map(s=>e("button",{onClick:()=>u(n=>({...n,color:s})),className:`w-6 h-6 rounded-full ${s} ${m.color===s?"ring-2 ring-gray-400":""}`},s))}),a("div",{className:"flex gap-2",children:[e(i,{size:"sm",onClick:q,children:"Save"}),e(i,{size:"sm",variant:"outline",onClick:H,children:"Cancel"})]})]}):a("div",{className:`cursor-pointer p-2 rounded transition-colors ${t.isSelected?"bg-blue-50 border-blue-200":"hover:bg-gray-50"}`,onClick:()=>D(t.id,{isSelected:!t.isSelected}),children:[a("div",{className:"flex items-center gap-2 mb-1",children:[e("div",{className:`w-3 h-3 rounded-full ${t.color}`}),e("span",{className:"font-medium text-sm",children:t.name})]}),t.description&&e("p",{className:"text-xs text-gray-600 mb-2",children:t.description}),a("div",{className:"flex gap-1",onClick:s=>s.stopPropagation(),children:[e(i,{size:"sm",variant:"ghost",onClick:()=>X(t),className:"h-6 px-2",children:e(I,{className:"h-3 w-3"})}),e(i,{size:"sm",variant:"ghost",onClick:()=>M(t.id),className:"h-6 px-2 text-red-600 hover:text-red-700",children:e($,{className:"h-3 w-3"})})]})]})},t.id))})]})}),d==="sprints"&&e(C,{className:"p-3",children:a("div",{className:"space-y-3",children:[a("div",{className:"flex items-center justify-between",children:[e("h3",{className:"font-medium text-gray-900",children:"Sprints (Select One)"}),a(i,{size:"sm",onClick:()=>w(!0),className:"gap-1",children:[e(P,{className:"h-3 w-3"}),"Add Sprint"]})]}),K&&a("div",{className:"border rounded-lg p-2 space-y-2",children:[e(r,{value:o.name,onChange:t=>x(s=>({...s,name:t.target.value})),placeholder:"Sprint name",className:"text-sm"}),a("div",{className:"grid grid-cols-2 gap-1",children:[e(r,{type:"date",value:o.startDate,onChange:t=>x(s=>({...s,startDate:t.target.value})),className:"text-xs"}),e(r,{type:"date",value:o.endDate,onChange:t=>x(s=>({...s,endDate:t.target.value})),className:"text-xs"})]}),a("div",{className:"flex items-center gap-2",children:[e("input",{type:"checkbox",checked:o.isActive,onChange:t=>x(s=>({...s,isActive:t.target.checked})),className:"w-3 h-3"}),e("span",{className:"text-xs",children:"Active"})]}),a("div",{className:"flex gap-1",children:[e(i,{size:"sm",onClick:W,className:"text-xs h-6",children:"Save"}),e(i,{size:"sm",variant:"outline",onClick:()=>w(!1),className:"text-xs h-6",children:"Cancel"})]})]}),e("div",{className:"space-y-2",children:F.map(t=>e("div",{className:"border rounded p-2",children:S===t.id?a("div",{className:"space-y-2",children:[e(r,{value:l.name,onChange:s=>g(n=>({...n,name:s.target.value})),placeholder:"Sprint name",className:"text-sm",disabled:t.id==="backlog"||t.id==="all-tasks"}),t.id!=="backlog"&&t.id!=="all-tasks"&&a(y,{children:[a("div",{className:"grid grid-cols-2 gap-1",children:[e(r,{type:"date",value:l.startDate,onChange:s=>g(n=>({...n,startDate:s.target.value})),className:"text-xs"}),e(r,{type:"date",value:l.endDate,onChange:s=>g(n=>({...n,endDate:s.target.value})),className:"text-xs"})]}),a("div",{className:"flex items-center gap-2",children:[e("input",{type:"checkbox",checked:l.isActive,onChange:s=>g(n=>({...n,isActive:s.target.checked})),className:"w-3 h-3"}),e("span",{className:"text-xs",children:"Active"})]})]}),a("div",{className:"flex gap-1",children:[e(i,{size:"sm",onClick:Q,className:"text-xs h-6",children:"Save"}),e(i,{size:"sm",variant:"outline",onClick:U,className:"text-xs h-6",children:"Cancel"})]})]}):a("div",{className:`cursor-pointer p-1 rounded transition-colors ${t.isSelected?"bg-green-50 border-green-200 ring-2 ring-green-300":"hover:bg-gray-50"}`,onClick:()=>Y(t.id),children:[a("div",{className:"flex items-center gap-2 mb-1",children:[e(_,{className:"h-3 w-3 text-gray-500"}),e("span",{className:"font-medium text-xs",children:t.name}),t.isActive&&e("span",{className:"text-xs bg-green-100 text-green-800 px-1 py-0.5 rounded",children:"Active"}),(t.id==="backlog"||t.id==="all-tasks")&&e("span",{className:"text-xs bg-gray-100 text-gray-800 px-1 py-0.5 rounded",children:"System"})]}),t.id!=="backlog"&&t.id!=="all-tasks"&&a("p",{className:"text-xs text-gray-500 mb-1",children:[t.startDate.toLocaleDateString()," - ",t.endDate.toLocaleDateString()]}),a("div",{className:"flex gap-1",onClick:s=>s.stopPropagation(),children:[e(i,{size:"sm",variant:"ghost",onClick:()=>J(t),className:"h-5 px-1",children:e(I,{className:"h-3 w-3"})}),t.id!=="backlog"&&t.id!=="all-tasks"&&e(i,{size:"sm",variant:"ghost",onClick:()=>O(t.id),className:"h-5 px-1 text-red-600 hover:text-red-700",children:e($,{className:"h-3 w-3"})})]})]})},t.id))})]})})]})]})]})]})},ge=v=>e(z,{children:a("div",{className:"flex h-full w-full",children:[e("div",{className:"hidden md:block w-16",children:e(T,{...v})}),e("div",{className:"md:hidden",children:e(T,{...v})}),e("div",{className:"flex-1 md:ml-0",children:v.children})]})});export{ge as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as w,b as f,i as g,j as n,m as s,n as r}from"./chunk-K4RVBOIC.mjs";import{b as x}from"./chunk-BPSLUO5I.mjs";import{b as i}from"./chunk-J2IHT57D.mjs";import{useState as D}from"react";import{ChevronDown as h,Users as N,Plus as M}from"lucide-react";import{Fragment as v,jsx as e,jsxs as a}from"react/jsx-runtime";var d=[{id:"1",name:"Product Development",avatar:"PD",isRecent:!0},{id:"2",name:"Engineering",avatar:"ENG",isRecent:!0},{id:"3",name:"Marketing Team",avatar:"MT",isRecent:!0},{id:"4",name:"Design System",avatar:"DS",isRecent:!1},{id:"5",name:"Sales Operations",avatar:"SO",isRecent:!1},{id:"6",name:"Customer Success",avatar:"CS",isRecent:!1}],I=({currentTeam:o=d[0],onTeamChange:c})=>{let[m,l]=D(!1),u=d.filter(t=>t.isRecent),p=d,T=m?p:u;return a(w,{children:[e(f,{asChild:!0,children:a(x,{variant:"outline",className:"gap-2 h-9",children:[a("div",{className:"flex items-center gap-2",children:[e("div",{className:"w-6 h-6 rounded bg-gradient-to-r from-blue-500 to-purple-500 flex items-center justify-center text-white text-xs font-medium",children:o.avatar}),e("span",{className:"font-medium",children:o.name})]}),e(h,{className:"h-4 w-4 opacity-50"})]})}),a(g,{className:"w-64",align:"start",children:[a(s,{className:"flex items-center gap-2",children:[e(N,{className:"h-4 w-4"}),"Switch Team"]}),e(r,{}),!m&&a(v,{children:[e(s,{className:"text-xs text-muted-foreground px-2 py-1",children:"Recent Teams"}),u.map(t=>a(n,{onClick:()=>c(t),className:"flex items-center gap-2 cursor-pointer",children:[e("div",{className:"w-6 h-6 rounded bg-gradient-to-r from-blue-500 to-purple-500 flex items-center justify-center text-white text-xs font-medium",children:t.avatar}),e("span",{children:t.name}),t.id===o.id&&e(i,{variant:"secondary",className:"ml-auto text-xs",children:"Current"})]},t.id)),e(r,{}),e(n,{onClick:()=>l(!0),className:"text-muted-foreground cursor-pointer",children:"Show all teams"})]}),m&&a(v,{children:[e(s,{className:"text-xs text-muted-foreground px-2 py-1",children:"All Teams"}),p.map(t=>a(n,{onClick:()=>c(t),className:"flex items-center gap-2 cursor-pointer",children:[e("div",{className:"w-6 h-6 rounded bg-gradient-to-r from-blue-500 to-purple-500 flex items-center justify-center text-white text-xs font-medium",children:t.avatar}),e("span",{children:t.name}),t.id===o.id&&e(i,{variant:"secondary",className:"ml-auto text-xs",children:"Current"})]},t.id)),e(r,{}),e(n,{onClick:()=>l(!1),className:"text-muted-foreground cursor-pointer",children:"Show recent teams only"})]}),e(r,{}),a(n,{className:"text-muted-foreground cursor-pointer",children:[e(M,{className:"h-4 w-4 mr-2"}),"Create new team"]})]})]})};export{I as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as y}from"./chunk-
|
|
4
|
+
import{a as y}from"./chunk-R52W36TJ.mjs";import{a as S}from"./chunk-QEQ5FQDS.mjs";import{a as b,b as k}from"./chunk-2BYCSW34.mjs";import{a as C}from"./chunk-WU3JMLSC.mjs";import{a as w}from"./chunk-BZAYEKYC.mjs";import{a as g}from"./chunk-LHL2AONM.mjs";import{a as f}from"./chunk-CYEI7ZEM.mjs";import{a as u}from"./chunk-YZIXPIYP.mjs";import{a as v}from"./chunk-JKRLWXXO.mjs";import{c as m,f as p}from"./chunk-FQPOVP4A.mjs";import{a as d}from"./chunk-SX5U74MW.mjs";import{a as s}from"./chunk-INOUDNCK.mjs";import{a as x}from"./chunk-BONRVXMX.mjs";import{a as N}from"./chunk-T6FBWMZR.mjs";import{a as h}from"./chunk-KTXQBXXJ.mjs";import{a as n}from"./chunk-HTVHCBXQ.mjs";import z from"next/image";import{jsx as e,jsxs as o}from"react/jsx-runtime";var H=t=>({root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:t,type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}}),T=({children:t})=>e("div",{children:o("div",{className:"sticky top-0 h-screen",children:[t,e(s,{className:"text-black z-10",position:"header"})]})}),R=()=>o(T,{children:[o("video",{className:"fixed inset-0 object-cover w-full h-full z-0",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:[e("source",{src:"assets/videos/background2.mp4",type:"video/mp4"}),"Your browser does not support the video tag."]}),e("div",{className:"fixed inset-0 h-full z-10 flex flex-col items-start justify-center text-white px-4",children:e(h,{children:o("div",{className:"flex flex-col items-start md:w-1/2 mb-10 z-0 md:mb-0",children:[e("h1",{className:"text-5xl md:text-7xl mb-6",children:"Lorum ipsum."}),e("div",{className:"text-lg md:text-2xl text-gray-300 mb-8 max-w-lg",children:"Lorum ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec dui ac odio."})]})})})]}),L={highImpact:u,lowImpact:v,mediumImpact:f,sectionHero:g,dummy:R};function P({...t}){let i=t.style;return o("div",{className:"relative overflow-y-none scroll-smooth snap-y snap-mandatory",children:[e(N,{isMenuOpen:!0,logoLight:w,logoDark:C,...t.header}),e(I,{...t.hero}),e(c,{theme:"light",style:i,children:e(y,{...t.service})}),e(c,{theme:"dark",style:i,image:t.service.services[0].image,children:e(j,{})}),e(c,{theme:"light",style:i,children:e(j,{})}),e(c,{theme:"dark",style:i,children:e(b,{...t.contact})}),e(c,{theme:"light",style:i,children:e(k,{...t.contact})}),e(c,{theme:"last",style:i,children:e(S,{...t.blog})}),e(m,{...t.cta}),e(x,{...t.footer})]})}var I=t=>{let{type:i}=t||{};if(!i||i==="none")return null;let l=L[i];return l?e(l,{...t}):null},j=()=>{let t={blurDataURL:"/assets/props/Cortex-Handshake-BG.jpg",height:1315,url:"/assets/props/Cortex-Handshake-BG.jpg",width:1920};return e("div",{className:"container",children:o("div",{className:"w-full grid grid-cols-1 md:grid-cols-2 gap-1 items-center justify-center",children:[o("div",{className:n("w-full text-left"),children:[e("h2",{className:"text-3xl md:text-5xl text-primary",children:"Lorum ipsum..."}),e("p",{className:"mt-4 text-gray-700 text-lg",children:e(p,{enableGutter:!1,content:H("Lorum ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec dui ac odio. Nulla facilisi. Nullam nec nisi nec odio ultricies ultricies. Nullam nec nisi nec odio ultricies ultricies. Nullam nec nisi nec odio ultricies ultricies. Lorum ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec dui ac odio. Nulla facilisi. Nullam nec nisi nec odio ultricies ultricies. Nullam nec nisi nec odio ultricies ultricies. Nullam nec nisi nec odio ultricies ultricies."),enableProse:!1,className:n("prose prose-headings:text-foreground prose-p:text-foreground")})}),e("button",{className:"mt-6 px-6 py-3 border border-1 border-accent text-foreground rounded-full text-base hover:bg-accent hover:text-accent-foreground transition",children:"Click here"})]}),e("div",{className:"w-full h-full min-h-96 p-6 md:p-6 flex justify-center",children:e(z,{src:t.url,alt:"image",width:t.width,height:t.height,className:"max-w-full"})})]})})},c=({children:t,theme:i,style:l,neighbours:M,shape:D,image:B,id:r,continueTheme:F})=>{let G=a=>o("div",{className:"select-none",children:[a&&typeof a=="object"&&e(d,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:a}),a&&typeof a=="string"&&e("div",{children:e(z,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:a})})]});if(i==="dark"&&l==="slide")return e("section",{id:r||"next-section",className:"sticky md:top-0 h-screen",children:o("div",{className:"dark pt-0 min-h-[80vh]",children:[e(s,{className:"z-10",position:"dark-top"}),o("div",{className:"relative",children:[e("div",{className:"flex items-center bg-black justify-center pt-12",children:e("div",{className:"container",children:t})}),e(s,{className:"z-10",position:"dark-bottom"})]})]})});if(i==="light"&&l==="slide")return e("section",{id:r||"next-section",className:"sticky top-0 light pt-0 h-screen",children:o("div",{className:"sticky top-0 light pt-0 h-screen",children:[e(s,{className:"z-10",position:"light-top"}),o("div",{className:"relative bg-white",children:[e("div",{className:"flex items-center bg-white justify-center pt-12",children:e("div",{className:"container",children:t})}),e("div",{className:"h-[200px] bg-white"})]})]})});if(i==="first")return e("section",{id:r||"next-section",className:"",children:e("div",{className:"sticky top-0 light bg-background pt-6 min-h-[80vh]",children:o("div",{className:"relative",children:[e("div",{className:"flex items-center justify-center pt-12",children:e("div",{className:"container",children:t})}),e(s,{className:"text-black z-10",position:"bottom-right"})]})})});if(i==="light")return e("section",{id:r||"next-section",className:"",children:e("div",{className:n("sticky top-0 light bg-background min-h-[50vh]","pb-10"),children:e("div",{className:"flex items-center pt-8 justify-center",children:e("div",{className:"container",children:t})})})});if(i==="dark")return e("section",{id:r||"next-section",className:"",children:o("div",{className:"sticky -top-[1px] dark min-h-[80vh] bg-white",children:[e(s,{className:"text-black z-10",position:"bottom-right"}),e("div",{className:"flex items-center justify-center pt-12 bg-black",children:e("div",{className:"container",children:t})}),e(s,{className:"text-accent z-10",position:"top"})]})});if(i==="last")return e("section",{id:r||"next-section",className:"",children:o("div",{className:"sticky -top-[1px] dark min-h-[80vh] bg-white",children:[e(s,{className:"text-black z-10",position:"bottom-right"}),e("div",{className:"flex items-center justify-center pb-12 bg-black min-h-[80vh]",children:e("div",{className:"container",children:t})})]})})};export{P as a,c as b};
|
|
@@ -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-VATD3NQA.mjs";import{a as m}from"./chunk-3OLVHVK2.mjs";import{useState as P,useCallback as M}from"react";import{DragDropContext as v}from"@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration";import{jsx as a,jsxs as x}from"react/jsx-runtime";var w=["Cold","Qualified","Proposal Made","SoW Submitted","Won","Lost"];function h({initialData:t,addNewDeal:p,updateDeal:l,addComment:C,addNewCustomer:D}){let[r,u]=P(null),g=e=>(t.deals??[]).filter(o=>o.status===e),b=e=>e.reduce((o,s)=>o+(s.value||0),0),f=(e,o)=>{let s={Cold:.2,Qualified:.4,"Proposal Made":.6,"SoW Submitted":.7,Won:1,Lost:0};return e.reduce((c,n)=>c+(n.value||0)*s[o],0)},S=M(e=>{let{source:o,destination:s}=e;if(!s||o.droppableId===s.droppableId&&o.index===s.index)return;let c=o.droppableId,n=s.droppableId,d=t.deals?.filter(R=>R.id===o.index)[0],W=[...t.deals??[]];d&&(d.status=n,l(d))},[l]);return a(v,{onDragEnd:S,children:x("div",{className:"p-4 h-full overflow-auto",children:[a("div",{className:"flex space-x-4 pb-4",children:w.filter(e=>e!=="Won"&&e!=="Lost").map(e=>{let o=g(e);return a(m,{status:e,deals:o,customers:t.customers??[],users:t.users,categories:t.categories??[],onDealClick:u,calculateColumnValue:b,calculateWeightedValue:f,addNewDeal:e==="Cold"?p:void 0,onAddCustomer:D},e)})}),r&&a(i,{deal:r,users:t.users,customer:r.customer,categories:t.categories??[],onClose:()=>u(null),onSave:l,onAddComment:e=>C(r.id.toString(),e)})]})})}export{h as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{f as t}from"./chunk-
|
|
1
|
+
import{f as t}from"./chunk-FQPOVP4A.mjs";import{b as o}from"./chunk-BPSLUO5I.mjs";import{a as r}from"./chunk-HTVHCBXQ.mjs";import s from"next/link";import{jsx as i,jsxs as n}from"react/jsx-runtime";var p=({dynamicServiceDetail:c,style:a})=>{let e=c;return i("div",{className:"container",children:n("div",{className:"w-full grid grid-cols-1 md:grid-cols-2 gap-1 items-center justify-center",children:[n("div",{className:r("w-full text-left prose"),children:[i("h2",{className:"text-primary",children:e.title}),i("div",{className:"",children:i(t,{enableGutter:!1,content:e.description,enableProse:!1,className:r("prose prose-headings:text-foreground prose-p:text-foreground")})}),i(o,{asChild:!0,className:"mt-6 px-6 py-3 border border-accent text-foreground bg-background rounded-full hover:bg-accent hover:text-accent-foreground transition no-underline",children:i(s,{href:`/${e.slug}`,children:"Learn more"})})]}),e.icon&&typeof e.icon=="object"&&"type"in e.icon&&"iconName"in e.icon&&i("div",{className:r("w-full h-full min-h-96 py-6 p-0 md:p-16 flex justify-center"),children:i("i",{className:`${e.icon.type} fa-${e.icon.iconName} fa-10x w-3/4 h-full text-foreground fill-gradient-linear`,style:{width:"90%"}})})]})})};export{p as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as r}from"./chunk-ZY2PDUUB.mjs";import{f as s}from"./chunk-
|
|
1
|
+
import{a as r}from"./chunk-ZY2PDUUB.mjs";import{f as s}from"./chunk-FQPOVP4A.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 +1 @@
|
|
|
1
|
-
import{a as n}from"./chunk-LHL2AONM.mjs";import{a as
|
|
1
|
+
import{a as n}from"./chunk-LHL2AONM.mjs";import{a as m}from"./chunk-CYEI7ZEM.mjs";import{a as i}from"./chunk-YZIXPIYP.mjs";import{a as l}from"./chunk-JKRLWXXO.mjs";import{ChevronRightIcon as c,HomeIcon as f}from"@heroicons/react/20/solid";import{Fragment as h,jsx as e,jsxs as a}from"react/jsx-runtime";var d={highImpact:i,lowImpact:l,mediumImpact:m,sectionHero:n},H=t=>{let{type:o}=t||{};if(!o||o==="none")return null;let r=d[o];return r?e(r,{...t}):null};function N({breadcrumbItems:t}){if(t&&t.length>0){let o=t.filter(r=>r.label.toLowerCase()!=="home");return e("nav",{"aria-label":"Breadcrumb",className:"flex",children:a("ol",{role:"list",className:"flex items-center space-x-4",children:[e("li",{children:e("div",{children:a("a",{href:"/",className:"text-foreground hover:text-accent",children:[e(f,{"aria-hidden":"true",className:"size-5 shrink-0"}),e("span",{className:"sr-only",children:"Home"})]})})}),o.map((r,s)=>e("li",{children:a("div",{className:"flex items-center",children:[e(c,{"aria-hidden":"true",className:"size-5 shrink-0 text-gray-400"}),r.href?e("a",{href:r.href,className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:r.label}):e("div",{className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:r.label})]})},s))]})})}return e(h,{})}export{H as a,N as b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{c as R,h as v,i as w,j as B,k as P,l,m as s,o as b,p as o,q as n,r as u,v as C,w as g,x as y}from"./chunk-ZYYWN6XG.mjs";import{a as f}from"./chunk-RHFLBRXF.mjs";import{a as
|
|
4
|
+
import{a as p,b as d,c}from"./chunk-YNCJATT7.mjs";import{c as R,h as v,i as w,j as B,k as P,l,m as s,o as b,p as o,q as n,r as u,v as C,w as g,x as y}from"./chunk-ZYYWN6XG.mjs";import{a as f}from"./chunk-RHFLBRXF.mjs";import{a as M}from"./chunk-FVM5SQT2.mjs";import{PencilLine as z,ChevronDown as h,FilePlus as E,Edit as H,Printer as _}from"lucide-react";import $ from"clsx";import{Fragment as T,jsx as e,jsxs as a}from"react/jsx-runtime";var q=()=>e(M,{iconName:"github",size:"10x"});function Z({relatedContent:i,tableOfContents:x,editorComponent:N,loading:m=!1,editMode:k=!1,onAddDocument:A,onEditDocument:L,onPrintDocument:O,onGithubClick:G,onNavClick:S,LinkComponent:I,...D}){let F=I?t=>e(I,{...t}):S?({item:t,children:r,...j})=>e("button",{onClick:()=>S&&S(t),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...j,children:r}):t=>e("a",{href:t.href,...t});return a(R,{side:"right",variant:"inset",...D,children:[a(v,{className:"border-b border-sidebar-border",children:[a(o,{className:"flex-row space-x-1",children:[e(n,{children:a(u,{onClick:A,children:[e(E,{})," ",e("span",{children:"Add Document"})]})}),G&&e(n,{children:e(u,{onClick:G,tooltip:"Open in GitHub",children:e(q,{})})})]}),a(o,{className:"flex-row space-x-1",children:[e(n,{className:"w-5/12",children:a(u,{onClick:()=>L(),variant:k?"outline":"default",className:$(k&&"text-accent"),children:[e(H,{})," ",e("span",{children:"Edit"})]})}),e(n,{className:"w-5/12",children:a(u,{onClick:O,children:[e(_,{})," ",e("span",{children:"Print"})]})})]})]}),N&&a(T,{children:[e(p,{defaultOpen:!0,className:"group/collapsible",children:a(l,{children:[e(s,{asChild:!0,children:a(d,{children:["Editor Controls",e(h,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),e(b,{children:e(c,{children:N})})]})}),e(B,{className:"mx-0"})]}),a(P,{className:"overflow-auto",children:[m&&a(T,{children:[a(l,{children:[e(s,{children:"Related Content"}),e(b,{children:e(o,{children:Array.from({length:3}).map((t,r)=>e(n,{children:e(f,{className:"bg-gray-200 w-full h-10"})},r))})})]}),a(l,{children:[e(s,{children:"Table of Contents"}),e(b,{children:e(o,{children:Array.from({length:3}).map((t,r)=>e(n,{children:e(f,{className:"bg-gray-200 w-full h-10"})},r))})})]})]}),i&&!m&&Object.keys(i).length>0&&e(p,{defaultOpen:!0,className:"group/collapsible",children:a(l,{children:[e(s,{asChild:!0,children:a(d,{children:["Related Content",e(h,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),e(b,{children:e(c,{children:e(o,{children:i&&Object.keys(i).map(t=>a(n,{children:[a("span",{className:"p-2 text-xs text-sidebar-foreground",children:[" ",t.charAt(0).toUpperCase()+t.slice(1)]}),t&&i[t]&&e(C,{children:i[t].map(r=>e(g,{children:e(y,{asChild:!0,isActive:!1,size:"sm",children:a(F,{href:r.url,item:r,className:"flex justify-between items-center w-full text-xs",children:[e("span",{children:r.label}),r.type==="note"&&e(z,{className:"ml-2 text-gray-400 !important",size:16}),r.type==="draft"&&e(M,{iconName:"code-pull-request-draft",className:"ml-2 text-gray-400 !important"})]})})},r.label))})]},t))})})})]})}),x&&!m&&e(p,{defaultOpen:!0,className:"group/collapsible",children:a(l,{children:[e(s,{asChild:!0,children:a(d,{children:["Table of Contents",e(h,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),e(b,{children:e(c,{children:e(o,{children:x.map(t=>a(n,{children:[e(u,{asChild:!0,children:e("a",{href:`#${t.url}`,className:"text-xs",children:t.title})}),t.items?.length?e(C,{children:t.items.map(r=>e(g,{children:e(y,{asChild:!0,isActive:r.isActive,size:"sm",children:e("a",{href:`#${r.url}`,className:"flex justify-between items-center w-full text-xs",children:e("span",{children:r.title})})})},r.title))}):null]},t.title))})})})]})})]}),e(w,{})]})}export{Z as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{f as t}from"./chunk-
|
|
4
|
+
import{f as t}from"./chunk-FQPOVP4A.mjs";import{a}from"./chunk-HTVHCBXQ.mjs";import n from"react";import*as l from"@radix-ui/react-collapsible";import{ChevronDownIcon as c,ChevronUpIcon as m}from"@radix-ui/react-icons";import{jsx as e,jsxs as s}from"react/jsx-runtime";var h=({title:p,richText:r})=>{let[o,i]=n.useState(!1);return e("div",{className:"border rounded-lg overflow-hidden",children:s(l.Root,{className:a("w-full"),open:o,onOpenChange:i,children:[s(l.Trigger,{className:"flex w-full items-center justify-between bg-white px-4 py-3 text-left hover:bg-gray-50",children:[e("h2",{className:"text-lg font-medium",children:p}),o?e(m,{className:"h-6 w-6"}):e(c,{className:"h-6 w-6"})]}),e(l.Content,{className:"overflow-hidden data-[state=closed]:animate-collapse data-[state=open]:animate-expand border-t",children:e("div",{className:"px-4 py-3 bg-white",children:e(t,{content:r||{},enableGutter:!1})})})]})})};export{h as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{f as o}from"./chunk-
|
|
1
|
+
import{f as o}from"./chunk-FQPOVP4A.mjs";import n from"next/image";import{jsx as r,jsxs as m}from"react/jsx-runtime";var s=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:a,height:i,url:l,width:c}=e;return r(n,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:l||"",width:c||0,height:i||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return r("div",{children:r(n,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},p=({links:e,media:t,children:a,richText:i})=>m("div",{className:"relative bg-brand-one pb-12 mt-20 pt-10",children:[t&&r(s,{media:t}),r("div",{className:"mx-0 min-w-full relative z-9",children:r("div",{className:"container text-brand-one-foreground",children:a||i&&r(o,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:i,enableProse:!0,enableGutter:!1})})})]});export{p as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as c}from"./chunk-
|
|
1
|
+
import{a as c}from"./chunk-SN4DCMUU.mjs";import{a as l}from"./chunk-KTXQBXXJ.mjs";import{a as m}from"./chunk-HTVHCBXQ.mjs";import t from"next/image";import{Fragment as p,jsx as e,jsxs as i}from"react/jsx-runtime";function u(d){let{images:a,sectionHeading:n,keyPoints:s,description:o}=d;return e(p,{children:e("section",{id:"about-section",className:m(" clip-custom-top-l sticky md:top-0 md:h-screen z-2 flex flex-col items-center justify-center section-padding-primary dark bg-background",d.className||""),children:e(l,{children:i("div",{className:"grid items-center gap-12 lg:grid-cols-[.92fr_1fr] 2xl:gap-20",children:[i("div",{className:"lg:order-2","data-aos":"fade-left","data-aos-delay":"200",children:[e(c,{...n}),s&&s.length>0&&e("div",{className:"mt-7 grid gap-5 text-accent sm:grid-cols-2 md:mt-10 md:gap-[1.875rem]",children:s.map((r,g)=>i("div",{className:"group flex min-h-[64px] items-center gap-5 rounded-5 border border-accent px-6 py-2 md:min-h-[85px] md:px-[1.875rem] md:py-3",children:[e("span",{className:"duration flex-none scale-100 transition-transform ease-linear group-hover:scale-90",children:r.icon}),e("h3",{className:"text-md font-bold leading-[1.25] md:text-lg",children:r.title})]},g))}),o&&e("p",{className:"mt-5 text-primary md:mt-[1.875rem]",children:o})]}),a&&e("div",{className:"mx-auto text-center",children:i("div",{className:"relative mx-auto grid max-w-[580px] grid-cols-2 gap-2.5 overflow-hidden",children:[e("div",{className:"relative flex justify-end overflow-hidden",children:e("div",{className:"relative z-[2] mt-auto","data-aos":"fade-up","data-aos-delay":"200",children:e("div",{className:"relative z-[4] overflow-hidden",children:e(t,{src:a.image1.src,alt:a.image1.alt,width:a.image1.width,height:a.image1.height,className:"rounded-tl-[60px] object-cover object-top"})})})}),e("div",{className:"flex overflow-hidden",children:e(t,{src:a.image2.src,alt:a.image2.alt,width:a.image2.width,height:a.image2.height,className:"rounded-[80px_10px] object-cover","data-aos":"fade-right","data-aos-delay":"300"})}),e("div",{className:"ml-auto flex max-w-[250px] justify-end overflow-hidden",children:e(t,{src:a.image3.src,alt:a.image4.alt,width:a.image3.width,height:a.image3.height,className:"rounded-[50px_10px] object-cover","data-aos":"fade-left","data-aos-delay":"350"})}),e("div",{className:"overflow-hidden",children:e(t,{src:a.image4.src,alt:a.image4.alt,width:a.image4.width,height:a.image4.height,className:"rounded-10 rounded-br-[80px] object-cover","data-aos":"fade-right","data-aos-delay":"400"})}),e("div",{className:"absolute left-1/2 top-1/2 z-[4] -translate-x-1/2 -translate-y-1/2 overflow-hidden",children:e("div",{"data-aos":"zoom-in","data-aos-delay":"450",children:e("span",{className:"grid h-[100px] w-[100px] place-items-center rounded-full border-[12px] border-white bg-accent text-[30px] text-white",children:e("svg",{width:"1em",height:"1em",viewBox:"0 0 27 27",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M26.8125 13.8672C26.8125 14.9922 25.875 15.9297 24.8125 15.9297H15.8125V24.9297C15.8125 25.9922 14.875 26.8672 13.8125 26.8672C12.6875 26.8672 11.8125 25.9922 11.8125 24.9297V15.9297H2.8125C1.6875 15.9297 0.8125 14.9922 0.8125 13.8672C0.8125 12.8047 1.6875 11.9297 2.8125 11.9297H11.8125V2.92969C11.8125 1.80469 12.6875 0.867188 13.8125 0.867188C14.875 0.867188 15.8125 1.80469 15.8125 2.92969V11.9297H24.8125C25.875 11.8672 26.8125 12.8047 26.8125 13.8672Z"})})})})})]})})]})})})})}export{u as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as A}from"./chunk-
|
|
1
|
+
import{a as A}from"./chunk-GZP2BSIJ.mjs";import{a as g,c as v,d as f,g as C,i as h}from"./chunk-OGZERPA4.mjs";import{a as N}from"./chunk-6T322YHB.mjs";import{a as F}from"./chunk-KJIBE57R.mjs";import{a as l}from"./chunk-EECIYMTX.mjs";import{a as k}from"./chunk-CX4XB5W2.mjs";import{a as S,f as y,g as x,i as w}from"./chunk-BUCI7BPM.mjs";import{a as u}from"./chunk-JPZJET3B.mjs";import{b as p}from"./chunk-BPSLUO5I.mjs";import{useState as D,useEffect as M}from"react";import{PlusIcon as z}from"lucide-react";import{Fragment as j,jsx as t,jsxs as r}from"react/jsx-runtime";function se({customers:b,users:d,categories:I,onSubmit:E,initialDeal:n,onAddCustomer:P,onClose:L}){let[a,o]=D(n||{customer:void 0,value:0,assignee:void 0,status:"Cold",categories:[],dateLogged:new Date().toISOString().split("T")[0],closureDate:"",comments:[],description:""}),[T,m]=D(!1),[i,c]=D({});M(()=>{n&&o(n)},[n]);let U=()=>{let e={};return a.customer||(e.customer="Customer is required"),a.value||(e.value="Value is required"),a.assignee||(e.assignee="Assignee is required"),a.closureDate||(e.closureDate="Closure Date is required"),c(e),Object.keys(e).length===0},B=async e=>{e.preventDefault(),c({});try{if(U()){let s=await E({...a});s.success?(o({customer:void 0,value:0,assignee:void 0,description:"",status:"Cold",closureDate:""}),L?.()):c(s.errors||{})}}catch{c({submit:"An error occurred while submitting the form."})}},O=e=>{o(s=>({...s,categories:(s.categories||[]).includes(e.id)?(s.categories||[]).filter(H=>H!==e.id):[...s.categories||[],e.id]}))},V=async e=>{o({...a,customer:e});try{let s=await P(e);s.success?m(!1):c(s.errors||{})}catch{c({submit:"An error occurred while submitting the form."})}},q=e=>d?.find(s=>s.id===Number(e)),R=e=>b?.find(s=>s.id===Number(e));return r(j,{children:[r("form",{onSubmit:B,className:"space-y-6",children:[t(N,{className:"h-[60vh] pr-4",children:r("div",{className:"space-y-6 px-4",children:[r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"customer",children:"Customer"}),r("div",{className:"flex items-center space-x-2",children:[r(g,{value:a.customer?.id?.toString(),onValueChange:e=>o({...a,customer:R(e)}),children:[t(f,{children:t(v,{placeholder:"Select customer"})}),t(C,{children:b.map(e=>t(h,{value:e.id?.toString()||"",children:e.name},e.id))})]}),t(p,{variant:"outline",size:"icon",onClick:()=>m(!0),children:t(z,{className:"w-5 h-5"})})]}),i.customerId&&t("p",{className:"text-red-500 text-sm",children:i.customerId})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"value",children:"Value"}),t(u,{id:"value",type:"number",value:a.value||"",onChange:e=>o({...a,value:Number.parseFloat(e.target.value)}),placeholder:"Enter deal value"}),i.value&&t("p",{className:"text-red-500 text-sm",children:i.value})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"assignee",children:"Assignee"}),r(g,{value:a.assignee?.id?.toString(),onValueChange:e=>o({...a,assignee:q(e)}),children:[t(f,{children:t(v,{placeholder:"Select assignee"})}),t(C,{children:d&&d.map(e=>t(h,{value:e.id?.toString()||"",children:e.name},e.id))})]}),i.assignee&&t("p",{className:"text-red-500 text-sm",children:i.assignee})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"description",children:"Description"}),t(k,{id:"description",value:a.description||"",onChange:e=>o({...a,description:e.target.value}),placeholder:"Enter deal description"})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{children:"Categories"}),t("div",{className:"space-y-4",children:["proposition","source","sector"].map(e=>r("div",{className:"space-y-2",children:[t("h4",{className:"text-sm font-medium",children:e.charAt(0).toUpperCase()+e.slice(1)}),t("div",{className:"grid grid-cols-2 gap-2",children:I.filter(s=>s.type===e).map(s=>r("div",{className:"flex items-center space-x-2",children:[t(F,{id:s.id.toString(),checked:a.categories?.includes(s.id),onCheckedChange:()=>O(s)}),t("label",{htmlFor:s.id.toString(),className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",children:s.name})]},s.id))})]},e))})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"closureDate",children:"Closure Date"}),t(u,{id:"closureDate",type:"date",value:a.closureDate||"",onChange:e=>o({...a,closureDate:e.target.value})}),i.closureDate&&t("p",{className:"text-red-500 text-sm",children:i.closureDate})]})]})}),t(p,{type:"submit",className:"w-full",children:n?"Update Deal":"Add Deal"})]}),t(S,{open:T,onOpenChange:m,children:r(y,{children:[t(x,{children:t(w,{children:"Add New Customer"})}),t(A,{onSubmit:V})]})})]})}export{se as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as v,d as b,g as f,i}from"./chunk-OGZERPA4.mjs";import{a as p}from"./chunk-EECIYMTX.mjs";import{a as g}from"./chunk-JPZJET3B.mjs";import{b as u}from"./chunk-J2IHT57D.mjs";import{useState as h}from"react";import{jsx as a,jsxs as r}from"react/jsx-runtime";var R=({label:C,value:n,onValueChange:m,options:c,placeholder:y="Search...",allowCustomValue:s=!1})=>{let[S,l]=h(!1),[t,o]=h(""),O=c.find(e=>e.value===n),d=c.filter(e=>e.label.toLowerCase().includes(t.toLowerCase())),N=e=>{m(e),l(!1),o("")},I=()=>{s&&t.trim()&&!c.find(e=>e.value===t.trim())&&(m(t.trim()),l(!1),o(""))};return r("div",{className:"space-y-1",children:[a(p,{className:"text-xs text-gray-600",children:C}),r(v,{value:n,onValueChange:N,open:S,onOpenChange:l,children:[a(b,{className:"h-auto p-0 border-none bg-transparent hover:bg-gray-50 rounded-md",children:a(u,{variant:"secondary",className:"cursor-pointer hover:bg-gray-200 transition-colors",onClick:()=>l(!S),children:O?.label||n||"Select..."})}),r(f,{children:[a("div",{className:"p-2",children:a(g,{placeholder:y,value:t,onChange:e=>o(e.target.value),onKeyDown:e=>{e.key==="Enter"&&s&&I()},className:"mb-2"})}),d.map(e=>a(i,{value:e.value,children:e.label},e.value)),s&&t.trim()&&!d.find(e=>e.value===t.trim())&&r(i,{value:t.trim(),children:['Add "',t.trim(),'"']})]})]})]})};export{R as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{i as G,j as _,k as O,l as $,m as J,n as U,o as X}from"./chunk-O5BAW5XQ.mjs";import{a as y}from"./chunk-C4DU747D.mjs";import{a as T}from"./chunk-DIAK5C43.mjs";import{a as S}from"./chunk-IC57R2EU.mjs";import{a as R}from"./chunk-PBRC3UOA.mjs";import{a as I}from"./chunk-7PBTM4J4.mjs";import{b as P}from"./chunk-BPSLUO5I.mjs";import{a as b}from"./chunk-FVM5SQT2.mjs";import{a as l}from"./chunk-HTVHCBXQ.mjs";import{useState as q}from"react";import{jsx as p,jsxs as v}from"react/jsx-runtime";var se=({links:r,richText:t})=>p("div",{className:"container",children:v("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[p("div",{className:"max-w-[48rem] flex items-center",children:t&&p(f,{className:"mb-0",content:t,enableGutter:!1})}),p("div",{className:"flex flex-col gap-8",children:(r||[]).map(({link:e},n)=>p(y,{size:"lg",...e},n))})]})}),F=({links:r,richText:t})=>{let[e,n]=q(!1),i="accent",a=()=>n(!0),o=()=>n(!1),u=m=>{m.target===m.currentTarget&&o()};return v("div",{className:l("relative isolate overflow-hidden",i==="accent"?"bg-accent":"bg-black"),children:[p("div",{className:"px-6 py-24 sm:px-6 sm:py-32 lg:px-8",children:v("div",{className:"mx-auto max-w-2xl text-center prose",children:[t&&p(f,{className:"mb-0 prose-headings:text-white prose-h2:text-white prose-p:text-white text-white",content:t,enableGutter:!1}),p("div",{className:"mt-10 flex items-center justify-center gap-x-6",children:p("div",{className:"flex flex-col gap-8 text-white",children:(r||[]).map(({link:m},g)=>m?.url==="/contact"?p("div",{onClick:a,className:l("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",i==="accent"?"border-white bg-accent":"border-accent bg-black"),children:m.label},g):p(y,{size:"lg",className:l("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",i==="accent"?"border-white bg-accent":"border-accent bg-black"),...m},g))})})]})}),e&&p("div",{className:"absolute inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50",onClick:u,children:v("div",{className:"bg-white p-6 pt-10 rounded-lg shadow-lg w-full max-w-lg light relative",children:[p("button",{className:"absolute top-4 right-4 text-gray-500 hover:text-gray-700",onClick:o,children:"\u2715"}),p(T,{})," "]})})]})};import K from"next/image";import{jsx as d,jsxs as k}from"react/jsx-runtime";function D(r){return r&&typeof r=="object"&&"type"in r&&"iconName"in r}function w({image:r,icon:t,title:e,subtitle:n,content:i,statistic:a,settings:o,link:u,className:m}){let g={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:"bg-background"},N={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return k("a",{href:u?.url||"#",className:l("min-w-56 max-w-xl h-full flex flex-col group bg-background",r?"p-0":"p-6 md:p-8",o&&!r&&g[o?.card==="default"?"solid":o?.card],r&&"bg-foreground",o&&o?.card==="outline"?"text-gray-900":"text-white",N[o?.width??"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",o&&`intersect:animate-delay-${o.order||1}00`,m),children:[r&&d("div",{className:"relative aspect-[16/9] w-full",children:d(K,{src:r.url||"/placeholder.svg",alt:r.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),k("div",{className:l(r?"p-6 md:p-8":"p-0","flex flex-col flex-grow"),children:[k("div",{className:"flex flex-col flex-grow",children:[n&&d("div",{className:"text-primary uppercase text-sm font-light mb-4",children:n}),d("div",{className:"flex items-start gap-4 mb-4",children:d(Q,{icon:{type:t?.type||"fa-light",iconName:t?.icon||"no-icon-error"},heading:e??"",variant:o?.card==="default"?"solid":o?.card??"solid",iconSize:o?.iconSize||"large"})}),i&&typeof i=="object"&&d(f,{enableGutter:!1,content:i,enableProse:!1,className:l("prose-sm prose-p:text-lg prose-headings:text-xl","space-y-3",o?.card==="outline"||o?.card==="light"?"prose-headings:text-foreground prose-p:text-foreground prose-a:text-foreground":"prose-headings:text-white prose-p:text-gray-100 prose-a:text-gray-100",r&&"prose-headings:text-background prose-p:text-background")}),i&&typeof i=="string"&&d("div",{className:l("prose-sm prose-p:text-lg prose-headings:text-xl","space-y-3",o?.card==="outline"||o?.card==="light"?"prose text-foreground":"prose text-gray-100",r&&"prose text-background"),children:i})]}),u&&u.url&&d("div",{className:"mt-6",children:d("span",{className:"text-accent font-semibold uppercase text-sm block hover:text-accent/80 transition-colors",children:u?.label||"Find out more"})})]})]})}var Q=({icon:r,heading:t,variant:e,iconSize:n,subtitle:i})=>r&&n==="small"&&r.iconName!="no-icon-error"?k("div",{className:"flex items-start justify-between w-full mb-2",children:[d("div",{className:l(e==="outline"||e==="light"?"text-primary":"text-white",n==="small"?"text-2xl":"text-3xl"),children:t}),D(r)&&d("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",e==="outline"||e==="light"?"text-primary":"text-white",n==="small"?"-mr-2 ml-1 mt-1":""),children:d(b,{type:r.type,iconName:r.iconName,size:"2x"})})]}):r&&r.iconName!="no-icon-error"?k("div",{className:"flex flex-col gap-4",children:[D(r)&&d("div",{className:l("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",e==="outline"||e==="light"?"text-accent":""),children:d(b,{type:r.type,iconName:r.iconName,size:"4x"})}),d("h3",{className:l("font-normal",e==="outline"||e==="light"?"text-2xl text-primary":"text-3xl text-white"),children:t})]}):d("div",{className:"flex items-center gap-4 mb-2",children:d("div",{className:l("font-regular",e==="outline"||e==="light"?"text-2xl text-primary":"text-3xl"),children:t})});import{jsx as c,jsxs as B}from"react/jsx-runtime";function z(r){return r&&typeof r=="object"&&"type"in r&&"iconName"in r}function ke({variant:r="outline",className:t,icon:e,iconSize:n="large",width:i="auto",order:a=0,heading:o,subheading:u,content:m,statistic:g,buttonText:N,buttonHref:E}){let H={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:""},j={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return B("div",{className:l("rounded-3xl p-8 md:p-8 min-w-56 flex flex-col group",H[r],r==="outline"?"text-gray-900":"text-white",t,j[i],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${a+1}00`),children:[c("div",{className:"flex items-center gap-4 mb-2",children:c(V,{icon:e,heading:o,variant:r,iconSize:n})}),g&&c("div",{className:"mb-6",children:c("div",{className:l("text-4xl text-wrap font-bold leading-none overflow-hidden",r==="outline"||r==="light"?"text-primary":"text-white"),children:g})}),u&&c("div",{className:"mb-4 text-xl md:text-2xl font-light",children:u}),m&&typeof m=="object"&&c("div",{className:l("space-y-6"),children:c(f,{enableGutter:!1,content:m,enableProse:!1,className:l(r==="outline"||r==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100")})}),m&&typeof m=="string"&&c("div",{className:l("space-y-6",r==="outline"||r==="light"?"text-gray-900":"text-gray-100"),children:m}),N&&c("div",{className:"mt-auto pt-6 flex items-center justify-center",children:c(P,{size:"lg",className:"text-white text-lg rounded-xl w-full mt-auto items-center justify-center",asChild:!0,children:c("a",{href:E,children:N})})}),r==="radial"&&c("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})}var V=({icon:r,heading:t,variant:e,iconSize:n})=>r&&n==="small"?B("div",{className:"flex items-start gap-4 mb-2",children:[z(r)&&c("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",e==="outline"||e==="light"?"text-primary":"text-white",n==="small"?"mt-2":""),children:c(b,{type:r.type,iconName:r.iconName,size:"2x"})}),c("div",{className:l("font-semibold",e==="outline"||e==="light"?"text-primary":"text-white",n==="small"?"text-2xl":"text-3xl"),children:t})]}):r?B("div",{className:"flex flex-col gap-4",children:[z(r)&&c("div",{className:l("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",e==="outline"||e==="light"?"text-accent":""),children:c(b,{type:r.type,iconName:r.iconName,size:"4x"})}),c("h3",{className:l("font-semibold",e==="outline"||e==="light"?"text-2xl text-primary":"text-3xl"),children:t})]}):c("div",{className:"flex items-center gap-4 mb-2",children:c("div",{className:l("font-semibold",e==="outline"||e==="light"?"text-2xl text-primary":"text-3xl"),children:t})});import{jsx as x,jsxs as A}from"react/jsx-runtime";var M=({title:r,description:t,features:e,id:n,nested:i=!1})=>A("section",{className:l(i?"w-full":"container",""),children:[A("div",{className:"prose prose:max-w-none",children:[r&&x("h2",{className:"mb-6 mt-0 text-primary",id:n||"",children:r}),t&&typeof t=="string"&&x("p",{className:"mb-5 text-foreground",children:t}),t&&typeof t=="object"&&x("div",{className:"mb-5 text-foreground",children:x(f,{content:t,enableGutter:!1})})]}),x("div",{className:`grid gap-6 mt-6 md:grid-cols-${e?e.length>2?2:e.length:1} lg:grid-cols-${e?e.length>3?3:e.length:1}`,children:e&&e.map((a,o)=>{let u=()=>{if(a.icon&&"type"in a.icon&&a.icon.type!=="none")return{type:a.icon.type,icon:a.icon.icon}};return x(w,{title:a.title||"",content:a.content||void 0,statistic:a.statistic||void 0,settings:{...a.settings,width:"auto",order:o},link:a.link?{...a.link,label:"Learn more"}:void 0,icon:u()??{type:"none",icon:null}},o)})})]});import W,{Fragment as Y}from"react";import{jsx as s}from"react/jsx-runtime";function h({nodes:r}){return s(Y,{children:r?.map((t,e)=>{if(t==null)return null;if(t.type==="text"&&t.text){let a=s(W.Fragment,{children:t.text},e);return t.format&1&&(a=s("strong",{children:a},e)),t.format&2&&(a=s("em",{children:a},e)),t.format&4&&(a=s("span",{style:{textDecoration:"line-through"},children:a},e)),t.format&8&&(a=s("span",{style:{textDecoration:"underline"},children:a},e)),t.format&16&&(a=s("code",{children:t.text},e)),t.format&32&&(a=s("sub",{children:a},e)),t.format&64&&(a=s("sup",{children:a},e)),a}if(t.type==="table")return s("table",{children:s("tbody",{children:t.children.map((a,o)=>s("tr",{children:a.children.map((u,m)=>s("td",{children:h({nodes:u.children})},m))},o))})},e);let n=a=>{if(a.children==null)return null;if(a?.type==="list"&&a?.listType==="check")for(let o of a.children)"checked"in o&&(o?.checked||(o.checked=!1));return h({nodes:a.children})},i="children"in t?n(t):"";if(t.type==="block"){let a=t.fields,o=a?.blockType;if(!a||!o)return null;switch(o){case"cta":return s(F,{...a},e);case"mediaBlock":return s(S,{className:"col-start-1 col-span-3",imgClassName:"m-0",...a,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},e);case"imageBlock":return s(R,{className:"col-start-1 col-span-3",imgClassName:"m-0",...a,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},e);case"banner":return s(L,{className:"col-start-2 mb-4",...a},e);case"code":return s(I,{className:"col-start-2",...a},e);case"features":return s(M,{...a,nested:!0},e);case"reusableContentBlock":h({nodes:a.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return s("br",{className:"col-start-2"},e);case"paragraph":return s("p",{className:"col-start-2",children:i},e);case"heading":{let a=t?.tag;return s(a,{className:"col-start-2",id:t?.id||"",children:i},e)}case"list":{let a=t?.tag;return s(a,{className:"list col-start-2",children:i},e)}case"listitem":return t?.checked!=null?s("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t?.value,children:i},e):s("li",{value:t?.value,children:i},e);case"quote":return s("blockquote",{className:"col-start-2",children:i},e);case"link":{let a=t.fields;return s(y,{newTab:!!a?.newTab,reference:a.doc,type:a.linkType==="internal"?"reference":"custom",url:a.url,children:i},e)}case"autolink":{let a=t.fields;return s(y,{newTab:!!a?.newTab,reference:a.doc,type:a.linkType==="internal"?"reference":"custom",url:a.url,children:i},e)}default:return null}})})}import{jsx as Z}from"react/jsx-runtime";var f=({className:r,content:t,enableGutter:e=!0,enableProse:n=!0})=>t?Z("div",{className:l({"container ":e,"max-w-none":!e,"mx-auto prose":n},r),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&h({nodes:t?.root?.children})}):null;import{jsx as C}from"react/jsx-runtime";var L=({className:r,content:t,style:e})=>C("div",{className:l("mx-auto my-8 w-full",r),children:C("div",{className:l("border py-3 px-6 flex items-center rounded",{"border-border bg-card":e==="info","border-error bg-error/30":e==="error","border-success bg-success/30":e==="success","border-warning bg-warning/30":e==="warning"}),children:C(f,{content:t,enableGutter:!1,enableProse:!1})})});export{L as a,se as b,F as c,M as d,h as e,f,w as g,ke as h};
|
|
4
|
+
import{i as G,j as _,k as O,l as $,m as J,n as U,o as X}from"./chunk-O5BAW5XQ.mjs";import{a as y}from"./chunk-C4DU747D.mjs";import{a as T}from"./chunk-3PVDUJNF.mjs";import{a as S}from"./chunk-IC57R2EU.mjs";import{a as R}from"./chunk-PBRC3UOA.mjs";import{a as I}from"./chunk-7PBTM4J4.mjs";import{b as P}from"./chunk-BPSLUO5I.mjs";import{a as b}from"./chunk-FVM5SQT2.mjs";import{a as l}from"./chunk-HTVHCBXQ.mjs";import{useState as q}from"react";import{jsx as p,jsxs as v}from"react/jsx-runtime";var se=({links:r,richText:t})=>p("div",{className:"container",children:v("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[p("div",{className:"max-w-[48rem] flex items-center",children:t&&p(f,{className:"mb-0",content:t,enableGutter:!1})}),p("div",{className:"flex flex-col gap-8",children:(r||[]).map(({link:e},n)=>p(y,{size:"lg",...e},n))})]})}),F=({links:r,richText:t})=>{let[e,n]=q(!1),i="accent",a=()=>n(!0),o=()=>n(!1),u=m=>{m.target===m.currentTarget&&o()};return v("div",{className:l("relative isolate overflow-hidden",i==="accent"?"bg-accent":"bg-black"),children:[p("div",{className:"px-6 py-24 sm:px-6 sm:py-32 lg:px-8",children:v("div",{className:"mx-auto max-w-2xl text-center prose",children:[t&&p(f,{className:"mb-0 prose-headings:text-white prose-h2:text-white prose-p:text-white text-white",content:t,enableGutter:!1}),p("div",{className:"mt-10 flex items-center justify-center gap-x-6",children:p("div",{className:"flex flex-col gap-8 text-white",children:(r||[]).map(({link:m},g)=>m?.url==="/contact"?p("div",{onClick:a,className:l("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",i==="accent"?"border-white bg-accent":"border-accent bg-black"),children:m.label},g):p(y,{size:"lg",className:l("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",i==="accent"?"border-white bg-accent":"border-accent bg-black"),...m},g))})})]})}),e&&p("div",{className:"absolute inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50",onClick:u,children:v("div",{className:"bg-white p-6 pt-10 rounded-lg shadow-lg w-full max-w-lg light relative",children:[p("button",{className:"absolute top-4 right-4 text-gray-500 hover:text-gray-700",onClick:o,children:"\u2715"}),p(T,{})," "]})})]})};import K from"next/image";import{jsx as d,jsxs as k}from"react/jsx-runtime";function D(r){return r&&typeof r=="object"&&"type"in r&&"iconName"in r}function w({image:r,icon:t,title:e,subtitle:n,content:i,statistic:a,settings:o,link:u,className:m}){let g={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:"bg-background"},N={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return k("a",{href:u?.url||"#",className:l("min-w-56 max-w-xl h-full flex flex-col group bg-background",r?"p-0":"p-6 md:p-8",o&&!r&&g[o?.card==="default"?"solid":o?.card],r&&"bg-foreground",o&&o?.card==="outline"?"text-gray-900":"text-white",N[o?.width??"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",o&&`intersect:animate-delay-${o.order||1}00`,m),children:[r&&d("div",{className:"relative aspect-[16/9] w-full",children:d(K,{src:r.url||"/placeholder.svg",alt:r.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),k("div",{className:l(r?"p-6 md:p-8":"p-0","flex flex-col flex-grow"),children:[k("div",{className:"flex flex-col flex-grow",children:[n&&d("div",{className:"text-primary uppercase text-sm font-light mb-4",children:n}),d("div",{className:"flex items-start gap-4 mb-4",children:d(Q,{icon:{type:t?.type||"fa-light",iconName:t?.icon||"no-icon-error"},heading:e??"",variant:o?.card==="default"?"solid":o?.card??"solid",iconSize:o?.iconSize||"large"})}),i&&typeof i=="object"&&d(f,{enableGutter:!1,content:i,enableProse:!1,className:l("prose-sm prose-p:text-lg prose-headings:text-xl","space-y-3",o?.card==="outline"||o?.card==="light"?"prose-headings:text-foreground prose-p:text-foreground prose-a:text-foreground":"prose-headings:text-white prose-p:text-gray-100 prose-a:text-gray-100",r&&"prose-headings:text-background prose-p:text-background")}),i&&typeof i=="string"&&d("div",{className:l("prose-sm prose-p:text-lg prose-headings:text-xl","space-y-3",o?.card==="outline"||o?.card==="light"?"prose text-foreground":"prose text-gray-100",r&&"prose text-background"),children:i})]}),u&&u.url&&d("div",{className:"mt-6",children:d("span",{className:"text-accent font-semibold uppercase text-sm block hover:text-accent/80 transition-colors",children:u?.label||"Find out more"})})]})]})}var Q=({icon:r,heading:t,variant:e,iconSize:n,subtitle:i})=>r&&n==="small"&&r.iconName!="no-icon-error"?k("div",{className:"flex items-start justify-between w-full mb-2",children:[d("div",{className:l(e==="outline"||e==="light"?"text-primary":"text-white",n==="small"?"text-2xl":"text-3xl"),children:t}),D(r)&&d("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",e==="outline"||e==="light"?"text-primary":"text-white",n==="small"?"-mr-2 ml-1 mt-1":""),children:d(b,{type:r.type,iconName:r.iconName,size:"2x"})})]}):r&&r.iconName!="no-icon-error"?k("div",{className:"flex flex-col gap-4",children:[D(r)&&d("div",{className:l("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",e==="outline"||e==="light"?"text-accent":""),children:d(b,{type:r.type,iconName:r.iconName,size:"4x"})}),d("h3",{className:l("font-normal",e==="outline"||e==="light"?"text-2xl text-primary":"text-3xl text-white"),children:t})]}):d("div",{className:"flex items-center gap-4 mb-2",children:d("div",{className:l("font-regular",e==="outline"||e==="light"?"text-2xl text-primary":"text-3xl"),children:t})});import{jsx as c,jsxs as B}from"react/jsx-runtime";function z(r){return r&&typeof r=="object"&&"type"in r&&"iconName"in r}function ke({variant:r="outline",className:t,icon:e,iconSize:n="large",width:i="auto",order:a=0,heading:o,subheading:u,content:m,statistic:g,buttonText:N,buttonHref:E}){let H={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:""},j={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return B("div",{className:l("rounded-3xl p-8 md:p-8 min-w-56 flex flex-col group",H[r],r==="outline"?"text-gray-900":"text-white",t,j[i],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${a+1}00`),children:[c("div",{className:"flex items-center gap-4 mb-2",children:c(V,{icon:e,heading:o,variant:r,iconSize:n})}),g&&c("div",{className:"mb-6",children:c("div",{className:l("text-4xl text-wrap font-bold leading-none overflow-hidden",r==="outline"||r==="light"?"text-primary":"text-white"),children:g})}),u&&c("div",{className:"mb-4 text-xl md:text-2xl font-light",children:u}),m&&typeof m=="object"&&c("div",{className:l("space-y-6"),children:c(f,{enableGutter:!1,content:m,enableProse:!1,className:l(r==="outline"||r==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100")})}),m&&typeof m=="string"&&c("div",{className:l("space-y-6",r==="outline"||r==="light"?"text-gray-900":"text-gray-100"),children:m}),N&&c("div",{className:"mt-auto pt-6 flex items-center justify-center",children:c(P,{size:"lg",className:"text-white text-lg rounded-xl w-full mt-auto items-center justify-center",asChild:!0,children:c("a",{href:E,children:N})})}),r==="radial"&&c("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})}var V=({icon:r,heading:t,variant:e,iconSize:n})=>r&&n==="small"?B("div",{className:"flex items-start gap-4 mb-2",children:[z(r)&&c("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",e==="outline"||e==="light"?"text-primary":"text-white",n==="small"?"mt-2":""),children:c(b,{type:r.type,iconName:r.iconName,size:"2x"})}),c("div",{className:l("font-semibold",e==="outline"||e==="light"?"text-primary":"text-white",n==="small"?"text-2xl":"text-3xl"),children:t})]}):r?B("div",{className:"flex flex-col gap-4",children:[z(r)&&c("div",{className:l("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",e==="outline"||e==="light"?"text-accent":""),children:c(b,{type:r.type,iconName:r.iconName,size:"4x"})}),c("h3",{className:l("font-semibold",e==="outline"||e==="light"?"text-2xl text-primary":"text-3xl"),children:t})]}):c("div",{className:"flex items-center gap-4 mb-2",children:c("div",{className:l("font-semibold",e==="outline"||e==="light"?"text-2xl text-primary":"text-3xl"),children:t})});import{jsx as x,jsxs as A}from"react/jsx-runtime";var M=({title:r,description:t,features:e,id:n,nested:i=!1})=>A("section",{className:l(i?"w-full":"",""),children:[A("div",{className:"prose prose:max-w-none",children:[r&&x("h2",{className:"mb-6 mt-0 text-primary",id:n||"",children:r}),t&&typeof t=="string"&&x("p",{className:"mb-5 text-foreground",children:t}),t&&typeof t=="object"&&x("div",{className:"mb-5 text-foreground",children:x(f,{content:t,enableGutter:!1})})]}),x("div",{className:`grid gap-6 mt-6 md:grid-cols-${e?e.length>2?2:e.length:1} lg:grid-cols-${e?e.length>3?3:e.length:1}`,children:e&&e.map((a,o)=>{let u=()=>{if(a.icon&&"type"in a.icon&&a.icon.type!=="none")return{type:a.icon.type,icon:a.icon.icon}};return x(w,{title:a.title||"",content:a.content||void 0,statistic:a.statistic||void 0,settings:{...a.settings,width:"auto",order:o},link:a.link?{...a.link,label:"Learn more"}:void 0,icon:u()??{type:"none",icon:null}},o)})})]});import W,{Fragment as Y}from"react";import{jsx as s}from"react/jsx-runtime";function h({nodes:r}){return s(Y,{children:r?.map((t,e)=>{if(t==null)return null;if(t.type==="text"&&t.text){let a=s(W.Fragment,{children:t.text},e);return t.format&1&&(a=s("strong",{children:a},e)),t.format&2&&(a=s("em",{children:a},e)),t.format&4&&(a=s("span",{style:{textDecoration:"line-through"},children:a},e)),t.format&8&&(a=s("span",{style:{textDecoration:"underline"},children:a},e)),t.format&16&&(a=s("code",{children:t.text},e)),t.format&32&&(a=s("sub",{children:a},e)),t.format&64&&(a=s("sup",{children:a},e)),a}if(t.type==="table")return s("table",{children:s("tbody",{children:t.children.map((a,o)=>s("tr",{children:a.children.map((u,m)=>s("td",{children:h({nodes:u.children})},m))},o))})},e);let n=a=>{if(a.children==null)return null;if(a?.type==="list"&&a?.listType==="check")for(let o of a.children)"checked"in o&&(o?.checked||(o.checked=!1));return h({nodes:a.children})},i="children"in t?n(t):"";if(t.type==="block"){let a=t.fields,o=a?.blockType;if(!a||!o)return null;switch(o){case"cta":return s(F,{...a},e);case"mediaBlock":return s(S,{className:"col-start-1 col-span-3",imgClassName:"m-0",...a,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},e);case"imageBlock":return s(R,{className:"col-start-1 col-span-3",imgClassName:"m-0",...a,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},e);case"banner":return s(L,{className:"col-start-2 mb-4",...a},e);case"code":return s(I,{className:"col-start-2",...a},e);case"features":return s(M,{...a,nested:!0},e);case"reusableContentBlock":h({nodes:a.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return s("br",{className:"col-start-2"},e);case"paragraph":return s("p",{className:"col-start-2",children:i},e);case"heading":{let a=t?.tag;return s(a,{className:"col-start-2",id:t?.id||"",children:i},e)}case"list":{let a=t?.tag;return s(a,{className:"list col-start-2",children:i},e)}case"listitem":return t?.checked!=null?s("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t?.value,children:i},e):s("li",{value:t?.value,children:i},e);case"quote":return s("blockquote",{className:"col-start-2",children:i},e);case"link":{let a=t.fields;return s(y,{newTab:!!a?.newTab,reference:a.doc,type:a.linkType==="internal"?"reference":"custom",url:a.url,children:i},e)}case"autolink":{let a=t.fields;return s(y,{newTab:!!a?.newTab,reference:a.doc,type:a.linkType==="internal"?"reference":"custom",url:a.url,children:i},e)}default:return null}})})}import{jsx as Z}from"react/jsx-runtime";var f=({className:r,content:t,enableGutter:e=!0,enableProse:n=!0})=>t?Z("div",{className:l({"container ":e,"max-w-none":!e,"mx-auto prose":n},r),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&h({nodes:t?.root?.children})}):null;import{jsx as C}from"react/jsx-runtime";var L=({className:r,content:t,style:e})=>C("div",{className:l("mx-auto my-8 w-full",r),children:C("div",{className:l("border py-3 px-6 flex items-center rounded",{"border-border bg-card":e==="info","border-error bg-error/30":e==="error","border-success bg-success/30":e==="success","border-warning bg-warning/30":e==="warning"}),children:C(f,{content:t,enableGutter:!1,enableProse:!1})})});export{L as a,se as b,F as c,M as d,h as e,f,w as g,ke as h};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as g,d as m,g as v,i as u}from"./chunk-OGZERPA4.mjs";import{a as i}from"./chunk-EECIYMTX.mjs";import{b as d}from"./chunk-J2IHT57D.mjs";import{useState as b}from"react";import{jsx as a,jsxs as l}from"react/jsx-runtime";var y=({label:S,value:r,onValueChange:p,options:s,showColor:o=!1})=>{let[c,n]=b(!1),t=s.find(e=>e.value===r);return l("div",{className:"space-y-1",children:[a(i,{className:"text-xs text-gray-600",children:S}),l(g,{value:r,onValueChange:p,open:c,onOpenChange:n,children:[a(m,{className:"h-auto p-0 border-none bg-transparent hover:bg-gray-50 rounded-md",children:l(d,{variant:"secondary",className:"cursor-pointer hover:bg-gray-200 transition-colors",onClick:()=>n(!c),children:[o&&t?.color&&a("div",{className:`w-2 h-2 rounded-full ${t.color} mr-1`}),t?.label||"Select..."]})}),a(v,{children:s.map(e=>a(u,{value:e.value,children:o&&e.color?l("div",{className:"flex items-center gap-2",children:[a("div",{className:`w-3 h-3 rounded-full ${e.color}`}),e.label]}):e.label},e.value))})]})]})};export{y as a};
|