@silurus/ooxml 0.80.3 → 0.82.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 (67) hide show
  1. package/README.md +61 -85
  2. package/dist/assets/render-worker-7-Zr7fSw.js +10 -0
  3. package/dist/assets/render-worker-B5gsW6b5.js +11 -0
  4. package/dist/assets/render-worker-Dw_wQRIh.js +24 -0
  5. package/dist/{canvas-viewer-mechanics-D-r6wHY_.js → canvas-viewer-mechanics-CS_qbr6T.js} +1 -1
  6. package/dist/chart-ex.mjs +1017 -0
  7. package/dist/comment-occurrence-C34fWs_F.js +6 -0
  8. package/dist/comment-ui-runtime-BAe30Ct9.js +112 -0
  9. package/dist/comment-ui-runtime-BUCj4hWn.js +171 -0
  10. package/dist/comment-ui-runtime-F4a3te6p.js +2 -0
  11. package/dist/comments-Cf9W7r3M.js +241 -0
  12. package/dist/{document-pull-client-vxk-Aomu.js → document-pull-client-BCgmytqI.js} +4682 -4541
  13. package/dist/docx-wokGKYfi.js +2162 -0
  14. package/dist/docx.mjs +6 -4
  15. package/dist/docx_parser_bg.wasm +0 -0
  16. package/dist/dom-interaction-boundary-C8F6HO5x.js +119 -0
  17. package/dist/highlight-rect-MaCt0om0.js +13 -0
  18. package/dist/index.mjs +3 -3
  19. package/dist/{line-distribute-Bvtp0Gt6.js → line-distribute-iXsUCIH-.js} +17 -16
  20. package/dist/{line-metrics-DdEJYxjx.js → line-metrics-B3syvDn2.js} +667 -7492
  21. package/dist/math.mjs +2 -2
  22. package/dist/node.mjs +248 -247
  23. package/dist/plot-area-frame-DHV02PJU.js +3670 -0
  24. package/dist/pptx-DU8L8I2T.js +2432 -0
  25. package/dist/pptx.mjs +6 -5
  26. package/dist/pptx_parser_bg.wasm +0 -0
  27. package/dist/read-only-comment-decoration-DcFevX_Q.js +96 -0
  28. package/dist/read-only-comment-margin-Dn2y55W6.js +189 -0
  29. package/dist/region-map.mjs +102 -97
  30. package/dist/{render-CoqMHcbF.js → render-CenWM4g1.js} +1 -1
  31. package/dist/{render-worker-host-IuQFpoJM.js → render-worker-host-BNENN3qP.js} +1 -1
  32. package/dist/{render-worker-host-CYPhmBtX.js → render-worker-host-BmH3kGSj.js} +1 -1
  33. package/dist/{render-worker-host-GlLR1rtF.js → render-worker-host-CmPBviYJ.js} +1 -1
  34. package/dist/renderer-CYr9YTXM.js +5856 -0
  35. package/dist/{renderer-module-contract-BNGz8HvO.js → renderer-module-contract-DLbb7zY0.js} +4 -3
  36. package/dist/{resource-measurement-CgMubiAI.js → resource-measurement-CsW4_eYt.js} +12 -11
  37. package/dist/{session-DkPblDiq.js → session-Cky_swUj.js} +8 -8
  38. package/dist/{slide-pull-client-m2blvngt.js → slide-pull-client-CqTVFb3W.js} +1004 -1091
  39. package/dist/source-key-BklvnEyQ.js +42 -0
  40. package/dist/three-d-7MaVzQuZ.js +1346 -0
  41. package/dist/three-d.mjs +1238 -797
  42. package/dist/types/chart-ex.d.ts +949 -0
  43. package/dist/types/docx.d.ts +497 -28
  44. package/dist/types/index.d.ts +649 -39
  45. package/dist/types/math.d.ts +1 -1
  46. package/dist/types/node.d.ts +385 -22
  47. package/dist/types/pptx.d.ts +435 -24
  48. package/dist/types/region-map.d.ts +318 -6
  49. package/dist/types/three-d.d.ts +318 -6
  50. package/dist/types/xlsx.d.ts +384 -19
  51. package/dist/units-BzZ0gAxs.js +4 -0
  52. package/dist/{worksheet-pull-client-BntP6RiO.js → worksheet-pull-client-CYtwXP5D.js} +19 -19
  53. package/dist/{xlsx-DqMe7J2C.js → xlsx-DlV37-0j.js} +1594 -1349
  54. package/dist/xlsx.mjs +6 -5
  55. package/dist/xlsx_parser_bg.wasm +0 -0
  56. package/package.json +7 -1
  57. package/dist/assets/render-worker-CRaEOHkw.js +0 -9
  58. package/dist/assets/render-worker-DQGLj5Zv.js +0 -22
  59. package/dist/assets/render-worker-rnrSLmqL.js +0 -8
  60. package/dist/chart-number-format-qLhnk6hj.js +0 -475
  61. package/dist/docx-DN0PRx2f.js +0 -1733
  62. package/dist/highlight-rect-BuX5rWP4.js +0 -48
  63. package/dist/pptx-B-Laftl1.js +0 -2134
  64. package/dist/three-d-C28kqDym.js +0 -1086
  65. /package/dist/{mathjax-DgAl7Yi5.js → mathjax-DwIrafQ6.js} +0 -0
  66. /package/dist/{transfer-CKZ79zFw.js → transfer-R6NjgBKD.js} +0 -0
  67. /package/dist/{visible-index-BjesVGhg.js → visible-index-BFE3PWiY.js} +0 -0
