@elevasis/ui 2.25.6 → 2.26.1

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 (105) hide show
  1. package/dist/api/index.js +2 -2
  2. package/dist/app/index.css +15 -5
  3. package/dist/app/index.d.ts +61 -14
  4. package/dist/app/index.js +6 -6
  5. package/dist/charts/index.js +6 -5
  6. package/dist/chunk-3MEXPLWT.js +265 -0
  7. package/dist/{chunk-BDKM56TP.js → chunk-4KTLOK7K.js} +1 -1
  8. package/dist/{chunk-KMAXFJPH.js → chunk-CW3UNAF2.js} +5 -409
  9. package/dist/{chunk-HKBEURCV.js → chunk-G26INIF3.js} +1 -1
  10. package/dist/{chunk-7F3IQMLI.js → chunk-G66QFZXD.js} +11 -214
  11. package/dist/{chunk-QIW6OCEI.js → chunk-HLFFKKT3.js} +27 -373
  12. package/dist/chunk-JDNEWB5F.js +10 -0
  13. package/dist/{chunk-L7D6KNHV.js → chunk-JKBGDFX2.js} +890 -749
  14. package/dist/{chunk-YRKQNPK2.js → chunk-JPGX3533.js} +4 -3
  15. package/dist/chunk-KEFWANZY.js +155 -0
  16. package/dist/chunk-LH4GPYDX.js +448 -0
  17. package/dist/{chunk-JXSBOG2R.js → chunk-LWKZ3BCC.js} +5 -4
  18. package/dist/chunk-MYEOTM7D.js +92 -0
  19. package/dist/chunk-OGXKOMUT.js +412 -0
  20. package/dist/chunk-OHXU5WWK.js +3731 -0
  21. package/dist/chunk-ONFKASZI.js +2004 -0
  22. package/dist/{chunk-U36X6NZM.js → chunk-RIFTUOPE.js} +2 -14
  23. package/dist/{chunk-T6INEVX6.js → chunk-SGS4CQ2B.js} +1 -1
  24. package/dist/{chunk-C7IBFI5B.js → chunk-UPMX5GJI.js} +5 -5
  25. package/dist/{chunk-ARJPZ66V.js → chunk-UY5I2KOZ.js} +208 -3124
  26. package/dist/chunk-W2ZTLH7Y.js +662 -0
  27. package/dist/{chunk-KNISO652.js → chunk-WUVR4QY6.js} +9 -9
  28. package/dist/{chunk-Q5BEODAT.js → chunk-X2SUMO3P.js} +2 -1
  29. package/dist/{chunk-SNHGSCKH.js → chunk-XBMCDGHA.js} +1 -1
  30. package/dist/{chunk-N55DVMAG.js → chunk-XQQEKWTL.js} +2 -6
  31. package/dist/{chunk-SBQ4MYQV.js → chunk-XZSEPJZQ.js} +5 -6
  32. package/dist/{chunk-CPAJXBTL.js → chunk-YHBPR67D.js} +490 -676
  33. package/dist/{chunk-QARSVM7Q.js → chunk-YO2YORW4.js} +4 -4
  34. package/dist/{chunk-TAIX4NO3.js → chunk-ZFLM2YVW.js} +2 -2
  35. package/dist/components/index.css +15 -5
  36. package/dist/components/index.d.ts +202 -383
  37. package/dist/components/index.js +43 -429
  38. package/dist/components/navigation/index.css +25 -15
  39. package/dist/execution/index.d.ts +0 -73
  40. package/dist/features/auth/index.css +25 -15
  41. package/dist/features/crm/index.css +25 -15
  42. package/dist/features/crm/index.d.ts +49 -49
  43. package/dist/features/crm/index.js +14 -15
  44. package/dist/features/dashboard/index.css +25 -15
  45. package/dist/features/dashboard/index.js +18 -16
  46. package/dist/features/delivery/index.css +15 -5
  47. package/dist/features/delivery/index.js +14 -15
  48. package/dist/features/knowledge/index.css +611 -0
  49. package/dist/features/knowledge/index.js +375 -72
  50. package/dist/features/lead-gen/index.css +25 -15
  51. package/dist/features/lead-gen/index.d.ts +60 -21
  52. package/dist/features/lead-gen/index.js +16 -16
  53. package/dist/features/monitoring/index.css +15 -5
  54. package/dist/features/monitoring/index.js +17 -17
  55. package/dist/features/monitoring/requests/index.css +25 -15
  56. package/dist/features/monitoring/requests/index.js +13 -14
  57. package/dist/features/operations/index.css +25 -15
  58. package/dist/features/operations/index.d.ts +16 -98
  59. package/dist/features/operations/index.js +26 -22
  60. package/dist/features/settings/index.css +25 -15
  61. package/dist/features/settings/index.d.ts +1 -0
  62. package/dist/features/settings/index.js +15 -16
  63. package/dist/hooks/delivery/index.css +25 -15
  64. package/dist/hooks/delivery/index.js +2 -2
  65. package/dist/hooks/index.css +15 -5
  66. package/dist/hooks/index.d.ts +172 -380
  67. package/dist/hooks/index.js +13 -14
  68. package/dist/hooks/published.css +15 -5
  69. package/dist/hooks/published.d.ts +172 -380
  70. package/dist/hooks/published.js +13 -14
  71. package/dist/index.css +15 -5
  72. package/dist/index.d.ts +988 -403
  73. package/dist/index.js +15 -15
  74. package/dist/initialization/index.d.ts +1 -0
  75. package/dist/knowledge/index.d.ts +981 -41
  76. package/dist/knowledge/index.js +5449 -294
  77. package/dist/layout/index.d.ts +2 -0
  78. package/dist/layout/index.js +3 -2
  79. package/dist/organization/index.css +25 -15
  80. package/dist/organization/index.d.ts +1 -0
  81. package/dist/provider/index.css +25 -15
  82. package/dist/provider/index.d.ts +818 -26
  83. package/dist/provider/index.js +11 -11
  84. package/dist/provider/published.css +25 -15
  85. package/dist/provider/published.d.ts +817 -25
  86. package/dist/provider/published.js +8 -9
  87. package/dist/test-utils/index.js +2 -2
  88. package/dist/test-utils/setup.js +1 -1
  89. package/dist/theme/index.js +3 -2
  90. package/dist/theme/presets/index.d.ts +97 -0
  91. package/dist/theme/presets/index.js +3 -0
  92. package/dist/types/index.d.ts +71 -126
  93. package/dist/utils/index.js +1 -1
  94. package/dist/vite/index.d.ts +7 -0
  95. package/dist/vite/index.js +10 -0
  96. package/dist/vite-plugin-knowledge/index.d.ts +1 -33
  97. package/dist/vite-plugin-knowledge/index.js +1 -66
  98. package/package.json +16 -3
  99. package/src/knowledge/README.md +8 -8
  100. package/src/theme/presets/README.md +19 -0
  101. package/dist/chunk-5RLYII6P.js +0 -314
  102. package/dist/chunk-6U7AIIHF.js +0 -880
  103. package/dist/chunk-HAEJ4M54.js +0 -94
  104. package/dist/chunk-LPM7O6XM.js +0 -293
  105. /package/dist/{chunk-SGXXJE52.js → chunk-QD4X4H5A.js} +0 -0
