cortex-react-components 3.0.3 → 3.0.4

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.
Files changed (118) hide show
  1. package/dist/{chunk-LBPVX5BQ.mjs → chunk-2QYYHKCF.mjs} +1 -1
  2. package/dist/{chunk-BXDKCANT.mjs → chunk-352XMFIA.mjs} +2 -2
  3. package/dist/{chunk-HLEMFDTD.mjs → chunk-3R2LCGLI.mjs} +1 -1
  4. package/dist/{chunk-YOPRYLFQ.mjs → chunk-3VMFZKXK.mjs} +8 -10
  5. package/dist/{chunk-57HPETD7.mjs → chunk-5GC4DBXT.mjs} +4 -4
  6. package/dist/{chunk-PJZ5PWKP.mjs → chunk-5OGDBGXG.mjs} +1 -1
  7. package/dist/{chunk-KIZUBPPQ.mjs → chunk-6GO5N6ZP.mjs} +1 -1
  8. package/dist/{chunk-Z4DNGL7M.mjs → chunk-6X55BFTD.mjs} +1 -1
  9. package/dist/{chunk-MZ5QY6FR.mjs → chunk-A45K7TLD.mjs} +1 -1
  10. package/dist/{chunk-F5IX63U6.mjs → chunk-BCF66L3Y.mjs} +2 -2
  11. package/dist/{chunk-XYLSOGTP.mjs → chunk-FP7MLBPR.mjs} +1 -1
  12. package/dist/{chunk-M62EDEAI.mjs → chunk-FTVOJKVA.mjs} +2 -2
  13. package/dist/{chunk-SJDKHYVC.mjs → chunk-HQE3OP6M.mjs} +10 -10
  14. package/dist/{chunk-CEDQJQTB.mjs → chunk-IAPDQHOE.mjs} +2 -2
  15. package/dist/{chunk-UHF447FN.mjs → chunk-IM6PU3RO.mjs} +8 -5
  16. package/dist/{chunk-QRFYWH62.mjs → chunk-IMWMWTDR.mjs} +1 -1
  17. package/dist/{chunk-RAHAHVM3.mjs → chunk-KAMWFZNX.mjs} +2 -2
  18. package/dist/{chunk-MAQCJ7GT.mjs → chunk-LAJ5FNY4.mjs} +1 -1
  19. package/dist/{chunk-GHJMJFGY.mjs → chunk-NV67QFQM.mjs} +3 -3
  20. package/dist/{chunk-QW6LT3YJ.mjs → chunk-O3CANERK.mjs} +1 -1
  21. package/dist/{chunk-72B7V3AA.mjs → chunk-OQ62XQNJ.mjs} +1 -1
  22. package/dist/{chunk-KHH36D4P.mjs → chunk-OUPOGRNP.mjs} +2 -2
  23. package/dist/{chunk-EGZL4DVZ.mjs → chunk-PAXCURFR.mjs} +1 -1
  24. package/dist/{chunk-FKQJ7IQO.mjs → chunk-PBJRNOV6.mjs} +1 -1
  25. package/dist/{chunk-SZ4XM4DO.mjs → chunk-PSU7NVB6.mjs} +1 -1
  26. package/dist/{chunk-RFZOUE5F.mjs → chunk-QOPCGZNQ.mjs} +1 -1
  27. package/dist/{chunk-4IIO3HGE.mjs → chunk-RYINW7OG.mjs} +1 -1
  28. package/dist/{chunk-FTLBZLKM.mjs → chunk-SGP3VC6H.mjs} +1 -1
  29. package/dist/{chunk-4LGHSMMQ.mjs → chunk-SP6YBXB2.mjs} +1 -1
  30. package/dist/chunk-T7TGES6Z.mjs +25 -0
  31. package/dist/{chunk-EHJIM6JR.mjs → chunk-VNLOFYZP.mjs} +2 -2
  32. package/dist/{chunk-R2LCV7J4.mjs → chunk-VNSEHNDX.mjs} +1 -1
  33. package/dist/{chunk-KN5M6SSZ.mjs → chunk-VTDHFYD3.mjs} +5 -5
  34. package/dist/components/Blocks/Banner.mjs +7 -7
  35. package/dist/components/Blocks/CallToAction.mjs +7 -7
  36. package/dist/components/Blocks/CollapsibleArea.mjs +8 -8
  37. package/dist/components/Blocks/Content.mjs +8 -8
  38. package/dist/components/Blocks/FeaturesBlock.mjs +7 -7
  39. package/dist/components/Blocks/ImageBlock.mjs +3 -3
  40. package/dist/components/Blocks/MediaBlock.mjs +3 -3
  41. package/dist/components/Blocks/RelatedPosts.mjs +9 -9
  42. package/dist/components/Blocks/RenderBlocks.mjs +10 -10
  43. package/dist/components/Blocks/ReusableContentBlock.mjs +10 -10
  44. package/dist/components/Blocks/index.mjs +12 -12
  45. package/dist/components/Cards/ContentCard.mjs +7 -7
  46. package/dist/components/Cards/FeatureCard.mjs +7 -7
  47. package/dist/components/Cards/index.mjs +7 -7
  48. package/dist/components/Chat/ChatInterface.mjs +5 -5
  49. package/dist/components/Chat/CopilotInterface.mjs +6 -6
  50. package/dist/components/Chat/PartTypes/MessageHandler.mjs +4 -4
  51. package/dist/components/Chat/PartTypes/index.mjs +16 -16
  52. package/dist/components/Chat/demo-long-messages.mjs +6 -6
  53. package/dist/components/Chat/demo-tests.mjs +6 -6
  54. package/dist/components/Chat/demo.mjs +6 -6
  55. package/dist/components/Chat/example-usage.mjs +6 -6
  56. package/dist/components/Chat/example-with-vercel-ai.mjs +6 -6
  57. package/dist/components/Chat/index.mjs +6 -6
  58. package/dist/components/DeliveryLead/DeliveryLeadSubmission.js +14 -5
  59. package/dist/components/DeliveryLead/DeliveryLeadSubmission.mjs +2 -1
  60. package/dist/components/DeliveryLead/DeliveryLeadSubmissionList.js +24 -8
  61. package/dist/components/DeliveryLead/DeliveryLeadSubmissionList.mjs +2 -1
  62. package/dist/components/DeliveryLead/DeliveryLeadSubmissionWithList.js +29 -13
  63. package/dist/components/DeliveryLead/DeliveryLeadSubmissionWithList.mjs +4 -3
  64. package/dist/components/DeliveryLead/index.js +37 -17
  65. package/dist/components/DeliveryLead/index.mjs +12 -4
  66. package/dist/components/DeliveryLead/types.d.ts +53 -10
  67. package/dist/components/DeliveryLead/types.js +33 -0
  68. package/dist/components/DeliveryLead/types.mjs +11 -0
  69. package/dist/components/Foundary/Pages/dashboardpage.mjs +2 -2
  70. package/dist/components/Foundary/Views/index.mjs +4 -4
  71. package/dist/components/Foundary/index.mjs +6 -6
  72. package/dist/components/HeaderFooter/SectionHeading.mjs +8 -8
  73. package/dist/components/Heros/HighImpact/index.mjs +8 -8
  74. package/dist/components/Heros/LowImpact/index.mjs +8 -8
  75. package/dist/components/Heros/MediumImpact/index.mjs +8 -8
  76. package/dist/components/Heros/RenderHero.mjs +11 -11
  77. package/dist/components/Heros/index.mjs +13 -13
  78. package/dist/components/Layouts/OutputHeaderFooter.mjs +11 -11
  79. package/dist/components/Layouts/Print.mjs +15 -15
  80. package/dist/components/Layouts/SlideShow.mjs +16 -16
  81. package/dist/components/Layouts/index.mjs +17 -17
  82. package/dist/components/Payload/CollectionArchive/index.mjs +4 -4
  83. package/dist/components/Payload/Media/index.mjs +2 -2
  84. package/dist/components/Payload/PayloadCard/index.mjs +3 -3
  85. package/dist/components/Payload/RichText/index.mjs +7 -7
  86. package/dist/components/Payload/RichText/serialize.mjs +7 -7
  87. package/dist/components/Payload/index.mjs +12 -12
  88. package/dist/components/index.js +37 -15
  89. package/dist/components/index.mjs +51 -43
  90. package/dist/decorators/Intranet.mjs +35 -34
  91. package/dist/index.js +37 -15
  92. package/dist/index.mjs +64 -56
  93. package/dist/metafile-cjs.json +1 -1
  94. package/dist/metafile-esm.json +1 -1
  95. package/dist/pages/Blog.mjs +9 -9
  96. package/dist/pages/IndexPage.mjs +12 -12
  97. package/dist/pages/LandingPage.mjs +45 -44
  98. package/dist/pages/Page.mjs +12 -12
  99. package/dist/pages/Publish.mjs +36 -35
  100. package/dist/pages/Website.mjs +14 -14
  101. package/dist/payload-types.d.ts +1 -1
  102. package/dist/sections/AboutSection.mjs +9 -9
  103. package/dist/sections/BlogDetail.mjs +8 -8
  104. package/dist/sections/BlogList.mjs +9 -9
  105. package/dist/sections/BlogListSection.mjs +1 -1
  106. package/dist/sections/ContactSection.mjs +9 -9
  107. package/dist/sections/PageSections.mjs +45 -44
  108. package/dist/sections/PricingSection.mjs +9 -9
  109. package/dist/sections/ServiceDetail.mjs +8 -8
  110. package/dist/sections/ServiceDetailSection.mjs +8 -8
  111. package/dist/sections/ServiceSection.mjs +36 -35
  112. package/dist/sections/form/index.mjs +2 -2
  113. package/dist/sections/index.mjs +47 -46
  114. package/package.json +1 -1
  115. package/dist/{chunk-57INGMKK.mjs → chunk-ECCJ42NJ.mjs} +7 -7
  116. package/dist/{chunk-OT2SSFKS.mjs → chunk-GSG52WU5.mjs} +3 -3
  117. package/dist/{chunk-2YHN7ZCJ.mjs → chunk-NKRBXAPF.mjs} +3 -3
  118. package/dist/{chunk-NPH4VQCE.mjs → chunk-OUTPT474.mjs} +3 -3
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  RichText
3
- } from "./chunk-GHJMJFGY.mjs";
3
+ } from "./chunk-NV67QFQM.mjs";
4
4
  import {
5
5
  cn
6
6
  } from "./chunk-KZPGX6CG.mjs";
