@silurus/ooxml 0.80.3 → 0.81.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/README.md +57 -77
  2. package/dist/assets/render-worker-C2ACcLes.js +11 -0
  3. package/dist/assets/render-worker-Cx5uR77k.js +10 -0
  4. package/dist/assets/render-worker-DtU8oQZ7.js +24 -0
  5. package/dist/{canvas-viewer-mechanics-D-r6wHY_.js → canvas-viewer-mechanics-CqxKRGCp.js} +1 -1
  6. package/dist/chart-ex.mjs +1017 -0
  7. package/dist/{document-pull-client-vxk-Aomu.js → document-pull-client-Ux4a_ax8.js} +4540 -4412
  8. package/dist/{docx-DN0PRx2f.js → docx-SEyQ4gS-.js} +79 -75
  9. package/dist/docx.mjs +5 -4
  10. package/dist/docx_parser_bg.wasm +0 -0
  11. package/dist/index.mjs +3 -3
  12. package/dist/{line-distribute-Bvtp0Gt6.js → line-distribute-BBGvvwLt.js} +17 -16
  13. package/dist/{line-metrics-DdEJYxjx.js → line-metrics-Baz31mML.js} +663 -7488
  14. package/dist/math.mjs +2 -2
  15. package/dist/node.mjs +248 -247
  16. package/dist/plot-area-frame-Dg1VIpUU.js +3669 -0
  17. package/dist/{pptx-B-Laftl1.js → pptx-5lQrMvMR.js} +236 -232
  18. package/dist/pptx.mjs +6 -5
  19. package/dist/pptx_parser_bg.wasm +0 -0
  20. package/dist/region-map.mjs +102 -97
  21. package/dist/{render-CoqMHcbF.js → render-DEHjijQD.js} +1 -1
  22. package/dist/{render-worker-host-CYPhmBtX.js → render-worker-host-B1nbV_k7.js} +1 -1
  23. package/dist/{render-worker-host-GlLR1rtF.js → render-worker-host-Bze5M6k5.js} +1 -1
  24. package/dist/{render-worker-host-IuQFpoJM.js → render-worker-host-Dg_74V64.js} +1 -1
  25. package/dist/renderer-DuopJE1K.js +5855 -0
  26. package/dist/{renderer-module-contract-BNGz8HvO.js → renderer-module-contract-0bO_5SC0.js} +4 -3
  27. package/dist/{resource-measurement-CgMubiAI.js → resource-measurement-DRLp4nFt.js} +12 -11
  28. package/dist/{session-DkPblDiq.js → session-CNVc3VJ4.js} +8 -8
  29. package/dist/{slide-pull-client-m2blvngt.js → slide-pull-client-CzutXnGc.js} +888 -1082
  30. package/dist/three-d-BYiWCNlz.js +1345 -0
  31. package/dist/three-d.mjs +1238 -798
  32. package/dist/types/chart-ex.d.ts +949 -0
  33. package/dist/types/docx.d.ts +325 -18
  34. package/dist/types/index.d.ts +325 -26
  35. package/dist/types/math.d.ts +1 -1
  36. package/dist/types/node.d.ts +303 -14
  37. package/dist/types/pptx.d.ts +314 -22
  38. package/dist/types/region-map.d.ts +318 -6
  39. package/dist/types/three-d.d.ts +318 -6
  40. package/dist/types/xlsx.d.ts +317 -18
  41. package/dist/{worksheet-pull-client-BntP6RiO.js → worksheet-pull-client-Cxj3Ej0s.js} +19 -19
  42. package/dist/{xlsx-DqMe7J2C.js → xlsx-Bl3TIEVu.js} +1313 -1279
  43. package/dist/xlsx.mjs +6 -5
  44. package/dist/xlsx_parser_bg.wasm +0 -0
  45. package/package.json +7 -1
  46. package/dist/assets/render-worker-CRaEOHkw.js +0 -9
  47. package/dist/assets/render-worker-DQGLj5Zv.js +0 -22
  48. package/dist/assets/render-worker-rnrSLmqL.js +0 -8
  49. package/dist/chart-number-format-qLhnk6hj.js +0 -475
  50. package/dist/three-d-C28kqDym.js +0 -1086
  51. /package/dist/{highlight-rect-BuX5rWP4.js → highlight-rect-BqcZMHUE.js} +0 -0
  52. /package/dist/{mathjax-DgAl7Yi5.js → mathjax-DJa-Q93p.js} +0 -0
  53. /package/dist/{transfer-CKZ79zFw.js → transfer-D0U6Uhn4.js} +0 -0
  54. /package/dist/{visible-index-BjesVGhg.js → visible-index-DbDuGMCE.js} +0 -0
