@elevasis/ui 2.30.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 (130) hide show
  1. package/dist/api/index.js +2 -2
  2. package/dist/app/index.css +38 -0
  3. package/dist/app/index.d.ts +190 -9
  4. package/dist/app/index.js +7 -6
  5. package/dist/charts/index.js +4 -5
  6. package/dist/{chunk-HXZQWMKE.js → chunk-2RJMVWFJ.js} +1 -6
  7. package/dist/{chunk-4VQ2PXMI.js → chunk-3FV6HBXS.js} +4 -4
  8. package/dist/{chunk-CW3UNAF2.js → chunk-4DYOXEH6.js} +410 -5
  9. package/dist/{chunk-JKTPRYGV.js → chunk-4MFNGNHF.js} +123 -192
  10. package/dist/{chunk-HYLERWRO.js → chunk-4QK76KIF.js} +7 -7
  11. package/dist/chunk-5FJJ72HU.js +13 -0
  12. package/dist/chunk-5J4PDX26.js +112 -0
  13. package/dist/{chunk-4SY6BTVZ.js → chunk-6DWD423K.js} +12 -9
  14. package/dist/{chunk-3GV5NHSS.js → chunk-7KZINJLP.js} +78 -232
  15. package/dist/{chunk-6WXDE5LZ.js → chunk-EPTHX4VZ.js} +1 -1
  16. package/dist/{chunk-6EFVZV6X.js → chunk-GCOQ3TBG.js} +243 -254
  17. package/dist/{chunk-LRZFLK2F.js → chunk-IQHU7O5Y.js} +4 -4
  18. package/dist/{chunk-X2SUMO3P.js → chunk-IZWTVFJ2.js} +16 -3
  19. package/dist/{chunk-IKQ42WHU.js → chunk-JFL3GRD4.js} +1 -1
  20. package/dist/{chunk-4FZYEEPK.js → chunk-LLRXA7D7.js} +5 -6
  21. package/dist/chunk-MOY4VOHF.js +347 -0
  22. package/dist/{chunk-XQQEKWTL.js → chunk-N55DVMAG.js} +6 -2
  23. package/dist/{chunk-7E3FUTND.js → chunk-ND5TDV2J.js} +1 -1
  24. package/dist/{chunk-WF227UBV.js → chunk-QQHOKTJA.js} +4 -4
  25. package/dist/{chunk-A7B7HLDF.js → chunk-QTI3KC7D.js} +5884 -515
  26. package/dist/chunk-QXCDKE2O.js +486 -0
  27. package/dist/chunk-R2XR4FCV.js +48 -0
  28. package/dist/chunk-R66W5UDG.js +26 -0
  29. package/dist/{chunk-T5Z7G2J2.js → chunk-RQA2EVN3.js} +6 -16
  30. package/dist/{chunk-SKXXT3E2.js → chunk-RQTWIXJ5.js} +4 -4
  31. package/dist/chunk-T35FWDAB.js +4342 -0
  32. package/dist/{chunk-DWK2QIAK.js → chunk-TYRUKGGD.js} +1 -1
  33. package/dist/{chunk-CN2HC4D4.js → chunk-UFTM5SZZ.js} +2 -2
  34. package/dist/{chunk-JCGD4GM6.js → chunk-UROTM5OR.js} +14 -1
  35. package/dist/{chunk-6YT4IKJ7.js → chunk-VNAZTCHA.js} +15 -0
  36. package/dist/{chunk-KVJ3LFH2.js → chunk-VNFR57DF.js} +4 -24
  37. package/dist/{chunk-SBCIB5TZ.js → chunk-VRNMNB3O.js} +6 -7
  38. package/dist/chunk-WQPX44YM.js +1626 -0
  39. package/dist/{chunk-T2PAD63Y.js → chunk-XZGSCABI.js} +1 -1
  40. package/dist/chunk-YLQEVSOR.js +299 -0
  41. package/dist/{chunk-P5WYW2GI.js → chunk-ZQOKIGZP.js} +152 -306
  42. package/dist/components/index.css +38 -0
  43. package/dist/components/index.d.ts +334 -38
  44. package/dist/components/index.js +42 -42
  45. package/dist/components/navigation/index.css +38 -0
  46. package/dist/components/navigation/index.js +3 -2
  47. package/dist/execution/index.d.ts +9 -3
  48. package/dist/features/auth/index.css +38 -0
  49. package/dist/features/auth/index.d.ts +212 -14
  50. package/dist/features/auth/index.js +41 -9
  51. package/dist/features/clients/index.css +649 -0
  52. package/dist/features/clients/index.d.ts +86 -0
  53. package/dist/features/clients/index.js +720 -0
  54. package/dist/features/crm/index.css +38 -0
  55. package/dist/features/crm/index.d.ts +228 -20
  56. package/dist/features/crm/index.js +20 -17
  57. package/dist/features/dashboard/index.css +38 -0
  58. package/dist/features/dashboard/index.d.ts +78 -3
  59. package/dist/features/dashboard/index.js +16 -16
  60. package/dist/features/delivery/index.css +38 -0
  61. package/dist/features/delivery/index.d.ts +201 -18
  62. package/dist/features/delivery/index.js +20 -18
  63. package/dist/features/knowledge/index.css +38 -0
  64. package/dist/features/knowledge/index.d.ts +20 -18
  65. package/dist/features/knowledge/index.js +116 -578
  66. package/dist/features/lead-gen/index.css +38 -0
  67. package/dist/features/lead-gen/index.d.ts +59 -51
  68. package/dist/features/lead-gen/index.js +20 -18
  69. package/dist/features/monitoring/index.css +38 -0
  70. package/dist/features/monitoring/index.d.ts +20 -18
  71. package/dist/features/monitoring/index.js +19 -18
  72. package/dist/features/monitoring/requests/index.css +38 -0
  73. package/dist/features/monitoring/requests/index.d.ts +21 -19
  74. package/dist/features/monitoring/requests/index.js +17 -15
  75. package/dist/features/operations/index.css +38 -0
  76. package/dist/features/operations/index.d.ts +945 -45
  77. package/dist/features/operations/index.js +24 -26
  78. package/dist/features/seo/index.d.ts +20 -18
  79. package/dist/features/seo/index.js +1 -1
  80. package/dist/features/settings/index.css +38 -0
  81. package/dist/features/settings/index.d.ts +201 -18
  82. package/dist/features/settings/index.js +18 -16
  83. package/dist/hooks/delivery/index.css +38 -0
  84. package/dist/hooks/delivery/index.d.ts +200 -0
  85. package/dist/hooks/delivery/index.js +2 -2
  86. package/dist/hooks/index.css +38 -0
  87. package/dist/hooks/index.d.ts +825 -47
  88. package/dist/hooks/index.js +14 -13
  89. package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +194 -3
  90. package/dist/hooks/published.css +38 -0
  91. package/dist/hooks/published.d.ts +825 -47
  92. package/dist/hooks/published.js +14 -13
  93. package/dist/index.css +38 -0
  94. package/dist/index.d.ts +1506 -1212
  95. package/dist/index.js +15 -14
  96. package/dist/initialization/index.d.ts +181 -0
  97. package/dist/knowledge/index.d.ts +813 -1068
  98. package/dist/knowledge/index.js +7370 -2869
  99. package/dist/{chunk-CLUP5H3C.js → knowledge-search-index-5KYPO746.js} +441 -963
  100. package/dist/layout/index.d.ts +6 -0
  101. package/dist/layout/index.js +4 -5
  102. package/dist/organization/index.css +38 -0
  103. package/dist/profile/index.d.ts +181 -0
  104. package/dist/provider/index.css +38 -0
  105. package/dist/provider/index.d.ts +909 -1156
  106. package/dist/provider/index.js +11 -10
  107. package/dist/provider/published.css +38 -0
  108. package/dist/provider/published.d.ts +906 -1153
  109. package/dist/provider/published.js +7 -6
  110. package/dist/supabase/index.d.ts +349 -0
  111. package/dist/test-utils/index.d.ts +16 -9
  112. package/dist/test-utils/index.js +39 -32
  113. package/dist/test-utils/setup.js +1 -1
  114. package/dist/theme/index.js +3 -3
  115. package/dist/theme/presets/index.js +1 -1
  116. package/dist/types/index.d.ts +378 -5
  117. package/dist/utils/index.d.ts +78 -3
  118. package/dist/utils/index.js +1 -1
  119. package/dist/vite/index.js +2 -2
  120. package/dist/vite-plugin-knowledge/index.js +1 -1
  121. package/package.json +47 -37
  122. package/src/provider/README.md +5 -5
  123. package/dist/chunk-2DIYILF7.js +0 -413
  124. package/dist/chunk-3MDNBHVB.js +0 -3868
  125. package/dist/chunk-6IXOKUBC.js +0 -347
  126. package/dist/chunk-AKOD52HS.js +0 -739
  127. package/dist/chunk-ECNNI3NT.js +0 -6
  128. package/dist/chunk-JDNEWB5F.js +0 -10
  129. package/dist/chunk-NITGGYH2.js +0 -476
  130. package/dist/chunk-OAVTMITG.js +0 -13