@@ -3,13 +3,13 @@
3
3
 
4
4
  import {
5
5
  RichText
6
- } from "./chunk-GHJMJFGY.mjs";
6
+ } from "./chunk-NV67QFQM.mjs";
7
7
  import {
8
8
  CMSLink
9
9
  } from "./chunk-2NXKZY7U.mjs";
10
10
  import {
11
11
  Media
12
- } from "./chunk-2YHN7ZCJ.mjs";
12
+ } from "./chunk-NKRBXAPF.mjs";
13
13
 
14
14
  // src/components/Heros/HighImpact/index.tsx
15
15
  import Image from "next/image";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Media
3
- } from "./chunk-2YHN7ZCJ.mjs";
3
+ } from "./chunk-NKRBXAPF.mjs";
4
4
  import {
5
5
  cn
6
6
  } from "./chunk-KZPGX6CG.mjs";
@@ -1,6 +1,10 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
+ import {
5
+ RAG_COLOR_MAP,
6
+ getRagStatusLabel
7
+ } from "./chunk-T7TGES6Z.mjs";
4
8
  import {
5
9
  Label
6
10
  } from "./chunk-7CVOGGH6.mjs";
@@ -23,12 +27,6 @@ import {
23
27
  X
24
28
  } from "lucide-react";
