@wscsports/blaze-web-sdk 0.1.82 → 0.1.84
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 +15 -4
- package/publish/index.js +1 -1
package/package.json
CHANGED
package/publish/index.d.ts
CHANGED
|
@@ -1370,11 +1370,15 @@ export declare function AttributeParser<TBase extends GHTMLElement>(Base: TBase)
|
|
|
1370
1370
|
readonly offsetTop: number;
|
|
1371
1371
|
readonly offsetWidth: number;
|
|
1372
1372
|
outerText: string;
|
|
1373
|
+
popover: string | null;
|
|
1373
1374
|
spellcheck: boolean;
|
|
1374
1375
|
title: string;
|
|
1375
1376
|
translate: boolean;
|
|
1376
1377
|
attachInternals(): ElementInternals;
|
|
1377
1378
|
click(): void;
|
|
1379
|
+
hidePopover(): void;
|
|
1380
|
+
showPopover(): void;
|
|
1381
|
+
togglePopover(force?: boolean | undefined): boolean;
|
|
1378
1382
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
1379
1383
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
1380
1384
|
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions | undefined): void;
|
|
@@ -1509,6 +1513,7 @@ export declare function AttributeParser<TBase extends GHTMLElement>(Base: TBase)
|
|
|
1509
1513
|
ariaColIndex: string | null;
|
|
1510
1514
|
ariaColSpan: string | null;
|
|
1511
1515
|
ariaCurrent: string | null;
|
|
1516
|
+
ariaDescription: string | null;
|
|
1512
1517
|
ariaDisabled: string | null;
|
|
1513
1518
|
ariaExpanded: string | null;
|
|
1514
1519
|
ariaHasPopup: string | null;
|
|
@@ -1579,6 +1584,7 @@ export declare function AttributeParser<TBase extends GHTMLElement>(Base: TBase)
|
|
|
1579
1584
|
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
1580
1585
|
onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
1581
1586
|
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
1587
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1582
1588
|
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
1583
1589
|
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1584
1590
|
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -1639,6 +1645,7 @@ export declare function AttributeParser<TBase extends GHTMLElement>(Base: TBase)
|
|
|
1639
1645
|
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1640
1646
|
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
1641
1647
|
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1648
|
+
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1642
1649
|
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
1643
1650
|
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1644
1651
|
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -2191,8 +2198,10 @@ export declare class BlazeWidgetSDK extends BaseWidget {
|
|
|
2191
2198
|
disconnectedCallback(): void;
|
|
2192
2199
|
onResizeEventDelay(): void;
|
|
2193
2200
|
onResize(): void;
|
|
2194
|
-
|
|
2195
|
-
|
|
2201
|
+
handleStoryLoad(playReference: 'Share' | 'SingleStory', storyIds: string): Promise<void>;
|
|
2202
|
+
handleStaticContentLoad(playReference: 'Share' | 'SingleStory'): Promise<void>;
|
|
2203
|
+
enrichContent(content: IStory[]): Promise<IStory[]>;
|
|
2204
|
+
setupModalAndLoadStories(playReference: 'Share' | 'SingleStory', content: IStory): Promise<void>;
|
|
2196
2205
|
attributeChangedCallback(name: string, oldValue: string, newValue: string): Promise<void>;
|
|
2197
2206
|
private getConfigAttributes;
|
|
2198
2207
|
private initialize;
|
|
@@ -2233,6 +2242,7 @@ export declare class BlazeWidgetStoryBase extends HTMLElement {
|
|
|
2233
2242
|
setData(data: IPage): void;
|
|
2234
2243
|
loadPoster(): void;
|
|
2235
2244
|
play(): void;
|
|
2245
|
+
restartVideo(): void;
|
|
2236
2246
|
pause(): void;
|
|
2237
2247
|
get paused(): boolean;
|
|
2238
2248
|
get currentTime(): number;
|
|
@@ -2473,6 +2483,7 @@ export declare class BlazeWidgetStoryVideo extends BlazeWidgetStoryBase {
|
|
|
2473
2483
|
get muted(): boolean;
|
|
2474
2484
|
set muted(value: boolean);
|
|
2475
2485
|
render(): void;
|
|
2486
|
+
restartVideo(): void;
|
|
2476
2487
|
initializeIMA(): void;
|
|
2477
2488
|
onAdsManagerLoaded(adsManagerLoadedEvent: any): void;
|
|
2478
2489
|
onAdEvent(adEvent: any): void;
|
|
@@ -2521,7 +2532,7 @@ export declare class BlazeWidgetStory extends HTMLElement {
|
|
|
2521
2532
|
widgetParent: BlazeWidgetItem;
|
|
2522
2533
|
playCallback: any;
|
|
2523
2534
|
sessionId: string;
|
|
2524
|
-
startTrigger: 'Widget' | 'Deeplink' | 'Swipe' | 'Skip' | '
|
|
2535
|
+
startTrigger: 'Widget' | 'Deeplink' | 'Swipe' | 'Skip' | 'SingleStory' | 'Share' | '';
|
|
2525
2536
|
exitTrigger: 'Swipe' | 'Swipe Down' | 'Skip' | 'Close Button' | 'CTA Click' | 'Escape Button' | '';
|
|
2526
2537
|
navigationType: 'Automatic' | 'Manual' | undefined;
|
|
2527
2538
|
navigationDirection: 'Forwards' | 'Backwards' | undefined;
|
|
@@ -2594,7 +2605,7 @@ export declare class BlazeWidgetStory extends HTMLElement {
|
|
|
2594
2605
|
isNavigationButtonActive(navigationType: ButtonNavigation): boolean;
|
|
2595
2606
|
updateNavButton(state: ButtonState, navButtonElement: BlazeButton): void;
|
|
2596
2607
|
updatePlayerButtonsCSS(): void;
|
|
2597
|
-
|
|
2608
|
+
displayExitButtonOnMobileTablet(): void;
|
|
2598
2609
|
render(): void;
|
|
2599
2610
|
}
|
|
2600
2611
|
|