@elevasis/ui 1.4.0 → 1.5.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.
Files changed (56) hide show
  1. package/dist/{CoreAuthKitInner-3J4RVQO6.js → CoreAuthKitInner-Y6LQYIPX.js} +1 -0
  2. package/dist/api/index.js +1 -0
  3. package/dist/auth/context.js +1 -0
  4. package/dist/auth/index.js +1 -0
  5. package/dist/charts/index.d.ts +96 -0
  6. package/dist/charts/index.js +384 -0
  7. package/dist/chunk-54S7KNJV.js +112 -0
  8. package/dist/{chunk-6IX5JZEH.js → chunk-G4TAF3T6.js} +166 -1
  9. package/dist/{chunk-Y2I5JJ3N.js → chunk-K3YVC5RW.js} +2 -2
  10. package/dist/chunk-KB5NKPTN.js +1455 -0
  11. package/dist/chunk-MLKGABMK.js +7 -0
  12. package/dist/{chunk-GIFAF5ZS.js → chunk-MS45MNFM.js} +6 -1
  13. package/dist/chunk-R56VC63S.js +129 -0
  14. package/dist/chunk-TYV5NJV2.js +1 -0
  15. package/dist/{chunk-JQLT6HBI.js → chunk-YJFTZUJJ.js} +22 -2
  16. package/dist/components/index.css +486 -0
  17. package/dist/components/index.d.ts +2047 -1
  18. package/dist/components/index.js +3350 -0
  19. package/dist/components/navigation/index.js +1 -0
  20. package/dist/execution/index.d.ts +15 -3
  21. package/dist/execution/index.js +2 -1
  22. package/dist/graph/index.js +2 -1
  23. package/dist/hooks/index.d.ts +270 -0
  24. package/dist/hooks/index.js +3 -2
  25. package/dist/hooks/published.d.ts +546 -2
  26. package/dist/hooks/published.js +3 -2
  27. package/dist/index.css +62 -0
  28. package/dist/index.d.ts +351 -4
  29. package/dist/index.js +12 -1038
  30. package/dist/initialization/index.d.ts +270 -0
  31. package/dist/initialization/index.js +1 -0
  32. package/dist/layout/index.css +44 -0
  33. package/dist/layout/index.d.ts +330 -0
  34. package/dist/layout/index.js +1440 -0
  35. package/dist/organization/index.js +1 -0
  36. package/dist/profile/index.d.ts +270 -0
  37. package/dist/profile/index.js +1 -0
  38. package/dist/provider/index.css +61 -0
  39. package/dist/provider/index.d.ts +54 -2
  40. package/dist/provider/index.js +5 -3
  41. package/dist/provider/published.d.ts +6 -0
  42. package/dist/provider/published.js +3 -2
  43. package/dist/router/context.js +1 -0
  44. package/dist/router/index.js +1 -0
  45. package/dist/sse/index.js +1 -1
  46. package/dist/supabase/index.d.ts +525 -0
  47. package/dist/supabase/index.js +1 -0
  48. package/dist/theme/index.d.ts +107 -0
  49. package/dist/theme/index.js +3 -0
  50. package/dist/typeform/index.js +1 -0
  51. package/dist/typeform/schemas.js +1 -0
  52. package/dist/types/index.d.ts +3636 -368
  53. package/dist/utils/index.js +1 -0
  54. package/package.json +64 -3
  55. package/dist/chunk-XXDDMASA.js +0 -170
  56. /package/dist/{chunk-BUZONXAW.js → chunk-ARQRKA6J.js} +0 -0
@@ -1,4 +1,5 @@
1
1
  import { useRouterContext } from '../../chunk-Q7DJKLEN.js';
2
+ import '../../chunk-MLKGABMK.js';
2
3
  import { useMemo } from 'react';
3
4
 
