@office-open/core 0.6.9 → 0.7.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.
@@ -1,2 +1,2 @@
1
- import { $ as RectAlignment, $t as createSolidFill, A as createBevel, At as FillOptions, B as createSoftEdgeEffect, Bt as RelativeRect, C as GeometryGuide, Ct as createGroupFill, D as createShape3D, Dt as createNoFill, E as Shape3DOptions, Et as createPatternFill, F as Point3D, Ft as GradientShadeOptions, G as EffectListOptions, Gt as TileOptions, H as EffectDagOptions, Ht as createGradientFill, I as Scene3DOptions, It as GradientStop, J as createReflectionEffect, Jt as createSourceRectangle, K as createEffectList, Kt as createTileInfo, L as SphereCoords, Lt as LinearShadeOptions, M as BackdropOptions, Mt as buildFill, N as CameraOptions, Nt as extractBlipFillMedia, O as BevelOptions, Ot as BlipFillConfigOptions, P as LightRigOptions, Pt as GradientFillOptions, Q as OuterShadowEffectOptions, Qt as createColorElement, R as Vector3D, Rt as PathShadeOptions, S as PresetGeometryOptions, St as createCustomDash, T as PresetMaterialType, Tt as PresetPattern, U as createEffectDag, Ut as createGradientStop, V as EffectContainerType, Vt as TileFlipMode, W as BlurEffectOptions, Wt as TileAlignment, X as PresetShadowVal, Xt as createBlipEffects, Y as PresetShadowEffectOptions, Yt as BlipEffectsOptions, Z as createPresetShadowEffect, Zt as SolidFillOptions, _ as PathCommand, _t as LineEndOptions, a as Transform2DOptions, an as createSchemeColor, at as BlendMode, b as createCustomGeometry, bt as createLineEnd, c as Stretch, cn as RgbColorOptions, ct as CompoundLine, d as createBlipFill, dn as PresetColorOptions, dt as OutlineFillProperties, en as SystemColor, et as createOuterShadowEffect, f as BlipOptions, fn as createPresetColor, ft as OutlineOptions, g as GeomRect, gn as createColorTransforms, gt as LineEndLength, h as CustomGeometryOptions, hn as ColorTransformOptions, ht as createOutline, i as GroupTransform2DOptions, in as SchemeColorOptions, it as createGlowEffect, j as createBottomBevel, jt as GradientStopOptions, k as BevelPresetType, kt as BlipFillMediaData, l as createExtentionList, ln as createRgbColor, lt as LineCap, m as ConnectionSite, mn as createHslColor, mt as PresetDash, n as MediaTransformation, nn as createSystemColor, nt as createInnerShadowEffect, o as createGroupTransform2D, on as ScRgbColorOptions, ot as FillOverlayEffectOptions, p as createBlip, pn as HslColorOptions, pt as PenAlignment, q as ReflectionEffectOptions, qt as SourceRectangleOptions, r as createTransformation, rn as SchemeColor, rt as GlowEffectOptions, s as createTransform2D, sn as createScRgbColor, st as createFillOverlayEffect, t as MediaDataTransformation, tn as SystemColorOptions, tt as InnerShadowEffectOptions, u as BlipFillOptions, un as PresetColor, ut as LineJoin, v as PathFillMode, vt as LineEndType, w as createAdjustmentValues, wt as PatternFillOptions, x as PresetGeometry, xt as DashStop, y as PathOptions, yt as LineEndWidth, z as createScene3D, zt as PathShadeType } from "../index-C0Iqsm0K.mjs";
1
+ import { $ as RectAlignment, $t as createSolidFill, A as createBevel, At as FillOptions, B as createSoftEdgeEffect, Bt as RelativeRect, C as GeometryGuide, Ct as createGroupFill, D as createShape3D, Dt as createNoFill, E as Shape3DOptions, Et as createPatternFill, F as Point3D, Ft as GradientShadeOptions, G as EffectListOptions, Gt as TileOptions, H as EffectDagOptions, Ht as createGradientFill, I as Scene3DOptions, It as GradientStop, J as createReflectionEffect, Jt as createSourceRectangle, K as createEffectList, Kt as createTileInfo, L as SphereCoords, Lt as LinearShadeOptions, M as BackdropOptions, Mt as buildFill, N as CameraOptions, Nt as extractBlipFillMedia, O as BevelOptions, Ot as BlipFillConfigOptions, P as LightRigOptions, Pt as GradientFillOptions, Q as OuterShadowEffectOptions, Qt as createColorElement, R as Vector3D, Rt as PathShadeOptions, S as PresetGeometryOptions, St as createCustomDash, T as PresetMaterialType, Tt as PresetPattern, U as createEffectDag, Ut as createGradientStop, V as EffectContainerType, Vt as TileFlipMode, W as BlurEffectOptions, Wt as TileAlignment, X as PresetShadowVal, Xt as createBlipEffects, Y as PresetShadowEffectOptions, Yt as BlipEffectsOptions, Z as createPresetShadowEffect, Zt as SolidFillOptions, _ as PathCommand, _t as LineEndOptions, a as Transform2DOptions, an as createSchemeColor, at as BlendMode, b as createCustomGeometry, bt as createLineEnd, c as Stretch, cn as RgbColorOptions, ct as CompoundLine, d as createBlipFill, dn as PresetColorOptions, dt as OutlineFillProperties, en as SystemColor, et as createOuterShadowEffect, f as BlipOptions, fn as createPresetColor, ft as OutlineOptions, g as GeomRect, gn as createColorTransforms, gt as LineEndLength, h as CustomGeometryOptions, hn as ColorTransformOptions, ht as createOutline, i as GroupTransform2DOptions, in as SchemeColorOptions, it as createGlowEffect, j as createBottomBevel, jt as GradientStopOptions, k as BevelPresetType, kt as BlipFillMediaData, l as createExtentionList, ln as createRgbColor, lt as LineCap, m as ConnectionSite, mn as createHslColor, mt as PresetDash, n as MediaTransformation, nn as createSystemColor, nt as createInnerShadowEffect, o as createGroupTransform2D, on as ScRgbColorOptions, ot as FillOverlayEffectOptions, p as createBlip, pn as HslColorOptions, pt as PenAlignment, q as ReflectionEffectOptions, qt as SourceRectangleOptions, r as createTransformation, rn as SchemeColor, rt as GlowEffectOptions, s as createTransform2D, sn as createScRgbColor, st as createFillOverlayEffect, t as MediaDataTransformation, tn as SystemColorOptions, tt as InnerShadowEffectOptions, u as BlipFillOptions, un as PresetColor, ut as LineJoin, v as PathFillMode, vt as LineEndType, w as createAdjustmentValues, wt as PatternFillOptions, x as PresetGeometry, xt as DashStop, y as PathOptions, yt as LineEndWidth, z as createScene3D, zt as PathShadeType } from "../index-BWboZ6Uq.mjs";
2
2
  export { type BackdropOptions, type BevelOptions, BevelPresetType, BlendMode, type BlipEffectsOptions, type BlipFillConfigOptions, type BlipFillMediaData, type BlipFillOptions, type BlipOptions, type BlurEffectOptions, type CameraOptions, type ColorTransformOptions, CompoundLine, type ConnectionSite, type CustomGeometryOptions, type DashStop, type EffectContainerType, type EffectDagOptions, type EffectListOptions, type FillOptions, type FillOverlayEffectOptions, type GeomRect, type GeometryGuide, type GlowEffectOptions, type GradientFillOptions, type GradientShadeOptions, type GradientStop, type GradientStopOptions, type GroupTransform2DOptions, type HslColorOptions, type InnerShadowEffectOptions, type LightRigOptions, LineCap, LineEndLength, type LineEndOptions, LineEndType, LineEndWidth, LineJoin, type LinearShadeOptions, type MediaDataTransformation, type MediaTransformation, type OuterShadowEffectOptions, type OutlineFillProperties, type OutlineOptions, type PathCommand, type PathFillMode, type PathOptions, type PathShadeOptions, PathShadeType, type PatternFillOptions, PenAlignment, type Point3D, PresetColor, type PresetColorOptions, PresetDash, PresetGeometry, type PresetGeometryOptions, PresetMaterialType, PresetPattern, type PresetShadowEffectOptions, PresetShadowVal, RectAlignment, type ReflectionEffectOptions, type RelativeRect, type RgbColorOptions, type ScRgbColorOptions, type Scene3DOptions, SchemeColor, type SchemeColorOptions, type Shape3DOptions, type SolidFillOptions, type SourceRectangleOptions, type SphereCoords, Stretch, SystemColor, type SystemColorOptions, TileAlignment, TileFlipMode, type TileOptions, type Transform2DOptions, type Vector3D, buildFill, createAdjustmentValues, createBevel, createBlip, createBlipEffects, createBlipFill, createBottomBevel, createColorElement, createColorTransforms, createCustomDash, createCustomGeometry, createEffectDag, createEffectList, createExtentionList, createFillOverlayEffect, createGlowEffect, createGradientFill, createGradientStop, createGroupFill, createGroupTransform2D, createHslColor, createInnerShadowEffect, createLineEnd, createNoFill, createOuterShadowEffect, createOutline, createPatternFill, createPresetColor, createPresetShadowEffect, createReflectionEffect, createRgbColor, createScRgbColor, createScene3D, createSchemeColor, createShape3D, createSoftEdgeEffect, createSolidFill, createSourceRectangle, createSystemColor, createTileInfo, createTransform2D, createTransformation, extractBlipFillMedia };
