@elevasis/ui 2.25.0 → 2.25.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 (101) hide show
  1. package/dist/app/index.css +11 -0
  2. package/dist/app/index.d.ts +457 -357
  3. package/dist/app/index.js +8 -7
  4. package/dist/auth/index.js +4 -4
  5. package/dist/charts/index.js +7 -7
  6. package/dist/{chunk-DDZOHLHB.js → chunk-26HQMR7S.js} +1 -1
  7. package/dist/{chunk-ZMXZ476Y.js → chunk-3AHEHVJ6.js} +3 -3
  8. package/dist/{chunk-LJWV4TWV.js → chunk-4ZFBVND2.js} +2 -2
  9. package/dist/{chunk-7D2HSSIW.js → chunk-7LJUTTXU.js} +5 -5
  10. package/dist/{chunk-ABV5LDDC.js → chunk-AZQY7AJR.js} +13 -24
  11. package/dist/{chunk-BIWHHWCJ.js → chunk-DWK2QIAK.js} +2 -1
  12. package/dist/{chunk-ZDKQNQ4X.js → chunk-GESXCQWY.js} +1 -1
  13. package/dist/{chunk-Z6FAH4XV.js → chunk-HKBEURCV.js} +1 -1
  14. package/dist/{chunk-HC2KV6BU.js → chunk-HOIT677G.js} +1 -1
  15. package/dist/chunk-IS53MXE4.js +230 -0
  16. package/dist/{chunk-WSC5LU3U.js → chunk-IX7LWINC.js} +6 -5
  17. package/dist/{chunk-AXXTN44Z.js → chunk-IYIZYMIE.js} +2 -2
  18. package/dist/{chunk-WWVSPOJY.js → chunk-JDQSCEEF.js} +1237 -642
  19. package/dist/{chunk-AZXSFDG2.js → chunk-JMI7L7Y7.js} +113 -63
  20. package/dist/{chunk-TSSKOQBX.js → chunk-KMAXFJPH.js} +2 -2
  21. package/dist/{chunk-HQ7M6PBW.js → chunk-KU7ZDWQ7.js} +1 -1
  22. package/dist/{chunk-ZGZZIR6K.js → chunk-L4RT57WU.js} +7 -7
  23. package/dist/{chunk-LK4MPIMK.js → chunk-MU4VPAMR.js} +2 -2
  24. package/dist/{chunk-3JCMO7SD.js → chunk-N55DVMAG.js} +1 -1
  25. package/dist/{chunk-EIOJNUPL.js → chunk-PNLJIPV5.js} +1 -1
  26. package/dist/{chunk-6Z3G4U2R.js → chunk-Q5BEODAT.js} +3 -2
  27. package/dist/{chunk-HVC2BTFO.js → chunk-QB2CC4VH.js} +1979 -257
  28. package/dist/{chunk-QJLRDTYS.js → chunk-RSG2O3HF.js} +932 -707
  29. package/dist/{chunk-M25JL54Z.js → chunk-RYTEQBAO.js} +1 -1
  30. package/dist/{chunk-XUYBOO32.js → chunk-U36X6NZM.js} +15 -7
  31. package/dist/{chunk-QSTH6T77.js → chunk-VKMNWHTL.js} +1 -1
  32. package/dist/{chunk-V3UOW2HG.js → chunk-VOVZLL23.js} +4 -4
  33. package/dist/{chunk-SLH2QLKV.js → chunk-WFTNY755.js} +1 -1
  34. package/dist/{chunk-DK2HVHCY.js → chunk-WKJ47GIW.js} +1 -1
  35. package/dist/chunk-X4WBGKJQ.js +138 -0
  36. package/dist/{chunk-QHSW4WHM.js → chunk-XTVZFT7U.js} +1 -1
  37. package/dist/components/index.css +11 -0
  38. package/dist/components/index.d.ts +478 -386
  39. package/dist/components/index.js +138 -336
  40. package/dist/components/navigation/index.css +11 -0
  41. package/dist/components/navigation/index.js +8 -8
  42. package/dist/features/auth/index.css +11 -0
  43. package/dist/features/auth/index.d.ts +369 -363
  44. package/dist/features/auth/index.js +7 -7
  45. package/dist/features/crm/index.css +11 -0
  46. package/dist/features/crm/index.d.ts +551 -360
  47. package/dist/features/crm/index.js +19 -19
  48. package/dist/features/dashboard/index.css +11 -0
  49. package/dist/features/dashboard/index.js +20 -20
  50. package/dist/features/delivery/index.css +11 -0
  51. package/dist/features/delivery/index.d.ts +363 -357
  52. package/dist/features/delivery/index.js +19 -19
  53. package/dist/features/lead-gen/index.css +11 -0
  54. package/dist/features/lead-gen/index.d.ts +160 -2
  55. package/dist/features/lead-gen/index.js +20 -19
  56. package/dist/features/monitoring/index.css +11 -0
  57. package/dist/features/monitoring/index.js +21 -21
  58. package/dist/features/monitoring/requests/index.css +11 -0
  59. package/dist/features/monitoring/requests/index.js +17 -17
  60. package/dist/features/operations/index.css +11 -0
  61. package/dist/features/operations/index.js +24 -23
  62. package/dist/features/seo/index.js +2 -2
  63. package/dist/features/settings/index.css +11 -0
  64. package/dist/features/settings/index.d.ts +369 -363
  65. package/dist/features/settings/index.js +19 -19
  66. package/dist/hooks/delivery/index.css +11 -0
  67. package/dist/hooks/delivery/index.d.ts +363 -357
  68. package/dist/hooks/delivery/index.js +2 -2
  69. package/dist/hooks/index.css +11 -0
  70. package/dist/hooks/index.d.ts +746 -399
  71. package/dist/hooks/index.js +17 -17
  72. package/dist/hooks/published.css +11 -0
  73. package/dist/hooks/published.d.ts +746 -399
  74. package/dist/hooks/published.js +17 -17
  75. package/dist/index.css +11 -0
  76. package/dist/index.d.ts +862 -381
  77. package/dist/index.js +17 -17
  78. package/dist/initialization/index.d.ts +369 -363
  79. package/dist/initialization/index.js +4 -4
  80. package/dist/layout/index.d.ts +6 -0
  81. package/dist/layout/index.js +5 -5
  82. package/dist/organization/index.css +11 -0
  83. package/dist/organization/index.js +4 -4
  84. package/dist/profile/index.d.ts +369 -363
  85. package/dist/profile/index.js +2 -2
  86. package/dist/provider/ElevasisServiceContext.d.ts +1 -0
  87. package/dist/provider/ElevasisServiceContext.js +1 -1
  88. package/dist/provider/index.css +11 -0
  89. package/dist/provider/index.d.ts +503 -362
  90. package/dist/provider/index.js +14 -14
  91. package/dist/provider/published.css +11 -0
  92. package/dist/provider/published.d.ts +494 -359
  93. package/dist/provider/published.js +12 -12
  94. package/dist/supabase/index.d.ts +369 -357
  95. package/dist/test-utils/index.js +1 -1
  96. package/dist/typeform/index.js +49 -20
  97. package/dist/types/index.d.ts +382 -363
  98. package/package.json +4 -4
  99. package/dist/chunk-CEWTOKE7.js +0 -109
  100. /package/dist/{chunk-IRW7JMQ4.js → chunk-5WWZXCS5.js} +0 -0
  101. /package/dist/{chunk-QJ2KCHKX.js → chunk-E565XMTQ.js} +0 -0
