@shbernal/ts-pptx 3.3.0 → 3.5.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/dist/{autopage-D1sqK6j7.js → autopage-BYlTzX-l.js} +8 -5
- package/dist/autopage-BYlTzX-l.js.map +1 -0
- package/dist/browser.d.ts +5 -5
- package/dist/browser.js +11 -11
- package/dist/browser.js.map +1 -1
- package/dist/{diagnostics-B2yWpcjB.d.ts → diagnostics-BDuR8UkG.d.ts} +39 -7
- package/dist/diagnostics-BDuR8UkG.d.ts.map +1 -0
- package/dist/{diagnostics-H1QzgRSw.js → diagnostics-CPVADSL1.js} +29 -3
- package/dist/{diagnostics-H1QzgRSw.js.map → diagnostics-CPVADSL1.js.map} +1 -1
- package/dist/{errors-fB1KDJKQ.d.ts → errors-CgnueTYL.d.ts} +3 -3
- package/dist/{errors-fB1KDJKQ.d.ts.map → errors-CgnueTYL.d.ts.map} +1 -1
- package/dist/{fit-CYJ1jkQI.js → fit-TjpNbMru.js} +3 -3
- package/dist/{fit-CYJ1jkQI.js.map → fit-TjpNbMru.js.map} +1 -1
- package/dist/{html-dom-CzewEdE1.js → html-dom-yUSdCExA.js} +5 -5
- package/dist/html-dom-yUSdCExA.js.map +1 -0
- package/dist/html.d.ts +3 -3
- package/dist/html.js +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.js +16 -33
- package/dist/index.js.map +1 -1
- package/dist/inspect.d.ts +28 -4
- package/dist/inspect.d.ts.map +1 -1
- package/dist/inspect.js +43 -10
- package/dist/inspect.js.map +1 -1
- package/dist/math.d.ts +1 -1
- package/dist/measure.d.ts +2 -2
- package/dist/measure.js +1 -1
- package/dist/{st-enums-bVnezkMJ.js → namespaces-CcKuzeuE.js} +291 -200
- package/dist/namespaces-CcKuzeuE.js.map +1 -0
- package/dist/node.d.ts +5 -5
- package/dist/node.js +7 -19
- package/dist/node.js.map +1 -1
- package/dist/{notes-SCvpJz0l.js → notes-DNqAggXx.js} +221 -140
- package/dist/notes-DNqAggXx.js.map +1 -0
- package/dist/{pres-Cb-1xDne.d.ts → pres-Dybf7ZUl.d.ts} +2 -2
- package/dist/{pres-Cb-1xDne.d.ts.map → pres-Dybf7ZUl.d.ts.map} +1 -1
- package/dist/{presentation-DeKTJGHf.js → presentation-VfJ_FT7E.js} +306 -234
- package/dist/presentation-VfJ_FT7E.js.map +1 -0
- package/dist/{presentation-types-B50aOUFI.d.ts → presentation-types-CpkTx9Xa.d.ts} +352 -16
- package/dist/presentation-types-CpkTx9Xa.d.ts.map +1 -0
- package/dist/read.d.ts +4 -4
- package/dist/read.js +3 -3
- package/dist/script.d.ts +2 -2
- package/dist/script.d.ts.map +1 -1
- package/dist/script.js +128 -63
- package/dist/script.js.map +1 -1
- package/dist/{shapes-BXVgsk0F.js → shapes-Kt51vry6.js} +717 -54
- package/dist/shapes-Kt51vry6.js.map +1 -0
- package/dist/{slide-DWw9UoI6.d.ts → slide-B_aInw3N.d.ts} +208 -180
- package/dist/slide-B_aInw3N.d.ts.map +1 -0
- package/dist/{text-uM-zGton.js → text-D04NUMvA.js} +3563 -3437
- package/dist/text-D04NUMvA.js.map +1 -0
- package/dist/{units-internal-CGf4VrXy.js → units-internal-DNvK2I6o.js} +54 -34
- package/dist/{units-internal-CGf4VrXy.js.map → units-internal-DNvK2I6o.js.map} +1 -1
- package/dist/zip.d.ts +1 -1
- package/package.json +4 -4
- package/dist/autopage-D1sqK6j7.js.map +0 -1
- package/dist/diagnostics-B2yWpcjB.d.ts.map +0 -1
- package/dist/html-dom-CzewEdE1.js.map +0 -1
- package/dist/notes-SCvpJz0l.js.map +0 -1
- package/dist/presentation-DeKTJGHf.js.map +0 -1
- package/dist/presentation-types-B50aOUFI.d.ts.map +0 -1
- package/dist/shapes-BXVgsk0F.js.map +0 -1
- package/dist/slide-DWw9UoI6.d.ts.map +0 -1
- package/dist/st-enums-bVnezkMJ.js.map +0 -1
- package/dist/text-uM-zGton.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as CustomPropertyValue } from "./pres-
|
|
1
|
+
import { t as CustomPropertyValue } from "./pres-Dybf7ZUl.js";
|
|
2
2
|
import { a as Part, i as Relationships, n as OpcPackage, o as Element, t as OpcInput } from "./package-CaOLXSNi.js";
|
|
3
3
|
//#region src/embedded-fonts.d.ts
|
|
4
4
|
/**
|
|
@@ -990,6 +990,13 @@ declare class Paragraph {
|
|
|
990
990
|
* document order, with each line break (`a:br`) rendered as `\n`.
|
|
991
991
|
*/
|
|
992
992
|
get text(): string;
|
|
993
|
+
/**
|
|
994
|
+
* Replace **this paragraph's** content with a single run, preserving the character
|
|
995
|
+
* formatting (`a:rPr`) of its first existing run and leaving its `a:pPr` (level,
|
|
996
|
+
* alignment, bullet) alone. Sibling paragraphs are untouched — the difference from
|
|
997
|
+
* {@link TextFrame.text}, which collapses the whole body to one paragraph.
|
|
998
|
+
*/
|
|
999
|
+
set text(value: string);
|
|
993
1000
|
/** Escape hatch: the underlying `a:p` element. After mutating it call {@link markDirty}, or `save()` writes the original bytes. */
|
|
994
1001
|
get element_(): Element;
|
|
995
1002
|
/** Mark the owning part dirty so `save()` reserializes it. Call after mutating {@link element_}. */
|
|
@@ -1143,10 +1150,16 @@ declare abstract class Shape {
|
|
|
1143
1150
|
host: ShapeHost);
|
|
1144
1151
|
/** Which concrete shape kind this is. */
|
|
1145
1152
|
abstract readonly shapeType: ShapeType;
|
|
1146
|
-
/**
|
|
1147
|
-
|
|
1153
|
+
/**
|
|
1154
|
+
* The transform element carrying this shape's geometry, or `null` if inherited.
|
|
1155
|
+
*
|
|
1156
|
+
* Defaults to `p:spPr/a:xfrm`, which is where three of the four shape kinds keep it
|
|
1157
|
+
* (`p:sp`, `p:pic`, `p:cxnSp`). {@link GraphicFrame} overrides it: a `p:graphicFrame`
|
|
1158
|
+
* has no `p:spPr` and carries a `p:xfrm` of its own directly.
|
|
1159
|
+
*/
|
|
1160
|
+
protected xfrm(): Element | null;
|
|
1148
1161
|
/** The transform element, creating it (and its container) in document order if absent. */
|
|
1149
|
-
protected
|
|
1162
|
+
protected getOrAddXfrm(): Element;
|
|
1150
1163
|
/**
|
|
1151
1164
|
* Mark the owning host's part dirty so `save()` reserializes it. Public
|
|
1152
1165
|
* because {@link element_} hands out the live DOM node: the hatch and the
|
|
@@ -1495,8 +1508,6 @@ declare abstract class Shape {
|
|
|
1495
1508
|
/** An auto shape, text box, or placeholder (`p:sp`). The only kind that holds text. */
|
|
1496
1509
|
declare class AutoShape extends Shape {
|
|
1497
1510
|
readonly shapeType: 'autoShape';
|
|
1498
|
-
protected xfrm(): Element | null;
|
|
1499
|
-
protected getOrAddXfrm(): Element;
|
|
1500
1511
|
get hasTextFrame(): boolean;
|
|
1501
1512
|
get textFrame(): TextFrame | null;
|
|
1502
1513
|
/**
|
|
@@ -1521,8 +1532,6 @@ declare class AutoShape extends Shape {
|
|
|
1521
1532
|
declare class Picture extends Shape {
|
|
1522
1533
|
#private;
|
|
1523
1534
|
readonly shapeType: 'picture';
|
|
1524
|
-
protected xfrm(): Element | null;
|
|
1525
|
-
protected getOrAddXfrm(): Element;
|
|
1526
1535
|
protected get supportsFill(): boolean;
|
|
1527
1536
|
/** Relationship id of the embedded image (`p:blipFill/a:blip/@r:embed`), or `null`. */
|
|
1528
1537
|
get imageRelId(): string | null;
|
|
@@ -1633,8 +1642,6 @@ declare class Picture extends Shape {
|
|
|
1633
1642
|
declare class Connector extends Shape {
|
|
1634
1643
|
#private;
|
|
1635
1644
|
readonly shapeType: 'connector';
|
|
1636
|
-
protected xfrm(): Element | null;
|
|
1637
|
-
protected getOrAddXfrm(): Element;
|
|
1638
1645
|
/**
|
|
1639
1646
|
* The connector's **start**-point shape binding (`p:nvCxnSpPr/p:cNvCxnSpPr/a:stCxn`),
|
|
1640
1647
|
* or `null` when the start point is unbound (a bare `p:cNvCxnSpPr`, i.e. a
|
|
@@ -1971,6 +1978,312 @@ declare class ChartExAxis {
|
|
|
1971
1978
|
markDirty(): void;
|
|
1972
1979
|
}
|
|
1973
1980
|
//#endregion
|
|
1981
|
+
//#region src/read/api/diagram.d.ts
|
|
1982
|
+
/**
|
|
1983
|
+
* `ST_PtType` — what a `dgm:pt` is.
|
|
1984
|
+
*
|
|
1985
|
+
* - `node` — a user-authored node, and the default when `@type` is absent.
|
|
1986
|
+
* - `asst` — an assistant node (an org chart's off-branch box); user content too.
|
|
1987
|
+
* - `doc` — the data model's single root; carries the layout/style/colour preset ids.
|
|
1988
|
+
* - `pres` — generated by the layout engine to position a node; never user content.
|
|
1989
|
+
* - `parTrans` / `sibTrans` — the two transition points of an edge, which a few layouts
|
|
1990
|
+
* (arrow processes, org-chart branches) let the user type a label into.
|
|
1991
|
+
*/
|
|
1992
|
+
type DiagramPointType = 'node' | 'asst' | 'doc' | 'pres' | 'parTrans' | 'sibTrans';
|
|
1993
|
+
/**
|
|
1994
|
+
* `ST_CxnType` — what a `dgm:cxn` asserts. `parOf` (the default) is the parent/child edge of
|
|
1995
|
+
* the user's tree; `presOf` and `presParOf` bind a node to the generated `pres` point that
|
|
1996
|
+
* draws it, and are the layout engine's bookkeeping rather than structure.
|
|
1997
|
+
*/
|
|
1998
|
+
type DiagramConnectionType = 'parOf' | 'presOf' | 'presParOf' | 'unknownRelationship';
|
|
1999
|
+
/**
|
|
2000
|
+
* One edge of a diagram's data model (`dgm:cxn`) — an attribute-only element, so it reads as
|
|
2001
|
+
* plain data rather than as a proxy.
|
|
2002
|
+
*
|
|
2003
|
+
* The ids are `ST_ModelId` GUIDs matching a {@link DiagramPoint.modelId}. `parOf` edges are
|
|
2004
|
+
* the tree a reader cares about: `sourceId` is the parent, `destinationId` the child, and
|
|
2005
|
+
* `sourceOrder` the child's position among its siblings.
|
|
2006
|
+
*/
|
|
2007
|
+
interface DiagramConnection {
|
|
2008
|
+
/** This edge's own id (`@modelId`). */
|
|
2009
|
+
modelId: string | null;
|
|
2010
|
+
/** What the edge asserts (`@type`); `parOf` when absent, its schema default. */
|
|
2011
|
+
type: DiagramConnectionType;
|
|
2012
|
+
/** The `@srcId` end — the parent, for a `parOf` edge. */
|
|
2013
|
+
sourceId: string | null;
|
|
2014
|
+
/** The `@destId` end — the child, for a `parOf` edge. */
|
|
2015
|
+
destinationId: string | null;
|
|
2016
|
+
/** The child's index among its siblings (`@srcOrd`). */
|
|
2017
|
+
sourceOrder: number | null;
|
|
2018
|
+
/** The parent's index as seen from the child (`@destOrd`). */
|
|
2019
|
+
destinationOrder: number | null;
|
|
2020
|
+
/** The `parTrans` point labelling this edge (`@parTransId`), or `null` when unset. */
|
|
2021
|
+
parentTransitionId: string | null;
|
|
2022
|
+
/** The `sibTrans` point labelling this edge (`@sibTransId`), or `null` when unset. */
|
|
2023
|
+
siblingTransitionId: string | null;
|
|
2024
|
+
/** The layout preset this edge belongs to (`@presId`), set on generated edges only. */
|
|
2025
|
+
presentationId: string | null;
|
|
2026
|
+
}
|
|
2027
|
+
/**
|
|
2028
|
+
* Where a point's text is drawn in the fallback drawing part — the second copy of every
|
|
2029
|
+
* string a diagram carries, and the only one a renderer without a SmartArt layout engine
|
|
2030
|
+
* paints. See {@link DiagramPoint.drawnShape} for how a point reaches it.
|
|
2031
|
+
*/
|
|
2032
|
+
interface DiagramDrawnShape {
|
|
2033
|
+
/** The drawing part (`/ppt/diagrams/drawing{N}.xml`) the shape lives in. */
|
|
2034
|
+
readonly part: Part;
|
|
2035
|
+
/** The `pres` point this shape draws (`dsp:sp/@modelId`) — never the authored point's own id. */
|
|
2036
|
+
readonly modelId: string;
|
|
2037
|
+
/** Which paragraph of {@link textFrame} carries this point's text (the `presOf` edge's `@destOrd`). */
|
|
2038
|
+
readonly paragraphIndex: number;
|
|
2039
|
+
/**
|
|
2040
|
+
* The shape's `dsp:txBody`, bound to the **drawing** part rather than the data part, so
|
|
2041
|
+
* an edit made through it marks the part that actually changed.
|
|
2042
|
+
*
|
|
2043
|
+
* One shape commonly draws several points — three of them in `mixed.pptx` — so writing
|
|
2044
|
+
* `textFrame.text` here would delete the siblings' text. Replace paragraph
|
|
2045
|
+
* {@link paragraphIndex} instead, which is what {@link DiagramPoint.text}'s setter does.
|
|
2046
|
+
*/
|
|
2047
|
+
readonly textFrame: TextFrame;
|
|
2048
|
+
/** Escape hatch: the underlying `dsp:sp`. After mutating it call `part.markDirty()`. */
|
|
2049
|
+
readonly element_: Element;
|
|
2050
|
+
}
|
|
2051
|
+
/**
|
|
2052
|
+
* The node → drawn-shape index of one diagram: the `presOf` edges of the data model and the
|
|
2053
|
+
* `dsp:sp` elements of the drawing part, both keyed for lookup.
|
|
2054
|
+
*
|
|
2055
|
+
* Built once per {@link Diagram}, and only when a point is actually asked what draws it — the
|
|
2056
|
+
* drawing part is a second XML DOM and a consumer reading node text should not pay to parse
|
|
2057
|
+
* it. The consequence of that memo: a consumer who *adds* or *removes* shapes in the drawing
|
|
2058
|
+
* part through the escape hatches must re-reach the diagram to see them here.
|
|
2059
|
+
*/
|
|
2060
|
+
declare class DrawingIndex {
|
|
2061
|
+
#private;
|
|
2062
|
+
private readonly drawingPart;
|
|
2063
|
+
private readonly themeContext?;
|
|
2064
|
+
constructor(root: Element | null, drawingPart: Part | null, themeContext?: ThemeContext | undefined);
|
|
2065
|
+
/**
|
|
2066
|
+
* Resolve one authored point to the `pres` point that presents it and to the drawn
|
|
2067
|
+
* paragraph carrying its text.
|
|
2068
|
+
*
|
|
2069
|
+
* A point commonly has **several** `presOf` arms — an org-chart node's box and the
|
|
2070
|
+
* connector beneath it are two presentations of one node — so the arm is chosen by what it
|
|
2071
|
+
* reaches rather than by its `@srcOrd`: the first, in `@srcOrd` order, whose `pres` point
|
|
2072
|
+
* draws a `dsp:sp` that has a `dsp:txBody`. That selector produced a unique hit for all 90
|
|
2073
|
+
* authored points measured across five layout families, and it degrades to "no arm" rather
|
|
2074
|
+
* than to "the wrong arm" on a layout that was not.
|
|
2075
|
+
*/
|
|
2076
|
+
resolve(modelId: string | null): {
|
|
2077
|
+
presentationId: string | null;
|
|
2078
|
+
drawnShape: DiagramDrawnShape | null;
|
|
2079
|
+
};
|
|
2080
|
+
}
|
|
2081
|
+
/** One point (`dgm:pt`) of a diagram's data model. */
|
|
2082
|
+
declare class DiagramPoint {
|
|
2083
|
+
#private;
|
|
2084
|
+
private readonly pt;
|
|
2085
|
+
/** The diagram data part, so a text edit marks the right part dirty. */
|
|
2086
|
+
private readonly part;
|
|
2087
|
+
private readonly themeContext?;
|
|
2088
|
+
private readonly relationships?;
|
|
2089
|
+
/** The owning diagram's drawing index, built on first use; absent when reached without one. */
|
|
2090
|
+
private readonly drawing?;
|
|
2091
|
+
constructor(pt: Element,
|
|
2092
|
+
/** The diagram data part, so a text edit marks the right part dirty. */
|
|
2093
|
+
part: Part, themeContext?: ThemeContext | undefined, relationships?: Relationships | undefined,
|
|
2094
|
+
/** The owning diagram's drawing index, built on first use; absent when reached without one. */
|
|
2095
|
+
drawing?: (() => DrawingIndex) | undefined);
|
|
2096
|
+
/** This point's id (`@modelId`), which connections reference. */
|
|
2097
|
+
get modelId(): string | null;
|
|
2098
|
+
/** What kind of point this is (`@type`); `node` when absent, its schema default. */
|
|
2099
|
+
get type(): DiagramPointType;
|
|
2100
|
+
/**
|
|
2101
|
+
* For a transition point, the edge it labels (`@cxnId`), or `null`. The schema's default
|
|
2102
|
+
* is the literal `0`, which means "none" rather than naming a point, so it reads `null`.
|
|
2103
|
+
*/
|
|
2104
|
+
get connectionId(): string | null;
|
|
2105
|
+
/**
|
|
2106
|
+
* Whether this point is an unfilled prompt (`dgm:prSet/@phldr`) — a node PowerPoint draws
|
|
2107
|
+
* with a grey placeholder string and treats as empty. Excluded from {@link Diagram.text}:
|
|
2108
|
+
* a layout that stores its prompt in `dgm:t` would otherwise extract as content.
|
|
2109
|
+
*/
|
|
2110
|
+
get isPlaceholder(): boolean;
|
|
2111
|
+
/** The prompt string a placeholder point displays (`dgm:prSet/@phldrT`), or `null`. */
|
|
2112
|
+
get placeholderText(): string | null;
|
|
2113
|
+
/**
|
|
2114
|
+
* This point's text body (`dgm:t`) as a {@link TextFrame}, or `null` when the point
|
|
2115
|
+
* carries none. It is an `a:CT_TextBody` like any other, so `paragraphs`, `runs` and the
|
|
2116
|
+
* `resolved*` getters all apply.
|
|
2117
|
+
*
|
|
2118
|
+
* **Writing through this edits the data model only**, and leaves the drawing cache
|
|
2119
|
+
* holding the old string — which is what PowerPoint-less renderers draw. It is the escape
|
|
2120
|
+
* hatch for run-level formatting, so it does exactly what it is told and nothing more;
|
|
2121
|
+
* {@link text}'s setter is the path that mirrors.
|
|
2122
|
+
*/
|
|
2123
|
+
get textFrame(): TextFrame | null;
|
|
2124
|
+
/**
|
|
2125
|
+
* The generated `pres` point that presents this one (`dgm:cxn[@type="presOf"]/@destId`),
|
|
2126
|
+
* or `null` when nothing presents it — the normal state of an unlabelled transition point.
|
|
2127
|
+
*
|
|
2128
|
+
* Where a point has several `presOf` arms the one named here is the arm that draws text;
|
|
2129
|
+
* see {@link drawnShape}, which resolves both.
|
|
2130
|
+
*/
|
|
2131
|
+
get presentationId(): string | null;
|
|
2132
|
+
/**
|
|
2133
|
+
* The paragraph of the fallback drawing part (`dsp:drawing`) that carries this point's
|
|
2134
|
+
* text, or `null` when nothing draws it.
|
|
2135
|
+
*
|
|
2136
|
+
* The mapping runs through the `pres` point rather than directly: a `dsp:sp/@modelId` is
|
|
2137
|
+
* always a `pres` point's id, so a lookup keyed on the authored point's own id finds
|
|
2138
|
+
* nothing at all. It is many-to-one in both directions — one shape draws several points
|
|
2139
|
+
* (`@destOrd` says which paragraph is whose, and it can contradict document order), and
|
|
2140
|
+
* one point has several presentations, of which at most one holds text.
|
|
2141
|
+
*
|
|
2142
|
+
* `null` is a defined outcome, not a failure, and covers four real cases: the package
|
|
2143
|
+
* carries no drawing part; the point has no `presOf` edge (every unlabelled
|
|
2144
|
+
* `parTrans`/`sibTrans`); the `pres` point draws no `dsp:sp`; and the shape it draws has
|
|
2145
|
+
* no `dsp:txBody` (a connector, or a picture node's filled rectangle).
|
|
2146
|
+
*/
|
|
2147
|
+
get drawnShape(): DiagramDrawnShape | null;
|
|
2148
|
+
/** This point's text, paragraphs joined by `\n`; `''` when it carries none. */
|
|
2149
|
+
get text(): string;
|
|
2150
|
+
/**
|
|
2151
|
+
* Replace this point's text, in the data model **and** in the drawing cache.
|
|
2152
|
+
*
|
|
2153
|
+
* A diagram stores every string twice. `dgm:t` is what PowerPoint reads, and it recomputes
|
|
2154
|
+
* the drawing from the data model on open; the `dsp:drawing` part is what every other
|
|
2155
|
+
* renderer paints, and none of them recompute anything. Writing only the first is an edit
|
|
2156
|
+
* that is invisible in LibreOffice, Google Slides, thumbnailers and web previews until
|
|
2157
|
+
* someone opens the deck in PowerPoint and saves it.
|
|
2158
|
+
*
|
|
2159
|
+
* The data-model write always happens. The mirror is best-effort: when the point resolves
|
|
2160
|
+
* to no drawn paragraph (see {@link drawnShape} for the four ways that occurs) the cache
|
|
2161
|
+
* keeps the old string and a `diagram/drawing-cache-not-updated` diagnostic says so.
|
|
2162
|
+
* Throwing instead would make the common case unusable in order to report the rare one,
|
|
2163
|
+
* and returning a status would be a shape no other text setter here has.
|
|
2164
|
+
*
|
|
2165
|
+
* Two things it deliberately does not do. It does **not** recompute geometry: the drawn
|
|
2166
|
+
* shape keeps its cached position and size, so a much longer string overflows its box in
|
|
2167
|
+
* those same renderers until PowerPoint re-lays the diagram out. And it does not *create*
|
|
2168
|
+
* a place to draw text — a transition point whose layout has no label slot has no
|
|
2169
|
+
* `dsp:sp`, and PowerPoint strips text put on one, so the honest outcome is the
|
|
2170
|
+
* diagnostic. Like every other `text` setter here it collapses the point to one run,
|
|
2171
|
+
* keeping the first run's `a:rPr`; use {@link textFrame} for run-level work.
|
|
2172
|
+
*/
|
|
2173
|
+
set text(value: string);
|
|
2174
|
+
/** Escape hatch: the underlying `dgm:pt` element. After mutating it call {@link Diagram.markDirty}. */
|
|
2175
|
+
get element_(): Element;
|
|
2176
|
+
}
|
|
2177
|
+
/**
|
|
2178
|
+
* One user-authored point in its place in the diagram's tree — a `node` or an `asst`, never a
|
|
2179
|
+
* generated `pres` point or a transition label. See {@link Diagram.nodes}.
|
|
2180
|
+
*/
|
|
2181
|
+
declare class DiagramNode {
|
|
2182
|
+
/** The point itself: its text, its type, and its link to what is drawn for it. */
|
|
2183
|
+
readonly point: DiagramPoint;
|
|
2184
|
+
/** The parent node, or `null` for a root. */
|
|
2185
|
+
readonly parent: DiagramNode | null;
|
|
2186
|
+
/** Depth below the root, `0` for a root. */
|
|
2187
|
+
readonly level: number;
|
|
2188
|
+
/** Child nodes, ordered by their `parOf` edge's `@srcOrd`. Empty for a leaf. */
|
|
2189
|
+
readonly children: DiagramNode[];
|
|
2190
|
+
constructor(
|
|
2191
|
+
/** The point itself: its text, its type, and its link to what is drawn for it. */
|
|
2192
|
+
point: DiagramPoint,
|
|
2193
|
+
/** The parent node, or `null` for a root. */
|
|
2194
|
+
parent: DiagramNode | null,
|
|
2195
|
+
/** Depth below the root, `0` for a root. */
|
|
2196
|
+
level: number);
|
|
2197
|
+
}
|
|
2198
|
+
/** A SmartArt graphic frame's diagram, backed by its `dgm:dataModel` part. */
|
|
2199
|
+
declare class Diagram {
|
|
2200
|
+
#private;
|
|
2201
|
+
/** The diagram's data part (`/ppt/diagrams/data{N}.xml`), whose root is `dgm:dataModel`. */
|
|
2202
|
+
readonly part: Part;
|
|
2203
|
+
/** The frame's `dgm:relIds`, which names the other three parts by relationship id. */
|
|
2204
|
+
private readonly relIds;
|
|
2205
|
+
private readonly opc;
|
|
2206
|
+
/** Relationships of the part holding the frame — what `dgm:relIds` resolves against. */
|
|
2207
|
+
private readonly frameRelationships;
|
|
2208
|
+
private readonly themeContext?;
|
|
2209
|
+
constructor(
|
|
2210
|
+
/** The diagram's data part (`/ppt/diagrams/data{N}.xml`), whose root is `dgm:dataModel`. */
|
|
2211
|
+
part: Part,
|
|
2212
|
+
/** The frame's `dgm:relIds`, which names the other three parts by relationship id. */
|
|
2213
|
+
relIds: Element, opc: OpcPackage,
|
|
2214
|
+
/** Relationships of the part holding the frame — what `dgm:relIds` resolves against. */
|
|
2215
|
+
frameRelationships: Relationships, themeContext?: ThemeContext | undefined);
|
|
2216
|
+
/** Partname of the diagram data part. */
|
|
2217
|
+
get partName(): string;
|
|
2218
|
+
/**
|
|
2219
|
+
* Every point (`dgm:ptLst/dgm:pt`) in document order, unfiltered — generated `pres`
|
|
2220
|
+
* points and the `doc` root included. Filter on {@link DiagramPoint.type} for the user's
|
|
2221
|
+
* nodes; {@link text} is the shortcut for the common case, {@link nodes} the structured one.
|
|
2222
|
+
*
|
|
2223
|
+
* Built per access like every other read proxy (`docs/reference/pptx-read.md`, "Object
|
|
2224
|
+
* model"), so `points[0] !== points[0]` while both wrap the same `dgm:pt`. Key a `Map`
|
|
2225
|
+
* on {@link DiagramPoint.modelId}, not on the point.
|
|
2226
|
+
*/
|
|
2227
|
+
get points(): DiagramPoint[];
|
|
2228
|
+
/**
|
|
2229
|
+
* The authored tree — every `node` and `asst` point in its place, roots in `@srcOrd`
|
|
2230
|
+
* order — as a view over {@link points} and {@link connections} rather than a replacement
|
|
2231
|
+
* for either.
|
|
2232
|
+
*
|
|
2233
|
+
* A root is a content point whose `parOf` parent is not itself content, which in a
|
|
2234
|
+
* PowerPoint-authored model means the `doc` point. Transition points are not members; see
|
|
2235
|
+
* this module's header for that decision and the two beside it.
|
|
2236
|
+
*
|
|
2237
|
+
* @throws PackageReadError `diagram/parent-edge-cycle` when the `parOf` edges make a
|
|
2238
|
+
* point its own ancestor, which is a corrupt model rather than a diagram shape.
|
|
2239
|
+
*/
|
|
2240
|
+
get nodes(): DiagramNode[];
|
|
2241
|
+
/**
|
|
2242
|
+
* The point with this `@modelId`, or `null` — the lookup every connection getter implies,
|
|
2243
|
+
* since a `DiagramConnection` names its ends by id and nothing else resolves them.
|
|
2244
|
+
*/
|
|
2245
|
+
point(modelId: string): DiagramPoint | null;
|
|
2246
|
+
/** Every edge (`dgm:cxnLst/dgm:cxn`) in document order. */
|
|
2247
|
+
get connections(): DiagramConnection[];
|
|
2248
|
+
/**
|
|
2249
|
+
* The diagram's text in document order, blocks joined by `\n` — the counterpart to
|
|
2250
|
+
* `TextFrame.text` for a construct that has no single text body.
|
|
2251
|
+
*
|
|
2252
|
+
* Contributing points are the ones a user can type into: everything except the generated
|
|
2253
|
+
* `pres` points, the `doc` root, and any point flagged as an unfilled placeholder. A
|
|
2254
|
+
* point with no text contributes no blank line. Transition labels (`parTrans`/`sibTrans`)
|
|
2255
|
+
* are included where a layout has them, which is why this is not simply the node list.
|
|
2256
|
+
*/
|
|
2257
|
+
get text(): string;
|
|
2258
|
+
/**
|
|
2259
|
+
* The layout preset the diagram is drawn with (the `doc` point's `dgm:prSet/@loTypeId`),
|
|
2260
|
+
* e.g. `urn:microsoft.com/office/officeart/2005/8/layout/hList1`. This is what names the
|
|
2261
|
+
* SmartArt *kind*; {@link layoutPart} is that preset's definition.
|
|
2262
|
+
*/
|
|
2263
|
+
get layoutTypeId(): string | null;
|
|
2264
|
+
/** The quick-style preset (the `doc` point's `dgm:prSet/@qsTypeId`). */
|
|
2265
|
+
get quickStyleTypeId(): string | null;
|
|
2266
|
+
/** The colour preset (the `doc` point's `dgm:prSet/@csTypeId`). */
|
|
2267
|
+
get colorsTypeId(): string | null;
|
|
2268
|
+
/** The layout definition part (`dgm:relIds/@r:lo`), or `null` when missing from the package. */
|
|
2269
|
+
get layoutPart(): Part | null;
|
|
2270
|
+
/** The quick-style part (`dgm:relIds/@r:qs`), or `null` when missing from the package. */
|
|
2271
|
+
get quickStylePart(): Part | null;
|
|
2272
|
+
/** The colours part (`dgm:relIds/@r:cs`), or `null` when missing from the package. */
|
|
2273
|
+
get colorsPart(): Part | null;
|
|
2274
|
+
/**
|
|
2275
|
+
* The fallback drawing part (`dsp:drawing`) that renders the diagram for a consumer with
|
|
2276
|
+
* no SmartArt layout engine, or `null` when the deck carries none. It is named by an MS
|
|
2277
|
+
* extension on the data model rather than by `dgm:relIds`, so a slide holding two
|
|
2278
|
+
* diagrams still resolves each to its own drawing.
|
|
2279
|
+
*/
|
|
2280
|
+
get drawingPart(): Part | null;
|
|
2281
|
+
/** Escape hatch: the underlying `dgm:dataModel` element. After mutating it call {@link markDirty}, or `save()` writes the original bytes. */
|
|
2282
|
+
get element_(): Element | null;
|
|
2283
|
+
/** Mark the diagram data part dirty so `save()` reserializes it. Call after mutating {@link element_}. */
|
|
2284
|
+
markDirty(): void;
|
|
2285
|
+
}
|
|
2286
|
+
//#endregion
|
|
1974
2287
|
//#region src/read/api/table-edit.d.ts
|
|
1975
2288
|
/** The four edges plus the two diagonals, keyed as {@link TableCellEdge} names them. */
|
|
1976
2289
|
declare const EDGE_QNAMES: {
|
|
@@ -2570,7 +2883,7 @@ declare class TableCell {
|
|
|
2570
2883
|
}
|
|
2571
2884
|
//#endregion
|
|
2572
2885
|
//#region src/read/api/shapes/graphic-frame.d.ts
|
|
2573
|
-
/** A graphic frame (`p:graphicFrame`) — host for tables and
|
|
2886
|
+
/** A graphic frame (`p:graphicFrame`) — host for tables, charts and SmartArt diagrams. */
|
|
2574
2887
|
declare class GraphicFrame extends Shape {
|
|
2575
2888
|
#private;
|
|
2576
2889
|
readonly shapeType: 'graphicFrame';
|
|
@@ -2583,6 +2896,18 @@ declare class GraphicFrame extends Shape {
|
|
|
2583
2896
|
get hasChart(): boolean;
|
|
2584
2897
|
/** Whether this frame hosts a chartEx chart (`a:graphicData/@uri` is the chartEx URI). */
|
|
2585
2898
|
get hasChartEx(): boolean;
|
|
2899
|
+
/** Whether this frame hosts a SmartArt diagram (`a:graphicData/@uri` is the diagram URI). */
|
|
2900
|
+
get hasDiagram(): boolean;
|
|
2901
|
+
/**
|
|
2902
|
+
* The `a:graphicData/@uri` verbatim — the namespace naming what this frame hosts, or
|
|
2903
|
+
* `null` when the frame carries no `a:graphicData`.
|
|
2904
|
+
*
|
|
2905
|
+
* Every `has*` predicate is a comparison against this, so a frame whose URI matches none
|
|
2906
|
+
* of them is one the read model does not decode (an OLE object, an ink `p:contentPart`).
|
|
2907
|
+
* Reading the URI is what lets a consumer say *which* construct it could not reach
|
|
2908
|
+
* instead of inferring loss from four `false`s.
|
|
2909
|
+
*/
|
|
2910
|
+
get graphicDataUri(): string | null;
|
|
2586
2911
|
/** The hosted table, or `null` when this frame is not a table. */
|
|
2587
2912
|
get table(): Table | null;
|
|
2588
2913
|
/** The hosted chart, or `null` when this frame is not a chart or its part is missing. */
|
|
@@ -2593,6 +2918,12 @@ declare class GraphicFrame extends Shape {
|
|
|
2593
2918
|
* `cx:chart` (not the classic `c:chart`), carrying the MS `chartEx` rel id.
|
|
2594
2919
|
*/
|
|
2595
2920
|
get chartEx(): ChartEx | null;
|
|
2921
|
+
/**
|
|
2922
|
+
* The hosted SmartArt diagram, or `null` when this frame is not a diagram or its data
|
|
2923
|
+
* part is missing. The payload child is `dgm:relIds`, which names four parts by
|
|
2924
|
+
* relationship id; the `@r:dm` one is the data model this resolves.
|
|
2925
|
+
*/
|
|
2926
|
+
get diagram(): Diagram | null;
|
|
2596
2927
|
}
|
|
2597
2928
|
//#endregion
|
|
2598
2929
|
//#region src/read/api/shapes.d.ts
|
|
@@ -3294,9 +3625,14 @@ declare class Slide implements ShapeHost {
|
|
|
3294
3625
|
* All text on the slide, flattened in document order — the read-model
|
|
3295
3626
|
* counterpart to {@link TextFrame.text} one level up. Every text-bearing shape
|
|
3296
3627
|
* contributes its text, recursing into groups ({@link GroupShape}) and reading
|
|
3297
|
-
* table cells ({@link GraphicFrame.table})
|
|
3298
|
-
*
|
|
3299
|
-
*
|
|
3628
|
+
* table cells ({@link GraphicFrame.table}) and SmartArt node text
|
|
3629
|
+
* ({@link GraphicFrame.diagram}); text-free shapes (pictures, connectors, empty
|
|
3630
|
+
* boxes) contribute nothing. Blocks are joined by `\n`; within a table, cells in
|
|
3631
|
+
* a row are joined by `\t` and rows by `\n`.
|
|
3632
|
+
*
|
|
3633
|
+
* A diagram contributes for the same reason a table does: its nodes are body text
|
|
3634
|
+
* PowerPoint itself searches and spell-checks, so a slide whose whole message is a
|
|
3635
|
+
* SmartArt graphic would otherwise flatten to the empty string.
|
|
3300
3636
|
*
|
|
3301
3637
|
* This is deliberately scoped to the slide's own shape tree. It does **not**
|
|
3302
3638
|
* include speaker notes (read those via {@link notesText}) or chart data labels
|
|
@@ -4455,5 +4791,5 @@ interface FromTemplateOptions {
|
|
|
4455
4791
|
keepTemplateContentType?: boolean;
|
|
4456
4792
|
}
|
|
4457
4793
|
//#endregion
|
|
4458
|
-
export { CellThreeD as $,
|
|
4459
|
-
//# sourceMappingURL=presentation-types-
|
|
4794
|
+
export { CellThreeD as $, RecolorColor as $t, Theme as A, Shape as At, ModernCommentAuthor as B, TextFrame as Bt, TransitionInfo as C, ChartFill as Ct, Placeholder as D, Connector as Dt, ColorMapToken as E, ChartSeries as Et, readTagsForPart as F, BulletStyle as Ft, isAutoShape as G, CustomGeometryPath as Gt, NotesSlide as H, ChildFrame as Ht, Comment as I, LineSpacing as It, isGroupShape as J, InnerShadow as Jt, isConnector as K, GeometryCommand as Kt, CommentAuthor as L, Paragraph as Lt, ThemeFontFace as M, AutofitMode as Mt, ThemeFontScheme as N, BodyProperties as Nt, SlideLayout as O, Picture as Ot, Tag as P, BulletDetail as Pt, CellBorders as Q, Recolor as Qt, CommentSchema as R, Run as Rt, Slide as S, ChartDataLabels as St, TransitionSpeed as T, ChartLine as Tt, AnyShape as U, ConnectionSite as Ut, NotesPlaceholder as V, AbsoluteFrame as Vt, GroupShape as W, CustomGeometry as Wt, GraphicFrame as X, LineEnds as Xt, isPicture as Y, LineEnd as Yt, CellBorder as Z, OuterShadow as Zt, CustomProperty as _, ChartExLegend as _t, ExtractedSlides as a, BackgroundSource as an, TableConditionFlags as at, AddPictureOptions as b, Chart as bt, ImportSlideMastersOptions as c, PictureFill as cn, DiagramConnection as ct, ImportedSlideMaster as d, GradientStop as dn, DiagramNode as dt, Reflection as en, Table as et, LayoutHandle as f, ResolvedColor as fn, DiagramPoint as ft, CoreProperties as g, ChartExDataLabels as gt, Presentation as h, EmbeddedFontSlot as hn, ChartExAxis as ht, ExtractedSlide as i, BackgroundFill as in, ResolvedTableStyle as it, ThemeColorSlot as j, ShapeHost as jt, SlideMaster as k, AutoShape as kt, ImportSlideOptions as l, PictureFillTile as ln, DiagramConnectionType as lt, SlideSource as m, ColorContext as mn, ChartEx as mt, EmbeddedFontFaceInfo as n, SoftEdge as nn, TableCellBorderEdit as nt, FromTemplateOptions as o, SlideBackground as on, TableCellEdge as ot, SlideSize as p, resolveColorElement as pn, DiagramPointType as pt, isGraphicFrame as q, Glow as qt, EmbeddedFontInfo as r, PatternFill as rn, TableRow as rt, ImportShapeOptions as s, FillRect as sn, Diagram as st, AppendSlidesOptions as t, ShapeType as tn, TableCell as tt, ImportSlidesRequest as u, GradientFill as un, DiagramDrawnShape as ut, readCoreProperties as v, ChartExSeries as vt, TransitionInput as w, ChartLegend as wt, AddTextBoxOptions as x, ChartAxis as xt, readCustomProperties as y, AxisNumberFormat as yt, ModernComment as z, RunHyperlink as zt };
|
|
4795
|
+
//# sourceMappingURL=presentation-types-CpkTx9Xa.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"presentation-types-CpkTx9Xa.d.ts","names":[],"sources":["../src/embedded-fonts.ts","../src/read/oxml/theme.ts","../src/read/api/theme-context.ts","../src/read/api/gradient.ts","../src/read/api/picture-fill.ts","../src/read/api/slide-background.ts","../src/read/api/shapes/oxml.ts","../src/read/api/pattern-fill.ts","../src/read/api/shapes/types.ts","../src/read/api/text.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-style-resolve.ts","../src/read/api/table.ts","../src/read/api/shapes/graphic-frame.ts","../src/read/api/shapes.ts","../src/read/api/notes.ts","../src/read/api/comments.ts","../src/read/api/tags.ts","../src/read/api/chrome.ts","../src/read/api/transition.ts","../src/read/api/slide.ts","../src/read/api/document-properties.ts","../src/read/api/presentation.ts","../src/read/api/presentation-types.ts"],"mappings":";;;;;;;;cA8Ba;KACD,2BAA2B;;UAGtB;EAChB,MAAM;EACN,QAAQ;;;UAIQ;;EAEhB;EACA;EACA;EACA;EACA,OAAO;;;;;;;;;;UCgBS;EAChB,QAAQ;EACR,WAAW;;;;;;;;;;;UAYK,qBAAqB;EACrC,WAAW;;;;;EAKX,aAAa;;;;;EAKb,aAAa;;;;;;;EAOb,aAAa;;;;;;;;;;EAUb,aAAa;;;;;;;;;EASb,mBAAmB;;;;;UCqHH;EAChB;EACA;;;KAmJW;;UAGK;EAChB;EACA;EACA;EACA;EACA,QAAQ;;;;;;;;;;;;;;;UAyCQ;EAChB;EACA;IAAc;IAAc;;EAC5B;EACA;;;;;;;;;iBAUe,oBAAoB,SAAS,gBAAgB,KAAK,eAAe;;UAmDhE;;EAEhB,OAAO;;EAEP;;;;;UCtegB;;EAEhB;;EAEA;;EAEA;;;;;;;;EAQA;;EAEA;;;;;;;;;;;UAYgB;;EAEhB;;EAEA;;EAEA;;EAEA,OAAO;;;;;UChCS;EAChB;EACA;EACA;EACA;;;;;;;UAQgB;;EAEhB;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;;;;;;;;;;;;UAcgB;;EAEhB;;EAEA;;EAEA;;EAEA,SAAS;;EAET,UAAU;;EAEV,MAAM;;EAEN;;EAEA;;EAEA;;;;;KCzCW;;;;;;;;;;;KAYA;EACP;EAAe,OAAO;;EACtB;EAAkB,UAAU;;EAC5B;EAAe,SAAS;EAAa;EAAsB;;EAC3D;EAAiB;EAAuB,YAAY;EAAsB,YAAY;;EACtF;;;;;;;;;;;KAWO;EACP;EAAe,QAAQ;EAAkB,OAAO;;EAChD;EAAkB,QAAQ;EAAkB,UAAU;;EACtD;EAAe,QAAQ;EAAkB,SAAS;EAAa;EAAsB;;EAEvF;E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YAAY;IAAQ;IAAa;;;;;;;;EAOjC,SAAS;;;;;;;;EAQT,aAAa;;;;;;;EAOb,QAAQ;;;UAIC;;EAET;;;;;;EAMA,YAAY;IAAQ;IAAa;;;;;;;;;;;;;UAaxB;;EAET;;EAEA;;EAEA,gBAAgB;;;;;;;EAOhB;;IAEC;;IAEA;;;;UAKQ;;EAET;;EAEA;;EAEA;;EAEA;;EAEA,YAAY;;EAEZ;;EAEA;;EAEA,cAAc;;EAEd;;EAEA;;;UAIS;;EAET;;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;;;UAIgB;;;;;;;EAOhB"}
|
package/dist/read.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as CustomPropertyValue } from "./pres-
|
|
2
|
-
import { $ as CellThreeD, $t as
|
|
1
|
+
import { t as CustomPropertyValue } from "./pres-Dybf7ZUl.js";
|
|
2
|
+
import { $ as CellThreeD, $t as RecolorColor, A as Theme, At as Shape, B as ModernCommentAuthor, Bt as TextFrame, C as TransitionInfo, Ct as ChartFill, D as Placeholder, Dt as Connector, E as ColorMapToken, Et as ChartSeries, F as readTagsForPart, Ft as BulletStyle, G as isAutoShape, Gt as CustomGeometryPath, H as NotesSlide, Ht as ChildFrame, I as Comment, It as LineSpacing, J as isGroupShape, Jt as InnerShadow, K as isConnector, Kt as GeometryCommand, L as CommentAuthor, Lt as Paragraph, M as ThemeFontFace, Mt as AutofitMode, N as ThemeFontScheme, Nt as BodyProperties, O as SlideLayout, Ot as Picture, P as Tag, Pt as BulletDetail, Q as CellBorders, Qt as Recolor, R as CommentSchema, Rt as Run, S as Slide, St as ChartDataLabels, T as TransitionSpeed, Tt as ChartLine, U as AnyShape, Ut as ConnectionSite, V as NotesPlaceholder, Vt as AbsoluteFrame, W as GroupShape, Wt as CustomGeometry, X as GraphicFrame, Xt as LineEnds, Y as isPicture, Yt as LineEnd, Z as CellBorder, Zt as OuterShadow, _ as CustomProperty, _t as ChartExLegend, a as ExtractedSlides, an as BackgroundSource, at as TableConditionFlags, b as AddPictureOptions, bt as Chart, c as ImportSlideMastersOptions, cn as PictureFill, ct as DiagramConnection, d as ImportedSlideMaster, dn as GradientStop, dt as DiagramNode, en as Reflection, et as Table, f as LayoutHandle, fn as ResolvedColor, ft as DiagramPoint, g as CoreProperties, gt as ChartExDataLabels, h as Presentation, ht as ChartExAxis, i as ExtractedSlide, in as BackgroundFill, it as ResolvedTableStyle, j as ThemeColorSlot, jt as ShapeHost, k as SlideMaster, kt as AutoShape, l as ImportSlideOptions, ln as PictureFillTile, lt as DiagramConnectionType, m as SlideSource, mn as ColorContext, mt as ChartEx, n as EmbeddedFontFaceInfo, nn as SoftEdge, nt as TableCellBorderEdit, o as FromTemplateOptions, on as SlideBackground, ot as TableCellEdge, p as SlideSize, pn as resolveColorElement, pt as DiagramPointType, q as isGraphicFrame, qt as Glow, r as EmbeddedFontInfo, rn as PatternFill, rt as TableRow, s as ImportShapeOptions, sn as FillRect, st as Diagram, t as AppendSlidesOptions, tn as ShapeType, tt as TableCell, u as ImportSlidesRequest, un as GradientFill, ut as DiagramDrawnShape, v as readCoreProperties, vt as ChartExSeries, w as TransitionInput, wt as ChartLegend, x as AddTextBoxOptions, xt as ChartAxis, y as readCustomProperties, yt as AxisNumberFormat, z as ModernComment, zt as RunHyperlink } from "./presentation-types-CpkTx9Xa.js";
|
|
3
3
|
import { a as Part, i as Relationships, n as OpcPackage, r as Relationship, s as ContentTypes, t as OpcInput } from "./package-CaOLXSNi.js";
|
|
4
|
-
import { a as TsPptxError, d as InvalidOptionErrorCode, f as MediaErrorCode, h as UnsupportedFeatureErrorCode, i as PackageReadError, l as ErrorCode, m as TsPptxCode, n as InvalidOptionError, o as TsPptxErrorOptions, p as PackageReadErrorCode, r as MediaError, s as UnsupportedFeatureError, t as InternalError, u as InternalErrorCode } from "./errors-
|
|
4
|
+
import { a as TsPptxError, d as InvalidOptionErrorCode, f as MediaErrorCode, h as UnsupportedFeatureErrorCode, i as PackageReadError, l as ErrorCode, m as TsPptxCode, n as InvalidOptionError, o as TsPptxErrorOptions, p as PackageReadErrorCode, r as MediaError, s as UnsupportedFeatureError, t as InternalError, u as InternalErrorCode } from "./errors-CgnueTYL.js";
|
|
5
5
|
//#region src/read/opc/partnames.d.ts
|
|
6
6
|
/** Partname of the `.rels` part holding `sourcePartName`'s relationships ('/' = package). */
|
|
7
7
|
declare function relsPartNameFor(sourcePartName: string): string;
|
|
@@ -68,5 +68,5 @@ interface EffectiveColor {
|
|
|
68
68
|
*/
|
|
69
69
|
declare function applyColorTransforms(baseHex: string, transforms: ColorTransform[]): EffectiveColor;
|
|
70
70
|
//#endregion
|
|
71
|
-
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, 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 RecolorColor, type Reflection, type Relationship, Relationships, type ResolvedColor, type ResolvedTableStyle, Run, type RunHyperlink, Shape, type ShapeHost, type ShapeType, Slide, type SlideBackground, SlideLayout, SlideMaster, type SlideSize, type SlideSource, type SoftEdge, Table, TableCell, type TableCellBorderEdit, type TableCellEdge, type TableConditionFlags, TableRow, type Tag, TextFrame, Theme, type ThemeColorSlot, type ThemeFontFace, type ThemeFontScheme, type TransitionInfo, type TransitionInput, type TransitionSpeed, type TsPptxCode, TsPptxError, type TsPptxErrorOptions, UnsupportedFeatureError, type UnsupportedFeatureErrorCode, applyColorTransforms, isAutoShape, isConnector, isGraphicFrame, isGroupShape, isPicture, readCoreProperties, readCustomProperties, readTagsForPart, relsPartNameFor, resolveColorElement, resolveRelativePartName };
|
|
71
|
+
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 RecolorColor, type Reflection, type Relationship, Relationships, type ResolvedColor, type ResolvedTableStyle, Run, type RunHyperlink, Shape, type ShapeHost, type ShapeType, Slide, type SlideBackground, SlideLayout, SlideMaster, type SlideSize, type SlideSource, type SoftEdge, Table, TableCell, type TableCellBorderEdit, type TableCellEdge, type TableConditionFlags, TableRow, type Tag, TextFrame, Theme, type ThemeColorSlot, type ThemeFontFace, type ThemeFontScheme, type TransitionInfo, type TransitionInput, type TransitionSpeed, type TsPptxCode, TsPptxError, type TsPptxErrorOptions, UnsupportedFeatureError, type UnsupportedFeatureErrorCode, applyColorTransforms, isAutoShape, isConnector, isGraphicFrame, isGroupShape, isPicture, readCoreProperties, readCustomProperties, readTagsForPart, relsPartNameFor, resolveColorElement, resolveRelativePartName };
|
|
72
72
|
//# sourceMappingURL=read.d.ts.map
|
package/dist/read.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { a as TsPptxError, i as PackageReadError, n as InvalidOptionError, o as UnsupportedFeatureError, r as MediaError, t as InternalError } from "./errors-Bvln0H-7.js";
|
|
2
|
-
import { C as
|
|
3
|
-
import { a as Placeholder, c as Theme, d as NotesSlide, f as OpcPackage, h as ContentTypes, i as Slide, l as readTagsForPart, m as Part, n as readCoreProperties, o as SlideLayout, p as Relationships, r as readCustomProperties, s as SlideMaster, t as Presentation, u as NotesPlaceholder } from "./presentation-
|
|
4
|
-
export { AutoShape, Chart, ChartAxis, ChartEx, ChartExAxis, ChartExSeries, ChartSeries, Connector, ContentTypes, 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, readCoreProperties, readCustomProperties, readTagsForPart, relsPartNameFor, resolveColorElement, resolveRelativePartName };
|
|
2
|
+
import { B as applyColorTransforms, C as Connector, D as Paragraph, E as Shape, O as Run, Ot as relsPartNameFor, P as resolveColorElement, S as ChartSeries, T as AutoShape, _ as ChartEx, a as isConnector, b as Chart, c as isPicture, d as Table, f as TableCell, g as DiagramPoint, h as DiagramNode, i as isAutoShape, k as TextFrame, kt as resolveRelativePartName, m as Diagram, o as isGraphicFrame, p as TableRow, s as isGroupShape, t as GroupShape, u as GraphicFrame, v as ChartExAxis, w as Picture, x as ChartAxis, y as ChartExSeries } from "./shapes-Kt51vry6.js";
|
|
3
|
+
import { a as Placeholder, c as Theme, d as NotesSlide, f as OpcPackage, h as ContentTypes, i as Slide, l as readTagsForPart, m as Part, n as readCoreProperties, o as SlideLayout, p as Relationships, r as readCustomProperties, s as SlideMaster, t as Presentation, u as NotesPlaceholder } from "./presentation-VfJ_FT7E.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, readCoreProperties, readCustomProperties, readTagsForPart, relsPartNameFor, resolveColorElement, resolveRelativePartName };
|
package/dist/script.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { h as Presentation } from "./presentation-types-
|
|
2
|
-
import { a as TsPptxError, d as InvalidOptionErrorCode, f as MediaErrorCode, h as UnsupportedFeatureErrorCode, i as PackageReadError, l as ErrorCode, m as TsPptxCode, n as InvalidOptionError, o as TsPptxErrorOptions, p as PackageReadErrorCode, r as MediaError, s as UnsupportedFeatureError, t as InternalError, u as InternalErrorCode } from "./errors-
|
|
1
|
+
import { h as Presentation } from "./presentation-types-CpkTx9Xa.js";
|
|
2
|
+
import { a as TsPptxError, d as InvalidOptionErrorCode, f as MediaErrorCode, h as UnsupportedFeatureErrorCode, i as PackageReadError, l as ErrorCode, m as TsPptxCode, n as InvalidOptionError, o as TsPptxErrorOptions, p as PackageReadErrorCode, r as MediaError, s as UnsupportedFeatureError, t as InternalError, u as InternalErrorCode } from "./errors-CgnueTYL.js";
|
|
3
3
|
//#region src/script/fidelity.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Fidelity notes — the declared, machine-checkable list of what a deck loses on the way
|
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":";;;;;;;;;;;;;;;;;;;;;;KAoBY;;;;;;;;;;;;;;;;;;;;;KAsBA;;;;;;;;UASK;;EAEhB;;EAEA;;;;;;;EAOA;EACA,aAAa;EACb,OAAO;;EAEP;;;;;;;;;;;;;;;;;;;;cAkDY;;;;;;;;;;;;UC/EI;EAChB;;;iBAIe,WAAW,iBAAiB,SAAS;;;;;;;KAUzC,6CAA6C,WAAW;GAAe,cAAc;;;UAmBhF;;EAEhB;;EAEA;EACA,OAAO;;;;;;;;;;UAWS;EAChB;EACA,MAAM;;;;;EAKN;;;;;;;;;;;;;;;;;;;;KAqBW;;;;;;;;UASK;EAChB;EACA;EACA,OAAO;;;;;;;;;;UAWS;;EAEhB,OAAO;;EAEP;;EAEA;;EAEA;;;;;;;;;;;;;UAcgB;;EAEhB;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;KAAa;;EACb,QAAQ;;;;;;;;;;;;;UAcQ;;EAEhB;;EAEA;;EAEA;;;UAIgB;;EAEhB;EACA,QAAQ;;EAER,QAAQ;;EAER;;EAEA;EACA,aAAa;;EAEb;;;;;;EAMA,aAAa;;;;;;;;;EASb,OAAO;;;;;;;;;;UAWS;EAChB;EACA;EACA;EACA;EACA;EACA;;EAEA;KAAiB;;;;;;;;;;UAUD;;;;;EAKhB;;;;;;EAMA;KAAU,cAAc;;;;;;;UAOR;EAChB,OAAO;;EAEP,SAAS;;;UAIO;EAChB;EACA;EACA;EACA;EACA;;;;;;;;;UAUgB;EAChB;IAAa;IAAkB;;EAC/B,OAAO;;;;;EAKP,QAAQ;EACR,QAAQ;EACR,QAAQ;;;;;;;EAOR,UAAU;;;;;
|
|
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":";;;;;;;;;;;;;;;;;;;;;;KAoBY;;;;;;;;;;;;;;;;;;;;;KAsBA;;;;;;;;UASK;;EAEhB;;EAEA;;;;;;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