@elevasis/ui 2.31.0 → 2.32.0

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 (144) hide show
  1. package/dist/{CoreAuthKitInner-KSEGSB67.js → CoreAuthKitInner-QC62UHTZ.js} +1 -1
  2. package/dist/api/index.js +3 -3
  3. package/dist/app/index.css +38 -0
  4. package/dist/app/index.d.ts +69 -9
  5. package/dist/app/index.js +7 -6
  6. package/dist/auth/context.js +1 -1
  7. package/dist/auth/index.js +1 -1
  8. package/dist/charts/index.js +5 -6
  9. package/dist/{chunk-XQHZBA65.js → chunk-2RJMVWFJ.js} +1 -6
  10. package/dist/{chunk-CW3UNAF2.js → chunk-4DYOXEH6.js} +410 -5
  11. package/dist/{chunk-HQGF4ATG.js → chunk-4MFNGNHF.js} +118 -141
  12. package/dist/{chunk-ND42LPY4.js → chunk-4QK76KIF.js} +6 -6
  13. package/dist/chunk-5FJJ72HU.js +13 -0
  14. package/dist/chunk-5J4PDX26.js +112 -0
  15. package/dist/{chunk-QDEETKYT.js → chunk-6DWD423K.js} +9 -9
  16. package/dist/{chunk-SHQXMW4F.js → chunk-7KZINJLP.js} +46 -28
  17. package/dist/{chunk-L3BVJWML.js → chunk-EPTHX4VZ.js} +1 -1
  18. package/dist/{chunk-JKSUN5GN.js → chunk-GCOQ3TBG.js} +81 -746
  19. package/dist/{chunk-DZTG5IAC.js → chunk-I2KLQ2HA.js} +1 -7
  20. package/dist/{chunk-L2NVFLXU.js → chunk-IQHU7O5Y.js} +4 -4
  21. package/dist/{chunk-P55BJZZW.js → chunk-IZWTVFJ2.js} +16 -4
  22. package/dist/{chunk-QHEWXU7I.js → chunk-JFL3GRD4.js} +1 -1
  23. package/dist/{chunk-Q6OYNEGR.js → chunk-LLRXA7D7.js} +5 -6
  24. package/dist/{chunk-7KC4P3AU.js → chunk-MOY4VOHF.js} +2 -12
  25. package/dist/{chunk-XQQEKWTL.js → chunk-N55DVMAG.js} +6 -2
  26. package/dist/{chunk-TOIXUWR6.js → chunk-ND5TDV2J.js} +1 -1
  27. package/dist/{chunk-WF227UBV.js → chunk-QQHOKTJA.js} +4 -4
  28. package/dist/{chunk-T3IPHEYJ.js → chunk-QTI3KC7D.js} +4335 -554
  29. package/dist/chunk-QXCDKE2O.js +486 -0
  30. package/dist/{chunk-3BAPR3KA.js → chunk-RQA2EVN3.js} +5 -15
  31. package/dist/{chunk-HYNYEBHM.js → chunk-RQTWIXJ5.js} +3 -3
  32. package/dist/chunk-T35FWDAB.js +4342 -0
  33. package/dist/{chunk-DWK2QIAK.js → chunk-TYRUKGGD.js} +1 -1
  34. package/dist/{chunk-GRDLB6LM.js → chunk-UROTM5OR.js} +13 -1
  35. package/dist/{chunk-6YT4IKJ7.js → chunk-VNAZTCHA.js} +15 -0
  36. package/dist/{chunk-5LJAEZMA.js → chunk-VRNMNB3O.js} +5 -6
  37. package/dist/chunk-WQPX44YM.js +1626 -0
  38. package/dist/{chunk-7HMCB26R.js → chunk-XZGSCABI.js} +1 -1
  39. package/dist/chunk-YLQEVSOR.js +299 -0
  40. package/dist/{chunk-Y4FWCG7Y.js → chunk-ZQOKIGZP.js} +8 -7
  41. package/dist/components/chat/index.js +1 -1
  42. package/dist/components/index.css +38 -0
  43. package/dist/components/index.d.ts +152 -50
  44. package/dist/components/index.js +36 -39
  45. package/dist/components/navigation/index.css +38 -0
  46. package/dist/components/navigation/index.js +4 -3
  47. package/dist/execution/index.d.ts +7 -2
  48. package/dist/execution/index.js +1 -1
  49. package/dist/features/auth/index.css +38 -0
  50. package/dist/features/auth/index.d.ts +91 -14
  51. package/dist/features/auth/index.js +42 -10
  52. package/dist/features/clients/index.css +38 -0
  53. package/dist/features/clients/index.d.ts +1 -1
  54. package/dist/features/clients/index.js +16 -15
  55. package/dist/features/crm/index.css +38 -0
  56. package/dist/features/crm/index.d.ts +80 -18
  57. package/dist/features/crm/index.js +16 -15
  58. package/dist/features/dashboard/index.css +38 -0
  59. package/dist/features/dashboard/index.d.ts +65 -25
  60. package/dist/features/dashboard/index.js +16 -16
  61. package/dist/features/delivery/index.css +38 -0
  62. package/dist/features/delivery/index.d.ts +80 -18
  63. package/dist/features/delivery/index.js +15 -15
  64. package/dist/features/knowledge/index.css +38 -0
  65. package/dist/features/knowledge/index.d.ts +20 -18
  66. package/dist/features/knowledge/index.js +112 -597
  67. package/dist/features/lead-gen/index.css +38 -0
  68. package/dist/features/lead-gen/index.d.ts +45 -43
  69. package/dist/features/lead-gen/index.js +16 -16
  70. package/dist/features/monitoring/index.css +38 -0
  71. package/dist/features/monitoring/index.d.ts +20 -18
  72. package/dist/features/monitoring/index.js +17 -17
  73. package/dist/features/monitoring/requests/index.css +38 -0
  74. package/dist/features/monitoring/requests/index.d.ts +21 -19
  75. package/dist/features/monitoring/requests/index.js +15 -14
  76. package/dist/features/operations/index.css +38 -0
  77. package/dist/features/operations/index.d.ts +930 -66
  78. package/dist/features/operations/index.js +21 -24
  79. package/dist/features/seo/index.d.ts +20 -18
  80. package/dist/features/seo/index.js +2 -2
  81. package/dist/features/settings/index.css +38 -0
  82. package/dist/features/settings/index.d.ts +80 -18
  83. package/dist/features/settings/index.js +16 -15
  84. package/dist/graph/index.js +1 -1
  85. package/dist/hooks/delivery/index.css +38 -0
  86. package/dist/hooks/delivery/index.d.ts +60 -0
  87. package/dist/hooks/delivery/index.js +3 -3
  88. package/dist/hooks/index.css +38 -0
  89. package/dist/hooks/index.d.ts +301 -87
  90. package/dist/hooks/index.js +14 -13
  91. package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +143 -33
  92. package/dist/hooks/operations/command-view/utils/transformCommandViewData.js +1 -1
  93. package/dist/hooks/published.css +38 -0
  94. package/dist/hooks/published.d.ts +301 -87
  95. package/dist/hooks/published.js +14 -13
  96. package/dist/index.css +38 -0
  97. package/dist/index.d.ts +976 -1341
  98. package/dist/index.js +15 -14
  99. package/dist/initialization/index.d.ts +60 -0
  100. package/dist/initialization/index.js +1 -1
  101. package/dist/knowledge/index.d.ts +809 -1160
  102. package/dist/knowledge/index.js +5988 -2140
  103. package/dist/{chunk-O2QOPJI5.js → knowledge-search-index-5KYPO746.js} +96 -852
  104. package/dist/layout/index.js +3 -4
  105. package/dist/organization/index.css +38 -0
  106. package/dist/organization/index.js +1 -1
  107. package/dist/profile/index.d.ts +60 -0
  108. package/dist/profile/index.js +1 -1
  109. package/dist/provider/ElevasisServiceContext.js +1 -1
  110. package/dist/provider/index.css +38 -0
  111. package/dist/provider/index.d.ts +786 -1249
  112. package/dist/provider/index.js +11 -10
  113. package/dist/provider/published.css +38 -0
  114. package/dist/provider/published.d.ts +783 -1246
  115. package/dist/provider/published.js +8 -7
  116. package/dist/router/context.js +1 -1
  117. package/dist/router/index.js +1 -1
  118. package/dist/sse/index.js +1 -1
  119. package/dist/supabase/index.d.ts +117 -0
  120. package/dist/supabase/index.js +1 -1
  121. package/dist/test-utils/index.d.ts +16 -9
  122. package/dist/test-utils/index.js +40 -33
  123. package/dist/test-utils/setup-integration.js +1 -1
  124. package/dist/test-utils/setup.js +1 -1
  125. package/dist/theme/index.js +3 -3
  126. package/dist/theme/presets/index.js +1 -1
  127. package/dist/typeform/index.js +1 -1
  128. package/dist/typeform/schemas.js +1 -1
  129. package/dist/types/index.d.ts +205 -35
  130. package/dist/utils/index.d.ts +65 -25
  131. package/dist/utils/index.js +2 -2
  132. package/dist/vite/index.js +1 -1
  133. package/dist/vite-plugin-knowledge/index.js +1 -1
  134. package/dist/zustand/index.js +1 -1
  135. package/package.json +39 -38
  136. package/src/provider/README.md +5 -5
  137. package/dist/chunk-542WPQU2.js +0 -413
  138. package/dist/chunk-6IXOKUBC.js +0 -347
  139. package/dist/chunk-CQZ3DNQY.js +0 -740
  140. package/dist/chunk-ECNNI3NT.js +0 -6
  141. package/dist/chunk-JDNEWB5F.js +0 -10
  142. package/dist/chunk-MVFCLZSK.js +0 -4337
  143. package/dist/chunk-OAVTMITG.js +0 -13
  144. package/dist/chunk-TVRQ6AQI.js +0 -476
