@elevasis/ui 2.81.0 → 2.82.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/LICENSE +21 -0
- package/README.md +38 -0
- package/dist/app/index.d.ts +31 -1
- package/dist/app/index.js +9 -7
- package/dist/auth/index.js +1 -1
- package/dist/charts/index.js +1 -1
- package/dist/{chunk-QEQXPWOK.js → chunk-2S5477QR.js} +6 -6
- package/dist/{chunk-SWC54W3A.js → chunk-3OQVXI4C.js} +1 -1
- package/dist/{chunk-SHJYK2X4.js → chunk-3PQMF4RP.js} +1 -1
- package/dist/{chunk-75OLN23F.js → chunk-3RYXJS2F.js} +1 -1
- package/dist/{chunk-5GYJ3IDO.js → chunk-4C4IFMRP.js} +2 -2
- package/dist/{chunk-JLKZUO2I.js → chunk-4TEVJRKQ.js} +1 -1
- package/dist/{chunk-BLYK6I4D.js → chunk-5WNRTDEZ.js} +1 -1
- package/dist/{chunk-XUL4UBYJ.js → chunk-6NIGO2LD.js} +2 -2
- package/dist/{chunk-6YWBMLEM.js → chunk-AA257QZO.js} +6 -6
- package/dist/{chunk-3ZADOARU.js → chunk-ELQLU323.js} +3 -3
- package/dist/{chunk-52AZTFUR.js → chunk-ER2HBKS7.js} +3 -3
- package/dist/{chunk-LTKBVL7D.js → chunk-GH3UY2FM.js} +3 -3
- package/dist/{chunk-AKANHRQ5.js → chunk-GKTQEVSO.js} +3 -4
- package/dist/{chunk-HDLYC63N.js → chunk-HOX4CMYY.js} +1 -1
- package/dist/{chunk-7D4FKBB4.js → chunk-I2JOA54D.js} +1 -1
- package/dist/{chunk-K635QVGI.js → chunk-KQTI4RZN.js} +4 -4
- package/dist/{chunk-PSGSFPWA.js → chunk-M5CRPFJA.js} +36 -26
- package/dist/{chunk-6J3SCCZ2.js → chunk-NQSZ4UGG.js} +1 -1
- package/dist/{chunk-O4XUKLRY.js → chunk-OWAEBFWH.js} +1 -1
- package/dist/{chunk-TLMNBOAG.js → chunk-PTB575MP.js} +3 -3
- package/dist/{chunk-LGJASP5H.js → chunk-PV64XFZY.js} +1 -1
- package/dist/{chunk-KU7KN5VN.js → chunk-RKTFFLVV.js} +1 -1
- package/dist/{chunk-ILOKKA6L.js → chunk-TAGPVICO.js} +5 -5
- package/dist/{chunk-42C2WVYU.js → chunk-TCVMLAMC.js} +1 -1
- package/dist/{chunk-FPRDEKFY.js → chunk-VTUVB3J3.js} +1 -1
- package/dist/{chunk-SOBKRB4N.js → chunk-XHJBDW2S.js} +1 -1
- package/dist/{chunk-AI5OYVLR.js → chunk-ZG3DARVR.js} +1 -1
- package/dist/{chunk-QFKOHZM3.js → chunk-ZYIGD2QY.js} +1 -1
- package/dist/components/index.js +31 -31
- package/dist/components/navigation/index.js +2 -2
- package/dist/features/auth/index.js +3 -3
- package/dist/features/clients/index.js +3 -3
- package/dist/features/content/index.js +3 -3
- package/dist/features/crm/index.js +6 -6
- package/dist/features/dashboard/index.js +3 -3
- package/dist/features/delivery/index.js +11 -11
- package/dist/features/knowledge/index.js +1 -1
- package/dist/features/lead-gen/index.js +7 -7
- package/dist/features/monitoring/index.js +5 -5
- package/dist/features/monitoring/requests/index.js +3 -3
- package/dist/features/operations/index.js +7 -7
- package/dist/features/seo/index.js +4 -4
- package/dist/features/settings/index.js +4 -4
- package/dist/hooks/access/index.js +1 -1
- package/dist/hooks/published.d.ts +2 -2
- package/dist/hooks/published.js +9 -9
- package/dist/knowledge/index.d.ts +31 -15
- package/dist/knowledge/index.js +17 -7182
- package/dist/layout/index.js +5 -5
- package/dist/provider/index.d.ts +39 -2
- package/dist/provider/index.js +1 -1
- package/dist/provider/published.d.ts +31 -1
- package/dist/provider/published.js +1 -1
- package/dist/vite/index.js +2 -2
- package/dist/vite-plugin-knowledge/index.js +1 -1
- package/package.json +5 -5
- package/src/knowledge/README.md +32 -32
- package/dist/knowledge-search-index-UPKXCXQP.js +0 -1539
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Elevasis
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# @elevasis/ui
|
|
2
|
+
|
|
3
|
+
React components and platform-aware hooks for building custom frontends on the Elevasis platform.
|
|
4
|
+
Published from `packages/ui` in the Elevasis monorepo, where it is named `@repo/ui`.
|
|
5
|
+
|
|
6
|
+
## Install
|
|
7
|
+
|
|
8
|
+
```sh
|
|
9
|
+
pnpm add @elevasis/ui
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
Peer requirements follow the monorepo's single-version policy — React 19 and Mantine 8. Check
|
|
13
|
+
`peerDependencies` in `package.json` for the authoritative ranges.
|
|
14
|
+
|
|
15
|
+
## Published surface
|
|
16
|
+
|
|
17
|
+
Roughly fifty subpaths, grouped by concern:
|
|
18
|
+
|
|
19
|
+
- **Provider and context** — `./provider`, `./provider/ui`, `./auth`, `./auth/context`, `./router`
|
|
20
|
+
- **Features** — `./features/*`, one entry per platform feature (`crm`, `knowledge`, `lead-gen`,
|
|
21
|
+
`settings`, and the rest)
|
|
22
|
+
- **Primitives** — `./components`, `./layout`, `./charts`, `./theme`, `./theme/presets`
|
|
23
|
+
- **Data and platform access** — `./hooks`, `./hooks/access`, `./api`, `./sse`, `./execution`
|
|
24
|
+
- **Build integration** — `./vite`, `./vite-plugin-knowledge`
|
|
25
|
+
- **Stylesheets** — `./components/index.css`, `./provider/index.css`, `./graph/index.css`
|
|
26
|
+
- **Testing** — `./test-utils`, `./test-utils/setup`, `./test-utils/setup-integration`
|
|
27
|
+
|
|
28
|
+
See `exports` in `package.json` for the complete list.
|
|
29
|
+
|
|
30
|
+
## A note on `API_URL`
|
|
31
|
+
|
|
32
|
+
Constants in this package resolve at the **consumer's** build, not at ours. A shared component must
|
|
33
|
+
read `apiUrl` from `useElevasisServices()` rather than importing a build-time constant, or a tenant
|
|
34
|
+
build inlines the wrong value.
|
|
35
|
+
|
|
36
|
+
## License
|
|
37
|
+
|
|
38
|
+
MIT — see [LICENSE](./LICENSE).
|
package/dist/app/index.d.ts
CHANGED
|
@@ -5410,6 +5410,27 @@ interface SSEConnectionManagerLike {
|
|
|
5410
5410
|
|
|
5411
5411
|
type TablerIconComponent = typeof IconBrain;
|
|
5412
5412
|
|
|
5413
|
+
/**
|
|
5414
|
+
* Props every compiled knowledge-node body component accepts. Matches the
|
|
5415
|
+
* shape emitted by `generateKnowledgeBodies()` (`packages/sdk/src/node/knowledge-bodies-codegen.ts`)
|
|
5416
|
+
* for each `_generated/knowledge-bodies.tsx` this project produces.
|
|
5417
|
+
*/
|
|
5418
|
+
interface KnowledgeBodyProps {
|
|
5419
|
+
/** MDX component allowlist merged from the nearest `KnowledgeMDXProvider`. */
|
|
5420
|
+
components?: Record<string, ComponentType>;
|
|
5421
|
+
}
|
|
5422
|
+
/**
|
|
5423
|
+
* Map of knowledge node id -> compiled MDX body component.
|
|
5424
|
+
*
|
|
5425
|
+
* Each consumer generates its own corpus at build time (via `knowledgePlugin()`)
|
|
5426
|
+
* and supplies it as the required `knowledgeBodies` prop on `ElevasisSystemsProvider`
|
|
5427
|
+
* / `ElevasisAuthenticatedShell`, instead of `@repo/ui` compiling a fixed corpus
|
|
5428
|
+
* into its published bundle. See `knowledge-corpus-injection.mdx` for the full
|
|
5429
|
+
* rationale -- this type is the generated file's own shape, named so consumers
|
|
5430
|
+
* and tests can reference it without importing from `_generated/`.
|
|
5431
|
+
*/
|
|
5432
|
+
type KnowledgeBodiesMap = Record<string, ComponentType<KnowledgeBodyProps>>;
|
|
5433
|
+
|
|
5413
5434
|
type ElevasisOrganizationModel = Omit<OrganizationModel, 'knowledge'> & {
|
|
5414
5435
|
knowledge?: OrganizationModel['knowledge'];
|
|
5415
5436
|
};
|
|
@@ -5483,6 +5504,13 @@ interface ElevasisSystemsProviderProps {
|
|
|
5483
5504
|
/** Registered topbar action modules. OM node presence controls visibility; module supplies behavior. */
|
|
5484
5505
|
topbarActions?: TopbarActionModule[];
|
|
5485
5506
|
organizationModel?: ElevasisOrganizationModel;
|
|
5507
|
+
/**
|
|
5508
|
+
* Compiled knowledge-node body components for this consumer's own corpus.
|
|
5509
|
+
* Required, not defaulted: a missing corpus must fail to compile at the
|
|
5510
|
+
* provider mount rather than render a blank panel at runtime. See
|
|
5511
|
+
* `knowledge-corpus-injection.mdx`.
|
|
5512
|
+
*/
|
|
5513
|
+
knowledgeBodies: KnowledgeBodiesMap;
|
|
5486
5514
|
timeRange?: TimeRange;
|
|
5487
5515
|
operationsApiUrl?: string;
|
|
5488
5516
|
operationsSSEManager?: SSEConnectionManagerLike;
|
|
@@ -5525,6 +5553,8 @@ interface ElevasisAuthenticatedShellRenderContext {
|
|
|
5525
5553
|
interface ElevasisAuthenticatedShellProps {
|
|
5526
5554
|
systems: SystemModule[];
|
|
5527
5555
|
organizationModel: OrganizationModel;
|
|
5556
|
+
/** Compiled knowledge-node body components for this consumer's own corpus. See `ElevasisSystemsProviderProps.knowledgeBodies`. */
|
|
5557
|
+
knowledgeBodies: ElevasisSystemsProviderProps['knowledgeBodies'];
|
|
5528
5558
|
logos?: ElevasisAuthenticatedShellLogoConfig;
|
|
5529
5559
|
topbar?: ReactNode | ((context: ElevasisAuthenticatedShellRenderContext) => ReactNode);
|
|
5530
5560
|
children?: ReactNode;
|
|
@@ -5546,7 +5576,7 @@ interface ElevasisAuthenticatedShellProps {
|
|
|
5546
5576
|
onError?: AppErrorBoundaryProps['onError'];
|
|
5547
5577
|
sidebarLinks?: (links: ShellSidebarLinkGroup[]) => ShellSidebarLinkGroup[];
|
|
5548
5578
|
}
|
|
5549
|
-
declare function ElevasisAuthenticatedShell({ systems, organizationModel, logos, topbar, children, fullScreenPaths, fullScreenPathPrefixes, readyMode, accountPath, signOutReturnTo, appVersion, timeRange, operationsApiUrl, operationsSSEManager, deliveryApiUrl, deliverySSEManager, disabledSubsectionPaths, isDev, errorFallback, onError, sidebarLinks }: ElevasisAuthenticatedShellProps): react_jsx_runtime.JSX.Element;
|
|
5579
|
+
declare function ElevasisAuthenticatedShell({ systems, organizationModel, knowledgeBodies, logos, topbar, children, fullScreenPaths, fullScreenPathPrefixes, readyMode, accountPath, signOutReturnTo, appVersion, timeRange, operationsApiUrl, operationsSSEManager, deliveryApiUrl, deliverySSEManager, disabledSubsectionPaths, isDev, errorFallback, onError, sidebarLinks }: ElevasisAuthenticatedShellProps): react_jsx_runtime.JSX.Element;
|
|
5550
5580
|
|
|
5551
5581
|
export { ElevasisAuthenticatedShell, createElevasisApp };
|
|
5552
5582
|
export type { ElevasisAppConfig, ElevasisAppStoreConfig, ElevasisAuthenticatedShellLogoConfig, ElevasisAuthenticatedShellProps, ElevasisAuthenticatedShellRenderContext };
|
package/dist/app/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { AppErrorBoundary } from '../chunk-
|
|
2
|
-
import { SidebarProvider, AppShellContainer, Sidebar, AppShellRightSideContainer, AppShellRightSideOuterContainer } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
6
|
-
import '../chunk-
|
|
1
|
+
import { AppErrorBoundary } from '../chunk-HOX4CMYY.js';
|
|
2
|
+
import { SidebarProvider, AppShellContainer, Sidebar, AppShellRightSideContainer, AppShellRightSideOuterContainer } from '../chunk-RKTFFLVV.js';
|
|
3
|
+
import '../chunk-4TEVJRKQ.js';
|
|
4
|
+
import '../chunk-PV64XFZY.js';
|
|
5
|
+
import '../chunk-VTUVB3J3.js';
|
|
6
|
+
import '../chunk-XHJBDW2S.js';
|
|
7
7
|
import '../chunk-BZZCNLT6.js';
|
|
8
|
-
import { useSessionCheck, ElevasisSystemsProvider, useElevasisSystems, SystemShell, ElevasisUIProvider } from '../chunk-
|
|
8
|
+
import { useSessionCheck, ElevasisSystemsProvider, useElevasisSystems, SystemShell, ElevasisUIProvider } from '../chunk-M5CRPFJA.js';
|
|
9
9
|
import '../chunk-4WLAVUPS.js';
|
|
10
10
|
import '../chunk-RXZ3XDBM.js';
|
|
11
11
|
import '../chunk-7RS2NUC6.js';
|
|
@@ -126,6 +126,7 @@ function renderTopbar(topbar, context) {
|
|
|
126
126
|
function ElevasisAuthenticatedShell({
|
|
127
127
|
systems,
|
|
128
128
|
organizationModel,
|
|
129
|
+
knowledgeBodies,
|
|
129
130
|
logos,
|
|
130
131
|
topbar,
|
|
131
132
|
children,
|
|
@@ -164,6 +165,7 @@ function ElevasisAuthenticatedShell({
|
|
|
164
165
|
{
|
|
165
166
|
systems,
|
|
166
167
|
organizationModel,
|
|
168
|
+
knowledgeBodies,
|
|
167
169
|
timeRange,
|
|
168
170
|
operationsApiUrl,
|
|
169
171
|
operationsSSEManager,
|
package/dist/auth/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { AccessGuard, AccessKeys, ProtectedRoute, useSessionCheck as useRefocusSessionCheck, useSessionCheck, useStableAccessToken } from '../chunk-
|
|
1
|
+
export { AccessGuard, AccessKeys, ProtectedRoute, useSessionCheck as useRefocusSessionCheck, useSessionCheck, useStableAccessToken } from '../chunk-M5CRPFJA.js';
|
|
2
2
|
import '../chunk-4WLAVUPS.js';
|
|
3
3
|
import '../chunk-RXZ3XDBM.js';
|
|
4
4
|
import '../chunk-7RS2NUC6.js';
|
package/dist/charts/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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-M5CRPFJA.js';
|
|
2
2
|
import '../chunk-4WLAVUPS.js';
|
|
3
3
|
import '../chunk-RXZ3XDBM.js';
|
|
4
4
|
import '../chunk-7RS2NUC6.js';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { SubshellLoader } from './chunk-
|
|
2
|
-
import { CollapsibleJsonSection, ExecutionStats, UnifiedWorkflowGraph, WorkflowExecutionTimeline, AgentExecutionVisualizer, AgentExecutionTimeline, AgentIterationDetailPanel } from './chunk-
|
|
3
|
-
import { useCommandViewData, useCommandViewStats, useCommandViewStore, useResourceExecutions, useCheckpointTasks, useSessionMessages, useSessionWebSocket, useSessionExecutions } from './chunk-
|
|
1
|
+
import { SubshellLoader } from './chunk-4TEVJRKQ.js';
|
|
2
|
+
import { CollapsibleJsonSection, ExecutionStats, UnifiedWorkflowGraph, WorkflowExecutionTimeline, AgentExecutionVisualizer, AgentExecutionTimeline, AgentIterationDetailPanel } from './chunk-6NIGO2LD.js';
|
|
3
|
+
import { useCommandViewData, useCommandViewStats, useCommandViewStore, useResourceExecutions, useCheckpointTasks, useSessionMessages, useSessionWebSocket, useSessionExecutions } from './chunk-3OQVXI4C.js';
|
|
4
4
|
import { findNavigationSurfaceForSystem, getSystemApiInterfaceReadiness } from './chunk-PJN6CMWZ.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-
|
|
9
|
-
import { AppShellLoader } from './chunk-
|
|
8
|
+
import { ResourceHealthPanel } from './chunk-5WNRTDEZ.js';
|
|
9
|
+
import { AppShellLoader } from './chunk-PV64XFZY.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-
|
|
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-M5CRPFJA.js';
|
|
13
13
|
import { showApiErrorNotification, showSuccessNotification } from './chunk-PNCJJE4Z.js';
|
|
14
14
|
import { CardHeader } from './chunk-62GVNH5U.js';
|
|
15
15
|
import { useInitialization } from './chunk-P45GQ3ZW.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createLiveTempMessageIdentity } from './chunk-QFGNRKIE.js';
|
|
2
|
-
import { sessionsKeys, isExecutionInFlight } from './chunk-
|
|
2
|
+
import { sessionsKeys, isExecutionInFlight } from './chunk-M5CRPFJA.js';
|
|
3
3
|
import { SessionIdParamSchema, ExecutionIdParamsSchema, WebSocketSessionTurnSchema } from './chunk-IIMC4TRH.js';
|
|
4
4
|
import { useOrganization } from './chunk-DD3CCMCZ.js';
|
|
5
5
|
import { STALE_TIME_MONITORING, STALE_TIME_DEFAULT } from './chunk-DEZW7QDI.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useNotificationAdapter } from './chunk-
|
|
1
|
+
import { useNotificationAdapter } from './chunk-M5CRPFJA.js';
|
|
2
2
|
import { showApiErrorNotification } from './chunk-PNCJJE4Z.js';
|
|
3
3
|
import { OrganizationContext } from './chunk-DD3CCMCZ.js';
|
|
4
4
|
import { GC_TIME_MEDIUM, STALE_TIME_DEFAULT, GC_TIME_SHORT, STALE_TIME_MONITORING } from './chunk-DEZW7QDI.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { acquisitionListKeys } from './chunk-
|
|
1
|
+
import { acquisitionListKeys } from './chunk-M5CRPFJA.js';
|
|
2
2
|
import { showApiErrorNotification, showSuccessNotification } from './chunk-PNCJJE4Z.js';
|
|
3
3
|
import { APIClientError, buildQueryString } from './chunk-DEZW7QDI.js';
|
|
4
4
|
import { useElevasisServices } from './chunk-BI5VDO2K.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { deriveActions } from './chunk-
|
|
2
|
-
import { acquisitionListKeys, useNotificationAdapter } from './chunk-
|
|
1
|
+
import { deriveActions } from './chunk-3RYXJS2F.js';
|
|
2
|
+
import { acquisitionListKeys, useNotificationAdapter } from './chunk-M5CRPFJA.js';
|
|
3
3
|
import { showApiErrorNotification, showSuccessNotification } from './chunk-PNCJJE4Z.js';
|
|
4
4
|
import { useElevasisServices } from './chunk-BI5VDO2K.js';
|
|
5
5
|
import { CredentialNameSchema, UuidSchema } from './chunk-34B3ACOZ.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useResolvedTimeRange, useCyberColors, useResourcesHealth, EmptyState, CyberLegendItem, CyberAreaChart } from './chunk-
|
|
1
|
+
import { useResolvedTimeRange, useCyberColors, useResourcesHealth, EmptyState, CyberLegendItem, CyberAreaChart } from './chunk-M5CRPFJA.js';
|
|
2
2
|
import { CardHeader } from './chunk-62GVNH5U.js';
|
|
3
3
|
import { getTimeRangeDates, formatBucketTime } from './chunk-6XBZPKMI.js';
|
|
4
4
|
import { Paper, Center, Loader, Group } from '@mantine/core';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { useScheduledTasks } from './chunk-WDABHUIL.js';
|
|
2
2
|
import { ZodFormRenderer } from './chunk-3MEXPLWT.js';
|
|
3
3
|
import { ResourceHealthChart } from './chunk-LGKLC5MG.js';
|
|
4
|
-
import { AppShellCenteredContainer, AppShellLoader } from './chunk-
|
|
4
|
+
import { AppShellCenteredContainer, AppShellLoader } from './chunk-PV64XFZY.js';
|
|
5
5
|
import { useTimeRangeDates } from './chunk-YQQ5GRUR.js';
|
|
6
6
|
import { Graph_module_css_default, useDirectedChainHighlighting, useNodeSelection, useFitViewTrigger } from './chunk-HENXLGVD.js';
|
|
7
|
-
import { useCyberColors, GlowDot, JsonViewer, useExecuteResource, EmptyState, useResolvedTimeRange, useDashboardMetrics, useResources, useUnresolvedErrors, useRecentExecutionsByResource, PageTitleCaption, HeroStatsRow, useCommandQueue, TabCountBadge, useResourcesHealth, TERMINAL_EXECUTION_STATUSES } from './chunk-
|
|
7
|
+
import { useCyberColors, GlowDot, JsonViewer, useExecuteResource, EmptyState, useResolvedTimeRange, useDashboardMetrics, useResources, useUnresolvedErrors, useRecentExecutionsByResource, PageTitleCaption, HeroStatsRow, useCommandQueue, TabCountBadge, useResourcesHealth, TERMINAL_EXECUTION_STATUSES } from './chunk-M5CRPFJA.js';
|
|
8
8
|
import { glassBase } from './chunk-4WLAVUPS.js';
|
|
9
9
|
import { CardHeader } from './chunk-62GVNH5U.js';
|
|
10
10
|
import { useInitialization } from './chunk-P45GQ3ZW.js';
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { eqOrgId, useBatchDeleteRows } from './chunk-
|
|
2
|
-
import { LEAD_GEN_API_INTERFACE } from './chunk-
|
|
3
|
-
import { useCredentials, useVerifyCredential, useListMembers, useListMember, useTransitionListMember, useDeriveActions, useArtifacts } from './chunk-
|
|
1
|
+
import { eqOrgId, useBatchDeleteRows } from './chunk-ZG3DARVR.js';
|
|
2
|
+
import { LEAD_GEN_API_INTERFACE } from './chunk-NQSZ4UGG.js';
|
|
3
|
+
import { useCredentials, useVerifyCredential, useListMembers, useListMember, useTransitionListMember, useDeriveActions, useArtifacts } from './chunk-4C4IFMRP.js';
|
|
4
4
|
import { useSupabase } from './chunk-MKH2KOAO.js';
|
|
5
|
-
import { useCompanyFacets, useCompanies, useDeleteCompanies, useContacts, useDeleteContacts } from './chunk-
|
|
5
|
+
import { useCompanyFacets, useCompanies, useDeleteCompanies, useContacts, useDeleteContacts } from './chunk-3RYXJS2F.js';
|
|
6
6
|
import { useTableSort, sortData } from './chunk-2Y6AKWGU.js';
|
|
7
7
|
import { getSystemApiInterfaceReadiness } from './chunk-PJN6CMWZ.js';
|
|
8
8
|
import { sanitizeInput } from './chunk-3MEXPLWT.js';
|
|
9
9
|
import { useTableSelection } from './chunk-WDBNW44Z.js';
|
|
10
|
-
import { SubshellPageLayout } from './chunk-
|
|
10
|
+
import { SubshellPageLayout } from './chunk-XHJBDW2S.js';
|
|
11
11
|
import { PageContainer } from './chunk-BZZCNLT6.js';
|
|
12
12
|
import { TableSelectionToolbar, SortableHeader } from './chunk-TUMSNGTX.js';
|
|
13
13
|
import { FilterBar } from './chunk-PDHTXPSF.js';
|
|
14
|
-
import { SubshellSidebarSection, LeadGenSidebarMiddle, PageTitleCaption, acquisitionListKeys, useOptionalElevasisSystems, getAllBuildTemplates, getLeadGenStageCatalog, useListsTelemetry, useLists, useAccess, AccessKeys, SubshellContentContainer, CenteredErrorState, StatCard, usePaginationState, EmptyState, CustomModal, useListActions, useList, useListProgress, useListExecutions, useDeleteList, useExecuteAsync, SystemReadinessAlert, useCreateList, JsonViewer, isExecutionInFlight, useWorkflowExecution, useInFlightExecutions, useExecutionSSE, useListRecords } from './chunk-
|
|
14
|
+
import { SubshellSidebarSection, LeadGenSidebarMiddle, PageTitleCaption, acquisitionListKeys, useOptionalElevasisSystems, getAllBuildTemplates, getLeadGenStageCatalog, useListsTelemetry, useLists, useAccess, AccessKeys, SubshellContentContainer, CenteredErrorState, StatCard, usePaginationState, EmptyState, CustomModal, useListActions, useList, useListProgress, useListExecutions, useDeleteList, useExecuteAsync, SystemReadinessAlert, useCreateList, JsonViewer, isExecutionInFlight, useWorkflowExecution, useInFlightExecutions, useExecutionSSE, useListRecords } from './chunk-M5CRPFJA.js';
|
|
15
15
|
import { showApiErrorNotification, showSuccessNotification } from './chunk-PNCJJE4Z.js';
|
|
16
16
|
import { CardHeader } from './chunk-62GVNH5U.js';
|
|
17
17
|
import { useOrganization } from './chunk-DD3CCMCZ.js';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { useProjectRealtime, useProjectActivities } from './chunk-
|
|
1
|
+
import { useProjectRealtime, useProjectActivities } from './chunk-KQTI4RZN.js';
|
|
2
2
|
import { useCreateTask, useCreateMilestone, useProjectMilestones, useUpdateTask, useProjects, useDeleteProject, useProject, useProjectNotes, useUpdateMilestone, useCreateNote } from './chunk-HDITVHZT.js';
|
|
3
3
|
import { useTableSort, sortData } from './chunk-2Y6AKWGU.js';
|
|
4
4
|
import { useTableSelection } from './chunk-WDBNW44Z.js';
|
|
5
5
|
import { milestoneStatusColors, formatStatusLabel, taskTypeColors, taskStatusColors, projectStatusColors, calculateProgress, noteTypeColors } from './chunk-DLR4SDZW.js';
|
|
6
|
-
import { SubshellPageLayout } from './chunk-
|
|
6
|
+
import { SubshellPageLayout } from './chunk-XHJBDW2S.js';
|
|
7
7
|
import { PageContainer } from './chunk-BZZCNLT6.js';
|
|
8
8
|
import { TableSelectionToolbar, SortableHeader } from './chunk-TUMSNGTX.js';
|
|
9
9
|
import { FilterBar } from './chunk-PDHTXPSF.js';
|
|
10
|
-
import { StatusBadge, EmptyState, SubshellSidebarSection, PageTitleCaption, usePaginationState, SubshellContentContainer, CenteredErrorState, CustomModal, StatCard, SubshellNavItem } from './chunk-
|
|
10
|
+
import { StatusBadge, EmptyState, SubshellSidebarSection, PageTitleCaption, usePaginationState, SubshellContentContainer, CenteredErrorState, CustomModal, StatCard, SubshellNavItem } from './chunk-M5CRPFJA.js';
|
|
11
11
|
import { CardHeader } from './chunk-62GVNH5U.js';
|
|
12
12
|
import { PAGE_SIZE_DEFAULT, formatTimeAgo, formatDate, formatRelativeTime } from './chunk-DEZW7QDI.js';
|
|
13
13
|
import { useRouterContext } from './chunk-Q7DJKLEN.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useAvailablePresets } from './chunk-IIEZXXDD.js';
|
|
2
|
-
import { MEMBERSHIP_STATUS_COLORS, PROVISIONING_STATE_DISPLAY, transformMembershipToTableRow, useUserMemberships, useUpdateWebhookEndpoint, useDeleteWebhookEndpoint, useCreateWebhookEndpoint, useListWebhookEndpoints, useOrgRoles, useAssignRole, useRevokeRole, useOrganizationMembers, usePermissionCatalog } from './chunk-
|
|
3
|
-
import { AppShellLoader } from './chunk-
|
|
2
|
+
import { MEMBERSHIP_STATUS_COLORS, PROVISIONING_STATE_DISPLAY, transformMembershipToTableRow, useUserMemberships, useUpdateWebhookEndpoint, useDeleteWebhookEndpoint, useCreateWebhookEndpoint, useListWebhookEndpoints, useOrgRoles, useAssignRole, useRevokeRole, useOrganizationMembers, usePermissionCatalog } from './chunk-3PQMF4RP.js';
|
|
3
|
+
import { AppShellLoader } from './chunk-PV64XFZY.js';
|
|
4
4
|
import { FilterBar } from './chunk-PDHTXPSF.js';
|
|
5
|
-
import { CustomModal, APIErrorAlert, EmptyState, PageTitleCaption, useResources, ListSkeleton, StatCard, useAccess, AccessKeys, AccessGuard } from './chunk-
|
|
5
|
+
import { CustomModal, APIErrorAlert, EmptyState, PageTitleCaption, useResources, ListSkeleton, StatCard, useAccess, AccessKeys, AccessGuard } from './chunk-M5CRPFJA.js';
|
|
6
6
|
import { showApiErrorNotification, showErrorNotification, showSuccessNotification } from './chunk-PNCJJE4Z.js';
|
|
7
7
|
import { CardHeader } from './chunk-62GVNH5U.js';
|
|
8
8
|
import { useInitialization } from './chunk-P45GQ3ZW.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { useMarkAsRead, useExecutionLogsFilters, useExecutionLogs, useExecutionHealth, useCostSummary, useActivityFilters, useActivityTrend, useActivities, useNotifications, useMarkAllAsRead } from './chunk-
|
|
2
|
-
import { AppShellLoader } from './chunk-
|
|
1
|
+
import { useMarkAsRead, useExecutionLogsFilters, useExecutionLogs, useExecutionHealth, useCostSummary, useActivityFilters, useActivityTrend, useActivities, useNotifications, useMarkAllAsRead } from './chunk-I2JOA54D.js';
|
|
2
|
+
import { AppShellLoader } from './chunk-PV64XFZY.js';
|
|
3
3
|
import { useTimeRangeDates } from './chunk-YQQ5GRUR.js';
|
|
4
4
|
import { FilterBar } from './chunk-PDHTXPSF.js';
|
|
5
|
-
import { CenteredErrorState, StatsCardSkeleton, CyberAreaChart, TrendIndicator, DetailCardSkeleton, useResolveError, useResolveAllErrors, usePaginationState, useErrorDetails, EmptyState, useResolvedTimeRange, PageTitleCaption, useErrorAnalysis, useErrorDetail, useResolveErrorsByExecution, useResources, CustomModal, JsonViewer, useCostTrends, useCostByModel, useCostBreakdown, CostTrendChart, ActivityTrendChart } from './chunk-
|
|
5
|
+
import { CenteredErrorState, StatsCardSkeleton, CyberAreaChart, TrendIndicator, DetailCardSkeleton, useResolveError, useResolveAllErrors, usePaginationState, useErrorDetails, EmptyState, useResolvedTimeRange, PageTitleCaption, useErrorAnalysis, useErrorDetail, useResolveErrorsByExecution, useResources, CustomModal, JsonViewer, useCostTrends, useCostByModel, useCostBreakdown, CostTrendChart, ActivityTrendChart } from './chunk-M5CRPFJA.js';
|
|
6
6
|
import { CardHeader } from './chunk-62GVNH5U.js';
|
|
7
7
|
import { formatDuration } from './chunk-2HXDI4RY.js';
|
|
8
8
|
import { PAGE_SIZE_DEFAULT } from './chunk-DEZW7QDI.js';
|
|
@@ -26,9 +26,8 @@ function detectLayout(viteRoot) {
|
|
|
26
26
|
mode: "monorepo",
|
|
27
27
|
projectRoot,
|
|
28
28
|
omSourcePath: resolve(projectRoot, "packages/elevasis/core/config/organization-model.ts"),
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
generatedDir: resolve(projectRoot, "packages/ui/src/knowledge/_generated"),
|
|
29
|
+
mdxNodesDir: resolve(projectRoot, "packages/elevasis/core/config/knowledge/nodes"),
|
|
30
|
+
generatedDir: resolve(projectRoot, "packages/elevasis/core/config/knowledge/_generated"),
|
|
32
31
|
// Both, and the knowledge dir is the load-bearing one: monorepo runCodegen
|
|
33
32
|
// regenerates from the MDX bodies, so watching only the OM meant a node edit
|
|
34
33
|
// never hot-regenerated. Pre-dates the move — the paths changed, the gap did not.
|
|
@@ -51,7 +50,7 @@ function knowledgePlugin() {
|
|
|
51
50
|
if (layout.mode === "monorepo") {
|
|
52
51
|
const result = spawnSync(
|
|
53
52
|
"pnpm",
|
|
54
|
-
["-C", "packages/
|
|
53
|
+
["-C", "packages/elevasis/core", "exec", "tsx", "scripts/run-knowledge-bodies-codegen.ts"],
|
|
55
54
|
{
|
|
56
55
|
cwd: layout.projectRoot,
|
|
57
56
|
encoding: "utf8",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GetNotificationsQuerySchema, MarkAsReadParamsSchema } from './chunk-GY7FXTC4.js';
|
|
2
|
-
import { useNotificationAdapter } from './chunk-
|
|
2
|
+
import { useNotificationAdapter } from './chunk-M5CRPFJA.js';
|
|
3
3
|
import { getTimeRangeDates } from './chunk-6XBZPKMI.js';
|
|
4
4
|
import { useElevasisServices } from './chunk-BI5VDO2K.js';
|
|
5
5
|
import { useQuery, useQueryClient, useMutation } from '@tanstack/react-query';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { projectKeys, noteKeys, taskKeys, milestoneKeys } from './chunk-HDITVHZT.js';
|
|
2
|
-
import { leadGenListMemberKeys } from './chunk-
|
|
2
|
+
import { leadGenListMemberKeys } from './chunk-4C4IFMRP.js';
|
|
3
3
|
import { useSupabase } from './chunk-MKH2KOAO.js';
|
|
4
|
-
import { companyKeys, contactKeys } from './chunk-
|
|
5
|
-
import { useErrorNotification, activityKeys } from './chunk-
|
|
6
|
-
import { useNotificationAdapter, dealKeys, acquisitionListKeys, useListsTelemetry, useOptionalElevasisSystems, useSSEConnection } from './chunk-
|
|
4
|
+
import { companyKeys, contactKeys } from './chunk-3RYXJS2F.js';
|
|
5
|
+
import { useErrorNotification, activityKeys } from './chunk-I2JOA54D.js';
|
|
6
|
+
import { useNotificationAdapter, dealKeys, acquisitionListKeys, useListsTelemetry, useOptionalElevasisSystems, useSSEConnection } from './chunk-M5CRPFJA.js';
|
|
7
7
|
import { HTTP_HEADERS } from './chunk-7RS2NUC6.js';
|
|
8
8
|
import { showApiErrorNotification, showSuccessNotification } from './chunk-PNCJJE4Z.js';
|
|
9
9
|
import { useOrganization } from './chunk-DD3CCMCZ.js';
|
|
@@ -13536,14 +13536,10 @@ function ConceptInfoControl({ description }) {
|
|
|
13536
13536
|
}
|
|
13537
13537
|
) });
|
|
13538
13538
|
}
|
|
13539
|
-
|
|
13540
|
-
|
|
13541
|
-
|
|
13542
|
-
|
|
13543
|
-
(mod) => buildSearchIndex(mod.default ?? mod)
|
|
13544
|
-
);
|
|
13545
|
-
}
|
|
13546
|
-
return indexPromise;
|
|
13539
|
+
|
|
13540
|
+
// src/knowledge/stripToPlainText.ts
|
|
13541
|
+
function stripToPlainText(body) {
|
|
13542
|
+
return body.replace(/^(import|export)\s+.+$/gm, "").replace(/<[A-Z][^>]*>/g, "").replace(/<\/[A-Z][^>]*>/g, "").replace(/^#{1,6}\s+/gm, "").replace(/[*_`~]/g, "").replace(/\[([^\]]+)\]\([^)]+\)/g, "$1").replace(/\n{3,}/g, "\n\n").trim();
|
|
13547
13543
|
}
|
|
13548
13544
|
function buildSearchIndex(entries) {
|
|
13549
13545
|
return {
|
|
@@ -13568,36 +13564,35 @@ function KnowledgeSearchBar({
|
|
|
13568
13564
|
placeholder = "Search knowledge\u2026"
|
|
13569
13565
|
}) {
|
|
13570
13566
|
const [query, setQuery] = useState("");
|
|
13571
|
-
const
|
|
13572
|
-
const nodeMapRef = useRef(/* @__PURE__ */ new Map());
|
|
13573
|
-
useEffect(() => {
|
|
13567
|
+
const nodeMap = useMemo(() => {
|
|
13574
13568
|
const map = /* @__PURE__ */ new Map();
|
|
13575
13569
|
for (const node of knowledgeNodes) map.set(node.id, node);
|
|
13576
|
-
|
|
13570
|
+
return map;
|
|
13577
13571
|
}, [knowledgeNodes]);
|
|
13572
|
+
const index = useMemo(
|
|
13573
|
+
() => buildSearchIndex(
|
|
13574
|
+
knowledgeNodes.map((node) => ({
|
|
13575
|
+
id: node.id,
|
|
13576
|
+
title: node.title,
|
|
13577
|
+
summary: node.summary,
|
|
13578
|
+
bodyText: stripToPlainText(node.body)
|
|
13579
|
+
}))
|
|
13580
|
+
),
|
|
13581
|
+
[knowledgeNodes]
|
|
13582
|
+
);
|
|
13578
13583
|
const handleChange = (value) => {
|
|
13579
13584
|
setQuery(value);
|
|
13580
13585
|
if (!value.trim()) {
|
|
13581
13586
|
onResults(null);
|
|
13582
13587
|
return;
|
|
13583
13588
|
}
|
|
13584
|
-
if (indexRef.current) {
|
|
13585
|
-
runSearch(value, indexRef.current);
|
|
13586
|
-
return;
|
|
13587
|
-
}
|
|
13588
|
-
void loadSearchIndex().then((index) => {
|
|
13589
|
-
indexRef.current = index;
|
|
13590
|
-
if (query.trim() || value.trim()) runSearch(value, index);
|
|
13591
|
-
});
|
|
13592
|
-
};
|
|
13593
|
-
function runSearch(value, index) {
|
|
13594
13589
|
const ids = index.search(value);
|
|
13595
13590
|
const hits = ids.flatMap((id) => {
|
|
13596
|
-
const node =
|
|
13591
|
+
const node = nodeMap.get(id);
|
|
13597
13592
|
return node ? [node] : [];
|
|
13598
13593
|
});
|
|
13599
13594
|
onResults(hits);
|
|
13600
|
-
}
|
|
13595
|
+
};
|
|
13601
13596
|
const handleClear = () => {
|
|
13602
13597
|
setQuery("");
|
|
13603
13598
|
onResults(null);
|
|
@@ -14108,6 +14103,7 @@ function ElevasisSystemsProvider({
|
|
|
14108
14103
|
systems,
|
|
14109
14104
|
topbarActions,
|
|
14110
14105
|
organizationModel,
|
|
14106
|
+
knowledgeBodies,
|
|
14111
14107
|
timeRange,
|
|
14112
14108
|
operationsApiUrl,
|
|
14113
14109
|
operationsSSEManager,
|
|
@@ -14200,6 +14196,7 @@ function ElevasisSystemsProvider({
|
|
|
14200
14196
|
resolvedSystems,
|
|
14201
14197
|
organizationGraph,
|
|
14202
14198
|
organizationModel: resolvedOrganizationModel,
|
|
14199
|
+
knowledgeBodies,
|
|
14203
14200
|
timeRange,
|
|
14204
14201
|
operationsApiUrl,
|
|
14205
14202
|
operationsSSEManager,
|
|
@@ -14216,6 +14213,7 @@ function ElevasisSystemsProvider({
|
|
|
14216
14213
|
resolvedSystems,
|
|
14217
14214
|
organizationGraph,
|
|
14218
14215
|
resolvedOrganizationModel,
|
|
14216
|
+
knowledgeBodies,
|
|
14219
14217
|
timeRange,
|
|
14220
14218
|
operationsApiUrl,
|
|
14221
14219
|
operationsSSEManager,
|
|
@@ -14368,9 +14366,21 @@ function ElevasisUIProvider({ theme, children, ...coreProps }) {
|
|
|
14368
14366
|
}
|
|
14369
14367
|
);
|
|
14370
14368
|
}
|
|
14371
|
-
function createTestSystemsProvider({
|
|
14369
|
+
function createTestSystemsProvider({
|
|
14370
|
+
organizationModel,
|
|
14371
|
+
systems = [],
|
|
14372
|
+
knowledgeBodies
|
|
14373
|
+
}) {
|
|
14372
14374
|
return function TestSystemsProvider({ children }) {
|
|
14373
|
-
return /* @__PURE__ */ jsx(
|
|
14375
|
+
return /* @__PURE__ */ jsx(
|
|
14376
|
+
ElevasisSystemsProvider,
|
|
14377
|
+
{
|
|
14378
|
+
systems,
|
|
14379
|
+
organizationModel,
|
|
14380
|
+
knowledgeBodies,
|
|
14381
|
+
children
|
|
14382
|
+
}
|
|
14383
|
+
);
|
|
14374
14384
|
};
|
|
14375
14385
|
}
|
|
14376
14386
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getLeadGenStageCatalog } from './chunk-
|
|
1
|
+
import { getLeadGenStageCatalog } from './chunk-M5CRPFJA.js';
|
|
2
2
|
import { SYSTEM_INTERFACE_PROFILES, formatOntologyId, registerBuiltInReadinessProfile, registerReadinessInterfaceMarker, requireContractReadiness, computeInterfaceReadiness, addReadinessIssue, formatInterfaceIdentity, getSystem, resourceBindingIds, requireCatalogReadiness, requireScopedBinding } from './chunk-DEZW7QDI.js';
|
|
3
3
|
|
|
4
4
|
// ../core/src/business/acquisition/ontology-validation.ts
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { eqOrgId, sanitizePostgrestValue, useBatchDeleteRows } from './chunk-
|
|
1
|
+
import { eqOrgId, sanitizePostgrestValue, useBatchDeleteRows } from './chunk-ZG3DARVR.js';
|
|
2
2
|
import { useSupabase } from './chunk-MKH2KOAO.js';
|
|
3
3
|
import { useTableSort, sortData } from './chunk-2Y6AKWGU.js';
|
|
4
4
|
import { useTableSelection } from './chunk-WDBNW44Z.js';
|
|
5
|
-
import { SubshellPageLayout } from './chunk-
|
|
5
|
+
import { SubshellPageLayout } from './chunk-XHJBDW2S.js';
|
|
6
6
|
import { TableSelectionToolbar, SortableHeader } from './chunk-TUMSNGTX.js';
|
|
7
7
|
import { FilterBar } from './chunk-PDHTXPSF.js';
|
|
8
|
-
import { usePaginationState, PageTitleCaption, StatCard, EmptyState, CustomModal, SubshellContentContainer } from './chunk-
|
|
8
|
+
import { usePaginationState, PageTitleCaption, StatCard, EmptyState, CustomModal, SubshellContentContainer } from './chunk-M5CRPFJA.js';
|
|
9
9
|
import { showApiErrorNotification } from './chunk-PNCJJE4Z.js';
|
|
10
10
|
import { useOrganization } from './chunk-DD3CCMCZ.js';
|
|
11
11
|
import { PAGE_SIZE_DEFAULT } from './chunk-DEZW7QDI.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { topbarHeight, useAppearance } from './chunk-
|
|
1
|
+
import { topbarHeight, useAppearance } from './chunk-M5CRPFJA.js';
|
|
2
2
|
import { Stack, Title, Button } from '@mantine/core';
|
|
3
3
|
import { IconAlertCircle } from '@tabler/icons-react';
|
|
4
4
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
@@ -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-
|
|
2
|
+
import { sidebarItemGap, sidebarSubLinkPaddingY, sidebarSubLinkPaddingX, sidebarSubLinkIndent, sidebarHoverDelay, sidebarTransitionDuration, sidebarCollapsedWidth, sidebarWidth, topbarHeight, sidebarToggleIconSize, sidebarSectionPadding, NavigationButton, useAppearance, sidebarGroupChevronSize, sidebarIconInnerSize, SubshellNavItem, useElevasisSystems } from './chunk-M5CRPFJA.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,14 +1,14 @@
|
|
|
1
|
-
import { useDealDetail, useExecuteAction } from './chunk-
|
|
2
|
-
import { CRM_API_INTERFACE } from './chunk-
|
|
3
|
-
import { useCompany, useContact, deriveActions } from './chunk-
|
|
1
|
+
import { useDealDetail, useExecuteAction } from './chunk-ZYIGD2QY.js';
|
|
2
|
+
import { CRM_API_INTERFACE } from './chunk-NQSZ4UGG.js';
|
|
3
|
+
import { useCompany, useContact, deriveActions } from './chunk-3RYXJS2F.js';
|
|
4
4
|
import { useTableSort, sortData } from './chunk-2Y6AKWGU.js';
|
|
5
5
|
import { getSystemApiInterfaceReadiness } from './chunk-PJN6CMWZ.js';
|
|
6
6
|
import { useTableSelection } from './chunk-WDBNW44Z.js';
|
|
7
|
-
import { SubshellPageLayout } from './chunk-
|
|
7
|
+
import { SubshellPageLayout } from './chunk-XHJBDW2S.js';
|
|
8
8
|
import { PageContainer } from './chunk-BZZCNLT6.js';
|
|
9
9
|
import { TableSelectionToolbar, SortableHeader } from './chunk-TUMSNGTX.js';
|
|
10
10
|
import { FilterBar } from './chunk-PDHTXPSF.js';
|
|
11
|
-
import { SubshellSidebarSection, CrmSidebarMiddle, useDealsSummary, useOptionalElevasisSystems, getCrmPipelineCatalog, CenteredErrorState, StatCard, PageTitleCaption, useDeleteDeal, usePaginationState, useDeals, SubshellContentContainer, EmptyState, CustomModal, useCrmActions, ActivityTimeline, ContextViewer, JsonViewer, dealKeys } from './chunk-
|
|
11
|
+
import { SubshellSidebarSection, CrmSidebarMiddle, useDealsSummary, useOptionalElevasisSystems, getCrmPipelineCatalog, CenteredErrorState, StatCard, PageTitleCaption, useDeleteDeal, usePaginationState, useDeals, SubshellContentContainer, EmptyState, CustomModal, useCrmActions, ActivityTimeline, ContextViewer, JsonViewer, dealKeys } from './chunk-M5CRPFJA.js';
|
|
12
12
|
import { showApiErrorNotification, showSuccessNotification } from './chunk-PNCJJE4Z.js';
|
|
13
13
|
import { CardHeader } from './chunk-62GVNH5U.js';
|
|
14
14
|
import { PAGE_SIZE_DEFAULT, formatTimeAgo } from './chunk-DEZW7QDI.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { requestsKeys } from './chunk-
|
|
1
|
+
import { requestsKeys } from './chunk-M5CRPFJA.js';
|
|
2
2
|
import { buildQueryString } from './chunk-DEZW7QDI.js';
|
|
3
3
|
import { useElevasisServices } from './chunk-BI5VDO2K.js';
|
|
4
4
|
import { useQuery, useQueryClient, useMutation } from '@tanstack/react-query';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AppearanceContext } from './chunk-
|
|
1
|
+
import { AppearanceContext } from './chunk-M5CRPFJA.js';
|
|
2
2
|
import { ElevasisServiceContext } from './chunk-BI5VDO2K.js';
|
|
3
3
|
import { useContext, useState, useRef, useCallback, useEffect } from 'react';
|
|
4
4
|
import { Paper, Stack, Title, Text, Group, Button, Anchor, Collapse, Badge, Code } from '@mantine/core';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PageContainer } from './chunk-BZZCNLT6.js';
|
|
2
|
-
import { SubshellContentContainer } from './chunk-
|
|
2
|
+
import { SubshellContentContainer } from './chunk-M5CRPFJA.js';
|
|
3
3
|
import { jsx } from 'react/jsx-runtime';
|
|
4
4
|
|
|
5
5
|
var SubshellPageLayout = ({ children, className }) => /* @__PURE__ */ jsx(SubshellContentContainer, { className, children: /* @__PURE__ */ jsx(PageContainer, { children }) });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useSupabase } from './chunk-MKH2KOAO.js';
|
|
2
|
-
import { useNotificationAdapter } from './chunk-
|
|
2
|
+
import { useNotificationAdapter } from './chunk-M5CRPFJA.js';
|
|
3
3
|
import { useQueryClient, useMutation } from '@tanstack/react-query';
|
|
4
4
|
|
|
5
5
|
// ../core/src/supabase/helpers.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { dealKeys } from './chunk-
|
|
1
|
+
import { dealKeys } from './chunk-M5CRPFJA.js';
|
|
2
2
|
import { showApiErrorNotification } from './chunk-PNCJJE4Z.js';
|
|
3
3
|
import { APIClientError } from './chunk-DEZW7QDI.js';
|
|
4
4
|
import { useElevasisServices } from './chunk-BI5VDO2K.js';
|