@monkvision/inspection-capture-web 5.3.2 → 5.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/lib/VideoCapture/VideoCapture.js +4 -2
- package/lib/VideoCapture/VideoCaptureHUD/VideoCaptureHUD.js +2 -4
- package/lib/VideoCapture/VideoCapturePageLayout/PageLayoutItem/PageLayoutItem.js +1 -1
- package/lib/VideoCapture/VideoCapturePageLayout/PageLayoutItem/PageLayoutItem.styles.js +6 -7
- package/lib/VideoCapture/VideoCapturePageLayout/VideoCapturePageLayout.d.ts +1 -1
- package/lib/VideoCapture/VideoCapturePageLayout/VideoCapturePageLayout.js +5 -5
- package/lib/VideoCapture/VideoCapturePageLayout/VideoCapturePageLayout.styles.js +4 -2
- package/lib/VideoCapture/VideoCapturePageLayout/VideoCapturePageLayout.types.d.ts +9 -0
- package/lib/VideoCapture/VideoCapturePermissions/VideoCapturePermissions.js +1 -1
- package/lib/VideoCapture/{VideoCaptureHUD/VideoCaptureTutorial → VideoCaptureTutorial}/VideoCaptureTutorial.d.ts +6 -1
- package/lib/VideoCapture/VideoCaptureTutorial/VideoCaptureTutorial.js +13 -0
- package/lib/i18n.js +12 -0
- package/lib/translations/da.json +114 -0
- package/lib/translations/es.json +114 -0
- package/lib/translations/pl.json +114 -0
- package/lib/translations/pt.json +114 -0
- package/lib/translations/ro.json +114 -0
- package/lib/translations/sv.json +114 -0
- package/package.json +15 -15
- package/lib/VideoCapture/VideoCaptureHUD/VideoCaptureTutorial/VideoCaptureTutorial.js +0 -18
- /package/lib/VideoCapture/{VideoCaptureHUD/VideoCaptureTutorial → VideoCaptureTutorial}/index.d.ts +0 -0
- /package/lib/VideoCapture/{VideoCaptureHUD/VideoCaptureTutorial → VideoCaptureTutorial}/index.js +0 -0
package/README.md
CHANGED
|
@@ -159,7 +159,7 @@ Props
|
|
|
159
159
|
| lang | <code>string | null</code> | The language to be used by this component. | | `'en'` |
|
|
160
160
|
| minRecordingDuration | `number` | The minimum duration of a recording in milliseconds. | | `15000` |
|
|
161
161
|
| maxRetryCount | `number` | The maximum number of retries for failed image uploads. | | `3` |
|
|
162
|
-
| enableFastWalkingWarning | `boolean` | Boolean indicating if a warning should be shown to the user when they are walking too fast around the vehicle. | | `
|
|
162
|
+
| enableFastWalkingWarning | `boolean` | Boolean indicating if a warning should be shown to the user when they are walking too fast around the vehicle. | | `false` |
|
|
163
163
|
| enablePhoneShakingWarning | `boolean` | Boolean indicating if a warning should be shown to the user when they are shaking their phone too much. | | `true` |
|
|
164
164
|
| fastWalkingWarningCooldown | `number` | The duration (in milliseconds) to wait between fast walking warnings. | | `4000` |
|
|
165
165
|
| phoneShakingWarningCooldown | `number` | The duration (in milliseconds) to wait between phone shaking warnings. | | `4000` |
|
|
@@ -11,14 +11,16 @@ var VideoCapturePermissions_1 = require("./VideoCapturePermissions");
|
|
|
11
11
|
var VideoCaptureHUD_1 = require("./VideoCaptureHUD");
|
|
12
12
|
var hooks_1 = require("../hooks");
|
|
13
13
|
var hooks_2 = require("./hooks");
|
|
14
|
+
var VideoCaptureTutorial_1 = require("./VideoCaptureTutorial");
|
|
14
15
|
var VideoCaptureScreen;
|
|
15
16
|
(function (VideoCaptureScreen) {
|
|
16
17
|
VideoCaptureScreen["PERMISSIONS"] = "permissions";
|
|
18
|
+
VideoCaptureScreen["TUTORIAL"] = "tutorial";
|
|
17
19
|
VideoCaptureScreen["CAPTURE"] = "capture";
|
|
18
20
|
})(VideoCaptureScreen || (VideoCaptureScreen = {}));
|
|
19
21
|
// No ts-doc for this component : the component exported is VideoCaptureHOC
|
|
20
22
|
function VideoCapture(_a) {
|
|
21
|
-
var inspectionId = _a.inspectionId, apiConfig = _a.apiConfig, additionalTasks = _a.additionalTasks, startTasksOnComplete = _a.startTasksOnComplete, enforceOrientation = _a.enforceOrientation, _b = _a.minRecordingDuration, minRecordingDuration = _b === void 0 ? 15000 : _b, _c = _a.maxRetryCount, maxRetryCount = _c === void 0 ? 3 : _c, _d = _a.enableFastWalkingWarning, enableFastWalkingWarning = _d === void 0 ? true : _d, _e = _a.enablePhoneShakingWarning, enablePhoneShakingWarning = _e === void 0 ?
|
|
23
|
+
var inspectionId = _a.inspectionId, apiConfig = _a.apiConfig, additionalTasks = _a.additionalTasks, startTasksOnComplete = _a.startTasksOnComplete, enforceOrientation = _a.enforceOrientation, _b = _a.minRecordingDuration, minRecordingDuration = _b === void 0 ? 15000 : _b, _c = _a.maxRetryCount, maxRetryCount = _c === void 0 ? 3 : _c, _d = _a.enableFastWalkingWarning, enableFastWalkingWarning = _d === void 0 ? true : _d, _e = _a.enablePhoneShakingWarning, enablePhoneShakingWarning = _e === void 0 ? false : _e, _f = _a.fastWalkingWarningCooldown, fastWalkingWarningCooldown = _f === void 0 ? 1000 : _f, _g = _a.phoneShakingWarningCooldown, phoneShakingWarningCooldown = _g === void 0 ? 1000 : _g, onComplete = _a.onComplete, lang = _a.lang;
|
|
22
24
|
(0, common_1.useI18nSync)(lang);
|
|
23
25
|
var _h = (0, react_1.useState)(VideoCaptureScreen.PERMISSIONS), screen = _h[0], setScreen = _h[1];
|
|
24
26
|
var _j = (0, react_1.useState)(false), isRecording = _j[0], setIsRecording = _j[1];
|
|
@@ -65,5 +67,5 @@ function VideoCapture(_a) {
|
|
|
65
67
|
startTasksLoading: startTasksLoading,
|
|
66
68
|
onComplete: handleComplete,
|
|
67
69
|
};
|
|
68
|
-
return ((0, jsx_runtime_1.jsxs)("div", { style: VideoCapture_styles_1.styles['container'], children: [screen === VideoCaptureScreen.PERMISSIONS && ((0, jsx_runtime_1.jsx)(VideoCapturePermissions_1.VideoCapturePermissions, { requestCompassPermission: requestCompassPermission, onSuccess: function () { return setScreen(VideoCaptureScreen.CAPTURE); } })), screen === VideoCaptureScreen.CAPTURE && ((0, jsx_runtime_1.jsx)(camera_web_1.Camera, { HUDComponent: VideoCaptureHUD_1.VideoCaptureHUD, hudProps: hudProps }))] }));
|
|
70
|
+
return ((0, jsx_runtime_1.jsxs)("div", { style: VideoCapture_styles_1.styles['container'], children: [screen === VideoCaptureScreen.PERMISSIONS && ((0, jsx_runtime_1.jsx)(VideoCapturePermissions_1.VideoCapturePermissions, { requestCompassPermission: requestCompassPermission, onSuccess: function () { return setScreen(VideoCaptureScreen.TUTORIAL); } })), screen === VideoCaptureScreen.TUTORIAL && ((0, jsx_runtime_1.jsx)(VideoCaptureTutorial_1.VideoCaptureTutorial, { enforceOrientation: enforceOrientation, onClose: function () { return setScreen(VideoCaptureScreen.CAPTURE); } })), screen === VideoCaptureScreen.CAPTURE && ((0, jsx_runtime_1.jsx)(camera_web_1.Camera, { HUDComponent: VideoCaptureHUD_1.VideoCaptureHUD, hudProps: hudProps }))] }));
|
|
69
71
|
}
|
|
@@ -44,7 +44,6 @@ var react_i18next_1 = require("react-i18next");
|
|
|
44
44
|
var network_1 = require("@monkvision/network");
|
|
45
45
|
var monitoring_1 = require("@monkvision/monitoring");
|
|
46
46
|
var VideoCaptureHUD_styles_1 = require("./VideoCaptureHUD.styles");
|
|
47
|
-
var VideoCaptureTutorial_1 = require("./VideoCaptureTutorial");
|
|
48
47
|
var VideoCaptureRecording_1 = require("./VideoCaptureRecording");
|
|
49
48
|
var hooks_1 = require("../hooks");
|
|
50
49
|
var VideoCaptureProcessing_1 = require("../VideoCaptureProcessing");
|
|
@@ -53,7 +52,6 @@ var SCREENSHOT_INTERVAL_MS = 200;
|
|
|
53
52
|
var FRAME_SELECTION_INTERVAL_MS = 1000;
|
|
54
53
|
var VideoCaptureHUDScreen;
|
|
55
54
|
(function (VideoCaptureHUDScreen) {
|
|
56
|
-
VideoCaptureHUDScreen["TUTORIAL"] = "tutorial";
|
|
57
55
|
VideoCaptureHUDScreen["RECORDING"] = "recording";
|
|
58
56
|
VideoCaptureHUDScreen["PROCESSING"] = "processing";
|
|
59
57
|
})(VideoCaptureHUDScreen || (VideoCaptureHUDScreen = {}));
|
|
@@ -83,7 +81,7 @@ function getTooltipLabel(tooltip) {
|
|
|
83
81
|
function VideoCaptureHUD(_a) {
|
|
84
82
|
var _this = this;
|
|
85
83
|
var handle = _a.handle, cameraPreview = _a.cameraPreview, inspectionId = _a.inspectionId, apiConfig = _a.apiConfig, isRecording = _a.isRecording, setIsRecording = _a.setIsRecording, enforceOrientation = _a.enforceOrientation, alpha = _a.alpha, fastMovementsWarning = _a.fastMovementsWarning, onWarningDismiss = _a.onWarningDismiss, maxRetryCount = _a.maxRetryCount, minRecordingDuration = _a.minRecordingDuration, startTasksLoading = _a.startTasksLoading, onComplete = _a.onComplete;
|
|
86
|
-
var _b = (0, react_1.useState)(VideoCaptureHUDScreen.
|
|
84
|
+
var _b = (0, react_1.useState)(VideoCaptureHUDScreen.RECORDING), screen = _b[0], setScreen = _b[1];
|
|
87
85
|
var t = (0, react_i18next_1.useTranslation)().t;
|
|
88
86
|
var handleError = (0, monitoring_1.useMonitoring)().handleError;
|
|
89
87
|
var _c = (0, hooks_1.useVehicleWalkaround)({ alpha: alpha }), walkaroundPosition = _c.walkaroundPosition, startWalkaround = _c.startWalkaround;
|
|
@@ -142,5 +140,5 @@ function VideoCaptureHUD(_a) {
|
|
|
142
140
|
resumeRecording();
|
|
143
141
|
}
|
|
144
142
|
}, [fastMovementsWarning, pauseRecording, resumeRecording]);
|
|
145
|
-
return ((0, jsx_runtime_1.jsxs)("div", { style: VideoCaptureHUD_styles_1.styles['container'], children: [cameraPreview, (0, jsx_runtime_1.jsxs)("div", { style: VideoCaptureHUD_styles_1.styles['hudContainer'], children: [screen === VideoCaptureHUDScreen.
|
|
143
|
+
return ((0, jsx_runtime_1.jsxs)("div", { style: VideoCaptureHUD_styles_1.styles['container'], children: [cameraPreview, (0, jsx_runtime_1.jsxs)("div", { style: VideoCaptureHUD_styles_1.styles['hudContainer'], children: [screen === VideoCaptureHUDScreen.RECORDING && ((0, jsx_runtime_1.jsx)(VideoCaptureRecording_1.VideoCaptureRecording, { walkaroundPosition: isRecording || isRecordingPaused ? walkaroundPosition : 0, isRecording: isRecording, isRecordingPaused: isRecordingPaused, recordingDurationMs: recordingDurationMs, onClickRecordVideo: onClickRecordVideo, onClickTakePicture: handleTakePictureClick, tooltip: tooltip ? t(getTooltipLabel(tooltip)) : undefined })), screen === VideoCaptureHUDScreen.PROCESSING && ((0, jsx_runtime_1.jsx)(VideoCaptureProcessing_1.VideoCaptureProcessing, { inspectionId: inspectionId, processedFrames: processedFrames, totalProcessingFrames: totalProcessingFrames, uploadedFrames: uploadedFrames, totalUploadingFrames: totalUploadingFrames, loading: startTasksLoading, onComplete: onComplete }))] }), (0, jsx_runtime_1.jsx)(common_ui_web_1.BackdropDialog, { show: isDiscardDialogDisplayed, message: t('video.recording.discardDialog.message'), confirmLabel: t('video.recording.discardDialog.keepRecording'), cancelLabel: t('video.recording.discardDialog.discardVideo'), onConfirm: onDiscardDialogKeepRecording, onCancel: onDiscardDialogDiscardVideo }), (0, jsx_runtime_1.jsx)(common_ui_web_1.BackdropDialog, { show: fastMovementsWarning !== null, message: t(getFastMovementsWarningMessage(fastMovementsWarning)), confirmLabel: t('video.recording.fastMovementsDialog.confirm'), onConfirm: onWarningDismiss, showCancelButton: false, dialogIcon: 'warning-outline', dialogIconPrimaryColor: 'caution' }), (0, jsx_runtime_1.jsx)(components_1.OrientationEnforcer, { orientation: enforceOrientation })] }));
|
|
146
144
|
}
|
|
@@ -21,5 +21,5 @@ var PageLayoutItem_styles_1 = require("./PageLayoutItem.styles");
|
|
|
21
21
|
function PageLayoutItem(_a) {
|
|
22
22
|
var icon = _a.icon, title = _a.title, description = _a.description;
|
|
23
23
|
var _b = (0, PageLayoutItem_styles_1.usePageLayoutItemStyles)(), iconProps = _b.iconProps, titleStyle = _b.titleStyle, descriptionStyle = _b.descriptionStyle;
|
|
24
|
-
return ((0, jsx_runtime_1.jsxs)("div", { style: PageLayoutItem_styles_1.styles['container'], children: [(0, jsx_runtime_1.jsx)(common_ui_web_1.Icon, __assign({ icon: icon }, iconProps)), (0, jsx_runtime_1.
|
|
24
|
+
return ((0, jsx_runtime_1.jsxs)("div", { style: PageLayoutItem_styles_1.styles['container'], children: [(0, jsx_runtime_1.jsx)(common_ui_web_1.Icon, __assign({ icon: icon }, iconProps)), (0, jsx_runtime_1.jsx)("div", { style: titleStyle, children: title }), (0, jsx_runtime_1.jsx)("div", { style: descriptionStyle, children: description })] }));
|
|
25
25
|
}
|
|
@@ -19,13 +19,12 @@ exports.styles = {
|
|
|
19
19
|
container: {
|
|
20
20
|
alignSelf: 'stretch',
|
|
21
21
|
display: 'flex',
|
|
22
|
-
flexDirection: '
|
|
22
|
+
flexDirection: 'column',
|
|
23
23
|
alignItems: 'center',
|
|
24
24
|
margin: 16,
|
|
25
|
+
gap: 8,
|
|
25
26
|
},
|
|
26
|
-
icon: {
|
|
27
|
-
marginRight: 12,
|
|
28
|
-
},
|
|
27
|
+
icon: {},
|
|
29
28
|
labels: {
|
|
30
29
|
flex: 1,
|
|
31
30
|
alignSelf: 'stretch',
|
|
@@ -33,7 +32,7 @@ exports.styles = {
|
|
|
33
32
|
flexDirection: 'column',
|
|
34
33
|
},
|
|
35
34
|
title: {
|
|
36
|
-
fontSize:
|
|
35
|
+
fontSize: 24,
|
|
37
36
|
fontWeight: 500,
|
|
38
37
|
},
|
|
39
38
|
titleSmall: {
|
|
@@ -44,10 +43,10 @@ exports.styles = {
|
|
|
44
43
|
fontWeight: 500,
|
|
45
44
|
},
|
|
46
45
|
description: {
|
|
47
|
-
fontSize:
|
|
48
|
-
paddingTop: 6,
|
|
46
|
+
fontSize: 16,
|
|
49
47
|
opacity: 0.91,
|
|
50
48
|
fontWeight: 300,
|
|
49
|
+
textAlign: 'center',
|
|
51
50
|
},
|
|
52
51
|
descriptionSmall: {
|
|
53
52
|
__media: {
|
|
@@ -4,4 +4,4 @@ import { VideoCapturePageLayoutProps } from './VideoCapturePageLayout.types';
|
|
|
4
4
|
* This component is used to display the same layout for every "default" screen for the VideoCapture process (the
|
|
5
5
|
* premissions screen, the tutorial etc.).
|
|
6
6
|
*/
|
|
7
|
-
export declare function VideoCapturePageLayout({ showBackdrop, showTitle, confirmButtonProps, children, }: PropsWithChildren<VideoCapturePageLayoutProps>): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare function VideoCapturePageLayout({ showLogo, showBackdrop, showTitle, confirmButtonProps, showConfirmButton, children, }: PropsWithChildren<VideoCapturePageLayoutProps>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -33,11 +33,11 @@ var VideoCapturePageLayout_styles_1 = require("./VideoCapturePageLayout.styles")
|
|
|
33
33
|
* premissions screen, the tutorial etc.).
|
|
34
34
|
*/
|
|
35
35
|
function VideoCapturePageLayout(_a) {
|
|
36
|
-
var _b = _a.
|
|
36
|
+
var _b = _a.showLogo, showLogo = _b === void 0 ? true : _b, _c = _a.showBackdrop, showBackdrop = _c === void 0 ? false : _c, _d = _a.showTitle, showTitle = _d === void 0 ? true : _d, confirmButtonProps = _a.confirmButtonProps, _e = _a.showConfirmButton, showConfirmButton = _e === void 0 ? true : _e, children = _a.children;
|
|
37
37
|
var t = (0, react_i18next_1.useTranslation)().t;
|
|
38
|
-
var
|
|
38
|
+
var _f = (0, VideoCapturePageLayout_styles_1.useVideoCapturePageLayoutStyles)({
|
|
39
39
|
showBackdrop: showBackdrop,
|
|
40
|
-
}), logoProps =
|
|
41
|
-
var
|
|
42
|
-
return ((0, jsx_runtime_1.jsxs)("div", { style: containerStyle, children: [(0, jsx_runtime_1.jsx)(common_ui_web_1.DynamicSVG, __assign({ svg: logos_asset_1.monkLogoSVG }, logoProps)), showTitle && (0, jsx_runtime_1.jsx)("div", { style: titleStyle, children: t('video.introduction.title') }), (0, jsx_runtime_1.jsx)("div", { style: VideoCapturePageLayout_styles_1.styles['childrenContainer'], children: children }), (0, jsx_runtime_1.jsx)("div", { style: VideoCapturePageLayout_styles_1.styles['confirmContainer'], children: (0, jsx_runtime_1.jsx)(common_ui_web_1.Button, __assign({}, restConfirmButtonProps)) })] }));
|
|
40
|
+
}), logoProps = _f.logoProps, containerStyle = _f.containerStyle, titleStyle = _f.titleStyle;
|
|
41
|
+
var _g = confirmButtonProps !== null && confirmButtonProps !== void 0 ? confirmButtonProps : {}, buttonLabel = _g.children, restConfirmButtonProps = __rest(_g, ["children"]);
|
|
42
|
+
return ((0, jsx_runtime_1.jsxs)("div", { style: containerStyle, children: [showLogo && (0, jsx_runtime_1.jsx)(common_ui_web_1.DynamicSVG, __assign({ svg: logos_asset_1.monkLogoSVG }, logoProps)), showTitle && (0, jsx_runtime_1.jsx)("div", { style: titleStyle, children: t('video.introduction.title') }), (0, jsx_runtime_1.jsx)("div", { style: VideoCapturePageLayout_styles_1.styles['childrenContainer'], children: children }), showConfirmButton && ((0, jsx_runtime_1.jsx)("div", { style: VideoCapturePageLayout_styles_1.styles['confirmContainer'], children: (0, jsx_runtime_1.jsx)(common_ui_web_1.Button, __assign({}, restConfirmButtonProps, { children: buttonLabel })) }))] }));
|
|
43
43
|
}
|
|
@@ -23,9 +23,10 @@ exports.styles = {
|
|
|
23
23
|
display: 'flex',
|
|
24
24
|
flexDirection: 'column',
|
|
25
25
|
alignItems: 'center',
|
|
26
|
+
justifyContent: 'center',
|
|
26
27
|
},
|
|
27
28
|
containerBackdrop: {
|
|
28
|
-
backgroundColor: 'rgba(0, 0, 0
|
|
29
|
+
backgroundColor: 'rgba(0, 0, 0)',
|
|
29
30
|
},
|
|
30
31
|
logo: {
|
|
31
32
|
margin: '32px 0',
|
|
@@ -58,6 +59,7 @@ exports.styles = {
|
|
|
58
59
|
alignSelf: 'stretch',
|
|
59
60
|
display: 'flex',
|
|
60
61
|
flexDirection: 'column',
|
|
62
|
+
justifyContent: 'center',
|
|
61
63
|
},
|
|
62
64
|
confirmContainer: {
|
|
63
65
|
alignSelf: 'stretch',
|
|
@@ -81,7 +83,7 @@ function useVideoCapturePageLayoutStyles(_a) {
|
|
|
81
83
|
getAttributes: getLogoAttributes,
|
|
82
84
|
style: __assign(__assign({}, exports.styles['logo']), responsive(exports.styles['logoSmall'])),
|
|
83
85
|
},
|
|
84
|
-
containerStyle: __assign(__assign({}, exports.styles['container']), (showBackdrop
|
|
86
|
+
containerStyle: __assign(__assign({}, exports.styles['container']), (showBackdrop && { backgroundColor: palette.background.base })),
|
|
85
87
|
titleStyle: __assign(__assign({}, exports.styles['title']), responsive(exports.styles['titleSmall'])),
|
|
86
88
|
};
|
|
87
89
|
}
|
|
@@ -15,6 +15,15 @@ export interface VideoCapturePageLayoutProps {
|
|
|
15
15
|
* @default true
|
|
16
16
|
*/
|
|
17
17
|
showTitle?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Boolean indicating if the Monk logo should be displayed or not.
|
|
20
|
+
*/
|
|
21
|
+
showLogo?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Boolean indicating if the confirm button should be displayed or not.
|
|
24
|
+
* If true, the confirmButtonProps must be provided.
|
|
25
|
+
*/
|
|
26
|
+
showConfirmButton?: boolean;
|
|
18
27
|
/**
|
|
19
28
|
* Pass-through props passed down to the confirm button.
|
|
20
29
|
*/
|
|
@@ -91,5 +91,5 @@ function VideoCapturePermissions(_a) {
|
|
|
91
91
|
loading: loading,
|
|
92
92
|
children: t('video.permissions.confirm'),
|
|
93
93
|
};
|
|
94
|
-
return ((0, jsx_runtime_1.jsxs)(VideoCapturePageLayout_1.VideoCapturePageLayout, { confirmButtonProps: confirmButtonProps, children: [(0, jsx_runtime_1.jsx)(VideoCapturePageLayout_1.PageLayoutItem, { icon: 'camera-outline', title: t('video.permissions.camera.title'), description: t('video.permissions.camera.description') }), (0, jsx_runtime_1.jsx)(VideoCapturePageLayout_1.PageLayoutItem, { icon: 'compass-outline', title: t('video.permissions.compass.title'), description: t('video.permissions.compass.description') })] }));
|
|
94
|
+
return ((0, jsx_runtime_1.jsxs)(VideoCapturePageLayout_1.VideoCapturePageLayout, { showLogo: false, showTitle: false, confirmButtonProps: confirmButtonProps, children: [(0, jsx_runtime_1.jsx)(VideoCapturePageLayout_1.PageLayoutItem, { icon: 'camera-outline', title: t('video.permissions.camera.title'), description: t('video.permissions.camera.description') }), (0, jsx_runtime_1.jsx)(VideoCapturePageLayout_1.PageLayoutItem, { icon: 'compass-outline', title: t('video.permissions.compass.title'), description: t('video.permissions.compass.description') })] }));
|
|
95
95
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { DeviceOrientation } from '@monkvision/types';
|
|
1
2
|
/**
|
|
2
3
|
* Props accepted by the VideoCaptureTutorial component.
|
|
3
4
|
*/
|
|
@@ -6,8 +7,12 @@ export interface VideoCaptureTutorialProps {
|
|
|
6
7
|
* Callback called when the user closes the tutorial by clicking on the confirm button.
|
|
7
8
|
*/
|
|
8
9
|
onClose?: () => void;
|
|
10
|
+
/**
|
|
11
|
+
* Use this prop to enforce a specific device orientation for the Camera screen.
|
|
12
|
+
*/
|
|
13
|
+
enforceOrientation?: DeviceOrientation;
|
|
9
14
|
}
|
|
10
15
|
/**
|
|
11
16
|
* This component is a tutorial displayed on top of the camera when the user first starts the video capture.
|
|
12
17
|
*/
|
|
13
|
-
export declare function VideoCaptureTutorial({ onClose }: VideoCaptureTutorialProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export declare function VideoCaptureTutorial({ onClose, enforceOrientation }: VideoCaptureTutorialProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VideoCaptureTutorial = VideoCaptureTutorial;
|
|
4
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
var common_ui_web_1 = require("@monkvision/common-ui-web");
|
|
6
|
+
var VideoCapturePageLayout_1 = require("../VideoCapturePageLayout");
|
|
7
|
+
/**
|
|
8
|
+
* This component is a tutorial displayed on top of the camera when the user first starts the video capture.
|
|
9
|
+
*/
|
|
10
|
+
function VideoCaptureTutorial(_a) {
|
|
11
|
+
var onClose = _a.onClose, enforceOrientation = _a.enforceOrientation;
|
|
12
|
+
return ((0, jsx_runtime_1.jsx)(VideoCapturePageLayout_1.VideoCapturePageLayout, { showLogo: false, showTitle: false, showBackdrop: true, showConfirmButton: false, children: (0, jsx_runtime_1.jsx)(common_ui_web_1.VideoTutorial, { orientation: enforceOrientation, onComplete: onClose }) }));
|
|
13
|
+
}
|
package/lib/i18n.js
CHANGED
|
@@ -6,6 +6,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.i18nInspectionCaptureWeb = void 0;
|
|
7
7
|
var common_1 = require("@monkvision/common");
|
|
8
8
|
var en_json_1 = __importDefault(require("./translations/en.json"));
|
|
9
|
+
var ro_json_1 = __importDefault(require("./translations/ro.json"));
|
|
10
|
+
var pl_json_1 = __importDefault(require("./translations/pl.json"));
|
|
11
|
+
var da_json_1 = __importDefault(require("./translations/da.json"));
|
|
12
|
+
var sv_json_1 = __importDefault(require("./translations/sv.json"));
|
|
13
|
+
var es_json_1 = __importDefault(require("./translations/es.json"));
|
|
14
|
+
var pt_json_1 = __importDefault(require("./translations/pt.json"));
|
|
9
15
|
var fr_json_1 = __importDefault(require("./translations/fr.json"));
|
|
10
16
|
var de_json_1 = __importDefault(require("./translations/de.json"));
|
|
11
17
|
var nl_json_1 = __importDefault(require("./translations/nl.json"));
|
|
@@ -21,6 +27,12 @@ var i18nInspectionCaptureWeb = (0, common_1.i18nCreateSDKInstance)({
|
|
|
21
27
|
de: { translation: de_json_1.default },
|
|
22
28
|
nl: { translation: nl_json_1.default },
|
|
23
29
|
it: { translation: it_json_1.default },
|
|
30
|
+
pt: { translation: pt_json_1.default },
|
|
31
|
+
es: { translation: es_json_1.default },
|
|
32
|
+
sv: { translation: sv_json_1.default },
|
|
33
|
+
da: { translation: da_json_1.default },
|
|
34
|
+
pl: { translation: pl_json_1.default },
|
|
35
|
+
ro: { translation: ro_json_1.default },
|
|
24
36
|
},
|
|
25
37
|
});
|
|
26
38
|
exports.i18nInspectionCaptureWeb = i18nInspectionCaptureWeb;
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
{
|
|
2
|
+
"photo": {
|
|
3
|
+
"badConnectionWarning": {
|
|
4
|
+
"message": "Vi oplever problemer med forbindelsen. Upload af billeder kan tage længere tid end normalt.",
|
|
5
|
+
"confirm": "Jeg forstår"
|
|
6
|
+
},
|
|
7
|
+
"hud": {
|
|
8
|
+
"sight": {
|
|
9
|
+
"addDamageBtn": "Skade"
|
|
10
|
+
},
|
|
11
|
+
"addDamage": {
|
|
12
|
+
"cancelBtn": "Annuller",
|
|
13
|
+
"damagedPartCounter": "1 / 2 • Beskadiget del",
|
|
14
|
+
"closeupPictureCounter": "2 / 2 • Nærbillede",
|
|
15
|
+
"infoBtn": "Ret målet mod den beskadigede del, og tryk derefter på udløserknappen.",
|
|
16
|
+
"infoCloseup": "Tag et nærbillede af skaden",
|
|
17
|
+
"selectPart": "Tryk på den beskadigede del. Brug pilene til at dreje køretøjet og se den anden side.",
|
|
18
|
+
"selectParts": "Tryk på de beskadigede dele. Brug pilene til at dreje køretøjet og se den anden side."
|
|
19
|
+
},
|
|
20
|
+
"error": {
|
|
21
|
+
"retry": "Prøv igen",
|
|
22
|
+
"missingTasks": "Den aktuelle inspektion mangler nogle af de opgaver, som det nuværende billedoptagelsesmodul kræver.",
|
|
23
|
+
"invalidToken": "Den anvendte autentificeringstoken er ugyldig.",
|
|
24
|
+
"expiredToken": "Autentiseringstokenet er udløbet.",
|
|
25
|
+
"insufficientAuth": "Du har ikke de nødvendige tilladelser til at udføre denne handling.",
|
|
26
|
+
"inspectionLoading": "Der opstod en fejl under indlæsningen af inspektionen. Prøv igen om få minutter, eller kontakt support med følgende inspektions-id:"
|
|
27
|
+
},
|
|
28
|
+
"closeConfirm": {
|
|
29
|
+
"message": "Er du sikker på, at du vil lukke billedoptagelsesværktøjet?",
|
|
30
|
+
"cancel": "Nej",
|
|
31
|
+
"confirm": "Ja"
|
|
32
|
+
},
|
|
33
|
+
"guidelines": {
|
|
34
|
+
"defaultGuideline": "Billedvisningspunkter kan vises her.",
|
|
35
|
+
"disable": "Vis ikke igen",
|
|
36
|
+
"validate": "Okay"
|
|
37
|
+
},
|
|
38
|
+
"tutorial": {
|
|
39
|
+
"welcome": "Velkommen til din første inspektion!",
|
|
40
|
+
"title": "Sådan bruger du det",
|
|
41
|
+
"guideline": "Gå rundt om køretøjet for at tage alle billeder, og følg vejledningen øverst for at opnå den korrekte vinkel.",
|
|
42
|
+
"sightTutorial": "Brug nederste venstre billede som vejledning til at justere billedrammen.\nTryk på det for at se en detaljeret forklaring.",
|
|
43
|
+
"sight": "Juster køretøjet, så det flugter så meget som muligt med linjerne for at få det bedste billede.\nTryk på udløserknappen for at tage billedet.",
|
|
44
|
+
"next": "Næste"
|
|
45
|
+
},
|
|
46
|
+
"sightTutorial": {
|
|
47
|
+
"tip": "Tip",
|
|
48
|
+
"defaultTutorialWithImage": "Her er et referencebillede.\nPrøv at matche din billedkomposition så præcist som muligt.",
|
|
49
|
+
"defaultTutorialWithoutImage": "Placer dig, som vist på diagrammet til venstre.\nSørg for, at kameraet er i den korrekte højde."
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"gallery": {
|
|
53
|
+
"next": "Næste: Køretøjsbilleder"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"video": {
|
|
57
|
+
"introduction": {
|
|
58
|
+
"title": "Optag en video af køretøjet"
|
|
59
|
+
},
|
|
60
|
+
"permissions": {
|
|
61
|
+
"camera": {
|
|
62
|
+
"title": "Kamera",
|
|
63
|
+
"description": "For at optage video skal du give appen adgang til enhedens kamera."
|
|
64
|
+
},
|
|
65
|
+
"compass": {
|
|
66
|
+
"title": "Kompas",
|
|
67
|
+
"description": "For at registrere en komplet 360° gennemgang af køretøjet, skal du give adgang til enhedens kompas."
|
|
68
|
+
},
|
|
69
|
+
"confirm": "Administrer tilladelser"
|
|
70
|
+
},
|
|
71
|
+
"tutorial": {
|
|
72
|
+
"start": {
|
|
73
|
+
"title": "Start forfra",
|
|
74
|
+
"description": "Hold en afstand på 1 til 1,2 meter, og gå langsomt rundt om køretøjet, og tag billeder fra taget ned til jorden."
|
|
75
|
+
},
|
|
76
|
+
"finish": {
|
|
77
|
+
"title": "Afslut hvor du startede",
|
|
78
|
+
"description": "Du er færdig med at optage om cirka 45 sekunder."
|
|
79
|
+
},
|
|
80
|
+
"photos": {
|
|
81
|
+
"title": "Tag billeder efter behov",
|
|
82
|
+
"description": "Tryk på udløserknappen for at tage billeder til remarketing eller af skader, mens du optager."
|
|
83
|
+
},
|
|
84
|
+
"confirm": "Optag en video"
|
|
85
|
+
},
|
|
86
|
+
"recording": {
|
|
87
|
+
"discardDialog": {
|
|
88
|
+
"message": "Vil du slette videoen? Du har ikke filmet hele køretøjet.",
|
|
89
|
+
"keepRecording": "Fortsæt optagelsen",
|
|
90
|
+
"discardVideo": "Kassér video"
|
|
91
|
+
},
|
|
92
|
+
"fastMovementsDialog": {
|
|
93
|
+
"walkingTooFast": "Du kører for hurtigt! Sænk farten lidt, det burde tage dig omkring et minut at gennemføre inspektionen af køretøjet.",
|
|
94
|
+
"phoneShaking": "Din enhed ryster for meget! Prøv at holde kameraet stille, mens du optager dit køretøj.",
|
|
95
|
+
"confirm": "OK"
|
|
96
|
+
},
|
|
97
|
+
"tooltip": {
|
|
98
|
+
"start": "Når du står foran køretøjet, skal du trykke på knappen for at starte videooptagelsen.",
|
|
99
|
+
"end": "Når gennemgangen af køretøjet er fuldført, skal du trykke på knappen for at stoppe optagelsen."
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"processing": {
|
|
103
|
+
"processing": "Videoen behandles",
|
|
104
|
+
"uploading": "Videoen uploades",
|
|
105
|
+
"success": "Video behandlingen er fuldført!",
|
|
106
|
+
"error": "Der opstod en fejl under afslutningen af inspektionen. Inspektions-ID:",
|
|
107
|
+
"done": "Færdig"
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
"orientationEnforcer": {
|
|
111
|
+
"title": "Roter venligst din enhed.",
|
|
112
|
+
"description": "Du skal muligvis låse op for din enheds rotationsindstilling i dine telefonindstillinger."
|
|
113
|
+
}
|
|
114
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
{
|
|
2
|
+
"photo": {
|
|
3
|
+
"badConnectionWarning": {
|
|
4
|
+
"message": "Estamos experimentando problemas de conexión. La carga de imágenes podría tardar más de lo habitual.",
|
|
5
|
+
"confirm": "Entiendo"
|
|
6
|
+
},
|
|
7
|
+
"hud": {
|
|
8
|
+
"sight": {
|
|
9
|
+
"addDamageBtn": "Daños"
|
|
10
|
+
},
|
|
11
|
+
"addDamage": {
|
|
12
|
+
"cancelBtn": "Cancelar",
|
|
13
|
+
"damagedPartCounter": "1 / 2 • Pieza dañada",
|
|
14
|
+
"closeupPictureCounter": "2 de 2 • Foto en primer plano",
|
|
15
|
+
"infoBtn": "Apunte al área dañada y toque el botón del obturador.",
|
|
16
|
+
"infoCloseup": "Tome una foto en primer plano del daño.",
|
|
17
|
+
"selectPart": "Toque la parte dañada. Use las flechas para girar el vehículo y ver el otro lado.",
|
|
18
|
+
"selectParts": "Toque las partes dañadas. Use las flechas para girar el vehículo y ver el otro lado."
|
|
19
|
+
},
|
|
20
|
+
"error": {
|
|
21
|
+
"retry": "Reintentar",
|
|
22
|
+
"missingTasks": "Faltan algunas tareas requeridas por el módulo de captura actual en la inspección proporcionada.",
|
|
23
|
+
"invalidToken": "El token de autenticación utilizado no es válido.",
|
|
24
|
+
"expiredToken": "El token de autenticación utilizado ha caducado.",
|
|
25
|
+
"insufficientAuth": "Usted no tiene los permisos necesarios para realizar esta acción.",
|
|
26
|
+
"inspectionLoading": "Se produjo un error al cargar la inspección. Inténtelo de nuevo en unos minutos o póngase en contacto con el servicio de asistencia e indique el siguiente ID de inspección:"
|
|
27
|
+
},
|
|
28
|
+
"closeConfirm": {
|
|
29
|
+
"message": "¿Está seguro de que desea cerrar la herramienta de captura?",
|
|
30
|
+
"cancel": "No",
|
|
31
|
+
"confirm": "Sí"
|
|
32
|
+
},
|
|
33
|
+
"guidelines": {
|
|
34
|
+
"defaultGuideline": "Aquí se pueden mostrar las indicaciones del punto de vista de la imagen.",
|
|
35
|
+
"disable": "No mostrar esto de nuevo",
|
|
36
|
+
"validate": "De acuerdo"
|
|
37
|
+
},
|
|
38
|
+
"tutorial": {
|
|
39
|
+
"welcome": "¡Bienvenido a su primera inspección!",
|
|
40
|
+
"title": "Cómo usarlo",
|
|
41
|
+
"guideline": "Recorra el vehículo para tomar todas las fotos y siga las instrucciones que aparecen en la parte superior para colocar la cámara en el ángulo correcto.",
|
|
42
|
+
"sightTutorial": "Utilice la imagen de la esquina inferior izquierda como guía para el encuadre.\nToque la imagen para ver una explicación detallada.",
|
|
43
|
+
"sight": "Alinee el vehículo con las líneas lo más posible para obtener la mejor imagen.\nPresione el botón del obturador para tomar la foto.",
|
|
44
|
+
"next": "Siguiente"
|
|
45
|
+
},
|
|
46
|
+
"sightTutorial": {
|
|
47
|
+
"tip": "Consejo",
|
|
48
|
+
"defaultTutorialWithImage": "Aquí hay una imagen de referencia.\nIntente que el encuadre de su foto se parezca lo más posible.",
|
|
49
|
+
"defaultTutorialWithoutImage": "Colóquese como se muestra en el diagrama de la izquierda.\nAsegúrese de que la cámara esté a la altura correcta."
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"gallery": {
|
|
53
|
+
"next": "Siguiente: fotos del vehículo"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"video": {
|
|
57
|
+
"introduction": {
|
|
58
|
+
"title": "Grabe un video del vehículo"
|
|
59
|
+
},
|
|
60
|
+
"permissions": {
|
|
61
|
+
"camera": {
|
|
62
|
+
"title": "Cámara",
|
|
63
|
+
"description": "Para grabar video, debe permitir el acceso a la cámara del dispositivo."
|
|
64
|
+
},
|
|
65
|
+
"compass": {
|
|
66
|
+
"title": "Brújula",
|
|
67
|
+
"description": "Para detectar una rotación completa de 360° del vehículo, debe permitir el acceso al sensor de dirección del dispositivo."
|
|
68
|
+
},
|
|
69
|
+
"confirm": "Gestionar permisos"
|
|
70
|
+
},
|
|
71
|
+
"tutorial": {
|
|
72
|
+
"start": {
|
|
73
|
+
"title": "Comience por el frente",
|
|
74
|
+
"description": "Mantenga una distancia de 1 a 1,2 metros y camine lentamente alrededor del vehículo, capturando imágenes desde la parte superior hasta el suelo."
|
|
75
|
+
},
|
|
76
|
+
"finish": {
|
|
77
|
+
"title": "Finalice donde comenzó",
|
|
78
|
+
"description": "Debería terminar de grabar en unos 45 segundos."
|
|
79
|
+
},
|
|
80
|
+
"photos": {
|
|
81
|
+
"title": "Tome fotos según sea necesario",
|
|
82
|
+
"description": "Presione el botón del obturador para capturar fotos para fines de remarketing o para documentar daños mientras graba."
|
|
83
|
+
},
|
|
84
|
+
"confirm": "Grabar un video"
|
|
85
|
+
},
|
|
86
|
+
"recording": {
|
|
87
|
+
"discardDialog": {
|
|
88
|
+
"message": "¿Desea descartar el video? No ha recorrido completamente el perímetro del vehículo.",
|
|
89
|
+
"keepRecording": "Seguir grabando",
|
|
90
|
+
"discardVideo": "Descartar video"
|
|
91
|
+
},
|
|
92
|
+
"fastMovementsDialog": {
|
|
93
|
+
"walkingTooFast": "¡Está moviendo el dispositivo demasiado rápido! Reduzca la velocidad un poco; el recorrido completo del vehículo debería tomar aproximadamente un minuto.",
|
|
94
|
+
"phoneShaking": "¡Su dispositivo se está moviendo demasiado! Intente mantener la cámara estable mientras graba su vehículo.",
|
|
95
|
+
"confirm": "Aceptar"
|
|
96
|
+
},
|
|
97
|
+
"tooltip": {
|
|
98
|
+
"start": "Una vez frente al vehículo, presione el botón para comenzar a grabar el video.",
|
|
99
|
+
"end": "Una vez que se complete el recorrido alrededor del vehículo, presione el botón para detener la grabación."
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"processing": {
|
|
103
|
+
"processing": "Procesando el video",
|
|
104
|
+
"uploading": "Cargando el video",
|
|
105
|
+
"success": "¡El procesamiento del video se completó!",
|
|
106
|
+
"error": "Se produjo un error al finalizar la inspección. ID de la inspección:",
|
|
107
|
+
"done": "Hecho"
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
"orientationEnforcer": {
|
|
111
|
+
"title": "Gire su dispositivo.",
|
|
112
|
+
"description": "Es posible que deba desbloquear la orientación de su dispositivo a través de la configuración de su teléfono."
|
|
113
|
+
}
|
|
114
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
{
|
|
2
|
+
"photo": {
|
|
3
|
+
"badConnectionWarning": {
|
|
4
|
+
"message": "Występują problemy z połączeniem. Przesyłanie zdjęć może trwać dłużej niż zwykle.",
|
|
5
|
+
"confirm": "Rozumiem"
|
|
6
|
+
},
|
|
7
|
+
"hud": {
|
|
8
|
+
"sight": {
|
|
9
|
+
"addDamageBtn": "Uszkodzenie"
|
|
10
|
+
},
|
|
11
|
+
"addDamage": {
|
|
12
|
+
"cancelBtn": "Anuluj",
|
|
13
|
+
"damagedPartCounter": "1 / 2 • Uszkodzony element",
|
|
14
|
+
"closeupPictureCounter": "2 z 2 • Zdjęcie w zbliżeniu",
|
|
15
|
+
"infoBtn": "Wyceluj znacznik w uszkodzony obszar, a następnie naciśnij przycisk migawki.",
|
|
16
|
+
"infoCloseup": "Zrób zbliżenie uszkodzenia.",
|
|
17
|
+
"selectPart": "Dotknij uszkodzonego miejsca. Użyj strzałek, aby obrócić pojazd i zobaczyć drugą stronę.",
|
|
18
|
+
"selectParts": "Dotknij uszkodzonych części. Użyj strzałek, aby obracać pojazd i zobaczyć drugą stronę."
|
|
19
|
+
},
|
|
20
|
+
"error": {
|
|
21
|
+
"retry": "Ponów próbę",
|
|
22
|
+
"missingTasks": "W przeprowadzonym przeglądzie brakuje niektórych zadań wymaganych przez aktualny moduł rejestracji.",
|
|
23
|
+
"invalidToken": "Użyty token uwierzytelniający jest nieprawidłowy.",
|
|
24
|
+
"expiredToken": "Użyty token uwierzytelniający wygasł.",
|
|
25
|
+
"insufficientAuth": "Nie masz wymaganych uprawnień, aby wykonać tę czynność.",
|
|
26
|
+
"inspectionLoading": "Wystąpił błąd podczas ładowania danych kontroli. Proszę spróbować ponownie za kilka minut lub skontaktować się z pomocą techniczną, podając identyfikator kontroli: ${inspectionId}."
|
|
27
|
+
},
|
|
28
|
+
"closeConfirm": {
|
|
29
|
+
"message": "Czy na pewno chcesz zamknąć narzędzie do robienia zdjęć?",
|
|
30
|
+
"cancel": "Nie",
|
|
31
|
+
"confirm": "Tak"
|
|
32
|
+
},
|
|
33
|
+
"guidelines": {
|
|
34
|
+
"defaultGuideline": "W tym miejscu można wyświetlić wskazówki dotyczące punktu widzenia zdjęcia.",
|
|
35
|
+
"disable": "Nie wyświetlaj tego ponownie",
|
|
36
|
+
"validate": "OK"
|
|
37
|
+
},
|
|
38
|
+
"tutorial": {
|
|
39
|
+
"welcome": "Witamy przy pierwszym przeglądzie!",
|
|
40
|
+
"title": "Jak to używać",
|
|
41
|
+
"guideline": "Obejrzyj pojazd, wykonaj wszystkie zdjęcia i postępuj zgodnie z wytycznymi u góry, aby ustawić odpowiedni kąt.",
|
|
42
|
+
"sightTutorial": "Użyj zdjęcia w lewym dolnym rogu, aby uzyskać wskazówki dotyczące kadrowania. Dotknij go, aby zobaczyć szczegółowe wyjaśnienie.",
|
|
43
|
+
"sight": "Ustaw pojazd tak, aby jak najbardziej pokrywał się z liniami, aby uzyskać najlepsze zdjęcie.\nNaciśnij przycisk migawki, aby zrobić zdjęcie.",
|
|
44
|
+
"next": "Dalej"
|
|
45
|
+
},
|
|
46
|
+
"sightTutorial": {
|
|
47
|
+
"tip": "Wskazówka",
|
|
48
|
+
"defaultTutorialWithImage": "Oto obraz referencyjny.\nSpróbuj jak najdokładniej dopasować kadr.",
|
|
49
|
+
"defaultTutorialWithoutImage": "Ustaw się zgodnie z ilustracją po lewej stronie, upewniając się, że kamera znajduje się na odpowiedniej wysokości."
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"gallery": {
|
|
53
|
+
"next": "Dalej: zdjęcia pojazdu"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"video": {
|
|
57
|
+
"introduction": {
|
|
58
|
+
"title": "Nagraj film przedstawiający cały pojazd."
|
|
59
|
+
},
|
|
60
|
+
"permissions": {
|
|
61
|
+
"camera": {
|
|
62
|
+
"title": "Kamera",
|
|
63
|
+
"description": "Aby nagrać wideo, należy zezwolić na dostęp do kamery urządzenia."
|
|
64
|
+
},
|
|
65
|
+
"compass": {
|
|
66
|
+
"title": "Kompas",
|
|
67
|
+
"description": "Aby wykryć pełny obrót pojazdu o 360°, należy zezwolić na dostęp do kompasu urządzenia."
|
|
68
|
+
},
|
|
69
|
+
"confirm": "Zarządzaj uprawnieniami"
|
|
70
|
+
},
|
|
71
|
+
"tutorial": {
|
|
72
|
+
"start": {
|
|
73
|
+
"title": "Zacznij od przodu",
|
|
74
|
+
"description": "Zachowaj odległość od 90 cm do 1,2 m i powoli przejdź wokół pojazdu, robiąc zdjęcia od linii dachu do podłoża."
|
|
75
|
+
},
|
|
76
|
+
"finish": {
|
|
77
|
+
"title": "Zakończ w miejscu, w którym zacząłeś.",
|
|
78
|
+
"description": "Nagrywanie powinno zakończyć się za około 45 sekund."
|
|
79
|
+
},
|
|
80
|
+
"photos": {
|
|
81
|
+
"title": "Rób zdjęcia w razie potrzeby.",
|
|
82
|
+
"description": "Naciśnij przycisk migawki, aby zrobić zdjęcia do celów marketingowych lub zdjęcia uszkodzeń podczas nagrywania."
|
|
83
|
+
},
|
|
84
|
+
"confirm": "Nagraj wideo"
|
|
85
|
+
},
|
|
86
|
+
"recording": {
|
|
87
|
+
"discardDialog": {
|
|
88
|
+
"message": "Czy chcesz usunąć nagranie wideo? Nie okrążyłeś/okrążyłaś w pełni pojazdu.",
|
|
89
|
+
"keepRecording": "Kontynuuj nagrywanie",
|
|
90
|
+
"discardVideo": "Usuń wideo"
|
|
91
|
+
},
|
|
92
|
+
"fastMovementsDialog": {
|
|
93
|
+
"walkingTooFast": "Poruszasz się zbyt szybko! Zwolnij, cały proces powinien zająć około jednej minuty.",
|
|
94
|
+
"phoneShaking": "Twoje urządzenie zbyt mocno się trzęsie! Spróbuj ustabilizować kamerę podczas nagrywania obrazu pojazdu.",
|
|
95
|
+
"confirm": "OK"
|
|
96
|
+
},
|
|
97
|
+
"tooltip": {
|
|
98
|
+
"start": "Po ustawieniu się przed pojazdem, naciśnij przycisk, aby rozpocząć nagrywanie wideo.",
|
|
99
|
+
"end": "Po zakończeniu obchodu pojazdu naciśnij przycisk, aby zatrzymać nagrywanie."
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"processing": {
|
|
103
|
+
"processing": "Wideo jest przetwarzane",
|
|
104
|
+
"uploading": "Wgrywanie wideo",
|
|
105
|
+
"success": "Przetwarzanie wideo zakończone!",
|
|
106
|
+
"error": "Wystąpił błąd podczas finalizowania inspekcji. ID inspekcji:",
|
|
107
|
+
"done": "Gotowe"
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
"orientationEnforcer": {
|
|
111
|
+
"title": "Proszę obrócić urządzenie.",
|
|
112
|
+
"description": "Może być konieczne odblokowanie automatycznego obracania ekranu w ustawieniach telefonu."
|
|
113
|
+
}
|
|
114
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
{
|
|
2
|
+
"photo": {
|
|
3
|
+
"badConnectionWarning": {
|
|
4
|
+
"message": "Estamos com problemas de conexão. O envio de imagens pode demorar mais do que o normal.",
|
|
5
|
+
"confirm": "Entendi"
|
|
6
|
+
},
|
|
7
|
+
"hud": {
|
|
8
|
+
"sight": {
|
|
9
|
+
"addDamageBtn": "Danos"
|
|
10
|
+
},
|
|
11
|
+
"addDamage": {
|
|
12
|
+
"cancelBtn": "Cancelar",
|
|
13
|
+
"damagedPartCounter": "1 / 2 • Peça danificada",
|
|
14
|
+
"closeupPictureCounter": "2 de 2 • Foto em plano aproximado",
|
|
15
|
+
"infoBtn": "Aponte a mira para a peça danificada e toque no botão do obturador.",
|
|
16
|
+
"infoCloseup": "Tire uma foto em plano aproximado dos danos",
|
|
17
|
+
"selectPart": "Toque na parte danificada. Use as setas para girar o veículo e ver o outro lado.",
|
|
18
|
+
"selectParts": "Toque nas partes danificadas. Use as setas para girar o veículo e ver o outro lado."
|
|
19
|
+
},
|
|
20
|
+
"error": {
|
|
21
|
+
"retry": "Tentar novamente",
|
|
22
|
+
"missingTasks": "A inspeção fornecida está incompleta e faltam algumas tarefas exigidas pelo módulo de captura atual.",
|
|
23
|
+
"invalidToken": "O token de autenticação usado é inválido.",
|
|
24
|
+
"expiredToken": "O token de autenticação utilizado está expirado.",
|
|
25
|
+
"insufficientAuth": "Você não tem as permissões necessárias para realizar esta ação.",
|
|
26
|
+
"inspectionLoading": "Ocorreu um erro durante o carregamento da inspeção. Tente novamente em alguns minutos ou entre em contato com o suporte, informando o seguinte ID da inspeção:"
|
|
27
|
+
},
|
|
28
|
+
"closeConfirm": {
|
|
29
|
+
"message": "Você tem certeza de que deseja fechar a ferramenta de captura?",
|
|
30
|
+
"cancel": "Não",
|
|
31
|
+
"confirm": "Sim"
|
|
32
|
+
},
|
|
33
|
+
"guidelines": {
|
|
34
|
+
"defaultGuideline": "As indicações do ponto de vista da imagem podem ser exibidas aqui.",
|
|
35
|
+
"disable": "Não mostrar novamente",
|
|
36
|
+
"validate": "OK"
|
|
37
|
+
},
|
|
38
|
+
"tutorial": {
|
|
39
|
+
"welcome": "Bem-vindo à sua primeira inspeção!",
|
|
40
|
+
"title": "Como usar",
|
|
41
|
+
"guideline": "Circule o veículo para tirar todas as fotos e siga as instruções na parte superior para posicionar a câmera no ângulo correto.",
|
|
42
|
+
"sightTutorial": "Use a imagem no canto inferior esquerdo para ajudar no enquadramento.\nToque nela para ver uma explicação detalhada.",
|
|
43
|
+
"sight": "Alinhe o veículo com as linhas o máximo possível para obter a melhor foto.\nPressione o botão do obturador para tirar a foto.",
|
|
44
|
+
"next": "Próximo"
|
|
45
|
+
},
|
|
46
|
+
"sightTutorial": {
|
|
47
|
+
"tip": "Dica",
|
|
48
|
+
"defaultTutorialWithImage": "Aqui está uma imagem de referência.\nTente corresponder à sua composição o mais próximo possível.",
|
|
49
|
+
"defaultTutorialWithoutImage": "Posicione-se conforme mostrado no diagrama da esquerda,\ncertificando-se de que a câmera esteja na altura correta."
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"gallery": {
|
|
53
|
+
"next": "Próximo: fotos do veículo"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"video": {
|
|
57
|
+
"introduction": {
|
|
58
|
+
"title": "Grave um vídeo mostrando o veículo por completo"
|
|
59
|
+
},
|
|
60
|
+
"permissions": {
|
|
61
|
+
"camera": {
|
|
62
|
+
"title": "Câmera",
|
|
63
|
+
"description": "Para gravar vídeo, você precisa permitir o acesso à câmera do dispositivo."
|
|
64
|
+
},
|
|
65
|
+
"compass": {
|
|
66
|
+
"title": "Bússola",
|
|
67
|
+
"description": "Para detectar uma rotação completa de 360° do veículo, você precisa permitir o acesso à bússola do dispositivo."
|
|
68
|
+
},
|
|
69
|
+
"confirm": "Gerenciar permissões"
|
|
70
|
+
},
|
|
71
|
+
"tutorial": {
|
|
72
|
+
"start": {
|
|
73
|
+
"title": "Comece pela frente",
|
|
74
|
+
"description": "Mantenha uma distância de 1 a 1,2 metros e caminhe lentamente ao redor do veículo, capturando imagens desde a parte superior até o chão."
|
|
75
|
+
},
|
|
76
|
+
"finish": {
|
|
77
|
+
"title": "Finalize onde começou",
|
|
78
|
+
"description": "Você deverá concluir a gravação em aproximadamente 45 segundos."
|
|
79
|
+
},
|
|
80
|
+
"photos": {
|
|
81
|
+
"title": "Tire as fotos necessárias",
|
|
82
|
+
"description": "Pressione o botão do obturador para capturar fotos para fins de remarketing ou para registrar danos durante a gravação."
|
|
83
|
+
},
|
|
84
|
+
"confirm": "Gravar vídeo"
|
|
85
|
+
},
|
|
86
|
+
"recording": {
|
|
87
|
+
"discardDialog": {
|
|
88
|
+
"message": "Você deseja descartar o vídeo? Você ainda não inspecionou todos os lados do veículo.",
|
|
89
|
+
"keepRecording": "Continue Gravando",
|
|
90
|
+
"discardVideo": "Descartar vídeo"
|
|
91
|
+
},
|
|
92
|
+
"fastMovementsDialog": {
|
|
93
|
+
"walkingTooFast": "Você está se movendo muito rápido! Diminua a velocidade um pouco; a inspeção completa do veículo deve levar cerca de um minuto.",
|
|
94
|
+
"phoneShaking": "Seu dispositivo está tremendo muito! Tente manter a câmera estável durante a gravação do veículo.",
|
|
95
|
+
"confirm": "OK"
|
|
96
|
+
},
|
|
97
|
+
"tooltip": {
|
|
98
|
+
"start": "Em frente ao veículo, pressione o botão para iniciar a gravação do vídeo.",
|
|
99
|
+
"end": "Após concluir a inspeção visual do veículo, pressione o botão para interromper a gravação."
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"processing": {
|
|
103
|
+
"processing": "Processando o vídeo",
|
|
104
|
+
"uploading": "Fazendo upload do vídeo",
|
|
105
|
+
"success": "Processamento de vídeo concluído!",
|
|
106
|
+
"error": "Ocorreu um erro ao finalizar a inspeção. ID da inspeção:",
|
|
107
|
+
"done": "Concluído"
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
"orientationEnforcer": {
|
|
111
|
+
"title": "Gire o dispositivo.",
|
|
112
|
+
"description": "Você pode precisar desbloquear a orientação da tela nas configurações do seu telefone."
|
|
113
|
+
}
|
|
114
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
{
|
|
2
|
+
"photo": {
|
|
3
|
+
"badConnectionWarning": {
|
|
4
|
+
"message": "În prezent, avem probleme cu conexiunea. Încărcarea imaginilor poate dura mai mult decât de obicei.",
|
|
5
|
+
"confirm": "Am înțeles"
|
|
6
|
+
},
|
|
7
|
+
"hud": {
|
|
8
|
+
"sight": {
|
|
9
|
+
"addDamageBtn": "Deteriorare"
|
|
10
|
+
},
|
|
11
|
+
"addDamage": {
|
|
12
|
+
"cancelBtn": "Anulează",
|
|
13
|
+
"damagedPartCounter": "1 / 2 • Componentă deteriorată",
|
|
14
|
+
"closeupPictureCounter": "2 / 2 • Imagine detaliată",
|
|
15
|
+
"infoBtn": "Țintiți cu indicatorul spre zona deteriorată, apoi atingeți butonul de declanșare.",
|
|
16
|
+
"infoCloseup": "Faceți o fotografie detaliată a zonei afectate.",
|
|
17
|
+
"selectPart": "Atingeți partea deteriorată. Folosiți săgețile pentru a roti vehiculul și a vedea cealaltă parte.",
|
|
18
|
+
"selectParts": "Atingeți zonele deteriorate. Folosiți săgețile pentru a roti vehiculul și a vedea cealaltă parte."
|
|
19
|
+
},
|
|
20
|
+
"error": {
|
|
21
|
+
"retry": "Reîncearcă",
|
|
22
|
+
"missingTasks": "Inspecția furnizată nu conține toate sarcinile necesare pentru modulul de captură curent.",
|
|
23
|
+
"invalidToken": "Tokenul de autentificare utilizat este invalid.",
|
|
24
|
+
"expiredToken": "Tokenul de autentificare utilizat a expirat.",
|
|
25
|
+
"insufficientAuth": "Nu aveți autorizațiile necesare pentru a efectua această acțiune.",
|
|
26
|
+
"inspectionLoading": "A apărut o eroare în timpul încărcării inspecției. Vă rugăm să încercați din nou în câteva minute sau să contactați serviciul de asistență, indicând următorul ID al inspecției:"
|
|
27
|
+
},
|
|
28
|
+
"closeConfirm": {
|
|
29
|
+
"message": "Sigur doriți să închideți instrumentul de captură?",
|
|
30
|
+
"cancel": "Nu",
|
|
31
|
+
"confirm": "Da"
|
|
32
|
+
},
|
|
33
|
+
"guidelines": {
|
|
34
|
+
"defaultGuideline": "Indicațiile privind punctul de vedere al imaginii pot fi afișate aici.",
|
|
35
|
+
"disable": "Nu afișa din nou",
|
|
36
|
+
"validate": "Bine."
|
|
37
|
+
},
|
|
38
|
+
"tutorial": {
|
|
39
|
+
"welcome": "Bun venit la prima inspecție!",
|
|
40
|
+
"title": "Cum se folosește",
|
|
41
|
+
"guideline": "Înconjurați vehiculul pentru a face toate fotografiile și respectați instrucțiunile de mai sus pentru a obține unghiul corect.",
|
|
42
|
+
"sightTutorial": "Utilizați imaginea din colțul din stânga jos pentru a vă ajuta la încadrare.\nAtingeți-o pentru a vedea o explicație detaliată.",
|
|
43
|
+
"sight": "Aliniați vehiculul cu liniile cât mai bine pentru a obține cea mai bună imagine.\nApăsați butonul declanșator pentru a face fotografia.",
|
|
44
|
+
"next": "Următorul"
|
|
45
|
+
},
|
|
46
|
+
"sightTutorial": {
|
|
47
|
+
"tip": "Sfat",
|
|
48
|
+
"defaultTutorialWithImage": "Iată o imagine de referință.\nÎncercați să potriviți cât mai bine încadrarea.",
|
|
49
|
+
"defaultTutorialWithoutImage": "Poziționați-vă conform schemei din stânga.\nAsigurați-vă că înălțimea camerei este corectă."
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"gallery": {
|
|
53
|
+
"next": "Următorul: fotografii cu vehiculul"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"video": {
|
|
57
|
+
"introduction": {
|
|
58
|
+
"title": "Înregistrați un videoclip cu prezentarea generală a vehiculului"
|
|
59
|
+
},
|
|
60
|
+
"permissions": {
|
|
61
|
+
"camera": {
|
|
62
|
+
"title": "Cameră",
|
|
63
|
+
"description": "Pentru a înregistra un videoclip, trebuie să permiteți accesul la camera dispozitivului."
|
|
64
|
+
},
|
|
65
|
+
"compass": {
|
|
66
|
+
"title": "Busolă",
|
|
67
|
+
"description": "Pentru a detecta o rotație completă de 360° a vehiculului, trebuie să permiteți accesul la busola dispozitivului."
|
|
68
|
+
},
|
|
69
|
+
"confirm": "Gestionați permisiunile"
|
|
70
|
+
},
|
|
71
|
+
"tutorial": {
|
|
72
|
+
"start": {
|
|
73
|
+
"title": "Începeți de la partea din față.",
|
|
74
|
+
"description": "Mențineți o distanță de 90 cm - 1,2 m și deplasați-vă încet în jurul vehiculului, realizând fotografii de la linia superioară a caroseriei până la sol."
|
|
75
|
+
},
|
|
76
|
+
"finish": {
|
|
77
|
+
"title": "Finalizați acolo unde ați început.",
|
|
78
|
+
"description": "În aproximativ 45 de secunde, înregistrarea va fi finalizată."
|
|
79
|
+
},
|
|
80
|
+
"photos": {
|
|
81
|
+
"title": "Faceți fotografii după cum este necesar.",
|
|
82
|
+
"description": "Apăsați butonul declanșator pentru a captura fotografii pentru remarketing sau pentru a documenta daune în timpul înregistrării."
|
|
83
|
+
},
|
|
84
|
+
"confirm": "Înregistrează un videoclip"
|
|
85
|
+
},
|
|
86
|
+
"recording": {
|
|
87
|
+
"discardDialog": {
|
|
88
|
+
"message": "Doriți să ștergeți videoclipul? Nu ați făcut ocol complet al vehiculului.",
|
|
89
|
+
"keepRecording": "Continuă înregistrarea",
|
|
90
|
+
"discardVideo": "Ștergeți videoclipul"
|
|
91
|
+
},
|
|
92
|
+
"fastMovementsDialog": {
|
|
93
|
+
"walkingTooFast": "Vă deplasați prea repede! Reduceți puțin viteza, ar trebui să dureze aproximativ un minut pentru a finaliza inspecția vizuală a vehiculului.",
|
|
94
|
+
"phoneShaking": "Dispozitivul dumneavoastră vibrează prea mult! Încercați să mențineți camera stabilă în timpul înregistrării vehiculului.",
|
|
95
|
+
"confirm": "OK"
|
|
96
|
+
},
|
|
97
|
+
"tooltip": {
|
|
98
|
+
"start": "În fața vehiculului, apăsați butonul pentru a începe înregistrarea video.",
|
|
99
|
+
"end": "Odată ce inspecția vizuală a vehiculului este finalizată, apăsați butonul pentru a opri înregistrarea."
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"processing": {
|
|
103
|
+
"processing": "Se procesează videoclipul",
|
|
104
|
+
"uploading": "Se încarcă videoclipul",
|
|
105
|
+
"success": "Procesarea video s-a finalizat!",
|
|
106
|
+
"error": "A apărut o eroare la finalizarea inspecției. ID inspecție:",
|
|
107
|
+
"done": "Finalizat"
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
"orientationEnforcer": {
|
|
111
|
+
"title": "Vă rugăm să rotiți dispozitivul.",
|
|
112
|
+
"description": "Este posibil să fie necesar să deblocați orientarea dispozitivului prin setările telefonului."
|
|
113
|
+
}
|
|
114
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
{
|
|
2
|
+
"photo": {
|
|
3
|
+
"badConnectionWarning": {
|
|
4
|
+
"message": "Vi upplever problem med anslutningen. Det kan ta längre tid att ladda upp bilder än vanligt.",
|
|
5
|
+
"confirm": "Jag förstår"
|
|
6
|
+
},
|
|
7
|
+
"hud": {
|
|
8
|
+
"sight": {
|
|
9
|
+
"addDamageBtn": "Skada"
|
|
10
|
+
},
|
|
11
|
+
"addDamage": {
|
|
12
|
+
"cancelBtn": "Avbryt",
|
|
13
|
+
"damagedPartCounter": "1 / 2 • Skadad del",
|
|
14
|
+
"closeupPictureCounter": "2 av 2 • Närbild",
|
|
15
|
+
"infoBtn": "Rikta in målet mot den skadade delen och tryck sedan på avtryckarknappen.",
|
|
16
|
+
"infoCloseup": "Ta ett närbildsfoto av skadan",
|
|
17
|
+
"selectPart": "Tryck på den skadade delen. Använd pilarna för att rotera fordonet och se andra sidan.",
|
|
18
|
+
"selectParts": "Tryck på de skadade delarna. Använd pilarna för att rotera fordonet och se andra sidan."
|
|
19
|
+
},
|
|
20
|
+
"error": {
|
|
21
|
+
"retry": "Försök igen",
|
|
22
|
+
"missingTasks": "Den aktuella inspektionen saknar vissa av de uppgifter som krävs av det nuvarande upptagningsmodulen.",
|
|
23
|
+
"invalidToken": "Autentiseringstoken är ogiltig.",
|
|
24
|
+
"expiredToken": "Autentiseringstoken har gått ut.",
|
|
25
|
+
"insufficientAuth": "Du har inte de behörigheter som krävs för att utföra den här åtgärden.",
|
|
26
|
+
"inspectionLoading": "Ett fel uppstod under inläsningen av inspektionen. Försök igen om några minuter eller kontakta supporten och ange följande inspektions-ID:"
|
|
27
|
+
},
|
|
28
|
+
"closeConfirm": {
|
|
29
|
+
"message": "Är du säker på att du vill stänga avbildningsverktyget?",
|
|
30
|
+
"cancel": "Nej",
|
|
31
|
+
"confirm": "Ja"
|
|
32
|
+
},
|
|
33
|
+
"guidelines": {
|
|
34
|
+
"defaultGuideline": "Bildens perspektiv kan visas här.",
|
|
35
|
+
"disable": "Visa inte detta igen",
|
|
36
|
+
"validate": "Okej"
|
|
37
|
+
},
|
|
38
|
+
"tutorial": {
|
|
39
|
+
"welcome": "Välkommen till din första inspektion!",
|
|
40
|
+
"title": "Hur du använder den",
|
|
41
|
+
"guideline": "Gå runt fordonet och ta alla bilder. Följ instruktionerna högst upp för att få rätt vinkel.",
|
|
42
|
+
"sightTutorial": "Använd bilden längst ner till vänster som vägledning för bildkompositionen. Tryck på den för att se en detaljerad förklaring.",
|
|
43
|
+
"sight": "Justera fordonets position så att det linjerar med linjerna för att få bästa möjliga bild.\nTryck på slutarknappen för att ta fotot.",
|
|
44
|
+
"next": "Nästa"
|
|
45
|
+
},
|
|
46
|
+
"sightTutorial": {
|
|
47
|
+
"tip": "Tips",
|
|
48
|
+
"defaultTutorialWithImage": "Här är ett exempel på hur bilden ska se ut.\nFörsök att matcha bildens komposition så nära som möjligt.",
|
|
49
|
+
"defaultTutorialWithoutImage": "Placera dig som visas i diagrammet till vänster.\nSe till att kameran är på rätt höjd."
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"gallery": {
|
|
53
|
+
"next": "Nästa: fordonets foton"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"video": {
|
|
57
|
+
"introduction": {
|
|
58
|
+
"title": "Spela in en video av fordonet"
|
|
59
|
+
},
|
|
60
|
+
"permissions": {
|
|
61
|
+
"camera": {
|
|
62
|
+
"title": "Kamera",
|
|
63
|
+
"description": "För att spela in video måste du tillåta åtkomst till enhetens kamera."
|
|
64
|
+
},
|
|
65
|
+
"compass": {
|
|
66
|
+
"title": "Kompass",
|
|
67
|
+
"description": "För att kunna detektera en fullständig 360°-vy runt fordonet behöver du tillåta åtkomst till enhetens kompass."
|
|
68
|
+
},
|
|
69
|
+
"confirm": "Hantera behörigheter"
|
|
70
|
+
},
|
|
71
|
+
"tutorial": {
|
|
72
|
+
"start": {
|
|
73
|
+
"title": "Börja framifrån",
|
|
74
|
+
"description": "Håll ett avstånd på 1 till 1,2 meter och gå långsamt runt fordonet och ta bilder från taklinjen ner till marken."
|
|
75
|
+
},
|
|
76
|
+
"finish": {
|
|
77
|
+
"title": "Avsluta där du började",
|
|
78
|
+
"description": "Du bör vara klar med inspelningen om cirka 45 sekunder."
|
|
79
|
+
},
|
|
80
|
+
"photos": {
|
|
81
|
+
"title": "Ta bilder vid behov",
|
|
82
|
+
"description": "Tryck på slutarknappen för att ta bilder för remarketing eller skadefotografering medan du spelar in."
|
|
83
|
+
},
|
|
84
|
+
"confirm": "Spela in en video"
|
|
85
|
+
},
|
|
86
|
+
"recording": {
|
|
87
|
+
"discardDialog": {
|
|
88
|
+
"message": "Vill du ta bort videon? Du har inte filmat hela fordonet än.",
|
|
89
|
+
"keepRecording": "Fortsätt spela in",
|
|
90
|
+
"discardVideo": "Radera video"
|
|
91
|
+
},
|
|
92
|
+
"fastMovementsDialog": {
|
|
93
|
+
"walkingTooFast": "Du rör dig för snabbt! Sänk farten lite, det bör ta ungefär en minut att inspektera fordonet.",
|
|
94
|
+
"phoneShaking": "Din enhet skakar för mycket! Försök att hålla kameran stilla när du filmar fordonet.",
|
|
95
|
+
"confirm": "OK"
|
|
96
|
+
},
|
|
97
|
+
"tooltip": {
|
|
98
|
+
"start": "När du står framför fordonet, tryck på knappen för att starta videoinspelningen.",
|
|
99
|
+
"end": "När du har slutfört inspektionen av fordonet, tryck på knappen för att stoppa inspelningen."
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"processing": {
|
|
103
|
+
"processing": "Videobehandlingen pågår",
|
|
104
|
+
"uploading": "Videon laddas upp",
|
|
105
|
+
"success": "Videobehandlingen är klar!",
|
|
106
|
+
"error": "Ett fel uppstod vid slutförandet av inspektionen. Inspektions-ID:",
|
|
107
|
+
"done": "Klart"
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
"orientationEnforcer": {
|
|
111
|
+
"title": "Rotera din enhet.",
|
|
112
|
+
"description": "Du kan behöva låsa upp enhetsorienteringen i telefonens inställningar."
|
|
113
|
+
}
|
|
114
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@monkvision/inspection-capture-web",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.4",
|
|
4
4
|
"license": "BSD-3-Clause-Clear",
|
|
5
5
|
"packageManager": "yarn@3.2.4",
|
|
6
6
|
"description": "MonkJs inspection capture package for React (web) used to implement the Monk inspection capture workflow",
|
|
@@ -28,12 +28,12 @@
|
|
|
28
28
|
"lint:fix": "yarn run prettier:fix && yarn run eslint:fix"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@monkvision/analytics": "5.3.
|
|
32
|
-
"@monkvision/camera-web": "5.3.
|
|
33
|
-
"@monkvision/common": "5.3.
|
|
34
|
-
"@monkvision/common-ui-web": "5.3.
|
|
35
|
-
"@monkvision/network": "5.3.
|
|
36
|
-
"@monkvision/sights": "5.3.
|
|
31
|
+
"@monkvision/analytics": "5.3.4",
|
|
32
|
+
"@monkvision/camera-web": "5.3.4",
|
|
33
|
+
"@monkvision/common": "5.3.4",
|
|
34
|
+
"@monkvision/common-ui-web": "5.3.4",
|
|
35
|
+
"@monkvision/network": "5.3.4",
|
|
36
|
+
"@monkvision/sights": "5.3.4",
|
|
37
37
|
"i18next": "^23.4.5",
|
|
38
38
|
"react-i18next": "^13.2.0"
|
|
39
39
|
},
|
|
@@ -44,13 +44,13 @@
|
|
|
44
44
|
"react-router-dom": "^6.22.3"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@monkvision/eslint-config-base": "5.3.
|
|
48
|
-
"@monkvision/eslint-config-typescript": "5.3.
|
|
49
|
-
"@monkvision/eslint-config-typescript-react": "5.3.
|
|
50
|
-
"@monkvision/jest-config": "5.3.
|
|
51
|
-
"@monkvision/prettier-config": "5.3.
|
|
52
|
-
"@monkvision/test-utils": "5.3.
|
|
53
|
-
"@monkvision/typescript-config": "5.3.
|
|
47
|
+
"@monkvision/eslint-config-base": "5.3.4",
|
|
48
|
+
"@monkvision/eslint-config-typescript": "5.3.4",
|
|
49
|
+
"@monkvision/eslint-config-typescript-react": "5.3.4",
|
|
50
|
+
"@monkvision/jest-config": "5.3.4",
|
|
51
|
+
"@monkvision/prettier-config": "5.3.4",
|
|
52
|
+
"@monkvision/test-utils": "5.3.4",
|
|
53
|
+
"@monkvision/typescript-config": "5.3.4",
|
|
54
54
|
"@testing-library/react": "^16.3.0",
|
|
55
55
|
"@types/copyfiles": "^2",
|
|
56
56
|
"@types/fscreen": "^1.0.1",
|
|
@@ -92,5 +92,5 @@
|
|
|
92
92
|
"url": "https://github.com/monkvision/monkjs/issues"
|
|
93
93
|
},
|
|
94
94
|
"homepage": "https://github.com/monkvision/monkjs",
|
|
95
|
-
"gitHead": "
|
|
95
|
+
"gitHead": "5b46d87e58706a101dfde74d52c697f3fc4e1970"
|
|
96
96
|
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.VideoCaptureTutorial = VideoCaptureTutorial;
|
|
4
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
var react_i18next_1 = require("react-i18next");
|
|
6
|
-
var VideoCapturePageLayout_1 = require("../../VideoCapturePageLayout");
|
|
7
|
-
/**
|
|
8
|
-
* This component is a tutorial displayed on top of the camera when the user first starts the video capture.
|
|
9
|
-
*/
|
|
10
|
-
function VideoCaptureTutorial(_a) {
|
|
11
|
-
var onClose = _a.onClose;
|
|
12
|
-
var t = (0, react_i18next_1.useTranslation)().t;
|
|
13
|
-
var confirmButtonProps = {
|
|
14
|
-
onClick: onClose,
|
|
15
|
-
children: t('video.tutorial.confirm'),
|
|
16
|
-
};
|
|
17
|
-
return ((0, jsx_runtime_1.jsxs)(VideoCapturePageLayout_1.VideoCapturePageLayout, { showBackdrop: true, confirmButtonProps: confirmButtonProps, children: [(0, jsx_runtime_1.jsx)(VideoCapturePageLayout_1.PageLayoutItem, { icon: 'car-arrow', title: t('video.tutorial.start.title'), description: t('video.tutorial.start.description') }), (0, jsx_runtime_1.jsx)(VideoCapturePageLayout_1.PageLayoutItem, { icon: '360', title: t('video.tutorial.finish.title'), description: t('video.tutorial.finish.description') }), (0, jsx_runtime_1.jsx)(VideoCapturePageLayout_1.PageLayoutItem, { icon: 'circle-dot', title: t('video.tutorial.photos.title'), description: t('video.tutorial.photos.description') })] }));
|
|
18
|
-
}
|
/package/lib/VideoCapture/{VideoCaptureHUD/VideoCaptureTutorial → VideoCaptureTutorial}/index.d.ts
RENAMED
|
File without changes
|
/package/lib/VideoCapture/{VideoCaptureHUD/VideoCaptureTutorial → VideoCaptureTutorial}/index.js
RENAMED
|
File without changes
|