react-covideo-embed 0.1.17 → 0.1.18
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/library/components/const.d.ts +6 -0
- package/build/index.d.ts +2 -1
- package/build/index.js +575 -1
- package/build/index.js.LICENSE.txt +30 -0
- package/build/lib/components/Button.d.ts +2 -2
- package/build/lib/components/modal/ModalMarkAsSent.d.ts +1 -1
- package/build/lib/const/VideoActivity.d.ts +16 -0
- package/build/lib/context/ConfigurationContext.d.ts +1 -0
- package/build/lib/utils/automotiveRolePermissionChecks.d.ts +2 -0
- package/package.json +2 -1
|
@@ -4,6 +4,34 @@
|
|
|
4
4
|
http://jedwatson.github.io/classnames
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
+
/*!
|
|
8
|
+
Copyright (c) 2015 Jed Watson.
|
|
9
|
+
Based on code that is Copyright 2013-2015, Facebook, Inc.
|
|
10
|
+
All rights reserved.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
/*!
|
|
14
|
+
* Adapted from jQuery UI core
|
|
15
|
+
*
|
|
16
|
+
* http://jqueryui.com
|
|
17
|
+
*
|
|
18
|
+
* Copyright 2014 jQuery Foundation and other contributors
|
|
19
|
+
* Released under the MIT license.
|
|
20
|
+
* http://jquery.org/license
|
|
21
|
+
*
|
|
22
|
+
* http://api.jqueryui.com/category/ui-core/
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* @license
|
|
27
|
+
* Lodash (Custom Build) <https://lodash.com/>
|
|
28
|
+
* Build: `lodash modularize exports="es" -o ./`
|
|
29
|
+
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
30
|
+
* Released under MIT license <https://lodash.com/license>
|
|
31
|
+
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
32
|
+
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
33
|
+
*/
|
|
34
|
+
|
|
7
35
|
/**
|
|
8
36
|
* @license
|
|
9
37
|
* Lodash <https://lodash.com/>
|
|
@@ -40,3 +68,5 @@
|
|
|
40
68
|
* This source code is licensed under the MIT license found in the
|
|
41
69
|
* LICENSE file in the root directory of this source tree.
|
|
42
70
|
*/
|
|
71
|
+
|
|
72
|
+
//! goToAndStop must be relative to the start of the current segment
|
|
@@ -15,7 +15,7 @@ type Props = {
|
|
|
15
15
|
height?: string;
|
|
16
16
|
type?: 'button' | 'submit' | 'reset' | undefined;
|
|
17
17
|
onClick?: (e?: React.SyntheticEvent | React.SyntheticEvent<Element, Event>) => void;
|
|
18
|
-
|
|
18
|
+
title?: string;
|
|
19
19
|
};
|
|
20
|
-
export declare const Button: ({ text, type, icon, iconOther, backgroundColor, borderColor, hoverBorderColor, textColor, disabled, margin, width, fontSize, padding, height, onClick,
|
|
20
|
+
export declare const Button: ({ text, type, icon, iconOther, backgroundColor, borderColor, hoverBorderColor, textColor, disabled, margin, width, fontSize, padding, height, onClick, title }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
21
21
|
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
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
|
+
}
|
|
@@ -28,6 +28,7 @@ type ShowFeature = {
|
|
|
28
28
|
showLandingPageFeature: boolean;
|
|
29
29
|
showCTAFeature: boolean;
|
|
30
30
|
showReactionsFeature: boolean;
|
|
31
|
+
showAiAssistFeature: boolean;
|
|
31
32
|
showUpgradeMessageFeature: boolean;
|
|
32
33
|
};
|
|
33
34
|
type IConfigurationContext = ConfigurationProviderProps & ShowFeature & {
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { UserData } from 'lib/context';
|
|
2
|
+
export declare const hasCustomIMSLink: (userData: UserData) => boolean;
|
|
3
|
+
export declare const checkIsIMSEnabled: (isAutomotiveSalesRole: boolean, userData: UserData) => boolean;
|
|
2
4
|
export declare const checkIfAutomotive: (userData: UserData) => boolean;
|
|
3
5
|
export declare const checkIfAutomotiveServiceRole: (userData: UserData) => boolean;
|
|
4
6
|
export declare const checkIfAutomotiveSalesRole: (userData: UserData) => boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-covideo-embed",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.18",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Covideo platform as an embeddable React component.",
|
|
6
6
|
"main": "./build/index.js",
|
|
@@ -55,6 +55,7 @@
|
|
|
55
55
|
"rc-progress": "^3.4.1",
|
|
56
56
|
"react-beautiful-dnd": "^13.1.1",
|
|
57
57
|
"react-compound-slider": "^3.4.0",
|
|
58
|
+
"react-covideo-ai-assist": "0.0.12",
|
|
58
59
|
"react-full-screen": "^1.1.1",
|
|
59
60
|
"react-icons": "^4.7.1",
|
|
60
61
|
"react-query": "^3.39.2",
|