@wscsports/blaze-web-sdk 0.7.0 → 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wscsports/blaze-web-sdk",
3
- "version": "0.7.0",
3
+ "version": "0.8.0",
4
4
  "main": "publish/index",
5
5
  "types": "publish/index",
6
6
  "files": [
@@ -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" | "disabled" | "blaze-btn-hidden" | "button-desktop-animation")[];
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;
@@ -1702,6 +1702,17 @@ declare abstract class AnalyticsServiceClass extends AnalyticsServiceClass_base
1702
1702
  }
1703
1703
  export declare const AnalyticsService: AnalyticsServiceClass;
1704
1704
 
1705
+ type GetOptions = {
1706
+ orderType?: OrderType;
1707
+ };
1708
+ type GetByLabelsOptions = GetOptions & {
1709
+ labels: string;
1710
+ maxItems?: number;
1711
+ labelsPriority?: string;
1712
+ };
1713
+ type GetByIdsOptions = GetOptions & {
1714
+ ids: string[];
1715
+ };
1705
1716
  export interface ApiResponse<T> {
1706
1717
  assetsExpiryTime: string;
1707
1718
  totalItems: number;
@@ -1720,59 +1731,49 @@ declare abstract class ApiServiceClass extends ApiServiceClass_base implements I
1720
1731
  api: API;
1721
1732
  init(): Promise<void>;
1722
1733
  private setAdsOnStories;
1723
- getStoriesByIds(options: {
1724
- storyIds: string[];
1725
- orderType?: OrderType;
1734
+ getStoriesByIds(options: GetByIdsOptions & {
1726
1735
  showLiveFirst?: boolean;
1727
1736
  personalized?: BlazePersonalized;
1728
1737
  }): Promise<{
1729
1738
  result: IStory[];
1730
- httpStatus?: number | undefined;
1739
+ httpStatus?: number;
1731
1740
  data?: StoriesResponse | undefined;
1732
- error?: Error | undefined;
1741
+ error?: Error;
1733
1742
  }>;
1734
- getStoriesByLabels(options: {
1735
- labels: string;
1736
- orderType?: OrderType;
1737
- maxItems?: number;
1738
- labelsPriority?: string;
1743
+ getStoriesByLabels(options: GetByLabelsOptions & {
1739
1744
  showLiveFirst?: boolean;
1740
1745
  personalized?: BlazePersonalized;
1741
1746
  }): Promise<{
1742
1747
  result: IStory[];
1743
- httpStatus?: number | undefined;
1748
+ httpStatus?: number;
1744
1749
  data?: StoriesResponse | undefined;
1745
- error?: Error | undefined;
1750
+ error?: Error;
1746
1751
  }>;
1747
- getMomentByIds(ids: string[], orderType?: OrderType): Promise<{
1748
- httpStatus?: number | undefined;
1752
+ getMomentByIds(options: GetByIdsOptions): Promise<{
1753
+ httpStatus?: number;
1749
1754
  data?: MomentsResponse | undefined;
1750
- error?: Error | undefined;
1755
+ error?: Error;
1751
1756
  }>;
1752
- getMomentsByLabels(labels: string, orderType?: OrderType, maxItems?: number): Promise<import("../interfaces").IHttpResponse<MomentsResponse>>;
1757
+ getMomentsByLabels(options: GetByLabelsOptions): Promise<import("../interfaces").IHttpResponse<MomentsResponse>>;
1753
1758
  updateMomentLikeStatus(options: {
1754
1759
  momentId: string;
1755
1760
  setLiked: boolean;
1756
1761
  }): Promise<void>;
1757
1762
  getStaticStories(): Promise<IStory | null>;
1758
- getVideosByIds(ids: string[], orderType?: OrderType): Promise<{
1759
- httpStatus?: number | undefined;
1763
+ getVideosByIds(options: GetByIdsOptions): Promise<{
1764
+ httpStatus?: number;
1760
1765
  data?: VideosResponse | undefined;
1761
- error?: Error | undefined;
1766
+ error?: Error;
1762
1767
  }>;
1763
- getVideosByLabels(labels: string, orderType?: OrderType, maxItems?: number, labelsPriority?: string): Promise<{
1764
- httpStatus?: number | undefined;
1768
+ getVideosByLabels(options: GetByLabelsOptions): Promise<{
1769
+ httpStatus?: number;
1765
1770
  data?: VideosResponse | undefined;
1766
- error?: Error | undefined;
1771
+ error?: Error;
1767
1772
  }>;
1768
1773
  updateVideosLikeStatus(options: {
1769
1774
  videoId: string;
1770
1775
  setLiked: boolean;
1771
1776
  }): Promise<void>;
1772
- preview(storyId: string, publishedOnly?: boolean): Promise<import("../interfaces").IHttpResponse<IStory & {
1773
- status: number;
1774
- }>>;
1775
- preivewMoment(momentId: string, publishedOnly?: boolean): Promise<IResponse<any>>;
1776
1777
  sendAnaltyicsEvents(body: Partial<AnalyticsEvent>[]): Promise<import("../interfaces").IHttpResponse<unknown>>;
1777
1778
  sendInteractionResponse(options: {
1778
1779
  interactionId: Interaction['id'];
@@ -1782,6 +1783,9 @@ declare abstract class ApiServiceClass extends ApiServiceClass_base implements I
1782
1783
  getUserToken(body: GetUserTokenRequest): Promise<import("../interfaces").IHttpResponse<TokenData>>;
1783
1784
  refreshUserToken(body: RefreshUserTokenRequest): Promise<import("../interfaces").IHttpResponse<TokenData>>;
1784
1785
  getAppConfigurations(): Promise<import("../interfaces").IHttpResponse<AppConfiguration>>;
1786
+ private getContentDefaultParams;
1787
+ private getContentParamsByLabels;
1788
+ private getContentParamsByIds;
1785
1789
  }
1786
1790
  export declare const ApiService: ApiServiceClass;
1787
1791
 
@@ -2705,30 +2709,35 @@ export declare function AttributeParser<TBase extends GHTMLElement>(Base: TBase)
2705
2709
  spellcheck: boolean;
2706
2710
  title: string;
2707
2711
  translate: boolean;
2712
+ writingSuggestions: string;
2708
2713
  attachInternals(): ElementInternals;
2709
2714
  click(): void;
2710
2715
  hidePopover(): void;
2711
2716
  showPopover(): void;
2712
- togglePopover(force?: boolean | undefined): boolean;
2713
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions | undefined): void;
2714
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions | undefined): void;
2715
- removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions | undefined): void;
2716
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions | undefined): void;
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;
2717
2722
  readonly attributes: NamedNodeMap;
2718
- readonly classList: DOMTokenList;
2723
+ get classList(): DOMTokenList;
2724
+ set classList(value: string);
2719
2725
  className: string;
2720
2726
  readonly clientHeight: number;
2721
2727
  readonly clientLeft: number;
2722
2728
  readonly clientTop: number;
2723
2729
  readonly clientWidth: number;
2730
+ readonly currentCSSZoom: number;
2724
2731
  id: string;
2732
+ innerHTML: string;
2725
2733
  readonly localName: string;
2726
2734
  readonly namespaceURI: string | null;
2727
2735
  onfullscreenchange: ((this: Element, ev: Event) => any) | null;
2728
2736
  onfullscreenerror: ((this: Element, ev: Event) => any) | null;
2729
2737
  outerHTML: string;
2730
2738
  readonly ownerDocument: Document;
2731
- readonly part: DOMTokenList;
2739
+ get part(): DOMTokenList;
2740
+ set part(value: string);
2732
2741
  readonly prefix: string | null;
2733
2742
  readonly scrollHeight: number;
2734
2743
  scrollLeft: number;
@@ -2738,10 +2747,10 @@ export declare function AttributeParser<TBase extends GHTMLElement>(Base: TBase)
2738
2747
  slot: string;
2739
2748
  readonly tagName: string;
2740
2749
  attachShadow(init: ShadowRootInit): ShadowRoot;
2741
- checkVisibility(options?: CheckVisibilityOptions | undefined): boolean;
2742
- closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2] | null;
2743
- closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3] | null;
2744
- closest<K_4 extends keyof MathMLElementTagNameMap>(selector: K_4): MathMLElementTagNameMap[K_4] | null;
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;
2745
2754
  closest<E extends Element = Element>(selectors: string): E | null;
2746
2755
  computedStyleMap(): StylePropertyMapReadOnly;
2747
2756
  getAttribute(qualifiedName: string): string | null;
@@ -2752,42 +2761,44 @@ export declare function AttributeParser<TBase extends GHTMLElement>(Base: TBase)
2752
2761
  getBoundingClientRect(): DOMRect;
2753
2762
  getClientRects(): DOMRectList;
2754
2763
  getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
2755
- getElementsByTagName<K_5 extends keyof HTMLElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<HTMLElementTagNameMap[K_5]>;
2756
- getElementsByTagName<K_6 extends keyof SVGElementTagNameMap>(qualifiedName: K_6): HTMLCollectionOf<SVGElementTagNameMap[K_6]>;
2757
- getElementsByTagName<K_7 extends keyof MathMLElementTagNameMap>(qualifiedName: K_7): HTMLCollectionOf<MathMLElementTagNameMap[K_7]>;
2758
- getElementsByTagName<K_8 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_8): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_8]>;
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]>;
2759
2768
  getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
