@silurus/ooxml 0.80.2 → 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.
- package/README.md +57 -77
- package/dist/assets/render-worker-C2ACcLes.js +11 -0
- package/dist/assets/render-worker-Cx5uR77k.js +10 -0
- package/dist/assets/render-worker-DtU8oQZ7.js +24 -0
- package/dist/{canvas-viewer-mechanics-D-r6wHY_.js → canvas-viewer-mechanics-CqxKRGCp.js} +1 -1
- package/dist/chart-ex.mjs +1017 -0
- package/dist/{document-pull-client-Cukkyojh.js → document-pull-client-Ux4a_ax8.js} +4540 -4412
- package/dist/{docx-BlELeDNF.js → docx-SEyQ4gS-.js} +79 -75
- package/dist/docx.mjs +5 -4
- package/dist/docx_parser_bg.wasm +0 -0
- package/dist/index.mjs +3 -3
- package/dist/{line-distribute-Bvtp0Gt6.js → line-distribute-BBGvvwLt.js} +17 -16
- package/dist/{line-metrics-DdEJYxjx.js → line-metrics-Baz31mML.js} +663 -7488
- package/dist/math.mjs +29 -24
- package/dist/node.mjs +248 -247
- package/dist/plot-area-frame-Dg1VIpUU.js +3669 -0
- package/dist/{pptx-JBkXh6Cy.js → pptx-5lQrMvMR.js} +236 -232
- package/dist/pptx.mjs +6 -5
- package/dist/pptx_parser_bg.wasm +0 -0
- package/dist/region-map.mjs +102 -97
- package/dist/{render-CoqMHcbF.js → render-DEHjijQD.js} +1 -1
- package/dist/{render-worker-host-CM1JXVqg.js → render-worker-host-B1nbV_k7.js} +1 -1
- package/dist/{render-worker-host-DFtd9Z-J.js → render-worker-host-Bze5M6k5.js} +1 -1
- package/dist/{render-worker-host-Br7ZDyGE.js → render-worker-host-Dg_74V64.js} +1 -1
- package/dist/renderer-DuopJE1K.js +5855 -0
- package/dist/{renderer-module-contract-BNGz8HvO.js → renderer-module-contract-0bO_5SC0.js} +4 -3
- package/dist/{resource-measurement-CgMubiAI.js → resource-measurement-DRLp4nFt.js} +12 -11
- package/dist/{session-DkPblDiq.js → session-CNVc3VJ4.js} +8 -8
- package/dist/{slide-pull-client-m2blvngt.js → slide-pull-client-CzutXnGc.js} +888 -1082
- package/dist/three-d-BYiWCNlz.js +1345 -0
- package/dist/three-d.mjs +1238 -798
- package/dist/types/chart-ex.d.ts +949 -0
- package/dist/types/docx.d.ts +325 -18
- package/dist/types/index.d.ts +325 -26
- package/dist/types/math.d.ts +1 -1
- package/dist/types/node.d.ts +303 -14
- package/dist/types/pptx.d.ts +314 -22
- package/dist/types/region-map.d.ts +318 -6
- package/dist/types/three-d.d.ts +318 -6
- package/dist/types/xlsx.d.ts +317 -18
- package/dist/{worksheet-pull-client-BntP6RiO.js → worksheet-pull-client-Cxj3Ej0s.js} +19 -19
- package/dist/{xlsx-dhsUXUpX.js → xlsx-Bl3TIEVu.js} +1313 -1279
- package/dist/xlsx.mjs +6 -5
- package/dist/xlsx_parser_bg.wasm +0 -0
- package/package.json +7 -1
- package/dist/assets/render-worker-BD1_LaFD.js +0 -9
- package/dist/assets/render-worker-BIqMQFkZ.js +0 -8
- package/dist/assets/render-worker-DuvX4_li.js +0 -22
- package/dist/chart-number-format-qLhnk6hj.js +0 -475
- package/dist/three-d-C28kqDym.js +0 -1086
- /package/dist/{highlight-rect-BuX5rWP4.js → highlight-rect-BqcZMHUE.js} +0 -0
- /package/dist/{mathjax-DgAl7Yi5.js → mathjax-DJa-Q93p.js} +0 -0
- /package/dist/{transfer-CKZ79zFw.js → transfer-D0U6Uhn4.js} +0 -0
- /package/dist/{visible-index-BjesVGhg.js → visible-index-DbDuGMCE.js} +0 -0
package/dist/types/xlsx.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region dist/.types-work/chart-
|
|
1
|
+
//#region dist/.types-work/chart-Cf9PF1Kz.d.ts
|
|
2
2
|
type MathStyle = 'roman' | 'italic' | 'bold' | 'boldItalic';
|
|
3
3
|
interface MathRun {
|
|
4
4
|
kind: 'run';
|
|
@@ -107,6 +107,12 @@ interface Duotone$1 {
|
|
|
107
107
|
clr1: string;
|
|
108
108
|
clr2: string;
|
|
109
109
|
}
|
|
110
|
+
interface SrcRect {
|
|
111
|
+
l: number;
|
|
112
|
+
t: number;
|
|
113
|
+
r: number;
|
|
114
|
+
b: number;
|
|
115
|
+
}
|
|
110
116
|
type Fill = SolidFill | NoFill | GradientFill | PatternFill | ImageFill;
|
|
111
117
|
interface SolidFill {
|
|
112
118
|
fillType: 'solid';
|
|
@@ -144,18 +150,23 @@ interface FillRect {
|
|
|
144
150
|
b?: number;
|
|
145
151
|
}
|
|
146
152
|
interface TileInfo {
|
|
147
|
-
tx
|
|
148
|
-
ty
|
|
149
|
-
sx
|
|
150
|
-
sy
|
|
151
|
-
flip
|
|
153
|
+
tx?: number;
|
|
154
|
+
ty?: number;
|
|
155
|
+
sx?: number;
|
|
156
|
+
sy?: number;
|
|
157
|
+
flip?: string;
|
|
152
158
|
algn?: string;
|
|
153
159
|
}
|
|
154
160
|
interface ImageFill {
|
|
155
161
|
fillType: 'image';
|
|
156
162
|
imagePath: string;
|
|
163
|
+
svgImagePath?: string;
|
|
157
164
|
mimeType: string;
|
|
165
|
+
dpi?: number;
|
|
166
|
+
rotWithShape?: boolean;
|
|
167
|
+
srcRect?: SrcRect;
|
|
158
168
|
fillRect?: FillRect;
|
|
169
|
+
stretch?: boolean;
|
|
159
170
|
tile?: TileInfo;
|
|
160
171
|
alpha?: number;
|
|
161
172
|
duotone?: Duotone$1;
|
|
@@ -165,6 +176,10 @@ interface ArrowEnd {
|
|
|
165
176
|
w: string;
|
|
166
177
|
len: string;
|
|
167
178
|
}
|
|
179
|
+
interface DrawingMLCustomDashSegment {
|
|
180
|
+
dash: number;
|
|
181
|
+
space: number;
|
|
182
|
+
}
|
|
168
183
|
type SpaceLine = {
|
|
169
184
|
type: 'pct';
|
|
170
185
|
val: number;
|
|
@@ -181,18 +196,24 @@ interface ChartSeries {
|
|
|
181
196
|
automaticNegativeStyle?: boolean | null;
|
|
182
197
|
invertedFill?: SolidFill | GradientFill | PatternFill | null;
|
|
183
198
|
invertedFillHidden?: boolean | null;
|
|
199
|
+
invertedFillAuthored?: boolean | null;
|
|
184
200
|
invertedLineColor?: string | null;
|
|
185
201
|
invertedLineWidthEmu?: number | null;
|
|
186
202
|
invertedLineHidden?: boolean | null;
|
|
203
|
+
invertedLineAuthored?: boolean | null;
|
|
187
204
|
chartexStyle?: ChartExElementStyle | null;
|
|
188
205
|
lineColor?: string | null;
|
|
189
206
|
lineWidthEmu?: number | null;
|
|
190
207
|
threeDShape?: 'box' | 'cylinder' | 'cone' | 'coneToMax' | 'pyramid' | 'pyramidToMax' | string | null;
|
|
191
208
|
values: (number | null)[];
|
|
209
|
+
sourceHidden?: boolean[] | null;
|
|
192
210
|
dataPointColors?: (string | null)[] | null;
|
|
211
|
+
explosion?: number | null;
|
|
193
212
|
dataLabelColors?: (string | null)[] | null;
|
|
194
213
|
labelColor?: string | null;
|
|
195
214
|
seriesType?: string | null;
|
|
215
|
+
lineGroupIndex?: number | null;
|
|
216
|
+
areaGroupIndex?: number | null;
|
|
196
217
|
barGroupIndex?: number | null;
|
|
197
218
|
barGroupDirection?: 'bar' | 'col' | string | null;
|
|
198
219
|
barGroupGrouping?: 'standard' | 'clustered' | 'stacked' | 'percentStacked' | string | null;
|
|
@@ -200,14 +221,18 @@ interface ChartSeries {
|
|
|
200
221
|
barGroupOverlap?: number | null;
|
|
201
222
|
useSecondaryAxis?: boolean | null;
|
|
202
223
|
categories?: string[] | null;
|
|
224
|
+
bubbleXSourceIsString?: boolean | null;
|
|
203
225
|
showMarker?: boolean | null;
|
|
204
226
|
valFormatCode?: string | null;
|
|
205
227
|
catFormatCode?: string | null;
|
|
206
228
|
catFormatBuiltinId?: number | null;
|
|
207
229
|
catFormatCodes?: (string | null)[] | null;
|
|
208
230
|
markerSymbol?: string | null;
|
|
231
|
+
automaticMarkerSymbol?: string | null;
|
|
209
232
|
markerSize?: number | null;
|
|
210
233
|
markerFill?: string | null;
|
|
234
|
+
markerFillPaint?: Fill | null;
|
|
235
|
+
markerFillPaintAuthored?: boolean | null;
|
|
211
236
|
markerLine?: string | null;
|
|
212
237
|
markerLineWidthEmu?: number | null;
|
|
213
238
|
dataPointOverrides?: ChartDataPointOverride[] | null;
|
|
@@ -215,6 +240,8 @@ interface ChartSeries {
|
|
|
215
240
|
seriesDataLabels?: ChartSeriesDataLabels | null;
|
|
216
241
|
errBars?: ChartErrBars[] | null;
|
|
217
242
|
bubbleSizes?: (number | null)[] | null;
|
|
243
|
+
bubble3DGroupDefault?: boolean | null;
|
|
244
|
+
bubble3D?: boolean | null;
|
|
218
245
|
smooth?: boolean | null;
|
|
219
246
|
trendLines?: ChartTrendline[] | null;
|
|
220
247
|
lineHidden?: boolean | null;
|
|
@@ -231,13 +258,27 @@ interface ChartTrendline {
|
|
|
231
258
|
dispEq?: boolean | null;
|
|
232
259
|
labelManualLayout?: ChartManualLayout | null;
|
|
233
260
|
labelText?: string | null;
|
|
261
|
+
labelRichRuns?: ChartTextRun[] | null;
|
|
234
262
|
labelFormatCode?: string | null;
|
|
235
263
|
labelFormatSourceLinked?: boolean | null;
|
|
236
264
|
labelFontSizeHpt?: number | null;
|
|
237
265
|
labelFontBold?: boolean | null;
|
|
238
266
|
labelFontItalic?: boolean | null;
|
|
239
267
|
labelFontColor?: string | null;
|
|
268
|
+
labelFontPaintAuthored?: boolean | null;
|
|
269
|
+
labelFontHidden?: boolean | null;
|
|
240
270
|
labelFontFace?: string | null;
|
|
271
|
+
labelFontLanguage?: string | null;
|
|
272
|
+
labelFontBaseline?: number | null;
|
|
273
|
+
labelTextRotation?: number | null;
|
|
274
|
+
labelTextWrap?: string | null;
|
|
275
|
+
labelTextVerticalAnchor?: string | null;
|
|
276
|
+
labelTextVerticalMode?: string | null;
|
|
277
|
+
labelTextLInsEmu?: number | null;
|
|
278
|
+
labelTextTInsEmu?: number | null;
|
|
279
|
+
labelTextRInsEmu?: number | null;
|
|
280
|
+
labelTextBInsEmu?: number | null;
|
|
281
|
+
labelTextBodyAuthored?: boolean | null;
|
|
241
282
|
labelBox?: ChartLabelBox | null;
|
|
242
283
|
labelTextAlign?: string | null;
|
|
243
284
|
lineColor?: string | null;
|
|
@@ -249,6 +290,7 @@ interface ChartDataPointOverride {
|
|
|
249
290
|
idx: number;
|
|
250
291
|
color?: string;
|
|
251
292
|
fillHidden?: boolean;
|
|
293
|
+
chartexStyle?: ChartExElementStyle | null;
|
|
252
294
|
lineColor?: string;
|
|
253
295
|
lineWidthEmu?: number;
|
|
254
296
|
lineDash?: string;
|
|
@@ -256,8 +298,11 @@ interface ChartDataPointOverride {
|
|
|
256
298
|
markerSymbol?: string;
|
|
257
299
|
markerSize?: number;
|
|
258
300
|
markerFill?: string;
|
|
301
|
+
markerFillPaint?: Fill | null;
|
|
302
|
+
markerFillPaintAuthored?: boolean | null;
|
|
259
303
|
markerLine?: string;
|
|
260
304
|
markerLineWidthEmu?: number;
|
|
305
|
+
bubble3D?: boolean | null;
|
|
261
306
|
explosion?: number;
|
|
262
307
|
}
|
|
263
308
|
interface ChartDataLabelOverride {
|
|
@@ -266,9 +311,24 @@ interface ChartDataLabelOverride {
|
|
|
266
311
|
richRuns?: ChartTextRun[];
|
|
267
312
|
position?: string;
|
|
268
313
|
fontColor?: string;
|
|
314
|
+
fontPaintAuthored?: boolean;
|
|
315
|
+
fontHidden?: boolean;
|
|
269
316
|
fontSizeHpt?: number;
|
|
270
317
|
fontFace?: string;
|
|
271
318
|
fontBold?: boolean;
|
|
319
|
+
fontItalic?: boolean;
|
|
320
|
+
fontLanguage?: string;
|
|
321
|
+
fontBaseline?: number;
|
|
322
|
+
textRotation?: number;
|
|
323
|
+
textWrap?: string;
|
|
324
|
+
textVerticalAnchor?: string;
|
|
325
|
+
textVerticalMode?: string;
|
|
326
|
+
textLInsEmu?: number;
|
|
327
|
+
textTInsEmu?: number;
|
|
328
|
+
textRInsEmu?: number;
|
|
329
|
+
textBInsEmu?: number;
|
|
330
|
+
textBodyAuthored?: boolean;
|
|
331
|
+
textAlign?: 'l' | 'ctr' | 'r' | 'just' | 'dist' | string;
|
|
272
332
|
formatCode?: string;
|
|
273
333
|
separator?: string;
|
|
274
334
|
manualLayout?: ChartManualLayout;
|
|
@@ -277,29 +337,63 @@ interface ChartDataLabelOverride {
|
|
|
277
337
|
showCatName?: boolean;
|
|
278
338
|
showSerName?: boolean;
|
|
279
339
|
showPercent?: boolean;
|
|
340
|
+
showBubbleSize?: boolean;
|
|
341
|
+
showLegendKey?: boolean;
|
|
280
342
|
deleted?: boolean;
|
|
281
343
|
}
|
|
282
344
|
interface ChartLabelBox {
|
|
283
345
|
fill?: string;
|
|
346
|
+
fillPaint?: SolidFill | GradientFill | PatternFill | null;
|
|
347
|
+
fillHidden?: boolean | null;
|
|
348
|
+
fillPaintAuthored?: boolean | null;
|
|
284
349
|
borderColor?: string;
|
|
350
|
+
borderFill?: SolidFill | GradientFill | PatternFill | null;
|
|
285
351
|
borderWidthEmu?: number;
|
|
352
|
+
borderHidden?: boolean | null;
|
|
353
|
+
borderPaintAuthored?: boolean | null;
|
|
354
|
+
borderDash?: string | null;
|
|
355
|
+
borderDashAuthored?: boolean | null;
|
|
356
|
+
borderCustomDash?: ChartLineDashSegment[] | null;
|
|
357
|
+
borderCap?: string | null;
|
|
358
|
+
borderJoin?: string | null;
|
|
359
|
+
borderCompound?: string | null;
|
|
286
360
|
}
|
|
287
361
|
interface ChartSeriesDataLabels {
|
|
362
|
+
deleted?: boolean | null;
|
|
288
363
|
showVal: boolean;
|
|
289
364
|
showCatName: boolean;
|
|
290
365
|
showSerName: boolean;
|
|
291
366
|
showPercent: boolean;
|
|
367
|
+
showBubbleSize?: boolean;
|
|
368
|
+
showLegendKey?: boolean;
|
|
292
369
|
position?: string;
|
|
293
370
|
fontColor?: string;
|
|
371
|
+
fontPaintAuthored?: boolean;
|
|
372
|
+
fontHidden?: boolean;
|
|
294
373
|
formatCode?: string;
|
|
295
374
|
separator?: string;
|
|
296
375
|
fontBold?: boolean;
|
|
376
|
+
fontItalic?: boolean;
|
|
377
|
+
fontLanguage?: string;
|
|
378
|
+
fontBaseline?: number;
|
|
297
379
|
fontSizeHpt?: number;
|
|
298
380
|
fontFace?: string;
|
|
381
|
+
textRotation?: number;
|
|
382
|
+
textWrap?: string;
|
|
383
|
+
textVerticalAnchor?: string;
|
|
384
|
+
textVerticalMode?: string;
|
|
385
|
+
textLInsEmu?: number;
|
|
386
|
+
textTInsEmu?: number;
|
|
387
|
+
textRInsEmu?: number;
|
|
388
|
+
textBInsEmu?: number;
|
|
389
|
+
textBodyAuthored?: boolean;
|
|
390
|
+
textAlign?: 'l' | 'ctr' | 'r' | 'just' | 'dist' | string;
|
|
299
391
|
labelBox?: ChartLabelBox;
|
|
300
392
|
showLeaderLines?: boolean;
|
|
301
393
|
leaderLineColor?: string;
|
|
302
394
|
leaderLineWidthEmu?: number;
|
|
395
|
+
leaderLineHidden?: boolean;
|
|
396
|
+
leaderLineDash?: string;
|
|
303
397
|
}
|
|
304
398
|
interface ChartErrBars {
|
|
305
399
|
dir: string;
|
|
@@ -310,25 +404,73 @@ interface ChartErrBars {
|
|
|
310
404
|
color?: string;
|
|
311
405
|
lineWidthEmu?: number;
|
|
312
406
|
dash?: string;
|
|
407
|
+
hidden?: boolean;
|
|
313
408
|
}
|
|
314
409
|
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;
|
|
410
|
+
type ChartPlotGroupKind = 'area' | 'area3D' | 'line' | 'line3D' | 'stock' | 'radar' | 'scatter' | 'pie' | 'pie3D' | 'doughnut' | 'bar' | 'bar3D' | 'ofPie' | 'surface' | 'surface3D' | 'bubble';
|
|
411
|
+
type ChartPlotGroupAxisSlot = 'primary' | 'secondary' | 'none' | 'unresolved';
|
|
412
|
+
interface ChartPlotGroup {
|
|
413
|
+
kind: ChartPlotGroupKind;
|
|
414
|
+
seriesStart: number;
|
|
415
|
+
seriesCount: number;
|
|
416
|
+
categoryAxis: ChartPlotGroupAxisSlot;
|
|
417
|
+
valueAxis: ChartPlotGroupAxisSlot;
|
|
418
|
+
seriesAxis: ChartPlotGroupAxisSlot;
|
|
419
|
+
axisIds?: string[] | null;
|
|
420
|
+
grouping?: string | null;
|
|
421
|
+
barDirection?: string | null;
|
|
422
|
+
scatterStyle?: string | null;
|
|
423
|
+
radarStyle?: string | null;
|
|
424
|
+
gapWidth?: number | null;
|
|
425
|
+
overlap?: number | null;
|
|
426
|
+
bubbleScale?: number | null;
|
|
427
|
+
bubbleSizeRepresents?: 'area' | 'w' | null;
|
|
428
|
+
showNegativeBubbles?: boolean | null;
|
|
429
|
+
}
|
|
430
|
+
type ChartLineDashSegment = DrawingMLCustomDashSegment;
|
|
315
431
|
interface ChartExElementStyle {
|
|
316
|
-
|
|
432
|
+
fontSizeHpt?: number | null;
|
|
433
|
+
fontBold?: boolean | null;
|
|
434
|
+
fontItalic?: boolean | null;
|
|
435
|
+
fontColor?: string | null;
|
|
436
|
+
fontPaintAuthored?: boolean | null;
|
|
437
|
+
fontHidden?: boolean | null;
|
|
438
|
+
fontFace?: string | null;
|
|
439
|
+
fontLanguage?: string | null;
|
|
440
|
+
fontBaseline?: number | null;
|
|
441
|
+
textRotation?: number | null;
|
|
442
|
+
textWrap?: string | null;
|
|
443
|
+
textVerticalAnchor?: string | null;
|
|
444
|
+
textVerticalMode?: string | null;
|
|
445
|
+
textLInsEmu?: number | null;
|
|
446
|
+
textTInsEmu?: number | null;
|
|
447
|
+
textRInsEmu?: number | null;
|
|
448
|
+
textBInsEmu?: number | null;
|
|
449
|
+
textBodyAuthored?: boolean | null;
|
|
450
|
+
fillPaints?: Array<Fill | null> | null;
|
|
317
451
|
fillColors?: Array<string | null> | null;
|
|
318
452
|
fillHidden?: boolean | null;
|
|
453
|
+
fillPaintAuthored?: boolean | null;
|
|
319
454
|
fillNoStyle?: boolean | null;
|
|
320
455
|
lineColors?: Array<string | null> | null;
|
|
456
|
+
linePaints?: Array<SolidFill | GradientFill | PatternFill | null> | null;
|
|
457
|
+
linePaintAuthored?: boolean | null;
|
|
321
458
|
lineWidthEmu?: number | null;
|
|
322
459
|
lineHidden?: boolean | null;
|
|
323
460
|
lineNoStyle?: boolean | null;
|
|
324
461
|
lineDash?: string | null;
|
|
462
|
+
lineDashAuthored?: boolean | null;
|
|
463
|
+
lineCustomDash?: ChartLineDashSegment[] | null;
|
|
325
464
|
lineCap?: string | null;
|
|
326
465
|
lineJoin?: string | null;
|
|
466
|
+
lineCompound?: string | null;
|
|
327
467
|
fillColorIndex?: number | null;
|
|
328
468
|
lineColorIndex?: number | null;
|
|
329
469
|
}
|
|
470
|
+
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';
|
|
330
471
|
interface ChartSurfaceBandFormat {
|
|
331
472
|
idx: number;
|
|
473
|
+
style?: ChartExElementStyle | null;
|
|
332
474
|
fill?: SolidFill | GradientFill | PatternFill | null;
|
|
333
475
|
fillHidden?: boolean | null;
|
|
334
476
|
lineColor?: string | null;
|
|
@@ -345,8 +487,13 @@ interface ChartDataTable {
|
|
|
345
487
|
fontColor?: string | null;
|
|
346
488
|
fontBold?: boolean | null;
|
|
347
489
|
fontItalic?: boolean | null;
|
|
490
|
+
fillColor?: string | null;
|
|
491
|
+
fill?: SolidFill | GradientFill | PatternFill | null;
|
|
492
|
+
fillHidden?: boolean | null;
|
|
493
|
+
fillPaintAuthored?: boolean | null;
|
|
348
494
|
lineColor?: string | null;
|
|
349
495
|
lineWidthEmu?: number | null;
|
|
496
|
+
lineDash?: string | null;
|
|
350
497
|
lineHidden?: boolean | null;
|
|
351
498
|
}
|
|
352
499
|
interface ChartModel {
|
|
@@ -355,8 +502,10 @@ interface ChartModel {
|
|
|
355
502
|
titleRichRuns?: ChartTextRun[] | null;
|
|
356
503
|
titlePresent?: boolean;
|
|
357
504
|
categories: string[];
|
|
505
|
+
categorySourceHidden?: boolean[] | null;
|
|
358
506
|
categoryLevels?: string[][] | null;
|
|
359
507
|
series: ChartSeries[];
|
|
508
|
+
plotGroups?: ChartPlotGroup[] | null;
|
|
360
509
|
chartTextBoxes?: ChartTextBox[] | null;
|
|
361
510
|
varyColors?: boolean | null;
|
|
362
511
|
showDataLabels: boolean;
|
|
@@ -369,10 +518,32 @@ interface ChartModel {
|
|
|
369
518
|
catAxisLineHidden: boolean;
|
|
370
519
|
valAxisLineHidden: boolean;
|
|
371
520
|
plotAreaBg: string | null;
|
|
521
|
+
plotAreaFill?: Fill | null;
|
|
522
|
+
plotAreaFillHidden?: boolean | null;
|
|
523
|
+
plotAreaFillPaintAuthored?: boolean | null;
|
|
524
|
+
plotAreaFillAutomatic?: boolean | null;
|
|
525
|
+
plotAreaLineColor?: string | null;
|
|
526
|
+
plotAreaLineFill?: SolidFill | GradientFill | PatternFill | null;
|
|
527
|
+
plotAreaLineWidthEmu?: number | null;
|
|
528
|
+
plotAreaLineDash?: string | null;
|
|
529
|
+
plotAreaLineDashAuthored?: boolean | null;
|
|
530
|
+
plotAreaLineCustomDash?: ChartLineDashSegment[] | null;
|
|
531
|
+
plotAreaLineCap?: string | null;
|
|
532
|
+
plotAreaLineJoin?: string | null;
|
|
533
|
+
plotAreaLineCompound?: string | null;
|
|
534
|
+
plotAreaLineHidden?: boolean | null;
|
|
535
|
+
plotAreaLinePaintAuthored?: boolean | null;
|
|
372
536
|
chartBg: string | null;
|
|
537
|
+
chartFill?: Fill | null;
|
|
538
|
+
chartFillHidden?: boolean | null;
|
|
539
|
+
chartFillPaintAuthored?: boolean | null;
|
|
540
|
+
roundedCorners?: boolean | null;
|
|
541
|
+
plotVisibleOnly?: boolean | null;
|
|
373
542
|
showLegend: boolean;
|
|
374
543
|
dataTable?: ChartDataTable | null;
|
|
375
544
|
legendPos: 'r' | 'l' | 't' | 'b' | 'tr' | null;
|
|
545
|
+
legendOverlay?: boolean | null;
|
|
546
|
+
legendEntries?: ChartLegendEntryOverride[] | null;
|
|
376
547
|
catAxisCrossBetween: 'between' | 'midCat' | string;
|
|
377
548
|
valAxisMajorTickMark: 'cross' | 'out' | 'in' | 'none' | string;
|
|
378
549
|
catAxisMajorTickMark: 'cross' | 'out' | 'in' | 'none' | string;
|
|
@@ -409,6 +580,7 @@ interface ChartModel {
|
|
|
409
580
|
catAxisTitleRotation?: number | null;
|
|
410
581
|
catAxisTitleVerticalMode?: 'horz' | 'vert' | 'vert270' | 'wordArtVert' | 'eaVert' | 'mongolianVert' | 'wordArtVertRtl' | null;
|
|
411
582
|
catAxisTitleManualLayout?: ChartManualLayout | null;
|
|
583
|
+
catAxisTitleTextVerticalInsetEmu?: number | null;
|
|
412
584
|
valAxisTitleFontSizeHpt?: number | null;
|
|
413
585
|
valAxisTitleFontBold?: boolean | null;
|
|
414
586
|
valAxisTitleFontItalic?: boolean | null;
|
|
@@ -416,6 +588,7 @@ interface ChartModel {
|
|
|
416
588
|
valAxisTitleRotation?: number | null;
|
|
417
589
|
valAxisTitleVerticalMode?: 'horz' | 'vert' | 'vert270' | 'wordArtVert' | 'eaVert' | 'mongolianVert' | 'wordArtVertRtl' | null;
|
|
418
590
|
valAxisTitleManualLayout?: ChartManualLayout | null;
|
|
591
|
+
valAxisTitleTextVerticalInsetEmu?: number | null;
|
|
419
592
|
catAxisFontFace?: string | null;
|
|
420
593
|
valAxisFontFace?: string | null;
|
|
421
594
|
catAxisTitleFontFace?: string | null;
|
|
@@ -426,20 +599,45 @@ interface ChartModel {
|
|
|
426
599
|
legendFontSizeHpt?: number | null;
|
|
427
600
|
legendFontBold?: boolean | null;
|
|
428
601
|
legendFillColor?: string | null;
|
|
602
|
+
legendFill?: Fill | null;
|
|
603
|
+
legendFillHidden?: boolean | null;
|
|
604
|
+
legendFillPaintAuthored?: boolean | null;
|
|
429
605
|
legendLineColor?: string | null;
|
|
606
|
+
legendLineFill?: SolidFill | GradientFill | PatternFill | null;
|
|
430
607
|
legendLineWidthEmu?: number | null;
|
|
608
|
+
legendLineDash?: string | null;
|
|
609
|
+
legendLineDashAuthored?: boolean | null;
|
|
610
|
+
legendLineCustomDash?: ChartLineDashSegment[] | null;
|
|
611
|
+
legendLineCap?: string | null;
|
|
612
|
+
legendLineJoin?: string | null;
|
|
613
|
+
legendLineCompound?: string | null;
|
|
614
|
+
legendLineHidden?: boolean | null;
|
|
615
|
+
legendLinePaintAuthored?: boolean | null;
|
|
431
616
|
themeMajorFontLatin?: string | null;
|
|
432
617
|
themeMinorFontLatin?: string | null;
|
|
433
618
|
chartBorderColor?: string | null;
|
|
619
|
+
chartBorderLineFill?: SolidFill | GradientFill | PatternFill | null;
|
|
434
620
|
chartBorderWidthEmu?: number | null;
|
|
621
|
+
chartBorderDash?: string | null;
|
|
622
|
+
chartBorderDashAuthored?: boolean | null;
|
|
623
|
+
chartBorderCustomDash?: ChartLineDashSegment[] | null;
|
|
624
|
+
chartBorderCap?: string | null;
|
|
625
|
+
chartBorderJoin?: string | null;
|
|
626
|
+
chartBorderCompound?: string | null;
|
|
627
|
+
chartBorderHidden?: boolean | null;
|
|
628
|
+
chartBorderPaintAuthored?: boolean | null;
|
|
435
629
|
catAxisCrosses?: string | null;
|
|
436
630
|
catAxisCrossesAt?: number | null;
|
|
437
631
|
valAxisCrosses?: string | null;
|
|
438
632
|
valAxisCrossesAt?: number | null;
|
|
439
633
|
catAxisLineColor?: string | null;
|
|
440
634
|
catAxisLineWidthEmu?: number | null;
|
|
635
|
+
catAxisLineDash?: string | null;
|
|
636
|
+
catAxisLinePaintAuthored?: boolean | null;
|
|
441
637
|
valAxisLineColor?: string | null;
|
|
442
638
|
valAxisLineWidthEmu?: number | null;
|
|
639
|
+
valAxisLineDash?: string | null;
|
|
640
|
+
valAxisLinePaintAuthored?: boolean | null;
|
|
443
641
|
catAxisFormatCode?: string | null;
|
|
444
642
|
catAxisMin?: number | null;
|
|
445
643
|
catAxisMax?: number | null;
|
|
@@ -456,6 +654,7 @@ interface ChartModel {
|
|
|
456
654
|
holeSize?: number | null;
|
|
457
655
|
firstSliceAngle?: number | null;
|
|
458
656
|
dispBlanksAs?: string | null;
|
|
657
|
+
showDataLabelsOverMax?: boolean | null;
|
|
459
658
|
valAxisMajorGridlines?: boolean | null;
|
|
460
659
|
catAxisMajorGridlines?: boolean | null;
|
|
461
660
|
valAxisGridlineColor?: string | null;
|
|
@@ -488,12 +687,25 @@ interface ChartModel {
|
|
|
488
687
|
catAxisTickLabelPos?: string | null;
|
|
489
688
|
catAxisTickLabelSkip?: number | null;
|
|
490
689
|
catAxisTickMarkSkip?: number | null;
|
|
690
|
+
catAxisLabelAlignment?: 'l' | 'ctr' | 'r' | string | null;
|
|
691
|
+
catAxisLabelOffsetPercent?: number | null;
|
|
491
692
|
valAxisTickLabelPos?: string | null;
|
|
492
693
|
catAxisLabelRotation?: number | null;
|
|
694
|
+
lineGroupDecorations?: ChartLineGroupDecorations[] | null;
|
|
695
|
+
areaGroupDecorations?: ChartAreaGroupDecorations[] | null;
|
|
696
|
+
barGroupDecorations?: ChartBarGroupDecorations[] | null;
|
|
697
|
+
stockDropLines?: ChartDecorationLineStyle | null;
|
|
698
|
+
stockHiLowLineStyle?: ChartDecorationLineStyle | null;
|
|
493
699
|
stockHiLowLines?: boolean | null;
|
|
494
700
|
stockHiLowLineColor?: string | null;
|
|
495
701
|
stockUpDownBars?: boolean | null;
|
|
496
702
|
stockUpDownBarStyle?: ChartStockUpDownBarStyle | null;
|
|
703
|
+
stockAutomaticStyle?: {
|
|
704
|
+
lineColor: string;
|
|
705
|
+
lineWidthEmu: number;
|
|
706
|
+
upFillColor: string;
|
|
707
|
+
downFillColor: string;
|
|
708
|
+
} | null;
|
|
497
709
|
surfaceWireframe?: boolean | null;
|
|
498
710
|
surfaceBandFormats?: ChartSurfaceBandFormat[] | null;
|
|
499
711
|
legacyChartStyle?: number | null;
|
|
@@ -508,6 +720,11 @@ interface ChartModel {
|
|
|
508
720
|
chartexAccents?: string[] | null;
|
|
509
721
|
chartexColorPalette?: Array<string | null> | null;
|
|
510
722
|
chartexColorStyleMethod?: string | null;
|
|
723
|
+
chartStyleRoles?: Partial<Record<ChartStyleRole, ChartExElementStyle>> | null;
|
|
724
|
+
chartStyleColorPalette?: Array<string | null> | null;
|
|
725
|
+
chartStyleColorMethod?: string | null;
|
|
726
|
+
chartStyleMarkerSizePt?: number | null;
|
|
727
|
+
chartStyleMarkerSymbol?: string | null;
|
|
511
728
|
chartexDataPointStyle?: ChartExElementStyle | null;
|
|
512
729
|
chartexDataPointLineStyle?: ChartExElementStyle | null;
|
|
513
730
|
chartexSeriesLineStyle?: ChartExElementStyle | null;
|
|
@@ -518,9 +735,15 @@ interface ChartModel {
|
|
|
518
735
|
}
|
|
519
736
|
interface ChartStockBarPaint {
|
|
520
737
|
fillColor?: string | null;
|
|
738
|
+
fill?: SolidFill | GradientFill | PatternFill | null;
|
|
739
|
+
fillPaintAuthored?: boolean | null;
|
|
521
740
|
fillHidden?: boolean | null;
|
|
522
741
|
lineColor?: string | null;
|
|
742
|
+
linePaintAuthored?: boolean | null;
|
|
523
743
|
lineWidthEmu?: number | null;
|
|
744
|
+
lineDash?: string | null;
|
|
745
|
+
lineCap?: string | null;
|
|
746
|
+
lineJoin?: string | null;
|
|
524
747
|
lineHidden?: boolean | null;
|
|
525
748
|
}
|
|
526
749
|
interface ChartStockUpDownBarStyle {
|
|
@@ -528,31 +751,76 @@ interface ChartStockUpDownBarStyle {
|
|
|
528
751
|
up: ChartStockBarPaint;
|
|
529
752
|
down: ChartStockBarPaint;
|
|
530
753
|
}
|
|
754
|
+
interface ChartDecorationLineStyle {
|
|
755
|
+
color?: string | null;
|
|
756
|
+
paintAuthored?: boolean | null;
|
|
757
|
+
widthEmu?: number | null;
|
|
758
|
+
dash?: string | null;
|
|
759
|
+
cap?: string | null;
|
|
760
|
+
join?: string | null;
|
|
761
|
+
hidden?: boolean | null;
|
|
762
|
+
}
|
|
763
|
+
interface ChartLineGroupDecorations {
|
|
764
|
+
groupIndex: number;
|
|
765
|
+
dropLines?: ChartDecorationLineStyle | null;
|
|
766
|
+
hiLowLines?: ChartDecorationLineStyle | null;
|
|
767
|
+
upDownBars?: ChartStockUpDownBarStyle | null;
|
|
768
|
+
}
|
|
769
|
+
interface ChartAreaGroupDecorations {
|
|
770
|
+
groupIndex: number;
|
|
771
|
+
dropLines?: ChartDecorationLineStyle | null;
|
|
772
|
+
}
|
|
773
|
+
interface ChartBarGroupDecorations {
|
|
774
|
+
groupIndex: number;
|
|
775
|
+
seriesLines?: ChartDecorationLineStyle[] | null;
|
|
776
|
+
}
|
|
531
777
|
interface ChartOfPie {
|
|
532
778
|
type: 'pie' | 'bar';
|
|
533
779
|
splitType: 'auto' | 'cust' | 'percent' | 'pos' | 'val';
|
|
780
|
+
splitTypeAuthored?: boolean | null;
|
|
534
781
|
splitPos?: number | null;
|
|
782
|
+
splitPosAuthored?: boolean | null;
|
|
535
783
|
customSplitIndices?: number[] | null;
|
|
536
784
|
secondPieSizePercent: number;
|
|
537
785
|
gapWidthPercent: number;
|
|
538
786
|
seriesLines: boolean;
|
|
539
787
|
}
|
|
540
788
|
interface ChartThreeDSurface {
|
|
789
|
+
style?: ChartExElementStyle | null;
|
|
541
790
|
fillColor?: string | null;
|
|
542
791
|
fillHidden?: boolean | null;
|
|
543
792
|
lineColor?: string | null;
|
|
544
793
|
lineWidthEmu?: number | null;
|
|
545
794
|
lineDash?: string | null;
|
|
546
795
|
lineHidden?: boolean | null;
|
|
796
|
+
thicknessPercent?: number | null;
|
|
797
|
+
pictureOptions?: ChartThreeDPictureOptions | null;
|
|
798
|
+
}
|
|
799
|
+
interface ChartThreeDPictureOptions {
|
|
800
|
+
applyToFront?: boolean | null;
|
|
801
|
+
applyToSides?: boolean | null;
|
|
802
|
+
applyToEnd?: boolean | null;
|
|
803
|
+
pictureFormat?: 'stretch' | 'stack' | 'stackScale' | string | null;
|
|
804
|
+
pictureFormatAuthored?: boolean | null;
|
|
805
|
+
pictureStackUnit?: number | null;
|
|
806
|
+
pictureStackUnitAuthored?: boolean | null;
|
|
547
807
|
}
|
|
548
808
|
interface ChartThreeD {
|
|
809
|
+
view3DPresent?: boolean | null;
|
|
549
810
|
rotationX?: number | null;
|
|
811
|
+
rotationXAuthored?: boolean | null;
|
|
550
812
|
rotationY?: number | null;
|
|
813
|
+
rotationYAuthored?: boolean | null;
|
|
551
814
|
heightPercent?: number | null;
|
|
815
|
+
heightPercentAuthored?: boolean | null;
|
|
552
816
|
depthPercent?: number | null;
|
|
817
|
+
depthPercentAuthored?: boolean | null;
|
|
553
818
|
perspective?: number | null;
|
|
819
|
+
perspectiveAuthored?: boolean | null;
|
|
554
820
|
rightAngleAxes?: boolean | null;
|
|
821
|
+
rightAngleAxesAuthored?: boolean | null;
|
|
555
822
|
gapDepthPercent?: number | null;
|
|
823
|
+
gapDepthPercentAuthored?: boolean | null;
|
|
556
824
|
shape?: string | null;
|
|
557
825
|
barGrouping?: 'standard' | 'clustered' | 'stacked' | 'percentStacked' | string | null;
|
|
558
826
|
seriesAxis?: ChartThreeDSeriesAxis | null;
|
|
@@ -568,6 +836,7 @@ interface ChartThreeDSeriesAxis {
|
|
|
568
836
|
tickLabelSkip?: number | null;
|
|
569
837
|
tickMarkSkip?: number | null;
|
|
570
838
|
majorTickMark: string;
|
|
839
|
+
minorTickMark?: string | null;
|
|
571
840
|
fontColor?: string | null;
|
|
572
841
|
fontSizeHpt?: number | null;
|
|
573
842
|
fontBold?: boolean | null;
|
|
@@ -575,6 +844,8 @@ interface ChartThreeDSeriesAxis {
|
|
|
575
844
|
fontFace?: string | null;
|
|
576
845
|
lineColor?: string | null;
|
|
577
846
|
lineWidthEmu?: number | null;
|
|
847
|
+
lineDash?: string | null;
|
|
848
|
+
linePaintAuthored?: boolean | null;
|
|
578
849
|
lineHidden: boolean;
|
|
579
850
|
titleFontSizeHpt?: number | null;
|
|
580
851
|
titleFontBold?: boolean | null;
|
|
@@ -591,7 +862,12 @@ interface ChartTextRun {
|
|
|
591
862
|
bold?: boolean | null;
|
|
592
863
|
italic?: boolean | null;
|
|
593
864
|
color?: string | null;
|
|
865
|
+
colorPaintAuthored?: boolean | null;
|
|
866
|
+
colorHidden?: boolean | null;
|
|
594
867
|
fontFace?: string | null;
|
|
868
|
+
language?: string | null;
|
|
869
|
+
baseline?: number | null;
|
|
870
|
+
paragraphAlign?: 'l' | 'ctr' | 'r' | 'just' | 'dist' | string | null;
|
|
595
871
|
}
|
|
596
872
|
interface ChartTextParagraph {
|
|
597
873
|
runs: ChartTextRun[];
|
|
@@ -694,6 +970,7 @@ interface SecondaryValueAxis {
|
|
|
694
970
|
fontFace?: string | null;
|
|
695
971
|
lineColor?: string | null;
|
|
696
972
|
lineWidthEmu?: number | null;
|
|
973
|
+
lineDash?: string | null;
|
|
697
974
|
lineHidden: boolean;
|
|
698
975
|
majorTickMark: string;
|
|
699
976
|
minorTickMark?: string | null;
|
|
@@ -710,6 +987,8 @@ interface SecondaryValueAxis {
|
|
|
710
987
|
logBase?: number | null;
|
|
711
988
|
orientation?: 'minMax' | 'maxMin' | string | null;
|
|
712
989
|
tickLabelPos?: string | null;
|
|
990
|
+
labelAlignment?: 'l' | 'ctr' | 'r' | null;
|
|
991
|
+
labelOffsetPercent?: number | null;
|
|
713
992
|
tickLabelSkip?: number | null;
|
|
714
993
|
tickMarkSkip?: number | null;
|
|
715
994
|
crosses?: string | null;
|
|
@@ -757,8 +1036,16 @@ interface LegendManualLayout {
|
|
|
757
1036
|
hMode?: string;
|
|
758
1037
|
x: number;
|
|
759
1038
|
y: number;
|
|
760
|
-
w
|
|
761
|
-
h
|
|
1039
|
+
w?: number;
|
|
1040
|
+
h?: number;
|
|
1041
|
+
}
|
|
1042
|
+
interface ChartLegendEntryOverride {
|
|
1043
|
+
idx: number;
|
|
1044
|
+
deleted?: boolean | null;
|
|
1045
|
+
fontFace?: string | null;
|
|
1046
|
+
fontColor?: string | null;
|
|
1047
|
+
fontSizeHpt?: number | null;
|
|
1048
|
+
fontBold?: boolean | null;
|
|
762
1049
|
}
|
|
763
1050
|
interface ChartRect {
|
|
764
1051
|
x: number;
|
|
@@ -767,7 +1054,12 @@ interface ChartRect {
|
|
|
767
1054
|
h: number;
|
|
768
1055
|
}
|
|
769
1056
|
//#endregion
|
|
770
|
-
//#region dist/.types-work/
|
|
1057
|
+
//#region dist/.types-work/chart-ex-contract-utZi_dg3.d.ts
|
|
1058
|
+
interface ChartExRenderer {
|
|
1059
|
+
render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
|
|
1060
|
+
}
|
|
1061
|
+
//#endregion
|
|
1062
|
+
//#region dist/.types-work/mathjax-i691C1H8.d.ts
|
|
771
1063
|
interface MathSvg {
|
|
772
1064
|
svg: string;
|
|
773
1065
|
widthEm: number;
|
|
@@ -779,17 +1071,17 @@ interface MathRenderer {
|
|
|
779
1071
|
mathMLToSvg(mathml: string): Promise<MathSvg>;
|
|
780
1072
|
}
|
|
781
1073
|
//#endregion
|
|
782
|
-
//#region dist/.types-work/three-d-contract-
|
|
1074
|
+
//#region dist/.types-work/three-d-contract-ubTeeJB2.d.ts
|
|
783
1075
|
interface ChartThreeDRenderer {
|
|
784
|
-
render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number): boolean;
|
|
1076
|
+
render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
|
|
785
1077
|
}
|
|
786
1078
|
//#endregion
|
|
787
|
-
//#region dist/.types-work/region-map-contract-
|
|
1079
|
+
//#region dist/.types-work/region-map-contract-BjZYif26.d.ts
|
|
788
1080
|
interface ChartRegionMapRenderer {
|
|
789
|
-
render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number): boolean;
|
|
1081
|
+
render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
|
|
790
1082
|
}
|
|
791
1083
|
//#endregion
|
|
792
|
-
//#region dist/.types-work/hyperlink-
|
|
1084
|
+
//#region dist/.types-work/hyperlink-DfGyAVo-.d.ts
|
|
793
1085
|
type OoxmlErrorCode = 'encrypted' | 'invalid-password' | 'unsupported-encryption' | 'legacy-binary-format' | 'not-ooxml';
|
|
794
1086
|
type OoxmlErrorStage = 'container' | 'decompression' | 'parsing' | 'serialization' | 'layout' | 'rendering' | 'worker';
|
|
795
1087
|
declare class OoxmlError extends Error {
|
|
@@ -874,6 +1166,7 @@ interface LoadOptions$1 {
|
|
|
874
1166
|
math?: MathRenderer;
|
|
875
1167
|
threeD?: ChartThreeDRenderer;
|
|
876
1168
|
regionMap?: ChartRegionMapRenderer;
|
|
1169
|
+
chartEx?: ChartExRenderer;
|
|
877
1170
|
}
|
|
878
1171
|
type OoxmlDecodedImageLimitMetric = 'image-pixels' | 'active-decoded-bytes';
|
|
879
1172
|
declare class OoxmlDecodedImageLimitError extends RangeError {
|
|
@@ -894,7 +1187,7 @@ type HyperlinkTarget = {
|
|
|
894
1187
|
};
|
|
895
1188
|
declare function openExternalHyperlink(url: string, allowed?: readonly string[], win?: Pick<Window, 'open'> | undefined): boolean;
|
|
896
1189
|
//#endregion
|
|
897
|
-
//#region dist/.types-work/find-highlight-
|
|
1190
|
+
//#region dist/.types-work/find-highlight-CVToYCFx.d.ts
|
|
898
1191
|
interface ViewerContextMenuEvent<TContext> {
|
|
899
1192
|
readonly originalEvent: MouseEvent;
|
|
900
1193
|
getContext(): Promise<TContext | null>;
|
|
@@ -924,7 +1217,7 @@ interface FindHighlightColors {
|
|
|
924
1217
|
active?: string;
|
|
925
1218
|
}
|
|
926
1219
|
//#endregion
|
|
927
|
-
//#region dist/.types-work/xlsx-
|
|
1220
|
+
//#region dist/.types-work/xlsx-DLKF0-5_.d.ts
|
|
928
1221
|
type ShapeFill = Exclude<Fill, {
|
|
929
1222
|
fillType: 'image';
|
|
930
1223
|
} | {
|
|
@@ -959,6 +1252,11 @@ interface Worksheet {
|
|
|
959
1252
|
max: number;
|
|
960
1253
|
width: number;
|
|
961
1254
|
}>;
|
|
1255
|
+
colStyleRanges?: Array<{
|
|
1256
|
+
min: number;
|
|
1257
|
+
max: number;
|
|
1258
|
+
styleIndex: number;
|
|
1259
|
+
}>;
|
|
962
1260
|
rowHeights: Record<number, number>;
|
|
963
1261
|
colOutlineLevels?: Record<number, number>;
|
|
964
1262
|
colCollapsed?: Record<number, boolean>;
|
|
@@ -1683,6 +1981,7 @@ declare class XlsxWorkbook {
|
|
|
1683
1981
|
private math;
|
|
1684
1982
|
private threeD;
|
|
1685
1983
|
private regionMap;
|
|
1984
|
+
private chartEx;
|
|
1686
1985
|
private googleFontNames;
|
|
1687
1986
|
private readonly retainedFontSets;
|
|
1688
1987
|
private fontsDestroyed;
|
|
@@ -2152,4 +2451,4 @@ declare class XlsxSheetViewer implements ZoomableViewer {
|
|
|
2152
2451
|
}
|
|
2153
2452
|
declare function resolveSharedStrings(ws: Worksheet, sharedStrings: SharedString[]): Worksheet;
|
|
2154
2453
|
//#endregion
|
|
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 };
|
|
2454
|
+
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 ChartAreaGroupDecorations, type ChartBarGroupDecorations, type ChartDataLabelOverride, type ChartDataPointOverride, type ChartDataTable, type ChartDecorationLineStyle, type ChartDisplayUnits, type ChartDisplayUnitsLabel, type ChartErrBars, type ChartExElementStyle, type ChartExRenderer, type ChartLabelBox, type ChartLegendEntryOverride, type ChartLineDashSegment, type ChartLineGroupDecorations, type ChartManualLayout, type ChartModel, type ChartOfPie, type ChartPlotGroup, type ChartPlotGroupAxisSlot, type ChartPlotGroupKind, type ChartRect, type ChartRegionMapRenderer, type ChartSeries, type ChartSeriesDataLabels, type ChartStockBarPaint, type ChartStockUpDownBarStyle, type ChartSurfaceBandFormat, type ChartTextBox, type ChartTextParagraph, type ChartTextRun, type ChartThreeD, type ChartThreeDPictureOptions, 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 DrawingMLCustomDashSegment, 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 ImageFill, 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 NoFill, 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 SrcRect, type Styles, type TableColumnInfo, type TableInfo, type TileInfo, 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 };
|