@@ -1,4 +1,3 @@
1
- import { PROJECTS_VIEW_CAPABILITY_ID, PROJECTS_FEATURE_ID } from './chunk-ECNNI3NT.js';
2
1
  import { SubshellNavItem } from './chunk-X4WBGKJQ.js';
3
2
  import { SubshellSidebarSection } from './chunk-IIMU5YAJ.js';
4
3
  import { milestoneStatusColors, formatStatusLabel, taskTypeColors, taskStatusColors, projectStatusColors, calculateProgress, noteTypeColors } from './chunk-R2XR4FCV.js';
@@ -6,12 +5,13 @@ import { PageContainer } from './chunk-BZZCNLT6.js';
6
5
  import { TableSelectionToolbar, SortableHeader } from './chunk-TUMSNGTX.js';
7
6
  import { FilterBar } from './chunk-PDHTXPSF.js';
8
7
  import { CustomModal } from './chunk-R66W5UDG.js';
9
- import { useProjectRealtime, useTableSort, sortData, usePaginationState, useTableSelection, useProjectActivities } from './chunk-JKSUN5GN.js';
10
- import { useCreateTask, useCreateMilestone, useProjectMilestones, useUpdateTask, useProjects, useDeleteProject, useProject, useProjectNotes, useUpdateMilestone, useCreateNote, showApiErrorNotification, projectKeys } from './chunk-7HMCB26R.js';
11
- import { StatusBadge, EmptyState, PageTitleCaption, CenteredErrorState, StatCard, CardHeader } from './chunk-L3BVJWML.js';
8
+ import { useProjectRealtime, useTableSort, sortData, usePaginationState, useTableSelection, useProjectActivities } from './chunk-GCOQ3TBG.js';
9
+ import { useCreateTask, useCreateMilestone, useProjectMilestones, useUpdateTask, useProjects, useDeleteProject, useProject, useProjectNotes, useUpdateMilestone, useCreateNote, showApiErrorNotification, projectKeys } from './chunk-XZGSCABI.js';
10
+ import { StatusBadge, EmptyState, PageTitleCaption, CenteredErrorState, StatCard, CardHeader } from './chunk-EPTHX4VZ.js';
12
11
  import { SubshellContentContainer } from './chunk-TKAYX2SP.js';
