@wscsports/blaze-web-sdk 0.7.1 → 0.8.0
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 +81 -66
- package/publish/index.js +1 -1
package/package.json
CHANGED
package/publish/index.d.ts
CHANGED
|
@@ -670,7 +670,7 @@ export declare class BlazeButton extends BaseWidget {
|
|
|
670
670
|
isAnimationOnDesktopInitialized: boolean;
|
|
671
671
|
get refElement(): ShadowRoot | this;
|
|
672
672
|
constructor();
|
|
673
|
-
static get observedAttributes(): ("height" | "order" | "width" | "icon-color" | "blaze-btn-visible" | "
|
|
673
|
+
static get observedAttributes(): ("height" | "order" | "width" | "icon-color" | "disabled" | "blaze-btn-visible" | "blaze-btn-hidden" | "button-desktop-animation")[];
|
|
674
674
|
private onMouseEnter;
|
|
675
675
|
private onMouseLeave;
|
|
676
676
|
private onClick;
|
|
@@ -1736,23 +1736,23 @@ declare abstract class ApiServiceClass extends ApiServiceClass_base implements I
|
|
|
1736
1736
|
personalized?: BlazePersonalized;
|
|
1737
1737
|
}): Promise<{
|
|
1738
1738
|
result: IStory[];
|
|
1739
|
-
httpStatus?: number
|
|
1739
|
+
httpStatus?: number;
|
|
1740
1740
|
data?: StoriesResponse | undefined;
|
|
1741
|
-
error?: Error
|
|
1741
|
+
error?: Error;
|
|
1742
1742
|
}>;
|
|
1743
1743
|
getStoriesByLabels(options: GetByLabelsOptions & {
|
|
1744
1744
|
showLiveFirst?: boolean;
|
|
1745
1745
|
personalized?: BlazePersonalized;
|
|
1746
1746
|
}): Promise<{
|
|
1747
1747
|
result: IStory[];
|
|
1748
|
-
httpStatus?: number
|
|
1748
|
+
httpStatus?: number;
|
|
1749
1749
|
data?: StoriesResponse | undefined;
|
|
1750
|
-
error?: Error
|
|
1750
|
+
error?: Error;
|
|
1751
1751
|
}>;
|
|
1752
1752
|
getMomentByIds(options: GetByIdsOptions): Promise<{
|
|
1753
|
-
httpStatus?: number
|
|
1753
|
+
httpStatus?: number;
|
|
1754
1754
|
data?: MomentsResponse | undefined;
|
|
1755
|
-
error?: Error
|
|
1755
|
+
error?: Error;
|
|
1756
1756
|
}>;
|
|
1757
1757
|
getMomentsByLabels(options: GetByLabelsOptions): Promise<import("../interfaces").IHttpResponse<MomentsResponse>>;
|
|
1758
1758
|
updateMomentLikeStatus(options: {
|
|
@@ -1761,14 +1761,14 @@ declare abstract class ApiServiceClass extends ApiServiceClass_base implements I
|
|
|
1761
1761
|
}): Promise<void>;
|
|
1762
1762
|
getStaticStories(): Promise<IStory | null>;
|
|
1763
1763
|
getVideosByIds(options: GetByIdsOptions): Promise<{
|
|
1764
|
-
httpStatus?: number
|
|
1764
|
+
httpStatus?: number;
|
|
1765
1765
|
data?: VideosResponse | undefined;
|
|
1766
|
-
error?: Error
|
|
1766
|
+
error?: Error;
|
|
1767
1767
|
}>;
|
|
1768
1768
|
getVideosByLabels(options: GetByLabelsOptions): Promise<{
|
|
1769
|
-
httpStatus?: number
|
|
1769
|
+
httpStatus?: number;
|
|
1770
1770
|
data?: VideosResponse | undefined;
|
|
1771
|
-
error?: Error
|
|
1771
|
+
error?: Error;
|
|
1772
1772
|
}>;
|
|
1773
1773
|
updateVideosLikeStatus(options: {
|
|
1774
1774
|
videoId: string;
|
|
@@ -2709,30 +2709,35 @@ export declare function AttributeParser<TBase extends GHTMLElement>(Base: TBase)
|
|
|
2709
2709
|
spellcheck: boolean;
|
|
2710
2710
|
title: string;
|
|
2711
2711
|
translate: boolean;
|
|
2712
|
+
writingSuggestions: string;
|
|
2712
2713
|
attachInternals(): ElementInternals;
|
|
2713
2714
|
click(): void;
|
|
2714
2715
|
hidePopover(): void;
|
|
2715
2716
|
showPopover(): void;
|
|
2716
|
-
togglePopover(
|
|
2717
|
-
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions
|
|
2718
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions
|
|
2719
|
-
removeEventListener<
|
|
2720
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions
|
|
2717
|
+
togglePopover(options?: boolean): boolean;
|
|
2718
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2719
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2720
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2721
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2721
2722
|
readonly attributes: NamedNodeMap;
|
|
2722
|
-
|
|
2723
|
+
get classList(): DOMTokenList;
|
|
2724
|
+
set classList(value: string);
|
|
2723
2725
|
className: string;
|
|
2724
2726
|
readonly clientHeight: number;
|
|
2725
2727
|
readonly clientLeft: number;
|
|
2726
2728
|
readonly clientTop: number;
|
|
2727
2729
|
readonly clientWidth: number;
|
|
2730
|
+
readonly currentCSSZoom: number;
|
|
2728
2731
|
id: string;
|
|
2732
|
+
innerHTML: string;
|
|
2729
2733
|
readonly localName: string;
|
|
2730
2734
|
readonly namespaceURI: string | null;
|
|
2731
2735
|
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
2732
2736
|
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
2733
2737
|
outerHTML: string;
|
|
2734
2738
|
readonly ownerDocument: Document;
|
|
2735
|
-
|
|
2739
|
+
get part(): DOMTokenList;
|
|
2740
|
+
set part(value: string);
|
|
2736
2741
|
readonly prefix: string | null;
|
|
2737
2742
|
readonly scrollHeight: number;
|
|
2738
2743
|
scrollLeft: number;
|
|
@@ -2742,10 +2747,10 @@ export declare function AttributeParser<TBase extends GHTMLElement>(Base: TBase)
|
|
|
2742
2747
|
slot: string;
|
|
2743
2748
|
readonly tagName: string;
|
|
2744
2749
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
2745
|
-
checkVisibility(options?: CheckVisibilityOptions
|
|
2746
|
-
closest<
|
|
2747
|
-
closest<
|
|
2748
|
-
closest<
|
|
2750
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
2751
|
+
closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
|
|
2752
|
+
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
|
|
2753
|
+
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
|
|
2749
2754
|
closest<E extends Element = Element>(selectors: string): E | null;
|
|
2750
2755
|
computedStyleMap(): StylePropertyMapReadOnly;
|
|
2751
2756
|
getAttribute(qualifiedName: string): string | null;
|
|
@@ -2756,42 +2761,44 @@ export declare function AttributeParser<TBase extends GHTMLElement>(Base: TBase)
|
|
|
2756
2761
|
getBoundingClientRect(): DOMRect;
|
|
2757
2762
|
getClientRects(): DOMRectList;
|
|
2758
2763
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
2759
|
-
getElementsByTagName<
|
|
2760
|
-
getElementsByTagName<
|
|
2761
|
-
getElementsByTagName<
|
|
2762
|
-
getElementsByTagName<
|
|
2764
|
+
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
|
2765
|
+
getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
|
2766
|
+
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
|
2767
|
+
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
2763
2768
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
2764
2769
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
2765
2770
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
2766
2771
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
2767
2772
|
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
2773
|
+
getHTML(options?: GetHTMLOptions): string;
|
|
2768
2774
|
hasAttribute(qualifiedName: string): boolean;
|
|
2769
2775
|
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
2770
2776
|
hasAttributes(): boolean;
|
|
2771
2777
|
hasPointerCapture(pointerId: number): boolean;
|
|
2772
2778
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
2773
|
-
insertAdjacentHTML(position: InsertPosition,
|
|
2779
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
2774
2780
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
2775
2781
|
matches(selectors: string): boolean;
|
|
2776
2782
|
releasePointerCapture(pointerId: number): void;
|
|
2777
2783
|
removeAttribute(qualifiedName: string): void;
|
|
2778
2784
|
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
2779
2785
|
removeAttributeNode(attr: Attr): Attr;
|
|
2780
|
-
requestFullscreen(options?: FullscreenOptions
|
|
2781
|
-
requestPointerLock(): void
|
|
2782
|
-
scroll(options?: ScrollToOptions
|
|
2786
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
2787
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
2788
|
+
scroll(options?: ScrollToOptions): void;
|
|
2783
2789
|
scroll(x: number, y: number): void;
|
|
2784
|
-
scrollBy(options?: ScrollToOptions
|
|
2790
|
+
scrollBy(options?: ScrollToOptions): void;
|
|
2785
2791
|
scrollBy(x: number, y: number): void;
|
|
2786
|
-
scrollIntoView(arg?: boolean | ScrollIntoViewOptions
|
|
2787
|
-
scrollTo(options?: ScrollToOptions
|
|
2792
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
2793
|
+
scrollTo(options?: ScrollToOptions): void;
|
|
2788
2794
|
scrollTo(x: number, y: number): void;
|
|
2789
2795
|
setAttribute(qualifiedName: string, value: string): void;
|
|
2790
2796
|
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
|
2791
2797
|
setAttributeNode(attr: Attr): Attr | null;
|
|
2792
2798
|
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
2799
|
+
setHTMLUnsafe(html: string): void;
|
|
2793
2800
|
setPointerCapture(pointerId: number): void;
|
|
2794
|
-
toggleAttribute(qualifiedName: string, force?: boolean
|
|
2801
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
2795
2802
|
webkitMatchesSelector(selectors: string): boolean;
|
|
2796
2803
|
readonly baseURI: string;
|
|
2797
2804
|
readonly childNodes: NodeListOf<ChildNode>;
|
|
@@ -2807,20 +2814,20 @@ export declare function AttributeParser<TBase extends GHTMLElement>(Base: TBase)
|
|
|
2807
2814
|
readonly previousSibling: ChildNode | null;
|
|
2808
2815
|
textContent: string | null;
|
|
2809
2816
|
appendChild<T extends Node>(node: T): T;
|
|
2810
|
-
cloneNode(
|
|
2817
|
+
cloneNode(subtree?: boolean): Node;
|
|
2811
2818
|
compareDocumentPosition(other: Node): number;
|
|
2812
2819
|
contains(other: Node | null): boolean;
|
|
2813
|
-
getRootNode(options?: GetRootNodeOptions
|
|
2820
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
|
2814
2821
|
hasChildNodes(): boolean;
|
|
2815
|
-
insertBefore<
|
|
2822
|
+
insertBefore<T extends Node>(node: T, child: Node | null): T;
|
|
2816
2823
|
isDefaultNamespace(namespace: string | null): boolean;
|
|
2817
2824
|
isEqualNode(otherNode: Node | null): boolean;
|
|
2818
2825
|
isSameNode(otherNode: Node | null): boolean;
|
|
2819
2826
|
lookupNamespaceURI(prefix: string | null): string | null;
|
|
2820
2827
|
lookupPrefix(namespace: string | null): string | null;
|
|
2821
2828
|
normalize(): void;
|
|
2822
|
-
removeChild<
|
|
2823
|
-
replaceChild<
|
|
2829
|
+
removeChild<T extends Node>(child: T): T;
|
|
2830
|
+
replaceChild<T extends Node>(node: Node, child: T): T;
|
|
2824
2831
|
readonly ELEMENT_NODE: 1;
|
|
2825
2832
|
readonly ATTRIBUTE_NODE: 2;
|
|
2826
2833
|
readonly TEXT_NODE: 3;
|
|
@@ -2842,10 +2849,13 @@ export declare function AttributeParser<TBase extends GHTMLElement>(Base: TBase)
|
|
|
2842
2849
|
dispatchEvent(event: Event): boolean;
|
|
2843
2850
|
ariaAtomic: string | null;
|
|
2844
2851
|
ariaAutoComplete: string | null;
|
|
2852
|
+
ariaBrailleLabel: string | null;
|
|
2853
|
+
ariaBrailleRoleDescription: string | null;
|
|
2845
2854
|
ariaBusy: string | null;
|
|
2846
2855
|
ariaChecked: string | null;
|
|
2847
2856
|
ariaColCount: string | null;
|
|
2848
2857
|
ariaColIndex: string | null;
|
|
2858
|
+
ariaColIndexText: string | null;
|
|
2849
2859
|
ariaColSpan: string | null;
|
|
2850
2860
|
ariaCurrent: string | null;
|
|
2851
2861
|
ariaDescription: string | null;
|
|
@@ -2866,10 +2876,12 @@ export declare function AttributeParser<TBase extends GHTMLElement>(Base: TBase)
|
|
|
2866
2876
|
ariaPosInSet: string | null;
|
|
2867
2877
|
ariaPressed: string | null;
|
|
2868
2878
|
ariaReadOnly: string | null;
|
|
2879
|
+
ariaRelevant: string | null;
|
|
2869
2880
|
ariaRequired: string | null;
|
|
2870
2881
|
ariaRoleDescription: string | null;
|
|
2871
2882
|
ariaRowCount: string | null;
|
|
2872
2883
|
ariaRowIndex: string | null;
|
|
2884
|
+
ariaRowIndexText: string | null;
|
|
2873
2885
|
ariaRowSpan: string | null;
|
|
2874
2886
|
ariaSelected: string | null;
|
|
2875
2887
|
ariaSetSize: string | null;
|
|
@@ -2879,35 +2891,35 @@ export declare function AttributeParser<TBase extends GHTMLElement>(Base: TBase)
|
|
|
2879
2891
|
ariaValueNow: string | null;
|
|
2880
2892
|
ariaValueText: string | null;
|
|
2881
2893
|
role: string | null;
|
|
2882
|
-
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions
|
|
2883
|
-
getAnimations(options?: GetAnimationsOptions
|
|
2884
|
-
after(...nodes: (
|
|
2885
|
-
before(...nodes: (
|
|
2894
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
|
|
2895
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
2896
|
+
after(...nodes: (Node | string)[]): void;
|
|
2897
|
+
before(...nodes: (Node | string)[]): void;
|
|
2886
2898
|
remove(): void;
|
|
2887
|
-
replaceWith(...nodes: (
|
|
2888
|
-
innerHTML: string;
|
|
2899
|
+
replaceWith(...nodes: (Node | string)[]): void;
|
|
2889
2900
|
readonly nextElementSibling: Element | null;
|
|
2890
2901
|
readonly previousElementSibling: Element | null;
|
|
2891
2902
|
readonly childElementCount: number;
|
|
2892
2903
|
readonly children: HTMLCollection;
|
|
2893
2904
|
readonly firstElementChild: Element | null;
|
|
2894
2905
|
readonly lastElementChild: Element | null;
|
|
2895
|
-
append(...nodes: (
|
|
2896
|
-
prepend(...nodes: (
|
|
2897
|
-
querySelector<
|
|
2898
|
-
querySelector<
|
|
2899
|
-
querySelector<
|
|
2900
|
-
querySelector<
|
|
2901
|
-
querySelector<
|
|
2902
|
-
querySelectorAll<
|
|
2903
|
-
querySelectorAll<
|
|
2904
|
-
querySelectorAll<
|
|
2905
|
-
querySelectorAll<
|
|
2906
|
-
querySelectorAll<
|
|
2907
|
-
replaceChildren(...nodes: (
|
|
2906
|
+
append(...nodes: (Node | string)[]): void;
|
|
2907
|
+
prepend(...nodes: (Node | string)[]): void;
|
|
2908
|
+
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
2909
|
+
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
2910
|
+
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
|
2911
|
+
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
|
2912
|
+
querySelector<E extends Element = Element>(selectors: string): E | null;
|
|
2913
|
+
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
|
2914
|
+
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
|
2915
|
+
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
|
2916
|
+
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
2917
|
+
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
2918
|
+
replaceChildren(...nodes: (Node | string)[]): void;
|
|
2908
2919
|
readonly assignedSlot: HTMLSlotElement | null;
|
|
2909
2920
|
readonly attributeStyleMap: StylePropertyMap;
|
|
2910
|
-
|
|
2921
|
+
get style(): CSSStyleDeclaration;
|
|
2922
|
+
set style(cssText: string);
|
|
2911
2923
|
contentEditable: string;
|
|
2912
2924
|
enterKeyHint: string;
|
|
2913
2925
|
inputMode: string;
|
|
@@ -2927,7 +2939,9 @@ export declare function AttributeParser<TBase extends GHTMLElement>(Base: TBase)
|
|
|
2927
2939
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2928
2940
|
onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
2929
2941
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2942
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2930
2943
|
oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
2944
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2931
2945
|
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
2932
2946
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2933
2947
|
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
@@ -2975,7 +2989,7 @@ export declare function AttributeParser<TBase extends GHTMLElement>(Base: TBase)
|
|
|
2975
2989
|
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
2976
2990
|
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
2977
2991
|
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
2978
|
-
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent
|
|
2992
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
|
2979
2993
|
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2980
2994
|
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2981
2995
|
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
@@ -3010,10 +3024,10 @@ export declare function AttributeParser<TBase extends GHTMLElement>(Base: TBase)
|
|
|
3010
3024
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
3011
3025
|
autofocus: boolean;
|
|
3012
3026
|
readonly dataset: DOMStringMap;
|
|
3013
|
-
nonce?: string
|
|
3027
|
+
nonce?: string;
|
|
3014
3028
|
tabIndex: number;
|
|
3015
3029
|
blur(): void;
|
|
3016
|
-
focus(options?: FocusOptions
|
|
3030
|
+
focus(options?: FocusOptions): void;
|
|
3017
3031
|
};
|
|
3018
3032
|
} & TBase;
|
|
3019
3033
|
|
|
@@ -3715,7 +3729,6 @@ export declare class BlazeWidgetVideoModal extends BlazeWidgetModal {
|
|
|
3715
3729
|
onResizeEventDelay(): void;
|
|
3716
3730
|
}
|
|
3717
3731
|
|
|
3718
|
-
/// <reference types="hammerjs" />
|
|
3719
3732
|
export declare class BlazeWidgetVideoPlayer extends WidgetAbstractPlayer implements IVideoPlayerController {
|
|
3720
3733
|
private boundOnNavigationPrev;
|
|
3721
3734
|
private boundOnNavigationNext;
|
|
@@ -4225,7 +4238,6 @@ export declare class BlazeWidgetItem extends BaseWidget {
|
|
|
4225
4238
|
render(): void;
|
|
4226
4239
|
}
|
|
4227
4240
|
|
|
4228
|
-
/// <reference types="node" />
|
|
4229
4241
|
export declare class BlazeWidgetLayout extends BlazeWidgetScrollable implements Observable, IWidgetView {
|
|
4230
4242
|
storysModal: BlazeWidgetStoryModal | undefined;
|
|
4231
4243
|
momentsModal: BlazeWidgetMomentModal | undefined;
|
|
@@ -5063,6 +5075,7 @@ export declare class BlazeWidgetStory extends BlazeWidgetContent {
|
|
|
5063
5075
|
playerStyle: StoryPlayerStyle;
|
|
5064
5076
|
mode: ScreenMode;
|
|
5065
5077
|
actionHandlers: ActionHandler[];
|
|
5078
|
+
aspectRatio?: ContentAspectRatio | undefined;
|
|
5066
5079
|
pages: BlazeWidgetVideoBase[];
|
|
5067
5080
|
data: IStory;
|
|
5068
5081
|
shareModal: BlazeWidgetShareModal | undefined;
|
|
@@ -5073,7 +5086,6 @@ export declare class BlazeWidgetStory extends BlazeWidgetContent {
|
|
|
5073
5086
|
ctaModal: BlazeWidgetCtaModal;
|
|
5074
5087
|
isCtaWasClickedOrSwiped: boolean;
|
|
5075
5088
|
resumeAfterBlurButton: BlazeButton | undefined;
|
|
5076
|
-
aspectRatio?: ContentAspectRatio;
|
|
5077
5089
|
pageIndex: number;
|
|
5078
5090
|
contentType: string;
|
|
5079
5091
|
progressElement: HTMLElement;
|
|
@@ -5122,7 +5134,7 @@ export declare class BlazeWidgetStory extends BlazeWidgetContent {
|
|
|
5122
5134
|
boundOnNextPageEvent: () => void;
|
|
5123
5135
|
boundOnPrevPageEvent: () => void;
|
|
5124
5136
|
get currentPageIndexWithoutCustomAds(): number;
|
|
5125
|
-
constructor(playerStyle: StoryPlayerStyle, mode: ScreenMode, actionHandlers?: ActionHandler[]);
|
|
5137
|
+
constructor(playerStyle: StoryPlayerStyle, mode: ScreenMode, actionHandlers?: ActionHandler[], aspectRatio?: ContentAspectRatio | undefined);
|
|
5126
5138
|
isButtonVisible(iconName: IconButtonType | StoryDirectionType): boolean | undefined;
|
|
5127
5139
|
private createPlayerButtonsAndAppendToButtonsContainer;
|
|
5128
5140
|
private createNavigationButtonsAndAppendToWidgetStoryContainer;
|
|
@@ -5210,6 +5222,9 @@ export declare class BlazeWidgetStory extends BlazeWidgetContent {
|
|
|
5210
5222
|
setPlayerButtonPaddings(button: BlazeButton): void;
|
|
5211
5223
|
setPlayerButtonColors(button: BlazeButton, name: IconButtonType): void;
|
|
5212
5224
|
setPlayerButtonSize(buttonElement: HTMLElement, iconName: string): void;
|
|
5225
|
+
getEmbeddedCtaButtonHeight(): string;
|
|
5226
|
+
getEmbeddedBottomContainerPaddingBottom(): string;
|
|
5227
|
+
getContainerBorderRadius(): string;
|
|
5213
5228
|
updatePlayerButtonsOrder(): void;
|
|
5214
5229
|
updatePlayerContentOrder(): void;
|
|
5215
5230
|
displayExitButtonOnMobileTablet(): void;
|