Skip to content

Commit

Permalink
Merge pull request #191 from jku-vds-lab/develop-cime
Browse files Browse the repository at this point in the history
Develop cime
  • Loading branch information
dvmoritzschoefl authored Dec 20, 2022
2 parents 7736dc7 + 98f1aca commit 76afbec
Show file tree
Hide file tree
Showing 97 changed files with 6,181 additions and 1,851 deletions.
8 changes: 5 additions & 3 deletions dist/Application.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import 'regenerator-runtime/runtime';
import './index.scss';
import * as React from 'react';
import { ConnectedProps } from 'react-redux';
import Split from 'react-split';
import { Dataset } from './model/Dataset';
import { BaseConfig, FeatureConfig, ComponentConfig } from './BaseConfig';
/**
Expand All @@ -18,11 +20,11 @@ declare const connector: import("react-redux").InferableComponentEnhancerWithPro
allIds: string[];
};
};
globalLabels: import(".").GlobalLabelsState;
} & {
setOpenTab: (openTab: any) => any;
setLineByOptions: (options: any) => any;
setGlobalPointBrightness: (value: any) => any;
setGenericFingerprintAttributes: (value: any) => any;
setGroupVisualizationMode: (value: any) => any;
setLineUpInput_visibility: (open: any) => any;
loadDataset: (dataset: Dataset) => any;
Expand All @@ -41,7 +43,7 @@ type Props = PropsFromRedux & {
*/
export declare const Application: import("react-redux").ConnectedComponent<{
new (props: any): {
splitRef: any;
splitRef: React.LegacyRef<Split>;
componentDidMount(): void;
/**
* Main callback when the dataset changes
Expand Down Expand Up @@ -74,5 +76,5 @@ export declare const Application: import("react-redux").ConnectedComponent<{
UNSAFE_componentWillUpdate?(nextProps: Readonly<Props>, nextState: Readonly<any>, nextContext: any): void;
};
contextType?: React.Context<any>;
}, import("react-redux").Omit<any, "openTab" | "dataset" | "hoverStateOrientation" | "datasetEntries" | "setOpenTab" | "setLineByOptions" | "setGlobalPointBrightness" | "setGenericFingerprintAttributes" | "setGroupVisualizationMode" | "setLineUpInput_visibility" | "loadDataset">>;
}, import("react-redux").Omit<any, "globalLabels" | "openTab" | "dataset" | "hoverStateOrientation" | "datasetEntries" | "setOpenTab" | "setLineByOptions" | "setGlobalPointBrightness" | "setGroupVisualizationMode" | "setLineUpInput_visibility" | "loadDataset">>;
export {};
26 changes: 19 additions & 7 deletions dist/BaseConfig.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { ConnectedComponent } from 'react-redux';
import { EncodingChannel } from './model/EncodingChannel';
import { EmbeddingController } from './components/DrawerTabPanels/EmbeddingTabPanel/EmbeddingController';
import { TypedObject } from './model';
export type BaseConfig = Partial<{
baseUrl: string;
preselect: Partial<{
Expand All @@ -12,6 +13,7 @@ export type EmbeddingMethod = {
id: string;
name: string;
settings: {
hideSettings?: boolean;
perplexity?: boolean;
learningRate?: boolean;
nneighbors?: boolean;
Expand All @@ -31,6 +33,14 @@ export declare const DEFAULT_EMBEDDINGS: {
name: string;
settings: {};
}[];
export type CoordinatesType = {
x: number;
y: number;
};
export type MouseInteractions = {
onmousemove?: (coordinates: CoordinatesType, event_used: boolean) => void;
onmouseclick?: (coordinates: CoordinatesType, event_used: boolean, button: number) => void;
};
export type FeatureConfig = Partial<{
embeddings: EmbeddingMethod[];
encodings: EncodingChannel[];
Expand All @@ -46,16 +56,18 @@ export type ComponentConfig = Partial<{
detailViews: Array<DetailViewSpec>;
layers: Array<LayerSpec>;
tabs: Array<TabSpec>;
contextMenuItems: Array<ContextMenuItem>;
contextMenuItems: Array<(props: {
handleClose: () => void;
pos_x: number;
pos_y: number;
menuTarget: TypedObject;
}) => JSX.Element>;
mouseInteractionCallbacks: MouseInteractions;
}>;
export type ContextMenuItem = {
key: string;
title: string;
function: (coords: any) => void;
};
export type DetailViewSpec = {
name: string;
view: () => JSX.Element;
view: JSX.Element | (() => JSX.Element) | ConnectedComponent<any, any>;
settings: JSX.Element | (() => JSX.Element) | ConnectedComponent<any, any>;
};
export type TabSpec = {
name: string;
Expand Down
1 change: 1 addition & 0 deletions dist/Theme.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {};
Loading

0 comments on commit 76afbec

Please sign in to comment.