@elevasis/ui 2.65.0 → 2.66.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.d.ts +6 -0
- package/dist/app/index.js +5 -5
- package/dist/auth/index.d.ts +12 -5
- package/dist/auth/index.js +5 -5
- package/dist/charts/index.js +5 -5
- package/dist/{chunk-ZTWA5H77.js → chunk-6ZAP3FOA.js} +0 -1
- package/dist/{chunk-3WVZRN37.js → chunk-ANNM5R7S.js} +235 -365
- package/dist/chunk-L7BZZ4SI.js +56 -0
- package/dist/chunk-P45GQ3ZW.js +104 -0
- package/dist/{chunk-EIXSQONC.js → chunk-RT4KRGZT.js} +37 -59
- package/dist/components/index.d.ts +240 -209
- package/dist/components/index.js +5 -5
- package/dist/components/navigation/index.js +5 -5
- package/dist/execution/index.d.ts +115 -104
- package/dist/features/auth/index.d.ts +39 -8
- package/dist/features/auth/index.js +14 -9
- package/dist/features/clients/index.js +5 -5
- package/dist/features/crm/index.js +5 -5
- package/dist/features/dashboard/index.js +5 -5
- package/dist/features/delivery/index.js +5 -5
- package/dist/features/knowledge/index.js +5 -5
- package/dist/features/lead-gen/index.js +5 -5
- package/dist/features/monitoring/index.js +5 -5
- package/dist/features/monitoring/requests/index.js +6 -6
- package/dist/features/notes/index.js +2 -2
- package/dist/features/operations/index.d.ts +141 -105
- package/dist/features/operations/index.js +5 -5
- package/dist/features/settings/index.d.ts +1 -0
- package/dist/features/settings/index.js +5 -5
- package/dist/hooks/access/index.js +5 -5
- package/dist/hooks/delivery/index.js +5 -5
- package/dist/hooks/index.d.ts +284 -162
- package/dist/hooks/index.js +5 -5
- package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +0 -2
- package/dist/hooks/operations/command-view/utils/transformCommandViewData.js +1 -1
- package/dist/hooks/published.d.ts +284 -162
- package/dist/hooks/published.js +5 -5
- package/dist/index.d.ts +374 -236
- package/dist/index.js +5 -5
- package/dist/initialization/index.d.ts +61 -28
- package/dist/initialization/index.js +3 -3
- package/dist/knowledge/index.js +9 -9
- package/dist/{knowledge-search-index-JOPRYZN6.js → knowledge-search-index-6EZNBNSR.js} +4 -4
- package/dist/layout/index.js +5 -5
- package/dist/organization/index.d.ts +49 -4
- package/dist/organization/index.js +5 -5
- package/dist/profile/index.d.ts +23 -2
- package/dist/profile/index.js +1 -1
- package/dist/provider/index.js +5 -5
- package/dist/provider/published.js +5 -5
- package/dist/types/index.d.ts +330 -271
- package/package.json +3 -3
- package/dist/chunk-LO7GWG24.js +0 -75
- package/dist/chunk-T4LA4RY2.js +0 -56
package/dist/app/index.d.ts
CHANGED
|
@@ -5090,6 +5090,12 @@ interface ElevasisSystemsProviderProps {
|
|
|
5090
5090
|
children: ReactNode;
|
|
5091
5091
|
}
|
|
5092
5092
|
|
|
5093
|
+
/**
|
|
5094
|
+
* Canonical initialization types, owned here next to {@link InitializationProvider}
|
|
5095
|
+
* (the live, wired implementation). The legacy `createUseAppInitialization`
|
|
5096
|
+
* factory in `./hooks/useAppInitialization.ts` imports these rather than
|
|
5097
|
+
* declaring its own copy, so the two implementations can never drift on shape.
|
|
5098
|
+
*/
|
|
5093
5099
|
interface InitializationError {
|
|
5094
5100
|
layer: 'auth' | 'profile' | 'organization';
|
|
5095
5101
|
message: string;
|
package/dist/app/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { useSessionCheck, AppErrorBoundary, SidebarProvider, ElevasisSystemsProvider, useElevasisSystems, AppShellContainer, Sidebar, AppShellRightSideContainer, AppShellRightSideOuterContainer, SystemShell, ElevasisUIProvider } from '../chunk-
|
|
1
|
+
import { useSessionCheck, AppErrorBoundary, SidebarProvider, ElevasisSystemsProvider, useElevasisSystems, AppShellContainer, Sidebar, AppShellRightSideContainer, AppShellRightSideOuterContainer, SystemShell, ElevasisUIProvider } from '../chunk-ANNM5R7S.js';
|
|
2
2
|
import '../chunk-4OEVLV66.js';
|
|
3
3
|
import '../chunk-RBGVNPA6.js';
|
|
4
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-6ZAP3FOA.js';
|
|
5
5
|
import '../chunk-AUDNF2Q7.js';
|
|
6
6
|
import '../chunk-6M6OLGQY.js';
|
|
7
7
|
import '../chunk-MKH2KOAO.js';
|
|
8
8
|
import '../chunk-XNW3O6QW.js';
|
|
9
|
-
import '../chunk-
|
|
9
|
+
import '../chunk-L7BZZ4SI.js';
|
|
10
10
|
import '../chunk-GMXGDO3I.js';
|
|
11
11
|
import '../chunk-62GVNH5U.js';
|
|
12
|
-
import { useInitialization } from '../chunk-
|
|
12
|
+
import { useInitialization } from '../chunk-P45GQ3ZW.js';
|
|
13
13
|
import '../chunk-DD3CCMCZ.js';
|
|
14
14
|
import '../chunk-M7WWRZ5Z.js';
|
|
15
15
|
import '../chunk-JFBZ6XDW.js';
|
|
@@ -18,7 +18,7 @@ import '../chunk-Q7DJKLEN.js';
|
|
|
18
18
|
import '../chunk-HENXLGVD.js';
|
|
19
19
|
import '../chunk-BLXJEIQS.js';
|
|
20
20
|
import '../chunk-RNP5R5I3.js';
|
|
21
|
-
import '../chunk-
|
|
21
|
+
import '../chunk-RT4KRGZT.js';
|
|
22
22
|
import { listAllSystems } from '../chunk-I7BZVVVU.js';
|
|
23
23
|
import '../chunk-Y6I3IC45.js';
|
|
24
24
|
import '../chunk-6SSQGWK7.js';
|
package/dist/auth/index.d.ts
CHANGED
|
@@ -169,6 +169,12 @@ declare function useStableAccessToken(): () => Promise<string>;
|
|
|
169
169
|
*/
|
|
170
170
|
declare function useSessionCheck(): void;
|
|
171
171
|
|
|
172
|
+
/**
|
|
173
|
+
* Canonical initialization types, owned here next to {@link InitializationProvider}
|
|
174
|
+
* (the live, wired implementation). The legacy `createUseAppInitialization`
|
|
175
|
+
* factory in `./hooks/useAppInitialization.ts` imports these rather than
|
|
176
|
+
* declaring its own copy, so the two implementations can never drift on shape.
|
|
177
|
+
*/
|
|
172
178
|
interface InitializationError {
|
|
173
179
|
layer: 'auth' | 'profile' | 'organization';
|
|
174
180
|
message: string;
|
|
@@ -197,7 +203,7 @@ interface ProtectedRouteProps {
|
|
|
197
203
|
/**
|
|
198
204
|
* When true (default), waits for both user AND organization to be ready
|
|
199
205
|
* before rendering children. When false, only waits for user readiness.
|
|
200
|
-
* @default true
|
|
206
|
+
* @default true -- see {@link DEFAULT_WAIT_FOR_ORGANIZATION}
|
|
201
207
|
*/
|
|
202
208
|
waitForOrganization?: boolean;
|
|
203
209
|
}
|
|
@@ -216,8 +222,9 @@ interface ProtectedRouteProps {
|
|
|
216
222
|
* When `canRecover()` returns false, falls back to navigating to `redirectTo`
|
|
217
223
|
* (default: '/login') with a `returnTo` search param.
|
|
218
224
|
*
|
|
219
|
-
* Organization-layer errors are allowed through
|
|
220
|
-
*
|
|
225
|
+
* Organization-layer errors are allowed through so a route can render its own
|
|
226
|
+
* no-org UI (e.g. "you have no organization membership yet") instead of being
|
|
227
|
+
* stuck behind this guard's fallback indefinitely.
|
|
221
228
|
*
|
|
222
229
|
* @example
|
|
223
230
|
* // With custom fallback (your Mantine loader):
|
|
@@ -226,9 +233,9 @@ interface ProtectedRouteProps {
|
|
|
226
233
|
* </ProtectedRoute>
|
|
227
234
|
*
|
|
228
235
|
* @example
|
|
229
|
-
* // Wait only for user, not org (e.g.
|
|
236
|
+
* // Wait only for user, not org (e.g. a page reachable before onboarding):
|
|
230
237
|
* <ProtectedRoute waitForOrganization={false}>
|
|
231
|
-
* <
|
|
238
|
+
* <WelcomePage />
|
|
232
239
|
* </ProtectedRoute>
|
|
233
240
|
*/
|
|
234
241
|
declare function ProtectedRoute({ children, redirectTo, fallback, errorFallback, waitForOrganization }: ProtectedRouteProps): react_jsx_runtime.JSX.Element | null;
|
package/dist/auth/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export { AccessGuard, AccessKeys, ProtectedRoute, useSessionCheck as useRefocusSessionCheck, useSessionCheck, useStableAccessToken } from '../chunk-
|
|
1
|
+
export { AccessGuard, AccessKeys, ProtectedRoute, useSessionCheck as useRefocusSessionCheck, useSessionCheck, useStableAccessToken } from '../chunk-ANNM5R7S.js';
|
|
2
2
|
import '../chunk-4OEVLV66.js';
|
|
3
3
|
import '../chunk-RBGVNPA6.js';
|
|
4
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-6ZAP3FOA.js';
|
|
5
5
|
import '../chunk-AUDNF2Q7.js';
|
|
6
6
|
import '../chunk-6M6OLGQY.js';
|
|
7
7
|
import '../chunk-MKH2KOAO.js';
|
|
8
8
|
import '../chunk-XNW3O6QW.js';
|
|
9
|
-
import '../chunk-
|
|
9
|
+
import '../chunk-L7BZZ4SI.js';
|
|
10
10
|
import '../chunk-GMXGDO3I.js';
|
|
11
11
|
import '../chunk-62GVNH5U.js';
|
|
12
|
-
import '../chunk-
|
|
12
|
+
import '../chunk-P45GQ3ZW.js';
|
|
13
13
|
import '../chunk-DD3CCMCZ.js';
|
|
14
14
|
import '../chunk-M7WWRZ5Z.js';
|
|
15
15
|
import '../chunk-JFBZ6XDW.js';
|
|
@@ -18,7 +18,7 @@ import '../chunk-Q7DJKLEN.js';
|
|
|
18
18
|
import '../chunk-HENXLGVD.js';
|
|
19
19
|
import '../chunk-BLXJEIQS.js';
|
|
20
20
|
import '../chunk-RNP5R5I3.js';
|
|
21
|
-
import '../chunk-
|
|
21
|
+
import '../chunk-RT4KRGZT.js';
|
|
22
22
|
import '../chunk-I7BZVVVU.js';
|
|
23
23
|
import '../chunk-Y6I3IC45.js';
|
|
24
24
|
import '../chunk-6SSQGWK7.js';
|
package/dist/charts/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export { ActivityTrendChart, ChartFrame, CombinedTrendChart, CostTrendChart, CyberAreaChart, CyberDonut, CyberDonutTooltip, CyberLegendItem, HeroStatsRow, getSeriesColor, useCyberColors } from '../chunk-
|
|
1
|
+
export { ActivityTrendChart, ChartFrame, CombinedTrendChart, CostTrendChart, CyberAreaChart, CyberDonut, CyberDonutTooltip, CyberLegendItem, HeroStatsRow, getSeriesColor, useCyberColors } from '../chunk-ANNM5R7S.js';
|
|
2
2
|
import '../chunk-4OEVLV66.js';
|
|
3
3
|
import '../chunk-RBGVNPA6.js';
|
|
4
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-6ZAP3FOA.js';
|
|
5
5
|
import '../chunk-AUDNF2Q7.js';
|
|
6
6
|
import '../chunk-6M6OLGQY.js';
|
|
7
7
|
import '../chunk-MKH2KOAO.js';
|
|
8
8
|
import '../chunk-XNW3O6QW.js';
|
|
9
|
-
import '../chunk-
|
|
9
|
+
import '../chunk-L7BZZ4SI.js';
|
|
10
10
|
import '../chunk-GMXGDO3I.js';
|
|
11
11
|
import '../chunk-62GVNH5U.js';
|
|
12
|
-
import '../chunk-
|
|
12
|
+
import '../chunk-P45GQ3ZW.js';
|
|
13
13
|
import '../chunk-DD3CCMCZ.js';
|
|
14
14
|
import '../chunk-M7WWRZ5Z.js';
|
|
15
15
|
import '../chunk-JFBZ6XDW.js';
|
|
@@ -18,7 +18,7 @@ import '../chunk-Q7DJKLEN.js';
|
|
|
18
18
|
import '../chunk-HENXLGVD.js';
|
|
19
19
|
import '../chunk-BLXJEIQS.js';
|
|
20
20
|
import '../chunk-RNP5R5I3.js';
|
|
21
|
-
import '../chunk-
|
|
21
|
+
import '../chunk-RT4KRGZT.js';
|
|
22
22
|
import '../chunk-I7BZVVVU.js';
|
|
23
23
|
import '../chunk-Y6I3IC45.js';
|
|
24
24
|
import '../chunk-6SSQGWK7.js';
|
|
@@ -24,7 +24,6 @@ function transformCommandViewData(data) {
|
|
|
24
24
|
modelProvider: agent.modelProvider,
|
|
25
25
|
modelId: agent.modelId,
|
|
26
26
|
toolCount: agent.toolCount,
|
|
27
|
-
hasKnowledgeMap: agent.hasKnowledgeMap,
|
|
28
27
|
hasMemory: agent.hasMemory,
|
|
29
28
|
stats: agentWithStats.stats || null
|
|
30
29
|
// Preserve stats if present
|