@@ -1,63 +1,63 @@
1
- import { useBreadcrumbs } from '../chunk-WF227UBV.js';
2
- import '../chunk-X2SUMO3P.js';
3
- export { AllTasksPage, HealthStatusCard, MilestoneTimeline, ProjectDetailPage, ProjectsListPage, ProjectsSidebar, ProjectsSidebarMiddle, ProjectsSidebarTop, TaskCard, UpcomingMilestonesPage, calculateProgress, deliveryManifest, formatStatusLabel, milestoneStatusColors, noteTypeColors, projectStatusColors, taskStatusColors, taskTypeColors } from '../chunk-JKTPRYGV.js';
4
- export { LEAD_GEN_ROUTE_LINKS, LeadGenCompaniesPage, LeadGenContactsPage, LeadGenListDetailPage, LeadGenListsPage, LeadGenOverviewPage, LeadGenRouteShell, LeadGenSidebar, LeadGenSidebarMiddle, LeadGenSidebarTop, StepConfigForm, TabSection, getEnrichmentColor, getStatusColor, leadGenManifest, useDeleteLists } from '../chunk-3GV5NHSS.js';
5
- export { ActionModal, AgentDefinitionDisplay, AgentExecutionLogs, BaseExecutionLogs, BaseExecutionLogsHeader, BaseExecutionLogsStates, CheckpointGroup, CollapsibleJsonSection, CommandQueueSidebar, CommandQueueSidebarMiddle, CommandQueueSidebarTop, CommandQueueTaskRow, ConfigCard, ContentSections, ContextUsageBadge, ContractDisplay, ExecutionErrorSection, LogEntry, LogGroup, NewKnowledgeMapEdge, NewKnowledgeMapGraph, NewKnowledgeMapNode, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, ResourceDefinitionSection, ResourceErrorState, ResourceFilter, ResourceHeader, ResourceNotFoundState, SessionMemory, ToolsListDisplay, WorkflowDefinitionDisplay, WorkflowExecutionLogs, getExecutionStatusConfig, getIcon, getLogLevelConfig, iconMap, operationsManifest, useNewKnowledgeMapLayout } from '../chunk-A7B7HLDF.js';
1
+ import { useBreadcrumbs } from '../chunk-QQHOKTJA.js';
2
+ import { showAuthError } from '../chunk-4QK76KIF.js';
3
+ export { CreateCredentialModal, CredentialList, CredentialSettings, MembershipFeaturePanel, MembershipStatusBadge, OAuthConnectModal, OrganizationMembershipsList, WebhookUrlDisplayModal, settingsManifest, showAuthError } from '../chunk-4QK76KIF.js';
4
+ import '../chunk-IZWTVFJ2.js';
5
+ import { setDealReferrer, compareDealsByPriority } from '../chunk-ZQOKIGZP.js';
6
+ export { ActivityFeedWidget, CompanyDetailPage, ContactDetailPage, CrmOverview, CrmSidebar, CrmSidebarTop, DealDetailPage, DealsListPage, MetricsStrip, PIPELINE_FUNNEL_ORDER, PipelineFunnelWidget, crmManifest, useCrmPipelineSummary, useCrmQuickMetrics, useRecentCrmActivity } from '../chunk-ZQOKIGZP.js';
7
+ export { AllTasksPage, HealthStatusCard, MilestoneTimeline, ProjectDetailPage, ProjectsListPage, ProjectsSidebar, ProjectsSidebarMiddle, ProjectsSidebarTop, TaskCard, UpcomingMilestonesPage, deliveryManifest } from '../chunk-4MFNGNHF.js';
8
+ export { LEAD_GEN_ROUTE_LINKS, LeadGenCompaniesPage, LeadGenContactsPage, LeadGenListDetailPage, LeadGenListsPage, LeadGenOverviewPage, LeadGenRouteShell, LeadGenSidebar, LeadGenSidebarTop, StepConfigForm, TabSection, getEnrichmentColor, getStatusColor, leadGenManifest, useDeleteLists } from '../chunk-7KZINJLP.js';
9
+ export { CrmSidebarMiddle, LeadGenSidebarMiddle, MyTasksPanel, QuickCreateActions, SAVED_VIEW_PRESETS, SavedViewsPanel } from '../chunk-MOY4VOHF.js';
10
+ export { ActionModal, AgentDefinitionDisplay, AgentExecutionLogs, BaseExecutionLogs, BaseExecutionLogsHeader, BaseExecutionLogsStates, CheckpointGroup, CollapsibleJsonSection, CommandQueueSidebar, CommandQueueSidebarMiddle, CommandQueueSidebarTop, CommandQueueTaskRow, ConfigCard, ContentSections, ContextUsageBadge, ContractDisplay, ExecutionErrorSection, LogEntry, LogGroup, NewKnowledgeMapEdge, NewKnowledgeMapGraph, NewKnowledgeMapNode, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, ResourceDefinitionSection, ResourceErrorState, ResourceFilter, ResourceHeader, ResourceNotFoundState, SessionMemory, ToolsListDisplay, WorkflowDefinitionDisplay, WorkflowExecutionLogs, getExecutionStatusConfig, getIcon, getLogLevelConfig, iconMap, operationsManifest, useNewKnowledgeMapLayout } from '../chunk-QTI3KC7D.js';
6
11
  import '../chunk-CXY7FMUM.js';