@@ -1,27 +1,30 @@
1
- import '../chunk-Q5BEODAT.js';
2
1
  import { useBreadcrumbs } from '../chunk-S66IQSSR.js';
3
- export { AllTasksPage, HealthStatusCard, MilestoneTimeline, ProjectDetailPage, ProjectsListPage, ProjectsSidebar, ProjectsSidebarMiddle, ProjectsSidebarTop, TaskCard, UpcomingMilestonesPage, calculateProgress, deliveryManifest, formatStatusLabel, milestoneStatusColors, noteTypeColors, projectStatusColors, taskStatusColors, taskTypeColors } from '../chunk-KNISO652.js';
4
- export { LEAD_GEN_ROUTE_LINKS, LeadGenCompaniesPage, LeadGenContactsPage, LeadGenListDetailPage, LeadGenListsPage, LeadGenOverviewPage, LeadGenRouteShell, LeadGenSidebar, LeadGenSidebarMiddle, LeadGenSidebarTop, TabSection, getEnrichmentColor, getStatusColor, leadGenManifest, useDeleteLists } from '../chunk-L7D6KNHV.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-ARJPZ66V.js';
6
- import '../chunk-N55DVMAG.js';
7
- import '../chunk-ZTWA5H77.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-WUVR4QY6.js';
4
+ export { LEAD_GEN_ROUTE_LINKS, LeadGenCompaniesPage, LeadGenContactsPage, LeadGenListDetailPage, LeadGenListsPage, LeadGenOverviewPage, LeadGenRouteShell, LeadGenSidebar, LeadGenSidebarMiddle, LeadGenSidebarTop, StepConfigForm, TabSection, getEnrichmentColor, getStatusColor, leadGenManifest, useDeleteLists } from '../chunk-JKBGDFX2.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-UY5I2KOZ.js';
8
6
  import '../chunk-ROSMICXG.js';
9
- import '../chunk-6U7AIIHF.js';
10
- import { BaseNode, useGraphTheme, BaseEdge, GraphBackground, GraphLegend, GraphFitViewButton } from '../chunk-7F3IQMLI.js';
11
- export { AgentExecutionTimeline, AgentExecutionVisualizer, AgentIterationEdge, AgentIterationNode, BaseEdge, BaseNode, EmptyVisualizer, ExecutionStats, ExecutionStatusBadge, FormFieldRenderer, GraphBackground, GraphContainer, GraphFitViewButton, GraphFitViewHandler, GraphLegend, RunResourceButton, TimelineAxis, TimelineBar, TimelineContainer, TimelineRow, UnifiedWorkflowEdge, UnifiedWorkflowGraph, UnifiedWorkflowNode, VisualizerContainer, WorkflowExecutionTimeline, ZodFormRenderer, getGraphBackgroundStyles, useGraphBackgroundStyles, useGraphTheme } from '../chunk-7F3IQMLI.js';
7
+ import '../chunk-OHXU5WWK.js';
8
+ import '../chunk-ZTWA5H77.js';
9
+ import '../chunk-JDNEWB5F.js';
10
+ import '../chunk-KEFWANZY.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-G66QFZXD.js';
12
13
  import '../chunk-ECNNI3NT.js';
