@silurus/ooxml 0.77.1 → 0.78.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 (33) hide show
  1. package/README.md +2 -2
  2. package/dist/{canvas-viewer-mechanics-D5zXbOrS.js → canvas-viewer-mechanics-ChxLdOJg.js} +1 -1
  3. package/dist/{document-pull-client-CC8pPuzi.js → document-pull-client-xsdVDuVD.js} +2 -2
  4. package/dist/{docx-Dg9N9OX4.js → docx-CZC3j4s4.js} +4 -4
  5. package/dist/docx.mjs +3 -3
  6. package/dist/docx_parser_bg.wasm +0 -0
  7. package/dist/index.mjs +3 -3
  8. package/dist/{line-distribute-BtfPlM2A.js → line-distribute-HuZyTARz.js} +1 -1
  9. package/dist/{line-metrics-B66x33iy.js → line-metrics-z9AdgPaZ.js} +2498 -1724
  10. package/dist/node.mjs +7 -7
  11. package/dist/{pptx-BFP7Isgf.js → pptx-c3UgGKIs.js} +5 -5
  12. package/dist/pptx.mjs +4 -4
  13. package/dist/pptx_parser_bg.wasm +0 -0
  14. package/dist/render-worker-host-BzxTAscX.js +27 -0
  15. package/dist/render-worker-host-CBjWHxMb.js +27 -0
  16. package/dist/render-worker-host-Ivhx3KII.js +27 -0
  17. package/dist/{render-D-cOpMLV.js → render-yhFUeiYl.js} +1 -1
  18. package/dist/{resource-measurement-CVfVTQrt.js → resource-measurement-5g27Av6n.js} +1 -1
  19. package/dist/{session-DxAVpIP-.js → session-BOuXp10X.js} +2 -2
  20. package/dist/{slide-pull-client-Lag44QA8.js → slide-pull-client-DKckZrLx.js} +4 -4
  21. package/dist/types/docx.d.ts +98 -8
  22. package/dist/types/index.d.ts +80 -12
  23. package/dist/types/node.d.ts +73 -6
  24. package/dist/types/pptx.d.ts +72 -8
  25. package/dist/types/xlsx.d.ts +76 -8
  26. package/dist/{worksheet-pull-client-D74b_23i.js → worksheet-pull-client-CMDRPZ5E.js} +2 -2
  27. package/dist/{xlsx-Bik59Raj.js → xlsx-BAScjxlC.js} +965 -673
  28. package/dist/xlsx.mjs +4 -4
  29. package/dist/xlsx_parser_bg.wasm +0 -0
  30. package/package.json +1 -1
  31. package/dist/render-worker-host-BzpMoFRr.js +0 -27
  32. package/dist/render-worker-host-CdZ5hW2X.js +0 -27
  33. package/dist/render-worker-host-quqYq02i.js +0 -27
@@ -1,4 +1,4 @@
1
- //#region dist/.types-work/hyperlink-JmvHU-7y.d.ts
1
+ //#region dist/.types-work/hyperlink-R5D7g--F.d.ts
2
2
  type MathStyle = 'roman' | 'italic' | 'bold' | 'boldItalic';