7
- import '../chunk-3MDNBHVB.js';
8
12
  import '../chunk-ZTWA5H77.js';
9
- import '../chunk-JDNEWB5F.js';
10
- import '../chunk-JCGD4GM6.js';
11
- import '../chunk-XQQEKWTL.js';
12
- export { AgentExecutionTimeline, AgentExecutionVisualizer, AgentIterationEdge, AgentIterationNode, BaseEdge, BaseNode, EmptyVisualizer, ExecutionStats, ExecutionStatusBadge, GraphBackground, GraphContainer, GraphFitViewButton, GraphFitViewHandler, GraphLegend, RunResourceButton, TimelineAxis, TimelineBar, TimelineContainer, TimelineRow, UnifiedWorkflowEdge, UnifiedWorkflowGraph, UnifiedWorkflowNode, VisualizerContainer, WorkflowExecutionTimeline, getGraphBackgroundStyles, useGraphBackgroundStyles, useGraphTheme } from '../chunk-4FZYEEPK.js';
13
- import '../chunk-ECNNI3NT.js';
14
- import '../chunk-NITGGYH2.js';
13
+ import '../chunk-5J4PDX26.js';
14
+ import '../chunk-N55DVMAG.js';
15
+ import '../chunk-UROTM5OR.js';
16
+ export { AgentExecutionTimeline, AgentExecutionVisualizer, AgentIterationEdge, AgentIterationNode, BaseEdge, BaseNode, EmptyVisualizer, ExecutionStats, ExecutionStatusBadge, GraphBackground, GraphContainer, GraphFitViewButton, GraphFitViewHandler, GraphLegend, RunResourceButton, TimelineAxis, TimelineBar, TimelineContainer, TimelineRow, UnifiedWorkflowEdge, UnifiedWorkflowGraph, UnifiedWorkflowNode, VisualizerContainer, WorkflowExecutionTimeline, getGraphBackgroundStyles, useGraphBackgroundStyles, useGraphTheme } from '../chunk-LLRXA7D7.js';
15
17
  export { ZodFormRenderer } from '../chunk-3MEXPLWT.js';
16
- import { NotificationList } from '../chunk-SBCIB5TZ.js';
17
- export { ActivityCard, ActivityFilters as ActivityFiltersBar, ActivityTable, BusinessImpactCard, CostBreakdownCard, CostByModelTable, CostMetricsCard, ErrorAnalysisCard, ErrorBreakdownTable, ExecutionBreakdownTable, ExecutionHealthCard, ExecutionLogsFilters as ExecutionLogsFilterBar, ExecutionLogsTable, NotificationItem, NotificationList, monitoringManifest } from '../chunk-SBCIB5TZ.js';
18
- export { ResourceHealthPanel } from '../chunk-LRZFLK2F.js';
18
+ import { NotificationList } from '../chunk-VRNMNB3O.js';
19
+ export { ActivityCard, ActivityFilters as ActivityFiltersBar, ActivityTable, BusinessImpactCard, CostBreakdownCard, CostByModelTable, CostMetricsCard, ErrorAnalysisCard, ErrorBreakdownTable, ExecutionBreakdownTable, ExecutionHealthCard, ExecutionLogsFilters as ExecutionLogsFilterBar, ExecutionLogsTable, NotificationItem, NotificationList, monitoringManifest } from '../chunk-VRNMNB3O.js';
20
+ export { ResourceHealthPanel } from '../chunk-IQHU7O5Y.js';
19
21
  export { ResourceHealthChart, getHealthColor } from '../chunk-LGKLC5MG.js';
20
- import '../chunk-2DIYILF7.js';
21
- import '../chunk-CW3UNAF2.js';
22
- export { SEOSidebar, SEOSidebarMiddle, SEOSidebarTop, seoManifest } from '../chunk-DWK2QIAK.js';
23
- import { showAuthError } from '../chunk-HYLERWRO.js';
24
- export { CreateCredentialModal, CredentialList, CredentialSettings, MembershipFeaturePanel, MembershipStatusBadge, OAuthConnectModal, OrganizationMembershipsList, WebhookUrlDisplayModal, settingsManifest, showAuthError } from '../chunk-HYLERWRO.js';
22
+ import '../chunk-4DYOXEH6.js';
23
+ export { ConfirmationInputModal, ConfirmationModal } from '../chunk-VNFR57DF.js';
24
+ export { SEOSidebar, SEOSidebarMiddle, SEOSidebarTop, seoManifest } from '../chunk-TYRUKGGD.js';
25
+ import '../chunk-X4WBGKJQ.js';
26
+ import '../chunk-IIMU5YAJ.js';
25
27
  import { AppShellLoader } from '../chunk-RYTEQBAO.js';
