lost-sia
Version:
Single Image Annotation Tool
65 lines (64 loc) • 4 kB
TypeScript
import { StoryObj } from '@storybook/react';
import { AllowedTools } from '../types';
export declare const ActionsData: {};
declare const meta: {
title: string;
component: ({ additionalButtons, allowedTools: propAllowedTools, polygonOperationResult, annotationSettings: propAnnotationSettings, uiConfig: propUiConfig, defaultAnnotationTool, defaultLabelId, image, isLoading, isPolygonSelectionMode, initialAnnotations, initialImageLabelIds, initialIsImageJunk, possibleLabels, onAnnoCreated, onAnnoCreationFinished, onAnnoChanged, onAnnoDeleted, onImageLabelsChanged, onIsImageJunk, onNotification, onSelectAnnotation, }: {
additionalButtons?: import('react').ReactElement | undefined;
allowedTools?: AllowedTools;
polygonOperationResult?: import('..').PolygonOperationResult;
annotationSettings?: import('..').AnnotationSettings;
defaultAnnotationTool?: import('../models').AnnotationTool;
defaultLabelId?: number;
image?: string;
isLoading?: boolean;
isPolygonSelectionMode?: boolean;
initialAnnotations?: import('..').ExternalAnnotation[];
initialImageLabelIds?: number[];
initialIsImageJunk?: boolean;
possibleLabels: import('..').Label[];
uiConfig?: import('..').UiConfig;
onAnnoCreated?: (createdAnno: import('../models').Annotation, allAnnos: import('../models').Annotation[]) => void;
onAnnoCreationFinished?: (createdAnno: import('../models').Annotation, allAnnos: import('../models').Annotation[]) => void;
onAnnoChanged?: (changedAnno: import('../models').Annotation, allAnnos: import('../models').Annotation[]) => void;
onAnnoDeleted?: (deletedAnno: import('../models').Annotation, allAnnos: import('../models').Annotation[]) => void;
onImageLabelsChanged?: (selectedImageIds: number[]) => void;
onIsImageJunk?: (isJunk: boolean) => void;
onNotification?: (notification: import('..').SIANotification) => void;
onSelectAnnotation?: (annotation: import('../models').Annotation) => void;
}) => import("react/jsx-runtime").JSX.Element;
parameters: {
layout: string;
};
tags: string[];
excludeStories: RegExp;
args: {};
decorators: ((Story: import('storybook/internal/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
additionalButtons?: import('react').ReactElement | undefined;
allowedTools?: AllowedTools;
polygonOperationResult?: import('..').PolygonOperationResult;
annotationSettings?: import('..').AnnotationSettings;
defaultAnnotationTool?: import('../models').AnnotationTool;
defaultLabelId?: number;
image?: string;
isLoading?: boolean;
isPolygonSelectionMode?: boolean;
initialAnnotations?: import('..').ExternalAnnotation[];
initialImageLabelIds?: number[];
initialIsImageJunk?: boolean;
possibleLabels: import('..').Label[];
uiConfig?: import('..').UiConfig;
onAnnoCreated?: (createdAnno: import('../models').Annotation, allAnnos: import('../models').Annotation[]) => void;
onAnnoCreationFinished?: (createdAnno: import('../models').Annotation, allAnnos: import('../models').Annotation[]) => void;
onAnnoChanged?: (changedAnno: import('../models').Annotation, allAnnos: import('../models').Annotation[]) => void;
onAnnoDeleted?: (deletedAnno: import('../models').Annotation, allAnnos: import('../models').Annotation[]) => void;
onImageLabelsChanged?: (selectedImageIds: number[]) => void;
onIsImageJunk?: (isJunk: boolean) => void;
onNotification?: (notification: import('..').SIANotification) => void;
onSelectAnnotation?: (annotation: import('../models').Annotation) => void;
}>) => import("react/jsx-runtime").JSX.Element)[];
};
export default meta;
type Story = StoryObj<typeof meta>;
export declare const BBoxOnly: Story;
export declare const NoJunk: Story;