@netless/slide 1.4.6 → 1.4.8

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.
File without changes
@@ -0,0 +1 @@
1
+ "use strict";
package/lib/Slide.d.ts CHANGED
@@ -6,7 +6,7 @@ export type { ErrorType } from "@netless/ppt-player";
6
6
  export declare type UrlInterrupter = (url: string) => Promise<string>;
7
7
  export interface ILoaderDelegate {
8
8
  /**
9
- * Load JSON resources, need to return JSON text..
9
+ * Load JSON resources, need to return JSON text.
10
10
  * @param url Original resource address
11
11
  */
12
12
  loadJson(url: string): Promise<string>;
@@ -446,6 +446,7 @@ export declare class Slide extends Slide_base {
446
446
  private resizeView;
447
447
  private handleViewClick;
448
448
  static trackLogger: AliTrackLogger;
449
+ private resourceList;
449
450
  private get dispatchIncrId();
450
451
  constructor(initConfig: ISlideConfig);
451
452
  private _updateVolumeByStaticAdjuster;
@@ -456,6 +457,7 @@ export declare class Slide extends Slide_base {
456
457
  static handleReleaseAllSlide: () => void;
457
458
  static handleLogReport: (sessionId: string) => Promise<void>;
458
459
  static handleLogDownload: () => Promise<void>;
460
+ private urlInterrupter;
459
461
  private initPlayer;
460
462
  private userInputHandle;
461
463
  private _handleViewClick;
@@ -567,6 +569,7 @@ export declare class Slide extends Slide_base {
567
569
  */
568
570
  setResource(taskId: string, url: string): void;
569
571
  private flushDebounce;
572
+ setResourceList(taskId: string, urls: string[]): void;
570
573
  private _renderSlide;
571
574
  private handlePrevSlide;
572
575
  private handleNextSlide;