@elevasis/ui 2.20.0 → 2.21.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.js +2 -2
- package/dist/app/index.js +4 -4
- package/dist/charts/index.js +3 -3
- package/dist/{chunk-FMFX4K6E.js → chunk-7GG6OSD7.js} +34 -9
- package/dist/{chunk-GTYUP7MB.js → chunk-ATEHYDL3.js} +5 -21
- package/dist/{chunk-AL23U6C3.js → chunk-BIWHHWCJ.js} +1 -2
- package/dist/{chunk-JR5WNTLA.js → chunk-BJWIKEQG.js} +6 -11
- package/dist/{chunk-GP3AFJYG.js → chunk-CZK67OHH.js} +6 -11
- package/dist/{chunk-TO7QXDBX.js → chunk-DMYELNGA.js} +2 -2
- package/dist/{chunk-2CFOFSSG.js → chunk-EDX6WIN3.js} +6 -11
- package/dist/{chunk-PJVG3ISO.js → chunk-EGKNRM6P.js} +6 -8
- package/dist/{chunk-ZE2KQSHL.js → chunk-I5WRKH25.js} +4 -4
- package/dist/chunk-KVW56ERD.js +24 -0
- package/dist/{chunk-YP6T426C.js → chunk-LQU62KHD.js} +144 -432
- package/dist/{chunk-OUYH2SBS.js → chunk-LVUCBY7X.js} +2 -2
- package/dist/chunk-S7RL77QS.js +48 -0
- package/dist/{chunk-OD7GWIZS.js → chunk-SGXXJE52.js} +1 -121
- package/dist/{chunk-R7OJCNL3.js → chunk-T6INEVX6.js} +1 -1
- package/dist/{chunk-CTTY6FUT.js → chunk-TSSKOQBX.js} +2 -2
- package/dist/{chunk-Q4QJOSVS.js → chunk-ULZ2B3NC.js} +1 -1
- package/dist/chunk-VQESMHQV.js +336 -0
- package/dist/{chunk-MZFJWCPH.js → chunk-XLZZOFGM.js} +5 -19
- package/dist/{chunk-BHR7IV72.js → chunk-XUYBOO32.js} +1 -1
- package/dist/{chunk-M7W7CGPL.js → chunk-Z6FAH4XV.js} +1 -1
- package/dist/components/index.d.ts +46 -87
- package/dist/components/index.js +27 -26
- package/dist/components/navigation/index.d.ts +1 -13
- package/dist/components/navigation/index.js +11 -1
- package/dist/execution/index.d.ts +27 -0
- package/dist/features/crm/index.d.ts +12 -35
- package/dist/features/crm/index.js +11 -10
- package/dist/features/dashboard/index.d.ts +25 -27
- package/dist/features/dashboard/index.js +12 -11
- package/dist/features/delivery/index.d.ts +12 -35
- package/dist/features/delivery/index.js +11 -10
- package/dist/features/lead-gen/index.d.ts +14 -37
- package/dist/features/lead-gen/index.js +11 -10
- package/dist/features/monitoring/index.d.ts +12 -35
- package/dist/features/monitoring/index.js +13 -12
- package/dist/features/monitoring/requests/index.d.ts +13 -36
- package/dist/features/monitoring/requests/index.js +11 -10
- package/dist/features/operations/index.d.ts +44 -65
- package/dist/features/operations/index.js +14 -13
- package/dist/features/seo/index.d.ts +12 -35
- package/dist/features/seo/index.js +1 -1
- package/dist/features/settings/index.d.ts +12 -35
- package/dist/features/settings/index.js +11 -10
- package/dist/hooks/delivery/index.js +2 -2
- package/dist/hooks/index.d.ts +46 -66
- package/dist/hooks/index.js +10 -9
- package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +92 -121
- package/dist/hooks/published.d.ts +46 -66
- package/dist/hooks/published.js +10 -9
- package/dist/index.d.ts +365 -452
- package/dist/index.js +10 -9
- package/dist/provider/index.d.ts +62 -125
- package/dist/provider/index.js +8 -7
- package/dist/provider/published.d.ts +62 -125
- package/dist/provider/published.js +6 -5
- package/dist/test-utils/index.js +2 -2
- package/dist/types/index.d.ts +108 -135
- package/dist/utils/index.d.ts +26 -59
- package/dist/utils/index.js +1 -1
- package/package.json +4 -4
- package/dist/chunk-LR5CRY5A.js +0 -514
- package/dist/chunk-MG3NF7QL.js +0 -63
package/dist/index.js
CHANGED
|
@@ -2,24 +2,25 @@ import './chunk-XCYKC6OZ.js';
|
|
|
2
2
|
export { useAvailablePresets } from './chunk-TIIPYB2Z.js';
|
|
3
3
|
export { AGENT_CONSTANTS, CONTAINER_CONSTANTS, SHARED_VIZ_CONSTANTS, STATUS_COLORS, TIMELINE_CONSTANTS, WORKFLOW_CONSTANTS, calculateBarPosition, formatDuration, getEdgeColor, getEdgeOpacity, getResourceStatusColor, getStatusColors, getStatusIcon, shouldAnimateEdge, useAgentIterationData, useExecutionPath, useReactFlowAgent, useTimelineData, useUnifiedWorkflowLayout, useWorkflowStepsLayout } from './chunk-E4WQGJNS.js';
|
|
4
4
|
import './chunk-7M2VOCYN.js';
|
|
5
|
-
export { ApiKeyService, CredentialService, DeploymentService, OperationsService, OrganizationMembershipService, WebhookEndpointService, acquisitionListKeys, companyKeys, contactKeys, dealKeys, dealNoteKeys, dealTaskKeys, executionsKeys, filterByDomainFilters, isSessionCapable, operationsKeys, projectActivityKeys, requestsKeys, scheduleKeys, sessionsKeys, sortData, useActivateDeployment, useActivities, useActivitiesRealtime, useActivityFilters, useActivityTrend, useArchiveSession, useArchivedLogs, useBatchDelete, useBatchTelemetry, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewDomainFilters, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useCompanies, useCompany, useCompanyFacets, useCompleteDealTask, useContact, useContacts, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateApiKey, useCreateCompany, useCreateContact, useCreateCredential, useCreateDealNote, useCreateDealTask, useCreateList, useCreateSchedule, useCreateSession, useCreateWebhookEndpoint, useCredentials, useDashboardMetrics, useDeactivateDeployment, useDeactivateMembership, useDealDetail, useDealNotes, useDealTasks, useDealTasksDue, useDeals, useDealsLookup, useDealsSummary, useDeleteApiKey, useDeleteCompanies, useDeleteContacts, useDeleteCredential, useDeleteDeal, useDeleteDeployment, useDeleteExecution, useDeleteList, useDeleteRequest, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeleteWebhookEndpoint, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useExecuteAsync, useExecuteResource, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionLogsFilters, useExecutionPanelState, useExecutions, useGetExecutionHistory, useGetSchedule, useGraphStats, useList, useListApiKeys, useListDeployments, useListExecutions, useListProgress, useListSchedules, useListWebhookEndpoints, useLists, useListsTelemetry, useMarkAllAsRead, useMarkAsRead, useNotificationCount as useNotificationCountSSE, useNotifications, useOrganizationMembers, usePaginationState, usePatchTask, usePauseSchedule, useProjectActivities, useProjectRealtime, useReactivateMembership, useRecentExecutionsByResource, useRequest, useRequestsList, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResourceSearch, useResources, useResourcesDomainFilters, useResourcesHealth, useResumeSchedule, useRetryExecution, useSSEConnection, useScheduledTasks, useSession, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useStatusFilter, useSubmitAction, useSuccessNotification, useSyncDealStage, useTableSelection, useTableSort, useTestNotification, useTimeRangeDates, useTopFailingResources, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateApiKey, useUpdateCompany, useUpdateContact, useUpdateCredential, useUpdateList, useUpdateListConfig, useUpdateMemberConfig, useUpdateRequestStatus, useUpdateSchedule, useUpdateWebhookEndpoint, useUserMemberships, useVisibleResources, useWarningNotification } from './chunk-
|
|
5
|
+
export { ApiKeyService, CredentialService, DeploymentService, OperationsService, OrganizationMembershipService, WebhookEndpointService, acquisitionListKeys, collectResourceFilterFacets, companyKeys, contactKeys, dealKeys, dealNoteKeys, dealTaskKeys, executionsKeys, filterByDomainFilters, getResourceFilterFacetIds, isSessionCapable, labelResourceFilterFacet, operationsKeys, projectActivityKeys, requestsKeys, scheduleKeys, sessionsKeys, sortData, useActivateDeployment, useActivities, useActivitiesRealtime, useActivityFilters, useActivityTrend, useArchiveSession, useArchivedLogs, useBatchDelete, useBatchTelemetry, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewDomainFilters, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useCompanies, useCompany, useCompanyFacets, useCompleteDealTask, useContact, useContacts, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateApiKey, useCreateCompany, useCreateContact, useCreateCredential, useCreateDealNote, useCreateDealTask, useCreateList, useCreateSchedule, useCreateSession, useCreateWebhookEndpoint, useCredentials, useDashboardMetrics, useDeactivateDeployment, useDeactivateMembership, useDealDetail, useDealNotes, useDealTasks, useDealTasksDue, useDeals, useDealsLookup, useDealsSummary, useDeleteApiKey, useDeleteCompanies, useDeleteContacts, useDeleteCredential, useDeleteDeal, useDeleteDeployment, useDeleteExecution, useDeleteList, useDeleteRequest, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeleteWebhookEndpoint, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useExecuteAsync, useExecuteResource, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionLogsFilters, useExecutionPanelState, useExecutions, useGetExecutionHistory, useGetSchedule, useGraphStats, useList, useListApiKeys, useListDeployments, useListExecutions, useListProgress, useListSchedules, useListWebhookEndpoints, useLists, useListsTelemetry, useMarkAllAsRead, useMarkAsRead, useNotificationCount as useNotificationCountSSE, useNotifications, useOrganizationMembers, usePaginationState, usePatchTask, usePauseSchedule, useProjectActivities, useProjectRealtime, useReactivateMembership, useRecentExecutionsByResource, useRequest, useRequestsList, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResourceSearch, useResources, useResourcesDomainFilters, useResourcesHealth, useResumeSchedule, useRetryExecution, useSSEConnection, useScheduledTasks, useSession, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useStatusFilter, useSubmitAction, useSuccessNotification, useSyncDealStage, useTableSelection, useTableSort, useTestNotification, useTimeRangeDates, useTopFailingResources, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateApiKey, useUpdateCompany, useUpdateContact, useUpdateCredential, useUpdateList, useUpdateListConfig, useUpdateMemberConfig, useUpdateRequestStatus, useUpdateSchedule, useUpdateWebhookEndpoint, useUserMemberships, useVisibleResources, useWarningNotification } from './chunk-7GG6OSD7.js';
|
|
6
6
|
import './chunk-BRXELOHC.js';
|
|
7
7
|
export { observabilityKeys, useErrorTrends } from './chunk-QSTH6T77.js';
|
|
8
|
-
export { milestoneKeys, noteKeys, projectKeys, taskKeys, useCreateProject as useCreateDeliveryProject, useCreateMilestone, useCreateNote, useCreateTask, useDeleteProject as useDeleteDeliveryProject, useDeleteTask as useDeleteDeliveryTask, useDeleteMilestone, useMilestones, useProject, useProjectMilestones, useProjectNotes, useProjectTasks, useProjects, useTasks, useUpdateProject as useUpdateDeliveryProject, useUpdateMilestone, useUpdateTask } from './chunk-
|
|
8
|
+
export { milestoneKeys, noteKeys, projectKeys, taskKeys, useCreateProject as useCreateDeliveryProject, useCreateMilestone, useCreateNote, useCreateTask, useDeleteProject as useDeleteDeliveryProject, useDeleteTask as useDeleteDeliveryTask, useDeleteMilestone, useMilestones, useProject, useProjectMilestones, useProjectNotes, useProjectTasks, useProjects, useTasks, useUpdateProject as useUpdateDeliveryProject, useUpdateMilestone, useUpdateTask } from './chunk-Z6FAH4XV.js';
|
|
9
9
|
export { GRAPH_CONSTANTS, calculateGraphHeight, useConnectionHighlight, useDirectedChainHighlighting, useFitViewTrigger, useGraphHighlighting, useNodeSelection } from './chunk-22UVE3RA.js';
|
|
10
10
|
export { useMergedExecution } from './chunk-3ZMAGTWF.js';
|
|
11
|
-
export { createTestFeaturesProvider } from './chunk-
|
|
12
|
-
export { ElevasisUIProvider } from './chunk-
|
|
11
|
+
export { createTestFeaturesProvider } from './chunk-ULZ2B3NC.js';
|
|
12
|
+
export { ElevasisUIProvider } from './chunk-DMYELNGA.js';
|
|
13
13
|
export { PresetsProvider, TOKEN_VAR_MAP, componentThemes, createCssVariablesResolver, generateShades, getPreset, mantineThemeOverride, PRESETS as presets, usePresetsContext } from './chunk-Q5HC6ENG.js';
|
|
14
14
|
import './chunk-WLOQ4IBG.js';
|
|
15
|
-
export {
|
|
16
|
-
export { ElevasisCoreProvider, NotificationProvider, useNotificationAdapter } from './chunk-
|
|
15
|
+
export { FeatureShell } from './chunk-KVW56ERD.js';
|
|
16
|
+
export { ElevasisCoreProvider, NotificationProvider, useNotificationAdapter } from './chunk-LVUCBY7X.js';
|
|
17
|
+
export { ElevasisFeaturesProvider, createFeatureAccessHook, createUseFeatureAccess, useElevasisFeatures, useOptionalElevasisFeatures } from './chunk-VQESMHQV.js';
|
|
17
18
|
import './chunk-RX4UWZZR.js';
|
|
18
|
-
import './chunk-
|
|
19
|
+
import './chunk-XUYBOO32.js';
|
|
19
20
|
import './chunk-SZHARWKU.js';
|
|
20
21
|
import './chunk-3KMDHCAR.js';
|
|
21
22
|
import './chunk-NYBEU5TE.js';
|
|
22
|
-
export { ApiClientProvider, useApiClient, useApiClientContext } from './chunk-
|
|
23
|
+
export { ApiClientProvider, useApiClient, useApiClientContext } from './chunk-T6INEVX6.js';
|
|
23
24
|
export { ScrollToTop, TanStackRouterBridge } from './chunk-2IFYDILW.js';
|
|
24
25
|
export { RouterProvider, useRouterContext } from './chunk-Q7DJKLEN.js';
|
|
25
26
|
export { OrganizationSwitcher, createOrganizationsSlice, createUseOrgInitialization, createUseOrganizations } from './chunk-7YQKVWSD.js';
|
|
@@ -28,7 +29,7 @@ export { AppearanceProvider, useAppearance } from './chunk-QJ2KCHKX.js';
|
|
|
28
29
|
export { createUseAppInitialization } from './chunk-HQ7M6PBW.js';
|
|
29
30
|
import './chunk-DT3QYZVU.js';
|
|
30
31
|
import './chunk-RNP5R5I3.js';
|
|
31
|
-
export { APIClientError, API_URL, DEBOUNCE_FILTER, DEBOUNCE_SLIDER,
|
|
32
|
+
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, debounce, formatChartAxisDate, formatDate, formatDateTime, formatErrorMessage, formatRelativeTime, formatTimeAgo, getErrorInfo, getErrorTitle, getResourceColor, getResourceIcon, getTimeRangeDates, getTimeRangeLabel, isAPIClientError, restoreConsole, setupBrowserMocks, suppressKnownWarnings, validateEmail } from './chunk-SGXXJE52.js';
|
|
32
33
|
export { ResourceStatusColors } from './chunk-KRWALB24.js';
|
|
33
34
|
export { AdminGuard, ProtectedRoute, useSessionCheck as useRefocusSessionCheck, useSessionCheck, useStableAccessToken } from './chunk-SLH2QLKV.js';
|
|
34
35
|
export { InitializationContext, InitializationProvider, useInitialization } from './chunk-DK2HVHCY.js';
|
package/dist/provider/index.d.ts
CHANGED
|
@@ -279,6 +279,22 @@ declare function ElevasisCoreProvider({ auth, queryClient, apiUrl, onError, noti
|
|
|
279
279
|
*/
|
|
280
280
|
type TimeRange = '1h' | '24h' | '7d' | '30d';
|
|
281
281
|
|
|
282
|
+
declare const FeatureSchema: z.ZodObject<{
|
|
283
|
+
id: z.ZodString;
|
|
284
|
+
label: z.ZodString;
|
|
285
|
+
description: z.ZodOptional<z.ZodString>;
|
|
286
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
287
|
+
path: z.ZodOptional<z.ZodString>;
|
|
288
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
289
|
+
color: z.ZodOptional<z.ZodString>;
|
|
290
|
+
uiPosition: z.ZodOptional<z.ZodEnum<{
|
|
291
|
+
"sidebar-primary": "sidebar-primary";
|
|
292
|
+
"sidebar-bottom": "sidebar-bottom";
|
|
293
|
+
}>>;
|
|
294
|
+
requiresAdmin: z.ZodOptional<z.ZodBoolean>;
|
|
295
|
+
devOnly: z.ZodOptional<z.ZodBoolean>;
|
|
296
|
+
}, z.core.$strip>;
|
|
297
|
+
|
|
282
298
|
declare const OrganizationModelSchema: z.ZodObject<{
|
|
283
299
|
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
284
300
|
features: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -286,12 +302,15 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
286
302
|
label: z.ZodString;
|
|
287
303
|
description: z.ZodOptional<z.ZodString>;
|
|
288
304
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
289
|
-
|
|
305
|
+
path: z.ZodOptional<z.ZodString>;
|
|
290
306
|
icon: z.ZodOptional<z.ZodString>;
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
307
|
+
color: z.ZodOptional<z.ZodString>;
|
|
308
|
+
uiPosition: z.ZodOptional<z.ZodEnum<{
|
|
309
|
+
"sidebar-primary": "sidebar-primary";
|
|
310
|
+
"sidebar-bottom": "sidebar-bottom";
|
|
311
|
+
}>>;
|
|
312
|
+
requiresAdmin: z.ZodOptional<z.ZodBoolean>;
|
|
313
|
+
devOnly: z.ZodOptional<z.ZodBoolean>;
|
|
295
314
|
}, z.core.$strip>>>;
|
|
296
315
|
branding: z.ZodObject<{
|
|
297
316
|
organizationName: z.ZodString;
|
|
@@ -303,19 +322,19 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
303
322
|
dark: z.ZodOptional<z.ZodString>;
|
|
304
323
|
}, z.core.$strip>>;
|
|
305
324
|
}, z.core.$strip>;
|
|
306
|
-
navigation: z.ZodObject<{
|
|
325
|
+
navigation: z.ZodDefault<z.ZodObject<{
|
|
307
326
|
defaultSurfaceId: z.ZodOptional<z.ZodString>;
|
|
308
327
|
surfaces: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
309
328
|
id: z.ZodString;
|
|
310
329
|
label: z.ZodString;
|
|
311
330
|
path: z.ZodString;
|
|
312
331
|
surfaceType: z.ZodEnum<{
|
|
313
|
-
list: "list";
|
|
314
332
|
settings: "settings";
|
|
315
333
|
page: "page";
|
|
316
334
|
dashboard: "dashboard";
|
|
317
335
|
graph: "graph";
|
|
318
336
|
detail: "detail";
|
|
337
|
+
list: "list";
|
|
319
338
|
}>;
|
|
320
339
|
description: z.ZodOptional<z.ZodString>;
|
|
321
340
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -333,7 +352,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
333
352
|
placement: z.ZodString;
|
|
334
353
|
surfaceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
335
354
|
}, z.core.$strip>>>;
|
|
336
|
-
}, z.core.$strip
|
|
355
|
+
}, z.core.$strip>>;
|
|
337
356
|
sales: z.ZodObject<{
|
|
338
357
|
entityId: z.ZodString;
|
|
339
358
|
defaultPipelineId: z.ZodString;
|
|
@@ -352,9 +371,9 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
352
371
|
semanticClass: z.ZodEnum<{
|
|
353
372
|
open: "open";
|
|
354
373
|
active: "active";
|
|
374
|
+
nurturing: "nurturing";
|
|
355
375
|
closed_won: "closed_won";
|
|
356
376
|
closed_lost: "closed_lost";
|
|
357
|
-
nurturing: "nurturing";
|
|
358
377
|
}>;
|
|
359
378
|
surfaceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
360
379
|
resourceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
@@ -515,12 +534,12 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
515
534
|
id: z.ZodString;
|
|
516
535
|
label: z.ZodString;
|
|
517
536
|
semanticClass: z.ZodEnum<{
|
|
518
|
-
execution: "execution";
|
|
519
|
-
schedule: "schedule";
|
|
520
|
-
queue: "queue";
|
|
521
537
|
"delivery.project": "delivery.project";
|
|
522
538
|
"delivery.milestone": "delivery.milestone";
|
|
523
539
|
"delivery.task": "delivery.task";
|
|
540
|
+
queue: "queue";
|
|
541
|
+
execution: "execution";
|
|
542
|
+
schedule: "schedule";
|
|
524
543
|
"schedule.run": "schedule.run";
|
|
525
544
|
request: "request";
|
|
526
545
|
}>;
|
|
@@ -532,74 +551,20 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
532
551
|
id: z.ZodString;
|
|
533
552
|
label: z.ZodString;
|
|
534
553
|
semanticClass: z.ZodEnum<{
|
|
554
|
+
queue: "queue";
|
|
555
|
+
executions: "executions";
|
|
535
556
|
sessions: "sessions";
|
|
536
557
|
notifications: "notifications";
|
|
537
558
|
schedules: "schedules";
|
|
538
|
-
executions: "executions";
|
|
539
|
-
queue: "queue";
|
|
540
559
|
}>;
|
|
541
560
|
featureId: z.ZodOptional<z.ZodString>;
|
|
542
561
|
supportedStatusSemanticClass: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
543
562
|
}, z.core.$strip>>>;
|
|
544
563
|
}, z.core.$strip>>;
|
|
545
|
-
resourceMappings: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
546
|
-
label: z.ZodString;
|
|
547
|
-
description: z.ZodOptional<z.ZodString>;
|
|
548
|
-
color: z.ZodOptional<z.ZodString>;
|
|
549
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
550
|
-
id: z.ZodString;
|
|
551
|
-
resourceId: z.ZodString;
|
|
552
|
-
resourceType: z.ZodEnum<{
|
|
553
|
-
agent: "agent";
|
|
554
|
-
workflow: "workflow";
|
|
555
|
-
trigger: "trigger";
|
|
556
|
-
integration: "integration";
|
|
557
|
-
external: "external";
|
|
558
|
-
human_checkpoint: "human_checkpoint";
|
|
559
|
-
}>;
|
|
560
|
-
featureIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
561
|
-
entityIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
562
|
-
surfaceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
563
|
-
capabilityIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
564
|
-
techStack: z.ZodOptional<z.ZodObject<{
|
|
565
|
-
platform: z.ZodString;
|
|
566
|
-
purpose: z.ZodString;
|
|
567
|
-
credentialStatus: z.ZodEnum<{
|
|
568
|
-
pending: "pending";
|
|
569
|
-
configured: "configured";
|
|
570
|
-
expired: "expired";
|
|
571
|
-
missing: "missing";
|
|
572
|
-
}>;
|
|
573
|
-
isSystemOfRecord: z.ZodDefault<z.ZodBoolean>;
|
|
574
|
-
}, z.core.$strip>>;
|
|
575
|
-
}, z.core.$strip>>>;
|
|
576
|
-
}, z.core.$strip>;
|
|
577
|
-
|
|
578
|
-
declare const SurfaceDefinitionSchema: z.ZodObject<{
|
|
579
|
-
id: z.ZodString;
|
|
580
|
-
label: z.ZodString;
|
|
581
|
-
path: z.ZodString;
|
|
582
|
-
surfaceType: z.ZodEnum<{
|
|
583
|
-
list: "list";
|
|
584
|
-
settings: "settings";
|
|
585
|
-
page: "page";
|
|
586
|
-
dashboard: "dashboard";
|
|
587
|
-
graph: "graph";
|
|
588
|
-
detail: "detail";
|
|
589
|
-
}>;
|
|
590
|
-
description: z.ZodOptional<z.ZodString>;
|
|
591
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
592
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
593
|
-
featureId: z.ZodOptional<z.ZodString>;
|
|
594
|
-
featureIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
595
|
-
entityIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
596
|
-
resourceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
597
|
-
capabilityIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
598
|
-
parentId: z.ZodOptional<z.ZodString>;
|
|
599
564
|
}, z.core.$strip>;
|
|
600
565
|
|
|
601
566
|
type OrganizationModel = z.infer<typeof OrganizationModelSchema>;
|
|
602
|
-
type
|
|
567
|
+
type OrganizationModelFeature = z.infer<typeof FeatureSchema>;
|
|
603
568
|
|
|
604
569
|
interface FetchEventSourceWithTokenRefreshOptions {
|
|
605
570
|
url: string;
|
|
@@ -623,46 +588,23 @@ interface SSEConnectionManagerLike {
|
|
|
623
588
|
}>;
|
|
624
589
|
}
|
|
625
590
|
|
|
626
|
-
interface FeatureNavLink {
|
|
627
|
-
label: string;
|
|
628
|
-
link: string;
|
|
629
|
-
featureKey?: string;
|
|
630
|
-
onClick?: () => void;
|
|
631
|
-
links?: FeatureNavLink[];
|
|
632
|
-
}
|
|
633
|
-
interface FeatureNavEntry {
|
|
634
|
-
label: string;
|
|
635
|
-
icon: ComponentType;
|
|
636
|
-
link?: string;
|
|
637
|
-
featureKey?: string;
|
|
638
|
-
requiresAdmin?: boolean;
|
|
639
|
-
dataOnboardingTourId?: string;
|
|
640
|
-
links?: FeatureNavLink[];
|
|
641
|
-
}
|
|
642
591
|
type FeatureSidebarComponent = ComponentType;
|
|
592
|
+
type FeatureIconComponent = ComponentType<{
|
|
593
|
+
size?: number;
|
|
594
|
+
stroke?: number;
|
|
595
|
+
}>;
|
|
643
596
|
interface FeatureModule {
|
|
644
|
-
/** Unique stable identifier for this feature
|
|
597
|
+
/** Unique stable identifier for this feature module. */
|
|
645
598
|
key: string;
|
|
646
|
-
/**
|
|
599
|
+
/** Organization Model feature id this module presents. */
|
|
647
600
|
featureId: string;
|
|
648
|
-
/**
|
|
649
|
-
* Capability identifiers contributed by this feature.
|
|
650
|
-
* Merged into `ResolvedFeatureSemantics.capabilityIds` at resolution time.
|
|
651
|
-
* Not queried at runtime — kept for semantic graph completeness so that
|
|
652
|
-
* capability membership is fully represented in the resolved model even when
|
|
653
|
-
* a surface does not declare it directly.
|
|
654
|
-
*/
|
|
601
|
+
/** Capability identifiers contributed by this feature module. */
|
|
655
602
|
capabilityIds?: string[];
|
|
656
|
-
/**
|
|
657
|
-
|
|
658
|
-
/** Sidebar component rendered when
|
|
603
|
+
/** Icon used when this feature node appears in shell navigation. */
|
|
604
|
+
icon?: FeatureIconComponent;
|
|
605
|
+
/** Sidebar component rendered when this feature's subtree route is active. */
|
|
659
606
|
sidebar?: FeatureSidebarComponent;
|
|
660
|
-
/**
|
|
661
|
-
subshellRoutes?: string[];
|
|
662
|
-
/**
|
|
663
|
-
* Operations-only bridge surface connecting this feature to the organization graph.
|
|
664
|
-
* Ignored by all other features. Only one manifest in the registry should set this.
|
|
665
|
-
*/
|
|
607
|
+
/** Operations-only bridge connecting this feature to the organization graph node. */
|
|
666
608
|
organizationGraph?: OrganizationGraphFeatureBridge;
|
|
667
609
|
}
|
|
668
610
|
interface ResolvedFeatureAccess {
|
|
@@ -671,52 +613,47 @@ interface ResolvedFeatureAccess {
|
|
|
671
613
|
}
|
|
672
614
|
interface ResolvedFeatureSemantics {
|
|
673
615
|
capabilityIds: string[];
|
|
674
|
-
surfaceIds: string[];
|
|
675
|
-
surfaces: OrganizationModelSurface[];
|
|
676
616
|
}
|
|
677
617
|
interface ResolvedFeatureModule extends FeatureModule {
|
|
678
618
|
access: ResolvedFeatureAccess;
|
|
679
619
|
semantics: ResolvedFeatureSemantics;
|
|
680
620
|
}
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
interface ResolvedShellNavItem extends FeatureNavEntry {
|
|
684
|
-
placement: ShellNavPlacement;
|
|
685
|
-
source: ShellNavSource;
|
|
686
|
-
featureId?: string;
|
|
621
|
+
interface ResolvedShellFeature extends OrganizationModelFeature {
|
|
622
|
+
iconComponent?: FeatureIconComponent;
|
|
687
623
|
}
|
|
688
624
|
interface ResolvedShellModel {
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
625
|
+
features: readonly ResolvedShellFeature[];
|
|
626
|
+
findByPath: (path: string) => ResolvedShellFeature | undefined;
|
|
627
|
+
findById: (id: string) => ResolvedShellFeature | undefined;
|
|
628
|
+
childrenOf: (id: string) => ResolvedShellFeature[];
|
|
629
|
+
ancestorsOf: (id: string) => ResolvedShellFeature[];
|
|
630
|
+
parentOf: (id: string) => ResolvedShellFeature | undefined;
|
|
631
|
+
topLevel: () => ResolvedShellFeature[];
|
|
632
|
+
uiPositionFor: (id: string) => OrganizationModelFeature['uiPosition'] | undefined;
|
|
633
|
+
requiresAdminFor: (id: string) => boolean;
|
|
634
|
+
devOnlyFor: (id: string) => boolean;
|
|
694
635
|
}
|
|
695
636
|
type ShellRouteMatchStatus = 'matched' | 'hidden' | 'unmatched';
|
|
696
637
|
interface ResolvedShellRouteMatch {
|
|
697
638
|
status: ShellRouteMatchStatus;
|
|
698
639
|
path: string;
|
|
699
640
|
feature?: ResolvedFeatureModule;
|
|
700
|
-
|
|
701
|
-
navLink?: FeatureNavLink;
|
|
641
|
+
node?: ResolvedShellFeature;
|
|
702
642
|
}
|
|
703
643
|
interface ShellRuntime {
|
|
704
644
|
resolveRoute: (path: string) => ResolvedShellRouteMatch;
|
|
705
645
|
}
|
|
706
646
|
interface OrganizationGraphFeatureBridge {
|
|
707
|
-
|
|
647
|
+
featureId: string;
|
|
708
648
|
}
|
|
709
649
|
interface OrganizationGraphContextValue {
|
|
710
650
|
available: boolean;
|
|
711
|
-
surfaceId?: string;
|
|
712
|
-
surfacePath?: string;
|
|
713
|
-
surfaceType?: OrganizationModelSurface['surfaceType'];
|
|
714
651
|
featureId?: string;
|
|
652
|
+
featurePath?: string;
|
|
715
653
|
}
|
|
716
654
|
interface ElevasisFeaturesProviderProps {
|
|
717
655
|
features: FeatureModule[];
|
|
718
656
|
organizationModel?: OrganizationModel;
|
|
719
|
-
appShellOverrides?: AppShellOverrides;
|
|
720
657
|
timeRange?: TimeRange;
|
|
721
658
|
operationsApiUrl?: string;
|
|
722
659
|
operationsSSEManager?: SSEConnectionManagerLike;
|
|
@@ -744,7 +681,7 @@ interface ElevasisFeaturesContextValue {
|
|
|
744
681
|
|
|
745
682
|
declare function useElevasisFeatures(): ElevasisFeaturesContextValue;
|
|
746
683
|
declare function useOptionalElevasisFeatures(): ElevasisFeaturesContextValue | null;
|
|
747
|
-
declare function ElevasisFeaturesProvider({ features, organizationModel,
|
|
684
|
+
declare function ElevasisFeaturesProvider({ features, organizationModel, timeRange, operationsApiUrl, operationsSSEManager, deliveryApiUrl, deliverySSEManager, disabledSubsectionPaths, children }: ElevasisFeaturesProviderProps): react_jsx_runtime.JSX.Element;
|
|
748
685
|
|
|
749
686
|
declare function FeatureShell({ children }: {
|
|
750
687
|
children: ReactNode;
|
|
@@ -821,4 +758,4 @@ declare function createTestFeaturesProvider({ organizationModel, features }?: Cr
|
|
|
821
758
|
}) => react_jsx_runtime.JSX.Element;
|
|
822
759
|
|
|
823
760
|
export { AppearanceProvider, ElevasisCoreProvider, ElevasisFeaturesProvider, ElevasisServiceProvider, ElevasisUIProvider, FeatureShell, NotificationProvider, createTestFeaturesProvider, useAppearance, useElevasisFeatures, useElevasisServices, useNotificationAdapter, useOptionalElevasisFeatures };
|
|
824
|
-
export type { ApiKeyConfig,
|
|
761
|
+
export type { ApiKeyConfig, AppearanceConfig, AuthConfig, AuthKitConfig, CreateTestFeaturesProviderOptions, ElevasisCoreProviderProps, ElevasisCoreThemeConfig, ElevasisFeaturesContextValue, ElevasisFeaturesProviderProps, ElevasisServiceContextValue, ElevasisServiceProviderProps, ElevasisThemeConfig, ElevasisTokenOverrides, FeatureIconComponent, FeatureModule, FeatureSidebarComponent, NotificationAdapter, OrganizationGraphContextValue, OrganizationGraphFeatureBridge, PresetName, ResolvedFeatureAccess, ResolvedFeatureModule, ResolvedFeatureSemantics, ResolvedShellFeature, ResolvedShellModel, ResolvedShellRouteMatch, ShellRouteMatchStatus, ShellRuntime, WithSchemes };
|
package/dist/provider/index.js
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
export { createTestFeaturesProvider } from '../chunk-
|
|
2
|
-
export { ElevasisUIProvider } from '../chunk-
|
|
1
|
+
export { createTestFeaturesProvider } from '../chunk-ULZ2B3NC.js';
|
|
2
|
+
export { ElevasisUIProvider } from '../chunk-DMYELNGA.js';
|
|
3
3
|
import '../chunk-Q5HC6ENG.js';
|
|
4
4
|
import '../chunk-WLOQ4IBG.js';
|
|
5
|
-
export {
|
|
6
|
-
export { ElevasisCoreProvider, NotificationProvider, useNotificationAdapter } from '../chunk-
|
|
5
|
+
export { FeatureShell } from '../chunk-KVW56ERD.js';
|
|
6
|
+
export { ElevasisCoreProvider, NotificationProvider, useNotificationAdapter } from '../chunk-LVUCBY7X.js';
|
|
7
|
+
export { ElevasisFeaturesProvider, useElevasisFeatures, useOptionalElevasisFeatures } from '../chunk-VQESMHQV.js';
|
|
7
8
|
import '../chunk-RX4UWZZR.js';
|
|
8
|
-
import '../chunk-
|
|
9
|
+
import '../chunk-XUYBOO32.js';
|
|
9
10
|
import '../chunk-SZHARWKU.js';
|
|
10
11
|
import '../chunk-3KMDHCAR.js';
|
|
11
12
|
import '../chunk-NYBEU5TE.js';
|
|
12
|
-
import '../chunk-
|
|
13
|
+
import '../chunk-T6INEVX6.js';
|
|
13
14
|
import '../chunk-2IFYDILW.js';
|
|
14
15
|
import '../chunk-Q7DJKLEN.js';
|
|
15
16
|
import '../chunk-7YQKVWSD.js';
|
|
@@ -18,7 +19,7 @@ export { AppearanceProvider, useAppearance } from '../chunk-QJ2KCHKX.js';
|
|
|
18
19
|
import '../chunk-HQ7M6PBW.js';
|
|
19
20
|
import '../chunk-DT3QYZVU.js';
|
|
20
21
|
import '../chunk-RNP5R5I3.js';
|
|
21
|
-
import '../chunk-
|
|
22
|
+
import '../chunk-SGXXJE52.js';
|
|
22
23
|
import '../chunk-KRWALB24.js';
|
|
23
24
|
import '../chunk-SLH2QLKV.js';
|
|
24
25
|
import '../chunk-DK2HVHCY.js';
|