13
- import '../chunk-BDKM56TP.js';
14
- import { NotificationList } from '../chunk-JXSBOG2R.js';
15
- export { ActivityCard, ActivityFilters as ActivityFiltersBar, ActivityTable, BusinessImpactCard, CostBreakdownCard, CostByModelTable, CostMetricsCard, ErrorAnalysisCard, ErrorBreakdownTable, ExecutionBreakdownTable, ExecutionHealthCard, ExecutionLogsFilters as ExecutionLogsFilterBar, ExecutionLogsTable, NotificationItem, NotificationList, monitoringManifest } from '../chunk-JXSBOG2R.js';
16
- export { ResourceHealthPanel } from '../chunk-QARSVM7Q.js';
14
+ import '../chunk-4KTLOK7K.js';
15
+ export { ZodFormRenderer } from '../chunk-3MEXPLWT.js';
16
+ import { NotificationList } from '../chunk-LWKZ3BCC.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-LWKZ3BCC.js';
18
+ export { ResourceHealthPanel } from '../chunk-YO2YORW4.js';
17
19
  export { ResourceHealthChart, getHealthColor } from '../chunk-LGKLC5MG.js';
18
- import '../chunk-KMAXFJPH.js';
20
+ import '../chunk-OGXKOMUT.js';
21
+ import '../chunk-CW3UNAF2.js';
19
22
  export { SEOSidebar, SEOSidebarMiddle, SEOSidebarTop, seoManifest } from '../chunk-DWK2QIAK.js';
20
- import { showAuthError } from '../chunk-C7IBFI5B.js';
21
- export { CreateCredentialModal, CredentialList, CredentialSettings, MembershipFeaturePanel, MembershipStatusBadge, OAuthConnectModal, OrganizationMembershipsList, WebhookUrlDisplayModal, settingsManifest, showAuthError } from '../chunk-C7IBFI5B.js';
23
+ import { showAuthError } from '../chunk-UPMX5GJI.js';
24
+ export { CreateCredentialModal, CredentialList, CredentialSettings, MembershipFeaturePanel, MembershipStatusBadge, OAuthConnectModal, OrganizationMembershipsList, WebhookUrlDisplayModal, settingsManifest, showAuthError } from '../chunk-UPMX5GJI.js';
22
25
  import { AppShellLoader } from '../chunk-RYTEQBAO.js';
23
- import { setDealReferrer, compareDealsByPriority } from '../chunk-SBQ4MYQV.js';
24
- 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-SBQ4MYQV.js';
26
+ import { setDealReferrer, compareDealsByPriority } from '../chunk-XZSEPJZQ.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-XZSEPJZQ.js';
25
28
  import '../chunk-BZZCNLT6.js';
26
29
  export { SortableHeader, TableSelectionToolbar } from '../chunk-TUMSNGTX.js';
27
30
  import '../chunk-X4WBGKJQ.js';
@@ -30,32 +33,31 @@ import { FilterBar } from '../chunk-PDHTXPSF.js';
30
33
  export { FilterBar } from '../chunk-PDHTXPSF.js';
31
34
  import { CustomModal } from '../chunk-KVJ3LFH2.js';
32
35
  export { ConfirmationInputModal, ConfirmationModal, CustomModal } from '../chunk-KVJ3LFH2.js';
33
- import '../chunk-SNHGSCKH.js';
36
+ import '../chunk-XBMCDGHA.js';
37
+ export { Graph_module_css_default as graphStyles } from '../chunk-22UVE3RA.js';
34
38
  export { CONTAINER_CONSTANTS, SHARED_VIZ_CONSTANTS } from '../chunk-E4WQGJNS.js';
35
39
  import '../chunk-7M2VOCYN.js';
