@silurus/ooxml 0.81.0 → 0.82.1

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-Cy-QsDge.js +10 -0
  3. package/dist/assets/{render-worker-DtU8oQZ7.js → render-worker-Dw_wQRIh.js} +1 -1
  4. package/dist/assets/{render-worker-C2ACcLes.js → render-worker-aHayzR7v.js} +4 -4
  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-C1RV_3iu.js +112 -0
  9. package/dist/comment-ui-runtime-DTGN3Vyy.js +2 -0
  10. package/dist/comment-ui-runtime-DgCZpPR0.js +171 -0
  11. package/dist/comments-Cf9W7r3M.js +241 -0
  12. package/dist/{document-pull-client-Ux4a_ax8.js → document-pull-client-B1WOjA0z.js} +2206 -2193
  13. package/dist/{docx-SEyQ4gS-.js → docx-HoZXZUPA.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-DEUP4Yq5.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-DrUX-YrP.js +189 -0
  29. package/dist/region-map.mjs +2 -2
  30. package/dist/{render-DEHjijQD.js → render-BC8p7vZQ.js} +1 -1
  31. package/dist/{render-worker-host-B1nbV_k7.js → render-worker-host-BNnXCtAu.js} +1 -1
  32. package/dist/{render-worker-host-Bze5M6k5.js → render-worker-host-CmPBviYJ.js} +1 -1
  33. package/dist/{render-worker-host-Dg_74V64.js → render-worker-host-DhnkTyjj.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-Da7LEQUB.js} +3 -3
  37. package/dist/{slide-pull-client-CzutXnGc.js → slide-pull-client-Bg9DusLX.js} +413 -300
  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 +183 -19
  43. package/dist/types/index.d.ts +343 -26
  44. package/dist/types/math.d.ts +1 -1
  45. package/dist/types/node.d.ts +428 -348
  46. package/dist/types/pptx.d.ts +132 -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 +78 -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-DMWeXT-c.js} +429 -218
  53. package/dist/xlsx.mjs +6 -6
  54. package/dist/xlsx_parser_bg.wasm +0 -0
  55. package/package.json +2 -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/pptx-CNgoOXpt.d.ts
