@myinterview/widget-react 1.1.23-revert-dev-deps-001 → 1.1.23-svg-check
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/components/CountDown.d.ts +2 -2
- package/dist/cjs/components/Counter.d.ts +2 -2
- package/dist/cjs/components/DeviceSelector.d.ts +1 -1
- package/dist/cjs/index.js +273 -274
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/interfaces/widgetInterface.d.ts +2 -7
- package/dist/cjs/services/event.service.d.ts +1 -6
- package/dist/cjs/utils/constants.utils.d.ts +0 -1
- package/dist/esm/components/CountDown.d.ts +2 -2
- package/dist/esm/components/Counter.d.ts +2 -2
- package/dist/esm/components/DeviceSelector.d.ts +1 -1
- package/dist/esm/index.js +259 -260
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/interfaces/widgetInterface.d.ts +2 -7
- package/dist/esm/services/event.service.d.ts +1 -6
- package/dist/esm/utils/constants.utils.d.ts +0 -1
- package/package.json +98 -98
|
@@ -78,7 +78,6 @@ export interface InitialState {
|
|
|
78
78
|
failedRecordingMessage: IVideoCorruptedMessagesKey;
|
|
79
79
|
isResumed: boolean;
|
|
80
80
|
videoDimensions: IVideoDimensions;
|
|
81
|
-
confirmUploadedFalseCount: number;
|
|
82
81
|
}
|
|
83
82
|
export interface IWidgetMachineProps {
|
|
84
83
|
widgetMachine: State<InitialState, DoneInvokeEvent<any>, any, {
|
|
@@ -123,7 +122,6 @@ export declare const enum STATES {
|
|
|
123
122
|
RE_INIT_RECORDER__NEXT_QUESTION = "reInitRecorderNextQuestion",
|
|
124
123
|
UPLOADING = "uploading",
|
|
125
124
|
CONFIRM = "confirm",
|
|
126
|
-
CONFIRM_WATING = "confirmWaiting",
|
|
127
125
|
FINISHED = "finished",
|
|
128
126
|
ERROR = "error"
|
|
129
127
|
}
|
|
@@ -175,8 +173,7 @@ export declare const enum ACTIONS {
|
|
|
175
173
|
INCREASE_FAILED_RECORDING_ATTEMPTS = "increaseFailedRecordingAttempts",
|
|
176
174
|
RESET_FAILED_RECORDING_ATTEMPTS = "resetFailedRecordingAttempts",
|
|
177
175
|
CLEAR_VIDEO_ERROR = "clearVideoError",
|
|
178
|
-
UPDATE_VIDEO_DIMENSIONS = "updateVideoDimensions"
|
|
179
|
-
UPDATE_UPLOADED_FALSE_COUNT = "updateUploadedFalseCount"
|
|
176
|
+
UPDATE_VIDEO_DIMENSIONS = "updateVideoDimensions"
|
|
180
177
|
}
|
|
181
178
|
export declare const enum EVENTS {
|
|
182
179
|
SPAWN_UPLOADER = "SPAWN_UPLOADER",
|
|
@@ -228,8 +225,7 @@ export declare const enum GUARDS {
|
|
|
228
225
|
THERE_ARE_NO_VIDEO_QUESTIONS_TYPE = "thereAreNoVideoQuestionType",
|
|
229
226
|
IS_RECORDER_READY = "isRecorderReady",
|
|
230
227
|
IS_ASSESSMENT_QUESTION = "isAssessmentQuestion",
|
|
231
|
-
IS_TIMES_UP = "isTimesUp"
|
|
232
|
-
SHOULD_TRY_TO_CONFIRM = "shouldTryToConfirm"
|
|
228
|
+
IS_TIMES_UP = "isTimesUp"
|
|
233
229
|
}
|
|
234
230
|
export declare const enum TAGS {
|
|
235
231
|
SETUP = "setup",
|
|
@@ -238,7 +234,6 @@ export declare const enum TAGS {
|
|
|
238
234
|
DISPLAY_OUTER_VIEW = "displayOuterView",
|
|
239
235
|
DISPLAY_QUESTION = "displayQuestion",
|
|
240
236
|
DISPLAY_QUESTIONS_LIST = "displayQuestionsList",
|
|
241
|
-
DISPLAY_UPLOAD = "displayUpload",
|
|
242
237
|
LOADING = "loading"
|
|
243
238
|
}
|
|
244
239
|
export {};
|
|
@@ -43,12 +43,7 @@ export declare const enum EVENT_TYPES {
|
|
|
43
43
|
MICROPHONE_CHANGED = "microphoneChanged",
|
|
44
44
|
SOUND_RESTORED = "soundRestored",
|
|
45
45
|
TIMES_UP = "timesUp",
|
|
46
|
-
COMPLETED_INTERVIEW = "completedInterview"
|
|
47
|
-
RECONNECTED = "reconnected",
|
|
48
|
-
CONFIRM_UPLOADED_FAILED = "confirmUploadedFailed",
|
|
49
|
-
FINISHED = "finished",
|
|
50
|
-
ON_FINISH_SUCCEED = "onFinishSucceed",
|
|
51
|
-
ON_FINISH_FAILED = "onFinishFailed"
|
|
46
|
+
COMPLETED_INTERVIEW = "completedInterview"
|
|
52
47
|
}
|
|
53
48
|
export type IEventType = `${EVENT_TYPES}`;
|
|
54
49
|
export interface ITrackEvent {
|
|
@@ -17,7 +17,6 @@ export declare const DEFAULT_VIDEO_DIMENSIONS: {
|
|
|
17
17
|
width: number;
|
|
18
18
|
height: number;
|
|
19
19
|
};
|
|
20
|
-
export declare const MAX_CONFIRM_ATTEMPTS = 5;
|
|
21
20
|
export declare const FONT_URL = "https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600;700&display=swap";
|
|
22
21
|
export declare enum RETAKE_SPEED {
|
|
23
22
|
FAST = 300,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
interface CountDownProps {
|
|
3
3
|
countDown: number;
|
|
4
4
|
forceMobileCounter?: boolean;
|
|
5
5
|
numberOfSecondsToHighlight?: number;
|
|
6
6
|
}
|
|
7
|
-
export declare const CountDown: ({ countDown, forceMobileCounter, numberOfSecondsToHighlight }: CountDownProps) => JSX.Element;
|
|
7
|
+
export declare const CountDown: ({ countDown, forceMobileCounter, numberOfSecondsToHighlight }: CountDownProps) => React.JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
interface CounterProps {
|
|
3
3
|
counter: number;
|
|
4
4
|
limit: number;
|
|
5
5
|
isRecording: boolean;
|
|
6
6
|
}
|
|
7
|
-
export declare const Counter: ({ counter, limit, isRecording }: CounterProps) => JSX.Element;
|
|
7
|
+
export declare const Counter: ({ counter, limit, isRecording }: CounterProps) => React.JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -9,4 +9,4 @@ export interface IDeviceSelectorProps {
|
|
|
9
9
|
myinterviewRef: React.RefObject<HTMLDivElement>;
|
|
10
10
|
recordWithoutVideo?: boolean;
|
|
11
11
|
}
|
|
12
|
-
export declare const DeviceSelector: ({ handleDeviceChange, videoDevices, audioDevices, selectedAudioDevice, selectedVideoDevice, myinterviewRef, recordWithoutVideo, }: IDeviceSelectorProps) => JSX.Element;
|
|
12
|
+
export declare const DeviceSelector: ({ handleDeviceChange, videoDevices, audioDevices, selectedAudioDevice, selectedVideoDevice, myinterviewRef, recordWithoutVideo, }: IDeviceSelectorProps) => React.JSX.Element;
|