@elevasis/ui 2.81.0 → 2.83.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 (105) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +38 -0
  3. package/dist/api/index.d.ts +2 -2
  4. package/dist/api/index.js +3 -3
  5. package/dist/app/index.d.ts +68 -3710
  6. package/dist/app/index.js +12 -10
  7. package/dist/auth/index.d.ts +2 -3
  8. package/dist/auth/index.js +4 -4
  9. package/dist/charts/index.d.ts +10 -10
  10. package/dist/charts/index.js +4 -4
  11. package/dist/{chunk-AI5OYVLR.js → chunk-2WXFPHBV.js} +1 -1
  12. package/dist/{chunk-7D4FKBB4.js → chunk-34YVWPW6.js} +1 -1
  13. package/dist/{chunk-BLYK6I4D.js → chunk-4ILZBLQY.js} +1 -1
  14. package/dist/{chunk-TLMNBOAG.js → chunk-6DWWZXLS.js} +5 -5
  15. package/dist/{chunk-LTRJZOHA.js → chunk-7D6ZLLOZ.js} +1 -1
  16. package/dist/chunk-BIKD5UUM.js +386 -0
  17. package/dist/{chunk-HDLYC63N.js → chunk-CEP5A55J.js} +1 -1
  18. package/dist/{chunk-JLKZUO2I.js → chunk-CUJBF3X6.js} +1 -1
  19. package/dist/{chunk-PNCJJE4Z.js → chunk-DRTC7LRG.js} +1 -1
  20. package/dist/{chunk-ROC2TFPS.js → chunk-EEONAV4R.js} +2 -2
  21. package/dist/{chunk-HDITVHZT.js → chunk-EHWHG6PW.js} +2 -2
  22. package/dist/{chunk-AKANHRQ5.js → chunk-GKTQEVSO.js} +3 -4
  23. package/dist/{chunk-7RS2NUC6.js → chunk-IR7HVER2.js} +1 -1
  24. package/dist/{chunk-3ZADOARU.js → chunk-IYY27OLF.js} +5 -5
  25. package/dist/{chunk-LGJASP5H.js → chunk-JCETE623.js} +1 -1
  26. package/dist/{chunk-42C2WVYU.js → chunk-JJCY23X3.js} +2 -2
  27. package/dist/{chunk-XUL4UBYJ.js → chunk-JPQNXH4X.js} +3 -3
  28. package/dist/{chunk-SWC54W3A.js → chunk-JXS2LDGN.js} +2 -2
  29. package/dist/{chunk-G6VHIXWD.js → chunk-KQ2YSAXL.js} +1 -1
  30. package/dist/{chunk-SOBKRB4N.js → chunk-LACAXGZK.js} +1 -1
  31. package/dist/{chunk-QFKOHZM3.js → chunk-LKM32PP6.js} +3 -3
  32. package/dist/{chunk-PJN6CMWZ.js → chunk-LKZV5TDL.js} +1 -1
  33. package/dist/{chunk-ILOKKA6L.js → chunk-MZXUISBI.js} +11 -12
  34. package/dist/{chunk-K635QVGI.js → chunk-N5O5OYLB.js} +8 -8
  35. package/dist/{chunk-FPRDEKFY.js → chunk-OC7TYJ75.js} +1 -1
  36. package/dist/{chunk-6YWBMLEM.js → chunk-PQEGQ63N.js} +8 -9
  37. package/dist/{chunk-52AZTFUR.js → chunk-QQ3JCEN2.js} +5 -5
  38. package/dist/{chunk-SHJYK2X4.js → chunk-U727JFPK.js} +3 -3
  39. package/dist/{chunk-DEZW7QDI.js → chunk-VFWOUD3M.js} +31 -2
  40. package/dist/{chunk-PSGSFPWA.js → chunk-VGHYGEPR.js} +98 -30
  41. package/dist/{chunk-LTKBVL7D.js → chunk-WYFNXCDJ.js} +4 -4
  42. package/dist/{chunk-KU7KN5VN.js → chunk-XYRMUHWN.js} +1 -1
  43. package/dist/{chunk-O4XUKLRY.js → chunk-YZ47UWV5.js} +1 -1
  44. package/dist/{chunk-5GYJ3IDO.js → chunk-YZ5Q34MK.js} +11 -6
  45. package/dist/{chunk-QEQXPWOK.js → chunk-ZS3BJLOJ.js} +9 -9
  46. package/dist/components/chat/index.d.ts +4 -5
  47. package/dist/components/index.d.ts +210 -198
  48. package/dist/components/index.js +38 -39
  49. package/dist/components/navigation/index.js +5 -5
  50. package/dist/execution/index.d.ts +2 -2
  51. package/dist/features/auth/index.d.ts +6 -6
  52. package/dist/features/auth/index.js +6 -6
  53. package/dist/features/clients/index.d.ts +11 -11
  54. package/dist/features/clients/index.js +7 -7
  55. package/dist/features/content/index.d.ts +36 -24
  56. package/dist/features/content/index.js +7 -7
  57. package/dist/features/crm/index.d.ts +29 -17
  58. package/dist/features/crm/index.js +9 -10
  59. package/dist/features/dashboard/index.d.ts +12 -6
  60. package/dist/features/dashboard/index.js +6 -6
  61. package/dist/features/delivery/index.d.ts +13 -13
  62. package/dist/features/delivery/index.js +17 -17
  63. package/dist/features/knowledge/index.js +4 -4
  64. package/dist/features/lead-gen/index.d.ts +40 -26
  65. package/dist/features/lead-gen/index.js +10 -11
  66. package/dist/features/monitoring/index.d.ts +8 -8
  67. package/dist/features/monitoring/index.js +8 -8
  68. package/dist/features/monitoring/requests/index.d.ts +10 -10
  69. package/dist/features/monitoring/requests/index.js +6 -6
  70. package/dist/features/notes/index.d.ts +7 -7
  71. package/dist/features/operations/index.d.ts +42 -30
  72. package/dist/features/operations/index.js +11 -11
  73. package/dist/features/public-agent-chat/index.d.ts +3 -3
  74. package/dist/features/right-panel-host/index.d.ts +3 -3
  75. package/dist/features/seo/index.d.ts +7 -7
  76. package/dist/features/seo/index.js +7 -7
  77. package/dist/features/settings/index.d.ts +13 -13
  78. package/dist/features/settings/index.js +7 -7
  79. package/dist/hooks/access/index.js +4 -4
  80. package/dist/hooks/delivery/index.js +3 -3
  81. package/dist/hooks/published.d.ts +21 -7
  82. package/dist/hooks/published.js +15 -15
  83. package/dist/knowledge/index.d.ts +65 -37
  84. package/dist/knowledge/index.js +20 -7185
  85. package/dist/layout/index.d.ts +48 -48
  86. package/dist/layout/index.js +8 -8
  87. package/dist/organization/index.d.ts +2 -3
  88. package/dist/provider/ElevasisServiceContext.d.ts +1 -2
  89. package/dist/provider/index.d.ts +103 -3736
  90. package/dist/provider/index.js +4 -4
  91. package/dist/provider/published.d.ts +80 -3721
  92. package/dist/provider/published.js +4 -4
  93. package/dist/router/index.d.ts +2 -3
  94. package/dist/test-utils/index.d.ts +4 -4
  95. package/dist/test-utils/index.js +3 -3
  96. package/dist/types/index.d.ts +6 -0
  97. package/dist/utils/index.d.ts +6 -0
  98. package/dist/utils/index.js +1 -1
  99. package/dist/vite/index.js +2 -2
  100. package/dist/vite-plugin-knowledge/index.js +1 -1
  101. package/package.json +5 -5
  102. package/src/knowledge/README.md +32 -32
  103. package/dist/chunk-6J3SCCZ2.js +0 -200
  104. package/dist/chunk-75OLN23F.js +0 -231
  105. package/dist/knowledge-search-index-UPKXCXQP.js +0 -1539
