@elevasis/ui 1.28.2 → 2.0.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.
|
@@ -8744,17 +8744,16 @@ interface TaskCardProps {
|
|
|
8744
8744
|
}
|
|
8745
8745
|
declare function TaskCard({ task }: TaskCardProps): react_jsx_runtime.JSX.Element;
|
|
8746
8746
|
|
|
8747
|
-
|
|
8748
|
-
currentPath: string;
|
|
8749
|
-
onNavigate: (to: string) => void;
|
|
8750
|
-
}
|
|
8751
|
-
declare const ProjectsSidebarMiddle: ({ currentPath, onNavigate }: ProjectsSidebarMiddleProps) => react_jsx_runtime.JSX.Element;
|
|
8752
|
-
|
|
8753
|
-
type ProjectsSidebarProps = Partial<ProjectsSidebarMiddleProps>;
|
|
8754
|
-
declare const ProjectsSidebar: ({ currentPath, onNavigate }?: ProjectsSidebarProps) => react_jsx_runtime.JSX.Element;
|
|
8747
|
+
declare const ProjectsSidebar: () => react_jsx_runtime.JSX.Element;
|
|
8755
8748
|
|
|
8756
8749
|
declare const ProjectsSidebarTop: () => react_jsx_runtime.JSX.Element;
|
|
8757
8750
|
|
|
8751
|
+
interface ProjectsSidebarMiddleProps {
|
|
8752
|
+
currentPath?: string;
|
|
8753
|
+
onNavigate?: (to: string) => void;
|
|
8754
|
+
}
|
|
8755
|
+
declare const ProjectsSidebarMiddle: ({ currentPath, onNavigate }?: ProjectsSidebarMiddleProps) => react_jsx_runtime.JSX.Element;
|
|
8756
|
+
|
|
8758
8757
|
declare function AllTasksPage(): react_jsx_runtime.JSX.Element;
|
|
8759
8758
|
|
|
8760
8759
|
declare function UpcomingMilestonesPage(): react_jsx_runtime.JSX.Element;
|
|
@@ -8784,4 +8783,4 @@ declare const OperationsSidebarMiddle: () => react_jsx_runtime.JSX.Element;
|
|
|
8784
8783
|
declare const operationsManifest: FeatureModule;
|
|
8785
8784
|
|
|
8786
8785
|
export { APIErrorAlert, AbsoluteScheduleForm, ActionModal, ActivityCard, ActivityFeedWidget, ActivityFilters as ActivityFiltersBar, ActivityTable, ActivityTimeline, AgentDefinitionDisplay, AgentExecutionLogs, AgentExecutionTimeline, AgentExecutionVisualizer, AgentIterationEdge, AgentIterationNode, AllTasksPage, ApiKeyDisplayModal, ApiKeyList, ApiKeySettings, BaseEdge, BaseExecutionLogs, BaseExecutionLogsHeader, BaseExecutionLogsStates, BaseNode, Breadcrumbs, BusinessImpactCard, CONTAINER_CONSTANTS, CardHeader, CenteredErrorState, CheckpointGroup, CollapsibleJsonSection, CollapsibleSection, CommandQueueSidebar, CommandQueueSidebarMiddle, CommandQueueSidebarTop, CommandQueueTaskRow, CommandViewEdge, CommandViewGraph, CommandViewNode, ConfigCard, ConfirmationInputModal, ConfirmationModal, ContentSections, ContextUsageBadge, ContextViewer, ContractDisplay, CostBreakdownCard, CostByModelTable, CostMetricsCard, CrashErrorFallback, CreateApiKeyModal, CreateCredentialModal, CreateScheduleModal, CredentialList, CredentialSettings, CrmOverview, CrmSidebar, CrmSidebarMiddle, CrmSidebarTop, CustomModal, CustomSelector, DEAL_STAGES, DEFAULT_KANBAN_CONFIG, DealDrawer, DealKanbanCard, DeleteScheduleModal, DeploymentDetailModal, DeploymentList, DeploymentSettings, DeploymentStatusBadge, DetailCardSkeleton, DocTreeNav, EditApiKeyModal, ElevasisLoader, EmptyState, EmptyVisualizer, ErrorAnalysisCard, ErrorBreakdownTable, ErrorReportCard, ExecutionBreakdownTable, ExecutionErrorSection, ExecutionHealthCard, ExecutionLogsFilters as ExecutionLogsFilterBar, ExecutionLogsTable, ExecutionStats, ExecutionStatusBadge, FilterBar, FormFieldRenderer, GlowDot, GraphBackground, GraphContainer, GraphFitViewButton, GraphFitViewHandler, GraphLegend, HealthStatusCard, JsonViewer, KanbanBoard, KnowledgeBasePage, LeadGenSidebar, LeadGenSidebarMiddle, LeadGenSidebarTop, ListSkeleton, LogEntry, LogGroup, MdxRenderer, MembershipFeaturePanel, MembershipStatusBadge, MetricsStrip, MilestoneTimeline, MyTasksPanel, NavigationButton, NewKnowledgeMapEdge, NewKnowledgeMapGraph, NewKnowledgeMapNode, NotificationBell, NotificationItem, NotificationList, NotificationPanel, OAuthConnectModal, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, OrganizationMembershipsList, PIPELINE_FUNNEL_ORDER, PageNotFound, PageTitleCaption, PipelineFunnelWidget, ProjectsSidebar, ProjectsSidebarMiddle, ProjectsSidebarTop, QuickCreateActions, RecurringScheduleForm, RelativeScheduleForm, ResourceCard, ResourceDefinitionSection, ResourceErrorState, ResourceFilter, ResourceHeader, ResourceHealthChart, ResourceHealthPanel, ResourceNotFoundState, RichTextEditor, SAVED_VIEW_PRESETS, SEOSidebar, SEOSidebarMiddle, SEOSidebarTop, SHARED_VIZ_CONSTANTS, SavedViewsPanel, ScheduleCard, ScheduleDetailModal, ScheduleTypeSelector, SessionMemory, SortableHeader, StatCard, StatCardSkeleton, StatsCardSkeleton, StatusBadge, StyledMarkdown, TabCountBadge, TableSelectionToolbar, TaskCard, TaskScheduler, TasksDueWidget, TimeRangeSelector, TimelineAxis, TimelineBar, TimelineContainer, TimelineRow, ToolsListDisplay, TrendIndicator, UnifiedWorkflowEdge, UnifiedWorkflowGraph, UnifiedWorkflowNode, UpcomingMilestonesPage, VisualizerContainer, WebhookUrlDisplayModal, WorkflowDefinitionDisplay, WorkflowExecutionLogs, WorkflowExecutionTimeline, buildErrorReport, calculateProgress, catalogItemToResourceDefinition, crmManifest, dashboardManifest, deliveryManifest, formatStatusLabel, getExecutionStatusConfig, getGraphBackgroundStyles, getHealthColor, getIcon, getLogLevelConfig, iconMap, leadGenManifest, mdxComponents, milestoneStatusColors, monitoringManifest, noteTypeColors, operationsManifest, projectStatusColors, seoManifest, settingsManifest, showApiErrorNotification, showErrorNotification, showInfoNotification, showSuccessNotification, showWarningNotification, taskStatusColors, taskTypeColors, useCrmPipelineSummary, useCrmQuickMetrics, useGraphBackgroundStyles, useGraphTheme, useNewKnowledgeMapLayout, useRecentCrmActivity };
|
|
8787
|
-
export type { ActivityEntry, ActivityFiltersProps, ActivityTableProps, BaseEdgeProps, BaseExecutionLogsProps, BreadcrumbsProps, CommandViewGraphRef, ContextViewerProps, CostByModelTableProps, CrashErrorFallbackProps, CrmOverviewProps, DealDrawerProps, DealKanbanCardProps, ErrorAnalysisCardProps, ErrorReportCardProps, ExecutionBreakdownTableProps, ExecutionHealthCardProps, ExecutionLogEntry, ExecutionLogsFiltersProps, ExecutionLogsTableProps, FitViewButtonVariant, FormFieldRendererProps, GraphFitViewHandlerProps, JsonViewerProps, KanbanBoardProps, KnowledgeMapEdgeData, KnowledgeMapNodeData, LogLevel, MdxRendererProps, NavigationButtonProps, ProjectsSidebarMiddleProps,
|
|
8786
|
+
export type { ActivityEntry, ActivityFiltersProps, ActivityTableProps, BaseEdgeProps, BaseExecutionLogsProps, BreadcrumbsProps, CommandViewGraphRef, ContextViewerProps, CostByModelTableProps, CrashErrorFallbackProps, CrmOverviewProps, DealDrawerProps, DealKanbanCardProps, ErrorAnalysisCardProps, ErrorReportCardProps, ExecutionBreakdownTableProps, ExecutionHealthCardProps, ExecutionLogEntry, ExecutionLogsFiltersProps, ExecutionLogsTableProps, FitViewButtonVariant, FormFieldRendererProps, GraphFitViewHandlerProps, JsonViewerProps, KanbanBoardProps, KnowledgeMapEdgeData, KnowledgeMapNodeData, LogLevel, MdxRendererProps, NavigationButtonProps, ProjectsSidebarMiddleProps, ResourceHealthPanelProps, RichTextEditorProps, SavedViewPreset, ScheduleType, SerializedKnowledgeMap, SerializedKnowledgeNode, StatCardProps, StyledMarkdownProps, TaskFilterStatus, TrendIndicatorProps };
|
package/dist/components/index.js
CHANGED
|
@@ -4110,7 +4110,7 @@ var LeadGenSidebarTop = () => {
|
|
|
4110
4110
|
};
|
|
4111
4111
|
var LEAD_GEN_ITEMS = [
|
|
4112
4112
|
{ label: "Overview", to: "/lead-gen", icon: IconLayoutGrid, exact: true },
|
|
4113
|
-
{ label: "
|
|
4113
|
+
{ label: "Legacy Redirect", to: "/lead-gen/batches", icon: IconListDetails, exact: false },
|
|
4114
4114
|
{ label: "Lists", to: "/lead-gen/lists", icon: IconList, exact: false },
|
|
4115
4115
|
{ label: "Companies", to: "/lead-gen/companies", icon: IconBuilding, exact: false },
|
|
4116
4116
|
{ label: "Contacts", to: "/lead-gen/contacts", icon: IconAddressBook, exact: false },
|
|
@@ -4456,16 +4456,19 @@ var WORK_ITEMS = [
|
|
|
4456
4456
|
{ label: "Milestones", to: "/projects/milestones", icon: IconFlag, exact: false }
|
|
4457
4457
|
];
|
|
4458
4458
|
var COMMUNICATION_ITEMS = [{ label: "Notes", to: "/projects/notes", icon: IconNotes, exact: false }];
|
|
4459
|
-
var ProjectsSidebarMiddle = ({ currentPath, onNavigate }) => {
|
|
4459
|
+
var ProjectsSidebarMiddle = ({ currentPath, onNavigate } = {}) => {
|
|
4460
|
+
const { currentPath: routerCurrentPath, navigate } = useRouterContext();
|
|
4461
|
+
const resolvedCurrentPath = currentPath ?? routerCurrentPath;
|
|
4462
|
+
const resolvedNavigate = onNavigate ?? navigate;
|
|
4460
4463
|
const renderItems = (items) => items.map((item) => {
|
|
4461
|
-
const isActive = item.exact ?
|
|
4464
|
+
const isActive = item.exact ? resolvedCurrentPath === item.to || resolvedCurrentPath === `${item.to}/` : resolvedCurrentPath.startsWith(item.to);
|
|
4462
4465
|
return /* @__PURE__ */ jsx(
|
|
4463
4466
|
SidebarListItem,
|
|
4464
4467
|
{
|
|
4465
4468
|
icon: item.icon,
|
|
4466
4469
|
label: item.label,
|
|
4467
4470
|
isActive,
|
|
4468
|
-
onClick: () =>
|
|
4471
|
+
onClick: () => resolvedNavigate(item.to)
|
|
4469
4472
|
},
|
|
4470
4473
|
item.to
|
|
4471
4474
|
);
|
|
@@ -4482,13 +4485,10 @@ var ProjectsSidebarMiddle = ({ currentPath, onNavigate }) => {
|
|
|
4482
4485
|
] })
|
|
4483
4486
|
] });
|
|
4484
4487
|
};
|
|
4485
|
-
var ProjectsSidebar = (
|
|
4486
|
-
const { currentPath: routerCurrentPath, navigate } = useRouterContext();
|
|
4487
|
-
const resolvedCurrentPath = currentPath ?? routerCurrentPath;
|
|
4488
|
-
const resolvedNavigate = onNavigate ?? navigate;
|
|
4488
|
+
var ProjectsSidebar = () => {
|
|
4489
4489
|
return /* @__PURE__ */ jsxs(Stack, { gap: 0, style: { height: "100%", display: "flex", flexDirection: "column" }, children: [
|
|
4490
4490
|
/* @__PURE__ */ jsx(ProjectsSidebarTop, {}),
|
|
4491
|
-
/* @__PURE__ */ jsx(ProjectsSidebarMiddle, {
|
|
4491
|
+
/* @__PURE__ */ jsx(ProjectsSidebarMiddle, {})
|
|
4492
4492
|
] });
|
|
4493
4493
|
};
|
|
4494
4494
|
var taskStatusOptions = [
|