26
- import { setDealReferrer, compareDealsByPriority } from '../chunk-P5WYW2GI.js';
27
- export { ActivityFeedWidget, CrmOverview, CrmSidebar, CrmSidebarMiddle, CrmSidebarTop, DealDetailPage, DealsListPage, MetricsStrip, MyTasksPanel, PIPELINE_FUNNEL_ORDER, PipelineFunnelWidget, QuickCreateActions, SAVED_VIEW_PRESETS, SavedViewsPanel, crmManifest, useCrmPipelineSummary, useCrmQuickMetrics, useRecentCrmActivity } from '../chunk-P5WYW2GI.js';
28
+ export { calculateProgress, formatStatusLabel, milestoneStatusColors, noteTypeColors, projectStatusColors, taskStatusColors, taskTypeColors } from '../chunk-R2XR4FCV.js';
28
29
  import '../chunk-BZZCNLT6.js';
29
30
  export { SortableHeader, TableSelectionToolbar } from '../chunk-TUMSNGTX.js';
30
- import '../chunk-X4WBGKJQ.js';
31
- import '../chunk-IIMU5YAJ.js';
32
31
  import { FilterBar } from '../chunk-PDHTXPSF.js';
33
32
  export { FilterBar } from '../chunk-PDHTXPSF.js';
34
- import { CustomModal } from '../chunk-KVJ3LFH2.js';
35
- export { ConfirmationInputModal, ConfirmationModal, CustomModal } from '../chunk-KVJ3LFH2.js';
36
- import '../chunk-IKQ42WHU.js';
33
+ import { CustomModal } from '../chunk-R66W5UDG.js';
34
+ export { CustomModal } from '../chunk-R66W5UDG.js';
35
+ import '../chunk-JFL3GRD4.js';
37
36
  export { Graph_module_css_default as graphStyles } from '../chunk-22UVE3RA.js';
38
37
  export { CONTAINER_CONSTANTS, SHARED_VIZ_CONSTANTS } from '../chunk-E4WQGJNS.js';
39
38
  import '../chunk-7M2VOCYN.js';
40
- import { useOrganizationPermissions, useCreateOrgRole, usePermissionCatalog, useUpdateApiKey, useDeleteApiKey, useCreateApiKey, useListApiKeys, usePaginationState, useActivateDeployment, useDeactivateDeployment, useDeleteDeployment, useListDeployments, useResources, useCreateSchedule, useListSchedules, usePauseSchedule, useResumeSchedule, useCancelSchedule, useDeleteSchedule, useDeals, useTransitionItem, dealKeys, useMarkAllAsRead, useNotifications } from '../chunk-6EFVZV6X.js';
41
- import '../chunk-6YT4IKJ7.js';
42
- import { showSuccessNotification, showErrorNotification, showApiErrorNotification } from '../chunk-T2PAD63Y.js';
43
- export { showApiErrorNotification, showErrorNotification, showInfoNotification, showSuccessNotification, showWarningNotification } from '../chunk-T2PAD63Y.js';
39
+ import { useOrganizationPermissions, useCreateOrgRole, usePermissionCatalog, useUpdateApiKey, useDeleteApiKey, useCreateApiKey, useListApiKeys, usePaginationState, useActivateDeployment, useDeactivateDeployment, useDeleteDeployment, useListDeployments, useResources, useCreateSchedule, useListSchedules, usePauseSchedule, useResumeSchedule, useCancelSchedule, useDeleteSchedule, useDeals, useTransitionItem, dealKeys, useMarkAllAsRead, useNotifications } from '../chunk-GCOQ3TBG.js';
40
+ import '../chunk-VNAZTCHA.js';
41
+ import { showSuccessNotification, showErrorNotification, showApiErrorNotification } from '../chunk-XZGSCABI.js';
42
+ export { showApiErrorNotification, showErrorNotification, showInfoNotification, showSuccessNotification, showWarningNotification } from '../chunk-XZGSCABI.js';
44
43
  import '../chunk-BRXELOHC.js';
45
44
  import '../chunk-3ZMAGTWF.js';
46
- import '../chunk-OAVTMITG.js';
47
- import '../chunk-SKXXT3E2.js';
48
- import '../chunk-T5Z7G2J2.js';
49
- import '../chunk-4VQ2PXMI.js';
45
+ import '../chunk-5FJJ72HU.js';
46
+ import '../chunk-RQTWIXJ5.js';
47
+ import '../chunk-RQA2EVN3.js';
48
+ import '../chunk-3FV6HBXS.js';
50
49
  import '../chunk-WLOQ4IBG.js';
51
- import '../chunk-4SY6BTVZ.js';
52
- import { ListSkeleton, EmptyState, PageTitleCaption, StatCard, CenteredErrorState, CardHeader } from '../chunk-6WXDE5LZ.js';
53
- export { APIErrorAlert, ActivityTimeline, CardHeader, CenteredErrorState, CollapsibleSection, ContextViewer, CustomSelector, DetailCardSkeleton, EmptyState, FeatureUnavailableState, GlowDot, JsonViewer, ListSkeleton, PageNotFound, PageTitleCaption, ResourceCard, StatCard, StatCardSkeleton, StatsCardSkeleton, StatusBadge, TabCountBadge, TimeRangeSelector, TrendIndicator } from '../chunk-6WXDE5LZ.js';
50
+ import '../chunk-6DWD423K.js';
51
+ import { ListSkeleton, EmptyState, PageTitleCaption, StatCard, CenteredErrorState, CardHeader } from '../chunk-EPTHX4VZ.js';
52
+ export { APIErrorAlert, ActivityTimeline, CardHeader, CenteredErrorState, CollapsibleSection, ContextViewer, CustomSelector, DetailCardSkeleton, EmptyState, FeatureUnavailableState, GlowDot, JsonViewer, ListSkeleton, PageNotFound, PageTitleCaption, ResourceCard, StatCard, StatCardSkeleton, StatsCardSkeleton, StatusBadge, TabCountBadge, TimeRangeSelector, TrendIndicator } from '../chunk-EPTHX4VZ.js';
54
53
  export { StyledMarkdown } from '../chunk-3KMDHCAR.js';