25
29
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
26
- var ragColorMap = {
27
- "On-Track": "bg-green-100 text-green-800 border-green-200",
28
- "Off-Track": "bg-red-100 text-red-800 border-red-200",
29
- "At Risk": "bg-yellow-100 text-yellow-800 border-yellow-200",
30
- Complete: "bg-blue-100 text-blue-800 border-blue-200"
31
- };
32
30
  function DeliveryLeadSubmissionList({
33
31
  submissions,
34
32
  isLoading = false
@@ -103,8 +101,8 @@ function DeliveryLeadSubmissionList({
103
101
  submission.milestones?.slice(0, 3).map((milestone, idx) => /* @__PURE__ */ jsx(
104
102
  "span",
105
103
  {
106
- className: `inline-flex items-center px-2 py-1 rounded-full text-xs font-medium border ${ragColorMap[milestone.rag]}`,
107
- children: milestone.rag
104
+ className: `inline-flex items-center px-2 py-1 rounded-full text-xs font-medium border ${RAG_COLOR_MAP[milestone.rag]}`,
105
+ children: getRagStatusLabel(milestone.rag)
108
106
  },
109
107
  idx
110
108
  )),
@@ -208,8 +206,8 @@ function DeliveryLeadSubmissionList({
208
206
  /* @__PURE__ */ jsx("td", { className: "px-4 py-2", children: /* @__PURE__ */ jsx(
209
207
  "span",
210
208
  {
211
- className: `inline-flex items-center px-2 py-1 rounded-full text-xs font-medium border ${ragColorMap[milestone.rag]}`,
212
- children: milestone.rag
209
+ className: `inline-flex items-center px-2 py-1 rounded-full text-xs font-medium border ${RAG_COLOR_MAP[milestone.rag]}`,
210
+ children: getRagStatusLabel(milestone.rag)
213
211
  }
214
212
  ) })
215
213
  ] }, idx)) })
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  CollapsibleBlock
3
- } from "./chunk-RFZOUE5F.mjs";
3
+ } from "./chunk-QOPCGZNQ.mjs";
4
4
  import {
5
5
  ContentBlock
6
- } from "./chunk-QRFYWH62.mjs";
6
+ } from "./chunk-IMWMWTDR.mjs";
7
7
  import {
8
8
  CallToActionBlock,
9
9
  FeaturesBlock
10
- } from "./chunk-GHJMJFGY.mjs";
10
+ } from "./chunk-NV67QFQM.mjs";
11
11
  import {
12
12
  MediaBlock
13
- } from "./chunk-KIZUBPPQ.mjs";
13
+ } from "./chunk-6GO5N6ZP.mjs";
14
14
  import {
15
15
  cn
16
16
  } from "./chunk-KZPGX6CG.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  PayloadCard