36
- import { useCommandViewLayout, 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-CPAJXBTL.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-YHBPR67D.js';
37
41
  import '../chunk-VKMNWHTL.js';
38
- import { showSuccessNotification, showErrorNotification, showApiErrorNotification } from '../chunk-HKBEURCV.js';
39
- export { showApiErrorNotification, showErrorNotification, showInfoNotification, showSuccessNotification, showWarningNotification } from '../chunk-HKBEURCV.js';
42
+ import { showSuccessNotification, showErrorNotification, showApiErrorNotification } from '../chunk-G26INIF3.js';
43
+ export { showApiErrorNotification, showErrorNotification, showInfoNotification, showSuccessNotification, showWarningNotification } from '../chunk-G26INIF3.js';
40
44
  import '../chunk-BRXELOHC.js';
41
- import { Graph_module_css_default, useDirectedChainHighlighting, useNodeSelection, GRAPH_CONSTANTS } from '../chunk-22UVE3RA.js';
42
- export { Graph_module_css_default as graphStyles } from '../chunk-22UVE3RA.js';
43
45
  import '../chunk-3ZMAGTWF.js';
44
46
  import '../chunk-VMJVQAFZ.js';
45
- import '../chunk-YRKQNPK2.js';
46
- import '../chunk-QIW6OCEI.js';
47
+ import '../chunk-JPGX3533.js';
48
+ import '../chunk-LH4GPYDX.js';
49
+ import '../chunk-HLFFKKT3.js';
47
50
  import '../chunk-WLOQ4IBG.js';
48
- import '../chunk-TAIX4NO3.js';
49
- import { SubshellContentContainer } from '../chunk-TKAYX2SP.js';
50
- import { ListSkeleton, EmptyState, PageTitleCaption, StatCard, CenteredErrorState, CardHeader } from '../chunk-U36X6NZM.js';
51
- export { APIErrorAlert, ActivityTimeline, CardHeader, CenteredErrorState, CollapsibleSection, ContextViewer, CustomSelector, DetailCardSkeleton, EmptyState, FeatureUnavailableState, GlowDot, JsonViewer, ListSkeleton, PageNotFound, PageTitleCaption, ResourceCard, StatCard, StatCardSkeleton, StatsCardSkeleton, StatusBadge, TabCountBadge, TimeRangeSelector, TrendIndicator, catalogItemToResourceDefinition } from '../chunk-U36X6NZM.js';
52
- export { NavigationButton } from '../chunk-NYBEU5TE.js';
53
- import '../chunk-LPM7O6XM.js';
51
+ import '../chunk-ZFLM2YVW.js';
52
+ import { ListSkeleton, EmptyState, PageTitleCaption, StatCard, CenteredErrorState, CardHeader } from '../chunk-RIFTUOPE.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-RIFTUOPE.js';
54
+ export { StyledMarkdown } from '../chunk-3KMDHCAR.js';
55
+ import '../chunk-W2ZTLH7Y.js';
54
56
  export { ElevasisLoader } from '../chunk-SZHARWKU.js';
55
57
  import '../chunk-V3HUIZJX.js';
56
- export { StyledMarkdown } from '../chunk-3KMDHCAR.js';
57
- import '../chunk-5RLYII6P.js';
58
- import '../chunk-T6INEVX6.js';
58
+ import { SubshellContentContainer } from '../chunk-TKAYX2SP.js';
59
+ export { NavigationButton } from '../chunk-NYBEU5TE.js';
60
+ import '../chunk-SGS4CQ2B.js';
59
61
  import '../chunk-2IFYDILW.js';
60
62
  import { useRouterContext } from '../chunk-Q7DJKLEN.js';
61
63
  export { RoleBadge } from '../chunk-GESXCQWY.js';
@@ -64,7 +66,7 @@ import { useAppearance } from '../chunk-E565XMTQ.js';
64
66
  import '../chunk-KU7ZDWQ7.js';
65
67
  import '../chunk-DT3QYZVU.js';
66
68
  import '../chunk-RNP5R5I3.js';
67
- import { getResourceIcon, getResourceColor, formatDateTime, PAGE_SIZE_DEFAULT, formatTimeAgo } from '../chunk-SGXXJE52.js';
69
+ import { formatDateTime, PAGE_SIZE_DEFAULT, formatTimeAgo } from '../chunk-QD4X4H5A.js';
68
70
  import '../chunk-KRWALB24.js';
69
71
  import '../chunk-WFTNY755.js';
70
72
  import { useInitialization } from '../chunk-WKJ47GIW.js';
@@ -74,16 +76,14 @@ import { useElevasisServices } from '../chunk-5WWZXCS5.js';
74
76
  import '../chunk-BRJ3QZ4E.js';
75
77
  import '../chunk-I2KLQ2HA.js';
76
78
  import * as runtime from 'react/jsx-runtime';
77
- import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
78
- import { Stack, Group, ThemeIcon, Text, Badge, Box, Card, Title, Checkbox, Tooltip, Center, TextInput, Textarea, Loader, Alert, Button, Table, ActionIcon, Paper, Code, CopyButton, SimpleGrid, Pagination, SegmentedControl, Switch, Select, Divider, Menu, Timeline, Tabs, ScrollArea, Breadcrumbs as Breadcrumbs$1, Popover, Indicator } from '@mantine/core';
79
- import { IconBrain, IconDatabase, IconMessage, IconAlertCircle, IconCircleX, IconCircleCheck, IconBolt, IconHandClick, IconClock, IconWebhook, IconExternalLink, IconLock, IconPencil, IconKey, IconCalendar, IconTrash, IconAlertTriangle, IconExclamationMark, IconShieldLock, IconCheck, IconCopy, IconPlus, IconRocket, IconRefresh, IconPower, IconPlayerPlay, IconTag, IconCalendarRepeat, IconCalendarEvent, IconCalendarTime, IconRobot, IconGitBranch, IconSettings, IconDotsVertical, IconPlayerPause, IconPlayerStop, IconCalendarDue, IconCalendarStats, IconCalendarOff, IconListCheck, IconBell } from '@tabler/icons-react';
79
+ import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
80
+ import { Stack, Card, Title, Checkbox, Group, Text, Tooltip, Center, TextInput, Textarea, Loader, Alert, Button, Table, ActionIcon, Paper, Code, CopyButton, SimpleGrid, Badge, Pagination, SegmentedControl, Switch, Select, Divider, Menu, Timeline, ThemeIcon, Tabs, ScrollArea, Breadcrumbs as Breadcrumbs$1, Box, Popover, Indicator } from '@mantine/core';
81
+ import { IconLock, IconPencil, IconAlertCircle, IconKey, IconCalendar, IconClock, IconTrash, IconAlertTriangle, IconExclamationMark, IconShieldLock, IconCheck, IconCopy, IconPlus, IconRocket, IconRefresh, IconPower, IconPlayerPlay, IconCircleCheck, IconTag, IconCalendarRepeat, IconCalendarEvent, IconCalendarTime, IconRobot, IconGitBranch, IconSettings, IconExternalLink, IconDotsVertical, IconPlayerPause, IconPlayerStop, IconCalendarDue, IconCalendarStats, IconCalendarOff, IconListCheck, IconBell } from '@tabler/icons-react';
80
82
  import { useForm } from '@mantine/form';
81
- import { memo, forwardRef, useMemo, useImperativeHandle, useRef, useEffect, useState, useCallback, Component } from 'react';
83
+ import { useRef, useEffect, useState, useMemo, useCallback, Component } from 'react';
82
84
  import { z } from 'zod';
83
85
  import { useDisclosure } from '@mantine/hooks';
84
86
  import { useQueryClient, useQuery } from '@tanstack/react-query';
85
- import { useReactFlow, ReactFlow, ReactFlowProvider } from '@xyflow/react';
86
- import '@xyflow/react/dist/style.css';
87
87
  import { Link, RichTextEditor as RichTextEditor$1 } from '@mantine/tiptap';
88
88
  import { useEditor } from '@tiptap/react';
89
89
  import Placeholder from '@tiptap/extension-placeholder';
@@ -2263,392 +2263,6 @@ var TaskScheduler = () => {
2263
2263
  )
2264
2264
  ] });