@@ -1,2 +1,2 @@
1
- import { A as LineJoin, B as createNoFill, C as createOuterShadowEffect, Ct as createSchemeColor, D as createFillOverlayEffect, Dt as createPresetColor, E as BlendMode, Et as PresetColor, F as LineEndType, G as PathShadeType, H as extractBlipFillMedia, I as LineEndWidth, J as createGradientStop, K as TileFlipMode, L as createLineEnd, M as PresetDash, N as createOutline, O as CompoundLine, Ot as createHslColor, P as LineEndLength, R as createCustomDash, S as RectAlignment, St as SchemeColor, T as createGlowEffect, Tt as createRgbColor, U as PresetPattern, V as buildFill, W as createPatternFill, X as createTileInfo, Y as TileAlignment, _ as createEffectList, _t as createBlipEffects, a as createBlip, b as PresetShadowVal, bt as SystemColor, c as PresetGeometry, d as createShape3D, f as BevelPresetType, g as createEffectDag, gt as createSourceRectangle, h as createScene3D, ht as Stretch, i as createBlipFill, j as PenAlignment, k as LineCap, kt as createColorTransforms, l as createAdjustmentValues, m as createBottomBevel, n as createGroupTransform2D, o as createExtentionList, p as createBevel, q as createGradientFill, r as createTransform2D, s as createCustomGeometry, t as createTransformation, u as PresetMaterialType, v as createSoftEdgeEffect, vt as createColorElement, w as createInnerShadowEffect, wt as createScRgbColor, x as createPresetShadowEffect, xt as createSystemColor, y as createReflectionEffect, yt as createSolidFill, z as createGroupFill } from "../drawingml-B_cFnIfw.mjs";
1
+ import { A as LineJoin, B as createNoFill, C as createOuterShadowEffect, Ct as createSchemeColor, D as createFillOverlayEffect, Dt as createPresetColor, E as BlendMode, Et as PresetColor, F as LineEndType, G as PathShadeType, H as extractBlipFillMedia, I as LineEndWidth, J as createGradientStop, K as TileFlipMode, L as createLineEnd, M as PresetDash, N as createOutline, O as CompoundLine, Ot as createHslColor, P as LineEndLength, R as createCustomDash, S as RectAlignment, St as SchemeColor, T as createGlowEffect, Tt as createRgbColor, U as PresetPattern, V as buildFill, W as createPatternFill, X as createTileInfo, Y as TileAlignment, _ as createEffectList, _t as createBlipEffects, a as createBlip, b as PresetShadowVal, bt as SystemColor, c as PresetGeometry, d as createShape3D, f as BevelPresetType, g as createEffectDag, gt as createSourceRectangle, h as createScene3D, ht as Stretch, i as createBlipFill, j as PenAlignment, k as LineCap, kt as createColorTransforms, l as createAdjustmentValues, m as createBottomBevel, n as createGroupTransform2D, o as createExtentionList, p as createBevel, q as createGradientFill, r as createTransform2D, s as createCustomGeometry, t as createTransformation, u as PresetMaterialType, v as createSoftEdgeEffect, vt as createColorElement, w as createInnerShadowEffect, wt as createScRgbColor, x as createPresetShadowEffect, xt as createSystemColor, y as createReflectionEffect, yt as createSolidFill, z as createGroupFill } from "../drawingml-DQlhouyh.mjs";
2
2
  export { BevelPresetType, BlendMode, CompoundLine, LineCap, LineEndLength, LineEndType, LineEndWidth, LineJoin, PathShadeType, PenAlignment, PresetColor, PresetDash, PresetGeometry, PresetMaterialType, PresetPattern, PresetShadowVal, RectAlignment, SchemeColor, Stretch, SystemColor, TileAlignment, TileFlipMode, buildFill, createAdjustmentValues, createBevel, createBlip, createBlipEffects, createBlipFill, createBottomBevel, createColorElement, createColorTransforms, createCustomDash, createCustomGeometry, createEffectDag, createEffectList, createExtentionList, createFillOverlayEffect, createGlowEffect, createGradientFill, createGradientStop, createGroupFill, createGroupTransform2D, createHslColor, createInnerShadowEffect, createLineEnd, createNoFill, createOuterShadowEffect, createOutline, createPatternFill, createPresetColor, createPresetShadowEffect, createReflectionEffect, createRgbColor, createScRgbColor, createScene3D, createSchemeColor, createShape3D, createSoftEdgeEffect, createSolidFill, createSourceRectangle, createSystemColor, createTileInfo, createTransform2D, createTransformation, extractBlipFillMedia };
@@ -1,4 +1,4 @@
1
- import { a as BuilderElement, y as XmlComponent } from "./xml-components-BWnF8xox.mjs";
1
+ import { a as BuilderElement, y as XmlComponent } from "./xml-components-xJkfJ6ff.mjs";
2
2
  import hash from "hash.js";
3
3
  import { customAlphabet, nanoid } from "nanoid/non-secure";
4
4
  //#region src/converters.ts