2760
2769
  getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
2761
2770
  getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
2762
2771
  getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
2763
2772
  getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
2773
+ getHTML(options?: GetHTMLOptions): string;
2764
2774
  hasAttribute(qualifiedName: string): boolean;
2765
2775
  hasAttributeNS(namespace: string | null, localName: string): boolean;
2766
2776
  hasAttributes(): boolean;
2767
2777
  hasPointerCapture(pointerId: number): boolean;
2768
2778
  insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
2769
- insertAdjacentHTML(position: InsertPosition, text: string): void;
2779
+ insertAdjacentHTML(position: InsertPosition, string: string): void;
2770
2780
  insertAdjacentText(where: InsertPosition, data: string): void;
2771
2781
  matches(selectors: string): boolean;
2772
2782
  releasePointerCapture(pointerId: number): void;
2773
2783
  removeAttribute(qualifiedName: string): void;
2774
2784
  removeAttributeNS(namespace: string | null, localName: string): void;
2775
2785
  removeAttributeNode(attr: Attr): Attr;
2776
- requestFullscreen(options?: FullscreenOptions | undefined): Promise<void>;
2777
- requestPointerLock(): void;
2778
- scroll(options?: ScrollToOptions | undefined): void;
2786
+ requestFullscreen(options?: FullscreenOptions): Promise<void>;
2787
+ requestPointerLock(options?: PointerLockOptions): Promise<void>;
2788
+ scroll(options?: ScrollToOptions): void;
2779
2789
  scroll(x: number, y: number): void;
