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.
Files changed (40) hide show
  1. package/dist/Onyx.d.ts +0 -1
  2. package/dist/api/hooks.d.ts +0 -1
  3. package/dist/api/index.d.ts +0 -1
  4. package/dist/climb-onyx-gui.js +14858 -14889
  5. package/dist/components/Buttons.d.ts +0 -1
  6. package/dist/components/CellRenderers.d.ts +0 -1
  7. package/dist/components/ColumnsModal.d.ts +0 -1
  8. package/dist/components/ContainerModal.d.ts +11 -0
  9. package/dist/components/DataField.d.ts +0 -1
  10. package/dist/components/DataPanel.d.ts +0 -1
  11. package/dist/components/Details.d.ts +0 -1
  12. package/dist/components/Dropdowns.d.ts +0 -1
  13. package/dist/components/ExportModal.d.ts +0 -1
  14. package/dist/components/Filter.d.ts +0 -1
  15. package/dist/components/FilterPanel.d.ts +0 -1
  16. package/dist/components/Graphs.d.ts +0 -1
  17. package/dist/components/Header.d.ts +0 -1
  18. package/dist/components/HistoryPanel.d.ts +0 -1
  19. package/dist/components/Inputs.d.ts +0 -1
  20. package/dist/components/JsonSearch.d.ts +0 -1
  21. package/dist/components/QueryHandler.d.ts +0 -1
  22. package/dist/components/RelatedPanel.d.ts +0 -1
  23. package/dist/components/Resizer.d.ts +1 -1
  24. package/dist/components/ResultsPanel.d.ts +0 -1
  25. package/dist/components/Summarise.d.ts +0 -1
  26. package/dist/components/SummarisePanel.d.ts +0 -1
  27. package/dist/components/Table.d.ts +0 -1
  28. package/dist/interfaces.d.ts +0 -1
  29. package/dist/main.d.ts +0 -1
  30. package/dist/pages/Analysis.d.ts +0 -1
  31. package/dist/pages/Graphs.d.ts +0 -1
  32. package/dist/pages/ProjectRecord.d.ts +0 -1
  33. package/dist/pages/Results.d.ts +0 -1
  34. package/dist/pages/Site.d.ts +0 -1
  35. package/dist/pages/User.d.ts +0 -1
  36. package/dist/style.css +4 -4
  37. package/dist/utils/functions.d.ts +0 -1
  38. package/dist/utils/hooks.d.ts +0 -1
  39. package/dist/utils/styles.d.ts +0 -1
  40. package/package.json +4 -2
@@ -1,5 +1,4 @@
1
1
  import { ButtonProps } from 'react-bootstrap/Button';
