cortex-react-components 3.0.7 → 3.0.8
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-2TJ5HOCV.mjs → chunk-2S3O5TYH.mjs} +1 -1
- package/dist/{chunk-FUNWDVGQ.mjs → chunk-2ZSH4X75.mjs} +1 -1
- package/dist/{chunk-7OGBZ6QQ.mjs → chunk-354MPNDV.mjs} +1 -1
- package/dist/{chunk-2NKCNQ56.mjs → chunk-3YAZKLH3.mjs} +1 -1
- package/dist/{chunk-6B6BKJIE.mjs → chunk-44F47U5Y.mjs} +1 -1
- package/dist/{chunk-AICDXFGU.mjs → chunk-4BRK5CBG.mjs} +2 -2
- package/dist/{chunk-LSHBOPCT.mjs → chunk-4HFMA57F.mjs} +7 -4
- package/dist/{chunk-VMYEV3FG.mjs → chunk-4YRR74Y4.mjs} +1 -1
- package/dist/{chunk-7H3IRT7K.mjs → chunk-5CQITTLV.mjs} +1 -1
- package/dist/{chunk-LAJ5FNY4.mjs → chunk-5KOAYGTO.mjs} +5 -5
- package/dist/{chunk-DAQOEDAR.mjs → chunk-5NGZXIP7.mjs} +1 -1
- package/dist/{chunk-R2SJ5TZH.mjs → chunk-5Q43DAAS.mjs} +2 -2
- package/dist/{chunk-P4DQRHCA.mjs → chunk-6I3O6TVG.mjs} +1 -1
- package/dist/{chunk-EDJDHF22.mjs → chunk-6QSVFSOJ.mjs} +1 -1
- package/dist/{chunk-NAPGIF5D.mjs → chunk-B3UYSM32.mjs} +4 -4
- package/dist/{chunk-ZPWWTTFF.mjs → chunk-BPAZFILP.mjs} +1 -1
- package/dist/{chunk-ENFQLMV3.mjs → chunk-CKBIYWPM.mjs} +1 -1
- package/dist/{chunk-KVULICDA.mjs → chunk-COHYOWMB.mjs} +1 -1
- package/dist/{chunk-G3UZUSQZ.mjs → chunk-DWGG6JKH.mjs} +1 -1
- package/dist/{chunk-OS5X3ADZ.mjs → chunk-E5LGE3IW.mjs} +1 -1
- package/dist/{chunk-PAXCURFR.mjs → chunk-EGZL4DVZ.mjs} +1 -1
- package/dist/{chunk-NHDPHK6D.mjs → chunk-EUAQNPRU.mjs} +2 -2
- package/dist/chunk-F4LCVFZK.mjs +19 -0
- package/dist/{chunk-DO73CLFG.mjs → chunk-F563CDDJ.mjs} +2 -2
- package/dist/{chunk-URCY4KWN.mjs → chunk-G7WAPCKX.mjs} +1 -1
- package/dist/{chunk-FECAR2TE.mjs → chunk-GV3CMMKT.mjs} +1 -1
- package/dist/{chunk-KV5RVOAP.mjs → chunk-HGDLIXPQ.mjs} +1 -1
- package/dist/{chunk-I647IJUG.mjs → chunk-HJLIEMLX.mjs} +2 -2
- package/dist/{chunk-3R2LCGLI.mjs → chunk-HLEMFDTD.mjs} +1 -1
- package/dist/{chunk-VNSEHNDX.mjs → chunk-HXPXJ26M.mjs} +1 -1
- package/dist/{chunk-EC4N6ZH3.mjs → chunk-IXQESSPI.mjs} +1 -1
- package/dist/{chunk-6GO5N6ZP.mjs → chunk-KIZUBPPQ.mjs} +1 -1
- package/dist/{chunk-GZW77OJM.mjs → chunk-L34WYFSB.mjs} +1 -1
- package/dist/{chunk-DQZO42TD.mjs → chunk-MSAH6P5O.mjs} +1 -1
- package/dist/{chunk-TTVOGAI4.mjs → chunk-OFES4YYV.mjs} +2 -2
- package/dist/{chunk-RC6YHGVV.mjs → chunk-PE7KJR4A.mjs} +1 -1
- package/dist/{chunk-5OGDBGXG.mjs → chunk-PJZ5PWKP.mjs} +1 -1
- package/dist/{chunk-WMAVH7JO.mjs → chunk-QPPQNK6O.mjs} +2 -2
- package/dist/{chunk-DRCDP3RU.mjs → chunk-QRC3VJEY.mjs} +1 -1
- package/dist/{chunk-M5JROT2X.mjs → chunk-R242HNC3.mjs} +1 -1
- package/dist/{chunk-6Q4KYDHK.mjs → chunk-RJRQ3SY5.mjs} +2 -2
- package/dist/{chunk-HZZWKYB5.mjs → chunk-SHHLY2QV.mjs} +1 -1
- package/dist/{chunk-K3TF6OWE.mjs → chunk-SNNQIUJH.mjs} +5 -5
- package/dist/{chunk-6RAMGDYG.mjs → chunk-TMVCGF2B.mjs} +1 -1
- package/dist/{chunk-DAGWV4UL.mjs → chunk-TZDVVQBQ.mjs} +1 -1
- package/dist/{chunk-JBFNSEIJ.mjs → chunk-UETTBM3J.mjs} +1 -1
- package/dist/{chunk-DB2F6SID.mjs → chunk-ULYN63F3.mjs} +1 -1
- package/dist/{chunk-OXZ5QAXQ.mjs → chunk-USE5WY4U.mjs} +1 -1
- package/dist/{chunk-M6ELOAGS.mjs → chunk-VEIZROGM.mjs} +1 -1
- package/dist/{chunk-UJI3Y73K.mjs → chunk-X2KTMYOD.mjs} +2 -2
- package/dist/{chunk-LP3K7AVX.mjs → chunk-X6PPZZ2E.mjs} +14 -14
- package/dist/{chunk-UDZU3AZC.mjs → chunk-XWYGGWIF.mjs} +4 -4
- package/dist/{chunk-RKQ4CVVG.mjs → chunk-YI6FLZOK.mjs} +1 -1
- package/dist/{chunk-2PGER2HM.mjs → chunk-YJIB2FYD.mjs} +2 -2
- package/dist/{chunk-YFOEG4PP.mjs → chunk-Z6MYLHDW.mjs} +1 -1
- package/dist/{chunk-HQ2AUN2H.mjs → chunk-ZMITLXFT.mjs} +1 -1
- package/dist/components/AdvancedComponents/index.mjs +9 -9
- package/dist/components/AdvancedComponents/org-chart-component/OrgChart.mjs +4 -4
- package/dist/components/AdvancedComponents/org-chart-component/OrgNode.mjs +2 -2
- package/dist/components/AdvancedComponents/org-chart-component/OrgTree.mjs +3 -3
- package/dist/components/AdvancedComponents/org-chart-component/index.mjs +6 -6
- package/dist/components/Blocks/Banner.js +17 -1
- package/dist/components/Blocks/Banner.mjs +8 -7
- package/dist/components/Blocks/CallToAction.js +17 -1
- package/dist/components/Blocks/CallToAction.mjs +8 -7
- package/dist/components/Blocks/CollapsibleArea.js +17 -1
- package/dist/components/Blocks/CollapsibleArea.mjs +9 -8
- package/dist/components/Blocks/Content.js +17 -1
- package/dist/components/Blocks/Content.mjs +9 -8
- package/dist/components/Blocks/FeaturesBlock.js +17 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +8 -7
- package/dist/components/Blocks/ImageBlock.mjs +3 -3
- package/dist/components/Blocks/MediaBlock.mjs +3 -3
- package/dist/components/Blocks/RelatedPosts.js +17 -1
- package/dist/components/Blocks/RelatedPosts.mjs +10 -9
- package/dist/components/Blocks/RenderBlocks.js +17 -1
- package/dist/components/Blocks/RenderBlocks.mjs +11 -10
- package/dist/components/Blocks/ReusableContentBlock.js +17 -1
- package/dist/components/Blocks/ReusableContentBlock.mjs +11 -10
- package/dist/components/Blocks/index.js +17 -1
- package/dist/components/Blocks/index.mjs +15 -14
- package/dist/components/CRM/CogeBoard.js +1 -1
- package/dist/components/CRM/CogeBoard.mjs +2 -2
- package/dist/components/CRM/DealDetails.js +1 -1
- package/dist/components/CRM/DealDetails.mjs +1 -1
- package/dist/components/CRM/KanbanBoard.js +1 -1
- package/dist/components/CRM/KanbanBoard.mjs +2 -2
- package/dist/components/CRM/NewDealForm.js +1 -1
- package/dist/components/CRM/NewDealForm.mjs +1 -1
- package/dist/components/CRM/index.js +2 -2
- package/dist/components/CRM/index.mjs +7 -7
- package/dist/components/CRM/mockData.js +6 -6
- package/dist/components/CRM/mockData.mjs +6 -6
- package/dist/components/Cards/ContentCard.js +17 -1
- package/dist/components/Cards/ContentCard.mjs +8 -7
- package/dist/components/Cards/FeatureCard.js +17 -1
- package/dist/components/Cards/FeatureCard.mjs +8 -7
- package/dist/components/Cards/index.js +17 -1
- package/dist/components/Cards/index.mjs +10 -9
- package/dist/components/Chat/ChatInterface.mjs +10 -10
- package/dist/components/Chat/CopilotInterface.mjs +11 -11
- package/dist/components/Chat/PartTypes/MessageHandler.mjs +8 -8
- package/dist/components/Chat/PartTypes/index.mjs +23 -23
- package/dist/components/Chat/demo-long-messages.mjs +11 -11
- package/dist/components/Chat/demo-tests.mjs +11 -11
- package/dist/components/Chat/demo.mjs +11 -11
- package/dist/components/Chat/example-usage.mjs +12 -12
- package/dist/components/Chat/example-with-vercel-ai.mjs +11 -11
- package/dist/components/Chat/index.mjs +18 -18
- package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +3 -3
- package/dist/components/DigitalColleagues/MainPage.mjs +8 -8
- package/dist/components/DigitalColleagues/Pages/dashboardpage.mjs +10 -10
- package/dist/components/DigitalColleagues/Views/ColleaguesView.mjs +2 -2
- package/dist/components/DigitalColleagues/Views/index.mjs +19 -19
- package/dist/components/DigitalColleagues/index.mjs +28 -28
- package/dist/components/Foundary/AppSidebarLeft.mjs +3 -3
- package/dist/components/Foundary/Knowledge/add-knowledge-modal.mjs +3 -3
- package/dist/components/Foundary/Knowledge/add-team-context.mjs +3 -3
- package/dist/components/Foundary/MainPage.mjs +8 -8
- package/dist/components/Foundary/Pages/dashboardpage.mjs +14 -14
- package/dist/components/Foundary/RichText/index.mjs +3 -3
- package/dist/components/Foundary/RichText/plugins/toolbar-plugin.mjs +2 -2
- package/dist/components/Foundary/Views/KnowledgeView.mjs +10 -10
- package/dist/components/Foundary/Views/index.mjs +21 -21
- package/dist/components/Foundary/document-edit.mjs +4 -4
- package/dist/components/Foundary/document-preview-examples.mjs +5 -5
- package/dist/components/Foundary/document-preview.mjs +5 -5
- package/dist/components/Foundary/file-edit.mjs +7 -7
- package/dist/components/Foundary/index.mjs +38 -38
- package/dist/components/Foundary/knowledge-browser.mjs +6 -6
- package/dist/components/HeaderFooter/SectionHeading.js +17 -1
- package/dist/components/HeaderFooter/SectionHeading.mjs +9 -8
- package/dist/components/HeaderFooter/index.mjs +8 -8
- package/dist/components/Heros/HighImpact/index.js +17 -1
- package/dist/components/Heros/HighImpact/index.mjs +9 -8
- package/dist/components/Heros/LowImpact/index.js +17 -1
- package/dist/components/Heros/LowImpact/index.mjs +9 -8
- package/dist/components/Heros/MediumImpact/index.js +17 -1
- package/dist/components/Heros/MediumImpact/index.mjs +9 -8
- package/dist/components/Heros/PostHero/index.mjs +3 -3
- package/dist/components/Heros/RenderHero.js +17 -1
- package/dist/components/Heros/RenderHero.mjs +12 -11
- package/dist/components/Heros/index.js +17 -1
- package/dist/components/Heros/index.mjs +17 -16
- package/dist/components/Layouts/OutputHeaderFooter.js +17 -1
- package/dist/components/Layouts/OutputHeaderFooter.mjs +12 -11
- package/dist/components/Layouts/Print.js +17 -1
- package/dist/components/Layouts/Print.mjs +16 -15
- package/dist/components/Layouts/SlideShow.js +17 -1
- package/dist/components/Layouts/SlideShow.mjs +17 -16
- package/dist/components/Layouts/index.js +17 -1
- package/dist/components/Layouts/index.mjs +21 -20
- package/dist/components/Menus/SidebarLeft.mjs +3 -3
- package/dist/components/Menus/SidebarLeftMulti.mjs +3 -3
- package/dist/components/Menus/SidebarRight.mjs +3 -3
- package/dist/components/Menus/index.mjs +8 -8
- package/dist/components/Payload/CollectionArchive/index.mjs +4 -4
- package/dist/components/Payload/Media/index.mjs +2 -2
- package/dist/components/Payload/PayloadCard/index.mjs +3 -3
- package/dist/components/Payload/RichText/index.js +17 -1
- package/dist/components/Payload/RichText/index.mjs +8 -7
- package/dist/components/Payload/RichText/serialize.js +17 -1
- package/dist/components/Payload/RichText/serialize.mjs +8 -7
- package/dist/components/Payload/index.js +17 -1
- package/dist/components/Payload/index.mjs +13 -12
- package/dist/components/Projects/FileView.mjs +10 -10
- package/dist/components/Projects/KanbanBoardView.mjs +12 -12
- package/dist/components/Projects/ProjectPage.mjs +15 -15
- package/dist/components/Projects/ProjectView.mjs +15 -15
- package/dist/components/Projects/TaskDetailsModal.mjs +11 -11
- package/dist/components/Projects/file-list.mjs +8 -8
- package/dist/components/Projects/index.mjs +14 -14
- package/dist/components/dc-temp/index.mjs +10 -10
- package/dist/components/index.js +19 -3
- package/dist/components/index.mjs +128 -127
- package/dist/components/ui/index.mjs +9 -9
- package/dist/components/ui/sidebar.mjs +2 -2
- package/dist/decorators/Intranet.mjs +77 -76
- package/dist/index.js +19 -3
- package/dist/index.mjs +142 -141
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/pages/Blog.js +17 -1
- package/dist/pages/Blog.mjs +17 -16
- package/dist/pages/Documentation.mjs +8 -8
- package/dist/pages/IndexPage.mjs +22 -21
- package/dist/pages/Intranet.mjs +3 -3
- package/dist/pages/LandingPage.js +17 -1
- package/dist/pages/LandingPage.mjs +88 -87
- package/dist/pages/Page.js +17 -1
- package/dist/pages/Page.mjs +20 -19
- package/dist/pages/Publish.js +17 -1
- package/dist/pages/Publish.mjs +76 -75
- package/dist/pages/Website.js +17 -1
- package/dist/pages/Website.mjs +21 -20
- package/dist/payload-types.d.ts +1 -1
- package/dist/sections/AboutSection.js +17 -1
- package/dist/sections/AboutSection.mjs +10 -9
- package/dist/sections/BlogDetail.js +17 -1
- package/dist/sections/BlogDetail.mjs +9 -8
- package/dist/sections/BlogList.js +17 -1
- package/dist/sections/BlogList.mjs +10 -9
- package/dist/sections/BlogListSection.mjs +8 -8
- package/dist/sections/ContactSection.js +17 -1
- package/dist/sections/ContactSection.mjs +10 -9
- package/dist/sections/PageSections.js +17 -1
- package/dist/sections/PageSections.mjs +86 -85
- package/dist/sections/PricingSection.js +17 -1
- package/dist/sections/PricingSection.mjs +10 -9
- package/dist/sections/ServiceDetail.js +17 -1
- package/dist/sections/ServiceDetail.mjs +9 -8
- package/dist/sections/ServiceDetailSection.js +17 -1
- package/dist/sections/ServiceDetailSection.mjs +9 -8
- package/dist/sections/ServiceSection.js +17 -1
- package/dist/sections/ServiceSection.mjs +76 -75
- package/dist/sections/index.js +17 -1
- package/dist/sections/index.mjs +88 -87
- package/dist/utils/getLinkHref.d.ts +12 -0
- package/dist/utils/getLinkHref.js +43 -0
- package/dist/utils/getLinkHref.mjs +7 -0
- package/package.json +1 -1
- package/dist/{chunk-NKRBXAPF.mjs → chunk-2YHN7ZCJ.mjs} +3 -3
- package/dist/{chunk-EUAUP52U.mjs → chunk-7UMFQPR5.mjs} +3 -3
- package/dist/{chunk-AEFGMCK3.mjs → chunk-D5KV6INF.mjs} +3 -3
- package/dist/{chunk-ECCJ42NJ.mjs → chunk-M5XPU4JK.mjs} +11 -11
- package/dist/{chunk-CT6KAYGR.mjs → chunk-MFXCOX3L.mjs} +3 -3
- package/dist/{chunk-DZYAOBGH.mjs → chunk-PXB2ICFA.mjs} +3 -3
- package/dist/{chunk-6OFY4WMY.mjs → chunk-RWZ36G7W.mjs} +3 -3
|
@@ -16,15 +16,18 @@ import {
|
|
|
16
16
|
import {
|
|
17
17
|
Form
|
|
18
18
|
} from "./chunk-GSG52WU5.mjs";
|
|
19
|
+
import {
|
|
20
|
+
ImageBlock
|
|
21
|
+
} from "./chunk-HLEMFDTD.mjs";
|
|
19
22
|
import {
|
|
20
23
|
MediaBlock
|
|
21
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-KIZUBPPQ.mjs";
|
|
22
25
|
import {
|
|
23
26
|
CodeBlock
|
|
24
27
|
} from "./chunk-WPX6MOFB.mjs";
|
|
25
28
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./chunk-
|
|
29
|
+
getLinkHref
|
|
30
|
+
} from "./chunk-F4LCVFZK.mjs";
|
|
28
31
|
import {
|
|
29
32
|
DynamicIcon
|
|
30
33
|
} from "./chunk-75ALYLZU.mjs";
|
|
@@ -146,7 +149,7 @@ function FeatureCard({
|
|
|
146
149
|
return /* @__PURE__ */ jsxs2(
|
|
147
150
|
"a",
|
|
148
151
|
{
|
|
149
|
-
href: link
|
|
152
|
+
href: getLinkHref(link),
|
|
150
153
|
className: cn(
|
|
151
154
|
"min-w-56 max-w-xl h-full flex flex-col group bg-background",
|
|
152
155
|
image ? "p-0" : "p-6 md:p-8",
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Message,
|
|
3
|
+
MessageContent
|
|
4
|
+
} from "./chunk-FAKMLOOM.mjs";
|
|
1
5
|
import {
|
|
2
6
|
messageHandler
|
|
3
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-M5XPU4JK.mjs";
|
|
4
8
|
import {
|
|
5
9
|
Conversation,
|
|
6
10
|
ConversationContent,
|
|
7
11
|
ConversationEmptyState,
|
|
8
12
|
ConversationScrollButton
|
|
9
13
|
} from "./chunk-LY77BPMB.mjs";
|
|
10
|
-
import {
|
|
11
|
-
Message,
|
|
12
|
-
MessageContent
|
|
13
|
-
} from "./chunk-FAKMLOOM.mjs";
|
|
14
14
|
import {
|
|
15
15
|
getContextualActions
|
|
16
16
|
} from "./chunk-AXWYY2I5.mjs";
|
|
@@ -120,7 +120,7 @@ function NewDealForm({
|
|
|
120
120
|
}
|
|
121
121
|
};
|
|
122
122
|
const getUserById = (userId) => {
|
|
123
|
-
return users?.find((user) => user.id ===
|
|
123
|
+
return users?.find((user) => user.id === userId);
|
|
124
124
|
};
|
|
125
125
|
const getCustomerById = (customerID) => {
|
|
126
126
|
return customers?.find((customer) => customer.id === Number(customerID));
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-25OSLP2V.mjs";
|
|
10
10
|
import {
|
|
11
11
|
KanbanBoardView
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-DWGG6JKH.mjs";
|
|
13
13
|
import {
|
|
14
14
|
AddTaskModal
|
|
15
15
|
} from "./chunk-3FBWSJJD.mjs";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "./chunk-YNWNEY2R.mjs";
|
|
19
19
|
import {
|
|
20
20
|
FileView
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-MSAH6P5O.mjs";
|
|
22
22
|
import {
|
|
23
23
|
AddEpicModal
|
|
24
24
|
} from "./chunk-UDCOG2XL.mjs";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CollapsibleBlock
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HGDLIXPQ.mjs";
|
|
4
4
|
import {
|
|
5
5
|
ContentBlock
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-IXQESSPI.mjs";
|
|
7
7
|
import {
|
|
8
8
|
CallToActionBlock,
|
|
9
9
|
FeaturesBlock
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-4HFMA57F.mjs";
|
|
11
11
|
import {
|
|
12
12
|
MediaBlock
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-KIZUBPPQ.mjs";
|
|
14
14
|
import {
|
|
15
15
|
cn
|
|
16
16
|
} from "./chunk-KZPGX6CG.mjs";
|
|
@@ -118,7 +118,7 @@ function DealDetails({
|
|
|
118
118
|
}
|
|
119
119
|
};
|
|
120
120
|
const getUserById = (userId) => {
|
|
121
|
-
return users?.find((user) => user.id ===
|
|
121
|
+
return users?.find((user) => user.id === userId);
|
|
122
122
|
};
|
|
123
123
|
return /* @__PURE__ */ jsx(Dialog, { open: true, children: /* @__PURE__ */ jsxs(DialogContent, { className: "max-w-3xl max-h-[90vh] overflow-hidden flex flex-col [&>button:last-child]:hidden", children: [
|
|
124
124
|
/* @__PURE__ */ jsxs(DialogHeader, { className: "flex flex-row items-center justify-between", children: [
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
import {
|
|
5
5
|
AppSidebarLeft
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VEIZROGM.mjs";
|
|
7
7
|
import {
|
|
8
8
|
Breadcrumb,
|
|
9
9
|
BreadcrumbItem,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
SidebarInset,
|
|
20
20
|
SidebarProvider,
|
|
21
21
|
SidebarTrigger
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-D5KV6INF.mjs";
|
|
23
23
|
import {
|
|
24
24
|
Separator
|
|
25
25
|
} from "./chunk-7GPVQAMX.mjs";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// src/utils/getLinkHref.ts
|
|
2
|
+
function getLinkHref(link) {
|
|
3
|
+
if (!link) return "#";
|
|
4
|
+
if (link.url) return link.url;
|
|
5
|
+
if (link.reference?.value) {
|
|
6
|
+
const { relationTo, value } = link.reference;
|
|
7
|
+
const slug = value?.slug;
|
|
8
|
+
if (!slug) return "#";
|
|
9
|
+
if (relationTo === "pages") {
|
|
10
|
+
return `/${slug}`;
|
|
11
|
+
}
|
|
12
|
+
return `/${relationTo}/${slug}`;
|
|
13
|
+
}
|
|
14
|
+
return "#";
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export {
|
|
18
|
+
getLinkHref
|
|
19
|
+
};
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
|
|
4
4
|
import {
|
|
5
5
|
RichText
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-4HFMA57F.mjs";
|
|
7
7
|
import {
|
|
8
8
|
CMSLink
|
|
9
9
|
} from "./chunk-2NXKZY7U.mjs";
|
|
10
10
|
import {
|
|
11
11
|
Media
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-2YHN7ZCJ.mjs";
|
|
13
13
|
|
|
14
14
|
// src/components/Heros/HighImpact/index.tsx
|
|
15
15
|
import Image from "next/image";
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
Footer,
|
|
6
6
|
HeaderTop,
|
|
7
7
|
TitleSlide
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-COHYOWMB.mjs";
|
|
9
9
|
import {
|
|
10
10
|
RenderBlocks
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-B3UYSM32.mjs";
|
|
12
12
|
import {
|
|
13
13
|
cn
|
|
14
14
|
} from "./chunk-KZPGX6CG.mjs";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
import {
|
|
5
5
|
KnowledgeView
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6I3O6TVG.mjs";
|
|
7
7
|
import {
|
|
8
8
|
ColleaguesView
|
|
9
9
|
} from "./chunk-XWCG4YG3.mjs";
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
} from "./chunk-WHCZTD2K.mjs";
|
|
23
23
|
import {
|
|
24
24
|
FileList
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-ZMITLXFT.mjs";
|
|
26
26
|
import {
|
|
27
27
|
mockApps,
|
|
28
28
|
mockRecentFiles,
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
import {
|
|
5
5
|
HeaderTop,
|
|
6
6
|
TitleSlide
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-COHYOWMB.mjs";
|
|
8
8
|
import {
|
|
9
9
|
RenderBlocks
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-B3UYSM32.mjs";
|
|
11
11
|
import {
|
|
12
12
|
getTableOfContents
|
|
13
13
|
} from "./chunk-BXLYIIII.mjs";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SectionHero
|
|
3
3
|
} from "./chunk-N77BYZ6A.mjs";
|
|
4
|
-
import {
|
|
5
|
-
HighImpactHero
|
|
6
|
-
} from "./chunk-DO73CLFG.mjs";
|
|
7
4
|
import {
|
|
8
5
|
MediumImpactHero
|
|
9
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TZDVVQBQ.mjs";
|
|
7
|
+
import {
|
|
8
|
+
HighImpactHero
|
|
9
|
+
} from "./chunk-F563CDDJ.mjs";
|
|
10
10
|
import {
|
|
11
11
|
LowImpactHero
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-USE5WY4U.mjs";
|
|
13
13
|
|
|
14
14
|
// src/components/Heros/RenderHero.tsx
|
|
15
15
|
import { ChevronRightIcon, HomeIcon } from "@heroicons/react/20/solid";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
import {
|
|
5
5
|
AppSidebarLeft
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-GV3CMMKT.mjs";
|
|
7
7
|
import {
|
|
8
8
|
Breadcrumb,
|
|
9
9
|
BreadcrumbItem,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
SidebarInset,
|
|
20
20
|
SidebarProvider,
|
|
21
21
|
SidebarTrigger
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-D5KV6INF.mjs";
|
|
23
23
|
import {
|
|
24
24
|
Separator
|
|
25
25
|
} from "./chunk-7GPVQAMX.mjs";
|