@brightcove/components-embed-code-modal 0.3.7 → 0.4.1
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/index.js +49 -6
- package/index.js.map +1 -1
- package/package.json +5 -7
- package/src/js/EmbedCodeModal.d.ts +2 -2
- package/src/js/EmbedCodeModal.d.ts.map +1 -1
- package/src/js/components/CustomSettingsDropdown.d.ts +11 -0
- package/src/js/components/CustomSettingsDropdown.d.ts.map +1 -0
- package/src/js/components/EmbedCopySection.d.ts +2 -2
- package/src/js/components/EmbedCopySection.d.ts.map +1 -1
- package/src/js/components/ModalContainer.d.ts +2 -2
- package/src/js/components/ModalContainer.d.ts.map +1 -1
- package/src/js/components/NoPlayerModal.d.ts +2 -2
- package/src/js/components/NoPlayerModal.d.ts.map +1 -1
- package/src/js/components/PlayerPreview.d.ts +2 -2
- package/src/js/components/PlayerPreview.d.ts.map +1 -1
- package/src/js/components/PlayersDropdown.d.ts +2 -2
- package/src/js/components/PlayersDropdown.d.ts.map +1 -1
- package/src/js/components/TabsHeader.d.ts +2 -2
- package/src/js/components/TabsHeader.d.ts.map +1 -1
- package/src/js/components/TabsSection.d.ts +2 -2
- package/src/js/components/TabsSection.d.ts.map +1 -1
- package/src/js/components/TitleWithTooltip.d.ts +3 -3
- package/src/js/components/TitleWithTooltip.d.ts.map +1 -1
- package/src/js/components/VideoLinks.d.ts +4 -3
- package/src/js/components/VideoLinks.d.ts.map +1 -1
- package/src/js/components/VideoPlayer.d.ts +2 -2
- package/src/js/components/VideoPlayer.d.ts.map +1 -1
- package/src/js/components/index.d.ts +1 -0
- package/src/js/components/index.d.ts.map +1 -1
- package/src/js/constants/embed.d.ts +9 -0
- package/src/js/constants/embed.d.ts.map +1 -0
- package/src/js/constants/player.d.ts +1 -0
- package/src/js/constants/player.d.ts.map +1 -1
- package/src/js/i18n.d.ts +42 -0
- package/src/js/i18n.d.ts.map +1 -1
- package/src/js/types/EmbedCodeModalProps.d.ts +2 -1
- package/src/js/types/EmbedCodeModalProps.d.ts.map +1 -1
- package/src/js/types/EmbedCodeProps.d.ts +1 -1
- package/src/js/types/EmbedCodeProps.d.ts.map +1 -1
- package/src/js/types/players.d.ts +8 -8
- package/src/js/types/players.d.ts.map +1 -1
- package/src/js/utils/dimensions.d.ts +9 -0
- package/src/js/utils/dimensions.d.ts.map +1 -0
- package/src/js/utils/featureSwitches.d.ts +2 -0
- package/src/js/utils/featureSwitches.d.ts.map +1 -0
- package/src/js/utils/util.d.ts +1 -1
- package/src/js/utils/util.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightcove/components-embed-code-modal",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal.git"
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@brightcove/kacl": "^0.1.11",
|
|
35
35
|
"@brightcove/notify-change": "^0.1.7",
|
|
36
36
|
"@brightcove/studio-api-services": "^6.69.0",
|
|
37
|
-
"@brightcove/studio-components": "7.
|
|
37
|
+
"@brightcove/studio-components": "^7.20.0",
|
|
38
38
|
"@brightcove/studio-design-tokens": "^1.15.0",
|
|
39
39
|
"@brightcove/studio-icons": "^8.14.0",
|
|
40
40
|
"@testing-library/jest-dom": "^5.16.5",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
},
|
|
73
73
|
"dependencies": {
|
|
74
74
|
"@brightcove/react-player-loader": "^1.4.2",
|
|
75
|
-
"@brightcove/player-embed-code": "^
|
|
75
|
+
"@brightcove/player-embed-code": "^2.0.1",
|
|
76
76
|
"i18next": "^21.5.4",
|
|
77
77
|
"react-i18next": "^11.14.3",
|
|
78
78
|
"react-query": "^3.38.0"
|
|
@@ -82,10 +82,8 @@
|
|
|
82
82
|
"@brightcove/studio-components": "*",
|
|
83
83
|
"@brightcove/studio-design-tokens": "*",
|
|
84
84
|
"@brightcove/studio-icons": "*",
|
|
85
|
-
"react": "
|
|
86
|
-
"react-
|
|
87
|
-
"react-dnd-html5-backend": ">=14.0.2",
|
|
88
|
-
"react-dom": ">=17.0.2"
|
|
85
|
+
"react": "^17.0.2",
|
|
86
|
+
"react-dom": "^17.0.2"
|
|
89
87
|
},
|
|
90
88
|
"module": "./index.js"
|
|
91
89
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { EmbedCodeModalTypes, EmbedCodeProperties, ModalDataPayload } from './types/EmbedCodeModalProps';
|
|
3
3
|
export interface EmbedCodeModalProps {
|
|
4
4
|
data: ModalDataPayload;
|
|
@@ -6,6 +6,6 @@ export interface EmbedCodeModalProps {
|
|
|
6
6
|
embedCodeModalType?: EmbedCodeModalTypes;
|
|
7
7
|
embedCodeProperties?: EmbedCodeProperties;
|
|
8
8
|
}
|
|
9
|
-
declare const EmbedModal: ({ data, language, embedCodeModalType, embedCodeProperties, }: EmbedCodeModalProps) => JSX.Element | null;
|
|
9
|
+
declare const EmbedModal: ({ data, language, embedCodeModalType, embedCodeProperties, }: EmbedCodeModalProps) => React.JSX.Element | null;
|
|
10
10
|
export default EmbedModal;
|
|
11
11
|
//# sourceMappingURL=EmbedCodeModal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmbedCodeModal.d.ts","sourceRoot":"","sources":["../../../src/js/EmbedCodeModal.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"EmbedCodeModal.d.ts","sourceRoot":"","sources":["../../../src/js/EmbedCodeModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AASnD,OAAO,EACL,mBAAmB,EACnB,mBAAmB,EACnB,gBAAgB,EACjB,MAAM,6BAA6B,CAAC;AAQrC,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,gBAAgB,CAAC;IACvB,QAAQ,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACnD,kBAAkB,CAAC,EAAE,mBAAmB,CAAC;IAEzC,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;CAC3C;AAED,QAAA,MAAM,UAAU,iEAKb,mBAAmB,6BAgCrB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { EmbedCodeProperties } from 'js/types/EmbedCodeModalProps';
|
|
3
|
+
export declare enum Sizing {
|
|
4
|
+
FIXED = "Fixed",
|
|
5
|
+
RESPONSIVE = "Responsive"
|
|
6
|
+
}
|
|
7
|
+
export declare const CustomSettingsDropdown: ({ setEmbedProperties, embedProperties, }: {
|
|
8
|
+
embedProperties: EmbedCodeProperties;
|
|
9
|
+
setEmbedProperties: (value: EmbedCodeProperties) => void;
|
|
10
|
+
}) => React.JSX.Element;
|
|
11
|
+
//# sourceMappingURL=CustomSettingsDropdown.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CustomSettingsDropdown.d.ts","sourceRoot":"","sources":["../../../../src/js/components/CustomSettingsDropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAYxC,OAAO,EAEL,mBAAmB,EAEpB,MAAM,8BAA8B,CAAC;AAOtC,oBAAY,MAAM;IAChB,KAAK,UAAU;IACf,UAAU,eAAe;CAC1B;AAED,eAAO,MAAM,sBAAsB;qBAIhB,mBAAmB;gCACR,mBAAmB,KAAK,IAAI;uBAsJzD,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { EmbedCodeProps } from 'js/types/EmbedCodeProps';
|
|
3
|
-
export declare const EmbedCode: (config: EmbedCodeProps) => JSX.Element;
|
|
3
|
+
export declare const EmbedCode: (config: EmbedCodeProps) => React.JSX.Element;
|
|
4
4
|
//# sourceMappingURL=EmbedCopySection.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmbedCopySection.d.ts","sourceRoot":"","sources":["../../../../src/js/components/EmbedCopySection.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"EmbedCopySection.d.ts","sourceRoot":"","sources":["../../../../src/js/components/EmbedCopySection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAWnD,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAsDzD,eAAO,MAAM,SAAS,WAAY,cAAc,sBAmD/C,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { EmbedCodeProperties } from 'js/types/EmbedCodeModalProps';
|
|
3
3
|
import { EmbedCodeModalProps } from 'js/EmbedCodeModal';
|
|
4
4
|
interface ModalContainerProps extends EmbedCodeModalProps {
|
|
@@ -7,6 +7,6 @@ interface ModalContainerProps extends EmbedCodeModalProps {
|
|
|
7
7
|
hasCreatedPlayer: boolean;
|
|
8
8
|
embedCodeProperties?: EmbedCodeProperties;
|
|
9
9
|
}
|
|
10
|
-
export declare const ModalContainer: ({ handleSetComponentKey, data, embedCodeModalType, handleSetHasCreatedPlayer, hasCreatedPlayer, embedCodeProperties, }: ModalContainerProps) => JSX.Element | null;
|
|
10
|
+
export declare const ModalContainer: ({ handleSetComponentKey, data, embedCodeModalType, handleSetHasCreatedPlayer, hasCreatedPlayer, embedCodeProperties, }: ModalContainerProps) => React.JSX.Element | null;
|
|
11
11
|
export {};
|
|
12
12
|
//# sourceMappingURL=ModalContainer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModalContainer.d.ts","sourceRoot":"","sources":["../../../../src/js/components/ModalContainer.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"ModalContainer.d.ts","sourceRoot":"","sources":["../../../../src/js/components/ModalContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAMzE,OAAO,EAIL,mBAAmB,EACpB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAaxD,UAAU,mBAAoB,SAAQ,mBAAmB;IACvD,qBAAqB,EAAE,MAAM,IAAI,CAAC;IAClC,yBAAyB,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACpD,gBAAgB,EAAE,OAAO,CAAC;IAC1B,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;CAC3C;AAED,eAAO,MAAM,cAAc,2HAOxB,mBAAmB,6BAmNrB,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { NoInteractivityPlayerModalTypes } from 'js/types/EmbedCodeModalProps';
|
|
3
3
|
interface NoPlayerProps {
|
|
4
4
|
modalType: NoInteractivityPlayerModalTypes;
|
|
5
5
|
}
|
|
6
|
-
export declare const NoPlayerModal: ({ modalType }: NoPlayerProps) => JSX.Element;
|
|
6
|
+
export declare const NoPlayerModal: ({ modalType }: NoPlayerProps) => React.JSX.Element;
|
|
7
7
|
export {};
|
|
8
8
|
//# sourceMappingURL=NoPlayerModal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NoPlayerModal.d.ts","sourceRoot":"","sources":["../../../../src/js/components/NoPlayerModal.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"NoPlayerModal.d.ts","sourceRoot":"","sources":["../../../../src/js/components/NoPlayerModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,+BAA+B,EAAE,MAAM,8BAA8B,CAAC;AAE/E,UAAU,aAAa;IACrB,SAAS,EAAE,+BAA+B,CAAC;CAC5C;AAED,eAAO,MAAM,aAAa,kBAAmB,aAAa,sBA+BzD,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { PlayerPayload } from '../types/EmbedCodeModalProps';
|
|
3
|
-
export declare const PlayerPreview: ({ id, configuration, accountId, embedCodeProperties, }: PlayerPayload) => JSX.Element;
|
|
3
|
+
export declare const PlayerPreview: ({ id, configuration, accountId, embedCodeProperties, }: PlayerPayload) => React.JSX.Element;
|
|
4
4
|
//# sourceMappingURL=PlayerPreview.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlayerPreview.d.ts","sourceRoot":"","sources":["../../../../src/js/components/PlayerPreview.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"PlayerPreview.d.ts","sourceRoot":"","sources":["../../../../src/js/components/PlayerPreview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAcvC,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAW7D,eAAO,MAAM,aAAa,2DAKvB,aAAa,sBA0Df,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { PlayerSelectItem, PlayersObjectItem, PlayersObject } from 'js/types/players';
|
|
3
3
|
export interface PlayerDropdownProps {
|
|
4
4
|
onChange?: (a: PlayersObjectItem) => void;
|
|
5
5
|
playerListForSelection: PlayerSelectItem[];
|
|
6
6
|
players: PlayersObject;
|
|
7
7
|
}
|
|
8
|
-
export declare const PlayersDropdown: ({ onChange, playerListForSelection, players, }: PlayerDropdownProps) => JSX.Element | null;
|
|
8
|
+
export declare const PlayersDropdown: ({ onChange, playerListForSelection, players, }: PlayerDropdownProps) => React.JSX.Element | null;
|
|
9
9
|
//# sourceMappingURL=PlayersDropdown.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlayersDropdown.d.ts","sourceRoot":"","sources":["../../../../src/js/components/PlayersDropdown.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"PlayersDropdown.d.ts","sourceRoot":"","sources":["../../../../src/js/components/PlayersDropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAIhE,OAAO,EACL,gBAAgB,EAChB,iBAAiB,EACjB,aAAa,EACd,MAAM,kBAAkB,CAAC;AAK1B,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAC1C,sBAAsB,EAAE,gBAAgB,EAAE,CAAC;IAC3C,OAAO,EAAE,aAAa,CAAC;CACxB;AAED,eAAO,MAAM,eAAe,mDAIzB,mBAAmB,6BAiErB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { TabsSelectedId } from 'js/types/players';
|
|
3
3
|
interface TabsHeaderProps {
|
|
4
4
|
currentTab: TabsSelectedId;
|
|
@@ -6,6 +6,6 @@ interface TabsHeaderProps {
|
|
|
6
6
|
iframeLabel: string;
|
|
7
7
|
jsLabel: string;
|
|
8
8
|
}
|
|
9
|
-
export declare const TabsHeader: ({ currentTab, handleTabChange, iframeLabel, jsLabel, }: TabsHeaderProps) => JSX.Element;
|
|
9
|
+
export declare const TabsHeader: ({ currentTab, handleTabChange, iframeLabel, jsLabel, }: TabsHeaderProps) => React.JSX.Element;
|
|
10
10
|
export {};
|
|
11
11
|
//# sourceMappingURL=TabsHeader.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TabsHeader.d.ts","sourceRoot":"","sources":["../../../../src/js/components/TabsHeader.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"TabsHeader.d.ts","sourceRoot":"","sources":["../../../../src/js/components/TabsHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,UAAU,eAAe;IACvB,UAAU,EAAE,cAAc,CAAC;IAC3B,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;CACjB;AACD,eAAO,MAAM,UAAU,2DAKpB,eAAe,sBAejB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { EmbedCodeProperties } from 'js/types/EmbedCodeModalProps';
|
|
3
3
|
export declare const TabsSection: ({ isCampaign, ...rest }: {
|
|
4
4
|
playerId: string;
|
|
@@ -7,5 +7,5 @@ export declare const TabsSection: ({ isCampaign, ...rest }: {
|
|
|
7
7
|
accountId: string;
|
|
8
8
|
interactivityProjectId?: string | undefined;
|
|
9
9
|
embedCodeProperties?: EmbedCodeProperties | undefined;
|
|
10
|
-
}) => JSX.Element;
|
|
10
|
+
}) => React.JSX.Element;
|
|
11
11
|
//# sourceMappingURL=TabsSection.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TabsSection.d.ts","sourceRoot":"","sources":["../../../../src/js/components/TabsSection.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"TabsSection.d.ts","sourceRoot":"","sources":["../../../../src/js/components/TabsSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAMxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAEnE,eAAO,MAAM,WAAW;cAIZ,MAAM;gBACJ,OAAO;;eAER,MAAM;;;uBAiClB,CAAC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
interface TitleWithTooltipProps {
|
|
3
3
|
name: string;
|
|
4
4
|
id: string;
|
|
5
5
|
}
|
|
6
|
-
export declare const TitleWithTooltip: ({ name, id }: TitleWithTooltipProps) => JSX.Element;
|
|
6
|
+
export declare const TitleWithTooltip: ({ name, id }: TitleWithTooltipProps) => React.JSX.Element;
|
|
7
7
|
interface ToltipContentProps {
|
|
8
8
|
tooltipTextNew: string;
|
|
9
9
|
tooltipLink: string;
|
|
10
10
|
}
|
|
11
|
-
export declare const TooltipContent: ({ tooltipTextNew, tooltipLink, }: ToltipContentProps) => JSX.Element;
|
|
11
|
+
export declare const TooltipContent: ({ tooltipTextNew, tooltipLink, }: ToltipContentProps) => React.JSX.Element;
|
|
12
12
|
export {};
|
|
13
13
|
//# sourceMappingURL=TitleWithTooltip.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TitleWithTooltip.d.ts","sourceRoot":"","sources":["../../../../src/js/components/TitleWithTooltip.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"TitleWithTooltip.d.ts","sourceRoot":"","sources":["../../../../src/js/components/TitleWithTooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAM5D,UAAU,qBAAqB;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;CACZ;AACD,eAAO,MAAM,gBAAgB,iBAAkB,qBAAqB,sBA6BnE,CAAC;AAEF,UAAU,kBAAkB;IAC1B,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;CACrB;AACD,eAAO,MAAM,cAAc,qCAGxB,kBAAkB,sBAUpB,CAAC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
interface VideoLinksProps {
|
|
3
|
-
|
|
3
|
+
previewUrl: string;
|
|
4
|
+
playerUrl: string;
|
|
4
5
|
}
|
|
5
|
-
export declare const VideoLinks: ({
|
|
6
|
+
export declare const VideoLinks: ({ previewUrl, playerUrl }: VideoLinksProps) => React.JSX.Element;
|
|
6
7
|
export declare const getUrlAndAddItToClipboard: (url: string) => Promise<void>;
|
|
7
8
|
export {};
|
|
8
9
|
//# sourceMappingURL=VideoLinks.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VideoLinks.d.ts","sourceRoot":"","sources":["../../../../src/js/components/VideoLinks.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"VideoLinks.d.ts","sourceRoot":"","sources":["../../../../src/js/components/VideoLinks.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAOrD,UAAU,eAAe;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,UAAU,8BAA+B,eAAe,sBAkDpE,CAAC;AAEF,eAAO,MAAM,yBAAyB,QAAe,MAAM,kBAkB1D,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { VideoPayload, ProjectPayload, EmbedCodeModalTypes, EmbedCodeProperties } from 'js/types/EmbedCodeModalProps';
|
|
3
3
|
import { PlayerSelectItem, PlayersObject } from 'js/types/players';
|
|
4
4
|
export declare const VideoPlayer: ({ video, embedCodeModalType, playerListForSelection, players, hasCreatedPlayer, embedCodeProperties, }: {
|
|
@@ -8,5 +8,5 @@ export declare const VideoPlayer: ({ video, embedCodeModalType, playerListForSel
|
|
|
8
8
|
players: PlayersObject;
|
|
9
9
|
hasCreatedPlayer?: boolean | undefined;
|
|
10
10
|
embedCodeProperties?: EmbedCodeProperties | undefined;
|
|
11
|
-
}) => JSX.Element;
|
|
11
|
+
}) => React.JSX.Element;
|
|
12
12
|
//# sourceMappingURL=VideoPlayer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VideoPlayer.d.ts","sourceRoot":"","sources":["../../../../src/js/components/VideoPlayer.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"VideoPlayer.d.ts","sourceRoot":"","sources":["../../../../src/js/components/VideoPlayer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAIzE,OAAO,EACL,YAAY,EACZ,cAAc,EACd,mBAAmB,EACnB,mBAAmB,EACpB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,gBAAgB,EAChB,aAAa,EAEd,MAAM,kBAAkB,CAAC;AAkB1B,eAAO,MAAM,WAAW;WAQf,YAAY,GAAG,cAAc;wBAChB,mBAAmB;4BACf,gBAAgB,EAAE;aACjC,aAAa;;;uBAuHvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/js/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/js/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,0BAA0B,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { EmbedCodeAspectRatio, EmbedCodeUnits } from 'js/types/EmbedCodeModalProps';
|
|
2
|
+
export declare const EMBED_DEFAULT: {
|
|
3
|
+
responsive: boolean;
|
|
4
|
+
width: number;
|
|
5
|
+
height: number;
|
|
6
|
+
units: EmbedCodeUnits;
|
|
7
|
+
aspectRatio: EmbedCodeAspectRatio;
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=embed.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"embed.d.ts","sourceRoot":"","sources":["../../../../src/js/constants/embed.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EACpB,cAAc,EACf,MAAM,8BAA8B,CAAC;AAEtC,eAAO,MAAM,aAAa;;;;;;CAMzB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"player.d.ts","sourceRoot":"","sources":["../../../../src/js/constants/player.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,YAAY,CAAC;AAC3C,eAAO,MAAM,mBAAmB,8BAA8B,CAAC;AAE/D,eAAO,MAAM,yBAAyB;;;GAKrC,CAAC;AAEF,eAAO,MAAM,OAAO;;;;;;;;CAQnB,CAAC;AAEF,eAAO,MAAM,4BAA4B;;;;;;;CAOxC,CAAC"}
|
|
1
|
+
{"version":3,"file":"player.d.ts","sourceRoot":"","sources":["../../../../src/js/constants/player.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,YAAY,CAAC;AAC3C,eAAO,MAAM,mBAAmB,8BAA8B,CAAC;AAE/D,eAAO,MAAM,yBAAyB;;;GAKrC,CAAC;AAEF,eAAO,MAAM,uBAAuB,uBAAuB,CAAC;AAE5D,eAAO,MAAM,OAAO;;;;;;;;CAQnB,CAAC;AAEF,eAAO,MAAM,4BAA4B;;;;;;;CAOxC,CAAC"}
|
package/src/js/i18n.d.ts
CHANGED
|
@@ -38,6 +38,13 @@ export declare const resources: {
|
|
|
38
38
|
activateModal: string;
|
|
39
39
|
activateModalContent1: string;
|
|
40
40
|
activateModalContent2: string;
|
|
41
|
+
customSettings: {
|
|
42
|
+
sizing: string;
|
|
43
|
+
aspectRatio: string;
|
|
44
|
+
playerWidth: string;
|
|
45
|
+
playerHeight: string;
|
|
46
|
+
units: string;
|
|
47
|
+
};
|
|
41
48
|
};
|
|
42
49
|
};
|
|
43
50
|
es: {
|
|
@@ -78,6 +85,13 @@ export declare const resources: {
|
|
|
78
85
|
activateModal: string;
|
|
79
86
|
activateModalContent1: string;
|
|
80
87
|
activateModalContent2: string;
|
|
88
|
+
customSettings: {
|
|
89
|
+
sizing: string;
|
|
90
|
+
aspectRatio: string;
|
|
91
|
+
playerWidth: string;
|
|
92
|
+
playerHeight: string;
|
|
93
|
+
units: string;
|
|
94
|
+
};
|
|
81
95
|
};
|
|
82
96
|
};
|
|
83
97
|
fr: {
|
|
@@ -118,6 +132,13 @@ export declare const resources: {
|
|
|
118
132
|
activateModal: string;
|
|
119
133
|
activateModalContent1: string;
|
|
120
134
|
activateModalContent2: string;
|
|
135
|
+
customSettings: {
|
|
136
|
+
sizing: string;
|
|
137
|
+
aspectRatio: string;
|
|
138
|
+
playerWidth: string;
|
|
139
|
+
playerHeight: string;
|
|
140
|
+
units: string;
|
|
141
|
+
};
|
|
121
142
|
};
|
|
122
143
|
};
|
|
123
144
|
ja: {
|
|
@@ -158,6 +179,13 @@ export declare const resources: {
|
|
|
158
179
|
activateModal: string;
|
|
159
180
|
activateModalContent1: string;
|
|
160
181
|
activateModalContent2: string;
|
|
182
|
+
customSettings: {
|
|
183
|
+
sizing: string;
|
|
184
|
+
aspectRatio: string;
|
|
185
|
+
playerWidth: string;
|
|
186
|
+
playerHeight: string;
|
|
187
|
+
units: string;
|
|
188
|
+
};
|
|
161
189
|
};
|
|
162
190
|
};
|
|
163
191
|
ko: {
|
|
@@ -198,6 +226,13 @@ export declare const resources: {
|
|
|
198
226
|
activateModal: string;
|
|
199
227
|
activateModalContent1: string;
|
|
200
228
|
activateModalContent2: string;
|
|
229
|
+
customSettings: {
|
|
230
|
+
sizing: string;
|
|
231
|
+
aspectRatio: string;
|
|
232
|
+
playerWidth: string;
|
|
233
|
+
playerHeight: string;
|
|
234
|
+
units: string;
|
|
235
|
+
};
|
|
201
236
|
};
|
|
202
237
|
};
|
|
203
238
|
zh: {
|
|
@@ -238,6 +273,13 @@ export declare const resources: {
|
|
|
238
273
|
activateModal: string;
|
|
239
274
|
activateModalContent1: string;
|
|
240
275
|
activateModalContent2: string;
|
|
276
|
+
customSettings: {
|
|
277
|
+
sizing: string;
|
|
278
|
+
aspectRatio: string;
|
|
279
|
+
playerWidth: string;
|
|
280
|
+
playerHeight: string;
|
|
281
|
+
units: string;
|
|
282
|
+
};
|
|
241
283
|
};
|
|
242
284
|
};
|
|
243
285
|
};
|
package/src/js/i18n.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../../src/js/i18n.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,SAAS,CAAC;AAU3B,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../../src/js/i18n.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,SAAS,CAAC;AAU3B,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmBrB,CAAC;AAaF,eAAe,IAAI,CAAC"}
|
|
@@ -27,7 +27,7 @@ export declare enum NoInteractivityPlayerModalTypes {
|
|
|
27
27
|
NO_PLAYER = "no-player",
|
|
28
28
|
NO_PERMISSION = "no-permission"
|
|
29
29
|
}
|
|
30
|
-
export
|
|
30
|
+
export type ModalDataPayload = VideoPayload | PlayerPayload | ProjectPayload;
|
|
31
31
|
export declare enum EmbedCodeUnits {
|
|
32
32
|
PX = "px",
|
|
33
33
|
EM = "em",
|
|
@@ -35,6 +35,7 @@ export declare enum EmbedCodeUnits {
|
|
|
35
35
|
}
|
|
36
36
|
export declare enum EmbedCodeAspectRatio {
|
|
37
37
|
FLUID = "fluid",
|
|
38
|
+
CUSTOM = "custom",
|
|
38
39
|
ONE_ONE = "1:1",
|
|
39
40
|
FOUR_THREE = "4:3",
|
|
40
41
|
SIXTEEN_NINE = "16:9",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmbedCodeModalProps.d.ts","sourceRoot":"","sources":["../../../../src/js/types/EmbedCodeModalProps.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACxC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;CAC3C;AAED,MAAM,WAAW,cAAc;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,sBAAsB,EAAE,MAAM,CAAC;IAC/B,wBAAwB,EAAE,MAAM,CAAC;CAClC;AAED,oBAAY,mBAAmB;IAC7B,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,OAAO,YAAY;CACpB;AAED,oBAAY,+BAA+B;IACzC,SAAS,cAAc;IACvB,aAAa,kBAAkB;CAChC;AAED,
|
|
1
|
+
{"version":3,"file":"EmbedCodeModalProps.d.ts","sourceRoot":"","sources":["../../../../src/js/types/EmbedCodeModalProps.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACxC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;CAC3C;AAED,MAAM,WAAW,cAAc;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,sBAAsB,EAAE,MAAM,CAAC;IAC/B,wBAAwB,EAAE,MAAM,CAAC;CAClC;AAED,oBAAY,mBAAmB;IAC7B,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,OAAO,YAAY;CACpB;AAED,oBAAY,+BAA+B;IACzC,SAAS,cAAc;IACvB,aAAa,kBAAkB;CAChC;AAED,MAAM,MAAM,gBAAgB,GAAG,YAAY,GAAG,aAAa,GAAG,cAAc,CAAC;AAE7E,oBAAY,cAAc;IACxB,EAAE,OAAO;IACT,EAAE,OAAO;IACT,OAAO,MAAM;CACd;AACD,oBAAY,oBAAoB;IAC9B,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,OAAO,QAAQ;IACf,UAAU,QAAQ;IAClB,YAAY,SAAS;IACrB,YAAY,SAAS;CACtB;AACD,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,cAAc,CAAC;IACtB,UAAU,EAAE,OAAO,CAAC;IACpB,WAAW,EAAE,oBAAoB,CAAC;CACnC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmbedCodeProps.d.ts","sourceRoot":"","sources":["../../../../src/js/types/EmbedCodeProps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,
|
|
1
|
+
{"version":3,"file":"EmbedCodeProps.d.ts","sourceRoot":"","sources":["../../../../src/js/types/EmbedCodeProps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,MAAM,MAAM,cAAc,GAAG;IAC3B,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;CAC3C,CAAC"}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type PlayerSelectItem = {
|
|
2
2
|
label: string;
|
|
3
3
|
value: string;
|
|
4
4
|
};
|
|
5
|
-
export
|
|
5
|
+
export type PlayersObjectItem = {
|
|
6
6
|
label: string;
|
|
7
7
|
id: string;
|
|
8
8
|
hasCustomPlugins: boolean;
|
|
9
9
|
hasCampaignPlugin: boolean;
|
|
10
10
|
hasInteractivityPlugin: boolean;
|
|
11
11
|
};
|
|
12
|
-
export
|
|
12
|
+
export type PlayersObject = {
|
|
13
13
|
[key: string]: PlayersObjectItem;
|
|
14
14
|
};
|
|
15
|
-
export
|
|
15
|
+
export type PlayerItem = {
|
|
16
16
|
account_id: string;
|
|
17
17
|
id: string;
|
|
18
18
|
name: string;
|
|
@@ -22,12 +22,12 @@ export declare type PlayerItem = {
|
|
|
22
22
|
embed_count: number;
|
|
23
23
|
url: string;
|
|
24
24
|
};
|
|
25
|
-
export
|
|
25
|
+
export type GetPlayersPayload = {
|
|
26
26
|
item_count: number;
|
|
27
27
|
items: PlayerItem[];
|
|
28
28
|
};
|
|
29
|
-
export
|
|
30
|
-
export
|
|
29
|
+
export type TabsSelectedId = string | number | undefined;
|
|
30
|
+
export type CreatePlayerPayload = {
|
|
31
31
|
data: {
|
|
32
32
|
name: string;
|
|
33
33
|
description?: string;
|
|
@@ -44,7 +44,7 @@ export declare type CreatePlayerPayload = {
|
|
|
44
44
|
};
|
|
45
45
|
};
|
|
46
46
|
};
|
|
47
|
-
export
|
|
47
|
+
export type CreatePlayerResponse = {
|
|
48
48
|
id: string;
|
|
49
49
|
url: string;
|
|
50
50
|
embed_code: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"players.d.ts","sourceRoot":"","sources":["../../../../src/js/types/players.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"players.d.ts","sourceRoot":"","sources":["../../../../src/js/types/players.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,EAAE,EAAE,MAAM,CAAC;IACX,gBAAgB,EAAE,OAAO,CAAC;IAC1B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,sBAAsB,EAAE,OAAO,CAAC;CACjC,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,CAAC,GAAG,EAAE,MAAM,GAAG,iBAAiB,CAAC;CAClC,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,UAAU,EAAE,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;AAEzD,MAAM,MAAM,mBAAmB,GAAG;IAChC,IAAI,EAAE;QACJ,IAAI,EAAE,MAAM,CAAC;QACb,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,aAAa,CAAC,EAAE;YACd,QAAQ,CAAC,MAAC;YACV,IAAI,CAAC,EAAE,OAAO,CAAC;YACf,WAAW,CAAC,EAAE;gBACZ,KAAK,EAAE,MAAM,CAAC;aACf,CAAC;YACF,OAAO,CAAC,EAAE;gBACR,WAAW,EAAE,MAAM,CAAC;gBACpB,OAAO,EAAE,MAAM,CAAC;aACjB,EAAE,CAAC;SACL,CAAC;KACH,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,kBAAkB,EAAE,MAAM,CAAC;CAC5B,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { EmbedCodeAspectRatio } from 'js/types/EmbedCodeModalProps';
|
|
2
|
+
export declare const calculateHeight: (height: number, aspectRatio: EmbedCodeAspectRatio) => number;
|
|
3
|
+
export declare const calculateWidthForVerticalAspectRatio: (width: number) => string;
|
|
4
|
+
export declare const shouldUpdateWidth: (oldAspectRatio: EmbedCodeAspectRatio, aspectRatio: EmbedCodeAspectRatio) => boolean;
|
|
5
|
+
export declare const calculateDimensions: (calculateNewWidth: boolean, aspectRatio: EmbedCodeAspectRatio, width: number, height: number) => {
|
|
6
|
+
height: number;
|
|
7
|
+
width: string | number;
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=dimensions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dimensions.d.ts","sourceRoot":"","sources":["../../../../src/js/utils/dimensions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAGpE,eAAO,MAAM,eAAe,WAClB,MAAM,eACD,oBAAoB,WAsBlC,CAAC;AAEF,eAAO,MAAM,oCAAoC,UAAW,MAAM,WAEjE,CAAC;AAEF,eAAO,MAAM,iBAAiB,mBACZ,oBAAoB,eACvB,oBAAoB,YAGgB,CAAC;AAEpD,eAAO,MAAM,mBAAmB,sBACX,OAAO,eACb,oBAAoB,SAC1B,MAAM,UACL,MAAM;;;CAQf,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"featureSwitches.d.ts","sourceRoot":"","sources":["../../../../src/js/utils/featureSwitches.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,iBAAiB,QAAO,MAKpC,CAAC"}
|
package/src/js/utils/util.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ export declare function getUrlBase(): "https://bc-players-qa.s3.amazonaws.com/"
|
|
|
23
23
|
* @returns options ordered ascending
|
|
24
24
|
*/
|
|
25
25
|
export declare function sortAsc(options: PlayerSelectItem[]): PlayerSelectItem[];
|
|
26
|
-
export
|
|
26
|
+
export type VideoPreviewLinkOptions = {
|
|
27
27
|
accountId: string;
|
|
28
28
|
videoId?: string;
|
|
29
29
|
interactivityProjectId?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../../src/js/utils/util.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAC9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAKpD,eAAO,MAAM,KAAK;;CAEjB,CAAC;AACF,eAAO,MAAM,gBAAgB,cAQ5B,CAAC;AAEF;;;GAGG;AACH,wBAAgB,oBAAoB,IAAI,MAAM,CAE7C;AAED;;GAEG;AACH,wBAAgB,IAAI,YAEnB;AAED;;GAEG;AACH,wBAAgB,UAAU,kFAEzB;AAED;;;;GAIG;AACH,wBAAgB,OAAO,CAAC,OAAO,EAAE,gBAAgB,EAAE,GAAG,gBAAgB,EAAE,CAEvE;AAED,
|
|
1
|
+
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../../src/js/utils/util.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAC9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAKpD,eAAO,MAAM,KAAK;;CAEjB,CAAC;AACF,eAAO,MAAM,gBAAgB,cAQ5B,CAAC;AAEF;;;GAGG;AACH,wBAAgB,oBAAoB,IAAI,MAAM,CAE7C;AAED;;GAEG;AACH,wBAAgB,IAAI,YAEnB;AAED;;GAEG;AACH,wBAAgB,UAAU,kFAEzB;AAED;;;;GAIG;AACH,wBAAgB,OAAO,CAAC,OAAO,EAAE,gBAAgB,EAAE,GAAG,gBAAgB,EAAE,CAEvE;AAED,MAAM,MAAM,uBAAuB,GAAG;IACpC,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AACF;;;;;;;GAOG;AACH,eAAO,MAAM,mBAAmB,YAAa,uBAAuB,WAanE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,cAAe,MAAM,KAAG,MAKtD,CAAC;AAEF,wBAAgB,iBAAiB,2FAEhC;AAED;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,cACnB,MAAM,YACP,MAAM,KACf,MAC6G,CAAC;AAEjH,eAAO,MAAM,eAAe,QAAO,YAAmC,CAAC;AAEvE,eAAO,MAAM,aAAa,QAAO,gBAAqC,CAAC;AAEvE,wBAAgB,cAAc,IAAI,MAAM,CAEvC;AAED;;GAEG;AACH,eAAO,MAAM,yBAAyB,cAErC,CAAC"}
|