2265
2265
  };
2266
- var triggerTypeIcons = {
2267
- webhook: IconWebhook,
2268
- schedule: IconClock,
2269
- manual: IconHandClick,
2270
- event: IconBolt
2271
- };
2272
- var connectionStatusIcons = {
2273
- connected: IconCircleCheck,
2274
- disconnected: IconCircleX,
2275
- error: IconAlertCircle
2276
- };
2277
- var statBubbleBase = {
2278
- minWidth: 20,
2279
- height: 20,
2280
- borderRadius: 10,
2281
- display: "flex",
2282
- alignItems: "center",
2283
- justifyContent: "center",
2284
- fontSize: 11,
2285
- fontWeight: 600,
2286
- padding: "0 6px",
2287
- color: "white",
2288
- boxShadow: "0 2px 4px rgba(0,0,0,0.2)"
2289
- };
2290
- var CommandViewNode = memo(function CommandViewNode2({ data, selected }) {
2291
- const Icon = getResourceIcon(data.type);
2292
- const color = getResourceColor(data.type);
2293
- const successCount = (data.type === "agent" || data.type === "workflow") && data.stats ? data.stats.successCount : 0;
2294
- const failureCount = (data.type === "agent" || data.type === "workflow") && data.stats ? data.stats.failureCount : 0;
2295
- const warningCount = (data.type === "agent" || data.type === "workflow") && data.stats ? data.stats.warningCount : 0;
2296
- const pendingCount = data.type === "human" && data.stats ? data.stats.pendingCount : 0;
2297
- const showBubbles = successCount > 0 || failureCount > 0 || warningCount > 0 || pendingCount > 0;
2298
- return /* @__PURE__ */ jsxs("div", { style: { position: "relative" }, children: [
2299
- showBubbles && /* @__PURE__ */ jsxs(
2300
- "div",
2301
- {
2302
- style: {
2303
- position: "absolute",
2304
- top: -8,
2305
- right: -8,
2306
- display: "flex",
2307
- gap: 4,
2308
- zIndex: 10
2309
- },
2310
- children: [
2311
- successCount > 0 && /* @__PURE__ */ jsx(
2312
- "div",
2313
- {
2314
- style: {
2315
- ...statBubbleBase,
2316
- background: "linear-gradient(135deg, var(--mantine-color-green-5), var(--mantine-color-green-7))"
2317
- },
2318
- children: successCount
2319
- }
2320
- ),
2321
- warningCount > 0 && /* @__PURE__ */ jsx(
2322
- "div",
2323
- {
2324
- style: {
2325
- ...statBubbleBase,
2326
- background: "linear-gradient(135deg, var(--mantine-color-yellow-5), var(--mantine-color-yellow-7))"
2327
- },
2328
- children: warningCount
2329
- }
2330
- ),
2331
- failureCount > 0 && /* @__PURE__ */ jsx(
2332
- "div",
2333
- {
2334
- style: {
2335
- ...statBubbleBase,
2336
- background: "linear-gradient(135deg, var(--mantine-color-red-5), var(--mantine-color-red-7))"
2337
- },
2338
- children: failureCount
2339
- }
2340
- ),
2341
- pendingCount > 0 && /* @__PURE__ */ jsx(
2342
- "div",
2343
- {
2344
- style: {
2345
- ...statBubbleBase,
2346
- background: "linear-gradient(135deg, var(--mantine-color-orange-5), var(--mantine-color-orange-7))"
2347
- },
2348
- children: pendingCount
2349
- }
2350
- )
2351
- ]
2352
- }
2353
- ),
2354
- /* @__PURE__ */ jsx(BaseNode, { color, selected, highlighted: Boolean(data.highlighted), children: /* @__PURE__ */ jsxs(Stack, { gap: 8, children: [
2355
- /* @__PURE__ */ jsxs(Group, { gap: "xs", wrap: "nowrap", children: [
2356
- /* @__PURE__ */ jsx(
2357
- ThemeIcon,
2358
- {
2359
- size: "md",
2360
- variant: "gradient",
2361
- gradient: { from: `${color}.4`, to: `${color}.6`, deg: 135 },
2362
- className: Graph_module_css_default.nodeIcon,
2363
- children: /* @__PURE__ */ jsx(Icon, { size: 16 })
2364
- }
2365
- ),
2366
- /* @__PURE__ */ jsx(Text, { size: "sm", fw: 600, truncate: true, style: { flex: 1, fontFamily: "var(--elevasis-font-family-subtitle)" }, children: data.name })
2367
- ] }),
2368
- /* @__PURE__ */ jsx(Text, { size: "xs", c: "dimmed", lineClamp: 2, children: data.description }),
2369
- /* @__PURE__ */ jsxs(Group, { gap: 4, wrap: "wrap", children: [
2370
- /* @__PURE__ */ jsx(
2371
- Badge,
2372
- {
2373
- size: "xs",
2374
- variant: "gradient",
2375
- gradient: data.status === "prod" ? { from: "green.5", to: "green.7", deg: 135 } : { from: "blue.5", to: "blue.7", deg: 135 },
2376
- className: data.status === "prod" ? Graph_module_css_default.badgeProd : "",
2377
- style: {
2378
- textTransform: "uppercase",
2379
- letterSpacing: "0.5px"
2380
- },
2381
- children: data.status
2382
- }
2383
- ),
2384
- data.type === "agent" && /* @__PURE__ */ jsxs(Fragment, { children: [
2385
- /* @__PURE__ */ jsxs(
2386
- Badge,
2387
- {
2388
- size: "xs",
2389
- variant: "outline",
2390
- color: "gray",
2391
- className: Graph_module_css_default.badge,
2392
- style: { backdropFilter: "blur(4px)" },
2393
- children: [
2394
- data.toolCount,
2395
- " tools"
2396
- ]
2397
- }
2398
- ),
2399
- data.hasKnowledgeMap && /* @__PURE__ */ jsx(
2400
- Badge,
2401
- {
2402
- size: "xs",
2403
- variant: "gradient",
2404
- gradient: { from: "grape.5", to: "grape.7", deg: 135 },
2405
- leftSection: /* @__PURE__ */ jsx(IconBrain, { size: 10 }),
2406
- className: Graph_module_css_default.badge,
2407
- children: "KM"
2408
- }
2409
- ),
2410
- data.hasMemory && /* @__PURE__ */ jsx(
2411
- Badge,
2412
- {
2413
- size: "xs",
2414
- variant: "gradient",
2415
- gradient: { from: "cyan.5", to: "cyan.7", deg: 135 },
2416
- leftSection: /* @__PURE__ */ jsx(IconDatabase, { size: 10 }),
2417
- className: Graph_module_css_default.badge,
2418
- children: "Mem"
2419
- }
2420
- ),
2421
- data.sessionCapable && /* @__PURE__ */ jsx(
2422
- Badge,
2423
- {
2424
- size: "xs",
2425
- variant: "gradient",
2426
- gradient: { from: "blue.5", to: "blue.7", deg: 135 },
2427
- leftSection: /* @__PURE__ */ jsx(IconMessage, { size: 10 }),
2428
- className: Graph_module_css_default.badge,
2429
- children: "Session"
2430
- }
2431
- )
2432
- ] }),
2433
- data.type === "workflow" && /* @__PURE__ */ jsxs(
2434
- Badge,
2435
- {
2436
- size: "xs",
2437
- variant: "outline",
2438
- color: "gray",
2439
- className: Graph_module_css_default.badge,
2440
- style: { backdropFilter: "blur(4px)" },
2441
- children: [
2442
- data.stepCount,
2443
- " steps"
2444
- ]
2445
- }
2446
- ),
2447
- data.type === "integration" && /* @__PURE__ */ jsx(
2448
- Badge,
2449
- {
2450
- size: "xs",
2451
- variant: "gradient",
2452
- gradient: data.connectionStatus === "connected" ? { from: "green.5", to: "green.7", deg: 135 } : data.connectionStatus === "error" ? { from: "red.5", to: "red.7", deg: 135 } : { from: "gray.5", to: "gray.7", deg: 135 },
2453
- leftSection: (() => {
2454
- const StatusIcon = connectionStatusIcons[data.connectionStatus];
2455
- return /* @__PURE__ */ jsx(StatusIcon, { size: 10 });
2456
- })(),
2457
- className: Graph_module_css_default.badge,
2458
- children: data.connectionStatus
2459
- }
2460
- ),
2461
- data.type === "trigger" && /* @__PURE__ */ jsx(
2462
- Badge,
2463
- {
2464
- size: "xs",
2465
- variant: "outline",
2466
- color: "gray",
2467
- leftSection: (() => {
2468
- const TriggerIcon = triggerTypeIcons[data.triggerType] || IconBolt;
2469
- return /* @__PURE__ */ jsx(TriggerIcon, { size: 10 });
2470
- })(),
2471
- className: Graph_module_css_default.badge,
2472
- style: { backdropFilter: "blur(4px)" },
2473
- children: data.triggerType
2474
- }
2475
- ),
2476
- data.type === "external" && /* @__PURE__ */ jsx(
2477
- Badge,
2478
- {
2479
- size: "xs",
2480
- variant: "outline",
2481
- color: "gray",
2482
- leftSection: /* @__PURE__ */ jsx(IconExternalLink, { size: 10 }),
2483
- className: Graph_module_css_default.badge,
2484
- style: { backdropFilter: "blur(4px)" },
2485
- children: data.platform
2486
- }
2487
- ),
2488
- data.type === "human" && /* @__PURE__ */ jsx(
2489
- Badge,
2490
- {
2491
- size: "xs",
2492
- variant: "gradient",
2493
- gradient: { from: "yellow.5", to: "orange.6", deg: 135 },
2494
- leftSection: /* @__PURE__ */ jsx(IconHandClick, { size: 10 }),
2495
- className: Graph_module_css_default.badge,
2496
- children: "Approval Required"
2497
- }
2498
- )
2499
- ] })
2500
- ] }) })
2501
- ] });
2502
- });
2503
- var relationshipColorMap = {
2504
- triggers: { color: "edgeTriggers", glow: "edgeTriggersGlow" },
2505
- uses: { color: "edgeUses", glow: "edgeUsesGlow" },
2506
- approval: { color: "edgeApproval", glow: "edgeApprovalGlow" }
2507
- };
2508
- function getEdgeColors(relationship, colors) {
2509
- const mapping = relationshipColorMap[relationship] ?? relationshipColorMap.approval;
2510
- return {
2511
- edgeColor: colors[mapping.color],
2512
- glowColor: colors[mapping.glow]
2513
- };
2514
- }
2515
- var CommandViewEdge = memo(function CommandViewEdge2({
2516
- id,
2517
- sourceX,
2518
- sourceY,
2519
- targetX,
2520
- targetY,
2521
- sourcePosition,
2522
- targetPosition,
2523
- data,
2524
- selected
2525
- }) {
2526
- const colors = useGraphTheme();
2527
- const relationship = data?.relationship || "uses";
2528
- const { edgeColor, glowColor } = getEdgeColors(relationship, colors);
2529
- return /* @__PURE__ */ jsx(
2530
- BaseEdge,
2531
- {
2532
- id,
2533
- sourceX,
2534
- sourceY,
2535
- targetX,
2536
- targetY,
2537
- sourcePosition,
2538
- targetPosition,
2539
- color: edgeColor,
2540
- glowColor,
2541
- label: data?.label || relationship,
2542
- animated: data?.animated ?? false,
2543
- selected,
2544
- dimmed: data?.dimmed,
2545
- edgeIndex: data?.edgeIndex,
2546
- totalEdges: data?.totalEdges
2547
- }
2548
- );
2549
- });
2550
- var nodeTypes = {
2551
- commandView: CommandViewNode
2552
- };
2553
- var edgeTypes = {
2554
- commandView: CommandViewEdge
2555
- };
2556
- var CommandViewGraphInner = forwardRef(function CommandViewGraphInner2({ graph, height, selectedNodeId, onNodeSelect }, ref) {
2557
- const { fitView } = useReactFlow();
2558
- const { nodes: layoutNodes, edges: layoutEdges } = useCommandViewLayout(graph);
2559
- const { nodes, edges, handleNodeMouseEnter, handleNodeMouseLeave } = useDirectedChainHighlighting(
2560
- layoutNodes,
2561
- layoutEdges,
2562
- { selectedNodeId }
2563
- );
2564
- const { handleNodeClick, handlePaneClick } = useNodeSelection(selectedNodeId ?? null, onNodeSelect ?? (() => {
2565
- }));
2566
- const nodesWithSelection = useMemo(
2567
- () => nodes.map((node) => ({
2568
- ...node,
2569
- selected: node.id === selectedNodeId
2570
- })),
2571
- [nodes, selectedNodeId]
2572
- );
2573
- useImperativeHandle(ref, () => ({
2574
- fitView: () => fitView({ padding: 0.15, duration: 300 })
2575
- }));
2576
- return /* @__PURE__ */ jsx(
2577
- Box,
2578
- {
2579
- className: `elevasis-graph-root ${Graph_module_css_default.graphContainer}`,
2580
- style: {
2581
- width: "100%",
2582
- height,
2583
- border: "1px solid var(--color-border)",
2584
- borderRadius: "var(--mantine-radius-default)",
2585
- overflow: "hidden"
2586
- },
2587
- children: /* @__PURE__ */ jsxs(
2588
- ReactFlow,
2589
- {
2590
- nodes: nodesWithSelection,
2591
- edges,
2592
- nodeTypes,
2593
- edgeTypes,
2594
- onNodeMouseEnter: handleNodeMouseEnter,
2595
- onNodeMouseLeave: handleNodeMouseLeave,
2596
- onNodeClick: onNodeSelect ? handleNodeClick : void 0,
2597
- onPaneClick: onNodeSelect ? handlePaneClick : void 0,
2598
- fitView: true,
2599
- fitViewOptions: { padding: 0.15 },
2600
- proOptions: { hideAttribution: true },
2601
- minZoom: GRAPH_CONSTANTS.MIN_ZOOM,
2602
- maxZoom: GRAPH_CONSTANTS.MAX_ZOOM,
2603
- nodesDraggable: false,
2604
- nodesConnectable: false,
2605
- elementsSelectable: !!onNodeSelect,
2606
- selectNodesOnDrag: false,
2607
- panOnDrag: true,
2608
- zoomOnScroll: true,
2609
- zoomOnPinch: true,
2610
- panOnScroll: false,
2611
- children: [
2612
- /* @__PURE__ */ jsx(GraphBackground, {}),
2613
- /* @__PURE__ */ jsx(
2614
- GraphLegend,
2615
- {
2616
- title: "",
2617
- position: "bottom-right",
2618
- items: [
2619
- { color: "orange", label: "Triggers" },
2620
- { color: "violet", label: "Agents" },
2621
- { color: "blue", label: "Workflows" },
2622
- { color: "teal", label: "Integrations" },
2623
- { color: "yellow", label: "Human" },
2624
- { color: "gray", label: "External" }
2625
- ]
2626
- }
2627
- ),
2628
- /* @__PURE__ */ jsx(
2629
- GraphLegend,
2630
- {
2631
- title: "",
2632
- position: "bottom-left",
2633
- items: [
2634
- { color: "blue", label: "Triggers", type: "line" },
2635
- { color: "teal", label: "Uses", type: "line" },
2636
- { color: "yellow", label: "Requires Approval", type: "line" }
2637
- ]
2638
- }
2639
- ),
2640
- /* @__PURE__ */ jsx(GraphFitViewButton, { padding: 0.15, variant: "mantine", duration: 300 })
2641
- ]
2642
- }
2643
- )
2644
- }
2645
- );
2646
- });
2647
- var CommandViewGraph = forwardRef(
2648
- function CommandViewGraph2(props, ref) {
2649
- return /* @__PURE__ */ jsx(ReactFlowProvider, { children: /* @__PURE__ */ jsx(CommandViewGraphInner, { ref, ...props }) });
2650
- }
2651
- );
2652
2266
  var tokens = {
2653
2267
  cardBg: "rgba(16, 16, 20, 0.92)",
2654
2268
  cardBorder: "rgba(255, 255, 255, 0.06)",
@@ -3611,4 +3225,4 @@ function NotificationBell({ unreadCount, onNavigate }) {
3611
3225
  ] });
