@elevasis/ui 2.79.0 → 2.81.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/{CoreAuthKitInner-PSTKG4B3.js → CoreAuthKitInner-5J7P7ZDL.js} +1 -1
- package/dist/api/index.js +6 -6
- package/dist/app/index.d.ts +1 -15
- package/dist/app/index.js +18 -18
- package/dist/auth/index.js +10 -10
- package/dist/charts/index.d.ts +4 -4
- package/dist/charts/index.js +10 -10
- package/dist/{chunk-NCPNKI3V.js → chunk-2HXDI4RY.js} +1 -1
- package/dist/{chunk-TVTSASST.js → chunk-34B3ACOZ.js} +9 -1
- package/dist/{chunk-AZCDL2SS.js → chunk-3ZADOARU.js} +5 -5
- package/dist/{chunk-2IU6BP6F.js → chunk-42C2WVYU.js} +11 -10
- package/dist/{chunk-3ONNZ4SO.js → chunk-52AZTFUR.js} +6 -6
- package/dist/{chunk-MGCXAAX4.js → chunk-5GYJ3IDO.js} +15 -9
- package/dist/{chunk-SJRIO26Q.js → chunk-6J3SCCZ2.js} +2 -2
- package/dist/{chunk-A37T4NIZ.js → chunk-6YWBMLEM.js} +22 -11
- package/dist/{chunk-GWCLI2RX.js → chunk-75OLN23F.js} +22 -39
- package/dist/{chunk-LDQSTEFW.js → chunk-7D4FKBB4.js} +38 -14
- package/dist/{chunk-JZQNUQE4.js → chunk-7RS2NUC6.js} +10 -2
- package/dist/{chunk-7ICEQPBU.js → chunk-AI5OYVLR.js} +1 -1
- package/dist/{chunk-G3WOMHVI.js → chunk-BLYK6I4D.js} +4 -3
- package/dist/{chunk-5ZK7K7YP.js → chunk-DEZW7QDI.js} +38 -25
- package/dist/{chunk-QLEY6Q7K.js → chunk-FPRDEKFY.js} +1 -1
- package/dist/{chunk-SVZR4GYA.js → chunk-G6VHIXWD.js} +1 -1
- package/dist/{chunk-VM2OWOXL.js → chunk-GY7FXTC4.js} +2 -3
- package/dist/{chunk-GFSOQH3N.js → chunk-HDITVHZT.js} +8 -11
- package/dist/{chunk-ASI3FDPC.js → chunk-HDLYC63N.js} +1 -1
- package/dist/{chunk-2GIJBHZT.js → chunk-IIMC4TRH.js} +3 -3
- package/dist/{chunk-22TWX4XG.js → chunk-ILOKKA6L.js} +8 -8
- package/dist/{chunk-4ZHX5KOT.js → chunk-JLKZUO2I.js} +1 -1
- package/dist/{chunk-WJO6QEI7.js → chunk-K635QVGI.js} +33 -78
- package/dist/{chunk-R42OYAQ2.js → chunk-KU7KN5VN.js} +1 -1
- package/dist/{chunk-6AJUWYKS.js → chunk-LGJASP5H.js} +1 -1
- package/dist/{chunk-4IYWLUXA.js → chunk-LTKBVL7D.js} +14 -10
- package/dist/{chunk-INCEZAM3.js → chunk-LTRJZOHA.js} +1 -1
- package/dist/{chunk-RMLWK3IR.js → chunk-O4XUKLRY.js} +1 -1
- package/dist/{chunk-3RK2NNJX.js → chunk-PJN6CMWZ.js} +1 -1
- package/dist/{chunk-KXNRTJAE.js → chunk-PNCJJE4Z.js} +1 -1
- package/dist/{chunk-4VGPEDQF.js → chunk-PSGSFPWA.js} +126 -69
- package/dist/{chunk-QMAIUPXK.js → chunk-QEQXPWOK.js} +23 -231
- package/dist/{chunk-M77G2MGW.js → chunk-QFKOHZM3.js} +3 -3
- package/dist/{chunk-P6HHXMLJ.js → chunk-ROC2TFPS.js} +10 -9
- package/dist/{chunk-QMOBXKW3.js → chunk-SHJYK2X4.js} +222 -191
- package/dist/{chunk-ODXLZZFR.js → chunk-SOBKRB4N.js} +1 -1
- package/dist/{chunk-SXZMHLH6.js → chunk-SWC54W3A.js} +4 -4
- package/dist/{chunk-G4IEH7NX.js → chunk-TLMNBOAG.js} +5 -5
- package/dist/{chunk-N6K2Q5BM.js → chunk-WDABHUIL.js} +9 -21
- package/dist/{chunk-3KCLWJDC.js → chunk-XUL4UBYJ.js} +22 -11
- package/dist/{chunk-UD657ICS.js → chunk-YJ437RDY.js} +29 -16
- package/dist/components/index.d.ts +18 -20
- package/dist/components/index.js +48 -48
- package/dist/components/navigation/index.js +11 -11
- package/dist/execution/index.js +2 -2
- package/dist/features/auth/index.d.ts +1 -1
- package/dist/features/auth/index.js +12 -12
- package/dist/features/clients/index.js +14 -15
- package/dist/features/content/index.js +13 -13
- package/dist/features/crm/index.d.ts +0 -14
- package/dist/features/crm/index.js +16 -16
- package/dist/features/dashboard/index.d.ts +8 -8
- package/dist/features/dashboard/index.js +13 -13
- package/dist/features/delivery/index.d.ts +0 -14
- package/dist/features/delivery/index.js +25 -25
- package/dist/features/knowledge/index.js +10 -10
- package/dist/features/lead-gen/index.d.ts +103 -48
- package/dist/features/lead-gen/index.js +17 -17
- package/dist/features/monitoring/index.d.ts +10 -10
- package/dist/features/monitoring/index.js +15 -15
- package/dist/features/monitoring/requests/index.js +12 -12
- package/dist/features/notes/index.js +1 -1
- package/dist/features/operations/index.d.ts +12 -12
- package/dist/features/operations/index.js +18 -18
- package/dist/features/public-agent-chat/index.js +4 -4
- package/dist/features/seo/index.d.ts +105 -17
- package/dist/features/seo/index.js +13 -13
- package/dist/features/settings/index.d.ts +1 -1
- package/dist/features/settings/index.js +13 -13
- package/dist/hooks/access/index.d.ts +60 -1
- package/dist/hooks/access/index.js +10 -10
- package/dist/hooks/delivery/index.d.ts +0 -14
- package/dist/hooks/delivery/index.js +6 -6
- package/dist/hooks/published.d.ts +286 -107
- package/dist/hooks/published.js +23 -23
- package/dist/hooks/user-notes/index.js +1 -1
- package/dist/initialization/index.d.ts +13 -1
- package/dist/initialization/index.js +1 -1
- package/dist/knowledge/index.d.ts +1 -1
- package/dist/knowledge/index.js +93 -91
- package/dist/{knowledge-search-index-6GQK55IQ.js → knowledge-search-index-UPKXCXQP.js} +91 -91
- package/dist/layout/index.js +14 -14
- package/dist/organization/index.d.ts +17 -1
- package/dist/organization/index.js +2 -2
- package/dist/profile/index.d.ts +1 -1
- package/dist/profile/index.js +1 -1
- package/dist/provider/ElevasisServiceContext.js +1 -1
- package/dist/provider/index.d.ts +0 -14
- package/dist/provider/index.js +10 -10
- package/dist/provider/published.d.ts +0 -14
- package/dist/provider/published.js +10 -10
- package/dist/sse/index.d.ts +7 -1
- package/dist/sse/index.js +36 -2
- package/dist/test-utils/index.d.ts +3 -1
- package/dist/test-utils/index.js +32 -9
- package/dist/types/index.d.ts +13 -15
- package/dist/utils/index.d.ts +25 -7
- package/dist/utils/index.js +4 -4
- package/package.json +24 -14
- /package/dist/{chunk-Y6I3IC45.js → chunk-6XBZPKMI.js} +0 -0
- /package/dist/{chunk-5F3QGBEI.js → chunk-7ZUXA2NW.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
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-7D4FKBB4.js';
|
|
2
|
+
import { AppShellLoader } from './chunk-LGJASP5H.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, 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-PSGSFPWA.js';
|
|
6
6
|
import { CardHeader } from './chunk-62GVNH5U.js';
|
|
7
|
-
import { formatDuration } from './chunk-
|
|
8
|
-
import { PAGE_SIZE_DEFAULT } from './chunk-
|
|
9
|
-
import { formatBucketTime, getTimeRangeDates } from './chunk-
|
|
7
|
+
import { formatDuration } from './chunk-2HXDI4RY.js';
|
|
8
|
+
import { PAGE_SIZE_DEFAULT } from './chunk-DEZW7QDI.js';
|
|
9
|
+
import { formatBucketTime, getTimeRangeDates } from './chunk-6XBZPKMI.js';
|
|
10
10
|
import { useRouterContext } from './chunk-Q7DJKLEN.js';
|
|
11
11
|
import { useState, useMemo, useCallback } from 'react';
|
|
12
12
|
import { Table, Text, Badge, Tooltip, Card, Group, Select, SegmentedControl, Button, TextInput, Stack, Paper, Center, Loader, ActionIcon, NumberFormatter, Box, Alert, Switch, Pagination, UnstyledButton, Title, Divider, Code, CopyButton, Accordion } from '@mantine/core';
|
|
@@ -1274,11 +1274,12 @@ function NotificationList({ notifications, isLoading, onClose, onNavigate }) {
|
|
|
1274
1274
|
return /* @__PURE__ */ jsx(Stack, { gap: 0, children: notifications.map((notification) => /* @__PURE__ */ jsx(NotificationItem, { notification, onClose, onNavigate }, notification.id)) });
|
|
1275
1275
|
}
|
|
1276
1276
|
function ExecutionLogsPage({
|
|
1277
|
-
timeRange,
|
|
1277
|
+
timeRange: timeRangeProp,
|
|
1278
1278
|
pageSize = 20,
|
|
1279
1279
|
onNavigateToExecution,
|
|
1280
1280
|
renderTrendChart
|
|
1281
1281
|
}) {
|
|
1282
|
+
const timeRange = useResolvedTimeRange(timeRangeProp);
|
|
1282
1283
|
const { filters, updateFilter, resetFilters } = useExecutionLogsFilters(timeRange);
|
|
1283
1284
|
const startDate = useMemo(() => {
|
|
1284
1285
|
const { startDate: sd } = getTimeRangeDates(timeRange);
|
|
@@ -1316,7 +1317,8 @@ function ExecutionLogsPage({
|
|
|
1316
1317
|
] }) })
|
|
1317
1318
|
] });
|
|
1318
1319
|
}
|
|
1319
|
-
function ExecutionHealth({ timeRange, onErrorClick }) {
|
|
1320
|
+
function ExecutionHealth({ timeRange: timeRangeProp, onErrorClick }) {
|
|
1321
|
+
const timeRange = useResolvedTimeRange(timeRangeProp);
|
|
1320
1322
|
const { data, isLoading, error } = useExecutionHealth({ timeRange });
|
|
1321
1323
|
const { data: errorData, isLoading: errorLoading, error: errorError } = useErrorAnalysis(timeRange);
|
|
1322
1324
|
const { startDate, endDate } = useTimeRangeDates(timeRange);
|
|
@@ -1568,7 +1570,8 @@ ${primaryError.errorContext ? JSON.stringify(primaryError.errorContext, null, 2)
|
|
|
1568
1570
|
] })
|
|
1569
1571
|
] }) });
|
|
1570
1572
|
}
|
|
1571
|
-
function CostAnalytics({ timeRange }) {
|
|
1573
|
+
function CostAnalytics({ timeRange: timeRangeProp }) {
|
|
1574
|
+
const timeRange = useResolvedTimeRange(timeRangeProp);
|
|
1572
1575
|
const { data: trendsData, isLoading: trendsLoading, error: trendsError } = useCostTrends(timeRange);
|
|
1573
1576
|
const { data: summaryData } = useCostSummary(timeRange);
|
|
1574
1577
|
const { data: modelData, isLoading: modelLoading, error: modelError } = useCostByModel(timeRange);
|
|
@@ -1616,7 +1619,8 @@ function getNavigationPath2(activity) {
|
|
|
1616
1619
|
return null;
|
|
1617
1620
|
}
|
|
1618
1621
|
}
|
|
1619
|
-
function ActivityLog({ timeRange, pageSize = PAGE_SIZE_DEFAULT, onNavigate }) {
|
|
1622
|
+
function ActivityLog({ timeRange: timeRangeProp, pageSize = PAGE_SIZE_DEFAULT, onNavigate }) {
|
|
1623
|
+
const timeRange = useResolvedTimeRange(timeRangeProp);
|
|
1620
1624
|
const { filters, updateFilter, resetFilters } = useActivityFilters(timeRange);
|
|
1621
1625
|
const startDate = useMemo(() => {
|
|
1622
1626
|
const { startDate: startDate2 } = getTimeRangeDates(timeRange);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getErrorInfo, formatErrorMessage, getErrorTitle } from './chunk-
|
|
1
|
+
import { getErrorInfo, formatErrorMessage, getErrorTitle } from './chunk-DEZW7QDI.js';
|
|
2
2
|
import { notifications } from '@mantine/notifications';
|
|
3
3
|
|
|
4
4
|
var showInfoNotification = (message) => {
|
|
@@ -1,18 +1,18 @@
|
|
|
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-7RS2NUC6.js';
|
|
4
|
+
import { showApiErrorNotification, showSuccessNotification } from './chunk-PNCJJE4Z.js';
|
|
5
5
|
import { CardHeader } from './chunk-62GVNH5U.js';
|
|
6
6
|
import { InitializationContext, useInitialization, InitializationProvider } from './chunk-P45GQ3ZW.js';
|
|
7
|
-
import { SessionIdParamSchema, CreateSessionSchema } from './chunk-
|
|
7
|
+
import { SessionIdParamSchema, CreateSessionSchema } from './chunk-IIMC4TRH.js';
|
|
8
8
|
import { StyledMarkdown } from './chunk-3KMDHCAR.js';
|
|
9
|
-
import { getStatusIcon } from './chunk-
|
|
10
|
-
import { invalidateOrgScopedQueries, OrganizationProvider } from './chunk-
|
|
9
|
+
import { getStatusIcon } from './chunk-2HXDI4RY.js';
|
|
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,
|
|
14
|
-
import { getTimeRangeLabel, getTimeRangeDates, formatBucketTime, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_DASHBOARD, debounce } from './chunk-
|
|
15
|
-
import { ResourceStatusColors } 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-DEZW7QDI.js';
|
|
14
|
+
import { getTimeRangeLabel, getTimeRangeDates, formatBucketTime, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_DASHBOARD, debounce } from './chunk-6XBZPKMI.js';
|
|
15
|
+
import { ResourceStatusColors } from './chunk-7ZUXA2NW.js';
|
|
16
16
|
import { ElevasisServiceContext, useElevasisServices, ElevasisServiceProvider } from './chunk-BI5VDO2K.js';
|
|
17
17
|
import { brandWorkOsOrgId, brandSupabaseOrgId } from './chunk-MQZE7SUI.js';
|
|
18
18
|
import { useAuthContext } from './chunk-BRJ3QZ4E.js';
|
|
@@ -21,7 +21,7 @@ import { createContext, lazy, forwardRef, useContext, useRef, useState, useMemo,
|
|
|
21
21
|
import { QueryClientProvider, useQuery, useQueryClient, useMutation, useQueries, QueryClient } from '@tanstack/react-query';
|
|
22
22
|
import { z } from 'zod';
|
|
23
23
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
24
|
-
import { IconListDetails, IconChecklist, IconShare, IconLayoutGrid, IconColumns, IconFileInvoice, IconList, IconBuilding, IconAddressBook, IconArticle, IconBriefcase, IconBrain, IconTarget, IconActivity, IconCode, IconSettings, IconMail, IconSend, IconFileText, IconClock, IconArrowUp, IconMessageCircle, IconRocket, IconEye, IconEdit, IconAlertTriangle, IconRefresh, IconX, IconCheck, IconShieldLock, IconTopologyStar3, IconApps, IconBolt, IconSearch, IconChartBar, IconUsers, IconInfoCircle, IconMessagePlus, IconDatabase, IconGitBranch, IconDashboard, IconBuildingStore, IconUser, IconPlug, IconTargetArrow, IconBook, IconArchive, IconTool, IconCalendar, IconPencil, IconRoute, IconLock, IconMinus, IconTrendingUp, IconTrendingDown, IconChevronUp, IconChevronDown, IconChevronRight, IconAlertCircle, IconBan, IconInbox, IconHeartHandshake, IconUserOff, IconMailForward, IconBell, IconCalendarEvent, IconCalendarCancel, IconMessageReply, IconCircleCheck, IconCreditCard, IconArrowRight, IconPlus, IconDownload, IconChartLine, IconPlayerPlay, IconFilter, IconCategory, IconTrophy, IconClockExclamation, IconAdjustmentsHorizontal, IconCircleX, IconCircleDashed, IconMessage, IconTrash, IconExclamationMark, IconCheckbox, IconPhone, IconSitemap, IconFolder,
|
|
24
|
+
import { IconListDetails, IconChecklist, IconShare, IconLayoutGrid, IconColumns, IconFileInvoice, IconList, IconBuilding, IconAddressBook, IconArticle, IconBriefcase, IconBrain, IconTarget, IconActivity, IconCode, IconSettings, IconMail, IconSend, IconFileText, IconClock, IconArrowUp, IconMessageCircle, IconRocket, IconEye, IconEdit, IconAlertTriangle, IconRefresh, IconX, IconCheck, IconShieldLock, IconTopologyStar3, IconApps, IconBolt, IconSearch, IconChartBar, IconUsers, IconInfoCircle, IconMessagePlus, IconDatabase, IconGitBranch, IconDashboard, IconBuildingStore, IconUser, IconPlug, IconTargetArrow, IconBook, IconArchive, IconTool, IconCalendar, IconPencil, IconRoute, IconLock, IconMinus, IconTrendingUp, IconTrendingDown, IconChevronUp, IconChevronDown, IconChevronRight, IconAlertCircle, IconBan, IconInbox, IconHeartHandshake, IconUserOff, IconMailForward, IconBell, IconCalendarEvent, IconCalendarCancel, IconMessageReply, IconCircleCheck, IconCreditCard, IconArrowRight, IconPlus, IconDownload, IconChartLine, IconPlayerPlay, IconFilter, IconCategory, IconTrophy, IconClockExclamation, IconAdjustmentsHorizontal, IconCircleX, IconCircleDashed, IconMessage, IconTrash, IconExclamationMark, IconCheckbox, IconPhone, IconSitemap, IconFolder, IconCopy, IconStarFilled, IconStar, IconHistory, IconCircleCheckFilled } from '@tabler/icons-react';
|
|
25
25
|
import { UnstyledButton, Box, Group, ThemeIcon, Center, Stack, Title, Text, Modal, Button, Loader, Badge, Collapse, ScrollArea, Card, Select, Alert, Code, Popover, Tooltip, ActionIcon, Paper, Grid, Timeline, Divider, Space, TextInput, useComputedColorScheme, NumberFormatter, SimpleGrid, SegmentedControl, useMantineTheme, RangeSlider, Textarea, useTree, Tree, mergeThemeOverrides, MantineProvider, Checkbox, Tabs, Pagination } from '@mantine/core';
|
|
26
26
|
import { useDisclosure, useClipboard } from '@mantine/hooks';
|
|
27
27
|
import { Prism } from 'react-syntax-highlighter';
|
|
@@ -3135,7 +3135,7 @@ function findListActionByAction(registry, actionKey) {
|
|
|
3135
3135
|
function getListActionWorkflowId(action) {
|
|
3136
3136
|
return action.workflowId ?? action.resourceId;
|
|
3137
3137
|
}
|
|
3138
|
-
var LazyCoreAuthKitInner = lazy(() => import('./CoreAuthKitInner-
|
|
3138
|
+
var LazyCoreAuthKitInner = lazy(() => import('./CoreAuthKitInner-5J7P7ZDL.js').then((m) => ({ default: m.CoreAuthKitInner })));
|
|
3139
3139
|
var defaultQueryClient = null;
|
|
3140
3140
|
function getDefaultQueryClient() {
|
|
3141
3141
|
if (!defaultQueryClient) {
|
|
@@ -4171,6 +4171,14 @@ var ContentSidebarMiddle = ({ workspaceItems, items } = {}) => {
|
|
|
4171
4171
|
var ContentSidebar = ({ workspaceItems, children } = {}) => {
|
|
4172
4172
|
return /* @__PURE__ */ jsx(Stack, { gap: 0, style: { height: "100%", display: "flex", flexDirection: "column" }, children: children ?? /* @__PURE__ */ jsx(ContentSidebarMiddle, { workspaceItems }) });
|
|
4173
4173
|
};
|
|
4174
|
+
|
|
4175
|
+
// src/hooks/access/queryKeys.ts
|
|
4176
|
+
var accessKeys = {
|
|
4177
|
+
all: ["access-permissions"],
|
|
4178
|
+
permissions: (organizationId) => [...accessKeys.all, organizationId]
|
|
4179
|
+
};
|
|
4180
|
+
|
|
4181
|
+
// src/hooks/access/useAccess.ts
|
|
4174
4182
|
var MISSING_CONTEXT_ANSWER = {
|
|
4175
4183
|
allowed: false,
|
|
4176
4184
|
restrictedBy: "membership",
|
|
@@ -4211,7 +4219,7 @@ function useAccess(key) {
|
|
|
4211
4219
|
const shouldFetchPermissions = Boolean(services?.isReady && organizationId && !isPlatformAdmin2);
|
|
4212
4220
|
const permissionsQuery = useQuery({
|
|
4213
4221
|
// eslint-disable-next-line @tanstack/query/exhaustive-deps -- services.apiRequest is a stable context fn, not cache-relevant; query is keyed by organizationId
|
|
4214
|
-
queryKey:
|
|
4222
|
+
queryKey: accessKeys.permissions(organizationId),
|
|
4215
4223
|
queryFn: () => services.apiRequest(`/memberships/my-permissions/${organizationId}`),
|
|
4216
4224
|
enabled: shouldFetchPermissions,
|
|
4217
4225
|
staleTime: STALE_TIME_DEFAULT
|
|
@@ -4248,6 +4256,12 @@ function useAccess(key) {
|
|
|
4248
4256
|
};
|
|
4249
4257
|
}
|
|
4250
4258
|
|
|
4259
|
+
// src/hooks/useResolvedTimeRange.ts
|
|
4260
|
+
var DEFAULT_TIME_RANGE = "30d";
|
|
4261
|
+
function useResolvedTimeRange(timeRange) {
|
|
4262
|
+
return timeRange ?? DEFAULT_TIME_RANGE;
|
|
4263
|
+
}
|
|
4264
|
+
|
|
4251
4265
|
// src/hooks/executions/queryKeys.ts
|
|
4252
4266
|
var executionsKeys = {
|
|
4253
4267
|
all: ["executions"],
|
|
@@ -4691,7 +4705,7 @@ function StatCard(props) {
|
|
|
4691
4705
|
/* @__PURE__ */ jsx(ThemeIcon, { size: "lg", variant: "light", color, children: /* @__PURE__ */ jsx(IconComponent, { size: 18 }) }),
|
|
4692
4706
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
4693
4707
|
/* @__PURE__ */ jsx(Text, { size: "xs", c: "dimmed", children: label }),
|
|
4694
|
-
/* @__PURE__ */ jsx(Text, { size: "lg", fw: 600, style: { fontFamily: "var(--elevasis-font-family-subtitle)" }, children: value })
|
|
4708
|
+
/* @__PURE__ */ jsx(Text, { component: "div", size: "lg", fw: 600, style: { fontFamily: "var(--elevasis-font-family-subtitle)" }, children: value })
|
|
4695
4709
|
] })
|
|
4696
4710
|
] }) });
|
|
4697
4711
|
}
|
|
@@ -5169,6 +5183,7 @@ function ResourceCard({
|
|
|
5169
5183
|
style,
|
|
5170
5184
|
...rest
|
|
5171
5185
|
}) {
|
|
5186
|
+
const [hovered, setHovered] = useState(false);
|
|
5172
5187
|
const Icon = getResourceIcon(resource.type);
|
|
5173
5188
|
if (!Icon) {
|
|
5174
5189
|
return /* @__PURE__ */ jsx(Card, { shadow: "sm", withBorder: true, children: /* @__PURE__ */ jsxs(Text, { children: [
|
|
@@ -5244,7 +5259,6 @@ function ResourceCard({
|
|
|
5244
5259
|
);
|
|
5245
5260
|
}
|
|
5246
5261
|
if (layout === "row") {
|
|
5247
|
-
const [hovered, setHovered] = useState(false);
|
|
5248
5262
|
return /* @__PURE__ */ jsx(
|
|
5249
5263
|
Card,
|
|
5250
5264
|
{
|
|
@@ -5381,7 +5395,12 @@ var STATUS_COLORS = {
|
|
|
5381
5395
|
status_update: "green",
|
|
5382
5396
|
issue: "yellow",
|
|
5383
5397
|
blocker: "red",
|
|
5384
|
-
agent_learning: "grape"
|
|
5398
|
+
agent_learning: "grape",
|
|
5399
|
+
// Organization lifecycle (organizations.status)
|
|
5400
|
+
suspended: "orange",
|
|
5401
|
+
archived: "grape",
|
|
5402
|
+
deleting: "yellow",
|
|
5403
|
+
delete_failed: "red"
|
|
5385
5404
|
};
|
|
5386
5405
|
function StatusBadge({ status, ...props }) {
|
|
5387
5406
|
const label = status.split("_").map((w) => w.charAt(0).toUpperCase() + w.slice(1)).join(" ");
|
|
@@ -5582,7 +5601,7 @@ var ConfirmationInputModal = ({
|
|
|
5582
5601
|
/* @__PURE__ */ jsx(Center, { children: /* @__PURE__ */ jsx(Title, { order: 3, children: title }) }),
|
|
5583
5602
|
/* @__PURE__ */ jsx(Space, { h: 16 }),
|
|
5584
5603
|
text && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
5585
|
-
/* @__PURE__ */ jsx(Text, { size: "sm", c: "var(--color-text-dimmed)", children: text }),
|
|
5604
|
+
/* @__PURE__ */ jsx(Text, { component: "div", size: "sm", c: "var(--color-text-dimmed)", children: text }),
|
|
5586
5605
|
/* @__PURE__ */ jsx(Space, { h: 8 })
|
|
5587
5606
|
] }),
|
|
5588
5607
|
/* @__PURE__ */ jsx(
|
|
@@ -6210,7 +6229,13 @@ function groupTimestampsByTime(timestamps, timeRange) {
|
|
|
6210
6229
|
"Activity Count": count
|
|
6211
6230
|
}));
|
|
6212
6231
|
}
|
|
6213
|
-
function ActivityTrendChart({
|
|
6232
|
+
function ActivityTrendChart({
|
|
6233
|
+
timestamps,
|
|
6234
|
+
total,
|
|
6235
|
+
isLoading,
|
|
6236
|
+
timeRange: timeRangeProp
|
|
6237
|
+
}) {
|
|
6238
|
+
const timeRange = useResolvedTimeRange(timeRangeProp);
|
|
6214
6239
|
const chartData = useMemo(() => {
|
|
6215
6240
|
return groupTimestampsByTime(timestamps, timeRange);
|
|
6216
6241
|
}, [timestamps, timeRange]);
|
|
@@ -6502,10 +6527,11 @@ function CombinedTrendChart({
|
|
|
6502
6527
|
errorData: _errorData,
|
|
6503
6528
|
isLoading,
|
|
6504
6529
|
error,
|
|
6505
|
-
timeRange,
|
|
6530
|
+
timeRange: timeRangeProp,
|
|
6506
6531
|
navigationAction,
|
|
6507
6532
|
compact = false
|
|
6508
6533
|
}) {
|
|
6534
|
+
const timeRange = useResolvedTimeRange(timeRangeProp);
|
|
6509
6535
|
const [activeTab, setActiveTab] = useState("success");
|
|
6510
6536
|
const colors = useCyberColors();
|
|
6511
6537
|
const { startDate: start, endDate: end } = useMemo(() => getTimeRangeDates(timeRange), [timeRange]);
|
|
@@ -6976,6 +7002,35 @@ function CheckpointGroup({ name, count, isActive, onClick }) {
|
|
|
6976
7002
|
}
|
|
6977
7003
|
);
|
|
6978
7004
|
}
|
|
7005
|
+
|
|
7006
|
+
// src/hooks/command-queue/queryKeys.ts
|
|
7007
|
+
var commandQueueKeys = {
|
|
7008
|
+
all: ["command-queue"],
|
|
7009
|
+
lists: () => [...commandQueueKeys.all, "list"],
|
|
7010
|
+
list: (organizationId, filters) => [
|
|
7011
|
+
...commandQueueKeys.lists(),
|
|
7012
|
+
organizationId,
|
|
7013
|
+
filters.status,
|
|
7014
|
+
filters.humanCheckpoint,
|
|
7015
|
+
filters.timeRange,
|
|
7016
|
+
filters.priorityMin,
|
|
7017
|
+
filters.priorityMax,
|
|
7018
|
+
filters.limit,
|
|
7019
|
+
filters.offset
|
|
7020
|
+
],
|
|
7021
|
+
// `taskId` is optional because `useCommandQueueTask` builds the key before it knows the
|
|
7022
|
+
// id and gates the fetch on `enabled` instead -- the key still has to be stable.
|
|
7023
|
+
detail: (organizationId, taskId) => [...commandQueueKeys.all, "detail", organizationId, taskId],
|
|
7024
|
+
checkpoints: (organizationId, filters) => [
|
|
7025
|
+
...commandQueueKeys.all,
|
|
7026
|
+
"checkpoints",
|
|
7027
|
+
organizationId,
|
|
7028
|
+
filters.timeRange,
|
|
7029
|
+
filters.priorityMin,
|
|
7030
|
+
filters.priorityMax,
|
|
7031
|
+
filters.status
|
|
7032
|
+
]
|
|
7033
|
+
};
|
|
6979
7034
|
function useCommandQueue({
|
|
6980
7035
|
status,
|
|
6981
7036
|
limit,
|
|
@@ -6987,10 +7042,7 @@ function useCommandQueue({
|
|
|
6987
7042
|
} = {}) {
|
|
6988
7043
|
const { apiRequest, isReady, workOSOrganizationId } = useElevasisServices();
|
|
6989
7044
|
return useQuery({
|
|
6990
|
-
queryKey:
|
|
6991
|
-
"command-queue",
|
|
6992
|
-
"list",
|
|
6993
|
-
workOSOrganizationId,
|
|
7045
|
+
queryKey: commandQueueKeys.list(workOSOrganizationId, {
|
|
6994
7046
|
status,
|
|
6995
7047
|
humanCheckpoint,
|
|
6996
7048
|
timeRange,
|
|
@@ -6998,7 +7050,7 @@ function useCommandQueue({
|
|
|
6998
7050
|
priorityMax,
|
|
6999
7051
|
limit,
|
|
7000
7052
|
offset
|
|
7001
|
-
|
|
7053
|
+
}),
|
|
7002
7054
|
queryFn: async () => {
|
|
7003
7055
|
const params = new URLSearchParams();
|
|
7004
7056
|
if (status) params.set("status", status);
|
|
@@ -7025,7 +7077,7 @@ function useCommandQueue({
|
|
|
7025
7077
|
function useCommandQueueTask(taskId) {
|
|
7026
7078
|
const { apiRequest, isReady, workOSOrganizationId } = useElevasisServices();
|
|
7027
7079
|
return useQuery({
|
|
7028
|
-
queryKey:
|
|
7080
|
+
queryKey: commandQueueKeys.detail(workOSOrganizationId, taskId),
|
|
7029
7081
|
queryFn: async () => {
|
|
7030
7082
|
const response = await apiRequest(`/command-queue/${taskId}`);
|
|
7031
7083
|
return {
|
|
@@ -7056,9 +7108,9 @@ function useSubmitAction(options = {}) {
|
|
|
7056
7108
|
return response;
|
|
7057
7109
|
},
|
|
7058
7110
|
onMutate: async ({ taskId }) => {
|
|
7059
|
-
await queryClient.cancelQueries({ queryKey:
|
|
7111
|
+
await queryClient.cancelQueries({ queryKey: commandQueueKeys.lists() });
|
|
7060
7112
|
const previousData = /* @__PURE__ */ new Map();
|
|
7061
|
-
const queries = queryClient.getQueriesData({ queryKey:
|
|
7113
|
+
const queries = queryClient.getQueriesData({ queryKey: commandQueueKeys.lists() });
|
|
7062
7114
|
for (const [queryKey, data] of queries) {
|
|
7063
7115
|
previousData.set(queryKey, data);
|
|
7064
7116
|
if (data) {
|
|
@@ -7076,7 +7128,7 @@ function useSubmitAction(options = {}) {
|
|
|
7076
7128
|
return { previousData };
|
|
7077
7129
|
},
|
|
7078
7130
|
onSuccess: () => {
|
|
7079
|
-
queryClient.invalidateQueries({ queryKey:
|
|
7131
|
+
queryClient.invalidateQueries({ queryKey: commandQueueKeys.all });
|
|
7080
7132
|
},
|
|
7081
7133
|
onError: (error, _variables, context) => {
|
|
7082
7134
|
if (context?.previousData) {
|
|
@@ -7101,9 +7153,9 @@ function useDeleteTask() {
|
|
|
7101
7153
|
});
|
|
7102
7154
|
},
|
|
7103
7155
|
onMutate: async (taskId) => {
|
|
7104
|
-
await queryClient.cancelQueries({ queryKey:
|
|
7156
|
+
await queryClient.cancelQueries({ queryKey: commandQueueKeys.lists() });
|
|
7105
7157
|
const previousData = /* @__PURE__ */ new Map();
|
|
7106
|
-
const queries = queryClient.getQueriesData({ queryKey:
|
|
7158
|
+
const queries = queryClient.getQueriesData({ queryKey: commandQueueKeys.lists() });
|
|
7107
7159
|
for (const [queryKey, data] of queries) {
|
|
7108
7160
|
previousData.set(queryKey, data);
|
|
7109
7161
|
if (data) {
|
|
@@ -7125,7 +7177,7 @@ function useDeleteTask() {
|
|
|
7125
7177
|
},
|
|
7126
7178
|
onSuccess: () => {
|
|
7127
7179
|
notify.success("Task Deleted", "Task has been removed");
|
|
7128
|
-
queryClient.invalidateQueries({ queryKey:
|
|
7180
|
+
queryClient.invalidateQueries({ queryKey: commandQueueKeys.all });
|
|
7129
7181
|
},
|
|
7130
7182
|
onError: (error, _taskId, context) => {
|
|
7131
7183
|
if (context?.previousData) {
|
|
@@ -7145,7 +7197,7 @@ function useCommandQueueTotals({
|
|
|
7145
7197
|
} = {}) {
|
|
7146
7198
|
const { apiRequest, isReady, workOSOrganizationId } = useElevasisServices();
|
|
7147
7199
|
return useQuery({
|
|
7148
|
-
queryKey:
|
|
7200
|
+
queryKey: commandQueueKeys.checkpoints(workOSOrganizationId, { timeRange, priorityMin, priorityMax, status }),
|
|
7149
7201
|
queryFn: async () => {
|
|
7150
7202
|
const params = new URLSearchParams();
|
|
7151
7203
|
params.set("timeRange", timeRange);
|
|
@@ -7180,7 +7232,7 @@ function usePatchTask() {
|
|
|
7180
7232
|
expiresAt: updatedTask.expiresAt ? new Date(updatedTask.expiresAt) : void 0
|
|
7181
7233
|
};
|
|
7182
7234
|
queryClient.setQueriesData(
|
|
7183
|
-
{ queryKey:
|
|
7235
|
+
{ queryKey: commandQueueKeys.lists() },
|
|
7184
7236
|
(old) => old ? {
|
|
7185
7237
|
...old,
|
|
7186
7238
|
tasks: old.tasks.map((t) => t.id === deserialized.id ? { ...t, ...deserialized } : t)
|
|
@@ -7246,8 +7298,9 @@ function CommandQueueSidebarMiddle({
|
|
|
7246
7298
|
onSelectCheckpoint,
|
|
7247
7299
|
priorityRange,
|
|
7248
7300
|
status,
|
|
7249
|
-
timeRange
|
|
7301
|
+
timeRange: timeRangeProp
|
|
7250
7302
|
}) {
|
|
7303
|
+
const timeRange = useResolvedTimeRange(timeRangeProp);
|
|
7251
7304
|
const { data, isLoading } = useCommandQueueTotals({
|
|
7252
7305
|
timeRange,
|
|
7253
7306
|
priorityMin: priorityRange[0],
|
|
@@ -7975,7 +8028,8 @@ var FILTER_STATE_LABELS = {
|
|
|
7975
8028
|
include: "Include only",
|
|
7976
8029
|
exclude: "Exclude"
|
|
7977
8030
|
};
|
|
7978
|
-
function ResourcesSidebar({ timeRange }) {
|
|
8031
|
+
function ResourcesSidebar({ timeRange: timeRangeProp }) {
|
|
8032
|
+
const timeRange = useResolvedTimeRange(timeRangeProp);
|
|
7979
8033
|
const searchQuery = useResourceSearch((s) => s.query);
|
|
7980
8034
|
const setSearchQuery = useResourceSearch((s) => s.set);
|
|
7981
8035
|
const statusFilter = useStatusFilter((s) => s.value);
|
|
@@ -8512,7 +8566,11 @@ function useExecutionLogSSE(resourceId, manager, apiUrl) {
|
|
|
8512
8566
|
);
|
|
8513
8567
|
const { connected, error } = useSSEConnection({
|
|
8514
8568
|
manager,
|
|
8515
|
-
|
|
8569
|
+
// Keyed on the same organization it puts in the header, matching useExecutionSSE. The server
|
|
8570
|
+
// scopes this stream by { organizationName, resourceId }, so a resource id alone does not
|
|
8571
|
+
// identify a connection -- the same resource is deployed to more than one organization, and a
|
|
8572
|
+
// bare key made an organization switch re-attach to the previous organization's stream.
|
|
8573
|
+
connectionKey: `resource-${currentWorkOSOrganizationId ?? "unknown"}-${resourceId}`,
|
|
8516
8574
|
url: sseUrl,
|
|
8517
8575
|
enabled: !!resourceId && !!workOSOrganizationId && isOrganizationReady,
|
|
8518
8576
|
headers,
|
|
@@ -8875,12 +8933,6 @@ var OperationsSidebarTop = () => {
|
|
|
8875
8933
|
var ExecutionLogsSidebar = () => {
|
|
8876
8934
|
const { currentPath } = useRouterContext();
|
|
8877
8935
|
const { operationsApiUrl, operationsSSEManager } = useElevasisSystems();
|
|
8878
|
-
const activeResource = getActiveResource(currentPath);
|
|
8879
|
-
const resourceId = activeResource?.id ?? "";
|
|
8880
|
-
const [filter, setFilter] = useState("all");
|
|
8881
|
-
const [deleteModalOpen, setDeleteModalOpen] = useState(false);
|
|
8882
|
-
const bulkDelete = useBulkDeleteExecutions();
|
|
8883
|
-
const { page, setPage, offset, totalPages } = usePaginationState(PAGE_SIZE_DEFAULT, [resourceId, filter]);
|
|
8884
8936
|
if (!operationsApiUrl || !operationsSSEManager) {
|
|
8885
8937
|
return /* @__PURE__ */ jsx(Box, { p: "sm", style: { flex: 1, minHeight: 0 }, children: /* @__PURE__ */ jsx(
|
|
8886
8938
|
APIErrorAlert,
|
|
@@ -8889,10 +8941,19 @@ var ExecutionLogsSidebar = () => {
|
|
|
8889
8941
|
}
|
|
8890
8942
|
) });
|
|
8891
8943
|
}
|
|
8944
|
+
return /* @__PURE__ */ jsx(ExecutionLogsSidebarContent, { currentPath, apiUrl: operationsApiUrl, manager: operationsSSEManager });
|
|
8945
|
+
};
|
|
8946
|
+
var ExecutionLogsSidebarContent = ({ currentPath, apiUrl, manager }) => {
|
|
8947
|
+
const activeResource = getActiveResource(currentPath);
|
|
8948
|
+
const resourceId = activeResource?.id ?? "";
|
|
8949
|
+
const [filter, setFilter] = useState("all");
|
|
8950
|
+
const [deleteModalOpen, setDeleteModalOpen] = useState(false);
|
|
8951
|
+
const bulkDelete = useBulkDeleteExecutions();
|
|
8952
|
+
const { page, setPage, offset, totalPages } = usePaginationState(PAGE_SIZE_DEFAULT, [resourceId, filter]);
|
|
8892
8953
|
const { executions, total, isLoading, isFetched, selectedId, setSelectedId, setResourceStatusFilter, runningCount } = useExecutionPanelState({
|
|
8893
8954
|
resourceId,
|
|
8894
|
-
apiUrl
|
|
8895
|
-
manager
|
|
8955
|
+
apiUrl,
|
|
8956
|
+
manager,
|
|
8896
8957
|
limit: PAGE_SIZE_DEFAULT,
|
|
8897
8958
|
offset
|
|
8898
8959
|
});
|
|
@@ -10295,17 +10356,17 @@ function useContentItems(filters = {}) {
|
|
|
10295
10356
|
queryKey: contentKeys.itemsList(workOSOrganizationId ?? void 0, filters),
|
|
10296
10357
|
queryFn: async () => {
|
|
10297
10358
|
const { status, pillar, pipelineId, clientId, reviewedBy, search, limit, offset } = filters;
|
|
10298
|
-
const
|
|
10299
|
-
|
|
10300
|
-
|
|
10301
|
-
|
|
10302
|
-
|
|
10303
|
-
|
|
10304
|
-
|
|
10305
|
-
|
|
10306
|
-
|
|
10307
|
-
|
|
10308
|
-
return apiRequest(`/content/items${query
|
|
10359
|
+
const query = buildQueryString({
|
|
10360
|
+
status: status || void 0,
|
|
10361
|
+
pillar: pillar || void 0,
|
|
10362
|
+
pipelineId: pipelineId || void 0,
|
|
10363
|
+
clientId: clientId || void 0,
|
|
10364
|
+
reviewedBy: reviewedBy || void 0,
|
|
10365
|
+
search: search || void 0,
|
|
10366
|
+
limit,
|
|
10367
|
+
offset
|
|
10368
|
+
});
|
|
10369
|
+
return apiRequest(`/content/items${query}`);
|
|
10309
10370
|
},
|
|
10310
10371
|
enabled: isReady
|
|
10311
10372
|
});
|
|
@@ -10336,14 +10397,14 @@ function useContentDistributions(filters = {}) {
|
|
|
10336
10397
|
queryKey: contentKeys.distributionsList(workOSOrganizationId ?? void 0, filters),
|
|
10337
10398
|
queryFn: async () => {
|
|
10338
10399
|
const { contentItemId, platform, status, limit, offset } = filters;
|
|
10339
|
-
const
|
|
10340
|
-
|
|
10341
|
-
|
|
10342
|
-
|
|
10343
|
-
|
|
10344
|
-
|
|
10345
|
-
|
|
10346
|
-
return apiRequest(`/content/distributions${query
|
|
10400
|
+
const query = buildQueryString({
|
|
10401
|
+
contentItemId: contentItemId || void 0,
|
|
10402
|
+
platform: platform || void 0,
|
|
10403
|
+
status: status || void 0,
|
|
10404
|
+
limit,
|
|
10405
|
+
offset
|
|
10406
|
+
});
|
|
10407
|
+
return apiRequest(`/content/distributions${query}`);
|
|
10347
10408
|
},
|
|
10348
10409
|
enabled: isReady
|
|
10349
10410
|
});
|
|
@@ -10466,12 +10527,8 @@ function useContentSourceAssets(filters = {}) {
|
|
|
10466
10527
|
queryKey: contentKeys.sourceAssetsList(workOSOrganizationId ?? void 0, filters),
|
|
10467
10528
|
queryFn: async () => {
|
|
10468
10529
|
const { kind, limit, offset } = filters;
|
|
10469
|
-
const
|
|
10470
|
-
|
|
10471
|
-
if (limit !== void 0) params.set("limit", String(limit));
|
|
10472
|
-
if (offset !== void 0) params.set("offset", String(offset));
|
|
10473
|
-
const query = params.toString();
|
|
10474
|
-
return apiRequest(`/content/source-assets${query ? "?" + query : ""}`);
|
|
10530
|
+
const query = buildQueryString({ kind: kind || void 0, limit, offset });
|
|
10531
|
+
return apiRequest(`/content/source-assets${query}`);
|
|
10475
10532
|
},
|
|
10476
10533
|
enabled: isReady
|
|
10477
10534
|
});
|
|
@@ -13482,7 +13539,7 @@ function ConceptInfoControl({ description }) {
|
|
|
13482
13539
|
var indexPromise = null;
|
|
13483
13540
|
function loadSearchIndex() {
|
|
13484
13541
|
if (!indexPromise) {
|
|
13485
|
-
indexPromise = import('./knowledge-search-index-
|
|
13542
|
+
indexPromise = import('./knowledge-search-index-UPKXCXQP.js').then(
|
|
13486
13543
|
(mod) => buildSearchIndex(mod.default ?? mod)
|
|
13487
13544
|
);
|
|
13488
13545
|
}
|
|
@@ -14317,4 +14374,4 @@ function createTestSystemsProvider({ organizationModel, systems = [] } = {}) {
|
|
|
14317
14374
|
};
|
|
14318
14375
|
}
|
|
14319
14376
|
|
|
14320
|
-
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_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, acquisitionListKeys, aggregateSystemMetrics, buildKnowledgeOmTreeData, buildOrganizationGraph, clientsManifest, collectResourceFilterFacets, 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, 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 };
|
|
14377
|
+
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 };
|