@myinterview/widget-react 1.0.11 → 1.0.88

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 (202) hide show
  1. package/README.md +4 -4
  2. package/dist/cjs/index.js +31900 -0
  3. package/dist/cjs/index.js.map +1 -0
  4. package/dist/{esm → cjs/types}/App.d.ts +0 -0
  5. package/dist/{esm → cjs/types}/components/CountDown.d.ts +0 -0
  6. package/dist/{esm → cjs/types}/components/Counter.d.ts +0 -0
  7. package/dist/{esm → cjs/types}/components/DeviceSelector.d.ts +0 -0
  8. package/dist/{esm → cjs/types}/components/DeviceSelectorList.d.ts +0 -0
  9. package/dist/{esm → cjs/types}/components/DeviceSelectorListNative.d.ts +0 -0
  10. package/dist/{esm → cjs/types}/components/Error.d.ts +0 -0
  11. package/dist/{esm → cjs/types}/components/ErrorBoundaries.d.ts +0 -0
  12. package/dist/{esm → cjs/types}/components/Errors.d.ts +1 -4
  13. package/dist/{esm → cjs/types}/components/Explanation.d.ts +0 -0
  14. package/dist/{esm → cjs/types}/components/Footer.d.ts +0 -0
  15. package/dist/{esm → cjs/types}/components/Header.d.ts +0 -0
  16. package/dist/{esm → cjs/types}/components/InnerView.d.ts +0 -0
  17. package/dist/{esm → cjs/types}/components/Main.d.ts +2 -2
  18. package/dist/{esm → cjs/types}/components/OuterView.d.ts +0 -0
  19. package/dist/{esm → cjs/types}/components/PermissionSteps.d.ts +0 -0
  20. package/dist/{esm → cjs/types}/components/PracticeModeInfo.d.ts +0 -0
  21. package/dist/cjs/types/components/PreviewItem.d.ts +10 -0
  22. package/dist/{esm → cjs/types}/components/PreviewList.d.ts +0 -0
  23. package/dist/{esm → cjs/types}/components/Question.d.ts +0 -0
  24. package/dist/{esm → cjs/types}/components/QuestionItem.d.ts +0 -0
  25. package/dist/{esm → cjs/types}/components/QuestionsList.d.ts +0 -0
  26. package/dist/{esm → cjs/types}/components/RecorderModal.d.ts +0 -1
  27. package/dist/{esm → cjs/types}/components/Setup.d.ts +0 -0
  28. package/dist/{esm → cjs/types}/components/SetupChecks.d.ts +0 -0
  29. package/dist/{esm → cjs/types}/components/SliderModal.d.ts +0 -0
  30. package/dist/{esm → cjs/types}/components/Upload.d.ts +0 -0
  31. package/dist/{esm → cjs/types}/components/VideoCamera.d.ts +0 -1
  32. package/dist/{esm → cjs/types}/components/VideoQuestion.d.ts +0 -0
  33. package/dist/{esm → cjs/types}/components/VideoTimeBar.d.ts +0 -0
  34. package/dist/{esm → cjs/types}/components/WelcomePage.d.ts +0 -0
  35. package/dist/cjs/types/components/Widget.d.ts +9 -0
  36. package/dist/{esm → cjs/types}/components/icons/ClockIcon.d.ts +0 -0
  37. package/dist/{esm → cjs/types}/components/icons/Loading.d.ts +0 -0
  38. package/dist/{esm → cjs/types}/components/icons/NoCameraMic.d.ts +0 -0
  39. package/dist/{esm → cjs/types}/components/icons/PlayIcon.d.ts +0 -0
  40. package/dist/{esm → cjs/types}/components/icons/Retake.d.ts +0 -0
  41. package/dist/{esm → cjs/types}/components/icons/RotateScreenIcon.d.ts +0 -0
  42. package/dist/{esm → cjs/types}/components/ui/Loader.d.ts +0 -0
  43. package/dist/{esm → cjs/types}/components/ui/MicrophoneIndicator.d.ts +0 -0
  44. package/dist/{esm → cjs/types}/components/ui/PracticeMode.d.ts +0 -0
  45. package/dist/{esm → cjs/types}/components/ui/Progress.d.ts +0 -0
  46. package/dist/{esm → cjs/types}/components/ui/QuestionDuration.d.ts +0 -0
  47. package/dist/{esm → cjs/types}/components/ui/QuestionNumber.d.ts +0 -0
  48. package/dist/{esm → cjs/types}/components/ui/RecordingButton.d.ts +0 -0
  49. package/dist/{esm → cjs/types}/components/ui/RotateScreen.d.ts +0 -0
  50. package/dist/{esm → cjs/types}/components/ui/Signal.d.ts +0 -0
  51. package/dist/{esm → cjs/types}/components/ui/StartNowButton.d.ts +0 -0
  52. package/dist/{esm → cjs/types}/components/ui/StartRecordingButton.d.ts +0 -0
  53. package/dist/{esm → cjs/types}/components/ui/StopRecordingButton.d.ts +0 -0
  54. package/dist/{esm → cjs/types}/components/ui/UnsupportedModal.d.ts +0 -0
  55. package/dist/{esm → cjs/types}/config/index.d.ts +1 -2
  56. package/dist/{esm → cjs/types}/config/local.env.d.ts +0 -0
  57. package/dist/{esm → cjs/types}/config/prod.env.d.ts +0 -0
  58. package/dist/{esm → cjs/types}/config/staging.env.d.ts +0 -0
  59. package/dist/cjs/types/i18n/config.d.ts +430 -0
  60. package/dist/cjs/types/index.d.ts +2 -0
  61. package/dist/{esm → cjs/types}/interfaces/candidateInterface.d.ts +0 -0
  62. package/dist/{esm → cjs/types}/interfaces/candidateSessionInterface.d.ts +5 -10
  63. package/dist/{esm → cjs/types}/interfaces/companyInterface.d.ts +0 -0
  64. package/dist/cjs/types/interfaces/configInterface.d.ts +33 -0
  65. package/dist/{esm → cjs/types}/interfaces/jobInterface.d.ts +1 -9
  66. package/dist/{esm → cjs/types}/interfaces/microphoneInterface.d.ts +0 -0
  67. package/dist/{esm → cjs/types}/interfaces/networkInterface.d.ts +0 -0
  68. package/dist/{esm → cjs/types}/interfaces/previewInterface.d.ts +0 -0
  69. package/dist/{esm → cjs/types}/interfaces/recorderInterface.d.ts +0 -0
  70. package/dist/{esm → cjs/types}/interfaces/storageInterface.d.ts +0 -0
  71. package/dist/{esm → cjs/types}/interfaces/uploaderInterface.d.ts +0 -0
  72. package/dist/{esm → cjs/types}/interfaces/videoInterface.d.ts +0 -1
  73. package/dist/{esm → cjs/types}/interfaces/widgetInterface.d.ts +5 -24
  74. package/dist/{esm → cjs/types}/machines/acceleratorMachines/accUploaderMachine.d.ts +0 -0
  75. package/dist/{esm → cjs/types}/machines/acceleratorMachines/accWidgetMachine.d.ts +0 -0
  76. package/dist/{esm → cjs/types}/machines/acceleratorMachines/microphoneMachine.d.ts +0 -0
  77. package/dist/{esm → cjs/types}/machines/acceleratorMachines/networkMachine.d.ts +0 -0
  78. package/dist/{esm → cjs/types}/machines/acceleratorMachines/previewMachine.d.ts +0 -0
  79. package/dist/{esm → cjs/types}/machines/acceleratorMachines/recorderMachineV2.d.ts +0 -0
  80. package/dist/{esm → cjs/types}/machines/acceleratorMachines/storageMachine.d.ts +0 -0
  81. package/dist/{esm → cjs/types}/reportWebVitals.d.ts +0 -0
  82. package/dist/{esm → cjs/types}/services/axiosInstances.service.d.ts +0 -1
  83. package/dist/{esm → cjs/types}/services/s3.service.d.ts +0 -0
  84. package/dist/{esm → cjs/types}/services/session.service.d.ts +1 -12
  85. package/dist/{esm → cjs/types}/services/speedTest.service.d.ts +0 -0
  86. package/dist/cjs/types/services/video.service.d.ts +7 -0
  87. package/dist/{esm → cjs/types}/setupTests.d.ts +0 -0
  88. package/dist/{esm → cjs/types}/utils/authToken.utils.d.ts +0 -0
  89. package/dist/{esm → cjs/types}/utils/constants.utils.d.ts +2 -5
  90. package/dist/{esm → cjs/types}/utils/debug.utils.d.ts +0 -0
  91. package/dist/{esm → cjs/types}/utils/device.utils.d.ts +0 -0
  92. package/dist/{esm → cjs/types}/utils/errors.utils.d.ts +0 -0
  93. package/dist/{esm → cjs/types}/utils/formatters.utils.d.ts +0 -0
  94. package/dist/{esm → cjs/types}/utils/messages.utils.d.ts +0 -0
  95. package/dist/cjs/types/utils/permissionSteps.utils.d.ts +19 -0
  96. package/dist/{esm → cjs/types}/utils/practiceQuestions.utils.d.ts +0 -0
  97. package/dist/{esm → cjs/types}/utils/sentry.utils.d.ts +0 -0
  98. package/dist/{esm → cjs/types}/utils/statusCodes.utils.d.ts +0 -0
  99. package/dist/esm/index.js +1819 -9383
  100. package/dist/esm/index.js.map +1 -1
  101. package/dist/esm/types/App.d.ts +2 -0
  102. package/dist/esm/types/components/CountDown.d.ts +6 -0
  103. package/dist/esm/types/components/Counter.d.ts +8 -0
  104. package/dist/esm/types/components/DeviceSelector.d.ts +10 -0
  105. package/dist/esm/types/components/DeviceSelectorList.d.ts +9 -0
  106. package/dist/esm/types/components/DeviceSelectorListNative.d.ts +6 -0
  107. package/dist/esm/types/components/Error.d.ts +8 -0
  108. package/dist/esm/types/components/ErrorBoundaries.d.ts +9 -0
  109. package/dist/esm/types/components/Errors.d.ts +9 -0
  110. package/dist/esm/types/components/Explanation.d.ts +7 -0
  111. package/dist/esm/types/components/Footer.d.ts +2 -0
  112. package/dist/esm/types/components/Header.d.ts +10 -0
  113. package/dist/esm/types/components/InnerView.d.ts +12 -0
  114. package/dist/esm/types/components/Main.d.ts +8 -0
  115. package/dist/esm/types/components/OuterView.d.ts +8 -0
  116. package/dist/esm/types/components/PermissionSteps.d.ts +6 -0
  117. package/dist/esm/types/components/PracticeModeInfo.d.ts +8 -0
  118. package/dist/esm/types/components/PreviewItem.d.ts +10 -0
  119. package/dist/esm/types/components/PreviewList.d.ts +17 -0
  120. package/dist/esm/types/components/Question.d.ts +9 -0
  121. package/dist/esm/types/components/QuestionItem.d.ts +12 -0
  122. package/dist/esm/types/components/QuestionsList.d.ts +11 -0
  123. package/dist/esm/types/components/RecorderModal.d.ts +14 -0
  124. package/dist/esm/types/components/Setup.d.ts +6 -0
  125. package/dist/esm/types/components/SetupChecks.d.ts +14 -0
  126. package/dist/esm/types/components/SliderModal.d.ts +8 -0
  127. package/dist/esm/types/components/Upload.d.ts +13 -0
  128. package/dist/esm/types/components/VideoCamera.d.ts +28 -0
  129. package/dist/esm/types/components/VideoQuestion.d.ts +9 -0
  130. package/dist/esm/types/components/VideoTimeBar.d.ts +9 -0
  131. package/dist/esm/types/components/WelcomePage.d.ts +11 -0
  132. package/dist/esm/types/components/Widget.d.ts +9 -0
  133. package/dist/esm/types/components/icons/ClockIcon.d.ts +2 -0
  134. package/dist/esm/types/components/icons/Loading.d.ts +2 -0
  135. package/dist/esm/types/components/icons/NoCameraMic.d.ts +2 -0
  136. package/dist/esm/types/components/icons/PlayIcon.d.ts +6 -0
  137. package/dist/esm/types/components/icons/Retake.d.ts +2 -0
  138. package/dist/esm/types/components/icons/RotateScreenIcon.d.ts +2 -0
  139. package/dist/esm/types/components/ui/Loader.d.ts +2 -0
  140. package/dist/esm/types/components/ui/MicrophoneIndicator.d.ts +7 -0
  141. package/dist/esm/types/components/ui/PracticeMode.d.ts +2 -0
  142. package/dist/esm/types/components/ui/Progress.d.ts +6 -0
  143. package/dist/esm/types/components/ui/QuestionDuration.d.ts +6 -0
  144. package/dist/esm/types/components/ui/QuestionNumber.d.ts +7 -0
  145. package/dist/esm/types/components/ui/RecordingButton.d.ts +6 -0
  146. package/dist/esm/types/components/ui/RotateScreen.d.ts +2 -0
  147. package/dist/esm/types/components/ui/Signal.d.ts +9 -0
  148. package/dist/esm/types/components/ui/StartNowButton.d.ts +6 -0
  149. package/dist/esm/types/components/ui/StartRecordingButton.d.ts +10 -0
  150. package/dist/esm/types/components/ui/StopRecordingButton.d.ts +7 -0
  151. package/dist/esm/types/components/ui/UnsupportedModal.d.ts +6 -0
  152. package/dist/esm/types/config/index.d.ts +6 -0
  153. package/dist/esm/types/config/local.env.d.ts +6 -0
  154. package/dist/esm/types/config/prod.env.d.ts +6 -0
  155. package/dist/esm/types/config/staging.env.d.ts +6 -0
  156. package/dist/esm/{i18n → types/i18n}/config.d.ts +28 -37
  157. package/dist/esm/types/index.d.ts +2 -0
  158. package/dist/esm/types/interfaces/candidateInterface.d.ts +10 -0
  159. package/dist/esm/types/interfaces/candidateSessionInterface.d.ts +78 -0
  160. package/dist/esm/types/interfaces/companyInterface.d.ts +3 -0
  161. package/dist/esm/types/interfaces/configInterface.d.ts +33 -0
  162. package/dist/esm/types/interfaces/jobInterface.d.ts +22 -0
  163. package/dist/esm/types/interfaces/microphoneInterface.d.ts +36 -0
  164. package/dist/esm/types/interfaces/networkInterface.d.ts +9 -0
  165. package/dist/esm/types/interfaces/previewInterface.d.ts +14 -0
  166. package/dist/esm/types/interfaces/recorderInterface.d.ts +110 -0
  167. package/dist/esm/types/interfaces/storageInterface.d.ts +29 -0
  168. package/dist/esm/types/interfaces/uploaderInterface.d.ts +39 -0
  169. package/dist/esm/types/interfaces/videoInterface.d.ts +54 -0
  170. package/dist/esm/types/interfaces/widgetInterface.d.ts +192 -0
  171. package/dist/esm/types/machines/acceleratorMachines/accUploaderMachine.d.ts +6 -0
  172. package/dist/esm/types/machines/acceleratorMachines/accWidgetMachine.d.ts +6 -0
  173. package/dist/esm/types/machines/acceleratorMachines/microphoneMachine.d.ts +6 -0
  174. package/dist/esm/types/machines/acceleratorMachines/networkMachine.d.ts +5 -0
  175. package/dist/esm/types/machines/acceleratorMachines/previewMachine.d.ts +6 -0
  176. package/dist/esm/types/machines/acceleratorMachines/recorderMachineV2.d.ts +6 -0
  177. package/dist/esm/types/machines/acceleratorMachines/storageMachine.d.ts +6 -0
  178. package/dist/esm/types/reportWebVitals.d.ts +3 -0
  179. package/dist/esm/types/services/axiosInstances.service.d.ts +3 -0
  180. package/dist/esm/types/services/s3.service.d.ts +1 -0
  181. package/dist/esm/types/services/session.service.d.ts +46 -0
  182. package/dist/esm/types/services/speedTest.service.d.ts +2 -0
  183. package/dist/esm/types/services/video.service.d.ts +7 -0
  184. package/dist/esm/types/setupTests.d.ts +1 -0
  185. package/dist/esm/types/utils/authToken.utils.d.ts +7 -0
  186. package/dist/esm/types/utils/constants.utils.d.ts +9 -0
  187. package/dist/esm/types/utils/debug.utils.d.ts +19 -0
  188. package/dist/esm/types/utils/device.utils.d.ts +12 -0
  189. package/dist/esm/types/utils/errors.utils.d.ts +9 -0
  190. package/dist/esm/types/utils/formatters.utils.d.ts +5 -0
  191. package/dist/esm/types/utils/messages.utils.d.ts +16 -0
  192. package/dist/esm/types/utils/permissionSteps.utils.d.ts +19 -0
  193. package/dist/esm/types/utils/practiceQuestions.utils.d.ts +2 -0
  194. package/dist/esm/types/utils/sentry.utils.d.ts +4 -0
  195. package/dist/esm/types/utils/statusCodes.utils.d.ts +13 -0
  196. package/dist/index.d.ts +13 -45
  197. package/package.json +4 -4
  198. package/dist/esm/components/PreviewItem.d.ts +0 -16
  199. package/dist/esm/components/Widget.d.ts +0 -6
  200. package/dist/esm/index.d.ts +0 -4
  201. package/dist/esm/interfaces/configInterface.d.ts +0 -55
  202. package/dist/esm/services/video.service.d.ts +0 -7
