|
|
|
|
@ -9,7 +9,6 @@ import {
|
|
|
|
|
ActiveControl,
|
|
|
|
|
CombinedState,
|
|
|
|
|
ColorBy,
|
|
|
|
|
ObjectType,
|
|
|
|
|
} from 'reducers/interfaces';
|
|
|
|
|
import {
|
|
|
|
|
collapseObjectItems,
|
|
|
|
|
@ -26,9 +25,7 @@ import {
|
|
|
|
|
} from 'actions/annotation-actions';
|
|
|
|
|
|
|
|
|
|
import ObjectStateItemComponent from 'components/annotation-page/standard-workspace/objects-side-bar/object-item';
|
|
|
|
|
import getCore from 'cvat-core';
|
|
|
|
|
|
|
|
|
|
const cvat = getCore();
|
|
|
|
|
|
|
|
|
|
interface OwnProps {
|
|
|
|
|
clientID: number;
|
|
|
|
|
@ -53,7 +50,7 @@ interface StateToProps {
|
|
|
|
|
interface DispatchToProps {
|
|
|
|
|
changeFrame(frame: number): void;
|
|
|
|
|
updateState(sessionInstance: any, frameNumber: number, objectState: any): void;
|
|
|
|
|
createAnnotations(sessionInstance: any, frameNumber: number, state: any): void
|
|
|
|
|
createAnnotations(sessionInstance: any, frameNumber: number, state: any): void;
|
|
|
|
|
collapseOrExpand(objectStates: any[], collapsed: boolean): void;
|
|
|
|
|
activateObject: (activatedStateID: number | null) => void;
|
|
|
|
|
removeObject: (sessionInstance: any, objectState: any) => void;
|
|
|
|
|
|