@silurus/ooxml 0.79.0 → 0.79.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{canvas-viewer-mechanics-D9tsuHnG.js → canvas-viewer-mechanics-DJ9yfiLN.js} +1 -1
- package/dist/{dash-Cyc-sevN.js → dash-CMzZIDz_.js} +87 -49
- package/dist/{document-pull-client-YiU8M4LO.js → document-pull-client-DYoybVCn.js} +3 -3
- package/dist/{docx-a1UpmRf8.js → docx-CSk_-kj_.js} +5 -5
- package/dist/docx.mjs +3 -3
- package/dist/docx_parser_bg.wasm +0 -0
- package/dist/index.mjs +3 -3
- package/dist/{line-distribute-pDqovJpT.js → line-distribute-CU7vu7XS.js} +1 -1
- package/dist/{line-metrics-DjKxiIUD.js → line-metrics-A77J_KRx.js} +2616 -2499
- package/dist/node.mjs +7 -7
- package/dist/{pptx-t5ABdzfd.js → pptx-CO1Ut97p.js} +6 -6
- package/dist/pptx.mjs +4 -4
- package/dist/pptx_parser_bg.wasm +0 -0
- package/dist/{render-BjIEuFIG.js → render-C5m7Ddwx.js} +1 -1
- package/dist/render-worker-host-BhMT5U73.js +27 -0
- package/dist/render-worker-host-DNMxGh5s.js +27 -0
- package/dist/render-worker-host-DWyg7wio.js +27 -0
- package/dist/{resource-measurement-D8EiTm_E.js → resource-measurement-COxqtfGk.js} +1 -1
- package/dist/{session-Bhe_eY-s.js → session-CJwZaquG.js} +2 -2
- package/dist/{slide-pull-client-BQ8gJPTq.js → slide-pull-client-CFHNk0ek.js} +4 -4
- package/dist/three-d.mjs +838 -570
- package/dist/types/docx.d.ts +72 -6
- package/dist/types/index.d.ts +80 -10
- package/dist/types/node.d.ts +70 -2
- package/dist/types/pptx.d.ts +72 -6
- package/dist/types/region-map.d.ts +68 -2
- package/dist/types/three-d.d.ts +68 -2
- package/dist/types/xlsx.d.ts +76 -6
- package/dist/{worksheet-pull-client-T0EzdEEQ.js → worksheet-pull-client-CziyJf24.js} +2 -2
- package/dist/{xlsx-CsDDMJIK.js → xlsx-DHQmjAfh.js} +944 -799
- package/dist/xlsx.mjs +4 -4
- package/dist/xlsx_parser_bg.wasm +0 -0
- package/package.json +1 -1
- package/dist/render-worker-host-BB320snY.js +0 -27
- package/dist/render-worker-host-BjEPZBwf.js +0 -27
- package/dist/render-worker-host-hZ0o4OD7.js +0 -27
package/dist/types/docx.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region dist/.types-work/chart-
|
|
1
|
+
//#region dist/.types-work/chart-BFzw-erU.d.ts
|
|
2
2
|
type MathStyle = 'roman' | 'italic' | 'bold' | 'boldItalic';
|
|
3
3
|
interface MathRun {
|
|
4
4
|
kind: 'run';
|
|
@@ -194,8 +194,10 @@ interface ChartTrendline {
|
|
|
194
194
|
labelText?: string | null;
|
|
195
195
|
labelFontSizeHpt?: number | null;
|
|
196
196
|
labelFontBold?: boolean | null;
|
|
197
|
+
labelFontItalic?: boolean | null;
|
|
197
198
|
labelFontColor?: string | null;
|
|
198
199
|
labelFontFace?: string | null;
|
|
200
|
+
labelBox?: ChartLabelBox | null;
|
|
199
201
|
labelTextAlign?: string | null;
|
|
200
202
|
lineColor?: string | null;
|
|
201
203
|
lineWidthEmu?: number | null;
|
|
@@ -224,6 +226,7 @@ interface ChartDataLabelOverride {
|
|
|
224
226
|
position?: string;
|
|
225
227
|
fontColor?: string;
|
|
226
228
|
fontSizeHpt?: number;
|
|
229
|
+
fontFace?: string;
|
|
227
230
|
fontBold?: boolean;
|
|
228
231
|
formatCode?: string;
|
|
229
232
|
separator?: string;
|
|
@@ -251,6 +254,7 @@ interface ChartSeriesDataLabels {
|
|
|
251
254
|
separator?: string;
|
|
252
255
|
fontBold?: boolean;
|
|
253
256
|
fontSizeHpt?: number;
|
|
257
|
+
fontFace?: string;
|
|
254
258
|
labelBox?: ChartLabelBox;
|
|
255
259
|
showLeaderLines?: boolean;
|
|
256
260
|
leaderLineColor?: string;
|
|
@@ -320,6 +324,8 @@ interface ChartModel {
|
|
|
320
324
|
subtotalIndices: number[];
|
|
321
325
|
legendManualLayout?: LegendManualLayout | null;
|
|
322
326
|
valAxisFormatCode?: string | null;
|
|
327
|
+
valAxisDisplayUnits?: ChartDisplayUnits | null;
|
|
328
|
+
catAxisDisplayUnits?: ChartDisplayUnits | null;
|
|
323
329
|
barGapWidth?: number | null;
|
|
324
330
|
barOverlap?: number | null;
|
|
325
331
|
dataLabelPosition?: string | null;
|
|
@@ -353,6 +359,9 @@ interface ChartModel {
|
|
|
353
359
|
legendFontColor?: string | null;
|
|
354
360
|
legendFontSizeHpt?: number | null;
|
|
355
361
|
legendFontBold?: boolean | null;
|
|
362
|
+
legendFillColor?: string | null;
|
|
363
|
+
legendLineColor?: string | null;
|
|
364
|
+
legendLineWidthEmu?: number | null;
|
|
356
365
|
themeMajorFontLatin?: string | null;
|
|
357
366
|
themeMinorFontLatin?: string | null;
|
|
358
367
|
chartBorderColor?: string | null;
|
|
@@ -453,6 +462,14 @@ interface ChartOfPie {
|
|
|
453
462
|
gapWidthPercent: number;
|
|
454
463
|
seriesLines: boolean;
|
|
455
464
|
}
|
|
465
|
+
interface ChartThreeDSurface {
|
|
466
|
+
fillColor?: string | null;
|
|
467
|
+
fillHidden?: boolean | null;
|
|
468
|
+
lineColor?: string | null;
|
|
469
|
+
lineWidthEmu?: number | null;
|
|
470
|
+
lineDash?: string | null;
|
|
471
|
+
lineHidden?: boolean | null;
|
|
472
|
+
}
|
|
456
473
|
interface ChartThreeD {
|
|
457
474
|
rotationX?: number | null;
|
|
458
475
|
rotationY?: number | null;
|
|
@@ -462,6 +479,36 @@ interface ChartThreeD {
|
|
|
462
479
|
rightAngleAxes?: boolean | null;
|
|
463
480
|
gapDepthPercent?: number | null;
|
|
464
481
|
shape?: string | null;
|
|
482
|
+
barGrouping?: 'standard' | 'clustered' | 'stacked' | 'percentStacked' | string | null;
|
|
483
|
+
seriesAxis?: ChartThreeDSeriesAxis | null;
|
|
484
|
+
floor?: ChartThreeDSurface | null;
|
|
485
|
+
sideWall?: ChartThreeDSurface | null;
|
|
486
|
+
backWall?: ChartThreeDSurface | null;
|
|
487
|
+
}
|
|
488
|
+
interface ChartThreeDSeriesAxis {
|
|
489
|
+
title?: string | null;
|
|
490
|
+
hidden: boolean;
|
|
491
|
+
orientation?: 'minMax' | 'maxMin' | string | null;
|
|
492
|
+
tickLabelPos?: string | null;
|
|
493
|
+
tickLabelSkip?: number | null;
|
|
494
|
+
tickMarkSkip?: number | null;
|
|
495
|
+
majorTickMark: string;
|
|
496
|
+
fontColor?: string | null;
|
|
497
|
+
fontSizeHpt?: number | null;
|
|
498
|
+
fontBold?: boolean | null;
|
|
499
|
+
fontItalic?: boolean | null;
|
|
500
|
+
fontFace?: string | null;
|
|
501
|
+
lineColor?: string | null;
|
|
502
|
+
lineWidthEmu?: number | null;
|
|
503
|
+
lineHidden: boolean;
|
|
504
|
+
titleFontSizeHpt?: number | null;
|
|
505
|
+
titleFontBold?: boolean | null;
|
|
506
|
+
titleFontItalic?: boolean | null;
|
|
507
|
+
titleFontColor?: string | null;
|
|
508
|
+
titleFontFace?: string | null;
|
|
509
|
+
titleRotation?: number | null;
|
|
510
|
+
titleVerticalMode?: ChartModel['catAxisTitleVerticalMode'];
|
|
511
|
+
titleManualLayout?: ChartManualLayout | null;
|
|
465
512
|
}
|
|
466
513
|
interface ChartTextRun {
|
|
467
514
|
text: string;
|
|
@@ -563,6 +610,7 @@ interface SecondaryValueAxis {
|
|
|
563
610
|
title: string | null;
|
|
564
611
|
hidden: boolean;
|
|
565
612
|
formatCode?: string | null;
|
|
613
|
+
displayUnits?: ChartDisplayUnits | null;
|
|
566
614
|
fontColor?: string | null;
|
|
567
615
|
fontSizeHpt?: number | null;
|
|
568
616
|
fontItalic?: boolean | null;
|
|
@@ -586,6 +634,8 @@ interface SecondaryValueAxis {
|
|
|
586
634
|
logBase?: number | null;
|
|
587
635
|
orientation?: 'minMax' | 'maxMin' | string | null;
|
|
588
636
|
tickLabelPos?: string | null;
|
|
637
|
+
tickLabelSkip?: number | null;
|
|
638
|
+
tickMarkSkip?: number | null;
|
|
589
639
|
crosses?: string | null;
|
|
590
640
|
crossesAt?: number | null;
|
|
591
641
|
titleFontSizeHpt?: number | null;
|
|
@@ -597,6 +647,22 @@ interface SecondaryValueAxis {
|
|
|
597
647
|
titleVerticalMode?: 'horz' | 'vert' | 'vert270' | 'wordArtVert' | 'eaVert' | 'mongolianVert' | 'wordArtVertRtl' | null;
|
|
598
648
|
titleManualLayout?: ChartManualLayout | null;
|
|
599
649
|
}
|
|
650
|
+
interface ChartDisplayUnits {
|
|
651
|
+
divisor: number;
|
|
652
|
+
builtInUnit?: string | null;
|
|
653
|
+
label?: ChartDisplayUnitsLabel | null;
|
|
654
|
+
}
|
|
655
|
+
interface ChartDisplayUnitsLabel {
|
|
656
|
+
text?: string | null;
|
|
657
|
+
manualLayout?: ChartManualLayout | null;
|
|
658
|
+
fontSizeHpt?: number | null;
|
|
659
|
+
fontBold?: boolean | null;
|
|
660
|
+
fontItalic?: boolean | null;
|
|
661
|
+
fontColor?: string | null;
|
|
662
|
+
fontFace?: string | null;
|
|
663
|
+
rotation?: number | null;
|
|
664
|
+
boxStyle?: ChartLabelBox | null;
|
|
665
|
+
}
|
|
600
666
|
interface ChartManualLayout {
|
|
601
667
|
xMode?: string;
|
|
602
668
|
yMode?: string;
|
|
@@ -637,17 +703,17 @@ interface MathRenderer {
|
|
|
637
703
|
mathMLToSvg(mathml: string): Promise<MathSvg>;
|
|
638
704
|
}
|
|
639
705
|
//#endregion
|
|
640
|
-
//#region dist/.types-work/three-d-contract-
|
|
706
|
+
//#region dist/.types-work/three-d-contract-EE62eNRv.d.ts
|
|
641
707
|
interface ChartThreeDRenderer {
|
|
642
708
|
render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number): boolean;
|
|
643
709
|
}
|
|
644
710
|
//#endregion
|
|
645
|
-
//#region dist/.types-work/region-map-contract-
|
|
711
|
+
//#region dist/.types-work/region-map-contract-D3eTzib8.d.ts
|
|
646
712
|
interface ChartRegionMapRenderer {
|
|
647
713
|
render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number): boolean;
|
|
648
714
|
}
|
|
649
715
|
//#endregion
|
|
650
|
-
//#region dist/.types-work/hyperlink-
|
|
716
|
+
//#region dist/.types-work/hyperlink-qwS_UhA7.d.ts
|
|
651
717
|
type OoxmlErrorCode = 'encrypted' | 'invalid-password' | 'unsupported-encryption' | 'legacy-binary-format' | 'not-ooxml';
|
|
652
718
|
type OoxmlErrorStage = 'container' | 'decompression' | 'parsing' | 'serialization' | 'layout' | 'rendering' | 'worker';
|
|
653
719
|
declare class OoxmlError extends Error {
|
|
@@ -791,7 +857,7 @@ interface FindHighlightColors {
|
|
|
791
857
|
active?: string;
|
|
792
858
|
}
|
|
793
859
|
//#endregion
|
|
794
|
-
//#region dist/.types-work/docx-
|
|
860
|
+
//#region dist/.types-work/docx-C1SmQK-v.d.ts
|
|
795
861
|
interface DocxDocumentModel {
|
|
796
862
|
section: SectionProps;
|
|
797
863
|
body: BodyElement[];
|
|
@@ -1850,4 +1916,4 @@ interface DocxHighlightMatch {
|
|
|
1850
1916
|
type DocxHighlightColors = FindHighlightColors;
|
|
1851
1917
|
declare function buildDocxHighlightLayer(layer: HTMLDivElement, runs: DocxTextRunInfo[], matches: DocxHighlightMatch[], cssWidth: number, cssHeight: number, measureForFont: (font: string) => (s: string) => number, colors?: DocxHighlightColors): void;
|
|
1852
1918
|
//#endregion
|
|
1853
|
-
export { type AnchorHostMetrics, type AutoResizeOptions, type BodyElement, type BorderSpec, type CellBorders, type CellElement, type ChartDataLabelOverride, type ChartDataPointOverride, type ChartErrBars, type ChartExElementStyle, type ChartLabelBox, type ChartManualLayout, type ChartModel, type ChartOfPie, type ChartRect, type ChartRegionMapRenderer, type ChartRun, type ChartSeries, type ChartSeriesDataLabels, type ChartStockBarPaint, type ChartStockUpDownBarStyle, type ChartTextBox, type ChartTextParagraph, type ChartTextRun, type ChartThreeD, type ChartThreeDRenderer, type ChartTrendline, type ChartType, type ChartexBoxSeries, type ChartexBoxWhisker, type ChartexGeography, type ChartexHistogramBinning, type ChartexRegionMap, type ChartexRegionMapColors, type ChartexRegionMapRow, type ChartexSunburst, type ChartexSunburstRow, type ChartexTreemap, type ChartexValueColorStop, type ColSpec, type CollectPageRunsOptions, type ColumnsSpec, type DocComment, type DocNote, type DocParagraph, type DocRevision, type DocRun, type DocSettings, type DocTable, type DocTableCell, type DocTableRow, DocxDocument, type DocxDocumentModel, type DocxElementContext, type DocxElementContextOptions, type DocxHighlightColors, type DocxHighlightMatch, type DocxMatchLocation, type DocxPagePoint, type DocxRunBorder, DocxScrollViewer, type DocxScrollViewerOptions, type DocxSelectionContext, type DocxSelectionContextOptions, type DocxSelectionRunLocator, type DocxSelectionSourceLocator, type DocxTextRun, type DocxTextRunInfo, type DocxTextSelectionContext, DocxViewer, type DocxViewerOptions, type Duotone, type EmbeddedFontRef, type FieldRun, type FillRect, type FindHighlightColors, type FindMatch, type FindMatchesOptions, type FramePr, type GradientFill, type GradientStop, type HeaderFooter, type HeadersFooters, type HyperlinkTarget, type ImageRun, type LegendManualLayout, type LineEnd, type LineNumbering, type LineSpacing, 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 NoteRef, type NumberingInfo, 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 PTabRun, type PageBorderEdge, type PageBorders, type PageNumType, type ParaBorderEdge, type ParagraphBorders, type PathCmd, type PatternFill, type RenderPageOptions, type RenderPageToBitmapOptions, type RubyAnnotation, type RunRevision, type SecondaryValueAxis, type SectionGeom, type SectionProps, type ShapeFill, type ShapeRun, type ShapeStrokeFill, type ShapeText, type ShapeTextRun, type SolidFill, type TabStop, type TableBorders, type TblpPr, type TextPath, type TextSelectionContextOptions, type TileInfo, type ViewerContextMenuEvent, type ZoomableViewer, autoResize, buildDocxHighlightLayer, buildDocxTextLayer, isOoxmlDecodedImageLimitError, noteText, openExternalHyperlink, readDocxTextSelectionContext };
|
|
1919
|
+
export { type AnchorHostMetrics, type AutoResizeOptions, type BodyElement, type BorderSpec, type CellBorders, type CellElement, type ChartDataLabelOverride, type ChartDataPointOverride, type ChartDisplayUnits, type ChartDisplayUnitsLabel, type ChartErrBars, type ChartExElementStyle, type ChartLabelBox, type ChartManualLayout, type ChartModel, type ChartOfPie, type ChartRect, type ChartRegionMapRenderer, type ChartRun, type ChartSeries, type ChartSeriesDataLabels, type ChartStockBarPaint, type ChartStockUpDownBarStyle, type ChartTextBox, type ChartTextParagraph, type ChartTextRun, type ChartThreeD, type ChartThreeDRenderer, type ChartThreeDSeriesAxis, type ChartThreeDSurface, type ChartTrendline, type ChartType, type ChartexBoxSeries, type ChartexBoxWhisker, type ChartexGeography, type ChartexHistogramBinning, type ChartexRegionMap, type ChartexRegionMapColors, type ChartexRegionMapRow, type ChartexSunburst, type ChartexSunburstRow, type ChartexTreemap, type ChartexValueColorStop, type ColSpec, type CollectPageRunsOptions, type ColumnsSpec, type DocComment, type DocNote, type DocParagraph, type DocRevision, type DocRun, type DocSettings, type DocTable, type DocTableCell, type DocTableRow, DocxDocument, type DocxDocumentModel, type DocxElementContext, type DocxElementContextOptions, type DocxHighlightColors, type DocxHighlightMatch, type DocxMatchLocation, type DocxPagePoint, type DocxRunBorder, DocxScrollViewer, type DocxScrollViewerOptions, type DocxSelectionContext, type DocxSelectionContextOptions, type DocxSelectionRunLocator, type DocxSelectionSourceLocator, type DocxTextRun, type DocxTextRunInfo, type DocxTextSelectionContext, DocxViewer, type DocxViewerOptions, type Duotone, type EmbeddedFontRef, type FieldRun, type FillRect, type FindHighlightColors, type FindMatch, type FindMatchesOptions, type FramePr, type GradientFill, type GradientStop, type HeaderFooter, type HeadersFooters, type HyperlinkTarget, type ImageRun, type LegendManualLayout, type LineEnd, type LineNumbering, type LineSpacing, 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 NoteRef, type NumberingInfo, 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 PTabRun, type PageBorderEdge, type PageBorders, type PageNumType, type ParaBorderEdge, type ParagraphBorders, type PathCmd, type PatternFill, type RenderPageOptions, type RenderPageToBitmapOptions, type RubyAnnotation, type RunRevision, type SecondaryValueAxis, type SectionGeom, type SectionProps, type ShapeFill, type ShapeRun, type ShapeStrokeFill, type ShapeText, type ShapeTextRun, type SolidFill, type TabStop, type TableBorders, type TblpPr, type TextPath, type TextSelectionContextOptions, type TileInfo, type ViewerContextMenuEvent, type ZoomableViewer, autoResize, buildDocxHighlightLayer, buildDocxTextLayer, isOoxmlDecodedImageLimitError, noteText, openExternalHyperlink, readDocxTextSelectionContext };
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region dist/.types-work/chart-
|
|
1
|
+
//#region dist/.types-work/chart-BFzw-erU.d.ts
|
|
2
2
|
type MathStyle = 'roman' | 'italic' | 'bold' | 'boldItalic';
|
|
3
3
|
interface MathRun {
|
|
4
4
|
kind: 'run';
|
|
@@ -416,8 +416,10 @@ interface ChartTrendline {
|
|
|
416
416
|
labelText?: string | null;
|
|
417
417
|
labelFontSizeHpt?: number | null;
|
|
418
418
|
labelFontBold?: boolean | null;
|
|
419
|
+
labelFontItalic?: boolean | null;
|
|
419
420
|
labelFontColor?: string | null;
|
|
420
421
|
labelFontFace?: string | null;
|
|
422
|
+
labelBox?: ChartLabelBox | null;
|
|
421
423
|
labelTextAlign?: string | null;
|
|
422
424
|
lineColor?: string | null;
|
|
423
425
|
lineWidthEmu?: number | null;
|
|
@@ -446,6 +448,7 @@ interface ChartDataLabelOverride {
|
|
|
446
448
|
position?: string;
|
|
447
449
|
fontColor?: string;
|
|
448
450
|
fontSizeHpt?: number;
|
|
451
|
+
fontFace?: string;
|
|
449
452
|
fontBold?: boolean;
|
|
450
453
|
formatCode?: string;
|
|
451
454
|
separator?: string;
|
|
@@ -473,6 +476,7 @@ interface ChartSeriesDataLabels {
|
|
|
473
476
|
separator?: string;
|
|
474
477
|
fontBold?: boolean;
|
|
475
478
|
fontSizeHpt?: number;
|
|
479
|
+
fontFace?: string;
|
|
476
480
|
labelBox?: ChartLabelBox;
|
|
477
481
|
showLeaderLines?: boolean;
|
|
478
482
|
leaderLineColor?: string;
|
|
@@ -542,6 +546,8 @@ interface ChartModel {
|
|
|
542
546
|
subtotalIndices: number[];
|
|
543
547
|
legendManualLayout?: LegendManualLayout | null;
|
|
544
548
|
valAxisFormatCode?: string | null;
|
|
549
|
+
valAxisDisplayUnits?: ChartDisplayUnits | null;
|
|
550
|
+
catAxisDisplayUnits?: ChartDisplayUnits | null;
|
|
545
551
|
barGapWidth?: number | null;
|
|
546
552
|
barOverlap?: number | null;
|
|
547
553
|
dataLabelPosition?: string | null;
|
|
@@ -575,6 +581,9 @@ interface ChartModel {
|
|
|
575
581
|
legendFontColor?: string | null;
|
|
576
582
|
legendFontSizeHpt?: number | null;
|
|
577
583
|
legendFontBold?: boolean | null;
|
|
584
|
+
legendFillColor?: string | null;
|
|
585
|
+
legendLineColor?: string | null;
|
|
586
|
+
legendLineWidthEmu?: number | null;
|
|
578
587
|
themeMajorFontLatin?: string | null;
|
|
579
588
|
themeMinorFontLatin?: string | null;
|
|
580
589
|
chartBorderColor?: string | null;
|
|
@@ -675,6 +684,14 @@ interface ChartOfPie {
|
|
|
675
684
|
gapWidthPercent: number;
|
|
676
685
|
seriesLines: boolean;
|
|
677
686
|
}
|
|
687
|
+
interface ChartThreeDSurface {
|
|
688
|
+
fillColor?: string | null;
|
|
689
|
+
fillHidden?: boolean | null;
|
|
690
|
+
lineColor?: string | null;
|
|
691
|
+
lineWidthEmu?: number | null;
|
|
692
|
+
lineDash?: string | null;
|
|
693
|
+
lineHidden?: boolean | null;
|
|
694
|
+
}
|
|
678
695
|
interface ChartThreeD {
|
|
679
696
|
rotationX?: number | null;
|
|
680
697
|
rotationY?: number | null;
|
|
@@ -684,6 +701,36 @@ interface ChartThreeD {
|
|
|
684
701
|
rightAngleAxes?: boolean | null;
|
|
685
702
|
gapDepthPercent?: number | null;
|
|
686
703
|
shape?: string | null;
|
|
704
|
+
barGrouping?: 'standard' | 'clustered' | 'stacked' | 'percentStacked' | string | null;
|
|
705
|
+
seriesAxis?: ChartThreeDSeriesAxis | null;
|
|
706
|
+
floor?: ChartThreeDSurface | null;
|
|
707
|
+
sideWall?: ChartThreeDSurface | null;
|
|
708
|
+
backWall?: ChartThreeDSurface | null;
|
|
709
|
+
}
|
|
710
|
+
interface ChartThreeDSeriesAxis {
|
|
711
|
+
title?: string | null;
|
|
712
|
+
hidden: boolean;
|
|
713
|
+
orientation?: 'minMax' | 'maxMin' | string | null;
|
|
714
|
+
tickLabelPos?: string | null;
|
|
715
|
+
tickLabelSkip?: number | null;
|
|
716
|
+
tickMarkSkip?: number | null;
|
|
717
|
+
majorTickMark: string;
|
|
718
|
+
fontColor?: string | null;
|
|
719
|
+
fontSizeHpt?: number | null;
|
|
720
|
+
fontBold?: boolean | null;
|
|
721
|
+
fontItalic?: boolean | null;
|
|
722
|
+
fontFace?: string | null;
|
|
723
|
+
lineColor?: string | null;
|
|
724
|
+
lineWidthEmu?: number | null;
|
|
725
|
+
lineHidden: boolean;
|
|
726
|
+
titleFontSizeHpt?: number | null;
|
|
727
|
+
titleFontBold?: boolean | null;
|
|
728
|
+
titleFontItalic?: boolean | null;
|
|
729
|
+
titleFontColor?: string | null;
|
|
730
|
+
titleFontFace?: string | null;
|
|
731
|
+
titleRotation?: number | null;
|
|
732
|
+
titleVerticalMode?: ChartModel['catAxisTitleVerticalMode'];
|
|
733
|
+
titleManualLayout?: ChartManualLayout | null;
|
|
687
734
|
}
|
|
688
735
|
interface ChartTextRun {
|
|
689
736
|
text: string;
|
|
@@ -785,6 +832,7 @@ interface SecondaryValueAxis {
|
|
|
785
832
|
title: string | null;
|
|
786
833
|
hidden: boolean;
|
|
787
834
|
formatCode?: string | null;
|
|
835
|
+
displayUnits?: ChartDisplayUnits | null;
|
|
788
836
|
fontColor?: string | null;
|
|
789
837
|
fontSizeHpt?: number | null;
|
|
790
838
|
fontItalic?: boolean | null;
|
|
@@ -808,6 +856,8 @@ interface SecondaryValueAxis {
|
|
|
808
856
|
logBase?: number | null;
|
|
809
857
|
orientation?: 'minMax' | 'maxMin' | string | null;
|
|
810
858
|
tickLabelPos?: string | null;
|
|
859
|
+
tickLabelSkip?: number | null;
|
|
860
|
+
tickMarkSkip?: number | null;
|
|
811
861
|
crosses?: string | null;
|
|
812
862
|
crossesAt?: number | null;
|
|
813
863
|
titleFontSizeHpt?: number | null;
|
|
@@ -819,6 +869,22 @@ interface SecondaryValueAxis {
|
|
|
819
869
|
titleVerticalMode?: 'horz' | 'vert' | 'vert270' | 'wordArtVert' | 'eaVert' | 'mongolianVert' | 'wordArtVertRtl' | null;
|
|
820
870
|
titleManualLayout?: ChartManualLayout | null;
|
|
821
871
|
}
|
|
872
|
+
interface ChartDisplayUnits {
|
|
873
|
+
divisor: number;
|
|
874
|
+
builtInUnit?: string | null;
|
|
875
|
+
label?: ChartDisplayUnitsLabel | null;
|
|
876
|
+
}
|
|
877
|
+
interface ChartDisplayUnitsLabel {
|
|
878
|
+
text?: string | null;
|
|
879
|
+
manualLayout?: ChartManualLayout | null;
|
|
880
|
+
fontSizeHpt?: number | null;
|
|
881
|
+
fontBold?: boolean | null;
|
|
882
|
+
fontItalic?: boolean | null;
|
|
883
|
+
fontColor?: string | null;
|
|
884
|
+
fontFace?: string | null;
|
|
885
|
+
rotation?: number | null;
|
|
886
|
+
boxStyle?: ChartLabelBox | null;
|
|
887
|
+
}
|
|
822
888
|
interface ChartManualLayout {
|
|
823
889
|
xMode?: string;
|
|
824
890
|
yMode?: string;
|
|
@@ -859,17 +925,17 @@ interface MathRenderer {
|
|
|
859
925
|
mathMLToSvg(mathml: string): Promise<MathSvg>;
|
|
860
926
|
}
|
|
861
927
|
//#endregion
|
|
862
|
-
//#region dist/.types-work/three-d-contract-
|
|
928
|
+
//#region dist/.types-work/three-d-contract-EE62eNRv.d.ts
|
|
863
929
|
interface ChartThreeDRenderer {
|
|
864
930
|
render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number): boolean;
|
|
865
931
|
}
|
|
866
932
|
//#endregion
|
|
867
|
-
//#region dist/.types-work/region-map-contract-
|
|
933
|
+
//#region dist/.types-work/region-map-contract-D3eTzib8.d.ts
|
|
868
934
|
interface ChartRegionMapRenderer {
|
|
869
935
|
render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number): boolean;
|
|
870
936
|
}
|
|
871
937
|
//#endregion
|
|
872
|
-
//#region dist/.types-work/hyperlink-
|
|
938
|
+
//#region dist/.types-work/hyperlink-qwS_UhA7.d.ts
|
|
873
939
|
type OoxmlErrorCode = 'encrypted' | 'invalid-password' | 'unsupported-encryption' | 'legacy-binary-format' | 'not-ooxml';
|
|
874
940
|
type OoxmlErrorStage = 'container' | 'decompression' | 'parsing' | 'serialization' | 'layout' | 'rendering' | 'worker';
|
|
875
941
|
declare class OoxmlError extends Error {
|
|
@@ -1013,7 +1079,7 @@ interface FindHighlightColors {
|
|
|
1013
1079
|
active?: string;
|
|
1014
1080
|
}
|
|
1015
1081
|
//#endregion
|
|
1016
|
-
//#region dist/.types-work/docx-
|
|
1082
|
+
//#region dist/.types-work/docx-C1SmQK-v.d.ts
|
|
1017
1083
|
interface DocxDocumentModel {
|
|
1018
1084
|
section: SectionProps;
|
|
1019
1085
|
body: BodyElement[];
|
|
@@ -2072,10 +2138,10 @@ interface DocxHighlightMatch {
|
|
|
2072
2138
|
type DocxHighlightColors = FindHighlightColors;
|
|
2073
2139
|
declare function buildDocxHighlightLayer(layer: HTMLDivElement, runs: DocxTextRunInfo[], matches: DocxHighlightMatch[], cssWidth: number, cssHeight: number, measureForFont: (font: string) => (s: string) => number, colors?: DocxHighlightColors): void;
|
|
2074
2140
|
declare namespace docx_d_exports {
|
|
2075
|
-
export { AnchorHostMetrics, AutoResizeOptions, BodyElement, BorderSpec, CellBorders, CellElement, ChartDataLabelOverride, ChartDataPointOverride, ChartErrBars, ChartExElementStyle, ChartLabelBox, ChartManualLayout, ChartModel, ChartOfPie, ChartRect, ChartRegionMapRenderer, ChartRun, ChartSeries, ChartSeriesDataLabels, ChartStockBarPaint, ChartStockUpDownBarStyle, ChartTextBox, ChartTextParagraph, ChartTextRun, ChartThreeD, ChartThreeDRenderer, ChartTrendline, ChartType, ChartexBoxSeries, ChartexBoxWhisker, ChartexGeography, ChartexHistogramBinning, ChartexRegionMap, ChartexRegionMapColors, ChartexRegionMapRow, ChartexSunburst, ChartexSunburstRow, ChartexTreemap, ChartexValueColorStop, ColSpec, CollectPageRunsOptions, ColumnsSpec, DocComment, DocNote, DocParagraph, DocRevision, DocRun, DocSettings, DocTable, DocTableCell, DocTableRow, DocxDocument, DocxDocumentModel, DocxElementContext, DocxElementContextOptions, DocxHighlightColors, DocxHighlightMatch, DocxMatchLocation, DocxPagePoint, DocxRunBorder, DocxScrollViewer, DocxScrollViewerOptions, DocxSelectionContext, DocxSelectionContextOptions, DocxSelectionRunLocator, DocxSelectionSourceLocator, DocxTextRun, DocxTextRunInfo, DocxTextSelectionContext, DocxViewer, DocxViewerOptions, Duotone$1 as Duotone, EmbeddedFontRef, FieldRun, FillRect, FindHighlightColors, FindMatch, FindMatchesOptions, FramePr, GradientFill, GradientStop, HeaderFooter, HeadersFooters, HyperlinkTarget, ImageRun, LegendManualLayout, LineEnd, LineNumbering, LineSpacing, LoadOptions$2 as LoadOptions, MatchRunSlice, MathAccent, MathArray, MathBar, MathBorderBox, MathBox, MathDelimiter, MathFraction, MathFunc, MathGroup, MathGroupChr, MathLimit, MathNary, MathNode, MathPhant, MathRadical, MathRenderer, MathRun, MathSPre, MathScript, MathStyle, MathSvg, NoteRef, NumberingInfo, OoxmlDecodedImageLimitError, OoxmlDecodedImageLimitMetric, OoxmlError, OoxmlErrorCode, OoxmlErrorStage, OoxmlFormat, OoxmlResourceLimit, OoxmlResourceLimitError, OoxmlResourceLimitErrorDetails, OoxmlResourceLimits, OoxmlResourceMetric, OoxmlResourceMetrics, OoxmlResourceMetricsCheckpoint, OoxmlResourceName, OoxmlResourcePolicySnapshot, OoxmlResourceUsageSnapshot, OoxmlResourceViolation, PTabRun, PageBorderEdge, PageBorders, PageNumType, ParaBorderEdge, ParagraphBorders, PathCmd$1 as PathCmd, PatternFill, RenderPageOptions, RenderPageToBitmapOptions, RubyAnnotation, RunRevision, SecondaryValueAxis, SectionGeom, SectionProps, ShapeFill$1 as ShapeFill, ShapeRun, ShapeStrokeFill, ShapeText$1 as ShapeText, ShapeTextRun$1 as ShapeTextRun, SolidFill, TabStop, TableBorders, TblpPr, TextPath, TextSelectionContextOptions, TileInfo, ViewerContextMenuEvent, ZoomableViewer, autoResize, buildDocxHighlightLayer, buildDocxTextLayer, isOoxmlDecodedImageLimitError, noteText, openExternalHyperlink, readDocxTextSelectionContext };
|
|
2141
|
+
export { AnchorHostMetrics, AutoResizeOptions, BodyElement, BorderSpec, CellBorders, CellElement, ChartDataLabelOverride, ChartDataPointOverride, ChartDisplayUnits, ChartDisplayUnitsLabel, ChartErrBars, ChartExElementStyle, ChartLabelBox, ChartManualLayout, ChartModel, ChartOfPie, ChartRect, ChartRegionMapRenderer, ChartRun, ChartSeries, ChartSeriesDataLabels, ChartStockBarPaint, ChartStockUpDownBarStyle, ChartTextBox, ChartTextParagraph, ChartTextRun, ChartThreeD, ChartThreeDRenderer, ChartThreeDSeriesAxis, ChartThreeDSurface, ChartTrendline, ChartType, ChartexBoxSeries, ChartexBoxWhisker, ChartexGeography, ChartexHistogramBinning, ChartexRegionMap, ChartexRegionMapColors, ChartexRegionMapRow, ChartexSunburst, ChartexSunburstRow, ChartexTreemap, ChartexValueColorStop, ColSpec, CollectPageRunsOptions, ColumnsSpec, DocComment, DocNote, DocParagraph, DocRevision, DocRun, DocSettings, DocTable, DocTableCell, DocTableRow, DocxDocument, DocxDocumentModel, DocxElementContext, DocxElementContextOptions, DocxHighlightColors, DocxHighlightMatch, DocxMatchLocation, DocxPagePoint, DocxRunBorder, DocxScrollViewer, DocxScrollViewerOptions, DocxSelectionContext, DocxSelectionContextOptions, DocxSelectionRunLocator, DocxSelectionSourceLocator, DocxTextRun, DocxTextRunInfo, DocxTextSelectionContext, DocxViewer, DocxViewerOptions, Duotone$1 as Duotone, EmbeddedFontRef, FieldRun, FillRect, FindHighlightColors, FindMatch, FindMatchesOptions, FramePr, GradientFill, GradientStop, HeaderFooter, HeadersFooters, HyperlinkTarget, ImageRun, LegendManualLayout, LineEnd, LineNumbering, LineSpacing, LoadOptions$2 as LoadOptions, MatchRunSlice, MathAccent, MathArray, MathBar, MathBorderBox, MathBox, MathDelimiter, MathFraction, MathFunc, MathGroup, MathGroupChr, MathLimit, MathNary, MathNode, MathPhant, MathRadical, MathRenderer, MathRun, MathSPre, MathScript, MathStyle, MathSvg, NoteRef, NumberingInfo, OoxmlDecodedImageLimitError, OoxmlDecodedImageLimitMetric, OoxmlError, OoxmlErrorCode, OoxmlErrorStage, OoxmlFormat, OoxmlResourceLimit, OoxmlResourceLimitError, OoxmlResourceLimitErrorDetails, OoxmlResourceLimits, OoxmlResourceMetric, OoxmlResourceMetrics, OoxmlResourceMetricsCheckpoint, OoxmlResourceName, OoxmlResourcePolicySnapshot, OoxmlResourceUsageSnapshot, OoxmlResourceViolation, PTabRun, PageBorderEdge, PageBorders, PageNumType, ParaBorderEdge, ParagraphBorders, PathCmd$1 as PathCmd, PatternFill, RenderPageOptions, RenderPageToBitmapOptions, RubyAnnotation, RunRevision, SecondaryValueAxis, SectionGeom, SectionProps, ShapeFill$1 as ShapeFill, ShapeRun, ShapeStrokeFill, ShapeText$1 as ShapeText, ShapeTextRun$1 as ShapeTextRun, SolidFill, TabStop, TableBorders, TblpPr, TextPath, TextSelectionContextOptions, TileInfo, ViewerContextMenuEvent, ZoomableViewer, autoResize, buildDocxHighlightLayer, buildDocxTextLayer, isOoxmlDecodedImageLimitError, noteText, openExternalHyperlink, readDocxTextSelectionContext };
|
|
2076
2142
|
}
|
|
2077
2143
|
//#endregion
|
|
2078
|
-
//#region dist/.types-work/pptx-
|
|
2144
|
+
//#region dist/.types-work/pptx-CCAe_LXl.d.ts
|
|
2079
2145
|
interface BlipBullet {
|
|
2080
2146
|
type: 'blip';
|
|
2081
2147
|
imagePath: string;
|
|
@@ -2714,10 +2780,10 @@ interface PptxHighlightMatch {
|
|
|
2714
2780
|
type PptxHighlightColors = FindHighlightColors;
|
|
2715
2781
|
declare function buildPptxHighlightLayer(layer: HTMLDivElement, runs: PptxTextRunInfo[], matches: PptxHighlightMatch[], cssWidth: number, cssHeight: number, measureForFont: (font: string) => (s: string) => number, colors?: PptxHighlightColors): void;
|
|
2716
2782
|
declare namespace pptx_d_exports {
|
|
2717
|
-
export { ArrowEnd, AutoResizeOptions, Bevel3d, BlipBullet, Bullet, Camera3d, ChartDataLabelOverride, ChartDataPointOverride, ChartElement, ChartErrBars, ChartExElementStyle, ChartLabelBox, ChartManualLayout, ChartModel, ChartOfPie, ChartRect, ChartRegionMapRenderer, ChartSeries, ChartSeriesDataLabels, ChartStockBarPaint, ChartStockUpDownBarStyle, ChartTextBox, ChartTextParagraph, ChartTextRun, ChartThreeD, ChartThreeDRenderer, ChartTrendline, ChartType, ChartexBoxSeries, ChartexBoxWhisker, ChartexGeography, ChartexHistogramBinning, ChartexRegionMap, ChartexRegionMapColors, ChartexRegionMapRow, ChartexSunburst, ChartexSunburstRow, ChartexTreemap, ChartexValueColorStop, DimOptions, Duotone$1 as Duotone, EquationRun, Fill, FillRect, FindHighlightColors, FindMatch, FindMatchesOptions, Glow, GradientFill, GradientStop$1 as GradientStop, HiddenSlideMode, HyperlinkTarget, ImageFill, LegendManualLayout, LightRig, LineBreak, LoadOptions$1 as LoadOptions, MatchRunSlice, MathAccent, MathArray, MathBar, MathBorderBox, MathBox, MathDelimiter, MathFraction, MathFunc, MathGroup, MathGroupChr, MathLimit, MathNary, MathNode, MathPhant, MathRadical, MathRenderer, MathRun, MathSPre, MathScript, MathStyle, MathSvg, MediaElement, NoFill, OoxmlDecodedImageLimitError, OoxmlDecodedImageLimitMetric, OoxmlError, OoxmlErrorCode, OoxmlErrorStage, OoxmlFormat, OoxmlResourceLimit, OoxmlResourceLimitError, OoxmlResourceLimitErrorDetails, OoxmlResourceLimits, OoxmlResourceMetric, OoxmlResourceMetrics, OoxmlResourceMetricsCheckpoint, OoxmlResourceName, OoxmlResourcePolicySnapshot, OoxmlResourceUsageSnapshot, OoxmlResourceViolation, Paragraph, PathCmd$2 as PathCmd, PatternFill, PictureElement, PptxComment, PptxElementContext, PptxElementContextOptions, PptxHighlightColors, PptxHighlightMatch, PptxMatchLocation, PptxPresentation, PptxScrollViewer, PptxScrollViewerOptions, PptxSelectionContext, PptxSelectionContextOptions, PptxSelectionRunLocator, PptxSlidePoint, PptxTextRunInfo, PptxTextSelectionContext, PptxViewer, PptxViewerOptions, PresentSlideOptions, Presentation, PresentationHandle, Reflection, RenderOptions, RenderSlideOptions, RenderSlideToBitmapOptions, Rot3d, Scene3d, SecondaryValueAxis, Shadow, ShapeElement, Slide, SlideElement, SlideElementOrigin, SlideElementSource, SlideRenderOptions, SoftEdge, SolidFill, Sp3d, SpaceLine, Stroke, TabStop$1 as TabStop, TableCell, TableElement, TableRow, TextBody, TextOutline, TextRect, TextRun, TextRunCallback, TextRunData, TextSelectionContextOptions, TileInfo, ViewerContextMenuEvent, ZoomableViewer, autoResize, buildPptxHighlightLayer, buildPptxTextLayer, isOoxmlDecodedImageLimitError, openExternalHyperlink, readPptxTextSelectionContext, renderSlide };
|
|
2783
|
+
export { ArrowEnd, AutoResizeOptions, Bevel3d, BlipBullet, Bullet, Camera3d, ChartDataLabelOverride, ChartDataPointOverride, ChartDisplayUnits, ChartDisplayUnitsLabel, ChartElement, ChartErrBars, ChartExElementStyle, ChartLabelBox, ChartManualLayout, ChartModel, ChartOfPie, ChartRect, ChartRegionMapRenderer, ChartSeries, ChartSeriesDataLabels, ChartStockBarPaint, ChartStockUpDownBarStyle, ChartTextBox, ChartTextParagraph, ChartTextRun, ChartThreeD, ChartThreeDRenderer, ChartThreeDSeriesAxis, ChartThreeDSurface, ChartTrendline, ChartType, ChartexBoxSeries, ChartexBoxWhisker, ChartexGeography, ChartexHistogramBinning, ChartexRegionMap, ChartexRegionMapColors, ChartexRegionMapRow, ChartexSunburst, ChartexSunburstRow, ChartexTreemap, ChartexValueColorStop, DimOptions, Duotone$1 as Duotone, EquationRun, Fill, FillRect, FindHighlightColors, FindMatch, FindMatchesOptions, Glow, GradientFill, GradientStop$1 as GradientStop, HiddenSlideMode, HyperlinkTarget, ImageFill, LegendManualLayout, LightRig, LineBreak, LoadOptions$1 as LoadOptions, MatchRunSlice, MathAccent, MathArray, MathBar, MathBorderBox, MathBox, MathDelimiter, MathFraction, MathFunc, MathGroup, MathGroupChr, MathLimit, MathNary, MathNode, MathPhant, MathRadical, MathRenderer, MathRun, MathSPre, MathScript, MathStyle, MathSvg, MediaElement, NoFill, OoxmlDecodedImageLimitError, OoxmlDecodedImageLimitMetric, OoxmlError, OoxmlErrorCode, OoxmlErrorStage, OoxmlFormat, OoxmlResourceLimit, OoxmlResourceLimitError, OoxmlResourceLimitErrorDetails, OoxmlResourceLimits, OoxmlResourceMetric, OoxmlResourceMetrics, OoxmlResourceMetricsCheckpoint, OoxmlResourceName, OoxmlResourcePolicySnapshot, OoxmlResourceUsageSnapshot, OoxmlResourceViolation, Paragraph, PathCmd$2 as PathCmd, PatternFill, PictureElement, PptxComment, PptxElementContext, PptxElementContextOptions, PptxHighlightColors, PptxHighlightMatch, PptxMatchLocation, PptxPresentation, PptxScrollViewer, PptxScrollViewerOptions, PptxSelectionContext, PptxSelectionContextOptions, PptxSelectionRunLocator, PptxSlidePoint, PptxTextRunInfo, PptxTextSelectionContext, PptxViewer, PptxViewerOptions, PresentSlideOptions, Presentation, PresentationHandle, Reflection, RenderOptions, RenderSlideOptions, RenderSlideToBitmapOptions, Rot3d, Scene3d, SecondaryValueAxis, Shadow, ShapeElement, Slide, SlideElement, SlideElementOrigin, SlideElementSource, SlideRenderOptions, SoftEdge, SolidFill, Sp3d, SpaceLine, Stroke, TabStop$1 as TabStop, TableCell, TableElement, TableRow, TextBody, TextOutline, TextRect, TextRun, TextRunCallback, TextRunData, TextSelectionContextOptions, TileInfo, ViewerContextMenuEvent, ZoomableViewer, autoResize, buildPptxHighlightLayer, buildPptxTextLayer, isOoxmlDecodedImageLimitError, openExternalHyperlink, readPptxTextSelectionContext, renderSlide };
|
|
2718
2784
|
}
|
|
2719
2785
|
//#endregion
|
|
2720
|
-
//#region dist/.types-work/xlsx-
|
|
2786
|
+
//#region dist/.types-work/xlsx-CUoAZmBw.d.ts
|
|
2721
2787
|
type ShapeFill = Exclude<Fill, {
|
|
2722
2788
|
fillType: 'image';
|
|
2723
2789
|
} | {
|
|
@@ -2758,6 +2824,7 @@ interface Worksheet {
|
|
|
2758
2824
|
colHidden?: Record<number, boolean>;
|
|
2759
2825
|
defaultColWidth: number;
|
|
2760
2826
|
defaultRowHeight: number;
|
|
2827
|
+
defaultRowHeightCustom?: boolean;
|
|
2761
2828
|
mergeCells: MergeCell[];
|
|
2762
2829
|
freezeRows: number;
|
|
2763
2830
|
freezeCols: number;
|
|
@@ -3256,6 +3323,7 @@ interface CfValue {
|
|
|
3256
3323
|
interface Row {
|
|
3257
3324
|
index: number;
|
|
3258
3325
|
height: number | null;
|
|
3326
|
+
customHeight?: boolean;
|
|
3259
3327
|
cells: Cell[];
|
|
3260
3328
|
outlineLevel?: number;
|
|
3261
3329
|
collapsed?: boolean;
|
|
@@ -3775,6 +3843,7 @@ declare class XlsxViewerEngine implements ZoomableViewer {
|
|
|
3775
3843
|
private setBandHidden;
|
|
3776
3844
|
private recordSizeOverride;
|
|
3777
3845
|
private wireSizeOverrides;
|
|
3846
|
+
private syncAutomaticRowOverrides;
|
|
3778
3847
|
private setBandCollapsed;
|
|
3779
3848
|
private afterOutlineMutation;
|
|
3780
3849
|
private buildOutlineLayoutOnly;
|
|
@@ -3818,6 +3887,7 @@ declare class XlsxViewerEngine implements ZoomableViewer {
|
|
|
3818
3887
|
private getHeaderHit;
|
|
3819
3888
|
private getResizeTarget;
|
|
3820
3889
|
private applyResize;
|
|
3890
|
+
private refitAutoRowsAfterColumnResize;
|
|
3821
3891
|
setSelectionColor(color: string): void;
|
|
3822
3892
|
setHiddenSheetMode(mode: HiddenSheetMode): Promise<void>;
|
|
3823
3893
|
get hiddenSheetMode(): HiddenSheetMode;
|
|
@@ -3941,7 +4011,7 @@ declare class XlsxSheetViewer implements ZoomableViewer {
|
|
|
3941
4011
|
}
|
|
3942
4012
|
declare function resolveSharedStrings(ws: Worksheet, sharedStrings: SharedString[]): Worksheet;
|
|
3943
4013
|
declare namespace xlsx_d_exports {
|
|
3944
|
-
export { ArrowEnd, AutoResizeOptions, Border, BorderEdge, Cell, CellAddress, CellFill, CellFont, CellValue, CellXf, CfIcon, CfRule, CfStop, CfValue, ChartAnchor, ChartDataLabelOverride, ChartDataPointOverride, ChartErrBars, ChartExElementStyle, ChartLabelBox, ChartManualLayout, ChartModel, ChartOfPie, ChartRect, ChartRegionMapRenderer, ChartSeries, ChartSeriesDataLabels, ChartStockBarPaint, ChartStockUpDownBarStyle, ChartTextBox, ChartTextParagraph, ChartTextRun, ChartThreeD, ChartThreeDRenderer, ChartTrendline, ChartType, ChartexBoxSeries, ChartexBoxWhisker, ChartexGeography, ChartexHistogramBinning, ChartexRegionMap, ChartexRegionMapColors, ChartexRegionMapRow, ChartexSunburst, ChartexSunburstRow, ChartexTreemap, ChartexValueColorStop, ConditionalFormat, DataValidation, DefinedName, Duotone, Dxf, FillRect, FindHighlightColors, FindMatch, FindMatchesOptions, GradientFill, GradientFillSpec, GradientStop$1 as GradientStop, HiddenSheetMode, Hyperlink, HyperlinkTarget, ImageAnchor, LegendManualLayout, LoadOptions, MAX_SELECTION_AREAS, MAX_SELECTION_CONTEXT_CELLS, MAX_SELECTION_CONTEXT_TEXT_CHARACTERS, MathAccent, MathArray, MathBar, MathBorderBox, MathBox, MathDelimiter, MathFraction, MathFunc, MathGroup, MathGroupChr, MathLimit, MathNary, MathNode, MathPhant, MathRadical, MathRenderer, MathRun, MathSPre, MathScript, MathStyle, MathSvg, MergeCell, NumFmt, OoxmlDecodedImageLimitError, OoxmlDecodedImageLimitMetric, OoxmlError, OoxmlErrorCode, OoxmlErrorStage, OoxmlFormat, OoxmlResourceLimit, OoxmlResourceLimitError, OoxmlResourceLimitErrorDetails, OoxmlResourceLimits, OoxmlResourceMetric, OoxmlResourceMetrics, OoxmlResourceMetricsCheckpoint, OoxmlResourceName, OoxmlResourcePolicySnapshot, OoxmlResourceUsageSnapshot, OoxmlResourceViolation, OutlinePr, ParsedWorkbook, PathCmd, PathInfo, PatternFill, PhoneticAlignment, PhoneticProperties, PhoneticRun, PhoneticType, PivotCacheSource, PivotDataField, PivotDiagnostic, PivotLocation, PivotMetadataStatus, PivotPageField, PivotPartialReason, PivotTableMetadata, RenderViewportToBitmapOptions, ResolvedList, Row, Run, RunFont, SecondaryValueAxis, ShapeAnchor, ShapeFill, ShapeGeom, ShapeInfo, ShapeParagraph, ShapeText, ShapeTextRun, SharedString, SheetMeta, SheetVisibility, SlicerAnchor, SlicerElementStyle, SlicerItem, SlicerStyle, SolidFill, SpaceLine, Sparkline, SparklineGroup, Styles, TableColumnInfo, TableInfo, ViewerContextMenuEvent, ViewportRange, Workbook, Worksheet, WorksheetCellRange, XlsxComment, XlsxCopyResult, XlsxElementAnchorMarker, XlsxElementContext, XlsxMatchLocation, XlsxRangeSelectionContext, XlsxRenderViewportOptions, XlsxScrollToCellOptions, XlsxSelectionArea, XlsxSelectionContext, XlsxSelectionContextCell, XlsxSelectionContextOptions, XlsxSelectionInput, XlsxSelectionState, XlsxSheetViewer, XlsxSheetViewerOptions, XlsxTextRunInfo, XlsxViewer, XlsxViewerOptions, XlsxViewportOffset, XlsxWorkbook, ZoomableViewer, autoResize, isOoxmlDecodedImageLimitError, openExternalHyperlink, resolveSharedStrings };
|
|
4014
|
+
export { ArrowEnd, AutoResizeOptions, Border, BorderEdge, Cell, CellAddress, CellFill, CellFont, CellValue, CellXf, CfIcon, CfRule, CfStop, CfValue, ChartAnchor, ChartDataLabelOverride, ChartDataPointOverride, ChartDisplayUnits, ChartDisplayUnitsLabel, ChartErrBars, ChartExElementStyle, ChartLabelBox, ChartManualLayout, ChartModel, ChartOfPie, ChartRect, ChartRegionMapRenderer, ChartSeries, ChartSeriesDataLabels, ChartStockBarPaint, ChartStockUpDownBarStyle, ChartTextBox, ChartTextParagraph, ChartTextRun, ChartThreeD, ChartThreeDRenderer, ChartThreeDSeriesAxis, ChartThreeDSurface, ChartTrendline, ChartType, ChartexBoxSeries, ChartexBoxWhisker, ChartexGeography, ChartexHistogramBinning, ChartexRegionMap, ChartexRegionMapColors, ChartexRegionMapRow, ChartexSunburst, ChartexSunburstRow, ChartexTreemap, ChartexValueColorStop, ConditionalFormat, DataValidation, DefinedName, Duotone, Dxf, FillRect, FindHighlightColors, FindMatch, FindMatchesOptions, GradientFill, GradientFillSpec, GradientStop$1 as GradientStop, HiddenSheetMode, Hyperlink, HyperlinkTarget, ImageAnchor, LegendManualLayout, LoadOptions, MAX_SELECTION_AREAS, MAX_SELECTION_CONTEXT_CELLS, MAX_SELECTION_CONTEXT_TEXT_CHARACTERS, MathAccent, MathArray, MathBar, MathBorderBox, MathBox, MathDelimiter, MathFraction, MathFunc, MathGroup, MathGroupChr, MathLimit, MathNary, MathNode, MathPhant, MathRadical, MathRenderer, MathRun, MathSPre, MathScript, MathStyle, MathSvg, MergeCell, NumFmt, OoxmlDecodedImageLimitError, OoxmlDecodedImageLimitMetric, OoxmlError, OoxmlErrorCode, OoxmlErrorStage, OoxmlFormat, OoxmlResourceLimit, OoxmlResourceLimitError, OoxmlResourceLimitErrorDetails, OoxmlResourceLimits, OoxmlResourceMetric, OoxmlResourceMetrics, OoxmlResourceMetricsCheckpoint, OoxmlResourceName, OoxmlResourcePolicySnapshot, OoxmlResourceUsageSnapshot, OoxmlResourceViolation, OutlinePr, ParsedWorkbook, PathCmd, PathInfo, PatternFill, PhoneticAlignment, PhoneticProperties, PhoneticRun, PhoneticType, PivotCacheSource, PivotDataField, PivotDiagnostic, PivotLocation, PivotMetadataStatus, PivotPageField, PivotPartialReason, PivotTableMetadata, RenderViewportToBitmapOptions, ResolvedList, Row, Run, RunFont, SecondaryValueAxis, ShapeAnchor, ShapeFill, ShapeGeom, ShapeInfo, ShapeParagraph, ShapeText, ShapeTextRun, SharedString, SheetMeta, SheetVisibility, SlicerAnchor, SlicerElementStyle, SlicerItem, SlicerStyle, SolidFill, SpaceLine, Sparkline, SparklineGroup, Styles, TableColumnInfo, TableInfo, ViewerContextMenuEvent, ViewportRange, Workbook, Worksheet, WorksheetCellRange, XlsxComment, XlsxCopyResult, XlsxElementAnchorMarker, XlsxElementContext, XlsxMatchLocation, XlsxRangeSelectionContext, XlsxRenderViewportOptions, XlsxScrollToCellOptions, XlsxSelectionArea, XlsxSelectionContext, XlsxSelectionContextCell, XlsxSelectionContextOptions, XlsxSelectionInput, XlsxSelectionState, XlsxSheetViewer, XlsxSheetViewerOptions, XlsxTextRunInfo, XlsxViewer, XlsxViewerOptions, XlsxViewportOffset, XlsxWorkbook, ZoomableViewer, autoResize, isOoxmlDecodedImageLimitError, openExternalHyperlink, resolveSharedStrings };
|
|
3945
4015
|
}
|
|
3946
4016
|
//#endregion
|
|
3947
4017
|
export { docx_d_exports as docx, pptx_d_exports as pptx, xlsx_d_exports as xlsx };
|
package/dist/types/node.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region dist/.types-work/chart-
|
|
1
|
+
//#region dist/.types-work/chart-BFzw-erU.d.ts
|
|
2
2
|
type MathStyle = 'roman' | 'italic' | 'bold' | 'boldItalic';
|
|
3
3
|
interface MathRun {
|
|
4
4
|
kind: 'run';
|
|
@@ -405,8 +405,10 @@ interface ChartTrendline {
|
|
|
405
405
|
labelText?: string | null;
|
|
406
406
|
labelFontSizeHpt?: number | null;
|
|
407
407
|
labelFontBold?: boolean | null;
|
|
408
|
+
labelFontItalic?: boolean | null;
|
|
408
409
|
labelFontColor?: string | null;
|
|
409
410
|
labelFontFace?: string | null;
|
|
411
|
+
labelBox?: ChartLabelBox | null;
|
|
410
412
|
labelTextAlign?: string | null;
|
|
411
413
|
lineColor?: string | null;
|
|
412
414
|
lineWidthEmu?: number | null;
|
|
@@ -435,6 +437,7 @@ interface ChartDataLabelOverride {
|
|
|
435
437
|
position?: string;
|
|
436
438
|
fontColor?: string;
|
|
437
439
|
fontSizeHpt?: number;
|
|
440
|
+
fontFace?: string;
|
|
438
441
|
fontBold?: boolean;
|
|
439
442
|
formatCode?: string;
|
|
440
443
|
separator?: string;
|
|
@@ -462,6 +465,7 @@ interface ChartSeriesDataLabels {
|
|
|
462
465
|
separator?: string;
|
|
463
466
|
fontBold?: boolean;
|
|
464
467
|
fontSizeHpt?: number;
|
|
468
|
+
fontFace?: string;
|
|
465
469
|
labelBox?: ChartLabelBox;
|
|
466
470
|
showLeaderLines?: boolean;
|
|
467
471
|
leaderLineColor?: string;
|
|
@@ -531,6 +535,8 @@ interface ChartModel {
|
|
|
531
535
|
subtotalIndices: number[];
|
|
532
536
|
legendManualLayout?: LegendManualLayout | null;
|
|
533
537
|
valAxisFormatCode?: string | null;
|
|
538
|
+
valAxisDisplayUnits?: ChartDisplayUnits | null;
|
|
539
|
+
catAxisDisplayUnits?: ChartDisplayUnits | null;
|
|
534
540
|
barGapWidth?: number | null;
|
|
535
541
|
barOverlap?: number | null;
|
|
536
542
|
dataLabelPosition?: string | null;
|
|
@@ -564,6 +570,9 @@ interface ChartModel {
|
|
|
564
570
|
legendFontColor?: string | null;
|
|
565
571
|
legendFontSizeHpt?: number | null;
|
|
566
572
|
legendFontBold?: boolean | null;
|
|
573
|
+
legendFillColor?: string | null;
|
|
574
|
+
legendLineColor?: string | null;
|
|
575
|
+
legendLineWidthEmu?: number | null;
|
|
567
576
|
themeMajorFontLatin?: string | null;
|
|
568
577
|
themeMinorFontLatin?: string | null;
|
|
569
578
|
chartBorderColor?: string | null;
|
|
@@ -664,6 +673,14 @@ interface ChartOfPie {
|
|
|
664
673
|
gapWidthPercent: number;
|
|
665
674
|
seriesLines: boolean;
|
|
666
675
|
}
|
|
676
|
+
interface ChartThreeDSurface {
|
|
677
|
+
fillColor?: string | null;
|
|
678
|
+
fillHidden?: boolean | null;
|
|
679
|
+
lineColor?: string | null;
|
|
680
|
+
lineWidthEmu?: number | null;
|
|
681
|
+
lineDash?: string | null;
|
|
682
|
+
lineHidden?: boolean | null;
|
|
683
|
+
}
|
|
667
684
|
interface ChartThreeD {
|
|
668
685
|
rotationX?: number | null;
|
|
669
686
|
rotationY?: number | null;
|
|
@@ -673,6 +690,36 @@ interface ChartThreeD {
|
|
|
673
690
|
rightAngleAxes?: boolean | null;
|
|
674
691
|
gapDepthPercent?: number | null;
|
|
675
692
|
shape?: string | null;
|
|
693
|
+
barGrouping?: 'standard' | 'clustered' | 'stacked' | 'percentStacked' | string | null;
|
|
694
|
+
seriesAxis?: ChartThreeDSeriesAxis | null;
|
|
695
|
+
floor?: ChartThreeDSurface | null;
|
|
696
|
+
sideWall?: ChartThreeDSurface | null;
|
|
697
|
+
backWall?: ChartThreeDSurface | null;
|
|
698
|
+
}
|
|
699
|
+
interface ChartThreeDSeriesAxis {
|
|
700
|
+
title?: string | null;
|
|
701
|
+
hidden: boolean;
|
|
702
|
+
orientation?: 'minMax' | 'maxMin' | string | null;
|
|
703
|
+
tickLabelPos?: string | null;
|
|
704
|
+
tickLabelSkip?: number | null;
|
|
705
|
+
tickMarkSkip?: number | null;
|
|
706
|
+
majorTickMark: string;
|
|
707
|
+
fontColor?: string | null;
|
|
708
|
+
fontSizeHpt?: number | null;
|
|
709
|
+
fontBold?: boolean | null;
|
|
710
|
+
fontItalic?: boolean | null;
|
|
711
|
+
fontFace?: string | null;
|
|
712
|
+
lineColor?: string | null;
|
|
713
|
+
lineWidthEmu?: number | null;
|
|
714
|
+
lineHidden: boolean;
|
|
715
|
+
titleFontSizeHpt?: number | null;
|
|
716
|
+
titleFontBold?: boolean | null;
|
|
717
|
+
titleFontItalic?: boolean | null;
|
|
718
|
+
titleFontColor?: string | null;
|
|
719
|
+
titleFontFace?: string | null;
|
|
720
|
+
titleRotation?: number | null;
|
|
721
|
+
titleVerticalMode?: ChartModel['catAxisTitleVerticalMode'];
|
|
722
|
+
titleManualLayout?: ChartManualLayout | null;
|
|
676
723
|
}
|
|
677
724
|
interface ChartTextRun {
|
|
678
725
|
text: string;
|
|
@@ -774,6 +821,7 @@ interface SecondaryValueAxis {
|
|
|
774
821
|
title: string | null;
|
|
775
822
|
hidden: boolean;
|
|
776
823
|
formatCode?: string | null;
|
|
824
|
+
displayUnits?: ChartDisplayUnits | null;
|
|
777
825
|
fontColor?: string | null;
|
|
778
826
|
fontSizeHpt?: number | null;
|
|
779
827
|
fontItalic?: boolean | null;
|
|
@@ -797,6 +845,8 @@ interface SecondaryValueAxis {
|
|
|
797
845
|
logBase?: number | null;
|
|
798
846
|
orientation?: 'minMax' | 'maxMin' | string | null;
|
|
799
847
|
tickLabelPos?: string | null;
|
|
848
|
+
tickLabelSkip?: number | null;
|
|
849
|
+
tickMarkSkip?: number | null;
|
|
800
850
|
crosses?: string | null;
|
|
801
851
|
crossesAt?: number | null;
|
|
802
852
|
titleFontSizeHpt?: number | null;
|
|
@@ -808,6 +858,22 @@ interface SecondaryValueAxis {
|
|
|
808
858
|
titleVerticalMode?: 'horz' | 'vert' | 'vert270' | 'wordArtVert' | 'eaVert' | 'mongolianVert' | 'wordArtVertRtl' | null;
|
|
809
859
|
titleManualLayout?: ChartManualLayout | null;
|
|
810
860
|
}
|
|
861
|
+
interface ChartDisplayUnits {
|
|
862
|
+
divisor: number;
|
|
863
|
+
builtInUnit?: string | null;
|
|
864
|
+
label?: ChartDisplayUnitsLabel | null;
|
|
865
|
+
}
|
|
866
|
+
interface ChartDisplayUnitsLabel {
|
|
867
|
+
text?: string | null;
|
|
868
|
+
manualLayout?: ChartManualLayout | null;
|
|
869
|
+
fontSizeHpt?: number | null;
|
|
870
|
+
fontBold?: boolean | null;
|
|
871
|
+
fontItalic?: boolean | null;
|
|
872
|
+
fontColor?: string | null;
|
|
873
|
+
fontFace?: string | null;
|
|
874
|
+
rotation?: number | null;
|
|
875
|
+
boxStyle?: ChartLabelBox | null;
|
|
876
|
+
}
|
|
811
877
|
interface ChartManualLayout {
|
|
812
878
|
xMode?: string;
|
|
813
879
|
yMode?: string;
|
|
@@ -830,7 +896,7 @@ interface LegendManualLayout {
|
|
|
830
896
|
h: number;
|
|
831
897
|
}
|
|
832
898
|
//#endregion
|
|
833
|
-
//#region dist/.types-work/hyperlink-
|
|
899
|
+
//#region dist/.types-work/hyperlink-qwS_UhA7.d.ts
|
|
834
900
|
type OoxmlErrorStage = 'container' | 'decompression' | 'parsing' | 'serialization' | 'layout' | 'rendering' | 'worker';
|
|
835
901
|
type OoxmlFormat = 'docx' | 'xlsx' | 'pptx';
|
|
836
902
|
interface OoxmlResourceUsageSnapshot {
|
|
@@ -1965,6 +2031,7 @@ interface Worksheet {
|
|
|
1965
2031
|
colHidden?: Record<number, boolean>;
|
|
1966
2032
|
defaultColWidth: number;
|
|
1967
2033
|
defaultRowHeight: number;
|
|
2034
|
+
defaultRowHeightCustom?: boolean;
|
|
1968
2035
|
mergeCells: MergeCell[];
|
|
1969
2036
|
freezeRows: number;
|
|
1970
2037
|
freezeCols: number;
|
|
@@ -2463,6 +2530,7 @@ interface CfValue {
|
|
|
2463
2530
|
interface Row {
|
|
2464
2531
|
index: number;
|
|
2465
2532
|
height: number | null;
|
|
2533
|
+
customHeight?: boolean;
|
|
2466
2534
|
cells: Cell[];
|
|
2467
2535
|
outlineLevel?: number;
|
|
2468
2536
|
collapsed?: boolean;
|