package/dist/app/index.js CHANGED
@@ -1,17 +1,17 @@
1
- import { ElevasisUIProvider } from '../chunk-LK4MPIMK.js';
1
+ import { ElevasisUIProvider } from '../chunk-MU4VPAMR.js';
2
2
  import '../chunk-QIW6OCEI.js';
3
3
  import '../chunk-WLOQ4IBG.js';
4
- import '../chunk-AZXSFDG2.js';
4
+ import '../chunk-JMI7L7Y7.js';
5
5
  import '../chunk-SZHARWKU.js';
6
6
  import '../chunk-T6INEVX6.js';
7
- import '../chunk-HC2KV6BU.js';
8
- import '../chunk-QJ2KCHKX.js';
7
+ import '../chunk-HOIT677G.js';
8
+ import '../chunk-E565XMTQ.js';
9
9
  import '../chunk-SGXXJE52.js';
10
10
  import '../chunk-KRWALB24.js';
11
- import { useInitialization } from '../chunk-DK2HVHCY.js';
11
+ import { useInitialization } from '../chunk-WKJ47GIW.js';
12
12
  import '../chunk-DD3CCMCZ.js';
13
- import '../chunk-QHSW4WHM.js';
14
- import '../chunk-IRW7JMQ4.js';
13
+ import '../chunk-XTVZFT7U.js';
14
+ import '../chunk-5WWZXCS5.js';
15
15
  import '../chunk-BRJ3QZ4E.js';
16
16
  import '../chunk-I2KLQ2HA.js';
17
17
  import { useCallback, useEffect } from 'react';
@@ -59,6 +59,7 @@ function AppWithStore({ config }) {
59
59
  apiUrl: config.apiUrl,
60
60
  onError: config.onApiError ? handleApiError : void 0,
61
61
  crmActions: config.crmActions,
62
+ listActions: config.listActions,
62
63
  children: /* @__PURE__ */ jsx(AuthenticatedApp, { config })
63
64
  }
64
65
  );
@@ -1,7 +1,7 @@
1
- export { AdminGuard, ProtectedRoute, useSessionCheck as useRefocusSessionCheck, useSessionCheck, useStableAccessToken } from '../chunk-SLH2QLKV.js';
2
- import '../chunk-DK2HVHCY.js';
1
+ export { AdminGuard, ProtectedRoute, useSessionCheck as useRefocusSessionCheck, useSessionCheck, useStableAccessToken } from '../chunk-WFTNY755.js';
2
+ import '../chunk-WKJ47GIW.js';
3
3
  import '../chunk-DD3CCMCZ.js';
4
- import '../chunk-QHSW4WHM.js';
5
- import '../chunk-IRW7JMQ4.js';
4
+ import '../chunk-XTVZFT7U.js';
5
+ import '../chunk-5WWZXCS5.js';
6
6
  export { AuthProvider, useAuthContext } from '../chunk-BRJ3QZ4E.js';
7
7
  import '../chunk-I2KLQ2HA.js';
