react-covideo-embed 1.0.18 → 1.0.20
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/build/app/pages/insertVideo/components/VehicleSearch.d.ts +3 -3
- package/build/app/pages/recordv1/ChooseRecordingOptions.d.ts +10 -0
- package/build/app/pages/recordv1/Countdown.d.ts +9 -0
- package/build/app/pages/recordv1/DroplrFilesTabContent.d.ts +8 -0
- package/build/app/pages/recordv1/FolderDropdown.d.ts +17 -0
- package/build/app/pages/recordv1/ModalRecordingVideoSettings.d.ts +5 -0
- package/build/app/pages/recordv1/ModalTeleprompterRecord.d.ts +8 -0
- package/build/app/pages/recordv1/ModalVideoTags.d.ts +2 -0
- package/build/app/pages/recordv1/ProgressCircle.d.ts +8 -0
- package/build/app/pages/recordv1/RecordBoth.d.ts +9 -0
- package/build/app/pages/recordv1/RecordCam.d.ts +9 -0
- package/build/app/pages/recordv1/RecordCamLoader.d.ts +3 -0
- package/build/app/pages/recordv1/RecordHome.d.ts +1 -0
- package/build/app/pages/recordv1/RecorderBody.d.ts +11 -0
- package/build/app/pages/recordv1/RecordingHeadingWithRouteGuard.d.ts +9 -0
- package/build/app/pages/recordv1/ScreenRecorder.d.ts +9 -0
- package/build/app/pages/recordv1/Scroller.d.ts +6 -0
- package/build/app/pages/recordv1/Teleprompter/BaseTeleprompterActions.d.ts +6 -0
- package/build/app/pages/recordv1/Teleprompter/RecordingTeleprompterActions.d.ts +1 -0
- package/build/app/pages/recordv1/Teleprompter/TeleprompterActions.d.ts +6 -0
- package/build/app/pages/recordv1/Teleprompter/TeleprompterDisplay.d.ts +6 -0
- package/build/app/pages/recordv1/UploadLoader.d.ts +17 -0
- package/build/app/pages/recordv1/VideoRecorderActions.d.ts +13 -0
- package/build/app/pages/recordv1/VideoTag.d.ts +1 -0
- package/build/app/pages/recordv1/VideoUploadFolderDropdown.d.ts +25 -0
- package/build/app/pages/recordv1/VirtualBackgroundsButton.d.ts +14 -0
- package/build/app/pages/recordv1/detailsPreview/DetailsPreview.d.ts +2 -0
- package/build/app/pages/recordv1/detailsPreview/form/DetailsPreviewAtrributesHeader.d.ts +1 -0
- package/build/app/pages/recordv1/detailsPreview/form/DetailsPreviewHeader.d.ts +7 -0
- package/build/app/pages/recordv1/detailsPreview/form/DetailsPreviewVideoAttributes.d.ts +1 -0
- package/build/app/pages/recordv1/detailsPreview/form/DetailsRecordPreviewTags.d.ts +1 -0
- package/build/app/pages/recordv1/detailsPreview/form/VideoRequestDetails.d.ts +14 -0
- package/build/app/pages/recordv1/detailsPreview/types.d.ts +61 -0
- package/build/app/pages/recordv1/routes.d.ts +1 -0
- package/build/app/pages/recordv1/types.d.ts +110 -0
- package/build/app/pages/recordv1/useImageSegmenter.d.ts +10 -0
- package/build/app/pages/recordv1/useRecorder.d.ts +26 -0
- package/build/app/pages/recordv1/useRecorderCountdown.d.ts +5 -0
- package/build/app/pages/recordv1/useRecordingTime.d.ts +5 -0
- package/build/app/pages/recordv1/useVideoRecorderUpload.d.ts +29 -0
- package/build/app/pages/recordv1/utils/browserChecks.d.ts +3 -0
- package/build/app/pages/recordv1/utils/functions.d.ts +32 -0
- package/build/app/pages/recordv1/utils/media.d.ts +13 -0
- package/build/app/pages/recordv1/utils/recorderSettings.d.ts +6 -0
- package/build/app/pages/recordv1/utils/virtualBackgrounds.d.ts +4 -0
- package/build/app/pages/recordv1/virtualBackgrounds/FilesTabContent.d.ts +8 -0
- package/build/app/pages/recordv1/virtualBackgrounds/VirtualBackgroundLibraryModal.d.ts +7 -0
- package/build/app/pages/recordv1/virtualBackgrounds/VirtualBackgrounds.d.ts +12 -0
- package/build/app/pages/recordv1/webgl/webglUtils.d.ts +14 -0
- package/build/index.js +213 -332
- package/build/index.js.LICENSE.txt +865 -0
- package/build/lib/api/aws/useAwsSignedUrlQuery.d.ts +11 -0
- package/build/lib/api/aws/useS3UploadMutation.d.ts +87 -0
- package/build/lib/api/customVirtualBackground/customVirtualBackgroundKeys.d.ts +3 -0
- package/build/lib/api/customVirtualBackground/useCustomVirtualBackgroundQuery.d.ts +11 -0
- package/build/lib/api/droplr/droplrAuth.d.ts +13 -0
- package/build/lib/api/droplr/getBoards.d.ts +7 -0
- package/build/lib/api/droplr/getDrop.d.ts +6 -0
- package/build/lib/api/droplr/getDrops.d.ts +40 -0
- package/build/lib/api/droplr/queryKeys.d.ts +12 -0
- package/build/lib/api/droplr/types.d.ts +136 -0
- package/build/lib/api/droplr/uploadDrop.d.ts +1 -0
- package/build/lib/api/folders/foldersKeys.d.ts +3 -0
- package/build/lib/api/folders/getFolders.d.ts +15 -0
- package/build/lib/api/folders/types.d.ts +4 -0
- package/build/lib/api/teleprompterApi.d.ts +16 -0
- package/build/lib/api/types.d.ts +14 -0
- package/build/lib/api/users/automotive/queryKeys.d.ts +4 -0
- package/build/lib/api/users/automotive/useUsersByAutomotiveRolesQuery.d.ts +25 -0
- package/build/lib/api/videoAttributes/useGetAllVideoAttributesQuery.d.ts +7 -0
- package/build/lib/api/videoAttributes/videoAttributesKeys.d.ts +5 -0
- package/build/lib/api/videos/useCreateVideoMutation.d.ts +118 -0
- package/build/lib/api/videos/useEncodeVideoMutation.d.ts +90 -0
- package/build/lib/api/voiceOverApi.d.ts +15 -1
- package/build/lib/components/ButtonSwitch.d.ts +15 -0
- package/build/lib/components/Dropdown.d.ts +2 -1
- package/build/lib/components/NewDropdown.d.ts +95 -0
- package/build/lib/components/NewTextInput.d.ts +1 -0
- package/build/lib/components/Search.d.ts +19 -0
- package/build/lib/components/formik/FormikDropdown.d.ts +12 -0
- package/build/lib/components/formik/FormikErrorMessage.d.ts +4 -0
- package/build/lib/components/formik/FormikInputField.d.ts +8 -0
- package/build/lib/components/formik/FormikLabel.d.ts +8 -0
- package/build/lib/components/formik/FormikTextAreaField.d.ts +8 -0
- package/build/lib/components/index.d.ts +2 -0
- package/build/lib/components/styles/layout.d.ts +33 -0
- package/build/lib/components/styles/typography.d.ts +44 -0
- package/build/lib/context/AuthorizationContext.d.ts +1 -0
- package/build/lib/context/record/functions.d.ts +2 -0
- package/build/lib/context/record/provider.d.ts +27 -0
- package/build/lib/context/record/types.d.ts +32 -0
- package/build/lib/context/teleprompter/provider.d.ts +37 -0
- package/build/lib/context/teleprompter/types.d.ts +12 -0
- package/build/lib/images/VirtualBgIcon.d.ts +2 -0
- package/build/lib/style/theme.d.ts +7 -0
- package/build/lib/utils/productFeature.d.ts +9 -0
- package/images.d.ts +4 -0
- package/package.json +17 -5
- package/yup.d.ts +1 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ICustomVirtualBackground } from 'lib/api/customVirtualBackground/useCustomVirtualBackgroundQuery';
|
|
2
|
+
export declare const VirtualBackgroundImages: string[];
|
|
3
|
+
interface Props {
|
|
4
|
+
onSelect: any;
|
|
5
|
+
onMainButtonClick: any;
|
|
6
|
+
showVideoLoader?: any;
|
|
7
|
+
setShowVideoLoader?: any;
|
|
8
|
+
selectedVirtualBackgroundUrl?: any;
|
|
9
|
+
customVirtualBackgrounds?: ICustomVirtualBackground[];
|
|
10
|
+
}
|
|
11
|
+
export declare const VirtualBackgrounds: ({ onSelect, onMainButtonClick, selectedVirtualBackgroundUrl, customVirtualBackgrounds, }: Props) => JSX.Element;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare const VIEWPORT_HEIGHT = 720;
|
|
2
|
+
export declare const VIEWPORT_WIDTH = 1280;
|
|
3
|
+
export type WebGlState = {
|
|
4
|
+
gl: WebGL2RenderingContext | null;
|
|
5
|
+
program: WebGLProgram | null;
|
|
6
|
+
};
|
|
7
|
+
export declare const createShader: (gl: WebGLRenderingContext, type: number, source: string) => WebGLShader | null;
|
|
8
|
+
export declare const createProgram: (gl: WebGLRenderingContext, vertexShaderSource: string, fragmentShaderSource: string) => WebGLProgram | null;
|
|
9
|
+
export declare const updateTexture: (gl: WebGLRenderingContext, texture: WebGLTexture, source: HTMLVideoElement | Uint8Array | HTMLImageElement, width: number, height: number) => void;
|
|
10
|
+
export declare const createTexture: (gl: WebGLRenderingContext) => WebGLTexture;
|
|
11
|
+
export declare const initWebGL: (canvas: HTMLCanvasElement) => WebGlState;
|
|
12
|
+
export declare const setupRectangle: (gl: WebGLRenderingContext, program: WebGLProgram) => void;
|
|
13
|
+
export declare const render: (gl: WebGLRenderingContext, program: WebGLProgram, fgTexture: WebGLTexture, bgTexture: WebGLTexture, confidenceMaskTexture: WebGLTexture, confidenceMaskHairTexture: WebGLTexture, confidenceMaskBodyTexture: WebGLTexture, confidenceMaskFaceTexture: WebGLTexture, confidenceMaskClothesTexture: WebGLTexture, confidenceMaskOtherTexture: WebGLTexture, backgroundScale?: number[]) => void;
|
|
14
|
+
export declare const clear: (gl: WebGLRenderingContext) => void;
|