@brightcove/components-embed-code-modal 0.8.3 → 0.8.4

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 (158) hide show
  1. package/__tests__/EmbedCode.test.d.ts +2 -0
  2. package/__tests__/EmbedCode.test.d.ts.map +1 -0
  3. package/__tests__/InteractivityProject.test.d.ts +2 -0
  4. package/__tests__/InteractivityProject.test.d.ts.map +1 -0
  5. package/__tests__/PlayerPreview.test.d.ts +2 -0
  6. package/__tests__/PlayerPreview.test.d.ts.map +1 -0
  7. package/__tests__/TabsHeader.test.d.ts +2 -0
  8. package/__tests__/TabsHeader.test.d.ts.map +1 -0
  9. package/__tests__/TabsSection.test.d.ts +2 -0
  10. package/__tests__/TabsSection.test.d.ts.map +1 -0
  11. package/__tests__/TitleWithTooltip.test.d.ts +2 -0
  12. package/__tests__/TitleWithTooltip.test.d.ts.map +1 -0
  13. package/__tests__/VideoPlayer.test.d.ts +2 -0
  14. package/__tests__/VideoPlayer.test.d.ts.map +1 -0
  15. package/__tests__/util.test.d.ts +2 -0
  16. package/__tests__/util.test.d.ts.map +1 -0
  17. package/index.js +56 -0
  18. package/index.js.map +1 -0
  19. package/package.json +5 -15
  20. package/src/index.d.ts +5 -0
  21. package/src/index.d.ts.map +1 -0
  22. package/src/js/EmbedCodeModal.d.ts +17 -0
  23. package/src/js/EmbedCodeModal.d.ts.map +1 -0
  24. package/src/js/components/CustomSettingsDropdown.d.ts +11 -0
  25. package/src/js/components/CustomSettingsDropdown.d.ts.map +1 -0
  26. package/src/js/components/EmbedCopySection.d.ts +4 -0
  27. package/src/js/components/EmbedCopySection.d.ts.map +1 -0
  28. package/src/js/components/ModalContainer.d.ts +17 -0
  29. package/src/js/components/ModalContainer.d.ts.map +1 -0
  30. package/src/js/components/NoPlayerModal.d.ts +8 -0
  31. package/src/js/components/NoPlayerModal.d.ts.map +1 -0
  32. package/src/js/components/PlayerPreview.d.ts +4 -0
  33. package/src/js/components/PlayerPreview.d.ts.map +1 -0
  34. package/src/js/components/TabsHeader.d.ts +11 -0
  35. package/src/js/components/TabsHeader.d.ts.map +1 -0
  36. package/src/js/components/TabsSection.d.ts +15 -0
  37. package/src/js/components/TabsSection.d.ts.map +1 -0
  38. package/src/js/components/TitleWithTooltip.d.ts +8 -0
  39. package/src/js/components/TitleWithTooltip.d.ts.map +1 -0
  40. package/src/js/components/VideoLinks.d.ts +9 -0
  41. package/src/js/components/VideoLinks.d.ts.map +1 -0
  42. package/src/js/components/VideoPlayer.d.ts +17 -0
  43. package/src/js/components/VideoPlayer.d.ts.map +1 -0
  44. package/src/js/components/{index.ts → index.d.ts} +1 -0
  45. package/src/js/components/index.d.ts.map +1 -0
  46. package/src/js/constants/baseUrls.d.ts +5 -0
  47. package/src/js/constants/baseUrls.d.ts.map +1 -0
  48. package/src/js/constants/embed.d.ts +9 -0
  49. package/src/js/constants/embed.d.ts.map +1 -0
  50. package/src/js/constants/player.d.ts +27 -0
  51. package/src/js/constants/player.d.ts.map +1 -0
  52. package/src/js/constants/pluginsRegistry.d.ts +7 -0
  53. package/src/js/constants/pluginsRegistry.d.ts.map +1 -0
  54. package/src/js/hooks/useGetPlayers.d.ts +3 -0
  55. package/src/js/hooks/useGetPlayers.d.ts.map +1 -0
  56. package/src/js/i18n.d.ts +335 -0
  57. package/src/js/i18n.d.ts.map +1 -0
  58. package/src/js/services/players-api.d.ts +5 -0
  59. package/src/js/services/players-api.d.ts.map +1 -0
  60. package/src/js/services/url-shortener.d.ts +4 -0
  61. package/src/js/services/url-shortener.d.ts.map +1 -0
  62. package/src/js/types/EmbedCodeModalProps.d.ts +59 -0
  63. package/src/js/types/EmbedCodeModalProps.d.ts.map +1 -0
  64. package/src/js/types/EmbedCodeProps.d.ts +13 -0
  65. package/src/js/types/EmbedCodeProps.d.ts.map +1 -0
  66. package/src/js/types/players.d.ts +58 -0
  67. package/src/js/types/players.d.ts.map +1 -0
  68. package/src/js/types/studioModule.d.ts +8 -0
  69. package/src/js/types/studioModule.d.ts.map +1 -0
  70. package/src/js/utils/addPluginsDataToPlayers.d.ts +6 -0
  71. package/src/js/utils/addPluginsDataToPlayers.d.ts.map +1 -0
  72. package/src/js/utils/call.d.ts +14 -0
  73. package/src/js/utils/call.d.ts.map +1 -0
  74. package/src/js/utils/dimensions.d.ts +9 -0
  75. package/src/js/utils/dimensions.d.ts.map +1 -0
  76. package/src/js/utils/featureSwitches.d.ts +2 -0
  77. package/src/js/utils/featureSwitches.d.ts.map +1 -0
  78. package/src/js/utils/util.d.ts +67 -0
  79. package/src/js/utils/util.d.ts.map +1 -0
  80. package/src/module.d.ts +2 -0
  81. package/src/module.d.ts.map +1 -0
  82. package/src/styles/typings.td.d.ts +13 -0
  83. package/src/styles/typings.td.d.ts.map +1 -0
  84. package/src/types/studio.d.ts +202 -0
  85. package/src/types/studio.d.ts.map +1 -0
  86. package/.eslintignore +0 -7
  87. package/.eslintrc +0 -23
  88. package/.husky/pre-commit +0 -4
  89. package/.nvmrc +0 -1
  90. package/.prettierignore +0 -7
  91. package/.prettierrc +0 -5
  92. package/.release-it.json +0 -40
  93. package/.whitesource +0 -3
  94. package/CHANGELOG.md +0 -342
  95. package/CODEOWNERS +0 -37
  96. package/PULL_REQUEST_TEMPLATE.md +0 -17
  97. package/__tests__/EmbedCode.test.tsx +0 -51
  98. package/__tests__/InteractivityProject.test.tsx +0 -50
  99. package/__tests__/PlayerPreview.test.tsx +0 -23
  100. package/__tests__/TabsHeader.test.tsx +0 -19
  101. package/__tests__/TabsSection.test.tsx +0 -46
  102. package/__tests__/TitleWithTooltip.test.tsx +0 -45
  103. package/__tests__/VideoPlayer.test.tsx +0 -38
  104. package/__tests__/util.test.ts +0 -89
  105. package/babel.config.json +0 -17
  106. package/etc/wildcard.brightcove.com.key +0 -27
  107. package/etc/wildcard.brightcove.com.pem +0 -96
  108. package/jest/jest.setup.js +0 -62
  109. package/jest/jest.stub.js +0 -4
  110. package/jest.config.js +0 -24
  111. package/scripts/create-dist-pkg-prod.js +0 -18
  112. package/src/index.ts +0 -16
  113. package/src/js/EmbedCodeModal.tsx +0 -88
  114. package/src/js/components/CustomSettingsDropdown.tsx +0 -184
  115. package/src/js/components/EmbedCopySection.tsx +0 -130
  116. package/src/js/components/ModalContainer.tsx +0 -274
  117. package/src/js/components/NoPlayerModal.tsx +0 -42
  118. package/src/js/components/PlayerPreview.tsx +0 -116
  119. package/src/js/components/TabsHeader.tsx +0 -31
  120. package/src/js/components/TabsSection.tsx +0 -74
  121. package/src/js/components/TitleWithTooltip.tsx +0 -39
  122. package/src/js/components/VideoLinks.tsx +0 -83
  123. package/src/js/components/VideoPlayer.tsx +0 -303
  124. package/src/js/constants/baseUrls.ts +0 -4
  125. package/src/js/constants/embed.ts +0 -12
  126. package/src/js/constants/player.ts +0 -32
  127. package/src/js/constants/pluginsRegistry.ts +0 -30
  128. package/src/js/hooks/useGetPlayers.ts +0 -12
  129. package/src/js/i18n.ts +0 -43
  130. package/src/js/services/players-api.ts +0 -26
  131. package/src/js/services/url-shortener.ts +0 -10
  132. package/src/js/types/EmbedCodeModalProps.ts +0 -72
  133. package/src/js/types/EmbedCodeProps.ts +0 -13
  134. package/src/js/types/brightcoveEmbedCode.d.ts +0 -18
  135. package/src/js/types/players.ts +0 -64
  136. package/src/js/types/react-i18next.d.ts +0 -8
  137. package/src/js/types/studioModule.ts +0 -7
  138. package/src/js/utils/addPluginsDataToPlayers.ts +0 -59
  139. package/src/js/utils/call.ts +0 -31
  140. package/src/js/utils/dimensions.ts +0 -53
  141. package/src/js/utils/featureSwitches.ts +0 -16
  142. package/src/js/utils/util.ts +0 -153
  143. package/src/module.tsx +0 -246
  144. package/src/styles/CustomSettingsDropdown.sass +0 -42
  145. package/src/styles/EmbedCode.sass +0 -30
  146. package/src/styles/EmbedCodeModal.sass +0 -76
  147. package/src/styles/base.sass +0 -1
  148. package/src/styles/theme.sass +0 -11
  149. package/src/styles/typings.td.ts +0 -9
  150. package/src/translations/en.json +0 -53
  151. package/src/translations/es.json +0 -53
  152. package/src/translations/fr.json +0 -53
  153. package/src/translations/ja.json +0 -53
  154. package/src/translations/ko.json +0 -53
  155. package/src/translations/zh.json +0 -53
  156. package/src/types/studio.ts +0 -197
  157. package/tsconfig.json +0 -34
  158. package/webpack.config.js +0 -97
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@brightcove/components-embed-code-modal",
3
- "version": "0.8.3",
3
+ "version": "0.8.4",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal.git"
7
7
  },
