@silurus/ooxml 0.80.1 → 0.80.3
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-CRaEOHkw.js +9 -0
- package/dist/assets/render-worker-DQGLj5Zv.js +22 -0
- package/dist/assets/render-worker-rnrSLmqL.js +8 -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-vxk-Aomu.js} +38 -20
- package/dist/{docx-Dw1kxR2M.js → docx-DN0PRx2f.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/math.mjs +27 -22
- package/dist/node.mjs +7 -7
- package/dist/{pptx-CE7xARJ_.js → pptx-B-Laftl1.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-D9mO9qMj.js → render-worker-host-CYPhmBtX.js} +1 -1
- package/dist/{render-worker-host-1VHH_HQk.js → render-worker-host-GlLR1rtF.js} +1 -1
- package/dist/{render-worker-host-BVOjz-oV.js → render-worker-host-IuQFpoJM.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-DqMe7J2C.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/docx.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';
|
|
@@ -152,6 +152,13 @@ interface ChartSeries {
|
|
|
152
152
|
chartexFormatIdx?: number | null;
|
|
153
153
|
color: string | null;
|
|
154
154
|
fillPattern?: PatternFill | null;
|
|
155
|
+
invertIfNegative?: boolean | null;
|
|
156
|
+
automaticNegativeStyle?: boolean | null;
|
|
157
|
+
invertedFill?: SolidFill | GradientFill | PatternFill | null;
|
|
158
|
+
invertedFillHidden?: boolean | null;
|
|
159
|
+
invertedLineColor?: string | null;
|
|
160
|
+
invertedLineWidthEmu?: number | null;
|
|
161
|
+
invertedLineHidden?: boolean | null;
|
|
155
162
|
chartexStyle?: ChartExElementStyle | null;
|
|
156
163
|
lineColor?: string | null;
|
|
157
164
|
lineWidthEmu?: number | null;
|
|
@@ -161,11 +168,17 @@ interface ChartSeries {
|
|
|
161
168
|
dataLabelColors?: (string | null)[] | null;
|
|
162
169
|
labelColor?: string | null;
|
|
163
170
|
seriesType?: string | null;
|
|
171
|
+
barGroupIndex?: number | null;
|
|
172
|
+
barGroupDirection?: 'bar' | 'col' | string | null;
|
|
173
|
+
barGroupGrouping?: 'standard' | 'clustered' | 'stacked' | 'percentStacked' | string | null;
|
|
174
|
+
barGroupGapWidth?: number | null;
|
|
175
|
+
barGroupOverlap?: number | null;
|
|
164
176
|
useSecondaryAxis?: boolean | null;
|
|
165
177
|
categories?: string[] | null;
|
|
166
178
|
showMarker?: boolean | null;
|
|
167
179
|
valFormatCode?: string | null;
|
|
168
180
|
catFormatCode?: string | null;
|
|
181
|
+
catFormatBuiltinId?: number | null;
|
|
169
182
|
catFormatCodes?: (string | null)[] | null;
|
|
170
183
|
markerSymbol?: string | null;
|
|
171
184
|
markerSize?: number | null;
|
|
@@ -182,6 +195,7 @@ interface ChartSeries {
|
|
|
182
195
|
lineHidden?: boolean | null;
|
|
183
196
|
}
|
|
184
197
|
interface ChartTrendline {
|
|
198
|
+
name?: string | null;
|
|
185
199
|
trendlineType: string;
|
|
186
200
|
order?: number | null;
|
|
187
201
|
period?: number | null;
|
|
@@ -192,6 +206,8 @@ interface ChartTrendline {
|
|
|
192
206
|
dispEq?: boolean | null;
|
|
193
207
|
labelManualLayout?: ChartManualLayout | null;
|
|
194
208
|
labelText?: string | null;
|
|
209
|
+
labelFormatCode?: string | null;
|
|
210
|
+
labelFormatSourceLinked?: boolean | null;
|
|
195
211
|
labelFontSizeHpt?: number | null;
|
|
196
212
|
labelFontBold?: boolean | null;
|
|
197
213
|
labelFontItalic?: boolean | null;
|
|
@@ -270,7 +286,7 @@ interface ChartErrBars {
|
|
|
270
286
|
lineWidthEmu?: number;
|
|
271
287
|
dash?: string;
|
|
272
288
|
}
|
|
273
|
-
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;
|
|
289
|
+
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;
|
|
274
290
|
interface ChartExElementStyle {
|
|
275
291
|
fillPaints?: Array<SolidFill | GradientFill | PatternFill | null> | null;
|
|
276
292
|
fillColors?: Array<string | null> | null;
|
|
@@ -286,11 +302,35 @@ interface ChartExElementStyle {
|
|
|
286
302
|
fillColorIndex?: number | null;
|
|
287
303
|
lineColorIndex?: number | null;
|
|
288
304
|
}
|
|
305
|
+
interface ChartSurfaceBandFormat {
|
|
306
|
+
idx: number;
|
|
307
|
+
fill?: SolidFill | GradientFill | PatternFill | null;
|
|
308
|
+
fillHidden?: boolean | null;
|
|
309
|
+
lineColor?: string | null;
|
|
310
|
+
lineWidthEmu?: number | null;
|
|
311
|
+
lineHidden?: boolean | null;
|
|
312
|
+
}
|
|
313
|
+
interface ChartDataTable {
|
|
314
|
+
showHorizontalBorder: boolean;
|
|
315
|
+
showVerticalBorder: boolean;
|
|
316
|
+
showOutline: boolean;
|
|
317
|
+
showKeys: boolean;
|
|
318
|
+
fontSizeHpt?: number | null;
|
|
319
|
+
fontFace?: string | null;
|
|
320
|
+
fontColor?: string | null;
|
|
321
|
+
fontBold?: boolean | null;
|
|
322
|
+
fontItalic?: boolean | null;
|
|
323
|
+
lineColor?: string | null;
|
|
324
|
+
lineWidthEmu?: number | null;
|
|
325
|
+
lineHidden?: boolean | null;
|
|
326
|
+
}
|
|
289
327
|
interface ChartModel {
|
|
290
328
|
chartType: ChartType;
|
|
291
329
|
title: string | null;
|
|
330
|
+
titleRichRuns?: ChartTextRun[] | null;
|
|
292
331
|
titlePresent?: boolean;
|
|
293
332
|
categories: string[];
|
|
333
|
+
categoryLevels?: string[][] | null;
|
|
294
334
|
series: ChartSeries[];
|
|
295
335
|
chartTextBoxes?: ChartTextBox[] | null;
|
|
296
336
|
varyColors?: boolean | null;
|
|
@@ -306,6 +346,7 @@ interface ChartModel {
|
|
|
306
346
|
plotAreaBg: string | null;
|
|
307
347
|
chartBg: string | null;
|
|
308
348
|
showLegend: boolean;
|
|
349
|
+
dataTable?: ChartDataTable | null;
|
|
309
350
|
legendPos: 'r' | 'l' | 't' | 'b' | 'tr' | null;
|
|
310
351
|
catAxisCrossBetween: 'between' | 'midCat' | string;
|
|
311
352
|
valAxisMajorTickMark: 'cross' | 'out' | 'in' | 'none' | string;
|
|
@@ -410,6 +451,11 @@ interface ChartModel {
|
|
|
410
451
|
valAxisMinorUnit?: number | null;
|
|
411
452
|
catAxisMajorUnit?: number | null;
|
|
412
453
|
catAxisMinorUnit?: number | null;
|
|
454
|
+
catAxisIsDate?: boolean | null;
|
|
455
|
+
catAxisBaseTimeUnit?: 'days' | 'months' | 'years' | string | null;
|
|
456
|
+
catAxisMajorTimeUnit?: 'days' | 'months' | 'years' | string | null;
|
|
457
|
+
catAxisMinorTimeUnit?: 'days' | 'months' | 'years' | string | null;
|
|
458
|
+
catAxisNoMultiLevelLabels?: boolean | null;
|
|
413
459
|
valAxisLogBase?: number | null;
|
|
414
460
|
catAxisLogBase?: number | null;
|
|
415
461
|
valAxisOrientation?: 'minMax' | 'maxMin' | string | null;
|
|
@@ -423,6 +469,10 @@ interface ChartModel {
|
|
|
423
469
|
stockHiLowLineColor?: string | null;
|
|
424
470
|
stockUpDownBars?: boolean | null;
|
|
425
471
|
stockUpDownBarStyle?: ChartStockUpDownBarStyle | null;
|
|
472
|
+
surfaceWireframe?: boolean | null;
|
|
473
|
+
surfaceBandFormats?: ChartSurfaceBandFormat[] | null;
|
|
474
|
+
legacyChartStyle?: number | null;
|
|
475
|
+
themeAccentColors?: string[] | null;
|
|
426
476
|
ofPie?: ChartOfPie | null;
|
|
427
477
|
threeD?: ChartThreeD | null;
|
|
428
478
|
chartexBox?: ChartexBoxWhisker | null;
|
|
@@ -514,6 +564,7 @@ interface ChartTextRun {
|
|
|
514
564
|
text: string;
|
|
515
565
|
fontSizeHpt?: number | null;
|
|
516
566
|
bold?: boolean | null;
|
|
567
|
+
italic?: boolean | null;
|
|
517
568
|
color?: string | null;
|
|
518
569
|
fontFace?: string | null;
|
|
519
570
|
}
|
|
@@ -703,17 +754,17 @@ interface MathRenderer {
|
|
|
703
754
|
mathMLToSvg(mathml: string): Promise<MathSvg>;
|
|
704
755
|
}
|
|
705
756
|
//#endregion
|
|
706
|
-
//#region dist/.types-work/three-d-contract-
|
|
757
|
+
//#region dist/.types-work/three-d-contract-BhPkqlow.d.ts
|
|
707
758
|
interface ChartThreeDRenderer {
|
|
708
759
|
render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number): boolean;
|
|
709
760
|
}
|
|
710
761
|
//#endregion
|
|
711
|
-
//#region dist/.types-work/region-map-contract-
|
|
762
|
+
//#region dist/.types-work/region-map-contract-B6z5ZsH4.d.ts
|
|
712
763
|
interface ChartRegionMapRenderer {
|
|
713
764
|
render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number): boolean;
|
|
714
765
|
}
|
|
715
766
|
//#endregion
|
|
716
|
-
//#region dist/.types-work/hyperlink-
|
|
767
|
+
//#region dist/.types-work/hyperlink-EKY3amDQ.d.ts
|
|
717
768
|
type OoxmlErrorCode = 'encrypted' | 'invalid-password' | 'unsupported-encryption' | 'legacy-binary-format' | 'not-ooxml';
|
|
718
769
|
type OoxmlErrorStage = 'container' | 'decompression' | 'parsing' | 'serialization' | 'layout' | 'rendering' | 'worker';
|
|
719
770
|
declare class OoxmlError extends Error {
|
|
@@ -857,7 +908,7 @@ interface FindHighlightColors {
|
|
|
857
908
|
active?: string;
|
|
858
909
|
}
|
|
859
910
|
//#endregion
|
|
860
|
-
//#region dist/.types-work/docx-
|
|
911
|
+
//#region dist/.types-work/docx-DQGDQyp3.d.ts
|
|
861
912
|
interface DocxDocumentModel {
|
|
862
913
|
section: SectionProps;
|
|
863
914
|
body: BodyElement[];
|
|
@@ -1916,4 +1967,4 @@ interface DocxHighlightMatch {
|
|
|
1916
1967
|
type DocxHighlightColors = FindHighlightColors;
|
|
1917
1968
|
declare function buildDocxHighlightLayer(layer: HTMLDivElement, runs: DocxTextRunInfo[], matches: DocxHighlightMatch[], cssWidth: number, cssHeight: number, measureForFont: (font: string) => (s: string) => number, colors?: DocxHighlightColors): void;
|
|
1918
1969
|
//#endregion
|
|
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 };
|
|
1970
|
+
export { type AnchorHostMetrics, type AutoResizeOptions, type BodyElement, type BorderSpec, type CellBorders, type CellElement, 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 ChartRun, 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 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-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/docx-
|
|
1133
|
+
//#region dist/.types-work/docx-DQGDQyp3.d.ts
|
|
1083
1134
|
interface DocxDocumentModel {
|
|
1084
1135
|
section: SectionProps;
|
|
1085
1136
|
body: BodyElement[];
|
|
@@ -2138,10 +2189,10 @@ interface DocxHighlightMatch {
|
|
|
2138
2189
|
type DocxHighlightColors = FindHighlightColors;
|
|
2139
2190
|
declare function buildDocxHighlightLayer(layer: HTMLDivElement, runs: DocxTextRunInfo[], matches: DocxHighlightMatch[], cssWidth: number, cssHeight: number, measureForFont: (font: string) => (s: string) => number, colors?: DocxHighlightColors): void;
|
|
2140
2191
|
declare namespace docx_d_exports {
|
|
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 };
|
|
2192
|
+
export { AnchorHostMetrics, AutoResizeOptions, BodyElement, BorderSpec, CellBorders, CellElement, ChartDataLabelOverride, ChartDataPointOverride, ChartDataTable, ChartDisplayUnits, ChartDisplayUnitsLabel, ChartErrBars, ChartExElementStyle, ChartLabelBox, ChartManualLayout, ChartModel, ChartOfPie, ChartRect, ChartRegionMapRenderer, ChartRun, ChartSeries, ChartSeriesDataLabels, ChartStockBarPaint, ChartStockUpDownBarStyle, ChartSurfaceBandFormat, 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 };
|
|
2142
2193
|
}
|
|
2143
2194
|
//#endregion
|
|
2144
|
-
//#region dist/.types-work/pptx-
|
|
2195
|
+
//#region dist/.types-work/pptx-ev766SKh.d.ts
|
|
2145
2196
|
interface BlipBullet {
|
|
2146
2197
|
type: 'blip';
|
|
2147
2198
|
imagePath: string;
|
|
@@ -2780,10 +2831,10 @@ interface PptxHighlightMatch {
|
|
|
2780
2831
|
type PptxHighlightColors = FindHighlightColors;
|
|
2781
2832
|
declare function buildPptxHighlightLayer(layer: HTMLDivElement, runs: PptxTextRunInfo[], matches: PptxHighlightMatch[], cssWidth: number, cssHeight: number, measureForFont: (font: string) => (s: string) => number, colors?: PptxHighlightColors): void;
|
|
2782
2833
|
declare namespace pptx_d_exports {
|
|
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 };
|
|
2834
|
+
export { ArrowEnd, AutoResizeOptions, Bevel3d, BlipBullet, Bullet, Camera3d, ChartDataLabelOverride, ChartDataPointOverride, ChartDataTable, ChartDisplayUnits, ChartDisplayUnitsLabel, ChartElement, ChartErrBars, ChartExElementStyle, ChartLabelBox, ChartManualLayout, ChartModel, ChartOfPie, ChartRect, ChartRegionMapRenderer, ChartSeries, ChartSeriesDataLabels, ChartStockBarPaint, ChartStockUpDownBarStyle, ChartSurfaceBandFormat, 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 };
|
|
2784
2835
|
}
|
|
2785
2836
|
//#endregion
|
|
2786
|
-
//#region dist/.types-work/xlsx-
|
|
2837
|
+
//#region dist/.types-work/xlsx-1K3kb5Gf.d.ts
|
|
2787
2838
|
type ShapeFill = Exclude<Fill, {
|
|
2788
2839
|
fillType: 'image';
|
|
2789
2840
|
} | {
|
|
@@ -4011,7 +4062,7 @@ declare class XlsxSheetViewer implements ZoomableViewer {
|
|
|
4011
4062
|
}
|
|
4012
4063
|
declare function resolveSharedStrings(ws: Worksheet, sharedStrings: SharedString[]): Worksheet;
|
|
4013
4064
|
declare namespace xlsx_d_exports {
|
|
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 };
|
|
4065
|
+
export { ArrowEnd, AutoResizeOptions, Border, BorderEdge, Cell, CellAddress, CellFill, CellFont, CellValue, CellXf, CfIcon, CfRule, CfStop, CfValue, ChartAnchor, ChartDataLabelOverride, ChartDataPointOverride, ChartDataTable, ChartDisplayUnits, ChartDisplayUnitsLabel, ChartErrBars, ChartExElementStyle, ChartLabelBox, ChartManualLayout, ChartModel, ChartOfPie, ChartRect, ChartRegionMapRenderer, ChartSeries, ChartSeriesDataLabels, ChartStockBarPaint, ChartStockUpDownBarStyle, ChartSurfaceBandFormat, 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 };
|
|
4015
4066
|
}
|
|
4016
4067
|
//#endregion
|
|
4017
4068
|
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-Cv7Lx8lu.d.ts
|
|
2
2
|
type MathStyle = 'roman' | 'italic' | 'bold' | 'boldItalic';
|
|
3
3
|
interface MathRun {
|
|
4
4
|
kind: 'run';
|
|
@@ -363,6 +363,13 @@ interface ChartSeries {
|
|
|
363
363
|
chartexFormatIdx?: number | null;
|
|
364
364
|
color: string | null;
|
|
365
365
|
fillPattern?: PatternFill | null;
|
|
366
|
+
invertIfNegative?: boolean | null;
|
|
367
|
+
automaticNegativeStyle?: boolean | null;
|
|
368
|
+
invertedFill?: SolidFill | GradientFill | PatternFill | null;
|
|
369
|
+
invertedFillHidden?: boolean | null;
|
|
370
|
+
invertedLineColor?: string | null;
|
|
371
|
+
invertedLineWidthEmu?: number | null;
|
|
372
|
+
invertedLineHidden?: boolean | null;
|
|
366
373
|
chartexStyle?: ChartExElementStyle | null;
|
|
367
374
|
lineColor?: string | null;
|
|
368
375
|
lineWidthEmu?: number | null;
|
|
@@ -372,11 +379,17 @@ interface ChartSeries {
|
|
|
372
379
|
dataLabelColors?: (string | null)[] | null;
|
|
373
380
|
labelColor?: string | null;
|
|
374
381
|
seriesType?: string | null;
|
|
382
|
+
barGroupIndex?: number | null;
|
|
383
|
+
barGroupDirection?: 'bar' | 'col' | string | null;
|
|
384
|
+
barGroupGrouping?: 'standard' | 'clustered' | 'stacked' | 'percentStacked' | string | null;
|
|
385
|
+
barGroupGapWidth?: number | null;
|
|
386
|
+
barGroupOverlap?: number | null;
|
|
375
387
|
useSecondaryAxis?: boolean | null;
|
|
376
388
|
categories?: string[] | null;
|
|
377
389
|
showMarker?: boolean | null;
|
|
378
390
|
valFormatCode?: string | null;
|
|
379
391
|
catFormatCode?: string | null;
|
|
392
|
+
catFormatBuiltinId?: number | null;
|
|
380
393
|
catFormatCodes?: (string | null)[] | null;
|
|
381
394
|
markerSymbol?: string | null;
|
|
382
395
|
markerSize?: number | null;
|
|
@@ -393,6 +406,7 @@ interface ChartSeries {
|
|
|
393
406
|
lineHidden?: boolean | null;
|
|
394
407
|
}
|
|
395
408
|
interface ChartTrendline {
|
|
409
|
+
name?: string | null;
|
|
396
410
|
trendlineType: string;
|
|
397
411
|
order?: number | null;
|
|
398
412
|
period?: number | null;
|
|
@@ -403,6 +417,8 @@ interface ChartTrendline {
|
|
|
403
417
|
dispEq?: boolean | null;
|
|
404
418
|
labelManualLayout?: ChartManualLayout | null;
|
|
405
419
|
labelText?: string | null;
|
|
420
|
+
labelFormatCode?: string | null;
|
|
421
|
+
labelFormatSourceLinked?: boolean | null;
|
|
406
422
|
labelFontSizeHpt?: number | null;
|
|
407
423
|
labelFontBold?: boolean | null;
|
|
408
424
|
labelFontItalic?: boolean | null;
|
|
@@ -481,7 +497,7 @@ interface ChartErrBars {
|
|
|
481
497
|
lineWidthEmu?: number;
|
|
482
498
|
dash?: string;
|
|
483
499
|
}
|
|
484
|
-
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;
|
|
500
|
+
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;
|
|
485
501
|
interface ChartExElementStyle {
|
|
486
502
|
fillPaints?: Array<SolidFill | GradientFill | PatternFill | null> | null;
|
|
487
503
|
fillColors?: Array<string | null> | null;
|
|
@@ -497,11 +513,35 @@ interface ChartExElementStyle {
|
|
|
497
513
|
fillColorIndex?: number | null;
|
|
498
514
|
lineColorIndex?: number | null;
|
|
499
515
|
}
|
|
516
|
+
interface ChartSurfaceBandFormat {
|
|
517
|
+
idx: number;
|
|
518
|
+
fill?: SolidFill | GradientFill | PatternFill | null;
|
|
519
|
+
fillHidden?: boolean | null;
|
|
520
|
+
lineColor?: string | null;
|
|
521
|
+
lineWidthEmu?: number | null;
|
|
522
|
+
lineHidden?: boolean | null;
|
|
523
|
+
}
|
|
524
|
+
interface ChartDataTable {
|
|
525
|
+
showHorizontalBorder: boolean;
|
|
526
|
+
showVerticalBorder: boolean;
|
|
527
|
+
showOutline: boolean;
|
|
528
|
+
showKeys: boolean;
|
|
529
|
+
fontSizeHpt?: number | null;
|
|
530
|
+
fontFace?: string | null;
|
|
531
|
+
fontColor?: string | null;
|
|
532
|
+
fontBold?: boolean | null;
|
|
533
|
+
fontItalic?: boolean | null;
|
|
534
|
+
lineColor?: string | null;
|
|
535
|
+
lineWidthEmu?: number | null;
|
|
536
|
+
lineHidden?: boolean | null;
|
|
537
|
+
}
|
|
500
538
|
interface ChartModel {
|
|
501
539
|
chartType: ChartType;
|
|
502
540
|
title: string | null;
|
|
541
|
+
titleRichRuns?: ChartTextRun[] | null;
|
|
503
542
|
titlePresent?: boolean;
|
|
504
543
|
categories: string[];
|
|
544
|
+
categoryLevels?: string[][] | null;
|
|
505
545
|
series: ChartSeries[];
|
|
506
546
|
chartTextBoxes?: ChartTextBox[] | null;
|
|
507
547
|
varyColors?: boolean | null;
|
|
@@ -517,6 +557,7 @@ interface ChartModel {
|
|
|
517
557
|
plotAreaBg: string | null;
|
|
518
558
|
chartBg: string | null;
|
|
519
559
|
showLegend: boolean;
|
|
560
|
+
dataTable?: ChartDataTable | null;
|
|
520
561
|
legendPos: 'r' | 'l' | 't' | 'b' | 'tr' | null;
|
|
521
562
|
catAxisCrossBetween: 'between' | 'midCat' | string;
|
|
522
563
|
valAxisMajorTickMark: 'cross' | 'out' | 'in' | 'none' | string;
|
|
@@ -621,6 +662,11 @@ interface ChartModel {
|
|
|
621
662
|
valAxisMinorUnit?: number | null;
|
|
622
663
|
catAxisMajorUnit?: number | null;
|
|
623
664
|
catAxisMinorUnit?: number | null;
|
|
665
|
+
catAxisIsDate?: boolean | null;
|
|
666
|
+
catAxisBaseTimeUnit?: 'days' | 'months' | 'years' | string | null;
|
|
667
|
+
catAxisMajorTimeUnit?: 'days' | 'months' | 'years' | string | null;
|
|
668
|
+
catAxisMinorTimeUnit?: 'days' | 'months' | 'years' | string | null;
|
|
669
|
+
catAxisNoMultiLevelLabels?: boolean | null;
|
|
624
670
|
valAxisLogBase?: number | null;
|
|
625
671
|
catAxisLogBase?: number | null;
|
|
626
672
|
valAxisOrientation?: 'minMax' | 'maxMin' | string | null;
|
|
@@ -634,6 +680,10 @@ interface ChartModel {
|
|
|
634
680
|
stockHiLowLineColor?: string | null;
|
|
635
681
|
stockUpDownBars?: boolean | null;
|
|
636
682
|
stockUpDownBarStyle?: ChartStockUpDownBarStyle | null;
|
|
683
|
+
surfaceWireframe?: boolean | null;
|
|
684
|
+
surfaceBandFormats?: ChartSurfaceBandFormat[] | null;
|
|
685
|
+
legacyChartStyle?: number | null;
|
|
686
|
+
themeAccentColors?: string[] | null;
|
|
637
687
|
ofPie?: ChartOfPie | null;
|
|
638
688
|
threeD?: ChartThreeD | null;
|
|
639
689
|
chartexBox?: ChartexBoxWhisker | null;
|
|
@@ -725,6 +775,7 @@ interface ChartTextRun {
|
|
|
725
775
|
text: string;
|
|
726
776
|
fontSizeHpt?: number | null;
|
|
727
777
|
bold?: boolean | null;
|
|
778
|
+
italic?: boolean | null;
|
|
728
779
|
color?: string | null;
|
|
729
780
|
fontFace?: string | null;
|
|
730
781
|
}
|
|
@@ -896,7 +947,7 @@ interface LegendManualLayout {
|
|
|
896
947
|
h: number;
|
|
897
948
|
}
|
|
898
949
|
//#endregion
|
|
899
|
-
//#region dist/.types-work/hyperlink-
|
|
950
|
+
//#region dist/.types-work/hyperlink-EKY3amDQ.d.ts
|
|
900
951
|
type OoxmlErrorStage = 'container' | 'decompression' | 'parsing' | 'serialization' | 'layout' | 'rendering' | 'worker';
|
|
901
952
|
type OoxmlFormat = 'docx' | 'xlsx' | 'pptx';
|
|
902
953
|
interface OoxmlResourceUsageSnapshot {
|