@myinterview/widget-react 1.0.311 → 1.1.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.
- package/dist/cjs/App.d.ts +3 -0
- package/dist/cjs/components/AnswerInstructions.d.ts +7 -0
- package/dist/cjs/components/AssessmentController.d.ts +12 -0
- package/dist/cjs/components/AssessmentFreeText.d.ts +7 -0
- package/dist/cjs/components/AssessmentMultiSelect.d.ts +9 -0
- package/dist/cjs/components/AssessmentSingleSelect.d.ts +9 -0
- package/dist/cjs/components/CharactersLimit.d.ts +7 -0
- package/dist/cjs/components/CountDown.d.ts +8 -0
- package/dist/cjs/components/Counter.d.ts +8 -0
- package/dist/cjs/components/DeviceSelector.d.ts +11 -0
- package/dist/cjs/components/DeviceSelectorList.d.ts +9 -0
- package/dist/cjs/components/DeviceSelectorListNative.d.ts +6 -0
- package/dist/cjs/components/Error.d.ts +8 -0
- package/dist/cjs/components/ErrorBoundaries.d.ts +9 -0
- package/dist/cjs/components/Errors.d.ts +12 -0
- package/dist/cjs/components/Explanation.d.ts +8 -0
- package/dist/cjs/components/Footer.d.ts +2 -0
- package/dist/cjs/components/Header.d.ts +10 -0
- package/dist/cjs/components/InnerView.d.ts +15 -0
- package/dist/cjs/components/Main.d.ts +11 -0
- package/dist/cjs/components/OuterView.d.ts +8 -0
- package/dist/cjs/components/PermissionSteps.d.ts +6 -0
- package/dist/cjs/components/PracticeModeInfo.d.ts +2 -0
- package/dist/cjs/components/PreviewItem.d.ts +20 -0
- package/dist/cjs/components/PreviewList.d.ts +18 -0
- package/dist/cjs/components/Question.d.ts +8 -0
- package/dist/cjs/components/QuestionItem.d.ts +12 -0
- package/dist/cjs/components/QuestionParamaters.d.ts +9 -0
- package/dist/cjs/components/QuestionsList.d.ts +11 -0
- package/dist/cjs/components/RecorderModal.d.ts +13 -0
- package/dist/cjs/components/Setup.d.ts +7 -0
- package/dist/cjs/components/SetupChecks.d.ts +14 -0
- package/dist/cjs/components/SliderModal.d.ts +8 -0
- package/dist/cjs/components/TopTips.d.ts +2 -0
- package/dist/cjs/components/Upload.d.ts +13 -0
- package/dist/cjs/components/VideoCamera.d.ts +31 -0
- package/dist/cjs/components/VideoQuestion.d.ts +10 -0
- package/dist/cjs/components/VideoTimeBar.d.ts +9 -0
- package/dist/cjs/components/WelcomePage.d.ts +16 -0
- package/dist/cjs/components/Widget.d.ts +3 -0
- package/dist/cjs/components/icons/ClockIcon.d.ts +2 -0
- package/dist/cjs/components/icons/Loading.d.ts +2 -0
- package/dist/cjs/components/icons/NoCameraMic.d.ts +2 -0
- package/dist/cjs/components/icons/PlayIcon.d.ts +6 -0
- package/dist/cjs/components/icons/Retake.d.ts +2 -0
- package/dist/cjs/components/icons/RotateScreenIcon.d.ts +2 -0
- package/dist/cjs/components/ui/DotSeparator.d.ts +2 -0
- package/dist/cjs/components/ui/Loader.d.ts +2 -0
- package/dist/cjs/components/ui/MicrophoneIndicator.d.ts +7 -0
- package/dist/cjs/components/ui/MinimizeButton.d.ts +6 -0
- package/dist/cjs/components/ui/PracticeMode.d.ts +2 -0
- package/dist/cjs/components/ui/Progress.d.ts +6 -0
- package/dist/cjs/components/ui/QuestionDuration.d.ts +6 -0
- package/dist/cjs/components/ui/QuestionNumber.d.ts +7 -0
- package/dist/cjs/components/ui/RecordingButton.d.ts +6 -0
- package/dist/cjs/components/ui/RotateScreen.d.ts +2 -0
- package/dist/cjs/components/ui/Signal.d.ts +9 -0
- package/dist/cjs/components/ui/StartNowButton.d.ts +6 -0
- package/dist/cjs/components/ui/StartRecordingButton.d.ts +11 -0
- package/dist/cjs/components/ui/StopRecordingButton.d.ts +7 -0
- package/dist/cjs/components/ui/UnsupportedModal.d.ts +6 -0
- package/dist/cjs/config/index.d.ts +7 -0
- package/dist/cjs/config/local.env.d.ts +6 -0
- package/dist/cjs/config/prod.env.d.ts +6 -0
- package/dist/cjs/config/staging.env.d.ts +6 -0
- package/dist/cjs/i18n/config.d.ts +1490 -0
- package/dist/cjs/index.d.ts +4 -0
- package/dist/cjs/index.js +36599 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/cjs/interfaces/candidateInterface.d.ts +14 -0
- package/dist/cjs/interfaces/candidateSessionInterface.d.ts +83 -0
- package/dist/cjs/interfaces/companyInterface.d.ts +4 -0
- package/dist/cjs/interfaces/configInterface.d.ts +64 -0
- package/dist/cjs/interfaces/countDownInterface.d.ts +23 -0
- package/dist/cjs/interfaces/jobInterface.d.ts +72 -0
- package/dist/cjs/interfaces/microphoneInterface.d.ts +41 -0
- package/dist/cjs/interfaces/networkInterface.d.ts +9 -0
- package/dist/cjs/interfaces/previewInterface.d.ts +14 -0
- package/dist/cjs/interfaces/recorderInterface.d.ts +203 -0
- package/dist/cjs/interfaces/storageInterface.d.ts +29 -0
- package/dist/cjs/interfaces/uploaderInterface.d.ts +41 -0
- package/dist/cjs/interfaces/videoInterface.d.ts +84 -0
- package/dist/cjs/interfaces/widgetInterface.d.ts +231 -0
- package/dist/cjs/machines/acceleratorMachines/accUploaderMachine.d.ts +6 -0
- package/dist/cjs/machines/acceleratorMachines/accWidgetMachine.d.ts +6 -0
- package/dist/cjs/machines/acceleratorMachines/counterMachine.d.ts +5 -0
- package/dist/cjs/machines/acceleratorMachines/microphoneMachine.d.ts +6 -0
- package/dist/cjs/machines/acceleratorMachines/networkMachine.d.ts +5 -0
- package/dist/cjs/machines/acceleratorMachines/previewMachine.d.ts +6 -0
- package/dist/cjs/machines/acceleratorMachines/recorderMachineV2.d.ts +6 -0
- package/dist/cjs/machines/acceleratorMachines/storageMachine.d.ts +6 -0
- package/dist/cjs/reportWebVitals.d.ts +3 -0
- package/dist/cjs/services/axiosInstances.service.d.ts +4 -0
- package/dist/cjs/services/s3.service.d.ts +1 -0
- package/dist/cjs/services/session.service.d.ts +57 -0
- package/dist/cjs/services/speedTest.service.d.ts +2 -0
- package/dist/cjs/services/video.service.d.ts +7 -0
- package/dist/cjs/setupTests.d.ts +1 -0
- package/dist/cjs/utils/authToken.utils.d.ts +7 -0
- package/dist/cjs/utils/constants.utils.d.ts +21 -0
- package/dist/cjs/utils/convertor.utils.d.ts +2 -0
- package/dist/cjs/utils/debug.utils.d.ts +19 -0
- package/dist/cjs/utils/device.utils.d.ts +12 -0
- package/dist/cjs/utils/errors.utils.d.ts +9 -0
- package/dist/cjs/utils/formatters.utils.d.ts +5 -0
- package/dist/cjs/utils/languages.utils.d.ts +1 -0
- package/dist/cjs/utils/messages.utils.d.ts +16 -0
- package/dist/cjs/utils/recorderErrors.utils.d.ts +29 -0
- package/dist/cjs/utils/sentry.utils.d.ts +6 -0
- package/dist/cjs/utils/statusCodes.utils.d.ts +13 -0
- package/dist/cjs/workers/microphone.worker.d.ts +2 -0
- package/dist/cjs/workers/worker-builder.d.ts +3 -0
- package/dist/esm/App.d.ts +1 -0
- package/dist/esm/components/AnswerInstructions.d.ts +7 -0
- package/dist/esm/components/AssessmentController.d.ts +12 -0
- package/dist/esm/components/AssessmentFreeText.d.ts +7 -0
- package/dist/esm/components/AssessmentMultiSelect.d.ts +9 -0
- package/dist/esm/components/AssessmentSingleSelect.d.ts +9 -0
- package/dist/esm/components/CharactersLimit.d.ts +7 -0
- package/dist/esm/components/CountDown.d.ts +3 -1
- package/dist/esm/components/DeviceSelector.d.ts +3 -2
- package/dist/esm/components/Errors.d.ts +2 -2
- package/dist/esm/components/Explanation.d.ts +2 -1
- package/dist/esm/components/InnerView.d.ts +1 -0
- package/dist/esm/components/Main.d.ts +2 -0
- package/dist/esm/components/PracticeModeInfo.d.ts +1 -7
- package/dist/esm/components/PreviewItem.d.ts +4 -0
- package/dist/esm/components/PreviewList.d.ts +1 -0
- package/dist/esm/components/Question.d.ts +2 -3
- package/dist/esm/components/QuestionItem.d.ts +2 -2
- package/dist/esm/components/QuestionParamaters.d.ts +9 -0
- package/dist/esm/components/QuestionsList.d.ts +2 -2
- package/dist/esm/components/RecorderModal.d.ts +2 -4
- package/dist/esm/components/Setup.d.ts +1 -0
- package/dist/esm/components/VideoCamera.d.ts +4 -2
- package/dist/esm/components/Widget.d.ts +0 -3
- package/dist/esm/components/ui/DotSeparator.d.ts +2 -0
- package/dist/esm/components/ui/StartRecordingButton.d.ts +1 -0
- package/dist/esm/i18n/config.d.ts +349 -0
- package/dist/esm/index.d.ts +2 -2
- package/dist/esm/index.js +6327 -12129
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/interfaces/candidateSessionInterface.d.ts +1 -1
- package/dist/esm/interfaces/configInterface.d.ts +12 -6
- package/dist/esm/interfaces/countDownInterface.d.ts +23 -0
- package/dist/esm/interfaces/jobInterface.d.ts +43 -3
- package/dist/esm/interfaces/microphoneInterface.d.ts +3 -0
- package/dist/esm/interfaces/recorderInterface.d.ts +8 -3
- package/dist/esm/interfaces/uploaderInterface.d.ts +5 -3
- package/dist/esm/interfaces/videoInterface.d.ts +30 -1
- package/dist/esm/interfaces/widgetInterface.d.ts +28 -10
- package/dist/esm/machines/acceleratorMachines/counterMachine.d.ts +5 -0
- package/dist/esm/services/session.service.d.ts +1 -1
- package/dist/esm/services/video.service.d.ts +4 -4
- package/dist/esm/utils/constants.utils.d.ts +8 -0
- package/dist/esm/utils/convertor.utils.d.ts +2 -0
- package/dist/esm/utils/device.utils.d.ts +1 -1
- package/dist/esm/utils/formatters.utils.d.ts +1 -1
- package/dist/esm/utils/languages.utils.d.ts +1 -0
- package/dist/esm/utils/recorderErrors.utils.d.ts +1 -0
- package/dist/esm/utils/sentry.utils.d.ts +3 -1
- package/dist/esm/workers/microphone.worker.d.ts +2 -0
- package/dist/esm/workers/worker-builder.d.ts +3 -0
- package/dist/index.d.ts +82 -19
- package/package.json +121 -16
- package/dist/esm/utils/practiceQuestions.utils.d.ts +0 -2
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { IVideoCorruptedMessagesKey } from '../interfaces/widgetInterface';
|
|
3
3
|
import { IDeviceSelectorList } from './DeviceSelectorList';
|
|
4
|
-
export
|
|
5
|
-
export
|
|
4
|
+
export type VIDEO_ERRORS = Exclude<IVideoCorruptedMessagesKey, 'NO_ERROR'>;
|
|
5
|
+
export type MODAL_ERROR_KEY = 'MEDIA_PERMISSION' | 'NO_SOUND' | 'CONNECTION' | VIDEO_ERRORS;
|
|
6
6
|
interface IProps extends Partial<IDeviceSelectorList> {
|
|
7
7
|
errorType: MODAL_ERROR_KEY;
|
|
8
8
|
onDisplayPermissionSteps?: () => void;
|
|
@@ -9,6 +9,7 @@ interface IProps extends IWidgetMachineProps {
|
|
|
9
9
|
onCloseSliderModal: () => void;
|
|
10
10
|
onRecorderRetry: () => void;
|
|
11
11
|
onReInitRecorder: () => void;
|
|
12
|
+
myinterviewRef: React.RefObject<HTMLDivElement>;
|
|
12
13
|
}
|
|
13
14
|
export declare const InnerView: React.ForwardRefExoticComponent<IProps & React.RefAttributes<HTMLVideoElement>>;
|
|
14
15
|
export {};
|
|
@@ -3,7 +3,9 @@ import { IWidgetConfig } from '../interfaces/configInterface';
|
|
|
3
3
|
interface IProps {
|
|
4
4
|
widgetConfig: IWidgetConfig;
|
|
5
5
|
setShouldShowWaterMark: React.Dispatch<React.SetStateAction<boolean>>;
|
|
6
|
+
myinterviewRef: React.RefObject<HTMLDivElement>;
|
|
6
7
|
isWidgetMinimized: boolean;
|
|
8
|
+
onMinimize: () => void;
|
|
7
9
|
}
|
|
8
10
|
export declare const Main: React.FC<IProps>;
|
|
9
11
|
export {};
|
|
@@ -3,14 +3,18 @@ export interface IDimensions {
|
|
|
3
3
|
x: number;
|
|
4
4
|
y: number;
|
|
5
5
|
width: number;
|
|
6
|
+
height: number;
|
|
6
7
|
}
|
|
7
8
|
interface IProps {
|
|
8
9
|
blob: string;
|
|
9
10
|
onSelectVideo: () => void;
|
|
10
11
|
isSelected: boolean;
|
|
11
12
|
position: number;
|
|
13
|
+
currentIndex: number;
|
|
14
|
+
numberOfVideos: number;
|
|
12
15
|
isPreviewMode: boolean;
|
|
13
16
|
onPreviewMode: (dimensions: IDimensions) => void;
|
|
17
|
+
myinterviewRef: React.RefObject<HTMLDivElement>;
|
|
14
18
|
}
|
|
15
19
|
export declare const PreviewItem: React.FC<IProps>;
|
|
16
20
|
export {};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { ALL_JOB_QUESTIONS_TYPE } from '../interfaces/jobInterface';
|
|
3
3
|
interface IProps {
|
|
4
|
-
questionObj:
|
|
5
|
-
currentQuestion: number;
|
|
4
|
+
questionObj: ALL_JOB_QUESTIONS_TYPE;
|
|
6
5
|
isInner?: boolean;
|
|
7
6
|
}
|
|
8
7
|
export declare const Question: React.FC<IProps>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { ALL_JOB_QUESTIONS_TYPE } from '../interfaces/jobInterface';
|
|
3
3
|
import { VIDEO_STATUS } from '../interfaces/videoInterface';
|
|
4
4
|
interface IProps {
|
|
5
|
-
questionObj:
|
|
5
|
+
questionObj: ALL_JOB_QUESTIONS_TYPE;
|
|
6
6
|
questionNumber: number;
|
|
7
7
|
currentQuestion: number;
|
|
8
8
|
isPracticeMode: boolean;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { ALL_JOB_QUESTIONS_TYPE } from '../interfaces/jobInterface';
|
|
3
3
|
import { VIDEO_STATUS } from '../interfaces/videoInterface';
|
|
4
4
|
interface IProps {
|
|
5
|
-
questions:
|
|
5
|
+
questions: ALL_JOB_QUESTIONS_TYPE[];
|
|
6
6
|
currentQuestion: number;
|
|
7
7
|
isPracticeMode: boolean;
|
|
8
8
|
questionsStatus: VIDEO_STATUS[];
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { ALL_JOB_QUESTIONS_TYPE } from '../interfaces/jobInterface';
|
|
3
3
|
import { IDeviceSelectorList } from './DeviceSelectorList';
|
|
4
4
|
import { MODAL_ERROR_KEY } from './Errors';
|
|
5
5
|
interface IProps extends IDeviceSelectorList {
|
|
6
6
|
errorType: MODAL_ERROR_KEY | null;
|
|
7
7
|
onDisplayPermissionSteps: () => void;
|
|
8
8
|
onReInitRecorder: () => void;
|
|
9
|
-
|
|
10
|
-
numberOfQuestions: number;
|
|
11
|
-
currentQuestionObj: IQuestion | undefined;
|
|
9
|
+
currentQuestionObj: ALL_JOB_QUESTIONS_TYPE | undefined;
|
|
12
10
|
isRecording: boolean;
|
|
13
11
|
}
|
|
14
12
|
export declare const RecorderModal: React.FC<IProps>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ActorRef, DoneInvokeEvent } from 'xstate';
|
|
3
|
-
import {
|
|
3
|
+
import { ALL_JOB_QUESTIONS_TYPE } from '../interfaces/jobInterface';
|
|
4
4
|
import { IDeviceSelectorProps } from './DeviceSelector';
|
|
5
5
|
import { MODAL_ERROR_KEY } from './Errors';
|
|
6
6
|
interface IProps extends IDeviceSelectorProps {
|
|
@@ -17,13 +17,15 @@ interface IProps extends IDeviceSelectorProps {
|
|
|
17
17
|
canStartRecording: boolean;
|
|
18
18
|
currentQuestion: number;
|
|
19
19
|
numberOfQuestions: number;
|
|
20
|
-
currentQuestionObj:
|
|
20
|
+
currentQuestionObj: ALL_JOB_QUESTIONS_TYPE | undefined;
|
|
21
21
|
isRecording: boolean;
|
|
22
22
|
durations: number;
|
|
23
23
|
recordingTime: number;
|
|
24
24
|
isCountDown: boolean;
|
|
25
25
|
countdown: number;
|
|
26
26
|
isQuestionDisplayed: boolean;
|
|
27
|
+
myinterviewRef: React.RefObject<HTMLDivElement>;
|
|
28
|
+
isAssessment: boolean;
|
|
27
29
|
}
|
|
28
30
|
export declare const VideoCamera: React.ForwardRefExoticComponent<IProps & React.RefAttributes<HTMLVideoElement>>;
|
|
29
31
|
export {};
|
|
@@ -1,6 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { IClientWidgetConfig } from '../interfaces/configInterface';
|
|
3
|
-
import '../assets/styles/global.scss';
|
|
4
|
-
import { getToken } from '../utils/authToken.utils';
|
|
5
3
|
export declare const Widget: React.FC<IClientWidgetConfig>;
|
|
6
|
-
export { getToken };
|
|
@@ -1,5 +1,167 @@
|
|
|
1
1
|
import i18n from 'i18next';
|
|
2
2
|
export declare const resources: {
|
|
3
|
+
readonly ar: {
|
|
4
|
+
readonly translation: {
|
|
5
|
+
welcome: {
|
|
6
|
+
welcome: string;
|
|
7
|
+
startInterview: string;
|
|
8
|
+
resumeInterview: string;
|
|
9
|
+
see_more: string;
|
|
10
|
+
see_less: string;
|
|
11
|
+
click: string;
|
|
12
|
+
terms: string;
|
|
13
|
+
and: string;
|
|
14
|
+
privacy: string;
|
|
15
|
+
};
|
|
16
|
+
top_tips: {
|
|
17
|
+
top_tips: string;
|
|
18
|
+
title: string;
|
|
19
|
+
tip_1: string;
|
|
20
|
+
tip_2: string;
|
|
21
|
+
tip_3: string;
|
|
22
|
+
tip_4: string;
|
|
23
|
+
tip_5: string;
|
|
24
|
+
tip_6: string;
|
|
25
|
+
tip_7: string;
|
|
26
|
+
};
|
|
27
|
+
setup: {
|
|
28
|
+
title: string;
|
|
29
|
+
rotate: string;
|
|
30
|
+
permission_denied: string;
|
|
31
|
+
camera: {
|
|
32
|
+
name: string;
|
|
33
|
+
WAITING: string;
|
|
34
|
+
ERROR: string;
|
|
35
|
+
READY: string;
|
|
36
|
+
};
|
|
37
|
+
microphone: {
|
|
38
|
+
name: string;
|
|
39
|
+
WAITING: string;
|
|
40
|
+
ERROR: string;
|
|
41
|
+
READY: string;
|
|
42
|
+
};
|
|
43
|
+
internet: {
|
|
44
|
+
name: string;
|
|
45
|
+
TESTING: string;
|
|
46
|
+
SLOW: string;
|
|
47
|
+
CONNECTED: string;
|
|
48
|
+
NO_CONNECTED: string;
|
|
49
|
+
};
|
|
50
|
+
unsupported_device: {
|
|
51
|
+
IOS: string;
|
|
52
|
+
BROWSER: string;
|
|
53
|
+
INCOGNITO: string;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
time: {
|
|
57
|
+
unlimited: string;
|
|
58
|
+
minuteLeft_one: string;
|
|
59
|
+
minuteLeft_other: string;
|
|
60
|
+
minute_one: string;
|
|
61
|
+
minute_other: string;
|
|
62
|
+
second_one: string;
|
|
63
|
+
second_other: string;
|
|
64
|
+
};
|
|
65
|
+
practice: {
|
|
66
|
+
title: string;
|
|
67
|
+
subtitle: string;
|
|
68
|
+
label: string;
|
|
69
|
+
};
|
|
70
|
+
preview: {
|
|
71
|
+
title: string;
|
|
72
|
+
singleTake: string;
|
|
73
|
+
take: string;
|
|
74
|
+
};
|
|
75
|
+
upload: {
|
|
76
|
+
title: string;
|
|
77
|
+
subtitle: string;
|
|
78
|
+
errorInfo: string;
|
|
79
|
+
};
|
|
80
|
+
questionList: {
|
|
81
|
+
name: string;
|
|
82
|
+
};
|
|
83
|
+
recorder: {
|
|
84
|
+
explanation: {
|
|
85
|
+
take_one: string;
|
|
86
|
+
take_other: string;
|
|
87
|
+
remaining_take_one: string;
|
|
88
|
+
remaining_take_other: string;
|
|
89
|
+
question: {
|
|
90
|
+
name: string;
|
|
91
|
+
title: string;
|
|
92
|
+
questionThinkingTime: string;
|
|
93
|
+
videoQuestionThinkingTime: string;
|
|
94
|
+
videoQuestionNoThinkingTime: string;
|
|
95
|
+
questionDuration: string;
|
|
96
|
+
videoQuestionDuration: string;
|
|
97
|
+
showQuestion_btn: string;
|
|
98
|
+
watchQuestion_btn: string;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
errors: {
|
|
102
|
+
MEDIA_PERMISSION: {
|
|
103
|
+
TITLE: string;
|
|
104
|
+
DETAILS: string;
|
|
105
|
+
CTA: string;
|
|
106
|
+
};
|
|
107
|
+
NO_SOUND: {
|
|
108
|
+
TITLE: string;
|
|
109
|
+
DETAILS: string;
|
|
110
|
+
DETAILS_MOBILE: string;
|
|
111
|
+
CTA: string;
|
|
112
|
+
};
|
|
113
|
+
CONNECTION: {
|
|
114
|
+
TITLE: string;
|
|
115
|
+
DETAILS: string;
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
permissions: {
|
|
119
|
+
title: string;
|
|
120
|
+
subtitle: string;
|
|
121
|
+
permission: string;
|
|
122
|
+
PERMISSION_STEPS: {
|
|
123
|
+
IOS: {
|
|
124
|
+
CHROME: string[];
|
|
125
|
+
SAFARI: string[];
|
|
126
|
+
};
|
|
127
|
+
ANDROID: {
|
|
128
|
+
CHROME: string[];
|
|
129
|
+
SAMSUNG: string[];
|
|
130
|
+
};
|
|
131
|
+
MACBOOK: {
|
|
132
|
+
CHROME: string[];
|
|
133
|
+
SAFARI: string[];
|
|
134
|
+
FIREFOX: string[];
|
|
135
|
+
};
|
|
136
|
+
WINDOWS: {
|
|
137
|
+
CHROME: string[];
|
|
138
|
+
FIREFOX: string[];
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
buttons: {
|
|
144
|
+
btn_watch_question: string;
|
|
145
|
+
btn_show_question: string;
|
|
146
|
+
btn_start_recording: string;
|
|
147
|
+
btn_stop_recording: string;
|
|
148
|
+
btn_try_again: string;
|
|
149
|
+
btn_internet_test_again: string;
|
|
150
|
+
btn_practice: string;
|
|
151
|
+
btn_start: string;
|
|
152
|
+
btn_retry: string;
|
|
153
|
+
btn_start_now: string;
|
|
154
|
+
RETAKE: string;
|
|
155
|
+
NEXT: string;
|
|
156
|
+
SUBMIT: string;
|
|
157
|
+
READY: string;
|
|
158
|
+
};
|
|
159
|
+
layout: {
|
|
160
|
+
footer: string;
|
|
161
|
+
at: string;
|
|
162
|
+
};
|
|
163
|
+
};
|
|
164
|
+
};
|
|
3
165
|
readonly cn: {
|
|
4
166
|
readonly translation: {
|
|
5
167
|
welcome: {
|
|
@@ -54,6 +216,7 @@ export declare const resources: {
|
|
|
54
216
|
};
|
|
55
217
|
};
|
|
56
218
|
time: {
|
|
219
|
+
unlimited: string;
|
|
57
220
|
minuteLeft_one: string;
|
|
58
221
|
minuteLeft_other: string;
|
|
59
222
|
minute_one: string;
|
|
@@ -91,6 +254,8 @@ export declare const resources: {
|
|
|
91
254
|
questionThinkingTime: string;
|
|
92
255
|
videoQuestionThinkingTime: string;
|
|
93
256
|
videoQuestionNoThinkingTime: string;
|
|
257
|
+
questionDuration: string;
|
|
258
|
+
videoQuestionDuration: string;
|
|
94
259
|
showQuestion_btn: string;
|
|
95
260
|
watchQuestion_btn: string;
|
|
96
261
|
};
|
|
@@ -213,6 +378,7 @@ export declare const resources: {
|
|
|
213
378
|
};
|
|
214
379
|
};
|
|
215
380
|
time: {
|
|
381
|
+
unlimited: string;
|
|
216
382
|
minuteLeft_one: string;
|
|
217
383
|
minuteLeft_other: string;
|
|
218
384
|
minute_one: string;
|
|
@@ -250,6 +416,8 @@ export declare const resources: {
|
|
|
250
416
|
questionThinkingTime: string;
|
|
251
417
|
videoQuestionThinkingTime: string;
|
|
252
418
|
videoQuestionNoThinkingTime: string;
|
|
419
|
+
questionDuration: string;
|
|
420
|
+
videoQuestionDuration: string;
|
|
253
421
|
showQuestion_btn: string;
|
|
254
422
|
watchQuestion_btn: string;
|
|
255
423
|
};
|
|
@@ -372,6 +540,7 @@ export declare const resources: {
|
|
|
372
540
|
};
|
|
373
541
|
};
|
|
374
542
|
time: {
|
|
543
|
+
unlimited: string;
|
|
375
544
|
less_than_one_left: string;
|
|
376
545
|
minuteLeft: string;
|
|
377
546
|
minute_one: string;
|
|
@@ -416,6 +585,8 @@ export declare const resources: {
|
|
|
416
585
|
questionThinkingTime: string;
|
|
417
586
|
videoQuestionThinkingTime: string;
|
|
418
587
|
videoQuestionNoThinkingTime: string;
|
|
588
|
+
questionDuration: string;
|
|
589
|
+
videoQuestionDuration: string;
|
|
419
590
|
showQuestion_btn: string;
|
|
420
591
|
watchQuestion_btn: string;
|
|
421
592
|
};
|
|
@@ -475,6 +646,7 @@ export declare const resources: {
|
|
|
475
646
|
btn_watch_question: string;
|
|
476
647
|
btn_show_question: string;
|
|
477
648
|
btn_start_recording: string;
|
|
649
|
+
btn_start_assessment: string;
|
|
478
650
|
btn_stop_recording: string;
|
|
479
651
|
btn_try_again: string;
|
|
480
652
|
btn_internet_test_again: string;
|
|
@@ -547,6 +719,7 @@ export declare const resources: {
|
|
|
547
719
|
};
|
|
548
720
|
};
|
|
549
721
|
time: {
|
|
722
|
+
unlimited: string;
|
|
550
723
|
less_than_one_left: string;
|
|
551
724
|
minuteLeft: string;
|
|
552
725
|
minute_one: string;
|
|
@@ -584,6 +757,8 @@ export declare const resources: {
|
|
|
584
757
|
questionThinkingTime: string;
|
|
585
758
|
videoQuestionThinkingTime: string;
|
|
586
759
|
videoQuestionNoThinkingTime: string;
|
|
760
|
+
questionDuration: string;
|
|
761
|
+
videoQuestionDuration: string;
|
|
587
762
|
showQuestion_btn: string;
|
|
588
763
|
watchQuestion_btn: string;
|
|
589
764
|
};
|
|
@@ -707,6 +882,7 @@ export declare const resources: {
|
|
|
707
882
|
};
|
|
708
883
|
};
|
|
709
884
|
time: {
|
|
885
|
+
unlimited: string;
|
|
710
886
|
less_than_one_left: string;
|
|
711
887
|
minuteLeft: string;
|
|
712
888
|
minute_one: string;
|
|
@@ -751,6 +927,173 @@ export declare const resources: {
|
|
|
751
927
|
questionThinkingTime: string;
|
|
752
928
|
videoQuestionThinkingTime: string;
|
|
753
929
|
videoQuestionNoThinkingTime: string;
|
|
930
|
+
questionDuration: string;
|
|
931
|
+
videoQuestionDuration: string;
|
|
932
|
+
showQuestion_btn: string;
|
|
933
|
+
watchQuestion_btn: string;
|
|
934
|
+
};
|
|
935
|
+
};
|
|
936
|
+
errors: {
|
|
937
|
+
MEDIA_PERMISSION: {
|
|
938
|
+
TITLE: string;
|
|
939
|
+
DETAILS: string;
|
|
940
|
+
CTA: string;
|
|
941
|
+
};
|
|
942
|
+
NO_SOUND: {
|
|
943
|
+
TITLE: string;
|
|
944
|
+
DETAILS: string;
|
|
945
|
+
DETAILS_MOBILE: string;
|
|
946
|
+
CTA: string;
|
|
947
|
+
};
|
|
948
|
+
CONNECTION: {
|
|
949
|
+
TITLE: string;
|
|
950
|
+
DETAILS: string;
|
|
951
|
+
};
|
|
952
|
+
};
|
|
953
|
+
permissions: {
|
|
954
|
+
title: string;
|
|
955
|
+
subtitle: string;
|
|
956
|
+
permission: string;
|
|
957
|
+
PERMISSION_STEPS: {
|
|
958
|
+
IOS: {
|
|
959
|
+
CHROME: string[];
|
|
960
|
+
SAFARI: string[];
|
|
961
|
+
};
|
|
962
|
+
ANDROID: {
|
|
963
|
+
CHROME: string[];
|
|
964
|
+
SAMSUNG: string[];
|
|
965
|
+
};
|
|
966
|
+
MACBOOK: {
|
|
967
|
+
CHROME: string[];
|
|
968
|
+
SAFARI: string[];
|
|
969
|
+
FIREFOX: string[];
|
|
970
|
+
};
|
|
971
|
+
WINDOWS: {
|
|
972
|
+
CHROME: string[];
|
|
973
|
+
FIREFOX: string[];
|
|
974
|
+
};
|
|
975
|
+
};
|
|
976
|
+
};
|
|
977
|
+
};
|
|
978
|
+
buttons: {
|
|
979
|
+
btn_watch_question: string;
|
|
980
|
+
btn_show_question: string;
|
|
981
|
+
btn_start_recording: string;
|
|
982
|
+
btn_stop_recording: string;
|
|
983
|
+
btn_try_again: string;
|
|
984
|
+
btn_internet_test_again: string;
|
|
985
|
+
btn_practice: string;
|
|
986
|
+
btn_start: string;
|
|
987
|
+
btn_retry: string;
|
|
988
|
+
btn_start_now: string;
|
|
989
|
+
RETAKE: string;
|
|
990
|
+
NEXT: string;
|
|
991
|
+
SUBMIT: string;
|
|
992
|
+
READY: string;
|
|
993
|
+
};
|
|
994
|
+
layout: {
|
|
995
|
+
footer: string;
|
|
996
|
+
at: string;
|
|
997
|
+
};
|
|
998
|
+
};
|
|
999
|
+
};
|
|
1000
|
+
readonly he: {
|
|
1001
|
+
readonly translation: {
|
|
1002
|
+
welcome: {
|
|
1003
|
+
welcome: string;
|
|
1004
|
+
startInterview: string;
|
|
1005
|
+
resumeInterview: string;
|
|
1006
|
+
see_more: string;
|
|
1007
|
+
see_less: string;
|
|
1008
|
+
click: string;
|
|
1009
|
+
terms: string;
|
|
1010
|
+
and: string;
|
|
1011
|
+
privacy: string;
|
|
1012
|
+
};
|
|
1013
|
+
top_tips: {
|
|
1014
|
+
top_tips: string;
|
|
1015
|
+
title: string;
|
|
1016
|
+
tip_1: string;
|
|
1017
|
+
tip_2: string;
|
|
1018
|
+
tip_3: string;
|
|
1019
|
+
tip_4: string;
|
|
1020
|
+
tip_5: string;
|
|
1021
|
+
tip_6: string;
|
|
1022
|
+
tip_7: string;
|
|
1023
|
+
};
|
|
1024
|
+
setup: {
|
|
1025
|
+
title: string;
|
|
1026
|
+
rotate: string;
|
|
1027
|
+
permission_denied: string;
|
|
1028
|
+
camera: {
|
|
1029
|
+
name: string;
|
|
1030
|
+
WAITING: string;
|
|
1031
|
+
ERROR: string;
|
|
1032
|
+
READY: string;
|
|
1033
|
+
};
|
|
1034
|
+
microphone: {
|
|
1035
|
+
name: string;
|
|
1036
|
+
WAITING: string;
|
|
1037
|
+
ERROR: string;
|
|
1038
|
+
READY: string;
|
|
1039
|
+
};
|
|
1040
|
+
internet: {
|
|
1041
|
+
name: string;
|
|
1042
|
+
TESTING: string;
|
|
1043
|
+
SLOW: string;
|
|
1044
|
+
CONNECTED: string;
|
|
1045
|
+
NO_CONNECTED: string;
|
|
1046
|
+
};
|
|
1047
|
+
unsupported_device: {
|
|
1048
|
+
IOS: string;
|
|
1049
|
+
BROWSER: string;
|
|
1050
|
+
INCOGNITO: string;
|
|
1051
|
+
};
|
|
1052
|
+
};
|
|
1053
|
+
time: {
|
|
1054
|
+
unlimited: string;
|
|
1055
|
+
minuteLeft_one: string;
|
|
1056
|
+
minuteLeft_other: string;
|
|
1057
|
+
minute_one: string;
|
|
1058
|
+
minute_other: string;
|
|
1059
|
+
second_one: string;
|
|
1060
|
+
second_other: string;
|
|
1061
|
+
second_many: string;
|
|
1062
|
+
};
|
|
1063
|
+
practice: {
|
|
1064
|
+
title: string;
|
|
1065
|
+
subtitle: string;
|
|
1066
|
+
label: string;
|
|
1067
|
+
};
|
|
1068
|
+
preview: {
|
|
1069
|
+
title: string;
|
|
1070
|
+
singleTake: string;
|
|
1071
|
+
take: string;
|
|
1072
|
+
};
|
|
1073
|
+
upload: {
|
|
1074
|
+
title: string;
|
|
1075
|
+
subtitle: string;
|
|
1076
|
+
errorInfo: string;
|
|
1077
|
+
};
|
|
1078
|
+
questionList: {
|
|
1079
|
+
name: string;
|
|
1080
|
+
};
|
|
1081
|
+
recorder: {
|
|
1082
|
+
explanation: {
|
|
1083
|
+
take_one: string;
|
|
1084
|
+
take_two: string;
|
|
1085
|
+
take_other: string;
|
|
1086
|
+
remaining_take_one: string;
|
|
1087
|
+
remaining_take_two: string;
|
|
1088
|
+
remaining_take_other: string;
|
|
1089
|
+
question: {
|
|
1090
|
+
name: string;
|
|
1091
|
+
title: string;
|
|
1092
|
+
questionThinkingTime: string;
|
|
1093
|
+
videoQuestionThinkingTime: string;
|
|
1094
|
+
videoQuestionNoThinkingTime: string;
|
|
1095
|
+
questionDuration: string;
|
|
1096
|
+
videoQuestionDuration: string;
|
|
754
1097
|
showQuestion_btn: string;
|
|
755
1098
|
watchQuestion_btn: string;
|
|
756
1099
|
};
|
|
@@ -873,6 +1216,7 @@ export declare const resources: {
|
|
|
873
1216
|
};
|
|
874
1217
|
};
|
|
875
1218
|
time: {
|
|
1219
|
+
unlimited: string;
|
|
876
1220
|
minuteLeft_one: string;
|
|
877
1221
|
minuteLeft_other: string;
|
|
878
1222
|
minute_one: string;
|
|
@@ -910,6 +1254,8 @@ export declare const resources: {
|
|
|
910
1254
|
questionThinkingTime: string;
|
|
911
1255
|
videoQuestionThinkingTime: string;
|
|
912
1256
|
videoQuestionNoThinkingTime: string;
|
|
1257
|
+
questionDuration: string;
|
|
1258
|
+
videoQuestionDuration: string;
|
|
913
1259
|
showQuestion_btn: string;
|
|
914
1260
|
watchQuestion_btn: string;
|
|
915
1261
|
};
|
|
@@ -1032,6 +1378,7 @@ export declare const resources: {
|
|
|
1032
1378
|
};
|
|
1033
1379
|
};
|
|
1034
1380
|
time: {
|
|
1381
|
+
unlimited: string;
|
|
1035
1382
|
minuteLeft_one: string;
|
|
1036
1383
|
minuteLeft_other: string;
|
|
1037
1384
|
minute_one: string;
|
|
@@ -1069,6 +1416,8 @@ export declare const resources: {
|
|
|
1069
1416
|
questionThinkingTime: string;
|
|
1070
1417
|
videoQuestionThinkingTime: string;
|
|
1071
1418
|
videoQuestionNoThinkingTime: string;
|
|
1419
|
+
questionDuration: string;
|
|
1420
|
+
videoQuestionDuration: string;
|
|
1072
1421
|
showQuestion_btn: string;
|
|
1073
1422
|
watchQuestion_btn: string;
|
|
1074
1423
|
};
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Widget
|
|
1
|
+
import { Widget } from './components/Widget';
|
|
2
2
|
import { IWidgetConfig, IClientWidgetConfig } from './interfaces/configInterface';
|
|
3
|
-
export { Widget
|
|
3
|
+
export { Widget };
|
|
4
4
|
export type { IWidgetConfig, IClientWidgetConfig };
|