@@ -1,8 +1,22 @@
1
- //#region dist/.types-work/chart-Cv7Lx8lu.d.ts
1
+ //#region dist/.types-work/chart-Cf9PF1Kz.d.ts
2
+ interface Duotone {
3
+ clr1: string;
4
+ clr2: string;
5
+ }
6
+ interface SrcRect {
7
+ l: number;
8
+ t: number;
9
+ r: number;
10
+ b: number;
11
+ }
12
+ type Fill = SolidFill | NoFill | GradientFill | PatternFill | ImageFill;
2
13
  interface SolidFill {
3
14
  fillType: 'solid';
4
15
  color: string;
5
16
  }
17
+ interface NoFill {
18
+ fillType: 'none';
19
+ }
6
20
  interface GradientStop {
7
21
  position: number;
8
22
  color: string;
@@ -31,6 +45,32 @@ interface FillRect {
31
45
  r?: number;
32
46
  b?: number;
33
47
  }
48
+ interface TileInfo {
49
+ tx?: number;
50
+ ty?: number;
51
+ sx?: number;
52
+ sy?: number;
53
+ flip?: string;
54
+ algn?: string;
55
+ }
56
+ interface ImageFill {
57
+ fillType: 'image';
58
+ imagePath: string;
59
+ svgImagePath?: string;
60
+ mimeType: string;
61
+ dpi?: number;
62
+ rotWithShape?: boolean;
63
+ srcRect?: SrcRect;
64
+ fillRect?: FillRect;
65
+ stretch?: boolean;
66
+ tile?: TileInfo;
67
+ alpha?: number;
68
+ duotone?: Duotone;
69
+ }
70
+ interface DrawingMLCustomDashSegment {
71
+ dash: number;
72
+ space: number;
73
+ }
34
74
  interface ChartSeries {
35
75
  name: string;
36
76
  chartexFormatIdx?: number | null;
@@ -40,18 +80,24 @@ interface ChartSeries {
40
80
  automaticNegativeStyle?: boolean | null;
41
81
  invertedFill?: SolidFill | GradientFill | PatternFill | null;
42
82
  invertedFillHidden?: boolean | null;
83
+ invertedFillAuthored?: boolean | null;
43
84
  invertedLineColor?: string | null;
44
85
  invertedLineWidthEmu?: number | null;
45
86
  invertedLineHidden?: boolean | null;
87
+ invertedLineAuthored?: boolean | null;
46
88
  chartexStyle?: ChartExElementStyle | null;
47
89
  lineColor?: string | null;
48
90
  lineWidthEmu?: number | null;
49
91
  threeDShape?: 'box' | 'cylinder' | 'cone' | 'coneToMax' | 'pyramid' | 'pyramidToMax' | string | null;
50
92
  values: (number | null)[];
93
+ sourceHidden?: boolean[] | null;
51
94
  dataPointColors?: (string | null)[] | null;
95
+ explosion?: number | null;
52
96
  dataLabelColors?: (string | null)[] | null;
53
97
  labelColor?: string | null;
54
98
  seriesType?: string | null;
99
+ lineGroupIndex?: number | null;
100
+ areaGroupIndex?: number | null;
55
101
  barGroupIndex?: number | null;
56
102
  barGroupDirection?: 'bar' | 'col' | string | null;
57
103
  barGroupGrouping?: 'standard' | 'clustered' | 'stacked' | 'percentStacked' | string | null;
@@ -59,14 +105,18 @@ interface ChartSeries {
59
105
  barGroupOverlap?: number | null;
60
106
  useSecondaryAxis?: boolean | null;
61
107
  categories?: string[] | null;
108
+ bubbleXSourceIsString?: boolean | null;
62
109
  showMarker?: boolean | null;
63
110
  valFormatCode?: string | null;
64
111
  catFormatCode?: string | null;
65
112
  catFormatBuiltinId?: number | null;
66
113
  catFormatCodes?: (string | null)[] | null;
67
114
  markerSymbol?: string | null;
115
+ automaticMarkerSymbol?: string | null;
68
116
  markerSize?: number | null;
69
117
  markerFill?: string | null;
118
+ markerFillPaint?: Fill | null;
119
+ markerFillPaintAuthored?: boolean | null;
70
120
  markerLine?: string | null;
71
121
  markerLineWidthEmu?: number | null;
72
122
  dataPointOverrides?: ChartDataPointOverride[] | null;
@@ -74,6 +124,8 @@ interface ChartSeries {
74
124
  seriesDataLabels?: ChartSeriesDataLabels | null;
75
125
  errBars?: ChartErrBars[] | null;
76
126
  bubbleSizes?: (number | null)[] | null;
127
+ bubble3DGroupDefault?: boolean | null;
128
+ bubble3D?: boolean | null;
77
129
  smooth?: boolean | null;
78
130
  trendLines?: ChartTrendline[] | null;
79
131
  lineHidden?: boolean | null;
@@ -90,13 +142,27 @@ interface ChartTrendline {
90
142
  dispEq?: boolean | null;
91
143
  labelManualLayout?: ChartManualLayout | null;
92
144
  labelText?: string | null;
145
+ labelRichRuns?: ChartTextRun[] | null;
93
146
  labelFormatCode?: string | null;
94
147
  labelFormatSourceLinked?: boolean | null;
95
148
  labelFontSizeHpt?: number | null;
96
149
  labelFontBold?: boolean | null;
97
150
  labelFontItalic?: boolean | null;
98
151
  labelFontColor?: string | null;
152
+ labelFontPaintAuthored?: boolean | null;
153
+ labelFontHidden?: boolean | null;
99
154
  labelFontFace?: string | null;
155
+ labelFontLanguage?: string | null;
156
+ labelFontBaseline?: number | null;
157
+ labelTextRotation?: number | null;
158
+ labelTextWrap?: string | null;
159
+ labelTextVerticalAnchor?: string | null;
160
+ labelTextVerticalMode?: string | null;
161
+ labelTextLInsEmu?: number | null;
162
+ labelTextTInsEmu?: number | null;
163
+ labelTextRInsEmu?: number | null;
164
+ labelTextBInsEmu?: number | null;
165
+ labelTextBodyAuthored?: boolean | null;
100
166
  labelBox?: ChartLabelBox | null;
101
167
  labelTextAlign?: string | null;
102
168
  lineColor?: string | null;
@@ -108,6 +174,7 @@ interface ChartDataPointOverride {
108
174
  idx: number;
109
175
  color?: string;
110
176
  fillHidden?: boolean;
177
+ chartexStyle?: ChartExElementStyle | null;
111
178
  lineColor?: string;
112
179
  lineWidthEmu?: number;
113
180
  lineDash?: string;
@@ -115,8 +182,11 @@ interface ChartDataPointOverride {
115
182
  markerSymbol?: string;
116
183
  markerSize?: number;
117
184
  markerFill?: string;
185
+ markerFillPaint?: Fill | null;
186
+ markerFillPaintAuthored?: boolean | null;
118
187
  markerLine?: string;
119
188
  markerLineWidthEmu?: number;
189
+ bubble3D?: boolean | null;
120
190
  explosion?: number;
121
191
  }
122
192
  interface ChartDataLabelOverride {
@@ -125,9 +195,24 @@ interface ChartDataLabelOverride {
125
195
  richRuns?: ChartTextRun[];
126
196
  position?: string;
127
197
  fontColor?: string;
198
+ fontPaintAuthored?: boolean;
199
+ fontHidden?: boolean;
128
200
  fontSizeHpt?: number;
129
201
  fontFace?: string;
130
202
  fontBold?: boolean;
203
+ fontItalic?: boolean;
204
+ fontLanguage?: string;
205
+ fontBaseline?: number;
206
+ textRotation?: number;
207
+ textWrap?: string;
208
+ textVerticalAnchor?: string;
209
+ textVerticalMode?: string;
210
+ textLInsEmu?: number;
211
+ textTInsEmu?: number;
212
+ textRInsEmu?: number;
213
+ textBInsEmu?: number;
214
+ textBodyAuthored?: boolean;
215
+ textAlign?: 'l' | 'ctr' | 'r' | 'just' | 'dist' | string;
131
216
  formatCode?: string;
132
217
  separator?: string;
133
218
  manualLayout?: ChartManualLayout;
@@ -136,29 +221,63 @@ interface ChartDataLabelOverride {
136
221
  showCatName?: boolean;
137
222
  showSerName?: boolean;
138
223
  showPercent?: boolean;
224
+ showBubbleSize?: boolean;
225
+ showLegendKey?: boolean;
139
226
  deleted?: boolean;
140
227
  }
141
228
  interface ChartLabelBox {
142
229
  fill?: string;
230
+ fillPaint?: SolidFill | GradientFill | PatternFill | null;
231
+ fillHidden?: boolean | null;
232
+ fillPaintAuthored?: boolean | null;
143
233
  borderColor?: string;
234
+ borderFill?: SolidFill | GradientFill | PatternFill | null;
144
235
  borderWidthEmu?: number;
236
+ borderHidden?: boolean | null;
237
+ borderPaintAuthored?: boolean | null;
238
+ borderDash?: string | null;
239
+ borderDashAuthored?: boolean | null;
240
+ borderCustomDash?: ChartLineDashSegment[] | null;
241
+ borderCap?: string | null;
242
+ borderJoin?: string | null;
243
+ borderCompound?: string | null;
145
244
  }
146
245
  interface ChartSeriesDataLabels {
246
+ deleted?: boolean | null;
147
247
  showVal: boolean;
148
248
  showCatName: boolean;
149
249
  showSerName: boolean;
150
250
  showPercent: boolean;
251
+ showBubbleSize?: boolean;
252
+ showLegendKey?: boolean;
151
253
  position?: string;
152
254
  fontColor?: string;
255
+ fontPaintAuthored?: boolean;
256
+ fontHidden?: boolean;
153
257
  formatCode?: string;
154
258
  separator?: string;
155
259
  fontBold?: boolean;
260
+ fontItalic?: boolean;
261
+ fontLanguage?: string;
262
+ fontBaseline?: number;
156
263
  fontSizeHpt?: number;
157
264
  fontFace?: string;
265
+ textRotation?: number;
266
+ textWrap?: string;
267
+ textVerticalAnchor?: string;
268
+ textVerticalMode?: string;
269
+ textLInsEmu?: number;
270
+ textTInsEmu?: number;
271
+ textRInsEmu?: number;
272
+ textBInsEmu?: number;
273
+ textBodyAuthored?: boolean;
274
+ textAlign?: 'l' | 'ctr' | 'r' | 'just' | 'dist' | string;
158
275
  labelBox?: ChartLabelBox;
159
276
  showLeaderLines?: boolean;
160
277
  leaderLineColor?: string;
161
278
  leaderLineWidthEmu?: number;
279
+ leaderLineHidden?: boolean;
280
+ leaderLineDash?: string;
162
281
  }
163
282
  interface ChartErrBars {
164
283
  dir: string;
@@ -169,25 +288,73 @@ interface ChartErrBars {
169
288
  color?: string;
170
289
  lineWidthEmu?: number;
171
290
  dash?: string;
291
+ hidden?: boolean;
172
292
  }
173
293
  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;
294
+ type ChartPlotGroupKind = 'area' | 'area3D' | 'line' | 'line3D' | 'stock' | 'radar' | 'scatter' | 'pie' | 'pie3D' | 'doughnut' | 'bar' | 'bar3D' | 'ofPie' | 'surface' | 'surface3D' | 'bubble';
295
+ type ChartPlotGroupAxisSlot = 'primary' | 'secondary' | 'none' | 'unresolved';
296
+ interface ChartPlotGroup {
297
+ kind: ChartPlotGroupKind;
298
+ seriesStart: number;
299
+ seriesCount: number;
300
+ categoryAxis: ChartPlotGroupAxisSlot;
301
+ valueAxis: ChartPlotGroupAxisSlot;
302
+ seriesAxis: ChartPlotGroupAxisSlot;
303
+ axisIds?: string[] | null;
304
+ grouping?: string | null;
305
+ barDirection?: string | null;
306
+ scatterStyle?: string | null;
307
+ radarStyle?: string | null;
308
+ gapWidth?: number | null;
309
+ overlap?: number | null;
310
+ bubbleScale?: number | null;
311
+ bubbleSizeRepresents?: 'area' | 'w' | null;
312
+ showNegativeBubbles?: boolean | null;
313
+ }
314
+ type ChartLineDashSegment = DrawingMLCustomDashSegment;
174
315
  interface ChartExElementStyle {
175
- fillPaints?: Array<SolidFill | GradientFill | PatternFill | null> | null;
316
+ fontSizeHpt?: number | null;
317
+ fontBold?: boolean | null;
318
+ fontItalic?: boolean | null;
319
+ fontColor?: string | null;
320
+ fontPaintAuthored?: boolean | null;
321
+ fontHidden?: boolean | null;
322
+ fontFace?: string | null;
323
+ fontLanguage?: string | null;
324
+ fontBaseline?: number | null;
325
+ textRotation?: number | null;
326
+ textWrap?: string | null;
327
+ textVerticalAnchor?: string | null;
328
+ textVerticalMode?: string | null;
329
+ textLInsEmu?: number | null;
330
+ textTInsEmu?: number | null;
331
+ textRInsEmu?: number | null;
332
+ textBInsEmu?: number | null;
333
+ textBodyAuthored?: boolean | null;
334
+ fillPaints?: Array<Fill | null> | null;
176
335
  fillColors?: Array<string | null> | null;
177
336
  fillHidden?: boolean | null;
337
+ fillPaintAuthored?: boolean | null;
178
338
  fillNoStyle?: boolean | null;
179
339
  lineColors?: Array<string | null> | null;
340
+ linePaints?: Array<SolidFill | GradientFill | PatternFill | null> | null;
341
+ linePaintAuthored?: boolean | null;
180
342
  lineWidthEmu?: number | null;
181
343
  lineHidden?: boolean | null;
182
344
  lineNoStyle?: boolean | null;
183
345
  lineDash?: string | null;
346
+ lineDashAuthored?: boolean | null;
347
+ lineCustomDash?: ChartLineDashSegment[] | null;
184
348
  lineCap?: string | null;
185
349
  lineJoin?: string | null;
350
+ lineCompound?: string | null;
186
351
  fillColorIndex?: number | null;
187
352
  lineColorIndex?: number | null;
188
353
  }
354
+ type ChartStyleRole = 'axisTitle' | 'categoryAxis' | 'chartArea' | 'dataLabel' | 'dataLabelCallout' | 'dataPoint' | 'dataPoint3D' | 'dataPointLine' | 'dataPointMarker' | 'dataPointWireframe' | 'dataTable' | 'downBar' | 'dropLine' | 'errorBar' | 'floor' | 'gridlineMajor' | 'gridlineMinor' | 'hiLoLine' | 'leaderLine' | 'legend' | 'plotArea' | 'plotArea3D' | 'seriesAxis' | 'seriesLine' | 'title' | 'trendline' | 'trendlineLabel' | 'upBar' | 'valueAxis' | 'wall';
189
355
  interface ChartSurfaceBandFormat {
190
356
  idx: number;
357
+ style?: ChartExElementStyle | null;
191
358
  fill?: SolidFill | GradientFill | PatternFill | null;
192
359
  fillHidden?: boolean | null;
193
360
  lineColor?: string | null;
@@ -204,8 +371,13 @@ interface ChartDataTable {
204
371
  fontColor?: string | null;
205
372
  fontBold?: boolean | null;
206
373
  fontItalic?: boolean | null;
374
+ fillColor?: string | null;
375
+ fill?: SolidFill | GradientFill | PatternFill | null;
376
+ fillHidden?: boolean | null;
377
+ fillPaintAuthored?: boolean | null;
207
378
  lineColor?: string | null;
208
379
  lineWidthEmu?: number | null;
380
+ lineDash?: string | null;
209
381
  lineHidden?: boolean | null;
210
382
  }
211
383
  interface ChartModel {
@@ -214,8 +386,10 @@ interface ChartModel {
214
386
  titleRichRuns?: ChartTextRun[] | null;
215
387
  titlePresent?: boolean;
216
388
  categories: string[];
389
+ categorySourceHidden?: boolean[] | null;
217
390
  categoryLevels?: string[][] | null;
218
391
  series: ChartSeries[];
392
+ plotGroups?: ChartPlotGroup[] | null;
219
393
  chartTextBoxes?: ChartTextBox[] | null;
220
394
  varyColors?: boolean | null;
221
395
  showDataLabels: boolean;
@@ -228,10 +402,32 @@ interface ChartModel {
228
402
  catAxisLineHidden: boolean;
229
403
  valAxisLineHidden: boolean;
230
404
  plotAreaBg: string | null;
405
+ plotAreaFill?: Fill | null;
406
+ plotAreaFillHidden?: boolean | null;
407
+ plotAreaFillPaintAuthored?: boolean | null;
408
+ plotAreaFillAutomatic?: boolean | null;
409
+ plotAreaLineColor?: string | null;
410
+ plotAreaLineFill?: SolidFill | GradientFill | PatternFill | null;
411
+ plotAreaLineWidthEmu?: number | null;
412
+ plotAreaLineDash?: string | null;
413
+ plotAreaLineDashAuthored?: boolean | null;
414
+ plotAreaLineCustomDash?: ChartLineDashSegment[] | null;
415
+ plotAreaLineCap?: string | null;
416
+ plotAreaLineJoin?: string | null;
417
+ plotAreaLineCompound?: string | null;
418
+ plotAreaLineHidden?: boolean | null;
419
+ plotAreaLinePaintAuthored?: boolean | null;
231
420
  chartBg: string | null;
421
+ chartFill?: Fill | null;
422
+ chartFillHidden?: boolean | null;
423
+ chartFillPaintAuthored?: boolean | null;
424
+ roundedCorners?: boolean | null;
425
+ plotVisibleOnly?: boolean | null;
232
426
  showLegend: boolean;
233
427
  dataTable?: ChartDataTable | null;
234
428
  legendPos: 'r' | 'l' | 't' | 'b' | 'tr' | null;
429
+ legendOverlay?: boolean | null;
430
+ legendEntries?: ChartLegendEntryOverride[] | null;
235
431
  catAxisCrossBetween: 'between' | 'midCat' | string;
236
432
  valAxisMajorTickMark: 'cross' | 'out' | 'in' | 'none' | string;
237
433
  catAxisMajorTickMark: 'cross' | 'out' | 'in' | 'none' | string;
@@ -268,6 +464,7 @@ interface ChartModel {
268
464
  catAxisTitleRotation?: number | null;
269
465
  catAxisTitleVerticalMode?: 'horz' | 'vert' | 'vert270' | 'wordArtVert' | 'eaVert' | 'mongolianVert' | 'wordArtVertRtl' | null;
270
466
  catAxisTitleManualLayout?: ChartManualLayout | null;
467
+ catAxisTitleTextVerticalInsetEmu?: number | null;
271
468
  valAxisTitleFontSizeHpt?: number | null;
272
469
  valAxisTitleFontBold?: boolean | null;
273
470
  valAxisTitleFontItalic?: boolean | null;
@@ -275,6 +472,7 @@ interface ChartModel {
275
472
  valAxisTitleRotation?: number | null;
276
473
  valAxisTitleVerticalMode?: 'horz' | 'vert' | 'vert270' | 'wordArtVert' | 'eaVert' | 'mongolianVert' | 'wordArtVertRtl' | null;
277
474
  valAxisTitleManualLayout?: ChartManualLayout | null;
475
+ valAxisTitleTextVerticalInsetEmu?: number | null;
278
476
  catAxisFontFace?: string | null;
279
477
  valAxisFontFace?: string | null;
280
478
  catAxisTitleFontFace?: string | null;
@@ -285,20 +483,45 @@ interface ChartModel {
285
483
  legendFontSizeHpt?: number | null;
286
484
  legendFontBold?: boolean | null;
287
485
  legendFillColor?: string | null;
486
+ legendFill?: Fill | null;
487
+ legendFillHidden?: boolean | null;
488
+ legendFillPaintAuthored?: boolean | null;
288
489
  legendLineColor?: string | null;
490
+ legendLineFill?: SolidFill | GradientFill | PatternFill | null;
289
491
  legendLineWidthEmu?: number | null;
492
+ legendLineDash?: string | null;
493
+ legendLineDashAuthored?: boolean | null;
494
+ legendLineCustomDash?: ChartLineDashSegment[] | null;
495
+ legendLineCap?: string | null;
496
+ legendLineJoin?: string | null;
497
+ legendLineCompound?: string | null;
498
+ legendLineHidden?: boolean | null;
499
+ legendLinePaintAuthored?: boolean | null;
290
500
  themeMajorFontLatin?: string | null;
291
501
  themeMinorFontLatin?: string | null;
292
502
  chartBorderColor?: string | null;
503
+ chartBorderLineFill?: SolidFill | GradientFill | PatternFill | null;
293
504
  chartBorderWidthEmu?: number | null;
505
+ chartBorderDash?: string | null;
506
+ chartBorderDashAuthored?: boolean | null;
507
+ chartBorderCustomDash?: ChartLineDashSegment[] | null;
508
+ chartBorderCap?: string | null;
509
+ chartBorderJoin?: string | null;
510
+ chartBorderCompound?: string | null;
511
+ chartBorderHidden?: boolean | null;
512
+ chartBorderPaintAuthored?: boolean | null;
294
513
  catAxisCrosses?: string | null;
295
514
  catAxisCrossesAt?: number | null;
296
515
  valAxisCrosses?: string | null;
297
516
  valAxisCrossesAt?: number | null;
298
517
  catAxisLineColor?: string | null;
299
518
  catAxisLineWidthEmu?: number | null;
519
+ catAxisLineDash?: string | null;
520
+ catAxisLinePaintAuthored?: boolean | null;
300
521
  valAxisLineColor?: string | null;
301
522
  valAxisLineWidthEmu?: number | null;
523
+ valAxisLineDash?: string | null;
524
+ valAxisLinePaintAuthored?: boolean | null;
302
525
  catAxisFormatCode?: string | null;
303
526
  catAxisMin?: number | null;
304
527
  catAxisMax?: number | null;
@@ -315,6 +538,7 @@ interface ChartModel {
315
538
  holeSize?: number | null;
316
539
  firstSliceAngle?: number | null;
317
540
  dispBlanksAs?: string | null;
541
+ showDataLabelsOverMax?: boolean | null;
318
542
  valAxisMajorGridlines?: boolean | null;
319
543
  catAxisMajorGridlines?: boolean | null;
320
544
  valAxisGridlineColor?: string | null;
@@ -347,12 +571,25 @@ interface ChartModel {
347
571
  catAxisTickLabelPos?: string | null;
348
572
  catAxisTickLabelSkip?: number | null;
349
573
  catAxisTickMarkSkip?: number | null;
574
+ catAxisLabelAlignment?: 'l' | 'ctr' | 'r' | string | null;
575
+ catAxisLabelOffsetPercent?: number | null;
350
576
  valAxisTickLabelPos?: string | null;
351
577
  catAxisLabelRotation?: number | null;
578
+ lineGroupDecorations?: ChartLineGroupDecorations[] | null;
579
+ areaGroupDecorations?: ChartAreaGroupDecorations[] | null;
580
+ barGroupDecorations?: ChartBarGroupDecorations[] | null;
581
+ stockDropLines?: ChartDecorationLineStyle | null;
582
+ stockHiLowLineStyle?: ChartDecorationLineStyle | null;
352
583
  stockHiLowLines?: boolean | null;
353
584
  stockHiLowLineColor?: string | null;
354
585
  stockUpDownBars?: boolean | null;
355
586
  stockUpDownBarStyle?: ChartStockUpDownBarStyle | null;
587
+ stockAutomaticStyle?: {
588
+ lineColor: string;
589
+ lineWidthEmu: number;
590
+ upFillColor: string;
591
+ downFillColor: string;
592
+ } | null;
356
593
  surfaceWireframe?: boolean | null;
357
594
  surfaceBandFormats?: ChartSurfaceBandFormat[] | null;
358
595
  legacyChartStyle?: number | null;
@@ -367,6 +604,11 @@ interface ChartModel {
367
604
  chartexAccents?: string[] | null;
368
605
  chartexColorPalette?: Array<string | null> | null;
369
606
  chartexColorStyleMethod?: string | null;
607
+ chartStyleRoles?: Partial<Record<ChartStyleRole, ChartExElementStyle>> | null;
608
+ chartStyleColorPalette?: Array<string | null> | null;
609
+ chartStyleColorMethod?: string | null;
610
+ chartStyleMarkerSizePt?: number | null;
611
+ chartStyleMarkerSymbol?: string | null;
370
612
  chartexDataPointStyle?: ChartExElementStyle | null;
371
613
  chartexDataPointLineStyle?: ChartExElementStyle | null;
372
614
  chartexSeriesLineStyle?: ChartExElementStyle | null;
@@ -377,9 +619,15 @@ interface ChartModel {
377
619
  }
378
620
  interface ChartStockBarPaint {
379
621
  fillColor?: string | null;
622
+ fill?: SolidFill | GradientFill | PatternFill | null;
623
+ fillPaintAuthored?: boolean | null;
380
624
  fillHidden?: boolean | null;
381
625
  lineColor?: string | null;
626
+ linePaintAuthored?: boolean | null;
382
627
  lineWidthEmu?: number | null;
628
+ lineDash?: string | null;
629
+ lineCap?: string | null;
630
+ lineJoin?: string | null;
383
631
  lineHidden?: boolean | null;
384
632
  }
385
633
  interface ChartStockUpDownBarStyle {
@@ -387,31 +635,76 @@ interface ChartStockUpDownBarStyle {
387
635
  up: ChartStockBarPaint;
388
636
  down: ChartStockBarPaint;
389
637
  }
638
+ interface ChartDecorationLineStyle {
639
+ color?: string | null;
640
+ paintAuthored?: boolean | null;
641
+ widthEmu?: number | null;
642
+ dash?: string | null;
643
+ cap?: string | null;
644
+ join?: string | null;
645
+ hidden?: boolean | null;
646
+ }
647
+ interface ChartLineGroupDecorations {
648
+ groupIndex: number;
649
+ dropLines?: ChartDecorationLineStyle | null;
650
+ hiLowLines?: ChartDecorationLineStyle | null;
651
+ upDownBars?: ChartStockUpDownBarStyle | null;
652
+ }
653
+ interface ChartAreaGroupDecorations {
654
+ groupIndex: number;
655
+ dropLines?: ChartDecorationLineStyle | null;
656
+ }
657
+ interface ChartBarGroupDecorations {
658
+ groupIndex: number;
659
+ seriesLines?: ChartDecorationLineStyle[] | null;
660
+ }
390
661
  interface ChartOfPie {
391
662
  type: 'pie' | 'bar';
392
663
  splitType: 'auto' | 'cust' | 'percent' | 'pos' | 'val';
664
+ splitTypeAuthored?: boolean | null;
393
665
  splitPos?: number | null;
666
+ splitPosAuthored?: boolean | null;
394
667
  customSplitIndices?: number[] | null;
395
668
  secondPieSizePercent: number;
396
669
  gapWidthPercent: number;
397
670
  seriesLines: boolean;
398
671
  }
399
672
  interface ChartThreeDSurface {
673
+ style?: ChartExElementStyle | null;
400
674
  fillColor?: string | null;
401
675
  fillHidden?: boolean | null;
402
676
  lineColor?: string | null;
403
677
  lineWidthEmu?: number | null;
404
678
  lineDash?: string | null;
405
679
  lineHidden?: boolean | null;
680
+ thicknessPercent?: number | null;
681
+ pictureOptions?: ChartThreeDPictureOptions | null;
682
+ }
683
+ interface ChartThreeDPictureOptions {
684
+ applyToFront?: boolean | null;
685
+ applyToSides?: boolean | null;
686
+ applyToEnd?: boolean | null;
687
+ pictureFormat?: 'stretch' | 'stack' | 'stackScale' | string | null;
688
+ pictureFormatAuthored?: boolean | null;
689
+ pictureStackUnit?: number | null;
690
+ pictureStackUnitAuthored?: boolean | null;
406
691
  }
407
692
  interface ChartThreeD {
693
+ view3DPresent?: boolean | null;
408
694
  rotationX?: number | null;
695
+ rotationXAuthored?: boolean | null;
409
696
  rotationY?: number | null;
697
+ rotationYAuthored?: boolean | null;
410
698
  heightPercent?: number | null;
699
+ heightPercentAuthored?: boolean | null;
411
700
  depthPercent?: number | null;
701
+ depthPercentAuthored?: boolean | null;
412
702
  perspective?: number | null;
703
+ perspectiveAuthored?: boolean | null;
413
704
  rightAngleAxes?: boolean | null;
705
+ rightAngleAxesAuthored?: boolean | null;
414
706
  gapDepthPercent?: number | null;
707
+ gapDepthPercentAuthored?: boolean | null;
415
708
  shape?: string | null;
416
709
  barGrouping?: 'standard' | 'clustered' | 'stacked' | 'percentStacked' | string | null;
417
710
  seriesAxis?: ChartThreeDSeriesAxis | null;
@@ -427,6 +720,7 @@ interface ChartThreeDSeriesAxis {
427
720
  tickLabelSkip?: number | null;
428
721
  tickMarkSkip?: number | null;
429
722
  majorTickMark: string;
723
+ minorTickMark?: string | null;
430
724
  fontColor?: string | null;
431
725
  fontSizeHpt?: number | null;
432
726
  fontBold?: boolean | null;
@@ -434,6 +728,8 @@ interface ChartThreeDSeriesAxis {
434
728
  fontFace?: string | null;
435
729
  lineColor?: string | null;
436
730
  lineWidthEmu?: number | null;
731
+ lineDash?: string | null;
732
+ linePaintAuthored?: boolean | null;
437
733
  lineHidden: boolean;
438
734
  titleFontSizeHpt?: number | null;
439
735
  titleFontBold?: boolean | null;
@@ -450,7 +746,12 @@ interface ChartTextRun {
450
746
  bold?: boolean | null;
451
747
  italic?: boolean | null;
452
748
  color?: string | null;
749
+ colorPaintAuthored?: boolean | null;
750
+ colorHidden?: boolean | null;
453
751
  fontFace?: string | null;
752
+ language?: string | null;
753
+ baseline?: number | null;
754
+ paragraphAlign?: 'l' | 'ctr' | 'r' | 'just' | 'dist' | string | null;
454
755
  }
455
756
  interface ChartTextParagraph {
456
757
  runs: ChartTextRun[];
@@ -553,6 +854,7 @@ interface SecondaryValueAxis {
553
854
  fontFace?: string | null;
554
855
  lineColor?: string | null;
555
856
  lineWidthEmu?: number | null;
857
+ lineDash?: string | null;
556
858
  lineHidden: boolean;
557
859
  majorTickMark: string;
558
860
  minorTickMark?: string | null;
@@ -569,6 +871,8 @@ interface SecondaryValueAxis {
569
871
  logBase?: number | null;
570
872
  orientation?: 'minMax' | 'maxMin' | string | null;
571
873
  tickLabelPos?: string | null;
874
+ labelAlignment?: 'l' | 'ctr' | 'r' | null;
875
+ labelOffsetPercent?: number | null;
572
876
  tickLabelSkip?: number | null;
573
877
  tickMarkSkip?: number | null;
574
878
  crosses?: string | null;
@@ -616,8 +920,16 @@ interface LegendManualLayout {
616
920
  hMode?: string;
617
921
  x: number;
618
922
  y: number;
619
- w: number;
620
- h: number;
923
+ w?: number;
924
+ h?: number;
925
+ }
926
+ interface ChartLegendEntryOverride {
927
+ idx: number;
928
+ deleted?: boolean | null;
929
+ fontFace?: string | null;
930
+ fontColor?: string | null;
931
+ fontSizeHpt?: number | null;
932
+ fontBold?: boolean | null;
621
933
  }
622
934
  interface ChartRect {
623
935
  x: number;
@@ -626,9 +938,9 @@ interface ChartRect {
626
938
  h: number;
627
939
  }
628
940
  //#endregion
629
- //#region dist/.types-work/three-d-contract-BhPkqlow.d.ts
941
+ //#region dist/.types-work/three-d-contract-ubTeeJB2.d.ts
630
942
  interface ChartThreeDRenderer {
631
- render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number): boolean;
943
+ render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
632
944
  }
633
945
  //#endregion
634
946
  //#region dist/.types-work/three-d.d.ts