climb-onyx-gui 0.12.12 → 0.12.14

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.
@@ -1,27 +1,25 @@
1
1
  import { default as Plotly } from 'plotly.js-basic-dist';
2
+ import { GraphConfig } from '../types';
2
3
  import { StatsProps } from '../interfaces';
3
4
 
4
5
  interface BaseGraphProps {
5
6
  data: Plotly.Data[];
6
- title: string;
7
+ title?: string;
7
8
  xTitle?: string;
8
9
  yTitle?: string;
10
+ yAxisType?: string;
9
11
  legendTitle?: string;
10
12
  layout?: Record<string, unknown>;
11
13
  darkMode: boolean;
12
14
  uirevision: string;
13
15
  }
14
16
  interface GraphProps extends StatsProps {
15
- field: string;
16
- }
17
- interface GroupedGraphProps extends GraphProps {
18
- groupBy: string;
19
- groupMode?: string;
17
+ graphConfig: GraphConfig;
20
18
  }
21
19
  declare function BaseGraph(props: BaseGraphProps): import("react/jsx-runtime").JSX.Element;
22
20
  declare function ScatterGraph(props: GraphProps): import("react/jsx-runtime").JSX.Element;
23
21
  declare function BarGraph(props: GraphProps): import("react/jsx-runtime").JSX.Element;
24
22
  declare function PieGraph(props: GraphProps): import("react/jsx-runtime").JSX.Element;
25
- declare function GroupedScatterGraph(props: GroupedGraphProps): import("react/jsx-runtime").JSX.Element;
26
- declare function GroupedBarGraph(props: GroupedGraphProps): import("react/jsx-runtime").JSX.Element;
23
+ declare function GroupedScatterGraph(props: GraphProps): import("react/jsx-runtime").JSX.Element;
24
+ declare function GroupedBarGraph(props: GraphProps): import("react/jsx-runtime").JSX.Element;
27
25
  export { BaseGraph, ScatterGraph, BarGraph, PieGraph, GroupedScatterGraph, GroupedBarGraph, };
@@ -0,0 +1,12 @@
1
+ import { DataProps } from '../interfaces';
2
+
3
+ interface TransformsProps extends DataProps {
4
+ transform: string;
5
+ transformList: string[];
6
+ setTransformList: (value: string[]) => void;
7
+ filterFieldOptions: string[];
8
+ listFieldOptions: string[];
9
+ setEditMode: (value: boolean) => void;
10
+ }
11
+ declare function Transforms(props: TransformsProps): import("react/jsx-runtime").JSX.Element;
12
+ export default Transforms;