@netless/slide 1.4.13-alpha.9 → 1.4.14-alpha.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/README.md CHANGED
@@ -4,6 +4,9 @@
4
4
 
5
5
  ## changelog
6
6
 
7
+ ### 1.4.13 (2025-2-24)
8
+ * 修复图片在图形裁剪 + 填充色时颜色填充不生效或有距大色差问题
9
+
7
10
  ### 1.4.12 (2024-12-31)
8
11
  * 修复鸿蒙端首次渲染图片不显示问题
9
12
 
package/lib/Slide.d.ts CHANGED
@@ -255,6 +255,7 @@ export interface ISlideConfig {
255
255
  * default is true
256
256
  */
257
257
  enableTracking?: boolean;
258
+ enableWebAudio?: boolean;
258
259
  }
259
260
  interface MediaState {
260
261
  type: "pause" | "play";
@@ -278,7 +279,6 @@ interface ISlideState {
278
279
  interactiveSeqState: {
279
280
  [key: string]: TimeNodeSeqState;
280
281
  };
281
- uuid?: string;
282
282
  }
283
283
  export declare type SyncEvent = SyncInteractiveAnimEvent | SyncPrevStepEvent | SyncNextStepEvent | SyncRenderSlideEvent | SyncSetResourceEvent | SyncMediaPlayEvent | SyncMediaPauseEvent | SyncMediaSeekEvent | SyncMediaFullscreenEvent;
284
284
  export interface BasicSyncEvent {
@@ -482,10 +482,6 @@ export declare class Slide extends Slide_base {
482
482
  * @param state ISlideState
483
483
  */
484
484
  setSlideState(state: Partial<ISlideState>): Promise<void>;
485
- applySlideState(state: Partial<ISlideState>): Promise<void>;
486
- getSlideState(): ISlideState;
487
- private applyInteractiveSeqState;
488
- private playInteractiveAnim;
489
485
  private initInteractiveSeq;
490
486
  private initMedia;
491
487
  /**