@@ -1,6 +1,6 @@
1
- export { ActivityTrendChart, ChartFrame, CombinedTrendChart, CostTrendChart, CyberAreaChart, CyberDonut, CyberDonutTooltip, CyberLegendItem, HeroStatsRow, getSeriesColor, useCyberColors } from '../chunk-TSSKOQBX.js';
2
- import '../chunk-QSTH6T77.js';
3
- import '../chunk-XUYBOO32.js';
1
+ export { ActivityTrendChart, ChartFrame, CombinedTrendChart, CostTrendChart, CyberAreaChart, CyberDonut, CyberDonutTooltip, CyberLegendItem, HeroStatsRow, getSeriesColor, useCyberColors } from '../chunk-KMAXFJPH.js';
2
+ import '../chunk-VKMNWHTL.js';
3
+ import '../chunk-U36X6NZM.js';
4
4
  import '../chunk-SZHARWKU.js';
5
5
  import '../chunk-3KMDHCAR.js';
6
6
  import '../chunk-NYBEU5TE.js';
@@ -9,10 +9,10 @@ import '../chunk-Q7DJKLEN.js';
9
9
  import '../chunk-DT3QYZVU.js';
10
10
  import '../chunk-SGXXJE52.js';
11
11
  import '../chunk-KRWALB24.js';
12
- import '../chunk-SLH2QLKV.js';
13
- import '../chunk-DK2HVHCY.js';
12
+ import '../chunk-WFTNY755.js';
13
+ import '../chunk-WKJ47GIW.js';
14
14
  import '../chunk-DD3CCMCZ.js';
15
- import '../chunk-QHSW4WHM.js';
16
- import '../chunk-IRW7JMQ4.js';
15
+ import '../chunk-XTVZFT7U.js';
16
+ import '../chunk-5WWZXCS5.js';
17
17
  import '../chunk-BRJ3QZ4E.js';
18
18
  import '../chunk-I2KLQ2HA.js';
@@ -1,4 +1,4 @@
1
- import { useOptionalElevasisFeatures } from './chunk-LJWV4TWV.js';
1
+ import { useOptionalElevasisFeatures } from './chunk-4ZFBVND2.js';
2
2
  import { useRouterContext } from './chunk-Q7DJKLEN.js';
3
3
  import { useMemo } from 'react';
4
4
 
@@ -1,6 +1,6 @@
1
- import { useCyberColors, CyberLegendItem, CyberAreaChart } from './chunk-TSSKOQBX.js';
2
- import { useResourcesHealth } from './chunk-QJLRDTYS.js';
3
- import { CardHeader, EmptyState } from './chunk-XUYBOO32.js';
1
+ import { useCyberColors, CyberLegendItem, CyberAreaChart } from './chunk-KMAXFJPH.js';
2
+ import { useResourcesHealth } from './chunk-RSG2O3HF.js';
3
+ import { CardHeader, EmptyState } from './chunk-U36X6NZM.js';
4
4
  import { getTimeRangeDates, formatBucketTime } from './chunk-SGXXJE52.js';
5
5
  import { Paper, Center, Loader, Group } from '@mantine/core';
6
6
  import { IconActivity, IconChartBar } from '@tabler/icons-react';
@@ -1,4 +1,4 @@
1
- import { useInitialization } from './chunk-DK2HVHCY.js';
1
+ import { useInitialization } from './chunk-WKJ47GIW.js';
2
2
  import { useOrganization } from './chunk-DD3CCMCZ.js';
3
3
  import { createContext, useMemo, useCallback, useContext } from 'react';
4
4
  import { jsx } from 'react/jsx-runtime';
@@ -123,11 +123,11 @@ function validateManifests(manifests, organizationModel) {
123
123
  );
124
124
  }
125
125
  }
126
+ var ElevasisFeaturesContext = createContext(null);
126
127
  var useFeatureAccess = createFeatureAccessHook({
127
128
  useInitialization,
128
129
  useOrganization
129
130
  });
