@industry-theme/file-city-panel 0.5.53 → 0.5.54

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. package/dist/components/ContextContainer.d.ts +40 -0
  2. package/dist/components/ContextContainer.d.ts.map +1 -0
  3. package/dist/components/TourPlayer.d.ts +49 -0
  4. package/dist/components/TourPlayer.d.ts.map +1 -0
  5. package/dist/components/TourPlayerIntegration.d.ts +26 -0
  6. package/dist/components/TourPlayerIntegration.d.ts.map +1 -0
  7. package/dist/components/index.d.ts +7 -0
  8. package/dist/components/index.d.ts.map +1 -0
  9. package/dist/hooks/index.d.ts +3 -0
  10. package/dist/hooks/index.d.ts.map +1 -0
  11. package/dist/hooks/useFuzzyFileSearch.d.ts +24 -0
  12. package/dist/hooks/useFuzzyFileSearch.d.ts.map +1 -0
  13. package/dist/hooks/useTourPlayer.d.ts +55 -0
  14. package/dist/hooks/useTourPlayer.d.ts.map +1 -0
  15. package/dist/index.d.ts +74 -0
  16. package/dist/index.d.ts.map +1 -0
  17. package/dist/mocks/MockTTSAdapter.d.ts +85 -0
  18. package/dist/mocks/MockTTSAdapter.d.ts.map +1 -0
  19. package/dist/mocks/mockAudioActions.d.ts +27 -0
  20. package/dist/mocks/mockAudioActions.d.ts.map +1 -0
  21. package/dist/mocks/panelContext.d.ts +36 -0
  22. package/dist/mocks/panelContext.d.ts.map +1 -0
  23. package/dist/panels/CodeCityPanel.d.ts +108 -0
  24. package/dist/panels/CodeCityPanel.d.ts.map +1 -0
  25. package/dist/panels/FeedCodeCityPanel.d.ts +19 -0
  26. package/dist/panels/FeedCodeCityPanel.d.ts.map +1 -0
  27. package/dist/panels/FileCityExplorerPanel/FileCityExplorer/AddToAreaModal.d.ts +14 -0
  28. package/dist/panels/FileCityExplorerPanel/FileCityExplorer/AddToAreaModal.d.ts.map +1 -0
  29. package/dist/panels/FileCityExplorerPanel/FileCityExplorer/AddToScopeModal.d.ts +14 -0
  30. package/dist/panels/FileCityExplorerPanel/FileCityExplorer/AddToScopeModal.d.ts.map +1 -0
  31. package/dist/panels/FileCityExplorerPanel/FileCityExplorer/CommitFileOverlay.d.ts +18 -0
  32. package/dist/panels/FileCityExplorerPanel/FileCityExplorer/CommitFileOverlay.d.ts.map +1 -0
  33. package/dist/panels/FileCityExplorerPanel/FileCityExplorer/FileCityExplorer.d.ts +87 -0
  34. package/dist/panels/FileCityExplorerPanel/FileCityExplorer/FileCityExplorer.d.ts.map +1 -0
  35. package/dist/panels/FileCityExplorerPanel/FileCityExplorer/RecentCommitCard.d.ts +37 -0
  36. package/dist/panels/FileCityExplorerPanel/FileCityExplorer/RecentCommitCard.d.ts.map +1 -0
  37. package/dist/panels/FileCityExplorerPanel/FileCityExplorer/ScopeInfoOverlay.d.ts +10 -0
  38. package/dist/panels/FileCityExplorerPanel/FileCityExplorer/ScopeInfoOverlay.d.ts.map +1 -0
  39. package/dist/panels/FileCityExplorerPanel/FileCityExplorer/WorkingTreeCard.d.ts +32 -0
  40. package/dist/panels/FileCityExplorerPanel/FileCityExplorer/WorkingTreeCard.d.ts.map +1 -0
  41. package/dist/panels/FileCityExplorerPanel/FileCityExplorer/WorkingTreeFileOverlay.d.ts +21 -0
  42. package/dist/panels/FileCityExplorerPanel/FileCityExplorer/WorkingTreeFileOverlay.d.ts.map +1 -0
  43. package/dist/panels/FileCityExplorerPanel/FileCityExplorer/index.d.ts +2 -0
  44. package/dist/panels/FileCityExplorerPanel/FileCityExplorer/index.d.ts.map +1 -0
  45. package/dist/panels/FileCityExplorerPanel/FileCityExplorer/layers.d.ts +22 -0
  46. package/dist/panels/FileCityExplorerPanel/FileCityExplorer/layers.d.ts.map +1 -0
  47. package/dist/panels/FileCityExplorerPanel/FileCityExplorer/pathConversion.d.ts +19 -0
  48. package/dist/panels/FileCityExplorerPanel/FileCityExplorer/pathConversion.d.ts.map +1 -0
  49. package/dist/panels/FileCityExplorerPanel/FileCityExplorer/scopeTreePaths.d.ts +21 -0
  50. package/dist/panels/FileCityExplorerPanel/FileCityExplorer/scopeTreePaths.d.ts.map +1 -0
  51. package/dist/panels/FileCityExplorerPanel/FileCityExplorer/styles.d.ts +9 -0
  52. package/dist/panels/FileCityExplorerPanel/FileCityExplorer/styles.d.ts.map +1 -0
  53. package/dist/panels/FileCityExplorerPanel/FileCityExplorerPanel.d.ts +4 -0
  54. package/dist/panels/FileCityExplorerPanel/FileCityExplorerPanel.d.ts.map +1 -0
  55. package/dist/panels/FileCityExplorerPanel/buildCityDataFromContext.d.ts +34 -0
  56. package/dist/panels/FileCityExplorerPanel/buildCityDataFromContext.d.ts.map +1 -0
  57. package/dist/panels/FileCityExplorerPanel/index.d.ts +4 -0
  58. package/dist/panels/FileCityExplorerPanel/index.d.ts.map +1 -0
  59. package/dist/panels/FileCityExplorerPanel/overlays/FileOverlay.d.ts +11 -0
  60. package/dist/panels/FileCityExplorerPanel/overlays/FileOverlay.d.ts.map +1 -0
  61. package/dist/panels/FileCityExplorerPanel/overlays/MarkdownNotes.d.ts +58 -0
  62. package/dist/panels/FileCityExplorerPanel/overlays/MarkdownNotes.d.ts.map +1 -0
  63. package/dist/panels/FileCityExplorerPanel/overlays/PierreFileView.d.ts +11 -0
  64. package/dist/panels/FileCityExplorerPanel/overlays/PierreFileView.d.ts.map +1 -0
  65. package/dist/panels/FileCityExplorerPanel/overlays/PierreSnippetDiffView.d.ts +28 -0
  66. package/dist/panels/FileCityExplorerPanel/overlays/PierreSnippetDiffView.d.ts.map +1 -0
  67. package/dist/panels/FileCityExplorerPanel/overlays/PierreSnippetView.d.ts +42 -0
  68. package/dist/panels/FileCityExplorerPanel/overlays/PierreSnippetView.d.ts.map +1 -0
  69. package/dist/panels/FileCityExplorerPanel/overlays/SequenceDiagramOverlay.d.ts +15 -0
  70. package/dist/panels/FileCityExplorerPanel/overlays/SequenceDiagramOverlay.d.ts.map +1 -0
  71. package/dist/panels/FileCityExplorerPanel/overlays/SequenceEventDetailOverlay.d.ts +22 -0
  72. package/dist/panels/FileCityExplorerPanel/overlays/SequenceEventDetailOverlay.d.ts.map +1 -0
  73. package/dist/panels/FileCityExplorerPanel/overlays/SequenceFilesOverlay.d.ts +28 -0
  74. package/dist/panels/FileCityExplorerPanel/overlays/SequenceFilesOverlay.d.ts.map +1 -0
  75. package/dist/panels/FileCityExplorerPanel/overlays/SequenceLeaderLine.d.ts +42 -0
  76. package/dist/panels/FileCityExplorerPanel/overlays/SequenceLeaderLine.d.ts.map +1 -0
  77. package/dist/panels/FileCityExplorerPanel/overlays/SequenceMarkdownOverlay.d.ts +44 -0
  78. package/dist/panels/FileCityExplorerPanel/overlays/SequenceMarkdownOverlay.d.ts.map +1 -0
  79. package/dist/panels/FileCityExplorerPanel/overlays/SnippetNotes.d.ts +67 -0
  80. package/dist/panels/FileCityExplorerPanel/overlays/SnippetNotes.d.ts.map +1 -0
  81. package/dist/panels/components/ActivityHeatmapView.d.ts +25 -0
  82. package/dist/panels/components/ActivityHeatmapView.d.ts.map +1 -0
  83. package/dist/panels/components/AgentActivityView.d.ts +29 -0
  84. package/dist/panels/components/AgentActivityView.d.ts.map +1 -0
  85. package/dist/panels/components/BuildingCityLoader.d.ts +11 -0
  86. package/dist/panels/components/BuildingCityLoader.d.ts.map +1 -0
  87. package/dist/panels/components/CommitChangesTree.d.ts +29 -0
  88. package/dist/panels/components/CommitChangesTree.d.ts.map +1 -0
  89. package/dist/panels/components/CoverEditor.d.ts +22 -0
  90. package/dist/panels/components/CoverEditor.d.ts.map +1 -0
  91. package/dist/panels/components/EmptyState.d.ts +12 -0
  92. package/dist/panels/components/EmptyState.d.ts.map +1 -0
  93. package/dist/panels/components/FeedProjectHeader.d.ts +86 -0
  94. package/dist/panels/components/FeedProjectHeader.d.ts.map +1 -0
  95. package/dist/panels/components/FileCardList.d.ts +44 -0
  96. package/dist/panels/components/FileCardList.d.ts.map +1 -0
  97. package/dist/panels/components/FileCityTips.d.ts +7 -0
  98. package/dist/panels/components/FileCityTips.d.ts.map +1 -0
  99. package/dist/panels/components/FileTypesView.d.ts +23 -0
  100. package/dist/panels/components/FileTypesView.d.ts.map +1 -0
  101. package/dist/panels/components/GitChangesCardList.d.ts +29 -0
  102. package/dist/panels/components/GitChangesCardList.d.ts.map +1 -0
  103. package/dist/panels/components/GitChangesTree.d.ts +26 -0
  104. package/dist/panels/components/GitChangesTree.d.ts.map +1 -0
  105. package/dist/panels/components/GitChangesView.d.ts +27 -0
  106. package/dist/panels/components/GitChangesView.d.ts.map +1 -0
  107. package/dist/panels/components/HoverInfoBar.d.ts +29 -0
  108. package/dist/panels/components/HoverInfoBar.d.ts.map +1 -0
  109. package/dist/panels/components/Legend.d.ts +145 -0
  110. package/dist/panels/components/Legend.d.ts.map +1 -0
  111. package/dist/panels/components/LegendTabs.d.ts +35 -0
  112. package/dist/panels/components/LegendTabs.d.ts.map +1 -0
  113. package/dist/panels/components/PackageInfo.d.ts +26 -0
  114. package/dist/panels/components/PackageInfo.d.ts.map +1 -0
  115. package/dist/panels/components/PackageManagerIcon.d.ts +10 -0
  116. package/dist/panels/components/PackageManagerIcon.d.ts.map +1 -0
  117. package/dist/panels/components/PrChangesCardList.d.ts +38 -0
  118. package/dist/panels/components/PrChangesCardList.d.ts.map +1 -0
  119. package/dist/panels/components/PrChangesTree.d.ts +32 -0
  120. package/dist/panels/components/PrChangesTree.d.ts.map +1 -0
  121. package/dist/panels/components/ProjectHeader.d.ts +36 -0
  122. package/dist/panels/components/ProjectHeader.d.ts.map +1 -0
  123. package/dist/panels/components/ProjectInfoHeader.d.ts +47 -0
  124. package/dist/panels/components/ProjectInfoHeader.d.ts.map +1 -0
  125. package/dist/panels/components/ProjectInfoView.d.ts +17 -0
  126. package/dist/panels/components/ProjectInfoView.d.ts.map +1 -0
  127. package/dist/panels/components/QualityMetricsView.d.ts +22 -0
  128. package/dist/panels/components/QualityMetricsView.d.ts.map +1 -0
  129. package/dist/panels/components/ScopesCanvasView.d.ts +17 -0
  130. package/dist/panels/components/ScopesCanvasView.d.ts.map +1 -0
  131. package/dist/panels/components/SearchResultsView.d.ts +19 -0
  132. package/dist/panels/components/SearchResultsView.d.ts.map +1 -0
  133. package/dist/panels/components/StoryboardFilesCardList.d.ts +28 -0
  134. package/dist/panels/components/StoryboardFilesCardList.d.ts.map +1 -0
  135. package/dist/panels/components/StoryboardFilesTree.d.ts +26 -0
  136. package/dist/panels/components/StoryboardFilesTree.d.ts.map +1 -0
  137. package/dist/panels/components/StoryboardView.d.ts +38 -0
  138. package/dist/panels/components/StoryboardView.d.ts.map +1 -0
  139. package/dist/panels/index.d.ts +4 -0
  140. package/dist/panels/index.d.ts.map +1 -0
  141. package/dist/panels/stress-test-data.d.ts +40 -0
  142. package/dist/panels/stress-test-data.d.ts.map +1 -0
  143. package/dist/panels/utils/cityData.d.ts +5 -0
  144. package/dist/panels/utils/cityData.d.ts.map +1 -0
  145. package/dist/panels/utils/qualityLayers.d.ts +119 -0
  146. package/dist/panels/utils/qualityLayers.d.ts.map +1 -0
  147. package/dist/tools/index.d.ts +32 -0
  148. package/dist/tools/index.d.ts.map +1 -0
  149. package/dist/tools.bundle.js +103 -0
  150. package/dist/types/FileCityExplorerPanel.d.ts +132 -0
  151. package/dist/types/FileCityExplorerPanel.d.ts.map +1 -0
  152. package/dist/types/Scope.d.ts +94 -0
  153. package/dist/types/Scope.d.ts.map +1 -0
  154. package/dist/types/SequenceDiagram.d.ts +306 -0
  155. package/dist/types/SequenceDiagram.d.ts.map +1 -0
  156. package/dist/types/TextToSpeech.d.ts +118 -0
  157. package/dist/types/TextToSpeech.d.ts.map +1 -0
  158. package/dist/types/TourExtensions.d.ts +28 -0
  159. package/dist/types/TourExtensions.d.ts.map +1 -0
  160. package/dist/types/index.d.ts +204 -0
  161. package/dist/types/index.d.ts.map +1 -0
  162. package/dist/utils/index.d.ts +3 -0
  163. package/dist/utils/index.d.ts.map +1 -0
  164. package/package.json +1 -1
