@silurus/ooxml 0.78.0 → 0.79.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 (46) hide show
  1. package/README.md +39 -1
  2. package/THIRD_PARTY_NOTICES.md +13 -0
  3. package/dist/{canvas-viewer-mechanics-ChxLdOJg.js → canvas-viewer-mechanics-D9tsuHnG.js} +1 -1
  4. package/dist/chart-number-format-tjYUR9eS.js +435 -0
  5. package/dist/dash-Cyc-sevN.js +786 -0
  6. package/dist/{document-pull-client-xsdVDuVD.js → document-pull-client-YiU8M4LO.js} +3283 -3156
  7. package/dist/{docx-CZC3j4s4.js → docx-a1UpmRf8.js} +65 -56
  8. package/dist/docx.mjs +4 -4
  9. package/dist/docx_parser_bg.wasm +0 -0
  10. package/dist/index.mjs +3 -3
  11. package/dist/{line-distribute-HuZyTARz.js → line-distribute-pDqovJpT.js} +1 -1
  12. package/dist/{line-metrics-z9AdgPaZ.js → line-metrics-DjKxiIUD.js} +4097 -3184
  13. package/dist/math.mjs +1 -1
  14. package/dist/node.mjs +322 -322
  15. package/dist/{pptx-c3UgGKIs.js → pptx-t5ABdzfd.js} +192 -183
  16. package/dist/pptx.mjs +5 -5
  17. package/dist/pptx_parser_bg.wasm +0 -0
  18. package/dist/region-map.mjs +12708 -0
  19. package/dist/{render-yhFUeiYl.js → render-BjIEuFIG.js} +1 -1
  20. package/dist/render-worker-host-BB320snY.js +27 -0
  21. package/dist/render-worker-host-BjEPZBwf.js +27 -0
  22. package/dist/render-worker-host-hZ0o4OD7.js +27 -0
  23. package/dist/{resource-measurement-5g27Av6n.js → resource-measurement-D8EiTm_E.js} +1 -1
  24. package/dist/{session-BOuXp10X.js → session-Bhe_eY-s.js} +10 -10
  25. package/dist/{slide-pull-client-DKckZrLx.js → slide-pull-client-BQ8gJPTq.js} +626 -563
  26. package/dist/three-d.mjs +2158 -0
  27. package/dist/types/docx.d.ts +189 -16
  28. package/dist/types/index.d.ts +205 -20
  29. package/dist/types/math.d.ts +1 -1
  30. package/dist/types/node.d.ts +166 -1
  31. package/dist/types/pptx.d.ts +191 -16
  32. package/dist/types/region-map.d.ts +520 -0
  33. package/dist/types/three-d.d.ts +520 -0
  34. package/dist/types/xlsx.d.ts +195 -16
  35. package/dist/{worksheet-pull-client-CMDRPZ5E.js → worksheet-pull-client-T0EzdEEQ.js} +13 -13
  36. package/dist/{xlsx-BAScjxlC.js → xlsx-CsDDMJIK.js} +833 -770
  37. package/dist/xlsx.mjs +5 -5
  38. package/dist/xlsx_parser_bg.wasm +0 -0
  39. package/package.json +13 -1
  40. package/dist/render-worker-host-BzxTAscX.js +0 -27
  41. package/dist/render-worker-host-CBjWHxMb.js +0 -27
  42. package/dist/render-worker-host-Ivhx3KII.js +0 -27
  43. /package/dist/{highlight-rect-CAkCWJ37.js → highlight-rect-cCvVU-MW.js} +0 -0
  44. /package/dist/{mathjax-CMjda8Ip.js → mathjax-Dqo857oC.js} +0 -0
  45. /package/dist/{transfer-DCu4c2BL.js → transfer-3QEJrsJa.js} +0 -0
  46. /package/dist/{visible-index-CgyJLAS_.js → visible-index-CKvgpUrf.js} +0 -0
@@ -1,16 +1,4 @@
1
- //#region dist/.types-work/mathjax-CKU2W8zq.d.ts
2
- interface MathSvg {
3
- svg: string;
4
- widthEm: number;
5
- ascentEm: number;
6
- descentEm: number;
7
- }
8
- interface MathRenderer {
9
- loadMathJax(): Promise<void>;
10
- mathMLToSvg(mathml: string): Promise<MathSvg>;
11
- }
12
- //#endregion
13
- //#region dist/.types-work/hyperlink-R5D7g--F.d.ts
1
+ //#region dist/.types-work/chart-Cxft04Nl.d.ts
14
2
  type MathStyle = 'roman' | 'italic' | 'bold' | 'boldItalic';