3
- } from "./chunk-EGZL4DVZ.mjs";
3
+ } from "./chunk-PAXCURFR.mjs";
4
4
  import {
5
5
  cn
6
6
  } from "./chunk-KZPGX6CG.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Media
3
- } from "./chunk-2YHN7ZCJ.mjs";
3
+ } from "./chunk-NKRBXAPF.mjs";
4
4
  import {
5
5
  cn
6
6
  } from "./chunk-KZPGX6CG.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  RichText
3
- } from "./chunk-GHJMJFGY.mjs";
3
+ } from "./chunk-NV67QFQM.mjs";
4
4
  import {
5
5
  cn
6
6
  } from "./chunk-KZPGX6CG.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  RichText
3
- } from "./chunk-GHJMJFGY.mjs";
3
+ } from "./chunk-NV67QFQM.mjs";
4
4
  import {
5
5
  Button
6
6
  } from "./chunk-I6LSWXZW.mjs";
@@ -3,10 +3,10 @@
3
3
 
4
4
  import {
5
5
  Printable
6
- } from "./chunk-RAHAHVM3.mjs";
6
+ } from "./chunk-KAMWFZNX.mjs";
7
7
  import {
8
8
  SlideShow
9
- } from "./chunk-CEDQJQTB.mjs";
9
+ } from "./chunk-IAPDQHOE.mjs";
10
10
  import {
11
11
  getTableOfContents
12
12
  } from "./chunk-BXLYIIII.mjs";
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  FeatureCard,
6
6
  RichText
7
- } from "./chunk-GHJMJFGY.mjs";
7
+ } from "./chunk-NV67QFQM.mjs";
8
8
  import {
9
9
  cn
10
10
  } from "./chunk-KZPGX6CG.mjs";
@@ -3,10 +3,10 @@
3
3
 
4
4
  import {
5
5
  DeliveryLeadSubmissionList
6
- } from "./chunk-YOPRYLFQ.mjs";
6
+ } from "./chunk-3VMFZKXK.mjs";
7
7
  import {
8
8
  DeliveryLeadSubmissionComponent
9
- } from "./chunk-UHF447FN.mjs";
9
+ } from "./chunk-IM6PU3RO.mjs";
10
10
 
11
11
  // src/components/DeliveryLead/DeliveryLeadSubmissionWithList.tsx
12
12
  import { useState } from "react";
@@ -3,33 +3,33 @@
3
3
 
4
4
  import {
5
5
  ServiceSection
6
- } from "./chunk-XYLSOGTP.mjs";
6
+ } from "./chunk-FP7MLBPR.mjs";
7
7
  import {
8
8
  BlogList
9
- } from "./chunk-FKQJ7IQO.mjs";
9
+ } from "./chunk-PBJRNOV6.mjs";
10
10
  import {
11
11
  ContactSection,
12
12
  LocationsSection
13
- } from "./chunk-KHH36D4P.mjs";
13
+ } from "./chunk-OUPOGRNP.mjs";
14
14
  import {
15
15
  SectionHero
16
16
  } from "./chunk-N77BYZ6A.mjs";
17
- import {
18
- MediumImpactHero
19
- } from "./chunk-QW6LT3YJ.mjs";
20
17
  import {
21
18
  LowImpactHero
22
- } from "./chunk-4IIO3HGE.mjs";
19
+ } from "./chunk-RYINW7OG.mjs";
20
+ import {
21
+ MediumImpactHero
22
+ } from "./chunk-O3CANERK.mjs";
23
23
  import {
24
24
  HighImpactHero
25
- } from "./chunk-BXDKCANT.mjs";
25
+ } from "./chunk-352XMFIA.mjs";
26
26
  import {
27
27
  CallToActionBlock,
28
28
  RichText
29
- } from "./chunk-GHJMJFGY.mjs";
29
+ } from "./chunk-NV67QFQM.mjs";
30
30
  import {
31
31
  Media
32
- } from "./chunk-2YHN7ZCJ.mjs";
32
+ } from "./chunk-NKRBXAPF.mjs";
33
33
  import {
34
34
  Header
35
35
  } from "./chunk-FZMTC5ID.mjs";
@@ -5,10 +5,10 @@ import {
5
5
  Footer,
6
6
  HeaderTop,
7
7
  TitleSlide
8
- } from "./chunk-4LGHSMMQ.mjs";
8
+ } from "./chunk-SP6YBXB2.mjs";
9
9
  import {
10
10
  RenderBlocks
11
- } from "./chunk-57HPETD7.mjs";
11
+ } from "./chunk-5GC4DBXT.mjs";
12
12
  import {
13
13
  cn
14
14
  } from "./chunk-KZPGX6CG.mjs";