8
8
  "description": "Embed Code Modal used for publishing videos",
9
- "main": "build/index.js",
9
+ "main": "./index.js",
10
10
  "types": "./src/index.d.ts",
11
11
  "author": "Campaign Team",
12
12
  "scripts": {
@@ -15,25 +15,14 @@
15
15
  "build:watch": "NODE_ENV=production webpack --watch",
16
16
  "clean": "rm -r build",
17
17
  "lint": "eslint \"{src,__tests__,demo}/**/*.{ts,tsx,js,jsx}\"",
18
- "lint:staged": "lint-staged",
19
18
  "type-check": "tsc",
20
19
  "notify": "notify-change -m proj-projstudio",
21
- "prepare": "husky install",
22
20
  "release": "release-it",
23
21
  "test": "jest",
24
22
  "test:coverage": "jest --coverage",
25
23
  "test:watch": "jest --watch",
26
24
  "pre-commit": "lint-staged && npm test"
27
25
  },
28
- "lint-staged": {
29
- "*.{ts,tsx,js,jsx}": [
30
- "eslint --fix",
31
- "prettier --write"
32
- ],
33
- "*.{css,scss}": [
34
- "prettier --write"
35
- ]
36
- },
37
26
  "devDependencies": {
38
27
  "@babel/core": "^7.20.7",
39
28
  "@babel/plugin-proposal-class-properties": "^7.16.0",
@@ -96,5 +85,6 @@
96
85
  "@brightcove/studio-icons": "*",
97
86
  "react": "^17.0.2",
98
87
  "react-dom": "^17.0.2"
99
- }
100
- }
88
+ },
89
+ "module": "./index.js"
90
+ }
package/src/index.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ import EmbedCodeModal from './js/EmbedCodeModal';
2
+ import type { VideoPayload, PlayerPayload, ProjectPayload } from 'js/types/EmbedCodeModalProps';
3
+ import { EmbedCodeModalTypes } from 'js/types/EmbedCodeModalProps';
4
+ export { EmbedCodeModal, VideoPayload, PlayerPayload, ProjectPayload, EmbedCodeModalTypes, };
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,qBAAqB,CAAC;AACjD,OAAO,KAAK,EACV,YAAY,EACZ,aAAa,EACb,cAAc,EACf,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAEnE,OAAO,EACL,cAAc,EACd,YAAY,EACZ,aAAa,EACb,cAAc,EACd,mBAAmB,GACpB,CAAC"}
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ import { EmbedCodeModalTypes, EmbedCodeProperties, ModalDataPayload } from './types/EmbedCodeModalProps';
3
+ export interface EmbedCodeModalProps {
4
+ data: ModalDataPayload;
5
+ language?: 'en' | 'es' | 'fr' | 'ko' | 'ja' | 'zh';
6
+ embedCodeModalType?: EmbedCodeModalTypes;
7
+ embedCodeProperties?: EmbedCodeProperties;
8
+ isOutstreamPlayer?: boolean;
9
+ showDVR?: boolean;
10
+ onDVRClick?: (newValue: boolean) => void;
11
+ dvrTime?: number;
12
+ showLowLatency?: boolean;
13
+ onLowLatencyClick?: (newValue: boolean) => void;
14
+ }
15
+ declare const EmbedModal: ({ data, language, embedCodeModalType, embedCodeProperties, isOutstreamPlayer, showDVR, onDVRClick, dvrTime, showLowLatency, onLowLatencyClick, }: EmbedCodeModalProps) => React.JSX.Element | null;
16
+ export default EmbedModal;
17
+ //# sourceMappingURL=EmbedCodeModal.d.ts.map
@@ -0,0 +1 @@
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;IAC1C,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IACzC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,iBAAiB,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;CACjD;AAED,QAAA,MAAM,UAAU,qJAWb,mBAAmB,6BAuCrB,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"}
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { EmbedCodeProps } from 'js/types/EmbedCodeProps';
3
+ export declare const EmbedCode: (config: EmbedCodeProps) => React.JSX.Element;
4
+ //# sourceMappingURL=EmbedCopySection.d.ts.map
@@ -0,0 +1 @@
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;AA6DzD,eAAO,MAAM,SAAS,WAAY,cAAc,sBAyD/C,CAAC"}
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ import { EmbedCodeProperties } from 'js/types/EmbedCodeModalProps';
3
+ import { EmbedCodeModalProps } from 'js/EmbedCodeModal';
4
+ interface ModalContainerProps extends EmbedCodeModalProps {
5
+ handleSetComponentKey: () => void;
6
+ handleSetHasCreatedPlayer: (value: boolean) => void;
7
+ hasCreatedPlayer: boolean;
8
+ embedCodeProperties?: EmbedCodeProperties;
9
+ isOutstreamPlayer?: boolean;
10
+ onDVRClick?: (newValue: boolean) => void;
11
+ dvrTime?: number;
12
+ showLowLatency?: boolean;
13
+ onLowLatencyClick?: (newValue: boolean) => void;
14
+ }
15
+ export declare const ModalContainer: ({ handleSetComponentKey, data, embedCodeModalType, handleSetHasCreatedPlayer, hasCreatedPlayer, embedCodeProperties, isOutstreamPlayer, showDVR, onDVRClick, dvrTime, showLowLatency, onLowLatencyClick, }: ModalContainerProps) => React.JSX.Element | null;
16
+ export {};
17
+ //# sourceMappingURL=ModalContainer.d.ts.map
@@ -0,0 +1 @@
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;IAC1C,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,UAAU,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IACzC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,iBAAiB,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;CACjD;AAED,eAAO,MAAM,cAAc,+MAaxB,mBAAmB,6BA+NrB,CAAC"}
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { NoInteractivityPlayerModalTypes } from 'js/types/EmbedCodeModalProps';
3
+ interface NoPlayerProps {
4
+ modalType: NoInteractivityPlayerModalTypes;
5
+ }
6
+ export declare const NoPlayerModal: ({ modalType }: NoPlayerProps) => React.JSX.Element;
7
+ export {};
8
+ //# sourceMappingURL=NoPlayerModal.d.ts.map
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { PlayerPayload } from '../types/EmbedCodeModalProps';
3
+ export declare const PlayerPreview: ({ id, configuration, accountId, embedCodeProperties, isOutstreamPlayer, }: PlayerPayload) => React.JSX.Element;
4
+ //# sourceMappingURL=PlayerPreview.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PlayerPreview.d.ts","sourceRoot":"","sources":["../../../../src/js/components/PlayerPreview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAiBvC,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAW7D,eAAO,MAAM,aAAa,8EAMvB,aAAa,sBAiFf,CAAC"}
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { TabsSelectedId } from 'js/types/players';
3
+ interface TabsHeaderProps {
4
+ currentTab: TabsSelectedId;
5
+ handleTabChange: () => void;
6
+ iframeLabel: string;
7
+ jsLabel: string;
8
+ }
9
+ export declare const TabsHeader: ({ currentTab, handleTabChange, iframeLabel, jsLabel, }: TabsHeaderProps) => React.JSX.Element;
10
+ export {};
11
+ //# sourceMappingURL=TabsHeader.d.ts.map
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import { EmbedCodeProperties } from 'js/types/EmbedCodeModalProps';
3
+ export declare const TabsSection: ({ isCampaign, isViewerIdSource, isBcMapTracking, ...rest }: {
4
+ playerId: string;
5
+ isCampaign: boolean;
6
+ isViewerIdSource: boolean;
7
+ isBcMapTracking: boolean;
8
+ videoId?: string | undefined;
9
+ accountId: string;
10
+ interactivityProjectId?: string | undefined;
11
+ livePlaybackToken?: string | undefined;
12
+ adConfigId?: string | undefined;
13
+ embedCodeProperties?: EmbedCodeProperties | undefined;
14
+ }) => React.JSX.Element;
15
+ //# sourceMappingURL=TabsSection.d.ts.map
@@ -0,0 +1 @@
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;cAMZ,MAAM;gBACJ,OAAO;sBACD,OAAO;qBACR,OAAO;;eAEb,MAAM;;;;;uBAsDlB,CAAC"}
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ interface TitleWithTooltipProps {
3
+ name: string;
4
+ id: string;
5
+ }
6
+ export declare const TitleWithTooltip: ({ name, id }: TitleWithTooltipProps) => React.JSX.Element;
7
+ export {};
8
+ //# sourceMappingURL=TitleWithTooltip.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TitleWithTooltip.d.ts","sourceRoot":"","sources":["../../../../src/js/components/TitleWithTooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAK5D,UAAU,qBAAqB;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;CACZ;AACD,eAAO,MAAM,gBAAgB,iBAAkB,qBAAqB,sBA6BnE,CAAC"}
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ interface VideoLinksProps {
3
+ previewUrl: string;
4
+ playerUrl: string;
5
+ }
6
+ export declare const VideoLinks: ({ previewUrl, playerUrl }: VideoLinksProps) => React.JSX.Element;
7
+ export declare const getUrlAndAddItToClipboard: (url: string) => Promise<void>;
8
+ export {};
9
+ //# sourceMappingURL=VideoLinks.d.ts.map
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ import { VideoPayload, ProjectPayload, EmbedCodeModalTypes, EmbedCodeProperties, LivePayload } from 'js/types/EmbedCodeModalProps';
3
+ import { PlayerSelectItem, PlayersObject } from 'js/types/players';
4
+ export declare const VideoPlayer: ({ video, embedCodeModalType, playerListForSelection, players, hasCreatedPlayer, embedCodeProperties, showDVR, onDVRClick, dvrTime, showLowLatency, onLowLatencyClick, }: {
5
+ video: VideoPayload | ProjectPayload | LivePayload;
6
+ embedCodeModalType: EmbedCodeModalTypes;
7
+ playerListForSelection: PlayerSelectItem[];
8
+ players: PlayersObject;
9
+ hasCreatedPlayer?: boolean | undefined;
10
+ embedCodeProperties?: EmbedCodeProperties | undefined;
11
+ showDVR?: boolean | undefined;
12
+ onDVRClick?: ((newValue: boolean) => void) | undefined;
13
+ dvrTime?: number | undefined;
14
+ showLowLatency?: boolean | undefined;
15
+ onLowLatencyClick?: ((newValue: boolean) => void) | undefined;
16
+ }) => React.JSX.Element;
17
+ //# sourceMappingURL=VideoPlayer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VideoPlayer.d.ts","sourceRoot":"","sources":["../../../../src/js/components/VideoPlayer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAC;AASzE,OAAO,EACL,YAAY,EACZ,cAAc,EACd,mBAAmB,EACnB,mBAAmB,EACnB,WAAW,EACZ,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,gBAAgB,EAChB,aAAa,EAEd,MAAM,kBAAkB,CAAC;AAmB1B,eAAO,MAAM,WAAW;WAaf,YAAY,GAAG,cAAc,GAAG,WAAW;wBAC9B,mBAAmB;4BACf,gBAAgB,EAAE;aACjC,aAAa;;;;6BAIE,OAAO,KAAK,IAAI;;;oCAGT,OAAO,KAAK,IAAI;uBAgPhD,CAAC"}
@@ -7,3 +7,4 @@ export * from './VideoLinks';
7
7
  export * from './VideoPlayer';
