@labelbee/lb-components 1.0.0-alpha.1

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 (590) hide show
  1. package/README.md +41 -0
  2. package/dist/App.js +1 -0
  3. package/dist/assets/annotation/common/icon_adapt.svg.js +1 -0
  4. package/dist/assets/annotation/common/icon_adapt_black.svg.js +1 -0
  5. package/dist/assets/annotation/common/icon_back.svg.js +1 -0
  6. package/dist/assets/annotation/common/icon_backA.svg.js +1 -0
  7. package/dist/assets/annotation/common/icon_clear.svg.js +1 -0
  8. package/dist/assets/annotation/common/icon_clearSmall.svg.js +1 -0
  9. package/dist/assets/annotation/common/icon_clearSmall_a.svg.js +1 -0
  10. package/dist/assets/annotation/common/icon_clear_a.svg.js +1 -0
  11. package/dist/assets/annotation/common/icon_invalid.svg.js +1 -0
  12. package/dist/assets/annotation/common/icon_invalid_a.svg.js +1 -0
  13. package/dist/assets/annotation/common/icon_next.svg.js +1 -0
  14. package/dist/assets/annotation/common/icon_nextA.svg.js +1 -0
  15. package/dist/assets/annotation/common/icon_r.svg.js +1 -0
  16. package/dist/assets/annotation/common/icon_rA.svg.js +1 -0
  17. package/dist/assets/annotation/common/icon_save.svg.js +1 -0
  18. package/dist/assets/annotation/common/icon_saveA.svg.js +1 -0
  19. package/dist/assets/annotation/image/brightness.svg.js +1 -0
  20. package/dist/assets/annotation/image/contrast.svg.js +1 -0
  21. package/dist/assets/annotation/image/icon_yuantu.svg.js +1 -0
  22. package/dist/assets/annotation/image/saturation.svg.js +1 -0
  23. package/dist/assets/annotation/lineTool/icon_line.svg.js +1 -0
  24. package/dist/assets/annotation/lineTool/icon_line_a.svg.js +1 -0
  25. package/dist/assets/annotation/pointCloudTool/changePointCloudValid.svg.js +1 -0
  26. package/dist/assets/annotation/pointCloudTool/copy.svg.js +1 -0
  27. package/dist/assets/annotation/pointCloudTool/nextBox.svg.js +1 -0
  28. package/dist/assets/annotation/pointCloudTool/nodata.svg.js +1 -0
  29. package/dist/assets/annotation/pointCloudTool/patse.svg.js +1 -0
  30. package/dist/assets/annotation/pointCloudTool/prevBox.svg.js +1 -0
  31. package/dist/assets/annotation/pointCloudTool/rotate180_black.svg.js +1 -0
  32. package/dist/assets/annotation/pointCloudTool/selectAll.svg.js +1 -0
  33. package/dist/assets/annotation/pointCloudTool/selectMultiple.svg.js +1 -0
  34. package/dist/assets/annotation/pointCloudTool/unitAttribute.svg.js +1 -0
  35. package/dist/assets/annotation/pointCloudTool/unitAttributeForbid.svg.js +1 -0
  36. package/dist/assets/annotation/pointCloudTool/unitAttributeHover.svg.js +1 -0
  37. package/dist/assets/annotation/pointTool/icon_point.svg.js +1 -0
  38. package/dist/assets/annotation/pointTool/icon_point_a.svg.js +1 -0
  39. package/dist/assets/annotation/polygonTool/icon_polygon.svg.js +1 -0
  40. package/dist/assets/annotation/polygonTool/icon_polygon_a.svg.js +1 -0
  41. package/dist/assets/annotation/rectTool/icon_rect.svg.js +1 -0
  42. package/dist/assets/annotation/rectTool/icon_rect_a.svg.js +1 -0
  43. package/dist/assets/annotation/toolHotKeyIcon/icon_alttab_kj.svg.js +1 -0
  44. package/dist/assets/annotation/toolHotKeyIcon/icon_back_kj.svg.js +1 -0
  45. package/dist/assets/annotation/toolHotKeyIcon/icon_cencel_kj.svg.js +1 -0
  46. package/dist/assets/annotation/toolHotKeyIcon/icon_del_kj.svg.js +1 -0
  47. package/dist/assets/annotation/toolHotKeyIcon/icon_forward_kj.svg.js +1 -0
  48. package/dist/assets/annotation/toolHotKeyIcon/icon_frameActive_kj.svg.js +1 -0
  49. package/dist/assets/annotation/toolHotKeyIcon/icon_frameChange_kj.svg.js +1 -0
  50. package/dist/assets/annotation/toolHotKeyIcon/icon_frameNull_kj.svg.js +1 -0
  51. package/dist/assets/annotation/toolHotKeyIcon/icon_frame_kj.svg.js +1 -0
  52. package/dist/assets/annotation/toolHotKeyIcon/icon_fullView_kj.svg.js +1 -0
  53. package/dist/assets/annotation/toolHotKeyIcon/icon_kj1.svg.js +1 -0
  54. package/dist/assets/annotation/toolHotKeyIcon/icon_kj_h.svg.js +1 -0
  55. package/dist/assets/annotation/toolHotKeyIcon/icon_last_kj.svg.js +1 -0
  56. package/dist/assets/annotation/toolHotKeyIcon/icon_lineActive_kj.svg.js +1 -0
  57. package/dist/assets/annotation/toolHotKeyIcon/icon_lineChange_kj.svg.js +1 -0
  58. package/dist/assets/annotation/toolHotKeyIcon/icon_lineCont_kj.svg.js +1 -0
  59. package/dist/assets/annotation/toolHotKeyIcon/icon_lineDel_kj.svg.js +1 -0
  60. package/dist/assets/annotation/toolHotKeyIcon/icon_lineInsert_kj.svg.js +1 -0
  61. package/dist/assets/annotation/toolHotKeyIcon/icon_lineNull_kj.svg.js +1 -0
  62. package/dist/assets/annotation/toolHotKeyIcon/icon_lineSpecial_kj.svg.js +1 -0
  63. package/dist/assets/annotation/toolHotKeyIcon/icon_line_kj.svg.js +1 -0
  64. package/dist/assets/annotation/toolHotKeyIcon/icon_loupe_kj.svg.js +1 -0
  65. package/dist/assets/annotation/toolHotKeyIcon/icon_mouse_left_kj.svg.js +1 -0
  66. package/dist/assets/annotation/toolHotKeyIcon/icon_mouse_middle_kj.svg.js +1 -0
  67. package/dist/assets/annotation/toolHotKeyIcon/icon_mouse_right_kj.svg.js +1 -0
  68. package/dist/assets/annotation/toolHotKeyIcon/icon_move_kj.svg.js +1 -0
  69. package/dist/assets/annotation/toolHotKeyIcon/icon_next_kj.svg.js +1 -0
  70. package/dist/assets/annotation/toolHotKeyIcon/icon_noDisplay.svg.js +1 -0
  71. package/dist/assets/annotation/toolHotKeyIcon/icon_playPause.svg.js +1 -0
  72. package/dist/assets/annotation/toolHotKeyIcon/icon_pointActive_kj.svg.js +1 -0
  73. package/dist/assets/annotation/toolHotKeyIcon/icon_pointNull_kj.svg.js +1 -0
  74. package/dist/assets/annotation/toolHotKeyIcon/icon_point_kj.svg.js +1 -0
  75. package/dist/assets/annotation/toolHotKeyIcon/icon_polygonActive_kj.svg.js +1 -0
  76. package/dist/assets/annotation/toolHotKeyIcon/icon_polygonChange_kj.svg.js +1 -0
  77. package/dist/assets/annotation/toolHotKeyIcon/icon_polygonDel_kj.svg.js +1 -0
  78. package/dist/assets/annotation/toolHotKeyIcon/icon_polygonInsert_kj.svg.js +1 -0
  79. package/dist/assets/annotation/toolHotKeyIcon/icon_polygonMerge_kj.svg.js +1 -0
  80. package/dist/assets/annotation/toolHotKeyIcon/icon_polygonNull_kj.svg.js +1 -0
  81. package/dist/assets/annotation/toolHotKeyIcon/icon_reform_kj.svg.js +1 -0
  82. package/dist/assets/annotation/toolHotKeyIcon/icon_reload_kj.svg.js +1 -0
  83. package/dist/assets/annotation/toolHotKeyIcon/icon_save_kj.svg.js +1 -0
  84. package/dist/assets/annotation/toolHotKeyIcon/icon_segment.svg.js +1 -0
  85. package/dist/assets/annotation/toolHotKeyIcon/icon_speed_kj.svg.js +1 -0
  86. package/dist/assets/annotation/toolHotKeyIcon/icon_straightLine_kj.svg.js +1 -0
  87. package/dist/assets/annotation/toolHotKeyIcon/icon_tab_kj.svg.js +1 -0
  88. package/dist/assets/annotation/toolHotKeyIcon/icon_tag_kj.svg.js +1 -0
  89. package/dist/assets/annotation/toolHotKeyIcon/icon_unGrip_kj.svg.js +1 -0
  90. package/dist/assets/annotation/toolHotKeyIcon/setValid.svg.js +1 -0
  91. package/dist/assets/annotation/video/icon_keyboard_h.svg.js +1 -0
  92. package/dist/assets/attributeIcon/eraser.svg.js +1 -0
  93. package/dist/assets/attributeIcon/eraser_a.svg.js +1 -0
  94. package/dist/assets/attributeIcon/pen.svg.js +1 -0
  95. package/dist/assets/attributeIcon/pen_a.svg.js +1 -0
  96. package/dist/assets/attributeIcon/zoomUp.svg.js +1 -0
  97. package/dist/assets/icons/25541b4d.svg +10 -0
  98. package/dist/assets/icons/25ef334b.svg +8 -0
  99. package/dist/assets/icons/7eadb9c4.svg +5 -0
  100. package/dist/assets/icons/9d70807.svg +5 -0
  101. package/dist/assets/icons/aa147cfc.png +0 -0
  102. package/dist/assets/icons/c5b4262e.png +0 -0
  103. package/dist/assets/icons/cc550fff.svg +23 -0
  104. package/dist/assets/icons/dc9b6bfc.svg +10 -0
  105. package/dist/assets/icons/e4f0b7fe.png +0 -0
  106. package/dist/assets/predictTracking/icon.svg.js +1 -0
  107. package/dist/assets/toolStyle/icon_border.svg.js +1 -0
  108. package/dist/assets/toolStyle/icon_borderColor.svg.js +1 -0
  109. package/dist/assets/toolStyle/icon_opacityFill.svg.js +1 -0
  110. package/dist/assets/toolStyle/icon_opacityStroke.svg.js +1 -0
  111. package/dist/components/AnnotationView/index.js +1 -0
  112. package/dist/components/AnnotationView/pointCloudAnnotationView.js +1 -0
  113. package/dist/components/annotationStepPopover/index.js +1 -0
  114. package/dist/components/attributeList/index.js +1 -0
  115. package/dist/components/checkboxList/index.js +1 -0
  116. package/dist/components/colorTag/index.js +1 -0
  117. package/dist/components/customAntd/IconWithText/index.js +1 -0
  118. package/dist/components/customResizeHook/index.js +1 -0
  119. package/dist/components/fileException/FileError.js +1 -0
  120. package/dist/components/fileException/FileInvalid.js +1 -0
  121. package/dist/components/fileException/index.js +1 -0
  122. package/dist/components/pointCloudView/PointCloud2DView.js +1 -0
  123. package/dist/components/pointCloudView/PointCloud3DView.js +1 -0
  124. package/dist/components/pointCloudView/PointCloudBackView.js +1 -0
  125. package/dist/components/pointCloudView/PointCloudContext.js +1 -0
  126. package/dist/components/pointCloudView/PointCloudInfos.js +1 -0
  127. package/dist/components/pointCloudView/PointCloudLayout.js +1 -0
  128. package/dist/components/pointCloudView/PointCloudListener.js +1 -0
  129. package/dist/components/pointCloudView/PointCloudSideView.js +1 -0
  130. package/dist/components/pointCloudView/PointCloudTopView.js +1 -0
  131. package/dist/components/pointCloudView/components/EmptyPage/index.js +1 -0
  132. package/dist/components/pointCloudView/components/UnifyParamsModal/index.js +1 -0
  133. package/dist/components/pointCloudView/hooks/useAttribute.js +1 -0
  134. package/dist/components/pointCloudView/hooks/useBoxes.js +1 -0
  135. package/dist/components/pointCloudView/hooks/useConfig.js +1 -0
  136. package/dist/components/pointCloudView/hooks/useHistory.js +1 -0
  137. package/dist/components/pointCloudView/hooks/useLine.js +1 -0
  138. package/dist/components/pointCloudView/hooks/usePointCloudViews.js +1 -0
  139. package/dist/components/pointCloudView/hooks/usePolygon.js +1 -0
  140. package/dist/components/pointCloudView/hooks/useRotate.js +1 -0
  141. package/dist/components/pointCloudView/hooks/useSingleBox.js +1 -0
  142. package/dist/components/pointCloudView/hooks/useSphere.js +1 -0
  143. package/dist/components/pointCloudView/hooks/useStatus.js +1 -0
  144. package/dist/components/pointCloudView/hooks/useZoom.js +1 -0
  145. package/dist/components/pointCloudView/index.js +1 -0
  146. package/dist/components/predictTracking/index.js +1 -0
  147. package/dist/components/predictTracking/predictTrackingIcon/index.js +1 -0
  148. package/dist/components/predictTracking/previewResult/index.js +1 -0
  149. package/dist/components/predictTracking/previewResult/util.js +1 -0
  150. package/dist/components/videoAnnotate/index.js +1 -0
  151. package/dist/components/videoPlayer/TagToolInstanceAdaptor.js +1 -0
  152. package/dist/components/videoPlayer/TagToolInstanceAdaptorI18nProvider.js +1 -0
  153. package/dist/components/videoPlayer/VideoTagLayer.js +1 -0
  154. package/dist/components/videoPlayer/components/controller/index.js +1 -0
  155. package/dist/components/videoPlayer/index.js +1 -0
  156. package/dist/components/videoPlayer/utils.js +1 -0
  157. package/dist/configureStore.js +1 -0
  158. package/dist/constant/index.js +1 -0
  159. package/dist/constant/styleString.js +1 -0
  160. package/dist/data/Style.js +1 -0
  161. package/dist/data/enums/AnnotationSize.js +1 -0
  162. package/dist/data/enums/ToolType.js +1 -0
  163. package/dist/hooks/annotation.js +1 -0
  164. package/dist/hooks/useRafState.js +1 -0
  165. package/dist/hooks/useRefCache.js +1 -0
  166. package/dist/hooks/useSafeSate.js +1 -0
  167. package/dist/hooks/useSize.js +1 -0
  168. package/dist/hooks/useUnmountedRef.js +1 -0
  169. package/dist/index.css +1549 -0
  170. package/dist/index.js +1 -0
  171. package/dist/store/Actions.js +1 -0
  172. package/dist/store/annotation/actionCreators.js +1 -0
  173. package/dist/store/annotation/map.js +1 -0
  174. package/dist/store/annotation/reducer.js +1 -0
  175. package/dist/store/annotation/selectors.js +1 -0
  176. package/dist/store/ctx.js +1 -0
  177. package/dist/store/imgAttribute/actionCreators.js +1 -0
  178. package/dist/store/imgAttribute/reducer.js +1 -0
  179. package/dist/store/index.js +1 -0
  180. package/dist/store/toolStyle/actionCreators.js +1 -0
  181. package/dist/store/toolStyle/reducer.js +1 -0
  182. package/dist/types/App.d.ts +75 -0
  183. package/dist/types/components/AnnotationView/index.d.ts +27 -0
  184. package/dist/types/components/AnnotationView/pointCloudAnnotationView.d.ts +13 -0
  185. package/dist/types/components/annotationStepPopover/index.d.ts +9 -0
  186. package/dist/types/components/attributeList/index.d.ts +18 -0
  187. package/dist/types/components/checkboxList/index.d.ts +9 -0
  188. package/dist/types/components/colorTag/index.d.ts +2 -0
  189. package/dist/types/components/customAntd/IconWithText/index.d.ts +9 -0
  190. package/dist/types/components/customResizeHook/index.d.ts +31 -0
  191. package/dist/types/components/fileException/FileError.d.ts +15 -0
  192. package/dist/types/components/fileException/FileInvalid.d.ts +12 -0
  193. package/dist/types/components/fileException/index.d.ts +17 -0
  194. package/dist/types/components/pointCloudView/PointCloud2DView.d.ts +4 -0
  195. package/dist/types/components/pointCloudView/PointCloud3DView.d.ts +6 -0
  196. package/dist/types/components/pointCloudView/PointCloudBackView.d.ts +7 -0
  197. package/dist/types/components/pointCloudView/PointCloudContext.d.ts +54 -0
  198. package/dist/types/components/pointCloudView/PointCloudInfos.d.ts +23 -0
  199. package/dist/types/components/pointCloudView/PointCloudLayout.d.ts +7 -0
  200. package/dist/types/components/pointCloudView/PointCloudListener.d.ts +9 -0
  201. package/dist/types/components/pointCloudView/PointCloudSideView.d.ts +9 -0
  202. package/dist/types/components/pointCloudView/PointCloudTopView.d.ts +12 -0
  203. package/dist/types/components/pointCloudView/components/EmptyPage/index.d.ts +3 -0
  204. package/dist/types/components/pointCloudView/components/UnifyParamsModal/index.d.ts +13 -0
  205. package/dist/types/components/pointCloudView/hooks/useAttribute.d.ts +7 -0
  206. package/dist/types/components/pointCloudView/hooks/useBoxes.d.ts +12 -0
  207. package/dist/types/components/pointCloudView/hooks/useConfig.d.ts +5 -0
  208. package/dist/types/components/pointCloudView/hooks/useHistory.d.ts +22 -0
  209. package/dist/types/components/pointCloudView/hooks/useLine.d.ts +12 -0
  210. package/dist/types/components/pointCloudView/hooks/usePointCloudViews.d.ts +101 -0
  211. package/dist/types/components/pointCloudView/hooks/usePolygon.d.ts +12 -0
  212. package/dist/types/components/pointCloudView/hooks/useRotate.d.ts +8 -0
  213. package/dist/types/components/pointCloudView/hooks/useSingleBox.d.ts +18 -0
  214. package/dist/types/components/pointCloudView/hooks/useSphere.d.ts +6 -0
  215. package/dist/types/components/pointCloudView/hooks/useStatus.d.ts +11 -0
  216. package/dist/types/components/pointCloudView/hooks/useZoom.d.ts +11 -0
  217. package/dist/types/components/pointCloudView/index.d.ts +19 -0
  218. package/dist/types/components/predictTracking/index.d.ts +2 -0
  219. package/dist/types/components/predictTracking/predictTrackingIcon/index.d.ts +7 -0
  220. package/dist/types/components/predictTracking/previewResult/index.d.ts +10 -0
  221. package/dist/types/components/predictTracking/previewResult/util.d.ts +43 -0
  222. package/dist/types/components/videoAnnotate/index.d.ts +15 -0
  223. package/dist/types/components/videoPlayer/TagToolInstanceAdaptor.d.ts +90 -0
  224. package/dist/types/components/videoPlayer/TagToolInstanceAdaptorI18nProvider.d.ts +9 -0
  225. package/dist/types/components/videoPlayer/VideoTagLayer.d.ts +12 -0
  226. package/dist/types/components/videoPlayer/components/controller/index.d.ts +3 -0
  227. package/dist/types/components/videoPlayer/index.d.ts +73 -0
  228. package/dist/types/components/videoPlayer/types.d.ts +8 -0
  229. package/dist/types/components/videoPlayer/utils.d.ts +36 -0
  230. package/dist/types/configureStore.d.ts +3 -0
  231. package/dist/types/constant/index.d.ts +22 -0
  232. package/dist/types/constant/styleString.d.ts +2 -0
  233. package/dist/types/data/Style.d.ts +37 -0
  234. package/dist/types/data/enums/AnnotationSize.d.ts +32 -0
  235. package/dist/types/data/enums/ToolType.d.ts +54 -0
  236. package/dist/types/hooks/annotation.d.ts +37 -0
  237. package/dist/types/hooks/useRafState.d.ts +3 -0
  238. package/dist/types/hooks/useRefCache.d.ts +8 -0
  239. package/dist/types/hooks/useSafeSate.d.ts +4 -0
  240. package/dist/types/hooks/useSize.d.ts +7 -0
  241. package/dist/types/hooks/useUnmountedRef.d.ts +3 -0
  242. package/dist/types/index.d.ts +15 -0
  243. package/dist/types/store/Actions.d.ts +48 -0
  244. package/dist/types/store/annotation/actionCreators.d.ts +95 -0
  245. package/dist/types/store/annotation/map.d.ts +29 -0
  246. package/dist/types/store/annotation/reducer.d.ts +53 -0
  247. package/dist/types/store/annotation/selectors.d.ts +7 -0
  248. package/dist/types/store/annotation/types.d.ts +158 -0
  249. package/dist/types/store/ctx.d.ts +4 -0
  250. package/dist/types/store/imgAttribute/actionCreators.d.ts +8 -0
  251. package/dist/types/store/imgAttribute/reducer.d.ts +8 -0
  252. package/dist/types/store/imgAttribute/types.d.ts +23 -0
  253. package/dist/types/store/index.d.ts +3 -0
  254. package/dist/types/store/toolStyle/actionCreators.d.ts +8 -0
  255. package/dist/types/store/toolStyle/reducer.d.ts +13 -0
  256. package/dist/types/store/toolStyle/types.d.ts +23 -0
  257. package/dist/types/utils/AnnotationDataUtils.d.ts +77 -0
  258. package/dist/types/utils/ConfigUtils.d.ts +9 -0
  259. package/dist/types/utils/PageOperator.d.ts +48 -0
  260. package/dist/types/utils/StepUtils.d.ts +32 -0
  261. package/dist/types/utils/TextUtils.d.ts +7 -0
  262. package/dist/types/utils/ToolStyleUtils.d.ts +18 -0
  263. package/dist/types/utils/ToolUtils.d.ts +12 -0
  264. package/dist/types/utils/data.d.ts +15 -0
  265. package/dist/types/utils/dom.d.ts +11 -0
  266. package/dist/types/utils/index.d.ts +5 -0
  267. package/dist/types/views/MainView/annotationOperation/index.d.ts +18 -0
  268. package/dist/types/views/MainView/annotationTips/index.d.ts +7 -0
  269. package/dist/types/views/MainView/index.d.ts +10 -0
  270. package/dist/types/views/MainView/sidebar/AnnotationText/index.d.ts +9 -0
  271. package/dist/types/views/MainView/sidebar/ClearIcon/index.d.ts +3 -0
  272. package/dist/types/views/MainView/sidebar/GeneralOperation/ActionsConfirm.d.ts +14 -0
  273. package/dist/types/views/MainView/sidebar/GeneralOperation/index.d.ts +19 -0
  274. package/dist/types/views/MainView/sidebar/GeneralOperation/useOperationList.d.ts +12 -0
  275. package/dist/types/views/MainView/sidebar/ImgAttributeInfo/index.d.ts +7 -0
  276. package/dist/types/views/MainView/sidebar/PointCloudToolSidebar/components/batchUpdateModal/index.d.ts +20 -0
  277. package/dist/types/views/MainView/sidebar/PointCloudToolSidebar/index.d.ts +14 -0
  278. package/dist/types/views/MainView/sidebar/ScribbleSidebar/index.d.ts +6 -0
  279. package/dist/types/views/MainView/sidebar/SwitchAttributeList/index.d.ts +11 -0
  280. package/dist/types/views/MainView/sidebar/TagSidebar/index.d.ts +11 -0
  281. package/dist/types/views/MainView/sidebar/TextAreaFormat/index.d.ts +9 -0
  282. package/dist/types/views/MainView/sidebar/TextToolSidebar/index.d.ts +22 -0
  283. package/dist/types/views/MainView/sidebar/ToolIcons.d.ts +12 -0
  284. package/dist/types/views/MainView/sidebar/ToolStyle/index.d.ts +8 -0
  285. package/dist/types/views/MainView/sidebar/index.d.ts +10 -0
  286. package/dist/types/views/MainView/toolFooter/AnnotatedAttributes/index.d.ts +5 -0
  287. package/dist/types/views/MainView/toolFooter/FooterPopover.d.ts +10 -0
  288. package/dist/types/views/MainView/toolFooter/FooterTips/ToolHotKey/common/index.d.ts +132 -0
  289. package/dist/types/views/MainView/toolFooter/FooterTips/ToolHotKey/cuboid/index.d.ts +6 -0
  290. package/dist/types/views/MainView/toolFooter/FooterTips/ToolHotKey/index.d.ts +23 -0
  291. package/dist/types/views/MainView/toolFooter/FooterTips/ToolHotKey/line/index.d.ts +71 -0
  292. package/dist/types/views/MainView/toolFooter/FooterTips/ToolHotKey/point/index.d.ts +27 -0
  293. package/dist/types/views/MainView/toolFooter/FooterTips/ToolHotKey/pointCloud/index.d.ts +5 -0
  294. package/dist/types/views/MainView/toolFooter/FooterTips/ToolHotKey/polygon/index.d.ts +85 -0
  295. package/dist/types/views/MainView/toolFooter/FooterTips/ToolHotKey/rectToolShortCutTable/index.d.ts +38 -0
  296. package/dist/types/views/MainView/toolFooter/FooterTips/ToolHotKey/scribble/index.d.ts +6 -0
  297. package/dist/types/views/MainView/toolFooter/FooterTips/ToolHotKey/tag/index.d.ts +3 -0
  298. package/dist/types/views/MainView/toolFooter/FooterTips/ToolHotKey/text/index.d.ts +6 -0
  299. package/dist/types/views/MainView/toolFooter/FooterTips/ToolHotKey/videoTag/index.d.ts +3 -0
  300. package/dist/types/views/MainView/toolFooter/FooterTips/index.d.ts +3 -0
  301. package/dist/types/views/MainView/toolFooter/HiddenTips/index.d.ts +7 -0
  302. package/dist/types/views/MainView/toolFooter/PageNumber/index.d.ts +7 -0
  303. package/dist/types/views/MainView/toolFooter/Pagination.d.ts +22 -0
  304. package/dist/types/views/MainView/toolFooter/ZoomController/ZoomLevel/index.d.ts +10 -0
  305. package/dist/types/views/MainView/toolFooter/ZoomController/index.d.ts +21 -0
  306. package/dist/types/views/MainView/toolFooter/index.d.ts +24 -0
  307. package/dist/types/views/MainView/toolHeader/ExportData/index.d.ts +15 -0
  308. package/dist/types/views/MainView/toolHeader/StepSwitch/index.d.ts +14 -0
  309. package/dist/types/views/MainView/toolHeader/headerOption/index.d.ts +8 -0
  310. package/dist/types/views/MainView/toolHeader/index.d.ts +23 -0
  311. package/dist/utils/AnnotationDataUtils.js +1 -0
  312. package/dist/utils/ConfigUtils.js +1 -0
  313. package/dist/utils/PageOperator.js +1 -0
  314. package/dist/utils/StepUtils.js +1 -0
  315. package/dist/utils/TextUtils.js +1 -0
  316. package/dist/utils/ToolStyleUtils.js +1 -0
  317. package/dist/utils/ToolUtils.js +1 -0
  318. package/dist/utils/data.js +1 -0
  319. package/dist/utils/dom.js +1 -0
  320. package/dist/utils/index.js +1 -0
  321. package/dist/views/MainView/annotationOperation/index.js +1 -0
  322. package/dist/views/MainView/annotationTips/index.js +1 -0
  323. package/dist/views/MainView/index.js +1 -0
  324. package/dist/views/MainView/sidebar/AnnotationText/index.js +1 -0
  325. package/dist/views/MainView/sidebar/ClearIcon/index.js +1 -0
  326. package/dist/views/MainView/sidebar/GeneralOperation/ActionsConfirm.js +1 -0
  327. package/dist/views/MainView/sidebar/GeneralOperation/index.js +1 -0
  328. package/dist/views/MainView/sidebar/GeneralOperation/useOperationList.js +1 -0
  329. package/dist/views/MainView/sidebar/ImgAttributeInfo/index.js +1 -0
  330. package/dist/views/MainView/sidebar/PointCloudToolSidebar/components/batchUpdateModal/index.js +1 -0
  331. package/dist/views/MainView/sidebar/PointCloudToolSidebar/index.js +1 -0
  332. package/dist/views/MainView/sidebar/ScribbleSidebar/index.js +1 -0
  333. package/dist/views/MainView/sidebar/SwitchAttributeList/index.js +1 -0
  334. package/dist/views/MainView/sidebar/TagSidebar/index.js +1 -0
  335. package/dist/views/MainView/sidebar/TextAreaFormat/index.js +1 -0
  336. package/dist/views/MainView/sidebar/TextToolSidebar/index.js +1 -0
  337. package/dist/views/MainView/sidebar/ToolIcons.js +1 -0
  338. package/dist/views/MainView/sidebar/ToolStyle/index.js +1 -0
  339. package/dist/views/MainView/sidebar/index.js +1 -0
  340. package/dist/views/MainView/toolFooter/AnnotatedAttributes/index.js +1 -0
  341. package/dist/views/MainView/toolFooter/FooterPopover.js +1 -0
  342. package/dist/views/MainView/toolFooter/FooterTips/ToolHotKey/common/index.js +1 -0
  343. package/dist/views/MainView/toolFooter/FooterTips/ToolHotKey/cuboid/index.js +1 -0
  344. package/dist/views/MainView/toolFooter/FooterTips/ToolHotKey/index.js +1 -0
  345. package/dist/views/MainView/toolFooter/FooterTips/ToolHotKey/line/index.js +1 -0
  346. package/dist/views/MainView/toolFooter/FooterTips/ToolHotKey/point/index.js +1 -0
  347. package/dist/views/MainView/toolFooter/FooterTips/ToolHotKey/pointCloud/index.js +1 -0
  348. package/dist/views/MainView/toolFooter/FooterTips/ToolHotKey/polygon/index.js +1 -0
  349. package/dist/views/MainView/toolFooter/FooterTips/ToolHotKey/rectToolShortCutTable/index.js +1 -0
  350. package/dist/views/MainView/toolFooter/FooterTips/ToolHotKey/scribble/index.js +1 -0
  351. package/dist/views/MainView/toolFooter/FooterTips/ToolHotKey/tag/index.js +1 -0
  352. package/dist/views/MainView/toolFooter/FooterTips/ToolHotKey/text/index.js +1 -0
  353. package/dist/views/MainView/toolFooter/FooterTips/ToolHotKey/videoTag/index.js +1 -0
  354. package/dist/views/MainView/toolFooter/FooterTips/index.js +1 -0
  355. package/dist/views/MainView/toolFooter/HiddenTips/index.js +1 -0
  356. package/dist/views/MainView/toolFooter/PageNumber/index.js +1 -0
  357. package/dist/views/MainView/toolFooter/Pagination.js +1 -0
  358. package/dist/views/MainView/toolFooter/ZoomController/ZoomLevel/index.js +1 -0
  359. package/dist/views/MainView/toolFooter/ZoomController/index.js +1 -0
  360. package/dist/views/MainView/toolFooter/index.js +1 -0
  361. package/dist/views/MainView/toolHeader/ExportData/index.js +1 -0
  362. package/dist/views/MainView/toolHeader/StepSwitch/index.js +1 -0
  363. package/dist/views/MainView/toolHeader/headerOption/index.js +1 -0
  364. package/dist/views/MainView/toolHeader/index.js +1 -0
  365. package/es/App.js +1 -0
  366. package/es/assets/annotation/common/icon_adapt.svg.js +1 -0
  367. package/es/assets/annotation/common/icon_adapt_black.svg.js +1 -0
  368. package/es/assets/annotation/common/icon_back.svg.js +1 -0
  369. package/es/assets/annotation/common/icon_backA.svg.js +1 -0
  370. package/es/assets/annotation/common/icon_clear.svg.js +1 -0
  371. package/es/assets/annotation/common/icon_clearSmall.svg.js +1 -0
  372. package/es/assets/annotation/common/icon_clearSmall_a.svg.js +1 -0
  373. package/es/assets/annotation/common/icon_clear_a.svg.js +1 -0
  374. package/es/assets/annotation/common/icon_invalid.svg.js +1 -0
  375. package/es/assets/annotation/common/icon_invalid_a.svg.js +1 -0
  376. package/es/assets/annotation/common/icon_next.svg.js +1 -0
  377. package/es/assets/annotation/common/icon_nextA.svg.js +1 -0
  378. package/es/assets/annotation/common/icon_r.svg.js +1 -0
  379. package/es/assets/annotation/common/icon_rA.svg.js +1 -0
  380. package/es/assets/annotation/common/icon_save.svg.js +1 -0
  381. package/es/assets/annotation/common/icon_saveA.svg.js +1 -0
  382. package/es/assets/annotation/image/brightness.svg.js +1 -0
  383. package/es/assets/annotation/image/contrast.svg.js +1 -0
  384. package/es/assets/annotation/image/icon_yuantu.svg.js +1 -0
  385. package/es/assets/annotation/image/saturation.svg.js +1 -0
  386. package/es/assets/annotation/lineTool/icon_line.svg.js +1 -0
  387. package/es/assets/annotation/lineTool/icon_line_a.svg.js +1 -0
  388. package/es/assets/annotation/pointCloudTool/changePointCloudValid.svg.js +1 -0
  389. package/es/assets/annotation/pointCloudTool/copy.svg.js +1 -0
  390. package/es/assets/annotation/pointCloudTool/nextBox.svg.js +1 -0
  391. package/es/assets/annotation/pointCloudTool/nodata.svg.js +1 -0
  392. package/es/assets/annotation/pointCloudTool/patse.svg.js +1 -0
  393. package/es/assets/annotation/pointCloudTool/prevBox.svg.js +1 -0
  394. package/es/assets/annotation/pointCloudTool/rotate180_black.svg.js +1 -0
  395. package/es/assets/annotation/pointCloudTool/selectAll.svg.js +1 -0
  396. package/es/assets/annotation/pointCloudTool/selectMultiple.svg.js +1 -0
  397. package/es/assets/annotation/pointCloudTool/unitAttribute.svg.js +1 -0
  398. package/es/assets/annotation/pointCloudTool/unitAttributeForbid.svg.js +1 -0
  399. package/es/assets/annotation/pointCloudTool/unitAttributeHover.svg.js +1 -0
  400. package/es/assets/annotation/pointTool/icon_point.svg.js +1 -0
  401. package/es/assets/annotation/pointTool/icon_point_a.svg.js +1 -0
  402. package/es/assets/annotation/polygonTool/icon_polygon.svg.js +1 -0
  403. package/es/assets/annotation/polygonTool/icon_polygon_a.svg.js +1 -0
  404. package/es/assets/annotation/rectTool/icon_rect.svg.js +1 -0
  405. package/es/assets/annotation/rectTool/icon_rect_a.svg.js +1 -0
  406. package/es/assets/annotation/toolHotKeyIcon/icon_alttab_kj.svg.js +1 -0
  407. package/es/assets/annotation/toolHotKeyIcon/icon_back_kj.svg.js +1 -0
  408. package/es/assets/annotation/toolHotKeyIcon/icon_cencel_kj.svg.js +1 -0
  409. package/es/assets/annotation/toolHotKeyIcon/icon_del_kj.svg.js +1 -0
  410. package/es/assets/annotation/toolHotKeyIcon/icon_forward_kj.svg.js +1 -0
  411. package/es/assets/annotation/toolHotKeyIcon/icon_frameActive_kj.svg.js +1 -0
  412. package/es/assets/annotation/toolHotKeyIcon/icon_frameChange_kj.svg.js +1 -0
  413. package/es/assets/annotation/toolHotKeyIcon/icon_frameNull_kj.svg.js +1 -0
  414. package/es/assets/annotation/toolHotKeyIcon/icon_frame_kj.svg.js +1 -0
  415. package/es/assets/annotation/toolHotKeyIcon/icon_fullView_kj.svg.js +1 -0
  416. package/es/assets/annotation/toolHotKeyIcon/icon_kj1.svg.js +1 -0
  417. package/es/assets/annotation/toolHotKeyIcon/icon_kj_h.svg.js +1 -0
  418. package/es/assets/annotation/toolHotKeyIcon/icon_last_kj.svg.js +1 -0
  419. package/es/assets/annotation/toolHotKeyIcon/icon_lineActive_kj.svg.js +1 -0
  420. package/es/assets/annotation/toolHotKeyIcon/icon_lineChange_kj.svg.js +1 -0
  421. package/es/assets/annotation/toolHotKeyIcon/icon_lineCont_kj.svg.js +1 -0
  422. package/es/assets/annotation/toolHotKeyIcon/icon_lineDel_kj.svg.js +1 -0
  423. package/es/assets/annotation/toolHotKeyIcon/icon_lineInsert_kj.svg.js +1 -0
  424. package/es/assets/annotation/toolHotKeyIcon/icon_lineNull_kj.svg.js +1 -0
  425. package/es/assets/annotation/toolHotKeyIcon/icon_lineSpecial_kj.svg.js +1 -0
  426. package/es/assets/annotation/toolHotKeyIcon/icon_line_kj.svg.js +1 -0
  427. package/es/assets/annotation/toolHotKeyIcon/icon_loupe_kj.svg.js +1 -0
  428. package/es/assets/annotation/toolHotKeyIcon/icon_mouse_left_kj.svg.js +1 -0
  429. package/es/assets/annotation/toolHotKeyIcon/icon_mouse_middle_kj.svg.js +1 -0
  430. package/es/assets/annotation/toolHotKeyIcon/icon_mouse_right_kj.svg.js +1 -0
  431. package/es/assets/annotation/toolHotKeyIcon/icon_move_kj.svg.js +1 -0
  432. package/es/assets/annotation/toolHotKeyIcon/icon_next_kj.svg.js +1 -0
  433. package/es/assets/annotation/toolHotKeyIcon/icon_noDisplay.svg.js +1 -0
  434. package/es/assets/annotation/toolHotKeyIcon/icon_playPause.svg.js +1 -0
  435. package/es/assets/annotation/toolHotKeyIcon/icon_pointActive_kj.svg.js +1 -0
  436. package/es/assets/annotation/toolHotKeyIcon/icon_pointNull_kj.svg.js +1 -0
  437. package/es/assets/annotation/toolHotKeyIcon/icon_point_kj.svg.js +1 -0
  438. package/es/assets/annotation/toolHotKeyIcon/icon_polygonActive_kj.svg.js +1 -0
  439. package/es/assets/annotation/toolHotKeyIcon/icon_polygonChange_kj.svg.js +1 -0
  440. package/es/assets/annotation/toolHotKeyIcon/icon_polygonDel_kj.svg.js +1 -0
  441. package/es/assets/annotation/toolHotKeyIcon/icon_polygonInsert_kj.svg.js +1 -0
  442. package/es/assets/annotation/toolHotKeyIcon/icon_polygonMerge_kj.svg.js +1 -0
  443. package/es/assets/annotation/toolHotKeyIcon/icon_polygonNull_kj.svg.js +1 -0
  444. package/es/assets/annotation/toolHotKeyIcon/icon_reform_kj.svg.js +1 -0
  445. package/es/assets/annotation/toolHotKeyIcon/icon_reload_kj.svg.js +1 -0
  446. package/es/assets/annotation/toolHotKeyIcon/icon_save_kj.svg.js +1 -0
  447. package/es/assets/annotation/toolHotKeyIcon/icon_segment.svg.js +1 -0
  448. package/es/assets/annotation/toolHotKeyIcon/icon_speed_kj.svg.js +1 -0
  449. package/es/assets/annotation/toolHotKeyIcon/icon_straightLine_kj.svg.js +1 -0
  450. package/es/assets/annotation/toolHotKeyIcon/icon_tab_kj.svg.js +1 -0
  451. package/es/assets/annotation/toolHotKeyIcon/icon_tag_kj.svg.js +1 -0
  452. package/es/assets/annotation/toolHotKeyIcon/icon_unGrip_kj.svg.js +1 -0
  453. package/es/assets/annotation/toolHotKeyIcon/setValid.svg.js +1 -0
  454. package/es/assets/annotation/video/icon_keyboard_h.svg.js +1 -0
  455. package/es/assets/attributeIcon/eraser.svg.js +1 -0
  456. package/es/assets/attributeIcon/eraser_a.svg.js +1 -0
  457. package/es/assets/attributeIcon/pen.svg.js +1 -0
  458. package/es/assets/attributeIcon/pen_a.svg.js +1 -0
  459. package/es/assets/attributeIcon/zoomUp.svg.js +1 -0
  460. package/es/assets/predictTracking/icon.svg.js +1 -0
  461. package/es/assets/toolStyle/icon_border.svg.js +1 -0
  462. package/es/assets/toolStyle/icon_borderColor.svg.js +1 -0
  463. package/es/assets/toolStyle/icon_opacityFill.svg.js +1 -0
  464. package/es/assets/toolStyle/icon_opacityStroke.svg.js +1 -0
  465. package/es/components/AnnotationView/index.js +1 -0
  466. package/es/components/AnnotationView/pointCloudAnnotationView.js +1 -0
  467. package/es/components/annotationStepPopover/index.js +1 -0
  468. package/es/components/attributeList/index.js +1 -0
  469. package/es/components/checkboxList/index.js +1 -0
  470. package/es/components/colorTag/index.js +1 -0
  471. package/es/components/customAntd/IconWithText/index.js +1 -0
  472. package/es/components/customResizeHook/index.js +1 -0
  473. package/es/components/fileException/FileError.js +1 -0
  474. package/es/components/fileException/FileInvalid.js +1 -0
  475. package/es/components/fileException/index.js +1 -0
  476. package/es/components/pointCloudView/PointCloud2DView.js +1 -0
  477. package/es/components/pointCloudView/PointCloud3DView.js +1 -0
  478. package/es/components/pointCloudView/PointCloudBackView.js +1 -0
  479. package/es/components/pointCloudView/PointCloudContext.js +1 -0
  480. package/es/components/pointCloudView/PointCloudInfos.js +1 -0
  481. package/es/components/pointCloudView/PointCloudLayout.js +1 -0
  482. package/es/components/pointCloudView/PointCloudListener.js +1 -0
  483. package/es/components/pointCloudView/PointCloudSideView.js +1 -0
  484. package/es/components/pointCloudView/PointCloudTopView.js +1 -0
  485. package/es/components/pointCloudView/components/EmptyPage/index.js +1 -0
  486. package/es/components/pointCloudView/components/UnifyParamsModal/index.js +1 -0
  487. package/es/components/pointCloudView/hooks/useAttribute.js +1 -0
  488. package/es/components/pointCloudView/hooks/useBoxes.js +1 -0
  489. package/es/components/pointCloudView/hooks/useConfig.js +1 -0
  490. package/es/components/pointCloudView/hooks/useHistory.js +1 -0
  491. package/es/components/pointCloudView/hooks/useLine.js +1 -0
  492. package/es/components/pointCloudView/hooks/usePointCloudViews.js +1 -0
  493. package/es/components/pointCloudView/hooks/usePolygon.js +1 -0
  494. package/es/components/pointCloudView/hooks/useRotate.js +1 -0
  495. package/es/components/pointCloudView/hooks/useSingleBox.js +1 -0
  496. package/es/components/pointCloudView/hooks/useSphere.js +1 -0
  497. package/es/components/pointCloudView/hooks/useStatus.js +1 -0
  498. package/es/components/pointCloudView/hooks/useZoom.js +1 -0
  499. package/es/components/pointCloudView/index.js +1 -0
  500. package/es/components/predictTracking/index.js +1 -0
  501. package/es/components/predictTracking/predictTrackingIcon/index.js +1 -0
  502. package/es/components/predictTracking/previewResult/index.js +1 -0
  503. package/es/components/predictTracking/previewResult/util.js +1 -0
  504. package/es/components/videoAnnotate/index.js +1 -0
  505. package/es/components/videoPlayer/TagToolInstanceAdaptor.js +1 -0
  506. package/es/components/videoPlayer/TagToolInstanceAdaptorI18nProvider.js +1 -0
  507. package/es/components/videoPlayer/VideoTagLayer.js +1 -0
  508. package/es/components/videoPlayer/components/controller/index.js +1 -0
  509. package/es/components/videoPlayer/index.js +1 -0
  510. package/es/components/videoPlayer/utils.js +1 -0
  511. package/es/configureStore.js +1 -0
  512. package/es/constant/index.js +1 -0
  513. package/es/constant/styleString.js +1 -0
  514. package/es/data/Style.js +1 -0
  515. package/es/data/enums/AnnotationSize.js +1 -0
  516. package/es/data/enums/ToolType.js +1 -0
  517. package/es/hooks/annotation.js +1 -0
  518. package/es/hooks/useRafState.js +1 -0
  519. package/es/hooks/useRefCache.js +1 -0
  520. package/es/hooks/useSafeSate.js +1 -0
  521. package/es/hooks/useSize.js +1 -0
  522. package/es/hooks/useUnmountedRef.js +1 -0
  523. package/es/index.css +1549 -0
  524. package/es/index.js +1 -0
  525. package/es/store/Actions.js +1 -0
  526. package/es/store/annotation/actionCreators.js +1 -0
  527. package/es/store/annotation/map.js +1 -0
  528. package/es/store/annotation/reducer.js +1 -0
  529. package/es/store/annotation/selectors.js +1 -0
  530. package/es/store/ctx.js +1 -0
  531. package/es/store/imgAttribute/actionCreators.js +1 -0
  532. package/es/store/imgAttribute/reducer.js +1 -0
  533. package/es/store/index.js +1 -0
  534. package/es/store/toolStyle/actionCreators.js +1 -0
  535. package/es/store/toolStyle/reducer.js +1 -0
  536. package/es/utils/AnnotationDataUtils.js +1 -0
  537. package/es/utils/ConfigUtils.js +1 -0
  538. package/es/utils/PageOperator.js +1 -0
  539. package/es/utils/StepUtils.js +1 -0
  540. package/es/utils/TextUtils.js +1 -0
  541. package/es/utils/ToolStyleUtils.js +1 -0
  542. package/es/utils/ToolUtils.js +1 -0
  543. package/es/utils/data.js +1 -0
  544. package/es/utils/dom.js +1 -0
  545. package/es/utils/index.js +1 -0
  546. package/es/views/MainView/annotationOperation/index.js +1 -0
  547. package/es/views/MainView/annotationTips/index.js +1 -0
  548. package/es/views/MainView/index.js +1 -0
  549. package/es/views/MainView/sidebar/AnnotationText/index.js +1 -0
  550. package/es/views/MainView/sidebar/ClearIcon/index.js +1 -0
  551. package/es/views/MainView/sidebar/GeneralOperation/ActionsConfirm.js +1 -0
  552. package/es/views/MainView/sidebar/GeneralOperation/index.js +1 -0
  553. package/es/views/MainView/sidebar/GeneralOperation/useOperationList.js +1 -0
  554. package/es/views/MainView/sidebar/ImgAttributeInfo/index.js +1 -0
  555. package/es/views/MainView/sidebar/PointCloudToolSidebar/components/batchUpdateModal/index.js +1 -0
  556. package/es/views/MainView/sidebar/PointCloudToolSidebar/index.js +1 -0
  557. package/es/views/MainView/sidebar/ScribbleSidebar/index.js +1 -0
  558. package/es/views/MainView/sidebar/SwitchAttributeList/index.js +1 -0
  559. package/es/views/MainView/sidebar/TagSidebar/index.js +1 -0
  560. package/es/views/MainView/sidebar/TextAreaFormat/index.js +1 -0
  561. package/es/views/MainView/sidebar/TextToolSidebar/index.js +1 -0
  562. package/es/views/MainView/sidebar/ToolIcons.js +1 -0
  563. package/es/views/MainView/sidebar/ToolStyle/index.js +1 -0
  564. package/es/views/MainView/sidebar/index.js +1 -0
  565. package/es/views/MainView/toolFooter/AnnotatedAttributes/index.js +1 -0
  566. package/es/views/MainView/toolFooter/FooterPopover.js +1 -0
  567. package/es/views/MainView/toolFooter/FooterTips/ToolHotKey/common/index.js +1 -0
  568. package/es/views/MainView/toolFooter/FooterTips/ToolHotKey/cuboid/index.js +1 -0
  569. package/es/views/MainView/toolFooter/FooterTips/ToolHotKey/index.js +1 -0
  570. package/es/views/MainView/toolFooter/FooterTips/ToolHotKey/line/index.js +1 -0
  571. package/es/views/MainView/toolFooter/FooterTips/ToolHotKey/point/index.js +1 -0
  572. package/es/views/MainView/toolFooter/FooterTips/ToolHotKey/pointCloud/index.js +1 -0
  573. package/es/views/MainView/toolFooter/FooterTips/ToolHotKey/polygon/index.js +1 -0
  574. package/es/views/MainView/toolFooter/FooterTips/ToolHotKey/rectToolShortCutTable/index.js +1 -0
  575. package/es/views/MainView/toolFooter/FooterTips/ToolHotKey/scribble/index.js +1 -0
  576. package/es/views/MainView/toolFooter/FooterTips/ToolHotKey/tag/index.js +1 -0
  577. package/es/views/MainView/toolFooter/FooterTips/ToolHotKey/text/index.js +1 -0
  578. package/es/views/MainView/toolFooter/FooterTips/ToolHotKey/videoTag/index.js +1 -0
  579. package/es/views/MainView/toolFooter/FooterTips/index.js +1 -0
  580. package/es/views/MainView/toolFooter/HiddenTips/index.js +1 -0
  581. package/es/views/MainView/toolFooter/PageNumber/index.js +1 -0
  582. package/es/views/MainView/toolFooter/Pagination.js +1 -0
  583. package/es/views/MainView/toolFooter/ZoomController/ZoomLevel/index.js +1 -0
  584. package/es/views/MainView/toolFooter/ZoomController/index.js +1 -0
  585. package/es/views/MainView/toolFooter/index.js +1 -0
  586. package/es/views/MainView/toolHeader/ExportData/index.js +1 -0
  587. package/es/views/MainView/toolHeader/StepSwitch/index.js +1 -0
  588. package/es/views/MainView/toolHeader/headerOption/index.js +1 -0
  589. package/es/views/MainView/toolHeader/index.js +1 -0
  590. package/package.json +102 -0