12
+ import { PROJECTS_VIEW_ACTION_ID } from './chunk-T35FWDAB.js';
13
13
  import { useRouterContext } from './chunk-Q7DJKLEN.js';
14
- import { PAGE_SIZE_DEFAULT, formatTimeAgo, formatDate, formatRelativeTime } from './chunk-XQHZBA65.js';
14
+ import { PAGE_SIZE_DEFAULT, formatTimeAgo, formatDate, formatRelativeTime } from './chunk-2RJMVWFJ.js';
15
15
  import { useElevasisServices } from './chunk-KJ3QUBNU.js';
16
16
  import { useState, useMemo, useCallback } from 'react';
17
17
  import { Stack, Text, Group, Checkbox, ActionIcon, TextInput, Button, Modal, Title, Textarea, Select, SimpleGrid, Card, ThemeIcon, RingProgress, Paper, Timeline, Badge, Collapse, Center, Loader, Table, Pagination, Alert, CopyButton, Tooltip, Space, Tabs, Divider, Anchor, Chip } from '@mantine/core';
@@ -498,10 +498,9 @@ var ProjectsSidebar = ({ children } = {}) => {
498
498
  };
499
499
  var deliveryManifest = {
500
500
  key: "delivery",
501
- featureId: PROJECTS_FEATURE_ID,
502
- capabilityIds: [PROJECTS_VIEW_CAPABILITY_ID],
503
- icon: IconBriefcase,
504
- sidebar: ProjectsSidebar
501
+ systemId: "projects",
502
+ capabilityIds: [PROJECTS_VIEW_ACTION_ID],
503
+ icon: IconBriefcase
505
504
  };