8
8
  export * from './PlayerPreview';
9
9
  export * from './CustomSettingsDropdown';
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +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,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,5 @@
1
+ export declare const QA_URL = "https://players.qa.brightcove.net/";
2
+ export declare const PROD_URL = "https://players.brightcove.net/";
3
+ export declare const QA_PREVIEW_URL = "https://preview-players.qa.brightcove.net";
4
+ export declare const PROD_PREVIEW_URL = "https://preview-players.brightcove.net";
5
+ //# sourceMappingURL=baseUrls.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"baseUrls.d.ts","sourceRoot":"","sources":["../../../../src/js/constants/baseUrls.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM,uCAAuC,CAAC;AAC3D,eAAO,MAAM,QAAQ,oCAAoC,CAAC;AAC1D,eAAO,MAAM,cAAc,8CAA8C,CAAC;AAC1E,eAAO,MAAM,gBAAgB,2CAA2C,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"}
@@ -0,0 +1,27 @@
1
+ export declare const DEFAULT_PLAYER_ID = "default";
2
+ export declare const DEFAULT_PLAYER_NAME = "Brightcove Default Player";
3
+ export declare const PLAYER_LIST_FOR_SELECTION: {
4
+ label: string;
5
+ value: string;
6
+ }[];
7
+ export declare const FAVORITE_PLAYER_SETTING = "favorite_player_id";
8
+ export declare const PLAYERS: {
9
+ default: {
10
+ hasCustomPlugins: boolean;
11
+ id: string;
12
+ hasCampaignPlugin: boolean;
13
+ label: string;
14
+ hasInteractivityPlugin: boolean;
15
+ hasViewerIDSource: boolean;
16
+ hasBcMapTracking: boolean;
17
+ };
18
+ };
19
+ export declare const DEFAULT_INTERACTIVITY_PLAYER: {
20
+ name: string;
21
+ registry_id: string;
22
+ version: string;
23
+ options: {
24
+ mobilefullscreen: boolean;
25
+ };
26
+ };
27
+ //# sourceMappingURL=player.d.ts.map
@@ -0,0 +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,uBAAuB,uBAAuB,CAAC;AAE5D,eAAO,MAAM,OAAO;;;;;;;;;;CAUnB,CAAC;AAEF,eAAO,MAAM,4BAA4B;;;;;;;CAOxC,CAAC"}
@@ -0,0 +1,7 @@
1
+ export declare const bcHostedPlugins: string[];
2
+ export declare const CAMPAIGN_PLUGIN_NAME = "bcMapPlugin";
3
+ export declare const VIEWER_ID_KEY_NAME = "viewer_id_source";
4
+ export declare const BC_MAP_TRACKING_NAME = "bcMapTracking";
5
+ export declare const INTERACTIVITY_PLUGIN_NAME = "interactivityViewer";
6
+ export declare const INTERACTIVITY_REGISTRY_ID = "@brightcove/videojs-interactivity-viewer";
7
+ //# sourceMappingURL=pluginsRegistry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pluginsRegistry.d.ts","sourceRoot":"","sources":["../../../../src/js/constants/pluginsRegistry.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,eAAe,UAqB3B,CAAC;AAEF,eAAO,MAAM,oBAAoB,gBAAgB,CAAC;AAClD,eAAO,MAAM,kBAAkB,qBAAqB,CAAC;AACrD,eAAO,MAAM,oBAAoB,kBAAkB,CAAC;AACpD,eAAO,MAAM,yBAAyB,wBAAwB,CAAC;AAC/D,eAAO,MAAM,yBAAyB,6CACM,CAAC"}
@@ -0,0 +1,3 @@
1
+ declare const useGetPlayers: (isPlayersCallEnabled: boolean) => import("react-query").UseQueryResult<import("../types/players").GetPlayersPayload, unknown>;
2
+ export default useGetPlayers;
3
+ //# sourceMappingURL=useGetPlayers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useGetPlayers.d.ts","sourceRoot":"","sources":["../../../../src/js/hooks/useGetPlayers.ts"],"names":[],"mappings":"AAIA,QAAA,MAAM,aAAa,yBAA0B,OAAO,gGAKnD,CAAC;AAEF,eAAe,aAAa,CAAC"}