55
- import '../chunk-AKOD52HS.js';
54
+ import '../chunk-YLQEVSOR.js';
56
55
  export { ElevasisLoader } from '../chunk-SZHARWKU.js';
57
- import '../chunk-6IXOKUBC.js';
56
+ import '../chunk-QXCDKE2O.js';
58
57
  import { SubshellContentContainer } from '../chunk-TKAYX2SP.js';
59
58
  export { NavigationButton } from '../chunk-NYBEU5TE.js';
60
- import '../chunk-7E3FUTND.js';
59
+ import '../chunk-T35FWDAB.js';
60
+ import '../chunk-ND5TDV2J.js';
61
61
  import '../chunk-2IFYDILW.js';
62
62
  import { useRouterContext } from '../chunk-Q7DJKLEN.js';
63
63
  export { RoleBadge } from '../chunk-JA5ECJJB.js';
@@ -66,7 +66,7 @@ import { useAppearance } from '../chunk-E565XMTQ.js';
66
66
  import '../chunk-JBWJ6WHZ.js';
67
67
  import '../chunk-DT3QYZVU.js';
68
68
  import '../chunk-RNP5R5I3.js';
69
- import { formatDateTime, PAGE_SIZE_DEFAULT, formatTimeAgo } from '../chunk-HXZQWMKE.js';
69
+ import { formatDateTime, PAGE_SIZE_DEFAULT, formatTimeAgo } from '../chunk-2RJMVWFJ.js';
70
70
  import '../chunk-KRWALB24.js';
71
71
  import '../chunk-VKIZUUPM.js';
72
72
  import { useInitialization } from '../chunk-533DUEQY.js';
@@ -150,6 +150,14 @@
150
150
  .mantine-Accordion-control:hover {
151
151
  background-color: var(--color-surface-hover);
152
152
  }
153
+ [data-mantine-color-scheme] .mantine-Accordion-root .mantine-Accordion-item {
154
+ --item-filled-color: var(--color-surface);
155
+ --item-border-color: var(--color-border);
156
+ }
157
+ [data-mantine-color-scheme] .mantine-Accordion-root[data-variant=separated] .mantine-Accordion-item[data-active] {
158
+ background-color: var(--color-surface);
159
+ border-color: var(--color-border);
160
+ }
153
161
  .mantine-Menu-item:hover:not([data-disabled]) {
154
162
  background-color: var(--color-surface-hover);
155
163
  }
@@ -215,6 +223,36 @@
215
223
  background-color: var(--color-primary);
216
224
  border-color: var(--color-primary);
217
225
  }
226
+ .mantine-Tree-node:focus-visible > [data-value] {
227
+ outline: 2px solid color-mix(in srgb, var(--color-primary) 55%, transparent);
228
+ outline-offset: 2px;
229
+ }
230
+ .mantine-Tree-label[data-hovered] {
231
+ background-color: var(--color-surface-hover);
232
+ border-color: var(--color-border);
233
+ }
234
+ .mantine-Tree-label[data-selected] {
235
+ background-color: color-mix(in srgb, var(--color-primary) 12%, transparent);
236
+ border-color: color-mix(in srgb, var(--color-primary) 38%, var(--color-border));
237
+ color: var(--color-primary);
238
+ }
239
+ [data-knowledge-article] pre {
240
+ white-space: pre-wrap;
241
+ word-break: break-word;
242
+ overflow-x: auto;
243
+ max-width: 100%;
244
+ padding: var(--mantine-spacing-sm);
245
+ background-color: var(--color-surface);
246
+ border: 1px solid var(--color-border);
247
+ border-radius: var(--mantine-radius-sm);
248
+ }
249
+ [data-knowledge-article] pre code {
250
+ background: transparent;
251
+ border: none;
252
+ padding: 0;
253
+ white-space: inherit;
254
+ word-break: inherit;
255
+ }
218
256
  .recharts-surface:focus {
219
257
  outline: none;
220
258
  }
@@ -1,5 +1,6 @@
1
- export { useBreadcrumbs } from '../../chunk-WF227UBV.js';
2
- import '../../chunk-6IXOKUBC.js';
1
+ export { useBreadcrumbs } from '../../chunk-QQHOKTJA.js';
2
+ import '../../chunk-QXCDKE2O.js';
3
+ import '../../chunk-T35FWDAB.js';
3
4
  import '../../chunk-Q7DJKLEN.js';
4
5
  import '../../chunk-JA5ECJJB.js';
5
6
  import '../../chunk-HUJCU55S.js';
@@ -223,6 +223,7 @@ interface SerializedAgentDefinition {
223
223
  description: string;
224
224
  version: string;
225
225
  type: 'agent';
226
+ kind: 'orchestrator' | 'specialist' | 'utility' | 'system';
226
227
  status: 'dev' | 'prod';
227
228
  links?: ResourceLink[];
228
229
  category?: ResourceCategory;
@@ -449,20 +450,25 @@ type ResourceStatus = 'dev' | 'prod';
449
450
  declare const LinkSchema: z.ZodObject<{
450
451
  nodeId: z.ZodString;
451
452
  kind: z.ZodEnum<{
453
+ links: "links";
454
+ affects: "affects";
455
+ emits: "emits";
452
456
  contains: "contains";
453
457
  references: "references";
454
- exposes: "exposes";
455
458
  maps_to: "maps_to";
456
- "operates-on": "operates-on";
457
459
  uses: "uses";
458
460
  governs: "governs";
461
+ originates_from: "originates_from";
462
+ triggers: "triggers";
463
+ applies_to: "applies_to";
464
+ effects: "effects";
459
465
  }>;
460
466
  }, z.core.$strip>;
461
467
  type Link = z.infer<typeof LinkSchema>;
462
468
 
463
469
  declare const ResourceCategorySchema: z.ZodEnum<{
464
- production: "production";
465
470
  diagnostic: "diagnostic";
471
+ production: "production";
466
472
  internal: "internal";
467
473
  testing: "testing";
468
474
  }>;
@@ -150,6 +150,14 @@
150
150
  .mantine-Accordion-control:hover {
151
151
  background-color: var(--color-surface-hover);
152
152
  }
153
+ [data-mantine-color-scheme] .mantine-Accordion-root .mantine-Accordion-item {
154
+ --item-filled-color: var(--color-surface);
155
+ --item-border-color: var(--color-border);
156
+ }
157
+ [data-mantine-color-scheme] .mantine-Accordion-root[data-variant=separated] .mantine-Accordion-item[data-active] {
158
+ background-color: var(--color-surface);
159
+ border-color: var(--color-border);
160
+ }
153
161
  .mantine-Menu-item:hover:not([data-disabled]) {
154
162
  background-color: var(--color-surface-hover);
155
163
  }
@@ -215,6 +223,36 @@
215
223
  background-color: var(--color-primary);
216
224
  border-color: var(--color-primary);
217
225
  }
