@silurus/ooxml 0.88.0 → 0.89.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.
Files changed (127) hide show
  1. package/README.md +118 -23
  2. package/THIRD_PARTY_NOTICES.md +8 -7
  3. package/dist/abort-VrnK7mdP.js +10 -0
  4. package/dist/assets/render-worker-C5G_Nr_A.js +35 -0
  5. package/dist/assets/render-worker-DQfWdNsm.js +16 -0
  6. package/dist/assets/render-worker-Ds7LjwU-.js +15 -0
  7. package/dist/{hyperlink-Cxzhet30.js → bounded-raw-part-cache-CsnNptAy.js} +4937 -7458
  8. package/dist/bundled-asset-url-E2nXURF9.js +15 -0
  9. package/dist/canvas-viewer-mechanics-BZ8QCrRi.js +675 -0
  10. package/dist/cfb-guard-dNeUiANF.js +528 -0
  11. package/dist/chart-ex.mjs +667 -663
  12. package/dist/comment-overlay-controller-CBvQx-En.js +994 -0
  13. package/dist/comment-ui-runtime-B7ZvovcS.js +2 -0
  14. package/dist/{comment-ui-runtime-DcJOYlw-.js → comment-ui-runtime-BKidRH36.js} +5 -5
  15. package/dist/{comment-ui-runtime-CWGqn5Vr.js → comment-ui-runtime-C47QoDUy.js} +5 -5
  16. package/dist/delimited-text-worker-host-CikWU6_m.js +27 -0
  17. package/dist/document-model-source-MzFPrxt0.js +249 -0
  18. package/dist/document-pull-client-BoJeuURD.js +35941 -0
  19. package/dist/document-pull-worker-CaP8XESP.js +104 -0
  20. package/dist/docx-BN70UhvX.js +495 -0
  21. package/dist/docx-BRRtSvk3.js +3563 -0
  22. package/dist/docx-model-source-CTO9iw_W.js +98 -0
  23. package/dist/docx-source-worker.mjs +455 -0
  24. package/dist/docx.mjs +7 -7
  25. package/dist/docx_parser_bg.wasm +0 -0
  26. package/dist/drawingml-shape-CHmq8kpM.js +310 -0
  27. package/dist/duotone-DN8P4aXe.js +126 -0
  28. package/dist/emf-CGFQIz6c.js +1790 -0
  29. package/dist/font-preload-demand-Dmy31xt-.js +2058 -0
  30. package/dist/grid-geometry-C3IG20ut.js +384 -0
  31. package/dist/host-layout-DVMw8hDY.js +56 -0
  32. package/dist/host-layout-measure-DsuQ2UJs.js +7 -0
  33. package/dist/in-process-pull-transport-DuXcPZng.js +29 -0
  34. package/dist/index.mjs +4 -4
  35. package/dist/internal-companion.mjs +12 -0
  36. package/dist/line-distribute-Bu8psjGd.js +2799 -0
  37. package/dist/math.mjs +2 -2
  38. package/dist/mathjax-stix2.js +10 -10
  39. package/dist/model-source-kz_NkZqT.js +179 -0
  40. package/dist/model-source-s5hRpk4w.js +61 -0
  41. package/dist/model-source-session-6fuaqbGs.js +71 -0
  42. package/dist/model-source-session-DqrR4XHR.js +85 -0
  43. package/dist/model-source-session-cPJSF_Ak.js +58 -0
  44. package/dist/node.mjs +7 -1327
  45. package/dist/{pixel-budget-9P63Bsk5.js → pixel-budget-BpTYrepD.js} +13 -10
  46. package/dist/plot-area-frame-Bs_j4uu7.js +41811 -0
  47. package/dist/pptx-CaJ6ILnw.js +183 -0
  48. package/dist/pptx-_BOGcBym.js +2936 -0
  49. package/dist/pptx-model-source-B_9afw9R.js +37 -0
  50. package/dist/pptx-source-worker.mjs +446 -0
  51. package/dist/pptx.mjs +8 -7
  52. package/dist/pptx_parser_bg.wasm +0 -0
  53. package/dist/presentation-model-source-CGHLyX32.js +77 -0
  54. package/dist/raster-target-YQ4G6rxo.js +42 -0
  55. package/dist/region-map.mjs +117 -153
  56. package/dist/{render-D3iqVKCo.js → render-CzbDzRKa.js} +3 -3
  57. package/dist/{render-worker-host-B5wQfB7U.js → render-worker-host-B1u6BOUd.js} +1 -1
  58. package/dist/{render-worker-host-D4123J27.js → render-worker-host-C-EECo68.js} +1 -1
  59. package/dist/{render-worker-host-Di3LxLc0.js → render-worker-host-DDqZTCVf.js} +1 -1
  60. package/dist/renderer-CD2cvVAF.js +5823 -0
  61. package/dist/renderer-DRoeb14O.js +5170 -0
  62. package/dist/resource-measurement-Dhhm7P_l.js +772 -0
  63. package/dist/session-XPmC0CUd.js +656 -0
  64. package/dist/slide-pull-client-tq7U_fYg.js +6485 -0
  65. package/dist/three-d-BKwNPAP4.js +878 -0
  66. package/dist/three-d.mjs +925 -910
  67. package/dist/{raster-target-ojDdQizC.js → tiff-contract-C6M3QcPp.js} +1 -42
  68. package/dist/tiff.mjs +401 -248
  69. package/dist/types/chart-ex.d.ts +149 -2
  70. package/dist/types/docx.d.ts +333 -96
  71. package/dist/types/index.d.ts +566 -301
  72. package/dist/types/internal-companion.d.ts +11 -0
  73. package/dist/types/math.d.ts +1 -1
  74. package/dist/types/node.d.ts +422 -9
  75. package/dist/types/pptx.d.ts +302 -95
  76. package/dist/types/region-map.d.ts +149 -2
  77. package/dist/types/three-d.d.ts +149 -2
  78. package/dist/types/tiff.d.ts +1 -1
  79. package/dist/types/xlsx.d.ts +343 -132
  80. package/dist/wasm-loader-rlgHmcSv.js +35 -0
  81. package/dist/wasm-runtime-generation-D6TKZdNb.js +97 -0
  82. package/dist/workbook-model-source-BIGrfZy6.js +94 -0
  83. package/dist/worker-source-DrwhR9fw.js +22 -0
  84. package/dist/worker-source-SbudzjYL.js +22 -0
  85. package/dist/worker-source-UAi3GNcM.js +22 -0
  86. package/dist/worksheet-pull-client-ClvPO_Jf.js +579 -0
  87. package/dist/xlsx-CsmREBaZ.js +5819 -0
  88. package/dist/xlsx-DmHfeNNp.js +534 -0
  89. package/dist/xlsx-model-source-D1flORqy.js +309 -0
  90. package/dist/xlsx-source-worker.mjs +525 -0
  91. package/dist/xlsx.mjs +8 -7
  92. package/dist/xlsx_parser_bg.wasm +0 -0
  93. package/package.json +42 -16
  94. package/dist/assets/render-worker-1uPAxMZr.js +0 -31
  95. package/dist/assets/render-worker-BlvJybji.js +0 -10
  96. package/dist/assets/render-worker-CzmiJfFL.js +0 -11
  97. package/dist/bounded-raw-part-cache-Cg1BsSZQ.js +0 -119
  98. package/dist/canvas-viewer-mechanics-DbLz0rYW.js +0 -1384
  99. package/dist/cjk-fallback-bLI3z70h.js +0 -46
  100. package/dist/comment-occurrence-C8Y2uoVr.js +0 -6
  101. package/dist/comment-ui-runtime-BsK8pmUT.js +0 -2
  102. package/dist/comments-Diid5ujN.js +0 -246
  103. package/dist/delimited-text-worker-host-BVY-Ecni.js +0 -27
  104. package/dist/document-pull-client-B9PTM-pL.js +0 -27280
  105. package/dist/docx-BF9WXrYH.js +0 -3103
  106. package/dist/dom-interaction-boundary-Cnm8DSBN.js +0 -223
  107. package/dist/highlight-rect-C5hkRqUr.js +0 -13
  108. package/dist/line-distribute-D1WNHKz_.js +0 -1023
  109. package/dist/line-metrics-B60C86uh.js +0 -60
  110. package/dist/plot-area-frame-DLTYKHNP.js +0 -4354
  111. package/dist/pptx-DkyYBYoL.js +0 -3065
  112. package/dist/renderer-B4GZb5We.js +0 -6492
  113. package/dist/resource-measurement-SHQCbkh2.js +0 -150
  114. package/dist/session-BGq81gRQ.js +0 -743
  115. package/dist/slide-pull-client-DiPnm240.js +0 -6253
  116. package/dist/source-key-DIJG8BA0.js +0 -42
  117. package/dist/three-d-DJBl8g8M.js +0 -1162
  118. package/dist/transfer-p6iCC2R7.js +0 -6
  119. package/dist/units-BzZ0gAxs.js +0 -4
  120. package/dist/worksheet-pull-client-BM8ywvbu.js +0 -458
  121. package/dist/xlsx-C9NVjgaV.js +0 -8484
  122. /package/dist/{chunk-DmhlhrBa.js → chunk-Dy4uBu1J.js} +0 -0
  123. /package/dist/{mathjax-DoyWZbSp.js → mathjax-BhwN6ilc.js} +0 -0
  124. /package/dist/{read-only-comment-decoration-Dz7eTQ4d.js → read-only-comment-decoration-PidH0wnP.js} +0 -0
  125. /package/dist/{read-only-comment-margin-DkgzASAl.js → read-only-comment-margin-B52rDVKo.js} +0 -0
  126. /package/dist/{renderer-module-contract-D91rkYHH.js → renderer-module-contract-CWM7jv6d.js} +0 -0
  127. /package/dist/{visible-index-BgiHEc1z.js → visible-index-FeVA0mGE.js} +0 -0
