@labelbee/lb-components 1.6.0-alpha.0 → 1.6.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/lineTool/icon_line.svg.js +1 -0
- package/dist/assets/annotation/pointCloudTool/changePointCloudValid.svg.js +1 -0
- package/dist/assets/annotation/pointCloudTool/copy.svg.js +1 -0
- package/dist/assets/annotation/pointCloudTool/nextBox.svg.js +1 -0
- package/dist/assets/annotation/pointCloudTool/nodata.svg.js +1 -0
- package/dist/assets/annotation/pointCloudTool/patse.svg.js +1 -0
- package/dist/assets/annotation/pointCloudTool/prevBox.svg.js +1 -0
- package/dist/assets/annotation/pointCloudTool/rotate180_black.svg.js +1 -0
- package/dist/assets/annotation/pointCloudTool/selectAll.svg.js +1 -0
- package/dist/assets/annotation/pointCloudTool/selectMultiple.svg.js +1 -0
- package/dist/assets/annotation/pointTool/icon_point.svg.js +1 -0
- package/dist/assets/annotation/polygonTool/icon_polygon.svg.js +1 -0
- package/dist/assets/annotation/rectTool/icon_rect.svg.js +1 -0
- package/dist/assets/annotation/rectTool/{icon_rectPattern.svg.js → icon_rect_a.svg.js} +0 -0
- package/dist/assets/attributeIcon/eraser.svg.js +1 -0
- package/dist/assets/attributeIcon/eraser_a.svg.js +1 -0
- package/dist/assets/attributeIcon/pen.svg.js +1 -0
- package/dist/assets/attributeIcon/pen_a.svg.js +1 -0
- package/dist/assets/{cssIcon/annotation/icon_clearSmall.svg → icons/25541b4d.svg} +0 -0
- package/dist/assets/icons/25ef334b.svg +8 -0
- package/dist/assets/icons/7eadb9c4.svg +5 -0
- package/dist/assets/icons/9d70807.svg +5 -0
- package/dist/assets/icons/c5b4262e.png +0 -0
- package/dist/assets/{cssIcon/slide_btn.svg → icons/cc550fff.svg} +0 -0
- package/dist/assets/{cssIcon/annotation/icon_clearSmall_a.svg → icons/dc9b6bfc.svg} +0 -0
- package/dist/assets/icons/e4f0b7fe.png +0 -0
- package/dist/components/AnnotationView/index.js +1 -1
- package/dist/components/AnnotationView/pointCloudAnnotationView.js +1 -0
- package/dist/components/attributeList/index.js +1 -1
- package/dist/components/customResizeHook/index.js +1 -1
- package/dist/components/pointCloudView/PointCloud2DView.js +1 -0
- package/dist/components/pointCloudView/PointCloud3DView.js +1 -0
- package/dist/components/pointCloudView/PointCloudBackView.js +1 -0
- package/dist/components/pointCloudView/PointCloudContext.js +1 -0
- package/dist/components/pointCloudView/PointCloudInfos.js +1 -0
- package/dist/components/pointCloudView/PointCloudLayout.js +1 -0
- package/dist/components/pointCloudView/PointCloudListener.js +1 -0
- package/dist/components/pointCloudView/PointCloudSideView.js +1 -0
- package/dist/components/pointCloudView/PointCloudTopView.js +1 -0
- package/dist/components/pointCloudView/components/EmptyPage/index.js +1 -0
- package/dist/components/pointCloudView/hooks/useBoxes.js +1 -0
- package/dist/components/pointCloudView/hooks/usePointCloudViews.js +1 -0
- package/dist/components/pointCloudView/hooks/usePolygon.js +1 -0
- package/dist/components/pointCloudView/hooks/useRotate.js +1 -0
- package/dist/components/pointCloudView/hooks/useSingleBox.js +1 -0
- package/dist/components/pointCloudView/hooks/useStatus.js +1 -0
- package/dist/components/pointCloudView/hooks/useZoom.js +1 -0
- package/dist/components/pointCloudView/index.js +1 -0
- package/dist/components/videoAnnotate/index.js +1 -1
- package/dist/data/enums/ToolType.js +1 -1
- package/dist/hooks/annotation.js +1 -0
- package/dist/hooks/useSize.js +1 -1
- package/dist/index.css +314 -44
- package/dist/index.js +1 -1
- package/dist/store/Actions.js +1 -1
- package/dist/store/annotation/actionCreators.js +1 -1
- package/dist/store/annotation/map.js +1 -0
- package/dist/store/annotation/reducer.js +1 -1
- package/dist/store/ctx.js +1 -0
- package/dist/types/App.d.ts +10 -2
- package/dist/types/components/AnnotationView/index.d.ts +6 -5
- package/dist/types/components/AnnotationView/pointCloudAnnotationView.d.ts +10 -0
- package/dist/types/components/attributeList/index.d.ts +1 -0
- package/dist/types/components/pointCloudView/PointCloud2DView.d.ts +6 -0
- package/dist/types/components/pointCloudView/PointCloud3DView.d.ts +6 -0
- package/dist/types/components/pointCloudView/PointCloudBackView.d.ts +3 -0
- package/dist/types/components/pointCloudView/PointCloudContext.d.ts +33 -0
- package/dist/types/components/pointCloudView/PointCloudInfos.d.ts +19 -0
- package/dist/types/components/pointCloudView/PointCloudLayout.d.ts +7 -0
- package/dist/types/components/pointCloudView/PointCloudListener.d.ts +6 -0
- package/dist/types/components/pointCloudView/PointCloudSideView.d.ts +6 -0
- package/dist/types/components/pointCloudView/PointCloudTopView.d.ts +6 -0
- package/dist/types/components/pointCloudView/components/EmptyPage/index.d.ts +2 -0
- package/dist/types/components/pointCloudView/hooks/useBoxes.d.ts +10 -0
- package/dist/types/components/pointCloudView/hooks/usePointCloudViews.d.ts +63 -0
- package/dist/types/components/pointCloudView/hooks/usePolygon.d.ts +9 -0
- package/dist/types/components/pointCloudView/hooks/useRotate.d.ts +8 -0
- package/dist/types/components/pointCloudView/hooks/useSingleBox.d.ts +13 -0
- package/dist/types/components/pointCloudView/hooks/useStatus.d.ts +11 -0
- package/dist/types/components/pointCloudView/hooks/useZoom.d.ts +7 -0
- package/dist/types/components/pointCloudView/index.d.ts +15 -0
- package/dist/types/components/videoPlayer/TagToolInstanceAdaptor.d.ts +1 -1
- package/dist/types/components/videoPlayer/index.d.ts +1 -1
- package/dist/types/data/enums/ToolType.d.ts +14 -8
- package/dist/types/hooks/annotation.d.ts +32 -0
- package/dist/types/hooks/useSize.d.ts +2 -2
- package/dist/types/index.d.ts +3 -1
- package/dist/types/store/Actions.d.ts +3 -0
- package/dist/types/store/annotation/actionCreators.d.ts +15 -5
- package/dist/types/store/annotation/map.d.ts +13 -0
- package/dist/types/store/annotation/reducer.d.ts +1 -1
- package/dist/types/store/annotation/types.d.ts +2 -0
- package/dist/types/store/ctx.d.ts +4 -0
- package/dist/types/utils/PageOperator.d.ts +1 -1
- package/dist/types/utils/StepUtils.d.ts +7 -0
- package/dist/types/utils/ToolUtils.d.ts +10 -0
- package/dist/types/utils/data.d.ts +1 -1
- package/dist/types/utils/dom.d.ts +1 -1
- package/dist/types/utils/index.d.ts +1 -1
- package/dist/types/views/MainView/annotationOperation/index.d.ts +3 -0
- package/dist/types/views/MainView/sidebar/GeneralOperation/ActionsConfirm.d.ts +12 -0
- package/dist/types/views/MainView/sidebar/GeneralOperation/index.d.ts +5 -1
- package/dist/types/views/MainView/sidebar/GeneralOperation/useOperationList.d.ts +12 -0
- package/dist/types/views/MainView/sidebar/PointCloudToolSidebar/index.d.ts +11 -0
- package/dist/types/views/MainView/sidebar/ScribbleSidebar/index.d.ts +6 -0
- package/dist/types/views/MainView/sidebar/ToolIcons.d.ts +11 -0
- package/dist/types/views/MainView/sidebar/ToolStyle/index.d.ts +1 -1
- package/dist/types/views/MainView/sidebar/index.d.ts +1 -0
- package/dist/types/views/MainView/toolFooter/FooterTips/ToolHotKey/pointCloud/index.d.ts +3 -0
- package/dist/types/views/MainView/toolFooter/Pagination.d.ts +12 -2
- package/dist/types/views/MainView/toolFooter/ZoomController/ZoomLevel/index.d.ts +1 -0
- package/dist/types/views/MainView/toolFooter/ZoomController/index.d.ts +15 -4
- package/dist/types/views/MainView/toolFooter/index.d.ts +7 -9
- package/dist/types/views/MainView/toolHeader/ExportData/index.d.ts +1 -1
- package/dist/utils/StepUtils.js +1 -1
- package/dist/utils/ToolUtils.js +1 -0
- package/dist/utils/data.js +1 -1
- package/dist/utils/dom.js +1 -1
- package/dist/utils/index.js +1 -1
- package/dist/views/MainView/annotationOperation/index.js +1 -1
- package/dist/views/MainView/annotationTips/index.js +1 -1
- package/dist/views/MainView/index.js +1 -1
- package/dist/views/MainView/sidebar/AnnotationText/index.js +1 -1
- package/dist/views/MainView/sidebar/GeneralOperation/ActionsConfirm.js +1 -0
- package/dist/views/MainView/sidebar/GeneralOperation/index.js +1 -1
- package/dist/views/MainView/sidebar/GeneralOperation/useOperationList.js +1 -0
- package/dist/views/MainView/sidebar/ImgAttributeInfo/index.js +1 -1
- package/dist/views/MainView/sidebar/PointCloudToolSidebar/index.js +1 -0
- package/dist/views/MainView/sidebar/ScribbleSidebar/index.js +1 -0
- package/dist/views/MainView/sidebar/SwitchAttributeList/index.js +1 -1
- package/dist/views/MainView/sidebar/TagSidebar/index.js +1 -1
- package/dist/views/MainView/sidebar/TextToolSidebar/index.js +1 -1
- package/dist/views/MainView/sidebar/ToolIcons.js +1 -0
- package/dist/views/MainView/sidebar/ToolStyle/index.js +1 -1
- package/dist/views/MainView/sidebar/index.js +1 -1
- package/dist/views/MainView/toolFooter/FooterTips/ToolHotKey/index.js +1 -1
- package/dist/views/MainView/toolFooter/FooterTips/ToolHotKey/pointCloud/index.js +1 -0
- package/dist/views/MainView/toolFooter/FooterTips/index.js +1 -1
- package/dist/views/MainView/toolFooter/HiddenTips/index.js +1 -1
- package/dist/views/MainView/toolFooter/PageNumber/index.js +1 -1
- package/dist/views/MainView/toolFooter/Pagination.js +1 -1
- package/dist/views/MainView/toolFooter/ZoomController/ZoomLevel/index.js +1 -1
- package/dist/views/MainView/toolFooter/ZoomController/index.js +1 -1
- package/dist/views/MainView/toolFooter/index.js +1 -1
- package/dist/views/MainView/toolHeader/ExportData/index.js +1 -1
- package/dist/views/MainView/toolHeader/StepSwitch/index.js +1 -1
- package/dist/views/MainView/toolHeader/headerOption/index.js +1 -1
- package/dist/views/MainView/toolHeader/index.js +1 -1
- package/es/App.js +1 -1
- package/es/App.js.map +1 -1
- package/es/assets/annotation/lineTool/icon_line.svg.js +1 -0
- package/es/assets/annotation/lineTool/icon_line.svg.js.map +1 -0
- package/es/assets/annotation/pointCloudTool/changePointCloudValid.svg.js +1 -0
- package/es/assets/annotation/pointCloudTool/changePointCloudValid.svg.js.map +1 -0
- package/es/assets/annotation/pointCloudTool/copy.svg.js +1 -0
- package/es/assets/annotation/pointCloudTool/copy.svg.js.map +1 -0
- package/es/assets/annotation/pointCloudTool/nextBox.svg.js +1 -0
- package/es/assets/annotation/pointCloudTool/nextBox.svg.js.map +1 -0
- package/es/assets/annotation/pointCloudTool/nodata.svg.js +1 -0
- package/es/assets/annotation/pointCloudTool/nodata.svg.js.map +1 -0
- package/es/assets/annotation/pointCloudTool/patse.svg.js +1 -0
- package/es/assets/annotation/pointCloudTool/patse.svg.js.map +1 -0
- package/es/assets/annotation/pointCloudTool/prevBox.svg.js +1 -0
- package/es/assets/annotation/pointCloudTool/prevBox.svg.js.map +1 -0
- package/es/assets/annotation/pointCloudTool/rotate180_black.svg.js +1 -0
- package/es/assets/annotation/pointCloudTool/rotate180_black.svg.js.map +1 -0
- package/es/assets/annotation/pointCloudTool/selectAll.svg.js +1 -0
- package/es/assets/annotation/pointCloudTool/selectAll.svg.js.map +1 -0
- package/es/assets/annotation/pointCloudTool/selectMultiple.svg.js +1 -0
- package/es/assets/annotation/pointCloudTool/selectMultiple.svg.js.map +1 -0
- package/es/assets/annotation/pointTool/icon_point.svg.js +1 -0
- package/es/assets/annotation/pointTool/icon_point.svg.js.map +1 -0
- package/es/assets/annotation/polygonTool/icon_polygon.svg.js +1 -0
- package/es/assets/annotation/polygonTool/icon_polygon.svg.js.map +1 -0
- package/es/assets/annotation/rectTool/icon_rect.svg.js +1 -0
- package/es/assets/annotation/rectTool/icon_rect.svg.js.map +1 -0
- package/es/assets/annotation/rectTool/icon_rectPattern.svg.js +4 -1
- package/es/assets/annotation/rectTool/icon_rect_a.svg.js +1 -0
- package/es/assets/annotation/rectTool/icon_rect_a.svg.js.map +1 -0
- package/es/assets/attributeIcon/eraser.svg.js +1 -0
- package/es/assets/attributeIcon/eraser.svg.js.map +1 -0
- package/es/assets/attributeIcon/eraser_a.svg.js +1 -0
- package/es/assets/attributeIcon/eraser_a.svg.js.map +1 -0
- package/es/assets/attributeIcon/pen.svg.js +1 -0
- package/es/assets/attributeIcon/pen.svg.js.map +1 -0
- package/es/assets/attributeIcon/pen_a.svg.js +1 -0
- package/es/assets/attributeIcon/pen_a.svg.js.map +1 -0
- package/es/components/AnnotationView/index.js +1 -1
- package/es/components/AnnotationView/index.js.map +1 -1
- package/es/components/AnnotationView/pointCloudAnnotationView.js +1 -0
- package/es/components/AnnotationView/pointCloudAnnotationView.js.map +1 -0
- package/es/components/attributeList/index.js +1 -1
- package/es/components/attributeList/index.js.map +1 -1
- package/es/components/customResizeHook/index.js +1 -1
- package/es/components/customResizeHook/index.js.map +1 -1
- package/es/components/pointCloudView/PointCloud2DView.js +1 -0
- package/es/components/pointCloudView/PointCloud2DView.js.map +1 -0
- package/es/components/pointCloudView/PointCloud3DView.js +1 -1
- package/es/components/pointCloudView/PointCloud3DView.js.map +1 -0
- package/es/components/pointCloudView/PointCloudBackView.js +1 -0
- package/es/components/pointCloudView/PointCloudBackView.js.map +1 -0
- package/es/components/pointCloudView/PointCloudContext.js +1 -0
- package/es/components/pointCloudView/PointCloudContext.js.map +1 -0
- package/es/components/pointCloudView/PointCloudInfos.js +1 -0
- package/es/components/pointCloudView/PointCloudInfos.js.map +1 -0
- package/es/components/pointCloudView/PointCloudLayout.js +1 -1
- package/es/components/pointCloudView/PointCloudLayout.js.map +1 -0
- package/es/components/pointCloudView/PointCloudListener.js +1 -0
- package/es/components/pointCloudView/PointCloudListener.js.map +1 -0
- package/es/components/pointCloudView/PointCloudSideView.js +1 -0
- package/es/components/pointCloudView/PointCloudSideView.js.map +1 -0
- package/es/components/pointCloudView/PointCloudTopView.js +1 -1
- package/es/components/pointCloudView/PointCloudTopView.js.map +1 -0
- package/es/components/pointCloudView/components/EmptyPage/index.js +1 -0
- package/es/components/pointCloudView/components/EmptyPage/index.js.map +1 -0
- package/es/components/pointCloudView/data.js +4 -0
- package/es/components/pointCloudView/data.js.map +1 -0
- package/es/components/pointCloudView/hooks/useBoxes.js +1 -0
- package/es/components/pointCloudView/hooks/useBoxes.js.map +1 -0
- package/es/components/pointCloudView/hooks/useConfig.js +19 -0
- package/es/components/pointCloudView/hooks/useConfig.js.map +1 -0
- package/es/components/pointCloudView/hooks/usePointCloudViews.js +1 -0
- package/es/components/pointCloudView/hooks/usePointCloudViews.js.map +1 -0
- package/es/components/pointCloudView/hooks/usePolygon.js +1 -0
- package/es/components/pointCloudView/hooks/usePolygon.js.map +1 -0
- package/es/components/pointCloudView/hooks/useRotate.js +1 -0
- package/es/components/pointCloudView/hooks/useRotate.js.map +1 -0
- package/es/components/pointCloudView/hooks/useSingleBox.js +1 -0
- package/es/components/pointCloudView/hooks/useSingleBox.js.map +1 -0
- package/es/components/pointCloudView/hooks/useStatus.js +1 -0
- package/es/components/pointCloudView/hooks/useStatus.js.map +1 -0
- package/es/components/pointCloudView/hooks/useZoom.js +1 -0
- package/es/components/pointCloudView/hooks/useZoom.js.map +1 -0
- package/es/components/pointCloudView/index.js +1 -1
- package/es/components/pointCloudView/index.js.map +1 -0
- package/es/components/videoAnnotate/index.js +1 -1
- package/es/components/videoAnnotate/index.js.map +1 -1
- package/es/data/enums/ToolType.js +1 -1
- package/es/data/enums/ToolType.js.map +1 -1
- package/es/hooks/annotation.js +1 -0
- package/es/hooks/annotation.js.map +1 -0
- package/es/hooks/useConfig.js +18 -0
- package/es/hooks/useConfig.js.map +1 -0
- package/es/hooks/useSize.js +1 -1
- package/es/hooks/useSize.js.map +1 -1
- package/es/index.css +1404 -0
- package/es/index.js +1 -1
- package/es/index.js.map +1 -1
- package/es/store/Actions.js +1 -1
- package/es/store/Actions.js.map +1 -1
- package/es/store/annotation/actionCreators.js +1 -1
- package/es/store/annotation/actionCreators.js.map +1 -1
- package/es/store/annotation/map.js +1 -0
- package/es/store/annotation/map.js.map +1 -0
- package/es/store/annotation/reducer.js +1 -1
- package/es/store/annotation/reducer.js.map +1 -1
- package/es/store/ctx.js +1 -0
- package/es/store/ctx.js.map +1 -0
- package/es/utils/StepUtils.js +1 -1
- package/es/utils/StepUtils.js.map +1 -1
- package/es/utils/ToolUtils.js.map +1 -0
- package/es/utils/data.js +1 -1
- package/es/utils/data.js.map +1 -1
- package/es/utils/dom.js +1 -1
- package/es/utils/dom.js.map +1 -1
- package/es/utils/index.js +1 -1
- package/es/utils/index.js.map +1 -1
- package/es/views/MainView/annotationOperation/index.js +1 -1
- package/es/views/MainView/annotationOperation/index.js.map +1 -1
- package/es/views/MainView/annotationTips/index.js +1 -1
- package/es/views/MainView/annotationTips/index.js.map +1 -1
- package/es/views/MainView/index.js +1 -1
- package/es/views/MainView/index.js.map +1 -1
- package/es/views/MainView/sidebar/AnnotationText/index.js +1 -1
- package/es/views/MainView/sidebar/AnnotationText/index.js.map +1 -1
- package/es/views/MainView/sidebar/GeneralOperation/ActionsConfirm.js +1 -0
- package/es/views/MainView/sidebar/GeneralOperation/ActionsConfirm.js.map +1 -0
- package/es/views/MainView/sidebar/GeneralOperation/index.js +1 -1
- package/es/views/MainView/sidebar/GeneralOperation/index.js.map +1 -1
- package/es/views/MainView/sidebar/GeneralOperation/useOperationList.js +1 -0
- package/es/views/MainView/sidebar/GeneralOperation/useOperationList.js.map +1 -0
- package/es/views/MainView/sidebar/ImgAttributeInfo/index.js +1 -1
- package/es/views/MainView/sidebar/ImgAttributeInfo/index.js.map +1 -1
- package/es/views/MainView/sidebar/PointCloudToolSidebar/index.js +1 -0
- package/es/views/MainView/sidebar/PointCloudToolSidebar/index.js.map +1 -0
- package/es/views/MainView/sidebar/ScribbleSidebar/index.js +1 -0
- package/es/views/MainView/sidebar/ScribbleSidebar/index.js.map +1 -0
- package/es/views/MainView/sidebar/SwitchAttributeList/index.js +1 -1
- package/es/views/MainView/sidebar/SwitchAttributeList/index.js.map +1 -1
- package/es/views/MainView/sidebar/TagSidebar/index.js +1 -1
- package/es/views/MainView/sidebar/TagSidebar/index.js.map +1 -1
- package/es/views/MainView/sidebar/TextToolSidebar/index.js +1 -1
- package/es/views/MainView/sidebar/TextToolSidebar/index.js.map +1 -1
- package/es/views/MainView/sidebar/ToolIcons.js +1 -0
- package/es/views/MainView/sidebar/ToolIcons.js.map +1 -0
- package/es/views/MainView/sidebar/ToolStyle/index.js +1 -1
- package/es/views/MainView/sidebar/ToolStyle/index.js.map +1 -1
- package/es/views/MainView/sidebar/index.js +1 -1
- package/es/views/MainView/sidebar/index.js.map +1 -1
- package/es/views/MainView/toolFooter/FooterTips/ToolHotKey/index.js +1 -1
- package/es/views/MainView/toolFooter/FooterTips/ToolHotKey/index.js.map +1 -1
- package/es/views/MainView/toolFooter/FooterTips/ToolHotKey/pointCloud/index.js +1 -0
- package/es/views/MainView/toolFooter/FooterTips/ToolHotKey/pointCloud/index.js.map +1 -0
- package/es/views/MainView/toolFooter/FooterTips/index.js +1 -1
- package/es/views/MainView/toolFooter/FooterTips/index.js.map +1 -1
- package/es/views/MainView/toolFooter/HiddenTips/index.js +1 -1
- package/es/views/MainView/toolFooter/HiddenTips/index.js.map +1 -1
- package/es/views/MainView/toolFooter/PageNumber/index.js +1 -1
- package/es/views/MainView/toolFooter/PageNumber/index.js.map +1 -1
- package/es/views/MainView/toolFooter/Pagination.js +1 -1
- package/es/views/MainView/toolFooter/Pagination.js.map +1 -1
- package/es/views/MainView/toolFooter/ZoomController/ZoomLevel/index.js +1 -1
- package/es/views/MainView/toolFooter/ZoomController/ZoomLevel/index.js.map +1 -1
- package/es/views/MainView/toolFooter/ZoomController/index.js +1 -1
- package/es/views/MainView/toolFooter/ZoomController/index.js.map +1 -1
- package/es/views/MainView/toolFooter/index.js +1 -1
- package/es/views/MainView/toolFooter/index.js.map +1 -1
- package/es/views/MainView/toolHeader/ExportData/index.js +1 -1
- package/es/views/MainView/toolHeader/ExportData/index.js.map +1 -1
- package/es/views/MainView/toolHeader/StepSwitch/index.js +1 -1
- package/es/views/MainView/toolHeader/StepSwitch/index.js.map +1 -1
- package/es/views/MainView/toolHeader/headerOption/index.js +1 -1
- package/es/views/MainView/toolHeader/headerOption/index.js.map +1 -1
- package/es/views/MainView/toolHeader/index.js +1 -1
- package/es/views/MainView/toolHeader/index.js.map +1 -1
- package/package.json +9 -8
- package/dist/index.css.map +0 -1
package/dist/index.css
CHANGED
|
@@ -12,8 +12,10 @@
|
|
|
12
12
|
line-height: inherit;
|
|
13
13
|
max-height: 60px;
|
|
14
14
|
}
|
|
15
|
+
.bee-layout__container {
|
|
16
|
+
flex-direction: row;
|
|
17
|
+
}
|
|
15
18
|
.bee-layout__side {
|
|
16
|
-
max-width: 440px;
|
|
17
19
|
background: transparent;
|
|
18
20
|
overflow: hidden;
|
|
19
21
|
position: relative;
|
|
@@ -24,8 +26,10 @@
|
|
|
24
26
|
border-bottom: 1px solid #eee;
|
|
25
27
|
}
|
|
26
28
|
.bee-layout__content {
|
|
29
|
+
position: relative;
|
|
27
30
|
display: flex;
|
|
28
31
|
flex-direction: column;
|
|
32
|
+
flex: 1;
|
|
29
33
|
}
|
|
30
34
|
|
|
31
35
|
.bee-footer {
|
|
@@ -35,8 +39,8 @@
|
|
|
35
39
|
align-items: center;
|
|
36
40
|
position: relative;
|
|
37
41
|
user-select: none;
|
|
38
|
-
color:
|
|
39
|
-
background:
|
|
42
|
+
color: rgb(255, 255, 255);
|
|
43
|
+
background: rgb(68, 68, 68);
|
|
40
44
|
cursor: default;
|
|
41
45
|
font-size: 14px;
|
|
42
46
|
overflow: hidden;
|
|
@@ -73,12 +77,8 @@
|
|
|
73
77
|
padding: 4px;
|
|
74
78
|
border: 1px solid #cccccc;
|
|
75
79
|
}
|
|
76
|
-
.bee-footer__hotkey-content {
|
|
77
|
-
max-height: 70vh;
|
|
78
|
-
overflow-y: auto;
|
|
79
|
-
}
|
|
80
80
|
|
|
81
|
-
.
|
|
81
|
+
.bee-page-input {
|
|
82
82
|
margin: 0 5px;
|
|
83
83
|
width: 50px;
|
|
84
84
|
height: 24px;
|
|
@@ -86,22 +86,22 @@
|
|
|
86
86
|
border-bottom: 1px solid #cccccc;
|
|
87
87
|
background: transparent;
|
|
88
88
|
text-align: center;
|
|
89
|
-
color:
|
|
89
|
+
color: rgb(255, 255, 255);
|
|
90
90
|
height: 24px;
|
|
91
91
|
text-align: center;
|
|
92
92
|
padding: 0 6px;
|
|
93
93
|
}
|
|
94
|
-
.
|
|
94
|
+
.bee-page-input:focus {
|
|
95
95
|
box-shadow: none;
|
|
96
96
|
outline: none;
|
|
97
97
|
border-color: #cccccc;
|
|
98
98
|
}
|
|
99
|
-
.
|
|
99
|
+
.bee-page-input:hover {
|
|
100
100
|
border-color: #cccccc;
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
.bee-header__title {
|
|
104
|
-
color:
|
|
104
|
+
color: rgb(153, 153, 153);
|
|
105
105
|
display: flex;
|
|
106
106
|
align-items: center;
|
|
107
107
|
justify-content: flex-start;
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
width: 100%;
|
|
112
112
|
padding: 0 30px;
|
|
113
113
|
background: #ffffff;
|
|
114
|
-
border-bottom: 1px solid
|
|
114
|
+
border-bottom: 1px solid rgb(223, 223, 223);
|
|
115
115
|
box-shadow: 0px 2px 14px rgba(204, 204, 204, 0.5);
|
|
116
116
|
}
|
|
117
117
|
.bee-header__icon {
|
|
@@ -187,7 +187,7 @@
|
|
|
187
187
|
|
|
188
188
|
.bee-sidebar {
|
|
189
189
|
height: 100%;
|
|
190
|
-
width:
|
|
190
|
+
width: 100%;
|
|
191
191
|
box-shadow: 0px 2px 14px 0px rgba(204, 204, 204, 0.5);
|
|
192
192
|
background: #ffffff;
|
|
193
193
|
overflow: hidden;
|
|
@@ -209,7 +209,7 @@
|
|
|
209
209
|
margin: 0 6px;
|
|
210
210
|
}
|
|
211
211
|
.bee-sidebar__content .panel .imgAttributeController .tools .singleTool {
|
|
212
|
-
color:
|
|
212
|
+
color: rgb(153, 153, 153);
|
|
213
213
|
cursor: pointer;
|
|
214
214
|
display: flex;
|
|
215
215
|
align-items: center;
|
|
@@ -235,13 +235,23 @@
|
|
|
235
235
|
border-color: #666fff;
|
|
236
236
|
}
|
|
237
237
|
.bee-sidebar__level {
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
.bee-sidebar__toolsOption {
|
|
238
|
+
padding: 28px;
|
|
239
|
+
border-bottom: 1px solid #eee;
|
|
241
240
|
display: flex;
|
|
242
241
|
justify-content: center;
|
|
242
|
+
}
|
|
243
|
+
.bee-sidebar__toolOption {
|
|
244
|
+
display: inline-flex;
|
|
245
|
+
flex-direction: column;
|
|
246
|
+
align-items: center;
|
|
247
|
+
color: #999;
|
|
243
248
|
cursor: pointer;
|
|
244
|
-
|
|
249
|
+
}
|
|
250
|
+
.bee-sidebar__toolOption__selected {
|
|
251
|
+
color: #666fff;
|
|
252
|
+
}
|
|
253
|
+
.bee-sidebar__toolOption + .bee-sidebar__toolOption {
|
|
254
|
+
margin-left: 16px;
|
|
245
255
|
}
|
|
246
256
|
.bee-sidebar__singleTool {
|
|
247
257
|
max-width: 20px;
|
|
@@ -294,7 +304,7 @@
|
|
|
294
304
|
.bee-sidebar .sensebee-radio-group-no-limit-height .ant-radio-group .ant-radio-wrapper .sensebee-radio-num {
|
|
295
305
|
width: 20px;
|
|
296
306
|
height: 20px;
|
|
297
|
-
border: 1px solid
|
|
307
|
+
border: 1px solid rgb(204, 204, 204);
|
|
298
308
|
opacity: 1;
|
|
299
309
|
border-radius: 2px;
|
|
300
310
|
text-align: center;
|
|
@@ -333,7 +343,7 @@
|
|
|
333
343
|
.bee-sidebar #style-color .ant-slider .ant-slider-handle,
|
|
334
344
|
.bee-sidebar #style-fillOpacity .ant-slider .ant-slider-handle,
|
|
335
345
|
.bee-sidebar #style-borderOpacity .ant-slider .ant-slider-handle {
|
|
336
|
-
background-image: url("
|
|
346
|
+
background-image: url("../dist/assets/icons/cc550fff.svg");
|
|
337
347
|
background-repeat: no-repeat;
|
|
338
348
|
background-size: 30px 30px;
|
|
339
349
|
width: 40px;
|
|
@@ -454,11 +464,36 @@
|
|
|
454
464
|
background: #f5f5f5;
|
|
455
465
|
}
|
|
456
466
|
.bee-sidebar #style-color .ant-slider-rail {
|
|
457
|
-
background: linear-gradient(to right,
|
|
467
|
+
background: linear-gradient(to right, rgb(0, 0, 255) 0%, rgb(0, 0, 255) 20%, rgb(0, 255, 255) 20%, rgb(0, 255, 255) 40%, rgb(0, 255, 0) 40%, rgb(0, 255, 0) 60%, rgb(255, 255, 0) 60%, rgb(255, 255, 0) 80%, rgb(255, 0, 255) 80%, rgb(255, 0, 255) 100%);
|
|
458
468
|
}
|
|
459
469
|
.bee-sidebar #style-fillOpacity .ant-slider-rail,
|
|
460
470
|
.bee-sidebar #style-borderOpacity .ant-slider-rail {
|
|
461
|
-
background: linear-gradient(to right, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 20%, rgba(0, 0, 0, 0.4) 20%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0.6) 40%, rgba(0, 0, 0, 0.6) 60%, rgba(0, 0, 0, 0.8) 60%, rgba(0, 0, 0, 0.8) 80%,
|
|
471
|
+
background: linear-gradient(to right, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 20%, rgba(0, 0, 0, 0.4) 20%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0.6) 40%, rgba(0, 0, 0, 0.6) 60%, rgba(0, 0, 0, 0.8) 60%, rgba(0, 0, 0, 0.8) 80%, rgb(0, 0, 0) 80%, rgb(0, 0, 0) 100%);
|
|
472
|
+
}
|
|
473
|
+
.bee-sidebar .bee-scribble {
|
|
474
|
+
padding: 20px;
|
|
475
|
+
width: 100%;
|
|
476
|
+
}
|
|
477
|
+
.bee-sidebar .bee-scribble__select {
|
|
478
|
+
display: flex;
|
|
479
|
+
justify-content: center;
|
|
480
|
+
cursor: pointer;
|
|
481
|
+
}
|
|
482
|
+
.bee-sidebar .bee-scribble__select img {
|
|
483
|
+
width: 12px;
|
|
484
|
+
margin: 0px 10px;
|
|
485
|
+
}
|
|
486
|
+
.bee-sidebar .bee-scribble__silder {
|
|
487
|
+
display: flex;
|
|
488
|
+
align-items: center;
|
|
489
|
+
justify-content: center;
|
|
490
|
+
}
|
|
491
|
+
.bee-sidebar .bee-scribble__circle {
|
|
492
|
+
display: block;
|
|
493
|
+
width: 5px;
|
|
494
|
+
height: 5px;
|
|
495
|
+
background: #d9d9d9;
|
|
496
|
+
border-radius: 50%;
|
|
462
497
|
}
|
|
463
498
|
|
|
464
499
|
.bee-tips {
|
|
@@ -471,10 +506,15 @@
|
|
|
471
506
|
height: 40px;
|
|
472
507
|
padding: 0 30px;
|
|
473
508
|
width: 100%;
|
|
509
|
+
overflow: hidden;
|
|
510
|
+
white-space: nowrap;
|
|
511
|
+
}
|
|
512
|
+
.bee-tips .bee-tips__path {
|
|
513
|
+
max-width: 40%;
|
|
514
|
+
margin-left: 20px;
|
|
474
515
|
text-overflow: ellipsis;
|
|
475
516
|
overflow: hidden;
|
|
476
517
|
white-space: nowrap;
|
|
477
|
-
cursor: text;
|
|
478
518
|
}
|
|
479
519
|
|
|
480
520
|
.annotationOperation {
|
|
@@ -507,7 +547,7 @@
|
|
|
507
547
|
line-height: 20px;
|
|
508
548
|
opacity: 1;
|
|
509
549
|
font-size: 12px;
|
|
510
|
-
color:
|
|
550
|
+
color: rgb(204, 204, 204);
|
|
511
551
|
display: flex;
|
|
512
552
|
padding: 0 10px 5px;
|
|
513
553
|
}
|
|
@@ -541,7 +581,7 @@
|
|
|
541
581
|
line-height: 20px;
|
|
542
582
|
opacity: 1;
|
|
543
583
|
font-size: 12px;
|
|
544
|
-
color:
|
|
584
|
+
color: rgb(204, 204, 204);
|
|
545
585
|
}
|
|
546
586
|
.textInputContainer .textareaContainer .inputCount .warning {
|
|
547
587
|
color: #ff0000;
|
|
@@ -554,7 +594,7 @@
|
|
|
554
594
|
}
|
|
555
595
|
.textInputContainer .textareaContainer .notify {
|
|
556
596
|
font-size: 12px;
|
|
557
|
-
color:
|
|
597
|
+
color: rgb(204, 204, 204);
|
|
558
598
|
}
|
|
559
599
|
.textInputContainer .textareaContainer .toolTextAreaBox {
|
|
560
600
|
position: relative;
|
|
@@ -582,17 +622,19 @@
|
|
|
582
622
|
}
|
|
583
623
|
.textInputContainer .notify {
|
|
584
624
|
font-size: 12px;
|
|
585
|
-
color:
|
|
625
|
+
color: rgb(204, 204, 204);
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
.ant-popover.tool-hotkeys-popover .ant-popover-inner-content {
|
|
629
|
+
max-height: 70vh;
|
|
630
|
+
overflow-y: scroll;
|
|
631
|
+
padding: 0;
|
|
586
632
|
}
|
|
587
633
|
|
|
588
634
|
.tipsBar {
|
|
589
635
|
display: flex;
|
|
590
636
|
height: 100%;
|
|
591
637
|
}
|
|
592
|
-
.tipsBar :global .ant-popover.tool-hotkeys-popover .ant-popover-inner-content {
|
|
593
|
-
max-height: 474px;
|
|
594
|
-
overflow-y: auto;
|
|
595
|
-
}
|
|
596
638
|
.tipsBar .hotKeyIconGray,
|
|
597
639
|
.tipsBar .helpIconGray {
|
|
598
640
|
width: 15px;
|
|
@@ -685,7 +727,7 @@
|
|
|
685
727
|
width: 20px;
|
|
686
728
|
height: 20px;
|
|
687
729
|
border-radius: 2px;
|
|
688
|
-
border: 1px solid
|
|
730
|
+
border: 1px solid rgb(204, 204, 204);
|
|
689
731
|
}
|
|
690
732
|
.tagOperationMenu .keyDownIconActive {
|
|
691
733
|
display: inline-block;
|
|
@@ -694,7 +736,7 @@
|
|
|
694
736
|
width: 20px;
|
|
695
737
|
height: 20px;
|
|
696
738
|
border-radius: 2px;
|
|
697
|
-
border: 1px solid
|
|
739
|
+
border: 1px solid rgb(204, 204, 204);
|
|
698
740
|
background: #6371ff;
|
|
699
741
|
color: white;
|
|
700
742
|
}
|
|
@@ -763,7 +805,7 @@
|
|
|
763
805
|
.sensebee-checkbox-group .ant-checkbox-group .ant-checkbox-wrapper .sensebee-checkbox-num {
|
|
764
806
|
width: 20px;
|
|
765
807
|
height: 20px;
|
|
766
|
-
border: 1px solid
|
|
808
|
+
border: 1px solid rgb(204, 204, 204);
|
|
767
809
|
opacity: 1;
|
|
768
810
|
border-radius: 2px;
|
|
769
811
|
text-align: center;
|
|
@@ -782,7 +824,7 @@
|
|
|
782
824
|
::-webkit-scrollbar-thumb {
|
|
783
825
|
width: 8px;
|
|
784
826
|
height: 8px;
|
|
785
|
-
background:
|
|
827
|
+
background: rgb(204, 204, 204);
|
|
786
828
|
opacity: 1;
|
|
787
829
|
border-radius: 10px;
|
|
788
830
|
}
|
|
@@ -851,7 +893,7 @@
|
|
|
851
893
|
font-weight: 400;
|
|
852
894
|
opacity: 1;
|
|
853
895
|
font-size: 12px;
|
|
854
|
-
color:
|
|
896
|
+
color: rgb(204, 204, 204);
|
|
855
897
|
display: flex;
|
|
856
898
|
padding: 0 10px;
|
|
857
899
|
}
|
|
@@ -898,14 +940,14 @@
|
|
|
898
940
|
line-height: 20px;
|
|
899
941
|
opacity: 1;
|
|
900
942
|
font-size: 12px;
|
|
901
|
-
color:
|
|
943
|
+
color: rgb(204, 204, 204);
|
|
902
944
|
}
|
|
903
945
|
.textareaContainer .inputCount .warning {
|
|
904
946
|
color: #ff0000;
|
|
905
947
|
}
|
|
906
948
|
.textareaContainer .notify {
|
|
907
949
|
font-size: 12px;
|
|
908
|
-
color:
|
|
950
|
+
color: rgb(204, 204, 204);
|
|
909
951
|
}
|
|
910
952
|
|
|
911
953
|
.clearText {
|
|
@@ -916,11 +958,11 @@
|
|
|
916
958
|
vertical-align: text-top;
|
|
917
959
|
background-repeat: no-repeat;
|
|
918
960
|
background-position: center;
|
|
919
|
-
background-image: url("
|
|
961
|
+
background-image: url("../dist/assets/icons/25541b4d.svg");
|
|
920
962
|
cursor: pointer;
|
|
921
963
|
}
|
|
922
964
|
.clearText:not(.disabled):hover {
|
|
923
|
-
background-image: url("
|
|
965
|
+
background-image: url("../dist/assets/icons/dc9b6bfc.svg");
|
|
924
966
|
}
|
|
925
967
|
.clearText.disabled {
|
|
926
968
|
cursor: not-allowed;
|
|
@@ -935,7 +977,7 @@
|
|
|
935
977
|
}
|
|
936
978
|
.switchItem .notify {
|
|
937
979
|
font-size: 12px;
|
|
938
|
-
color:
|
|
980
|
+
color: rgb(204, 204, 204);
|
|
939
981
|
}
|
|
940
982
|
|
|
941
983
|
.textarea-outline {
|
|
@@ -1050,7 +1092,7 @@
|
|
|
1050
1092
|
height: 100%;
|
|
1051
1093
|
}
|
|
1052
1094
|
.bee-video-progress .bee-video-slider__loaded {
|
|
1053
|
-
background-color:
|
|
1095
|
+
background-color: rgb(115, 133, 159);
|
|
1054
1096
|
}
|
|
1055
1097
|
.bee-video-progress .bee-video-slider__played {
|
|
1056
1098
|
background-color: #fff;
|
|
@@ -1130,5 +1172,233 @@
|
|
|
1130
1172
|
}
|
|
1131
1173
|
|
|
1132
1174
|
/** VideoPlayer样式 end */
|
|
1175
|
+
/** PointCloud样式 start */
|
|
1176
|
+
.bee-point-cloud-footer {
|
|
1177
|
+
height: 40px;
|
|
1178
|
+
}
|
|
1179
|
+
|
|
1180
|
+
.bee-point-cloud-layout {
|
|
1181
|
+
display: flex;
|
|
1182
|
+
flex-direction: column;
|
|
1183
|
+
overflow: hidden;
|
|
1184
|
+
flex: 1;
|
|
1185
|
+
}
|
|
1186
|
+
|
|
1187
|
+
.bee-point-cloud-wrapper {
|
|
1188
|
+
display: flex;
|
|
1189
|
+
height: 100%;
|
|
1190
|
+
width: 100;
|
|
1191
|
+
overflow: hidden;
|
|
1192
|
+
flex: 1;
|
|
1193
|
+
}
|
|
1194
|
+
.bee-point-cloud-wrapper .bee-point-cloud-container {
|
|
1195
|
+
position: relative;
|
|
1196
|
+
}
|
|
1197
|
+
.bee-point-cloud-wrapper .bee-point-cloud-container__header {
|
|
1198
|
+
background-color: #444;
|
|
1199
|
+
color: white;
|
|
1200
|
+
height: 40px;
|
|
1201
|
+
padding: 0 16px;
|
|
1202
|
+
line-height: 40px;
|
|
1203
|
+
display: flex;
|
|
1204
|
+
justify-content: space-between;
|
|
1205
|
+
}
|
|
1206
|
+
.bee-point-cloud-wrapper .bee-point-cloud-container__header-title {
|
|
1207
|
+
flex: 1;
|
|
1208
|
+
overflow: hidden;
|
|
1209
|
+
text-overflow: ellipsis;
|
|
1210
|
+
font-weight: 700;
|
|
1211
|
+
}
|
|
1212
|
+
.bee-point-cloud-wrapper .bee-point-cloud-container__header-toolbar {
|
|
1213
|
+
display: flex;
|
|
1214
|
+
align-items: center;
|
|
1215
|
+
font-size: 12px;
|
|
1216
|
+
}
|
|
1217
|
+
.bee-point-cloud-wrapper .bee-point-cloud-container__header-toolbar .bee-point-cloud__rotate-reserve {
|
|
1218
|
+
display: inline-block;
|
|
1219
|
+
height: 24px;
|
|
1220
|
+
width: 24px;
|
|
1221
|
+
background-repeat: no-repeat;
|
|
1222
|
+
cursor: pointer;
|
|
1223
|
+
margin-right: 16px;
|
|
1224
|
+
background-image: url("../dist/assets/icons/7eadb9c4.svg");
|
|
1225
|
+
transform: rotateY(180deg);
|
|
1226
|
+
}
|
|
1227
|
+
.bee-point-cloud-wrapper .bee-point-cloud-container__header-toolbar .bee-point-cloud__rotate {
|
|
1228
|
+
display: inline-block;
|
|
1229
|
+
height: 24px;
|
|
1230
|
+
width: 24px;
|
|
1231
|
+
background-repeat: no-repeat;
|
|
1232
|
+
cursor: pointer;
|
|
1233
|
+
margin-right: 16px;
|
|
1234
|
+
background-image: url("../dist/assets/icons/7eadb9c4.svg");
|
|
1235
|
+
}
|
|
1236
|
+
.bee-point-cloud-wrapper .bee-point-cloud-container__header-toolbar .bee-point-cloud__rotate-180 {
|
|
1237
|
+
display: inline-block;
|
|
1238
|
+
height: 24px;
|
|
1239
|
+
width: 24px;
|
|
1240
|
+
background-repeat: no-repeat;
|
|
1241
|
+
cursor: pointer;
|
|
1242
|
+
background-image: url("../dist/assets/icons/9d70807.svg");
|
|
1243
|
+
}
|
|
1244
|
+
.bee-point-cloud-wrapper .bee-point-cloud-container__header-toolbar .bee-point-cloud__next {
|
|
1245
|
+
font-size: 24px;
|
|
1246
|
+
cursor: pointer;
|
|
1247
|
+
}
|
|
1248
|
+
.bee-point-cloud-wrapper .bee-point-cloud-container__header-toolbar .bee-point-cloud__prev {
|
|
1249
|
+
font-size: 24px;
|
|
1250
|
+
cursor: pointer;
|
|
1251
|
+
margin-right: 16px;
|
|
1252
|
+
}
|
|
1253
|
+
.bee-point-cloud-wrapper .bee-point-cloud-container__left {
|
|
1254
|
+
width: 40%;
|
|
1255
|
+
display: flex;
|
|
1256
|
+
flex-direction: column;
|
|
1257
|
+
border-right: 1px solid #fff;
|
|
1258
|
+
height: 100%;
|
|
1259
|
+
overflow: hidden;
|
|
1260
|
+
}
|
|
1261
|
+
.bee-point-cloud-wrapper .bee-point-cloud-container__left .bee-point-cloud-2d-container {
|
|
1262
|
+
flex: 1;
|
|
1263
|
+
flex-direction: column;
|
|
1264
|
+
display: flex;
|
|
1265
|
+
overflow: hidden;
|
|
1266
|
+
}
|
|
1267
|
+
.bee-point-cloud-wrapper .bee-point-cloud-container__left .bee-point-cloud-2d-container .bee-point-cloud-2d-image {
|
|
1268
|
+
flex: 1;
|
|
1269
|
+
background-color: #4c4c4c;
|
|
1270
|
+
}
|
|
1271
|
+
.bee-point-cloud-wrapper .bee-point-cloud-container__left .bee-point-cloud-3d-container {
|
|
1272
|
+
display: flex;
|
|
1273
|
+
flex-direction: column;
|
|
1274
|
+
overflow: hidden;
|
|
1275
|
+
min-height: 400px;
|
|
1276
|
+
}
|
|
1277
|
+
.bee-point-cloud-wrapper .bee-point-cloud-container__left .bee-point-cloud-3d-container .bee-point-cloud-3d-content {
|
|
1278
|
+
display: flex;
|
|
1279
|
+
flex: 1;
|
|
1280
|
+
overflow: hidden;
|
|
1281
|
+
}
|
|
1282
|
+
.bee-point-cloud-wrapper .bee-point-cloud-container__left .bee-point-cloud-3d-container .bee-point-cloud-3d-content .bee-point-cloud-3d-sidebar {
|
|
1283
|
+
padding-left: 16px;
|
|
1284
|
+
height: 100%;
|
|
1285
|
+
background-color: #4c4c4c;
|
|
1286
|
+
width: 36px;
|
|
1287
|
+
box-sizing: content-box;
|
|
1288
|
+
display: flex;
|
|
1289
|
+
flex-direction: column;
|
|
1290
|
+
justify-content: flex-end;
|
|
1291
|
+
}
|
|
1292
|
+
.bee-point-cloud-wrapper .bee-point-cloud-container__left .bee-point-cloud-3d-container .bee-point-cloud-3d-content .bee-point-cloud-3d-sidebar .bee-point-cloud-3d-view__reset {
|
|
1293
|
+
display: inline-block;
|
|
1294
|
+
height: 36px;
|
|
1295
|
+
width: 36px;
|
|
1296
|
+
background-repeat: no-repeat;
|
|
1297
|
+
cursor: pointer;
|
|
1298
|
+
background-image: url("../dist/assets/icons/25ef334b.svg");
|
|
1299
|
+
margin: 16px 0;
|
|
1300
|
+
font-size: 36px;
|
|
1301
|
+
background-position: center;
|
|
1302
|
+
background-color: #444;
|
|
1303
|
+
border-radius: 4px;
|
|
1304
|
+
}
|
|
1305
|
+
.bee-point-cloud-wrapper .bee-point-cloud-container__left .bee-point-cloud-3d-container .bee-point-cloud-3d-content .bee-point-cloud-3d-sidebar .bee-point-cloud-3d-view__top, .bee-point-cloud-wrapper .bee-point-cloud-container__left .bee-point-cloud-3d-container .bee-point-cloud-3d-content .bee-point-cloud-3d-sidebar .bee-point-cloud-3d-view__front, .bee-point-cloud-wrapper .bee-point-cloud-container__left .bee-point-cloud-3d-container .bee-point-cloud-3d-content .bee-point-cloud-3d-sidebar .bee-point-cloud-3d-view__left, .bee-point-cloud-wrapper .bee-point-cloud-container__left .bee-point-cloud-3d-container .bee-point-cloud-3d-content .bee-point-cloud-3d-sidebar .bee-point-cloud-3d-view__right, .bee-point-cloud-wrapper .bee-point-cloud-container__left .bee-point-cloud-3d-container .bee-point-cloud-3d-content .bee-point-cloud-3d-sidebar .bee-point-cloud-3d-view__back, .bee-point-cloud-wrapper .bee-point-cloud-container__left .bee-point-cloud-3d-container .bee-point-cloud-3d-content .bee-point-cloud-3d-sidebar .bee-point-cloud-3d-view__bottom, .bee-point-cloud-wrapper .bee-point-cloud-container__left .bee-point-cloud-3d-container .bee-point-cloud-3d-content .bee-point-cloud-3d-sidebar .bee-point-cloud-3d-view__lft, .bee-point-cloud-wrapper .bee-point-cloud-container__left .bee-point-cloud-3d-container .bee-point-cloud-3d-content .bee-point-cloud-3d-sidebar .bee-point-cloud-3d-view__rbt {
|
|
1306
|
+
display: inline-block;
|
|
1307
|
+
height: 36px;
|
|
1308
|
+
width: 36px;
|
|
1309
|
+
background-repeat: no-repeat;
|
|
1310
|
+
cursor: pointer;
|
|
1311
|
+
background-image: url("../dist/assets/icons/c5b4262e.png");
|
|
1312
|
+
margin-bottom: 8px;
|
|
1313
|
+
}
|
|
1314
|
+
.bee-point-cloud-wrapper .bee-point-cloud-container__left .bee-point-cloud-3d-container .bee-point-cloud-3d-content .bee-point-cloud-3d-sidebar .bee-point-cloud-3d-view__top.active, .bee-point-cloud-wrapper .bee-point-cloud-container__left .bee-point-cloud-3d-container .bee-point-cloud-3d-content .bee-point-cloud-3d-sidebar .bee-point-cloud-3d-view__front.active, .bee-point-cloud-wrapper .bee-point-cloud-container__left .bee-point-cloud-3d-container .bee-point-cloud-3d-content .bee-point-cloud-3d-sidebar .bee-point-cloud-3d-view__left.active, .bee-point-cloud-wrapper .bee-point-cloud-container__left .bee-point-cloud-3d-container .bee-point-cloud-3d-content .bee-point-cloud-3d-sidebar .bee-point-cloud-3d-view__right.active, .bee-point-cloud-wrapper .bee-point-cloud-container__left .bee-point-cloud-3d-container .bee-point-cloud-3d-content .bee-point-cloud-3d-sidebar .bee-point-cloud-3d-view__back.active, .bee-point-cloud-wrapper .bee-point-cloud-container__left .bee-point-cloud-3d-container .bee-point-cloud-3d-content .bee-point-cloud-3d-sidebar .bee-point-cloud-3d-view__bottom.active, .bee-point-cloud-wrapper .bee-point-cloud-container__left .bee-point-cloud-3d-container .bee-point-cloud-3d-content .bee-point-cloud-3d-sidebar .bee-point-cloud-3d-view__lft.active, .bee-point-cloud-wrapper .bee-point-cloud-container__left .bee-point-cloud-3d-container .bee-point-cloud-3d-content .bee-point-cloud-3d-sidebar .bee-point-cloud-3d-view__rbt.active {
|
|
1315
|
+
background-image: url("../dist/assets/icons/e4f0b7fe.png");
|
|
1316
|
+
}
|
|
1317
|
+
.bee-point-cloud-wrapper .bee-point-cloud-container__left .bee-point-cloud-3d-container .bee-point-cloud-3d-content .bee-point-cloud-3d-sidebar .bee-point-cloud-3d-view__top {
|
|
1318
|
+
background-position: 0 0;
|
|
1319
|
+
}
|
|
1320
|
+
.bee-point-cloud-wrapper .bee-point-cloud-container__left .bee-point-cloud-3d-container .bee-point-cloud-3d-content .bee-point-cloud-3d-sidebar .bee-point-cloud-3d-view__front {
|
|
1321
|
+
background-position-y: -44px;
|
|
1322
|
+
}
|
|
1323
|
+
.bee-point-cloud-wrapper .bee-point-cloud-container__left .bee-point-cloud-3d-container .bee-point-cloud-3d-content .bee-point-cloud-3d-sidebar .bee-point-cloud-3d-view__left {
|
|
1324
|
+
background-position-y: -88px;
|
|
1325
|
+
}
|
|
1326
|
+
.bee-point-cloud-wrapper .bee-point-cloud-container__left .bee-point-cloud-3d-container .bee-point-cloud-3d-content .bee-point-cloud-3d-sidebar .bee-point-cloud-3d-view__back {
|
|
1327
|
+
background-position-y: -132px;
|
|
1328
|
+
}
|
|
1329
|
+
.bee-point-cloud-wrapper .bee-point-cloud-container__left .bee-point-cloud-3d-container .bee-point-cloud-3d-content .bee-point-cloud-3d-sidebar .bee-point-cloud-3d-view__right {
|
|
1330
|
+
background-position-y: -176px;
|
|
1331
|
+
}
|
|
1332
|
+
.bee-point-cloud-wrapper .bee-point-cloud-container__left .bee-point-cloud-3d-container .bee-point-cloud-3d-content .bee-point-cloud-3d-sidebar .bee-point-cloud-3d-view__bottom {
|
|
1333
|
+
background-position-y: -220px;
|
|
1334
|
+
}
|
|
1335
|
+
.bee-point-cloud-wrapper .bee-point-cloud-container__left .bee-point-cloud-3d-container .bee-point-cloud-3d-content .bee-point-cloud-3d-sidebar .bee-point-cloud-3d-view__lft {
|
|
1336
|
+
background-position-y: -264px;
|
|
1337
|
+
}
|
|
1338
|
+
.bee-point-cloud-wrapper .bee-point-cloud-container__left .bee-point-cloud-3d-container .bee-point-cloud-3d-content .bee-point-cloud-3d-sidebar .bee-point-cloud-3d-view__rbt {
|
|
1339
|
+
background-position-y: -308px;
|
|
1340
|
+
margin-bottom: 0px;
|
|
1341
|
+
}
|
|
1342
|
+
.bee-point-cloud-wrapper .bee-point-cloud-container__left .bee-point-cloud-3d-container .bee-point-cloud-3d-content .bee-point-cloud-3d-view {
|
|
1343
|
+
flex: 1;
|
|
1344
|
+
overflow: hidden;
|
|
1345
|
+
}
|
|
1346
|
+
.bee-point-cloud-wrapper .bee-point-cloud-container__right {
|
|
1347
|
+
flex: 1;
|
|
1348
|
+
display: flex;
|
|
1349
|
+
flex-direction: column;
|
|
1350
|
+
}
|
|
1351
|
+
.bee-point-cloud-wrapper .bee-point-cloud-container__right .bee-point-cloud-container__top-view {
|
|
1352
|
+
height: 62.5%;
|
|
1353
|
+
border-bottom: 1px solid #fff;
|
|
1354
|
+
overflow: hidden;
|
|
1355
|
+
display: flex;
|
|
1356
|
+
flex-direction: column;
|
|
1357
|
+
}
|
|
1358
|
+
.bee-point-cloud-wrapper .bee-point-cloud-container__right .bee-point-cloud-container__right-bottom {
|
|
1359
|
+
flex: 1;
|
|
1360
|
+
display: flex;
|
|
1361
|
+
overflow: hidden;
|
|
1362
|
+
}
|
|
1363
|
+
.bee-point-cloud-wrapper .bee-point-cloud-container__right .bee-point-cloud-container__right-bottom .bee-point-cloud-container__empty-page {
|
|
1364
|
+
position: absolute;
|
|
1365
|
+
left: 0;
|
|
1366
|
+
top: 40px;
|
|
1367
|
+
flex: 1;
|
|
1368
|
+
background: black;
|
|
1369
|
+
color: #666666;
|
|
1370
|
+
display: flex;
|
|
1371
|
+
justify-content: center;
|
|
1372
|
+
align-items: center;
|
|
1373
|
+
flex-direction: column;
|
|
1374
|
+
font-size: 16px;
|
|
1375
|
+
z-index: 20;
|
|
1376
|
+
height: calc(100% - 40px);
|
|
1377
|
+
width: 100%;
|
|
1378
|
+
}
|
|
1379
|
+
.bee-point-cloud-wrapper .bee-point-cloud-container__right .bee-point-cloud-container__right-bottom .bee-point-cloud-container__empty-page .bee-point-cloud-container__empty-page__text {
|
|
1380
|
+
margin-top: 13px;
|
|
1381
|
+
}
|
|
1382
|
+
.bee-point-cloud-wrapper .bee-point-cloud-container__right .bee-point-cloud-container__right-bottom .bee-point-cloud-container__side-view {
|
|
1383
|
+
border-right: 1px solid white;
|
|
1384
|
+
}
|
|
1385
|
+
.bee-point-cloud-wrapper .bee-point-cloud-container__right .bee-point-cloud-container__right-bottom .bee-point-cloud-container__side-view,
|
|
1386
|
+
.bee-point-cloud-wrapper .bee-point-cloud-container__right .bee-point-cloud-container__right-bottom .bee-point-cloud-container__back-view {
|
|
1387
|
+
position: relative;
|
|
1388
|
+
flex: 1;
|
|
1389
|
+
display: flex;
|
|
1390
|
+
background: black;
|
|
1391
|
+
flex-direction: column;
|
|
1392
|
+
}
|
|
1393
|
+
.bee-point-cloud-wrapper .bee-point-cloud-container__right .bee-point-cloud-container__right-bottom .bee-point-cloud-container__side-view .bee-point-cloud-container__bottom-view-content,
|
|
1394
|
+
.bee-point-cloud-wrapper .bee-point-cloud-container__right .bee-point-cloud-container__right-bottom .bee-point-cloud-container__back-view .bee-point-cloud-container__bottom-view-content {
|
|
1395
|
+
flex: 1;
|
|
1396
|
+
}
|
|
1397
|
+
.bee-point-cloud-wrapper .bee-point-cloud-container__right .bee-point-cloud-container__right-bottom .bee-point-cloud-container__side-view .bee-point-cloud-container__bottom-view-content .bee-point-cloud-container__core-instance,
|
|
1398
|
+
.bee-point-cloud-wrapper .bee-point-cloud-container__right .bee-point-cloud-container__right-bottom .bee-point-cloud-container__back-view .bee-point-cloud-container__bottom-view-content .bee-point-cloud-container__core-instance {
|
|
1399
|
+
position: relative;
|
|
1400
|
+
width: 100%;
|
|
1401
|
+
height: 100%;
|
|
1402
|
+
}
|
|
1133
1403
|
|
|
1134
|
-
|
|
1404
|
+
/** PointCloud样式 end */
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var index$1=require("./components/AnnotationView/index.js"),lbUtils=require("@labelbee/lb-utils"),React=require("react"),reactI18next=require("react-i18next"),reactRedux=require("react-redux"),App=require("./App.js"),configureStore=require("./configureStore.js"),actionCreators=require("./store/annotation/actionCreators.js"),TagToolInstanceAdaptorI18nProvider=require("./components/videoPlayer/TagToolInstanceAdaptorI18nProvider.js");function _interopDefaultLegacy(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var React__default=_interopDefaultLegacy(React),__defProp=Object.defineProperty,__defProps=Object.defineProperties,__getOwnPropDescs=Object.getOwnPropertyDescriptors,__getOwnPropSymbols=Object.getOwnPropertySymbols,__hasOwnProp=Object.prototype.hasOwnProperty,__propIsEnum=Object.prototype.propertyIsEnumerable,__defNormalProp=(e,r
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var index$1=require("./components/AnnotationView/index.js"),pointCloudAnnotationView=require("./components/AnnotationView/pointCloudAnnotationView.js"),lbUtils=require("@labelbee/lb-utils"),React=require("react"),reactI18next=require("react-i18next"),reactRedux=require("react-redux"),App=require("./App.js"),configureStore=require("./configureStore.js"),actionCreators=require("./store/annotation/actionCreators.js"),TagToolInstanceAdaptorI18nProvider=require("./components/videoPlayer/TagToolInstanceAdaptorI18nProvider.js"),PointCloudContext=require("./components/pointCloudView/PointCloudContext.js"),ctx=require("./store/ctx.js");function _interopDefaultLegacy(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var React__default=_interopDefaultLegacy(React),__defProp=Object.defineProperty,__defProps=Object.defineProperties,__getOwnPropDescs=Object.getOwnPropertyDescriptors,__getOwnPropSymbols=Object.getOwnPropertySymbols,__hasOwnProp=Object.prototype.hasOwnProperty,__propIsEnum=Object.prototype.propertyIsEnumerable,__defNormalProp=(e,t,r)=>t in e?__defProp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,__spreadValues=(e,t)=>{for(var r in t||(t={}))__hasOwnProp.call(t,r)&&__defNormalProp(e,r,t[r]);if(__getOwnPropSymbols)for(var r of __getOwnPropSymbols(t))__propIsEnum.call(t,r)&&__defNormalProp(e,r,t[r]);return e},__spreadProps=(e,t)=>__defProps(e,__getOwnPropDescs(t));const store=configureStore(),OutputApp=(e,t)=>{const[r,o]=React.useState();return React.useImperativeHandle(t,()=>({toolInstance:r,annotationEngine:store.getState().annotation.annotationEngine,pageBackwardActions:()=>store.dispatch(actionCreators.PageBackward()),pageForwardActions:()=>store.dispatch(actionCreators.PageForward()),pageJump:n=>{const a=~~n-1;store.dispatch(actionCreators.PageJump(a))},hello:()=>alert("hello labelBee!!!")}),[r]),React__default.default.createElement(reactRedux.Provider,{store,context:ctx.LabelBeeContext},React__default.default.createElement(reactI18next.I18nextProvider,{i18n:lbUtils.i18n},React__default.default.createElement(PointCloudContext.PointCloudProvider,null,React__default.default.createElement(App,__spreadProps(__spreadValues({},e),{setToolInstance:o})))))};var index=React__default.default.forwardRef(OutputApp);exports.AnnotationView=index$1,exports.PointCloudAnnotationView=pointCloudAnnotationView,Object.defineProperty(exports,"i18n",{enumerable:!0,get:function(){return lbUtils.i18n}}),exports.VideoTagTool=TagToolInstanceAdaptorI18nProvider.VideoTagTool,exports.default=index,exports.store=store;
|
package/dist/store/Actions.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const ANNOTATION_ACTIONS={UPDATE_TOOL_INSTANCE:"@@UPDATE_TOOL_INSTANCE",UPDATE_IMG_LIST:"@@UPDATE_IMG_LIST",UPDATE_ANNOTATION_CONFIG:"@@UPDATE_ANNOTATION_CONFIG",LOAD_FILE_DATA:"@@LOAD_FILE_DATA",SUBMIT_FILE_DATA:"@@SUBMIT_FILE_DATA",SET_TASK_CONFIG:"@@SET_TASK_CONFIG",INIT_TOOL:"@@INIT_TOOL",SET_TOOL:"@@SET_TOOL",UPDATE_ON_SUBMIT:"@@UPDATE_ON_SUBMIT",UPDATE_ON_SAVE:"@@UPDATE_ON_SAVE",UPDATE_ON_PAGE_CHANGE:"@@UPDATE_ON_PAGE_CHANGE",UPDATE_ON_STEP_CHANGE:"@@UPDATE_ON_STEP_CHANGE",UPDATE_ROTATE:"@@UPDATE_ROTATE",UPDATE_GET_FILE_DATA:"@@UPDATE_GET_FILE_DATA",UPDATE_PAGE_SIZE:"@@UPDATE_PAGE_SIZE",UPDATE_LOAD_FILE_LIST:"@@UPDATE_LOAD_FILE_LIST",GET_FILE_DATA:"@@GET_FILE_DATA",SET_FILE_DATA:"@@SET_FILE_DATA",COPY_BACKWARD_RESULT:"@@COPY_BACKWARD_RESULT",SET_STEP:"@@SET_STEP",SUBMIT_RESULT:"@@SUBMIT_RESULT",SAVE_RESULT:"@@SAVE_RESULT",SET_BASIC_INDEX:"@@SET_BASIC_INDEX",CALC_STEP_PROGRESS:"@@CALC_STEP_PROGRESS",SET_TRIGGER_EVENT_AFTER_INDEX_CHANGED:"@@SET_TRIGGER_EVENT_AFTER_INDEX_CHANGED",SET_LOADING:"@@SET_LOADING"},IMAGE_ATTRIBUTE_ACTIONS={UPDATE_IMG_ATTRIBUTE:"@@UPDATE_IMG_ATTRIBUTE",INIT_IMG_ATTRIBUTE:"@@INIT_IMG_ATTRIBUTE"},TOOL_STYLE_ACTIONS={INIT_TOOL_STYLE_CONFIG:"@@INIT_TOOL_STYLE_CONFIG",UPDATE_TOOL_STYLE_CONFIG:"@@UPDATE_TOOL_STYLE_CONFIG"};exports.ANNOTATION_ACTIONS=ANNOTATION_ACTIONS,exports.IMAGE_ATTRIBUTE_ACTIONS=IMAGE_ATTRIBUTE_ACTIONS,exports.TOOL_STYLE_ACTIONS=TOOL_STYLE_ACTIONS;
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const ANNOTATION_ACTIONS={UPDATE_TOOL_INSTANCE:"@@UPDATE_TOOL_INSTANCE",UPDATE_IMG_LIST:"@@UPDATE_IMG_LIST",UPDATE_ANNOTATION_CONFIG:"@@UPDATE_ANNOTATION_CONFIG",LOAD_FILE_DATA:"@@LOAD_FILE_DATA",SUBMIT_FILE_DATA:"@@SUBMIT_FILE_DATA",SET_TASK_CONFIG:"@@SET_TASK_CONFIG",INIT_TOOL:"@@INIT_TOOL",SET_TOOL:"@@SET_TOOL",UPDATE_ON_SUBMIT:"@@UPDATE_ON_SUBMIT",UPDATE_ON_SAVE:"@@UPDATE_ON_SAVE",UPDATE_ON_PAGE_CHANGE:"@@UPDATE_ON_PAGE_CHANGE",UPDATE_ON_STEP_CHANGE:"@@UPDATE_ON_STEP_CHANGE",UPDATE_ROTATE:"@@UPDATE_ROTATE",UPDATE_GET_FILE_DATA:"@@UPDATE_GET_FILE_DATA",UPDATE_PAGE_SIZE:"@@UPDATE_PAGE_SIZE",UPDATE_LOAD_FILE_LIST:"@@UPDATE_LOAD_FILE_LIST",GET_FILE_DATA:"@@GET_FILE_DATA",SET_FILE_DATA:"@@SET_FILE_DATA",COPY_BACKWARD_RESULT:"@@COPY_BACKWARD_RESULT",SET_STEP:"@@SET_STEP",SUBMIT_RESULT:"@@SUBMIT_RESULT",SAVE_RESULT:"@@SAVE_RESULT",SET_BASIC_INDEX:"@@SET_BASIC_INDEX",CALC_STEP_PROGRESS:"@@CALC_STEP_PROGRESS",SET_TRIGGER_EVENT_AFTER_INDEX_CHANGED:"@@SET_TRIGGER_EVENT_AFTER_INDEX_CHANGED",SKIP_BEFORE_PAGE_TURNING:"@@SKIP_BEFORE_PAGE_TURNING",SET_LOADING:"@@SET_LOADING",SET_POINT_CLOUD_LOADING:"@@SET_POINT_CLOUD_LOADING",SET_TASK_STEP_LIST:"@@SET_TASK_STEP_LIST"},IMAGE_ATTRIBUTE_ACTIONS={UPDATE_IMG_ATTRIBUTE:"@@UPDATE_IMG_ATTRIBUTE",INIT_IMG_ATTRIBUTE:"@@INIT_IMG_ATTRIBUTE"},TOOL_STYLE_ACTIONS={INIT_TOOL_STYLE_CONFIG:"@@INIT_TOOL_STYLE_CONFIG",UPDATE_TOOL_STYLE_CONFIG:"@@UPDATE_TOOL_STYLE_CONFIG"};exports.ANNOTATION_ACTIONS=ANNOTATION_ACTIONS,exports.IMAGE_ATTRIBUTE_ACTIONS=IMAGE_ATTRIBUTE_ACTIONS,exports.TOOL_STYLE_ACTIONS=TOOL_STYLE_ACTIONS;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var Actions=require("../Actions.js"),reducer=require("./reducer.js"),index=require("../../constant/index.js"),AnnotationSize=require("../../data/enums/AnnotationSize.js"),PageOperator=require("../../utils/PageOperator.js"),index$1=require("../../utils/index.js"),__async=(e,t,n)=>new Promise((r,
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var Actions=require("../Actions.js"),reducer=require("./reducer.js"),index=require("../../constant/index.js"),AnnotationSize=require("../../data/enums/AnnotationSize.js"),PageOperator=require("../../utils/PageOperator.js"),index$1=require("../../utils/index.js"),__async=(e,t,n)=>new Promise((r,T)=>{var i=a=>{try{u(n.next(a))}catch(s){T(s)}},o=a=>{try{u(n.throw(a))}catch(s){T(s)}},u=a=>a.done?r(a.value):Promise.resolve(a.value).then(i,o);u((n=n.apply(e,t)).next())});const dispatchTasks=(e,t)=>t.map(n=>e(n)),getSubmitByPageOperation=e=>e===AnnotationSize.EPageTurningOperation.Forward?index.ESubmitType.Forward:e===AnnotationSize.EPageTurningOperation.Backward?index.ESubmitType.Backward:e===AnnotationSize.EPageTurningOperation.Jump?index.ESubmitType.Jump:index.ESubmitType.Forward,getBasicIndex=(e,t)=>{var n,r;const{imgList:T,imgIndex:i}=e,{dataSourceStep:o}=reducer.getStepConfig(e.stepList,e.step);return((r=(n=index$1.jsonParser(T[i-1].result)[`step_${o}`])==null?void 0:n.result)==null?void 0:r.length)-1||t};function UpdateToolInstance(e){return{type:Actions.ANNOTATION_ACTIONS.UPDATE_TOOL_INSTANCE,payload:{toolInstance:e}}}function SetTaskStepList({stepList:e}){return{type:Actions.ANNOTATION_ACTIONS.SET_TASK_STEP_LIST,payload:{stepList:e}}}function SetTaskConfig({stepList:e,step:t}){return{type:Actions.ANNOTATION_ACTIONS.SET_TASK_CONFIG,payload:{stepList:e,step:t}}}function UpdateOnSubmit(e){return{type:Actions.ANNOTATION_ACTIONS.UPDATE_ON_SUBMIT,payload:{onSubmit:e}}}function UpdateOnSave(e){return{type:Actions.ANNOTATION_ACTIONS.UPDATE_ON_SAVE,payload:{onSave:e}}}function UpdateOnPageChange(e){return{type:Actions.ANNOTATION_ACTIONS.UPDATE_ON_PAGE_CHANGE,payload:{onPageChange:e}}}function UpdateOnStepChange(e){return{type:Actions.ANNOTATION_ACTIONS.UPDATE_ON_STEP_CHANGE,payload:{onStepChange:e}}}function UpdateGetFileData(e){return{type:Actions.ANNOTATION_ACTIONS.UPDATE_GET_FILE_DATA,payload:{getFileData:e}}}function UpdatePageSize(e){return{type:Actions.ANNOTATION_ACTIONS.UPDATE_PAGE_SIZE,payload:{pageSize:e}}}function UpdateGetFileList(e){return{type:Actions.ANNOTATION_ACTIONS.UPDATE_LOAD_FILE_LIST,payload:{loadFileList:e}}}function UpdateRotate(){return{type:Actions.ANNOTATION_ACTIONS.UPDATE_ROTATE}}function UpdateSkipBeforePageTurning(e){return{type:Actions.ANNOTATION_ACTIONS.SKIP_BEFORE_PAGE_TURNING,payload:{skipBeforePageTurning:e}}}function CopyBackWordResult(){return{type:Actions.ANNOTATION_ACTIONS.COPY_BACKWARD_RESULT}}function InitTaskData({onSubmit:e,onSave:t,onPageChange:n,onStepChange:r,getFileData:T,pageSize:i,loadFileList:o,step:u,stepList:a,skipBeforePageTurning:s}){const p=[];return e&&p.push(UpdateOnSubmit(e)),t&&p.push(UpdateOnSave(t)),n&&p.push(UpdateOnPageChange(n)),r&&p.push(UpdateOnStepChange(r)),T&&p.push(UpdateGetFileData(T)),o&&p.push(UpdateGetFileList(o)),i&&p.push(UpdatePageSize(i)),s&&p.push(UpdateSkipBeforePageTurning(s)),p.push(SetTaskConfig({stepList:a,step:u})),p.push({type:Actions.ANNOTATION_ACTIONS.CALC_STEP_PROGRESS}),p.push({type:Actions.ANNOTATION_ACTIONS.INIT_TOOL}),N=>dispatchTasks(N,p)}function UpdateInjectFunc({onSubmit:e,onSave:t,onPageChange:n,onStepChange:r,getFileData:T,pageSize:i,loadFileList:o,stepList:u}){const a=[];return e&&a.push(UpdateOnSubmit(e)),t&&a.push(UpdateOnSave(t)),n&&a.push(UpdateOnPageChange(n)),r&&a.push(UpdateOnStepChange(r)),T&&a.push(UpdateGetFileData(T)),o&&a.push(UpdateGetFileList(o)),i&&a.push(UpdatePageSize(i)),a.push(SetTaskStepList({stepList:u})),s=>dispatchTasks(s,a)}const getNextStep=(e,t)=>{var n;const r=t==null?void 0:t.findIndex(T=>(T==null?void 0:T.step)===e);return(n=t[r+1])==null?void 0:n.step},ToNextStep=e=>(t,n)=>{const{annotation:r}=n(),{step:T,stepList:i}=r,o=getNextStep(T,i);return[t(UpdateProcessingStep(o,e))]},UpdateProcessingStep=(e,t)=>(n,r)=>{var T,i;const{annotation:o}=r();(T=o==null?void 0:o.onStepChange)==null||T.call(o,e);const u=(i=o==null?void 0:o.imgIndex)!=null?i:0;return[n({type:Actions.ANNOTATION_ACTIONS.SUBMIT_RESULT}),n({type:Actions.ANNOTATION_ACTIONS.SUBMIT_FILE_DATA,payload:{submitType:index.ESubmitType.StepChanged}}),n({type:Actions.ANNOTATION_ACTIONS.SET_STEP,payload:{toStep:e}}),n({type:Actions.ANNOTATION_ACTIONS.CALC_STEP_PROGRESS}),n(reducer.LoadFileAndFileData(t!=null?t:u,0))]},ToSubmitFileData=e=>t=>[t({type:Actions.ANNOTATION_ACTIONS.SUBMIT_RESULT}),t({type:Actions.ANNOTATION_ACTIONS.SUBMIT_FILE_DATA,payload:{submitType:e}})],SubmitAndChangeFileIndex=(e,t,n,r)=>[e(ToSubmitFileData(n)),e(reducer.LoadFileAndFileData(t,r))],ChangeBasicIndex=(e,t)=>[e({type:Actions.ANNOTATION_ACTIONS.SUBMIT_RESULT}),e({type:Actions.ANNOTATION_ACTIONS.SET_BASIC_INDEX,payload:{basicIndex:t}})],ChangeTriggerEventAfterIndexChanged=(e,t)=>{e({type:Actions.ANNOTATION_ACTIONS.SET_TRIGGER_EVENT_AFTER_INDEX_CHANGED,payload:{triggerEventAfterIndexChanged:t}})},PageBackward=(e=!1)=>(t,n)=>DispatcherTurning(t,n,AnnotationSize.EPageTurningOperation.Backward,e),PageForward=(e=!1)=>(t,n)=>DispatcherTurning(t,n,AnnotationSize.EPageTurningOperation.Forward,e),PageJump=(e,t=!1)=>(n,r)=>{if(e!==r().imgIndex)return DispatcherTurning(n,r,AnnotationSize.EPageTurningOperation.Jump,t,e)},loadImgList=(e,t,n,r)=>__async(void 0,null,function*(){var T;const{loadFileList:i,imgList:o,pageSize:u}=t().annotation,a=Math.floor(n/u);SetAnnotationLoading(e,!0);try{const s=yield i(a,u);if(SetAnnotationLoading(e,!1),!((T=s==null?void 0:s.fileList)==null?void 0:T.length)||!(s==null?void 0:s.total))throw new Error("fileList and total are required");const p=r?new Array(s.total):[...o];return p.splice(a*u,u,...s.fileList),e({type:Actions.ANNOTATION_ACTIONS.UPDATE_IMG_LIST,payload:{imgList:p}}),!0}catch(s){SetAnnotationLoading(e,!1),console.error(s)}}),DispatcherTurning=(e,t,n,r=!1,T)=>__async(void 0,null,function*(){var i;const o=t().annotation,{fileIndexChanged:u,fileIndex:a,basicIndexChanged:s,basicIndex:p}=PageOperator.getNextPageInfo(n,o,T),N=getSubmitByPageOperation(n);if(ChangeTriggerEventAfterIndexChanged(e,r),u){if(o.loading||!o.imgList[a]&&!(yield loadImgList(e,t,a)))return;(i=o.onPageChange)==null||i.call(o,a);const A=N===index.ESubmitType.Backward?getBasicIndex(t().annotation,p):p;return SubmitAndChangeFileIndex(e,a,N,A)}return s?ChangeBasicIndex(e,p):e(ToSubmitFileData(N))}),ChangeSave=e=>{e(ToSubmitFileData(index.ESubmitType.Save)),e({type:Actions.ANNOTATION_ACTIONS.SAVE_RESULT})},SetAnnotationLoading=(e,t)=>{e({type:Actions.ANNOTATION_ACTIONS.SET_LOADING,payload:{loading:t}})},SetPointCloudLoading=(e,t)=>{e({type:Actions.ANNOTATION_ACTIONS.SET_LOADING,payload:{loading:t}})};exports.ChangeSave=ChangeSave,exports.CopyBackWordResult=CopyBackWordResult,exports.DispatcherTurning=DispatcherTurning,exports.InitTaskData=InitTaskData,exports.PageBackward=PageBackward,exports.PageForward=PageForward,exports.PageJump=PageJump,exports.SetAnnotationLoading=SetAnnotationLoading,exports.SetPointCloudLoading=SetPointCloudLoading,exports.SetTaskConfig=SetTaskConfig,exports.SetTaskStepList=SetTaskStepList,exports.ToNextStep=ToNextStep,exports.ToSubmitFileData=ToSubmitFileData,exports.UpdateGetFileData=UpdateGetFileData,exports.UpdateGetFileList=UpdateGetFileList,exports.UpdateInjectFunc=UpdateInjectFunc,exports.UpdateOnPageChange=UpdateOnPageChange,exports.UpdateOnSave=UpdateOnSave,exports.UpdateOnStepChange=UpdateOnStepChange,exports.UpdateOnSubmit=UpdateOnSubmit,exports.UpdatePageSize=UpdatePageSize,exports.UpdateProcessingStep=UpdateProcessingStep,exports.UpdateRotate=UpdateRotate,exports.UpdateSkipBeforePageTurning=UpdateSkipBeforePageTurning,exports.UpdateToolInstance=UpdateToolInstance,exports.loadImgList=loadImgList;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const aMapStateToProps=e=>{var t;const{annotation:{imgList:a,imgIndex:r}}=e;return{currentData:(t=a[r])!=null?t:{}}};exports.aMapStateToProps=aMapStateToProps;
|