react-covideo-embed 1.0.57 → 1.0.59
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/InsertVideoSettings.d.ts +7 -3
- package/build/app/pages/insertVideo/utils.d.ts +32 -0
- package/build/app/pages/recordv1/utils/functions.d.ts +3 -2
- package/build/index.d.ts +3 -2
- package/build/index.js +99 -99
- package/build/lib/api/useGetTemplatesQuery.d.ts +21 -0
- package/build/lib/context/ConfigurationContext.d.ts +1 -0
- package/package.json +3 -5
|
@@ -1,10 +1,12 @@
|
|
|
1
|
+
import { Dispatch, SetStateAction } from 'react';
|
|
1
2
|
import { Option, VideoShareSetData } from '../InsertVideo';
|
|
2
|
-
import { LinksetsData, OverlaysData
|
|
3
|
+
import { LinksetsData, OverlaysData } from 'lib/api';
|
|
4
|
+
import { LandingPageOption } from '../utils';
|
|
3
5
|
type Props = {
|
|
4
6
|
templatesLoading: boolean;
|
|
5
7
|
linksetsLoading: boolean;
|
|
6
8
|
overlaysLoading: boolean;
|
|
7
|
-
|
|
9
|
+
templatesOptions: LandingPageOption[];
|
|
8
10
|
linksetsData: Array<LinksetsData>;
|
|
9
11
|
overlaysData: Array<OverlaysData>;
|
|
10
12
|
checkboxes: Array<Option>;
|
|
@@ -12,6 +14,8 @@ type Props = {
|
|
|
12
14
|
setSelectedCheckboxes: Function;
|
|
13
15
|
insertVideoData: VideoShareSetData;
|
|
14
16
|
setInsertVideoData: (insertVideoData: VideoShareSetData) => void;
|
|
17
|
+
selectedTemplate: LandingPageOption;
|
|
18
|
+
setSelectedTemplate: Dispatch<SetStateAction<LandingPageOption>>;
|
|
15
19
|
};
|
|
16
|
-
export declare const InsertVideoSettings: ({ linksetsData, linksetsLoading,
|
|
20
|
+
export declare const InsertVideoSettings: ({ linksetsData, linksetsLoading, templatesOptions, templatesLoading, overlaysData, overlaysLoading, checkboxes, selectedCheckboxes, setSelectedCheckboxes, insertVideoData, setInsertVideoData, setSelectedTemplate, selectedTemplate, }: Props) => JSX.Element;
|
|
17
21
|
export {};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { GetLandingPagesResponse } from 'lib/api';
|
|
2
|
+
import { UserData } from 'lib/context';
|
|
3
|
+
export declare const builderLandingPageTypeId = 19;
|
|
4
|
+
export declare const LANDING_PAGE_DESIGN_TYPE_ID = 21;
|
|
5
|
+
export declare const QUOTIBLE_LANDING_PAGE_TYPE_ID = 20;
|
|
6
|
+
export declare enum LandingPageType {
|
|
7
|
+
VIDMAILS = "vidmails",
|
|
8
|
+
AUTOMOTIVE = "automotive"
|
|
9
|
+
}
|
|
10
|
+
export declare const defaultLPOption: LandingPageOption;
|
|
11
|
+
export declare const SALES_PAGE_ID = -2;
|
|
12
|
+
export type LandingPageOption = {
|
|
13
|
+
value: string | number;
|
|
14
|
+
label: string;
|
|
15
|
+
typeId?: number;
|
|
16
|
+
landingPageType: LandingPageType;
|
|
17
|
+
};
|
|
18
|
+
export declare const getSalesServiceOption: (userData: UserData) => {
|
|
19
|
+
value: number;
|
|
20
|
+
label: string;
|
|
21
|
+
landingPageType: LandingPageType;
|
|
22
|
+
typeId: number;
|
|
23
|
+
};
|
|
24
|
+
export declare const prepareTemplateLandingPageOptions: ({ userData, templatesResponse, sendVehicle, sendQuote, }: {
|
|
25
|
+
userData: UserData;
|
|
26
|
+
templatesResponse: GetLandingPagesResponse;
|
|
27
|
+
sendVehicle: boolean;
|
|
28
|
+
sendQuote: boolean;
|
|
29
|
+
}) => {
|
|
30
|
+
options: LandingPageOption[];
|
|
31
|
+
autoSelectedOption: LandingPageOption;
|
|
32
|
+
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ExtendedFile } from '../types';
|
|
2
|
+
import { TFunction } from 'i18next';
|
|
2
3
|
declare enum PROMPT_USE_CASE {
|
|
3
4
|
INITIAL_REACH_OUT = "Initial Reach Out",
|
|
4
5
|
INITIAL_INQUIRY_REPLY = "Initial Inquiry Reply",
|
|
@@ -15,11 +16,11 @@ declare enum PROMPT_USE_CASE {
|
|
|
15
16
|
}
|
|
16
17
|
export declare const decodeAndReplaceText: (value: string, isReplace?: boolean) => string;
|
|
17
18
|
export declare const getDefaultPromptUseCase: (isAutomotive: boolean) => PROMPT_USE_CASE;
|
|
18
|
-
export declare const sizeToSpeedRatioMedium: {
|
|
19
|
+
export declare const sizeToSpeedRatioMedium: (t: TFunction<"translation", undefined>) => {
|
|
19
20
|
value: number;
|
|
20
21
|
label: string;
|
|
21
22
|
}[];
|
|
22
|
-
export declare const handleScriptSpeedUsingScriptSize: (ele: any) => {
|
|
23
|
+
export declare const handleScriptSpeedUsingScriptSize: (ele: any, t: TFunction<"translation", undefined>) => {
|
|
23
24
|
value: number;
|
|
24
25
|
label: string;
|
|
25
26
|
}[];
|
package/build/index.d.ts
CHANGED
|
@@ -21,9 +21,10 @@ export declare enum Feature {
|
|
|
21
21
|
MULTI_LOCATION = "multiLocation",
|
|
22
22
|
TELEPROMPTER = "teleprompter",
|
|
23
23
|
VIRTUAL_BG = "virtualBg",
|
|
24
|
-
WEBSITE_OVERLAY = "websiteOverlay"
|
|
24
|
+
WEBSITE_OVERLAY = "websiteOverlay",
|
|
25
|
+
LANGUAGE_DROPDOWN = "languageDropdown"
|
|
25
26
|
}
|
|
26
|
-
export type FeatureType = 'insert' | 'recordScreen' | 'recordBoth' | 'recordCam' | 'upload' | 'trim' | 'merge' | 'wheelsTV' | 'voiceover' | 'quickshare' | 'folder' | 'landingPage' | 'CTA' | 'reactions' | 'aiAssist' | 'upgradeMessage' | 'lesaTV' | 'multiLocation' | 'teleprompter' | 'websiteOverlay' | 'virtualBg';
|
|
27
|
+
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';
|
|
27
28
|
export declare enum Environment {
|
|
28
29
|
DEVELOPMENT = "development",
|
|
29
30
|
SANDBOX = "sandbox",
|