react-covideo-embed 0.1.25 → 0.1.27

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 (42) hide show
  1. package/README.md +7 -0
  2. package/build/app/pages/insertVideo/InsertVideo.d.ts +0 -6
  3. package/build/app/pages/insertVideo/components/CopyVideoButton.d.ts +13 -0
  4. package/build/app/pages/insertVideo/components/InsertButton.d.ts +13 -0
  5. package/build/app/pages/library/Library.d.ts +0 -6
  6. package/build/app/pages/merge/components/VideoMerge.d.ts +0 -14
  7. package/build/app/pages/merge/components/VideoThumbnail.d.ts +0 -1
  8. package/build/index.d.ts +2 -0
  9. package/build/index.js +135 -135
  10. package/build/lib/api/quckshareApi.d.ts +2 -1
  11. package/build/lib/api/videoTagsApi.d.ts +2 -1
  12. package/build/lib/components/DragAndDrop.d.ts +2 -7
  13. package/build/lib/components/index.d.ts +0 -1
  14. package/build/lib/components/videoUpload/VideoUpload.d.ts +0 -6
  15. package/build/lib/components/videoUpload/styles.d.ts +0 -6
  16. package/build/lib/config.d.ts +3 -2
  17. package/build/lib/const/AutomotiveRole.d.ts +0 -4
  18. package/build/lib/const/index.d.ts +0 -1
  19. package/build/lib/context/ActionDispatchContext.d.ts +0 -1
  20. package/build/lib/context/ConfigurationContext.d.ts +1 -0
  21. package/build/lib/hooks/index.d.ts +0 -1
  22. package/build/lib/hooks/query/markAsSent/useQuickShareMarkAsSentMutation.d.ts +3 -2
  23. package/build/lib/hooks/useCreateVideo.d.ts +1 -1
  24. package/build/lib/hooks/useEncodeVideo.d.ts +1 -1
  25. package/build/lib/hooks/useMediaRecorder.d.ts +4 -18
  26. package/build/lib/hooks/useQueryFetch.d.ts +4 -7
  27. package/build/lib/hooks/useQueryState.d.ts +1 -1
  28. package/build/lib/hooks/useS3Upload.d.ts +1 -1
  29. package/build/lib/utils/automotiveRolePermissionChecks.d.ts +0 -6
  30. package/build/lib/utils/functions.d.ts +0 -1
  31. package/package.json +2 -2
  32. package/build/lib/components/inputs/CheckboxInput.d.ts +0 -18
  33. package/build/lib/components/inputs/index.d.ts +0 -2
  34. package/build/lib/components/modal/ModalLeave.d.ts +0 -15
  35. package/build/lib/const/InternalCustomers.d.ts +0 -9
  36. package/build/lib/hooks/useQuickShare.d.ts +0 -15
  37. package/build/lib/images/ArrowBackcon.d.ts +0 -2
  38. package/build/lib/images/CutIcon.d.ts +0 -2
  39. package/build/lib/images/DropdownIcon.d.ts +0 -1
  40. package/build/lib/images/InsertVideoIcon.d.ts +0 -2
  41. package/build/lib/images/MovieIcon.d.ts +0 -2
  42. package/build/lib/utils/object.d.ts +0 -3
package/README.md CHANGED
@@ -68,6 +68,7 @@ Explore the capabilities of react-covideo-embed through our [Demo Project](https
68
68
 
69
69
  - **Type**: `Array<Feature>`
70
70
  - **Description**: Determines which Covideo features to hide. Acceptable values are as follows:
71
+
71
72
  - `insert`
72
73
  - `recordScreen`
73
74
  - `recordBoth`
@@ -82,6 +83,12 @@ Explore the capabilities of react-covideo-embed through our [Demo Project](https
82
83
  - `landingPage`
83
84
  - `CTA`
84
85
  - `reactions`
86
+ - `aiAssist`
87
+
88
+ ### `apikey` (optional)
89
+
90
+ - **Type**: `string`
91
+ - **Description**: Used for tracking the origin of requests from this npm module.
85
92
 
86
93
  ## APIs/Functions
87
94
 
@@ -2,12 +2,6 @@ export type Option = {
2
2
  value: string;
3
3
  label: string;
4
4
  };
5
- export type VideoShareLinkData = {
6
- url: string;
7
- html: string;
8
- thumbnail: string;
9
- key?: string;
10
- };
11
5
  export type VideoShareSetData = {
12
6
  videoId: string;
13
7
  templateId: number;
@@ -0,0 +1,13 @@
1
+ import { VideoListItem } from 'lib/api';
2
+ import { VideoListAutomotiveItem } from 'lib/context';
3
+ import { VideoShareSetData } from '../InsertVideo';
4
+ type Props = {
5
+ video: VideoListAutomotiveItem | VideoListItem;
6
+ disable: boolean;
7
+ getMarkAsSentPayload: () => Promise<{
8
+ videoShareSetData: VideoShareSetData;
9
+ useAutomotive: boolean;
10
+ }>;
11
+ };
12
+ export declare const CopyVideoButton: ({ video, getMarkAsSentPayload, disable, }: Props) => import("react/jsx-runtime").JSX.Element;
13
+ export {};
@@ -0,0 +1,13 @@
1
+ import { VideoListItem } from 'lib/api';
2
+ import { VideoListAutomotiveItem } from 'lib/context';
3
+ import { VideoShareSetData } from '../InsertVideo';
4
+ type Props = {
5
+ video: VideoListAutomotiveItem | VideoListItem;
6
+ disable: boolean;
7
+ getMarkAsSentPayload: () => Promise<{
8
+ videoShareSetData: VideoShareSetData;
9
+ useAutomotive: boolean;
10
+ }>;
11
+ };
12
+ export declare const InsertButton: ({ video, getMarkAsSentPayload, disable, }: Props) => import("react/jsx-runtime").JSX.Element;
13
+ export {};
@@ -1,9 +1,3 @@
1
- export type VideoListFilter = {
2
- folderId: string | number;
3
- searchQuery: string;
4
- page: number;
5
- size: number;
6
- };
7
1
  type Props = {
8
2
  handleUpdateToken: Function;
9
3
  };
@@ -1,15 +1 @@
1
- export declare const CloseContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
2
- export type VideosProps = {
3
- id: string;
4
- start: string;
5
- end: string;
6
- startSec: number;
7
- endSec: number;
8
- flvName: string;
9
- duration: number;
10
- trimDuration: number;
11
- width: number;
12
- ref: any;
13
- source: string;
14
- };
15
1
  export declare const VideoMerge: ({ videos, setVideos }: any) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- export declare const DragContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
2
1
  export declare const VideoThumbnail: ({ video, setVideos, setVideoRef, index, }: any) => import("react/jsx-runtime").JSX.Element;
package/build/index.d.ts CHANGED
@@ -57,5 +57,7 @@ export type CovideoEmbedProps = {
57
57
  * @param error - The error occurred during video insert.
58
58
  */
59
59
  onVideoInsertError?: (error: unknown) => void;
60
+ /** Used for tracking the origin of requests from this npm module. */
61
+ apikey?: string;
60
62
  };
61
63
  export declare const CovideoEmbed: React.FC<CovideoEmbedProps>;