@silurus/ooxml 0.80.3 → 0.82.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 (67) hide show
  1. package/README.md +61 -85
  2. package/dist/assets/render-worker-7-Zr7fSw.js +10 -0
  3. package/dist/assets/render-worker-B5gsW6b5.js +11 -0
  4. package/dist/assets/render-worker-Dw_wQRIh.js +24 -0
  5. package/dist/{canvas-viewer-mechanics-D-r6wHY_.js → canvas-viewer-mechanics-CS_qbr6T.js} +1 -1
  6. package/dist/chart-ex.mjs +1017 -0
  7. package/dist/comment-occurrence-C34fWs_F.js +6 -0
  8. package/dist/comment-ui-runtime-BAe30Ct9.js +112 -0
  9. package/dist/comment-ui-runtime-BUCj4hWn.js +171 -0
  10. package/dist/comment-ui-runtime-F4a3te6p.js +2 -0
  11. package/dist/comments-Cf9W7r3M.js +241 -0
  12. package/dist/{document-pull-client-vxk-Aomu.js → document-pull-client-BCgmytqI.js} +4682 -4541
  13. package/dist/docx-wokGKYfi.js +2162 -0
  14. package/dist/docx.mjs +6 -4
  15. package/dist/docx_parser_bg.wasm +0 -0
  16. package/dist/dom-interaction-boundary-C8F6HO5x.js +119 -0
  17. package/dist/highlight-rect-MaCt0om0.js +13 -0
  18. package/dist/index.mjs +3 -3
  19. package/dist/{line-distribute-Bvtp0Gt6.js → line-distribute-iXsUCIH-.js} +17 -16
  20. package/dist/{line-metrics-DdEJYxjx.js → line-metrics-B3syvDn2.js} +667 -7492
  21. package/dist/math.mjs +2 -2
  22. package/dist/node.mjs +248 -247
  23. package/dist/plot-area-frame-DHV02PJU.js +3670 -0
  24. package/dist/pptx-DU8L8I2T.js +2432 -0
  25. package/dist/pptx.mjs +6 -5
  26. package/dist/pptx_parser_bg.wasm +0 -0
  27. package/dist/read-only-comment-decoration-DcFevX_Q.js +96 -0
  28. package/dist/read-only-comment-margin-Dn2y55W6.js +189 -0
  29. package/dist/region-map.mjs +102 -97
  30. package/dist/{render-CoqMHcbF.js → render-CenWM4g1.js} +1 -1
  31. package/dist/{render-worker-host-IuQFpoJM.js → render-worker-host-BNENN3qP.js} +1 -1
  32. package/dist/{render-worker-host-CYPhmBtX.js → render-worker-host-BmH3kGSj.js} +1 -1
  33. package/dist/{render-worker-host-GlLR1rtF.js → render-worker-host-CmPBviYJ.js} +1 -1
  34. package/dist/renderer-CYr9YTXM.js +5856 -0
  35. package/dist/{renderer-module-contract-BNGz8HvO.js → renderer-module-contract-DLbb7zY0.js} +4 -3
  36. package/dist/{resource-measurement-CgMubiAI.js → resource-measurement-CsW4_eYt.js} +12 -11
  37. package/dist/{session-DkPblDiq.js → session-Cky_swUj.js} +8 -8
  38. package/dist/{slide-pull-client-m2blvngt.js → slide-pull-client-CqTVFb3W.js} +1004 -1091
  39. package/dist/source-key-BklvnEyQ.js +42 -0
  40. package/dist/three-d-7MaVzQuZ.js +1346 -0
  41. package/dist/three-d.mjs +1238 -797
  42. package/dist/types/chart-ex.d.ts +949 -0
  43. package/dist/types/docx.d.ts +497 -28
  44. package/dist/types/index.d.ts +649 -39
  45. package/dist/types/math.d.ts +1 -1
  46. package/dist/types/node.d.ts +385 -22
  47. package/dist/types/pptx.d.ts +435 -24
  48. package/dist/types/region-map.d.ts +318 -6
  49. package/dist/types/three-d.d.ts +318 -6
  50. package/dist/types/xlsx.d.ts +384 -19
  51. package/dist/units-BzZ0gAxs.js +4 -0
  52. package/dist/{worksheet-pull-client-BntP6RiO.js → worksheet-pull-client-CYtwXP5D.js} +19 -19
  53. package/dist/{xlsx-DqMe7J2C.js → xlsx-DlV37-0j.js} +1594 -1349
  54. package/dist/xlsx.mjs +6 -5
  55. package/dist/xlsx_parser_bg.wasm +0 -0
  56. package/package.json +7 -1
  57. package/dist/assets/render-worker-CRaEOHkw.js +0 -9
  58. package/dist/assets/render-worker-DQGLj5Zv.js +0 -22
  59. package/dist/assets/render-worker-rnrSLmqL.js +0 -8
  60. package/dist/chart-number-format-qLhnk6hj.js +0 -475
  61. package/dist/docx-DN0PRx2f.js +0 -1733
  62. package/dist/highlight-rect-BuX5rWP4.js +0 -48
  63. package/dist/pptx-B-Laftl1.js +0 -2134
  64. package/dist/three-d-C28kqDym.js +0 -1086
  65. /package/dist/{mathjax-DgAl7Yi5.js → mathjax-DwIrafQ6.js} +0 -0
  66. /package/dist/{transfer-CKZ79zFw.js → transfer-R6NjgBKD.js} +0 -0
  67. /package/dist/{visible-index-BjesVGhg.js → visible-index-BFE3PWiY.js} +0 -0
@@ -1,4 +1,4 @@
1
- //#region dist/.types-work/chart-Cv7Lx8lu.d.ts
1
+ //#region dist/.types-work/chart-qJPl2r8m.d.ts
2
2
  type MathStyle = 'roman' | 'italic' | 'bold' | 'boldItalic';
