@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,4 +1,4 @@
1
- //#region dist/.types-work/hyperlink-DpimohAS.d.ts
1
+ //#region dist/.types-work/chart-Cxft04Nl.d.ts
2
2
  type MathStyle = 'roman' | 'italic' | 'bold' | 'boldItalic';
3
3
  interface MathRun {
4
4
  kind: 'run';
@@ -360,10 +360,13 @@ interface LineBreak {
360
360
  }
361
361
  interface ChartSeries {
362
362
  name: string;
363
+ chartexFormatIdx?: number | null;
363
364
  color: string | null;
364
365
  fillPattern?: PatternFill | null;
366
+ chartexStyle?: ChartExElementStyle | null;
365
367
  lineColor?: string | null;
366
368
  lineWidthEmu?: number | null;
369
+ threeDShape?: 'box' | 'cylinder' | 'cone' | 'coneToMax' | 'pyramid' | 'pyramidToMax' | string | null;
367
370
  values: (number | null)[];
368
371
  dataPointColors?: (string | null)[] | null;
369
372
  dataLabelColors?: (string | null)[] | null;
@@ -379,6 +382,7 @@ interface ChartSeries {
379
382
  markerSize?: number | null;
380
383
  markerFill?: string | null;
381
384
  markerLine?: string | null;
385
+ markerLineWidthEmu?: number | null;
382
386
  dataPointOverrides?: ChartDataPointOverride[] | null;
383
387
  dataLabelOverrides?: ChartDataLabelOverride[] | null;
384
388
  seriesDataLabels?: ChartSeriesDataLabels | null;
@@ -397,25 +401,44 @@ interface ChartTrendline {
397
401
  intercept?: number | null;
398
402
  dispRSqr?: boolean | null;
399
403
  dispEq?: boolean | null;
404
+ labelManualLayout?: ChartManualLayout | null;
405
+ labelText?: string | null;
406
+ labelFontSizeHpt?: number | null;
407
+ labelFontBold?: boolean | null;
408
+ labelFontColor?: string | null;
409
+ labelFontFace?: string | null;
410
+ labelTextAlign?: string | null;
400
411
  lineColor?: string | null;
401
412
  lineWidthEmu?: number | null;
413
+ lineDash?: string | null;
414
+ lineHidden?: boolean | null;
402
415
  }
403
416
  interface ChartDataPointOverride {
404
417
  idx: number;
405
418
  color?: string;
419
+ fillHidden?: boolean;
420
+ lineColor?: string;
421
+ lineWidthEmu?: number;
422
+ lineDash?: string;
423
+ lineHidden?: boolean;
406
424
  markerSymbol?: string;
407
425
  markerSize?: number;
408
426
  markerFill?: string;
409
427
  markerLine?: string;
428
+ markerLineWidthEmu?: number;
410
429
  explosion?: number;
411
430
  }
412
431
  interface ChartDataLabelOverride {
413
432
  idx: number;
414
433
  text: string;
434
+ richRuns?: ChartTextRun[];
415
435
  position?: string;
416
436
  fontColor?: string;
417
437
  fontSizeHpt?: number;
418
438
  fontBold?: boolean;
439
+ formatCode?: string;
440
+ separator?: string;
441
+ manualLayout?: ChartManualLayout;
419
442
  labelBox?: ChartLabelBox;
420
443
  showVal?: boolean;
421
444
  showCatName?: boolean;
@@ -459,9 +482,11 @@ interface ChartExElementStyle {
459
482
  fillPaints?: Array<SolidFill | GradientFill | PatternFill | null> | null;
460
483
  fillColors?: Array<string | null> | null;
461
484
  fillHidden?: boolean | null;
485
+ fillNoStyle?: boolean | null;
462
486
  lineColors?: Array<string | null> | null;
463
487
  lineWidthEmu?: number | null;
464
488
  lineHidden?: boolean | null;
489
+ lineNoStyle?: boolean | null;
465
490
  lineDash?: string | null;
466
491
  lineCap?: string | null;
467
492
  lineJoin?: string | null;
@@ -513,13 +538,23 @@ interface ChartModel {
513
538
  dataLabelFormatCode?: string | null;
514
539
  titleFontBold?: boolean | null;
515
540
  catAxisFontBold?: boolean | null;
541
+ catAxisFontItalic?: boolean | null;
516
542
  valAxisFontBold?: boolean | null;
543
+ valAxisFontItalic?: boolean | null;
517
544
  catAxisTitleFontSizeHpt?: number | null;
518
545
  catAxisTitleFontBold?: boolean | null;
546
+ catAxisTitleFontItalic?: boolean | null;
519
547
  catAxisTitleFontColor?: string | null;
548
+ catAxisTitleRotation?: number | null;
549
+ catAxisTitleVerticalMode?: 'horz' | 'vert' | 'vert270' | 'wordArtVert' | 'eaVert' | 'mongolianVert' | 'wordArtVertRtl' | null;
550
+ catAxisTitleManualLayout?: ChartManualLayout | null;
520
551
  valAxisTitleFontSizeHpt?: number | null;
521
552
  valAxisTitleFontBold?: boolean | null;
553
+ valAxisTitleFontItalic?: boolean | null;
522
554
  valAxisTitleFontColor?: string | null;
555
+ valAxisTitleRotation?: number | null;
556
+ valAxisTitleVerticalMode?: 'horz' | 'vert' | 'vert270' | 'wordArtVert' | 'eaVert' | 'mongolianVert' | 'wordArtVertRtl' | null;
557
+ valAxisTitleManualLayout?: ChartManualLayout | null;
523
558
  catAxisFontFace?: string | null;
524
559
  valAxisFontFace?: string | null;
525
560
  catAxisTitleFontFace?: string | null;
@@ -561,12 +596,24 @@ interface ChartModel {
561
596
  catAxisMajorGridlines?: boolean | null;
562
597
  valAxisGridlineColor?: string | null;
563
598
  valAxisGridlineWidthEmu?: number | null;
599
+ valAxisGridlineDash?: string | null;
564
600
  catAxisGridlineColor?: string | null;
565
601
  catAxisGridlineWidthEmu?: number | null;
602
+ catAxisGridlineDash?: string | null;
566
603
  valAxisMinorGridlines?: boolean | null;
604
+ valAxisMinorGridlineColor?: string | null;
605
+ valAxisMinorGridlineWidthEmu?: number | null;
606
+ valAxisMinorGridlineDash?: string | null;
607
+ catAxisMinorGridlines?: boolean | null;
608
+ catAxisMinorGridlineColor?: string | null;
609
+ catAxisMinorGridlineWidthEmu?: number | null;
610
+ catAxisMinorGridlineDash?: string | null;
567
611
  valAxisMajorUnit?: number | null;
568
612
  valAxisMinorUnit?: number | null;
613
+ catAxisMajorUnit?: number | null;
614
+ catAxisMinorUnit?: number | null;
569
615
  valAxisLogBase?: number | null;
616
+ catAxisLogBase?: number | null;
570
617
  valAxisOrientation?: 'minMax' | 'maxMin' | string | null;
571
618
  catAxisOrientation?: 'minMax' | 'maxMin' | string | null;
572
619
  catAxisTickLabelPos?: string | null;
@@ -577,15 +624,55 @@ interface ChartModel {
577
624
  stockHiLowLines?: boolean | null;
578
625
  stockHiLowLineColor?: string | null;
579
626
  stockUpDownBars?: boolean | null;
627
+ stockUpDownBarStyle?: ChartStockUpDownBarStyle | null;
628
+ ofPie?: ChartOfPie | null;
629
+ threeD?: ChartThreeD | null;
580
630
  chartexBox?: ChartexBoxWhisker | null;
581
631
  chartexSunburst?: ChartexSunburst | null;
582
632
  chartexTreemap?: ChartexTreemap | null;
633
+ chartexRegionMap?: ChartexRegionMap | null;
634
+ chartexHistogramBinning?: ChartexHistogramBinning | null;
583
635
  chartexAccents?: string[] | null;
584
636
  chartexColorPalette?: Array<string | null> | null;
585
637
  chartexColorStyleMethod?: string | null;
586
638
  chartexDataPointStyle?: ChartExElementStyle | null;
587
639
  chartexDataPointLineStyle?: ChartExElementStyle | null;
640
+ chartexSeriesLineStyle?: ChartExElementStyle | null;
588
641
  chartexDataPointMarkerStyle?: ChartExElementStyle | null;
642
+ chartexMarkerSizePt?: number | null;
643
+ chartexMarkerSymbol?: string | null;
644
+ chartexConnectorLines?: boolean | null;
645
+ }
646
+ interface ChartStockBarPaint {
647
+ fillColor?: string | null;
648
+ fillHidden?: boolean | null;
649
+ lineColor?: string | null;
650
+ lineWidthEmu?: number | null;
651
+ lineHidden?: boolean | null;
652
+ }
653
+ interface ChartStockUpDownBarStyle {
654
+ gapWidthPercent: number;
655
+ up: ChartStockBarPaint;
656
+ down: ChartStockBarPaint;
657
+ }
658
+ interface ChartOfPie {
659
+ type: 'pie' | 'bar';
660
+ splitType: 'auto' | 'cust' | 'percent' | 'pos' | 'val';
661
+ splitPos?: number | null;
662
+ customSplitIndices?: number[] | null;
663
+ secondPieSizePercent: number;
664
+ gapWidthPercent: number;
665
+ seriesLines: boolean;
666
+ }
667
+ interface ChartThreeD {
668
+ rotationX?: number | null;
669
+ rotationY?: number | null;
670
+ heightPercent?: number | null;
671
+ depthPercent?: number | null;
672
+ perspective?: number | null;
673
+ rightAngleAxes?: boolean | null;
674
+ gapDepthPercent?: number | null;
675
+ shape?: string | null;
589
676
  }
590
677
  interface ChartTextRun {
591
678
  text: string;
@@ -613,9 +700,11 @@ interface ChartTextBox {
613
700
  }
614
701
  interface ChartexBoxSeries {
615
702
  name: string;
703
+ chartexFormatIdx?: number | null;
616
704
  color?: string | null;
617
705
  lineColor?: string | null;
618
706
  lineWidthEmu?: number | null;
707
+ chartexStyle?: ChartExElementStyle | null;
619
708
  valuesByCategory: number[][];
620
709
  meanMarker: boolean;
621
710
  meanLine: boolean;
@@ -624,6 +713,7 @@ interface ChartexBoxSeries {
624
713
  quartileMethod: string;
625
714
  }
626
715
  interface ChartexBoxWhisker {
716
+ oneBoxPerSeries?: boolean;
627
717
  categories: string[];
628
718
  series: ChartexBoxSeries[];
629
719
  }
@@ -638,6 +728,46 @@ interface ChartexTreemap {
638
728
  rows: ChartexSunburstRow[];
639
729
  parentLabelLayout?: string | null;
640
730
  }
731
+ interface ChartexRegionMapRow {
732
+ label: string;
733
+ entityId?: string | null;
734
+ value?: number | null;
735
+ }
736
+ interface ChartexGeography {
737
+ projectionType?: 'mercator' | 'miller' | 'robinson' | 'albers' | string | null;
738
+ viewedRegionType?: string | null;
739
+ cultureLanguage?: string | null;
740
+ cultureRegion?: string | null;
741
+ attribution?: string | null;
742
+ cacheProvider?: string | null;
743
+ cachePresent: boolean;
744
+ }
745
+ interface ChartexValueColorStop {
746
+ kind: 'extremeValue' | 'number' | 'percent' | string;
747
+ value?: number | null;
748
+ }
749
+ interface ChartexRegionMapColors {
750
+ stopCount?: 2 | 3 | null;
751
+ minColor?: string | null;
752
+ midColor?: string | null;
753
+ maxColor?: string | null;
754
+ minPosition?: ChartexValueColorStop | null;
755
+ midPosition?: ChartexValueColorStop | null;
756
+ maxPosition?: ChartexValueColorStop | null;
757
+ }
758
+ interface ChartexRegionMap {
759
+ rows: ChartexRegionMapRow[];
760
+ regionLabelLayout?: 'none' | 'bestFitOnly' | 'showAll' | null;
761
+ geography?: ChartexGeography | null;
762
+ colors?: ChartexRegionMapColors | null;
763
+ }
764
+ interface ChartexHistogramBinning {
765
+ binSize?: number | null;
766
+ binCount?: number | null;
767
+ intervalClosed?: 'l' | 'r' | null;
768
+ underflow?: number | null;
769
+ overflow?: number | null;
770
+ }
641
771
  interface SecondaryValueAxis {
642
772
  min: number | null;
643
773
  max: number | null;
@@ -646,14 +776,37 @@ interface SecondaryValueAxis {
646
776
  formatCode?: string | null;
647
777
  fontColor?: string | null;
648
778
  fontSizeHpt?: number | null;
779
+ fontItalic?: boolean | null;
780
+ fontBold?: boolean | null;
781
+ fontFace?: string | null;
649
782
  lineColor?: string | null;
650
783
  lineWidthEmu?: number | null;
651
784
  lineHidden: boolean;
652
785
  majorTickMark: string;
786
+ minorTickMark?: string | null;
787
+ minorGridlines?: boolean;
788
+ minorGridlineColor?: string | null;
789
+ minorGridlineWidthEmu?: number | null;
790
+ minorGridlineDash?: string | null;
791
+ majorGridlines?: boolean;
792
+ majorGridlineColor?: string | null;
793
+ majorGridlineWidthEmu?: number | null;
794
+ majorGridlineDash?: string | null;
653
795
  majorUnit?: number | null;
796
+ minorUnit?: number | null;
797
+ logBase?: number | null;
798
+ orientation?: 'minMax' | 'maxMin' | string | null;
799
+ tickLabelPos?: string | null;
800
+ crosses?: string | null;
801
+ crossesAt?: number | null;
654
802
  titleFontSizeHpt?: number | null;
655
803
  titleFontBold?: boolean | null;
804
+ titleFontItalic?: boolean | null;
656
805
  titleFontColor?: string | null;
806
+ titleFontFace?: string | null;
807
+ titleRotation?: number | null;
808
+ titleVerticalMode?: 'horz' | 'vert' | 'vert270' | 'wordArtVert' | 'eaVert' | 'mongolianVert' | 'wordArtVertRtl' | null;
809
+ titleManualLayout?: ChartManualLayout | null;
657
810
  }
658
811
  interface ChartManualLayout {
659
812
  xMode?: string;
@@ -676,6 +829,8 @@ interface LegendManualLayout {
676
829
  w: number;
677
830
  h: number;
678
831
  }
832
+ //#endregion
833
+ //#region dist/.types-work/hyperlink-yiXkZo1W.d.ts
679
834
  type OoxmlErrorStage = 'container' | 'decompression' | 'parsing' | 'serialization' | 'layout' | 'rendering' | 'worker';
680
835
  type OoxmlFormat = 'docx' | 'xlsx' | 'pptx';
681
836
  interface OoxmlResourceUsageSnapshot {
@@ -1796,6 +1951,7 @@ interface MergeCell {
1796
1951
  }
1797
1952
  interface Worksheet {
1798
1953
  name: string;
1954
+ isChartSheet?: boolean;
1799
1955
  rows: Row[];
1800
1956
  colWidths: Record<number, number>;
1801
1957
  colWidthRanges?: Array<{
@@ -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$1 {
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/pptx-BlL9ibzB.d.ts
1016
+ //#region dist/.types-work/pptx-BkoKZ3Yu.d.ts
850
1017
  interface BlipBullet {
851
1018
  type: 'blip';
852
1019
  imagePath: string;
@@ -1094,6 +1261,8 @@ interface PptxTextRunInfo {
1094
1261
  type TextRunCallback = (run: PptxTextRunInfo) => void;
1095
1262
  type SlideRenderOptions = RenderOptions & {
1096
1263
  math?: MathRenderer;
1264
+ threeD?: ChartThreeDRenderer;
1265
+ regionMap?: ChartRegionMapRenderer;
1097
1266
  dim?: DimOptions;
1098
1267
  };
1099
1268
  declare function renderSlide(canvas: HTMLCanvasElement | OffscreenCanvas, slide: Slide, slideWidth: number, slideHeight: number, opts?: SlideRenderOptions, onTextRun?: TextRunCallback): Promise<HTMLCanvasElement | OffscreenCanvas>;
@@ -1201,6 +1370,8 @@ declare class PptxPresentation {
1201
1370
  private readonly _fetchImage;
1202
1371
  private readonly _fetchMedia;
1203
1372
  private _math;
1373
+ private _threeD;
1374
+ private _regionMap;
1204
1375
  private constructor();
1205
1376
  private _assertResourceHealthy;
1206
1377
  private _rethrowWithResourceFailure;
@@ -1481,4 +1652,4 @@ interface PptxHighlightMatch {
1481
1652
  type PptxHighlightColors = FindHighlightColors;
1482
1653
  declare function buildPptxHighlightLayer(layer: HTMLDivElement, runs: PptxTextRunInfo[], matches: PptxHighlightMatch[], cssWidth: number, cssHeight: number, measureForFont: (font: string) => (s: string) => number, colors?: PptxHighlightColors): void;
1483
1654
  //#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 };
1655
+ 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 ChartOfPie, type ChartRect, type ChartRegionMapRenderer, type ChartSeries, type ChartSeriesDataLabels, type ChartStockBarPaint, type ChartStockUpDownBarStyle, type ChartTextBox, type ChartTextParagraph, type ChartTextRun, type ChartThreeD, type ChartThreeDRenderer, 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 };