@meridianlabs/inspect-scout-viewer 0.4.21 → 0.4.38
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 +2 -0
- package/package.json +47 -58
- package/lib/_commonjsHelpers-DWwsNxpa.js +0 -9
- package/lib/_commonjsHelpers-DWwsNxpa.js.map +0 -1
- package/lib/chunk-DfAF0w94-Oj7OW_Zs.js +0 -9
- package/lib/chunk-DfAF0w94-Oj7OW_Zs.js.map +0 -1
- package/lib/e2e/app-navigation.spec.d.ts +0 -1
- package/lib/e2e/fixtures/app.d.ts +0 -7
- package/lib/e2e/fixtures/handlers.d.ts +0 -2
- package/lib/e2e/fixtures/test-data.d.ts +0 -14
- package/lib/e2e/scan.spec.d.ts +0 -1
- package/lib/e2e/scans.spec.d.ts +0 -1
- package/lib/e2e/transcript.spec.d.ts +0 -1
- package/lib/e2e/transcripts.spec.d.ts +0 -1
- package/lib/index.d.ts +0 -2
- package/lib/index.js +0 -161737
- package/lib/index.js.map +0 -1
- package/lib/lib-CBtriEt5-CU1RYBHb.js +0 -1070
- package/lib/lib-CBtriEt5-CU1RYBHb.js.map +0 -1
- package/lib/liteDOM-Cp0aN3bP-DXyQNx3e.js +0 -644
- package/lib/liteDOM-Cp0aN3bP-DXyQNx3e.js.map +0 -1
- package/lib/src/App.d.ts +0 -6
- package/lib/src/AppErrorBoundary.d.ts +0 -15
- package/lib/src/AppRouter.d.ts +0 -6
- package/lib/src/api/api-scout-server.d.ts +0 -8
- package/lib/src/api/api-vscode.d.ts +0 -3
- package/lib/src/api/api.d.ts +0 -44
- package/lib/src/api/attachmentsHelpers.d.ts +0 -1
- package/lib/src/api/expandInputEvents.d.ts +0 -6
- package/lib/src/api/jsonrpc-fetch.d.ts +0 -20
- package/lib/src/api/jsonrpc.d.ts +0 -50
- package/lib/src/api/request.d.ts +0 -34
- package/lib/src/api/vscode-storage.d.ts +0 -3
- package/lib/src/app/components/ActivityBar.d.ts +0 -23
- package/lib/src/app/components/ActivityBarLayout.d.ts +0 -11
- package/lib/src/app/components/AddFilterButton.d.ts +0 -37
- package/lib/src/app/components/BreadCrumbs.d.ts +0 -10
- package/lib/src/app/components/Chip.d.ts +0 -12
- package/lib/src/app/components/ChipGroup.d.ts +0 -7
- package/lib/src/app/components/ColumnHeader.d.ts +0 -11
- package/lib/src/app/components/ColumnPickerButton.d.ts +0 -19
- package/lib/src/app/components/ColumnsPopover.d.ts +0 -25
- package/lib/src/app/components/EditablePath.d.ts +0 -15
- package/lib/src/app/components/EditableText.d.ts +0 -16
- package/lib/src/app/components/Error.d.ts +0 -7
- package/lib/src/app/components/Explanation.d.ts +0 -12
- package/lib/src/app/components/FilterBar.d.ts +0 -35
- package/lib/src/app/components/Footer.d.ts +0 -21
- package/lib/src/app/components/HeadingGrid.d.ts +0 -15
- package/lib/src/app/components/Identifier.d.ts +0 -7
- package/lib/src/app/components/NavButtons.d.ts +0 -12
- package/lib/src/app/components/Navbar.d.ts +0 -11
- package/lib/src/app/components/NextPreviousNav.d.ts +0 -11
- package/lib/src/app/components/Pager.d.ts +0 -9
- package/lib/src/app/components/ProjectBar.d.ts +0 -7
- package/lib/src/app/components/ScansNavbar.d.ts +0 -10
- package/lib/src/app/components/ScoreValue.d.ts +0 -10
- package/lib/src/app/components/TaskName.d.ts +0 -8
- package/lib/src/app/components/TranscriptsNavbar.d.ts +0 -11
- package/lib/src/app/components/ValidationResult.d.ts +0 -9
- package/lib/src/app/components/Value.d.ts +0 -15
- package/lib/src/app/components/columnFilter/ColumnFilterButton.d.ts +0 -6
- package/lib/src/app/components/columnFilter/ColumnFilterControl.d.ts +0 -16
- package/lib/src/app/components/columnFilter/ColumnFilterEditor.d.ts +0 -32
- package/lib/src/app/components/columnFilter/DurationInput.d.ts +0 -9
- package/lib/src/app/components/columnFilter/index.d.ts +0 -12
- package/lib/src/app/components/columnFilter/useAddFilterPopover.d.ts +0 -36
- package/lib/src/app/components/columnFilter/useColumnFilter.d.ts +0 -27
- package/lib/src/app/components/columnFilter/useColumnFilterPopover.d.ts +0 -25
- package/lib/src/app/components/columnSizing/defaultStrategy.d.ts +0 -2
- package/lib/src/app/components/columnSizing/fitContentStrategy.d.ts +0 -2
- package/lib/src/app/components/columnSizing/index.d.ts +0 -5
- package/lib/src/app/components/columnSizing/strategies.d.ts +0 -10
- package/lib/src/app/components/columnSizing/types.d.ts +0 -60
- package/lib/src/app/components/columnTypes.d.ts +0 -46
- package/lib/src/app/components/dataGrid/DataGrid.d.ts +0 -8
- package/lib/src/app/components/dataGrid/index.d.ts +0 -2
- package/lib/src/app/components/dataGrid/types.d.ts +0 -70
- package/lib/src/app/components/useBreadcrumbTruncation.d.ts +0 -12
- package/lib/src/app/components/useFilterBarHandlers.d.ts +0 -41
- package/lib/src/app/hooks/useFilterConditions.d.ts +0 -6
- package/lib/src/app/hooks/useScanFilterConditions.d.ts +0 -6
- package/lib/src/app/hooks/useScanResultSummaries.d.ts +0 -6
- package/lib/src/app/hooks/useScanRoute.d.ts +0 -8
- package/lib/src/app/hooks/useScansFilterBarProps.d.ts +0 -13
- package/lib/src/app/hooks/useSelectedScan.d.ts +0 -3
- package/lib/src/app/hooks/useSelectedScanDataframe.d.ts +0 -3
- package/lib/src/app/hooks/useSelectedScanResultData.d.ts +0 -3
- package/lib/src/app/hooks/useSelectedScanResultInputData.d.ts +0 -3
- package/lib/src/app/hooks/useSelectedScanner.d.ts +0 -2
- package/lib/src/app/hooks/useTranscriptsFilterBarProps.d.ts +0 -18
- package/lib/src/app/project/ProjectPanel.d.ts +0 -7
- package/lib/src/app/project/SettingsContent.d.ts +0 -7
- package/lib/src/app/project/components/FormFields.d.ts +0 -73
- package/lib/src/app/project/configUtils.d.ts +0 -30
- package/lib/src/app/project/hooks/useNestedConfig.d.ts +0 -28
- package/lib/src/app/runScan/ActiveScanView.d.ts +0 -6
- package/lib/src/app/runScan/DefineScannerSection.d.ts +0 -6
- package/lib/src/app/runScan/LlmScannerParams.d.ts +0 -14
- package/lib/src/app/runScan/RunScanPanel.d.ts +0 -2
- package/lib/src/app/runScan/ScannerParamsPlaceholder.d.ts +0 -6
- package/lib/src/app/scan/ScanPanel.d.ts +0 -2
- package/lib/src/app/scan/ScanPanelBody.d.ts +0 -6
- package/lib/src/app/scan/ScanPanelTitle.d.ts +0 -6
- package/lib/src/app/scan/info/ScanInfo.d.ts +0 -5
- package/lib/src/app/scan/scanners/ScannerPanel.d.ts +0 -5
- package/lib/src/app/scan/scanners/ScannerSidebar.d.ts +0 -5
- package/lib/src/app/scan/scanners/dataframe/DataframeGridApiContext.d.ts +0 -7
- package/lib/src/app/scan/scanners/dataframe/ScannerDataframeCSVButtons.d.ts +0 -11
- package/lib/src/app/scan/scanners/dataframe/ScannerDataframeClearFiltersButton.d.ts +0 -2
- package/lib/src/app/scan/scanners/dataframe/ScannerDataframeColumnsPopover.d.ts +0 -5
- package/lib/src/app/scan/scanners/dataframe/ScannerDataframeFilterColumnsButton.d.ts +0 -1
- package/lib/src/app/scan/scanners/dataframe/ScannerDataframeWrapTextButton.d.ts +0 -2
- package/lib/src/app/scan/scanners/dataframe/useOperationStatus.d.ts +0 -7
- package/lib/src/app/scan/scanners/list/ScannerResultsGroup.d.ts +0 -6
- package/lib/src/app/scan/scanners/list/ScannerResultsHeader.d.ts +0 -7
- package/lib/src/app/scan/scanners/list/ScannerResultsList.d.ts +0 -14
- package/lib/src/app/scan/scanners/list/ScannerResultsRow.d.ts +0 -9
- package/lib/src/app/scan/scanners/results/ScannerResultsBody.d.ts +0 -12
- package/lib/src/app/scan/scanners/results/ScannerResultsFilter.d.ts +0 -4
- package/lib/src/app/scan/scanners/results/ScannerResultsGroup.d.ts +0 -7
- package/lib/src/app/scan/scanners/results/ScannerResultsSearch.d.ts +0 -2
- package/lib/src/app/scan/scanners/types.d.ts +0 -1
- package/lib/src/app/scannerResult/ScannerResultHeader.d.ts +0 -9
- package/lib/src/app/scannerResult/ScannerResultNav.d.ts +0 -2
- package/lib/src/app/scannerResult/ScannerResultPanel.d.ts +0 -2
- package/lib/src/app/scannerResult/error/ErrorPanel.d.ts +0 -7
- package/lib/src/app/scannerResult/info/InfoPanel.d.ts +0 -9
- package/lib/src/app/scannerResult/metadata/MetadataPanel.d.ts +0 -7
- package/lib/src/app/scannerResult/result/ResultBody.d.ts +0 -10
- package/lib/src/app/scannerResult/result/ResultPanel.d.ts +0 -11
- package/lib/src/app/scannerResult/result/ResultSidebar.d.ts +0 -9
- package/lib/src/app/scannerResult/transcript/TranscriptPanel.d.ts +0 -10
- package/lib/src/app/scans/ScansFilterBar.d.ts +0 -7
- package/lib/src/app/scans/ScansGrid.d.ts +0 -21
- package/lib/src/app/scans/ScansPanel.d.ts +0 -2
- package/lib/src/app/scans/columnSizing/index.d.ts +0 -3
- package/lib/src/app/scans/columnSizing/useColumnSizing.d.ts +0 -33
- package/lib/src/app/scans/columns.d.ts +0 -25
- package/lib/src/app/scans/constants.d.ts +0 -35
- package/lib/src/app/server/index.d.ts +0 -6
- package/lib/src/app/server/useActiveScan.d.ts +0 -3
- package/lib/src/app/server/useActiveScans.d.ts +0 -3
- package/lib/src/app/server/useAdjacentTranscriptIds.d.ts +0 -10
- package/lib/src/app/server/useAppConfig.d.ts +0 -20
- package/lib/src/app/server/useCode.d.ts +0 -4
- package/lib/src/app/server/useHasTranscript.d.ts +0 -8
- package/lib/src/app/server/useProjectConfig.d.ts +0 -30
- package/lib/src/app/server/useScan.d.ts +0 -9
- package/lib/src/app/server/useScanDataframe.d.ts +0 -10
- package/lib/src/app/server/useScanDataframeInput.d.ts +0 -11
- package/lib/src/app/server/useScanners.d.ts +0 -3
- package/lib/src/app/server/useScans.d.ts +0 -3
- package/lib/src/app/server/useScansColumnValues.d.ts +0 -11
- package/lib/src/app/server/useScansInfinite.d.ts +0 -6
- package/lib/src/app/server/useServerTranscripts.d.ts +0 -5
- package/lib/src/app/server/useServerTranscriptsInfinite.d.ts +0 -13
- package/lib/src/app/server/useStartScan.d.ts +0 -3
- package/lib/src/app/server/useTopicInvalidation.d.ts +0 -11
- package/lib/src/app/server/useTranscript.d.ts +0 -9
- package/lib/src/app/server/useTranscriptsColumnValues.d.ts +0 -11
- package/lib/src/app/server/useValidations.d.ts +0 -83
- package/lib/src/app/timeline/components/TimelineEventsView.d.ts +0 -41
- package/lib/src/app/timeline/components/TimelineMinimap.d.ts +0 -30
- package/lib/src/app/timeline/components/TimelineOptionsPopover.d.ts +0 -10
- package/lib/src/app/timeline/components/TimelineSelector.d.ts +0 -11
- package/lib/src/app/timeline/components/TimelineSwimLanes.d.ts +0 -62
- package/lib/src/app/timeline/contentItems.d.ts +0 -29
- package/lib/src/app/timeline/hooks/useActiveTimeline.d.ts +0 -12
- package/lib/src/app/timeline/hooks/useScrubberPercent.d.ts +0 -8
- package/lib/src/app/timeline/hooks/useTimeline.d.ts +0 -46
- package/lib/src/app/timeline/hooks/useTimelineConfig.d.ts +0 -22
- package/lib/src/app/timeline/hooks/useTranscriptTimeline.d.ts +0 -37
- package/lib/src/app/timeline/syntheticNodes.d.ts +0 -7
- package/lib/src/app/timeline/testHelpers.d.ts +0 -26
- package/lib/src/app/timeline/timelineEventNodes.d.ts +0 -93
- package/lib/src/app/timeline/utils/markers.d.ts +0 -41
- package/lib/src/app/timeline/utils/swimlaneLayout.d.ts +0 -96
- package/lib/src/app/timeline/utils/swimlaneRows.d.ts +0 -62
- package/lib/src/app/timeline/utils/timeMapping.d.ts +0 -41
- package/lib/src/app/transcript/TranscriptBody.d.ts +0 -17
- package/lib/src/app/transcript/TranscriptFilterPopover.d.ts +0 -7
- package/lib/src/app/transcript/TranscriptNav.d.ts +0 -10
- package/lib/src/app/transcript/TranscriptPanel.d.ts +0 -2
- package/lib/src/app/transcript/TranscriptTitle.d.ts +0 -7
- package/lib/src/app/transcript/debugEventTree.d.ts +0 -4
- package/lib/src/app/transcript/hooks/useTranscriptColumnFilter.d.ts +0 -11
- package/lib/src/app/transcript/hooks/useTranscriptNavigation.d.ts +0 -12
- package/lib/src/app/transcript/hooks/useTranscriptTimeline.d.ts +0 -1
- package/lib/src/app/transcripts/TranscriptFilterBar.d.ts +0 -8
- package/lib/src/app/transcripts/TranscriptsGrid.d.ts +0 -21
- package/lib/src/app/transcripts/TranscriptsPanel.d.ts +0 -2
- package/lib/src/app/transcripts/columnSizing/index.d.ts +0 -3
- package/lib/src/app/transcripts/columnSizing/types.d.ts +0 -22
- package/lib/src/app/transcripts/columnSizing/useColumnSizing.d.ts +0 -34
- package/lib/src/app/transcripts/columns.d.ts +0 -37
- package/lib/src/app/transcripts/constants.d.ts +0 -35
- package/lib/src/app/types.d.ts +0 -112
- package/lib/src/app/utils/arrow.d.ts +0 -2
- package/lib/src/app/utils/arrowHelpers.d.ts +0 -4
- package/lib/src/app/utils/expandEvents.d.ts +0 -8
- package/lib/src/app/utils/messages.d.ts +0 -7
- package/lib/src/app/utils/refs.d.ts +0 -6
- package/lib/src/app/utils/results.d.ts +0 -10
- package/lib/src/app/utils/router.d.ts +0 -1
- package/lib/src/app/utils/scan.d.ts +0 -12
- package/lib/src/app/utils/transcript.d.ts +0 -29
- package/lib/src/app/utils/useScansDir.d.ts +0 -8
- package/lib/src/app/utils/useTranscriptsDir.d.ts +0 -8
- package/lib/src/app/validation/ValidationPanel.d.ts +0 -2
- package/lib/src/app/validation/components/CopyMoveCasesModal.d.ts +0 -24
- package/lib/src/app/validation/components/ValidationBulkActions.d.ts +0 -16
- package/lib/src/app/validation/components/ValidationCaseCard.d.ts +0 -23
- package/lib/src/app/validation/components/ValidationCaseEditor.d.ts +0 -23
- package/lib/src/app/validation/components/ValidationCaseLabelsEditor.d.ts +0 -20
- package/lib/src/app/validation/components/ValidationCasePredicateSelector.d.ts +0 -19
- package/lib/src/app/validation/components/ValidationCaseTargetEditor.d.ts +0 -13
- package/lib/src/app/validation/components/ValidationCasesList.d.ts +0 -19
- package/lib/src/app/validation/components/ValidationFilterBar.d.ts +0 -14
- package/lib/src/app/validation/components/ValidationSetSelector.d.ts +0 -21
- package/lib/src/app/validation/components/ValidationSplitSelector.d.ts +0 -23
- package/lib/src/app/validation/components/ValidationSummary.d.ts +0 -11
- package/lib/src/app/validation/hooks/useTranscriptsByIds.d.ts +0 -13
- package/lib/src/app/validation/utils.d.ts +0 -55
- package/lib/src/components/AnsiDisplay.d.ts +0 -8
- package/lib/src/components/AsciinemaPlayer.d.ts +0 -19
- package/lib/src/components/AutocompleteInput.d.ts +0 -19
- package/lib/src/components/Card.d.ts +0 -32
- package/lib/src/components/ConfirmationDialog.d.ts +0 -15
- package/lib/src/components/CopyButton.d.ts +0 -12
- package/lib/src/components/DataframeView.d.ts +0 -17
- package/lib/src/components/DownloadScanButton.d.ts +0 -9
- package/lib/src/components/EmptyPanel.d.ts +0 -6
- package/lib/src/components/ErrorPanel.d.ts +0 -12
- package/lib/src/components/ExpandablePanel.d.ts +0 -12
- package/lib/src/components/ExtendedFindContext.d.ts +0 -7
- package/lib/src/components/ExtendedFindProvider.d.ts +0 -6
- package/lib/src/components/FindBand.d.ts +0 -6
- package/lib/src/components/HumanBaselineView.d.ts +0 -21
- package/lib/src/components/JsonPanel.d.ts +0 -11
- package/lib/src/components/LabeledValue.d.ts +0 -11
- package/lib/src/components/LightboxCarousel.d.ts +0 -14
- package/lib/src/components/LiveVirtualList.d.ts +0 -22
- package/lib/src/components/LoadingBar.d.ts +0 -6
- package/lib/src/components/MarkdownDiv.d.ts +0 -11
- package/lib/src/components/MarkdownDivWithReferences.d.ts +0 -18
- package/lib/src/components/MenuActionButton.d.ts +0 -15
- package/lib/src/components/Modal.d.ts +0 -11
- package/lib/src/components/NavPills.d.ts +0 -11
- package/lib/src/components/NoContentsPanel.d.ts +0 -7
- package/lib/src/components/NonIdealState.d.ts +0 -10
- package/lib/src/components/PopOver.d.ts +0 -23
- package/lib/src/components/Preformatted.d.ts +0 -7
- package/lib/src/components/ProgressBar.d.ts +0 -9
- package/lib/src/components/PulsingDots.d.ts +0 -10
- package/lib/src/components/SegmentedControl.d.ts +0 -14
- package/lib/src/components/SourceCodePanel.d.ts +0 -11
- package/lib/src/components/StickyScroll.d.ts +0 -18
- package/lib/src/components/TabSet.d.ts +0 -27
- package/lib/src/components/TextInput.d.ts +0 -10
- package/lib/src/components/ToolButton.d.ts +0 -10
- package/lib/src/components/ToolDropdownButton.d.ts +0 -11
- package/lib/src/components/chat/ChatMessage.d.ts +0 -13
- package/lib/src/components/chat/ChatMessageRenderer.d.ts +0 -15
- package/lib/src/components/chat/ChatMessageRow.d.ts +0 -22
- package/lib/src/components/chat/ChatView.d.ts +0 -21
- package/lib/src/components/chat/ChatViewVirtualList.d.ts +0 -30
- package/lib/src/components/chat/JsonMessageContent.d.ts +0 -7
- package/lib/src/components/chat/MessageCitations.d.ts +0 -6
- package/lib/src/components/chat/MessageContent.d.ts +0 -18
- package/lib/src/components/chat/MessageContents.d.ts +0 -15
- package/lib/src/components/chat/content-data/CompactionData.d.ts +0 -6
- package/lib/src/components/chat/content-data/ContentDataView.d.ts +0 -19
- package/lib/src/components/chat/content-data/WebSearch.d.ts +0 -4
- package/lib/src/components/chat/content-data/WebSearchResults.d.ts +0 -9
- package/lib/src/components/chat/documents/ContentDocumentView.d.ts +0 -8
- package/lib/src/components/chat/messageSearchText.d.ts +0 -5
- package/lib/src/components/chat/messages.d.ts +0 -8
- package/lib/src/components/chat/server-tools/ServerToolCall.d.ts +0 -12
- package/lib/src/components/chat/tools/ToolCallView.d.ts +0 -19
- package/lib/src/components/chat/tools/ToolInput.d.ts +0 -10
- package/lib/src/components/chat/tools/ToolOutput.d.ts +0 -11
- package/lib/src/components/chat/tools/ToolTitle.d.ts +0 -10
- package/lib/src/components/chat/tools/customToolRendering.d.ts +0 -2
- package/lib/src/components/chat/tools/tool-input/TodoWriteInput.d.ts +0 -5
- package/lib/src/components/chat/tools/tool.d.ts +0 -18
- package/lib/src/components/chat/types.d.ts +0 -8
- package/lib/src/components/content/DisplayModeContext.d.ts +0 -9
- package/lib/src/components/content/MetaDataGrid.d.ts +0 -20
- package/lib/src/components/content/RecordTree.d.ts +0 -24
- package/lib/src/components/content/RenderedContent.d.ts +0 -18
- package/lib/src/components/content/RenderedText.d.ts +0 -15
- package/lib/src/components/content/record_processors/store.d.ts +0 -2
- package/lib/src/components/content/record_processors/types.d.ts +0 -1
- package/lib/src/components/content/types.d.ts +0 -18
- package/lib/src/components/icons.d.ts +0 -151
- package/lib/src/components/prism.d.ts +0 -2
- package/lib/src/components/transcript/AgentCardView.d.ts +0 -8
- package/lib/src/components/transcript/ApprovalEventView.d.ts +0 -12
- package/lib/src/components/transcript/CompactionEventView.d.ts +0 -12
- package/lib/src/components/transcript/ErrorEventView.d.ts +0 -12
- package/lib/src/components/transcript/InfoEventView.d.ts +0 -12
- package/lib/src/components/transcript/InputEventView.d.ts +0 -12
- package/lib/src/components/transcript/LoggerEventView.d.ts +0 -12
- package/lib/src/components/transcript/ModelEventView.d.ts +0 -25
- package/lib/src/components/transcript/SampleInitEventView.d.ts +0 -12
- package/lib/src/components/transcript/SampleLimitEventView.d.ts +0 -12
- package/lib/src/components/transcript/SandboxEventView.d.ts +0 -12
- package/lib/src/components/transcript/ScoreEditEventView.d.ts +0 -12
- package/lib/src/components/transcript/ScoreEventView.d.ts +0 -12
- package/lib/src/components/transcript/SpanEventView.d.ts +0 -13
- package/lib/src/components/transcript/StepEventView.d.ts +0 -13
- package/lib/src/components/transcript/SubtaskEventView.d.ts +0 -13
- package/lib/src/components/transcript/TimelineSelectContext.d.ts +0 -7
- package/lib/src/components/transcript/ToolEventView.d.ts +0 -13
- package/lib/src/components/transcript/TranscriptView.d.ts +0 -13
- package/lib/src/components/transcript/TranscriptViewNodes.d.ts +0 -19
- package/lib/src/components/transcript/TranscriptVirtualList.d.ts +0 -31
- package/lib/src/components/transcript/TranscriptVirtualListComponent.d.ts +0 -18
- package/lib/src/components/transcript/event/EventNav.d.ts +0 -12
- package/lib/src/components/transcript/event/EventNavs.d.ts +0 -15
- package/lib/src/components/transcript/event/EventPanel.d.ts +0 -20
- package/lib/src/components/transcript/event/EventProgressPanel.d.ts +0 -6
- package/lib/src/components/transcript/event/EventRow.d.ts +0 -12
- package/lib/src/components/transcript/event/EventSection.d.ts +0 -12
- package/lib/src/components/transcript/event/EventTimingPanel.d.ts +0 -12
- package/lib/src/components/transcript/event/utils.d.ts +0 -2
- package/lib/src/components/transcript/eventSearchText.d.ts +0 -5
- package/lib/src/components/transcript/hooks/useCollapseTranscriptEvent.d.ts +0 -1
- package/lib/src/components/transcript/hooks/useEventNodes.d.ts +0 -7
- package/lib/src/components/transcript/outline/OutlineRow.d.ts +0 -19
- package/lib/src/components/transcript/outline/TranscriptOutline.d.ts +0 -22
- package/lib/src/components/transcript/outline/tree-visitors.d.ts +0 -13
- package/lib/src/components/transcript/outline/useOutlineWidth.d.ts +0 -9
- package/lib/src/components/transcript/resolveMessageToEvent.d.ts +0 -19
- package/lib/src/components/transcript/state/StateDiffView.d.ts +0 -11
- package/lib/src/components/transcript/state/StateEventRenderers.d.ts +0 -48
- package/lib/src/components/transcript/state/StateEventView.d.ts +0 -13
- package/lib/src/components/transcript/timeline.d.ts +0 -128
- package/lib/src/components/transcript/transform/fixups.d.ts +0 -291
- package/lib/src/components/transcript/transform/flatten.d.ts +0 -15
- package/lib/src/components/transcript/transform/transform.d.ts +0 -2
- package/lib/src/components/transcript/transform/treeify.d.ts +0 -3
- package/lib/src/components/transcript/transform/utils.d.ts +0 -18
- package/lib/src/components/transcript/types.d.ts +0 -28
- package/lib/src/components/usage/ModelTokenTable.d.ts +0 -8
- package/lib/src/components/usage/ModelUsagePanel.d.ts +0 -11
- package/lib/src/components/usage/TokenTable.d.ts +0 -14
- package/lib/src/components/usage/UsageCard.d.ts +0 -10
- package/lib/src/debugging/navigationDebugging.d.ts +0 -8
- package/lib/src/hooks/useDocumentTitle.d.ts +0 -26
- package/lib/src/hooks/useDropdownPosition.d.ts +0 -40
- package/lib/src/hooks/useMapAsyncData.d.ts +0 -27
- package/lib/src/hooks/usePreviousValue.d.ts +0 -25
- package/lib/src/hooks/useScrollDirection.d.ts +0 -43
- package/lib/src/hooks/useWindowMessaging.d.ts +0 -19
- package/lib/src/index.d.ts +0 -5
- package/lib/src/main.d.ts +0 -6
- package/lib/src/query/column.d.ts +0 -23
- package/lib/src/query/conditionBuilder.d.ts +0 -29
- package/lib/src/query/index.d.ts +0 -96
- package/lib/src/query/transcriptColumns.d.ts +0 -32
- package/lib/src/query/types.d.ts +0 -62
- package/lib/src/router/activities.d.ts +0 -11
- package/lib/src/router/url.d.ts +0 -76
- package/lib/src/state/hooks/useCollapsedState.d.ts +0 -1
- package/lib/src/state/hooks/useCollapsibleIds.d.ts +0 -1
- package/lib/src/state/hooks/useProperty.d.ts +0 -4
- package/lib/src/state/scrolling.d.ts +0 -27
- package/lib/src/state/store.d.ts +0 -277
- package/lib/src/state/userSettings.d.ts +0 -22
- package/lib/src/test/objectFactories.d.ts +0 -4
- package/lib/src/test/setup-msw.d.ts +0 -1
- package/lib/src/test/test-utils.d.ts +0 -2
- package/lib/src/types/api-types.d.ts +0 -97
- package/lib/src/types/generated.d.ts +0 -5031
- package/lib/src/types/json-value.d.ts +0 -12
- package/lib/src/utils/ansi.d.ts +0 -12
- package/lib/src/utils/array.d.ts +0 -1
- package/lib/src/utils/arrow.d.ts +0 -3
- package/lib/src/utils/asyncData.d.ts +0 -66
- package/lib/src/utils/asyncDataFromQuery.d.ts +0 -13
- package/lib/src/utils/base64.d.ts +0 -4
- package/lib/src/utils/base64url.d.ts +0 -38
- package/lib/src/utils/brand.d.ts +0 -70
- package/lib/src/utils/chatMessage.d.ts +0 -3
- package/lib/src/utils/date.d.ts +0 -34
- package/lib/src/utils/dom.d.ts +0 -1
- package/lib/src/utils/format.d.ts +0 -53
- package/lib/src/utils/html.d.ts +0 -5
- package/lib/src/utils/json-worker.d.ts +0 -2
- package/lib/src/utils/json.d.ts +0 -4
- package/lib/src/utils/logger.d.ts +0 -7
- package/lib/src/utils/mime.d.ts +0 -1
- package/lib/src/utils/object.d.ts +0 -1
- package/lib/src/utils/path.d.ts +0 -28
- package/lib/src/utils/python.d.ts +0 -11
- package/lib/src/utils/react-query.d.ts +0 -4
- package/lib/src/utils/react.d.ts +0 -6
- package/lib/src/utils/router.d.ts +0 -1
- package/lib/src/utils/sync.d.ts +0 -21
- package/lib/src/utils/type.d.ts +0 -15
- package/lib/src/utils/uri.d.ts +0 -19
- package/lib/src/utils/useDebouncedCallback.d.ts +0 -20
- package/lib/src/utils/vscode.d.ts +0 -20
- package/lib/styles/index.css +0 -9030
- package/lib/tex-svg-full-BI3fonbT-FZEHFXiJ.js +0 -27979
- package/lib/tex-svg-full-BI3fonbT-FZEHFXiJ.js.map +0 -1
- package/lib/wgxpath.install-node-Csk64Aj9-Ckau6iLd.js +0 -1081
- package/lib/wgxpath.install-node-Csk64Aj9-Ckau6iLd.js.map +0 -1
- package/lib/xypic-DrMJn58R-DRoJoooA.js +0 -9542
- package/lib/xypic-DrMJn58R-DRoJoooA.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"liteDOM-Cp0aN3bP-DXyQNx3e.js","sources":["../node_modules/.pnpm/mathxyjax3@0.8.3/node_modules/mathxyjax3/dist/liteDOM-Cp0aN3bP.js"],"sourcesContent":["globalThis,(function(){var e,t,n,r,i,a,o,s,c,l={244:function(e,t,n){var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Class extends value `+String(t)+` is not a constructor or null`);function n(){this.constructor=e}r(e,t),e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__assign||function(){return a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},a.apply(this,arguments)};Object.defineProperty(t,`__esModule`,{value:!0}),t.NodeMixin=t.NodeMixinOptions=void 0;var o=n(77);t.NodeMixinOptions={badCSS:!0,badSizes:!0},t.NodeMixin=function(e,n){var r;return n===void 0&&(n={}),n=(0,o.userOptions)((0,o.defaultOptions)({},t.NodeMixinOptions),n),r=function(e){function t(){var t=[...arguments],n=e.call(this,t[0])||this,r=n.constructor;return n.options=(0,o.userOptions)((0,o.defaultOptions)({},r.OPTIONS),t[1]),n}return i(t,e),t.prototype.fontSize=function(t){return n.badCSS?this.options.fontSize:e.prototype.fontSize.call(this,t)},t.prototype.fontFamily=function(t){return n.badCSS?this.options.fontFamily:e.prototype.fontFamily.call(this,t)},t.prototype.nodeSize=function(r,i,a){if(i===void 0&&(i=1),a===void 0&&(a=null),!n.badSizes)return e.prototype.nodeSize.call(this,r,i,a);var o=this.textContent(r),s=Array.from(o.replace(t.cjkPattern,``)).length;return[(Array.from(o).length-s)*this.options.cjkCharWidth+s*this.options.unknownCharWidth,this.options.unknownCharHeight]},t.prototype.nodeBBox=function(t){return n.badSizes?{left:0,right:0,top:0,bottom:0}:e.prototype.nodeBBox.call(this,t)},t}(e),r.OPTIONS=a(a({},n.badCSS?{fontSize:16,fontFamily:`Times`}:{}),n.badSizes?{cjkCharWidth:1,unknownCharWidth:.6,unknownCharHeight:.8}:{}),r.cjkPattern=new RegExp([`[`,`ᄀ-ᅟ`,`〈〉`,`⺀-〾`,`-㉇`,`㉐-䶿`,`一-꓆`,`ꥠ-ꥼ`,`가-힣`,`豈-`,`︐-︙`,`︰-﹫`,`!-⦆¢-₩`,`𛀀-𛀁`,`🈀-🉑`,`𠀀-`,`]`].join(``),`gu`),r}},877:function(e,t,n){Object.defineProperty(t,`__esModule`,{value:!0}),t.LiteDocument=void 0;var r=n(946);t.LiteDocument=function(){function e(){this.root=new r.LiteElement(`html`,{},[this.head=new r.LiteElement(`head`),this.body=new r.LiteElement(`body`)]),this.type=``}return Object.defineProperty(e.prototype,`kind`,{get:function(){return`#document`},enumerable:!1,configurable:!0}),e}()},946:function(e,t){var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},n.apply(this,arguments)},r=this&&this.__read||function(e,t){var n=typeof Symbol==`function`&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(t===void 0||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o},i=this&&this.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||(r||=Array.prototype.slice.call(t,0,i),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))},a=this&&this.__values||function(e){var t=typeof Symbol==`function`&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length==`number`)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?`Object is not iterable.`:`Symbol.iterator is not defined.`)};Object.defineProperty(t,`__esModule`,{value:!0}),t.LiteElement=void 0,t.LiteElement=function(e,t,o){var s,c;t===void 0&&(t={}),o===void 0&&(o=[]),this.kind=e,this.attributes=n({},t),this.children=i([],r(o),!1);try{for(var l=a(this.children),u=l.next();!u.done;u=l.next())u.value.parent=this}catch(e){s={error:e}}finally{try{u&&!u.done&&(c=l.return)&&c.call(l)}finally{if(s)throw s.error}}this.styles=null}},6:function(e,t){var n=this&&this.__read||function(e,t){var n=typeof Symbol==`function`&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(t===void 0||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o},r=this&&this.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||(r||=Array.prototype.slice.call(t,0,i),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,`__esModule`,{value:!0}),t.LiteList=void 0,t.LiteList=function(){function e(e){this.nodes=[],this.nodes=r([],n(e),!1)}return e.prototype.append=function(e){this.nodes.push(e)},e.prototype[Symbol.iterator]=function(){var e=0;return{next:function(){return e===this.nodes.length?{value:null,done:!0}:{value:this.nodes[e++],done:!1}}}},e}()},246:function(e,t,n){var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!(`get`in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,`default`,{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)n!==`default`&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t},o=this&&this.__read||function(e,t){var n=typeof Symbol==`function`&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(t===void 0||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o},s=this&&this.__values||function(e){var t=typeof Symbol==`function`&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length==`number`)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?`Object is not iterable.`:`Symbol.iterator is not defined.`)};Object.defineProperty(t,`__esModule`,{value:!0}),t.LiteParser=t.PATTERNS=void 0;var c,l=a(n(29)),u=n(946),d=n(735);(function(e){e.TAGNAME=`[a-z][^\\\\s\\\\n>]*`,e.ATTNAME=`[a-z][^\\\\s\\\\n>=]*`,e.VALUE=`(?:'[^']*'|\"[^\"]*\"|[^\\\\s\\\\n]+)`,e.VALUESPLIT=`(?:'([^']*)'|\"([^\"]*)\"|([^\\\\s\\\\n]+))`,e.SPACE=`(?:\\\\s|\\\\n)+`,e.OPTIONALSPACE=`(?:\\\\s|\\\\n)*`,e.ATTRIBUTE=e.ATTNAME+`(?:`+e.OPTIONALSPACE+`=`+e.OPTIONALSPACE+e.VALUE+`)?`,e.ATTRIBUTESPLIT=`(`+e.ATTNAME+`)(?:`+e.OPTIONALSPACE+`=`+e.OPTIONALSPACE+e.VALUESPLIT+`)?`,e.TAG=`(<(?:`+e.TAGNAME+`(?:`+e.SPACE+e.ATTRIBUTE+`)*`+e.OPTIONALSPACE+`/?|/`+e.TAGNAME+`|!--[^]*?--|![^]*?)(?:>|$))`,e.tag=new RegExp(e.TAG,`i`),e.attr=new RegExp(e.ATTRIBUTE,`i`),e.attrsplit=new RegExp(e.ATTRIBUTESPLIT,`i`)})(c=t.PATTERNS||={}),t.LiteParser=function(){function e(){}return e.prototype.parseFromString=function(e,t,n){t===void 0&&(t=`text/html`),n===void 0&&(n=null);for(var r=n.createDocument(),i=n.body(r),a=e.replace(/<\\?.*?\\?>/g,``).split(c.tag);a.length;){var o=a.shift(),s=a.shift();o&&this.addText(n,i,o),s&&s.charAt(s.length-1)===`>`&&(s.charAt(1)===`!`?this.addComment(n,i,s):i=s.charAt(1)===`/`?this.closeTag(n,i,s):this.openTag(n,i,s,a))}return this.checkDocument(n,r),r},e.prototype.addText=function(e,t,n){return n=l.translate(n),e.append(t,e.text(n))},e.prototype.addComment=function(e,t,n){return e.append(t,new d.LiteComment(n))},e.prototype.closeTag=function(e,t,n){for(var r=n.slice(2,n.length-1).toLowerCase();e.parent(t)&&e.kind(t)!==r;)t=e.parent(t);return e.parent(t)},e.prototype.openTag=function(e,t,n,r){var i=this.constructor.PCDATA,a=this.constructor.SELF_CLOSING,o=n.match(/<(.*?)[\\s\\n>\\/]/)[1].toLowerCase(),s=e.node(o),l=n.replace(/^<.*?[\\s\\n>]/,``).split(c.attrsplit);return(l.pop().match(/>$/)||l.length<5)&&(this.addAttributes(e,s,l),e.append(t,s),a[o]||n.match(/\\/>$/)||(i[o]?this.handlePCDATA(e,s,o,r):t=s)),t},e.prototype.addAttributes=function(e,t,n){for(var r=this.constructor.CDATA_ATTR;n.length;){var i=o(n.splice(0,5),5),a=i[1],s=i[2],c=i[3],u=i[4],d=s||c||u||``;r[a]||(d=l.translate(d)),e.setAttribute(t,a,d)}},e.prototype.handlePCDATA=function(e,t,n,r){for(var i=[],a=`</`+n+`>`,o=``;r.length&&o!==a;)i.push(o),i.push(r.shift()),o=r.shift();e.append(t,e.text(i.join(``)))},e.prototype.checkDocument=function(e,t){var n,r,i,a,o=this.getOnlyChild(e,e.body(t));if(o){try{for(var c=s(e.childNodes(e.body(t))),l=c.next();!l.done&&(p=l.value)!==o;l=c.next())p instanceof d.LiteComment&&p.value.match(/^<!DOCTYPE/)&&(t.type=p.value)}catch(e){n={error:e}}finally{try{l&&!l.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}switch(e.kind(o)){case`html`:try{for(var u=s(o.children),f=u.next();!f.done;f=u.next()){var p=f.value;switch(e.kind(p)){case`head`:t.head=p;break;case`body`:t.body=p}}}catch(e){i={error:e}}finally{try{f&&!f.done&&(a=u.return)&&a.call(u)}finally{if(i)throw i.error}}t.root=o,e.remove(o),e.parent(t.body)!==o&&e.append(o,t.body),e.parent(t.head)!==o&&e.insert(t.head,t.body);break;case`head`:t.head=e.replace(o,t.head);break;case`body`:t.body=e.replace(o,t.body)}}},e.prototype.getOnlyChild=function(e,t){var n,r,i=null;try{for(var a=s(e.childNodes(t)),o=a.next();!o.done;o=a.next()){var c=o.value;if(c instanceof u.LiteElement){if(i)return null;i=c}}}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return i},e.prototype.serialize=function(e,t,n){var r=this;n===void 0&&(n=!1);var i=this.constructor.SELF_CLOSING,a=this.constructor.CDATA_ATTR,o=e.kind(t),s=e.allAttributes(t).map((function(e){return e.name+`=\"`+(a[e.name]?e.value:r.protectAttribute(e.value))+`\"`})).join(` `),c=this.serializeInner(e,t,n);return`<`+o+(s?` `+s:``)+(n&&!c||i[o]?n?`/>`:`>`:`>${c}</${o}>`)},e.prototype.serializeInner=function(e,t,n){var r=this;return n===void 0&&(n=!1),this.constructor.PCDATA.hasOwnProperty(t.kind)?e.childNodes(t).map((function(t){return e.value(t)})).join(``):e.childNodes(t).map((function(t){var i=e.kind(t);return i===`#text`?r.protectHTML(e.value(t)):i===`#comment`?t.value:r.serialize(e,t,n)})).join(``)},e.prototype.protectAttribute=function(e){return typeof e!=`string`&&(e=String(e)),e.replace(/\"/g,`"`)},e.prototype.protectHTML=function(e){return e.replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`)},e.SELF_CLOSING={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,menuitem:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},e.PCDATA={option:!0,textarea:!0,fieldset:!0,title:!0,style:!0,script:!0},e.CDATA_ATTR={style:!0,datafld:!0,datasrc:!0,href:!0,src:!0,longdesc:!0,usemap:!0,cite:!0,datetime:!0,action:!0,axis:!0,profile:!0,content:!0,scheme:!0},e}()},735:function(e,t){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},n(e,t)},function(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Class extends value `+String(t)+` is not a constructor or null`);function r(){this.constructor=e}n(e,t),e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,`__esModule`,{value:!0}),t.LiteComment=t.LiteText=void 0;var i=function(){function e(e){e===void 0&&(e=``),this.value=e}return Object.defineProperty(e.prototype,`kind`,{get:function(){return`#text`},enumerable:!1,configurable:!0}),e}();t.LiteText=i,t.LiteComment=function(e){function t(){return e!==null&&e.apply(this,arguments)||this}return r(t,e),Object.defineProperty(t.prototype,`kind`,{get:function(){return`#comment`},enumerable:!1,configurable:!0}),t}(i)},492:function(e,t,n){Object.defineProperty(t,`__esModule`,{value:!0}),t.LiteWindow=void 0;var r=n(946),i=n(877),a=n(6),o=n(246);t.LiteWindow=function(){this.DOMParser=o.LiteParser,this.NodeList=a.LiteList,this.HTMLCollection=a.LiteList,this.HTMLElement=r.LiteElement,this.DocumentFragment=a.LiteList,this.Document=i.LiteDocument,this.document=new i.LiteDocument}},250:function(e,t,n){var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Class extends value `+String(t)+` is not a constructor or null`);function n(){this.constructor=e}r(e,t),e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__assign||function(){return a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},a.apply(this,arguments)},o=this&&this.__values||function(e){var t=typeof Symbol==`function`&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length==`number`)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?`Object is not iterable.`:`Symbol.iterator is not defined.`)},s=this&&this.__read||function(e,t){var n=typeof Symbol==`function`&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(t===void 0||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o},c=this&&this.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||(r||=Array.prototype.slice.call(t,0,i),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,`__esModule`,{value:!0}),t.liteAdaptor=t.LiteAdaptor=t.LiteBase=void 0;var l=n(857),u=n(244),d=n(877),f=n(946),p=n(735),m=n(492),h=n(246),g=n(878),_=function(e){function t(){var t=e.call(this)||this;return t.parser=new h.LiteParser,t.window=new m.LiteWindow,t}return i(t,e),t.prototype.parse=function(e,t){return this.parser.parseFromString(e,t,this)},t.prototype.create=function(e,t){return t===void 0&&(t=null),new f.LiteElement(e)},t.prototype.text=function(e){return new p.LiteText(e)},t.prototype.comment=function(e){return new p.LiteComment(e)},t.prototype.createDocument=function(){return new d.LiteDocument},t.prototype.head=function(e){return e.head},t.prototype.body=function(e){return e.body},t.prototype.root=function(e){return e.root},t.prototype.doctype=function(e){return e.type},t.prototype.tags=function(e,t,n){n===void 0&&(n=null);var r=[],i=[];if(n)return i;for(var a=e;a;){var o=a.kind;o!==`#text`&&o!==`#comment`&&(a=a,o===t&&i.push(a),a.children.length&&(r=a.children.concat(r))),a=r.shift()}return i},t.prototype.elementById=function(e,t){for(var n=[],r=e;r;){if(r.kind!==`#text`&&r.kind!==`#comment`){if((r=r).attributes.id===t)return r;r.children.length&&(n=r.children.concat(n))}r=n.shift()}return null},t.prototype.elementsByClass=function(e,t){for(var n=[],r=[],i=e;i;)i.kind!==`#text`&&i.kind!==`#comment`&&(((i=i).attributes.class||``).trim().split(/ +/).includes(t)&&r.push(i),i.children.length&&(n=i.children.concat(n))),i=n.shift();return r},t.prototype.getElements=function(e,t){var n,r,i=[],a=this.body(t);try{for(var s=o(e),c=s.next();!c.done;c=s.next()){var l=c.value;if(typeof l==`string`)if(l.charAt(0)===`#`){var u=this.elementById(a,l.slice(1));u&&i.push(u)}else l.charAt(0)===`.`?i=i.concat(this.elementsByClass(a,l.slice(1))):l.match(/^[-a-z][-a-z0-9]*$/i)&&(i=i.concat(this.tags(a,l)));else Array.isArray(l)?i=i.concat(l):l instanceof this.window.NodeList||l instanceof this.window.HTMLCollection?i=i.concat(l.nodes):i.push(l)}}catch(e){n={error:e}}finally{try{c&&!c.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}return i},t.prototype.contains=function(e,t){for(;t&&t!==e;)t=this.parent(t);return!!t},t.prototype.parent=function(e){return e.parent},t.prototype.childIndex=function(e){return e.parent?e.parent.children.findIndex((function(t){return t===e})):-1},t.prototype.append=function(e,t){return t.parent&&this.remove(t),e.children.push(t),t.parent=e,t},t.prototype.insert=function(e,t){if(e.parent&&this.remove(e),t&&t.parent){var n=this.childIndex(t);t.parent.children.splice(n,0,e),e.parent=t.parent}},t.prototype.remove=function(e){var t=this.childIndex(e);return t>=0&&e.parent.children.splice(t,1),e.parent=null,e},t.prototype.replace=function(e,t){var n=this.childIndex(t);return n>=0&&(t.parent.children[n]=e,e.parent=t.parent,t.parent=null),t},t.prototype.clone=function(e){var t=this,n=new f.LiteElement(e.kind);return n.attributes=a({},e.attributes),n.children=e.children.map((function(e){if(e.kind===`#text`)return new p.LiteText(e.value);if(e.kind===`#comment`)return new p.LiteComment(e.value);var r=t.clone(e);return r.parent=n,r})),n},t.prototype.split=function(e,t){var n=new p.LiteText(e.value.slice(t));return e.value=e.value.slice(0,t),e.parent.children.splice(this.childIndex(e)+1,0,n),n.parent=e.parent,n},t.prototype.next=function(e){var t=e.parent;if(!t)return null;var n=this.childIndex(e)+1;return n>=0&&n<t.children.length?t.children[n]:null},t.prototype.previous=function(e){var t=e.parent;if(!t)return null;var n=this.childIndex(e)-1;return n>=0?t.children[n]:null},t.prototype.firstChild=function(e){return e.children[0]},t.prototype.lastChild=function(e){return e.children[e.children.length-1]},t.prototype.childNodes=function(e){return c([],s(e.children),!1)},t.prototype.childNode=function(e,t){return e.children[t]},t.prototype.kind=function(e){return e.kind},t.prototype.value=function(e){return e.kind===`#text`?e.value:e.kind===`#comment`?e.value.replace(/^<!(--)?((?:.|\\n)*)\\1>$/,`$2`):``},t.prototype.textContent=function(e){var t=this;return e.children.reduce((function(e,n){return e+(n.kind===`#text`?n.value:n.kind===`#comment`?``:t.textContent(n))}),``)},t.prototype.innerHTML=function(e){return this.parser.serializeInner(this,e)},t.prototype.outerHTML=function(e){return this.parser.serialize(this,e)},t.prototype.serializeXML=function(e){return this.parser.serialize(this,e,!0)},t.prototype.setAttribute=function(e,t,n,r){r===void 0&&(r=null),typeof n!=`string`&&(n=String(n)),r&&(t=r.replace(/.*\\//,``)+`:`+t.replace(/^.*:/,``)),e.attributes[t]=n,t===`style`&&(e.styles=null)},t.prototype.getAttribute=function(e,t){return e.attributes[t]},t.prototype.removeAttribute=function(e,t){delete e.attributes[t]},t.prototype.hasAttribute=function(e,t){return e.attributes.hasOwnProperty(t)},t.prototype.allAttributes=function(e){var t,n,r=e.attributes,i=[];try{for(var a=o(Object.keys(r)),s=a.next();!s.done;s=a.next()){var c=s.value;i.push({name:c,value:r[c]})}}catch(e){t={error:e}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}return i},t.prototype.addClass=function(e,t){var n=(e.attributes.class||``).split(/ /);n.find((function(e){return e===t}))||(n.push(t),e.attributes.class=n.join(` `))},t.prototype.removeClass=function(e,t){var n=(e.attributes.class||``).split(/ /),r=n.findIndex((function(e){return e===t}));r>=0&&(n.splice(r,1),e.attributes.class=n.join(` `))},t.prototype.hasClass=function(e,t){return!!(e.attributes.class||``).split(/ /).find((function(e){return e===t}))},t.prototype.setStyle=function(e,t,n){e.styles||=new g.Styles(this.getAttribute(e,`style`)),e.styles.set(t,n),e.attributes.style=e.styles.cssText},t.prototype.getStyle=function(e,t){if(!e.styles){var n=this.getAttribute(e,`style`);if(!n)return``;e.styles=new g.Styles(n)}return e.styles.get(t)},t.prototype.allStyles=function(e){return this.getAttribute(e,`style`)},t.prototype.insertRules=function(e,t){e.children=[this.text(t.join(`\n\n`)+`\n\n`+this.textContent(e))]},t.prototype.fontSize=function(e){return 0},t.prototype.fontFamily=function(e){return``},t.prototype.nodeSize=function(e,t,n){return t===void 0&&(t=1),n===void 0&&(n=null),[0,0]},t.prototype.nodeBBox=function(e){return{left:0,right:0,top:0,bottom:0}},t}(l.AbstractDOMAdaptor);t.LiteBase=_;var v=function(e){function t(){return e!==null&&e.apply(this,arguments)||this}return i(t,e),t}((0,u.NodeMixin)(_));t.LiteAdaptor=v,t.liteAdaptor=function(e){return e===void 0&&(e=null),new v(null,e)}},306:function(e,t){t.q=void 0,t.q=`3.2.2`},723:function(e,t){MathJax._.components.global.isObject,MathJax._.components.global.combineConfig,MathJax._.components.global.combineDefaults,t.r8=MathJax._.components.global.combineWithMathJax,MathJax._.components.global.MathJax},857:function(e,t){Object.defineProperty(t,`__esModule`,{value:!0}),t.AbstractDOMAdaptor=MathJax._.core.DOMAdaptor.AbstractDOMAdaptor},29:function(e,t){Object.defineProperty(t,`__esModule`,{value:!0}),t.options=MathJax._.util.Entities.options,t.entities=MathJax._.util.Entities.entities,t.add=MathJax._.util.Entities.add,t.remove=MathJax._.util.Entities.remove,t.translate=MathJax._.util.Entities.translate,t.numeric=MathJax._.util.Entities.numeric},77:function(e,t){Object.defineProperty(t,`__esModule`,{value:!0}),t.isObject=MathJax._.util.Options.isObject,t.APPEND=MathJax._.util.Options.APPEND,t.REMOVE=MathJax._.util.Options.REMOVE,t.OPTIONS=MathJax._.util.Options.OPTIONS,t.Expandable=MathJax._.util.Options.Expandable,t.expandable=MathJax._.util.Options.expandable,t.makeArray=MathJax._.util.Options.makeArray,t.keys=MathJax._.util.Options.keys,t.copy=MathJax._.util.Options.copy,t.insert=MathJax._.util.Options.insert,t.defaultOptions=MathJax._.util.Options.defaultOptions,t.userOptions=MathJax._.util.Options.userOptions,t.selectOptions=MathJax._.util.Options.selectOptions,t.selectOptionsFromKeys=MathJax._.util.Options.selectOptionsFromKeys,t.separateOptions=MathJax._.util.Options.separateOptions,t.lookup=MathJax._.util.Options.lookup},878:function(e,t){Object.defineProperty(t,`__esModule`,{value:!0}),t.Styles=MathJax._.util.Styles.Styles}},u={};function d(e){var t=u[e];if(t!==void 0)return t.exports;var n=u[e]={exports:{}};return l[e].call(n.exports,n,n.exports,d),n.exports}e=d(723),t=d(306),n=d(250),r=d(877),i=d(946),a=d(6),o=d(246),s=d(735),c=d(492),MathJax.loader&&MathJax.loader.checkVersion(`adaptors/liteDOM`,t.q,`adaptors`),(0,e.r8)({_:{adaptors:{liteAdaptor:n,lite:{Document:r,Element:i,List:a,Parser:o,Text:s,Window:c}}}}),MathJax.startup&&(MathJax.startup.registerConstructor(`liteAdaptor`,n.liteAdaptor),MathJax.startup.useAdaptor(`liteAdaptor`,!0))})();\n//# sourceMappingURL=liteDOM-Cp0aN3bP.js.map"],"names":["e","t","n","r","i","a","o","s","c","l","u","d"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAW,GAAC,WAAU;AAAC,QAAI,GAAE,GAAE,GAAE,GAAE,GAAE,GAAE,GAAE,GAAE,GAAE,IAAE,EAAC,KAAI,SAASA,IAAEC,IAAEC,IAAE;AAAC,UAAIC,IAAEC,KAAE,QAAM,KAAK,cAAYD,KAAE,SAASH,IAAEC,IAAE;AAAC,eAAOE,KAAE,OAAO,kBAAgB,EAAC,WAAU,CAAA,EAAE,aAAY,SAAO,SAASH,IAAEC,IAAE;AAAC,UAAAD,GAAE,YAAUC;AAAA,QAAC,KAAG,SAASD,IAAEC,IAAE;AAAC,mBAAQC,MAAKD,GAAE,QAAO,UAAU,eAAe,KAAKA,IAAEC,EAAC,MAAIF,GAAEE,EAAC,IAAED,GAAEC,EAAC;AAAA,QAAE,GAAEC,GAAEH,IAAEC,EAAC;AAAA,MAAC,GAAE,SAASD,IAAEC,IAAE;AAAC,YAAG,OAAOA,MAAG,c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UAAS,EAAC,aAAY,GAAE,MAAK,EAAC,UAAS,GAAE,SAAQ,GAAE,MAAK,GAAE,QAAO,GAAE,MAAK,GAAE,QAAO,EAAC,EAAC,EAAC,EAAC,CAAC,GAAE,QAAQ,YAAU,QAAQ,QAAQ,oBAAoB,eAAc,EAAE,WAAW,GAAE,QAAQ,QAAQ,WAAW,eAAc,IAAE;AAAA,EAAE,GAAC;;;;;;;;;","x_google_ignoreList":[0]}
|
package/lib/src/App.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Component, ErrorInfo, ReactNode } from 'react';
|
|
2
|
-
interface Props {
|
|
3
|
-
children: ReactNode;
|
|
4
|
-
}
|
|
5
|
-
interface State {
|
|
6
|
-
hasError: boolean;
|
|
7
|
-
error?: Error;
|
|
8
|
-
}
|
|
9
|
-
export declare class AppErrorBoundary extends Component<Props, State> {
|
|
10
|
-
constructor(props: Props);
|
|
11
|
-
static getDerivedStateFromError(error: Error): State;
|
|
12
|
-
componentDidCatch(error: Error, errorInfo: ErrorInfo): void;
|
|
13
|
-
render(): ReactNode;
|
|
14
|
-
}
|
|
15
|
-
export {};
|
package/lib/src/AppRouter.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ScoutApiV2 } from './api';
|
|
2
|
-
export type HeaderProvider = () => Promise<Record<string, string>>;
|
|
3
|
-
export declare const apiScoutServer: (options?: {
|
|
4
|
-
apiBaseUrl?: string;
|
|
5
|
-
headerProvider?: HeaderProvider;
|
|
6
|
-
customFetch?: typeof fetch;
|
|
7
|
-
disableSSE?: boolean;
|
|
8
|
-
}) => ScoutApiV2;
|
package/lib/src/api/api.d.ts
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { StateStorage } from 'zustand/middleware';
|
|
2
|
-
import { Condition, OrderByModel } from '../query';
|
|
3
|
-
import { ActiveScansResponse, AppConfig, CreateValidationSetRequest, InvalidationTopic, Pagination, ProjectConfig, ProjectConfigInput, ScanJobConfig, ScannersResponse, ScansResponse, Status, Transcript, TranscriptsResponse, ValidationCase, ValidationCaseRequest, ScannerInput } from '../types/api-types';
|
|
4
|
-
export type ClientStorage = StateStorage;
|
|
5
|
-
export type ScalarValue = string | number | boolean | null;
|
|
6
|
-
/** Topic versions: maps topic name to timestamp. */
|
|
7
|
-
export type TopicVersions = Record<InvalidationTopic, string>;
|
|
8
|
-
export interface ScoutApiV2 {
|
|
9
|
-
getConfig(): Promise<AppConfig>;
|
|
10
|
-
getTranscripts(transcriptsDir: string, filter?: Condition, orderBy?: OrderByModel | OrderByModel[], pagination?: Pagination): Promise<TranscriptsResponse>;
|
|
11
|
-
hasTranscript(transcriptsDir: string, id: string): Promise<boolean>;
|
|
12
|
-
getTranscript(transcriptsDir: string, id: string): Promise<Transcript>;
|
|
13
|
-
getTranscriptsColumnValues(transcriptsDir: string, column: string, filter: Condition | undefined): Promise<ScalarValue[]>;
|
|
14
|
-
getScans(scansDir: string, filter?: Condition, orderBy?: OrderByModel | OrderByModel[], pagination?: Pagination): Promise<ScansResponse>;
|
|
15
|
-
getScansColumnValues(scansDir: string, column: string, filter: Condition | undefined): Promise<ScalarValue[]>;
|
|
16
|
-
getScan(scansDir: string, scanPath: string): Promise<Status>;
|
|
17
|
-
getScannerDataframe(scansDir: string, scanPath: string, scanner: string): Promise<ArrayBuffer | Uint8Array>;
|
|
18
|
-
getScannerDataframeInput(scansDir: string, scanPath: string, scanner: string, uuid: string): Promise<ScannerInput>;
|
|
19
|
-
getActiveScans(): Promise<ActiveScansResponse>;
|
|
20
|
-
postCode(condition: Condition): Promise<Record<string, string>>;
|
|
21
|
-
getProjectConfig(): Promise<{
|
|
22
|
-
config: ProjectConfig;
|
|
23
|
-
etag: string;
|
|
24
|
-
}>;
|
|
25
|
-
updateProjectConfig(config: ProjectConfigInput, etag: string | null): Promise<{
|
|
26
|
-
config: ProjectConfig;
|
|
27
|
-
etag: string;
|
|
28
|
-
}>;
|
|
29
|
-
startScan(config: ScanJobConfig): Promise<Status>;
|
|
30
|
-
getScanners(): Promise<ScannersResponse>;
|
|
31
|
-
connectTopicUpdates(onUpdate: (topVersions: TopicVersions) => void): () => void;
|
|
32
|
-
getValidationSets(): Promise<string[]>;
|
|
33
|
-
getValidationCases(uri: string): Promise<ValidationCase[]>;
|
|
34
|
-
getValidationCase(uri: string, caseId: string): Promise<ValidationCase>;
|
|
35
|
-
createValidationSet(request: CreateValidationSetRequest): Promise<string>;
|
|
36
|
-
upsertValidationCase(uri: string, caseId: string, data: ValidationCaseRequest): Promise<ValidationCase>;
|
|
37
|
-
deleteValidationCase(uri: string, caseId: string): Promise<void>;
|
|
38
|
-
deleteValidationSet(uri: string): Promise<void>;
|
|
39
|
-
renameValidationSet(uri: string, newName: string): Promise<string>;
|
|
40
|
-
downloadScan?(scansDir: string, scanPath: string): Promise<Blob>;
|
|
41
|
-
storage: ClientStorage;
|
|
42
|
-
capability: "scans" | "workbench";
|
|
43
|
-
}
|
|
44
|
-
export declare const NoPersistence: ClientStorage;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const resolveAttachments: <T>(obj: T, attachments: Record<string, string>) => T;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { ScannerInputResponse } from '../types/api-types';
|
|
2
|
-
/**
|
|
3
|
-
* Expand condensed events in a scan result input.
|
|
4
|
-
* Handles both "transcript" (events inside Transcript object) and "events" input types.
|
|
5
|
-
*/
|
|
6
|
-
export declare function expandInputEvents(input: ScannerInputResponse["input"], inputType: ScannerInputResponse["input_type"], inputData: ScannerInputResponse["input_data"]): ScannerInputResponse["input"];
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { JsonValue } from '../types/json-value';
|
|
2
|
-
import { JsonRpcParams, kMethodHttpRequest } from './jsonrpc';
|
|
3
|
-
export { kMethodHttpRequest };
|
|
4
|
-
export type HttpProxyRequest = {
|
|
5
|
-
method: "GET" | "POST" | "PUT" | "DELETE";
|
|
6
|
-
path: string;
|
|
7
|
-
headers?: Record<string, string>;
|
|
8
|
-
body?: string;
|
|
9
|
-
};
|
|
10
|
-
export interface HttpProxyResponse {
|
|
11
|
-
status: number;
|
|
12
|
-
headers: Record<string, string>;
|
|
13
|
-
body: string | null;
|
|
14
|
-
bodyEncoding?: "utf8" | "base64";
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* Creates a fetch function that proxies requests through JSON-RPC.
|
|
18
|
-
* Used in VS Code webview to route HTTP requests through the extension host.
|
|
19
|
-
*/
|
|
20
|
-
export declare function createJsonRpcFetch(rpcClient: (method: string, params?: JsonRpcParams) => Promise<JsonValue>): typeof fetch;
|
package/lib/src/api/jsonrpc.d.ts
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { JsonArray, JsonObject, JsonValue } from '../types/json-value';
|
|
2
|
-
import { VSCodeApi } from '../utils/vscode';
|
|
3
|
-
export type JsonRpcParams = JsonArray | JsonObject;
|
|
4
|
-
type JsonRpcErrorData = {
|
|
5
|
-
description?: string;
|
|
6
|
-
} & {
|
|
7
|
-
[key: string]: JsonValue;
|
|
8
|
-
};
|
|
9
|
-
export type JsonRpcClient = (method: string, params?: JsonRpcParams) => Promise<JsonValue>;
|
|
10
|
-
interface JsonRpcError {
|
|
11
|
-
code: number;
|
|
12
|
-
message: string;
|
|
13
|
-
data?: JsonRpcErrorData;
|
|
14
|
-
}
|
|
15
|
-
interface PostMessageTarget {
|
|
16
|
-
postMessage: (data: unknown) => void;
|
|
17
|
-
onMessage: (handler: (data: unknown) => void) => () => void;
|
|
18
|
-
}
|
|
19
|
-
export declare const kMethodEvalLogDir = "eval_log_dir";
|
|
20
|
-
export declare const kMethodEvalLogs = "eval_logs";
|
|
21
|
-
export declare const kMethodEvalLogFiles = "eval_log_files";
|
|
22
|
-
export declare const kMethodEvalLog = "eval_log";
|
|
23
|
-
export declare const kMethodEvalLogSize = "eval_log_size";
|
|
24
|
-
export declare const kMethodEvalLogBytes = "eval_log_bytes";
|
|
25
|
-
export declare const kMethodEvalLogHeaders = "eval_log_headers";
|
|
26
|
-
export declare const kMethodPendingSamples = "eval_log_pending_samples";
|
|
27
|
-
export declare const kMethodSampleData = "eval_log_sample_data";
|
|
28
|
-
export declare const kMethodLogMessage = "log_message";
|
|
29
|
-
export declare const kMethodGetScan = "get_scan";
|
|
30
|
-
export declare const kMethodGetScans = "get_scans";
|
|
31
|
-
export declare const kMethodGetScannerDataframe = "get_scanner_dataframe";
|
|
32
|
-
export declare const kMethodGetScannerDataframeInput = "get_scanner_dataframe_input";
|
|
33
|
-
export declare const kMethodHttpRequest = "http_request";
|
|
34
|
-
export declare const kJsonRpcParseError = -32700;
|
|
35
|
-
export declare const kJsonRpcInvalidRequest = -32600;
|
|
36
|
-
export declare const kJsonRpcMethodNotFound = -32601;
|
|
37
|
-
export declare const kJsonRpcInvalidParams = -32602;
|
|
38
|
-
export declare const kJsonRpcInternalError = -32603;
|
|
39
|
-
export declare const kJsonRpcVersion = "2.0";
|
|
40
|
-
export declare function webViewJsonRpcClient(vscode: VSCodeApi): JsonRpcClient;
|
|
41
|
-
export declare function jsonRpcError(message: string, data?: unknown, code?: number): JsonRpcError;
|
|
42
|
-
export declare function asJsonRpcError(error: unknown): JsonRpcError;
|
|
43
|
-
export declare function jsonRpcPostMessageRequestTransport(target: PostMessageTarget): {
|
|
44
|
-
request: (method: string, params?: JsonRpcParams) => Promise<JsonValue>;
|
|
45
|
-
disconnect: () => void;
|
|
46
|
-
};
|
|
47
|
-
export declare function jsonRpcPostMessageServer(target: PostMessageTarget, methods: {
|
|
48
|
-
[key: string]: (params: unknown) => Promise<JsonValue>;
|
|
49
|
-
} | ((name: string) => ((params: unknown) => Promise<JsonValue>) | undefined)): () => void;
|
|
50
|
-
export {};
|
package/lib/src/api/request.d.ts
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
type HttpMethod = "GET" | "POST" | "PUT" | "DELETE" | "HEAD";
|
|
2
|
-
export declare class ApiError extends Error {
|
|
3
|
-
status: number;
|
|
4
|
-
constructor(status: number, message: string);
|
|
5
|
-
}
|
|
6
|
-
export interface Request<T> {
|
|
7
|
-
headers?: Record<string, string>;
|
|
8
|
-
body?: string;
|
|
9
|
-
parse?: (text: string) => Promise<T>;
|
|
10
|
-
handleError?: (status: number) => T | undefined;
|
|
11
|
-
/**
|
|
12
|
-
* Opt into browser caching. Only use for endpoints that set appropriate caching
|
|
13
|
-
* headers (e.g., ETag). Caching is disabled by default.
|
|
14
|
-
*/
|
|
15
|
-
enableBrowserCache?: boolean;
|
|
16
|
-
}
|
|
17
|
-
export type HeaderProvider = () => Promise<Record<string, string>>;
|
|
18
|
-
export interface ServerRequestApi {
|
|
19
|
-
fetchString: (method: HttpMethod, path: string, headers?: Record<string, string>, body?: string) => Promise<{
|
|
20
|
-
raw: string;
|
|
21
|
-
}>;
|
|
22
|
-
fetchVoid: (method: HttpMethod, path: string, headers?: Record<string, string>) => Promise<void>;
|
|
23
|
-
fetchBytes: (method: HttpMethod, path: string, headers?: Record<string, string>, extraAcceptType?: string) => Promise<{
|
|
24
|
-
data: ArrayBuffer;
|
|
25
|
-
headers: Headers;
|
|
26
|
-
}>;
|
|
27
|
-
fetchType: <T>(method: HttpMethod, path: string, request?: Request<T>) => Promise<{
|
|
28
|
-
raw: string;
|
|
29
|
-
parsed: T;
|
|
30
|
-
headers: Headers;
|
|
31
|
-
}>;
|
|
32
|
-
}
|
|
33
|
-
export declare function serverRequestApi(baseUrl?: string, getHeaders?: HeaderProvider, customFetch?: typeof fetch): ServerRequestApi;
|
|
34
|
-
export {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
interface Activity {
|
|
3
|
-
id: string;
|
|
4
|
-
label: string;
|
|
5
|
-
icon: string;
|
|
6
|
-
description?: string;
|
|
7
|
-
}
|
|
8
|
-
interface ActivityBarProps {
|
|
9
|
-
activities: Activity[];
|
|
10
|
-
onSelectActivity: (id: string, options?: {
|
|
11
|
-
openInNewTab?: boolean;
|
|
12
|
-
}) => void;
|
|
13
|
-
selectedActivity: string;
|
|
14
|
-
}
|
|
15
|
-
export declare const ActivityBar: FC<ActivityBarProps>;
|
|
16
|
-
interface ActivityProps extends Activity {
|
|
17
|
-
selected?: boolean;
|
|
18
|
-
onSelect: (id: string, options?: {
|
|
19
|
-
openInNewTab?: boolean;
|
|
20
|
-
}) => void;
|
|
21
|
-
}
|
|
22
|
-
declare const Activity: FC<ActivityProps>;
|
|
23
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { FC, ReactNode } from 'react';
|
|
2
|
-
import { AppConfig } from '../../types/api-types';
|
|
3
|
-
interface ActivityBarLayoutProps {
|
|
4
|
-
config: AppConfig;
|
|
5
|
-
children: ReactNode;
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* Layout component that wraps all routes with the ActivityBar navigation
|
|
9
|
-
*/
|
|
10
|
-
export declare const ActivityBarLayout: FC<ActivityBarLayoutProps>;
|
|
11
|
-
export {};
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { ScalarValue } from '../../api/api';
|
|
3
|
-
import { OperatorModel } from '../../query';
|
|
4
|
-
import { AvailableColumn } from './columnFilter/ColumnFilterEditor';
|
|
5
|
-
/** Props accepted by AddFilterButton - subset of useAddFilterPopover return */
|
|
6
|
-
export interface AddFilterPopoverState {
|
|
7
|
-
isOpen: boolean;
|
|
8
|
-
setIsOpen: (open: boolean) => void;
|
|
9
|
-
selectedColumnId: string | null;
|
|
10
|
-
columns: AvailableColumn[];
|
|
11
|
-
filterType: "string" | "number" | "date" | "datetime" | "boolean" | "duration" | "unknown";
|
|
12
|
-
operator: OperatorModel;
|
|
13
|
-
setOperator: (op: OperatorModel) => void;
|
|
14
|
-
operatorOptions: OperatorModel[];
|
|
15
|
-
value: string;
|
|
16
|
-
setValue: (v: string) => void;
|
|
17
|
-
value2: string;
|
|
18
|
-
setValue2: (v: string) => void;
|
|
19
|
-
isValueDisabled: boolean;
|
|
20
|
-
isRangeOperator: boolean;
|
|
21
|
-
handleColumnChange: (columnId: string) => void;
|
|
22
|
-
commitAndClose: () => void;
|
|
23
|
-
cancelAndClose: () => void;
|
|
24
|
-
}
|
|
25
|
-
export interface AddFilterButtonProps {
|
|
26
|
-
/** Unique prefix for popover IDs */
|
|
27
|
-
idPrefix: string;
|
|
28
|
-
/** Popover state from useAddFilterPopover hook */
|
|
29
|
-
popoverState: AddFilterPopoverState;
|
|
30
|
-
/** Suggestions for autocomplete */
|
|
31
|
-
suggestions?: ScalarValue[];
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* "Add filter" chip + popover pattern extracted for reuse.
|
|
35
|
-
* Accepts popover state from useAddFilterPopover hook.
|
|
36
|
-
*/
|
|
37
|
-
export declare const AddFilterButton: FC<AddFilterButtonProps>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
interface BreadCrumbsProps {
|
|
3
|
-
baseDir?: string;
|
|
4
|
-
relativePath: string;
|
|
5
|
-
getRouteForSegment?: (path: string) => string | undefined;
|
|
6
|
-
disableLastSegment?: boolean;
|
|
7
|
-
className?: string | string[];
|
|
8
|
-
}
|
|
9
|
-
export declare const BreadCrumbs: FC<BreadCrumbsProps>;
|
|
10
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
interface ChipProps {
|
|
2
|
-
icon?: string;
|
|
3
|
-
label?: string;
|
|
4
|
-
value: string;
|
|
5
|
-
title?: string;
|
|
6
|
-
closeTitle?: string;
|
|
7
|
-
onClick?: () => void;
|
|
8
|
-
onClose?: (event?: React.MouseEvent | React.KeyboardEvent) => void;
|
|
9
|
-
className?: string | string[];
|
|
10
|
-
}
|
|
11
|
-
export declare const Chip: import('react').ForwardRefExoticComponent<ChipProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
12
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ButtonHTMLAttributes, FC, ReactNode } from 'react';
|
|
2
|
-
interface ColumnHeaderProps {
|
|
3
|
-
label?: string;
|
|
4
|
-
actions?: ReactNode;
|
|
5
|
-
}
|
|
6
|
-
export declare const ColumnHeader: FC<ColumnHeaderProps>;
|
|
7
|
-
interface ColumnHeaderButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
8
|
-
icon: string;
|
|
9
|
-
}
|
|
10
|
-
export declare const ColumnHeaderButton: import('react').ForwardRefExoticComponent<ColumnHeaderButtonProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
11
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { FC, ReactNode } from 'react';
|
|
2
|
-
export interface ColumnPickerRenderProps {
|
|
3
|
-
positionEl: HTMLButtonElement | null;
|
|
4
|
-
isOpen: boolean;
|
|
5
|
-
setIsOpen: (open: boolean) => void;
|
|
6
|
-
}
|
|
7
|
-
export interface ColumnPickerButtonProps {
|
|
8
|
-
/**
|
|
9
|
-
* Render prop for the popover content.
|
|
10
|
-
* Receives positionEl, isOpen, and setIsOpen to wire up the popover.
|
|
11
|
-
*/
|
|
12
|
-
children: (props: ColumnPickerRenderProps) => ReactNode;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Column picker button pattern extracted for reuse.
|
|
16
|
-
* Manages button ref and open/closed state internally.
|
|
17
|
-
* Uses render prop pattern to allow domain-specific popovers.
|
|
18
|
-
*/
|
|
19
|
-
export declare const ColumnPickerButton: FC<ColumnPickerButtonProps>;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
export interface ColumnInfo {
|
|
3
|
-
id: string;
|
|
4
|
-
label: string;
|
|
5
|
-
headerTitle?: string;
|
|
6
|
-
}
|
|
7
|
-
export interface ColumnsPopoverProps {
|
|
8
|
-
/** Popover positioning element */
|
|
9
|
-
positionEl: HTMLElement | null;
|
|
10
|
-
/** Whether the popover is open */
|
|
11
|
-
isOpen: boolean;
|
|
12
|
-
/** Callback to set open state */
|
|
13
|
-
setIsOpen: (open: boolean) => void;
|
|
14
|
-
/** All available columns in display order */
|
|
15
|
-
columns: ColumnInfo[];
|
|
16
|
-
/** Currently visible column IDs */
|
|
17
|
-
visibleColumns: string[];
|
|
18
|
-
/** Default visible column IDs (for "Default" link) */
|
|
19
|
-
defaultVisibleColumns: string[];
|
|
20
|
-
/** Callback when visible columns change */
|
|
21
|
-
onVisibleColumnsChange: (columns: string[]) => void;
|
|
22
|
-
/** Optional popover ID for accessibility */
|
|
23
|
-
popoverId?: string;
|
|
24
|
-
}
|
|
25
|
-
export declare const ColumnsPopover: FC<ColumnsPopoverProps>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
interface EditablePathProps {
|
|
3
|
-
path?: string | null;
|
|
4
|
-
secondaryText?: string | null;
|
|
5
|
-
onPathChanged: (path: string) => void;
|
|
6
|
-
mru?: string[];
|
|
7
|
-
label?: string;
|
|
8
|
-
title?: string;
|
|
9
|
-
icon?: string;
|
|
10
|
-
placeholder?: string;
|
|
11
|
-
editable?: boolean;
|
|
12
|
-
className?: string;
|
|
13
|
-
}
|
|
14
|
-
export declare const EditablePath: FC<EditablePathProps>;
|
|
15
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
interface EditableTextProps {
|
|
3
|
-
value?: string;
|
|
4
|
-
secondaryValue?: string | null;
|
|
5
|
-
onValueChanged: (value: string) => void;
|
|
6
|
-
mru?: string[];
|
|
7
|
-
mruMaxItems?: number;
|
|
8
|
-
label?: string;
|
|
9
|
-
title?: string;
|
|
10
|
-
icon?: string;
|
|
11
|
-
placeholder?: string;
|
|
12
|
-
editable?: boolean;
|
|
13
|
-
className?: string;
|
|
14
|
-
}
|
|
15
|
-
export declare const EditableText: FC<EditableTextProps>;
|
|
16
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { MarkdownReference } from '../../components/MarkdownDivWithReferences';
|
|
3
|
-
import { ScanResultSummary } from '../types';
|
|
4
|
-
interface ExplanationProps {
|
|
5
|
-
summary?: ScanResultSummary;
|
|
6
|
-
references?: MarkdownReference[];
|
|
7
|
-
options?: {
|
|
8
|
-
previewRefsOnHover?: boolean;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
export declare const Explanation: FC<ExplanationProps>;
|
|
12
|
-
export {};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { ScalarValue } from '../../api/api';
|
|
3
|
-
import { SimpleCondition } from '../../query/types';
|
|
4
|
-
import { ColumnFilter } from '../../state/store';
|
|
5
|
-
import { AddFilterPopoverState } from './AddFilterButton';
|
|
6
|
-
import { AvailableColumn } from './columnFilter';
|
|
7
|
-
import { ColumnInfo } from './ColumnsPopover';
|
|
8
|
-
export interface FilterBarProps {
|
|
9
|
-
/** Current column filters */
|
|
10
|
-
filters: Record<string, ColumnFilter>;
|
|
11
|
-
/** Callback when a filter condition is changed */
|
|
12
|
-
onFilterChange: (columnId: string, condition: SimpleCondition | null) => void;
|
|
13
|
-
/** Callback when a filter is removed */
|
|
14
|
-
onRemoveFilter: (columnId: string) => void;
|
|
15
|
-
/** Optional code representations for copy functionality */
|
|
16
|
-
filterCodeValues?: Record<string, string>;
|
|
17
|
-
/** Autocomplete suggestions for filter values */
|
|
18
|
-
filterSuggestions?: ScalarValue[];
|
|
19
|
-
/** Callback when filter column selection changes (for fetching suggestions) */
|
|
20
|
-
onFilterColumnChange?: (columnId: string | null) => void;
|
|
21
|
-
/** Unique ID prefix for popovers */
|
|
22
|
-
popoverIdPrefix?: string;
|
|
23
|
-
/** Popover state from useAddFilterPopover hook */
|
|
24
|
-
addFilterPopoverState: AddFilterPopoverState;
|
|
25
|
-
/** Column definitions for the picker */
|
|
26
|
-
columns?: ColumnInfo[];
|
|
27
|
-
/** Currently visible column IDs */
|
|
28
|
-
visibleColumns?: string[];
|
|
29
|
-
/** Default visible column IDs */
|
|
30
|
-
defaultVisibleColumns?: string[];
|
|
31
|
-
/** Callback when visible columns change */
|
|
32
|
-
onVisibleColumnsChange?: (columns: string[]) => void;
|
|
33
|
-
}
|
|
34
|
-
export declare const FilterBar: FC<FilterBarProps>;
|
|
35
|
-
export type { AddFilterPopoverState, AvailableColumn, ColumnInfo };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { FC, ReactNode } from 'react';
|
|
2
|
-
interface FooterProps {
|
|
3
|
-
id: string;
|
|
4
|
-
className?: string | string[];
|
|
5
|
-
itemCount?: number;
|
|
6
|
-
filteredCount?: number;
|
|
7
|
-
left?: ReactNode;
|
|
8
|
-
progressText?: string;
|
|
9
|
-
progressBar?: ReactNode;
|
|
10
|
-
paginated: boolean;
|
|
11
|
-
pagesize?: number;
|
|
12
|
-
page?: number;
|
|
13
|
-
itemsPerPage?: number;
|
|
14
|
-
setPage?: (page: number) => void;
|
|
15
|
-
labels?: {
|
|
16
|
-
singular: string;
|
|
17
|
-
plural: string;
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
export declare const Footer: FC<FooterProps>;
|
|
21
|
-
export {};
|