@wscsports/blaze-web-sdk 0.1.45 → 0.1.49
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 -2
- package/publish/index.js +1 -1
package/package.json
CHANGED
package/publish/index.d.ts
CHANGED
|
@@ -103,6 +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 removePlayerTypeFromUrl(): void;
|
|
107
|
+
static getPlayerTypeFromUrl(): "Widget" | "Share" | "SingleStory" | undefined;
|
|
106
108
|
}
|
|
107
109
|
|
|
108
110
|
export declare class BlazeAlert extends BaseWidget {
|
|
@@ -443,6 +445,8 @@ export declare const unmuteSvg = "data:image/svg+xml;charset=utf-8,<svg xmlns=\"
|
|
|
443
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>";
|
|
444
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>";
|
|
445
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";
|
|
446
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>";
|
|
447
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>";
|
|
448
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>";
|
|
@@ -914,6 +918,8 @@ declare abstract class VideoPlayerServiceClass extends VideoPlayerServiceClass_b
|
|
|
914
918
|
private _isMuted;
|
|
915
919
|
private _isPlaying;
|
|
916
920
|
private _isNavigating;
|
|
921
|
+
private _playReference;
|
|
922
|
+
constructor();
|
|
917
923
|
init(): Promise<void>;
|
|
918
924
|
get isMuted(): boolean;
|
|
919
925
|
set isMuted(value: boolean);
|
|
@@ -921,6 +927,8 @@ declare abstract class VideoPlayerServiceClass extends VideoPlayerServiceClass_b
|
|
|
921
927
|
set isPlaying(value: boolean);
|
|
922
928
|
get isNavigating(): boolean;
|
|
923
929
|
set isNavigating(value: boolean);
|
|
930
|
+
get playReference(): PlayType;
|
|
931
|
+
set playReference(value: PlayType);
|
|
924
932
|
}
|
|
925
933
|
export declare const VideoPlayerService: VideoPlayerServiceClass;
|
|
926
934
|
|
|
@@ -1387,9 +1395,13 @@ export * from './severity.type';
|
|
|
1387
1395
|
export * from './shape.type';
|
|
1388
1396
|
export * from './size.type';
|
|
1389
1397
|
export * from './thumbnail.type';
|
|
1398
|
+
export * from './play.type';
|
|
1390
1399
|
|
|
1391
1400
|
export type OrderType = 'Manual' | 'AtoZ' | 'ZtoA' | 'RecentlyUpdatedFirst' | 'RecentlyUpdatedLast' | 'RecentlyCreatedFirst' | 'RecentlyCreatedLast';
|
|
1392
1401
|
|
|
1402
|
+
export declare const PlayTypeArray: readonly ["Widget", "Share", "SingleStory"];
|
|
1403
|
+
export type PlayType = typeof PlayTypeArray[number];
|
|
1404
|
+
|
|
1393
1405
|
export type SeverityType = 'error' | 'warning' | 'info' | 'success';
|
|
1394
1406
|
|
|
1395
1407
|
export type ShapeType = 'rectangle' | 'custom' | 'circle';
|
|
@@ -1439,6 +1451,7 @@ export * from './regex.utils';
|
|
|
1439
1451
|
export * from './stopwatch';
|
|
1440
1452
|
|
|
1441
1453
|
export declare const RegexHash: RegExp;
|
|
1454
|
+
export declare const RegexHashPlayType: RegExp;
|
|
1442
1455
|
|
|
1443
1456
|
export declare class Stopwatch {
|
|
1444
1457
|
isRunning: boolean;
|
|
@@ -1722,8 +1735,6 @@ export declare class BlazeWidgetScrollable extends BaseWidget {
|
|
|
1722
1735
|
}
|
|
1723
1736
|
|
|
1724
1737
|
export declare class BlazeWidgetSDK extends BaseWidget {
|
|
1725
|
-
static isMuted: boolean;
|
|
1726
|
-
static isPlaying: boolean;
|
|
1727
1738
|
modalStoryIds: BlazeWidgetStoryModal | undefined;
|
|
1728
1739
|
onResizeEvent: (this: Window, ev: UIEvent) => void;
|
|
1729
1740
|
static get observedAttributes(): string[];
|