@silurus/ooxml 0.78.1 → 0.79.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 (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-DJ9yfiLN.js} +1 -1
  4. package/dist/chart-number-format-tjYUR9eS.js +435 -0
  5. package/dist/dash-CMzZIDz_.js +824 -0
  6. package/dist/{document-pull-client-5AakVD6e.js → document-pull-client-DYoybVCn.js} +2119 -2113
  7. package/dist/{docx-bjhRwb2u.js → docx-CSk_-kj_.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-CU7vu7XS.js} +1 -1
  12. package/dist/{line-metrics-DS0NS2Iq.js → line-metrics-A77J_KRx.js} +4229 -3233
  13. package/dist/math.mjs +1 -1
  14. package/dist/node.mjs +322 -322
  15. package/dist/{pptx-D1rCrHGR.js → pptx-CO1Ut97p.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-C5m7Ddwx.js} +1 -1
  20. package/dist/render-worker-host-BhMT5U73.js +27 -0
  21. package/dist/render-worker-host-DNMxGh5s.js +27 -0
  22. package/dist/render-worker-host-DWyg7wio.js +27 -0
  23. package/dist/{resource-measurement-BA-4Q-II.js → resource-measurement-COxqtfGk.js} +1 -1
  24. package/dist/{session-C_HGxbRD.js → session-CJwZaquG.js} +10 -10
  25. package/dist/{slide-pull-client-BiC4sVGi.js → slide-pull-client-CFHNk0ek.js} +584 -583
  26. package/dist/three-d.mjs +2426 -0
  27. package/dist/types/docx.d.ts +251 -16
  28. package/dist/types/index.d.ts +266 -20
  29. package/dist/types/math.d.ts +1 -1
  30. package/dist/types/node.d.ts +225 -1
  31. package/dist/types/pptx.d.ts +253 -16
  32. package/dist/types/region-map.d.ts +586 -0
  33. package/dist/types/three-d.d.ts +586 -0
  34. package/dist/types/xlsx.d.ts +256 -16
  35. package/dist/{worksheet-pull-client-BnvgeqfG.js → worksheet-pull-client-CziyJf24.js} +13 -13
  36. package/dist/{xlsx-BG_WYSc0.js → xlsx-DHQmjAfh.js} +1246 -1073
  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-BFzw-erU.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,47 @@ 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
+ labelFontItalic?: boolean | null;
420
+ labelFontColor?: string | null;
421
+ labelFontFace?: string | null;
422
+ labelBox?: ChartLabelBox | null;
423
+ labelTextAlign?: string | null;
423
424
  lineColor?: string | null;
424
425
  lineWidthEmu?: number | null;
426
+ lineDash?: string | null;
427
+ lineHidden?: boolean | null;
425
428
  }
426
429
  interface ChartDataPointOverride {
427
430
  idx: number;
428
431
  color?: string;
432
+ fillHidden?: boolean;
433
+ lineColor?: string;
434
+ lineWidthEmu?: number;
435
+ lineDash?: string;
436
+ lineHidden?: boolean;
429
437
  markerSymbol?: string;
430
438
  markerSize?: number;
431
439
  markerFill?: string;
432
440
  markerLine?: string;
441
+ markerLineWidthEmu?: number;
433
442
  explosion?: number;
434
443
  }
