@elevasis/ui 2.55.0 → 2.57.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/app/index.js +6 -6
- package/dist/auth/index.js +6 -6
- package/dist/charts/index.js +6 -6
- package/dist/{chunk-2FTX4WO2.js → chunk-BI5VDO2K.js} +4 -2
- package/dist/{chunk-W2SFTXMT.js → chunk-EIXSQONC.js} +1 -1
- package/dist/{chunk-36PY65TF.js → chunk-ETZY6MFL.js} +32 -7
- package/dist/{chunk-6DO4PE3O.js → chunk-LO7GWG24.js} +1 -1
- package/dist/{chunk-SJHM4WDG.js → chunk-T4LA4RY2.js} +1 -1
- package/dist/{chunk-E6NSKXYN.js → chunk-T73S4G4P.js} +22 -17
- package/dist/{chunk-K7E352VG.js → chunk-ZAVMRFUP.js} +1 -1
- package/dist/components/chat/index.js +1 -1
- package/dist/components/index.js +6 -6
- package/dist/components/navigation/index.js +6 -6
- package/dist/features/auth/index.js +7 -7
- package/dist/features/clients/index.js +6 -6
- package/dist/features/crm/index.js +6 -6
- package/dist/features/dashboard/index.js +6 -6
- package/dist/features/delivery/index.js +6 -6
- package/dist/features/knowledge/index.js +6 -6
- package/dist/features/lead-gen/index.js +6 -6
- package/dist/features/monitoring/index.js +6 -6
- package/dist/features/monitoring/requests/index.js +7 -7
- package/dist/features/notes/index.js +4 -4
- package/dist/features/operations/index.d.ts +10 -2
- package/dist/features/operations/index.js +6 -6
- package/dist/features/public-agent-chat/index.js +1 -1
- package/dist/features/settings/index.js +6 -6
- package/dist/hooks/access/index.js +6 -6
- package/dist/hooks/delivery/index.js +6 -6
- package/dist/hooks/index.d.ts +7 -0
- package/dist/hooks/index.js +6 -6
- package/dist/hooks/published.d.ts +7 -0
- package/dist/hooks/published.js +6 -6
- package/dist/hooks/user-notes/index.js +2 -2
- package/dist/index.d.ts +14 -1
- package/dist/index.js +6 -6
- package/dist/initialization/index.js +4 -4
- package/dist/knowledge/index.js +7 -7
- package/dist/layout/index.js +6 -6
- package/dist/organization/index.js +6 -6
- package/dist/profile/index.js +2 -2
- package/dist/provider/ElevasisServiceContext.d.ts +14 -1
- package/dist/provider/ElevasisServiceContext.js +1 -1
- package/dist/provider/index.d.ts +14 -1
- package/dist/provider/index.js +6 -6
- package/dist/provider/published.d.ts +14 -1
- package/dist/provider/published.js +6 -6
- package/dist/test-utils/index.d.ts +7 -0
- package/dist/test-utils/index.js +1 -1
- package/package.json +3 -3
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { createUseAppInitialization } from '../chunk-
|
|
2
|
-
export { InitializationContext, InitializationProvider, useInitialization } from '../chunk-
|
|
1
|
+
export { createUseAppInitialization } from '../chunk-T4LA4RY2.js';
|
|
2
|
+
export { InitializationContext, InitializationProvider, useInitialization } from '../chunk-LO7GWG24.js';
|
|
3
3
|
import '../chunk-DD3CCMCZ.js';
|
|
4
4
|
import '../chunk-RNP5R5I3.js';
|
|
5
|
-
import '../chunk-
|
|
6
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-EIXSQONC.js';
|
|
6
|
+
import '../chunk-BI5VDO2K.js';
|
|
7
7
|
import '../chunk-MQZE7SUI.js';
|
|
8
8
|
import '../chunk-TVTSASST.js';
|
|
9
9
|
import '../chunk-BRJ3QZ4E.js';
|
package/dist/knowledge/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { getConceptDefinition, normaliseConceptKey, SemanticIcon, getKnowledgeIconToken, PageContainer, getKnowledgeGraphNodeCommand, IdentityDomainSchema, WorkflowResourceEntrySchema, AgentResourceEntrySchema, IntegrationResourceEntrySchema, ScriptResourceEntrySchema, findOmTreeGroup, SubshellContentContainer, getKnowledgeNodeReadCommand, getKnowledgeOntologyProjection, getPrimaryOntologyItemsForDomain, projectNavigationSurfaces, projectNavigationGroups, SurfaceDefinitionSchema, RoleSchema, PolicySchema, getOntologyDomainLabel, getKnowledgeDomainFolderCommand, buildKnowledgeOmTreeData, findKnowledgeTreeNodeByValue, getKnowledgeTreeFolderCommand, KNOWLEDGE_DOMAINS_WITH_PANELS } from '../chunk-
|
|
2
|
-
export { FILTERABLE_DOMAIN_KEYS, KNOWLEDGE_DOMAINS_WITH_PANELS, KNOWLEDGE_ICON_TOKEN_BY_KIND, KnowledgeSearchBar, KnowledgeTree, OM_NESTED_TREE_GROUPS, OM_TREE_GROUPS, SemanticIcon, buildKnowledgeOmTreeData, extendSemanticIconRegistry, findKnowledgeTreeNodeByValue, findOmTreeGroup, getKnowledgeIconToken, getSemanticIconComponent, getSharedOrganizationGraph, resolveSemanticIconComponent } from '../chunk-
|
|
1
|
+
import { getConceptDefinition, normaliseConceptKey, SemanticIcon, getKnowledgeIconToken, PageContainer, getKnowledgeGraphNodeCommand, IdentityDomainSchema, WorkflowResourceEntrySchema, AgentResourceEntrySchema, IntegrationResourceEntrySchema, ScriptResourceEntrySchema, findOmTreeGroup, SubshellContentContainer, getKnowledgeNodeReadCommand, getKnowledgeOntologyProjection, getPrimaryOntologyItemsForDomain, projectNavigationSurfaces, projectNavigationGroups, SurfaceDefinitionSchema, RoleSchema, PolicySchema, getOntologyDomainLabel, getKnowledgeDomainFolderCommand, buildKnowledgeOmTreeData, findKnowledgeTreeNodeByValue, getKnowledgeTreeFolderCommand, KNOWLEDGE_DOMAINS_WITH_PANELS } from '../chunk-ETZY6MFL.js';
|
|
2
|
+
export { FILTERABLE_DOMAIN_KEYS, KNOWLEDGE_DOMAINS_WITH_PANELS, KNOWLEDGE_ICON_TOKEN_BY_KIND, KnowledgeSearchBar, KnowledgeTree, OM_NESTED_TREE_GROUPS, OM_TREE_GROUPS, SemanticIcon, buildKnowledgeOmTreeData, extendSemanticIconRegistry, findKnowledgeTreeNodeByValue, findOmTreeGroup, getKnowledgeIconToken, getSemanticIconComponent, getSharedOrganizationGraph, resolveSemanticIconComponent } from '../chunk-ETZY6MFL.js';
|
|
3
3
|
import { usePresetsContext } from '../chunk-NZ2F5RQ4.js';
|
|
4
4
|
import '../chunk-OJJK27GC.js';
|
|
5
5
|
import '../chunk-ZTWA5H77.js';
|
|
@@ -7,23 +7,23 @@ import '../chunk-AUDNF2Q7.js';
|
|
|
7
7
|
import '../chunk-6M6OLGQY.js';
|
|
8
8
|
import '../chunk-MKH2KOAO.js';
|
|
9
9
|
import '../chunk-7Q5THR43.js';
|
|
10
|
-
import '../chunk-
|
|
10
|
+
import '../chunk-T4LA4RY2.js';
|
|
11
11
|
import '../chunk-GMXGDO3I.js';
|
|
12
12
|
import '../chunk-S3XR4II4.js';
|
|
13
|
-
import '../chunk-
|
|
13
|
+
import '../chunk-LO7GWG24.js';
|
|
14
14
|
import '../chunk-DD3CCMCZ.js';
|
|
15
15
|
import '../chunk-M7WWRZ5Z.js';
|
|
16
|
-
import '../chunk-
|
|
16
|
+
import '../chunk-T73S4G4P.js';
|
|
17
17
|
import '../chunk-2IFYDILW.js';
|
|
18
18
|
import '../chunk-Q7DJKLEN.js';
|
|
19
19
|
import '../chunk-HENXLGVD.js';
|
|
20
20
|
import '../chunk-I3CFGE3N.js';
|
|
21
21
|
import '../chunk-RNP5R5I3.js';
|
|
22
|
-
import '../chunk-
|
|
22
|
+
import '../chunk-EIXSQONC.js';
|
|
23
23
|
import { getSystem, SystemEntrySchema, EntitySchema, ActionSchema, OntologyIdSchema, ontologyGraphNodeId, compileOrganizationOntology, parseOntologyId } from '../chunk-XOPLS4S6.js';
|
|
24
24
|
import '../chunk-FVOMKZ7S.js';
|
|
25
25
|
import '../chunk-KRWALB24.js';
|
|
26
|
-
import '../chunk-
|
|
26
|
+
import '../chunk-BI5VDO2K.js';
|
|
27
27
|
import '../chunk-MQZE7SUI.js';
|
|
28
28
|
import '../chunk-TVTSASST.js';
|
|
29
29
|
import '../chunk-BRJ3QZ4E.js';
|
package/dist/layout/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { AppShellCenteredContainer, AppShellContainer, AppShellContentContainer, AppShellError, AppShellLoader, AppShellRightSideContainer, AppShellRightSideOuterContainer, AppTopbarAdjusterWrapper, CollapsibleSidebarGroup, CyberParticles, LinksGroup, PageContainer, Sidebar, SidebarContext, SidebarProvider, SubshellContainer, SubshellContentContainer, SubshellLoader, SubshellNavList, SubshellRightSideContainer, SubshellSidebar, SubshellSidebarLoader, Topbar, TopbarActions, TopbarContainer, Vignette, subsidebarWidth, useSidebar, useSidebarCollapse } from '../chunk-
|
|
1
|
+
export { AppShellCenteredContainer, AppShellContainer, AppShellContentContainer, AppShellError, AppShellLoader, AppShellRightSideContainer, AppShellRightSideOuterContainer, AppTopbarAdjusterWrapper, CollapsibleSidebarGroup, CyberParticles, LinksGroup, PageContainer, Sidebar, SidebarContext, SidebarProvider, SubshellContainer, SubshellContentContainer, SubshellLoader, SubshellNavList, SubshellRightSideContainer, SubshellSidebar, SubshellSidebarLoader, Topbar, TopbarActions, TopbarContainer, Vignette, subsidebarWidth, useSidebar, useSidebarCollapse } from '../chunk-ETZY6MFL.js';
|
|
2
2
|
import '../chunk-NZ2F5RQ4.js';
|
|
3
3
|
export { AmbientBloomGrid, AppBackground, CyberBackground, FilmGrain, FloatingMotes, FloatingOrbs, PerspectiveGrid, RadiantGlow, WaveBackground } from '../chunk-OJJK27GC.js';
|
|
4
4
|
import '../chunk-ZTWA5H77.js';
|
|
@@ -6,23 +6,23 @@ import '../chunk-AUDNF2Q7.js';
|
|
|
6
6
|
import '../chunk-6M6OLGQY.js';
|
|
7
7
|
import '../chunk-MKH2KOAO.js';
|
|
8
8
|
import '../chunk-7Q5THR43.js';
|
|
9
|
-
import '../chunk-
|
|
9
|
+
import '../chunk-T4LA4RY2.js';
|
|
10
10
|
export { SubshellNavItem, SubshellSidebarSection, sidebarBottomSectionCollapsedHeight, sidebarBottomSectionHeight, sidebarCollapsedWidth, sidebarGroupChevronSize, sidebarHoverDelay, sidebarIconInnerSize, sidebarIconSize, sidebarIconStroke, sidebarItemGap, sidebarItemHeight, sidebarItemPadding, sidebarSectionPadding, sidebarSubLinkIndent, sidebarSubLinkPaddingX, sidebarSubLinkPaddingY, sidebarToggleIconSize, sidebarTransitionDuration, sidebarWidth, subshellNavItemIconSize, topbarHeight } from '../chunk-GMXGDO3I.js';
|
|
11
11
|
import '../chunk-S3XR4II4.js';
|
|
12
|
-
import '../chunk-
|
|
12
|
+
import '../chunk-LO7GWG24.js';
|
|
13
13
|
import '../chunk-DD3CCMCZ.js';
|
|
14
14
|
import '../chunk-M7WWRZ5Z.js';
|
|
15
|
-
import '../chunk-
|
|
15
|
+
import '../chunk-T73S4G4P.js';
|
|
16
16
|
import '../chunk-2IFYDILW.js';
|
|
17
17
|
import '../chunk-Q7DJKLEN.js';
|
|
18
18
|
import '../chunk-HENXLGVD.js';
|
|
19
19
|
import '../chunk-I3CFGE3N.js';
|
|
20
20
|
import '../chunk-RNP5R5I3.js';
|
|
21
|
-
import '../chunk-
|
|
21
|
+
import '../chunk-EIXSQONC.js';
|
|
22
22
|
import '../chunk-XOPLS4S6.js';
|
|
23
23
|
import '../chunk-FVOMKZ7S.js';
|
|
24
24
|
import '../chunk-KRWALB24.js';
|
|
25
|
-
import '../chunk-
|
|
25
|
+
import '../chunk-BI5VDO2K.js';
|
|
26
26
|
import '../chunk-MQZE7SUI.js';
|
|
27
27
|
import '../chunk-TVTSASST.js';
|
|
28
28
|
import '../chunk-BRJ3QZ4E.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { OrganizationProvider, OrganizationSwitcher, OrganizationSwitcherConnected, createOrganizationsSlice, createUseOrgInitialization, createUseOrganizations } from '../chunk-
|
|
1
|
+
export { OrganizationProvider, OrganizationSwitcher, OrganizationSwitcherConnected, createOrganizationsSlice, createUseOrgInitialization, createUseOrganizations } from '../chunk-ETZY6MFL.js';
|
|
2
2
|
import '../chunk-NZ2F5RQ4.js';
|
|
3
3
|
import '../chunk-OJJK27GC.js';
|
|
4
4
|
import '../chunk-ZTWA5H77.js';
|
|
@@ -6,23 +6,23 @@ import '../chunk-AUDNF2Q7.js';
|
|
|
6
6
|
import '../chunk-6M6OLGQY.js';
|
|
7
7
|
import '../chunk-MKH2KOAO.js';
|
|
8
8
|
import '../chunk-7Q5THR43.js';
|
|
9
|
-
import '../chunk-
|
|
9
|
+
import '../chunk-T4LA4RY2.js';
|
|
10
10
|
import '../chunk-GMXGDO3I.js';
|
|
11
11
|
import '../chunk-S3XR4II4.js';
|
|
12
|
-
import '../chunk-
|
|
12
|
+
import '../chunk-LO7GWG24.js';
|
|
13
13
|
export { OrganizationContext, useOrganization } from '../chunk-DD3CCMCZ.js';
|
|
14
14
|
import '../chunk-M7WWRZ5Z.js';
|
|
15
|
-
import '../chunk-
|
|
15
|
+
import '../chunk-T73S4G4P.js';
|
|
16
16
|
import '../chunk-2IFYDILW.js';
|
|
17
17
|
import '../chunk-Q7DJKLEN.js';
|
|
18
18
|
import '../chunk-HENXLGVD.js';
|
|
19
19
|
import '../chunk-I3CFGE3N.js';
|
|
20
20
|
import '../chunk-RNP5R5I3.js';
|
|
21
|
-
import '../chunk-
|
|
21
|
+
import '../chunk-EIXSQONC.js';
|
|
22
22
|
import '../chunk-XOPLS4S6.js';
|
|
23
23
|
import '../chunk-FVOMKZ7S.js';
|
|
24
24
|
import '../chunk-KRWALB24.js';
|
|
25
|
-
import '../chunk-
|
|
25
|
+
import '../chunk-BI5VDO2K.js';
|
|
26
26
|
import '../chunk-MQZE7SUI.js';
|
|
27
27
|
import '../chunk-TVTSASST.js';
|
|
28
28
|
import '../chunk-BRJ3QZ4E.js';
|
package/dist/profile/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '../chunk-RNP5R5I3.js';
|
|
2
|
-
export { ProfileProvider, UserProfileService, useProfile, useUserProfile } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
2
|
+
export { ProfileProvider, UserProfileService, useProfile, useUserProfile } from '../chunk-EIXSQONC.js';
|
|
3
|
+
import '../chunk-BI5VDO2K.js';
|
|
4
4
|
import '../chunk-MQZE7SUI.js';
|
|
5
5
|
import '../chunk-TVTSASST.js';
|
|
6
6
|
import '../chunk-BRJ3QZ4E.js';
|
|
@@ -25,6 +25,13 @@ interface ElevasisServiceContextValue {
|
|
|
25
25
|
/** WorkOS `org_xxx` id for the current organization. */
|
|
26
26
|
workOSOrganizationId: WorkOsOrgId | null;
|
|
27
27
|
isReady: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* API base URL (e.g., 'https://api.elevasis.com').
|
|
30
|
+
* Sourced from ElevasisCoreProvider's apiUrl prop.
|
|
31
|
+
* Used by default slot renderers (e.g., SessionChatPage default renderConversationView)
|
|
32
|
+
* to resolve WebSocket endpoints without requiring per-host wiring.
|
|
33
|
+
*/
|
|
34
|
+
apiUrl: string;
|
|
28
35
|
}
|
|
29
36
|
interface ElevasisServiceProviderProps {
|
|
30
37
|
apiRequest: <T>(endpoint: string, options?: RequestInit) => Promise<T>;
|
|
@@ -33,6 +40,12 @@ interface ElevasisServiceProviderProps {
|
|
|
33
40
|
/** WorkOS `org_xxx` string for the current organization. */
|
|
34
41
|
workOSOrganizationId?: string | null;
|
|
35
42
|
isReady: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* API base URL. Required when using the default renderConversationView slot
|
|
45
|
+
* in SessionChatPage. Pass the same value as ElevasisCoreProvider's apiUrl.
|
|
46
|
+
* Defaults to '' when omitted (standalone/testing usage without session chat).
|
|
47
|
+
*/
|
|
48
|
+
apiUrl?: string;
|
|
36
49
|
children: ReactNode;
|
|
37
50
|
}
|
|
38
51
|
|
|
@@ -65,6 +78,6 @@ declare function useElevasisServices(): ElevasisServiceContextValue;
|
|
|
65
78
|
* </ElevasisServiceProvider>
|
|
66
79
|
* ```
|
|
67
80
|
*/
|
|
68
|
-
declare function ElevasisServiceProvider({ apiRequest, organizationId, workOSOrganizationId, isReady, children }: ElevasisServiceProviderProps): react_jsx_runtime.JSX.Element;
|
|
81
|
+
declare function ElevasisServiceProvider({ apiRequest, organizationId, workOSOrganizationId, isReady, apiUrl, children }: ElevasisServiceProviderProps): react_jsx_runtime.JSX.Element;
|
|
69
82
|
|
|
70
83
|
export { ElevasisServiceContext, ElevasisServiceProvider, useElevasisServices };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ElevasisServiceContext, ElevasisServiceProvider, useElevasisServices } from '../chunk-
|
|
1
|
+
export { ElevasisServiceContext, ElevasisServiceProvider, useElevasisServices } from '../chunk-BI5VDO2K.js';
|
|
2
2
|
import '../chunk-MQZE7SUI.js';
|
|
3
3
|
import '../chunk-TVTSASST.js';
|
|
4
4
|
import '../chunk-I2KLQ2HA.js';
|
package/dist/provider/index.d.ts
CHANGED
|
@@ -4994,6 +4994,13 @@ interface ElevasisServiceContextValue {
|
|
|
4994
4994
|
/** WorkOS `org_xxx` id for the current organization. */
|
|
4995
4995
|
workOSOrganizationId: WorkOsOrgId | null;
|
|
4996
4996
|
isReady: boolean;
|
|
4997
|
+
/**
|
|
4998
|
+
* API base URL (e.g., 'https://api.elevasis.com').
|
|
4999
|
+
* Sourced from ElevasisCoreProvider's apiUrl prop.
|
|
5000
|
+
* Used by default slot renderers (e.g., SessionChatPage default renderConversationView)
|
|
5001
|
+
* to resolve WebSocket endpoints without requiring per-host wiring.
|
|
5002
|
+
*/
|
|
5003
|
+
apiUrl: string;
|
|
4997
5004
|
}
|
|
4998
5005
|
interface ElevasisServiceProviderProps {
|
|
4999
5006
|
apiRequest: <T>(endpoint: string, options?: RequestInit) => Promise<T>;
|
|
@@ -5002,6 +5009,12 @@ interface ElevasisServiceProviderProps {
|
|
|
5002
5009
|
/** WorkOS `org_xxx` string for the current organization. */
|
|
5003
5010
|
workOSOrganizationId?: string | null;
|
|
5004
5011
|
isReady: boolean;
|
|
5012
|
+
/**
|
|
5013
|
+
* API base URL. Required when using the default renderConversationView slot
|
|
5014
|
+
* in SessionChatPage. Pass the same value as ElevasisCoreProvider's apiUrl.
|
|
5015
|
+
* Defaults to '' when omitted (standalone/testing usage without session chat).
|
|
5016
|
+
*/
|
|
5017
|
+
apiUrl?: string;
|
|
5005
5018
|
children: ReactNode;
|
|
5006
5019
|
}
|
|
5007
5020
|
|
|
@@ -5315,7 +5328,7 @@ declare function useElevasisServices(): ElevasisServiceContextValue;
|
|
|
5315
5328
|
* </ElevasisServiceProvider>
|
|
5316
5329
|
* ```
|
|
5317
5330
|
*/
|
|
5318
|
-
declare function ElevasisServiceProvider({ apiRequest, organizationId, workOSOrganizationId, isReady, children }: ElevasisServiceProviderProps): react_jsx_runtime.JSX.Element;
|
|
5331
|
+
declare function ElevasisServiceProvider({ apiRequest, organizationId, workOSOrganizationId, isReady, apiUrl, children }: ElevasisServiceProviderProps): react_jsx_runtime.JSX.Element;
|
|
5319
5332
|
|
|
5320
5333
|
/**
|
|
5321
5334
|
* Mantine-specific theme config — extends the headless core config with
|
package/dist/provider/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { AppearanceProvider, CrmActionsProvider, ElevasisCoreProvider, ElevasisSystemsProvider, ElevasisUIProvider, ListActionsProvider, NotificationProvider, SystemShell, createTestSystemsProvider, useAppearance, useCrmActions, useElevasisSystems, useListActions, useNotificationAdapter, useOptionalElevasisSystems, useResolvedOrganizationModel } from '../chunk-
|
|
1
|
+
export { AppearanceProvider, CrmActionsProvider, ElevasisCoreProvider, ElevasisSystemsProvider, ElevasisUIProvider, ListActionsProvider, NotificationProvider, SystemShell, createTestSystemsProvider, useAppearance, useCrmActions, useElevasisSystems, useListActions, useNotificationAdapter, useOptionalElevasisSystems, useResolvedOrganizationModel } from '../chunk-ETZY6MFL.js';
|
|
2
2
|
import '../chunk-NZ2F5RQ4.js';
|
|
3
3
|
import '../chunk-OJJK27GC.js';
|
|
4
4
|
import '../chunk-ZTWA5H77.js';
|
|
@@ -6,23 +6,23 @@ import '../chunk-AUDNF2Q7.js';
|
|
|
6
6
|
import '../chunk-6M6OLGQY.js';
|
|
7
7
|
import '../chunk-MKH2KOAO.js';
|
|
8
8
|
import '../chunk-7Q5THR43.js';
|
|
9
|
-
import '../chunk-
|
|
9
|
+
import '../chunk-T4LA4RY2.js';
|
|
10
10
|
import '../chunk-GMXGDO3I.js';
|
|
11
11
|
import '../chunk-S3XR4II4.js';
|
|
12
|
-
import '../chunk-
|
|
12
|
+
import '../chunk-LO7GWG24.js';
|
|
13
13
|
import '../chunk-DD3CCMCZ.js';
|
|
14
14
|
import '../chunk-M7WWRZ5Z.js';
|
|
15
|
-
import '../chunk-
|
|
15
|
+
import '../chunk-T73S4G4P.js';
|
|
16
16
|
import '../chunk-2IFYDILW.js';
|
|
17
17
|
import '../chunk-Q7DJKLEN.js';
|
|
18
18
|
import '../chunk-HENXLGVD.js';
|
|
19
19
|
import '../chunk-I3CFGE3N.js';
|
|
20
20
|
import '../chunk-RNP5R5I3.js';
|
|
21
|
-
import '../chunk-
|
|
21
|
+
import '../chunk-EIXSQONC.js';
|
|
22
22
|
import '../chunk-XOPLS4S6.js';
|
|
23
23
|
import '../chunk-FVOMKZ7S.js';
|
|
24
24
|
import '../chunk-KRWALB24.js';
|
|
25
|
-
export { ElevasisServiceProvider, useElevasisServices } from '../chunk-
|
|
25
|
+
export { ElevasisServiceProvider, useElevasisServices } from '../chunk-BI5VDO2K.js';
|
|
26
26
|
import '../chunk-MQZE7SUI.js';
|
|
27
27
|
import '../chunk-TVTSASST.js';
|
|
28
28
|
import '../chunk-BRJ3QZ4E.js';
|
|
@@ -4987,6 +4987,13 @@ interface ElevasisServiceContextValue {
|
|
|
4987
4987
|
/** WorkOS `org_xxx` id for the current organization. */
|
|
4988
4988
|
workOSOrganizationId: WorkOsOrgId | null;
|
|
4989
4989
|
isReady: boolean;
|
|
4990
|
+
/**
|
|
4991
|
+
* API base URL (e.g., 'https://api.elevasis.com').
|
|
4992
|
+
* Sourced from ElevasisCoreProvider's apiUrl prop.
|
|
4993
|
+
* Used by default slot renderers (e.g., SessionChatPage default renderConversationView)
|
|
4994
|
+
* to resolve WebSocket endpoints without requiring per-host wiring.
|
|
4995
|
+
*/
|
|
4996
|
+
apiUrl: string;
|
|
4990
4997
|
}
|
|
4991
4998
|
interface ElevasisServiceProviderProps {
|
|
4992
4999
|
apiRequest: <T>(endpoint: string, options?: RequestInit) => Promise<T>;
|
|
@@ -4995,6 +5002,12 @@ interface ElevasisServiceProviderProps {
|
|
|
4995
5002
|
/** WorkOS `org_xxx` string for the current organization. */
|
|
4996
5003
|
workOSOrganizationId?: string | null;
|
|
4997
5004
|
isReady: boolean;
|
|
5005
|
+
/**
|
|
5006
|
+
* API base URL. Required when using the default renderConversationView slot
|
|
5007
|
+
* in SessionChatPage. Pass the same value as ElevasisCoreProvider's apiUrl.
|
|
5008
|
+
* Defaults to '' when omitted (standalone/testing usage without session chat).
|
|
5009
|
+
*/
|
|
5010
|
+
apiUrl?: string;
|
|
4998
5011
|
children: ReactNode;
|
|
4999
5012
|
}
|
|
5000
5013
|
|
|
@@ -5251,7 +5264,7 @@ declare function useElevasisServices(): ElevasisServiceContextValue;
|
|
|
5251
5264
|
* </ElevasisServiceProvider>
|
|
5252
5265
|
* ```
|
|
5253
5266
|
*/
|
|
5254
|
-
declare function ElevasisServiceProvider({ apiRequest, organizationId, workOSOrganizationId, isReady, children }: ElevasisServiceProviderProps): react_jsx_runtime.JSX.Element;
|
|
5267
|
+
declare function ElevasisServiceProvider({ apiRequest, organizationId, workOSOrganizationId, isReady, apiUrl, children }: ElevasisServiceProviderProps): react_jsx_runtime.JSX.Element;
|
|
5255
5268
|
|
|
5256
5269
|
export { AppearanceProvider, ElevasisCoreProvider, ElevasisServiceProvider, ElevasisSystemsProvider, NotificationProvider, SystemShell, useAppearance, useElevasisServices, useElevasisSystems, useNotificationAdapter, useOptionalElevasisSystems };
|
|
5257
5270
|
export type { ApiKeyConfig, AppearanceConfig, AuthConfig, AuthKitConfig, ElevasisCoreProviderProps, ElevasisCoreThemeConfig, ElevasisServiceContextValue, ElevasisServiceProviderProps, ElevasisSystemsContextValue, ElevasisSystemsProviderProps, ElevasisTokenOverrides, NotificationAdapter, OrganizationGraphContextValue, OrganizationGraphSystemBridge, ResolvedShellModel, ResolvedShellRouteMatch, ResolvedShellSystem, ResolvedSystemAccess, ResolvedSystemModule, ResolvedSystemSemantics, ResolvedTopbarAction, ResolvedTopbarActionEntry, ShellRouteMatchStatus, ShellRuntime, ShellSidebarLinkGroup, ShellSidebarLinkItem, ShellSidebarProjectionOptions, SystemIconComponent, SystemModule, SystemSidebarComponent, TopbarActionModule, TopbarActionsProjectionOptions, WithSchemes };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { AppearanceProvider, ElevasisCoreProvider, ElevasisSystemsProvider, NotificationProvider, SystemShell, useAppearance, useElevasisSystems, useNotificationAdapter, useOptionalElevasisSystems } from '../chunk-
|
|
1
|
+
export { AppearanceProvider, ElevasisCoreProvider, ElevasisSystemsProvider, NotificationProvider, SystemShell, useAppearance, useElevasisSystems, useNotificationAdapter, useOptionalElevasisSystems } from '../chunk-ETZY6MFL.js';
|
|
2
2
|
import '../chunk-NZ2F5RQ4.js';
|
|
3
3
|
import '../chunk-OJJK27GC.js';
|
|
4
4
|
import '../chunk-ZTWA5H77.js';
|
|
@@ -6,23 +6,23 @@ import '../chunk-AUDNF2Q7.js';
|
|
|
6
6
|
import '../chunk-6M6OLGQY.js';
|
|
7
7
|
import '../chunk-MKH2KOAO.js';
|
|
8
8
|
import '../chunk-7Q5THR43.js';
|
|
9
|
-
import '../chunk-
|
|
9
|
+
import '../chunk-T4LA4RY2.js';
|
|
10
10
|
import '../chunk-GMXGDO3I.js';
|
|
11
11
|
import '../chunk-S3XR4II4.js';
|
|
12
|
-
import '../chunk-
|
|
12
|
+
import '../chunk-LO7GWG24.js';
|
|
13
13
|
import '../chunk-DD3CCMCZ.js';
|
|
14
14
|
import '../chunk-M7WWRZ5Z.js';
|
|
15
|
-
import '../chunk-
|
|
15
|
+
import '../chunk-T73S4G4P.js';
|
|
16
16
|
import '../chunk-2IFYDILW.js';
|
|
17
17
|
import '../chunk-Q7DJKLEN.js';
|
|
18
18
|
import '../chunk-HENXLGVD.js';
|
|
19
19
|
import '../chunk-I3CFGE3N.js';
|
|
20
20
|
import '../chunk-RNP5R5I3.js';
|
|
21
|
-
import '../chunk-
|
|
21
|
+
import '../chunk-EIXSQONC.js';
|
|
22
22
|
import '../chunk-XOPLS4S6.js';
|
|
23
23
|
import '../chunk-FVOMKZ7S.js';
|
|
24
24
|
import '../chunk-KRWALB24.js';
|
|
25
|
-
export { ElevasisServiceProvider, useElevasisServices } from '../chunk-
|
|
25
|
+
export { ElevasisServiceProvider, useElevasisServices } from '../chunk-BI5VDO2K.js';
|
|
26
26
|
import '../chunk-MQZE7SUI.js';
|
|
27
27
|
import '../chunk-TVTSASST.js';
|
|
28
28
|
import '../chunk-BRJ3QZ4E.js';
|
|
@@ -30,6 +30,13 @@ interface ElevasisServiceContextValue {
|
|
|
30
30
|
/** WorkOS `org_xxx` id for the current organization. */
|
|
31
31
|
workOSOrganizationId: WorkOsOrgId | null;
|
|
32
32
|
isReady: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* API base URL (e.g., 'https://api.elevasis.com').
|
|
35
|
+
* Sourced from ElevasisCoreProvider's apiUrl prop.
|
|
36
|
+
* Used by default slot renderers (e.g., SessionChatPage default renderConversationView)
|
|
37
|
+
* to resolve WebSocket endpoints without requiring per-host wiring.
|
|
38
|
+
*/
|
|
39
|
+
apiUrl: string;
|
|
33
40
|
}
|
|
34
41
|
|
|
35
42
|
type ApiRequest = ElevasisServiceContextValue['apiRequest'];
|
package/dist/test-utils/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import '../chunk-DD3CCMCZ.js';
|
|
|
8
8
|
import '../chunk-XOPLS4S6.js';
|
|
9
9
|
import '../chunk-FVOMKZ7S.js';
|
|
10
10
|
import '../chunk-KRWALB24.js';
|
|
11
|
-
import { ElevasisServiceProvider } from '../chunk-
|
|
11
|
+
import { ElevasisServiceProvider } from '../chunk-BI5VDO2K.js';
|
|
12
12
|
import '../chunk-MQZE7SUI.js';
|
|
13
13
|
import '../chunk-TVTSASST.js';
|
|
14
14
|
import { __export, __reExport } from '../chunk-I2KLQ2HA.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elevasis/ui",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.57.0",
|
|
4
4
|
"description": "UI components and platform-aware hooks for building custom frontends on the Elevasis platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -274,10 +274,10 @@
|
|
|
274
274
|
"typescript": "5.9.2",
|
|
275
275
|
"vite": "^7.0.0",
|
|
276
276
|
"vitest": "^3.2.4",
|
|
277
|
-
"@elevasis/sdk": "1.36.
|
|
278
|
-
"@repo/core": "0.51.0",
|
|
277
|
+
"@elevasis/sdk": "1.36.5",
|
|
279
278
|
"@repo/typescript-config": "0.0.0",
|
|
280
279
|
"@repo/elevasis-core": "1.0.0",
|
|
280
|
+
"@repo/core": "0.51.0",
|
|
281
281
|
"@repo/eslint-config": "0.0.0"
|
|
282
282
|
},
|
|
283
283
|
"dependencies": {
|