cortex-react-components 3.0.7 → 3.0.9
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-LSHBOPCT.mjs → chunk-27NWC2OO.mjs} +6 -3
- package/dist/{chunk-6B6BKJIE.mjs → chunk-34R3E2JB.mjs} +1 -1
- package/dist/{chunk-2NKCNQ56.mjs → chunk-3YAZKLH3.mjs} +1 -1
- package/dist/{chunk-FUNWDVGQ.mjs → chunk-4DNX5IYR.mjs} +1 -1
- package/dist/{chunk-HABWABS7.mjs → chunk-4O6ESJYG.mjs} +32 -11
- package/dist/{chunk-7H3IRT7K.mjs → chunk-5CQITTLV.mjs} +1 -1
- package/dist/{chunk-NAPGIF5D.mjs → chunk-5DYPBHBP.mjs} +3 -3
- package/dist/{chunk-DAQOEDAR.mjs → chunk-5NGZXIP7.mjs} +1 -1
- package/dist/{chunk-P4DQRHCA.mjs → chunk-6I3O6TVG.mjs} +1 -1
- package/dist/{chunk-EDJDHF22.mjs → chunk-6QSVFSOJ.mjs} +1 -1
- package/dist/{chunk-R2SJ5TZH.mjs → chunk-6VQJSQRU.mjs} +8 -8
- package/dist/{chunk-WMAVH7JO.mjs → chunk-6VQLA4YU.mjs} +2 -2
- package/dist/{chunk-GXTF5CHJ.mjs → chunk-7D3SYOXW.mjs} +7 -4
- package/dist/{chunk-DO73CLFG.mjs → chunk-AQPLEBKG.mjs} +1 -1
- package/dist/{chunk-ZPWWTTFF.mjs → chunk-BPAZFILP.mjs} +1 -1
- package/dist/{chunk-K3TF6OWE.mjs → chunk-BVCARDFK.mjs} +5 -5
- package/dist/{chunk-ENFQLMV3.mjs → chunk-CKBIYWPM.mjs} +1 -1
- package/dist/{chunk-KV5RVOAP.mjs → chunk-DGV5AVAW.mjs} +1 -1
- package/dist/{chunk-OS5X3ADZ.mjs → chunk-E5LGE3IW.mjs} +1 -1
- package/dist/chunk-F4LCVFZK.mjs +19 -0
- package/dist/{chunk-LAJ5FNY4.mjs → chunk-G5N5MCLS.mjs} +1 -1
- package/dist/{chunk-HZZWKYB5.mjs → chunk-G7GPQ6BO.mjs} +1 -1
- package/dist/{chunk-URCY4KWN.mjs → chunk-G7WAPCKX.mjs} +1 -1
- package/dist/{chunk-7OGBZ6QQ.mjs → chunk-ICVTRW5Y.mjs} +1 -1
- package/dist/{chunk-AICDXFGU.mjs → chunk-IFEQNYUB.mjs} +2 -2
- package/dist/{chunk-LCRSPNPB.mjs → chunk-LELKTN52.mjs} +18 -14
- package/dist/{chunk-RKQ4CVVG.mjs → chunk-M7LM5P64.mjs} +1 -1
- package/dist/{chunk-DQZO42TD.mjs → chunk-MSAH6P5O.mjs} +1 -1
- package/dist/{chunk-GZW77OJM.mjs → chunk-NKHYDT5B.mjs} +1 -1
- package/dist/{chunk-TTVOGAI4.mjs → chunk-OFES4YYV.mjs} +2 -2
- package/dist/{chunk-LP3K7AVX.mjs → chunk-OYHXC3AT.mjs} +13 -13
- package/dist/{chunk-7ZMZT7I6.mjs → chunk-P7BPG7W7.mjs} +1 -1
- package/dist/chunk-PIQUYPOZ.mjs +41 -0
- package/dist/{chunk-KVULICDA.mjs → chunk-PVI4R7FJ.mjs} +1 -1
- package/dist/{chunk-I647IJUG.mjs → chunk-QC2AXU6I.mjs} +2 -2
- package/dist/{chunk-M5JROT2X.mjs → chunk-R242HNC3.mjs} +1 -1
- package/dist/{chunk-6Q4KYDHK.mjs → chunk-RJRQ3SY5.mjs} +2 -2
- package/dist/{chunk-OXZ5QAXQ.mjs → chunk-S4FUSOSS.mjs} +1 -1
- package/dist/{chunk-DAGWV4UL.mjs → chunk-SRK3Y7FA.mjs} +1 -1
- package/dist/{chunk-2TJ5HOCV.mjs → chunk-UBEWNGCN.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-VNSEHNDX.mjs → chunk-VF2QBVAI.mjs} +1 -1
- package/dist/{chunk-EC4N6ZH3.mjs → chunk-WA3OQB7X.mjs} +1 -1
- package/dist/{chunk-UDZU3AZC.mjs → chunk-XWYGGWIF.mjs} +4 -4
- package/dist/{chunk-2PGER2HM.mjs → chunk-YMXGTNMY.mjs} +1 -1
- package/dist/{chunk-G3UZUSQZ.mjs → chunk-ZFWHFUZP.mjs} +4 -4
- package/dist/{chunk-HQ2AUN2H.mjs → chunk-ZMITLXFT.mjs} +1 -1
- package/dist/{chunk-DRCDP3RU.mjs → chunk-ZXU5T3GV.mjs} +1 -1
- package/dist/{chunk-6RAMGDYG.mjs → chunk-ZZ5EM2M4.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 +4 -3
- package/dist/components/Blocks/CallToAction.js +17 -1
- package/dist/components/Blocks/CallToAction.mjs +4 -3
- package/dist/components/Blocks/CollapsibleArea.js +17 -1
- package/dist/components/Blocks/CollapsibleArea.mjs +5 -4
- package/dist/components/Blocks/Content.js +17 -1
- package/dist/components/Blocks/Content.mjs +5 -4
- package/dist/components/Blocks/FeaturesBlock.js +17 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +4 -3
- package/dist/components/Blocks/RelatedPosts.js +17 -1
- package/dist/components/Blocks/RelatedPosts.mjs +5 -4
- package/dist/components/Blocks/RenderBlocks.js +17 -1
- package/dist/components/Blocks/RenderBlocks.mjs +7 -6
- package/dist/components/Blocks/ReusableContentBlock.js +17 -1
- package/dist/components/Blocks/ReusableContentBlock.mjs +7 -6
- package/dist/components/Blocks/index.js +17 -1
- package/dist/components/Blocks/index.mjs +13 -12
- 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 +4 -4
- 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 +4 -3
- package/dist/components/Cards/FeatureCard.js +17 -1
- package/dist/components/Cards/FeatureCard.mjs +4 -3
- package/dist/components/Cards/index.js +17 -1
- package/dist/components/Cards/index.mjs +6 -5
- package/dist/components/Chat/ChatInterface.mjs +7 -7
- package/dist/components/Chat/CopilotInterface.mjs +8 -8
- package/dist/components/Chat/PartTypes/MessageHandler.mjs +6 -6
- package/dist/components/Chat/PartTypes/index.mjs +19 -19
- package/dist/components/Chat/demo-long-messages.mjs +8 -8
- package/dist/components/Chat/demo-tests.mjs +8 -8
- package/dist/components/Chat/demo.mjs +8 -8
- package/dist/components/Chat/example-usage.mjs +9 -9
- package/dist/components/Chat/example-with-vercel-ai.mjs +8 -8
- package/dist/components/Chat/index.mjs +11 -11
- package/dist/components/DigitalColleagues/MainPage.mjs +4 -4
- package/dist/components/DigitalColleagues/Pages/dashboardpage.mjs +9 -9
- package/dist/components/DigitalColleagues/Views/ColleaguesView.mjs +2 -2
- package/dist/components/DigitalColleagues/Views/index.mjs +19 -19
- package/dist/components/DigitalColleagues/index.mjs +27 -27
- package/dist/components/Foundary/Knowledge/add-knowledge-modal.mjs +2 -2
- package/dist/components/Foundary/Knowledge/add-team-context.mjs +2 -2
- package/dist/components/Foundary/MainPage.mjs +4 -4
- package/dist/components/Foundary/Pages/dashboardpage.mjs +13 -13
- 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 +9 -9
- 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 +6 -6
- package/dist/components/Foundary/index.mjs +39 -39
- package/dist/components/Foundary/knowledge-browser.mjs +6 -6
- package/dist/components/HeaderFooter/SectionHeading.js +17 -1
- package/dist/components/HeaderFooter/SectionHeading.mjs +5 -4
- package/dist/components/HeaderFooter/index.mjs +8 -8
- package/dist/components/Heros/HighImpact/index.js +17 -1
- package/dist/components/Heros/HighImpact/index.mjs +5 -4
- package/dist/components/Heros/LowImpact/index.js +17 -1
- package/dist/components/Heros/LowImpact/index.mjs +5 -4
- package/dist/components/Heros/MediumImpact/index.js +17 -1
- package/dist/components/Heros/MediumImpact/index.mjs +5 -4
- package/dist/components/Heros/PostHero/index.mjs +2 -2
- package/dist/components/Heros/RenderHero.js +17 -1
- package/dist/components/Heros/RenderHero.mjs +8 -7
- package/dist/components/Heros/index.js +17 -1
- package/dist/components/Heros/index.mjs +12 -11
- package/dist/components/Holidays/CalendarView.d.ts +2 -1
- package/dist/components/Holidays/CalendarView.js +18 -14
- package/dist/components/Holidays/CalendarView.mjs +1 -1
- package/dist/components/Holidays/HolidayGrid.js +5 -3
- package/dist/components/Holidays/HolidayGrid.mjs +2 -2
- package/dist/components/Holidays/HolidayTracker.d.ts +2 -1
- package/dist/components/Holidays/HolidayTracker.js +65 -35
- package/dist/components/Holidays/HolidayTracker.mjs +5 -5
- package/dist/components/Holidays/RequestLeave.js +40 -17
- package/dist/components/Holidays/RequestLeave.mjs +2 -2
- package/dist/components/Holidays/index.js +65 -35
- package/dist/components/Holidays/index.mjs +5 -5
- package/dist/components/Layouts/OutputHeaderFooter.js +17 -1
- package/dist/components/Layouts/OutputHeaderFooter.mjs +6 -5
- package/dist/components/Layouts/Print.js +17 -1
- package/dist/components/Layouts/Print.mjs +10 -9
- package/dist/components/Layouts/SlideShow.js +17 -1
- package/dist/components/Layouts/SlideShow.mjs +12 -11
- package/dist/components/Layouts/index.js +17 -1
- package/dist/components/Layouts/index.mjs +16 -15
- package/dist/components/Menus/index.mjs +3 -3
- package/dist/components/Payload/RichText/index.js +17 -1
- package/dist/components/Payload/RichText/index.mjs +4 -3
- package/dist/components/Payload/RichText/serialize.js +17 -1
- package/dist/components/Payload/RichText/serialize.mjs +4 -3
- package/dist/components/Payload/index.js +17 -1
- package/dist/components/Payload/index.mjs +7 -6
- package/dist/components/Projects/EpicsView.mjs +2 -2
- package/dist/components/Projects/FileView.mjs +9 -9
- 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 +7 -7
- package/dist/components/Projects/index.mjs +15 -15
- package/dist/components/dc-temp/index.mjs +9 -9
- package/dist/components/index.js +116 -70
- package/dist/components/index.mjs +121 -120
- package/dist/components/ui/index.mjs +11 -11
- package/dist/decorators/Intranet.mjs +73 -72
- package/dist/index.js +116 -70
- package/dist/index.mjs +134 -133
- 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 +12 -11
- package/dist/pages/Documentation.mjs +4 -4
- package/dist/pages/IndexPage.mjs +15 -14
- package/dist/pages/Intranet.mjs +1 -1
- package/dist/pages/LandingPage.js +17 -1
- package/dist/pages/LandingPage.mjs +83 -82
- package/dist/pages/Page.js +17 -1
- package/dist/pages/Page.mjs +15 -14
- package/dist/pages/Publish.js +17 -1
- package/dist/pages/Publish.mjs +72 -71
- package/dist/pages/Website.js +17 -1
- package/dist/pages/Website.mjs +17 -16
- package/dist/payload-types.d.ts +1 -1
- package/dist/sections/AboutSection.js +17 -1
- package/dist/sections/AboutSection.mjs +6 -5
- package/dist/sections/BlogDetail.js +17 -1
- package/dist/sections/BlogDetail.mjs +5 -4
- package/dist/sections/BlogList.js +17 -1
- package/dist/sections/BlogList.mjs +6 -5
- package/dist/sections/BlogListSection.mjs +2 -2
- package/dist/sections/ContactSection.js +17 -1
- package/dist/sections/ContactSection.mjs +6 -5
- package/dist/sections/PageSections.js +17 -1
- package/dist/sections/PageSections.mjs +81 -80
- package/dist/sections/PricingSection.js +17 -1
- package/dist/sections/PricingSection.mjs +6 -5
- package/dist/sections/ServiceDetail.js +17 -1
- package/dist/sections/ServiceDetail.mjs +5 -4
- package/dist/sections/ServiceDetailSection.js +17 -1
- package/dist/sections/ServiceDetailSection.mjs +5 -4
- package/dist/sections/ServiceSection.js +17 -1
- package/dist/sections/ServiceSection.mjs +72 -71
- package/dist/sections/index.js +17 -1
- package/dist/sections/index.mjs +83 -82
- package/dist/utils/DaysUtil.js +9 -7
- package/dist/utils/DaysUtil.mjs +1 -1
- 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-I4UOIVSC.mjs +0 -39
- package/dist/{chunk-25OSLP2V.mjs → chunk-6TVRFATY.mjs} +3 -3
- package/dist/{chunk-EUAUP52U.mjs → chunk-7UMFQPR5.mjs} +3 -3
- package/dist/{chunk-ECCJ42NJ.mjs → chunk-L666B5DN.mjs} +14 -14
- package/dist/{chunk-DZYAOBGH.mjs → chunk-PXB2ICFA.mjs} +3 -3
- package/dist/{chunk-6OFY4WMY.mjs → chunk-RWZ36G7W.mjs} +3 -3
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import {
|
|
2
|
+
bankHolidays
|
|
3
|
+
} from "./chunk-IZ2IHNU4.mjs";
|
|
4
|
+
|
|
5
|
+
// src/utils/DaysUtil.ts
|
|
6
|
+
var isDayOff = (date) => {
|
|
7
|
+
const isSunday = date.getUTCDay() === 0;
|
|
8
|
+
const isSaturday = date.getUTCDay() === 6;
|
|
9
|
+
const isBankHoliday = bankHolidays.some(
|
|
10
|
+
(h) => h.getFullYear() === date.getUTCFullYear() && h.getMonth() === date.getUTCMonth() && h.getDate() === date.getUTCDate()
|
|
11
|
+
);
|
|
12
|
+
return isSunday || isSaturday || isBankHoliday;
|
|
13
|
+
};
|
|
14
|
+
var getTotalDaysBetween = (startDate, endDate, isHalfDay = false) => {
|
|
15
|
+
let start = new Date(Date.UTC(startDate.getUTCFullYear(), startDate.getUTCMonth(), startDate.getUTCDate()));
|
|
16
|
+
const end = new Date(Date.UTC(endDate.getUTCFullYear(), endDate.getUTCMonth(), endDate.getUTCDate()));
|
|
17
|
+
let count = 0;
|
|
18
|
+
if (isHalfDay && !isDayOff(start)) {
|
|
19
|
+
return 0.5;
|
|
20
|
+
}
|
|
21
|
+
while (start <= end) {
|
|
22
|
+
if (!isDayOff(start)) {
|
|
23
|
+
count++;
|
|
24
|
+
}
|
|
25
|
+
start = new Date(start.getTime() + 24 * 60 * 60 * 1e3);
|
|
26
|
+
}
|
|
27
|
+
return count;
|
|
28
|
+
};
|
|
29
|
+
var getIsMultipleDays = (startDate, endDate) => {
|
|
30
|
+
if (!startDate || !endDate) {
|
|
31
|
+
return false;
|
|
32
|
+
}
|
|
33
|
+
const isMultipleDays = startDate.getUTCFullYear() !== endDate.getUTCFullYear() || startDate.getUTCMonth() !== endDate.getUTCMonth() || startDate.getUTCDate() !== endDate.getUTCDate();
|
|
34
|
+
return isMultipleDays;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
export {
|
|
38
|
+
isDayOff,
|
|
39
|
+
getTotalDaysBetween,
|
|
40
|
+
getIsMultipleDays
|
|
41
|
+
};
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
Footer,
|
|
6
6
|
HeaderTop,
|
|
7
7
|
TitleSlide
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-PVI4R7FJ.mjs";
|
|
9
9
|
import {
|
|
10
10
|
RenderBlocks
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-5DYPBHBP.mjs";
|
|
12
12
|
import {
|
|
13
13
|
cn
|
|
14
14
|
} from "./chunk-KZPGX6CG.mjs";
|
|
@@ -3,16 +3,16 @@ import {
|
|
|
3
3
|
} from "./chunk-OFUTCZ7A.mjs";
|
|
4
4
|
import {
|
|
5
5
|
FileList
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZMITLXFT.mjs";
|
|
7
7
|
import {
|
|
8
8
|
AddFileModal
|
|
9
9
|
} from "./chunk-HQW5M4ND.mjs";
|
|
10
|
-
import {
|
|
11
|
-
CommentSection
|
|
12
|
-
} from "./chunk-XTI4RMGG.mjs";
|
|
13
10
|
import {
|
|
14
11
|
EditableField
|
|
15
12
|
} from "./chunk-3HO4HLPV.mjs";
|
|
13
|
+
import {
|
|
14
|
+
CommentSection
|
|
15
|
+
} from "./chunk-XTI4RMGG.mjs";
|
|
16
16
|
import {
|
|
17
17
|
Dialog,
|
|
18
18
|
DialogContent,
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TaskDetailsModal
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XWYGGWIF.mjs";
|
|
4
4
|
import {
|
|
5
5
|
TaskCard
|
|
6
6
|
} from "./chunk-EUOOS2Q3.mjs";
|
|
7
|
-
import {
|
|
8
|
-
AddTaskModal
|
|
9
|
-
} from "./chunk-3FBWSJJD.mjs";
|
|
10
7
|
import {
|
|
11
8
|
KanbanColumn
|
|
12
9
|
} from "./chunk-P7YLSTDO.mjs";
|
|
13
10
|
import {
|
|
14
11
|
AddEpicModal
|
|
15
12
|
} 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";
|
|
@@ -1,23 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OrgChart
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-BPAZFILP.mjs";
|
|
4
4
|
import {
|
|
5
5
|
OrgTree
|
|
6
|
-
} from "../../chunk-
|
|
6
|
+
} from "../../chunk-ULYN63F3.mjs";
|
|
7
7
|
import {
|
|
8
8
|
CompanyNode
|
|
9
9
|
} from "../../chunk-QVW2ETTT.mjs";
|
|
10
10
|
import {
|
|
11
11
|
OrgNode
|
|
12
|
-
} from "../../chunk-
|
|
13
|
-
import {
|
|
14
|
-
jobRoleLabels
|
|
15
|
-
} from "../../chunk-DXTLHMLQ.mjs";
|
|
12
|
+
} from "../../chunk-RWZ36G7W.mjs";
|
|
16
13
|
import {
|
|
17
14
|
buildOrgTree,
|
|
18
15
|
getInitials,
|
|
19
16
|
getRoleBadgeColor
|
|
20
17
|
} from "../../chunk-RPFE6ORC.mjs";
|
|
18
|
+
import {
|
|
19
|
+
jobRoleLabels
|
|
20
|
+
} from "../../chunk-DXTLHMLQ.mjs";
|
|
21
|
+
import {
|
|
22
|
+
EditableField
|
|
23
|
+
} from "../../chunk-3HO4HLPV.mjs";
|
|
21
24
|
import {
|
|
22
25
|
AppHeader
|
|
23
26
|
} from "../../chunk-2O772NVT.mjs";
|
|
@@ -38,9 +41,6 @@ import "../../chunk-G4WW3ZTX.mjs";
|
|
|
38
41
|
import {
|
|
39
42
|
CommentSection
|
|
40
43
|
} from "../../chunk-XTI4RMGG.mjs";
|
|
41
|
-
import {
|
|
42
|
-
EditableField
|
|
43
|
-
} from "../../chunk-3HO4HLPV.mjs";
|
|
44
44
|
import "../../chunk-5RNAHIY3.mjs";
|
|
45
45
|
import "../../chunk-C3RENDHG.mjs";
|
|
46
46
|
import "../../chunk-3L3SCQC4.mjs";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OrgChart,
|
|
3
3
|
OrgChart_default
|
|
4
|
-
} from "../../../chunk-
|
|
5
|
-
import "../../../chunk-
|
|
4
|
+
} from "../../../chunk-BPAZFILP.mjs";
|
|
5
|
+
import "../../../chunk-ULYN63F3.mjs";
|
|
6
6
|
import "../../../chunk-QVW2ETTT.mjs";
|
|
7
|
-
import "../../../chunk-
|
|
8
|
-
import "../../../chunk-DXTLHMLQ.mjs";
|
|
7
|
+
import "../../../chunk-RWZ36G7W.mjs";
|
|
9
8
|
import "../../../chunk-RPFE6ORC.mjs";
|
|
9
|
+
import "../../../chunk-DXTLHMLQ.mjs";
|
|
10
10
|
import "../../../chunk-6DZX6EAA.mjs";
|
|
11
11
|
export {
|
|
12
12
|
OrgChart,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OrgNode
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import "../../../chunk-DXTLHMLQ.mjs";
|
|
3
|
+
} from "../../../chunk-RWZ36G7W.mjs";
|
|
5
4
|
import "../../../chunk-RPFE6ORC.mjs";
|
|
5
|
+
import "../../../chunk-DXTLHMLQ.mjs";
|
|
6
6
|
import "../../../chunk-6DZX6EAA.mjs";
|
|
7
7
|
export {
|
|
8
8
|
OrgNode
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OrgTree
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-ULYN63F3.mjs";
|
|
4
4
|
import "../../../chunk-QVW2ETTT.mjs";
|
|
5
|
-
import "../../../chunk-
|
|
6
|
-
import "../../../chunk-DXTLHMLQ.mjs";
|
|
5
|
+
import "../../../chunk-RWZ36G7W.mjs";
|
|
7
6
|
import "../../../chunk-RPFE6ORC.mjs";
|
|
7
|
+
import "../../../chunk-DXTLHMLQ.mjs";
|
|
8
8
|
import "../../../chunk-6DZX6EAA.mjs";
|
|
9
9
|
export {
|
|
10
10
|
OrgTree
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OrgChart
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-BPAZFILP.mjs";
|
|
4
4
|
import {
|
|
5
5
|
OrgTree
|
|
6
|
-
} from "../../../chunk-
|
|
6
|
+
} from "../../../chunk-ULYN63F3.mjs";
|
|
7
7
|
import {
|
|
8
8
|
CompanyNode
|
|
9
9
|
} from "../../../chunk-QVW2ETTT.mjs";
|
|
10
10
|
import {
|
|
11
11
|
OrgNode
|
|
12
|
-
} from "../../../chunk-
|
|
13
|
-
import {
|
|
14
|
-
jobRoleLabels
|
|
15
|
-
} from "../../../chunk-DXTLHMLQ.mjs";
|
|
12
|
+
} from "../../../chunk-RWZ36G7W.mjs";
|
|
16
13
|
import {
|
|
17
14
|
buildOrgTree,
|
|
18
15
|
getInitials,
|
|
19
16
|
getRoleBadgeColor
|
|
20
17
|
} from "../../../chunk-RPFE6ORC.mjs";
|
|
18
|
+
import {
|
|
19
|
+
jobRoleLabels
|
|
20
|
+
} from "../../../chunk-DXTLHMLQ.mjs";
|
|
21
21
|
import "../../../chunk-6DZX6EAA.mjs";
|
|
22
22
|
export {
|
|
23
23
|
CompanyNode,
|
|
@@ -3113,6 +3113,22 @@ var ImageBlock = (props) => {
|
|
|
3113
3113
|
);
|
|
3114
3114
|
};
|
|
3115
3115
|
|
|
3116
|
+
// src/utils/getLinkHref.ts
|
|
3117
|
+
function getLinkHref(link) {
|
|
3118
|
+
if (!link) return "#";
|
|
3119
|
+
if (link.url) return link.url;
|
|
3120
|
+
if (link.reference?.value) {
|
|
3121
|
+
const { relationTo, value } = link.reference;
|
|
3122
|
+
const slug = value?.slug;
|
|
3123
|
+
if (!slug) return "#";
|
|
3124
|
+
if (relationTo === "pages") {
|
|
3125
|
+
return `/${slug}`;
|
|
3126
|
+
}
|
|
3127
|
+
return `/${relationTo}/${slug}`;
|
|
3128
|
+
}
|
|
3129
|
+
return "#";
|
|
3130
|
+
}
|
|
3131
|
+
|
|
3116
3132
|
// src/components/Images/DynamicIcon.tsx
|
|
3117
3133
|
var import_jsx_runtime15 = require("react/jsx-runtime");
|
|
3118
3134
|
var DynamicIcon = ({
|
|
@@ -3162,7 +3178,7 @@ function FeatureCard({
|
|
|
3162
3178
|
return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
|
|
3163
3179
|
"a",
|
|
3164
3180
|
{
|
|
3165
|
-
href: link
|
|
3181
|
+
href: getLinkHref(link),
|
|
3166
3182
|
className: cn(
|
|
3167
3183
|
"min-w-56 max-w-xl h-full flex flex-col group bg-background",
|
|
3168
3184
|
image ? "p-0" : "p-6 md:p-8",
|
|
@@ -1,26 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BannerBlock
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-27NWC2OO.mjs";
|
|
4
4
|
import "../../chunk-YLULVMZ7.mjs";
|
|
5
5
|
import "../../chunk-2NXKZY7U.mjs";
|
|
6
6
|
import "../../chunk-GSG52WU5.mjs";
|
|
7
7
|
import "../../chunk-US72SCH3.mjs";
|
|
8
8
|
import "../../chunk-G6EC37S7.mjs";
|
|
9
9
|
import "../../chunk-LTOFCHXU.mjs";
|
|
10
|
+
import "../../chunk-LIJ2ES4B.mjs";
|
|
10
11
|
import "../../chunk-GTHNG3Q7.mjs";
|
|
11
12
|
import "../../chunk-PE44IHZN.mjs";
|
|
12
13
|
import "../../chunk-4GLXI5J3.mjs";
|
|
13
14
|
import "../../chunk-2X45TVQS.mjs";
|
|
14
15
|
import "../../chunk-DTQ2W22B.mjs";
|
|
15
|
-
import "../../chunk-LIJ2ES4B.mjs";
|
|
16
16
|
import "../../chunk-6GO5N6ZP.mjs";
|
|
17
|
-
import "../../chunk-WPX6MOFB.mjs";
|
|
18
17
|
import "../../chunk-3R2LCGLI.mjs";
|
|
19
18
|
import "../../chunk-NKRBXAPF.mjs";
|
|
20
19
|
import "../../chunk-MW5UCIIC.mjs";
|
|
21
20
|
import "../../chunk-ZYKYDIOF.mjs";
|
|
21
|
+
import "../../chunk-WPX6MOFB.mjs";
|
|
22
22
|
import "../../chunk-R57RJLFQ.mjs";
|
|
23
23
|
import "../../chunk-GIHP74M4.mjs";
|
|
24
|
+
import "../../chunk-F4LCVFZK.mjs";
|
|
24
25
|
import "../../chunk-3BYULUMU.mjs";
|
|
25
26
|
import "../../chunk-RZRMW2DZ.mjs";
|
|
26
27
|
import "../../chunk-GUHOQLS3.mjs";
|
|
@@ -2790,6 +2790,22 @@ var ImageBlock = (props) => {
|
|
|
2790
2790
|
);
|
|
2791
2791
|
};
|
|
2792
2792
|
|
|
2793
|
+
// src/utils/getLinkHref.ts
|
|
2794
|
+
function getLinkHref(link) {
|
|
2795
|
+
if (!link) return "#";
|
|
2796
|
+
if (link.url) return link.url;
|
|
2797
|
+
if (link.reference?.value) {
|
|
2798
|
+
const { relationTo, value } = link.reference;
|
|
2799
|
+
const slug = value?.slug;
|
|
2800
|
+
if (!slug) return "#";
|
|
2801
|
+
if (relationTo === "pages") {
|
|
2802
|
+
return `/${slug}`;
|
|
2803
|
+
}
|
|
2804
|
+
return `/${relationTo}/${slug}`;
|
|
2805
|
+
}
|
|
2806
|
+
return "#";
|
|
2807
|
+
}
|
|
2808
|
+
|
|
2793
2809
|
// src/components/Images/DynamicIcon.tsx
|
|
2794
2810
|
var import_jsx_runtime11 = require("react/jsx-runtime");
|
|
2795
2811
|
var DynamicIcon = ({
|
|
@@ -2839,7 +2855,7 @@ function FeatureCard({
|
|
|
2839
2855
|
return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
|
|
2840
2856
|
"a",
|
|
2841
2857
|
{
|
|
2842
|
-
href: link
|
|
2858
|
+
href: getLinkHref(link),
|
|
2843
2859
|
className: cn(
|
|
2844
2860
|
"min-w-56 max-w-xl h-full flex flex-col group bg-background",
|
|
2845
2861
|
image ? "p-0" : "p-6 md:p-8",
|
|
@@ -3,27 +3,28 @@
|
|
|
3
3
|
import {
|
|
4
4
|
CallToActionBlock,
|
|
5
5
|
CallToActionBlockOld
|
|
6
|
-
} from "../../chunk-
|
|
6
|
+
} from "../../chunk-27NWC2OO.mjs";
|
|
7
7
|
import "../../chunk-YLULVMZ7.mjs";
|
|
8
8
|
import "../../chunk-2NXKZY7U.mjs";
|
|
9
9
|
import "../../chunk-GSG52WU5.mjs";
|
|
10
10
|
import "../../chunk-US72SCH3.mjs";
|
|
11
11
|
import "../../chunk-G6EC37S7.mjs";
|
|
12
12
|
import "../../chunk-LTOFCHXU.mjs";
|
|
13
|
+
import "../../chunk-LIJ2ES4B.mjs";
|
|
13
14
|
import "../../chunk-GTHNG3Q7.mjs";
|
|
14
15
|
import "../../chunk-PE44IHZN.mjs";
|
|
15
16
|
import "../../chunk-4GLXI5J3.mjs";
|
|
16
17
|
import "../../chunk-2X45TVQS.mjs";
|
|
17
18
|
import "../../chunk-DTQ2W22B.mjs";
|
|
18
|
-
import "../../chunk-LIJ2ES4B.mjs";
|
|
19
19
|
import "../../chunk-6GO5N6ZP.mjs";
|
|
20
|
-
import "../../chunk-WPX6MOFB.mjs";
|
|
21
20
|
import "../../chunk-3R2LCGLI.mjs";
|
|
22
21
|
import "../../chunk-NKRBXAPF.mjs";
|
|
23
22
|
import "../../chunk-MW5UCIIC.mjs";
|
|
24
23
|
import "../../chunk-ZYKYDIOF.mjs";
|
|
24
|
+
import "../../chunk-WPX6MOFB.mjs";
|
|
25
25
|
import "../../chunk-R57RJLFQ.mjs";
|
|
26
26
|
import "../../chunk-GIHP74M4.mjs";
|
|
27
|
+
import "../../chunk-F4LCVFZK.mjs";
|
|
27
28
|
import "../../chunk-3BYULUMU.mjs";
|
|
28
29
|
import "../../chunk-RZRMW2DZ.mjs";
|
|
29
30
|
import "../../chunk-GUHOQLS3.mjs";
|
|
@@ -3134,6 +3134,22 @@ var ImageBlock = (props) => {
|
|
|
3134
3134
|
);
|
|
3135
3135
|
};
|
|
3136
3136
|
|
|
3137
|
+
// src/utils/getLinkHref.ts
|
|
3138
|
+
function getLinkHref(link) {
|
|
3139
|
+
if (!link) return "#";
|
|
3140
|
+
if (link.url) return link.url;
|
|
3141
|
+
if (link.reference?.value) {
|
|
3142
|
+
const { relationTo, value } = link.reference;
|
|
3143
|
+
const slug = value?.slug;
|
|
3144
|
+
if (!slug) return "#";
|
|
3145
|
+
if (relationTo === "pages") {
|
|
3146
|
+
return `/${slug}`;
|
|
3147
|
+
}
|
|
3148
|
+
return `/${relationTo}/${slug}`;
|
|
3149
|
+
}
|
|
3150
|
+
return "#";
|
|
3151
|
+
}
|
|
3152
|
+
|
|
3137
3153
|
// src/components/Images/DynamicIcon.tsx
|
|
3138
3154
|
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
3139
3155
|
var DynamicIcon = ({
|
|
@@ -3183,7 +3199,7 @@ function FeatureCard({
|
|
|
3183
3199
|
return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
|
|
3184
3200
|
"a",
|
|
3185
3201
|
{
|
|
3186
|
-
href: link
|
|
3202
|
+
href: getLinkHref(link),
|
|
3187
3203
|
className: cn(
|
|
3188
3204
|
"min-w-56 max-w-xl h-full flex flex-col group bg-background",
|
|
3189
3205
|
image ? "p-0" : "p-6 md:p-8",
|
|
@@ -2,28 +2,29 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
CollapsibleBlock
|
|
5
|
-
} from "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
5
|
+
} from "../../chunk-DGV5AVAW.mjs";
|
|
6
|
+
import "../../chunk-27NWC2OO.mjs";
|
|
7
7
|
import "../../chunk-YLULVMZ7.mjs";
|
|
8
8
|
import "../../chunk-2NXKZY7U.mjs";
|
|
9
9
|
import "../../chunk-GSG52WU5.mjs";
|
|
10
10
|
import "../../chunk-US72SCH3.mjs";
|
|
11
11
|
import "../../chunk-G6EC37S7.mjs";
|
|
12
12
|
import "../../chunk-LTOFCHXU.mjs";
|
|
13
|
+
import "../../chunk-LIJ2ES4B.mjs";
|
|
13
14
|
import "../../chunk-GTHNG3Q7.mjs";
|
|
14
15
|
import "../../chunk-PE44IHZN.mjs";
|
|
15
16
|
import "../../chunk-4GLXI5J3.mjs";
|
|
16
17
|
import "../../chunk-2X45TVQS.mjs";
|
|
17
18
|
import "../../chunk-DTQ2W22B.mjs";
|
|
18
|
-
import "../../chunk-LIJ2ES4B.mjs";
|
|
19
19
|
import "../../chunk-6GO5N6ZP.mjs";
|
|
20
|
-
import "../../chunk-WPX6MOFB.mjs";
|
|
21
20
|
import "../../chunk-3R2LCGLI.mjs";
|
|
22
21
|
import "../../chunk-NKRBXAPF.mjs";
|
|
23
22
|
import "../../chunk-MW5UCIIC.mjs";
|
|
24
23
|
import "../../chunk-ZYKYDIOF.mjs";
|
|
24
|
+
import "../../chunk-WPX6MOFB.mjs";
|
|
25
25
|
import "../../chunk-R57RJLFQ.mjs";
|
|
26
26
|
import "../../chunk-GIHP74M4.mjs";
|
|
27
|
+
import "../../chunk-F4LCVFZK.mjs";
|
|
27
28
|
import "../../chunk-3BYULUMU.mjs";
|
|
28
29
|
import "../../chunk-RZRMW2DZ.mjs";
|
|
29
30
|
import "../../chunk-GUHOQLS3.mjs";
|
|
@@ -3130,6 +3130,22 @@ var ImageBlock = (props) => {
|
|
|
3130
3130
|
);
|
|
3131
3131
|
};
|
|
3132
3132
|
|
|
3133
|
+
// src/utils/getLinkHref.ts
|
|
3134
|
+
function getLinkHref(link) {
|
|
3135
|
+
if (!link) return "#";
|
|
3136
|
+
if (link.url) return link.url;
|
|
3137
|
+
if (link.reference?.value) {
|
|
3138
|
+
const { relationTo, value } = link.reference;
|
|
3139
|
+
const slug = value?.slug;
|
|
3140
|
+
if (!slug) return "#";
|
|
3141
|
+
if (relationTo === "pages") {
|
|
3142
|
+
return `/${slug}`;
|
|
3143
|
+
}
|
|
3144
|
+
return `/${relationTo}/${slug}`;
|
|
3145
|
+
}
|
|
3146
|
+
return "#";
|
|
3147
|
+
}
|
|
3148
|
+
|
|
3133
3149
|
// src/components/Images/DynamicIcon.tsx
|
|
3134
3150
|
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
3135
3151
|
var DynamicIcon = ({
|
|
@@ -3179,7 +3195,7 @@ function FeatureCard({
|
|
|
3179
3195
|
return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
|
|
3180
3196
|
"a",
|
|
3181
3197
|
{
|
|
3182
|
-
href: link
|
|
3198
|
+
href: getLinkHref(link),
|
|
3183
3199
|
className: cn(
|
|
3184
3200
|
"min-w-56 max-w-xl h-full flex flex-col group bg-background",
|
|
3185
3201
|
image ? "p-0" : "p-6 md:p-8",
|
|
@@ -1,27 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ContentBlock
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-WA3OQB7X.mjs";
|
|
4
|
+
import "../../chunk-27NWC2OO.mjs";
|
|
5
5
|
import "../../chunk-YLULVMZ7.mjs";
|
|
6
6
|
import "../../chunk-2NXKZY7U.mjs";
|
|
7
7
|
import "../../chunk-GSG52WU5.mjs";
|
|
8
8
|
import "../../chunk-US72SCH3.mjs";
|
|
9
9
|
import "../../chunk-G6EC37S7.mjs";
|
|
10
10
|
import "../../chunk-LTOFCHXU.mjs";
|
|
11
|
+
import "../../chunk-LIJ2ES4B.mjs";
|
|
11
12
|
import "../../chunk-GTHNG3Q7.mjs";
|
|
12
13
|
import "../../chunk-PE44IHZN.mjs";
|
|
13
14
|
import "../../chunk-4GLXI5J3.mjs";
|
|
14
15
|
import "../../chunk-2X45TVQS.mjs";
|
|
15
16
|
import "../../chunk-DTQ2W22B.mjs";
|
|
16
|
-
import "../../chunk-LIJ2ES4B.mjs";
|
|
17
17
|
import "../../chunk-6GO5N6ZP.mjs";
|
|
18
|
-
import "../../chunk-WPX6MOFB.mjs";
|
|
19
18
|
import "../../chunk-3R2LCGLI.mjs";
|
|
20
19
|
import "../../chunk-NKRBXAPF.mjs";
|
|
21
20
|
import "../../chunk-MW5UCIIC.mjs";
|
|
22
21
|
import "../../chunk-ZYKYDIOF.mjs";
|
|
22
|
+
import "../../chunk-WPX6MOFB.mjs";
|
|
23
23
|
import "../../chunk-R57RJLFQ.mjs";
|
|
24
24
|
import "../../chunk-GIHP74M4.mjs";
|
|
25
|
+
import "../../chunk-F4LCVFZK.mjs";
|
|
25
26
|
import "../../chunk-3BYULUMU.mjs";
|
|
26
27
|
import "../../chunk-RZRMW2DZ.mjs";
|
|
27
28
|
import "../../chunk-GUHOQLS3.mjs";
|
|
@@ -3369,6 +3369,22 @@ var RichText = ({
|
|
|
3369
3369
|
);
|
|
3370
3370
|
};
|
|
3371
3371
|
|
|
3372
|
+
// src/utils/getLinkHref.ts
|
|
3373
|
+
function getLinkHref(link) {
|
|
3374
|
+
if (!link) return "#";
|
|
3375
|
+
if (link.url) return link.url;
|
|
3376
|
+
if (link.reference?.value) {
|
|
3377
|
+
const { relationTo, value } = link.reference;
|
|
3378
|
+
const slug = value?.slug;
|
|
3379
|
+
if (!slug) return "#";
|
|
3380
|
+
if (relationTo === "pages") {
|
|
3381
|
+
return `/${slug}`;
|
|
3382
|
+
}
|
|
3383
|
+
return `/${relationTo}/${slug}`;
|
|
3384
|
+
}
|
|
3385
|
+
return "#";
|
|
3386
|
+
}
|
|
3387
|
+
|
|
3372
3388
|
// src/components/Images/DynamicIcon.tsx
|
|
3373
3389
|
var import_jsx_runtime18 = require("react/jsx-runtime");
|
|
3374
3390
|
var DynamicIcon = ({
|
|
@@ -3418,7 +3434,7 @@ function FeatureCard({
|
|
|
3418
3434
|
return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
|
|
3419
3435
|
"a",
|
|
3420
3436
|
{
|
|
3421
|
-
href: link
|
|
3437
|
+
href: getLinkHref(link),
|
|
3422
3438
|
className: cn(
|
|
3423
3439
|
"min-w-56 max-w-xl h-full flex flex-col group bg-background",
|
|
3424
3440
|
image ? "p-0" : "p-6 md:p-8",
|