@brightcove/components-embed-code-modal 0.7.2 → 0.8.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightcove/components-embed-code-modal",
3
- "version": "0.7.2",
3
+ "version": "0.8.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal.git"
@@ -9,7 +9,9 @@ export interface EmbedCodeModalProps {
9
9
  showDVR?: boolean;
10
10
  onDVRClick?: (newValue: boolean) => void;
11
11
  dvrTime?: number;
12
+ showLowLatency?: boolean;
13
+ onLowLatencyClick?: (newValue: boolean) => void;
12
14
  }
13
- declare const EmbedModal: ({ data, language, embedCodeModalType, embedCodeProperties, isOutstreamPlayer, showDVR, onDVRClick, dvrTime, }: EmbedCodeModalProps) => React.JSX.Element | null;
15
+ declare const EmbedModal: ({ data, language, embedCodeModalType, embedCodeProperties, isOutstreamPlayer, showDVR, onDVRClick, dvrTime, showLowLatency, onLowLatencyClick, }: EmbedCodeModalProps) => React.JSX.Element | null;
14
16
  export default EmbedModal;
15
17
  //# sourceMappingURL=EmbedCodeModal.d.ts.map
@@ -1 +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;CAClB;AAED,QAAA,MAAM,UAAU,kHASb,mBAAmB,6BAoCrB,CAAC;AAEF,eAAe,UAAU,CAAC"}
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,6BAsCrB,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ export declare const ActivateInteractivityModal: () => JSX.Element;
3
+ //# sourceMappingURL=ActivateInteractivityModal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ActivateInteractivityModal.d.ts","sourceRoot":"","sources":["../../../../src/js/components/ActivateInteractivityModal.tsx"],"names":[],"mappings":";AAIA,eAAO,MAAM,0BAA0B,mBAatC,CAAC"}
@@ -9,7 +9,9 @@ interface ModalContainerProps extends EmbedCodeModalProps {
9
9
  isOutstreamPlayer?: boolean;
10
10
  onDVRClick?: (newValue: boolean) => void;
11
11
  dvrTime?: number;
12
+ showLowLatency?: boolean;
13
+ onLowLatencyClick?: (newValue: boolean) => void;
12
14
  }
13
- export declare const ModalContainer: ({ handleSetComponentKey, data, embedCodeModalType, handleSetHasCreatedPlayer, hasCreatedPlayer, embedCodeProperties, isOutstreamPlayer, showDVR, onDVRClick, dvrTime, }: ModalContainerProps) => React.JSX.Element | null;
15
+ export declare const ModalContainer: ({ handleSetComponentKey, data, embedCodeModalType, handleSetHasCreatedPlayer, hasCreatedPlayer, embedCodeProperties, isOutstreamPlayer, showDVR, onDVRClick, dvrTime, showLowLatency, onLowLatencyClick, }: ModalContainerProps) => React.JSX.Element | null;
14
16
  export {};
15
17
  //# sourceMappingURL=ModalContainer.d.ts.map
@@ -1 +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;CAClB;AAED,eAAO,MAAM,cAAc,4KAWxB,mBAAmB,6BAwNrB,CAAC"}
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,6BA0NrB,CAAC"}
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import { PlayerSelectItem, PlayersObjectItem, PlayersObject } from 'js/types/players';
3
+ export interface PlayerDropdownProps {
4
+ onChange?: (a: PlayersObjectItem) => void;
5
+ playerListForSelection: PlayerSelectItem[];
6
+ players: PlayersObject;
7
+ }
8
+ export declare const PlayersDropdown: ({ onChange, playerListForSelection, players, }: PlayerDropdownProps) => JSX.Element | null;
9
+ //# sourceMappingURL=PlayersDropdown.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PlayersDropdown.d.ts","sourceRoot":"","sources":["../../../../src/js/components/PlayersDropdown.tsx"],"names":[],"mappings":";AAIA,OAAO,EACL,gBAAgB,EAChB,iBAAiB,EACjB,aAAa,EACd,MAAM,kBAAkB,CAAC;AAG1B,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,uBA2DrB,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { VideoPayload, ProjectPayload, EmbedCodeModalTypes, EmbedCodeProperties, LivePayload } from 'js/types/EmbedCodeModalProps';
3
3
  import { PlayerSelectItem, PlayersObject } from 'js/types/players';
4
- export declare const VideoPlayer: ({ video, embedCodeModalType, playerListForSelection, players, hasCreatedPlayer, embedCodeProperties, showDVR, onDVRClick, dvrTime, }: {
4
+ export declare const VideoPlayer: ({ video, embedCodeModalType, playerListForSelection, players, hasCreatedPlayer, embedCodeProperties, showDVR, onDVRClick, dvrTime, showLowLatency, onLowLatencyClick, }: {
5
5
  video: VideoPayload | ProjectPayload | LivePayload;
6
6
  embedCodeModalType: EmbedCodeModalTypes;
7
7
  playerListForSelection: PlayerSelectItem[];
@@ -11,5 +11,7 @@ export declare const VideoPlayer: ({ video, embedCodeModalType, playerListForSel
11
11
  showDVR?: boolean | undefined;
12
12
  onDVRClick?: ((newValue: boolean) => void) | undefined;
13
13
  dvrTime?: number | undefined;
14
+ showLowLatency?: boolean | undefined;
15
+ onLowLatencyClick?: ((newValue: boolean) => void) | undefined;
14
16
  }) => React.JSX.Element;
15
17
  //# sourceMappingURL=VideoPlayer.d.ts.map
@@ -1 +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;WAWf,YAAY,GAAG,cAAc,GAAG,WAAW;wBAC9B,mBAAmB;4BACf,gBAAgB,EAAE;aACjC,aAAa;;;;6BAIE,OAAO,KAAK,IAAI;;uBA+NzC,CAAC"}
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"}
package/src/js/i18n.d.ts CHANGED
@@ -47,6 +47,7 @@ export declare const resources: {
47
47
  playerHeight: string;
48
48
  units: string;
49
49
  };
50
+ lowLatency: string;
50
51
  dvr: {
51
52
  allowDVR: string;
52
53
  inputLabel: string;
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmBrB,CAAC;AAaF,eAAe,IAAI,CAAC"}
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"}