@@ -1,4 +1,4 @@
1
- //#region dist/.types-work/chart-Cv7Lx8lu.d.ts
1
+ //#region dist/.types-work/chart-qJPl2r8m.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: number;
148
- ty: number;
149
- sx: number;
150
- sy: number;
151
- flip: string;
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
- fillPaints?: Array<SolidFill | GradientFill | PatternFill | null> | null;
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: number;
761
- h: number;
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/mathjax-D9Itb210.d.ts
1057
+ //#region dist/.types-work/chart-ex-contract-Ba0xG5gE.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-DwKoKmdb.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-BhPkqlow.d.ts
1074
+ //#region dist/.types-work/three-d-contract-D5bEzjMw.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-B6z5ZsH4.d.ts
1079
+ //#region dist/.types-work/region-map-contract-BFIR10oz.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-EKY3amDQ.d.ts
1084
+ //#region dist/.types-work/hyperlink-CZoV-4B8.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,11 +1187,25 @@ 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-C-71IJpI.d.ts
1190
+ //#region dist/.types-work/find-highlight-DdGGQ_H7.d.ts
898
1191
  interface ViewerContextMenuEvent<TContext> {
899
1192
  readonly originalEvent: MouseEvent;
900
1193
  getContext(): Promise<TContext | null>;
901
1194
  }
1195
+ interface ViewerCommentsOptions {
1196
+ readonly includeResolved?: boolean;
1197
+ }
1198
+ interface ViewerCommentMessageContext {
1199
+ readonly id?: string;
1200
+ readonly author?: string;
1201
+ readonly date?: string;
1202
+ readonly text: string;
1203
+ readonly status?: 'active' | 'resolved' | 'closed';
1204
+ }
1205
+ interface ViewerCommentThreadContext {
1206
+ readonly root: ViewerCommentMessageContext;
1207
+ readonly replies: readonly ViewerCommentMessageContext[];
1208
+ }
902
1209
  interface AutoResizeOptions {
903
1210
  pauseWhenHidden?: boolean;
904
1211
  }
@@ -924,7 +1231,7 @@ interface FindHighlightColors {
924
1231
  active?: string;
925
1232
  }
926
1233
  //#endregion