226
+ .mantine-Tree-node:focus-visible > [data-value] {
227
+ outline: 2px solid color-mix(in srgb, var(--color-primary) 55%, transparent);
228
+ outline-offset: 2px;
229
+ }
230
+ .mantine-Tree-label[data-hovered] {
231
+ background-color: var(--color-surface-hover);
232
+ border-color: var(--color-border);
233
+ }
234
+ .mantine-Tree-label[data-selected] {
235
+ background-color: color-mix(in srgb, var(--color-primary) 12%, transparent);
236
+ border-color: color-mix(in srgb, var(--color-primary) 38%, var(--color-border));
237
+ color: var(--color-primary);
238
+ }
239
+ [data-knowledge-article] pre {
240
+ white-space: pre-wrap;
241
+ word-break: break-word;
242
+ overflow-x: auto;
243
+ max-width: 100%;
244
+ padding: var(--mantine-spacing-sm);
245
+ background-color: var(--color-surface);
246
+ border: 1px solid var(--color-border);
247
+ border-radius: var(--mantine-radius-sm);
248
+ }
249
+ [data-knowledge-article] pre code {
250
+ background: transparent;
251
+ border: none;
252
+ padding: 0;
253
+ white-space: inherit;
254
+ word-break: inherit;
255
+ }
218
256
  .recharts-surface:focus {
219
257
  outline: none;
220
258
  }
