@elevasis/ui 1.26.1 → 1.28.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/charts/index.js +2 -2
- package/dist/{chunk-MHW43EOH.js → chunk-2IFYDILW.js} +2 -1
- package/dist/{chunk-AWT255UH.js → chunk-2IJCM3VQ.js} +37 -37
- package/dist/{chunk-4INR75ZS.js → chunk-37NT4BNV.js} +589 -65
- package/dist/chunk-5COLSYBE.js +199 -0
- package/dist/{chunk-YNGQ7U5H.js → chunk-7CJ5QBN2.js} +2 -2
- package/dist/{chunk-L3GVDMCA.js → chunk-C27LLJM6.js} +3 -195
- package/dist/chunk-C4WOXS2C.js +6646 -0
- package/dist/{chunk-RMPXGBNI.js → chunk-D25AE46Q.js} +2 -2
- package/dist/{chunk-ZVJKIJFG.js → chunk-EBCIUZVV.js} +13 -42
- package/dist/{chunk-O4UB5DQQ.js → chunk-F2J7675J.js} +1 -1
- package/dist/chunk-KLG4H5NM.js +247 -0
- package/dist/{chunk-BS4J2LAW.js → chunk-QTD5HPKD.js} +1 -1
- package/dist/chunk-S4S6K4MV.js +635 -0
- package/dist/{chunk-FEZZ3IDU.js → chunk-TXPUIHX2.js} +10 -10
- package/dist/{chunk-L4XXM55J.js → chunk-W4VYXIN7.js} +142 -3
- package/dist/{chunk-4WKWLFBZ.js → chunk-ZUJ7WMGV.js} +1 -1
- package/dist/chunk-ZXBD5SBV.js +2115 -0
- package/dist/components/index.d.ts +339 -73
- package/dist/components/index.js +840 -688
- package/dist/features/auth/index.d.ts +125 -0
- package/dist/features/auth/index.js +2 -2
- package/dist/features/dashboard/index.d.ts +28 -2
- package/dist/features/dashboard/index.js +21 -635
- package/dist/features/monitoring/index.d.ts +28 -1
- package/dist/features/monitoring/index.js +19 -529
- package/dist/features/operations/index.d.ts +57 -8
- package/dist/features/operations/index.js +25 -3760
- package/dist/features/settings/index.d.ts +153 -1
- package/dist/features/settings/index.js +19 -1438
- package/dist/hooks/index.d.ts +262 -25
- package/dist/hooks/index.js +12 -8
- package/dist/hooks/published.d.ts +137 -25
- package/dist/hooks/published.js +11 -7
- package/dist/index.d.ts +388 -99
- package/dist/index.js +12 -11
- package/dist/initialization/index.d.ts +125 -0
- package/dist/layout/index.d.ts +2 -0
- package/dist/layout/index.js +6 -5
- package/dist/organization/index.js +1 -2
- package/dist/profile/index.d.ts +125 -0
- package/dist/provider/index.d.ts +130 -3
- package/dist/provider/index.js +10 -4
- package/dist/provider/published.d.ts +130 -3
- package/dist/provider/published.js +8 -2
- package/dist/router/context.d.ts +1 -0
- package/dist/router/index.d.ts +1 -0
- package/dist/router/index.js +1 -1
- package/dist/supabase/index.d.ts +242 -0
- package/dist/theme/index.js +2 -2
- package/dist/types/index.d.ts +126 -1
- package/package.json +1 -1
- package/dist/chunk-LR4WVA7W.js +0 -682
- package/dist/chunk-R7WLWGPO.js +0 -126
- package/dist/chunk-TCKIAHDC.js +0 -2626
- package/dist/chunk-V7XHGJQZ.js +0 -145
- package/dist/{chunk-WWEMNIHW.js → chunk-YYBM5LNJ.js} +1 -1
package/dist/index.js
CHANGED
|
@@ -1,23 +1,24 @@
|
|
|
1
|
-
export { useAvailablePresets } from './chunk-BS4J2LAW.js';
|
|
2
1
|
import './chunk-XCYKC6OZ.js';
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
2
|
+
export { useAvailablePresets } from './chunk-QTD5HPKD.js';
|
|
3
|
+
export { ApiKeyService, CredentialService, DeploymentService, OrganizationMembershipService, WebhookEndpointService, filterByDomainFilters, milestoneKeys, noteKeys, projectKeys, taskKeys, useActivateDeployment, useActivityFilters, useCommandViewDomainFilters, useCreateApiKey, useCreateCredential, useCreateProject as useCreateDeliveryProject, useCreateMilestone, useCreateNote, useCreateWebhookEndpoint, useCredentials, useDeactivateDeployment, useDeactivateMembership, useDeleteApiKey, useDeleteCredential, useDeleteProject as useDeleteDeliveryProject, useDeleteTask as useDeleteDeliveryTask, useDeleteDeployment, useDeleteMilestone, useDeleteWebhookEndpoint, useExecutionLogsFilters, useListApiKeys, useListDeployments, useListWebhookEndpoints, useMilestones, useOrganizationMembers, useProject, useProjectNotes, useProjects, useReactivateMembership, useResourceSearch, useResourcesDomainFilters, useStatusFilter, useTasks, useTimeRangeDates, useUpdateApiKey, useUpdateCredential, useUpdateProject as useUpdateDeliveryProject, useUpdateMemberConfig, useUpdateMilestone, useUpdateWebhookEndpoint, useUserMemberships, useVisibleResources } from './chunk-7CJ5QBN2.js';
|
|
4
|
+
export { OperationsService, calibrationKeys, dealKeys, dealNoteKeys, dealTaskKeys, executionsKeys, isSessionCapable, operationsKeys, scheduleKeys, sessionsKeys, sortData, useActivities, useActivityTrend, useAllCalibrationProjects, useArchiveSession, useArchivedLogs, useBatchDelete, useBatchTelemetry, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCalibrationProject, useCalibrationProjects, useCalibrationRun, useCalibrationRunFull, useCalibrationRuns, useCalibrationSSE, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useCompleteDealTask, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateDealNote, useCreateDealTask, useCreateProject, useCreateRun, useCreateSchedule, useCreateSession, useDashboardMetrics, useDealDetail, useDealNotes, useDealTasks, useDealTasksDue, useDeals, useDeleteDeal, useDeleteExecution, useDeleteProject, useDeleteRun, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeploymentDocs, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useExecuteAsync, useExecuteRun, useExecuteWorkflow, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionPanelState, useExecutions, useGetExecutionHistory, useGetSchedule, useGradeRun, useGraphStats, useListSchedules, useMarkAllAsRead, useMarkAsRead, useNotificationCount as useNotificationCountSSE, useNotifications, usePaginationState, usePatchTask, usePauseSchedule, useRecentExecutionsByResource, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResources, useResourcesHealth, useResumeSchedule, useRetryExecution, useSSEConnection, useScheduledTasks, useSession, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useSubmitAction, useSuccessNotification, useSyncDealStage, useTableSelection, useTableSort, useTestNotification, useTopFailingResources, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateProject, useUpdateSchedule, useWarningNotification } from './chunk-EBCIUZVV.js';
|
|
5
5
|
export { observabilityKeys, useErrorTrends } from './chunk-LXHZYSMQ.js';
|
|
6
|
-
export { ScrollToTop, TanStackRouterBridge } from './chunk-MHW43EOH.js';
|
|
7
6
|
export { GRAPH_CONSTANTS, calculateGraphHeight, useConnectionHighlight, useDirectedChainHighlighting, useFitViewTrigger, useGraphHighlighting, useNodeSelection } from './chunk-F6RBK7NJ.js';
|
|
8
7
|
export { AGENT_CONSTANTS, CONTAINER_CONSTANTS, SHARED_VIZ_CONSTANTS, STATUS_COLORS, TIMELINE_CONSTANTS, WORKFLOW_CONSTANTS, calculateBarPosition, formatDuration, getEdgeColor, getEdgeOpacity, getResourceStatusColor, getStatusColors, getStatusIcon, shouldAnimateEdge, useAgentIterationData, useExecutionPath, useMergedExecution, useReactFlowAgent, useTimelineData, useUnifiedWorkflowLayout, useWorkflowStepsLayout } from './chunk-XA34RETF.js';
|
|
9
8
|
import './chunk-ELJIFLCB.js';
|
|
10
|
-
export {
|
|
11
|
-
export { createUseAppInitialization } from './chunk-SLVC5OJ2.js';
|
|
12
|
-
import './chunk-RNP5R5I3.js';
|
|
13
|
-
export { ElevasisUIProvider } from './chunk-RMPXGBNI.js';
|
|
9
|
+
export { ElevasisUIProvider } from './chunk-D25AE46Q.js';
|
|
14
10
|
import './chunk-SZHARWKU.js';
|
|
15
|
-
export { PresetsProvider, TOKEN_VAR_MAP, componentThemes, createCssVariablesResolver, generateShades, getPreset, mantineThemeOverride, PRESETS as presets, usePresetsContext } from './chunk-
|
|
11
|
+
export { PresetsProvider, TOKEN_VAR_MAP, componentThemes, createCssVariablesResolver, generateShades, getPreset, mantineThemeOverride, PRESETS as presets, usePresetsContext } from './chunk-TXPUIHX2.js';
|
|
16
12
|
import './chunk-CYXZHBP4.js';
|
|
17
|
-
export { ElevasisCoreProvider, NotificationProvider, useNotificationAdapter } from './chunk-
|
|
13
|
+
export { ElevasisCoreProvider, ElevasisFeaturesProvider, FeatureShell, NotificationProvider, createUseFeatureAccess, useElevasisFeatures, useNotificationAdapter } from './chunk-KLG4H5NM.js';
|
|
14
|
+
import './chunk-5COLSYBE.js';
|
|
18
15
|
export { ApiClientProvider, useApiClient, useApiClientContext } from './chunk-NVOCKXUQ.js';
|
|
19
|
-
export {
|
|
16
|
+
export { ScrollToTop, TanStackRouterBridge } from './chunk-2IFYDILW.js';
|
|
17
|
+
export { OrganizationProvider, OrganizationSwitcher, createOrganizationsSlice, createUseOrgInitialization, createUseOrganizations } from './chunk-W4VYXIN7.js';
|
|
20
18
|
export { AppearanceProvider, useAppearance } from './chunk-QJ2KCHKX.js';
|
|
19
|
+
import './chunk-QJ2S46NI.js';
|
|
20
|
+
export { createUseAppInitialization } from './chunk-SLVC5OJ2.js';
|
|
21
|
+
import './chunk-RNP5R5I3.js';
|
|
21
22
|
export { APIClientError, API_URL, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, LIMIT_ACTIVITY_FEED, OAUTH_FLOW_TIMEOUT, OAUTH_POPUP_CHECK_INTERVAL, PAGE_SIZE_DEFAULT, REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_REALTIME, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_RUNNING_FAST, SSE_CLOSE_GRACE_PERIOD, SSE_TOKEN_REFRESH_DELAY, STALE_TIME_ADMIN, STALE_TIME_DEFAULT, STALE_TIME_MONITORING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, formatChartAxisDate, formatDate, formatDateTime, formatErrorMessage, formatRelativeTime, formatTimeAgo, getErrorInfo, getErrorTitle, getResourceColor, getResourceIcon, isAPIClientError, restoreConsole, suppressKnownWarnings, validateEmail } from './chunk-IOKL7BKE.js';
|
|
22
23
|
export { AdminGuard, ProtectedRoute, useSessionCheck as useRefocusSessionCheck, useSessionCheck } from './chunk-RWQIFKMJ.js';
|
|
23
24
|
export { useStableAccessToken } from './chunk-ALA56RGZ.js';
|
|
@@ -534,6 +534,106 @@ type Database = {
|
|
|
534
534
|
}
|
|
535
535
|
];
|
|
536
536
|
};
|
|
537
|
+
acq_list_companies: {
|
|
538
|
+
Row: {
|
|
539
|
+
added_at: string;
|
|
540
|
+
added_by: string | null;
|
|
541
|
+
company_id: string;
|
|
542
|
+
id: string;
|
|
543
|
+
list_id: string;
|
|
544
|
+
source_execution_id: string | null;
|
|
545
|
+
source_input_hash: string | null;
|
|
546
|
+
source_resource_id: string | null;
|
|
547
|
+
stage: string | null;
|
|
548
|
+
stage_updated_at: string | null;
|
|
549
|
+
};
|
|
550
|
+
Insert: {
|
|
551
|
+
added_at?: string;
|
|
552
|
+
added_by?: string | null;
|
|
553
|
+
company_id: string;
|
|
554
|
+
id?: string;
|
|
555
|
+
list_id: string;
|
|
556
|
+
source_execution_id?: string | null;
|
|
557
|
+
source_input_hash?: string | null;
|
|
558
|
+
source_resource_id?: string | null;
|
|
559
|
+
stage?: string | null;
|
|
560
|
+
stage_updated_at?: string | null;
|
|
561
|
+
};
|
|
562
|
+
Update: {
|
|
563
|
+
added_at?: string;
|
|
564
|
+
added_by?: string | null;
|
|
565
|
+
company_id?: string;
|
|
566
|
+
id?: string;
|
|
567
|
+
list_id?: string;
|
|
568
|
+
source_execution_id?: string | null;
|
|
569
|
+
source_input_hash?: string | null;
|
|
570
|
+
source_resource_id?: string | null;
|
|
571
|
+
stage?: string | null;
|
|
572
|
+
stage_updated_at?: string | null;
|
|
573
|
+
};
|
|
574
|
+
Relationships: [
|
|
575
|
+
{
|
|
576
|
+
foreignKeyName: "acq_list_companies_company_id_fkey";
|
|
577
|
+
columns: ["company_id"];
|
|
578
|
+
isOneToOne: false;
|
|
579
|
+
referencedRelation: "acq_companies";
|
|
580
|
+
referencedColumns: ["id"];
|
|
581
|
+
},
|
|
582
|
+
{
|
|
583
|
+
foreignKeyName: "acq_list_companies_list_id_fkey";
|
|
584
|
+
columns: ["list_id"];
|
|
585
|
+
isOneToOne: false;
|
|
586
|
+
referencedRelation: "acq_lists";
|
|
587
|
+
referencedColumns: ["id"];
|
|
588
|
+
},
|
|
589
|
+
{
|
|
590
|
+
foreignKeyName: "acq_list_companies_source_execution_id_fkey";
|
|
591
|
+
columns: ["source_execution_id"];
|
|
592
|
+
isOneToOne: false;
|
|
593
|
+
referencedRelation: "execution_logs";
|
|
594
|
+
referencedColumns: ["execution_id"];
|
|
595
|
+
}
|
|
596
|
+
];
|
|
597
|
+
};
|
|
598
|
+
acq_list_executions: {
|
|
599
|
+
Row: {
|
|
600
|
+
created_at: string;
|
|
601
|
+
execution_id: string;
|
|
602
|
+
id: string;
|
|
603
|
+
list_id: string;
|
|
604
|
+
payload: Json;
|
|
605
|
+
};
|
|
606
|
+
Insert: {
|
|
607
|
+
created_at?: string;
|
|
608
|
+
execution_id: string;
|
|
609
|
+
id?: string;
|
|
610
|
+
list_id: string;
|
|
611
|
+
payload?: Json;
|
|
612
|
+
};
|
|
613
|
+
Update: {
|
|
614
|
+
created_at?: string;
|
|
615
|
+
execution_id?: string;
|
|
616
|
+
id?: string;
|
|
617
|
+
list_id?: string;
|
|
618
|
+
payload?: Json;
|
|
619
|
+
};
|
|
620
|
+
Relationships: [
|
|
621
|
+
{
|
|
622
|
+
foreignKeyName: "acq_list_executions_execution_id_fkey";
|
|
623
|
+
columns: ["execution_id"];
|
|
624
|
+
isOneToOne: false;
|
|
625
|
+
referencedRelation: "execution_logs";
|
|
626
|
+
referencedColumns: ["execution_id"];
|
|
627
|
+
},
|
|
628
|
+
{
|
|
629
|
+
foreignKeyName: "acq_list_executions_list_id_fkey";
|
|
630
|
+
columns: ["list_id"];
|
|
631
|
+
isOneToOne: false;
|
|
632
|
+
referencedRelation: "acq_lists";
|
|
633
|
+
referencedColumns: ["id"];
|
|
634
|
+
}
|
|
635
|
+
];
|
|
636
|
+
};
|
|
537
637
|
acq_list_members: {
|
|
538
638
|
Row: {
|
|
539
639
|
added_at: string;
|
|
@@ -541,6 +641,11 @@ type Database = {
|
|
|
541
641
|
contact_id: string;
|
|
542
642
|
id: string;
|
|
543
643
|
list_id: string;
|
|
644
|
+
source_execution_id: string | null;
|
|
645
|
+
source_input_hash: string | null;
|
|
646
|
+
source_resource_id: string | null;
|
|
647
|
+
stage: string | null;
|
|
648
|
+
stage_updated_at: string | null;
|
|
544
649
|
};
|
|
545
650
|
Insert: {
|
|
546
651
|
added_at?: string;
|
|
@@ -548,6 +653,11 @@ type Database = {
|
|
|
548
653
|
contact_id: string;
|
|
549
654
|
id?: string;
|
|
550
655
|
list_id: string;
|
|
656
|
+
source_execution_id?: string | null;
|
|
657
|
+
source_input_hash?: string | null;
|
|
658
|
+
source_resource_id?: string | null;
|
|
659
|
+
stage?: string | null;
|
|
660
|
+
stage_updated_at?: string | null;
|
|
551
661
|
};
|
|
552
662
|
Update: {
|
|
553
663
|
added_at?: string;
|
|
@@ -555,6 +665,11 @@ type Database = {
|
|
|
555
665
|
contact_id?: string;
|
|
556
666
|
id?: string;
|
|
557
667
|
list_id?: string;
|
|
668
|
+
source_execution_id?: string | null;
|
|
669
|
+
source_input_hash?: string | null;
|
|
670
|
+
source_resource_id?: string | null;
|
|
671
|
+
stage?: string | null;
|
|
672
|
+
stage_updated_at?: string | null;
|
|
558
673
|
};
|
|
559
674
|
Relationships: [
|
|
560
675
|
{
|
|
@@ -570,6 +685,13 @@ type Database = {
|
|
|
570
685
|
isOneToOne: false;
|
|
571
686
|
referencedRelation: "acq_lists";
|
|
572
687
|
referencedColumns: ["id"];
|
|
688
|
+
},
|
|
689
|
+
{
|
|
690
|
+
foreignKeyName: "acq_list_members_source_execution_id_fkey";
|
|
691
|
+
columns: ["source_execution_id"];
|
|
692
|
+
isOneToOne: false;
|
|
693
|
+
referencedRelation: "execution_logs";
|
|
694
|
+
referencedColumns: ["execution_id"];
|
|
573
695
|
}
|
|
574
696
|
];
|
|
575
697
|
};
|
|
@@ -577,6 +699,7 @@ type Database = {
|
|
|
577
699
|
Row: {
|
|
578
700
|
batch_ids: string[];
|
|
579
701
|
completed_at: string | null;
|
|
702
|
+
config: Json;
|
|
580
703
|
created_at: string;
|
|
581
704
|
description: string | null;
|
|
582
705
|
id: string;
|
|
@@ -591,6 +714,7 @@ type Database = {
|
|
|
591
714
|
Insert: {
|
|
592
715
|
batch_ids?: string[];
|
|
593
716
|
completed_at?: string | null;
|
|
717
|
+
config?: Json;
|
|
594
718
|
created_at?: string;
|
|
595
719
|
description?: string | null;
|
|
596
720
|
id?: string;
|
|
@@ -605,6 +729,7 @@ type Database = {
|
|
|
605
729
|
Update: {
|
|
606
730
|
batch_ids?: string[];
|
|
607
731
|
completed_at?: string | null;
|
|
732
|
+
config?: Json;
|
|
608
733
|
created_at?: string;
|
|
609
734
|
description?: string | null;
|
|
610
735
|
id?: string;
|
package/dist/layout/index.d.ts
CHANGED
|
@@ -270,6 +270,8 @@ interface LinkItem {
|
|
|
270
270
|
label: string;
|
|
271
271
|
link: string;
|
|
272
272
|
onClick?: () => void;
|
|
273
|
+
/** Optional tour target ID for onboarding highlights on sub-links. */
|
|
274
|
+
dataOnboardingTourId?: string;
|
|
273
275
|
}
|
|
274
276
|
interface LinksGroupProps {
|
|
275
277
|
icon: React$1.ComponentType<{
|
package/dist/layout/index.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
export { AppShellContainer, AppShellContentContainer, AppShellRightSideContainer, AppShellRightSideOuterContainer, AppTopbarAdjusterWrapper, CyberParticles, LinksGroup, Sidebar, SidebarContext, SidebarProvider,
|
|
2
|
-
export { CollapsibleSidebarGroup, PageContainer, SidebarListItem, SubshellLoader, SubshellSidebarSection } from '../chunk-
|
|
1
|
+
export { AppShellContainer, AppShellContentContainer, AppShellRightSideContainer, AppShellRightSideOuterContainer, AppTopbarAdjusterWrapper, CyberParticles, LinksGroup, Sidebar, SidebarContext, SidebarProvider, Topbar, TopbarContainer, Vignette, subsidebarWidth, useSidebar, useSidebarCollapse } from '../chunk-C27LLJM6.js';
|
|
2
|
+
export { CollapsibleSidebarGroup, PageContainer, SidebarListItem, SubshellLoader, SubshellSidebarSection } from '../chunk-2IJCM3VQ.js';
|
|
3
3
|
import '../chunk-NNKKBSJN.js';
|
|
4
|
-
export { AppShellCenteredContainer, AppShellError, AppShellLoader } from '../chunk-
|
|
5
|
-
export { sidebarBottomSectionCollapsedHeight, sidebarBottomSectionHeight, sidebarCollapsedWidth, sidebarGroupChevronSize, sidebarHoverDelay, sidebarIconInnerSize, sidebarIconSize, sidebarIconStroke, sidebarItemGap, sidebarItemHeight, sidebarItemPadding, sidebarListItemIconSize, sidebarSectionPadding, sidebarSubLinkIndent, sidebarSubLinkPaddingX, sidebarSubLinkPaddingY, sidebarToggleIconSize, sidebarTransitionDuration, sidebarWidth, topbarHeight } from '../chunk-QJ2S46NI.js';
|
|
6
|
-
import '../chunk-MHW43EOH.js';
|
|
4
|
+
export { AppShellCenteredContainer, AppShellError, AppShellLoader } from '../chunk-YYBM5LNJ.js';
|
|
7
5
|
export { AmbientBloomGrid, AppBackground, CyberBackground, FilmGrain, FloatingMotes, FloatingOrbs, PerspectiveGrid, RadiantGlow, WaveBackground } from '../chunk-CYXZHBP4.js';
|
|
6
|
+
export { SubshellContainer, SubshellContentContainer, SubshellRightSideContainer, SubshellSidebar } from '../chunk-5COLSYBE.js';
|
|
7
|
+
import '../chunk-2IFYDILW.js';
|
|
8
8
|
import '../chunk-QJ2KCHKX.js';
|
|
9
|
+
export { sidebarBottomSectionCollapsedHeight, sidebarBottomSectionHeight, sidebarCollapsedWidth, sidebarGroupChevronSize, sidebarHoverDelay, sidebarIconInnerSize, sidebarIconSize, sidebarIconStroke, sidebarItemGap, sidebarItemHeight, sidebarItemPadding, sidebarListItemIconSize, sidebarSectionPadding, sidebarSubLinkIndent, sidebarSubLinkPaddingX, sidebarSubLinkPaddingY, sidebarToggleIconSize, sidebarTransitionDuration, sidebarWidth, topbarHeight } from '../chunk-QJ2S46NI.js';
|
|
9
10
|
import '../chunk-Q7DJKLEN.js';
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
export { OrganizationSwitcher, createOrganizationsSlice, createUseOrgInitialization, createUseOrganizations } from '../chunk-
|
|
1
|
+
export { OrganizationProvider, OrganizationSwitcher, createOrganizationsSlice, createUseOrgInitialization, createUseOrganizations } from '../chunk-W4VYXIN7.js';
|
|
2
2
|
import '../chunk-RNP5R5I3.js';
|
|
3
|
-
export { OrganizationProvider } from '../chunk-V7XHGJQZ.js';
|
|
4
3
|
export { OrganizationContext, useOrganization } from '../chunk-DD3CCMCZ.js';
|
|
5
4
|
import '../chunk-QEPXAWE2.js';
|
|
6
5
|
import '../chunk-BRJ3QZ4E.js';
|
package/dist/profile/index.d.ts
CHANGED
|
@@ -534,6 +534,106 @@ type Database = {
|
|
|
534
534
|
}
|
|
535
535
|
];
|
|
536
536
|
};
|
|
537
|
+
acq_list_companies: {
|
|
538
|
+
Row: {
|
|
539
|
+
added_at: string;
|
|
540
|
+
added_by: string | null;
|
|
541
|
+
company_id: string;
|
|
542
|
+
id: string;
|
|
543
|
+
list_id: string;
|
|
544
|
+
source_execution_id: string | null;
|
|
545
|
+
source_input_hash: string | null;
|
|
546
|
+
source_resource_id: string | null;
|
|
547
|
+
stage: string | null;
|
|
548
|
+
stage_updated_at: string | null;
|
|
549
|
+
};
|
|
550
|
+
Insert: {
|
|
551
|
+
added_at?: string;
|
|
552
|
+
added_by?: string | null;
|
|
553
|
+
company_id: string;
|
|
554
|
+
id?: string;
|
|
555
|
+
list_id: string;
|
|
556
|
+
source_execution_id?: string | null;
|
|
557
|
+
source_input_hash?: string | null;
|
|
558
|
+
source_resource_id?: string | null;
|
|
559
|
+
stage?: string | null;
|
|
560
|
+
stage_updated_at?: string | null;
|
|
561
|
+
};
|
|
562
|
+
Update: {
|
|
563
|
+
added_at?: string;
|
|
564
|
+
added_by?: string | null;
|
|
565
|
+
company_id?: string;
|
|
566
|
+
id?: string;
|
|
567
|
+
list_id?: string;
|
|
568
|
+
source_execution_id?: string | null;
|
|
569
|
+
source_input_hash?: string | null;
|
|
570
|
+
source_resource_id?: string | null;
|
|
571
|
+
stage?: string | null;
|
|
572
|
+
stage_updated_at?: string | null;
|
|
573
|
+
};
|
|
574
|
+
Relationships: [
|
|
575
|
+
{
|
|
576
|
+
foreignKeyName: "acq_list_companies_company_id_fkey";
|
|
577
|
+
columns: ["company_id"];
|
|
578
|
+
isOneToOne: false;
|
|
579
|
+
referencedRelation: "acq_companies";
|
|
580
|
+
referencedColumns: ["id"];
|
|
581
|
+
},
|
|
582
|
+
{
|
|
583
|
+
foreignKeyName: "acq_list_companies_list_id_fkey";
|
|
584
|
+
columns: ["list_id"];
|
|
585
|
+
isOneToOne: false;
|
|
586
|
+
referencedRelation: "acq_lists";
|
|
587
|
+
referencedColumns: ["id"];
|
|
588
|
+
},
|
|
589
|
+
{
|
|
590
|
+
foreignKeyName: "acq_list_companies_source_execution_id_fkey";
|
|
591
|
+
columns: ["source_execution_id"];
|
|
592
|
+
isOneToOne: false;
|
|
593
|
+
referencedRelation: "execution_logs";
|
|
594
|
+
referencedColumns: ["execution_id"];
|
|
595
|
+
}
|
|
596
|
+
];
|
|
597
|
+
};
|
|
598
|
+
acq_list_executions: {
|
|
599
|
+
Row: {
|
|
600
|
+
created_at: string;
|
|
601
|
+
execution_id: string;
|
|
602
|
+
id: string;
|
|
603
|
+
list_id: string;
|
|
604
|
+
payload: Json;
|
|
605
|
+
};
|
|
606
|
+
Insert: {
|
|
607
|
+
created_at?: string;
|
|
608
|
+
execution_id: string;
|
|
609
|
+
id?: string;
|
|
610
|
+
list_id: string;
|
|
611
|
+
payload?: Json;
|
|
612
|
+
};
|
|
613
|
+
Update: {
|
|
614
|
+
created_at?: string;
|
|
615
|
+
execution_id?: string;
|
|
616
|
+
id?: string;
|
|
617
|
+
list_id?: string;
|
|
618
|
+
payload?: Json;
|
|
619
|
+
};
|
|
620
|
+
Relationships: [
|
|
621
|
+
{
|
|
622
|
+
foreignKeyName: "acq_list_executions_execution_id_fkey";
|
|
623
|
+
columns: ["execution_id"];
|
|
624
|
+
isOneToOne: false;
|
|
625
|
+
referencedRelation: "execution_logs";
|
|
626
|
+
referencedColumns: ["execution_id"];
|
|
627
|
+
},
|
|
628
|
+
{
|
|
629
|
+
foreignKeyName: "acq_list_executions_list_id_fkey";
|
|
630
|
+
columns: ["list_id"];
|
|
631
|
+
isOneToOne: false;
|
|
632
|
+
referencedRelation: "acq_lists";
|
|
633
|
+
referencedColumns: ["id"];
|
|
634
|
+
}
|
|
635
|
+
];
|
|
636
|
+
};
|
|
537
637
|
acq_list_members: {
|
|
538
638
|
Row: {
|
|
539
639
|
added_at: string;
|
|
@@ -541,6 +641,11 @@ type Database = {
|
|
|
541
641
|
contact_id: string;
|
|
542
642
|
id: string;
|
|
543
643
|
list_id: string;
|
|
644
|
+
source_execution_id: string | null;
|
|
645
|
+
source_input_hash: string | null;
|
|
646
|
+
source_resource_id: string | null;
|
|
647
|
+
stage: string | null;
|
|
648
|
+
stage_updated_at: string | null;
|
|
544
649
|
};
|
|
545
650
|
Insert: {
|
|
546
651
|
added_at?: string;
|
|
@@ -548,6 +653,11 @@ type Database = {
|
|
|
548
653
|
contact_id: string;
|
|
549
654
|
id?: string;
|
|
550
655
|
list_id: string;
|
|
656
|
+
source_execution_id?: string | null;
|
|
657
|
+
source_input_hash?: string | null;
|
|
658
|
+
source_resource_id?: string | null;
|
|
659
|
+
stage?: string | null;
|
|
660
|
+
stage_updated_at?: string | null;
|
|
551
661
|
};
|
|
552
662
|
Update: {
|
|
553
663
|
added_at?: string;
|
|
@@ -555,6 +665,11 @@ type Database = {
|
|
|
555
665
|
contact_id?: string;
|
|
556
666
|
id?: string;
|
|
557
667
|
list_id?: string;
|
|
668
|
+
source_execution_id?: string | null;
|
|
669
|
+
source_input_hash?: string | null;
|
|
670
|
+
source_resource_id?: string | null;
|
|
671
|
+
stage?: string | null;
|
|
672
|
+
stage_updated_at?: string | null;
|
|
558
673
|
};
|
|
559
674
|
Relationships: [
|
|
560
675
|
{
|
|
@@ -570,6 +685,13 @@ type Database = {
|
|
|
570
685
|
isOneToOne: false;
|
|
571
686
|
referencedRelation: "acq_lists";
|
|
572
687
|
referencedColumns: ["id"];
|
|
688
|
+
},
|
|
689
|
+
{
|
|
690
|
+
foreignKeyName: "acq_list_members_source_execution_id_fkey";
|
|
691
|
+
columns: ["source_execution_id"];
|
|
692
|
+
isOneToOne: false;
|
|
693
|
+
referencedRelation: "execution_logs";
|
|
694
|
+
referencedColumns: ["execution_id"];
|
|
573
695
|
}
|
|
574
696
|
];
|
|
575
697
|
};
|
|
@@ -577,6 +699,7 @@ type Database = {
|
|
|
577
699
|
Row: {
|
|
578
700
|
batch_ids: string[];
|
|
579
701
|
completed_at: string | null;
|
|
702
|
+
config: Json;
|
|
580
703
|
created_at: string;
|
|
581
704
|
description: string | null;
|
|
582
705
|
id: string;
|
|
@@ -591,6 +714,7 @@ type Database = {
|
|
|
591
714
|
Insert: {
|
|
592
715
|
batch_ids?: string[];
|
|
593
716
|
completed_at?: string | null;
|
|
717
|
+
config?: Json;
|
|
594
718
|
created_at?: string;
|
|
595
719
|
description?: string | null;
|
|
596
720
|
id?: string;
|
|
@@ -605,6 +729,7 @@ type Database = {
|
|
|
605
729
|
Update: {
|
|
606
730
|
batch_ids?: string[];
|
|
607
731
|
completed_at?: string | null;
|
|
732
|
+
config?: Json;
|
|
608
733
|
created_at?: string;
|
|
609
734
|
description?: string | null;
|
|
610
735
|
id?: string;
|
package/dist/provider/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { ReactNode } from 'react';
|
|
2
|
+
import { ReactNode, ComponentType } from 'react';
|
|
3
3
|
import { QueryClient } from '@tanstack/react-query';
|
|
4
4
|
import { MantineThemeOverride } from '@mantine/core';
|
|
5
5
|
|
|
@@ -272,6 +272,133 @@ interface ElevasisServiceProviderProps {
|
|
|
272
272
|
*/
|
|
273
273
|
declare function ElevasisCoreProvider({ auth, queryClient, apiUrl, onError, notifications, children }: ElevasisCoreProviderProps): react_jsx_runtime.JSX.Element;
|
|
274
274
|
|
|
275
|
+
/**
|
|
276
|
+
* Time range selector for dashboard metrics
|
|
277
|
+
*/
|
|
278
|
+
type TimeRange = '1h' | '24h' | '7d' | '30d';
|
|
279
|
+
|
|
280
|
+
interface EventSourceMessage {
|
|
281
|
+
id: string;
|
|
282
|
+
event: string;
|
|
283
|
+
data: string;
|
|
284
|
+
retry?: number;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
interface FetchEventSourceWithTokenRefreshOptions {
|
|
288
|
+
url: string;
|
|
289
|
+
getToken: () => Promise<string | undefined>;
|
|
290
|
+
headers?: Record<string, string>;
|
|
291
|
+
signal: AbortSignal;
|
|
292
|
+
/** Delay in ms before reconnecting after token refresh. Defaults to 2000. */
|
|
293
|
+
tokenRefreshDelayMs?: number;
|
|
294
|
+
onopen?: (response: Response) => void | Promise<void>;
|
|
295
|
+
onmessage?: (event: EventSourceMessage) => void;
|
|
296
|
+
onerror?: (error: unknown) => void;
|
|
297
|
+
onclose?: () => void;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
interface SSEConnectionManagerOptions {
|
|
301
|
+
/** Grace period in ms before closing idle connections. Defaults to 5000. */
|
|
302
|
+
closeGracePeriodMs?: number;
|
|
303
|
+
}
|
|
304
|
+
/**
|
|
305
|
+
* SSE Connection Manager
|
|
306
|
+
*
|
|
307
|
+
* Ensures only ONE SSE connection exists per endpoint, preventing duplicate
|
|
308
|
+
* connections when components re-render or remount.
|
|
309
|
+
*
|
|
310
|
+
* Benefits:
|
|
311
|
+
* - Prevents resource waste from duplicate connections
|
|
312
|
+
* - Eliminates race conditions from overlapping connections
|
|
313
|
+
* - Automatically manages connection lifecycle
|
|
314
|
+
* - Shares single connection across multiple subscribers
|
|
315
|
+
*/
|
|
316
|
+
declare class SSEConnectionManager {
|
|
317
|
+
private connections;
|
|
318
|
+
private closeGracePeriodMs;
|
|
319
|
+
constructor(options?: SSEConnectionManagerOptions);
|
|
320
|
+
/**
|
|
321
|
+
* Subscribe to an SSE endpoint
|
|
322
|
+
*
|
|
323
|
+
* If a connection already exists for this endpoint, reuses it.
|
|
324
|
+
* Otherwise, creates a new connection.
|
|
325
|
+
*
|
|
326
|
+
* @param key - Unique identifier for the connection (e.g., 'notifications', 'resource-executive-agent')
|
|
327
|
+
* @param subscriberId - Unique identifier for this subscriber (usually component instance)
|
|
328
|
+
* @param options - SSE connection options
|
|
329
|
+
* @returns Unsubscribe function to call when component unmounts
|
|
330
|
+
*/
|
|
331
|
+
subscribe(key: string, subscriberId: string, options: Omit<FetchEventSourceWithTokenRefreshOptions, 'signal'>): () => void;
|
|
332
|
+
/**
|
|
333
|
+
* Unsubscribe from an SSE endpoint
|
|
334
|
+
*
|
|
335
|
+
* If this is the last subscriber, closes the connection after grace period.
|
|
336
|
+
*/
|
|
337
|
+
private unsubscribe;
|
|
338
|
+
/**
|
|
339
|
+
* Force close a connection and all its subscribers
|
|
340
|
+
*/
|
|
341
|
+
closeConnection(key: string): void;
|
|
342
|
+
/**
|
|
343
|
+
* Get current connection status
|
|
344
|
+
*/
|
|
345
|
+
getConnectionInfo(): Map<string, {
|
|
346
|
+
url: string;
|
|
347
|
+
subscribers: number;
|
|
348
|
+
}>;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
interface FeatureNavLink {
|
|
352
|
+
label: string;
|
|
353
|
+
link: string;
|
|
354
|
+
featureKey?: string;
|
|
355
|
+
onClick?: () => void;
|
|
356
|
+
}
|
|
357
|
+
interface FeatureNavEntry {
|
|
358
|
+
label: string;
|
|
359
|
+
icon: ComponentType;
|
|
360
|
+
link?: string;
|
|
361
|
+
featureKey?: string;
|
|
362
|
+
requiresAdmin?: boolean;
|
|
363
|
+
dataOnboardingTourId?: string;
|
|
364
|
+
links?: FeatureNavLink[];
|
|
365
|
+
}
|
|
366
|
+
type FeatureSidebarComponent = ComponentType;
|
|
367
|
+
interface FeatureModule {
|
|
368
|
+
key: string;
|
|
369
|
+
label?: string;
|
|
370
|
+
navEntry?: FeatureNavEntry;
|
|
371
|
+
sidebar?: FeatureSidebarComponent;
|
|
372
|
+
subshellRoutes?: string[];
|
|
373
|
+
}
|
|
374
|
+
interface FeatureRegistry {
|
|
375
|
+
features: FeatureModule[];
|
|
376
|
+
}
|
|
377
|
+
interface ElevasisFeaturesProviderProps {
|
|
378
|
+
features: FeatureModule[];
|
|
379
|
+
timeRange?: TimeRange;
|
|
380
|
+
operationsApiUrl?: string;
|
|
381
|
+
operationsSSEManager?: SSEConnectionManager;
|
|
382
|
+
children: ReactNode;
|
|
383
|
+
}
|
|
384
|
+
interface ElevasisFeaturesContextValue {
|
|
385
|
+
navItems: FeatureNavEntry[];
|
|
386
|
+
enabledFeatures: FeatureModule[];
|
|
387
|
+
allFeatures: FeatureModule[];
|
|
388
|
+
timeRange?: TimeRange;
|
|
389
|
+
operationsApiUrl?: string;
|
|
390
|
+
operationsSSEManager?: SSEConnectionManager;
|
|
391
|
+
isFeatureEnabled: (key: string) => boolean;
|
|
392
|
+
getFeature: (key: string) => FeatureModule | undefined;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
declare function useElevasisFeatures(): ElevasisFeaturesContextValue;
|
|
396
|
+
declare function ElevasisFeaturesProvider({ features, timeRange, operationsApiUrl, operationsSSEManager, children }: ElevasisFeaturesProviderProps): react_jsx_runtime.JSX.Element;
|
|
397
|
+
|
|
398
|
+
declare function FeatureShell({ children }: {
|
|
399
|
+
children: ReactNode;
|
|
400
|
+
}): react_jsx_runtime.JSX.Element;
|
|
401
|
+
|
|
275
402
|
interface AppearanceConfig {
|
|
276
403
|
/** Background layers rendered behind app content. Defaults to Elevasis background. */
|
|
277
404
|
background?: ReactNode;
|
|
@@ -334,5 +461,5 @@ interface ElevasisUIProviderProps extends Omit<ElevasisCoreProviderProps, 'theme
|
|
|
334
461
|
}
|
|
335
462
|
declare function ElevasisUIProvider({ theme, children, ...coreProps }: ElevasisUIProviderProps): react_jsx_runtime.JSX.Element;
|
|
336
463
|
|
|
337
|
-
export { AppearanceProvider, ElevasisCoreProvider, ElevasisServiceProvider, ElevasisUIProvider, NotificationProvider, useAppearance, useElevasisServices, useNotificationAdapter };
|
|
338
|
-
export type { ApiKeyConfig, AppearanceConfig, AuthConfig, AuthKitConfig, ElevasisCoreProviderProps, ElevasisCoreThemeConfig, ElevasisServiceContextValue, ElevasisServiceProviderProps, ElevasisThemeConfig, ElevasisTokenOverrides, NotificationAdapter, PresetName, WithSchemes };
|
|
464
|
+
export { AppearanceProvider, ElevasisCoreProvider, ElevasisFeaturesProvider, ElevasisServiceProvider, ElevasisUIProvider, FeatureShell, NotificationProvider, useAppearance, useElevasisFeatures, useElevasisServices, useNotificationAdapter };
|
|
465
|
+
export type { ApiKeyConfig, AppearanceConfig, AuthConfig, AuthKitConfig, ElevasisCoreProviderProps, ElevasisCoreThemeConfig, ElevasisFeaturesContextValue, ElevasisFeaturesProviderProps, ElevasisServiceContextValue, ElevasisServiceProviderProps, ElevasisThemeConfig, ElevasisTokenOverrides, FeatureModule, FeatureNavEntry, FeatureNavLink, FeatureRegistry, FeatureSidebarComponent, NotificationAdapter, PresetName, WithSchemes };
|
package/dist/provider/index.js
CHANGED
|
@@ -1,13 +1,19 @@
|
|
|
1
|
-
export { ElevasisUIProvider } from '../chunk-
|
|
1
|
+
export { ElevasisUIProvider } from '../chunk-D25AE46Q.js';
|
|
2
2
|
import '../chunk-SZHARWKU.js';
|
|
3
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-TXPUIHX2.js';
|
|
4
4
|
import '../chunk-CYXZHBP4.js';
|
|
5
|
-
export { ElevasisCoreProvider, NotificationProvider, useNotificationAdapter } from '../chunk-
|
|
5
|
+
export { ElevasisCoreProvider, ElevasisFeaturesProvider, FeatureShell, NotificationProvider, useElevasisFeatures, useNotificationAdapter } from '../chunk-KLG4H5NM.js';
|
|
6
|
+
import '../chunk-5COLSYBE.js';
|
|
6
7
|
import '../chunk-NVOCKXUQ.js';
|
|
7
|
-
import '../chunk-
|
|
8
|
+
import '../chunk-2IFYDILW.js';
|
|
9
|
+
import '../chunk-W4VYXIN7.js';
|
|
8
10
|
export { AppearanceProvider, useAppearance } from '../chunk-QJ2KCHKX.js';
|
|
11
|
+
import '../chunk-QJ2S46NI.js';
|
|
12
|
+
import '../chunk-SLVC5OJ2.js';
|
|
13
|
+
import '../chunk-RNP5R5I3.js';
|
|
9
14
|
import '../chunk-IOKL7BKE.js';
|
|
10
15
|
import '../chunk-TUXTSEAF.js';
|
|
11
16
|
import '../chunk-DD3CCMCZ.js';
|
|
12
17
|
export { ElevasisServiceProvider, useElevasisServices } from '../chunk-QEPXAWE2.js';
|
|
13
18
|
import '../chunk-BRJ3QZ4E.js';
|
|
19
|
+
import '../chunk-Q7DJKLEN.js';
|