@metrevals/inspect-scout-viewer 0.3.2-beta.1764711188 → 0.3.3-beta.1765542109
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/lib/app/appearance/icons.d.ts +2 -0
- package/lib/app/components/ColumnHeader.d.ts +6 -0
- package/lib/app/result/ScanResultHeader.d.ts +2 -0
- package/lib/app/result/metadata/MetadataPanel.d.ts +7 -0
- package/lib/app/result/{input/InputPanel.d.ts → result/ResultBody.d.ts} +2 -2
- package/lib/app/result/result/ResultSidebar.d.ts +7 -0
- package/lib/app/scanner/results/ScanDataframeClearFiltersButton.d.ts +2 -0
- package/lib/app/scanner/results/ScanDataframeColumnsPopover.d.ts +5 -0
- package/lib/app/scanner/results/ScanDataframeFilterColumnsButton.d.ts +1 -0
- package/lib/app/scanner/results/types.d.ts +1 -0
- package/lib/app/utils/refs.d.ts +1 -0
- package/lib/app/values/Explanation.d.ts +5 -0
- package/lib/app/values/Value.d.ts +5 -0
- package/lib/components/CopyButton.d.ts +2 -1
- package/lib/components/DataframeView.d.ts +1 -0
- package/lib/components/MarkdownDivWithReferences.d.ts +3 -0
- package/lib/content/MetaDataGrid.d.ts +5 -2
- package/lib/content/RenderedText.d.ts +3 -0
- package/lib/content/types.d.ts +1 -0
- package/lib/index.js +1456 -1039
- package/lib/index.js.map +1 -1
- package/lib/state/store.d.ts +4 -0
- package/lib/styles/index.css +155 -64
- package/lib/types/index.d.ts +4 -3
- package/package.json +5 -1
|
@@ -92,6 +92,7 @@ export declare const ApplicationIcons: {
|
|
|
92
92
|
noSamples: string;
|
|
93
93
|
options: string;
|
|
94
94
|
pendingTask: string;
|
|
95
|
+
pendingTaskSubtle: string;
|
|
95
96
|
play: string;
|
|
96
97
|
previous: string;
|
|
97
98
|
refresh: string;
|
|
@@ -122,6 +123,7 @@ export declare const ApplicationIcons: {
|
|
|
122
123
|
step: string;
|
|
123
124
|
subtask: string;
|
|
124
125
|
success: string;
|
|
126
|
+
successSubtle: string;
|
|
125
127
|
transcript: string;
|
|
126
128
|
tree: {
|
|
127
129
|
open: string;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
+
import { Status } from '../../types';
|
|
2
3
|
import { ScannerData } from '../types';
|
|
3
4
|
interface ScanResultHeaderProps {
|
|
4
5
|
result?: ScannerData;
|
|
6
|
+
status?: Status;
|
|
5
7
|
}
|
|
6
8
|
export declare const ScanResultHeader: FC<ScanResultHeaderProps>;
|
|
7
9
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { ScannerData } from '../../types';
|
|
3
|
-
export interface
|
|
3
|
+
export interface ResultBodyProps {
|
|
4
4
|
result?: ScannerData;
|
|
5
5
|
}
|
|
6
|
-
export declare const
|
|
6
|
+
export declare const ResultBody: FC<ResultBodyProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ScanDataframeFilterColumnsButton: import('react').ForwardRefExoticComponent<import('react').RefAttributes<HTMLButtonElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const defaultColumns: string[];
|
package/lib/app/utils/refs.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { MarkdownReference } from '../../components/MarkdownDivWithReferences';
|
|
2
2
|
import { ScannerCore } from '../types';
|
|
3
3
|
export type MakeReferenceUrl = (ref: string, type: "message" | "event") => string | undefined;
|
|
4
|
+
export declare const useMarkdownRefs: (result?: ScannerCore) => MarkdownReference[];
|
|
4
5
|
export declare const toMarkdownRefs: (core: ScannerCore, makeReferenceUrl: MakeReferenceUrl) => MarkdownReference[];
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
+
import { MarkdownReference } from '../../components/MarkdownDivWithReferences';
|
|
2
3
|
import { ScannerCore } from '../types';
|
|
3
4
|
interface ExplanationProps {
|
|
4
5
|
result?: ScannerCore;
|
|
6
|
+
references?: MarkdownReference[];
|
|
7
|
+
options?: {
|
|
8
|
+
previewRefsOnHover?: boolean;
|
|
9
|
+
};
|
|
5
10
|
}
|
|
6
11
|
export declare const Explanation: FC<ExplanationProps>;
|
|
7
12
|
export {};
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
+
import { MarkdownReference } from '../../components/MarkdownDivWithReferences';
|
|
2
3
|
import { ScannerCore } from '../types';
|
|
3
4
|
interface ValueProps {
|
|
4
5
|
result: ScannerCore;
|
|
6
|
+
references: MarkdownReference[];
|
|
5
7
|
style: "inline" | "block";
|
|
6
8
|
maxTableSize?: number;
|
|
7
9
|
interactive?: boolean;
|
|
10
|
+
options?: {
|
|
11
|
+
previewRefsOnHover?: boolean;
|
|
12
|
+
};
|
|
8
13
|
}
|
|
9
14
|
export declare const Value: FC<ValueProps>;
|
|
10
15
|
export {};
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { JSX } from 'react';
|
|
2
2
|
interface CopyButtonProps {
|
|
3
3
|
icon?: string;
|
|
4
|
+
title?: string;
|
|
4
5
|
value: string;
|
|
5
6
|
onCopySuccess?: () => void;
|
|
6
7
|
onCopyError?: (error: Error) => void;
|
|
7
8
|
className?: string;
|
|
8
9
|
ariaLabel?: string;
|
|
9
10
|
}
|
|
10
|
-
export declare const CopyButton: ({ icon, value, onCopySuccess, onCopyError, className, ariaLabel, }: CopyButtonProps) => JSX.Element;
|
|
11
|
+
export declare const CopyButton: ({ icon, title, value, onCopySuccess, onCopyError, className, ariaLabel, }: CopyButtonProps) => JSX.Element;
|
|
11
12
|
export {};
|
|
@@ -7,6 +7,9 @@ export interface MarkdownReference {
|
|
|
7
7
|
interface MarkdownDivWithReferencesProps {
|
|
8
8
|
markdown: string;
|
|
9
9
|
references?: MarkdownReference[];
|
|
10
|
+
options?: {
|
|
11
|
+
previewRefsOnHover?: boolean;
|
|
12
|
+
};
|
|
10
13
|
className?: string | string[];
|
|
11
14
|
style?: React.CSSProperties;
|
|
12
15
|
omitMedia?: boolean;
|
|
@@ -5,9 +5,12 @@ interface MetadataGridProps {
|
|
|
5
5
|
className?: string | string[];
|
|
6
6
|
references?: MarkdownReference[];
|
|
7
7
|
style?: CSSProperties;
|
|
8
|
-
size?: "mini" | "small";
|
|
9
8
|
entries: Record<string, unknown>;
|
|
10
|
-
|
|
9
|
+
options?: {
|
|
10
|
+
size?: "mini" | "small";
|
|
11
|
+
plain?: boolean;
|
|
12
|
+
previewRefsOnHover?: boolean;
|
|
13
|
+
};
|
|
11
14
|
}
|
|
12
15
|
/**
|
|
13
16
|
* Renders the MetaDataView component.
|
|
@@ -7,6 +7,9 @@ interface RenderedTextProps {
|
|
|
7
7
|
className?: string | string[];
|
|
8
8
|
forceRender?: boolean;
|
|
9
9
|
omitMedia?: boolean;
|
|
10
|
+
options?: {
|
|
11
|
+
previewRefsOnHover?: boolean;
|
|
12
|
+
};
|
|
10
13
|
}
|
|
11
14
|
export declare const RenderedText: import('react').ForwardRefExoticComponent<RenderedTextProps & import('react').RefAttributes<HTMLDivElement | HTMLPreElement>>;
|
|
12
15
|
export {};
|