1445
+ //#region dist/.types-work/types-PWBS8kGC.d.ts
1424
1446
  interface BlipBullet {
1425
1447
  type: 'blip';
1426
1448
  imagePath: string;
@@ -1471,14 +1493,46 @@ interface DimOptions {
1471
1493
  color: string;
1472
1494
  opacity: number;
1473
1495
  }
1496
+ type PptxCommentAnchor = Readonly<{
1497
+ type: 'slide';
1498
+ }> | Readonly<{
1499
+ type: 'drawingElement';
1500
+ elementId?: string;
1501
+ creationId?: string;
1502
+ }> | Readonly<{
1503
+ type: 'textRange';
1504
+ elementId?: string;
1505
+ start?: number;
1506
+ length?: number;
1507
+ }> | Readonly<{
1508
+ type: 'unknown';
1509
+ }>;
1474
1510
  interface PptxComment {
1511
+ authorId?: number;
1512
+ modernAuthorId?: string;
1513
+ id?: string;
1514
+ index?: number;
1475
1515
  author?: string;
1476
1516
  date?: string;
1517
+ x?: number;
1518
+ y?: number;
1519
+ anchors?: readonly Readonly<PptxCommentAnchor>[];
1520
+ status?: 'active' | 'resolved' | 'closed';
1521
+ text: string;
1522
+ replies?: readonly Readonly<PptxCommentReply>[];
1523
+ }
1524
+ interface PptxCommentReply {
1525
+ id?: string;
1526
+ authorId?: string;
1527
+ author?: string;
1528
+ date?: string;
1529
+ status?: 'active' | 'resolved' | 'closed';
1477
1530
  text: string;
1478
1531
  }
1479
1532
  type SlideElement = ShapeElement | PictureElement | TableElement | ChartElement | MediaElement;
1480
1533
  interface MediaElement {
1481
1534
  type: 'media';
1535
+ id?: string;
1482
1536
  x: number;
1483
1537
  y: number;
1484
1538
  width: number;
@@ -1571,6 +1625,7 @@ interface Sp3d {
1571
1625
  }
1572
1626
  interface TableElement {
1573
1627
  type: 'table';
1628
+ id?: string;
1574
1629
  x: number;
1575
1630
  y: number;
1576
1631
  width: number;
@@ -1603,6 +1658,7 @@ interface TableCell {
1603
1658
  }
1604
1659
  interface ChartElement {
1605
1660
  type: 'chart';
1661
+ id?: string;
1606
1662
  x: number;
1607
1663
  y: number;
1608
1664
  width: number;
@@ -1614,6 +1670,7 @@ interface ChartElement {
1614
1670
  }
1615
1671
  interface PictureElement {
1616
1672
  type: 'picture';
1673
+ id?: string;
1617
1674
  x: number;
1618
1675
  y: number;
1619
1676
  width: number;
@@ -1646,6 +1703,8 @@ interface PictureElement {
1646
1703
  scene3d?: Scene3d;
1647
1704
  sp3d?: Sp3d;
1648
1705
  }
1706
+ //#endregion
1707
+ //#region dist/.types-work/pptx-CZHOWYdz.d.ts
1649
1708
  interface PptxTextRunInfo {
1650
1709
  elementIndex?: number;
1651
1710
  origin?: SlideElementOrigin;
@@ -1702,6 +1761,23 @@ interface PptxTextSelectionContext {
1702
1761
  readonly maxTextCharacters: number;
1703
1762
  readonly maxRunLocators: number;
1704
1763
  }
1764
+ interface PptxCommentSelectionContext {
1765
+ readonly format: 'pptx';
1766
+ readonly kind: 'comment';
1767
+ readonly slideIndex: number;
1768
+ readonly commentIndex: number;
1769
+ readonly occurrenceId: string;
1770
+ readonly commentId?: string;
1771
+ readonly point?: Readonly<{
1772
+ x: number;
1773
+ y: number;
1774
+ }>;
1775
+ readonly thread: ViewerCommentThreadContext;
1776
+ readonly truncated: boolean;
1777
+ readonly truncationReasons: readonly ('text')[];
1778
+ readonly textCharacters: number;
1779
+ readonly maxTextCharacters: number;
1780
+ }
1705
1781
  declare function readPptxTextSelectionContext(root: HTMLElement, selection: Selection | null, options?: TextSelectionContextOptions): PptxTextSelectionContext | null;
1706
1782
  type PptxSelectionContextOptions = TextSelectionContextOptions;
1707
1783
  interface PptxSlidePoint {
@@ -1743,7 +1819,14 @@ interface PptxElementContext {
1743
1819
  readonly textCharacters: number;
1744
1820
  readonly maxTextCharacters: number;
1745
1821
  }
1746
- type PptxSelectionContext = PptxTextSelectionContext | PptxElementContext;
1822
+ interface PptxElementBounds {
1823
+ readonly elementId: string;
1824
+ readonly elementIndex: number;
1825
+ readonly origin: SlideElementOrigin | 'unknown';
1826
+ readonly elementType: SlideElement['type'];
1827
+ readonly bounds: PptxElementContext['bounds'];
1828
+ }
1829
+ type PptxSelectionContext = PptxTextSelectionContext | PptxCommentSelectionContext | PptxElementContext;
1747
1830
  type LoadOptions = LoadOptions$1 & {
1748
1831
  mode?: 'main' | 'worker';
1749
1832
  };
@@ -1791,6 +1874,7 @@ declare class PptxPresentation {
1791
1874
  get slideHeight(): number;
1792
1875
  get mode(): 'main' | 'worker';
1793
1876
  getNotes(slideIndex: number): string | null;
1877
+ getComments(slideIndex: number): readonly Readonly<PptxComment>[];
1794
1878
  isHidden(slideIndex: number): boolean;
1795
1879
  private _partNames;
1796
1880
  private _partIndex;
@@ -1800,6 +1884,7 @@ declare class PptxPresentation {
1800
1884
  renderSlideToBitmap(slideIndex: number, opts?: RenderSlideToBitmapOptions): Promise<ImageBitmap>;
1801
1885
  collectSlideRuns(slideIndex: number, width?: number): Promise<PptxTextRunInfo[]>;
1802
1886
  getElementContextAt(slideIndex: number, point: PptxSlidePoint, options?: PptxElementContextOptions): Promise<PptxElementContext | null>;
1887
+ getElementBoundsByIds(slideIndex: number, elementIds: readonly string[]): Promise<readonly PptxElementBounds[]>;
1803
1888
  getMedia(mediaPath: string): Promise<Blob>;
1804
1889
  private _findMimeTypeForPath;
1805
1890
  getImage(imagePath: string, mimeType: string): Promise<Blob>;
@@ -1909,6 +1994,12 @@ declare class PptxViewer implements ZoomableViewer {
1909
1994
  private _resolveContextAt;
1910
1995
  destroy(): void;
1911
1996
  }
1997
+ interface PptxCommentsOptions extends ViewerCommentsOptions {
1998
+ readonly cards?: boolean;
1999
+ readonly side?: 'auto' | 'left' | 'right';
2000
+ readonly markers?: boolean;
2001
+ readonly connectors?: ViewerCommentConnectorOptions;
2002
+ }
1912
2003
  interface PptxScrollViewerOptions extends Pick<RenderSlideOptions, 'width' | 'dpr'>, LoadOptions {
1913
2004
  width?: number;
1914
2005
  gap?: number;
@@ -1918,6 +2009,7 @@ interface PptxScrollViewerOptions extends Pick<RenderSlideOptions, 'width' | 'dp
1918
2009
  paddingRight?: number;
1919
2010
  overscan?: number;
1920
2011
  enableTextSelection?: boolean;
2012
+ comments?: boolean | PptxCommentsOptions;
1921
2013
  enableElementSelection?: boolean;
1922
2014
  elementHitTolerance?: number;
1923
2015
  onSelectionContextChange?: (context: PptxSelectionContext | null) => void;
@@ -1952,7 +2044,7 @@ declare class PptxScrollViewer implements ZoomableViewer {
1952
2044
  private _pendingScale;
1953
2045
  private readonly _slots;
1954
2046
  private readonly _free;
1955
- private _heights;
2047
+ private _uniformSlideHeight;
1956
2048
  private _lastRange;
1957
2049
  private _lastTopIndex;
1958
2050
  private _scrollListener;
@@ -1960,7 +2052,16 @@ declare class PptxScrollViewer implements ZoomableViewer {
1960
2052
  private _selectionContextKey;
1961
2053
  private _elementClickListener;
1962
2054
  private _contextMenuListener;
2055
+ private _commentOutsidePointerListener;
1963
2056
  private _elementContext;
2057
+ private _activeCommentId;
2058
+ private _activeCommentSlide;
2059
+ private _commentNavigationGeneration;
2060
+ private _commentUi;
2061
+ private _commentGeometryScheduled;
2062
+ private _commentGeometryFrame;
2063
+ private readonly _pendingCommentGeometry;
2064
+ private _hasComments;
1964
2065
  private _elementHitGeneration;
1965
2066
  private readonly _elementHitTolerance;
1966
2067
  private _destroyed;
@@ -1983,6 +2084,14 @@ declare class PptxScrollViewer implements ZoomableViewer {
1983
2084
  private _slideWidthPx;
1984
2085
  private _slideHeightPx;
1985
2086
  private _fitWidthPx;
2087
+ private _commentMarginExtent;
2088
+ private _hasCommentMargin;
2089
+ private _commentZoom;
2090
+ private _commentsEnabled;
2091
+ private _commentsOptions;
2092
+ private _commentSide;
2093
+ private _syncCommentMarginGeometry;
2094
+ private _presentationHasComments;
1986
2095
  private _baseScale;
1987
2096
  relayout(): void;
1988
2097
  private _relayout;
@@ -1992,7 +2101,9 @@ declare class PptxScrollViewer implements ZoomableViewer {
1992
2101
  private _mediaOverscan;
1993
2102
  private _pad;
1994
2103
  private _padH;
2104
+ private _slideOffset;
1995
2105
  private _slideIndexAtOffset;
2106
+ private _rangeAt;
1996
2107
  private _range;
1997
2108
  private _mediaRange;
1998
2109
  private _rangeContains;
@@ -2026,6 +2137,11 @@ declare class PptxScrollViewer implements ZoomableViewer {
2026
2137
  scrollToSlide(index: number, opts?: {
2027
2138
  behavior?: 'auto' | 'smooth';
2028
2139
  }): void;
2140
+ private _scrollToSlideCommentTarget;
2141
+ private _resolveSlideCommentElementBounds;
2142
+ goToComment(slideIndex: number, commentIndex: number, opts?: {
2143
+ behavior?: 'auto' | 'smooth';
2144
+ }): Promise<boolean>;
2029
2145
  findText(query: string, opts?: FindMatchesOptions): Promise<FindMatch<PptxMatchLocation>[]>;
2030
2146
  findNext(): Promise<FindMatch<PptxMatchLocation> | null>;
2031
2147
  findPrev(): Promise<FindMatch<PptxMatchLocation> | null>;
@@ -2034,6 +2150,11 @@ declare class PptxScrollViewer implements ZoomableViewer {
2034
2150
  private _collectSlideRuns;
2035
2151
  private _redrawHighlights;
2036
2152
  private _refreshFindRuns;
2153
+ private _redrawSlotComments;
2154
+ private _redrawSlotCommentConnectors;
2155
+ private _commitSlotComments;
2156
+ private _ensureSlotCommentAnchors;
2157
+ private _scheduleCommentGeometry;
2037
2158
  private _redrawSlotHighlights;
2038
2159
  private _measureForFind;
2039
2160
  private _hyperlinkHandler;
@@ -2061,4 +2182,4 @@ interface PptxHighlightMatch {
2061
2182
  type PptxHighlightColors = FindHighlightColors;
2062
2183
  declare function buildPptxHighlightLayer(layer: HTMLDivElement, runs: PptxTextRunInfo[], matches: PptxHighlightMatch[], cssWidth: number, cssHeight: number, measureForFont: (font: string) => (s: string) => number, colors?: PptxHighlightColors): void;
2063
2184
  //#endregion
2064
- export { type ArrowEnd, type AutoResizeOptions, type Bevel3d, type BlipBullet, type Bullet, type Camera3d, type ChartAreaGroupDecorations, type ChartBarGroupDecorations, type ChartDataLabelOverride, type ChartDataPointOverride, type ChartDataTable, type ChartDecorationLineStyle, type ChartDisplayUnits, type ChartDisplayUnitsLabel, type ChartElement, type ChartErrBars, type ChartExElementStyle, type ChartExRenderer, type ChartLabelBox, type ChartLegendEntryOverride, type ChartLineDashSegment, type ChartLineGroupDecorations, type ChartManualLayout, type ChartModel, type ChartOfPie, type ChartPlotGroup, type ChartPlotGroupAxisSlot, type ChartPlotGroupKind, type ChartRect, type ChartRegionMapRenderer, type ChartSeries, type ChartSeriesDataLabels, type ChartStockBarPaint, type ChartStockUpDownBarStyle, type ChartSurfaceBandFormat, type ChartTextBox, type ChartTextParagraph, type ChartTextRun, type ChartThreeD, type ChartThreeDPictureOptions, type ChartThreeDRenderer, type ChartThreeDSeriesAxis, type ChartThreeDSurface, type ChartTrendline, type ChartType, type ChartexBoxSeries, type ChartexBoxWhisker, type ChartexGeography, type ChartexHistogramBinning, type ChartexRegionMap, type ChartexRegionMapColors, type ChartexRegionMapRow, type ChartexSunburst, type ChartexSunburstRow, type ChartexTreemap, type ChartexValueColorStop, type DimOptions, type DrawingMLCustomDashSegment, type Duotone, type EquationRun, type Fill, type FillRect, type FindHighlightColors, type FindMatch, type FindMatchesOptions, type Glow, type GradientFill, type GradientStop, type HiddenSlideMode, type HyperlinkTarget, type ImageFill, type LegendManualLayout, type LightRig, type LineBreak, type LoadOptions, type MatchRunSlice, type MathAccent, type MathArray, type MathBar, type MathBorderBox, type MathBox, type MathDelimiter, type MathFraction, type MathFunc, type MathGroup, type MathGroupChr, type MathLimit, type MathNary, type MathNode, type MathPhant, type MathRadical, type MathRenderer, type MathRun, type MathSPre, type MathScript, type MathStyle, type MathSvg, type MediaElement, type NoFill, OoxmlDecodedImageLimitError, type OoxmlDecodedImageLimitMetric, OoxmlError, type OoxmlErrorCode, type OoxmlErrorStage, type OoxmlFormat, type OoxmlResourceLimit, OoxmlResourceLimitError, type OoxmlResourceLimitErrorDetails, type OoxmlResourceLimits, type OoxmlResourceMetric, type OoxmlResourceMetrics, type OoxmlResourceMetricsCheckpoint, type OoxmlResourceName, type OoxmlResourcePolicySnapshot, type OoxmlResourceUsageSnapshot, type OoxmlResourceViolation, type Paragraph, type PathCmd, type PatternFill, type PictureElement, type PptxComment, type PptxElementContext, type PptxElementContextOptions, type PptxHighlightColors, type PptxHighlightMatch, type PptxMatchLocation, PptxPresentation, PptxScrollViewer, type PptxScrollViewerOptions, type PptxSelectionContext, type PptxSelectionContextOptions, type PptxSelectionRunLocator, type PptxSlidePoint, type PptxTextRunInfo, type PptxTextSelectionContext, PptxViewer, type PptxViewerOptions, type PresentSlideOptions, type Presentation, type PresentationHandle, type Reflection, type RenderOptions, type RenderSlideOptions, type RenderSlideToBitmapOptions, type Rot3d, type Scene3d, type SecondaryValueAxis, type Shadow, type ShapeElement, type Slide, type SlideElement, type SlideElementOrigin, type SlideElementSource, type SlideRenderOptions, type SoftEdge, type SolidFill, type Sp3d, type SpaceLine, type SrcRect, type Stroke, type TabStop, type TableCell, type TableElement, type TableRow, type TextBody, type TextOutline, type TextRect, type TextRun, type TextRunCallback, type TextRunData, type TextSelectionContextOptions, type TileInfo, type ViewerContextMenuEvent, type ZoomableViewer, autoResize, buildPptxHighlightLayer, buildPptxTextLayer, isOoxmlDecodedImageLimitError, openExternalHyperlink, readPptxTextSelectionContext, renderSlide };
2185
+ export { type ArrowEnd, type AutoResizeOptions, type Bevel3d, type BlipBullet, type Bullet, type Camera3d, type ChartAreaGroupDecorations, type ChartBarGroupDecorations, type ChartDataLabelOverride, type ChartDataPointOverride, type ChartDataTable, type ChartDecorationLineStyle, type ChartDisplayUnits, type ChartDisplayUnitsLabel, type ChartElement, type ChartErrBars, type ChartExElementStyle, type ChartExRenderer, type ChartLabelBox, type ChartLegendEntryOverride, type ChartLineDashSegment, type ChartLineGroupDecorations, type ChartManualLayout, type ChartModel, type ChartOfPie, type ChartPlotGroup, type ChartPlotGroupAxisSlot, type ChartPlotGroupKind, type ChartRect, type ChartRegionMapRenderer, type ChartSeries, type ChartSeriesDataLabels, type ChartStockBarPaint, type ChartStockUpDownBarStyle, type ChartSurfaceBandFormat, type ChartTextBox, type ChartTextParagraph, type ChartTextRun, type ChartThreeD, type ChartThreeDPictureOptions, type ChartThreeDRenderer, type ChartThreeDSeriesAxis, type ChartThreeDSurface, type ChartTrendline, type ChartType, type ChartexBoxSeries, type ChartexBoxWhisker, type ChartexGeography, type ChartexHistogramBinning, type ChartexRegionMap, type ChartexRegionMapColors, type ChartexRegionMapRow, type ChartexSunburst, type ChartexSunburstRow, type ChartexTreemap, type ChartexValueColorStop, type DimOptions, type DrawingMLCustomDashSegment, type Duotone, type EquationRun, type Fill, type FillRect, type FindHighlightColors, type FindMatch, type FindMatchesOptions, type Glow, type GradientFill, type GradientStop, type HiddenSlideMode, type HyperlinkTarget, type ImageFill, type LegendManualLayout, type LightRig, type LineBreak, type LoadOptions, type MatchRunSlice, type MathAccent, type MathArray, type MathBar, type MathBorderBox, type MathBox, type MathDelimiter, type MathFraction, type MathFunc, type MathGroup, type MathGroupChr, type MathLimit, type MathNary, type MathNode, type MathPhant, type MathRadical, type MathRenderer, type MathRun, type MathSPre, type MathScript, type MathStyle, type MathSvg, type MediaElement, type NoFill, OoxmlDecodedImageLimitError, type OoxmlDecodedImageLimitMetric, OoxmlError, type OoxmlErrorCode, type OoxmlErrorStage, type OoxmlFormat, type OoxmlResourceLimit, OoxmlResourceLimitError, type OoxmlResourceLimitErrorDetails, type OoxmlResourceLimits, type OoxmlResourceMetric, type OoxmlResourceMetrics, type OoxmlResourceMetricsCheckpoint, type OoxmlResourceName, type OoxmlResourcePolicySnapshot, type OoxmlResourceUsageSnapshot, type OoxmlResourceViolation, type Paragraph, type PathCmd, type PatternFill, type PictureElement, type PptxComment, type PptxCommentAnchor, type PptxCommentReply, type PptxCommentSelectionContext, type PptxCommentsOptions, type PptxElementBounds, type PptxElementContext, type PptxElementContextOptions, type PptxHighlightColors, type PptxHighlightMatch, type PptxMatchLocation, PptxPresentation, PptxScrollViewer, type PptxScrollViewerOptions, type PptxSelectionContext, type PptxSelectionContextOptions, type PptxSelectionRunLocator, type PptxSlidePoint, type PptxTextRunInfo, type PptxTextSelectionContext, PptxViewer, type PptxViewerOptions, type PresentSlideOptions, type Presentation, type PresentationHandle, type Reflection, type RenderOptions, type RenderSlideOptions, type RenderSlideToBitmapOptions, type Rot3d, type Scene3d, type SecondaryValueAxis, type Shadow, type ShapeElement, type Slide, type SlideElement, type SlideElementOrigin, type SlideElementSource, type SlideRenderOptions, type SoftEdge, type SolidFill, type Sp3d, type SpaceLine, type SrcRect, type Stroke, type TabStop, type TableCell, type TableElement, type TableRow, type TextBody, type TextOutline, type TextRect, type TextRun, type TextRunCallback, type TextRunData, type TextSelectionContextOptions, type TileInfo, type ViewerCommentConnectorOptions, type ViewerCommentConnectorRoute, type ViewerCommentConnectorStroke, type ViewerCommentMessageContext, type ViewerCommentThreadContext, type ViewerContextMenuEvent, type ZoomableViewer, autoResize, buildPptxHighlightLayer, buildPptxTextLayer, isOoxmlDecodedImageLimitError, openExternalHyperlink, readPptxTextSelectionContext, renderSlide };
@@ -1,4 +1,4 @@
1
- //#region dist/.types-work/chart-Cf9PF1Kz.d.ts
1
+ //#region dist/.types-work/chart-qJPl2r8m.d.ts
2
2
  interface Duotone {
3
3
  clr1: string;
4
4
  clr2: string;
@@ -938,7 +938,7 @@ interface ChartRect {
938
938
  h: number;
939
939
  }
940
940
  //#endregion
941
- //#region dist/.types-work/region-map-contract-BjZYif26.d.ts
941
+ //#region dist/.types-work/region-map-contract-BFIR10oz.d.ts
942
942
  interface ChartRegionMapRenderer {
943
943
  render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
944
944
  }
@@ -1,4 +1,4 @@
1
- //#region dist/.types-work/chart-Cf9PF1Kz.d.ts
1
+ //#region dist/.types-work/chart-qJPl2r8m.d.ts
2
2
  interface Duotone {
3
3
  clr1: string;
4
4
  clr2: string;
@@ -938,7 +938,7 @@ interface ChartRect {
938
938
  h: number;
939
939
  }
940
940
  //#endregion
941
- //#region dist/.types-work/three-d-contract-ubTeeJB2.d.ts
941
+ //#region dist/.types-work/three-d-contract-D5bEzjMw.d.ts
942
942
  interface ChartThreeDRenderer {
943
943
  render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
944
944
  }
@@ -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';
@@ -1054,12 +1054,12 @@ interface ChartRect {
1054
1054
  h: number;
1055
1055
  }
1056
1056
  //#endregion
1057
- //#region dist/.types-work/chart-ex-contract-utZi_dg3.d.ts
1057
+ //#region dist/.types-work/chart-ex-contract-Ba0xG5gE.d.ts
1058
1058
  interface ChartExRenderer {
1059
1059
  render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
1060
1060
  }
1061
1061
  //#endregion
1062
- //#region dist/.types-work/mathjax-i691C1H8.d.ts
1062
+ //#region dist/.types-work/mathjax-DwKoKmdb.d.ts
1063
1063
  interface MathSvg {
1064
1064
  svg: string;
1065
1065
  widthEm: number;
@@ -1071,17 +1071,17 @@ interface MathRenderer {
1071
1071
  mathMLToSvg(mathml: string): Promise<MathSvg>;
1072
1072
  }
1073
1073
  //#endregion
1074
- //#region dist/.types-work/three-d-contract-ubTeeJB2.d.ts
1074
+ //#region dist/.types-work/three-d-contract-D5bEzjMw.d.ts
1075
1075
  interface ChartThreeDRenderer {
1076
1076
  render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
1077
1077
  }
1078
1078
  //#endregion
1079
- //#region dist/.types-work/region-map-contract-BjZYif26.d.ts
1079
+ //#region dist/.types-work/region-map-contract-BFIR10oz.d.ts
1080
1080
  interface ChartRegionMapRenderer {
1081
1081
  render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
1082
1082
  }
1083
1083
  //#endregion
1084
- //#region dist/.types-work/hyperlink-DfGyAVo-.d.ts
1084
+ //#region dist/.types-work/hyperlink-CZoV-4B8.d.ts
1085
1085
  type OoxmlErrorCode = 'encrypted' | 'invalid-password' | 'unsupported-encryption' | 'legacy-binary-format' | 'not-ooxml';
1086
1086
  type OoxmlErrorStage = 'container' | 'decompression' | 'parsing' | 'serialization' | 'layout' | 'rendering' | 'worker';
1087
1087
  declare class OoxmlError extends Error {
@@ -1187,11 +1187,25 @@ type HyperlinkTarget = {
1187
1187
  };
1188
1188
  declare function openExternalHyperlink(url: string, allowed?: readonly string[], win?: Pick<Window, 'open'> | undefined): boolean;
1189
1189
  //#endregion
1190
- //#region dist/.types-work/find-highlight-CVToYCFx.d.ts
1190
+ //#region dist/.types-work/find-highlight-DdGGQ_H7.d.ts
1191
1191
  interface ViewerContextMenuEvent<TContext> {
1192
1192
  readonly originalEvent: MouseEvent;
1193
1193
  getContext(): Promise<TContext | null>;
1194
1194
  }
1195
+ interface ViewerCommentsOptions {
1196
+ readonly includeResolved?: boolean;
1197
+ }
1198
+ interface ViewerCommentMessageContext {
1199
+ readonly id?: string;
1200
+ readonly author?: string;
1201
+ readonly date?: string;
1202
+ readonly text: string;
1203
+ readonly status?: 'active' | 'resolved' | 'closed';
1204
+ }
1205
+ interface ViewerCommentThreadContext {
1206
+ readonly root: ViewerCommentMessageContext;
1207
+ readonly replies: readonly ViewerCommentMessageContext[];
1208
+ }
1195
1209
  interface AutoResizeOptions {
1196
1210
  pauseWhenHidden?: boolean;
1197
1211
  }
@@ -1217,7 +1231,7 @@ interface FindHighlightColors {
1217
1231
  active?: string;
1218
1232
  }
1219
1233
  //#endregion
1220
- //#region dist/.types-work/xlsx-DLKF0-5_.d.ts
1234
+ //#region dist/.types-work/types-Dktpy0kq.d.ts
1221
1235
  type ShapeFill = Exclude<Fill, {
1222
1236
  fillType: 'image';
1223
1237
  } | {
@@ -1479,9 +1493,25 @@ interface DefinedName {
1479
1493
  formula: string;
1480
1494
  }
1481
1495
  interface XlsxComment {
1496
+ kind?: 'note' | 'thread';
1482
1497
  cellRef: string;
1498
+ id?: string;
1499
+ personId?: string;
1500
+ author?: string;
1501
+ date?: string;
1502
+ rootText?: string;
1503
+ text: string;
1504
+ resolved?: boolean;
1505
+ replies?: XlsxCommentReply[];
1506
+ }
1507
+ interface XlsxCommentReply {
1508
+ id: string;
1509
+ parentId: string;
1510
+ personId: string;
1483
1511
  author?: string;
1512
+ date?: string;
1484
1513
  text: string;
1514
+ resolved?: boolean;
1485
1515
  }
1486
1516
  interface DataValidation {
1487
1517
  sqref: string;
@@ -1953,6 +1983,8 @@ interface XlsxRenderViewportOptions {
1953
1983
  strong: boolean;
1954
1984
  } | null;
1955
1985
  }
1986
+ //#endregion
1987
+ //#region dist/.types-work/xlsx-_-beyOtw.d.ts
1956
1988
  type ResolvedList = {
1957
1989
  kind: 'values';
1958
1990
  values: string[];
@@ -2003,6 +2035,7 @@ declare class XlsxWorkbook {
2003
2035
  sheetVisibility(sheetIndex: number): SheetVisibility;
2004
2036
  isHidden(sheetIndex: number): boolean;
2005
2037
  getWorksheet(sheetIndex: number): Promise<Worksheet>;
2038
+ getComments(sheetIndex: number): Promise<readonly Readonly<XlsxComment>[]>;
2006
2039
  getResourceMetrics(): Promise<OoxmlResourceMetrics>;
2007
2040
  private loadWorksheet;
2008
2041
  private loadWorksheetStream;
@@ -2059,6 +2092,7 @@ interface XlsxSelectionContextCell {
2059
2092
  readonly valueType: 'empty' | 'text' | 'number' | 'bool' | 'error' | 'shared';
2060
2093
  readonly value: string | number | boolean | null;
2061
2094
  readonly formula?: string;
2095
+ readonly comment?: ViewerCommentThreadContext;
2062
2096
  }
2063
2097
  interface XlsxRangeSelectionContext {
2064
2098
  readonly format: 'xlsx';
@@ -2112,6 +2146,7 @@ interface XlsxMatchLocation {
2112
2146
  row: number;
2113
2147
  col: number;
2114
2148
  }
2149
+ interface XlsxCommentsOptions extends ViewerCommentsOptions {}
2115
2150
  type HiddenSheetMode = 'show' | 'skip' | 'dim';
2116
2151
  interface XlsxSheetViewerOptions extends LoadOptions {
2117
2152
  cellScale?: number;
@@ -2131,6 +2166,7 @@ interface XlsxSheetViewerOptions extends LoadOptions {
2131
2166
  enableHyperlinks?: boolean;
2132
2167
  selectionColor?: string;
2133
2168
  findHighlightColors?: FindHighlightColors;
2169
+ comments?: boolean | XlsxCommentsOptions;
2134
2170
  hiddenSheetMode?: HiddenSheetMode;
2135
2171
  onViewportChange?: (offset: XlsxViewportOffset) => void;
2136
2172
  }
@@ -2141,6 +2177,12 @@ interface XlsxViewportOffset {
2141
2177
  readonly x: number;
2142
2178
  readonly y: number;
2143
2179
  }
2180
+ interface XlsxCellViewportRect {
2181
+ readonly x: number;
2182
+ readonly y: number;
2183
+ readonly width: number;
2184
+ readonly height: number;
2185
+ }
2144
2186
  interface XlsxScrollToCellOptions {
2145
2187
  readonly align?: 'nearest' | 'start' | 'center' | 'end';
2146
2188
  }
@@ -2168,6 +2210,7 @@ type XlsxViewerMount = {
2168
2210
  readonly mode: CanvasViewerRenderMode;
2169
2211
  };
2170
2212
  declare class XlsxViewerEngine implements ZoomableViewer {
2213
+ private readonly container;
2171
2214
  private readonly hostDocument;
2172
2215
  private readonly hostWindow;
2173
2216
  private readonly acquisition;
@@ -2208,6 +2251,9 @@ declare class XlsxViewerEngine implements ZoomableViewer {
2208
2251
  private fontBinding;
2209
2252
  private _hiddenSheetMode;
2210
2253
  private currentWorksheet;
2254
+ private currentSourceComments;
2255
+ private commentNavigationGeneration;
2256
+ private sourceCommentMap;
2211
2257
  private sheetViews;
2212
2258
  private opts;
2213
2259
  private readonly _mountKind;
@@ -2217,6 +2263,10 @@ declare class XlsxViewerEngine implements ZoomableViewer {
2217
2263
  private preparedWorkbook;
2218
2264
  private _destroyed;
2219
2265
  private resizeObserver;
2266
+ private chromeColors;
2267
+ private chromeStyleObserver;
2268
+ private chromeSchemeMedia;
2269
+ private chromeSchemeListener;
2220
2270
  private _lastViewportNotification;
2221
2271
  private get anchorCell();
2222
2272
  private get activeCell();
@@ -2252,12 +2302,19 @@ declare class XlsxViewerEngine implements ZoomableViewer {
2252
2302
  private hyperlinkMap;
2253
2303
  private commentPopupKey;
2254
2304
  private commentPopupTimer;
2305
+ private commentPopupCell;
2306
+ private commentPopupPositionScheduled;
2307
+ private commentPopupResizeObserver;
2308
+ private commentUi;
2309
+ private commentPopupRenderGeneration;
2255
2310
  private validationPanel;
2256
2311
  private validationPanelKey;
2257
2312
  private validationRequestGeneration;
2258
2313
  private validationArrowRect;
2259
2314
  private validationOutsideHandler;
2260
2315
  constructor(container: HTMLElement, opts: XlsxViewerOptions | XlsxSheetViewerOptions | undefined, mount: XlsxViewerMount);
2316
+ private refreshChromeTheme;
2317
+ private installChromeThemeRefresh;
2261
2318
  private _collectSheetCells;
2262
2319
  load(source: string | ArrayBuffer): Promise<void>;
2263
2320
  private activateWorkbook;
@@ -2314,7 +2371,10 @@ declare class XlsxViewerEngine implements ZoomableViewer {
2314
2371
  getCellAt(clientX: number, clientY: number): CellAddress | null;
2315
2372
  private elementContextViewport;
2316
2373
  private elementContextAt;
2317
- private getCellRect;
2374
+ private _cellRect;
2375
+ getCellViewportRect(cell: CellAddress | string): XlsxCellViewportRect | null;
2376
+ getComments(): readonly Readonly<XlsxComment>[];
2377
+ goToComment(sheetIndex: number, cellRef: string, options?: XlsxScrollToCellOptions): Promise<boolean>;
2318
2378
  get selectionState(): XlsxSelectionState | null;
2319
2379
  setSelection(input: XlsxSelectionInput): void;
2320
2380
  getSelectionContext(options?: XlsxSelectionContextOptions): XlsxSelectionContext | null;
@@ -2351,12 +2411,17 @@ declare class XlsxViewerEngine implements ZoomableViewer {
2351
2411
  private installValidationOutsideHandler;
2352
2412
  private hideValidationPanel;
2353
2413
  private buildCommentMap;
2414
+ private createCommentMap;
2415
+ private createVisibleSheetView;
2354
2416
  private buildHyperlinkMap;
2355
2417
  private hyperlinkAtCell;
2356
2418
  private dispatchHyperlink;
2357
2419
  private navigateInternalHyperlink;
2358
2420
  private scheduleCommentPopup;
2421
+ private loadCommentUi;
2359
2422
  private renderCommentPopup;
2423
+ private scheduleCommentPopupPosition;
2424
+ private positionCommentPopup;
2360
2425
  private hideCommentPopup;
2361
2426
  private applyPointerSelection;
2362
2427
  private viewportInputBounds;
@@ -2431,6 +2496,9 @@ declare class XlsxSheetViewer implements ZoomableViewer {
2431
2496
  fitWidth(): void;
2432
2497
  fitPage(): void;
2433
2498
  getCellAt(clientX: number, clientY: number): CellAddress | null;
2499
+ getCellViewportRect(cell: CellAddress | string): XlsxCellViewportRect | null;
2500
+ getComments(): readonly Readonly<XlsxComment>[];
2501
+ goToComment(sheetIndex: number, cellRef: string, options?: XlsxScrollToCellOptions): Promise<boolean>;
2434
2502
  get selectionState(): XlsxSelectionState | null;
2435
2503
  setSelection(selection: XlsxSelectionInput): void;
2436
2504
  getSelectionContext(options?: XlsxSelectionContextOptions): XlsxSelectionContext | null;
@@ -2451,4 +2519,4 @@ declare class XlsxSheetViewer implements ZoomableViewer {
2451
2519
  }
2452
2520
  declare function resolveSharedStrings(ws: Worksheet, sharedStrings: SharedString[]): Worksheet;
2453
2521
  //#endregion
2454
- export { type ArrowEnd, type AutoResizeOptions, type Border, type BorderEdge, type Cell, type CellAddress, type CellFill, type CellFont, type CellValue, type CellXf, type CfIcon, type CfRule, type CfStop, type CfValue, type ChartAnchor, type ChartAreaGroupDecorations, type ChartBarGroupDecorations, type ChartDataLabelOverride, type ChartDataPointOverride, type ChartDataTable, type ChartDecorationLineStyle, type ChartDisplayUnits, type ChartDisplayUnitsLabel, type ChartErrBars, type ChartExElementStyle, type ChartExRenderer, type ChartLabelBox, type ChartLegendEntryOverride, type ChartLineDashSegment, type ChartLineGroupDecorations, type ChartManualLayout, type ChartModel, type ChartOfPie, type ChartPlotGroup, type ChartPlotGroupAxisSlot, type ChartPlotGroupKind, type ChartRect, type ChartRegionMapRenderer, type ChartSeries, type ChartSeriesDataLabels, type ChartStockBarPaint, type ChartStockUpDownBarStyle, type ChartSurfaceBandFormat, type ChartTextBox, type ChartTextParagraph, type ChartTextRun, type ChartThreeD, type ChartThreeDPictureOptions, type ChartThreeDRenderer, type ChartThreeDSeriesAxis, type ChartThreeDSurface, type ChartTrendline, type ChartType, type ChartexBoxSeries, type ChartexBoxWhisker, type ChartexGeography, type ChartexHistogramBinning, type ChartexRegionMap, type ChartexRegionMapColors, type ChartexRegionMapRow, type ChartexSunburst, type ChartexSunburstRow, type ChartexTreemap, type ChartexValueColorStop, type ConditionalFormat, type DataValidation, type DefinedName, type DrawingMLCustomDashSegment, type Duotone, type Dxf, type FillRect, type FindHighlightColors, type FindMatch, type FindMatchesOptions, type GradientFill, type GradientFillSpec, type GradientStop, type HiddenSheetMode, type Hyperlink, type HyperlinkTarget, type ImageAnchor, type ImageFill, type LegendManualLayout, type LoadOptions, MAX_SELECTION_AREAS, MAX_SELECTION_CONTEXT_CELLS, MAX_SELECTION_CONTEXT_TEXT_CHARACTERS, type MathAccent, type MathArray, type MathBar, type MathBorderBox, type MathBox, type MathDelimiter, type MathFraction, type MathFunc, type MathGroup, type MathGroupChr, type MathLimit, type MathNary, type MathNode, type MathPhant, type MathRadical, type MathRenderer, type MathRun, type MathSPre, type MathScript, type MathStyle, type MathSvg, type MergeCell, type NoFill, type NumFmt, OoxmlDecodedImageLimitError, type OoxmlDecodedImageLimitMetric, OoxmlError, type OoxmlErrorCode, type OoxmlErrorStage, type OoxmlFormat, type OoxmlResourceLimit, OoxmlResourceLimitError, type OoxmlResourceLimitErrorDetails, type OoxmlResourceLimits, type OoxmlResourceMetric, type OoxmlResourceMetrics, type OoxmlResourceMetricsCheckpoint, type OoxmlResourceName, type OoxmlResourcePolicySnapshot, type OoxmlResourceUsageSnapshot, type OoxmlResourceViolation, type OutlinePr, type ParsedWorkbook, type PathCmd, type PathInfo, type PatternFill, type PhoneticAlignment, type PhoneticProperties, type PhoneticRun, type PhoneticType, type PivotCacheSource, type PivotDataField, type PivotDiagnostic, type PivotLocation, type PivotMetadataStatus, type PivotPageField, type PivotPartialReason, type PivotTableMetadata, type RenderViewportToBitmapOptions, type ResolvedList, type Row, type Run, type RunFont, type SecondaryValueAxis, type ShapeAnchor, type ShapeFill, type ShapeGeom, type ShapeInfo, type ShapeParagraph, type ShapeText, type ShapeTextRun, type SharedString, type SheetMeta, type SheetVisibility, type SlicerAnchor, type SlicerElementStyle, type SlicerItem, type SlicerStyle, type SolidFill, type SpaceLine, type Sparkline, type SparklineGroup, type SrcRect, type Styles, type TableColumnInfo, type TableInfo, type TileInfo, type ViewerContextMenuEvent, type ViewportRange, type Workbook, type Worksheet, type WorksheetCellRange, type XlsxComment, type XlsxCopyResult, type XlsxElementAnchorMarker, type XlsxElementContext, type XlsxMatchLocation, type XlsxRangeSelectionContext, type XlsxRenderViewportOptions, type XlsxScrollToCellOptions, type XlsxSelectionArea, type XlsxSelectionContext, type XlsxSelectionContextCell, type XlsxSelectionContextOptions, type XlsxSelectionInput, type XlsxSelectionState, XlsxSheetViewer, type XlsxSheetViewerOptions, type XlsxTextRunInfo, XlsxViewer, type XlsxViewerOptions, type XlsxViewportOffset, XlsxWorkbook, type ZoomableViewer, autoResize, isOoxmlDecodedImageLimitError, openExternalHyperlink, resolveSharedStrings };
2522
+ export { type ArrowEnd, type AutoResizeOptions, type Border, type BorderEdge, type Cell, type CellAddress, type CellFill, type CellFont, type CellValue, type CellXf, type CfIcon, type CfRule, type CfStop, type CfValue, type ChartAnchor, type ChartAreaGroupDecorations, type ChartBarGroupDecorations, type ChartDataLabelOverride, type ChartDataPointOverride, type ChartDataTable, type ChartDecorationLineStyle, type ChartDisplayUnits, type ChartDisplayUnitsLabel, type ChartErrBars, type ChartExElementStyle, type ChartExRenderer, type ChartLabelBox, type ChartLegendEntryOverride, type ChartLineDashSegment, type ChartLineGroupDecorations, type ChartManualLayout, type ChartModel, type ChartOfPie, type ChartPlotGroup, type ChartPlotGroupAxisSlot, type ChartPlotGroupKind, type ChartRect, type ChartRegionMapRenderer, type ChartSeries, type ChartSeriesDataLabels, type ChartStockBarPaint, type ChartStockUpDownBarStyle, type ChartSurfaceBandFormat, type ChartTextBox, type ChartTextParagraph, type ChartTextRun, type ChartThreeD, type ChartThreeDPictureOptions, type ChartThreeDRenderer, type ChartThreeDSeriesAxis, type ChartThreeDSurface, type ChartTrendline, type ChartType, type ChartexBoxSeries, type ChartexBoxWhisker, type ChartexGeography, type ChartexHistogramBinning, type ChartexRegionMap, type ChartexRegionMapColors, type ChartexRegionMapRow, type ChartexSunburst, type ChartexSunburstRow, type ChartexTreemap, type ChartexValueColorStop, type ConditionalFormat, type DataValidation, type DefinedName, type DrawingMLCustomDashSegment, type Duotone, type Dxf, type FillRect, type FindHighlightColors, type FindMatch, type FindMatchesOptions, type GradientFill, type GradientFillSpec, type GradientStop, type HiddenSheetMode, type Hyperlink, type HyperlinkTarget, type ImageAnchor, type ImageFill, type LegendManualLayout, type LoadOptions, MAX_SELECTION_AREAS, MAX_SELECTION_CONTEXT_CELLS, MAX_SELECTION_CONTEXT_TEXT_CHARACTERS, type MathAccent, type MathArray, type MathBar, type MathBorderBox, type MathBox, type MathDelimiter, type MathFraction, type MathFunc, type MathGroup, type MathGroupChr, type MathLimit, type MathNary, type MathNode, type MathPhant, type MathRadical, type MathRenderer, type MathRun, type MathSPre, type MathScript, type MathStyle, type MathSvg, type MergeCell, type NoFill, type NumFmt, OoxmlDecodedImageLimitError, type OoxmlDecodedImageLimitMetric, OoxmlError, type OoxmlErrorCode, type OoxmlErrorStage, type OoxmlFormat, type OoxmlResourceLimit, OoxmlResourceLimitError, type OoxmlResourceLimitErrorDetails, type OoxmlResourceLimits, type OoxmlResourceMetric, type OoxmlResourceMetrics, type OoxmlResourceMetricsCheckpoint, type OoxmlResourceName, type OoxmlResourcePolicySnapshot, type OoxmlResourceUsageSnapshot, type OoxmlResourceViolation, type OutlinePr, type ParsedWorkbook, type PathCmd, type PathInfo, type PatternFill, type PhoneticAlignment, type PhoneticProperties, type PhoneticRun, type PhoneticType, type PivotCacheSource, type PivotDataField, type PivotDiagnostic, type PivotLocation, type PivotMetadataStatus, type PivotPageField, type PivotPartialReason, type PivotTableMetadata, type RenderViewportToBitmapOptions, type ResolvedList, type Row, type Run, type RunFont, type SecondaryValueAxis, type ShapeAnchor, type ShapeFill, type ShapeGeom, type ShapeInfo, type ShapeParagraph, type ShapeText, type ShapeTextRun, type SharedString, type SheetMeta, type SheetVisibility, type SlicerAnchor, type SlicerElementStyle, type SlicerItem, type SlicerStyle, type SolidFill, type SpaceLine, type Sparkline, type SparklineGroup, type SrcRect, type Styles, type TableColumnInfo, type TableInfo, type TileInfo, type ViewerCommentMessageContext, type ViewerCommentThreadContext, type ViewerContextMenuEvent, type ViewportRange, type Workbook, type Worksheet, type WorksheetCellRange, type XlsxCellViewportRect, type XlsxComment, type XlsxCommentReply, type XlsxCommentsOptions, type XlsxCopyResult, type XlsxElementAnchorMarker, type XlsxElementContext, type XlsxMatchLocation, type XlsxRangeSelectionContext, type XlsxRenderViewportOptions, type XlsxScrollToCellOptions, type XlsxSelectionArea, type XlsxSelectionContext, type XlsxSelectionContextCell, type XlsxSelectionContextOptions, type XlsxSelectionInput, type XlsxSelectionState, XlsxSheetViewer, type XlsxSheetViewerOptions, type XlsxTextRunInfo, XlsxViewer, type XlsxViewerOptions, type XlsxViewportOffset, XlsxWorkbook, type ZoomableViewer, autoResize, isOoxmlDecodedImageLimitError, openExternalHyperlink, resolveSharedStrings };
@@ -0,0 +1,4 @@
1
+ //#region packages/core/src/units.ts
2
+ var e = 12700, t = 9525, n = 4 / 3, r = 91440, i = 45720;
3
+ //#endregion
4
+ export { n as a, t as i, i as n, e as r, r as t };
@@ -1,6 +1,6 @@
1
- import { $ as e, F as t, I as n, N as r, P as i, Q as a, X as o, Y as s, Yt as c, Z as l, et as u, nt as d, ot as f, rt as p, tt as m } from "./line-metrics-Baz31mML.js";
2
- import { n as h, r as g, t as _ } from "./resource-measurement-DRLp4nFt.js";
3
- import { t as v } from "./transfer-D0U6Uhn4.js";
1
+ import { $ as e, F as t, I as n, N as r, P as i, Q as a, X as o, Y as s, Yt as c, Z as l, et as u, nt as d, ot as f, rt as p, tt as m } from "./line-metrics-B3syvDn2.js";
2
+ import { n as h, r as g, t as _ } from "./resource-measurement-CsW4_eYt.js";
3
+ import { t as v } from "./transfer-R6NjgBKD.js";
4
4
  //#region packages/xlsx/src/worksheet-resource-limits.ts
5
5
  var y = d, b = e, x = u, S = m, C = a, w = s, T = o, E = l, D = Object.freeze({
6
6
  archiveEntryCount: 0,