@@ -1176,7 +1176,9 @@ const xsdTextAlign = bidi({
1176
1176
  const xsdTextAnchor = bidi({
1177
1177
  top: "t",
1178
1178
  center: "ctr",
1179
- bottom: "b"
1179
+ bottom: "b",
1180
+ justify: "just",
1181
+ distribute: "dist"
1180
1182
  });
1181
1183
  const xsdLineCap = bidi({
1182
1184
  round: "rnd",
@@ -1,4 +1,4 @@
1
- import { a as BuilderElement, b as XmlComponent } from "./index-CzsIq-Qi.mjs";
1
+ import { a as BuilderElement, b as XmlComponent } from "./index-Borh69Zs.mjs";
2
2
 
3
3
  //#region src/drawingml/color/color-transform.d.ts
4
4
  /**
@@ -1,5 +1,5 @@
1
1
  import { r as PositiveUniversalMeasure } from "./values-COjPGYkS.mjs";
2
- import { Element } from "@office-open/xml";
2
+ import { Attributes, Element } from "@office-open/xml";
3
3
 
4
4
  //#region src/xml-components/types.d.ts
5
5
  /**
@@ -13,8 +13,11 @@ import { Element } from "@office-open/xml";
13
13
  type IXmlAttribute = Readonly<Record<string, string | number | boolean>>;
14
14
  /**
15
15
  * Object that can be serialized to XML.
16
+ *
17
+ * Uses `unknown` values (instead of `any`) for type safety at call sites,
18
+ * while remaining compatible with the dynamic XML serialization pipeline.
16
19
  */
17
- type IXmlableObject = Readonly<Record<string, any>>;
20
+ type IXmlableObject = Readonly<Record<string, unknown>>;
18
21
  //#endregion
19
22
  //#region src/xml-components/base.d.ts
20
23
  /**
@@ -26,7 +29,7 @@ interface Context<TFileData = unknown> {
26
29
  /** The root file data object being serialized (format-specific). */
27
30
  readonly fileData?: TFileData;
28
31
  /** Current traversal stack of components (mutable for performance). */
29
- readonly stack: IXmlableObject[];
32
+ readonly stack: BaseXmlComponent[];
30
33
  }
31
34
  /**
32
35
  * Abstract base class for all XML components.
@@ -187,7 +190,7 @@ declare class ImportedXmlComponent extends XmlComponent {
187
190
  static fromXmlString(importedContent: string): ImportedXmlComponent;
188
191
  get sourceXml(): string | undefined;
189
192
  toXml(_context: Context): string;
190
- constructor(rootKey: string, _attr?: any);
193
+ constructor(rootKey: string, _attr?: Attributes);
191
194
  push(xmlComponent: XmlComponent | string): void;
192
195
  }
193
196
  /**
@@ -195,8 +198,8 @@ declare class ImportedXmlComponent extends XmlComponent {
195
198
  * The { _attr } in root is consumed by the parent's toXml() serialization.
196
199
  */
197
200
  declare class ImportedRootElementAttributes extends XmlComponent {
198
- private readonly _attr;
199
- constructor(_attr: any);
201
+ private readonly _attr?;
202
+ constructor(_attr?: Attributes | undefined);
200
203
  /**
201
204
  * @deprecated Use `toXml()` instead.
202
205
  */
@@ -0,0 +1,220 @@
1
+ import { b as XmlComponent } from "./index-Borh69Zs.mjs";
2
+
3
+ //#region src/chart/axes.d.ts
4
+ /**
5
+ * c:catAx — category axis.
6
+ *
7
+ * XSD sequence: EG_AxShared (axId, scaling, delete, axPos, ..., crossAx, crosses)
8
+ * then: auto, lblAlgn, lblOffset, tickLblSkip, tickMarkSkip, noMultiLvlLbl
9
+ */
10
+ declare class CatAx extends XmlComponent {
11
+ constructor(axId: number, crossAx: number);
12
+ }
13
+ /**
14
+ * c:valAx — value axis.
15
+ *
16
+ * XSD sequence: EG_AxShared (axId, scaling, delete, axPos, ..., spPr, ..., crossAx, crosses)
17
+ * then: crossBetween, majorUnit, minorUnit, dispUnits
18
+ */
19
+ declare class ValAx extends XmlComponent {
20
+ constructor(axId: number, crossAx: number);
21
+ }
22
+ declare class SerAx extends XmlComponent {
23
+ constructor(axId: number, crossAx: number);
24
+ }
25
+ //#endregion
26
+ //#region src/chart/chart-types/bubble-chart.d.ts
27
+ interface BubbleSeriesData {
28
+ readonly name: string;
29
+ readonly xValues: readonly number[];
30
+ readonly yValues: readonly number[];
31
+ readonly bubbleSize: readonly number[];
32
+ }
33
+ interface BubbleChartOptions$1 {
34
+ readonly series: readonly BubbleSeriesData[];
35
+ }
36
+ declare class BubbleChart extends XmlComponent {
37
+ constructor(options: BubbleChartOptions$1);
38
+ }
39
+ //#endregion
40
+ //#region src/chart/create-chart-type.d.ts
41
+ interface ChartSeriesData {
42
+ readonly name: string;
43
+ readonly values: readonly number[];
44
+ }
45
+ type ChartType = "column" | "bar" | "line" | "pie" | "area" | "scatter" | "bubble" | "doughnut" | "radar" | "stock" | "surface";
46
+ type AxisChartType = Exclude<ChartType, "bubble">;
47
+ interface ChartTypeOptions {
48
+ readonly type: AxisChartType;
49
+ readonly series: readonly ChartSeriesData[];
50
+ readonly categories: readonly string[];
51
+ readonly threeD?: boolean;
52
+ }
53
+ type BubbleChartOptions = {
54
+ readonly type: "bubble";
55
+ readonly series: readonly BubbleSeriesData[];
56
+ };
57
+ type AllChartTypeOptions = ChartTypeOptions | BubbleChartOptions;
58
+ declare const createChartType: (options: AllChartTypeOptions) => XmlComponent;
59
+ //#endregion
60
+ //#region src/chart/chart-space.d.ts
61
+ interface ChartSpaceOptions {
62
+ readonly title?: string;
63
+ readonly type: ChartType;
64
+ readonly categories?: readonly string[];
65
+ readonly series: readonly ChartSeriesData[] | readonly BubbleSeriesData[];
66
+ readonly showLegend?: boolean;
67
+ readonly style?: number;
68
+ readonly threeD?: boolean;
69
+ }
70
+ /**
71
+ * c:chartSpace — root element for chart XML parts.
72
+ */
73
+ declare class ChartSpace extends XmlComponent {
74
+ constructor(options: ChartSpaceOptions);
75
+ }
76
+ //#endregion
77
+ //#region src/chart/chart-collection.d.ts
78
+ interface ChartData {
79
+ readonly key: string;
80
+ readonly chartSpace: XmlComponent;
81
+ }
82
+ declare class ChartCollection {
83
+ private readonly map;
84
+ constructor();
85
+ addChart(key: string, chartData: ChartData): void;
86
+ get array(): readonly ChartData[];
87
+ }
88
+ //#endregion
89
+ //#region src/chart/series/series-data.d.ts
90
+ declare const createStrRef: (values: string | readonly string[]) => XmlComponent;
91
+ declare const createNumRef: (values: readonly number[]) => XmlComponent;
92
+ //#endregion
93
+ //#region src/chart/title.d.ts
94
+ declare class ChartTitle extends XmlComponent {
95
+ constructor(title: string);
96
+ }
97
+ //#endregion
98
+ //#region src/chart/chart-types/area-chart.d.ts
99
+ interface AreaChartOptions {
100
+ readonly categories: readonly string[];
101
+ readonly series: readonly ChartSeriesData[];
102
+ }
103
+ declare class AreaChart extends XmlComponent {
104
+ constructor(options: AreaChartOptions);
105
+ }
106
+ //#endregion
107
+ //#region src/chart/chart-types/area3d-chart.d.ts
108
+ interface Area3DChartOptions {
109
+ readonly categories: readonly string[];
110
+ readonly series: readonly ChartSeriesData[];
111
+ }
112
+ declare class Area3DChart extends XmlComponent {
113
+ constructor(options: Area3DChartOptions);
114
+ }
115
+ //#endregion
116
+ //#region src/chart/chart-types/bar-chart.d.ts
117
+ interface BarChartOptions {
118
+ readonly barDirection: "col" | "bar";
119
+ readonly categories: readonly string[];
120
+ readonly series: readonly ChartSeriesData[];
121
+ }
122
+ declare class BarChart extends XmlComponent {
123
+ constructor(options: BarChartOptions);
124
+ }
125
+ //#endregion
126
+ //#region src/chart/chart-types/bar3d-chart.d.ts
127
+ interface Bar3DChartOptions {
128
+ readonly barDirection: "col" | "bar";
129
+ readonly categories: readonly string[];
130
+ readonly series: readonly ChartSeriesData[];
131
+ }
132
+ declare class Bar3DChart extends XmlComponent {
133
+ constructor(options: Bar3DChartOptions);
134
+ }
135
+ //#endregion
136
+ //#region src/chart/chart-types/doughnut-chart.d.ts
137
+ interface DoughnutChartOptions {
138
+ readonly holeSize?: number;
139
+ readonly series: readonly ChartSeriesData[];
140
+ readonly categories: readonly string[];
141
+ }
142
+ declare class DoughnutChart extends XmlComponent {
143
+ constructor(options: DoughnutChartOptions);
144
+ }
145
+ //#endregion
146
+ //#region src/chart/chart-types/line-chart.d.ts
147
+ interface LineChartOptions {
148
+ readonly categories: readonly string[];
149
+ readonly series: readonly ChartSeriesData[];
150
+ }
151
+ declare class LineChart extends XmlComponent {
152
+ constructor(options: LineChartOptions);
153
+ }
154
+ //#endregion
155
+ //#region src/chart/chart-types/line3d-chart.d.ts
156
+ interface Line3DChartOptions {
157
+ readonly categories: readonly string[];
158
+ readonly series: readonly ChartSeriesData[];
159
+ }
160
+ declare class Line3DChart extends XmlComponent {
161
+ constructor(options: Line3DChartOptions);
162
+ }
163
+ //#endregion
164
+ //#region src/chart/chart-types/pie-chart.d.ts
165
+ interface PieChartOptions {
166
+ readonly categories: readonly string[];
167
+ readonly series: readonly ChartSeriesData[];
168
+ }
169
+ declare class PieChart extends XmlComponent {
170
+ constructor(options: PieChartOptions);
171
+ }
172
+ //#endregion
173
+ //#region src/chart/chart-types/pie3d-chart.d.ts
174
+ interface Pie3DChartOptions {
175
+ readonly categories: readonly string[];
176
+ readonly series: readonly ChartSeriesData[];
177
+ }
178
+ declare class Pie3DChart extends XmlComponent {
179
+ constructor(options: Pie3DChartOptions);
180
+ }
181
+ //#endregion
182
+ //#region src/chart/chart-types/radar-chart.d.ts
183
+ interface RadarChartOptions {
184
+ readonly radarStyle?: "filled" | "marker" | "line";
185
+ readonly categories: readonly string[];
186
+ readonly series: readonly ChartSeriesData[];
187
+ }
188
+ declare class RadarChart extends XmlComponent {
189
+ constructor(options: RadarChartOptions);
190
+ }
191
+ //#endregion
192
+ //#region src/chart/chart-types/scatter-chart.d.ts
193
+ interface ScatterChartOptions {
194
+ readonly categories: readonly string[];
195
+ readonly series: readonly ChartSeriesData[];
196
+ }
197
+ declare class ScatterChart extends XmlComponent {
198
+ constructor(options: ScatterChartOptions);
199
+ }
200
+ //#endregion
201
+ //#region src/chart/chart-types/stock-chart.d.ts
202
+ interface StockChartOptions {
203
+ readonly categories: readonly string[];
204
+ readonly series: readonly ChartSeriesData[];
205
+ }
206
+ declare class StockChart extends XmlComponent {
207
+ constructor(options: StockChartOptions);
208
+ }
209
+ //#endregion
210
+ //#region src/chart/chart-types/surface-chart.d.ts
211
+ interface SurfaceChartOptions {
212
+ readonly wireframe?: boolean;
213
+ readonly categories: readonly string[];
214
+ readonly series: readonly ChartSeriesData[];
215
+ }
216
+ declare class SurfaceChart extends XmlComponent {
217
+ constructor(options: SurfaceChartOptions);
218
+ }
219
+ //#endregion
220
+ export { CatAx as A, BubbleChartOptions as C, createChartType as D, ChartTypeOptions as E, ValAx as M, BubbleChart as O, AxisChartType as S, ChartType as T, ChartCollection as _, Pie3DChart as a, ChartSpaceOptions as b, LineChart as c, BarChart as d, Area3DChart as f, createStrRef as g, createNumRef as h, RadarChart as i, SerAx as j, BubbleSeriesData as k, DoughnutChart as l, ChartTitle as m, StockChart as n, PieChart as o, AreaChart as p, ScatterChart as r, Line3DChart as s, SurfaceChart as t, Bar3DChart as u, ChartData as v, ChartSeriesData as w, AllChartTypeOptions as x, ChartSpace as y };
@@ -1,4 +1,4 @@
1
- import { b as XmlComponent } from "./index-CzsIq-Qi.mjs";
1
+ import { b as XmlComponent } from "./index-Borh69Zs.mjs";
2
2
 
3
3
  //#region src/smartart/categories.d.ts
4
4
  /** Layout ID → OOXML category type */
package/dist/index.d.mts CHANGED
@@ -1,8 +1,8 @@
1
- import { C as IXmlAttribute, S as Context, _ as AttributePayload, a as BuilderElement, b as XmlComponent, c as buildAttrObject, d as numberValObj, f as onOffObj, g as wrapEl, h as stringValObj, i as convertToXmlComponent, l as chartAttr, m as stringEnumValObj, n as ImportedRootElementAttributes, o as EmptyElement, p as stringContainerObj, r as ImportedXmlComponent, s as attrObj, t as InitializableXmlComponent, u as hpsMeasureObj, v as EMPTY_OBJECT, w as IXmlableObject, x as BaseXmlComponent, y as IgnoreIfEmptyXmlComponent } from "./index-CzsIq-Qi.mjs";
1
+ import { C as IXmlAttribute, S as Context, _ as AttributePayload, a as BuilderElement, b as XmlComponent, c as buildAttrObject, d as numberValObj, f as onOffObj, g as wrapEl, h as stringValObj, i as convertToXmlComponent, l as chartAttr, m as stringEnumValObj, n as ImportedRootElementAttributes, o as EmptyElement, p as stringContainerObj, r as ImportedXmlComponent, s as attrObj, t as InitializableXmlComponent, u as hpsMeasureObj, v as EMPTY_OBJECT, w as IXmlableObject, x as BaseXmlComponent, y as IgnoreIfEmptyXmlComponent } from "./index-Borh69Zs.mjs";
2
2
  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-COjPGYkS.mjs";
3
- import { _ as CatAx, a as ChartData, c as ChartSeriesData, d as createChartType, f as ScatterChart, g as AreaChart, h as BarChart, i as ChartCollection, l as ChartType, m as LineChart, n as createNumRef, o as ChartSpace, p as PieChart, r as createStrRef, s as ChartSpaceOptions, t as ChartTitle, u as ChartTypeOptions, v as ValAx } from "./index-CECweGf1.mjs";
4
- import { $ as RectAlignment, $t as createSolidFill, A as createBevel, At as FillOptions, B as createSoftEdgeEffect, Bt as RelativeRect, C as GeometryGuide, Ct as createGroupFill, D as createShape3D, Dt as createNoFill, E as Shape3DOptions, Et as createPatternFill, F as Point3D, Ft as GradientShadeOptions, G as EffectListOptions, Gt as TileOptions, H as EffectDagOptions, Ht as createGradientFill, I as Scene3DOptions, It as GradientStop, J as createReflectionEffect, Jt as createSourceRectangle, K as createEffectList, Kt as createTileInfo, L as SphereCoords, Lt as LinearShadeOptions, M as BackdropOptions, Mt as buildFill, N as CameraOptions, Nt as extractBlipFillMedia, O as BevelOptions, Ot as BlipFillConfigOptions, P as LightRigOptions, Pt as GradientFillOptions, Q as OuterShadowEffectOptions, Qt as createColorElement, R as Vector3D, Rt as PathShadeOptions, S as PresetGeometryOptions, St as createCustomDash, T as PresetMaterialType, Tt as PresetPattern, U as createEffectDag, Ut as createGradientStop, V as EffectContainerType, Vt as TileFlipMode, W as BlurEffectOptions, Wt as TileAlignment, X as PresetShadowVal, Xt as createBlipEffects, Y as PresetShadowEffectOptions, Yt as BlipEffectsOptions, Z as createPresetShadowEffect, Zt as SolidFillOptions, _ as PathCommand, _t as LineEndOptions, a as Transform2DOptions, an as createSchemeColor, at as BlendMode, b as createCustomGeometry, bt as createLineEnd, c as Stretch, cn as RgbColorOptions, ct as CompoundLine, d as createBlipFill, dn as PresetColorOptions, dt as OutlineFillProperties, en as SystemColor, et as createOuterShadowEffect, f as BlipOptions, fn as createPresetColor, ft as OutlineOptions, g as GeomRect, gn as createColorTransforms, gt as LineEndLength, h as CustomGeometryOptions, hn as ColorTransformOptions, ht as createOutline, i as GroupTransform2DOptions, in as SchemeColorOptions, it as createGlowEffect, j as createBottomBevel, jt as GradientStopOptions, k as BevelPresetType, kt as BlipFillMediaData, l as createExtentionList, ln as createRgbColor, lt as LineCap, m as ConnectionSite, mn as createHslColor, mt as PresetDash, n as MediaTransformation, nn as createSystemColor, nt as createInnerShadowEffect, o as createGroupTransform2D, on as ScRgbColorOptions, ot as FillOverlayEffectOptions, p as createBlip, pn as HslColorOptions, pt as PenAlignment, q as ReflectionEffectOptions, qt as SourceRectangleOptions, r as createTransformation, rn as SchemeColor, rt as GlowEffectOptions, s as createTransform2D, sn as createScRgbColor, st as createFillOverlayEffect, t as MediaDataTransformation, tn as SystemColorOptions, tt as InnerShadowEffectOptions, u as BlipFillOptions, un as PresetColor, ut as LineJoin, v as PathFillMode, vt as LineEndType, w as createAdjustmentValues, wt as PatternFillOptions, x as PresetGeometry, xt as DashStop, y as PathOptions, yt as LineEndWidth, z as createScene3D, zt as PathShadeType } from "./index-C0Iqsm0K.mjs";
5
- import { a as Point, c as Connection, d as getLayoutXml, f as getStyleXml, h as STYLE_CATEGORIES, i as SmartArtData, l as DEFAULT_DRAWING_XML, m as LAYOUT_CATEGORIES, n as createDataModel, o as TransPoint, p as COLOR_CATEGORIES, r as SmartArtCollection, s as DataModel, t as TreeNode, u as getColorXml } from "./index-BD7Tgfi4.mjs";
3
+ import { A as CatAx, C as BubbleChartOptions, D as createChartType, E as ChartTypeOptions, M as ValAx, O as BubbleChart, S as AxisChartType, T as ChartType, _ as ChartCollection, a as Pie3DChart, b as ChartSpaceOptions, c as LineChart, d as BarChart, f as Area3DChart, g as createStrRef, h as createNumRef, i as RadarChart, j as SerAx, k as BubbleSeriesData, l as DoughnutChart, m as ChartTitle, n as StockChart, o as PieChart, p as AreaChart, r as ScatterChart, s as Line3DChart, t as SurfaceChart, u as Bar3DChart, v as ChartData, w as ChartSeriesData, x as AllChartTypeOptions, y as ChartSpace } from "./index-C4Wm3RBo.mjs";
4
+ import { $ as RectAlignment, $t as createSolidFill, A as createBevel, At as FillOptions, B as createSoftEdgeEffect, Bt as RelativeRect, C as GeometryGuide, Ct as createGroupFill, D as createShape3D, Dt as createNoFill, E as Shape3DOptions, Et as createPatternFill, F as Point3D, Ft as GradientShadeOptions, G as EffectListOptions, Gt as TileOptions, H as EffectDagOptions, Ht as createGradientFill, I as Scene3DOptions, It as GradientStop, J as createReflectionEffect, Jt as createSourceRectangle, K as createEffectList, Kt as createTileInfo, L as SphereCoords, Lt as LinearShadeOptions, M as BackdropOptions, Mt as buildFill, N as CameraOptions, Nt as extractBlipFillMedia, O as BevelOptions, Ot as BlipFillConfigOptions, P as LightRigOptions, Pt as GradientFillOptions, Q as OuterShadowEffectOptions, Qt as createColorElement, R as Vector3D, Rt as PathShadeOptions, S as PresetGeometryOptions, St as createCustomDash, T as PresetMaterialType, Tt as PresetPattern, U as createEffectDag, Ut as createGradientStop, V as EffectContainerType, Vt as TileFlipMode, W as BlurEffectOptions, Wt as TileAlignment, X as PresetShadowVal, Xt as createBlipEffects, Y as PresetShadowEffectOptions, Yt as BlipEffectsOptions, Z as createPresetShadowEffect, Zt as SolidFillOptions, _ as PathCommand, _t as LineEndOptions, a as Transform2DOptions, an as createSchemeColor, at as BlendMode, b as createCustomGeometry, bt as createLineEnd, c as Stretch, cn as RgbColorOptions, ct as CompoundLine, d as createBlipFill, dn as PresetColorOptions, dt as OutlineFillProperties, en as SystemColor, et as createOuterShadowEffect, f as BlipOptions, fn as createPresetColor, ft as OutlineOptions, g as GeomRect, gn as createColorTransforms, gt as LineEndLength, h as CustomGeometryOptions, hn as ColorTransformOptions, ht as createOutline, i as GroupTransform2DOptions, in as SchemeColorOptions, it as createGlowEffect, j as createBottomBevel, jt as GradientStopOptions, k as BevelPresetType, kt as BlipFillMediaData, l as createExtentionList, ln as createRgbColor, lt as LineCap, m as ConnectionSite, mn as createHslColor, mt as PresetDash, n as MediaTransformation, nn as createSystemColor, nt as createInnerShadowEffect, o as createGroupTransform2D, on as ScRgbColorOptions, ot as FillOverlayEffectOptions, p as createBlip, pn as HslColorOptions, pt as PenAlignment, q as ReflectionEffectOptions, qt as SourceRectangleOptions, r as createTransformation, rn as SchemeColor, rt as GlowEffectOptions, s as createTransform2D, sn as createScRgbColor, st as createFillOverlayEffect, t as MediaDataTransformation, tn as SystemColorOptions, tt as InnerShadowEffectOptions, u as BlipFillOptions, un as PresetColor, ut as LineJoin, v as PathFillMode, vt as LineEndType, w as createAdjustmentValues, wt as PatternFillOptions, x as PresetGeometry, xt as DashStop, y as PathOptions, yt as LineEndWidth, z as createScene3D, zt as PathShadeType } from "./index-BWboZ6Uq.mjs";
5
+ import { a as Point, c as Connection, d as getLayoutXml, f as getStyleXml, h as STYLE_CATEGORIES, i as SmartArtData, l as DEFAULT_DRAWING_XML, m as LAYOUT_CATEGORIES, n as createDataModel, o as TransPoint, p as COLOR_CATEGORIES, r as SmartArtCollection, s as DataModel, t as TreeNode, u as getColorXml } from "./index-f_Izh2dj.mjs";
6
6
  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-BCUfgp9A.mjs";
7
7
  import { Element } from "@office-open/xml";
8
8
  import { ZipOptions, Zippable, Zippable as Zippable$1, strFromU8, unzipSync } from "fflate";
@@ -98,10 +98,24 @@ interface XmlifyedFile {
98
98
  readonly path: string;
99
99
  readonly data: string | Uint8Array;
100
100
  }
101
- /** Default DEFLATE compression level matching Microsoft Office behavior. */
102
- declare const ZIP_DEFLATE_LEVEL = 6;
103
- /** STORE level for already-compressed media formats (JPEG, PNG, GIF, etc.). */
101
+ /** Default DEFLATE level for XML entries (SuperFast, matching MS Office). */
102
+ declare const ZIP_DEFLATE_LEVEL = 1;
103
+ /** Default level for media entries (STORE no compression). */
104
104
  declare const ZIP_STORED_LEVEL = 0;
105
+ /** Compression options for ZIP output (zlib levels 0-9, matching fflate). */
106
+ interface CompressionOptions {
107
+ /** DEFLATE level for XML files. Default: 1 (SuperFast, matching MS Office). */
108
+ readonly xml?: number;
109
+ /** DEFLATE level for media files. Default: 0 (STORE, no compression). */
110
+ readonly media?: number;
111
+ }
112
+ /** Options for Packer output methods. */
113
+ interface PackerOptions {
114
+ /** Custom XML/ZIP file overrides. */
115
+ readonly overrides?: readonly XmlifyedFile[];
116
+ /** Compression levels for ZIP entries. */
117
+ readonly compression?: CompressionOptions;
118
+ }
105
119
  /**
106
120
  * Asynchronously compress files and convert to the requested output format.
107
121
  *
@@ -124,11 +138,11 @@ declare const zipSyncAndConvert: <T extends OutputType>(files: Zippable$1, type:
124
138
  * `STORED` entries (media) pass through synchronously.
125
139
  * Works in both Node.js and browsers (Web Streams API).
126
140
  */
127
- declare const createZipStream: (files: Zippable$1) => ReadableStream<Uint8Array>;
141
+ declare const createZipStream: (files: Zippable$1, defaultLevel?: number) => ReadableStream<Uint8Array>;
128
142
  /**
129
143
  * Compile function provided by each package to convert a file object into a Zippable map.
130
144
  */
131
- type CompileFn<TFile> = (file: TFile, overrides?: readonly XmlifyedFile[]) => Zippable$1;
145
+ type CompileFn<TFile> = (file: TFile, overrides?: readonly XmlifyedFile[], mediaLevel?: number) => Zippable$1;
132
146
  /**
133
147
  * Packer interface returned by {@link createPacker}.
134
148
  *
@@ -140,35 +154,35 @@ interface Packer<TFile> {
140
154
  /** Compile file to Zippable map (synchronous). */
141
155
  compile: CompileFn<TFile>;
142
156
  /** Generic async output — returns the requested OutputType. */
143
- pack<T extends OutputType>(file: TFile, type: T, overrides?: readonly XmlifyedFile[]): Promise<OutputByType[T]>;
157
+ pack<T extends OutputType>(file: TFile, type: T, options?: PackerOptions): Promise<OutputByType[T]>;
144
158
  /** Generic sync output — returns the requested OutputType. */
145
- packSync<T extends OutputType>(file: TFile, type: T, overrides?: readonly XmlifyedFile[]): OutputByType[T];
159
+ packSync<T extends OutputType>(file: TFile, type: T, options?: PackerOptions): OutputByType[T];
146
160
  /** Async → `Promise<Uint8Array>` (like `Response.bytes()`). */
147
- toBytes(file: TFile, overrides?: readonly XmlifyedFile[]): Promise<Uint8Array>;
161
+ toBytes(file: TFile, options?: PackerOptions): Promise<Uint8Array>;
148
162
  /** Sync → `Uint8Array`. */
149
- toBytesSync(file: TFile, overrides?: readonly XmlifyedFile[]): Uint8Array;
163
+ toBytesSync(file: TFile, options?: PackerOptions): Uint8Array;
150
164
  /** Async → `Promise<string>` (raw ZIP content as string). */
151
- toString(file: TFile, overrides?: readonly XmlifyedFile[]): Promise<string>;
165
+ toString(file: TFile, options?: PackerOptions): Promise<string>;
152
166
  /** Sync → `string`. */
153
- toStringSync(file: TFile, overrides?: readonly XmlifyedFile[]): string;
167
+ toStringSync(file: TFile, options?: PackerOptions): string;
154
168
  /** Async → `Promise<Buffer>` (Node.js). */
155
- toBuffer(file: TFile, overrides?: readonly XmlifyedFile[]): Promise<Buffer>;
169
+ toBuffer(file: TFile, options?: PackerOptions): Promise<Buffer>;
156
170
  /** Sync → `Buffer` (Node.js). */
157
- toBufferSync(file: TFile, overrides?: readonly XmlifyedFile[]): Buffer;
171
+ toBufferSync(file: TFile, options?: PackerOptions): Buffer;
158
172
  /** Async → `Promise<string>` (base64-encoded). */
159
- toBase64String(file: TFile, overrides?: readonly XmlifyedFile[]): Promise<string>;
173
+ toBase64String(file: TFile, options?: PackerOptions): Promise<string>;
160
174
  /** Sync → `string` (base64-encoded). */
161
- toBase64StringSync(file: TFile, overrides?: readonly XmlifyedFile[]): string;
175
+ toBase64StringSync(file: TFile, options?: PackerOptions): string;
162
176
  /** Async → `Promise<Blob>` (browser). */
163
- toBlob(file: TFile, overrides?: readonly XmlifyedFile[]): Promise<Blob>;
177
+ toBlob(file: TFile, options?: PackerOptions): Promise<Blob>;
164
178
  /** Sync → `Blob`. */
165
- toBlobSync(file: TFile, overrides?: readonly XmlifyedFile[]): Blob;
179
+ toBlobSync(file: TFile, options?: PackerOptions): Blob;
166
180
  /** Async → `Promise<ArrayBuffer>`. */
167
- toArrayBuffer(file: TFile, overrides?: readonly XmlifyedFile[]): Promise<ArrayBuffer>;
181
+ toArrayBuffer(file: TFile, options?: PackerOptions): Promise<ArrayBuffer>;
168
182
  /** Sync → `ArrayBuffer`. */
169
- toArrayBufferSync(file: TFile, overrides?: readonly XmlifyedFile[]): ArrayBuffer;
183
+ toArrayBufferSync(file: TFile, options?: PackerOptions): ArrayBuffer;
170
184
  /** Streaming output via `ReadableStream<Uint8Array>` (cross-platform, uses Web Workers). */
171
- toStream(file: TFile, overrides?: readonly XmlifyedFile[]): ReadableStream<Uint8Array>;
185
+ toStream(file: TFile, options?: PackerOptions): ReadableStream<Uint8Array>;
172
186
  }
173
187
  /**
174
188
  * Create a Packer object with all output format methods.
@@ -190,7 +204,7 @@ declare class AppProperties extends ImportedXmlComponent {
190
204
  }
191
205
  //#endregion
192
206
  //#region src/opc/relationships.d.ts
193
- type RelationshipType = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/image" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" | "http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/diagramData" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/diagramLayout" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/diagramQuickStyle" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/diagramColors" | "http://schemas.microsoft.com/office/2007/relationships/diagramLayout" | "http://schemas.microsoft.com/office/2007/relationships/diagramStyle" | "http://schemas.microsoft.com/office/2007/relationships/diagramColors" | "http://schemas.microsoft.com/office/2007/relationships/diagramDrawing" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/webSettings" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/header" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/endnotes" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/bibliography" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/font" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/aFChunk" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/subDocument" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/slide" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/notesSlide" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/presProps" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/viewProps" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/tableStyles" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/notesMaster" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/commentAuthors" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/video" | "http://schemas.microsoft.com/office/2007/relationships/media" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/calcChain" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing";
207
+ type RelationshipType = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/image" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" | "http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/diagramData" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/diagramLayout" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/diagramQuickStyle" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/diagramColors" | "http://schemas.microsoft.com/office/2007/relationships/diagramLayout" | "http://schemas.microsoft.com/office/2007/relationships/diagramStyle" | "http://schemas.microsoft.com/office/2007/relationships/diagramColors" | "http://schemas.microsoft.com/office/2007/relationships/diagramDrawing" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/webSettings" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/header" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/endnotes" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/bibliography" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/font" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/aFChunk" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/subDocument" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/slide" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/notesSlide" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/presProps" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/viewProps" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/tableStyles" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/notesMaster" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/commentAuthors" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/video" | "http://schemas.microsoft.com/office/2007/relationships/media" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/calcChain" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/pivotTable" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/pivotCacheDefinition" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/pivotCacheRecords";
194
208
  declare const TargetModeType: {
195
209
  readonly EXTERNAL: "External";
196
210
  };
@@ -390,8 +404,8 @@ declare const xsdTextAlign: {
390
404
  declare const xsdTextAnchor: {
391
405
  /** User-friendly value → XSD value */to: (key: string) => string; /** XSD value → user-friendly value */
392
406
  from: (xsd: string) => string; /** The forward map (user → XSD) */
393
- forward: Record<"top" | "center" | "bottom", "t" | "ctr" | "b">; /** The reverse map (XSD → user) */
394
- reverse: Record<"t" | "ctr" | "b", "top" | "center" | "bottom">;
407
+ forward: Record<"top" | "center" | "bottom" | "justify" | "distribute", "t" | "ctr" | "b" | "just" | "dist">; /** The reverse map (XSD → user) */
408
+ reverse: Record<"t" | "ctr" | "b" | "just" | "dist", "top" | "center" | "bottom" | "justify" | "distribute">;
395
409
  };
396
410
  declare const xsdLineCap: {
397
411
  /** User-friendly value → XSD value */to: (key: string) => string; /** XSD value → user-friendly value */
@@ -490,6 +504,6 @@ declare function compileMapping(mapping: Record<string, {
490
504
  }>, overrides?: readonly XmlifyedFile[], media?: readonly {
491
505
  data: Uint8Array;
492
506
  path: string;
493
- }[]): Zippable;
507
+ }[], mediaLevel?: number): Zippable;
494
508
  //#endregion
495
- export { AppProperties, AreaChart, AttributePayload, type BackdropOptions, BarChart, BaseXmlComponent, type BevelOptions, BevelPresetType, BlendMode, type BlipEffectsOptions, type BlipFillConfigOptions, type BlipFillMediaData, type BlipFillOptions, type BlipOptions, type BlurEffectOptions, BuilderElement, COLOR_CATEGORIES, type CameraOptions, CatAx, ChartCollection, ChartData, ChartSeriesData, ChartSpace, ChartSpaceOptions, ChartTitle, ChartType, ChartTypeOptions, type ColorTransformOptions, CompileFn, CompoundLine, Connection, type ConnectionSite, Context, CoreProperties, type CustomGeometryOptions, DEFAULT_DRAWING_XML, DOCX_NS, type DashStop, DataModel, type DefaultAttributes, EMPTY_OBJECT, type EffectContainerType, type EffectDagOptions, type EffectListOptions, EmptyElement, type FillOptions, type FillOverlayEffectOptions, Formatter, type GeomRect, type GeometryGuide, type GlowEffectOptions, type GradientFillOptions, type GradientShadeOptions, type GradientStop, type GradientStopOptions, type GroupTransform2DOptions, type HslColorOptions, IXmlAttribute, IXmlableObject, IdFormat, IgnoreIfEmptyXmlComponent, ImportedRootElementAttributes, ImportedXmlComponent, InitializableXmlComponent, type InnerShadowEffectOptions, LAYOUT_CATEGORIES, type LightRigOptions, LineCap, LineChart, LineEndLength, type LineEndOptions, LineEndType, LineEndWidth, LineJoin, type LinearShadeOptions, type MediaDataTransformation, type MediaTransformation, OoxmlMimeType, type OuterShadowEffectOptions, type OutlineFillProperties, type OutlineOptions, OutputByType, OutputType, type OverrideAttributes, PPTX_NS, Packer, ParsedArchive, type PathCommand, type PathFillMode, type PathOptions, type PathShadeOptions, PathShadeType, type PatternFillOptions, PenAlignment, Percentage, PieChart, Point, type Point3D, PositivePercentage, PositiveUniversalMeasure, PresetColor, type PresetColorOptions, PresetDash, PresetGeometry, type PresetGeometryOptions, PresetMaterialType, PresetPattern, type PresetShadowEffectOptions, PresetShadowVal, RawPassthrough, RectAlignment, type ReflectionEffectOptions, type RelationshipType, Relationships, RelativeMeasure, type RelativeRect, type RenderedParagraphNode, type ReplacerConfig, type RgbColorOptions, STYLE_CATEGORIES, type ScRgbColorOptions, ScatterChart, type Scene3DOptions, SchemeColor, type SchemeColorOptions, type Shape3DOptions, SmartArtCollection, SmartArtData, SmartArtRelOptions, type SolidFillOptions, type SourceRectangleOptions, type SphereCoords, Stretch, SystemColor, type SystemColorOptions, TargetModeType, ThemeColor, ThemeFont, TileAlignment, TileFlipMode, type TileOptions, TokenNotFoundError, TransPoint, type Transform2DOptions, TreeNode, UniqueNumericIdCreator, UniversalMeasure, ValAx, type Vector3D, XmlComponent, type XmlNamespaceConfig, XmlifyedFile, ZIP_DEFLATE_LEVEL, ZIP_STORED_LEVEL, type ZipOptions, type Zippable, addSmartArtRelationships, appendContentType, appendRelationship, attrObj, buildAttrObject, buildCorePropertiesXml, buildCorePropertiesXmlString, buildFill, chartAttr, collectPlaceholderKeys, compileMapping, convertEmuToInches, convertEmuToPixels, convertEmuToPoints, convertInchesToEmu, convertInchesToTwip, convertMillimetersToTwip, convertOutput, convertPixelsToEmu, convertPointsToEmu, convertToXmlComponent, createAdjustmentValues, createBevel, createBlip, createBlipEffects, createBlipFill, createBottomBevel, createChartType, createColorElement, createColorTransforms, createCustomDash, createCustomGeometry, createDataModel, createDefault, createEffectDag, createEffectList, createExtentionList, createFillOverlayEffect, createGlowEffect, createGradientFill, createGradientStop, createGroupFill, createGroupTransform2D, createHslColor, createInnerShadowEffect, createLineEnd, createNoFill, createNumRef, createOuterShadowEffect, createOutline, createOverride, createPacker, createPatternFill, createPresetColor, createPresetShadowEffect, createReflectionEffect, createReplacer, createRgbColor, createRunRenderer, createScRgbColor, createScene3D, createSchemeColor, createShape3D, createSoftEdgeEffect, createSolidFill, createSourceRectangle, createSplitInject, createStrRef, createSystemColor, createTextElementContents, createTileInfo, createTokenReplacer, createTransform2D, createTransformation, createTraverser, createZipStream, dateTimeValue, decimalNumber, eighthPointMeasureValue, elementToCompact, extractBlipFillMedia, formatId, getColorXml, getFirstLevelElements, getLayoutXml, getNextRelationshipIndex, getReferencedMedia, getStyleXml, hasPlaceholders, hashedId, hexBinary, hexColorValue, hpsMeasureObj, hpsMeasureValue, invertMap, longHexNumber, measurementOrPercentValue, numberValObj, onOffObj, parseArchive, parseCorePropsElement, patchSpaceAttribute, percentageValue, pointMeasureValue, positiveUniversalMeasureValue, replaceChartPlaceholders, replaceImagePlaceholders, replaceSmartArtPlaceholders, shortHexNumber, signedHpsMeasureValue, signedTwipsMeasureValue, strFromU8, stringContainerObj, stringEnumValObj, stringValObj, toJson, twipsMeasureValue, uCharHexNumber, uniqueId, uniqueNumericIdCreator, uniqueUuid, universalMeasureValue, unsignedDecimalNumber, unzipSync, wrapEl, xsdBlendMode, xsdCompoundLine, xsdEffectContainer, xsdLineCap, xsdLineEndSize, xsdMaterialType, xsdPathFillMode, xsdPattern, xsdPenAlignment, xsdPresetShadow, xsdRectAlignment, xsdStrikeStyle, xsdTextAlign, xsdTextAnchor, xsdTextCaps, xsdUnderlineStyle, xsdVerticalMergeRev, zipAndConvert, zipSyncAndConvert };
509
+ export { AllChartTypeOptions, AppProperties, Area3DChart, AreaChart, AttributePayload, AxisChartType, type BackdropOptions, Bar3DChart, BarChart, BaseXmlComponent, type BevelOptions, BevelPresetType, BlendMode, type BlipEffectsOptions, type BlipFillConfigOptions, type BlipFillMediaData, type BlipFillOptions, type BlipOptions, type BlurEffectOptions, BubbleChart, BubbleChartOptions, type BubbleSeriesData, BuilderElement, COLOR_CATEGORIES, type CameraOptions, CatAx, ChartCollection, ChartData, ChartSeriesData, ChartSpace, ChartSpaceOptions, ChartTitle, ChartType, ChartTypeOptions, type ColorTransformOptions, CompileFn, CompoundLine, CompressionOptions, Connection, type ConnectionSite, Context, CoreProperties, type CustomGeometryOptions, DEFAULT_DRAWING_XML, DOCX_NS, type DashStop, DataModel, type DefaultAttributes, DoughnutChart, EMPTY_OBJECT, type EffectContainerType, type EffectDagOptions, type EffectListOptions, EmptyElement, type FillOptions, type FillOverlayEffectOptions, Formatter, type GeomRect, type GeometryGuide, type GlowEffectOptions, type GradientFillOptions, type GradientShadeOptions, type GradientStop, type GradientStopOptions, type GroupTransform2DOptions, type HslColorOptions, IXmlAttribute, IXmlableObject, IdFormat, IgnoreIfEmptyXmlComponent, ImportedRootElementAttributes, ImportedXmlComponent, InitializableXmlComponent, type InnerShadowEffectOptions, LAYOUT_CATEGORIES, type LightRigOptions, Line3DChart, LineCap, LineChart, LineEndLength, type LineEndOptions, LineEndType, LineEndWidth, LineJoin, type LinearShadeOptions, type MediaDataTransformation, type MediaTransformation, OoxmlMimeType, type OuterShadowEffectOptions, type OutlineFillProperties, type OutlineOptions, OutputByType, OutputType, type OverrideAttributes, PPTX_NS, Packer, PackerOptions, ParsedArchive, type PathCommand, type PathFillMode, type PathOptions, type PathShadeOptions, PathShadeType, type PatternFillOptions, PenAlignment, Percentage, Pie3DChart, PieChart, Point, type Point3D, PositivePercentage, PositiveUniversalMeasure, PresetColor, type PresetColorOptions, PresetDash, PresetGeometry, type PresetGeometryOptions, PresetMaterialType, PresetPattern, type PresetShadowEffectOptions, PresetShadowVal, RadarChart, RawPassthrough, RectAlignment, type ReflectionEffectOptions, type RelationshipType, Relationships, RelativeMeasure, type RelativeRect, type RenderedParagraphNode, type ReplacerConfig, type RgbColorOptions, STYLE_CATEGORIES, type ScRgbColorOptions, ScatterChart, type Scene3DOptions, SchemeColor, type SchemeColorOptions, SerAx, type Shape3DOptions, SmartArtCollection, SmartArtData, SmartArtRelOptions, type SolidFillOptions, type SourceRectangleOptions, type SphereCoords, StockChart, Stretch, SurfaceChart, SystemColor, type SystemColorOptions, TargetModeType, ThemeColor, ThemeFont, TileAlignment, TileFlipMode, type TileOptions, TokenNotFoundError, TransPoint, type Transform2DOptions, TreeNode, UniqueNumericIdCreator, UniversalMeasure, ValAx, type Vector3D, XmlComponent, type XmlNamespaceConfig, XmlifyedFile, ZIP_DEFLATE_LEVEL, ZIP_STORED_LEVEL, type ZipOptions, type Zippable, addSmartArtRelationships, appendContentType, appendRelationship, attrObj, buildAttrObject, buildCorePropertiesXml, buildCorePropertiesXmlString, buildFill, chartAttr, collectPlaceholderKeys, compileMapping, convertEmuToInches, convertEmuToPixels, convertEmuToPoints, convertInchesToEmu, convertInchesToTwip, convertMillimetersToTwip, convertOutput, convertPixelsToEmu, convertPointsToEmu, convertToXmlComponent, createAdjustmentValues, createBevel, createBlip, createBlipEffects, createBlipFill, createBottomBevel, createChartType, createColorElement, createColorTransforms, createCustomDash, createCustomGeometry, createDataModel, createDefault, createEffectDag, createEffectList, createExtentionList, createFillOverlayEffect, createGlowEffect, createGradientFill, createGradientStop, createGroupFill, createGroupTransform2D, createHslColor, createInnerShadowEffect, createLineEnd, createNoFill, createNumRef, createOuterShadowEffect, createOutline, createOverride, createPacker, createPatternFill, createPresetColor, createPresetShadowEffect, createReflectionEffect, createReplacer, createRgbColor, createRunRenderer, createScRgbColor, createScene3D, createSchemeColor, createShape3D, createSoftEdgeEffect, createSolidFill, createSourceRectangle, createSplitInject, createStrRef, createSystemColor, createTextElementContents, createTileInfo, createTokenReplacer, createTransform2D, createTransformation, createTraverser, createZipStream, dateTimeValue, decimalNumber, eighthPointMeasureValue, elementToCompact, extractBlipFillMedia, formatId, getColorXml, getFirstLevelElements, getLayoutXml, getNextRelationshipIndex, getReferencedMedia, getStyleXml, hasPlaceholders, hashedId, hexBinary, hexColorValue, hpsMeasureObj, hpsMeasureValue, invertMap, longHexNumber, measurementOrPercentValue, numberValObj, onOffObj, parseArchive, parseCorePropsElement, patchSpaceAttribute, percentageValue, pointMeasureValue, positiveUniversalMeasureValue, replaceChartPlaceholders, replaceImagePlaceholders, replaceSmartArtPlaceholders, shortHexNumber, signedHpsMeasureValue, signedTwipsMeasureValue, strFromU8, stringContainerObj, stringEnumValObj, stringValObj, toJson, twipsMeasureValue, uCharHexNumber, uniqueId, uniqueNumericIdCreator, uniqueUuid, universalMeasureValue, unsignedDecimalNumber, unzipSync, wrapEl, xsdBlendMode, xsdCompoundLine, xsdEffectContainer, xsdLineCap, xsdLineEndSize, xsdMaterialType, xsdPathFillMode, xsdPattern, xsdPenAlignment, xsdPresetShadow, xsdRectAlignment, xsdStrikeStyle, xsdTextAlign, xsdTextAnchor, xsdTextCaps, xsdUnderlineStyle, xsdVerticalMergeRev, zipAndConvert, zipSyncAndConvert };