@embedpdf-editor/vue3-chapter-viewer 1.0.7-beta.7 → 1.0.7-beta.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.
package/dist/index.d.ts CHANGED
@@ -215,6 +215,8 @@ export declare class ChapterManagerPlugin extends BasePlugin<ChapterManagerPlugi
215
215
  /** 步骤 2:`loadChapterUrls` 按章缓存 */
216
216
  private readonly chapterUrlsCache;
217
217
  private readonly pendingChapterUrlsPromises;
218
+ /** 避免同一章反复注册 URL ready -> repump 回调 */
219
+ private readonly pendingVisibleUrlRepumps;
218
220
  private unloadTimer;
219
221
  private documentManagerUnsubs;
220
222
  /** 可见区驱动的分段加载 backlog(限制并发 open,避免仅缓存 URL 却不请求 PDF) */
@@ -239,6 +241,8 @@ export declare class ChapterManagerPlugin extends BasePlugin<ChapterManagerPlugi
239
241
  visibleRangeNeedsSegmentLoad(visibleGlobalPageIndices: number[]): boolean;
240
242
  shouldShowChapterLoadError(chapterId: string, segmentIndex: number): boolean;
241
243
  private clearVisibleSegmentBacklog;
244
+ private chapterNeedsResolvedUrls;
245
+ private ensureVisibleChapterUrls;
242
246
  /** 分段起始页在整本中的 globalPageIndex(用于算与视口距离) */
243
247
  private segmentStartGlobalIndex;
244
248
  /** 按视口距离重建队列并立即 pump */