interview-widget 3.1.0 → 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/README.md +8 -6
- 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/types.d.ts +1 -0
- package/dist/widget.css +1 -1
- package/dist/widget.es.js +2562 -2520
- package/dist/widget.umd.js +6 -6
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -208,12 +208,14 @@ Pass this object to `InterviewWidgetProvider` via the `config` prop. Tables list
|
|
|
208
208
|
|
|
209
209
|
### Interview
|
|
210
210
|
|
|
211
|
-
| Prop
|
|
212
|
-
|
|
|
213
|
-
|
|
|
214
|
-
|
|
|
215
|
-
|
|
|
216
|
-
|
|
|
211
|
+
| Prop | Type | Default | Description |
|
|
212
|
+
| -------------------- | --------- | ------- | ------------------------------------------ |
|
|
213
|
+
| allow_answer_editing | `boolean` | true | Enable/disable answer editing phase |
|
|
214
|
+
| capture_screenshots | `boolean` | false | Enable/disable periodic screenshot captures |
|
|
215
|
+
| timers | `object` | [see below](#timers) | Per-phase and global timing configuration |
|
|
216
|
+
| stt | `object` | [see below](#stt-speech-to-text) | Speech-to-Text provider settings |
|
|
217
|
+
| tts | `object` | [see below](#tts-text-to-speech) | Text-to-Speech provider settings |
|
|
218
|
+
| proctoring | `object` | [see below](#proctoring) | Proctoring settings and cheating detection |
|
|
217
219
|
|
|
218
220
|
#### Timers
|
|
219
221
|
|
|
@@ -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
|
}
|