@labelbee/lb-components 1.10.0-alpha.2 → 1.10.0-alpha.4

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 (926) hide show
  1. package/dist/App.js +146 -1
  2. package/dist/App.js.map +1 -0
  3. package/dist/assets/annotation/common/icon_adapt.svg.js +6 -1
  4. package/dist/assets/annotation/common/icon_adapt.svg.js.map +1 -0
  5. package/dist/assets/annotation/common/icon_adapt_black.svg.js +6 -1
  6. package/dist/assets/annotation/common/icon_adapt_black.svg.js.map +1 -0
  7. package/dist/assets/annotation/common/icon_back.svg.js +6 -1
  8. package/dist/assets/annotation/common/icon_back.svg.js.map +1 -0
  9. package/dist/assets/annotation/common/icon_backA.svg.js +6 -1
  10. package/dist/assets/annotation/common/icon_backA.svg.js.map +1 -0
  11. package/dist/assets/annotation/common/icon_clear.svg.js +6 -1
  12. package/dist/assets/annotation/common/icon_clear.svg.js.map +1 -0
  13. package/dist/assets/annotation/common/icon_clearSmall.svg.js +6 -1
  14. package/dist/assets/annotation/common/icon_clearSmall.svg.js.map +1 -0
  15. package/dist/assets/annotation/common/icon_clearSmall_a.svg.js +6 -1
  16. package/dist/assets/annotation/common/icon_clearSmall_a.svg.js.map +1 -0
  17. package/dist/assets/annotation/common/icon_clear_a.svg.js +6 -1
  18. package/dist/assets/annotation/common/icon_clear_a.svg.js.map +1 -0
  19. package/dist/assets/annotation/common/icon_invalid.svg.js +6 -1
  20. package/dist/assets/annotation/common/icon_invalid.svg.js.map +1 -0
  21. package/dist/assets/annotation/common/icon_invalid_a.svg.js +6 -1
  22. package/dist/assets/annotation/common/icon_invalid_a.svg.js.map +1 -0
  23. package/dist/assets/annotation/common/icon_next.svg.js +6 -1
  24. package/dist/assets/annotation/common/icon_next.svg.js.map +1 -0
  25. package/dist/assets/annotation/common/icon_nextA.svg.js +6 -1
  26. package/dist/assets/annotation/common/icon_nextA.svg.js.map +1 -0
  27. package/dist/assets/annotation/common/icon_r.svg.js +6 -1
  28. package/dist/assets/annotation/common/icon_r.svg.js.map +1 -0
  29. package/dist/assets/annotation/common/icon_rA.svg.js +6 -1
  30. package/dist/assets/annotation/common/icon_rA.svg.js.map +1 -0
  31. package/dist/assets/annotation/common/icon_save.svg.js +6 -1
  32. package/dist/assets/annotation/common/icon_save.svg.js.map +1 -0
  33. package/dist/assets/annotation/common/icon_saveA.svg.js +6 -1
  34. package/dist/assets/annotation/common/icon_saveA.svg.js.map +1 -0
  35. package/dist/assets/annotation/image/brightness.svg.js +6 -1
  36. package/dist/assets/annotation/image/brightness.svg.js.map +1 -0
  37. package/dist/assets/annotation/image/contrast.svg.js +6 -1
  38. package/dist/assets/annotation/image/contrast.svg.js.map +1 -0
  39. package/dist/assets/annotation/image/icon_yuantu.svg.js +6 -1
  40. package/dist/assets/annotation/image/icon_yuantu.svg.js.map +1 -0
  41. package/dist/assets/annotation/image/saturation.svg.js +6 -1
  42. package/dist/assets/annotation/image/saturation.svg.js.map +1 -0
  43. package/dist/assets/annotation/lineTool/icon_line.svg.js +6 -1
  44. package/dist/assets/annotation/lineTool/icon_line.svg.js.map +1 -0
  45. package/dist/assets/annotation/lineTool/icon_line_a.svg.js +6 -1
  46. package/dist/assets/annotation/lineTool/icon_line_a.svg.js.map +1 -0
  47. package/dist/assets/annotation/pointCloudTool/changePointCloudValid.svg.js +6 -1
  48. package/dist/assets/annotation/pointCloudTool/changePointCloudValid.svg.js.map +1 -0
  49. package/dist/assets/annotation/pointCloudTool/copy.svg.js +6 -1
  50. package/dist/assets/annotation/pointCloudTool/copy.svg.js.map +1 -0
  51. package/dist/assets/annotation/pointCloudTool/nextBox.svg.js +6 -1
  52. package/dist/assets/annotation/pointCloudTool/nextBox.svg.js.map +1 -0
  53. package/dist/assets/annotation/pointCloudTool/nodata.svg.js +6 -1
  54. package/dist/assets/annotation/pointCloudTool/nodata.svg.js.map +1 -0
  55. package/dist/assets/annotation/pointCloudTool/patse.svg.js +6 -1
  56. package/dist/assets/annotation/pointCloudTool/patse.svg.js.map +1 -0
  57. package/dist/assets/annotation/pointCloudTool/prevBox.svg.js +6 -1
  58. package/dist/assets/annotation/pointCloudTool/prevBox.svg.js.map +1 -0
  59. package/dist/assets/annotation/pointCloudTool/rotate180_black.svg.js +6 -1
  60. package/dist/assets/annotation/pointCloudTool/rotate180_black.svg.js.map +1 -0
  61. package/dist/assets/annotation/pointCloudTool/selectAll.svg.js +6 -1
  62. package/dist/assets/annotation/pointCloudTool/selectAll.svg.js.map +1 -0
  63. package/dist/assets/annotation/pointCloudTool/selectMultiple.svg.js +6 -1
  64. package/dist/assets/annotation/pointCloudTool/selectMultiple.svg.js.map +1 -0
  65. package/dist/assets/annotation/pointCloudTool/unitAttribute.svg.js +6 -1
  66. package/dist/assets/annotation/pointCloudTool/unitAttribute.svg.js.map +1 -0
  67. package/dist/assets/annotation/pointCloudTool/unitAttributeForbid.svg.js +6 -1
  68. package/dist/assets/annotation/pointCloudTool/unitAttributeForbid.svg.js.map +1 -0
  69. package/dist/assets/annotation/pointCloudTool/unitAttributeHover.svg.js +6 -1
  70. package/dist/assets/annotation/pointCloudTool/unitAttributeHover.svg.js.map +1 -0
  71. package/dist/assets/annotation/pointTool/icon_point.svg.js +6 -1
  72. package/dist/assets/annotation/pointTool/icon_point.svg.js.map +1 -0
  73. package/dist/assets/annotation/pointTool/icon_point_a.svg.js +6 -1
  74. package/dist/assets/annotation/pointTool/icon_point_a.svg.js.map +1 -0
  75. package/dist/assets/annotation/polygonTool/icon_polygon.svg.js +6 -1
  76. package/dist/assets/annotation/polygonTool/icon_polygon.svg.js.map +1 -0
  77. package/dist/assets/annotation/polygonTool/icon_polygon_a.svg.js +6 -1
  78. package/dist/assets/annotation/polygonTool/icon_polygon_a.svg.js.map +1 -0
  79. package/dist/assets/annotation/rectTool/icon_rect.svg.js +6 -1
  80. package/dist/assets/annotation/rectTool/icon_rect.svg.js.map +1 -0
  81. package/dist/assets/annotation/rectTool/icon_rect_a.svg.js +6 -1
  82. package/dist/assets/annotation/rectTool/icon_rect_a.svg.js.map +1 -0
  83. package/dist/assets/annotation/toolHotKeyIcon/icon_alttab_kj.svg.js +6 -1
  84. package/dist/assets/annotation/toolHotKeyIcon/icon_alttab_kj.svg.js.map +1 -0
  85. package/dist/assets/annotation/toolHotKeyIcon/icon_back_kj.svg.js +6 -1
  86. package/dist/assets/annotation/toolHotKeyIcon/icon_back_kj.svg.js.map +1 -0
  87. package/dist/assets/annotation/toolHotKeyIcon/icon_cencel_kj.svg.js +6 -1
  88. package/dist/assets/annotation/toolHotKeyIcon/icon_cencel_kj.svg.js.map +1 -0
  89. package/dist/assets/annotation/toolHotKeyIcon/icon_del_kj.svg.js +6 -1
  90. package/dist/assets/annotation/toolHotKeyIcon/icon_del_kj.svg.js.map +1 -0
  91. package/dist/assets/annotation/toolHotKeyIcon/icon_forward_kj.svg.js +6 -1
  92. package/dist/assets/annotation/toolHotKeyIcon/icon_forward_kj.svg.js.map +1 -0
  93. package/dist/assets/annotation/toolHotKeyIcon/icon_frameActive_kj.svg.js +6 -1
  94. package/dist/assets/annotation/toolHotKeyIcon/icon_frameActive_kj.svg.js.map +1 -0
  95. package/dist/assets/annotation/toolHotKeyIcon/icon_frameChange_kj.svg.js +6 -1
  96. package/dist/assets/annotation/toolHotKeyIcon/icon_frameChange_kj.svg.js.map +1 -0
  97. package/dist/assets/annotation/toolHotKeyIcon/icon_frameNull_kj.svg.js +6 -1
  98. package/dist/assets/annotation/toolHotKeyIcon/icon_frameNull_kj.svg.js.map +1 -0
  99. package/dist/assets/annotation/toolHotKeyIcon/icon_frame_kj.svg.js +6 -1
  100. package/dist/assets/annotation/toolHotKeyIcon/icon_frame_kj.svg.js.map +1 -0
  101. package/dist/assets/annotation/toolHotKeyIcon/icon_fullView_kj.svg.js +6 -1
  102. package/dist/assets/annotation/toolHotKeyIcon/icon_fullView_kj.svg.js.map +1 -0
  103. package/dist/assets/annotation/toolHotKeyIcon/icon_kj1.svg.js +6 -1
  104. package/dist/assets/annotation/toolHotKeyIcon/icon_kj1.svg.js.map +1 -0
  105. package/dist/assets/annotation/toolHotKeyIcon/icon_kj_h.svg.js +6 -1
  106. package/dist/assets/annotation/toolHotKeyIcon/icon_kj_h.svg.js.map +1 -0
  107. package/dist/assets/annotation/toolHotKeyIcon/icon_last_kj.svg.js +6 -1
  108. package/dist/assets/annotation/toolHotKeyIcon/icon_last_kj.svg.js.map +1 -0
  109. package/dist/assets/annotation/toolHotKeyIcon/icon_lineActive_kj.svg.js +6 -1
  110. package/dist/assets/annotation/toolHotKeyIcon/icon_lineActive_kj.svg.js.map +1 -0
  111. package/dist/assets/annotation/toolHotKeyIcon/icon_lineChange_kj.svg.js +6 -1
  112. package/dist/assets/annotation/toolHotKeyIcon/icon_lineChange_kj.svg.js.map +1 -0
  113. package/dist/assets/annotation/toolHotKeyIcon/icon_lineCont_kj.svg.js +6 -1
  114. package/dist/assets/annotation/toolHotKeyIcon/icon_lineCont_kj.svg.js.map +1 -0
  115. package/dist/assets/annotation/toolHotKeyIcon/icon_lineDel_kj.svg.js +6 -1
  116. package/dist/assets/annotation/toolHotKeyIcon/icon_lineDel_kj.svg.js.map +1 -0
  117. package/dist/assets/annotation/toolHotKeyIcon/icon_lineInsert_kj.svg.js +6 -1
  118. package/dist/assets/annotation/toolHotKeyIcon/icon_lineInsert_kj.svg.js.map +1 -0
  119. package/dist/assets/annotation/toolHotKeyIcon/icon_lineNull_kj.svg.js +6 -1
  120. package/dist/assets/annotation/toolHotKeyIcon/icon_lineNull_kj.svg.js.map +1 -0
  121. package/dist/assets/annotation/toolHotKeyIcon/icon_lineSpecial_kj.svg.js +6 -1
  122. package/dist/assets/annotation/toolHotKeyIcon/icon_lineSpecial_kj.svg.js.map +1 -0
  123. package/dist/assets/annotation/toolHotKeyIcon/icon_line_kj.svg.js +6 -1
  124. package/dist/assets/annotation/toolHotKeyIcon/icon_line_kj.svg.js.map +1 -0
  125. package/dist/assets/annotation/toolHotKeyIcon/icon_loupe_kj.svg.js +6 -1
  126. package/dist/assets/annotation/toolHotKeyIcon/icon_loupe_kj.svg.js.map +1 -0
  127. package/dist/assets/annotation/toolHotKeyIcon/icon_mouse_left_kj.svg.js +6 -1
  128. package/dist/assets/annotation/toolHotKeyIcon/icon_mouse_left_kj.svg.js.map +1 -0
  129. package/dist/assets/annotation/toolHotKeyIcon/icon_mouse_middle_kj.svg.js +6 -1
  130. package/dist/assets/annotation/toolHotKeyIcon/icon_mouse_middle_kj.svg.js.map +1 -0
  131. package/dist/assets/annotation/toolHotKeyIcon/icon_mouse_right_kj.svg.js +6 -1
  132. package/dist/assets/annotation/toolHotKeyIcon/icon_mouse_right_kj.svg.js.map +1 -0
  133. package/dist/assets/annotation/toolHotKeyIcon/icon_move_kj.svg.js +6 -1
  134. package/dist/assets/annotation/toolHotKeyIcon/icon_move_kj.svg.js.map +1 -0
  135. package/dist/assets/annotation/toolHotKeyIcon/icon_next_kj.svg.js +6 -1
  136. package/dist/assets/annotation/toolHotKeyIcon/icon_next_kj.svg.js.map +1 -0
  137. package/dist/assets/annotation/toolHotKeyIcon/icon_noDisplay.svg.js +6 -1
  138. package/dist/assets/annotation/toolHotKeyIcon/icon_noDisplay.svg.js.map +1 -0
  139. package/dist/assets/annotation/toolHotKeyIcon/icon_playPause.svg.js +6 -1
  140. package/dist/assets/annotation/toolHotKeyIcon/icon_playPause.svg.js.map +1 -0
  141. package/dist/assets/annotation/toolHotKeyIcon/icon_pointActive_kj.svg.js +6 -1
  142. package/dist/assets/annotation/toolHotKeyIcon/icon_pointActive_kj.svg.js.map +1 -0
  143. package/dist/assets/annotation/toolHotKeyIcon/icon_pointNull_kj.svg.js +6 -1
  144. package/dist/assets/annotation/toolHotKeyIcon/icon_pointNull_kj.svg.js.map +1 -0
  145. package/dist/assets/annotation/toolHotKeyIcon/icon_point_kj.svg.js +6 -1
  146. package/dist/assets/annotation/toolHotKeyIcon/icon_point_kj.svg.js.map +1 -0
  147. package/dist/assets/annotation/toolHotKeyIcon/icon_polygonActive_kj.svg.js +6 -1
  148. package/dist/assets/annotation/toolHotKeyIcon/icon_polygonActive_kj.svg.js.map +1 -0
  149. package/dist/assets/annotation/toolHotKeyIcon/icon_polygonChange_kj.svg.js +6 -1
  150. package/dist/assets/annotation/toolHotKeyIcon/icon_polygonChange_kj.svg.js.map +1 -0
  151. package/dist/assets/annotation/toolHotKeyIcon/icon_polygonDel_kj.svg.js +6 -1
  152. package/dist/assets/annotation/toolHotKeyIcon/icon_polygonDel_kj.svg.js.map +1 -0
  153. package/dist/assets/annotation/toolHotKeyIcon/icon_polygonInsert_kj.svg.js +6 -1
  154. package/dist/assets/annotation/toolHotKeyIcon/icon_polygonInsert_kj.svg.js.map +1 -0
  155. package/dist/assets/annotation/toolHotKeyIcon/icon_polygonMerge_kj.svg.js +6 -1
  156. package/dist/assets/annotation/toolHotKeyIcon/icon_polygonMerge_kj.svg.js.map +1 -0
  157. package/dist/assets/annotation/toolHotKeyIcon/icon_polygonNull_kj.svg.js +6 -1
  158. package/dist/assets/annotation/toolHotKeyIcon/icon_polygonNull_kj.svg.js.map +1 -0
  159. package/dist/assets/annotation/toolHotKeyIcon/icon_reform_kj.svg.js +6 -1
  160. package/dist/assets/annotation/toolHotKeyIcon/icon_reform_kj.svg.js.map +1 -0
  161. package/dist/assets/annotation/toolHotKeyIcon/icon_reload_kj.svg.js +6 -1
  162. package/dist/assets/annotation/toolHotKeyIcon/icon_reload_kj.svg.js.map +1 -0
  163. package/dist/assets/annotation/toolHotKeyIcon/icon_save_kj.svg.js +6 -1
  164. package/dist/assets/annotation/toolHotKeyIcon/icon_save_kj.svg.js.map +1 -0
  165. package/dist/assets/annotation/toolHotKeyIcon/icon_segment.svg.js +6 -1
  166. package/dist/assets/annotation/toolHotKeyIcon/icon_segment.svg.js.map +1 -0
  167. package/dist/assets/annotation/toolHotKeyIcon/icon_speed_kj.svg.js +6 -1
  168. package/dist/assets/annotation/toolHotKeyIcon/icon_speed_kj.svg.js.map +1 -0
  169. package/dist/assets/annotation/toolHotKeyIcon/icon_straightLine_kj.svg.js +6 -1
  170. package/dist/assets/annotation/toolHotKeyIcon/icon_straightLine_kj.svg.js.map +1 -0
  171. package/dist/assets/annotation/toolHotKeyIcon/icon_tab_kj.svg.js +6 -1
  172. package/dist/assets/annotation/toolHotKeyIcon/icon_tab_kj.svg.js.map +1 -0
  173. package/dist/assets/annotation/toolHotKeyIcon/icon_tag_kj.svg.js +6 -1
  174. package/dist/assets/annotation/toolHotKeyIcon/icon_tag_kj.svg.js.map +1 -0
  175. package/dist/assets/annotation/toolHotKeyIcon/icon_unGrip_kj.svg.js +6 -1
  176. package/dist/assets/annotation/toolHotKeyIcon/icon_unGrip_kj.svg.js.map +1 -0
  177. package/dist/assets/annotation/toolHotKeyIcon/setValid.svg.js +6 -1
  178. package/dist/assets/annotation/toolHotKeyIcon/setValid.svg.js.map +1 -0
  179. package/dist/assets/annotation/video/icon_keyboard_h.svg.js +6 -1
  180. package/dist/assets/annotation/video/icon_keyboard_h.svg.js.map +1 -0
  181. package/dist/assets/attributeIcon/eraser.svg.js +6 -1
  182. package/dist/assets/attributeIcon/eraser.svg.js.map +1 -0
  183. package/dist/assets/attributeIcon/eraser_a.svg.js +6 -1
  184. package/dist/assets/attributeIcon/eraser_a.svg.js.map +1 -0
  185. package/dist/assets/attributeIcon/pen.svg.js +6 -1
  186. package/dist/assets/attributeIcon/pen.svg.js.map +1 -0
  187. package/dist/assets/attributeIcon/pen_a.svg.js +6 -1
  188. package/dist/assets/attributeIcon/pen_a.svg.js.map +1 -0
  189. package/dist/assets/attributeIcon/zoomUp.svg.js +6 -1
  190. package/dist/assets/attributeIcon/zoomUp.svg.js.map +1 -0
  191. package/dist/assets/predictTracking/icon.svg.js +6 -1
  192. package/dist/assets/predictTracking/icon.svg.js.map +1 -0
  193. package/dist/assets/toolStyle/icon_border.svg.js +6 -1
  194. package/dist/assets/toolStyle/icon_border.svg.js.map +1 -0
  195. package/dist/assets/toolStyle/icon_borderColor.svg.js +6 -1
  196. package/dist/assets/toolStyle/icon_borderColor.svg.js.map +1 -0
  197. package/dist/assets/toolStyle/icon_opacityFill.svg.js +6 -1
  198. package/dist/assets/toolStyle/icon_opacityFill.svg.js.map +1 -0
  199. package/dist/assets/toolStyle/icon_opacityStroke.svg.js +6 -1
  200. package/dist/assets/toolStyle/icon_opacityStroke.svg.js.map +1 -0
  201. package/dist/components/AnnotationView/index.js +160 -1
  202. package/dist/components/AnnotationView/index.js.map +1 -0
  203. package/dist/components/AnnotationView/pointCloudAnnotationView.js +85 -1
  204. package/dist/components/AnnotationView/pointCloudAnnotationView.js.map +1 -0
  205. package/dist/components/annotationStepPopover/index.js +39 -1
  206. package/dist/components/annotationStepPopover/index.js.map +1 -0
  207. package/dist/components/attributeList/index.js +66 -1
  208. package/dist/components/attributeList/index.js.map +1 -0
  209. package/dist/components/checkboxList/index.js +39 -1
  210. package/dist/components/checkboxList/index.js.map +1 -0
  211. package/dist/components/colorTag/index.js +38 -1
  212. package/dist/components/colorTag/index.js.map +1 -0
  213. package/dist/components/customAntd/IconWithText/index.js +59 -1
  214. package/dist/components/customAntd/IconWithText/index.js.map +1 -0
  215. package/dist/components/customResizeHook/index.js +95 -1
  216. package/dist/components/customResizeHook/index.js.map +1 -0
  217. package/dist/components/fileException/FileError.js +61 -1
  218. package/dist/components/fileException/FileError.js.map +1 -0
  219. package/dist/components/fileException/FileInvalid.js +31 -1
  220. package/dist/components/fileException/FileInvalid.js.map +1 -0
  221. package/dist/components/fileException/index.js +38 -1
  222. package/dist/components/fileException/index.js.map +1 -0
  223. package/dist/components/pointCloudView/PointCloud2DView.js +153 -1
  224. package/dist/components/pointCloudView/PointCloud2DView.js.map +1 -0
  225. package/dist/components/pointCloudView/PointCloud3DView.js +234 -1
  226. package/dist/components/pointCloudView/PointCloud3DView.js.map +1 -0
  227. package/dist/components/pointCloudView/PointCloudBackView.js +138 -1
  228. package/dist/components/pointCloudView/PointCloudBackView.js.map +1 -0
  229. package/dist/components/pointCloudView/PointCloudContext.js +257 -1
  230. package/dist/components/pointCloudView/PointCloudContext.js.map +1 -0
  231. package/dist/components/pointCloudView/PointCloudInfos.js +146 -1
  232. package/dist/components/pointCloudView/PointCloudInfos.js.map +1 -0
  233. package/dist/components/pointCloudView/PointCloudLayout.js +28 -1
  234. package/dist/components/pointCloudView/PointCloudLayout.js.map +1 -0
  235. package/dist/components/pointCloudView/PointCloudListener.js +347 -1
  236. package/dist/components/pointCloudView/PointCloudListener.js.map +1 -0
  237. package/dist/components/pointCloudView/PointCloudSegment.js +62 -0
  238. package/dist/components/pointCloudView/PointCloudSegment.js.map +1 -0
  239. package/dist/components/pointCloudView/PointCloudSideView.js +135 -1
  240. package/dist/components/pointCloudView/PointCloudSideView.js.map +1 -0
  241. package/dist/components/pointCloudView/PointCloudTopView.js +339 -1
  242. package/dist/components/pointCloudView/PointCloudTopView.js.map +1 -0
  243. package/dist/components/pointCloudView/components/EmptyPage/index.js +24 -1
  244. package/dist/components/pointCloudView/components/EmptyPage/index.js.map +1 -0
  245. package/dist/components/pointCloudView/components/UnifyParamsModal/index.js +240 -1
  246. package/dist/components/pointCloudView/components/UnifyParamsModal/index.js.map +1 -0
  247. package/dist/components/pointCloudView/hooks/useAttribute.js +53 -1
  248. package/dist/components/pointCloudView/hooks/useAttribute.js.map +1 -0
  249. package/dist/components/pointCloudView/hooks/useBoxes.js +81 -1
  250. package/dist/components/pointCloudView/hooks/useBoxes.js.map +1 -0
  251. package/dist/components/pointCloudView/hooks/useConfig.js +33 -1
  252. package/dist/components/pointCloudView/hooks/useConfig.js.map +1 -0
  253. package/dist/components/pointCloudView/hooks/useHistory.js +173 -1
  254. package/dist/components/pointCloudView/hooks/useHistory.js.map +1 -0
  255. package/dist/components/pointCloudView/hooks/useLine.js +74 -1
  256. package/dist/components/pointCloudView/hooks/useLine.js.map +1 -0
  257. package/dist/components/pointCloudView/hooks/usePointCloudViews.js +759 -1
  258. package/dist/components/pointCloudView/hooks/usePointCloudViews.js.map +1 -0
  259. package/dist/components/pointCloudView/hooks/usePolygon.js +74 -1
  260. package/dist/components/pointCloudView/hooks/usePolygon.js.map +1 -0
  261. package/dist/components/pointCloudView/hooks/useRotate.js +47 -1
  262. package/dist/components/pointCloudView/hooks/useRotate.js.map +1 -0
  263. package/dist/components/pointCloudView/hooks/useSingleBox.js +176 -1
  264. package/dist/components/pointCloudView/hooks/useSingleBox.js.map +1 -0
  265. package/dist/components/pointCloudView/hooks/useSphere.js +51 -1
  266. package/dist/components/pointCloudView/hooks/useSphere.js.map +1 -0
  267. package/dist/components/pointCloudView/hooks/useStatus.js +92 -1
  268. package/dist/components/pointCloudView/hooks/useStatus.js.map +1 -0
  269. package/dist/components/pointCloudView/hooks/useZoom.js +42 -1
  270. package/dist/components/pointCloudView/hooks/useZoom.js.map +1 -0
  271. package/dist/components/pointCloudView/index.js +59 -1
  272. package/dist/components/pointCloudView/index.js.map +1 -0
  273. package/dist/components/predictTracking/index.js +8 -1
  274. package/dist/components/predictTracking/index.js.map +1 -0
  275. package/dist/components/predictTracking/predictTrackingIcon/index.js +104 -1
  276. package/dist/components/predictTracking/predictTrackingIcon/index.js.map +1 -0
  277. package/dist/components/predictTracking/previewResult/index.js +196 -1
  278. package/dist/components/predictTracking/previewResult/index.js.map +1 -0
  279. package/dist/components/predictTracking/previewResult/util.js +144 -1
  280. package/dist/components/predictTracking/previewResult/util.js.map +1 -0
  281. package/dist/components/videoAnnotate/index.js +50 -1
  282. package/dist/components/videoAnnotate/index.js.map +1 -0
  283. package/dist/components/videoPlayer/TagToolInstanceAdaptor.js +233 -1
  284. package/dist/components/videoPlayer/TagToolInstanceAdaptor.js.map +1 -0
  285. package/dist/components/videoPlayer/TagToolInstanceAdaptorI18nProvider.js +40 -1
  286. package/dist/components/videoPlayer/TagToolInstanceAdaptorI18nProvider.js.map +1 -0
  287. package/dist/components/videoPlayer/VideoTagLayer.js +37 -1
  288. package/dist/components/videoPlayer/VideoTagLayer.js.map +1 -0
  289. package/dist/components/videoPlayer/components/controller/index.js +131 -1
  290. package/dist/components/videoPlayer/components/controller/index.js.map +1 -0
  291. package/dist/components/videoPlayer/index.js +267 -1
  292. package/dist/components/videoPlayer/index.js.map +1 -0
  293. package/dist/components/videoPlayer/utils.js +59 -1
  294. package/dist/components/videoPlayer/utils.js.map +1 -0
  295. package/dist/configureStore.js +16 -1
  296. package/dist/configureStore.js.map +1 -0
  297. package/dist/constant/index.js +32 -1
  298. package/dist/constant/index.js.map +1 -0
  299. package/dist/constant/styleString.js +6 -1
  300. package/dist/constant/styleString.js.map +1 -0
  301. package/dist/data/Style.js +113 -1
  302. package/dist/data/Style.js.map +1 -0
  303. package/dist/data/enums/AnnotationSize.js +39 -1
  304. package/dist/data/enums/AnnotationSize.js.map +1 -0
  305. package/dist/data/enums/ToolType.js +44 -1
  306. package/dist/data/enums/ToolType.js.map +1 -0
  307. package/dist/hooks/annotation.js +81 -1
  308. package/dist/hooks/annotation.js.map +1 -0
  309. package/dist/hooks/useRafState.js +21 -1
  310. package/dist/hooks/useRafState.js.map +1 -0
  311. package/dist/hooks/useRefCache.js +14 -1
  312. package/dist/hooks/useRefCache.js.map +1 -0
  313. package/dist/hooks/useSafeSate.js +22 -1
  314. package/dist/hooks/useSafeSate.js.map +1 -0
  315. package/dist/hooks/useSize.js +45 -1
  316. package/dist/hooks/useSize.js.map +1 -0
  317. package/dist/hooks/useUnmountedRef.js +17 -1
  318. package/dist/hooks/useUnmountedRef.js.map +1 -0
  319. package/dist/index.js +90 -1
  320. package/dist/index.js.map +1 -0
  321. package/dist/store/Actions.js +57 -1
  322. package/dist/store/Actions.js.map +1 -0
  323. package/dist/store/annotation/actionCreators.js +488 -1
  324. package/dist/store/annotation/actionCreators.js.map +1 -0
  325. package/dist/store/annotation/map.js +26 -1
  326. package/dist/store/annotation/map.js.map +1 -0
  327. package/dist/store/annotation/reducer.js +669 -1
  328. package/dist/store/annotation/reducer.js.map +1 -0
  329. package/dist/store/annotation/selectors.js +15 -1
  330. package/dist/store/annotation/selectors.js.map +1 -0
  331. package/dist/store/ctx.js +19 -1
  332. package/dist/store/ctx.js.map +1 -0
  333. package/dist/store/imgAttribute/actionCreators.js +27 -1
  334. package/dist/store/imgAttribute/actionCreators.js.map +1 -0
  335. package/dist/store/imgAttribute/reducer.js +44 -1
  336. package/dist/store/imgAttribute/reducer.js.map +1 -0
  337. package/dist/store/index.js +17 -1
  338. package/dist/store/index.js.map +1 -0
  339. package/dist/store/toolStyle/actionCreators.js +22 -1
  340. package/dist/store/toolStyle/actionCreators.js.map +1 -0
  341. package/dist/store/toolStyle/reducer.js +54 -1
  342. package/dist/store/toolStyle/reducer.js.map +1 -0
  343. package/dist/types/components/pointCloudView/PointCloudSegment.d.ts +6 -0
  344. package/dist/types/components/predictTracking/previewResult/util.d.ts +2 -1
  345. package/dist/types/store/annotation/actionCreators.d.ts +1 -1
  346. package/dist/types/views/MainView/toolHeader/SwitchPattern/index.d.ts +5 -0
  347. package/dist/utils/AnnotationDataUtils.js +171 -1
  348. package/dist/utils/AnnotationDataUtils.js.map +1 -0
  349. package/dist/utils/ConfigUtils.js +22 -1
  350. package/dist/utils/ConfigUtils.js.map +1 -0
  351. package/dist/utils/PageOperator.js +99 -1
  352. package/dist/utils/PageOperator.js.map +1 -0
  353. package/dist/utils/StepUtils.js +29 -1
  354. package/dist/utils/StepUtils.js.map +1 -0
  355. package/dist/utils/TextUtils.js +45 -1
  356. package/dist/utils/TextUtils.js.map +1 -0
  357. package/dist/utils/ToolStyleUtils.js +96 -1
  358. package/dist/utils/ToolStyleUtils.js.map +1 -0
  359. package/dist/utils/ToolUtils.js +19 -1
  360. package/dist/utils/ToolUtils.js.map +1 -0
  361. package/dist/utils/data.js +77 -1
  362. package/dist/utils/data.js.map +1 -0
  363. package/dist/utils/dom.js +25 -1
  364. package/dist/utils/dom.js.map +1 -0
  365. package/dist/utils/index.js +39 -1
  366. package/dist/utils/index.js.map +1 -0
  367. package/dist/views/MainView/annotationOperation/index.js +175 -1
  368. package/dist/views/MainView/annotationOperation/index.js.map +1 -0
  369. package/dist/views/MainView/annotationTips/index.js +32 -1
  370. package/dist/views/MainView/annotationTips/index.js.map +1 -0
  371. package/dist/views/MainView/index.js +122 -1
  372. package/dist/views/MainView/index.js.map +1 -0
  373. package/dist/views/MainView/sidebar/AnnotationText/index.js +47 -1
  374. package/dist/views/MainView/sidebar/AnnotationText/index.js.map +1 -0
  375. package/dist/views/MainView/sidebar/ClearIcon/index.js +37 -1
  376. package/dist/views/MainView/sidebar/ClearIcon/index.js.map +1 -0
  377. package/dist/views/MainView/sidebar/GeneralOperation/ActionsConfirm.js +101 -1
  378. package/dist/views/MainView/sidebar/GeneralOperation/ActionsConfirm.js.map +1 -0
  379. package/dist/views/MainView/sidebar/GeneralOperation/index.js +95 -1
  380. package/dist/views/MainView/sidebar/GeneralOperation/index.js.map +1 -0
  381. package/dist/views/MainView/sidebar/GeneralOperation/useOperationList.js +94 -1
  382. package/dist/views/MainView/sidebar/GeneralOperation/useOperationList.js.map +1 -0
  383. package/dist/views/MainView/sidebar/ImgAttributeInfo/index.js +134 -1
  384. package/dist/views/MainView/sidebar/ImgAttributeInfo/index.js.map +1 -0
  385. package/dist/views/MainView/sidebar/PointCloudToolSidebar/components/batchUpdateModal/index.js +128 -1
  386. package/dist/views/MainView/sidebar/PointCloudToolSidebar/components/batchUpdateModal/index.js.map +1 -0
  387. package/dist/views/MainView/sidebar/PointCloudToolSidebar/index.js +253 -1
  388. package/dist/views/MainView/sidebar/PointCloudToolSidebar/index.js.map +1 -0
  389. package/dist/views/MainView/sidebar/ScribbleSidebar/index.js +64 -1
  390. package/dist/views/MainView/sidebar/ScribbleSidebar/index.js.map +1 -0
  391. package/dist/views/MainView/sidebar/SwitchAttributeList/index.js +79 -1
  392. package/dist/views/MainView/sidebar/SwitchAttributeList/index.js.map +1 -0
  393. package/dist/views/MainView/sidebar/TagSidebar/index.js +187 -1
  394. package/dist/views/MainView/sidebar/TagSidebar/index.js.map +1 -0
  395. package/dist/views/MainView/sidebar/TextAreaFormat/index.js +112 -1
  396. package/dist/views/MainView/sidebar/TextAreaFormat/index.js.map +1 -0
  397. package/dist/views/MainView/sidebar/TextToolSidebar/index.js +235 -1
  398. package/dist/views/MainView/sidebar/TextToolSidebar/index.js.map +1 -0
  399. package/dist/views/MainView/sidebar/ToolIcons.js +87 -1
  400. package/dist/views/MainView/sidebar/ToolIcons.js.map +1 -0
  401. package/dist/views/MainView/sidebar/ToolStyle/index.js +162 -1
  402. package/dist/views/MainView/sidebar/ToolStyle/index.js.map +1 -0
  403. package/dist/views/MainView/sidebar/index.js +156 -1
  404. package/dist/views/MainView/sidebar/index.js.map +1 -0
  405. package/dist/views/MainView/toolFooter/AnnotatedAttributes/index.js +211 -1
  406. package/dist/views/MainView/toolFooter/AnnotatedAttributes/index.js.map +1 -0
  407. package/dist/views/MainView/toolFooter/FooterPopover.js +54 -1
  408. package/dist/views/MainView/toolFooter/FooterPopover.js.map +1 -0
  409. package/dist/views/MainView/toolFooter/FooterTips/ToolHotKey/common/index.js +149 -1
  410. package/dist/views/MainView/toolFooter/FooterTips/ToolHotKey/common/index.js.map +1 -0
  411. package/dist/views/MainView/toolFooter/FooterTips/ToolHotKey/cuboid/index.js +26 -1
  412. package/dist/views/MainView/toolFooter/FooterTips/ToolHotKey/cuboid/index.js.map +1 -0
  413. package/dist/views/MainView/toolFooter/FooterTips/ToolHotKey/index.js +226 -1
  414. package/dist/views/MainView/toolFooter/FooterTips/ToolHotKey/index.js.map +1 -0
  415. package/dist/views/MainView/toolFooter/FooterTips/ToolHotKey/line/index.js +111 -1
  416. package/dist/views/MainView/toolFooter/FooterTips/ToolHotKey/line/index.js.map +1 -0
  417. package/dist/views/MainView/toolFooter/FooterTips/ToolHotKey/point/index.js +55 -1
  418. package/dist/views/MainView/toolFooter/FooterTips/ToolHotKey/point/index.js.map +1 -0
  419. package/dist/views/MainView/toolFooter/FooterTips/ToolHotKey/pointCloud/index.js +174 -1
  420. package/dist/views/MainView/toolFooter/FooterTips/ToolHotKey/pointCloud/index.js.map +1 -0
  421. package/dist/views/MainView/toolFooter/FooterTips/ToolHotKey/polygon/index.js +117 -1
  422. package/dist/views/MainView/toolFooter/FooterTips/ToolHotKey/polygon/index.js.map +1 -0
  423. package/dist/views/MainView/toolFooter/FooterTips/ToolHotKey/rectToolShortCutTable/index.js +71 -1
  424. package/dist/views/MainView/toolFooter/FooterTips/ToolHotKey/rectToolShortCutTable/index.js.map +1 -0
  425. package/dist/views/MainView/toolFooter/FooterTips/ToolHotKey/scribble/index.js +18 -1
  426. package/dist/views/MainView/toolFooter/FooterTips/ToolHotKey/scribble/index.js.map +1 -0
  427. package/dist/views/MainView/toolFooter/FooterTips/ToolHotKey/tag/index.js +25 -1
  428. package/dist/views/MainView/toolFooter/FooterTips/ToolHotKey/tag/index.js.map +1 -0
  429. package/dist/views/MainView/toolFooter/FooterTips/ToolHotKey/text/index.js +18 -1
  430. package/dist/views/MainView/toolFooter/FooterTips/ToolHotKey/text/index.js.map +1 -0
  431. package/dist/views/MainView/toolFooter/FooterTips/ToolHotKey/videoTag/index.js +28 -1
  432. package/dist/views/MainView/toolFooter/FooterTips/ToolHotKey/videoTag/index.js.map +1 -0
  433. package/dist/views/MainView/toolFooter/FooterTips/index.js +23 -1
  434. package/dist/views/MainView/toolFooter/FooterTips/index.js.map +1 -0
  435. package/dist/views/MainView/toolFooter/HiddenTips/index.js +45 -1
  436. package/dist/views/MainView/toolFooter/HiddenTips/index.js.map +1 -0
  437. package/dist/views/MainView/toolFooter/PageNumber/index.js +48 -1
  438. package/dist/views/MainView/toolFooter/PageNumber/index.js.map +1 -0
  439. package/dist/views/MainView/toolFooter/Pagination.js +91 -1
  440. package/dist/views/MainView/toolFooter/Pagination.js.map +1 -0
  441. package/dist/views/MainView/toolFooter/ZoomController/ZoomLevel/index.js +39 -1
  442. package/dist/views/MainView/toolFooter/ZoomController/ZoomLevel/index.js.map +1 -0
  443. package/dist/views/MainView/toolFooter/ZoomController/index.js +72 -1
  444. package/dist/views/MainView/toolFooter/ZoomController/index.js.map +1 -0
  445. package/dist/views/MainView/toolFooter/index.js +135 -1
  446. package/dist/views/MainView/toolFooter/index.js.map +1 -0
  447. package/dist/views/MainView/toolHeader/ExportData/index.js +44 -1
  448. package/dist/views/MainView/toolHeader/ExportData/index.js.map +1 -0
  449. package/dist/views/MainView/toolHeader/StepSwitch/index.js +47 -1
  450. package/dist/views/MainView/toolHeader/StepSwitch/index.js.map +1 -0
  451. package/dist/views/MainView/toolHeader/SwitchPattern/index.js +59 -0
  452. package/dist/views/MainView/toolHeader/SwitchPattern/index.js.map +1 -0
  453. package/dist/views/MainView/toolHeader/headerOption/index.js +151 -1
  454. package/dist/views/MainView/toolHeader/headerOption/index.js.map +1 -0
  455. package/dist/views/MainView/toolHeader/index.js +180 -1
  456. package/dist/views/MainView/toolHeader/index.js.map +1 -0
  457. package/es/App.js +138 -1
  458. package/es/App.js.map +1 -0
  459. package/es/assets/annotation/common/icon_adapt.svg.js +4 -1
  460. package/es/assets/annotation/common/icon_adapt.svg.js.map +1 -0
  461. package/es/assets/annotation/common/icon_adapt_black.svg.js +4 -1
  462. package/es/assets/annotation/common/icon_adapt_black.svg.js.map +1 -0
  463. package/es/assets/annotation/common/icon_back.svg.js +4 -1
  464. package/es/assets/annotation/common/icon_back.svg.js.map +1 -0
  465. package/es/assets/annotation/common/icon_backA.svg.js +4 -1
  466. package/es/assets/annotation/common/icon_backA.svg.js.map +1 -0
  467. package/es/assets/annotation/common/icon_clear.svg.js +4 -1
  468. package/es/assets/annotation/common/icon_clear.svg.js.map +1 -0
  469. package/es/assets/annotation/common/icon_clearSmall.svg.js +4 -1
  470. package/es/assets/annotation/common/icon_clearSmall.svg.js.map +1 -0
  471. package/es/assets/annotation/common/icon_clearSmall_a.svg.js +4 -1
  472. package/es/assets/annotation/common/icon_clearSmall_a.svg.js.map +1 -0
  473. package/es/assets/annotation/common/icon_clear_a.svg.js +4 -1
  474. package/es/assets/annotation/common/icon_clear_a.svg.js.map +1 -0
  475. package/es/assets/annotation/common/icon_invalid.svg.js +4 -1
  476. package/es/assets/annotation/common/icon_invalid.svg.js.map +1 -0
  477. package/es/assets/annotation/common/icon_invalid_a.svg.js +4 -1
  478. package/es/assets/annotation/common/icon_invalid_a.svg.js.map +1 -0
  479. package/es/assets/annotation/common/icon_next.svg.js +4 -1
  480. package/es/assets/annotation/common/icon_next.svg.js.map +1 -0
  481. package/es/assets/annotation/common/icon_nextA.svg.js +4 -1
  482. package/es/assets/annotation/common/icon_nextA.svg.js.map +1 -0
  483. package/es/assets/annotation/common/icon_r.svg.js +4 -1
  484. package/es/assets/annotation/common/icon_r.svg.js.map +1 -0
  485. package/es/assets/annotation/common/icon_rA.svg.js +4 -1
  486. package/es/assets/annotation/common/icon_rA.svg.js.map +1 -0
  487. package/es/assets/annotation/common/icon_save.svg.js +4 -1
  488. package/es/assets/annotation/common/icon_save.svg.js.map +1 -0
  489. package/es/assets/annotation/common/icon_saveA.svg.js +4 -1
  490. package/es/assets/annotation/common/icon_saveA.svg.js.map +1 -0
  491. package/es/assets/annotation/image/brightness.svg.js +4 -1
  492. package/es/assets/annotation/image/brightness.svg.js.map +1 -0
  493. package/es/assets/annotation/image/contrast.svg.js +4 -1
  494. package/es/assets/annotation/image/contrast.svg.js.map +1 -0
  495. package/es/assets/annotation/image/icon_yuantu.svg.js +4 -1
  496. package/es/assets/annotation/image/icon_yuantu.svg.js.map +1 -0
  497. package/es/assets/annotation/image/saturation.svg.js +4 -1
  498. package/es/assets/annotation/image/saturation.svg.js.map +1 -0
  499. package/es/assets/annotation/lineTool/icon_line.svg.js +4 -1
  500. package/es/assets/annotation/lineTool/icon_line.svg.js.map +1 -0
  501. package/es/assets/annotation/lineTool/icon_line_a.svg.js +4 -1
  502. package/es/assets/annotation/lineTool/icon_line_a.svg.js.map +1 -0
  503. package/es/assets/annotation/pointCloudTool/changePointCloudValid.svg.js +4 -1
  504. package/es/assets/annotation/pointCloudTool/changePointCloudValid.svg.js.map +1 -0
  505. package/es/assets/annotation/pointCloudTool/copy.svg.js +4 -1
  506. package/es/assets/annotation/pointCloudTool/copy.svg.js.map +1 -0
  507. package/es/assets/annotation/pointCloudTool/nextBox.svg.js +4 -1
  508. package/es/assets/annotation/pointCloudTool/nextBox.svg.js.map +1 -0
  509. package/es/assets/annotation/pointCloudTool/nodata.svg.js +4 -1
  510. package/es/assets/annotation/pointCloudTool/nodata.svg.js.map +1 -0
  511. package/es/assets/annotation/pointCloudTool/patse.svg.js +4 -1
  512. package/es/assets/annotation/pointCloudTool/patse.svg.js.map +1 -0
  513. package/es/assets/annotation/pointCloudTool/prevBox.svg.js +4 -1
  514. package/es/assets/annotation/pointCloudTool/prevBox.svg.js.map +1 -0
  515. package/es/assets/annotation/pointCloudTool/rotate180_black.svg.js +4 -1
  516. package/es/assets/annotation/pointCloudTool/rotate180_black.svg.js.map +1 -0
  517. package/es/assets/annotation/pointCloudTool/selectAll.svg.js +4 -1
  518. package/es/assets/annotation/pointCloudTool/selectAll.svg.js.map +1 -0
  519. package/es/assets/annotation/pointCloudTool/selectMultiple.svg.js +4 -1
  520. package/es/assets/annotation/pointCloudTool/selectMultiple.svg.js.map +1 -0
  521. package/es/assets/annotation/pointCloudTool/unitAttribute.svg.js +4 -1
  522. package/es/assets/annotation/pointCloudTool/unitAttribute.svg.js.map +1 -0
  523. package/es/assets/annotation/pointCloudTool/unitAttributeForbid.svg.js +4 -1
  524. package/es/assets/annotation/pointCloudTool/unitAttributeForbid.svg.js.map +1 -0
  525. package/es/assets/annotation/pointCloudTool/unitAttributeHover.svg.js +4 -1
  526. package/es/assets/annotation/pointCloudTool/unitAttributeHover.svg.js.map +1 -0
  527. package/es/assets/annotation/pointTool/icon_point.svg.js +4 -1
  528. package/es/assets/annotation/pointTool/icon_point.svg.js.map +1 -0
  529. package/es/assets/annotation/pointTool/icon_point_a.svg.js +4 -1
  530. package/es/assets/annotation/pointTool/icon_point_a.svg.js.map +1 -0
  531. package/es/assets/annotation/polygonTool/icon_polygon.svg.js +4 -1
  532. package/es/assets/annotation/polygonTool/icon_polygon.svg.js.map +1 -0
  533. package/es/assets/annotation/polygonTool/icon_polygon_a.svg.js +4 -1
  534. package/es/assets/annotation/polygonTool/icon_polygon_a.svg.js.map +1 -0
  535. package/es/assets/annotation/rectTool/icon_rect.svg.js +4 -1
  536. package/es/assets/annotation/rectTool/icon_rect.svg.js.map +1 -0
  537. package/es/assets/annotation/rectTool/icon_rectPattern.svg.js +4 -0
  538. package/es/assets/annotation/rectTool/icon_rectPattern.svg.js.map +1 -0
  539. package/es/assets/annotation/rectTool/icon_rect_a.svg.js +4 -1
  540. package/es/assets/annotation/rectTool/icon_rect_a.svg.js.map +1 -0
  541. package/es/assets/annotation/toolHotKeyIcon/icon_alttab_kj.svg.js +4 -1
  542. package/es/assets/annotation/toolHotKeyIcon/icon_alttab_kj.svg.js.map +1 -0
  543. package/es/assets/annotation/toolHotKeyIcon/icon_back_kj.svg.js +4 -1
  544. package/es/assets/annotation/toolHotKeyIcon/icon_back_kj.svg.js.map +1 -0
  545. package/es/assets/annotation/toolHotKeyIcon/icon_cencel_kj.svg.js +4 -1
  546. package/es/assets/annotation/toolHotKeyIcon/icon_cencel_kj.svg.js.map +1 -0
  547. package/es/assets/annotation/toolHotKeyIcon/icon_copyBackwardResult.svg.js +4 -0
  548. package/es/assets/annotation/toolHotKeyIcon/icon_copyBackwardResult.svg.js.map +1 -0
  549. package/es/assets/annotation/toolHotKeyIcon/icon_del_kj.svg.js +4 -1
  550. package/es/assets/annotation/toolHotKeyIcon/icon_del_kj.svg.js.map +1 -0
  551. package/es/assets/annotation/toolHotKeyIcon/icon_forward_kj.svg.js +4 -1
  552. package/es/assets/annotation/toolHotKeyIcon/icon_forward_kj.svg.js.map +1 -0
  553. package/es/assets/annotation/toolHotKeyIcon/icon_frameActive_kj.svg.js +4 -1
  554. package/es/assets/annotation/toolHotKeyIcon/icon_frameActive_kj.svg.js.map +1 -0
  555. package/es/assets/annotation/toolHotKeyIcon/icon_frameChange_kj.svg.js +4 -1
  556. package/es/assets/annotation/toolHotKeyIcon/icon_frameChange_kj.svg.js.map +1 -0
  557. package/es/assets/annotation/toolHotKeyIcon/icon_frameNull_kj.svg.js +4 -1
  558. package/es/assets/annotation/toolHotKeyIcon/icon_frameNull_kj.svg.js.map +1 -0
  559. package/es/assets/annotation/toolHotKeyIcon/icon_frame_kj.svg.js +4 -1
  560. package/es/assets/annotation/toolHotKeyIcon/icon_frame_kj.svg.js.map +1 -0
  561. package/es/assets/annotation/toolHotKeyIcon/icon_fullView_kj.svg.js +4 -1
  562. package/es/assets/annotation/toolHotKeyIcon/icon_fullView_kj.svg.js.map +1 -0
  563. package/es/assets/annotation/toolHotKeyIcon/icon_kj1.svg.js +4 -1
  564. package/es/assets/annotation/toolHotKeyIcon/icon_kj1.svg.js.map +1 -0
  565. package/es/assets/annotation/toolHotKeyIcon/icon_kj_h.svg.js +4 -1
  566. package/es/assets/annotation/toolHotKeyIcon/icon_kj_h.svg.js.map +1 -0
  567. package/es/assets/annotation/toolHotKeyIcon/icon_last_kj.svg.js +4 -1
  568. package/es/assets/annotation/toolHotKeyIcon/icon_last_kj.svg.js.map +1 -0
  569. package/es/assets/annotation/toolHotKeyIcon/icon_lineActive_kj.svg.js +4 -1
  570. package/es/assets/annotation/toolHotKeyIcon/icon_lineActive_kj.svg.js.map +1 -0
  571. package/es/assets/annotation/toolHotKeyIcon/icon_lineChange_kj.svg.js +4 -1
  572. package/es/assets/annotation/toolHotKeyIcon/icon_lineChange_kj.svg.js.map +1 -0
  573. package/es/assets/annotation/toolHotKeyIcon/icon_lineCont_kj.svg.js +4 -1
  574. package/es/assets/annotation/toolHotKeyIcon/icon_lineCont_kj.svg.js.map +1 -0
  575. package/es/assets/annotation/toolHotKeyIcon/icon_lineDel_kj.svg.js +4 -1
  576. package/es/assets/annotation/toolHotKeyIcon/icon_lineDel_kj.svg.js.map +1 -0
  577. package/es/assets/annotation/toolHotKeyIcon/icon_lineInsert_kj.svg.js +4 -1
  578. package/es/assets/annotation/toolHotKeyIcon/icon_lineInsert_kj.svg.js.map +1 -0
  579. package/es/assets/annotation/toolHotKeyIcon/icon_lineNull_kj.svg.js +4 -1
  580. package/es/assets/annotation/toolHotKeyIcon/icon_lineNull_kj.svg.js.map +1 -0
  581. package/es/assets/annotation/toolHotKeyIcon/icon_lineSpecial_kj.svg.js +4 -1
  582. package/es/assets/annotation/toolHotKeyIcon/icon_lineSpecial_kj.svg.js.map +1 -0
  583. package/es/assets/annotation/toolHotKeyIcon/icon_line_kj.svg.js +4 -1
  584. package/es/assets/annotation/toolHotKeyIcon/icon_line_kj.svg.js.map +1 -0
  585. package/es/assets/annotation/toolHotKeyIcon/icon_loupe_kj.svg.js +4 -1
  586. package/es/assets/annotation/toolHotKeyIcon/icon_loupe_kj.svg.js.map +1 -0
  587. package/es/assets/annotation/toolHotKeyIcon/icon_mouse_left_kj.svg.js +4 -1
  588. package/es/assets/annotation/toolHotKeyIcon/icon_mouse_left_kj.svg.js.map +1 -0
  589. package/es/assets/annotation/toolHotKeyIcon/icon_mouse_middle_kj.svg.js +4 -1
  590. package/es/assets/annotation/toolHotKeyIcon/icon_mouse_middle_kj.svg.js.map +1 -0
  591. package/es/assets/annotation/toolHotKeyIcon/icon_mouse_right_kj.svg.js +4 -1
  592. package/es/assets/annotation/toolHotKeyIcon/icon_mouse_right_kj.svg.js.map +1 -0
  593. package/es/assets/annotation/toolHotKeyIcon/icon_move_kj.svg.js +4 -1
  594. package/es/assets/annotation/toolHotKeyIcon/icon_move_kj.svg.js.map +1 -0
  595. package/es/assets/annotation/toolHotKeyIcon/icon_next_kj.svg.js +4 -1
  596. package/es/assets/annotation/toolHotKeyIcon/icon_next_kj.svg.js.map +1 -0
  597. package/es/assets/annotation/toolHotKeyIcon/icon_noDisplay.svg.js +4 -1
  598. package/es/assets/annotation/toolHotKeyIcon/icon_noDisplay.svg.js.map +1 -0
  599. package/es/assets/annotation/toolHotKeyIcon/icon_playPause.svg.js +4 -1
  600. package/es/assets/annotation/toolHotKeyIcon/icon_playPause.svg.js.map +1 -0
  601. package/es/assets/annotation/toolHotKeyIcon/icon_pointActive_kj.svg.js +4 -1
  602. package/es/assets/annotation/toolHotKeyIcon/icon_pointActive_kj.svg.js.map +1 -0
  603. package/es/assets/annotation/toolHotKeyIcon/icon_pointNull_kj.svg.js +4 -1
  604. package/es/assets/annotation/toolHotKeyIcon/icon_pointNull_kj.svg.js.map +1 -0
  605. package/es/assets/annotation/toolHotKeyIcon/icon_point_kj.svg.js +4 -1
  606. package/es/assets/annotation/toolHotKeyIcon/icon_point_kj.svg.js.map +1 -0
  607. package/es/assets/annotation/toolHotKeyIcon/icon_polygonActive_kj.svg.js +4 -1
  608. package/es/assets/annotation/toolHotKeyIcon/icon_polygonActive_kj.svg.js.map +1 -0
  609. package/es/assets/annotation/toolHotKeyIcon/icon_polygonChange_kj.svg.js +4 -1
  610. package/es/assets/annotation/toolHotKeyIcon/icon_polygonChange_kj.svg.js.map +1 -0
  611. package/es/assets/annotation/toolHotKeyIcon/icon_polygonDel_kj.svg.js +4 -1
  612. package/es/assets/annotation/toolHotKeyIcon/icon_polygonDel_kj.svg.js.map +1 -0
  613. package/es/assets/annotation/toolHotKeyIcon/icon_polygonInsert_kj.svg.js +4 -1
  614. package/es/assets/annotation/toolHotKeyIcon/icon_polygonInsert_kj.svg.js.map +1 -0
  615. package/es/assets/annotation/toolHotKeyIcon/icon_polygonMerge_kj.svg.js +4 -1
  616. package/es/assets/annotation/toolHotKeyIcon/icon_polygonMerge_kj.svg.js.map +1 -0
  617. package/es/assets/annotation/toolHotKeyIcon/icon_polygonNull_kj.svg.js +4 -1
  618. package/es/assets/annotation/toolHotKeyIcon/icon_polygonNull_kj.svg.js.map +1 -0
  619. package/es/assets/annotation/toolHotKeyIcon/icon_reform_kj.svg.js +4 -1
  620. package/es/assets/annotation/toolHotKeyIcon/icon_reform_kj.svg.js.map +1 -0
  621. package/es/assets/annotation/toolHotKeyIcon/icon_reload_kj.svg.js +4 -1
  622. package/es/assets/annotation/toolHotKeyIcon/icon_reload_kj.svg.js.map +1 -0
  623. package/es/assets/annotation/toolHotKeyIcon/icon_save_kj.svg.js +4 -1
  624. package/es/assets/annotation/toolHotKeyIcon/icon_save_kj.svg.js.map +1 -0
  625. package/es/assets/annotation/toolHotKeyIcon/icon_segment.svg.js +4 -1
  626. package/es/assets/annotation/toolHotKeyIcon/icon_segment.svg.js.map +1 -0
  627. package/es/assets/annotation/toolHotKeyIcon/icon_speed_kj.svg.js +4 -1
  628. package/es/assets/annotation/toolHotKeyIcon/icon_speed_kj.svg.js.map +1 -0
  629. package/es/assets/annotation/toolHotKeyIcon/icon_straightLine_kj.svg.js +4 -1
  630. package/es/assets/annotation/toolHotKeyIcon/icon_straightLine_kj.svg.js.map +1 -0
  631. package/es/assets/annotation/toolHotKeyIcon/icon_tab_kj.svg.js +4 -1
  632. package/es/assets/annotation/toolHotKeyIcon/icon_tab_kj.svg.js.map +1 -0
  633. package/es/assets/annotation/toolHotKeyIcon/icon_tag_kj.svg.js +4 -1
  634. package/es/assets/annotation/toolHotKeyIcon/icon_tag_kj.svg.js.map +1 -0
  635. package/es/assets/annotation/toolHotKeyIcon/icon_unGrip_kj.svg.js +4 -1
  636. package/es/assets/annotation/toolHotKeyIcon/icon_unGrip_kj.svg.js.map +1 -0
  637. package/es/assets/annotation/toolHotKeyIcon/setValid.svg.js +4 -1
  638. package/es/assets/annotation/toolHotKeyIcon/setValid.svg.js.map +1 -0
  639. package/es/assets/annotation/video/icon_keyboard_h.svg.js +4 -1
  640. package/es/assets/annotation/video/icon_keyboard_h.svg.js.map +1 -0
  641. package/es/assets/attributeIcon/eraser.svg.js +4 -1
  642. package/es/assets/attributeIcon/eraser.svg.js.map +1 -0
  643. package/es/assets/attributeIcon/eraser_a.svg.js +4 -1
  644. package/es/assets/attributeIcon/eraser_a.svg.js.map +1 -0
  645. package/es/assets/attributeIcon/pen.svg.js +4 -1
  646. package/es/assets/attributeIcon/pen.svg.js.map +1 -0
  647. package/es/assets/attributeIcon/pen_a.svg.js +4 -1
  648. package/es/assets/attributeIcon/pen_a.svg.js.map +1 -0
  649. package/es/assets/attributeIcon/zoomUp.svg.js +4 -1
  650. package/es/assets/attributeIcon/zoomUp.svg.js.map +1 -0
  651. package/es/assets/cssIcon/annotation/icon_clearSmall.svg +10 -0
  652. package/es/assets/cssIcon/annotation/icon_clearSmall_a.svg +10 -0
  653. package/es/assets/cssIcon/slide_btn.svg +23 -0
  654. package/es/assets/predictTracking/icon.svg.js +4 -1
  655. package/es/assets/predictTracking/icon.svg.js.map +1 -0
  656. package/es/assets/toolStyle/icon_border.svg.js +4 -1
  657. package/es/assets/toolStyle/icon_border.svg.js.map +1 -0
  658. package/es/assets/toolStyle/icon_borderColor.svg.js +4 -1
  659. package/es/assets/toolStyle/icon_borderColor.svg.js.map +1 -0
  660. package/es/assets/toolStyle/icon_opacityFill.svg.js +4 -1
  661. package/es/assets/toolStyle/icon_opacityFill.svg.js.map +1 -0
  662. package/es/assets/toolStyle/icon_opacityStroke.svg.js +4 -1
  663. package/es/assets/toolStyle/icon_opacityStroke.svg.js.map +1 -0
  664. package/es/components/AnnotationView/index.js +154 -1
  665. package/es/components/AnnotationView/index.js.map +1 -0
  666. package/es/components/AnnotationView/pointCloudAnnotationView.js +79 -1
  667. package/es/components/AnnotationView/pointCloudAnnotationView.js.map +1 -0
  668. package/es/components/ImageError/index.js +53 -0
  669. package/es/components/ImageError/index.js.map +1 -0
  670. package/es/components/annotationStepPopover/index.js +33 -1
  671. package/es/components/annotationStepPopover/index.js.map +1 -0
  672. package/es/components/attributeList/index.js +57 -1
  673. package/es/components/attributeList/index.js.map +1 -0
  674. package/es/components/checkboxList/index.js +33 -1
  675. package/es/components/checkboxList/index.js.map +1 -0
  676. package/es/components/colorTag/index.js +30 -1
  677. package/es/components/colorTag/index.js.map +1 -0
  678. package/es/components/customAntd/IconWithText/index.js +53 -1
  679. package/es/components/customAntd/IconWithText/index.js.map +1 -0
  680. package/es/components/customResizeHook/index.js +84 -1
  681. package/es/components/customResizeHook/index.js.map +1 -0
  682. package/es/components/fileException/FileError.js +55 -1
  683. package/es/components/fileException/FileError.js.map +1 -0
  684. package/es/components/fileException/FileInvalid.js +25 -1
  685. package/es/components/fileException/FileInvalid.js.map +1 -0
  686. package/es/components/fileException/index.js +32 -1
  687. package/es/components/fileException/index.js.map +1 -0
  688. package/es/components/pointCloudView/PointCloud2DView.js +147 -1
  689. package/es/components/pointCloudView/PointCloud2DView.js.map +1 -0
  690. package/es/components/pointCloudView/PointCloud3DView.js +227 -1
  691. package/es/components/pointCloudView/PointCloud3DView.js.map +1 -0
  692. package/es/components/pointCloudView/PointCloudBackView.js +132 -1
  693. package/es/components/pointCloudView/PointCloudBackView.js.map +1 -0
  694. package/es/components/pointCloudView/PointCloudContext.js +248 -1
  695. package/es/components/pointCloudView/PointCloudContext.js.map +1 -0
  696. package/es/components/pointCloudView/PointCloudInfos.js +136 -1
  697. package/es/components/pointCloudView/PointCloudInfos.js.map +1 -0
  698. package/es/components/pointCloudView/PointCloudLayout.js +19 -1
  699. package/es/components/pointCloudView/PointCloudLayout.js.map +1 -0
  700. package/es/components/pointCloudView/PointCloudListener.js +345 -1
  701. package/es/components/pointCloudView/PointCloudListener.js.map +1 -0
  702. package/es/components/pointCloudView/PointCloudSegment.js +56 -0
  703. package/es/components/pointCloudView/PointCloudSegment.js.map +1 -0
  704. package/es/components/pointCloudView/PointCloudSideView.js +129 -1
  705. package/es/components/pointCloudView/PointCloudSideView.js.map +1 -0
  706. package/es/components/pointCloudView/PointCloudTopView.js +333 -1
  707. package/es/components/pointCloudView/PointCloudTopView.js.map +1 -0
  708. package/es/components/pointCloudView/components/EmptyPage/index.js +18 -1
  709. package/es/components/pointCloudView/components/EmptyPage/index.js.map +1 -0
  710. package/es/components/pointCloudView/components/PointCloudSizeSlider/index.js +23 -0
  711. package/es/components/pointCloudView/components/PointCloudSizeSlider/index.js.map +1 -0
  712. package/es/components/pointCloudView/components/UnifiedParamsModal/index.js +228 -0
  713. package/es/components/pointCloudView/components/UnifiedParamsModal/index.js.map +1 -0
  714. package/es/components/pointCloudView/components/UnifyParamsModal/index.js +234 -1
  715. package/es/components/pointCloudView/components/UnifyParamsModal/index.js.map +1 -0
  716. package/es/components/pointCloudView/data.js +4 -0
  717. package/es/components/pointCloudView/data.js.map +1 -0
  718. package/es/components/pointCloudView/hooks/useAttribute.js +49 -1
  719. package/es/components/pointCloudView/hooks/useAttribute.js.map +1 -0
  720. package/es/components/pointCloudView/hooks/useBoxes.js +73 -1
  721. package/es/components/pointCloudView/hooks/useBoxes.js.map +1 -0
  722. package/es/components/pointCloudView/hooks/useConfig.js +29 -1
  723. package/es/components/pointCloudView/hooks/useConfig.js.map +1 -0
  724. package/es/components/pointCloudView/hooks/useHistory.js +169 -1
  725. package/es/components/pointCloudView/hooks/useHistory.js.map +1 -0
  726. package/es/components/pointCloudView/hooks/useLine.js +70 -1
  727. package/es/components/pointCloudView/hooks/useLine.js.map +1 -0
  728. package/es/components/pointCloudView/hooks/usePointCloudViews.js +747 -1
  729. package/es/components/pointCloudView/hooks/usePointCloudViews.js.map +1 -0
  730. package/es/components/pointCloudView/hooks/usePolygon.js +70 -1
  731. package/es/components/pointCloudView/hooks/usePolygon.js.map +1 -0
  732. package/es/components/pointCloudView/hooks/useRotate.js +43 -1
  733. package/es/components/pointCloudView/hooks/useRotate.js.map +1 -0
  734. package/es/components/pointCloudView/hooks/useSingleBox.js +168 -1
  735. package/es/components/pointCloudView/hooks/useSingleBox.js.map +1 -0
  736. package/es/components/pointCloudView/hooks/useSphere.js +43 -1
  737. package/es/components/pointCloudView/hooks/useSphere.js.map +1 -0
  738. package/es/components/pointCloudView/hooks/useStatus.js +88 -1
  739. package/es/components/pointCloudView/hooks/useStatus.js.map +1 -0
  740. package/es/components/pointCloudView/hooks/useZoom.js +38 -1
  741. package/es/components/pointCloudView/hooks/useZoom.js.map +1 -0
  742. package/es/components/pointCloudView/index.js +53 -1
  743. package/es/components/pointCloudView/index.js.map +1 -0
  744. package/es/components/predictTracking/index.js +3 -1
  745. package/es/components/predictTracking/index.js.map +1 -0
  746. package/es/components/predictTracking/predictTrackingIcon/index.js +98 -1
  747. package/es/components/predictTracking/predictTrackingIcon/index.js.map +1 -0
  748. package/es/components/predictTracking/previewResult/index.js +189 -1
  749. package/es/components/predictTracking/previewResult/index.js.map +1 -0
  750. package/es/components/predictTracking/previewResult/util.js +136 -1
  751. package/es/components/predictTracking/previewResult/util.js.map +1 -0
  752. package/es/components/videoAnnotate/index.js +44 -1
  753. package/es/components/videoAnnotate/index.js.map +1 -0
  754. package/es/components/videoPlayer/TagToolInstanceAdaptor.js +224 -1
  755. package/es/components/videoPlayer/TagToolInstanceAdaptor.js.map +1 -0
  756. package/es/components/videoPlayer/TagToolInstanceAdaptorI18nProvider.js +32 -1
  757. package/es/components/videoPlayer/TagToolInstanceAdaptorI18nProvider.js.map +1 -0
  758. package/es/components/videoPlayer/VideoTagLayer.js +29 -1
  759. package/es/components/videoPlayer/VideoTagLayer.js.map +1 -0
  760. package/es/components/videoPlayer/components/controller/index.js +125 -1
  761. package/es/components/videoPlayer/components/controller/index.js.map +1 -0
  762. package/es/components/videoPlayer/index.js +257 -1
  763. package/es/components/videoPlayer/index.js.map +1 -0
  764. package/es/components/videoPlayer/utils.js +51 -1
  765. package/es/components/videoPlayer/utils.js.map +1 -0
  766. package/es/configureStore.js +10 -1
  767. package/es/configureStore.js.map +1 -0
  768. package/es/constant/index.js +27 -1
  769. package/es/constant/index.js.map +1 -0
  770. package/es/constant/styleString.js +4 -1
  771. package/es/constant/styleString.js.map +1 -0
  772. package/es/data/Style.js +104 -1
  773. package/es/data/Style.js.map +1 -0
  774. package/es/data/enums/AnnotationSize.js +32 -1
  775. package/es/data/enums/AnnotationSize.js.map +1 -0
  776. package/es/data/enums/ToolType.js +40 -1
  777. package/es/data/enums/ToolType.js.map +1 -0
  778. package/es/hooks/annotation.js +77 -1
  779. package/es/hooks/annotation.js.map +1 -0
  780. package/es/hooks/useConfig.js +18 -0
  781. package/es/hooks/useConfig.js.map +1 -0
  782. package/es/hooks/useRafState.js +19 -1
  783. package/es/hooks/useRafState.js.map +1 -0
  784. package/es/hooks/useRefCache.js +12 -1
  785. package/es/hooks/useRefCache.js.map +1 -0
  786. package/es/hooks/useSafeSate.js +16 -1
  787. package/es/hooks/useSafeSate.js.map +1 -0
  788. package/es/hooks/useSize.js +39 -1
  789. package/es/hooks/useSize.js.map +1 -0
  790. package/es/hooks/useUnmountedRef.js +15 -1
  791. package/es/hooks/useUnmountedRef.js.map +1 -0
  792. package/es/index.js +64 -1
  793. package/es/index.js.map +1 -0
  794. package/es/store/Actions.js +51 -1
  795. package/es/store/Actions.js.map +1 -0
  796. package/es/store/annotation/actionCreators.js +450 -1
  797. package/es/store/annotation/actionCreators.js.map +1 -0
  798. package/es/store/annotation/map.js +22 -1
  799. package/es/store/annotation/map.js.map +1 -0
  800. package/es/store/annotation/reducer.js +657 -1
  801. package/es/store/annotation/reducer.js.map +1 -0
  802. package/es/store/annotation/selectors.js +11 -1
  803. package/es/store/annotation/selectors.js.map +1 -0
  804. package/es/store/ctx.js +9 -1
  805. package/es/store/ctx.js.map +1 -0
  806. package/es/store/imgAttribute/actionCreators.js +21 -1
  807. package/es/store/imgAttribute/actionCreators.js.map +1 -0
  808. package/es/store/imgAttribute/reducer.js +40 -1
  809. package/es/store/imgAttribute/reducer.js.map +1 -0
  810. package/es/store/index.js +13 -1
  811. package/es/store/index.js.map +1 -0
  812. package/es/store/toolStyle/actionCreators.js +17 -1
  813. package/es/store/toolStyle/actionCreators.js.map +1 -0
  814. package/es/store/toolStyle/reducer.js +50 -1
  815. package/es/store/toolStyle/reducer.js.map +1 -0
  816. package/es/utils/AnnotationDataUtils.js +165 -1
  817. package/es/utils/AnnotationDataUtils.js.map +1 -0
  818. package/es/utils/ConfigUtils.js +18 -1
  819. package/es/utils/ConfigUtils.js.map +1 -0
  820. package/es/utils/PageOperator.js +93 -1
  821. package/es/utils/PageOperator.js.map +1 -0
  822. package/es/utils/StepUtils.js +27 -1
  823. package/es/utils/StepUtils.js.map +1 -0
  824. package/es/utils/TextUtils.js +39 -1
  825. package/es/utils/TextUtils.js.map +1 -0
  826. package/es/utils/ToolStyleUtils.js +88 -1
  827. package/es/utils/ToolStyleUtils.js.map +1 -0
  828. package/es/utils/ToolUtils.js +17 -1
  829. package/es/utils/ToolUtils.js.map +1 -0
  830. package/es/utils/data.js +72 -1
  831. package/es/utils/data.js.map +1 -0
  832. package/es/utils/dom.js +20 -1
  833. package/es/utils/dom.js.map +1 -0
  834. package/es/utils/index.js +30 -1
  835. package/es/utils/index.js.map +1 -0
  836. package/es/views/MainView/annotationOperation/index.js +168 -1
  837. package/es/views/MainView/annotationOperation/index.js.map +1 -0
  838. package/es/views/MainView/annotationTips/index.js +26 -1
  839. package/es/views/MainView/annotationTips/index.js.map +1 -0
  840. package/es/views/MainView/index.js +116 -1
  841. package/es/views/MainView/index.js.map +1 -0
  842. package/es/views/MainView/sidebar/AnnotationText/index.js +41 -1
  843. package/es/views/MainView/sidebar/AnnotationText/index.js.map +1 -0
  844. package/es/views/MainView/sidebar/ClearIcon/index.js +31 -1
  845. package/es/views/MainView/sidebar/ClearIcon/index.js.map +1 -0
  846. package/es/views/MainView/sidebar/GeneralOperation/ActionsConfirm.js +95 -1
  847. package/es/views/MainView/sidebar/GeneralOperation/ActionsConfirm.js.map +1 -0
  848. package/es/views/MainView/sidebar/GeneralOperation/index.js +86 -1
  849. package/es/views/MainView/sidebar/GeneralOperation/index.js.map +1 -0
  850. package/es/views/MainView/sidebar/GeneralOperation/useOperationList.js +88 -1
  851. package/es/views/MainView/sidebar/GeneralOperation/useOperationList.js.map +1 -0
  852. package/es/views/MainView/sidebar/ImgAttributeInfo/index.js +128 -1
  853. package/es/views/MainView/sidebar/ImgAttributeInfo/index.js.map +1 -0
  854. package/es/views/MainView/sidebar/PointCloudToolSidebar/components/batchUpdateModal/index.js +122 -1
  855. package/es/views/MainView/sidebar/PointCloudToolSidebar/components/batchUpdateModal/index.js.map +1 -0
  856. package/es/views/MainView/sidebar/PointCloudToolSidebar/index.js +247 -1
  857. package/es/views/MainView/sidebar/PointCloudToolSidebar/index.js.map +1 -0
  858. package/es/views/MainView/sidebar/ScribbleSidebar/index.js +58 -1
  859. package/es/views/MainView/sidebar/ScribbleSidebar/index.js.map +1 -0
  860. package/es/views/MainView/sidebar/SwitchAttributeList/index.js +73 -1
  861. package/es/views/MainView/sidebar/SwitchAttributeList/index.js.map +1 -0
  862. package/es/views/MainView/sidebar/TagSidebar/index.js +178 -1
  863. package/es/views/MainView/sidebar/TagSidebar/index.js.map +1 -0
  864. package/es/views/MainView/sidebar/TextAreaFormat/index.js +106 -1
  865. package/es/views/MainView/sidebar/TextAreaFormat/index.js.map +1 -0
  866. package/es/views/MainView/sidebar/TextToolSidebar/index.js +225 -1
  867. package/es/views/MainView/sidebar/TextToolSidebar/index.js.map +1 -0
  868. package/es/views/MainView/sidebar/ToolIcons.js +78 -1
  869. package/es/views/MainView/sidebar/ToolIcons.js.map +1 -0
  870. package/es/views/MainView/sidebar/ToolStyle/index.js +156 -1
  871. package/es/views/MainView/sidebar/ToolStyle/index.js.map +1 -0
  872. package/es/views/MainView/sidebar/index.js +147 -1
  873. package/es/views/MainView/sidebar/index.js.map +1 -0
  874. package/es/views/MainView/toolFooter/AnnotatedAttributes/index.js +200 -1
  875. package/es/views/MainView/toolFooter/AnnotatedAttributes/index.js.map +1 -0
  876. package/es/views/MainView/toolFooter/FooterPopover.js +48 -1
  877. package/es/views/MainView/toolFooter/FooterPopover.js.map +1 -0
  878. package/es/views/MainView/toolFooter/FooterTips/ToolHotKey/common/index.js +127 -1
  879. package/es/views/MainView/toolFooter/FooterTips/ToolHotKey/common/index.js.map +1 -0
  880. package/es/views/MainView/toolFooter/FooterTips/ToolHotKey/cuboid/index.js +24 -1
  881. package/es/views/MainView/toolFooter/FooterTips/ToolHotKey/cuboid/index.js.map +1 -0
  882. package/es/views/MainView/toolFooter/FooterTips/ToolHotKey/index.js +216 -1
  883. package/es/views/MainView/toolFooter/FooterTips/ToolHotKey/index.js.map +1 -0
  884. package/es/views/MainView/toolFooter/FooterTips/ToolHotKey/line/index.js +97 -1
  885. package/es/views/MainView/toolFooter/FooterTips/ToolHotKey/line/index.js.map +1 -0
  886. package/es/views/MainView/toolFooter/FooterTips/ToolHotKey/point/index.js +47 -1
  887. package/es/views/MainView/toolFooter/FooterTips/ToolHotKey/point/index.js.map +1 -0
  888. package/es/views/MainView/toolFooter/FooterTips/ToolHotKey/pointCloud/index.js +165 -1
  889. package/es/views/MainView/toolFooter/FooterTips/ToolHotKey/pointCloud/index.js.map +1 -0
  890. package/es/views/MainView/toolFooter/FooterTips/ToolHotKey/polygon/index.js +102 -1
  891. package/es/views/MainView/toolFooter/FooterTips/ToolHotKey/polygon/index.js.map +1 -0
  892. package/es/views/MainView/toolFooter/FooterTips/ToolHotKey/rectToolShortCutTable/index.js +61 -1
  893. package/es/views/MainView/toolFooter/FooterTips/ToolHotKey/rectToolShortCutTable/index.js.map +1 -0
  894. package/es/views/MainView/toolFooter/FooterTips/ToolHotKey/scribble/index.js +16 -1
  895. package/es/views/MainView/toolFooter/FooterTips/ToolHotKey/scribble/index.js.map +1 -0
  896. package/es/views/MainView/toolFooter/FooterTips/ToolHotKey/tag/index.js +20 -1
  897. package/es/views/MainView/toolFooter/FooterTips/ToolHotKey/tag/index.js.map +1 -0
  898. package/es/views/MainView/toolFooter/FooterTips/ToolHotKey/text/index.js +16 -1
  899. package/es/views/MainView/toolFooter/FooterTips/ToolHotKey/text/index.js.map +1 -0
  900. package/es/views/MainView/toolFooter/FooterTips/ToolHotKey/videoTag/index.js +22 -1
  901. package/es/views/MainView/toolFooter/FooterTips/ToolHotKey/videoTag/index.js.map +1 -0
  902. package/es/views/MainView/toolFooter/FooterTips/index.js +17 -1
  903. package/es/views/MainView/toolFooter/FooterTips/index.js.map +1 -0
  904. package/es/views/MainView/toolFooter/HiddenTips/index.js +39 -1
  905. package/es/views/MainView/toolFooter/HiddenTips/index.js.map +1 -0
  906. package/es/views/MainView/toolFooter/PageNumber/index.js +42 -1
  907. package/es/views/MainView/toolFooter/PageNumber/index.js.map +1 -0
  908. package/es/views/MainView/toolFooter/Pagination.js +82 -1
  909. package/es/views/MainView/toolFooter/Pagination.js.map +1 -0
  910. package/es/views/MainView/toolFooter/ZoomController/ZoomLevel/index.js +33 -1
  911. package/es/views/MainView/toolFooter/ZoomController/ZoomLevel/index.js.map +1 -0
  912. package/es/views/MainView/toolFooter/ZoomController/index.js +63 -1
  913. package/es/views/MainView/toolFooter/ZoomController/index.js.map +1 -0
  914. package/es/views/MainView/toolFooter/index.js +125 -1
  915. package/es/views/MainView/toolFooter/index.js.map +1 -0
  916. package/es/views/MainView/toolHeader/ExportData/index.js +38 -1
  917. package/es/views/MainView/toolHeader/ExportData/index.js.map +1 -0
  918. package/es/views/MainView/toolHeader/StepSwitch/index.js +41 -1
  919. package/es/views/MainView/toolHeader/StepSwitch/index.js.map +1 -0
  920. package/es/views/MainView/toolHeader/SwitchPattern/index.js +53 -0
  921. package/es/views/MainView/toolHeader/SwitchPattern/index.js.map +1 -0
  922. package/es/views/MainView/toolHeader/headerOption/index.js +145 -1
  923. package/es/views/MainView/toolHeader/headerOption/index.js.map +1 -0
  924. package/es/views/MainView/toolHeader/index.js +173 -1
  925. package/es/views/MainView/toolHeader/index.js.map +1 -0
  926. package/package.json +8 -6
