@playkit-js/playkit-js-ui 0.83.4 → 0.84.0-canary.0-0a295d2
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/dist/playkit-js-ui.d.ts +17 -0
- package/dist/playkit-ui.js +1 -1
- package/dist/playkit-ui.js.map +1 -1
- package/package.json +1 -1
- package/src/components/engine-connector/engine-connector.tsx +4 -0
- package/src/components/error-overlay/error-overlay.tsx +10 -2
- package/src/components/logo/logo.tsx +12 -5
- package/src/components/watermark/watermark.tsx +34 -6
- package/src/reducers/engine.ts +15 -3
- package/src/types/reducers/engine.ts +1 -0
package/dist/playkit-js-ui.d.ts
CHANGED
|
@@ -339,6 +339,10 @@ declare const actions_3: {
|
|
|
339
339
|
type: string;
|
|
340
340
|
fullscreen: boolean;
|
|
341
341
|
};
|
|
342
|
+
readonly updateComponentData: (componentData: any) => {
|
|
343
|
+
type: string;
|
|
344
|
+
componentData: any;
|
|
345
|
+
};
|
|
342
346
|
};
|
|
343
347
|
|
|
344
348
|
declare const actions_4: {
|
|
@@ -2981,6 +2985,7 @@ declare interface EngineState {
|
|
|
2981
2985
|
playlist: any;
|
|
2982
2986
|
sources: any;
|
|
2983
2987
|
fullscreen: boolean;
|
|
2988
|
+
componentData: any;
|
|
2984
2989
|
}
|
|
2985
2990
|
|
|
2986
2991
|
/**
|
|
@@ -2991,6 +2996,7 @@ declare interface EngineState {
|
|
|
2991
2996
|
*/
|
|
2992
2997
|
declare class ErrorOverlay extends Component<any, any> {
|
|
2993
2998
|
private sessionEl;
|
|
2999
|
+
componentDidUpdate(prevProps: any): void;
|
|
2994
3000
|
/**
|
|
2995
3001
|
* copy input text based on input element.
|
|
2996
3002
|
* on success, set success internal component state for 2 seconds
|
|
@@ -3656,6 +3662,7 @@ declare const initialState_3: {
|
|
|
3656
3662
|
playlist: null;
|
|
3657
3663
|
sources: null;
|
|
3658
3664
|
fullscreen: boolean;
|
|
3665
|
+
componentData: {};
|
|
3659
3666
|
};
|
|
3660
3667
|
|
|
3661
3668
|
declare const initialState_4: {
|
|
@@ -4883,6 +4890,7 @@ declare class Logo extends Component<any, any> {
|
|
|
4883
4890
|
* @memberof Logo
|
|
4884
4891
|
*/
|
|
4885
4892
|
componentDidMount(): void;
|
|
4893
|
+
componentDidUpdate(prevProps: any): void;
|
|
4886
4894
|
/**
|
|
4887
4895
|
* handles the logo url
|
|
4888
4896
|
* if the url contains ${entryId}, then replace it with the played entry id
|
|
@@ -7786,6 +7794,7 @@ declare const types_3: {
|
|
|
7786
7794
|
UPDATE_PICTURE_IN_PICTURE_SUPPORTED: string;
|
|
7787
7795
|
UPDATE_PICTURE_IN_PICTURE_MODE: string;
|
|
7788
7796
|
UPDATE_FULLSCREEN: string;
|
|
7797
|
+
UPDATE_COMPONENT_DATA: string;
|
|
7789
7798
|
};
|
|
7790
7799
|
|
|
7791
7800
|
declare const types_4: {
|
|
@@ -8584,6 +8593,13 @@ declare class Watermark extends Component<any, any> {
|
|
|
8584
8593
|
* @memberof Watermark
|
|
8585
8594
|
*/
|
|
8586
8595
|
componentDidMount(): void;
|
|
8596
|
+
/**
|
|
8597
|
+
* After component updated, load image dimensions
|
|
8598
|
+
* @method componentDidUpdate
|
|
8599
|
+
* @returns {void}
|
|
8600
|
+
* @memberof Watermark
|
|
8601
|
+
*/
|
|
8602
|
+
componentDidUpdate(prevProps: any): void;
|
|
8587
8603
|
/**
|
|
8588
8604
|
* handles the watermark url
|
|
8589
8605
|
* if the url contains ${entryId}, then replace it with the played entry id
|
|
@@ -8602,6 +8618,7 @@ declare class Watermark extends Component<any, any> {
|
|
|
8602
8618
|
* @memberof Watermark
|
|
8603
8619
|
*/
|
|
8604
8620
|
private _setWatermarkUrlWithEntryId;
|
|
8621
|
+
private isEntryUrlResolved;
|
|
8605
8622
|
/**
|
|
8606
8623
|
* componentWillUnmount
|
|
8607
8624
|
*
|