@@ -1,5 +1,5 @@
1
1
  import { PageContainer } from './chunk-BZZCNLT6.js';
2
- import { sidebarItemGap, sidebarSubLinkPaddingY, sidebarSubLinkPaddingX, sidebarSubLinkIndent, sidebarHoverDelay, sidebarTransitionDuration, sidebarCollapsedWidth, sidebarWidth, topbarHeight, sidebarToggleIconSize, sidebarSectionPadding, NavigationButton, useAppearance, sidebarGroupChevronSize, sidebarIconInnerSize, SubshellNavItem, useElevasisSystems } from './chunk-PSGSFPWA.js';
2
+ import { sidebarItemGap, sidebarSubLinkPaddingY, sidebarSubLinkPaddingX, sidebarSubLinkIndent, sidebarHoverDelay, sidebarTransitionDuration, sidebarCollapsedWidth, sidebarWidth, topbarHeight, sidebarToggleIconSize, sidebarSectionPadding, NavigationButton, useAppearance, sidebarGroupChevronSize, sidebarIconInnerSize, SubshellNavItem, useElevasisSystems } from './chunk-VGHYGEPR.js';
3
3
  import { useRouterContext } from './chunk-Q7DJKLEN.js';
4
4
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
5
5
  import { createContext, memo, useEffect, useRef, createElement, useContext, useLayoutEffect, useState, Fragment as Fragment$1 } from 'react';