@@ -1,6 +1,9 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
+ import {
5
+ RAG_STATUS_OPTIONS
6
+ } from "./chunk-T7TGES6Z.mjs";
4
7
  import {
5
8
  Select,
6
9
  SelectContent,
@@ -32,10 +35,9 @@ var createEmptyMilestone = () => ({
32
35
  name: "",
33
36
  commentary: "",
34
37
  dueDate: "",
35
- rag: "On-Track",
38
+ rag: "Not-Started",
36
39
  id: null
37
40
  });
38
- var ragOptions = ["On-Track", "Off-Track", "At Risk", "Complete"];
39
41
  var formatDateInputValue = (value) => {
40
42
  if (!value) return "";
41
43
  const parsed = new Date(value);
@@ -82,7 +84,7 @@ var buildMilestonesFromPrefill = (prefilled) => {
82
84
  name: milestone?.name ?? "",
83
85
  commentary: milestone?.commentary ?? "",
84
86
  dueDate: formatDateInputValue(milestone?.dueDate ?? ""),
85
- rag: milestone?.rag ?? "On-Track",
87
+ rag: milestone?.rag ?? "Not-Started",
86
88
  id: milestone?.id ?? null
87
89
  }));
88
90
  };
@@ -122,10 +124,11 @@ function DeliveryLeadSubmissionComponent({ onSubmit, customerProjectPairs, initi
122
124
  const prefilledProject = getProjectOption(initialData?.project, getNumericId(initialData?.customer));
123
125
  const projectsForCustomer = (customerProjectPairs ?? []).filter((cp) => cp.customer.id === clientId).map((cp) => cp.project);
124
126
  const filteredProjects = clientId && prefilledProject && prefilledProject.customerId === clientId && !projectsForCustomer.some((project) => project.id === prefilledProject.id) ? [...projectsForCustomer, { id: prefilledProject.id, name: prefilledProject.name }] : projectsForCustomer;
127
+ const ragValues = RAG_STATUS_OPTIONS.map((opt) => opt.value);
125
128
  const handleMilestoneChange = (idx, field, value) => {
126
129
  setMilestones((prev) => {
127
130
  const newMilestones = [...prev];
128
- if (field === "rag" && !ragOptions.includes(value)) {
131
+ if (field === "rag" && !ragValues.includes(value)) {
129
132
  return prev;
130
133
  }
131
134
  newMilestones[idx] = { ...newMilestones[idx], [field]: value };
@@ -295,7 +298,7 @@ function DeliveryLeadSubmissionComponent({ onSubmit, customerProjectPairs, initi
295
298
  className: "w-full rounded-lg border border-zinc-300 dark:border-zinc-700 bg-zinc-50 dark:bg-zinc-900 text-zinc-900 dark:text-zinc-100 p-1 focus:ring-2 focus:ring-accent/40 focus:outline-none",
296
299
  value: m.rag,
297
300
  onChange: (e) => handleMilestoneChange(idx, "rag", e.target.value),
298
- children: ragOptions.map((opt) => /* @__PURE__ */ jsx("option", { value: opt, children: opt }, opt))
301
+ children: RAG_STATUS_OPTIONS.map((opt) => /* @__PURE__ */ jsx("option", { value: opt.value, children: opt.label }, opt.value))
299
302
  }
300
303
  )
301
304
  ] }),
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  RichText
3
- } from "./chunk-GHJMJFGY.mjs";
3
+ } from "./chunk-NV67QFQM.mjs";
4
4
  import {
5
5
  CMSLink
6
6
  } from "./chunk-2NXKZY7U.mjs";
@@ -4,10 +4,10 @@
4
4
  import {
5
5
  HeaderTop,
6
6
  TitleSlide
7
- } from "./chunk-4LGHSMMQ.mjs";
7
+ } from "./chunk-SP6YBXB2.mjs";
8
8
  import {
9
9
  RenderBlocks
10
- } from "./chunk-57HPETD7.mjs";
10
+ } from "./chunk-5GC4DBXT.mjs";
11
11
  import {
12
12
  getTableOfContents
13
13
  } from "./chunk-BXLYIIII.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  messageHandler
3
- } from "./chunk-57INGMKK.mjs";
3
+ } from "./chunk-ECCJ42NJ.mjs";
4
4
  import {
5
5
  Conversation,
6
6
  ConversationContent,
@@ -15,16 +15,16 @@ import {
15
15
  } from "./chunk-2NXKZY7U.mjs";
16
16
  import {
17
17
  Form
18
- } from "./chunk-OT2SSFKS.mjs";
18
+ } from "./chunk-GSG52WU5.mjs";
19
19
  import {
20
20
  MediaBlock
21
- } from "./chunk-KIZUBPPQ.mjs";
21
+ } from "./chunk-6GO5N6ZP.mjs";
22
22
  import {
23
23
  CodeBlock
24
24
  } from "./chunk-WPX6MOFB.mjs";
