climb-onyx-gui 0.14.0-dev → 0.14.0-dev.2
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/LICENSE +674 -0
- package/dist/api/hooks.d.ts +2 -2
- package/dist/api/index.d.ts +27 -32
- package/dist/climb-onyx-gui.js +50120 -50127
- package/dist/components/Buttons.d.ts +1 -1
- package/dist/components/CellRenderers.d.ts +1 -2
- package/dist/components/DataField.d.ts +2 -4
- package/dist/components/DataPanel.d.ts +11 -0
- package/dist/components/Details.d.ts +9 -0
- package/dist/components/Dropdowns.d.ts +1 -1
- package/dist/components/Filter.d.ts +1 -1
- package/dist/components/FilterPanel.d.ts +1 -1
- package/dist/components/Graphs.d.ts +2 -2
- package/dist/components/{Json.d.ts → JsonSearch.d.ts} +2 -1
- package/dist/components/QueryHandler.d.ts +1 -1
- package/dist/components/ResultsPanel.d.ts +2 -2
- package/dist/components/Table.d.ts +3 -3
- package/dist/interfaces.d.ts +10 -2
- package/dist/pages/Analysis.d.ts +2 -6
- package/dist/pages/ProjectRecord.d.ts +2 -6
- package/dist/style.css +1 -1
- package/dist/types.d.ts +19 -4
- package/dist/utils/functions.d.ts +6 -6
- package/dist/utils/messages.d.ts +1 -1
- package/dist/utils/styles.d.ts +1 -1
- package/package.json +1 -1
- package/dist/components/FieldsModal.d.ts +0 -0
- package/dist/components/ObjectDetails.d.ts +0 -9
|
@@ -6,4 +6,4 @@ interface SidebarButtonProps extends ButtonProps {
|
|
|
6
6
|
}
|
|
7
7
|
declare function SidebarButton(props: SidebarButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
declare function CopyToClipboardButton(props: ButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export {
|
|
9
|
+
export { CopyToClipboardButton, SidebarButton };
|
|
@@ -8,7 +8,6 @@ interface IDModalProps {
|
|
|
8
8
|
handleProjectRecordShow: (recordID: string) => void;
|
|
9
9
|
handleAnalysisShow: (analysisID: string) => void;
|
|
10
10
|
}
|
|
11
|
-
declare function DetailCellRendererFactory(props: ErrorModalProps): (cellRendererProps: CustomCellRendererProps) => any;
|
|
12
11
|
declare function ClimbIDCellRendererFactory(props: IDModalProps): (cellRendererProps: CustomCellRendererProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
12
|
declare function AnalysisIDCellRendererFactory(props: IDModalProps): (cellRendererProps: CustomCellRendererProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
13
|
declare function S3ReportCellRendererFactory(props: ErrorModalProps): (cellRendererProps: CustomCellRendererProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -18,4 +17,4 @@ declare function ChangeCellRenderer(props: CustomCellRendererProps): import("rea
|
|
|
18
17
|
declare function HTTPStatusCellRenderer(props: CustomCellRendererProps): import("react/jsx-runtime").JSX.Element;
|
|
19
18
|
declare function HTTPMethodCellRenderer(props: CustomCellRendererProps): import("react/jsx-runtime").JSX.Element;
|
|
20
19
|
declare function JSONCellRenderer(props: CustomCellRendererProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
-
export {
|
|
20
|
+
export { ActionCellRenderer, AnalysisIDCellRendererFactory, ChangeCellRenderer, ClimbIDCellRendererFactory, HTTPMethodCellRenderer, HTTPStatusCellRenderer, JSONCellRenderer, S3ReportCellRendererFactory, TimestampCellRenderer, };
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
3
2
|
interface DataFieldProps {
|
|
4
|
-
record: RecordType;
|
|
5
|
-
field: string;
|
|
6
3
|
name: string;
|
|
4
|
+
value: string | JSX.Element;
|
|
7
5
|
}
|
|
8
6
|
declare function DataField(props: DataFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
9
7
|
export default DataField;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { UseQueryResult } from '@tanstack/react-query';
|
|
2
|
+
import { IDProps } from '../interfaces';
|
|
3
|
+
import { DetailResponse, ErrorResponse } from '../types';
|
|
4
|
+
|
|
5
|
+
interface DataPanelProps extends IDProps {
|
|
6
|
+
queryHook: (props: IDProps) => UseQueryResult<DetailResponse | ErrorResponse, Error>;
|
|
7
|
+
setUnpublished: () => void;
|
|
8
|
+
dataFields: Map<string, string>;
|
|
9
|
+
}
|
|
10
|
+
declare function DataPanel(props: DataPanelProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export default DataPanel;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { DataProps } from '../interfaces';
|
|
2
|
+
import { DetailResponse, ErrorResponse } from '../types';
|
|
3
|
+
|
|
4
|
+
interface DetailsProps extends DataProps {
|
|
5
|
+
data: DetailResponse | ErrorResponse | undefined;
|
|
6
|
+
handleErrorModalShow: (error: Error) => void;
|
|
7
|
+
}
|
|
8
|
+
declare function Details(props: DetailsProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default Details;
|
|
@@ -25,4 +25,4 @@ declare function Dropdown(props: DropdownProps): import("react/jsx-runtime").JSX
|
|
|
25
25
|
declare function MultiDropdown(props: MultiDropdownProps): import("react/jsx-runtime").JSX.Element;
|
|
26
26
|
declare function Choice(props: ChoiceProps): import("react/jsx-runtime").JSX.Element;
|
|
27
27
|
declare function MultiChoice(props: MultiChoiceProps): import("react/jsx-runtime").JSX.Element;
|
|
28
|
-
export {
|
|
28
|
+
export { Choice, Dropdown, MultiChoice, MultiDropdown };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as Plotly } from 'plotly.js-basic-dist';
|
|
2
|
-
import { GraphConfig } from '../types';
|
|
3
2
|
import { DataProps } from '../interfaces';
|
|
3
|
+
import { GraphConfig } from '../types';
|
|
4
4
|
|
|
5
5
|
interface BasePlotProps {
|
|
6
6
|
plotData: Plotly.Data[];
|
|
@@ -24,4 +24,4 @@ declare function BarGraph(props: GraphProps): import("react/jsx-runtime").JSX.El
|
|
|
24
24
|
declare function PieGraph(props: GraphProps): import("react/jsx-runtime").JSX.Element;
|
|
25
25
|
declare function GroupedScatterGraph(props: GraphProps): import("react/jsx-runtime").JSX.Element;
|
|
26
26
|
declare function GroupedBarGraph(props: GraphProps): import("react/jsx-runtime").JSX.Element;
|
|
27
|
-
export { BasePlot,
|
|
27
|
+
export { BarGraph, BasePlot, GroupedBarGraph, GroupedScatterGraph, PieGraph, ScatterGraph, };
|
|
@@ -3,6 +3,7 @@ import { PageProps } from '../interfaces';
|
|
|
3
3
|
|
|
4
4
|
interface JsonProps extends PageProps {
|
|
5
5
|
data: JsonData;
|
|
6
|
+
description: string;
|
|
6
7
|
}
|
|
7
8
|
declare function JsonSearch(props: JsonProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export
|
|
9
|
+
export default JsonSearch;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { RecordListResponse, ErrorResponse } from '../types';
|
|
2
1
|
import { ResultsProps } from '../interfaces';
|
|
2
|
+
import { ErrorResponse, ListResponse } from '../types';
|
|
3
3
|
|
|
4
4
|
interface ResultsPanelProps extends ResultsProps {
|
|
5
5
|
searchParameters: string;
|
|
6
6
|
isFetching: boolean;
|
|
7
7
|
error: Error | null;
|
|
8
|
-
data:
|
|
8
|
+
data: ListResponse | ErrorResponse;
|
|
9
9
|
sidebarCollapsed: boolean;
|
|
10
10
|
setSidebarCollapsed: (sideBarCollapsed: boolean) => void;
|
|
11
11
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { CustomCellRendererProps } from '@ag-grid-community/react';
|
|
2
1
|
import { SortDirection } from '@ag-grid-community/core';
|
|
3
|
-
import {
|
|
2
|
+
import { CustomCellRendererProps } from '@ag-grid-community/react';
|
|
4
3
|
import { OnyxProps } from '../interfaces';
|
|
4
|
+
import { ListResponse } from '../types';
|
|
5
5
|
|
|
6
6
|
type InputData = Record<string, string | number | boolean | object | null>[];
|
|
7
7
|
interface TableProps extends OnyxProps {
|
|
@@ -21,7 +21,7 @@ interface ClientTableProps extends TableProps {
|
|
|
21
21
|
}
|
|
22
22
|
interface ServerPaginatedTableProps extends TableProps {
|
|
23
23
|
project: string;
|
|
24
|
-
response:
|
|
24
|
+
response: ListResponse;
|
|
25
25
|
searchPath: string;
|
|
26
26
|
searchParameters: string;
|
|
27
27
|
}
|
package/dist/interfaces.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExportStatus, ProjectField } from './types';
|
|
2
2
|
|
|
3
3
|
interface OnyxProps {
|
|
4
4
|
httpPathHandler: (path: string) => Promise<Response>;
|
|
@@ -21,6 +21,14 @@ interface DataProps extends PageProps {
|
|
|
21
21
|
handleProjectRecordShow: (recordID: string) => void;
|
|
22
22
|
handleAnalysisShow: (analysisID: string) => void;
|
|
23
23
|
}
|
|
24
|
+
interface IDProps extends DataProps {
|
|
25
|
+
ID: string;
|
|
26
|
+
tabKey: string;
|
|
27
|
+
setTabKey: (key: string) => void;
|
|
28
|
+
dataPanelTabKey: string;
|
|
29
|
+
setDataPanelTabKey: (key: string) => void;
|
|
30
|
+
onHide: () => void;
|
|
31
|
+
}
|
|
24
32
|
interface ResultsProps extends DataProps {
|
|
25
33
|
title: string;
|
|
26
34
|
searchPath: string;
|
|
@@ -34,4 +42,4 @@ interface ExportHandlerProps {
|
|
|
34
42
|
setExportProgress: (exportProgress: number) => void;
|
|
35
43
|
setExportError: (error: Error) => void;
|
|
36
44
|
}
|
|
37
|
-
export type {
|
|
45
|
+
export type { DataProps, ExportHandlerProps, IDProps, OnyxProps, PageProps, ProjectProps, ResultsProps, };
|
package/dist/pages/Analysis.d.ts
CHANGED
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IDProps } from '../interfaces';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
analysisID: string;
|
|
5
|
-
onHide: () => void;
|
|
6
|
-
}
|
|
7
|
-
declare function Analysis(props: AnalysisProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare function Analysis(props: IDProps): import("react/jsx-runtime").JSX.Element;
|
|
8
4
|
export default Analysis;
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IDProps } from '../interfaces';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
recordID: string;
|
|
5
|
-
onHide: () => void;
|
|
6
|
-
}
|
|
7
|
-
declare function ProjectRecord(props: ProjectRecordProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare function ProjectRecord(props: IDProps): import("react/jsx-runtime").JSX.Element;
|
|
8
4
|
export default ProjectRecord;
|