react-covideo-embed 1.0.8 → 1.0.10
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/package.json +2 -2
- package/build/app/App.d.ts +0 -3
- package/build/app/pages/insertVideo/InsertVideo.d.ts +0 -13
- package/build/app/pages/insertVideo/components/CopyVideoButton.d.ts +0 -13
- package/build/app/pages/insertVideo/components/InsertButton.d.ts +0 -13
- package/build/app/pages/insertVideo/components/InsertVideoSettings.d.ts +0 -17
- package/build/app/pages/insertVideo/components/VehicleSearch.d.ts +0 -13
- package/build/app/pages/insertVideo/components/index.d.ts +0 -2
- package/build/app/pages/lesaTV/LesaTV.d.ts +0 -1
- package/build/app/pages/lesaTV/components/PageInfo.d.ts +0 -7
- package/build/app/pages/lesaTV/components/Search.d.ts +0 -6
- package/build/app/pages/lesaTV/components/index.d.ts +0 -2
- package/build/app/pages/library/Library.d.ts +0 -5
- package/build/app/pages/library/components/NoVideos.d.ts +0 -6
- package/build/app/pages/library/components/PageInfo.d.ts +0 -7
- package/build/app/pages/library/components/Search.d.ts +0 -6
- package/build/app/pages/library/components/UserDropdown.d.ts +0 -6
- package/build/app/pages/library/components/VideoItem.d.ts +0 -9
- package/build/app/pages/library/components/VideoItemThumbnail.d.ts +0 -11
- package/build/app/pages/library/components/const.d.ts +0 -6
- package/build/app/pages/library/components/index.d.ts +0 -5
- package/build/app/pages/login/Login.d.ts +0 -5
- package/build/app/pages/merge/Merge.d.ts +0 -1
- package/build/app/pages/merge/components/Player.d.ts +0 -7
- package/build/app/pages/merge/components/VideoMerge.d.ts +0 -1
- package/build/app/pages/merge/components/VideoRow.d.ts +0 -1
- package/build/app/pages/merge/components/VideoThumbnail.d.ts +0 -1
- package/build/app/pages/previewUpload/PreviewUpload.d.ts +0 -2
- package/build/app/pages/record/both/RecordBoth.d.ts +0 -1
- package/build/app/pages/record/both/main/Main.d.ts +0 -1
- package/build/app/pages/record/cam/RecordCam.d.ts +0 -1
- package/build/app/pages/record/cam/main/Main.d.ts +0 -1
- package/build/app/pages/record/home/RecordHome.d.ts +0 -1
- package/build/app/pages/record/screen/RecordScreen.d.ts +0 -2
- package/build/app/pages/record/screen/main/Main.d.ts +0 -1
- package/build/app/pages/video/Upload.d.ts +0 -10
- package/build/app/pages/video/components/Preview.d.ts +0 -13
- package/build/app/pages/video/components/videoPlayer/VideoPlayer.d.ts +0 -29
- package/build/app/pages/video/components/videoPlayer/components/index.d.ts +0 -2
- package/build/app/pages/video/components/videoPlayer/components/onScreenPlayButton.d.ts +0 -10
- package/build/app/pages/video/components/videoPlayer/components/progressBar.d.ts +0 -10
- package/build/app/pages/video/components/videoPlayer/components/trim/Handle.d.ts +0 -15
- package/build/app/pages/video/components/videoPlayer/components/trim/SliderRail.d.ts +0 -7
- package/build/app/pages/video/components/videoPlayer/components/trim/Tick.d.ts +0 -9
- package/build/app/pages/video/components/videoPlayer/components/trim/TimelineRange.d.ts +0 -19
- package/build/app/pages/video/components/videoPlayer/components/trim/Track.d.ts +0 -10
- package/build/app/pages/video/components/videoPlayer/components/trim/Trim.d.ts +0 -13
- package/build/app/pages/video/components/videoPlayer/components/trim/VideoPreviewTrack.d.ts +0 -7
- package/build/app/pages/video/components/videoPlayer/components/videoControls.d.ts +0 -25
- package/build/app/pages/video/components/videoPlayer/index.d.ts +0 -1
- package/build/app/pages/video/videoDetails/components/AttributesFields.d.ts +0 -7
- package/build/app/pages/voiceover/Voiceover.d.ts +0 -1
- package/build/app/pages/voiceover/components/AudioRecorder.d.ts +0 -14
- package/build/app/pages/voiceover/components/VideoPreview.d.ts +0 -11
- package/build/app/pages/voiceover/components/util.d.ts +0 -1
- package/build/app/pages/wheelsTV/WheelsTV.d.ts +0 -1
- package/build/app/pages/wheelsTV/components/PageInfo.d.ts +0 -7
- package/build/app/pages/wheelsTV/components/Search.d.ts +0 -6
- package/build/app/pages/wheelsTV/components/index.d.ts +0 -2
- package/build/index.d.ts +0 -81
- package/build/index.js +0 -768
- package/build/index.js.LICENSE.txt +0 -81
- package/build/lib/api/attributesApi.d.ts +0 -8
- package/build/lib/api/authApi.d.ts +0 -11
- package/build/lib/api/designApi.d.ts +0 -86
- package/build/lib/api/index.d.ts +0 -9
- package/build/lib/api/inventoryApi.d.ts +0 -10
- package/build/lib/api/lesa/lesaKeys.d.ts +0 -6
- package/build/lib/api/lesa/useLesaTvVideosQuery.d.ts +0 -27
- package/build/lib/api/lesa/useLesaVideosMutation.d.ts +0 -8
- package/build/lib/api/multilocation/getUserLocations.d.ts +0 -12
- package/build/lib/api/multilocation/locationKeys.d.ts +0 -3
- package/build/lib/api/multilocation/signIntoLocation.d.ts +0 -10
- package/build/lib/api/quckshareApi.d.ts +0 -18
- package/build/lib/api/types.d.ts +0 -44
- package/build/lib/api/videoRequestApi.d.ts +0 -6
- package/build/lib/api/videoTagsApi.d.ts +0 -13
- package/build/lib/api/videosApi.d.ts +0 -64
- package/build/lib/api/voiceOverApi.d.ts +0 -20
- package/build/lib/api/wtvApi.d.ts +0 -34
- package/build/lib/components/ButtonDropdown.d.ts +0 -22
- package/build/lib/components/CheckboxInput.d.ts +0 -19
- package/build/lib/components/CloseButton.d.ts +0 -13
- package/build/lib/components/Container.d.ts +0 -9
- package/build/lib/components/CountDown.d.ts +0 -1
- package/build/lib/components/DragAndDrop.d.ts +0 -21
- package/build/lib/components/Dropdown.d.ts +0 -29
- package/build/lib/components/HoverPopup.d.ts +0 -15
- package/build/lib/components/Input.d.ts +0 -10
- package/build/lib/components/Label.d.ts +0 -6
- package/build/lib/components/LoadingIndicator.d.ts +0 -11
- package/build/lib/components/Logo.d.ts +0 -5
- package/build/lib/components/MainWrapper.d.ts +0 -6
- package/build/lib/components/PreviewVideoBar.d.ts +0 -8
- package/build/lib/components/RouteLeavingGuard.d.ts +0 -18
- package/build/lib/components/Spinner.d.ts +0 -6
- package/build/lib/components/TopBar.d.ts +0 -9
- package/build/lib/components/index.d.ts +0 -15
- package/build/lib/components/inputs/RadioInput.d.ts +0 -14
- package/build/lib/components/modal/Modal.d.ts +0 -13
- package/build/lib/components/modal/ModalQuickShareMarkAsSent.d.ts +0 -14
- package/build/lib/components/modal/ModalRecordingSettings.d.ts +0 -10
- package/build/lib/components/modals/Modal.d.ts +0 -14
- package/build/lib/components/modals/ModalInputText.d.ts +0 -11
- package/build/lib/components/modals/ModalLeave.d.ts +0 -15
- package/build/lib/components/modals/ModalPrompt.d.ts +0 -12
- package/build/lib/components/modals/ModalUpload.d.ts +0 -7
- package/build/lib/components/modals/ModalVideoPreview.d.ts +0 -7
- package/build/lib/components/toast-notifications/ToastNotification.d.ts +0 -5
- package/build/lib/components/toast-notifications/index.d.ts +0 -4
- package/build/lib/components/videoUpload/MultipleUploadList.d.ts +0 -8
- package/build/lib/components/videoUpload/VideoUpload.d.ts +0 -9
- package/build/lib/components/videoUpload/styles.d.ts +0 -11
- package/build/lib/config.d.ts +0 -22
- package/build/lib/const/AutomotiveRole.d.ts +0 -8
- package/build/lib/const/Folder.d.ts +0 -9
- package/build/lib/const/MarkAsSentOptions.d.ts +0 -14
- package/build/lib/const/PackageName.d.ts +0 -7
- package/build/lib/const/VideoActivity.d.ts +0 -16
- package/build/lib/const/VideoEmailStatus.d.ts +0 -7
- package/build/lib/const/VideoStatus.d.ts +0 -6
- package/build/lib/const/VideoType.d.ts +0 -15
- package/build/lib/const/index.d.ts +0 -5
- package/build/lib/context/ActionDispatchContext.d.ts +0 -4
- package/build/lib/context/AuthorizationContext.d.ts +0 -115
- package/build/lib/context/ConfigurationContext.d.ts +0 -52
- package/build/lib/context/actionCreators.d.ts +0 -37
- package/build/lib/context/authHandlers.d.ts +0 -2
- package/build/lib/context/authReducer.d.ts +0 -16
- package/build/lib/context/index.d.ts +0 -4
- package/build/lib/context/types.d.ts +0 -149
- package/build/lib/hooks/index.d.ts +0 -2
- package/build/lib/hooks/query/inventoryItem/index.d.ts +0 -1
- package/build/lib/hooks/query/inventoryItem/useGetInventoryItems.d.ts +0 -12
- package/build/lib/hooks/query/markAsSent/useQuickShareMarkAsSentMutation.d.ts +0 -28
- package/build/lib/hooks/useCopyClipboard.d.ts +0 -4
- package/build/lib/hooks/useCreateVideo.d.ts +0 -21
- package/build/lib/hooks/useEncodeVideo.d.ts +0 -16
- package/build/lib/hooks/useImageLoadRetry.d.ts +0 -10
- package/build/lib/hooks/useMediaRecorder.d.ts +0 -32
- package/build/lib/hooks/usePresignedUrl.d.ts +0 -16
- package/build/lib/hooks/useQueryFetch.d.ts +0 -16
- package/build/lib/hooks/useQueryState.d.ts +0 -22
- package/build/lib/hooks/useS3Upload.d.ts +0 -15
- package/build/lib/hooks/useVideoLoadRetry.d.ts +0 -12
- package/build/lib/hooks/useVideoStore.d.ts +0 -17
- package/build/lib/hooks/useVideoTranscriptionStart.d.ts +0 -9
- package/build/lib/images/AccountIcon.d.ts +0 -2
- package/build/lib/images/AddIcon.d.ts +0 -2
- package/build/lib/images/CarIcon.d.ts +0 -2
- package/build/lib/images/CheckmarkIcon.d.ts +0 -2
- package/build/lib/images/CloseCircleIcon.d.ts +0 -2
- package/build/lib/images/CloseIcon.d.ts +0 -2
- package/build/lib/images/DeleteIcon.d.ts +0 -2
- package/build/lib/images/Drag.d.ts +0 -2
- package/build/lib/images/HashtagIcon.d.ts +0 -2
- package/build/lib/images/LaptopIcon.d.ts +0 -2
- package/build/lib/images/LogoCDS.d.ts +0 -2
- package/build/lib/images/LogoGeneral.d.ts +0 -2
- package/build/lib/images/SaveIcon.d.ts +0 -2
- package/build/lib/images/SettingsIcon.d.ts +0 -2
- package/build/lib/images/SmallLogoIcon.d.ts +0 -2
- package/build/lib/images/VectorIcon.d.ts +0 -2
- package/build/lib/images/VideoIcon.d.ts +0 -2
- package/build/lib/images/ZoomInIcon.d.ts +0 -2
- package/build/lib/images/ZoomOutIcon.d.ts +0 -2
- package/build/lib/images/pauseButton.d.ts +0 -2
- package/build/lib/images/playButton.d.ts +0 -2
- package/build/lib/images/volumeOff.d.ts +0 -1
- package/build/lib/style/index.d.ts +0 -2
- package/build/lib/style/theme.d.ts +0 -121
- package/build/lib/utils/UseOnClickOutside.d.ts +0 -3
- package/build/lib/utils/automotiveRolePermissionChecks.d.ts +0 -7
- package/build/lib/utils/functions.d.ts +0 -22
- package/build/lib/utils/reactions.d.ts +0 -3
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
type PreviewProps = {
|
|
2
|
-
onSaveVideo: Function;
|
|
3
|
-
isSaveDisabled?: boolean;
|
|
4
|
-
setInsertAfterSave: (arg: boolean) => void;
|
|
5
|
-
uploadLoading: boolean;
|
|
6
|
-
};
|
|
7
|
-
export declare const PreviewVideoBar: ({ onSaveVideo, isSaveDisabled, setInsertAfterSave, uploadLoading, }: PreviewProps) => JSX.Element;
|
|
8
|
-
export {};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Location } from 'history';
|
|
2
|
-
interface Props {
|
|
3
|
-
when?: boolean | undefined;
|
|
4
|
-
navigate?: (path: string) => void;
|
|
5
|
-
shouldBlockNavigation: (location: Location) => boolean;
|
|
6
|
-
onConfirm?: Function;
|
|
7
|
-
onDiscard?: Function;
|
|
8
|
-
onStay?: Function;
|
|
9
|
-
stay?: Boolean;
|
|
10
|
-
title?: string;
|
|
11
|
-
text?: string;
|
|
12
|
-
discardButtonText?: string;
|
|
13
|
-
confirmButtonText?: string;
|
|
14
|
-
showDiscardIcon?: boolean;
|
|
15
|
-
showSaveIcon?: boolean;
|
|
16
|
-
}
|
|
17
|
-
declare const RouteLeavingGuard: ({ when, navigate, shouldBlockNavigation, onConfirm, onDiscard, onStay, stay, title, text, discardButtonText, confirmButtonText, showDiscardIcon, showSaveIcon, }: Props) => JSX.Element;
|
|
18
|
-
export default RouteLeavingGuard;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
type Props = {
|
|
3
|
-
left?: React.ReactNode;
|
|
4
|
-
center?: React.ReactNode;
|
|
5
|
-
right?: React.ReactNode;
|
|
6
|
-
justify?: 'center' | 'space-between';
|
|
7
|
-
};
|
|
8
|
-
export declare const TopBar: ({ left, right, center }: Props) => JSX.Element;
|
|
9
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export { Logo } from './Logo';
|
|
2
|
-
export { TopBar } from './TopBar';
|
|
3
|
-
export { Container } from './Container';
|
|
4
|
-
export { Input } from './Input';
|
|
5
|
-
export { ButtonDropdown } from './ButtonDropdown';
|
|
6
|
-
export { Spinner } from './Spinner';
|
|
7
|
-
export { LoadingIndicator } from './LoadingIndicator';
|
|
8
|
-
export { Dropdown } from './Dropdown';
|
|
9
|
-
export { CheckboxInput } from './CheckboxInput';
|
|
10
|
-
export { RadioInput } from './inputs/RadioInput';
|
|
11
|
-
export { Modal } from './modal/Modal';
|
|
12
|
-
export { CloseButton } from './CloseButton';
|
|
13
|
-
export { ModalRecordingSettings } from './modal/ModalRecordingSettings';
|
|
14
|
-
export { ToastNotificationsProvider, useToastNotifications, } from './toast-notifications';
|
|
15
|
-
export { MainWrapper } from './MainWrapper';
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
interface RadioProps {
|
|
3
|
-
name: string;
|
|
4
|
-
disabled?: boolean;
|
|
5
|
-
text?: string | React.ReactNode;
|
|
6
|
-
removePadding?: boolean;
|
|
7
|
-
onChange?: (e?: any) => void;
|
|
8
|
-
checked?: any;
|
|
9
|
-
value: string | number | string[];
|
|
10
|
-
onClick?: (e?: any) => void;
|
|
11
|
-
checkedColor?: string;
|
|
12
|
-
}
|
|
13
|
-
export declare const RadioInput: (props: RadioProps) => JSX.Element;
|
|
14
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
type Props = {
|
|
3
|
-
children?: React.ReactNode;
|
|
4
|
-
widthOnDesktop?: string | number;
|
|
5
|
-
disableFullScreen?: boolean;
|
|
6
|
-
style?: object;
|
|
7
|
-
maxHeight?: string;
|
|
8
|
-
overrideBodyHeight?: boolean;
|
|
9
|
-
bodyOverflowY?: string;
|
|
10
|
-
bodyOverflowX?: string;
|
|
11
|
-
};
|
|
12
|
-
export declare const Modal: ({ style, children, widthOnDesktop, disableFullScreen, maxHeight, overrideBodyHeight, bodyOverflowY, bodyOverflowX, }: Props) => JSX.Element;
|
|
13
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { VideoShareSetData } from 'app/pages/insertVideo/InsertVideo';
|
|
2
|
-
import { IQuickShareMarkAsSentParams } from 'lib/hooks/query/markAsSent/useQuickShareMarkAsSentMutation';
|
|
3
|
-
type Props = {
|
|
4
|
-
handleModalClose: () => void;
|
|
5
|
-
quickShareMarkAsSentHandler: (params: Omit<IQuickShareMarkAsSentParams, 'videoId'>) => void;
|
|
6
|
-
isQuickShareLoading?: boolean;
|
|
7
|
-
markAsSentPayload: Omit<IQuickShareMarkAsSentParams, 'videoId' | 'markAsSentConfirmed'>;
|
|
8
|
-
getMarkAsSentPayload?: () => Promise<{
|
|
9
|
-
videoShareSetData: VideoShareSetData;
|
|
10
|
-
useAutomotive: boolean;
|
|
11
|
-
}>;
|
|
12
|
-
};
|
|
13
|
-
export declare const ModalQuickShareMarkAsSent: ({ handleModalClose, quickShareMarkAsSentHandler, isQuickShareLoading, markAsSentPayload, getMarkAsSentPayload, }: Props) => JSX.Element;
|
|
14
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
type Props = {
|
|
2
|
-
disabled?: boolean;
|
|
3
|
-
title?: string;
|
|
4
|
-
text?: any;
|
|
5
|
-
handleModalClose: () => void;
|
|
6
|
-
handleSubmit: (data: object) => void;
|
|
7
|
-
initialSettings: any;
|
|
8
|
-
};
|
|
9
|
-
export declare const ModalRecordingSettings: ({ disabled, handleModalClose, handleSubmit, initialSettings, }: Props) => JSX.Element;
|
|
10
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
type Props = {
|
|
3
|
-
children?: React.ReactNode;
|
|
4
|
-
widthOnDesktop?: string | number;
|
|
5
|
-
disableFullScreen?: boolean;
|
|
6
|
-
style?: object;
|
|
7
|
-
maxHeight?: string;
|
|
8
|
-
overrideBodyHeight?: boolean;
|
|
9
|
-
bodyOverflowY?: string;
|
|
10
|
-
bodyOverflowX?: string;
|
|
11
|
-
onOutsideClick?: () => void;
|
|
12
|
-
};
|
|
13
|
-
export declare const Modal: ({ style, children, widthOnDesktop, disableFullScreen, maxHeight, overrideBodyHeight, bodyOverflowY, bodyOverflowX, onOutsideClick, }: Props) => JSX.Element;
|
|
14
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
type Props = {
|
|
2
|
-
title: string;
|
|
3
|
-
label: string;
|
|
4
|
-
defaultValue: string;
|
|
5
|
-
secondaryButtonText: string;
|
|
6
|
-
primaryButtonText: string;
|
|
7
|
-
handleSubmit: (value: string) => void;
|
|
8
|
-
handleModalClose: () => void;
|
|
9
|
-
};
|
|
10
|
-
export declare const ModalInputText: ({ title, label, defaultValue, primaryButtonText, secondaryButtonText, handleModalClose, handleSubmit, }: Props) => JSX.Element;
|
|
11
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
type Props = {
|
|
2
|
-
open?: boolean;
|
|
3
|
-
disabled?: boolean;
|
|
4
|
-
title?: string;
|
|
5
|
-
discardButtonText?: string;
|
|
6
|
-
confirmButtonText?: string;
|
|
7
|
-
text?: string;
|
|
8
|
-
showDiscardIcon?: boolean;
|
|
9
|
-
showSaveIcon?: boolean;
|
|
10
|
-
onClickDiscardButton: () => void;
|
|
11
|
-
onClickConfirmButton: () => void;
|
|
12
|
-
handleModalClose?: () => void;
|
|
13
|
-
};
|
|
14
|
-
export declare const ModalLeave: ({ open, disabled, title, text, discardButtonText, confirmButtonText, onClickDiscardButton, onClickConfirmButton, showDiscardIcon, showSaveIcon, handleModalClose, }: Props) => JSX.Element | null;
|
|
15
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
type Props = {
|
|
3
|
-
title: string;
|
|
4
|
-
content: React.ReactNode;
|
|
5
|
-
secondaryButtonText: string;
|
|
6
|
-
primaryButtonText: string;
|
|
7
|
-
handleSubmit: any;
|
|
8
|
-
handleModalClose: () => void;
|
|
9
|
-
primaryButtonType?: 'danger' | 'default';
|
|
10
|
-
};
|
|
11
|
-
export declare const ModalPrompt: ({ title, content, primaryButtonText, secondaryButtonText, handleModalClose, handleSubmit, primaryButtonType, }: Props) => JSX.Element;
|
|
12
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { IUploadingData } from './VideoUpload';
|
|
2
|
-
type MultipleUploadProps = {
|
|
3
|
-
progress: number;
|
|
4
|
-
uploadingData: IUploadingData;
|
|
5
|
-
setUploadingData: (arg: IUploadingData) => void;
|
|
6
|
-
};
|
|
7
|
-
export declare const MultipleUploadList: ({ progress, uploadingData, setUploadingData, }: MultipleUploadProps) => JSX.Element;
|
|
8
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export interface IUploadingData {
|
|
2
|
-
[key: string]: any;
|
|
3
|
-
}
|
|
4
|
-
type UploadProps = {
|
|
5
|
-
handleModalClose: () => void;
|
|
6
|
-
onSuccess: (data: number[]) => void;
|
|
7
|
-
};
|
|
8
|
-
declare const VideoUpload: ({ handleModalClose, onSuccess }: UploadProps) => JSX.Element;
|
|
9
|
-
export default VideoUpload;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export declare const Content: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
-
export declare const ContentBody: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
-
export declare const ContentFooter: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
-
export declare const UploadFieldContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
|
-
export declare const FlexContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
|
-
export declare const Skill: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
7
|
-
export declare const ProgressData: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
8
|
-
export declare const ProgressContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
9
|
-
export declare const UploadData: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
10
|
-
export declare const UploadingHeader: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
11
|
-
export declare const CancelContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
package/build/lib/config.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { AxiosInstance } from 'axios';
|
|
2
|
-
export type ENVIRONMENT = 'development' | 'sandbox' | 'production';
|
|
3
|
-
export declare enum COOKIE_NAMES {
|
|
4
|
-
jwt = "react-covideo-embed-jwt",
|
|
5
|
-
merge = "react-covideo-merge",
|
|
6
|
-
recordSettings = "record_settings",
|
|
7
|
-
recordError = "react-covideo-record-error"
|
|
8
|
-
}
|
|
9
|
-
export declare let token: any;
|
|
10
|
-
export declare let apiExpress: string;
|
|
11
|
-
export declare let apiKey: string | undefined;
|
|
12
|
-
export declare const updateToken: (tokenNew: string, hasExternalJwt?: boolean) => void;
|
|
13
|
-
export declare const updateEnv: (env: ENVIRONMENT) => void;
|
|
14
|
-
export declare const updateApiKey: (key: string | undefined) => void;
|
|
15
|
-
export declare let options: {
|
|
16
|
-
headers: {
|
|
17
|
-
"React-Covideo-Embed-Version": string | undefined;
|
|
18
|
-
ApiKey?: string | undefined;
|
|
19
|
-
Authorization: string;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
export declare const EXPRESS_API: AxiosInstance;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export declare enum VIDE0_ACTIVITY_TYPE {
|
|
2
|
-
QUOTE_SEND = "Quote-Send",
|
|
3
|
-
OPENED_EMAIL = "Opened-Email",
|
|
4
|
-
WATCHED_VIDEO = "Watched-Video",
|
|
5
|
-
APPROVED_ITEMS = "Approved-Items",
|
|
6
|
-
UPDATE_QUOTE = "Update-Quote",
|
|
7
|
-
RECORDED_VIDEO = "Recorded-Video",
|
|
8
|
-
APPROVED_VIDEO = "Approved-Video",
|
|
9
|
-
DENIED_VIDEO = "Denied-Video",
|
|
10
|
-
DELETE_VIDEO = "Delete-Video",
|
|
11
|
-
QUOTE_RESEND = "Quote-Resend",
|
|
12
|
-
UPDATE_RO = "RO-Update",
|
|
13
|
-
QUICKSHARE = "Quickshare",
|
|
14
|
-
CRM_SHARE = "Crm-Share",
|
|
15
|
-
WATCHED_VIDEO_UNKNOWN = "WATCHED_VIDEO_UNKNOWN"
|
|
16
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export declare enum VideoTypeSales {
|
|
2
|
-
NoType = "",
|
|
3
|
-
Marketing = "Marketing",
|
|
4
|
-
Prospecting = "Prospecting",
|
|
5
|
-
RespondToInquiry = "Respond to Inquiry",
|
|
6
|
-
ThanksForYourBusiness = "Thanks For Your Business"
|
|
7
|
-
}
|
|
8
|
-
export declare enum VideoType {
|
|
9
|
-
NoType = "",
|
|
10
|
-
AdditionalRepair = "Additional Repair",
|
|
11
|
-
RepairInquiry = "Repair inquiry",
|
|
12
|
-
RegularService = "Regular service",
|
|
13
|
-
ServiceReminder = "Service reminder",
|
|
14
|
-
QuoteRequest = "Quote request"
|
|
15
|
-
}
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode } from 'react';
|
|
2
|
-
import { GlobalAction } from './types';
|
|
3
|
-
interface Intercom {
|
|
4
|
-
app_id: string;
|
|
5
|
-
name: string;
|
|
6
|
-
email: string;
|
|
7
|
-
user_id: number;
|
|
8
|
-
user_hash: string;
|
|
9
|
-
cv_user_id: number;
|
|
10
|
-
free_trial: boolean;
|
|
11
|
-
signup_date: string;
|
|
12
|
-
purchase_date: string;
|
|
13
|
-
customer_id: number;
|
|
14
|
-
customer_name: string;
|
|
15
|
-
reseller_id: number;
|
|
16
|
-
reseller_name: string;
|
|
17
|
-
auto: boolean;
|
|
18
|
-
admin: boolean;
|
|
19
|
-
resellerAdmin: boolean;
|
|
20
|
-
user_active: boolean;
|
|
21
|
-
last_active: string;
|
|
22
|
-
v1: boolean;
|
|
23
|
-
v2: boolean;
|
|
24
|
-
v3: boolean;
|
|
25
|
-
}
|
|
26
|
-
declare enum VideoQualityType {
|
|
27
|
-
'FHD' = "1080",
|
|
28
|
-
'4K' = "4096"
|
|
29
|
-
}
|
|
30
|
-
declare enum VideoEditingType {
|
|
31
|
-
'Basic' = "Basic",
|
|
32
|
-
'Advanced' = "Advanced"
|
|
33
|
-
}
|
|
34
|
-
export interface PackageProduct {
|
|
35
|
-
id: number;
|
|
36
|
-
name: string;
|
|
37
|
-
value?: string;
|
|
38
|
-
}
|
|
39
|
-
export interface PackageDetails {
|
|
40
|
-
id: number;
|
|
41
|
-
stripePackageId: string;
|
|
42
|
-
products: {
|
|
43
|
-
[key: number]: PackageProduct;
|
|
44
|
-
};
|
|
45
|
-
maxVideosCreated: number;
|
|
46
|
-
monthlyVideos: number;
|
|
47
|
-
maxLength: number;
|
|
48
|
-
maxQuality: VideoQualityType;
|
|
49
|
-
editingType: VideoEditingType;
|
|
50
|
-
}
|
|
51
|
-
export interface UserData {
|
|
52
|
-
user?: any;
|
|
53
|
-
uid: string;
|
|
54
|
-
userId: string;
|
|
55
|
-
customerId: string;
|
|
56
|
-
resellerId: string;
|
|
57
|
-
firstName: string;
|
|
58
|
-
lastName: string;
|
|
59
|
-
eleadEnabled: boolean;
|
|
60
|
-
admin: boolean | string;
|
|
61
|
-
resellerAdmin: boolean | string;
|
|
62
|
-
trial: boolean;
|
|
63
|
-
notifyMe: boolean;
|
|
64
|
-
access: string;
|
|
65
|
-
verified: number;
|
|
66
|
-
captions: boolean;
|
|
67
|
-
vin: boolean;
|
|
68
|
-
iat: number;
|
|
69
|
-
exp: number;
|
|
70
|
-
intercom: Intercom;
|
|
71
|
-
showWelcome: boolean;
|
|
72
|
-
salesforceIntegration: boolean;
|
|
73
|
-
autoTranscribe: boolean;
|
|
74
|
-
wheelsTV: boolean;
|
|
75
|
-
webEmailEnabled: Boolean;
|
|
76
|
-
allowDelete: Boolean;
|
|
77
|
-
webShare: Boolean;
|
|
78
|
-
timeZone: string;
|
|
79
|
-
isCompanyAdmin: boolean;
|
|
80
|
-
reseller?: {
|
|
81
|
-
dealer: number;
|
|
82
|
-
customerId: string;
|
|
83
|
-
resellerReportingEnabled: number;
|
|
84
|
-
};
|
|
85
|
-
videoCount: number;
|
|
86
|
-
totalLogins: number;
|
|
87
|
-
droplrAccess: boolean;
|
|
88
|
-
affiliateAccess: boolean;
|
|
89
|
-
authCalled?: boolean;
|
|
90
|
-
customer?: any;
|
|
91
|
-
email: string;
|
|
92
|
-
phone1: string;
|
|
93
|
-
onboarded?: boolean;
|
|
94
|
-
transcriptionAccess?: boolean;
|
|
95
|
-
playButtonPosition?: string;
|
|
96
|
-
signupDate?: string;
|
|
97
|
-
trialAccount: boolean;
|
|
98
|
-
automotiveRole: string;
|
|
99
|
-
vdpEnabled: boolean;
|
|
100
|
-
markVideosAsSent: number | null;
|
|
101
|
-
reactionsPreference: number | null;
|
|
102
|
-
}
|
|
103
|
-
export interface IContextProps {
|
|
104
|
-
userData: UserData;
|
|
105
|
-
jwt: string | undefined;
|
|
106
|
-
setJwt: (jwt: string | undefined) => void;
|
|
107
|
-
dispatch?: React.Dispatch<GlobalAction>;
|
|
108
|
-
}
|
|
109
|
-
type Props = {
|
|
110
|
-
initialUser?: any;
|
|
111
|
-
children: ReactNode;
|
|
112
|
-
};
|
|
113
|
-
export declare const AuthorizationContextProvider: ({ initialUser, children, }: Props) => JSX.Element;
|
|
114
|
-
export declare const useAuthorizationContext: () => IContextProps;
|
|
115
|
-
export {};
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { ENVIRONMENT } from 'lib/config';
|
|
2
|
-
import { ReactNode } from 'react';
|
|
3
|
-
interface ConfigurationProviderProps {
|
|
4
|
-
token?: string;
|
|
5
|
-
env?: ENVIRONMENT;
|
|
6
|
-
onVideoInsert?: (shareData: {
|
|
7
|
-
url: string;
|
|
8
|
-
thumbnail: string;
|
|
9
|
-
html: string;
|
|
10
|
-
token: string;
|
|
11
|
-
}) => void;
|
|
12
|
-
onVideoInsertError?: (error: unknown) => void;
|
|
13
|
-
children?: ReactNode;
|
|
14
|
-
hideFeatures?: string[];
|
|
15
|
-
apikey?: string;
|
|
16
|
-
onRecordButtonClick?: (data: {
|
|
17
|
-
token: string;
|
|
18
|
-
}) => void;
|
|
19
|
-
onUploadButtonClick?: (data: {
|
|
20
|
-
token: string;
|
|
21
|
-
}) => void;
|
|
22
|
-
reRender: () => void;
|
|
23
|
-
}
|
|
24
|
-
type ShowFeature = {
|
|
25
|
-
showInsertFeature: boolean;
|
|
26
|
-
showRecordScreenFeature: boolean;
|
|
27
|
-
showRecordBothFeature: boolean;
|
|
28
|
-
showRecordCamFeature: boolean;
|
|
29
|
-
showRecordFeature: boolean;
|
|
30
|
-
showUploadFeature: boolean;
|
|
31
|
-
showTrimFeature: boolean;
|
|
32
|
-
showMergeFeature: boolean;
|
|
33
|
-
showWheelsTVFeature: boolean;
|
|
34
|
-
showVoiceoverFeature: boolean;
|
|
35
|
-
showQuickshareFeature: boolean;
|
|
36
|
-
showFolderFeature: boolean;
|
|
37
|
-
showLandingPageFeature: boolean;
|
|
38
|
-
showCTAFeature: boolean;
|
|
39
|
-
showReactionsFeature: boolean;
|
|
40
|
-
showAiAssistFeature: boolean;
|
|
41
|
-
showUpgradeMessageFeature: boolean;
|
|
42
|
-
showLesaTVFeature: boolean;
|
|
43
|
-
showMultiLocationFeature: boolean;
|
|
44
|
-
};
|
|
45
|
-
type IConfigurationContext = ConfigurationProviderProps & ShowFeature & {
|
|
46
|
-
hasExternalJwt: boolean;
|
|
47
|
-
containerWidth: number;
|
|
48
|
-
containerHeight: number;
|
|
49
|
-
};
|
|
50
|
-
export declare const ConfigurationProvider: React.FC<ConfigurationProviderProps>;
|
|
51
|
-
export declare const useConfigurationContext: () => IConfigurationContext;
|
|
52
|
-
export {};
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
interface ActionTypeRequest {
|
|
2
|
-
type: string;
|
|
3
|
-
meta?: any;
|
|
4
|
-
}
|
|
5
|
-
interface ActionTypeSuccess {
|
|
6
|
-
type: string;
|
|
7
|
-
payload?: any;
|
|
8
|
-
meta?: any;
|
|
9
|
-
}
|
|
10
|
-
interface ActionTypeFailure {
|
|
11
|
-
type: string;
|
|
12
|
-
payload?: any;
|
|
13
|
-
meta?: any;
|
|
14
|
-
error?: boolean | null;
|
|
15
|
-
}
|
|
16
|
-
export interface ActionType {
|
|
17
|
-
type: string;
|
|
18
|
-
payload?: any;
|
|
19
|
-
meta?: any;
|
|
20
|
-
error?: boolean | null;
|
|
21
|
-
}
|
|
22
|
-
export declare const requestActionCreator: ({ type, meta }: ActionTypeRequest) => {
|
|
23
|
-
type: string;
|
|
24
|
-
meta: any;
|
|
25
|
-
};
|
|
26
|
-
export declare const successActionCreator: ({ type, payload, meta, }: ActionTypeSuccess) => {
|
|
27
|
-
type: string;
|
|
28
|
-
payload: any;
|
|
29
|
-
meta: any;
|
|
30
|
-
};
|
|
31
|
-
export declare const failureActionCreator: ({ type, payload, meta, error, }: ActionTypeFailure) => {
|
|
32
|
-
type: string;
|
|
33
|
-
payload: any;
|
|
34
|
-
meta: any;
|
|
35
|
-
error: boolean | null;
|
|
36
|
-
};
|
|
37
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { IContextProps } from './AuthorizationContext';
|
|
2
|
-
type GlobalAction = {
|
|
3
|
-
continueLoading?: boolean;
|
|
4
|
-
type: string;
|
|
5
|
-
payload?: any;
|
|
6
|
-
error?: string;
|
|
7
|
-
pathname?: string;
|
|
8
|
-
};
|
|
9
|
-
export declare const authReducer: (state: IContextProps, action: GlobalAction) => IContextProps;
|
|
10
|
-
export declare const AUTH_ACTIONS: {
|
|
11
|
-
JWT_DECODED: string;
|
|
12
|
-
GET_USER_START: string;
|
|
13
|
-
GET_USER_ERROR: string;
|
|
14
|
-
GET_USER_SUCCESS: string;
|
|
15
|
-
};
|
|
16
|
-
export {};
|