3
3
  interface MathRun {
4
4
  kind: 'run';
@@ -107,6 +107,12 @@ interface Duotone$1 {
107
107
  clr1: string;
108
108
  clr2: string;
109
109
  }
110
+ interface SrcRect {
111
+ l: number;
112
+ t: number;
113
+ r: number;
114
+ b: number;
115
+ }
110
116
  type PathCmd$2 = {
111
117
  cmd: 'moveTo';
112
118
  x: number;
@@ -175,18 +181,23 @@ interface FillRect {
175
181
  b?: number;
176
182
  }
177
183
  interface TileInfo {
178
- tx: number;
179
- ty: number;
180
- sx: number;
181
- sy: number;
182
- flip: string;
184
+ tx?: number;
185
+ ty?: number;
186
+ sx?: number;
187
+ sy?: number;
188
+ flip?: string;
183
189
  algn?: string;
184
190
  }
185
191
  interface ImageFill {
186
192
  fillType: 'image';
187
193
  imagePath: string;
194
+ svgImagePath?: string;
188
195
  mimeType: string;
196
+ dpi?: number;
197
+ rotWithShape?: boolean;
198
+ srcRect?: SrcRect;
189
199
  fillRect?: FillRect;
200
+ stretch?: boolean;
190
201
  tile?: TileInfo;
191
202
  alpha?: number;
192
203
  duotone?: Duotone$1;
@@ -237,10 +248,7 @@ interface Stroke {
237
248
  fillType: 'none';
238
249
  }>;
239
250
  dashStyle?: string;
240
- customDash?: ReadonlyArray<{
241
- dash: number;
242
- space: number;
243
- }>;
251
+ customDash?: ReadonlyArray<DrawingMLCustomDashSegment>;
244
252
  lineCap?: 'butt' | 'round' | 'square';
245
253
  lineJoin?: 'round' | 'bevel' | 'miter';
246
254
  miterLimit?: number;
@@ -249,6 +257,10 @@ interface Stroke {
249
257
  tailEnd?: ArrowEnd;
250
258
  cmpd?: string;
251
259
  }
260
+ interface DrawingMLCustomDashSegment {
261
+ dash: number;
262
+ space: number;
263
+ }
252
264
  interface TextBody$1 {
253
265
  verticalAnchor: string;
254
266
  paragraphs: Paragraph$1[];
@@ -367,18 +379,24 @@ interface ChartSeries {
367
379
  automaticNegativeStyle?: boolean | null;
368
380
  invertedFill?: SolidFill | GradientFill | PatternFill | null;
369
381
  invertedFillHidden?: boolean | null;
382
+ invertedFillAuthored?: boolean | null;
370
383
  invertedLineColor?: string | null;
371
384
  invertedLineWidthEmu?: number | null;
372
385
  invertedLineHidden?: boolean | null;
386
+ invertedLineAuthored?: boolean | null;
373
387
  chartexStyle?: ChartExElementStyle | null;
374
388
  lineColor?: string | null;
375
389
  lineWidthEmu?: number | null;
376
390
  threeDShape?: 'box' | 'cylinder' | 'cone' | 'coneToMax' | 'pyramid' | 'pyramidToMax' | string | null;
377
391
  values: (number | null)[];
392
+ sourceHidden?: boolean[] | null;
378
393
  dataPointColors?: (string | null)[] | null;
394
+ explosion?: number | null;
379
395
  dataLabelColors?: (string | null)[] | null;
380
396
  labelColor?: string | null;
381
397
  seriesType?: string | null;
398
+ lineGroupIndex?: number | null;
399
+ areaGroupIndex?: number | null;
382
400
  barGroupIndex?: number | null;
383
401
  barGroupDirection?: 'bar' | 'col' | string | null;
384
402
  barGroupGrouping?: 'standard' | 'clustered' | 'stacked' | 'percentStacked' | string | null;
@@ -386,14 +404,18 @@ interface ChartSeries {
386
404
  barGroupOverlap?: number | null;
387
405
  useSecondaryAxis?: boolean | null;
388
406
  categories?: string[] | null;
407
+ bubbleXSourceIsString?: boolean | null;
389
408
  showMarker?: boolean | null;
390
409
  valFormatCode?: string | null;
391
410
  catFormatCode?: string | null;
392
411
  catFormatBuiltinId?: number | null;
393
412
  catFormatCodes?: (string | null)[] | null;
394
413
  markerSymbol?: string | null;
414
+ automaticMarkerSymbol?: string | null;
395
415
  markerSize?: number | null;
396
416
  markerFill?: string | null;
417
+ markerFillPaint?: Fill | null;
418
+ markerFillPaintAuthored?: boolean | null;
397
419
  markerLine?: string | null;
398
420
  markerLineWidthEmu?: number | null;
399
421
  dataPointOverrides?: ChartDataPointOverride[] | null;
@@ -401,6 +423,8 @@ interface ChartSeries {
401
423
  seriesDataLabels?: ChartSeriesDataLabels | null;
402
424
  errBars?: ChartErrBars[] | null;
403
425
  bubbleSizes?: (number | null)[] | null;
426
+ bubble3DGroupDefault?: boolean | null;
427
+ bubble3D?: boolean | null;
404
428
  smooth?: boolean | null;
405
429
  trendLines?: ChartTrendline[] | null;
406
430
  lineHidden?: boolean | null;
@@ -417,13 +441,27 @@ interface ChartTrendline {
417
441
  dispEq?: boolean | null;
418
442
  labelManualLayout?: ChartManualLayout | null;
419
443
  labelText?: string | null;
444
+ labelRichRuns?: ChartTextRun[] | null;
420
445
  labelFormatCode?: string | null;
421
446
  labelFormatSourceLinked?: boolean | null;
422
447
  labelFontSizeHpt?: number | null;
423
448
  labelFontBold?: boolean | null;
424
449
  labelFontItalic?: boolean | null;
425
450
  labelFontColor?: string | null;
451
+ labelFontPaintAuthored?: boolean | null;
452
+ labelFontHidden?: boolean | null;
426
453
  labelFontFace?: string | null;
454
+ labelFontLanguage?: string | null;
455
+ labelFontBaseline?: number | null;
456
+ labelTextRotation?: number | null;
457
+ labelTextWrap?: string | null;
458
+ labelTextVerticalAnchor?: string | null;
459
+ labelTextVerticalMode?: string | null;
460
+ labelTextLInsEmu?: number | null;
461
+ labelTextTInsEmu?: number | null;
462
+ labelTextRInsEmu?: number | null;
463
+ labelTextBInsEmu?: number | null;
464
+ labelTextBodyAuthored?: boolean | null;
427
465
  labelBox?: ChartLabelBox | null;
428
466
  labelTextAlign?: string | null;
429
467
  lineColor?: string | null;
@@ -435,6 +473,7 @@ interface ChartDataPointOverride {
435
473
  idx: number;
436
474
  color?: string;
437
475
  fillHidden?: boolean;
476
+ chartexStyle?: ChartExElementStyle | null;
438
477
  lineColor?: string;
439
478
  lineWidthEmu?: number;
440
479
  lineDash?: string;
@@ -442,8 +481,11 @@ interface ChartDataPointOverride {
442
481
  markerSymbol?: string;
443
482
  markerSize?: number;
444
483
  markerFill?: string;
484
+ markerFillPaint?: Fill | null;
485
+ markerFillPaintAuthored?: boolean | null;
445
486
  markerLine?: string;
446
487
  markerLineWidthEmu?: number;
488
+ bubble3D?: boolean | null;
447
489
  explosion?: number;
448
490
  }
449
491
  interface ChartDataLabelOverride {
@@ -452,9 +494,24 @@ interface ChartDataLabelOverride {
452
494
  richRuns?: ChartTextRun[];
453
495
  position?: string;
454
496
  fontColor?: string;
497
+ fontPaintAuthored?: boolean;
498
+ fontHidden?: boolean;
455
499
  fontSizeHpt?: number;
456
500
  fontFace?: string;
457
501
  fontBold?: boolean;
502
+ fontItalic?: boolean;
503
+ fontLanguage?: string;
504
+ fontBaseline?: number;
505
+ textRotation?: number;
506
+ textWrap?: string;
507
+ textVerticalAnchor?: string;
508
+ textVerticalMode?: string;
509
+ textLInsEmu?: number;
510
+ textTInsEmu?: number;
511
+ textRInsEmu?: number;
512
+ textBInsEmu?: number;
513
+ textBodyAuthored?: boolean;
514
+ textAlign?: 'l' | 'ctr' | 'r' | 'just' | 'dist' | string;
458
515
  formatCode?: string;
459
516
  separator?: string;
460
517
  manualLayout?: ChartManualLayout;
@@ -463,29 +520,63 @@ interface ChartDataLabelOverride {
463
520
  showCatName?: boolean;
464
521
  showSerName?: boolean;
465
522
  showPercent?: boolean;
523
+ showBubbleSize?: boolean;
524
+ showLegendKey?: boolean;
466
525
  deleted?: boolean;
467
526
  }
468
527
  interface ChartLabelBox {
469
528
  fill?: string;
529
+ fillPaint?: SolidFill | GradientFill | PatternFill | null;
530
+ fillHidden?: boolean | null;
531
+ fillPaintAuthored?: boolean | null;
470
532
  borderColor?: string;
533
+ borderFill?: SolidFill | GradientFill | PatternFill | null;
471
534
  borderWidthEmu?: number;
535
+ borderHidden?: boolean | null;
536
+ borderPaintAuthored?: boolean | null;
537
+ borderDash?: string | null;
538
+ borderDashAuthored?: boolean | null;
539
+ borderCustomDash?: ChartLineDashSegment[] | null;
540
+ borderCap?: string | null;
541
+ borderJoin?: string | null;
542
+ borderCompound?: string | null;
472
543
  }
473
544
  interface ChartSeriesDataLabels {
545
+ deleted?: boolean | null;
474
546
  showVal: boolean;
475
547
  showCatName: boolean;
476
548
  showSerName: boolean;
477
549
  showPercent: boolean;
550
+ showBubbleSize?: boolean;
551
+ showLegendKey?: boolean;
478
552
  position?: string;
479
553
  fontColor?: string;
554
+ fontPaintAuthored?: boolean;
555
+ fontHidden?: boolean;
480
556
  formatCode?: string;
481
557
  separator?: string;
482
558
  fontBold?: boolean;
559
+ fontItalic?: boolean;
560
+ fontLanguage?: string;
561
+ fontBaseline?: number;
483
562
  fontSizeHpt?: number;
484
563
  fontFace?: string;
564
+ textRotation?: number;
565
+ textWrap?: string;
566
+ textVerticalAnchor?: string;
567
+ textVerticalMode?: string;
568
+ textLInsEmu?: number;
569
+ textTInsEmu?: number;
570
+ textRInsEmu?: number;
571
+ textBInsEmu?: number;
572
+ textBodyAuthored?: boolean;
573
+ textAlign?: 'l' | 'ctr' | 'r' | 'just' | 'dist' | string;
485
574
  labelBox?: ChartLabelBox;
486
575
  showLeaderLines?: boolean;
487
576
  leaderLineColor?: string;
488
577
  leaderLineWidthEmu?: number;
578
+ leaderLineHidden?: boolean;
579
+ leaderLineDash?: string;
489
580
  }
490
581
  interface ChartErrBars {
491
582
  dir: string;
@@ -496,25 +587,73 @@ interface ChartErrBars {
496
587
  color?: string;
497
588
  lineWidthEmu?: number;
498
589
  dash?: string;
590
+ hidden?: boolean;
499
591
  }
500
592
  type ChartType = 'line' | 'stackedLine' | 'stackedLinePct' | 'clusteredBar' | 'clusteredBarH' | 'stackedBar' | 'stackedBarH' | 'stackedBarPct' | 'stackedBarHPct' | 'area' | 'stackedArea' | 'stackedAreaPct' | 'pie' | 'doughnut' | 'scatter' | 'bubble' | 'radar' | 'waterfall' | 'stock' | 'surface' | 'surface3D' | 'boxWhisker' | 'sunburst' | 'treemap' | string;
593
+ type ChartPlotGroupKind = 'area' | 'area3D' | 'line' | 'line3D' | 'stock' | 'radar' | 'scatter' | 'pie' | 'pie3D' | 'doughnut' | 'bar' | 'bar3D' | 'ofPie' | 'surface' | 'surface3D' | 'bubble';
594
+ type ChartPlotGroupAxisSlot = 'primary' | 'secondary' | 'none' | 'unresolved';
595
+ interface ChartPlotGroup {
596
+ kind: ChartPlotGroupKind;
597
+ seriesStart: number;
598
+ seriesCount: number;
599
+ categoryAxis: ChartPlotGroupAxisSlot;
600
+ valueAxis: ChartPlotGroupAxisSlot;
601
+ seriesAxis: ChartPlotGroupAxisSlot;
602
+ axisIds?: string[] | null;
603
+ grouping?: string | null;
604
+ barDirection?: string | null;
605
+ scatterStyle?: string | null;
606
+ radarStyle?: string | null;
607
+ gapWidth?: number | null;
608
+ overlap?: number | null;
609
+ bubbleScale?: number | null;
610
+ bubbleSizeRepresents?: 'area' | 'w' | null;
611
+ showNegativeBubbles?: boolean | null;
612
+ }
613
+ type ChartLineDashSegment = DrawingMLCustomDashSegment;
501
614
  interface ChartExElementStyle {
502
- fillPaints?: Array<SolidFill | GradientFill | PatternFill | null> | null;
615
+ fontSizeHpt?: number | null;
616
+ fontBold?: boolean | null;
617
+ fontItalic?: boolean | null;
618
+ fontColor?: string | null;
619
+ fontPaintAuthored?: boolean | null;
620
+ fontHidden?: boolean | null;
621
+ fontFace?: string | null;
622
+ fontLanguage?: string | null;
623
+ fontBaseline?: number | null;
624
+ textRotation?: number | null;
625
+ textWrap?: string | null;
626
+ textVerticalAnchor?: string | null;
627
+ textVerticalMode?: string | null;
628
+ textLInsEmu?: number | null;
629
+ textTInsEmu?: number | null;
630
+ textRInsEmu?: number | null;
631
+ textBInsEmu?: number | null;
632
+ textBodyAuthored?: boolean | null;
633
+ fillPaints?: Array<Fill | null> | null;
503
634
  fillColors?: Array<string | null> | null;
504
635
  fillHidden?: boolean | null;
636
+ fillPaintAuthored?: boolean | null;
505
637
  fillNoStyle?: boolean | null;
506
638
  lineColors?: Array<string | null> | null;
639
+ linePaints?: Array<SolidFill | GradientFill | PatternFill | null> | null;
640
+ linePaintAuthored?: boolean | null;
507
641
  lineWidthEmu?: number | null;
508
642
  lineHidden?: boolean | null;
509
643
  lineNoStyle?: boolean | null;
510
644
  lineDash?: string | null;
645
+ lineDashAuthored?: boolean | null;
646
+ lineCustomDash?: ChartLineDashSegment[] | null;
511
647
  lineCap?: string | null;
512
648
  lineJoin?: string | null;
649
+ lineCompound?: string | null;
513
650
  fillColorIndex?: number | null;
514
651
  lineColorIndex?: number | null;
515
652
  }
653
+ type ChartStyleRole = 'axisTitle' | 'categoryAxis' | 'chartArea' | 'dataLabel' | 'dataLabelCallout' | 'dataPoint' | 'dataPoint3D' | 'dataPointLine' | 'dataPointMarker' | 'dataPointWireframe' | 'dataTable' | 'downBar' | 'dropLine' | 'errorBar' | 'floor' | 'gridlineMajor' | 'gridlineMinor' | 'hiLoLine' | 'leaderLine' | 'legend' | 'plotArea' | 'plotArea3D' | 'seriesAxis' | 'seriesLine' | 'title' | 'trendline' | 'trendlineLabel' | 'upBar' | 'valueAxis' | 'wall';
516
654
  interface ChartSurfaceBandFormat {
517
655
  idx: number;
656
+ style?: ChartExElementStyle | null;
518
657
  fill?: SolidFill | GradientFill | PatternFill | null;
519
658
  fillHidden?: boolean | null;
520
659
  lineColor?: string | null;
@@ -531,8 +670,13 @@ interface ChartDataTable {
531
670
  fontColor?: string | null;
532
671
  fontBold?: boolean | null;
533
672
  fontItalic?: boolean | null;
673
+ fillColor?: string | null;
674
+ fill?: SolidFill | GradientFill | PatternFill | null;
675
+ fillHidden?: boolean | null;
676
+ fillPaintAuthored?: boolean | null;
534
677
  lineColor?: string | null;
535
678
  lineWidthEmu?: number | null;
679
+ lineDash?: string | null;
536
680
  lineHidden?: boolean | null;
537
681
  }
538
682
  interface ChartModel {
@@ -541,8 +685,10 @@ interface ChartModel {
541
685
  titleRichRuns?: ChartTextRun[] | null;
542
686
  titlePresent?: boolean;
543
687
  categories: string[];
688
+ categorySourceHidden?: boolean[] | null;
544
689
  categoryLevels?: string[][] | null;
545
690
  series: ChartSeries[];
691
+ plotGroups?: ChartPlotGroup[] | null;
546
692
  chartTextBoxes?: ChartTextBox[] | null;
547
693
  varyColors?: boolean | null;
548
694
  showDataLabels: boolean;
@@ -555,10 +701,32 @@ interface ChartModel {
555
701
  catAxisLineHidden: boolean;
556
702
  valAxisLineHidden: boolean;
557
703
  plotAreaBg: string | null;
704
+ plotAreaFill?: Fill | null;
705
+ plotAreaFillHidden?: boolean | null;
706
+ plotAreaFillPaintAuthored?: boolean | null;
707
+ plotAreaFillAutomatic?: boolean | null;
708
+ plotAreaLineColor?: string | null;
709
+ plotAreaLineFill?: SolidFill | GradientFill | PatternFill | null;
710
+ plotAreaLineWidthEmu?: number | null;
711
+ plotAreaLineDash?: string | null;
712
+ plotAreaLineDashAuthored?: boolean | null;
713
+ plotAreaLineCustomDash?: ChartLineDashSegment[] | null;
714
+ plotAreaLineCap?: string | null;
715
+ plotAreaLineJoin?: string | null;
716
+ plotAreaLineCompound?: string | null;
717
+ plotAreaLineHidden?: boolean | null;
718
+ plotAreaLinePaintAuthored?: boolean | null;
558
719
  chartBg: string | null;
720
+ chartFill?: Fill | null;
721
+ chartFillHidden?: boolean | null;
722
+ chartFillPaintAuthored?: boolean | null;
723
+ roundedCorners?: boolean | null;
724
+ plotVisibleOnly?: boolean | null;
559
725
  showLegend: boolean;
560
726
  dataTable?: ChartDataTable | null;
561
727
  legendPos: 'r' | 'l' | 't' | 'b' | 'tr' | null;
728
+ legendOverlay?: boolean | null;
729
+ legendEntries?: ChartLegendEntryOverride[] | null;
562
730
  catAxisCrossBetween: 'between' | 'midCat' | string;
563
731
  valAxisMajorTickMark: 'cross' | 'out' | 'in' | 'none' | string;
564
732
  catAxisMajorTickMark: 'cross' | 'out' | 'in' | 'none' | string;
@@ -595,6 +763,7 @@ interface ChartModel {
595
763
  catAxisTitleRotation?: number | null;
596
764
  catAxisTitleVerticalMode?: 'horz' | 'vert' | 'vert270' | 'wordArtVert' | 'eaVert' | 'mongolianVert' | 'wordArtVertRtl' | null;
597
765
  catAxisTitleManualLayout?: ChartManualLayout | null;
766
+ catAxisTitleTextVerticalInsetEmu?: number | null;
598
767
  valAxisTitleFontSizeHpt?: number | null;
599
768
  valAxisTitleFontBold?: boolean | null;
600
769
  valAxisTitleFontItalic?: boolean | null;
@@ -602,6 +771,7 @@ interface ChartModel {
602
771
  valAxisTitleRotation?: number | null;
603
772
  valAxisTitleVerticalMode?: 'horz' | 'vert' | 'vert270' | 'wordArtVert' | 'eaVert' | 'mongolianVert' | 'wordArtVertRtl' | null;
604
773
  valAxisTitleManualLayout?: ChartManualLayout | null;
774
+ valAxisTitleTextVerticalInsetEmu?: number | null;
605
775
  catAxisFontFace?: string | null;
606
776
  valAxisFontFace?: string | null;
607
777
  catAxisTitleFontFace?: string | null;
@@ -612,20 +782,45 @@ interface ChartModel {
612
782
  legendFontSizeHpt?: number | null;
613
783
  legendFontBold?: boolean | null;
614
784
  legendFillColor?: string | null;
785
+ legendFill?: Fill | null;
786
+ legendFillHidden?: boolean | null;
787
+ legendFillPaintAuthored?: boolean | null;
615
788
  legendLineColor?: string | null;
789
+ legendLineFill?: SolidFill | GradientFill | PatternFill | null;
616
790
  legendLineWidthEmu?: number | null;
791
+ legendLineDash?: string | null;
792
+ legendLineDashAuthored?: boolean | null;
793
+ legendLineCustomDash?: ChartLineDashSegment[] | null;
794
+ legendLineCap?: string | null;
795
+ legendLineJoin?: string | null;
796
+ legendLineCompound?: string | null;
797
+ legendLineHidden?: boolean | null;
798
+ legendLinePaintAuthored?: boolean | null;
617
799
  themeMajorFontLatin?: string | null;
618
800
  themeMinorFontLatin?: string | null;
619
801
  chartBorderColor?: string | null;
802
+ chartBorderLineFill?: SolidFill | GradientFill | PatternFill | null;
620
803
  chartBorderWidthEmu?: number | null;
804
+ chartBorderDash?: string | null;
805
+ chartBorderDashAuthored?: boolean | null;
806
+ chartBorderCustomDash?: ChartLineDashSegment[] | null;
807
+ chartBorderCap?: string | null;
808
+ chartBorderJoin?: string | null;
809
+ chartBorderCompound?: string | null;
810
+ chartBorderHidden?: boolean | null;
811
+ chartBorderPaintAuthored?: boolean | null;
621
812
  catAxisCrosses?: string | null;
622
813
  catAxisCrossesAt?: number | null;
623
814
  valAxisCrosses?: string | null;
624
815
  valAxisCrossesAt?: number | null;
625
816
  catAxisLineColor?: string | null;
626
817
  catAxisLineWidthEmu?: number | null;
818
+ catAxisLineDash?: string | null;
819
+ catAxisLinePaintAuthored?: boolean | null;
627
820
  valAxisLineColor?: string | null;
628
821
  valAxisLineWidthEmu?: number | null;
822
+ valAxisLineDash?: string | null;
823
+ valAxisLinePaintAuthored?: boolean | null;
629
824
  catAxisFormatCode?: string | null;
630
825
  catAxisMin?: number | null;
631
826
  catAxisMax?: number | null;
@@ -642,6 +837,7 @@ interface ChartModel {
642
837
  holeSize?: number | null;
643
838
  firstSliceAngle?: number | null;
644
839
  dispBlanksAs?: string | null;
840
+ showDataLabelsOverMax?: boolean | null;
645
841
  valAxisMajorGridlines?: boolean | null;
646
842
  catAxisMajorGridlines?: boolean | null;
647
843
  valAxisGridlineColor?: string | null;
@@ -674,12 +870,25 @@ interface ChartModel {
674
870
  catAxisTickLabelPos?: string | null;
675
871
  catAxisTickLabelSkip?: number | null;
676
872
  catAxisTickMarkSkip?: number | null;
873
+ catAxisLabelAlignment?: 'l' | 'ctr' | 'r' | string | null;
874
+ catAxisLabelOffsetPercent?: number | null;
677
875
  valAxisTickLabelPos?: string | null;
678
876
  catAxisLabelRotation?: number | null;
877
+ lineGroupDecorations?: ChartLineGroupDecorations[] | null;
878
+ areaGroupDecorations?: ChartAreaGroupDecorations[] | null;
879
+ barGroupDecorations?: ChartBarGroupDecorations[] | null;
880
+ stockDropLines?: ChartDecorationLineStyle | null;
881
+ stockHiLowLineStyle?: ChartDecorationLineStyle | null;
679
882
  stockHiLowLines?: boolean | null;
680
883
  stockHiLowLineColor?: string | null;
681
884
  stockUpDownBars?: boolean | null;
682
885
  stockUpDownBarStyle?: ChartStockUpDownBarStyle | null;
886
+ stockAutomaticStyle?: {
887
+ lineColor: string;
888
+ lineWidthEmu: number;
889
+ upFillColor: string;
890
+ downFillColor: string;
891
+ } | null;
683
892
  surfaceWireframe?: boolean | null;
684
893
  surfaceBandFormats?: ChartSurfaceBandFormat[] | null;
685
894
  legacyChartStyle?: number | null;
@@ -694,6 +903,11 @@ interface ChartModel {
694
903
  chartexAccents?: string[] | null;
695
904
  chartexColorPalette?: Array<string | null> | null;
696
905
  chartexColorStyleMethod?: string | null;
906
+ chartStyleRoles?: Partial<Record<ChartStyleRole, ChartExElementStyle>> | null;
907
+ chartStyleColorPalette?: Array<string | null> | null;
908
+ chartStyleColorMethod?: string | null;
909
+ chartStyleMarkerSizePt?: number | null;
910
+ chartStyleMarkerSymbol?: string | null;
697
911
  chartexDataPointStyle?: ChartExElementStyle | null;
698
912
  chartexDataPointLineStyle?: ChartExElementStyle | null;
699
913
  chartexSeriesLineStyle?: ChartExElementStyle | null;
@@ -704,9 +918,15 @@ interface ChartModel {
704
918
  }
705
919
  interface ChartStockBarPaint {
706
920
  fillColor?: string | null;
921
+ fill?: SolidFill | GradientFill | PatternFill | null;
922
+ fillPaintAuthored?: boolean | null;
707
923
  fillHidden?: boolean | null;
708
924
  lineColor?: string | null;
925
+ linePaintAuthored?: boolean | null;
709
926
  lineWidthEmu?: number | null;
927
+ lineDash?: string | null;
928
+ lineCap?: string | null;
929
+ lineJoin?: string | null;
710
930
  lineHidden?: boolean | null;
711
931
  }
712
932
  interface ChartStockUpDownBarStyle {
@@ -714,31 +934,76 @@ interface ChartStockUpDownBarStyle {
714
934
  up: ChartStockBarPaint;
715
935
  down: ChartStockBarPaint;
716
936
  }
937
+ interface ChartDecorationLineStyle {
938
+ color?: string | null;
939
+ paintAuthored?: boolean | null;
940
+ widthEmu?: number | null;
941
+ dash?: string | null;
942
+ cap?: string | null;
943
+ join?: string | null;
944
+ hidden?: boolean | null;
945
+ }
946
+ interface ChartLineGroupDecorations {
947
+ groupIndex: number;
948
+ dropLines?: ChartDecorationLineStyle | null;
949
+ hiLowLines?: ChartDecorationLineStyle | null;
950
+ upDownBars?: ChartStockUpDownBarStyle | null;
951
+ }
952
+ interface ChartAreaGroupDecorations {
953
+ groupIndex: number;
954
+ dropLines?: ChartDecorationLineStyle | null;
955
+ }
956
+ interface ChartBarGroupDecorations {
957
+ groupIndex: number;
958
+ seriesLines?: ChartDecorationLineStyle[] | null;
959
+ }
717
960
  interface ChartOfPie {
718
961
  type: 'pie' | 'bar';
719
962
  splitType: 'auto' | 'cust' | 'percent' | 'pos' | 'val';
963
+ splitTypeAuthored?: boolean | null;
720
964
  splitPos?: number | null;
965
+ splitPosAuthored?: boolean | null;
721
966
  customSplitIndices?: number[] | null;
722
967
  secondPieSizePercent: number;
723
968
  gapWidthPercent: number;
724
969
  seriesLines: boolean;
725
970
  }
726
971
  interface ChartThreeDSurface {
972
+ style?: ChartExElementStyle | null;
727
973
  fillColor?: string | null;
728
974
  fillHidden?: boolean | null;
729
975
  lineColor?: string | null;
730
976
  lineWidthEmu?: number | null;
731
977
  lineDash?: string | null;
732
978
  lineHidden?: boolean | null;
979
+ thicknessPercent?: number | null;
980
+ pictureOptions?: ChartThreeDPictureOptions | null;
981
+ }
982
+ interface ChartThreeDPictureOptions {
983
+ applyToFront?: boolean | null;
984
+ applyToSides?: boolean | null;
985
+ applyToEnd?: boolean | null;
986
+ pictureFormat?: 'stretch' | 'stack' | 'stackScale' | string | null;
987
+ pictureFormatAuthored?: boolean | null;
988
+ pictureStackUnit?: number | null;
989
+ pictureStackUnitAuthored?: boolean | null;
733
990
  }
734
991
  interface ChartThreeD {
992
+ view3DPresent?: boolean | null;
735
993
  rotationX?: number | null;
994
+ rotationXAuthored?: boolean | null;
736
995
  rotationY?: number | null;
996
+ rotationYAuthored?: boolean | null;
737
997
  heightPercent?: number | null;
998
+ heightPercentAuthored?: boolean | null;
738
999
  depthPercent?: number | null;
1000
+ depthPercentAuthored?: boolean | null;
739
1001
  perspective?: number | null;
1002
+ perspectiveAuthored?: boolean | null;
740
1003
  rightAngleAxes?: boolean | null;
1004
+ rightAngleAxesAuthored?: boolean | null;
741
1005
  gapDepthPercent?: number | null;
1006
+ gapDepthPercentAuthored?: boolean | null;
742
1007
  shape?: string | null;
743
1008
  barGrouping?: 'standard' | 'clustered' | 'stacked' | 'percentStacked' | string | null;
744
1009
  seriesAxis?: ChartThreeDSeriesAxis | null;
@@ -754,6 +1019,7 @@ interface ChartThreeDSeriesAxis {
754
1019
  tickLabelSkip?: number | null;
755
1020
  tickMarkSkip?: number | null;
756
1021
  majorTickMark: string;
1022
+ minorTickMark?: string | null;
757
1023
  fontColor?: string | null;
758
1024
  fontSizeHpt?: number | null;
759
1025
  fontBold?: boolean | null;
@@ -761,6 +1027,8 @@ interface ChartThreeDSeriesAxis {
761
1027
  fontFace?: string | null;
762
1028
  lineColor?: string | null;
763
1029
  lineWidthEmu?: number | null;
1030
+ lineDash?: string | null;
1031
+ linePaintAuthored?: boolean | null;
764
1032
  lineHidden: boolean;
765
1033
  titleFontSizeHpt?: number | null;
766
1034
  titleFontBold?: boolean | null;
@@ -777,7 +1045,12 @@ interface ChartTextRun {
777
1045
  bold?: boolean | null;
778
1046
  italic?: boolean | null;
779
1047
  color?: string | null;
1048
+ colorPaintAuthored?: boolean | null;
1049
+ colorHidden?: boolean | null;
780
1050
  fontFace?: string | null;
1051
+ language?: string | null;
1052
+ baseline?: number | null;
1053
+ paragraphAlign?: 'l' | 'ctr' | 'r' | 'just' | 'dist' | string | null;
781
1054
  }
782
1055
  interface ChartTextParagraph {
783
1056
  runs: ChartTextRun[];
@@ -880,6 +1153,7 @@ interface SecondaryValueAxis {
880
1153
  fontFace?: string | null;
881
1154
  lineColor?: string | null;
882
1155
  lineWidthEmu?: number | null;
1156
+ lineDash?: string | null;
883
1157
  lineHidden: boolean;
884
1158
  majorTickMark: string;
885
1159
  minorTickMark?: string | null;
@@ -896,6 +1170,8 @@ interface SecondaryValueAxis {
896
1170
  logBase?: number | null;
897
1171
  orientation?: 'minMax' | 'maxMin' | string | null;
898
1172
  tickLabelPos?: string | null;
1173
+ labelAlignment?: 'l' | 'ctr' | 'r' | null;
1174
+ labelOffsetPercent?: number | null;
899
1175
  tickLabelSkip?: number | null;
900
1176
  tickMarkSkip?: number | null;
901
1177
  crosses?: string | null;
@@ -943,11 +1219,19 @@ interface LegendManualLayout {
943
1219
  hMode?: string;
944
1220
  x: number;
945
1221
  y: number;
946
- w: number;
947
- h: number;
1222
+ w?: number;
1223
+ h?: number;
1224
+ }
1225
+ interface ChartLegendEntryOverride {
1226
+ idx: number;
1227
+ deleted?: boolean | null;
1228
+ fontFace?: string | null;
1229
+ fontColor?: string | null;
1230
+ fontSizeHpt?: number | null;
1231
+ fontBold?: boolean | null;
948
1232
  }
949
1233
  //#endregion
950
- //#region dist/.types-work/hyperlink-EKY3amDQ.d.ts
1234
+ //#region dist/.types-work/hyperlink-CZoV-4B8.d.ts
951
1235
  type OoxmlErrorStage = 'container' | 'decompression' | 'parsing' | 'serialization' | 'layout' | 'rendering' | 'worker';
952
1236
  type OoxmlFormat = 'docx' | 'xlsx' | 'pptx';
953
1237
  interface OoxmlResourceUsageSnapshot {
@@ -1072,14 +1356,46 @@ type SlideElementOrigin = 'master' | 'layout' | 'slide';
1072
1356
  interface SlideElementSource {
1073
1357
  origin: SlideElementOrigin;
1074
1358
  }
1359
+ type PptxCommentAnchor = Readonly<{
1360
+ type: 'slide';
1361
+ }> | Readonly<{
1362
+ type: 'drawingElement';
1363
+ elementId?: string;
1364
+ creationId?: string;
1365
+ }> | Readonly<{
1366
+ type: 'textRange';
1367
+ elementId?: string;
1368
+ start?: number;
1369
+ length?: number;
1370
+ }> | Readonly<{
1371
+ type: 'unknown';
1372
+ }>;
1075
1373
  interface PptxComment {
1374
+ authorId?: number;
1375
+ modernAuthorId?: string;
1376
+ id?: string;
1377
+ index?: number;
1076
1378
  author?: string;
1077
1379
  date?: string;
1380
+ x?: number;
1381
+ y?: number;
1382
+ anchors?: readonly Readonly<PptxCommentAnchor>[];
1383
+ status?: 'active' | 'resolved' | 'closed';
1384
+ text: string;
1385
+ replies?: readonly Readonly<PptxCommentReply>[];
1386
+ }
1387
+ interface PptxCommentReply {
1388
+ id?: string;
1389
+ authorId?: string;
1390
+ author?: string;
1391
+ date?: string;
1392
+ status?: 'active' | 'resolved' | 'closed';
1078
1393
  text: string;
1079
1394
  }
1080
1395
  type SlideElement = ShapeElement | PictureElement | TableElement | ChartElement | MediaElement;
1081
1396
  interface MediaElement {
1082
1397
  type: 'media';
1398
+ id?: string;
1083
1399
  x: number;
1084
1400
  y: number;
1085
1401
  width: number;
@@ -1172,6 +1488,7 @@ interface Sp3d {
1172
1488
  }
1173
1489
  interface TableElement {
1174
1490
  type: 'table';
1491
+ id?: string;
1175
1492
  x: number;
1176
1493
  y: number;
1177
1494
  width: number;
@@ -1204,6 +1521,7 @@ interface TableCell {
1204
1521
  }
1205
1522
  interface ChartElement {
1206
1523
  type: 'chart';
1524
+ id?: string;
1207
1525
  x: number;
1208
1526
  y: number;
1209
1527
  width: number;
@@ -1215,6 +1533,7 @@ interface ChartElement {
1215
1533
  }
1216
1534
  interface PictureElement {
1217
1535
  type: 'picture';
1536
+ id?: string;
1218
1537
  x: number;
1219
1538
  y: number;
1220
1539
  width: number;
@@ -1337,7 +1656,8 @@ interface DocSettings {
1337
1656
  adjustLineHeightInTable?: boolean;
1338
1657
  }
1339
1658
  interface DocRevision {
1340
- kind: 'insertion' | 'deletion' | string;
1659
+ kind: 'insertion' | 'deletion' | 'moveFrom' | 'moveTo' | string;
1660
+ id?: string;
1341
1661
  author?: string;
1342
1662
  date?: string;
1343
1663
  text: string;
@@ -1348,6 +1668,14 @@ interface DocComment {
1348
1668
  initials?: string;
1349
1669
  date?: string;
1350
1670
  text: string;
1671
+ parentId?: string;
1672
+ resolved?: boolean;
1673
+ paragraphs?: string[];
1674
+ }
1675
+ interface DocxCommentMark {
1676
+ id: string;
1677
+ kind: 'rangeStart' | 'rangeEnd' | 'reference' | string;
1678
+ runIndex: number;
1351
1679
  }
1352
1680
  interface DocNote {
1353
1681
  id: string;
@@ -1463,6 +1791,7 @@ interface DocParagraph {
1463
1791
  tabStops: TabStop[];
1464
1792
  runs: DocRun[];
1465
1793
  bookmarks?: string[];
1794
+ commentMarks?: DocxCommentMark[];
1466
1795
  shading?: string | null;
1467
1796
  pageBreakBefore?: boolean;
1468
1797
  contextualSpacing?: boolean;
@@ -1545,7 +1874,7 @@ interface NumberingInfo {
1545
1874
  picBulletWidthPt?: number;
1546
1875
  picBulletHeightPt?: number;
1547
1876
  }
1548
- type DocRun = ({
1877
+ type DocRunContent = ({
1549
1878
  type: 'text';
1550
1879
  } & DocxTextRun) | ({
1551
1880
  type: 'anchorHost';
@@ -1569,6 +1898,9 @@ type DocRun = ({
1569
1898
  } | ({
1570
1899
  type: 'ptab';
1571
1900
  } & PTabRun);
1901
+ type DocRun = DocRunContent & {
1902
+ revision?: RunRevision;
1903
+ };
1572
1904
  interface ChartRun {
1573
1905
  chart: ChartModel;
1574
1906
  widthPt: number;
@@ -1871,7 +2203,8 @@ interface NoteRef {
1871
2203
  id: string;
1872
2204
  }
1873
2205
  interface RunRevision {
1874
- kind: 'insertion' | 'deletion' | string;
2206
+ kind: 'insertion' | 'deletion' | 'moveFrom' | 'moveTo' | string;
2207
+ id?: string;
1875
2208
  author?: string;
1876
2209
  date?: string;
1877
2210
  }
@@ -1995,18 +2328,27 @@ interface CellBorders {
1995
2328
  insideH: BorderSpec | null;
1996
2329
  insideV: BorderSpec | null;
1997
2330
  }
2331
+ interface DocxStorySource {
2332
+ story: 'body' | 'header' | 'footer' | 'footnote' | 'endnote' | 'textbox';
2333
+ storyInstance: string;
2334
+ path: readonly number[];
2335
+ }
1998
2336
  interface DocxTextRunInfo {
1999
- source?: Readonly<{
2000
- story: 'body' | 'header' | 'footer' | 'footnote' | 'endnote' | 'textbox';
2001
- storyInstance: string;
2002
- path: readonly number[];
2003
- }>;
2337
+ source?: Readonly<DocxStorySource>;
2004
2338
  paragraphId?: string;
2339
+ sourceRunIndex?: number;
2340
+ direction?: 'ltr' | 'rtl';
2005
2341
  text: string;
2006
2342
  x: number;
2007
2343
  y: number;
2008
2344
  w: number;
2009
2345
  h: number;
2346
+ highlightBounds?: Readonly<{
2347
+ x: number;
2348
+ y: number;
2349
+ width: number;
2350
+ height: number;
2351
+ }>;
2010
2352
  fontSize: number;
2011
2353
  font: string;
2012
2354
  letterSpacingPx?: number;
@@ -2076,6 +2418,11 @@ interface Worksheet {
2076
2418
  max: number;
2077
2419
  width: number;
2078
2420
  }>;
2421
+ colStyleRanges?: Array<{
2422
+ min: number;
2423
+ max: number;
2424
+ styleIndex: number;
2425
+ }>;
2079
2426
  rowHeights: Record<number, number>;
2080
2427
  colOutlineLevels?: Record<number, number>;
2081
2428
  colCollapsed?: Record<number, boolean>;
@@ -2298,9 +2645,25 @@ interface DefinedName {
2298
2645
  formula: string;
2299
2646
  }
2300
2647
  interface XlsxComment {
2648
+ kind?: 'note' | 'thread';
2301
2649
  cellRef: string;
2650
+ id?: string;
2651
+ personId?: string;
2652
+ author?: string;
2653
+ date?: string;
2654
+ rootText?: string;
2655
+ text: string;
2656
+ resolved?: boolean;
2657
+ replies?: XlsxCommentReply[];
2658
+ }
2659
+ interface XlsxCommentReply {
2660
+ id: string;
2661
+ parentId: string;
2662
+ personId: string;
2302
2663
  author?: string;
2664
+ date?: string;
2303
2665
  text: string;
2666
+ resolved?: boolean;
2304
2667
  }
2305
2668
  interface DataValidation {
2306
2669
  sqref: string;