2780
- scrollBy(options?: ScrollToOptions | undefined): void;
2790
+ scrollBy(options?: ScrollToOptions): void;
2781
2791
  scrollBy(x: number, y: number): void;
2782
- scrollIntoView(arg?: boolean | ScrollIntoViewOptions | undefined): void;
2783
- scrollTo(options?: ScrollToOptions | undefined): void;
2792
+ scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
2793
+ scrollTo(options?: ScrollToOptions): void;
2784
2794
  scrollTo(x: number, y: number): void;
2785
2795
  setAttribute(qualifiedName: string, value: string): void;
2786
2796
  setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
2787
2797
  setAttributeNode(attr: Attr): Attr | null;
2788
2798
  setAttributeNodeNS(attr: Attr): Attr | null;
2799
+ setHTMLUnsafe(html: string): void;
2789
2800
  setPointerCapture(pointerId: number): void;
2790
- toggleAttribute(qualifiedName: string, force?: boolean | undefined): boolean;
2801
+ toggleAttribute(qualifiedName: string, force?: boolean): boolean;
2791
2802
  webkitMatchesSelector(selectors: string): boolean;
2792
2803
  readonly baseURI: string;
2793
2804
  readonly childNodes: NodeListOf<ChildNode>;
@@ -2803,20 +2814,20 @@ export declare function AttributeParser<TBase extends GHTMLElement>(Base: TBase)
2803
2814
  readonly previousSibling: ChildNode | null;