130
- var ElevasisFeaturesContext = createContext(null);
131
131
  function useElevasisFeatures() {
132
132
  const context = useContext(ElevasisFeaturesContext);
133
133
  if (!context) {
@@ -1,14 +1,14 @@
1
1
  import { ResourceHealthChart } from './chunk-LGKLC5MG.js';
2
- import { useCyberColors, HeroStatsRow } from './chunk-TSSKOQBX.js';
3
- import { AppShellCenteredContainer, AppShellLoader } from './chunk-M25JL54Z.js';
2
+ import { useCyberColors, HeroStatsRow } from './chunk-KMAXFJPH.js';
3
+ import { AppShellCenteredContainer, AppShellLoader } from './chunk-RYTEQBAO.js';
4
4
  import { STATUS_COLORS, getStatusIcon, formatDuration, getStatusColors, AGENT_CONSTANTS, shouldAnimateEdge, TIMELINE_CONSTANTS, calculateBarPosition, CONTAINER_CONSTANTS, useExecutionPath, useUnifiedWorkflowLayout, WORKFLOW_CONSTANTS, useReactFlowAgent } from './chunk-E4WQGJNS.js';
5
- import { useExecuteResource, useDashboardMetrics, useResources, useTimeRangeDates, useUnresolvedErrors, useRecentExecutionsByResource, useCommandQueue, useScheduledTasks, useResourcesHealth } from './chunk-QJLRDTYS.js';
5
+ import { useExecuteResource, useDashboardMetrics, useResources, useTimeRangeDates, useUnresolvedErrors, useRecentExecutionsByResource, useCommandQueue, useScheduledTasks, useResourcesHealth } from './chunk-RSG2O3HF.js';
6
6
  import { Graph_module_css_default, useDirectedChainHighlighting, useNodeSelection, useFitViewTrigger } from './chunk-22UVE3RA.js';
7
7
  import { glassBase } from './chunk-QIW6OCEI.js';
8
- import { GlowDot, CardHeader, EmptyState, PageTitleCaption, TabCountBadge } from './chunk-XUYBOO32.js';
8
+ import { GlowDot, CardHeader, EmptyState, PageTitleCaption, TabCountBadge } from './chunk-U36X6NZM.js';
9
9
  import { formatTimeAgo, getTimeRangeDates, formatRelativeTime } from './chunk-SGXXJE52.js';
10
10
  import { ResourceStatusColors } from './chunk-KRWALB24.js';
11
- import { useInitialization } from './chunk-DK2HVHCY.js';
11
+ import { useInitialization } from './chunk-WKJ47GIW.js';
12
12
  import { memo, useMemo, useEffect, useState, useCallback, Fragment } from 'react';
13
13
  import { Paper, Stack, Text, Group, Badge, Box, useComputedColorScheme, Card, ActionIcon, Loader, SegmentedControl, TextInput, Textarea, Radio, Checkbox, Select, NumberInput, Button, Modal, Center, SimpleGrid, Title, Tabs, Grid, ThemeIcon } from '@mantine/core';
14
14
  import { jsxs, jsx, Fragment as Fragment$1 } from 'react/jsx-runtime';
@@ -1,29 +1,30 @@
1
1
  import { ChatHeader, ChatSidebar } from './chunk-ROSMICXG.js';
2
- import { SubshellSidebarLoader, SubshellLoader } from './chunk-3JCMO7SD.js';
3
- import { BaseNode, useGraphTheme, BaseEdge, FormFieldRenderer, ExecutionStats, UnifiedWorkflowGraph, WorkflowExecutionTimeline, AgentExecutionVisualizer, AgentExecutionTimeline, GraphBackground, GraphFitViewButton, GraphFitViewHandler } from './chunk-7D2HSSIW.js';
4
- import { ResourceHealthPanel } from './chunk-ZMXZ476Y.js';
5
- import { useCyberColors, CyberDonut } from './chunk-TSSKOQBX.js';
6
- import { AppShellLoader } from './chunk-M25JL54Z.js';
2
+ import { SubshellSidebarLoader, SubshellLoader } from './chunk-N55DVMAG.js';
3
+ import { BaseNode, useGraphTheme, BaseEdge, FormFieldRenderer, ExecutionStats, UnifiedWorkflowGraph, WorkflowExecutionTimeline, AgentExecutionVisualizer, AgentExecutionTimeline, GraphBackground, GraphFitViewButton, GraphFitViewHandler } from './chunk-7LJUTTXU.js';
4
+ import { OrganizationModelProspectingSchema } from './chunk-IS53MXE4.js';
5
+ import { ResourceHealthPanel } from './chunk-3AHEHVJ6.js';
6
+ import { useCyberColors, CyberDonut } from './chunk-KMAXFJPH.js';
7
+ import { AppShellLoader } from './chunk-RYTEQBAO.js';
7
8
  import { PageContainer } from './chunk-BZZCNLT6.js';
8
9
  import { SubshellSidebarSection } from './chunk-IIMU5YAJ.js';
9
10
  import { CustomModal, ConfirmationModal } from './chunk-KVJ3LFH2.js';
10
11
  import { getResourceStatusColor, useTimelineData, useAgentIterationData, getStatusIcon } from './chunk-E4WQGJNS.js';
11
- import { useErrorDetail, useExecution, useArchivedLogs, useDeleteExecution, useRetryExecution, useCancelExecution, useCommandQueueTotals, useStatusFilter, useResourceSearch, useResourcesDomainFilters, usePaginationState, useResources, useRecentExecutionsByResource, filterByDomainFilters, collectResourceFilterFacets, useExecuteAsync, useResourceDefinition, isSessionCapable, useDeleteTask, useCommandQueue, useSubmitAction, useCommandViewData, useCommandViewStats, useCommandViewStore, useResourceExecutions, useCheckpointTasks, COMMAND_VIEW_VISUALIZATION_MODES, useExecutionPanelState, useDeleteSession, useCreateSession, useSessions, useSessionExecutions, useSession, useBulkDeleteExecutions, getCommandViewGraphPositions } from './chunk-QJLRDTYS.js';
12
- import { showApiErrorNotification, showSuccessNotification } from './chunk-Z6FAH4XV.js';
12
+ import { useErrorDetail, useExecution, useArchivedLogs, useDeleteExecution, useRetryExecution, useCancelExecution, useCommandQueueTotals, useStatusFilter, useResourceSearch, useResourcesDomainFilters, usePaginationState, useResources, useRecentExecutionsByResource, filterByDomainFilters, collectResourceFilterFacets, useExecuteAsync, useResourceDefinition, isSessionCapable, useDeleteTask, useCommandQueue, useSubmitAction, useCommandViewData, useCommandViewStats, useCommandViewStore, useResourceExecutions, useCheckpointTasks, COMMAND_VIEW_VISUALIZATION_MODES, useExecutionPanelState, useDeleteSession, useCreateSession, useSessions, useSessionExecutions, useSession, useBulkDeleteExecutions, getCommandViewGraphPositions } from './chunk-RSG2O3HF.js';
13
+ import { showApiErrorNotification, showSuccessNotification } from './chunk-HKBEURCV.js';
13
14
  import { useGraphHighlighting, calculateGraphHeight, Graph_module_css_default, GRAPH_CONSTANTS } from './chunk-22UVE3RA.js';
14
15
  import { useMergedExecution } from './chunk-3ZMAGTWF.js';
15
- import { LabelSchema, ColorTokenSchema, IconNameSchema, PathSchema, DescriptionSchema, DisplayMetadataSchema, ModelIdSchema, ReferenceIdsSchema, OrganizationModelSalesSchema } from './chunk-AZXSFDG2.js';
16
- import { useOptionalElevasisFeatures, useElevasisFeatures } from './chunk-LJWV4TWV.js';
16
+ import { LabelSchema, ColorTokenSchema, IconNameSchema, PathSchema, DescriptionSchema, DisplayMetadataSchema, ModelIdSchema, ReferenceIdsSchema, OrganizationModelSalesSchema } from './chunk-JMI7L7Y7.js';
17
+ import { useOptionalElevasisFeatures, useElevasisFeatures } from './chunk-4ZFBVND2.js';
17
18
  import { SubshellContentContainer } from './chunk-TKAYX2SP.js';
18
- import { JsonViewer, CardHeader, PageTitleCaption, CollapsibleSection, TabCountBadge, ResourceCard, ContextViewer, EmptyState, APIErrorAlert } from './chunk-XUYBOO32.js';
19
+ import { JsonViewer, CardHeader, PageTitleCaption, CollapsibleSection, TabCountBadge, ResourceCard, ContextViewer, EmptyState, APIErrorAlert } from './chunk-U36X6NZM.js';
19
20
  import { StyledMarkdown } from './chunk-3KMDHCAR.js';
20
21
  import { NavigationButton } from './chunk-NYBEU5TE.js';
21
22
  import { useRouterContext } from './chunk-Q7DJKLEN.js';
22
- import { useAppearance } from './chunk-QJ2KCHKX.js';
23
+ import { useAppearance } from './chunk-E565XMTQ.js';
23
24
  import { topbarHeight } from './chunk-DT3QYZVU.js';
24
25
  import { getErrorInfo, formatErrorMessage, getResourceIcon, formatRelativeTime, getNodeId, PAGE_SIZE_DEFAULT, debounce } from './chunk-SGXXJE52.js';
25
26
  import { ResourceStatusColors, toWorkflowLogMessages } from './chunk-KRWALB24.js';
26
- import { useInitialization } from './chunk-DK2HVHCY.js';
27
+ import { useInitialization } from './chunk-WKJ47GIW.js';
27
28
  import { useOrganization } from './chunk-DD3CCMCZ.js';
28
29
  import { z } from 'zod';
29
30
  import { Stack, Group, Text, Badge, Title, Textarea, Alert, Button, ActionIcon, Collapse, Card, ThemeIcon, SimpleGrid, Divider, Paper, Space, CopyButton, Center, Tooltip, Code, Menu, useMantineTheme, UnstyledButton, Select, RangeSlider, Box, Progress, Tabs, Pagination, TextInput, Modal, LoadingOverlay, Loader, SegmentedControl, ScrollArea, Checkbox, NumberInput, MultiSelect, Switch } from '@mantine/core';
@@ -78,18 +79,6 @@ var OrganizationModelProjectsSchema = z.object({
78
79
  milestoneStatuses: z.array(ProjectsDomainStateSchema).min(1),
79
80
  taskStatuses: z.array(ProjectsDomainStateSchema).min(1)
80
81
  });
81
- var ProspectingLifecycleStageSchema = DisplayMetadataSchema.extend({
82
- id: ModelIdSchema,
83
- order: z.number().int().min(0)
84
- });
85
- var OrganizationModelProspectingSchema = z.object({
86
- listEntityId: ModelIdSchema,
87
- companyEntityId: ModelIdSchema,
88
- contactEntityId: ModelIdSchema,
89
- description: DescriptionSchema.optional(),
90
- companyStages: z.array(ProspectingLifecycleStageSchema).min(1),
91
- contactStages: z.array(ProspectingLifecycleStageSchema).min(1)
92
- });
93
82
  var SurfaceTypeSchema = z.enum(["page", "dashboard", "graph", "detail", "list", "settings"]);
94
83
  var SurfaceDefinitionSchema = z.object({
95
84
  id: ModelIdSchema,
@@ -1,4 +1,4 @@
1
- import { SubshellNavItem } from './chunk-CEWTOKE7.js';
1
+ import { SubshellNavItem } from './chunk-X4WBGKJQ.js';
2
2
  import { SubshellSidebarSection } from './chunk-IIMU5YAJ.js';
3
3
  import { useRouterContext } from './chunk-Q7DJKLEN.js';
4
4
  import { Stack } from '@mantine/core';
@@ -22,6 +22,7 @@ var SEOSidebarMiddle = () => {
22
22
  icon: item.icon,
23
23
  label: item.label,
24
24
  isActive,
25
+ href: item.to,
25
26
  onClick: () => navigate(item.to)
26
27
  },
27
28
  item.to
@@ -1,5 +1,5 @@
1
1
  import { useOrganization } from './chunk-DD3CCMCZ.js';
2
- import { useUserProfile } from './chunk-QHSW4WHM.js';
2
+ import { useUserProfile } from './chunk-XTVZFT7U.js';
3
3
  import { useAuthContext } from './chunk-BRJ3QZ4E.js';
4
4
  import { useState, useRef, useEffect, useCallback } from 'react';
5
5
  import { Badge, Group, Button, Loader, Menu, Text } from '@mantine/core';
@@ -1,5 +1,5 @@
1
1
  import { getErrorInfo, formatErrorMessage, getErrorTitle } from './chunk-SGXXJE52.js';
2
- import { useElevasisServices } from './chunk-IRW7JMQ4.js';
2
+ import { useElevasisServices } from './chunk-5WWZXCS5.js';
3
3
  import { useQuery, useQueryClient, useMutation } from '@tanstack/react-query';
4
4
  import { notifications } from '@mantine/notifications';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { OrganizationContext } from './chunk-DD3CCMCZ.js';
2
- import { useProfile } from './chunk-QHSW4WHM.js';
2
+ import { useProfile } from './chunk-XTVZFT7U.js';
3
3
  import { useAuthContext } from './chunk-BRJ3QZ4E.js';
4
4
  import { useState, useRef, useEffect, useCallback, createElement } from 'react';
5
5
  import { useQueryClient } from '@tanstack/react-query';
@@ -0,0 +1,230 @@
1
+ import { DisplayMetadataSchema, ModelIdSchema, DescriptionSchema } from './chunk-JMI7L7Y7.js';
2
+ import { z } from 'zod';
3
+
4
+ var ProspectingLifecycleStageSchema = DisplayMetadataSchema.extend({
5
+ id: ModelIdSchema,
6
+ order: z.number().int().min(0)
7
+ });
8
+ var ProspectingBuildTemplateStepSchema = DisplayMetadataSchema.extend({
9
+ id: ModelIdSchema,
10
+ primaryEntity: z.enum(["company", "contact"]),
11
+ outputs: z.array(z.enum(["company", "contact", "export"])).min(1),
12
+ stageKey: ModelIdSchema,
13
+ dependsOn: z.array(ModelIdSchema).optional(),
14
+ dependencyMode: z.literal("per-record-eligibility"),
15
+ capabilityKey: ModelIdSchema,
16
+ defaultBatchSize: z.number().int().positive(),
17
+ maxBatchSize: z.number().int().positive()
18
+ }).refine((step) => step.defaultBatchSize <= step.maxBatchSize, {
19
+ message: "defaultBatchSize must be less than or equal to maxBatchSize",
20
+ path: ["defaultBatchSize"]
21
+ });
22
+ var ProspectingBuildTemplateSchema = DisplayMetadataSchema.extend({
23
+ id: ModelIdSchema,
24
+ steps: z.array(ProspectingBuildTemplateStepSchema).min(1)
25
+ });
26
+ var OrganizationModelProspectingSchema = z.object({
27
+ listEntityId: ModelIdSchema,
28
+ companyEntityId: ModelIdSchema,
29
+ contactEntityId: ModelIdSchema,
30
+ description: DescriptionSchema.optional(),
31
+ companyStages: z.array(ProspectingLifecycleStageSchema).min(1),
32
+ contactStages: z.array(ProspectingLifecycleStageSchema).min(1),
33
+ defaultBuildTemplateId: ModelIdSchema,
34
+ buildTemplates: z.array(ProspectingBuildTemplateSchema).min(1)
35
+ });
36
+ var DEFAULT_ORGANIZATION_MODEL_PROSPECTING = {
37
+ listEntityId: "leadgen.list",
38
+ companyEntityId: "leadgen.company",
39
+ contactEntityId: "leadgen.contact",
40
+ companyStages: [
41
+ { id: "populated", label: "Populated", order: 1 },
42
+ { id: "extracted", label: "Extracted", order: 2 },
43
+ { id: "qualified", label: "Qualified", order: 3 }
44
+ ],
45
+ contactStages: [
46
+ { id: "discovered", label: "Discovered", order: 1 },
47
+ { id: "verified", label: "Verified", order: 2 },
48
+ { id: "personalized", label: "Personalized", order: 3 },
49
+ { id: "uploaded", label: "Uploaded", order: 4 }
50
+ ],
51
+ defaultBuildTemplateId: "local-services",
52
+ buildTemplates: [
53
+ {
54
+ id: "local-services",
55
+ label: "Local Services Prospecting",
56
+ description: "Curated local-services list build using company sourcing, website analysis, qualification, contact discovery, verification, personalization, and review.",
57
+ steps: [
58
+ {
59
+ id: "source-companies",
60
+ label: "Source companies",
61
+ primaryEntity: "company",
62
+ outputs: ["company"],
63
+ stageKey: "populated",
64
+ dependencyMode: "per-record-eligibility",
65
+ capabilityKey: "lead-gen.company.source",
66
+ defaultBatchSize: 100,
67
+ maxBatchSize: 250
68
+ },
69
+ {
70
+ id: "analyze-websites",
71
+ label: "Analyze websites",
72
+ primaryEntity: "company",
73
+ outputs: ["company"],
74
+ stageKey: "extracted",
75
+ dependsOn: ["source-companies"],
76
+ dependencyMode: "per-record-eligibility",
77
+ capabilityKey: "lead-gen.company.website-extract",
78
+ defaultBatchSize: 50,
79
+ maxBatchSize: 100
80
+ },
81
+ {
82
+ id: "qualify-companies",
83
+ label: "Qualify companies",
84
+ primaryEntity: "company",
85
+ outputs: ["company"],
86
+ stageKey: "qualified",
87
+ dependsOn: ["analyze-websites"],
88
+ dependencyMode: "per-record-eligibility",
89
+ capabilityKey: "lead-gen.company.qualify",
90
+ defaultBatchSize: 100,
91
+ maxBatchSize: 250
92
+ },
93
+ {
94
+ id: "find-contacts",
95
+ label: "Find contacts",
96
+ primaryEntity: "contact",
97
+ outputs: ["contact"],
98
+ stageKey: "discovered",
99
+ dependsOn: ["qualify-companies"],
100
+ dependencyMode: "per-record-eligibility",
101
+ capabilityKey: "lead-gen.contact.discover",
102
+ defaultBatchSize: 50,
103
+ maxBatchSize: 100
104
+ },
105
+ {
106
+ id: "verify-emails",
107
+ label: "Verify emails",
108
+ primaryEntity: "contact",
109
+ outputs: ["contact"],
110
+ stageKey: "verified",
111
+ dependsOn: ["find-contacts"],
112
+ dependencyMode: "per-record-eligibility",
113
+ capabilityKey: "lead-gen.contact.verify-email",
114
+ defaultBatchSize: 100,
115
+ maxBatchSize: 500
116
+ },
117
+ {
118
+ id: "personalize",
119
+ label: "Personalize",
120
+ primaryEntity: "contact",
121
+ outputs: ["contact"],
122
+ stageKey: "personalized",
123
+ dependsOn: ["verify-emails"],
124
+ dependencyMode: "per-record-eligibility",
125
+ capabilityKey: "lead-gen.contact.personalize",
126
+ defaultBatchSize: 25,
127
+ maxBatchSize: 100
128
+ },
129
+ {
130
+ id: "review",
131
+ label: "Review",
132
+ primaryEntity: "contact",
133
+ outputs: ["export"],
134
+ stageKey: "uploaded",
135
+ dependsOn: ["personalize"],
136
+ dependencyMode: "per-record-eligibility",
137
+ capabilityKey: "lead-gen.review.outreach-ready",
138
+ defaultBatchSize: 25,
139
+ maxBatchSize: 100
140
+ }
141
+ ]
142
+ },
143
+ {
144
+ id: "dtc-subscription-apollo-clickup",
145
+ label: "DTC Subscription Apollo Export",
146
+ description: "Prospecting pipeline for DTC subscription or subscription-ready brands where Apollo is the source and contact-enrichment layer, Elevasis handles company research and fit scoring, and approved leads export as an approved lead list.",
147
+ steps: [
148
+ {
149
+ id: "import-apollo-search",
150
+ label: "Import Apollo search",
151
+ description: "Pull companies and seed contact data from a predefined Apollo search or list.",
152
+ primaryEntity: "company",
153
+ outputs: ["company", "contact"],
154
+ stageKey: "populated",
155
+ dependencyMode: "per-record-eligibility",
156
+ capabilityKey: "lead-gen.company.apollo-import",
157
+ defaultBatchSize: 250,
158
+ maxBatchSize: 1e3
159
+ },
160
+ {
161
+ id: "analyze-websites",
162
+ label: "Analyze websites",
163
+ description: "Extract subscription, product, retention, and tech-stack signals from each brand website.",
164
+ primaryEntity: "company",
165
+ outputs: ["company"],
166
+ stageKey: "extracted",
167
+ dependsOn: ["import-apollo-search"],
168
+ dependencyMode: "per-record-eligibility",
169
+ capabilityKey: "lead-gen.company.website-extract",
170
+ defaultBatchSize: 50,
171
+ maxBatchSize: 100
172
+ },
173
+ {
174
+ id: "score-dtc-fit",
175
+ label: "Score DTC fit",
176
+ description: "Classify subscription potential, consumable-product fit, retention maturity, and disqualifiers.",
177
+ primaryEntity: "company",
178
+ outputs: ["company"],
179
+ stageKey: "qualified",
180
+ dependsOn: ["analyze-websites"],
181
+ dependencyMode: "per-record-eligibility",
182
+ capabilityKey: "lead-gen.company.dtc-subscription-qualify",
183
+ defaultBatchSize: 100,
184
+ maxBatchSize: 250
185
+ },
186
+ {
187
+ id: "enrich-decision-makers",
188
+ label: "Enrich decision-makers",
189
+ description: "Use Apollo to find qualified contacts such as founders, retention leads, lifecycle leads, and marketing owners.",
190
+ primaryEntity: "contact",
191
+ outputs: ["contact"],
192
+ stageKey: "discovered",
193
+ dependsOn: ["score-dtc-fit"],
194
+ dependencyMode: "per-record-eligibility",
195
+ capabilityKey: "lead-gen.contact.apollo-decision-maker-enrich",
196
+ defaultBatchSize: 100,
197
+ maxBatchSize: 250
198
+ },
199
+ {
200
+ id: "verify-emails",
201
+ label: "Verify emails",
202
+ description: "Verify deliverability before the QC and handoff step.",
203
+ primaryEntity: "contact",
204
+ outputs: ["contact"],
205
+ stageKey: "verified",
206
+ dependsOn: ["enrich-decision-makers"],
207
+ dependencyMode: "per-record-eligibility",
208
+ capabilityKey: "lead-gen.contact.verify-email",
209
+ defaultBatchSize: 250,
210
+ maxBatchSize: 500
211
+ },
212
+ {
213
+ id: "review-and-export",
214
+ label: "Review and export",
215
+ description: "Operator QC approves or rejects leads, then approved records are exported as a lead list.",
216
+ primaryEntity: "company",
217
+ outputs: ["export"],
218
+ stageKey: "uploaded",
219
+ dependsOn: ["verify-emails"],
220
+ dependencyMode: "per-record-eligibility",
221
+ capabilityKey: "lead-gen.export.list",
222
+ defaultBatchSize: 100,
223
+ maxBatchSize: 250
224
+ }
225
+ ]
226
+ }
227
+ ]
228
+ };
229
+
230
+ export { DEFAULT_ORGANIZATION_MODEL_PROSPECTING, OrganizationModelProspectingSchema };
@@ -1,17 +1,17 @@
1
1
  import { PROJECTS_VIEW_CAPABILITY_ID, PROJECTS_FEATURE_ID } from './chunk-442LZPIR.js';
2
2
  import { PageContainer } from './chunk-BZZCNLT6.js';
3
3
  import { TableSelectionToolbar, SortableHeader } from './chunk-TUMSNGTX.js';
4
- import { SubshellNavItem } from './chunk-CEWTOKE7.js';
4
+ import { SubshellNavItem } from './chunk-X4WBGKJQ.js';
5
5
  import { SubshellSidebarSection } from './chunk-IIMU5YAJ.js';
6
6
  import { FilterBar } from './chunk-PDHTXPSF.js';
7
7
  import { CustomModal } from './chunk-KVJ3LFH2.js';
8
- import { useProjectRealtime, useTableSort, sortData, usePaginationState, useTableSelection, useProjectActivities } from './chunk-QJLRDTYS.js';
9
- import { useCreateTask, useCreateMilestone, useProjectMilestones, useUpdateTask, useProjects, useDeleteProject, useProject, useProjectNotes, useUpdateMilestone, useCreateNote, showApiErrorNotification, projectKeys } from './chunk-Z6FAH4XV.js';
8
+ import { useProjectRealtime, useTableSort, sortData, usePaginationState, useTableSelection, useProjectActivities } from './chunk-RSG2O3HF.js';
9
+ import { useCreateTask, useCreateMilestone, useProjectMilestones, useUpdateTask, useProjects, useDeleteProject, useProject, useProjectNotes, useUpdateMilestone, useCreateNote, showApiErrorNotification, projectKeys } from './chunk-HKBEURCV.js';
10
10
  import { SubshellContentContainer } from './chunk-TKAYX2SP.js';
11
- import { StatusBadge, EmptyState, PageTitleCaption, CenteredErrorState, StatCard, CardHeader } from './chunk-XUYBOO32.js';
11
+ import { StatusBadge, EmptyState, PageTitleCaption, CenteredErrorState, StatCard, CardHeader } from './chunk-U36X6NZM.js';
12
12
  import { useRouterContext } from './chunk-Q7DJKLEN.js';
13
13
  import { PAGE_SIZE_DEFAULT, formatTimeAgo, formatDate, formatRelativeTime } from './chunk-SGXXJE52.js';
14
- import { useElevasisServices } from './chunk-IRW7JMQ4.js';
14
+ import { useElevasisServices } from './chunk-5WWZXCS5.js';
15
15
  import { useState, useMemo, useCallback } from 'react';
16
16
  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';
17
17
  import { IconNotes, IconBriefcase, IconChecklist, IconFlag, IconX, IconPlus, IconHeartbeat, IconFileText, IconCalendar, IconInbox, IconLock, IconAlertTriangle, IconCircleCheck, IconClock, IconChevronDown, IconChevronRight, IconDownload, IconListCheck, IconMessageCircle, IconSearch, IconCheck, IconCopy, IconFileDescription, IconArrowLeft, IconCurrencyDollar, IconBuilding } from '@tabler/icons-react';
@@ -518,6 +518,7 @@ var ProjectsSidebarMiddle = ({
518
518
  icon: item.icon,
519
519
  label: item.label,
520
520
  isActive,
521
+ href: item.to,
521
522
  onClick: () => resolvedNavigate(item.to)
522
523
  },
523
524
  item.to
@@ -1,6 +1,6 @@
1
- import { useElevasisFeatures } from './chunk-LJWV4TWV.js';
1
+ import { useElevasisFeatures } from './chunk-4ZFBVND2.js';
2
2
  import { SubshellContainer, SubshellSidebar, SubshellRightSideContainer } from './chunk-TKAYX2SP.js';
3
- import { FeatureUnavailableState } from './chunk-XUYBOO32.js';
3
+ import { FeatureUnavailableState } from './chunk-U36X6NZM.js';
4
4
  import { useRouterContext } from './chunk-Q7DJKLEN.js';
5
5
  import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
6
6