4
5
  var useBreadcrumbs = (options = {}) => {
@@ -872,8 +872,8 @@ declare function calculateBarPosition(startTime: number, endTime: number, execut
872
872
  };
873
873
 
874
874
  /**
875
- * Execution visualization constants.
876
- * Headless layout/sizing data used by hooks and utils (no Mantine dependency).
875
+ * Timeline visualization constants
876
+ * Layout and styling constants for timeline components
877
877
  */
878
878
  declare const TIMELINE_CONSTANTS: {
879
879
  readonly BAR_HEIGHT: 24;
@@ -884,6 +884,9 @@ declare const TIMELINE_CONSTANTS: {
884
884
  readonly CONTAINER_PADDING: 16;
885
885
  readonly CONTAINER_BORDER_RADIUS: 8;
886
886
  };
887
+ /**
888
+ * Shared visualization constants used by both workflow and agent visualizers
889
+ */
887
890
  declare const SHARED_VIZ_CONSTANTS: {
888
891
  readonly NODE_WIDTH: 160;
889
892
  readonly NODE_SPACING: 220;
@@ -891,6 +894,15 @@ declare const SHARED_VIZ_CONSTANTS: {
891
894
  readonly MIN_ZOOM: 0.5;
892
895
  readonly MAX_ZOOM: 2;
893
896
  };
897
+ /**
898
+ * Container height constant (used by VisualizerContainer and EmptyVisualizer)
899
+ */
900
+ declare const CONTAINER_CONSTANTS: {
901
+ CONTAINER_HEIGHT: number;
902
+ };
903
+ /**
904
+ * Agent-specific dimension and layout constants
905
+ */
894
906
  declare const AGENT_CONSTANTS: {
895
907
  readonly NODE_HEIGHT: 140;
896
908
  readonly CONTAINER_HEIGHT: 430;
@@ -918,5 +930,5 @@ declare const WORKFLOW_CONSTANTS: {
918
930
  readonly MAX_ZOOM: 2;
919
931
  };
920
932
 
921
- export { AGENT_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 };
933
+ 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 };
922
934
  export type { AgentIterationEdgeData, AgentIterationNodeData, AgentStatus, EdgeColorOptions, EdgeOpacityOptions, ExecutionPathState, ExecutionStatus, GraphMode, StatusColorScheme, StatusIconColors, StepExecutionData, TimelineBarProps, TimelineContainerProps, TimelineRowProps, UnifiedWorkflowEdgeData, UnifiedWorkflowNodeData, WorkflowEdgeType, WorkflowStepEdgeData, WorkflowStepNodeData, WorkflowStepsLayoutInput };
@@ -1 +1,2 @@
1
- export { AGENT_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-JQLT6HBI.js';
1
+ 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-YJFTZUJJ.js';
2
+ import '../chunk-MLKGABMK.js';
@@ -1 +1,2 @@
1
- export { GRAPH_CONSTANTS, calculateGraphHeight, useConnectionHighlight, useDirectedChainHighlighting, useFitViewTrigger, useGraphHighlighting, useNodeSelection } from '../chunk-GIFAF5ZS.js';
1
+ export { GRAPH_CONSTANTS, calculateGraphHeight, useConnectionHighlight, useDirectedChainHighlighting, useFitViewTrigger, useGraphHighlighting, useNodeSelection } from '../chunk-MS45MNFM.js';
2
+ import '../chunk-MLKGABMK.js';
@@ -1404,6 +1404,276 @@ type Database = {
1404
1404
  }
1405
1405
  ];
1406
1406
  };
1407
+ delivery_deliverables: {
1408
+ Row: {
1409
+ completed_at: string | null;
1410
+ created_at: string;
1411
+ description: string | null;
1412
+ due_date: string | null;
1413
+ engagement_id: string;
1414
+ file_url: string | null;
1415
+ id: string;
1416
+ metadata: Json | null;
1417
+ milestone_id: string | null;
1418
+ name: string;
1419
+ organization_id: string;
1420
+ status: string;
1421
+ type: string;
1422
+ updated_at: string;
1423
+ };
1424
+ Insert: {
1425
+ completed_at?: string | null;
1426
+ created_at?: string;
1427
+ description?: string | null;
1428
+ due_date?: string | null;
1429
+ engagement_id: string;
1430
+ file_url?: string | null;
1431
+ id?: string;
1432
+ metadata?: Json | null;
1433
+ milestone_id?: string | null;
1434
+ name: string;
1435
+ organization_id: string;
1436
+ status?: string;
1437
+ type?: string;
1438
+ updated_at?: string;
1439
+ };
1440
+ Update: {
1441
+ completed_at?: string | null;
1442
+ created_at?: string;
1443
+ description?: string | null;
1444
+ due_date?: string | null;
1445
+ engagement_id?: string;
1446
+ file_url?: string | null;
1447
+ id?: string;
1448
+ metadata?: Json | null;
1449
+ milestone_id?: string | null;
1450
+ name?: string;
1451
+ organization_id?: string;
1452
+ status?: string;
1453
+ type?: string;
1454
+ updated_at?: string;
1455
+ };
1456
+ Relationships: [
1457
+ {
1458
+ foreignKeyName: "delivery_deliverables_engagement_id_fkey";
1459
+ columns: ["engagement_id"];
1460
+ isOneToOne: false;
1461
+ referencedRelation: "delivery_engagements";
1462
+ referencedColumns: ["id"];
1463
+ },
1464
+ {
1465
+ foreignKeyName: "delivery_deliverables_milestone_id_fkey";
1466
+ columns: ["milestone_id"];
1467
+ isOneToOne: false;
1468
+ referencedRelation: "delivery_milestones";
1469
+ referencedColumns: ["id"];
1470
+ },
1471
+ {
1472
+ foreignKeyName: "delivery_deliverables_organization_id_fkey";
1473
+ columns: ["organization_id"];
1474
+ isOneToOne: false;
1475
+ referencedRelation: "organizations";
1476
+ referencedColumns: ["id"];
1477
+ }
1478
+ ];
1479
+ };
1480
+ delivery_engagements: {
1481
+ Row: {
1482
+ actual_end_date: string | null;
1483
+ client_company_id: string | null;
1484
+ contract_value: number | null;
1485
+ created_at: string;
1486
+ deal_id: string | null;
1487
+ description: string | null;
1488
+ id: string;
1489
+ metadata: Json | null;
1490
+ name: string;
1491
+ organization_id: string;
1492
+ start_date: string | null;
1493
+ status: string;
1494
+ target_end_date: string | null;
1495
+ updated_at: string;
1496
+ };
1497
+ Insert: {
1498
+ actual_end_date?: string | null;
1499
+ client_company_id?: string | null;
1500
+ contract_value?: number | null;
1501
+ created_at?: string;
1502
+ deal_id?: string | null;
1503
+ description?: string | null;
1504
+ id?: string;
1505
+ metadata?: Json | null;
1506
+ name: string;
1507
+ organization_id: string;
1508
+ start_date?: string | null;
1509
+ status?: string;
1510
+ target_end_date?: string | null;
1511
+ updated_at?: string;
1512
+ };
1513
+ Update: {
1514
+ actual_end_date?: string | null;
1515
+ client_company_id?: string | null;
1516
+ contract_value?: number | null;
1517
+ created_at?: string;
1518
+ deal_id?: string | null;
1519
+ description?: string | null;
1520
+ id?: string;
1521
+ metadata?: Json | null;
1522
+ name?: string;
1523
+ organization_id?: string;
1524
+ start_date?: string | null;
1525
+ status?: string;
1526
+ target_end_date?: string | null;
1527
+ updated_at?: string;
1528
+ };
1529
+ Relationships: [
1530
+ {
1531
+ foreignKeyName: "delivery_engagements_client_company_id_fkey";
1532
+ columns: ["client_company_id"];
1533
+ isOneToOne: false;
1534
+ referencedRelation: "acq_companies";
1535
+ referencedColumns: ["id"];
1536
+ },
1537
+ {
1538
+ foreignKeyName: "delivery_engagements_deal_id_fkey";
1539
+ columns: ["deal_id"];
1540
+ isOneToOne: false;
1541
+ referencedRelation: "acq_deals";
1542
+ referencedColumns: ["id"];
1543
+ },
1544
+ {
1545
+ foreignKeyName: "delivery_engagements_organization_id_fkey";
1546
+ columns: ["organization_id"];
1547
+ isOneToOne: false;
1548
+ referencedRelation: "organizations";
1549
+ referencedColumns: ["id"];
1550
+ }
1551
+ ];
1552
+ };
1553
+ delivery_milestones: {
1554
+ Row: {
1555
+ checklist: Json | null;
1556
+ completed_at: string | null;
1557
+ created_at: string;
1558
+ description: string | null;
1559
+ due_date: string | null;
1560
+ engagement_id: string;
1561
+ id: string;
1562
+ metadata: Json | null;
1563
+ name: string;
1564
+ organization_id: string;
1565
+ sequence: number;
1566
+ status: string;
1567
+ updated_at: string;
1568
+ };
1569
+ Insert: {
1570
+ checklist?: Json | null;
1571
+ completed_at?: string | null;
1572
+ created_at?: string;
1573
+ description?: string | null;
1574
+ due_date?: string | null;
1575
+ engagement_id: string;
1576
+ id?: string;
1577
+ metadata?: Json | null;
1578
+ name: string;
1579
+ organization_id: string;
1580
+ sequence?: number;
1581
+ status?: string;
1582
+ updated_at?: string;
1583
+ };
1584
+ Update: {
1585
+ checklist?: Json | null;
1586
+ completed_at?: string | null;
1587
+ created_at?: string;
1588
+ description?: string | null;
1589
+ due_date?: string | null;
1590
+ engagement_id?: string;
1591
+ id?: string;
1592
+ metadata?: Json | null;
1593
+ name?: string;
1594
+ organization_id?: string;
1595
+ sequence?: number;
1596
+ status?: string;
1597
+ updated_at?: string;
1598
+ };
1599
+ Relationships: [
1600
+ {
1601
+ foreignKeyName: "delivery_milestones_engagement_id_fkey";
1602
+ columns: ["engagement_id"];
1603
+ isOneToOne: false;
1604
+ referencedRelation: "delivery_engagements";
1605
+ referencedColumns: ["id"];
1606
+ },
1607
+ {
1608
+ foreignKeyName: "delivery_milestones_organization_id_fkey";
1609
+ columns: ["organization_id"];
1610
+ isOneToOne: false;
1611
+ referencedRelation: "organizations";
1612
+ referencedColumns: ["id"];
1613
+ }
1614
+ ];
1615
+ };
1616
+ delivery_notes: {
1617
+ Row: {
1618
+ content: string;
1619
+ created_at: string;
1620
+ created_by: string | null;
1621
+ engagement_id: string;
1622
+ id: string;
1623
+ metadata: Json | null;
1624
+ occurred_at: string;
1625
+ organization_id: string;
1626
+ summary: string | null;
1627
+ type: string;
1628
+ };
1629
+ Insert: {
1630
+ content: string;
1631
+ created_at?: string;
1632
+ created_by?: string | null;
1633
+ engagement_id: string;
1634
+ id?: string;
1635
+ metadata?: Json | null;
1636
+ occurred_at?: string;
1637
+ organization_id: string;
1638
+ summary?: string | null;
1639
+ type?: string;
1640
+ };
1641
+ Update: {
1642
+ content?: string;
1643
+ created_at?: string;
1644
+ created_by?: string | null;
1645
+ engagement_id?: string;
1646
+ id?: string;
1647
+ metadata?: Json | null;
1648
+ occurred_at?: string;
1649
+ organization_id?: string;
1650
+ summary?: string | null;
1651
+ type?: string;
1652
+ };
1653
+ Relationships: [
1654
+ {
1655
+ foreignKeyName: "delivery_notes_created_by_fkey";
1656
+ columns: ["created_by"];
1657
+ isOneToOne: false;
1658
+ referencedRelation: "users";
1659
+ referencedColumns: ["id"];
1660
+ },
1661
+ {
1662
+ foreignKeyName: "delivery_notes_engagement_id_fkey";
1663
+ columns: ["engagement_id"];
1664
+ isOneToOne: false;
1665
+ referencedRelation: "delivery_engagements";
1666
+ referencedColumns: ["id"];
1667
+ },
1668
+ {
1669
+ foreignKeyName: "delivery_notes_organization_id_fkey";
1670
+ columns: ["organization_id"];
1671
+ isOneToOne: false;
1672
+ referencedRelation: "organizations";
1673
+ referencedColumns: ["id"];
1674
+ }
1675
+ ];
1676
+ };
1407
1677
  deployments: {
1408
1678
  Row: {
1409
1679
  compiled_docs: Json | null;
@@ -1,8 +1,9 @@
1
- export { useCommandQueue, useCommandQueueTotals, useDeleteTask, usePatchTask, useSubmitAction } from '../chunk-XXDDMASA.js';
2
- export { OperationsService, createUseFeatureAccess, executionsKeys, observabilityKeys, scheduleKeys, sortData, useActivities, useActivityTrend, useBatchDelete, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateSchedule, useDashboardMetrics, useDeleteExecution, useDeleteSchedule, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useErrorTrends, useExecuteAsync, useExecution, useExecutionHealth, useExecutionLogs, useExecutions, useGetExecutionHistory, useGetSchedule, useListSchedules, useMarkAllAsRead, useMarkAsRead, useNotificationCount, useNotifications, usePaginationState, usePauseSchedule, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResources, useResumeSchedule, useRetryExecution, useSSEConnection, useSortedData, useSuccessNotification, useTableSelection, useTableSort, useTopFailingResources, useUnresolveError, useUpdateAnchor, useUpdateSchedule, useWarningNotification } from '../chunk-6IX5JZEH.js';
1
+ import '../chunk-TYV5NJV2.js';
2
+ export { OperationsService, createUseFeatureAccess, executionsKeys, observabilityKeys, scheduleKeys, sortData, useActivities, useActivityTrend, useBatchDelete, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCommandQueue, useCommandQueueTotals, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateSchedule, useDashboardMetrics, useDeleteExecution, useDeleteSchedule, useDeleteTask, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useErrorTrends, useExecuteAsync, useExecution, useExecutionHealth, useExecutionLogs, useExecutions, useGetExecutionHistory, useGetSchedule, useListSchedules, useMarkAllAsRead, useMarkAsRead, useNotificationCount, useNotifications, usePaginationState, usePatchTask, usePauseSchedule, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResources, useResumeSchedule, useRetryExecution, useSSEConnection, useSortedData, useSubmitAction, useSuccessNotification, useTableSelection, useTableSort, useTopFailingResources, useUnresolveError, useUpdateAnchor, useUpdateSchedule, useWarningNotification } from '../chunk-G4TAF3T6.js';
3
3
  import '../chunk-JGJSZ3UE.js';
4
4
  import '../chunk-TIRMFDM4.js';
5
5
  import '../chunk-4VGWQ5AN.js';
6
6
  import '../chunk-FWZJH3TL.js';
7
7
  import '../chunk-KA7LO7U5.js';
8
8
  import '../chunk-7PLEQFHO.js';
9
+ import '../chunk-MLKGABMK.js';