@silurus/ooxml 0.78.1 → 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-B4K_t5X_.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-5AakVD6e.js → document-pull-client-YiU8M4LO.js} +2119 -2113
  7. package/dist/{docx-bjhRwb2u.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-BVFW1-Hs.js → line-distribute-pDqovJpT.js} +1 -1
  12. package/dist/{line-metrics-DS0NS2Iq.js → line-metrics-DjKxiIUD.js} +4089 -3210
  13. package/dist/math.mjs +1 -1
  14. package/dist/node.mjs +322 -322
  15. package/dist/{pptx-D1rCrHGR.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-DhlT5jxZ.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-BA-4Q-II.js → resource-measurement-D8EiTm_E.js} +1 -1
  24. package/dist/{session-C_HGxbRD.js → session-Bhe_eY-s.js} +10 -10
  25. package/dist/{slide-pull-client-BiC4sVGi.js → slide-pull-client-BQ8gJPTq.js} +584 -583
  26. package/dist/three-d.mjs +2158 -0
  27. package/dist/types/docx.d.ts +185 -16
  28. package/dist/types/index.d.ts +196 -20
  29. package/dist/types/math.d.ts +1 -1
  30. package/dist/types/node.d.ts +157 -1
  31. package/dist/types/pptx.d.ts +187 -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 +186 -16
  35. package/dist/{worksheet-pull-client-BnvgeqfG.js → worksheet-pull-client-T0EzdEEQ.js} +13 -13
  36. package/dist/{xlsx-BG_WYSc0.js → xlsx-CsDDMJIK.js} +442 -414
  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-CtJo7hc9.js +0 -27
  41. package/dist/render-worker-host-D8vv-Asx.js +0 -27
  42. package/dist/render-worker-host-DAjG9nmw.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-DpimohAS.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;
@@ -636,9 +711,11 @@ interface ChartTextBox {
636
711
  }
