@metrevals/inspect-scout-viewer 0.2.3-beta.1763116516
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/README.md +97 -0
- package/lib/App.d.ts +3 -0
- package/lib/App.d.ts.map +1 -0
- package/lib/AppErrorBoundary.d.ts +16 -0
- package/lib/AppErrorBoundary.d.ts.map +1 -0
- package/lib/AppRouter.d.ts +2 -0
- package/lib/AppRouter.d.ts.map +1 -0
- package/lib/_commonjsHelpers-DWwsNxpa.js +9 -0
- package/lib/_commonjsHelpers-DWwsNxpa.js.map +1 -0
- package/lib/api/api-scout-server.d.ts +3 -0
- package/lib/api/api-scout-server.d.ts.map +1 -0
- package/lib/api/api-vscode.d.ts +4 -0
- package/lib/api/api-vscode.d.ts.map +1 -0
- package/lib/api/api.d.ts +11 -0
- package/lib/api/api.d.ts.map +1 -0
- package/lib/api/jsonrpc.d.ts +44 -0
- package/lib/api/jsonrpc.d.ts.map +1 -0
- package/lib/app/appearance/fonts.d.ts +27 -0
- package/lib/app/appearance/fonts.d.ts.map +1 -0
- package/lib/app/appearance/icons.d.ts +130 -0
- package/lib/app/appearance/icons.d.ts.map +1 -0
- package/lib/app/appearance/styles.d.ts +39 -0
- package/lib/app/appearance/styles.d.ts.map +1 -0
- package/lib/app/components/Footer.d.ts +20 -0
- package/lib/app/components/Footer.d.ts.map +1 -0
- package/lib/app/components/MarkdownDivWithReferences.d.ts +15 -0
- package/lib/app/components/MarkdownDivWithReferences.d.ts.map +1 -0
- package/lib/app/components/Pager.d.ts +10 -0
- package/lib/app/components/Pager.d.ts.map +1 -0
- package/lib/app/hooks.d.ts +19 -0
- package/lib/app/hooks.d.ts.map +1 -0
- package/lib/app/navbar/Navbar.d.ts +8 -0
- package/lib/app/navbar/Navbar.d.ts.map +1 -0
- package/lib/app/navbar/useBreadcrumbTruncation.d.ts +13 -0
- package/lib/app/navbar/useBreadcrumbTruncation.d.ts.map +1 -0
- package/lib/app/result/ScanResultHeader.d.ts +8 -0
- package/lib/app/result/ScanResultHeader.d.ts.map +1 -0
- package/lib/app/result/ScanResultNav.d.ts +3 -0
- package/lib/app/result/ScanResultNav.d.ts.map +1 -0
- package/lib/app/result/ScanResultPanel.d.ts +3 -0
- package/lib/app/result/ScanResultPanel.d.ts.map +1 -0
- package/lib/app/result/info/InfoPanel.d.ts +9 -0
- package/lib/app/result/info/InfoPanel.d.ts.map +1 -0
- package/lib/app/result/input/InputPanel.d.ts +7 -0
- package/lib/app/result/input/InputPanel.d.ts.map +1 -0
- package/lib/app/result/result/ResultPanel.d.ts +8 -0
- package/lib/app/result/result/ResultPanel.d.ts.map +1 -0
- package/lib/app/result/transcript/TranscriptPanel.d.ts +11 -0
- package/lib/app/result/transcript/TranscriptPanel.d.ts.map +1 -0
- package/lib/app/scanJobs/ScanJobGrid.d.ts +3 -0
- package/lib/app/scanJobs/ScanJobGrid.d.ts.map +1 -0
- package/lib/app/scanJobs/ScanJobsPanel.d.ts +3 -0
- package/lib/app/scanJobs/ScanJobsPanel.d.ts.map +1 -0
- package/lib/app/scanner/ScannerPanel.d.ts +3 -0
- package/lib/app/scanner/ScannerPanel.d.ts.map +1 -0
- package/lib/app/scanner/ScannerPanelBody.d.ts +4 -0
- package/lib/app/scanner/ScannerPanelBody.d.ts.map +1 -0
- package/lib/app/scanner/ScannerPanelTitle.d.ts +3 -0
- package/lib/app/scanner/ScannerPanelTitle.d.ts.map +1 -0
- package/lib/app/scanner/info/ScanInfo.d.ts +3 -0
- package/lib/app/scanner/info/ScanInfo.d.ts.map +1 -0
- package/lib/app/scanner/results/ScanResultsBody.d.ts +3 -0
- package/lib/app/scanner/results/ScanResultsBody.d.ts.map +1 -0
- package/lib/app/scanner/results/ScanResultsFilter.d.ts +5 -0
- package/lib/app/scanner/results/ScanResultsFilter.d.ts.map +1 -0
- package/lib/app/scanner/results/ScanResultsOutline.d.ts +3 -0
- package/lib/app/scanner/results/ScanResultsOutline.d.ts.map +1 -0
- package/lib/app/scanner/results/ScanResultsPanel.d.ts +3 -0
- package/lib/app/scanner/results/ScanResultsPanel.d.ts.map +1 -0
- package/lib/app/scanner/results/list/ScanHeader.d.ts +8 -0
- package/lib/app/scanner/results/list/ScanHeader.d.ts.map +1 -0
- package/lib/app/scanner/results/list/ScanResultsList.d.ts +13 -0
- package/lib/app/scanner/results/list/ScanResultsList.d.ts.map +1 -0
- package/lib/app/scanner/results/list/ScanResultsRow.d.ts +10 -0
- package/lib/app/scanner/results/list/ScanResultsRow.d.ts.map +1 -0
- package/lib/app/types.d.ts +117 -0
- package/lib/app/types.d.ts.map +1 -0
- package/lib/app/utils/arrow.d.ts +3 -0
- package/lib/app/utils/arrow.d.ts.map +1 -0
- package/lib/app/utils/refs.d.ts +5 -0
- package/lib/app/utils/refs.d.ts.map +1 -0
- package/lib/app/utils/results.d.ts +7 -0
- package/lib/app/utils/results.d.ts.map +1 -0
- package/lib/app/values/Explanation.d.ts +8 -0
- package/lib/app/values/Explanation.d.ts.map +1 -0
- package/lib/app/values/Identifier.d.ts +8 -0
- package/lib/app/values/Identifier.d.ts.map +1 -0
- package/lib/app/values/Value.d.ts +9 -0
- package/lib/app/values/Value.d.ts.map +1 -0
- package/lib/chat/ChatMessage.d.ts +14 -0
- package/lib/chat/ChatMessage.d.ts.map +1 -0
- package/lib/chat/ChatMessageRenderer.d.ts +16 -0
- package/lib/chat/ChatMessageRenderer.d.ts.map +1 -0
- package/lib/chat/ChatMessageRow.d.ts +19 -0
- package/lib/chat/ChatMessageRow.d.ts.map +1 -0
- package/lib/chat/ChatView.d.ts +21 -0
- package/lib/chat/ChatView.d.ts.map +1 -0
- package/lib/chat/ChatViewVirtualList.d.ts +30 -0
- package/lib/chat/ChatViewVirtualList.d.ts.map +1 -0
- package/lib/chat/JsonMessageContent.d.ts +8 -0
- package/lib/chat/JsonMessageContent.d.ts.map +1 -0
- package/lib/chat/MessageCitations.d.ts +7 -0
- package/lib/chat/MessageCitations.d.ts.map +1 -0
- package/lib/chat/MessageContent.d.ts +19 -0
- package/lib/chat/MessageContent.d.ts.map +1 -0
- package/lib/chat/MessageContents.d.ts +19 -0
- package/lib/chat/MessageContents.d.ts.map +1 -0
- package/lib/chat/content-data/ContentDataView.d.ts +20 -0
- package/lib/chat/content-data/ContentDataView.d.ts.map +1 -0
- package/lib/chat/content-data/WebSearch.d.ts +5 -0
- package/lib/chat/content-data/WebSearch.d.ts.map +1 -0
- package/lib/chat/content-data/WebSearchResults.d.ts +10 -0
- package/lib/chat/content-data/WebSearchResults.d.ts.map +1 -0
- package/lib/chat/documents/ContentDocumentView.d.ts +9 -0
- package/lib/chat/documents/ContentDocumentView.d.ts.map +1 -0
- package/lib/chat/messages.d.ts +9 -0
- package/lib/chat/messages.d.ts.map +1 -0
- package/lib/chat/server-tools/ServerToolCall.d.ts +13 -0
- package/lib/chat/server-tools/ServerToolCall.d.ts.map +1 -0
- package/lib/chat/tools/ToolCallView.d.ts +20 -0
- package/lib/chat/tools/ToolCallView.d.ts.map +1 -0
- package/lib/chat/tools/ToolInput.d.ts +12 -0
- package/lib/chat/tools/ToolInput.d.ts.map +1 -0
- package/lib/chat/tools/ToolOutput.d.ts +12 -0
- package/lib/chat/tools/ToolOutput.d.ts.map +1 -0
- package/lib/chat/tools/ToolTitle.d.ts +11 -0
- package/lib/chat/tools/ToolTitle.d.ts.map +1 -0
- package/lib/chat/tools/tool-input/TodoWriteInput.d.ts +6 -0
- package/lib/chat/tools/tool-input/TodoWriteInput.d.ts.map +1 -0
- package/lib/chat/tools/tool.d.ts +13 -0
- package/lib/chat/tools/tool.d.ts.map +1 -0
- package/lib/chat/types.d.ts +4 -0
- package/lib/chat/types.d.ts.map +1 -0
- package/lib/chunk-DfAF0w94-Oj7OW_Zs.js +9 -0
- package/lib/chunk-DfAF0w94-Oj7OW_Zs.js.map +1 -0
- package/lib/components/ActivityBar.d.ts +7 -0
- package/lib/components/ActivityBar.d.ts.map +1 -0
- package/lib/components/AnsiDisplay.d.ts +9 -0
- package/lib/components/AnsiDisplay.d.ts.map +1 -0
- package/lib/components/AsciinemaPlayer.d.ts +20 -0
- package/lib/components/AsciinemaPlayer.d.ts.map +1 -0
- package/lib/components/Card.d.ts +33 -0
- package/lib/components/Card.d.ts.map +1 -0
- package/lib/components/CopyButton.d.ts +12 -0
- package/lib/components/CopyButton.d.ts.map +1 -0
- package/lib/components/DataframeView.d.ts +8 -0
- package/lib/components/DataframeView.d.ts.map +1 -0
- package/lib/components/EmptyPanel.d.ts +7 -0
- package/lib/components/EmptyPanel.d.ts.map +1 -0
- package/lib/components/ErrorPanel.d.ts +13 -0
- package/lib/components/ErrorPanel.d.ts.map +1 -0
- package/lib/components/ExpandablePanel.d.ts +13 -0
- package/lib/components/ExpandablePanel.d.ts.map +1 -0
- package/lib/components/ExtendedFindContext.d.ts +8 -0
- package/lib/components/ExtendedFindContext.d.ts.map +1 -0
- package/lib/components/ExtendedFindProvider.d.ts +7 -0
- package/lib/components/ExtendedFindProvider.d.ts.map +1 -0
- package/lib/components/HumanBaselineView.d.ts +22 -0
- package/lib/components/HumanBaselineView.d.ts.map +1 -0
- package/lib/components/JsonPanel.d.ts +12 -0
- package/lib/components/JsonPanel.d.ts.map +1 -0
- package/lib/components/LabeledValue.d.ts +12 -0
- package/lib/components/LabeledValue.d.ts.map +1 -0
- package/lib/components/LightboxCarousel.d.ts +15 -0
- package/lib/components/LightboxCarousel.d.ts.map +1 -0
- package/lib/components/LiveVirtualList.d.ts +23 -0
- package/lib/components/LiveVirtualList.d.ts.map +1 -0
- package/lib/components/MarkdownDiv.d.ts +11 -0
- package/lib/components/MarkdownDiv.d.ts.map +1 -0
- package/lib/components/NavPills.d.ts +12 -0
- package/lib/components/NavPills.d.ts.map +1 -0
- package/lib/components/NoContentsPanel.d.ts +7 -0
- package/lib/components/NoContentsPanel.d.ts.map +1 -0
- package/lib/components/PopOver.d.ts +23 -0
- package/lib/components/PopOver.d.ts.map +1 -0
- package/lib/components/Preformatted.d.ts +8 -0
- package/lib/components/Preformatted.d.ts.map +1 -0
- package/lib/components/ProgressBar.d.ts +10 -0
- package/lib/components/ProgressBar.d.ts.map +1 -0
- package/lib/components/PulsingDots.d.ts +11 -0
- package/lib/components/PulsingDots.d.ts.map +1 -0
- package/lib/components/SegmentedControl.d.ts +15 -0
- package/lib/components/SegmentedControl.d.ts.map +1 -0
- package/lib/components/StickyScroll.d.ts +13 -0
- package/lib/components/StickyScroll.d.ts.map +1 -0
- package/lib/components/TabSet.d.ts +28 -0
- package/lib/components/TabSet.d.ts.map +1 -0
- package/lib/components/prism.d.ts +3 -0
- package/lib/components/prism.d.ts.map +1 -0
- package/lib/content/MetaDataGrid.d.ts +15 -0
- package/lib/content/MetaDataGrid.d.ts.map +1 -0
- package/lib/content/RecordTree.d.ts +25 -0
- package/lib/content/RecordTree.d.ts.map +1 -0
- package/lib/content/RenderedContent.d.ts +17 -0
- package/lib/content/RenderedContent.d.ts.map +1 -0
- package/lib/content/RenderedText.d.ts +11 -0
- package/lib/content/RenderedText.d.ts.map +1 -0
- package/lib/content/record_processors/store.d.ts +3 -0
- package/lib/content/record_processors/store.d.ts.map +1 -0
- package/lib/content/record_processors/types.d.ts +2 -0
- package/lib/content/record_processors/types.d.ts.map +1 -0
- package/lib/content/types.d.ts +17 -0
- package/lib/content/types.d.ts.map +1 -0
- package/lib/index.d.ts +5 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +113846 -0
- package/lib/index.js.map +1 -0
- package/lib/lib-CBtriEt5-CU1RYBHb.js +1070 -0
- package/lib/lib-CBtriEt5-CU1RYBHb.js.map +1 -0
- package/lib/liteDOM-Cp0aN3bP-DXyQNx3e.js +644 -0
- package/lib/liteDOM-Cp0aN3bP-DXyQNx3e.js.map +1 -0
- package/lib/main.d.ts +1 -0
- package/lib/main.d.ts.map +1 -0
- package/lib/router/url.d.ts +35 -0
- package/lib/router/url.d.ts.map +1 -0
- package/lib/state/hooks.d.ts +8 -0
- package/lib/state/hooks.d.ts.map +1 -0
- package/lib/state/scrolling.d.ts +23 -0
- package/lib/state/scrolling.d.ts.map +1 -0
- package/lib/state/store.d.ts +199 -0
- package/lib/state/store.d.ts.map +1 -0
- package/lib/styles/index.css +5827 -0
- package/lib/tex-svg-full-BI3fonbT-B0YPyt9p.js +28011 -0
- package/lib/tex-svg-full-BI3fonbT-B0YPyt9p.js.map +1 -0
- package/lib/transcript/ApprovalEventView.d.ts +13 -0
- package/lib/transcript/ApprovalEventView.d.ts.map +1 -0
- package/lib/transcript/ErrorEventView.d.ts +13 -0
- package/lib/transcript/ErrorEventView.d.ts.map +1 -0
- package/lib/transcript/InfoEventView.d.ts +13 -0
- package/lib/transcript/InfoEventView.d.ts.map +1 -0
- package/lib/transcript/InputEventView.d.ts +13 -0
- package/lib/transcript/InputEventView.d.ts.map +1 -0
- package/lib/transcript/LoggerEventView.d.ts +13 -0
- package/lib/transcript/LoggerEventView.d.ts.map +1 -0
- package/lib/transcript/ModelEventView.d.ts +26 -0
- package/lib/transcript/ModelEventView.d.ts.map +1 -0
- package/lib/transcript/SampleInitEventView.d.ts +13 -0
- package/lib/transcript/SampleInitEventView.d.ts.map +1 -0
- package/lib/transcript/SampleLimitEventView.d.ts +13 -0
- package/lib/transcript/SampleLimitEventView.d.ts.map +1 -0
- package/lib/transcript/SandboxEventView.d.ts +13 -0
- package/lib/transcript/SandboxEventView.d.ts.map +1 -0
- package/lib/transcript/ScoreEditEventView.d.ts +13 -0
- package/lib/transcript/ScoreEditEventView.d.ts.map +1 -0
- package/lib/transcript/ScoreEventView.d.ts +14 -0
- package/lib/transcript/ScoreEventView.d.ts.map +1 -0
- package/lib/transcript/SpanEventView.d.ts +14 -0
- package/lib/transcript/SpanEventView.d.ts.map +1 -0
- package/lib/transcript/StepEventView.d.ts +14 -0
- package/lib/transcript/StepEventView.d.ts.map +1 -0
- package/lib/transcript/SubtaskEventView.d.ts +14 -0
- package/lib/transcript/SubtaskEventView.d.ts.map +1 -0
- package/lib/transcript/ToolEventView.d.ts +14 -0
- package/lib/transcript/ToolEventView.d.ts.map +1 -0
- package/lib/transcript/TranscriptView.d.ts +13 -0
- package/lib/transcript/TranscriptView.d.ts.map +1 -0
- package/lib/transcript/TranscriptVirtualList.d.ts +32 -0
- package/lib/transcript/TranscriptVirtualList.d.ts.map +1 -0
- package/lib/transcript/TranscriptVirtualListComponent.d.ts +19 -0
- package/lib/transcript/TranscriptVirtualListComponent.d.ts.map +1 -0
- package/lib/transcript/event/EventNav.d.ts +13 -0
- package/lib/transcript/event/EventNav.d.ts.map +1 -0
- package/lib/transcript/event/EventNavs.d.ts +16 -0
- package/lib/transcript/event/EventNavs.d.ts.map +1 -0
- package/lib/transcript/event/EventPanel.d.ts +20 -0
- package/lib/transcript/event/EventPanel.d.ts.map +1 -0
- package/lib/transcript/event/EventProgressPanel.d.ts +7 -0
- package/lib/transcript/event/EventProgressPanel.d.ts.map +1 -0
- package/lib/transcript/event/EventRow.d.ts +13 -0
- package/lib/transcript/event/EventRow.d.ts.map +1 -0
- package/lib/transcript/event/EventSection.d.ts +13 -0
- package/lib/transcript/event/EventSection.d.ts.map +1 -0
- package/lib/transcript/event/EventTimingPanel.d.ts +13 -0
- package/lib/transcript/event/EventTimingPanel.d.ts.map +1 -0
- package/lib/transcript/event/utils.d.ts +3 -0
- package/lib/transcript/event/utils.d.ts.map +1 -0
- package/lib/transcript/hooks.d.ts +2 -0
- package/lib/transcript/hooks.d.ts.map +1 -0
- package/lib/transcript/outline/OutlineRow.d.ts +11 -0
- package/lib/transcript/outline/OutlineRow.d.ts.map +1 -0
- package/lib/transcript/outline/TranscriptOutline.d.ts +13 -0
- package/lib/transcript/outline/TranscriptOutline.d.ts.map +1 -0
- package/lib/transcript/outline/tree-visitors.d.ts +14 -0
- package/lib/transcript/outline/tree-visitors.d.ts.map +1 -0
- package/lib/transcript/state/StateDiffView.d.ts +12 -0
- package/lib/transcript/state/StateDiffView.d.ts.map +1 -0
- package/lib/transcript/state/StateEventRenderers.d.ts +49 -0
- package/lib/transcript/state/StateEventRenderers.d.ts.map +1 -0
- package/lib/transcript/state/StateEventView.d.ts +14 -0
- package/lib/transcript/state/StateEventView.d.ts.map +1 -0
- package/lib/transcript/transform/fixups.d.ts +7 -0
- package/lib/transcript/transform/fixups.d.ts.map +1 -0
- package/lib/transcript/transform/flatten.d.ts +16 -0
- package/lib/transcript/transform/flatten.d.ts.map +1 -0
- package/lib/transcript/transform/hooks.d.ts +7 -0
- package/lib/transcript/transform/hooks.d.ts.map +1 -0
- package/lib/transcript/transform/transform.d.ts +3 -0
- package/lib/transcript/transform/transform.d.ts.map +1 -0
- package/lib/transcript/transform/treeify.d.ts +4 -0
- package/lib/transcript/transform/treeify.d.ts.map +1 -0
- package/lib/transcript/transform/utils.d.ts +19 -0
- package/lib/transcript/transform/utils.d.ts.map +1 -0
- package/lib/transcript/types.d.ts +24 -0
- package/lib/transcript/types.d.ts.map +1 -0
- package/lib/types/index.d.ts +103 -0
- package/lib/types/index.d.ts.map +1 -0
- package/lib/usage/ModelTokenTable.d.ts +9 -0
- package/lib/usage/ModelTokenTable.d.ts.map +1 -0
- package/lib/usage/ModelUsagePanel.d.ts +12 -0
- package/lib/usage/ModelUsagePanel.d.ts.map +1 -0
- package/lib/usage/TokenTable.d.ts +15 -0
- package/lib/usage/TokenTable.d.ts.map +1 -0
- package/lib/usage/UsageCard.d.ts +11 -0
- package/lib/usage/UsageCard.d.ts.map +1 -0
- package/lib/utils/array.d.ts +2 -0
- package/lib/utils/array.d.ts.map +1 -0
- package/lib/utils/arrow.d.ts +3 -0
- package/lib/utils/arrow.d.ts.map +1 -0
- package/lib/utils/base64.d.ts +5 -0
- package/lib/utils/base64.d.ts.map +1 -0
- package/lib/utils/chatMessage.d.ts +4 -0
- package/lib/utils/chatMessage.d.ts.map +1 -0
- package/lib/utils/dom.d.ts +2 -0
- package/lib/utils/dom.d.ts.map +1 -0
- package/lib/utils/embeddedState.d.ts +11 -0
- package/lib/utils/embeddedState.d.ts.map +1 -0
- package/lib/utils/format.d.ts +41 -0
- package/lib/utils/format.d.ts.map +1 -0
- package/lib/utils/html.d.ts +6 -0
- package/lib/utils/html.d.ts.map +1 -0
- package/lib/utils/json-worker.d.ts +2 -0
- package/lib/utils/json-worker.d.ts.map +1 -0
- package/lib/utils/json.d.ts +5 -0
- package/lib/utils/json.d.ts.map +1 -0
- package/lib/utils/logger.d.ts +8 -0
- package/lib/utils/logger.d.ts.map +1 -0
- package/lib/utils/mime.d.ts +2 -0
- package/lib/utils/mime.d.ts.map +1 -0
- package/lib/utils/object.d.ts +2 -0
- package/lib/utils/object.d.ts.map +1 -0
- package/lib/utils/path.d.ts +26 -0
- package/lib/utils/path.d.ts.map +1 -0
- package/lib/utils/python.d.ts +12 -0
- package/lib/utils/python.d.ts.map +1 -0
- package/lib/utils/react.d.ts +2 -0
- package/lib/utils/react.d.ts.map +1 -0
- package/lib/utils/sync.d.ts +22 -0
- package/lib/utils/sync.d.ts.map +1 -0
- package/lib/utils/type.d.ts +12 -0
- package/lib/utils/type.d.ts.map +1 -0
- package/lib/utils/uri.d.ts +20 -0
- package/lib/utils/uri.d.ts.map +1 -0
- package/lib/utils/vscode.d.ts +21 -0
- package/lib/utils/vscode.d.ts.map +1 -0
- package/lib/wgxpath.install-node-Csk64Aj9-Ckau6iLd.js +1081 -0
- package/lib/wgxpath.install-node-Csk64Aj9-Ckau6iLd.js.map +1 -0
- package/lib/xypic-DrMJn58R-DRoJoooA.js +9542 -0
- package/lib/xypic-DrMJn58R-DRoJoooA.js.map +1 -0
- package/package.json +100 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
export interface Segment {
|
|
3
|
+
id: string;
|
|
4
|
+
label: string;
|
|
5
|
+
icon?: string;
|
|
6
|
+
selectedId?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface SegmentedControlProps {
|
|
9
|
+
id?: string;
|
|
10
|
+
segments: Segment[];
|
|
11
|
+
selectedId: string;
|
|
12
|
+
onSegmentChange: (segmentId: string, index: number) => void;
|
|
13
|
+
}
|
|
14
|
+
export declare const SegmentedControl: FC<SegmentedControlProps>;
|
|
15
|
+
//# sourceMappingURL=SegmentedControl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SegmentedControl.d.ts","sourceRoot":"","sources":["../../src/components/SegmentedControl.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAe,MAAM,OAAO,CAAC;AAIxC,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,qBAAqB;IACpC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,OAAO,EAAE,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CAC7D;AAED,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,CAuCtD,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FC, ReactNode, RefObject } from 'react';
|
|
2
|
+
interface StickyScrollProps {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
scrollRef: RefObject<HTMLElement | null>;
|
|
5
|
+
offsetTop?: number;
|
|
6
|
+
zIndex?: number;
|
|
7
|
+
className?: string;
|
|
8
|
+
stickyClassName?: string;
|
|
9
|
+
onStickyChange?: (isSticky: boolean) => void;
|
|
10
|
+
}
|
|
11
|
+
export declare const StickyScroll: FC<StickyScrollProps>;
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=StickyScroll.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StickyScroll.d.ts","sourceRoot":"","sources":["../../src/components/StickyScroll.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,EAAE,EACF,SAAS,EACT,SAAS,EAIV,MAAM,OAAO,CAAC;AAEf,UAAU,iBAAiB;IACzB,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,EAAE,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IACzC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;CAC9C;AAED,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAkK9C,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { CSSProperties, FC, MouseEvent, ReactElement, ReactNode, RefObject } from 'react';
|
|
2
|
+
interface TabSetProps {
|
|
3
|
+
id: string;
|
|
4
|
+
tabsRef?: RefObject<HTMLUListElement | null>;
|
|
5
|
+
type?: "tabs" | "pills";
|
|
6
|
+
className?: string | string[];
|
|
7
|
+
tabPanelsClassName?: string | string[];
|
|
8
|
+
tabControlsClassName?: string | string[];
|
|
9
|
+
tools?: ReactNode;
|
|
10
|
+
children: ReactElement<TabPanelProps> | (ReactElement<TabPanelProps> | null | undefined)[];
|
|
11
|
+
}
|
|
12
|
+
interface TabPanelProps {
|
|
13
|
+
id: string;
|
|
14
|
+
index?: number;
|
|
15
|
+
selected?: boolean;
|
|
16
|
+
style?: CSSProperties;
|
|
17
|
+
scrollable?: boolean;
|
|
18
|
+
scrollRef?: RefObject<HTMLDivElement | null>;
|
|
19
|
+
className?: string | string[];
|
|
20
|
+
children?: ReactNode;
|
|
21
|
+
title: string;
|
|
22
|
+
icon?: string;
|
|
23
|
+
onSelected: (e: MouseEvent<HTMLElement>) => void;
|
|
24
|
+
}
|
|
25
|
+
export declare const TabSet: FC<TabSetProps>;
|
|
26
|
+
export declare const TabPanel: FC<TabPanelProps>;
|
|
27
|
+
export {};
|
|
28
|
+
//# sourceMappingURL=TabSet.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TabSet.d.ts","sourceRoot":"","sources":["../../src/components/TabSet.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,aAAa,EACb,EAAE,EAGF,UAAU,EACV,YAAY,EACZ,SAAS,EACT,SAAS,EAEV,MAAM,OAAO,CAAC;AAMf,UAAU,WAAW;IACnB,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,CAAC,EAAE,SAAS,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAC;IAC7C,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC9B,kBAAkB,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IACvC,oBAAoB,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IACzC,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,QAAQ,EACJ,YAAY,CAAC,aAAa,CAAC,GAC3B,CAAC,YAAY,CAAC,aAAa,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC,EAAE,CAAC;CACxD;AAED,UAAU,aAAa;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IAE7C,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC9B,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,CAAC,CAAC,EAAE,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;CAClD;AAED,eAAO,MAAM,MAAM,EAAE,EAAE,CAAC,WAAW,CA0ClC,CAAC;AAsDF,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CAgCtC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prism.d.ts","sourceRoot":"","sources":["../../src/components/prism.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAa,MAAM,OAAO,CAAC;AAK7C,eAAO,MAAM,iBAAiB,GAC5B,cAAc,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,EAC9C,eAAe,MAAM,SAmBtB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { CSSProperties, FC } from 'react';
|
|
2
|
+
interface MetadataGridProps {
|
|
3
|
+
id?: string;
|
|
4
|
+
className?: string | string[];
|
|
5
|
+
style?: CSSProperties;
|
|
6
|
+
size?: "mini" | "small";
|
|
7
|
+
entries: Record<string, unknown>;
|
|
8
|
+
plain?: boolean;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Renders the MetaDataView component.
|
|
12
|
+
*/
|
|
13
|
+
export declare const MetaDataGrid: FC<MetadataGridProps>;
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=MetaDataGrid.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MetaDataGrid.d.ts","sourceRoot":"","sources":["../../src/content/MetaDataGrid.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,EAAE,EAAY,MAAM,OAAO,CAAC;AAKpD,UAAU,iBAAiB;IACzB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC9B,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IACxB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjC,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED;;GAEG;AACH,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CA+D9C,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { FC, RefObject } from 'react';
|
|
2
|
+
import { RecordProcessor } from './record_processors/types';
|
|
3
|
+
interface RecordTreeProps {
|
|
4
|
+
id: string;
|
|
5
|
+
record: Record<string, unknown>;
|
|
6
|
+
className?: string | string[];
|
|
7
|
+
scrollRef?: RefObject<HTMLDivElement | null>;
|
|
8
|
+
defaultExpandLevel?: number;
|
|
9
|
+
processStore?: boolean;
|
|
10
|
+
useBorders?: boolean;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Renders the MetaDataView component.
|
|
14
|
+
*/
|
|
15
|
+
export declare const RecordTree: FC<RecordTreeProps>;
|
|
16
|
+
interface MetadataItem {
|
|
17
|
+
id: string;
|
|
18
|
+
key: string;
|
|
19
|
+
value: string | number | boolean | null;
|
|
20
|
+
depth: number;
|
|
21
|
+
hasChildren: boolean;
|
|
22
|
+
}
|
|
23
|
+
export declare const toTreeItems: (record: Record<string, unknown>, collapsedIds: Record<string, boolean>, recordProcessors?: RecordProcessor[], currentDepth?: number, currentPath?: string[]) => MetadataItem[];
|
|
24
|
+
export {};
|
|
25
|
+
//# sourceMappingURL=RecordTree.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RecordTree.d.ts","sourceRoot":"","sources":["../../src/content/RecordTree.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,EAAE,EAEF,SAAS,EAKV,MAAM,OAAO,CAAC;AASf,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAM5D,UAAU,eAAe;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAChC,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC9B,SAAS,CAAC,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IAC7C,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED;;GAEG;AACH,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CA0O1C,CAAC;AAEF,UAAU,YAAY;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAC;IACxC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,OAAO,CAAC;CACtB;AAED,eAAO,MAAM,WAAW,GACtB,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/B,cAAc,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACrC,mBAAkB,eAAe,EAAO,EACxC,qBAAgB,EAChB,cAAa,MAAM,EAAO,KACzB,YAAY,EA6Bd,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
|
+
import { RenderOptions } from './types';
|
|
3
|
+
interface RenderedContentProps {
|
|
4
|
+
id: string;
|
|
5
|
+
entry: {
|
|
6
|
+
name: string;
|
|
7
|
+
value: unknown;
|
|
8
|
+
};
|
|
9
|
+
renderOptions?: RenderOptions;
|
|
10
|
+
renderObject?(entry: any): ReactNode;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Renders content based on its type using registered content renderers.
|
|
14
|
+
*/
|
|
15
|
+
export declare const RenderedContent: FC<RenderedContentProps>;
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=RenderedContent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RenderedContent.d.ts","sourceRoot":"","sources":["../../src/content/RenderedContent.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,EAAiC,SAAS,EAAE,MAAM,OAAO,CAAC;AAcrE,OAAO,EAA4B,aAAa,EAAE,MAAM,SAAS,CAAC;AAElE,UAAU,oBAAoB;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,OAAO,CAAA;KAAE,CAAC;IACxC,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,YAAY,CAAC,CAAC,KAAK,EAAE,GAAG,GAAG,SAAS,CAAC;CACtC;AAED;;GAEG;AACH,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CA6CpD,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
interface RenderedTextProps {
|
|
3
|
+
markdown: string;
|
|
4
|
+
style?: CSSProperties;
|
|
5
|
+
className?: string | string[];
|
|
6
|
+
forceRender?: boolean;
|
|
7
|
+
omitMedia?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare const RenderedText: import('react').ForwardRefExoticComponent<RenderedTextProps & import('react').RefAttributes<HTMLDivElement | HTMLPreElement>>;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=RenderedText.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RenderedText.d.ts","sourceRoot":"","sources":["../../src/content/RenderedText.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAA4B,MAAM,OAAO,CAAC;AAKhE,UAAU,iBAAiB;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC9B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,YAAY,+HAyBvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../src/content/record_processors/store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAO1C,eAAO,MAAM,gBAAgB,EAAE,eAiE9B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/content/record_processors/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GAAG,CAC5B,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAC5B,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export declare const Buckets: {
|
|
3
|
+
first: number;
|
|
4
|
+
intermediate: number;
|
|
5
|
+
final: number;
|
|
6
|
+
};
|
|
7
|
+
export interface RenderOptions {
|
|
8
|
+
renderString: "pre" | "markdown";
|
|
9
|
+
}
|
|
10
|
+
export interface ContentRenderer {
|
|
11
|
+
bucket: number;
|
|
12
|
+
canRender: (content: any) => boolean;
|
|
13
|
+
render: (id: string, content: any, options: RenderOptions) => {
|
|
14
|
+
rendered: string | number | bigint | boolean | object | ReactNode | null;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/content/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,eAAO,MAAM,OAAO;;;;CAInB,CAAC;AAEF,MAAM,WAAW,aAAa;IAC5B,YAAY,EAAE,KAAK,GAAG,UAAU,CAAC;CAClC;AAED,MAAM,WAAW,eAAe;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,CAAC,OAAO,EAAE,GAAG,KAAK,OAAO,CAAC;IACrC,MAAM,EAAE,CACN,EAAE,EAAE,MAAM,EACV,OAAO,EAAE,GAAG,EACZ,OAAO,EAAE,aAAa,KACnB;QACH,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,GAAG,IAAI,CAAC;KAC1E,CAAC;CACH"}
|
package/lib/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAG5B,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAG3D,YAAY,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAG5C,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC"}
|