2804
2815
  textContent: string | null;
2805
2816
  appendChild<T extends Node>(node: T): T;
2806
- cloneNode(deep?: boolean | undefined): Node;
2817
+ cloneNode(subtree?: boolean): Node;
2807
2818
  compareDocumentPosition(other: Node): number;
2808
2819
  contains(other: Node | null): boolean;
2809
- getRootNode(options?: GetRootNodeOptions | undefined): Node;
2820
+ getRootNode(options?: GetRootNodeOptions): Node;
2810
2821
  hasChildNodes(): boolean;
2811
- insertBefore<T_1 extends Node>(node: T_1, child: Node | null): T_1;
2822
+ insertBefore<T extends Node>(node: T, child: Node | null): T;
2812
2823
  isDefaultNamespace(namespace: string | null): boolean;
2813
2824
  isEqualNode(otherNode: Node | null): boolean;
2814
2825
  isSameNode(otherNode: Node | null): boolean;
2815
2826
  lookupNamespaceURI(prefix: string | null): string | null;
2816
2827
  lookupPrefix(namespace: string | null): string | null;
2817
2828
  normalize(): void;
2818
- removeChild<T_2 extends Node>(child: T_2): T_2;
2819
- replaceChild<T_3 extends Node>(node: Node, child: T_3): T_3;
2829
+ removeChild<T extends Node>(child: T): T;
2830
+ replaceChild<T extends Node>(node: Node, child: T): T;
2820
2831
  readonly ELEMENT_NODE: 1;
2821
2832
  readonly ATTRIBUTE_NODE: 2;
2822
2833
  readonly TEXT_NODE: 3;
@@ -2838,10 +2849,13 @@ export declare function AttributeParser<TBase extends GHTMLElement>(Base: TBase)
2838
2849
  dispatchEvent(event: Event): boolean;
2839
2850
  ariaAtomic: string | null;
2840
2851
  ariaAutoComplete: string | null;
2852
+ ariaBrailleLabel: string | null;
2853
+ ariaBrailleRoleDescription: string | null;
2841
2854
  ariaBusy: string | null;
2842
2855
  ariaChecked: string | null;
2843
2856
  ariaColCount: string | null;
2844
2857
  ariaColIndex: string | null;
2858
+ ariaColIndexText: string | null;
2845
2859
  ariaColSpan: string | null;
2846
2860
  ariaCurrent: string | null;
2847
2861
  ariaDescription: string | null;
@@ -2862,10 +2876,12 @@ export declare function AttributeParser<TBase extends GHTMLElement>(Base: TBase)
2862
2876
  ariaPosInSet: string | null;
2863
2877
  ariaPressed: string | null;
2864
2878
  ariaReadOnly: string | null;
2879
+ ariaRelevant: string | null;
2865
2880
  ariaRequired: string | null;
2866
2881
  ariaRoleDescription: string | null;
2867
2882
  ariaRowCount: string | null;
2868
2883
  ariaRowIndex: string | null;
2884
+ ariaRowIndexText: string | null;
2869
2885
  ariaRowSpan: string | null;
2870
2886
  ariaSelected: string | null;
2871
2887
  ariaSetSize: string | null;
@@ -2875,35 +2891,35 @@ export declare function AttributeParser<TBase extends GHTMLElement>(Base: TBase)
2875
2891
  ariaValueNow: string | null;
2876
2892
  ariaValueText: string | null;
2877
2893
  role: string | null;
2878
- animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined): Animation;
2879
- getAnimations(options?: GetAnimationsOptions | undefined): Animation[];
2880
- after(...nodes: (string | Node)[]): void;
2881
- before(...nodes: (string | Node)[]): void;
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;
2882
2898
  remove(): void;
