@netless/slide 1.4.55-alpha.6 → 1.4.55
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/lib/Slide.d.ts +1 -6
- package/lib/Slide.js +28 -28
- package/lib/global.js +1 -1
- package/package.json +3 -3
- package/lib/FrozenMediaState.d.ts +0 -13
- package/lib/FrozenMediaState.js +0 -18
- package/lib/Slide.js.map +0 -1
- package/lib/typeGuard/SyncEvent.d.ts +0 -10
- package/lib/typeGuard/SyncEvent.js +0 -27
package/lib/Slide.d.ts
CHANGED
|
@@ -5,7 +5,6 @@ import { AliTrackLogger } from "./AliTrackLogger";
|
|
|
5
5
|
import { preloadResource } from "./global";
|
|
6
6
|
export { ErrorType, PreloadCancelledError } from "@netless/ppt-player";
|
|
7
7
|
export type { SyncEventQueuePolicy } from "./SyncTaskManager";
|
|
8
|
-
export declare const LOCAL_GIF_RUNTIME_CAPABILITY = "netless-slide-local-gif-production-client-geometry";
|
|
9
8
|
export declare type UrlInterrupter = (url: string) => Promise<string>;
|
|
10
9
|
export interface ILoaderDelegate {
|
|
11
10
|
/**
|
|
@@ -180,10 +179,6 @@ export interface ISlideRenderOptions {
|
|
|
180
179
|
*/
|
|
181
180
|
transitionResolutionLevel?: number;
|
|
182
181
|
antialias?: boolean;
|
|
183
|
-
/** Maximum compressed bytes accepted for one client-decoded GIF. */
|
|
184
|
-
localGifMaxCompressedBytes?: number;
|
|
185
|
-
/** Maximum estimated GIF working set for one cached slide. */
|
|
186
|
-
localGifMaxWorkingSetBytes?: number;
|
|
187
182
|
}
|
|
188
183
|
export interface INavigatorDelegate {
|
|
189
184
|
gotoPage?: (index: number) => void;
|
|
@@ -301,6 +296,7 @@ export interface ISlideConfig {
|
|
|
301
296
|
interface MediaState {
|
|
302
297
|
type: "pause" | "play";
|
|
303
298
|
time: number;
|
|
299
|
+
frozenTime?: number;
|
|
304
300
|
fullscreen?: boolean;
|
|
305
301
|
}
|
|
306
302
|
interface TimeNodeSeqState {
|
|
@@ -451,7 +447,6 @@ export declare class Slide extends Slide_base {
|
|
|
451
447
|
private userInputTime;
|
|
452
448
|
private isSyncingSlideState;
|
|
453
449
|
private frozenTaskManager;
|
|
454
|
-
private frozenMediaTimes;
|
|
455
450
|
private randomId;
|
|
456
451
|
private resize;
|
|
457
452
|
private isAnimating;
|