@silurus/ooxml 0.77.1 → 0.78.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 (33) hide show
  1. package/README.md +2 -2
  2. package/dist/{canvas-viewer-mechanics-D5zXbOrS.js → canvas-viewer-mechanics-B4K_t5X_.js} +1 -1
  3. package/dist/{document-pull-client-CC8pPuzi.js → document-pull-client-5AakVD6e.js} +3137 -3016
  4. package/dist/{docx-Dg9N9OX4.js → docx-bjhRwb2u.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-BVFW1-Hs.js} +1 -1
  9. package/dist/{line-metrics-B66x33iy.js → line-metrics-DS0NS2Iq.js} +2615 -1807
  10. package/dist/node.mjs +7 -7
  11. package/dist/{pptx-BFP7Isgf.js → pptx-D1rCrHGR.js} +5 -5
  12. package/dist/pptx.mjs +4 -4
  13. package/dist/pptx_parser_bg.wasm +0 -0
  14. package/dist/{render-D-cOpMLV.js → render-DhlT5jxZ.js} +1 -1
  15. package/dist/render-worker-host-CtJo7hc9.js +27 -0
  16. package/dist/render-worker-host-D8vv-Asx.js +27 -0
  17. package/dist/render-worker-host-DAjG9nmw.js +27 -0
  18. package/dist/{resource-measurement-CVfVTQrt.js → resource-measurement-BA-4Q-II.js} +1 -1
  19. package/dist/{session-DxAVpIP-.js → session-C_HGxbRD.js} +2 -2
  20. package/dist/{slide-pull-client-Lag44QA8.js → slide-pull-client-BiC4sVGi.js} +642 -580
  21. package/dist/types/docx.d.ts +102 -8
  22. package/dist/types/index.d.ts +89 -12
  23. package/dist/types/node.d.ts +82 -6
  24. package/dist/types/pptx.d.ts +76 -8
  25. package/dist/types/xlsx.d.ts +85 -8
  26. package/dist/{worksheet-pull-client-D74b_23i.js → worksheet-pull-client-BnvgeqfG.js} +2 -2
  27. package/dist/{xlsx-Bik59Raj.js → xlsx-BG_WYSc0.js} +1383 -1056
  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-DpimohAS.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,43 @@ 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;
609
+ lIns?: number;
610
+ tIns?: number;
611
+ rIns?: number;
612
+ bIns?: number;
555
613
  }