2883
- replaceWith(...nodes: (string | Node)[]): void;
2884
- innerHTML: string;
2899
+ replaceWith(...nodes: (Node | string)[]): void;
2885
2900
  readonly nextElementSibling: Element | null;
2886
2901
  readonly previousElementSibling: Element | null;
2887
2902
  readonly childElementCount: number;
2888
2903
  readonly children: HTMLCollection;
2889
2904
  readonly firstElementChild: Element | null;
2890
2905
  readonly lastElementChild: Element | null;
2891
- append(...nodes: (string | Node)[]): void;
2892
- prepend(...nodes: (string | Node)[]): void;
2893
- querySelector<K_9 extends keyof HTMLElementTagNameMap>(selectors: K_9): HTMLElementTagNameMap[K_9] | null;
2894
- querySelector<K_10 extends keyof SVGElementTagNameMap>(selectors: K_10): SVGElementTagNameMap[K_10] | null;
2895
- querySelector<K_11 extends keyof MathMLElementTagNameMap>(selectors: K_11): MathMLElementTagNameMap[K_11] | null;
2896
- querySelector<K_12 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_12): HTMLElementDeprecatedTagNameMap[K_12] | null;
2897
- querySelector<E_1 extends Element = Element>(selectors: string): E_1 | null;
2898
- querySelectorAll<K_13 extends keyof HTMLElementTagNameMap>(selectors: K_13): NodeListOf<HTMLElementTagNameMap[K_13]>;
2899
- querySelectorAll<K_14 extends keyof SVGElementTagNameMap>(selectors: K_14): NodeListOf<SVGElementTagNameMap[K_14]>;
2900
- querySelectorAll<K_15 extends keyof MathMLElementTagNameMap>(selectors: K_15): NodeListOf<MathMLElementTagNameMap[K_15]>;
2901
- querySelectorAll<K_16 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_16): NodeListOf<HTMLElementDeprecatedTagNameMap[K_16]>;
2902
- querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
2903
- replaceChildren(...nodes: (string | Node)[]): void;
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;
2904
2919
  readonly assignedSlot: HTMLSlotElement | null;
2905
2920
  readonly attributeStyleMap: StylePropertyMap;
2906
- readonly style: CSSStyleDeclaration;
2921
+ get style(): CSSStyleDeclaration;
2922
+ set style(cssText: string);
2907
2923
  contentEditable: string;
2908
2924
  enterKeyHint: string;
2909
2925
  inputMode: string;
@@ -2923,7 +2939,9 @@ export declare function AttributeParser<TBase extends GHTMLElement>(Base: TBase)
2923
2939
  onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
2924
2940
  onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
2925
2941
  onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
2942
+ oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
2926
2943
  oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
2944
+ oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
2927
2945
  oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
2928
2946
  oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
2929
2947
  oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
@@ -2971,7 +2989,7 @@ export declare function AttributeParser<TBase extends GHTMLElement>(Base: TBase)
2971
2989
  onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
2972
2990
  onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
2973
2991
  onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
2974
- onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any) | null;
2992
+ onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
2975
2993
  onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
2976
2994
  onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
2977
2995
  onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
@@ -3006,10 +3024,10 @@ export declare function AttributeParser<TBase extends GHTMLElement>(Base: TBase)
3006
3024
  onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
3007
3025
  autofocus: boolean;
3008
3026
  readonly dataset: DOMStringMap;
3009
- nonce?: string | undefined;
3027
+ nonce?: string;
3010
3028
  tabIndex: number;
3011
3029
  blur(): void;
3012
- focus(options?: FocusOptions | undefined): void;
3030
+ focus(options?: FocusOptions): void;
3013
3031
  };
3014
3032
  } & TBase;
3015
3033
 
