@wscsports/blaze-web-sdk 0.1.47 → 0.1.51
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 +1 -1
- package/publish/index.d.ts +13 -6
- package/publish/index.js +1 -1
package/package.json
CHANGED
package/publish/index.d.ts
CHANGED
|
@@ -103,8 +103,8 @@ export declare class URLManager {
|
|
|
103
103
|
static isBackWasCalled: boolean;
|
|
104
104
|
static resetLocation(): void;
|
|
105
105
|
static updateLocationStoryHash(story?: IStory): void;
|
|
106
|
-
static
|
|
107
|
-
static
|
|
106
|
+
static removePlayerTypeFromUrl(): void;
|
|
107
|
+
static getPlayerTypeFromUrl(): "Widget" | "Share" | "SingleStory" | undefined;
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
export declare class BlazeAlert extends BaseWidget {
|
|
@@ -445,6 +445,8 @@ export declare const unmuteSvg = "data:image/svg+xml;charset=utf-8,<svg xmlns=\"
|
|
|
445
445
|
export declare const muteSvg = "data:image/svg+xml;charset=utf-8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"48\" height=\"48\" fill=\"none\"><path stroke=\"%23fff\" stroke-linecap=\"round\" stroke-width=\"1.9\" d=\"M28.47 17.14c1.15.2 5.46 1.98 5.46 6.92 0 4.95-4.39 6.63-5.46 6.83\"/><path stroke=\"%23fff\" stroke-linecap=\"round\" stroke-width=\"1.8\" d=\"M28.47 21.24c.37.08 1.75.79 1.75 2.78 0 1.99-1.4 2.67-1.75 2.74\"/><path stroke=\"%23fff\" stroke-linecap=\"round\" stroke-width=\"1.9\" d=\"m18.36 27.48 4.88 4.9a.65.65 0 0 0 1.1-.46V16.09c0-.58-.7-.87-1.1-.45l-4.88 4.94h-2.59c-.94 0-1.7.77-1.7 1.7v3.45c0 .93.75 1.69 1.67 1.7l2.62.05z\"/></svg>";
|
|
446
446
|
export declare const shareSvg = "data:image/svg+xml;charset=utf-8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"48\" height=\"48\" fill=\"none\"><path fill=\"%23fff\" d=\"m21.1 25.4 9.87-9.86 1.42 1.42-9.86 9.87z\"/><path stroke=\"%23fff\" stroke-linecap=\"round\" stroke-width=\"1.9\" d=\"m16.85 19.82 15.33-4.14c.04 0 .07.03.06.06l-4.02 15.34a1.6 1.6 0 0 1-2.97.33l-2.93-5.73-5.77-2.88a1.6 1.6 0 0 1 .3-2.98z\"/></svg>";
|
|
447
447
|
export declare const nextSvg = "data:image/svg+xml;charset=utf-8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"48\" height=\"48\" fill=\"none\"><path stroke=\"%23000\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2.4\" d=\"m21.52 16.22 7.75 7.75m-7.75 7.78L29.27 24\"/></svg>";
|
|
448
|
+
export declare const nextPageSvg = "data:image/svg+xml,%3Csvg%20fill%3D%22none%22%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cmask%20id%3D%22a%22%20style%3D%22mask-type%3Aalpha%22%20width%3D%2224%22%20height%3D%2224%22%20x%3D%220%22%20y%3D%220%22%20maskUnits%3D%22userSpaceOnUse%22%3E%3Cpath%20fill%3D%22%23D9D9D9%22%20d%3D%22M0%200h24v24H0z%22%2F%3E%3C%2Fmask%3E%3Cg%20mask%3D%22url(%23a)%22%3E%3Cpath%20fill%3D%22%23000%22%20fill-opacity%3D%22.92%22%20d%3D%22M9.4%2018L8%2016.6l4.6-4.6L8%207.4%209.4%206l6%206-6%206z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E";
|
|
449
|
+
export declare const prevPageSvg = "data:image/svg+xml,%3Csvg%20fill%3D%22none%22%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cmask%20id%3D%22a%22%20style%3D%22mask-type%3Aalpha%22%20width%3D%2224%22%20height%3D%2224%22%20x%3D%220%22%20y%3D%220%22%20maskUnits%3D%22userSpaceOnUse%22%3E%3Cpath%20fill%3D%22%23D9D9D9%22%20d%3D%22M0%200h24v24H0z%22%2F%3E%3C%2Fmask%3E%3Cg%20mask%3D%22url(%23a)%22%3E%3Cpath%20fill%3D%22%23000%22%20fill-opacity%3D%22.92%22%20d%3D%22M14%2018l-6-6%206-6%201.4%201.4-4.6%204.6%204.6%204.6L14%2018z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E";
|
|
448
450
|
export declare const prevSvg = "data:image/svg+xml;charset=utf-8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"48\" height=\"48\" fill=\"none\"><path stroke=\"%23000\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2.4\" d=\"m21.52 16.22 7.75 7.75m-7.75 7.78L29.27 24\"/></svg>";
|
|
449
451
|
export declare const closeSvg = "data:image/svg+xml;charset=utf-8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"48\" height=\"48\" focusable=\"false\" aria-hidden=\"true\" viewBox=\"0 0 24 24\" data-testid=\"CloseIcon\"><path fill=\"%23fff\" d=\"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z\"></path></svg>";
|
|
450
452
|
export declare const closeSvgBlack = "data:image/svg+xml;charset=utf-8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"48\" height=\"48\" focusable=\"false\" aria-hidden=\"true\" viewBox=\"0 0 24 24\" data-testid=\"CloseIcon\"><path fill=\"%23000\" d=\"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z\"></path></svg>";
|
|
@@ -916,6 +918,8 @@ declare abstract class VideoPlayerServiceClass extends VideoPlayerServiceClass_b
|
|
|
916
918
|
private _isMuted;
|
|
917
919
|
private _isPlaying;
|
|
918
920
|
private _isNavigating;
|
|
921
|
+
private _playReference;
|
|
922
|
+
constructor();
|
|
919
923
|
init(): Promise<void>;
|
|
920
924
|
get isMuted(): boolean;
|
|
921
925
|
set isMuted(value: boolean);
|
|
@@ -923,6 +927,8 @@ declare abstract class VideoPlayerServiceClass extends VideoPlayerServiceClass_b
|
|
|
923
927
|
set isPlaying(value: boolean);
|
|
924
928
|
get isNavigating(): boolean;
|
|
925
929
|
set isNavigating(value: boolean);
|
|
930
|
+
get playReference(): PlayType;
|
|
931
|
+
set playReference(value: PlayType);
|
|
926
932
|
}
|
|
927
933
|
export declare const VideoPlayerService: VideoPlayerServiceClass;
|
|
928
934
|
|
|
@@ -1389,9 +1395,13 @@ export * from './severity.type';
|
|
|
1389
1395
|
export * from './shape.type';
|
|
1390
1396
|
export * from './size.type';
|
|
1391
1397
|
export * from './thumbnail.type';
|
|
1398
|
+
export * from './play.type';
|
|
1392
1399
|
|
|
1393
1400
|
export type OrderType = 'Manual' | 'AtoZ' | 'ZtoA' | 'RecentlyUpdatedFirst' | 'RecentlyUpdatedLast' | 'RecentlyCreatedFirst' | 'RecentlyCreatedLast';
|
|
1394
1401
|
|
|
1402
|
+
export declare const PlayTypeArray: readonly ["Widget", "Share", "SingleStory"];
|
|
1403
|
+
export type PlayType = typeof PlayTypeArray[number];
|
|
1404
|
+
|
|
1395
1405
|
export type SeverityType = 'error' | 'warning' | 'info' | 'success';
|
|
1396
1406
|
|
|
1397
1407
|
export type ShapeType = 'rectangle' | 'custom' | 'circle';
|
|
@@ -1441,7 +1451,7 @@ export * from './regex.utils';
|
|
|
1441
1451
|
export * from './stopwatch';
|
|
1442
1452
|
|
|
1443
1453
|
export declare const RegexHash: RegExp;
|
|
1444
|
-
export declare const
|
|
1454
|
+
export declare const RegexHashPlayType: RegExp;
|
|
1445
1455
|
|
|
1446
1456
|
export declare class Stopwatch {
|
|
1447
1457
|
isRunning: boolean;
|
|
@@ -1725,9 +1735,6 @@ export declare class BlazeWidgetScrollable extends BaseWidget {
|
|
|
1725
1735
|
}
|
|
1726
1736
|
|
|
1727
1737
|
export declare class BlazeWidgetSDK extends BaseWidget {
|
|
1728
|
-
static isMuted: boolean;
|
|
1729
|
-
static isPlaying: boolean;
|
|
1730
|
-
static isPlayedByUrl: boolean;
|
|
1731
1738
|
modalStoryIds: BlazeWidgetStoryModal | undefined;
|
|
1732
1739
|
onResizeEvent: (this: Window, ev: UIEvent) => void;
|
|
1733
1740
|
static get observedAttributes(): string[];
|