435
444
  interface ChartDataLabelOverride {
436
445
  idx: number;
437
446
  text: string;
447
+ richRuns?: ChartTextRun[];
438
448
  position?: string;
439
449
  fontColor?: string;
440
450
  fontSizeHpt?: number;
451
+ fontFace?: string;
441
452
  fontBold?: boolean;
453
+ formatCode?: string;
454
+ separator?: string;
455
+ manualLayout?: ChartManualLayout;
442
456
  labelBox?: ChartLabelBox;
443
457
  showVal?: boolean;
444
458
  showCatName?: boolean;
@@ -462,6 +476,7 @@ interface ChartSeriesDataLabels {
462
476
  separator?: string;
463
477
  fontBold?: boolean;
464
478
  fontSizeHpt?: number;
479
+ fontFace?: string;
465
480
  labelBox?: ChartLabelBox;
466
481
  showLeaderLines?: boolean;
467
482
  leaderLineColor?: string;
@@ -482,9 +497,11 @@ interface ChartExElementStyle {
482
497
  fillPaints?: Array<SolidFill | GradientFill | PatternFill | null> | null;
483
498
  fillColors?: Array<string | null> | null;
484
499
  fillHidden?: boolean | null;
500
+ fillNoStyle?: boolean | null;
485
501
  lineColors?: Array<string | null> | null;
486
502
  lineWidthEmu?: number | null;
487
503
  lineHidden?: boolean | null;
504
+ lineNoStyle?: boolean | null;
488
505
  lineDash?: string | null;
489
506
  lineCap?: string | null;
490
507
  lineJoin?: string | null;
@@ -529,6 +546,8 @@ interface ChartModel {
529
546
  subtotalIndices: number[];
530
547
  legendManualLayout?: LegendManualLayout | null;
531
548
  valAxisFormatCode?: string | null;
549
+ valAxisDisplayUnits?: ChartDisplayUnits | null;
550
+ catAxisDisplayUnits?: ChartDisplayUnits | null;
532
551
  barGapWidth?: number | null;
533
552
  barOverlap?: number | null;
534
553
  dataLabelPosition?: string | null;
@@ -536,13 +555,23 @@ interface ChartModel {
536
555
  dataLabelFormatCode?: string | null;
537
556
  titleFontBold?: boolean | null;
538
557
  catAxisFontBold?: boolean | null;
558
+ catAxisFontItalic?: boolean | null;
539
559
  valAxisFontBold?: boolean | null;
560
+ valAxisFontItalic?: boolean | null;
540
561
  catAxisTitleFontSizeHpt?: number | null;
541
562
  catAxisTitleFontBold?: boolean | null;
563
+ catAxisTitleFontItalic?: boolean | null;
542
564
  catAxisTitleFontColor?: string | null;
565
+ catAxisTitleRotation?: number | null;
566
+ catAxisTitleVerticalMode?: 'horz' | 'vert' | 'vert270' | 'wordArtVert' | 'eaVert' | 'mongolianVert' | 'wordArtVertRtl' | null;
567
+ catAxisTitleManualLayout?: ChartManualLayout | null;
543
568
  valAxisTitleFontSizeHpt?: number | null;
544
569
  valAxisTitleFontBold?: boolean | null;
570
+ valAxisTitleFontItalic?: boolean | null;
545
571
  valAxisTitleFontColor?: string | null;
572
+ valAxisTitleRotation?: number | null;
573
+ valAxisTitleVerticalMode?: 'horz' | 'vert' | 'vert270' | 'wordArtVert' | 'eaVert' | 'mongolianVert' | 'wordArtVertRtl' | null;
574
+ valAxisTitleManualLayout?: ChartManualLayout | null;
546
575
  catAxisFontFace?: string | null;
547
576
  valAxisFontFace?: string | null;
548
577
  catAxisTitleFontFace?: string | null;
@@ -552,6 +581,9 @@ interface ChartModel {
552
581
  legendFontColor?: string | null;
553
582
  legendFontSizeHpt?: number | null;
554
583
  legendFontBold?: boolean | null;
584
+ legendFillColor?: string | null;
585
+ legendLineColor?: string | null;
586
+ legendLineWidthEmu?: number | null;
555
587
  themeMajorFontLatin?: string | null;
556
588
  themeMinorFontLatin?: string | null;
557
589
  chartBorderColor?: string | null;
@@ -584,12 +616,24 @@ interface ChartModel {
584
616
  catAxisMajorGridlines?: boolean | null;
585
617
  valAxisGridlineColor?: string | null;
586
618
  valAxisGridlineWidthEmu?: number | null;
619
+ valAxisGridlineDash?: string | null;
587
620
  catAxisGridlineColor?: string | null;
588
621
  catAxisGridlineWidthEmu?: number | null;
622
+ catAxisGridlineDash?: string | null;
589
623
  valAxisMinorGridlines?: boolean | null;
624
+ valAxisMinorGridlineColor?: string | null;
625
+ valAxisMinorGridlineWidthEmu?: number | null;
626
+ valAxisMinorGridlineDash?: string | null;
627
+ catAxisMinorGridlines?: boolean | null;
628
+ catAxisMinorGridlineColor?: string | null;
629
+ catAxisMinorGridlineWidthEmu?: number | null;
630
+ catAxisMinorGridlineDash?: string | null;
590
631
  valAxisMajorUnit?: number | null;
591
632
  valAxisMinorUnit?: number | null;
633
+ catAxisMajorUnit?: number | null;
634
+ catAxisMinorUnit?: number | null;
592
635
  valAxisLogBase?: number | null;
636
+ catAxisLogBase?: number | null;
593
637
  valAxisOrientation?: 'minMax' | 'maxMin' | string | null;
594
638
  catAxisOrientation?: 'minMax' | 'maxMin' | string | null;
595
639
  catAxisTickLabelPos?: string | null;
@@ -600,15 +644,93 @@ interface ChartModel {
600
644
  stockHiLowLines?: boolean | null;
601
645
  stockHiLowLineColor?: string | null;
602
646
  stockUpDownBars?: boolean | null;
647
+ stockUpDownBarStyle?: ChartStockUpDownBarStyle | null;
648
+ ofPie?: ChartOfPie | null;
649
+ threeD?: ChartThreeD | null;
603
650
  chartexBox?: ChartexBoxWhisker | null;
604
651
  chartexSunburst?: ChartexSunburst | null;
605
652
  chartexTreemap?: ChartexTreemap | null;
653
+ chartexRegionMap?: ChartexRegionMap | null;
654
+ chartexHistogramBinning?: ChartexHistogramBinning | null;
606
655
  chartexAccents?: string[] | null;
607
656
  chartexColorPalette?: Array<string | null> | null;
608
657
  chartexColorStyleMethod?: string | null;
609
658
  chartexDataPointStyle?: ChartExElementStyle | null;
610
659
  chartexDataPointLineStyle?: ChartExElementStyle | null;
660
+ chartexSeriesLineStyle?: ChartExElementStyle | null;
611
661
  chartexDataPointMarkerStyle?: ChartExElementStyle | null;
662
+ chartexMarkerSizePt?: number | null;
663
+ chartexMarkerSymbol?: string | null;
664
+ chartexConnectorLines?: boolean | null;
665
+ }
666
+ interface ChartStockBarPaint {
667
+ fillColor?: string | null;
668
+ fillHidden?: boolean | null;
669
+ lineColor?: string | null;
670
+ lineWidthEmu?: number | null;
671
+ lineHidden?: boolean | null;
672
+ }
673
+ interface ChartStockUpDownBarStyle {
674
+ gapWidthPercent: number;
675
+ up: ChartStockBarPaint;
676
+ down: ChartStockBarPaint;
677
+ }
678
+ interface ChartOfPie {
679
+ type: 'pie' | 'bar';
680
+ splitType: 'auto' | 'cust' | 'percent' | 'pos' | 'val';
681
+ splitPos?: number | null;
682
+ customSplitIndices?: number[] | null;
683
+ secondPieSizePercent: number;
684
+ gapWidthPercent: number;
685
+ seriesLines: boolean;
686
+ }
687
+ interface ChartThreeDSurface {
688
+ fillColor?: string | null;
689
+ fillHidden?: boolean | null;
690
+ lineColor?: string | null;
691
+ lineWidthEmu?: number | null;
692
+ lineDash?: string | null;
693
+ lineHidden?: boolean | null;
694
+ }
695
+ interface ChartThreeD {
696
+ rotationX?: number | null;
697
+ rotationY?: number | null;
698
+ heightPercent?: number | null;
699
+ depthPercent?: number | null;
700
+ perspective?: number | null;
701
+ rightAngleAxes?: boolean | null;
702
+ gapDepthPercent?: number | null;
703
+ shape?: string | null;
704
+ barGrouping?: 'standard' | 'clustered' | 'stacked' | 'percentStacked' | string | null;
705
+ seriesAxis?: ChartThreeDSeriesAxis | null;
706
+ floor?: ChartThreeDSurface | null;
707
+ sideWall?: ChartThreeDSurface | null;
708
+ backWall?: ChartThreeDSurface | null;
709
+ }
710
+ interface ChartThreeDSeriesAxis {
711
+ title?: string | null;
712
+ hidden: boolean;
713
+ orientation?: 'minMax' | 'maxMin' | string | null;
714
+ tickLabelPos?: string | null;
715
+ tickLabelSkip?: number | null;
716
+ tickMarkSkip?: number | null;
717
+ majorTickMark: string;
718
+ fontColor?: string | null;
719
+ fontSizeHpt?: number | null;
720
+ fontBold?: boolean | null;
721
+ fontItalic?: boolean | null;
722
+ fontFace?: string | null;
723
+ lineColor?: string | null;
724
+ lineWidthEmu?: number | null;
725
+ lineHidden: boolean;
726
+ titleFontSizeHpt?: number | null;
727
+ titleFontBold?: boolean | null;
728
+ titleFontItalic?: boolean | null;
729
+ titleFontColor?: string | null;
730
+ titleFontFace?: string | null;
731
+ titleRotation?: number | null;
732
+ titleVerticalMode?: ChartModel['catAxisTitleVerticalMode'];
733
+ titleManualLayout?: ChartManualLayout | null;
612
734
  }
613
735
  interface ChartTextRun {
614
736
  text: string;
@@ -636,9 +758,11 @@ interface ChartTextBox {
636
758
  }
637
759
  interface ChartexBoxSeries {
638
760
  name: string;
761
+ chartexFormatIdx?: number | null;
639
762
  color?: string | null;
640
763
  lineColor?: string | null;
641
764
  lineWidthEmu?: number | null;
765
+ chartexStyle?: ChartExElementStyle | null;
642
766
  valuesByCategory: number[][];
643
767
  meanMarker: boolean;
644
768
  meanLine: boolean;
@@ -647,6 +771,7 @@ interface ChartexBoxSeries {
647
771
  quartileMethod: string;
648
772
  }
649
773
  interface ChartexBoxWhisker {
774
+ oneBoxPerSeries?: boolean;
650
775
  categories: string[];
651
776
  series: ChartexBoxSeries[];
652
777
  }
@@ -661,22 +786,104 @@ interface ChartexTreemap {
661
786
  rows: ChartexSunburstRow[];
662
787
  parentLabelLayout?: string | null;
663
788
  }
789
+ interface ChartexRegionMapRow {
790
+ label: string;
791
+ entityId?: string | null;
792
+ value?: number | null;
793
+ }
794
+ interface ChartexGeography {
795
+ projectionType?: 'mercator' | 'miller' | 'robinson' | 'albers' | string | null;
796
+ viewedRegionType?: string | null;
797
+ cultureLanguage?: string | null;
798
+ cultureRegion?: string | null;
799
+ attribution?: string | null;
800
+ cacheProvider?: string | null;
801
+ cachePresent: boolean;
802
+ }
803
+ interface ChartexValueColorStop {
804
+ kind: 'extremeValue' | 'number' | 'percent' | string;
805
+ value?: number | null;
806
+ }
807
+ interface ChartexRegionMapColors {
808
+ stopCount?: 2 | 3 | null;
809
+ minColor?: string | null;
810
+ midColor?: string | null;
811
+ maxColor?: string | null;
812
+ minPosition?: ChartexValueColorStop | null;
813
+ midPosition?: ChartexValueColorStop | null;
814
+ maxPosition?: ChartexValueColorStop | null;
815
+ }
816
+ interface ChartexRegionMap {
817
+ rows: ChartexRegionMapRow[];
818
+ regionLabelLayout?: 'none' | 'bestFitOnly' | 'showAll' | null;
819
+ geography?: ChartexGeography | null;
820
+ colors?: ChartexRegionMapColors | null;
821
+ }
822
+ interface ChartexHistogramBinning {
823
+ binSize?: number | null;
824
+ binCount?: number | null;
825
+ intervalClosed?: 'l' | 'r' | null;
826
+ underflow?: number | null;
827
+ overflow?: number | null;
828
+ }
664
829
  interface SecondaryValueAxis {
665
830
  min: number | null;
666
831
  max: number | null;
667
832
  title: string | null;
668
833
  hidden: boolean;
669
834
  formatCode?: string | null;
835
+ displayUnits?: ChartDisplayUnits | null;
670
836
  fontColor?: string | null;
671
837
  fontSizeHpt?: number | null;
838
+ fontItalic?: boolean | null;
839
+ fontBold?: boolean | null;
840
+ fontFace?: string | null;
672
841
  lineColor?: string | null;
673
842
  lineWidthEmu?: number | null;
674
843
  lineHidden: boolean;
675
844
  majorTickMark: string;
845
+ minorTickMark?: string | null;
846
+ minorGridlines?: boolean;
847
+ minorGridlineColor?: string | null;
848
+ minorGridlineWidthEmu?: number | null;
849
+ minorGridlineDash?: string | null;
850
+ majorGridlines?: boolean;
851
+ majorGridlineColor?: string | null;
852
+ majorGridlineWidthEmu?: number | null;
853
+ majorGridlineDash?: string | null;
676
854
  majorUnit?: number | null;
855
+ minorUnit?: number | null;
856
+ logBase?: number | null;
857
+ orientation?: 'minMax' | 'maxMin' | string | null;
858
+ tickLabelPos?: string | null;
859
+ tickLabelSkip?: number | null;
860
+ tickMarkSkip?: number | null;
861
+ crosses?: string | null;
862
+ crossesAt?: number | null;
677
863
  titleFontSizeHpt?: number | null;
678
864
  titleFontBold?: boolean | null;
865
+ titleFontItalic?: boolean | null;
679
866
  titleFontColor?: string | null;
867
+ titleFontFace?: string | null;
868
+ titleRotation?: number | null;
869
+ titleVerticalMode?: 'horz' | 'vert' | 'vert270' | 'wordArtVert' | 'eaVert' | 'mongolianVert' | 'wordArtVertRtl' | null;
870
+ titleManualLayout?: ChartManualLayout | null;
871
+ }
872
+ interface ChartDisplayUnits {
873
+ divisor: number;
874
+ builtInUnit?: string | null;
875
+ label?: ChartDisplayUnitsLabel | null;
876
+ }
877
+ interface ChartDisplayUnitsLabel {
878
+ text?: string | null;
879
+ manualLayout?: ChartManualLayout | null;
880
+ fontSizeHpt?: number | null;
881
+ fontBold?: boolean | null;
882
+ fontItalic?: boolean | null;
883
+ fontColor?: string | null;
884
+ fontFace?: string | null;
885
+ rotation?: number | null;
886
+ boxStyle?: ChartLabelBox | null;
680
887
  }
681
888
  interface ChartManualLayout {
682
889
  xMode?: string;
@@ -705,6 +912,30 @@ interface ChartRect {
705
912
  w: number;
706
913
  h: number;
707
914
  }
915
+ //#endregion
916
+ //#region dist/.types-work/mathjax-rjjokY7u.d.ts
917
+ interface MathSvg {
918
+ svg: string;
919
+ widthEm: number;
920
+ ascentEm: number;
921
+ descentEm: number;
922
+ }
923
+ interface MathRenderer {
924
+ loadMathJax(): Promise<void>;
925
+ mathMLToSvg(mathml: string): Promise<MathSvg>;
926
+ }
927
+ //#endregion
928
+ //#region dist/.types-work/three-d-contract-EE62eNRv.d.ts
929
+ interface ChartThreeDRenderer {
930
+ render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number): boolean;
931
+ }
932
+ //#endregion
933
+ //#region dist/.types-work/region-map-contract-D3eTzib8.d.ts
934
+ interface ChartRegionMapRenderer {
935
+ render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number): boolean;
936
+ }
937
+ //#endregion
938
+ //#region dist/.types-work/hyperlink-qwS_UhA7.d.ts
708
939
  type OoxmlErrorCode = 'encrypted' | 'invalid-password' | 'unsupported-encryption' | 'legacy-binary-format' | 'not-ooxml';
709
940
  type OoxmlErrorStage = 'container' | 'decompression' | 'parsing' | 'serialization' | 'layout' | 'rendering' | 'worker';
710
941
  declare class OoxmlError extends Error {
@@ -787,6 +1018,8 @@ interface LoadOptions$1 {
787
1018
  onResourceMetrics?: (metrics: OoxmlResourceMetrics) => void;
788
1019
  workerTimeoutMs?: number;
789
1020
  math?: MathRenderer;
1021
+ threeD?: ChartThreeDRenderer;
1022
+ regionMap?: ChartRegionMapRenderer;
790
1023
  }
791
1024
  type OoxmlDecodedImageLimitMetric = 'image-pixels' | 'active-decoded-bytes';
792
1025
  declare class OoxmlDecodedImageLimitError extends RangeError {
@@ -807,7 +1040,7 @@ type HyperlinkTarget = {
807
1040
  };
808
1041
  declare function openExternalHyperlink(url: string, allowed?: readonly string[], win?: Pick<Window, 'open'> | undefined): boolean;
809
1042
  //#endregion
810
- //#region dist/.types-work/find-highlight-DcNlrW8O.d.ts
1043
+ //#region dist/.types-work/find-highlight-lh8Qagl7.d.ts
811
1044
  interface TextSelectionContextOptions {
812
1045
  readonly maxTextCharacters?: number;
813
1046
  readonly maxRunLocators?: number;
@@ -846,7 +1079,7 @@ interface FindHighlightColors {
846
1079
  active?: string;
847
1080
  }
848
1081
  //#endregion
849
- //#region dist/.types-work/pptx-BlL9ibzB.d.ts
1082
+ //#region dist/.types-work/pptx-CCAe_LXl.d.ts
850
1083
  interface BlipBullet {
851
1084
  type: 'blip';
852
1085
  imagePath: string;
@@ -1094,6 +1327,8 @@ interface PptxTextRunInfo {
1094
1327
  type TextRunCallback = (run: PptxTextRunInfo) => void;
1095
1328
  type SlideRenderOptions = RenderOptions & {
1096
1329
  math?: MathRenderer;
1330
+ threeD?: ChartThreeDRenderer;
1331
+ regionMap?: ChartRegionMapRenderer;
1097
1332
  dim?: DimOptions;
1098
1333
  };
1099
1334
  declare function renderSlide(canvas: HTMLCanvasElement | OffscreenCanvas, slide: Slide, slideWidth: number, slideHeight: number, opts?: SlideRenderOptions, onTextRun?: TextRunCallback): Promise<HTMLCanvasElement | OffscreenCanvas>;
@@ -1201,6 +1436,8 @@ declare class PptxPresentation {
1201
1436
  private readonly _fetchImage;
1202
1437
  private readonly _fetchMedia;
1203
1438
  private _math;
1439
+ private _threeD;
1440
+ private _regionMap;
1204
1441
  private constructor();
1205
1442
  private _assertResourceHealthy;
1206
1443
  private _rethrowWithResourceFailure;
@@ -1481,4 +1718,4 @@ interface PptxHighlightMatch {
1481
1718
  type PptxHighlightColors = FindHighlightColors;
1482
1719
  declare function buildPptxHighlightLayer(layer: HTMLDivElement, runs: PptxTextRunInfo[], matches: PptxHighlightMatch[], cssWidth: number, cssHeight: number, measureForFont: (font: string) => (s: string) => number, colors?: PptxHighlightColors): void;
1483
1720
  //#endregion
1484
- export { type ArrowEnd, type AutoResizeOptions, type Bevel3d, type BlipBullet, type Bullet, type Camera3d, type ChartDataLabelOverride, type ChartDataPointOverride, type ChartElement, type ChartErrBars, type ChartExElementStyle, type ChartLabelBox, type ChartManualLayout, type ChartModel, type ChartRect, type ChartSeries, type ChartSeriesDataLabels, type ChartTextBox, type ChartTextParagraph, type ChartTextRun, type ChartTrendline, type ChartType, type ChartexBoxSeries, type ChartexBoxWhisker, type ChartexSunburst, type ChartexSunburstRow, type ChartexTreemap, type DimOptions, 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 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 };
1721
+ export { type ArrowEnd, type AutoResizeOptions, type Bevel3d, type BlipBullet, type Bullet, type Camera3d, type ChartDataLabelOverride, type ChartDataPointOverride, type ChartDisplayUnits, type ChartDisplayUnitsLabel, type ChartElement, type ChartErrBars, type ChartExElementStyle, type ChartLabelBox, type ChartManualLayout, type ChartModel, type ChartOfPie, type ChartRect, type ChartRegionMapRenderer, type ChartSeries, type ChartSeriesDataLabels, type ChartStockBarPaint, type ChartStockUpDownBarStyle, type ChartTextBox, type ChartTextParagraph, type ChartTextRun, type ChartThreeD, 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 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 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 };