2
-
3
2
  interface SidebarButtonProps extends ButtonProps {
4
3
  sidebarCollapsed: boolean;
5
4
  setSidebarCollapsed: (sideBarCollapsed: boolean) => void;
@@ -1,6 +1,5 @@
1
1
  import { CustomCellRendererProps } from '@ag-grid-community/react';
2
2
  import { OnyxProps } from '../interfaces';
3
-
4
3
  interface ErrorModalProps extends OnyxProps {
5
4
  handleErrorModalShow: (error: Error) => void;
6
5
  }
@@ -1,6 +1,5 @@
1
1
  import { DataProps } from '../interfaces';
2
2
  import { Field } from '../types';
3
-
4
3
  interface ColumnsModalProps extends DataProps {
5
4
  show: boolean;
6
5
  onHide: () => void;
@@ -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,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface DataFieldProps {
3
2
  name: string;
4
3
  value: string | JSX.Element;
@@ -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,5 +1,4 @@
1
1
  import { ProjectProps } from '../interfaces';
2
-
3
2
  interface GenericDropdownProps {
4
3
  options: string[];
5
4
  titles?: Map<string, string>;
@@ -1,5 +1,4 @@
1
1
  import { ExportHandlerProps } from '../interfaces';
2
-
3
2
  interface ExportModalProps {
4
3
  show: boolean;
5
4
  onHide: () => void;
@@ -1,6 +1,5 @@
1
1
  import { DataProps } from '../interfaces';
2
2
  import { FilterConfig } from '../types';
3
-
4
3
  interface FilterProps extends DataProps {
5
4
  filter: FilterConfig;
6
5
  index: number;
@@ -1,6 +1,5 @@
1
1
  import { DataProps } from '../interfaces';
2
2
  import { FilterConfig } from '../types';
3
-
4
3
  interface FilterPanelProps extends DataProps {
5
4
  filterList: FilterConfig[];
6
5
  setFilterList: (filters: FilterConfig[]) => void;
@@ -1,7 +1,6 @@
1
1
  import { default as Plotly, Layout } from 'plotly.js-basic-dist';
2
2
  import { DataProps } from '../interfaces';
3
3
  import { GraphConfig, Field } from '../types';
4
-
5
4
  interface BasePlotProps {
6
5
  fields: Map<string, Field>;
7
6
  plotData: Plotly.Data[];
@@ -1,6 +1,5 @@
1
1
  import { PageProps } from '../interfaces';
2
2
  import { ObjectType, Project, RecentlyViewed } from '../types';
3
-
4
3
  interface HeaderProps extends PageProps {
5
4
  project?: Project;
6
5
  projects: Project[];
@@ -1,5 +1,4 @@
1
1
  import { ProjectProps } from '../interfaces';
2
-
3
2
  interface HistoryPanelProps extends ProjectProps {
4
3
  name?: string;
5
4
  searchPath: string;
@@ -1,5 +1,4 @@
1
1
  import { default as React } from 'react';
2
-
3
2
  declare function Input({ type, value, placeholder, onChange, }: {
4
3
  type?: string;
5
4
  value: string;
@@ -1,6 +1,5 @@
1
1
  import { JsonData } from 'json-edit-react';
2
2
  import { ProjectProps } from '../interfaces';
3
-
4
3
  interface JsonProps extends ProjectProps {
5
4
  data: JsonData;
6
5
  description: string;
@@ -1,5 +1,4 @@
1
1
  import { ErrorResponse, SuccessResponse } from '../types';
2
-
3
2
  export declare function BaseSpinner({ delay, children, }: {
4
3
  delay?: number;
5
4
  children: React.ReactNode;
@@ -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
- setWidth: (width: number) => void;
5
+ children?: React.ReactNode;
6
6
  }
7
7
  export default function Resizer(props: ResizerProps): import("react/jsx-runtime").JSX.Element;
8
8
  export {};
@@ -1,6 +1,5 @@
1
1
  import { ResultsProps } from '../interfaces';
2
2
  import { ErrorResponse, ListResponse, RecordType } from '../types';
3
-
4
3
  interface ResultsPanelProps extends ResultsProps {
5
4
  searchParameters: string;
6
5
  pageSize: number;
@@ -1,5 +1,4 @@
1
1
  import { DataProps } from '../interfaces';
2
-
3
2
  interface SummariseProps extends DataProps {
4
3
  summariseList: string[];
5
4
  setSummariseList: (value: string[]) => void;
@@ -1,5 +1,4 @@
1
1
  import { DataProps } from '../interfaces';
2
-
3
2
  interface SummarisePanelProps extends DataProps {
4
3
  summariseList: string[];
5
4
  setSummariseList: (value: string[]) => void;
@@ -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;
@@ -1,6 +1,5 @@
1
1
  import { Dispatch, SetStateAction } from 'react';
2
2
  import { ExportStatus, TabState, Project, Field } from './types';
3
-
4
3
  export interface OnyxProps {
5
4
  httpPathHandler: (path: string) => Promise<Response>;
6
5
  s3PathHandler: (path: string) => Promise<void>;
package/dist/main.d.ts CHANGED
@@ -1,3 +1,2 @@
1
1
  import { default as Onyx } from './Onyx.tsx';
2
-
3
2
  export default Onyx;
@@ -1,4 +1,3 @@
1
1
  import { IDProps } from '../interfaces';
2
-
3
2
  declare function Analysis(props: IDProps): import("react/jsx-runtime").JSX.Element;
4
3
  export default Analysis;
@@ -1,4 +1,3 @@
1
1
  import { DataProps } from '../interfaces';
2
-
3
2
  declare function Graphs(props: DataProps): import("react/jsx-runtime").JSX.Element;
4
3
  export default Graphs;
@@ -1,4 +1,3 @@
1
1
  import { IDProps } from '../interfaces';
2
-
3
2
  declare function ProjectRecord(props: IDProps): import("react/jsx-runtime").JSX.Element;
4
3
  export default ProjectRecord;
@@ -1,4 +1,3 @@
1
1
  import { ResultsProps } from '../interfaces';
2
-
3
2
  declare function Results(props: ResultsProps): import("react/jsx-runtime").JSX.Element;
4
3
  export default Results;
@@ -1,4 +1,3 @@
1
1
  import { ProjectProps } from '../interfaces';
2
-
3
2
  declare function Site(props: ProjectProps): import("react/jsx-runtime").JSX.Element;
4
3
  export default Site;
@@ -1,4 +1,3 @@
1
1
  import { ProjectProps } from '../interfaces';
2
-
3
2
  declare function User(props: ProjectProps): import("react/jsx-runtime").JSX.Element;
4
3
  export default User;