@silurus/ooxml 0.85.2 → 0.86.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +39 -7
- package/dist/assets/render-worker-BCGnuBLj.js +10 -0
- package/dist/assets/render-worker-CB4DxjXg.js +31 -0
- package/dist/assets/render-worker-CHW0F0n6.js +11 -0
- package/dist/{bounded-raw-part-cache-C6ro6Ezf.js → bounded-raw-part-cache-DVx3Camo.js} +12 -10
- package/dist/{canvas-viewer-mechanics-CDNMJ-Yz.js → canvas-viewer-mechanics-B3A7KLLi.js} +1 -1
- 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-ssI6IE39.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-BssAk95w.js → document-pull-client-xZrA2IjM.js} +3349 -3347
- package/dist/{docx-BY7oyoml.js → docx-DzDiGvqe.js} +67 -64
- package/dist/docx.mjs +5 -5
- package/dist/docx_parser_bg.wasm +0 -0
- package/dist/{dom-interaction-boundary-CDGegIB5.js → dom-interaction-boundary-DK1JLkrz.js} +2 -2
- package/dist/{line-metrics-BGtFM-ec.js → hyperlink-enyPbflR.js} +847 -877
- package/dist/index.mjs +3 -3
- package/dist/line-distribute-BFB575d6.js +1023 -0
- package/dist/line-metrics-CBbw80Ko.js +60 -0
- package/dist/node.mjs +91 -91
- package/dist/{pptx-C4z96sAA.js → pptx-D_U62nl-.js} +75 -72
- package/dist/pptx.mjs +5 -5
- package/dist/pptx_parser_bg.wasm +0 -0
- package/dist/{render-Dxvwes39.js → render-DSn0d35X.js} +1 -1
- package/dist/{render-worker-host-BAXcBGq3.js → render-worker-host-BHz9vjxB.js} +1 -1
- package/dist/{render-worker-host-CXTCU4PO.js → render-worker-host-CO0UYoQh.js} +1 -1
- package/dist/{render-worker-host-CNKQ76tu.js → render-worker-host-CbYDBg7U.js} +1 -1
- package/dist/{resource-measurement-D41R-0Bl.js → resource-measurement-Do07ZRcR.js} +7 -7
- package/dist/{session-BmP4lcEo.js → session-C1GYhr6n.js} +77 -77
- package/dist/{slide-pull-client-RTwQbJiy.js → slide-pull-client-DuEaUxPw.js} +1128 -1120
- package/dist/types/chart-ex.d.ts +2 -2
- package/dist/types/docx.d.ts +10 -10
- package/dist/types/index.d.ts +38 -18
- 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-eDiHHEG2.js} +99 -96
- package/dist/{xlsx-DSU6pV1O.js → xlsx-CMHmYTHP.js} +1629 -1469
- package/dist/xlsx.mjs +5 -5
- package/dist/xlsx_parser_bg.wasm +0 -0
- package/package.json +1 -1
- package/dist/assets/render-worker-CV9Mg4j9.js +0 -10
- package/dist/assets/render-worker-DHP0rgcW.js +0 -24
- package/dist/assets/render-worker-DdvOGyrn.js +0 -11
- package/dist/comment-ui-runtime-DTaaZdXC.js +0 -2
- package/dist/line-distribute-BsV4MVZ2.js +0 -1023
- /package/dist/{comment-occurrence-tj54AXXB.js → comment-occurrence-Dhdplprg.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-Do8lNaT5.d.ts
|
|
2017
2017
|
interface CommentAnchorRange {
|
|
2018
2018
|
readonly commentId: string;
|
|
2019
2019
|
readonly source: Readonly<DocxStorySource>;
|
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-Do8lNaT5.d.ts
|
|
2224
2224
|
interface CommentAnchorRange {
|
|
2225
2225
|
readonly commentId: string;
|
|
2226
2226
|
readonly source: Readonly<DocxStorySource>;
|
|
@@ -2766,7 +2766,7 @@ declare namespace docx_d_exports {
|
|
|
2766
2766
|
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
2767
|
}
|
|
2768
2768
|
//#endregion
|
|
2769
|
-
//#region dist/.types-work/types-
|
|
2769
|
+
//#region dist/.types-work/types-DXxlZCW0.d.ts
|
|
2770
2770
|
interface BlipBullet {
|
|
2771
2771
|
type: 'blip';
|
|
2772
2772
|
imagePath: string;
|
|
@@ -3028,7 +3028,7 @@ interface PictureElement {
|
|
|
3028
3028
|
sp3d?: Sp3d;
|
|
3029
3029
|
}
|
|
3030
3030
|
//#endregion
|
|
3031
|
-
//#region dist/.types-work/pptx-
|
|
3031
|
+
//#region dist/.types-work/pptx-Da48_OSF.d.ts
|
|
3032
3032
|
interface PptxTextRunInfo {
|
|
3033
3033
|
elementIndex?: number;
|
|
3034
3034
|
origin?: SlideElementOrigin;
|
|
@@ -3602,7 +3602,7 @@ declare namespace pptx_d_exports {
|
|
|
3602
3602
|
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
3603
|
}
|
|
3604
3604
|
//#endregion
|
|
3605
|
-
//#region dist/.types-work/types-
|
|
3605
|
+
//#region dist/.types-work/types-B0AE_k3g.d.ts
|
|
3606
3606
|
type ShapeFill = Exclude<Fill, {
|
|
3607
3607
|
fillType: 'image';
|
|
3608
3608
|
} | {
|
|
@@ -3630,6 +3630,7 @@ interface MergeCell {
|
|
|
3630
3630
|
interface Worksheet {
|
|
3631
3631
|
name: string;
|
|
3632
3632
|
isChartSheet?: boolean;
|
|
3633
|
+
isDialogSheet?: boolean;
|
|
3633
3634
|
rows: Row[];
|
|
3634
3635
|
colWidths: Record<number, number>;
|
|
3635
3636
|
colWidthRanges?: Array<{
|
|
@@ -4356,7 +4357,7 @@ interface XlsxRenderViewportOptions {
|
|
|
4356
4357
|
} | null;
|
|
4357
4358
|
}
|
|
4358
4359
|
//#endregion
|
|
4359
|
-
//#region dist/.types-work/xlsx-
|
|
4360
|
+
//#region dist/.types-work/xlsx-BGOMFAqN.d.ts
|
|
4360
4361
|
type ResolvedList = {
|
|
4361
4362
|
kind: 'values';
|
|
4362
4363
|
values: string[];
|
|
@@ -4364,6 +4365,19 @@ type ResolvedList = {
|
|
|
4364
4365
|
kind: 'formula';
|
|
4365
4366
|
formula: string;
|
|
4366
4367
|
};
|
|
4368
|
+
type XlsxSheetLoadOptions = Readonly<{
|
|
4369
|
+
format?: 'xlsx';
|
|
4370
|
+
}> | Readonly<{
|
|
4371
|
+
format: 'csv' | 'tsv';
|
|
4372
|
+
delimiter?: string;
|
|
4373
|
+
encoding?: string;
|
|
4374
|
+
sheetName?: string;
|
|
4375
|
+
}> | Readonly<{
|
|
4376
|
+
format: 'delimited-text';
|
|
4377
|
+
delimiter: string;
|
|
4378
|
+
encoding?: string;
|
|
4379
|
+
sheetName?: string;
|
|
4380
|
+
}>;
|
|
4367
4381
|
type RenderViewportToBitmapOptions = Omit<XlsxRenderViewportOptions, 'onTextRun'> & {
|
|
4368
4382
|
width: number;
|
|
4369
4383
|
height: number;
|
|
@@ -4373,8 +4387,8 @@ interface LoadOptions extends LoadOptions$3 {
|
|
|
4373
4387
|
}
|
|
4374
4388
|
declare class XlsxWorkbook {
|
|
4375
4389
|
private metrics;
|
|
4376
|
-
private worker;
|
|
4377
4390
|
private bridge;
|
|
4391
|
+
private delimitedTextBacked;
|
|
4378
4392
|
private parsedWorkbook;
|
|
4379
4393
|
private sheetCache;
|
|
4380
4394
|
private sheetLoads;
|
|
@@ -4399,8 +4413,10 @@ declare class XlsxWorkbook {
|
|
|
4399
4413
|
private resourceFailure;
|
|
4400
4414
|
private constructor();
|
|
4401
4415
|
get mode(): 'main' | 'worker';
|
|
4416
|
+
private static loadDelimitedText;
|
|
4402
4417
|
static load(source: string | ArrayBuffer, opts?: LoadOptions): Promise<XlsxWorkbook>;
|
|
4403
4418
|
private _load;
|
|
4419
|
+
private _loadDelimitedText;
|
|
4404
4420
|
private retainFontsInSet;
|
|
4405
4421
|
get sheetNames(): string[];
|
|
4406
4422
|
get sheetCount(): number;
|
|
@@ -4425,6 +4441,8 @@ declare class XlsxWorkbook {
|
|
|
4425
4441
|
private withWorksheetArchiveOperation;
|
|
4426
4442
|
destroy(): void;
|
|
4427
4443
|
private assertResourceHealthy;
|
|
4444
|
+
private requireBridge;
|
|
4445
|
+
private requireArchiveBridge;
|
|
4428
4446
|
}
|
|
4429
4447
|
type CanvasViewerRenderMode = 'main' | 'worker';
|
|
4430
4448
|
interface CellAddress {
|
|
@@ -4520,6 +4538,7 @@ interface XlsxMatchLocation {
|
|
|
4520
4538
|
col: number;
|
|
4521
4539
|
}
|
|
4522
4540
|
interface XlsxCommentsOptions extends ViewerCommentsOptions {}
|
|
4541
|
+
declare const loadXlsxViewerSource: unique symbol;
|
|
4523
4542
|
type HiddenSheetMode = 'show' | 'skip' | 'dim';
|
|
4524
4543
|
interface XlsxSheetViewerOptions extends LoadOptions {
|
|
4525
4544
|
imageResources?: ImageResourceOptions;
|
|
@@ -4690,7 +4709,7 @@ declare class XlsxViewerEngine implements ZoomableViewer {
|
|
|
4690
4709
|
private refreshChromeTheme;
|
|
4691
4710
|
private installChromeThemeRefresh;
|
|
4692
4711
|
private _collectSheetCells;
|
|
4693
|
-
|
|
4712
|
+
[loadXlsxViewerSource](source: string | ArrayBuffer, sourceOptions?: XlsxSheetLoadOptions): Promise<void>;
|
|
4694
4713
|
private activateWorkbook;
|
|
4695
4714
|
private ensureHostFonts;
|
|
4696
4715
|
private releaseHostFonts;
|
|
@@ -4842,6 +4861,7 @@ declare class XlsxViewerEngine implements ZoomableViewer {
|
|
|
4842
4861
|
declare class XlsxViewer extends XlsxViewerEngine {
|
|
4843
4862
|
static fromWorkbook(container: HTMLElement, workbook: XlsxWorkbook, opts?: Omit<XlsxViewerOptions, keyof LoadOptions>): Omit<XlsxViewer, 'load'>;
|
|
4844
4863
|
constructor(container: HTMLElement, opts?: XlsxViewerOptions);
|
|
4864
|
+
load(source: string | ArrayBuffer): Promise<void>;
|
|
4845
4865
|
}
|
|
4846
4866
|
declare class XlsxSheetViewer implements ZoomableViewer {
|
|
4847
4867
|
readonly canvasElement: HTMLCanvasElement;
|
|
@@ -4852,7 +4872,7 @@ declare class XlsxSheetViewer implements ZoomableViewer {
|
|
|
4852
4872
|
private lastMetrics;
|
|
4853
4873
|
static fromWorkbook(canvasElement: HTMLCanvasElement, workbook: XlsxWorkbook, options?: Omit<XlsxSheetViewerOptions, keyof LoadOptions>): Omit<XlsxSheetViewer, 'load'>;
|
|
4854
4874
|
constructor(canvasElement: HTMLCanvasElement, options?: XlsxSheetViewerOptions);
|
|
4855
|
-
load(source: string | ArrayBuffer): Promise<void>;
|
|
4875
|
+
load(source: string | ArrayBuffer, options?: XlsxSheetLoadOptions): Promise<void>;
|
|
4856
4876
|
get sheetIndex(): number;
|
|
4857
4877
|
get sheetCount(): number;
|
|
4858
4878
|
get sheetNames(): string[];
|
|
@@ -4893,7 +4913,7 @@ declare class XlsxSheetViewer implements ZoomableViewer {
|
|
|
4893
4913
|
}
|
|
4894
4914
|
declare function resolveSharedStrings(ws: Worksheet, sharedStrings: SharedString[]): Worksheet;
|
|
4895
4915
|
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 };
|
|
4916
|
+
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
4917
|
}
|
|
4898
4918
|
//#endregion
|
|
4899
4919
|
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