@silurus/ooxml 0.81.0 → 0.82.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.
Files changed (61) hide show
  1. package/README.md +4 -8
  2. package/dist/assets/render-worker-7-Zr7fSw.js +10 -0
  3. package/dist/assets/{render-worker-C2ACcLes.js → render-worker-B5gsW6b5.js} +4 -4
  4. package/dist/assets/{render-worker-DtU8oQZ7.js → render-worker-Dw_wQRIh.js} +1 -1
  5. package/dist/{canvas-viewer-mechanics-CqxKRGCp.js → canvas-viewer-mechanics-CS_qbr6T.js} +1 -1
  6. package/dist/chart-ex.mjs +4 -4
  7. package/dist/comment-occurrence-C34fWs_F.js +6 -0
  8. package/dist/comment-ui-runtime-BAe30Ct9.js +112 -0
  9. package/dist/comment-ui-runtime-BUCj4hWn.js +171 -0
  10. package/dist/comment-ui-runtime-F4a3te6p.js +2 -0
  11. package/dist/comments-Cf9W7r3M.js +241 -0
  12. package/dist/{document-pull-client-Ux4a_ax8.js → document-pull-client-BCgmytqI.js} +2205 -2192
  13. package/dist/{docx-SEyQ4gS-.js → docx-wokGKYfi.js} +674 -249
  14. package/dist/docx.mjs +6 -5
  15. package/dist/docx_parser_bg.wasm +0 -0
  16. package/dist/dom-interaction-boundary-C8F6HO5x.js +119 -0
  17. package/dist/highlight-rect-MaCt0om0.js +13 -0
  18. package/dist/index.mjs +3 -3
  19. package/dist/{line-distribute-BBGvvwLt.js → line-distribute-iXsUCIH-.js} +2 -2
  20. package/dist/{line-metrics-Baz31mML.js → line-metrics-B3syvDn2.js} +52 -52
  21. package/dist/math.mjs +2 -2
  22. package/dist/node.mjs +10 -10
  23. package/dist/{plot-area-frame-Dg1VIpUU.js → plot-area-frame-DHV02PJU.js} +591 -590
  24. package/dist/{pptx-5lQrMvMR.js → pptx-DU8L8I2T.js} +537 -243
  25. package/dist/pptx.mjs +6 -6
  26. package/dist/pptx_parser_bg.wasm +0 -0
  27. package/dist/read-only-comment-decoration-DcFevX_Q.js +96 -0
  28. package/dist/read-only-comment-margin-Dn2y55W6.js +189 -0
  29. package/dist/region-map.mjs +2 -2
  30. package/dist/{render-DEHjijQD.js → render-CenWM4g1.js} +1 -1
  31. package/dist/{render-worker-host-Dg_74V64.js → render-worker-host-BNENN3qP.js} +1 -1
  32. package/dist/{render-worker-host-B1nbV_k7.js → render-worker-host-BmH3kGSj.js} +1 -1
  33. package/dist/{render-worker-host-Bze5M6k5.js → render-worker-host-CmPBviYJ.js} +1 -1
  34. package/dist/{renderer-DuopJE1K.js → renderer-CYr9YTXM.js} +436 -435
  35. package/dist/{resource-measurement-DRLp4nFt.js → resource-measurement-CsW4_eYt.js} +2 -2
  36. package/dist/{session-CNVc3VJ4.js → session-Cky_swUj.js} +3 -3
  37. package/dist/{slide-pull-client-CzutXnGc.js → slide-pull-client-CqTVFb3W.js} +490 -383
  38. package/dist/source-key-BklvnEyQ.js +42 -0
  39. package/dist/{three-d-BYiWCNlz.js → three-d-7MaVzQuZ.js} +48 -47
  40. package/dist/three-d.mjs +324 -323
  41. package/dist/types/chart-ex.d.ts +2 -2
  42. package/dist/types/docx.d.ts +181 -19
  43. package/dist/types/index.d.ts +337 -26
  44. package/dist/types/math.d.ts +1 -1
  45. package/dist/types/node.d.ts +84 -10
  46. package/dist/types/pptx.d.ts +130 -11
  47. package/dist/types/region-map.d.ts +2 -2
  48. package/dist/types/three-d.d.ts +2 -2
  49. package/dist/types/xlsx.d.ts +76 -10
  50. package/dist/units-BzZ0gAxs.js +4 -0
  51. package/dist/{worksheet-pull-client-Cxj3Ej0s.js → worksheet-pull-client-CYtwXP5D.js} +3 -3
  52. package/dist/{xlsx-Bl3TIEVu.js → xlsx-DlV37-0j.js} +429 -218
  53. package/dist/xlsx.mjs +6 -6
  54. package/dist/xlsx_parser_bg.wasm +0 -0
  55. package/package.json +1 -1
  56. package/dist/assets/render-worker-Cx5uR77k.js +0 -10
  57. package/dist/highlight-rect-BqcZMHUE.js +0 -48
  58. /package/dist/{mathjax-DJa-Q93p.js → mathjax-DwIrafQ6.js} +0 -0
  59. /package/dist/{renderer-module-contract-0bO_5SC0.js → renderer-module-contract-DLbb7zY0.js} +0 -0
  60. /package/dist/{transfer-D0U6Uhn4.js → transfer-R6NjgBKD.js} +0 -0
  61. /package/dist/{visible-index-DbDuGMCE.js → visible-index-BFE3PWiY.js} +0 -0
@@ -1,4 +1,4 @@
1
- //#region dist/.types-work/chart-Cf9PF1Kz.d.ts
1
+ //#region dist/.types-work/chart-qJPl2r8m.d.ts
2
2
  type MathStyle = 'roman' | 'italic' | 'bold' | 'boldItalic';
