pptx-ts 3.7.0 → 4.0.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 +116 -269
- package/dist/autopage-odPz7zZO.js +536 -0
- package/dist/autopage-odPz7zZO.js.map +1 -0
- package/dist/binary-string-CKVAYI3M.js +24 -0
- package/dist/binary-string-CKVAYI3M.js.map +1 -0
- package/dist/body-insets-Dw_BeWD_.js +54 -0
- package/dist/body-insets-Dw_BeWD_.js.map +1 -0
- package/dist/browser.d.ts +29 -9
- package/dist/browser.d.ts.map +1 -1
- package/dist/browser.js +41 -14
- package/dist/browser.js.map +1 -1
- package/dist/clip-Bl01BPcN.d.ts +67 -0
- package/dist/clip-Bl01BPcN.d.ts.map +1 -0
- package/dist/diagnostics-D8ot4Ei7.d.ts +244 -0
- package/dist/diagnostics-D8ot4Ei7.d.ts.map +1 -0
- package/dist/embedded-fonts-DarT9aoa.d.ts +20 -0
- package/dist/embedded-fonts-DarT9aoa.d.ts.map +1 -0
- package/dist/entry-compose-DCnvBZz2.d.ts +1046 -0
- package/dist/entry-compose-DCnvBZz2.d.ts.map +1 -0
- package/dist/{enums-CvRYniUA.d.ts → enums-BUKTUB6V.d.ts} +21 -13
- package/dist/{enums-CvRYniUA.d.ts.map → enums-BUKTUB6V.d.ts.map} +1 -1
- package/dist/{errors-Bvln0H-7.js → errors-C4oENPcu.js} +92 -2
- package/dist/errors-C4oENPcu.js.map +1 -0
- package/dist/families.d.ts +260 -0
- package/dist/families.d.ts.map +1 -0
- package/dist/families.js +57 -0
- package/dist/families.js.map +1 -0
- package/dist/{fit-BKs0zxMI.js → fit-Cb7naFj6.js} +249 -167
- package/dist/fit-Cb7naFj6.js.map +1 -0
- package/dist/font-metrics-v5fn7s7e.d.ts +613 -0
- package/dist/font-metrics-v5fn7s7e.d.ts.map +1 -0
- package/dist/grid-DikTjFey.js +187 -0
- package/dist/grid-DikTjFey.js.map +1 -0
- package/dist/{html-dom-B0I0QSbU.js → html-dom-Iuog2wdK.js} +121 -91
- package/dist/html-dom-Iuog2wdK.js.map +1 -0
- package/dist/html.d.ts +6 -6
- package/dist/html.d.ts.map +1 -1
- package/dist/html.js +7 -6
- package/dist/html.js.map +1 -1
- package/dist/image-size-CvN2iCA4.js +1611 -0
- package/dist/image-size-CvN2iCA4.js.map +1 -0
- package/dist/index.d.ts +24 -10
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +31 -11
- package/dist/index.js.map +1 -1
- package/dist/inspect.d.ts +40 -31
- package/dist/inspect.d.ts.map +1 -1
- package/dist/inspect.js +40 -48
- package/dist/inspect.js.map +1 -1
- package/dist/math.d.ts +7 -5
- package/dist/math.d.ts.map +1 -1
- package/dist/math.js +16 -7
- package/dist/math.js.map +1 -1
- package/dist/measure.d.ts +12 -225
- package/dist/measure.d.ts.map +1 -1
- package/dist/measure.js +3 -3
- package/dist/node.d.ts +22 -8
- package/dist/node.d.ts.map +1 -1
- package/dist/node.js +27 -7
- package/dist/node.js.map +1 -1
- package/dist/notes-Dh12JAbn.js +3264 -0
- package/dist/notes-Dh12JAbn.js.map +1 -0
- package/dist/options-internal-WqgMf720.js +43 -0
- package/dist/options-internal-WqgMf720.js.map +1 -0
- package/dist/{package-CaOLXSNi.d.ts → package-J49Ck6S2.d.ts} +27 -12
- package/dist/package-J49Ck6S2.d.ts.map +1 -0
- package/dist/playbtn-CUqQdoDf.js +22 -0
- package/dist/playbtn-CUqQdoDf.js.map +1 -0
- package/dist/{slide-ZqAdVvHV.d.ts → pres-C6qgOFAa.d.ts} +1021 -1423
- package/dist/pres-C6qgOFAa.d.ts.map +1 -0
- package/dist/{presentation-DrJtj3-C.js → presentation-DGYlAWhl.js} +3208 -2727
- package/dist/presentation-DGYlAWhl.js.map +1 -0
- package/dist/{presentation-types-CDjScsev.d.ts → presentation-types-8jLQHI4M.d.ts} +1070 -683
- package/dist/presentation-types-8jLQHI4M.d.ts.map +1 -0
- package/dist/read.d.ts +9 -9
- package/dist/read.d.ts.map +1 -1
- package/dist/read.js +4 -4
- package/dist/script.d.ts +80 -66
- package/dist/script.d.ts.map +1 -1
- package/dist/script.js +2399 -1139
- package/dist/script.js.map +1 -1
- package/dist/{shapes-BemroU-z.js → shapes-re0KyQk_.js} +2807 -1609
- package/dist/shapes-re0KyQk_.js.map +1 -0
- package/dist/slide-Dx2ZeVZ6.d.ts +1256 -0
- package/dist/slide-Dx2ZeVZ6.d.ts.map +1 -0
- package/dist/slide-size-BalTjFuv.js +88 -0
- package/dist/slide-size-BalTjFuv.js.map +1 -0
- package/dist/{units-internal-Dg95w_YD.js → table-cell-margins-EVg0EwxT.js} +235 -273
- package/dist/table-cell-margins-EVg0EwxT.js.map +1 -0
- package/dist/table-dom-BTDP3lEP.js +21 -0
- package/dist/table-dom-BTDP3lEP.js.map +1 -0
- package/dist/text-anchor-CrYXAfUu.js +176 -0
- package/dist/text-anchor-CrYXAfUu.js.map +1 -0
- package/dist/text-sN64Otf_.js +3980 -0
- package/dist/text-sN64Otf_.js.map +1 -0
- package/dist/transition-speed-kUEWDWTx.js +14 -0
- package/dist/transition-speed-kUEWDWTx.js.map +1 -0
- package/dist/units-internal-XJlf-hOl.js +649 -0
- package/dist/units-internal-XJlf-hOl.js.map +1 -0
- package/dist/zip-C0leZZMj.d.ts +67 -0
- package/dist/zip-C0leZZMj.d.ts.map +1 -0
- package/dist/zip-CKd8ihcf.js +177 -0
- package/dist/zip-CKd8ihcf.js.map +1 -0
- package/dist/zip.d.ts +3 -68
- package/dist/zip.js +3 -163
- package/dist/zoom-DPUHh85d.js +8865 -0
- package/dist/zoom-DPUHh85d.js.map +1 -0
- package/package.json +106 -19
- package/skills/ts-pptx-upstream/SKILL.md +58 -57
- package/dist/autopage-DkjYZUFD.js +0 -423
- package/dist/autopage-DkjYZUFD.js.map +0 -1
- package/dist/diagnostics-DfBdDHre.d.ts +0 -829
- package/dist/diagnostics-DfBdDHre.d.ts.map +0 -1
- package/dist/errors-Bvln0H-7.js.map +0 -1
- package/dist/errors-PflMPWBn.d.ts +0 -182
- package/dist/errors-PflMPWBn.d.ts.map +0 -1
- package/dist/fit-BKs0zxMI.js.map +0 -1
- package/dist/html-dom-B0I0QSbU.js.map +0 -1
- package/dist/namespaces-BVnNu7sg.js +0 -666
- package/dist/namespaces-BVnNu7sg.js.map +0 -1
- package/dist/notes-CJFJaG6M.js +0 -1724
- package/dist/notes-CJFJaG6M.js.map +0 -1
- package/dist/package-CaOLXSNi.d.ts.map +0 -1
- package/dist/pres-BcBR3CSM.d.ts +0 -202
- package/dist/pres-BcBR3CSM.d.ts.map +0 -1
- package/dist/presentation-DrJtj3-C.js.map +0 -1
- package/dist/presentation-types-CDjScsev.d.ts.map +0 -1
- package/dist/shapes-BemroU-z.js.map +0 -1
- package/dist/slide-ZqAdVvHV.d.ts.map +0 -1
- package/dist/text-B8SLEaZx.js +0 -11327
- package/dist/text-B8SLEaZx.js.map +0 -1
- package/dist/units-1kRzYShk.js +0 -231
- package/dist/units-1kRzYShk.js.map +0 -1
- package/dist/units-internal-Dg95w_YD.js.map +0 -1
- package/dist/zip.d.ts.map +0 -1
- package/dist/zip.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"presentation-types-8jLQHI4M.d.ts","names":[],"sources":["../src/read/oxml/theme.ts","../src/read/oxml/color-transform.ts","../src/read/api/theme-context.ts","../src/read/api/gradient.ts","../src/read/api/picture-fill.ts","../src/read/api/pattern-fill.ts","../src/read/api/slide-background.ts","../src/read/api/shapes/oxml.ts","../src/read/api/shapes/types.ts","../src/read/api/hyperlink.ts","../src/read/api/table-style-resolve.ts","../src/read/api/text/run.ts","../src/read/api/text/paragraph.ts","../src/read/api/text/frame.ts","../src/read/api/shapes/host.ts","../src/read/api/shapes/base.ts","../src/read/api/shapes/autoshape.ts","../src/read/api/shapes/picture.ts","../src/read/api/shapes/connector.ts","../src/read/api/chart.ts","../src/read/api/chartex.ts","../src/read/api/diagram.ts","../src/read/api/table-edit.ts","../src/read/api/table-cell.ts","../src/read/api/table-row.ts","../src/read/api/table.ts","../src/read/api/shapes/graphic-frame.ts","../src/read/api/shapes.ts","../src/read/api/chrome.ts","../src/read/api/notes.ts","../src/read/api/comments.ts","../src/read/api/tags.ts","../src/read/api/transition.ts","../src/read/api/slide.ts","../src/read/api/document-properties.ts","../src/read/api/ops/deck-target.ts","../src/read/api/ops/part-copy.ts","../src/read/api/ops/rescale.ts","../src/read/api/presentation.ts","../src/read/api/presentation-types.ts"],"mappings":";;;;;;;;;;UAkDiB;EAChB,QAAQ;EACR,WAAW;;;;;;;;;;;UAYK,qBAAqB;EACrC,WAAW;;;;;EAKX,aAAa;;;;;EAKb,aAAa;;;;;;;;;EASb,aAAa;;;;;;;;;;EAUb,aAAa;;;;;;;;;;;EAWb,mBAAmB;;;;;;;;;;;;;;;;;EAiBnB,kBAAkB,YAAY;;;;;UCrFd;EAChB;EACA;;;UAIgB;EAChB;EACA;;;;;;;;;;;iBA8Fe,qBAAqB,iBAAiB,YAAY,mBAAmB;;;;UC+GpE;EAChB;EACA;;;KAwLW;;UAGK;EAChB;EACA;EACA;EACA;EACA,QAAQ;;;;;;;;;;;;;;;UAoCQ;EAChB;EACA,YAAY;EACZ;EACA;;;;;;;;;;iBAWe,oBAAoB,SAAS,gBAAgB,KAAK,eAAe;;;;;;;;;;UAmBhE;;EAEhB;;EAEA;;EAEA;;;;;;;;EAQA,UAAU;;;;;;;iBAQK,aAAa,SAAS,gBAAgB,KAAK,sBAAsB;;UAkDhE;;EAEhB,OAAO;;EAEP;;;;;UClkBgB;;EAEhB;;;;;EAKA,UAAU;;;;;;;;;;;UAYM;;EAEhB;;EAEA;;EAEA;;EAEA,OAAO;;;;;UCvBS;EAChB;EACA;EACA;EACA;;;;;;;UAQgB;;EAEhB;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;;;;;;;;;;;;UAcgB;;EAEhB;;EAEA;;EAEA;;EAEA,SAAS;;EAET,UAAU;;EAEV,MAAM;;EAEN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EAEhB;;;;;;EAMA,YAAY;IAAQ;IAAa;;;;;;;;;;;;;UAajB;;EAEhB;;EAEA;;EAEA,gBAAgB;;;;;;;EAOhB;;IAEC;;IAEA;;;;UAKe;;EAEhB;;EAEA;;EAEA;;EAEA;;EAEA,YAAY;;EAEZ;;EAEA;;EAEA,cAAc;;EAEd;;EAEA;;;UAIgB;;EAEhB;;EAEA;;EAEA;;;UAIgB;EAChB;EACA;EACA,QAAQ;;;;;;EAMR,eAAe;;;;;;;;;;;EAWf;IAAgB;IAAa;;;;;;;UAOb;EAChB,cAAc;IAAS;MAA2C,QAAQ;;;UAI1D;;EAEhB,iBAAiB;;;;;EAKjB;;EAEA;;;UAIgB;;EAEhB,QAAQ;;;;;EAKR;;EAEA;;;;;;;;;;;;;;EAcA;;;;;;;;;;;;EAYA;;;;;;;;;;;;;;;EAeA;;;UAIgB;;;;;;;EAOhB"}
|
package/dist/read.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as
|
|
3
|
-
import {
|
|
4
|
-
import { a as Part, i as Relationships, n as OpcPackage, r as Relationship, s as ContentTypes, t as OpcInput } from "./package-
|
|
5
|
-
import { a as
|
|
1
|
+
import { Sn as ThemeColorSlot, sn as ColorMapToken, t as CustomPropertyValue } from "./pres-C6qgOFAa.js";
|
|
2
|
+
import { n as EmbeddedFontFace, r as EmbeddedFontSlot, t as EmbeddedFont } from "./embedded-fonts-DarT9aoa.js";
|
|
3
|
+
import { _ as PackageReadErrorCode, a as InternalError, c as PackageReadError, d as UnsupportedFeatureError, f as DiagnosticCode, g as MediaErrorCode, h as InvalidOptionErrorCode, i as setDiagnosticHandler, l as TsPptxError, m as InternalErrorCode, n as DiagnosticHandler, o as InvalidOptionError, p as ErrorCode, r as resetDiagnosticState, s as MediaError, t as Diagnostic, u as TsPptxErrorOptions, v as TsPptxCode, y as UnsupportedFeatureErrorCode } from "./diagnostics-D8ot4Ei7.js";
|
|
4
|
+
import { a as Part, i as Relationships, n as OpcPackage, r as Relationship, s as ContentTypes, t as OpcInput } from "./package-J49Ck6S2.js";
|
|
5
|
+
import { $ as isGroupShape, $t as ConnectionSite, A as TransitionInput, An as EffectiveColor, At as Connector, B as NotesPlaceholder, Bt as BulletStyle, C as readCoreProperties, Cn as PlaceholderRef, Ct as Chart, D as AddTextBoxOptions, Dn as readColorRef, Dt as ChartLegend, E as AddPictureOptions, En as StyleFontRef, Et as ChartFill, F as Comment, Ft as AutofitMode, G as Theme, Gt as TextInheritance, H as Placeholder, Ht as LineSpacing, I as CommentAuthor, It as BodyProperties, J as AnyShape, Jt as TableConditionFlags, K as ThemeFontFace, Kt as ResolvedTableStyle, L as CommentSchema, Lt as TextFrame, M as TransitionSpeed, Mn as ColorContext, Mt as AutoShape, N as Tag, Nn as ThemeContext, Nt as Shape, O as Slide, On as resolveColorElement, Ot as ChartLine, P as readTagsForPart, Pt as ShapeHost, Q as isGraphicFrame, Qt as ChildFrame, R as ModernComment, Rt as Paragraph, S as ExtendedProperties, Sn as GeometrySource, St as AxisNumberFormat, T as readExtendedProperties, Tn as ResolvedFrame, Tt as ChartDataLabels, U as SlideLayout, Ut as Run, V as NotesSlide, Vt as InheritedRunProps, W as SlideMaster, Wt as TextContext, X as isAutoShape, Xt as AbsoluteFrame, Y as GroupShape, Yt as Hyperlink, Z as isConnector, Zt as AbsoluteFrameFailure, _ as SlideSize, _n as PictureFill, _t as ChartEx, a as ExtractedChart, an as LineEnd, at as CellBorders, b as CoreProperties, bn as GradientStop, bt as ChartExLegend, c as ExtractedSlides, cn as Recolor, ct as TableCellBorderEdit, d as ImportSlideMastersOptions, dn as SoftEdge, dt as DiagramConnection, en as CustomGeometry, et as isPicture, f as ImportSlideOptions, fn as BackgroundFill, ft as DiagramConnectionType, g as OnlineMediaItem, gn as FillRect, gt as DiagramPointType, h as LayoutHandle, hn as PatternFill, ht as DiagramPoint, i as EmbeddedFontInfo, in as InnerShadow, it as CellBorder, j as TransitionSoundInfo, jn as applyColorTransforms, jt as Picture, k as TransitionInfo, kn as ColorTransform, kt as ChartSeries, l as FromTemplateOptions, ln as Reflection, lt as TableCellEdge, m as ImportedSlideMaster, mn as SlideBackground, mt as DiagramNode, n as AvMediaItem, nn as GeometryCommand, nt as Table, o as ExtractedNotes, on as LineEnds, ot as CellThreeD, p as ImportSlidesRequest, pn as BackgroundSource, pt as DiagramDrawnShape, q as ThemeFontScheme, qt as TableCellTextStyle, r as EmbeddedFontFaceInfo, rn as Glow, rt as TableRow, s as ExtractedSlide, sn as OuterShadow, st as TableCell, t as AppendSlidesOptions, tn as CustomGeometryPath, tt as GraphicFrame, u as ImportShapeOptions, un as ShapeType, ut as Diagram, v as SlideSource, vn as PictureFillTile, vt as ChartExAxis, w as readCustomProperties, wn as ResolvedColor, wt as ChartAxis, x as CustomProperty, xn as ColorRef, xt as ChartExSeries, y as Presentation, yn as GradientFill, yt as ChartExDataLabels, z as ModernCommentAuthor, zt as BulletDetail } from "./presentation-types-8jLQHI4M.js";
|
|
6
6
|
//#region src/read/opc/partnames.d.ts
|
|
7
7
|
/** Partname of the `.rels` part holding `sourcePartName`'s relationships ('/' = package). */
|
|
8
|
-
declare function relsPartNameFor(sourcePartName: string): string;
|
|
8
|
+
export declare function relsPartNameFor(sourcePartName: string): string;
|
|
9
9
|
/**
|
|
10
10
|
* Resolve a relationship target against its source part, per OPC pack-URI
|
|
11
11
|
* resolution: relative targets resolve against the source part's directory.
|
|
@@ -13,7 +13,7 @@ declare function relsPartNameFor(sourcePartName: string): string;
|
|
|
13
13
|
* @param sourcePartName partname of the part owning the relationship ('/' for package-level)
|
|
14
14
|
* @param target relationship Target attribute (relative like `../media/image1.png`, or absolute)
|
|
15
15
|
*/
|
|
16
|
-
declare function resolveRelativePartName(sourcePartName: string, target: string): string;
|
|
16
|
+
export declare function resolveRelativePartName(sourcePartName: string, target: string): string;
|
|
17
17
|
//#endregion
|
|
18
18
|
//#region src/read/oxml/preset-color.d.ts
|
|
19
19
|
/**
|
|
@@ -49,7 +49,7 @@ declare function resolveRelativePartName(sourcePartName: string, target: string)
|
|
|
49
49
|
* caller reports "no colour" instead of painting an invented one.
|
|
50
50
|
* @param name - the raw attribute value, or `null` when the attribute is absent
|
|
51
51
|
*/
|
|
52
|
-
declare function presetColorHex(name: string | null): string | null;
|
|
52
|
+
export declare function presetColorHex(name: string | null): string | null;
|
|
53
53
|
//#endregion
|
|
54
|
-
export { type AbsoluteFrame, type AddPictureOptions, type AddTextBoxOptions, type AnyShape, type AppendSlidesOptions, AutoShape, type AutofitMode, type AxisNumberFormat, type BackgroundFill, type BackgroundSource, type BodyProperties, type BulletDetail, type BulletStyle, type CellBorder, type CellBorders, type CellThreeD, Chart, ChartAxis, type ChartDataLabels, ChartEx, ChartExAxis, type ChartExDataLabels, type ChartExLegend, ChartExSeries, type ChartFill, type ChartLegend, type ChartLine, ChartSeries, type ChildFrame, type ColorContext, type ColorMapToken, type ColorTransform, type Comment, type CommentAuthor, type CommentSchema, type ConnectionSite, Connector, ContentTypes, type CoreProperties, type CustomGeometry, type CustomGeometryPath, type CustomProperty, type CustomPropertyValue, Diagram, type DiagramConnection, type DiagramConnectionType, type DiagramDrawnShape, DiagramNode, DiagramPoint, type DiagramPointType, type EffectiveColor, type EmbeddedFontFaceInfo, type EmbeddedFontInfo, type ErrorCode, type ExtractedSlide, type ExtractedSlides, type FillRect, type FromTemplateOptions, type GeometryCommand, type Glow, type GradientFill, type GradientStop, GraphicFrame, GroupShape, type ImportShapeOptions, type ImportSlideMastersOptions, type ImportSlideOptions, type ImportSlidesRequest, type ImportedSlideMaster, type InnerShadow, InternalError, type InternalErrorCode, InvalidOptionError, type InvalidOptionErrorCode, type LayoutHandle, type LineEnd, type LineEnds, type LineSpacing, MediaError, type MediaErrorCode, type ModernComment, type ModernCommentAuthor, NotesPlaceholder, NotesSlide, type OpcInput, OpcPackage, type OuterShadow, PackageReadError, type PackageReadErrorCode, Paragraph, Part, type PatternFill, Picture, type PictureFill, type PictureFillTile, Placeholder, Presentation, type Recolor, type
|
|
54
|
+
export { type AbsoluteFrame, type AbsoluteFrameFailure, type AddPictureOptions, type AddTextBoxOptions, type AnyShape, type AppendSlidesOptions, AutoShape, type AutofitMode, type AvMediaItem, type AxisNumberFormat, type BackgroundFill, type BackgroundSource, type BodyProperties, type BulletDetail, type BulletStyle, type CellBorder, type CellBorders, type CellThreeD, Chart, ChartAxis, type ChartDataLabels, ChartEx, ChartExAxis, type ChartExDataLabels, type ChartExLegend, ChartExSeries, type ChartFill, type ChartLegend, type ChartLine, ChartSeries, type ChildFrame, type ColorContext, type ColorMapToken, type ColorRef, type ColorTransform, type Comment, type CommentAuthor, type CommentSchema, type ConnectionSite, Connector, ContentTypes, type CoreProperties, type CustomGeometry, type CustomGeometryPath, type CustomProperty, type CustomPropertyValue, type Diagnostic, type DiagnosticCode, type DiagnosticHandler, Diagram, type DiagramConnection, type DiagramConnectionType, type DiagramDrawnShape, DiagramNode, DiagramPoint, type DiagramPointType, type EffectiveColor, type EmbeddedFont, type EmbeddedFontFace, type EmbeddedFontFaceInfo, type EmbeddedFontInfo, type EmbeddedFontSlot, type ErrorCode, type ExtendedProperties, type ExtractedChart, type ExtractedNotes, type ExtractedSlide, type ExtractedSlides, type FillRect, type FromTemplateOptions, type GeometryCommand, type GeometrySource, type Glow, type GradientFill, type GradientStop, GraphicFrame, GroupShape, type Hyperlink, type ImportShapeOptions, type ImportSlideMastersOptions, type ImportSlideOptions, type ImportSlidesRequest, type ImportedSlideMaster, type InheritedRunProps, type InnerShadow, InternalError, type InternalErrorCode, InvalidOptionError, type InvalidOptionErrorCode, type LayoutHandle, type LineEnd, type LineEnds, type LineSpacing, MediaError, type MediaErrorCode, type ModernComment, type ModernCommentAuthor, NotesPlaceholder, NotesSlide, type OnlineMediaItem, type OpcInput, OpcPackage, type OuterShadow, PackageReadError, type PackageReadErrorCode, Paragraph, Part, type PatternFill, Picture, type PictureFill, type PictureFillTile, Placeholder, type PlaceholderRef, Presentation, type Recolor, type Reflection, type Relationship, Relationships, type ResolvedColor, type ResolvedFrame, type ResolvedTableStyle, Run, Shape, type ShapeHost, type ShapeType, Slide, type SlideBackground, SlideLayout, SlideMaster, type SlideSize, type SlideSource, type SoftEdge, type StyleFontRef, Table, TableCell, type TableCellBorderEdit, type TableCellEdge, type TableCellTextStyle, type TableConditionFlags, TableRow, type Tag, type TextContext, TextFrame, type TextInheritance, Theme, type ThemeColorSlot, type ThemeContext, type ThemeFontFace, type ThemeFontScheme, type TransitionInfo, type TransitionInput, type TransitionSoundInfo, type TransitionSpeed, type TsPptxCode, TsPptxError, type TsPptxErrorOptions, UnsupportedFeatureError, type UnsupportedFeatureErrorCode, applyColorTransforms, isAutoShape, isConnector, isGraphicFrame, isGroupShape, isPicture, readColorRef, readCoreProperties, readCustomProperties, readExtendedProperties, readTagsForPart, resetDiagnosticState, resolveColorElement, setDiagnosticHandler };
|
|
55
55
|
//# sourceMappingURL=read.d.ts.map
|
package/dist/read.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"read.d.ts","names":[],"sources":["../src/read/opc/partnames.ts","../src/read/oxml/preset-color.ts"],"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"read.d.ts","names":[],"sources":["../src/read/opc/partnames.ts","../src/read/oxml/preset-color.ts"],"mappings":";;;;;;;wBA8FgB,gBAAgB;;;;;;;;wBA8BhB,wBAAwB,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBCyDhD,eAAe"}
|
package/dist/read.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as TsPptxError, i as PackageReadError, n as InvalidOptionError, o as UnsupportedFeatureError, r as MediaError, t as InternalError } from "./errors-
|
|
2
|
-
import {
|
|
3
|
-
import { a as
|
|
4
|
-
export { AutoShape, Chart, ChartAxis, ChartEx, ChartExAxis, ChartExSeries, ChartSeries, Connector, ContentTypes, Diagram, DiagramNode, DiagramPoint, GraphicFrame, GroupShape, InternalError, InvalidOptionError, MediaError, NotesPlaceholder, NotesSlide, OpcPackage, PackageReadError, Paragraph, Part, Picture, Placeholder, Presentation, Relationships, Run, Shape, Slide, SlideLayout, SlideMaster, Table, TableCell, TableRow, TextFrame, Theme, TsPptxError, UnsupportedFeatureError, applyColorTransforms, isAutoShape, isConnector, isGraphicFrame, isGroupShape, isPicture, presetColorHex, readCoreProperties, readCustomProperties, readTagsForPart, relsPartNameFor, resolveColorElement, resolveRelativePartName };
|
|
1
|
+
import { a as TsPptxError, c as setDiagnosticHandler, i as PackageReadError, n as InvalidOptionError, o as UnsupportedFeatureError, r as MediaError, s as resetDiagnosticState, t as InternalError } from "./errors-C4oENPcu.js";
|
|
2
|
+
import { $t as relsPartNameFor, B as readColorRef, C as ChartSeries, D as Shape, Dt as presetColorHex, E as AutoShape, F as Paragraph, I as Run, P as TextFrame, S as ChartAxis, T as Picture, V as resolveColorElement, _ as DiagramPoint, a as isConnector, b as ChartExSeries, c as isPicture, d as Table, en as resolveRelativePartName, f as TableRow, g as DiagramNode, h as Diagram, i as isAutoShape, kt as applyColorTransforms, o as isGraphicFrame, p as TableCell, s as isGroupShape, t as GroupShape, u as GraphicFrame, v as ChartEx, w as Connector, x as Chart, y as ChartExAxis } from "./shapes-re0KyQk_.js";
|
|
3
|
+
import { a as Slide, c as NotesSlide, d as SlideMaster, f as Theme, g as ContentTypes, h as Part, i as readExtendedProperties, l as Placeholder, m as Relationships, n as readCoreProperties, o as readTagsForPart, p as OpcPackage, r as readCustomProperties, s as NotesPlaceholder, t as Presentation, u as SlideLayout } from "./presentation-DGYlAWhl.js";
|
|
4
|
+
export { AutoShape, Chart, ChartAxis, ChartEx, ChartExAxis, ChartExSeries, ChartSeries, Connector, ContentTypes, Diagram, DiagramNode, DiagramPoint, GraphicFrame, GroupShape, InternalError, InvalidOptionError, MediaError, NotesPlaceholder, NotesSlide, OpcPackage, PackageReadError, Paragraph, Part, Picture, Placeholder, Presentation, Relationships, Run, Shape, Slide, SlideLayout, SlideMaster, Table, TableCell, TableRow, TextFrame, Theme, TsPptxError, UnsupportedFeatureError, applyColorTransforms, isAutoShape, isConnector, isGraphicFrame, isGroupShape, isPicture, presetColorHex, readColorRef, readCoreProperties, readCustomProperties, readExtendedProperties, readTagsForPart, relsPartNameFor, resetDiagnosticState, resolveColorElement, resolveRelativePartName, setDiagnosticHandler };
|
package/dist/script.d.ts
CHANGED
|
@@ -1,24 +1,6 @@
|
|
|
1
|
-
import { h as
|
|
2
|
-
import {
|
|
1
|
+
import { _ as PackageReadErrorCode, a as InternalError, c as PackageReadError, d as UnsupportedFeatureError, f as DiagnosticCode, g as MediaErrorCode, h as InvalidOptionErrorCode, i as setDiagnosticHandler, l as TsPptxError, m as InternalErrorCode, n as DiagnosticHandler, o as InvalidOptionError, p as ErrorCode, r as resetDiagnosticState, s as MediaError, t as Diagnostic, u as TsPptxErrorOptions, v as TsPptxCode, y as UnsupportedFeatureErrorCode } from "./diagnostics-D8ot4Ei7.js";
|
|
2
|
+
import { y as Presentation } from "./presentation-types-8jLQHI4M.js";
|
|
3
3
|
//#region src/script/fidelity.d.ts
|
|
4
|
-
/**
|
|
5
|
-
* Fidelity notes — the declared, machine-checkable list of what a deck loses on the way
|
|
6
|
-
* to a script.
|
|
7
|
-
*
|
|
8
|
-
* A converter that warns about losses to a log has no way to be tested: the warnings are
|
|
9
|
-
* prose, nothing consumes them, and a missing one looks exactly like a clean run. Making
|
|
10
|
-
* the notes part of the IR inverts that. A note says "field X of shape Y will not come
|
|
11
|
-
* back", so a round-trip check can exclude precisely those fields and treat **any**
|
|
12
|
-
* remaining difference as a defect. Both directions then have teeth:
|
|
13
|
-
*
|
|
14
|
-
* - an *undeclared* loss fails the round-trip, because nothing excluded it;
|
|
15
|
-
* - a *declared* loss that actually survives is a stale note, and the check can say so.
|
|
16
|
-
*
|
|
17
|
-
* That is the whole reason notes are first-class rather than a side channel. It also
|
|
18
|
-
* means {@link FidelityNote.construct} is an identifier, not a sentence: it has to be
|
|
19
|
-
* matchable against a field path, so it is a stable dotted key and the human explanation
|
|
20
|
-
* lives in {@link FidelityNote.detail}.
|
|
21
|
-
*/
|
|
22
4
|
/** What happened to the construct. */
|
|
23
5
|
type Disposition =
|
|
24
6
|
/** Gone: nothing in the output carries it. */
|
|
@@ -52,13 +34,19 @@ type Cause =
|
|
|
52
34
|
interface FidelityNote {
|
|
53
35
|
/** 1-based source slide, or `null` for a deck-level loss. */
|
|
54
36
|
slideNumber: number | null;
|
|
55
|
-
/**
|
|
37
|
+
/**
|
|
38
|
+
* Source shape name (`p:cNvPr/@name`), `''` for a shape that has none, or `null` when the loss is
|
|
39
|
+
* not shape-scoped.
|
|
40
|
+
*/
|
|
56
41
|
shapeName: string | null;
|
|
57
42
|
/**
|
|
58
43
|
* Stable dotted identifier for the lost construct — `line.width`, `text.tabStops`,
|
|
59
44
|
* `chart.workbook`. Matched mechanically by the round-trip check, so it must name a
|
|
60
45
|
* field path rather than describe one. Reuse an existing key for the same construct
|
|
61
46
|
* instead of coining a synonym.
|
|
47
|
+
*
|
|
48
|
+
* A `string` rather than `NoteConstruct` because a note carries the `layout.`-prefixed
|
|
49
|
+
* spelling too; the recording end is the typed one.
|
|
62
50
|
*/
|
|
63
51
|
construct: string;
|
|
64
52
|
disposition: Disposition;
|
|
@@ -68,7 +56,7 @@ interface FidelityNote {
|
|
|
68
56
|
}
|
|
69
57
|
/**
|
|
70
58
|
* Namespace for a loss recorded against a shape on a **slide layout** rather than on a slide,
|
|
71
|
-
* prepended to the construct by
|
|
59
|
+
* prepended to the construct by `layoutShapeScope`.
|
|
72
60
|
*
|
|
73
61
|
* The chrome mapper reuses the slide shape mapper wholesale — a rectangle on a layout is
|
|
74
62
|
* transcribed by the same code that transcribes one on a slide, which is what keeps the two
|
|
@@ -84,7 +72,7 @@ interface FidelityNote {
|
|
|
84
72
|
* tier the loss is on — and a master's own decoration is not re-authored at all, so a note
|
|
85
73
|
* under this prefix is always about a layout.
|
|
86
74
|
*/
|
|
87
|
-
declare const LAYOUT_NOTE_PREFIX = "layout.";
|
|
75
|
+
export declare const LAYOUT_NOTE_PREFIX = "layout.";
|
|
88
76
|
//#endregion
|
|
89
77
|
//#region src/script/ir.d.ts
|
|
90
78
|
/**
|
|
@@ -100,7 +88,7 @@ interface AssetRef {
|
|
|
100
88
|
$asset: string;
|
|
101
89
|
}
|
|
102
90
|
/** `true` when `value` is an {@link AssetRef} rather than a plain IR object. */
|
|
103
|
-
declare function isAssetRef(value: unknown): value is AssetRef;
|
|
91
|
+
export declare function isAssetRef(value: unknown): value is AssetRef;
|
|
104
92
|
/**
|
|
105
93
|
* Any value an IR may hold. Deliberately narrower than `unknown`: it excludes `undefined`
|
|
106
94
|
* so that "absent" has exactly one spelling (a missing key), which is what makes two IRs
|
|
@@ -160,10 +148,16 @@ type SlideSource = 'authored' | 'carried';
|
|
|
160
148
|
* `data` rather than `image`, because `BackgroundProps` is `DataOrPathProps & ShapeFillProps`
|
|
161
149
|
* and `data` is the key it actually reads — an `image` key would print, typecheck against
|
|
162
150
|
* `IrValue`, and be ignored at run time.
|
|
151
|
+
*
|
|
152
|
+
* `type`, `gradient` and `pattern` are the `ShapeFillProps` keys a non-solid background is
|
|
153
|
+
* spelled with, the same values a shape's `fill` carries for the same elements.
|
|
163
154
|
*/
|
|
164
155
|
interface BackgroundIr {
|
|
156
|
+
type?: 'gradient' | 'pattern';
|
|
165
157
|
color?: string;
|
|
166
158
|
transparency?: number;
|
|
159
|
+
gradient?: IrValue;
|
|
160
|
+
pattern?: IrValue;
|
|
167
161
|
data?: AssetRef;
|
|
168
162
|
}
|
|
169
163
|
/**
|
|
@@ -188,7 +182,7 @@ interface TransitionSoundIr {
|
|
|
188
182
|
* A slide's show transition (`p:transition`), as a literal `TransitionProps`.
|
|
189
183
|
*
|
|
190
184
|
* Only the base ECMA-376 transitions reach this type. The read model reports
|
|
191
|
-
*
|
|
185
|
+
* `TransitionInfo.type` as an *open string*, because PowerPoint's modern effects
|
|
192
186
|
* (Morph, Vortex, …) live in the `p14`/`p15`/`p159` namespaces and it decodes those too —
|
|
193
187
|
* but the write path names 21 base ones and nothing else, so `from-read/transition.ts`
|
|
194
188
|
* filters against that vocabulary and notes what it drops. Anything that survives is a name
|
|
@@ -312,14 +306,43 @@ interface ChromeIr {
|
|
|
312
306
|
/** One entry per source layout, in gallery order. */
|
|
313
307
|
masters: MasterIr[];
|
|
314
308
|
}
|
|
315
|
-
/**
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
309
|
+
/**
|
|
310
|
+
* The `docProps` fields that round-trip, each keyed by its write-API setter and naming the read
|
|
311
|
+
* accessor it comes from: four are `docProps/core.xml`, read through `Presentation.coreProperties`
|
|
312
|
+
* (`author` is `dc:creator`), and `company` is `<Company>` in `docProps/app.xml`, read through
|
|
313
|
+
* `Presentation.appProperties`.
|
|
314
|
+
*
|
|
315
|
+
* The one spelling of the list. {@link DeckPropsIr}, the mapping, the core properties that are not
|
|
316
|
+
* carried, the ones a written deck is stamped with and the round trip's writer defaults all derive
|
|
317
|
+
* from it. They used to be spelled out at each of those sites, and `company`, added late, was
|
|
318
|
+
* missing from one of them.
|
|
319
|
+
*/
|
|
320
|
+
declare const DECK_PROPS: {
|
|
321
|
+
readonly title: {
|
|
322
|
+
readonly part: 'core';
|
|
323
|
+
readonly key: 'title';
|
|
324
|
+
};
|
|
325
|
+
readonly author: {
|
|
326
|
+
readonly part: 'core';
|
|
327
|
+
readonly key: 'creator';
|
|
328
|
+
};
|
|
329
|
+
readonly subject: {
|
|
330
|
+
readonly part: 'core';
|
|
331
|
+
readonly key: 'subject';
|
|
332
|
+
};
|
|
333
|
+
readonly revision: {
|
|
334
|
+
readonly part: 'core';
|
|
335
|
+
readonly key: 'revision';
|
|
336
|
+
};
|
|
337
|
+
readonly company: {
|
|
338
|
+
readonly part: 'app';
|
|
339
|
+
readonly key: 'company';
|
|
340
|
+
};
|
|
341
|
+
};
|
|
342
|
+
/** A deck property the write API can set, named by its setter. */
|
|
343
|
+
type DeckPropKey = keyof typeof DECK_PROPS;
|
|
344
|
+
/** Deck-level properties, reduced to the `DECK_PROPS` fields that round-trip. */
|
|
345
|
+
type DeckPropsIr = { [K in DeckPropKey]?: string; };
|
|
323
346
|
/**
|
|
324
347
|
* A whole deck, ready to print.
|
|
325
348
|
*
|
|
@@ -351,7 +374,7 @@ interface DeckIr {
|
|
|
351
374
|
//#endregion
|
|
352
375
|
//#region src/script/from-read/deck.d.ts
|
|
353
376
|
/** Convert a loaded deck into its IR. */
|
|
354
|
-
declare function readModelToIr(pres: Presentation): DeckIr;
|
|
377
|
+
export declare function readModelToIr(pres: Presentation): DeckIr;
|
|
355
378
|
//#endregion
|
|
356
379
|
//#region src/script/print/common.d.ts
|
|
357
380
|
/** How image bytes reach the emitted script. */
|
|
@@ -376,15 +399,8 @@ interface PrintedScript {
|
|
|
376
399
|
*/
|
|
377
400
|
notes: FidelityNote[];
|
|
378
401
|
}
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
interface PrintScriptOptions {
|
|
382
|
-
/**
|
|
383
|
-
* Path the emitted script loads its template from, resolved against the script's own
|
|
384
|
-
* location. This is the **source deck unchanged** — `fromTemplate` strips its slides.
|
|
385
|
-
* @default './template.pptx'
|
|
386
|
-
*/
|
|
387
|
-
templatePath?: string;
|
|
402
|
+
/** The print options both tiers take. */
|
|
403
|
+
interface CommonPrintOptions {
|
|
388
404
|
/** Path the emitted script writes to, resolved against the script's own location. @default './output.pptx' */
|
|
389
405
|
outputPath?: string;
|
|
390
406
|
/** Directory the emitted script reads image assets from, when {@link assets} is `'file'`. @default './assets' */
|
|
@@ -392,33 +408,31 @@ interface PrintScriptOptions {
|
|
|
392
408
|
/** @default 'file' */
|
|
393
409
|
assets?: AssetMode;
|
|
394
410
|
/**
|
|
395
|
-
* Import specifier the emitted script uses
|
|
396
|
-
* Defaults to this package's own published name; override it to point a generated
|
|
411
|
+
* Import specifier the emitted script uses; the template-anchored tier also imports its `/read`
|
|
412
|
+
* subpath. Defaults to this package's own published name; override it to point a generated
|
|
397
413
|
* script at a local build or a fork.
|
|
398
|
-
* @default '
|
|
414
|
+
* @default 'pptx-ts'
|
|
399
415
|
*/
|
|
400
416
|
packageName?: string;
|
|
401
417
|
}
|
|
402
|
-
/** Turn a deck IR into a runnable, template-anchored TypeScript module. */
|
|
403
|
-
declare function printScript(ir: DeckIr, options?: PrintScriptOptions): PrintedScript;
|
|
404
418
|
//#endregion
|
|
405
|
-
//#region src/script/print/
|
|
406
|
-
interface
|
|
407
|
-
/** Path the emitted script writes to, resolved against the script's own location. @default './output.pptx' */
|
|
408
|
-
outputPath?: string;
|
|
409
|
-
/** Directory the emitted script reads image assets from, when {@link assets} is `'file'`. @default './assets' */
|
|
410
|
-
assetDir?: string;
|
|
411
|
-
/** @default 'file' */
|
|
412
|
-
assets?: AssetMode;
|
|
419
|
+
//#region src/script/print/script.d.ts
|
|
420
|
+
interface PrintScriptOptions extends CommonPrintOptions {
|
|
413
421
|
/**
|
|
414
|
-
*
|
|
415
|
-
*
|
|
416
|
-
* @default '
|
|
422
|
+
* Path the emitted script loads its template from, resolved against the script's own
|
|
423
|
+
* location. This is the **source deck unchanged** — `fromTemplate` strips its slides.
|
|
424
|
+
* @default './template.pptx'
|
|
417
425
|
*/
|
|
418
|
-
|
|
426
|
+
templatePath?: string;
|
|
419
427
|
}
|
|
428
|
+
/** Turn a deck IR into a runnable, template-anchored TypeScript module. */
|
|
429
|
+
export declare function printScript(ir: DeckIr, options?: PrintScriptOptions): PrintedScript;
|
|
430
|
+
//#endregion
|
|
431
|
+
//#region src/script/print/standalone.d.ts
|
|
432
|
+
/** The standalone printer's options: exactly the ones both tiers share. */
|
|
433
|
+
type PrintStandaloneScriptOptions = CommonPrintOptions;
|
|
420
434
|
/** Turn a deck IR into a runnable TypeScript module that needs no template. */
|
|
421
|
-
declare function printStandaloneScript(ir: DeckIr, options?: PrintStandaloneScriptOptions): PrintedScript;
|
|
435
|
+
export declare function printStandaloneScript(ir: DeckIr, options?: PrintStandaloneScriptOptions): PrintedScript;
|
|
422
436
|
//#endregion
|
|
423
437
|
//#region src/script/verify/canonical.d.ts
|
|
424
438
|
/** One write-API call, with the source shape name lifted out as an address rather than data. */
|
|
@@ -492,7 +506,7 @@ interface CanonicalDeck {
|
|
|
492
506
|
slides: CanonicalSlide[];
|
|
493
507
|
}
|
|
494
508
|
/** Reduce a deck IR to the comparable form. */
|
|
495
|
-
declare function canonicalDeckIr(ir: DeckIr): CanonicalDeck;
|
|
509
|
+
export declare function canonicalDeckIr(ir: DeckIr): CanonicalDeck;
|
|
496
510
|
//#endregion
|
|
497
511
|
//#region src/script/verify/diff.d.ts
|
|
498
512
|
/**
|
|
@@ -561,7 +575,7 @@ interface RoundTripReport {
|
|
|
561
575
|
* `layout.` spellings are not listed — they resolve through {@link isKnownNoteConstruct},
|
|
562
576
|
* which is what a corpus check should use.
|
|
563
577
|
*/
|
|
564
|
-
declare function knownNoteConstructs(): string[];
|
|
578
|
+
export declare function knownNoteConstructs(): string[];
|
|
565
579
|
/**
|
|
566
580
|
* Compare the deck a script was generated from against the deck it produced.
|
|
567
581
|
*
|
|
@@ -570,12 +584,12 @@ declare function knownNoteConstructs(): string[];
|
|
|
570
584
|
* suppresses notes its tier rescues and adds ones its tier causes, so diffing against the
|
|
571
585
|
* IR's own list would both over- and under-exclude.
|
|
572
586
|
*/
|
|
573
|
-
declare function diffDeckIr(expected: CanonicalDeck, actual: CanonicalDeck, notes: FidelityNote[]): RoundTripReport;
|
|
587
|
+
export declare function diffDeckIr(expected: CanonicalDeck, actual: CanonicalDeck, notes: FidelityNote[]): RoundTripReport;
|
|
574
588
|
/**
|
|
575
589
|
* `true` when the coverage table can match this construct — directly or through the
|
|
576
590
|
* layout-shape fallback. The check a corpus test runs over every note both printers emit.
|
|
577
591
|
*/
|
|
578
|
-
declare function isKnownNoteConstruct(construct: string): boolean;
|
|
592
|
+
export declare function isKnownNoteConstruct(construct: string): boolean;
|
|
579
593
|
//#endregion
|
|
580
|
-
export { type AssetIr, type AssetMode, type AssetRef, type BackgroundIr, type CallIr, type CanonicalCall, type CanonicalChrome, type CanonicalDeck, type CanonicalSlide, type Cause, type ChromeIr, type DeckIr, type DeckPropsIr, type DifferenceKind, type Disposition, type ErrorCode, type FidelityNote, InternalError, type InternalErrorCode, InvalidOptionError, type InvalidOptionErrorCode, type IrDifference, type IrValue,
|
|
594
|
+
export { type AssetIr, type AssetMode, type AssetRef, type BackgroundIr, type CallIr, type CanonicalCall, type CanonicalChrome, type CanonicalDeck, type CanonicalSlide, type Cause, type ChromeIr, type CommonPrintOptions, type DeckIr, type DeckPropKey, type DeckPropsIr, type Diagnostic, type DiagnosticCode, type DiagnosticHandler, type DifferenceKind, type Disposition, type ErrorCode, type FidelityNote, InternalError, type InternalErrorCode, InvalidOptionError, type InvalidOptionErrorCode, type IrDifference, type IrValue, type MasterIr, MediaError, type MediaErrorCode, PackageReadError, type PackageReadErrorCode, type PrintScriptOptions, type PrintStandaloneScriptOptions, type PrintedScript, type RoundTripReport, type SlideIr, type SlideLayoutIr, type SlideSource, type ThemeIr, type TransitionIr, type TransitionSoundIr, type TsPptxCode, TsPptxError, type TsPptxErrorOptions, UnsupportedFeatureError, type UnsupportedFeatureErrorCode, resetDiagnosticState, setDiagnosticHandler };
|
|
581
595
|
//# sourceMappingURL=script.d.ts.map
|
package/dist/script.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"script.d.ts","names":[],"sources":["../src/script/fidelity.ts","../src/script/ir.ts","../src/script/from-read/deck.ts","../src/script/print/common.ts","../src/script/print/script.ts","../src/script/print/standalone.ts","../src/script/verify/canonical.ts","../src/script/verify/diff.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"script.d.ts","names":[],"sources":["../src/script/fidelity.ts","../src/script/ir.ts","../src/script/from-read/deck.ts","../src/script/print/common.ts","../src/script/print/script.ts","../src/script/print/standalone.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