@myinterview/widget-react 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. package/README.md +46 -0
  2. package/dist/esm/App.d.ts +2 -0
  3. package/dist/esm/components/CountDown.d.ts +6 -0
  4. package/dist/esm/components/Counter.d.ts +8 -0
  5. package/dist/esm/components/DeviceSelector.d.ts +10 -0
  6. package/dist/esm/components/DeviceSelectorList.d.ts +9 -0
  7. package/dist/esm/components/DeviceSelectorListNative.d.ts +6 -0
  8. package/dist/esm/components/Error.d.ts +8 -0
  9. package/dist/esm/components/ErrorBoundaries.d.ts +9 -0
  10. package/dist/esm/components/Errors.d.ts +9 -0
  11. package/dist/esm/components/Explanation.d.ts +7 -0
  12. package/dist/esm/components/Footer.d.ts +2 -0
  13. package/dist/esm/components/Header.d.ts +10 -0
  14. package/dist/esm/components/InnerView.d.ts +12 -0
  15. package/dist/esm/components/Main.d.ts +8 -0
  16. package/dist/esm/components/OuterView.d.ts +8 -0
  17. package/dist/esm/components/PermissionSteps.d.ts +6 -0
  18. package/dist/esm/components/PracticeModeInfo.d.ts +8 -0
  19. package/dist/esm/components/PreviewItem.d.ts +10 -0
  20. package/dist/esm/components/PreviewList.d.ts +17 -0
  21. package/dist/esm/components/Question.d.ts +9 -0
  22. package/dist/esm/components/QuestionItem.d.ts +12 -0
  23. package/dist/esm/components/QuestionsList.d.ts +11 -0
  24. package/dist/esm/components/RecorderModal.d.ts +14 -0
  25. package/dist/esm/components/Setup.d.ts +6 -0
  26. package/dist/esm/components/SetupChecks.d.ts +14 -0
  27. package/dist/esm/components/SliderModal.d.ts +8 -0
  28. package/dist/esm/components/Upload.d.ts +13 -0
  29. package/dist/esm/components/VideoCamera.d.ts +28 -0
  30. package/dist/esm/components/VideoQuestion.d.ts +9 -0
  31. package/dist/esm/components/VideoTimeBar.d.ts +9 -0
  32. package/dist/esm/components/Widget.d.ts +9 -0
  33. package/dist/esm/components/icons/ClockIcon.d.ts +2 -0
  34. package/dist/esm/components/icons/Loading.d.ts +2 -0
  35. package/dist/esm/components/icons/NoCameraMic.d.ts +2 -0
  36. package/dist/esm/components/icons/PlayIcon.d.ts +6 -0
  37. package/dist/esm/components/icons/Retake.d.ts +2 -0
  38. package/dist/esm/components/icons/RotateScreenIcon.d.ts +2 -0
  39. package/dist/esm/components/ui/Loader.d.ts +2 -0
  40. package/dist/esm/components/ui/MicrophoneIndicator.d.ts +7 -0
  41. package/dist/esm/components/ui/PracticeMode.d.ts +2 -0
  42. package/dist/esm/components/ui/Progress.d.ts +6 -0
  43. package/dist/esm/components/ui/QuestionDuration.d.ts +6 -0
  44. package/dist/esm/components/ui/QuestionNumber.d.ts +7 -0
  45. package/dist/esm/components/ui/RecordingButton.d.ts +6 -0
  46. package/dist/esm/components/ui/RotateScreen.d.ts +2 -0
  47. package/dist/esm/components/ui/Signal.d.ts +9 -0
  48. package/dist/esm/components/ui/StartNowButton.d.ts +6 -0
  49. package/dist/esm/components/ui/StartRecordingButton.d.ts +10 -0
  50. package/dist/esm/components/ui/StopRecordingButton.d.ts +7 -0
  51. package/dist/esm/components/ui/UnsupportedModal.d.ts +6 -0
  52. package/dist/esm/config/index.d.ts +6 -0
  53. package/dist/esm/config/local.env.d.ts +6 -0
  54. package/dist/esm/config/prod.env.d.ts +6 -0
  55. package/dist/esm/config/staging.env.d.ts +6 -0
  56. package/dist/esm/i18n/config.d.ts +430 -0
  57. package/dist/esm/index.d.ts +2 -0
  58. package/dist/esm/index.js +32177 -0
  59. package/dist/esm/index.js.map +1 -0
  60. package/dist/esm/interfaces/candidateInterface.d.ts +10 -0
  61. package/dist/esm/interfaces/candidateSessionInterface.d.ts +78 -0
  62. package/dist/esm/interfaces/companyInterface.d.ts +3 -0
  63. package/dist/esm/interfaces/configInterface.d.ts +33 -0
  64. package/dist/esm/interfaces/jobInterface.d.ts +22 -0
  65. package/dist/esm/interfaces/microphoneInterface.d.ts +36 -0
  66. package/dist/esm/interfaces/networkInterface.d.ts +9 -0
  67. package/dist/esm/interfaces/previewInterface.d.ts +14 -0
  68. package/dist/esm/interfaces/recorderInterface.d.ts +110 -0
  69. package/dist/esm/interfaces/storageInterface.d.ts +29 -0
  70. package/dist/esm/interfaces/uploaderInterface.d.ts +39 -0
  71. package/dist/esm/interfaces/videoInterface.d.ts +54 -0
  72. package/dist/esm/interfaces/widgetInterface.d.ts +192 -0
  73. package/dist/esm/machines/acceleratorMachines/accUploaderMachine.d.ts +6 -0
  74. package/dist/esm/machines/acceleratorMachines/accWidgetMachine.d.ts +6 -0
  75. package/dist/esm/machines/acceleratorMachines/microphoneMachine.d.ts +6 -0
  76. package/dist/esm/machines/acceleratorMachines/networkMachine.d.ts +5 -0
  77. package/dist/esm/machines/acceleratorMachines/previewMachine.d.ts +6 -0
  78. package/dist/esm/machines/acceleratorMachines/recorderMachineV2.d.ts +6 -0
  79. package/dist/esm/machines/acceleratorMachines/storageMachine.d.ts +6 -0
  80. package/dist/esm/reportWebVitals.d.ts +3 -0
  81. package/dist/esm/services/axiosInstances.service.d.ts +3 -0
  82. package/dist/esm/services/s3.service.d.ts +1 -0
  83. package/dist/esm/services/session.service.d.ts +46 -0
  84. package/dist/esm/services/speedTest.service.d.ts +2 -0
  85. package/dist/esm/services/video.service.d.ts +7 -0
  86. package/dist/esm/setupTests.d.ts +1 -0
  87. package/dist/esm/utils/constants.utils.d.ts +9 -0
  88. package/dist/esm/utils/device.utils.d.ts +12 -0
  89. package/dist/esm/utils/errors.utils.d.ts +9 -0
  90. package/dist/esm/utils/formatters.utils.d.ts +5 -0
  91. package/dist/esm/utils/messages.utils.d.ts +16 -0
  92. package/dist/esm/utils/practiceQuestions.utils.d.ts +2 -0
  93. package/dist/esm/utils/sentry.utils.d.ts +4 -0
  94. package/dist/esm/utils/statusCodes.utils.d.ts +13 -0
  95. package/dist/index.d.ts +117 -0
  96. package/package.json +98 -0
