react-covideo-embed 1.0.96 → 1.0.97
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/index.js +70 -70
- package/build/index.js.map +1 -1
- package/build/react-covideo-embed.esm.js +990 -980
- package/build/react-covideo-embed.esm.js.map +1 -1
- package/dist/app/App.d.ts +1 -1
- package/dist/app/pages/insertVideo/InsertVideo.d.ts +1 -1
- package/dist/app/pages/insertVideo/components/CopyVideoButton.d.ts +1 -1
- package/dist/app/pages/insertVideo/components/InsertButton.d.ts +1 -1
- package/dist/app/pages/insertVideo/components/InsertVideoSettings.d.ts +2 -2
- package/dist/app/pages/insertVideo/components/VehicleSearch.d.ts +1 -1
- package/dist/app/pages/lesaTV/LesaTV.d.ts +1 -1
- package/dist/app/pages/lesaTV/components/PageInfo.d.ts +1 -1
- package/dist/app/pages/lesaTV/components/Search.d.ts +1 -1
- package/dist/app/pages/library/Library.d.ts +1 -1
- package/dist/app/pages/library/components/NoVideos.d.ts +1 -1
- package/dist/app/pages/library/components/PageInfo.d.ts +1 -1
- package/dist/app/pages/library/components/Search.d.ts +1 -1
- package/dist/app/pages/library/components/UserDropdown.d.ts +1 -1
- package/dist/app/pages/library/components/VideoItem.d.ts +1 -1
- package/dist/app/pages/library/components/VideoItemThumbnail.d.ts +2 -1
- package/dist/app/pages/login/Login.d.ts +1 -1
- package/dist/app/pages/login/PasswordForm.d.ts +1 -1
- package/dist/app/pages/login/SSOVerifying.d.ts +1 -1
- package/dist/app/pages/login/UsernameForm.d.ts +1 -1
- package/dist/app/pages/merge/Merge.d.ts +2 -1
- package/dist/app/pages/merge/components/Player.d.ts +2 -1
- package/dist/app/pages/merge/components/VideoMerge.d.ts +1 -1
- package/dist/app/pages/merge/components/VideoRow.d.ts +2 -1
- package/dist/app/pages/merge/components/VideoThumbnail.d.ts +2 -1
- package/dist/app/pages/noAccess/NoAccess.d.ts +1 -1
- package/dist/app/pages/preview/PreviewVideoPlayer.d.ts +1 -1
- package/dist/app/pages/previewUpload/PreviewUpload.d.ts +1 -1
- package/dist/app/pages/quickVideos/QuickVideos.d.ts +1 -1
- package/dist/app/pages/quickVideos/card/QuickVideoCard.d.ts +1 -1
- package/dist/app/pages/quickVideos/card/components/QuickVideoCardBodySection.d.ts +1 -1
- package/dist/app/pages/quickVideos/card/components/QuickVideoCardFooterSection.d.ts +1 -1
- package/dist/app/pages/quickVideos/card/components/QuickVideoCardHeader.d.ts +1 -1
- package/dist/app/pages/quickVideos/form/Manager.d.ts +1 -1
- package/dist/app/pages/quickVideos/form/Page.d.ts +1 -1
- package/dist/app/pages/quickVideos/form/View.d.ts +1 -1
- package/dist/app/pages/quickVideos/modals/QuickVideoAddVideoModal.d.ts +1 -1
- package/dist/app/pages/quickVideos/modals/QuickVideoDetailsModal.d.ts +1 -1
- package/dist/app/pages/quickVideos/modals/components/QuickVideoAddVideoListItem.d.ts +1 -1
- package/dist/app/pages/quickVideos/modals/components/QuickVideoDetailsModalFooter.d.ts +1 -1
- package/dist/app/pages/quickVideos/modals/components/QuickVideoDetailsModalForm.d.ts +1 -1
- package/dist/app/pages/quickVideos/modals/components/QuickVideoDetailsModalHeader.d.ts +1 -1
- package/dist/app/pages/quickVideos/modals/components/QuickVideoPart.d.ts +1 -1
- package/dist/app/pages/quickVideos/modals/components/QuickVideoUserConfigurationVideoDetails.d.ts +1 -1
- package/dist/app/pages/recordv1/ChooseRecordingOptions.d.ts +1 -1
- package/dist/app/pages/recordv1/Countdown.d.ts +1 -1
- package/dist/app/pages/recordv1/FolderDropdown.d.ts +1 -1
- package/dist/app/pages/recordv1/ModalRecordingVideoSettings.d.ts +2 -1
- package/dist/app/pages/recordv1/ModalTeleprompterRecord.d.ts +1 -1
- package/dist/app/pages/recordv1/ModalVideoTags.d.ts +2 -1
- package/dist/app/pages/recordv1/ProgressCircle.d.ts +1 -1
- package/dist/app/pages/recordv1/RecordBoth.d.ts +2 -1
- package/dist/app/pages/recordv1/RecordCam.d.ts +1 -1
- package/dist/app/pages/recordv1/RecordCamLoader.d.ts +1 -1
- package/dist/app/pages/recordv1/RecordHome.d.ts +1 -1
- package/dist/app/pages/recordv1/RecorderBody.d.ts +1 -1
- package/dist/app/pages/recordv1/RecordingHeadingWithRouteGuard.d.ts +1 -1
- package/dist/app/pages/recordv1/ScreenRecorder.d.ts +1 -1
- package/dist/app/pages/recordv1/Scroller.d.ts +2 -1
- package/dist/app/pages/recordv1/Teleprompter/BaseTeleprompterActions.d.ts +1 -1
- package/dist/app/pages/recordv1/Teleprompter/RecordingTeleprompterActions.d.ts +1 -1
- package/dist/app/pages/recordv1/Teleprompter/TeleprompterActions.d.ts +2 -1
- package/dist/app/pages/recordv1/Teleprompter/TeleprompterDisplay.d.ts +2 -1
- package/dist/app/pages/recordv1/UploadLoader.d.ts +1 -1
- package/dist/app/pages/recordv1/VideoTag.d.ts +1 -1
- package/dist/app/pages/recordv1/VideoUploadFolderDropdown.d.ts +1 -1
- package/dist/app/pages/recordv1/VirtualBackgroundsButton.d.ts +1 -1
- package/dist/app/pages/recordv1/detailsPreview/DetailsPreview.d.ts +2 -1
- package/dist/app/pages/recordv1/detailsPreview/form/DetailsPreviewAtrributesHeader.d.ts +1 -1
- package/dist/app/pages/recordv1/detailsPreview/form/DetailsPreviewHeader.d.ts +1 -1
- package/dist/app/pages/recordv1/detailsPreview/form/DetailsPreviewVideoAttributes.d.ts +2 -1
- package/dist/app/pages/recordv1/detailsPreview/form/DetailsRecordPreviewTags.d.ts +1 -1
- package/dist/app/pages/recordv1/detailsPreview/form/VideoRequestDetails.d.ts +1 -1
- package/dist/app/pages/recordv1/routes.d.ts +1 -1
- package/dist/app/pages/recordv1/virtualBackgrounds/FilesTabContent.d.ts +2 -1
- package/dist/app/pages/recordv1/virtualBackgrounds/VirtualBackgroundLibraryModal.d.ts +2 -1
- package/dist/app/pages/recordv1/virtualBackgrounds/VirtualBackgrounds.d.ts +2 -1
- package/dist/app/pages/video/Upload.d.ts +2 -1
- package/dist/app/pages/video/components/Preview.d.ts +1 -1
- package/dist/app/pages/video/components/videoPlayer/VideoPlayer.d.ts +1 -1
- package/dist/app/pages/video/components/videoPlayer/components/onScreenPlayButton.d.ts +2 -1
- package/dist/app/pages/video/components/videoPlayer/components/progressBar.d.ts +1 -1
- package/dist/app/pages/video/components/videoPlayer/components/trim/Handle.d.ts +2 -1
- package/dist/app/pages/video/components/videoPlayer/components/trim/TimelineRange.d.ts +1 -1
- package/dist/app/pages/video/components/videoPlayer/components/trim/Trim.d.ts +1 -1
- package/dist/app/pages/video/components/videoPlayer/components/trim/VideoPreviewTrack.d.ts +2 -1
- package/dist/app/pages/video/components/videoPlayer/components/videoControls.d.ts +1 -1
- package/dist/app/pages/video/videoDetails/components/AttributesFields.d.ts +2 -1
- package/dist/app/pages/vinReels/ModalVideoPreview.d.ts +2 -1
- package/dist/app/pages/vinReels/VinReels.d.ts +3 -2
- package/dist/app/pages/voiceover/Voiceover.d.ts +1 -1
- package/dist/app/pages/voiceover/components/AudioRecorder.d.ts +1 -1
- package/dist/app/pages/voiceover/components/VideoPreview.d.ts +1 -1
- package/dist/app/pages/wheelsTV/WheelsTV.d.ts +1 -1
- package/dist/app/pages/wheelsTV/components/PageInfo.d.ts +1 -1
- package/dist/app/pages/wheelsTV/components/Search.d.ts +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/lib/components/AddonDropdown.d.ts +1 -1
- package/dist/lib/components/ButtonDropdown.d.ts +1 -1
- package/dist/lib/components/ButtonSwitch.d.ts +1 -1
- package/dist/lib/components/CheckboxInput.d.ts +2 -1
- package/dist/lib/components/CloseButton.d.ts +1 -1
- package/dist/lib/components/Container.d.ts +1 -1
- package/dist/lib/components/CountDown.d.ts +1 -1
- package/dist/lib/components/DragAndDrop.d.ts +1 -1
- package/dist/lib/components/InformationBox.d.ts +2 -1
- package/dist/lib/components/Label.d.ts +1 -1
- package/dist/lib/components/LoadingIndicator.d.ts +2 -1
- package/dist/lib/components/Logo.d.ts +1 -1
- package/dist/lib/components/MainWrapper.d.ts +1 -1
- package/dist/lib/components/NewDropdown.d.ts +1 -1
- package/dist/lib/components/PreviewVideoBar.d.ts +1 -1
- package/dist/lib/components/RouteLeavingGuard.d.ts +1 -1
- package/dist/lib/components/TopBar.d.ts +1 -1
- package/dist/lib/components/formik/FormikDropdown.d.ts +1 -1
- package/dist/lib/components/formik/FormikErrorMessage.d.ts +1 -1
- package/dist/lib/components/formik/FormikTextAreaField.d.ts +1 -1
- package/dist/lib/components/inputs/RadioInput.d.ts +1 -1
- package/dist/lib/components/mediaTools/index.d.ts +1 -1
- package/dist/lib/components/modal/Modal.d.ts +1 -1
- package/dist/lib/components/modal/ModalQuickShareMarkAsSent.d.ts +1 -1
- package/dist/lib/components/modals/Modal.d.ts +1 -1
- package/dist/lib/components/modals/ModalInputText.d.ts +1 -1
- package/dist/lib/components/modals/ModalLeave.d.ts +1 -1
- package/dist/lib/components/modals/ModalPrompt.d.ts +1 -1
- package/dist/lib/components/modals/ModalUpload.d.ts +1 -1
- package/dist/lib/components/modals/ModalVideoPreview.d.ts +2 -1
- package/dist/lib/components/toast-notifications/ToastNotification.d.ts +1 -1
- package/dist/lib/components/toast-notifications/index.d.ts +2 -1
- package/dist/lib/components/videoUpload/MultipleUploadList.d.ts +2 -1
- package/dist/lib/components/videoUpload/VideoUpload.d.ts +1 -1
- package/dist/lib/context/ActionDispatchContext.d.ts +1 -1
- package/dist/lib/context/AuthorizationContext.d.ts +1 -1
- package/dist/lib/context/ConfigurationContext.d.ts +2 -0
- package/dist/lib/context/ContactUsModalContext.d.ts +1 -1
- package/dist/lib/context/record/provider.d.ts +1 -1
- package/dist/lib/context/teleprompter/provider.d.ts +1 -1
- package/dist/lib/hooks/query/markAsSent/useQuickShareMarkAsSentMutation.d.ts +4 -1
- package/dist/lib/hooks/useQuickShare.d.ts +1 -1
- package/dist/lib/images/volumeOff.d.ts +2 -1
- package/package.json +4 -4
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
type Props = {
|
|
2
3
|
handleModalClose: () => void;
|
|
3
4
|
onSelect: any;
|
|
4
5
|
selectedVirtualBackgroundUrl: string;
|
|
5
6
|
};
|
|
6
|
-
export declare const VirtualBackgroundLibraryModal: ({ handleModalClose, selectedVirtualBackgroundUrl, onSelect, }: Props) =>
|
|
7
|
+
export declare const VirtualBackgroundLibraryModal: ({ handleModalClose, selectedVirtualBackgroundUrl, onSelect, }: Props) => React.JSX.Element;
|
|
7
8
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { ICustomVirtualBackground } from 'lib/api/customVirtualBackground/useCustomVirtualBackgroundQuery';
|
|
2
3
|
export declare const VirtualBackgroundImages: string[];
|
|
3
4
|
interface Props {
|
|
@@ -8,5 +9,5 @@ interface Props {
|
|
|
8
9
|
selectedVirtualBackgroundUrl?: any;
|
|
9
10
|
customVirtualBackgrounds?: ICustomVirtualBackground[];
|
|
10
11
|
}
|
|
11
|
-
export declare const VirtualBackgrounds: ({ onSelect, onMainButtonClick, selectedVirtualBackgroundUrl, customVirtualBackgrounds, }: Props) =>
|
|
12
|
+
export declare const VirtualBackgrounds: ({ onSelect, onMainButtonClick, selectedVirtualBackgroundUrl, customVirtualBackgrounds, }: Props) => React.JSX.Element;
|
|
12
13
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
type UploadProps = {
|
|
2
3
|
title: string;
|
|
3
4
|
beginUploadProcess: boolean;
|
|
@@ -6,5 +7,5 @@ type UploadProps = {
|
|
|
6
7
|
file: any;
|
|
7
8
|
fileName: string;
|
|
8
9
|
};
|
|
9
|
-
declare const Upload: ({ title, beginUploadProcess, afterUpload, setSavedVideoId, file, fileName, }: UploadProps) =>
|
|
10
|
+
declare const Upload: ({ title, beginUploadProcess, afterUpload, setSavedVideoId, file, fileName, }: UploadProps) => React.JSX.Element;
|
|
10
11
|
export default Upload;
|
|
@@ -9,5 +9,5 @@ type PreviewProps = {
|
|
|
9
9
|
initialTitle?: string;
|
|
10
10
|
updateUploadLoading?: (val: boolean) => void;
|
|
11
11
|
};
|
|
12
|
-
declare const Preview: ({ recordingBlobUrl, recordDate, setSaveFunction, insertAfterSave, setIsSaveDisabled, skipUploadProcess, videoId, initialTitle, updateUploadLoading, }: PreviewProps) => import("react
|
|
12
|
+
declare const Preview: ({ recordingBlobUrl, recordDate, setSaveFunction, insertAfterSave, setIsSaveDisabled, skipUploadProcess, videoId, initialTitle, updateUploadLoading, }: PreviewProps) => import("react").JSX.Element;
|
|
13
13
|
export default Preview;
|
|
@@ -29,5 +29,5 @@ type Props = {
|
|
|
29
29
|
setVideoDuration?: (arg1: number) => void;
|
|
30
30
|
setIsVideoLoading?: (arg: boolean) => void;
|
|
31
31
|
};
|
|
32
|
-
export declare const VideoPlayer: (props: Props) =>
|
|
32
|
+
export declare const VideoPlayer: (props: Props) => React.JSX.Element;
|
|
33
33
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
type Props = {
|
|
2
3
|
playerBackgroundColor: string;
|
|
3
4
|
playButtonPosition: string;
|
|
@@ -6,5 +7,5 @@ type Props = {
|
|
|
6
7
|
playerIconsColor: string;
|
|
7
8
|
small?: boolean;
|
|
8
9
|
};
|
|
9
|
-
export declare const OnScreenPlayButton: (props: Props) =>
|
|
10
|
+
export declare const OnScreenPlayButton: (props: Props) => React.JSX.Element;
|
|
10
11
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { SliderItem, GetHandleProps } from 'react-compound-slider';
|
|
2
3
|
interface HandleProps {
|
|
3
4
|
isActive: boolean;
|
|
@@ -11,5 +12,5 @@ interface HandleProps {
|
|
|
11
12
|
changeVideoPosition?: boolean;
|
|
12
13
|
showFloatingPreview?: boolean;
|
|
13
14
|
}
|
|
14
|
-
export declare const Handle: (props: HandleProps) =>
|
|
15
|
+
export declare const Handle: (props: HandleProps) => React.JSX.Element;
|
|
15
16
|
export {};
|
|
@@ -9,5 +9,5 @@ type TrimProps = {
|
|
|
9
9
|
isVideoTrimmed: boolean;
|
|
10
10
|
isVideoLoading?: boolean;
|
|
11
11
|
};
|
|
12
|
-
declare const Trim: ({ videoRef, videoDuration, videoSource, setValue, value, isVideoTrimmed, valueRef, isVideoLoading, }: TrimProps) =>
|
|
12
|
+
declare const Trim: ({ videoRef, videoDuration, videoSource, setValue, value, isVideoTrimmed, valueRef, isVideoLoading, }: TrimProps) => React.JSX.Element;
|
|
13
13
|
export default Trim;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
type VideoPreviewTrackProps = {
|
|
2
3
|
videoSource: string;
|
|
3
4
|
videoDuration: number;
|
|
4
5
|
numberOfStills: number;
|
|
5
6
|
};
|
|
6
|
-
export declare const VideoPreviewTrack: ({ videoSource, videoDuration, numberOfStills, }: VideoPreviewTrackProps) =>
|
|
7
|
+
export declare const VideoPreviewTrack: ({ videoSource, videoDuration, numberOfStills, }: VideoPreviewTrackProps) => React.JSX.Element;
|
|
7
8
|
export {};
|
|
@@ -24,5 +24,5 @@ type Props = {
|
|
|
24
24
|
hideControls: () => void;
|
|
25
25
|
setShowPlaybackSpeed: React.Dispatch<React.SetStateAction<boolean>>;
|
|
26
26
|
};
|
|
27
|
-
export declare const VideoControls: (props: Props) =>
|
|
27
|
+
export declare const VideoControls: (props: Props) => React.JSX.Element;
|
|
28
28
|
export {};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
type ComponentProps = {
|
|
2
3
|
attributes: any[];
|
|
3
4
|
initValues: any;
|
|
4
5
|
setIsSaveDisabled: (arg: boolean) => void;
|
|
5
6
|
};
|
|
6
|
-
export declare const AttributeFields: ({ attributes, initValues, setIsSaveDisabled, }: ComponentProps) =>
|
|
7
|
+
export declare const AttributeFields: ({ attributes, initValues, setIsSaveDisabled, }: ComponentProps) => React.JSX.Element | null;
|
|
7
8
|
export {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
type PreviewProps = {
|
|
2
3
|
handleModalClose: () => void;
|
|
3
4
|
source: string;
|
|
4
5
|
};
|
|
5
|
-
export declare const ModalVideoPreview: ({ handleModalClose, source, }: PreviewProps) =>
|
|
6
|
+
export declare const ModalVideoPreview: ({ handleModalClose, source, }: PreviewProps) => React.JSX.Element;
|
|
6
7
|
export {};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { PaginationConstants } from 'lib/api/vinReel/useGetVINReelsQuery';
|
|
2
3
|
type SortProps = {
|
|
3
4
|
isSorted: boolean;
|
|
4
5
|
order?: PaginationConstants;
|
|
5
6
|
onChange: (value: PaginationConstants) => void;
|
|
6
7
|
};
|
|
7
|
-
export declare const SortButtons: (props: SortProps) =>
|
|
8
|
-
export declare const VINReels: () =>
|
|
8
|
+
export declare const SortButtons: (props: SortProps) => React.JSX.Element;
|
|
9
|
+
export declare const VINReels: () => React.JSX.Element;
|
|
9
10
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VoiceOver: () => import("react
|
|
1
|
+
export declare const VoiceOver: () => import("react").JSX.Element;
|
|
@@ -10,5 +10,5 @@ type Props = {
|
|
|
10
10
|
width?: number;
|
|
11
11
|
disabled?: boolean;
|
|
12
12
|
};
|
|
13
|
-
export declare const AudioRecorder: ({ video, videoRef, onChangeVoiceoverValid, onRecordingUrlGeneration, handleShowCard, margin, width, disabled, }: Props) =>
|
|
13
|
+
export declare const AudioRecorder: ({ video, videoRef, onChangeVoiceoverValid, onRecordingUrlGeneration, handleShowCard, margin, width, disabled, }: Props) => React.JSX.Element;
|
|
14
14
|
export {};
|
|
@@ -7,5 +7,5 @@ type Props = {
|
|
|
7
7
|
width?: number;
|
|
8
8
|
margin?: string;
|
|
9
9
|
};
|
|
10
|
-
export declare const VideoPreview: ({ video, videoRef, width, margin, useCovideoPlayer, }: Props) =>
|
|
10
|
+
export declare const VideoPreview: ({ video, videoRef, width, margin, useCovideoPlayer, }: Props) => React.JSX.Element;
|
|
11
11
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const WheelsTV: () => import("react
|
|
1
|
+
export declare const WheelsTV: () => import("react").JSX.Element;
|
|
@@ -2,5 +2,5 @@ type Props = {
|
|
|
2
2
|
prevSearch: string;
|
|
3
3
|
handleSearch: (searchTerm: string) => void;
|
|
4
4
|
};
|
|
5
|
-
export declare const Search: ({ prevSearch, handleSearch }: Props) => import("react
|
|
5
|
+
export declare const Search: ({ prevSearch, handleSearch }: Props) => import("react").JSX.Element;
|
|
6
6
|
export {};
|
package/dist/index.d.ts
CHANGED
|
@@ -10,5 +10,5 @@ type DropdownItemProps = {
|
|
|
10
10
|
type Props = {
|
|
11
11
|
dropdownItems: DropdownItemProps[];
|
|
12
12
|
};
|
|
13
|
-
export declare const AddonDropdown: (props: Props) =>
|
|
13
|
+
export declare const AddonDropdown: (props: Props) => React.JSX.Element;
|
|
14
14
|
export {};
|
|
@@ -17,5 +17,5 @@ type Props = {
|
|
|
17
17
|
onClick?: (e?: React.SyntheticEvent | React.SyntheticEvent<Element, Event>) => void;
|
|
18
18
|
title?: string;
|
|
19
19
|
};
|
|
20
|
-
export declare const ButtonDropdown: ({ text, subtext, type, icon, iconOther, backgroundColor, borderColor, hoverBorderColor, textColor, disabled, margin, width, fontSize, padding, height, onClick, title, }: Props) => import("react
|
|
20
|
+
export declare const ButtonDropdown: ({ text, subtext, type, icon, iconOther, backgroundColor, borderColor, hoverBorderColor, textColor, disabled, margin, width, fontSize, padding, height, onClick, title, }: Props) => import("react").JSX.Element;
|
|
21
21
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
interface CheckboxI {
|
|
2
3
|
id?: string;
|
|
3
4
|
style?: object;
|
|
@@ -12,5 +13,5 @@ interface CheckboxI {
|
|
|
12
13
|
width?: string;
|
|
13
14
|
isAutomotive?: boolean;
|
|
14
15
|
}
|
|
15
|
-
export declare const CheckboxInput: (props: CheckboxI) =>
|
|
16
|
+
export declare const CheckboxInput: (props: CheckboxI) => React.JSX.Element;
|
|
16
17
|
export {};
|
|
@@ -9,5 +9,5 @@ type Props = {
|
|
|
9
9
|
onClick: () => void;
|
|
10
10
|
style?: React.CSSProperties;
|
|
11
11
|
};
|
|
12
|
-
export declare const CloseButton: React.MemoExoticComponent<({ disabled, onClick, light, zIndex, padding, marginTop, marginRight, style, }: Props) =>
|
|
12
|
+
export declare const CloseButton: React.MemoExoticComponent<({ disabled, onClick, light, zIndex, padding, marginTop, marginRight, style, }: Props) => React.JSX.Element>;
|
|
13
13
|
export {};
|
|
@@ -5,5 +5,5 @@ type Props = {
|
|
|
5
5
|
wrapper?: CSSProperties;
|
|
6
6
|
};
|
|
7
7
|
};
|
|
8
|
-
export declare const Container: ({ children, extendStyle }: Props) => import("react
|
|
8
|
+
export declare const Container: ({ children, extendStyle }: Props) => import("react").JSX.Element;
|
|
9
9
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const CountDown: ({ counter, willStart, onClick, hide, height, width, }: any) => import("react
|
|
1
|
+
export declare const CountDown: ({ counter, willStart, onClick, hide, height, width, }: any) => import("react").JSX.Element;
|
|
@@ -15,5 +15,5 @@ interface Props {
|
|
|
15
15
|
showAddIcon?: boolean;
|
|
16
16
|
buttonBorder?: string;
|
|
17
17
|
}
|
|
18
|
-
declare const DragAndDrop: ({ accept, inputStyle, onDrop, width, height, marginTop, disabled, textStyle, backgroundColor, }: Props) =>
|
|
18
|
+
declare const DragAndDrop: ({ accept, inputStyle, onDrop, width, height, marginTop, disabled, textStyle, backgroundColor, }: Props) => React.JSX.Element;
|
|
19
19
|
export default DragAndDrop;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
type InformationProps = {
|
|
2
3
|
text: string;
|
|
3
4
|
width?: string;
|
|
4
5
|
};
|
|
5
|
-
export declare const InformationBox: ({ text, width }: InformationProps) =>
|
|
6
|
+
export declare const InformationBox: ({ text, width }: InformationProps) => React.JSX.Element;
|
|
6
7
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
type Props = {
|
|
2
3
|
isLoading?: boolean;
|
|
3
4
|
error?: boolean | null;
|
|
@@ -8,5 +9,5 @@ type Props = {
|
|
|
8
9
|
onRetry?: () => void;
|
|
9
10
|
hideLoaderText?: boolean;
|
|
10
11
|
};
|
|
11
|
-
export declare const LoadingIndicator: ({ isLoading, error, text, color, height, zIndex, onRetry, hideLoaderText, }: Props) =>
|
|
12
|
+
export declare const LoadingIndicator: ({ isLoading, error, text, color, height, zIndex, onRetry, hideLoaderText, }: Props) => React.JSX.Element;
|
|
12
13
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const Logo: () => import("react
|
|
1
|
+
export declare const Logo: () => import("react").JSX.Element;
|
|
@@ -94,5 +94,5 @@ export declare const getOptionStyles: (props: OptionProps<Option, false>, themes
|
|
|
94
94
|
backgroundColor: any;
|
|
95
95
|
cursor?: undefined;
|
|
96
96
|
};
|
|
97
|
-
export declare const Dropdown: (props: Props) =>
|
|
97
|
+
export declare const Dropdown: (props: Props) => React.JSX.Element;
|
|
98
98
|
export {};
|
|
@@ -4,5 +4,5 @@ type PreviewProps = {
|
|
|
4
4
|
setInsertAfterSave: (arg: boolean) => void;
|
|
5
5
|
uploadLoading: boolean;
|
|
6
6
|
};
|
|
7
|
-
export declare const PreviewVideoBar: ({ onSaveVideo, isSaveDisabled, setInsertAfterSave, uploadLoading, }: PreviewProps) => import("react
|
|
7
|
+
export declare const PreviewVideoBar: ({ onSaveVideo, isSaveDisabled, setInsertAfterSave, uploadLoading, }: PreviewProps) => import("react").JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -16,5 +16,5 @@ interface Props {
|
|
|
16
16
|
infoBoxText?: string;
|
|
17
17
|
disableSave?: boolean;
|
|
18
18
|
}
|
|
19
|
-
declare const RouteLeavingGuard: ({ when, navigate, shouldBlockNavigation, onConfirm, onDiscard, onStay, stay, title, text, discardButtonText, confirmButtonText, showDiscardIcon, showSaveIcon, infoBoxText, disableSave, }: Props) => import("react
|
|
19
|
+
declare const RouteLeavingGuard: ({ when, navigate, shouldBlockNavigation, onConfirm, onDiscard, onStay, stay, title, text, discardButtonText, confirmButtonText, showDiscardIcon, showSaveIcon, infoBoxText, disableSave, }: Props) => import("react").JSX.Element;
|
|
20
20
|
export default RouteLeavingGuard;
|
|
@@ -4,5 +4,5 @@ type Props = {
|
|
|
4
4
|
right?: React.ReactNode;
|
|
5
5
|
justify?: 'center' | 'space-between';
|
|
6
6
|
};
|
|
7
|
-
export declare const TopBar: ({ left, right, center }: Props) => import("react
|
|
7
|
+
export declare const TopBar: ({ left, right, center }: Props) => import("react").JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -8,5 +8,5 @@ interface CustomDropdownProps {
|
|
|
8
8
|
}[];
|
|
9
9
|
disabled: boolean;
|
|
10
10
|
}
|
|
11
|
-
export declare const FormikDropdownField: ({ label, isRequired, options, disabled, ...props }: CustomDropdownProps) => import("react
|
|
11
|
+
export declare const FormikDropdownField: ({ label, isRequired, options, disabled, ...props }: CustomDropdownProps) => import("react").JSX.Element;
|
|
12
12
|
export {};
|
|
@@ -4,5 +4,5 @@ interface CustomTextareaProps extends React.TextareaHTMLAttributes<HTMLTextAreaE
|
|
|
4
4
|
label: string;
|
|
5
5
|
isRequired: boolean;
|
|
6
6
|
}
|
|
7
|
-
export declare const FormikTextAreaField: ({ label, isRequired, ...props }: CustomTextareaProps) =>
|
|
7
|
+
export declare const FormikTextAreaField: ({ label, isRequired, ...props }: CustomTextareaProps) => React.JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -10,5 +10,5 @@ interface RadioProps {
|
|
|
10
10
|
onClick?: (e?: any) => void;
|
|
11
11
|
checkedColor?: string;
|
|
12
12
|
}
|
|
13
|
-
export declare const RadioInput: (props: RadioProps) =>
|
|
13
|
+
export declare const RadioInput: (props: RadioProps) => React.JSX.Element;
|
|
14
14
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const MediaTools: () => import("react
|
|
1
|
+
export declare const MediaTools: () => import("react").JSX.Element;
|
|
@@ -9,5 +9,5 @@ type Props = {
|
|
|
9
9
|
bodyOverflowY?: string;
|
|
10
10
|
bodyOverflowX?: string;
|
|
11
11
|
};
|
|
12
|
-
export declare const Modal: ({ style, children, widthOnDesktop, disableFullScreen, maxHeight, overrideBodyHeight, bodyOverflowY, bodyOverflowX, }: Props) =>
|
|
12
|
+
export declare const Modal: ({ style, children, widthOnDesktop, disableFullScreen, maxHeight, overrideBodyHeight, bodyOverflowY, bodyOverflowX, }: Props) => React.JSX.Element;
|
|
13
13
|
export {};
|
|
@@ -10,5 +10,5 @@ type Props = {
|
|
|
10
10
|
useAutomotive: boolean;
|
|
11
11
|
}>;
|
|
12
12
|
};
|
|
13
|
-
export declare const ModalQuickShareMarkAsSent: ({ handleModalClose, quickShareMarkAsSentHandler, isQuickShareLoading, markAsSentPayload, getMarkAsSentPayload, }: Props) => import("react
|
|
13
|
+
export declare const ModalQuickShareMarkAsSent: ({ handleModalClose, quickShareMarkAsSentHandler, isQuickShareLoading, markAsSentPayload, getMarkAsSentPayload, }: Props) => import("react").JSX.Element;
|
|
14
14
|
export {};
|
|
@@ -10,5 +10,5 @@ type Props = {
|
|
|
10
10
|
bodyOverflowX?: string;
|
|
11
11
|
onOutsideClick?: () => void;
|
|
12
12
|
};
|
|
13
|
-
export declare const Modal: ({ style, children, widthOnDesktop, disableFullScreen, maxHeight, overrideBodyHeight, bodyOverflowY, bodyOverflowX, onOutsideClick, }: Props) =>
|
|
13
|
+
export declare const Modal: ({ style, children, widthOnDesktop, disableFullScreen, maxHeight, overrideBodyHeight, bodyOverflowY, bodyOverflowX, onOutsideClick, }: Props) => React.JSX.Element;
|
|
14
14
|
export {};
|
|
@@ -7,5 +7,5 @@ type Props = {
|
|
|
7
7
|
handleSubmit: (value: string) => void;
|
|
8
8
|
handleModalClose: () => void;
|
|
9
9
|
};
|
|
10
|
-
export declare const ModalInputText: ({ title, label, defaultValue, primaryButtonText, secondaryButtonText, handleModalClose, handleSubmit, }: Props) => import("react
|
|
10
|
+
export declare const ModalInputText: ({ title, label, defaultValue, primaryButtonText, secondaryButtonText, handleModalClose, handleSubmit, }: Props) => import("react").JSX.Element;
|
|
11
11
|
export {};
|
|
@@ -12,5 +12,5 @@ type Props = {
|
|
|
12
12
|
onClickConfirmButton: () => void;
|
|
13
13
|
handleModalClose?: () => void;
|
|
14
14
|
};
|
|
15
|
-
export declare const ModalLeave: ({ open, disableSave, infoBoxText, title, text, discardButtonText, confirmButtonText, onClickDiscardButton, onClickConfirmButton, showDiscardIcon, showSaveIcon, handleModalClose, }: Props) => import("react
|
|
15
|
+
export declare const ModalLeave: ({ open, disableSave, infoBoxText, title, text, discardButtonText, confirmButtonText, onClickDiscardButton, onClickConfirmButton, showDiscardIcon, showSaveIcon, handleModalClose, }: Props) => import("react").JSX.Element | null;
|
|
16
16
|
export {};
|
|
@@ -8,5 +8,5 @@ type Props = {
|
|
|
8
8
|
handleModalClose: () => void;
|
|
9
9
|
primaryButtonType?: 'primary' | 'secondary' | 'text';
|
|
10
10
|
};
|
|
11
|
-
export declare const ModalPrompt: ({ title, content, primaryButtonText, secondaryButtonText, handleModalClose, handleSubmit, primaryButtonType, }: Props) =>
|
|
11
|
+
export declare const ModalPrompt: ({ title, content, primaryButtonText, secondaryButtonText, handleModalClose, handleSubmit, primaryButtonType, }: Props) => React.JSX.Element;
|
|
12
12
|
export {};
|
|
@@ -3,5 +3,5 @@ type UploadProps = {
|
|
|
3
3
|
disabled?: boolean;
|
|
4
4
|
onSuccess: (data: number[]) => void;
|
|
5
5
|
};
|
|
6
|
-
export declare const ModalUpload: ({ handleModalClose, disabled, onSuccess, }: UploadProps) => import("react
|
|
6
|
+
export declare const ModalUpload: ({ handleModalClose, disabled, onSuccess, }: UploadProps) => import("react").JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { VideoListItem } from 'lib/api';
|
|
2
3
|
type PreviewProps = {
|
|
3
4
|
handleModalClose: () => void;
|
|
4
5
|
video: VideoListItem;
|
|
5
6
|
};
|
|
6
|
-
export declare const ModalVideoPreview: ({ handleModalClose, video, }: PreviewProps) =>
|
|
7
|
+
export declare const ModalVideoPreview: ({ handleModalClose, video, }: PreviewProps) => React.JSX.Element;
|
|
7
8
|
export {};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { IUploadingData } from './VideoUpload';
|
|
2
3
|
type MultipleUploadProps = {
|
|
3
4
|
progress: number;
|
|
4
5
|
uploadingData: IUploadingData;
|
|
5
6
|
setUploadingData: (arg: IUploadingData) => void;
|
|
6
7
|
};
|
|
7
|
-
export declare const MultipleUploadList: ({ progress, uploadingData, setUploadingData, }: MultipleUploadProps) =>
|
|
8
|
+
export declare const MultipleUploadList: ({ progress, uploadingData, setUploadingData, }: MultipleUploadProps) => React.JSX.Element;
|
|
8
9
|
export {};
|
|
@@ -5,5 +5,5 @@ type UploadProps = {
|
|
|
5
5
|
handleModalClose: () => void;
|
|
6
6
|
onSuccess: (data: number[]) => void;
|
|
7
7
|
};
|
|
8
|
-
declare const VideoUpload: ({ handleModalClose, onSuccess }: UploadProps) => import("react
|
|
8
|
+
declare const VideoUpload: ({ handleModalClose, onSuccess }: UploadProps) => import("react").JSX.Element;
|
|
9
9
|
export default VideoUpload;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export declare const ActionDispatchContext: import("react").Context<any>;
|
|
2
|
-
export declare const ActionDispatchProvider: ({ children }: any) => import("react
|
|
2
|
+
export declare const ActionDispatchProvider: ({ children }: any) => import("react").JSX.Element;
|
|
3
3
|
export declare const useActionDispatchContextState: () => any;
|
|
@@ -113,6 +113,6 @@ type Props = {
|
|
|
113
113
|
initialUser?: any;
|
|
114
114
|
children: ReactNode;
|
|
115
115
|
};
|
|
116
|
-
export declare const AuthorizationContextProvider: ({ initialUser, children, }: Props) =>
|
|
116
|
+
export declare const AuthorizationContextProvider: ({ initialUser, children, }: Props) => React.JSX.Element;
|
|
117
117
|
export declare const useAuthorizationContext: () => IContextProps;
|
|
118
118
|
export {};
|
|
@@ -6,6 +6,6 @@ type ContactUsModalContextType = {
|
|
|
6
6
|
type Props = {
|
|
7
7
|
children: ReactNode;
|
|
8
8
|
};
|
|
9
|
-
export declare const ContactUsModalProvider: ({ children }: Props) => import("react
|
|
9
|
+
export declare const ContactUsModalProvider: ({ children }: Props) => import("react").JSX.Element;
|
|
10
10
|
export declare const useContactUsModal: () => ContactUsModalContextType;
|
|
11
11
|
export {};
|
|
@@ -12,7 +12,7 @@ export declare const RecordSettingsContext: React.Context<{
|
|
|
12
12
|
initialUserSettings: IUserSettings;
|
|
13
13
|
onSubmitModalHandler: () => void;
|
|
14
14
|
}>;
|
|
15
|
-
export declare const RecordSettingsProvider: ({ children, }: IRecordSettingsProvider) =>
|
|
15
|
+
export declare const RecordSettingsProvider: ({ children, }: IRecordSettingsProvider) => React.JSX.Element;
|
|
16
16
|
export declare const useRecordSettings: () => {
|
|
17
17
|
recorderSettings: {
|
|
18
18
|
audioSource: Option[];
|
|
@@ -18,7 +18,7 @@ export declare const TeleprompterContext: import("react").Context<{
|
|
|
18
18
|
}>;
|
|
19
19
|
export declare const TeleprompterProvider: ({ children }: {
|
|
20
20
|
children: ReactNode;
|
|
21
|
-
}) => import("react
|
|
21
|
+
}) => import("react").JSX.Element;
|
|
22
22
|
export declare const useTeleprompter: () => {
|
|
23
23
|
isUsingTeleprompter: boolean;
|
|
24
24
|
showTeleprompterModal: boolean;
|
|
@@ -26,5 +26,8 @@ export interface IQuickShareMarkAsSentParams {
|
|
|
26
26
|
reuseShortUrl?: boolean;
|
|
27
27
|
}
|
|
28
28
|
export declare const markQuickShareAsSent: (params: IQuickShareMarkAsSentParams) => Promise<any>;
|
|
29
|
-
export declare const useQuickShareMarkAsSentMutation: (onSuccessCallback: () => void
|
|
29
|
+
export declare const useQuickShareMarkAsSentMutation: (onSuccessCallback: () => void, { videoTitle, videoUrl }?: {
|
|
30
|
+
videoTitle: string;
|
|
31
|
+
videoUrl: string;
|
|
32
|
+
}) => import("react-query").UseMutationResult<MarkAsSentResponse, unknown, IQuickShareMarkAsSentParams, unknown>;
|
|
30
33
|
export {};
|
|
@@ -2,7 +2,7 @@ import { VideoListItem } from 'lib/api';
|
|
|
2
2
|
import { VideoListAutomotiveItem, VideoRequest } from 'lib/context';
|
|
3
3
|
import { IQuickShareMarkAsSentParams } from 'lib/hooks/query/markAsSent/useQuickShareMarkAsSentMutation';
|
|
4
4
|
interface IProps {
|
|
5
|
-
video
|
|
5
|
+
video?: VideoListAutomotiveItem | VideoListItem | number;
|
|
6
6
|
videoRequest?: VideoRequest;
|
|
7
7
|
setShowModalQuickShareMarkAsSent: (showModalQuickShareMarkAsSent: boolean) => void;
|
|
8
8
|
handleOnMarkAsSentSuccessCallback?: () => void;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export function VolumeOffIcon(props: any):
|
|
1
|
+
export function VolumeOffIcon(props: any): React.JSX.Element;
|
|
2
|
+
import * as React from 'react';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-covideo-embed",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.97",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Covideo platform as an embeddable React component.",
|
|
6
6
|
"main": "build/index.js",
|
|
@@ -74,9 +74,9 @@
|
|
|
74
74
|
"devDependencies": {
|
|
75
75
|
"@eslint/js": "^9.0.0",
|
|
76
76
|
"@mediapipe/tasks-vision": "^0.10.15",
|
|
77
|
-
"@storybook/addon-links": "
|
|
78
|
-
"@storybook/addon-themes": "
|
|
79
|
-
"@storybook/react-vite": "
|
|
77
|
+
"@storybook/addon-links": "10.3.6",
|
|
78
|
+
"@storybook/addon-themes": "10.3.6",
|
|
79
|
+
"@storybook/react-vite": "10.3.6",
|
|
80
80
|
"@types/color-convert": "^2.0.0",
|
|
81
81
|
"@types/file-saver": "^2.0.5",
|
|
82
82
|
"@types/js-cookie": "^3.0.6",
|