@@ -62,6 +62,7 @@ type Database = {
62
62
  batch_id: string | null;
63
63
  category: string | null;
64
64
  category_pain: string | null;
65
+ client_id: string | null;
65
66
  created_at: string;
66
67
  domain: string | null;
67
68
  enrichment_data: Json | null;
@@ -88,6 +89,7 @@ type Database = {
88
89
  batch_id?: string | null;
89
90
  category?: string | null;
90
91
  category_pain?: string | null;
92
+ client_id?: string | null;
91
93
  created_at?: string;
92
94
  domain?: string | null;
93
95
  enrichment_data?: Json | null;
@@ -114,6 +116,7 @@ type Database = {
114
116
  batch_id?: string | null;
115
117
  category?: string | null;
116
118
  category_pain?: string | null;
119
+ client_id?: string | null;
117
120
  created_at?: string;
118
121
  domain?: string | null;
119
122
  enrichment_data?: Json | null;
@@ -137,6 +140,13 @@ type Database = {
137
140
  website?: string | null;
138
141
  };
139
142
  Relationships: [
143
+ {
144
+ foreignKeyName: "acq_companies_client_id_fkey";
145
+ columns: ["client_id"];
146
+ isOneToOne: false;
147
+ referencedRelation: "clients";
148
+ referencedColumns: ["id"];
149
+ },
140
150
  {
141
151
  foreignKeyName: "acq_companies_organization_id_fkey";
142
152
  columns: ["organization_id"];
@@ -151,6 +161,7 @@ type Database = {
151
161
  batch_id: string | null;
152
162
  brochure_first_viewed_at: string | null;
153
163
  brochure_view_count: number;
164
+ client_id: string | null;
154
165
  company_id: string | null;
155
166
  created_at: string;
156
167
  email: string;
@@ -179,6 +190,7 @@ type Database = {
179
190
  batch_id?: string | null;
180
191
  brochure_first_viewed_at?: string | null;
181
192
  brochure_view_count?: number;
193
+ client_id?: string | null;
182
194
  company_id?: string | null;
183
195
  created_at?: string;
184
196
  email: string;
@@ -207,6 +219,7 @@ type Database = {
207
219
  batch_id?: string | null;
208
220
  brochure_first_viewed_at?: string | null;
209
221
  brochure_view_count?: number;
222
+ client_id?: string | null;
210
223
  company_id?: string | null;
211
224
  created_at?: string;
212
225
  email?: string;
@@ -232,6 +245,13 @@ type Database = {
232
245
  updated_at?: string;
233
246
  };
234
247
  Relationships: [
248
+ {
249
+ foreignKeyName: "acq_contacts_client_id_fkey";
250
+ columns: ["client_id"];
251
+ isOneToOne: false;
252
+ referencedRelation: "clients";
253
+ referencedColumns: ["id"];
254
+ },
235
255
  {
236
256
  foreignKeyName: "acq_contacts_company_id_fkey";
237
257
  columns: ["company_id"];
@@ -475,8 +495,10 @@ type Database = {
475
495
  acq_deals: {
476
496
  Row: {
477
497
  activity_log: Json;
498
+ client_id: string | null;
478
499
  closed_lost_at: string | null;
479
500
  closed_lost_reason: string | null;
501
+ company_id: string | null;
480
502
  contact_email: string;
481
503
  contact_id: string | null;
482
504
  created_at: string;
@@ -512,8 +534,10 @@ type Database = {
512
534
  };
513
535
  Insert: {
514
536
  activity_log?: Json;
537
+ client_id?: string | null;
515
538
  closed_lost_at?: string | null;
516
539
  closed_lost_reason?: string | null;
540
+ company_id?: string | null;
517
541
  contact_email: string;
518
542
  contact_id?: string | null;
519
543
  created_at?: string;
@@ -549,8 +573,10 @@ type Database = {
549
573
  };
550
574
  Update: {
551
575
  activity_log?: Json;
576
+ client_id?: string | null;
552
577
  closed_lost_at?: string | null;
553
578
  closed_lost_reason?: string | null;
579
+ company_id?: string | null;
554
580
  contact_email?: string;
555
581
  contact_id?: string | null;
556
582
  created_at?: string;
@@ -585,6 +611,20 @@ type Database = {
585
611
  updated_at?: string;
586
612
  };
587
613
  Relationships: [
614
+ {
615
+ foreignKeyName: "acq_deals_client_id_fkey";
616
+ columns: ["client_id"];
617
+ isOneToOne: false;
618
+ referencedRelation: "clients";
619
+ referencedColumns: ["id"];
620
+ },
621
+ {
622
+ foreignKeyName: "acq_deals_company_id_fkey";
623
+ columns: ["company_id"];
624
+ isOneToOne: false;
625
+ referencedRelation: "acq_companies";
626
+ referencedColumns: ["id"];
627
+ },
588
628
  {
589
629
  foreignKeyName: "acq_deals_contact_id_fkey";
590
630
  columns: ["contact_id"];
@@ -1202,6 +1242,77 @@ type Database = {
1202
1242
  }
1203
1243
  ];
1204
1244
  };
1245
+ clients: {
1246
+ Row: {
1247
+ converted_at: string | null;
1248
+ created_at: string;
1249
+ id: string;
1250
+ metadata: Json;
1251
+ name: string;
1252
+ organization_id: string;
1253
+ primary_company_id: string | null;
1254
+ primary_contact_id: string | null;
1255
+ source_deal_id: string | null;
1256
+ status: string;
1257
+ updated_at: string;
1258
+ };
1259
+ Insert: {
1260
+ converted_at?: string | null;
1261
+ created_at?: string;
1262
+ id?: string;
1263
+ metadata?: Json;
1264
+ name: string;
1265
+ organization_id: string;
1266
+ primary_company_id?: string | null;
1267
+ primary_contact_id?: string | null;
1268
+ source_deal_id?: string | null;
1269
+ status?: string;
1270
+ updated_at?: string;
1271
+ };
1272
+ Update: {
1273
+ converted_at?: string | null;
1274
+ created_at?: string;
1275
+ id?: string;
1276
+ metadata?: Json;
1277
+ name?: string;
1278
+ organization_id?: string;
1279
+ primary_company_id?: string | null;
1280
+ primary_contact_id?: string | null;
1281
+ source_deal_id?: string | null;
1282
+ status?: string;
1283
+ updated_at?: string;
1284
+ };
1285
+ Relationships: [
1286
+ {
1287
+ foreignKeyName: "clients_organization_id_fkey";
1288
+ columns: ["organization_id"];
1289
+ isOneToOne: false;
1290
+ referencedRelation: "organizations";
1291
+ referencedColumns: ["id"];
1292
+ },
1293
+ {
1294
+ foreignKeyName: "clients_primary_company_id_fkey";
1295
+ columns: ["primary_company_id"];
1296
+ isOneToOne: false;
1297
+ referencedRelation: "acq_companies";
1298
+ referencedColumns: ["id"];
1299
+ },
1300
+ {
1301
+ foreignKeyName: "clients_primary_contact_id_fkey";
1302
+ columns: ["primary_contact_id"];
1303
+ isOneToOne: false;
1304
+ referencedRelation: "acq_contacts";
1305
+ referencedColumns: ["id"];
1306
+ },
1307
+ {
1308
+ foreignKeyName: "clients_source_deal_id_fkey";
1309
+ columns: ["source_deal_id"];
1310
+ isOneToOne: false;
1311
+ referencedRelation: "acq_deals";
1312
+ referencedColumns: ["id"];
1313
+ }
1314
+ ];
1315
+ };
1205
1316
  command_queue: {
1206
1317
  Row: {
1207
1318
  action_payload: Json | null;
@@ -2171,6 +2282,7 @@ type Database = {
2171
2282
  Row: {
2172
2283
  actual_end_date: string | null;
2173
2284
  client_company_id: string | null;
2285
+ client_id: string | null;
2174
2286
  contract_value: number | null;
2175
2287
  created_at: string;
2176
2288
  deal_id: string | null;
@@ -2188,6 +2300,7 @@ type Database = {
2188
2300
  Insert: {
2189
2301
  actual_end_date?: string | null;
2190
2302
  client_company_id?: string | null;
2303
+ client_id?: string | null;
2191
2304
  contract_value?: number | null;
2192
2305
  created_at?: string;
2193
2306
  deal_id?: string | null;
@@ -2205,6 +2318,7 @@ type Database = {
2205
2318
  Update: {
2206
2319
  actual_end_date?: string | null;
2207
2320
  client_company_id?: string | null;
2321
+ client_id?: string | null;
2208
2322
  contract_value?: number | null;
2209
2323
  created_at?: string;
2210
2324
  deal_id?: string | null;
@@ -2241,6 +2355,13 @@ type Database = {
2241
2355
  referencedRelation: "acq_companies";
2242
2356
  referencedColumns: ["id"];
2243
2357
  },
2358
+ {
2359
+ foreignKeyName: "prj_projects_client_id_fkey";
2360
+ columns: ["client_id"];
2361
+ isOneToOne: false;
2362
+ referencedRelation: "clients";
2363
+ referencedColumns: ["id"];
2364
+ },
2244
2365
  {
2245
2366
  foreignKeyName: "prj_projects_deal_id_fkey";
2246
2367
  columns: ["deal_id"];
@@ -2645,6 +2766,66 @@ type Database = {
2645
2766
  }
2646
2767
  ];
2647
2768
  };
2769
+ user_notes: {
2770
+ Row: {
2771
+ content: string;
2772
+ created_at: string;
2773
+ created_by: string;
2774
+ id: string;
2775
+ metadata: Json;
2776
+ organization_id: string | null;
2777
+ pinned: boolean;
2778
+ priority: string;
2779
+ source: string | null;
2780
+ title: string | null;
2781
+ updated_at: string;
2782
+ user_id: string;
2783
+ };
2784
+ Insert: {
2785
+ content: string;
2786
+ created_at?: string;
2787
+ created_by?: string;
2788
+ id?: string;
2789
+ metadata?: Json;
2790
+ organization_id?: string | null;
2791
+ pinned?: boolean;
2792
+ priority?: string;
2793
+ source?: string | null;
2794
+ title?: string | null;
2795
+ updated_at?: string;
2796
+ user_id: string;
2797
+ };
2798
+ Update: {
2799
+ content?: string;
2800
+ created_at?: string;
2801
+ created_by?: string;
2802
+ id?: string;
2803
+ metadata?: Json;
2804
+ organization_id?: string | null;
2805
+ pinned?: boolean;
2806
+ priority?: string;
2807
+ source?: string | null;
2808
+ title?: string | null;
2809
+ updated_at?: string;
2810
+ user_id?: string;
2811
+ };
2812
+ Relationships: [
2813
+ {
2814
+ foreignKeyName: "user_notes_organization_id_fkey";
2815
+ columns: ["organization_id"];
2816
+ isOneToOne: false;
2817
+ referencedRelation: "organizations";
2818
+ referencedColumns: ["id"];
2819
+ },
2820
+ {
2821
+ foreignKeyName: "user_notes_user_id_fkey";
2822
+ columns: ["user_id"];
2823
+ isOneToOne: false;
2824
+ referencedRelation: "users";
2825
+ referencedColumns: ["id"];
2826
+ }
2827
+ ];
2828
+ };
2648
2829
  users: {
2649
2830
  Row: {
2650
2831
  config: Json;
@@ -3007,26 +3188,36 @@ interface FeatureAccessResult {
3007
3188
  restrictedBy: RestrictionSource;
3008
3189
  }
3009
3190
 
3010
- type UseFeatureAccessHook = () => {
3011
- checkFeature: (featureKey: string) => FeatureAccessResult;
3191
+ type UseSystemAccessHook = () => {
3192
+ checkFeature: (systemKey: string) => FeatureAccessResult;
3012
3193
  isReady: boolean;
3013
3194
  };
3014
- interface FeatureGuardProps {
3015
- featureKey: string;
3195
+ interface SystemGuardProps {
3196
+ systemKey: string;
3197
+ children: React.ReactNode;
3198
+ deniedMessage?: string;
3199
+ /**
3200
+ * The `useFeatureAccess` hook instance to use for access resolution.
3201
+ * Must be created via `createFeatureAccessHook` from `@repo/ui/hooks`.
3202
+ */
3203
+ useFeatureAccess: UseSystemAccessHook;
3204
+ }
3205
+ interface SurfaceGuardProps {
3206
+ surfaceKey: string;
3016
3207
  children: React.ReactNode;
3017
3208
  deniedMessage?: string;
3018
3209
  /**
3019
- * The `useFeatureAccess` hook instance to use for feature flag resolution.
3210
+ * The `useFeatureAccess` hook instance to use for access resolution.
3020
3211
  * Must be created via `createFeatureAccessHook` from `@repo/ui/hooks`.
3021
3212
  */
3022
- useFeatureAccess: UseFeatureAccessHook;
3213
+ useFeatureAccess: UseSystemAccessHook;
3023
3214
  }
3024
3215
  /**
3025
- * Route guard that restricts access to a named feature.
3216
+ * Route guard that restricts access to a named system.
3026
3217
  *
3027
- * Reads feature flags from the provided `useFeatureAccess` hook instance
3218
+ * Reads system access from the provided `useFeatureAccess` hook instance
3028
3219
  * (created via `createFeatureAccessHook` from `@repo/ui/hooks`). When the
3029
- * feature is not allowed, shows a Mantine notification and redirects to '/'.
3220
+ * system is not allowed, shows a Mantine notification and redirects to '/'.
3030
3221
  *
3031
3222
  * The `restrictedBy === 'membership'` branch surfaces a personal access
3032
3223
  * denial message, while other restriction sources surface an org-level message.
@@ -3040,15 +3231,22 @@ interface FeatureGuardProps {
3040
3231
  * function MonitoringLayout() {
3041
3232
  * return (
3042
3233
  * <ProtectedRoute>
3043
- * <FeatureGuard featureKey="monitoring" useFeatureAccess={useFeatureAccess}>
3234
+ * <SystemGuard systemKey="monitoring" useFeatureAccess={useFeatureAccess}>
3044
3235
  * <Outlet />
3045
- * </FeatureGuard>
3236
+ * </SystemGuard>
3046
3237
  * </ProtectedRoute>
3047
3238
  * )
3048
3239
  * }
3049
3240
  * ```
3050
3241
  */
3051
- declare function FeatureGuard({ featureKey, children, deniedMessage, useFeatureAccess }: FeatureGuardProps): react_jsx_runtime.JSX.Element | null;
3242
+ declare function SystemGuard({ systemKey, children, deniedMessage, useFeatureAccess }: SystemGuardProps): react_jsx_runtime.JSX.Element | null;
3243
+ /**
3244
+ * Route guard for navigation-only app surfaces.
3245
+ *
3246
+ * Use this for shell areas such as Operations, Monitoring, Knowledge, Settings, and Admin
3247
+ * when they are not semantic Organization Model systems.
3248
+ */
3249
+ declare function SurfaceGuard({ surfaceKey, children, deniedMessage, useFeatureAccess }: SurfaceGuardProps): react_jsx_runtime.JSX.Element | null;
3052
3250
 
3053
3251
  type ApiRequestFn = <T>(endpoint: string, options?: RequestInit) => Promise<T>;
3054
3252
  interface UseUserProfileOptions {
@@ -3086,5 +3284,5 @@ interface UseUserProfileReturn {
3086
3284
  */
3087
3285
  declare const useUserProfile: (options?: UseUserProfileOptions) => UseUserProfileReturn;
3088
3286
 
3089
- export { AdminGuard, FeatureGuard, ProtectedRoute, useUserProfile };
3090
- export type { AdminGuardProps, FeatureGuardProps, ProtectedRouteProps, UseUserProfileReturn };
3287
+ export { AdminGuard, ProtectedRoute, SurfaceGuard, SystemGuard, useUserProfile };
3288
+ export type { AdminGuardProps, ProtectedRouteProps, SurfaceGuardProps, SystemGuardProps, UseUserProfileReturn };