@embedpdf-editor/vue3-chapter-viewer 1.0.4 → 1.0.5

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
@@ -170,6 +170,8 @@ declare interface ChapterManagerCapability {
170
170
  resolvePageDocument(chapterId: string, localPageIndex: number): ChapterPageDocumentRef | null;
171
171
  getSegmentPlan(chapterId: string): ChapterSegmentPlan | null;
172
172
  isSegmentLoaded(chapterId: string, segmentIndex: number): boolean;
173
+ isSegmentLoadPending(chapterId: string, segmentIndex: number): boolean;
174
+ getChapterErrorMessage(chapterId: string): string | undefined;
173
175
  /** 状态查询 */
174
176
  getChapterStatus(chapterId: string): ChapterLoadStatus;
175
177
  getChapter(chapterId: string): ChapterDescriptor | null;
@@ -198,6 +200,7 @@ export declare class ChapterManagerPlugin extends BasePlugin<ChapterManagerPlugi
198
200
  private overlapStrategy;
199
201
  private virtualPageMap;
200
202
  private readonly chapterStatus;
203
+ private readonly chapterErrorMessages;
201
204
  private readonly chapterLastUsed;
202
205
  private readonly passwordAttempts;
203
206
  private readonly pendingChapterLoadPromises;
@@ -216,6 +219,8 @@ export declare class ChapterManagerPlugin extends BasePlugin<ChapterManagerPlugi
216
219
  private findChapter;
217
220
  private getSegmentPlanForChapter;
218
221
  private isSegmentDocumentOpen;
222
+ private resolveSegmentDocumentId;
223
+ private isSegmentLoadPending;
219
224
  private syncChapterStatusFromDocuments;
220
225
  private handleVisibleChange;
221
226
  private collectIdleChapters;