File without changes
File without changes
File without changes
@@ -1,12 +1,9 @@
1
1
  import React from 'react';
2
- import { IVideoCorruptedMessagesKey } from '../interfaces/widgetInterface';
3
2
  import { IDeviceSelectorList } from './DeviceSelectorList';
4
- export declare type VIDEO_ERRORS = Exclude<IVideoCorruptedMessagesKey, 'NO_ERROR'>;
5
- export declare type MODAL_ERROR_KEY = 'MEDIA_PERMISSION' | 'NO_SOUND' | 'CONNECTION' | VIDEO_ERRORS;
3
+ export declare type MODAL_ERROR_KEY = 'MEDIA_PERMISSION' | 'NO_SOUND' | 'CONNECTION';
6
4
  interface IProps extends Partial<IDeviceSelectorList> {
7
5
  errorType: MODAL_ERROR_KEY;
8
6
  onDisplayPermissionSteps?: () => void;
9
- onReInitRecorder?: () => void;
10
7
  }
11
8
  export declare const Errors: React.FC<IProps>;
12
9
  export {};
File without changes
File without changes
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- import { IWidgetConfig } from '../interfaces/configInterface';
2
+ import { IConfig } from '../interfaces/configInterface';
3
3
  interface IProps {
4
- widgetConfig: IWidgetConfig;
4
+ config: IConfig;
5
5
  setShouldShowWaterMark: React.Dispatch<React.SetStateAction<boolean>>;
6
6
  }