@@ -1,4 +1,4 @@
1
- import { useOptionalElevasisSystems } from './chunk-PSGSFPWA.js';
1
+ import { useOptionalElevasisSystems } from './chunk-VGHYGEPR.js';
2
2
  import { useRouterContext } from './chunk-Q7DJKLEN.js';
3
3
  import { useMemo } from 'react';
4
4
 
@@ -1,6 +1,6 @@
1
- import { deriveActions } from './chunk-75OLN23F.js';
2
- import { acquisitionListKeys, useNotificationAdapter } from './chunk-PSGSFPWA.js';
3
- import { showApiErrorNotification, showSuccessNotification } from './chunk-PNCJJE4Z.js';
1
+ import { deriveCompiledCrmActions } from './chunk-BIKD5UUM.js';
2
+ import { useCrmActions, acquisitionListKeys, useNotificationAdapter } from './chunk-VGHYGEPR.js';
3
+ import { showApiErrorNotification, showSuccessNotification } from './chunk-DRTC7LRG.js';
4
4
  import { useElevasisServices } from './chunk-BI5VDO2K.js';
5
5
  import { CredentialNameSchema, UuidSchema } from './chunk-34B3ACOZ.js';
6
6
  import { useQuery, useQueryClient, useMutation } from '@tanstack/react-query';
@@ -172,14 +172,19 @@ function useTransitionListMember() {
172
172
  }
173
173
  });
174
174
  }
175
+ function toAction(compiledAction) {
176
+ const { key, label, payloadSchema } = compiledAction;
177
+ return { key, label, payloadSchema };
178
+ }
175
179
  function useDeriveActions(item) {
180
+ const crmActions = useCrmActions();
176
181
  return useMemo(() => {
177
182
  if (!item) return [];
178
- if (item.pipeline_key !== "lead-gen") {
179
- return deriveActions(item);
183
+ if (item.pipeline_key === "crm") {
184
+ return deriveCompiledCrmActions(item, crmActions).map(toAction);
180
185
  }
181
186
  return [];
182
- }, [item]);
187
+ }, [item, crmActions]);
183
188
  }
