@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/pptx.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/pptx-
|
|
1082
|
+
//#region dist/.types-work/pptx-CCAe_LXl.d.ts
|
|
1017
1083
|
interface BlipBullet {
|
|
1018
1084
|
type: 'blip';
|
|
1019
1085
|
imagePath: string;
|
|
@@ -1652,4 +1718,4 @@ interface PptxHighlightMatch {
|
|
|
1652
1718
|
type PptxHighlightColors = FindHighlightColors;
|
|
1653
1719
|
declare function buildPptxHighlightLayer(layer: HTMLDivElement, runs: PptxTextRunInfo[], matches: PptxHighlightMatch[], cssWidth: number, cssHeight: number, measureForFont: (font: string) => (s: string) => number, colors?: PptxHighlightColors): void;
|
|
1654
1720
|
//#endregion
|
|
1655
|
-
export { type ArrowEnd, type AutoResizeOptions, type Bevel3d, type BlipBullet, type Bullet, type Camera3d, type ChartDataLabelOverride, type ChartDataPointOverride, type ChartElement, type ChartErrBars, type ChartExElementStyle, type ChartLabelBox, type ChartManualLayout, type ChartModel, type ChartOfPie, type ChartRect, type ChartRegionMapRenderer, type ChartSeries, type ChartSeriesDataLabels, type ChartStockBarPaint, type ChartStockUpDownBarStyle, type ChartTextBox, type ChartTextParagraph, type ChartTextRun, type ChartThreeD, type ChartThreeDRenderer, type ChartTrendline, type ChartType, type ChartexBoxSeries, type ChartexBoxWhisker, type ChartexGeography, type ChartexHistogramBinning, type ChartexRegionMap, type ChartexRegionMapColors, type ChartexRegionMapRow, type ChartexSunburst, type ChartexSunburstRow, type ChartexTreemap, type ChartexValueColorStop, type DimOptions, type Duotone, type EquationRun, type Fill, type FillRect, type FindHighlightColors, type FindMatch, type FindMatchesOptions, type Glow, type GradientFill, type GradientStop, type HiddenSlideMode, type HyperlinkTarget, type ImageFill, type LegendManualLayout, type LightRig, type LineBreak, type LoadOptions, type MatchRunSlice, type MathAccent, type MathArray, type MathBar, type MathBorderBox, type MathBox, type MathDelimiter, type MathFraction, type MathFunc, type MathGroup, type MathGroupChr, type MathLimit, type MathNary, type MathNode, type MathPhant, type MathRadical, type MathRenderer, type MathRun, type MathSPre, type MathScript, type MathStyle, type MathSvg, type MediaElement, type NoFill, OoxmlDecodedImageLimitError, type OoxmlDecodedImageLimitMetric, OoxmlError, type OoxmlErrorCode, type OoxmlErrorStage, type OoxmlFormat, type OoxmlResourceLimit, OoxmlResourceLimitError, type OoxmlResourceLimitErrorDetails, type OoxmlResourceLimits, type OoxmlResourceMetric, type OoxmlResourceMetrics, type OoxmlResourceMetricsCheckpoint, type OoxmlResourceName, type OoxmlResourcePolicySnapshot, type OoxmlResourceUsageSnapshot, type OoxmlResourceViolation, type Paragraph, type PathCmd, type PatternFill, type PictureElement, type PptxComment, type PptxElementContext, type PptxElementContextOptions, type PptxHighlightColors, type PptxHighlightMatch, type PptxMatchLocation, PptxPresentation, PptxScrollViewer, type PptxScrollViewerOptions, type PptxSelectionContext, type PptxSelectionContextOptions, type PptxSelectionRunLocator, type PptxSlidePoint, type PptxTextRunInfo, type PptxTextSelectionContext, PptxViewer, type PptxViewerOptions, type PresentSlideOptions, type Presentation, type PresentationHandle, type Reflection, type RenderOptions, type RenderSlideOptions, type RenderSlideToBitmapOptions, type Rot3d, type Scene3d, type SecondaryValueAxis, type Shadow, type ShapeElement, type Slide, type SlideElement, type SlideElementOrigin, type SlideElementSource, type SlideRenderOptions, type SoftEdge, type SolidFill, type Sp3d, type SpaceLine, type Stroke, type TabStop, type TableCell, type TableElement, type TableRow, type TextBody, type TextOutline, type TextRect, type TextRun, type TextRunCallback, type TextRunData, type TextSelectionContextOptions, type TileInfo, type ViewerContextMenuEvent, type ZoomableViewer, autoResize, buildPptxHighlightLayer, buildPptxTextLayer, isOoxmlDecodedImageLimitError, openExternalHyperlink, readPptxTextSelectionContext, renderSlide };
|
|
1721
|
+
export { type ArrowEnd, type AutoResizeOptions, type Bevel3d, type BlipBullet, type Bullet, type Camera3d, type ChartDataLabelOverride, type ChartDataPointOverride, type ChartDisplayUnits, type ChartDisplayUnitsLabel, type ChartElement, type ChartErrBars, type ChartExElementStyle, type ChartLabelBox, type ChartManualLayout, type ChartModel, type ChartOfPie, type ChartRect, type ChartRegionMapRenderer, type ChartSeries, type ChartSeriesDataLabels, type ChartStockBarPaint, type ChartStockUpDownBarStyle, type ChartTextBox, type ChartTextParagraph, type ChartTextRun, type ChartThreeD, type ChartThreeDRenderer, type 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 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 };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region dist/.types-work/chart-
|
|
1
|
+
//#region dist/.types-work/chart-BFzw-erU.d.ts
|
|
2
2
|
interface SolidFill {
|
|
3
3
|
fillType: 'solid';
|
|
4
4
|
color: string;
|
|
@@ -78,8 +78,10 @@ interface ChartTrendline {
|
|
|
78
78
|
labelText?: string | null;
|
|
79
79
|
labelFontSizeHpt?: number | null;
|
|
80
80
|
labelFontBold?: boolean | null;
|
|
81
|
+
labelFontItalic?: boolean | null;
|
|
81
82
|
labelFontColor?: string | null;
|
|
82
83
|
labelFontFace?: string | null;
|
|
84
|
+
labelBox?: ChartLabelBox | null;
|
|
83
85
|
labelTextAlign?: string | null;
|
|
84
86
|
lineColor?: string | null;
|
|
85
87
|
lineWidthEmu?: number | null;
|
|
@@ -108,6 +110,7 @@ interface ChartDataLabelOverride {
|
|
|
108
110
|
position?: string;
|
|
109
111
|
fontColor?: string;
|
|
110
112
|
fontSizeHpt?: number;
|
|
113
|
+
fontFace?: string;
|
|
111
114
|
fontBold?: boolean;
|
|
112
115
|
formatCode?: string;
|
|
113
116
|
separator?: string;
|
|
@@ -135,6 +138,7 @@ interface ChartSeriesDataLabels {
|
|
|
135
138
|
separator?: string;
|
|
136
139
|
fontBold?: boolean;
|
|
137
140
|
fontSizeHpt?: number;
|
|
141
|
+
fontFace?: string;
|
|
138
142
|
labelBox?: ChartLabelBox;
|
|
139
143
|
showLeaderLines?: boolean;
|
|
140
144
|
leaderLineColor?: string;
|
|
@@ -204,6 +208,8 @@ interface ChartModel {
|
|
|
204
208
|
subtotalIndices: number[];
|
|
205
209
|
legendManualLayout?: LegendManualLayout | null;
|
|
206
210
|
valAxisFormatCode?: string | null;
|
|
211
|
+
valAxisDisplayUnits?: ChartDisplayUnits | null;
|
|
212
|
+
catAxisDisplayUnits?: ChartDisplayUnits | null;
|
|
207
213
|
barGapWidth?: number | null;
|
|
208
214
|
barOverlap?: number | null;
|
|
209
215
|
dataLabelPosition?: string | null;
|
|
@@ -237,6 +243,9 @@ interface ChartModel {
|
|
|
237
243
|
legendFontColor?: string | null;
|
|
238
244
|
legendFontSizeHpt?: number | null;
|
|
239
245
|
legendFontBold?: boolean | null;
|
|
246
|
+
legendFillColor?: string | null;
|
|
247
|
+
legendLineColor?: string | null;
|
|
248
|
+
legendLineWidthEmu?: number | null;
|
|
240
249
|
themeMajorFontLatin?: string | null;
|
|
241
250
|
themeMinorFontLatin?: string | null;
|
|
242
251
|
chartBorderColor?: string | null;
|
|
@@ -337,6 +346,14 @@ interface ChartOfPie {
|
|
|
337
346
|
gapWidthPercent: number;
|
|
338
347
|
seriesLines: boolean;
|
|
339
348
|
}
|
|
349
|
+
interface ChartThreeDSurface {
|
|
350
|
+
fillColor?: string | null;
|
|
351
|
+
fillHidden?: boolean | null;
|
|
352
|
+
lineColor?: string | null;
|
|
353
|
+
lineWidthEmu?: number | null;
|
|
354
|
+
lineDash?: string | null;
|
|
355
|
+
lineHidden?: boolean | null;
|
|
356
|
+
}
|
|
340
357
|
interface ChartThreeD {
|
|
341
358
|
rotationX?: number | null;
|
|
342
359
|
rotationY?: number | null;
|
|
@@ -346,6 +363,36 @@ interface ChartThreeD {
|
|
|
346
363
|
rightAngleAxes?: boolean | null;
|
|
347
364
|
gapDepthPercent?: number | null;
|
|
348
365
|
shape?: string | null;
|
|
366
|
+
barGrouping?: 'standard' | 'clustered' | 'stacked' | 'percentStacked' | string | null;
|
|
367
|
+
seriesAxis?: ChartThreeDSeriesAxis | null;
|
|
368
|
+
floor?: ChartThreeDSurface | null;
|
|
369
|
+
sideWall?: ChartThreeDSurface | null;
|
|
370
|
+
backWall?: ChartThreeDSurface | null;
|
|
371
|
+
}
|
|
372
|
+
interface ChartThreeDSeriesAxis {
|
|
373
|
+
title?: string | null;
|
|
374
|
+
hidden: boolean;
|
|
375
|
+
orientation?: 'minMax' | 'maxMin' | string | null;
|
|
376
|
+
tickLabelPos?: string | null;
|
|
377
|
+
tickLabelSkip?: number | null;
|
|
378
|
+
tickMarkSkip?: number | null;
|
|
379
|
+
majorTickMark: string;
|
|
380
|
+
fontColor?: string | null;
|
|
381
|
+
fontSizeHpt?: number | null;
|
|
382
|
+
fontBold?: boolean | null;
|
|
383
|
+
fontItalic?: boolean | null;
|
|
384
|
+
fontFace?: string | null;
|
|
385
|
+
lineColor?: string | null;
|
|
386
|
+
lineWidthEmu?: number | null;
|
|
387
|
+
lineHidden: boolean;
|
|
388
|
+
titleFontSizeHpt?: number | null;
|
|
389
|
+
titleFontBold?: boolean | null;
|
|
390
|
+
titleFontItalic?: boolean | null;
|
|
391
|
+
titleFontColor?: string | null;
|
|
392
|
+
titleFontFace?: string | null;
|
|
393
|
+
titleRotation?: number | null;
|
|
394
|
+
titleVerticalMode?: ChartModel['catAxisTitleVerticalMode'];
|
|
395
|
+
titleManualLayout?: ChartManualLayout | null;
|
|
349
396
|
}
|
|
350
397
|
interface ChartTextRun {
|
|
351
398
|
text: string;
|
|
@@ -447,6 +494,7 @@ interface SecondaryValueAxis {
|
|
|
447
494
|
title: string | null;
|
|
448
495
|
hidden: boolean;
|
|
449
496
|
formatCode?: string | null;
|
|
497
|
+
displayUnits?: ChartDisplayUnits | null;
|
|
450
498
|
fontColor?: string | null;
|
|
451
499
|
fontSizeHpt?: number | null;
|
|
452
500
|
fontItalic?: boolean | null;
|
|
@@ -470,6 +518,8 @@ interface SecondaryValueAxis {
|
|
|
470
518
|
logBase?: number | null;
|
|
471
519
|
orientation?: 'minMax' | 'maxMin' | string | null;
|
|
472
520
|
tickLabelPos?: string | null;
|
|
521
|
+
tickLabelSkip?: number | null;
|
|
522
|
+
tickMarkSkip?: number | null;
|
|
473
523
|
crosses?: string | null;
|
|
474
524
|
crossesAt?: number | null;
|
|
475
525
|
titleFontSizeHpt?: number | null;
|
|
@@ -481,6 +531,22 @@ interface SecondaryValueAxis {
|
|
|
481
531
|
titleVerticalMode?: 'horz' | 'vert' | 'vert270' | 'wordArtVert' | 'eaVert' | 'mongolianVert' | 'wordArtVertRtl' | null;
|
|
482
532
|
titleManualLayout?: ChartManualLayout | null;
|
|
483
533
|
}
|
|
534
|
+
interface ChartDisplayUnits {
|
|
535
|
+
divisor: number;
|
|
536
|
+
builtInUnit?: string | null;
|
|
537
|
+
label?: ChartDisplayUnitsLabel | null;
|
|
538
|
+
}
|
|
539
|
+
interface ChartDisplayUnitsLabel {
|
|
540
|
+
text?: string | null;
|
|
541
|
+
manualLayout?: ChartManualLayout | null;
|
|
542
|
+
fontSizeHpt?: number | null;
|
|
543
|
+
fontBold?: boolean | null;
|
|
544
|
+
fontItalic?: boolean | null;
|
|
545
|
+
fontColor?: string | null;
|
|
546
|
+
fontFace?: string | null;
|
|
547
|
+
rotation?: number | null;
|
|
548
|
+
boxStyle?: ChartLabelBox | null;
|
|
549
|
+
}
|
|
484
550
|
interface ChartManualLayout {
|
|
485
551
|
xMode?: string;
|
|
486
552
|
yMode?: string;
|
|
@@ -509,7 +575,7 @@ interface ChartRect {
|
|
|
509
575
|
h: number;
|
|
510
576
|
}
|
|
511
577
|
//#endregion
|
|
512
|
-
//#region dist/.types-work/region-map-contract-
|
|
578
|
+
//#region dist/.types-work/region-map-contract-D3eTzib8.d.ts
|
|
513
579
|
interface ChartRegionMapRenderer {
|
|
514
580
|
render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number): boolean;
|
|
515
581
|
}
|
package/dist/types/three-d.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
|
interface SolidFill {
|
|
3
3
|
fillType: 'solid';
|
|
4
4
|
color: string;
|
|
@@ -78,8 +78,10 @@ interface ChartTrendline {
|
|
|
78
78
|
labelText?: string | null;
|
|
79
79
|
labelFontSizeHpt?: number | null;
|
|
80
80
|
labelFontBold?: boolean | null;
|
|
81
|
+
labelFontItalic?: boolean | null;
|
|
81
82
|
labelFontColor?: string | null;
|
|
82
83
|
labelFontFace?: string | null;
|
|
84
|
+
labelBox?: ChartLabelBox | null;
|
|
83
85
|
labelTextAlign?: string | null;
|
|
84
86
|
lineColor?: string | null;
|
|
85
87
|
lineWidthEmu?: number | null;
|
|
@@ -108,6 +110,7 @@ interface ChartDataLabelOverride {
|
|
|
108
110
|
position?: string;
|
|
109
111
|
fontColor?: string;
|
|
110
112
|
fontSizeHpt?: number;
|
|
113
|
+
fontFace?: string;
|
|
111
114
|
fontBold?: boolean;
|
|
112
115
|
formatCode?: string;
|
|
113
116
|
separator?: string;
|
|
@@ -135,6 +138,7 @@ interface ChartSeriesDataLabels {
|
|
|
135
138
|
separator?: string;
|
|
136
139
|
fontBold?: boolean;
|
|
137
140
|
fontSizeHpt?: number;
|
|
141
|
+
fontFace?: string;
|
|
138
142
|
labelBox?: ChartLabelBox;
|
|
139
143
|
showLeaderLines?: boolean;
|
|
140
144
|
leaderLineColor?: string;
|
|
@@ -204,6 +208,8 @@ interface ChartModel {
|
|
|
204
208
|
subtotalIndices: number[];
|
|
205
209
|
legendManualLayout?: LegendManualLayout | null;
|
|
206
210
|
valAxisFormatCode?: string | null;
|
|
211
|
+
valAxisDisplayUnits?: ChartDisplayUnits | null;
|
|
212
|
+
catAxisDisplayUnits?: ChartDisplayUnits | null;
|
|
207
213
|
barGapWidth?: number | null;
|
|
208
214
|
barOverlap?: number | null;
|
|
209
215
|
dataLabelPosition?: string | null;
|
|
@@ -237,6 +243,9 @@ interface ChartModel {
|
|
|
237
243
|
legendFontColor?: string | null;
|
|
238
244
|
legendFontSizeHpt?: number | null;
|
|
239
245
|
legendFontBold?: boolean | null;
|
|
246
|
+
legendFillColor?: string | null;
|
|
247
|
+
legendLineColor?: string | null;
|
|
248
|
+
legendLineWidthEmu?: number | null;
|
|
240
249
|
themeMajorFontLatin?: string | null;
|
|
241
250
|
themeMinorFontLatin?: string | null;
|
|
242
251
|
chartBorderColor?: string | null;
|
|
@@ -337,6 +346,14 @@ interface ChartOfPie {
|
|
|
337
346
|
gapWidthPercent: number;
|
|
338
347
|
seriesLines: boolean;
|
|
339
348
|
}
|
|
349
|
+
interface ChartThreeDSurface {
|
|
350
|
+
fillColor?: string | null;
|
|
351
|
+
fillHidden?: boolean | null;
|
|
352
|
+
lineColor?: string | null;
|
|
353
|
+
lineWidthEmu?: number | null;
|
|
354
|
+
lineDash?: string | null;
|
|
355
|
+
lineHidden?: boolean | null;
|
|
356
|
+
}
|
|
340
357
|
interface ChartThreeD {
|
|
341
358
|
rotationX?: number | null;
|
|
342
359
|
rotationY?: number | null;
|
|
@@ -346,6 +363,36 @@ interface ChartThreeD {
|
|
|
346
363
|
rightAngleAxes?: boolean | null;
|
|
347
364
|
gapDepthPercent?: number | null;
|
|
348
365
|
shape?: string | null;
|
|
366
|
+
barGrouping?: 'standard' | 'clustered' | 'stacked' | 'percentStacked' | string | null;
|
|
367
|
+
seriesAxis?: ChartThreeDSeriesAxis | null;
|
|
368
|
+
floor?: ChartThreeDSurface | null;
|
|
369
|
+
sideWall?: ChartThreeDSurface | null;
|
|
370
|
+
backWall?: ChartThreeDSurface | null;
|
|
371
|
+
}
|
|
372
|
+
interface ChartThreeDSeriesAxis {
|
|
373
|
+
title?: string | null;
|
|
374
|
+
hidden: boolean;
|
|
375
|
+
orientation?: 'minMax' | 'maxMin' | string | null;
|
|
376
|
+
tickLabelPos?: string | null;
|
|
377
|
+
tickLabelSkip?: number | null;
|
|
378
|
+
tickMarkSkip?: number | null;
|
|
379
|
+
majorTickMark: string;
|
|
380
|
+
fontColor?: string | null;
|
|
381
|
+
fontSizeHpt?: number | null;
|
|
382
|
+
fontBold?: boolean | null;
|
|
383
|
+
fontItalic?: boolean | null;
|
|
384
|
+
fontFace?: string | null;
|
|
385
|
+
lineColor?: string | null;
|
|
386
|
+
lineWidthEmu?: number | null;
|
|
387
|
+
lineHidden: boolean;
|
|
388
|
+
titleFontSizeHpt?: number | null;
|
|
389
|
+
titleFontBold?: boolean | null;
|
|
390
|
+
titleFontItalic?: boolean | null;
|
|
391
|
+
titleFontColor?: string | null;
|
|
392
|
+
titleFontFace?: string | null;
|
|
393
|
+
titleRotation?: number | null;
|
|
394
|
+
titleVerticalMode?: ChartModel['catAxisTitleVerticalMode'];
|
|
395
|
+
titleManualLayout?: ChartManualLayout | null;
|
|
349
396
|
}
|
|
350
397
|
interface ChartTextRun {
|
|
351
398
|
text: string;
|
|
@@ -447,6 +494,7 @@ interface SecondaryValueAxis {
|
|
|
447
494
|
title: string | null;
|
|
448
495
|
hidden: boolean;
|
|
449
496
|
formatCode?: string | null;
|
|
497
|
+
displayUnits?: ChartDisplayUnits | null;
|
|
450
498
|
fontColor?: string | null;
|
|
451
499
|
fontSizeHpt?: number | null;
|
|
452
500
|
fontItalic?: boolean | null;
|
|
@@ -470,6 +518,8 @@ interface SecondaryValueAxis {
|
|
|
470
518
|
logBase?: number | null;
|
|
471
519
|
orientation?: 'minMax' | 'maxMin' | string | null;
|
|
472
520
|
tickLabelPos?: string | null;
|
|
521
|
+
tickLabelSkip?: number | null;
|
|
522
|
+
tickMarkSkip?: number | null;
|
|
473
523
|
crosses?: string | null;
|
|
474
524
|
crossesAt?: number | null;
|
|
475
525
|
titleFontSizeHpt?: number | null;
|
|
@@ -481,6 +531,22 @@ interface SecondaryValueAxis {
|
|
|
481
531
|
titleVerticalMode?: 'horz' | 'vert' | 'vert270' | 'wordArtVert' | 'eaVert' | 'mongolianVert' | 'wordArtVertRtl' | null;
|
|
482
532
|
titleManualLayout?: ChartManualLayout | null;
|
|
483
533
|
}
|
|
534
|
+
interface ChartDisplayUnits {
|
|
535
|
+
divisor: number;
|
|
536
|
+
builtInUnit?: string | null;
|
|
537
|
+
label?: ChartDisplayUnitsLabel | null;
|
|
538
|
+
}
|
|
539
|
+
interface ChartDisplayUnitsLabel {
|
|
540
|
+
text?: string | null;
|
|
541
|
+
manualLayout?: ChartManualLayout | null;
|
|
542
|
+
fontSizeHpt?: number | null;
|
|
543
|
+
fontBold?: boolean | null;
|
|
544
|
+
fontItalic?: boolean | null;
|
|
545
|
+
fontColor?: string | null;
|
|
546
|
+
fontFace?: string | null;
|
|
547
|
+
rotation?: number | null;
|
|
548
|
+
boxStyle?: ChartLabelBox | null;
|
|
549
|
+
}
|
|
484
550
|
interface ChartManualLayout {
|
|
485
551
|
xMode?: string;
|
|
486
552
|
yMode?: string;
|
|
@@ -509,7 +575,7 @@ interface ChartRect {
|
|
|
509
575
|
h: number;
|
|
510
576
|
}
|
|
511
577
|
//#endregion
|
|
512
|
-
//#region dist/.types-work/three-d-contract-
|
|
578
|
+
//#region dist/.types-work/three-d-contract-EE62eNRv.d.ts
|
|
513
579
|
interface ChartThreeDRenderer {
|
|
514
580
|
render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number): boolean;
|
|
515
581
|
}
|