@silurus/ooxml 0.80.1 → 0.80.2
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/README.md +4 -3
- package/dist/assets/render-worker-BD1_LaFD.js +9 -0
- package/dist/assets/render-worker-BIqMQFkZ.js +8 -0
- package/dist/assets/render-worker-DuvX4_li.js +22 -0
- package/dist/{canvas-viewer-mechanics-BdMdqj1R.js → canvas-viewer-mechanics-D-r6wHY_.js} +1 -1
- package/dist/{chart-number-format-tjYUR9eS.js → chart-number-format-qLhnk6hj.js} +57 -17
- package/dist/{document-pull-client-Dk2EnTL7.js → document-pull-client-Cukkyojh.js} +37 -19
- package/dist/{docx-Dw1kxR2M.js → docx-BlELeDNF.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-vYf5DWek.js → line-distribute-Bvtp0Gt6.js} +1 -1
- package/dist/{line-metrics-BY-aNaLO.js → line-metrics-DdEJYxjx.js} +3789 -2998
- package/dist/node.mjs +7 -7
- package/dist/{pptx-CE7xARJ_.js → pptx-JBkXh6Cy.js} +6 -6
- package/dist/pptx.mjs +4 -4
- package/dist/pptx_parser_bg.wasm +0 -0
- package/dist/region-map.mjs +29 -29
- package/dist/{render-C4IiRZiF.js → render-CoqMHcbF.js} +1 -1
- package/dist/{render-worker-host-BVOjz-oV.js → render-worker-host-Br7ZDyGE.js} +1 -1
- package/dist/{render-worker-host-D9mO9qMj.js → render-worker-host-CM1JXVqg.js} +1 -1
- package/dist/{render-worker-host-1VHH_HQk.js → render-worker-host-DFtd9Z-J.js} +1 -1
- package/dist/{resource-measurement-DOQetcWm.js → resource-measurement-CgMubiAI.js} +1 -1
- package/dist/{session-BYh13Iu2.js → session-DkPblDiq.js} +2 -2
- package/dist/{slide-pull-client-v6Feibq1.js → slide-pull-client-m2blvngt.js} +4 -4
- package/dist/{dash-CMzZIDz_.js → three-d-C28kqDym.js} +352 -90
- package/dist/three-d.mjs +509 -715
- package/dist/types/docx.d.ts +58 -7
- package/dist/types/index.d.ts +62 -11
- package/dist/types/node.d.ts +54 -3
- package/dist/types/pptx.d.ts +58 -7
- package/dist/types/region-map.d.ts +54 -3
- package/dist/types/three-d.d.ts +54 -3
- package/dist/types/xlsx.d.ts +58 -7
- package/dist/{worksheet-pull-client-Nk7nbD3-.js → worksheet-pull-client-BntP6RiO.js} +2 -2
- package/dist/{xlsx-zy51yoRg.js → xlsx-dhsUXUpX.js} +982 -958
- package/dist/xlsx.mjs +4 -4
- package/dist/xlsx_parser_bg.wasm +0 -0
- package/package.json +1 -1
- package/dist/assets/render-worker-BC6Wez97.js +0 -7
- package/dist/assets/render-worker-DidI5svV.js +0 -21
- package/dist/assets/render-worker-n3fNJ5XR.js +0 -8
package/dist/types/pptx.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region dist/.types-work/chart-
|
|
1
|
+
//#region dist/.types-work/chart-Cv7Lx8lu.d.ts
|
|
2
2
|
type MathStyle = 'roman' | 'italic' | 'bold' | 'boldItalic';
|
|
3
3
|
interface MathRun {
|
|
4
4
|
kind: 'run';
|
|
@@ -374,6 +374,13 @@ interface ChartSeries {
|
|
|
374
374
|
chartexFormatIdx?: number | null;
|
|
375
375
|
color: string | null;
|
|
376
376
|
fillPattern?: PatternFill | null;
|
|
377
|
+
invertIfNegative?: boolean | null;
|
|
378
|
+
automaticNegativeStyle?: boolean | null;
|
|
379
|
+
invertedFill?: SolidFill | GradientFill | PatternFill | null;
|
|
380
|
+
invertedFillHidden?: boolean | null;
|
|
381
|
+
invertedLineColor?: string | null;
|
|
382
|
+
invertedLineWidthEmu?: number | null;
|
|
383
|
+
invertedLineHidden?: boolean | null;
|
|
377
384
|
chartexStyle?: ChartExElementStyle | null;
|
|
378
385
|
lineColor?: string | null;
|
|
379
386
|
lineWidthEmu?: number | null;
|
|
@@ -383,11 +390,17 @@ interface ChartSeries {
|
|
|
383
390
|
dataLabelColors?: (string | null)[] | null;
|
|
384
391
|
labelColor?: string | null;
|
|
385
392
|
seriesType?: string | null;
|
|
393
|
+
barGroupIndex?: number | null;
|
|
394
|
+
barGroupDirection?: 'bar' | 'col' | string | null;
|
|
395
|
+
barGroupGrouping?: 'standard' | 'clustered' | 'stacked' | 'percentStacked' | string | null;
|
|
396
|
+
barGroupGapWidth?: number | null;
|
|
397
|
+
barGroupOverlap?: number | null;
|
|
386
398
|
useSecondaryAxis?: boolean | null;
|
|
387
399
|
categories?: string[] | null;
|
|
388
400
|
showMarker?: boolean | null;
|
|
389
401
|
valFormatCode?: string | null;
|
|
390
402
|
catFormatCode?: string | null;
|
|
403
|
+
catFormatBuiltinId?: number | null;
|
|
391
404
|
catFormatCodes?: (string | null)[] | null;
|
|
392
405
|
markerSymbol?: string | null;
|
|
393
406
|
markerSize?: number | null;
|
|
@@ -404,6 +417,7 @@ interface ChartSeries {
|
|
|
404
417
|
lineHidden?: boolean | null;
|
|
405
418
|
}
|
|
406
419
|
interface ChartTrendline {
|
|
420
|
+
name?: string | null;
|
|
407
421
|
trendlineType: string;
|
|
408
422
|
order?: number | null;
|
|
409
423
|
period?: number | null;
|
|
@@ -414,6 +428,8 @@ interface ChartTrendline {
|
|
|
414
428
|
dispEq?: boolean | null;
|
|
415
429
|
labelManualLayout?: ChartManualLayout | null;
|
|
416
430
|
labelText?: string | null;
|
|
431
|
+
labelFormatCode?: string | null;
|
|
432
|
+
labelFormatSourceLinked?: boolean | null;
|
|
417
433
|
labelFontSizeHpt?: number | null;
|
|
418
434
|
labelFontBold?: boolean | null;
|
|
419
435
|
labelFontItalic?: boolean | null;
|
|
@@ -492,7 +508,7 @@ interface ChartErrBars {
|
|
|
492
508
|
lineWidthEmu?: number;
|
|
493
509
|
dash?: string;
|
|
494
510
|
}
|
|
495
|
-
type ChartType = 'line' | 'stackedLine' | 'stackedLinePct' | 'clusteredBar' | 'clusteredBarH' | 'stackedBar' | 'stackedBarH' | 'stackedBarPct' | 'stackedBarHPct' | 'area' | 'stackedArea' | 'stackedAreaPct' | 'pie' | 'doughnut' | 'scatter' | 'bubble' | 'radar' | 'waterfall' | 'stock' | 'boxWhisker' | 'sunburst' | 'treemap' | string;
|
|
511
|
+
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;
|
|
496
512
|
interface ChartExElementStyle {
|
|
497
513
|
fillPaints?: Array<SolidFill | GradientFill | PatternFill | null> | null;
|
|
498
514
|
fillColors?: Array<string | null> | null;
|
|
@@ -508,11 +524,35 @@ interface ChartExElementStyle {
|
|
|
508
524
|
fillColorIndex?: number | null;
|
|
509
525
|
lineColorIndex?: number | null;
|
|
510
526
|
}
|
|
527
|
+
interface ChartSurfaceBandFormat {
|
|
528
|
+
idx: number;
|
|
529
|
+
fill?: SolidFill | GradientFill | PatternFill | null;
|
|
530
|
+
fillHidden?: boolean | null;
|
|
531
|
+
lineColor?: string | null;
|
|
532
|
+
lineWidthEmu?: number | null;
|
|
533
|
+
lineHidden?: boolean | null;
|
|
534
|
+
}
|
|
535
|
+
interface ChartDataTable {
|
|
536
|
+
showHorizontalBorder: boolean;
|
|
537
|
+
showVerticalBorder: boolean;
|
|
538
|
+
showOutline: boolean;
|
|
539
|
+
showKeys: boolean;
|
|
540
|
+
fontSizeHpt?: number | null;
|
|
541
|
+
fontFace?: string | null;
|
|
542
|
+
fontColor?: string | null;
|
|
543
|
+
fontBold?: boolean | null;
|
|
544
|
+
fontItalic?: boolean | null;
|
|
545
|
+
lineColor?: string | null;
|
|
546
|
+
lineWidthEmu?: number | null;
|
|
547
|
+
lineHidden?: boolean | null;
|
|
548
|
+
}
|
|
511
549
|
interface ChartModel {
|
|
512
550
|
chartType: ChartType;
|
|
513
551
|
title: string | null;
|
|
552
|
+
titleRichRuns?: ChartTextRun[] | null;
|
|
514
553
|
titlePresent?: boolean;
|
|
515
554
|
categories: string[];
|
|
555
|
+
categoryLevels?: string[][] | null;
|
|
516
556
|
series: ChartSeries[];
|
|
517
557
|
chartTextBoxes?: ChartTextBox[] | null;
|
|
518
558
|
varyColors?: boolean | null;
|
|
@@ -528,6 +568,7 @@ interface ChartModel {
|
|
|
528
568
|
plotAreaBg: string | null;
|
|
529
569
|
chartBg: string | null;
|
|
530
570
|
showLegend: boolean;
|
|
571
|
+
dataTable?: ChartDataTable | null;
|
|
531
572
|
legendPos: 'r' | 'l' | 't' | 'b' | 'tr' | null;
|
|
532
573
|
catAxisCrossBetween: 'between' | 'midCat' | string;
|
|
533
574
|
valAxisMajorTickMark: 'cross' | 'out' | 'in' | 'none' | string;
|
|
@@ -632,6 +673,11 @@ interface ChartModel {
|
|
|
632
673
|
valAxisMinorUnit?: number | null;
|
|
633
674
|
catAxisMajorUnit?: number | null;
|
|
634
675
|
catAxisMinorUnit?: number | null;
|
|
676
|
+
catAxisIsDate?: boolean | null;
|
|
677
|
+
catAxisBaseTimeUnit?: 'days' | 'months' | 'years' | string | null;
|
|
678
|
+
catAxisMajorTimeUnit?: 'days' | 'months' | 'years' | string | null;
|
|
679
|
+
catAxisMinorTimeUnit?: 'days' | 'months' | 'years' | string | null;
|
|
680
|
+
catAxisNoMultiLevelLabels?: boolean | null;
|
|
635
681
|
valAxisLogBase?: number | null;
|
|
636
682
|
catAxisLogBase?: number | null;
|
|
637
683
|
valAxisOrientation?: 'minMax' | 'maxMin' | string | null;
|
|
@@ -645,6 +691,10 @@ interface ChartModel {
|
|
|
645
691
|
stockHiLowLineColor?: string | null;
|
|
646
692
|
stockUpDownBars?: boolean | null;
|
|
647
693
|
stockUpDownBarStyle?: ChartStockUpDownBarStyle | null;
|
|
694
|
+
surfaceWireframe?: boolean | null;
|
|
695
|
+
surfaceBandFormats?: ChartSurfaceBandFormat[] | null;
|
|
696
|
+
legacyChartStyle?: number | null;
|
|
697
|
+
themeAccentColors?: string[] | null;
|
|
648
698
|
ofPie?: ChartOfPie | null;
|
|
649
699
|
threeD?: ChartThreeD | null;
|
|
650
700
|
chartexBox?: ChartexBoxWhisker | null;
|
|
@@ -736,6 +786,7 @@ interface ChartTextRun {
|
|
|
736
786
|
text: string;
|
|
737
787
|
fontSizeHpt?: number | null;
|
|
738
788
|
bold?: boolean | null;
|
|
789
|
+
italic?: boolean | null;
|
|
739
790
|
color?: string | null;
|
|
740
791
|
fontFace?: string | null;
|
|
741
792
|
}
|
|
@@ -925,17 +976,17 @@ interface MathRenderer {
|
|
|
925
976
|
mathMLToSvg(mathml: string): Promise<MathSvg>;
|
|
926
977
|
}
|
|
927
978
|
//#endregion
|
|
928
|
-
//#region dist/.types-work/three-d-contract-
|
|
979
|
+
//#region dist/.types-work/three-d-contract-BhPkqlow.d.ts
|
|
929
980
|
interface ChartThreeDRenderer {
|
|
930
981
|
render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number): boolean;
|
|
931
982
|
}
|
|
932
983
|
//#endregion
|
|
933
|
-
//#region dist/.types-work/region-map-contract-
|
|
984
|
+
//#region dist/.types-work/region-map-contract-B6z5ZsH4.d.ts
|
|
934
985
|
interface ChartRegionMapRenderer {
|
|
935
986
|
render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number): boolean;
|
|
936
987
|
}
|
|
937
988
|
//#endregion
|
|
938
|
-
//#region dist/.types-work/hyperlink-
|
|
989
|
+
//#region dist/.types-work/hyperlink-EKY3amDQ.d.ts
|
|
939
990
|
type OoxmlErrorCode = 'encrypted' | 'invalid-password' | 'unsupported-encryption' | 'legacy-binary-format' | 'not-ooxml';
|
|
940
991
|
type OoxmlErrorStage = 'container' | 'decompression' | 'parsing' | 'serialization' | 'layout' | 'rendering' | 'worker';
|
|
941
992
|
declare class OoxmlError extends Error {
|
|
@@ -1079,7 +1130,7 @@ interface FindHighlightColors {
|
|
|
1079
1130
|
active?: string;
|
|
1080
1131
|
}
|
|
1081
1132
|
//#endregion
|
|
1082
|
-
//#region dist/.types-work/pptx-
|
|
1133
|
+
//#region dist/.types-work/pptx-ev766SKh.d.ts
|
|
1083
1134
|
interface BlipBullet {
|
|
1084
1135
|
type: 'blip';
|
|
1085
1136
|
imagePath: string;
|
|
@@ -1718,4 +1769,4 @@ interface PptxHighlightMatch {
|
|
|
1718
1769
|
type PptxHighlightColors = FindHighlightColors;
|
|
1719
1770
|
declare function buildPptxHighlightLayer(layer: HTMLDivElement, runs: PptxTextRunInfo[], matches: PptxHighlightMatch[], cssWidth: number, cssHeight: number, measureForFont: (font: string) => (s: string) => number, colors?: PptxHighlightColors): void;
|
|
1720
1771
|
//#endregion
|
|
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 };
|
|
1772
|
+
export { type ArrowEnd, type AutoResizeOptions, type Bevel3d, type BlipBullet, type Bullet, type Camera3d, type ChartDataLabelOverride, type ChartDataPointOverride, type ChartDataTable, 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 ChartSurfaceBandFormat, 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-Cv7Lx8lu.d.ts
|
|
2
2
|
interface SolidFill {
|
|
3
3
|
fillType: 'solid';
|
|
4
4
|
color: string;
|
|
@@ -36,6 +36,13 @@ interface ChartSeries {
|
|
|
36
36
|
chartexFormatIdx?: number | null;
|
|
37
37
|
color: string | null;
|
|
38
38
|
fillPattern?: PatternFill | null;
|
|
39
|
+
invertIfNegative?: boolean | null;
|
|
40
|
+
automaticNegativeStyle?: boolean | null;
|
|
41
|
+
invertedFill?: SolidFill | GradientFill | PatternFill | null;
|
|
42
|
+
invertedFillHidden?: boolean | null;
|
|
43
|
+
invertedLineColor?: string | null;
|
|
44
|
+
invertedLineWidthEmu?: number | null;
|
|
45
|
+
invertedLineHidden?: boolean | null;
|
|
39
46
|
chartexStyle?: ChartExElementStyle | null;
|
|
40
47
|
lineColor?: string | null;
|
|
41
48
|
lineWidthEmu?: number | null;
|
|
@@ -45,11 +52,17 @@ interface ChartSeries {
|
|
|
45
52
|
dataLabelColors?: (string | null)[] | null;
|
|
46
53
|
labelColor?: string | null;
|
|
47
54
|
seriesType?: string | null;
|
|
55
|
+
barGroupIndex?: number | null;
|
|
56
|
+
barGroupDirection?: 'bar' | 'col' | string | null;
|
|
57
|
+
barGroupGrouping?: 'standard' | 'clustered' | 'stacked' | 'percentStacked' | string | null;
|
|
58
|
+
barGroupGapWidth?: number | null;
|
|
59
|
+
barGroupOverlap?: number | null;
|
|
48
60
|
useSecondaryAxis?: boolean | null;
|
|
49
61
|
categories?: string[] | null;
|
|
50
62
|
showMarker?: boolean | null;
|
|
51
63
|
valFormatCode?: string | null;
|
|
52
64
|
catFormatCode?: string | null;
|
|
65
|
+
catFormatBuiltinId?: number | null;
|
|
53
66
|
catFormatCodes?: (string | null)[] | null;
|
|
54
67
|
markerSymbol?: string | null;
|
|
55
68
|
markerSize?: number | null;
|
|
@@ -66,6 +79,7 @@ interface ChartSeries {
|
|
|
66
79
|
lineHidden?: boolean | null;
|
|
67
80
|
}
|
|
68
81
|
interface ChartTrendline {
|
|
82
|
+
name?: string | null;
|
|
69
83
|
trendlineType: string;
|
|
70
84
|
order?: number | null;
|
|
71
85
|
period?: number | null;
|
|
@@ -76,6 +90,8 @@ interface ChartTrendline {
|
|
|
76
90
|
dispEq?: boolean | null;
|
|
77
91
|
labelManualLayout?: ChartManualLayout | null;
|
|
78
92
|
labelText?: string | null;
|
|
93
|
+
labelFormatCode?: string | null;
|
|
94
|
+
labelFormatSourceLinked?: boolean | null;
|
|
79
95
|
labelFontSizeHpt?: number | null;
|
|
80
96
|
labelFontBold?: boolean | null;
|
|
81
97
|
labelFontItalic?: boolean | null;
|
|
@@ -154,7 +170,7 @@ interface ChartErrBars {
|
|
|
154
170
|
lineWidthEmu?: number;
|
|
155
171
|
dash?: string;
|
|
156
172
|
}
|
|
157
|
-
type ChartType = 'line' | 'stackedLine' | 'stackedLinePct' | 'clusteredBar' | 'clusteredBarH' | 'stackedBar' | 'stackedBarH' | 'stackedBarPct' | 'stackedBarHPct' | 'area' | 'stackedArea' | 'stackedAreaPct' | 'pie' | 'doughnut' | 'scatter' | 'bubble' | 'radar' | 'waterfall' | 'stock' | 'boxWhisker' | 'sunburst' | 'treemap' | string;
|
|
173
|
+
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;
|
|
158
174
|
interface ChartExElementStyle {
|
|
159
175
|
fillPaints?: Array<SolidFill | GradientFill | PatternFill | null> | null;
|
|
160
176
|
fillColors?: Array<string | null> | null;
|
|
@@ -170,11 +186,35 @@ interface ChartExElementStyle {
|
|
|
170
186
|
fillColorIndex?: number | null;
|
|
171
187
|
lineColorIndex?: number | null;
|
|
172
188
|
}
|
|
189
|
+
interface ChartSurfaceBandFormat {
|
|
190
|
+
idx: number;
|
|
191
|
+
fill?: SolidFill | GradientFill | PatternFill | null;
|
|
192
|
+
fillHidden?: boolean | null;
|
|
193
|
+
lineColor?: string | null;
|
|
194
|
+
lineWidthEmu?: number | null;
|
|
195
|
+
lineHidden?: boolean | null;
|
|
196
|
+
}
|
|
197
|
+
interface ChartDataTable {
|
|
198
|
+
showHorizontalBorder: boolean;
|
|
199
|
+
showVerticalBorder: boolean;
|
|
200
|
+
showOutline: boolean;
|
|
201
|
+
showKeys: boolean;
|
|
202
|
+
fontSizeHpt?: number | null;
|
|
203
|
+
fontFace?: string | null;
|
|
204
|
+
fontColor?: string | null;
|
|
205
|
+
fontBold?: boolean | null;
|
|
206
|
+
fontItalic?: boolean | null;
|
|
207
|
+
lineColor?: string | null;
|
|
208
|
+
lineWidthEmu?: number | null;
|
|
209
|
+
lineHidden?: boolean | null;
|
|
210
|
+
}
|
|
173
211
|
interface ChartModel {
|
|
174
212
|
chartType: ChartType;
|
|
175
213
|
title: string | null;
|
|
214
|
+
titleRichRuns?: ChartTextRun[] | null;
|
|
176
215
|
titlePresent?: boolean;
|
|
177
216
|
categories: string[];
|
|
217
|
+
categoryLevels?: string[][] | null;
|
|
178
218
|
series: ChartSeries[];
|
|
179
219
|
chartTextBoxes?: ChartTextBox[] | null;
|
|
180
220
|
varyColors?: boolean | null;
|
|
@@ -190,6 +230,7 @@ interface ChartModel {
|
|
|
190
230
|
plotAreaBg: string | null;
|
|
191
231
|
chartBg: string | null;
|
|
192
232
|
showLegend: boolean;
|
|
233
|
+
dataTable?: ChartDataTable | null;
|
|
193
234
|
legendPos: 'r' | 'l' | 't' | 'b' | 'tr' | null;
|
|
194
235
|
catAxisCrossBetween: 'between' | 'midCat' | string;
|
|
195
236
|
valAxisMajorTickMark: 'cross' | 'out' | 'in' | 'none' | string;
|
|
@@ -294,6 +335,11 @@ interface ChartModel {
|
|
|
294
335
|
valAxisMinorUnit?: number | null;
|
|
295
336
|
catAxisMajorUnit?: number | null;
|
|
296
337
|
catAxisMinorUnit?: number | null;
|
|
338
|
+
catAxisIsDate?: boolean | null;
|
|
339
|
+
catAxisBaseTimeUnit?: 'days' | 'months' | 'years' | string | null;
|
|
340
|
+
catAxisMajorTimeUnit?: 'days' | 'months' | 'years' | string | null;
|
|
341
|
+
catAxisMinorTimeUnit?: 'days' | 'months' | 'years' | string | null;
|
|
342
|
+
catAxisNoMultiLevelLabels?: boolean | null;
|
|
297
343
|
valAxisLogBase?: number | null;
|
|
298
344
|
catAxisLogBase?: number | null;
|
|
299
345
|
valAxisOrientation?: 'minMax' | 'maxMin' | string | null;
|
|
@@ -307,6 +353,10 @@ interface ChartModel {
|
|
|
307
353
|
stockHiLowLineColor?: string | null;
|
|
308
354
|
stockUpDownBars?: boolean | null;
|
|
309
355
|
stockUpDownBarStyle?: ChartStockUpDownBarStyle | null;
|
|
356
|
+
surfaceWireframe?: boolean | null;
|
|
357
|
+
surfaceBandFormats?: ChartSurfaceBandFormat[] | null;
|
|
358
|
+
legacyChartStyle?: number | null;
|
|
359
|
+
themeAccentColors?: string[] | null;
|
|
310
360
|
ofPie?: ChartOfPie | null;
|
|
311
361
|
threeD?: ChartThreeD | null;
|
|
312
362
|
chartexBox?: ChartexBoxWhisker | null;
|
|
@@ -398,6 +448,7 @@ interface ChartTextRun {
|
|
|
398
448
|
text: string;
|
|
399
449
|
fontSizeHpt?: number | null;
|
|
400
450
|
bold?: boolean | null;
|
|
451
|
+
italic?: boolean | null;
|
|
401
452
|
color?: string | null;
|
|
402
453
|
fontFace?: string | null;
|
|
403
454
|
}
|
|
@@ -575,7 +626,7 @@ interface ChartRect {
|
|
|
575
626
|
h: number;
|
|
576
627
|
}
|
|
577
628
|
//#endregion
|
|
578
|
-
//#region dist/.types-work/region-map-contract-
|
|
629
|
+
//#region dist/.types-work/region-map-contract-B6z5ZsH4.d.ts
|
|
579
630
|
interface ChartRegionMapRenderer {
|
|
580
631
|
render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number): boolean;
|
|
581
632
|
}
|
package/dist/types/three-d.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region dist/.types-work/chart-
|
|
1
|
+
//#region dist/.types-work/chart-Cv7Lx8lu.d.ts
|
|
2
2
|
interface SolidFill {
|
|
3
3
|
fillType: 'solid';
|
|
4
4
|
color: string;
|
|
@@ -36,6 +36,13 @@ interface ChartSeries {
|
|
|
36
36
|
chartexFormatIdx?: number | null;
|
|
37
37
|
color: string | null;
|
|
38
38
|
fillPattern?: PatternFill | null;
|
|
39
|
+
invertIfNegative?: boolean | null;
|
|
40
|
+
automaticNegativeStyle?: boolean | null;
|
|
41
|
+
invertedFill?: SolidFill | GradientFill | PatternFill | null;
|
|
42
|
+
invertedFillHidden?: boolean | null;
|
|
43
|
+
invertedLineColor?: string | null;
|
|
44
|
+
invertedLineWidthEmu?: number | null;
|
|
45
|
+
invertedLineHidden?: boolean | null;
|
|
39
46
|
chartexStyle?: ChartExElementStyle | null;
|
|
40
47
|
lineColor?: string | null;
|
|
41
48
|
lineWidthEmu?: number | null;
|
|
@@ -45,11 +52,17 @@ interface ChartSeries {
|
|
|
45
52
|
dataLabelColors?: (string | null)[] | null;
|
|
46
53
|
labelColor?: string | null;
|
|
47
54
|
seriesType?: string | null;
|
|
55
|
+
barGroupIndex?: number | null;
|
|
56
|
+
barGroupDirection?: 'bar' | 'col' | string | null;
|
|
57
|
+
barGroupGrouping?: 'standard' | 'clustered' | 'stacked' | 'percentStacked' | string | null;
|
|
58
|
+
barGroupGapWidth?: number | null;
|
|
59
|
+
barGroupOverlap?: number | null;
|
|
48
60
|
useSecondaryAxis?: boolean | null;
|
|
49
61
|
categories?: string[] | null;
|
|
50
62
|
showMarker?: boolean | null;
|
|
51
63
|
valFormatCode?: string | null;
|
|
52
64
|
catFormatCode?: string | null;
|
|
65
|
+
catFormatBuiltinId?: number | null;
|
|
53
66
|
catFormatCodes?: (string | null)[] | null;
|
|
54
67
|
markerSymbol?: string | null;
|
|
55
68
|
markerSize?: number | null;
|
|
@@ -66,6 +79,7 @@ interface ChartSeries {
|
|
|
66
79
|
lineHidden?: boolean | null;
|
|
67
80
|
}
|
|
68
81
|
interface ChartTrendline {
|
|
82
|
+
name?: string | null;
|
|
69
83
|
trendlineType: string;
|
|
70
84
|
order?: number | null;
|
|
71
85
|
period?: number | null;
|
|
@@ -76,6 +90,8 @@ interface ChartTrendline {
|
|
|
76
90
|
dispEq?: boolean | null;
|
|
77
91
|
labelManualLayout?: ChartManualLayout | null;
|
|
78
92
|
labelText?: string | null;
|
|
93
|
+
labelFormatCode?: string | null;
|
|
94
|
+
labelFormatSourceLinked?: boolean | null;
|
|
79
95
|
labelFontSizeHpt?: number | null;
|
|
80
96
|
labelFontBold?: boolean | null;
|
|
81
97
|
labelFontItalic?: boolean | null;
|
|
@@ -154,7 +170,7 @@ interface ChartErrBars {
|
|
|
154
170
|
lineWidthEmu?: number;
|
|
155
171
|
dash?: string;
|
|
156
172
|
}
|
|
157
|
-
type ChartType = 'line' | 'stackedLine' | 'stackedLinePct' | 'clusteredBar' | 'clusteredBarH' | 'stackedBar' | 'stackedBarH' | 'stackedBarPct' | 'stackedBarHPct' | 'area' | 'stackedArea' | 'stackedAreaPct' | 'pie' | 'doughnut' | 'scatter' | 'bubble' | 'radar' | 'waterfall' | 'stock' | 'boxWhisker' | 'sunburst' | 'treemap' | string;
|
|
173
|
+
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;
|
|
158
174
|
interface ChartExElementStyle {
|
|
159
175
|
fillPaints?: Array<SolidFill | GradientFill | PatternFill | null> | null;
|
|
160
176
|
fillColors?: Array<string | null> | null;
|
|
@@ -170,11 +186,35 @@ interface ChartExElementStyle {
|
|
|
170
186
|
fillColorIndex?: number | null;
|
|
171
187
|
lineColorIndex?: number | null;
|
|
172
188
|
}
|
|
189
|
+
interface ChartSurfaceBandFormat {
|
|
190
|
+
idx: number;
|
|
191
|
+
fill?: SolidFill | GradientFill | PatternFill | null;
|
|
192
|
+
fillHidden?: boolean | null;
|
|
193
|
+
lineColor?: string | null;
|
|
194
|
+
lineWidthEmu?: number | null;
|
|
195
|
+
lineHidden?: boolean | null;
|
|
196
|
+
}
|
|
197
|
+
interface ChartDataTable {
|
|
198
|
+
showHorizontalBorder: boolean;
|
|
199
|
+
showVerticalBorder: boolean;
|
|
200
|
+
showOutline: boolean;
|
|
201
|
+
showKeys: boolean;
|
|
202
|
+
fontSizeHpt?: number | null;
|
|
203
|
+
fontFace?: string | null;
|
|
204
|
+
fontColor?: string | null;
|
|
205
|
+
fontBold?: boolean | null;
|
|
206
|
+
fontItalic?: boolean | null;
|
|
207
|
+
lineColor?: string | null;
|
|
208
|
+
lineWidthEmu?: number | null;
|
|
209
|
+
lineHidden?: boolean | null;
|
|
210
|
+
}
|
|
173
211
|
interface ChartModel {
|
|
174
212
|
chartType: ChartType;
|
|
175
213
|
title: string | null;
|
|
214
|
+
titleRichRuns?: ChartTextRun[] | null;
|
|
176
215
|
titlePresent?: boolean;
|
|
177
216
|
categories: string[];
|
|
217
|
+
categoryLevels?: string[][] | null;
|
|
178
218
|
series: ChartSeries[];
|
|
179
219
|
chartTextBoxes?: ChartTextBox[] | null;
|
|
180
220
|
varyColors?: boolean | null;
|
|
@@ -190,6 +230,7 @@ interface ChartModel {
|
|
|
190
230
|
plotAreaBg: string | null;
|
|
191
231
|
chartBg: string | null;
|
|
192
232
|
showLegend: boolean;
|
|
233
|
+
dataTable?: ChartDataTable | null;
|
|
193
234
|
legendPos: 'r' | 'l' | 't' | 'b' | 'tr' | null;
|
|
194
235
|
catAxisCrossBetween: 'between' | 'midCat' | string;
|
|
195
236
|
valAxisMajorTickMark: 'cross' | 'out' | 'in' | 'none' | string;
|
|
@@ -294,6 +335,11 @@ interface ChartModel {
|
|
|
294
335
|
valAxisMinorUnit?: number | null;
|
|
295
336
|
catAxisMajorUnit?: number | null;
|
|
296
337
|
catAxisMinorUnit?: number | null;
|
|
338
|
+
catAxisIsDate?: boolean | null;
|
|
339
|
+
catAxisBaseTimeUnit?: 'days' | 'months' | 'years' | string | null;
|
|
340
|
+
catAxisMajorTimeUnit?: 'days' | 'months' | 'years' | string | null;
|
|
341
|
+
catAxisMinorTimeUnit?: 'days' | 'months' | 'years' | string | null;
|
|
342
|
+
catAxisNoMultiLevelLabels?: boolean | null;
|
|
297
343
|
valAxisLogBase?: number | null;
|
|
298
344
|
catAxisLogBase?: number | null;
|
|
299
345
|
valAxisOrientation?: 'minMax' | 'maxMin' | string | null;
|
|
@@ -307,6 +353,10 @@ interface ChartModel {
|
|
|
307
353
|
stockHiLowLineColor?: string | null;
|
|
308
354
|
stockUpDownBars?: boolean | null;
|
|
309
355
|
stockUpDownBarStyle?: ChartStockUpDownBarStyle | null;
|
|
356
|
+
surfaceWireframe?: boolean | null;
|
|
357
|
+
surfaceBandFormats?: ChartSurfaceBandFormat[] | null;
|
|
358
|
+
legacyChartStyle?: number | null;
|
|
359
|
+
themeAccentColors?: string[] | null;
|
|
310
360
|
ofPie?: ChartOfPie | null;
|
|
311
361
|
threeD?: ChartThreeD | null;
|
|
312
362
|
chartexBox?: ChartexBoxWhisker | null;
|
|
@@ -398,6 +448,7 @@ interface ChartTextRun {
|
|
|
398
448
|
text: string;
|
|
399
449
|
fontSizeHpt?: number | null;
|
|
400
450
|
bold?: boolean | null;
|
|
451
|
+
italic?: boolean | null;
|
|
401
452
|
color?: string | null;
|
|
402
453
|
fontFace?: string | null;
|
|
403
454
|
}
|
|
@@ -575,7 +626,7 @@ interface ChartRect {
|
|
|
575
626
|
h: number;
|
|
576
627
|
}
|
|
577
628
|
//#endregion
|
|
578
|
-
//#region dist/.types-work/three-d-contract-
|
|
629
|
+
//#region dist/.types-work/three-d-contract-BhPkqlow.d.ts
|
|
579
630
|
interface ChartThreeDRenderer {
|
|
580
631
|
render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number): boolean;
|
|
581
632
|
}
|
package/dist/types/xlsx.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region dist/.types-work/chart-
|
|
1
|
+
//#region dist/.types-work/chart-Cv7Lx8lu.d.ts
|
|
2
2
|
type MathStyle = 'roman' | 'italic' | 'bold' | 'boldItalic';
|
|
3
3
|
interface MathRun {
|
|
4
4
|
kind: 'run';
|
|
@@ -177,6 +177,13 @@ interface ChartSeries {
|
|
|
177
177
|
chartexFormatIdx?: number | null;
|
|
178
178
|
color: string | null;
|
|
179
179
|
fillPattern?: PatternFill | null;
|
|
180
|
+
invertIfNegative?: boolean | null;
|
|
181
|
+
automaticNegativeStyle?: boolean | null;
|
|
182
|
+
invertedFill?: SolidFill | GradientFill | PatternFill | null;
|
|
183
|
+
invertedFillHidden?: boolean | null;
|
|
184
|
+
invertedLineColor?: string | null;
|
|
185
|
+
invertedLineWidthEmu?: number | null;
|
|
186
|
+
invertedLineHidden?: boolean | null;
|
|
180
187
|
chartexStyle?: ChartExElementStyle | null;
|
|
181
188
|
lineColor?: string | null;
|
|
182
189
|
lineWidthEmu?: number | null;
|
|
@@ -186,11 +193,17 @@ interface ChartSeries {
|
|
|
186
193
|
dataLabelColors?: (string | null)[] | null;
|
|
187
194
|
labelColor?: string | null;
|
|
188
195
|
seriesType?: string | null;
|
|
196
|
+
barGroupIndex?: number | null;
|
|
197
|
+
barGroupDirection?: 'bar' | 'col' | string | null;
|
|
198
|
+
barGroupGrouping?: 'standard' | 'clustered' | 'stacked' | 'percentStacked' | string | null;
|
|
199
|
+
barGroupGapWidth?: number | null;
|
|
200
|
+
barGroupOverlap?: number | null;
|
|
189
201
|
useSecondaryAxis?: boolean | null;
|
|
190
202
|
categories?: string[] | null;
|
|
191
203
|
showMarker?: boolean | null;
|
|
192
204
|
valFormatCode?: string | null;
|
|
193
205
|
catFormatCode?: string | null;
|
|
206
|
+
catFormatBuiltinId?: number | null;
|
|
194
207
|
catFormatCodes?: (string | null)[] | null;
|
|
195
208
|
markerSymbol?: string | null;
|
|
196
209
|
markerSize?: number | null;
|
|
@@ -207,6 +220,7 @@ interface ChartSeries {
|
|
|
207
220
|
lineHidden?: boolean | null;
|
|
208
221
|
}
|
|
209
222
|
interface ChartTrendline {
|
|
223
|
+
name?: string | null;
|
|
210
224
|
trendlineType: string;
|
|
211
225
|
order?: number | null;
|
|
212
226
|
period?: number | null;
|
|
@@ -217,6 +231,8 @@ interface ChartTrendline {
|
|
|
217
231
|
dispEq?: boolean | null;
|
|
218
232
|
labelManualLayout?: ChartManualLayout | null;
|
|
219
233
|
labelText?: string | null;
|
|
234
|
+
labelFormatCode?: string | null;
|
|
235
|
+
labelFormatSourceLinked?: boolean | null;
|
|
220
236
|
labelFontSizeHpt?: number | null;
|
|
221
237
|
labelFontBold?: boolean | null;
|
|
222
238
|
labelFontItalic?: boolean | null;
|
|
@@ -295,7 +311,7 @@ interface ChartErrBars {
|
|
|
295
311
|
lineWidthEmu?: number;
|
|
296
312
|
dash?: string;
|
|
297
313
|
}
|
|
298
|
-
type ChartType = 'line' | 'stackedLine' | 'stackedLinePct' | 'clusteredBar' | 'clusteredBarH' | 'stackedBar' | 'stackedBarH' | 'stackedBarPct' | 'stackedBarHPct' | 'area' | 'stackedArea' | 'stackedAreaPct' | 'pie' | 'doughnut' | 'scatter' | 'bubble' | 'radar' | 'waterfall' | 'stock' | 'boxWhisker' | 'sunburst' | 'treemap' | string;
|
|
314
|
+
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;
|
|
299
315
|
interface ChartExElementStyle {
|
|
300
316
|
fillPaints?: Array<SolidFill | GradientFill | PatternFill | null> | null;
|
|
301
317
|
fillColors?: Array<string | null> | null;
|
|
@@ -311,11 +327,35 @@ interface ChartExElementStyle {
|
|
|
311
327
|
fillColorIndex?: number | null;
|
|
312
328
|
lineColorIndex?: number | null;
|
|
313
329
|
}
|
|
330
|
+
interface ChartSurfaceBandFormat {
|
|
331
|
+
idx: number;
|
|
332
|
+
fill?: SolidFill | GradientFill | PatternFill | null;
|
|
333
|
+
fillHidden?: boolean | null;
|
|
334
|
+
lineColor?: string | null;
|
|
335
|
+
lineWidthEmu?: number | null;
|
|
336
|
+
lineHidden?: boolean | null;
|
|
337
|
+
}
|
|
338
|
+
interface ChartDataTable {
|
|
339
|
+
showHorizontalBorder: boolean;
|
|
340
|
+
showVerticalBorder: boolean;
|
|
341
|
+
showOutline: boolean;
|
|
342
|
+
showKeys: boolean;
|
|
343
|
+
fontSizeHpt?: number | null;
|
|
344
|
+
fontFace?: string | null;
|
|
345
|
+
fontColor?: string | null;
|
|
346
|
+
fontBold?: boolean | null;
|
|
347
|
+
fontItalic?: boolean | null;
|
|
348
|
+
lineColor?: string | null;
|
|
349
|
+
lineWidthEmu?: number | null;
|
|
350
|
+
lineHidden?: boolean | null;
|
|
351
|
+
}
|
|
314
352
|
interface ChartModel {
|
|
315
353
|
chartType: ChartType;
|
|
316
354
|
title: string | null;
|
|
355
|
+
titleRichRuns?: ChartTextRun[] | null;
|
|
317
356
|
titlePresent?: boolean;
|
|
318
357
|
categories: string[];
|
|
358
|
+
categoryLevels?: string[][] | null;
|
|
319
359
|
series: ChartSeries[];
|
|
320
360
|
chartTextBoxes?: ChartTextBox[] | null;
|
|
321
361
|
varyColors?: boolean | null;
|
|
@@ -331,6 +371,7 @@ interface ChartModel {
|
|
|
331
371
|
plotAreaBg: string | null;
|
|
332
372
|
chartBg: string | null;
|
|
333
373
|
showLegend: boolean;
|
|
374
|
+
dataTable?: ChartDataTable | null;
|
|
334
375
|
legendPos: 'r' | 'l' | 't' | 'b' | 'tr' | null;
|
|
335
376
|
catAxisCrossBetween: 'between' | 'midCat' | string;
|
|
336
377
|
valAxisMajorTickMark: 'cross' | 'out' | 'in' | 'none' | string;
|
|
@@ -435,6 +476,11 @@ interface ChartModel {
|
|
|
435
476
|
valAxisMinorUnit?: number | null;
|
|
436
477
|
catAxisMajorUnit?: number | null;
|
|
437
478
|
catAxisMinorUnit?: number | null;
|
|
479
|
+
catAxisIsDate?: boolean | null;
|
|
480
|
+
catAxisBaseTimeUnit?: 'days' | 'months' | 'years' | string | null;
|
|
481
|
+
catAxisMajorTimeUnit?: 'days' | 'months' | 'years' | string | null;
|
|
482
|
+
catAxisMinorTimeUnit?: 'days' | 'months' | 'years' | string | null;
|
|
483
|
+
catAxisNoMultiLevelLabels?: boolean | null;
|
|
438
484
|
valAxisLogBase?: number | null;
|
|
439
485
|
catAxisLogBase?: number | null;
|
|
440
486
|
valAxisOrientation?: 'minMax' | 'maxMin' | string | null;
|
|
@@ -448,6 +494,10 @@ interface ChartModel {
|
|
|
448
494
|
stockHiLowLineColor?: string | null;
|
|
449
495
|
stockUpDownBars?: boolean | null;
|
|
450
496
|
stockUpDownBarStyle?: ChartStockUpDownBarStyle | null;
|
|
497
|
+
surfaceWireframe?: boolean | null;
|
|
498
|
+
surfaceBandFormats?: ChartSurfaceBandFormat[] | null;
|
|
499
|
+
legacyChartStyle?: number | null;
|
|
500
|
+
themeAccentColors?: string[] | null;
|
|
451
501
|
ofPie?: ChartOfPie | null;
|
|
452
502
|
threeD?: ChartThreeD | null;
|
|
453
503
|
chartexBox?: ChartexBoxWhisker | null;
|
|
@@ -539,6 +589,7 @@ interface ChartTextRun {
|
|
|
539
589
|
text: string;
|
|
540
590
|
fontSizeHpt?: number | null;
|
|
541
591
|
bold?: boolean | null;
|
|
592
|
+
italic?: boolean | null;
|
|
542
593
|
color?: string | null;
|
|
543
594
|
fontFace?: string | null;
|
|
544
595
|
}
|
|
@@ -728,17 +779,17 @@ interface MathRenderer {
|
|
|
728
779
|
mathMLToSvg(mathml: string): Promise<MathSvg>;
|
|
729
780
|
}
|
|
730
781
|
//#endregion
|
|
731
|
-
//#region dist/.types-work/three-d-contract-
|
|
782
|
+
//#region dist/.types-work/three-d-contract-BhPkqlow.d.ts
|
|
732
783
|
interface ChartThreeDRenderer {
|
|
733
784
|
render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number): boolean;
|
|
734
785
|
}
|
|
735
786
|
//#endregion
|
|
736
|
-
//#region dist/.types-work/region-map-contract-
|
|
787
|
+
//#region dist/.types-work/region-map-contract-B6z5ZsH4.d.ts
|
|
737
788
|
interface ChartRegionMapRenderer {
|
|
738
789
|
render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number): boolean;
|
|
739
790
|
}
|
|
740
791
|
//#endregion
|
|
741
|
-
//#region dist/.types-work/hyperlink-
|
|
792
|
+
//#region dist/.types-work/hyperlink-EKY3amDQ.d.ts
|
|
742
793
|
type OoxmlErrorCode = 'encrypted' | 'invalid-password' | 'unsupported-encryption' | 'legacy-binary-format' | 'not-ooxml';
|
|
743
794
|
type OoxmlErrorStage = 'container' | 'decompression' | 'parsing' | 'serialization' | 'layout' | 'rendering' | 'worker';
|
|
744
795
|
declare class OoxmlError extends Error {
|
|
@@ -873,7 +924,7 @@ interface FindHighlightColors {
|
|
|
873
924
|
active?: string;
|
|
874
925
|
}
|
|
875
926
|
//#endregion
|
|
876
|
-
//#region dist/.types-work/xlsx-
|
|
927
|
+
//#region dist/.types-work/xlsx-1K3kb5Gf.d.ts
|
|
877
928
|
type ShapeFill = Exclude<Fill, {
|
|
878
929
|
fillType: 'image';
|
|
879
930
|
} | {
|
|
@@ -2101,4 +2152,4 @@ declare class XlsxSheetViewer implements ZoomableViewer {
|
|
|
2101
2152
|
}
|
|
2102
2153
|
declare function resolveSharedStrings(ws: Worksheet, sharedStrings: SharedString[]): Worksheet;
|
|
2103
2154
|
//#endregion
|
|
2104
|
-
export { type ArrowEnd, type AutoResizeOptions, type Border, type BorderEdge, type Cell, type CellAddress, type CellFill, type CellFont, type CellValue, type CellXf, type CfIcon, type CfRule, type CfStop, type CfValue, type ChartAnchor, type ChartDataLabelOverride, type ChartDataPointOverride, type ChartDisplayUnits, type ChartDisplayUnitsLabel, 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 ConditionalFormat, type DataValidation, type DefinedName, type Duotone, type Dxf, type FillRect, type FindHighlightColors, type FindMatch, type FindMatchesOptions, type GradientFill, type GradientFillSpec, type GradientStop, type HiddenSheetMode, type Hyperlink, type HyperlinkTarget, type ImageAnchor, type LegendManualLayout, type LoadOptions, MAX_SELECTION_AREAS, MAX_SELECTION_CONTEXT_CELLS, MAX_SELECTION_CONTEXT_TEXT_CHARACTERS, type MathAccent, type MathArray, type MathBar, type MathBorderBox, type MathBox, type MathDelimiter, type MathFraction, type MathFunc, type MathGroup, type MathGroupChr, type MathLimit, type MathNary, type MathNode, type MathPhant, type MathRadical, type MathRenderer, type MathRun, type MathSPre, type MathScript, type MathStyle, type MathSvg, type MergeCell, type NumFmt, OoxmlDecodedImageLimitError, type OoxmlDecodedImageLimitMetric, OoxmlError, type OoxmlErrorCode, type OoxmlErrorStage, type OoxmlFormat, type OoxmlResourceLimit, OoxmlResourceLimitError, type OoxmlResourceLimitErrorDetails, type OoxmlResourceLimits, type OoxmlResourceMetric, type OoxmlResourceMetrics, type OoxmlResourceMetricsCheckpoint, type OoxmlResourceName, type OoxmlResourcePolicySnapshot, type OoxmlResourceUsageSnapshot, type OoxmlResourceViolation, type OutlinePr, type ParsedWorkbook, type PathCmd, type PathInfo, type PatternFill, type PhoneticAlignment, type PhoneticProperties, type PhoneticRun, type PhoneticType, type PivotCacheSource, type PivotDataField, type PivotDiagnostic, type PivotLocation, type PivotMetadataStatus, type PivotPageField, type PivotPartialReason, type PivotTableMetadata, type RenderViewportToBitmapOptions, type ResolvedList, type Row, type Run, type RunFont, type SecondaryValueAxis, type ShapeAnchor, type ShapeFill, type ShapeGeom, type ShapeInfo, type ShapeParagraph, type ShapeText, type ShapeTextRun, type SharedString, type SheetMeta, type SheetVisibility, type SlicerAnchor, type SlicerElementStyle, type SlicerItem, type SlicerStyle, type SolidFill, type SpaceLine, type Sparkline, type SparklineGroup, type Styles, type TableColumnInfo, type TableInfo, type ViewerContextMenuEvent, type ViewportRange, type Workbook, type Worksheet, type WorksheetCellRange, type XlsxComment, type XlsxCopyResult, type XlsxElementAnchorMarker, type XlsxElementContext, type XlsxMatchLocation, type XlsxRangeSelectionContext, type XlsxRenderViewportOptions, type XlsxScrollToCellOptions, type XlsxSelectionArea, type XlsxSelectionContext, type XlsxSelectionContextCell, type XlsxSelectionContextOptions, type XlsxSelectionInput, type XlsxSelectionState, XlsxSheetViewer, type XlsxSheetViewerOptions, type XlsxTextRunInfo, XlsxViewer, type XlsxViewerOptions, type XlsxViewportOffset, XlsxWorkbook, type ZoomableViewer, autoResize, isOoxmlDecodedImageLimitError, openExternalHyperlink, resolveSharedStrings };
|
|
2155
|
+
export { type ArrowEnd, type AutoResizeOptions, type Border, type BorderEdge, type Cell, type CellAddress, type CellFill, type CellFont, type CellValue, type CellXf, type CfIcon, type CfRule, type CfStop, type CfValue, type ChartAnchor, type ChartDataLabelOverride, type ChartDataPointOverride, type ChartDataTable, type ChartDisplayUnits, type ChartDisplayUnitsLabel, 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 ChartSurfaceBandFormat, 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 ConditionalFormat, type DataValidation, type DefinedName, type Duotone, type Dxf, type FillRect, type FindHighlightColors, type FindMatch, type FindMatchesOptions, type GradientFill, type GradientFillSpec, type GradientStop, type HiddenSheetMode, type Hyperlink, type HyperlinkTarget, type ImageAnchor, type LegendManualLayout, type LoadOptions, MAX_SELECTION_AREAS, MAX_SELECTION_CONTEXT_CELLS, MAX_SELECTION_CONTEXT_TEXT_CHARACTERS, type MathAccent, type MathArray, type MathBar, type MathBorderBox, type MathBox, type MathDelimiter, type MathFraction, type MathFunc, type MathGroup, type MathGroupChr, type MathLimit, type MathNary, type MathNode, type MathPhant, type MathRadical, type MathRenderer, type MathRun, type MathSPre, type MathScript, type MathStyle, type MathSvg, type MergeCell, type NumFmt, OoxmlDecodedImageLimitError, type OoxmlDecodedImageLimitMetric, OoxmlError, type OoxmlErrorCode, type OoxmlErrorStage, type OoxmlFormat, type OoxmlResourceLimit, OoxmlResourceLimitError, type OoxmlResourceLimitErrorDetails, type OoxmlResourceLimits, type OoxmlResourceMetric, type OoxmlResourceMetrics, type OoxmlResourceMetricsCheckpoint, type OoxmlResourceName, type OoxmlResourcePolicySnapshot, type OoxmlResourceUsageSnapshot, type OoxmlResourceViolation, type OutlinePr, type ParsedWorkbook, type PathCmd, type PathInfo, type PatternFill, type PhoneticAlignment, type PhoneticProperties, type PhoneticRun, type PhoneticType, type PivotCacheSource, type PivotDataField, type PivotDiagnostic, type PivotLocation, type PivotMetadataStatus, type PivotPageField, type PivotPartialReason, type PivotTableMetadata, type RenderViewportToBitmapOptions, type ResolvedList, type Row, type Run, type RunFont, type SecondaryValueAxis, type ShapeAnchor, type ShapeFill, type ShapeGeom, type ShapeInfo, type ShapeParagraph, type ShapeText, type ShapeTextRun, type SharedString, type SheetMeta, type SheetVisibility, type SlicerAnchor, type SlicerElementStyle, type SlicerItem, type SlicerStyle, type SolidFill, type SpaceLine, type Sparkline, type SparklineGroup, type Styles, type TableColumnInfo, type TableInfo, type ViewerContextMenuEvent, type ViewportRange, type Workbook, type Worksheet, type WorksheetCellRange, type XlsxComment, type XlsxCopyResult, type XlsxElementAnchorMarker, type XlsxElementContext, type XlsxMatchLocation, type XlsxRangeSelectionContext, type XlsxRenderViewportOptions, type XlsxScrollToCellOptions, type XlsxSelectionArea, type XlsxSelectionContext, type XlsxSelectionContextCell, type XlsxSelectionContextOptions, type XlsxSelectionInput, type XlsxSelectionState, XlsxSheetViewer, type XlsxSheetViewerOptions, type XlsxTextRunInfo, XlsxViewer, type XlsxViewerOptions, type XlsxViewportOffset, XlsxWorkbook, type ZoomableViewer, autoResize, isOoxmlDecodedImageLimitError, openExternalHyperlink, resolveSharedStrings };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as e, F as t, I as n, N as r, P as i, Q as a, X as o, Y as s, Z as c, et as l, ln as u, nt as d, ot as f, rt as p, tt as m } from "./line-metrics-
|
|
2
|
-
import { n as h, r as g, t as _ } from "./resource-measurement-
|
|
1
|
+
import { $ as e, F as t, I as n, N as r, P as i, Q as a, X as o, Y as s, Z as c, et as l, ln as u, nt as d, ot as f, rt as p, tt as m } from "./line-metrics-DdEJYxjx.js";
|
|
2
|
+
import { n as h, r as g, t as _ } from "./resource-measurement-CgMubiAI.js";
|
|
3
3
|
import { t as v } from "./transfer-CKZ79zFw.js";
|
|
4
4
|
//#region packages/xlsx/src/worksheet-resource-limits.ts
|
|
5
5
|
var y = d, b = e, x = l, S = m, C = a, w = s, T = o, E = c, D = Object.freeze({
|