3612
3226
  }
3613
3227
 
3614
- export { AbsoluteScheduleForm, ApiKeyDisplayModal, ApiKeyList, ApiKeySettings, AppErrorBoundary, Breadcrumbs, Can, CommandViewEdge, CommandViewGraph, CommandViewNode, CrashErrorFallback, CreateApiKeyModal, CreateRoleModal, CreateScheduleModal, DEAL_STAGES, DEFAULT_KANBAN_CONFIG, DealKanbanCard, DeleteScheduleModal, DeploymentDetailModal, DeploymentList, DeploymentSettings, DeploymentStatusBadge, EditApiKeyModal, ErrorReportCard, KanbanBoard, MdxRenderer, NoAccessState, NotificationBell, NotificationPanel, PermissionMatrix, RecurringScheduleForm, RelativeScheduleForm, RichTextEditor, ScheduleCard, ScheduleDetailModal, ScheduleTypeSelector, TaskScheduler, buildErrorReport, mdxComponents };
3228
+ export { AbsoluteScheduleForm, ApiKeyDisplayModal, ApiKeyList, ApiKeySettings, AppErrorBoundary, Breadcrumbs, Can, CrashErrorFallback, CreateApiKeyModal, CreateRoleModal, CreateScheduleModal, DEAL_STAGES, DEFAULT_KANBAN_CONFIG, DealKanbanCard, DeleteScheduleModal, DeploymentDetailModal, DeploymentList, DeploymentSettings, DeploymentStatusBadge, EditApiKeyModal, ErrorReportCard, KanbanBoard, MdxRenderer, NoAccessState, NotificationBell, NotificationPanel, PermissionMatrix, RecurringScheduleForm, RelativeScheduleForm, RichTextEditor, ScheduleCard, ScheduleDetailModal, ScheduleTypeSelector, TaskScheduler, buildErrorReport, mdxComponents };
@@ -138,14 +138,14 @@
138
138
  }
