interview-widget 3.1.1 → 3.1.2
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/components/interview/proctoring/gaze-detection/config/gaze-modal-config.d.ts +1 -0
- package/dist/components/interview/proctoring/gaze-detection/hooks/use-face-analysis.d.ts +1 -1
- package/dist/components/interview/proctoring/gaze-detection/hooks/use-reference-manager.d.ts +1 -0
- package/dist/components/media/video-feed.d.ts +3 -1
- package/dist/widget.css +1 -1
- package/dist/widget.es.js +1941 -1920
- package/dist/widget.umd.js +6 -6
- package/package.json +1 -1
|
@@ -5,6 +5,7 @@ export declare const GazeWarningType: {
|
|
|
5
5
|
readonly MULTIPLE_FACES: "multiple_faces";
|
|
6
6
|
readonly LOOKING_AWAY: "looking_away";
|
|
7
7
|
readonly CAMERA_ERROR: "camera_error";
|
|
8
|
+
readonly MODEL_LOADING: "model_loading";
|
|
8
9
|
};
|
|
9
10
|
export type GazeWarningTypeValue = (typeof GazeWarningType)[keyof typeof GazeWarningType];
|
|
10
11
|
export declare const warningConfigs: Record<GazeWarningTypeValue, GazeWarningConfig>;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { GazeWarningTypeValue } from '../interview/proctoring/gaze-detection/config/gaze-modal-config';
|
|
1
2
|
export interface VideoFeedHandle {
|
|
2
3
|
setReference: () => void;
|
|
4
|
+
resetReference: () => void;
|
|
3
5
|
stopCamera: () => void;
|
|
4
6
|
}
|
|
5
7
|
interface VideoFeedProps {
|
|
@@ -9,7 +11,7 @@ interface VideoFeedProps {
|
|
|
9
11
|
showProctoringUI?: boolean;
|
|
10
12
|
onSetReference?: () => void;
|
|
11
13
|
isAnswering?: boolean;
|
|
12
|
-
onProctoringStatusChange?: (status:
|
|
14
|
+
onProctoringStatusChange?: (status: GazeWarningTypeValue) => void;
|
|
13
15
|
showStatusOverlay?: boolean;
|
|
14
16
|
cheatingWarningVisible?: boolean;
|
|
15
17
|
}
|