25
25
  import {
26
26
  ImageBlock
27
- } from "./chunk-HLEMFDTD.mjs";
27
+ } from "./chunk-3R2LCGLI.mjs";
28
28
  import {
29
29
  DynamicIcon
30
30
  } from "./chunk-75ALYLZU.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  RichText
3
- } from "./chunk-GHJMJFGY.mjs";
3
+ } from "./chunk-NV67QFQM.mjs";
4
4
 
5
5
  // src/components/Heros/MediumImpact/index.tsx
6
6
  import Image from "next/image";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-A4SKUZ2E.mjs";
4
4
  import {
5
5
  SectionHeading
6
- } from "./chunk-LBPVX5BQ.mjs";
6
+ } from "./chunk-2QYYHKCF.mjs";
7
7
  import {
8
8
  PricingCard
9
9
  } from "./chunk-4GLXI5J3.mjs";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SectionHeading
3
- } from "./chunk-LBPVX5BQ.mjs";
3
+ } from "./chunk-2QYYHKCF.mjs";
4
4
  import {
5
5
  Form
6
- } from "./chunk-OT2SSFKS.mjs";
6
+ } from "./chunk-GSG52WU5.mjs";
7
7
  import {
8
8
  blurDataUrl
9
9
  } from "./chunk-5FQFBBN6.mjs";
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-4Z4X2GG7.mjs";
7
7
  import {
8
8
  Media
9
- } from "./chunk-2YHN7ZCJ.mjs";
9
+ } from "./chunk-NKRBXAPF.mjs";
10
10
  import {
11
11
  cn
12
12
  } from "./chunk-KZPGX6CG.mjs";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-A4SKUZ2E.mjs";
4
4
  import {
5
5
  SectionHeading
6
- } from "./chunk-LBPVX5BQ.mjs";
6
+ } from "./chunk-2QYYHKCF.mjs";
7
7
  import {
8
8
  formatDateTimeStringShort
9
9
  } from "./chunk-RFP2KGUZ.mjs";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-X373UDXT.mjs";
4
4
  import {
5
5
  RichText
6
- } from "./chunk-GHJMJFGY.mjs";
6
+ } from "./chunk-NV67QFQM.mjs";
7
7
  import {
8
8
  Card,
9
9
  CardContent,
@@ -3,7 +3,7 @@
3
3
 
4
4
  import {
5
5
  RichText
6
- } from "./chunk-GHJMJFGY.mjs";
6
+ } from "./chunk-NV67QFQM.mjs";
7
7
  import {
8
8
  cn
9
9
  } from "./chunk-KZPGX6CG.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  RichText
3
- } from "./chunk-GHJMJFGY.mjs";
3
+ } from "./chunk-NV67QFQM.mjs";
4
4
 
5
5
  // src/components/Heros/LowImpact/index.tsx
6
6
  import { jsx } from "react/jsx-runtime";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SectionHeading
3
- } from "./chunk-LBPVX5BQ.mjs";
3
+ } from "./chunk-2QYYHKCF.mjs";
4
4
  import {
5
5
  Container
6
6
  } from "./chunk-KL3DQ7AU.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  RichText
3
- } from "./chunk-GHJMJFGY.mjs";
3
+ } from "./chunk-NV67QFQM.mjs";
4
4
 
5
5
  // src/components/Layouts/OutputHeaderFooter.tsx
6
6
  import Image from "next/image";
@@ -0,0 +1,25 @@
1
+ // src/components/DeliveryLead/types.ts
2
+ var RAG_STATUS_OPTIONS = [
3
+ { label: "Not Started", value: "Not-Started" },
4
+ { label: "On Track", value: "On-Track" },
5
+ { label: "Delayed", value: "Delayed" },
6
+ { label: "At Risk", value: "At Risk" },
7
+ { label: "Delivered", value: "Delivered" }
8
+ ];
9
+ var RAG_COLOR_MAP = {
10
+ "Not-Started": "bg-gray-100 text-gray-800 border-gray-200",
11
+ "On-Track": "bg-green-100 text-green-800 border-green-200",
12
+ "Delayed": "bg-red-100 text-red-800 border-red-200",
13
+ "At Risk": "bg-yellow-100 text-yellow-800 border-yellow-200",
14
+ "Delivered": "bg-blue-100 text-blue-800 border-blue-200"
15
+ };
16
+ var getRagStatusLabel = (value) => {
17
+ const option = RAG_STATUS_OPTIONS.find((opt) => opt.value === value);
18
+ return option?.label ?? value;
19
+ };
20
+
21
+ export {
22
+ RAG_STATUS_OPTIONS,
23
+ RAG_COLOR_MAP,
24
+ getRagStatusLabel
25
+ };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  PayloadCard
3
- } from "./chunk-EGZL4DVZ.mjs";
3
+ } from "./chunk-PAXCURFR.mjs";
4
4
  import {
5
5
  RichText
6
- } from "./chunk-GHJMJFGY.mjs";
6
+ } from "./chunk-NV67QFQM.mjs";
7
7
 