637
712
  interface ChartexBoxSeries {
638
713
  name: string;
714
+ chartexFormatIdx?: number | null;
639
715
  color?: string | null;
640
716
  lineColor?: string | null;
641
717
  lineWidthEmu?: number | null;
718
+ chartexStyle?: ChartExElementStyle | null;
642
719
  valuesByCategory: number[][];
643
720
  meanMarker: boolean;
644
721
  meanLine: boolean;
@@ -647,6 +724,7 @@ interface ChartexBoxSeries {
647
724
  quartileMethod: string;
648
725
  }
649
726
  interface ChartexBoxWhisker {
727
+ oneBoxPerSeries?: boolean;
650
728
  categories: string[];
651
729
  series: ChartexBoxSeries[];
652
730
  }
@@ -661,6 +739,46 @@ interface ChartexTreemap {
661
739
  rows: ChartexSunburstRow[];
662
740
  parentLabelLayout?: string | null;
663
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
+ }
664
782
  interface SecondaryValueAxis {
665
783
  min: number | null;
666
784
  max: number | null;
@@ -669,14 +787,37 @@ interface SecondaryValueAxis {
669
787
  formatCode?: string | null;
670
788
  fontColor?: string | null;
671
789
  fontSizeHpt?: number | null;
790
+ fontItalic?: boolean | null;
791
+ fontBold?: boolean | null;
792
+ fontFace?: string | null;
672
793
  lineColor?: string | null;
673
794
  lineWidthEmu?: number | null;
674
795
  lineHidden: boolean;
675
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;
676
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;
677
813
  titleFontSizeHpt?: number | null;
678
814
  titleFontBold?: boolean | null;
815
+ titleFontItalic?: boolean | null;
679
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;
680
821
  }
681
822
  interface ChartManualLayout {
682
823
  xMode?: string;
@@ -705,6 +846,30 @@ interface ChartRect {
705
846
  w: number;
706
847
  h: number;
707
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
708
873
  type OoxmlErrorCode = 'encrypted' | 'invalid-password' | 'unsupported-encryption' | 'legacy-binary-format' | 'not-ooxml';
709
874
  type OoxmlErrorStage = 'container' | 'decompression' | 'parsing' | 'serialization' | 'layout' | 'rendering' | 'worker';
710
875
  declare class OoxmlError extends Error {
@@ -787,6 +952,8 @@ interface LoadOptions$3 {
787
952
  onResourceMetrics?: (metrics: OoxmlResourceMetrics) => void;
788
953
  workerTimeoutMs?: number;
789
954
  math?: MathRenderer;
955
+ threeD?: ChartThreeDRenderer;
956
+ regionMap?: ChartRegionMapRenderer;
790
957
  }
791
958
  type OoxmlDecodedImageLimitMetric = 'image-pixels' | 'active-decoded-bytes';
792
959
  declare class OoxmlDecodedImageLimitError extends RangeError {
@@ -807,7 +974,7 @@ type HyperlinkTarget = {
807
974
  };
808
975
  declare function openExternalHyperlink(url: string, allowed?: readonly string[], win?: Pick<Window, 'open'> | undefined): boolean;
809
976
  //#endregion
810
- //#region dist/.types-work/find-highlight-DcNlrW8O.d.ts
977
+ //#region dist/.types-work/find-highlight-lh8Qagl7.d.ts
811
978
  interface TextSelectionContextOptions {
812
979
  readonly maxTextCharacters?: number;
813
980
  readonly maxRunLocators?: number;
@@ -846,7 +1013,7 @@ interface FindHighlightColors {
846
1013
  active?: string;
847
1014
  }
848
1015
  //#endregion
849
- //#region dist/.types-work/docx-CeTl3Vq2.d.ts
1016
+ //#region dist/.types-work/docx-ahdaVHdp.d.ts
850
1017
  interface DocxDocumentModel {
851
1018
  section: SectionProps;
852
1019
  body: BodyElement[];
@@ -1637,6 +1804,8 @@ declare class DocxDocument {
1637
1804
  private _meta;
1638
1805
  private _bookmarkPages;
1639
1806
  private _mode;
1807
+ private _threeD;
1808
+ private _regionMap;
1640
1809
  private _worker;
1641
1810
  private _bridge;
1642
1811
  private readonly _rawParts;
@@ -1903,10 +2072,10 @@ interface DocxHighlightMatch {
1903
2072
  type DocxHighlightColors = FindHighlightColors;
1904
2073
  declare function buildDocxHighlightLayer(layer: HTMLDivElement, runs: DocxTextRunInfo[], matches: DocxHighlightMatch[], cssWidth: number, cssHeight: number, measureForFont: (font: string) => (s: string) => number, colors?: DocxHighlightColors): void;
1905
2074
  declare namespace docx_d_exports {
1906
- 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 };
1907
2076
  }
1908
2077
  //#endregion
1909
- //#region dist/.types-work/pptx-BlL9ibzB.d.ts
2078
+ //#region dist/.types-work/pptx-BkoKZ3Yu.d.ts
1910
2079
  interface BlipBullet {
1911
2080
  type: 'blip';
1912
2081
  imagePath: string;
@@ -2154,6 +2323,8 @@ interface PptxTextRunInfo {
2154
2323
  type TextRunCallback = (run: PptxTextRunInfo) => void;
2155
2324
  type SlideRenderOptions = RenderOptions & {
2156
2325
  math?: MathRenderer;
2326
+ threeD?: ChartThreeDRenderer;
2327
+ regionMap?: ChartRegionMapRenderer;
2157
2328
  dim?: DimOptions;
2158
2329
  };
2159
2330
  declare function renderSlide(canvas: HTMLCanvasElement | OffscreenCanvas, slide: Slide, slideWidth: number, slideHeight: number, opts?: SlideRenderOptions, onTextRun?: TextRunCallback): Promise<HTMLCanvasElement | OffscreenCanvas>;
@@ -2261,6 +2432,8 @@ declare class PptxPresentation {
2261
2432
  private readonly _fetchImage;
2262
2433
  private readonly _fetchMedia;
2263
2434
  private _math;
2435
+ private _threeD;
2436
+ private _regionMap;
2264
2437
  private constructor();
2265
2438
  private _assertResourceHealthy;
2266
2439
  private _rethrowWithResourceFailure;
@@ -2541,10 +2714,10 @@ interface PptxHighlightMatch {
2541
2714
  type PptxHighlightColors = FindHighlightColors;
2542
2715
  declare function buildPptxHighlightLayer(layer: HTMLDivElement, runs: PptxTextRunInfo[], matches: PptxHighlightMatch[], cssWidth: number, cssHeight: number, measureForFont: (font: string) => (s: string) => number, colors?: PptxHighlightColors): void;
2543
2716
  declare namespace pptx_d_exports {
2544
- 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 };
2545
2718
  }
2546
2719
  //#endregion
2547
- //#region dist/.types-work/xlsx-Cog67KEJ.d.ts
2720
+ //#region dist/.types-work/xlsx-Awf4iUSV.d.ts
2548
2721
  type ShapeFill = Exclude<Fill, {
2549
2722
  fillType: 'image';
2550
2723
  } | {
@@ -2571,6 +2744,7 @@ interface MergeCell {
2571
2744
  }
2572
2745
  interface Worksheet {
2573
2746
  name: string;
2747
+ isChartSheet?: boolean;
2574
2748
  rows: Row[];
2575
2749
  colWidths: Record<number, number>;
2576
2750
  colWidthRanges?: Array<{
@@ -3298,6 +3472,8 @@ declare class XlsxWorkbook {
3298
3472
  private readonly _fetchImage;
3299
3473
  private resourcePolicy;
3300
3474
  private math;
3475
+ private threeD;
3476
+ private regionMap;
3301
3477
  private googleFontNames;
3302
3478
  private readonly retainedFontSets;
3303
3479
  private fontsDestroyed;
@@ -3765,7 +3941,7 @@ declare class XlsxSheetViewer implements ZoomableViewer {
3765
3941
  }
3766
3942
  declare function resolveSharedStrings(ws: Worksheet, sharedStrings: SharedString[]): Worksheet;
3767
3943
  declare namespace xlsx_d_exports {
3768
- 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 };
3769
3945
  }
3770
3946
  //#endregion
3771
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;