@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.
Files changed (328) hide show
  1. package/dist/App.js +1 -1
  2. package/dist/assets/annotation/lineTool/icon_line.svg.js +1 -0
  3. package/dist/assets/annotation/pointCloudTool/changePointCloudValid.svg.js +1 -0
  4. package/dist/assets/annotation/pointCloudTool/copy.svg.js +1 -0
  5. package/dist/assets/annotation/pointCloudTool/nextBox.svg.js +1 -0
  6. package/dist/assets/annotation/pointCloudTool/nodata.svg.js +1 -0
  7. package/dist/assets/annotation/pointCloudTool/patse.svg.js +1 -0
  8. package/dist/assets/annotation/pointCloudTool/prevBox.svg.js +1 -0
  9. package/dist/assets/annotation/pointCloudTool/rotate180_black.svg.js +1 -0
  10. package/dist/assets/annotation/pointCloudTool/selectAll.svg.js +1 -0
  11. package/dist/assets/annotation/pointCloudTool/selectMultiple.svg.js +1 -0
  12. package/dist/assets/annotation/pointTool/icon_point.svg.js +1 -0
  13. package/dist/assets/annotation/polygonTool/icon_polygon.svg.js +1 -0
  14. package/dist/assets/annotation/rectTool/icon_rect.svg.js +1 -0
  15. package/dist/assets/annotation/rectTool/{icon_rectPattern.svg.js → icon_rect_a.svg.js} +0 -0
  16. package/dist/assets/attributeIcon/eraser.svg.js +1 -0
  17. package/dist/assets/attributeIcon/eraser_a.svg.js +1 -0
  18. package/dist/assets/attributeIcon/pen.svg.js +1 -0
  19. package/dist/assets/attributeIcon/pen_a.svg.js +1 -0
  20. package/dist/assets/{cssIcon/annotation/icon_clearSmall.svg → icons/25541b4d.svg} +0 -0
  21. package/dist/assets/icons/25ef334b.svg +8 -0
  22. package/dist/assets/icons/7eadb9c4.svg +5 -0
  23. package/dist/assets/icons/9d70807.svg +5 -0
  24. package/dist/assets/icons/c5b4262e.png +0 -0
  25. package/dist/assets/{cssIcon/slide_btn.svg → icons/cc550fff.svg} +0 -0
  26. package/dist/assets/{cssIcon/annotation/icon_clearSmall_a.svg → icons/dc9b6bfc.svg} +0 -0
  27. package/dist/assets/icons/e4f0b7fe.png +0 -0
  28. package/dist/components/AnnotationView/index.js +1 -1
  29. package/dist/components/AnnotationView/pointCloudAnnotationView.js +1 -0
  30. package/dist/components/attributeList/index.js +1 -1
  31. package/dist/components/customResizeHook/index.js +1 -1
  32. package/dist/components/pointCloudView/PointCloud2DView.js +1 -0
  33. package/dist/components/pointCloudView/PointCloud3DView.js +1 -0
  34. package/dist/components/pointCloudView/PointCloudBackView.js +1 -0
  35. package/dist/components/pointCloudView/PointCloudContext.js +1 -0
  36. package/dist/components/pointCloudView/PointCloudInfos.js +1 -0
  37. package/dist/components/pointCloudView/PointCloudLayout.js +1 -0
  38. package/dist/components/pointCloudView/PointCloudListener.js +1 -0
  39. package/dist/components/pointCloudView/PointCloudSideView.js +1 -0
  40. package/dist/components/pointCloudView/PointCloudTopView.js +1 -0
  41. package/dist/components/pointCloudView/components/EmptyPage/index.js +1 -0
  42. package/dist/components/pointCloudView/hooks/useBoxes.js +1 -0
  43. package/dist/components/pointCloudView/hooks/usePointCloudViews.js +1 -0
  44. package/dist/components/pointCloudView/hooks/usePolygon.js +1 -0
  45. package/dist/components/pointCloudView/hooks/useRotate.js +1 -0
  46. package/dist/components/pointCloudView/hooks/useSingleBox.js +1 -0
  47. package/dist/components/pointCloudView/hooks/useStatus.js +1 -0
  48. package/dist/components/pointCloudView/hooks/useZoom.js +1 -0
  49. package/dist/components/pointCloudView/index.js +1 -0
  50. package/dist/components/videoAnnotate/index.js +1 -1
  51. package/dist/data/enums/ToolType.js +1 -1
  52. package/dist/hooks/annotation.js +1 -0
  53. package/dist/hooks/useSize.js +1 -1
  54. package/dist/index.css +314 -44
  55. package/dist/index.js +1 -1
  56. package/dist/store/Actions.js +1 -1
  57. package/dist/store/annotation/actionCreators.js +1 -1
  58. package/dist/store/annotation/map.js +1 -0
  59. package/dist/store/annotation/reducer.js +1 -1
  60. package/dist/store/ctx.js +1 -0
  61. package/dist/types/App.d.ts +10 -2
  62. package/dist/types/components/AnnotationView/index.d.ts +6 -5
  63. package/dist/types/components/AnnotationView/pointCloudAnnotationView.d.ts +10 -0
  64. package/dist/types/components/attributeList/index.d.ts +1 -0
  65. package/dist/types/components/pointCloudView/PointCloud2DView.d.ts +6 -0
  66. package/dist/types/components/pointCloudView/PointCloud3DView.d.ts +6 -0
  67. package/dist/types/components/pointCloudView/PointCloudBackView.d.ts +3 -0
  68. package/dist/types/components/pointCloudView/PointCloudContext.d.ts +33 -0
  69. package/dist/types/components/pointCloudView/PointCloudInfos.d.ts +19 -0
  70. package/dist/types/components/pointCloudView/PointCloudLayout.d.ts +7 -0
  71. package/dist/types/components/pointCloudView/PointCloudListener.d.ts +6 -0
  72. package/dist/types/components/pointCloudView/PointCloudSideView.d.ts +6 -0
  73. package/dist/types/components/pointCloudView/PointCloudTopView.d.ts +6 -0
  74. package/dist/types/components/pointCloudView/components/EmptyPage/index.d.ts +2 -0
  75. package/dist/types/components/pointCloudView/hooks/useBoxes.d.ts +10 -0
  76. package/dist/types/components/pointCloudView/hooks/usePointCloudViews.d.ts +63 -0
  77. package/dist/types/components/pointCloudView/hooks/usePolygon.d.ts +9 -0
  78. package/dist/types/components/pointCloudView/hooks/useRotate.d.ts +8 -0
  79. package/dist/types/components/pointCloudView/hooks/useSingleBox.d.ts +13 -0
  80. package/dist/types/components/pointCloudView/hooks/useStatus.d.ts +11 -0
  81. package/dist/types/components/pointCloudView/hooks/useZoom.d.ts +7 -0
  82. package/dist/types/components/pointCloudView/index.d.ts +15 -0
  83. package/dist/types/components/videoPlayer/TagToolInstanceAdaptor.d.ts +1 -1
  84. package/dist/types/components/videoPlayer/index.d.ts +1 -1
  85. package/dist/types/data/enums/ToolType.d.ts +14 -8
  86. package/dist/types/hooks/annotation.d.ts +32 -0
  87. package/dist/types/hooks/useSize.d.ts +2 -2
  88. package/dist/types/index.d.ts +3 -1
  89. package/dist/types/store/Actions.d.ts +3 -0
  90. package/dist/types/store/annotation/actionCreators.d.ts +15 -5
  91. package/dist/types/store/annotation/map.d.ts +13 -0
  92. package/dist/types/store/annotation/reducer.d.ts +1 -1
  93. package/dist/types/store/annotation/types.d.ts +2 -0
  94. package/dist/types/store/ctx.d.ts +4 -0
  95. package/dist/types/utils/PageOperator.d.ts +1 -1
  96. package/dist/types/utils/StepUtils.d.ts +7 -0
  97. package/dist/types/utils/ToolUtils.d.ts +10 -0
  98. package/dist/types/utils/data.d.ts +1 -1
  99. package/dist/types/utils/dom.d.ts +1 -1
  100. package/dist/types/utils/index.d.ts +1 -1
  101. package/dist/types/views/MainView/annotationOperation/index.d.ts +3 -0
  102. package/dist/types/views/MainView/sidebar/GeneralOperation/ActionsConfirm.d.ts +12 -0
  103. package/dist/types/views/MainView/sidebar/GeneralOperation/index.d.ts +5 -1
  104. package/dist/types/views/MainView/sidebar/GeneralOperation/useOperationList.d.ts +12 -0
  105. package/dist/types/views/MainView/sidebar/PointCloudToolSidebar/index.d.ts +11 -0
  106. package/dist/types/views/MainView/sidebar/ScribbleSidebar/index.d.ts +6 -0
  107. package/dist/types/views/MainView/sidebar/ToolIcons.d.ts +11 -0
  108. package/dist/types/views/MainView/sidebar/ToolStyle/index.d.ts +1 -1
  109. package/dist/types/views/MainView/sidebar/index.d.ts +1 -0
  110. package/dist/types/views/MainView/toolFooter/FooterTips/ToolHotKey/pointCloud/index.d.ts +3 -0
  111. package/dist/types/views/MainView/toolFooter/Pagination.d.ts +12 -2
  112. package/dist/types/views/MainView/toolFooter/ZoomController/ZoomLevel/index.d.ts +1 -0
  113. package/dist/types/views/MainView/toolFooter/ZoomController/index.d.ts +15 -4
  114. package/dist/types/views/MainView/toolFooter/index.d.ts +7 -9
  115. package/dist/types/views/MainView/toolHeader/ExportData/index.d.ts +1 -1
  116. package/dist/utils/StepUtils.js +1 -1
  117. package/dist/utils/ToolUtils.js +1 -0
  118. package/dist/utils/data.js +1 -1
  119. package/dist/utils/dom.js +1 -1
  120. package/dist/utils/index.js +1 -1
  121. package/dist/views/MainView/annotationOperation/index.js +1 -1
  122. package/dist/views/MainView/annotationTips/index.js +1 -1
  123. package/dist/views/MainView/index.js +1 -1
  124. package/dist/views/MainView/sidebar/AnnotationText/index.js +1 -1
  125. package/dist/views/MainView/sidebar/GeneralOperation/ActionsConfirm.js +1 -0
  126. package/dist/views/MainView/sidebar/GeneralOperation/index.js +1 -1
  127. package/dist/views/MainView/sidebar/GeneralOperation/useOperationList.js +1 -0
  128. package/dist/views/MainView/sidebar/ImgAttributeInfo/index.js +1 -1
  129. package/dist/views/MainView/sidebar/PointCloudToolSidebar/index.js +1 -0
  130. package/dist/views/MainView/sidebar/ScribbleSidebar/index.js +1 -0
  131. package/dist/views/MainView/sidebar/SwitchAttributeList/index.js +1 -1
  132. package/dist/views/MainView/sidebar/TagSidebar/index.js +1 -1
  133. package/dist/views/MainView/sidebar/TextToolSidebar/index.js +1 -1
  134. package/dist/views/MainView/sidebar/ToolIcons.js +1 -0
  135. package/dist/views/MainView/sidebar/ToolStyle/index.js +1 -1
  136. package/dist/views/MainView/sidebar/index.js +1 -1
  137. package/dist/views/MainView/toolFooter/FooterTips/ToolHotKey/index.js +1 -1
  138. package/dist/views/MainView/toolFooter/FooterTips/ToolHotKey/pointCloud/index.js +1 -0
  139. package/dist/views/MainView/toolFooter/FooterTips/index.js +1 -1
  140. package/dist/views/MainView/toolFooter/HiddenTips/index.js +1 -1
  141. package/dist/views/MainView/toolFooter/PageNumber/index.js +1 -1
  142. package/dist/views/MainView/toolFooter/Pagination.js +1 -1
  143. package/dist/views/MainView/toolFooter/ZoomController/ZoomLevel/index.js +1 -1
  144. package/dist/views/MainView/toolFooter/ZoomController/index.js +1 -1
  145. package/dist/views/MainView/toolFooter/index.js +1 -1
  146. package/dist/views/MainView/toolHeader/ExportData/index.js +1 -1
  147. package/dist/views/MainView/toolHeader/StepSwitch/index.js +1 -1
  148. package/dist/views/MainView/toolHeader/headerOption/index.js +1 -1
  149. package/dist/views/MainView/toolHeader/index.js +1 -1
  150. package/es/App.js +1 -1
  151. package/es/App.js.map +1 -1
  152. package/es/assets/annotation/lineTool/icon_line.svg.js +1 -0
  153. package/es/assets/annotation/lineTool/icon_line.svg.js.map +1 -0
  154. package/es/assets/annotation/pointCloudTool/changePointCloudValid.svg.js +1 -0
  155. package/es/assets/annotation/pointCloudTool/changePointCloudValid.svg.js.map +1 -0
  156. package/es/assets/annotation/pointCloudTool/copy.svg.js +1 -0
  157. package/es/assets/annotation/pointCloudTool/copy.svg.js.map +1 -0
  158. package/es/assets/annotation/pointCloudTool/nextBox.svg.js +1 -0
  159. package/es/assets/annotation/pointCloudTool/nextBox.svg.js.map +1 -0
  160. package/es/assets/annotation/pointCloudTool/nodata.svg.js +1 -0
  161. package/es/assets/annotation/pointCloudTool/nodata.svg.js.map +1 -0
  162. package/es/assets/annotation/pointCloudTool/patse.svg.js +1 -0
  163. package/es/assets/annotation/pointCloudTool/patse.svg.js.map +1 -0
  164. package/es/assets/annotation/pointCloudTool/prevBox.svg.js +1 -0
  165. package/es/assets/annotation/pointCloudTool/prevBox.svg.js.map +1 -0
  166. package/es/assets/annotation/pointCloudTool/rotate180_black.svg.js +1 -0
  167. package/es/assets/annotation/pointCloudTool/rotate180_black.svg.js.map +1 -0
  168. package/es/assets/annotation/pointCloudTool/selectAll.svg.js +1 -0
  169. package/es/assets/annotation/pointCloudTool/selectAll.svg.js.map +1 -0
  170. package/es/assets/annotation/pointCloudTool/selectMultiple.svg.js +1 -0
  171. package/es/assets/annotation/pointCloudTool/selectMultiple.svg.js.map +1 -0
  172. package/es/assets/annotation/pointTool/icon_point.svg.js +1 -0
  173. package/es/assets/annotation/pointTool/icon_point.svg.js.map +1 -0
  174. package/es/assets/annotation/polygonTool/icon_polygon.svg.js +1 -0
  175. package/es/assets/annotation/polygonTool/icon_polygon.svg.js.map +1 -0
  176. package/es/assets/annotation/rectTool/icon_rect.svg.js +1 -0
  177. package/es/assets/annotation/rectTool/icon_rect.svg.js.map +1 -0
  178. package/es/assets/annotation/rectTool/icon_rectPattern.svg.js +4 -1
  179. package/es/assets/annotation/rectTool/icon_rect_a.svg.js +1 -0
  180. package/es/assets/annotation/rectTool/icon_rect_a.svg.js.map +1 -0
  181. package/es/assets/attributeIcon/eraser.svg.js +1 -0
  182. package/es/assets/attributeIcon/eraser.svg.js.map +1 -0
  183. package/es/assets/attributeIcon/eraser_a.svg.js +1 -0
  184. package/es/assets/attributeIcon/eraser_a.svg.js.map +1 -0
  185. package/es/assets/attributeIcon/pen.svg.js +1 -0
  186. package/es/assets/attributeIcon/pen.svg.js.map +1 -0
  187. package/es/assets/attributeIcon/pen_a.svg.js +1 -0
  188. package/es/assets/attributeIcon/pen_a.svg.js.map +1 -0
  189. package/es/components/AnnotationView/index.js +1 -1
  190. package/es/components/AnnotationView/index.js.map +1 -1
  191. package/es/components/AnnotationView/pointCloudAnnotationView.js +1 -0
  192. package/es/components/AnnotationView/pointCloudAnnotationView.js.map +1 -0
  193. package/es/components/attributeList/index.js +1 -1
  194. package/es/components/attributeList/index.js.map +1 -1
  195. package/es/components/customResizeHook/index.js +1 -1
  196. package/es/components/customResizeHook/index.js.map +1 -1
  197. package/es/components/pointCloudView/PointCloud2DView.js +1 -0
  198. package/es/components/pointCloudView/PointCloud2DView.js.map +1 -0
  199. package/es/components/pointCloudView/PointCloud3DView.js +1 -1
  200. package/es/components/pointCloudView/PointCloud3DView.js.map +1 -0
  201. package/es/components/pointCloudView/PointCloudBackView.js +1 -0
  202. package/es/components/pointCloudView/PointCloudBackView.js.map +1 -0
  203. package/es/components/pointCloudView/PointCloudContext.js +1 -0
  204. package/es/components/pointCloudView/PointCloudContext.js.map +1 -0
  205. package/es/components/pointCloudView/PointCloudInfos.js +1 -0
  206. package/es/components/pointCloudView/PointCloudInfos.js.map +1 -0
  207. package/es/components/pointCloudView/PointCloudLayout.js +1 -1
  208. package/es/components/pointCloudView/PointCloudLayout.js.map +1 -0
  209. package/es/components/pointCloudView/PointCloudListener.js +1 -0
  210. package/es/components/pointCloudView/PointCloudListener.js.map +1 -0
  211. package/es/components/pointCloudView/PointCloudSideView.js +1 -0
  212. package/es/components/pointCloudView/PointCloudSideView.js.map +1 -0
  213. package/es/components/pointCloudView/PointCloudTopView.js +1 -1
  214. package/es/components/pointCloudView/PointCloudTopView.js.map +1 -0
  215. package/es/components/pointCloudView/components/EmptyPage/index.js +1 -0
  216. package/es/components/pointCloudView/components/EmptyPage/index.js.map +1 -0
  217. package/es/components/pointCloudView/data.js +4 -0
  218. package/es/components/pointCloudView/data.js.map +1 -0
  219. package/es/components/pointCloudView/hooks/useBoxes.js +1 -0
  220. package/es/components/pointCloudView/hooks/useBoxes.js.map +1 -0
  221. package/es/components/pointCloudView/hooks/useConfig.js +19 -0
  222. package/es/components/pointCloudView/hooks/useConfig.js.map +1 -0
  223. package/es/components/pointCloudView/hooks/usePointCloudViews.js +1 -0
  224. package/es/components/pointCloudView/hooks/usePointCloudViews.js.map +1 -0
  225. package/es/components/pointCloudView/hooks/usePolygon.js +1 -0
  226. package/es/components/pointCloudView/hooks/usePolygon.js.map +1 -0
  227. package/es/components/pointCloudView/hooks/useRotate.js +1 -0
  228. package/es/components/pointCloudView/hooks/useRotate.js.map +1 -0
  229. package/es/components/pointCloudView/hooks/useSingleBox.js +1 -0
  230. package/es/components/pointCloudView/hooks/useSingleBox.js.map +1 -0
  231. package/es/components/pointCloudView/hooks/useStatus.js +1 -0
  232. package/es/components/pointCloudView/hooks/useStatus.js.map +1 -0
  233. package/es/components/pointCloudView/hooks/useZoom.js +1 -0
  234. package/es/components/pointCloudView/hooks/useZoom.js.map +1 -0
  235. package/es/components/pointCloudView/index.js +1 -1
  236. package/es/components/pointCloudView/index.js.map +1 -0
  237. package/es/components/videoAnnotate/index.js +1 -1
  238. package/es/components/videoAnnotate/index.js.map +1 -1
  239. package/es/data/enums/ToolType.js +1 -1
  240. package/es/data/enums/ToolType.js.map +1 -1
  241. package/es/hooks/annotation.js +1 -0
  242. package/es/hooks/annotation.js.map +1 -0
  243. package/es/hooks/useConfig.js +18 -0
  244. package/es/hooks/useConfig.js.map +1 -0
  245. package/es/hooks/useSize.js +1 -1
  246. package/es/hooks/useSize.js.map +1 -1
  247. package/es/index.css +1404 -0
  248. package/es/index.js +1 -1
  249. package/es/index.js.map +1 -1
  250. package/es/store/Actions.js +1 -1
  251. package/es/store/Actions.js.map +1 -1
  252. package/es/store/annotation/actionCreators.js +1 -1
  253. package/es/store/annotation/actionCreators.js.map +1 -1
  254. package/es/store/annotation/map.js +1 -0
  255. package/es/store/annotation/map.js.map +1 -0
  256. package/es/store/annotation/reducer.js +1 -1
  257. package/es/store/annotation/reducer.js.map +1 -1
  258. package/es/store/ctx.js +1 -0
  259. package/es/store/ctx.js.map +1 -0
  260. package/es/utils/StepUtils.js +1 -1
  261. package/es/utils/StepUtils.js.map +1 -1
  262. package/es/utils/ToolUtils.js.map +1 -0
  263. package/es/utils/data.js +1 -1
  264. package/es/utils/data.js.map +1 -1
  265. package/es/utils/dom.js +1 -1
  266. package/es/utils/dom.js.map +1 -1
  267. package/es/utils/index.js +1 -1
  268. package/es/utils/index.js.map +1 -1
  269. package/es/views/MainView/annotationOperation/index.js +1 -1
  270. package/es/views/MainView/annotationOperation/index.js.map +1 -1
  271. package/es/views/MainView/annotationTips/index.js +1 -1
  272. package/es/views/MainView/annotationTips/index.js.map +1 -1
  273. package/es/views/MainView/index.js +1 -1
  274. package/es/views/MainView/index.js.map +1 -1
  275. package/es/views/MainView/sidebar/AnnotationText/index.js +1 -1
  276. package/es/views/MainView/sidebar/AnnotationText/index.js.map +1 -1
  277. package/es/views/MainView/sidebar/GeneralOperation/ActionsConfirm.js +1 -0
  278. package/es/views/MainView/sidebar/GeneralOperation/ActionsConfirm.js.map +1 -0
  279. package/es/views/MainView/sidebar/GeneralOperation/index.js +1 -1
  280. package/es/views/MainView/sidebar/GeneralOperation/index.js.map +1 -1
  281. package/es/views/MainView/sidebar/GeneralOperation/useOperationList.js +1 -0
  282. package/es/views/MainView/sidebar/GeneralOperation/useOperationList.js.map +1 -0
  283. package/es/views/MainView/sidebar/ImgAttributeInfo/index.js +1 -1
  284. package/es/views/MainView/sidebar/ImgAttributeInfo/index.js.map +1 -1
  285. package/es/views/MainView/sidebar/PointCloudToolSidebar/index.js +1 -0
  286. package/es/views/MainView/sidebar/PointCloudToolSidebar/index.js.map +1 -0
  287. package/es/views/MainView/sidebar/ScribbleSidebar/index.js +1 -0
  288. package/es/views/MainView/sidebar/ScribbleSidebar/index.js.map +1 -0
  289. package/es/views/MainView/sidebar/SwitchAttributeList/index.js +1 -1
  290. package/es/views/MainView/sidebar/SwitchAttributeList/index.js.map +1 -1
  291. package/es/views/MainView/sidebar/TagSidebar/index.js +1 -1
  292. package/es/views/MainView/sidebar/TagSidebar/index.js.map +1 -1
  293. package/es/views/MainView/sidebar/TextToolSidebar/index.js +1 -1
  294. package/es/views/MainView/sidebar/TextToolSidebar/index.js.map +1 -1
  295. package/es/views/MainView/sidebar/ToolIcons.js +1 -0
  296. package/es/views/MainView/sidebar/ToolIcons.js.map +1 -0
  297. package/es/views/MainView/sidebar/ToolStyle/index.js +1 -1
  298. package/es/views/MainView/sidebar/ToolStyle/index.js.map +1 -1
  299. package/es/views/MainView/sidebar/index.js +1 -1
  300. package/es/views/MainView/sidebar/index.js.map +1 -1
  301. package/es/views/MainView/toolFooter/FooterTips/ToolHotKey/index.js +1 -1
  302. package/es/views/MainView/toolFooter/FooterTips/ToolHotKey/index.js.map +1 -1
  303. package/es/views/MainView/toolFooter/FooterTips/ToolHotKey/pointCloud/index.js +1 -0
  304. package/es/views/MainView/toolFooter/FooterTips/ToolHotKey/pointCloud/index.js.map +1 -0
  305. package/es/views/MainView/toolFooter/FooterTips/index.js +1 -1
  306. package/es/views/MainView/toolFooter/FooterTips/index.js.map +1 -1
  307. package/es/views/MainView/toolFooter/HiddenTips/index.js +1 -1
  308. package/es/views/MainView/toolFooter/HiddenTips/index.js.map +1 -1
  309. package/es/views/MainView/toolFooter/PageNumber/index.js +1 -1
  310. package/es/views/MainView/toolFooter/PageNumber/index.js.map +1 -1
  311. package/es/views/MainView/toolFooter/Pagination.js +1 -1
  312. package/es/views/MainView/toolFooter/Pagination.js.map +1 -1
  313. package/es/views/MainView/toolFooter/ZoomController/ZoomLevel/index.js +1 -1
  314. package/es/views/MainView/toolFooter/ZoomController/ZoomLevel/index.js.map +1 -1
  315. package/es/views/MainView/toolFooter/ZoomController/index.js +1 -1
  316. package/es/views/MainView/toolFooter/ZoomController/index.js.map +1 -1
  317. package/es/views/MainView/toolFooter/index.js +1 -1
  318. package/es/views/MainView/toolFooter/index.js.map +1 -1
  319. package/es/views/MainView/toolHeader/ExportData/index.js +1 -1
  320. package/es/views/MainView/toolHeader/ExportData/index.js.map +1 -1
  321. package/es/views/MainView/toolHeader/StepSwitch/index.js +1 -1
  322. package/es/views/MainView/toolHeader/StepSwitch/index.js.map +1 -1
  323. package/es/views/MainView/toolHeader/headerOption/index.js +1 -1
  324. package/es/views/MainView/toolHeader/headerOption/index.js.map +1 -1
  325. package/es/views/MainView/toolHeader/index.js +1 -1
  326. package/es/views/MainView/toolHeader/index.js.map +1 -1
  327. package/package.json +9 -8
  328. 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: white;
