climb-onyx-gui 0.15.4 → 0.15.5-dev.10
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/dist/Onyx.d.ts +0 -1
- package/dist/api/hooks.d.ts +0 -1
- package/dist/api/index.d.ts +0 -1
- package/dist/climb-onyx-gui.js +14858 -14889
- package/dist/components/Buttons.d.ts +0 -1
- package/dist/components/CellRenderers.d.ts +0 -1
- package/dist/components/ColumnsModal.d.ts +0 -1
- package/dist/components/ContainerModal.d.ts +11 -0
- package/dist/components/DataField.d.ts +0 -1
- package/dist/components/DataPanel.d.ts +0 -1
- package/dist/components/Details.d.ts +0 -1
- package/dist/components/Dropdowns.d.ts +0 -1
- package/dist/components/ExportModal.d.ts +0 -1
- package/dist/components/Filter.d.ts +0 -1
- package/dist/components/FilterPanel.d.ts +0 -1
- package/dist/components/Graphs.d.ts +0 -1
- package/dist/components/Header.d.ts +0 -1
- package/dist/components/HistoryPanel.d.ts +0 -1
- package/dist/components/Inputs.d.ts +0 -1
- package/dist/components/JsonSearch.d.ts +0 -1
- package/dist/components/QueryHandler.d.ts +0 -1
- package/dist/components/RelatedPanel.d.ts +0 -1
- package/dist/components/Resizer.d.ts +1 -1
- package/dist/components/ResultsPanel.d.ts +0 -1
- package/dist/components/Summarise.d.ts +0 -1
- package/dist/components/SummarisePanel.d.ts +0 -1
- package/dist/components/Table.d.ts +0 -1
- package/dist/interfaces.d.ts +0 -1
- package/dist/main.d.ts +0 -1
- package/dist/pages/Analysis.d.ts +0 -1
- package/dist/pages/Graphs.d.ts +0 -1
- package/dist/pages/ProjectRecord.d.ts +0 -1
- package/dist/pages/Results.d.ts +0 -1
- package/dist/pages/Site.d.ts +0 -1
- package/dist/pages/User.d.ts +0 -1
- package/dist/style.css +4 -4
- package/dist/utils/functions.d.ts +0 -1
- package/dist/utils/hooks.d.ts +0 -1
- package/dist/utils/styles.d.ts +0 -1
- package/package.json +4 -2
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ModalProps } from 'react-bootstrap';
|
|
3
|
+
interface ContainerModalProps extends Omit<ModalProps, "container"> {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Base modal component that automatically scopes modals to a parent container
|
|
8
|
+
* to ensure Bootstrap styles are properly applied when scoped.
|
|
9
|
+
*/
|
|
10
|
+
export declare function ContainerModal({ children, ...props }: ContainerModalProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export default ContainerModal;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { UseQueryResult } from '@tanstack/react-query';
|
|
2
2
|
import { IDProps } from '../interfaces';
|
|
3
3
|
import { DetailResponse, ErrorResponse, RecordType } from '../types';
|
|
4
|
-
|
|
5
4
|
interface DataPanelProps extends IDProps {
|
|
6
5
|
dataPanelTabKey: string;
|
|
7
6
|
setDataPanelTabKey: (key: string) => void;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { DataProps } from '../interfaces';
|
|
2
2
|
import { RecordType, DetailResponse, ErrorResponse } from '../types';
|
|
3
|
-
|
|
4
3
|
interface DetailsProps extends DataProps {
|
|
5
4
|
data: DetailResponse<RecordType> | ErrorResponse | undefined;
|
|
6
5
|
handleErrorModalShow: (error: Error) => void;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { UseQueryResult } from '@tanstack/react-query';
|
|
2
2
|
import { IDProps } from '../interfaces';
|
|
3
3
|
import { ErrorResponse, RecordType, ListResponse } from '../types';
|
|
4
|
-
|
|
5
4
|
interface RelatedPanelProps extends IDProps {
|
|
6
5
|
queryHook: (props: IDProps) => UseQueryResult<ListResponse<RecordType> | ErrorResponse, Error>;
|
|
7
6
|
title: string;
|
|
@@ -2,7 +2,7 @@ interface ResizerProps {
|
|
|
2
2
|
defaultWidth: number;
|
|
3
3
|
minWidth: number;
|
|
4
4
|
maxWidth: number;
|
|
5
|
-
|
|
5
|
+
children?: React.ReactNode;
|
|
6
6
|
}
|
|
7
7
|
export default function Resizer(props: ResizerProps): import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -2,7 +2,6 @@ import { SortDirection } from '@ag-grid-community/core';
|
|
|
2
2
|
import { CustomCellRendererProps } from '@ag-grid-community/react';
|
|
3
3
|
import { OnyxProps, ProjectProps } from '../interfaces';
|
|
4
4
|
import { RecordType, ListResponse } from '../types';
|
|
5
|
-
|
|
6
5
|
type InputData = Record<string, string | number | boolean | object | null>[];
|
|
7
6
|
interface TableProps extends OnyxProps {
|
|
8
7
|
defaultFileNamePrefix: string;
|
package/dist/interfaces.d.ts
CHANGED
package/dist/main.d.ts
CHANGED
package/dist/pages/Analysis.d.ts
CHANGED
package/dist/pages/Graphs.d.ts
CHANGED
package/dist/pages/Results.d.ts
CHANGED
package/dist/pages/Site.d.ts
CHANGED
package/dist/pages/User.d.ts
CHANGED