@@ -1,4 +1,4 @@
1
- //#region dist/.types-work/chart-BtUu4_7Y.d.ts
1
+ //#region dist/.types-work/chart-BX4Zli_Z.d.ts
2
2
  type DecodedImageBudgetStrategy = 'adaptive' | 'strict';
3
3
  interface ImageResourceOptions {
4
4
  decodedByteBudget?: number;
@@ -113,6 +113,136 @@ interface Duotone$1 {
113
113
  clr1: string;
114
114
  clr2: string;
115
115
  }
116
+ type BlendMode = 'darken' | 'lighten' | 'mult' | 'over' | 'screen';
117
+ type BlipEffect = {
118
+ type: 'grayscale';
119
+ } | {
120
+ type: 'biLevel';
121
+ thresh: number;
122
+ } | {
123
+ type: 'colorChange';
124
+ from: string;
125
+ fromAlpha: number;
126
+ to: string;
127
+ toAlpha: number;
128
+ useAlpha: boolean;
129
+ } | {
130
+ type: 'luminance';
131
+ bright: number;
132
+ contrast: number;
133
+ } | {
134
+ type: 'duotone';
135
+ clr1?: string;
136
+ clr2?: string;
137
+ } | {
138
+ type: 'alphaBiLevel';
139
+ thresh: number;
140
+ } | {
141
+ type: 'alphaCeiling' | 'alphaFloor';
142
+ } | {
143
+ type: 'alphaInv';
144
+ color?: string;
145
+ } | {
146
+ type: 'hsl';
147
+ hue: number;
148
+ sat: number;
149
+ lum: number;
150
+ } | {
151
+ type: 'tint';
152
+ hue: number;
153
+ amt: number;
154
+ } | {
155
+ type: 'blur';
156
+ radius: number;
157
+ grow: boolean;
158
+ } | {
159
+ type: 'alphaMod';
160
+ container: BlipEffectContainer;
161
+ } | {
162
+ type: 'container';
163
+ container: BlipEffectContainer;
164
+ } | {
165
+ type: 'reference';
166
+ reference: string;
167
+ } | {
168
+ type: 'definitions';
169
+ containers: readonly BlipEffectContainer[];
170
+ work: number;
171
+ } | {
172
+ type: 'effectCountLimit';
173
+ observed: number;
174
+ } | {
175
+ type: 'alphaOutset';
176
+ radius: number;
177
+ } | {
178
+ type: 'blend';
179
+ container: BlipEffectContainer;
180
+ blend: BlendMode;
181
+ } | {
182
+ type: 'fill';
183
+ fill: BlipEffectFill;
184
+ } | {
185
+ type: 'glow';
186
+ glow: Glow;
187
+ } | {
188
+ type: 'shadow';
189
+ shadow: Shadow;
190
+ inner: boolean;
191
+ } | {
192
+ type: 'softEdge';
193
+ radius: number;
194
+ } | {
195
+ type: 'reflection';
196
+ reflection: Reflection & {
197
+ kx?: number;
198
+ ky?: number;
199
+ algn?: Shadow['algn'];
200
+ fadeDir?: number;
201
+ rotWithShape?: boolean;
202
+ };
203
+ } | {
204
+ type: 'transform';
205
+ sx: number;
206
+ sy: number;
207
+ kx: number;
208
+ ky: number;
209
+ tx: number;
210
+ ty: number;
211
+ } | {
212
+ type: 'relativeOffset';
213
+ tx: number;
214
+ ty: number;
215
+ } | {
216
+ type: 'presetShadow';
217
+ shadows: readonly Shadow[];
218
+ } | {
219
+ type: 'fillOverlay';
220
+ fill: BlipEffectFill;
221
+ blend: BlendMode;
222
+ } | {
223
+ type: 'alphaModFix';
224
+ amt: number;
225
+ } | {
226
+ type: 'alphaRepl';
227
+ alpha: number;
228
+ } | {
229
+ type: 'colorReplace';
230
+ color: string;
231
+ } | {
232
+ type: 'unsupported';
233
+ effect: string;
234
+ };
235
+ type BlipEffectImageFill = Omit<ImageFill, 'blipEffects'> & {
236
+ readonly blipEffects?: readonly BlipEffect[];
237
+ };
238
+ type BlipEffectFill = SolidFill | NoFill | PatternFill | (Omit<GradientFill, 'stops'> & {
239
+ readonly stops: readonly GradientStop[];
240
+ }) | BlipEffectImageFill;
241
+ interface BlipEffectContainer {
242
+ readonly kind: 'sib' | 'tree';
243
+ readonly name?: string;
244
+ readonly effects: readonly BlipEffect[];
245
+ }
116
246
  interface SrcRect {
117
247
  l: number;
118
248
  t: number;
@@ -176,6 +306,7 @@ interface ImageFill {
176
306
  tile?: TileInfo;
177
307
  alpha?: number;
178
308
  duotone?: Duotone$1;
309
+ blipEffects?: BlipEffect[];
179
310
  }
180
311
  interface Shadow {
181
312
  color: string;
@@ -582,6 +713,7 @@ interface ChartModel {
582
713
  title: string | null;
583
714
  titleRichRuns?: ChartTextRun[] | null;
584
715
  titlePresent?: boolean;
716
+ authoredWithoutSeries?: boolean;
585
717
  categories: string[];
586
718
  categorySourceHidden?: boolean[] | null;
587
719
  categoryLevels?: string[][] | null;
@@ -661,6 +793,7 @@ interface ChartModel {
661
793
  subtotalIndices: number[];
662
794
  legendManualLayout?: LegendManualLayout | null;
663
795
  valAxisFormatCode?: string | null;
796
+ valAxisNumberFormat?: ChartAxisNumberFormat | null;
664
797
  valAxisDisplayUnits?: ChartDisplayUnits | null;
665
798
  catAxisDisplayUnits?: ChartDisplayUnits | null;
666
799
  barGapWidth?: number | null;
@@ -749,6 +882,7 @@ interface ChartModel {
749
882
  valAxisLineDash?: string | null;
750
883
  valAxisLinePaintAuthored?: boolean | null;
751
884
  catAxisFormatCode?: string | null;
885
+ catAxisNumberFormat?: ChartAxisNumberFormat | null;
752
886
  catAxisMin?: number | null;
753
887
  catAxisMax?: number | null;
754
888
  titleManualLayout?: ChartManualLayout | null;
@@ -832,6 +966,13 @@ interface ChartModel {
832
966
  chartexTreemap?: ChartexTreemap | null;
833
967
  chartexRegionMap?: ChartexRegionMap | null;
834
968
  chartexHistogramBinning?: ChartexHistogramBinning | null;
969
+ chartexParetoOwnerIndex?: number | null;
970
+ chartexParetoSortDescending?: boolean | null;
971
+ chartexParetoFlatEndpoint?: boolean | null;
972
+ chartexSuppressGeometry?: boolean | null;
973
+ chartexParetoOutlineOwner?: boolean | null;
974
+ chartexPrimaryAxisRight?: boolean | null;
975
+ chartexShowUnpairedPercentageAxis?: boolean | null;
835
976
  chartexAccents?: string[] | null;
836
977
  chartexColorPalette?: Array<string | null> | null;
837
978
  chartexColorStyleMethod?: string | null;
@@ -1087,6 +1228,11 @@ interface ChartexHistogramBinning {
1087
1228
  intervalClosed?: 'l' | 'r' | null;
1088
1229
  underflow?: number | null;
1089
1230
  overflow?: number | null;
1231
+ edgeFormatCode?: string | null;
1232
+ }
1233
+ interface ChartAxisNumberFormat {
1234
+ authoredCode: string;
1235
+ sourceLinked?: boolean | null;
1090
1236
  }
1091
1237
  interface SecondaryValueAxis {
1092
1238
  style?: ChartExElementStyle | null;
@@ -1098,6 +1244,7 @@ interface SecondaryValueAxis {
1098
1244
  title: string | null;
1099
1245
  hidden: boolean;
1100
1246
  formatCode?: string | null;
1247
+ numberFormat?: ChartAxisNumberFormat | null;
1101
1248
  displayUnits?: ChartDisplayUnits | null;
1102
1249
  fontColor?: string | null;
1103
1250
  fontPaintAuthored?: boolean | null;
@@ -1198,12 +1345,12 @@ interface ChartRect {
1198
1345
  h: number;
1199
1346
  }
1200
1347
  //#endregion
1201
- //#region dist/.types-work/chart-ex-contract-Dds4H6Xe.d.ts
1348
+ //#region dist/.types-work/chart-ex-contract-uCVPGn_g.d.ts
1202
1349
  interface ChartExRenderer {
1203
1350
  render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
1204
1351
  }
1205
1352
  //#endregion
1206
- //#region dist/.types-work/mathjax-Ceqah_7b.d.ts
1353
+ //#region dist/.types-work/mathjax-Cs1A6yAm.d.ts
1207
1354
  interface MathSvg {
1208
1355
  svg: string;
1209
1356
  widthEm: number;
@@ -1215,17 +1362,17 @@ interface MathRenderer {
1215
1362
  mathMLToSvg(mathml: string): Promise<MathSvg>;
1216
1363
  }
1217
1364
  //#endregion
1218
- //#region dist/.types-work/three-d-contract-xjaLTy8R.d.ts
1365
+ //#region dist/.types-work/three-d-contract-BAX9ecoe.d.ts
1219
1366
  interface ChartThreeDRenderer {
1220
1367
  render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
1221
1368
  }
1222
1369
  //#endregion
1223
- //#region dist/.types-work/region-map-contract-DlO_Z1Gd.d.ts
1370
+ //#region dist/.types-work/region-map-contract-J2ruXmu1.d.ts
1224
1371
  interface ChartRegionMapRenderer {
1225
1372
  render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
1226
1373
  }
1227
1374
  //#endregion
1228
- //#region dist/.types-work/tiff-contract-DsRI31nK.d.ts
1375
+ //#region dist/.types-work/tiff-contract-bt8L_KEc.d.ts
1229
1376
  interface TiffRenderOptions {
1230
1377
  targetWidthPx?: number;
1231
1378
  targetHeightPx?: number;
@@ -1240,14 +1387,19 @@ interface TiffRenderer {
1240
1387
  render(bytes: Uint8Array, options?: Readonly<TiffRenderOptions>): Promise<ImageBitmap | null>;
1241
1388
  }
1242
1389
  //#endregion
1243
- //#region dist/.types-work/hyperlink-BUVsH0z0.d.ts
1390
+ //#region dist/.types-work/hyperlink-BER006VA.d.ts
1244
1391
  type CjkLang = 'kr' | 'sc' | 'tc' | 'hk' | 'jp';
1245
1392
  type CjkFallback = 'auto' | CjkLang;
1246
- type OoxmlErrorCode = 'encrypted' | 'invalid-password' | 'unsupported-encryption' | 'legacy-binary-format' | 'not-ooxml';
1393
+ type OoxmlErrorCode = 'encrypted' | 'invalid-password' | 'unsupported-encryption' | 'legacy-binary-format' | 'not-ooxml' | 'unsupported-image-effect' | 'invalid-numbering' | 'unsupported-content';
1247
1394
  type OoxmlErrorStage = 'container' | 'decompression' | 'parsing' | 'serialization' | 'layout' | 'rendering' | 'worker';
1395
+ interface OoxmlUnsupportedContentDetails {
1396
+ readonly format: string;
1397
+ readonly reason: 'source-subset';
1398
+ }
1248
1399
  declare class OoxmlError extends Error {
1249
1400
  readonly code: OoxmlErrorCode;
1250
- constructor(code: OoxmlErrorCode, message: string);
1401
+ readonly details?: OoxmlUnsupportedContentDetails;
1402
+ constructor(code: OoxmlErrorCode, message: string, details?: OoxmlUnsupportedContentDetails);
1251
1403
  }
1252
1404
  type OoxmlFormat = 'docx' | 'xlsx' | 'pptx';
1253
1405
  interface OoxmlResourceUsageSnapshot {
@@ -1284,6 +1436,12 @@ interface OoxmlResourcePolicySnapshot {
1284
1436
  readonly maxArchiveEntryBytes: number | null;
1285
1437
  readonly maxTotalInflatedBytes: number | null;
1286
1438
  readonly maxArchiveEntries: number | null;
1439
+ readonly xlsxWorksheetLimits?: Readonly<{
1440
+ readonly maxRows: number;
1441
+ readonly maxCells: number;
1442
+ readonly maxOwnedUtf8Bytes: number;
1443
+ readonly maxJsonBytes: number;
1444
+ }>;
1287
1445
  }
1288
1446
  interface OoxmlResourceMetricsCheckpoint {
1289
1447
  readonly name: string;
@@ -1315,6 +1473,12 @@ interface OoxmlResourceLimits {
1315
1473
  maxTotalInflatedBytes?: OoxmlResourceLimit;
1316
1474
  maxArchiveEntries?: OoxmlResourceLimit;
1317
1475
  }
1476
+ interface XlsxWorksheetLimits {
1477
+ maxRows?: number;
1478
+ maxCells?: number;
1479
+ maxOwnedUtf8Bytes?: number;
1480
+ maxJsonBytes?: number;
1481
+ }
1318
1482
  interface LoadOptions$1 {
1319
1483
  useGoogleFonts?: boolean;
1320
1484
  cjkFallback?: CjkFallback;
@@ -1322,6 +1486,7 @@ interface LoadOptions$1 {
1322
1486
  wasmUrl?: string | URL;
1323
1487
  maxZipEntryBytes?: number;
1324
1488
  resourceLimits?: OoxmlResourceLimits;
1489
+ xlsxWorksheetLimits?: XlsxWorksheetLimits;
1325
1490
  debug?: boolean;
1326
1491
  onResourceMetrics?: (metrics: OoxmlResourceMetrics) => void;
1327
1492
  workerTimeoutMs?: number;
@@ -1331,7 +1496,7 @@ interface LoadOptions$1 {
1331
1496
  chartEx?: ChartExRenderer;
1332
1497
  tiff?: TiffRenderer;
1333
1498
  }
1334
- type OoxmlDecodedImageLimitMetric = 'image-dimension' | 'image-pixels' | 'active-decoded-bytes';
1499
+ type OoxmlDecodedImageLimitMetric = 'image-dimension' | 'image-pixels' | 'active-decoded-bytes' | 'image-effect-count' | 'image-effect-work' | 'tiff-lzw-work' | 'metafile-path-commands' | 'metafile-record-points' | 'metafile-record-polygons' | 'metafile-record-rectangles' | 'metafile-record-text-units';
1335
1500
  declare class OoxmlDecodedImageLimitError extends RangeError {
1336
1501
  readonly metric: OoxmlDecodedImageLimitMetric;
1337
1502
  readonly limit: number;
@@ -1350,7 +1515,7 @@ type HyperlinkTarget = {
1350
1515
  };
1351
1516
  declare function openExternalHyperlink(url: string, allowed?: readonly string[], win?: Pick<Window, 'open'> | undefined): boolean;
1352
1517
  //#endregion
1353
- //#region dist/.types-work/find-highlight-CfHNje1k.d.ts
1518
+ //#region dist/.types-work/find-highlight-CT_JWmHP.d.ts
1354
1519
  interface ViewerContextMenuEvent<TContext> {
1355
1520
  readonly originalEvent: MouseEvent;
1356
1521
  getContext(): Promise<TContext | null>;
@@ -1394,7 +1559,37 @@ interface FindHighlightColors {
1394
1559
  active?: string;
1395
1560
  }
1396
1561
  //#endregion
1397
- //#region dist/.types-work/types-VRdpmXrR.d.ts
1562
+ //#region dist/.types-work/model-source-BvlR3Xr6.d.ts
1563
+ type ModelSourceTarget = 'docx' | 'xlsx' | 'pptx';
1564
+ type ModelSourceConfigValue = string | number | boolean | null;
1565
+ type ModelSourceConfig = Readonly<Record<string, ModelSourceConfigValue>>;
1566
+ declare const MODEL_SOURCE_MODULE_PROTOCOL = "ooxml-model-source-module/v2";
1567
+ interface ModelSourceModuleDescriptor {
1568
+ readonly protocol: typeof MODEL_SOURCE_MODULE_PROTOCOL;
1569
+ readonly target: ModelSourceTarget;
1570
+ readonly moduleUrl: string;
1571
+ readonly config: ModelSourceConfig;
1572
+ }
1573
+ interface ModelSourceLoad {
1574
+ readonly module: ModelSourceModuleDescriptor;
1575
+ readonly transfer?: readonly Transferable[];
1576
+ release(): void;
1577
+ }
1578
+ interface ModelSource<T extends ModelSourceTarget = ModelSourceTarget> {
1579
+ readonly target: T;
1580
+ claim(bytes: Uint8Array): boolean;
1581
+ beginLoad(): ModelSourceLoad;
1582
+ }
1583
+ interface OpenedModelSource<TArchive> {
1584
+ readonly archive: TArchive;
1585
+ readonly viewDefaults?: Readonly<Record<string, boolean>>;
1586
+ close(): void;
1587
+ }
1588
+ interface ModelSourceModule<TArchive = unknown> {
1589
+ openModelSource(bytes: Uint8Array, config: ModelSourceConfig, signal?: AbortSignal, transfer?: readonly Transferable[]): Promise<OpenedModelSource<TArchive>>;
1590
+ }
1591
+ //#endregion
1592
+ //#region dist/.types-work/types-_hQx9Nud.d.ts
1398
1593
  type ShapeFill = Exclude<Fill, {
1399
1594
  fillType: 'image';
1400
1595
  } | {
@@ -1440,6 +1635,8 @@ interface Worksheet {
1440
1635
  colCollapsed?: Record<number, boolean>;
1441
1636
  colHidden?: Record<number, boolean>;
1442
1637
  defaultColWidth: number;
1638
+ baseColWidth?: number;
1639
+ defaultColWidthIsUi?: boolean;
1443
1640
  defaultRowHeight: number;
1444
1641
  defaultRowHeightCustom?: boolean;
1445
1642
  mergeCells: MergeCell[];
@@ -1467,6 +1664,11 @@ interface Worksheet {
1467
1664
  sparklineGroups?: SparklineGroup[];
1468
1665
  defaultFontFamily?: string;
1469
1666
  defaultFontSize?: number;
1667
+ defaultFontBold?: boolean;
1668
+ defaultFontItalic?: boolean;
1669
+ normalFontSize?: number;
1670
+ themeJapaneseMajorFont?: string;
1671
+ themeJapaneseMinorFont?: string;
1470
1672
  date1904?: boolean;
1471
1673
  parseError?: string;
1472
1674
  }
@@ -1484,6 +1686,27 @@ interface PivotTableMetadata {
1484
1686
  cacheSource?: PivotCacheSource;
1485
1687
  status: PivotMetadataStatus;
1486
1688
  extensionUris?: string[];
1689
+ style?: PivotTableStyle;
1690
+ rowItems?: PivotAxisItem[];
1691
+ columnItems?: PivotAxisItem[];
1692
+ }
1693
+ interface PivotTableStyle {
1694
+ name: string;
1695
+ showRowHeaders: boolean;
1696
+ showColumnHeaders: boolean;
1697
+ showRowStripes: boolean;
1698
+ showColumnStripes: boolean;
1699
+ showLastColumn: boolean;
1700
+ elements: PivotTableStyleElement[];
1701
+ }
1702
+ interface PivotTableStyleElement {
1703
+ kind: string;
1704
+ size: number;
1705
+ dxf: Dxf;
1706
+ }
1707
+ interface PivotAxisItem {
1708
+ kind: string;
1709
+ depth: number;
1487
1710
  }
1488
1711
  interface PivotLocation extends WorksheetCellRange {
1489
1712
  firstHeaderRow: number;
@@ -1645,6 +1868,8 @@ interface TableInfo {
1645
1868
  lastColumnDxf?: number;
1646
1869
  band1HorizontalDxf?: number;
1647
1870
  band2HorizontalDxf?: number;
1871
+ styleElements?: PivotTableStyleElement[];
1872
+ styleError?: string;
1648
1873
  columns: TableColumnInfo[];
1649
1874
  }
1650
1875
  interface TableColumnInfo {
@@ -1701,6 +1926,7 @@ interface ChartAnchor {
1701
1926
  toRowOff: number;
1702
1927
  chart: ChartModel;
1703
1928
  }
1929
+ type DrawingAnchorTag = 'oneCellAnchor' | 'twoCellAnchor';
1704
1930
  interface ShapeAnchor {
1705
1931
  fromCol: number;
1706
1932
  fromColOff: number;
@@ -1713,6 +1939,9 @@ interface ShapeAnchor {
1713
1939
  editAs?: string;
1714
1940
  nativeExtCx: number;
1715
1941
  nativeExtCy: number;
1942
+ anchorTag?: DrawingAnchorTag;
1943
+ anchorExtCx?: number;
1944
+ anchorExtCy?: number;
1716
1945
  shapes: ShapeInfo[];
1717
1946
  }
1718
1947
  interface ShapeInfo {
@@ -1749,6 +1978,9 @@ interface ShapeInfo {
1749
1978
  text?: ShapeText;
1750
1979
  }
1751
1980
  interface ShapeText {
1981
+ vert?: string;
1982
+ anchorCtr?: boolean;
1983
+ spcFirstLastPara?: boolean;
1752
1984
  anchor: string;
1753
1985
  wrap: string;
1754
1986
  autoFit?: string;
@@ -1766,7 +1998,14 @@ interface ShapeParagraph {
1766
1998
  marL?: number;
1767
1999
  marR?: number;
1768
2000
  indent?: number;
2001
+ defTabSz?: number;
2002
+ tabStops?: {
2003
+ pos: number;
2004
+ algn: string;
2005
+ }[];
1769
2006
  spaceLine?: SpaceLine | null;
2007
+ spaceBefore?: SpaceLine | null;
2008
+ spaceAfter?: SpaceLine | null;
1770
2009
  runs: ShapeTextRun[];
1771
2010
  }
1772
2011
  type ShapeTextRun = {
@@ -1775,6 +2014,7 @@ type ShapeTextRun = {
1775
2014
  bold: boolean;
1776
2015
  italic: boolean;
1777
2016
  size: number;
2017
+ spacing?: number;
1778
2018
  color?: string;
1779
2019
  fontFace?: string;
1780
2020
  fontFaceEa?: string;
@@ -1808,6 +2048,7 @@ type ShapeGeom = {
1808
2048
  };
1809
2049
  alpha?: number;
1810
2050
  duotone?: Duotone;
2051
+ blipEffects?: BlipEffect[];
1811
2052
  };
1812
2053
  interface Duotone {
1813
2054
  clr1: string;
@@ -1816,6 +2057,8 @@ interface Duotone {
1816
2057
  interface PathInfo {
1817
2058
  w: number;
1818
2059
  h: number;
2060
+ fill?: 'none' | 'lighten' | 'lightenLess' | 'darken' | 'darkenLess';
2061
+ stroke?: false;
1819
2062
  commands: PathCmd[];
1820
2063
  }
1821
2064
  type PathCmd = {
@@ -1860,8 +2103,14 @@ interface ImageAnchor {
1860
2103
  toRow: number;
1861
2104
  toRowOff: number;
1862
2105
  editAs?: string;
2106
+ anchorTag?: DrawingAnchorTag;
2107
+ anchorExtCx?: number;
2108
+ anchorExtCy?: number;
1863
2109
  nativeExtCx: number;
1864
2110
  nativeExtCy: number;
2111
+ rotation?: number;
2112
+ flipH?: boolean;
2113
+ flipV?: boolean;
1865
2114
  imagePath: string;
1866
2115
  mimeType: string;
1867
2116
  svgImagePath?: string;
@@ -1873,6 +2122,7 @@ interface ImageAnchor {
1873
2122
  };
1874
2123
  alpha?: number;
1875
2124
  duotone?: Duotone;
2125
+ blipEffects?: BlipEffect[];
1876
2126
  }
1877
2127
  interface WorksheetCellRange {
1878
2128
  top: number;
@@ -1897,6 +2147,7 @@ type CfRule = {
1897
2147
  formulas: string[];
1898
2148
  dxfId: number | null;
1899
2149
  priority: number;
2150
+ stopIfTrue?: boolean;
1900
2151
  } | {
1901
2152
  type: 'expression';
1902
2153
  formula: string;
@@ -1907,6 +2158,8 @@ type CfRule = {
1907
2158
  type: 'colorScale';
1908
2159
  stops: CfStop[];
1909
2160
  priority: number;
2161
+ activeFormula?: string;
2162
+ stopIfTrue?: boolean;
1910
2163
  } | {
1911
2164
  type: 'dataBar';
1912
2165
  color: string;
@@ -1914,6 +2167,9 @@ type CfRule = {
1914
2167
  max: CfValue;
1915
2168
  priority: number;
1916
2169
  gradient: boolean;
2170
+ activeFormula?: string;
2171
+ extThresholdFormula?: boolean;
2172
+ stopIfTrue?: boolean;
1917
2173
  } | {
1918
2174
  type: 'top10';
1919
2175
  top: boolean;
@@ -1921,6 +2177,7 @@ type CfRule = {
1921
2177
  rank: number;
1922
2178
  dxfId: number | null;
1923
2179
  priority: number;
2180
+ stopIfTrue?: boolean;
1924
2181
  } | {
1925
2182
  type: 'aboveAverage';
1926
2183
  aboveAverage: boolean;
@@ -1928,6 +2185,7 @@ type CfRule = {
1928
2185
  stdDev?: number;
1929
2186
  dxfId: number | null;
1930
2187
  priority: number;
2188
+ stopIfTrue?: boolean;
1931
2189
  } | {
1932
2190
  type: 'iconSet';
1933
2191
  iconSet: string;
@@ -1935,10 +2193,14 @@ type CfRule = {
1935
2193
  reverse: boolean;
1936
2194
  priority: number;
1937
2195
  customIcons?: CfIcon[];
2196
+ activeFormula?: string;
2197
+ stopIfTrue?: boolean;
1938
2198
  } | {
1939
2199
  type: 'other';
1940
2200
  kind: string;
1941
2201
  priority: number;
2202
+ unsupportedFormulaPhases?: number;
2203
+ stopIfTrue?: boolean;
1942
2204
  };
1943
2205
  interface CfIcon {
1944
2206
  iconSet: string;
@@ -2021,6 +2283,7 @@ interface RunFont {
2021
2283
  name?: string | null;
2022
2284
  underlineStyle?: string;
2023
2285
  vertAlign?: 'superscript' | 'subscript';
2286
+ normalColor?: boolean;
2024
2287
  }
2025
2288
  interface SharedString {
2026
2289
  text: string;
@@ -2045,6 +2308,14 @@ interface Dxf {
2045
2308
  fill: CellFill | null;
2046
2309
  border: Border | null;
2047
2310
  numFmt?: NumFmt | null;
2311
+ fontToggles?: DxfFontToggles;
2312
+ }
2313
+ interface DxfFontToggles {
2314
+ bold?: boolean;
2315
+ italic?: boolean;
2316
+ underline?: boolean;
2317
+ strike?: boolean;
2318
+ automaticColor?: boolean;
2048
2319
  }
2049
2320
  interface CellFont {
2050
2321
  bold: boolean;
@@ -2054,6 +2325,8 @@ interface CellFont {
2054
2325
  size: number;
2055
2326
  color: string | null;
2056
2327
  name: string | null;
2328
+ scheme?: 'major' | 'minor';
2329
+ charset?: number;
2057
2330
  underlineStyle?: string;
2058
2331
  vertAlign?: 'superscript' | 'subscript';
2059
2332
  }
@@ -2101,11 +2374,15 @@ interface CellXf {
2101
2374
  textRotation?: number;
2102
2375
  shrinkToFit?: boolean;
2103
2376
  readingOrder?: number;
2377
+ ownFontColor?: boolean;
2104
2378
  }
2105
2379
  interface ParsedWorkbook {
2106
2380
  workbook: Workbook;
2107
2381
  styles: Styles;
2108
2382
  sharedStrings: SharedString[];
2383
+ layoutMetrics?: {
2384
+ maximumDigitWidth: number;
2385
+ };
2109
2386
  }
2110
2387
  interface ViewportRange {
2111
2388
  row: number;
@@ -2149,7 +2426,7 @@ interface XlsxRenderViewportOptions {
2149
2426
  } | null;
2150
2427
  }
2151
2428
  //#endregion
2152
- //#region dist/.types-work/xlsx-BucT8L3K.d.ts
2429
+ //#region dist/.types-work/xlsx-CEbhcCVw.d.ts
2153
2430
  type ResolvedList = {
2154
2431
  kind: 'values';
2155
2432
  values: string[];
@@ -2176,18 +2453,24 @@ type RenderViewportToBitmapOptions = Omit<XlsxRenderViewportOptions, 'onTextRun'
2176
2453
  };
2177
2454
  interface LoadOptions extends LoadOptions$1 {
2178
2455
  mode?: 'main' | 'worker';
2456
+ legacyXls?: ModelSource<'xlsx'>;
2179
2457
  }
2180
2458
  declare class XlsxWorkbook {
2181
2459
  private metrics;
2182
2460
  private bridge;
2183
2461
  private delimitedTextBacked;
2462
+ private readonly japaneseCellFonts;
2184
2463
  private parsedWorkbook;
2185
2464
  private sheetCache;
2465
+ private sheetCacheUsage;
2466
+ private sheetLeases;
2467
+ private evictingSheets;
2186
2468
  private sheetLoads;
2469
+ private sheetPreviews;
2187
2470
  private readonly rawParts;
2188
2471
  private queuedImageLoads;
2189
2472
  private readonly _fetchImage;
2190
- private resourcePolicy;
2473
+ private worksheetPolicy;
2191
2474
  private cjkFallback;
2192
2475
  private math;
2193
2476
  private threeD;
@@ -2195,6 +2478,8 @@ declare class XlsxWorkbook {
2195
2478
  private chartEx;
2196
2479
  private tiff;
2197
2480
  private googleFontNames;
2481
+ private googleSubstitutes;
2482
+ private officeFontRequests;
2198
2483
  private readonly retainedFontSets;
2199
2484
  private fontsDestroyed;
2200
2485
  private _mode;
@@ -2211,12 +2496,19 @@ declare class XlsxWorkbook {
2211
2496
  private _load;
2212
2497
  private _loadDelimitedText;
2213
2498
  private retainFontsInSet;
2499
+ private retainWorksheetOfficeFonts;
2214
2500
  get sheetNames(): string[];
2215
2501
  get sheetCount(): number;
2216
2502
  get tabColors(): (string | null)[];
2217
2503
  sheetVisibility(sheetIndex: number): SheetVisibility;
2218
2504
  isHidden(sheetIndex: number): boolean;
2219
2505
  getWorksheet(sheetIndex: number): Promise<Worksheet>;
2506
+ private getOrLoadWorksheet;
2507
+ private touchWorksheet;
2508
+ private pinWorksheet;
2509
+ private completePendingEvictions;
2510
+ private acquireWorksheetLease;
2511
+ private acquireWorksheetPreviewLease;
2220
2512
  getComments(sheetIndex: number): Promise<readonly Readonly<XlsxComment>[]>;
2221
2513
  getResourceMetrics(): Promise<OoxmlResourceMetrics>;
2222
2514
  private loadWorksheet;
@@ -2231,9 +2523,12 @@ declare class XlsxWorkbook {
2231
2523
  cellText(ws: Worksheet, cell: Cell): string;
2232
2524
  renderViewport(target: HTMLCanvasElement | OffscreenCanvas, sheetIndex: number, viewport: ViewportRange, opts?: XlsxRenderViewportOptions): Promise<void>;
2233
2525
  renderViewportToBitmap(sheetIndex: number, viewport: ViewportRange, opts: RenderViewportToBitmapOptions): Promise<ImageBitmap>;
2526
+ private retainWorksheetReference;
2234
2527
  private withWorksheetArchiveOperation;
2528
+ private withPinnedWorksheetArchiveOperation;
2235
2529
  destroy(): void;
2236
2530
  private assertResourceHealthy;
2531
+ private latchFatalResourceFailure;
2237
2532
  private requireBridge;
2238
2533
  private requireArchiveBridge;
2239
2534
  }
@@ -2338,6 +2633,10 @@ interface XlsxSheetViewerOptions extends LoadOptions {
2338
2633
  cellScale?: number;
2339
2634
  resizable?: boolean;
2340
2635
  showScrollbars?: boolean;
2636
+ minRows?: number;
2637
+ minCols?: number;
2638
+ marginRows?: number;
2639
+ marginCols?: number;
2341
2640
  zoomMin?: number;
2342
2641
  zoomMax?: number;
2343
2642
  onScaleChange?: (scale: number) => void;
@@ -2405,42 +2704,35 @@ declare class XlsxViewerEngine implements ZoomableViewer {
2405
2704
  private wrapper;
2406
2705
  private canvas;
2407
2706
  private gridRegion;
2408
- private rowGutter;
2409
- private colGutter;
2410
- private cornerGutter;
2411
- private gutter;
2412
- private rowOutline;
2413
- private colOutline;
2414
- private rowOutlineBands;
2415
- private colOutlineBands;
2416
- private stashedRowHeights;
2417
- private stashedColWidths;
2418
- private sizeOverrideStore;
2707
+ private readonly outlineGutter;
2708
+ private readonly viewEdits;
2419
2709
  private readonly projectionId;
2420
2710
  private canvasArea;
2421
2711
  private scrollHost;
2422
2712
  private spacer;
2423
2713
  private readonly surface;
2424
2714
  private readonly overlayHost;
2425
- private tabBar;
2426
- private tabStrip;
2427
- private tabList;
2428
- private navPrev;
2429
- private navNext;
2430
- private tabs;
2431
- private tabColors;
2432
- private zoomSlider;
2433
- private zoomLabel;
2715
+ private readonly sheetTabs;
2716
+ private readonly zoomControl;
2434
2717
  private currentSheet;
2435
2718
  private sheetRequestGeneration;
2436
2719
  private fontBindingGeneration;
2437
2720
  private fontBinding;
2438
2721
  private _hiddenSheetMode;
2439
2722
  private currentWorksheet;
2723
+ private previewCompletion;
2724
+ private firstPreviewRender;
2725
+ private committedFrameCount;
2726
+ private previewPreparedViewport;
2727
+ private previewFallbackReason;
2728
+ private releaseCurrentWorksheet;
2440
2729
  private currentSourceComments;
2441
2730
  private commentNavigationGeneration;
2442
2731
  private sourceCommentMap;
2443
2732
  private sheetViews;
2733
+ private initialAnchorWorkbook;
2734
+ private readonly initialAnchorReferences;
2735
+ private currentAutoRowHeightsPrepared;
2444
2736
  private opts;
2445
2737
  private readonly _mountKind;
2446
2738
  private readonly _nativeScrollbars;
@@ -2449,59 +2741,25 @@ declare class XlsxViewerEngine implements ZoomableViewer {
2449
2741
  private preparedWorkbook;
2450
2742
  private _destroyed;
2451
2743
  private resizeObserver;
2452
- private chromeColors;
2453
- private chromeStyleObserver;
2454
- private chromeSchemeMedia;
2455
- private chromeSchemeListener;
2744
+ private chromeTheme;
2745
+ private get chromeColors();
2456
2746
  private _lastViewportNotification;
2457
- private get anchorCell();
2458
2747
  private get activeCell();
2459
2748
  private get selectionMode();
2460
- private get isSelecting();
2461
- private get selectionPointerId();
2462
- private beginSelectionDrag;
2463
2749
  private _pendingZoomAnchor;
2464
2750
  private readonly selectionController;
2465
- private lastNotifiedSelectionState;
2466
- private emittingSelectionChange;
2467
- private pendingSelectionChange;
2468
- private selectionNotificationScheduled;
2469
- private selectionNotificationCount;
2470
- private selectionContextNotificationFrame;
2471
- private selectionContextNotificationMicrotask;
2472
- private readonly selectionContextRows;
2473
- private readonly selectionContextCells;
2751
+ private readonly notifier;
2752
+ private readonly contextReader;
2753
+ private readonly gridExtent;
2474
2754
  private elementContext;
2475
- private selectionOverlay;
2476
- private findOverlay;
2477
- private _find;
2478
- private keydownHandler;
2479
- private pendingTap;
2480
- private pendingClick;
2481
- private pendingElementClick;
2482
- private resizeDrag;
2483
- private selectionAutoScrollPointer;
2484
- private selectionAutoScrollFrame;
2485
- private selectionAutoScrollLastTime;
2486
- private commentPopup;
2487
- private commentMap;
2488
- private hyperlinkMap;
2489
- private commentPopupKey;
2490
- private commentPopupTimer;
2491
- private commentPopupCell;
2492
- private commentPopupPositionScheduled;
2493
- private commentPopupResizeObserver;
2494
- private commentUi;
2495
- private commentPopupRenderGeneration;
2496
- private validationPanel;
2497
- private validationPanelKey;
2498
- private validationRequestGeneration;
2499
- private validationArrowRect;
2500
- private validationOutsideHandler;
2755
+ private readonly selectionPaint;
2756
+ private readonly finder;
2757
+ private readonly copier;
2758
+ private selectionInput;
2759
+ private readonly comments;
2760
+ private readonly hyperlinks;
2761
+ private readonly validation;
2501
2762
  constructor(container: HTMLElement, opts: XlsxViewerOptions | XlsxSheetViewerOptions | undefined, mount: XlsxViewerMount);
2502
- private refreshChromeTheme;
2503
- private installChromeThemeRefresh;
2504
- private _collectSheetCells;
2505
2763
  [loadXlsxViewerSource](source: string | ArrayBuffer, sourceOptions?: XlsxSheetLoadOptions): Promise<void>;
2506
2764
  private activateWorkbook;
2507
2765
  private ensureHostFonts;
@@ -2512,24 +2770,19 @@ declare class XlsxViewerEngine implements ZoomableViewer {
2512
2770
  private set wb(value);
2513
2771
  private showSheet;
2514
2772
  private isCurrentSheetRequest;
2773
+ private initialAnchorReferenceFor;
2774
+ private installInitialAnchorReference;
2775
+ private releaseInitialAnchorReferences;
2776
+ private restoreDisplayedWorksheetLease;
2515
2777
  private buildOutline;
2516
2778
  private layoutGutters;
2517
2779
  private renderGutters;
2518
- private paintAxisGutter;
2519
- private drawToggleBox;
2520
- private drawLevelButton;
2521
- private paintCornerGutter;
2522
- private onGutterPointerDown;
2523
- private applyGroupToggle;
2524
2780
  private scrollOutlineSummaryToStart;
2525
- private applyLevelButton;
2526
2781
  private setBandHidden;
2527
2782
  private recordSizeOverride;
2528
2783
  private wireSizeOverrides;
2529
- private syncAutomaticRowOverrides;
2530
2784
  private setBandCollapsed;
2531
2785
  private afterOutlineMutation;
2532
- private buildOutlineLayoutOnly;
2533
2786
  private get isRtl();
2534
2787
  private updateFooterDirection;
2535
2788
  private get maxScrollLeft();
@@ -2568,11 +2821,6 @@ declare class XlsxViewerEngine implements ZoomableViewer {
2568
2821
  private setElementContext;
2569
2822
  private scheduleSelectionContextNotification;
2570
2823
  private emitSelectionChange;
2571
- private scheduleSelectionNotification;
2572
- private finishSelectionNotificationChain;
2573
- private getHeaderHit;
2574
- private getResizeTarget;
2575
- private applyResize;
2576
2824
  private refitAutoRowsAfterColumnResize;
2577
2825
  setSelectionColor(color: string): void;
2578
2826
  setHiddenSheetMode(mode: HiddenSheetMode): Promise<void>;
@@ -2580,56 +2828,19 @@ declare class XlsxViewerEngine implements ZoomableViewer {
2580
2828
  get visibleSheetCount(): number;
2581
2829
  copySelection(): Promise<XlsxCopyResult>;
2582
2830
  private updateSelectionOverlay;
2583
- private drawElementContextOverlay;
2584
- private maybeDrawValidationDropdown;
2585
2831
  private updateFindOverlay;
2586
2832
  findText(query: string, opts?: FindMatchesOptions): Promise<FindMatch<XlsxMatchLocation>[]>;
2587
2833
  findNext(): Promise<FindMatch<XlsxMatchLocation> | null>;
2588
2834
  findPrev(): Promise<FindMatch<XlsxMatchLocation> | null>;
2589
2835
  clearFind(): void;
2590
- private _activateMatch;
2591
2836
  private _scrollCellIntoView;
2592
- private toggleValidationPanel;
2593
- private openValidationPanel;
2594
- private isCurrentValidationRequest;
2595
- private renderValidationPanel;
2596
- private positionValidationPanel;
2597
- private installValidationOutsideHandler;
2598
2837
  private hideValidationPanel;
2599
2838
  private buildCommentMap;
2600
- private createCommentMap;
2601
2839
  private createVisibleSheetView;
2602
2840
  private buildHyperlinkMap;
2603
- private hyperlinkAtCell;
2604
- private dispatchHyperlink;
2605
- private navigateInternalHyperlink;
2606
- private scheduleCommentPopup;
2607
- private loadCommentUi;
2608
- private renderCommentPopup;
2609
- private scheduleCommentPopupPosition;
2610
- private positionCommentPopup;
2611
2841
  private hideCommentPopup;
2612
- private applyPointerSelection;
2613
- private viewportInputBounds;
2614
- private extendDragSelection;
2615
- private selectionAutoScrollSpeed;
2616
- private trackSelectionAutoScroll;
2617
- private runSelectionAutoScroll;
2618
- private stopSelectionAutoScroll;
2619
- private contextMenuTargetIsSelected;
2620
- private resolveContextMenuContext;
2621
- private setupSelectionEvents;
2622
2842
  private buildTabs;
2623
- private makeNavButton;
2624
- private navButtonStyle;
2625
- private scrollTabs;
2626
- private updateNavButtons;
2627
2843
  private updateTabActive;
2628
- private tabStyle;
2629
- private tabCss;
2630
- private buildZoomControl;
2631
- private zoomPosToScale;
2632
- private zoomScaleToPos;
2633
2844
  setScale(scale: number): void;
2634
2845
  getScale(): number;
2635
2846
  zoomIn(): void;
@@ -2706,4 +2917,4 @@ declare class XlsxSheetViewer implements ZoomableViewer {
2706
2917
  }
2707
2918
  declare function resolveSharedStrings(ws: Worksheet, sharedStrings: SharedString[]): Worksheet;
2708
2919
  //#endregion
2709
- 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 ChartClassicSurfaceBandStyles, 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 CjkFallback, type ConditionalFormat, type DataValidation, type DecodedImageBudgetStrategy, type DefinedName, type DrawingMLCustomDashSegment, type Duotone, type Dxf, type FillRect, type FindHighlightColors, type FindMatch, type FindMatchesOptions, type Glow, type GradientFill, type GradientFillSpec, type GradientStop, type HiddenSheetMode, type Hyperlink, type HyperlinkTarget, type ImageAnchor, type ImageFill, type ImageResourceOptions, 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 Reflection, type RenderViewportToBitmapOptions, type ResolvedList, type Row, type Run, type RunFont, type SecondaryValueAxis, type Shadow, 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 SoftEdge, type SolidFill, type SpaceLine, type Sparkline, type SparklineGroup, type SrcRect, type Styles, type TableColumnInfo, type TableInfo, TiffDecodeError, type TiffRenderOptions, type TiffRenderer, 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, type XlsxSheetLoadOptions, XlsxSheetViewer, type XlsxSheetViewerOptions, type XlsxTextRunInfo, XlsxViewer, type XlsxViewerOptions, type XlsxViewportOffset, XlsxWorkbook, type ZoomableViewer, autoResize, isOoxmlDecodedImageLimitError, isTiffDecodeError, openExternalHyperlink, resolveSharedStrings };
2920
+ export { type ArrowEnd, type AutoResizeOptions, type BlendMode, type BlipEffect, type BlipEffectContainer, type BlipEffectFill, type BlipEffectImageFill, 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 ChartAxisNumberFormat, type ChartBarGroupDecorations, type ChartClassicSurfaceBandStyles, 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 CjkFallback, type ConditionalFormat, type DataValidation, type DecodedImageBudgetStrategy, type DefinedName, type DrawingMLCustomDashSegment, type Duotone, type Dxf, type DxfFontToggles, type FillRect, type FindHighlightColors, type FindMatch, type FindMatchesOptions, type Glow, type GradientFill, type GradientFillSpec, type GradientStop, type HiddenSheetMode, type Hyperlink, type HyperlinkTarget, type ImageAnchor, type ImageFill, type ImageResourceOptions, 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 ModelSource, type ModelSourceConfig, type ModelSourceConfigValue, type ModelSourceLoad, type ModelSourceModule, type ModelSourceModuleDescriptor, type ModelSourceTarget, 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 OoxmlUnsupportedContentDetails, type OpenedModelSource, type OutlinePr, type ParsedWorkbook, type PathCmd, type PathInfo, type PatternFill, type PhoneticAlignment, type PhoneticProperties, type PhoneticRun, type PhoneticType, type PivotAxisItem, type PivotCacheSource, type PivotDataField, type PivotDiagnostic, type PivotLocation, type PivotMetadataStatus, type PivotPageField, type PivotPartialReason, type PivotTableMetadata, type PivotTableStyle, type PivotTableStyleElement, type Reflection, type RenderViewportToBitmapOptions, type ResolvedList, type Row, type Run, type RunFont, type SecondaryValueAxis, type Shadow, 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 SoftEdge, type SolidFill, type SpaceLine, type Sparkline, type SparklineGroup, type SrcRect, type Styles, type TableColumnInfo, type TableInfo, TiffDecodeError, type TiffRenderOptions, type TiffRenderer, 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, type XlsxSheetLoadOptions, XlsxSheetViewer, type XlsxSheetViewerOptions, type XlsxTextRunInfo, XlsxViewer, type XlsxViewerOptions, type XlsxViewportOffset, XlsxWorkbook, type XlsxWorksheetLimits, type ZoomableViewer, autoResize, isOoxmlDecodedImageLimitError, isTiffDecodeError, openExternalHyperlink, resolveSharedStrings };