package/README.md ADDED
@@ -0,0 +1,46 @@
1
+ # Getting Started with Create React App
2
+
3
+ This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
4
+
5
+ ## Available Scripts
6
+
7
+ In the project directory, you can run:
8
+
9
+ ### `npm start`
10
+
11
+ Runs the app in the development mode.\
12
+ Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
13
+
14
+ The page will reload if you make edits.\
15
+ You will also see any lint errors in the console.
16
+
17
+ ### `npm test`
18
+
19
+ Launches the test runner in the interactive watch mode.\
20
+ See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
21
+
22
+ ### `npm run build`
23
+
24
+ Builds the app for production to the `build` folder.\
25
+ It correctly bundles React in production mode and optimizes the build for the best performance.
26
+
27
+ The build is minified and the filenames include the hashes.\
28
+ Your app is ready to be deployed!
29
+
30
+ See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
31
+
32
+ ### `npm run eject`
33
+
34
+ **Note: this is a one-way operation. Once you `eject`, you can’t go back!**
35
+
36
+ If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
37
+
38
+ Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.
39
+
40
+ You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.
41
+
42
+ ## Learn More
43
+
44
+ You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
45
+
46
+ To learn React, check out the [React documentation](https://reactjs.org/).
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const App: React.FC;
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ interface CountDownProps {
3
+ countDown: number;
4
+ }
5
+ export declare const CountDown: ({ countDown }: CountDownProps) => JSX.Element;
6
+ export {};
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ interface CounterProps {
3
+ counter: number;
4
+ limit: number;
5
+ isRecording: boolean;
6
+ }
7
+ export declare const Counter: ({ counter, limit, isRecording }: CounterProps) => JSX.Element;
8
+ export {};
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ import { mediaDeviceType } from '../interfaces/recorderInterface';
3
+ export interface IDeviceSelectorProps {
4
+ handleDeviceChange: (type?: mediaDeviceType, id?: string) => void;
5
+ audioDevices?: MediaDeviceInfo[];
6
+ videoDevices?: MediaDeviceInfo[];
7
+ selectedAudioDevice?: MediaDeviceInfo;
8
+ selectedVideoDevice?: MediaDeviceInfo;
9
+ }
10
+ export declare const DeviceSelector: ({ handleDeviceChange, videoDevices, audioDevices, selectedAudioDevice, selectedVideoDevice, }: IDeviceSelectorProps) => JSX.Element;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { mediaDeviceType } from '../interfaces/recorderInterface';
3
+ export interface IDeviceSelectorList {
4
+ deviceList: MediaDeviceInfo[];
5
+ selectedDevice?: MediaDeviceInfo;
6
+ onDeviceSelected: (type: mediaDeviceType, deviceId: string) => void;
7
+ deviceType: mediaDeviceType;
8
+ }
9
+ export declare const DeviceSelectorList: React.FC<IDeviceSelectorList>;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { IDeviceSelectorList } from './DeviceSelectorList';
3
+ interface IProps extends IDeviceSelectorList {
4
+ }
5
+ export declare const DeviceSelectorListNative: React.FC<IProps>;
6
+ export {};
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { IVideoError } from '../utils/errors.utils';
3
+ interface IProps {
4
+ error: IVideoError | null;
5
+ onRetry: () => void;
6
+ }
7
+ export declare const Error: React.FC<IProps>;
8
+ export {};
@@ -0,0 +1,9 @@
1
+ import React, { ErrorInfo, ReactChild } from 'react';
2
+ export declare class ErrorBoundary extends React.Component {
3
+ constructor(props: ReactChild);
4
+ static getDerivedStateFromError(): {
5
+ hasError: boolean;
6
+ };
7
+ componentDidCatch(error: Error, errorInfo: ErrorInfo): void;
8
+ render(): React.ReactNode;
9
+ }
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { IDeviceSelectorList } from './DeviceSelectorList';
3
+ export declare type MODAL_ERROR_KEY = 'MEDIA_PERMISSION' | 'NO_SOUND' | 'CONNECTION';
4
+ interface IProps extends Partial<IDeviceSelectorList> {
5
+ errorType: MODAL_ERROR_KEY;
6
+ onDisplayPermissionSteps?: () => void;
7
+ }
8
+ export declare const Errors: React.FC<IProps>;
9
+ export {};
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ interface IProps {
3
+ isVideoQuestion: boolean;
4
+ thinkingTime: number;
5
+ }
6
+ export declare const Explanation: React.FC<IProps>;
7
+ export {};
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const Footer: React.FC;
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ interface IProps {
3
+ logo: string;
4
+ companyName: string;
5
+ jobTitle: string;
6
+ hidden?: boolean;
7
+ forDesktopLayout?: boolean;
8
+ }
9
+ export declare const Header: React.FC<IProps>;
10
+ export {};
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import { ActorRef, DoneInvokeEvent } from 'xstate';
3
+ import { IWidgetMachineProps } from '../interfaces/widgetInterface';
4
+ interface IProps extends IWidgetMachineProps {
5
+ recorderRef: ActorRef<DoneInvokeEvent<any>, any>;
6
+ isSliderModalOpen: boolean;
7
+ onOpenSliderModal: () => void;
8
+ onCloseSliderModal: () => void;
9
+ onRecorderRetry: () => void;
10
+ }
11
+ export declare const InnerView: React.ForwardRefExoticComponent<IProps & React.RefAttributes<HTMLVideoElement>>;
12
+ export {};
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { IConfig } from '../interfaces/configInterface';
3
+ interface IProps {
4
+ config: IConfig;
5
+ setShouldShowWaterMark: React.Dispatch<React.SetStateAction<boolean>>;
6
+ }
7
+ export declare const Main: React.FC<IProps>;
8
+ export {};
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { ActorRef, DoneInvokeEvent } from 'xstate';
3
+ import { IWidgetMachineProps } from '../interfaces/widgetInterface';
4
+ interface IProps extends IWidgetMachineProps {
5
+ recorderRef: ActorRef<DoneInvokeEvent<any>, any>;
6
+ }
7
+ export declare const OuterView: React.FC<IProps>;
8
+ export {};
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ interface IProps {
3
+ onRetry: () => void;
4
+ }
5
+ export declare const PermissionSteps: React.FC<IProps>;
6
+ export {};
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ interface IProps {
3
+ isCountDown: boolean;
4
+ isQuestionDisplayed: boolean;
5
+ isUploadingState: boolean;
6
+ }
7
+ export declare const PracticeModeInfo: React.FC<IProps>;
8
+ export {};
@@ -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 {};
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ import { DoneInvokeEvent, ActorRef } from 'xstate';
3
+ interface IProps {
4
+ previewRef: ActorRef<DoneInvokeEvent<any>>;
5
+ onNextQuestion: (questionNumber: number) => void;
6
+ onNextRetake: () => void;
7
+ onQuestionMode: () => void;
8
+ isRetakeAvailable: boolean;
9
+ totalRetakes: number;
10
+ isLastQuestion: boolean;
11
+ isQuestionMode: boolean;
12
+ isConnected: boolean;
13
+ currentQuestion: number;
14
+ numberOfQuestions: number;
15
+ }
16
+ export declare const PreviewList: React.FC<IProps>;
17
+ export {};
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { IQuestion } from '../interfaces/jobInterface';
3
+ interface IProps {
4
+ questionObj: IQuestion;
5
+ currentQuestion: number;
6
+ isInner?: boolean;
7
+ }
8
+ export declare const Question: React.FC<IProps>;
9
+ export {};
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import { IQuestion } from '../interfaces/jobInterface';
3
+ import { VIDEO_STATUS } from '../interfaces/videoInterface';
4
+ interface IProps {
5
+ questionObj: IQuestion;
6
+ questionNumber: number;
7
+ currentQuestion: number;
8
+ isPracticeMode: boolean;
9
+ questionStatus: VIDEO_STATUS;
10
+ }
11
+ export declare const QuestionItem: React.FC<IProps>;
12
+ export {};
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { IQuestion } from '../interfaces/jobInterface';
3
+ import { VIDEO_STATUS } from '../interfaces/videoInterface';
4
+ interface IProps {
5
+ questions: IQuestion[];
6
+ currentQuestion: number;
7
+ isPracticeMode: boolean;
8
+ questionsStatus: VIDEO_STATUS[];
9
+ }
10
+ export declare const QuestionsList: React.FC<IProps>;
11
+ export {};
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import { IQuestion } from '../interfaces/jobInterface';
3
+ import { IDeviceSelectorList } from './DeviceSelectorList';
4
+ import { MODAL_ERROR_KEY } from './Errors';
5
+ interface IProps extends IDeviceSelectorList {
6
+ errorType: MODAL_ERROR_KEY | null;
7
+ onDisplayPermissionSteps: () => void;
8
+ currentQuestion: number;
9
+ numberOfQuestions: number;
10
+ currentQuestionObj: IQuestion | undefined;
11
+ isRecording: boolean;
12
+ }
13
+ export declare const RecorderModal: React.FC<IProps>;
14
+ export {};
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { IWidgetMachineProps } from '../interfaces/widgetInterface';
3
+ interface IProps extends IWidgetMachineProps {
4
+ }
5
+ export declare const Setup: React.FC<IProps>;
6
+ export {};
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import { IChecksState } from '../interfaces/widgetInterface';
3
+ interface IProps {
4
+ checksState: IChecksState;
5
+ checksMessages: {
6
+ camera: string;
7
+ microphone: string;
8
+ internet: string;
9
+ };
10
+ canRetrySpeedTest: boolean;
11
+ onRetry: () => void;
12
+ }
13
+ export declare const SetupChecks: React.FC<IProps>;
14
+ export {};
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ interface IProps {
3
+ isOpen: boolean;
4
+ onClose: () => void;
5
+ onRetry: () => void;
6
+ }
7
+ export declare const SliderModal: React.FC<IProps>;
8
+ export {};
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ interface IProps {
3
+ isConnected: boolean;
4
+ totalFileSize: number;
5
+ totalUploadedFilesSize: {
6
+ [questionNumber: string]: number;
7
+ };
8
+ totalUploadSpeed: {
9
+ [questionNumber: string]: number;
10
+ };
11
+ }
12
+ export declare const Upload: React.FC<IProps>;
13
+ export {};
@@ -0,0 +1,28 @@
1
+ import React from 'react';
2
+ import { ActorRef, DoneInvokeEvent } from 'xstate';
3
+ import { IQuestion } from '../interfaces/jobInterface';
4
+ import { IDeviceSelectorProps } from './DeviceSelector';
5
+ import { MODAL_ERROR_KEY } from './Errors';
6
+ interface IProps extends IDeviceSelectorProps {
7
+ isCameraDisplayed: boolean;
8
+ microphoneRef: ActorRef<DoneInvokeEvent<any>, any> | null;
9
+ isPracticeModeDisplayed: boolean;
10
+ errorType: MODAL_ERROR_KEY | null;
11
+ isPermissionStepsOpen: boolean;
12
+ onDisplayPermissionSteps: () => void;
13
+ onClosePermissionSteps: () => void;
14
+ onRecorderRetry: () => void;
15
+ isRecorderCanChangeSettings: boolean;
16
+ canStartRecording: boolean;
17
+ currentQuestion: number;
18
+ numberOfQuestions: number;
19
+ currentQuestionObj: IQuestion | undefined;
20
+ isRecording: boolean;
21
+ durations: number;
22
+ recordingTime: number;
23
+ isCountDown: boolean;
24
+ countdown: number;
25
+ isQuestionDisplayed: boolean;
26
+ }
27
+ export declare const VideoCamera: React.ForwardRefExoticComponent<IProps & React.RefAttributes<HTMLVideoElement>>;
28
+ export {};
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ interface IProps {
3
+ src: string;
4
+ isThinkingTime: boolean;
5
+ onVideoEnds: () => void;
6
+ hidden?: boolean;
7
+ }
8
+ export declare const VideoQuestion: React.FC<IProps>;
9
+ export {};
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ interface IProps {
3
+ duration: number;
4
+ currentTime: number;
5
+ isThinkingTime: boolean;
6
+ onChangeTime: (currentTime: number, playing: boolean) => void;
7
+ }
8
+ export declare const VideoTimeBar: React.FC<IProps>;
9
+ export {};
@@ -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 {};
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const ClockIcon: React.FC;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const Loading: React.FC;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const NoCameraMic: React.FC;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ interface IProps {
3
+ playing: boolean;
4
+ }
5
+ export declare const PlayIcon: React.FC<IProps>;
6
+ export {};
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const Retake: React.FC;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const RotateScreenIcon: React.FC;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const Loader: React.FC;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { ActorRef, DoneInvokeEvent } from 'xstate';
3
+ interface IProps {
4
+ microphoneRef: ActorRef<DoneInvokeEvent<any>, any>;
5
+ }
6
+ export declare const MicrophoneIndicator: React.FC<IProps>;
7
+ export {};
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const PracticeMode: React.FC;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ interface IProps {
3
+ progress: number;
4
+ }
5
+ export declare const Progress: React.FC<IProps>;
6
+ export {};
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ interface IProps {
3
+ duration: number;
4
+ }
5
+ export declare const QuestionDuration: React.FC<IProps>;
6
+ export {};
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ interface IProps {
3
+ currentQuestion: number;
4
+ numberOfQuestions: number;
5
+ }
6
+ export declare const QuestionNumber: React.FC<IProps>;
7
+ export {};
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ interface IProps {
3
+ isRecording?: boolean;
4
+ }
5
+ export declare const RecordingButton: React.FC<IProps>;
6
+ export {};
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const RotateScreen: React.FC;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { ActorRef, DoneInvokeEvent } from 'xstate';
3
+ interface IProps {
4
+ microphoneRef: ActorRef<DoneInvokeEvent<any>, any>;
5
+ activeColor?: string;
6
+ inactiveColor?: string;
7
+ }
8
+ export declare const Signal: React.FC<IProps>;
9
+ export {};
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ interface IProps {
3
+ onClick: () => void;
4
+ }
5
+ export declare const StartNowButton: React.FC<IProps>;
6
+ export {};
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ interface IProps {
3
+ onClick: () => void;
4
+ disabled: boolean;
5
+ isExplanationState: boolean;
6
+ isVideoQuestionState: boolean;
7
+ isVideoQuestion: boolean;
8
+ }
9
+ export declare const StartRecordingButton: React.FC<IProps>;
10
+ export {};
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ interface IProps {
3
+ onClick: () => void;
4
+ disabled: boolean;
5
+ }
6
+ export declare const StopRecordingButton: React.FC<IProps>;
7
+ export {};
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ interface IProps {
3
+ messageType: 'IOS' | 'BROWSER' | 'INCOGNITO';
4
+ }
5
+ export declare const UnsupportedModal: React.FC<IProps>;
6
+ export {};
@@ -0,0 +1,6 @@
1
+ declare let config: {
2
+ serverUrl: string;
3
+ INTERCOM_APP_ID: string;
4
+ SENTRY_DSN: string;
5
+ };
6
+ export default config;
@@ -0,0 +1,6 @@
1
+ declare const local_config: {
2
+ serverUrl: string;
3
+ INTERCOM_APP_ID: string;
4
+ SENTRY_DSN: string;
5
+ };
6
+ export default local_config;
@@ -0,0 +1,6 @@
1
+ declare const prod_config: {
2
+ serverUrl: string;
3
+ INTERCOM_APP_ID: string;
4
+ SENTRY_DSN: string;
5
+ };
6
+ export default prod_config;
@@ -0,0 +1,6 @@
1
+ declare const staging_config: {
2
+ serverUrl: string;
3
+ INTERCOM_APP_ID: string;
4
+ SENTRY_DSN: string;
5
+ };
6
+ export default staging_config;