556
614
  interface ChartexBoxSeries {
557
615
  name: string;
558
616
  color?: string | null;
617
+ lineColor?: string | null;
618
+ lineWidthEmu?: number | null;
559
619
  valuesByCategory: number[][];
560
620
  meanMarker: boolean;
561
621
  meanLine: boolean;
@@ -574,6 +634,10 @@ interface ChartexSunburstRow {
574
634
  interface ChartexSunburst {
575
635
  rows: ChartexSunburstRow[];
576
636
  }
637
+ interface ChartexTreemap {
638
+ rows: ChartexSunburstRow[];
639
+ parentLabelLayout?: string | null;
640
+ }
577
641
  interface SecondaryValueAxis {
578
642
  min: number | null;
579
643
  max: number | null;
@@ -592,8 +656,10 @@ interface SecondaryValueAxis {
592
656
  titleFontColor?: string | null;
593
657
  }
594
658
  interface ChartManualLayout {
595
- xMode: string;
596
- yMode: string;
659
+ xMode?: string;
660
+ yMode?: string;
661
+ wMode?: string;
662
+ hMode?: string;
597
663
  layoutTarget?: string;
598
664
  x: number;
599
665
  y: number;
@@ -601,8 +667,10 @@ interface ChartManualLayout {
601
667
  h?: number;
602
668
  }
603
669
  interface LegendManualLayout {
604
- xMode: string;
605
- yMode: string;
670
+ xMode?: string;
671
+ yMode?: string;
672
+ wMode?: string;
673
+ hMode?: string;
606
674
  x: number;
607
675
  y: number;
608
676
  w: number;
@@ -1730,6 +1798,11 @@ interface Worksheet {
1730
1798
  name: string;
1731
1799
  rows: Row[];
1732
1800
  colWidths: Record<number, number>;
1801
+ colWidthRanges?: Array<{
1802
+ min: number;
1803
+ max: number;
1804
+ width: number;
1805
+ }>;
1733
1806
  rowHeights: Record<number, number>;
1734
1807
  colOutlineLevels?: Record<number, number>;
1735
1808
  colCollapsed?: Record<number, boolean>;
@@ -1968,6 +2041,7 @@ interface DataValidation {
1968
2041
  errorMessage?: string;
1969
2042
  }
1970
2043
  interface ChartAnchor {
2044
+ zOrder?: number;
1971
2045
  fromCol: number;
1972
2046
  fromColOff: number;
1973
2047
  fromRow: number;
@@ -1993,6 +2067,7 @@ interface ShapeAnchor {
1993
2067
  shapes: ShapeInfo[];
1994
2068
  }
1995
2069
  interface ShapeInfo {
2070
+ zOrder?: number;
1996
2071
  x: number;
1997
2072
  y: number;
1998
2073
  w: number;
@@ -2126,6 +2201,7 @@ type PathCmd = {
2126
2201
  op: 'close';
2127
2202
  };
2128
2203
  interface ImageAnchor {
2204
+ zOrder?: number;
2129
2205
  fromCol: number;
2130
2206
  fromColOff: number;
2131
2207
  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-DpimohAS.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,43 @@ 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;
632
+ lIns?: number;
633
+ tIns?: number;
634
+ rIns?: number;
635
+ bIns?: number;
578
636
  }
579
637
  interface ChartexBoxSeries {
580
638
  name: string;
581
639
  color?: string | null;
640
+ lineColor?: string | null;
641
+ lineWidthEmu?: number | null;
582
642
  valuesByCategory: number[][];
583
643
  meanMarker: boolean;
584
644
  meanLine: boolean;
@@ -597,6 +657,10 @@ interface ChartexSunburstRow {
597
657
  interface ChartexSunburst {
598
658
  rows: ChartexSunburstRow[];
599
659
  }
660
+ interface ChartexTreemap {
661
+ rows: ChartexSunburstRow[];
662
+ parentLabelLayout?: string | null;
663
+ }
600
664
  interface SecondaryValueAxis {
601
665
  min: number | null;
602
666
  max: number | null;
@@ -615,8 +679,10 @@ interface SecondaryValueAxis {
615
679
  titleFontColor?: string | null;
616
680
  }
617
681
  interface ChartManualLayout {
618
- xMode: string;
619
- yMode: string;
682
+ xMode?: string;
683
+ yMode?: string;
684
+ wMode?: string;
685
+ hMode?: string;
620
686
  layoutTarget?: string;
621
687
  x: number;
622
688
  y: number;
@@ -624,8 +690,10 @@ interface ChartManualLayout {
624
690
  h?: number;
625
691
  }
626
692
  interface LegendManualLayout {
627
- xMode: string;
628
- yMode: string;
693
+ xMode?: string;
694
+ yMode?: string;
695
+ wMode?: string;
696
+ hMode?: string;
629
697
  x: number;
630
698
  y: number;
631
699
  w: number;
@@ -778,7 +846,7 @@ interface FindHighlightColors {
778
846
  active?: string;
779
847
  }
780
848
  //#endregion
781
- //#region dist/.types-work/pptx-DjMlRXaq.d.ts
849
+ //#region dist/.types-work/pptx-BlL9ibzB.d.ts
782
850
  interface BlipBullet {
783
851
  type: 'blip';
784
852
  imagePath: string;
@@ -1413,4 +1481,4 @@ interface PptxHighlightMatch {
1413
1481
  type PptxHighlightColors = FindHighlightColors;
1414
1482
  declare function buildPptxHighlightLayer(layer: HTMLDivElement, runs: PptxTextRunInfo[], matches: PptxHighlightMatch[], cssWidth: number, cssHeight: number, measureForFont: (font: string) => (s: string) => number, colors?: PptxHighlightColors): void;
1415
1483
  //#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 };
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 };
@@ -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-DpimohAS.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,43 @@ 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;
435
+ lIns?: number;
436
+ tIns?: number;
437
+ rIns?: number;
438
+ bIns?: number;
381
439
  }
382
440
  interface ChartexBoxSeries {
383
441
  name: string;
384
442
  color?: string | null;
443
+ lineColor?: string | null;
444
+ lineWidthEmu?: number | null;
385
445
  valuesByCategory: number[][];
386
446
  meanMarker: boolean;
387
447
  meanLine: boolean;
@@ -400,6 +460,10 @@ interface ChartexSunburstRow {
400
460
  interface ChartexSunburst {
401
461
  rows: ChartexSunburstRow[];
402
462
  }
463
+ interface ChartexTreemap {
464
+ rows: ChartexSunburstRow[];
465
+ parentLabelLayout?: string | null;
466
+ }
403
467
  interface SecondaryValueAxis {
404
468
  min: number | null;
405
469
  max: number | null;
@@ -418,8 +482,10 @@ interface SecondaryValueAxis {
418
482
  titleFontColor?: string | null;
419
483
  }
420
484
  interface ChartManualLayout {
421
- xMode: string;
422
- yMode: string;
485
+ xMode?: string;
486
+ yMode?: string;
487
+ wMode?: string;
488
+ hMode?: string;
423
489
  layoutTarget?: string;
424
490
  x: number;
425
491
  y: number;
@@ -427,8 +493,10 @@ interface ChartManualLayout {
427
493
  h?: number;
428
494
  }
429
495
  interface LegendManualLayout {
430
- xMode: string;
431
- yMode: string;
496
+ xMode?: string;
497
+ yMode?: string;
498
+ wMode?: string;
499
+ hMode?: string;
432
500
  x: number;
433
501
  y: number;
434
502
  w: number;
@@ -572,7 +640,7 @@ interface FindHighlightColors {
572
640
  active?: string;
573
641
  }
574
642
  //#endregion
575
- //#region dist/.types-work/xlsx-3u8ip-lC.d.ts
643
+ //#region dist/.types-work/xlsx-Cog67KEJ.d.ts
576
644
  type ShapeFill = Exclude<Fill, {
577
645
  fillType: 'image';
578
646
  } | {
@@ -601,6 +669,11 @@ interface Worksheet {
601
669
  name: string;
602
670
  rows: Row[];
603
671
  colWidths: Record<number, number>;
672
+ colWidthRanges?: Array<{
673
+ min: number;
674
+ max: number;
675
+ width: number;
676
+ }>;
604
677
  rowHeights: Record<number, number>;
605
678
  colOutlineLevels?: Record<number, number>;
606
679
  colCollapsed?: Record<number, boolean>;
@@ -839,6 +912,7 @@ interface DataValidation {
839
912
  errorMessage?: string;
840
913
  }
841
914
  interface ChartAnchor {
915
+ zOrder?: number;
842
916
  fromCol: number;
843
917
  fromColOff: number;
844
918
  fromRow: number;
@@ -864,6 +938,7 @@ interface ShapeAnchor {
864
938
  shapes: ShapeInfo[];
865
939
  }
866
940
  interface ShapeInfo {
941
+ zOrder?: number;
867
942
  x: number;
868
943
  y: number;
869
944
  w: number;
@@ -997,6 +1072,7 @@ type PathCmd = {
997
1072
  op: 'close';
998
1073
  };
999
1074
  interface ImageAnchor {
1075
+ zOrder?: number;
1000
1076
  fromCol: number;
1001
1077
  fromColOff: number;
1002
1078
  fromRow: number;
@@ -1614,6 +1690,7 @@ declare class XlsxViewerEngine implements ZoomableViewer {
1614
1690
  private paintCornerGutter;
1615
1691
  private onGutterPointerDown;
1616
1692
  private applyGroupToggle;
1693
+ private scrollOutlineSummaryToStart;
1617
1694
  private applyLevelButton;
1618
1695
  private setBandHidden;
1619
1696
  private recordSizeOverride;
@@ -1784,4 +1861,4 @@ declare class XlsxSheetViewer implements ZoomableViewer {
1784
1861
  }
1785
1862
  declare function resolveSharedStrings(ws: Worksheet, sharedStrings: SharedString[]): Worksheet;
1786
1863
  //#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 };
1864
+ 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-DS0NS2Iq.js";
2
+ import { n as h, r as g, t as _ } from "./resource-measurement-BA-4Q-II.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({