react-covideo-embed 1.0.76 → 1.0.79

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.
Files changed (35) hide show
  1. package/build/app/pages/library/components/VideoItemThumbnail.d.ts +12 -5
  2. package/build/app/pages/recordv1/detailsPreview/types.d.ts +2 -4
  3. package/build/app/pages/recordv1/useVideoRecorderUpload.d.ts +4 -0
  4. package/build/app/pages/vinReels/ModalVideoPreview.d.ts +6 -0
  5. package/build/app/pages/vinReels/VinReels.d.ts +9 -0
  6. package/build/app/pages/vinReels/style.d.ts +31 -0
  7. package/build/index.d.ts +3 -2
  8. package/build/index.js +111 -105
  9. package/build/index.js.LICENSE.txt +10 -0
  10. package/build/lib/api/videos/useVideoQuery.d.ts +2 -0
  11. package/build/lib/api/vinReel/useCopyVINReelMutation.d.ts +8 -0
  12. package/build/lib/api/vinReel/useGetVINReelsQuery.d.ts +42 -0
  13. package/build/lib/components/AddonDropdown.d.ts +14 -0
  14. package/build/lib/components/mediaTools/index.d.ts +1 -0
  15. package/build/lib/const/Folder.d.ts +5 -0
  16. package/build/lib/context/AuthorizationContext.d.ts +2 -0
  17. package/build/lib/context/ConfigurationContext.d.ts +1 -0
  18. package/build/lib/context/ContactUsModalContext.d.ts +11 -0
  19. package/build/lib/hooks/GTM/actions/video/saveNewVideoInteraction.d.ts +1 -1
  20. package/build/lib/hooks/GTM/actions/video/types.d.ts +2 -0
  21. package/build/lib/hooks/GTM/actions/video/utils.d.ts +86 -0
  22. package/build/lib/hooks/GTM/actions/videoPlayer/index.d.ts +1 -0
  23. package/build/lib/hooks/GTM/actions/videoPlayer/interaction.d.ts +4 -0
  24. package/build/lib/hooks/GTM/actions/videoPlayer/types.d.ts +5 -0
  25. package/build/lib/hooks/GTM/types.d.ts +2 -1
  26. package/build/lib/hooks/GTM/useGTMAnalytics.d.ts +11 -9
  27. package/build/lib/hooks/ai/features/useAIFeatureFlags.d.ts +11 -0
  28. package/build/lib/hooks/ai/features/useAiFeatureAvailability.d.ts +9 -0
  29. package/build/lib/hooks/ai/features/utils.d.ts +10 -0
  30. package/build/lib/images/Images.d.ts +4 -0
  31. package/build/lib/images/imagePlaceholder.webp +0 -0
  32. package/build/lib/utils/automotiveRolePermissionChecks.d.ts +0 -1
  33. package/build/lib/utils/folders/folderSelection.d.ts +9 -0
  34. package/package.json +2 -2
  35. package/styled.d.ts +1 -1
@@ -1,11 +1,18 @@
1
- export declare const FAILED_VIDEOS_PROCESSING_ID = 2;
1
+ export declare enum VideoEncodingStatus {
2
+ READY = 0,
3
+ PROCESSING = 1,
4
+ FAILED = 2
5
+ }
2
6
  type Props = {
7
+ onClick: () => void;
3
8
  thumbnail: string;
4
- duration: number;
9
+ duration?: number;
5
10
  videoId: string;
6
11
  emailStatus?: string;
7
- processing?: number;
8
- onClick?: () => void;
12
+ processing?: VideoEncodingStatus;
13
+ thumbnailHeight?: string;
14
+ thumbnailWidth?: string;
15
+ refreshVideoList?: () => void;
9
16
  };
10
- export declare const VideoItemThumbnail: ({ thumbnail, duration, videoId, emailStatus, processing, onClick, }: Props) => JSX.Element;
17
+ export declare const VideoItemThumbnail: ({ onClick, thumbnail, duration, videoId, emailStatus, processing, thumbnailHeight, thumbnailWidth, refreshVideoList, }: Props) => JSX.Element;
11
18
  export {};
