@silurus/ooxml 0.78.1 → 0.79.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +39 -1
- package/THIRD_PARTY_NOTICES.md +13 -0
- package/dist/{canvas-viewer-mechanics-B4K_t5X_.js → canvas-viewer-mechanics-DJ9yfiLN.js} +1 -1
- package/dist/chart-number-format-tjYUR9eS.js +435 -0
- package/dist/dash-CMzZIDz_.js +824 -0
- package/dist/{document-pull-client-5AakVD6e.js → document-pull-client-DYoybVCn.js} +2119 -2113
- package/dist/{docx-bjhRwb2u.js → docx-CSk_-kj_.js} +65 -56
- package/dist/docx.mjs +4 -4
- package/dist/docx_parser_bg.wasm +0 -0
- package/dist/index.mjs +3 -3
- package/dist/{line-distribute-BVFW1-Hs.js → line-distribute-CU7vu7XS.js} +1 -1
- package/dist/{line-metrics-DS0NS2Iq.js → line-metrics-A77J_KRx.js} +4229 -3233
- package/dist/math.mjs +1 -1
- package/dist/node.mjs +322 -322
- package/dist/{pptx-D1rCrHGR.js → pptx-CO1Ut97p.js} +192 -183
- package/dist/pptx.mjs +5 -5
- package/dist/pptx_parser_bg.wasm +0 -0
- package/dist/region-map.mjs +12708 -0
- package/dist/{render-DhlT5jxZ.js → render-C5m7Ddwx.js} +1 -1
- package/dist/render-worker-host-BhMT5U73.js +27 -0
- package/dist/render-worker-host-DNMxGh5s.js +27 -0
- package/dist/render-worker-host-DWyg7wio.js +27 -0
- package/dist/{resource-measurement-BA-4Q-II.js → resource-measurement-COxqtfGk.js} +1 -1
- package/dist/{session-C_HGxbRD.js → session-CJwZaquG.js} +10 -10
- package/dist/{slide-pull-client-BiC4sVGi.js → slide-pull-client-CFHNk0ek.js} +584 -583
- package/dist/three-d.mjs +2426 -0
- package/dist/types/docx.d.ts +251 -16
- package/dist/types/index.d.ts +266 -20
- package/dist/types/math.d.ts +1 -1
- package/dist/types/node.d.ts +225 -1
- package/dist/types/pptx.d.ts +253 -16
- package/dist/types/region-map.d.ts +586 -0
- package/dist/types/three-d.d.ts +586 -0
- package/dist/types/xlsx.d.ts +256 -16
- package/dist/{worksheet-pull-client-BnvgeqfG.js → worksheet-pull-client-CziyJf24.js} +13 -13
- package/dist/{xlsx-BG_WYSc0.js → xlsx-DHQmjAfh.js} +1246 -1073
- package/dist/xlsx.mjs +5 -5
- package/dist/xlsx_parser_bg.wasm +0 -0
- package/package.json +13 -1
- package/dist/render-worker-host-CtJo7hc9.js +0 -27
- package/dist/render-worker-host-D8vv-Asx.js +0 -27
- package/dist/render-worker-host-DAjG9nmw.js +0 -27
- /package/dist/{highlight-rect-CAkCWJ37.js → highlight-rect-cCvVU-MW.js} +0 -0
- /package/dist/{mathjax-CMjda8Ip.js → mathjax-Dqo857oC.js} +0 -0
- /package/dist/{transfer-DCu4c2BL.js → transfer-3QEJrsJa.js} +0 -0
- /package/dist/{visible-index-CgyJLAS_.js → visible-index-CKvgpUrf.js} +0 -0
package/dist/types/docx.d.ts
CHANGED
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
//#region dist/.types-work/
|
|
2
|
-
interface MathSvg {
|
|
3
|
-
svg: string;
|
|
4
|
-
widthEm: number;
|
|
5
|
-
ascentEm: number;
|
|
6
|
-
descentEm: number;
|
|
7
|
-
}
|
|
8
|
-
interface MathRenderer {
|
|
9
|
-
loadMathJax(): Promise<void>;
|
|
10
|
-
mathMLToSvg(mathml: string): Promise<MathSvg>;
|
|
11
|
-
}
|
|
12
|
-
//#endregion
|
|
13
|
-
//#region dist/.types-work/hyperlink-DpimohAS.d.ts
|
|
1
|
+
//#region dist/.types-work/chart-BFzw-erU.d.ts
|
|
14
2
|
type MathStyle = 'roman' | 'italic' | 'bold' | 'boldItalic';
|
|
15
3
|
interface MathRun {
|
|
16
4
|
kind: 'run';
|
|
@@ -161,10 +149,13 @@ interface TileInfo {
|
|
|
161
149
|
}
|
|
162
150
|
interface ChartSeries {
|
|
163
151
|
name: string;
|
|
152
|
+
chartexFormatIdx?: number | null;
|
|
164
153
|
color: string | null;
|
|
165
154
|
fillPattern?: PatternFill | null;
|
|
155
|
+
chartexStyle?: ChartExElementStyle | null;
|
|
166
156
|
lineColor?: string | null;
|
|
167
157
|
lineWidthEmu?: number | null;
|
|
158
|
+
threeDShape?: 'box' | 'cylinder' | 'cone' | 'coneToMax' | 'pyramid' | 'pyramidToMax' | string | null;
|
|
168
159
|
values: (number | null)[];
|
|
169
160
|
dataPointColors?: (string | null)[] | null;
|
|
170
161
|
dataLabelColors?: (string | null)[] | null;
|
|
@@ -180,6 +171,7 @@ interface ChartSeries {
|
|
|
180
171
|
markerSize?: number | null;
|
|
181
172
|
markerFill?: string | null;
|
|
182
173
|
markerLine?: string | null;
|
|
174
|
+
markerLineWidthEmu?: number | null;
|
|
183
175
|
dataPointOverrides?: ChartDataPointOverride[] | null;
|
|
184
176
|
dataLabelOverrides?: ChartDataLabelOverride[] | null;
|
|
185
177
|
seriesDataLabels?: ChartSeriesDataLabels | null;
|
|
@@ -198,25 +190,47 @@ interface ChartTrendline {
|
|
|
198
190
|
intercept?: number | null;
|
|
199
191
|
dispRSqr?: boolean | null;
|
|
200
192
|
dispEq?: boolean | null;
|
|
193
|
+
labelManualLayout?: ChartManualLayout | null;
|
|
194
|
+
labelText?: string | null;
|
|
195
|
+
labelFontSizeHpt?: number | null;
|
|
196
|
+
labelFontBold?: boolean | null;
|
|
197
|
+
labelFontItalic?: boolean | null;
|
|
198
|
+
labelFontColor?: string | null;
|
|
199
|
+
labelFontFace?: string | null;
|
|
200
|
+
labelBox?: ChartLabelBox | null;
|
|
201
|
+
labelTextAlign?: string | null;
|
|
201
202
|
lineColor?: string | null;
|
|
202
203
|
lineWidthEmu?: number | null;
|
|
204
|
+
lineDash?: string | null;
|
|
205
|
+
lineHidden?: boolean | null;
|
|
203
206
|
}
|
|
204
207
|
interface ChartDataPointOverride {
|
|
205
208
|
idx: number;
|
|
206
209
|
color?: string;
|
|
210
|
+
fillHidden?: boolean;
|
|
211
|
+
lineColor?: string;
|
|
212
|
+
lineWidthEmu?: number;
|
|
213
|
+
lineDash?: string;
|
|
214
|
+
lineHidden?: boolean;
|
|
207
215
|
markerSymbol?: string;
|
|
208
216
|
markerSize?: number;
|
|
209
217
|
markerFill?: string;
|
|
210
218
|
markerLine?: string;
|
|
219
|
+
markerLineWidthEmu?: number;
|
|
211
220
|
explosion?: number;
|
|
212
221
|
}
|
|
213
222
|
interface ChartDataLabelOverride {
|
|
214
223
|
idx: number;
|
|
215
224
|
text: string;
|
|
225
|
+
richRuns?: ChartTextRun[];
|
|
216
226
|
position?: string;
|
|
217
227
|
fontColor?: string;
|
|
218
228
|
fontSizeHpt?: number;
|
|
229
|
+
fontFace?: string;
|
|
219
230
|
fontBold?: boolean;
|
|
231
|
+
formatCode?: string;
|
|
232
|
+
separator?: string;
|
|
233
|
+
manualLayout?: ChartManualLayout;
|
|
220
234
|
labelBox?: ChartLabelBox;
|
|
221
235
|
showVal?: boolean;
|
|
222
236
|
showCatName?: boolean;
|
|
@@ -240,6 +254,7 @@ interface ChartSeriesDataLabels {
|
|
|
240
254
|
separator?: string;
|
|
241
255
|
fontBold?: boolean;
|
|
242
256
|
fontSizeHpt?: number;
|
|
257
|
+
fontFace?: string;
|
|
243
258
|
labelBox?: ChartLabelBox;
|
|
244
259
|
showLeaderLines?: boolean;
|
|
245
260
|
leaderLineColor?: string;
|
|
@@ -260,9 +275,11 @@ interface ChartExElementStyle {
|
|
|
260
275
|
fillPaints?: Array<SolidFill | GradientFill | PatternFill | null> | null;
|
|
261
276
|
fillColors?: Array<string | null> | null;
|
|
262
277
|
fillHidden?: boolean | null;
|
|
278
|
+
fillNoStyle?: boolean | null;
|
|
263
279
|
lineColors?: Array<string | null> | null;
|
|
264
280
|
lineWidthEmu?: number | null;
|
|
265
281
|
lineHidden?: boolean | null;
|
|
282
|
+
lineNoStyle?: boolean | null;
|
|
266
283
|
lineDash?: string | null;
|
|
267
284
|
lineCap?: string | null;
|
|
268
285
|
lineJoin?: string | null;
|
|
@@ -307,6 +324,8 @@ interface ChartModel {
|
|
|
307
324
|
subtotalIndices: number[];
|
|
308
325
|
legendManualLayout?: LegendManualLayout | null;
|
|
309
326
|
valAxisFormatCode?: string | null;
|
|
327
|
+
valAxisDisplayUnits?: ChartDisplayUnits | null;
|
|
328
|
+
catAxisDisplayUnits?: ChartDisplayUnits | null;
|
|
310
329
|
barGapWidth?: number | null;
|
|
311
330
|
barOverlap?: number | null;
|
|
312
331
|
dataLabelPosition?: string | null;
|
|
@@ -314,13 +333,23 @@ interface ChartModel {
|
|
|
314
333
|
dataLabelFormatCode?: string | null;
|
|
315
334
|
titleFontBold?: boolean | null;
|
|
316
335
|
catAxisFontBold?: boolean | null;
|
|
336
|
+
catAxisFontItalic?: boolean | null;
|
|
317
337
|
valAxisFontBold?: boolean | null;
|
|
338
|
+
valAxisFontItalic?: boolean | null;
|
|
318
339
|
catAxisTitleFontSizeHpt?: number | null;
|
|
319
340
|
catAxisTitleFontBold?: boolean | null;
|
|
341
|
+
catAxisTitleFontItalic?: boolean | null;
|
|
320
342
|
catAxisTitleFontColor?: string | null;
|
|
343
|
+
catAxisTitleRotation?: number | null;
|
|
344
|
+
catAxisTitleVerticalMode?: 'horz' | 'vert' | 'vert270' | 'wordArtVert' | 'eaVert' | 'mongolianVert' | 'wordArtVertRtl' | null;
|
|
345
|
+
catAxisTitleManualLayout?: ChartManualLayout | null;
|
|
321
346
|
valAxisTitleFontSizeHpt?: number | null;
|
|
322
347
|
valAxisTitleFontBold?: boolean | null;
|
|
348
|
+
valAxisTitleFontItalic?: boolean | null;
|
|
323
349
|
valAxisTitleFontColor?: string | null;
|
|
350
|
+
valAxisTitleRotation?: number | null;
|
|
351
|
+
valAxisTitleVerticalMode?: 'horz' | 'vert' | 'vert270' | 'wordArtVert' | 'eaVert' | 'mongolianVert' | 'wordArtVertRtl' | null;
|
|
352
|
+
valAxisTitleManualLayout?: ChartManualLayout | null;
|
|
324
353
|
catAxisFontFace?: string | null;
|
|
325
354
|
valAxisFontFace?: string | null;
|
|
326
355
|
catAxisTitleFontFace?: string | null;
|
|
@@ -330,6 +359,9 @@ interface ChartModel {
|
|
|
330
359
|
legendFontColor?: string | null;
|
|
331
360
|
legendFontSizeHpt?: number | null;
|
|
332
361
|
legendFontBold?: boolean | null;
|
|
362
|
+
legendFillColor?: string | null;
|
|
363
|
+
legendLineColor?: string | null;
|
|
364
|
+
legendLineWidthEmu?: number | null;
|
|
333
365
|
themeMajorFontLatin?: string | null;
|
|
334
366
|
themeMinorFontLatin?: string | null;
|
|
335
367
|
chartBorderColor?: string | null;
|
|
@@ -362,12 +394,24 @@ interface ChartModel {
|
|
|
362
394
|
catAxisMajorGridlines?: boolean | null;
|
|
363
395
|
valAxisGridlineColor?: string | null;
|
|
364
396
|
valAxisGridlineWidthEmu?: number | null;
|
|
397
|
+
valAxisGridlineDash?: string | null;
|
|
365
398
|
catAxisGridlineColor?: string | null;
|
|
366
399
|
catAxisGridlineWidthEmu?: number | null;
|
|
400
|
+
catAxisGridlineDash?: string | null;
|
|
367
401
|
valAxisMinorGridlines?: boolean | null;
|
|
402
|
+
valAxisMinorGridlineColor?: string | null;
|
|
403
|
+
valAxisMinorGridlineWidthEmu?: number | null;
|
|
404
|
+
valAxisMinorGridlineDash?: string | null;
|
|
405
|
+
catAxisMinorGridlines?: boolean | null;
|
|
406
|
+
catAxisMinorGridlineColor?: string | null;
|
|
407
|
+
catAxisMinorGridlineWidthEmu?: number | null;
|
|
408
|
+
catAxisMinorGridlineDash?: string | null;
|
|
368
409
|
valAxisMajorUnit?: number | null;
|
|
369
410
|
valAxisMinorUnit?: number | null;
|
|
411
|
+
catAxisMajorUnit?: number | null;
|
|
412
|
+
catAxisMinorUnit?: number | null;
|
|
370
413
|
valAxisLogBase?: number | null;
|
|
414
|
+
catAxisLogBase?: number | null;
|
|
371
415
|
valAxisOrientation?: 'minMax' | 'maxMin' | string | null;
|
|
372
416
|
catAxisOrientation?: 'minMax' | 'maxMin' | string | null;
|
|
373
417
|
catAxisTickLabelPos?: string | null;
|
|
@@ -378,15 +422,93 @@ interface ChartModel {
|
|
|
378
422
|
stockHiLowLines?: boolean | null;
|
|
379
423
|
stockHiLowLineColor?: string | null;
|
|
380
424
|
stockUpDownBars?: boolean | null;
|
|
425
|
+
stockUpDownBarStyle?: ChartStockUpDownBarStyle | null;
|
|
426
|
+
ofPie?: ChartOfPie | null;
|
|
427
|
+
threeD?: ChartThreeD | null;
|
|
381
428
|
chartexBox?: ChartexBoxWhisker | null;
|
|
382
429
|
chartexSunburst?: ChartexSunburst | null;
|
|
383
430
|
chartexTreemap?: ChartexTreemap | null;
|
|
431
|
+
chartexRegionMap?: ChartexRegionMap | null;
|
|
432
|
+
chartexHistogramBinning?: ChartexHistogramBinning | null;
|
|
384
433
|
chartexAccents?: string[] | null;
|
|
385
434
|
chartexColorPalette?: Array<string | null> | null;
|
|
386
435
|
chartexColorStyleMethod?: string | null;
|
|
387
436
|
chartexDataPointStyle?: ChartExElementStyle | null;
|
|
388
437
|
chartexDataPointLineStyle?: ChartExElementStyle | null;
|
|
438
|
+
chartexSeriesLineStyle?: ChartExElementStyle | null;
|
|
389
439
|
chartexDataPointMarkerStyle?: ChartExElementStyle | null;
|
|
440
|
+
chartexMarkerSizePt?: number | null;
|
|
441
|
+
chartexMarkerSymbol?: string | null;
|
|
442
|
+
chartexConnectorLines?: boolean | null;
|
|
443
|
+
}
|
|
444
|
+
interface ChartStockBarPaint {
|
|
445
|
+
fillColor?: string | null;
|
|
446
|
+
fillHidden?: boolean | null;
|
|
447
|
+
lineColor?: string | null;
|
|
448
|
+
lineWidthEmu?: number | null;
|
|
449
|
+
lineHidden?: boolean | null;
|
|
450
|
+
}
|
|
451
|
+
interface ChartStockUpDownBarStyle {
|
|
452
|
+
gapWidthPercent: number;
|
|
453
|
+
up: ChartStockBarPaint;
|
|
454
|
+
down: ChartStockBarPaint;
|
|
455
|
+
}
|
|
456
|
+
interface ChartOfPie {
|
|
457
|
+
type: 'pie' | 'bar';
|
|
458
|
+
splitType: 'auto' | 'cust' | 'percent' | 'pos' | 'val';
|
|
459
|
+
splitPos?: number | null;
|
|
460
|
+
customSplitIndices?: number[] | null;
|
|
461
|
+
secondPieSizePercent: number;
|
|
462
|
+
gapWidthPercent: number;
|
|
463
|
+
seriesLines: boolean;
|
|
464
|
+
}
|
|
465
|
+
interface ChartThreeDSurface {
|
|
466
|
+
fillColor?: string | null;
|
|
467
|
+
fillHidden?: boolean | null;
|
|
468
|
+
lineColor?: string | null;
|
|
469
|
+
lineWidthEmu?: number | null;
|
|
470
|
+
lineDash?: string | null;
|
|
471
|
+
lineHidden?: boolean | null;
|
|
472
|
+
}
|
|
473
|
+
interface ChartThreeD {
|
|
474
|
+
rotationX?: number | null;
|
|
475
|
+
rotationY?: number | null;
|
|
476
|
+
heightPercent?: number | null;
|
|
477
|
+
depthPercent?: number | null;
|
|
478
|
+
perspective?: number | null;
|
|
479
|
+
rightAngleAxes?: boolean | null;
|
|
480
|
+
gapDepthPercent?: number | null;
|
|
481
|
+
shape?: string | null;
|
|
482
|
+
barGrouping?: 'standard' | 'clustered' | 'stacked' | 'percentStacked' | string | null;
|
|
483
|
+
seriesAxis?: ChartThreeDSeriesAxis | null;
|
|
484
|
+
floor?: ChartThreeDSurface | null;
|
|
485
|
+
sideWall?: ChartThreeDSurface | null;
|
|
486
|
+
backWall?: ChartThreeDSurface | null;
|
|
487
|
+
}
|
|
488
|
+
interface ChartThreeDSeriesAxis {
|
|
489
|
+
title?: string | null;
|
|
490
|
+
hidden: boolean;
|
|
491
|
+
orientation?: 'minMax' | 'maxMin' | string | null;
|
|
492
|
+
tickLabelPos?: string | null;
|
|
493
|
+
tickLabelSkip?: number | null;
|
|
494
|
+
tickMarkSkip?: number | null;
|
|
495
|
+
majorTickMark: string;
|
|
496
|
+
fontColor?: string | null;
|
|
497
|
+
fontSizeHpt?: number | null;
|
|
498
|
+
fontBold?: boolean | null;
|
|
499
|
+
fontItalic?: boolean | null;
|
|
500
|
+
fontFace?: string | null;
|
|
501
|
+
lineColor?: string | null;
|
|
502
|
+
lineWidthEmu?: number | null;
|
|
503
|
+
lineHidden: boolean;
|
|
504
|
+
titleFontSizeHpt?: number | null;
|
|
505
|
+
titleFontBold?: boolean | null;
|
|
506
|
+
titleFontItalic?: boolean | null;
|
|
507
|
+
titleFontColor?: string | null;
|
|
508
|
+
titleFontFace?: string | null;
|
|
509
|
+
titleRotation?: number | null;
|
|
510
|
+
titleVerticalMode?: ChartModel['catAxisTitleVerticalMode'];
|
|
511
|
+
titleManualLayout?: ChartManualLayout | null;
|
|
390
512
|
}
|
|
391
513
|
interface ChartTextRun {
|
|
392
514
|
text: string;
|
|
@@ -414,9 +536,11 @@ interface ChartTextBox {
|
|
|
414
536
|
}
|
|
415
537
|
interface ChartexBoxSeries {
|
|
416
538
|
name: string;
|
|
539
|
+
chartexFormatIdx?: number | null;
|
|
417
540
|
color?: string | null;
|
|
418
541
|
lineColor?: string | null;
|
|
419
542
|
lineWidthEmu?: number | null;
|
|
543
|
+
chartexStyle?: ChartExElementStyle | null;
|
|
420
544
|
valuesByCategory: number[][];
|
|
421
545
|
meanMarker: boolean;
|
|
422
546
|
meanLine: boolean;
|
|
@@ -425,6 +549,7 @@ interface ChartexBoxSeries {
|
|
|
425
549
|
quartileMethod: string;
|
|
426
550
|
}
|
|
427
551
|
interface ChartexBoxWhisker {
|
|
552
|
+
oneBoxPerSeries?: boolean;
|
|
428
553
|
categories: string[];
|
|
429
554
|
series: ChartexBoxSeries[];
|
|
430
555
|
}
|
|
@@ -439,22 +564,104 @@ interface ChartexTreemap {
|
|
|
439
564
|
rows: ChartexSunburstRow[];
|
|
440
565
|
parentLabelLayout?: string | null;
|
|
441
566
|
}
|
|
567
|
+
interface ChartexRegionMapRow {
|
|
568
|
+
label: string;
|
|
569
|
+
entityId?: string | null;
|
|
570
|
+
value?: number | null;
|
|
571
|
+
}
|
|
572
|
+
interface ChartexGeography {
|
|
573
|
+
projectionType?: 'mercator' | 'miller' | 'robinson' | 'albers' | string | null;
|
|
574
|
+
viewedRegionType?: string | null;
|
|
575
|
+
cultureLanguage?: string | null;
|
|
576
|
+
cultureRegion?: string | null;
|
|
577
|
+
attribution?: string | null;
|
|
578
|
+
cacheProvider?: string | null;
|
|
579
|
+
cachePresent: boolean;
|
|
580
|
+
}
|
|
581
|
+
interface ChartexValueColorStop {
|
|
582
|
+
kind: 'extremeValue' | 'number' | 'percent' | string;
|
|
583
|
+
value?: number | null;
|
|
584
|
+
}
|
|
585
|
+
interface ChartexRegionMapColors {
|
|
586
|
+
stopCount?: 2 | 3 | null;
|
|
587
|
+
minColor?: string | null;
|
|
588
|
+
midColor?: string | null;
|
|
589
|
+
maxColor?: string | null;
|
|
590
|
+
minPosition?: ChartexValueColorStop | null;
|
|
591
|
+
midPosition?: ChartexValueColorStop | null;
|
|
592
|
+
maxPosition?: ChartexValueColorStop | null;
|
|
593
|
+
}
|
|
594
|
+
interface ChartexRegionMap {
|
|
595
|
+
rows: ChartexRegionMapRow[];
|
|
596
|
+
regionLabelLayout?: 'none' | 'bestFitOnly' | 'showAll' | null;
|
|
597
|
+
geography?: ChartexGeography | null;
|
|
598
|
+
colors?: ChartexRegionMapColors | null;
|
|
599
|
+
}
|
|
600
|
+
interface ChartexHistogramBinning {
|
|
601
|
+
binSize?: number | null;
|
|
602
|
+
binCount?: number | null;
|
|
603
|
+
intervalClosed?: 'l' | 'r' | null;
|
|
604
|
+
underflow?: number | null;
|
|
605
|
+
overflow?: number | null;
|
|
606
|
+
}
|
|
442
607
|
interface SecondaryValueAxis {
|
|
443
608
|
min: number | null;
|
|
444
609
|
max: number | null;
|
|
445
610
|
title: string | null;
|
|
446
611
|
hidden: boolean;
|
|
447
612
|
formatCode?: string | null;
|
|
613
|
+
displayUnits?: ChartDisplayUnits | null;
|
|
448
614
|
fontColor?: string | null;
|
|
449
615
|
fontSizeHpt?: number | null;
|
|
616
|
+
fontItalic?: boolean | null;
|
|
617
|
+
fontBold?: boolean | null;
|
|
618
|
+
fontFace?: string | null;
|
|
450
619
|
lineColor?: string | null;
|
|
451
620
|
lineWidthEmu?: number | null;
|
|
452
621
|
lineHidden: boolean;
|
|
453
622
|
majorTickMark: string;
|
|
623
|
+
minorTickMark?: string | null;
|
|
624
|
+
minorGridlines?: boolean;
|
|
625
|
+
minorGridlineColor?: string | null;
|
|
626
|
+
minorGridlineWidthEmu?: number | null;
|
|
627
|
+
minorGridlineDash?: string | null;
|
|
628
|
+
majorGridlines?: boolean;
|
|
629
|
+
majorGridlineColor?: string | null;
|
|
630
|
+
majorGridlineWidthEmu?: number | null;
|
|
631
|
+
majorGridlineDash?: string | null;
|
|
454
632
|
majorUnit?: number | null;
|
|
633
|
+
minorUnit?: number | null;
|
|
634
|
+
logBase?: number | null;
|
|
635
|
+
orientation?: 'minMax' | 'maxMin' | string | null;
|
|
636
|
+
tickLabelPos?: string | null;
|
|
637
|
+
tickLabelSkip?: number | null;
|
|
638
|
+
tickMarkSkip?: number | null;
|
|
639
|
+
crosses?: string | null;
|
|
640
|
+
crossesAt?: number | null;
|
|
455
641
|
titleFontSizeHpt?: number | null;
|
|
456
642
|
titleFontBold?: boolean | null;
|
|
643
|
+
titleFontItalic?: boolean | null;
|
|
457
644
|
titleFontColor?: string | null;
|
|
645
|
+
titleFontFace?: string | null;
|
|
646
|
+
titleRotation?: number | null;
|
|
647
|
+
titleVerticalMode?: 'horz' | 'vert' | 'vert270' | 'wordArtVert' | 'eaVert' | 'mongolianVert' | 'wordArtVertRtl' | null;
|
|
648
|
+
titleManualLayout?: ChartManualLayout | null;
|
|
649
|
+
}
|
|
650
|
+
interface ChartDisplayUnits {
|
|
651
|
+
divisor: number;
|
|
652
|
+
builtInUnit?: string | null;
|
|
653
|
+
label?: ChartDisplayUnitsLabel | null;
|
|
654
|
+
}
|
|
655
|
+
interface ChartDisplayUnitsLabel {
|
|
656
|
+
text?: string | null;
|
|
657
|
+
manualLayout?: ChartManualLayout | null;
|
|
658
|
+
fontSizeHpt?: number | null;
|
|
659
|
+
fontBold?: boolean | null;
|
|
660
|
+
fontItalic?: boolean | null;
|
|
661
|
+
fontColor?: string | null;
|
|
662
|
+
fontFace?: string | null;
|
|
663
|
+
rotation?: number | null;
|
|
664
|
+
boxStyle?: ChartLabelBox | null;
|
|
458
665
|
}
|
|
459
666
|
interface ChartManualLayout {
|
|
460
667
|
xMode?: string;
|
|
@@ -483,6 +690,30 @@ interface ChartRect {
|
|
|
483
690
|
w: number;
|
|
484
691
|
h: number;
|
|
485
692
|
}
|
|
693
|
+
//#endregion
|
|
694
|
+
//#region dist/.types-work/mathjax-rjjokY7u.d.ts
|
|
695
|
+
interface MathSvg {
|
|
696
|
+
svg: string;
|
|
697
|
+
widthEm: number;
|
|
698
|
+
ascentEm: number;
|
|
699
|
+
descentEm: number;
|
|
700
|
+
}
|
|
701
|
+
interface MathRenderer {
|
|
702
|
+
loadMathJax(): Promise<void>;
|
|
703
|
+
mathMLToSvg(mathml: string): Promise<MathSvg>;
|
|
704
|
+
}
|
|
705
|
+
//#endregion
|
|
706
|
+
//#region dist/.types-work/three-d-contract-EE62eNRv.d.ts
|
|
707
|
+
interface ChartThreeDRenderer {
|
|
708
|
+
render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number): boolean;
|
|
709
|
+
}
|
|
710
|
+
//#endregion
|
|
711
|
+
//#region dist/.types-work/region-map-contract-D3eTzib8.d.ts
|
|
712
|
+
interface ChartRegionMapRenderer {
|
|
713
|
+
render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number): boolean;
|
|
714
|
+
}
|
|
715
|
+
//#endregion
|
|
716
|
+
//#region dist/.types-work/hyperlink-qwS_UhA7.d.ts
|
|
486
717
|
type OoxmlErrorCode = 'encrypted' | 'invalid-password' | 'unsupported-encryption' | 'legacy-binary-format' | 'not-ooxml';
|
|
487
718
|
type OoxmlErrorStage = 'container' | 'decompression' | 'parsing' | 'serialization' | 'layout' | 'rendering' | 'worker';
|
|
488
719
|
declare class OoxmlError extends Error {
|
|
@@ -565,6 +796,8 @@ interface LoadOptions$1 {
|
|
|
565
796
|
onResourceMetrics?: (metrics: OoxmlResourceMetrics) => void;
|
|
566
797
|
workerTimeoutMs?: number;
|
|
567
798
|
math?: MathRenderer;
|
|
799
|
+
threeD?: ChartThreeDRenderer;
|
|
800
|
+
regionMap?: ChartRegionMapRenderer;
|
|
568
801
|
}
|
|
569
802
|
type OoxmlDecodedImageLimitMetric = 'image-pixels' | 'active-decoded-bytes';
|
|
570
803
|
declare class OoxmlDecodedImageLimitError extends RangeError {
|
|
@@ -585,7 +818,7 @@ type HyperlinkTarget = {
|
|
|
585
818
|
};
|
|
586
819
|
declare function openExternalHyperlink(url: string, allowed?: readonly string[], win?: Pick<Window, 'open'> | undefined): boolean;
|
|
587
820
|
//#endregion
|
|
588
|
-
//#region dist/.types-work/find-highlight-
|
|
821
|
+
//#region dist/.types-work/find-highlight-lh8Qagl7.d.ts
|
|
589
822
|
interface TextSelectionContextOptions {
|
|
590
823
|
readonly maxTextCharacters?: number;
|
|
591
824
|
readonly maxRunLocators?: number;
|
|
@@ -624,7 +857,7 @@ interface FindHighlightColors {
|
|
|
624
857
|
active?: string;
|
|
625
858
|
}
|
|
626
859
|
//#endregion
|
|
627
|
-
//#region dist/.types-work/docx-
|
|
860
|
+
//#region dist/.types-work/docx-C1SmQK-v.d.ts
|
|
628
861
|
interface DocxDocumentModel {
|
|
629
862
|
section: SectionProps;
|
|
630
863
|
body: BodyElement[];
|
|
@@ -1415,6 +1648,8 @@ declare class DocxDocument {
|
|
|
1415
1648
|
private _meta;
|
|
1416
1649
|
private _bookmarkPages;
|
|
1417
1650
|
private _mode;
|
|
1651
|
+
private _threeD;
|
|
1652
|
+
private _regionMap;
|
|
1418
1653
|
private _worker;
|
|
1419
1654
|
private _bridge;
|
|
1420
1655
|
private readonly _rawParts;
|
|
@@ -1681,4 +1916,4 @@ interface DocxHighlightMatch {
|
|
|
1681
1916
|
type DocxHighlightColors = FindHighlightColors;
|
|
1682
1917
|
declare function buildDocxHighlightLayer(layer: HTMLDivElement, runs: DocxTextRunInfo[], matches: DocxHighlightMatch[], cssWidth: number, cssHeight: number, measureForFont: (font: string) => (s: string) => number, colors?: DocxHighlightColors): void;
|
|
1683
1918
|
//#endregion
|
|
1684
|
-
export { type AnchorHostMetrics, type AutoResizeOptions, type BodyElement, type BorderSpec, type CellBorders, type CellElement, type ChartDataLabelOverride, type ChartDataPointOverride, type ChartErrBars, type ChartExElementStyle, type ChartLabelBox, type ChartManualLayout, type ChartModel, type ChartRect, type ChartRun, type ChartSeries, type ChartSeriesDataLabels, type ChartTextBox, type ChartTextParagraph, type ChartTextRun, type ChartTrendline, type ChartType, type ChartexBoxSeries, type ChartexBoxWhisker, type ChartexSunburst, type ChartexSunburstRow, type ChartexTreemap, 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 };
|
|
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 };
|