@silurus/ooxml 0.85.3 → 0.86.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +39 -7
- package/dist/assets/render-worker-D21h5TGR.js +10 -0
- package/dist/assets/render-worker-Dsfekaht.js +11 -0
- package/dist/assets/render-worker-DxU7IrKo.js +31 -0
- package/dist/bounded-raw-part-cache-BfbSxRIL.js +119 -0
- package/dist/{canvas-viewer-mechanics-CDNMJ-Yz.js → canvas-viewer-mechanics-DN5SqWGS.js} +329 -192
- package/dist/{comment-ui-runtime-DAKBCpsM.js → comment-ui-runtime-DEtgcmj7.js} +5 -5
- package/dist/comment-ui-runtime-TLHustXJ.js +2 -0
- package/dist/{comment-ui-runtime-CAbpuWi_.js → comment-ui-runtime-lXwVOgjW.js} +4 -4
- package/dist/{comments-Brfxa3hQ.js → comments-CAn2A_Xh.js} +1 -1
- package/dist/delimited-text-worker-host-DcHj_JZt.js +27 -0
- package/dist/{document-pull-client-F3ox_VXK.js → document-pull-client-uopDjRde.js} +4477 -4431
- package/dist/{docx-BYvm3TWw.js → docx-wPzeF76A.js} +519 -334
- package/dist/docx.mjs +7 -7
- package/dist/docx_parser_bg.wasm +0 -0
- package/dist/{dom-interaction-boundary-CDGegIB5.js → dom-interaction-boundary-CswB9Tzi.js} +60 -57
- package/dist/{line-metrics-BGtFM-ec.js → hyperlink-BR1NCO7S.js} +954 -935
- package/dist/index.mjs +4 -4
- package/dist/{line-distribute-BsV4MVZ2.js → line-distribute-IsUGfHXm.js} +10 -10
- package/dist/line-metrics-CBbw80Ko.js +60 -0
- package/dist/node.mjs +266 -266
- package/dist/{pptx-BqpVTP8p.js → pptx-BxJ_RBSY.js} +173 -165
- package/dist/pptx.mjs +5 -5
- package/dist/pptx_parser_bg.wasm +0 -0
- package/dist/{render-DeZpRCfx.js → render-DEiun_AH.js} +1 -1
- package/dist/{render-worker-host-BKtXmlEF.js → render-worker-host-BEfLZvSL.js} +1 -1
- package/dist/{render-worker-host-CNKQ76tu.js → render-worker-host-Ba6Fchqr.js} +1 -1
- package/dist/{render-worker-host-CBcQXsR5.js → render-worker-host-C3xwtHnv.js} +1 -1
- package/dist/{resource-measurement-D41R-0Bl.js → resource-measurement-CclArDRs.js} +10 -10
- package/dist/{session-n2p5_jxV.js → session-BuJL_xcp.js} +87 -87
- package/dist/{slide-pull-client-Dwek7xW8.js → slide-pull-client-Ck8wfRT_.js} +1239 -1165
- package/dist/types/chart-ex.d.ts +2 -2
- package/dist/types/docx.d.ts +10 -11
- package/dist/types/index.d.ts +38 -19
- package/dist/types/math.d.ts +1 -1
- package/dist/types/node.d.ts +6 -5
- package/dist/types/pptx.d.ts +10 -10
- package/dist/types/region-map.d.ts +2 -2
- package/dist/types/three-d.d.ts +2 -2
- package/dist/types/tiff.d.ts +1 -1
- package/dist/types/xlsx.d.ts +34 -14
- package/dist/{worksheet-pull-client-C9sC36Vu.js → worksheet-pull-client-CAvuf22q.js} +72 -69
- package/dist/{xlsx-DSU6pV1O.js → xlsx-Bblm5r1h.js} +1752 -1592
- package/dist/xlsx.mjs +5 -5
- package/dist/xlsx_parser_bg.wasm +0 -0
- package/package.json +1 -1
- package/dist/assets/render-worker-D1O73gYW.js +0 -10
- package/dist/assets/render-worker-DHP0rgcW.js +0 -24
- package/dist/assets/render-worker-V2wWYA4O.js +0 -11
- package/dist/bounded-raw-part-cache-C6ro6Ezf.js +0 -254
- package/dist/comment-ui-runtime-DTaaZdXC.js +0 -2
- /package/dist/{comment-occurrence-tj54AXXB.js → comment-occurrence-CqejEuts.js} +0 -0
- /package/dist/{highlight-rect-DBcYVJDv.js → highlight-rect-FuUSmL3a.js} +0 -0
- /package/dist/{read-only-comment-decoration-Mv_SAiHy.js → read-only-comment-decoration-BTnWEeo5.js} +0 -0
- /package/dist/{read-only-comment-margin-Cqu-Ir0C.js → read-only-comment-margin-plStyGfE.js} +0 -0
- /package/dist/{source-key-BkBB3X82.js → source-key-Ktb1GRE5.js} +0 -0
package/dist/types/chart-ex.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region dist/.types-work/chart-
|
|
1
|
+
//#region dist/.types-work/chart-DyZ-c18j.d.ts
|
|
2
2
|
interface Duotone {
|
|
3
3
|
clr1: string;
|
|
4
4
|
clr2: string;
|
|
@@ -938,7 +938,7 @@ interface ChartRect {
|
|
|
938
938
|
h: number;
|
|
939
939
|
}
|
|
940
940
|
//#endregion
|
|
941
|
-
//#region dist/.types-work/chart-ex-contract-
|
|
941
|
+
//#region dist/.types-work/chart-ex-contract-CdrCTgpH.d.ts
|
|
942
942
|
interface ChartExRenderer {
|
|
943
943
|
render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
|
|
944
944
|
}
|
package/dist/types/docx.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region dist/.types-work/chart-
|
|
1
|
+
//#region dist/.types-work/chart-DyZ-c18j.d.ts
|
|
2
2
|
type DecodedImageBudgetStrategy = 'adaptive' | 'strict';
|
|
3
3
|
interface ImageResourceOptions {
|
|
4
4
|
decodedByteBudget?: number;
|
|
@@ -1048,12 +1048,12 @@ interface ChartRect {
|
|
|
1048
1048
|
h: number;
|
|
1049
1049
|
}
|
|
1050
1050
|
//#endregion
|
|
1051
|
-
//#region dist/.types-work/chart-ex-contract-
|
|
1051
|
+
//#region dist/.types-work/chart-ex-contract-CdrCTgpH.d.ts
|
|
1052
1052
|
interface ChartExRenderer {
|
|
1053
1053
|
render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
|
|
1054
1054
|
}
|
|
1055
1055
|
//#endregion
|
|
1056
|
-
//#region dist/.types-work/mathjax-
|
|
1056
|
+
//#region dist/.types-work/mathjax-Bh8Yow_s.d.ts
|
|
1057
1057
|
interface MathSvg {
|
|
1058
1058
|
svg: string;
|
|
1059
1059
|
widthEm: number;
|
|
@@ -1065,17 +1065,17 @@ interface MathRenderer {
|
|
|
1065
1065
|
mathMLToSvg(mathml: string): Promise<MathSvg>;
|
|
1066
1066
|
}
|
|
1067
1067
|
//#endregion
|
|
1068
|
-
//#region dist/.types-work/three-d-contract-
|
|
1068
|
+
//#region dist/.types-work/three-d-contract-DVjawIXV.d.ts
|
|
1069
1069
|
interface ChartThreeDRenderer {
|
|
1070
1070
|
render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
|
|
1071
1071
|
}
|
|
1072
1072
|
//#endregion
|
|
1073
|
-
//#region dist/.types-work/region-map-contract-
|
|
1073
|
+
//#region dist/.types-work/region-map-contract-v0ic4OTv.d.ts
|
|
1074
1074
|
interface ChartRegionMapRenderer {
|
|
1075
1075
|
render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
|
|
1076
1076
|
}
|
|
1077
1077
|
//#endregion
|
|
1078
|
-
//#region dist/.types-work/tiff-contract-
|
|
1078
|
+
//#region dist/.types-work/tiff-contract-CwDLah_7.d.ts
|
|
1079
1079
|
interface TiffRenderOptions {
|
|
1080
1080
|
targetWidthPx?: number;
|
|
1081
1081
|
targetHeightPx?: number;
|
|
@@ -1090,7 +1090,7 @@ interface TiffRenderer {
|
|
|
1090
1090
|
render(bytes: Uint8Array, options?: Readonly<TiffRenderOptions>): Promise<ImageBitmap | null>;
|
|
1091
1091
|
}
|
|
1092
1092
|
//#endregion
|
|
1093
|
-
//#region dist/.types-work/hyperlink-
|
|
1093
|
+
//#region dist/.types-work/hyperlink-0jvpW8AM.d.ts
|
|
1094
1094
|
type OoxmlErrorCode = 'encrypted' | 'invalid-password' | 'unsupported-encryption' | 'legacy-binary-format' | 'not-ooxml';
|
|
1095
1095
|
type OoxmlErrorStage = 'container' | 'decompression' | 'parsing' | 'serialization' | 'layout' | 'rendering' | 'worker';
|
|
1096
1096
|
declare class OoxmlError extends Error {
|
|
@@ -1205,7 +1205,7 @@ type HyperlinkTarget = {
|
|
|
1205
1205
|
};
|
|
1206
1206
|
declare function openExternalHyperlink(url: string, allowed?: readonly string[], win?: Pick<Window, 'open'> | undefined): boolean;
|
|
1207
1207
|
//#endregion
|
|
1208
|
-
//#region dist/.types-work/find-highlight-
|
|
1208
|
+
//#region dist/.types-work/find-highlight-DrynDP6K.d.ts
|
|
1209
1209
|
interface TextSelectionContextOptions {
|
|
1210
1210
|
readonly maxTextCharacters?: number;
|
|
1211
1211
|
readonly maxRunLocators?: number;
|
|
@@ -1266,7 +1266,7 @@ interface FindHighlightColors {
|
|
|
1266
1266
|
active?: string;
|
|
1267
1267
|
}
|
|
1268
1268
|
//#endregion
|
|
1269
|
-
//#region dist/.types-work/types-
|
|
1269
|
+
//#region dist/.types-work/types-C5ALFv33.d.ts
|
|
1270
1270
|
interface DocxDocumentModel {
|
|
1271
1271
|
section: SectionProps;
|
|
1272
1272
|
body: BodyElement[];
|
|
@@ -2013,7 +2013,7 @@ interface RenderPageOptions {
|
|
|
2013
2013
|
showTrackedChanges?: boolean;
|
|
2014
2014
|
}
|
|
2015
2015
|
//#endregion
|
|
2016
|
-
//#region dist/.types-work/docx-
|
|
2016
|
+
//#region dist/.types-work/docx-A9oFlQYX.d.ts
|
|
2017
2017
|
interface CommentAnchorRange {
|
|
2018
2018
|
readonly commentId: string;
|
|
2019
2019
|
readonly source: Readonly<DocxStorySource>;
|
|
@@ -2179,7 +2179,6 @@ declare class DocxDocument {
|
|
|
2179
2179
|
private readonly _rawParts;
|
|
2180
2180
|
private _embeddedFontFaces;
|
|
2181
2181
|
private _googleFontFaces;
|
|
2182
|
-
private _localMetricFontFaces;
|
|
2183
2182
|
private readonly _fetchImage;
|
|
2184
2183
|
private constructor();
|
|
2185
2184
|
static load(source: string | ArrayBuffer, opts?: LoadOptions): Promise<DocxDocument>;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region dist/.types-work/chart-
|
|
1
|
+
//#region dist/.types-work/chart-DyZ-c18j.d.ts
|
|
2
2
|
type DecodedImageBudgetStrategy = 'adaptive' | 'strict';
|
|
3
3
|
interface ImageResourceOptions {
|
|
4
4
|
decodedByteBudget?: number;
|
|
@@ -1255,12 +1255,12 @@ interface ChartRect {
|
|
|
1255
1255
|
h: number;
|
|
1256
1256
|
}
|
|
1257
1257
|
//#endregion
|
|
1258
|
-
//#region dist/.types-work/chart-ex-contract-
|
|
1258
|
+
//#region dist/.types-work/chart-ex-contract-CdrCTgpH.d.ts
|
|
1259
1259
|
interface ChartExRenderer {
|
|
1260
1260
|
render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
|
|
1261
1261
|
}
|
|
1262
1262
|
//#endregion
|
|
1263
|
-
//#region dist/.types-work/mathjax-
|
|
1263
|
+
//#region dist/.types-work/mathjax-Bh8Yow_s.d.ts
|
|
1264
1264
|
interface MathSvg {
|
|
1265
1265
|
svg: string;
|
|
1266
1266
|
widthEm: number;
|
|
@@ -1272,17 +1272,17 @@ interface MathRenderer {
|
|
|
1272
1272
|
mathMLToSvg(mathml: string): Promise<MathSvg>;
|
|
1273
1273
|
}
|
|
1274
1274
|
//#endregion
|
|
1275
|
-
//#region dist/.types-work/three-d-contract-
|
|
1275
|
+
//#region dist/.types-work/three-d-contract-DVjawIXV.d.ts
|
|
1276
1276
|
interface ChartThreeDRenderer {
|
|
1277
1277
|
render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
|
|
1278
1278
|
}
|
|
1279
1279
|
//#endregion
|
|
1280
|
-
//#region dist/.types-work/region-map-contract-
|
|
1280
|
+
//#region dist/.types-work/region-map-contract-v0ic4OTv.d.ts
|
|
1281
1281
|
interface ChartRegionMapRenderer {
|
|
1282
1282
|
render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
|
|
1283
1283
|
}
|
|
1284
1284
|
//#endregion
|
|
1285
|
-
//#region dist/.types-work/tiff-contract-
|
|
1285
|
+
//#region dist/.types-work/tiff-contract-CwDLah_7.d.ts
|
|
1286
1286
|
interface TiffRenderOptions {
|
|
1287
1287
|
targetWidthPx?: number;
|
|
1288
1288
|
targetHeightPx?: number;
|
|
@@ -1297,7 +1297,7 @@ interface TiffRenderer {
|
|
|
1297
1297
|
render(bytes: Uint8Array, options?: Readonly<TiffRenderOptions>): Promise<ImageBitmap | null>;
|
|
1298
1298
|
}
|
|
1299
1299
|
//#endregion
|
|
1300
|
-
//#region dist/.types-work/hyperlink-
|
|
1300
|
+
//#region dist/.types-work/hyperlink-0jvpW8AM.d.ts
|
|
1301
1301
|
type OoxmlErrorCode = 'encrypted' | 'invalid-password' | 'unsupported-encryption' | 'legacy-binary-format' | 'not-ooxml';
|
|
1302
1302
|
type OoxmlErrorStage = 'container' | 'decompression' | 'parsing' | 'serialization' | 'layout' | 'rendering' | 'worker';
|
|
1303
1303
|
declare class OoxmlError extends Error {
|
|
@@ -1412,7 +1412,7 @@ type HyperlinkTarget = {
|
|
|
1412
1412
|
};
|
|
1413
1413
|
declare function openExternalHyperlink(url: string, allowed?: readonly string[], win?: Pick<Window, 'open'> | undefined): boolean;
|
|
1414
1414
|
//#endregion
|
|
1415
|
-
//#region dist/.types-work/find-highlight-
|
|
1415
|
+
//#region dist/.types-work/find-highlight-DrynDP6K.d.ts
|
|
1416
1416
|
interface TextSelectionContextOptions {
|
|
1417
1417
|
readonly maxTextCharacters?: number;
|
|
1418
1418
|
readonly maxRunLocators?: number;
|
|
@@ -1473,7 +1473,7 @@ interface FindHighlightColors {
|
|
|
1473
1473
|
active?: string;
|
|
1474
1474
|
}
|
|
1475
1475
|
//#endregion
|
|
1476
|
-
//#region dist/.types-work/types-
|
|
1476
|
+
//#region dist/.types-work/types-C5ALFv33.d.ts
|
|
1477
1477
|
interface DocxDocumentModel {
|
|
1478
1478
|
section: SectionProps;
|
|
1479
1479
|
body: BodyElement[];
|
|
@@ -2220,7 +2220,7 @@ interface RenderPageOptions {
|
|
|
2220
2220
|
showTrackedChanges?: boolean;
|
|
2221
2221
|
}
|
|
2222
2222
|
//#endregion
|
|
2223
|
-
//#region dist/.types-work/docx-
|
|
2223
|
+
//#region dist/.types-work/docx-A9oFlQYX.d.ts
|
|
2224
2224
|
interface CommentAnchorRange {
|
|
2225
2225
|
readonly commentId: string;
|
|
2226
2226
|
readonly source: Readonly<DocxStorySource>;
|
|
@@ -2386,7 +2386,6 @@ declare class DocxDocument {
|
|
|
2386
2386
|
private readonly _rawParts;
|
|
2387
2387
|
private _embeddedFontFaces;
|
|
2388
2388
|
private _googleFontFaces;
|
|
2389
|
-
private _localMetricFontFaces;
|
|
2390
2389
|
private readonly _fetchImage;
|
|
2391
2390
|
private constructor();
|
|
2392
2391
|
static load(source: string | ArrayBuffer, opts?: LoadOptions$2): Promise<DocxDocument>;
|
|
@@ -2766,7 +2765,7 @@ declare namespace docx_d_exports {
|
|
|
2766
2765
|
export { AnchorHostMetrics, AutoResizeOptions, BodyElement, BorderSpec, CellBorders, CellElement, ChartAreaGroupDecorations, ChartBarGroupDecorations, ChartDataLabelOverride, ChartDataPointOverride, ChartDataTable, ChartDecorationLineStyle, ChartDisplayUnits, ChartDisplayUnitsLabel, ChartErrBars, ChartExElementStyle, ChartExRenderer, ChartLabelBox, ChartLegendEntryOverride, ChartLineDashSegment, ChartLineGroupDecorations, ChartManualLayout, ChartModel, ChartOfPie, ChartPlotGroup, ChartPlotGroupAxisSlot, ChartPlotGroupKind, ChartRect, ChartRegionMapRenderer, ChartRun, ChartSeries, ChartSeriesDataLabels, ChartStockBarPaint, ChartStockUpDownBarStyle, ChartSurfaceBandFormat, ChartTextBox, ChartTextParagraph, ChartTextRun, ChartThreeD, ChartThreeDPictureOptions, ChartThreeDRenderer, ChartThreeDSeriesAxis, ChartThreeDSurface, ChartTrendline, ChartType, ChartexBoxSeries, ChartexBoxWhisker, ChartexGeography, ChartexHistogramBinning, ChartexRegionMap, ChartexRegionMapColors, ChartexRegionMapRow, ChartexSunburst, ChartexSunburstRow, ChartexTreemap, ChartexValueColorStop, ColSpec, CollectPageRunsOptions, ColumnsSpec, CommentAnchorGeometryFallback, CommentAnchorPoint, CommentAnchorRange, DecodedImageBudgetStrategy, DocComment, DocNote, DocParagraph, DocRevision, DocRun, DocSettings, DocTable, DocTableCell, DocTableRow, DocxCommentAnchorKind, DocxCommentHighlightRect, DocxCommentMark, DocxCommentSelectionContext, DocxCommentsOptions, DocxDocument, DocxDocumentModel, DocxElementContext, DocxElementContextOptions, DocxHighlightColors, DocxHighlightMatch, DocxMatchLocation, DocxPageCommentThreadsOptions, DocxPagePoint, DocxRunBorder, DocxScrollViewer, DocxScrollViewerOptions, DocxSelectionContext, DocxSelectionContextOptions, DocxSelectionRunLocator, DocxSelectionSourceLocator, DocxStorySource, DocxTextRun, DocxTextRunInfo, DocxTextSelectionContext, DocxViewer, DocxViewerOptions, DrawingMLCustomDashSegment, Duotone$1 as Duotone, EmbeddedFontRef, FieldRun, FillRect, FindHighlightColors, FindMatch, FindMatchesOptions, FramePr, GradientFill, GradientStop, HeaderFooter, HeadersFooters, HyperlinkTarget, ImageFill, ImageResourceOptions, ImageRun, LegendManualLayout, LineEnd, LineNumbering, LineSpacing, LoadOptions$2 as LoadOptions, MatchRunSlice, MathAccent, MathArray, MathBar, MathBorderBox, MathBox, MathDelimiter, MathFraction, MathFunc, MathGroup, MathGroupChr, MathLimit, MathNary, MathNode, MathPhant, MathRadical, MathRenderer, MathRun, MathSPre, MathScript, MathStyle, MathSvg, NoFill, NoteRef, NumberingInfo, OoxmlDecodedImageLimitError, OoxmlDecodedImageLimitMetric, OoxmlError, OoxmlErrorCode, OoxmlErrorStage, OoxmlFormat, OoxmlResourceLimit, OoxmlResourceLimitError, OoxmlResourceLimitErrorDetails, OoxmlResourceLimits, OoxmlResourceMetric, OoxmlResourceMetrics, OoxmlResourceMetricsCheckpoint, OoxmlResourceName, OoxmlResourcePolicySnapshot, OoxmlResourceUsageSnapshot, OoxmlResourceViolation, PTabRun, PageBorderEdge, PageBorders, PageNumType, ParaBorderEdge, ParagraphBorders, PathCmd$1 as PathCmd, PatternFill, RenderPageOptions, RenderPageToBitmapOptions, ResolveDocxCommentThreadsOptions, ResolvedDocxCommentAnchor, ResolvedDocxCommentThread, RevisionAnchorGeometryFallback, RevisionAnchorRange, RubyAnnotation, RunRevision, SecondaryValueAxis, SectionGeom, SectionProps, ShapeFill$1 as ShapeFill, ShapeRun, ShapeStrokeFill, ShapeText$1 as ShapeText, ShapeTextRun$1 as ShapeTextRun, SolidFill, SrcRect, TabStop, TableBorders, TblpPr, TextPath, TextSelectionContextOptions, TiffDecodeError, TiffRenderOptions, TiffRenderer, TileInfo, ViewerCommentConnectorOptions, ViewerCommentConnectorRoute, ViewerCommentConnectorStroke, ViewerCommentMessageContext, ViewerCommentThreadContext, ViewerContextMenuEvent, ZoomableViewer, autoResize, buildDocxHighlightLayer, buildDocxTextLayer, isOoxmlDecodedImageLimitError, isTiffDecodeError, noteText, openExternalHyperlink, readDocxTextSelectionContext, resolveCommentAnchorRuns, resolveDocxCommentThreads, resolveRevisionAnchorRuns };
|
|
2767
2766
|
}
|
|
2768
2767
|
//#endregion
|
|
2769
|
-
//#region dist/.types-work/types-
|
|
2768
|
+
//#region dist/.types-work/types-DXxlZCW0.d.ts
|
|
2770
2769
|
interface BlipBullet {
|
|
2771
2770
|
type: 'blip';
|
|
2772
2771
|
imagePath: string;
|
|
@@ -3028,7 +3027,7 @@ interface PictureElement {
|
|
|
3028
3027
|
sp3d?: Sp3d;
|
|
3029
3028
|
}
|
|
3030
3029
|
//#endregion
|
|
3031
|
-
//#region dist/.types-work/pptx-
|
|
3030
|
+
//#region dist/.types-work/pptx-Da48_OSF.d.ts
|
|
3032
3031
|
interface PptxTextRunInfo {
|
|
3033
3032
|
elementIndex?: number;
|
|
3034
3033
|
origin?: SlideElementOrigin;
|
|
@@ -3602,7 +3601,7 @@ declare namespace pptx_d_exports {
|
|
|
3602
3601
|
export { ArrowEnd, AutoResizeOptions, Bevel3d, BlipBullet, Bullet, Camera3d, ChartAreaGroupDecorations, ChartBarGroupDecorations, ChartDataLabelOverride, ChartDataPointOverride, ChartDataTable, ChartDecorationLineStyle, ChartDisplayUnits, ChartDisplayUnitsLabel, ChartElement, ChartErrBars, ChartExElementStyle, ChartExRenderer, ChartLabelBox, ChartLegendEntryOverride, ChartLineDashSegment, ChartLineGroupDecorations, ChartManualLayout, ChartModel, ChartOfPie, ChartPlotGroup, ChartPlotGroupAxisSlot, ChartPlotGroupKind, ChartRect, ChartRegionMapRenderer, ChartSeries, ChartSeriesDataLabels, ChartStockBarPaint, ChartStockUpDownBarStyle, ChartSurfaceBandFormat, ChartTextBox, ChartTextParagraph, ChartTextRun, ChartThreeD, ChartThreeDPictureOptions, ChartThreeDRenderer, ChartThreeDSeriesAxis, ChartThreeDSurface, ChartTrendline, ChartType, ChartexBoxSeries, ChartexBoxWhisker, ChartexGeography, ChartexHistogramBinning, ChartexRegionMap, ChartexRegionMapColors, ChartexRegionMapRow, ChartexSunburst, ChartexSunburstRow, ChartexTreemap, ChartexValueColorStop, DecodedImageBudgetStrategy, DimOptions, DrawingMLCustomDashSegment, Duotone$1 as Duotone, EquationRun, Fill, FillRect, FindHighlightColors, FindMatch, FindMatchesOptions, Glow, GradientFill, GradientStop$1 as GradientStop, HiddenSlideMode, HyperlinkTarget, ImageFill, ImageResourceOptions, LegendManualLayout, LightRig, LineBreak, LoadOptions$1 as LoadOptions, MatchRunSlice, MathAccent, MathArray, MathBar, MathBorderBox, MathBox, MathDelimiter, MathFraction, MathFunc, MathGroup, MathGroupChr, MathLimit, MathNary, MathNode, MathPhant, MathRadical, MathRenderer, MathRun, MathSPre, MathScript, MathStyle, MathSvg, MediaElement, NoFill, OoxmlDecodedImageLimitError, OoxmlDecodedImageLimitMetric, OoxmlError, OoxmlErrorCode, OoxmlErrorStage, OoxmlFormat, OoxmlResourceLimit, OoxmlResourceLimitError, OoxmlResourceLimitErrorDetails, OoxmlResourceLimits, OoxmlResourceMetric, OoxmlResourceMetrics, OoxmlResourceMetricsCheckpoint, OoxmlResourceName, OoxmlResourcePolicySnapshot, OoxmlResourceUsageSnapshot, OoxmlResourceViolation, Paragraph, PathCmd$2 as PathCmd, PatternFill, PictureElement, PptxComment, PptxCommentAnchor, PptxCommentReply, PptxCommentSelectionContext, PptxCommentsOptions, PptxElementBounds, PptxElementContext, PptxElementContextOptions, PptxHighlightColors, PptxHighlightMatch, PptxMatchLocation, PptxPresentation, PptxScrollViewer, PptxScrollViewerOptions, PptxSelectionContext, PptxSelectionContextOptions, PptxSelectionRunLocator, PptxSlidePoint, PptxTextRunInfo, PptxTextSelectionContext, PptxViewer, PptxViewerOptions, PresentSlideOptions, Presentation, PresentationHandle, Reflection, RenderOptions, RenderSlideOptions, RenderSlideToBitmapOptions, Rot3d, Scene3d, SecondaryValueAxis, Shadow, ShapeElement, Slide, SlideElement, SlideElementOrigin, SlideElementSource, SlideRenderOptions, SoftEdge, SolidFill, Sp3d, SpaceLine, SrcRect, Stroke, TabStop$1 as TabStop, TableCell, TableElement, TableRow, TextBody, TextOutline, TextRect, TextRun, TextRunCallback, TextRunData, TextSelectionContextOptions, TiffDecodeError, TiffRenderOptions, TiffRenderer, TileInfo, ViewerCommentConnectorOptions, ViewerCommentConnectorRoute, ViewerCommentConnectorStroke, ViewerCommentMessageContext, ViewerCommentThreadContext, ViewerContextMenuEvent, ZoomableViewer, autoResize, buildPptxHighlightLayer, buildPptxTextLayer, isOoxmlDecodedImageLimitError, isTiffDecodeError, openExternalHyperlink, readPptxTextSelectionContext, renderSlide };
|
|
3603
3602
|
}
|
|
3604
3603
|
//#endregion
|
|
3605
|
-
//#region dist/.types-work/types-
|
|
3604
|
+
//#region dist/.types-work/types-B0AE_k3g.d.ts
|
|
3606
3605
|
type ShapeFill = Exclude<Fill, {
|
|
3607
3606
|
fillType: 'image';
|
|
3608
3607
|
} | {
|
|
@@ -3630,6 +3629,7 @@ interface MergeCell {
|
|
|
3630
3629
|
interface Worksheet {
|
|
3631
3630
|
name: string;
|
|
3632
3631
|
isChartSheet?: boolean;
|
|
3632
|
+
isDialogSheet?: boolean;
|
|
3633
3633
|
rows: Row[];
|
|
3634
3634
|
colWidths: Record<number, number>;
|
|
3635
3635
|
colWidthRanges?: Array<{
|
|
@@ -4356,7 +4356,7 @@ interface XlsxRenderViewportOptions {
|
|
|
4356
4356
|
} | null;
|
|
4357
4357
|
}
|
|
4358
4358
|
//#endregion
|
|
4359
|
-
//#region dist/.types-work/xlsx-
|
|
4359
|
+
//#region dist/.types-work/xlsx-BGOMFAqN.d.ts
|
|
4360
4360
|
type ResolvedList = {
|
|
4361
4361
|
kind: 'values';
|
|
4362
4362
|
values: string[];
|
|
@@ -4364,6 +4364,19 @@ type ResolvedList = {
|
|
|
4364
4364
|
kind: 'formula';
|
|
4365
4365
|
formula: string;
|
|
4366
4366
|
};
|
|
4367
|
+
type XlsxSheetLoadOptions = Readonly<{
|
|
4368
|
+
format?: 'xlsx';
|
|
4369
|
+
}> | Readonly<{
|
|
4370
|
+
format: 'csv' | 'tsv';
|
|
4371
|
+
delimiter?: string;
|
|
4372
|
+
encoding?: string;
|
|
4373
|
+
sheetName?: string;
|
|
4374
|
+
}> | Readonly<{
|
|
4375
|
+
format: 'delimited-text';
|
|
4376
|
+
delimiter: string;
|
|
4377
|
+
encoding?: string;
|
|
4378
|
+
sheetName?: string;
|
|
4379
|
+
}>;
|
|
4367
4380
|
type RenderViewportToBitmapOptions = Omit<XlsxRenderViewportOptions, 'onTextRun'> & {
|
|
4368
4381
|
width: number;
|
|
4369
4382
|
height: number;
|
|
@@ -4373,8 +4386,8 @@ interface LoadOptions extends LoadOptions$3 {
|
|
|
4373
4386
|
}
|
|
4374
4387
|
declare class XlsxWorkbook {
|
|
4375
4388
|
private metrics;
|
|
4376
|
-
private worker;
|
|
4377
4389
|
private bridge;
|
|
4390
|
+
private delimitedTextBacked;
|
|
4378
4391
|
private parsedWorkbook;
|
|
4379
4392
|
private sheetCache;
|
|
4380
4393
|
private sheetLoads;
|
|
@@ -4399,8 +4412,10 @@ declare class XlsxWorkbook {
|
|
|
4399
4412
|
private resourceFailure;
|
|
4400
4413
|
private constructor();
|
|
4401
4414
|
get mode(): 'main' | 'worker';
|
|
4415
|
+
private static loadDelimitedText;
|
|
4402
4416
|
static load(source: string | ArrayBuffer, opts?: LoadOptions): Promise<XlsxWorkbook>;
|
|
4403
4417
|
private _load;
|
|
4418
|
+
private _loadDelimitedText;
|
|
4404
4419
|
private retainFontsInSet;
|
|
4405
4420
|
get sheetNames(): string[];
|
|
4406
4421
|
get sheetCount(): number;
|
|
@@ -4425,6 +4440,8 @@ declare class XlsxWorkbook {
|
|
|
4425
4440
|
private withWorksheetArchiveOperation;
|
|
4426
4441
|
destroy(): void;
|
|
4427
4442
|
private assertResourceHealthy;
|
|
4443
|
+
private requireBridge;
|
|
4444
|
+
private requireArchiveBridge;
|
|
4428
4445
|
}
|
|
4429
4446
|
type CanvasViewerRenderMode = 'main' | 'worker';
|
|
4430
4447
|
interface CellAddress {
|
|
@@ -4520,6 +4537,7 @@ interface XlsxMatchLocation {
|
|
|
4520
4537
|
col: number;
|
|
4521
4538
|
}
|
|
4522
4539
|
interface XlsxCommentsOptions extends ViewerCommentsOptions {}
|
|
4540
|
+
declare const loadXlsxViewerSource: unique symbol;
|
|
4523
4541
|
type HiddenSheetMode = 'show' | 'skip' | 'dim';
|
|
4524
4542
|
interface XlsxSheetViewerOptions extends LoadOptions {
|
|
4525
4543
|
imageResources?: ImageResourceOptions;
|
|
@@ -4690,7 +4708,7 @@ declare class XlsxViewerEngine implements ZoomableViewer {
|
|
|
4690
4708
|
private refreshChromeTheme;
|
|
4691
4709
|
private installChromeThemeRefresh;
|
|
4692
4710
|
private _collectSheetCells;
|
|
4693
|
-
|
|
4711
|
+
[loadXlsxViewerSource](source: string | ArrayBuffer, sourceOptions?: XlsxSheetLoadOptions): Promise<void>;
|
|
4694
4712
|
private activateWorkbook;
|
|
4695
4713
|
private ensureHostFonts;
|
|
4696
4714
|
private releaseHostFonts;
|
|
@@ -4842,6 +4860,7 @@ declare class XlsxViewerEngine implements ZoomableViewer {
|
|
|
4842
4860
|
declare class XlsxViewer extends XlsxViewerEngine {
|
|
4843
4861
|
static fromWorkbook(container: HTMLElement, workbook: XlsxWorkbook, opts?: Omit<XlsxViewerOptions, keyof LoadOptions>): Omit<XlsxViewer, 'load'>;
|
|
4844
4862
|
constructor(container: HTMLElement, opts?: XlsxViewerOptions);
|
|
4863
|
+
load(source: string | ArrayBuffer): Promise<void>;
|
|
4845
4864
|
}
|
|
4846
4865
|
declare class XlsxSheetViewer implements ZoomableViewer {
|
|
4847
4866
|
readonly canvasElement: HTMLCanvasElement;
|
|
@@ -4852,7 +4871,7 @@ declare class XlsxSheetViewer implements ZoomableViewer {
|
|
|
4852
4871
|
private lastMetrics;
|
|
4853
4872
|
static fromWorkbook(canvasElement: HTMLCanvasElement, workbook: XlsxWorkbook, options?: Omit<XlsxSheetViewerOptions, keyof LoadOptions>): Omit<XlsxSheetViewer, 'load'>;
|
|
4854
4873
|
constructor(canvasElement: HTMLCanvasElement, options?: XlsxSheetViewerOptions);
|
|
4855
|
-
load(source: string | ArrayBuffer): Promise<void>;
|
|
4874
|
+
load(source: string | ArrayBuffer, options?: XlsxSheetLoadOptions): Promise<void>;
|
|
4856
4875
|
get sheetIndex(): number;
|
|
4857
4876
|
get sheetCount(): number;
|
|
4858
4877
|
get sheetNames(): string[];
|
|
@@ -4893,7 +4912,7 @@ declare class XlsxSheetViewer implements ZoomableViewer {
|
|
|
4893
4912
|
}
|
|
4894
4913
|
declare function resolveSharedStrings(ws: Worksheet, sharedStrings: SharedString[]): Worksheet;
|
|
4895
4914
|
declare namespace xlsx_d_exports {
|
|
4896
|
-
export { ArrowEnd, AutoResizeOptions, Border, BorderEdge, Cell, CellAddress, CellFill, CellFont, CellValue, CellXf, CfIcon, CfRule, CfStop, CfValue, ChartAnchor, ChartAreaGroupDecorations, ChartBarGroupDecorations, ChartDataLabelOverride, ChartDataPointOverride, ChartDataTable, ChartDecorationLineStyle, ChartDisplayUnits, ChartDisplayUnitsLabel, ChartErrBars, ChartExElementStyle, ChartExRenderer, ChartLabelBox, ChartLegendEntryOverride, ChartLineDashSegment, ChartLineGroupDecorations, ChartManualLayout, ChartModel, ChartOfPie, ChartPlotGroup, ChartPlotGroupAxisSlot, ChartPlotGroupKind, ChartRect, ChartRegionMapRenderer, ChartSeries, ChartSeriesDataLabels, ChartStockBarPaint, ChartStockUpDownBarStyle, ChartSurfaceBandFormat, ChartTextBox, ChartTextParagraph, ChartTextRun, ChartThreeD, ChartThreeDPictureOptions, ChartThreeDRenderer, ChartThreeDSeriesAxis, ChartThreeDSurface, ChartTrendline, ChartType, ChartexBoxSeries, ChartexBoxWhisker, ChartexGeography, ChartexHistogramBinning, ChartexRegionMap, ChartexRegionMapColors, ChartexRegionMapRow, ChartexSunburst, ChartexSunburstRow, ChartexTreemap, ChartexValueColorStop, ConditionalFormat, DataValidation, DecodedImageBudgetStrategy, DefinedName, DrawingMLCustomDashSegment, Duotone, Dxf, FillRect, FindHighlightColors, FindMatch, FindMatchesOptions, GradientFill, GradientFillSpec, GradientStop$1 as GradientStop, HiddenSheetMode, Hyperlink, HyperlinkTarget, ImageAnchor, ImageFill, ImageResourceOptions, LegendManualLayout, LoadOptions, MAX_SELECTION_AREAS, MAX_SELECTION_CONTEXT_CELLS, MAX_SELECTION_CONTEXT_TEXT_CHARACTERS, MathAccent, MathArray, MathBar, MathBorderBox, MathBox, MathDelimiter, MathFraction, MathFunc, MathGroup, MathGroupChr, MathLimit, MathNary, MathNode, MathPhant, MathRadical, MathRenderer, MathRun, MathSPre, MathScript, MathStyle, MathSvg, MergeCell, NoFill, NumFmt, OoxmlDecodedImageLimitError, OoxmlDecodedImageLimitMetric, OoxmlError, OoxmlErrorCode, OoxmlErrorStage, OoxmlFormat, OoxmlResourceLimit, OoxmlResourceLimitError, OoxmlResourceLimitErrorDetails, OoxmlResourceLimits, OoxmlResourceMetric, OoxmlResourceMetrics, OoxmlResourceMetricsCheckpoint, OoxmlResourceName, OoxmlResourcePolicySnapshot, OoxmlResourceUsageSnapshot, OoxmlResourceViolation, OutlinePr, ParsedWorkbook, PathCmd, PathInfo, PatternFill, PhoneticAlignment, PhoneticProperties, PhoneticRun, PhoneticType, PivotCacheSource, PivotDataField, PivotDiagnostic, PivotLocation, PivotMetadataStatus, PivotPageField, PivotPartialReason, PivotTableMetadata, RenderViewportToBitmapOptions, ResolvedList, Row, Run, RunFont, SecondaryValueAxis, ShapeAnchor, ShapeFill, ShapeGeom, ShapeInfo, ShapeParagraph, ShapeText, ShapeTextRun, SharedString, SheetMeta, SheetVisibility, SlicerAnchor, SlicerElementStyle, SlicerItem, SlicerStyle, SolidFill, SpaceLine, Sparkline, SparklineGroup, SrcRect, Styles, TableColumnInfo, TableInfo, TiffDecodeError, TiffRenderOptions, TiffRenderer, TileInfo, ViewerCommentMessageContext, ViewerCommentThreadContext, ViewerContextMenuEvent, ViewportRange, Workbook, Worksheet, WorksheetCellRange, XlsxCellViewportRect, XlsxComment, XlsxCommentReply, XlsxCommentsOptions, XlsxCopyResult, XlsxElementAnchorMarker, XlsxElementContext, XlsxMatchLocation, XlsxRangeSelectionContext, XlsxRenderViewportOptions, XlsxScrollToCellOptions, XlsxSelectionArea, XlsxSelectionContext, XlsxSelectionContextCell, XlsxSelectionContextOptions, XlsxSelectionInput, XlsxSelectionState, XlsxSheetViewer, XlsxSheetViewerOptions, XlsxTextRunInfo, XlsxViewer, XlsxViewerOptions, XlsxViewportOffset, XlsxWorkbook, ZoomableViewer, autoResize, isOoxmlDecodedImageLimitError, isTiffDecodeError, openExternalHyperlink, resolveSharedStrings };
|
|
4915
|
+
export { ArrowEnd, AutoResizeOptions, Border, BorderEdge, Cell, CellAddress, CellFill, CellFont, CellValue, CellXf, CfIcon, CfRule, CfStop, CfValue, ChartAnchor, ChartAreaGroupDecorations, ChartBarGroupDecorations, ChartDataLabelOverride, ChartDataPointOverride, ChartDataTable, ChartDecorationLineStyle, ChartDisplayUnits, ChartDisplayUnitsLabel, ChartErrBars, ChartExElementStyle, ChartExRenderer, ChartLabelBox, ChartLegendEntryOverride, ChartLineDashSegment, ChartLineGroupDecorations, ChartManualLayout, ChartModel, ChartOfPie, ChartPlotGroup, ChartPlotGroupAxisSlot, ChartPlotGroupKind, ChartRect, ChartRegionMapRenderer, ChartSeries, ChartSeriesDataLabels, ChartStockBarPaint, ChartStockUpDownBarStyle, ChartSurfaceBandFormat, ChartTextBox, ChartTextParagraph, ChartTextRun, ChartThreeD, ChartThreeDPictureOptions, ChartThreeDRenderer, ChartThreeDSeriesAxis, ChartThreeDSurface, ChartTrendline, ChartType, ChartexBoxSeries, ChartexBoxWhisker, ChartexGeography, ChartexHistogramBinning, ChartexRegionMap, ChartexRegionMapColors, ChartexRegionMapRow, ChartexSunburst, ChartexSunburstRow, ChartexTreemap, ChartexValueColorStop, ConditionalFormat, DataValidation, DecodedImageBudgetStrategy, DefinedName, DrawingMLCustomDashSegment, Duotone, Dxf, FillRect, FindHighlightColors, FindMatch, FindMatchesOptions, GradientFill, GradientFillSpec, GradientStop$1 as GradientStop, HiddenSheetMode, Hyperlink, HyperlinkTarget, ImageAnchor, ImageFill, ImageResourceOptions, LegendManualLayout, LoadOptions, MAX_SELECTION_AREAS, MAX_SELECTION_CONTEXT_CELLS, MAX_SELECTION_CONTEXT_TEXT_CHARACTERS, MathAccent, MathArray, MathBar, MathBorderBox, MathBox, MathDelimiter, MathFraction, MathFunc, MathGroup, MathGroupChr, MathLimit, MathNary, MathNode, MathPhant, MathRadical, MathRenderer, MathRun, MathSPre, MathScript, MathStyle, MathSvg, MergeCell, NoFill, NumFmt, OoxmlDecodedImageLimitError, OoxmlDecodedImageLimitMetric, OoxmlError, OoxmlErrorCode, OoxmlErrorStage, OoxmlFormat, OoxmlResourceLimit, OoxmlResourceLimitError, OoxmlResourceLimitErrorDetails, OoxmlResourceLimits, OoxmlResourceMetric, OoxmlResourceMetrics, OoxmlResourceMetricsCheckpoint, OoxmlResourceName, OoxmlResourcePolicySnapshot, OoxmlResourceUsageSnapshot, OoxmlResourceViolation, OutlinePr, ParsedWorkbook, PathCmd, PathInfo, PatternFill, PhoneticAlignment, PhoneticProperties, PhoneticRun, PhoneticType, PivotCacheSource, PivotDataField, PivotDiagnostic, PivotLocation, PivotMetadataStatus, PivotPageField, PivotPartialReason, PivotTableMetadata, RenderViewportToBitmapOptions, ResolvedList, Row, Run, RunFont, SecondaryValueAxis, ShapeAnchor, ShapeFill, ShapeGeom, ShapeInfo, ShapeParagraph, ShapeText, ShapeTextRun, SharedString, SheetMeta, SheetVisibility, SlicerAnchor, SlicerElementStyle, SlicerItem, SlicerStyle, SolidFill, SpaceLine, Sparkline, SparklineGroup, SrcRect, Styles, TableColumnInfo, TableInfo, TiffDecodeError, TiffRenderOptions, TiffRenderer, TileInfo, ViewerCommentMessageContext, ViewerCommentThreadContext, ViewerContextMenuEvent, ViewportRange, Workbook, Worksheet, WorksheetCellRange, XlsxCellViewportRect, XlsxComment, XlsxCommentReply, XlsxCommentsOptions, XlsxCopyResult, XlsxElementAnchorMarker, XlsxElementContext, XlsxMatchLocation, XlsxRangeSelectionContext, XlsxRenderViewportOptions, XlsxScrollToCellOptions, XlsxSelectionArea, XlsxSelectionContext, XlsxSelectionContextCell, XlsxSelectionContextOptions, XlsxSelectionInput, XlsxSelectionState, XlsxSheetLoadOptions, XlsxSheetViewer, XlsxSheetViewerOptions, XlsxTextRunInfo, XlsxViewer, XlsxViewerOptions, XlsxViewportOffset, XlsxWorkbook, ZoomableViewer, autoResize, isOoxmlDecodedImageLimitError, isTiffDecodeError, openExternalHyperlink, resolveSharedStrings };
|
|
4897
4916
|
}
|
|
4898
4917
|
//#endregion
|
|
4899
4918
|
export { docx_d_exports as docx, pptx_d_exports as pptx, xlsx_d_exports as xlsx };
|
package/dist/types/math.d.ts
CHANGED
package/dist/types/node.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region dist/.types-work/chart-
|
|
1
|
+
//#region dist/.types-work/chart-DyZ-c18j.d.ts
|
|
2
2
|
type MathStyle = 'roman' | 'italic' | 'bold' | 'boldItalic';
|
|
3
3
|
interface MathRun {
|
|
4
4
|
kind: 'run';
|
|
@@ -1231,7 +1231,7 @@ interface ChartLegendEntryOverride {
|
|
|
1231
1231
|
fontBold?: boolean | null;
|
|
1232
1232
|
}
|
|
1233
1233
|
//#endregion
|
|
1234
|
-
//#region dist/.types-work/hyperlink-
|
|
1234
|
+
//#region dist/.types-work/hyperlink-0jvpW8AM.d.ts
|
|
1235
1235
|
type OoxmlErrorStage = 'container' | 'decompression' | 'parsing' | 'serialization' | 'layout' | 'rendering' | 'worker';
|
|
1236
1236
|
type OoxmlFormat = 'docx' | 'xlsx' | 'pptx';
|
|
1237
1237
|
interface OoxmlResourceUsageSnapshot {
|
|
@@ -1317,7 +1317,7 @@ type HyperlinkTarget = {
|
|
|
1317
1317
|
slideIndex?: number;
|
|
1318
1318
|
};
|
|
1319
1319
|
//#endregion
|
|
1320
|
-
//#region dist/.types-work/types-
|
|
1320
|
+
//#region dist/.types-work/types-C5ALFv33.d.ts
|
|
1321
1321
|
interface DocxDocumentModel {
|
|
1322
1322
|
section: SectionProps;
|
|
1323
1323
|
body: BodyElement[];
|
|
@@ -2054,7 +2054,7 @@ interface DocxTextRunInfo {
|
|
|
2054
2054
|
eastAsianVert?: boolean;
|
|
2055
2055
|
}
|
|
2056
2056
|
//#endregion
|
|
2057
|
-
//#region dist/.types-work/types-
|
|
2057
|
+
//#region dist/.types-work/types-DXxlZCW0.d.ts
|
|
2058
2058
|
interface Paragraph extends Paragraph$1 {
|
|
2059
2059
|
eaLnBrk: boolean;
|
|
2060
2060
|
defTabSz?: number;
|
|
@@ -2304,7 +2304,7 @@ interface PictureElement {
|
|
|
2304
2304
|
sp3d?: Sp3d;
|
|
2305
2305
|
}
|
|
2306
2306
|
//#endregion
|
|
2307
|
-
//#region dist/.types-work/types-
|
|
2307
|
+
//#region dist/.types-work/types-B0AE_k3g.d.ts
|
|
2308
2308
|
type ShapeFill = Exclude<Fill, {
|
|
2309
2309
|
fillType: 'image';
|
|
2310
2310
|
} | {
|
|
@@ -2331,6 +2331,7 @@ interface MergeCell {
|
|
|
2331
2331
|
interface Worksheet {
|
|
2332
2332
|
name: string;
|
|
2333
2333
|
isChartSheet?: boolean;
|
|
2334
|
+
isDialogSheet?: boolean;
|
|
2334
2335
|
rows: Row[];
|
|
2335
2336
|
colWidths: Record<number, number>;
|
|
2336
2337
|
colWidthRanges?: Array<{
|
package/dist/types/pptx.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region dist/.types-work/chart-
|
|
1
|
+
//#region dist/.types-work/chart-DyZ-c18j.d.ts
|
|
2
2
|
type DecodedImageBudgetStrategy = 'adaptive' | 'strict';
|
|
3
3
|
interface ImageResourceOptions {
|
|
4
4
|
decodedByteBudget?: number;
|
|
@@ -1255,12 +1255,12 @@ interface ChartRect {
|
|
|
1255
1255
|
h: number;
|
|
1256
1256
|
}
|
|
1257
1257
|
//#endregion
|
|
1258
|
-
//#region dist/.types-work/chart-ex-contract-
|
|
1258
|
+
//#region dist/.types-work/chart-ex-contract-CdrCTgpH.d.ts
|
|
1259
1259
|
interface ChartExRenderer {
|
|
1260
1260
|
render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
|
|
1261
1261
|
}
|
|
1262
1262
|
//#endregion
|
|
1263
|
-
//#region dist/.types-work/mathjax-
|
|
1263
|
+
//#region dist/.types-work/mathjax-Bh8Yow_s.d.ts
|
|
1264
1264
|
interface MathSvg {
|
|
1265
1265
|
svg: string;
|
|
1266
1266
|
widthEm: number;
|
|
@@ -1272,17 +1272,17 @@ interface MathRenderer {
|
|
|
1272
1272
|
mathMLToSvg(mathml: string): Promise<MathSvg>;
|
|
1273
1273
|
}
|
|
1274
1274
|
//#endregion
|
|
1275
|
-
//#region dist/.types-work/three-d-contract-
|
|
1275
|
+
//#region dist/.types-work/three-d-contract-DVjawIXV.d.ts
|
|
1276
1276
|
interface ChartThreeDRenderer {
|
|
1277
1277
|
render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
|
|
1278
1278
|
}
|
|
1279
1279
|
//#endregion
|
|
1280
|
-
//#region dist/.types-work/region-map-contract-
|
|
1280
|
+
//#region dist/.types-work/region-map-contract-v0ic4OTv.d.ts
|
|
1281
1281
|
interface ChartRegionMapRenderer {
|
|
1282
1282
|
render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
|
|
1283
1283
|
}
|
|
1284
1284
|
//#endregion
|
|
1285
|
-
//#region dist/.types-work/tiff-contract-
|
|
1285
|
+
//#region dist/.types-work/tiff-contract-CwDLah_7.d.ts
|
|
1286
1286
|
interface TiffRenderOptions {
|
|
1287
1287
|
targetWidthPx?: number;
|
|
1288
1288
|
targetHeightPx?: number;
|
|
@@ -1297,7 +1297,7 @@ interface TiffRenderer {
|
|
|
1297
1297
|
render(bytes: Uint8Array, options?: Readonly<TiffRenderOptions>): Promise<ImageBitmap | null>;
|
|
1298
1298
|
}
|
|
1299
1299
|
//#endregion
|
|
1300
|
-
//#region dist/.types-work/hyperlink-
|
|
1300
|
+
//#region dist/.types-work/hyperlink-0jvpW8AM.d.ts
|
|
1301
1301
|
type OoxmlErrorCode = 'encrypted' | 'invalid-password' | 'unsupported-encryption' | 'legacy-binary-format' | 'not-ooxml';
|
|
1302
1302
|
type OoxmlErrorStage = 'container' | 'decompression' | 'parsing' | 'serialization' | 'layout' | 'rendering' | 'worker';
|
|
1303
1303
|
declare class OoxmlError extends Error {
|
|
@@ -1412,7 +1412,7 @@ type HyperlinkTarget = {
|
|
|
1412
1412
|
};
|
|
1413
1413
|
declare function openExternalHyperlink(url: string, allowed?: readonly string[], win?: Pick<Window, 'open'> | undefined): boolean;
|
|
1414
1414
|
//#endregion
|
|
1415
|
-
//#region dist/.types-work/find-highlight-
|
|
1415
|
+
//#region dist/.types-work/find-highlight-DrynDP6K.d.ts
|
|
1416
1416
|
interface TextSelectionContextOptions {
|
|
1417
1417
|
readonly maxTextCharacters?: number;
|
|
1418
1418
|
readonly maxRunLocators?: number;
|
|
@@ -1473,7 +1473,7 @@ interface FindHighlightColors {
|
|
|
1473
1473
|
active?: string;
|
|
1474
1474
|
}
|
|
1475
1475
|
//#endregion
|
|
1476
|
-
//#region dist/.types-work/types-
|
|
1476
|
+
//#region dist/.types-work/types-DXxlZCW0.d.ts
|
|
1477
1477
|
interface BlipBullet {
|
|
1478
1478
|
type: 'blip';
|
|
1479
1479
|
imagePath: string;
|
|
@@ -1735,7 +1735,7 @@ interface PictureElement {
|
|
|
1735
1735
|
sp3d?: Sp3d;
|
|
1736
1736
|
}
|
|
1737
1737
|
//#endregion
|
|
1738
|
-
//#region dist/.types-work/pptx-
|
|
1738
|
+
//#region dist/.types-work/pptx-Da48_OSF.d.ts
|
|
1739
1739
|
interface PptxTextRunInfo {
|
|
1740
1740
|
elementIndex?: number;
|
|
1741
1741
|
origin?: SlideElementOrigin;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region dist/.types-work/chart-
|
|
1
|
+
//#region dist/.types-work/chart-DyZ-c18j.d.ts
|
|
2
2
|
interface Duotone {
|
|
3
3
|
clr1: string;
|
|
4
4
|
clr2: string;
|
|
@@ -938,7 +938,7 @@ interface ChartRect {
|
|
|
938
938
|
h: number;
|
|
939
939
|
}
|
|
940
940
|
//#endregion
|
|
941
|
-
//#region dist/.types-work/region-map-contract-
|
|
941
|
+
//#region dist/.types-work/region-map-contract-v0ic4OTv.d.ts
|
|
942
942
|
interface ChartRegionMapRenderer {
|
|
943
943
|
render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
|
|
944
944
|
}
|
package/dist/types/three-d.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region dist/.types-work/chart-
|
|
1
|
+
//#region dist/.types-work/chart-DyZ-c18j.d.ts
|
|
2
2
|
interface Duotone {
|
|
3
3
|
clr1: string;
|
|
4
4
|
clr2: string;
|
|
@@ -938,7 +938,7 @@ interface ChartRect {
|
|
|
938
938
|
h: number;
|
|
939
939
|
}
|
|
940
940
|
//#endregion
|
|
941
|
-
//#region dist/.types-work/three-d-contract-
|
|
941
|
+
//#region dist/.types-work/three-d-contract-DVjawIXV.d.ts
|
|
942
942
|
interface ChartThreeDRenderer {
|
|
943
943
|
render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
|
|
944
944
|
}
|
package/dist/types/tiff.d.ts
CHANGED