@elevasis/ui 2.82.0 → 2.83.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.
- package/dist/api/index.d.ts +2 -2
- package/dist/api/index.js +3 -3
- package/dist/app/index.d.ts +38 -3710
- package/dist/app/index.js +10 -10
- package/dist/auth/index.d.ts +2 -3
- package/dist/auth/index.js +4 -4
- package/dist/charts/index.d.ts +10 -10
- package/dist/charts/index.js +4 -4
- package/dist/{chunk-ZG3DARVR.js → chunk-2WXFPHBV.js} +1 -1
- package/dist/{chunk-I2JOA54D.js → chunk-34YVWPW6.js} +1 -1
- package/dist/{chunk-5WNRTDEZ.js → chunk-4ILZBLQY.js} +1 -1
- package/dist/{chunk-PTB575MP.js → chunk-6DWWZXLS.js} +5 -5
- package/dist/{chunk-LTRJZOHA.js → chunk-7D6ZLLOZ.js} +1 -1
- package/dist/chunk-BIKD5UUM.js +386 -0
- package/dist/{chunk-HOX4CMYY.js → chunk-CEP5A55J.js} +1 -1
- package/dist/{chunk-4TEVJRKQ.js → chunk-CUJBF3X6.js} +1 -1
- package/dist/{chunk-PNCJJE4Z.js → chunk-DRTC7LRG.js} +1 -1
- package/dist/{chunk-ROC2TFPS.js → chunk-EEONAV4R.js} +2 -2
- package/dist/{chunk-HDITVHZT.js → chunk-EHWHG6PW.js} +2 -2
- package/dist/{chunk-7RS2NUC6.js → chunk-IR7HVER2.js} +1 -1
- package/dist/{chunk-ELQLU323.js → chunk-IYY27OLF.js} +5 -5
- package/dist/{chunk-PV64XFZY.js → chunk-JCETE623.js} +1 -1
- package/dist/{chunk-TCVMLAMC.js → chunk-JJCY23X3.js} +2 -2
- package/dist/{chunk-6NIGO2LD.js → chunk-JPQNXH4X.js} +3 -3
- package/dist/{chunk-3OQVXI4C.js → chunk-JXS2LDGN.js} +2 -2
- package/dist/{chunk-G6VHIXWD.js → chunk-KQ2YSAXL.js} +1 -1
- package/dist/{chunk-XHJBDW2S.js → chunk-LACAXGZK.js} +1 -1
- package/dist/{chunk-ZYIGD2QY.js → chunk-LKM32PP6.js} +3 -3
- package/dist/{chunk-PJN6CMWZ.js → chunk-LKZV5TDL.js} +1 -1
- package/dist/{chunk-TAGPVICO.js → chunk-MZXUISBI.js} +11 -12
- package/dist/{chunk-KQTI4RZN.js → chunk-N5O5OYLB.js} +8 -8
- package/dist/{chunk-VTUVB3J3.js → chunk-OC7TYJ75.js} +1 -1
- package/dist/{chunk-AA257QZO.js → chunk-PQEGQ63N.js} +8 -9
- package/dist/{chunk-ER2HBKS7.js → chunk-QQ3JCEN2.js} +5 -5
- package/dist/{chunk-3PQMF4RP.js → chunk-U727JFPK.js} +3 -3
- package/dist/{chunk-DEZW7QDI.js → chunk-VFWOUD3M.js} +31 -2
- package/dist/{chunk-M5CRPFJA.js → chunk-VGHYGEPR.js} +62 -4
- package/dist/{chunk-GH3UY2FM.js → chunk-WYFNXCDJ.js} +4 -4
- package/dist/{chunk-RKTFFLVV.js → chunk-XYRMUHWN.js} +1 -1
- package/dist/{chunk-OWAEBFWH.js → chunk-YZ47UWV5.js} +1 -1
- package/dist/{chunk-4C4IFMRP.js → chunk-YZ5Q34MK.js} +11 -6
- package/dist/{chunk-2S5477QR.js → chunk-ZS3BJLOJ.js} +9 -9
- package/dist/components/chat/index.d.ts +4 -5
- package/dist/components/index.d.ts +210 -198
- package/dist/components/index.js +38 -39
- package/dist/components/navigation/index.js +5 -5
- package/dist/execution/index.d.ts +2 -2
- package/dist/features/auth/index.d.ts +6 -6
- package/dist/features/auth/index.js +6 -6
- package/dist/features/clients/index.d.ts +11 -11
- package/dist/features/clients/index.js +7 -7
- package/dist/features/content/index.d.ts +36 -24
- package/dist/features/content/index.js +7 -7
- package/dist/features/crm/index.d.ts +29 -17
- package/dist/features/crm/index.js +9 -10
- package/dist/features/dashboard/index.d.ts +12 -6
- package/dist/features/dashboard/index.js +6 -6
- package/dist/features/delivery/index.d.ts +13 -13
- package/dist/features/delivery/index.js +17 -17
- package/dist/features/knowledge/index.js +4 -4
- package/dist/features/lead-gen/index.d.ts +40 -26
- package/dist/features/lead-gen/index.js +10 -11
- package/dist/features/monitoring/index.d.ts +8 -8
- package/dist/features/monitoring/index.js +8 -8
- package/dist/features/monitoring/requests/index.d.ts +10 -10
- package/dist/features/monitoring/requests/index.js +6 -6
- package/dist/features/notes/index.d.ts +7 -7
- package/dist/features/operations/index.d.ts +42 -30
- package/dist/features/operations/index.js +11 -11
- package/dist/features/public-agent-chat/index.d.ts +3 -3
- package/dist/features/right-panel-host/index.d.ts +3 -3
- package/dist/features/seo/index.d.ts +7 -7
- package/dist/features/seo/index.js +7 -7
- package/dist/features/settings/index.d.ts +13 -13
- package/dist/features/settings/index.js +7 -7
- package/dist/hooks/access/index.js +4 -4
- package/dist/hooks/delivery/index.js +3 -3
- package/dist/hooks/published.d.ts +19 -5
- package/dist/hooks/published.js +15 -15
- package/dist/knowledge/index.d.ts +34 -22
- package/dist/knowledge/index.js +9 -9
- package/dist/layout/index.d.ts +48 -48
- package/dist/layout/index.js +8 -8
- package/dist/organization/index.d.ts +2 -3
- package/dist/provider/ElevasisServiceContext.d.ts +1 -2
- package/dist/provider/index.d.ts +65 -3735
- package/dist/provider/index.js +4 -4
- package/dist/provider/published.d.ts +50 -3721
- package/dist/provider/published.js +4 -4
- package/dist/router/index.d.ts +2 -3
- package/dist/test-utils/index.d.ts +4 -4
- package/dist/test-utils/index.js +3 -3
- package/dist/types/index.d.ts +6 -0
- package/dist/utils/index.d.ts +6 -0
- package/dist/utils/index.js +1 -1
- package/package.json +5 -5
- package/dist/chunk-3RYXJS2F.js +0 -231
- package/dist/chunk-NQSZ4UGG.js +0 -200
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OrganizationContext } from './chunk-DD3CCMCZ.js';
|
|
2
|
-
import { APIClientError } from './chunk-
|
|
2
|
+
import { APIClientError } from './chunk-VFWOUD3M.js';
|
|
3
3
|
import { createContext, useContext, useMemo, useCallback } from 'react';
|
|
4
4
|
import { jsx } from 'react/jsx-runtime';
|
|
5
5
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { useProjectRealtime, useProjectActivities } from './chunk-
|
|
2
|
-
import { useCreateTask, useCreateMilestone, useProjectMilestones, useUpdateTask, useProjects, useDeleteProject, useProject, useProjectNotes, useUpdateMilestone, useCreateNote } from './chunk-
|
|
1
|
+
import { useProjectRealtime, useProjectActivities } from './chunk-N5O5OYLB.js';
|
|
2
|
+
import { useCreateTask, useCreateMilestone, useProjectMilestones, useUpdateTask, useProjects, useDeleteProject, useProject, useProjectNotes, useUpdateMilestone, useCreateNote } from './chunk-EHWHG6PW.js';
|
|
3
3
|
import { useTableSort, sortData } from './chunk-2Y6AKWGU.js';
|
|
4
4
|
import { useTableSelection } from './chunk-WDBNW44Z.js';
|
|
5
5
|
import { milestoneStatusColors, formatStatusLabel, taskTypeColors, taskStatusColors, projectStatusColors, calculateProgress, noteTypeColors } from './chunk-DLR4SDZW.js';
|
|
6
|
-
import { SubshellPageLayout } from './chunk-
|
|
6
|
+
import { SubshellPageLayout } from './chunk-LACAXGZK.js';
|
|
7
7
|
import { PageContainer } from './chunk-BZZCNLT6.js';
|
|
8
8
|
import { TableSelectionToolbar, SortableHeader } from './chunk-TUMSNGTX.js';
|
|
9
9
|
import { FilterBar } from './chunk-PDHTXPSF.js';
|
|
10
|
-
import { StatusBadge, EmptyState, SubshellSidebarSection, PageTitleCaption, usePaginationState, SubshellContentContainer, CenteredErrorState, CustomModal, StatCard, SubshellNavItem } from './chunk-
|
|
10
|
+
import { StatusBadge, EmptyState, SubshellSidebarSection, PageTitleCaption, usePaginationState, SubshellContentContainer, CenteredErrorState, CustomModal, StatCard, SubshellNavItem } from './chunk-VGHYGEPR.js';
|
|
11
11
|
import { CardHeader } from './chunk-62GVNH5U.js';
|
|
12
|
-
import { PAGE_SIZE_DEFAULT, formatTimeAgo, formatDate, formatRelativeTime } from './chunk-
|
|
12
|
+
import { PAGE_SIZE_DEFAULT, formatTimeAgo, formatDate, formatRelativeTime } from './chunk-VFWOUD3M.js';
|
|
13
13
|
import { useRouterContext } from './chunk-Q7DJKLEN.js';
|
|
14
14
|
import { useState, useMemo } from 'react';
|
|
15
15
|
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, List } from '@mantine/core';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { topbarHeight, useAppearance } from './chunk-
|
|
1
|
+
import { topbarHeight, useAppearance } from './chunk-VGHYGEPR.js';
|
|
2
2
|
import { Stack, Title, Button } from '@mantine/core';
|
|
3
3
|
import { IconAlertCircle } from '@tabler/icons-react';
|
|
4
4
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { requestsKeys } from './chunk-
|
|
2
|
-
import { buildQueryString } from './chunk-
|
|
1
|
+
import { requestsKeys } from './chunk-VGHYGEPR.js';
|
|
2
|
+
import { buildQueryString } from './chunk-VFWOUD3M.js';
|
|
3
3
|
import { useElevasisServices } from './chunk-BI5VDO2K.js';
|
|
4
4
|
import { useQuery, useQueryClient, useMutation } from '@tanstack/react-query';
|
|
5
5
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { useScheduledTasks } from './chunk-WDABHUIL.js';
|
|
2
2
|
import { ZodFormRenderer } from './chunk-3MEXPLWT.js';
|
|
3
3
|
import { ResourceHealthChart } from './chunk-LGKLC5MG.js';
|
|
4
|
-
import { AppShellCenteredContainer, AppShellLoader } from './chunk-
|
|
4
|
+
import { AppShellCenteredContainer, AppShellLoader } from './chunk-JCETE623.js';
|
|
5
5
|
import { useTimeRangeDates } from './chunk-YQQ5GRUR.js';
|
|
6
6
|
import { Graph_module_css_default, useDirectedChainHighlighting, useNodeSelection, useFitViewTrigger } from './chunk-HENXLGVD.js';
|
|
7
|
-
import { useCyberColors, GlowDot, JsonViewer, useExecuteResource, EmptyState, useResolvedTimeRange, useDashboardMetrics, useResources, useUnresolvedErrors, useRecentExecutionsByResource, PageTitleCaption, HeroStatsRow, useCommandQueue, TabCountBadge, useResourcesHealth, TERMINAL_EXECUTION_STATUSES } from './chunk-
|
|
7
|
+
import { useCyberColors, GlowDot, JsonViewer, useExecuteResource, EmptyState, useResolvedTimeRange, useDashboardMetrics, useResources, useUnresolvedErrors, useRecentExecutionsByResource, PageTitleCaption, HeroStatsRow, useCommandQueue, TabCountBadge, useResourcesHealth, TERMINAL_EXECUTION_STATUSES } from './chunk-VGHYGEPR.js';
|
|
8
8
|
import { glassBase } from './chunk-4WLAVUPS.js';
|
|
9
9
|
import { CardHeader } from './chunk-62GVNH5U.js';
|
|
10
10
|
import { useInitialization } from './chunk-P45GQ3ZW.js';
|
|
11
11
|
import { STATUS_COLORS, getStatusIcon, formatDuration, getStatusColors, AGENT_CONSTANTS, shouldAnimateEdge, TIMELINE_CONSTANTS, calculateBarPosition, CONTAINER_CONSTANTS, useExecutionPath, useUnifiedWorkflowLayout, WORKFLOW_CONSTANTS, useReactFlowAgent } from './chunk-2HXDI4RY.js';
|
|
12
|
-
import { formatTimeAgo, formatRelativeTime } from './chunk-
|
|
12
|
+
import { formatTimeAgo, formatRelativeTime } from './chunk-VFWOUD3M.js';
|
|
13
13
|
import { getTimeRangeDates } from './chunk-6XBZPKMI.js';
|
|
14
14
|
import { ResourceStatusColors } from './chunk-7ZUXA2NW.js';
|
|
15
15
|
import { memo, useMemo, useEffect, useState, useCallback, Fragment } from 'react';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { createLiveTempMessageIdentity } from './chunk-QFGNRKIE.js';
|
|
2
|
-
import { sessionsKeys, isExecutionInFlight } from './chunk-
|
|
2
|
+
import { sessionsKeys, isExecutionInFlight } from './chunk-VGHYGEPR.js';
|
|
3
3
|
import { SessionIdParamSchema, ExecutionIdParamsSchema, WebSocketSessionTurnSchema } from './chunk-IIMC4TRH.js';
|
|
4
4
|
import { useOrganization } from './chunk-DD3CCMCZ.js';
|
|
5
|
-
import { STALE_TIME_MONITORING, STALE_TIME_DEFAULT } from './chunk-
|
|
5
|
+
import { STALE_TIME_MONITORING, STALE_TIME_DEFAULT } from './chunk-VFWOUD3M.js';
|
|
6
6
|
import { REFETCH_INTERVAL_RUNNING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY } from './chunk-6XBZPKMI.js';
|
|
7
7
|
import { useElevasisServices } from './chunk-BI5VDO2K.js';
|
|
8
8
|
import { useAuthContext } from './chunk-BRJ3QZ4E.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PageContainer } from './chunk-BZZCNLT6.js';
|
|
2
|
-
import { SubshellContentContainer } from './chunk-
|
|
2
|
+
import { SubshellContentContainer } from './chunk-VGHYGEPR.js';
|
|
3
3
|
import { jsx } from 'react/jsx-runtime';
|
|
4
4
|
|
|
5
5
|
var SubshellPageLayout = ({ children, className }) => /* @__PURE__ */ jsx(SubshellContentContainer, { className, children: /* @__PURE__ */ jsx(PageContainer, { children }) });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { dealKeys } from './chunk-
|
|
2
|
-
import { showApiErrorNotification } from './chunk-
|
|
3
|
-
import { APIClientError } from './chunk-
|
|
1
|
+
import { dealKeys } from './chunk-VGHYGEPR.js';
|
|
2
|
+
import { showApiErrorNotification } from './chunk-DRTC7LRG.js';
|
|
3
|
+
import { APIClientError } from './chunk-VFWOUD3M.js';
|
|
4
4
|
import { useElevasisServices } from './chunk-BI5VDO2K.js';
|
|
5
5
|
import { useQuery, useQueryClient, useMutation } from '@tanstack/react-query';
|
|
6
6
|
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import { useDealDetail, useExecuteAction } from './chunk-
|
|
2
|
-
import { CRM_API_INTERFACE } from './chunk-
|
|
3
|
-
import { useCompany, useContact, deriveActions } from './chunk-3RYXJS2F.js';
|
|
1
|
+
import { useDealDetail, useExecuteAction } from './chunk-LKM32PP6.js';
|
|
2
|
+
import { CRM_API_INTERFACE, useCompany, useContact, deriveCompiledCrmActions } from './chunk-BIKD5UUM.js';
|
|
4
3
|
import { useTableSort, sortData } from './chunk-2Y6AKWGU.js';
|
|
5
|
-
import { getSystemApiInterfaceReadiness } from './chunk-
|
|
4
|
+
import { getSystemApiInterfaceReadiness } from './chunk-LKZV5TDL.js';
|
|
6
5
|
import { useTableSelection } from './chunk-WDBNW44Z.js';
|
|
7
|
-
import { SubshellPageLayout } from './chunk-
|
|
6
|
+
import { SubshellPageLayout } from './chunk-LACAXGZK.js';
|
|
8
7
|
import { PageContainer } from './chunk-BZZCNLT6.js';
|
|
9
8
|
import { TableSelectionToolbar, SortableHeader } from './chunk-TUMSNGTX.js';
|
|
10
9
|
import { FilterBar } from './chunk-PDHTXPSF.js';
|
|
11
|
-
import { SubshellSidebarSection, CrmSidebarMiddle, useDealsSummary, useOptionalElevasisSystems, getCrmPipelineCatalog, CenteredErrorState, StatCard, PageTitleCaption, useDeleteDeal, usePaginationState, useDeals, SubshellContentContainer, EmptyState, CustomModal, useCrmActions, ActivityTimeline, ContextViewer, JsonViewer, dealKeys } from './chunk-
|
|
12
|
-
import { showApiErrorNotification, showSuccessNotification } from './chunk-
|
|
10
|
+
import { SubshellSidebarSection, CrmSidebarMiddle, useDealsSummary, useOptionalElevasisSystems, getCrmPipelineCatalog, CenteredErrorState, StatCard, PageTitleCaption, useDeleteDeal, usePaginationState, useDeals, SubshellContentContainer, EmptyState, CustomModal, useCrmActions, ActivityTimeline, ContextViewer, JsonViewer, dealKeys } from './chunk-VGHYGEPR.js';
|
|
11
|
+
import { showApiErrorNotification, showSuccessNotification } from './chunk-DRTC7LRG.js';
|
|
13
12
|
import { CardHeader } from './chunk-62GVNH5U.js';
|
|
14
|
-
import { PAGE_SIZE_DEFAULT, formatTimeAgo } from './chunk-
|
|
13
|
+
import { PAGE_SIZE_DEFAULT, formatTimeAgo } from './chunk-VFWOUD3M.js';
|
|
15
14
|
import { useElevasisServices } from './chunk-BI5VDO2K.js';
|
|
16
15
|
import { Stack, Paper, Center, Loader, Group, Box, Text, Alert, Table, SimpleGrid, Button, Select, TextInput, Tabs, Checkbox, Badge, Tooltip, Pagination, Title, Code, Card, SegmentedControl, Switch, NumberInput, ColorSwatch, Popover, ActionIcon, Anchor, CopyButton, Divider, Textarea } from '@mantine/core';
|
|
17
16
|
import { IconAddressBook, IconColumns, IconHistory, IconAlertCircle, IconCurrencyDollar, IconChartBar, IconBriefcase, IconTrophy, IconSearch, IconTargetArrow, IconAlertTriangle, IconMessages, IconArrowLeft, IconFileText, IconInbox, IconUser, IconBolt, IconBuilding, IconSettings, IconRestore, IconInfoCircle, IconMailForward, IconPlus, IconArrowRight, IconNote, IconCheck, IconCopy } from '@tabler/icons-react';
|
|
@@ -1099,8 +1098,8 @@ function getContactName(deal) {
|
|
|
1099
1098
|
function getCompanyName(deal) {
|
|
1100
1099
|
return deal.contact?.company?.name || deal.discovery_data?.company || deal.contact_email?.split("@")[1] || "Unknown";
|
|
1101
1100
|
}
|
|
1102
|
-
function toAction(
|
|
1103
|
-
const { key, label, payloadSchema } =
|
|
1101
|
+
function toAction(compiledAction) {
|
|
1102
|
+
const { key, label, payloadSchema } = compiledAction;
|
|
1104
1103
|
return { key, label, payloadSchema };
|
|
1105
1104
|
}
|
|
1106
1105
|
function getVisibleCanonicalDealActions(deal, crmActions) {
|
|
@@ -1109,11 +1108,11 @@ function getVisibleCanonicalDealActions(deal, crmActions) {
|
|
|
1109
1108
|
const nextAction = crmActions.find((action) => action.key === deal.nextAction);
|
|
1110
1109
|
return nextAction ? [toAction(nextAction)] : [];
|
|
1111
1110
|
}
|
|
1112
|
-
return
|
|
1111
|
+
return deriveCompiledCrmActions(deal, crmActions).filter((action) => {
|
|
1113
1112
|
if (!CANONICAL_ACTION_KEYS.has(action.key)) return false;
|
|
1114
1113
|
if (action.key === "send_reply" && deal.ownership === "them") return false;
|
|
1115
1114
|
return true;
|
|
1116
|
-
});
|
|
1115
|
+
}).map(toAction);
|
|
1117
1116
|
}
|
|
1118
1117
|
function CopyBookingLinkButton({
|
|
1119
1118
|
bookingUrl,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { projectKeys, noteKeys, taskKeys, milestoneKeys } from './chunk-
|
|
2
|
-
import { leadGenListMemberKeys } from './chunk-
|
|
1
|
+
import { projectKeys, noteKeys, taskKeys, milestoneKeys } from './chunk-EHWHG6PW.js';
|
|
2
|
+
import { leadGenListMemberKeys } from './chunk-YZ5Q34MK.js';
|
|
3
3
|
import { useSupabase } from './chunk-MKH2KOAO.js';
|
|
4
|
-
import { companyKeys, contactKeys } from './chunk-
|
|
5
|
-
import { useErrorNotification, activityKeys } from './chunk-
|
|
6
|
-
import { useNotificationAdapter, dealKeys, acquisitionListKeys, useListsTelemetry, useOptionalElevasisSystems, useSSEConnection } from './chunk-
|
|
7
|
-
import { HTTP_HEADERS } from './chunk-
|
|
8
|
-
import { showApiErrorNotification, showSuccessNotification } from './chunk-
|
|
4
|
+
import { companyKeys, contactKeys } from './chunk-BIKD5UUM.js';
|
|
5
|
+
import { useErrorNotification, activityKeys } from './chunk-34YVWPW6.js';
|
|
6
|
+
import { useNotificationAdapter, dealKeys, acquisitionListKeys, useListsTelemetry, useOptionalElevasisSystems, useSSEConnection } from './chunk-VGHYGEPR.js';
|
|
7
|
+
import { HTTP_HEADERS } from './chunk-IR7HVER2.js';
|
|
8
|
+
import { showApiErrorNotification, showSuccessNotification } from './chunk-DRTC7LRG.js';
|
|
9
9
|
import { useOrganization } from './chunk-DD3CCMCZ.js';
|
|
10
|
-
import { STALE_TIME_ADMIN } from './chunk-
|
|
10
|
+
import { STALE_TIME_ADMIN } from './chunk-VFWOUD3M.js';
|
|
11
11
|
import { useElevasisServices } from './chunk-BI5VDO2K.js';
|
|
12
12
|
import { useQuery, useQueryClient, useMutation } from '@tanstack/react-query';
|
|
13
13
|
import { notifications } from '@mantine/notifications';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AppearanceContext } from './chunk-
|
|
1
|
+
import { AppearanceContext } from './chunk-VGHYGEPR.js';
|
|
2
2
|
import { ElevasisServiceContext } from './chunk-BI5VDO2K.js';
|
|
3
3
|
import { useContext, useState, useRef, useCallback, useEffect } from 'react';
|
|
4
4
|
import { Paper, Stack, Title, Text, Group, Button, Anchor, Collapse, Badge, Code } from '@mantine/core';
|
|
@@ -1,21 +1,20 @@
|
|
|
1
|
-
import { eqOrgId, useBatchDeleteRows } from './chunk-
|
|
2
|
-
import {
|
|
3
|
-
import { useCredentials, useVerifyCredential, useListMembers, useListMember, useTransitionListMember, useDeriveActions, useArtifacts } from './chunk-4C4IFMRP.js';
|
|
1
|
+
import { eqOrgId, useBatchDeleteRows } from './chunk-2WXFPHBV.js';
|
|
2
|
+
import { useCredentials, useVerifyCredential, useListMembers, useListMember, useTransitionListMember, useDeriveActions, useArtifacts } from './chunk-YZ5Q34MK.js';
|
|
4
3
|
import { useSupabase } from './chunk-MKH2KOAO.js';
|
|
5
|
-
import { useCompanyFacets, useCompanies, useDeleteCompanies, useContacts, useDeleteContacts } from './chunk-
|
|
4
|
+
import { LEAD_GEN_API_INTERFACE, useCompanyFacets, useCompanies, useDeleteCompanies, useContacts, useDeleteContacts } from './chunk-BIKD5UUM.js';
|
|
6
5
|
import { useTableSort, sortData } from './chunk-2Y6AKWGU.js';
|
|
7
|
-
import { getSystemApiInterfaceReadiness } from './chunk-
|
|
6
|
+
import { getSystemApiInterfaceReadiness } from './chunk-LKZV5TDL.js';
|
|
8
7
|
import { sanitizeInput } from './chunk-3MEXPLWT.js';
|
|
9
8
|
import { useTableSelection } from './chunk-WDBNW44Z.js';
|
|
10
|
-
import { SubshellPageLayout } from './chunk-
|
|
9
|
+
import { SubshellPageLayout } from './chunk-LACAXGZK.js';
|
|
11
10
|
import { PageContainer } from './chunk-BZZCNLT6.js';
|
|
12
11
|
import { TableSelectionToolbar, SortableHeader } from './chunk-TUMSNGTX.js';
|
|
13
12
|
import { FilterBar } from './chunk-PDHTXPSF.js';
|
|
14
|
-
import { SubshellSidebarSection, LeadGenSidebarMiddle, PageTitleCaption, acquisitionListKeys, useOptionalElevasisSystems, getAllBuildTemplates, getLeadGenStageCatalog, useListsTelemetry, useLists, useAccess, AccessKeys, SubshellContentContainer, CenteredErrorState, StatCard, usePaginationState, EmptyState, CustomModal, useListActions, useList, useListProgress, useListExecutions, useDeleteList, useExecuteAsync, SystemReadinessAlert, useCreateList, JsonViewer, isExecutionInFlight, useWorkflowExecution, useInFlightExecutions, useExecutionSSE, useListRecords } from './chunk-
|
|
15
|
-
import { showApiErrorNotification, showSuccessNotification } from './chunk-
|
|
13
|
+
import { SubshellSidebarSection, LeadGenSidebarMiddle, PageTitleCaption, acquisitionListKeys, useOptionalElevasisSystems, getAllBuildTemplates, getLeadGenStageCatalog, useListsTelemetry, useLists, useAccess, AccessKeys, SubshellContentContainer, CenteredErrorState, StatCard, usePaginationState, EmptyState, CustomModal, useListActions, useList, useListProgress, useListExecutions, useDeleteList, useExecuteAsync, SystemReadinessAlert, useCreateList, JsonViewer, isExecutionInFlight, useWorkflowExecution, useInFlightExecutions, useExecutionSSE, useListRecords } from './chunk-VGHYGEPR.js';
|
|
14
|
+
import { showApiErrorNotification, showSuccessNotification } from './chunk-DRTC7LRG.js';
|
|
16
15
|
import { CardHeader } from './chunk-62GVNH5U.js';
|
|
17
16
|
import { useOrganization } from './chunk-DD3CCMCZ.js';
|
|
18
|
-
import { PAGE_SIZE_DEFAULT, formatTimeAgo, getSystem } from './chunk-
|
|
17
|
+
import { PAGE_SIZE_DEFAULT, formatTimeAgo, getSystem } from './chunk-VFWOUD3M.js';
|
|
19
18
|
import { REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_REALTIME } from './chunk-6XBZPKMI.js';
|
|
20
19
|
import { useElevasisServices } from './chunk-BI5VDO2K.js';
|
|
21
20
|
import { Stack, Group, Title, Text, Alert, Button, Collapse, Paper, Anchor, Center, Loader, SimpleGrid, Table, Badge, TextInput, Select, Checkbox, Pagination, ActionIcon, Tooltip, Tabs, Switch, Card, Divider, Textarea, ThemeIcon, Box, SegmentedControl, UnstyledButton, Pill, Drawer, JsonInput, NumberInput, MultiSelect, TagsInput, ScrollArea } from '@mantine/core';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { useAvailablePresets } from './chunk-IIEZXXDD.js';
|
|
2
|
-
import { MEMBERSHIP_STATUS_COLORS, PROVISIONING_STATE_DISPLAY, transformMembershipToTableRow, useUserMemberships, useUpdateWebhookEndpoint, useDeleteWebhookEndpoint, useCreateWebhookEndpoint, useListWebhookEndpoints, useOrgRoles, useAssignRole, useRevokeRole, useOrganizationMembers, usePermissionCatalog } from './chunk-
|
|
3
|
-
import { AppShellLoader } from './chunk-
|
|
2
|
+
import { MEMBERSHIP_STATUS_COLORS, PROVISIONING_STATE_DISPLAY, transformMembershipToTableRow, useUserMemberships, useUpdateWebhookEndpoint, useDeleteWebhookEndpoint, useCreateWebhookEndpoint, useListWebhookEndpoints, useOrgRoles, useAssignRole, useRevokeRole, useOrganizationMembers, usePermissionCatalog } from './chunk-U727JFPK.js';
|
|
3
|
+
import { AppShellLoader } from './chunk-JCETE623.js';
|
|
4
4
|
import { FilterBar } from './chunk-PDHTXPSF.js';
|
|
5
|
-
import { CustomModal, APIErrorAlert, EmptyState, PageTitleCaption, useResources, ListSkeleton, StatCard, useAccess, AccessKeys, AccessGuard } from './chunk-
|
|
6
|
-
import { showApiErrorNotification, showErrorNotification, showSuccessNotification } from './chunk-
|
|
5
|
+
import { CustomModal, APIErrorAlert, EmptyState, PageTitleCaption, useResources, ListSkeleton, StatCard, useAccess, AccessKeys, AccessGuard } from './chunk-VGHYGEPR.js';
|
|
6
|
+
import { showApiErrorNotification, showErrorNotification, showSuccessNotification } from './chunk-DRTC7LRG.js';
|
|
7
7
|
import { CardHeader } from './chunk-62GVNH5U.js';
|
|
8
8
|
import { useInitialization } from './chunk-P45GQ3ZW.js';
|
|
9
9
|
import { RoleBadge } from './chunk-YJ437RDY.js';
|
|
10
10
|
import { useOrganization } from './chunk-DD3CCMCZ.js';
|
|
11
|
-
import { isAPIClientError, formatDateTime, OAUTH_FLOW_TIMEOUT } from './chunk-
|
|
11
|
+
import { isAPIClientError, formatDateTime, OAUTH_FLOW_TIMEOUT } from './chunk-VFWOUD3M.js';
|
|
12
12
|
import { useElevasisServices } from './chunk-BI5VDO2K.js';
|
|
13
13
|
import { useAuthContext } from './chunk-BRJ3QZ4E.js';
|
|
14
14
|
import { Text, Stack, Title, Alert, TextInput, Group, Button, Paper, SimpleGrid, Card, ThemeIcon, Badge, Tooltip, Select, Table, Center, Loader, Box, Code, CopyButton, ActionIcon, UnstyledButton, Switch, Divider, Textarea, MultiSelect } from '@mantine/core';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { useNotificationAdapter } from './chunk-
|
|
2
|
-
import { showApiErrorNotification } from './chunk-
|
|
1
|
+
import { useNotificationAdapter } from './chunk-VGHYGEPR.js';
|
|
2
|
+
import { showApiErrorNotification } from './chunk-DRTC7LRG.js';
|
|
3
3
|
import { OrganizationContext } from './chunk-DD3CCMCZ.js';
|
|
4
|
-
import { GC_TIME_MEDIUM, STALE_TIME_DEFAULT, GC_TIME_SHORT, STALE_TIME_MONITORING } from './chunk-
|
|
4
|
+
import { GC_TIME_MEDIUM, STALE_TIME_DEFAULT, GC_TIME_SHORT, STALE_TIME_MONITORING } from './chunk-VFWOUD3M.js';
|
|
5
5
|
import { useElevasisServices } from './chunk-BI5VDO2K.js';
|
|
6
6
|
import { PageLimitSchema } from './chunk-34B3ACOZ.js';
|
|
7
7
|
import { useContext } from 'react';
|
|
@@ -545,8 +545,18 @@ var OntologyLinkTypeSchema = OntologyRecordBaseSchema.extend({
|
|
|
545
545
|
cardinality: z.string().trim().min(1).max(80).optional(),
|
|
546
546
|
via: z.string().trim().min(1).max(255).optional()
|
|
547
547
|
}).strict();
|
|
548
|
+
var OntologyActionAvailabilityConditionSchema = z.object({
|
|
549
|
+
stageKeys: z.array(z.string().trim().min(1).max(200)).min(1),
|
|
550
|
+
stateKeys: z.array(z.string().trim().min(1).max(200)).optional(),
|
|
551
|
+
nextActionKeys: z.array(z.string().trim().min(1).max(200)).optional()
|
|
552
|
+
}).strict();
|
|
548
553
|
var OntologyActionTypeSchema = OntologyRecordBaseSchema.extend({
|
|
549
554
|
actsOn: OntologyReferenceListSchema,
|
|
555
|
+
// Presentation order for surfaces that list actions (the CRM deal action
|
|
556
|
+
// bar). Same meaning as the legacy `ActionSchema.order` it replaces; without
|
|
557
|
+
// it a compiled catalog falls back to the index's alphabetical id sort,
|
|
558
|
+
// which silently reorders the buttons.
|
|
559
|
+
order: z.number().optional(),
|
|
550
560
|
input: z.record(z.string().trim().min(1).max(200), z.unknown()).optional(),
|
|
551
561
|
effects: z.array(z.record(z.string(), z.unknown())).optional(),
|
|
552
562
|
resourceId: z.string().trim().min(1).optional(),
|
|
@@ -554,7 +564,14 @@ var OntologyActionTypeSchema = OntologyRecordBaseSchema.extend({
|
|
|
554
564
|
lifecycle: z.string().trim().min(1).optional(),
|
|
555
565
|
// Carried by the legacy action projection (`addLegacyActionProjections`); not
|
|
556
566
|
// authored directly, but a real key an authored record must not collide with.
|
|
557
|
-
legacyActionId: z.string().trim().min(1).optional()
|
|
567
|
+
legacyActionId: z.string().trim().min(1).optional(),
|
|
568
|
+
// Lets a tenant author which deal stage/state/next-action combination makes
|
|
569
|
+
// this action selectable, instead of hardcoding the predicate in TypeScript.
|
|
570
|
+
// `compileCrmActionCatalog` reads it; paired with `resourceId` above,
|
|
571
|
+
// `resourceId` says what to dispatch and `availableFrom` says when.
|
|
572
|
+
// Absent entirely for action records that are not deal actions — the
|
|
573
|
+
// compiler skips those rather than erroring.
|
|
574
|
+
availableFrom: OntologyActionAvailabilityConditionSchema.optional()
|
|
558
575
|
}).strict();
|
|
559
576
|
var OntologyCatalogTypeSchema = OntologyRecordBaseSchema.extend({
|
|
560
577
|
kind: z.string().trim().min(1).max(120).optional(),
|
|
@@ -946,6 +963,18 @@ var SYSTEM_INTERFACE_PROFILES = [
|
|
|
946
963
|
SYSTEM_INTERFACE_PROFILES.map(
|
|
947
964
|
(profile) => profile.readinessProfile
|
|
948
965
|
);
|
|
966
|
+
function requireSystemInterfaceProfile(readinessProfile) {
|
|
967
|
+
const profile = SYSTEM_INTERFACE_PROFILES.find(
|
|
968
|
+
(candidate) => candidate.readinessProfile === readinessProfile
|
|
969
|
+
);
|
|
970
|
+
if (profile === void 0) {
|
|
971
|
+
throw new Error(
|
|
972
|
+
`"${readinessProfile}" is not a member of SYSTEM_INTERFACE_PROFILES. Adoptable ids: ${SYSTEM_INTERFACE_PROFILES.map((candidate) => `"${candidate.readinessProfile}"`).join(", ")}.`
|
|
973
|
+
);
|
|
974
|
+
}
|
|
975
|
+
return profile;
|
|
976
|
+
}
|
|
977
|
+
requireSystemInterfaceProfile("content.api");
|
|
949
978
|
var BUILT_IN_VALIDATED_PROFILE_IDS = SYSTEM_INTERFACE_PROFILES.filter(
|
|
950
979
|
(profile) => profile.validation === "built-in"
|
|
951
980
|
).map((profile) => profile.readinessProfile);
|
|
@@ -1541,4 +1570,4 @@ function setupBrowserMocks() {
|
|
|
1541
1570
|
setupResizeObserver();
|
|
1542
1571
|
}
|
|
1543
1572
|
|
|
1544
|
-
export { APIClientError, API_URL, ActionInvocationSchema, ActionSchema, ActionsDomainSchema, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, DEFAULT_ONTOLOGY_SCOPE, DEFAULT_ORGANIZATION_MODEL_ACTIONS, DEFAULT_ORGANIZATION_MODEL_SYSTEMS, DescriptionSchema, EntitiesDomainSchema, EntitySchema, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, IconNameSchema, JsonValueSchema, LIMIT_ACTIVITY_FEED, LabelSchema, ModelIdSchema, NodeIdStringSchema, OAUTH_FLOW_TIMEOUT, OntologyIdSchema, OntologyScopeSchema, PAGE_SIZE_DEFAULT, PathSchema, STALE_TIME_ADMIN, STALE_TIME_DEFAULT, STALE_TIME_MONITORING,
|
|
1573
|
+
export { APIClientError, API_URL, ActionInvocationSchema, ActionSchema, ActionsDomainSchema, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, DEFAULT_ONTOLOGY_SCOPE, DEFAULT_ORGANIZATION_MODEL_ACTIONS, DEFAULT_ORGANIZATION_MODEL_SYSTEMS, DescriptionSchema, EntitiesDomainSchema, EntitySchema, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, IconNameSchema, JsonValueSchema, LIMIT_ACTIVITY_FEED, LabelSchema, ModelIdSchema, NodeIdStringSchema, OAUTH_FLOW_TIMEOUT, OntologyIdSchema, OntologyScopeSchema, PAGE_SIZE_DEFAULT, PathSchema, STALE_TIME_ADMIN, STALE_TIME_DEFAULT, STALE_TIME_MONITORING, SystemEntrySchema, SystemIdSchema, SystemInterfaceRefSchema, SystemLifecycleSchema, SystemPathSchema, SystemsDomainSchema, addReadinessIssue, ancestorsOf, buildQueryString, childrenOf, compileOrganizationOntology, computeInterfaceReadiness, defaultPathFor, devOnlyFor, findById, findByPath, formatChartAxisDate, formatDate, formatDateTime, formatErrorMessage, formatInterfaceIdentity, formatOntologyId, formatRelativeTime, formatTimeAgo, getErrorInfo, getErrorTitle, getResourceColor, getResourceIcon, getResourcesForSystem, getSystem, getSystemAncestors, getSystemReadinessServerErrorDetails, isAPIClientError, isSystemLifecycleVisible, listAllSystems, listResolvedOntologyRecords, ontologyGraphNodeId, parentOf, parseOntologyId, registerBuiltInReadinessProfile, registerReadinessInterfaceMarker, requireCatalogReadiness, requireContractReadiness, requireScopedBinding, requireSystemInterfaceProfile, resolveReadinessRemedy, resolveSystemConfig, resourceBindingIds, restoreConsole, setupBrowserMocks, suppressKnownWarnings, systemLifecycleAllowsAccess, topLevel, validateEmail };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { mantineThemeOverride, createCssVariablesResolver, PresetsProvider } from './chunk-4WLAVUPS.js';
|
|
2
2
|
import { PRESETS, getPreset, AppBackground, generateShades } from './chunk-RXZ3XDBM.js';
|
|
3
|
-
import { HTTP_HEADERS, ApiClientProvider, useApiClient } from './chunk-
|
|
4
|
-
import { showApiErrorNotification, showSuccessNotification } from './chunk-
|
|
3
|
+
import { HTTP_HEADERS, ApiClientProvider, useApiClient } from './chunk-IR7HVER2.js';
|
|
4
|
+
import { showApiErrorNotification, showSuccessNotification } from './chunk-DRTC7LRG.js';
|
|
5
5
|
import { CardHeader } from './chunk-62GVNH5U.js';
|
|
6
6
|
import { InitializationContext, useInitialization, InitializationProvider } from './chunk-P45GQ3ZW.js';
|
|
7
7
|
import { SessionIdParamSchema, CreateSessionSchema } from './chunk-IIMC4TRH.js';
|
|
@@ -10,7 +10,7 @@ import { getStatusIcon } from './chunk-2HXDI4RY.js';
|
|
|
10
10
|
import { invalidateOrgScopedQueries, OrganizationProvider } from './chunk-YJ437RDY.js';
|
|
11
11
|
import { OrganizationContext, useOrganization } from './chunk-DD3CCMCZ.js';
|
|
12
12
|
import { ProfileProvider } from './chunk-RT4KRGZT.js';
|
|
13
|
-
import { LabelSchema, DescriptionSchema, PathSchema, ModelIdSchema, IconNameSchema, SystemLifecycleSchema, OntologyIdSchema, SystemPathSchema, ActionInvocationSchema, SystemIdSchema, NodeIdStringSchema, JsonValueSchema, SystemInterfaceRefSchema, EntitiesDomainSchema, ActionsDomainSchema, DEFAULT_ORGANIZATION_MODEL_ACTIONS, OntologyScopeSchema, DEFAULT_ONTOLOGY_SCOPE, SystemsDomainSchema, DEFAULT_ORGANIZATION_MODEL_SYSTEMS, formatOntologyId, isSystemLifecycleVisible, listResolvedOntologyRecords, getErrorInfo, getErrorTitle, formatErrorMessage, compileOrganizationOntology, listAllSystems, ontologyGraphNodeId, parseOntologyId, getSystem, STALE_TIME_DEFAULT, GC_TIME_SHORT, STALE_TIME_MONITORING, getResourceIcon, formatTimeAgo, resolveReadinessRemedy, getResourcesForSystem, buildQueryString, formatRelativeTime, devOnlyFor, topLevel, parentOf, ancestorsOf, childrenOf, findById, findByPath, systemLifecycleAllowsAccess, PAGE_SIZE_DEFAULT, resolveSystemConfig, defaultPathFor } from './chunk-
|
|
13
|
+
import { LabelSchema, DescriptionSchema, PathSchema, ModelIdSchema, IconNameSchema, SystemLifecycleSchema, OntologyIdSchema, SystemPathSchema, ActionInvocationSchema, SystemIdSchema, NodeIdStringSchema, JsonValueSchema, SystemInterfaceRefSchema, EntitiesDomainSchema, ActionsDomainSchema, DEFAULT_ORGANIZATION_MODEL_ACTIONS, OntologyScopeSchema, DEFAULT_ONTOLOGY_SCOPE, SystemsDomainSchema, DEFAULT_ORGANIZATION_MODEL_SYSTEMS, formatOntologyId, isSystemLifecycleVisible, listResolvedOntologyRecords, getErrorInfo, getErrorTitle, formatErrorMessage, compileOrganizationOntology, listAllSystems, ontologyGraphNodeId, parseOntologyId, getSystem, STALE_TIME_DEFAULT, GC_TIME_SHORT, STALE_TIME_MONITORING, getResourceIcon, formatTimeAgo, resolveReadinessRemedy, getResourcesForSystem, buildQueryString, formatRelativeTime, devOnlyFor, topLevel, parentOf, ancestorsOf, childrenOf, findById, findByPath, systemLifecycleAllowsAccess, PAGE_SIZE_DEFAULT, resolveSystemConfig, defaultPathFor } from './chunk-VFWOUD3M.js';
|
|
14
14
|
import { getTimeRangeLabel, getTimeRangeDates, formatBucketTime, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_DASHBOARD, debounce } from './chunk-6XBZPKMI.js';
|
|
15
15
|
import { ResourceStatusColors } from './chunk-7ZUXA2NW.js';
|
|
16
16
|
import { ElevasisServiceContext, useElevasisServices, ElevasisServiceProvider } from './chunk-BI5VDO2K.js';
|
|
@@ -2128,6 +2128,64 @@ function getAllProjectStatuses(model, appliesTo) {
|
|
|
2128
2128
|
).sort((a, b) => a.order - b.order || a.id.localeCompare(b.id));
|
|
2129
2129
|
}
|
|
2130
2130
|
|
|
2131
|
+
// ../core/src/organization-model/catalogs/define-system-api-interface.ts
|
|
2132
|
+
var LEAD_GEN_LIST_OBJECT_ONTOLOGY_ID = formatOntologyId({
|
|
2133
|
+
scope: "sales.lead-gen",
|
|
2134
|
+
kind: "object",
|
|
2135
|
+
localId: "list"
|
|
2136
|
+
});
|
|
2137
|
+
var LEAD_GEN_COMPANY_OBJECT_ONTOLOGY_ID = formatOntologyId({
|
|
2138
|
+
scope: "sales.lead-gen",
|
|
2139
|
+
kind: "object",
|
|
2140
|
+
localId: "company"
|
|
2141
|
+
});
|
|
2142
|
+
var LEAD_GEN_CONTACT_OBJECT_ONTOLOGY_ID = formatOntologyId({
|
|
2143
|
+
scope: "sales.lead-gen",
|
|
2144
|
+
kind: "object",
|
|
2145
|
+
localId: "contact"
|
|
2146
|
+
});
|
|
2147
|
+
var LEAD_GEN_BUILD_TEMPLATE_CATALOG_ONTOLOGY_ID = formatOntologyId({
|
|
2148
|
+
scope: "sales.lead-gen",
|
|
2149
|
+
kind: "catalog",
|
|
2150
|
+
localId: "build-template"
|
|
2151
|
+
});
|
|
2152
|
+
var LEAD_GEN_COMPANY_STAGE_CATALOG_ONTOLOGY_ID = formatOntologyId({
|
|
2153
|
+
scope: "sales.lead-gen",
|
|
2154
|
+
kind: "catalog",
|
|
2155
|
+
localId: "company-stage"
|
|
2156
|
+
});
|
|
2157
|
+
var LEAD_GEN_CONTACT_STAGE_CATALOG_ONTOLOGY_ID = formatOntologyId({
|
|
2158
|
+
scope: "sales.lead-gen",
|
|
2159
|
+
kind: "catalog",
|
|
2160
|
+
localId: "contact-stage"
|
|
2161
|
+
});
|
|
2162
|
+
var CRM_PIPELINE_CATALOG_ONTOLOGY_ID = formatOntologyId({
|
|
2163
|
+
scope: "sales.crm",
|
|
2164
|
+
kind: "catalog",
|
|
2165
|
+
localId: "crm.pipeline"
|
|
2166
|
+
});
|
|
2167
|
+
var LEAD_GEN_STAGE_CATALOG_ONTOLOGY_ID = formatOntologyId({
|
|
2168
|
+
scope: "sales.lead-gen",
|
|
2169
|
+
kind: "catalog",
|
|
2170
|
+
localId: "lead-gen.stage-catalog"
|
|
2171
|
+
});
|
|
2172
|
+
var LEAD_GEN_API_READINESS_CONTRACT = {
|
|
2173
|
+
requiredObjects: [
|
|
2174
|
+
LEAD_GEN_LIST_OBJECT_ONTOLOGY_ID,
|
|
2175
|
+
LEAD_GEN_COMPANY_OBJECT_ONTOLOGY_ID,
|
|
2176
|
+
LEAD_GEN_CONTACT_OBJECT_ONTOLOGY_ID
|
|
2177
|
+
],
|
|
2178
|
+
requiredCatalogs: [
|
|
2179
|
+
LEAD_GEN_BUILD_TEMPLATE_CATALOG_ONTOLOGY_ID,
|
|
2180
|
+
LEAD_GEN_COMPANY_STAGE_CATALOG_ONTOLOGY_ID,
|
|
2181
|
+
LEAD_GEN_CONTACT_STAGE_CATALOG_ONTOLOGY_ID
|
|
2182
|
+
]
|
|
2183
|
+
};
|
|
2184
|
+
var CRM_API_READINESS_CONTRACT = {
|
|
2185
|
+
requiredObjects: [],
|
|
2186
|
+
requiredCatalogs: [CRM_PIPELINE_CATALOG_ONTOLOGY_ID]
|
|
2187
|
+
};
|
|
2188
|
+
|
|
2131
2189
|
// ../core/src/organization-model/snapshot-hash.ts
|
|
2132
2190
|
function deterministicStringify(value) {
|
|
2133
2191
|
if (Array.isArray(value)) {
|
|
@@ -14384,4 +14442,4 @@ function createTestSystemsProvider({
|
|
|
14384
14442
|
};
|
|
14385
14443
|
}
|
|
14386
14444
|
|
|
14387
|
-
export { APIErrorAlert, AccessGuard, AccessKeys, ActivityTimeline, ActivityTrendChart, AgentResourceEntrySchema, AppearanceContext, AppearanceProvider, CONTENT_ITEMS, CRM_ITEMS, CenteredErrorState, ChartFrame, CheckpointGroup, CollapsibleSection, CombinedTrendChart, CommandQueueSidebar, CommandQueueSidebarMiddle, CommandQueueSidebarTop, ConfirmationInputModal, ConfirmationModal, ContentSidebar, ContentSidebarMiddle, ContextViewer, CostTrendChart, CrmActionsProvider, CrmSidebarMiddle, CustomModal, CustomSelector, CyberAreaChart, CyberDonut, CyberDonutTooltip, CyberLegendItem, DEFAULT_CONTENT_VOCABULARY, DEFAULT_ORGANIZATION_GRAPH_FILTERS, DEFAULT_TIME_RANGE, DEFAULT_WAIT_FOR_ORGANIZATION, DetailCardSkeleton, EMPTY_LIST_ACTIONS, ElevasisCoreProvider, ElevasisLoader, ElevasisSystemsProvider, ElevasisUIProvider, EmptyState, FILTERABLE_DOMAIN_KEYS, FeatureUnavailableState, GlowDot, HeroStatsRow, IN_FLIGHT_EXECUTION_STATUSES, IdentityDomainSchema, IntegrationResourceEntrySchema, JsonViewer, KNOWLEDGE_DOMAINS_WITH_PANELS, KNOWLEDGE_ICON_TOKEN_BY_KIND, KnowledgeSearchBar, KnowledgeTree, LEAD_GEN_ITEMS, LeadGenSidebarMiddle, ListActionsProvider, ListSkeleton, MyReviewQueuePanel, MyTasksPanel, NavigationButton, NoAccessState, NotificationProvider, OM_NESTED_TREE_GROUPS, OM_TREE_GROUPS, ORGANIZATION_GRAPH_EDGE_KIND_LABELS, ORGANIZATION_GRAPH_EDGE_KIND_MEANINGS, ORGANIZATION_GRAPH_NODE_KIND_DETAIL_LABELS, ORGANIZATION_GRAPH_NODE_KIND_LABELS, ORGANIZATION_GRAPH_NODE_KIND_MEANINGS, ORGANIZATION_GRAPH_NODE_KIND_ORDER, ORGANIZATION_NODE_ID, OperationsService, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, OrganizationModelDriftActionIcon, OverviewList, OverviewListRow, PageNotFound, PageTitleCaption, ProtectedRoute, QuickCreateActions, RequestActionIcon, RequestModal, ResourceCard, ResourcesSidebar, RoleSchema, SAVED_VIEW_PRESETS, SEOSidebar, SEOSidebarMiddle, SEOSidebarTop, SYSTEM_RESOURCE_KINDS, SavedViewsPanel, ScriptResourceEntrySchema, SemanticIcon, SessionListItem, SessionsSidebar, StatCard, StatCardSkeleton, StatsCardSkeleton, StatusBadge, SubshellContainer, SubshellContentContainer, SubshellNavItem, SubshellRightSideContainer, SubshellSidebar, SubshellSidebarLoader, SubshellSidebarSection, SurfaceDefinitionSchema, SystemReadinessAlert, SystemShell, SystemUnavailableState, TERMINAL_EXECUTION_STATUSES, TabCountBadge, TimeRangeSelector, TrendIndicator, WorkflowResourceEntrySchema, accessKeys, acquisitionListKeys, aggregateSystemMetrics, buildKnowledgeOmTreeData, buildOrganizationGraph, clientsManifest, collectResourceFilterFacets, commandQueueKeys, computeProtectedRouteGate, contentKeys, contentManifest, createTestSystemsProvider, crmManifest, dealKeys, dealTaskKeys, deliveryManifest, deriveContentBoard, executionsKeys, extendSemanticIconRegistry, filterByDomainFilters, findKnowledgeTreeNodeByValue, findListActionByAction, findOmTreeGroup, formatResourceAttribution, getAllBuildTemplates, getConceptDefinition, getContentItemIdentity, getCrmPipelineCatalog, getKnowledgeDomainFolderCommand, getKnowledgeGraphNodeCommand, getKnowledgeIconToken, getKnowledgeNodeReadCommand, getKnowledgeOntologyProjection, getKnowledgeTreeFolderCommand, getLeadGenStageCatalog, getListActionWorkflowId, getOntologyDomainLabel, getPrimaryOntologyItemsForDomain, getResourceFilterFacetIds, getSemanticIconComponent, getSeriesColor, getSessionView, getSharedOrganizationGraph, isAwaitingReview, isExecutionInFlight, isSessionCapable, joinSourceAssetDetails, knowledgeManifest, labelResourceFilterFacet, leadGenManifest, monitoringManifest, normaliseConceptKey, observabilityKeys, operationsKeys, operationsManifest, pickCoverSourceAsset, pickLatestRunAt, projectNavigationGroups, projectNavigationSurfaces, readItemSourceAssets, requestTopbarActionManifest, requestsKeys, resolveContentStepResource, resolveContentVocabulary, resolveContentWorkspaceRoute, resolveCurrentContentStep, resolveReviewTarget, resolveSemanticIconComponent, selectDeclaredSystems, seoManifest, sessionsKeys, settingsManifest, sidebarBottomSectionCollapsedHeight, sidebarBottomSectionHeight, sidebarCollapsedWidth, sidebarGroupChevronSize, sidebarHoverDelay, sidebarIconInnerSize, sidebarIconSize, sidebarIconStroke, sidebarItemGap, sidebarItemHeight, sidebarItemPadding, sidebarSectionPadding, sidebarSubLinkIndent, sidebarSubLinkPaddingX, sidebarSubLinkPaddingY, sidebarToggleIconSize, sidebarTransitionDuration, sidebarWidth, submittedRequestsManifest, subshellNavItemIconSize, sumStatusCounts, topbarHeight, useAccess, useAddContentItemSourceAsset, useAppearance, useArchiveSession, useArchivedLogs, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCommandQueue, useCommandQueueTask, useCommandQueueTotals, useCommandViewDomainFilters, useCompleteDealTask, useContentConfig, useContentDistribution, useContentDistributionMetrics, useContentDistributions, useContentItem, useContentItemAttempts, useContentItemSourceAssetDetails, useContentItemSourceAssets, useContentItems, useContentPipelineSummary, useContentSourceAsset, useContentSourceAssets, useCostBreakdown, useCostByModel, useCostTrends, useCreateContentDistribution, useCreateContentItem, useCreateContentSourceAsset, useCreateDealTask, useCreateList, useCreateSession, useCrmActions, useCyberColors, useDashboardMetrics, useDealTasks, useDealTasksDue, useDeals, useDealsLookup, useDealsSummary, useDeleteDeal, useDeleteExecution, useDeleteList, useDeleteSession, useDeleteTask, useElevasisSystems, useEndSession, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorTrends, useExecuteAsync, useExecuteResource, useExecution, useExecutionLogSSE, useExecutionPanelState, useExecutionSSE, useExecutions, useInFlightExecutions, useLeadGenActionRegistry, useLeadGenBulkActions, useLeadGenHeaderActions, useLeadGenRowActions, useList, useListActions, useListExecutions, useListProgress, useListRecords, useLists, useListsTelemetry, useNotificationAdapter, useOptionalElevasisSystems, useOrganizationModelDrift, usePaginationState, usePatchTask, useRecentExecutionsByResource, useRemoveContentItemSourceAsset, useReorderContentItemSourceAssets, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResolvedOrganizationModel, useResolvedTimeRange, useResourceDefinition, useResourceSearch, useResources, useResourcesDomainFilters, useResourcesHealth, useRetryExecution, useReviewContentItem, useSSEConnection, useSession, useSessionCheck, useSessions, useStableAccessToken, useStatusFilter, useSubmitAction, useSubmitRequest, useSystemHealth, useSystemsViewState, useTopFailingResources, useUnresolveError, useUnresolvedErrors, useUpdateContentDistribution, useUpdateContentItem, useUpdateContentItemSourceAsset, useUpdateContentSourceAsset, useUpdateList, useUpdateListConfig, useWorkflowExecution };
|
|
14445
|
+
export { APIErrorAlert, AccessGuard, AccessKeys, ActivityTimeline, ActivityTrendChart, AgentResourceEntrySchema, AppearanceContext, AppearanceProvider, CONTENT_ITEMS, CRM_API_READINESS_CONTRACT, CRM_ITEMS, CRM_PIPELINE_CATALOG_ONTOLOGY_ID, CenteredErrorState, ChartFrame, CheckpointGroup, CollapsibleSection, CombinedTrendChart, CommandQueueSidebar, CommandQueueSidebarMiddle, CommandQueueSidebarTop, ConfirmationInputModal, ConfirmationModal, ContentSidebar, ContentSidebarMiddle, ContextViewer, CostTrendChart, CrmActionsProvider, CrmSidebarMiddle, CustomModal, CustomSelector, CyberAreaChart, CyberDonut, CyberDonutTooltip, CyberLegendItem, DEFAULT_CONTENT_VOCABULARY, DEFAULT_ORGANIZATION_GRAPH_FILTERS, DEFAULT_TIME_RANGE, DEFAULT_WAIT_FOR_ORGANIZATION, DetailCardSkeleton, EMPTY_LIST_ACTIONS, ElevasisCoreProvider, ElevasisLoader, ElevasisSystemsProvider, ElevasisUIProvider, EmptyState, FILTERABLE_DOMAIN_KEYS, FeatureUnavailableState, GlowDot, HeroStatsRow, IN_FLIGHT_EXECUTION_STATUSES, IdentityDomainSchema, IntegrationResourceEntrySchema, JsonViewer, KNOWLEDGE_DOMAINS_WITH_PANELS, KNOWLEDGE_ICON_TOKEN_BY_KIND, KnowledgeSearchBar, KnowledgeTree, LEAD_GEN_API_READINESS_CONTRACT, LEAD_GEN_ITEMS, LEAD_GEN_LIST_OBJECT_ONTOLOGY_ID, LEAD_GEN_STAGE_CATALOG_ONTOLOGY_ID, LeadGenSidebarMiddle, ListActionsProvider, ListSkeleton, MyReviewQueuePanel, MyTasksPanel, NavigationButton, NoAccessState, NotificationProvider, OM_NESTED_TREE_GROUPS, OM_TREE_GROUPS, ORGANIZATION_GRAPH_EDGE_KIND_LABELS, ORGANIZATION_GRAPH_EDGE_KIND_MEANINGS, ORGANIZATION_GRAPH_NODE_KIND_DETAIL_LABELS, ORGANIZATION_GRAPH_NODE_KIND_LABELS, ORGANIZATION_GRAPH_NODE_KIND_MEANINGS, ORGANIZATION_GRAPH_NODE_KIND_ORDER, ORGANIZATION_NODE_ID, OperationsService, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, OrganizationModelDriftActionIcon, OverviewList, OverviewListRow, PageNotFound, PageTitleCaption, ProtectedRoute, QuickCreateActions, RequestActionIcon, RequestModal, ResourceCard, ResourcesSidebar, RoleSchema, SAVED_VIEW_PRESETS, SEOSidebar, SEOSidebarMiddle, SEOSidebarTop, SYSTEM_RESOURCE_KINDS, SavedViewsPanel, ScriptResourceEntrySchema, SemanticIcon, SessionListItem, SessionsSidebar, StatCard, StatCardSkeleton, StatsCardSkeleton, StatusBadge, SubshellContainer, SubshellContentContainer, SubshellNavItem, SubshellRightSideContainer, SubshellSidebar, SubshellSidebarLoader, SubshellSidebarSection, SurfaceDefinitionSchema, SystemReadinessAlert, SystemShell, SystemUnavailableState, TERMINAL_EXECUTION_STATUSES, TabCountBadge, TimeRangeSelector, TrendIndicator, WorkflowResourceEntrySchema, accessKeys, acquisitionListKeys, aggregateSystemMetrics, buildKnowledgeOmTreeData, buildOrganizationGraph, clientsManifest, collectResourceFilterFacets, commandQueueKeys, computeProtectedRouteGate, contentKeys, contentManifest, createTestSystemsProvider, crmManifest, dealKeys, dealTaskKeys, deliveryManifest, deriveContentBoard, executionsKeys, extendSemanticIconRegistry, filterByDomainFilters, findKnowledgeTreeNodeByValue, findListActionByAction, findOmTreeGroup, formatResourceAttribution, getAllBuildTemplates, getConceptDefinition, getContentItemIdentity, getCrmPipelineCatalog, getKnowledgeDomainFolderCommand, getKnowledgeGraphNodeCommand, getKnowledgeIconToken, getKnowledgeNodeReadCommand, getKnowledgeOntologyProjection, getKnowledgeTreeFolderCommand, getLeadGenStageCatalog, getListActionWorkflowId, getOntologyDomainLabel, getPrimaryOntologyItemsForDomain, getResourceFilterFacetIds, getSemanticIconComponent, getSeriesColor, getSessionView, getSharedOrganizationGraph, isAwaitingReview, isExecutionInFlight, isSessionCapable, joinSourceAssetDetails, knowledgeManifest, labelResourceFilterFacet, leadGenManifest, monitoringManifest, normaliseConceptKey, observabilityKeys, operationsKeys, operationsManifest, pickCoverSourceAsset, pickLatestRunAt, projectNavigationGroups, projectNavigationSurfaces, readItemSourceAssets, requestTopbarActionManifest, requestsKeys, resolveContentStepResource, resolveContentVocabulary, resolveContentWorkspaceRoute, resolveCurrentContentStep, resolveReviewTarget, resolveSemanticIconComponent, selectDeclaredSystems, seoManifest, sessionsKeys, settingsManifest, sidebarBottomSectionCollapsedHeight, sidebarBottomSectionHeight, sidebarCollapsedWidth, sidebarGroupChevronSize, sidebarHoverDelay, sidebarIconInnerSize, sidebarIconSize, sidebarIconStroke, sidebarItemGap, sidebarItemHeight, sidebarItemPadding, sidebarSectionPadding, sidebarSubLinkIndent, sidebarSubLinkPaddingX, sidebarSubLinkPaddingY, sidebarToggleIconSize, sidebarTransitionDuration, sidebarWidth, submittedRequestsManifest, subshellNavItemIconSize, sumStatusCounts, topbarHeight, useAccess, useAddContentItemSourceAsset, useAppearance, useArchiveSession, useArchivedLogs, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCommandQueue, useCommandQueueTask, useCommandQueueTotals, useCommandViewDomainFilters, useCompleteDealTask, useContentConfig, useContentDistribution, useContentDistributionMetrics, useContentDistributions, useContentItem, useContentItemAttempts, useContentItemSourceAssetDetails, useContentItemSourceAssets, useContentItems, useContentPipelineSummary, useContentSourceAsset, useContentSourceAssets, useCostBreakdown, useCostByModel, useCostTrends, useCreateContentDistribution, useCreateContentItem, useCreateContentSourceAsset, useCreateDealTask, useCreateList, useCreateSession, useCrmActions, useCyberColors, useDashboardMetrics, useDealTasks, useDealTasksDue, useDeals, useDealsLookup, useDealsSummary, useDeleteDeal, useDeleteExecution, useDeleteList, useDeleteSession, useDeleteTask, useElevasisSystems, useEndSession, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorTrends, useExecuteAsync, useExecuteResource, useExecution, useExecutionLogSSE, useExecutionPanelState, useExecutionSSE, useExecutions, useInFlightExecutions, useLeadGenActionRegistry, useLeadGenBulkActions, useLeadGenHeaderActions, useLeadGenRowActions, useList, useListActions, useListExecutions, useListProgress, useListRecords, useLists, useListsTelemetry, useNotificationAdapter, useOptionalElevasisSystems, useOrganizationModelDrift, usePaginationState, usePatchTask, useRecentExecutionsByResource, useRemoveContentItemSourceAsset, useReorderContentItemSourceAssets, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResolvedOrganizationModel, useResolvedTimeRange, useResourceDefinition, useResourceSearch, useResources, useResourcesDomainFilters, useResourcesHealth, useRetryExecution, useReviewContentItem, useSSEConnection, useSession, useSessionCheck, useSessions, useStableAccessToken, useStatusFilter, useSubmitAction, useSubmitRequest, useSystemHealth, useSystemsViewState, useTopFailingResources, useUnresolveError, useUnresolvedErrors, useUpdateContentDistribution, useUpdateContentItem, useUpdateContentItemSourceAsset, useUpdateContentSourceAsset, useUpdateList, useUpdateListConfig, useWorkflowExecution };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { useMarkAsRead, useExecutionLogsFilters, useExecutionLogs, useExecutionHealth, useCostSummary, useActivityFilters, useActivityTrend, useActivities, useNotifications, useMarkAllAsRead } from './chunk-
|
|
2
|
-
import { AppShellLoader } from './chunk-
|
|
1
|
+
import { useMarkAsRead, useExecutionLogsFilters, useExecutionLogs, useExecutionHealth, useCostSummary, useActivityFilters, useActivityTrend, useActivities, useNotifications, useMarkAllAsRead } from './chunk-34YVWPW6.js';
|
|
2
|
+
import { AppShellLoader } from './chunk-JCETE623.js';
|
|
3
3
|
import { useTimeRangeDates } from './chunk-YQQ5GRUR.js';
|
|
4
4
|
import { FilterBar } from './chunk-PDHTXPSF.js';
|
|
5
|
-
import { CenteredErrorState, StatsCardSkeleton, CyberAreaChart, TrendIndicator, DetailCardSkeleton, useResolveError, useResolveAllErrors, usePaginationState, useErrorDetails, EmptyState, useResolvedTimeRange, PageTitleCaption, useErrorAnalysis, useErrorDetail, useResolveErrorsByExecution, useResources, CustomModal, JsonViewer, useCostTrends, useCostByModel, useCostBreakdown, CostTrendChart, ActivityTrendChart } from './chunk-
|
|
5
|
+
import { CenteredErrorState, StatsCardSkeleton, CyberAreaChart, TrendIndicator, DetailCardSkeleton, useResolveError, useResolveAllErrors, usePaginationState, useErrorDetails, EmptyState, useResolvedTimeRange, PageTitleCaption, useErrorAnalysis, useErrorDetail, useResolveErrorsByExecution, useResources, CustomModal, JsonViewer, useCostTrends, useCostByModel, useCostBreakdown, CostTrendChart, ActivityTrendChart } from './chunk-VGHYGEPR.js';
|
|
6
6
|
import { CardHeader } from './chunk-62GVNH5U.js';
|
|
7
7
|
import { formatDuration } from './chunk-2HXDI4RY.js';
|
|
8
|
-
import { PAGE_SIZE_DEFAULT } from './chunk-
|
|
8
|
+
import { PAGE_SIZE_DEFAULT } from './chunk-VFWOUD3M.js';
|
|
9
9
|
import { formatBucketTime, getTimeRangeDates } from './chunk-6XBZPKMI.js';
|
|
10
10
|
import { useRouterContext } from './chunk-Q7DJKLEN.js';
|
|
11
11
|
import { useState, useMemo, useCallback } from 'react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PageContainer } from './chunk-BZZCNLT6.js';
|
|
2
|
-
import { sidebarItemGap, sidebarSubLinkPaddingY, sidebarSubLinkPaddingX, sidebarSubLinkIndent, sidebarHoverDelay, sidebarTransitionDuration, sidebarCollapsedWidth, sidebarWidth, topbarHeight, sidebarToggleIconSize, sidebarSectionPadding, NavigationButton, useAppearance, sidebarGroupChevronSize, sidebarIconInnerSize, SubshellNavItem, useElevasisSystems } from './chunk-
|
|
2
|
+
import { sidebarItemGap, sidebarSubLinkPaddingY, sidebarSubLinkPaddingX, sidebarSubLinkIndent, sidebarHoverDelay, sidebarTransitionDuration, sidebarCollapsedWidth, sidebarWidth, topbarHeight, sidebarToggleIconSize, sidebarSectionPadding, NavigationButton, useAppearance, sidebarGroupChevronSize, sidebarIconInnerSize, SubshellNavItem, useElevasisSystems } from './chunk-VGHYGEPR.js';
|
|
3
3
|
import { useRouterContext } from './chunk-Q7DJKLEN.js';
|
|
4
4
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
5
5
|
import { createContext, memo, useEffect, useRef, createElement, useContext, useLayoutEffect, useState, Fragment as Fragment$1 } from 'react';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { acquisitionListKeys, useNotificationAdapter } from './chunk-
|
|
3
|
-
import { showApiErrorNotification, showSuccessNotification } from './chunk-
|
|
1
|
+
import { deriveCompiledCrmActions } from './chunk-BIKD5UUM.js';
|
|
2
|
+
import { useCrmActions, acquisitionListKeys, useNotificationAdapter } from './chunk-VGHYGEPR.js';
|
|
3
|
+
import { showApiErrorNotification, showSuccessNotification } from './chunk-DRTC7LRG.js';
|
|
4
4
|
import { useElevasisServices } from './chunk-BI5VDO2K.js';
|
|
5
5
|
import { CredentialNameSchema, UuidSchema } from './chunk-34B3ACOZ.js';
|
|
6
6
|
import { useQuery, useQueryClient, useMutation } from '@tanstack/react-query';
|
|
@@ -172,14 +172,19 @@ function useTransitionListMember() {
|
|
|
172
172
|
}
|
|
173
173
|
});
|
|
174
174
|
}
|
|
175
|
+
function toAction(compiledAction) {
|
|
176
|
+
const { key, label, payloadSchema } = compiledAction;
|
|
177
|
+
return { key, label, payloadSchema };
|
|
178
|
+
}
|
|
175
179
|
function useDeriveActions(item) {
|
|
180
|
+
const crmActions = useCrmActions();
|
|
176
181
|
return useMemo(() => {
|
|
177
182
|
if (!item) return [];
|
|
178
|
-
if (item.pipeline_key
|
|
179
|
-
return
|
|
183
|
+
if (item.pipeline_key === "crm") {
|
|
184
|
+
return deriveCompiledCrmActions(item, crmActions).map(toAction);
|
|
180
185
|
}
|
|
181
186
|
return [];
|
|
182
|
-
}, [item]);
|
|
187
|
+
}, [item, crmActions]);
|
|
183
188
|
}
|
|
184
189
|
function useUpdateListStatus() {
|
|
185
190
|
const { apiRequest, workOSOrganizationId } = useElevasisServices();
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { SubshellLoader } from './chunk-
|
|
2
|
-
import { CollapsibleJsonSection, ExecutionStats, UnifiedWorkflowGraph, WorkflowExecutionTimeline, AgentExecutionVisualizer, AgentExecutionTimeline, AgentIterationDetailPanel } from './chunk-
|
|
3
|
-
import { useCommandViewData, useCommandViewStats, useCommandViewStore, useResourceExecutions, useCheckpointTasks, useSessionMessages, useSessionWebSocket, useSessionExecutions } from './chunk-
|
|
4
|
-
import { findNavigationSurfaceForSystem, getSystemApiInterfaceReadiness } from './chunk-
|
|
1
|
+
import { SubshellLoader } from './chunk-CUJBF3X6.js';
|
|
2
|
+
import { CollapsibleJsonSection, ExecutionStats, UnifiedWorkflowGraph, WorkflowExecutionTimeline, AgentExecutionVisualizer, AgentExecutionTimeline, AgentIterationDetailPanel } from './chunk-JPQNXH4X.js';
|
|
3
|
+
import { useCommandViewData, useCommandViewStats, useCommandViewStore, useResourceExecutions, useCheckpointTasks, useSessionMessages, useSessionWebSocket, useSessionExecutions } from './chunk-JXS2LDGN.js';
|
|
4
|
+
import { findNavigationSurfaceForSystem, getSystemApiInterfaceReadiness } from './chunk-LKZV5TDL.js';
|
|
5
5
|
import { FormFieldRenderer } from './chunk-3MEXPLWT.js';
|
|
6
6
|
import { ChatInterface, ChatHeader } from './chunk-SNZDFCOQ.js';
|
|
7
7
|
import { mergeSessionMessages } from './chunk-QFGNRKIE.js';
|
|
8
|
-
import { ResourceHealthPanel } from './chunk-
|
|
9
|
-
import { AppShellLoader } from './chunk-
|
|
8
|
+
import { ResourceHealthPanel } from './chunk-4ILZBLQY.js';
|
|
9
|
+
import { AppShellLoader } from './chunk-JCETE623.js';
|
|
10
10
|
import { Graph_module_css_default } from './chunk-HENXLGVD.js';
|
|
11
11
|
import { PageContainer } from './chunk-BZZCNLT6.js';
|
|
12
|
-
import { DEFAULT_ORGANIZATION_GRAPH_FILTERS, resolveSemanticIconComponent, CustomModal, useAppearance, useErrorDetail, JsonViewer, useExecution, useArchivedLogs, useDeleteExecution, useRetryExecution, useCancelExecution, ConfirmationModal, PageTitleCaption, CollapsibleSection, useResolvedTimeRange, useStatusFilter, useResourceSearch, useResourcesDomainFilters, usePaginationState, useResources, useRecentExecutionsByResource, filterByDomainFilters, TabCountBadge, ResourceCard, useResourceDefinition, isSessionCapable, useOptionalElevasisSystems, useDeleteTask, useCommandQueue, useSubmitAction, useCommandQueueTask, ContextViewer, useElevasisSystems, buildOrganizationGraph, EmptyState, useExecutionPanelState, useSessions, SessionListItem, useDeleteSession, useEndSession, useCreateSession, topbarHeight, useSession, getSessionView, SubshellContentContainer, ORGANIZATION_NODE_ID, collectResourceFilterFacets, SemanticIcon, useSystemsViewState, aggregateSystemMetrics, useSystemHealth, ORGANIZATION_GRAPH_NODE_KIND_ORDER, formatResourceAttribution, SYSTEM_RESOURCE_KINDS, ORGANIZATION_GRAPH_NODE_KIND_LABELS, ORGANIZATION_GRAPH_EDGE_KIND_LABELS, ORGANIZATION_GRAPH_NODE_KIND_DETAIL_LABELS, ORGANIZATION_GRAPH_NODE_KIND_MEANINGS, ORGANIZATION_GRAPH_EDGE_KIND_MEANINGS } from './chunk-
|
|
13
|
-
import { showApiErrorNotification, showSuccessNotification } from './chunk-
|
|
12
|
+
import { DEFAULT_ORGANIZATION_GRAPH_FILTERS, resolveSemanticIconComponent, CustomModal, useAppearance, useErrorDetail, JsonViewer, useExecution, useArchivedLogs, useDeleteExecution, useRetryExecution, useCancelExecution, ConfirmationModal, PageTitleCaption, CollapsibleSection, useResolvedTimeRange, useStatusFilter, useResourceSearch, useResourcesDomainFilters, usePaginationState, useResources, useRecentExecutionsByResource, filterByDomainFilters, TabCountBadge, ResourceCard, useResourceDefinition, isSessionCapable, useOptionalElevasisSystems, useDeleteTask, useCommandQueue, useSubmitAction, useCommandQueueTask, ContextViewer, useElevasisSystems, buildOrganizationGraph, EmptyState, useExecutionPanelState, useSessions, SessionListItem, useDeleteSession, useEndSession, useCreateSession, topbarHeight, useSession, getSessionView, SubshellContentContainer, ORGANIZATION_NODE_ID, collectResourceFilterFacets, SemanticIcon, useSystemsViewState, aggregateSystemMetrics, useSystemHealth, ORGANIZATION_GRAPH_NODE_KIND_ORDER, formatResourceAttribution, SYSTEM_RESOURCE_KINDS, ORGANIZATION_GRAPH_NODE_KIND_LABELS, ORGANIZATION_GRAPH_EDGE_KIND_LABELS, ORGANIZATION_GRAPH_NODE_KIND_DETAIL_LABELS, ORGANIZATION_GRAPH_NODE_KIND_MEANINGS, ORGANIZATION_GRAPH_EDGE_KIND_MEANINGS } from './chunk-VGHYGEPR.js';
|
|
13
|
+
import { showApiErrorNotification, showSuccessNotification } from './chunk-DRTC7LRG.js';
|
|
14
14
|
import { CardHeader } from './chunk-62GVNH5U.js';
|
|
15
15
|
import { useInitialization } from './chunk-P45GQ3ZW.js';
|
|
16
16
|
import { StyledMarkdown } from './chunk-3KMDHCAR.js';
|
|
17
17
|
import { getResourceStatusColor, useMergedExecution, useTimelineData, useAgentIterationData } from './chunk-2HXDI4RY.js';
|
|
18
18
|
import { useOrganization } from './chunk-DD3CCMCZ.js';
|
|
19
|
-
import { getErrorInfo, formatErrorMessage, getResourceIcon, formatRelativeTime, PAGE_SIZE_DEFAULT, listAllSystems, getSystem, compileOrganizationOntology, getSystemAncestors } from './chunk-
|
|
19
|
+
import { getErrorInfo, formatErrorMessage, getResourceIcon, formatRelativeTime, PAGE_SIZE_DEFAULT, listAllSystems, getSystem, compileOrganizationOntology, getSystemAncestors } from './chunk-VFWOUD3M.js';
|
|
20
20
|
import { ResourceStatusColors, toWorkflowLogMessages } from './chunk-7ZUXA2NW.js';
|
|
21
21
|
import { useElevasisServices } from './chunk-BI5VDO2K.js';
|
|
22
22
|
import { useRouterContext } from './chunk-Q7DJKLEN.js';
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as react from 'react';
|
|
3
2
|
import { ReactNode } from 'react';
|
|
4
3
|
|
|
@@ -59,7 +58,7 @@ interface ChatSidebarProps {
|
|
|
59
58
|
* </div>
|
|
60
59
|
* ```
|
|
61
60
|
*/
|
|
62
|
-
declare function ChatSidebar({ isOpen, title, children, width, zIndex }: ChatSidebarProps):
|
|
61
|
+
declare function ChatSidebar({ isOpen, title, children, width, zIndex }: ChatSidebarProps): react.JSX.Element;
|
|
63
62
|
|
|
64
63
|
interface ChatHeaderProps {
|
|
65
64
|
title: string;
|
|
@@ -80,7 +79,7 @@ interface ChatHeaderProps {
|
|
|
80
79
|
* Shared chat header component
|
|
81
80
|
* Displays title, status badge, context usage, and optional sidebar toggle
|
|
82
81
|
*/
|
|
83
|
-
declare function ChatHeader({ title, status, contextUsage, sidebarIcon, onToggleSidebar, isSidebarOpen, sidebarTooltip }: ChatHeaderProps):
|
|
82
|
+
declare function ChatHeader({ title, status, contextUsage, sidebarIcon, onToggleSidebar, isSidebarOpen, sidebarTooltip }: ChatHeaderProps): react.JSX.Element;
|
|
84
83
|
|
|
85
84
|
interface ChatInputAreaProps {
|
|
86
85
|
input: string;
|
|
@@ -190,7 +189,7 @@ interface ChatInterfaceProps {
|
|
|
190
189
|
* Used across ai studio sessions and production agent chat
|
|
191
190
|
* Handles message display, auto-scroll, and input area
|
|
192
191
|
*/
|
|
193
|
-
declare function ChatInterface({ messages, input, onInputChange, onSendMessage, className, style, isProcessing, isConnected, inputDisabled, error, onClearError, emptyStateText, emptyStateSubtext, placeholder, messageAreaVariant, showAgentActivity }: ChatInterfaceProps):
|
|
192
|
+
declare function ChatInterface({ messages, input, onInputChange, onSendMessage, className, style, isProcessing, isConnected, inputDisabled, error, onClearError, emptyStateText, emptyStateSubtext, placeholder, messageAreaVariant, showAgentActivity }: ChatInterfaceProps): react.JSX.Element;
|
|
194
193
|
|
|
195
194
|
interface MessageBubbleProps {
|
|
196
195
|
message: ChatMessage;
|
|
@@ -207,7 +206,7 @@ declare const MessageBubble: react.NamedExoticComponent<MessageBubbleProps>;
|
|
|
207
206
|
* Each letter brightens sequentially, creating the illusion
|
|
208
207
|
* of a streak of light sweeping across the text.
|
|
209
208
|
*/
|
|
210
|
-
declare function ProcessingIndicator():
|
|
209
|
+
declare function ProcessingIndicator(): react.JSX.Element;
|
|
211
210
|
|
|
212
211
|
export { ChatHeader, ChatInputArea, ChatInterface, ChatSidebar, MessageBubble, ProcessingIndicator };
|
|
213
212
|
export type { ChatHeaderProps, ChatInputAreaProps, ChatInterfaceProps, ChatSidebarProps, MessageBubbleProps };
|