8
8
  // src/components/Blocks/RelatedPosts.tsx
9
9
  import clsx from "clsx";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-3SFZTG3H.mjs";
10
10
  import {
11
11
  ChatInterface
12
- } from "./chunk-MAQCJ7GT.mjs";
12
+ } from "./chunk-LAJ5FNY4.mjs";
13
13
 
14
14
  // src/components/Chat/CopilotInterface.tsx
15
15
  import { useChat } from "@ai-sdk/react";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  SectionHero
3
3
  } from "./chunk-N77BYZ6A.mjs";
4
- import {
5
- MediumImpactHero
6
- } from "./chunk-QW6LT3YJ.mjs";
7
4
  import {
8
5
  LowImpactHero
9
- } from "./chunk-4IIO3HGE.mjs";
6
+ } from "./chunk-RYINW7OG.mjs";
7
+ import {
8
+ MediumImpactHero
9
+ } from "./chunk-O3CANERK.mjs";
10
10
  import {
11
11
  HighImpactHero
12
- } from "./chunk-BXDKCANT.mjs";
12
+ } from "./chunk-352XMFIA.mjs";
13
13
 
14
14
  // src/components/Heros/RenderHero.tsx
15
15
  import { ChevronRightIcon, HomeIcon } from "@heroicons/react/20/solid";
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  BannerBlock
3
- } from "../../chunk-GHJMJFGY.mjs";
3
+ } from "../../chunk-NV67QFQM.mjs";
4
4
  import "../../chunk-YLULVMZ7.mjs";
5
5
  import "../../chunk-2NXKZY7U.mjs";
6
- import "../../chunk-OT2SSFKS.mjs";
7
- import "../../chunk-G6EC37S7.mjs";
6
+ import "../../chunk-GSG52WU5.mjs";
8
7
  import "../../chunk-US72SCH3.mjs";
8
+ import "../../chunk-G6EC37S7.mjs";
9
9
  import "../../chunk-LTOFCHXU.mjs";
10
10
  import "../../chunk-GTHNG3Q7.mjs";
11
11
  import "../../chunk-4GLXI5J3.mjs";
12
12
  import "../../chunk-2X45TVQS.mjs";
13
13
  import "../../chunk-DTQ2W22B.mjs";
14
14
  import "../../chunk-LIJ2ES4B.mjs";
15
- import "../../chunk-KIZUBPPQ.mjs";
15
+ import "../../chunk-6GO5N6ZP.mjs";
16
16
  import "../../chunk-WPX6MOFB.mjs";
17
- import "../../chunk-HLEMFDTD.mjs";
18
- import "../../chunk-2YHN7ZCJ.mjs";
19
- import "../../chunk-ZYKYDIOF.mjs";
17
+ import "../../chunk-3R2LCGLI.mjs";
18
+ import "../../chunk-NKRBXAPF.mjs";
20
19
  import "../../chunk-MW5UCIIC.mjs";
20
+ import "../../chunk-ZYKYDIOF.mjs";
21
21
  import "../../chunk-R57RJLFQ.mjs";
22
22
  import "../../chunk-GIHP74M4.mjs";
23
23
  import "../../chunk-3BYULUMU.mjs";
@@ -3,24 +3,24 @@
3
3
  import {
4
4
  CallToActionBlock,
5
5
  CallToActionBlockOld
6
- } from "../../chunk-GHJMJFGY.mjs";
6
+ } from "../../chunk-NV67QFQM.mjs";
7
7
  import "../../chunk-YLULVMZ7.mjs";
8
8
  import "../../chunk-2NXKZY7U.mjs";
9
- import "../../chunk-OT2SSFKS.mjs";
10
- import "../../chunk-G6EC37S7.mjs";
9
+ import "../../chunk-GSG52WU5.mjs";
11
10
  import "../../chunk-US72SCH3.mjs";
11
+ import "../../chunk-G6EC37S7.mjs";
12
12
  import "../../chunk-LTOFCHXU.mjs";
13
13
  import "../../chunk-GTHNG3Q7.mjs";
14
14
  import "../../chunk-4GLXI5J3.mjs";
15
15
  import "../../chunk-2X45TVQS.mjs";
16
16
  import "../../chunk-DTQ2W22B.mjs";
17
17
  import "../../chunk-LIJ2ES4B.mjs";
18
- import "../../chunk-KIZUBPPQ.mjs";
18
+ import "../../chunk-6GO5N6ZP.mjs";
19
19
  import "../../chunk-WPX6MOFB.mjs";