927
- //#region dist/.types-work/xlsx-1K3kb5Gf.d.ts
1234
+ //#region dist/.types-work/xlsx-Dx2KTVG5.d.ts
928
1235
  type ShapeFill = Exclude<Fill, {
929
1236
  fillType: 'image';
930
1237
  } | {
@@ -959,6 +1266,11 @@ interface Worksheet {
959
1266
  max: number;
960
1267
  width: number;
961
1268
  }>;
1269
+ colStyleRanges?: Array<{
1270
+ min: number;
1271
+ max: number;
1272
+ styleIndex: number;
1273
+ }>;
962
1274
  rowHeights: Record<number, number>;
963
1275
  colOutlineLevels?: Record<number, number>;
964
1276
  colCollapsed?: Record<number, boolean>;
@@ -1181,9 +1493,25 @@ interface DefinedName {
1181
1493
  formula: string;
1182
1494
  }
1183
1495
  interface XlsxComment {
1496
+ kind?: 'note' | 'thread';
1184
1497
  cellRef: string;
1498
+ id?: string;
1499
+ personId?: string;
1500
+ author?: string;
1501
+ date?: string;
1502
+ rootText?: string;
1503
+ text: string;
1504
+ resolved?: boolean;
1505
+ replies?: XlsxCommentReply[];
1506
+ }
1507
+ interface XlsxCommentReply {
1508
+ id: string;
1509
+ parentId: string;
1510
+ personId: string;
1185
1511
  author?: string;
1512
+ date?: string;
1186
1513
  text: string;
1514
+ resolved?: boolean;
1187
1515
  }
1188
1516
  interface DataValidation {
1189
1517
  sqref: string;
@@ -1683,6 +2011,7 @@ declare class XlsxWorkbook {
1683
2011
  private math;
1684
2012
  private threeD;
1685
2013
  private regionMap;
2014
+ private chartEx;
1686
2015
  private googleFontNames;
1687
2016
  private readonly retainedFontSets;
1688
2017
  private fontsDestroyed;
@@ -1704,6 +2033,7 @@ declare class XlsxWorkbook {
1704
2033
  sheetVisibility(sheetIndex: number): SheetVisibility;
1705
2034
  isHidden(sheetIndex: number): boolean;
1706
2035
  getWorksheet(sheetIndex: number): Promise<Worksheet>;
2036
+ getComments(sheetIndex: number): Promise<readonly Readonly<XlsxComment>[]>;
1707
2037
  getResourceMetrics(): Promise<OoxmlResourceMetrics>;
1708
2038
  private loadWorksheet;
1709
2039
  private loadWorksheetStream;
@@ -1760,6 +2090,7 @@ interface XlsxSelectionContextCell {
1760
2090
  readonly valueType: 'empty' | 'text' | 'number' | 'bool' | 'error' | 'shared';
1761
2091
  readonly value: string | number | boolean | null;
1762
2092
  readonly formula?: string;
2093
+ readonly comment?: ViewerCommentThreadContext;
1763
2094
  }
1764
2095
  interface XlsxRangeSelectionContext {
1765
2096
  readonly format: 'xlsx';
@@ -1813,6 +2144,7 @@ interface XlsxMatchLocation {
1813
2144
  row: number;
1814
2145
  col: number;
1815
2146
  }
2147
+ interface XlsxCommentsOptions extends ViewerCommentsOptions {}
1816
2148
  type HiddenSheetMode = 'show' | 'skip' | 'dim';
1817
2149
  interface XlsxSheetViewerOptions extends LoadOptions {
1818
2150
  cellScale?: number;
@@ -1832,6 +2164,7 @@ interface XlsxSheetViewerOptions extends LoadOptions {
1832
2164
  enableHyperlinks?: boolean;
1833
2165
  selectionColor?: string;
1834
2166
  findHighlightColors?: FindHighlightColors;
2167
+ comments?: boolean | XlsxCommentsOptions;
1835
2168
  hiddenSheetMode?: HiddenSheetMode;
1836
2169
  onViewportChange?: (offset: XlsxViewportOffset) => void;
1837
2170
  }
@@ -1842,6 +2175,12 @@ interface XlsxViewportOffset {
1842
2175
  readonly x: number;
1843
2176
  readonly y: number;
1844
2177
  }
2178
+ interface XlsxCellViewportRect {
2179
+ readonly x: number;
2180
+ readonly y: number;
2181
+ readonly width: number;
2182
+ readonly height: number;
2183
+ }
1845
2184
  interface XlsxScrollToCellOptions {
1846
2185
  readonly align?: 'nearest' | 'start' | 'center' | 'end';
1847
2186
  }
@@ -1869,6 +2208,7 @@ type XlsxViewerMount = {
1869
2208
  readonly mode: CanvasViewerRenderMode;
1870
2209
  };
1871
2210
  declare class XlsxViewerEngine implements ZoomableViewer {
2211
+ private readonly container;
1872
2212
  private readonly hostDocument;
1873
2213
  private readonly hostWindow;
1874
2214
  private readonly acquisition;
@@ -1909,6 +2249,9 @@ declare class XlsxViewerEngine implements ZoomableViewer {
1909
2249
  private fontBinding;
1910
2250
  private _hiddenSheetMode;
1911
2251
  private currentWorksheet;
2252
+ private currentSourceComments;
2253
+ private commentNavigationGeneration;
2254
+ private sourceCommentMap;
1912
2255
  private sheetViews;
1913
2256
  private opts;
1914
2257
  private readonly _mountKind;
@@ -1918,6 +2261,10 @@ declare class XlsxViewerEngine implements ZoomableViewer {
1918
2261
  private preparedWorkbook;
1919
2262
  private _destroyed;
1920
2263
  private resizeObserver;
2264
+ private chromeColors;
2265
+ private chromeStyleObserver;
2266
+ private chromeSchemeMedia;
2267
+ private chromeSchemeListener;
1921
2268
  private _lastViewportNotification;
1922
2269
  private get anchorCell();
1923
2270
  private get activeCell();
@@ -1953,12 +2300,19 @@ declare class XlsxViewerEngine implements ZoomableViewer {
1953
2300
  private hyperlinkMap;
1954
2301
  private commentPopupKey;
1955
2302
  private commentPopupTimer;
2303
+ private commentPopupCell;
2304
+ private commentPopupPositionScheduled;
2305
+ private commentPopupResizeObserver;
2306
+ private commentUi;
2307
+ private commentPopupRenderGeneration;
1956
2308
  private validationPanel;
1957
2309
  private validationPanelKey;
1958
2310
  private validationRequestGeneration;
1959
2311
  private validationArrowRect;
1960
2312
  private validationOutsideHandler;
1961
2313
  constructor(container: HTMLElement, opts: XlsxViewerOptions | XlsxSheetViewerOptions | undefined, mount: XlsxViewerMount);
2314
+ private refreshChromeTheme;
2315
+ private installChromeThemeRefresh;
1962
2316
  private _collectSheetCells;
1963
2317
  load(source: string | ArrayBuffer): Promise<void>;
1964
2318
  private activateWorkbook;
@@ -2015,7 +2369,10 @@ declare class XlsxViewerEngine implements ZoomableViewer {
2015
2369
  getCellAt(clientX: number, clientY: number): CellAddress | null;
2016
2370
  private elementContextViewport;
2017
2371
  private elementContextAt;
2018
- private getCellRect;
2372
+ private _cellRect;
2373
+ getCellViewportRect(cell: CellAddress | string): XlsxCellViewportRect | null;
2374
+ getComments(): readonly Readonly<XlsxComment>[];
2375
+ goToComment(sheetIndex: number, cellRef: string, options?: XlsxScrollToCellOptions): Promise<boolean>;
2019
2376
  get selectionState(): XlsxSelectionState | null;
2020
2377
  setSelection(input: XlsxSelectionInput): void;
2021
2378
  getSelectionContext(options?: XlsxSelectionContextOptions): XlsxSelectionContext | null;
@@ -2052,12 +2409,17 @@ declare class XlsxViewerEngine implements ZoomableViewer {
2052
2409
  private installValidationOutsideHandler;
2053
2410
  private hideValidationPanel;
2054
2411
  private buildCommentMap;
2412
+ private createCommentMap;
2413
+ private createVisibleSheetView;
2055
2414
  private buildHyperlinkMap;
2056
2415
  private hyperlinkAtCell;
2057
2416
  private dispatchHyperlink;
2058
2417
  private navigateInternalHyperlink;
2059
2418
  private scheduleCommentPopup;
2419
+ private loadCommentUi;
2060
2420
  private renderCommentPopup;
2421
+ private scheduleCommentPopupPosition;
2422
+ private positionCommentPopup;
2061
2423
  private hideCommentPopup;
2062
2424
  private applyPointerSelection;
2063
2425
  private viewportInputBounds;
@@ -2132,6 +2494,9 @@ declare class XlsxSheetViewer implements ZoomableViewer {
2132
2494
  fitWidth(): void;
2133
2495
  fitPage(): void;
2134
2496
  getCellAt(clientX: number, clientY: number): CellAddress | null;
2497
+ getCellViewportRect(cell: CellAddress | string): XlsxCellViewportRect | null;
2498
+ getComments(): readonly Readonly<XlsxComment>[];
2499
+ goToComment(sheetIndex: number, cellRef: string, options?: XlsxScrollToCellOptions): Promise<boolean>;
2135
2500
  get selectionState(): XlsxSelectionState | null;
2136
2501
  setSelection(selection: XlsxSelectionInput): void;
2137
2502
  getSelectionContext(options?: XlsxSelectionContextOptions): XlsxSelectionContext | null;
@@ -2152,4 +2517,4 @@ declare class XlsxSheetViewer implements ZoomableViewer {
2152
2517
  }
2153
2518
  declare function resolveSharedStrings(ws: Worksheet, sharedStrings: SharedString[]): Worksheet;
2154
2519
  //#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 };
2520
+ 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 ViewerCommentMessageContext, type ViewerCommentThreadContext, type ViewerContextMenuEvent, type ViewportRange, type Workbook, type Worksheet, type WorksheetCellRange, type XlsxCellViewportRect, type XlsxComment, type XlsxCommentReply, type XlsxCommentsOptions, 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 };