UNPKG

lost-sia

Version:

Single Image Annotation Tool

67 lines (66 loc) 3.98 kB
import { StoryObj } from '@storybook/react'; import { Label } 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?: import('..').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: 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?: import('..').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: 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>; /** * Minimal SIA example */ export declare const Minimal: Story;