3
3
  interface MathRun {
4
4
  kind: 'run';
@@ -1248,12 +1248,12 @@ interface ChartRect {
1248
1248
  h: number;
1249
1249
  }
1250
1250
  //#endregion
1251
- //#region dist/.types-work/chart-ex-contract-utZi_dg3.d.ts
1251
+ //#region dist/.types-work/chart-ex-contract-Ba0xG5gE.d.ts
1252
1252
  interface ChartExRenderer {
1253
1253
  render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
1254
1254
  }
1255
1255
  //#endregion
1256
- //#region dist/.types-work/mathjax-i691C1H8.d.ts
1256
+ //#region dist/.types-work/mathjax-DwKoKmdb.d.ts
1257
1257
  interface MathSvg {
1258
1258
  svg: string;
1259
1259
  widthEm: number;
@@ -1265,17 +1265,17 @@ interface MathRenderer {
1265
1265
  mathMLToSvg(mathml: string): Promise<MathSvg>;
1266
1266
  }
1267
1267
  //#endregion
1268
- //#region dist/.types-work/three-d-contract-ubTeeJB2.d.ts
1268
+ //#region dist/.types-work/three-d-contract-D5bEzjMw.d.ts
1269
1269
  interface ChartThreeDRenderer {
1270
1270
  render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
1271
1271
  }
1272
1272
  //#endregion
1273
- //#region dist/.types-work/region-map-contract-BjZYif26.d.ts
1273
+ //#region dist/.types-work/region-map-contract-BFIR10oz.d.ts
1274
1274
  interface ChartRegionMapRenderer {
1275
1275
  render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
1276
1276
  }
1277
1277
  //#endregion
1278
- //#region dist/.types-work/hyperlink-DfGyAVo-.d.ts
1278
+ //#region dist/.types-work/hyperlink-CZoV-4B8.d.ts
1279
1279
  type OoxmlErrorCode = 'encrypted' | 'invalid-password' | 'unsupported-encryption' | 'legacy-binary-format' | 'not-ooxml';
1280
1280
  type OoxmlErrorStage = 'container' | 'decompression' | 'parsing' | 'serialization' | 'layout' | 'rendering' | 'worker';
1281
1281
  declare class OoxmlError extends Error {
@@ -1381,7 +1381,7 @@ type HyperlinkTarget = {
1381
1381
  };
1382
1382
  declare function openExternalHyperlink(url: string, allowed?: readonly string[], win?: Pick<Window, 'open'> | undefined): boolean;
1383
1383
  //#endregion
1384
- //#region dist/.types-work/find-highlight-CVToYCFx.d.ts
1384
+ //#region dist/.types-work/find-highlight-DdGGQ_H7.d.ts
1385
1385
  interface TextSelectionContextOptions {
1386
1386
  readonly maxTextCharacters?: number;
1387
1387
  readonly maxRunLocators?: number;
@@ -1390,6 +1390,28 @@ interface ViewerContextMenuEvent<TContext> {
1390
1390
  readonly originalEvent: MouseEvent;
1391
1391
  getContext(): Promise<TContext | null>;
1392
1392
  }
1393
+ interface ViewerCommentsOptions {
1394
+ readonly includeResolved?: boolean;
1395
+ }
1396
+ type ViewerCommentConnectorRoute = 'bezier' | 'orthogonal';
1397
+ type ViewerCommentConnectorStroke = 'solid' | 'dashed';
1398
+ interface ViewerCommentConnectorOptions {
1399
+ readonly route?: ViewerCommentConnectorRoute;
1400
+ readonly stroke?: ViewerCommentConnectorStroke;
1401
+ readonly color?: string;
1402
+ readonly activeColor?: string;
1403
+ }
1404
+ interface ViewerCommentMessageContext {
1405
+ readonly id?: string;
1406
+ readonly author?: string;
1407
+ readonly date?: string;
1408
+ readonly text: string;
1409
+ readonly status?: 'active' | 'resolved' | 'closed';
1410
+ }
1411
+ interface ViewerCommentThreadContext {
1412
+ readonly root: ViewerCommentMessageContext;
1413
+ readonly replies: readonly ViewerCommentMessageContext[];
1414
+ }
1393
1415
  interface AutoResizeOptions {
1394
1416
  pauseWhenHidden?: boolean;
1395
1417
  }
@@ -1420,7 +1442,7 @@ interface FindHighlightColors {
1420
1442
  active?: string;
1421
1443
  }
1422
1444
  //#endregion
1423
- //#region dist/.types-work/docx-cnFW2qy-.d.ts
1445
+ //#region dist/.types-work/docx-Cz7hTdgv.d.ts
1424
1446
  interface DocxDocumentModel {
1425
1447
  section: SectionProps;
1426
1448
  body: BodyElement[];
@@ -1456,7 +1478,8 @@ interface DocSettings {
1456
1478
  adjustLineHeightInTable?: boolean;
1457
1479
  }
1458
1480
  interface DocRevision {
1459
- kind: 'insertion' | 'deletion' | string;
1481
+ kind: 'insertion' | 'deletion' | 'moveFrom' | 'moveTo' | string;
1482
+ id?: string;
1460
1483
  author?: string;
1461
1484
  date?: string;
1462
1485
  text: string;
@@ -1467,6 +1490,14 @@ interface DocComment {
1467
1490
  initials?: string;
1468
1491
  date?: string;
1469
1492
  text: string;
1493
+ parentId?: string;
1494
+ resolved?: boolean;
1495
+ paragraphs?: string[];
1496
+ }
1497
+ interface DocxCommentMark {
1498
+ id: string;
1499
+ kind: 'rangeStart' | 'rangeEnd' | 'reference' | string;
1500
+ runIndex: number;
1470
1501
  }
1471
1502
  interface DocNote {
1472
1503
  id: string;
@@ -1583,6 +1614,7 @@ interface DocParagraph {
1583
1614
  tabStops: TabStop[];
1584
1615
  runs: DocRun[];
1585
1616
  bookmarks?: string[];
1617
+ commentMarks?: DocxCommentMark[];
1586
1618
  shading?: string | null;
1587
1619
  pageBreakBefore?: boolean;
1588
1620
  contextualSpacing?: boolean;
@@ -1665,7 +1697,7 @@ interface NumberingInfo {
1665
1697
  picBulletWidthPt?: number;
1666
1698
  picBulletHeightPt?: number;
1667
1699
  }
1668
- type DocRun = ({
1700
+ type DocRunContent = ({
1669
1701
  type: 'text';
1670
1702
  } & DocxTextRun) | ({
1671
1703
  type: 'anchorHost';
@@ -1689,6 +1721,9 @@ type DocRun = ({
1689
1721
  } | ({
1690
1722
  type: 'ptab';
1691
1723
  } & PTabRun);
1724
+ type DocRun = DocRunContent & {
1725
+ revision?: RunRevision;
1726
+ };
1692
1727
  interface ChartRun {
1693
1728
  chart: ChartModel;
1694
1729
  widthPt: number;
@@ -1991,7 +2026,8 @@ interface NoteRef {
1991
2026
  id: string;
1992
2027
  }
1993
2028
  interface RunRevision {
1994
- kind: 'insertion' | 'deletion' | string;
2029
+ kind: 'insertion' | 'deletion' | 'moveFrom' | 'moveTo' | string;
2030
+ id?: string;
1995
2031
  author?: string;
1996
2032
  date?: string;
1997
2033
  }
@@ -2115,18 +2151,27 @@ interface CellBorders {
2115
2151
  insideH: BorderSpec | null;
2116
2152
  insideV: BorderSpec | null;
2117
2153
  }
2154
+ interface DocxStorySource {
2155
+ story: 'body' | 'header' | 'footer' | 'footnote' | 'endnote' | 'textbox';
2156
+ storyInstance: string;
2157
+ path: readonly number[];
2158
+ }
2118
2159
  interface DocxTextRunInfo {
2119
- source?: Readonly<{
2120
- story: 'body' | 'header' | 'footer' | 'footnote' | 'endnote' | 'textbox';
2121
- storyInstance: string;
2122
- path: readonly number[];
2123
- }>;
2160
+ source?: Readonly<DocxStorySource>;
2124
2161
  paragraphId?: string;
2162
+ sourceRunIndex?: number;
2163
+ direction?: 'ltr' | 'rtl';
2125
2164
  text: string;
2126
2165
  x: number;
2127
2166
  y: number;
2128
2167
  w: number;
2129
2168
  h: number;
2169
+ highlightBounds?: Readonly<{
2170
+ x: number;
2171
+ y: number;
2172
+ width: number;
2173
+ height: number;
2174
+ }>;
2130
2175
  fontSize: number;
2131
2176
  font: string;
2132
2177
  letterSpacingPx?: number;
@@ -2141,6 +2186,46 @@ interface RenderPageOptions {
2141
2186
  onTextRun?: (run: DocxTextRunInfo) => void;
2142
2187
  currentDate?: Date | number;
2143
2188
  }
2189
+ interface CommentAnchorRange {
2190
+ readonly commentId: string;
2191
+ readonly source: Readonly<DocxStorySource>;
2192
+ readonly startRunIndex: number;
2193
+ readonly endRunIndex: number;
2194
+ readonly reference: CommentAnchorPoint;
2195
+ readonly geometryFallback?: CommentAnchorGeometryFallback;
2196
+ }
2197
+ interface CommentAnchorPoint {
2198
+ readonly source: Readonly<DocxStorySource>;
2199
+ readonly runIndex: number;
2200
+ readonly affinity: 'following' | 'preceding';
2201
+ }
2202
+ interface CommentAnchorGeometryFallback {
2203
+ readonly source: Readonly<DocxStorySource>;
2204
+ readonly sourceRunIndex: number;
2205
+ }
2206
+ type DocxCommentAnchorKind = 'range' | 'point' | 'fallback';
2207
+ interface DocxCommentHighlightRect {
2208
+ readonly x: number;
2209
+ readonly y: number;
2210
+ readonly width: number;
2211
+ readonly height: number;
2212
+ readonly transform?: string;
2213
+ }
2214
+ interface ResolvedDocxCommentAnchor {
2215
+ readonly anchor: Readonly<CommentAnchorRange>;
2216
+ readonly kind: DocxCommentAnchorKind;
2217
+ readonly rects: readonly Readonly<DocxCommentHighlightRect>[];
2218
+ }
2219
+ interface ResolvedDocxCommentThread {
2220
+ readonly root: Readonly<DocComment>;
2221
+ readonly replies: readonly Readonly<DocComment>[];
2222
+ readonly anchors: readonly Readonly<ResolvedDocxCommentAnchor>[];
2223
+ }
2224
+ interface ResolveDocxCommentThreadsOptions {
2225
+ readonly includeResolved?: boolean;
2226
+ }
2227
+ declare function resolveCommentAnchorRuns(anchor: Readonly<CommentAnchorRange>, runs: readonly Readonly<DocxTextRunInfo>[]): readonly Readonly<DocxTextRunInfo>[];
2228
+ declare function resolveDocxCommentThreads(comments: readonly Readonly<DocComment>[], anchors: readonly Readonly<CommentAnchorRange>[], runs: readonly Readonly<DocxTextRunInfo>[], options?: ResolveDocxCommentThreadsOptions): readonly Readonly<ResolvedDocxCommentThread>[];
2144
2229
  type DocxSelectionContextOptions = TextSelectionContextOptions;
2145
2230
  interface DocxSelectionSourceLocator {
2146
2231
  readonly story: 'body' | 'header' | 'footer' | 'footnote' | 'endnote' | 'textbox';
@@ -2190,17 +2275,42 @@ interface DocxElementContext {
2190
2275
  readonly textCharacters: number;
2191
2276
  readonly maxTextCharacters: number;
2192
2277
  }
2193
- type DocxSelectionContext = DocxTextSelectionContext | DocxElementContext;
2278
+ interface DocxCommentSelectionContext {
2279
+ readonly format: 'docx';
2280
+ readonly kind: 'comment';
2281
+ readonly pageIndex: number;
2282
+ readonly commentId: string;
2283
+ readonly source?: DocxSelectionSourceLocator;
2284
+ readonly thread: ViewerCommentThreadContext;
2285
+ readonly truncated: boolean;
2286
+ readonly truncationReasons: readonly ('text')[];
2287
+ readonly textCharacters: number;
2288
+ readonly maxTextCharacters: number;
2289
+ }
2290
+ type DocxSelectionContext = DocxTextSelectionContext | DocxElementContext | DocxCommentSelectionContext;
2194
2291
  declare function readDocxTextSelectionContext(root: HTMLElement, selection: Selection | null, options?: DocxSelectionContextOptions): DocxTextSelectionContext | null;
2195
2292
  interface DocxElementContextOptions {
2196
2293
  readonly maxTextCharacters?: number;
2197
2294
  readonly currentDate?: Date | number;
2198
2295
  }
2296
+ interface RevisionAnchorRange {
2297
+ readonly revisionIndex: number;
2298
+ readonly source: Readonly<DocxStorySource>;
2299
+ readonly startRunIndex: number;
2300
+ readonly endRunIndex: number;
2301
+ readonly geometryFallback?: RevisionAnchorGeometryFallback;
2302
+ }
2303
+ interface RevisionAnchorGeometryFallback {
2304
+ readonly source: Readonly<DocxStorySource>;
2305
+ readonly sourceRunIndex: number;
2306
+ }
2307
+ declare function resolveRevisionAnchorRuns(anchor: Readonly<RevisionAnchorRange>, runs: readonly Readonly<DocxTextRunInfo>[]): readonly Readonly<DocxTextRunInfo>[];
2199
2308
  interface LoadOptions$2 extends LoadOptions$3 {
2200
2309
  math?: MathRenderer;
2201
2310
  mode?: 'main' | 'worker';
2202
2311
  }
2203
2312
  type CollectPageRunsOptions = Pick<RenderPageOptions, 'width' | 'currentDate'>;
2313
+ interface DocxPageCommentThreadsOptions extends CollectPageRunsOptions, ResolveDocxCommentThreadsOptions {}
2204
2314
  type RenderPageToBitmapOptions = Omit<RenderPageOptions, 'onTextRun'> & {
2205
2315
  onTextRun?: (run: DocxTextRunInfo) => void;
2206
2316
  };
@@ -2209,7 +2319,11 @@ declare class DocxDocument {
2209
2319
  private _document;
2210
2320
  private _source;
2211
2321
  private _meta;
2322
+ private _review;
2212
2323
  private _bookmarkPages;
2324
+ private _commentAnchorRanges;
2325
+ private _revisionAnchorRanges;
2326
+ private _reviewTextRunSourceIndex;
2213
2327
  private _mode;
2214
2328
  private _threeD;
2215
2329
  private _regionMap;
@@ -2233,7 +2347,11 @@ declare class DocxDocument {
2233
2347
  get pageCount(): number;
2234
2348
  get mode(): 'main' | 'worker';
2235
2349
  get document(): DocxDocumentModel;
2236
- get comments(): DocComment[];
2350
+ get comments(): readonly Readonly<DocComment>[];
2351
+ get revisions(): readonly Readonly<DocRevision>[];
2352
+ commentAnchorRanges(): readonly CommentAnchorRange[];
2353
+ revisionAnchorRanges(): readonly RevisionAnchorRange[];
2354
+ private _reviewSnapshot;
2237
2355
  get footnotes(): DocNote[];
2238
2356
  get endnotes(): DocNote[];
2239
2357
  private _getLayout;
@@ -2246,6 +2364,7 @@ declare class DocxDocument {
2246
2364
  renderPage(target: HTMLCanvasElement | OffscreenCanvas, pageIndex: number, opts?: RenderPageOptions): Promise<void>;
2247
2365
  renderPageToBitmap(pageIndex: number, opts?: RenderPageToBitmapOptions): Promise<ImageBitmap>;
2248
2366
  collectPageRuns(pageIndex: number, opts?: CollectPageRunsOptions): Promise<DocxTextRunInfo[]>;
2367
+ getCommentThreads(pageIndex: number, options?: DocxPageCommentThreadsOptions): Promise<readonly Readonly<ResolvedDocxCommentThread>[]>;
2249
2368
  getElementContextAt(pageIndex: number, point: DocxPagePoint, opts?: DocxElementContextOptions): Promise<DocxElementContext | null>;
2250
2369
  }
2251
2370
  interface DocxMatchLocation {
@@ -2339,6 +2458,12 @@ declare class DocxViewer implements ZoomableViewer {
2339
2458
  private _buildTextLayer;
2340
2459
  private _hyperlinkHandler;
2341
2460
  }
2461
+ interface DocxCommentsOptions extends ViewerCommentsOptions {
2462
+ readonly cards?: boolean;
2463
+ readonly side?: 'auto' | 'left' | 'right';
2464
+ readonly markers?: boolean;
2465
+ readonly connectors?: ViewerCommentConnectorOptions;
2466
+ }
2342
2467
  interface DocxScrollViewerOptions extends Omit<RenderPageOptions, 'onTextRun'>, LoadOptions$2 {
2343
2468
  width?: number;
2344
2469
  gap?: number;
@@ -2348,6 +2473,7 @@ interface DocxScrollViewerOptions extends Omit<RenderPageOptions, 'onTextRun'>,
2348
2473
  paddingRight?: number;
2349
2474
  overscan?: number;
2350
2475
  enableTextSelection?: boolean;
2476
+ comments?: boolean | DocxCommentsOptions;
2351
2477
  enableElementSelection?: boolean;
2352
2478
  onSelectionContextChange?: (context: DocxSelectionContext | null) => void;
2353
2479
  onContextMenu?: (event: ViewerContextMenuEvent<DocxSelectionContext>) => void;
@@ -2380,6 +2506,7 @@ declare class DocxScrollViewer implements ZoomableViewer {
2380
2506
  private readonly _slots;
2381
2507
  private readonly _free;
2382
2508
  private _heights;
2509
+ private _scrollGeometry;
2383
2510
  private _lastRange;
2384
2511
  private _lastTopIndex;
2385
2512
  private _scrollListener;
@@ -2387,7 +2514,21 @@ declare class DocxScrollViewer implements ZoomableViewer {
2387
2514
  private _selectionContextKey;
2388
2515
  private _elementClickListener;
2389
2516
  private _contextMenuListener;
2517
+ private _commentOutsidePointerListener;
2390
2518
  private _elementContext;
2519
+ private _activeCommentId;
2520
+ private _activeCommentPage;
2521
+ private _commentUi;
2522
+ private readonly _commentPageById;
2523
+ private readonly _commentRunsByPage;
2524
+ private readonly _commentIndexedPages;
2525
+ private _commentScanFrontier;
2526
+ private _commentNavigationGeneration;
2527
+ private _commentAnchorRangesForMargin;
2528
+ private _commentAnchorIds;
2529
+ private _commentGeometryScheduled;
2530
+ private _commentGeometryFrame;
2531
+ private readonly _pendingCommentGeometry;
2391
2532
  private _elementHitGeneration;
2392
2533
  private _destroyed;
2393
2534
  private _measureCtx;
@@ -2409,6 +2550,14 @@ declare class DocxScrollViewer implements ZoomableViewer {
2409
2550
  private _pageWidthPx;
2410
2551
  private _pageHeightPx;
2411
2552
  private _fitWidthPx;
2553
+ private _hasCommentMargin;
2554
+ private _hasDisplayableComments;
2555
+ private _commentMarginExtent;
2556
+ private _commentZoom;
2557
+ private _commentsEnabled;
2558
+ private _commentsOptions;
2559
+ private _commentSide;
2560
+ private _syncCommentMarginGeometry;
2412
2561
  private _baseScale;
2413
2562
  relayout(): void;
2414
2563
  private _relayout;
@@ -2449,6 +2598,15 @@ declare class DocxScrollViewer implements ZoomableViewer {
2449
2598
  scrollToPage(index: number, opts?: {
2450
2599
  behavior?: 'auto' | 'smooth';
2451
2600
  }): void;
2601
+ private _scrollToPageTarget;
2602
+ private _resetCommentNavigation;
2603
+ private _advanceCommentScanFrontier;
2604
+ private _indexCommentPages;
2605
+ private _commentRunsForPage;
2606
+ goToComment(commentId: string, opts?: {
2607
+ pageIndex?: number;
2608
+ behavior?: 'auto' | 'smooth';
2609
+ }): Promise<boolean>;
2452
2610
  findText(query: string, opts?: FindMatchesOptions): Promise<FindMatch<DocxMatchLocation>[]>;
2453
2611
  findNext(): Promise<FindMatch<DocxMatchLocation> | null>;
2454
2612
  findPrev(): Promise<FindMatch<DocxMatchLocation> | null>;
@@ -2457,6 +2615,10 @@ declare class DocxScrollViewer implements ZoomableViewer {
2457
2615
  private _collectPageRuns;
2458
2616
  private _redrawHighlights;
2459
2617
  private _refreshFindRuns;
2618
+ private _commitCommentRuns;
2619
+ private _redrawSlotComments;
2620
+ private _redrawSlotCommentConnectors;
2621
+ private _scheduleCommentGeometry;
2460
2622
  private _redrawSlotHighlights;
2461
2623
  private _onResize;
2462
2624
  get topVisiblePage(): number;
@@ -2480,10 +2642,10 @@ interface DocxHighlightMatch {
2480
2642
  type DocxHighlightColors = FindHighlightColors;
2481
2643
  declare function buildDocxHighlightLayer(layer: HTMLDivElement, runs: DocxTextRunInfo[], matches: DocxHighlightMatch[], cssWidth: number, cssHeight: number, measureForFont: (font: string) => (s: string) => number, colors?: DocxHighlightColors): void;
2482
2644
  declare namespace docx_d_exports {
2483
- export { AnchorHostMetrics, AutoResizeOptions, BodyElement, BorderSpec, CellBorders, CellElement, ChartAreaGroupDecorations, ChartBarGroupDecorations, ChartDataLabelOverride, ChartDataPointOverride, ChartDataTable, ChartDecorationLineStyle, ChartDisplayUnits, ChartDisplayUnitsLabel, ChartErrBars, ChartExElementStyle, ChartExRenderer, ChartLabelBox, ChartLegendEntryOverride, ChartLineDashSegment, ChartLineGroupDecorations, ChartManualLayout, ChartModel, ChartOfPie, ChartPlotGroup, ChartPlotGroupAxisSlot, ChartPlotGroupKind, ChartRect, ChartRegionMapRenderer, ChartRun, ChartSeries, ChartSeriesDataLabels, ChartStockBarPaint, ChartStockUpDownBarStyle, ChartSurfaceBandFormat, ChartTextBox, ChartTextParagraph, ChartTextRun, ChartThreeD, ChartThreeDPictureOptions, ChartThreeDRenderer, ChartThreeDSeriesAxis, ChartThreeDSurface, ChartTrendline, ChartType, ChartexBoxSeries, ChartexBoxWhisker, ChartexGeography, ChartexHistogramBinning, ChartexRegionMap, ChartexRegionMapColors, ChartexRegionMapRow, ChartexSunburst, ChartexSunburstRow, ChartexTreemap, ChartexValueColorStop, ColSpec, CollectPageRunsOptions, ColumnsSpec, DocComment, DocNote, DocParagraph, DocRevision, DocRun, DocSettings, DocTable, DocTableCell, DocTableRow, DocxDocument, DocxDocumentModel, DocxElementContext, DocxElementContextOptions, DocxHighlightColors, DocxHighlightMatch, DocxMatchLocation, DocxPagePoint, DocxRunBorder, DocxScrollViewer, DocxScrollViewerOptions, DocxSelectionContext, DocxSelectionContextOptions, DocxSelectionRunLocator, DocxSelectionSourceLocator, DocxTextRun, DocxTextRunInfo, DocxTextSelectionContext, DocxViewer, DocxViewerOptions, DrawingMLCustomDashSegment, Duotone$1 as Duotone, EmbeddedFontRef, FieldRun, FillRect, FindHighlightColors, FindMatch, FindMatchesOptions, FramePr, GradientFill, GradientStop, HeaderFooter, HeadersFooters, HyperlinkTarget, ImageFill, ImageRun, LegendManualLayout, LineEnd, LineNumbering, LineSpacing, LoadOptions$2 as LoadOptions, MatchRunSlice, MathAccent, MathArray, MathBar, MathBorderBox, MathBox, MathDelimiter, MathFraction, MathFunc, MathGroup, MathGroupChr, MathLimit, MathNary, MathNode, MathPhant, MathRadical, MathRenderer, MathRun, MathSPre, MathScript, MathStyle, MathSvg, NoFill, NoteRef, NumberingInfo, OoxmlDecodedImageLimitError, OoxmlDecodedImageLimitMetric, OoxmlError, OoxmlErrorCode, OoxmlErrorStage, OoxmlFormat, OoxmlResourceLimit, OoxmlResourceLimitError, OoxmlResourceLimitErrorDetails, OoxmlResourceLimits, OoxmlResourceMetric, OoxmlResourceMetrics, OoxmlResourceMetricsCheckpoint, OoxmlResourceName, OoxmlResourcePolicySnapshot, OoxmlResourceUsageSnapshot, OoxmlResourceViolation, PTabRun, PageBorderEdge, PageBorders, PageNumType, ParaBorderEdge, ParagraphBorders, PathCmd$1 as PathCmd, PatternFill, RenderPageOptions, RenderPageToBitmapOptions, RubyAnnotation, RunRevision, SecondaryValueAxis, SectionGeom, SectionProps, ShapeFill$1 as ShapeFill, ShapeRun, ShapeStrokeFill, ShapeText$1 as ShapeText, ShapeTextRun$1 as ShapeTextRun, SolidFill, SrcRect, TabStop, TableBorders, TblpPr, TextPath, TextSelectionContextOptions, TileInfo, ViewerContextMenuEvent, ZoomableViewer, autoResize, buildDocxHighlightLayer, buildDocxTextLayer, isOoxmlDecodedImageLimitError, noteText, openExternalHyperlink, readDocxTextSelectionContext };
2645
+ export { AnchorHostMetrics, AutoResizeOptions, BodyElement, BorderSpec, CellBorders, CellElement, ChartAreaGroupDecorations, ChartBarGroupDecorations, ChartDataLabelOverride, ChartDataPointOverride, ChartDataTable, ChartDecorationLineStyle, ChartDisplayUnits, ChartDisplayUnitsLabel, ChartErrBars, ChartExElementStyle, ChartExRenderer, ChartLabelBox, ChartLegendEntryOverride, ChartLineDashSegment, ChartLineGroupDecorations, ChartManualLayout, ChartModel, ChartOfPie, ChartPlotGroup, ChartPlotGroupAxisSlot, ChartPlotGroupKind, ChartRect, ChartRegionMapRenderer, ChartRun, ChartSeries, ChartSeriesDataLabels, ChartStockBarPaint, ChartStockUpDownBarStyle, ChartSurfaceBandFormat, ChartTextBox, ChartTextParagraph, ChartTextRun, ChartThreeD, ChartThreeDPictureOptions, ChartThreeDRenderer, ChartThreeDSeriesAxis, ChartThreeDSurface, ChartTrendline, ChartType, ChartexBoxSeries, ChartexBoxWhisker, ChartexGeography, ChartexHistogramBinning, ChartexRegionMap, ChartexRegionMapColors, ChartexRegionMapRow, ChartexSunburst, ChartexSunburstRow, ChartexTreemap, ChartexValueColorStop, ColSpec, CollectPageRunsOptions, ColumnsSpec, CommentAnchorGeometryFallback, CommentAnchorPoint, CommentAnchorRange, DocComment, DocNote, DocParagraph, DocRevision, DocRun, DocSettings, DocTable, DocTableCell, DocTableRow, DocxCommentAnchorKind, DocxCommentHighlightRect, DocxCommentMark, DocxCommentSelectionContext, DocxCommentsOptions, DocxDocument, DocxDocumentModel, DocxElementContext, DocxElementContextOptions, DocxHighlightColors, DocxHighlightMatch, DocxMatchLocation, DocxPageCommentThreadsOptions, DocxPagePoint, DocxRunBorder, DocxScrollViewer, DocxScrollViewerOptions, DocxSelectionContext, DocxSelectionContextOptions, DocxSelectionRunLocator, DocxSelectionSourceLocator, DocxStorySource, DocxTextRun, DocxTextRunInfo, DocxTextSelectionContext, DocxViewer, DocxViewerOptions, DrawingMLCustomDashSegment, Duotone$1 as Duotone, EmbeddedFontRef, FieldRun, FillRect, FindHighlightColors, FindMatch, FindMatchesOptions, FramePr, GradientFill, GradientStop, HeaderFooter, HeadersFooters, HyperlinkTarget, ImageFill, ImageRun, LegendManualLayout, LineEnd, LineNumbering, LineSpacing, LoadOptions$2 as LoadOptions, MatchRunSlice, MathAccent, MathArray, MathBar, MathBorderBox, MathBox, MathDelimiter, MathFraction, MathFunc, MathGroup, MathGroupChr, MathLimit, MathNary, MathNode, MathPhant, MathRadical, MathRenderer, MathRun, MathSPre, MathScript, MathStyle, MathSvg, NoFill, NoteRef, NumberingInfo, OoxmlDecodedImageLimitError, OoxmlDecodedImageLimitMetric, OoxmlError, OoxmlErrorCode, OoxmlErrorStage, OoxmlFormat, OoxmlResourceLimit, OoxmlResourceLimitError, OoxmlResourceLimitErrorDetails, OoxmlResourceLimits, OoxmlResourceMetric, OoxmlResourceMetrics, OoxmlResourceMetricsCheckpoint, OoxmlResourceName, OoxmlResourcePolicySnapshot, OoxmlResourceUsageSnapshot, OoxmlResourceViolation, PTabRun, PageBorderEdge, PageBorders, PageNumType, ParaBorderEdge, ParagraphBorders, PathCmd$1 as PathCmd, PatternFill, RenderPageOptions, RenderPageToBitmapOptions, ResolveDocxCommentThreadsOptions, ResolvedDocxCommentAnchor, ResolvedDocxCommentThread, RevisionAnchorGeometryFallback, RevisionAnchorRange, RubyAnnotation, RunRevision, SecondaryValueAxis, SectionGeom, SectionProps, ShapeFill$1 as ShapeFill, ShapeRun, ShapeStrokeFill, ShapeText$1 as ShapeText, ShapeTextRun$1 as ShapeTextRun, SolidFill, SrcRect, TabStop, TableBorders, TblpPr, TextPath, TextSelectionContextOptions, TileInfo, ViewerCommentConnectorOptions, ViewerCommentConnectorRoute, ViewerCommentConnectorStroke, ViewerCommentMessageContext, ViewerCommentThreadContext, ViewerContextMenuEvent, ZoomableViewer, autoResize, buildDocxHighlightLayer, buildDocxTextLayer, isOoxmlDecodedImageLimitError, noteText, openExternalHyperlink, readDocxTextSelectionContext, resolveCommentAnchorRuns, resolveDocxCommentThreads, resolveRevisionAnchorRuns };
2484
2646
  }
2485
2647
  //#endregion
2486
- //#region dist/.types-work/pptx-CNgoOXpt.d.ts
2648
+ //#region dist/.types-work/pptx-B0JHj0n1.d.ts
2487
2649
  interface BlipBullet {
2488
2650
  type: 'blip';
2489
2651
  imagePath: string;
@@ -2534,14 +2696,46 @@ interface DimOptions {
2534
2696
  color: string;
2535
2697
  opacity: number;
2536
2698
  }
2699
+ type PptxCommentAnchor = Readonly<{
2700
+ type: 'slide';
2701
+ }> | Readonly<{
2702
+ type: 'drawingElement';
2703
+ elementId?: string;
2704
+ creationId?: string;
2705
+ }> | Readonly<{
2706
+ type: 'textRange';
2707
+ elementId?: string;
2708
+ start?: number;
2709
+ length?: number;
2710
+ }> | Readonly<{
2711
+ type: 'unknown';
2712
+ }>;
2537
2713
  interface PptxComment {
2714
+ authorId?: number;
2715
+ modernAuthorId?: string;
2716
+ id?: string;
2717
+ index?: number;
2538
2718
  author?: string;
2539
2719
  date?: string;
2720
+ x?: number;
2721
+ y?: number;
2722
+ anchors?: readonly Readonly<PptxCommentAnchor>[];
2723
+ status?: 'active' | 'resolved' | 'closed';
2724
+ text: string;
2725
+ replies?: readonly Readonly<PptxCommentReply>[];
2726
+ }
2727
+ interface PptxCommentReply {
2728
+ id?: string;
2729
+ authorId?: string;
2730
+ author?: string;
2731
+ date?: string;
2732
+ status?: 'active' | 'resolved' | 'closed';
2540
2733
  text: string;
2541
2734
  }
2542
2735
  type SlideElement = ShapeElement | PictureElement | TableElement | ChartElement | MediaElement;
2543
2736
  interface MediaElement {
2544
2737
  type: 'media';
2738
+ id?: string;
2545
2739
  x: number;
2546
2740
  y: number;
2547
2741
  width: number;
@@ -2634,6 +2828,7 @@ interface Sp3d {
2634
2828
  }
2635
2829
  interface TableElement {
2636
2830
  type: 'table';
2831
+ id?: string;
2637
2832
  x: number;
2638
2833
  y: number;
2639
2834
  width: number;
@@ -2666,6 +2861,7 @@ interface TableCell {
2666
2861
  }
2667
2862
  interface ChartElement {
2668
2863
  type: 'chart';
2864
+ id?: string;
2669
2865
  x: number;
2670
2866
  y: number;
2671
2867
  width: number;
@@ -2677,6 +2873,7 @@ interface ChartElement {
2677
2873
  }
2678
2874
  interface PictureElement {
2679
2875
  type: 'picture';
2876
+ id?: string;
2680
2877
  x: number;
2681
2878
  y: number;
2682
2879
  width: number;
@@ -2765,6 +2962,23 @@ interface PptxTextSelectionContext {
2765
2962
  readonly maxTextCharacters: number;
2766
2963
  readonly maxRunLocators: number;
2767
2964
  }
2965
+ interface PptxCommentSelectionContext {
2966
+ readonly format: 'pptx';
2967
+ readonly kind: 'comment';
2968
+ readonly slideIndex: number;
2969
+ readonly commentIndex: number;
2970
+ readonly occurrenceId: string;
2971
+ readonly commentId?: string;
2972
+ readonly point?: Readonly<{
2973
+ x: number;
2974
+ y: number;
2975
+ }>;
2976
+ readonly thread: ViewerCommentThreadContext;
2977
+ readonly truncated: boolean;
2978
+ readonly truncationReasons: readonly ('text')[];
2979
+ readonly textCharacters: number;
2980
+ readonly maxTextCharacters: number;
2981
+ }
2768
2982
  declare function readPptxTextSelectionContext(root: HTMLElement, selection: Selection | null, options?: TextSelectionContextOptions): PptxTextSelectionContext | null;
2769
2983
  type PptxSelectionContextOptions = TextSelectionContextOptions;
2770
2984
  interface PptxSlidePoint {
@@ -2806,7 +3020,14 @@ interface PptxElementContext {
2806
3020
  readonly textCharacters: number;
2807
3021
  readonly maxTextCharacters: number;
2808
3022
  }
2809
- type PptxSelectionContext = PptxTextSelectionContext | PptxElementContext;
3023
+ interface PptxElementBounds {
3024
+ readonly elementId: string;
3025
+ readonly elementIndex: number;
3026
+ readonly origin: SlideElementOrigin | 'unknown';
3027
+ readonly elementType: SlideElement['type'];
3028
+ readonly bounds: PptxElementContext['bounds'];
3029
+ }
3030
+ type PptxSelectionContext = PptxTextSelectionContext | PptxCommentSelectionContext | PptxElementContext;
2810
3031
  type LoadOptions$1 = LoadOptions$3 & {
2811
3032
  mode?: 'main' | 'worker';
2812
3033
  };
@@ -2854,6 +3075,7 @@ declare class PptxPresentation {
2854
3075
  get slideHeight(): number;
2855
3076
  get mode(): 'main' | 'worker';
2856
3077
  getNotes(slideIndex: number): string | null;
3078
+ getComments(slideIndex: number): readonly Readonly<PptxComment>[];
2857
3079
  isHidden(slideIndex: number): boolean;
2858
3080
  private _partNames;
2859
3081
  private _partIndex;
@@ -2863,6 +3085,7 @@ declare class PptxPresentation {
2863
3085
  renderSlideToBitmap(slideIndex: number, opts?: RenderSlideToBitmapOptions): Promise<ImageBitmap>;
2864
3086
  collectSlideRuns(slideIndex: number, width?: number): Promise<PptxTextRunInfo[]>;
2865
3087
  getElementContextAt(slideIndex: number, point: PptxSlidePoint, options?: PptxElementContextOptions): Promise<PptxElementContext | null>;
3088
+ getElementBoundsByIds(slideIndex: number, elementIds: readonly string[]): Promise<readonly PptxElementBounds[]>;
2866
3089
  getMedia(mediaPath: string): Promise<Blob>;
2867
3090
  private _findMimeTypeForPath;
2868
3091
  getImage(imagePath: string, mimeType: string): Promise<Blob>;
@@ -2972,6 +3195,12 @@ declare class PptxViewer implements ZoomableViewer {
2972
3195
  private _resolveContextAt;
2973
3196
  destroy(): void;
2974
3197
  }
3198
+ interface PptxCommentsOptions extends ViewerCommentsOptions {
3199
+ readonly cards?: boolean;
3200
+ readonly side?: 'auto' | 'left' | 'right';
3201
+ readonly markers?: boolean;
3202
+ readonly connectors?: ViewerCommentConnectorOptions;
3203
+ }
2975
3204
  interface PptxScrollViewerOptions extends Pick<RenderSlideOptions, 'width' | 'dpr'>, LoadOptions$1 {
2976
3205
  width?: number;
2977
3206
  gap?: number;
@@ -2981,6 +3210,7 @@ interface PptxScrollViewerOptions extends Pick<RenderSlideOptions, 'width' | 'dp
2981
3210
  paddingRight?: number;
2982
3211
  overscan?: number;
2983
3212
  enableTextSelection?: boolean;
3213
+ comments?: boolean | PptxCommentsOptions;
2984
3214
  enableElementSelection?: boolean;
2985
3215
  elementHitTolerance?: number;
2986
3216
  onSelectionContextChange?: (context: PptxSelectionContext | null) => void;
@@ -3015,7 +3245,7 @@ declare class PptxScrollViewer implements ZoomableViewer {
3015
3245
  private _pendingScale;
3016
3246
  private readonly _slots;
3017
3247
  private readonly _free;
3018
- private _heights;
3248
+ private _uniformSlideHeight;
3019
3249
  private _lastRange;
3020
3250
  private _lastTopIndex;
3021
3251
  private _scrollListener;
@@ -3023,7 +3253,16 @@ declare class PptxScrollViewer implements ZoomableViewer {
3023
3253
  private _selectionContextKey;
3024
3254
  private _elementClickListener;
3025
3255
  private _contextMenuListener;
3256
+ private _commentOutsidePointerListener;
3026
3257
  private _elementContext;
3258
+ private _activeCommentId;
3259
+ private _activeCommentSlide;
3260
+ private _commentNavigationGeneration;
3261
+ private _commentUi;
3262
+ private _commentGeometryScheduled;
3263
+ private _commentGeometryFrame;
3264
+ private readonly _pendingCommentGeometry;
3265
+ private _hasComments;
3027
3266
  private _elementHitGeneration;
3028
3267
  private readonly _elementHitTolerance;
3029
3268
  private _destroyed;
@@ -3046,6 +3285,14 @@ declare class PptxScrollViewer implements ZoomableViewer {
3046
3285
  private _slideWidthPx;
3047
3286
  private _slideHeightPx;
3048
3287
  private _fitWidthPx;
3288
+ private _commentMarginExtent;
3289
+ private _hasCommentMargin;
3290
+ private _commentZoom;
3291
+ private _commentsEnabled;
3292
+ private _commentsOptions;
3293
+ private _commentSide;
3294
+ private _syncCommentMarginGeometry;
3295
+ private _presentationHasComments;
3049
3296
  private _baseScale;
3050
3297
  relayout(): void;
3051
3298
  private _relayout;
@@ -3055,7 +3302,9 @@ declare class PptxScrollViewer implements ZoomableViewer {
3055
3302
  private _mediaOverscan;
3056
3303
  private _pad;
3057
3304
  private _padH;
3305
+ private _slideOffset;
3058
3306
  private _slideIndexAtOffset;
3307
+ private _rangeAt;
3059
3308
  private _range;
3060
3309
  private _mediaRange;
3061
3310
  private _rangeContains;
@@ -3089,6 +3338,11 @@ declare class PptxScrollViewer implements ZoomableViewer {
3089
3338
  scrollToSlide(index: number, opts?: {
3090
3339
  behavior?: 'auto' | 'smooth';
3091
3340
  }): void;
3341
+ private _scrollToSlideCommentTarget;
3342
+ private _resolveSlideCommentElementBounds;
3343
+ goToComment(slideIndex: number, commentIndex: number, opts?: {
3344
+ behavior?: 'auto' | 'smooth';
3345
+ }): Promise<boolean>;
3092
3346
  findText(query: string, opts?: FindMatchesOptions): Promise<FindMatch<PptxMatchLocation>[]>;
3093
3347
  findNext(): Promise<FindMatch<PptxMatchLocation> | null>;
3094
3348
  findPrev(): Promise<FindMatch<PptxMatchLocation> | null>;
@@ -3097,6 +3351,11 @@ declare class PptxScrollViewer implements ZoomableViewer {
3097
3351
  private _collectSlideRuns;
3098
3352
  private _redrawHighlights;
3099
3353
  private _refreshFindRuns;
3354
+ private _redrawSlotComments;
3355
+ private _redrawSlotCommentConnectors;
3356
+ private _commitSlotComments;
3357
+ private _ensureSlotCommentAnchors;
3358
+ private _scheduleCommentGeometry;
3100
3359
  private _redrawSlotHighlights;
3101
3360
  private _measureForFind;
3102
3361
  private _hyperlinkHandler;
@@ -3124,10 +3383,10 @@ interface PptxHighlightMatch {
3124
3383
  type PptxHighlightColors = FindHighlightColors;
3125
3384
  declare function buildPptxHighlightLayer(layer: HTMLDivElement, runs: PptxTextRunInfo[], matches: PptxHighlightMatch[], cssWidth: number, cssHeight: number, measureForFont: (font: string) => (s: string) => number, colors?: PptxHighlightColors): void;
3126
3385
  declare namespace pptx_d_exports {
3127
- export { ArrowEnd, AutoResizeOptions, Bevel3d, BlipBullet, Bullet, Camera3d, ChartAreaGroupDecorations, ChartBarGroupDecorations, ChartDataLabelOverride, ChartDataPointOverride, ChartDataTable, ChartDecorationLineStyle, ChartDisplayUnits, ChartDisplayUnitsLabel, ChartElement, ChartErrBars, ChartExElementStyle, ChartExRenderer, ChartLabelBox, ChartLegendEntryOverride, ChartLineDashSegment, ChartLineGroupDecorations, ChartManualLayout, ChartModel, ChartOfPie, ChartPlotGroup, ChartPlotGroupAxisSlot, ChartPlotGroupKind, ChartRect, ChartRegionMapRenderer, ChartSeries, ChartSeriesDataLabels, ChartStockBarPaint, ChartStockUpDownBarStyle, ChartSurfaceBandFormat, ChartTextBox, ChartTextParagraph, ChartTextRun, ChartThreeD, ChartThreeDPictureOptions, ChartThreeDRenderer, ChartThreeDSeriesAxis, ChartThreeDSurface, ChartTrendline, ChartType, ChartexBoxSeries, ChartexBoxWhisker, ChartexGeography, ChartexHistogramBinning, ChartexRegionMap, ChartexRegionMapColors, ChartexRegionMapRow, ChartexSunburst, ChartexSunburstRow, ChartexTreemap, ChartexValueColorStop, DimOptions, DrawingMLCustomDashSegment, Duotone$1 as Duotone, EquationRun, Fill, FillRect, FindHighlightColors, FindMatch, FindMatchesOptions, Glow, GradientFill, GradientStop$1 as GradientStop, HiddenSlideMode, HyperlinkTarget, ImageFill, LegendManualLayout, LightRig, LineBreak, LoadOptions$1 as LoadOptions, MatchRunSlice, MathAccent, MathArray, MathBar, MathBorderBox, MathBox, MathDelimiter, MathFraction, MathFunc, MathGroup, MathGroupChr, MathLimit, MathNary, MathNode, MathPhant, MathRadical, MathRenderer, MathRun, MathSPre, MathScript, MathStyle, MathSvg, MediaElement, NoFill, OoxmlDecodedImageLimitError, OoxmlDecodedImageLimitMetric, OoxmlError, OoxmlErrorCode, OoxmlErrorStage, OoxmlFormat, OoxmlResourceLimit, OoxmlResourceLimitError, OoxmlResourceLimitErrorDetails, OoxmlResourceLimits, OoxmlResourceMetric, OoxmlResourceMetrics, OoxmlResourceMetricsCheckpoint, OoxmlResourceName, OoxmlResourcePolicySnapshot, OoxmlResourceUsageSnapshot, OoxmlResourceViolation, Paragraph, PathCmd$2 as PathCmd, PatternFill, PictureElement, PptxComment, PptxElementContext, PptxElementContextOptions, PptxHighlightColors, PptxHighlightMatch, PptxMatchLocation, PptxPresentation, PptxScrollViewer, PptxScrollViewerOptions, PptxSelectionContext, PptxSelectionContextOptions, PptxSelectionRunLocator, PptxSlidePoint, PptxTextRunInfo, PptxTextSelectionContext, PptxViewer, PptxViewerOptions, PresentSlideOptions, Presentation, PresentationHandle, Reflection, RenderOptions, RenderSlideOptions, RenderSlideToBitmapOptions, Rot3d, Scene3d, SecondaryValueAxis, Shadow, ShapeElement, Slide, SlideElement, SlideElementOrigin, SlideElementSource, SlideRenderOptions, SoftEdge, SolidFill, Sp3d, SpaceLine, SrcRect, Stroke, TabStop$1 as TabStop, TableCell, TableElement, TableRow, TextBody, TextOutline, TextRect, TextRun, TextRunCallback, TextRunData, TextSelectionContextOptions, TileInfo, ViewerContextMenuEvent, ZoomableViewer, autoResize, buildPptxHighlightLayer, buildPptxTextLayer, isOoxmlDecodedImageLimitError, openExternalHyperlink, readPptxTextSelectionContext, renderSlide };
3386
+ export { ArrowEnd, AutoResizeOptions, Bevel3d, BlipBullet, Bullet, Camera3d, ChartAreaGroupDecorations, ChartBarGroupDecorations, ChartDataLabelOverride, ChartDataPointOverride, ChartDataTable, ChartDecorationLineStyle, ChartDisplayUnits, ChartDisplayUnitsLabel, ChartElement, ChartErrBars, ChartExElementStyle, ChartExRenderer, ChartLabelBox, ChartLegendEntryOverride, ChartLineDashSegment, ChartLineGroupDecorations, ChartManualLayout, ChartModel, ChartOfPie, ChartPlotGroup, ChartPlotGroupAxisSlot, ChartPlotGroupKind, ChartRect, ChartRegionMapRenderer, ChartSeries, ChartSeriesDataLabels, ChartStockBarPaint, ChartStockUpDownBarStyle, ChartSurfaceBandFormat, ChartTextBox, ChartTextParagraph, ChartTextRun, ChartThreeD, ChartThreeDPictureOptions, ChartThreeDRenderer, ChartThreeDSeriesAxis, ChartThreeDSurface, ChartTrendline, ChartType, ChartexBoxSeries, ChartexBoxWhisker, ChartexGeography, ChartexHistogramBinning, ChartexRegionMap, ChartexRegionMapColors, ChartexRegionMapRow, ChartexSunburst, ChartexSunburstRow, ChartexTreemap, ChartexValueColorStop, DimOptions, DrawingMLCustomDashSegment, Duotone$1 as Duotone, EquationRun, Fill, FillRect, FindHighlightColors, FindMatch, FindMatchesOptions, Glow, GradientFill, GradientStop$1 as GradientStop, HiddenSlideMode, HyperlinkTarget, ImageFill, LegendManualLayout, LightRig, LineBreak, LoadOptions$1 as LoadOptions, MatchRunSlice, MathAccent, MathArray, MathBar, MathBorderBox, MathBox, MathDelimiter, MathFraction, MathFunc, MathGroup, MathGroupChr, MathLimit, MathNary, MathNode, MathPhant, MathRadical, MathRenderer, MathRun, MathSPre, MathScript, MathStyle, MathSvg, MediaElement, NoFill, OoxmlDecodedImageLimitError, OoxmlDecodedImageLimitMetric, OoxmlError, OoxmlErrorCode, OoxmlErrorStage, OoxmlFormat, OoxmlResourceLimit, OoxmlResourceLimitError, OoxmlResourceLimitErrorDetails, OoxmlResourceLimits, OoxmlResourceMetric, OoxmlResourceMetrics, OoxmlResourceMetricsCheckpoint, OoxmlResourceName, OoxmlResourcePolicySnapshot, OoxmlResourceUsageSnapshot, OoxmlResourceViolation, Paragraph, PathCmd$2 as PathCmd, PatternFill, PictureElement, PptxComment, PptxCommentAnchor, PptxCommentReply, PptxCommentSelectionContext, PptxCommentsOptions, PptxElementBounds, PptxElementContext, PptxElementContextOptions, PptxHighlightColors, PptxHighlightMatch, PptxMatchLocation, PptxPresentation, PptxScrollViewer, PptxScrollViewerOptions, PptxSelectionContext, PptxSelectionContextOptions, PptxSelectionRunLocator, PptxSlidePoint, PptxTextRunInfo, PptxTextSelectionContext, PptxViewer, PptxViewerOptions, PresentSlideOptions, Presentation, PresentationHandle, Reflection, RenderOptions, RenderSlideOptions, RenderSlideToBitmapOptions, Rot3d, Scene3d, SecondaryValueAxis, Shadow, ShapeElement, Slide, SlideElement, SlideElementOrigin, SlideElementSource, SlideRenderOptions, SoftEdge, SolidFill, Sp3d, SpaceLine, SrcRect, Stroke, TabStop$1 as TabStop, TableCell, TableElement, TableRow, TextBody, TextOutline, TextRect, TextRun, TextRunCallback, TextRunData, TextSelectionContextOptions, TileInfo, ViewerCommentConnectorOptions, ViewerCommentConnectorRoute, ViewerCommentConnectorStroke, ViewerCommentMessageContext, ViewerCommentThreadContext, ViewerContextMenuEvent, ZoomableViewer, autoResize, buildPptxHighlightLayer, buildPptxTextLayer, isOoxmlDecodedImageLimitError, openExternalHyperlink, readPptxTextSelectionContext, renderSlide };
3128
3387
  }
3129
3388
  //#endregion
3130
- //#region dist/.types-work/xlsx-DLKF0-5_.d.ts
3389
+ //#region dist/.types-work/xlsx-Dx2KTVG5.d.ts
3131
3390
  type ShapeFill = Exclude<Fill, {
3132
3391
  fillType: 'image';
3133
3392
  } | {
@@ -3389,9 +3648,25 @@ interface DefinedName {
3389
3648
  formula: string;
3390
3649
  }
3391
3650
  interface XlsxComment {
3651
+ kind?: 'note' | 'thread';
3392
3652
  cellRef: string;
3653
+ id?: string;
3654
+ personId?: string;
3655
+ author?: string;
3656
+ date?: string;
3657
+ rootText?: string;
3658
+ text: string;
3659
+ resolved?: boolean;
3660
+ replies?: XlsxCommentReply[];
3661
+ }
3662
+ interface XlsxCommentReply {
3663
+ id: string;
3664
+ parentId: string;
3665
+ personId: string;
3393
3666
  author?: string;
3667
+ date?: string;
3394
3668
  text: string;
3669
+ resolved?: boolean;
3395
3670
  }
3396
3671
  interface DataValidation {
3397
3672
  sqref: string;
@@ -3913,6 +4188,7 @@ declare class XlsxWorkbook {
3913
4188
  sheetVisibility(sheetIndex: number): SheetVisibility;
3914
4189
  isHidden(sheetIndex: number): boolean;
3915
4190
  getWorksheet(sheetIndex: number): Promise<Worksheet>;
4191
+ getComments(sheetIndex: number): Promise<readonly Readonly<XlsxComment>[]>;
3916
4192
  getResourceMetrics(): Promise<OoxmlResourceMetrics>;
3917
4193
  private loadWorksheet;
3918
4194
  private loadWorksheetStream;
@@ -3969,6 +4245,7 @@ interface XlsxSelectionContextCell {
3969
4245
  readonly valueType: 'empty' | 'text' | 'number' | 'bool' | 'error' | 'shared';
3970
4246
  readonly value: string | number | boolean | null;
3971
4247
  readonly formula?: string;
4248
+ readonly comment?: ViewerCommentThreadContext;
3972
4249
  }
3973
4250
  interface XlsxRangeSelectionContext {
3974
4251
  readonly format: 'xlsx';
@@ -4022,6 +4299,7 @@ interface XlsxMatchLocation {
4022
4299
  row: number;
4023
4300
  col: number;
4024
4301
  }
4302
+ interface XlsxCommentsOptions extends ViewerCommentsOptions {}
4025
4303
  type HiddenSheetMode = 'show' | 'skip' | 'dim';
4026
4304
  interface XlsxSheetViewerOptions extends LoadOptions {
4027
4305
  cellScale?: number;
@@ -4041,6 +4319,7 @@ interface XlsxSheetViewerOptions extends LoadOptions {
4041
4319
  enableHyperlinks?: boolean;
4042
4320
  selectionColor?: string;
4043
4321
  findHighlightColors?: FindHighlightColors;
4322
+ comments?: boolean | XlsxCommentsOptions;
4044
4323
  hiddenSheetMode?: HiddenSheetMode;
4045
4324
  onViewportChange?: (offset: XlsxViewportOffset) => void;
4046
4325
  }
@@ -4051,6 +4330,12 @@ interface XlsxViewportOffset {
4051
4330
  readonly x: number;
4052
4331
  readonly y: number;
4053
4332
  }
4333
+ interface XlsxCellViewportRect {
4334
+ readonly x: number;
4335
+ readonly y: number;
4336
+ readonly width: number;
4337
+ readonly height: number;
4338
+ }
4054
4339
  interface XlsxScrollToCellOptions {
4055
4340
  readonly align?: 'nearest' | 'start' | 'center' | 'end';
4056
4341
  }
@@ -4078,6 +4363,7 @@ type XlsxViewerMount = {
4078
4363
  readonly mode: CanvasViewerRenderMode;
4079
4364
  };
4080
4365
  declare class XlsxViewerEngine implements ZoomableViewer {
4366
+ private readonly container;
4081
4367
  private readonly hostDocument;
4082
4368
  private readonly hostWindow;
4083
4369
  private readonly acquisition;
@@ -4118,6 +4404,9 @@ declare class XlsxViewerEngine implements ZoomableViewer {
4118
4404
  private fontBinding;
4119
4405
  private _hiddenSheetMode;
4120
4406
  private currentWorksheet;
4407
+ private currentSourceComments;
4408
+ private commentNavigationGeneration;
4409
+ private sourceCommentMap;
4121
4410
  private sheetViews;
4122
4411
  private opts;
4123
4412
  private readonly _mountKind;
@@ -4127,6 +4416,10 @@ declare class XlsxViewerEngine implements ZoomableViewer {
4127
4416
  private preparedWorkbook;
4128
4417
  private _destroyed;
4129
4418
  private resizeObserver;
4419
+ private chromeColors;
4420
+ private chromeStyleObserver;
4421
+ private chromeSchemeMedia;
4422
+ private chromeSchemeListener;
4130
4423
  private _lastViewportNotification;
4131
4424
  private get anchorCell();
4132
4425
  private get activeCell();
@@ -4162,12 +4455,19 @@ declare class XlsxViewerEngine implements ZoomableViewer {
4162
4455
  private hyperlinkMap;
4163
4456
  private commentPopupKey;
4164
4457
  private commentPopupTimer;
4458
+ private commentPopupCell;
4459
+ private commentPopupPositionScheduled;
4460
+ private commentPopupResizeObserver;
4461
+ private commentUi;
4462
+ private commentPopupRenderGeneration;
4165
4463
  private validationPanel;
4166
4464
  private validationPanelKey;
4167
4465
  private validationRequestGeneration;
4168
4466
  private validationArrowRect;
4169
4467
  private validationOutsideHandler;
4170
4468
  constructor(container: HTMLElement, opts: XlsxViewerOptions | XlsxSheetViewerOptions | undefined, mount: XlsxViewerMount);
4469
+ private refreshChromeTheme;
4470
+ private installChromeThemeRefresh;
4171
4471
  private _collectSheetCells;
4172
4472
  load(source: string | ArrayBuffer): Promise<void>;
4173
4473
  private activateWorkbook;
@@ -4224,7 +4524,10 @@ declare class XlsxViewerEngine implements ZoomableViewer {
4224
4524
  getCellAt(clientX: number, clientY: number): CellAddress | null;
4225
4525
  private elementContextViewport;
4226
4526
  private elementContextAt;
4227
- private getCellRect;
4527
+ private _cellRect;
4528
+ getCellViewportRect(cell: CellAddress | string): XlsxCellViewportRect | null;
4529
+ getComments(): readonly Readonly<XlsxComment>[];
4530
+ goToComment(sheetIndex: number, cellRef: string, options?: XlsxScrollToCellOptions): Promise<boolean>;
4228
4531
  get selectionState(): XlsxSelectionState | null;
4229
4532
  setSelection(input: XlsxSelectionInput): void;
4230
4533
  getSelectionContext(options?: XlsxSelectionContextOptions): XlsxSelectionContext | null;
@@ -4261,12 +4564,17 @@ declare class XlsxViewerEngine implements ZoomableViewer {
4261
4564
  private installValidationOutsideHandler;
4262
4565
  private hideValidationPanel;
4263
4566
  private buildCommentMap;
4567
+ private createCommentMap;
4568
+ private createVisibleSheetView;
4264
4569
  private buildHyperlinkMap;
4265
4570
  private hyperlinkAtCell;
4266
4571
  private dispatchHyperlink;
4267
4572
  private navigateInternalHyperlink;
4268
4573
  private scheduleCommentPopup;
4574
+ private loadCommentUi;
4269
4575
  private renderCommentPopup;
4576
+ private scheduleCommentPopupPosition;
4577
+ private positionCommentPopup;
4270
4578
  private hideCommentPopup;
4271
4579
  private applyPointerSelection;
4272
4580
  private viewportInputBounds;
@@ -4341,6 +4649,9 @@ declare class XlsxSheetViewer implements ZoomableViewer {
4341
4649
  fitWidth(): void;
4342
4650
  fitPage(): void;
4343
4651
  getCellAt(clientX: number, clientY: number): CellAddress | null;
4652
+ getCellViewportRect(cell: CellAddress | string): XlsxCellViewportRect | null;
4653
+ getComments(): readonly Readonly<XlsxComment>[];
4654
+ goToComment(sheetIndex: number, cellRef: string, options?: XlsxScrollToCellOptions): Promise<boolean>;
4344
4655
  get selectionState(): XlsxSelectionState | null;
4345
4656
  setSelection(selection: XlsxSelectionInput): void;
4346
4657
  getSelectionContext(options?: XlsxSelectionContextOptions): XlsxSelectionContext | null;
@@ -4361,7 +4672,7 @@ declare class XlsxSheetViewer implements ZoomableViewer {
4361
4672
  }
4362
4673
  declare function resolveSharedStrings(ws: Worksheet, sharedStrings: SharedString[]): Worksheet;
4363
4674
  declare namespace xlsx_d_exports {
4364
- export { ArrowEnd, AutoResizeOptions, Border, BorderEdge, Cell, CellAddress, CellFill, CellFont, CellValue, CellXf, CfIcon, CfRule, CfStop, CfValue, ChartAnchor, ChartAreaGroupDecorations, ChartBarGroupDecorations, ChartDataLabelOverride, ChartDataPointOverride, ChartDataTable, ChartDecorationLineStyle, ChartDisplayUnits, ChartDisplayUnitsLabel, ChartErrBars, ChartExElementStyle, ChartExRenderer, ChartLabelBox, ChartLegendEntryOverride, ChartLineDashSegment, ChartLineGroupDecorations, ChartManualLayout, ChartModel, ChartOfPie, ChartPlotGroup, ChartPlotGroupAxisSlot, ChartPlotGroupKind, ChartRect, ChartRegionMapRenderer, ChartSeries, ChartSeriesDataLabels, ChartStockBarPaint, ChartStockUpDownBarStyle, ChartSurfaceBandFormat, ChartTextBox, ChartTextParagraph, ChartTextRun, ChartThreeD, ChartThreeDPictureOptions, ChartThreeDRenderer, ChartThreeDSeriesAxis, ChartThreeDSurface, ChartTrendline, ChartType, ChartexBoxSeries, ChartexBoxWhisker, ChartexGeography, ChartexHistogramBinning, ChartexRegionMap, ChartexRegionMapColors, ChartexRegionMapRow, ChartexSunburst, ChartexSunburstRow, ChartexTreemap, ChartexValueColorStop, ConditionalFormat, DataValidation, DefinedName, DrawingMLCustomDashSegment, Duotone, Dxf, FillRect, FindHighlightColors, FindMatch, FindMatchesOptions, GradientFill, GradientFillSpec, GradientStop$1 as GradientStop, HiddenSheetMode, Hyperlink, HyperlinkTarget, ImageAnchor, ImageFill, LegendManualLayout, LoadOptions, MAX_SELECTION_AREAS, MAX_SELECTION_CONTEXT_CELLS, MAX_SELECTION_CONTEXT_TEXT_CHARACTERS, MathAccent, MathArray, MathBar, MathBorderBox, MathBox, MathDelimiter, MathFraction, MathFunc, MathGroup, MathGroupChr, MathLimit, MathNary, MathNode, MathPhant, MathRadical, MathRenderer, MathRun, MathSPre, MathScript, MathStyle, MathSvg, MergeCell, NoFill, NumFmt, OoxmlDecodedImageLimitError, OoxmlDecodedImageLimitMetric, OoxmlError, OoxmlErrorCode, OoxmlErrorStage, OoxmlFormat, OoxmlResourceLimit, OoxmlResourceLimitError, OoxmlResourceLimitErrorDetails, OoxmlResourceLimits, OoxmlResourceMetric, OoxmlResourceMetrics, OoxmlResourceMetricsCheckpoint, OoxmlResourceName, OoxmlResourcePolicySnapshot, OoxmlResourceUsageSnapshot, OoxmlResourceViolation, OutlinePr, ParsedWorkbook, PathCmd, PathInfo, PatternFill, PhoneticAlignment, PhoneticProperties, PhoneticRun, PhoneticType, PivotCacheSource, PivotDataField, PivotDiagnostic, PivotLocation, PivotMetadataStatus, PivotPageField, PivotPartialReason, PivotTableMetadata, RenderViewportToBitmapOptions, ResolvedList, Row, Run, RunFont, SecondaryValueAxis, ShapeAnchor, ShapeFill, ShapeGeom, ShapeInfo, ShapeParagraph, ShapeText, ShapeTextRun, SharedString, SheetMeta, SheetVisibility, SlicerAnchor, SlicerElementStyle, SlicerItem, SlicerStyle, SolidFill, SpaceLine, Sparkline, SparklineGroup, SrcRect, Styles, TableColumnInfo, TableInfo, TileInfo, ViewerContextMenuEvent, ViewportRange, Workbook, Worksheet, WorksheetCellRange, XlsxComment, XlsxCopyResult, XlsxElementAnchorMarker, XlsxElementContext, XlsxMatchLocation, XlsxRangeSelectionContext, XlsxRenderViewportOptions, XlsxScrollToCellOptions, XlsxSelectionArea, XlsxSelectionContext, XlsxSelectionContextCell, XlsxSelectionContextOptions, XlsxSelectionInput, XlsxSelectionState, XlsxSheetViewer, XlsxSheetViewerOptions, XlsxTextRunInfo, XlsxViewer, XlsxViewerOptions, XlsxViewportOffset, XlsxWorkbook, ZoomableViewer, autoResize, isOoxmlDecodedImageLimitError, openExternalHyperlink, resolveSharedStrings };
4675
+ export { ArrowEnd, AutoResizeOptions, Border, BorderEdge, Cell, CellAddress, CellFill, CellFont, CellValue, CellXf, CfIcon, CfRule, CfStop, CfValue, ChartAnchor, ChartAreaGroupDecorations, ChartBarGroupDecorations, ChartDataLabelOverride, ChartDataPointOverride, ChartDataTable, ChartDecorationLineStyle, ChartDisplayUnits, ChartDisplayUnitsLabel, ChartErrBars, ChartExElementStyle, ChartExRenderer, ChartLabelBox, ChartLegendEntryOverride, ChartLineDashSegment, ChartLineGroupDecorations, ChartManualLayout, ChartModel, ChartOfPie, ChartPlotGroup, ChartPlotGroupAxisSlot, ChartPlotGroupKind, ChartRect, ChartRegionMapRenderer, ChartSeries, ChartSeriesDataLabels, ChartStockBarPaint, ChartStockUpDownBarStyle, ChartSurfaceBandFormat, ChartTextBox, ChartTextParagraph, ChartTextRun, ChartThreeD, ChartThreeDPictureOptions, ChartThreeDRenderer, ChartThreeDSeriesAxis, ChartThreeDSurface, ChartTrendline, ChartType, ChartexBoxSeries, ChartexBoxWhisker, ChartexGeography, ChartexHistogramBinning, ChartexRegionMap, ChartexRegionMapColors, ChartexRegionMapRow, ChartexSunburst, ChartexSunburstRow, ChartexTreemap, ChartexValueColorStop, ConditionalFormat, DataValidation, DefinedName, DrawingMLCustomDashSegment, Duotone, Dxf, FillRect, FindHighlightColors, FindMatch, FindMatchesOptions, GradientFill, GradientFillSpec, GradientStop$1 as GradientStop, HiddenSheetMode, Hyperlink, HyperlinkTarget, ImageAnchor, ImageFill, LegendManualLayout, LoadOptions, MAX_SELECTION_AREAS, MAX_SELECTION_CONTEXT_CELLS, MAX_SELECTION_CONTEXT_TEXT_CHARACTERS, MathAccent, MathArray, MathBar, MathBorderBox, MathBox, MathDelimiter, MathFraction, MathFunc, MathGroup, MathGroupChr, MathLimit, MathNary, MathNode, MathPhant, MathRadical, MathRenderer, MathRun, MathSPre, MathScript, MathStyle, MathSvg, MergeCell, NoFill, NumFmt, OoxmlDecodedImageLimitError, OoxmlDecodedImageLimitMetric, OoxmlError, OoxmlErrorCode, OoxmlErrorStage, OoxmlFormat, OoxmlResourceLimit, OoxmlResourceLimitError, OoxmlResourceLimitErrorDetails, OoxmlResourceLimits, OoxmlResourceMetric, OoxmlResourceMetrics, OoxmlResourceMetricsCheckpoint, OoxmlResourceName, OoxmlResourcePolicySnapshot, OoxmlResourceUsageSnapshot, OoxmlResourceViolation, OutlinePr, ParsedWorkbook, PathCmd, PathInfo, PatternFill, PhoneticAlignment, PhoneticProperties, PhoneticRun, PhoneticType, PivotCacheSource, PivotDataField, PivotDiagnostic, PivotLocation, PivotMetadataStatus, PivotPageField, PivotPartialReason, PivotTableMetadata, RenderViewportToBitmapOptions, ResolvedList, Row, Run, RunFont, SecondaryValueAxis, ShapeAnchor, ShapeFill, ShapeGeom, ShapeInfo, ShapeParagraph, ShapeText, ShapeTextRun, SharedString, SheetMeta, SheetVisibility, SlicerAnchor, SlicerElementStyle, SlicerItem, SlicerStyle, SolidFill, SpaceLine, Sparkline, SparklineGroup, SrcRect, Styles, TableColumnInfo, TableInfo, TileInfo, ViewerCommentMessageContext, ViewerCommentThreadContext, ViewerContextMenuEvent, ViewportRange, Workbook, Worksheet, WorksheetCellRange, XlsxCellViewportRect, XlsxComment, XlsxCommentReply, XlsxCommentsOptions, XlsxCopyResult, XlsxElementAnchorMarker, XlsxElementContext, XlsxMatchLocation, XlsxRangeSelectionContext, XlsxRenderViewportOptions, XlsxScrollToCellOptions, XlsxSelectionArea, XlsxSelectionContext, XlsxSelectionContextCell, XlsxSelectionContextOptions, XlsxSelectionInput, XlsxSelectionState, XlsxSheetViewer, XlsxSheetViewerOptions, XlsxTextRunInfo, XlsxViewer, XlsxViewerOptions, XlsxViewportOffset, XlsxWorkbook, ZoomableViewer, autoResize, isOoxmlDecodedImageLimitError, openExternalHyperlink, resolveSharedStrings };
4365
4676
  }
4366
4677
  //#endregion
4367
4678
  export { docx_d_exports as docx, pptx_d_exports as pptx, xlsx_d_exports as xlsx };