@@ -1 +1,333 @@
1
- import{getClassName as x}from"../../utils/dom.js";import{FooterDivider as B}from"../../views/MainView/toolFooter/index.js";import{ZoomController as Q}from"../../views/MainView/toolFooter/ZoomController/index.js";import{UpSquareOutlined as ee,DownSquareOutlined as te}from"@ant-design/icons";import{PointCloudAnnotation as oe,cTool as ne}from"@labelbee/lb-annotation";import{PointCloudUtils as D}from"@labelbee/lb-utils";import r,{useState as N,useRef as ie,useLayoutEffect as se,useEffect as h}from"react";import{PointCloudContext as le}from"./PointCloudContext.js";import{useRotate as re}from"./hooks/useRotate.js";import{useSingleBox as U}from"./hooks/useSingleBox.js";import{PointCloudContainer as ae}from"./PointCloudLayout.js";import{BoxInfos as ce,PointCloudValidity as de}from"./PointCloudInfos.js";import{usePolygon as pe}from"./hooks/usePolygon.js";import{useLine as ue}from"./hooks/useLine.js";import{useSphere as me}from"./hooks/useSphere.js";import{useZoom as Z}from"./hooks/useZoom.js";import{Slider as fe}from"antd";import{a2MapStateToProps as we}from"../../store/annotation/map.js";import{connect as ge}from"react-redux";import{usePointCloudViews as ve}from"./hooks/usePointCloudViews.js";import Ce from"../../hooks/useSize.js";import{useTranslation as Pe}from"react-i18next";import{LabelBeeContext as Ie}from"../../store/ctx.js";import{jsonParser as xe}from"../../utils/index.js";import ye from"../../utils/ToolUtils.js";var Ve=Object.defineProperty,he=Object.defineProperties,Oe=Object.getOwnPropertyDescriptors,R=Object.getOwnPropertySymbols,Se=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,z=(o,s,l)=>s in o?Ve(o,s,{enumerable:!0,configurable:!0,writable:!0,value:l}):o[s]=l,E=(o,s)=>{for(var l in s||(s={}))Se.call(s,l)&&z(o,l,s[l]);if(R)for(var l of R(s))be.call(s,l)&&z(o,l,s[l]);return o},T=(o,s)=>he(o,Oe(s));const{EPolygonPattern:_e}=ne,F=(o,s,l=1)=>{const{width:m,height:g}=s,C={x:o.x+m*l/2,y:o.y+g*l/2},v={x:s.width/2,y:s.height/2};return{offsetX:(v.x-C.x)/l,offsetY:-(v.y-C.y)/l}},Le=({currentData:o})=>{const{zoom:s,zoomIn:l,zoomOut:m,initialPosition:g}=Z(),{selectNextBox:C,selectPrevBox:v}=U(),{updateRotate:P}=re({currentData:o}),y=2,V=()=>{P(-y)},f=()=>{P(y)},t=()=>{P(180)};return r.createElement(r.Fragment,null,r.createElement("span",{onClick:f,className:x("point-cloud","rotate-reserve")}),r.createElement("span",{onClick:V,className:x("point-cloud","rotate")}),r.createElement("span",{onClick:t,className:x("point-cloud","rotate-180")}),r.createElement(B,null),r.createElement(ee,{onClick:()=>{v()},className:x("point-cloud","prev")}),r.createElement(te,{onClick:()=>{C()},className:x("point-cloud","next")}),r.createElement(B,null),r.createElement(Q,{initialPosition:g,zoomIn:l,zoomOut:m,zoom:s}))},je=({setZAxisLimit:o,zAxisLimit:s,checkMode:l})=>l?null:r.createElement("div",{style:{position:"absolute",top:128,right:8,height:"50%",zIndex:20}},r.createElement(fe,{vertical:!0,step:.5,max:10,min:.5,defaultValue:s,onAfterChange:m=>{o(m)}})),Ee=({currentData:o,imgList:s,stepInfo:l,drawLayerSlot:m,checkMode:g,intelligentFit:C})=>{var v,P;const[y,V]=N({zoom:1,currentPos:{x:0,y:0}}),f=ie(null),t=r.useContext(le),a=Ce(f),I=xe(l.config),{setZoom:W,syncTopviewToolZoom:M}=Z(),{hideAttributes:k}=t,{addPolygon:X,deletePolygon:Y}=pe(),{addLine:q,deleteLine:H}=ue(),{deletePointCloudSphere:$}=me(),{deletePointCloudBox:A,changeValidByID:G}=U(),[O,J]=N(10),{t:K}=Pe(),p=ve();return se(()=>{if(!t.topViewInstance&&f.current&&(o==null?void 0:o.url)&&(o==null?void 0:o.result)){const n={width:f.current.clientWidth,height:f.current.clientHeight},u=new oe({container:f.current,size:n,pcdPath:o.url,config:T(E({},I),{pointCloudPattern:t.pointCloudPattern}),checkMode:g,toolName:ye.getPointCloudToolList()});t.setTopViewInstance(u)}},[o]),h(()=>{if(!a||!t.topViewInstance||!t.sideViewInstance)return;const{toolInstance:n}=t.topViewInstance;n.singleOn("lineCreated",(e,i)=>{const d=T(E({},e),{pointList:e.pointList.map(c=>D.transferCanvas2World(c,a))});q(d),t.setSelectedIDs(k.includes(e.attribute)?"":e.id)}),n.singleOn("lineDeleted",e=>{A(e),H(e)}),n.singleOn("lineSelected",e=>{t.setSelectedIDs([e])}),n.singleOn("updateLineByDrag",e=>{var i;(i=p.topViewUpdateLine)==null||i.call(p,e,a)}),n.singleOn("pointCreated",(e,i)=>{p.topViewAddSphere({newPoint:e,size:a,trackConfigurable:I.trackConfigurable,zoom:i})}),n.singleOn("pointDeleted",e=>{$(e)}),n.singleOn("pointSelected",e=>{t.setSelectedIDs([e])}),n.singleOn("updatePointByDrag",(e,i)=>{var d;(d=p.topViewUpdatePoint)==null||d.call(p,e,a)}),n.singleOn("polygonCreated",(e,i)=>{if(n.pattern===_e.Normal||!(o==null?void 0:o.url)){const d=T(E({},e),{pointList:e.pointList.map(c=>D.transferCanvas2World(c,a))});X(d),t.setSelectedIDs(k.includes(e.attribute)?"":e.id);return}p.topViewAddBox({polygon:e,size:a,imgList:s,trackConfigurable:I.trackConfigurable,zoom:i,intelligentFit:C})}),n.singleOn("deletedObject",({id:e})=>{A(e),Y(e)}),n.singleOn("deleteSelectedIDs",()=>{t.setSelectedIDs([])}),n.singleOn("addSelectedIDs",e=>{t.addSelectedID(e)}),n.singleOn("setSelectedIDs",e=>{t.setSelectedIDs(e)}),n.singleOn("updatePolygonByDrag",e=>{var i;(i=p.topViewUpdateBox)==null||i.call(p,e,a)});const u=e=>{var i;const d=G(e);d&&t.syncAllViewPointCloudColor(d),t.polygonList.find(c=>c.id===e)&&((i=t.topViewInstance)==null||i.toolInstance.setPolygonValidAndRender(e,!0))};return n.on("validUpdate",u),()=>{n.unbind("validUpdate",u)}},[t,a,o,p,t.polygonList,t.lineList,(v=t.topViewInstance)==null?void 0:v.toolInstance]),h(()=>{var n,u;if(!(a==null?void 0:a.width)||!t.topViewInstance)return;const e=(u=(n=I==null?void 0:I.attributeList)==null?void 0:n[0])==null?void 0:u.value;e&&t.topViewInstance.toolInstance.setDefaultAttribute(e),t.topViewInstance.initSize(a),t.topViewInstance.updatePolygonList(t.displayPointCloudList,t.polygonList),t.topViewInstance.updatePointList(t.displaySphereList);const{topViewInstance:{pointCloudInstance:i,toolInstance:d}}=t;d.singleOn("renderZoom",(c,w)=>{const{offsetX:S,offsetY:b}=F(w,a,c);if(i.camera.zoom=c,w){const{x:_,y:L,z:j}=i.initCameraPosition;i.camera.position.set(_+b,L-S,j)}i.camera.updateProjectionMatrix(),i.render(),W(c),M(w,c,a),V({zoom:c,currentPos:w})}),d.singleOn("dragMove",({currentPos:c,zoom:w})=>{const{offsetX:S,offsetY:b}=F(c,a,w);i.camera.zoom=w;const{x:_,y:L,z:j}=i.initCameraPosition;i.camera.position.set(_+b,L-S,j),i.render(),V({zoom:w,currentPos:c})})},[a,t.topViewInstance,(P=t.topViewInstance)==null?void 0:P.toolInstance]),h(()=>{var n,u;(u=(n=t.topViewInstance)==null?void 0:n.pointCloudInstance)==null||u.applyZAxisPoints(O)},[O]),h(()=>{p.topViewSelectedChanged({})},[t.selectedIDs]),r.createElement(ae,{className:x("point-cloud-container","top-view"),title:K("TopView"),toolbar:r.createElement(Le,{currentData:o})},r.createElement("div",{style:{position:"relative",flex:1}},r.createElement("div",{style:{width:"100%",height:"100%"},ref:f},m==null?void 0:m(y)),r.createElement(ce,{checkMode:g,config:I}),r.createElement(je,{checkMode:g,zAxisLimit:O,setZAxisLimit:J}),r.createElement(de,null)))};var Te=ge(we,null,null,{context:Ie})(Ee);export{Te as default};
1
+ import { getClassName } from '../../utils/dom.js';
2
+ import { FooterDivider } from '../../views/MainView/toolFooter/index.js';
3
+ import { ZoomController } from '../../views/MainView/toolFooter/ZoomController/index.js';
4
+ import { UpSquareOutlined, DownSquareOutlined } from '@ant-design/icons';
5
+ import { PointCloudAnnotation, cTool } from '@labelbee/lb-annotation';
6
+ import { PointCloudUtils } from '@labelbee/lb-utils';
7
+ import React, { useState, useRef, useLayoutEffect, useEffect } from 'react';
8
+ import { PointCloudContext } from './PointCloudContext.js';
9
+ import { useRotate } from './hooks/useRotate.js';
10
+ import { useSingleBox } from './hooks/useSingleBox.js';
11
+ import { PointCloudContainer } from './PointCloudLayout.js';
12
+ import { BoxInfos, PointCloudValidity } from './PointCloudInfos.js';
13
+ import { usePolygon } from './hooks/usePolygon.js';
14
+ import { useLine } from './hooks/useLine.js';
15
+ import { useSphere } from './hooks/useSphere.js';
16
+ import { useZoom } from './hooks/useZoom.js';
17
+ import { Slider } from 'antd';
18
+ import { a2MapStateToProps } from '../../store/annotation/map.js';
19
+ import { connect } from 'react-redux';
20
+ import { usePointCloudViews } from './hooks/usePointCloudViews.js';
21
+ import useSize from '../../hooks/useSize.js';
22
+ import { useTranslation } from 'react-i18next';
23
+ import { LabelBeeContext } from '../../store/ctx.js';
24
+ import { jsonParser } from '../../utils/index.js';
25
+ import ToolUtils from '../../utils/ToolUtils.js';
26
+
27
+ var __defProp = Object.defineProperty;
28
+ var __defProps = Object.defineProperties;
29
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
30
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
31
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
32
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
33
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, {enumerable: true, configurable: true, writable: true, value}) : obj[key] = value;
34
+ var __spreadValues = (a, b) => {
35
+ for (var prop in b || (b = {}))
36
+ if (__hasOwnProp.call(b, prop))
37
+ __defNormalProp(a, prop, b[prop]);
38
+ if (__getOwnPropSymbols)
39
+ for (var prop of __getOwnPropSymbols(b)) {
40
+ if (__propIsEnum.call(b, prop))
41
+ __defNormalProp(a, prop, b[prop]);
42
+ }
43
+ return a;
44
+ };
45
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
46
+ const {EPolygonPattern} = cTool;
47
+ const TransferCanvas2WorldOffset = (currentPos, size, zoom = 1) => {
48
+ const {width: w, height: h} = size;
49
+ const canvasCenterPoint = {
50
+ x: currentPos.x + w * zoom / 2,
51
+ y: currentPos.y + h * zoom / 2
52
+ };
53
+ const worldCenterPoint = {
54
+ x: size.width / 2,
55
+ y: size.height / 2
56
+ };
57
+ return {
58
+ offsetX: (worldCenterPoint.x - canvasCenterPoint.x) / zoom,
59
+ offsetY: -(worldCenterPoint.y - canvasCenterPoint.y) / zoom
60
+ };
61
+ };
62
+ const TopViewToolbar = ({currentData}) => {
63
+ const {zoom, zoomIn, zoomOut, initialPosition} = useZoom();
64
+ const {selectNextBox, selectPrevBox} = useSingleBox();
65
+ const {updateRotate} = useRotate({currentData});
66
+ const ratio = 2;
67
+ const clockwiseRotate = () => {
68
+ updateRotate(-ratio);
69
+ };
70
+ const anticlockwiseRotate = () => {
71
+ updateRotate(ratio);
72
+ };
73
+ const reverseRotate = () => {
74
+ updateRotate(180);
75
+ };
76
+ return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("span", {
77
+ onClick: anticlockwiseRotate,
78
+ className: getClassName("point-cloud", "rotate-reserve")
79
+ }), /* @__PURE__ */ React.createElement("span", {
80
+ onClick: clockwiseRotate,
81
+ className: getClassName("point-cloud", "rotate")
82
+ }), /* @__PURE__ */ React.createElement("span", {
83
+ onClick: reverseRotate,
84
+ className: getClassName("point-cloud", "rotate-180")
85
+ }), /* @__PURE__ */ React.createElement(FooterDivider, null), /* @__PURE__ */ React.createElement(UpSquareOutlined, {
86
+ onClick: () => {
87
+ selectPrevBox();
88
+ },
89
+ className: getClassName("point-cloud", "prev")
90
+ }), /* @__PURE__ */ React.createElement(DownSquareOutlined, {
91
+ onClick: () => {
92
+ selectNextBox();
93
+ },
94
+ className: getClassName("point-cloud", "next")
95
+ }), /* @__PURE__ */ React.createElement(FooterDivider, null), /* @__PURE__ */ React.createElement(ZoomController, {
96
+ initialPosition,
97
+ zoomIn,
98
+ zoomOut,
99
+ zoom
100
+ }));
101
+ };
102
+ const ZAxisSlider = ({
103
+ setZAxisLimit,
104
+ zAxisLimit,
105
+ checkMode
106
+ }) => {
107
+ if (checkMode) {
108
+ return null;
109
+ }
110
+ return /* @__PURE__ */ React.createElement("div", {
111
+ style: {position: "absolute", top: 128, right: 8, height: "50%", zIndex: 20}
112
+ }, /* @__PURE__ */ React.createElement(Slider, {
113
+ vertical: true,
114
+ step: 0.5,
115
+ max: 10,
116
+ min: 0.5,
117
+ defaultValue: zAxisLimit,
118
+ onAfterChange: (v) => {
119
+ setZAxisLimit(v);
120
+ }
121
+ }));
122
+ };
123
+ const PointCloudTopView = ({
124
+ currentData,
125
+ imgList,
126
+ stepInfo,
127
+ drawLayerSlot,
128
+ checkMode,
129
+ intelligentFit
130
+ }) => {
131
+ var _a, _b;
132
+ const [annotationPos, setAnnotationPos] = useState({zoom: 1, currentPos: {x: 0, y: 0}});
133
+ const ref = useRef(null);
134
+ const ptCtx = React.useContext(PointCloudContext);
135
+ const size = useSize(ref);
136
+ const config = jsonParser(stepInfo.config);
137
+ const {setZoom, syncTopviewToolZoom} = useZoom();
138
+ const {hideAttributes} = ptCtx;
139
+ const {addPolygon, deletePolygon} = usePolygon();
140
+ const {addLine, deleteLine} = useLine();
141
+ const {deletePointCloudSphere} = useSphere();
142
+ const {deletePointCloudBox, changeValidByID} = useSingleBox();
143
+ const [zAxisLimit, setZAxisLimit] = useState(10);
144
+ const {t} = useTranslation();
145
+ const pointCloudViews = usePointCloudViews();
146
+ useLayoutEffect(() => {
147
+ if (ptCtx.topViewInstance) {
148
+ return;
149
+ }
150
+ if (ref.current && (currentData == null ? void 0 : currentData.url) && (currentData == null ? void 0 : currentData.result)) {
151
+ const size2 = {
152
+ width: ref.current.clientWidth,
153
+ height: ref.current.clientHeight
154
+ };
155
+ const pointCloudAnnotation = new PointCloudAnnotation({
156
+ container: ref.current,
157
+ size: size2,
158
+ pcdPath: currentData.url,
159
+ config: __spreadProps(__spreadValues({}, config), {pointCloudPattern: ptCtx.pointCloudPattern}),
160
+ checkMode,
161
+ toolName: ToolUtils.getPointCloudToolList()
162
+ });
163
+ ptCtx.setTopViewInstance(pointCloudAnnotation);
164
+ }
165
+ }, [currentData]);
166
+ useEffect(() => {
167
+ if (!size || !ptCtx.topViewInstance || !ptCtx.sideViewInstance) {
168
+ return;
169
+ }
170
+ const {toolInstance: TopView2dOperation} = ptCtx.topViewInstance;
171
+ TopView2dOperation.singleOn("lineCreated", (line, zoom) => {
172
+ const newLine = __spreadProps(__spreadValues({}, line), {
173
+ pointList: line.pointList.map((v) => PointCloudUtils.transferCanvas2World(v, size))
174
+ });
175
+ addLine(newLine);
176
+ ptCtx.setSelectedIDs(hideAttributes.includes(line.attribute) ? "" : line.id);
177
+ return;
178
+ });
179
+ TopView2dOperation.singleOn("lineDeleted", (selectedID) => {
180
+ deletePointCloudBox(selectedID);
181
+ deleteLine(selectedID);
182
+ });
183
+ TopView2dOperation.singleOn("lineSelected", (selectedID) => {
184
+ ptCtx.setSelectedIDs([selectedID]);
185
+ });
186
+ TopView2dOperation.singleOn("updateLineByDrag", (updateLine) => {
187
+ var _a2;
188
+ (_a2 = pointCloudViews.topViewUpdateLine) == null ? void 0 : _a2.call(pointCloudViews, updateLine, size);
189
+ });
190
+ TopView2dOperation.singleOn("pointCreated", (point, zoom) => {
191
+ pointCloudViews.topViewAddSphere({
192
+ newPoint: point,
193
+ size,
194
+ trackConfigurable: config.trackConfigurable,
195
+ zoom
196
+ });
197
+ });
198
+ TopView2dOperation.singleOn("pointDeleted", (selectedID) => {
199
+ deletePointCloudSphere(selectedID);
200
+ });
201
+ TopView2dOperation.singleOn("pointSelected", (selectedID) => {
202
+ ptCtx.setSelectedIDs([selectedID]);
203
+ });
204
+ TopView2dOperation.singleOn("updatePointByDrag", (updatePoint, oldList) => {
205
+ var _a2;
206
+ (_a2 = pointCloudViews.topViewUpdatePoint) == null ? void 0 : _a2.call(pointCloudViews, updatePoint, size);
207
+ });
208
+ TopView2dOperation.singleOn("polygonCreated", (polygon, zoom) => {
209
+ if (TopView2dOperation.pattern === EPolygonPattern.Normal || !(currentData == null ? void 0 : currentData.url)) {
210
+ const newPolygon = __spreadProps(__spreadValues({}, polygon), {
211
+ pointList: polygon.pointList.map((v) => PointCloudUtils.transferCanvas2World(v, size))
212
+ });
213
+ addPolygon(newPolygon);
214
+ ptCtx.setSelectedIDs(hideAttributes.includes(polygon.attribute) ? "" : polygon.id);
215
+ return;
216
+ }
217
+ pointCloudViews.topViewAddBox({
218
+ polygon,
219
+ size,
220
+ imgList,
221
+ trackConfigurable: config.trackConfigurable,
222
+ zoom,
223
+ intelligentFit
224
+ });
225
+ });
226
+ TopView2dOperation.singleOn("deletedObject", ({id}) => {
227
+ deletePointCloudBox(id);
228
+ deletePolygon(id);
229
+ });
230
+ TopView2dOperation.singleOn("deleteSelectedIDs", () => {
231
+ ptCtx.setSelectedIDs([]);
232
+ });
233
+ TopView2dOperation.singleOn("addSelectedIDs", (selectedID) => {
234
+ ptCtx.addSelectedID(selectedID);
235
+ });
236
+ TopView2dOperation.singleOn("setSelectedIDs", (selectedIDs) => {
237
+ ptCtx.setSelectedIDs(selectedIDs);
238
+ });
239
+ TopView2dOperation.singleOn("updatePolygonByDrag", (updateList) => {
240
+ var _a2;
241
+ (_a2 = pointCloudViews.topViewUpdateBox) == null ? void 0 : _a2.call(pointCloudViews, updateList, size);
242
+ });
243
+ const validUpdate = (id) => {
244
+ var _a2;
245
+ const newPointCloudList = changeValidByID(id);
246
+ if (newPointCloudList) {
247
+ ptCtx.syncAllViewPointCloudColor(newPointCloudList);
248
+ }
249
+ if (ptCtx.polygonList.find((v) => v.id === id)) {
250
+ (_a2 = ptCtx.topViewInstance) == null ? void 0 : _a2.toolInstance.setPolygonValidAndRender(id, true);
251
+ }
252
+ };
253
+ TopView2dOperation.on("validUpdate", validUpdate);
254
+ return () => {
255
+ TopView2dOperation.unbind("validUpdate", validUpdate);
256
+ };
257
+ }, [
258
+ ptCtx,
259
+ size,
260
+ currentData,
261
+ pointCloudViews,
262
+ ptCtx.polygonList,
263
+ ptCtx.lineList,
264
+ (_a = ptCtx.topViewInstance) == null ? void 0 : _a.toolInstance
265
+ ]);
266
+ useEffect(() => {
267
+ var _a2, _b2;
268
+ if (!(size == null ? void 0 : size.width) || !ptCtx.topViewInstance) {
269
+ return;
270
+ }
271
+ const defaultAttribute = (_b2 = (_a2 = config == null ? void 0 : config.attributeList) == null ? void 0 : _a2[0]) == null ? void 0 : _b2.value;
272
+ if (defaultAttribute) {
273
+ ptCtx.topViewInstance.toolInstance.setDefaultAttribute(defaultAttribute);
274
+ }
275
+ ptCtx.topViewInstance.initSize(size);
276
+ ptCtx.topViewInstance.updatePolygonList(ptCtx.displayPointCloudList, ptCtx.polygonList);
277
+ ptCtx.topViewInstance.updatePointList(ptCtx.displaySphereList);
278
+ const {
279
+ topViewInstance: {pointCloudInstance: pointCloud, toolInstance}
280
+ } = ptCtx;
281
+ toolInstance.singleOn("renderZoom", (zoom, currentPos) => {
282
+ const {offsetX, offsetY} = TransferCanvas2WorldOffset(currentPos, size, zoom);
283
+ pointCloud.camera.zoom = zoom;
284
+ if (currentPos) {
285
+ const {x, y, z} = pointCloud.initCameraPosition;
286
+ pointCloud.camera.position.set(x + offsetY, y - offsetX, z);
287
+ }
288
+ pointCloud.camera.updateProjectionMatrix();
289
+ pointCloud.render();
290
+ setZoom(zoom);
291
+ syncTopviewToolZoom(currentPos, zoom, size);
292
+ setAnnotationPos({zoom, currentPos});
293
+ });
294
+ toolInstance.singleOn("dragMove", ({currentPos, zoom}) => {
295
+ const {offsetX, offsetY} = TransferCanvas2WorldOffset(currentPos, size, zoom);
296
+ pointCloud.camera.zoom = zoom;
297
+ const {x, y, z} = pointCloud.initCameraPosition;
298
+ pointCloud.camera.position.set(x + offsetY, y - offsetX, z);
299
+ pointCloud.render();
300
+ setAnnotationPos({zoom, currentPos});
301
+ });
302
+ }, [size, ptCtx.topViewInstance, (_b = ptCtx.topViewInstance) == null ? void 0 : _b.toolInstance]);
303
+ useEffect(() => {
304
+ var _a2, _b2;
305
+ (_b2 = (_a2 = ptCtx.topViewInstance) == null ? void 0 : _a2.pointCloudInstance) == null ? void 0 : _b2.applyZAxisPoints(zAxisLimit);
306
+ }, [zAxisLimit]);
307
+ useEffect(() => {
308
+ pointCloudViews.topViewSelectedChanged({});
309
+ }, [ptCtx.selectedIDs]);
310
+ return /* @__PURE__ */ React.createElement(PointCloudContainer, {
311
+ className: getClassName("point-cloud-container", "top-view"),
312
+ title: t("TopView"),
313
+ toolbar: /* @__PURE__ */ React.createElement(TopViewToolbar, {
314
+ currentData
315
+ })
316
+ }, /* @__PURE__ */ React.createElement("div", {
317
+ style: {position: "relative", flex: 1}
318
+ }, /* @__PURE__ */ React.createElement("div", {
319
+ style: {width: "100%", height: "100%"},
320
+ ref
321
+ }, drawLayerSlot == null ? void 0 : drawLayerSlot(annotationPos)), /* @__PURE__ */ React.createElement(BoxInfos, {
322
+ checkMode,
323
+ config
324
+ }), /* @__PURE__ */ React.createElement(ZAxisSlider, {
325
+ checkMode,
326
+ zAxisLimit,
327
+ setZAxisLimit
328
+ }), /* @__PURE__ */ React.createElement(PointCloudValidity, null)));
329
+ };
330
+ var PointCloudTopView$1 = connect(a2MapStateToProps, null, null, {context: LabelBeeContext})(PointCloudTopView);
331
+
332
+ export { PointCloudTopView$1 as default };
333
+ //# sourceMappingURL=PointCloudTopView.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PointCloudTopView.js","sources":["../../../src/components/pointCloudView/PointCloudTopView.tsx"],"sourcesContent":["/*\n * @Author: Laoluo luozefeng@sensetime.com\n * @Date: 2022-06-22 11:08:31\n * @LastEditors: Laoluo luozefeng@sensetime.com\n */\nimport { getClassName } from '@/utils/dom';\nimport { FooterDivider } from '@/views/MainView/toolFooter';\nimport { ZoomController } from '@/views/MainView/toolFooter/ZoomController';\nimport { DownSquareOutlined, UpSquareOutlined } from '@ant-design/icons';\nimport { cTool, PointCloudAnnotation, THybridToolName } from '@labelbee/lb-annotation';\nimport {\n IPolygonData,\n PointCloudUtils,\n UpdatePolygonByDragList,\n IPointUnit,\n ILine,\n} from '@labelbee/lb-utils';\nimport React, { useEffect, useLayoutEffect, useRef, useState } from 'react';\nimport { PointCloudContext } from './PointCloudContext';\nimport { useRotate } from './hooks/useRotate';\nimport { useSingleBox } from './hooks/useSingleBox';\nimport { PointCloudContainer } from './PointCloudLayout';\nimport { BoxInfos, PointCloudValidity } from './PointCloudInfos';\nimport { usePolygon } from './hooks/usePolygon';\nimport { useLine } from './hooks/useLine';\nimport { useSphere } from './hooks/useSphere';\nimport { useZoom } from './hooks/useZoom';\nimport { Slider } from 'antd';\nimport { a2MapStateToProps, IA2MapStateProps, IAnnotationStateProps } from '@/store/annotation/map';\nimport { connect } from 'react-redux';\nimport { usePointCloudViews } from './hooks/usePointCloudViews';\nimport useSize from '@/hooks/useSize';\nimport { useTranslation } from 'react-i18next';\nimport { LabelBeeContext } from '@/store/ctx';\nimport { jsonParser } from '@/utils';\nimport { TDrawLayerSlot } from '@/types/main';\nimport ToolUtils from '@/utils/ToolUtils';\n\nconst { EPolygonPattern } = cTool;\n\n/**\n * Get the offset from canvas2d-coordinate to world coordinate (Top View)\n * @param currentPos\n * @param size\n * @param zoom\n * @returns\n */\nconst TransferCanvas2WorldOffset = (\n currentPos: { x: number; y: number },\n size: { width: number; height: number },\n zoom = 1,\n) => {\n const { width: w, height: h } = size;\n\n const canvasCenterPoint = {\n x: currentPos.x + (w * zoom) / 2,\n y: currentPos.y + (h * zoom) / 2,\n };\n\n const worldCenterPoint = {\n x: size.width / 2,\n y: size.height / 2,\n };\n\n return {\n offsetX: (worldCenterPoint.x - canvasCenterPoint.x) / zoom,\n offsetY: -(worldCenterPoint.y - canvasCenterPoint.y) / zoom,\n };\n};\n\nconst TopViewToolbar = ({ currentData }: IAnnotationStateProps) => {\n const { zoom, zoomIn, zoomOut, initialPosition } = useZoom();\n const { selectNextBox, selectPrevBox } = useSingleBox();\n const { updateRotate } = useRotate({ currentData });\n\n const ratio = 2;\n\n const clockwiseRotate = () => {\n updateRotate(-ratio);\n };\n const anticlockwiseRotate = () => {\n updateRotate(ratio);\n };\n\n const reverseRotate = () => {\n updateRotate(180);\n };\n\n return (\n <>\n <span\n onClick={anticlockwiseRotate}\n className={getClassName('point-cloud', 'rotate-reserve')}\n />\n <span onClick={clockwiseRotate} className={getClassName('point-cloud', 'rotate')} />\n <span onClick={reverseRotate} className={getClassName('point-cloud', 'rotate-180')} />\n <FooterDivider />\n <UpSquareOutlined\n onClick={() => {\n selectPrevBox();\n }}\n className={getClassName('point-cloud', 'prev')}\n />\n <DownSquareOutlined\n onClick={() => {\n selectNextBox();\n }}\n className={getClassName('point-cloud', 'next')}\n />\n <FooterDivider />\n <ZoomController\n initialPosition={initialPosition}\n zoomIn={zoomIn}\n zoomOut={zoomOut}\n zoom={zoom}\n />\n </>\n );\n};\n\n/**\n * Slider for filtering Z-axis points\n */\nconst ZAxisSlider = ({\n setZAxisLimit,\n zAxisLimit,\n checkMode,\n}: {\n setZAxisLimit: (value: number) => void;\n zAxisLimit: number;\n checkMode?: boolean;\n}) => {\n if (checkMode) {\n return null;\n }\n\n return (\n <div style={{ position: 'absolute', top: 128, right: 8, height: '50%', zIndex: 20 }}>\n <Slider\n vertical\n step={0.5}\n max={10}\n min={0.5}\n defaultValue={zAxisLimit}\n onAfterChange={(v: number) => {\n setZAxisLimit(v);\n }}\n />\n </div>\n );\n};\n\ninterface IProps extends IA2MapStateProps {\n drawLayerSlot?: TDrawLayerSlot;\n checkMode?: boolean;\n intelligentFit?: boolean;\n}\n\nconst PointCloudTopView: React.FC<IProps> = ({\n currentData,\n imgList,\n stepInfo,\n drawLayerSlot,\n checkMode,\n intelligentFit,\n}) => {\n const [annotationPos, setAnnotationPos] = useState({ zoom: 1, currentPos: { x: 0, y: 0 } });\n const ref = useRef<HTMLDivElement>(null);\n const ptCtx = React.useContext(PointCloudContext);\n const size = useSize(ref);\n const config = jsonParser(stepInfo.config);\n const { setZoom, syncTopviewToolZoom } = useZoom();\n const { hideAttributes } = ptCtx;\n\n const { addPolygon, deletePolygon } = usePolygon();\n const { addLine, deleteLine } = useLine();\n const { deletePointCloudSphere } = useSphere();\n const { deletePointCloudBox, changeValidByID } = useSingleBox();\n const [zAxisLimit, setZAxisLimit] = useState<number>(10);\n const { t } = useTranslation();\n const pointCloudViews = usePointCloudViews();\n\n useLayoutEffect(() => {\n if (ptCtx.topViewInstance) {\n return;\n }\n\n if (ref.current && currentData?.url && currentData?.result) {\n const size = {\n width: ref.current.clientWidth,\n height: ref.current.clientHeight,\n };\n\n const pointCloudAnnotation = new PointCloudAnnotation({\n container: ref.current,\n size,\n pcdPath: currentData.url,\n config: { ...config, pointCloudPattern: ptCtx.pointCloudPattern },\n checkMode,\n toolName: ToolUtils.getPointCloudToolList() as THybridToolName,\n });\n ptCtx.setTopViewInstance(pointCloudAnnotation);\n }\n }, [currentData]);\n\n useEffect(() => {\n if (!size || !ptCtx.topViewInstance || !ptCtx.sideViewInstance) {\n return;\n }\n\n const { toolInstance: TopView2dOperation } = ptCtx.topViewInstance;\n\n // line register\n TopView2dOperation.singleOn('lineCreated', (line: ILine, zoom: number) => {\n const newLine = {\n ...line,\n pointList: line.pointList!.map((v) => PointCloudUtils.transferCanvas2World(v, size)),\n };\n\n addLine(newLine);\n ptCtx.setSelectedIDs(hideAttributes.includes(line.attribute!) ? '' : line.id);\n return;\n });\n\n TopView2dOperation.singleOn('lineDeleted', (selectedID: string) => {\n deletePointCloudBox(selectedID);\n deleteLine(selectedID);\n });\n\n TopView2dOperation.singleOn('lineSelected', (selectedID: string) => {\n ptCtx.setSelectedIDs([selectedID]);\n });\n TopView2dOperation.singleOn('updateLineByDrag', (updateLine: ILine) => {\n pointCloudViews.topViewUpdateLine?.(updateLine, size);\n });\n // point tool events\n TopView2dOperation.singleOn('pointCreated', (point: IPointUnit, zoom: number) => {\n // addPoint(point)\n pointCloudViews.topViewAddSphere({\n newPoint: point,\n size,\n trackConfigurable: config.trackConfigurable,\n zoom,\n });\n });\n\n TopView2dOperation.singleOn('pointDeleted', (selectedID: string) => {\n deletePointCloudSphere(selectedID);\n });\n TopView2dOperation.singleOn('pointSelected', (selectedID: string) => {\n ptCtx.setSelectedIDs([selectedID]);\n });\n TopView2dOperation.singleOn(\n 'updatePointByDrag',\n (updatePoint: IPointUnit, oldList: IPointUnit[]) => {\n pointCloudViews.topViewUpdatePoint?.(updatePoint, size);\n },\n );\n\n TopView2dOperation.singleOn('polygonCreated', (polygon: IPolygonData, zoom: number) => {\n if (TopView2dOperation.pattern === EPolygonPattern.Normal || !currentData?.url) {\n /**\n * Notice. The Polygon need to be converted to pointCloud coordinate system for storage.\n */\n const newPolygon = {\n ...polygon,\n pointList: polygon.pointList.map((v) => PointCloudUtils.transferCanvas2World(v, size)),\n };\n\n addPolygon(newPolygon);\n ptCtx.setSelectedIDs(hideAttributes.includes(polygon.attribute) ? '' : polygon.id);\n return;\n }\n\n pointCloudViews.topViewAddBox({\n polygon,\n size,\n imgList,\n trackConfigurable: config.trackConfigurable,\n zoom,\n intelligentFit,\n });\n });\n\n TopView2dOperation.singleOn('deletedObject', ({ id }: { id: any }) => {\n deletePointCloudBox(id);\n deletePolygon(id);\n });\n\n TopView2dOperation.singleOn('deleteSelectedIDs', () => {\n ptCtx.setSelectedIDs([]);\n });\n\n TopView2dOperation.singleOn('addSelectedIDs', (selectedID: string) => {\n ptCtx.addSelectedID(selectedID);\n });\n\n TopView2dOperation.singleOn('setSelectedIDs', (selectedIDs: string[]) => {\n ptCtx.setSelectedIDs(selectedIDs);\n });\n\n TopView2dOperation.singleOn('updatePolygonByDrag', (updateList: UpdatePolygonByDragList) => {\n pointCloudViews.topViewUpdateBox?.(updateList, size);\n });\n\n const validUpdate = (id: string) => {\n // UpdateData.\n const newPointCloudList = changeValidByID(id);\n\n // HighLight\n if (newPointCloudList) {\n ptCtx.syncAllViewPointCloudColor(newPointCloudList);\n }\n if (ptCtx.polygonList.find((v) => v.id === id)) {\n ptCtx.topViewInstance?.toolInstance.setPolygonValidAndRender(id, true);\n }\n };\n\n TopView2dOperation.on('validUpdate', validUpdate);\n\n return () => {\n TopView2dOperation.unbind('validUpdate', validUpdate);\n };\n }, [\n ptCtx,\n size,\n currentData,\n pointCloudViews,\n ptCtx.polygonList,\n ptCtx.lineList,\n ptCtx.topViewInstance?.toolInstance,\n ]);\n\n useEffect(() => {\n if (!size?.width || !ptCtx.topViewInstance) {\n return;\n }\n /**\n * Init Config\n *\n * 1. Update defaultAttribute by first attribute;\n * */\n const defaultAttribute = config?.attributeList?.[0]?.value;\n if (defaultAttribute) {\n ptCtx.topViewInstance.toolInstance.setDefaultAttribute(defaultAttribute);\n }\n\n // 1. Update Size\n ptCtx.topViewInstance.initSize(size);\n ptCtx.topViewInstance.updatePolygonList(ptCtx.displayPointCloudList, ptCtx.polygonList);\n ptCtx.topViewInstance.updatePointList(ptCtx.displaySphereList);\n\n const {\n topViewInstance: { pointCloudInstance: pointCloud, toolInstance },\n } = ptCtx;\n\n /**\n * Synchronized 3d point cloud view displacement operations\n *\n * Change Orthographic Camera size\n */\n toolInstance.singleOn('renderZoom', (zoom: number, currentPos: any) => {\n const { offsetX, offsetY } = TransferCanvas2WorldOffset(currentPos, size, zoom);\n pointCloud.camera.zoom = zoom;\n if (currentPos) {\n const { x, y, z } = pointCloud.initCameraPosition;\n pointCloud.camera.position.set(x + offsetY, y - offsetX, z);\n }\n\n pointCloud.camera.updateProjectionMatrix();\n pointCloud.render();\n\n setZoom(zoom);\n syncTopviewToolZoom(currentPos, zoom, size);\n setAnnotationPos({ zoom, currentPos });\n });\n\n // Synchronized 3d point cloud view displacement operations\n toolInstance.singleOn('dragMove', ({ currentPos, zoom }: any) => {\n const { offsetX, offsetY } = TransferCanvas2WorldOffset(currentPos, size, zoom);\n pointCloud.camera.zoom = zoom;\n const { x, y, z } = pointCloud.initCameraPosition;\n pointCloud.camera.position.set(x + offsetY, y - offsetX, z);\n pointCloud.render();\n setAnnotationPos({ zoom, currentPos });\n });\n }, [size, ptCtx.topViewInstance, ptCtx.topViewInstance?.toolInstance]);\n\n useEffect(() => {\n ptCtx.topViewInstance?.pointCloudInstance?.applyZAxisPoints(zAxisLimit);\n }, [zAxisLimit]);\n\n useEffect(() => {\n pointCloudViews.topViewSelectedChanged({});\n }, [ptCtx.selectedIDs]);\n\n return (\n <PointCloudContainer\n className={getClassName('point-cloud-container', 'top-view')}\n title={t('TopView')}\n toolbar={<TopViewToolbar currentData={currentData} />}\n >\n <div style={{ position: 'relative', flex: 1 }}>\n <div style={{ width: '100%', height: '100%' }} ref={ref}>\n {drawLayerSlot?.(annotationPos)}\n </div>\n\n <BoxInfos checkMode={checkMode} config={config} />\n <ZAxisSlider checkMode={checkMode} zAxisLimit={zAxisLimit} setZAxisLimit={setZAxisLimit} />\n <PointCloudValidity />\n </div>\n </PointCloudContainer>\n );\n};\n\nexport default connect(a2MapStateToProps, null, null, { context: LabelBeeContext })(\n PointCloudTopView,\n);\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsCA,MAAM,CAAE,eAAoB,CAAA,GAAA,KAAA,CAAA;AAS5B,MAAM,0BAA6B,GAAA,CACjC,UACA,EAAA,IAAA,EACA,OAAO,CACJ,KAAA;AACH,EAAA,MAAM,CAAE,KAAA,EAAO,CAAG,EAAA,MAAA,EAAQ,CAAM,CAAA,GAAA,IAAA,CAAA;AAEhC,EAAA,MAAM,iBAAoB,GAAA;AAAA,IACxB,CAAG,EAAA,UAAA,CAAW,CAAK,GAAA,CAAA,GAAI,IAAQ,GAAA,CAAA;AAAA,IAC/B,CAAG,EAAA,UAAA,CAAW,CAAK,GAAA,CAAA,GAAI,IAAQ,GAAA,CAAA;AAAA,GAAA,CAAA;AAGjC,EAAA,MAAM,gBAAmB,GAAA;AAAA,IACvB,CAAA,EAAG,KAAK,KAAQ,GAAA,CAAA;AAAA,IAChB,CAAA,EAAG,KAAK,MAAS,GAAA,CAAA;AAAA,GAAA,CAAA;AAGnB,EAAO,OAAA;AAAA,IACL,OAAU,EAAA,CAAA,gBAAA,CAAiB,CAAI,GAAA,iBAAA,CAAkB,CAAK,IAAA,IAAA;AAAA,IACtD,OAAS,EAAA,EAAmB,gBAAA,CAAA,CAAA,GAAI,kBAAkB,CAAK,CAAA,GAAA,IAAA;AAAA,GAAA,CAAA;AAAA,CAAA,CAAA;AAI3D,MAA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ExB,KAAD,EAAA;AAAA,IAAK,KAAO,EAAA,CAAE,QAAU,EAAA,UAAA,EAAY,IAAM,EAAA,CAAA,CAAA;AAAA,GAAA,sCACvC,KAAD,EAAA;AAAA,IAAK,KAAO,EAAA,CAAE,KAAO,EAAA,MAAA,EAAQ,MAAQ,EAAA,MAAA,CAAA;AAAA,IAAU,GAAA;AAAA,GAC5C,EAAA,aAAA,IAAA,IAAA,GAAA,KAAA,CAAA,GAAA,aAAA,CAAgB,aAGnB,CAAA,CAAA,kBAAA,KAAA,CAAA,aAAA,CAAC,QAAD,EAAA;AAAA,IAAU,SAAA;AAAA,IAAsB,MAAA;AAAA,GAAA,CAAA,sCAC/B,WAAD,EAAA;AAAA,IAAa,SAAA;AAAA,IAAsB,UAAA;AAAA,IAAwB,aAAA;AAAA,GAAA,CAAA,sCAC1D,kBAAD,EAAA,IAAA,CAAA,CAAA,CAAA,CAAA;AAAA,CAAA,CAAA;AAMR,0BAAe,QAAQ,iBAAmB,EAAA,IAAA,EAAM,IAAM,EAAA,CAAE,SAAS,eAC/D,CAAA,CAAA,CAAA,iBAAA,CAAA;;;;"}
@@ -1 +1,18 @@
1
- import t from"react";import o from"../../../../assets/annotation/pointCloudTool/nodata.svg.js";import{getClassName as e}from"../../../../utils/dom.js";import{useTranslation as n}from"react-i18next";const m=()=>{const{t:a}=n();return t.createElement("div",{className:e("point-cloud-container","empty-page")},t.createElement("img",{src:o}),t.createElement("span",{className:e("point-cloud-container","empty-page","text")},a("NoData")))};export{m as default};
1
+ import React from 'react';
2
+ import img from '../../../../assets/annotation/pointCloudTool/nodata.svg.js';
3
+ import { getClassName } from '../../../../utils/dom.js';
4
+ import { useTranslation } from 'react-i18next';
5
+
6
+ const EmptyPage = () => {
7
+ const {t} = useTranslation();
8
+ return /* @__PURE__ */ React.createElement("div", {
9
+ className: getClassName("point-cloud-container", "empty-page")
10
+ }, /* @__PURE__ */ React.createElement("img", {
11
+ src: img
12
+ }), /* @__PURE__ */ React.createElement("span", {
13
+ className: getClassName("point-cloud-container", "empty-page", "text")
14
+ }, t("NoData")));
15
+ };
16
+
17
+ export { EmptyPage as default };
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../src/components/pointCloudView/components/EmptyPage/index.tsx"],"sourcesContent":["/**\n * @file EmptyPage\n * @createDate 2022-08-31\n * @author Ron <ron.f.luo@gmail.com>\n */\nimport React from 'react';\nimport NoDataSvg from '@/assets/annotation/pointCloudTool/nodata.svg';\nimport { getClassName } from '@/utils/dom';\nimport { useTranslation } from 'react-i18next';\n\nconst EmptyPage = () => {\n const { t } = useTranslation();\n\n return (\n <div className={getClassName('point-cloud-container', 'empty-page')}>\n <img src={NoDataSvg} />\n <span className={getClassName('point-cloud-container', 'empty-page', 'text')}>\n {t('NoData')}\n </span>\n </div>\n );\n};\n\nexport default EmptyPage;\n"],"names":["NoDataSvg"],"mappings":";;;;;AAUA,MAAM,YAAY,MAAM;AACtB,EAAA,MAAM,CAAE,CAAM,CAAA,GAAA,cAAA,EAAA,CAAA;AAEd,EAAA,2CACG,KAAD,EAAA;AAAA,IAAK,SAAA,EAAW,aAAa,uBAAyB,EAAA,YAAA,CAAA;AAAA,GAAA,sCACnD,KAAD,EAAA;AAAA,IAAK,GAAK,EAAAA,GAAA;AAAA,GAAA,CAAA,sCACT,MAAD,EAAA;AAAA,IAAM,SAAA,EAAW,YAAa,CAAA,uBAAA,EAAyB,YAAc,EAAA,MAAA,CAAA;AAAA,GAAA,EAClE,CAAE,CAAA,QAAA,CAAA,CAAA,CAAA,CAAA;AAAA;;;;"}
@@ -0,0 +1,23 @@
1
+ import React from 'react';
2
+ import { getClassName } from '../../../../utils/dom.js';
3
+ import { Slider } from 'antd';
4
+
5
+ const PointCloudSizeSlider = ({onChange}) => {
6
+ return /* @__PURE__ */ React.createElement("span", {
7
+ className: getClassName("point-cloud-container", "slider-container")
8
+ }, /* @__PURE__ */ React.createElement("span", {
9
+ className: getClassName("point-cloud-container", "slider-container", "circle")
10
+ }), /* @__PURE__ */ React.createElement("span", {
11
+ className: getClassName("point-cloud-container", "slider-container", "slider")
12
+ }, /* @__PURE__ */ React.createElement(Slider, {
13
+ onChange,
14
+ min: 1,
15
+ max: 8
16
+ })), /* @__PURE__ */ React.createElement("span", {
17
+ className: getClassName("point-cloud-container", "slider-container", "circle"),
18
+ style: {width: "10px", height: "10px"}
19
+ }));
20
+ };
21
+
22
+ export { PointCloudSizeSlider as default };
23
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../src/components/pointCloudView/components/PointCloudSizeSlider/index.tsx"],"sourcesContent":["import React from 'react';\nimport { getClassName } from '@/utils/dom';\nimport { Slider } from 'antd';\n\ninterface IProps {\n onChange: (size: number) => void;\n}\n\nconst PointCloudSizeSlider = ({ onChange }: IProps) => {\n return (\n <span className={getClassName('point-cloud-container', 'slider-container')}>\n <span className={getClassName('point-cloud-container', 'slider-container', 'circle')} />\n <span className={getClassName('point-cloud-container', 'slider-container', 'slider')}>\n <Slider onChange={onChange} min={1} max={8} />\n </span>\n <span\n className={getClassName('point-cloud-container', 'slider-container', 'circle')}\n style={{ width: '10px', height: '10px' }}\n />\n </span>\n );\n};\n\nexport default PointCloudSizeSlider;\n"],"names":[],"mappings":";;;;AAQM,MAAA,oBAAA,GAAuB,CAAC,CAAE,QAAuB,CAAA,KAAA;AACrD,EAAA,2CACG,MAAD,EAAA;AAAA,IAAM,SAAA,EAAW,aAAa,uBAAyB,EAAA,kBAAA,CAAA;AAAA,GAAA,sCACpD,MAAD,EAAA;AAAA,IAAM,SAAA,EAAW,YAAa,CAAA,uBAAA,EAAyB,kBAAoB,EAAA,QAAA,CAAA;AAAA,GAAA,CAAA,sCAC1E,MAAD,EAAA;AAAA,IAAM,SAAA,EAAW,YAAa,CAAA,uBAAA,EAAyB,kBAAoB,EAAA,QAAA,CAAA;AAAA,GAAA,sCACxE,MAAD,EAAA;AAAA,IAAQ,QAAA;AAAA,IAAoB,GAAK,EAAA,CAAA;AAAA,IAAG,GAAK,EAAA,CAAA;AAAA,GAAA,CAAA,CAAA,sCAE1C,MAAD,EAAA;AAAA,IACE,SAAA,EAAW,YAAa,CAAA,uBAAA,EAAyB,kBAAoB,EAAA,QAAA,CAAA;AAAA,IACrE,KAAO,EAAA,CAAE,KAAO,EAAA,MAAA,EAAQ,MAAQ,EAAA,MAAA,CAAA;AAAA,GAAA,CAAA,CAAA,CAAA;AAAA;;;;"}