@labelbee/lb-components 1.15.1 → 1.16.0-alpha.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/App.js +1 -1
- package/dist/assets/annotation/audio/clip.svg.js +1 -0
- package/dist/assets/annotation/audio/clipA.svg.js +1 -0
- package/dist/assets/annotation/audio/clipASmall.svg.js +1 -0
- package/dist/assets/annotation/audio/clipSmall.svg.js +1 -0
- package/dist/assets/annotation/audio/delete.svg.js +1 -0
- package/dist/assets/annotation/audio/loop.svg.js +1 -0
- package/dist/assets/annotation/audio/loopA.svg.js +1 -0
- package/dist/assets/annotation/audio/progressDot.svg.js +1 -0
- package/dist/assets/annotation/audio/progressDotA.svg.js +1 -0
- package/dist/assets/annotation/audio/tag.svg.js +1 -0
- package/dist/assets/annotation/audio/tagA.svg.js +1 -0
- package/dist/assets/annotation/toolHotKeyIcon/deleteRemark.svg.js +1 -0
- package/dist/assets/annotation/toolHotKeyIcon/icon_down.svg.js +1 -0
- package/dist/assets/annotation/toolHotKeyIcon/icon_eyeLock_kj.svg.js +1 -0
- package/dist/assets/annotation/toolHotKeyIcon/icon_polygonCut_kj.svg.js +1 -0
- package/dist/assets/annotation/toolHotKeyIcon/icon_up.svg.js +1 -0
- package/dist/assets/annotation/toolHotKeyIcon/nextRemark.svg.js +1 -0
- package/dist/assets/annotation/toolHotKeyIcon/preRemark.svg.js +1 -0
- package/dist/assets/annotation/video/icon_clip.svg.js +1 -0
- package/dist/components/audioAnnotate/audioContext/index.js +1 -0
- package/dist/components/audioAnnotate/audioContext/index.module.scss.js +1 -0
- package/dist/components/audioAnnotate/audioSide/LabelDetailPopover/index.js +1 -0
- package/dist/components/audioAnnotate/audioSide/LabelDetailPopover/index.module.scss.js +1 -0
- package/dist/components/audioAnnotate/audioSide/clipSidebar/index.js +1 -0
- package/dist/components/audioAnnotate/audioSide/clipSidebar/index.module.scss.js +1 -0
- package/dist/components/audioAnnotate/audioSide/labelFilterInput/index.js +1 -0
- package/dist/components/audioAnnotate/audioSide/labelFilterInput/index.module.scss.js +1 -0
- package/dist/components/audioAnnotate/audioSide/labelSidebar/index.js +1 -0
- package/dist/components/audioAnnotate/audioSide/labelSidebar/index.module.scss.js +1 -0
- package/dist/components/audioAnnotate/index.js +1 -0
- package/dist/components/audioAnnotate/index.module.scss.js +1 -0
- package/dist/components/audioAnnotate/tagResultShow/index.js +1 -0
- package/dist/components/audioAnnotate/tagResultShow/index.module.scss.js +1 -0
- package/dist/components/audioAnnotate/textInput/index.js +1 -0
- package/dist/components/audioAnnotate/textInput/index.module.scss.js +1 -0
- package/dist/components/audioAnnotate/utils/getWebPcm2Wac.js +1 -0
- package/dist/components/audioPlayer/clipRegion/index.js +1 -0
- package/dist/components/audioPlayer/clipRegion/index.module.scss.js +1 -0
- package/dist/components/audioPlayer/clipTip/index.js +1 -0
- package/dist/components/audioPlayer/combineTip/index.js +1 -0
- package/dist/components/audioPlayer/index.js +1 -0
- package/dist/components/audioPlayer/index.module.scss.js +1 -0
- package/dist/components/audioPlayer/labelDisplayToggle/index.js +1 -0
- package/dist/components/audioPlayer/labelDisplayToggle/index.module.scss.js +1 -0
- package/dist/components/audioPlayer/progressDot/index.js +1 -0
- package/dist/components/audioPlayer/progressDot/index.module.scss.js +1 -0
- package/dist/components/audioPlayer/segmentTip/index.js +1 -0
- package/dist/components/audioPlayer/useAudioCombine/index.js +2 -0
- package/dist/components/audioPlayer/useAudioScroll/index.js +1 -0
- package/dist/components/audioPlayer/useAudioSegment/index.js +1 -0
- package/dist/components/audioPlayer/useSwitchHotkey/index.js +1 -0
- package/dist/components/audioPlayer/zoomSlider/index.js +1 -0
- package/dist/components/audioPlayer/zoomSlider/index.module.scss.js +1 -0
- package/dist/components/imageError/index.js +1 -0
- package/dist/components/invalidPage/index.js +1 -0
- package/dist/components/pointCloud2DRectOperationView/index.js +1 -0
- package/dist/components/pointCloudView/PointCloud2DSingleView.js +1 -1
- package/dist/components/pointCloudView/PointCloud2DView.js +1 -1
- package/dist/components/pointCloudView/PointCloudContext.js +1 -1
- package/dist/components/pointCloudView/hooks/usePointCloudViews.js +1 -1
- package/dist/components/pointCloudView/hooks/useSingleBox.js +1 -1
- package/dist/components/pointCloudView/index.js +1 -1
- package/dist/components/videoPlayer/components/SpeedController/index.js +1 -0
- package/dist/components/videoPlayer/components/SpeedController/index.module.scss.js +1 -0
- package/dist/components/videoPlayer/components/controller/index.js +1 -1
- package/dist/components/videoPlayer/index.js +1 -1
- package/dist/index.css +721 -0
- package/dist/index.js +1 -1
- package/dist/store/annotation/reducer.js +1 -1
- package/dist/types/App.d.ts +1 -0
- package/dist/types/components/AnnotationView/index.d.ts +1 -1
- package/dist/types/components/attributeList/index.d.ts +1 -0
- package/dist/types/components/audioAnnotate/audioContext/index.d.ts +40 -0
- package/dist/types/components/audioAnnotate/audioSide/LabelDetailPopover/index.d.ts +9 -0
- package/dist/types/components/audioAnnotate/audioSide/clipSidebar/index.d.ts +11 -0
- package/dist/types/components/audioAnnotate/audioSide/labelFilterInput/index.d.ts +7 -0
- package/dist/types/components/audioAnnotate/audioSide/labelSidebar/index.d.ts +49 -0
- package/dist/types/components/audioAnnotate/index.d.ts +12 -0
- package/dist/types/components/audioAnnotate/tagResultShow/index.d.ts +3 -0
- package/dist/types/components/audioAnnotate/textInput/index.d.ts +52 -0
- package/dist/types/components/audioAnnotate/utils/getWebPcm2Wac.d.ts +1 -0
- package/dist/types/components/audioPlayer/clipRegion/index.d.ts +22 -0
- package/dist/types/components/audioPlayer/clipTip/index.d.ts +15 -0
- package/dist/types/components/audioPlayer/combineTip/index.d.ts +12 -0
- package/dist/types/components/audioPlayer/index.d.ts +43 -0
- package/dist/types/components/audioPlayer/labelDisplayToggle/index.d.ts +6 -0
- package/dist/types/components/audioPlayer/progressDot/index.d.ts +6 -0
- package/dist/types/components/audioPlayer/segmentTip/index.d.ts +12 -0
- package/dist/types/components/audioPlayer/useAudioCombine/index.d.ts +30 -0
- package/dist/types/components/audioPlayer/useAudioScroll/index.d.ts +17 -0
- package/dist/types/components/audioPlayer/useAudioSegment/index.d.ts +31 -0
- package/dist/types/components/audioPlayer/useSwitchHotkey/index.d.ts +12 -0
- package/dist/types/components/audioPlayer/zoomSlider/index.d.ts +13 -0
- package/dist/types/components/imageError/index.d.ts +14 -0
- package/dist/types/components/invalidPage/index.d.ts +9 -0
- package/dist/types/components/pointCloud2DRectOperationView/index.d.ts +15 -0
- package/dist/types/components/pointCloudView/PointCloud2DSingleView.d.ts +2 -1
- package/dist/types/components/pointCloudView/PointCloud2DView.d.ts +3 -1
- package/dist/types/components/pointCloudView/PointCloudContext.d.ts +10 -1
- package/dist/types/components/pointCloudView/hooks/usePointCloudViews.d.ts +8 -3
- package/dist/types/components/pointCloudView/hooks/useSingleBox.d.ts +5 -1
- package/dist/types/components/videoPlayer/components/SpeedController/index.d.ts +16 -0
- package/dist/types/components/videoPlayer/components/controller/index.d.ts +11 -0
- package/dist/types/hooks/annotation.d.ts +1 -1
- package/dist/types/index.d.ts +2 -1
- package/dist/types/utils/StepUtils.d.ts +7 -0
- package/dist/types/utils/ToolUtils.d.ts +1 -0
- package/dist/types/utils/audio.d.ts +132 -0
- package/dist/types/utils/index.d.ts +23 -0
- package/dist/types/views/MainView/toolFooter/FooterTips/ToolHotKey/audioText/index.d.ts +18 -0
- package/dist/types/views/MainView/toolFooter/FooterTips/ToolHotKey/common/index.d.ts +39 -0
- package/dist/types/views/MainView/toolFooter/SwitchCuboidBoxIn2DView/index.d.ts +3 -0
- package/dist/utils/StepUtils.js +1 -1
- package/dist/utils/ToolUtils.js +1 -1
- package/dist/utils/audio.js +1 -0
- package/dist/utils/index.js +1 -1
- package/dist/views/MainView/index.js +1 -1
- package/dist/views/MainView/sidebar/ToolStyle/index.js +1 -1
- package/dist/views/MainView/toolFooter/FooterTips/ToolHotKey/audioText/index.js +1 -0
- package/dist/views/MainView/toolFooter/FooterTips/ToolHotKey/common/index.js +1 -1
- package/dist/views/MainView/toolFooter/FooterTips/ToolHotKey/index.js +1 -1
- package/dist/views/MainView/toolFooter/FooterTips/ToolHotKey/line/index.js +1 -1
- package/dist/views/MainView/toolFooter/SwitchCuboidBoxIn2DView/index.js +1 -0
- package/dist/views/MainView/toolFooter/index.js +1 -1
- package/dist/views/MainView/toolHeader/headerOption/index.js +1 -1
- package/es/App.js +1 -1
- package/es/assets/annotation/audio/clip.svg.js +1 -0
- package/es/assets/annotation/audio/clipA.svg.js +1 -0
- package/es/assets/annotation/audio/clipASmall.svg.js +1 -0
- package/es/assets/annotation/audio/clipSmall.svg.js +1 -0
- package/es/assets/annotation/audio/delete.svg.js +1 -0
- package/es/assets/annotation/audio/loop.svg.js +1 -0
- package/es/assets/annotation/audio/loopA.svg.js +1 -0
- package/es/assets/annotation/audio/progressDot.svg.js +1 -0
- package/es/assets/annotation/audio/progressDotA.svg.js +1 -0
- package/es/assets/annotation/audio/tag.svg.js +1 -0
- package/es/assets/annotation/audio/tagA.svg.js +1 -0
- package/es/assets/annotation/toolHotKeyIcon/deleteRemark.svg.js +1 -0
- package/es/assets/annotation/toolHotKeyIcon/icon_down.svg.js +1 -0
- package/es/assets/annotation/toolHotKeyIcon/icon_eyeLock_kj.svg.js +1 -0
- package/es/assets/annotation/toolHotKeyIcon/icon_polygonCut_kj.svg.js +1 -0
- package/es/assets/annotation/toolHotKeyIcon/icon_up.svg.js +1 -0
- package/es/assets/annotation/toolHotKeyIcon/nextRemark.svg.js +1 -0
- package/es/assets/annotation/toolHotKeyIcon/preRemark.svg.js +1 -0
- package/es/assets/annotation/video/icon_clip.svg.js +1 -0
- package/es/components/audioAnnotate/audioContext/index.js +1 -0
- package/es/components/audioAnnotate/audioContext/index.module.scss.js +1 -0
- package/es/components/audioAnnotate/audioSide/LabelDetailPopover/index.js +1 -0
- package/es/components/audioAnnotate/audioSide/LabelDetailPopover/index.module.scss.js +1 -0
- package/es/components/audioAnnotate/audioSide/clipSidebar/index.js +1 -0
- package/es/components/audioAnnotate/audioSide/clipSidebar/index.module.scss.js +1 -0
- package/es/components/audioAnnotate/audioSide/labelFilterInput/index.js +1 -0
- package/es/components/audioAnnotate/audioSide/labelFilterInput/index.module.scss.js +1 -0
- package/es/components/audioAnnotate/audioSide/labelSidebar/index.js +1 -0
- package/es/components/audioAnnotate/audioSide/labelSidebar/index.module.scss.js +1 -0
- package/es/components/audioAnnotate/index.js +1 -0
- package/es/components/audioAnnotate/index.module.scss.js +1 -0
- package/es/components/audioAnnotate/tagResultShow/index.js +1 -0
- package/es/components/audioAnnotate/tagResultShow/index.module.scss.js +1 -0
- package/es/components/audioAnnotate/textInput/index.js +1 -0
- package/es/components/audioAnnotate/textInput/index.module.scss.js +1 -0
- package/es/components/audioAnnotate/utils/getWebPcm2Wac.js +1 -0
- package/es/components/audioPlayer/clipRegion/index.js +1 -0
- package/es/components/audioPlayer/clipRegion/index.module.scss.js +1 -0
- package/es/components/audioPlayer/clipTip/index.js +1 -0
- package/es/components/audioPlayer/combineTip/index.js +1 -0
- package/es/components/audioPlayer/index.js +1 -0
- package/es/components/audioPlayer/index.module.scss.js +1 -0
- package/es/components/audioPlayer/labelDisplayToggle/index.js +1 -0
- package/es/components/audioPlayer/labelDisplayToggle/index.module.scss.js +1 -0
- package/es/components/audioPlayer/progressDot/index.js +1 -0
- package/es/components/audioPlayer/progressDot/index.module.scss.js +1 -0
- package/es/components/audioPlayer/segmentTip/index.js +1 -0
- package/es/components/audioPlayer/useAudioCombine/index.js +2 -0
- package/es/components/audioPlayer/useAudioScroll/index.js +1 -0
- package/es/components/audioPlayer/useAudioSegment/index.js +1 -0
- package/es/components/audioPlayer/useSwitchHotkey/index.js +1 -0
- package/es/components/audioPlayer/zoomSlider/index.js +1 -0
- package/es/components/audioPlayer/zoomSlider/index.module.scss.js +1 -0
- package/es/components/imageError/index.js +1 -0
- package/es/components/invalidPage/index.js +1 -0
- package/es/components/pointCloud2DRectOperationView/index.js +1 -0
- package/es/components/pointCloudView/PointCloud2DSingleView.js +1 -1
- package/es/components/pointCloudView/PointCloud2DView.js +1 -1
- package/es/components/pointCloudView/PointCloudContext.js +1 -1
- package/es/components/pointCloudView/hooks/usePointCloudViews.js +1 -1
- package/es/components/pointCloudView/hooks/useSingleBox.js +1 -1
- package/es/components/pointCloudView/index.js +1 -1
- package/es/components/videoPlayer/components/SpeedController/index.js +1 -0
- package/es/components/videoPlayer/components/SpeedController/index.module.scss.js +1 -0
- package/es/components/videoPlayer/components/controller/index.js +1 -1
- package/es/index.css +721 -0
- package/es/index.js +1 -1
- package/es/store/annotation/reducer.js +1 -1
- package/es/utils/StepUtils.js +1 -1
- package/es/utils/ToolUtils.js +1 -1
- package/es/utils/audio.js +1 -0
- package/es/utils/index.js +1 -1
- package/es/views/MainView/index.js +1 -1
- package/es/views/MainView/sidebar/ToolStyle/index.js +1 -1
- package/es/views/MainView/toolFooter/FooterTips/ToolHotKey/audioText/index.js +1 -0
- package/es/views/MainView/toolFooter/FooterTips/ToolHotKey/common/index.js +1 -1
- package/es/views/MainView/toolFooter/FooterTips/ToolHotKey/index.js +1 -1
- package/es/views/MainView/toolFooter/FooterTips/ToolHotKey/line/index.js +1 -1
- package/es/views/MainView/toolFooter/SwitchCuboidBoxIn2DView/index.js +1 -0
- package/es/views/MainView/toolFooter/index.js +1 -1
- package/es/views/MainView/toolHeader/headerOption/index.js +1 -1
- package/package.json +9 -5
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IPointCloudBox, IPointCloudBoxList, IPolygonData, IPointCloudSphereList, IPointCloudSphere, ILine, EPointCloudPattern, IPointCloudSegmentation, ICalib } from '@labelbee/lb-utils';
|
|
1
|
+
import { IPointCloudBox, IPointCloudBoxList, IPolygonData, IPointCloudSphereList, IPointCloudSphere, ILine, EPointCloudPattern, IPointCloudSegmentation, ICalib, ISize } from '@labelbee/lb-utils';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { PointCloud, PointCloudAnnotation, ActionsHistory, EToolName } from '@labelbee/lb-annotation';
|
|
4
4
|
interface IPointCloudContextInstances {
|
|
@@ -48,6 +48,8 @@ export interface IPointCloudContext extends IPointCloudContextInstances, IPointC
|
|
|
48
48
|
setLineList: (lineList: ILine[]) => void;
|
|
49
49
|
zoom: number;
|
|
50
50
|
setZoom: (zoom: number) => void;
|
|
51
|
+
cuboidBoxIn2DView: boolean;
|
|
52
|
+
setCuboidBoxIn2DView: (bool: boolean) => void;
|
|
51
53
|
history: ActionsHistory;
|
|
52
54
|
hideAttributes: string[];
|
|
53
55
|
setHideAttributes: (hideAttrs: string[]) => void;
|
|
@@ -66,6 +68,13 @@ export interface IPointCloudContext extends IPointCloudContextInstances, IPointC
|
|
|
66
68
|
clearAllDetectionInstance: () => void;
|
|
67
69
|
highlight2DDataList: IHighlight2DData[];
|
|
68
70
|
setHighlight2DDataList: (urlList: IHighlight2DData[]) => void;
|
|
71
|
+
imageSizes: {
|
|
72
|
+
[key: string]: ISize;
|
|
73
|
+
};
|
|
74
|
+
cacheImageNodeSize: (params: {
|
|
75
|
+
imgNode: HTMLImageElement;
|
|
76
|
+
path: string;
|
|
77
|
+
}) => void;
|
|
69
78
|
}
|
|
70
79
|
export declare const PointCloudContext: React.Context<IPointCloudContext>;
|
|
71
80
|
export declare const PointCloudProvider: React.FC<{}>;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @createdate 2022-08-17
|
|
5
5
|
*/
|
|
6
6
|
import { PointCloudAnnotation, PointCloud } from '@labelbee/lb-annotation';
|
|
7
|
-
import { IPointCloudBox, IPointCloudSphere, IPointUnit, UpdatePolygonByDragList,
|
|
7
|
+
import { IPointCloudBox, IPointCloudSphere, IPointUnit, UpdatePolygonByDragList, IDefaultSize, IBasicRect } from '@labelbee/lb-utils';
|
|
8
8
|
import { ISize } from '@/types/main';
|
|
9
9
|
import { IFileItem } from '@/types/data';
|
|
10
10
|
export declare const topViewPoint2PointCloud: (newPoint: any, size: ISize, pointCloud: PointCloud, selectedPointCloudSphere?: IPointCloudSphere, defaultValue?: {
|
|
@@ -63,11 +63,12 @@ export declare const usePointCloudViews: () => {
|
|
|
63
63
|
sideViewUpdatePoint?: undefined;
|
|
64
64
|
backViewUpdatePoint?: undefined;
|
|
65
65
|
topViewUpdateBox?: undefined;
|
|
66
|
-
topViewUpdateLine?: undefined;
|
|
67
66
|
pointCloudBoxListUpdated?: undefined;
|
|
68
67
|
initPointCloud3d?: undefined;
|
|
69
68
|
updatePointCloudData?: undefined;
|
|
70
69
|
updateViewsByDefaultSize?: undefined;
|
|
70
|
+
generateRects?: undefined;
|
|
71
|
+
update2DViewRect?: undefined;
|
|
71
72
|
} | {
|
|
72
73
|
topViewAddSphere: ({ newPoint, size, zoom, trackConfigurable, }: {
|
|
73
74
|
newPoint: IPointUnit;
|
|
@@ -93,11 +94,15 @@ export declare const usePointCloudViews: () => {
|
|
|
93
94
|
sideViewUpdatePoint: (newPoint: IPointUnit, originPoint: IPointUnit) => void;
|
|
94
95
|
backViewUpdatePoint: (newPoint: IPointUnit, originPoint: IPointUnit) => void;
|
|
95
96
|
topViewUpdateBox: (updateList: UpdatePolygonByDragList, size: ISize) => void;
|
|
96
|
-
topViewUpdateLine: (updateList: ILine, size: ISize) => void;
|
|
97
97
|
sideViewUpdateBox: (newPolygon: any, originPolygon: any) => void;
|
|
98
98
|
backViewUpdateBox: (newPolygon: any, originPolygon: any) => void;
|
|
99
99
|
pointCloudBoxListUpdated: (newBoxes: IPointCloudBox[]) => void;
|
|
100
100
|
initPointCloud3d: (size: ISize) => void;
|
|
101
101
|
updatePointCloudData: (newData?: any) => Promise<void>;
|
|
102
102
|
updateViewsByDefaultSize: (defaultSize: IDefaultSize) => void;
|
|
103
|
+
generateRects: (boxParams: IPointCloudBox) => void;
|
|
104
|
+
update2DViewRect: (params: IBasicRect & {
|
|
105
|
+
boxID: string;
|
|
106
|
+
imageName: string;
|
|
107
|
+
}) => IPointCloudBox[] | undefined;
|
|
103
108
|
};
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { IPointCloudBox, PartialIPointCloudBoxList } from '@labelbee/lb-utils';
|
|
2
|
+
interface IUseSingleBoxParams {
|
|
3
|
+
generateRects?: (box: IPointCloudBox) => void;
|
|
4
|
+
}
|
|
2
5
|
/** Actions for single selected box */
|
|
3
|
-
export declare const useSingleBox: () => {
|
|
6
|
+
export declare const useSingleBox: (props?: IUseSingleBoxParams) => {
|
|
4
7
|
selectedBox: {
|
|
5
8
|
info: IPointCloudBox;
|
|
6
9
|
index: number;
|
|
@@ -16,3 +19,4 @@ export declare const useSingleBox: () => {
|
|
|
16
19
|
getPointCloudByID: (id: string) => IPointCloudBox | undefined;
|
|
17
20
|
deleteSelectedPointCloudBoxAndPolygon: () => void;
|
|
18
21
|
};
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const VIDEO_PLAYBACK_RATE_SPEED: number[];
|
|
3
|
+
export declare const AUDIO_PLAYBACK_RATE_SPEED: number[];
|
|
4
|
+
export declare enum EPlayerType {
|
|
5
|
+
Video = 0,
|
|
6
|
+
Audio = 1
|
|
7
|
+
}
|
|
8
|
+
export declare const PLAYER_TYPE_RATE_SPEED: {
|
|
9
|
+
[key in number]: number[];
|
|
10
|
+
};
|
|
11
|
+
interface IProps {
|
|
12
|
+
onChange: (rate: number) => void;
|
|
13
|
+
playerType: number;
|
|
14
|
+
}
|
|
15
|
+
declare const SpeedController: (props: IProps) => React.JSX.Element;
|
|
16
|
+
export default SpeedController;
|
|
@@ -1,3 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Format video time to display
|
|
4
|
+
* Such as 61.9 => 01:01:9
|
|
5
|
+
* @param {Number} time
|
|
6
|
+
* @returns {String} displayTime (min:sec:mircoSec)
|
|
7
|
+
*/
|
|
8
|
+
export declare const videoTimeFormat: (time: number) => string;
|
|
9
|
+
export declare enum EPlayerType {
|
|
10
|
+
Video = 0,
|
|
11
|
+
Audio = 1
|
|
12
|
+
}
|
|
2
13
|
declare const VideoController: () => React.JSX.Element;
|
|
3
14
|
export default VideoController;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -8,11 +8,12 @@ import { VideoTagTool } from '@/components/videoPlayer/TagToolInstanceAdaptorI18
|
|
|
8
8
|
import './index.scss';
|
|
9
9
|
import PredictTracking from '@/components/predictTracking';
|
|
10
10
|
import LLMToolView from '@/components/LLMToolView';
|
|
11
|
+
import SwitchCuboidBoxIn2DView from '@/views/MainView/toolFooter/SwitchCuboidBoxIn2DView';
|
|
11
12
|
export declare const store: import("redux").Store<{}, import("redux").Action<any>> & {
|
|
12
13
|
dispatch: unknown;
|
|
13
14
|
};
|
|
14
15
|
declare const _default: React.ForwardRefExoticComponent<AppProps & React.RefAttributes<unknown>>;
|
|
15
16
|
export default _default;
|
|
16
|
-
export { AnnotationView, PointCloudAnnotationView, QuestionView, LLMToolView, i18n, VideoTagTool, PredictTracking, };
|
|
17
|
+
export { AnnotationView, PointCloudAnnotationView, QuestionView, LLMToolView, i18n, VideoTagTool, PredictTracking, SwitchCuboidBoxIn2DView };
|
|
17
18
|
export * from './constant';
|
|
18
19
|
export * from './typeTem';
|
|
@@ -22,6 +22,13 @@ export default class StepUtils {
|
|
|
22
22
|
* @returns {Number} 是否为视频工具
|
|
23
23
|
*/
|
|
24
24
|
static currentToolIsVideo(step: number, stepList: IStepInfo[]): boolean;
|
|
25
|
+
/**
|
|
26
|
+
* 根据toolName判断当前步骤是否为音频工具
|
|
27
|
+
* @param step 步骤
|
|
28
|
+
* @param stepList 步骤列表
|
|
29
|
+
* @returns {Number} 是否为音频工具
|
|
30
|
+
*/
|
|
31
|
+
static currentToolIsAudio(step: number, stepList: IStepInfo[]): boolean;
|
|
25
32
|
/**
|
|
26
33
|
* Check for PointCloud
|
|
27
34
|
* @param step
|
|
@@ -10,6 +10,7 @@ interface IPoint {
|
|
|
10
10
|
}
|
|
11
11
|
declare class ToolUtils {
|
|
12
12
|
static isVideoTool(tool?: string): boolean;
|
|
13
|
+
static isAudioTool(tool?: string): boolean;
|
|
13
14
|
static isPointCloudTool(tool?: string): boolean;
|
|
14
15
|
static getPointCloudToolList(): cTool.EToolName[];
|
|
15
16
|
static getPointToLineDistance(pt: IPoint, // A point outside the straight line
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file 音频中用到的工具方法
|
|
3
|
+
*/
|
|
4
|
+
import { IInputList } from '@/types/main';
|
|
5
|
+
import { ITextConfigItem } from '@labelbee/lb-utils';
|
|
6
|
+
export declare const ATTRIBUTE_COLORS: string[];
|
|
7
|
+
export declare const REGEXP_NUMBER = "^[0-9]+$";
|
|
8
|
+
export declare const REGEXP_ENGLISH = "^[A-Za-z]+$";
|
|
9
|
+
/**
|
|
10
|
+
* 默认的文本配置列表
|
|
11
|
+
*/
|
|
12
|
+
export declare const DEFAULT_TEXT_CONFIG_ITEM: ITextConfigItem;
|
|
13
|
+
/**
|
|
14
|
+
* 获取属性icon
|
|
15
|
+
* @param attribute
|
|
16
|
+
* @param attributeList
|
|
17
|
+
*/
|
|
18
|
+
export declare const getAttributeIcon: (attribute: string, attributeList: IInputList[], valid?: boolean) => HTMLImageElement;
|
|
19
|
+
/**
|
|
20
|
+
* 获取正则校验的string
|
|
21
|
+
* @param textCheckType
|
|
22
|
+
* @param customFormat
|
|
23
|
+
*/
|
|
24
|
+
export declare const checkString: (textCheckType: number, customFormat: string) => string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @param value 检测的值
|
|
28
|
+
* @param checkString RegExp string
|
|
29
|
+
*/
|
|
30
|
+
export declare const checkTextAttibute: (value: string | undefined, checkString: string) => boolean;
|
|
31
|
+
/**
|
|
32
|
+
* 获取属性标注显示的数据
|
|
33
|
+
* @param attribute
|
|
34
|
+
* @param attributeList
|
|
35
|
+
* @returns {string} 标注属性
|
|
36
|
+
*/
|
|
37
|
+
export declare const getAttributeShowText: (attribute: string | undefined, attributeList: IInputList[]) => string | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* 获取属性标注的索引
|
|
40
|
+
* @param attribute
|
|
41
|
+
* @param attributeList
|
|
42
|
+
* @returns {number} 属性索引
|
|
43
|
+
*/
|
|
44
|
+
export declare const getAttributeIndex: (attribute: string | undefined, attributeList: IInputList[]) => number;
|
|
45
|
+
/**
|
|
46
|
+
* 获取属性标注的索引
|
|
47
|
+
* @param attribute
|
|
48
|
+
* @param attributeList
|
|
49
|
+
* @returns {string} 颜色hex值
|
|
50
|
+
*/
|
|
51
|
+
export declare const getAttributeColor: (attribute: string | undefined, attributeList: IInputList[]) => string;
|
|
52
|
+
/**
|
|
53
|
+
* v2.36新增当属性为背景色(紫色、棕色、蓝色),字体颜色为白色
|
|
54
|
+
* @param attribute
|
|
55
|
+
* @param attributeList
|
|
56
|
+
* @returns {string} 字体颜色
|
|
57
|
+
*/
|
|
58
|
+
export declare const getAttributeFontColor: (attribute: string | undefined, attributeList: IInputList[]) => "#fff" | "#333";
|
|
59
|
+
/**
|
|
60
|
+
* 文本标注:自动获取下一个序号(取当前数据的最大值 + 1)
|
|
61
|
+
* @param toolResultList 工具的结果集
|
|
62
|
+
* @param textCheckType
|
|
63
|
+
*/
|
|
64
|
+
export declare const getTextAttribute: (toolResultList: {
|
|
65
|
+
[a: string]: any;
|
|
66
|
+
textAttribute: string;
|
|
67
|
+
}[], textCheckType: number) => string;
|
|
68
|
+
/**
|
|
69
|
+
* 更改数据的textAttribute
|
|
70
|
+
* @param value
|
|
71
|
+
* @param selectedID 工具中选中数据的ID
|
|
72
|
+
* @param toolList 工具的结果集
|
|
73
|
+
*/
|
|
74
|
+
export declare const textChange: (value: string | undefined, selectedID: string, toolList: any[]) => any[];
|
|
75
|
+
/**
|
|
76
|
+
* 获取错误提示的文案
|
|
77
|
+
* @param textCheckType
|
|
78
|
+
*/
|
|
79
|
+
export declare const getErrorNotice: (textCheckType: number) => "" | "请按仅数字的格式输入" | "请按仅英文的格式输入" | "请按要求的格式输入";
|
|
80
|
+
/**
|
|
81
|
+
* 验证文本是否通过
|
|
82
|
+
* @param textCheckType
|
|
83
|
+
* @param customFormat
|
|
84
|
+
* @param text
|
|
85
|
+
* @returns 文本是否校验通过
|
|
86
|
+
*/
|
|
87
|
+
export declare const textAttributeValidate: (textCheckType: number, customFormat: string, text: string) => boolean | undefined;
|
|
88
|
+
/**
|
|
89
|
+
* 改变文本标注后 修改全部的LOG
|
|
90
|
+
* @param toolLog LOG数据
|
|
91
|
+
* @param toolList 工具的数据集
|
|
92
|
+
*/
|
|
93
|
+
export declare const changeTextAttributeInLog: (toolLog: any[][], toolList: any[]) => any[][];
|
|
94
|
+
/**
|
|
95
|
+
* 修改rgba的透明度
|
|
96
|
+
* @param color
|
|
97
|
+
* @param opacity
|
|
98
|
+
*/
|
|
99
|
+
export declare const updateColorOpacity: (color: string, opacity: number) => string;
|
|
100
|
+
/**
|
|
101
|
+
* 精确减法
|
|
102
|
+
* @param a
|
|
103
|
+
* @param b
|
|
104
|
+
* @returns
|
|
105
|
+
*/
|
|
106
|
+
export declare const precisionMinus: (a: number, b: number) => number;
|
|
107
|
+
/**
|
|
108
|
+
* 精确加法
|
|
109
|
+
* @param a
|
|
110
|
+
* @param b
|
|
111
|
+
* @returns
|
|
112
|
+
*/
|
|
113
|
+
export declare const precisionAdd: (a: number, b: number) => number;
|
|
114
|
+
export declare const isDoubleClick: (e: MouseEvent) => boolean;
|
|
115
|
+
export declare const formatTime: (time: number) => string;
|
|
116
|
+
export declare const timeFormat: (time: number, format?: string) => string;
|
|
117
|
+
/**
|
|
118
|
+
* 根据按下鼠标位置的时间节点、获取相同属性可调整的时间范围
|
|
119
|
+
* @example
|
|
120
|
+
* getCanMoveRange([165, 245.714], 332.8571428571429) => {min: 245.714, max: null}
|
|
121
|
+
* getCanMoveRange([165, 245.714, 275], 90) => {min: null, max: 165}
|
|
122
|
+
* getCanMoveRange([90, 165, 245.714, 332.857, 497.5], 263.2142857142857) => {min: 245.714, max: 332.857}
|
|
123
|
+
*
|
|
124
|
+
* @param {number} times 相同属性的时间节点
|
|
125
|
+
* @param {number} eventDownTime 按下鼠标位置的时间节点
|
|
126
|
+
*/
|
|
127
|
+
export declare const getCanMoveRange: (times: number[], eventDownTime: number) => {
|
|
128
|
+
min: null;
|
|
129
|
+
max: number | null;
|
|
130
|
+
};
|
|
131
|
+
export declare const dispatchResizeEvent: () => void;
|
|
132
|
+
export declare function isImageValue(result: string): any;
|
|
@@ -1,5 +1,28 @@
|
|
|
1
|
+
import { ICoordinate, IPointCloudBox, ISize } from '@labelbee/lb-utils';
|
|
2
|
+
import { IMappingImg } from '@/types/data';
|
|
1
3
|
export declare const jsonParser: (content: any, defaultValue?: any) => any;
|
|
2
4
|
export declare const getNewNode: <T>(newNode: T, oldNode: T) => T;
|
|
3
5
|
export declare const classnames: (className: {
|
|
4
6
|
[key: string]: boolean;
|
|
5
7
|
} | (string | undefined)[]) => string;
|
|
8
|
+
export declare const getBoundingRect: (points: ICoordinate[]) => {
|
|
9
|
+
x: number;
|
|
10
|
+
y: number;
|
|
11
|
+
width: number;
|
|
12
|
+
height: number;
|
|
13
|
+
};
|
|
14
|
+
interface IGetRectPointCloudBoxParams {
|
|
15
|
+
pointCloudBox: IPointCloudBox;
|
|
16
|
+
mappingData: IMappingImg;
|
|
17
|
+
imageSizes: {
|
|
18
|
+
[key: string]: ISize;
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
export declare const getRectPointCloudBox: (params: IGetRectPointCloudBoxParams) => {
|
|
22
|
+
imageName: string;
|
|
23
|
+
x: number;
|
|
24
|
+
y: number;
|
|
25
|
+
width: number;
|
|
26
|
+
height: number;
|
|
27
|
+
} | undefined;
|
|
28
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare const combineAudio: {
|
|
2
|
+
name: string;
|
|
3
|
+
icon: any;
|
|
4
|
+
noticeInfo: string;
|
|
5
|
+
shortCut: string[];
|
|
6
|
+
};
|
|
7
|
+
export declare const splitAudio: {
|
|
8
|
+
name: string;
|
|
9
|
+
icon: any;
|
|
10
|
+
noticeInfo: string;
|
|
11
|
+
shortCut: string[];
|
|
12
|
+
};
|
|
13
|
+
declare const audioTextToolShortCurTable: {
|
|
14
|
+
name: string;
|
|
15
|
+
icon: any;
|
|
16
|
+
shortCut: any[];
|
|
17
|
+
}[];
|
|
18
|
+
export default audioTextToolShortCurTable;
|
|
@@ -130,3 +130,42 @@ export declare const rewind: {
|
|
|
130
130
|
shortCut: string[];
|
|
131
131
|
shortCutUseHtml: boolean;
|
|
132
132
|
};
|
|
133
|
+
export declare const toggleTagMode: {
|
|
134
|
+
name: string;
|
|
135
|
+
icon: any;
|
|
136
|
+
shortCut: string[];
|
|
137
|
+
};
|
|
138
|
+
export declare const tag: {
|
|
139
|
+
name: string;
|
|
140
|
+
icon: any;
|
|
141
|
+
shortCut: any[];
|
|
142
|
+
noticeInfo: string;
|
|
143
|
+
};
|
|
144
|
+
export declare const period: {
|
|
145
|
+
name: string;
|
|
146
|
+
icon: any;
|
|
147
|
+
noticeInfo: string;
|
|
148
|
+
shortCut: string[];
|
|
149
|
+
};
|
|
150
|
+
export declare const clipSelected: {
|
|
151
|
+
name: string;
|
|
152
|
+
icon: any;
|
|
153
|
+
shortCut: any[];
|
|
154
|
+
noticeInfo: string;
|
|
155
|
+
};
|
|
156
|
+
export declare const deleteRemark: {
|
|
157
|
+
name: string;
|
|
158
|
+
icon: any;
|
|
159
|
+
shortCut: string[];
|
|
160
|
+
noticeInfo: string;
|
|
161
|
+
};
|
|
162
|
+
export declare const nextRemark: {
|
|
163
|
+
name: string;
|
|
164
|
+
icon: any;
|
|
165
|
+
shortCut: string[];
|
|
166
|
+
};
|
|
167
|
+
export declare const preRemark: {
|
|
168
|
+
name: string;
|
|
169
|
+
icon: any;
|
|
170
|
+
shortCut: string[];
|
|
171
|
+
};
|
package/dist/utils/StepUtils.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var index=require("../constant/index.js"),ToolUtils=require("./ToolUtils.js");class StepUtils{static getCurrentStepInfo(o,e){const t=this.getStepInfo(o,e);return[index.EStepType.QUALITY_INSPECTION,index.EStepType.MANUAL_CORRECTION].includes(t==null?void 0:t.type)?this.getStepInfo(t.dataSourceStep,e):t}static getStepInfo(o,e){return e==null?void 0:e.filter(t=>t.step===o)[0]}static currentToolIsVideo(o,e){const t=StepUtils.getCurrentStepInfo(o,e);return ToolUtils.isVideoTool(t==null?void 0:t.tool)}static currentToolIsPointCloud(o,e){const t=StepUtils.getCurrentStepInfo(o,e);return ToolUtils.isPointCloudTool(t==null?void 0:t.tool)}}module.exports=StepUtils;
|
|
1
|
+
"use strict";var index=require("../constant/index.js"),ToolUtils=require("./ToolUtils.js");class StepUtils{static getCurrentStepInfo(o,e){const t=this.getStepInfo(o,e);return[index.EStepType.QUALITY_INSPECTION,index.EStepType.MANUAL_CORRECTION].includes(t==null?void 0:t.type)?this.getStepInfo(t.dataSourceStep,e):t}static getStepInfo(o,e){return e==null?void 0:e.filter(t=>t.step===o)[0]}static currentToolIsVideo(o,e){const t=StepUtils.getCurrentStepInfo(o,e);return ToolUtils.isVideoTool(t==null?void 0:t.tool)}static currentToolIsAudio(o,e){const t=StepUtils.getCurrentStepInfo(o,e);return ToolUtils.isAudioTool(t==null?void 0:t.tool)}static currentToolIsPointCloud(o,e){const t=StepUtils.getCurrentStepInfo(o,e);return ToolUtils.isPointCloudTool(t==null?void 0:t.tool)}}module.exports=StepUtils;
|
package/dist/utils/ToolUtils.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var lbAnnotation=require("@labelbee/lb-annotation");const{EVideoToolName,EPointCloudName,EToolName}=lbAnnotation.cTool;class ToolUtils{static isVideoTool(t){return t?Object.values(EVideoToolName).includes(t):!1}static isPointCloudTool(t){return t?Object.values(EPointCloudName).includes(t):!1}static getPointCloudToolList(){return[EToolName.Point,EToolName.Line,EToolName.PointCloudPolygon]}static getPointToLineDistance(t,o,a){const
|
|
1
|
+
"use strict";var lbAnnotation=require("@labelbee/lb-annotation");const{EVideoToolName,EPointCloudName,EToolName,EAudioToolName}=lbAnnotation.cTool;class ToolUtils{static isVideoTool(t){return t?Object.values(EVideoToolName).includes(t):!1}static isAudioTool(t){return t?Object.values(EAudioToolName).includes(t):!1}static isPointCloudTool(t){return t?Object.values(EPointCloudName).includes(t):!1}static getPointCloudToolList(){return[EToolName.Point,EToolName.Line,EToolName.PointCloudPolygon]}static getPointToLineDistance(t,o,a){const i=Math.abs(Math.sqrt(Math.pow(t.x-o.x,2)+Math.pow(t.y-o.y,2))),l=Math.abs(Math.sqrt(Math.pow(t.x-a.x,2)+Math.pow(t.y-a.y,2))),e=Math.abs(Math.sqrt(Math.pow(o.x-a.x,2)+Math.pow(o.y-a.y,2))),s=(i+l+e)/2,n=Math.abs(Math.sqrt(s*(s-i)*(s-l)*(s-e)));return 2*n/e}}module.exports=ToolUtils;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),require("antd");var lbAnnotation=require("@labelbee/lb-annotation");require("lodash");var Decimal=require("decimal.js"),moment=require("moment");function _interopDefaultLegacy(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}var Decimal__default=_interopDefaultLegacy(Decimal),moment__default=_interopDefaultLegacy(moment);const{COLORS_ARRAY,ICON_ARRAY,INVALID_ICON,NULL_COLOR,NULL_ICON,WHITE_FONT_COLOR_ARRAY}=lbAnnotation.cStyle,DEFAULT_TEXT_CONFIG_ITEM={label:"\u6587\u672C",key:"text",required:!1,default:"",maxLength:1e3},getAttributeShowText=(t,e)=>{var r,n;try{const o=getAttributeIndex(t,e);return(n=(r=e[o])==null?void 0:r.key)!=null?n:t}catch(o){return t}},getAttributeIndex=(t,e)=>{try{return e.findIndex(n=>n.value===t)}catch(r){return-1}},getAttributeColor=(t,e)=>{try{const r=getAttributeIndex(t,e);return r===-1?NULL_COLOR:COLORS_ARRAY[r%COLORS_ARRAY.length]}catch(r){return NULL_COLOR}},getAttributeFontColor=(t,e)=>{try{const r=getAttributeColor(t,e);return WHITE_FONT_COLOR_ARRAY.includes(r)?"#fff":"#333"}catch(r){return"#333"}},updateColorOpacity=(t,e)=>{var r;try{const n=((r=t.match(/\((.*)\)/))==null?void 0:r[1].split(","))||[];return n.splice(3,1,e.toString()),`rgba(${n.join(",")})`}catch(n){return t}},precisionMinus=(t,e)=>new Decimal__default.default(Number(t)||0).minus(Number(e)||0).toNumber(),precisionAdd=(t,e)=>new Decimal__default.default(t).add(e).toNumber(),generateIsDoubleClick=t=>{let e=null;return n=>e?n.target===(e==null?void 0:e.target):(e=n,setTimeout(()=>{e=null},t),!1)},isDoubleClick=generateIsDoubleClick(300),formatTime=t=>{const e=Math.floor(t*1e3),r=moment__default.default.duration(e);return`${Math.floor(r.asMinutes())}:${moment__default.default.utc(e).format("ss")}`},timeFormat=(t,e="ss.S")=>{const r=Math.floor(t*1e3),n=moment__default.default.duration(r);return`${fillZero(Math.floor(n.asMinutes()))}:${moment__default.default.utc(r).format(e)}`},fillZero=t=>t<10?`0${t}`:t,getCanMoveRange=(t,e)=>{let r=null,n=null;const o=t.length;if(o===0)return{min:r,max:n};let u=0;return e<t[u]?n=t[u]:(t.forEach((i,s)=>{e>i&&(r=i,u=s)}),r&&u<o-1&&(n=t[u+1])),{min:r,max:n}},dispatchResizeEvent=()=>{const t=document.createEvent("Event");t.initEvent("resize",!0,!0),window.dispatchEvent(t)};exports.DEFAULT_TEXT_CONFIG_ITEM=DEFAULT_TEXT_CONFIG_ITEM,exports.dispatchResizeEvent=dispatchResizeEvent,exports.formatTime=formatTime,exports.getAttributeColor=getAttributeColor,exports.getAttributeFontColor=getAttributeFontColor,exports.getAttributeIndex=getAttributeIndex,exports.getAttributeShowText=getAttributeShowText,exports.getCanMoveRange=getCanMoveRange,exports.isDoubleClick=isDoubleClick,exports.precisionAdd=precisionAdd,exports.precisionMinus=precisionMinus,exports.timeFormat=timeFormat,exports.updateColorOpacity=updateColorOpacity;
|
package/dist/utils/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _=require("lodash");function _interopDefaultLegacy(
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _=require("lodash"),lbAnnotation=require("@labelbee/lb-annotation");function _interopDefaultLegacy(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var ___default=_interopDefaultLegacy(_),__defProp=Object.defineProperty,__defProps=Object.defineProperties,__getOwnPropDescs=Object.getOwnPropertyDescriptors,__getOwnPropSymbols=Object.getOwnPropertySymbols,__hasOwnProp=Object.prototype.hasOwnProperty,__propIsEnum=Object.prototype.propertyIsEnumerable,__defNormalProp=(n,t,e)=>t in n?__defProp(n,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):n[t]=e,__spreadValues=(n,t)=>{for(var e in t||(t={}))__hasOwnProp.call(t,e)&&__defNormalProp(n,e,t[e]);if(__getOwnPropSymbols)for(var e of __getOwnPropSymbols(t))__propIsEnum.call(t,e)&&__defNormalProp(n,e,t[e]);return n},__spreadProps=(n,t)=>__defProps(n,__getOwnPropDescs(t));const jsonParser=(n,t={})=>{try{return typeof n=="string"?JSON.parse(n):___default.default.isObject(n)?n:t}catch(e){return t}},classnames=n=>{if(Array.isArray(n))return n.filter(t=>t).join(" ");if(___default.default.isObject(n)){const t=[];return Object.keys(n).forEach(e=>{n[e]&&t.push(e)}),t.join(" ")}return""},getBoundingRect=n=>{let t=Infinity,e=Infinity,r=-Infinity,i=-Infinity;for(const o of n)t=Math.min(t,o.x),e=Math.min(e,o.y),r=Math.max(r,o.x),i=Math.max(i,o.y);return{x:t,y:e,width:r-t,height:i-e}},isBoundingRectInImage=(()=>{const n=(t,e)=>{const r=Math.max(t.x,e.x),i=Math.max(t.y,e.y),o=Math.min(t.x+t.width,e.x+e.width),s=Math.min(t.y+t.height,e.y+e.height),u=o-r,a=s-i;return u>=0&&a>=0?{x:r,y:i,width:u,height:a}:null};return(t,e,r)=>{if(r[e]){const i=r[e].width,o=r[e].height;return n(t,{x:0,y:0,width:i,height:o})!==null}return!1}})(),getRectPointCloudBox=n=>{const{pointCloudBox:t,mappingData:e,imageSizes:r}=n,{transferViewData:i}=lbAnnotation.pointCloudLidar2image(t,e.calib),o=i.reduce((a,c)=>c.type==="line"?[...a,...c.pointList]:a,[]),s=__spreadProps(__spreadValues({},getBoundingRect(o)),{imageName:e.path});if(isBoundingRectInImage(s,e.path,r))return s};exports.classnames=classnames,exports.getBoundingRect=getBoundingRect,exports.getRectPointCloudBox=getRectPointCloudBox,exports.jsonParser=jsonParser;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var index$
|
|
1
|
+
"use strict";var index$6=require("../../components/customResizeHook/index.js"),index$4=require("../../constant/index.js"),antd=require("antd"),es=require("antd/es"),React=require("react"),index$a=require("./annotationOperation/index.js"),index$9=require("./annotationTips/index.js"),index$3=require("./sidebar/index.js"),index$b=require("./toolFooter/index.js"),index$8=require("./toolHeader/index.js"),reducer=require("../../store/annotation/reducer.js"),index$5=require("../../components/videoAnnotate/index.js"),reactRedux=require("react-redux"),ToolUtils=require("../../utils/ToolUtils.js"),index$c=require("../../components/pointCloudView/index.js"),dom=require("../../utils/dom.js"),index$7=require("../../utils/index.js"),index$2=require("../../components/predictTracking/previewResult/index.js"),ctx=require("../../store/ctx.js"),ToolType=require("../../data/enums/ToolType.js"),index=require("./LLMLayout/index.js"),index$1=require("../../components/audioAnnotate/index.js"),icons=require("@ant-design/icons"),reactI18next=require("react-i18next"),lbAnnotation=require("@labelbee/lb-annotation");function _interopDefaultLegacy(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var React__default=_interopDefaultLegacy(React),__defProp=Object.defineProperty,__getOwnPropSymbols=Object.getOwnPropertySymbols,__hasOwnProp=Object.prototype.hasOwnProperty,__propIsEnum=Object.prototype.propertyIsEnumerable,__defNormalProp=(e,t,a)=>t in e?__defProp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,__spreadValues=(e,t)=>{for(var a in t||(t={}))__hasOwnProp.call(t,a)&&__defNormalProp(e,a,t[a]);if(__getOwnPropSymbols)for(var a of __getOwnPropSymbols(t))__propIsEnum.call(t,a)&&__defNormalProp(e,a,t[a]);return e};const{Sider,Content}=es.Layout,layoutCls=`${index$4.prefix}-layout`,ImageAnnotate=e=>{var t;return React__default.default.createElement(React__default.default.Fragment,null,e.showTips===!0&&React__default.default.createElement(index$9,{path:e.path,tips:e.tips}),React__default.default.createElement(index$a,__spreadValues({},e)),React__default.default.createElement(index$b.default,{style:(t=e.style)==null?void 0:t.footer,mode:e.mode,footer:e==null?void 0:e.footer}))},PointCloudAnnotate=e=>{var t;return React__default.default.createElement(React__default.default.Fragment,null,React__default.default.createElement(index$c,{drawLayerSlot:e.drawLayerSlot,checkMode:e.checkMode,intelligentFit:e.intelligentFit}),React__default.default.createElement(index$b.default,{style:(t=e.style)==null?void 0:t.footer,mode:e.mode,footer:e==null?void 0:e.footer}))},AnnotatedArea=e=>{var t;const{stepList:a,step:l}=e,r=(t=reducer.getStepConfig(a,l))==null?void 0:t.tool,o=ToolUtils.isVideoTool(r),n=ToolUtils.isPointCloudTool(r);return o?React__default.default.createElement(index$5,__spreadValues({},e)):n?React__default.default.createElement(PointCloudAnnotate,__spreadValues({},e)):React__default.default.createElement(ImageAnnotate,__spreadValues({},e))},ViewportProviderLayout=e=>{var t,a,l;const{t:r}=reactI18next.useTranslation(),{stepList:o,step:n}=e,i=(t=reducer.getStepConfig(o,n))==null?void 0:t.tool,d=![ToolType.EToolName.LLM,lbAnnotation.EAudioToolName.AudioTextTool].includes(i),u=![ToolType.EToolName.LLM].includes(i),c=![ToolType.EToolName.LLM,lbAnnotation.EAudioToolName.AudioTextTool].includes(i);return React__default.default.createElement(index$6.ViewportProvider,null,React__default.default.createElement(antd.Spin,{spinning:e.loading,indicator:React__default.default.createElement(icons.LoadingOutlined,null),tip:React__default.default.createElement("span",{style:{marginTop:200}},r("LoadingTips")),delay:500},React__default.default.createElement(es.Layout,{className:index$7.classnames([layoutCls,e.className]),style:(a=e.style)==null?void 0:a.layout},React__default.default.createElement("header",{className:`${layoutCls}__header`,style:(l=e.style)==null?void 0:l.header},React__default.default.createElement(index$8,{header:e==null?void 0:e.header,headerName:e.headerName,goBack:e.goBack,exportData:e.exportData,hasLangNode:d,hasHeaderOption:u,hasPredictTrackingIcon:c})),e.children)))},MainView=e=>{var t,a,l,r,o,n,i;const[d,u]=React.useState(void 0),c=(a=(t=e.style)==null?void 0:t.sider)==null?void 0:a.width,{stepList:m,step:f}=e,s=(l=reducer.getStepConfig(m,f))==null?void 0:l.tool,v=ToolType.EToolName.LLM===s,x=ToolUtils.isAudioTool(s);return v?React__default.default.createElement(ViewportProviderLayout,__spreadValues({},e),React__default.default.createElement(index,__spreadValues({},e))):x?React__default.default.createElement(ViewportProviderLayout,__spreadValues({},e),React__default.default.createElement(index$1,__spreadValues({},e))):React__default.default.createElement(ViewportProviderLayout,__spreadValues({},e),React__default.default.createElement(es.Layout,{className:dom.getClassName("layout","container")},e==null?void 0:e.leftSider,React__default.default.createElement(Content,{className:`${layoutCls}__content`},React__default.default.createElement(AnnotatedArea,__spreadValues({},e)),React__default.default.createElement(index$2,null)),React__default.default.createElement(Sider,{className:`${layoutCls}__side`,width:(r=d!=null?d:c)!=null?r:240,style:(o=e.style)==null?void 0:o.sider},React__default.default.createElement(index$3.default,{sider:e==null?void 0:e.sider,enableColorPicker:e==null?void 0:e.enableColorPicker,setSiderWidth:u,propsSiderWidth:(i=(n=e.style)==null?void 0:n.sider)==null?void 0:i.width}))))},mapStateToProps=({annotation:e})=>{var t,a,l;const{imgList:r,loading:o}=e,n=(t=r[e.imgIndex])!=null?t:{};return{path:(l=(a=n==null?void 0:n.path)!=null?a:n==null?void 0:n.url)!=null?l:"",loading:o}};var MainView$1=reactRedux.connect(mapStateToProps,null,null,{context:ctx.LabelBeeContext})(MainView);module.exports=MainView$1;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var es=require("antd/es"),React=require("react"),icon_border=require("../../../../assets/toolStyle/icon_border.svg.js"),icon_borderColor=require("../../../../assets/toolStyle/icon_borderColor.svg.js"),icon_opacityStroke=require("../../../../assets/toolStyle/icon_opacityStroke.svg.js"),icon_opacityFill=require("../../../../assets/toolStyle/icon_opacityFill.svg.js"),reactRedux=require("react-redux"),actionCreators=require("../../../../store/toolStyle/actionCreators.js"),index=require("../../../../index.js"),ctx=require("../../../../store/ctx.js"),reactI18next=require("react-i18next");function _interopDefaultLegacy(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var React__default=_interopDefaultLegacy(React);const getMarks=(e,a)=>{const
|
|
1
|
+
"use strict";var es=require("antd/es"),React=require("react"),icon_border=require("../../../../assets/toolStyle/icon_border.svg.js"),icon_borderColor=require("../../../../assets/toolStyle/icon_borderColor.svg.js"),icon_opacityStroke=require("../../../../assets/toolStyle/icon_opacityStroke.svg.js"),icon_opacityFill=require("../../../../assets/toolStyle/icon_opacityFill.svg.js"),reactRedux=require("react-redux"),actionCreators=require("../../../../store/toolStyle/actionCreators.js"),index=require("../../../../index.js"),ctx=require("../../../../store/ctx.js"),reactI18next=require("react-i18next");function _interopDefaultLegacy(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var React__default=_interopDefaultLegacy(React);const getMarks=(e,a)=>{const l=[{step:1,value:"1"},{step:2,value:"2"},{step:3,value:"3"},{step:4,value:"4"},{step:5,value:"5"}],c=[{step:1,value:"Blue"},{step:3,value:"Cyan"},{step:5,value:"Green"},{step:7,value:"Yellow"},{step:9,value:"Pink"}],n=[{step:1,value:"0.2"},{step:3,value:"0.4"},{step:5,value:"0.6"},{step:7,value:"0.8"},{step:9,value:"1.0"}],i=[{step:1,value:"0"},{step:3,value:"0.2"},{step:5,value:"0.4"},{step:7,value:"0.6"},{step:9,value:"0.8"}];let r=[];const s={};switch(e){case"width":r=l;break;case"color":r=c;break;case"borderOpacity":r=n;break;case"fillOpacity":r=i;break}return r.forEach(({step:o,value:u})=>{s[o]={style:{color:"#999999",fontSize:"12px"},label:React__default.default.createElement("span",null,a(u))}}),s},getTitle=e=>{switch(e){case"width":return"BorderThickness";case"color":return"Color";case"borderOpacity":return"BorderOpacity";case"fillOpacity":return"FillOpacity";default:return""}},getImage=e=>{switch(e){case"width":return icon_border;case"color":return icon_borderColor;case"borderOpacity":return icon_opacityStroke;case"fillOpacity":return icon_opacityFill}},getDefaultValue=e=>{switch(e){case"width":return 2;case"color":return 1;case"borderOpacity":return 9;case"fillOpacity":return 9}},getStyleType=e=>["width"].includes(e),ToolStyle=e=>{const{toolStyle:a}=e,{width:l,color:c,borderOpacity:n,fillOpacity:i}=a,r={width:l,color:c,borderOpacity:n,fillOpacity:i},{t:s}=reactI18next.useTranslation(),o=e.config,u=p=>{index.store.dispatch(actionCreators.UpdateToolStyleConfig(p))};return React__default.default.createElement("div",{className:"toolStyle"},Object.entries(r).map(p=>{var d;const t=p[0];return(o==null?void 0:o.attributeConfigurable)===!0&&t==="color"?null:React__default.default.createElement("div",{id:`style-${t}`,className:"styleSlider",key:t},React__default.default.createElement("span",{className:"title"},React__default.default.createElement("img",{src:getImage(t),className:"icon"}),s(getTitle(t))),React__default.default.createElement("span",{className:"slider"},React__default.default.createElement(es.Slider,{tipFormatter:null,max:getStyleType(t)?5:10,min:getStyleType(t)?1:0,step:getStyleType(t)?1:null,value:(d=a[t])!=null?d:getDefaultValue(t),marks:getMarks(t,s),onChange:v=>u({[t]:v})})))}))},mapStateToProps=({toolStyle:e,annotation:a})=>{var l;return{toolStyle:e,config:(l=a.toolInstance)==null?void 0:l.config}};var ToolStyle$1=reactRedux.connect(mapStateToProps,null,null,{context:ctx.LabelBeeContext})(ToolStyle);module.exports=ToolStyle$1;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _=require("lodash"),index=require("../common/index.js"),index$1=require("../line/index.js"),icon_polygonMerge_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_polygonMerge_kj.svg.js"),icon_polygonCut_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_polygonCut_kj.svg.js");function _interopDefaultLegacy(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var ___default=_interopDefaultLegacy(_);const audioForward=___default.default.cloneDeep(index.forward),audioBackward=___default.default.cloneDeep(index.backward),audioBackTrack=___default.default.cloneDeep(index.rewind),audioForwardTrack=___default.default.cloneDeep(index.forwardForward),audioPlaybackRate=___default.default.cloneDeep(index.speed),audioTag=___default.default.cloneDeep(index.tag),audioToggleTagMode=___default.default.cloneDeep(index.toggleTagMode),audioToggleClipMode=___default.default.cloneDeep(index.period),audioClipped=___default.default.cloneDeep(index.tag),audioClipSelected=___default.default.cloneDeep(index.clipSelected),audioPrev=___default.default.cloneDeep(index$1.preLine),audioNext=___default.default.cloneDeep(index$1.nextLine),combineAudio={name:"\u5408\u5E76\u533A\u95F4",icon:icon_polygonMerge_kj,noticeInfo:"",shortCut:["Alt","Z"]},splitAudio={name:"\u5206\u5272\u533A\u95F4",icon:icon_polygonCut_kj,noticeInfo:"",shortCut:["Alt","X"]},audioTextToolShortCurTable=[index.saveResult,audioToggleTagMode,audioToggleClipMode,audioClipped,audioClipSelected,audioTag,index.attributeLock,index.attributeClickLock,index.playPause,audioPlaybackRate,audioForwardTrack,audioBackTrack,index.setValid,index.fullScreen,audioBackward,audioForward,index.deleteRemark,index.preRemark,index.nextRemark,audioPrev,audioNext,combineAudio,splitAudio];exports.combineAudio=combineAudio,exports.default=audioTextToolShortCurTable,exports.splitAudio=splitAudio;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var icon_cencel_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_cencel_kj.svg.js"),icon_reform_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_reform_kj.svg.js"),icon_loupe_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_loupe_kj.svg.js"),icon_mouse_middle_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_mouse_middle_kj.svg.js"),icon_fullView_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_fullView_kj.svg.js"),icon_reload_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_reload_kj.svg.js"),setValid$1=require("../../../../../../assets/annotation/toolHotKeyIcon/setValid.svg.js"),icon_last_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_last_kj.svg.js"),icon_next_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_next_kj.svg.js"),icon_move_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_move_kj.svg.js"),icon_mouse_right_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_mouse_right_kj.svg.js"),icon_mouse_left_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_mouse_left_kj.svg.js"),icon_tab_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_tab_kj.svg.js"),icon_alttab_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_alttab_kj.svg.js"),icon_save_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_save_kj.svg.js"),icon_lineSpecial_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_lineSpecial_kj.svg.js"),icon_noDisplay=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_noDisplay.svg.js"),icon_playPause=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_playPause.svg.js"),icon_forward_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_forward_kj.svg.js"),icon_back_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_back_kj.svg.js"),icon_speed_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_speed_kj.svg.js");const revoke={name:"Undo",icon:icon_cencel_kj,shortCut:["Ctrl","Z"]},restore={name:"Redo",icon:icon_reform_kj,shortCut:["Ctrl","Shift","Z"]},scale={name:"Scale",icon:icon_loupe_kj,shortCut:[icon_mouse_middle_kj]},fullScreen={name:"Fullscreen",icon:icon_fullView_kj,shortCut:["F11"]},rotate={name:"Rotate",icon:icon_reload_kj,shortCut:["R"],noticeInfo:"ToOriginalStep"},setValid={name:"ToggleEffectiveness",icon:setValid$1,shortCut:["Y"]},backward={name:"PreviousImage",icon:icon_last_kj,shortCut:["A"]},forward={name:"NextImage",icon:icon_next_kj,shortCut:["D"]},dargWithRightClick={name:"Drag",icon:icon_move_kj,shortCut:[icon_mouse_right_kj],noticeInfo:"Press"},dargWithLeftClick={name:"Drag",icon:icon_move_kj,shortCut:["Space",icon_mouse_left_kj]},tabChangeSelected={name:"ToggleSelected",icon:icon_tab_kj,shortCut:["Tab"]},tabReverseChangeSelected={name:"ToggleSelectedReverse",icon:icon_alttab_kj,shortCut:["Shift","Tab"]},hidden={name:"HideGraphics",icon:icon_noDisplay,noticeInfo:"",shortCut:["Z"]},changeSpecialLine={name:"ToggleLineParticularity",icon:icon_lineSpecial_kj,noticeInfo:"ToSide",shortCut:["Shift",icon_mouse_left_kj]},saveResult={name:"Save",icon:icon_save_kj,shortCut:["Ctrl","S"]},speed={name:"Speed",icon:icon_speed_kj,shortCut:["↑","↓"],shortCutUseHtml:!0},playPause={name:"PlayPause",icon:icon_playPause,shortCut:["Space"]},forwardForward={name:"FastForward",icon:icon_forward_kj,shortCut:["→"],shortCutUseHtml:!0},rewind={name:"Rewind",icon:icon_back_kj,shortCut:["←"],shortCutUseHtml:!0};exports.backward=backward,exports.changeSpecialLine=changeSpecialLine,exports.dargWithLeftClick=dargWithLeftClick,exports.dargWithRightClick=dargWithRightClick,exports.forward=forward,exports.forwardForward=forwardForward,exports.fullScreen=fullScreen,exports.hidden=hidden,exports.playPause=playPause,exports.restore=restore,exports.revoke=revoke,exports.rewind=rewind,exports.rotate=rotate,exports.saveResult=saveResult,exports.scale=scale,exports.setValid=setValid,exports.speed=speed,exports.tabChangeSelected=tabChangeSelected,exports.tabReverseChangeSelected=tabReverseChangeSelected;
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var icon_cencel_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_cencel_kj.svg.js"),icon_reform_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_reform_kj.svg.js"),icon_loupe_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_loupe_kj.svg.js"),icon_mouse_middle_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_mouse_middle_kj.svg.js"),icon_fullView_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_fullView_kj.svg.js"),icon_reload_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_reload_kj.svg.js"),setValid$1=require("../../../../../../assets/annotation/toolHotKeyIcon/setValid.svg.js"),icon_last_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_last_kj.svg.js"),icon_next_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_next_kj.svg.js"),icon_move_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_move_kj.svg.js"),icon_mouse_right_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_mouse_right_kj.svg.js"),icon_mouse_left_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_mouse_left_kj.svg.js"),icon_tab_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_tab_kj.svg.js"),icon_alttab_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_alttab_kj.svg.js"),icon_save_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_save_kj.svg.js"),icon_lineSpecial_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_lineSpecial_kj.svg.js"),icon_noDisplay=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_noDisplay.svg.js"),icon_eyeLock_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_eyeLock_kj.svg.js"),icon_playPause=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_playPause.svg.js"),icon_forward_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_forward_kj.svg.js"),icon_back_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_back_kj.svg.js"),icon_speed_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_speed_kj.svg.js"),tag$1=require("../../../../../../assets/annotation/audio/tag.svg.js"),icon_tag_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_tag_kj.svg.js"),icon_clip=require("../../../../../../assets/annotation/video/icon_clip.svg.js"),icon_frameActive_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_frameActive_kj.svg.js"),deleteRemark$1=require("../../../../../../assets/annotation/toolHotKeyIcon/deleteRemark.svg.js"),preRemark$1=require("../../../../../../assets/annotation/toolHotKeyIcon/preRemark.svg.js"),nextRemark$1=require("../../../../../../assets/annotation/toolHotKeyIcon/nextRemark.svg.js");const revoke={name:"Undo",icon:icon_cencel_kj,shortCut:["Ctrl","Z"]},restore={name:"Redo",icon:icon_reform_kj,shortCut:["Ctrl","Shift","Z"]},scale={name:"Scale",icon:icon_loupe_kj,shortCut:[icon_mouse_middle_kj]},fullScreen={name:"Fullscreen",icon:icon_fullView_kj,shortCut:["F11"]},rotate={name:"Rotate",icon:icon_reload_kj,shortCut:["R"],noticeInfo:"ToOriginalStep"},setValid={name:"ToggleEffectiveness",icon:setValid$1,shortCut:["Y"]},backward={name:"PreviousImage",icon:icon_last_kj,shortCut:["A"]},forward={name:"NextImage",icon:icon_next_kj,shortCut:["D"]},dargWithRightClick={name:"Drag",icon:icon_move_kj,shortCut:[icon_mouse_right_kj],noticeInfo:"Press"},dargWithLeftClick={name:"Drag",icon:icon_move_kj,shortCut:["Space",icon_mouse_left_kj]},attributeLock={name:"SpecifiedAttributesOnly",icon:icon_eyeLock_kj,shortCut:["Shift","Number"]},attributeClickLock={name:"SpecifiedAttributesOnly",icon:icon_eyeLock_kj,shortCut:["Shift",icon_mouse_left_kj]},tabChangeSelected={name:"ToggleSelected",icon:icon_tab_kj,shortCut:["Tab"]},tabReverseChangeSelected={name:"ToggleSelectedReverse",icon:icon_alttab_kj,shortCut:["Shift","Tab"]},hidden={name:"HideGraphics",icon:icon_noDisplay,noticeInfo:"",shortCut:["Z"]},changeSpecialLine={name:"ToggleLineParticularity",icon:icon_lineSpecial_kj,noticeInfo:"ToSide",shortCut:["Shift",icon_mouse_left_kj]},saveResult={name:"Save",icon:icon_save_kj,shortCut:["Ctrl","S"]},speed={name:"Speed",icon:icon_speed_kj,shortCut:["↑","↓"],shortCutUseHtml:!0},playPause={name:"PlayPause",icon:icon_playPause,shortCut:["Space"]},forwardForward={name:"FastForward",icon:icon_forward_kj,shortCut:["→"],shortCutUseHtml:!0},rewind={name:"Rewind",icon:icon_back_kj,shortCut:["←"],shortCutUseHtml:!0},toggleTagMode={name:"\u5207\u6362\u6807\u7B7E\u6A21\u5F0F",icon:tag$1,shortCut:["L"]},tag={name:"\u6253\u6807\u7B7E",icon:icon_tag_kj,shortCut:[icon_mouse_left_kj],noticeInfo:"\u5DE6\u51FB"},period={name:"\u622A\u53D6\u7247\u6BB5",icon:icon_clip,noticeInfo:"\u4E24\u6B21",shortCut:["X"]},clipSelected={name:"\u622A\u53D6\u9009\u4E2D",icon:icon_frameActive_kj,shortCut:[icon_mouse_right_kj],noticeInfo:"\u53F3\u51FB"},deleteRemark={name:"\u5220\u9664\u6279\u6CE8",icon:deleteRemark$1,shortCut:["Delete"],noticeInfo:"\u9009\u4E2D\u65F6"},nextRemark={name:"\u4E0B\u4E00\u6761\u6279\u6CE8",icon:nextRemark$1,shortCut:["Tab"]},preRemark={name:"\u4E0A\u4E00\u6761\u6279\u6CE8",icon:preRemark$1,shortCut:["Shift","Tab"]};exports.attributeClickLock=attributeClickLock,exports.attributeLock=attributeLock,exports.backward=backward,exports.changeSpecialLine=changeSpecialLine,exports.clipSelected=clipSelected,exports.dargWithLeftClick=dargWithLeftClick,exports.dargWithRightClick=dargWithRightClick,exports.deleteRemark=deleteRemark,exports.forward=forward,exports.forwardForward=forwardForward,exports.fullScreen=fullScreen,exports.hidden=hidden,exports.nextRemark=nextRemark,exports.period=period,exports.playPause=playPause,exports.preRemark=preRemark,exports.restore=restore,exports.revoke=revoke,exports.rewind=rewind,exports.rotate=rotate,exports.saveResult=saveResult,exports.scale=scale,exports.setValid=setValid,exports.speed=speed,exports.tabChangeSelected=tabChangeSelected,exports.tabReverseChangeSelected=tabReverseChangeSelected,exports.tag=tag,exports.toggleTagMode=toggleTagMode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var React=require("react"),icon_kj1=require("../../../../../assets/annotation/toolHotKeyIcon/icon_kj1.svg.js"),icon_kj_h=require("../../../../../assets/annotation/toolHotKeyIcon/icon_kj_h.svg.js"),ToolType=require("../../../../../data/enums/ToolType.js"),index=require("./rectToolShortCutTable/index.js"),index$2=require("./point/index.js"),index$3=require("./polygon/index.js"),index$4=require("./line/index.js"),index$1=require("./tag/index.js"),index$5=require("./text/index.js"),index$6=require("./videoTag/index.js"),index$7=require("./pointCloud/index.js"),index$8=require("./scribble/index.js"),index$9=require("./cuboid/index.js"),index$a=require("./LLM/index.js"),index$b=require("../../index.js"),reactI18next=require("react-i18next"),lbAnnotation=require("@labelbee/lb-annotation"),PointCloudContext=require("../../../../../components/pointCloudView/PointCloudContext.js"),FooterPopover=require("../../FooterPopover.js"),lbUtils=require("@labelbee/lb-utils");function _interopDefaultLegacy(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var React__default=_interopDefaultLegacy(React),__defProp=Object.defineProperty,__getOwnPropSymbols=Object.getOwnPropertySymbols,__hasOwnProp=Object.prototype.hasOwnProperty,__propIsEnum=Object.prototype.propertyIsEnumerable,__defNormalProp=(e,
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var React=require("react"),icon_kj1=require("../../../../../assets/annotation/toolHotKeyIcon/icon_kj1.svg.js"),icon_kj_h=require("../../../../../assets/annotation/toolHotKeyIcon/icon_kj_h.svg.js"),ToolType=require("../../../../../data/enums/ToolType.js"),index=require("./rectToolShortCutTable/index.js"),index$2=require("./point/index.js"),index$3=require("./polygon/index.js"),index$4=require("./line/index.js"),index$1=require("./tag/index.js"),index$5=require("./text/index.js"),index$6=require("./videoTag/index.js"),index$7=require("./pointCloud/index.js"),index$8=require("./scribble/index.js"),index$9=require("./cuboid/index.js"),index$a=require("./LLM/index.js"),index$b=require("./audioText/index.js"),index$c=require("../../index.js"),reactI18next=require("react-i18next"),lbAnnotation=require("@labelbee/lb-annotation"),PointCloudContext=require("../../../../../components/pointCloudView/PointCloudContext.js"),FooterPopover=require("../../FooterPopover.js"),lbUtils=require("@labelbee/lb-utils");function _interopDefaultLegacy(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var React__default=_interopDefaultLegacy(React),__defProp=Object.defineProperty,__getOwnPropSymbols=Object.getOwnPropertySymbols,__hasOwnProp=Object.prototype.hasOwnProperty,__propIsEnum=Object.prototype.propertyIsEnumerable,__defNormalProp=(e,a,t)=>a in e?__defProp(e,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[a]=t,__spreadValues=(e,a)=>{for(var t in a||(a={}))__hasOwnProp.call(a,t)&&__defNormalProp(e,t,a[t]);if(__getOwnPropSymbols)for(var t of __getOwnPropSymbols(a))__propIsEnum.call(a,t)&&__defNormalProp(e,t,a[t]);return e};const{EVideoToolName,EPointCloudName}=lbAnnotation.cTool,shortCutTable={[ToolType.EToolName.Rect]:index.default,[ToolType.EToolName.Tag]:index$1.default,[ToolType.EToolName.Point]:index$2.default,[ToolType.EToolName.Polygon]:index$3.default,[ToolType.EToolName.Line]:index$4.default,[ToolType.EToolName.Text]:index$5,[EVideoToolName.VideoTagTool]:index$6,[EPointCloudName.PointCloud]:index$7.default,[EPointCloudName.PointCloud+"_POLYGON"]:index$7.pointCloudShortCutTable_POLYGON,[EPointCloudName.PointCloud+"_SEGMENT"]:index$7.pointCloudShortCutTable_SEGMENT,[ToolType.EToolName.ScribbleTool]:index$8,[ToolType.EToolName.Cuboid]:index$9,[ToolType.EToolName.LLM]:index$a.default,[lbAnnotation.EAudioToolName.AudioTextTool]:index$b.default},ToolHotKeyIcon=({icon:e})=>typeof e=="string"?React__default.default.createElement("img",{width:16,height:16,src:e}):e||null,ToolHotKeyCom=({title:e,style:a,shortCutList:t})=>{const{t:i}=reactI18next.useTranslation(),d={width:320,display:"flex",justifyContent:"space-between",margin:16},l={display:"block",padding:"0 3px",minWidth:"20px",marginRight:"3px",border:"1px solid rgba(204,204,204,1)",verticalAlign:"middle",fontSize:"12px",textAlign:"center"},c=(n,s)=>React__default.default.createElement("div",{style:d,key:s},React__default.default.createElement("span",{style:{display:"flex",alignItems:"center"}},React__default.default.createElement(ToolHotKeyIcon,{icon:n.icon}),React__default.default.createElement("span",{style:{marginLeft:n.icon?16:0}},i(n.name))),React__default.default.createElement("span",{style:{display:"flex",alignItems:"center"}},n.noticeInfo&&React__default.default.createElement("span",{style:{marginRight:"5px",color:"#CCCCCC"}},i(n.noticeInfo)),m(n.shortCut,n.shortCutUseHtml,n.linkSymbol))),m=(n,s=!1,x="+")=>{if(!n)return null;const g=n.map((r,o)=>{var p,f;const u={display:"flex",alignItems:"center"};return s?React__default.default.createElement("span",{key:o,style:u},React__default.default.createElement("span",{style:l,dangerouslySetInnerHTML:{__html:r}})):o<n.length-1?typeof r=="number"?React__default.default.createElement("span",{key:o,style:u},React__default.default.createElement("span",{style:l},r),React__default.default.createElement("span",{style:{marginRight:"3px"}},"~")):((p=r==null?void 0:r.startsWith)==null?void 0:p.call(r,"data"))?React__default.default.createElement("span",{key:o,style:u},React__default.default.createElement("span",{className:"shortCutButton",style:{marginRight:"3px"}},React__default.default.createElement("img",{width:16,height:23,src:r})),React__default.default.createElement("span",{style:{marginRight:"3px"}},"+")):React__default.default.createElement("span",{key:o,style:u},React__default.default.createElement("span",{style:l},r),React__default.default.createElement("span",{style:{marginRight:"3px"}},x)):typeof r=="number"?React__default.default.createElement("span",{key:o,style:u},React__default.default.createElement("span",{style:l},r)):((f=r==null?void 0:r.startsWith)==null?void 0:f.call(r,"data"))?React__default.default.createElement("span",{className:"shortCutButton",key:o,style:{marginRight:"3px"}},React__default.default.createElement("img",{width:16,height:23,src:r})):React__default.default.createElement("span",{style:l,key:o},r)});return React__default.default.createElement("div",{style:{display:"flex",justifyContent:"space-around",alignItems:"center"}},g)},y=React__default.default.createElement("div",{className:`${index$c.footerCls}__hotkey-content`},t==null?void 0:t.map((n,s)=>c(n,s))),E=a||{};return React__default.default.createElement(FooterPopover,{hoverIcon:icon_kj_h,icon:icon_kj1,title:i("Hotkeys"),content:y,containerStyle:E})},ToolHotKey=({style:e,title:a,toolName:t})=>{const{pointCloudPattern:i,globalPattern:d}=React.useContext(PointCloudContext.PointCloudContext);if(!t||!shortCutTable[t])return null;let l=t;switch(d){case lbUtils.EPointCloudPattern.Detection:switch(i){case ToolType.EToolName.Polygon:l+="_POLYGON";break;case ToolType.EToolName.Line:l=ToolType.EToolName.Line;break;case ToolType.EToolName.Point:l=ToolType.EToolName.Point;break}break;case lbUtils.EPointCloudPattern.Segmentation:l=EPointCloudName.PointCloud+"_SEGMENT";break}const c={style:e,title:a,shortCutList:shortCutTable[l]};return React__default.default.createElement(ToolHotKeyCom,__spreadValues({},c))};exports.ToolHotKeyCom=ToolHotKeyCom,exports.default=ToolHotKey,exports.shortCutTable=shortCutTable;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var icon_line_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_line_kj.svg.js"),icon_mouse_left_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_mouse_left_kj.svg.js"),icon_lineNull_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_lineNull_kj.svg.js"),icon_straightLine_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_straightLine_kj.svg.js"),icon_lineActive_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_lineActive_kj.svg.js"),icon_mouse_right_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_mouse_right_kj.svg.js"),icon_lineChange_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_lineChange_kj.svg.js"),icon_del_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_del_kj.svg.js"),icon_lineCont_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_lineCont_kj.svg.js"),icon_lineInsert_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_lineInsert_kj.svg.js"),icon_lineDel_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_lineDel_kj.svg.js"),icon_unGrip_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_unGrip_kj.svg.js"),index=require("../common/index.js");const line={name:"AnnotateLine",icon:icon_line_kj,shortCut:[icon_mouse_left_kj]},invalidLine={name:"AnnotateInvalidLine",icon:icon_lineNull_kj,shortCut:["Ctrl",icon_mouse_left_kj]},horizontalLine={name:"HorizontalOrVertical",icon:icon_straightLine_kj,shortCut:["Shift",icon_mouse_left_kj]},selectLine={name:"SelectLine",icon:icon_lineActive_kj,shortCut:[icon_mouse_right_kj]},changeLineAttribute={name:"ToggleLineEffectiveness",icon:icon_lineChange_kj,shortCut:["F"]},deleteLine={name:"DeleteLine",icon:icon_del_kj,noticeInfo:"SelectAndDoubleClick",shortCut:[icon_mouse_right_kj]},keepLine={name:"ContinueToLabel",icon:icon_lineCont_kj,noticeInfo:"Select",shortCut:["Space"]},insertPoint={name:"InsertPoint",icon:icon_lineInsert_kj,noticeInfo:"ClickOnLine",shortCut:[icon_mouse_left_kj]},deletePoint={name:"DeletePoint",icon:icon_lineDel_kj,noticeInfo:"DblClickOnPoint",shortCut:[icon_mouse_right_kj]},suspendAbsorption={name:"StopAdsorption",icon:icon_unGrip_kj,noticeInfo:"Press",shortCut:["Alt"]},lineToolShortCutTable=[line,invalidLine,horizontalLine,selectLine,changeLineAttribute,deleteLine,keepLine,index.changeSpecialLine,insertPoint,deletePoint,suspendAbsorption,index.revoke,index.restore,index.rotate,index.scale,index.backward,index.forward,index.setValid,index.dargWithRightClick,index.dargWithLeftClick,index.hidden,index.tabChangeSelected,index.tabReverseChangeSelected];exports.changeLineAttribute=changeLineAttribute,exports.default=lineToolShortCutTable,exports.deleteLine=deleteLine,exports.deletePoint=deletePoint,exports.horizontalLine=horizontalLine,exports.insertPoint=insertPoint,exports.invalidLine=invalidLine,exports.keepLine=keepLine,exports.line=line,exports.selectLine=selectLine,exports.suspendAbsorption=suspendAbsorption;
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var icon_line_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_line_kj.svg.js"),icon_mouse_left_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_mouse_left_kj.svg.js"),icon_lineNull_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_lineNull_kj.svg.js"),icon_straightLine_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_straightLine_kj.svg.js"),icon_lineActive_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_lineActive_kj.svg.js"),icon_mouse_right_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_mouse_right_kj.svg.js"),icon_lineChange_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_lineChange_kj.svg.js"),icon_del_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_del_kj.svg.js"),icon_lineCont_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_lineCont_kj.svg.js"),icon_lineInsert_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_lineInsert_kj.svg.js"),icon_lineDel_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_lineDel_kj.svg.js"),icon_unGrip_kj=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_unGrip_kj.svg.js"),icon_up=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_up.svg.js"),icon_down=require("../../../../../../assets/annotation/toolHotKeyIcon/icon_down.svg.js"),index=require("../common/index.js");const line={name:"AnnotateLine",icon:icon_line_kj,shortCut:[icon_mouse_left_kj]},invalidLine={name:"AnnotateInvalidLine",icon:icon_lineNull_kj,shortCut:["Ctrl",icon_mouse_left_kj]},horizontalLine={name:"HorizontalOrVertical",icon:icon_straightLine_kj,shortCut:["Shift",icon_mouse_left_kj]},selectLine={name:"SelectLine",icon:icon_lineActive_kj,shortCut:[icon_mouse_right_kj]},changeLineAttribute={name:"ToggleLineEffectiveness",icon:icon_lineChange_kj,shortCut:["F"]},deleteLine={name:"DeleteLine",icon:icon_del_kj,noticeInfo:"SelectAndDoubleClick",shortCut:[icon_mouse_right_kj]},keepLine={name:"ContinueToLabel",icon:icon_lineCont_kj,noticeInfo:"Select",shortCut:["Space"]},insertPoint={name:"InsertPoint",icon:icon_lineInsert_kj,noticeInfo:"ClickOnLine",shortCut:[icon_mouse_left_kj]},deletePoint={name:"DeletePoint",icon:icon_lineDel_kj,noticeInfo:"DblClickOnPoint",shortCut:[icon_mouse_right_kj]},suspendAbsorption={name:"StopAdsorption",icon:icon_unGrip_kj,noticeInfo:"Press",shortCut:["Alt"]},preLine={name:"PreviousLine",icon:icon_up,shortCut:["W"]},nextLine={name:"NextLine",icon:icon_down,shortCut:["S"]},lineToolShortCutTable=[line,invalidLine,horizontalLine,selectLine,changeLineAttribute,deleteLine,keepLine,index.changeSpecialLine,insertPoint,deletePoint,suspendAbsorption,index.revoke,index.restore,index.rotate,index.scale,index.backward,index.forward,index.setValid,index.dargWithRightClick,index.dargWithLeftClick,index.hidden,index.tabChangeSelected,index.tabReverseChangeSelected];exports.changeLineAttribute=changeLineAttribute,exports.default=lineToolShortCutTable,exports.deleteLine=deleteLine,exports.deletePoint=deletePoint,exports.horizontalLine=horizontalLine,exports.insertPoint=insertPoint,exports.invalidLine=invalidLine,exports.keepLine=keepLine,exports.line=line,exports.nextLine=nextLine,exports.preLine=preLine,exports.selectLine=selectLine,exports.suspendAbsorption=suspendAbsorption;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var antd=require("antd"),React=require("react"),reactI18next=require("react-i18next"),PointCloudContext=require("../../../../components/pointCloudView/PointCloudContext.js"),useStatus=require("../../../../components/pointCloudView/hooks/useStatus.js");function _interopDefaultLegacy(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var React__default=_interopDefaultLegacy(React);const SwitchCuboidBoxIn2DView=()=>{const{cuboidBoxIn2DView:e,setCuboidBoxIn2DView:n}=React.useContext(PointCloudContext.PointCloudContext),{t}=reactI18next.useTranslation(),{isPointCloudSegmentationPattern:o}=useStatus.useStatus(),u=a=>{n(a)};return o?null:React__default.default.createElement(React__default.default.Fragment,null,React__default.default.createElement("span",{style:{marginRight:10}},t("ImageLabels")),React__default.default.createElement(antd.Switch,{checkedChildren:t("3DRect"),unCheckedChildren:t("2DRect"),checked:e,onChange:u}))};module.exports=SwitchCuboidBoxIn2DView;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var index$
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var index$7=require("../../../constant/index.js"),actionCreators=require("../../../store/annotation/actionCreators.js"),reducer=require("../../../store/annotation/reducer.js"),es=require("antd/es"),React=require("react"),reactI18next=require("react-i18next"),reactRedux=require("react-redux"),ctx=require("../../../store/ctx.js"),index=require("./FooterTips/index.js"),index$3=require("./HiddenTips/index.js"),index$4=require("./PageNumber/index.js"),index$5=require("./ZoomController/index.js"),index$2=require("./SwitchCuboidBoxIn2DView/index.js"),Pagination=require("./Pagination.js"),index$1=require("./AnnotatedAttributes/index.js"),lbAnnotation=require("@labelbee/lb-annotation"),index$6=require("./FooterTips/ToolHotKey/index.js");function _interopDefaultLegacy(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var React__default=_interopDefaultLegacy(React);const{EPointCloudName}=lbAnnotation.cTool,footerCls=`${index$7.prefix}-footer`,FooterDivider=()=>React__default.default.createElement(es.Divider,{type:"vertical",style:{background:"rgba(153, 153, 153, 1)",height:"16px"}}),renderFooter=({footerTips:e,hiddenTips:a,pageNumber:i,pagination:l,zoomController:o,curItems:u,footerDivider:s,annotateAttrList:t})=>React__default.default.createElement(React__default.default.Fragment,null,e,t,React__default.default.createElement("div",{style:{flex:1}}),a,i,l,u,s,o),ToolFooter=e=>{var a;const{stepList:i,step:l,basicResultList:o,basicIndex:u,mode:s="light",footer:t=renderFooter,skipBeforePageTurning:n}=e,r=ctx.useDispatch(),{t:x}=reactI18next.useTranslation(),d=(a=i[l-1])!=null?a:{},g=!!d.dataSourceStep,m=()=>{if(n){n(()=>r(actionCreators.PageBackward()));return}r(actionCreators.PageBackward())},p=()=>{if(n){n(()=>r(actionCreators.PageForward()));return}r(actionCreators.PageForward())},v=P=>{const f=~~P-1;if(n){n(()=>r(actionCreators.PageJump(f)));return}r(actionCreators.PageJump(f))},c=React__default.default.createElement(Pagination.Pagination,{imgIndex:e.imgIndex,totalPage:e.totalPage,pageJump:v,pageBackward:m,pageForward:p,footerCls}),b=g&&o.length>0?React__default.default.createElement("span",null,x("curItems",{current:u+1,total:o.length})):null;return typeof t=="function"?t===renderFooter&&d.tool===EPointCloudName.PointCloud?React__default.default.createElement("div",{className:`${footerCls}`,style:e.style},React__default.default.createElement(index,null),React__default.default.createElement(index$1.AnnotatedAttributesIcon,null),React__default.default.createElement("div",{style:{flex:1}}),React__default.default.createElement(index$2,null),c):React__default.default.createElement("div",{className:`${footerCls}`,style:e.style},t({footerTips:React__default.default.createElement(index,null),hiddenTips:React__default.default.createElement(index$3,null),pageNumber:React__default.default.createElement(index$4,null),annotateAttrList:React__default.default.createElement(index$1.AnnotatedAttributesIcon,null),pagination:c,zoomController:React__default.default.createElement(index$5.default,{mode:s}),curItems:b,footerDivider:React__default.default.createElement(FooterDivider,null),shortCutTable:index$6.shortCutTable,ToolHotKeyCom:index$6.ToolHotKeyCom})):t},mapStateToProps=e=>({totalPage:reducer.getTotalPage(e.annotation),imgIndex:e.annotation.imgIndex,stepList:e.annotation.stepList,step:e.annotation.step,basicIndex:e.annotation.basicIndex,basicResultList:e.annotation.basicResultList,skipBeforePageTurning:e.annotation.skipBeforePageTurning});var ToolFooter$1=reactRedux.connect(mapStateToProps,null,null,{context:ctx.LabelBeeContext})(ToolFooter);exports.FooterDivider=FooterDivider,exports.default=ToolFooter$1,exports.footerCls=footerCls;
|