@monkvision/inspection-capture-web 4.5.6 → 5.0.0

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 (246) hide show
  1. package/README.md +134 -19
  2. package/lib/DamageDisclosure/DamageDisclosure.d.ts +44 -0
  3. package/lib/DamageDisclosure/DamageDisclosure.js +112 -0
  4. package/lib/DamageDisclosure/DamageDisclosure.styles.js +33 -0
  5. package/lib/DamageDisclosure/DamageDisclosureHOC.d.ts +27 -0
  6. package/lib/DamageDisclosure/DamageDisclosureHOC.js +45 -0
  7. package/lib/DamageDisclosure/DamageDisclosureHUD/DamageDisclosureHUD.d.ts +73 -0
  8. package/lib/DamageDisclosure/DamageDisclosureHUD/DamageDisclosureHUD.js +50 -0
  9. package/lib/DamageDisclosure/DamageDisclosureHUD/DamageDisclosureHUD.styles.js +24 -0
  10. package/lib/DamageDisclosure/DamageDisclosureHUD/DamageDisclosureHUDElements/DamageDisclosureHUDElements.d.ts +52 -0
  11. package/lib/DamageDisclosure/DamageDisclosureHUD/DamageDisclosureHUDElements/DamageDisclosureHUDElements.js +22 -0
  12. package/lib/DamageDisclosure/DamageDisclosureHUD/DamageDisclosureHUDElements/index.d.ts +1 -0
  13. package/lib/DamageDisclosure/DamageDisclosureHUD/DamageDisclosureHUDElements/index.js +5 -0
  14. package/lib/DamageDisclosure/DamageDisclosureHUD/index.d.ts +2 -0
  15. package/lib/DamageDisclosure/DamageDisclosureHUD/index.js +20 -0
  16. package/lib/DamageDisclosure/hooks/index.d.ts +1 -0
  17. package/lib/DamageDisclosure/hooks/index.js +17 -0
  18. package/lib/DamageDisclosure/hooks/useDamageDisclosureState.d.ts +30 -0
  19. package/lib/DamageDisclosure/hooks/useDamageDisclosureState.js +55 -0
  20. package/lib/DamageDisclosure/index.d.ts +3 -0
  21. package/lib/DamageDisclosure/index.js +20 -0
  22. package/lib/PhotoCapture/PhotoCapture.d.ts +7 -5
  23. package/lib/PhotoCapture/PhotoCapture.js +27 -21
  24. package/lib/PhotoCapture/PhotoCapture.styles.js +0 -24
  25. package/lib/PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUD.d.ts +24 -7
  26. package/lib/PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUD.js +4 -4
  27. package/lib/PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDElements/PhotoCaptureHUDElements.d.ts +21 -4
  28. package/lib/PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDElements/PhotoCaptureHUDElements.js +10 -8
  29. package/lib/PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDElementsSight/AddDamageButton/AddDamageButton.d.ts +3 -4
  30. package/lib/PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDElementsSight/AddDamageButton/AddDamageButton.js +5 -4
  31. package/lib/PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDElementsSight/PhotoCaptureHUDElementsSight.d.ts +1 -1
  32. package/lib/PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDElementsSight/PhotoCaptureHUDElementsSight.js +4 -3
  33. package/lib/PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDElementsSight/SightGuideline/SightGuideline.d.ts +3 -3
  34. package/lib/PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDElementsSight/SightGuideline/SightGuideline.js +5 -4
  35. package/lib/PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDElementsSight/SightGuideline/SightGuideline.styles.js +2 -2
  36. package/lib/PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDElementsSight/SightSlider/SightSlider.styles.js +3 -2
  37. package/lib/PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDElementsSight/hooks.d.ts +2 -2
  38. package/lib/PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDTutorial/PhotoCaptureHUDTutorial.d.ts +3 -3
  39. package/lib/PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDTutorial/PhotoCaptureHUDTutorial.js +6 -4
  40. package/lib/PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDTutorial/PhotoCaptureHUDTutorial.styles.js +10 -3
  41. package/lib/PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDTutorial/hooks.d.ts +813 -0
  42. package/lib/PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDTutorial/hooks.js +23 -0
  43. package/lib/PhotoCapture/PhotoCaptureHUD/hooks/index.d.ts +0 -1
  44. package/lib/PhotoCapture/PhotoCaptureHUD/hooks/index.js +0 -1
  45. package/lib/PhotoCapture/PhotoCaptureHUD/index.d.ts +0 -6
  46. package/lib/PhotoCapture/PhotoCaptureHUD/index.js +0 -6
  47. package/lib/PhotoCapture/hooks/index.d.ts +0 -8
  48. package/lib/PhotoCapture/hooks/index.js +0 -8
  49. package/lib/PhotoCapture/hooks/usePhotoCaptureSightState.d.ts +3 -0
  50. package/lib/PhotoCapture/hooks/usePhotoCaptureSightState.js +1 -1
  51. package/lib/PhotoCapture/hooks/usePhotoCaptureTutorial.d.ts +2 -2
  52. package/lib/VideoCapture/VideoCapture.d.ts +28 -0
  53. package/lib/VideoCapture/VideoCapture.js +81 -0
  54. package/lib/VideoCapture/VideoCapture.styles.js +9 -0
  55. package/lib/VideoCapture/VideoCaptureHOC.d.ts +27 -0
  56. package/lib/VideoCapture/VideoCaptureHOC.js +45 -0
  57. package/lib/VideoCapture/VideoCaptureHUD/VideoCaptureHUD.d.ts +44 -0
  58. package/lib/VideoCapture/VideoCaptureHUD/VideoCaptureHUD.js +158 -0
  59. package/lib/VideoCapture/VideoCaptureHUD/VideoCaptureHUD.styles.js +14 -0
  60. package/lib/VideoCapture/VideoCaptureHUD/VideoCaptureRecording/VideoCaptureRecording.d.ts +6 -0
  61. package/lib/VideoCapture/VideoCaptureHUD/VideoCaptureRecording/VideoCaptureRecording.js +38 -0
  62. package/lib/VideoCapture/VideoCaptureHUD/VideoCaptureRecording/VideoCaptureRecording.types.d.ts +33 -0
  63. package/lib/VideoCapture/VideoCaptureHUD/VideoCaptureRecording/VideoCaptureRecording.types.js +2 -0
  64. package/lib/VideoCapture/VideoCaptureHUD/VideoCaptureRecording/VideoCaptureRecordingStyles.d.ts +4873 -0
  65. package/lib/VideoCapture/VideoCaptureHUD/VideoCaptureRecording/VideoCaptureRecordingStyles.js +105 -0
  66. package/lib/VideoCapture/VideoCaptureHUD/VideoCaptureRecording/index.d.ts +2 -0
  67. package/lib/VideoCapture/VideoCaptureHUD/VideoCaptureRecording/index.js +5 -0
  68. package/lib/VideoCapture/VideoCaptureHUD/VideoCaptureTutorial/VideoCaptureTutorial.d.ts +14 -0
  69. package/lib/VideoCapture/VideoCaptureHUD/VideoCaptureTutorial/VideoCaptureTutorial.js +30 -0
  70. package/lib/VideoCapture/VideoCaptureHUD/VideoCaptureTutorial/index.d.ts +1 -0
  71. package/lib/VideoCapture/VideoCaptureHUD/VideoCaptureTutorial/index.js +5 -0
  72. package/lib/VideoCapture/VideoCaptureHUD/index.d.ts +1 -0
  73. package/lib/VideoCapture/VideoCaptureHUD/index.js +5 -0
  74. package/lib/VideoCapture/VideoCapturePageLayout/PageLayoutItem/PageLayoutItem.d.ts +23 -0
  75. package/lib/VideoCapture/VideoCapturePageLayout/PageLayoutItem/PageLayoutItem.js +26 -0
  76. package/lib/VideoCapture/VideoCapturePageLayout/PageLayoutItem/PageLayoutItem.styles.d.ts +12 -0
  77. package/lib/VideoCapture/VideoCapturePageLayout/PageLayoutItem/PageLayoutItem.styles.js +72 -0
  78. package/lib/VideoCapture/VideoCapturePageLayout/PageLayoutItem/index.d.ts +1 -0
  79. package/lib/VideoCapture/VideoCapturePageLayout/PageLayoutItem/index.js +5 -0
  80. package/lib/VideoCapture/VideoCapturePageLayout/VideoCapturePageLayout.d.ts +7 -0
  81. package/lib/VideoCapture/VideoCapturePageLayout/VideoCapturePageLayout.js +32 -0
  82. package/lib/VideoCapture/VideoCapturePageLayout/VideoCapturePageLayout.styles.d.ts +12 -0
  83. package/lib/VideoCapture/VideoCapturePageLayout/VideoCapturePageLayout.styles.js +87 -0
  84. package/lib/VideoCapture/VideoCapturePageLayout/VideoCapturePageLayout.types.d.ts +22 -0
  85. package/lib/VideoCapture/VideoCapturePageLayout/VideoCapturePageLayout.types.js +2 -0
  86. package/lib/VideoCapture/VideoCapturePageLayout/index.d.ts +3 -0
  87. package/lib/VideoCapture/VideoCapturePageLayout/index.js +7 -0
  88. package/lib/VideoCapture/VideoCapturePermissions/VideoCapturePermissions.d.ts +19 -0
  89. package/lib/VideoCapture/VideoCapturePermissions/VideoCapturePermissions.js +107 -0
  90. package/lib/VideoCapture/VideoCapturePermissions/index.d.ts +1 -0
  91. package/lib/VideoCapture/VideoCapturePermissions/index.js +5 -0
  92. package/lib/VideoCapture/VideoCaptureProcessing/VideoCaptureProcessing.d.ts +7 -0
  93. package/lib/VideoCapture/VideoCaptureProcessing/VideoCaptureProcessing.js +44 -0
  94. package/lib/VideoCapture/VideoCaptureProcessing/VideoCaptureProcessing.styles.d.ts +2437 -0
  95. package/lib/VideoCapture/VideoCaptureProcessing/VideoCaptureProcessing.styles.js +60 -0
  96. package/lib/VideoCapture/VideoCaptureProcessing/VideoCaptureProcessing.types.d.ts +34 -0
  97. package/lib/VideoCapture/VideoCaptureProcessing/VideoCaptureProcessing.types.js +2 -0
  98. package/lib/VideoCapture/VideoCaptureProcessing/index.d.ts +2 -0
  99. package/lib/VideoCapture/VideoCaptureProcessing/index.js +5 -0
  100. package/lib/VideoCapture/hooks/index.d.ts +5 -0
  101. package/lib/VideoCapture/hooks/index.js +21 -0
  102. package/lib/VideoCapture/hooks/useFastMovementsDetection/fastMovementsDetection.d.ts +18 -0
  103. package/lib/VideoCapture/hooks/useFastMovementsDetection/fastMovementsDetection.js +45 -0
  104. package/lib/VideoCapture/hooks/useFastMovementsDetection/index.d.ts +2 -0
  105. package/lib/VideoCapture/hooks/useFastMovementsDetection/index.js +20 -0
  106. package/lib/VideoCapture/hooks/useFastMovementsDetection/useFastMovementsDetection.d.ts +34 -0
  107. package/lib/VideoCapture/hooks/useFastMovementsDetection/useFastMovementsDetection.js +64 -0
  108. package/lib/VideoCapture/hooks/useFrameSelection/index.d.ts +1 -0
  109. package/lib/VideoCapture/hooks/useFrameSelection/index.js +17 -0
  110. package/lib/VideoCapture/hooks/useFrameSelection/laplaceScores.d.ts +16 -0
  111. package/lib/VideoCapture/hooks/useFrameSelection/laplaceScores.js +62 -0
  112. package/lib/VideoCapture/hooks/useFrameSelection/useFrameSelection.d.ts +43 -0
  113. package/lib/VideoCapture/hooks/useFrameSelection/useFrameSelection.js +50 -0
  114. package/lib/VideoCapture/hooks/useVehicleWalkaround.d.ts +26 -0
  115. package/lib/VideoCapture/hooks/useVehicleWalkaround.js +39 -0
  116. package/lib/VideoCapture/hooks/useVideoRecording.d.ts +97 -0
  117. package/lib/VideoCapture/hooks/useVideoRecording.js +140 -0
  118. package/lib/VideoCapture/hooks/useVideoUploadQueue.d.ts +40 -0
  119. package/lib/VideoCapture/hooks/useVideoUploadQueue.js +51 -0
  120. package/lib/VideoCapture/index.d.ts +2 -0
  121. package/lib/VideoCapture/index.js +5 -0
  122. package/lib/assets/logos.asset.d.ts +1 -0
  123. package/lib/assets/logos.asset.js +4 -0
  124. package/lib/components/CancelButton/CancelButton.d.ts +14 -0
  125. package/lib/{PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDCancelButton/PhotoCaptureHUDCancelButton.js → components/CancelButton/CancelButton.js} +6 -6
  126. package/lib/components/CancelButton/index.d.ts +1 -0
  127. package/lib/components/CancelButton/index.js +5 -0
  128. package/lib/{PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDElementsAddDamage2ndShot/PhotoCaptureHUDElementsAddDamage2ndShot.d.ts → components/CloseUpShot/CloseUpShot.d.ts} +10 -4
  129. package/lib/components/CloseUpShot/CloseUpShot.js +34 -0
  130. package/lib/components/CloseUpShot/CloseUpShot.styles.d.ts +2 -0
  131. package/lib/{PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDElementsAddDamage2ndShot/PhotoCaptureHUDElementsAddDamage2ndShot.styles.js → components/CloseUpShot/CloseUpShot.styles.js} +4 -3
  132. package/lib/components/CloseUpShot/hooks.d.ts +7 -0
  133. package/lib/components/CloseUpShot/hooks.js +25 -0
  134. package/lib/components/CloseUpShot/index.d.ts +1 -0
  135. package/lib/components/CloseUpShot/index.js +5 -0
  136. package/lib/components/Counter/Counter.d.ts +6 -0
  137. package/lib/{PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDCounter/PhotoCaptureHUDCounter.js → components/Counter/Counter.js} +9 -9
  138. package/lib/components/Counter/Counter.styles.d.ts +2 -0
  139. package/lib/{PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDCounter → components/Counter}/hooks.d.ts +6 -6
  140. package/lib/{PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDCounter → components/Counter}/hooks.js +6 -6
  141. package/lib/components/Counter/index.d.ts +2 -0
  142. package/lib/components/Counter/index.js +5 -0
  143. package/lib/{PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDButtons/PhotoCaptureHUDButtons.d.ts → components/HUDButtons/HUDButtons.d.ts} +4 -4
  144. package/lib/{PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDButtons/PhotoCaptureHUDButtons.js → components/HUDButtons/HUDButtons.js} +5 -5
  145. package/lib/{PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDButtons → components/HUDButtons}/hooks.d.ts +3 -3
  146. package/lib/components/HUDButtons/hooks.js +44 -0
  147. package/lib/components/HUDButtons/index.d.ts +1 -0
  148. package/lib/components/HUDButtons/index.js +5 -0
  149. package/lib/components/HUDOverlay/HUDOverlay.d.ts +7 -0
  150. package/lib/components/HUDOverlay/HUDOverlay.js +36 -0
  151. package/lib/components/HUDOverlay/HUDOverlay.styles.d.ts +2 -0
  152. package/lib/{PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDOverlay → components/HUDOverlay}/hooks.d.ts +4 -4
  153. package/lib/{PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDOverlay → components/HUDOverlay}/hooks.js +3 -3
  154. package/lib/components/HUDOverlay/index.d.ts +2 -0
  155. package/lib/components/HUDOverlay/index.js +5 -0
  156. package/lib/components/OrientationEnforcer/OrientationEnforcer.d.ts +16 -0
  157. package/lib/components/OrientationEnforcer/OrientationEnforcer.js +34 -0
  158. package/lib/components/OrientationEnforcer/OrientationEnforcer.styles.d.ts +815 -0
  159. package/lib/components/OrientationEnforcer/OrientationEnforcer.styles.js +49 -0
  160. package/lib/components/OrientationEnforcer/index.d.ts +1 -0
  161. package/lib/components/OrientationEnforcer/index.js +5 -0
  162. package/lib/components/PartSelection/PartSelection.d.ts +40 -0
  163. package/lib/components/PartSelection/PartSelection.js +39 -0
  164. package/lib/components/PartSelection/PartSelection.styles.d.ts +2 -0
  165. package/lib/components/PartSelection/PartSelection.styles.js +54 -0
  166. package/lib/components/PartSelection/index.d.ts +2 -0
  167. package/lib/components/PartSelection/index.js +5 -0
  168. package/lib/{PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDElementsAddDamage1stShot/PhotoCaptureHUDElementsAddDamage1stShot.d.ts → components/ZoomOutShot/ZoomOutShot.d.ts} +3 -3
  169. package/lib/components/ZoomOutShot/ZoomOutShot.js +38 -0
  170. package/lib/components/ZoomOutShot/ZoomOutShot.styles.d.ts +2 -0
  171. package/lib/{PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDElementsAddDamage1stShot/PhotoCaptureHUDElementsAddDamage1stShot.styles.js → components/ZoomOutShot/ZoomOutShot.styles.js} +3 -3
  172. package/lib/components/ZoomOutShot/hooks.d.ts +6 -0
  173. package/lib/components/ZoomOutShot/hooks.js +24 -0
  174. package/lib/components/ZoomOutShot/index.d.ts +1 -0
  175. package/lib/components/ZoomOutShot/index.js +5 -0
  176. package/lib/components/index.d.ts +8 -0
  177. package/lib/components/index.js +24 -0
  178. package/lib/errors.d.ts +3 -0
  179. package/lib/errors.js +7 -0
  180. package/lib/hooks/index.d.ts +10 -0
  181. package/lib/hooks/index.js +26 -0
  182. package/lib/{PhotoCapture/hooks → hooks}/useAdaptiveCameraConfig.d.ts +2 -2
  183. package/lib/hooks/useAddDamageMode.d.ts +56 -0
  184. package/lib/hooks/useAddDamageMode.js +76 -0
  185. package/lib/{PhotoCapture/hooks → hooks}/useBadConnectionWarning.d.ts +2 -2
  186. package/lib/hooks/useColorBackground.d.ts +4 -0
  187. package/lib/hooks/useColorBackground.js +15 -0
  188. package/lib/hooks/useEnforceOrientation.d.ts +6 -0
  189. package/lib/hooks/useEnforceOrientation.js +14 -0
  190. package/lib/{PhotoCapture/hooks → hooks}/usePhotoCaptureImages.js +1 -1
  191. package/lib/{PhotoCapture/hooks → hooks}/usePictureTaken.d.ts +4 -4
  192. package/lib/hooks/usePictureTaken.js +58 -0
  193. package/lib/{PhotoCapture/hooks → hooks}/useStartTasksOnComplete.d.ts +6 -6
  194. package/lib/{PhotoCapture/hooks → hooks}/useStartTasksOnComplete.js +3 -1
  195. package/lib/{PhotoCapture/hooks → hooks}/useUploadQueue.d.ts +24 -7
  196. package/lib/{PhotoCapture/hooks → hooks}/useUploadQueue.js +14 -4
  197. package/lib/index.d.ts +2 -0
  198. package/lib/index.js +2 -0
  199. package/lib/translations/de.json +64 -5
  200. package/lib/translations/en.json +64 -5
  201. package/lib/translations/fr.json +64 -5
  202. package/lib/translations/nl.json +64 -5
  203. package/lib/types.d.ts +102 -0
  204. package/lib/types.js +43 -0
  205. package/package.json +15 -15
  206. package/lib/PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDButtons/hooks.js +0 -44
  207. package/lib/PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDButtons/index.d.ts +0 -1
  208. package/lib/PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDButtons/index.js +0 -5
  209. package/lib/PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDCancelButton/PhotoCaptureHUDCancelButton.d.ts +0 -14
  210. package/lib/PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDCancelButton/index.d.ts +0 -1
  211. package/lib/PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDCancelButton/index.js +0 -5
  212. package/lib/PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDCounter/PhotoCaptureHUDCounter.d.ts +0 -6
  213. package/lib/PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDCounter/index.d.ts +0 -2
  214. package/lib/PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDCounter/index.js +0 -5
  215. package/lib/PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDElementsAddDamage1stShot/PhotoCaptureHUDElementsAddDamage1stShot.js +0 -38
  216. package/lib/PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDElementsAddDamage1stShot/hooks.d.ts +0 -6
  217. package/lib/PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDElementsAddDamage1stShot/hooks.js +0 -24
  218. package/lib/PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDElementsAddDamage1stShot/index.d.ts +0 -1
  219. package/lib/PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDElementsAddDamage1stShot/index.js +0 -5
  220. package/lib/PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDElementsAddDamage2ndShot/PhotoCaptureHUDElementsAddDamage2ndShot.js +0 -40
  221. package/lib/PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDElementsAddDamage2ndShot/hooks.d.ts +0 -7
  222. package/lib/PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDElementsAddDamage2ndShot/hooks.js +0 -25
  223. package/lib/PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDElementsAddDamage2ndShot/index.d.ts +0 -1
  224. package/lib/PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDElementsAddDamage2ndShot/index.js +0 -5
  225. package/lib/PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDOverlay/PhotoCaptureHUDOverlay.d.ts +0 -7
  226. package/lib/PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDOverlay/PhotoCaptureHUDOverlay.js +0 -36
  227. package/lib/PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDOverlay/index.d.ts +0 -2
  228. package/lib/PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDOverlay/index.js +0 -5
  229. package/lib/PhotoCapture/PhotoCaptureHUD/hooks/usePhotoCaptureHUDButtonBackground.d.ts +0 -4
  230. package/lib/PhotoCapture/PhotoCaptureHUD/hooks/usePhotoCaptureHUDButtonBackground.js +0 -13
  231. package/lib/PhotoCapture/hooks/useAddDamageMode.d.ts +0 -42
  232. package/lib/PhotoCapture/hooks/useAddDamageMode.js +0 -57
  233. package/lib/PhotoCapture/hooks/usePictureTaken.js +0 -46
  234. /package/lib/{PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDCounter/PhotoCaptureHUDCounter.styles.d.ts → DamageDisclosure/DamageDisclosure.styles.d.ts} +0 -0
  235. /package/lib/{PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDElementsAddDamage1stShot/PhotoCaptureHUDElementsAddDamage1stShot.styles.d.ts → DamageDisclosure/DamageDisclosureHUD/DamageDisclosureHUD.styles.d.ts} +0 -0
  236. /package/lib/{PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDElementsAddDamage2ndShot/PhotoCaptureHUDElementsAddDamage2ndShot.styles.d.ts → VideoCapture/VideoCapture.styles.d.ts} +0 -0
  237. /package/lib/{PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDOverlay/PhotoCaptureHUDOverlay.styles.d.ts → VideoCapture/VideoCaptureHUD/VideoCaptureHUD.styles.d.ts} +0 -0
  238. /package/lib/{PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDCounter/PhotoCaptureHUDCounter.styles.js → components/Counter/Counter.styles.js} +0 -0
  239. /package/lib/{PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDButtons/PhotoCaptureHUDButtons.styles.d.ts → components/HUDButtons/HUDButtons.styles.d.ts} +0 -0
  240. /package/lib/{PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDButtons/PhotoCaptureHUDButtons.styles.js → components/HUDButtons/HUDButtons.styles.js} +0 -0
  241. /package/lib/{PhotoCapture/PhotoCaptureHUD/PhotoCaptureHUDOverlay/PhotoCaptureHUDOverlay.styles.js → components/HUDOverlay/HUDOverlay.styles.js} +0 -0
  242. /package/lib/{PhotoCapture/hooks → hooks}/useAdaptiveCameraConfig.js +0 -0
  243. /package/lib/{PhotoCapture/hooks → hooks}/useBadConnectionWarning.js +0 -0
  244. /package/lib/{PhotoCapture/hooks → hooks}/usePhotoCaptureImages.d.ts +0 -0
  245. /package/lib/{PhotoCapture/hooks → hooks}/useTracking.d.ts +0 -0
  246. /package/lib/{PhotoCapture/hooks → hooks}/useTracking.js +0 -0
