cortex-react-components 3.0.8 → 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-4HFMA57F.mjs → chunk-27NWC2OO.mjs} +4 -4
- package/dist/{chunk-44F47U5Y.mjs → chunk-34R3E2JB.mjs} +1 -1
- package/dist/{chunk-HLEMFDTD.mjs → chunk-3R2LCGLI.mjs} +1 -1
- package/dist/{chunk-2ZSH4X75.mjs → chunk-4DNX5IYR.mjs} +1 -1
- package/dist/{chunk-HABWABS7.mjs → chunk-4O6ESJYG.mjs} +32 -11
- package/dist/{chunk-B3UYSM32.mjs → chunk-5DYPBHBP.mjs} +4 -4
- package/dist/{chunk-PJZ5PWKP.mjs → chunk-5OGDBGXG.mjs} +1 -1
- package/dist/{chunk-KIZUBPPQ.mjs → chunk-6GO5N6ZP.mjs} +1 -1
- package/dist/{chunk-5Q43DAAS.mjs → chunk-6VQJSQRU.mjs} +8 -8
- package/dist/{chunk-QPPQNK6O.mjs → chunk-6VQLA4YU.mjs} +2 -2
- package/dist/{chunk-GXTF5CHJ.mjs → chunk-7D3SYOXW.mjs} +7 -4
- package/dist/{chunk-F563CDDJ.mjs → chunk-AQPLEBKG.mjs} +2 -2
- package/dist/{chunk-SNNQIUJH.mjs → chunk-BVCARDFK.mjs} +3 -3
- package/dist/{chunk-HGDLIXPQ.mjs → chunk-DGV5AVAW.mjs} +1 -1
- package/dist/{chunk-GV3CMMKT.mjs → chunk-FECAR2TE.mjs} +1 -1
- package/dist/{chunk-5KOAYGTO.mjs → chunk-G5N5MCLS.mjs} +5 -5
- package/dist/{chunk-SHHLY2QV.mjs → chunk-G7GPQ6BO.mjs} +1 -1
- package/dist/{chunk-354MPNDV.mjs → chunk-ICVTRW5Y.mjs} +1 -1
- package/dist/{chunk-4BRK5CBG.mjs → chunk-IFEQNYUB.mjs} +2 -2
- package/dist/{chunk-LCRSPNPB.mjs → chunk-LELKTN52.mjs} +18 -14
- package/dist/{chunk-VEIZROGM.mjs → chunk-M6ELOAGS.mjs} +1 -1
- package/dist/{chunk-YI6FLZOK.mjs → chunk-M7LM5P64.mjs} +1 -1
- package/dist/{chunk-EUAQNPRU.mjs → chunk-NHDPHK6D.mjs} +2 -2
- package/dist/{chunk-L34WYFSB.mjs → chunk-NKHYDT5B.mjs} +1 -1
- package/dist/{chunk-X6PPZZ2E.mjs → chunk-OYHXC3AT.mjs} +8 -8
- package/dist/{chunk-7ZMZT7I6.mjs → chunk-P7BPG7W7.mjs} +1 -1
- package/dist/{chunk-EGZL4DVZ.mjs → chunk-PAXCURFR.mjs} +1 -1
- package/dist/chunk-PIQUYPOZ.mjs +41 -0
- package/dist/{chunk-COHYOWMB.mjs → chunk-PVI4R7FJ.mjs} +1 -1
- package/dist/{chunk-HJLIEMLX.mjs → chunk-QC2AXU6I.mjs} +2 -2
- package/dist/{chunk-PE7KJR4A.mjs → chunk-RC6YHGVV.mjs} +1 -1
- package/dist/{chunk-USE5WY4U.mjs → chunk-S4FUSOSS.mjs} +1 -1
- package/dist/{chunk-TZDVVQBQ.mjs → chunk-SRK3Y7FA.mjs} +1 -1
- package/dist/{chunk-2S3O5TYH.mjs → chunk-UBEWNGCN.mjs} +1 -1
- package/dist/{chunk-X2KTMYOD.mjs → chunk-UJI3Y73K.mjs} +2 -2
- package/dist/{chunk-HXPXJ26M.mjs → chunk-VF2QBVAI.mjs} +1 -1
- package/dist/{chunk-4YRR74Y4.mjs → chunk-VMYEV3FG.mjs} +1 -1
- package/dist/{chunk-IXQESSPI.mjs → chunk-WA3OQB7X.mjs} +1 -1
- package/dist/{chunk-Z6MYLHDW.mjs → chunk-YFOEG4PP.mjs} +1 -1
- package/dist/{chunk-YJIB2FYD.mjs → chunk-YMXGTNMY.mjs} +2 -2
- package/dist/{chunk-QRC3VJEY.mjs → chunk-ZXU5T3GV.mjs} +1 -1
- package/dist/{chunk-TMVCGF2B.mjs → chunk-ZZ5EM2M4.mjs} +1 -1
- package/dist/components/Blocks/Banner.mjs +5 -5
- package/dist/components/Blocks/CallToAction.mjs +5 -5
- package/dist/components/Blocks/CollapsibleArea.mjs +6 -6
- package/dist/components/Blocks/Content.mjs +6 -6
- package/dist/components/Blocks/FeaturesBlock.mjs +5 -5
- package/dist/components/Blocks/ImageBlock.mjs +3 -3
- package/dist/components/Blocks/MediaBlock.mjs +3 -3
- package/dist/components/Blocks/RelatedPosts.mjs +7 -7
- package/dist/components/Blocks/RenderBlocks.mjs +8 -8
- package/dist/components/Blocks/ReusableContentBlock.mjs +8 -8
- package/dist/components/Blocks/index.mjs +15 -15
- package/dist/components/CRM/index.mjs +3 -3
- package/dist/components/Cards/ContentCard.mjs +5 -5
- package/dist/components/Cards/FeatureCard.mjs +5 -5
- package/dist/components/Cards/index.mjs +5 -5
- package/dist/components/Chat/ChatInterface.mjs +8 -8
- package/dist/components/Chat/CopilotInterface.mjs +9 -9
- package/dist/components/Chat/PartTypes/MessageHandler.mjs +6 -6
- package/dist/components/Chat/PartTypes/index.mjs +4 -4
- package/dist/components/Chat/demo-long-messages.mjs +9 -9
- package/dist/components/Chat/demo-tests.mjs +9 -9
- package/dist/components/Chat/demo.mjs +9 -9
- package/dist/components/Chat/example-usage.mjs +9 -9
- package/dist/components/Chat/example-with-vercel-ai.mjs +9 -9
- package/dist/components/Chat/index.mjs +13 -13
- package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +3 -3
- package/dist/components/DigitalColleagues/MainPage.mjs +4 -4
- package/dist/components/DigitalColleagues/Pages/dashboardpage.mjs +4 -4
- package/dist/components/DigitalColleagues/Views/index.mjs +11 -11
- package/dist/components/DigitalColleagues/index.mjs +14 -14
- package/dist/components/Foundary/AppSidebarLeft.mjs +3 -3
- package/dist/components/Foundary/Knowledge/add-knowledge-modal.mjs +4 -4
- package/dist/components/Foundary/Knowledge/add-team-context.mjs +4 -4
- package/dist/components/Foundary/MainPage.mjs +4 -4
- package/dist/components/Foundary/Pages/dashboardpage.mjs +4 -4
- package/dist/components/Foundary/Views/KnowledgeView.mjs +4 -4
- package/dist/components/Foundary/Views/index.mjs +11 -11
- package/dist/components/Foundary/file-edit.mjs +4 -4
- package/dist/components/Foundary/index.mjs +14 -14
- package/dist/components/HeaderFooter/SectionHeading.mjs +6 -6
- package/dist/components/Heros/HighImpact/index.mjs +6 -6
- package/dist/components/Heros/LowImpact/index.mjs +6 -6
- package/dist/components/Heros/MediumImpact/index.mjs +6 -6
- package/dist/components/Heros/PostHero/index.mjs +4 -4
- package/dist/components/Heros/RenderHero.mjs +9 -9
- package/dist/components/Heros/index.mjs +13 -13
- 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.mjs +8 -8
- package/dist/components/Layouts/Print.mjs +12 -12
- package/dist/components/Layouts/SlideShow.mjs +14 -14
- package/dist/components/Layouts/index.mjs +15 -15
- 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.mjs +5 -5
- package/dist/components/Payload/RichText/serialize.mjs +5 -5
- package/dist/components/Payload/index.mjs +7 -7
- package/dist/components/Projects/EpicsView.mjs +2 -2
- package/dist/components/Projects/FileView.mjs +4 -4
- package/dist/components/Projects/KanbanBoardView.mjs +7 -7
- package/dist/components/Projects/ProjectPage.mjs +9 -9
- package/dist/components/Projects/ProjectView.mjs +9 -9
- package/dist/components/Projects/TaskDetailsModal.mjs +4 -4
- package/dist/components/Projects/file-list.mjs +4 -4
- package/dist/components/Projects/index.mjs +8 -8
- package/dist/components/dc-temp/index.mjs +4 -4
- package/dist/components/index.js +97 -67
- package/dist/components/index.mjs +73 -73
- package/dist/components/ui/index.mjs +12 -12
- package/dist/components/ui/sidebar.mjs +2 -2
- package/dist/decorators/Intranet.mjs +51 -51
- package/dist/index.js +97 -67
- package/dist/index.mjs +85 -85
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/pages/Blog.mjs +10 -10
- package/dist/pages/Documentation.mjs +4 -4
- package/dist/pages/IndexPage.mjs +14 -14
- package/dist/pages/Intranet.mjs +4 -4
- package/dist/pages/LandingPage.mjs +62 -62
- package/dist/pages/Page.mjs +12 -12
- package/dist/pages/Publish.mjs +52 -52
- package/dist/pages/Website.mjs +12 -12
- package/dist/sections/AboutSection.mjs +7 -7
- package/dist/sections/BlogDetail.mjs +6 -6
- package/dist/sections/BlogList.mjs +7 -7
- package/dist/sections/BlogListSection.mjs +7 -7
- package/dist/sections/ContactSection.mjs +7 -7
- package/dist/sections/PageSections.mjs +62 -62
- package/dist/sections/PricingSection.mjs +7 -7
- package/dist/sections/ServiceDetail.mjs +6 -6
- package/dist/sections/ServiceDetailSection.mjs +6 -6
- package/dist/sections/ServiceSection.mjs +52 -52
- package/dist/sections/index.mjs +62 -62
- package/dist/utils/DaysUtil.js +9 -7
- package/dist/utils/DaysUtil.mjs +1 -1
- 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-D5KV6INF.mjs → chunk-AEFGMCK3.mjs} +3 -3
- package/dist/{chunk-MFXCOX3L.mjs → chunk-CT6KAYGR.mjs} +3 -3
- package/dist/{chunk-M5XPU4JK.mjs → chunk-L666B5DN.mjs} +6 -6
- package/dist/{chunk-2YHN7ZCJ.mjs → chunk-NKRBXAPF.mjs} +3 -3
- package/dist/{chunk-DWGG6JKH.mjs → chunk-ZFWHFUZP.mjs} +3 -3
package/dist/chunk-I4UOIVSC.mjs
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
bankHolidays
|
|
3
|
-
} from "./chunk-IZ2IHNU4.mjs";
|
|
4
|
-
|
|
5
|
-
// src/utils/DaysUtil.ts
|
|
6
|
-
var isDayOff = (date) => {
|
|
7
|
-
const isSunday = date.getDay() === 0;
|
|
8
|
-
const isSaturday = date.getDay() === 6;
|
|
9
|
-
const isBankHoliday = bankHolidays.some((h) => h.toISOString() === date.toISOString());
|
|
10
|
-
return isSunday || isSaturday || isBankHoliday;
|
|
11
|
-
};
|
|
12
|
-
var getTotalDaysBetween = (startDate, endDate, isHalfDay = false) => {
|
|
13
|
-
const start = new Date(startDate);
|
|
14
|
-
const end = new Date(endDate);
|
|
15
|
-
let count = 0;
|
|
16
|
-
if (isHalfDay && !isDayOff(start)) {
|
|
17
|
-
return 0.5;
|
|
18
|
-
}
|
|
19
|
-
while (start <= end) {
|
|
20
|
-
if (!isDayOff(start)) {
|
|
21
|
-
count++;
|
|
22
|
-
}
|
|
23
|
-
start.setDate(start.getDate() + 1);
|
|
24
|
-
}
|
|
25
|
-
return count;
|
|
26
|
-
};
|
|
27
|
-
var getIsMultipleDays = (startDate, endDate) => {
|
|
28
|
-
if (!startDate || !endDate) {
|
|
29
|
-
return false;
|
|
30
|
-
}
|
|
31
|
-
const isMultipleDays = startDate.toDateString() !== endDate.toDateString();
|
|
32
|
-
return isMultipleDays;
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
export {
|
|
36
|
-
isDayOff,
|
|
37
|
-
getTotalDaysBetween,
|
|
38
|
-
getIsMultipleDays
|
|
39
|
-
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TaskCard
|
|
3
3
|
} from "./chunk-EUOOS2Q3.mjs";
|
|
4
|
-
import {
|
|
5
|
-
AddTaskModal
|
|
6
|
-
} from "./chunk-3FBWSJJD.mjs";
|
|
7
4
|
import {
|
|
8
5
|
AddEpicModal
|
|
9
6
|
} from "./chunk-UDCOG2XL.mjs";
|
|
7
|
+
import {
|
|
8
|
+
AddTaskModal
|
|
9
|
+
} from "./chunk-3FBWSJJD.mjs";
|
|
10
10
|
import {
|
|
11
11
|
DashboardHero
|
|
12
12
|
} from "./chunk-VESIB4VP.mjs";
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import {
|
|
5
|
-
Skeleton
|
|
6
|
-
} from "./chunk-EPR27OQG.mjs";
|
|
7
4
|
import {
|
|
8
5
|
Separator
|
|
9
6
|
} from "./chunk-7GPVQAMX.mjs";
|
|
@@ -11,6 +8,9 @@ import {
|
|
|
11
8
|
Sheet,
|
|
12
9
|
SheetContent
|
|
13
10
|
} from "./chunk-HJCCUR2K.mjs";
|
|
11
|
+
import {
|
|
12
|
+
Skeleton
|
|
13
|
+
} from "./chunk-EPR27OQG.mjs";
|
|
14
14
|
import {
|
|
15
15
|
Input
|
|
16
16
|
} from "./chunk-YMZ2OUK6.mjs";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NewsList
|
|
3
3
|
} from "./chunk-DJIS3OMT.mjs";
|
|
4
|
-
import {
|
|
5
|
-
Pagination
|
|
6
|
-
} from "./chunk-PNQ3GU5Q.mjs";
|
|
7
4
|
import {
|
|
8
5
|
Filter
|
|
9
6
|
} from "./chunk-MJUHBEZN.mjs";
|
|
7
|
+
import {
|
|
8
|
+
Pagination
|
|
9
|
+
} from "./chunk-PNQ3GU5Q.mjs";
|
|
10
10
|
import {
|
|
11
11
|
Container
|
|
12
12
|
} from "./chunk-KL3DQ7AU.mjs";
|
|
@@ -10,12 +10,6 @@ import {
|
|
|
10
10
|
ToolInput,
|
|
11
11
|
ToolOutput
|
|
12
12
|
} from "./chunk-7RGM2O4X.mjs";
|
|
13
|
-
import {
|
|
14
|
-
ChatCardArtefact
|
|
15
|
-
} from "./chunk-G3MFNKC2.mjs";
|
|
16
|
-
import {
|
|
17
|
-
ChatCardTask
|
|
18
|
-
} from "./chunk-APF7RJ2I.mjs";
|
|
19
13
|
import {
|
|
20
14
|
ColleagueHandoff,
|
|
21
15
|
ColleagueHandoffContent,
|
|
@@ -31,6 +25,12 @@ import {
|
|
|
31
25
|
import {
|
|
32
26
|
PartAuthenticateTool
|
|
33
27
|
} from "./chunk-AJ7OZYBW.mjs";
|
|
28
|
+
import {
|
|
29
|
+
ChatCardArtefact
|
|
30
|
+
} from "./chunk-G3MFNKC2.mjs";
|
|
31
|
+
import {
|
|
32
|
+
ChatCardTask
|
|
33
|
+
} from "./chunk-APF7RJ2I.mjs";
|
|
34
34
|
import {
|
|
35
35
|
Badge
|
|
36
36
|
} from "./chunk-BG5JSVXF.mjs";
|
|
@@ -4,15 +4,15 @@ import {
|
|
|
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";
|