{
5 | resizingFallback?: React.ReactNode;
6 | children: React.ReactNode | ((resizing: boolean) => React.ReactNode);
7 | hide?: boolean;
8 | }
9 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/ResizeElement/context.ts:
--------------------------------------------------------------------------------
1 | import * as React from 'react';
2 |
3 | const ResizeElementContext = React.createContext({
4 | resizing: false,
5 | });
6 |
7 | export default ResizeElementContext;
8 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/ResizingFallback/ResizingFallback.scss:
--------------------------------------------------------------------------------
1 | @use 'src/styles/abstracts' as *;
2 |
3 | .ResizingFallback {
4 | display: flex;
5 | width: 100%;
6 | height: 100%;
7 | flex-direction: column;
8 | align-items: center;
9 | justify-content: center;
10 | background-color: $primary-color-5;
11 | user-select: none;
12 | text-align: center;
13 | &__text {
14 | padding: $space-xxs $space-sm;
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/ResizingFallback/ResizingFallback.tsx:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 |
3 | import { Text } from 'components/kit';
4 |
5 | import './ResizingFallback.scss';
6 |
7 | function ResizingFallback() {
8 | return (
9 |
10 |
11 | Release to resize
12 |
13 |
14 | );
15 | }
16 |
17 | export default React.memo(ResizingFallback);
18 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/ResizingFallback/index.ts:
--------------------------------------------------------------------------------
1 | import ResizingFallback from './ResizingFallback';
2 |
3 | export default ResizingFallback;
4 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/RouteLeavingGuard/RouteLeavingGuard.d.ts:
--------------------------------------------------------------------------------
1 | export interface IRouteLeavingGuardProps {
2 | when: boolean;
3 | message?: string;
4 | confirmBtnText?: string;
5 | }
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/RouteLeavingGuard/index.ts:
--------------------------------------------------------------------------------
1 | import RouteLeavingGuard from './RouteLeavingGuard';
2 |
3 | export * from './RouteLeavingGuard.d';
4 |
5 | export default RouteLeavingGuard;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/RunCreatorBox/RunCreatorBox.d.ts:
--------------------------------------------------------------------------------
1 | export interface IRunCreatorBoxProps {
2 | creatorUsername?: string;
3 | }
4 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/RunCreatorBox/RunCreatorBox.scss:
--------------------------------------------------------------------------------
1 | @use 'src/styles/abstracts' as *;
2 |
3 | .RunCreatorBox {
4 | display: flex;
5 | align-items: center;
6 | &.isHidden {
7 | .MuiTypography-root {
8 | color: $primary-color;
9 | }
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/RunCreatorBox/index.ts:
--------------------------------------------------------------------------------
1 | import RunCreatorBox from './RunCreatorBox';
2 |
3 | export * from './RunCreatorBox.d';
4 |
5 | export default RunCreatorBox;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/ScatterPlot/index.ts:
--------------------------------------------------------------------------------
1 | import ScatterPlot from './ScatterPlot';
2 |
3 | export * from './types.d';
4 | export * from './ScatterPlot';
5 |
6 | export default ScatterPlot;
7 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/SliderWithInput/index.ts:
--------------------------------------------------------------------------------
1 | import SliderWithInput from './SliderWithInput';
2 |
3 | export * from './types.d';
4 |
5 | export default SliderWithInput;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/SmoothingPopover/SmoothingPopover.scss:
--------------------------------------------------------------------------------
1 | @use 'src/styles/abstracts' as *;
2 |
3 | .SmoothingPopover {
4 | width: 24.5rem;
5 | padding: $space-xs;
6 | &__Divider {
7 | margin: $space-xs 0;
8 | }
9 |
10 | &__subtitle {
11 | text-transform: uppercase;
12 | padding: $space-xs $space-xs;
13 | }
14 | &__ToggleButton {
15 | padding: 0 $space-xs;
16 | }
17 |
18 | &__Slider {
19 | margin: 0 $space-xs;
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/SplitPane/SplitPane.d.ts:
--------------------------------------------------------------------------------
1 | import { SplitProps } from 'react-split';
2 |
3 | interface SplitPaneProps extends SplitProps {
4 | resizing?: boolean;
5 | useLocalStorage?: boolean;
6 | }
7 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/SplitPane/SplitPaneItem.d.ts:
--------------------------------------------------------------------------------
1 | import * as React from 'react';
2 |
3 | export interface SplitPaneItemProps extends React.HTMLAttributes {
4 | resizingFallback?: React.ReactNode;
5 | children: React.ReactNode | ((resizing: boolean) => React.ReactNode);
6 | hide?: boolean;
7 | }
8 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/SplitPane/context.ts:
--------------------------------------------------------------------------------
1 | import * as React from 'react';
2 |
3 | const SplitPaneContext = React.createContext({
4 | resizing: false,
5 | });
6 |
7 | export default SplitPaneContext;
8 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/SplitPane/index.ts:
--------------------------------------------------------------------------------
1 | import SplitPane from './SplitPane';
2 | import SplitPaneItem from './SplitPaneItem';
3 | import SplitPaneContext from './context';
4 |
5 | export * from './SplitPane.d';
6 | export * from './SplitPaneItem.d';
7 |
8 | export { SplitPaneItem, SplitPaneContext };
9 |
10 | export default SplitPane;
11 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/StatisticsBar/index.ts:
--------------------------------------------------------------------------------
1 | import StatisticsBar from './StatisticsBar';
2 |
3 | export * from './StatisticsBar.d';
4 |
5 | export default StatisticsBar;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/StatisticsCard/index.ts:
--------------------------------------------------------------------------------
1 | import StatisticsCard from './StatisticsCard';
2 |
3 | export * from './StatisticsCard.d';
4 |
5 | export default StatisticsCard;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/StatusLabel/index.ts:
--------------------------------------------------------------------------------
1 | import StatusLabel from './StatusLabel';
2 |
3 | export * from './types.d';
4 | export * from './StatusLabel';
5 |
6 | export default StatusLabel;
7 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/StatusLabel/types.d.ts:
--------------------------------------------------------------------------------
1 | export interface IStatusLabelProps {
2 | title?: string;
3 | className?: string;
4 | status?: 'success' | 'alert' | 'warning' | 'error';
5 | disabled?: boolean;
6 | }
7 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/Table/SortOrder.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * Sort order for BaseTable
3 | */
4 | const SortOrder = {
5 | /**
6 | * Sort data in ascending order
7 | */
8 | ASC: 'asc',
9 | /**
10 | * Sort data in descending order
11 | */
12 | DESC: 'desc',
13 | };
14 |
15 | export default SortOrder;
16 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/TableLoader/TableLoader.scss:
--------------------------------------------------------------------------------
1 | .TableLoader__container {
2 | height: 100%;
3 | width: 100%;
4 | display: flex;
5 | flex-direction: column;
6 | padding: 0 1.5rem;
7 | }
8 | .TableLoader__raw {
9 | display: flex;
10 | height: 2.5rem;
11 | .MuiSkeleton-root {
12 | margin-right: 2rem;
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/TrendlineOptionsPopover/TrendlineOptionsPopover.d.ts:
--------------------------------------------------------------------------------
1 | import { ITrendlineOptions } from 'types/services/models/scatter/scatterAppModel';
2 |
3 | export interface ITrendlineOptionsPopoverProps {
4 | trendlineOptions: ITrendlineOptions;
5 | onChangeTrendlineOptions: (options: Partial) => void;
6 | }
7 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/TrendlineOptionsPopover/index.ts:
--------------------------------------------------------------------------------
1 | import TrendlineOptionsPopover from './TrendlineOptionsPopover';
2 |
3 | export default TrendlineOptionsPopover;
4 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/VisualizationLegends/index.ts:
--------------------------------------------------------------------------------
1 | import VisualizationLegends from './VisualizationLegends';
2 |
3 | export * from './VisualizationLegends.d';
4 |
5 | export default VisualizationLegends;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/VisualizationTooltip/index.ts:
--------------------------------------------------------------------------------
1 | import VisualizationTooltip from './VisualizationTooltip';
2 |
3 | export * from './VisualizationTooltip.d';
4 |
5 | export default VisualizationTooltip;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/ZoomInPopover/ZoomInPopover.scss:
--------------------------------------------------------------------------------
1 | .ZoomInPopover {
2 | width: 16.5rem;
3 | padding: 0.5rem;
4 | }
5 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/ZoomOutPopover/ZoomOutPopover.scss:
--------------------------------------------------------------------------------
1 | .ZoomOutPopover {
2 | width: 16.5rem;
3 | padding: 0.5rem;
4 | }
5 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit/ActionCard/ActionCard.d.ts:
--------------------------------------------------------------------------------
1 | import { TooltipProps } from '@material-ui/core/Tooltip';
2 |
3 | import { IButtonProps } from 'components/kit';
4 |
5 | export interface IActionCardProps {
6 | title: string;
7 | description: string;
8 | btnTooltip: TooltipProps['title'];
9 | btnText: string;
10 | onAction: () => void;
11 | btnProps: IButtonProps;
12 | }
13 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit/ActionCard/index.tsx:
--------------------------------------------------------------------------------
1 | import ActionCard from './ActionCard';
2 | export * from './ActionCard.d';
3 |
4 | export default ActionCard;
5 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit/AlertBanner/AlertBanner.d.ts:
--------------------------------------------------------------------------------
1 | import { IconName } from 'components/kit/Icon/Icon';
2 |
3 | type AlertBannerType = 'warning' | 'info' | 'error' | 'success';
4 |
5 | export interface IAlertBannerProps {
6 | children?: React.ReactNode;
7 | type: AlertBannerType;
8 | visibilityDuration?: number;
9 | isVisiblePermanently?: boolean;
10 | }
11 |
12 | export interface ITypeMetadata {
13 | cssClassName: string;
14 | iconName: IconName;
15 | }
16 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit/AlertBanner/index.ts:
--------------------------------------------------------------------------------
1 | import AlertBanner from './AlertBanner';
2 |
3 | export * from './AlertBanner.d';
4 |
5 | export default AlertBanner;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit/AudioBox/AudioBox.d.ts:
--------------------------------------------------------------------------------
1 | export interface IAudioBoxProps {
2 | data: any;
3 | additionalProperties: any;
4 | style: any;
5 | }
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit/AudioBox/index.ts:
--------------------------------------------------------------------------------
1 | import AudioBox from './AudioBox';
2 |
3 | export * from './AudioBox.d';
4 |
5 | export default AudioBox;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit/AutoSuggestions/AutoSuggestions.d.ts:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 |
3 | export interface IAutoSuggestionsProps {
4 | suggestionsList: string[];
5 | suggestionsPosition: { left: number; top: number };
6 | suggestionsRef: React.RefObject;
7 | inputRef: React.MutableRefObject;
8 | onSuggestionClick: (suggestion: string) => void;
9 | setSuggestionsList: (list: string[]) => void;
10 | }
11 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit/AutoSuggestions/index.ts:
--------------------------------------------------------------------------------
1 | import AutoSuggestions from './AutoSuggestions';
2 | export * from './AutoSuggestions.d';
3 |
4 | export default AutoSuggestions;
5 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit/Badge/index.ts:
--------------------------------------------------------------------------------
1 | import Badge from './Badge';
2 | export * from './Badge.d';
3 |
4 | export default Badge;
5 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit/Button/Button.d.ts:
--------------------------------------------------------------------------------
1 | import { ButtonProps } from '@material-ui/core/Button';
2 |
3 | export interface IButtonProps extends ButtonProps {
4 | withOnlyIcon?: boolean;
5 | size?: ButtonProps['size'] | 'xSmall' | 'xxSmall';
6 | }
7 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit/Button/index.ts:
--------------------------------------------------------------------------------
1 | import Button from './Button';
2 | export * from './Button.d';
3 |
4 | export default Button;
5 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit/Card/index.tsx:
--------------------------------------------------------------------------------
1 | import Card from './Card';
2 |
3 | export * from './Card';
4 |
5 | export default Card;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit/DataList/SearchBar/index.ts:
--------------------------------------------------------------------------------
1 | import SearchBar from './SearchBar';
2 |
3 | export default SearchBar;
4 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit/DataList/index.tsx:
--------------------------------------------------------------------------------
1 | import DataList from './DataList';
2 |
3 | export * from './DataList.d';
4 |
5 | export default DataList;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit/DictVisualizer/index.ts:
--------------------------------------------------------------------------------
1 | import DictVisualizer from './DictVisualizer';
2 |
3 | export * from './DictVisualizer.d';
4 |
5 | export default DictVisualizer;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit/Dropdown/config.ts:
--------------------------------------------------------------------------------
1 | const baseSizes = {
2 | small: '1.75rem',
3 | medium: '2rem',
4 | large: '2.25rem',
5 | };
6 |
7 | const indicatorsContainerSizes = {
8 | small: '1.625rem',
9 | medium: '1.875rem',
10 | large: '2.125rem',
11 | };
12 |
13 | const labelTopPosition = {
14 | small: '0.59375rem',
15 | medium: '0.46875rem',
16 | large: '0.59375rem',
17 | };
18 |
19 | export { baseSizes, labelTopPosition, indicatorsContainerSizes };
20 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit/Dropdown/index.ts:
--------------------------------------------------------------------------------
1 | import Dropdown from './Dropdown';
2 | export * from './Dropdown.d';
3 |
4 | export default Dropdown;
5 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit/Icon/Icon.scss:
--------------------------------------------------------------------------------
1 | @use 'styles/abstracts/index' as *;
2 |
3 | .Icon {
4 | &__box {
5 | min-width: 1.5rem;
6 | min-height: 1.5rem;
7 | display: flex;
8 | align-items: center;
9 | justify-content: center;
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit/Icon/index.ts:
--------------------------------------------------------------------------------
1 | import Icon from './Icon';
2 |
3 | export * from './Icon.d';
4 | export default Icon;
5 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit/Input/index.tsx:
--------------------------------------------------------------------------------
1 | import Input from './Input';
2 |
3 | export * from './Input.d';
4 |
5 | export default Input;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit/JsonViewPopover/index.ts:
--------------------------------------------------------------------------------
1 | import JsonViewPopover from './JsonViewPopover';
2 |
3 | export * from './types.d';
4 | export * from './JsonViewPopover';
5 |
6 | export default JsonViewPopover;
7 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit/JsonViewPopover/styles.scss:
--------------------------------------------------------------------------------
1 | @use 'src/styles/abstracts' as *;
2 |
3 | .JsonViewPopover {
4 | display: flex;
5 | justify-content: center;
6 | align-items: center;
7 | padding: $space-unit;
8 | }
9 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit/JsonViewPopover/types.d.ts:
--------------------------------------------------------------------------------
1 | export interface IJsonViewPopoverProps {
2 | json: object;
3 | dictVisualizerSize?: {
4 | width: number;
5 | height: number;
6 | };
7 | }
8 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit/ListItem/Index.ts:
--------------------------------------------------------------------------------
1 | import ListItem from './ListItem';
2 |
3 | export * from './ListItem';
4 |
5 | export default ListItem;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit/ListItem/ListItem.d.ts:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 |
3 | export interface IListItemProps
4 | extends Partial> {
5 | className?: string;
6 | children?: React.ReactNode;
7 | size?: IListITemSize;
8 | onClick?: (event: React.MouseEvent) => void;
9 | }
10 |
11 | export type IListITemSize = 'small' | 'medium' | 'large';
12 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit/Menu/index.ts:
--------------------------------------------------------------------------------
1 | import Menu from './Menu';
2 | import Item from './MenuItem';
3 |
4 | export * from './Menu';
5 | export * from './types.d';
6 |
7 | export const MenuItem = Item;
8 | export default Menu;
9 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit/Modal/index.tsx:
--------------------------------------------------------------------------------
1 | import Modal from './Modal';
2 |
3 | export * from './Modal.d';
4 |
5 | export default Modal;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit/SelectDropdown/index.tsx:
--------------------------------------------------------------------------------
1 | import SelectDropdown from './SelectDropdown';
2 |
3 | export * from './SelectDropdown.d';
4 |
5 | export default SelectDropdown;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit/Slider/Slider.d.ts:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 |
3 | import { SliderProps } from '@material-ui/core';
4 |
5 | export interface ISliderProps extends SliderProps {
6 | containerClassName?: string;
7 | style?: React.CSSProperties;
8 | onChange?: (event: React.ChangeEvent<{}>, value: number | number[]) => void;
9 | prevIconNode?: React.ReactNode;
10 | nextIconNode?: React.ReactNode;
11 | label?: React.ReactNode;
12 | }
13 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit/Slider/index.ts:
--------------------------------------------------------------------------------
1 | import Slider from './Slider';
2 |
3 | export * from './Slider.d';
4 |
5 | export default Slider;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit/Spinner/Spinner.d.ts:
--------------------------------------------------------------------------------
1 | export interface ISpinnerProps {
2 | className?: string;
3 | style?: React.StyleHTMLAttributes;
4 | size?: number | string;
5 | thickness?: number;
6 | color?: string;
7 | }
8 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit/Spinner/index.tsx:
--------------------------------------------------------------------------------
1 | import Spinner from './Spinner';
2 |
3 | export * from './Spinner.d';
4 |
5 | export default Spinner;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit/Switcher/index.ts:
--------------------------------------------------------------------------------
1 | import Switcher from './Switcher';
2 |
3 | export * from './Switcher.d';
4 | export default Switcher;
5 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit/Test/__snapshots__/Test.test.tsx.snap:
--------------------------------------------------------------------------------
1 | // Jest Snapshot v1, https://goo.gl/fbAQLP
2 |
3 | exports[` - Renders without crashing 1`] = `
4 |
5 |
8 |
11 | Test Title 1
12 |
13 |
14 |
15 | `;
16 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit/Test/index.ts:
--------------------------------------------------------------------------------
1 | import Test from './Test';
2 |
3 | export * from './types.d';
4 | export * from './Test';
5 |
6 | export default Test;
7 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit/Test/styles.scss:
--------------------------------------------------------------------------------
1 | @use 'src/styles/abstracts' as *;
2 |
3 | .Test {
4 | display: flex;
5 | justify-content: center;
6 | align-items: center;
7 | }
8 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit/Test/types.d.ts:
--------------------------------------------------------------------------------
1 | export interface ITestProps {
2 | title: string;
3 | }
4 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit/Text/index.ts:
--------------------------------------------------------------------------------
1 | import Text from './Text';
2 | export * from './Text.d';
3 | export default Text;
4 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit/ToggleButton/ToggleButton.d.ts:
--------------------------------------------------------------------------------
1 | import { ButtonProps } from '@material-ui/core';
2 |
3 | export default interface IToggleButtonProps extends ButtonProps {
4 | onChange: (value: string | number | any, id?: string | number | any) => void;
5 | id?: string | undefined;
6 | leftLabel: string;
7 | rightLabel: string;
8 | leftValue: number | string;
9 | rightValue: number | string;
10 | value: string | number;
11 | title: string;
12 | }
13 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit/ToggleButton/index.ts:
--------------------------------------------------------------------------------
1 | import ToggleButton from './ToggleButton';
2 |
3 | export * from './ToggleButton.d';
4 | export default ToggleButton;
5 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit_v2/AudioPlayer/AudioPlayer.d.ts:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 |
3 | export interface AudioPlayerProps extends React.HTMLProps {
4 | audioRef: React.MutableRefObject;
5 | src: string;
6 | isPlaying: boolean;
7 | processing: boolean;
8 | onDownload?: () => void;
9 | caption?: string;
10 | readyToPlay: boolean;
11 | onEnded: () => void;
12 | onCanPlay: () => void;
13 | onPlay: () => void;
14 | onPause: () => void;
15 | }
16 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit_v2/AudioPlayer/AudioPlayerProgress/AudioPlayerProgress.d.ts:
--------------------------------------------------------------------------------
1 | export interface AudioPlayerProgressProps {
2 | audio: HTMLAudioElement;
3 | isPlaying: boolean;
4 | src: string;
5 | disabled?: boolean;
6 | }
7 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit_v2/AudioPlayer/AudioPlayerProgress/index.ts:
--------------------------------------------------------------------------------
1 | import AudioPlayerProgress from './AudioPlayerProgress';
2 |
3 | export * from './AudioPlayerProgress.d';
4 |
5 | export default AudioPlayerProgress;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit_v2/AudioPlayer/AudioPlayerVolume/AudioPlayerVolume.d.ts:
--------------------------------------------------------------------------------
1 | export interface AudioPlayerVolumeProps {
2 | audio: HTMLAudioElement;
3 | }
4 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit_v2/AudioPlayer/AudioPlayerVolume/index.ts:
--------------------------------------------------------------------------------
1 | import AudioPlayerVolume from './AudioPlayerVolume';
2 |
3 | export * from './AudioPlayerVolume.d';
4 |
5 | export default AudioPlayerVolume;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit_v2/AudioPlayer/index.ts:
--------------------------------------------------------------------------------
1 | import AudioPlayer from './AudioPlayer';
2 | import AudioPlayerProgress from './AudioPlayerProgress';
3 | import AudioPlayerVolume from './AudioPlayerVolume';
4 |
5 | export * from './AudioPlayer.d';
6 |
7 | export { AudioPlayerProgress, AudioPlayerVolume };
8 | export default AudioPlayer;
9 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit_v2/Badge/index.ts:
--------------------------------------------------------------------------------
1 | import Badge from './Badge';
2 |
3 | export * from './Badge';
4 | export default Badge;
5 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit_v2/Box/index.ts:
--------------------------------------------------------------------------------
1 | import Box from './Box';
2 |
3 | export * from './Box.d';
4 | export default Box;
5 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit_v2/Breadcrumb/index.ts:
--------------------------------------------------------------------------------
1 | import Breadcrumb from './Breadcrumb';
2 |
3 | export * from './Breadcrumb.style';
4 | export default Breadcrumb;
5 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit_v2/Button/index.ts:
--------------------------------------------------------------------------------
1 | import Button from './Button';
2 |
3 | export * from './Button.d';
4 | export default Button;
5 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit_v2/ButtonGroup/ButtonGroup.d.ts:
--------------------------------------------------------------------------------
1 | import { IButtonProps } from '../Button';
2 |
3 | export interface IButtonGroupProps extends IButtonProps {}
4 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit_v2/ButtonGroup/index.ts:
--------------------------------------------------------------------------------
1 | import ButtonGroup from './ButtonGroup';
2 |
3 | export * from './ButtonGroup.d';
4 | export default ButtonGroup;
5 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit_v2/Checkbox/index.ts:
--------------------------------------------------------------------------------
1 | import Checkbox from './Checkbox';
2 |
3 | export * from './Checkbox.d';
4 | export default Checkbox;
5 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit_v2/ControlsButton/index.ts:
--------------------------------------------------------------------------------
1 | import ControlsButton from './ControlsButton';
2 |
3 | export * from './ControlsButton';
4 | export default ControlsButton;
5 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit_v2/Dialog/index.ts:
--------------------------------------------------------------------------------
1 | import Dialog from './Dialog';
2 |
3 | export * from './Dialog.d';
4 | export default Dialog;
5 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit_v2/FormGroup/FormGroup.d.ts:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 |
3 | export interface IFormGroupProps {
4 | data: {
5 | sectionFields: FormGroupSectionDataType[];
6 | }[];
7 | }
8 |
9 | export type FormGroupSectionDataType = {
10 | content: string | number | React.ReactNode;
11 | control?: React.ReactNode;
12 | actions?: { component: React.ReactNode }[];
13 | };
14 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit_v2/FormGroup/index.ts:
--------------------------------------------------------------------------------
1 | import FormGroup from './FormGroup';
2 |
3 | export * from './FormGroup.d';
4 | export default FormGroup;
5 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit_v2/Icon/index.ts:
--------------------------------------------------------------------------------
1 | import Icon from './Icon';
2 |
3 | export * from './Icon.d';
4 | export default Icon;
5 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit_v2/IconButton/__snapshots__/IconButton.test.tsx.snap:
--------------------------------------------------------------------------------
1 | // Jest Snapshot v1, https://goo.gl/fbAQLP
2 |
3 | exports[` Renders Correctly 1`] = `
4 |
5 |
13 |
14 | `;
15 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit_v2/IconButton/index.ts:
--------------------------------------------------------------------------------
1 | import IconButton from './IconButton';
2 |
3 | export * from './IconButton.d';
4 | export default IconButton;
5 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit_v2/Input/index.ts:
--------------------------------------------------------------------------------
1 | import Input from './Input';
2 |
3 | export * from './Input.d';
4 | export default Input;
5 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit_v2/Link/index.ts:
--------------------------------------------------------------------------------
1 | import Link from './Link';
2 |
3 | export * from './Link.d';
4 | export default Link;
5 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit_v2/ListItem/index.ts:
--------------------------------------------------------------------------------
1 | import ListItem from './ListItem';
2 |
3 | export * from './ListItem.d';
4 | export default ListItem;
5 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit_v2/Popover/index.ts:
--------------------------------------------------------------------------------
1 | import Popover from './Popover';
2 |
3 | export default Popover;
4 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit_v2/QueryBadge/index.ts:
--------------------------------------------------------------------------------
1 | import QueryBadge from './QueryBadge';
2 |
3 | export * from './QueryBadge.d';
4 | export default QueryBadge;
5 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit_v2/Radio/index.ts:
--------------------------------------------------------------------------------
1 | import RadioItem, { RadioGroup } from './Radio';
2 |
3 | export * from './Radio.d';
4 |
5 | export { RadioGroup };
6 | export default RadioItem;
7 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit_v2/Select/index.ts:
--------------------------------------------------------------------------------
1 | import Select from './Select';
2 |
3 | export * from './Select.d';
4 | export default Select;
5 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit_v2/Separator/Separator.style.ts:
--------------------------------------------------------------------------------
1 | import * as Separator from '@radix-ui/react-separator';
2 |
3 | import { styled } from 'config/stitches';
4 |
5 | export const SeparatorRoot: any = styled(Separator.Root, {
6 | '&[data-orientation=horizontal]': { minHeight: 1, width: '100%' },
7 | '&[data-orientation=vertical]': { height: 'inherit', minWidth: 1 },
8 | });
9 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit_v2/Separator/__snapshots__/Separator.test.tsx.snap:
--------------------------------------------------------------------------------
1 | // Jest Snapshot v1, https://goo.gl/fbAQLP
2 |
3 | exports[` Renders Correctly 1`] = `
4 |
5 |
11 |
12 | `;
13 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit_v2/Separator/index.ts:
--------------------------------------------------------------------------------
1 | import Separator from './Separator';
2 |
3 | export * from './Separator.d';
4 | export default Separator;
5 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit_v2/Slider/index.ts:
--------------------------------------------------------------------------------
1 | import Slider from './Slider';
2 |
3 | export * from './Slider.d';
4 | export default Slider;
5 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit_v2/Switch/index.ts:
--------------------------------------------------------------------------------
1 | import Switch from './Switch';
2 |
3 | export * from './Switch.d';
4 | export default Switch;
5 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit_v2/Table/components/index.ts:
--------------------------------------------------------------------------------
1 | import TableHeader from './TableHeader';
2 | import TableBody from './TableBody';
3 | import TableFooter from './TableFooter';
4 | import TableHead from './TableHead';
5 | import TableRow from './TableRow';
6 | import TableCell from './TableCell';
7 |
8 | export { TableHeader, TableBody, TableFooter, TableHead, TableRow, TableCell };
9 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit_v2/Table/index.ts:
--------------------------------------------------------------------------------
1 | import Table from './Table';
2 |
3 | export * from './Table.d';
4 | export default Table;
5 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit_v2/Tabs/index.ts:
--------------------------------------------------------------------------------
1 | import Tabs from './Tabs';
2 |
3 | export * from './Tabs.d';
4 | export default Tabs;
5 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit_v2/Text/index.ts:
--------------------------------------------------------------------------------
1 | import Text from './Text';
2 |
3 | export * from './Text.d';
4 | export default Text;
5 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit_v2/Textarea/index.ts:
--------------------------------------------------------------------------------
1 | import Textarea from './Textarea';
2 |
3 | export * from './Textarea.d';
4 | export default Textarea;
5 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit_v2/Toast/index.ts:
--------------------------------------------------------------------------------
1 | import Toast from './Toast';
2 | import ToastProvider from './ToastProvider';
3 |
4 | export * from './Toast.d';
5 | export { Toast, ToastProvider };
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit_v2/ToggleButton/ToggleButton.style.ts:
--------------------------------------------------------------------------------
1 | import { styled } from 'config/stitches';
2 |
3 | export const Container = styled('div', {
4 | display: 'flex',
5 | width: 'fit-content',
6 | br: '$3',
7 | bs: 'inset 0 0 0 1px $colors$border-default-neutral-gentle',
8 | userSelect: 'none',
9 | });
10 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit_v2/ToggleButton/index.ts:
--------------------------------------------------------------------------------
1 | import ToggleButton from './ToggleButton';
2 |
3 | export * from './ToggleButton.d';
4 | export default ToggleButton;
5 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit_v2/Tooltip/Tooltip.test.tsx:
--------------------------------------------------------------------------------
1 | import { render } from '@testing-library/react';
2 |
3 | import Tooltip from './Tooltip';
4 |
5 | // Test of Tooltip component
6 | describe('Hover', () => {
7 | test('Renders Correctly', () => {
8 | const { asFragment } = render(Hover);
9 | expect(asFragment()).toMatchSnapshot();
10 | });
11 | });
12 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit_v2/Tooltip/__snapshots__/Tooltip.test.tsx.snap:
--------------------------------------------------------------------------------
1 | // Jest Snapshot v1, https://goo.gl/fbAQLP
2 |
3 | exports[`Hover Renders Correctly 1`] = ``;
4 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit_v2/Tooltip/index.ts:
--------------------------------------------------------------------------------
1 | import Tooltip from './Tooltip';
2 |
3 | export default Tooltip;
4 |
--------------------------------------------------------------------------------
/aim/web/ui/src/components/kit_v2/Tree/index.ts:
--------------------------------------------------------------------------------
1 | import Tree from './Tree';
2 |
3 | export * from './Tree.d';
4 | export default Tree;
5 |
--------------------------------------------------------------------------------
/aim/web/ui/src/config/dash-arrays/dashArrays.ts:
--------------------------------------------------------------------------------
1 | const DASH_ARRAYS: string[] = [
2 | 'none',
3 | '5 5',
4 | '10 5 5 5',
5 | '10 5 5 5 5 5',
6 | '10 5 5 5 5 5 5 5',
7 | '20 5 10 5',
8 | '20 5 10 5 10 5',
9 | '20 5 10 5 10 5 5 5',
10 | '20 5 10 5 5 5 5 5',
11 | ];
12 |
13 | export default DASH_ARRAYS;
14 |
--------------------------------------------------------------------------------
/aim/web/ui/src/config/enums/densityEnum.ts:
--------------------------------------------------------------------------------
1 | export enum DensityOptions {
2 | Minimum = 50,
3 | Medium = 250,
4 | Maximum = 500,
5 | }
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/config/enums/imageEnums.ts:
--------------------------------------------------------------------------------
1 | enum ImageRenderingEnum {
2 | Smooth = 'smooth',
3 | Pixelated = 'pixelated',
4 | }
5 |
6 | enum MediaItemAlignmentEnum {
7 | Original = 'Original',
8 | Width = 'Width',
9 | Height = 'Height',
10 | }
11 |
12 | export { ImageRenderingEnum, MediaItemAlignmentEnum };
13 |
--------------------------------------------------------------------------------
/aim/web/ui/src/config/enums/requestStatusEnum.ts:
--------------------------------------------------------------------------------
1 | export enum RequestStatusEnum {
2 | Pending = 'Pending',
3 | NotRequested = 'Not Requested',
4 | Ok = 'Ok',
5 | BadRequest = 'Bad Request',
6 | }
7 |
--------------------------------------------------------------------------------
/aim/web/ui/src/config/stitches/global.ts:
--------------------------------------------------------------------------------
1 | export const globalStyles: {} = {
2 | '*': {
3 | margin: 0,
4 | padding: 0,
5 | boxSizing: 'border-box',
6 | '&:focus-visible': {
7 | outline: 'none',
8 | },
9 | },
10 | };
11 |
--------------------------------------------------------------------------------
/aim/web/ui/src/config/stitches/media.ts:
--------------------------------------------------------------------------------
1 | import { ConfigType } from '@stitches/react/types/config';
2 |
3 | export const media: ConfigType.Media = {
4 | bp1: '(min-width: 520px)',
5 | bp2: '(min-width: 900px)',
6 | bp3: '(min-width: 1200px)',
7 | bp4: '(min-width: 1800px)',
8 | motion: '(prefers-reduced-motion)',
9 | hover: '(any-hover: hover)',
10 | dark: '(prefers-color-scheme: dark)',
11 | light: '(prefers-color-scheme: light)',
12 | };
13 |
--------------------------------------------------------------------------------
/aim/web/ui/src/hooks/window/index.ts:
--------------------------------------------------------------------------------
1 | import useWindowResize from './useWindowResize';
2 | import useAnimationFrame from './useAnimationFrame';
3 | import useResizeObserver from './useResizeObserver';
4 |
5 | export { useWindowResize, useAnimationFrame, useResizeObserver };
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/hooks/window/useAnimationFrame.ts:
--------------------------------------------------------------------------------
1 | import { useEffect } from 'react';
2 |
3 | const useAnimationFrame = (memoizedFnWithDeps: () => void): void => {
4 | useEffect(() => {
5 | const animationId = window.requestAnimationFrame(memoizedFnWithDeps);
6 | return () => {
7 | window.cancelAnimationFrame(animationId);
8 | };
9 | }, [memoizedFnWithDeps]);
10 | };
11 |
12 | export default useAnimationFrame;
13 |
--------------------------------------------------------------------------------
/aim/web/ui/src/hooks/window/useWindowResize.ts:
--------------------------------------------------------------------------------
1 | import { useEffect } from 'react';
2 |
3 | const useWindowResize = (memoizedFnWithDeps: () => void): void => {
4 | useEffect(() => {
5 | const animationId = () => window.requestAnimationFrame(memoizedFnWithDeps);
6 | window.addEventListener('resize', animationId);
7 | return () => {
8 | window.removeEventListener('resize', animationId);
9 | };
10 | }, [memoizedFnWithDeps]);
11 | };
12 |
13 | export default useWindowResize;
14 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/README.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aimhubio/aim/753f4b18437b8288e1c6f7c894c14a33cba9e7d0/aim/web/ui/src/modules/BaseExplorer/README.md
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/AudioBox/AudioBox.d.ts:
--------------------------------------------------------------------------------
1 | export interface IAudioBoxProgressProps {
2 | audio: HTMLAudioElement;
3 | isPlaying: boolean;
4 | src: string;
5 | disabled?: boolean;
6 | }
7 |
8 | export interface IAudioBoxVolumeProps {
9 | audio: HTMLAudioElement;
10 | }
11 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/AudioBox/index.tsx:
--------------------------------------------------------------------------------
1 | import AudioBox from './AudioBox';
2 |
3 | export * from './AudioBox.d';
4 |
5 | export default AudioBox;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/BoxFullViewPopover/BoxFullViewPopover.d.ts:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 |
3 | import { AimFlatObjectBase } from 'types/core/AimObjects';
4 |
5 | import { IGroupInfo } from '../../types';
6 |
7 | export interface IBoxFullViewPopoverProps {
8 | onClose: () => void;
9 | item: AimFlatObjectBase;
10 | children: React.ReactNode;
11 | sequenceName: string;
12 | itemGroupInfo: Record;
13 | }
14 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/BoxFullViewPopover/index.ts:
--------------------------------------------------------------------------------
1 | import BoxFullViewPopover from './BoxFullViewPopover';
2 |
3 | export * from './BoxFullViewPopover.d';
4 |
5 | export default BoxFullViewPopover;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/BoxVirtualizer/index.ts:
--------------------------------------------------------------------------------
1 | import BoxVirtualizer from './BoxVirtualizer';
2 |
3 | export * from './BoxVirtualizer.d';
4 |
5 | export default BoxVirtualizer;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/BoxWrapper/index.ts:
--------------------------------------------------------------------------------
1 | import BoxWrapper from './BoxWrapper';
2 |
3 | export * from './BoxWrapper.d';
4 |
5 | export default BoxWrapper;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/CaptionBox/CaptionBox.d.ts:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 |
3 | import { IBaseComponentProps } from 'modules/BaseExplorer/types';
4 |
5 | export interface ICaptionBoxProps extends IBaseComponentProps {
6 | captionBoxRef: React.RefObject;
7 | item: any;
8 | visualizationName: string;
9 | }
10 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/CaptionBox/CaptionBox.scss:
--------------------------------------------------------------------------------
1 | @use 'src/styles/abstracts' as *;
2 |
3 | .CaptionBox {
4 | padding: $space-xs $space-unit;
5 | width: calc(100% - 1px);
6 | border-top: 1px solid $pico-10;
7 | overflow: auto;
8 | max-height: 30%;
9 | background-color: $cuddle-10;
10 | margin-bottom: 1px;
11 | }
12 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/CaptionBox/index.ts:
--------------------------------------------------------------------------------
1 | import CaptionBox from './CaptionBox';
2 |
3 | export * from './CaptionBox.d';
4 |
5 | export default CaptionBox;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Controls/Aggregation/Popover/AggregationPopover.d.ts:
--------------------------------------------------------------------------------
1 | import { IBaseComponentProps } from 'modules/BaseExplorer/types';
2 |
3 | export interface IAggregationPopoverProps extends IBaseComponentProps {
4 | visualizationName: string;
5 | }
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Controls/Aggregation/Popover/AggregationPopover.scss:
--------------------------------------------------------------------------------
1 | @use 'src/styles/abstracts' as *;
2 |
3 | .AggregationPopover {
4 | padding: $space-xs;
5 | &__divider {
6 | margin: $space-xs 0;
7 | }
8 | &__subtitle {
9 | padding-block: $space-xs;
10 | text-transform: uppercase;
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Controls/Aggregation/Popover/index.ts:
--------------------------------------------------------------------------------
1 | import AggregationPopover from './AggregationPopover';
2 |
3 | export * from './AggregationPopover.d';
4 |
5 | export default AggregationPopover;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Controls/Aggregation/index.ts:
--------------------------------------------------------------------------------
1 | import Aggregation from './Aggregation';
2 |
3 | export * from './Aggregation.d';
4 |
5 | export default Aggregation;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Controls/BoxProperties/BoxProperties.d.ts:
--------------------------------------------------------------------------------
1 | import { IBaseComponentProps } from 'modules/BaseExplorer/types';
2 |
3 | export interface IBoxPropertiesProps extends IBaseComponentProps {
4 | visualizationName: string;
5 | }
6 |
7 | export interface IBoxConfigState {
8 | isInitial: boolean;
9 | width: number;
10 | height: number;
11 | gap: number;
12 | }
13 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Controls/BoxProperties/Popover/index.tsx:
--------------------------------------------------------------------------------
1 | import BoxPropertiesPopover from './BoxPropertiesPopover';
2 |
3 | export * from './BoxPropertiesPopover.d';
4 |
5 | export default BoxPropertiesPopover;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Controls/BoxProperties/index.tsx:
--------------------------------------------------------------------------------
1 | import BoxProperties from './BoxProperties';
2 |
3 | export * from './BoxProperties.d';
4 |
5 | export default BoxProperties;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Controls/CaptionProperties/CaptionPropertiesPopover/CaptionPropertiesPopover.d.ts:
--------------------------------------------------------------------------------
1 | import { IBaseComponentProps } from 'modules/BaseExplorer/types';
2 |
3 | import { ICaptionProperties } from '../';
4 |
5 | export interface ICaptionPropertiesPopoverProps extends IBaseComponentProps {
6 | captionProperties: ICaptionProperties;
7 | visualizationName: string;
8 | }
9 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Controls/CaptionProperties/CaptionPropertiesPopover/index.ts:
--------------------------------------------------------------------------------
1 | import CaptionPropertiesPopover from './CaptionPropertiesPopover';
2 |
3 | export * from './CaptionPropertiesPopover.d';
4 |
5 | export default CaptionPropertiesPopover;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Controls/CaptionProperties/index.ts:
--------------------------------------------------------------------------------
1 | import CaptionProperties from './CaptionProperties';
2 |
3 | export * from './CaptionProperties.d';
4 |
5 | export default CaptionProperties;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Controls/ConfigureAxes/Popover/index.ts:
--------------------------------------------------------------------------------
1 | import ConfigureAxesPopover from './ConfigureAxesPopover';
2 | import Alignment from './Alignment';
3 | import AxesRange from './AxesRange';
4 | import AxesType from './AxesType';
5 |
6 | export * from './ConfigureAxesPopover.d';
7 |
8 | export { Alignment, AxesRange, AxesType };
9 | export default ConfigureAxesPopover;
10 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Controls/ConfigureAxes/index.ts:
--------------------------------------------------------------------------------
1 | import ConfigureAxes from './ConfigureAxes';
2 |
3 | export * from './ConfigureAxes.d';
4 |
5 | export default ConfigureAxes;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Controls/ConfigureTooltip/Popover/ConfigureTooltipPopover.d.ts:
--------------------------------------------------------------------------------
1 | import { IBaseComponentProps } from 'modules/BaseExplorer/types';
2 |
3 | export interface IConfigureTooltipPopoverProps extends IBaseComponentProps {
4 | visualizationName: string;
5 | }
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Controls/ConfigureTooltip/Popover/index.ts:
--------------------------------------------------------------------------------
1 | import ConfigureTooltipPopover from './ConfigureTooltipPopover';
2 |
3 | export * from './ConfigureTooltipPopover.d';
4 |
5 | export default ConfigureTooltipPopover;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Controls/ConfigureTooltip/index.ts:
--------------------------------------------------------------------------------
1 | import ConfigureTooltip from './ConfigureTooltip';
2 |
3 | export * from './ConfigureTooltip.d';
4 |
5 | export default ConfigureTooltip;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Controls/Highlighting/Highlighting.d.ts:
--------------------------------------------------------------------------------
1 | import { IBaseComponentProps } from 'modules/BaseExplorer/types';
2 |
3 | import { HighlightEnum } from 'utils/d3';
4 |
5 | export interface IHighlightingProps extends IBaseComponentProps {
6 | visualizationName: string;
7 | }
8 |
9 | export interface IHighlightingConfig {
10 | mode: HighlightEnum;
11 | isInitial: boolean;
12 | }
13 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Controls/Highlighting/Popover/HighlightingPopover.d.ts:
--------------------------------------------------------------------------------
1 | import { IBaseComponentProps } from 'modules/BaseExplorer/types';
2 |
3 | export interface IHighlightingPopoverProps extends IBaseComponentProps {
4 | visualizationName: string;
5 | }
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Controls/Highlighting/Popover/HighlightingPopover.scss:
--------------------------------------------------------------------------------
1 | @use 'src/styles/abstracts' as *;
2 |
3 | .HighlightingPopover {
4 | padding: $space-xs;
5 | width: 16.5rem;
6 | }
7 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Controls/Highlighting/Popover/index.ts:
--------------------------------------------------------------------------------
1 | import HighlightingPopover from './HighlightingPopover';
2 |
3 | export * from './HighlightingPopover.d';
4 |
5 | export default HighlightingPopover;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Controls/Highlighting/index.ts:
--------------------------------------------------------------------------------
1 | import Highlighting from './Highlighting';
2 |
3 | export * from './Highlighting.d';
4 |
5 | export default Highlighting;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Controls/IgnoreOutliers/IgnoreOutliers.d.ts:
--------------------------------------------------------------------------------
1 | import { IBaseComponentProps } from 'modules/BaseExplorer/types';
2 |
3 | export interface IIgnoreOutliersProps extends IBaseComponentProps {
4 | visualizationName: string;
5 | }
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Controls/IgnoreOutliers/index.ts:
--------------------------------------------------------------------------------
1 | import IgnoreOutliers from './IgnoreOutliers';
2 |
3 | export * from './IgnoreOutliers.d';
4 |
5 | export default IgnoreOutliers;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Controls/Legends/Legends.d.ts:
--------------------------------------------------------------------------------
1 | import { IBaseComponentProps } from 'modules/BaseExplorer/types';
2 |
3 | export interface ILegendsProps extends IBaseComponentProps {
4 | visualizationName: string;
5 | }
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Controls/Legends/index.ts:
--------------------------------------------------------------------------------
1 | import Legends from './Legends';
2 |
3 | export * from './Legends.d';
4 |
5 | export default Legends;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Controls/Smoothing/Popover/SmoothingPopover.d.ts:
--------------------------------------------------------------------------------
1 | import { IBaseComponentProps } from 'modules/BaseExplorer/types';
2 |
3 | export interface ISmoothingPopoverProps extends IBaseComponentProps {
4 | visualizationName: string;
5 | }
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Controls/Smoothing/Popover/SmoothingPopover.scss:
--------------------------------------------------------------------------------
1 | @use 'src/styles/abstracts' as *;
2 |
3 | .SmoothingPopover {
4 | width: 24.5rem;
5 | padding: $space-xs;
6 | &__divider {
7 | margin: $space-xs 0;
8 | }
9 | &__subtitle {
10 | text-transform: uppercase;
11 | padding: $space-xs $space-xs;
12 | }
13 | &__toggleButton {
14 | padding: 0 $space-xs;
15 | }
16 | &__Slider {
17 | margin: 0 $space-xs;
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Controls/Smoothing/Popover/index.ts:
--------------------------------------------------------------------------------
1 | import SmoothingPopover from './SmoothingPopover';
2 |
3 | export * from './SmoothingPopover.d';
4 |
5 | export default SmoothingPopover;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Controls/Smoothing/index.ts:
--------------------------------------------------------------------------------
1 | import Smoothing from './Smoothing';
2 |
3 | export * from './Smoothing.d';
4 |
5 | export default Smoothing;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Controls/TextRendererMode/Popover/TextRendererModePopover.d.ts:
--------------------------------------------------------------------------------
1 | import { ITextRendererModeState } from '../';
2 |
3 | export interface ITextRendererModePopoverProps {
4 | update: (textRenderer: Partial) => void;
5 | reset?: () => void;
6 | textRenderer: ITextRendererModeState;
7 | updateDelay?: number;
8 | }
9 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Controls/TextRendererMode/Popover/TextRendererModePopover.scss:
--------------------------------------------------------------------------------
1 | @use 'src/styles/abstracts' as *;
2 |
3 | .TextRendererModePopover {
4 | display: flex;
5 | justify-content: center;
6 | align-items: center;
7 | flex-direction: column;
8 | width: 20rem;
9 | padding: $space-xs;
10 | max-height: 20rem;
11 | }
12 |
13 | .TextRendererModePopover__section {
14 | width: 100%;
15 | }
16 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Controls/TextRendererMode/Popover/index.tsx:
--------------------------------------------------------------------------------
1 | import TextRendererModePopover from './TextRendererModePopover';
2 |
3 | export * from './TextRendererModePopover.d';
4 |
5 | export default TextRendererModePopover;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Controls/TextRendererMode/TextRendererMode.d.ts:
--------------------------------------------------------------------------------
1 | import { IBaseComponentProps } from 'modules/BaseExplorer/types';
2 |
3 | export interface ITextRendererModeProps extends IBaseComponentProps {
4 | visualizationName: string;
5 | }
6 |
7 | export interface ITextRendererModeState {
8 | type: string;
9 | }
10 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Controls/TextRendererMode/index.tsx:
--------------------------------------------------------------------------------
1 | import TextRendererMode from './TextRendererMode';
2 |
3 | export * from './TextRendererMode.d';
4 |
5 | export default TextRendererMode;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Controls/Zoom/Popover/ZoomInPopover/ZoomInPopover.d.ts:
--------------------------------------------------------------------------------
1 | import { IBaseComponentProps } from 'modules/BaseExplorer/types';
2 |
3 | export interface IZoomInPopoverProps extends IBaseComponentProps {
4 | visualizationName: string;
5 | }
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Controls/Zoom/Popover/ZoomInPopover/ZoomInPopover.scss:
--------------------------------------------------------------------------------
1 | @use 'src/styles/abstracts' as *;
2 |
3 | .ZoomInPopover {
4 | width: 16.5rem;
5 | padding: $space-xs;
6 | }
7 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Controls/Zoom/Popover/ZoomInPopover/index.ts:
--------------------------------------------------------------------------------
1 | import ZoomInPopover from './ZoomInPopover';
2 |
3 | export * from './ZoomInPopover.d';
4 |
5 | export default ZoomInPopover;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Controls/Zoom/Popover/ZoomOutPopover/ZoomOutPopover.d.ts:
--------------------------------------------------------------------------------
1 | import { IBaseComponentProps } from 'modules/BaseExplorer/types';
2 |
3 | export interface IZoomOutPopoverProps extends IBaseComponentProps {
4 | visualizationName: string;
5 | }
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Controls/Zoom/Popover/ZoomOutPopover/ZoomOutPopover.scss:
--------------------------------------------------------------------------------
1 | @use 'src/styles/abstracts' as *;
2 |
3 | .ZoomOutPopover {
4 | width: 16.5rem;
5 | padding: $space-xs;
6 | }
7 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Controls/Zoom/Popover/ZoomOutPopover/index.ts:
--------------------------------------------------------------------------------
1 | import ZoomOutPopover from './ZoomOutPopover';
2 |
3 | export * from './ZoomOutPopover.d';
4 |
5 | export default ZoomOutPopover;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Controls/Zoom/Popover/index.ts:
--------------------------------------------------------------------------------
1 | import ZoomInPopover from './ZoomInPopover';
2 | import ZoomOutPopover from './ZoomOutPopover';
3 |
4 | export * from './ZoomInPopover';
5 | export * from './ZoomOutPopover';
6 |
7 | export { ZoomInPopover, ZoomOutPopover };
8 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Controls/Zoom/index.ts:
--------------------------------------------------------------------------------
1 | import Zoom from './Zoom';
2 |
3 | export * from './Zoom.d';
4 |
5 | export default Zoom;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Controls/index.tsx:
--------------------------------------------------------------------------------
1 | import Controls from './Controls';
2 | import BoxProperties from './BoxProperties';
3 | import CaptionProperties from './CaptionProperties';
4 |
5 | export * from './Controls';
6 |
7 | export { BoxProperties, CaptionProperties };
8 | export default Controls;
9 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Explorer/index.ts:
--------------------------------------------------------------------------------
1 | import Explorer from './Explorer';
2 |
3 | export default Explorer;
4 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Explorer/styles.scss:
--------------------------------------------------------------------------------
1 | @use 'src/styles/abstracts' as *;
2 |
3 | .Explorer {
4 | width: 100%;
5 | height: 100vh;
6 | display: flex;
7 | flex-direction: column;
8 | max-height: 100vh;
9 | overflow: hidden;
10 | }
11 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/ExplorerBar/index.ts:
--------------------------------------------------------------------------------
1 | import ExplorerBar from './ExplorerBar';
2 |
3 | export * from './ExplorerBar';
4 |
5 | export default ExplorerBar;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/ExplorerNotifications/index.ts:
--------------------------------------------------------------------------------
1 | import ExplorerNotifications from './ExplorerNotifications';
2 |
3 | export default ExplorerNotifications;
4 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Figure/index.ts:
--------------------------------------------------------------------------------
1 | import Figure from './Figure';
2 |
3 | export default Figure;
4 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Figures/index.ts:
--------------------------------------------------------------------------------
1 | import Figures from './Figures';
2 |
3 | export default Figures;
4 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Grouping/Grouping/Grouping.scss:
--------------------------------------------------------------------------------
1 | @use 'src/styles/abstracts' as *;
2 |
3 | .BaseGrouping {
4 | display: flex;
5 | align-items: center;
6 | &__title {
7 | margin-right: $space-xxxs;
8 | }
9 | &__content {
10 | display: flex;
11 | align-items: center;
12 | justify-content: center;
13 | }
14 | }
15 |
16 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Grouping/Grouping/index.ts:
--------------------------------------------------------------------------------
1 | import Grouping from './Grouping';
2 |
3 | export { Grouping };
4 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Grouping/GroupingItem/index.ts:
--------------------------------------------------------------------------------
1 | import GroupingItem from './GroupingItem';
2 |
3 | export * from './GroupingItem.d';
4 | export { GroupingItem };
5 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Grouping/GroupingPopover/index.ts:
--------------------------------------------------------------------------------
1 | import GroupingPopover from './GroupingPopover';
2 |
3 | export * from './GroupingPopover.d';
4 |
5 | export { GroupingPopover };
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Grouping/index.tsx:
--------------------------------------------------------------------------------
1 | import { Grouping } from './Grouping';
2 | export * from './GroupingItem';
3 |
4 | export default Grouping;
5 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Metrics/index.ts:
--------------------------------------------------------------------------------
1 | import Metrics from './Metrics';
2 |
3 | export default Metrics;
4 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/ProgressBar/index.tsx:
--------------------------------------------------------------------------------
1 | import ProgressBar from './ProgressBarWrapper';
2 |
3 | export default ProgressBar;
4 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/QueryForm/SearchButton/SearchButton.d.ts:
--------------------------------------------------------------------------------
1 | import { IButtonProps } from 'components/kit/Button/Button.d';
2 |
3 | export interface ISearchButtonProps extends IButtonProps {
4 | isFetching: boolean;
5 | onSubmit: () => void;
6 | }
7 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/QueryForm/SearchButton/index.ts:
--------------------------------------------------------------------------------
1 | import SearchButton from './SearchButton';
2 |
3 | export * from './SearchButton';
4 |
5 | export default SearchButton;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/QueryForm/index.ts:
--------------------------------------------------------------------------------
1 | import QueryForm from './QueryForm';
2 | export * from './QueryForm';
3 |
4 | export default QueryForm;
5 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/RangePanel/index.tsx:
--------------------------------------------------------------------------------
1 | import RangePanel from './RangePanel';
2 |
3 | export * from './RangePanel.d';
4 |
5 | export default RangePanel;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/TextBox/TextBox.scss:
--------------------------------------------------------------------------------
1 | @use 'src/styles/abstracts' as *;
2 |
3 | .TextBox {
4 | width: 100%;
5 | height: 100%;
6 | display: flex;
7 | padding: $space-xs $space-sm;
8 | overflow: auto;
9 |
10 |
11 | .TextBox__Markdown {
12 | justify-content: flex-start;
13 | > div {
14 | color: inherit;
15 | }
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Visualizations/Visualizations.scss:
--------------------------------------------------------------------------------
1 | @use 'src/styles/abstracts' as *;
2 |
3 | .Visualizations {
4 | display: flex;
5 | flex: 1;
6 | flex-direction: column;
7 | overflow: hidden;
8 | position: relative;
9 | .ProgressBar__container {
10 | padding-bottom: 6 * $space-unit;
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Visualizations/index.tsx:
--------------------------------------------------------------------------------
1 | import Visualizations from './Visualizations';
2 |
3 | export default Visualizations;
4 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Visualizer/Visualizer.scss:
--------------------------------------------------------------------------------
1 | @use 'src/styles/abstracts' as *;
2 |
3 | .Visualizer {
4 | width: 100%;
5 | height: 100%;
6 | display: flex;
7 | flex-direction: column;
8 | position: relative;
9 | .VisualizerContainer {
10 | width: 100%;
11 | display: flex;
12 | flex: 1;
13 | max-height: 100%;
14 | overflow: hidden;
15 | }
16 | }
17 |
18 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Visualizer/hooks/index.ts:
--------------------------------------------------------------------------------
1 | import useDepthMap from './useDepthMap';
2 |
3 | export { useDepthMap };
4 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Visualizer/index.tsx:
--------------------------------------------------------------------------------
1 | import Visualizer from './Visualizer';
2 |
3 | export default Visualizer;
4 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/VisualizerPanel/VisualizerPanel.d.ts:
--------------------------------------------------------------------------------
1 | import * as React from 'react';
2 |
3 | import { IControlsProps, IGroupingProps } from 'modules/BaseExplorer/types';
4 |
5 | export interface IVisualizerPanelProps {
6 | engine: any;
7 | grouping: React.FunctionComponent | null;
8 | controls?: React.FunctionComponent;
9 | visualizationName: string;
10 | }
11 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/VisualizerPanel/VisualizerPanel.scss:
--------------------------------------------------------------------------------
1 | @use 'src/styles/abstracts' as *;
2 |
3 | .VisualizerPanel {
4 | min-height: 2rem;
5 | max-height: 2rem;
6 | display: flex;
7 | justify-content: space-between;
8 | overflow: hidden;
9 | white-space: nowrap;
10 | padding: 0 $space-lg;
11 | border-bottom: $border-grey;
12 | }
13 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/VisualizerPanel/index.tsx:
--------------------------------------------------------------------------------
1 | import VisualizerPanel from './VisualizerPanel';
2 |
3 | export * from './VisualizerPanel.d';
4 |
5 | export default VisualizerPanel;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Widgets/VisualizerLegends/VisualizerLegends.d.ts:
--------------------------------------------------------------------------------
1 | import { IWidgetComponentProps } from 'modules/BaseExplorer/types';
2 |
3 | export interface IVisualizerLegendsProps extends IWidgetComponentProps {
4 | visualizationName: string;
5 | }
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Widgets/VisualizerLegends/VisualizerLegends.scss:
--------------------------------------------------------------------------------
1 | .VisualizerLegends {
2 | position: relative;
3 | z-index: 5;
4 | &__container {
5 | height: 100%;
6 | width: 100%;
7 | }
8 | }
9 |
10 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Widgets/VisualizerLegends/index.ts:
--------------------------------------------------------------------------------
1 | import VisualizerLegends from './VisualizerLegends';
2 |
3 | export * from './VisualizerLegends.d';
4 |
5 | export default VisualizerLegends;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Widgets/VisualizerTooltip/TooltipContent/SelectedFields/SelectedFields.scss:
--------------------------------------------------------------------------------
1 | @use 'src/styles/abstracts' as *;
2 |
3 | .SelectedFields {
4 | &__container {
5 | padding: $space-xs $space-unit;
6 | display: flex;
7 | flex-direction: column;
8 | max-height: inherit;
9 | &__value {
10 | margin-top: $space-xxxs;
11 | word-break: break-word;
12 | }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Widgets/VisualizerTooltip/VisualizerTooltip.d.ts:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 |
3 | import { IWidgetComponentProps } from 'modules/BaseExplorer/types';
4 |
5 | export interface IVisualizerTooltipProps extends IWidgetComponentProps {
6 | visualizationName: string;
7 | tooltipContentHeader?: React.ReactComponentElement;
8 | }
9 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Widgets/VisualizerTooltip/index.ts:
--------------------------------------------------------------------------------
1 | import VisualizationTooltip from './VisualizerTooltip';
2 |
3 | export * from './VisualizerTooltip.d';
4 |
5 | export default VisualizationTooltip;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/Widgets/index.ts:
--------------------------------------------------------------------------------
1 | import VisualizerTooltip from './VisualizerTooltip';
2 | import VisualizerLegends from './VisualizerLegends';
3 |
4 | export { VisualizerTooltip, VisualizerLegends };
5 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/components/index.tsx:
--------------------------------------------------------------------------------
1 | import Visualizer from './Visualizer';
2 | import QueryForm from './QueryForm';
3 | import BoxWrapper from './BoxWrapper';
4 | import Grouping from './Grouping';
5 |
6 | export * from './Grouping';
7 | export { Visualizer, QueryForm, BoxWrapper, Grouping };
8 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/BaseExplorer/styles.scss:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aimhubio/aim/753f4b18437b8288e1c6f7c894c14a33cba9e7d0/aim/web/ui/src/modules/BaseExplorer/styles.scss
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/core/cache/index.ts:
--------------------------------------------------------------------------------
1 | import memoize from './memoize';
2 | import inlineCache from './inlineCache';
3 |
4 | export { memoize, inlineCache };
5 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/core/engine/explorer/query/index.ts:
--------------------------------------------------------------------------------
1 | import createQueryState from './state';
2 |
3 | export * from './state';
4 |
5 | export default createQueryState;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/core/utils/getUpdatedUrl.ts:
--------------------------------------------------------------------------------
1 | function getUpdatedUrl(
2 | param: string,
3 | value: string | null,
4 | pathname: string = window.location.pathname,
5 | ) {
6 | // @ts-ignore
7 | const params = new URL(window.location).searchParams;
8 |
9 | if (!value) {
10 | params.has(param) && params.delete(param);
11 | } else {
12 | params.set(param, value);
13 | }
14 | return `${pathname}?${params.toString()}`;
15 | }
16 |
17 | export default getUpdatedUrl;
18 |
--------------------------------------------------------------------------------
/aim/web/ui/src/modules/core/utils/getUrlSearchParam.ts:
--------------------------------------------------------------------------------
1 | import getStateFromUrl from 'utils/getStateFromUrl';
2 |
3 | function getUrlSearchParam(paramName: string) {
4 | return getStateFromUrl(paramName);
5 | }
6 |
7 | export default getUrlSearchParam;
8 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/Bookmarks/Bookmarks.scss:
--------------------------------------------------------------------------------
1 | @use 'src/styles/abstracts' as *;
2 |
3 | .Bookmarks {
4 | height: 100%;
5 | &__appBar {
6 | width: 100%;
7 | }
8 | &__title {
9 | margin: 0.5em 0;
10 | padding: 0;
11 | color: $primary-color;
12 | }
13 | &__container {
14 | overflow-y: auto;
15 | height: calc(100vh - 40px); // Subtract the height of the appBar
16 | }
17 | &__list {
18 | padding: 2rem 1.5em 2em;
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/Dashboard/components/AimIntegrations/index.ts:
--------------------------------------------------------------------------------
1 | import AimIntegrations from './AimIntegrations';
2 |
3 | export default AimIntegrations;
4 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/Dashboard/components/DashboardContributionsFeed/index.ts:
--------------------------------------------------------------------------------
1 | import DashboardContributionsFeed from './DashboardContributionsFeed';
2 |
3 | export default DashboardContributionsFeed;
4 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/Dashboard/components/DashboardRight/DashboardRight.scss:
--------------------------------------------------------------------------------
1 | @use 'src/styles/abstracts' as *;
2 |
3 | .DashboardRight {
4 | display: flex;
5 | flex-direction: column;
6 | width: 285px;
7 | background-color: #fafafb;
8 | overflow: auto;
9 | &__title {
10 | margin-top: $space-md;
11 | padding: 0 $space-lg;
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/Dashboard/components/ExploreSection/ExperimentsCard/ExperimentsCard.d.ts:
--------------------------------------------------------------------------------
1 | export type ExperimentsCardRowDataType = {
2 | key: number;
3 | name: string;
4 | archived: boolean;
5 | run_count: number;
6 | id: string;
7 | };
8 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/Dashboard/components/ExploreSection/ExperimentsCard/ExperimentsCard.scss:
--------------------------------------------------------------------------------
1 | @use 'src/styles/abstracts' as *;
2 |
3 | .ExperimentsCard {
4 | border-top: $border-dark-lighter;
5 | padding: $space-unit $space-sm;
6 | &__title {
7 | margin-bottom: $space-sm;
8 | padding: 0 $space-sm;
9 | }
10 | .ExperimentNameBox {
11 | &__experimentName {
12 | font-size: $text-sm;
13 | }
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/Dashboard/components/ExploreSection/ExperimentsCard/index.ts:
--------------------------------------------------------------------------------
1 | import ExperimentsCard from './ExperimentsCard';
2 |
3 | export * from './ExperimentsCard.d';
4 | export default ExperimentsCard;
5 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/Dashboard/components/ExploreSection/QuickLinks/QuickLinks.scss:
--------------------------------------------------------------------------------
1 | @use 'src/styles/abstracts' as *;
2 |
3 | .QuickLinks {
4 | padding: $space-lg $space-sm $space-unit;
5 | &__title {
6 | margin-bottom: $space-xs;
7 | padding: 0 $space-sm;
8 | }
9 | &__list {
10 | margin-top: $space-md $space-lg;
11 | &__ListItem {
12 | &__Text {
13 | flex: 1;
14 | }
15 | }
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/Dashboard/components/ExploreSection/RecentSearches/useRecentSearches.ts:
--------------------------------------------------------------------------------
1 | function useRecentSearches() {
2 | return null;
3 | }
4 |
5 | export default useRecentSearches;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/Dashboard/components/ExploreSection/TagsCard/TagsCard.d.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aimhubio/aim/753f4b18437b8288e1c6f7c894c14a33cba9e7d0/aim/web/ui/src/pages/Dashboard/components/ExploreSection/TagsCard/TagsCard.d.ts
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/Dashboard/components/ProjectStatistics/ProjectStatistics.d.ts:
--------------------------------------------------------------------------------
1 | import * as React from 'react';
2 |
3 | import { IconName } from 'components/kit/Icon';
4 |
5 | export interface IProjectStatistic {
6 | label: string;
7 | count: number;
8 | iconBgColor?: string;
9 | icon?: IconName;
10 | navLink?: string;
11 | badge?: { value: string; style?: React.CSSProperties };
12 | }
13 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/Dashboard/components/ProjectStatistics/ProjectStatistics.scss:
--------------------------------------------------------------------------------
1 | @use 'src/styles/abstracts' as *;
2 |
3 | .ProjectStatistics {
4 | &__totalRuns {
5 | margin-top: $space-lg;
6 | }
7 | &__trackedSequences {
8 | margin-top: $space-lg;
9 | }
10 | &__cards {
11 | display: flex;
12 | align-items: center;
13 | flex-wrap: wrap;
14 | gap: $space-unit;
15 | margin-top: $space-sm;
16 | }
17 | &__bar {
18 | margin-top: $space-sm;
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/Dashboard/components/ProjectStatistics/index.tsx:
--------------------------------------------------------------------------------
1 | import ProjectStatistics from './ProjectStatistics';
2 | import useProjectStatistics from './useProjectStatistics';
3 |
4 | export * from './ProjectStatistics.d';
5 | export { useProjectStatistics };
6 |
7 | export default ProjectStatistics;
8 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/Dashboard/components/QuickStart/QuickStart.scss:
--------------------------------------------------------------------------------
1 | @use 'src/styles/abstracts' as *;
2 |
3 | .QuickStart__section {
4 | padding: $space-lg 0;
5 | }
6 |
7 | .QuickStart__section__title {
8 | margin-bottom: $space-sm;
9 | }
10 |
11 | .QuickStart__section__text {
12 | font-style: italic;
13 | margin-top: $space-sm;
14 | }
15 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/Dashboard/components/QuickStart/index.ts:
--------------------------------------------------------------------------------
1 | import QuickStart from './QuickStart';
2 |
3 | export default QuickStart;
4 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/Experiment/components/ExperimentHeader/ExperimentHeader.d.ts:
--------------------------------------------------------------------------------
1 | import { IExperimentData } from 'modules/core/api/experimentsApi/types';
2 |
3 | export interface IExperimentHeaderProps {
4 | isExperimentLoading: boolean;
5 | experimentData: IExperimentData | null;
6 | isExperimentsLoading: boolean;
7 | experimentsData: IExperimentData[] | null;
8 | experimentId: string;
9 | getExperimentsData: () => void;
10 | }
11 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/Experiment/components/ExperimentHeader/index.ts:
--------------------------------------------------------------------------------
1 | import ExperimentHeader from './ExperimentHeader';
2 |
3 | export * from './ExperimentHeader.d';
4 | export default ExperimentHeader;
5 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/Experiment/components/ExperimentNavigationPopover/ExperimentNavigationPopover.d.ts:
--------------------------------------------------------------------------------
1 | import { IExperimentData } from 'modules/core/api/experimentsApi/types';
2 |
3 | export interface IExperimentNavigationPopoverProps {
4 | experimentsData: IExperimentData[] | null;
5 | experimentId: string;
6 | isExperimentsLoading: boolean;
7 | getExperimentsData: () => void;
8 | }
9 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/Experiment/components/ExperimentNavigationPopover/index.ts:
--------------------------------------------------------------------------------
1 | import ExperimentNavigationPopover from './ExperimentNavigationPopover';
2 |
3 | export * from './ExperimentNavigationPopover.d';
4 | export default ExperimentNavigationPopover;
5 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/Experiment/components/ExperimentNotesTab/ExperimentNotesTab.d.ts:
--------------------------------------------------------------------------------
1 | export interface IExperimentNotesTabProps {
2 | experimentId: string;
3 | }
4 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/Experiment/components/ExperimentNotesTab/index.ts:
--------------------------------------------------------------------------------
1 | import ExperimentNotesTab from './ExperimentNotesTab';
2 | import experimentNotesEngine from './ExperimentNotesEngine';
3 |
4 | export { experimentNotesEngine };
5 |
6 | export * from './ExperimentNotesTab.d';
7 |
8 | export default ExperimentNotesTab;
9 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/Experiment/components/ExperimentOverviewTab/ExperimentContributions/ExperimentContributions.d.ts:
--------------------------------------------------------------------------------
1 | export interface IExperimentContributionsProps {
2 | experimentId: string;
3 | experimentName: string;
4 | }
5 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/Experiment/components/ExperimentOverviewTab/ExperimentContributions/index.ts:
--------------------------------------------------------------------------------
1 | import ExperimentContributions from './ExperimentContributions';
2 | import experimentContributionsEngine from './ExperimentContributionsStore';
3 |
4 | export * from './ExperimentContributions.d';
5 |
6 | export { experimentContributionsEngine };
7 |
8 | export default ExperimentContributions;
9 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/Experiment/components/ExperimentOverviewTab/ExperimentContributionsFeed/ExperimentContributionsFeed.d.ts:
--------------------------------------------------------------------------------
1 | export interface IExperimentContributionsFeedProps {
2 | experimentName: string;
3 | experimentId: string;
4 | }
5 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/Experiment/components/ExperimentOverviewTab/ExperimentOverviewSidebar/ExperimentOverviewSidebar.d.ts:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 |
3 | export interface IExperimentOverviewSidebarProps {
4 | sidebarRef: HTMLElement | any;
5 | overviewSectionRef: React.RefObject;
6 | setContainerHeight: (height: number | string) => void;
7 | overviewSectionContentRef: any;
8 | description: string;
9 | }
10 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/Experiment/components/ExperimentOverviewTab/ExperimentOverviewSidebar/index.ts:
--------------------------------------------------------------------------------
1 | import ExperimentOverviewSidebar from './ExperimentOverviewSidebar';
2 |
3 | export * from './ExperimentOverviewSidebar.d';
4 |
5 | export default ExperimentOverviewSidebar;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/Experiment/components/ExperimentOverviewTab/ExperimentOverviewTab.d.ts:
--------------------------------------------------------------------------------
1 | export interface IExperimentOverviewTabProps {
2 | experimentName: string;
3 | experimentId: string;
4 | description: string;
5 | }
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/Experiment/components/ExperimentOverviewTab/ExperimentStatistics/ExperimentStatistics.d.ts:
--------------------------------------------------------------------------------
1 | export interface IExperimentStatisticsProps {
2 | experimentName: string;
3 | }
4 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/Experiment/components/ExperimentOverviewTab/ExperimentStatistics/ExperimentStatistics.scss:
--------------------------------------------------------------------------------
1 | @use 'src/styles/abstracts' as *;
2 |
3 | .ExperimentStatistics {
4 | &__trackedSequences {
5 | margin-top: $space-lg;
6 | }
7 | &__cards {
8 | display: flex;
9 | align-items: center;
10 | flex-wrap: wrap;
11 | gap: $space-unit;
12 | margin-top: $space-sm;
13 | }
14 | &__bar {
15 | margin-top: $space-sm;
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/Experiment/components/ExperimentOverviewTab/ExperimentStatistics/index.ts:
--------------------------------------------------------------------------------
1 | import ExperimentStatistics from './ExperimentStatistics';
2 |
3 | export * from './ExperimentStatistics.d';
4 |
5 | export default ExperimentStatistics;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/Experiment/components/ExperimentOverviewTab/index.ts:
--------------------------------------------------------------------------------
1 | import ExperimentOverviewTab from './ExperimentOverviewTab';
2 |
3 | export * from './ExperimentOverviewTab.d';
4 |
5 | export default ExperimentOverviewTab;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/Experiment/components/ExperimentRunsTab/ExperimentRunsTab.d.ts:
--------------------------------------------------------------------------------
1 | export interface IExperimentRunsTabProps {
2 | experimentName: string;
3 | experimentId: string;
4 | }
5 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/Experiment/components/ExperimentRunsTab/ExperimentRunsTab.scss:
--------------------------------------------------------------------------------
1 | @use 'src/styles/abstracts' as *;
2 |
3 | .ExperimentRunsTab {
4 | width: 100%;
5 | height: 100%;
6 | padding: $space-lg 0;
7 | &__content {
8 | height: 100%;
9 | background: $white;
10 | padding: $space-lg;
11 | border: $border-grey;
12 | border-radius: $border-radius-lg;
13 | width: 100%;
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/Experiment/components/ExperimentRunsTab/ExperimentRunsTable/ExperimentRunsTable.d.ts:
--------------------------------------------------------------------------------
1 | export interface IExperimentRunsTableProps {
2 | experimentName: string;
3 | experimentId: string;
4 | }
5 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/Experiment/components/ExperimentRunsTab/ExperimentRunsTable/index.ts:
--------------------------------------------------------------------------------
1 | import ExperimentRunsTable from './ExperimentRunsTable';
2 | import useExperimentRunsTable from './useExperimentRunsTable';
3 |
4 | export { useExperimentRunsTable };
5 | export * from './ExperimentRunsTable.d';
6 | export default ExperimentRunsTable;
7 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/Experiment/components/ExperimentRunsTab/index.ts:
--------------------------------------------------------------------------------
1 | import ExperimentRunsTab from './ExperimentRunsTab';
2 | import experimentRunsEngine from './ExperimentRunsStore';
3 |
4 | export { experimentRunsEngine };
5 | export * from './ExperimentRunsTab.d';
6 | export default ExperimentRunsTab;
7 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/Experiment/components/ExperimentSettingsTab/ExperimentSettingsTab.d.ts:
--------------------------------------------------------------------------------
1 | export interface IExperimentSettingsTabProps {
2 | experimentName: string;
3 | description: string;
4 | updateExperiment: (name: string, description: string) => void;
5 | deleteExperiment: () => void;
6 | }
7 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/Experiment/components/ExperimentSettingsTab/index.ts:
--------------------------------------------------------------------------------
1 | import ExperimentSettingsTab from './ExperimentSettingsTab';
2 |
3 | export * from './ExperimentSettingsTab.d';
4 |
5 | export default ExperimentSettingsTab;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/Metrics/components/StrokePopover/StrokePopoverAdvanced.scss:
--------------------------------------------------------------------------------
1 | @use 'src/styles/abstracts' as *;
2 |
3 | .StrokePopoverAdvanced {
4 | &__container {
5 | padding: 1rem;
6 | &__p {
7 | margin: 1rem 0;
8 | }
9 | }
10 |
11 | &__Switcher__button__container {
12 | height: 1.75rem;
13 | display: flex;
14 | align-items: center;
15 | .ColorPopoverAdvanced__container__span {
16 | margin-left: 0.875rem;
17 | }
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/Metrics/components/Table/CompareSelectedRunsPopover/CompareSelectedRunsPopover.d.ts:
--------------------------------------------------------------------------------
1 | import { AppNameEnum } from 'services/models/explorer';
2 |
3 | export interface ICompareSelectedRunsPopoverProps {
4 | appName: AppNameEnum;
5 | disabled?: boolean;
6 | query: string;
7 | buttonText?: string;
8 | }
9 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/Metrics/components/Table/CompareSelectedRunsPopover/index.ts:
--------------------------------------------------------------------------------
1 | import CompareSelectedRunsPopover from './CompareSelectedRunsPopover';
2 |
3 | export * from './CompareSelectedRunsPopover.d';
4 |
5 | export default CompareSelectedRunsPopover;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/Metrics/components/Table/ManageColumnsPopover/ColumnItem/ColumnItem.d.ts:
--------------------------------------------------------------------------------
1 | export interface IColumnItemProps {
2 | searchKey?: string;
3 | label: string;
4 | hasSearchableItems?: boolean;
5 | draggingItemId: string;
6 | isHidden: boolean;
7 | popoverWidth: number;
8 | data: string;
9 | appName: string;
10 | index: number;
11 | onClick: (e: MouseEventHandler) => void;
12 | }
13 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/Metrics/components/Table/MetricsValueKeyPopover/index.ts:
--------------------------------------------------------------------------------
1 | import MetricsValueKeyPopover from './MetricsValueKeyPopover';
2 |
3 | export default MetricsValueKeyPopover;
4 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/Report/index.ts:
--------------------------------------------------------------------------------
1 | import Report from './Report';
2 |
3 | export default Report;
4 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/Reports/index.ts:
--------------------------------------------------------------------------------
1 | import Reports from './Reports';
2 |
3 | export default Reports;
4 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/RunDetail/AudiosVisualizer/AudiosVisualizer.scss:
--------------------------------------------------------------------------------
1 | .AudiosVisualizer {
2 | height: calc(100% - 2.75rem);
3 | }
4 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/RunDetail/AudiosVisualizer/index.ts:
--------------------------------------------------------------------------------
1 | import AudiosVisualizer from './AudiosVisualizer';
2 |
3 | export default AudiosVisualizer;
4 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/RunDetail/DistributionsVisualizer/DistributionsVisualizer.scss:
--------------------------------------------------------------------------------
1 | @use 'src/styles/abstracts' as *;
2 |
3 | .DistributionsVisualizer {
4 | display: flex;
5 | flex-direction: column;
6 | justify-content: space-between;
7 | height: 100%;
8 | overflow: hidden;
9 | .highcharts-subtitle {
10 | font-style: normal;
11 | font-weight: $font-700;
12 | color: $pico-100 !important;
13 | font-family: 'Inter', sans-serif !important;
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/RunDetail/DistributionsVisualizer/index.ts:
--------------------------------------------------------------------------------
1 | import DistributionsVisualizer from './DistributionVisualizer';
2 |
3 | export default DistributionsVisualizer;
4 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/RunDetail/ImagesVisualizer/ImagesVisualizer.scss:
--------------------------------------------------------------------------------
1 | @use 'src/styles/abstracts' as *;
2 |
3 | .ImagesVisualizer {
4 | height: calc(100% - 2.75rem);
5 | }
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/RunDetail/ImagesVisualizer/index.ts:
--------------------------------------------------------------------------------
1 | import ImagesVisualizer from './ImagesVisualizer';
2 |
3 | export default ImagesVisualizer;
4 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/RunDetail/NotesTab/types.d.ts:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 |
3 | export interface INotesTabProps {
4 | runHash: string;
5 | }
6 |
7 | export interface INoteTooltipProps {
8 | children: React.ReactChildren;
9 | }
10 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/RunDetail/PlotlyVisualizer/PlotlyVisualizer.scss:
--------------------------------------------------------------------------------
1 | @use 'src/styles/abstracts' as *;
2 |
3 | .PlotlyVisualizer {
4 | height: 100%;
5 | padding: toRem(10px);
6 | overflow: auto;
7 | &__recordCnt {
8 | height: 100%;
9 | overflow: auto;
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/RunDetail/PlotlyVisualizer/index.ts:
--------------------------------------------------------------------------------
1 | import PlotlyVisualizer from './PlotlyVisualizer';
2 |
3 | export default PlotlyVisualizer;
4 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/RunDetail/RunDetailNotesTab/index.ts:
--------------------------------------------------------------------------------
1 | import NotesTab from './RunDetailNotesTab';
2 |
3 | export default NotesTab;
4 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/RunDetail/RunDetailNotesTab/types.d.ts:
--------------------------------------------------------------------------------
1 | export interface IRunDetailNotesTabProps {
2 | runHash: string;
3 | }
4 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/RunDetail/RunDetailSettingsTab/index.ts:
--------------------------------------------------------------------------------
1 | import RunDetailSettingsTab from './RunDetailSettingsTab';
2 |
3 | export default RunDetailSettingsTab;
4 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/RunDetail/RunDetailSettingsTab/types.d.ts:
--------------------------------------------------------------------------------
1 | export interface IRunDetailSettingsTabProps {
2 | runHash: string;
3 | defaultName: string;
4 | defaultDescription?: string;
5 | isArchived: boolean;
6 | }
7 |
8 | export interface IRunNameAndDescriptionCardProps
9 | extends IRunDetailSettingsTabProps {}
10 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/RunDetail/RunLogRecords/LogRecordItem/index.ts:
--------------------------------------------------------------------------------
1 | import LogRecordItem from './LogRecordItem';
2 |
3 | export * from './LogRecordItem.d';
4 | export default LogRecordItem;
5 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/RunDetail/RunLogRecords/index.ts:
--------------------------------------------------------------------------------
1 | import RunLogRecords from './RunLogRecords';
2 |
3 | export * from './RunLogRecords.d';
4 |
5 | export default RunLogRecords;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/RunDetail/RunLogsTab/RunLogsTab.d.ts:
--------------------------------------------------------------------------------
1 | export interface IRunLogsTabProps {
2 | isRunLogsLoading: boolean;
3 | runHash: string;
4 | runLogs: { [key: string]: { index: string; value: string } };
5 | inProgress: boolean;
6 | updatedLogsCount: number;
7 | }
8 |
9 | export enum LogsLastRequestEnum {
10 | DEFAULT = 'default',
11 | LIVE_UPDATE = 'live-update',
12 | LOAD_MORE = 'load-more',
13 | }
14 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/RunDetail/RunLogsTab/index.tsx:
--------------------------------------------------------------------------------
1 | import RunLogsTab from './RunLogsTab';
2 |
3 | export * from './RunLogsTab.d';
4 | export default RunLogsTab;
5 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/RunDetail/RunOverviewTab/RunOverviewTab.d.ts:
--------------------------------------------------------------------------------
1 | export interface IRunOverviewTabProps {
2 | runData: any;
3 | runHash: string;
4 | }
5 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/RunDetail/RunOverviewTab/components/ArtifactsCard/RunOverviewTabArtifactsCard.d.ts:
--------------------------------------------------------------------------------
1 | export interface IRunOverviewTabArtifactsCardProps {
2 | artifacts: { [key: string]: string };
3 | isRunInfoLoading: boolean;
4 | }
5 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/RunDetail/RunOverviewTab/components/CLIArgumentsCard/RunOverviewTabCLIArgumentsCard.d.ts:
--------------------------------------------------------------------------------
1 | export interface IRunOverviewTabCLIArgumentsCardProps {
2 | cliArguments: string[];
3 | isRunInfoLoading: boolean;
4 | }
5 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/RunDetail/RunOverviewTab/components/CLIArgumentsCard/RunOverviewTabCLIArgumentsCard.scss:
--------------------------------------------------------------------------------
1 | .RunOverviewTabCLIArgumentsCard {
2 | .IllustrationBlock {
3 | margin-bottom: 1.75rem;
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/RunDetail/RunOverviewTab/components/EnvVariablesCard/RunOverviewTabEnvVariablesCard.d.ts:
--------------------------------------------------------------------------------
1 | export interface IRunOverviewTabEnvVariablesCardProps {
2 | envVariables: { [key: string]: string };
3 | isRunInfoLoading: boolean;
4 | }
5 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/RunDetail/RunOverviewTab/components/GitInfoCard/GitInfoCard.d.ts:
--------------------------------------------------------------------------------
1 | export interface IGitInfoCardProps {
2 | data: {
3 | branch: string;
4 | commit: {
5 | author: string;
6 | hash: string;
7 | timestamp: string;
8 | };
9 | remote_origin_url: string;
10 | };
11 | }
12 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/RunDetail/RunOverviewTab/components/Packages/RunOverviewTabPackagesCard.d.ts:
--------------------------------------------------------------------------------
1 | export interface IRunOverviewTabPackagesCardProps {
2 | packages: { [key: string]: string };
3 | isRunInfoLoading: boolean;
4 | }
5 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/RunDetail/RunOverviewTab/index.tsx:
--------------------------------------------------------------------------------
1 | import RunOverviewTab from './RunOverviewTab';
2 |
3 | export default RunOverviewTab;
4 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/RunDetail/TextsVisualizer/TextsVisualizer.scss:
--------------------------------------------------------------------------------
1 | @use 'src/styles/abstracts' as *;
2 |
3 | .TextsVisualizer {
4 | height: calc(100% - 50px);
5 | padding: toRem(10px) toRem(20px) 0;
6 | width: 100%;
7 | position: relative;
8 | }
9 |
10 | .TextsVisualizer__textCell {
11 | height: 100%;
12 | padding: $space-sm $space-xs;
13 | overflow: auto;
14 | }
15 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/RunDetail/TextsVisualizer/index.ts:
--------------------------------------------------------------------------------
1 | import TextsVisualizer from './TextsVisualizer';
2 |
3 | export default TextsVisualizer;
4 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/RunDetail/TraceVisualizationContainer/index.tsx:
--------------------------------------------------------------------------------
1 | import TraceVisualizationContainer from './TraceVisualizationContainer';
2 |
3 | export default TraceVisualizationContainer;
4 |
--------------------------------------------------------------------------------
/aim/web/ui/src/pages/Runs/components/SearchBar/SearchBar.scss:
--------------------------------------------------------------------------------
1 | @use 'src/styles/abstracts' as *;
2 |
3 | .Runs_Search_Bar {
4 | display: flex;
5 | border-bottom: $border-main;
6 | padding: 1rem 1.5rem;
7 | align-items: center;
8 |
9 | form {
10 | width: 100%;
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/aim/web/ui/src/react-app-env.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
--------------------------------------------------------------------------------
/aim/web/ui/src/services/NetworkService/interceptors/exceptionDetector.ts:
--------------------------------------------------------------------------------
1 | function exceptionDetector(data: any) {
2 | // Actions
3 | return data;
4 | }
5 |
6 | export default exceptionDetector;
7 |
--------------------------------------------------------------------------------
/aim/web/ui/src/services/live-update/index.ts:
--------------------------------------------------------------------------------
1 | import LiveUpdateService from './examples/LiveUpdateBridge.example';
2 | import { createTransferableData, getDataFromTransferable } from './utils';
3 | import { WorkerApiCallResultSubscriber } from './types';
4 |
5 | export { createTransferableData, getDataFromTransferable };
6 |
7 | export type Subscriber = WorkerApiCallResultSubscriber;
8 |
9 | export default LiveUpdateService;
10 |
--------------------------------------------------------------------------------
/aim/web/ui/src/services/models/media/blobsURIModel.ts:
--------------------------------------------------------------------------------
1 | import createModel from '../model';
2 |
3 | const blobsURIModel = createModel<{ [key: string]: string }>({});
4 |
5 | export default blobsURIModel;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/services/models/metrics/metricModel.ts:
--------------------------------------------------------------------------------
1 | import { IMetric } from 'types/services/models/metrics/metricModel';
2 |
3 | function createMetricModel(metricData: IMetric): IMetric {
4 | return metricData;
5 | }
6 |
7 | export default createMetricModel;
8 |
--------------------------------------------------------------------------------
/aim/web/ui/src/services/models/metrics/metricsAppModel.ts:
--------------------------------------------------------------------------------
1 | import { appInitialConfig, createAppModel } from 'services/models/explorer';
2 |
3 | const metricAppModel = createAppModel(appInitialConfig.METRICS) as any;
4 |
5 | export default metricAppModel;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/services/models/metrics/runModel.ts:
--------------------------------------------------------------------------------
1 | import {
2 | IMetricTrace,
3 | IParamTrace,
4 | IRun,
5 | } from 'types/services/models/metrics/runModel';
6 |
7 | export function createRunModel(
8 | runData: IRun,
9 | ): IRun {
10 | return runData;
11 | }
12 |
--------------------------------------------------------------------------------
/aim/web/ui/src/services/models/params/paramsAppModel.ts:
--------------------------------------------------------------------------------
1 | import { appInitialConfig, createAppModel } from 'services/models/explorer';
2 |
3 | const paramsAppModel = createAppModel(appInitialConfig.PARAMS) as any;
4 |
5 | export default paramsAppModel;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/services/models/runs/runsAppModel.ts:
--------------------------------------------------------------------------------
1 | import { appInitialConfig, createAppModel } from 'services/models/explorer';
2 |
3 | const runsAppModel = createAppModel(appInitialConfig.RUNS) as any;
4 |
5 | export default runsAppModel;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/services/models/scatters/scattersAppModel.ts:
--------------------------------------------------------------------------------
1 | import { appInitialConfig, createAppModel } from 'services/models/explorer';
2 |
3 | const scattersAppModel = createAppModel(appInitialConfig.SCATTERS) as any;
4 |
5 | export default scattersAppModel;
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/setupTests.ts:
--------------------------------------------------------------------------------
1 | // jest-dom adds custom jest matchers for asserting on DOM nodes.
2 | // allows you to do things like:
3 | // expect(element).toHaveTextContent(/react/i)
4 | // learn more: https://github.com/testing-library/jest-dom
5 | import 'jest-canvas-mock';
6 |
7 | import '@testing-library/jest-dom';
8 |
--------------------------------------------------------------------------------
/aim/web/ui/src/styles/abstracts/_index.scss:
--------------------------------------------------------------------------------
1 | @forward "./variables";
2 | @forward "./functions";
3 | @forward './mixins';
4 |
--------------------------------------------------------------------------------
/aim/web/ui/src/styles/components/_tooltip.scss:
--------------------------------------------------------------------------------
1 | @use 'src/styles/abstracts' as *;
2 |
3 | .MuiTooltip-tooltip {
4 | max-height: $tooltip-max-height;
5 | overflow: hidden;
6 | }
7 |
8 | .MuiTooltip-tooltipPlacementTop,
9 | .MuiTooltip-tooltipPlacementBottom {
10 | margin: 6px 0;
11 | }
12 |
13 | .MuiTooltip-tooltipPlacementLeft,
14 | .MuiTooltip-tooltipPlacementRight {
15 | margin: 0 6px;
16 | }
17 |
--------------------------------------------------------------------------------
/aim/web/ui/src/types/components/AggregationPopover/AggregationPopover.d.ts:
--------------------------------------------------------------------------------
1 | import { IAggregationConfig } from 'types/services/models/metrics/metricsAppModel';
2 |
3 | export interface IAggregationPopoverProps {
4 | aggregationConfig: IAggregationConfig;
5 | onChange: (aggregationConfig: Partial) => void;
6 | }
7 |
--------------------------------------------------------------------------------
/aim/web/ui/src/types/components/AppBar/AppBar.d.ts:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 |
3 | export interface IAppBarProps {
4 | title: string | ReactNode;
5 | className?: string;
6 | disabled?: boolean;
7 | children?: React.ReactChildren | any;
8 | }
9 |
--------------------------------------------------------------------------------
/aim/web/ui/src/types/components/AxesScalePopover/AxesScalePopover.d.ts:
--------------------------------------------------------------------------------
1 | import { ScaleEnum } from 'utils/d3';
2 |
3 | export interface IAxesScaleState {
4 | xAxis: ScaleEnum;
5 | yAxis: ScaleEnum;
6 | }
7 |
8 | export interface IAxesScalePopoverProps {
9 | onAxesScaleTypeChange: (params: IAxesScaleState) => void;
10 | axesScaleType: IAxesScaleState;
11 | }
12 |
--------------------------------------------------------------------------------
/aim/web/ui/src/types/components/BookmarkForm/BookmarkForm.d.ts:
--------------------------------------------------------------------------------
1 | import { IMetricProps } from 'types/pages/metrics/Metrics';
2 | export interface IBookmarkFormProps {
3 | open: boolean;
4 | onClose: () => void;
5 | onBookmarkCreate: IMetricProps['onBookmarkCreate'];
6 | }
7 |
8 | export interface IBookmarkFormState {
9 | name: string;
10 | description: string;
11 | }
12 |
--------------------------------------------------------------------------------
/aim/web/ui/src/types/components/BusyLoaderWrapper/BusyLoaderWrapper.d.ts:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 |
3 | export interface IBusyLoaderWrapperProps {
4 | isLoading: boolean;
5 | className?: string;
6 | children?: React.ReactElement | any;
7 | loaderComponent?: React.ReactElement;
8 | loaderType?: string;
9 | loaderConfig?: object;
10 | width?: string;
11 | height?: string;
12 | }
13 |
--------------------------------------------------------------------------------
/aim/web/ui/src/types/components/ChartLoader/ChartLoader.d.ts:
--------------------------------------------------------------------------------
1 | export interface IChartLoaderProps {
2 | controlsCount?: number;
3 | }
4 |
--------------------------------------------------------------------------------
/aim/web/ui/src/types/components/CodeBlock/CodeBlock.d.ts:
--------------------------------------------------------------------------------
1 | export interface ICodeBlockProps {
2 | code: string;
3 | className?: string;
4 | language?: string;
5 | }
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/types/components/ColorPopoverAdvanced/ColorPopoverAdvanced.d.ts:
--------------------------------------------------------------------------------
1 | import { IMetricProps } from 'types/pages/metrics/Metrics';
2 |
3 | export interface IColorPopoverAdvancedProps {
4 | persistence: boolean;
5 | onPersistenceChange: IMetricProps['onGroupingPersistenceChange'];
6 | onPaletteChange: (event: React.ChangeEvent) => void;
7 | }
8 |
--------------------------------------------------------------------------------
/aim/web/ui/src/types/components/ConfirmModal/ConfirmModal.d.ts:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 |
3 | export interface IConfirmModalProps {
4 | open: boolean;
5 | text?: string;
6 | description?: string;
7 | icon: React.ReactNode;
8 | title?: string;
9 | cancelBtnText?: string;
10 | confirmBtnText?: string;
11 | children?: React.ReactNode;
12 | onSubmit: () => void;
13 | onCancel: () => void;
14 | statusType?: error | success | warning | info;
15 | }
16 |
--------------------------------------------------------------------------------
/aim/web/ui/src/types/components/CopyToClipBoard/CopyToClipBoard.d.ts:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 |
3 | import { IButtonProps } from 'components/kit';
4 |
5 | export interface ICopyToClipBoardProps {
6 | contentRef?: React.RefObject;
7 | showSuccessDelay?: number;
8 | className?: string;
9 | copyContent?: string | null;
10 | iconSize?: IButtonProps['size'];
11 | isURL?: bool | null;
12 | }
13 |
--------------------------------------------------------------------------------
/aim/web/ui/src/types/components/ErrorBoundary/ErrorBoundary.d.ts:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 |
3 | export interface IErrorBoundaryProps {
4 | fallback?: React.ReactElement;
5 | }
6 |
7 | export interface IErrorBoundaryState {
8 | error: Error | null;
9 | }
10 |
--------------------------------------------------------------------------------
/aim/web/ui/src/types/components/GroupConfigPopover/GroupConfigPopover.d.ts:
--------------------------------------------------------------------------------
1 | export interface IGroupConfigPopoverProps {
2 | configData: Array<{ name: string; value: string }>;
3 | }
4 |
--------------------------------------------------------------------------------
/aim/web/ui/src/types/components/HighlightModesPopover/HighlightModesPopover.d.ts:
--------------------------------------------------------------------------------
1 | import { HighlightEnum } from 'utils/d3';
2 |
3 | export interface IHighlightModesPopoverProps {
4 | mode: HighlightEnum;
5 | onChange: (mode: HighlightEnum) => void;
6 | }
7 |
--------------------------------------------------------------------------------
/aim/web/ui/src/types/components/ResizeModeActions/ResizeModeActions.d.ts:
--------------------------------------------------------------------------------
1 | import { IMetricProps } from 'types/pages/metrics/Metrics';
2 |
3 | export interface IResizeModeActions {
4 | onTableResizeModeChange: IMetricProps['onTableResizeModeChange'];
5 | resizeMode: IMetricProps['resizeMode'];
6 | className?: string;
7 | }
8 |
--------------------------------------------------------------------------------
/aim/web/ui/src/types/components/ResizePanel/ResizePanel.d.ts:
--------------------------------------------------------------------------------
1 | import { IMetricProps } from 'types/pages/metrics/Metrics';
2 |
3 | export interface IResizePanelProps {
4 | panelResizing: boolean;
5 | resizeElemRef: IMetricProps['resizeElemRef'];
6 | resizeMode: IMetricProps['resizeMode'];
7 | onTableResizeModeChange: IMetricProps['onTableResizeModeChange'];
8 | className?: string;
9 | }
10 |
--------------------------------------------------------------------------------
/aim/web/ui/src/types/components/SelectTag/SelectTag.d.ts:
--------------------------------------------------------------------------------
1 | import { Dispatch, SetStateAction } from 'react';
2 |
3 | import { ITagInfo } from 'types/pages/tags/Tags';
4 |
5 | export interface ISelectTagProps {
6 | runHash: string;
7 | attachedTags: ITagInfo[];
8 | setAttachedTags: Dispatch>;
9 | onRunsTagsChange?: (runHash: string, tags: ITagInfo[]) => void;
10 | updatePopover?: (key: string) => void;
11 | }
12 |
--------------------------------------------------------------------------------
/aim/web/ui/src/types/components/SmoothingPopover/SmoothingPopover.d.ts:
--------------------------------------------------------------------------------
1 | import { ISmoothing } from 'types/services/models/metrics/metricsAppModel';
2 |
3 | export interface ISmoothingPopoverProps {
4 | onSmoothingChange: (props: Partial) => void;
5 | smoothing: ISmoothing;
6 | }
7 |
--------------------------------------------------------------------------------
/aim/web/ui/src/types/components/TabPanel/TabPanel.d.ts:
--------------------------------------------------------------------------------
1 | export interface ITabPanelProps {
2 | children?: React.ReactNode;
3 | index: number | string;
4 | value: number | string;
5 | className?: string;
6 | }
7 |
--------------------------------------------------------------------------------
/aim/web/ui/src/types/components/TagForm/TagForm.d.ts:
--------------------------------------------------------------------------------
1 | export interface ITagFormProps {
2 | tagData?: {
3 | name: string;
4 | color: string | null;
5 | description: string | null;
6 | archived: boolean;
7 | };
8 | editMode?: boolean = false;
9 | tagId?: string;
10 | updateTagName?: (name: string) => void;
11 | onCloseModal: () => void;
12 | }
13 |
--------------------------------------------------------------------------------
/aim/web/ui/src/types/components/Theme/Theme.d.ts:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 |
3 | export interface IThemeProps {
4 | children: React.ReactNode;
5 | }
6 |
7 | export interface IThemeContextValues {
8 | dark: boolean;
9 | handleTheme: () => void;
10 | }
11 |
--------------------------------------------------------------------------------
/aim/web/ui/src/types/components/ZoomInPopover/ZoomInPopover.d.ts:
--------------------------------------------------------------------------------
1 | import { IChartZoom } from 'types/services/models/metrics/metricsAppModel';
2 |
3 | import { ZoomEnum } from 'utils/d3';
4 |
5 | export interface IZoomInPopoverProps {
6 | mode?: ZoomEnum;
7 | onChange?: (zoom: Partial) => void;
8 | }
9 |
--------------------------------------------------------------------------------
/aim/web/ui/src/types/components/ZoomOutPopover/ZoomOutPopover.d.ts:
--------------------------------------------------------------------------------
1 | import { IChartZoom } from 'types/services/models/metrics/metricsAppModel';
2 |
3 | export interface IZoomOutPopoverProps {
4 | zoomHistory?: IChartZoom['history'];
5 | onChange?: (zoom: Partial) => void;
6 | }
7 |
--------------------------------------------------------------------------------
/aim/web/ui/src/types/core/AimObjects/Audio.d.ts:
--------------------------------------------------------------------------------
1 | export interface Audio {
2 | caption: string;
3 | blob_uri: string;
4 | index: number;
5 | }
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/types/core/AimObjects/Distribution.d.ts:
--------------------------------------------------------------------------------
1 | import { EncodedNumpyArray } from '../shared';
2 |
3 | export interface Distribution {
4 | data: EncodedNumpyArray;
5 | bin_count: number;
6 | range: [number, number];
7 | }
8 |
--------------------------------------------------------------------------------
/aim/web/ui/src/types/core/AimObjects/Figure.d.ts:
--------------------------------------------------------------------------------
1 | export interface Figure {
2 | blob_uri: string;
3 | }
4 |
--------------------------------------------------------------------------------
/aim/web/ui/src/types/core/AimObjects/Image.d.ts:
--------------------------------------------------------------------------------
1 | export interface Image {
2 | caption: string;
3 | width: number;
4 | height: number;
5 | blob_uri: string;
6 | index: number;
7 | }
8 |
--------------------------------------------------------------------------------
/aim/web/ui/src/types/core/AimObjects/Metric.d.ts:
--------------------------------------------------------------------------------
1 | import { SequenceFullView } from './Sequence';
2 | import { Params, RunProps } from './Run';
3 |
4 | export interface MetricSearchRunView {
5 | params: Params;
6 | traces: Array;
7 | props: RunProps;
8 | }
9 |
--------------------------------------------------------------------------------
/aim/web/ui/src/types/core/AimObjects/index.d.ts:
--------------------------------------------------------------------------------
1 | export * from './AimFlatObjectBase';
2 | export * from './CustomObject';
3 | export * from './Distribution';
4 | export * from './Sequence';
5 | export * from './Metric';
6 | export * from './Audio';
7 | export * from './Figure';
8 | export * from './Image';
9 | export * from './Run';
10 |
--------------------------------------------------------------------------------
/aim/web/ui/src/types/global.d.ts:
--------------------------------------------------------------------------------
1 | declare global {
2 | const __DEV__: boolean;
3 | }
4 |
--------------------------------------------------------------------------------
/aim/web/ui/src/types/pages/bookmarks/components/BookmarkCard.d.ts:
--------------------------------------------------------------------------------
1 | import { IBookmarksData, IBookmarksProps } from '../Bookmarks';
2 |
3 | export interface IBookmarkCardProps extends IBookmarksData {
4 | onBookmarkDelete: IBookmarksProps['onBookmarkDelete'];
5 | }
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/types/pages/metrics/components/TableColumns/TableColumns.d.ts:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 |
3 | export interface ITableColumn {
4 | key: string;
5 | label?: string;
6 | content: React.ReactNode | string;
7 | topHeader: string;
8 | pin?: string | null;
9 | isHidden?: boolean;
10 | }
11 |
--------------------------------------------------------------------------------
/aim/web/ui/src/types/services/models/bookmarks/bookmarksAppModel.d.ts:
--------------------------------------------------------------------------------
1 | import { INotification } from 'types/components/NotificationContainer/NotificationContainer';
2 | import { IBookmarksData } from 'types/pages/bookmarks/Bookmarks';
3 |
4 | export interface IBookmarksAppModelState {
5 | isLoading: boolean;
6 | listData: IBookmarksData[];
7 | notifyData: INotification[];
8 | }
9 |
--------------------------------------------------------------------------------
/aim/web/ui/src/types/services/models/runs/runsAppModel.d.ts:
--------------------------------------------------------------------------------
1 | import { RequestStatusEnum } from 'config/enums/requestStatusEnum';
2 |
3 | import { IRequestProgress } from 'utils/app/setRequestProgress';
4 |
5 | export interface IRunsAppModelState {
6 | selectedRows?: any;
7 | requestStatus: RequestStatusEnum;
8 | requestProgress: IRequestProgress;
9 | liveUpdateConfig?: {
10 | delay: number;
11 | enabled: boolean;
12 | };
13 | [key: string]: any;
14 | }
15 |
--------------------------------------------------------------------------------
/aim/web/ui/src/types/services/services.d.ts:
--------------------------------------------------------------------------------
1 | export interface IApiRequest {
2 | call: (detail?: any) => Promise;
3 | abort: () => void;
4 | }
5 |
6 | export interface IApiRequestRef {
7 | call: (exceptionHandler: (detail: any) => void) => Promise;
8 | abort: () => void;
9 | }
10 |
--------------------------------------------------------------------------------
/aim/web/ui/src/types/utils/common.d.ts:
--------------------------------------------------------------------------------
1 | export type Override = Omit & T2;
2 |
--------------------------------------------------------------------------------
/aim/web/ui/src/types/utils/d3/clearArea.d.ts:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 |
3 | export interface IClearAreaProps {
4 | visAreaRef: React.MutableRefObject<>;
5 | }
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/types/utils/d3/drawParallelColorIndicator.d.ts:
--------------------------------------------------------------------------------
1 | export interface IDrawParallelColorIndicator {
2 | index: number;
3 | plotBoxRef: React.MutableRefObject<>;
4 | plotNodeRef: React.MutableRefObject<>;
5 | }
6 |
--------------------------------------------------------------------------------
/aim/web/ui/src/types/utils/d3/drawPoints.d.ts:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 |
3 | import { IPoint } from 'components/ScatterPlot';
4 |
5 | import { IAxisScale } from './getAxisScale';
6 |
7 | export interface IDrawPointsArgs {
8 | index: number;
9 | nameKey: string;
10 | pointsRef: React.MutableRefObject<>;
11 | pointsNodeRef: React.MutableRefObject<>;
12 | data: IPoint[];
13 | xScale: IAxisScale;
14 | yScale: IAxisScale;
15 | }
16 |
--------------------------------------------------------------------------------
/aim/web/ui/src/types/utils/formatSystemMetricName.d.ts:
--------------------------------------------------------------------------------
1 | export type systemMetricsDictType = {
2 | __system__cpu: string;
3 | __system__p_memory_percent: string;
4 | __system__memory_percent: string;
5 | __system__disk_percent: string;
6 | __system__gpu: string;
7 | __system__gpu_memory_percent: string;
8 | __system__gpu_power_watts: string;
9 | __system__gpu_temp: string;
10 | };
11 |
--------------------------------------------------------------------------------
/aim/web/ui/src/types/utils/getImageBoxSize.d.ts:
--------------------------------------------------------------------------------
1 | export interface IGetImageBoxSizeProps {
2 | data: { [key: string]: any };
3 | index?: number;
4 | additionalProperties: { [key: string]: any };
5 | wrapperOffsetWidth: number;
6 | wrapperOffsetHeight?: number;
7 | }
8 |
--------------------------------------------------------------------------------
/aim/web/ui/src/types/utils/getImageMediaListHeight.d.ts:
--------------------------------------------------------------------------------
1 | import { MediaItemAlignmentEnum } from 'config/enums/imageEnums';
2 |
3 | export interface IGetImageMediaListHeightProps {
4 | alignmentType: MediaItemAlignmentEnum;
5 | maxHeight: number;
6 | maxWidth: number;
7 | wrapperOffsetWidth: number;
8 | mediaItemSize: number;
9 | mediaItemHeight: number;
10 | }
11 |
--------------------------------------------------------------------------------
/aim/web/ui/src/types/utils/getImageMediaSetSize.d.ts:
--------------------------------------------------------------------------------
1 | import { MediaItemAlignmentEnum } from 'config/enums/imageEnums';
2 |
3 | export interface IGetImageMediaSetSizeProps {
4 | maxHeight: number;
5 | maxWidth: number;
6 | mediaItemHeight: number;
7 | alignmentType: MediaItemAlignmentEnum;
8 | wrapperOffsetWidth: number;
9 | mediaItemSize: number;
10 | stacking: boolean;
11 | }
12 |
--------------------------------------------------------------------------------
/aim/web/ui/src/utils/arrayBufferToBase64.ts:
--------------------------------------------------------------------------------
1 | export default function arrayBufferToBase64(buffer: ArrayBuffer) {
2 | let binary = '';
3 | const bytes = new Uint8Array(buffer);
4 | const len = bytes.byteLength;
5 | for (let i = 0; i < len; i++) {
6 | binary += String.fromCharCode(bytes[i]);
7 | }
8 | return window.btoa(binary);
9 | }
10 |
--------------------------------------------------------------------------------
/aim/web/ui/src/utils/changeDasharraySize.ts:
--------------------------------------------------------------------------------
1 | function changeDasharraySize(
2 | dasharray: string = 'none',
3 | multiplier: number = 1,
4 | ): string {
5 | if (dasharray === 'none') return dasharray;
6 |
7 | return dasharray
8 | .split(' ')
9 | .map((elem) => parseInt(elem) * multiplier)
10 | .join(' ');
11 | }
12 |
13 | export default changeDasharraySize;
14 |
--------------------------------------------------------------------------------
/aim/web/ui/src/utils/d3/areaGenerator.ts:
--------------------------------------------------------------------------------
1 | import * as d3 from 'd3';
2 |
3 | import { IAxisScale } from 'types/utils/d3/getAxisScale';
4 |
5 | import { CurveEnum } from './';
6 |
7 | export default function areaGenerator(xScale: IAxisScale, yScale: IAxisScale) {
8 | return d3
9 | .area()
10 | .x0((d: any) => xScale(d[0]))
11 | .y0((d: any) => yScale(d[1]))
12 | .x1((d: any) => xScale(d[2]))
13 | .y1((d: any) => yScale(d[3]))
14 | .curve(d3[CurveEnum.Linear]);
15 | }
16 |
--------------------------------------------------------------------------------
/aim/web/ui/src/utils/d3/clearArea.ts:
--------------------------------------------------------------------------------
1 | import * as d3 from 'd3';
2 |
3 | import { IClearAreaProps } from 'types/utils/d3/clearArea';
4 |
5 | function clearArea(props: IClearAreaProps): void {
6 | if (!props.visAreaRef?.current) {
7 | return;
8 | }
9 |
10 | const area = d3.select(props.visAreaRef.current);
11 | if (area) {
12 | area.selectAll('*').remove();
13 | area.attr('style', null);
14 | }
15 | }
16 |
17 | export default clearArea;
18 |
--------------------------------------------------------------------------------
/aim/web/ui/src/utils/d3/symbolGenerator.ts:
--------------------------------------------------------------------------------
1 | import * as d3 from 'd3';
2 |
3 | import { PointSymbolEnum } from './index';
4 |
5 | export default function symbolGenerator(
6 | symbol: PointSymbolEnum = PointSymbolEnum.CIRCLE,
7 | size: number = 40,
8 | ) {
9 | return d3.symbol().type(d3[symbol]).size(size);
10 | }
11 |
--------------------------------------------------------------------------------
/aim/web/ui/src/utils/filterArrayByIndexes.ts:
--------------------------------------------------------------------------------
1 | export function filterArrayByIndexes(
2 | missingIndexes: number[],
3 | array: number[] | Float64Array,
4 | ): Float64Array {
5 | return new Float64Array(
6 | array.filter((item, index) => missingIndexes.indexOf(index) === -1),
7 | );
8 | }
9 |
--------------------------------------------------------------------------------
/aim/web/ui/src/utils/formatSystemMetricName.ts:
--------------------------------------------------------------------------------
1 | import { systemMetricsDict } from 'config/systemMetrics/systemMetrics';
2 |
3 | import { systemMetricsDictType } from 'types/utils/formatSystemMetricName';
4 |
5 | export function formatSystemMetricName(metric: string): string {
6 | return systemMetricsDict[metric as keyof systemMetricsDictType] || metric;
7 | }
8 |
--------------------------------------------------------------------------------
/aim/web/ui/src/utils/formatToPositiveNumber.ts:
--------------------------------------------------------------------------------
1 | export function formatToPositiveNumber(value: number): string {
2 | const formattedToString = `${value}`;
3 | if (value <= 0) {
4 | return '0';
5 | } else if (+formattedToString[0] === 0 && formattedToString.length > 1) {
6 | return formattedToString.slice(1, formattedToString.length - 1);
7 | }
8 | return formattedToString;
9 | }
10 |
--------------------------------------------------------------------------------
/aim/web/ui/src/utils/getBiggestImageFromList.ts:
--------------------------------------------------------------------------------
1 | export default function getBiggestImageFromList(list: Array<{}>) {
2 | let maxHeight = 0;
3 | let maxWidth = 0;
4 | list.forEach((item: any) => {
5 | if (maxHeight < item.height) {
6 | maxHeight = item.height;
7 | maxWidth = item.width;
8 | }
9 | });
10 | return { maxHeight, maxWidth };
11 | }
12 |
--------------------------------------------------------------------------------
/aim/web/ui/src/utils/getStateFromLocalStorage.ts:
--------------------------------------------------------------------------------
1 | import { decode } from './encoder/encoder';
2 |
3 | export default function getStateFromLocalStorage(key: string) {
4 | const data: any = localStorage.getItem(key);
5 | if (data) {
6 | return JSON.parse(decode(data));
7 | }
8 | return null;
9 | }
10 |
--------------------------------------------------------------------------------
/aim/web/ui/src/utils/getStateFromUrl.ts:
--------------------------------------------------------------------------------
1 | import { decode } from './encoder/encoder';
2 |
3 | export default function getStateFromUrl(paramName: string) {
4 | const searchParam = new URLSearchParams(window.location.search);
5 | const url: string = searchParam.get(paramName) || '';
6 | if (url) {
7 | return JSON.parse(decode(url));
8 | }
9 | return null;
10 | }
11 |
--------------------------------------------------------------------------------
/aim/web/ui/src/utils/getValueByField.ts:
--------------------------------------------------------------------------------
1 | import _ from 'lodash-es';
2 |
3 | export default function getValueByField(
4 | list: Array,
5 | value: any,
6 | comparisonFieldName: string = 'value',
7 | returnFiled: string = 'label',
8 | ) {
9 | const foundItem = list.find((listItem) =>
10 | _.isEqual(listItem[comparisonFieldName], value),
11 | );
12 | return foundItem ? foundItem[returnFiled] : '';
13 | }
14 |
--------------------------------------------------------------------------------
/aim/web/ui/src/utils/getValuesMedian.ts:
--------------------------------------------------------------------------------
1 | export function getValuesMedian(values: number[] | Float64Array): number {
2 | values.sort((a, b) => a - b);
3 | const length = values.length;
4 | if (length % 2 === 0) {
5 | return (values[length / 2] + values[length / 2 - 1]) / 2;
6 | }
7 |
8 | return values[(length - 1) / 2];
9 | }
10 |
--------------------------------------------------------------------------------
/aim/web/ui/src/utils/helper/float64FromUint8/float64FromUint8.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * [Parse Uint8Array to Float64Array]
3 | *
4 | * Usage: float64FromUint8(buffer)
5 | *
6 | * @param {Uint8Array} uint8 Uint8Array to be parsed to Float64Array,
7 | * @returns {Float64Array}
8 | */
9 | function float64FromUint8(uint8: Uint8Array = new Uint8Array()): Float64Array {
10 | return new Float64Array(uint8.slice().buffer);
11 | }
12 |
13 | export default float64FromUint8;
14 |
--------------------------------------------------------------------------------
/aim/web/ui/src/utils/helper/getSVGString/getSVGString.test.ts:
--------------------------------------------------------------------------------
1 | import { toEqual } from 'tests/utils';
2 |
3 | import getSVGString from './getSVGString';
4 |
5 | describe('[getSVGString]', () => {
6 | it('should return string type value', () => {
7 | let svgNode: SVGSVGElement = document.createElementNS(
8 | 'http://www.w3.org/2000/svg',
9 | 'svg',
10 | );
11 | const svgString = getSVGString(svgNode);
12 | toEqual('string', typeof svgString);
13 | });
14 | });
15 |
--------------------------------------------------------------------------------
/aim/web/ui/src/utils/helper/inIframe/inIframe.ts:
--------------------------------------------------------------------------------
1 | function inIframe() {
2 | try {
3 | return window.self !== window.top;
4 | } catch (e) {
5 | return true;
6 | }
7 | }
8 |
9 | export default inIframe;
10 |
--------------------------------------------------------------------------------
/aim/web/ui/src/utils/isMetricHash.ts:
--------------------------------------------------------------------------------
1 | import { AIM64_ENCODING_PREFIX, decode } from './encoder/encoder';
2 |
3 | export function isMetricHash(key: string) {
4 | return (
5 | key?.startsWith(AIM64_ENCODING_PREFIX) &&
6 | JSON.parse(decode(key)).hasOwnProperty('metricName')
7 | );
8 | }
9 |
--------------------------------------------------------------------------------
/aim/web/ui/src/utils/isSystemMetric.ts:
--------------------------------------------------------------------------------
1 | import { systemMetricsDict } from 'config/systemMetrics/systemMetrics';
2 |
3 | import { systemMetricsDictType } from 'types/utils/formatSystemMetricName';
4 |
5 | export function isSystemMetric(metric: string): boolean {
6 | return !!systemMetricsDict[metric as keyof systemMetricsDictType];
7 | }
8 |
--------------------------------------------------------------------------------
/aim/web/ui/src/utils/jsonParse.ts:
--------------------------------------------------------------------------------
1 | export function jsonParse(value: string) {
2 | try {
3 | JSON.parse(value);
4 | } catch (e) {
5 | return false;
6 | }
7 | return JSON.parse(value);
8 | }
9 |
--------------------------------------------------------------------------------
/aim/web/ui/src/utils/minMaxOfArray.ts:
--------------------------------------------------------------------------------
1 | export function minMaxOfArray(arr: number[]): number[] {
2 | if (arr.length === 0) {
3 | return [];
4 | }
5 | let max: number = arr[0];
6 | let min: number = arr[0];
7 | for (let i = 1; i < arr.length; i++) {
8 | if (arr[i] > max) {
9 | max = arr[i];
10 | }
11 | if (min > arr[i]) {
12 | min = arr[i];
13 | }
14 | }
15 | return [min, max];
16 | }
17 |
--------------------------------------------------------------------------------
/aim/web/ui/src/utils/processDurationTime.ts:
--------------------------------------------------------------------------------
1 | import moment from 'moment';
2 |
3 | import shortEnglishHumanizer from './shortEnglishHumanizer';
4 |
5 | export function processDurationTime(
6 | startTime: number,
7 | endTime: number,
8 | ): string {
9 | const duration = moment(startTime).diff(moment(endTime));
10 |
11 | return shortEnglishHumanizer(duration, {
12 | maxDecimalPoints: 2,
13 | });
14 | }
15 |
--------------------------------------------------------------------------------
/aim/web/ui/src/utils/stopPropagation.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @property {React.ChangeEvent} event - stopping propagate event to parent
3 | */
4 |
5 | function stopPropagation(event: React.ChangeEvent) {
6 | event.stopPropagation();
7 | }
8 |
9 | stopPropagation.displayName = 'stopPropagation';
10 |
11 | export default stopPropagation;
12 |
--------------------------------------------------------------------------------
/aim/web/ui/tasks/cli/index.js:
--------------------------------------------------------------------------------
1 | const yargs = require('yargs/yargs');
2 |
3 | const commands = {
4 | 'create-component': './commands/createComponent',
5 | };
6 |
7 | const command = yargs(process.argv.slice(2)).argv._[0];
8 |
9 | require(commands[command]);
10 |
--------------------------------------------------------------------------------
/aim/web/uwsgi.ini:
--------------------------------------------------------------------------------
1 | [uwsgi]
2 | module=run:app
3 | virtualenv=/env
--------------------------------------------------------------------------------
/aim/xgboost.py:
--------------------------------------------------------------------------------
1 | # Alias to SDK XGBoost interface
2 | from aim.sdk.adapters.xgboost import AimCallback # noqa: F401
3 |
--------------------------------------------------------------------------------
/docker/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM python:3.9.10-slim
2 |
3 | ARG AIM_VERSION
4 | RUN pip install Cython==3.0.10
5 | RUN pip install aim==$AIM_VERSION
6 |
7 | WORKDIR /opt/aim
8 | RUN aim init
9 | ENTRYPOINT ["aim"]
10 | CMD ["up"]
11 |
--------------------------------------------------------------------------------
/docs/requirements.txt:
--------------------------------------------------------------------------------
1 | mistune==0.8.4
2 | sphinx
3 | sphinx_rtd_theme
4 | m2r2==0.3.3.post2
5 | sphinx-copybutton
6 | Cython==3.0.10
7 |
--------------------------------------------------------------------------------
/docs/source/_static/images/examples/images_explorer_gan/gan_0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aimhubio/aim/753f4b18437b8288e1c6f7c894c14a33cba9e7d0/docs/source/_static/images/examples/images_explorer_gan/gan_0.png
--------------------------------------------------------------------------------
/docs/source/_static/images/examples/images_explorer_gan/gan_1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aimhubio/aim/753f4b18437b8288e1c6f7c894c14a33cba9e7d0/docs/source/_static/images/examples/images_explorer_gan/gan_1.png
--------------------------------------------------------------------------------
/docs/source/_static/images/examples/images_explorer_gan/gan_ema_0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aimhubio/aim/753f4b18437b8288e1c6f7c894c14a33cba9e7d0/docs/source/_static/images/examples/images_explorer_gan/gan_ema_0.png
--------------------------------------------------------------------------------
/docs/source/_static/images/examples/images_explorer_gan/gan_ema_1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aimhubio/aim/753f4b18437b8288e1c6f7c894c14a33cba9e7d0/docs/source/_static/images/examples/images_explorer_gan/gan_ema_1.png
--------------------------------------------------------------------------------
/docs/source/_static/images/examples/images_explorer_gan/gans_comparison.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aimhubio/aim/753f4b18437b8288e1c6f7c894c14a33cba9e7d0/docs/source/_static/images/examples/images_explorer_gan/gans_comparison.png
--------------------------------------------------------------------------------
/docs/source/_static/images/examples/images_explorer_gan/gans_comparison_cut.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aimhubio/aim/753f4b18437b8288e1c6f7c894c14a33cba9e7d0/docs/source/_static/images/examples/images_explorer_gan/gans_comparison_cut.png
--------------------------------------------------------------------------------
/docs/source/_static/images/examples/images_explorer_gan/gans_comparison_cut_2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aimhubio/aim/753f4b18437b8288e1c6f7c894c14a33cba9e7d0/docs/source/_static/images/examples/images_explorer_gan/gans_comparison_cut_2.png
--------------------------------------------------------------------------------
/docs/source/_static/images/quick_start/ui-home.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aimhubio/aim/753f4b18437b8288e1c6f7c894c14a33cba9e7d0/docs/source/_static/images/quick_start/ui-home.png
--------------------------------------------------------------------------------
/docs/source/_static/images/quick_start/ui-metrics-search.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aimhubio/aim/753f4b18437b8288e1c6f7c894c14a33cba9e7d0/docs/source/_static/images/quick_start/ui-metrics-search.png
--------------------------------------------------------------------------------
/docs/source/_static/images/quick_start/ui-metrics.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aimhubio/aim/753f4b18437b8288e1c6f7c894c14a33cba9e7d0/docs/source/_static/images/quick_start/ui-metrics.png
--------------------------------------------------------------------------------
/docs/source/_static/images/ui/overview/images.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aimhubio/aim/753f4b18437b8288e1c6f7c894c14a33cba9e7d0/docs/source/_static/images/ui/overview/images.png
--------------------------------------------------------------------------------
/docs/source/_static/images/ui/overview/metrics.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aimhubio/aim/753f4b18437b8288e1c6f7c894c14a33cba9e7d0/docs/source/_static/images/ui/overview/metrics.png
--------------------------------------------------------------------------------
/docs/source/_static/images/ui/overview/params.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aimhubio/aim/753f4b18437b8288e1c6f7c894c14a33cba9e7d0/docs/source/_static/images/ui/overview/params.png
--------------------------------------------------------------------------------
/docs/source/_static/images/ui/overview/runs.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aimhubio/aim/753f4b18437b8288e1c6f7c894c14a33cba9e7d0/docs/source/_static/images/ui/overview/runs.png
--------------------------------------------------------------------------------
/docs/source/_static/images/ui/overview/single_run.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aimhubio/aim/753f4b18437b8288e1c6f7c894c14a33cba9e7d0/docs/source/_static/images/ui/overview/single_run.png
--------------------------------------------------------------------------------
/docs/source/_static/images/ui/run_details/run-overview-artifacts.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aimhubio/aim/753f4b18437b8288e1c6f7c894c14a33cba9e7d0/docs/source/_static/images/ui/run_details/run-overview-artifacts.png
--------------------------------------------------------------------------------
/docs/source/_static/images/using/jupyter.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aimhubio/aim/753f4b18437b8288e1c6f7c894c14a33cba9e7d0/docs/source/_static/images/using/jupyter.png
--------------------------------------------------------------------------------
/docs/source/_static/images/using/jupyter/create-configuration.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aimhubio/aim/753f4b18437b8288e1c6f7c894c14a33cba9e7d0/docs/source/_static/images/using/jupyter/create-configuration.png
--------------------------------------------------------------------------------
/docs/source/_static/images/using/jupyter/sagemaker-full-view.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aimhubio/aim/753f4b18437b8288e1c6f7c894c14a33cba9e7d0/docs/source/_static/images/using/jupyter/sagemaker-full-view.png
--------------------------------------------------------------------------------
/docs/source/_static/images/using/jupyter/sagemaker-notebook.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aimhubio/aim/753f4b18437b8288e1c6f7c894c14a33cba9e7d0/docs/source/_static/images/using/jupyter/sagemaker-notebook.png
--------------------------------------------------------------------------------
/docs/source/_static/images/using/jupyter/sagemaker-terminal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aimhubio/aim/753f4b18437b8288e1c6f7c894c14a33cba9e7d0/docs/source/_static/images/using/jupyter/sagemaker-terminal.png
--------------------------------------------------------------------------------
/docs/source/_static/images/using/k8s/basic_k8s_deployment_final.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aimhubio/aim/753f4b18437b8288e1c6f7c894c14a33cba9e7d0/docs/source/_static/images/using/k8s/basic_k8s_deployment_final.png
--------------------------------------------------------------------------------
/docs/source/_static/images/using/k8s/basic_k8s_deployment_vol.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aimhubio/aim/753f4b18437b8288e1c6f7c894c14a33cba9e7d0/docs/source/_static/images/using/k8s/basic_k8s_deployment_vol.png
--------------------------------------------------------------------------------
/docs/source/examples/overview.md:
--------------------------------------------------------------------------------
1 | ## Aim usage examples
2 |
3 | This section covers real-life examples of how Aim used to get insights
4 | from tracked metadata in various domains.
--------------------------------------------------------------------------------
/docs/source/refs/storage.rst:
--------------------------------------------------------------------------------
1 | Aim Storage
2 | ======================
3 |
4 |
5 | aim.storage.arrayview module
6 | ----------------------------
7 |
8 | .. automodule:: aim.storage.arrayview
9 | :members: ArrayView
10 |
--------------------------------------------------------------------------------
/docs/source/ui/guides.md:
--------------------------------------------------------------------------------
1 | ## Guides
2 |
3 | ### Searching
4 |
5 | ### Grouping
6 |
7 | ### Control Panel
8 |
9 | ### Table Actions
--------------------------------------------------------------------------------
/docs/source/understanding/QL_concepts.md:
--------------------------------------------------------------------------------
1 | ## Aim Query Language
2 |
3 | TODO: add content about query execution, laziness, etc.
4 |
--------------------------------------------------------------------------------
/docs/source/understanding/glossary.md:
--------------------------------------------------------------------------------
1 | ## Glossary
2 |
3 | TODO
4 |
--------------------------------------------------------------------------------
/docs/source/understanding/remote_tracking.md:
--------------------------------------------------------------------------------
1 | ## Remote Tracking Server
2 |
3 | Description
4 |
5 | ### Data flow
6 |
7 | ### Code example
8 |
9 | ### Benefits
10 |
--------------------------------------------------------------------------------
/docs/source/using/k8s_deployment_rt.md:
--------------------------------------------------------------------------------
1 | ## Set up Aim remote tracking on Kubernetes (K8S)
2 |
3 |
--------------------------------------------------------------------------------
/examples/.gitignore:
--------------------------------------------------------------------------------
1 | .aim
2 | data
3 | dataset
4 | datasets
5 | models
6 | .ipynb_checkpoints
7 | MNIST
8 | lightning_logs
--------------------------------------------------------------------------------
/examples/requirements.txt:
--------------------------------------------------------------------------------
1 | aim>=3.0.0
2 | Keras==2.2.4
3 | Keras-Applications==1.0.8
4 | Keras-Preprocessing==1.1.0
5 | numpy==1.21.0
6 | Pillow>=7.1.0
7 | scikit-learn==0.21.2
8 | scipy==1.3.0
9 | tensorboard==1.13.1
10 | tensorflow==2.5.3
11 | tensorflow-estimator==1.13.0
12 | termcolor==1.1.0
13 | torch==1.2.0
14 | torchvision==0.4.0
15 | wandb==0.13.1
16 |
--------------------------------------------------------------------------------
/examples/sb3_track.py:
--------------------------------------------------------------------------------
1 | from aim.sb3 import AimCallback
2 | from stable_baselines3 import A2C
3 |
4 |
5 | model = A2C('MlpPolicy', 'CartPole-v1', verbose=2)
6 | model.learn(total_timesteps=10_000, callback=AimCallback(experiment_name='example_experiment'))
7 |
--------------------------------------------------------------------------------
/main.py:
--------------------------------------------------------------------------------
1 | from aim.cli.cli import cli_entry_point
2 |
3 |
4 | if __name__ == '__main__':
5 | cli_entry_point()
6 |
--------------------------------------------------------------------------------
/package-lock.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "aim",
3 | "lockfileVersion": 2,
4 | "requires": true,
5 | "packages": {}
6 | }
7 |
--------------------------------------------------------------------------------
/performance_tests/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aimhubio/aim/753f4b18437b8288e1c6f7c894c14a33cba9e7d0/performance_tests/__init__.py
--------------------------------------------------------------------------------
/performance_tests/requirements.txt:
--------------------------------------------------------------------------------
1 | -r ../requirements.txt
2 | boto3
3 | pytest
4 | parameterized==0.8.1
5 |
--------------------------------------------------------------------------------
/performance_tests/sdk/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aimhubio/aim/753f4b18437b8288e1c6f7c894c14a33cba9e7d0/performance_tests/sdk/__init__.py
--------------------------------------------------------------------------------
/performance_tests/sdk/queries.py:
--------------------------------------------------------------------------------
1 | query_0 = 'run.hparams.benchmark == "glue" and run.hparams.dataset == "cola" and metric.context.subset != "train"'
2 | query_1 = 'run.hparams.benchmark == "glue" and run.hparams.dataset == "cola"'
3 | query_2 = 'run.hparams.benchmark == "glue"'
4 | query_3 = 'run.hparams.dataset == "cola" and run.experiment.name != "baseline-warp_4-cola"'
5 |
6 |
7 | queries = {
8 | 0: query_0,
9 | 1: query_1,
10 | 2: query_2,
11 | 3: query_3,
12 | }
13 |
--------------------------------------------------------------------------------
/performance_tests/storage/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aimhubio/aim/753f4b18437b8288e1c6f7c894c14a33cba9e7d0/performance_tests/storage/__init__.py
--------------------------------------------------------------------------------
/pyproject.toml:
--------------------------------------------------------------------------------
1 | [build-system]
2 | requires = ["setuptools", "cython == 3.0.10", "aimrocks == 0.5.*"]
3 |
--------------------------------------------------------------------------------
/pytest.ini:
--------------------------------------------------------------------------------
1 | [pytest]
2 | addopts = --pdbcls=IPython.terminal.debugger:Pdb
3 |
--------------------------------------------------------------------------------
/requirements.dev.txt:
--------------------------------------------------------------------------------
1 | wheel >= 0.31.0
2 | twine >= 1.11.0
3 | ruff == 0.9.2
4 |
--------------------------------------------------------------------------------
/requirements.txt:
--------------------------------------------------------------------------------
1 | # installs dependencies from ./setup.py, and the package itself,
2 | # in editable mode
3 | -e ./aim/web/ui
4 | -e .
--------------------------------------------------------------------------------
/tests/README.md:
--------------------------------------------------------------------------------
1 | # Testing
2 |
3 | ## Goals
4 | Be able to test the correctness of the
5 | - `aim engine`
6 | - `aim sdk`
7 | - `aim ql`
8 | - `extensions`
9 |
10 | ### Folder Structure
11 |
12 | ```
13 | tests
14 | engine
15 | test_*.py
16 | sdk
17 | test_*.py
18 | ql
19 | test_*.py
20 | ext
21 | test_*.py
22 | ```
23 |
24 | ## Run
25 | Run tests via command `python -m unittest discover -s tests` in the root folder.
--------------------------------------------------------------------------------
/tests/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aimhubio/aim/753f4b18437b8288e1c6f7c894c14a33cba9e7d0/tests/__init__.py
--------------------------------------------------------------------------------
/tests/api/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aimhubio/aim/753f4b18437b8288e1c6f7c894c14a33cba9e7d0/tests/api/__init__.py
--------------------------------------------------------------------------------
/tests/ext/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aimhubio/aim/753f4b18437b8288e1c6f7c894c14a33cba9e7d0/tests/ext/__init__.py
--------------------------------------------------------------------------------
/tests/integrations/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aimhubio/aim/753f4b18437b8288e1c6f7c894c14a33cba9e7d0/tests/integrations/__init__.py
--------------------------------------------------------------------------------
/tests/requirements.txt:
--------------------------------------------------------------------------------
1 | -r ../requirements.txt
2 | torch
3 | tensorflow
4 | deeplake<4.0.0 # update when proper documentation is available
5 | azure-storage-blob # for deeplake
6 | # hub
7 | fastapi>=0.87.0
8 | httpx
9 | pandas
10 | pytest
11 | flake8
12 | parameterized==0.8.1
13 | pytest-cov==2.12.1
14 |
--------------------------------------------------------------------------------
/tests/sdk/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aimhubio/aim/753f4b18437b8288e1c6f7c894c14a33cba9e7d0/tests/sdk/__init__.py
--------------------------------------------------------------------------------
/tests/storage/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aimhubio/aim/753f4b18437b8288e1c6f7c894c14a33cba9e7d0/tests/storage/__init__.py
--------------------------------------------------------------------------------
/troubleshooting/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aimhubio/aim/753f4b18437b8288e1c6f7c894c14a33cba9e7d0/troubleshooting/__init__.py
--------------------------------------------------------------------------------