7
7
  export declare const Main: React.FC<IProps>;
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ interface IProps {
3
+ blob: string;
4
+ onSelectVideo: () => void;
5
+ isSelected: boolean;
6
+ position: string;
7
+ isConnected: boolean;
8
+ }
9
+ export declare const PreviewItem: React.FC<IProps>;
10
+ export {};
File without changes
@@ -5,7 +5,6 @@ import { MODAL_ERROR_KEY } from './Errors';
5
5
  interface IProps extends IDeviceSelectorList {
6
6
  errorType: MODAL_ERROR_KEY | null;
7
7
  onDisplayPermissionSteps: () => void;
8
- onReInitRecorder: () => void;
9
8
  currentQuestion: number;
10
9
  numberOfQuestions: number;
11
10
  currentQuestionObj: IQuestion | undefined;
File without changes
File without changes
@@ -11,7 +11,6 @@ interface IProps extends IDeviceSelectorProps {
11
11
  isPermissionStepsOpen: boolean;
12
12
  onDisplayPermissionSteps: () => void;
13
13
  onClosePermissionSteps: () => void;
14
- onReInitRecorder: () => void;
15
14
  onRecorderRetry: () => void;
16
15
  isRecorderCanChangeSettings: boolean;
17
16
  canStartRecording: boolean;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { IConfig } from '../interfaces/configInterface';
3
+ import '../assets/styles/global.scss';
4
+ interface IProps extends IConfig {
5
+ disabled?: boolean;
6
+ buttonText?: string;
7
+ }
8
+ export declare const Widget: React.FC<IProps>;
9
+ export {};
@@ -1,5 +1,4 @@
1
- import { IEnv } from '../interfaces/configInterface';
2
- declare const config: (configEnv?: IEnv) => {
1
+ declare let config: {
3
2
  serverUrl: string;
4
3
  INTERCOM_APP_ID: string;
5
4
  SENTRY_DSN: string;
File without changes
File without changes
File without changes
@@ -0,0 +1,430 @@
1
+ import i18n from 'i18next';
2
+ export declare const resources: {
3
+ readonly en: {
4
+ readonly translation: {
5
+ setup: {
6
+ title: string;
7
+ rotate: string;
8
+ permission_denied: string;
9
+ camera: {
10
+ name: string;
11
+ WAITING: string;
12
+ ERROR: string;
13
+ READY: string;
14
+ };
15
+ microphone: {
16
+ name: string;
17
+ WAITING: string;
18
+ ERROR: string;
19
+ READY: string;
20
+ };
21
+ internet: {
22
+ name: string;
23
+ TESTING: string;
24
+ SLOW: string;
25
+ CONNECTED: string;
26
+ NO_CONNECTED: string;
27
+ };
28
+ unsupported_device: {
29
+ IOS: string;
30
+ BROWSER: string;
31
+ INCOGNITO: string;
32
+ };
33
+ };
34
+ time: {
35
+ less_than_one_left: string;
36
+ minuteLeft: string;
37
+ minute_one: string;
38
+ minute_other: string;
39
+ second_one: string;
40
+ second_other: string;
41
+ };
42
+ practice: {
43
+ title: string;
44
+ subtitle: string;
45
+ label: string;
46
+ questions: {
47
+ numOfRetakes: number;
48
+ thinkingTime: number;
49
+ partDuration: number;
50
+ question: string;
51
+ description: string;
52
+ }[];
53
+ };
54
+ preview: {
55
+ title: string;
56
+ singleTake: string;
57
+ take: string;
58
+ };
59
+ upload: {
60
+ title: string;
61
+ subtitle: string;
62
+ errorInfo: string;
63
+ };
64
+ questionList: {
65
+ name: string;
66
+ };
67
+ recorder: {
68
+ explanation: {
69
+ take_one: string;
70
+ take_other: string;
71
+ remaining_take_one: string;
72
+ remaining_take_other: string;
73
+ question: {
74
+ name: string;
75
+ title: string;
76
+ questionThinkingTime: string;
77
+ videoQuestionThinkingTime: string;
78
+ videoQuestionNoThinkingTime: string;
79
+ showQuestion_btn: string;
80
+ watchQuestion_btn: string;
81
+ };
82
+ };
83
+ errors: {
84
+ MEDIA_PERMISSION: {
85
+ TITLE: string;
86
+ DETAILS: string;
87
+ CTA: string;
88
+ };
89
+ NO_SOUND: {
90
+ TITLE: string;
91
+ DETAILS: string;
92
+ DETAILS_MOBILE: string;
93
+ CTA: string;
94
+ };
95
+ CONNECTION: {
96
+ TITLE: string;
97
+ DETAILS: string;
98
+ };
99
+ };
100
+ permissions: {
101
+ title: string;
102
+ subtitle: string;
103
+ permission: string;
104
+ PERMISSION_STEPS: {
105
+ IOS: {
106
+ CHROME: string[];
107
+ SAFARI: string[];
108
+ };
109
+ ANDROID: {
110
+ CHROME: string[];
111
+ SAMSUNG: string[];
112
+ };
113
+ MACBOOK: {
114
+ CHROME: string[];
115
+ SAFARI: string[];
116
+ FIREFOX: string[];
117
+ };
118
+ WINDOWS: {
119
+ CHROME: string[];
120
+ FIREFOX: string[];
121
+ };
122
+ };
123
+ };
124
+ };
125
+ buttons: {
126
+ btn_watch_question: string;
127
+ btn_show_question: string;
128
+ btn_start_recording: string;
129
+ btn_stop_recording: string;
130
+ btn_try_again: string;
131
+ btn_internet_test_again: string;
132
+ btn_practice: string;
133
+ btn_start: string;
134
+ btn_retry: string;
135
+ btn_start_now: string;
136
+ RETAKE: string;
137
+ NEXT: string;
138
+ SUBMIT: string;
139
+ READY: string;
140
+ };
141
+ layout: {
142
+ footer: string;
143
+ at: string;
144
+ };
145
+ };
146
+ };
147
+ readonly fr: {
148
+ readonly translation: {
149
+ setup: {
150
+ title: string;
151
+ rotate: string;
152
+ permission_denied: string;
153
+ camera: {
154
+ name: string;
155
+ WAITING: string;
156
+ ERROR: string;
157
+ READY: string;
158
+ };
159
+ microphone: {
160
+ name: string;
161
+ NO_SOUND: string;
162
+ WAITING: string;
163
+ ERROR: string;
164
+ READY: string;
165
+ };
166
+ internet: {
167
+ name: string;
168
+ TESTING: string;
169
+ SLOW: string;
170
+ CONNECTED: string;
171
+ NO_CONNECTED: string;
172
+ };
173
+ unsupported_device: {
174
+ IOS: string;
175
+ BROWSER: string;
176
+ INCOGNITO: string;
177
+ };
178
+ };
179
+ time: {
180
+ less_than_one_left: string;
181
+ minuteLeft: string;
182
+ minute_one: string;
183
+ minute_other: string;
184
+ second_one: string;
185
+ second_other: string;
186
+ };
187
+ practice: {
188
+ title: string;
189
+ subtitle: string;
190
+ label: string;
191
+ questions: {
192
+ numOfRetakes: number;
193
+ thinkingTime: number;
194
+ partDuration: number;
195
+ question: string;
196
+ description: string;
197
+ }[];
198
+ };
199
+ preview: {
200
+ title: string;
201
+ singleTake: string;
202
+ take: string;
203
+ };
204
+ upload: {
205
+ title: string;
206
+ subtitle: string;
207
+ errorInfo: string;
208
+ };
209
+ questionList: {
210
+ name: string;
211
+ };
212
+ recorder: {
213
+ explanation: {
214
+ take_one: string;
215
+ take_other: string;
216
+ remaining_take_one: string;
217
+ remaining_take_other: string;
218
+ question: {
219
+ name: string;
220
+ title: string;
221
+ questionThinkingTime: string;
222
+ videoQuestionThinkingTime: string;
223
+ videoQuestionNoThinkingTime: string;
224
+ showQuestion_btn: string;
225
+ watchQuestion_btn: string;
226
+ };
227
+ };
228
+ errors: {
229
+ MEDIA_PERMISSION: {
230
+ TITLE: string;
231
+ DETAILS: string;
232
+ CTA: string;
233
+ };
234
+ NO_SOUND: {
235
+ TITLE: string;
236
+ DETAILS: string;
237
+ DETAILS_MOBILE: string;
238
+ CTA: string;
239
+ };
240
+ CONNECTION: {
241
+ TITLE: string;
242
+ DETAILS: string;
243
+ };
244
+ };
245
+ permissions: {
246
+ title: string;
247
+ subtitle: string;
248
+ permission: string;
249
+ PERMISSION_STEPS: {
250
+ IOS: {
251
+ CHROME: string[];
252
+ SAFARI: string[];
253
+ };
254
+ ANDROID: {
255
+ CHROME: string[];
256
+ SAMSUNG: string[];
257
+ };
258
+ MACBOOK: {
259
+ CHROME: string[];
260
+ SAFARI: string[];
261
+ FIREFOX: string[];
262
+ };
263
+ WINDOWS: {
264
+ CHROME: string[];
265
+ FIREFOX: string[];
266
+ };
267
+ };
268
+ };
269
+ };
270
+ buttons: {
271
+ btn_watch_question: string;
272
+ btn_show_question: string;
273
+ btn_start_recording: string;
274
+ btn_stop_recording: string;
275
+ btn_try_again: string;
276
+ btn_internet_test_again: string;
277
+ btn_practice: string;
278
+ btn_start: string;
279
+ btn_retry: string;
280
+ btn_start_now: string;
281
+ RETAKE: string;
282
+ NEXT: string;
283
+ SUBMIT: string;
284
+ READY: string;
285
+ };
286
+ layout: {
287
+ footer: string;
288
+ at: string;
289
+ };
290
+ };
291
+ };
292
+ readonly es: {
293
+ readonly translation: {
294
+ setup: {
295
+ title: string;
296
+ rotate: string;
297
+ permission_denied: string;
298
+ camera: {
299
+ name: string;
300
+ WAITING: string;
301
+ ERROR: string;
302
+ READY: string;
303
+ };
304
+ microphone: {
305
+ name: string;
306
+ WAITING: string;
307
+ ERROR: string;
308
+ READY: string;
309
+ };
310
+ internet: {
311
+ name: string;
312
+ TESTING: string;
313
+ SLOW: string;
314
+ CONNECTED: string;
315
+ NO_CONNECTED: string;
316
+ };
317
+ unsupported_device: {
318
+ IOS: string;
319
+ BROWSER: string;
320
+ INCOGNITO: string;
321
+ };
322
+ };
323
+ time: {
324
+ less_than_one_left: string;
325
+ minuteLeft: string;
326
+ minute_one: string;
327
+ minute_other: string;
328
+ second_one: string;
329
+ second_other: string;
330
+ };
331
+ practice: {
332
+ title: string;
333
+ subtitle: string;
334
+ label: string;
335
+ };
336
+ preview: {
337
+ title: string;
338
+ singleTake: string;
339
+ take: string;
340
+ };
341
+ upload: {
342
+ title: string;
343
+ subtitle: string;
344
+ errorInfo: string;
345
+ };
346
+ questionList: {
347
+ name: string;
348
+ };
349
+ recorder: {
350
+ explanation: {
351
+ take_one: string;
352
+ take_other: string;
353
+ remaining_take_one: string;
354
+ remaining_take_other: string;
355
+ question: {
356
+ name: string;
357
+ title: string;
358
+ questionThinkingTime: string;
359
+ videoQuestionThinkingTime: string;
360
+ videoQuestionNoThinkingTime: string;
361
+ showQuestion_btn: string;
362
+ watchQuestion_btn: string;
363
+ };
364
+ };
365
+ errors: {
366
+ MEDIA_PERMISSION: {
367
+ TITLE: string;
368
+ DETAILS: string;
369
+ CTA: string;
370
+ };
371
+ NO_SOUND: {
372
+ TITLE: string;
373
+ DETAILS: string;
374
+ DETAILS_MOBILE: string;
375
+ CTA: string;
376
+ };
377
+ CONNECTION: {
378
+ TITLE: string;
379
+ DETAILS: string;
380
+ };
381
+ };
382
+ permissions: {
383
+ title: string;
384
+ subtitle: string;
385
+ permission: string;
386
+ PERMISSION_STEPS: {
387
+ IOS: {
388
+ CHROME: string[];
389
+ SAFARI: string[];
390
+ };
391
+ ANDROID: {
392
+ CHROME: string[];
393
+ SAMSUNG: string[];
394
+ };
395
+ MACBOOK: {
396
+ CHROME: string[];
397
+ SAFARI: string[];
398
+ FIREFOX: string[];
399
+ };
400
+ WINDOWS: {
401
+ CHROME: string[];
402
+ FIREFOX: string[];
403
+ };
404
+ };
405
+ };
406
+ };
407
+ buttons: {
408
+ btn_watch_question: string;
409
+ btn_show_question: string;
410
+ btn_start_recording: string;
411
+ btn_stop_recording: string;
412
+ btn_try_again: string;
413
+ btn_internet_test_again: string;
414
+ btn_practice: string;
415
+ btn_start: string;
416
+ btn_retry: string;
417
+ btn_start_now: string;
418
+ RETAKE: string;
419
+ NEXT: string;
420
+ SUBMIT: string;
421
+ READY: string;
422
+ };
423
+ layout: {
424
+ footer: string;
425
+ at: string;
426
+ };
427
+ };
428
+ };
429
+ };
430
+ export default i18n;
@@ -0,0 +1,2 @@
1
+ import { Widget } from './components/Widget';
2
+ export { Widget };