@embedpdf-editor/vue3-chapter-viewer 1.0.7-beta.5 → 1.0.7-beta.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/dist/index.d.ts CHANGED
@@ -225,6 +225,7 @@ export declare class ChapterManagerPlugin extends BasePlugin<ChapterManagerPlugi
225
225
  protected buildCapability(): ChapterManagerCapability;
226
226
  destroy(): void;
227
227
  private setManifestInternal;
228
+ /** manifest 就绪后仅预取 URL 列表;open PDF 由视口/首章门控驱动,避免抢并发槽 */
228
229
  private eagerPrefetchFromManifest;
229
230
  private findChapter;
230
231
  private getSegmentPlanForChapter;
@@ -238,9 +239,9 @@ export declare class ChapterManagerPlugin extends BasePlugin<ChapterManagerPlugi
238
239
  visibleRangeNeedsSegmentLoad(visibleGlobalPageIndices: number[]): boolean;
239
240
  shouldShowChapterLoadError(chapterId: string, segmentIndex: number): boolean;
240
241
  private clearVisibleSegmentBacklog;
241
- /** 分段在整本中的阅读顺序(globalPageIndex 升序 → 按章按段依次 open PDF) */
242
- private globalSegmentSortKey;
243
- /** 按阅读顺序重建队列并立即 pump(替换旧 backlog,避免末尾多章同时 loading) */
242
+ /** 分段起始页在整本中的 globalPageIndex(用于算与视口距离) */
243
+ private segmentStartGlobalIndex;
244
+ /** 按视口距离重建队列并立即 pump */
244
245
  private scheduleVisibleSegmentLoads;
245
246
  private pumpVisibleSegmentBacklog;
246
247
  private prepareChapterForSegmentLoad;