506
505
  function AllTasksPage() {
507
506
  return /* @__PURE__ */ jsx(SubshellContentContainer, { children: /* @__PURE__ */ jsxs(PageContainer, { children: [
@@ -1049,14 +1048,6 @@ function renderMilestoneBullet(status) {
1049
1048
  }
1050
1049
  );
1051
1050
  }
1052
- function getMilestoneSurfaceStyles(status) {
1053
- const normalizedStatus = status ?? "upcoming";
1054
- const accent = normalizedStatus === "completed" ? "var(--color-primary)" : normalizedStatus === "in_progress" ? "color-mix(in srgb, var(--color-primary) 72%, white)" : "color-mix(in srgb, var(--color-primary) 36%, var(--color-border))";
1055
- return {
1056
- accent,
1057
- background: "transparent"
1058
- };
1059
- }
1060
1051
  function MilestoneChecklist({ milestone }) {
1061
1052
  const items = parseChecklist2(milestone);
1062
1053
  const { mutate: updateMilestone } = useUpdateMilestone();
@@ -1394,19 +1385,18 @@ function ProjectDetailPage({ projectId, onBack, backLabel = "Projects" }) {
1394
1385
  const milestoneTasks = tasks.filter((task) => task.milestone_id === milestone.id);
1395
1386
  const checklistItems = parseChecklist2(milestone);
1396
1387
  const completedChecklistItems = checklistItems.filter((item) => item.completed).length;
1397
- const { accent, background } = getMilestoneSurfaceStyles(milestone.status);
1398
1388
  return /* @__PURE__ */ jsx(
1399
1389
  Timeline.Item,
1400
1390
  {
1401
1391
  bullet: renderMilestoneBullet(milestone.status),
1402
1392
  title: /* @__PURE__ */ jsx("div", {}),
1403
- children: /* @__PURE__ */ jsxs(
1393
+ children: /* @__PURE__ */ jsx(
1404
1394
  Paper,
1405
1395
  {
1406
1396
  p: "lg",
1407
1397
  radius: "md",
1408
1398
  style: {
1409
- background,
1399
+ background: "transparent",
1410
1400
  border: "none",
1411
1401
  borderTop: "1px solid var(--color-border)",
1412
1402
  borderRight: "1px solid var(--color-border)",
@@ -1415,138 +1405,125 @@ function ProjectDetailPage({ projectId, onBack, backLabel = "Projects" }) {
1415
1405
  position: "relative",
1416
1406
  overflow: "hidden"
1417
1407
  },
1418
- children: [
1419
- /* @__PURE__ */ jsx(
1420
- "div",
1421
- {
1422
- style: {
1423
- position: "absolute",
1424
- inset: "0 auto 0 0",
1425
- width: 3,
1426
- background: `linear-gradient(180deg, ${accent} 0%, color-mix(in srgb, ${accent} 30%, transparent) 100%)`
1427
- }
1428
- }
1429
- ),
1430
- /* @__PURE__ */ jsxs(Stack, { gap: "md", children: [
1431
- /* @__PURE__ */ jsxs(Group, { justify: "space-between", align: "flex-start", wrap: "wrap", children: [
1432
- /* @__PURE__ */ jsxs(Stack, { gap: 6, style: { flex: 1, minWidth: 260 }, children: [
1433
- /* @__PURE__ */ jsxs(Group, { gap: "xs", wrap: "wrap", children: [
1434
- /* @__PURE__ */ jsx(Text, { fw: 700, size: "lg", c: "var(--color-text)", children: milestone.name }),
1435
- /* @__PURE__ */ jsx(
1436
- Badge,
1437
- {
1438
- variant: "light",
1439
- color: milestoneStatusColors[milestone.status || ""] || "gray",
1440
- size: "sm",
1441
- styles: {
1442
- root: {
1443
- letterSpacing: "0.02em"
1444
- }
1445
- },
1446
- children: formatStatusLabel(milestone.status || "unknown")
1447
- }
1448
- )
1449
- ] }),
1450
- milestone.description && /* @__PURE__ */ jsx(Text, { size: "sm", c: "var(--color-text-dimmed)", maw: 900, children: milestone.description })
1451
- ] }),
1408
+ children: /* @__PURE__ */ jsxs(Stack, { gap: "md", children: [
1409
+ /* @__PURE__ */ jsxs(Group, { justify: "space-between", align: "flex-start", wrap: "wrap", children: [
1410
+ /* @__PURE__ */ jsxs(Stack, { gap: 6, style: { flex: 1, minWidth: 260 }, children: [
1452
1411
  /* @__PURE__ */ jsxs(Group, { gap: "xs", wrap: "wrap", children: [
1453
- milestone.due_date && /* @__PURE__ */ jsxs(
1412
+ /* @__PURE__ */ jsx(Text, { fw: 700, size: "lg", c: "var(--color-text)", children: milestone.name }),
1413
+ /* @__PURE__ */ jsx(
1454
1414
  Badge,
1455
1415
  {
1456
- variant: "outline",
1457
- size: "md",
1416
+ variant: "light",
1417
+ color: milestoneStatusColors[milestone.status || ""] || "gray",
1418
+ size: "sm",
1458
1419
  styles: {
1459
1420
  root: {
1460
- borderColor: "var(--border-primary-subtle)",
1461
- backgroundColor: "var(--surface-primary-faint)"
1421
+ letterSpacing: "0.02em"
1462
1422
  }
1463
1423
  },
1464
- children: [
1465
- "Due ",
1466
- formatDate(milestone.due_date)
1467
- ]
1468
- }
1469
- ),
1470
- /* @__PURE__ */ jsxs(
1471
- Badge,
1472
- {
1473
- variant: "outline",
1474
- size: "md",
1475
- styles: {
1476
- root: {
1477
- borderColor: "var(--border-primary-soft)",
1478
- backgroundColor: "var(--color-surface)"
1479
- }
1480
- },
1481
- children: [
1482
- completedChecklistItems,
1483
- "/",
1484
- checklistItems.length,
1485
- " complete"
1486
- ]
1487
- }
1488
- ),
1489
- milestoneTasks.length > 0 && /* @__PURE__ */ jsxs(
1490
- Badge,
1491
- {
1492
- variant: "outline",
1493
- size: "md",
1494
- styles: {
1495
- root: {
1496
- borderColor: "var(--border-primary-soft)",
1497
- backgroundColor: "var(--color-surface)"
1498
- }
1499
- },
1500
- children: [
1501
- milestoneTasks.length,
1502
- " tasks"
1503
- ]
1424
+ children: formatStatusLabel(milestone.status || "unknown")
1504
1425
  }
1505
1426
  )
1506
- ] })
1427
+ ] }),
1428
+ milestone.description && /* @__PURE__ */ jsx(Text, { size: "sm", c: "var(--color-text-dimmed)", maw: 900, children: milestone.description })
1507
1429
  ] }),
1508
- /* @__PURE__ */ jsx(MilestoneChecklist, { milestone }),
1509
- milestoneTasks.length > 0 && /* @__PURE__ */ jsx(Stack, { gap: "sm", children: milestoneTasks.map((task) => /* @__PURE__ */ jsx(
1510
- Card,
1511
- {
1512
- p: "sm",
1513
- radius: "md",
1514
- style: {
1515
- border: "1px solid var(--border-primary-faint)",
1516
- backgroundColor: "color-mix(in srgb, var(--color-surface-hover) 70%, var(--color-surface))",
1517
- boxShadow: "var(--standard-box-shadow)"
1518
- },
1519
- children: /* @__PURE__ */ jsxs(Stack, { gap: "xs", children: [
1520
- /* @__PURE__ */ jsxs(Group, { gap: "xs", justify: "space-between", align: "flex-start", wrap: "wrap", children: [
1521
- /* @__PURE__ */ jsx(Text, { size: "sm", fw: 600, c: "var(--color-text)", children: task.name }),
1522
- /* @__PURE__ */ jsxs(Group, { gap: "xs", wrap: "wrap", children: [
1523
- /* @__PURE__ */ jsx(
1524
- Badge,
1525
- {
1526
- variant: "light",
1527
- color: taskTypeColors[task.type || ""] || "gray",
1528
- size: "xs",
1529
- children: formatStatusLabel(task.type || "other")
1530
- }
1531
- ),
1532
- /* @__PURE__ */ jsx(
1533
- Badge,
1534
- {
1535
- variant: "light",
1536
- color: taskStatusColors[task.status || ""] || "gray",
1537
- size: "xs",
1538
- children: formatStatusLabel(task.status || "pending")
1539
- }
1540
- )
1541
- ] })
1542
- ] }),
1543
- /* @__PURE__ */ jsx(InlineResumeContextEditor, { task, projectId })
1544
- ] })
1430
+ /* @__PURE__ */ jsxs(Group, { gap: "xs", wrap: "wrap", children: [
1431
+ milestone.due_date && /* @__PURE__ */ jsxs(
1432
+ Badge,
1433
+ {
1434
+ variant: "outline",
1435
+ size: "md",
1436
+ styles: {
1437
+ root: {
1438
+ borderColor: "var(--border-primary-subtle)",
1439
+ backgroundColor: "var(--surface-primary-faint)"
1440
+ }
1441
+ },
1442
+ children: [
1443
+ "Due ",
1444
+ formatDate(milestone.due_date)
1445
+ ]
1446
+ }
1447
+ ),
1448
+ /* @__PURE__ */ jsxs(
1449
+ Badge,
1450
+ {
1451
+ variant: "outline",
1452
+ size: "md",
1453
+ styles: {
1454
+ root: {
1455
+ borderColor: "var(--border-primary-soft)",
1456
+ backgroundColor: "var(--color-surface)"
1457
+ }
1458
+ },
1459
+ children: [
1460
+ completedChecklistItems,
1461
+ "/",
1462
+ checklistItems.length,
1463
+ " complete"
1464
+ ]
1465
+ }
1466
+ ),
1467
+ milestoneTasks.length > 0 && /* @__PURE__ */ jsxs(
1468
+ Badge,
1469
+ {
1470
+ variant: "outline",
1471
+ size: "md",
1472
+ styles: {
1473
+ root: {
1474
+ borderColor: "var(--border-primary-soft)",
1475
+ backgroundColor: "var(--color-surface)"
1476
+ }
1477
+ },
1478
+ children: [
1479
+ milestoneTasks.length,
1480
+ " tasks"
1481
+ ]
1482
+ }
1483
+ )
1484
+ ] })
1485
+ ] }),
1486
+ /* @__PURE__ */ jsx(MilestoneChecklist, { milestone }),
1487
+ milestoneTasks.length > 0 && /* @__PURE__ */ jsx(Stack, { gap: "sm", children: milestoneTasks.map((task) => /* @__PURE__ */ jsx(
1488
+ Card,
1489
+ {
1490
+ p: "sm",
1491
+ radius: "md",
1492
+ style: {
1493
+ border: "1px solid var(--border-primary-faint)",
1494
+ backgroundColor: "color-mix(in srgb, var(--color-surface-hover) 70%, var(--color-surface))",
1495
+ boxShadow: "var(--standard-box-shadow)"
1545
1496
  },
1546
- task.id
1547
- )) })
1548
- ] })
1549
- ]
1497
+ children: /* @__PURE__ */ jsxs(Stack, { gap: "xs", children: [
1498
+ /* @__PURE__ */ jsxs(Group, { gap: "xs", justify: "space-between", align: "flex-start", wrap: "wrap", children: [
1499
+ /* @__PURE__ */ jsx(Text, { size: "sm", fw: 600, c: "var(--color-text)", children: task.name }),
1500
+ /* @__PURE__ */ jsxs(Group, { gap: "xs", wrap: "wrap", children: [
1501
+ /* @__PURE__ */ jsx(
1502
+ Badge,
1503
+ {
1504
+ variant: "light",
1505
+ color: taskTypeColors[task.type || ""] || "gray",
1506
+ size: "xs",
1507
+ children: formatStatusLabel(task.type || "other")
1508
+ }
1509
+ ),
1510
+ /* @__PURE__ */ jsx(
1511
+ Badge,
1512
+ {
1513
+ variant: "light",
1514
+ color: taskStatusColors[task.status || ""] || "gray",
1515
+ size: "xs",
1516
+ children: formatStatusLabel(task.status || "pending")
1517
+ }
1518
+ )
1519
+ ] })
1520
+ ] }),
1521
+ /* @__PURE__ */ jsx(InlineResumeContextEditor, { task, projectId })
1522
+ ] })
1523
+ },
1524
+ task.id
1525
+ )) })
1526
+ ] })
1550
1527
  }
1551
1528
  )
1552
1529
  },
@@ -1,12 +1,12 @@
1
1
  import { AppShellLoader } from './chunk-RYTEQBAO.js';
2
2
  import { FilterBar } from './chunk-PDHTXPSF.js';
3
3
  import { CustomModal } from './chunk-R66W5UDG.js';
4
- import { useAvailablePresets } from './chunk-QHEWXU7I.js';
5
- import { useDeleteCredential, useCreateCredential, useCredentials, MEMBERSHIP_STATUS_COLORS, transformMembershipToTableRow, useUserMemberships, useUpdateWebhookEndpoint, useResources, useDeleteWebhookEndpoint, useCreateWebhookEndpoint, useListWebhookEndpoints, useOrgRoles, useAssignRole, useRevokeRole, useHasPermission, useUpdateMemberConfig, useOrganizationMembers, useUpdateCredential, CredentialSchemas } from './chunk-JKSUN5GN.js';
6
- import { showApiErrorNotification, showErrorNotification, showSuccessNotification } from './chunk-7HMCB26R.js';
7
- import { ListSkeleton, EmptyState, PageTitleCaption, CardHeader, APIErrorAlert, StatCard } from './chunk-L3BVJWML.js';
4
+ import { useAvailablePresets } from './chunk-JFL3GRD4.js';
5
+ import { useDeleteCredential, useCreateCredential, useCredentials, MEMBERSHIP_STATUS_COLORS, transformMembershipToTableRow, useUserMemberships, useUpdateWebhookEndpoint, useResources, useDeleteWebhookEndpoint, useCreateWebhookEndpoint, useListWebhookEndpoints, useOrgRoles, useAssignRole, useRevokeRole, useHasPermission, useUpdateMemberConfig, useOrganizationMembers, useUpdateCredential, CredentialSchemas } from './chunk-GCOQ3TBG.js';
6
+ import { showApiErrorNotification, showErrorNotification, showSuccessNotification } from './chunk-XZGSCABI.js';
7
+ import { ListSkeleton, EmptyState, PageTitleCaption, CardHeader, APIErrorAlert, StatCard } from './chunk-EPTHX4VZ.js';
8
8
  import { RoleBadge } from './chunk-JA5ECJJB.js';
9
- import { isAPIClientError, formatDateTime, OAUTH_FLOW_TIMEOUT } from './chunk-XQHZBA65.js';
9
+ import { isAPIClientError, formatDateTime, OAUTH_FLOW_TIMEOUT } from './chunk-2RJMVWFJ.js';
10
10
  import { useInitialization } from './chunk-533DUEQY.js';
11
11
  import { useOrganization } from './chunk-DD3CCMCZ.js';
12
12
  import { useElevasisServices } from './chunk-KJ3QUBNU.js';
@@ -2274,7 +2274,7 @@ function OAuthIntegrationsCard({ apiUrl }) {
2274
2274
  }
2275
2275
  var settingsManifest = {
2276
2276
  key: "settings",
2277
- featureId: "settings",
2277
+ routePrefixes: ["/settings"],
2278
2278
  icon: IconSettings
2279
2279
  };
2280
2280
 
@@ -0,0 +1,13 @@
1
+ import { ElevasisSystemsProvider } from './chunk-QXCDKE2O.js';
2
+ import { jsx } from 'react/jsx-runtime';
3
+
4
+ function createTestSystemsProvider({
5
+ organizationModel,
6
+ systems = []
7
+ } = {}) {
8
+ return function TestSystemsProvider({ children }) {
9
+ return /* @__PURE__ */ jsx(ElevasisSystemsProvider, { systems, organizationModel, children });
10
+ };
11
+ }
12
+
13
+ export { createTestSystemsProvider };
@@ -0,0 +1,112 @@
1
+ // src/features/operations/organization-graph/types.ts
2
+ var ORGANIZATION_GRAPH_NODE_KIND_ORDER = [
3
+ "organization",
4
+ "system",
5
+ "role",
6
+ "action",
7
+ "entity",
8
+ "event",
9
+ "policy",
10
+ "stage",
11
+ "resource",
12
+ "knowledge",
13
+ "customer-segment",
14
+ "offering",
15
+ "goal",
16
+ "surface",
17
+ "navigation-group",
18
+ "content-node"
19
+ ];
20
+ var ORGANIZATION_GRAPH_NODE_KIND_LABELS = {
21
+ organization: "Organization",
22
+ system: "System",
23
+ role: "Role",
24
+ action: "Action",
25
+ entity: "Entity",
26
+ event: "Event",
27
+ policy: "Policy",
28
+ stage: "Stage",
29
+ resource: "Resource",
30
+ knowledge: "Knowledge",
31
+ "customer-segment": "Customer segment",
32
+ offering: "Offering",
33
+ goal: "Goal",
34
+ surface: "Surface",
35
+ "navigation-group": "Navigation group",
36
+ "content-node": "Content node"
37
+ };
38
+ var ORGANIZATION_GRAPH_NODE_KIND_DETAIL_LABELS = {
39
+ organization: "Organization root",
40
+ system: "System",
41
+ role: "Role",
42
+ action: "Action",
43
+ entity: "Entity",
44
+ event: "Event",
45
+ policy: "Policy",
46
+ stage: "Stage",
47
+ resource: "Resource",
48
+ knowledge: "Knowledge",
49
+ "customer-segment": "Customer segment",
50
+ offering: "Offering",
51
+ goal: "Goal",
52
+ surface: "Surface",
53
+ "navigation-group": "Navigation group",
54
+ "content-node": "Content node"
55
+ };
56
+ var ORGANIZATION_GRAPH_NODE_KIND_MEANINGS = {
57
+ organization: "The root of the shared organization model and the parent for every derived node.",
58
+ system: "A canonical Organization Model system for ownership, routing, and governance.",
59
+ role: "An Organization Model role that owns responsibilities and may govern systems.",
60
+ action: "A reusable action that can be attached to a system.",
61
+ entity: "A modeled business object or stateful data domain owned by the organization model.",
62
+ event: "A derived domain or runtime event emitted by entities, resources, or actions.",
63
+ policy: "A governance rule that applies to targets and may trigger effects across the graph.",
64
+ stage: "A lifecycle stage that records progress for an entity through a build pipeline.",
65
+ resource: "A concrete command-view or mapped resource that bridges execution topology into the model.",
66
+ knowledge: "An operational knowledge node that documents a process, strategy, or runbook in the org model.",
67
+ "customer-segment": "A defined segment of customers or prospects that the organization targets or serves.",
68
+ offering: "A product, service, or value proposition the organization delivers to customer segments.",
69
+ goal: "A strategic or operational objective that guides priorities and measures progress.",
70
+ surface: "A navigation surface (page or view) that is exposed through the platform shell.",
71
+ "navigation-group": "A logical grouping of navigation surfaces within the platform shell.",
72
+ "content-node": "A system-scoped content node authored in system.content (schema, config, or tenant-defined kind)."
73
+ };
74
+ var ORGANIZATION_GRAPH_EDGE_KIND_LABELS = {
75
+ contains: "Containment",
76
+ references: "Reference",
77
+ maps_to: "Mapping",
78
+ uses: "Uses",
79
+ governs: "Governs",
80
+ links: "Links",
81
+ affects: "Affects",
82
+ emits: "Emits",
83
+ originates_from: "Originates from",
84
+ triggers: "Triggers",
85
+ applies_to: "Applies to",
86
+ effects: "Effects"
87
+ };
88
+ var ORGANIZATION_GRAPH_EDGE_KIND_MEANINGS = {
89
+ contains: "A hierarchy or ownership link inside the shared graph.",
90
+ references: "A semantic association or dependency between two graph nodes.",
91
+ maps_to: "An action is aligned to a concrete resource.",
92
+ uses: "A graph node depends on another node, resource, entity, or integration.",
93
+ governs: "A knowledge node, role, or policy provides authoritative guidance for another node.",
94
+ links: "Two modeled nodes are associated without stronger ownership or execution semantics.",
95
+ affects: "The source can influence the behavior, state, or outcome of the target.",
96
+ emits: "The source produces an event that can be inspected or traversed.",
97
+ originates_from: "The source is derived from or owned by the target origin.",
98
+ triggers: "The source can start or activate the target.",
99
+ applies_to: "A policy or rule targets the node it applies to.",
100
+ effects: "A policy or event produces the target effect."
101
+ };
102
+ var DEFAULT_ORGANIZATION_GRAPH_FILTERS = {
103
+ search: "",
104
+ nodeKinds: [],
105
+ topologyPresence: "all",
106
+ environmentStatus: "all",
107
+ resourceTypes: [],
108
+ showIntegrations: true,
109
+ domainFilters: {}
110
+ };
111
+
112
+ export { DEFAULT_ORGANIZATION_GRAPH_FILTERS, ORGANIZATION_GRAPH_EDGE_KIND_LABELS, ORGANIZATION_GRAPH_EDGE_KIND_MEANINGS, ORGANIZATION_GRAPH_NODE_KIND_DETAIL_LABELS, ORGANIZATION_GRAPH_NODE_KIND_LABELS, ORGANIZATION_GRAPH_NODE_KIND_MEANINGS, ORGANIZATION_GRAPH_NODE_KIND_ORDER };
@@ -1,22 +1,22 @@
1
- import { useElevasisFeatures } from './chunk-6IXOKUBC.js';
2
- import { FeatureUnavailableState } from './chunk-L3BVJWML.js';
1
+ import { FeatureUnavailableState } from './chunk-EPTHX4VZ.js';
2
+ import { useElevasisSystems } from './chunk-QXCDKE2O.js';
3
3
  import { SubshellContainer, SubshellSidebar, SubshellRightSideContainer } from './chunk-TKAYX2SP.js';
4
4
  import { useRouterContext } from './chunk-Q7DJKLEN.js';
5
5
  import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
6
6
 
7
- var defaultFeatureSidebarWidth = 250;
8
- function FeatureShell({ children }) {
9
- const { shellRuntime } = useElevasisFeatures();
7
+ var defaultSystemSidebarWidth = 250;
8
+ function SystemShell({ children }) {
9
+ const { shellRuntime } = useElevasisSystems();
10
10
  const { currentPath } = useRouterContext();
11
11
  const routeMatch = shellRuntime.resolveRoute(currentPath);
12
12
  if (routeMatch.status === "hidden") {
13
13
  return /* @__PURE__ */ jsx(FeatureUnavailableState, { path: currentPath });
14
14
  }
15
- if (routeMatch.status !== "matched" || !routeMatch.feature?.sidebar) {
15
+ if (routeMatch.status !== "matched" || !routeMatch.system?.sidebar) {
16
16
  return /* @__PURE__ */ jsx(Fragment, { children });
17
17
  }
18
- const SidebarComponent = routeMatch.feature.sidebar;
19
- const sidebarWidth = typeof routeMatch.feature.sidebarWidth === "function" ? routeMatch.feature.sidebarWidth({ currentPath }) : routeMatch.feature.sidebarWidth ?? defaultFeatureSidebarWidth;
18
+ const SidebarComponent = routeMatch.system.sidebar;
19
+ const sidebarWidth = typeof routeMatch.system.sidebarWidth === "function" ? routeMatch.system.sidebarWidth({ currentPath }) : routeMatch.system.sidebarWidth ?? defaultSystemSidebarWidth;
20
20
  if (sidebarWidth === 0) {
21
21
  return /* @__PURE__ */ jsx(Fragment, { children });
22
22
  }
@@ -26,4 +26,4 @@ function FeatureShell({ children }) {
26
26
  ] });
27
27
  }
28
28
 
29
- export { FeatureShell };
29
+ export { SystemShell };