184
189
  function useUpdateListStatus() {
185
190
  const { apiRequest, workOSOrganizationId } = useElevasisServices();
@@ -1,22 +1,22 @@
1
- import { SubshellLoader } from './chunk-JLKZUO2I.js';
2
- import { CollapsibleJsonSection, ExecutionStats, UnifiedWorkflowGraph, WorkflowExecutionTimeline, AgentExecutionVisualizer, AgentExecutionTimeline, AgentIterationDetailPanel } from './chunk-XUL4UBYJ.js';
3
- import { useCommandViewData, useCommandViewStats, useCommandViewStore, useResourceExecutions, useCheckpointTasks, useSessionMessages, useSessionWebSocket, useSessionExecutions } from './chunk-SWC54W3A.js';
4
- import { findNavigationSurfaceForSystem, getSystemApiInterfaceReadiness } from './chunk-PJN6CMWZ.js';
1
+ import { SubshellLoader } from './chunk-CUJBF3X6.js';
2
+ import { CollapsibleJsonSection, ExecutionStats, UnifiedWorkflowGraph, WorkflowExecutionTimeline, AgentExecutionVisualizer, AgentExecutionTimeline, AgentIterationDetailPanel } from './chunk-JPQNXH4X.js';
3
+ import { useCommandViewData, useCommandViewStats, useCommandViewStore, useResourceExecutions, useCheckpointTasks, useSessionMessages, useSessionWebSocket, useSessionExecutions } from './chunk-JXS2LDGN.js';
4
+ import { findNavigationSurfaceForSystem, getSystemApiInterfaceReadiness } from './chunk-LKZV5TDL.js';
5
5
  import { FormFieldRenderer } from './chunk-3MEXPLWT.js';
6
6
  import { ChatInterface, ChatHeader } from './chunk-SNZDFCOQ.js';
7
7
  import { mergeSessionMessages } from './chunk-QFGNRKIE.js';
8
- import { ResourceHealthPanel } from './chunk-BLYK6I4D.js';
9
- import { AppShellLoader } from './chunk-LGJASP5H.js';
8
+ import { ResourceHealthPanel } from './chunk-4ILZBLQY.js';
9
+ import { AppShellLoader } from './chunk-JCETE623.js';
10
10
  import { Graph_module_css_default } from './chunk-HENXLGVD.js';
11
11
  import { PageContainer } from './chunk-BZZCNLT6.js';
12
- import { DEFAULT_ORGANIZATION_GRAPH_FILTERS, resolveSemanticIconComponent, CustomModal, useAppearance, useErrorDetail, JsonViewer, useExecution, useArchivedLogs, useDeleteExecution, useRetryExecution, useCancelExecution, ConfirmationModal, PageTitleCaption, CollapsibleSection, useResolvedTimeRange, useStatusFilter, useResourceSearch, useResourcesDomainFilters, usePaginationState, useResources, useRecentExecutionsByResource, filterByDomainFilters, TabCountBadge, ResourceCard, useResourceDefinition, isSessionCapable, useOptionalElevasisSystems, useDeleteTask, useCommandQueue, useSubmitAction, useCommandQueueTask, ContextViewer, useElevasisSystems, buildOrganizationGraph, EmptyState, useExecutionPanelState, useSessions, SessionListItem, useDeleteSession, useEndSession, useCreateSession, topbarHeight, useSession, getSessionView, SubshellContentContainer, ORGANIZATION_NODE_ID, collectResourceFilterFacets, SemanticIcon, useSystemsViewState, aggregateSystemMetrics, useSystemHealth, ORGANIZATION_GRAPH_NODE_KIND_ORDER, formatResourceAttribution, SYSTEM_RESOURCE_KINDS, ORGANIZATION_GRAPH_NODE_KIND_LABELS, ORGANIZATION_GRAPH_EDGE_KIND_LABELS, ORGANIZATION_GRAPH_NODE_KIND_DETAIL_LABELS, ORGANIZATION_GRAPH_NODE_KIND_MEANINGS, ORGANIZATION_GRAPH_EDGE_KIND_MEANINGS } from './chunk-PSGSFPWA.js';
13
- import { showApiErrorNotification, showSuccessNotification } from './chunk-PNCJJE4Z.js';
12
+ import { DEFAULT_ORGANIZATION_GRAPH_FILTERS, resolveSemanticIconComponent, CustomModal, useAppearance, useErrorDetail, JsonViewer, useExecution, useArchivedLogs, useDeleteExecution, useRetryExecution, useCancelExecution, ConfirmationModal, PageTitleCaption, CollapsibleSection, useResolvedTimeRange, useStatusFilter, useResourceSearch, useResourcesDomainFilters, usePaginationState, useResources, useRecentExecutionsByResource, filterByDomainFilters, TabCountBadge, ResourceCard, useResourceDefinition, isSessionCapable, useOptionalElevasisSystems, useDeleteTask, useCommandQueue, useSubmitAction, useCommandQueueTask, ContextViewer, useElevasisSystems, buildOrganizationGraph, EmptyState, useExecutionPanelState, useSessions, SessionListItem, useDeleteSession, useEndSession, useCreateSession, topbarHeight, useSession, getSessionView, SubshellContentContainer, ORGANIZATION_NODE_ID, collectResourceFilterFacets, SemanticIcon, useSystemsViewState, aggregateSystemMetrics, useSystemHealth, ORGANIZATION_GRAPH_NODE_KIND_ORDER, formatResourceAttribution, SYSTEM_RESOURCE_KINDS, ORGANIZATION_GRAPH_NODE_KIND_LABELS, ORGANIZATION_GRAPH_EDGE_KIND_LABELS, ORGANIZATION_GRAPH_NODE_KIND_DETAIL_LABELS, ORGANIZATION_GRAPH_NODE_KIND_MEANINGS, ORGANIZATION_GRAPH_EDGE_KIND_MEANINGS } from './chunk-VGHYGEPR.js';
13
+ import { showApiErrorNotification, showSuccessNotification } from './chunk-DRTC7LRG.js';
14
14
  import { CardHeader } from './chunk-62GVNH5U.js';
15
15
  import { useInitialization } from './chunk-P45GQ3ZW.js';
16
16
  import { StyledMarkdown } from './chunk-3KMDHCAR.js';
17
17
  import { getResourceStatusColor, useMergedExecution, useTimelineData, useAgentIterationData } from './chunk-2HXDI4RY.js';
18
18
  import { useOrganization } from './chunk-DD3CCMCZ.js';
19
- import { getErrorInfo, formatErrorMessage, getResourceIcon, formatRelativeTime, PAGE_SIZE_DEFAULT, listAllSystems, getSystem, compileOrganizationOntology, getSystemAncestors } from './chunk-DEZW7QDI.js';
19
+ import { getErrorInfo, formatErrorMessage, getResourceIcon, formatRelativeTime, PAGE_SIZE_DEFAULT, listAllSystems, getSystem, compileOrganizationOntology, getSystemAncestors } from './chunk-VFWOUD3M.js';
20
20
  import { ResourceStatusColors, toWorkflowLogMessages } from './chunk-7ZUXA2NW.js';
21
21
  import { useElevasisServices } from './chunk-BI5VDO2K.js';
22
22
  import { useRouterContext } from './chunk-Q7DJKLEN.js';
@@ -1,4 +1,3 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
1
  import * as react from 'react';
3
2
  import { ReactNode } from 'react';
4
3
 
@@ -59,7 +58,7 @@ interface ChatSidebarProps {
59
58
  * </div>
60
59
  * ```
61
60
  */
62
- declare function ChatSidebar({ isOpen, title, children, width, zIndex }: ChatSidebarProps): react_jsx_runtime.JSX.Element;
61
+ declare function ChatSidebar({ isOpen, title, children, width, zIndex }: ChatSidebarProps): react.JSX.Element;
63
62
 
64
63
  interface ChatHeaderProps {
65
64
  title: string;
@@ -80,7 +79,7 @@ interface ChatHeaderProps {
80
79
  * Shared chat header component
81
80
  * Displays title, status badge, context usage, and optional sidebar toggle
82
81
  */
83
- declare function ChatHeader({ title, status, contextUsage, sidebarIcon, onToggleSidebar, isSidebarOpen, sidebarTooltip }: ChatHeaderProps): react_jsx_runtime.JSX.Element;
82
+ declare function ChatHeader({ title, status, contextUsage, sidebarIcon, onToggleSidebar, isSidebarOpen, sidebarTooltip }: ChatHeaderProps): react.JSX.Element;
84
83
 
85
84
  interface ChatInputAreaProps {
86
85
  input: string;
@@ -190,7 +189,7 @@ interface ChatInterfaceProps {
190
189
  * Used across ai studio sessions and production agent chat
191
190
  * Handles message display, auto-scroll, and input area
192
191
  */
193
- declare function ChatInterface({ messages, input, onInputChange, onSendMessage, className, style, isProcessing, isConnected, inputDisabled, error, onClearError, emptyStateText, emptyStateSubtext, placeholder, messageAreaVariant, showAgentActivity }: ChatInterfaceProps): react_jsx_runtime.JSX.Element;
192
+ declare function ChatInterface({ messages, input, onInputChange, onSendMessage, className, style, isProcessing, isConnected, inputDisabled, error, onClearError, emptyStateText, emptyStateSubtext, placeholder, messageAreaVariant, showAgentActivity }: ChatInterfaceProps): react.JSX.Element;
194
193
 
195
194
  interface MessageBubbleProps {
196
195
  message: ChatMessage;
@@ -207,7 +206,7 @@ declare const MessageBubble: react.NamedExoticComponent<MessageBubbleProps>;
207
206
  * Each letter brightens sequentially, creating the illusion
208
207
  * of a streak of light sweeping across the text.
209
208
  */
210
- declare function ProcessingIndicator(): react_jsx_runtime.JSX.Element;
209
+ declare function ProcessingIndicator(): react.JSX.Element;
211
210
 
212
211
  export { ChatHeader, ChatInputArea, ChatInterface, ChatSidebar, MessageBubble, ProcessingIndicator };
213
212
  export type { ChatHeaderProps, ChatInputAreaProps, ChatInterfaceProps, ChatSidebarProps, MessageBubbleProps };