@@ -3663,7 +3681,7 @@ export declare class BlazeVideoNavigationOverlay extends HTMLElement {
3663
3681
  loader: BlazeLoader;
3664
3682
  private _platform;
3665
3683
  constructor();
3666
- static get observedAttributes(): ("layout" | "hidden" | "has-next" | "has-prev")[];
3684
+ static get observedAttributes(): ("hidden" | "layout" | "has-next" | "has-prev")[];
3667
3685
  attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
3668
3686
  private applyAttribute;
3669
3687
  connectedCallback(): void;
@@ -3711,7 +3729,6 @@ export declare class BlazeWidgetVideoModal extends BlazeWidgetModal {
3711
3729
  onResizeEventDelay(): void;
3712
3730
  }
3713
3731
 
3714
- /// <reference types="hammerjs" />
3715
3732
  export declare class BlazeWidgetVideoPlayer extends WidgetAbstractPlayer implements IVideoPlayerController {
3716
3733
  private boundOnNavigationPrev;
3717
3734
  private boundOnNavigationNext;
@@ -4221,7 +4238,6 @@ export declare class BlazeWidgetItem extends BaseWidget {
4221
4238
  render(): void;
4222
4239
  }
4223
4240
 
4224
- /// <reference types="node" />
4225
4241
  export declare class BlazeWidgetLayout extends BlazeWidgetScrollable implements Observable, IWidgetView {
4226
4242
  storysModal: BlazeWidgetStoryModal | undefined;
4227
4243
  momentsModal: BlazeWidgetMomentModal | undefined;
@@ -5059,6 +5075,7 @@ export declare class BlazeWidgetStory extends BlazeWidgetContent {
5059
5075
  playerStyle: StoryPlayerStyle;
5060
5076
  mode: ScreenMode;
5061
5077
  actionHandlers: ActionHandler[];
5078
+ aspectRatio?: ContentAspectRatio | undefined;
5062
5079
  pages: BlazeWidgetVideoBase[];
5063
5080
  data: IStory;
5064
5081
  shareModal: BlazeWidgetShareModal | undefined;
@@ -5069,7 +5086,6 @@ export declare class BlazeWidgetStory extends BlazeWidgetContent {
5069
5086
  ctaModal: BlazeWidgetCtaModal;
5070
5087
  isCtaWasClickedOrSwiped: boolean;
5071
5088
  resumeAfterBlurButton: BlazeButton | undefined;
5072
- aspectRatio?: ContentAspectRatio;
5073
5089
  pageIndex: number;
5074
5090
  contentType: string;
5075
5091
  progressElement: HTMLElement;
@@ -5118,7 +5134,7 @@ export declare class BlazeWidgetStory extends BlazeWidgetContent {
5118
5134
  boundOnNextPageEvent: () => void;
5119
5135
  boundOnPrevPageEvent: () => void;
5120
5136
  get currentPageIndexWithoutCustomAds(): number;
5121
- constructor(playerStyle: StoryPlayerStyle, mode: ScreenMode, actionHandlers?: ActionHandler[]);
5137
+ constructor(playerStyle: StoryPlayerStyle, mode: ScreenMode, actionHandlers?: ActionHandler[], aspectRatio?: ContentAspectRatio | undefined);
5122
5138
  isButtonVisible(iconName: IconButtonType | StoryDirectionType): boolean | undefined;
5123
5139
  private createPlayerButtonsAndAppendToButtonsContainer;
5124
5140
  private createNavigationButtonsAndAppendToWidgetStoryContainer;
@@ -5206,6 +5222,9 @@ export declare class BlazeWidgetStory extends BlazeWidgetContent {
5206
5222
  setPlayerButtonPaddings(button: BlazeButton): void;
5207
5223
  setPlayerButtonColors(button: BlazeButton, name: IconButtonType): void;
5208
5224
  setPlayerButtonSize(buttonElement: HTMLElement, iconName: string): void;
5225
+ getEmbeddedCtaButtonHeight(): string;
5226
+ getEmbeddedBottomContainerPaddingBottom(): string;
5227
+ getContainerBorderRadius(): string;
5209
5228
  updatePlayerButtonsOrder(): void;
5210
5229
  updatePlayerContentOrder(): void;
5211
5230
  displayExitButtonOnMobileTablet(): void;