cortex-react-components 3.0.6 → 3.0.7
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-GWAHXLXW.mjs → chunk-2NKCNQ56.mjs} +1 -1
- package/dist/{chunk-VNLOFYZP.mjs → chunk-2PGER2HM.mjs} +1 -1
- package/dist/{chunk-FP7MLBPR.mjs → chunk-2TJ5HOCV.mjs} +1 -1
- package/dist/{chunk-6X55BFTD.mjs → chunk-6B6BKJIE.mjs} +1 -1
- package/dist/{chunk-7RKAC2XY.mjs → chunk-6Q4KYDHK.mjs} +2 -2
- package/dist/{chunk-SGP3VC6H.mjs → chunk-6RAMGDYG.mjs} +1 -1
- package/dist/{chunk-2QYYHKCF.mjs → chunk-7OGBZ6QQ.mjs} +1 -1
- package/dist/{chunk-TCSJWGPP.mjs → chunk-AICDXFGU.mjs} +2 -2
- package/dist/{chunk-O3CANERK.mjs → chunk-DAGWV4UL.mjs} +1 -1
- package/dist/{chunk-352XMFIA.mjs → chunk-DO73CLFG.mjs} +1 -1
- package/dist/{chunk-3IV2X2TP.mjs → chunk-DQZO42TD.mjs} +1 -1
- package/dist/{chunk-OUPOGRNP.mjs → chunk-DRCDP3RU.mjs} +1 -1
- package/dist/{chunk-IMWMWTDR.mjs → chunk-EC4N6ZH3.mjs} +1 -1
- package/dist/{chunk-E3ALXLNH.mjs → chunk-EDJDHF22.mjs} +1 -1
- package/dist/{chunk-DHDEGEML.mjs → chunk-ENFQLMV3.mjs} +3 -3
- package/dist/{chunk-GV3CMMKT.mjs → chunk-FECAR2TE.mjs} +1 -1
- package/dist/{chunk-A45K7TLD.mjs → chunk-FUNWDVGQ.mjs} +1 -1
- package/dist/{chunk-IRNGNLSK.mjs → chunk-G3UZUSQZ.mjs} +4 -4
- package/dist/{chunk-OQ62XQNJ.mjs → chunk-GZW77OJM.mjs} +1 -1
- package/dist/{chunk-UGGMHEBS.mjs → chunk-HQ2AUN2H.mjs} +1 -1
- package/dist/{chunk-PBJRNOV6.mjs → chunk-HZZWKYB5.mjs} +1 -1
- package/dist/{chunk-J67TVZKA.mjs → chunk-I647IJUG.mjs} +2 -2
- package/dist/{chunk-5L5NXMN2.mjs → chunk-K3TF6OWE.mjs} +5 -5
- package/dist/{chunk-QOPCGZNQ.mjs → chunk-KV5RVOAP.mjs} +1 -1
- package/dist/{chunk-SP6YBXB2.mjs → chunk-KVULICDA.mjs} +1 -1
- package/dist/{chunk-MAQCJ7GT.mjs → chunk-LAJ5FNY4.mjs} +1 -1
- package/dist/{chunk-OU7KRO3L.mjs → chunk-LP3K7AVX.mjs} +13 -13
- package/dist/{chunk-TPZCEPBQ.mjs → chunk-M5JROT2X.mjs} +1 -1
- package/dist/{chunk-VEIZROGM.mjs → chunk-M6ELOAGS.mjs} +1 -1
- package/dist/{chunk-ZDRZ4OQ6.mjs → chunk-NAPGIF5D.mjs} +3 -3
- package/dist/{chunk-ITLPZK2Y.mjs → chunk-NHDPHK6D.mjs} +3 -3
- package/dist/{chunk-RYINW7OG.mjs → chunk-OXZ5QAXQ.mjs} +1 -1
- package/dist/{chunk-URDEWGQC.mjs → chunk-P4DQRHCA.mjs} +1 -1
- package/dist/chunk-PE44IHZN.mjs +97 -0
- package/dist/{chunk-GNZFIBT4.mjs → chunk-R2SJ5TZH.mjs} +8 -8
- package/dist/{chunk-L3Z7RRWC.mjs → chunk-RC6YHGVV.mjs} +2 -2
- package/dist/{chunk-PSU7NVB6.mjs → chunk-RKQ4CVVG.mjs} +1 -1
- package/dist/{chunk-NPH4VQCE.mjs → chunk-TTVOGAI4.mjs} +6 -6
- package/dist/{chunk-DPVVX4ZT.mjs → chunk-UDZU3AZC.mjs} +1 -1
- package/dist/{chunk-3WWKFK6O.mjs → chunk-UJI3Y73K.mjs} +3 -3
- package/dist/{chunk-N2T6V3NP.mjs → chunk-URCY4KWN.mjs} +1 -1
- package/dist/{chunk-4YRR74Y4.mjs → chunk-VMYEV3FG.mjs} +1 -1
- package/dist/{chunk-R2LCV7J4.mjs → chunk-VNSEHNDX.mjs} +1 -1
- package/dist/{chunk-MBF6CBFG.mjs → chunk-WMAVH7JO.mjs} +2 -2
- package/dist/{chunk-Z6MYLHDW.mjs → chunk-YFOEG4PP.mjs} +1 -1
- package/dist/{chunk-EG32GIHZ.mjs → chunk-ZPWWTTFF.mjs} +1 -1
- package/dist/components/AdvancedComponents/index.mjs +5 -5
- package/dist/components/AdvancedComponents/org-chart-component/OrgChart.mjs +3 -3
- package/dist/components/AdvancedComponents/org-chart-component/OrgTree.mjs +2 -2
- package/dist/components/AdvancedComponents/org-chart-component/index.mjs +5 -5
- package/dist/components/Blocks/Banner.mjs +2 -1
- package/dist/components/Blocks/CallToAction.mjs +2 -1
- package/dist/components/Blocks/CollapsibleArea.mjs +3 -2
- package/dist/components/Blocks/Content.mjs +3 -2
- package/dist/components/Blocks/FeaturesBlock.mjs +2 -1
- package/dist/components/Blocks/RelatedPosts.mjs +3 -2
- package/dist/components/Blocks/RenderBlocks.mjs +5 -4
- package/dist/components/Blocks/ReusableContentBlock.mjs +5 -4
- package/dist/components/Blocks/index.mjs +6 -5
- package/dist/components/Cards/ContentCard.mjs +2 -1
- package/dist/components/Cards/FeatureCard.mjs +2 -1
- package/dist/components/Cards/ImageProxy.css +917 -0
- package/dist/components/Cards/ImageProxy.d.ts +4 -0
- package/dist/components/Cards/ImageProxy.js +2667 -0
- package/dist/components/Cards/ImageProxy.mjs +15 -0
- package/dist/components/Cards/index.d.ts +1 -0
- package/dist/components/Cards/index.js +141 -56
- package/dist/components/Cards/index.mjs +5 -1
- package/dist/components/Chat/ChatInterface.mjs +5 -5
- package/dist/components/Chat/CopilotInterface.mjs +6 -6
- package/dist/components/Chat/PartTypes/MessageHandler.mjs +4 -4
- package/dist/components/Chat/PartTypes/index.mjs +17 -17
- package/dist/components/Chat/demo-long-messages.mjs +6 -6
- package/dist/components/Chat/demo-tests.mjs +6 -6
- package/dist/components/Chat/demo.mjs +6 -6
- package/dist/components/Chat/example-usage.mjs +7 -7
- package/dist/components/Chat/example-with-vercel-ai.mjs +6 -6
- package/dist/components/Chat/index.mjs +11 -11
- package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +3 -3
- package/dist/components/DigitalColleagues/MainPage.mjs +11 -11
- package/dist/components/DigitalColleagues/Pages/dashboardpage.mjs +10 -10
- package/dist/components/DigitalColleagues/Views/index.mjs +19 -19
- package/dist/components/DigitalColleagues/index.mjs +36 -36
- 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 +11 -11
- package/dist/components/Foundary/Pages/dashboardpage.mjs +15 -15
- package/dist/components/Foundary/RichText/index.mjs +4 -4
- package/dist/components/Foundary/RichText/plugins/toolbar-plugin.mjs +3 -3
- package/dist/components/Foundary/Views/KnowledgeView.mjs +11 -11
- package/dist/components/Foundary/Views/index.mjs +25 -25
- package/dist/components/Foundary/document-edit.mjs +5 -5
- package/dist/components/Foundary/document-preview-examples.mjs +6 -6
- package/dist/components/Foundary/document-preview.mjs +6 -6
- package/dist/components/Foundary/file-edit.mjs +8 -8
- package/dist/components/Foundary/index.mjs +40 -40
- package/dist/components/Foundary/knowledge-browser.mjs +7 -7
- package/dist/components/HeaderFooter/Header.mjs +2 -2
- package/dist/components/HeaderFooter/SectionHeading.mjs +3 -2
- package/dist/components/HeaderFooter/index.mjs +10 -10
- package/dist/components/Heros/HighImpact/index.mjs +3 -2
- package/dist/components/Heros/LowImpact/index.mjs +3 -2
- package/dist/components/Heros/MediumImpact/index.mjs +3 -2
- package/dist/components/Heros/PostHero/index.mjs +3 -3
- package/dist/components/Heros/RenderHero.mjs +6 -5
- package/dist/components/Heros/index.mjs +11 -10
- package/dist/components/Layouts/OutputHeaderFooter.mjs +4 -3
- package/dist/components/Layouts/Print.mjs +8 -7
- package/dist/components/Layouts/SlideShow.mjs +9 -8
- package/dist/components/Layouts/index.mjs +16 -15
- package/dist/components/Menus/SidebarLeft.mjs +3 -3
- package/dist/components/Menus/SidebarLeftMulti.js +1 -1
- package/dist/components/Menus/SidebarLeftMulti.mjs +3 -3
- package/dist/components/Menus/SidebarRight.mjs +3 -3
- package/dist/components/Menus/index.js +1 -1
- package/dist/components/Menus/index.mjs +8 -8
- package/dist/components/Payload/RichText/index.mjs +2 -1
- package/dist/components/Payload/RichText/serialize.mjs +2 -1
- package/dist/components/Payload/index.mjs +5 -4
- package/dist/components/Projects/EpicsView.mjs +2 -2
- package/dist/components/Projects/FileView.mjs +10 -10
- package/dist/components/Projects/KanbanBoardView.mjs +12 -12
- package/dist/components/Projects/ProjectPage.mjs +16 -16
- package/dist/components/Projects/ProjectView.mjs +16 -16
- package/dist/components/Projects/TaskDetailsModal.mjs +10 -10
- package/dist/components/Projects/file-list.mjs +9 -9
- package/dist/components/Projects/index.mjs +15 -15
- package/dist/components/dc-temp/index.mjs +11 -11
- package/dist/components/index.js +4168 -4083
- package/dist/components/index.mjs +116 -112
- package/dist/components/ui/index.mjs +9 -9
- package/dist/components/ui/sidebar.mjs +2 -2
- package/dist/decorators/Intranet.mjs +68 -67
- package/dist/index.js +4409 -4324
- package/dist/index.mjs +128 -124
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/pages/Blog.mjs +13 -12
- package/dist/pages/Documentation.mjs +11 -11
- package/dist/pages/IndexPage.mjs +16 -15
- package/dist/pages/Intranet.js +1 -1
- package/dist/pages/Intranet.mjs +3 -3
- package/dist/pages/LandingPage.mjs +77 -76
- package/dist/pages/Page.mjs +17 -16
- package/dist/pages/Publish.mjs +67 -66
- package/dist/pages/Website.mjs +18 -17
- package/dist/sections/AboutSection.mjs +4 -3
- package/dist/sections/BlogDetail.mjs +3 -2
- package/dist/sections/BlogList.mjs +4 -3
- package/dist/sections/BlogListSection.mjs +7 -7
- package/dist/sections/ContactSection.mjs +4 -3
- package/dist/sections/PageSections.mjs +77 -76
- package/dist/sections/PricingSection.mjs +4 -3
- package/dist/sections/ServiceDetail.mjs +3 -2
- package/dist/sections/ServiceDetailSection.mjs +3 -2
- package/dist/sections/ServiceSection.mjs +67 -66
- package/dist/sections/index.mjs +77 -76
- package/package.json +1 -1
- package/dist/{chunk-6TVRFATY.mjs → chunk-25OSLP2V.mjs} +3 -3
- package/dist/{chunk-D5KV6INF.mjs → chunk-AEFGMCK3.mjs} +3 -3
- package/dist/{chunk-MFXCOX3L.mjs → chunk-CT6KAYGR.mjs} +3 -3
- package/dist/{chunk-FLPPUI7L.mjs → chunk-DB2F6SID.mjs} +3 -3
- package/dist/{chunk-ECWGCKWS.mjs → chunk-DZYAOBGH.mjs} +3 -3
- package/dist/{chunk-57INGMKK.mjs → chunk-ECCJ42NJ.mjs} +7 -7
- package/dist/{chunk-PYAVZEWJ.mjs → chunk-FZMTC5ID.mjs} +3 -3
- /package/dist/{chunk-NV67QFQM.mjs → chunk-LSHBOPCT.mjs} +0 -0
|
@@ -10,14 +10,14 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
ProjectCard
|
|
12
12
|
} from "./chunk-WHCZTD2K.mjs";
|
|
13
|
+
import {
|
|
14
|
+
FileList
|
|
15
|
+
} from "./chunk-HQ2AUN2H.mjs";
|
|
13
16
|
import {
|
|
14
17
|
mockApps,
|
|
15
18
|
mockRecentFiles,
|
|
16
19
|
mockTutorials
|
|
17
20
|
} from "./chunk-EMDTCDYI.mjs";
|
|
18
|
-
import {
|
|
19
|
-
FileList
|
|
20
|
-
} from "./chunk-UGGMHEBS.mjs";
|
|
21
21
|
import {
|
|
22
22
|
DashboardHero
|
|
23
23
|
} from "./chunk-VESIB4VP.mjs";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TaskDetailsModal
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-UDZU3AZC.mjs";
|
|
4
4
|
import {
|
|
5
5
|
TaskCard
|
|
6
6
|
} from "./chunk-EUOOS2Q3.mjs";
|
|
7
|
+
import {
|
|
8
|
+
AddTaskModal
|
|
9
|
+
} from "./chunk-3FBWSJJD.mjs";
|
|
7
10
|
import {
|
|
8
11
|
KanbanColumn
|
|
9
12
|
} from "./chunk-P7YLSTDO.mjs";
|
|
10
13
|
import {
|
|
11
14
|
AddEpicModal
|
|
12
15
|
} from "./chunk-UDCOG2XL.mjs";
|
|
13
|
-
import {
|
|
14
|
-
AddTaskModal
|
|
15
|
-
} from "./chunk-3FBWSJJD.mjs";
|
|
16
16
|
import {
|
|
17
17
|
DashboardHero
|
|
18
18
|
} from "./chunk-VESIB4VP.mjs";
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
Footer,
|
|
6
6
|
HeaderTop,
|
|
7
7
|
TitleSlide
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-KVULICDA.mjs";
|
|
9
9
|
import {
|
|
10
10
|
RenderBlocks
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-NAPGIF5D.mjs";
|
|
12
12
|
import {
|
|
13
13
|
cn
|
|
14
14
|
} from "./chunk-KZPGX6CG.mjs";
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
} from "./chunk-N77BYZ6A.mjs";
|
|
4
4
|
import {
|
|
5
5
|
HighImpactHero
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import {
|
|
8
|
-
LowImpactHero
|
|
9
|
-
} from "./chunk-RYINW7OG.mjs";
|
|
6
|
+
} from "./chunk-DO73CLFG.mjs";
|
|
10
7
|
import {
|
|
11
8
|
MediumImpactHero
|
|
12
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-DAGWV4UL.mjs";
|
|
10
|
+
import {
|
|
11
|
+
LowImpactHero
|
|
12
|
+
} from "./chunk-OXZ5QAXQ.mjs";
|
|
13
13
|
|
|
14
14
|
// src/components/Heros/RenderHero.tsx
|
|
15
15
|
import { ChevronRightIcon, HomeIcon } from "@heroicons/react/20/solid";
|
|
@@ -3,42 +3,42 @@
|
|
|
3
3
|
|
|
4
4
|
import {
|
|
5
5
|
ServiceSection
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-2TJ5HOCV.mjs";
|
|
7
7
|
import {
|
|
8
8
|
BlogList
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-HZZWKYB5.mjs";
|
|
10
10
|
import {
|
|
11
11
|
ContactSection,
|
|
12
12
|
LocationsSection
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-DRCDP3RU.mjs";
|
|
14
14
|
import {
|
|
15
15
|
SectionHero
|
|
16
16
|
} from "./chunk-N77BYZ6A.mjs";
|
|
17
17
|
import {
|
|
18
18
|
HighImpactHero
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import {
|
|
21
|
-
LowImpactHero
|
|
22
|
-
} from "./chunk-RYINW7OG.mjs";
|
|
19
|
+
} from "./chunk-DO73CLFG.mjs";
|
|
23
20
|
import {
|
|
24
21
|
MediumImpactHero
|
|
25
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-DAGWV4UL.mjs";
|
|
23
|
+
import {
|
|
24
|
+
LowImpactHero
|
|
25
|
+
} from "./chunk-OXZ5QAXQ.mjs";
|
|
26
26
|
import {
|
|
27
27
|
CallToActionBlock,
|
|
28
28
|
RichText
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-LSHBOPCT.mjs";
|
|
30
30
|
import {
|
|
31
31
|
Media
|
|
32
32
|
} from "./chunk-NKRBXAPF.mjs";
|
|
33
|
-
import {
|
|
34
|
-
PageShape
|
|
35
|
-
} from "./chunk-QX5S5NN2.mjs";
|
|
36
33
|
import {
|
|
37
34
|
Footer
|
|
38
35
|
} from "./chunk-APQYZUMH.mjs";
|
|
39
36
|
import {
|
|
40
37
|
Header
|
|
41
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-FZMTC5ID.mjs";
|
|
39
|
+
import {
|
|
40
|
+
PageShape
|
|
41
|
+
} from "./chunk-QX5S5NN2.mjs";
|
|
42
42
|
import {
|
|
43
43
|
Container
|
|
44
44
|
} from "./chunk-KL3DQ7AU.mjs";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CollapsibleBlock
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KV5RVOAP.mjs";
|
|
4
4
|
import {
|
|
5
5
|
ContentBlock
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-EC4N6ZH3.mjs";
|
|
7
7
|
import {
|
|
8
8
|
CallToActionBlock,
|
|
9
9
|
FeaturesBlock
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-LSHBOPCT.mjs";
|
|
11
11
|
import {
|
|
12
12
|
MediaBlock
|
|
13
13
|
} from "./chunk-6GO5N6ZP.mjs";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
import {
|
|
5
5
|
AppSidebarLeft
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-M6ELOAGS.mjs";
|
|
7
7
|
import {
|
|
8
8
|
Breadcrumb,
|
|
9
9
|
BreadcrumbItem,
|
|
@@ -19,13 +19,13 @@ import {
|
|
|
19
19
|
SidebarInset,
|
|
20
20
|
SidebarProvider,
|
|
21
21
|
SidebarTrigger
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-AEFGMCK3.mjs";
|
|
23
23
|
import {
|
|
24
24
|
Separator
|
|
25
25
|
} from "./chunk-7GPVQAMX.mjs";
|
|
26
26
|
import {
|
|
27
27
|
Header
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-FZMTC5ID.mjs";
|
|
29
29
|
import {
|
|
30
30
|
cortex_reply_light_default
|
|
31
31
|
} from "./chunk-7YNU7PA4.mjs";
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import {
|
|
5
|
+
Dialog,
|
|
6
|
+
DialogClose,
|
|
7
|
+
DialogContent,
|
|
8
|
+
DialogHeader,
|
|
9
|
+
DialogTitle
|
|
10
|
+
} from "./chunk-3BYULUMU.mjs";
|
|
11
|
+
|
|
12
|
+
// src/components/Cards/ImageProxy.tsx
|
|
13
|
+
import NextImage from "next/image";
|
|
14
|
+
import { useState } from "react";
|
|
15
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
16
|
+
function isExternalUrl(url) {
|
|
17
|
+
return url.startsWith("http");
|
|
18
|
+
}
|
|
19
|
+
function getAPIUrl(src, baseContext) {
|
|
20
|
+
let url = src;
|
|
21
|
+
if (isExternalUrl(src)) {
|
|
22
|
+
url = src;
|
|
23
|
+
} else {
|
|
24
|
+
let newSrc = src.replace("./", "");
|
|
25
|
+
if (newSrc.startsWith("/")) {
|
|
26
|
+
newSrc = newSrc.slice(1);
|
|
27
|
+
}
|
|
28
|
+
url = baseContext + "/" + newSrc;
|
|
29
|
+
}
|
|
30
|
+
return url;
|
|
31
|
+
}
|
|
32
|
+
function ImageComponent({ src, alt }) {
|
|
33
|
+
const [open, setOpen] = useState(false);
|
|
34
|
+
const [zoomable, setZoomable] = useState(false);
|
|
35
|
+
const [imageSize, setImageSize] = useState({ width: 0, height: 0 });
|
|
36
|
+
const handleClickOpen = () => {
|
|
37
|
+
if (zoomable) {
|
|
38
|
+
setOpen(true);
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
const handleClose = () => {
|
|
42
|
+
setOpen(false);
|
|
43
|
+
};
|
|
44
|
+
const handleImageLoaded = (event) => {
|
|
45
|
+
const { naturalWidth, naturalHeight } = event.target;
|
|
46
|
+
setImageSize({ width: naturalWidth, height: naturalHeight });
|
|
47
|
+
setZoomable(naturalWidth > 300 || naturalHeight > 300);
|
|
48
|
+
};
|
|
49
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
50
|
+
/* @__PURE__ */ jsx(
|
|
51
|
+
"div",
|
|
52
|
+
{
|
|
53
|
+
className: `relative mx-auto my-4 flex justify-center items-center cursor-pointer ${imageSize.height > 300 ? "h-[300px]" : `h-[${imageSize.height}px]`}`,
|
|
54
|
+
onClick: handleClickOpen,
|
|
55
|
+
children: /* @__PURE__ */ jsx(
|
|
56
|
+
NextImage,
|
|
57
|
+
{
|
|
58
|
+
sizes: "100vw",
|
|
59
|
+
height: imageSize.height,
|
|
60
|
+
width: imageSize.width,
|
|
61
|
+
src,
|
|
62
|
+
alt: alt || "",
|
|
63
|
+
onLoad: handleImageLoaded,
|
|
64
|
+
unoptimized: true,
|
|
65
|
+
className: "object-contain max-w-full max-h-full"
|
|
66
|
+
}
|
|
67
|
+
)
|
|
68
|
+
}
|
|
69
|
+
),
|
|
70
|
+
/* @__PURE__ */ jsx(Dialog, { open, onOpenChange: setOpen, children: /* @__PURE__ */ jsxs(DialogContent, { className: "flex flex-col items-center justify-center", children: [
|
|
71
|
+
/* @__PURE__ */ jsxs(DialogHeader, { className: "flex w-full justify-end", children: [
|
|
72
|
+
/* @__PURE__ */ jsx(DialogTitle, { className: "hidden", children: alt }),
|
|
73
|
+
/* @__PURE__ */ jsx(DialogClose, {})
|
|
74
|
+
] }),
|
|
75
|
+
/* @__PURE__ */ jsx("div", { className: "flex items-center justify-center", children: /* @__PURE__ */ jsx(
|
|
76
|
+
NextImage,
|
|
77
|
+
{
|
|
78
|
+
height: imageSize.height,
|
|
79
|
+
width: imageSize.width,
|
|
80
|
+
src,
|
|
81
|
+
alt: alt || "",
|
|
82
|
+
unoptimized: true,
|
|
83
|
+
className: "object-contain"
|
|
84
|
+
}
|
|
85
|
+
) })
|
|
86
|
+
] }) })
|
|
87
|
+
] });
|
|
88
|
+
}
|
|
89
|
+
function ImageProxy({ props, baseContext }) {
|
|
90
|
+
let { src } = props;
|
|
91
|
+
src = getAPIUrl(src, baseContext);
|
|
92
|
+
return /* @__PURE__ */ jsx(ImageComponent, { src, alt: props.alt });
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export {
|
|
96
|
+
ImageProxy
|
|
97
|
+
};
|
|
@@ -6,22 +6,22 @@ import {
|
|
|
6
6
|
} from "./chunk-OIXHYJGP.mjs";
|
|
7
7
|
import {
|
|
8
8
|
EpicsView
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-25OSLP2V.mjs";
|
|
10
10
|
import {
|
|
11
11
|
KanbanBoardView
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-G3UZUSQZ.mjs";
|
|
13
|
+
import {
|
|
14
|
+
AddTaskModal
|
|
15
|
+
} from "./chunk-3FBWSJJD.mjs";
|
|
13
16
|
import {
|
|
14
17
|
PlanningView
|
|
15
18
|
} from "./chunk-YNWNEY2R.mjs";
|
|
19
|
+
import {
|
|
20
|
+
FileView
|
|
21
|
+
} from "./chunk-DQZO42TD.mjs";
|
|
16
22
|
import {
|
|
17
23
|
AddEpicModal
|
|
18
24
|
} from "./chunk-UDCOG2XL.mjs";
|
|
19
|
-
import {
|
|
20
|
-
AddTaskModal
|
|
21
|
-
} from "./chunk-3FBWSJJD.mjs";
|
|
22
|
-
import {
|
|
23
|
-
FileView
|
|
24
|
-
} from "./chunk-3IV2X2TP.mjs";
|
|
25
25
|
import {
|
|
26
26
|
ManagementSidebar
|
|
27
27
|
} from "./chunk-IWG2URAU.mjs";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
SidebarMenuSub,
|
|
17
17
|
SidebarMenuSubButton,
|
|
18
18
|
SidebarMenuSubItem
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-AEFGMCK3.mjs";
|
|
20
20
|
import {
|
|
21
21
|
Skeleton
|
|
22
22
|
} from "./chunk-EPR27OQG.mjs";
|
|
@@ -78,7 +78,7 @@ function SidebarLeftMulti({
|
|
|
78
78
|
mainNav && !loading && mainNav.map((item, index) => /* @__PURE__ */ jsxs(SidebarGroup, { children: [
|
|
79
79
|
/* @__PURE__ */ jsx(SidebarGroupLabel, { children: item.name }),
|
|
80
80
|
item && !loading && item.nav.map((item2, index2) => /* @__PURE__ */ jsx(Menu, { subNav: item2, pathName, Link }, index2))
|
|
81
|
-
] })),
|
|
81
|
+
] }, index)),
|
|
82
82
|
/* @__PURE__ */ jsx(SidebarGroup, { className: "mt-auto", children: /* @__PURE__ */ jsx(SidebarGroupContent, { children: /* @__PURE__ */ jsx(SidebarMenu, { children: secondaryNav && !loading && secondaryNav.map((item) => /* @__PURE__ */ jsx(SidebarMenuItem, { children: /* @__PURE__ */ jsx(SidebarMenuButton, { asChild: true, size: "sm", children: /* @__PURE__ */ jsxs(Link, { href: item.url || "", children: [
|
|
83
83
|
item.icon && /* @__PURE__ */ jsx(item.icon, {}),
|
|
84
84
|
/* @__PURE__ */ jsx("span", { children: item.label })
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
+
import {
|
|
5
|
+
KnowledgeView
|
|
6
|
+
} from "./chunk-P4DQRHCA.mjs";
|
|
4
7
|
import {
|
|
5
8
|
ColleaguesView
|
|
6
9
|
} from "./chunk-XWCG4YG3.mjs";
|
|
7
|
-
import {
|
|
8
|
-
KnowledgeView
|
|
9
|
-
} from "./chunk-URDEWGQC.mjs";
|
|
10
10
|
import {
|
|
11
11
|
mockNotifications,
|
|
12
12
|
mockSidebarItems
|
|
@@ -20,14 +20,14 @@ import {
|
|
|
20
20
|
import {
|
|
21
21
|
ProjectCard
|
|
22
22
|
} from "./chunk-WHCZTD2K.mjs";
|
|
23
|
+
import {
|
|
24
|
+
FileList
|
|
25
|
+
} from "./chunk-HQ2AUN2H.mjs";
|
|
23
26
|
import {
|
|
24
27
|
mockApps,
|
|
25
28
|
mockRecentFiles,
|
|
26
29
|
mockTutorials
|
|
27
30
|
} from "./chunk-EMDTCDYI.mjs";
|
|
28
|
-
import {
|
|
29
|
-
FileList
|
|
30
|
-
} from "./chunk-UGGMHEBS.mjs";
|
|
31
31
|
import {
|
|
32
32
|
DashboardHero
|
|
33
33
|
} from "./chunk-VESIB4VP.mjs";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
import {
|
|
5
5
|
AppSidebarLeft
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-FECAR2TE.mjs";
|
|
7
7
|
import {
|
|
8
8
|
Breadcrumb,
|
|
9
9
|
BreadcrumbItem,
|
|
@@ -19,13 +19,13 @@ import {
|
|
|
19
19
|
SidebarInset,
|
|
20
20
|
SidebarProvider,
|
|
21
21
|
SidebarTrigger
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-AEFGMCK3.mjs";
|
|
23
23
|
import {
|
|
24
24
|
Separator
|
|
25
25
|
} from "./chunk-7GPVQAMX.mjs";
|
|
26
26
|
import {
|
|
27
27
|
Header
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-FZMTC5ID.mjs";
|
|
29
29
|
import {
|
|
30
30
|
cortex_reply_light_default
|
|
31
31
|
} from "./chunk-7YNU7PA4.mjs";
|