3
3
  interface MathRun {
4
4
  kind: 'run';
@@ -361,6 +361,9 @@ interface LineBreak {
361
361
  interface ChartSeries {
362
362
  name: string;
363
363
  color: string | null;
364
+ fillPattern?: PatternFill | null;
365
+ lineColor?: string | null;
366
+ lineWidthEmu?: number | null;
364
367
  values: (number | null)[];
365
368
  dataPointColors?: (string | null)[] | null;
366
369
  dataLabelColors?: (string | null)[] | null;
@@ -370,6 +373,8 @@ interface ChartSeries {
370
373
  categories?: string[] | null;
371
374
  showMarker?: boolean | null;
372
375
  valFormatCode?: string | null;
376
+ catFormatCode?: string | null;
377
+ catFormatCodes?: (string | null)[] | null;
373
378
  markerSymbol?: string | null;
374
379
  markerSize?: number | null;
375
380
  markerFill?: string | null;
@@ -431,6 +436,7 @@ interface ChartSeriesDataLabels {
431
436
  position?: string;
432
437
  fontColor?: string;
433
438
  formatCode?: string;
439
+ separator?: string;
434
440
  fontBold?: boolean;
435
441
  fontSizeHpt?: number;
436
442
  labelBox?: ChartLabelBox;
@@ -448,12 +454,27 @@ interface ChartErrBars {
448
454
  lineWidthEmu?: number;
449
455
  dash?: string;
450
456
  }
451
- type ChartType = 'line' | 'stackedLine' | 'stackedLinePct' | 'clusteredBar' | 'clusteredBarH' | 'stackedBar' | 'stackedBarH' | 'stackedBarPct' | 'stackedBarHPct' | 'area' | 'stackedArea' | 'stackedAreaPct' | 'pie' | 'doughnut' | 'scatter' | 'bubble' | 'radar' | 'waterfall' | 'stock' | 'boxWhisker' | 'sunburst' | string;
457
+ type ChartType = 'line' | 'stackedLine' | 'stackedLinePct' | 'clusteredBar' | 'clusteredBarH' | 'stackedBar' | 'stackedBarH' | 'stackedBarPct' | 'stackedBarHPct' | 'area' | 'stackedArea' | 'stackedAreaPct' | 'pie' | 'doughnut' | 'scatter' | 'bubble' | 'radar' | 'waterfall' | 'stock' | 'boxWhisker' | 'sunburst' | 'treemap' | string;
458
+ interface ChartExElementStyle {
459
+ fillPaints?: Array<SolidFill | GradientFill | PatternFill | null> | null;
460
+ fillColors?: Array<string | null> | null;
461
+ fillHidden?: boolean | null;
462
+ lineColors?: Array<string | null> | null;
463
+ lineWidthEmu?: number | null;
464
+ lineHidden?: boolean | null;
465
+ lineDash?: string | null;
466
+ lineCap?: string | null;
467
+ lineJoin?: string | null;
468
+ fillColorIndex?: number | null;
469
+ lineColorIndex?: number | null;
470
+ }
452
471
  interface ChartModel {
453
472
  chartType: ChartType;
454
473
  title: string | null;
474
+ titlePresent?: boolean;
455
475
  categories: string[];
456
476
  series: ChartSeries[];
477
+ chartTextBoxes?: ChartTextBox[] | null;
457
478
  varyColors?: boolean | null;
458
479
  showDataLabels: boolean;
459
480
  valMin: number | null;
@@ -481,6 +502,7 @@ interface ChartModel {
481
502
  catAxisFontColor?: string | null;
482
503
  valAxisFontColor?: string | null;
483
504
  dataLabelFontSizeHpt: number | null;
505
+ dataLabelFontBold?: boolean | null;
484
506
  subtotalIndices: number[];
485
507
  legendManualLayout?: LegendManualLayout | null;
486
508
  valAxisFormatCode?: string | null;
@@ -525,8 +547,12 @@ interface ChartModel {
525
547
  titleManualLayout?: ChartManualLayout | null;
526
548
  plotAreaManualLayout?: ChartManualLayout | null;
527
549
  scatterStyle?: string | null;
550
+ bubbleScale?: number | null;
551
+ bubbleSizeRepresents?: 'area' | 'w' | null;
552
+ showNegativeBubbles?: boolean | null;
528
553
  radarStyle?: string | null;
529
554
  secondaryValAxis?: SecondaryValueAxis | null;
555
+ secondaryCatAxis?: SecondaryValueAxis | null;
530
556
  date1904?: boolean;
531
557
  holeSize?: number | null;
532
558
  firstSliceAngle?: number | null;
@@ -544,6 +570,8 @@ interface ChartModel {
544
570
  valAxisOrientation?: 'minMax' | 'maxMin' | string | null;
545
571
  catAxisOrientation?: 'minMax' | 'maxMin' | string | null;
546
572
  catAxisTickLabelPos?: string | null;
573
+ catAxisTickLabelSkip?: number | null;
574
+ catAxisTickMarkSkip?: number | null;
547
575
  valAxisTickLabelPos?: string | null;
548
576
  catAxisLabelRotation?: number | null;
549
577
  stockHiLowLines?: boolean | null;
@@ -551,11 +579,39 @@ interface ChartModel {
551
579
  stockUpDownBars?: boolean | null;
552
580
  chartexBox?: ChartexBoxWhisker | null;
553
581
  chartexSunburst?: ChartexSunburst | null;
582
+ chartexTreemap?: ChartexTreemap | null;
554
583
  chartexAccents?: string[] | null;
584
+ chartexColorPalette?: Array<string | null> | null;
585
+ chartexColorStyleMethod?: string | null;
586
+ chartexDataPointStyle?: ChartExElementStyle | null;
587
+ chartexDataPointLineStyle?: ChartExElementStyle | null;
588
+ chartexDataPointMarkerStyle?: ChartExElementStyle | null;
589
+ }
590
+ interface ChartTextRun {
591
+ text: string;
592
+ fontSizeHpt?: number | null;
593
+ bold?: boolean | null;
594
+ color?: string | null;
595
+ fontFace?: string | null;
596
+ }
597
+ interface ChartTextParagraph {
598
+ runs: ChartTextRun[];
599
+ align?: 'l' | 'ctr' | 'r' | 'just' | 'dist' | string | null;
600
+ }
601
+ interface ChartTextBox {
602
+ x: number;
603
+ y: number;
604
+ w: number;
605
+ h: number;
606
+ paragraphs: ChartTextParagraph[];
607
+ verticalAnchor?: 't' | 'ctr' | 'b' | 'just' | 'dist' | string | null;
608
+ wrap?: 'none' | 'square' | string | null;
555
609
  }
556
610
  interface ChartexBoxSeries {
557
611
  name: string;
558
612
  color?: string | null;
613
+ lineColor?: string | null;
614
+ lineWidthEmu?: number | null;
559
615
  valuesByCategory: number[][];
560
616
  meanMarker: boolean;
561
617
  meanLine: boolean;
@@ -574,6 +630,10 @@ interface ChartexSunburstRow {
574
630
  interface ChartexSunburst {
575
631
  rows: ChartexSunburstRow[];
576
632
  }
633
+ interface ChartexTreemap {
634
+ rows: ChartexSunburstRow[];
635
+ parentLabelLayout?: string | null;
636
+ }
577
637
  interface SecondaryValueAxis {
578
638
  min: number | null;
579
639
  max: number | null;
@@ -592,8 +652,10 @@ interface SecondaryValueAxis {
592
652
  titleFontColor?: string | null;
593
653
  }
594
654
  interface ChartManualLayout {
595
- xMode: string;
596
- yMode: string;
655
+ xMode?: string;
656
+ yMode?: string;
657
+ wMode?: string;
658
+ hMode?: string;
597
659
  layoutTarget?: string;
598
660
  x: number;
599
661
  y: number;
@@ -601,8 +663,10 @@ interface ChartManualLayout {
601
663
  h?: number;
602
664
  }
603
665
  interface LegendManualLayout {
604
- xMode: string;
605
- yMode: string;
666
+ xMode?: string;
667
+ yMode?: string;
668
+ wMode?: string;
669
+ hMode?: string;
606
670
  x: number;
607
671
  y: number;
608
672
  w: number;
@@ -1968,6 +2032,7 @@ interface DataValidation {
1968
2032
  errorMessage?: string;
1969
2033
  }
1970
2034
  interface ChartAnchor {
2035
+ zOrder?: number;
1971
2036
  fromCol: number;
1972
2037
  fromColOff: number;
1973
2038
  fromRow: number;
@@ -1993,6 +2058,7 @@ interface ShapeAnchor {
1993
2058
  shapes: ShapeInfo[];
1994
2059
  }
1995
2060
  interface ShapeInfo {
2061
+ zOrder?: number;
1996
2062
  x: number;
1997
2063
  y: number;
1998
2064
  w: number;
@@ -2126,6 +2192,7 @@ type PathCmd = {
2126
2192
  op: 'close';
2127
2193
  };
2128
2194
  interface ImageAnchor {
2195
+ zOrder?: number;
2129
2196
  fromCol: number;
2130
2197
  fromColOff: number;
2131
2198
  fromRow: number;
@@ -10,7 +10,7 @@ interface MathRenderer {
10
10
  mathMLToSvg(mathml: string): Promise<MathSvg>;
11
11
  }
12
12
  //#endregion
13
- //#region dist/.types-work/hyperlink-JmvHU-7y.d.ts
13
+ //#region dist/.types-work/hyperlink-R5D7g--F.d.ts
14
14
  type MathStyle = 'roman' | 'italic' | 'bold' | 'boldItalic';
15
15
  interface MathRun {
16
16
  kind: 'run';
@@ -384,6 +384,9 @@ interface RenderOptions {
384
384
  interface ChartSeries {
385
385
  name: string;
386
386
  color: string | null;
387
+ fillPattern?: PatternFill | null;
388
+ lineColor?: string | null;
389
+ lineWidthEmu?: number | null;
387
390
  values: (number | null)[];
388
391
  dataPointColors?: (string | null)[] | null;
389
392
  dataLabelColors?: (string | null)[] | null;
@@ -393,6 +396,8 @@ interface ChartSeries {
393
396
  categories?: string[] | null;
394
397
  showMarker?: boolean | null;
395
398
  valFormatCode?: string | null;
399
+ catFormatCode?: string | null;
400
+ catFormatCodes?: (string | null)[] | null;
396
401
  markerSymbol?: string | null;
397
402
  markerSize?: number | null;
398
403
  markerFill?: string | null;
@@ -454,6 +459,7 @@ interface ChartSeriesDataLabels {
454
459
  position?: string;
455
460
  fontColor?: string;
456
461
  formatCode?: string;
462
+ separator?: string;
457
463
  fontBold?: boolean;
458
464
  fontSizeHpt?: number;
459
465
  labelBox?: ChartLabelBox;
@@ -471,12 +477,27 @@ interface ChartErrBars {
471
477
  lineWidthEmu?: number;
472
478
  dash?: string;
473
479
  }
474
- type ChartType = 'line' | 'stackedLine' | 'stackedLinePct' | 'clusteredBar' | 'clusteredBarH' | 'stackedBar' | 'stackedBarH' | 'stackedBarPct' | 'stackedBarHPct' | 'area' | 'stackedArea' | 'stackedAreaPct' | 'pie' | 'doughnut' | 'scatter' | 'bubble' | 'radar' | 'waterfall' | 'stock' | 'boxWhisker' | 'sunburst' | string;
480
+ type ChartType = 'line' | 'stackedLine' | 'stackedLinePct' | 'clusteredBar' | 'clusteredBarH' | 'stackedBar' | 'stackedBarH' | 'stackedBarPct' | 'stackedBarHPct' | 'area' | 'stackedArea' | 'stackedAreaPct' | 'pie' | 'doughnut' | 'scatter' | 'bubble' | 'radar' | 'waterfall' | 'stock' | 'boxWhisker' | 'sunburst' | 'treemap' | string;
481
+ interface ChartExElementStyle {
482
+ fillPaints?: Array<SolidFill | GradientFill | PatternFill | null> | null;
483
+ fillColors?: Array<string | null> | null;
484
+ fillHidden?: boolean | null;
485
+ lineColors?: Array<string | null> | null;
486
+ lineWidthEmu?: number | null;
487
+ lineHidden?: boolean | null;
488
+ lineDash?: string | null;
489
+ lineCap?: string | null;
490
+ lineJoin?: string | null;
491
+ fillColorIndex?: number | null;
492
+ lineColorIndex?: number | null;
493
+ }
475
494
  interface ChartModel {
476
495
  chartType: ChartType;
477
496
  title: string | null;
497
+ titlePresent?: boolean;
478
498
  categories: string[];
479
499
  series: ChartSeries[];
500
+ chartTextBoxes?: ChartTextBox[] | null;
480
501
  varyColors?: boolean | null;
481
502
  showDataLabels: boolean;
482
503
  valMin: number | null;
@@ -504,6 +525,7 @@ interface ChartModel {
504
525
  catAxisFontColor?: string | null;
505
526
  valAxisFontColor?: string | null;
506
527
  dataLabelFontSizeHpt: number | null;
528
+ dataLabelFontBold?: boolean | null;
507
529
  subtotalIndices: number[];
508
530
  legendManualLayout?: LegendManualLayout | null;
509
531
  valAxisFormatCode?: string | null;
@@ -548,8 +570,12 @@ interface ChartModel {
548
570
  titleManualLayout?: ChartManualLayout | null;
549
571
  plotAreaManualLayout?: ChartManualLayout | null;
550
572
  scatterStyle?: string | null;
573
+ bubbleScale?: number | null;
574
+ bubbleSizeRepresents?: 'area' | 'w' | null;
575
+ showNegativeBubbles?: boolean | null;
551
576
  radarStyle?: string | null;
552
577
  secondaryValAxis?: SecondaryValueAxis | null;
578
+ secondaryCatAxis?: SecondaryValueAxis | null;
553
579
  date1904?: boolean;
554
580
  holeSize?: number | null;
555
581
  firstSliceAngle?: number | null;
@@ -567,6 +593,8 @@ interface ChartModel {
567
593
  valAxisOrientation?: 'minMax' | 'maxMin' | string | null;
568
594
  catAxisOrientation?: 'minMax' | 'maxMin' | string | null;
569
595
  catAxisTickLabelPos?: string | null;
596
+ catAxisTickLabelSkip?: number | null;
597
+ catAxisTickMarkSkip?: number | null;
570
598
  valAxisTickLabelPos?: string | null;
571
599
  catAxisLabelRotation?: number | null;
572
600
  stockHiLowLines?: boolean | null;
@@ -574,11 +602,39 @@ interface ChartModel {
574
602
  stockUpDownBars?: boolean | null;
575
603
  chartexBox?: ChartexBoxWhisker | null;
576
604
  chartexSunburst?: ChartexSunburst | null;
605
+ chartexTreemap?: ChartexTreemap | null;
577
606
  chartexAccents?: string[] | null;
607
+ chartexColorPalette?: Array<string | null> | null;
608
+ chartexColorStyleMethod?: string | null;
609
+ chartexDataPointStyle?: ChartExElementStyle | null;
610
+ chartexDataPointLineStyle?: ChartExElementStyle | null;
611
+ chartexDataPointMarkerStyle?: ChartExElementStyle | null;
612
+ }
613
+ interface ChartTextRun {
614
+ text: string;
615
+ fontSizeHpt?: number | null;
616
+ bold?: boolean | null;
617
+ color?: string | null;
618
+ fontFace?: string | null;
619
+ }
620
+ interface ChartTextParagraph {
621
+ runs: ChartTextRun[];
622
+ align?: 'l' | 'ctr' | 'r' | 'just' | 'dist' | string | null;
623
+ }
624
+ interface ChartTextBox {
625
+ x: number;
626
+ y: number;
627
+ w: number;
628
+ h: number;
629
+ paragraphs: ChartTextParagraph[];
630
+ verticalAnchor?: 't' | 'ctr' | 'b' | 'just' | 'dist' | string | null;
631
+ wrap?: 'none' | 'square' | string | null;
578
632
  }
579
633
  interface ChartexBoxSeries {
580
634
  name: string;
581
635
  color?: string | null;
636
+ lineColor?: string | null;
637
+ lineWidthEmu?: number | null;
582
638
  valuesByCategory: number[][];
583
639
  meanMarker: boolean;
584
640
  meanLine: boolean;
@@ -597,6 +653,10 @@ interface ChartexSunburstRow {
597
653
  interface ChartexSunburst {
598
654
  rows: ChartexSunburstRow[];
599
655
  }
656
+ interface ChartexTreemap {
657
+ rows: ChartexSunburstRow[];
658
+ parentLabelLayout?: string | null;
659
+ }
600
660
  interface SecondaryValueAxis {
601
661
  min: number | null;
602
662
  max: number | null;
@@ -615,8 +675,10 @@ interface SecondaryValueAxis {
615
675
  titleFontColor?: string | null;
616
676
  }
617
677
  interface ChartManualLayout {
618
- xMode: string;
619
- yMode: string;
678
+ xMode?: string;
679
+ yMode?: string;
680
+ wMode?: string;
681
+ hMode?: string;
620
682
  layoutTarget?: string;
621
683
  x: number;
622
684
  y: number;
@@ -624,8 +686,10 @@ interface ChartManualLayout {
624
686
  h?: number;
625
687
  }
626
688
  interface LegendManualLayout {
627
- xMode: string;
628
- yMode: string;
689
+ xMode?: string;
690
+ yMode?: string;
691
+ wMode?: string;
692
+ hMode?: string;
629
693
  x: number;
630
694
  y: number;
631
695
  w: number;
@@ -778,7 +842,7 @@ interface FindHighlightColors {
778
842
  active?: string;
779
843
  }
780
844
  //#endregion
781
- //#region dist/.types-work/pptx-DjMlRXaq.d.ts
845
+ //#region dist/.types-work/pptx-Bb8Ij3pP.d.ts
782
846
  interface BlipBullet {
783
847
  type: 'blip';
784
848
  imagePath: string;
@@ -1413,4 +1477,4 @@ interface PptxHighlightMatch {
1413
1477
  type PptxHighlightColors = FindHighlightColors;
1414
1478
  declare function buildPptxHighlightLayer(layer: HTMLDivElement, runs: PptxTextRunInfo[], matches: PptxHighlightMatch[], cssWidth: number, cssHeight: number, measureForFont: (font: string) => (s: string) => number, colors?: PptxHighlightColors): void;
1415
1479
  //#endregion
1416
- export { type ArrowEnd, type AutoResizeOptions, type Bevel3d, type BlipBullet, type Bullet, type Camera3d, type ChartDataLabelOverride, type ChartDataPointOverride, type ChartElement, type ChartErrBars, type ChartLabelBox, type ChartManualLayout, type ChartModel, type ChartRect, type ChartSeries, type ChartSeriesDataLabels, type ChartTrendline, type ChartType, type ChartexBoxSeries, type ChartexBoxWhisker, type ChartexSunburst, type ChartexSunburstRow, 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 };
1480
+ 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 };
@@ -10,7 +10,7 @@ interface MathRenderer {
10
10
  mathMLToSvg(mathml: string): Promise<MathSvg>;
11
11
  }
12
12
  //#endregion
13
- //#region dist/.types-work/hyperlink-JmvHU-7y.d.ts
13
+ //#region dist/.types-work/hyperlink-R5D7g--F.d.ts
14
14
  type MathStyle = 'roman' | 'italic' | 'bold' | 'boldItalic';
15
15
  interface MathRun {
16
16
  kind: 'run';
@@ -187,6 +187,9 @@ type SpaceLine = {
187
187
  interface ChartSeries {
188
188
  name: string;
189
189
  color: string | null;
190
+ fillPattern?: PatternFill | null;
191
+ lineColor?: string | null;
192
+ lineWidthEmu?: number | null;
190
193
  values: (number | null)[];
191
194
  dataPointColors?: (string | null)[] | null;
192
195
  dataLabelColors?: (string | null)[] | null;
@@ -196,6 +199,8 @@ interface ChartSeries {
196
199
  categories?: string[] | null;
197
200
  showMarker?: boolean | null;
198
201
  valFormatCode?: string | null;
202
+ catFormatCode?: string | null;
203
+ catFormatCodes?: (string | null)[] | null;
199
204
  markerSymbol?: string | null;
200
205
  markerSize?: number | null;
201
206
  markerFill?: string | null;
@@ -257,6 +262,7 @@ interface ChartSeriesDataLabels {
257
262
  position?: string;
258
263
  fontColor?: string;
259
264
  formatCode?: string;
265
+ separator?: string;
260
266
  fontBold?: boolean;
261
267
  fontSizeHpt?: number;
262
268
  labelBox?: ChartLabelBox;
@@ -274,12 +280,27 @@ interface ChartErrBars {
274
280
  lineWidthEmu?: number;
275
281
  dash?: string;
276
282
  }
277
- type ChartType = 'line' | 'stackedLine' | 'stackedLinePct' | 'clusteredBar' | 'clusteredBarH' | 'stackedBar' | 'stackedBarH' | 'stackedBarPct' | 'stackedBarHPct' | 'area' | 'stackedArea' | 'stackedAreaPct' | 'pie' | 'doughnut' | 'scatter' | 'bubble' | 'radar' | 'waterfall' | 'stock' | 'boxWhisker' | 'sunburst' | string;
283
+ type ChartType = 'line' | 'stackedLine' | 'stackedLinePct' | 'clusteredBar' | 'clusteredBarH' | 'stackedBar' | 'stackedBarH' | 'stackedBarPct' | 'stackedBarHPct' | 'area' | 'stackedArea' | 'stackedAreaPct' | 'pie' | 'doughnut' | 'scatter' | 'bubble' | 'radar' | 'waterfall' | 'stock' | 'boxWhisker' | 'sunburst' | 'treemap' | string;
284
+ interface ChartExElementStyle {
285
+ fillPaints?: Array<SolidFill | GradientFill | PatternFill | null> | null;
286
+ fillColors?: Array<string | null> | null;
287
+ fillHidden?: boolean | null;
288
+ lineColors?: Array<string | null> | null;
289
+ lineWidthEmu?: number | null;
290
+ lineHidden?: boolean | null;
291
+ lineDash?: string | null;
292
+ lineCap?: string | null;
293
+ lineJoin?: string | null;
294
+ fillColorIndex?: number | null;
295
+ lineColorIndex?: number | null;
296
+ }
278
297
  interface ChartModel {
279
298
  chartType: ChartType;
280
299
  title: string | null;
300
+ titlePresent?: boolean;
281
301
  categories: string[];
282
302
  series: ChartSeries[];
303
+ chartTextBoxes?: ChartTextBox[] | null;
283
304
  varyColors?: boolean | null;
284
305
  showDataLabels: boolean;
285
306
  valMin: number | null;
@@ -307,6 +328,7 @@ interface ChartModel {
307
328
  catAxisFontColor?: string | null;
308
329
  valAxisFontColor?: string | null;
309
330
  dataLabelFontSizeHpt: number | null;
331
+ dataLabelFontBold?: boolean | null;
310
332
  subtotalIndices: number[];
311
333
  legendManualLayout?: LegendManualLayout | null;
312
334
  valAxisFormatCode?: string | null;
@@ -351,8 +373,12 @@ interface ChartModel {
351
373
  titleManualLayout?: ChartManualLayout | null;
352
374
  plotAreaManualLayout?: ChartManualLayout | null;
353
375
  scatterStyle?: string | null;
376
+ bubbleScale?: number | null;
377
+ bubbleSizeRepresents?: 'area' | 'w' | null;
378
+ showNegativeBubbles?: boolean | null;
354
379
  radarStyle?: string | null;
355
380
  secondaryValAxis?: SecondaryValueAxis | null;
381
+ secondaryCatAxis?: SecondaryValueAxis | null;
356
382
  date1904?: boolean;
357
383
  holeSize?: number | null;
358
384
  firstSliceAngle?: number | null;
@@ -370,6 +396,8 @@ interface ChartModel {
370
396
  valAxisOrientation?: 'minMax' | 'maxMin' | string | null;
371
397
  catAxisOrientation?: 'minMax' | 'maxMin' | string | null;
372
398
  catAxisTickLabelPos?: string | null;
399
+ catAxisTickLabelSkip?: number | null;
400
+ catAxisTickMarkSkip?: number | null;
373
401
  valAxisTickLabelPos?: string | null;
374
402
  catAxisLabelRotation?: number | null;
375
403
  stockHiLowLines?: boolean | null;
@@ -377,11 +405,39 @@ interface ChartModel {
377
405
  stockUpDownBars?: boolean | null;
378
406
  chartexBox?: ChartexBoxWhisker | null;
379
407
  chartexSunburst?: ChartexSunburst | null;
408
+ chartexTreemap?: ChartexTreemap | null;
380
409
  chartexAccents?: string[] | null;
410
+ chartexColorPalette?: Array<string | null> | null;
411
+ chartexColorStyleMethod?: string | null;
412
+ chartexDataPointStyle?: ChartExElementStyle | null;
413
+ chartexDataPointLineStyle?: ChartExElementStyle | null;
414
+ chartexDataPointMarkerStyle?: ChartExElementStyle | null;
415
+ }
416
+ interface ChartTextRun {
417
+ text: string;
418
+ fontSizeHpt?: number | null;
419
+ bold?: boolean | null;
420
+ color?: string | null;
421
+ fontFace?: string | null;
422
+ }
423
+ interface ChartTextParagraph {
424
+ runs: ChartTextRun[];
425
+ align?: 'l' | 'ctr' | 'r' | 'just' | 'dist' | string | null;
426
+ }
427
+ interface ChartTextBox {
428
+ x: number;
429
+ y: number;
430
+ w: number;
431
+ h: number;
432
+ paragraphs: ChartTextParagraph[];
433
+ verticalAnchor?: 't' | 'ctr' | 'b' | 'just' | 'dist' | string | null;
434
+ wrap?: 'none' | 'square' | string | null;
381
435
  }
382
436
  interface ChartexBoxSeries {
383
437
  name: string;
384
438
  color?: string | null;
439
+ lineColor?: string | null;
440
+ lineWidthEmu?: number | null;
385
441
  valuesByCategory: number[][];
386
442
  meanMarker: boolean;
387
443
  meanLine: boolean;
@@ -400,6 +456,10 @@ interface ChartexSunburstRow {
400
456
  interface ChartexSunburst {
401
457
  rows: ChartexSunburstRow[];
402
458
  }
459
+ interface ChartexTreemap {
460
+ rows: ChartexSunburstRow[];
461
+ parentLabelLayout?: string | null;
462
+ }
403
463
  interface SecondaryValueAxis {
404
464
  min: number | null;
405
465
  max: number | null;
@@ -418,8 +478,10 @@ interface SecondaryValueAxis {
418
478
  titleFontColor?: string | null;
419
479
  }
420
480
  interface ChartManualLayout {
421
- xMode: string;
422
- yMode: string;
481
+ xMode?: string;
482
+ yMode?: string;
483
+ wMode?: string;
484
+ hMode?: string;
423
485
  layoutTarget?: string;
424
486
  x: number;
425
487
  y: number;
@@ -427,8 +489,10 @@ interface ChartManualLayout {
427
489
  h?: number;
428
490
  }
429
491
  interface LegendManualLayout {
430
- xMode: string;
431
- yMode: string;
492
+ xMode?: string;
493
+ yMode?: string;
494
+ wMode?: string;
495
+ hMode?: string;
432
496
  x: number;
433
497
  y: number;
434
498
  w: number;
@@ -572,7 +636,7 @@ interface FindHighlightColors {
572
636
  active?: string;
573
637
  }
574
638
  //#endregion
575
- //#region dist/.types-work/xlsx-3u8ip-lC.d.ts
639
+ //#region dist/.types-work/xlsx-C3uqud8R.d.ts
576
640
  type ShapeFill = Exclude<Fill, {
577
641
  fillType: 'image';
578
642
  } | {
@@ -839,6 +903,7 @@ interface DataValidation {
839
903
  errorMessage?: string;
840
904
  }
841
905
  interface ChartAnchor {
906
+ zOrder?: number;
842
907
  fromCol: number;
843
908
  fromColOff: number;
844
909
  fromRow: number;
@@ -864,6 +929,7 @@ interface ShapeAnchor {
864
929
  shapes: ShapeInfo[];
865
930
  }
866
931
  interface ShapeInfo {
932
+ zOrder?: number;
867
933
  x: number;
868
934
  y: number;
869
935
  w: number;
@@ -997,6 +1063,7 @@ type PathCmd = {
997
1063
  op: 'close';
998
1064
  };
999
1065
  interface ImageAnchor {
1066
+ zOrder?: number;
1000
1067
  fromCol: number;
1001
1068
  fromColOff: number;
1002
1069
  fromRow: number;
@@ -1614,6 +1681,7 @@ declare class XlsxViewerEngine implements ZoomableViewer {
1614
1681
  private paintCornerGutter;
1615
1682
  private onGutterPointerDown;
1616
1683
  private applyGroupToggle;
1684
+ private scrollOutlineSummaryToStart;
1617
1685
  private applyLevelButton;
1618
1686
  private setBandHidden;
1619
1687
  private recordSizeOverride;
@@ -1784,4 +1852,4 @@ declare class XlsxSheetViewer implements ZoomableViewer {
1784
1852
  }
1785
1853
  declare function resolveSharedStrings(ws: Worksheet, sharedStrings: SharedString[]): Worksheet;
1786
1854
  //#endregion
1787
- export { type ArrowEnd, type AutoResizeOptions, type Border, type BorderEdge, type Cell, type CellAddress, type CellFill, type CellFont, type CellValue, type CellXf, type CfIcon, type CfRule, type CfStop, type CfValue, type ChartAnchor, type ChartDataLabelOverride, type ChartDataPointOverride, type ChartErrBars, type ChartLabelBox, type ChartManualLayout, type ChartModel, type ChartRect, type ChartSeries, type ChartSeriesDataLabels, type ChartTrendline, type ChartType, type ChartexBoxSeries, type ChartexBoxWhisker, type ChartexSunburst, type ChartexSunburstRow, type ConditionalFormat, type DataValidation, type DefinedName, type Duotone, type Dxf, type FillRect, type FindHighlightColors, type FindMatch, type FindMatchesOptions, type GradientFill, type GradientFillSpec, type GradientStop, type HiddenSheetMode, type Hyperlink, type HyperlinkTarget, type ImageAnchor, type LegendManualLayout, type LoadOptions, MAX_SELECTION_AREAS, MAX_SELECTION_CONTEXT_CELLS, MAX_SELECTION_CONTEXT_TEXT_CHARACTERS, type MathAccent, type MathArray, type MathBar, type MathBorderBox, type MathBox, type MathDelimiter, type MathFraction, type MathFunc, type MathGroup, type MathGroupChr, type MathLimit, type MathNary, type MathNode, type MathPhant, type MathRadical, type MathRenderer, type MathRun, type MathSPre, type MathScript, type MathStyle, type MathSvg, type MergeCell, type NumFmt, OoxmlDecodedImageLimitError, type OoxmlDecodedImageLimitMetric, OoxmlError, type OoxmlErrorCode, type OoxmlErrorStage, type OoxmlFormat, type OoxmlResourceLimit, OoxmlResourceLimitError, type OoxmlResourceLimitErrorDetails, type OoxmlResourceLimits, type OoxmlResourceMetric, type OoxmlResourceMetrics, type OoxmlResourceMetricsCheckpoint, type OoxmlResourceName, type OoxmlResourcePolicySnapshot, type OoxmlResourceUsageSnapshot, type OoxmlResourceViolation, type OutlinePr, type ParsedWorkbook, type PathCmd, type PathInfo, type PatternFill, type PhoneticAlignment, type PhoneticProperties, type PhoneticRun, type PhoneticType, type PivotCacheSource, type PivotDataField, type PivotDiagnostic, type PivotLocation, type PivotMetadataStatus, type PivotPageField, type PivotPartialReason, type PivotTableMetadata, type RenderViewportToBitmapOptions, type ResolvedList, type Row, type Run, type RunFont, type SecondaryValueAxis, type ShapeAnchor, type ShapeFill, type ShapeGeom, type ShapeInfo, type ShapeParagraph, type ShapeText, type ShapeTextRun, type SharedString, type SheetMeta, type SheetVisibility, type SlicerAnchor, type SlicerElementStyle, type SlicerItem, type SlicerStyle, type SolidFill, type SpaceLine, type Sparkline, type SparklineGroup, type Styles, type TableColumnInfo, type TableInfo, type ViewerContextMenuEvent, type ViewportRange, type Workbook, type Worksheet, type WorksheetCellRange, type XlsxComment, type XlsxCopyResult, type XlsxElementAnchorMarker, type XlsxElementContext, type XlsxMatchLocation, type XlsxRangeSelectionContext, type XlsxRenderViewportOptions, type XlsxScrollToCellOptions, type XlsxSelectionArea, type XlsxSelectionContext, type XlsxSelectionContextCell, type XlsxSelectionContextOptions, type XlsxSelectionInput, type XlsxSelectionState, XlsxSheetViewer, type XlsxSheetViewerOptions, type XlsxTextRunInfo, XlsxViewer, type XlsxViewerOptions, type XlsxViewportOffset, XlsxWorkbook, type ZoomableViewer, autoResize, isOoxmlDecodedImageLimitError, openExternalHyperlink, resolveSharedStrings };
1855
+ export { type ArrowEnd, type AutoResizeOptions, type Border, type BorderEdge, type Cell, type CellAddress, type CellFill, type CellFont, type CellValue, type CellXf, type CfIcon, type CfRule, type CfStop, type CfValue, type ChartAnchor, type ChartDataLabelOverride, type ChartDataPointOverride, 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 ConditionalFormat, type DataValidation, type DefinedName, type Duotone, type Dxf, type FillRect, type FindHighlightColors, type FindMatch, type FindMatchesOptions, type GradientFill, type GradientFillSpec, type GradientStop, type HiddenSheetMode, type Hyperlink, type HyperlinkTarget, type ImageAnchor, type LegendManualLayout, type LoadOptions, MAX_SELECTION_AREAS, MAX_SELECTION_CONTEXT_CELLS, MAX_SELECTION_CONTEXT_TEXT_CHARACTERS, type MathAccent, type MathArray, type MathBar, type MathBorderBox, type MathBox, type MathDelimiter, type MathFraction, type MathFunc, type MathGroup, type MathGroupChr, type MathLimit, type MathNary, type MathNode, type MathPhant, type MathRadical, type MathRenderer, type MathRun, type MathSPre, type MathScript, type MathStyle, type MathSvg, type MergeCell, type NumFmt, OoxmlDecodedImageLimitError, type OoxmlDecodedImageLimitMetric, OoxmlError, type OoxmlErrorCode, type OoxmlErrorStage, type OoxmlFormat, type OoxmlResourceLimit, OoxmlResourceLimitError, type OoxmlResourceLimitErrorDetails, type OoxmlResourceLimits, type OoxmlResourceMetric, type OoxmlResourceMetrics, type OoxmlResourceMetricsCheckpoint, type OoxmlResourceName, type OoxmlResourcePolicySnapshot, type OoxmlResourceUsageSnapshot, type OoxmlResourceViolation, type OutlinePr, type ParsedWorkbook, type PathCmd, type PathInfo, type PatternFill, type PhoneticAlignment, type PhoneticProperties, type PhoneticRun, type PhoneticType, type PivotCacheSource, type PivotDataField, type PivotDiagnostic, type PivotLocation, type PivotMetadataStatus, type PivotPageField, type PivotPartialReason, type PivotTableMetadata, type RenderViewportToBitmapOptions, type ResolvedList, type Row, type Run, type RunFont, type SecondaryValueAxis, type ShapeAnchor, type ShapeFill, type ShapeGeom, type ShapeInfo, type ShapeParagraph, type ShapeText, type ShapeTextRun, type SharedString, type SheetMeta, type SheetVisibility, type SlicerAnchor, type SlicerElementStyle, type SlicerItem, type SlicerStyle, type SolidFill, type SpaceLine, type Sparkline, type SparklineGroup, type Styles, type TableColumnInfo, type TableInfo, type ViewerContextMenuEvent, type ViewportRange, type Workbook, type Worksheet, type WorksheetCellRange, type XlsxComment, type XlsxCopyResult, type XlsxElementAnchorMarker, type XlsxElementContext, type XlsxMatchLocation, type XlsxRangeSelectionContext, type XlsxRenderViewportOptions, type XlsxScrollToCellOptions, type XlsxSelectionArea, type XlsxSelectionContext, type XlsxSelectionContextCell, type XlsxSelectionContextOptions, type XlsxSelectionInput, type XlsxSelectionState, XlsxSheetViewer, type XlsxSheetViewerOptions, type XlsxTextRunInfo, XlsxViewer, type XlsxViewerOptions, type XlsxViewportOffset, XlsxWorkbook, type ZoomableViewer, autoResize, isOoxmlDecodedImageLimitError, openExternalHyperlink, resolveSharedStrings };
@@ -1,5 +1,5 @@
1
- import { $ as e, F as t, I as n, N as r, P as i, Q as a, X as o, Y as s, Z as c, et as l, gn as u, nt as d, ot as f, rt as p, tt as m } from "./line-metrics-B66x33iy.js";
2
- import { n as h, r as g, t as _ } from "./resource-measurement-CVfVTQrt.js";
1
+ import { $ as e, F as t, I as n, N as r, P as i, Q as a, X as o, Y as s, Z as c, et as l, gn as u, nt as d, ot as f, rt as p, tt as m } from "./line-metrics-z9AdgPaZ.js";
2
+ import { n as h, r as g, t as _ } from "./resource-measurement-5g27Av6n.js";
3
3
  import { t as v } from "./transfer-DCu4c2BL.js";
4
4
  //#region packages/xlsx/src/worksheet-resource-limits.ts
5
5
  var y = d, b = e, x = l, S = m, C = a, w = s, T = o, E = c, D = Object.freeze({