39
- background: #444444;
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
- .pageInput {
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: white;
89
+ color: rgb(255, 255, 255);
90
90
  height: 24px;
91
91
  text-align: center;
92
92
  padding: 0 6px;
93
93
  }
94
- .pageInput:focus {
94
+ .bee-page-input:focus {
95
95
  box-shadow: none;
96
96
  outline: none;
97
97
  border-color: #cccccc;
98
98
  }
99
- .pageInput:hover {
99
+ .bee-page-input:hover {
100
100
  border-color: #cccccc;
101
101
  }
102
102
 
103
103
  .bee-header__title {
104
- color: #999999;
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 #dfdfdf;
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: 240px;
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: #999999;
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
- margin: 20px 20px 0 20px;
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
- margin: 10px 0 30px;
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 #cccccc;
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("./assets/cssIcon/slide_btn.svg");
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, blue 0%, blue 20%, aqua 20%, aqua 40%, lime 40%, lime 60%, yellow 60%, yellow 80%, fuchsia 80%, fuchsia 100%);
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%, black 80%, black 100%);
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: #cccccc;
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: #cccccc;
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: #cccccc;
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: #cccccc;
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 #cccccc;
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 #cccccc;
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 #cccccc;
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: #cccccc;
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: #cccccc;
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: #cccccc;
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: #cccccc;
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("./assets/cssIcon/annotation/icon_clearSmall.svg");
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("./assets/cssIcon/annotation/icon_clearSmall_a.svg");
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: #cccccc;
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: #73859f;
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
- /*# sourceMappingURL=index.css.map */
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,t)=>r in e?__defProp(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t,__spreadValues=(e,r)=>{for(var t in r||(r={}))__hasOwnProp.call(r,t)&&__defNormalProp(e,t,r[t]);if(__getOwnPropSymbols)for(var t of __getOwnPropSymbols(r))__propIsEnum.call(r,t)&&__defNormalProp(e,t,r[t]);return e},__spreadProps=(e,r)=>__defProps(e,__getOwnPropDescs(r));const store=configureStore(),OutputApp=(e,r)=>{const[t,a]=React.useState();return React.useImperativeHandle(r,()=>({toolInstance:t,annotationEngine:store.getState().annotation.annotationEngine,pageBackwardActions:()=>store.dispatch(actionCreators.PageBackward()),pageForwardActions:()=>store.dispatch(actionCreators.PageForward()),pageJump:o=>{const n=~~o-1;store.dispatch(actionCreators.PageJump(n))},hello:()=>alert("hello labelBee!!!")}),[t]),React__default.default.createElement(reactRedux.Provider,{store},React__default.default.createElement(reactI18next.I18nextProvider,{i18n:lbUtils.i18n},React__default.default.createElement(App,__spreadProps(__spreadValues({},e),{setToolInstance:a}))))};var index=React__default.default.forwardRef(OutputApp);exports.AnnotationView=index$1,Object.defineProperty(exports,"i18n",{enumerable:!0,get:function(){return lbUtils.i18n}}),exports.VideoTagTool=TagToolInstanceAdaptorI18nProvider.VideoTagTool,exports.default=index,exports.store=store;
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;
@@ -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,i)=>{var s=T=>{try{u(n.next(T))}catch(a){i(a)}},o=T=>{try{u(n.throw(T))}catch(a){i(a)}},u=T=>T.done?r(T.value):Promise.resolve(T.value).then(s,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:i,imgIndex:s}=e,{dataSourceStep:o}=reducer.getStepConfig(e.stepList,e.step);return((r=(n=index$1.jsonParser(i[s-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 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 CopyBackWordResult(){return{type:Actions.ANNOTATION_ACTIONS.COPY_BACKWARD_RESULT}}function InitTaskData({onSubmit:e,onSave:t,onPageChange:n,onStepChange:r,getFileData:i,pageSize:s,loadFileList:o,step:u,stepList:T}){const a=[];return e&&a.push(UpdateOnSubmit(e)),t&&a.push(UpdateOnSave(t)),n&&a.push(UpdateOnPageChange(n)),r&&a.push(UpdateOnStepChange(r)),i&&a.push(UpdateGetFileData(i)),o&&a.push(UpdateGetFileList(o)),s&&a.push(UpdatePageSize(s)),a.push(SetTaskConfig({stepList:T,step:u})),a.push({type:Actions.ANNOTATION_ACTIONS.CALC_STEP_PROGRESS}),a.push({type:Actions.ANNOTATION_ACTIONS.INIT_TOOL}),p=>dispatchTasks(p,a)}const getNextStep=(e,t)=>{var n;const r=t==null?void 0:t.findIndex(i=>(i==null?void 0:i.step)===e);return(n=t[r+1])==null?void 0:n.step},ToNextStep=e=>(t,n)=>{const{annotation:r}=n(),{step:i,stepList:s}=r,o=getNextStep(i,s);return[t(UpdateProcessingStep(o,e))]},UpdateProcessingStep=(e,t)=>(n,r)=>{var i,s;const{annotation:o}=r();(i=o==null?void 0:o.onStepChange)==null||i.call(o,e);const u=(s=o==null?void 0:o.imgIndex)!=null?s: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 i;const{loadFileList:s,imgList:o,pageSize:u}=t().annotation,T=Math.floor(n/u);SetAnnotationLoading(e,!0);try{const a=yield s(T,u);if(SetAnnotationLoading(e,!1),!((i=a==null?void 0:a.fileList)==null?void 0:i.length)||!(a==null?void 0:a.total))throw new Error("fileList and total are required");const p=r?new Array(a.total):[...o];return p.splice(T*u,u,...a.fileList),e({type:Actions.ANNOTATION_ACTIONS.UPDATE_IMG_LIST,payload:{imgList:p}}),!0}catch(a){SetAnnotationLoading(e,!1),console.error(a)}}),DispatcherTurning=(e,t,n,r=!1,i)=>__async(void 0,null,function*(){var s;const o=t().annotation,{fileIndexChanged:u,fileIndex:T,basicIndexChanged:a,basicIndex:p}=PageOperator.getNextPageInfo(n,o,i),A=getSubmitByPageOperation(n);if(ChangeTriggerEventAfterIndexChanged(e,r),u){if(o.loading||!o.imgList[T]&&!(yield loadImgList(e,t,T)))return;(s=o.onPageChange)==null||s.call(o,T);const N=A===index.ESubmitType.Backward?getBasicIndex(t().annotation,p):p;return SubmitAndChangeFileIndex(e,T,A,N)}return a?ChangeBasicIndex(e,p):e(ToSubmitFileData(A))}),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}})};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.SetTaskConfig=SetTaskConfig,exports.ToNextStep=ToNextStep,exports.ToSubmitFileData=ToSubmitFileData,exports.UpdateGetFileData=UpdateGetFileData,exports.UpdateGetFileList=UpdateGetFileList,exports.UpdateOnPageChange=UpdateOnPageChange,exports.UpdateOnSave=UpdateOnSave,exports.UpdateOnStepChange=UpdateOnStepChange,exports.UpdateOnSubmit=UpdateOnSubmit,exports.UpdatePageSize=UpdatePageSize,exports.UpdateProcessingStep=UpdateProcessingStep,exports.UpdateRotate=UpdateRotate,exports.UpdateToolInstance=UpdateToolInstance,exports.loadImgList=loadImgList;
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;