@@ -1,3 +1,4 @@
1
+ import { InventoryItem } from "lib/context";
1
2
  type VideoAttribute = {
2
3
  value: any;
3
4
  attributeId: number;
@@ -36,10 +37,7 @@ export interface DetailsPreviewRecordFormValues {
36
37
  videoRequest?: {
37
38
  customerName: string;
38
39
  videoType: string;
39
- vehicle: {
40
- vin: string;
41
- stockNumber: string;
42
- };
40
+ vehicle: Partial<InventoryItem>;
43
41
  advisorId: string;
44
42
  repairOrderNumber: string;
45
43
  note: string;
@@ -25,5 +25,9 @@ export declare const useVideoRecordUpload: ({ contineToInsert, }: {
25
25
  total: number;
26
26
  percentage: number;
27
27
  };
28
+ setCdkAmplitudeFields: import("react").Dispatch<import("react").SetStateAction<{
29
+ values: DetailsPreviewRecordFormValues;
30
+ initialValues: DetailsPreviewRecordFormValues;
31
+ }>>;
28
32
  };
29
33
  export {};
@@ -0,0 +1,6 @@
1
+ type PreviewProps = {
2
+ handleModalClose: () => void;
3
+ source: string;
4
+ };
5
+ export declare const ModalVideoPreview: ({ handleModalClose, source, }: PreviewProps) => JSX.Element;
6
+ export {};
@@ -0,0 +1,9 @@
1
+ import { PaginationConstants } from 'lib/api/vinReel/useGetVINReelsQuery';
2
+ type SortProps = {
3
+ isSorted: boolean;
4
+ order?: PaginationConstants;
5
+ onChange: (value: PaginationConstants) => void;
6
+ };
7
+ export declare const SortButtons: (props: SortProps) => JSX.Element;
8
+ export declare const VINReels: () => JSX.Element;
9
+ export {};
@@ -0,0 +1,31 @@
1
+ export declare const FullScreenModalContent: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
2
+ export declare const EmptySearch: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
3
+ export declare const FullScreenModalFooter: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
4
+ export declare const VideosList: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
5
+ export declare const Video: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
6
+ export declare const BaseModalText: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
7
+ export declare const BaseHeaderText: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
8
+ export declare const VehicleYearWidth: import("styled-components").FlattenSimpleInterpolation;
9
+ export declare const VehicleYear: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
10
+ export declare const VehicleYearHeader: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
11
+ export declare const VehicleMakeWidth: import("styled-components").FlattenSimpleInterpolation;
12
+ export declare const VehicleMake: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
13
+ export declare const VehicleMakeHeader: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
14
+ export declare const VehicleModelWidth: import("styled-components").FlattenSimpleInterpolation;
15
+ export declare const VehicleModel: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
16
+ export declare const VehicleModelHeader: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
17
+ export declare const PreviewModelHeader: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
18
+ export declare const Wrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
19
+ export declare const TitleWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
20
+ export declare const SearchAndFilterWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
21
+ export declare const TableContentContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
22
+ export declare const YearWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
23
+ export declare const TablePaginationContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
24
+ export declare const PaginationText: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;
25
+ export declare const PageInput: import("styled-components").StyledComponent<"input", import("styled-components").DefaultTheme, {}, never>;
26
+ export declare const Navigation: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
27
+ export declare const SortCell: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
28
+ cursor?: "pointer" | "default" | "auto";
29
+ }, never>;
30
+ export declare const TableHeaderContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
31
+ export declare const LoadingWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
package/build/index.d.ts CHANGED
@@ -23,9 +23,10 @@ export declare enum Feature {
23
23
  VIRTUAL_BG = "virtualBg",
24
24
  WEBSITE_OVERLAY = "websiteOverlay",
25
25
  LANGUAGE_DROPDOWN = "languageDropdown",
26
- SSO = "sso"
26
+ SSO = "sso",
27
+ VIN_REELS = "vinReels"
27
28
  }
28
- export type FeatureType = 'insert' | 'recordScreen' | 'recordBoth' | 'recordCam' | 'upload' | 'trim' | 'merge' | 'wheelsTV' | 'voiceover' | 'quickshare' | 'folder' | 'landingPage' | 'CTA' | 'reactions' | 'aiAssist' | 'upgradeMessage' | 'lesaTV' | 'multiLocation' | 'teleprompter' | 'websiteOverlay' | 'virtualBg' | 'languageDropdown' | 'sso';
29
+ export type FeatureType = 'insert' | 'recordScreen' | 'recordBoth' | 'recordCam' | 'upload' | 'trim' | 'merge' | 'wheelsTV' | 'voiceover' | 'quickshare' | 'folder' | 'landingPage' | 'CTA' | 'reactions' | 'aiAssist' | 'upgradeMessage' | 'lesaTV' | 'multiLocation' | 'teleprompter' | 'websiteOverlay' | 'virtualBg' | 'languageDropdown' | 'sso' | 'vinReels';
29
30
  export declare enum Environment {
30
31
  DEVELOPMENT = "development",
31
32
  SANDBOX = "sandbox",