15
3
  interface MathRun {
16
4
  kind: 'run';
@@ -383,10 +371,13 @@ interface RenderOptions {
383
371
  }
384
372
  interface ChartSeries {
385
373
  name: string;
374
+ chartexFormatIdx?: number | null;
386
375
  color: string | null;
387
376
  fillPattern?: PatternFill | null;
377
+ chartexStyle?: ChartExElementStyle | null;
388
378
  lineColor?: string | null;
389
379
  lineWidthEmu?: number | null;
380
+ threeDShape?: 'box' | 'cylinder' | 'cone' | 'coneToMax' | 'pyramid' | 'pyramidToMax' | string | null;
390
381
  values: (number | null)[];
391
382
  dataPointColors?: (string | null)[] | null;
392
383
  dataLabelColors?: (string | null)[] | null;
@@ -402,6 +393,7 @@ interface ChartSeries {
402
393
  markerSize?: number | null;
403
394
  markerFill?: string | null;
404
395
  markerLine?: string | null;
396
+ markerLineWidthEmu?: number | null;
405
397
  dataPointOverrides?: ChartDataPointOverride[] | null;
406
398
  dataLabelOverrides?: ChartDataLabelOverride[] | null;
407
399
  seriesDataLabels?: ChartSeriesDataLabels | null;
@@ -420,25 +412,44 @@ interface ChartTrendline {
420
412
  intercept?: number | null;
421
413
  dispRSqr?: boolean | null;
422
414
  dispEq?: boolean | null;
415
+ labelManualLayout?: ChartManualLayout | null;
416
+ labelText?: string | null;
417
+ labelFontSizeHpt?: number | null;
418
+ labelFontBold?: boolean | null;
419
+ labelFontColor?: string | null;
420
+ labelFontFace?: string | null;
421
+ labelTextAlign?: string | null;
423
422
  lineColor?: string | null;
424
423
  lineWidthEmu?: number | null;
424
+ lineDash?: string | null;
425
+ lineHidden?: boolean | null;
425
426
  }
426
427
  interface ChartDataPointOverride {
427
428
  idx: number;
428
429
  color?: string;
430
+ fillHidden?: boolean;
431
+ lineColor?: string;
432
+ lineWidthEmu?: number;
433
+ lineDash?: string;
434
+ lineHidden?: boolean;
429
435
  markerSymbol?: string;
430
436
  markerSize?: number;
431
437
  markerFill?: string;
432
438
  markerLine?: string;
439
+ markerLineWidthEmu?: number;
433
440
  explosion?: number;
434
441
  }
435
442
  interface ChartDataLabelOverride {
436
443
  idx: number;
437
444
  text: string;
445
+ richRuns?: ChartTextRun[];
438
446
  position?: string;
439
447
  fontColor?: string;
440
448
  fontSizeHpt?: number;
441
449
  fontBold?: boolean;
450
+ formatCode?: string;
451
+ separator?: string;
452
+ manualLayout?: ChartManualLayout;
442
453
  labelBox?: ChartLabelBox;
443
454
  showVal?: boolean;
444
455
  showCatName?: boolean;
@@ -482,9 +493,11 @@ interface ChartExElementStyle {
482
493
  fillPaints?: Array<SolidFill | GradientFill | PatternFill | null> | null;
483
494
  fillColors?: Array<string | null> | null;
484
495
  fillHidden?: boolean | null;
496
+ fillNoStyle?: boolean | null;
485
497
  lineColors?: Array<string | null> | null;
486
498
  lineWidthEmu?: number | null;
487
499
  lineHidden?: boolean | null;
500
+ lineNoStyle?: boolean | null;
488
501
  lineDash?: string | null;
489
502
  lineCap?: string | null;
490
503
  lineJoin?: string | null;
@@ -536,13 +549,23 @@ interface ChartModel {
536
549
  dataLabelFormatCode?: string | null;
537
550
  titleFontBold?: boolean | null;
538
551
  catAxisFontBold?: boolean | null;
552
+ catAxisFontItalic?: boolean | null;
539
553
  valAxisFontBold?: boolean | null;
554
+ valAxisFontItalic?: boolean | null;
540
555
  catAxisTitleFontSizeHpt?: number | null;
541
556
  catAxisTitleFontBold?: boolean | null;
557
+ catAxisTitleFontItalic?: boolean | null;
542
558
  catAxisTitleFontColor?: string | null;
559
+ catAxisTitleRotation?: number | null;
560
+ catAxisTitleVerticalMode?: 'horz' | 'vert' | 'vert270' | 'wordArtVert' | 'eaVert' | 'mongolianVert' | 'wordArtVertRtl' | null;
561
+ catAxisTitleManualLayout?: ChartManualLayout | null;
543
562
  valAxisTitleFontSizeHpt?: number | null;
544
563
  valAxisTitleFontBold?: boolean | null;
564
+ valAxisTitleFontItalic?: boolean | null;
545
565
  valAxisTitleFontColor?: string | null;
566
+ valAxisTitleRotation?: number | null;
567
+ valAxisTitleVerticalMode?: 'horz' | 'vert' | 'vert270' | 'wordArtVert' | 'eaVert' | 'mongolianVert' | 'wordArtVertRtl' | null;
568
+ valAxisTitleManualLayout?: ChartManualLayout | null;
546
569
  catAxisFontFace?: string | null;
547
570
  valAxisFontFace?: string | null;
548
571
  catAxisTitleFontFace?: string | null;
@@ -584,12 +607,24 @@ interface ChartModel {
584
607
  catAxisMajorGridlines?: boolean | null;
585
608
  valAxisGridlineColor?: string | null;
586
609
  valAxisGridlineWidthEmu?: number | null;
610
+ valAxisGridlineDash?: string | null;
587
611
  catAxisGridlineColor?: string | null;
588
612
  catAxisGridlineWidthEmu?: number | null;
613
+ catAxisGridlineDash?: string | null;
589
614
  valAxisMinorGridlines?: boolean | null;
615
+ valAxisMinorGridlineColor?: string | null;
616
+ valAxisMinorGridlineWidthEmu?: number | null;
617
+ valAxisMinorGridlineDash?: string | null;
618
+ catAxisMinorGridlines?: boolean | null;
619
+ catAxisMinorGridlineColor?: string | null;
620
+ catAxisMinorGridlineWidthEmu?: number | null;
621
+ catAxisMinorGridlineDash?: string | null;
590
622
  valAxisMajorUnit?: number | null;
591
623
  valAxisMinorUnit?: number | null;
624
+ catAxisMajorUnit?: number | null;
625
+ catAxisMinorUnit?: number | null;
592
626
  valAxisLogBase?: number | null;
627
+ catAxisLogBase?: number | null;
593
628
  valAxisOrientation?: 'minMax' | 'maxMin' | string | null;
594
629
  catAxisOrientation?: 'minMax' | 'maxMin' | string | null;
595
630
  catAxisTickLabelPos?: string | null;
@@ -600,15 +635,55 @@ interface ChartModel {
600
635
  stockHiLowLines?: boolean | null;
601
636
  stockHiLowLineColor?: string | null;
602
637
  stockUpDownBars?: boolean | null;
638
+ stockUpDownBarStyle?: ChartStockUpDownBarStyle | null;
639
+ ofPie?: ChartOfPie | null;
640
+ threeD?: ChartThreeD | null;
603
641
  chartexBox?: ChartexBoxWhisker | null;
604
642
  chartexSunburst?: ChartexSunburst | null;
605
643
  chartexTreemap?: ChartexTreemap | null;
644
+ chartexRegionMap?: ChartexRegionMap | null;
645
+ chartexHistogramBinning?: ChartexHistogramBinning | null;
606
646
  chartexAccents?: string[] | null;
607
647
  chartexColorPalette?: Array<string | null> | null;
608
648
  chartexColorStyleMethod?: string | null;
609
649
  chartexDataPointStyle?: ChartExElementStyle | null;
610
650
  chartexDataPointLineStyle?: ChartExElementStyle | null;
651
+ chartexSeriesLineStyle?: ChartExElementStyle | null;
611
652
  chartexDataPointMarkerStyle?: ChartExElementStyle | null;
653
+ chartexMarkerSizePt?: number | null;
654
+ chartexMarkerSymbol?: string | null;
655
+ chartexConnectorLines?: boolean | null;
656
+ }
657
+ interface ChartStockBarPaint {
658
+ fillColor?: string | null;
659
+ fillHidden?: boolean | null;
660
+ lineColor?: string | null;
661
+ lineWidthEmu?: number | null;
662
+ lineHidden?: boolean | null;
663
+ }
664
+ interface ChartStockUpDownBarStyle {
665
+ gapWidthPercent: number;
666
+ up: ChartStockBarPaint;
667
+ down: ChartStockBarPaint;
668
+ }
669
+ interface ChartOfPie {
670
+ type: 'pie' | 'bar';
671
+ splitType: 'auto' | 'cust' | 'percent' | 'pos' | 'val';
672
+ splitPos?: number | null;
673
+ customSplitIndices?: number[] | null;
674
+ secondPieSizePercent: number;
675
+ gapWidthPercent: number;
676
+ seriesLines: boolean;
677
+ }
678
+ interface ChartThreeD {
679
+ rotationX?: number | null;
680
+ rotationY?: number | null;
681
+ heightPercent?: number | null;
682
+ depthPercent?: number | null;
683
+ perspective?: number | null;
684
+ rightAngleAxes?: boolean | null;
685
+ gapDepthPercent?: number | null;
686
+ shape?: string | null;
612
687
  }
613
688
  interface ChartTextRun {
614
689
  text: string;
@@ -629,12 +704,18 @@ interface ChartTextBox {
629
704
  paragraphs: ChartTextParagraph[];
630
705
  verticalAnchor?: 't' | 'ctr' | 'b' | 'just' | 'dist' | string | null;
631
706
  wrap?: 'none' | 'square' | string | null;
707
+ lIns?: number;
708
+ tIns?: number;
709
+ rIns?: number;
710
+ bIns?: number;
632
711
  }
633
712
  interface ChartexBoxSeries {
634
713
  name: string;
714
+ chartexFormatIdx?: number | null;
635
715
  color?: string | null;
636
716
  lineColor?: string | null;
637
717
  lineWidthEmu?: number | null;
718
+ chartexStyle?: ChartExElementStyle | null;
638
719
  valuesByCategory: number[][];
639
720
  meanMarker: boolean;
640
721
  meanLine: boolean;
@@ -643,6 +724,7 @@ interface ChartexBoxSeries {
643
724
  quartileMethod: string;
644
725
  }
645
726
  interface ChartexBoxWhisker {
727
+ oneBoxPerSeries?: boolean;
646
728
  categories: string[];
647
729
  series: ChartexBoxSeries[];
648
730
  }
@@ -657,6 +739,46 @@ interface ChartexTreemap {
657
739
  rows: ChartexSunburstRow[];
658
740
  parentLabelLayout?: string | null;
659
741
  }
742
+ interface ChartexRegionMapRow {
743
+ label: string;
744
+ entityId?: string | null;
745
+ value?: number | null;
746
+ }
747
+ interface ChartexGeography {
748
+ projectionType?: 'mercator' | 'miller' | 'robinson' | 'albers' | string | null;
749
+ viewedRegionType?: string | null;
750
+ cultureLanguage?: string | null;
751
+ cultureRegion?: string | null;
752
+ attribution?: string | null;
753
+ cacheProvider?: string | null;
754
+ cachePresent: boolean;
755
+ }
756
+ interface ChartexValueColorStop {
757
+ kind: 'extremeValue' | 'number' | 'percent' | string;
758
+ value?: number | null;
759
+ }
760
+ interface ChartexRegionMapColors {
761
+ stopCount?: 2 | 3 | null;
762
+ minColor?: string | null;
763
+ midColor?: string | null;
764
+ maxColor?: string | null;
765
+ minPosition?: ChartexValueColorStop | null;
766
+ midPosition?: ChartexValueColorStop | null;
767
+ maxPosition?: ChartexValueColorStop | null;
768
+ }
769
+ interface ChartexRegionMap {
770
+ rows: ChartexRegionMapRow[];
771
+ regionLabelLayout?: 'none' | 'bestFitOnly' | 'showAll' | null;
772
+ geography?: ChartexGeography | null;
773
+ colors?: ChartexRegionMapColors | null;
774
+ }
775
+ interface ChartexHistogramBinning {
776
+ binSize?: number | null;
777
+ binCount?: number | null;
778
+ intervalClosed?: 'l' | 'r' | null;
779
+ underflow?: number | null;
780
+ overflow?: number | null;
781
+ }
660
782
  interface SecondaryValueAxis {
661
783
  min: number | null;
662
784
  max: number | null;
@@ -665,14 +787,37 @@ interface SecondaryValueAxis {
665
787
  formatCode?: string | null;
666
788
  fontColor?: string | null;
667
789
  fontSizeHpt?: number | null;
790
+ fontItalic?: boolean | null;
791
+ fontBold?: boolean | null;
792
+ fontFace?: string | null;
668
793
  lineColor?: string | null;
669
794
  lineWidthEmu?: number | null;
670
795
  lineHidden: boolean;
671
796
  majorTickMark: string;
797
+ minorTickMark?: string | null;
798
+ minorGridlines?: boolean;
799
+ minorGridlineColor?: string | null;
800
+ minorGridlineWidthEmu?: number | null;
801
+ minorGridlineDash?: string | null;
802
+ majorGridlines?: boolean;
803
+ majorGridlineColor?: string | null;
804
+ majorGridlineWidthEmu?: number | null;
805
+ majorGridlineDash?: string | null;
672
806
  majorUnit?: number | null;
807
+ minorUnit?: number | null;
808
+ logBase?: number | null;
809
+ orientation?: 'minMax' | 'maxMin' | string | null;
810
+ tickLabelPos?: string | null;
811
+ crosses?: string | null;
812
+ crossesAt?: number | null;
673
813
  titleFontSizeHpt?: number | null;
674
814
  titleFontBold?: boolean | null;
815
+ titleFontItalic?: boolean | null;
675
816
  titleFontColor?: string | null;
817
+ titleFontFace?: string | null;
818
+ titleRotation?: number | null;
819
+ titleVerticalMode?: 'horz' | 'vert' | 'vert270' | 'wordArtVert' | 'eaVert' | 'mongolianVert' | 'wordArtVertRtl' | null;
820
+ titleManualLayout?: ChartManualLayout | null;
676
821
  }
677
822
  interface ChartManualLayout {
678
823
  xMode?: string;
@@ -701,6 +846,30 @@ interface ChartRect {
701
846
  w: number;
702
847
  h: number;
703
848
  }
849
+ //#endregion
850
+ //#region dist/.types-work/mathjax-rjjokY7u.d.ts
851
+ interface MathSvg {
852
+ svg: string;
853
+ widthEm: number;
854
+ ascentEm: number;
855
+ descentEm: number;
856
+ }
857
+ interface MathRenderer {
858
+ loadMathJax(): Promise<void>;
859
+ mathMLToSvg(mathml: string): Promise<MathSvg>;
860
+ }
861
+ //#endregion
862
+ //#region dist/.types-work/three-d-contract-DdC3L2kZ.d.ts
863
+ interface ChartThreeDRenderer {
864
+ render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number): boolean;
865
+ }
866
+ //#endregion
867
+ //#region dist/.types-work/region-map-contract-CLpE99AF.d.ts
868
+ interface ChartRegionMapRenderer {
869
+ render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number): boolean;
870
+ }
871
+ //#endregion
872
+ //#region dist/.types-work/hyperlink-yiXkZo1W.d.ts
704
873
  type OoxmlErrorCode = 'encrypted' | 'invalid-password' | 'unsupported-encryption' | 'legacy-binary-format' | 'not-ooxml';
705
874
  type OoxmlErrorStage = 'container' | 'decompression' | 'parsing' | 'serialization' | 'layout' | 'rendering' | 'worker';
706
875
  declare class OoxmlError extends Error {
@@ -783,6 +952,8 @@ interface LoadOptions$3 {
783
952
  onResourceMetrics?: (metrics: OoxmlResourceMetrics) => void;
784
953
  workerTimeoutMs?: number;
785
954
  math?: MathRenderer;
955
+ threeD?: ChartThreeDRenderer;
956
+ regionMap?: ChartRegionMapRenderer;
786
957
  }
787
958
  type OoxmlDecodedImageLimitMetric = 'image-pixels' | 'active-decoded-bytes';
788
959
  declare class OoxmlDecodedImageLimitError extends RangeError {
@@ -803,7 +974,7 @@ type HyperlinkTarget = {
803
974
  };
804
975
  declare function openExternalHyperlink(url: string, allowed?: readonly string[], win?: Pick<Window, 'open'> | undefined): boolean;
805
976
  //#endregion
806
- //#region dist/.types-work/find-highlight-DcNlrW8O.d.ts
977
+ //#region dist/.types-work/find-highlight-lh8Qagl7.d.ts
807
978
  interface TextSelectionContextOptions {
808
979
  readonly maxTextCharacters?: number;
809
980
  readonly maxRunLocators?: number;
@@ -842,7 +1013,7 @@ interface FindHighlightColors {
842
1013
  active?: string;
843
1014
  }
844
1015
  //#endregion
845
- //#region dist/.types-work/docx-BPe8ajoT.d.ts
1016
+ //#region dist/.types-work/docx-ahdaVHdp.d.ts
846
1017
  interface DocxDocumentModel {
847
1018
  section: SectionProps;
848
1019
  body: BodyElement[];
@@ -1633,6 +1804,8 @@ declare class DocxDocument {
1633
1804
  private _meta;
1634
1805
  private _bookmarkPages;
1635
1806
  private _mode;
1807
+ private _threeD;
1808
+ private _regionMap;
1636
1809
  private _worker;
1637
1810
  private _bridge;
1638
1811
  private readonly _rawParts;
@@ -1899,10 +2072,10 @@ interface DocxHighlightMatch {
1899
2072
  type DocxHighlightColors = FindHighlightColors;
1900
2073
  declare function buildDocxHighlightLayer(layer: HTMLDivElement, runs: DocxTextRunInfo[], matches: DocxHighlightMatch[], cssWidth: number, cssHeight: number, measureForFont: (font: string) => (s: string) => number, colors?: DocxHighlightColors): void;
1901
2074
  declare namespace docx_d_exports {
1902
- export { AnchorHostMetrics, AutoResizeOptions, BodyElement, BorderSpec, CellBorders, CellElement, ChartDataLabelOverride, ChartDataPointOverride, ChartErrBars, ChartExElementStyle, ChartLabelBox, ChartManualLayout, ChartModel, ChartRect, ChartRun, ChartSeries, ChartSeriesDataLabels, ChartTextBox, ChartTextParagraph, ChartTextRun, ChartTrendline, ChartType, ChartexBoxSeries, ChartexBoxWhisker, ChartexSunburst, ChartexSunburstRow, ChartexTreemap, 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, Duotone$1 as Duotone, EmbeddedFontRef, FieldRun, FillRect, FindHighlightColors, FindMatch, FindMatchesOptions, FramePr, GradientFill, GradientStop, HeaderFooter, HeadersFooters, HyperlinkTarget, 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, 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, TabStop, TableBorders, TblpPr, TextPath, TextSelectionContextOptions, TileInfo, ViewerContextMenuEvent, ZoomableViewer, autoResize, buildDocxHighlightLayer, buildDocxTextLayer, isOoxmlDecodedImageLimitError, noteText, openExternalHyperlink, readDocxTextSelectionContext };
2075
+ export { AnchorHostMetrics, AutoResizeOptions, BodyElement, BorderSpec, CellBorders, CellElement, ChartDataLabelOverride, ChartDataPointOverride, ChartErrBars, ChartExElementStyle, ChartLabelBox, ChartManualLayout, ChartModel, ChartOfPie, ChartRect, ChartRegionMapRenderer, ChartRun, ChartSeries, ChartSeriesDataLabels, ChartStockBarPaint, ChartStockUpDownBarStyle, ChartTextBox, ChartTextParagraph, ChartTextRun, ChartThreeD, ChartThreeDRenderer, 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, Duotone$1 as Duotone, EmbeddedFontRef, FieldRun, FillRect, FindHighlightColors, FindMatch, FindMatchesOptions, FramePr, GradientFill, GradientStop, HeaderFooter, HeadersFooters, HyperlinkTarget, 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, 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, TabStop, TableBorders, TblpPr, TextPath, TextSelectionContextOptions, TileInfo, ViewerContextMenuEvent, ZoomableViewer, autoResize, buildDocxHighlightLayer, buildDocxTextLayer, isOoxmlDecodedImageLimitError, noteText, openExternalHyperlink, readDocxTextSelectionContext };
1903
2076
  }
1904
2077
  //#endregion
1905
- //#region dist/.types-work/pptx-Bb8Ij3pP.d.ts
2078
+ //#region dist/.types-work/pptx-BkoKZ3Yu.d.ts
1906
2079
  interface BlipBullet {
1907
2080
  type: 'blip';
1908
2081
  imagePath: string;
@@ -2150,6 +2323,8 @@ interface PptxTextRunInfo {
2150
2323
  type TextRunCallback = (run: PptxTextRunInfo) => void;
2151
2324
  type SlideRenderOptions = RenderOptions & {
2152
2325
  math?: MathRenderer;
2326
+ threeD?: ChartThreeDRenderer;
2327
+ regionMap?: ChartRegionMapRenderer;
2153
2328
  dim?: DimOptions;
2154
2329
  };
2155
2330
  declare function renderSlide(canvas: HTMLCanvasElement | OffscreenCanvas, slide: Slide, slideWidth: number, slideHeight: number, opts?: SlideRenderOptions, onTextRun?: TextRunCallback): Promise<HTMLCanvasElement | OffscreenCanvas>;
@@ -2257,6 +2432,8 @@ declare class PptxPresentation {
2257
2432
  private readonly _fetchImage;
2258
2433
  private readonly _fetchMedia;
2259
2434
  private _math;
2435
+ private _threeD;
2436
+ private _regionMap;
2260
2437
  private constructor();
2261
2438
  private _assertResourceHealthy;
2262
2439
  private _rethrowWithResourceFailure;
@@ -2537,10 +2714,10 @@ interface PptxHighlightMatch {
2537
2714
  type PptxHighlightColors = FindHighlightColors;
2538
2715
  declare function buildPptxHighlightLayer(layer: HTMLDivElement, runs: PptxTextRunInfo[], matches: PptxHighlightMatch[], cssWidth: number, cssHeight: number, measureForFont: (font: string) => (s: string) => number, colors?: PptxHighlightColors): void;
2539
2716
  declare namespace pptx_d_exports {
2540
- export { ArrowEnd, AutoResizeOptions, Bevel3d, BlipBullet, Bullet, Camera3d, ChartDataLabelOverride, ChartDataPointOverride, ChartElement, ChartErrBars, ChartExElementStyle, ChartLabelBox, ChartManualLayout, ChartModel, ChartRect, ChartSeries, ChartSeriesDataLabels, ChartTextBox, ChartTextParagraph, ChartTextRun, ChartTrendline, ChartType, ChartexBoxSeries, ChartexBoxWhisker, ChartexSunburst, ChartexSunburstRow, ChartexTreemap, DimOptions, 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, 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 };
2717
+ export { ArrowEnd, AutoResizeOptions, Bevel3d, BlipBullet, Bullet, Camera3d, ChartDataLabelOverride, ChartDataPointOverride, ChartElement, ChartErrBars, ChartExElementStyle, ChartLabelBox, ChartManualLayout, ChartModel, ChartOfPie, ChartRect, ChartRegionMapRenderer, ChartSeries, ChartSeriesDataLabels, ChartStockBarPaint, ChartStockUpDownBarStyle, ChartTextBox, ChartTextParagraph, ChartTextRun, ChartThreeD, ChartThreeDRenderer, ChartTrendline, ChartType, ChartexBoxSeries, ChartexBoxWhisker, ChartexGeography, ChartexHistogramBinning, ChartexRegionMap, ChartexRegionMapColors, ChartexRegionMapRow, ChartexSunburst, ChartexSunburstRow, ChartexTreemap, ChartexValueColorStop, DimOptions, 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, 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 };
2541
2718
  }
2542
2719
  //#endregion
2543
- //#region dist/.types-work/xlsx-C3uqud8R.d.ts
2720
+ //#region dist/.types-work/xlsx-Awf4iUSV.d.ts
2544
2721
  type ShapeFill = Exclude<Fill, {
2545
2722
  fillType: 'image';
2546
2723
  } | {
@@ -2567,8 +2744,14 @@ interface MergeCell {
2567
2744
  }
2568
2745
  interface Worksheet {
2569
2746
  name: string;
2747
+ isChartSheet?: boolean;
2570
2748
  rows: Row[];
2571
2749
  colWidths: Record<number, number>;
2750
+ colWidthRanges?: Array<{
2751
+ min: number;
2752
+ max: number;
2753
+ width: number;
2754
+ }>;
2572
2755
  rowHeights: Record<number, number>;
2573
2756
  colOutlineLevels?: Record<number, number>;
2574
2757
  colCollapsed?: Record<number, boolean>;
@@ -3289,6 +3472,8 @@ declare class XlsxWorkbook {
3289
3472
  private readonly _fetchImage;
3290
3473
  private resourcePolicy;
3291
3474
  private math;
3475
+ private threeD;
3476
+ private regionMap;
3292
3477
  private googleFontNames;
3293
3478
  private readonly retainedFontSets;
3294
3479
  private fontsDestroyed;
@@ -3756,7 +3941,7 @@ declare class XlsxSheetViewer implements ZoomableViewer {
3756
3941
  }
3757
3942
  declare function resolveSharedStrings(ws: Worksheet, sharedStrings: SharedString[]): Worksheet;
3758
3943
  declare namespace xlsx_d_exports {
3759
- export { ArrowEnd, AutoResizeOptions, Border, BorderEdge, Cell, CellAddress, CellFill, CellFont, CellValue, CellXf, CfIcon, CfRule, CfStop, CfValue, ChartAnchor, ChartDataLabelOverride, ChartDataPointOverride, ChartErrBars, ChartExElementStyle, ChartLabelBox, ChartManualLayout, ChartModel, ChartRect, ChartSeries, ChartSeriesDataLabels, ChartTextBox, ChartTextParagraph, ChartTextRun, ChartTrendline, ChartType, ChartexBoxSeries, ChartexBoxWhisker, ChartexSunburst, ChartexSunburstRow, ChartexTreemap, ConditionalFormat, DataValidation, DefinedName, Duotone, Dxf, FillRect, FindHighlightColors, FindMatch, FindMatchesOptions, GradientFill, GradientFillSpec, GradientStop$1 as GradientStop, HiddenSheetMode, Hyperlink, HyperlinkTarget, ImageAnchor, 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, 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, Styles, TableColumnInfo, TableInfo, 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 };
3944
+ export { ArrowEnd, AutoResizeOptions, Border, BorderEdge, Cell, CellAddress, CellFill, CellFont, CellValue, CellXf, CfIcon, CfRule, CfStop, CfValue, ChartAnchor, ChartDataLabelOverride, ChartDataPointOverride, ChartErrBars, ChartExElementStyle, ChartLabelBox, ChartManualLayout, ChartModel, ChartOfPie, ChartRect, ChartRegionMapRenderer, ChartSeries, ChartSeriesDataLabels, ChartStockBarPaint, ChartStockUpDownBarStyle, ChartTextBox, ChartTextParagraph, ChartTextRun, ChartThreeD, ChartThreeDRenderer, ChartTrendline, ChartType, ChartexBoxSeries, ChartexBoxWhisker, ChartexGeography, ChartexHistogramBinning, ChartexRegionMap, ChartexRegionMapColors, ChartexRegionMapRow, ChartexSunburst, ChartexSunburstRow, ChartexTreemap, ChartexValueColorStop, ConditionalFormat, DataValidation, DefinedName, Duotone, Dxf, FillRect, FindHighlightColors, FindMatch, FindMatchesOptions, GradientFill, GradientFillSpec, GradientStop$1 as GradientStop, HiddenSheetMode, Hyperlink, HyperlinkTarget, ImageAnchor, 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, 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, Styles, TableColumnInfo, TableInfo, 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 };
3760
3945
  }
3761
3946
  //#endregion
3762
3947
  export { docx_d_exports as docx, pptx_d_exports as pptx, xlsx_d_exports as xlsx };
@@ -1,4 +1,4 @@
1
- //#region dist/.types-work/mathjax-CKU2W8zq.d.ts
1
+ //#region dist/.types-work/mathjax-rjjokY7u.d.ts
2
2
  interface MathSvg {
3
3
  svg: string;
4
4
  widthEm: number;