@@ -0,0 +1,26 @@
1
+ import React from 'react';
2
+ import { type FileTree, type GitStatusWithFiles } from '@principal-ai/repository-abstraction';
3
+ /** Re-export GitStatusWithFiles for consumers */
4
+ export type { GitStatusWithFiles };
5
+ /** Git status category for selection callbacks */
6
+ export type GitChangeSelectionStatus = 'staged' | 'unstaged' | 'untracked' | 'deleted';
7
+ interface GitChangesTreeProps {
8
+ /** Git status data with categorized file paths */
9
+ gitStatus: GitStatusWithFiles;
10
+ /** Optional file tree for "Full Tree" view mode */
11
+ fileTree?: FileTree | null;
12
+ /** Root path for the repository (used for building file trees) */
13
+ rootPath?: string;
14
+ /** Horizontal padding for tree nodes */
15
+ horizontalPadding?: string;
16
+ /** Callback when a file is clicked */
17
+ onFileClick?: (filePath: string, status?: GitChangeSelectionStatus) => void;
18
+ /** Callback when a node is hovered */
19
+ onNodeHover?: (nodePath: string | null, isFolder: boolean) => void;
20
+ }
21
+ /**
22
+ * GitChangesTree component that displays git changes in a file tree format.
23
+ * Uses GitStatusFileTree from @principal-ade/dynamic-file-tree for rendering.
24
+ */
25
+ export declare const GitChangesTree: React.FC<GitChangesTreeProps>;
26
+ //# sourceMappingURL=GitChangesTree.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GitChangesTree.d.ts","sourceRoot":"","sources":["../../../src/panels/components/GitChangesTree.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAGpD,OAAO,EAAwB,KAAK,QAAQ,EAAE,KAAK,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAEpH,iDAAiD;AACjD,YAAY,EAAE,kBAAkB,EAAE,CAAC;AAEnC,kDAAkD;AAClD,MAAM,MAAM,wBAAwB,GAAG,QAAQ,GAAG,UAAU,GAAG,WAAW,GAAG,SAAS,CAAC;AAEvF,UAAU,mBAAmB;IAC3B,kDAAkD;IAClD,SAAS,EAAE,kBAAkB,CAAC;IAC9B,mDAAmD;IACnD,QAAQ,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAC;IAC3B,kEAAkE;IAClE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,wCAAwC;IACxC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,sCAAsC;IACtC,WAAW,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,wBAAwB,KAAK,IAAI,CAAC;IAC5E,sCAAsC;IACtC,WAAW,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,EAAE,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;CACpE;AAED;;;GAGG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA6KxD,CAAC"}
@@ -0,0 +1,27 @@
1
+ import React from 'react';
2
+ import { type GitChangeSelectionStatus } from './GitChangesCardList';
3
+ import type { GitStatusWithFiles } from '@principal-ai/repository-abstraction';
4
+ import type { PanelActions } from '../../types';
5
+ interface GitChangesViewProps {
6
+ /** Git status data with categorized file paths */
7
+ gitStatus: GitStatusWithFiles;
8
+ /** Panel actions for git operations */
9
+ panelActions?: PanelActions;
10
+ /** Callback when a git file is clicked */
11
+ onFileClick?: (filePath: string, status?: GitChangeSelectionStatus) => void;
12
+ /** Callback when a git node is hovered */
13
+ onNodeHover?: (nodePath: string | null, isFolder: boolean) => void;
14
+ /** Horizontal padding for cards */
15
+ horizontalPadding?: string;
16
+ /** Whether to show the header (default: true) */
17
+ showHeader?: boolean;
18
+ /** Whether to show the "Git Changelist" label in header (default: true). Set to false when in tabs to avoid redundancy. */
19
+ showHeaderLabel?: boolean;
20
+ }
21
+ /**
22
+ * GitChangesView displays git changes with a header and toggle between staged/unstaged.
23
+ * This is a focused component that only handles git changes display.
24
+ */
25
+ export declare const GitChangesView: React.FC<GitChangesViewProps>;
26
+ export {};
27
+ //# sourceMappingURL=GitChangesView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GitChangesView.d.ts","sourceRoot":"","sources":["../../../src/panels/components/GitChangesView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAsB,KAAK,wBAAwB,EAA2B,MAAM,sBAAsB,CAAC;AAClH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAC/E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,UAAU,mBAAmB;IAC3B,kDAAkD;IAClD,SAAS,EAAE,kBAAkB,CAAC;IAC9B,uCAAuC;IACvC,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,0CAA0C;IAC1C,WAAW,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,wBAAwB,KAAK,IAAI,CAAC;IAC5E,0CAA0C;IAC1C,WAAW,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,EAAE,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IACnE,mCAAmC;IACnC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,iDAAiD;IACjD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,2HAA2H;IAC3H,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED;;;GAGG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAoIxD,CAAC"}
@@ -0,0 +1,29 @@
1
+ import React from 'react';
2
+ import type { CityBuilding, CityDistrict } from '@principal-ai/file-city-react';
3
+ interface HoverInfo {
4
+ hoveredDistrict: CityDistrict | null;
5
+ hoveredBuilding: CityBuilding | null;
6
+ fileTooltip: {
7
+ text: string;
8
+ } | null;
9
+ directoryTooltip: {
10
+ text: string;
11
+ } | null;
12
+ fileCount: number | null;
13
+ }
14
+ /** Selection source type - where the file selection originated */
15
+ export type SelectionSource = 'map' | 'storyboard' | 'git' | 'pr' | 'commit' | null;
16
+ export interface HoverInfoBarProps {
17
+ selectedPackagePath: string | null;
18
+ selectedFilePath: string | null;
19
+ selectionSource?: SelectionSource;
20
+ hoverInfo: HoverInfo | null;
21
+ hoveredPackagePath: string | null;
22
+ onEditCover: () => void;
23
+ onClearPackageSelection: () => void;
24
+ onOpenSelectedFile: () => void;
25
+ onClearFileSelection: () => void;
26
+ }
27
+ export declare const HoverInfoBar: React.FC<HoverInfoBarProps>;
28
+ export {};
29
+ //# sourceMappingURL=HoverInfoBar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HoverInfoBar.d.ts","sourceRoot":"","sources":["../../../src/panels/components/HoverInfoBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAWhF,UAAU,SAAS;IACjB,eAAe,EAAE,YAAY,GAAG,IAAI,CAAC;IACrC,eAAe,EAAE,YAAY,GAAG,IAAI,CAAC;IACrC,WAAW,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IACrC,gBAAgB,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IAC1C,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B;AAED,kEAAkE;AAClE,MAAM,MAAM,eAAe,GAAG,KAAK,GAAG,YAAY,GAAG,KAAK,GAAG,IAAI,GAAG,QAAQ,GAAG,IAAI,CAAC;AAEpF,MAAM,WAAW,iBAAiB;IAChC,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,SAAS,EAAE,SAAS,GAAG,IAAI,CAAC;IAC5B,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,uBAAuB,EAAE,MAAM,IAAI,CAAC;IACpC,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAC/B,oBAAoB,EAAE,MAAM,IAAI,CAAC;CAClC;AAED,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA8TpD,CAAC"}
@@ -0,0 +1,145 @@
1
+ import React from 'react';
2
+ import type { FileTree } from '@principal-ai/repository-abstraction';
3
+ import type { ColorMode } from '../utils/qualityLayers';
4
+ import type { GitChangeSelectionStatus } from './GitChangesCardList';
5
+ import type { GitStatusWithFiles } from '@principal-ai/repository-abstraction';
6
+ import { type PrFilesStatus, type PrFileStats, type PrChangeSelectionStatus } from './PrChangesCardList';
7
+ import { type CommitFilesStatus, type CommitChangeSelectionStatus } from './CommitChangesTree';
8
+ import { type StoryboardFileCategory } from './StoryboardFilesCardList';
9
+ import type { StoryboardContextSliceData } from '../CodeCityPanel';
10
+ import type { PanelActions } from '../../types';
11
+ export type { GitStatusWithFiles } from '@principal-ai/repository-abstraction';
12
+ export type { GitChangeSelectionStatus } from './GitChangesCardList';
13
+ export type { PrFilesStatus, PrChangeSelectionStatus } from './PrChangesCardList';
14
+ export type { CommitFilesStatus, CommitChangeSelectionStatus } from './CommitChangesTree';
15
+ export type { StoryboardFileCategory } from './StoryboardFilesCardList';
16
+ export interface LegendFileType {
17
+ id: string;
18
+ name: string;
19
+ fillColor: string;
20
+ borderColor?: string;
21
+ count: number;
22
+ enabled: boolean;
23
+ }
24
+ export interface LegendGitStatus {
25
+ id: string;
26
+ name: string;
27
+ color: string;
28
+ count: number;
29
+ enabled: boolean;
30
+ /** Optional: render as border only (true) or filled (false/undefined) */
31
+ borderOnly?: boolean;
32
+ /** Optional: opacity for fill (0-1) */
33
+ opacity?: number;
34
+ /** Optional: border width in pixels */
35
+ borderWidth?: number;
36
+ }
37
+ export interface LegendAgentLayer {
38
+ id: string;
39
+ name: string;
40
+ color: string;
41
+ count: number;
42
+ enabled: boolean;
43
+ }
44
+ export interface LegendQualityMetric {
45
+ id: string;
46
+ name: string;
47
+ color: string;
48
+ count: number;
49
+ enabled: boolean;
50
+ }
51
+ export interface LegendPackageData {
52
+ name: string;
53
+ path: string;
54
+ version?: string;
55
+ description?: string;
56
+ license?: string;
57
+ packageManager: 'npm' | 'yarn' | 'pnpm' | 'bun' | 'pip' | 'poetry' | 'pipenv' | 'cargo' | 'unknown';
58
+ dependencies: Record<string, string>;
59
+ devDependencies: Record<string, string>;
60
+ peerDependencies: Record<string, string>;
61
+ availableCommands?: Array<{
62
+ name: string;
63
+ command: string;
64
+ }>;
65
+ isMonorepoRoot?: boolean;
66
+ }
67
+ interface LegendProps {
68
+ fileTypes: LegendFileType[];
69
+ /** Root package data to display */
70
+ packageData?: LegendPackageData | null;
71
+ /** Number of workspace packages (excluding root, for monorepos) */
72
+ workspacePackageCount?: number;
73
+ /** Raw git status data with file path arrays */
74
+ gitStatus?: GitStatusWithFiles | null;
75
+ /** Panel actions for git operations */
76
+ panelActions?: PanelActions;
77
+ /** PR files data with categorized file paths */
78
+ prFiles?: PrFilesStatus | null;
79
+ /** PR file stats with additions/deletions per file */
80
+ prFileStats?: PrFileStats[] | null;
81
+ /** PR number for display */
82
+ prNumber?: number | null;
83
+ /** Commit files data with categorized file paths */
84
+ commitFiles?: CommitFilesStatus | null;
85
+ /** Commit hash for display */
86
+ commitHash?: string | null;
87
+ /** Commit stats (total additions/deletions) */
88
+ commitStats?: {
89
+ additions: number;
90
+ deletions: number;
91
+ } | null;
92
+ /** File tree for expanding directories in git changes view */
93
+ fileTree?: FileTree | null;
94
+ /** Root path for building file trees */
95
+ rootPath?: string;
96
+ agentLayers?: LegendAgentLayer[];
97
+ qualityMetrics?: LegendQualityMetric[];
98
+ colorMode?: ColorMode;
99
+ onItemClick?: (id: string) => void;
100
+ /** Callback when a git file is clicked */
101
+ onGitFileClick?: (filePath: string, status?: GitChangeSelectionStatus) => void;
102
+ /** Callback when a git node is hovered */
103
+ onGitNodeHover?: (nodePath: string | null, isFolder: boolean) => void;
104
+ /** Callback when a PR file is clicked */
105
+ onPrFileClick?: (filePath: string, status?: PrChangeSelectionStatus) => void;
106
+ /** Callback when a PR node is hovered */
107
+ onPrNodeHover?: (nodePath: string | null, isFolder: boolean) => void;
108
+ /** Callback when a commit file is clicked */
109
+ onCommitFileClick?: (filePath: string, status?: CommitChangeSelectionStatus) => void;
110
+ /** Callback when a commit node is hovered */
111
+ onCommitNodeHover?: (nodePath: string | null, isFolder: boolean) => void;
112
+ /** Storyboard context data */
113
+ storyboardContext?: StoryboardContextSliceData | null;
114
+ /** Callback when the storyboard name is clicked (to focus on canvas panel) */
115
+ onStoryboardClick?: (storyboard: {
116
+ id: string;
117
+ name: string;
118
+ path: string;
119
+ }) => void;
120
+ /** Callback when the workflow name is clicked (to focus on workflow panel) */
121
+ onWorkflowClick?: (workflow: {
122
+ id: string;
123
+ name: string;
124
+ path: string;
125
+ }) => void;
126
+ /** Callback when a storyboard file is clicked */
127
+ onStoryboardFileClick?: (filePath: string, category?: StoryboardFileCategory) => void;
128
+ /** Callback when a storyboard node is hovered */
129
+ onStoryboardNodeHover?: (nodePath: string | null, isFolder: boolean) => void;
130
+ /** Currently selected file in storyboard (for selection styling) */
131
+ storyboardSelectedFile?: string | null;
132
+ /** Callback when Open button is clicked on a storyboard file */
133
+ onOpenStoryboardFile?: (filePath: string) => void;
134
+ onAgentLayerClick?: (id: string) => void;
135
+ onQualityMetricClick?: (id: string) => void;
136
+ onClearAgentLayers?: () => void;
137
+ position?: 'top' | 'bottom' | 'right';
138
+ }
139
+ /**
140
+ * Legend component that displays file type colors and layer information.
141
+ * Shows styled rectangles that mimic the actual building rendering.
142
+ * Supports both bottom and right positioning with responsive layout.
143
+ */
144
+ export declare const Legend: React.FC<LegendProps>;
145
+ //# sourceMappingURL=Legend.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Legend.d.ts","sourceRoot":"","sources":["../../../src/panels/components/Legend.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sCAAs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AQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAClD,iBAAiB,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,oBAAoB,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAC;IAChC,QAAQ,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,OAAO,CAAC;CACvC;AAED;;;;GAIG;AACH,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAoYxC,CAAC"}
@@ -0,0 +1,35 @@
1
+ import React from 'react';
2
+ export type LegendTabId = 'agent' | 'git' | 'files' | 'quality' | 'project' | 'canvas' | 'storyboard' | 'activity' | 'search';
3
+ export interface LegendTab {
4
+ id: LegendTabId;
5
+ label: string;
6
+ icon: React.ReactNode;
7
+ count?: number;
8
+ content: React.ReactNode;
9
+ }
10
+ interface LegendTabsProps {
11
+ tabs: LegendTab[];
12
+ defaultTab?: LegendTabId;
13
+ onTabChange?: (tabId: LegendTabId) => void;
14
+ position?: 'bottom' | 'right';
15
+ }
16
+ /**
17
+ * A tabbed container for the legend area.
18
+ * Shows tabs when there are multiple content types (agent activity, git changes, etc.)
19
+ * If only one tab is provided, it renders the content directly without tabs.
20
+ */
21
+ export declare const LegendTabs: React.FC<LegendTabsProps>;
22
+ /**
23
+ * Helper to create standard tab configurations
24
+ */
25
+ export declare const createAgentTab: (content: React.ReactNode, count?: number) => LegendTab;
26
+ export declare const createGitTab: (content: React.ReactNode, count?: number) => LegendTab;
27
+ export declare const createFilesTab: (content: React.ReactNode, count?: number) => LegendTab;
28
+ export declare const createProjectTab: (content: React.ReactNode) => LegendTab;
29
+ export declare const createQualityTab: (content: React.ReactNode, count?: number) => LegendTab;
30
+ export declare const createCanvasTab: (content: React.ReactNode) => LegendTab;
31
+ export declare const createStoryboardTab: (content: React.ReactNode, count?: number) => LegendTab;
32
+ export declare const createActivityTab: (content: React.ReactNode, count?: number) => LegendTab;
33
+ export declare const createSearchTab: (content: React.ReactNode, count?: number) => LegendTab;
34
+ export {};
35
+ //# sourceMappingURL=LegendTabs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LegendTabs.d.ts","sourceRoot":"","sources":["../../../src/panels/components/LegendTabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,KAAK,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,YAAY,GAAG,UAAU,GAAG,QAAQ,CAAC;AAE9H,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,WAAW,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B;AAED,UAAU,eAAe;IACvB,IAAI,EAAE,SAAS,EAAE,CAAC;IAClB,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC;IAC3C,QAAQ,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;CAC/B;AAED;;;;GAIG;AACH,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAuJhD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,GACzB,SAAS,KAAK,CAAC,SAAS,EACxB,QAAQ,MAAM,KACb,SAMD,CAAC;AAEH,eAAO,MAAM,YAAY,GACvB,SAAS,KAAK,CAAC,SAAS,EACxB,QAAQ,MAAM,KACb,SAMD,CAAC;AAEH,eAAO,MAAM,cAAc,GACzB,SAAS,KAAK,CAAC,SAAS,EACxB,QAAQ,MAAM,KACb,SAMD,CAAC;AAEH,eAAO,MAAM,gBAAgB,GAC3B,SAAS,KAAK,CAAC,SAAS,KACvB,SAKD,CAAC;AAEH,eAAO,MAAM,gBAAgB,GAC3B,SAAS,KAAK,CAAC,SAAS,EACxB,QAAQ,MAAM,KACb,SAMD,CAAC;AAEH,eAAO,MAAM,eAAe,GAC1B,SAAS,KAAK,CAAC,SAAS,KACvB,SAKD,CAAC;AAEH,eAAO,MAAM,mBAAmB,GAC9B,SAAS,KAAK,CAAC,SAAS,EACxB,QAAQ,MAAM,KACb,SAMD,CAAC;AAEH,eAAO,MAAM,iBAAiB,GAC5B,SAAS,KAAK,CAAC,SAAS,EACxB,QAAQ,MAAM,KACb,SAMD,CAAC;AAEH,eAAO,MAAM,eAAe,GAC1B,SAAS,KAAK,CAAC,SAAS,EACxB,QAAQ,MAAM,KACb,SAMD,CAAC"}
@@ -0,0 +1,26 @@
1
+ import React from 'react';
2
+ type PackageManager = 'npm' | 'yarn' | 'pnpm' | 'bun' | 'pip' | 'poetry' | 'pipenv' | 'cargo' | 'unknown';
3
+ interface PackageData {
4
+ name: string;
5
+ path: string;
6
+ version?: string;
7
+ description?: string;
8
+ license?: string;
9
+ packageManager: PackageManager;
10
+ dependencies: Record<string, string>;
11
+ devDependencies: Record<string, string>;
12
+ peerDependencies: Record<string, string>;
13
+ availableCommands?: Array<{
14
+ name: string;
15
+ command: string;
16
+ }>;
17
+ isMonorepoRoot?: boolean;
18
+ }
19
+ interface PackageInfoProps {
20
+ packageData: PackageData;
21
+ /** Number of additional workspace packages (for monorepos) */
22
+ workspacePackageCount?: number;
23
+ }
24
+ export declare const PackageInfo: React.FC<PackageInfoProps>;
25
+ export default PackageInfo;
26
+ //# sourceMappingURL=PackageInfo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PackageInfo.d.ts","sourceRoot":"","sources":["../../../src/panels/components/PackageInfo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,KAAK,cAAc,GAAG,KAAK,GAAG,MAAM,GAAG,MAAM,GAAG,KAAK,GAAG,KAAK,GAAG,QAAQ,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,CAAC;AAE1G,UAAU,WAAW;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,cAAc,CAAC;IAC/B,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACrC,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACxC,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACzC,iBAAiB,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC7D,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED,UAAU,gBAAgB;IACxB,WAAW,EAAE,WAAW,CAAC;IACzB,8DAA8D;IAC9D,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAuIlD,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ type PackageManager = 'npm' | 'yarn' | 'pnpm' | 'bun' | 'pip' | 'poetry' | 'pipenv' | 'cargo' | 'unknown';
3
+ interface PackageManagerIconProps {
4
+ packageManager: PackageManager;
5
+ size?: number;
6
+ color?: string;
7
+ }
8
+ export declare const PackageManagerIcon: React.FC<PackageManagerIconProps>;
9
+ export default PackageManagerIcon;
10
+ //# sourceMappingURL=PackageManagerIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PackageManagerIcon.d.ts","sourceRoot":"","sources":["../../../src/panels/components/PackageManagerIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,KAAK,cAAc,GAAG,KAAK,GAAG,MAAM,GAAG,MAAM,GAAG,KAAK,GAAG,KAAK,GAAG,QAAQ,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,CAAC;AAE1G,UAAU,uBAAuB;IAC/B,cAAc,EAAE,cAAc,CAAC;IAC/B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAuGD,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAyBhE,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
@@ -0,0 +1,38 @@
1
+ import React from 'react';
2
+ /** PR files data structure with categorized file paths */
3
+ export interface PrFilesStatus {
4
+ added: string[];
5
+ modified: string[];
6
+ removed: string[];
7
+ renamed: {
8
+ filename: string;
9
+ previous_filename?: string;
10
+ }[];
11
+ }
12
+ /** Per-file stats for PR files */
13
+ export interface PrFileStats {
14
+ filename: string;
15
+ additions: number;
16
+ deletions: number;
17
+ }
18
+ /** PR file status category for selection callbacks */
19
+ export type PrChangeSelectionStatus = 'added' | 'modified' | 'removed' | 'renamed';
20
+ interface PrChangesCardListProps {
21
+ /** PR files data with categorized file paths */
22
+ prFiles: PrFilesStatus;
23
+ /** Optional per-file stats (additions/deletions) */
24
+ fileStats?: PrFileStats[];
25
+ /** Horizontal padding for cards */
26
+ horizontalPadding?: string;
27
+ /** Callback when a file is clicked */
28
+ onFileClick?: (filePath: string, status?: PrChangeSelectionStatus) => void;
29
+ /** Callback when a file is hovered */
30
+ onFileHover?: (filePath: string | null) => void;
31
+ }
32
+ /**
33
+ * PrChangesCardList displays PR file changes as a flat list of file cards.
34
+ * Each card shows the filename with a colored status badge (A, M, D, R).
35
+ */
36
+ export declare const PrChangesCardList: React.FC<PrChangesCardListProps>;
37
+ export {};
38
+ //# sourceMappingURL=PrChangesCardList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PrChangesCardList.d.ts","sourceRoot":"","sources":["../../../src/panels/components/PrChangesCardList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAIpD,0DAA0D;AAC1D,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,OAAO,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAC;QAAC,iBAAiB,CAAC,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;CAC7D;AAED,kCAAkC;AAClC,MAAM,WAAW,WAAW;IAC1B,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,sDAAsD;AACtD,MAAM,MAAM,uBAAuB,GAAG,OAAO,GAAG,UAAU,GAAG,SAAS,GAAG,SAAS,CAAC;AAkBnF,UAAU,sBAAsB;IAC9B,gDAAgD;IAChD,OAAO,EAAE,aAAa,CAAC;IACvB,oDAAoD;IACpD,SAAS,CAAC,EAAE,WAAW,EAAE,CAAC;IAC1B,mCAAmC;IACnC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,sCAAsC;IACtC,WAAW,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,uBAAuB,KAAK,IAAI,CAAC;IAC3E,sCAAsC;IACtC,WAAW,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;CACjD;AAED;;;GAGG;AACH,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAyG9D,CAAC"}
@@ -0,0 +1,32 @@
1
+ import React from 'react';
2
+ /** PR files data structure with categorized file paths */
3
+ export interface PrFilesStatus {
4
+ added: string[];
5
+ modified: string[];
6
+ removed: string[];
7
+ renamed: {
8
+ filename: string;
9
+ previous_filename?: string;
10
+ }[];
11
+ }
12
+ /** PR file status category for selection callbacks */
13
+ export type PrChangeSelectionStatus = 'added' | 'modified' | 'removed' | 'renamed';
14
+ interface PrChangesTreeProps {
15
+ /** PR files data with categorized file paths */
16
+ prFiles: PrFilesStatus;
17
+ /** Root path for the repository (used for building file trees) */
18
+ rootPath?: string;
19
+ /** Horizontal padding for tree nodes */
20
+ horizontalPadding?: string;
21
+ /** Callback when a file is clicked */
22
+ onFileClick?: (filePath: string, status?: PrChangeSelectionStatus) => void;
23
+ /** Callback when a node is hovered */
24
+ onNodeHover?: (nodePath: string | null, isFolder: boolean) => void;
25
+ }
26
+ /**
27
+ * PrChangesTree component that displays PR file changes in a file tree format.
28
+ * Uses GitStatusFileTree from @principal-ade/dynamic-file-tree for rendering.
29
+ */
30
+ export declare const PrChangesTree: React.FC<PrChangesTreeProps>;
31
+ export {};
32
+ //# sourceMappingURL=PrChangesTree.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PrChangesTree.d.ts","sourceRoot":"","sources":["../../../src/panels/components/PrChangesTree.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAKpD,0DAA0D;AAC1D,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,OAAO,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAC;QAAC,iBAAiB,CAAC,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;CAC7D;AAED,sDAAsD;AACtD,MAAM,MAAM,uBAAuB,GAAG,OAAO,GAAG,UAAU,GAAG,SAAS,GAAG,SAAS,CAAC;AAEnF,UAAU,kBAAkB;IAC1B,gDAAgD;IAChD,OAAO,EAAE,aAAa,CAAC;IACvB,kEAAkE;IAClE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,wCAAwC;IACxC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,sCAAsC;IACtC,WAAW,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,uBAAuB,KAAK,IAAI,CAAC;IAC3E,sCAAsC;IACtC,WAAW,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,EAAE,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;CACpE;AAED;;;GAGG;AACH,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA0ItD,CAAC"}
@@ -0,0 +1,36 @@
1
+ import React from 'react';
2
+ import type { GithubRepository } from '@principal-ai/alexandria-core-library';
3
+ interface ProjectHeaderProps {
4
+ /** GitHub repository information */
5
+ github: GithubRepository;
6
+ /** Whether tour data is available */
7
+ hasTour?: boolean;
8
+ /** Callback when tour button is clicked */
9
+ onTourClick?: () => void;
10
+ /** Callback when learn more is clicked */
11
+ onLearnMore?: () => void;
12
+ /** Search query */
13
+ searchQuery?: string;
14
+ /** Callback when search query changes */
15
+ onSearchQueryChange?: (query: string) => void;
16
+ /** Whether search input is expanded */
17
+ isSearchExpanded?: boolean;
18
+ /** Callback when search expand/collapse is toggled */
19
+ onSearchExpandToggle?: () => void;
20
+ /** Number of search results */
21
+ searchResultsCount?: number;
22
+ }
23
+ /**
24
+ * ProjectHeaderSkeleton - Shimmer loading state for ProjectHeader
25
+ */
26
+ export declare const ProjectHeaderSkeleton: React.FC;
27
+ /**
28
+ * ProjectHeader - Compact header displaying repo name and key info
29
+ *
30
+ * Uses GithubRepository type directly from @principal-ai/alexandria-core-library.
31
+ * Shows: visibility icon, repo name, owner, stars, license, tour/learn more buttons.
32
+ * Detailed info (description, language, etc.) is shown in the ProjectInfoView legend tab.
33
+ */
34
+ export declare const ProjectHeader: React.FC<ProjectHeaderProps>;
35
+ export default ProjectHeader;
36
+ //# sourceMappingURL=ProjectHeader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProjectHeader.d.ts","sourceRoot":"","sources":["../../../src/panels/components/ProjectHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AAE9E,UAAU,kBAAkB;IAC1B,oCAAoC;IACpC,MAAM,EAAE,gBAAgB,CAAC;IACzB,qCAAqC;IACrC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,2CAA2C;IAC3C,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,0CAA0C;IAC1C,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,mBAAmB;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,yCAAyC;IACzC,mBAAmB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9C,uCAAuC;IACvC,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,sDAAsD;IACtD,oBAAoB,CAAC,EAAE,MAAM,IAAI,CAAC;IAClC,+BAA+B;IAC/B,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAoDD;;GAEG;AACH,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EA2BzC,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAuQtD,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -0,0 +1,47 @@
1
+ import React from 'react';
2
+ /** Package manager type */
3
+ type PackageManager = 'npm' | 'yarn' | 'pnpm' | 'bun' | 'pip' | 'poetry' | 'pipenv' | 'cargo' | 'unknown';
4
+ /**
5
+ * Project info data for display in the header
6
+ */
7
+ export interface ProjectInfo {
8
+ /** Project/package name */
9
+ name: string;
10
+ /** Version string (e.g., "1.0.0") */
11
+ version?: string;
12
+ /** Short description of the project */
13
+ description?: string;
14
+ /** License identifier (e.g., "MIT", "Apache-2.0") */
15
+ license?: string;
16
+ /** Package manager used */
17
+ packageManager?: PackageManager;
18
+ /** Number of production dependencies */
19
+ dependencyCount?: number;
20
+ /** Number of dev dependencies */
21
+ devDependencyCount?: number;
22
+ /** Whether this is a monorepo */
23
+ isMonorepo?: boolean;
24
+ /** Number of packages in monorepo */
25
+ packageCount?: number;
26
+ /** Author or organization */
27
+ author?: string;
28
+ /** Repository URL */
29
+ repositoryUrl?: string;
30
+ }
31
+ interface ProjectInfoHeaderProps {
32
+ /** Project information to display */
33
+ project: ProjectInfo;
34
+ /** Callback when the "Open" button is clicked */
35
+ onOpen?: () => void;
36
+ /** Whether to show in compact mode */
37
+ compact?: boolean;
38
+ }
39
+ /**
40
+ * ProjectInfoHeader - Displays project metadata above the file city map
41
+ *
42
+ * Shows project name, description, license, package manager, and dependency counts.
43
+ * Optionally includes an "Open" button that emits an event when clicked.
44
+ */
45
+ export declare const ProjectInfoHeader: React.FC<ProjectInfoHeaderProps>;
46
+ export default ProjectInfoHeader;
47
+ //# sourceMappingURL=ProjectInfoHeader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProjectInfoHeader.d.ts","sourceRoot":"","sources":["../../../src/panels/components/ProjectInfoHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,2BAA2B;AAC3B,KAAK,cAAc,GAAG,KAAK,GAAG,MAAM,GAAG,MAAM,GAAG,KAAK,GAAG,KAAK,GAAG,QAAQ,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,CAAC;AAE1G;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,2BAA2B;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,qCAAqC;IACrC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,uCAAuC;IACvC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,qDAAqD;IACrD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,2BAA2B;IAC3B,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,wCAAwC;IACxC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,iCAAiC;IACjC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,iCAAiC;IACjC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,qCAAqC;IACrC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,6BAA6B;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,qBAAqB;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,UAAU,sBAAsB;IAC9B,qCAAqC;IACrC,OAAO,EAAE,WAAW,CAAC;IACrB,iDAAiD;IACjD,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,sCAAsC;IACtC,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AA8CD;;;;;GAKG;AACH,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAuN9D,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ import type { GithubRepository } from '@principal-ai/alexandria-core-library';
3
+ interface ProjectInfoViewProps {
4
+ /** GitHub repository information */
5
+ github: GithubRepository;
6
+ /** Horizontal padding for content */
7
+ horizontalPadding?: string;
8
+ /** Whether to show section header (default: true) */
9
+ showHeader?: boolean;
10
+ }
11
+ /**
12
+ * ProjectInfoView displays detailed project/repository information in the legend tab.
13
+ * Shows description, stats (stars, forks, watchers), language, topics, and timestamps.
14
+ */
15
+ export declare const ProjectInfoView: React.FC<ProjectInfoViewProps>;
16
+ export default ProjectInfoView;
17
+ //# sourceMappingURL=ProjectInfoView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProjectInfoView.d.ts","sourceRoot":"","sources":["../../../src/panels/components/ProjectInfoView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AAE9E,UAAU,oBAAoB;IAC5B,oCAAoC;IACpC,MAAM,EAAE,gBAAgB,CAAC;IACzB,qCAAqC;IACrC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,qDAAqD;IACrD,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AA4BD;;;GAGG;AACH,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CA4K1D,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -0,0 +1,22 @@
1
+ import React from 'react';
2
+ import type { LegendQualityMetric } from './Legend';
3
+ import type { ColorMode } from '../utils/qualityLayers';
4
+ interface QualityMetricsViewProps {
5
+ /** Quality metrics to display */
6
+ qualityMetrics: LegendQualityMetric[];
7
+ /** Current color mode (determines the label) */
8
+ colorMode?: ColorMode;
9
+ /** Callback when a quality metric is clicked */
10
+ onMetricClick?: (id: string) => void;
11
+ /** Horizontal padding for cards */
12
+ horizontalPadding?: string;
13
+ /** Whether to show the header (default: true) */
14
+ showHeader?: boolean;
15
+ }
16
+ /**
17
+ * QualityMetricsView displays quality metrics with colored indicators.
18
+ * Used for showing test coverage, linting, type safety, and other quality metrics.
19
+ */
20
+ export declare const QualityMetricsView: React.FC<QualityMetricsViewProps>;
21
+ export {};
22
+ //# sourceMappingURL=QualityMetricsView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QualityMetricsView.d.ts","sourceRoot":"","sources":["../../../src/panels/components/QualityMetricsView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAExD,UAAU,uBAAuB;IAC/B,iCAAiC;IACjC,cAAc,EAAE,mBAAmB,EAAE,CAAC;IACtC,gDAAgD;IAChD,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,gDAAgD;IAChD,aAAa,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,mCAAmC;IACnC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,iDAAiD;IACjD,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAYD;;;GAGG;AACH,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAuGhE,CAAC"}
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ import type { ExtendedCanvas, ComponentLibrary } from '@principal-ai/principal-view-core';
3
+ interface ScopesCanvasViewProps {
4
+ /** The scopes canvas to render */
5
+ canvas: ExtendedCanvas;
6
+ /** Optional component library for styling */
7
+ library?: ComponentLibrary | null;
8
+ /** Whether to show section header (default: true) */
9
+ showHeader?: boolean;
10
+ }
11
+ /**
12
+ * ScopesCanvasView displays the architecture scopes canvas using GraphRenderer.
13
+ * Provides a read-only, compact view suitable for the tab panel.
14
+ */
15
+ export declare const ScopesCanvasView: React.FC<ScopesCanvasViewProps>;
16
+ export {};
17
+ //# sourceMappingURL=ScopesCanvasView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScopesCanvasView.d.ts","sourceRoot":"","sources":["../../../src/panels/components/ScopesCanvasView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AAE1F,UAAU,qBAAqB;IAC7B,kCAAkC;IAClC,MAAM,EAAE,cAAc,CAAC;IACvB,6CAA6C;IAC7C,OAAO,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAClC,qDAAqD;IACrD,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED;;;GAGG;AACH,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAuD5D,CAAC"}
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+ interface SearchResultsViewProps {
3
+ /** Search query */
4
+ query: string;
5
+ /** List of file paths that match the search */
6
+ results: string[];
7
+ /** Callback when a file is clicked */
8
+ onFileClick?: (filePath: string) => void;
9
+ /** Callback when a file is hovered */
10
+ onFileHover?: (filePath: string | null) => void;
11
+ /** Currently selected file path */
12
+ selectedFile?: string | null;
13
+ }
14
+ /**
15
+ * SearchResultsView displays fuzzy search results in the legend tab area
16
+ */
17
+ export declare const SearchResultsView: React.FC<SearchResultsViewProps>;
18
+ export {};
19
+ //# sourceMappingURL=SearchResultsView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SearchResultsView.d.ts","sourceRoot":"","sources":["../../../src/panels/components/SearchResultsView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,UAAU,sBAAsB;IAC9B,mBAAmB;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,+CAA+C;IAC/C,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,sCAAsC;IACtC,WAAW,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,sCAAsC;IACtC,WAAW,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAChD,mCAAmC;IACnC,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B;AAED;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAuE9D,CAAC"}