@myinterview/widget-react 1.0.37-beta-30edb9a → 1.0.311
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/esm/App.d.ts +0 -1
- package/dist/esm/components/DeviceSelector.d.ts +2 -3
- package/dist/esm/components/InnerView.d.ts +0 -1
- package/dist/esm/components/Main.d.ts +0 -1
- package/dist/esm/components/PreviewItem.d.ts +0 -1
- package/dist/esm/components/PreviewList.d.ts +0 -1
- package/dist/esm/components/VideoCamera.d.ts +0 -1
- package/dist/esm/components/Widget.d.ts +1 -1
- package/dist/esm/index.js +7328 -7402
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/interfaces/configInterface.d.ts +1 -1
- package/dist/esm/interfaces/recorderInterface.d.ts +1 -2
- package/dist/esm/utils/recorderErrors.utils.d.ts +0 -1
- package/dist/index.d.ts +1 -1
- package/package.json +9 -115
package/dist/esm/App.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { mediaDeviceType } from '../interfaces/recorderInterface';
|
|
3
3
|
export interface IDeviceSelectorProps {
|
|
4
4
|
handleDeviceChange: (type?: mediaDeviceType, id?: string) => void;
|
|
@@ -6,6 +6,5 @@ export interface IDeviceSelectorProps {
|
|
|
6
6
|
videoDevices?: MediaDeviceInfo[];
|
|
7
7
|
selectedAudioDevice?: MediaDeviceInfo;
|
|
8
8
|
selectedVideoDevice?: MediaDeviceInfo;
|
|
9
|
-
myinterviewRef: React.RefObject<HTMLDivElement>;
|
|
10
9
|
}
|
|
11
|
-
export declare const DeviceSelector: ({ handleDeviceChange, videoDevices, audioDevices, selectedAudioDevice, selectedVideoDevice,
|
|
10
|
+
export declare const DeviceSelector: ({ handleDeviceChange, videoDevices, audioDevices, selectedAudioDevice, selectedVideoDevice, }: IDeviceSelectorProps) => JSX.Element;
|
|
@@ -9,7 +9,6 @@ interface IProps extends IWidgetMachineProps {
|
|
|
9
9
|
onCloseSliderModal: () => void;
|
|
10
10
|
onRecorderRetry: () => void;
|
|
11
11
|
onReInitRecorder: () => void;
|
|
12
|
-
myinterviewRef: React.RefObject<HTMLDivElement>;
|
|
13
12
|
}
|
|
14
13
|
export declare const InnerView: React.ForwardRefExoticComponent<IProps & React.RefAttributes<HTMLVideoElement>>;
|
|
15
14
|
export {};
|
|
@@ -3,7 +3,6 @@ import { IWidgetConfig } from '../interfaces/configInterface';
|
|
|
3
3
|
interface IProps {
|
|
4
4
|
widgetConfig: IWidgetConfig;
|
|
5
5
|
setShouldShowWaterMark: React.Dispatch<React.SetStateAction<boolean>>;
|
|
6
|
-
myinterviewRef: React.RefObject<HTMLDivElement>;
|
|
7
6
|
isWidgetMinimized: boolean;
|
|
8
7
|
}
|
|
9
8
|
export declare const Main: React.FC<IProps>;
|
|
@@ -24,7 +24,6 @@ interface IProps extends IDeviceSelectorProps {
|
|
|
24
24
|
isCountDown: boolean;
|
|
25
25
|
countdown: number;
|
|
26
26
|
isQuestionDisplayed: boolean;
|
|
27
|
-
myinterviewRef: React.RefObject<HTMLDivElement>;
|
|
28
27
|
}
|
|
29
28
|
export declare const VideoCamera: React.ForwardRefExoticComponent<IProps & React.RefAttributes<HTMLVideoElement>>;
|
|
30
29
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import '../assets/styles/font.scss';
|
|
3
2
|
import { IClientWidgetConfig } from '../interfaces/configInterface';
|
|
3
|
+
import '../assets/styles/global.scss';
|
|
4
4
|
import { getToken } from '../utils/authToken.utils';
|
|
5
5
|
export declare const Widget: React.FC<IClientWidgetConfig>;
|
|
6
6
|
export { getToken };
|