@@ -2,15 +2,15 @@ import { MonkPicture, TaskName } from '@monkvision/types';
2
2
  import { Queue } from '@monkvision/common';
3
3
  import { PictureUpload } from './useUploadQueue';
4
4
  import { AddDamageHandle } from './useAddDamageMode';
5
- import { PhotoCaptureSightState } from './usePhotoCaptureSightState';
5
+ import { PhotoCaptureSightState, DamageDisclosureState } from '../types';
6
6
  /**
7
7
  * Parameters of the usePictureTaken hook.
8
8
  */
9
9
  export interface UseTakePictureParams {
10
10
  /**
11
- * The PhotoCapture sight state, created using the usePhotoCaptureSightState hook.
11
+ * The capture state, created using the usePhotoCaptureSightState or useDamageDisclosureState hook.
12
12
  */
13
- sightState: PhotoCaptureSightState;
13
+ captureState: PhotoCaptureSightState | DamageDisclosureState;
14
14
  /**
15
15
  * The PhotoCapture add damage handle, created using the useAddDamageMode hook.
16
16
  */
@@ -36,4 +36,4 @@ export type HandleTakePictureFunction = (picture: MonkPicture) => void;
36
36
  /**
37
37
  * Custom hook used to generate the callback called when the user has taken a picture to handle picture upload etc.
38
38
  */
39
- export declare function usePictureTaken({ sightState, addDamageHandle, uploadQueue, tasksBySight, onPictureTaken, }: UseTakePictureParams): HandleTakePictureFunction;
39
+ export declare function usePictureTaken({ captureState, addDamageHandle, uploadQueue, tasksBySight, onPictureTaken, }: UseTakePictureParams): HandleTakePictureFunction;
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.usePictureTaken = void 0;
4
+ var react_1 = require("react");
5
+ var analytics_1 = require("@monkvision/analytics");
6
+ var types_1 = require("../types");
7
+ /**
8
+ * Custom hook used to generate the callback called when the user has taken a picture to handle picture upload etc.
9
+ */
10
+ function usePictureTaken(_a) {
11
+ var captureState = _a.captureState, addDamageHandle = _a.addDamageHandle, uploadQueue = _a.uploadQueue, tasksBySight = _a.tasksBySight, onPictureTaken = _a.onPictureTaken;
12
+ var trackEvent = (0, analytics_1.useAnalytics)().trackEvent;
13
+ var selectedSightId = 'selectedSight' in captureState ? captureState.selectedSight.id : undefined;
14
+ var takeSelectedSight = 'takeSelectedSight' in captureState ? captureState.takeSelectedSight : undefined;
15
+ return (0, react_1.useCallback)(function (picture) {
16
+ var _a;
17
+ onPictureTaken === null || onPictureTaken === void 0 ? void 0 : onPictureTaken(picture);
18
+ captureState.setLastPictureTakenUri(picture.uri);
19
+ if (addDamageHandle.mode === types_1.CaptureMode.ADD_DAMAGE_PART_SELECT_SHOT) {
20
+ uploadQueue.push({
21
+ mode: addDamageHandle.mode,
22
+ picture: picture,
23
+ vehicleParts: addDamageHandle.vehicleParts,
24
+ });
25
+ }
26
+ if (addDamageHandle.mode === types_1.CaptureMode.SIGHT && 'selectedSight' in captureState) {
27
+ uploadQueue.push({
28
+ mode: addDamageHandle.mode,
29
+ picture: picture,
30
+ sightId: captureState.selectedSight.id,
31
+ tasks: (_a = tasksBySight === null || tasksBySight === void 0 ? void 0 : tasksBySight[captureState.selectedSight.id]) !== null && _a !== void 0 ? _a : captureState.selectedSight.tasks,
32
+ });
33
+ }
34
+ if (addDamageHandle.mode === types_1.CaptureMode.ADD_DAMAGE_1ST_SHOT ||
35
+ addDamageHandle.mode === types_1.CaptureMode.ADD_DAMAGE_2ND_SHOT) {
36
+ uploadQueue.push({ mode: addDamageHandle.mode, picture: picture });
37
+ }
38
+ if (addDamageHandle.mode === types_1.CaptureMode.SIGHT && 'takeSelectedSight' in captureState) {
39
+ captureState.takeSelectedSight();
40
+ }
41
+ else {
42
+ trackEvent('AddDamage Captured', {
43
+ mode: addDamageHandle.mode,
44
+ });
45
+ }
46
+ addDamageHandle.updatePhotoCaptureModeAfterPictureTaken();
47
+ }, [
48
+ captureState.setLastPictureTakenUri,
49
+ addDamageHandle.mode,
50
+ selectedSightId,
51
+ tasksBySight,
52
+ uploadQueue.push,
53
+ takeSelectedSight,
54
+ addDamageHandle.updatePhotoCaptureModeAfterPictureTaken,
55
+ onPictureTaken,
56
+ ]);
57
+ }
58
+ exports.usePictureTaken = usePictureTaken;
@@ -1,18 +1,14 @@
1
- import { CaptureAppConfig, Sight } from '@monkvision/types';
1
+ import { PhotoCaptureAppConfig, Sight } from '@monkvision/types';
2
2
  import { LoadingState } from '@monkvision/common';
3
3
  import { MonkApiConfig } from '@monkvision/network';
4
4
  /**
5
5
  * Parameters of the useStartTasksOnComplete hook.
6
6
  */
7
- export interface UseStartTasksOnCompleteParams extends Pick<CaptureAppConfig, 'additionalTasks' | 'tasksBySight' | 'startTasksOnComplete'> {
7
+ export interface UseStartTasksOnCompleteParams extends Pick<PhotoCaptureAppConfig, 'additionalTasks' | 'tasksBySight' | 'startTasksOnComplete'> {
8
8
  /**
9
9
  * The inspection ID.
10
10
  */
11
11
  inspectionId: string;
12
- /**
13
- * The list of sights passed to the PhotoCapture component.
14
- */
15
- sights: Sight[];
16
12
  /**
17
13
  * The api config used to communicate with the API.
18
14
  */
@@ -21,6 +17,10 @@ export interface UseStartTasksOnCompleteParams extends Pick<CaptureAppConfig, 'a
21
17
  * Global loading state of the PhotoCapture component.
22
18
  */
23
19
  loading: LoadingState;
20
+ /**
21
+ * The list of sights passed to the PhotoCapture component.
22
+ */
23
+ sights?: Sight[];
24
24
  }
25
25
  /**
26
26
  * Callback to be called when the PhotoCapture inspection is complete in order to start (or not) to inspection tasks.
@@ -50,7 +50,9 @@ function getTasksToStart(_a) {
50
50
  tasks = startTasksOnComplete;
51
51
  }
52
52
  else {
53
- tasks = (0, common_1.uniq)((0, common_1.flatMap)(sights, function (sight) { var _a; return (_a = tasksBySight === null || tasksBySight === void 0 ? void 0 : tasksBySight[sight.id]) !== null && _a !== void 0 ? _a : sight.tasks; }));
53
+ tasks = sights
54
+ ? (0, common_1.uniq)((0, common_1.flatMap)(sights, function (sight) { var _a; return (_a = tasksBySight === null || tasksBySight === void 0 ? void 0 : tasksBySight[sight.id]) !== null && _a !== void 0 ? _a : sight.tasks; }))
55
+ : [types_1.TaskName.DAMAGE_DETECTION];
54
56
  additionalTasks === null || additionalTasks === void 0 ? void 0 : additionalTasks.forEach(function (additionalTask) {
55
57
  if (!tasks.includes(additionalTask)) {
56
58
  tasks.push(additionalTask);
@@ -1,7 +1,7 @@
1
1
  import { Queue } from '@monkvision/common';
2
2
  import { MonkApiConfig } from '@monkvision/network';
3
- import { CaptureAppConfig, ComplianceOptions, MonkPicture, TaskName } from '@monkvision/types';
4
- import { PhotoCaptureMode } from './useAddDamageMode';
3
+ import { PhotoCaptureAppConfig, ComplianceOptions, MonkPicture, TaskName, VehiclePart } from '@monkvision/types';
4
+ import { CaptureMode } from '../types';
5
5
  /**
6
6
  * Type definition for upload event handlers.
7
7
  */
@@ -20,7 +20,7 @@ export interface UploadEventHandlers {
20
20
  /**
21
21
  * Parameters of the useUploadQueue hook.
22
22
  */
23
- export interface UploadQueueParams extends Pick<CaptureAppConfig, 'additionalTasks'> {
23
+ export interface UploadQueueParams extends Pick<PhotoCaptureAppConfig, 'additionalTasks'> {
24
24
  /**
25
25
  * The inspection ID.
26
26
  */
@@ -45,7 +45,7 @@ export interface SightPictureUpload {
45
45
  /**
46
46
  * Upload mode : `PhotoCaptureMode.SIGHT`.
47
47
  */
48
- mode: PhotoCaptureMode.SIGHT;
48
+ mode: CaptureMode.SIGHT;
49
49
  /**
50
50
  * The picture to upload.
51
51
  */
@@ -66,7 +66,7 @@ export interface AddDamage1stShotPictureUpload {
66
66
  /**
67
67
  * Upload mode : `PhotoCaptureMode.ADD_DAMAGE_1ST_SHOT`.
68
68
  */
69
- mode: PhotoCaptureMode.ADD_DAMAGE_1ST_SHOT;
69
+ mode: CaptureMode.ADD_DAMAGE_1ST_SHOT;
70
70
  /**
71
71
  * The picture to upload.
72
72
  */
@@ -79,16 +79,33 @@ export interface AddDamage2ndShotPictureUpload {
79
79
  /**
80
80
  * Upload mode : `PhotoCaptureMode.ADD_DAMAGE_2ND_SHOT`.
81
81
  */
82
- mode: PhotoCaptureMode.ADD_DAMAGE_2ND_SHOT;
82
+ mode: CaptureMode.ADD_DAMAGE_2ND_SHOT;
83
83
  /**
84
84
  * The picture to upload.
85
85
  */
86
86
  picture: MonkPicture;
87
87
  }
88
+ /**
89
+ * Upload options for a part select picture in the add damage process.
90
+ */
91
+ export interface AddDamagePartSelectShotPictureUpload {
92
+ /**
93
+ * Upload mode : `PhotoCaptureMode.ADD_DAMAGE_PART_SELECTION`.
94
+ */
95
+ mode: CaptureMode.ADD_DAMAGE_PART_SELECT_SHOT;
96
+ /**
97
+ * The picture to upload.
98
+ */
99
+ picture: MonkPicture;
100
+ /**
101
+ * Selected damaged parts.
102
+ */
103
+ vehicleParts: VehiclePart[];
104
+ }
88
105
  /**
89
106
  * Union type describing every possible upload configurations for a picture taken.
90
107
  */
91
- export type PictureUpload = SightPictureUpload | AddDamage1stShotPictureUpload | AddDamage2ndShotPictureUpload;
108
+ export type PictureUpload = SightPictureUpload | AddDamage1stShotPictureUpload | AddDamage2ndShotPictureUpload | AddDamagePartSelectShotPictureUpload;
92
109
  /**
93
110
  * Custom hook used to generate the UploadQueue (using the `useQueue` hook) for the PhotoCapture component.
94
111
  */
@@ -50,9 +50,9 @@ var common_1 = require("@monkvision/common");
50
50
  var network_1 = require("@monkvision/network");
51
51
  var react_1 = require("react");
52
52
  var monitoring_1 = require("@monkvision/monitoring");
53
- var useAddDamageMode_1 = require("./useAddDamageMode");
53
+ var types_1 = require("../types");
54
54
  function createAddImageOptions(upload, inspectionId, siblingId, enableThumbnail, additionalTasks, compliance) {
55
- if (upload.mode === useAddDamageMode_1.PhotoCaptureMode.SIGHT) {
55
+ if (upload.mode === types_1.CaptureMode.SIGHT) {
56
56
  return {
57
57
  uploadType: network_1.ImageUploadType.BEAUTY_SHOT,
58
58
  picture: upload.picture,
@@ -63,11 +63,21 @@ function createAddImageOptions(upload, inspectionId, siblingId, enableThumbnail,
63
63
  useThumbnailCaching: enableThumbnail,
64
64
  };
65
65
  }
66
+ if (upload.mode === types_1.CaptureMode.ADD_DAMAGE_PART_SELECT_SHOT) {
67
+ return {
68
+ uploadType: network_1.ImageUploadType.PART_SELECT_SHOT,
69
+ picture: upload.picture,
70
+ inspectionId: inspectionId,
71
+ vehicleParts: upload.vehicleParts,
72
+ compliance: compliance,
73
+ useThumbnailCaching: enableThumbnail,
74
+ };
75
+ }
66
76
  return {
67
77
  uploadType: network_1.ImageUploadType.CLOSE_UP_2_SHOT,
68
78
  picture: upload.picture,
69
79
  siblingKey: "closeup-sibling-key-".concat(siblingId),
70
- firstShot: upload.mode === useAddDamageMode_1.PhotoCaptureMode.ADD_DAMAGE_1ST_SHOT,
80
+ firstShot: upload.mode === types_1.CaptureMode.ADD_DAMAGE_1ST_SHOT,
71
81
  inspectionId: inspectionId,
72
82
  compliance: compliance,
73
83
  useThumbnailCaching: enableThumbnail,
@@ -87,7 +97,7 @@ function useUploadQueue(_a) {
87
97
  return __generator(this, function (_a) {
88
98
  switch (_a.label) {
89
99
  case 0:
90
- if (upload.mode === useAddDamageMode_1.PhotoCaptureMode.ADD_DAMAGE_1ST_SHOT) {
100
+ if (upload.mode === types_1.CaptureMode.ADD_DAMAGE_1ST_SHOT) {
91
101
  siblingIdRef.current += 1;
92
102
  }
93
103
  _a.label = 1;
package/lib/index.d.ts CHANGED
@@ -1,2 +1,4 @@
1
1
  export * from './PhotoCapture';
2
+ export * from './VideoCapture';
3
+ export * from './DamageDisclosure';
2
4
  export * from './i18n';
package/lib/index.js CHANGED
@@ -15,4 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./PhotoCapture"), exports);
18
+ __exportStar(require("./VideoCapture"), exports);
19
+ __exportStar(require("./DamageDisclosure"), exports);
18
20
  __exportStar(require("./i18n"), exports);
@@ -1,9 +1,5 @@
1
1
  {
2
2
  "photo": {
3
- "orientationError": {
4
- "title": "Bitte drehen Sie Ihr Gerät.",
5
- "description": "Möglicherweise müssen Sie die Ausrichtung Ihres Geräts über die Telefoneinstellungen entsperren."
6
- },
7
3
  "badConnectionWarning": {
8
4
  "message": "Es scheint, dass Ihre Verbindung instabil ist. Das Hochladen von Bildern kann lange dauern oder unmöglich sein.",
9
5
  "confirm": "Ich verstehe"
@@ -17,7 +13,9 @@
17
13
  "damagedPartCounter": "1 / 2 • Beschädigtes Teil",
18
14
  "closeupPictureCounter": "2 / 2 • Nahaufnahme-Vorschau",
19
15
  "infoBtn": "Richte das Ziel auf den beschädigten Teil aus und tippe dann auf den Auslöserknopf",
20
- "infoCloseup": "Ein Nahaufnahmebild von dem Schaden machen"
16
+ "infoCloseup": "Ein Nahaufnahmebild von dem Schaden machen",
17
+ "selectPart": "Wählen Sie auf den beschädigten Teil. Verwenden Sie die Pfeile, um das Fahrzeug zu drehen und die andere Seite zu sehen.",
18
+ "selectParts": "Wählen Sie auf die beschädigten Teile. Verwenden Sie die Pfeile, um das Fahrzeug zu drehen und die andere Seite zu sehen."
21
19
  },
22
20
  "error": {
23
21
  "retry": "Erneut versuchen",
@@ -43,6 +41,67 @@
43
41
  "sight": "Richten Sie das Fahrzeug so gut wie möglich an den Linien aus, um das beste Foto zu erhalten.<br>Drücken Sie den Auslöser, um das Foto aufzunehmen.",
44
42
  "next": "Weiter"
45
43
  }
44
+ },
45
+ "gallery": {
46
+ "next": "Weiter: fahrzeugfotos"
47
+ }
48
+ },
49
+ "video": {
50
+ "introduction": {
51
+ "title": "Aufzeichnung eines Videos zur Fahrzeugbegehung"
52
+ },
53
+ "permissions": {
54
+ "camera": {
55
+ "title": "Kamera",
56
+ "description": "Um Videos aufzunehmen, müssen Sie den Zugriff auf die Kamera des Geräts erlauben"
57
+ },
58
+ "compass": {
59
+ "title": "Kompass",
60
+ "description": "Um einen vollständigen 360°-Umlauf des Fahrzeugs zu erfassen, müssen Sie den Zugriff auf den Kompass des Geräts erlauben"
61
+ },
62
+ "confirm": "Berechtigungen verwalten"
63
+ },
64
+ "tutorial": {
65
+ "start": {
66
+ "title": "Beginnen Sie an der Vorderseite",
67
+ "description": "Halten Sie einen Abstand von 1 Meter und gehen Sie langsam um das Fahrzeug herum, indem Sie es von der Dachlinie bis zum Boden aufnehmen."
68
+ },
69
+ "finish": {
70
+ "title": "Beenden Sie die Aufnahme dort, wo Sie begonnen haben.",
71
+ "description": "Sie sollten die Aufnahme in etwa 45 Sekunden beenden."
72
+ },
73
+ "photos": {
74
+ "title": "Machen Sie nach Bedarf Fotos",
75
+ "description": "Drücken Sie den Auslöser, um während der Aufnahme Fotos von der Wiedervermarktung oder von Schäden zu machen."
76
+ },
77
+ "confirm": "Ein Video aufnehmen"
78
+ },
79
+ "recording": {
80
+ "discardDialog": {
81
+ "message": "Möchten Sie das Video verwerfen? Sie sind noch nicht ganz um das Fahrzeug herumgekommen.",
82
+ "keepRecording": "Aufnahme beibehalten",
83
+ "discardVideo": "Video verwerfen"
84
+ },
85
+ "fastMovementsDialog": {
86
+ "walkingTooFast": "Sie sind zu schnell unterwegs! Fahren Sie etwas langsamer, es sollte etwa eine Minute dauern, bis Sie das Fahrzeug umrundet haben.",
87
+ "phoneShaking": "Ihr Gerät wackelt zu stark! Versuchen Sie, die Kamera ruhig zu halten, während Sie Ihr Fahrzeug aufnehmen.",
88
+ "confirm": "OK"
89
+ },
90
+ "tooltip": {
91
+ "start": "Sobald Sie sich vor dem Fahrzeug befinden, drücken Sie die Taste, um die Videoaufnahme zu starten.",
92
+ "end": "Drücken Sie nach Abschluss der Fahrzeugumrundung die Taste, um die Aufnahme zu beenden."
93
+ }
94
+ },
95
+ "processing": {
96
+ "processing": "Bearbeitung des Videos...",
97
+ "uploading": "Hochladen des Videos...",
98
+ "success": "Videobearbeitung abgeschlossen!",
99
+ "error": "Beim Abschluss der Inspektion ist ein Fehler aufgetreten. Inspektion ID :",
100
+ "done": "Erledigt"
46
101
  }
102
+ },
103
+ "orientationEnforcer": {
104
+ "title": "Bitte drehen Sie Ihr Gerät.",
105
+ "description": "Möglicherweise müssen Sie die Ausrichtung Ihres Geräts über die Telefoneinstellungen entsperren."
47
106
  }
48
107
  }
@@ -1,9 +1,5 @@
1
1
  {
2
2
  "photo": {
3
- "orientationError": {
4
- "title": "Please rotate your device.",
5
- "description": "You may need to unlock your device orientation through your phone settings."
6
- },
7
3
  "badConnectionWarning": {
8
4
  "message": "It seems like your connection is unstable. Picture uploads might be long or impossible.",
9
5
  "confirm": "I Understand"
@@ -17,7 +13,9 @@
17
13
  "damagedPartCounter": "1 / 2 • Damaged part",
18
14
  "closeupPictureCounter": "2 / 2 • Closeup Picture",
19
15
  "infoBtn": "Aim the target at the damaged part then tap the shutter button",
20
- "infoCloseup": "Take a closeup picture of the damage"
16
+ "infoCloseup": "Take a closeup picture of the damage",
17
+ "selectPart": "Tap the damaged part. Use arrows to rotate the vehicle and see the other side.",
18
+ "selectParts": "Tap the damaged parts. Use arrows to rotate the vehicle and see the other side."
21
19
  },
22
20
  "error": {
23
21
  "retry": "Retry",
@@ -43,6 +41,67 @@
43
41
  "sight": "Align the vehicle with the lines as much as possible to get the best shot.<br>Press the shutter button to take the photo.",
44
42
  "next": "Next"
45
43
  }
44
+ },
45
+ "gallery": {
46
+ "next": "Next: vehicle photos"
47
+ }
48
+ },
49
+ "video": {
50
+ "introduction": {
51
+ "title": "Record a vehicle walkaround video"
52
+ },
53
+ "permissions": {
54
+ "camera": {
55
+ "title": "Camera",
56
+ "description": "To record video, you need to allow access to the device's camera"
57
+ },
58
+ "compass": {
59
+ "title": "Compass",
60
+ "description": "To detect a full 360° circulation of the vehicle, you need to allow access to the device's compass"
61
+ },
62
+ "confirm": "Manage Permissions"
63
+ },
64
+ "tutorial": {
65
+ "start": {
66
+ "title": "Start at the Front",
67
+ "description": "Keep a 3 to 4-foot distance and walk slowly around the vehicle, capturing from the roofline to the ground."
68
+ },
69
+ "finish": {
70
+ "title": "Finish where you began",
71
+ "description": "You should be done recording in about 45 seconds."
72
+ },
73
+ "photos": {
74
+ "title": "Take photos as needed",
75
+ "description": "Press the shutter button to capture remarketing or damage photos while you're recording."
76
+ },
77
+ "confirm": "Record a Video"
78
+ },
79
+ "recording": {
80
+ "discardDialog": {
81
+ "message": "Do you want to discard the video? You haven' t gone all the way around the vehicle.",
82
+ "keepRecording": "Keep Recording",
83
+ "discardVideo": "Discard Video"
84
+ },
85
+ "fastMovementsDialog": {
86
+ "walkingTooFast": "You're moving too fast! Slow down a bit, it should take you around one minute to complete the vehicle walkaround.",
87
+ "phoneShaking": "Your device is shaking too much! Try to keep the camera steady while recording your vehicle.",
88
+ "confirm": "OK"
89
+ },
90
+ "tooltip": {
91
+ "start": "Once in front of the vehicle, press the button to start recording the video.",
92
+ "end": "Once the vehicle walkaround is completed, press the button to stop the recording."
93
+ }
94
+ },
95
+ "processing": {
96
+ "processing": "Processing the video...",
97
+ "uploading": "Uploading the video...",
98
+ "success": "Video processing completed!",
99
+ "error": "An error occurred when finalizing the inspection. Inspection ID :",
100
+ "done": "Done"
46
101
  }
102
+ },
103
+ "orientationEnforcer": {
104
+ "title": "Please rotate your device.",
105
+ "description": "You may need to unlock your device orientation through your phone settings."
47
106
  }
48
107
  }
@@ -1,9 +1,5 @@
1
1
  {
2
2
  "photo": {
3
- "orientationError": {
4
- "title": "Veuillez tourner votre appareil.",
5
- "description": "Il vous faudra peut-être débloquer l'orientation de votre appareil dans les paramètres de votre téléphone."
6
- },
7
3
  "badConnectionWarning": {
8
4
  "message": "Il semble que votre connexion soit instable. Les téléchargements d'images peuvent être longs ou impossibles.",
9
5
  "confirm": "J'ai compris"
@@ -17,7 +13,9 @@
17
13
  "damagedPartCounter": "1 / 2 • Pièce endommagée",
18
14
  "closeupPictureCounter": "2 / 2 • Dégât en gros plan",
19
15
  "infoBtn": "Placer le viseur sur la pièce endommagée puis enclencher le bouton capture de la photo",
20
- "infoCloseup": "Prendre une photo en gros plan du dégât"
16
+ "infoCloseup": "Prendre une photo en gros plan du dégât",
17
+ "selectPart": "Veuillez sélectionner la pièce endommagée. Utilisez les flèches pour faire tourner le véhicule et voir l'autre côté",
18
+ "selectParts": "Veuillez sélectionner les pièces endommagées. Utilisez les flèches pour faire tourner le véhicule et voir l'autre côté."
21
19
  },
22
20
  "error": {
23
21
  "retry": "Réessayer",
@@ -43,6 +41,67 @@
43
41
  "sight": "Alignez le véhicule avec les lignes autant que possible pour obtenir la meilleure photo.<br>Appuyez sur le déclencheur pour prendre la photo.",
44
42
  "next": "Suivant"
45
43
  }
44
+ },
45
+ "gallery": {
46
+ "next": "Suivant : photos du véhicule"
47
+ }
48
+ },
49
+ "video": {
50
+ "introduction": {
51
+ "title": "Enregistrer une vidéo d'inspection du véhicule"
52
+ },
53
+ "permissions": {
54
+ "camera": {
55
+ "title": "Caméra",
56
+ "description": "Pour enregistrer une vidéo, vous devez autoriser l'accès à la caméra de l'appareil"
57
+ },
58
+ "compass": {
59
+ "title": "Boussole",
60
+ "description": "Pour détecter une circulation complète à 360° du véhicule, vous devez autoriser l'accès à la boussole de l'appareil"
61
+ },
62
+ "confirm": "Gérer les autorisations"
63
+ },
64
+ "tutorial": {
65
+ "start": {
66
+ "title": "Commencez par l'avant",
67
+ "description": "Gardez une distance d'un mètre et faites lentement le tour du véhicule, en capturant la ligne de toit jusqu'au sol."
68
+ },
69
+ "finish": {
70
+ "title": "Terminez là où vous avez commencé",
71
+ "description": "L'enregistrement devrait être terminé au bout d'environ 45 secondes."
72
+ },
73
+ "photos": {
74
+ "title": "Prenez des photos si nécessaire",
75
+ "description": "Appuyez sur le bouton de capture pour prendre des photos de remarketing ou de dommages pendant l'enregistrement."
76
+ },
77
+ "confirm": "Enregistrer une vidéo"
78
+ },
79
+ "recording": {
80
+ "discardDialog": {
81
+ "message": "Voulez-vous annuler la vidéo ? Vous n'avez pas fait le tour complet du véhicule.",
82
+ "keepRecording": "Continuer l'enregistrement",
83
+ "discardVideo": "Annuler la vidéo"
84
+ },
85
+ "fastMovementsDialog": {
86
+ "walkingTooFast": "Vous allez trop vite ! Ralentissez un peu. Il devrait vous falloir environ une minute pour faire le tour du véhicule.",
87
+ "phoneShaking": "Votre appareil tremble trop ! Essayez de garder l'appareil photo stable pendant l'enregistrement de votre véhicule.",
88
+ "confirm": "OK"
89
+ },
90
+ "tooltip": {
91
+ "start": "Une fois devant le véhicule, appuyez sur le bouton pour commencer à enregistrer la vidéo.",
92
+ "end": "Une fois le tour du véhicule terminé, appuyez sur le bouton pour arrêter l'enregistrement."
93
+ }
94
+ },
95
+ "processing": {
96
+ "processing": "Traitement de la vidéo...",
97
+ "uploading": "Téléchargement de la vidéo...",
98
+ "success": "Traitement de la vidéo terminé !",
99
+ "error": "Une erreur s'est produite lors de la finalisation de l'inspection. ID d'inspection :",
100
+ "done": "Terminé"
46
101
  }
102
+ },
103
+ "orientationEnforcer": {
104
+ "title": "Veuillez tourner votre appareil.",
105
+ "description": "Il vous faudra peut-être débloquer l'orientation de votre appareil dans les paramètres de votre téléphone."
47
106
  }
48
107
  }
@@ -1,9 +1,5 @@
1
1
  {
2
2
  "photo": {
3
- "orientationError": {
4
- "title": "Draai uw apparaat om.",
5
- "description": "U moet mogelijk de oriëntatie van uw apparaat ontgrendelen via de instellingen van uw telefoon."
6
- },
7
3
  "badConnectionWarning": {
8
4
  "message": "Het lijkt erop dat je verbinding instabiel is. Het uploaden van afbeeldingen kan lang duren of onmogelijk zijn.",
9
5
  "confirm": "Ik begrijp het"
@@ -17,7 +13,9 @@
17
13
  "damagedPartCounter": "1 / 2 • Beschadigd onderdeel",
18
14
  "closeupPictureCounter": "2 / 2 • Closeup foto",
19
15
  "infoBtn": "Richt de markering op het beschadigde onderdeel en tik vervolgens op de sluitertknop",
20
- "infoCloseup": "Neem een closeup foto van de schade"
16
+ "infoCloseup": "Neem een closeup foto van de schade",
17
+ "selectPart": "Selecteer het beschadigde onderdeel. Gebruik de pijlen om het voertuig te draaien en de andere kant te bekijken.",
18
+ "selectParts": "Selecteer de beschadigde onderdelen. Gebruik de pijlen om het voertuig te draaien en de andere kant te bekijken."
21
19
  },
22
20
  "error": {
23
21
  "retry": "Opnieuw proberen",
@@ -43,6 +41,67 @@
43
41
  "sight": "Richt het voertuig zo goed mogelijk uit op de lijnen om de beste foto te krijgen.<br>Druk op de knop om de foto te nemen.",
44
42
  "next": "Volgende"
45
43
  }
44
+ },
45
+ "gallery": {
46
+ "next": "Volgende: voertuigfoto's"
47
+ }
48
+ },
49
+ "video": {
50
+ "introduction": {
51
+ "title": "Een doorloopvideo van een voertuig opnemen"
52
+ },
53
+ "permissions": {
54
+ "camera": {
55
+ "title": "Camera",
56
+ "description": "Om video's op te nemen, moet u toegang verlenen tot de camera van het apparaat"
57
+ },
58
+ "compass": {
59
+ "title": "Kompas",
60
+ "description": "Om een volledige 360°-omloop van het voertuig te detecteren, moet u toegang tot het kompas van het apparaat toestaan"
61
+ },
62
+ "confirm": "Machtigingen beheren"
63
+ },
64
+ "tutorial": {
65
+ "start": {
66
+ "title": "Begin aan de voorkant",
67
+ "description": "Houd 1 meter afstand en loop langzaam rond het voertuig, waarbij je vanaf de daklijn naar de grond loopt."
68
+ },
69
+ "finish": {
70
+ "title": "Eindig waar je begon",
71
+ "description": "Je moet na ongeveer 45 seconden klaar zijn met opnemen."
72
+ },
73
+ "photos": {
74
+ "title": "Maak foto's als dat nodig is",
75
+ "description": "Druk op de ontspanknop om remarketing- of schadefoto's te maken terwijl je opneemt."
76
+ },
77
+ "confirm": "Een video opnemen"
78
+ },
79
+ "recording": {
80
+ "discardDialog": {
81
+ "message": "Wil je de video weggooien? Je hebt het voertuig nog niet helemaal rondgereden.",
82
+ "keepRecording": "Opname behouden",
83
+ "discardVideo": "Video weggooien"
84
+ },
85
+ "fastMovementsDialog": {
86
+ "walkingTooFast": "Je gaat te snel! Doe het wat rustiger aan, het zou ongeveer een minuut moeten duren om de walkaround van het voertuig te voltooien.",
87
+ "phoneShaking": "Je toestel trilt te veel! Probeer de camera stil te houden terwijl je je voertuig opneemt.",
88
+ "confirm": "OK"
89
+ },
90
+ "tooltip": {
91
+ "start": "Zodra je voor het voertuig staat, druk je op de knop om de video-opname te starten.",
92
+ "end": "Zodra de walkaround is voltooid, druk je op de knop om de opname te stoppen."
93
+ }
94
+ },
95
+ "processing": {
96
+ "processing": "De video verwerken...",
97
+ "uploading": "Video uploaden...",
98
+ "success": "Videobewerking voltooid!",
99
+ "error": "Er is een fout opgetreden bij het afronden van de inspectie. Inspectie ID :",
100
+ "done": "Gedaan"
46
101
  }
102
+ },
103
+ "orientationEnforcer": {
104
+ "title": "Draai uw apparaat om.",
105
+ "description": "U moet mogelijk de oriëntatie van uw apparaat ontgrendelen via de instellingen van uw telefoon."
47
106
  }
48
107
  }