139
139
  .lead-gen-build-action-button:disabled,
140
140
  .lead-gen-build-action-button[data-disabled] {
141
- background-color: color-mix(in srgb, var(--mantine-color-gray-8) 48%, var(--color-surface) 52%) !important;
142
- border-color: color-mix(in srgb, var(--mantine-color-gray-8) 58%, var(--color-surface) 42%) !important;
141
+ background-color: var(--surface-primary-muted) !important;
142
+ border-color: var(--border-primary-subtle) !important;
143
143
  color: color-mix(in srgb, var(--color-text-subtle) 88%, var(--color-text-dimmed) 12%) !important;
144
144
  opacity: 0.78;
145
145
  }
146
146
  .lead-gen-build-action-button:disabled:hover,
147
147
  .lead-gen-build-action-button[data-disabled]:hover {
148
- background-color: color-mix(in srgb, var(--mantine-color-gray-8) 48%, var(--color-surface) 52%) !important;
148
+ background-color: var(--surface-primary-muted) !important;
149
149
  }
150
150
  .mantine-Accordion-control:hover {
151
151
  background-color: var(--color-surface-hover);
@@ -153,8 +153,18 @@
153
153
  .mantine-Menu-item:hover:not([data-disabled]) {
154
154
  background-color: var(--color-surface-hover);
155
155
  }
156
- .mantine-Select-option:hover {
157
- background-color: var(--color-surface-hover) !important;
156
+ .mantine-Select-option:hover,
157
+ .mantine-MultiSelect-option:hover,
158
+ .mantine-TagsInput-option:hover,
159
+ .mantine-Combobox-option:hover {
160
+ background-color: var(--surface-primary-muted) !important;
161
+ }
162
+ .mantine-Select-option[data-combobox-selected],
163
+ .mantine-MultiSelect-option[data-combobox-selected],
164
+ .mantine-TagsInput-option[data-combobox-selected],
165
+ .mantine-Combobox-option[data-combobox-selected] {
166
+ background-color: var(--surface-primary-subtle) !important;
167
+ color: var(--color-text);
158
168
  }
159
169
  [data-mantine-color-scheme=dark] .mantine-Tabs-root {
160
170
  --tab-border-color: var(--color-border);
@@ -216,6 +226,16 @@
216
226
  display: none;
217
227
  }
218
228
 
229
+ /* src/graph/Graph.globals.css */
230
+ .elevasis-graph-root .react-flow__node.selected,
231
+ .elevasis-graph-root .react-flow__node:focus,
232
+ .elevasis-graph-root .react-flow__node:focus-visible {
233
+ outline: none !important;
234
+ }
235
+ .elevasis-graph-root .react-flow__node.selected > * {
236
+ box-shadow: none;
237
+ }
238
+
219
239
  /* src/graph/Graph.module.css */
220
240
  @keyframes edgeFlow {
221
241
  0% {
@@ -589,13 +609,3 @@
589
609
  transform: none;
590
610
  }
591
611
  }
592
-
593
- /* src/graph/Graph.globals.css */
594
- .elevasis-graph-root .react-flow__node.selected,
595
- .elevasis-graph-root .react-flow__node:focus,
596
- .elevasis-graph-root .react-flow__node:focus-visible {
597
- outline: none !important;
598
- }
599
- .elevasis-graph-root .react-flow__node.selected > * {
600
- box-shadow: none;
601
- }