@wscsports/blaze-web-sdk 0.1.5 → 0.1.6

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.1.5",
3
+ "version": "0.1.6",
4
4
  "main": "publish/index",
5
5
  "types": "publish/index",
6
6
  "files": [
@@ -893,11 +893,14 @@ declare const VideoPlayerServiceClass_base: {
893
893
  declare abstract class VideoPlayerServiceClass extends VideoPlayerServiceClass_base implements IService {
894
894
  private _isMuted;
895
895
  private _isPlaying;
896
+ private _isNavigating;
896
897
  init(): Promise<void>;
897
898
  get isMuted(): boolean;
898
899
  set isMuted(value: boolean);
899
900
  get isPlaying(): boolean;
900
901
  set isPlaying(value: boolean);
902
+ get isNavigating(): boolean;
903
+ set isNavigating(value: boolean);
901
904
  }
902
905
  export declare const VideoPlayerService: VideoPlayerServiceClass;
903
906
 
@@ -1801,7 +1804,6 @@ export declare class BlazeWidgetStoryModal extends BlazeWidgetModal {
1801
1804
  export declare class BlazeWidgetStoryPlayer extends BaseWidget {
1802
1805
  data: any;
1803
1806
  hammer: HammerManager;
1804
- isNavigationBlocked: boolean;
1805
1807
  widgets: BlazeWidgetStory[];
1806
1808
  container: HTMLElement;
1807
1809
  index: number;
@@ -1810,6 +1812,9 @@ export declare class BlazeWidgetStoryPlayer extends BaseWidget {
1810
1812
  items: BlazeWidgetStory[];
1811
1813
  touchStartX: number;
1812
1814
  touchStartY: number;
1815
+ edgeScreenThreshold: number;
1816
+ isEdgeThreshold: Boolean;
1817
+ isNavigationBlocked: boolean;
1813
1818
  background: HTMLCanvasElement;
1814
1819
  tmpBackground: HTMLCanvasElement;
1815
1820
  onClose: (() => void) | undefined;
@@ -1824,6 +1829,7 @@ export declare class BlazeWidgetStoryPlayer extends BaseWidget {
1824
1829
  disconnectedCallback(): void;
1825
1830
  attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
1826
1831
  private setupHammer;
1832
+ private isTouchOnScreenEdges;
1827
1833
  private handlePanStart;
1828
1834
  private handlePanMove;
1829
1835
  private handlePanEnd;
@@ -1841,14 +1847,15 @@ export declare class BlazeWidgetStoryPlayer extends BaseWidget {
1841
1847
  resetPosition(): void;
1842
1848
  play(): void;
1843
1849
  clean(): void;
1844
- nextAnimation(): AnimeTimelineInstance | null;
1845
- prevAnimation(): AnimeTimelineInstance | null;
1850
+ nextAnimation(): AnimeTimelineInstance | undefined;
1851
+ prevAnimation(): AnimeTimelineInstance | undefined;
1846
1852
  onAnimationEnd(): void;
1847
1853
  blockInteractionWithUserInterface(): void;
1848
1854
  closeWithAnimation(): void;
1849
1855
  goPrev(): void;
1850
1856
  goNext(): void;
1851
1857
  handleAnimation(distance: number, story: BlazeWidgetStory, currentAnimation?: AnimeInstance | null): void;
1858
+ onSmallGestures(currentAnimation: AnimeInstance, currentStory: BlazeWidgetStory): void;
1852
1859
  onKeyDown(ev: KeyboardEvent): boolean;
1853
1860
  render(): void;
1854
1861
  }