20
- import "../../chunk-HLEMFDTD.mjs";
21
- import "../../chunk-2YHN7ZCJ.mjs";
22
- import "../../chunk-ZYKYDIOF.mjs";
20
+ import "../../chunk-3R2LCGLI.mjs";
21
+ import "../../chunk-NKRBXAPF.mjs";
23
22
  import "../../chunk-MW5UCIIC.mjs";
23
+ import "../../chunk-ZYKYDIOF.mjs";
24
24
  import "../../chunk-R57RJLFQ.mjs";
25
25
  import "../../chunk-GIHP74M4.mjs";
26
26
  import "../../chunk-3BYULUMU.mjs";
@@ -2,25 +2,25 @@
2
2
  "use strict";
3
3
  import {
4
4
  CollapsibleBlock
5
- } from "../../chunk-RFZOUE5F.mjs";
6
- import "../../chunk-GHJMJFGY.mjs";
5
+ } from "../../chunk-QOPCGZNQ.mjs";
6
+ import "../../chunk-NV67QFQM.mjs";
7
7
  import "../../chunk-YLULVMZ7.mjs";
8
8
  import "../../chunk-2NXKZY7U.mjs";
9
- import "../../chunk-OT2SSFKS.mjs";
10
- import "../../chunk-G6EC37S7.mjs";
9
+ import "../../chunk-GSG52WU5.mjs";
11
10
  import "../../chunk-US72SCH3.mjs";
11
+ import "../../chunk-G6EC37S7.mjs";
12
12
  import "../../chunk-LTOFCHXU.mjs";
13
13
  import "../../chunk-GTHNG3Q7.mjs";
14
14
  import "../../chunk-4GLXI5J3.mjs";
15
15
  import "../../chunk-2X45TVQS.mjs";
16
16
  import "../../chunk-DTQ2W22B.mjs";
17
17
  import "../../chunk-LIJ2ES4B.mjs";
18
- import "../../chunk-KIZUBPPQ.mjs";
18
+ import "../../chunk-6GO5N6ZP.mjs";
19
19
  import "../../chunk-WPX6MOFB.mjs";
20
- import "../../chunk-HLEMFDTD.mjs";
21
- import "../../chunk-2YHN7ZCJ.mjs";
22
- import "../../chunk-ZYKYDIOF.mjs";
20
+ import "../../chunk-3R2LCGLI.mjs";
21
+ import "../../chunk-NKRBXAPF.mjs";
23
22
  import "../../chunk-MW5UCIIC.mjs";
23
+ import "../../chunk-ZYKYDIOF.mjs";
24
24
  import "../../chunk-R57RJLFQ.mjs";
25
25
  import "../../chunk-GIHP74M4.mjs";
26
26
  import "../../chunk-3BYULUMU.mjs";
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  ContentBlock
3
- } from "../../chunk-QRFYWH62.mjs";
4
- import "../../chunk-GHJMJFGY.mjs";
3
+ } from "../../chunk-IMWMWTDR.mjs";
4
+ import "../../chunk-NV67QFQM.mjs";
5
5
  import "../../chunk-YLULVMZ7.mjs";
6
6
  import "../../chunk-2NXKZY7U.mjs";
7
- import "../../chunk-OT2SSFKS.mjs";
8
- import "../../chunk-G6EC37S7.mjs";
7
+ import "../../chunk-GSG52WU5.mjs";
9
8
  import "../../chunk-US72SCH3.mjs";
9
+ import "../../chunk-G6EC37S7.mjs";
10
10
  import "../../chunk-LTOFCHXU.mjs";
11
11
  import "../../chunk-GTHNG3Q7.mjs";
12
12
  import "../../chunk-4GLXI5J3.mjs";
13
13
  import "../../chunk-2X45TVQS.mjs";
14
14
  import "../../chunk-DTQ2W22B.mjs";
15
15
  import "../../chunk-LIJ2ES4B.mjs";
16
- import "../../chunk-KIZUBPPQ.mjs";
16
+ import "../../chunk-6GO5N6ZP.mjs";
17
17
  import "../../chunk-WPX6MOFB.mjs";
18
- import "../../chunk-HLEMFDTD.mjs";
19
- import "../../chunk-2YHN7ZCJ.mjs";
20
- import "../../chunk-ZYKYDIOF.mjs";
18
+ import "../../chunk-3R2LCGLI.mjs";
19
+ import "../../chunk-NKRBXAPF.mjs";
21
20
  import "../../chunk-MW5UCIIC.mjs";
21
+ import "../../chunk-ZYKYDIOF.mjs";
22
22
  import "../../chunk-R57RJLFQ.mjs";
23
23
  import "../../chunk-GIHP74M4.mjs";
24
24
  import "../../chunk-3BYULUMU.mjs";