@office-open/core 0.9.6 → 0.9.8
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/chart/index.d.mts +1 -1
- package/dist/descriptor/index.d.mts +2 -2
- package/dist/descriptor/index.mjs +2 -2
- package/dist/descriptor-TtMXoZgS.mjs +443 -0
- package/dist/drawingml/index.d.mts +2 -2
- package/dist/drawingml/index.mjs +2 -2
- package/dist/{index-DMw7eid7.d.mts → index-BEQ12eyX.d.mts} +42 -42
- package/dist/{index-FByLiyYM.d.mts → index-CeVhA1an.d.mts} +878 -249
- package/dist/{index-eu1aFQCm.d.mts → index-CsQP7Cl4.d.mts} +36 -36
- package/dist/{index-DmPBJwSk.d.mts → index-DYy8l709.d.mts} +34 -34
- package/dist/index-L82O3q6V.d.mts +170 -0
- package/dist/{index-4hjRdzMU.d.mts → index-vEeWkbm5.d.mts} +20 -20
- package/dist/index.d.mts +7 -7
- package/dist/index.mjs +3 -3
- package/dist/patch/index.d.mts +1 -1
- package/dist/smartart/index.d.mts +1 -1
- package/dist/{src-CZMc9C8f.mjs → src-CSka9ln4.mjs} +1061 -195
- package/dist/theme/index.d.mts +1 -1
- package/package.json +2 -2
- package/dist/descriptor-DcQm32dg.mjs +0 -71
- package/dist/index-C4r2WLEy.d.mts +0 -73
|
@@ -55,40 +55,40 @@ declare function stringifyDataModel(points: readonly string[], connections: read
|
|
|
55
55
|
//#endregion
|
|
56
56
|
//#region src/smartart/data-model/point.d.ts
|
|
57
57
|
interface PointPropertySetOptions {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
58
|
+
presentationAssociationId?: string;
|
|
59
|
+
presentationName?: string;
|
|
60
|
+
presentationStyleLabel?: string;
|
|
61
|
+
presentationStyleIndex?: number;
|
|
62
|
+
presentationStyleCount?: number;
|
|
63
|
+
placeholderText?: string;
|
|
64
|
+
placeholder?: boolean;
|
|
65
|
+
customAngle?: number;
|
|
66
|
+
customFlipVertical?: boolean;
|
|
67
|
+
customFlipHorizontal?: boolean;
|
|
68
|
+
customSizeX?: number;
|
|
69
|
+
customSizeY?: number;
|
|
70
|
+
customScaleX?: number;
|
|
71
|
+
customScaleY?: number;
|
|
72
|
+
customText?: boolean;
|
|
73
|
+
customLinearFactorX?: number;
|
|
74
|
+
customLinearFactorY?: number;
|
|
75
|
+
customLinearFactorNeighborX?: number;
|
|
76
|
+
customLinearFactorNeighborY?: number;
|
|
77
|
+
customRadialScaleRadius?: number;
|
|
78
|
+
customRadialScaleIncrement?: number;
|
|
79
|
+
coherent3DOffset?: boolean;
|
|
80
|
+
hideGeometry?: boolean;
|
|
81
|
+
hideLastTransition?: boolean;
|
|
82
|
+
lockTextEntry?: boolean;
|
|
83
|
+
moveWith?: string;
|
|
84
|
+
useDefault?: boolean;
|
|
85
|
+
zOrderOffset?: number;
|
|
86
|
+
layoutTypeId?: string;
|
|
87
|
+
layoutCategoryId?: string;
|
|
88
|
+
quickStyleTypeId?: string;
|
|
89
|
+
quickStyleCategoryId?: string;
|
|
90
|
+
colorStyleTypeId?: string;
|
|
91
|
+
colorStyleCategoryId?: string;
|
|
92
92
|
}
|
|
93
93
|
/**
|
|
94
94
|
* dgm:pt — SmartArt data model point (node) XML stringifier.
|
|
@@ -124,8 +124,8 @@ declare class SmartArtCollection {
|
|
|
124
124
|
//#endregion
|
|
125
125
|
//#region src/smartart/tree-to-model.d.ts
|
|
126
126
|
interface TreeNode {
|
|
127
|
-
|
|
128
|
-
|
|
127
|
+
text: string;
|
|
128
|
+
children?: readonly TreeNode[];
|
|
129
129
|
}
|
|
130
130
|
/**
|
|
131
131
|
* Creates SmartArt data model XML from tree nodes with layout/style/color settings.
|
|
@@ -8,23 +8,23 @@ import { Element } from "@office-open/xml";
|
|
|
8
8
|
* DOCX (`w:*`) and PPTX (`a:*`) documents.
|
|
9
9
|
*/
|
|
10
10
|
interface XmlNamespaceConfig {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
paragraph: string;
|
|
12
|
+
run: string;
|
|
13
|
+
text: string;
|
|
14
|
+
runProperties: string;
|
|
15
15
|
}
|
|
16
16
|
declare const DOCX_NS: XmlNamespaceConfig;
|
|
17
17
|
declare const PPTX_NS: XmlNamespaceConfig;
|
|
18
18
|
//#endregion
|
|
19
19
|
//#region src/patch/xml-replacer.d.ts
|
|
20
20
|
interface ReplacerConfig {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
ns: XmlNamespaceConfig;
|
|
22
|
+
formatChild: (child: unknown, context: unknown) => Element[];
|
|
23
|
+
preserveSpace?: boolean;
|
|
24
24
|
}
|
|
25
25
|
interface ReplacerResult {
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
element: Element;
|
|
27
|
+
didFindOccurrence: boolean;
|
|
28
28
|
}
|
|
29
29
|
declare function createReplacer(config: ReplacerConfig): ({
|
|
30
30
|
json,
|
|
@@ -33,40 +33,40 @@ declare function createReplacer(config: ReplacerConfig): ({
|
|
|
33
33
|
context,
|
|
34
34
|
keepOriginalStyles
|
|
35
35
|
}: {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
36
|
+
json: Element;
|
|
37
|
+
patch: {
|
|
38
|
+
type: string;
|
|
39
|
+
children: readonly unknown[];
|
|
40
40
|
};
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
patchText: string;
|
|
42
|
+
context: unknown;
|
|
43
|
+
keepOriginalStyles?: boolean;
|
|
44
44
|
}) => ReplacerResult;
|
|
45
45
|
//#endregion
|
|
46
46
|
//#region src/patch/run-renderer.d.ts
|
|
47
47
|
interface ElementWrapper {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
48
|
+
element: Element;
|
|
49
|
+
index: number;
|
|
50
|
+
parent: ElementWrapper | undefined;
|
|
51
51
|
}
|
|
52
52
|
interface RenderedParagraphNode {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
53
|
+
text: string;
|
|
54
|
+
runs: readonly RenderedRunNode[];
|
|
55
|
+
index: number;
|
|
56
|
+
pathToParagraph: readonly number[];
|
|
57
57
|
}
|
|
58
58
|
interface StartAndEnd {
|
|
59
|
-
|
|
60
|
-
|
|
59
|
+
start: number;
|
|
60
|
+
end: number;
|
|
61
61
|
}
|
|
62
62
|
type IParts = {
|
|
63
|
-
|
|
64
|
-
|
|
63
|
+
text: string;
|
|
64
|
+
index: number;
|
|
65
65
|
} & StartAndEnd;
|
|
66
66
|
type RenderedRunNode = {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
67
|
+
text: string;
|
|
68
|
+
parts: readonly IParts[];
|
|
69
|
+
index: number;
|
|
70
70
|
} & StartAndEnd;
|
|
71
71
|
declare function createRunRenderer(ns: XmlNamespaceConfig): (node: ElementWrapper) => RenderedParagraphNode;
|
|
72
72
|
//#endregion
|
|
@@ -85,10 +85,10 @@ declare function createTokenReplacer(createTextElementContents: (text: string) =
|
|
|
85
85
|
originalText,
|
|
86
86
|
replacementText
|
|
87
87
|
}: {
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
88
|
+
paragraphElement: Element;
|
|
89
|
+
renderedParagraph: RenderedParagraphNode;
|
|
90
|
+
originalText: string;
|
|
91
|
+
replacementText: string;
|
|
92
92
|
}) => Element;
|
|
93
93
|
//#endregion
|
|
94
94
|
//#region src/patch/paragraph-split-inject.d.ts
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
import { Element } from "@office-open/xml";
|
|
2
|
+
|
|
3
|
+
//#region src/descriptor/context.d.ts
|
|
4
|
+
/** Context passed during stringify (write path). */
|
|
5
|
+
interface WriteContext {
|
|
6
|
+
/** Register a relationship and return its rId. */
|
|
7
|
+
addRelationship(type: string, target: string, mode?: string): string;
|
|
8
|
+
/** Add a media file and return its reference. */
|
|
9
|
+
addMedia(data: Uint8Array, type: string): string;
|
|
10
|
+
}
|
|
11
|
+
/** Context passed during parse (parse path). */
|
|
12
|
+
interface ReadContext {
|
|
13
|
+
/** Resolve a relationship rId to its target path. */
|
|
14
|
+
resolveRelationship(rId: string): string | undefined;
|
|
15
|
+
/** Get a parsed XML part by path. */
|
|
16
|
+
getPart(path: string): Element | undefined;
|
|
17
|
+
/** Get raw binary data (images, media, etc.) by path. */
|
|
18
|
+
getRaw(path: string): Uint8Array | undefined;
|
|
19
|
+
}
|
|
20
|
+
//#endregion
|
|
21
|
+
//#region src/descriptor/types.d.ts
|
|
22
|
+
/** Custom descriptor — hand-written stringify/parse for an OOXML part. */
|
|
23
|
+
interface CustomDescriptor<T, Ctx = WriteContext> {
|
|
24
|
+
kind: "custom";
|
|
25
|
+
stringify(value: T, ctx: Ctx): string | undefined;
|
|
26
|
+
parse(el: Element, ctx: ReadContext): T;
|
|
27
|
+
}
|
|
28
|
+
/** Alias for "any descriptor" — retained for call-site readability. */
|
|
29
|
+
type Descriptor<T> = CustomDescriptor<T>;
|
|
30
|
+
//#endregion
|
|
31
|
+
//#region src/descriptor/runtime.d.ts
|
|
32
|
+
/**
|
|
33
|
+
* Serialize an Options object to an XML string using its descriptor.
|
|
34
|
+
* Returns `undefined` when an optional element should be omitted.
|
|
35
|
+
*/
|
|
36
|
+
declare function stringify$1<T>(desc: CustomDescriptor<T>, value: T, ctx: WriteContext): string | undefined;
|
|
37
|
+
/** Parse an XML Element into an Options object using its descriptor. */
|
|
38
|
+
declare function parse$1<T>(desc: CustomDescriptor<T>, el: Element, ctx: ReadContext): T;
|
|
39
|
+
//#endregion
|
|
40
|
+
//#region src/descriptor/helpers.d.ts
|
|
41
|
+
/**
|
|
42
|
+
* OOXML-specific encode/decode helpers for descriptors.
|
|
43
|
+
*
|
|
44
|
+
* XML traversal helpers (findChild, etc.) are in @office-open/xml utils.
|
|
45
|
+
* This file only contains OOXML value encoding/decoding.
|
|
46
|
+
*
|
|
47
|
+
* @module
|
|
48
|
+
*/
|
|
49
|
+
/** Encode boolean for CT_OnOff: true → omit val, false → "0". */
|
|
50
|
+
declare const boolEncode: (v: boolean | undefined) => string | undefined;
|
|
51
|
+
/** Decode CT_OnOff: absent or "true"/"1" → true, "0"/"false" → false. */
|
|
52
|
+
declare const boolDecode: (raw: string) => boolean;
|
|
53
|
+
/** Create an enum encoder from a JS↔XML mapping. */
|
|
54
|
+
declare const enumEncode: (map: Record<string, string>) => (v: string | undefined) => string | undefined;
|
|
55
|
+
/** Create an enum decoder from a JS↔XML mapping (inverted). */
|
|
56
|
+
declare const enumDecode: (map: Record<string, string>) => (raw: string) => string;
|
|
57
|
+
//#endregion
|
|
58
|
+
//#region src/descriptor/registry.d.ts
|
|
59
|
+
declare class DescriptorRegistry {
|
|
60
|
+
private static readonly _map;
|
|
61
|
+
/** Register a descriptor with its XML tag. */
|
|
62
|
+
static register(tag: string, desc: Descriptor<any>): void;
|
|
63
|
+
/** Look up a descriptor by XML tag. */
|
|
64
|
+
static get(tag: string): Descriptor<any> | undefined;
|
|
65
|
+
/** Get all registered tags. */
|
|
66
|
+
static tags(): ReadonlySet<string>;
|
|
67
|
+
/** Check if a tag is registered. */
|
|
68
|
+
static has(tag: string): boolean;
|
|
69
|
+
/** Get the number of registered descriptors. */
|
|
70
|
+
static get size(): number;
|
|
71
|
+
}
|
|
72
|
+
//#endregion
|
|
73
|
+
//#region src/descriptor/field-spec.d.ts
|
|
74
|
+
/**
|
|
75
|
+
* Declarative field-consistency spec for descriptors.
|
|
76
|
+
*
|
|
77
|
+
* The `CustomDescriptor<T>` closure carries no field metadata, so the three
|
|
78
|
+
* places that must agree — the Options interface, the stringify body, and the
|
|
79
|
+
* parse body — drift silently (reflection dropping 9/14 props, styles
|
|
80
|
+
* round-trip loss, core-properties 8-interface/10-write/8-parse inflation).
|
|
81
|
+
*
|
|
82
|
+
* Each entry declares the three field sets in a single semantic dimension
|
|
83
|
+
* (Options field names, not XML tags), so {@link diffTagSets} can surface the
|
|
84
|
+
* asymmetries directly:
|
|
85
|
+
* - F1 write-loss — declared on the interface but never written
|
|
86
|
+
* - F2 write-only — written but absent from the interface (inflation)
|
|
87
|
+
* - F3 parse-loss — written but never restored on parse (round-trip loss)
|
|
88
|
+
* - F5 parse-only — restored but never written
|
|
89
|
+
*
|
|
90
|
+
* @module
|
|
91
|
+
*/
|
|
92
|
+
interface DescriptorFieldSpec {
|
|
93
|
+
/** Stable identifier, matched to the descriptor under test. */
|
|
94
|
+
id: string;
|
|
95
|
+
/** Options interface name (documentation / assertion messages). */
|
|
96
|
+
optionsInterface: string;
|
|
97
|
+
/** Fields declared on the Options interface — the contract. */
|
|
98
|
+
interfaceFields: readonly string[];
|
|
99
|
+
/** Fields the stringify path actually emits; may carry inflation not on the interface. */
|
|
100
|
+
writeFields: readonly string[];
|
|
101
|
+
/** Fields the parse path actually restores. */
|
|
102
|
+
parseFields: readonly string[];
|
|
103
|
+
/** Expected child order when the XSD mandates sequence; omitted when order-independent. */
|
|
104
|
+
order?: readonly string[];
|
|
105
|
+
/** Sample exercising the interface fields, for F4 round-trip deep-equality. */
|
|
106
|
+
sampleOptions: unknown;
|
|
107
|
+
/**
|
|
108
|
+
* Interface fields excluded from the contract comparison — input-side sugar
|
|
109
|
+
* (thematicBreak→border, rightTabStop→tabStops) and control flags
|
|
110
|
+
* (includeIfEmpty) that map field→XML but XML→a different field, breaking the
|
|
111
|
+
* 1:1 round-trip assumption. The interface-drift test asserts
|
|
112
|
+
* `interfaceFields === (live interface fields − excludeFields)`.
|
|
113
|
+
*/
|
|
114
|
+
excludeFields?: readonly string[];
|
|
115
|
+
notes?: string;
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Curated high-value targets — each maps to a known historical drift.
|
|
119
|
+
* `settings` is intentionally absent: its round-trip is rawXml-based (byte
|
|
120
|
+
* passthrough), so field-level diff would mislabel every field as F2.
|
|
121
|
+
*/
|
|
122
|
+
declare const FIELD_SPECS: readonly DescriptorFieldSpec[];
|
|
123
|
+
declare function findFieldSpec(id: string): DescriptorFieldSpec | undefined;
|
|
124
|
+
//#endregion
|
|
125
|
+
//#region src/descriptor/field-consistency.d.ts
|
|
126
|
+
interface FieldConsistencyReport {
|
|
127
|
+
/** F1 — declared on the interface but never written (write-loss). */
|
|
128
|
+
f1WriteLoss: readonly string[];
|
|
129
|
+
/** F2 — written but absent from the interface (write-only inflation). */
|
|
130
|
+
f2WriteOnly: readonly string[];
|
|
131
|
+
/** F3 — written but never restored on parse (round-trip loss). */
|
|
132
|
+
f3ParseLoss: readonly string[];
|
|
133
|
+
/** F5 — restored on parse but never written (parse-only). */
|
|
134
|
+
f5ParseOnly: readonly string[];
|
|
135
|
+
}
|
|
136
|
+
/** Diff the interface / write / parse field sets declared on a spec. */
|
|
137
|
+
declare function diffTagSets(spec: DescriptorFieldSpec): FieldConsistencyReport;
|
|
138
|
+
interface RoundTripResult {
|
|
139
|
+
/** Present in the sample, absent after round-trip. */
|
|
140
|
+
lost: readonly string[];
|
|
141
|
+
/** Absent from the sample, present after round-trip. */
|
|
142
|
+
gained: readonly string[];
|
|
143
|
+
/** Present on both sides with differing values. */
|
|
144
|
+
mutated: readonly string[];
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* Run a stringify→parse cycle over a sample and diff the result field set.
|
|
148
|
+
* Returns the F4 round-trip drift. The caller supplies the descriptor's own
|
|
149
|
+
* stringify/parse (a `CustomDescriptor` pair or a function pair).
|
|
150
|
+
*/
|
|
151
|
+
declare function roundTripFields<T extends object, WC = unknown, RC = unknown>(stringifyFn: (opts: T, ctx: WC) => string | undefined, parseFn: (el: Element, ctx: RC) => T, sample: T, writeCtx: WC, readCtx: RC): RoundTripResult;
|
|
152
|
+
interface OrderViolation {
|
|
153
|
+
/** Position of the offending child within its parent. */
|
|
154
|
+
index: number;
|
|
155
|
+
/** Local name of the child element (namespace prefix stripped). */
|
|
156
|
+
tag: string;
|
|
157
|
+
/** Why the child violates the expected sequence. */
|
|
158
|
+
reason: "unexpected" | "out-of-order";
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* Verify the child element order of a stringified container against an XSD
|
|
162
|
+
* sequence — the F6 check. Namespace prefixes are normalized, so `expected`
|
|
163
|
+
* entries may be qualified (`w:pStyle`) or local (`pStyle`); both match a
|
|
164
|
+
* `<w:pStyle>` child. Elements absent from `expected` are flagged "unexpected";
|
|
165
|
+
* a child whose expected position precedes the previous child's is
|
|
166
|
+
* "out-of-order".
|
|
167
|
+
*/
|
|
168
|
+
declare function checkOrder(xml: string, expected: readonly string[]): readonly OrderViolation[];
|
|
169
|
+
//#endregion
|
|
170
|
+
export { CustomDescriptor as _, diffTagSets as a, WriteContext as b, FIELD_SPECS as c, boolDecode as d, boolEncode as f, stringify$1 as g, parse$1 as h, checkOrder as i, findFieldSpec as l, enumEncode as m, OrderViolation as n, roundTripFields as o, enumDecode as p, RoundTripResult as r, DescriptorFieldSpec as s, FieldConsistencyReport as t, DescriptorRegistry as u, Descriptor as v, ReadContext as y };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as CustomDescriptor } from "./index-L82O3q6V.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/theme/theme-options.d.ts
|
|
4
4
|
/**
|
|
@@ -8,31 +8,31 @@ import { c as CustomDescriptor } from "./index-C4r2WLEy.mjs";
|
|
|
8
8
|
*/
|
|
9
9
|
/** Color scheme — 12 theme colors (hex without #). */
|
|
10
10
|
interface ColorSchemeOptions {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
11
|
+
dark1?: string;
|
|
12
|
+
light1?: string;
|
|
13
|
+
dark2?: string;
|
|
14
|
+
light2?: string;
|
|
15
|
+
accent1?: string;
|
|
16
|
+
accent2?: string;
|
|
17
|
+
accent3?: string;
|
|
18
|
+
accent4?: string;
|
|
19
|
+
accent5?: string;
|
|
20
|
+
accent6?: string;
|
|
21
|
+
hyperlink?: string;
|
|
22
|
+
followedHyperlink?: string;
|
|
23
23
|
}
|
|
24
24
|
/** Font scheme — 4 font slots (latin + east-asian for major/minor). */
|
|
25
25
|
interface FontSchemeOptions {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
majorFont?: string;
|
|
27
|
+
minorFont?: string;
|
|
28
|
+
majorFontAsian?: string;
|
|
29
|
+
minorFontAsian?: string;
|
|
30
30
|
}
|
|
31
31
|
/** Theme customization options. */
|
|
32
32
|
interface ThemeOptions {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
name?: string;
|
|
34
|
+
colors?: ColorSchemeOptions;
|
|
35
|
+
fonts?: FontSchemeOptions;
|
|
36
36
|
}
|
|
37
37
|
//#endregion
|
|
38
38
|
//#region src/theme/default-theme.d.ts
|
package/dist/index.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as ChartCollection, a as ChartSpaceOptions, c as DataLabelsOptions, d as ErrorBarType, f as ErrorValueType, g as View3DOptions, h as TrendlineType, i as ChartSeriesData, l as ErrorBarDirection, m as TrendlineOptions, n as AxisChartType, o as ChartType, p as TimeUnit, r as BubbleSeriesData, s as DataLabelPosition, t as chartSpaceDesc, u as ErrorBarOptions, v as ChartData } from "./index-
|
|
2
|
-
import { a as
|
|
3
|
-
import { $ as
|
|
4
|
-
import { a as PointPropertySetOptions, c as stringifyDataModel, d as getColorXml, f as getLayoutXml, g as STYLE_CATEGORIES, h as LAYOUT_CATEGORIES, i as SmartArtData, l as stringifyConnection, m as COLOR_CATEGORIES, n as createDataModel, o as stringifyPoint, p as getStyleXml, r as SmartArtCollection, s as stringifyTransPoint, t as TreeNode, u as DEFAULT_DRAWING_XML } from "./index-
|
|
5
|
-
import { _ as PPTX_NS, a as getFirstLevelElements, c as TokenNotFoundError, d as createTraverser, f as RenderedParagraphNode, g as DOCX_NS, h as createReplacer, i as createTextElementContents, l as createSplitInject, m as ReplacerConfig, n as getNextRelationshipIndex, o as patchSpaceAttribute, p as createRunRenderer, r as appendContentType, s as toJson, t as appendRelationship, u as createTokenReplacer, v as XmlNamespaceConfig } from "./index-
|
|
6
|
-
import { a as ColorSchemeOptions, i as createThemeXml, n as DEFAULT_COLORS, o as FontSchemeOptions, r as buildThemeXml, s as ThemeOptions, t as themeDesc } from "./index-
|
|
1
|
+
import { _ as ChartCollection, a as ChartSpaceOptions, c as DataLabelsOptions, d as ErrorBarType, f as ErrorValueType, g as View3DOptions, h as TrendlineType, i as ChartSeriesData, l as ErrorBarDirection, m as TrendlineOptions, n as AxisChartType, o as ChartType, p as TimeUnit, r as BubbleSeriesData, s as DataLabelPosition, t as chartSpaceDesc, u as ErrorBarOptions, v as ChartData } from "./index-BEQ12eyX.mjs";
|
|
2
|
+
import { _ as CustomDescriptor, a as diffTagSets, b as WriteContext, c as FIELD_SPECS, d as boolDecode, f as boolEncode, g as stringify, h as parse, i as checkOrder, l as findFieldSpec, m as enumEncode, n as OrderViolation, o as roundTripFields, p as enumDecode, r as RoundTripResult, s as DescriptorFieldSpec, t as FieldConsistencyReport, u as DescriptorRegistry, v as Descriptor, y as ReadContext } from "./index-L82O3q6V.mjs";
|
|
3
|
+
import { $ as createLineColorList, $a as isBase64DataURL, $i as parseArchive, $n as calculateEffectExtent, $r as xsdLineCap, $t as TableStyleListOptions, A as rgbColorDesc, Aa as TileFlipMode, Ai as convertPointsToEmu, An as stringifyAdjustmentValues, Ar as createCustomDash, At as PresentationLayoutVariablesOptions, B as createDiagramTextProperties, Ba as CompileFn, Bi as OpcCode, Bn as LightRigOptions, Br as hasPlaceholders, Bt as GraphicFrameLockingOptions, C as fillDesc, Ca as GradientFillOptions, Ci as convertEmuToInches, Cn as PathCommand, Co as PresetColor, Cr as createOutline, Ct as AnimationLevelOptions, D as hslColorDesc, Da as PathShadeOptions, Di as convertInchesToTwip, Dn as PresetGeometryOptions, Do as createHslColor, Dr as LineEndWidth, Dt as MaxChildrenOptions, E as getColorDescriptor, Ea as LinearShadeOptions, Ei as convertInchesToEmu, En as createCustomGeometry, Eo as HslColorOptions, Er as LineEndType, Et as HierBranchStyle, F as DiagramExtensionListOptions, Fa as createTileInfo, Fi as convertUniversalMeasureToTwip, Fn as BevelPresetType, Fr as findAndReplaceImagePlaceholders, Ft as createHierBranch, G as DiagramStyleLabelOptions, Ga as XmlifyedFile, Gi as DOCX_PARTS, Gn as createScene3D, Gr as replaceMediaPlaceholders, Gt as createGroupLocking, H as createDiagramRelationshipIds, Ha as DataType, Hi as OpcSeverity, Hn as Scene3DOptions, Hr as replaceChartPlaceholders, Ht as PictureLockingOptions, I as DiagramExtensionOptions, Ia as SourceRectangleOptions, Ii as parseUniversalMeasure, In as createBevel, Ir as formatId, It as createMaxChildren, J as HueDirection, Ja as ZipOptions, Ji as PackagePartRegistry, Jn as EffectDagOptions, Jr as replaceVideoPlaceholders, Jt as OnOffStyleType, K as DiagramStyleOptions, Ka as ZIP_DEFLATE_LEVEL, Ki as PART_REGISTRIES, Kn as createSoftEdgeEffect, Kr as replaceNumberingPlaceholders, Kt as createPictureLocking, L as DiagramTextPropertiesOptions, La as createSourceRectangle, Li as compileMapping, Ln as createBottomBevel, Lr as getMediaRefs, Lt as createOrgChart, M as schemeColorDesc, Ma as createGradientStop, Mi as convertToEmu, Mn as Shape3DOptions, Mr as SmartArtRelOptions, Mt as createAdjustList, N as solidFillDesc, Na as TileAlignment, Ni as convertToTwip, Nn as createShape3D, Nr as addSmartArtRelationships, Nt as createAnimateOneByOne, O as parseColorChoice, Oa as PathShadeType, Oi as convertMillimetersToTwip, On as stringifyPresetGeometry, Oo as ColorTransformOptions, Or as createLineEnd, Ot as OrgChartOptions, P as systemColorDesc, Pa as TileOptions, Pi as convertUniversalMeasureToEmu, Pn as BevelOptions, Pr as collectPlaceholderKeys, Pt as createAnimationLevel, Q as createFillColorList, Qa as decodeBase64, Qi as ParsedArchive, Qn as EffectListOptions, Qr as xsdEffectContainer, Qt as TablePartStyleOptions, R as createDiagramExtensionList, Ra as BlipEffectsOptions, Ri as ContentTypeOverrideEntry, Rn as BackdropOptions, Rr as getReferencedMedia, Rt as createPreferredChildren, S as outlineDesc, Sa as extractBlipFillMedia, Si as PixelPosition, Sn as GeomRect, So as createRgbColor, Sr as PresetDash, St as AnimateOneByOneValue, T as patternFillDesc, Ta as GradientStop, Ti as convertEmuToPoints, Tn as PathOptions, To as createPresetColor, Tr as LineEndOptions, Tt as HierBranchOptions, U as ColorListOptions, Ua as Packer, Ui as summarizeOpcIssues, Un as SphereCoords, Ur as replaceHyperlinkPlaceholders, Ut as ShapeLockingOptions, V as DiagramRelationshipIdsOptions, Va as CompressionOptions, Vi as OpcIssue, Vn as Point3D, Vr as replaceAllPlaceholders, Vt as GroupLockingOptions, W as ColorMethod, Wa as PackerOptions, Wi as validateOpcConsistency, Wn as Vector3D, Wr as replaceImagePlaceholders, Wt as createGraphicFrameLocking, X as createDiagramStyle, Xa as createPacker, Xi as PartPresence, Xn as BlurEffectOptions, Xr as xsdBlendMode, Xt as TableCellBorderOptions, Y as StyleMatrixIndex, Ya as Zippable, Yi as PartDef, Yn as createEffectDag, Yr as invertMap, Yt as StyleMatrixReferenceOptions, Z as createEffectColorList, Za as createZipStream, Zi as XLSX_PARTS, Zn as EffectExtent, Zr as xsdCompoundLine, Zt as TableCellStyleOptions, _ as graphicFrameLockingDesc, _a as BlipFillConfigOptions, _i as uniqueUuid, _n as createBlipFill, _o as SchemeColorOptions, _r as LineCap, _t as createStyleDefinitionHeader, a as blipDesc, aa as OverrideAttributes, ai as xsdPresetShadow, an as createTableStyleList, ao as zipSyncAndConvert, ar as createPresetShadowEffect, at as ColorsDefinitionHeaderOptions, b as shapeLockingDesc, ba as GradientStopOptions, bi as randomBytes, bn as ConnectionSite, bo as createScRgbColor, br as OutlineOptions, bt as AdjustOptions, c as stretchDesc, ca as RelationshipType, ci as xsdTextAlign, cn as MediaTransformation, co as OutputType, cr as createOuterShadowEffect, ct as DiagramNameOptions, d as scene3DDesc, da as APP_PROPS_XML, di as xsdUnderlineStyle, dn as Transform2DOptions, do as createColorElement, dr as GlowEffectOptions, dt as StyleDefinitionHeaderListOptions, ea as CoreProperties, ei as xsdLineEndSize, en as TableStyleOptions, eo as levelForMediaName, er as createEffectList, et as createStyleLabel, f as shape3DDesc, fa as createGroupFill, fi as xsdVerticalMergeRev, fn as createGroupTransform2D, fo as createSolidFill, fr as createGlowEffect, ft as StyleDefinitionHeaderOptions, g as presetGeometryDesc, ga as createNoFill, gi as uniqueNumericIdCreator, gn as BlipFillOptions, go as SchemeColor, gr as CompoundLine, gt as createLayoutDefinitionHeaderList, h as customGeometryDesc, ha as createPatternFill, hi as uniqueId, hn as createExtentionList, ho as createSystemColor, hr as createFillOverlayEffect, ht as createLayoutDefinitionHeader, i as presentationLayoutVariablesDesc, ia as DefaultAttributes, ii as xsdPenAlignment, in as createTableStyle, io as zipAndConvert, ir as PresetShadowVal, it as ColorsDefinitionHeaderListOptions, j as scRgbColorDesc, ja as createGradientFill, ji as convertPositionToEmu, jn as PresetMaterialType, jr as IdFormat, jt as createAdjust, k as presetColorDesc, ka as RelativeRect, ki as convertPixelsToEmu, kn as GeometryGuide, ko as createColorTransforms, kr as DashStop, kt as PreferredChildrenOptions, l as tileDesc, la as Relationships, li as xsdTextAnchor, ln as createTransformation, lo as convertOutput, lr as InnerShadowEffectOptions, lt as LayoutDefinitionHeaderListOptions, m as transform2DDesc, ma as PresetPattern, mi as hashedId, mn as stringifyStretch, mo as SystemColorOptions, mr as FillOverlayEffectOptions, mt as createColorsDefinitionHeaderList, n as diagramRelationshipIdsDesc, na as buildCorePropertiesXmlString, ni as xsdPathFillMode, nn as TableTextStyleOptions, no as toUint8Array, nr as createReflectionEffect, nt as createTextFillColorList, o as blipFillDesc, oa as createDefault, oi as xsdRectAlignment, on as parseTableStyleList, oo as OoxmlMimeType, or as OuterShadowEffectOptions, ot as DiagramCategoryOptions, p as groupTransform2DDesc, pa as PatternFillOptions, pi as UniqueNumericIdCreator, pn as createTransform2D, po as SystemColor, pr as BlendMode, pt as createColorsDefinitionHeader, q as FontCollectionIndex, qa as ZIP_STORED_LEVEL, qi as PPTX_PARTS, qn as EffectContainerType, qr as replaceSmartArtPlaceholders, qt as createShapeLocking, r as diagramStyleDesc, ra as parseCorePropsElement, ri as xsdPattern, rn as ThemeableLineStyleOptions, ro as unzipSync, rr as PresetShadowEffectOptions, rt as createTextLineColorList, s as sourceRectangleDesc, sa as createOverride, si as xsdStrikeStyle, sn as MediaDataTransformation, so as OutputByType, sr as RectAlignment, st as DiagramDescriptionOptions, t as diagramExtensionListDesc, ta as buildCorePropertiesXml, ti as xsdMaterialType, tn as TableStyleRegion, to as strFromU8, tr as ReflectionEffectOptions, tt as createTextEffectColorList, u as bevelDesc, ua as TargetModeType, ui as xsdTextCaps, un as GroupTransform2DOptions, uo as SolidFillOptions, ur as createInnerShadowEffect, ut as LayoutDefinitionHeaderOptions, v as groupLockingDesc, va as BlipFillMediaData, vi as derivePasswordHash, vn as BlipOptions, vo as createSchemeColor, vr as LineJoin, vt as createStyleDefinitionHeaderList, w as gradientFillDesc, wa as GradientShadeOptions, wi as convertEmuToPixels, wn as PathFillMode, wo as PresetColorOptions, wr as LineEndLength, wt as AnimationLevelValue, x as effectListDesc, xa as buildFill, xi as EmuPosition, xn as CustomGeometryOptions, xo as RgbColorOptions, xr as PenAlignment, xt as AnimateOneByOneOptions, y as pictureLockingDesc, ya as FillOptions, yi as hashPasswordAgile, yn as createBlip, yo as ScRgbColorOptions, yr as OutlineFillProperties, yt as AdjustListOptions, z as createDiagramShape3D, za as createBlipEffects, zi as buildContentTypeOverrides, zn as CameraOptions, zr as getVideoRefs, zt as createPresentationLayoutVariables } from "./index-CeVhA1an.mjs";
|
|
4
|
+
import { a as PointPropertySetOptions, c as stringifyDataModel, d as getColorXml, f as getLayoutXml, g as STYLE_CATEGORIES, h as LAYOUT_CATEGORIES, i as SmartArtData, l as stringifyConnection, m as COLOR_CATEGORIES, n as createDataModel, o as stringifyPoint, p as getStyleXml, r as SmartArtCollection, s as stringifyTransPoint, t as TreeNode, u as DEFAULT_DRAWING_XML } from "./index-CsQP7Cl4.mjs";
|
|
5
|
+
import { _ as PPTX_NS, a as getFirstLevelElements, c as TokenNotFoundError, d as createTraverser, f as RenderedParagraphNode, g as DOCX_NS, h as createReplacer, i as createTextElementContents, l as createSplitInject, m as ReplacerConfig, n as getNextRelationshipIndex, o as patchSpaceAttribute, p as createRunRenderer, r as appendContentType, s as toJson, t as appendRelationship, u as createTokenReplacer, v as XmlNamespaceConfig } from "./index-DYy8l709.mjs";
|
|
6
|
+
import { a as ColorSchemeOptions, i as createThemeXml, n as DEFAULT_COLORS, o as FontSchemeOptions, r as buildThemeXml, s as ThemeOptions, t as themeDesc } from "./index-vEeWkbm5.mjs";
|
|
7
7
|
import { C as uCharHexNumber, S as twipsMeasureValue, T as unsignedDecimalNumber, _ as pointMeasureValue, a as ThemeColor, b as signedHpsMeasureValue, c as dateTimeValue, d as hexBinary, f as hexColorValue, g as percentageValue, h as measurementOrPercentValue, i as RelativeMeasure, l as decimalNumber, m as longHexNumber, n as PositivePercentage, o as ThemeFont, p as hpsMeasureValue, r as PositiveUniversalMeasure, s as UniversalMeasure, t as Percentage, u as eighthPointMeasureValue, v as positiveUniversalMeasureValue, w as universalMeasureValue, x as signedTwipsMeasureValue, y as shortHexNumber } from "./values-Dqj8cbcy.mjs";
|
|
8
|
-
export { APP_PROPS_XML, type
|
|
8
|
+
export { APP_PROPS_XML, type AdjustListOptions, type AdjustOptions, type AnimateOneByOneOptions, AnimateOneByOneValue, type AnimationLevelOptions, AnimationLevelValue, AxisChartType, type BackdropOptions, type BevelOptions, BevelPresetType, BlendMode, type BlipEffectsOptions, type BlipFillConfigOptions, type BlipFillMediaData, type BlipFillOptions, type BlipOptions, type BlurEffectOptions, BubbleSeriesData, COLOR_CATEGORIES, type CameraOptions, ChartCollection, ChartData, ChartSeriesData, ChartSpaceOptions, ChartType, type ColorListOptions, ColorMethod, type ColorSchemeOptions, type ColorTransformOptions, type ColorsDefinitionHeaderListOptions, type ColorsDefinitionHeaderOptions, type CompileFn, CompoundLine, type CompressionOptions, type ConnectionSite, type ContentTypeOverrideEntry, type CoreProperties, type CustomDescriptor, type CustomGeometryOptions, DEFAULT_COLORS, DEFAULT_DRAWING_XML, DOCX_NS, DOCX_PARTS, type DashStop, DataLabelPosition, DataLabelsOptions, type DataType, type DefaultAttributes, type Descriptor, type DescriptorFieldSpec, DescriptorRegistry, type DiagramCategoryOptions, type DiagramDescriptionOptions, type DiagramExtensionListOptions, type DiagramExtensionOptions, type DiagramNameOptions, type DiagramRelationshipIdsOptions, type DiagramStyleLabelOptions, type DiagramStyleOptions, type DiagramTextPropertiesOptions, type EffectContainerType, type EffectDagOptions, type EffectExtent, type EffectListOptions, EmuPosition, ErrorBarDirection, ErrorBarOptions, ErrorBarType, ErrorValueType, FIELD_SPECS, type FieldConsistencyReport, type FillOptions, type FillOverlayEffectOptions, FontCollectionIndex, type FontSchemeOptions, type GeomRect, type GeometryGuide, type GlowEffectOptions, type GradientFillOptions, type GradientShadeOptions, type GradientStop, type GradientStopOptions, type GraphicFrameLockingOptions, type GroupLockingOptions, type GroupTransform2DOptions, type HierBranchOptions, HierBranchStyle, type HslColorOptions, HueDirection, IdFormat, type InnerShadowEffectOptions, LAYOUT_CATEGORIES, type LayoutDefinitionHeaderListOptions, type LayoutDefinitionHeaderOptions, type LightRigOptions, LineCap, LineEndLength, type LineEndOptions, LineEndType, LineEndWidth, LineJoin, type LinearShadeOptions, type MaxChildrenOptions, type MediaDataTransformation, type MediaTransformation, type OnOffStyleType, OoxmlMimeType, type OpcCode, type OpcIssue, type OpcSeverity, type OrderViolation, type OrgChartOptions, type OuterShadowEffectOptions, type OutlineFillProperties, type OutlineOptions, type OutputByType, type OutputType, type OverrideAttributes, PART_REGISTRIES, PPTX_NS, PPTX_PARTS, type PackagePartRegistry, type Packer, type PackerOptions, ParsedArchive, type PartDef, type PartPresence, type PathCommand, type PathFillMode, type PathOptions, type PathShadeOptions, PathShadeType, type PatternFillOptions, PenAlignment, Percentage, type PictureLockingOptions, PixelPosition, type Point3D, PointPropertySetOptions, PositivePercentage, PositiveUniversalMeasure, type PreferredChildrenOptions, type PresentationLayoutVariablesOptions, PresetColor, type PresetColorOptions, PresetDash, type PresetGeometryOptions, PresetMaterialType, PresetPattern, type PresetShadowEffectOptions, PresetShadowVal, type ReadContext, RectAlignment, type ReflectionEffectOptions, type RelationshipType, Relationships, RelativeMeasure, type RelativeRect, type RenderedParagraphNode, type ReplacerConfig, type RgbColorOptions, type RoundTripResult, STYLE_CATEGORIES, type ScRgbColorOptions, type Scene3DOptions, SchemeColor, type SchemeColorOptions, type Shape3DOptions, type ShapeLockingOptions, SmartArtCollection, SmartArtData, SmartArtRelOptions, type SolidFillOptions, type SourceRectangleOptions, type SphereCoords, type StyleDefinitionHeaderListOptions, type StyleDefinitionHeaderOptions, StyleMatrixIndex, type StyleMatrixReferenceOptions, SystemColor, type SystemColorOptions, type TableCellBorderOptions, type TableCellStyleOptions, type TablePartStyleOptions, type TableStyleListOptions, type TableStyleOptions, type TableStyleRegion, type TableTextStyleOptions, TargetModeType, ThemeColor, ThemeFont, type ThemeOptions, type ThemeableLineStyleOptions, TileAlignment, TileFlipMode, type TileOptions, TimeUnit, TokenNotFoundError, type Transform2DOptions, TreeNode, TrendlineOptions, TrendlineType, UniqueNumericIdCreator, UniversalMeasure, type Vector3D, View3DOptions, type WriteContext, XLSX_PARTS, type XmlNamespaceConfig, type XmlifyedFile, ZIP_DEFLATE_LEVEL, ZIP_STORED_LEVEL, type ZipOptions, type Zippable, addSmartArtRelationships, appendContentType, appendRelationship, bevelDesc, blipDesc, blipFillDesc, boolDecode, boolEncode, buildContentTypeOverrides, buildCorePropertiesXml, buildCorePropertiesXmlString, buildFill, buildThemeXml, calculateEffectExtent, chartSpaceDesc, checkOrder, collectPlaceholderKeys, compileMapping, convertEmuToInches, convertEmuToPixels, convertEmuToPoints, convertInchesToEmu, convertInchesToTwip, convertMillimetersToTwip, convertOutput, convertPixelsToEmu, convertPointsToEmu, convertPositionToEmu, convertToEmu, convertToTwip, convertUniversalMeasureToEmu, convertUniversalMeasureToTwip, createAdjust, createAdjustList, createAnimateOneByOne, createAnimationLevel, createBevel, createBlip, createBlipEffects, createBlipFill, createBottomBevel, createColorElement, createColorTransforms, createColorsDefinitionHeader, createColorsDefinitionHeaderList, createCustomDash, createCustomGeometry, createDataModel, createDefault, createDiagramExtensionList, createDiagramRelationshipIds, createDiagramShape3D, createDiagramStyle, createDiagramTextProperties, createEffectColorList, createEffectDag, createEffectList, createExtentionList, createFillColorList, createFillOverlayEffect, createGlowEffect, createGradientFill, createGradientStop, createGraphicFrameLocking, createGroupFill, createGroupLocking, createGroupTransform2D, createHierBranch, createHslColor, createInnerShadowEffect, createLayoutDefinitionHeader, createLayoutDefinitionHeaderList, createLineColorList, createLineEnd, createMaxChildren, createNoFill, createOrgChart, createOuterShadowEffect, createOutline, createOverride, createPacker, createPatternFill, createPictureLocking, createPreferredChildren, createPresentationLayoutVariables, createPresetColor, createPresetShadowEffect, createReflectionEffect, createReplacer, createRgbColor, createRunRenderer, createScRgbColor, createScene3D, createSchemeColor, createShape3D, createShapeLocking, createSoftEdgeEffect, createSolidFill, createSourceRectangle, createSplitInject, createStyleDefinitionHeader, createStyleDefinitionHeaderList, createStyleLabel, createSystemColor, createTableStyle, createTableStyleList, createTextEffectColorList, createTextElementContents, createTextFillColorList, createTextLineColorList, createThemeXml, createTileInfo, createTokenReplacer, createTransform2D, createTransformation, createTraverser, createZipStream, customGeometryDesc, dateTimeValue, decimalNumber, decodeBase64, derivePasswordHash, diagramExtensionListDesc, diagramRelationshipIdsDesc, diagramStyleDesc, diffTagSets, effectListDesc, eighthPointMeasureValue, enumDecode, enumEncode, extractBlipFillMedia, fillDesc, findAndReplaceImagePlaceholders, findFieldSpec, formatId, getColorDescriptor, getColorXml, getFirstLevelElements, getLayoutXml, getMediaRefs, getNextRelationshipIndex, getReferencedMedia, getStyleXml, getVideoRefs, gradientFillDesc, graphicFrameLockingDesc, groupLockingDesc, groupTransform2DDesc, hasPlaceholders, hashPasswordAgile, hashedId, hexBinary, hexColorValue, hpsMeasureValue, hslColorDesc, invertMap, isBase64DataURL, levelForMediaName, longHexNumber, measurementOrPercentValue, outlineDesc, parse, parseArchive, parseColorChoice, parseCorePropsElement, parseTableStyleList, parseUniversalMeasure, patchSpaceAttribute, patternFillDesc, percentageValue, pictureLockingDesc, pointMeasureValue, positiveUniversalMeasureValue, presentationLayoutVariablesDesc, presetColorDesc, presetGeometryDesc, randomBytes, replaceAllPlaceholders, replaceChartPlaceholders, replaceHyperlinkPlaceholders, replaceImagePlaceholders, replaceMediaPlaceholders, replaceNumberingPlaceholders, replaceSmartArtPlaceholders, replaceVideoPlaceholders, rgbColorDesc, roundTripFields, scRgbColorDesc, scene3DDesc, schemeColorDesc, shape3DDesc, shapeLockingDesc, shortHexNumber, signedHpsMeasureValue, signedTwipsMeasureValue, solidFillDesc, sourceRectangleDesc, strFromU8, stretchDesc, stringify, stringifyAdjustmentValues, stringifyConnection, stringifyDataModel, stringifyPoint, stringifyPresetGeometry, stringifyStretch, stringifyTransPoint, summarizeOpcIssues, systemColorDesc, themeDesc, tileDesc, toJson, toUint8Array, transform2DDesc, twipsMeasureValue, uCharHexNumber, uniqueId, uniqueNumericIdCreator, uniqueUuid, universalMeasureValue, unsignedDecimalNumber, unzipSync, validateOpcConsistency, xsdBlendMode, xsdCompoundLine, xsdEffectContainer, xsdLineCap, xsdLineEndSize, xsdMaterialType, xsdPathFillMode, xsdPattern, xsdPenAlignment, xsdPresetShadow, xsdRectAlignment, xsdStrikeStyle, xsdTextAlign, xsdTextAnchor, xsdTextCaps, xsdUnderlineStyle, xsdVerticalMergeRev, zipAndConvert, zipSyncAndConvert };
|
package/dist/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { $ as solidFillDesc, $n as createTileInfo, $r as
|
|
1
|
+
import { $ as solidFillDesc, $n as createTileInfo, $r as toUint8Array, $t as convertToTwip, A as bevelDesc, An as createFillOverlayEffect, Ar as createScRgbColor, At as createHierBranch, B as shapeLockingDesc, Bn as createLineEnd, Br as XLSX_PARTS, Bt as createTableStyleList, C as diagramStyleDesc, Cn as PresetShadowVal, Cr as uniqueUuid, Ct as AnimateOneByOneValue, D as sourceRectangleDesc, Dn as createInnerShadowEffect, Dr as createSystemColor, Dt as createAdjustList, E as blipFillDesc, En as createOuterShadowEffect, Er as SystemColor, Et as createAdjust, F as customGeometryDesc, Fn as PresetDash, Fr as createColorTransforms, Ft as createGraphicFrameLocking, G as patternFillDesc, Gn as extractBlipFillMedia, Gr as ZIP_DEFLATE_LEVEL, Gt as convertEmuToPoints, H as outlineDesc, Hn as createGroupFill, Hr as validateOpcConsistency, Ht as createTransformation, I as presetGeometryDesc, In as createOutline, Ir as buildContentTypeOverrides, It as createGroupLocking, J as parseColorChoice, Jn as PathShadeType, Jr as createZipStream, Jt as convertMillimetersToTwip, K as getColorDescriptor, Kn as PresetPattern, Kr as ZIP_STORED_LEVEL, Kt as convertInchesToEmu, L as graphicFrameLockingDesc, Ln as LineEndLength, Lr as DOCX_PARTS, Lt as createPictureLocking, M as shape3DDesc, Mn as LineCap, Mr as PresetColor, Mt as createOrgChart, N as groupTransform2DDesc, Nn as LineJoin, Nr as createPresetColor, Nt as createPreferredChildren, O as stretchDesc, On as createGlowEffect, Or as SchemeColor, Ot as createAnimateOneByOne, P as transform2DDesc, Pn as PenAlignment, Pr as createHslColor, Pt as createPresentationLayoutVariables, Q as schemeColorDesc, Qn as TileAlignment, Qr as strFromU8, Qt as convertToEmu, R as groupLockingDesc, Rn as LineEndType, Rr as PART_REGISTRIES, Rt as createShapeLocking, S as diagramRelationshipIdsDesc, Sn as createReflectionEffect, Sr as uniqueNumericIdCreator, St as createStyleDefinitionHeaderList, T as blipDesc, Tn as RectAlignment, Tr as createSolidFill, Tt as HierBranchStyle, U as fillDesc, Un as createNoFill, Ur as ParsedArchive, Ut as convertEmuToInches, V as effectListDesc, Vn as createCustomDash, Vr as summarizeOpcIssues, Vt as parseTableStyleList, W as gradientFillDesc, Wn as buildFill, Wr as parseArchive, Wt as convertEmuToPixels, X as rgbColorDesc, Xn as createGradientFill, Xr as isBase64DataURL, Xt as convertPointsToEmu, Y as presetColorDesc, Yn as TileFlipMode, Yr as decodeBase64, Yt as convertPixelsToEmu, Z as scRgbColorDesc, Zn as createGradientStop, Zr as levelForMediaName, Zt as convertPositionToEmu, _ as derivePasswordHash, _n as createScene3D, _r as xsdVerticalMergeRev, _t as createColorsDefinitionHeader, a as getMediaRefs, ai as buildCorePropertiesXml, an as stringifyStretch, ar as xsdLineEndSize, at as ColorMethod, b as compileMapping, bn as createEffectList, br as hashedId, bt as createLayoutDefinitionHeaderList, c as hasPlaceholders, ci as createDefault, cn as createExtentionList, cr as xsdPattern, ct as StyleMatrixIndex, d as replaceHyperlinkPlaceholders, di as TargetModeType, dn as stringifyAdjustmentValues, dr as xsdRectAlignment, dt as createFillColorList, ei as unzipSync, en as convertUniversalMeasureToEmu, er as invertMap, et as systemColorDesc, f as replaceImagePlaceholders, fi as APP_PROPS_XML, fn as PresetMaterialType, fr as xsdStrikeStyle, ft as createLineColorList, g as replaceVideoPlaceholders, gn as createBottomBevel, gr as xsdUnderlineStyle, gt as createTextLineColorList, h as replaceSmartArtPlaceholders, hn as createBevel, hr as xsdTextCaps, ht as createTextFillColorList, i as formatId, ii as convertOutput, in as createTransform2D, ir as xsdLineCap, it as createDiagramRelationshipIds, j as scene3DDesc, jn as CompoundLine, jr as createRgbColor, jt as createMaxChildren, k as tileDesc, kn as BlendMode, kr as createSchemeColor, kt as createAnimationLevel, l as replaceAllPlaceholders, li as createOverride, ln as createCustomGeometry, lr as xsdPenAlignment, lt as createDiagramStyle, m as replaceNumberingPlaceholders, mn as BevelPresetType, mr as xsdTextAnchor, mt as createTextEffectColorList, n as collectPlaceholderKeys, ni as zipSyncAndConvert, nn as parseUniversalMeasure, nr as xsdCompoundLine, nt as createDiagramShape3D, o as getReferencedMedia, oi as buildCorePropertiesXmlString, on as createBlipFill, or as xsdMaterialType, ot as FontCollectionIndex, p as replaceMediaPlaceholders, pn as createShape3D, pr as xsdTextAlign, pt as createStyleLabel, q as hslColorDesc, qn as createPatternFill, qr as createPacker, qt as convertInchesToTwip, r as findAndReplaceImagePlaceholders, ri as OoxmlMimeType, rn as createGroupTransform2D, rr as xsdEffectContainer, rt as createDiagramTextProperties, s as getVideoRefs, si as parseCorePropsElement, sn as createBlip, sr as xsdPathFillMode, st as HueDirection, t as addSmartArtRelationships, ti as zipAndConvert, tn as convertUniversalMeasureToTwip, tr as xsdBlendMode, tt as createDiagramExtensionList, u as replaceChartPlaceholders, ui as Relationships, un as stringifyPresetGeometry, ur as xsdPresetShadow, ut as createEffectColorList, v as hashPasswordAgile, vn as createEffectDag, vr as createSourceRectangle, vt as createColorsDefinitionHeaderList, w as presentationLayoutVariablesDesc, wn as createPresetShadowEffect, wr as createColorElement, wt as AnimationLevelValue, x as diagramExtensionListDesc, xn as createSoftEdgeEffect, xr as uniqueId, xt as createStyleDefinitionHeader, y as randomBytes, yn as calculateEffectExtent, yr as createBlipEffects, yt as createLayoutDefinitionHeader, z as pictureLockingDesc, zn as LineEndWidth, zr as PPTX_PARTS, zt as createTableStyle } from "./src-CSka9ln4.mjs";
|
|
2
2
|
import { a as stringifyDataModel, c as getColorXml, d as COLOR_CATEGORIES, f as LAYOUT_CATEGORIES, i as stringifyTransPoint, l as getLayoutXml, n as SmartArtCollection, o as stringifyConnection, p as STYLE_CATEGORIES, r as stringifyPoint, s as DEFAULT_DRAWING_XML, t as createDataModel, u as getStyleXml } from "./smartart-DCY-Vdv7.mjs";
|
|
3
3
|
import { a as TimeUnit, c as ChartCollection, i as ErrorValueType, n as ErrorBarDirection, o as TrendlineType, r as ErrorBarType, s as chartSpaceDesc, t as DataLabelPosition } from "./chart-DwE8FCFk.mjs";
|
|
4
|
-
import { a as
|
|
4
|
+
import { a as roundTripFields, c as boolEncode, d as parse, f as stringify, i as diffTagSets, l as enumDecode, n as findFieldSpec, o as DescriptorRegistry, r as checkOrder, s as boolDecode, t as FIELD_SPECS, u as enumEncode } from "./descriptor-TtMXoZgS.mjs";
|
|
5
5
|
import { a as createTraverser, c as TokenNotFoundError, d as getFirstLevelElements, f as patchSpaceAttribute, h as PPTX_NS, i as createReplacer, l as createSplitInject, m as DOCX_NS, n as getNextRelationshipIndex, o as createRunRenderer, p as toJson, r as appendContentType, s as createTokenReplacer, t as appendRelationship, u as createTextElementContents } from "./patch-ilNZTQmG.mjs";
|
|
6
6
|
import { i as DEFAULT_COLORS, n as createThemeXml, r as buildThemeXml, t as themeDesc } from "./theme-CiNzdl-9.mjs";
|
|
7
7
|
import { _ as twipsMeasureValue, a as eighthPointMeasureValue, b as unsignedDecimalNumber, c as hpsMeasureValue, d as percentageValue, f as pointMeasureValue, g as signedTwipsMeasureValue, h as signedHpsMeasureValue, i as decimalNumber, l as longHexNumber, m as shortHexNumber, n as ThemeFont, o as hexBinary, p as positiveUniversalMeasureValue, r as dateTimeValue, s as hexColorValue, t as ThemeColor, u as measurementOrPercentValue, v as uCharHexNumber, y as universalMeasureValue } from "./values-CVIZcTRw.mjs";
|
|
8
|
-
export { APP_PROPS_XML,
|
|
8
|
+
export { APP_PROPS_XML, AnimateOneByOneValue, AnimationLevelValue, BevelPresetType, BlendMode, COLOR_CATEGORIES, ChartCollection, ColorMethod, CompoundLine, DEFAULT_COLORS, DEFAULT_DRAWING_XML, DOCX_NS, DOCX_PARTS, DataLabelPosition, DescriptorRegistry, ErrorBarDirection, ErrorBarType, ErrorValueType, FIELD_SPECS, FontCollectionIndex, HierBranchStyle, HueDirection, LAYOUT_CATEGORIES, LineCap, LineEndLength, LineEndType, LineEndWidth, LineJoin, OoxmlMimeType, PART_REGISTRIES, PPTX_NS, PPTX_PARTS, ParsedArchive, PathShadeType, PenAlignment, PresetColor, PresetDash, PresetMaterialType, PresetPattern, PresetShadowVal, RectAlignment, Relationships, STYLE_CATEGORIES, SchemeColor, SmartArtCollection, StyleMatrixIndex, SystemColor, TargetModeType, ThemeColor, ThemeFont, TileAlignment, TileFlipMode, TimeUnit, TokenNotFoundError, TrendlineType, XLSX_PARTS, ZIP_DEFLATE_LEVEL, ZIP_STORED_LEVEL, addSmartArtRelationships, appendContentType, appendRelationship, bevelDesc, blipDesc, blipFillDesc, boolDecode, boolEncode, buildContentTypeOverrides, buildCorePropertiesXml, buildCorePropertiesXmlString, buildFill, buildThemeXml, calculateEffectExtent, chartSpaceDesc, checkOrder, collectPlaceholderKeys, compileMapping, convertEmuToInches, convertEmuToPixels, convertEmuToPoints, convertInchesToEmu, convertInchesToTwip, convertMillimetersToTwip, convertOutput, convertPixelsToEmu, convertPointsToEmu, convertPositionToEmu, convertToEmu, convertToTwip, convertUniversalMeasureToEmu, convertUniversalMeasureToTwip, createAdjust, createAdjustList, createAnimateOneByOne, createAnimationLevel, createBevel, createBlip, createBlipEffects, createBlipFill, createBottomBevel, createColorElement, createColorTransforms, createColorsDefinitionHeader, createColorsDefinitionHeaderList, createCustomDash, createCustomGeometry, createDataModel, createDefault, createDiagramExtensionList, createDiagramRelationshipIds, createDiagramShape3D, createDiagramStyle, createDiagramTextProperties, createEffectColorList, createEffectDag, createEffectList, createExtentionList, createFillColorList, createFillOverlayEffect, createGlowEffect, createGradientFill, createGradientStop, createGraphicFrameLocking, createGroupFill, createGroupLocking, createGroupTransform2D, createHierBranch, createHslColor, createInnerShadowEffect, createLayoutDefinitionHeader, createLayoutDefinitionHeaderList, createLineColorList, createLineEnd, createMaxChildren, createNoFill, createOrgChart, createOuterShadowEffect, createOutline, createOverride, createPacker, createPatternFill, createPictureLocking, createPreferredChildren, createPresentationLayoutVariables, createPresetColor, createPresetShadowEffect, createReflectionEffect, createReplacer, createRgbColor, createRunRenderer, createScRgbColor, createScene3D, createSchemeColor, createShape3D, createShapeLocking, createSoftEdgeEffect, createSolidFill, createSourceRectangle, createSplitInject, createStyleDefinitionHeader, createStyleDefinitionHeaderList, createStyleLabel, createSystemColor, createTableStyle, createTableStyleList, createTextEffectColorList, createTextElementContents, createTextFillColorList, createTextLineColorList, createThemeXml, createTileInfo, createTokenReplacer, createTransform2D, createTransformation, createTraverser, createZipStream, customGeometryDesc, dateTimeValue, decimalNumber, decodeBase64, derivePasswordHash, diagramExtensionListDesc, diagramRelationshipIdsDesc, diagramStyleDesc, diffTagSets, effectListDesc, eighthPointMeasureValue, enumDecode, enumEncode, extractBlipFillMedia, fillDesc, findAndReplaceImagePlaceholders, findFieldSpec, formatId, getColorDescriptor, getColorXml, getFirstLevelElements, getLayoutXml, getMediaRefs, getNextRelationshipIndex, getReferencedMedia, getStyleXml, getVideoRefs, gradientFillDesc, graphicFrameLockingDesc, groupLockingDesc, groupTransform2DDesc, hasPlaceholders, hashPasswordAgile, hashedId, hexBinary, hexColorValue, hpsMeasureValue, hslColorDesc, invertMap, isBase64DataURL, levelForMediaName, longHexNumber, measurementOrPercentValue, outlineDesc, parse, parseArchive, parseColorChoice, parseCorePropsElement, parseTableStyleList, parseUniversalMeasure, patchSpaceAttribute, patternFillDesc, percentageValue, pictureLockingDesc, pointMeasureValue, positiveUniversalMeasureValue, presentationLayoutVariablesDesc, presetColorDesc, presetGeometryDesc, randomBytes, replaceAllPlaceholders, replaceChartPlaceholders, replaceHyperlinkPlaceholders, replaceImagePlaceholders, replaceMediaPlaceholders, replaceNumberingPlaceholders, replaceSmartArtPlaceholders, replaceVideoPlaceholders, rgbColorDesc, roundTripFields, scRgbColorDesc, scene3DDesc, schemeColorDesc, shape3DDesc, shapeLockingDesc, shortHexNumber, signedHpsMeasureValue, signedTwipsMeasureValue, solidFillDesc, sourceRectangleDesc, strFromU8, stretchDesc, stringify, stringifyAdjustmentValues, stringifyConnection, stringifyDataModel, stringifyPoint, stringifyPresetGeometry, stringifyStretch, stringifyTransPoint, summarizeOpcIssues, systemColorDesc, themeDesc, tileDesc, toJson, toUint8Array, transform2DDesc, twipsMeasureValue, uCharHexNumber, uniqueId, uniqueNumericIdCreator, uniqueUuid, universalMeasureValue, unsignedDecimalNumber, unzipSync, validateOpcConsistency, xsdBlendMode, xsdCompoundLine, xsdEffectContainer, xsdLineCap, xsdLineEndSize, xsdMaterialType, xsdPathFillMode, xsdPattern, xsdPenAlignment, xsdPresetShadow, xsdRectAlignment, xsdStrikeStyle, xsdTextAlign, xsdTextAnchor, xsdTextCaps, xsdUnderlineStyle, xsdVerticalMergeRev, zipAndConvert, zipSyncAndConvert };
|
package/dist/patch/index.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as PPTX_NS, a as getFirstLevelElements, c as TokenNotFoundError, d as createTraverser, f as RenderedParagraphNode, g as DOCX_NS, h as createReplacer, i as createTextElementContents, l as createSplitInject, m as ReplacerConfig, n as getNextRelationshipIndex, o as patchSpaceAttribute, p as createRunRenderer, r as appendContentType, s as toJson, t as appendRelationship, u as createTokenReplacer, v as XmlNamespaceConfig } from "../index-
|
|
1
|
+
import { _ as PPTX_NS, a as getFirstLevelElements, c as TokenNotFoundError, d as createTraverser, f as RenderedParagraphNode, g as DOCX_NS, h as createReplacer, i as createTextElementContents, l as createSplitInject, m as ReplacerConfig, n as getNextRelationshipIndex, o as patchSpaceAttribute, p as createRunRenderer, r as appendContentType, s as toJson, t as appendRelationship, u as createTokenReplacer, v as XmlNamespaceConfig } from "../index-DYy8l709.mjs";
|
|
2
2
|
export { DOCX_NS, PPTX_NS, type RenderedParagraphNode, type ReplacerConfig, TokenNotFoundError, type XmlNamespaceConfig, appendContentType, appendRelationship, createReplacer, createRunRenderer, createSplitInject, createTextElementContents, createTokenReplacer, createTraverser, getFirstLevelElements, getNextRelationshipIndex, patchSpaceAttribute, toJson };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as PointPropertySetOptions, c as stringifyDataModel, d as getColorXml, f as getLayoutXml, g as STYLE_CATEGORIES, h as LAYOUT_CATEGORIES, i as SmartArtData, l as stringifyConnection, m as COLOR_CATEGORIES, n as createDataModel, o as stringifyPoint, p as getStyleXml, r as SmartArtCollection, s as stringifyTransPoint, t as TreeNode, u as DEFAULT_DRAWING_XML } from "../index-
|
|
1
|
+
import { a as PointPropertySetOptions, c as stringifyDataModel, d as getColorXml, f as getLayoutXml, g as STYLE_CATEGORIES, h as LAYOUT_CATEGORIES, i as SmartArtData, l as stringifyConnection, m as COLOR_CATEGORIES, n as createDataModel, o as stringifyPoint, p as getStyleXml, r as SmartArtCollection, s as stringifyTransPoint, t as TreeNode, u as DEFAULT_DRAWING_XML } from "../index-CsQP7Cl4.mjs";
|
|
2
2
|
export { COLOR_CATEGORIES, DEFAULT_DRAWING_XML, LAYOUT_CATEGORIES, PointPropertySetOptions, STYLE_CATEGORIES, SmartArtCollection, SmartArtData, TreeNode, createDataModel, getColorXml, getLayoutXml, getStyleXml, stringifyConnection, stringifyDataModel, stringifyPoint, stringifyTransPoint };
|