@industry-theme/principal-view-panels 0.10.16 → 0.10.18
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/package.json +5 -5
- package/dist/adapters/PanelFileSystemAdapter.d.ts +0 -91
- package/dist/adapters/PanelFileSystemAdapter.d.ts.map +0 -1
- package/dist/components/TraceDetails.d.ts +0 -20
- package/dist/components/TraceDetails.d.ts.map +0 -1
- package/dist/components/TraceList.d.ts +0 -24
- package/dist/components/TraceList.d.ts.map +0 -1
- package/dist/components/index.d.ts +0 -5
- package/dist/components/index.d.ts.map +0 -1
- package/dist/demo/DemoApp.d.ts +0 -13
- package/dist/demo/DemoApp.d.ts.map +0 -1
- package/dist/demo/api/browser.d.ts +0 -15
- package/dist/demo/api/browser.d.ts.map +0 -1
- package/dist/demo/api/handlers.d.ts +0 -8
- package/dist/demo/api/handlers.d.ts.map +0 -1
- package/dist/demo/components/BookDetails/BookDetails.d.ts +0 -16
- package/dist/demo/components/BookDetails/BookDetails.d.ts.map +0 -1
- package/dist/demo/components/CardCatalog/CardCatalog.d.ts +0 -16
- package/dist/demo/components/CardCatalog/CardCatalog.d.ts.map +0 -1
- package/dist/demo/components/ReadingRoom/ReadingRoom.d.ts +0 -17
- package/dist/demo/components/ReadingRoom/ReadingRoom.d.ts.map +0 -1
- package/dist/demo/data/mockData.d.ts +0 -33
- package/dist/demo/data/mockData.d.ts.map +0 -1
- package/dist/demo/data/types.d.ts +0 -166
- package/dist/demo/data/types.d.ts.map +0 -1
- package/dist/index.d.ts +0 -67
- package/dist/index.d.ts.map +0 -1
- package/dist/mocks/otelMocks.d.ts +0 -84
- package/dist/mocks/otelMocks.d.ts.map +0 -1
- package/dist/mocks/panelContext.d.ts +0 -32
- package/dist/mocks/panelContext.d.ts.map +0 -1
- package/dist/mocks/vvfConfigs.d.ts +0 -32
- package/dist/mocks/vvfConfigs.d.ts.map +0 -1
- package/dist/panels/AgentMonitoringGapExplainerPanel.d.ts +0 -6
- package/dist/panels/AgentMonitoringGapExplainerPanel.d.ts.map +0 -1
- package/dist/panels/BookAnalogyExplainerPanel.d.ts +0 -7
- package/dist/panels/BookAnalogyExplainerPanel.d.ts.map +0 -1
- package/dist/panels/CanvasEditorPanel.d.ts +0 -29
- package/dist/panels/CanvasEditorPanel.d.ts.map +0 -1
- package/dist/panels/CanvasTypesExplainerPanel.d.ts +0 -7
- package/dist/panels/CanvasTypesExplainerPanel.d.ts.map +0 -1
- package/dist/panels/ChangeImpactAnalysisExplainerPanel.d.ts +0 -7
- package/dist/panels/ChangeImpactAnalysisExplainerPanel.d.ts.map +0 -1
- package/dist/panels/EventControllerPanel.d.ts +0 -32
- package/dist/panels/EventControllerPanel.d.ts.map +0 -1
- package/dist/panels/EventRecorderPanel.d.ts +0 -54
- package/dist/panels/EventRecorderPanel.d.ts.map +0 -1
- package/dist/panels/HierarchicalCanvasCompositionExplainerPanel.d.ts +0 -7
- package/dist/panels/HierarchicalCanvasCompositionExplainerPanel.d.ts.map +0 -1
- package/dist/panels/LibraryAnchoringExplainerPanel.d.ts +0 -7
- package/dist/panels/LibraryAnchoringExplainerPanel.d.ts.map +0 -1
- package/dist/panels/MonorepoComposabilityExplainerPanel.d.ts +0 -7
- package/dist/panels/MonorepoComposabilityExplainerPanel.d.ts.map +0 -1
- package/dist/panels/MultipleCanvasViewsExplainerPanel.d.ts +0 -7
- package/dist/panels/MultipleCanvasViewsExplainerPanel.d.ts.map +0 -1
- package/dist/panels/ProductionDebuggingExplainerPanel.d.ts +0 -7
- package/dist/panels/ProductionDebuggingExplainerPanel.d.ts.map +0 -1
- package/dist/panels/RuntimeValidationExplainerPanel.d.ts +0 -7
- package/dist/panels/RuntimeValidationExplainerPanel.d.ts.map +0 -1
- package/dist/panels/ScenarioEnumerationExplainerPanel.d.ts +0 -7
- package/dist/panels/ScenarioEnumerationExplainerPanel.d.ts.map +0 -1
- package/dist/panels/StoryboardListPanel.d.ts +0 -16
- package/dist/panels/StoryboardListPanel.d.ts.map +0 -1
- package/dist/panels/SystemStoriesSolutionExplainerPanel.d.ts +0 -6
- package/dist/panels/SystemStoriesSolutionExplainerPanel.d.ts.map +0 -1
- package/dist/panels/TelemetryCoverageExplainerPanel.d.ts +0 -7
- package/dist/panels/TelemetryCoverageExplainerPanel.d.ts.map +0 -1
- package/dist/panels/TestVsProductionExplainerPanel.d.ts +0 -7
- package/dist/panels/TestVsProductionExplainerPanel.d.ts.map +0 -1
- package/dist/panels/TraceDetailsPanel.d.ts +0 -25
- package/dist/panels/TraceDetailsPanel.d.ts.map +0 -1
- package/dist/panels/TraceListPanel.d.ts +0 -16
- package/dist/panels/TraceListPanel.d.ts.map +0 -1
- package/dist/panels/WhyNowAgentRevolutionExplainerPanel.d.ts +0 -6
- package/dist/panels/WhyNowAgentRevolutionExplainerPanel.d.ts.map +0 -1
- package/dist/panels/WorkflowExplainerPanel.d.ts +0 -7
- package/dist/panels/WorkflowExplainerPanel.d.ts.map +0 -1
- package/dist/panels/WorkflowScenariosPanel.d.ts +0 -52
- package/dist/panels/WorkflowScenariosPanel.d.ts.map +0 -1
- package/dist/panels/canvas-list/components/CanvasCard.d.ts +0 -13
- package/dist/panels/canvas-list/components/CanvasCard.d.ts.map +0 -1
- package/dist/panels/canvas-list/hooks/useCanvasData.d.ts +0 -21
- package/dist/panels/canvas-list/hooks/useCanvasData.d.ts.map +0 -1
- package/dist/panels/canvas-list/hooks/useCanvasWorkflowData.d.ts +0 -25
- package/dist/panels/canvas-list/hooks/useCanvasWorkflowData.d.ts.map +0 -1
- package/dist/panels/execution-viewer/EventNodeMapper.d.ts +0 -46
- package/dist/panels/execution-viewer/EventNodeMapper.d.ts.map +0 -1
- package/dist/panels/execution-viewer/ExecutionStats.d.ts +0 -11
- package/dist/panels/execution-viewer/ExecutionStats.d.ts.map +0 -1
- package/dist/panels/execution-viewer/ScenarioDetailsPanel.d.ts +0 -62
- package/dist/panels/execution-viewer/ScenarioDetailsPanel.d.ts.map +0 -1
- package/dist/panels/execution-viewer/SourceFileList.d.ts +0 -11
- package/dist/panels/execution-viewer/SourceFileList.d.ts.map +0 -1
- package/dist/panels/execution-viewer/WorkflowRenderer.d.ts +0 -29
- package/dist/panels/execution-viewer/WorkflowRenderer.d.ts.map +0 -1
- package/dist/panels/execution-viewer/WorkflowTemplatePanel.d.ts +0 -17
- package/dist/panels/execution-viewer/WorkflowTemplatePanel.d.ts.map +0 -1
- package/dist/panels/execution-viewer/executionUtils.d.ts +0 -47
- package/dist/panels/execution-viewer/executionUtils.d.ts.map +0 -1
- package/dist/panels/execution-viewer/workflow-converter.d.ts +0 -44
- package/dist/panels/execution-viewer/workflow-converter.d.ts.map +0 -1
- package/dist/panels/principal-view/ConfigLoader.d.ts +0 -43
- package/dist/panels/principal-view/ConfigLoader.d.ts.map +0 -1
- package/dist/panels/principal-view/EmptyStateContent.d.ts +0 -12
- package/dist/panels/principal-view/EmptyStateContent.d.ts.map +0 -1
- package/dist/panels/principal-view/ErrorStateContent.d.ts +0 -14
- package/dist/panels/principal-view/ErrorStateContent.d.ts.map +0 -1
- package/dist/panels.bundle.js +0 -109596
- package/dist/panels.bundle.js.map +0 -1
- package/dist/stubs/codebase-quality-lenses-stub.d.ts +0 -26
- package/dist/stubs/codebase-quality-lenses-stub.d.ts.map +0 -1
- package/dist/tools/index.d.ts +0 -32
- package/dist/tools/index.d.ts.map +0 -1
- package/dist/tools.bundle.js +0 -111
- package/dist/types/index.d.ts +0 -7
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/otel.d.ts +0 -50
- package/dist/types/otel.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@industry-theme/principal-view-panels",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.18",
|
|
4
4
|
"description": "Principal View Graph Panels for visualizing graph configurations from .principal-views/ folder as interactive diagrams",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/panels.bundle.js",
|
|
@@ -72,15 +72,15 @@
|
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
74
|
"@chromatic-com/storybook": "^4.1.3",
|
|
75
|
-
"@
|
|
75
|
+
"@eslint/js": "^9.32.0",
|
|
76
|
+
"@opentelemetry/api": "^1.9.0",
|
|
77
|
+
"@principal-ade/dynamic-file-tree": "^0.1.61",
|
|
76
78
|
"@principal-ade/industry-theme": "^0.1.7",
|
|
77
79
|
"@principal-ade/panel-framework-core": "^0.3.0",
|
|
80
|
+
"@principal-ade/panel-layouts": "^0.3.3",
|
|
78
81
|
"@principal-ade/utcp-panel-event": "^0.1.0",
|
|
79
82
|
"@principal-ai/codebase-composition": "^0.2.41",
|
|
80
83
|
"@principal-ai/principal-view-core": "0.21.1",
|
|
81
|
-
"@eslint/js": "^9.32.0",
|
|
82
|
-
"@opentelemetry/api": "^1.9.0",
|
|
83
|
-
"@principal-ade/panel-layouts": "^0.3.3",
|
|
84
84
|
"@principal-ai/repository-abstraction": "^0.5.3",
|
|
85
85
|
"@storybook/addon-docs": "10.1.2",
|
|
86
86
|
"@storybook/addon-links": "10.1.2",
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Panel FileSystem Adapter
|
|
3
|
-
*
|
|
4
|
-
* Implements FileSystemAdapter using the panel's fileTree slice for directory operations
|
|
5
|
-
* and a file content cache that can be populated via the panel's readFile action.
|
|
6
|
-
*
|
|
7
|
-
* This adapter bridges the synchronous FileSystemAdapter interface used by
|
|
8
|
-
* ConfigurationLoader and LibraryLoader with the async panel context.
|
|
9
|
-
*/
|
|
10
|
-
import type { FileSystemAdapter, FileStats } from '@principal-ai/repository-abstraction';
|
|
11
|
-
/**
|
|
12
|
-
* File entry from the fileTree slice
|
|
13
|
-
*/
|
|
14
|
-
export interface FileTreeEntry {
|
|
15
|
-
path?: string;
|
|
16
|
-
relativePath?: string;
|
|
17
|
-
name?: string;
|
|
18
|
-
type?: 'file' | 'directory';
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Options for creating the adapter
|
|
22
|
-
*/
|
|
23
|
-
export interface PanelFileSystemAdapterOptions {
|
|
24
|
-
/** Files from the fileTree slice */
|
|
25
|
-
fileTreeFiles: FileTreeEntry[];
|
|
26
|
-
/** Base path for the repository */
|
|
27
|
-
basePath: string;
|
|
28
|
-
/** Optional readFile function for on-demand file loading (for LibraryDiscovery) */
|
|
29
|
-
readFile?: (path: string) => Promise<string>;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* FileSystemAdapter implementation for panel context.
|
|
33
|
-
*
|
|
34
|
-
* Uses fileTree slice data for directory listing and existence checks.
|
|
35
|
-
* File content must be pre-loaded into the cache via `setFileContent()`.
|
|
36
|
-
*/
|
|
37
|
-
export declare class PanelFileSystemAdapter implements FileSystemAdapter {
|
|
38
|
-
private fileTreeFiles;
|
|
39
|
-
private basePath;
|
|
40
|
-
private fileContentCache;
|
|
41
|
-
private readFileImpl?;
|
|
42
|
-
constructor(options: PanelFileSystemAdapterOptions);
|
|
43
|
-
/**
|
|
44
|
-
* Set file content in the cache.
|
|
45
|
-
* Call this after loading file content via the panel's readFile action.
|
|
46
|
-
*/
|
|
47
|
-
setFileContent(path: string, content: string): void;
|
|
48
|
-
/**
|
|
49
|
-
* Check if file content is cached
|
|
50
|
-
*/
|
|
51
|
-
hasFileContent(path: string): boolean;
|
|
52
|
-
/**
|
|
53
|
-
* Clear the file content cache
|
|
54
|
-
*/
|
|
55
|
-
clearCache(): void;
|
|
56
|
-
exists(path: string): Promise<boolean>;
|
|
57
|
-
readFile(path: string): Promise<string>;
|
|
58
|
-
writeFile(_path: string, _content: string): Promise<void>;
|
|
59
|
-
deleteFile(_path: string): Promise<void>;
|
|
60
|
-
readBinaryFile(_path: string): Promise<Uint8Array>;
|
|
61
|
-
writeBinaryFile(_path: string, _content: Uint8Array): Promise<void>;
|
|
62
|
-
createDir(_path: string): Promise<void>;
|
|
63
|
-
readDir(path: string): Promise<string[]>;
|
|
64
|
-
deleteDir(_path: string): Promise<void>;
|
|
65
|
-
rename(_from: string, _to: string): Promise<void>;
|
|
66
|
-
stat(_path: string): Promise<FileStats>;
|
|
67
|
-
isDirectory(path: string): Promise<boolean>;
|
|
68
|
-
join(...paths: string[]): string;
|
|
69
|
-
relative(from: string, to: string): string;
|
|
70
|
-
dirname(path: string): string;
|
|
71
|
-
isAbsolute(path: string): boolean;
|
|
72
|
-
basename(path: string, ext?: string): string;
|
|
73
|
-
extname(path: string): string;
|
|
74
|
-
normalize(path: string): string;
|
|
75
|
-
homedir(): string;
|
|
76
|
-
normalizeRepositoryPath(_inputPath: string): string;
|
|
77
|
-
findProjectRoot(_inputPath: string): string;
|
|
78
|
-
getRepositoryName(repositoryPath: string): string;
|
|
79
|
-
private normalizePath;
|
|
80
|
-
private toRelativePath;
|
|
81
|
-
/**
|
|
82
|
-
* Get list of files that need to be loaded for a directory.
|
|
83
|
-
* Use this to pre-fetch file contents before using the loaders.
|
|
84
|
-
*/
|
|
85
|
-
getFilesInDirectory(dirPath: string): string[];
|
|
86
|
-
/**
|
|
87
|
-
* Get the full path for a relative path
|
|
88
|
-
*/
|
|
89
|
-
getFullPath(relativePath: string): string;
|
|
90
|
-
}
|
|
91
|
-
//# sourceMappingURL=PanelFileSystemAdapter.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PanelFileSystemAdapter.d.ts","sourceRoot":"","sources":["../../src/adapters/PanelFileSystemAdapter.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AAEzF;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC;C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4
|
-
type OtelSpan = OtelSpanData;
|
|
5
|
-
export interface TraceDetailsProps {
|
|
6
|
-
spans: OtelSpan[];
|
|
7
|
-
theme: Theme;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* TraceDetails - Simple view of trace spans
|
|
11
|
-
*
|
|
12
|
-
* Shows spans in a tree structure with key information:
|
|
13
|
-
* - Span name
|
|
14
|
-
* - Duration
|
|
15
|
-
* - Status (success/error)
|
|
16
|
-
* - Attributes (expandable)
|
|
17
|
-
*/
|
|
18
|
-
export declare const TraceDetails: React.FC<TraceDetailsProps>;
|
|
19
|
-
export {};
|
|
20
|
-
//# sourceMappingURL=TraceDetails.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TraceDetails.d.ts","sourceRoot":"","sources":["../../src/components/TraceDetails.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AAGtE,KAAK,QAAQ,GAAG,YAAY,CAAC;AAE7B,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,QAAQ,EAAE,CAAC;IAClB,KAAK,EAAE,KAAK,CAAC;CACd;AAQD;;;;;;;;GAQG;AACH,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAwTpD,CAAC"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { Theme } from '@principal-ade/industry-theme';
|
|
3
|
-
import type { TraceInfo } from '../types/otel';
|
|
4
|
-
export interface TraceListProps {
|
|
5
|
-
traces: TraceInfo[];
|
|
6
|
-
theme: Theme;
|
|
7
|
-
onTraceClick?: (trace: TraceInfo) => void;
|
|
8
|
-
onClearAll?: () => void;
|
|
9
|
-
selectedTraceId?: string;
|
|
10
|
-
showSearch?: boolean;
|
|
11
|
-
emptyMessage?: string;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* TraceList - Displays a list of OpenTelemetry traces
|
|
15
|
-
*
|
|
16
|
-
* Features:
|
|
17
|
-
* - Displays trace metadata (ID, service, duration, span count, status)
|
|
18
|
-
* - Search/filter functionality
|
|
19
|
-
* - Click to select traces
|
|
20
|
-
* - Visual indicators for errors
|
|
21
|
-
* - Responsive layout
|
|
22
|
-
*/
|
|
23
|
-
export declare const TraceList: React.FC<TraceListProps>;
|
|
24
|
-
//# sourceMappingURL=TraceList.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TraceList.d.ts","sourceRoot":"","sources":["../../src/components/TraceList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAEjD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE/C,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE,SAAS,EAAE,CAAC;IACpB,KAAK,EAAE,KAAK,CAAC;IACb,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,IAAI,CAAC;IAC1C,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AASD;;;;;;;;;GASG;AACH,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAmmB9C,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC"}
|
package/dist/demo/DemoApp.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './styles/library-theme.css';
|
|
3
|
-
import './styles/demo-layout.css';
|
|
4
|
-
/**
|
|
5
|
-
* Main Demo Application Component
|
|
6
|
-
* Implements the three-panel library layout:
|
|
7
|
-
* 1. Card Catalog (left sidebar) - File tree navigation
|
|
8
|
-
* 2. Reading Room (center) - Main canvas view
|
|
9
|
-
* 3. Book Details (bottom) - Details panel with tabs
|
|
10
|
-
*/
|
|
11
|
-
export declare const DemoApp: React.FC;
|
|
12
|
-
export default DemoApp;
|
|
13
|
-
//# sourceMappingURL=DemoApp.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DemoApp.d.ts","sourceRoot":"","sources":["../../src/demo/DemoApp.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAInD,OAAO,4BAA4B,CAAC;AACpC,OAAO,0BAA0B,CAAC;AAGlC;;;;;;GAMG;AACH,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAoF3B,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* MSW browser setup for the demo
|
|
3
|
-
*
|
|
4
|
-
* This worker is automatically initialized in .storybook/preview.ts for Storybook.
|
|
5
|
-
* For standalone usage:
|
|
6
|
-
* 1. Install: npm install msw --save-dev
|
|
7
|
-
* 2. Run: npx msw init public/ --save
|
|
8
|
-
* 3. Import worker and call: worker.start()
|
|
9
|
-
*/
|
|
10
|
-
/**
|
|
11
|
-
* Create the MSW worker with our handlers
|
|
12
|
-
* This is exported and started globally in Storybook's preview.ts
|
|
13
|
-
*/
|
|
14
|
-
export declare const worker: import("msw/browser").SetupWorker;
|
|
15
|
-
//# sourceMappingURL=browser.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"browser.d.ts","sourceRoot":"","sources":["../../../src/demo/api/browser.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAKH;;;GAGG;AACH,eAAO,MAAM,MAAM,mCAA2B,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* MSW (Mock Service Worker) handlers for the demo API
|
|
3
|
-
*
|
|
4
|
-
* To use MSW, install it with: npm install msw --save-dev
|
|
5
|
-
* Then run: npx msw init public/ --save
|
|
6
|
-
*/
|
|
7
|
-
export declare const handlers: import("msw").HttpHandler[];
|
|
8
|
-
//# sourceMappingURL=handlers.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"handlers.d.ts","sourceRoot":"","sources":["../../../src/demo/api/handlers.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAgBH,eAAO,MAAM,QAAQ,6BA6KpB,CAAC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { Canvas, OTELTrace } from '../../data/types';
|
|
3
|
-
import './BookDetails.css';
|
|
4
|
-
interface BookDetailsProps {
|
|
5
|
-
canvas: Canvas | null;
|
|
6
|
-
trace: OTELTrace | null;
|
|
7
|
-
traceId: string | null;
|
|
8
|
-
selectedNodeId: string | null;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Book Details Component
|
|
12
|
-
* Bottom panel with tabs for trace timeline, node details, events, and coverage
|
|
13
|
-
*/
|
|
14
|
-
export declare const BookDetails: React.FC<BookDetailsProps>;
|
|
15
|
-
export {};
|
|
16
|
-
//# sourceMappingURL=BookDetails.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BookDetails.d.ts","sourceRoot":"","sources":["../../../../src/demo/components/BookDetails/BookDetails.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AACnD,OAAO,KAAK,EAAE,MAAM,EAAE,SAAS,EAAgB,MAAM,kBAAkB,CAAC;AACxE,OAAO,mBAAmB,CAAC;AAE3B,UAAU,gBAAgB;IACxB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,KAAK,EAAE,SAAS,GAAG,IAAI,CAAC;IACxB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B;AAID;;;GAGG;AACH,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA4QlD,CAAC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './CardCatalog.css';
|
|
3
|
-
interface CardCatalogProps {
|
|
4
|
-
onSelectCanvas: (canvasId: string) => void;
|
|
5
|
-
onSelectTrace: (traceId: string) => void;
|
|
6
|
-
selectedCanvasId: string | null;
|
|
7
|
-
selectedTraceId: string | null;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Card Catalog Component
|
|
11
|
-
* Left sidebar with file tree navigation for canvases and traces
|
|
12
|
-
* Styled like a wooden card catalog with drawer sections
|
|
13
|
-
*/
|
|
14
|
-
export declare const CardCatalog: React.FC<CardCatalogProps>;
|
|
15
|
-
export {};
|
|
16
|
-
//# sourceMappingURL=CardCatalog.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CardCatalog.d.ts","sourceRoot":"","sources":["../../../../src/demo/components/CardCatalog/CardCatalog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,mBAAmB,CAAC;AAE3B,UAAU,gBAAgB;IACxB,cAAc,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,aAAa,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;CAChC;AAED;;;;GAIG;AACH,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA4IlD,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { Canvas, OTELTrace } from '../../data/types';
|
|
3
|
-
import './ReadingRoom.css';
|
|
4
|
-
interface ReadingRoomProps {
|
|
5
|
-
canvas: Canvas | null;
|
|
6
|
-
trace: OTELTrace | null;
|
|
7
|
-
onSelectNode: (nodeId: string) => void;
|
|
8
|
-
selectedNodeId: string | null;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Reading Room Component
|
|
12
|
-
* Main canvas view with aged paper background
|
|
13
|
-
* Displays canvas diagram with optional trace overlay
|
|
14
|
-
*/
|
|
15
|
-
export declare const ReadingRoom: React.FC<ReadingRoomProps>;
|
|
16
|
-
export {};
|
|
17
|
-
//# sourceMappingURL=ReadingRoom.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ReadingRoom.d.ts","sourceRoot":"","sources":["../../../../src/demo/components/ReadingRoom/ReadingRoom.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC1D,OAAO,mBAAmB,CAAC;AAE3B,UAAU,gBAAgB;IACxB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,KAAK,EAAE,SAAS,GAAG,IAAI,CAAC;IACxB,YAAY,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B;AAED;;;;GAIG;AACH,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAyMlD,CAAC"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Mock data for the demo UI
|
|
3
|
-
*/
|
|
4
|
-
import type { Canvas, CanvasMetadata, OTELTrace, TraceMetadata, CoverageData, ImpactAnalysis, FileTreeNode } from './types';
|
|
5
|
-
/**
|
|
6
|
-
* Canvas metadata list
|
|
7
|
-
*/
|
|
8
|
-
export declare const canvasMetadataList: CanvasMetadata[];
|
|
9
|
-
/**
|
|
10
|
-
* Canvases by ID
|
|
11
|
-
*/
|
|
12
|
-
export declare const canvases: Record<string, Canvas>;
|
|
13
|
-
/**
|
|
14
|
-
* Trace metadata list
|
|
15
|
-
*/
|
|
16
|
-
export declare const traceMetadataList: TraceMetadata[];
|
|
17
|
-
/**
|
|
18
|
-
* Traces by ID
|
|
19
|
-
*/
|
|
20
|
-
export declare const traces: Record<string, OTELTrace>;
|
|
21
|
-
/**
|
|
22
|
-
* Mock coverage data
|
|
23
|
-
*/
|
|
24
|
-
export declare const mockCoverageData: CoverageData;
|
|
25
|
-
/**
|
|
26
|
-
* Mock impact analysis data
|
|
27
|
-
*/
|
|
28
|
-
export declare const mockImpactAnalysis: Record<string, ImpactAnalysis>;
|
|
29
|
-
/**
|
|
30
|
-
* Mock file tree
|
|
31
|
-
*/
|
|
32
|
-
export declare const mockFileTree: FileTreeNode[];
|
|
33
|
-
//# sourceMappingURL=mockData.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mockData.d.ts","sourceRoot":"","sources":["../../../src/demo/data/mockData.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EACV,MAAM,EACN,cAAc,EACd,SAAS,EACT,aAAa,EACb,YAAY,EACZ,cAAc,EACd,YAAY,EACb,MAAM,SAAS,CAAC;AAMjB;;GAEG;AACH,eAAO,MAAM,kBAAkB,EAAE,cAAc,EAyB9C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAE3C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAE,aAAa,EAmB5C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAG5C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gBAAgB,EAAE,YA0C9B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CA2C7D,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,YAAY,EAAE,YAAY,EAqFtC,CAAC"}
|
|
@@ -1,166 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Type definitions for the demo UI
|
|
3
|
-
*/
|
|
4
|
-
export interface OTELAttribute {
|
|
5
|
-
key: string;
|
|
6
|
-
value: {
|
|
7
|
-
stringValue?: string;
|
|
8
|
-
intValue?: string | number;
|
|
9
|
-
doubleValue?: number;
|
|
10
|
-
boolValue?: boolean;
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
export interface OTELEvent {
|
|
14
|
-
timeUnixNano: string;
|
|
15
|
-
name: string;
|
|
16
|
-
attributes: OTELAttribute[];
|
|
17
|
-
}
|
|
18
|
-
export interface OTELStatus {
|
|
19
|
-
code: 'STATUS_CODE_OK' | 'STATUS_CODE_ERROR' | 'STATUS_CODE_UNSET';
|
|
20
|
-
message?: string;
|
|
21
|
-
}
|
|
22
|
-
export interface OTELSpan {
|
|
23
|
-
traceId: string;
|
|
24
|
-
spanId: string;
|
|
25
|
-
parentSpanId?: string;
|
|
26
|
-
name: string;
|
|
27
|
-
kind: string;
|
|
28
|
-
startTimeUnixNano: string;
|
|
29
|
-
endTimeUnixNano: string;
|
|
30
|
-
attributes: OTELAttribute[];
|
|
31
|
-
events?: OTELEvent[];
|
|
32
|
-
status: OTELStatus;
|
|
33
|
-
}
|
|
34
|
-
export interface OTELScopeSpan {
|
|
35
|
-
scope: {
|
|
36
|
-
name: string;
|
|
37
|
-
version: string;
|
|
38
|
-
};
|
|
39
|
-
spans: OTELSpan[];
|
|
40
|
-
}
|
|
41
|
-
export interface OTELResourceSpan {
|
|
42
|
-
resource: {
|
|
43
|
-
attributes: OTELAttribute[];
|
|
44
|
-
};
|
|
45
|
-
scopeSpans: OTELScopeSpan[];
|
|
46
|
-
}
|
|
47
|
-
export interface OTELTrace {
|
|
48
|
-
resourceSpans: OTELResourceSpan[];
|
|
49
|
-
}
|
|
50
|
-
export interface CanvasNode {
|
|
51
|
-
id: string;
|
|
52
|
-
nodeType: string;
|
|
53
|
-
label: string;
|
|
54
|
-
position: {
|
|
55
|
-
x: number;
|
|
56
|
-
y: number;
|
|
57
|
-
};
|
|
58
|
-
pv: {
|
|
59
|
-
eventRef?: string;
|
|
60
|
-
otel: {
|
|
61
|
-
resourceMatch: Record<string, string>;
|
|
62
|
-
spanMatch: Record<string, string>;
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
export interface CanvasEdge {
|
|
67
|
-
id: string;
|
|
68
|
-
from: string;
|
|
69
|
-
to: string;
|
|
70
|
-
label: string;
|
|
71
|
-
}
|
|
72
|
-
export interface Canvas {
|
|
73
|
-
pv: {
|
|
74
|
-
name: string;
|
|
75
|
-
version: string;
|
|
76
|
-
description: string;
|
|
77
|
-
};
|
|
78
|
-
nodes: CanvasNode[];
|
|
79
|
-
edges: CanvasEdge[];
|
|
80
|
-
}
|
|
81
|
-
export interface CanvasMetadata {
|
|
82
|
-
id: string;
|
|
83
|
-
path: string;
|
|
84
|
-
name: string;
|
|
85
|
-
type: 'otel.canvas' | 'canvas';
|
|
86
|
-
parent: string | null;
|
|
87
|
-
lastModified: string;
|
|
88
|
-
}
|
|
89
|
-
export interface TraceMetadata {
|
|
90
|
-
traceId: string;
|
|
91
|
-
timestamp: string;
|
|
92
|
-
duration: number;
|
|
93
|
-
status: 'success' | 'failed' | 'slow';
|
|
94
|
-
serviceName: string;
|
|
95
|
-
rootSpan: string;
|
|
96
|
-
spanCount: number;
|
|
97
|
-
}
|
|
98
|
-
export interface LibraryNodeComponent {
|
|
99
|
-
label: string;
|
|
100
|
-
description: string;
|
|
101
|
-
sources: string[];
|
|
102
|
-
visual: {
|
|
103
|
-
shape: string;
|
|
104
|
-
color: string;
|
|
105
|
-
icon: string;
|
|
106
|
-
};
|
|
107
|
-
}
|
|
108
|
-
export interface LibraryEdgeComponent {
|
|
109
|
-
label: string;
|
|
110
|
-
style: string;
|
|
111
|
-
color: string;
|
|
112
|
-
}
|
|
113
|
-
export interface Library {
|
|
114
|
-
version: string;
|
|
115
|
-
nodeComponents: Record<string, LibraryNodeComponent>;
|
|
116
|
-
edgeComponents: Record<string, LibraryEdgeComponent>;
|
|
117
|
-
}
|
|
118
|
-
export interface CoverageData {
|
|
119
|
-
overall: {
|
|
120
|
-
expected: number;
|
|
121
|
-
actual: number;
|
|
122
|
-
percentage: number;
|
|
123
|
-
};
|
|
124
|
-
byComponent: Array<{
|
|
125
|
-
type: string;
|
|
126
|
-
expected: number;
|
|
127
|
-
actual: number;
|
|
128
|
-
percentage: number;
|
|
129
|
-
missingFiles: string[];
|
|
130
|
-
}>;
|
|
131
|
-
}
|
|
132
|
-
export interface ImpactAnalysis {
|
|
133
|
-
nodeId: string;
|
|
134
|
-
canvasId: string;
|
|
135
|
-
analysis: {
|
|
136
|
-
downstream: Array<{
|
|
137
|
-
component: string;
|
|
138
|
-
traffic: string;
|
|
139
|
-
impact: 'low' | 'medium' | 'high';
|
|
140
|
-
userFacing: boolean;
|
|
141
|
-
}>;
|
|
142
|
-
upstream: Array<{
|
|
143
|
-
component: string;
|
|
144
|
-
required: 'always' | 'conditional' | 'optional';
|
|
145
|
-
failureRate: number;
|
|
146
|
-
}>;
|
|
147
|
-
criticalPath: {
|
|
148
|
-
isBottleneck: boolean;
|
|
149
|
-
percentageOfTotal: number;
|
|
150
|
-
avgDuration: number;
|
|
151
|
-
};
|
|
152
|
-
blastRadius: {
|
|
153
|
-
requestsPerMinute: number;
|
|
154
|
-
affectedWorkflows: number;
|
|
155
|
-
revenueAtRisk: number;
|
|
156
|
-
};
|
|
157
|
-
};
|
|
158
|
-
}
|
|
159
|
-
export interface FileTreeNode {
|
|
160
|
-
path: string;
|
|
161
|
-
type: 'directory' | 'file';
|
|
162
|
-
hasTelemetry?: boolean;
|
|
163
|
-
coveragePercentage?: number;
|
|
164
|
-
children?: FileTreeNode[];
|
|
165
|
-
}
|
|
166
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/demo/data/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,WAAW,aAAa;IAC5B,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE;QACL,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;QAC3B,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,SAAS,CAAC,EAAE,OAAO,CAAC;KACrB,CAAC;CACH;AAED,MAAM,WAAW,SAAS;IACxB,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,aAAa,EAAE,CAAC;CAC7B;AAED,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,gBAAgB,GAAG,mBAAmB,GAAG,mBAAmB,CAAC;IACnE,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,iBAAiB,EAAE,MAAM,CAAC;IAC1B,eAAe,EAAE,MA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
|
-
export { EventControllerPanel } from './panels/EventControllerPanel';
|
|
3
|
-
export type { EventControllerPanelProps, PlaybackState, PlaybackStatus } from './panels/EventControllerPanel';
|
|
4
|
-
export { CanvasEditorPanel } from './panels/CanvasEditorPanel';
|
|
5
|
-
export type { CanvasEditorPanelProps } from './panels/CanvasEditorPanel';
|
|
6
|
-
export { WorkflowScenariosPanel } from './panels/WorkflowScenariosPanel';
|
|
7
|
-
export type { WorkflowScenariosPanelProps } from './panels/WorkflowScenariosPanel';
|
|
8
|
-
export { StoryboardListPanel } from './panels/StoryboardListPanel';
|
|
9
|
-
export { TraceListPanel } from './panels/TraceListPanel';
|
|
10
|
-
export { TraceDetailsPanel } from './panels/TraceDetailsPanel';
|
|
11
|
-
export { LibraryAnchoringExplainerPanel } from './panels/LibraryAnchoringExplainerPanel';
|
|
12
|
-
export type { LibraryAnchoringExplainerPanelProps } from './panels/LibraryAnchoringExplainerPanel';
|
|
13
|
-
export { WorkflowExplainerPanel } from './panels/WorkflowExplainerPanel';
|
|
14
|
-
export type { WorkflowExplainerPanelProps } from './panels/WorkflowExplainerPanel';
|
|
15
|
-
export { RuntimeValidationExplainerPanel } from './panels/RuntimeValidationExplainerPanel';
|
|
16
|
-
export type { RuntimeValidationExplainerPanelProps } from './panels/RuntimeValidationExplainerPanel';
|
|
17
|
-
export { TestVsProductionExplainerPanel } from './panels/TestVsProductionExplainerPanel';
|
|
18
|
-
export type { TestVsProductionExplainerPanelProps } from './panels/TestVsProductionExplainerPanel';
|
|
19
|
-
export { ScenarioEnumerationExplainerPanel } from './panels/ScenarioEnumerationExplainerPanel';
|
|
20
|
-
export type { ScenarioEnumerationExplainerPanelProps } from './panels/ScenarioEnumerationExplainerPanel';
|
|
21
|
-
export { CanvasTypesExplainerPanel } from './panels/CanvasTypesExplainerPanel';
|
|
22
|
-
export type { CanvasTypesExplainerPanelProps } from './panels/CanvasTypesExplainerPanel';
|
|
23
|
-
export { MonorepoComposabilityExplainerPanel } from './panels/MonorepoComposabilityExplainerPanel';
|
|
24
|
-
export type { MonorepoComposabilityExplainerPanelProps } from './panels/MonorepoComposabilityExplainerPanel';
|
|
25
|
-
export { HierarchicalCanvasCompositionExplainerPanel } from './panels/HierarchicalCanvasCompositionExplainerPanel';
|
|
26
|
-
export type { HierarchicalCanvasCompositionExplainerPanelProps } from './panels/HierarchicalCanvasCompositionExplainerPanel';
|
|
27
|
-
export { BookAnalogyExplainerPanel } from './panels/BookAnalogyExplainerPanel';
|
|
28
|
-
export type { BookAnalogyExplainerPanelProps } from './panels/BookAnalogyExplainerPanel';
|
|
29
|
-
export { ProductionDebuggingExplainerPanel } from './panels/ProductionDebuggingExplainerPanel';
|
|
30
|
-
export type { ProductionDebuggingExplainerPanelProps } from './panels/ProductionDebuggingExplainerPanel';
|
|
31
|
-
export { MultipleCanvasViewsExplainerPanel } from './panels/MultipleCanvasViewsExplainerPanel';
|
|
32
|
-
export type { MultipleCanvasViewsExplainerPanelProps } from './panels/MultipleCanvasViewsExplainerPanel';
|
|
33
|
-
export { TelemetryCoverageExplainerPanel } from './panels/TelemetryCoverageExplainerPanel';
|
|
34
|
-
export type { TelemetryCoverageExplainerPanelProps } from './panels/TelemetryCoverageExplainerPanel';
|
|
35
|
-
export { ChangeImpactAnalysisExplainerPanel } from './panels/ChangeImpactAnalysisExplainerPanel';
|
|
36
|
-
export type { ChangeImpactAnalysisExplainerPanelProps } from './panels/ChangeImpactAnalysisExplainerPanel';
|
|
37
|
-
export { AgentMonitoringGapExplainerPanel } from './panels/AgentMonitoringGapExplainerPanel';
|
|
38
|
-
export type { AgentMonitoringGapExplainerPanelProps } from './panels/AgentMonitoringGapExplainerPanel';
|
|
39
|
-
export { SystemStoriesSolutionExplainerPanel } from './panels/SystemStoriesSolutionExplainerPanel';
|
|
40
|
-
export type { SystemStoriesSolutionExplainerPanelProps } from './panels/SystemStoriesSolutionExplainerPanel';
|
|
41
|
-
export { WhyNowAgentRevolutionExplainerPanel } from './panels/WhyNowAgentRevolutionExplainerPanel';
|
|
42
|
-
export type { WhyNowAgentRevolutionExplainerPanelProps } from './panels/WhyNowAgentRevolutionExplainerPanel';
|
|
43
|
-
export { PanelFileSystemAdapter } from './adapters/PanelFileSystemAdapter';
|
|
44
|
-
export type { FileTreeEntry, PanelFileSystemAdapterOptions } from './adapters/PanelFileSystemAdapter';
|
|
45
|
-
export type { TraceInfo } from './types/otel';
|
|
46
|
-
export { getServiceName, groupSpansByTrace } from './types/otel';
|
|
47
|
-
/**
|
|
48
|
-
* Export array of panel definitions.
|
|
49
|
-
* This is the required export for panel extensions.
|
|
50
|
-
*/
|
|
51
|
-
export declare const panels: PanelDefinition[];
|
|
52
|
-
/**
|
|
53
|
-
* Optional: Called once when the entire package is loaded.
|
|
54
|
-
* Use this for package-level initialization.
|
|
55
|
-
*/
|
|
56
|
-
export declare const onPackageLoad: () => Promise<void>;
|
|
57
|
-
/**
|
|
58
|
-
* Optional: Called once when the package is unloaded.
|
|
59
|
-
* Use this for package-level cleanup.
|
|
60
|
-
*/
|
|
61
|
-
export declare const onPackageUnload: () => Promise<void>;
|
|
62
|
-
/**
|
|
63
|
-
* Export tools for server-safe imports.
|
|
64
|
-
* Use '@industry-theme/principal-view-panels/tools' to import without React dependencies.
|
|
65
|
-
*/
|
|
66
|
-
export { principalViewPanelTools, principalViewPanelToolsMetadata, focusNodeTool, resetViewTool, triggerEventTool, } from './tools';
|
|
67
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAqB,MAAM,SAAS,CAAC;AAIlE,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACrE,YAAY,EAAE,yBAAyB,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAE9G,OAAO,EAAE,iBAAiB,EAA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