@@ -0,0 +1,101 @@
1
+ /**
2
+ * @file Point cloud interface for crud
3
+ * @author Glenfiddish <edwinlee0927@hotmail.com>
4
+ * @createdate 2022-08-17
5
+ */
6
+ import { PointCloudAnnotation, PointCloud } from '@labelbee/lb-annotation';
7
+ import { IPointCloudBox, IPointCloudSphere, IPointUnit, UpdatePolygonByDragList, ILine } from '@labelbee/lb-utils';
8
+ import { ISize } from '@/types/main';
9
+ import { IFileItem } from '@/types/data';
10
+ export declare const topViewPoint2PointCloud: (newPoint: any, size: ISize, pointCloud: PointCloud, selectedPointCloudSphere?: IPointCloudSphere, defaultValue?: {
11
+ [v: string]: any;
12
+ } | undefined) => IPointCloudSphere;
13
+ export declare const topViewPolygon2PointCloud: (newPolygon: any, size: ISize, pointCloud?: PointCloud, selectedPointCloudBox?: IPointCloudBox, defaultValue?: {
14
+ [v: string]: any;
15
+ } | undefined, intelligentFit?: boolean) => {
16
+ boxParams: Omit<IPointCloudBox, "trackID">;
17
+ newPointList: any;
18
+ };
19
+ /**
20
+ *
21
+ * @param sphereParams
22
+ * @param newPoint
23
+ * @param sideViewInstance
24
+ * @param url
25
+ * todo: need to be merged with func synchronizeSideView
26
+ */
27
+ export declare const syncSideViewByPoint: (sphereParams: IPointCloudSphere, newPoint: IPointUnit, sideViewInstance: PointCloudAnnotation | undefined, url: string, config?: any) => void;
28
+ /**
29
+ * NewBox synchronize sideView
30
+ * @param boxParams
31
+ * @param newPolygon TODO! Need to add type
32
+ */
33
+ export declare const synchronizeSideView: (boxParams: IPointCloudBox, newPolygon: any, sideViewInstance: PointCloudAnnotation | undefined, url: string) => void;
34
+ /**
35
+ *
36
+ * @param sphereParams
37
+ * @param newPoint
38
+ * @param backViewInstance
39
+ * @param url
40
+ * todo: need to be merged with func synchronizeBackView
41
+ */
42
+ export declare const syncBackViewByPoint: (sphereParams: IPointCloudSphere, newPoint: IPointUnit, backViewInstance: PointCloudAnnotation | undefined, url: string, config?: any) => void;
43
+ /**
44
+ * NewBox synchronize backView
45
+ * @param boxParams
46
+ * @param newPolygon TODO! Need to add type
47
+ */
48
+ export declare const synchronizeBackView: (boxParams: IPointCloudBox, newPolygon: any, BackViewInstance: PointCloudAnnotation, url: string) => void;
49
+ export declare const syncTopViewByPoint: (newSphereParams: IPointCloudSphere, newPoint: any, topViewInstance?: PointCloudAnnotation, mainViewInstance?: PointCloud) => void;
50
+ /**
51
+ * NewBox synchronize TopView
52
+ * @param boxParams
53
+ * @param newPolygon TODO! Need to add type
54
+ */
55
+ export declare const synchronizeTopView: (newBoxParams: IPointCloudBox, newPolygon: any, topViewInstance?: PointCloudAnnotation, mainViewInstance?: PointCloud) => void;
56
+ export declare const usePointCloudViews: () => {
57
+ topViewAddSphere: () => void;
58
+ topViewAddBox: () => void;
59
+ topViewSelectedChanged: () => void;
60
+ sideViewUpdateBox: () => void;
61
+ backViewUpdateBox: () => void;
62
+ topViewUpdatePoint?: undefined;
63
+ sideViewUpdatePoint?: undefined;
64
+ backViewUpdatePoint?: undefined;
65
+ topViewUpdateBox?: undefined;
66
+ topViewUpdateLine?: undefined;
67
+ pointCloudBoxListUpdated?: undefined;
68
+ initPointCloud3d?: undefined;
69
+ updatePointCloudData?: undefined;
70
+ } | {
71
+ topViewAddSphere: ({ newPoint, size, zoom, trackConfigurable, }: {
72
+ newPoint: IPointUnit;
73
+ size: ISize;
74
+ zoom: number;
75
+ trackConfigurable?: boolean | undefined;
76
+ }) => void;
77
+ topViewAddBox: ({ polygon, size, imgList, trackConfigurable, zoom, intelligentFit, }: {
78
+ polygon: any;
79
+ size: ISize;
80
+ imgList: IFileItem[];
81
+ trackConfigurable?: boolean | undefined;
82
+ zoom: number;
83
+ intelligentFit?: boolean | undefined;
84
+ }) => void;
85
+ topViewSelectedChanged: ({ newSelectedBox, newPointCloudList, newSelectedSphere, newSphereList, }: {
86
+ newSelectedBox?: IPointCloudBox | undefined;
87
+ newPointCloudList?: IPointCloudBox[] | undefined;
88
+ newSelectedSphere?: IPointCloudSphere | undefined;
89
+ newSphereList?: IPointCloudSphere[] | undefined;
90
+ }) => void;
91
+ topViewUpdatePoint: (updatePoint: IPointUnit, size: ISize) => void;
92
+ sideViewUpdatePoint: (newPoint: IPointUnit, originPoint: IPointUnit) => void;
93
+ backViewUpdatePoint: (newPoint: IPointUnit, originPoint: IPointUnit) => void;
94
+ topViewUpdateBox: (updateList: UpdatePolygonByDragList, size: ISize) => void;
95
+ topViewUpdateLine: (updateList: ILine, size: ISize) => void;
96
+ sideViewUpdateBox: (newPolygon: any, originPolygon: any) => void;
97
+ backViewUpdateBox: (newPolygon: any, originPolygon: any) => void;
98
+ pointCloudBoxListUpdated: (newBoxes: IPointCloudBox[]) => void;
99
+ initPointCloud3d: (size: ISize) => void;
100
+ updatePointCloudData: (newData?: any) => Promise<void>;
101
+ };
@@ -0,0 +1,12 @@
1
+ import { IPolygonData } from '@labelbee/lb-utils';
2
+ /**
3
+ * PointCloud Polygon Hook
4
+ * @returns
5
+ */
6
+ export declare const usePolygon: () => {
7
+ addPolygon: (polygon: IPolygonData) => void;
8
+ deletePolygon: (id: string) => void;
9
+ selectedPolygon: IPolygonData | undefined;
10
+ updateSelectedPolygon: (polygon: IPolygonData) => void;
11
+ updatePolygonValidByID: (id: string) => void;
12
+ };
@@ -0,0 +1,8 @@
1
+ import { IAnnotationStateProps } from '@/store/annotation/map';
2
+ /**
3
+ * PointCloud Rotate Hook
4
+ * @returns
5
+ */
6
+ export declare const useRotate: ({ currentData }: IAnnotationStateProps) => {
7
+ updateRotate: (angle: number) => void;
8
+ };
@@ -0,0 +1,18 @@
1
+ import { IPointCloudBox, PartialIPointCloudBoxList } from '@labelbee/lb-utils';
2
+ /** Actions for single selected box */
3
+ export declare const useSingleBox: () => {
4
+ selectedBox: {
5
+ info: IPointCloudBox;
6
+ index: number;
7
+ } | undefined;
8
+ updateSelectedBox: (params: Partial<IPointCloudBox>) => import("@labelbee/lb-utils").IPointCloudBoxList;
9
+ changeSelectedBoxValid: () => void;
10
+ changeValidByID: (id: string) => import("@labelbee/lb-utils").IPointCloudBoxList | undefined;
11
+ selectNextBox: (sort?: any) => void;
12
+ selectPrevBox: () => void;
13
+ deletePointCloudBox: (id: string) => void;
14
+ selectedBoxes: IPointCloudBox[];
15
+ updateSelectedBoxes: (updateList: PartialIPointCloudBoxList) => import("@labelbee/lb-utils").IPointCloudBoxList | undefined;
16
+ getPointCloudByID: (id: string) => IPointCloudBox | undefined;
17
+ deleteSelectedPointCloudBoxAndPolygon: () => void;
18
+ };
@@ -0,0 +1,6 @@
1
+ export declare const useSphere: () => {
2
+ selectedSphere: import("@labelbee/lb-utils").IPointCloudSphere | undefined;
3
+ getPointCloudSphereByID: (id: string) => import("@labelbee/lb-utils").IPointCloudSphere | undefined;
4
+ updatePointCloudSphere: (sphereParams: any) => import("@labelbee/lb-utils").IPointCloudSphereList;
5
+ deletePointCloudSphere: (id: string) => void;
6
+ };
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @file Update PointCloud Status
3
+ * @createDate 2022-08-26
4
+ * @author Ron <ron.f.luo@gmail.com>
5
+ */
6
+ import { cTool } from '@labelbee/lb-annotation';
7
+ export declare const useStatus: () => {
8
+ clearAllResult: () => void;
9
+ updatePointCloudPattern: (toolName: any) => void;
10
+ pointCloudPattern: cTool.EToolName.Rect | cTool.EToolName.Point | cTool.EToolName.Polygon | cTool.EToolName.Line;
11
+ };
@@ -0,0 +1,11 @@
1
+ import { ICoordinate, ISize } from '@labelbee/lb-utils';
2
+ export declare const useZoom: () => {
3
+ zoom: number;
4
+ setZoom: (zoom: number) => void;
5
+ initialPosition: () => void;
6
+ zoomOut: () => void;
7
+ zoomIn: () => void;
8
+ syncTopviewToolZoom: (currentPos: ICoordinate, zoom: number, size: ISize) => void;
9
+ syncSideviewToolZoom: (currentPos: ICoordinate, zoom: number, size: ISize) => void;
10
+ syncBackviewToolZoom: (currentPos: ICoordinate, zoom: number, size: ISize) => void;
11
+ };
@@ -0,0 +1,19 @@
1
+ /**
2
+ * @author Glenfiddish <edwinlee0927@hotmail.com>
3
+ * @file Point cloud tool view
4
+ * Includes 2D-view、3Dview、top-view、side-view、back-view
5
+ * @date 2022-06-21
6
+ */
7
+ import React from 'react';
8
+ import { IFileItem } from '@/types/data';
9
+ import { TDrawLayerSlot } from '@/types/main';
10
+ interface IProps {
11
+ imgList: IFileItem[];
12
+ drawLayerSlot?: TDrawLayerSlot;
13
+ checkMode?: boolean;
14
+ intelligentFit?: boolean;
15
+ }
16
+ declare const _default: import("react-redux").ConnectedComponent<React.FC<IProps>, import("react-redux").Omit<IProps & {
17
+ children?: React.ReactNode;
18
+ }, "imgList">>;
19
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import PredictTrackingIcon from './predictTrackingIcon';
2
+ export default PredictTrackingIcon;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ declare const _default: import("react-redux").ConnectedComponent<(props: {
3
+ loading: boolean;
4
+ }) => JSX.Element, import("react-redux").Omit<{
5
+ loading: boolean;
6
+ }, "loading">>;
7
+ export default _default;
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ import { IPointCloudBoxWithIndex } from '@/store/annotation/types';
3
+ import { IFileItem } from '@/types/data';
4
+ interface IProps {
5
+ imgList: IFileItem[];
6
+ predictionResultVisible: boolean;
7
+ predictionResult: IPointCloudBoxWithIndex[];
8
+ }
9
+ declare const _default: import("react-redux").ConnectedComponent<(props: IProps) => JSX.Element | null, import("react-redux").Omit<IProps, "imgList" | "predictionResult" | "predictionResultVisible">>;
10
+ export default _default;
@@ -0,0 +1,43 @@
1
+ import { IPointCloudBoxWithIndex } from '@/store/annotation/types';
2
+ import { IFileItem } from '@/types/data';
3
+ import { PointCloud } from '@labelbee/lb-annotation';
4
+ import { EPerspectiveView, IPointCloudBox } from '@labelbee/lb-utils';
5
+ /**
6
+ * Returns a Promise that resolves after the specified duration.
7
+ * @param ms - The duration to sleep, in milliseconds.
8
+ * @returns A Promise that resolves after `ms` milliseconds.
9
+ */
10
+ export declare const sleep: (time?: number) => Promise<unknown>;
11
+ export declare const views: readonly [EPerspectiveView.Top, EPerspectiveView.Left, EPerspectiveView.Back];
12
+ interface viewDataUrl {
13
+ [EPerspectiveView.Top]?: string;
14
+ [EPerspectiveView.Left]?: string;
15
+ [EPerspectiveView.Back]?: string;
16
+ }
17
+ export type IBox = IPointCloudBoxWithIndex & viewDataUrl;
18
+ /**
19
+ * Generates data URLs for each view of a given point cloud object using the provided box and zoom level.
20
+ *
21
+ * @param {PointCloud} pointCloud - The point cloud object to generate data URLs for.
22
+ * @param {IBox} box - An object representing the bounding box to use for calculating camera position.
23
+ * @param {number} zoom - The zoom level to use when generating data URLs.
24
+ * @returns {Promise<void>} - A promise that resolves once all data URLs have been generated.
25
+ */
26
+ export declare const getViewsDataUrl: (pointCloud: PointCloud, box: IBox, zoom: number) => Promise<void>;
27
+ /**
28
+ * Retrieve boxes with a specific trackID from an array of file items.
29
+ *
30
+ * @param {Array} imageList - An array of file items to search through.
31
+ * @param {Number} targetStep - The step number within the result object to retrieve boxes from.
32
+ * @param {Number} selectedBoxTrackID - The trackID to match when searching for boxes.
33
+ * @return {Array} An array of point cloud boxes that match the provided trackID, along with their index in the original array.
34
+ */
35
+ export declare const getBoxesByTrackID: (imageList: IFileItem[], targetStep: number, selectedBoxTrackID: number) => IPointCloudBoxWithIndex[];
36
+ /**
37
+ * Calculate predicted values for each field in between the start and end points.
38
+ * @param {IPointCloudBoxWithIndex} start - The starting point, should have the same properties as IPointCloudBoxWithIndex.
39
+ * @param {IPointCloudBoxWithIndex} end - The ending point, should have the same properties as IPointCloudBoxWithIndex.
40
+ * @returns {IPointCloudBox[]} An array of objects with the same properties as IPointCloudBox, containing interpolated values between the start and end points for each field.
41
+ */
42
+ export declare const predict: (start: IPointCloudBoxWithIndex, end: IPointCloudBoxWithIndex) => IPointCloudBox[];
43
+ export {};
@@ -0,0 +1,15 @@
1
+ /**
2
+ * @author Glenfiddish <edwinlee0927@hotmail.com>
3
+ * @file connect store & TagToolInstanceAdaptor
4
+ * @date 2022-06-02
5
+ */
6
+ import React from 'react';
7
+ import { AnnotationState } from '@/store/annotation/types';
8
+ declare const _default: import("react-redux").ConnectedComponent<React.FC<{
9
+ annotation: AnnotationState;
10
+ }>, import("react-redux").Omit<{
11
+ annotation: AnnotationState;
12
+ } & {
13
+ children?: React.ReactNode;
14
+ }, "annotation">>;
15
+ export default _default;
@@ -0,0 +1,90 @@
1
+ /**
2
+ * @file Implement TagTool interaction through class components.
3
+ * Refer to: packages/lb-annotation/src/core/toolOperation/tagOperation.ts
4
+ * @author Glenfiddish <edwinlee0927@hotmail.com>
5
+ * @date 2022-05-31
6
+ */
7
+ import React from 'react';
8
+ import { IStepInfo } from '@/types/step';
9
+ import _ from 'lodash';
10
+ import type { ObjectString } from './types';
11
+ import { IFileItem } from '@/types/data';
12
+ export interface IVideoTagInstanceAdaptorProps {
13
+ imgIndex: number;
14
+ imgList: IFileItem[];
15
+ pageForward: () => void;
16
+ pageJump: (page: string) => void;
17
+ pageBackward: () => void;
18
+ onMounted: (instance: TagToolInstanceAdaptor) => void;
19
+ onUnmounted: () => void;
20
+ step: number;
21
+ stepList: IStepInfo[];
22
+ }
23
+ interface IVideoTagInstanceAdaptorState {
24
+ tagResult: any[];
25
+ labelSelectedList: number[];
26
+ valid: boolean;
27
+ }
28
+ export declare class TagToolInstanceAdaptor extends React.Component<IVideoTagInstanceAdaptorProps, IVideoTagInstanceAdaptorState> {
29
+ fns: {
30
+ [key: string]: () => void;
31
+ };
32
+ videoRef?: HTMLVideoElement;
33
+ labelSelectedList: number[];
34
+ constructor(props: IVideoTagInstanceAdaptorProps);
35
+ get config(): any;
36
+ /** Just implementation, no actual logic */
37
+ get history(): {
38
+ initRecord: () => void;
39
+ pushHistory: () => void;
40
+ };
41
+ get currentTagResult(): any;
42
+ get valid(): boolean;
43
+ clearResult: (sendMsg?: boolean, value?: string) => void;
44
+ exportData: () => (any[] | {
45
+ valid: boolean;
46
+ duration: number;
47
+ frames: number | undefined;
48
+ videoWidth: number;
49
+ videoHeight: number;
50
+ })[];
51
+ singleOn(event: string, func: () => void): void;
52
+ on(event: string, func: () => void): void;
53
+ getTagResultByCode(num1: number, num2?: number): {
54
+ value: {
55
+ key: any;
56
+ value: any;
57
+ };
58
+ isMulti: any;
59
+ } | undefined;
60
+ setLabelBySelectedList(num1: number, num2?: number): void;
61
+ emitEvent: (event: string) => void;
62
+ /**
63
+ * Combine result with inputValue and existValue
64
+ * @param inputValue
65
+ * @param existValue
66
+ * @returns newValue
67
+ */
68
+ combineResult: (inputValue: {
69
+ value: {
70
+ key: string;
71
+ value: string;
72
+ };
73
+ isMulti: boolean;
74
+ }, existValue?: ObjectString) => _.Dictionary<string | undefined>;
75
+ setResult: (tagResult: any[]) => void;
76
+ setLabel: (num1: number, num2: number) => void;
77
+ /**
78
+ * Keydown event for recording keycode input(numeric only)
79
+ * @param event
80
+ */
81
+ keydown: (event: KeyboardEvent) => void;
82
+ setValid: (valid: boolean) => void;
83
+ componentDidMount(): void;
84
+ componentWillUnmount(): void;
85
+ setResultFromImgList: (props: IVideoTagInstanceAdaptorProps) => void;
86
+ /** Observer imgIndex and set tagResult */
87
+ shouldComponentUpdate(props: IVideoTagInstanceAdaptorProps): boolean;
88
+ render(): JSX.Element;
89
+ }
90
+ export {};
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import { IVideoTagInstanceAdaptorProps } from './TagToolInstanceAdaptor';
3
+ /**
4
+ * I18n provider for InstanceAdaptorI18nProvider
5
+ * @param props
6
+ */
7
+ export declare const VideoTagTool: (props: IVideoTagInstanceAdaptorProps & {
8
+ lang?: string;
9
+ }) => JSX.Element;
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import { IInputList } from '@/types/main';
3
+ interface IVideoTagLayerProps {
4
+ result: Array<{
5
+ result: {
6
+ [key: string]: string;
7
+ };
8
+ }>;
9
+ inputList: IInputList[];
10
+ }
11
+ export declare const VideoTagLayer: React.FC<IVideoTagLayerProps>;
12
+ export {};
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const VideoController: () => JSX.Element;
3
+ export default VideoController;
@@ -0,0 +1,73 @@
1
+ /**
2
+ * @author Glenfiddish <edwinlee0927@hotmail.com>
3
+ * @file Implement video player, including mouse and keyboard event
4
+ * @date 2022-06-02
5
+ */
6
+ import React from 'react';
7
+ import { IFileItem } from '@/types/data';
8
+ export declare const VideoPlayerCtx: React.Context<{
9
+ videoRef?: React.RefObject<HTMLVideoElement> | null | undefined;
10
+ isPlay: boolean;
11
+ playPause: () => void;
12
+ updateNextPlaybackRate: (isForward?: boolean) => void;
13
+ setCurrentTime: (time: number) => void;
14
+ playbackRate: number;
15
+ currentTime: number;
16
+ duration: number;
17
+ buffered: number;
18
+ imgList: IFileItem[];
19
+ imgIndex: number;
20
+ pageBackward: () => void;
21
+ pageJump: (page: string) => void;
22
+ pageForward: () => void;
23
+ }>;
24
+ interface IVideoPlayerProps {
25
+ imgList: IFileItem[];
26
+ imgIndex: number;
27
+ pageBackward: () => void;
28
+ pageJump: (page: string) => void;
29
+ pageForward: () => void;
30
+ valid: boolean;
31
+ setVideoRef?: (video: HTMLVideoElement) => void;
32
+ }
33
+ interface IVideoPlayerState {
34
+ playbackRate: number;
35
+ currentTime: number;
36
+ isPlay: boolean;
37
+ duration: number;
38
+ buffered: number;
39
+ error: boolean;
40
+ }
41
+ export declare class VideoPlayer extends React.Component<IVideoPlayerProps, IVideoPlayerState> {
42
+ videoRef?: React.RefObject<HTMLVideoElement>;
43
+ timeInterval?: number;
44
+ constructor(props: IVideoPlayerProps);
45
+ get videoElm(): HTMLVideoElement | null | undefined;
46
+ get videoSrc(): string;
47
+ changePlaybackPate: (playbackRate: number) => void;
48
+ playPause: () => void;
49
+ updateNextPlaybackRate: (isForward?: boolean) => void;
50
+ fastForward: () => void;
51
+ rewind: () => void;
52
+ /**
53
+ * Implement Video's keydown
54
+ * Play / Pause - Space
55
+ * Rewind / FastForward - ⬅️ / ➡️
56
+ * Speed - ⬆️ / ⬇
57
+ * @param event
58
+ */
59
+ keydown: (event: KeyboardEvent) => void;
60
+ onPlay: () => void;
61
+ onPause: () => void;
62
+ onVideoStopped: () => void;
63
+ onVideoStart: () => void;
64
+ resetVideoData: () => void;
65
+ setDuration: () => void;
66
+ setCurrentTime: (currentTime: number) => void;
67
+ reload: () => void;
68
+ onError: () => void;
69
+ componentDidMount(): void;
70
+ componentWillUnmount(): void;
71
+ render(): JSX.Element;
72
+ }
73
+ export default VideoPlayer;
@@ -0,0 +1,8 @@
1
+ export interface ITagLabelItem {
2
+ keyLabel: string;
3
+ valuesLabelArray: string[];
4
+ }
5
+ export type ITagLabelsArray = ITagLabelItem[];
6
+ export interface ObjectString {
7
+ [key: string]: string | undefined;
8
+ }
@@ -0,0 +1,36 @@
1
+ /**
2
+ * Find key and value to display label through inputList
3
+ * @param key
4
+ * @param value
5
+ * @param inputList
6
+ */
7
+ export declare const findTagLabel: (key: string, value: string, inputList: any[]) => {
8
+ keyLabel: any;
9
+ valueLabel: any;
10
+ };
11
+ /**
12
+ * Sort tags through inputList
13
+ * @param tagsKeys
14
+ * @param inputList
15
+ */
16
+ export declare const tagsSortThruInputList: (tagsKeys: string[], inputList: any[]) => string[];
17
+ /**
18
+ * Convent result's array to array of showing the labels
19
+ * @param result
20
+ * @param inputList
21
+ * @returns {ITagLabelsArray}
22
+ */
23
+ export declare const result2LabelKey: (result: any[], inputList: any[]) => any;
24
+ /**
25
+ * Get key number through keyCode, Such as 49(keycode) => 1(number)
26
+ * @param {Number} keyCode
27
+ * @returns {Number} keyCode in scope if it greater than 0
28
+ */
29
+ export declare const getKeyCodeNumber: (keyCode: number) => number;
30
+ /**
31
+ * Preserve decimals for number
32
+ * @param num
33
+ * @param places
34
+ * @returns {Number}
35
+ */
36
+ export declare const decimalReserved: (num: number, places?: number) => number;
@@ -0,0 +1,3 @@
1
+ export default function configureStore(): import("redux").Store<{}, import("redux").Action<any>> & {
2
+ dispatch: unknown;
3
+ };
@@ -0,0 +1,22 @@
1
+ export declare enum EStepType {
2
+ Check = 0,
3
+ ANNOTATION = 1,
4
+ QUALITY_INSPECTION = 2,
5
+ PRE_ANNOTATION = 3,
6
+ MANUAL_CORRECTION = 4
7
+ }
8
+ export declare enum ESubmitType {
9
+ Backward = 1,
10
+ Forward = 2,
11
+ Jump = 3,
12
+ Quit = 4,
13
+ Export = 5,
14
+ StepChanged = 6,
15
+ Save = 7,
16
+ BatchUpdateTrackID = 8,
17
+ BatchUpdateImgList = 9,
18
+ SyncImgList = 10001,
19
+ SyncCurrentPageData = 10002
20
+ }
21
+ export declare const prefix = "bee";
22
+ export declare const componentCls: string;
@@ -0,0 +1,2 @@
1
+ declare const styleString = "{\"color\":1,\"width\":2,\"borderOpacity\":9,\"fillOpacity\":9,\"toolColor\":{\"1\":{\"valid\":{\"stroke\":\"rgba(0,0,255,0.50)\",\"fill\":\"rgba(0,0,255,0.32)\"},\"invalid\":{\"stroke\":\"rgba(255,153,102,1.00)\",\"fill\":\"rgba(255,153,102,0.64)\"},\"validSelected\":{\"stroke\":\"rgba(0,15,255,1.00)\",\"fill\":\"rgba(0,15,255,0.64)\"},\"invalidSelected\":{\"stroke\":\"rgba(255,153,102,0.80)\",\"fill\":\"rgba(255,153,102,0.19)\"},\"validHover\":{\"stroke\":\"rgba(0,15,255,0.80)\",\"fill\":\"rgba(0,15,255,0.51)\"},\"invalidHover\":{\"stroke\":\"rgba(255,153,102,0.50)\",\"fill\":\"rgba(255,153,102,0.32)\"}},\"3\":{\"valid\":{\"stroke\":\"rgba(0,255,255,0.50)\",\"fill\":\"rgba(0,255,255,0.32)\"},\"invalid\":{\"stroke\":\"rgba(255,153,102,1.00)\",\"fill\":\"rgba(255,153,102,0.64)\"},\"validSelected\":{\"stroke\":\"rgba(0,212,255,1.00)\",\"fill\":\"rgba(0,212,255,0.64)\"},\"invalidSelected\":{\"stroke\":\"rgba(255,153,102,0.80)\",\"fill\":\"rgba(255,153,102,0.19)\"},\"validHover\":{\"stroke\":\"rgba(0,212,255,0.80)\",\"fill\":\"rgba(0,212,255,0.51)\"},\"invalidHover\":{\"stroke\":\"rgba(255,153,102,0.50)\",\"fill\":\"rgba(255,153,102,0.32)\"}},\"5\":{\"valid\":{\"stroke\":\"rgba(0,255,0,0.50)\",\"fill\":\"rgba(0,255,0,0.32)\"},\"invalid\":{\"stroke\":\"rgba(255,153,102,1.00)\",\"fill\":\"rgba(255,153,102,0.64)\"},\"validSelected\":{\"stroke\":\"rgba(149,255,1.00)\",\"fill\":\"rgba(149,255,0,0.64)\"},\"invalidSelected\":{\"stroke\":\"rgba(255,153,102,0.80)\",\"fill\":\"rgba(255,153,102,0.19)\"},\"validHover\":{\"stroke\":\"rgba(149,255,0,0.80)\",\"fill\":\"rgba(149,255,0,0.51)\"},\"invalidHover\":{\"stroke\":\"rgba(255,153,102,0.50)\",\"fill\":\"rgba(255,153,102,0.32)\"}},\"7\":{\"valid\":{\"stroke\":\"rgba(255,255,0,0.50)\",\"fill\":\"rgba(255,255,0,0.32)\"},\"invalid\":{\"stroke\":\"rgba(255,153,102,1.00)\",\"fill\":\"rgba(255,153,102,0.64)\"},\"validSelected\":{\"stroke\":\"rgba(255,230,102,1.00)\",\"fill\":\"rgba(255,213,0,0.64)\"},\"invalidSelected\":{\"stroke\":\"rgba(255,153,102,0.80)\",\"fill\":\"rgba(255,153,102,0.19)\"},\"validHover\":{\"stroke\":\"rgba(255,230,102,0.80)\",\"fill\":\"rgba(255,230,102,0.51)\"},\"invalidHover\":{\"stroke\":\"rgba(255,153,102,0.50)\",\"fill\":\"rgba(255,153,102,0.32)\"}},\"9\":{\"valid\":{\"stroke\":\"rgba(255,0,255,0.50)\",\"fill\":\"rgba(255,0,255,0.32)\"},\"invalid\":{\"stroke\":\"rgba(255,153,102,1.00)\",\"fill\":\"rgba(255,153,102,0.64)\"},\"validSelected\":{\"stroke\":\"rgba(230,102,255,1.00)\",\"fill\":\"rgba(213,0,255,0.64)\"},\"invalidSelected\":{\"stroke\":\"rgba(255,153,102,0.80)\",\"fill\":\"rgba(255,153,102,0.19)\"},\"validHover\":{\"stroke\":\"rgba(230,102,255,0.80)\",\"fill\":\"rgba(230,102,255,0.51)\"},\"invalidHover\":{\"stroke\":\"rgba(255,153,102,0.50)\",\"fill\":\"rgba(255,153,102,0.32)\"}}},\"attributeColor\":[{\"valid\":{\"stroke\":\"rgba(204,204,204,1.00)\",\"fill\":\"rgba(204,204,204,0.32)\"},\"invalid\":{\"stroke\":\"rgba(255,153,102,1.00)\",\"fill\":\"rgba(255,153,102,0.32)\"},\"validSelected\":{\"stroke\":\"rgba(204,204,204,1.00)\",\"fill\":\"rgba(204,204,204,0.64)\"},\"invalidSelected\":{\"stroke\":\"rgba(255,153,102,1.00)\",\"fill\":\"rgba(255,153,102,0.64)\"},\"validHover\":{\"stroke\":\"rgba(204,204,204,1.00)\",\"fill\":\"rgba(204,204,204,0.64)\"},\"invalidHover\":{\"stroke\":\"rgba(255,153,102,1.00)\",\"fill\":\"rgba(255,153,102,0.64)\"}},{\"valid\":{\"stroke\":\"rgba(128,12,249,1.00)\",\"fill\":\"rgba(128,12,249,0.32)\"},\"invalid\":{\"stroke\":\"rgba(255,153,102,1.00)\",\"fill\":\"rgba(255,153,102,0.32)\"},\"validSelected\":{\"stroke\":\"rgba(128,12,249,1.00)\",\"fill\":\"rgba(128,12,249,0.64)\"},\"invalidSelected\":{\"stroke\":\"rgba(255,153,102,1.00)\",\"fill\":\"rgba(255,153,102,0.64)\"},\"validHover\":{\"stroke\":\"rgba(128,12,249,1.00)\",\"fill\":\"rgba(128,12,249,0.64)\"},\"invalidHover\":{\"stroke\":\"rgba(255,153,102,1.00)\",\"fill\":\"rgba(255,153,102,0.64)\"}},{\"valid\":{\"stroke\":\"rgba(0,255,48,1.00)\",\"fill\":\"rgba(0,255,48,0.32)\"},\"invalid\":{\"stroke\":\"rgba(255,153,102,1.00)\",\"fill\":\"rgba(255,153,102,0.32)\"},\"validSelected\":{\"stroke\":\"rgba(0,255,48,1.00)\",\"fill\":\"rgba(0,255,48,0.64)\"},\"invalidSelected\":{\"stroke\":\"rgba(255,153,102,1.00)\",\"fill\":\"rgba(255,153,102,0.64)\"},\"validHover\":{\"stroke\":\"rgba(0,255,48,1.00)\",\"fill\":\"rgba(0,255,48,0.64)\"},\"invalidHover\":{\"stroke\":\"rgba(255,153,102,1.00)\",\"fill\":\"rgba(255,153,102,0.64)\"}},{\"valid\":{\"stroke\":\"rgba(255,136,247,1.00)\",\"fill\":\"rgba(255,136,247,0.32)\"},\"invalid\":{\"stroke\":\"rgba(255,153,102,1.00)\",\"fill\":\"rgba(255,153,102,0.32)\"},\"validSelected\":{\"stroke\":\"rgba(255,136,247,1.00)\",\"fill\":\"rgba(255,136,247,0.64)\"},\"invalidSelected\":{\"stroke\":\"rgba(255,153,102,1.00)\",\"fill\":\"rgba(255,153,102,0.64)\"},\"validHover\":{\"stroke\":\"rgba(255,136,247,1.00)\",\"fill\":\"rgba(255,136,247,0.64)\"},\"invalidHover\":{\"stroke\":\"rgba(255,153,102,1.00)\",\"fill\":\"rgba(255,153,102,0.64)\"}},{\"valid\":{\"stroke\":\"rgba(255,226,50,1.00)\",\"fill\":\"rgba(255,226,50,0.32)\"},\"invalid\":{\"stroke\":\"rgba(255,153,102,1.00)\",\"fill\":\"rgba(255,153,102,0.32)\"},\"validSelected\":{\"stroke\":\"rgba(255,226,50,1.00)\",\"fill\":\"rgba(255,226,50,0.64)\"},\"invalidSelected\":{\"stroke\":\"rgba(255,153,102,1.00)\",\"fill\":\"rgba(255,153,102,0.64)\"},\"validHover\":{\"stroke\":\"rgba(255,226,50,1.00)\",\"fill\":\"rgba(255,226,50,0.64)\"},\"invalidHover\":{\"stroke\":\"rgba(255,153,102,1.00)\",\"fill\":\"rgba(255,153,102,0.64)\"}},{\"valid\":{\"stroke\":\"rgba(153,66,23,1.00)\",\"fill\":\"rgba(153,66,23,0.32)\"},\"invalid\":{\"stroke\":\"rgba(255,153,102,1.00)\",\"fill\":\"rgba(255,153,102,0.32)\"},\"validSelected\":{\"stroke\":\"rgba(153,66,23,1.00)\",\"fill\":\"rgba(153,66,23,0.64)\"},\"invalidSelected\":{\"stroke\":\"rgba(255,153,102,1.00)\",\"fill\":\"rgba(255,153,102,0.64)\"},\"validHover\":{\"stroke\":\"rgba(153,66,23,1.00)\",\"fill\":\"rgba(153,66,23,0.64)\"},\"invalidHover\":{\"stroke\":\"rgba(255,153,102,1.00)\",\"fill\":\"rgba(255,153,102,0.64)\"}},{\"valid\":{\"stroke\":\"rgba(2,130,250,1.00)\",\"fill\":\"rgba(2,130,250,0.32)\"},\"invalid\":{\"stroke\":\"rgba(255,153,102,1.00)\",\"fill\":\"rgba(255,153,102,0.32)\"},\"validSelected\":{\"stroke\":\"rgba(2,130,250,1.00)\",\"fill\":\"rgba(2,130,250,0.64)\"},\"invalidSelected\":{\"stroke\":\"rgba(255,153,102,1.00)\",\"fill\":\"rgba(255,153,102,0.64)\"},\"validHover\":{\"stroke\":\"rgba(2,130,250,1.00)\",\"fill\":\"rgba(2,130,250,0.64)\"},\"invalidHover\":{\"stroke\":\"rgba(255,153,102,1.00)\",\"fill\":\"rgba(255,153,102,0.64)\"}},{\"valid\":{\"stroke\":\"rgba(255,35,35,1.00)\",\"fill\":\"rgba(255,35,35,0.32)\"},\"invalid\":{\"stroke\":\"rgba(255,153,102,1.00)\",\"fill\":\"rgba(255,153,102,0.32)\"},\"validSelected\":{\"stroke\":\"rgba(255,35,35,1.00)\",\"fill\":\"rgba(255,35,35,0.64)\"},\"invalidSelected\":{\"stroke\":\"rgba(255,153,102,1.00)\",\"fill\":\"rgba(255,153,102,0.64)\"},\"validHover\":{\"stroke\":\"rgba(255,35,35,1.00)\",\"fill\":\"rgba(255,35,35,0.64)\"},\"invalidHover\":{\"stroke\":\"rgba(255,153,102,1.00)\",\"fill\":\"rgba(255,153,102,0.64)\"}},{\"valid\":{\"stroke\":\"rgba(0,255,234,1.00)\",\"fill\":\"rgba(0,255,234,0.32)\"},\"invalid\":{\"stroke\":\"rgba(255,153,102,1.00)\",\"fill\":\"rgba(255,153,102,0.32)\"},\"validSelected\":{\"stroke\":\"rgba(0,255,234,1.00)\",\"fill\":\"rgba(0,255,234,0.64)\"},\"invalidSelected\":{\"stroke\":\"rgba(255,153,102,1.00)\",\"fill\":\"rgba(255,153,102,0.64)\"},\"validHover\":{\"stroke\":\"rgba(0,255,234,1.00)\",\"fill\":\"rgba(0,255,234,0.64)\"},\"invalidHover\":{\"stroke\":\"rgba(255,153,102,1.00)\",\"fill\":\"rgba(255,153,102,0.64)\"}}],\"lineColor\":{\"1\":\"rgba(102, 111, 255, 1 )\",\"3\":\"rgba(102, 230, 255, 1)\",\"5\":\"rgba(191, 255, 102, 1)\",\"7\":\"rgba(255, 230, 102, 1)\",\"9\":\"rgba(230, 102, 255, 1)\"},\"attributeLineColor\":[\"rgba(204, 204, 204, 1)\",\"rgba(128, 12, 249, 1)\",\"rgba(0, 255, 48, 1)\",\"rgba(255, 136, 247, 1)\",\"rgba(255, 226, 50, 1)\",\"rgba(153, 66, 23, 1)\",\"rgba(2, 130, 250, 1)\",\"rgba(255, 35, 35, 1)\",\"rgba(0, 255, 234, 1)\"]}";
2
+ export default styleString;
@@ -0,0 +1,37 @@
1
+ export declare const COLORS_ARRAY: string[];
2
+ export declare const NULL_COLOR = "rgba(204, 204, 204, 1)";
3
+ export declare const DEFAULT_COLOR: {
4
+ valid: {
5
+ stroke: string;
6
+ fill: string;
7
+ };
8
+ invalid: {
9
+ stroke: string;
10
+ fill: string;
11
+ };
12
+ validSelected: {
13
+ stroke: string;
14
+ fill: string;
15
+ };
16
+ invalidSelected: {
17
+ stroke: string;
18
+ fill: string;
19
+ };
20
+ validHover: {
21
+ stroke: string;
22
+ fill: string;
23
+ };
24
+ invalidHover: {
25
+ stroke: string;
26
+ fill: string;
27
+ };
28
+ };
29
+ export declare const CHANGE_COLOR: {
30
+ [a: number]: any;
31
+ };
32
+ export declare const BORDER_OPACITY_LEVEL: {
33
+ [a: number]: number;
34
+ };
35
+ export declare const FILL_OPACITY_LEVEL: {
36
+ [a: number]: number;
37
+ };
@@ -0,0 +1,32 @@
1
+ export declare const headerHeight = 61;
2
+ export declare const tipsHeight = 40;
3
+ export declare const footerHeight = 40;
4
+ export declare const sidebarWidth = 240;
5
+ export declare const editStepWidth = 320;
6
+ /** 标注步骤的类型 */
7
+ export declare enum EStepType {
8
+ ANNOTATION = 1,
9
+ QUALITY_INSPECTION = 2,
10
+ PRE_ANNOTATION = 3,
11
+ MANUAL_CORRECTION = 4
12
+ }
13
+ /** 标注工具中最大获取的图片数 */
14
+ export declare const ANNOTATION_MAX_SIZE = 100;
15
+ /** 翻页操作 */
16
+ export declare enum EPageTurningOperation {
17
+ Backward = 0,
18
+ Forward = 1,
19
+ Jump = 2
20
+ }
21
+ /** 拖拽状态 */
22
+ export declare enum EDragStatus {
23
+ Start = 0,
24
+ Stop = 1,
25
+ Wait = 2
26
+ }
27
+ /** 拖拽的内容 */
28
+ export declare enum EDragTarget {
29
+ Point = 0,
30
+ Line = 1,
31
+ Plane = 2
32
+ }