@office-open/core 0.7.1 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +20 -11
- package/dist/chart/index.d.mts +2 -2
- package/dist/chart/index.mjs +2 -2
- package/dist/{chart-ChqlyVeb.mjs → chart-BtEtdK2K.mjs} +175 -6
- package/dist/drawingml/index.d.mts +2 -2
- package/dist/drawingml/index.mjs +2 -2
- package/dist/{drawingml-DQlhouyh.mjs → drawingml-anlfMLLZ.mjs} +2977 -2
- package/dist/{index-C4Wm3RBo.d.mts → index-Bh6s66Up.d.mts} +163 -2
- package/dist/{index-C0lMGS9A.d.mts → index-C-DvIxek.d.mts} +1635 -2
- package/dist/index-Cj2Yf5mk.d.mts +52 -0
- package/dist/{index-Borh69Zs.d.mts → index-CoTp4wVf.d.mts} +1 -17
- package/dist/{index-f_Izh2dj.d.mts → index-D0N5Bw2M.d.mts} +44 -6
- package/dist/index.d.mts +40 -12
- package/dist/index.mjs +66 -18
- package/dist/smartart/index.d.mts +2 -2
- package/dist/smartart/index.mjs +1 -1
- package/dist/{smartart-Cx1qa6k_.mjs → smartart-BAhTD2yA.mjs} +63 -8
- package/dist/theme/index.d.mts +2 -0
- package/dist/theme/index.mjs +2 -0
- package/dist/theme-DmJXjgQs.mjs +80 -0
- package/dist/{xml-components-xJkfJ6ff.mjs → xml-components-DEU24Y1T.mjs} +1 -32
- package/package.json +11 -3
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { S as Context, x as BaseXmlComponent } from "./index-CoTp4wVf.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/theme/theme-options.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* Theme options for OOXML documents.
|
|
6
|
+
*
|
|
7
|
+
* @module
|
|
8
|
+
*/
|
|
9
|
+
/** Color scheme — 12 theme colors (hex without #). */
|
|
10
|
+
interface ColorSchemeOptions {
|
|
11
|
+
readonly dark1?: string;
|
|
12
|
+
readonly light1?: string;
|
|
13
|
+
readonly dark2?: string;
|
|
14
|
+
readonly light2?: string;
|
|
15
|
+
readonly accent1?: string;
|
|
16
|
+
readonly accent2?: string;
|
|
17
|
+
readonly accent3?: string;
|
|
18
|
+
readonly accent4?: string;
|
|
19
|
+
readonly accent5?: string;
|
|
20
|
+
readonly accent6?: string;
|
|
21
|
+
readonly hyperlink?: string;
|
|
22
|
+
readonly followedHyperlink?: string;
|
|
23
|
+
}
|
|
24
|
+
/** Font scheme — 4 font slots (latin + east-asian for major/minor). */
|
|
25
|
+
interface FontSchemeOptions {
|
|
26
|
+
readonly majorFont?: string;
|
|
27
|
+
readonly minorFont?: string;
|
|
28
|
+
readonly majorFontAsian?: string;
|
|
29
|
+
readonly minorFontAsian?: string;
|
|
30
|
+
}
|
|
31
|
+
/** Theme customization options. */
|
|
32
|
+
interface ThemeOptions {
|
|
33
|
+
readonly name?: string;
|
|
34
|
+
readonly colors?: ColorSchemeOptions;
|
|
35
|
+
readonly fonts?: FontSchemeOptions;
|
|
36
|
+
}
|
|
37
|
+
//#endregion
|
|
38
|
+
//#region src/theme/default-theme.d.ts
|
|
39
|
+
declare class DefaultTheme extends BaseXmlComponent {
|
|
40
|
+
private readonly xml;
|
|
41
|
+
constructor(options?: ThemeOptions);
|
|
42
|
+
toXml(_context: Context): string;
|
|
43
|
+
}
|
|
44
|
+
//#endregion
|
|
45
|
+
//#region src/theme/build-theme-xml.d.ts
|
|
46
|
+
declare function buildThemeXml(options?: ThemeOptions): string;
|
|
47
|
+
//#endregion
|
|
48
|
+
//#region src/theme/default-colors.d.ts
|
|
49
|
+
/** Office 2016+ default theme colors (hex without #). */
|
|
50
|
+
declare const DEFAULT_COLORS: Required<ColorSchemeOptions>;
|
|
51
|
+
//#endregion
|
|
52
|
+
export { FontSchemeOptions as a, ColorSchemeOptions as i, buildThemeXml as n, ThemeOptions as o, DefaultTheme as r, DEFAULT_COLORS as t };
|
|
@@ -38,10 +38,6 @@ declare abstract class BaseXmlComponent {
|
|
|
38
38
|
/** The XML element name for this component (e.g., "w:p" for paragraph). */
|
|
39
39
|
protected readonly rootKey: string;
|
|
40
40
|
constructor(rootKey: string);
|
|
41
|
-
/**
|
|
42
|
-
* @deprecated Use `toXml()` instead.
|
|
43
|
-
*/
|
|
44
|
-
prepForXml(_context: Context): IXmlableObject | undefined;
|
|
45
41
|
/**
|
|
46
42
|
* Direct XML serialization. Override in subclasses for zero-allocation output.
|
|
47
43
|
*/
|
|
@@ -69,17 +65,13 @@ declare abstract class XmlComponent extends BaseXmlComponent {
|
|
|
69
65
|
*/
|
|
70
66
|
root: (BaseXmlComponent | IXmlableObject | string)[];
|
|
71
67
|
constructor(rootKey: string);
|
|
72
|
-
/**
|
|
73
|
-
* @deprecated Use `toXml()` instead.
|
|
74
|
-
*/
|
|
75
|
-
prepForXml(context: Context): IXmlableObject | undefined;
|
|
76
68
|
/**
|
|
77
69
|
* Direct XML serialization — traverses `root` and calls `toXml()` on
|
|
78
70
|
* each child, concatenating the results into a single string.
|
|
79
71
|
*/
|
|
80
72
|
toXml(context: Context): string;
|
|
81
73
|
/**
|
|
82
|
-
* @
|
|
74
|
+
* @internal
|
|
83
75
|
*/
|
|
84
76
|
addChildElement(child: BaseXmlComponent | string): XmlComponent;
|
|
85
77
|
}
|
|
@@ -89,10 +81,6 @@ declare abstract class XmlComponent extends BaseXmlComponent {
|
|
|
89
81
|
declare abstract class IgnoreIfEmptyXmlComponent extends XmlComponent {
|
|
90
82
|
private readonly includeIfEmpty;
|
|
91
83
|
constructor(rootKey: string, includeIfEmpty?: boolean);
|
|
92
|
-
/**
|
|
93
|
-
* @deprecated Use `toXml()` instead.
|
|
94
|
-
*/
|
|
95
|
-
prepForXml(context: Context): IXmlableObject | undefined;
|
|
96
84
|
/**
|
|
97
85
|
* Suppress empty elements — super.toXml() produces a self-closing tag
|
|
98
86
|
* (`<tag/>`) when there are no child elements; IgnoreIfEmpty returns ""
|
|
@@ -200,10 +188,6 @@ declare class ImportedXmlComponent extends XmlComponent {
|
|
|
200
188
|
declare class ImportedRootElementAttributes extends XmlComponent {
|
|
201
189
|
private readonly _attr?;
|
|
202
190
|
constructor(_attr?: Attributes | undefined);
|
|
203
|
-
/**
|
|
204
|
-
* @deprecated Use `toXml()` instead.
|
|
205
|
-
*/
|
|
206
|
-
prepForXml(_context: Context): IXmlableObject;
|
|
207
191
|
toXml(_context: Context): string;
|
|
208
192
|
}
|
|
209
193
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as XmlComponent } from "./index-
|
|
1
|
+
import { b as XmlComponent } from "./index-CoTp4wVf.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/smartart/categories.d.ts
|
|
4
4
|
/** Layout ID → OOXML category type */
|
|
@@ -16,11 +16,13 @@ declare const COLOR_CATEGORIES: Record<string, string>;
|
|
|
16
16
|
*/
|
|
17
17
|
declare function getLayoutXml(layoutId: string): string;
|
|
18
18
|
/**
|
|
19
|
-
* Returns style
|
|
19
|
+
* Returns style XML with basic style definitions (fillClrLst, linClrLst, etc.)
|
|
20
|
+
* that allow PowerPoint to correctly render SmartArt colors and effects.
|
|
20
21
|
*/
|
|
21
22
|
declare function getStyleXml(styleId: string): string;
|
|
22
23
|
/**
|
|
23
|
-
* Returns color
|
|
24
|
+
* Returns color XML with basic color definitions (fillLst, linLst, etc.)
|
|
25
|
+
* that allow PowerPoint to correctly render SmartArt with the specified color scheme.
|
|
24
26
|
*/
|
|
25
27
|
declare function getColorXml(colorId: string): string;
|
|
26
28
|
/** Minimal drawing cache for SmartArt (Office apps auto-regenerate this on open) */
|
|
@@ -31,7 +33,7 @@ declare const DEFAULT_DRAWING_XML: string;
|
|
|
31
33
|
* dgm:cxn — SmartArt data model connection (edge).
|
|
32
34
|
*/
|
|
33
35
|
declare class Connection extends XmlComponent {
|
|
34
|
-
constructor(modelId: string, srcId: string, destId: string, type?: string, srcOrd?: number, destOrd?: number, parTransId?: string, sibTransId?: string);
|
|
36
|
+
constructor(modelId: string, srcId: string, destId: string, type?: string, srcOrd?: number, destOrd?: number, parTransId?: string, sibTransId?: string, presId?: string);
|
|
35
37
|
}
|
|
36
38
|
//#endregion
|
|
37
39
|
//#region src/smartart/data-model/data-model.d.ts
|
|
@@ -43,11 +45,47 @@ declare class DataModel extends XmlComponent {
|
|
|
43
45
|
}
|
|
44
46
|
//#endregion
|
|
45
47
|
//#region src/smartart/data-model/point.d.ts
|
|
48
|
+
interface PointPropertySetOptions {
|
|
49
|
+
readonly presentationAssociationId?: string;
|
|
50
|
+
readonly presentationName?: string;
|
|
51
|
+
readonly presentationStyleLabel?: string;
|
|
52
|
+
readonly presentationStyleIndex?: number;
|
|
53
|
+
readonly presentationStyleCount?: number;
|
|
54
|
+
readonly placeholderText?: string;
|
|
55
|
+
readonly placeholder?: boolean;
|
|
56
|
+
readonly customAngle?: number;
|
|
57
|
+
readonly customFlipVertical?: boolean;
|
|
58
|
+
readonly customFlipHorizontal?: boolean;
|
|
59
|
+
readonly customSizeX?: number;
|
|
60
|
+
readonly customSizeY?: number;
|
|
61
|
+
readonly customScaleX?: number;
|
|
62
|
+
readonly customScaleY?: number;
|
|
63
|
+
readonly customText?: boolean;
|
|
64
|
+
readonly customLinearFactorX?: number;
|
|
65
|
+
readonly customLinearFactorY?: number;
|
|
66
|
+
readonly customLinearFactorNeighborX?: number;
|
|
67
|
+
readonly customLinearFactorNeighborY?: number;
|
|
68
|
+
readonly customRadialScaleRadius?: number;
|
|
69
|
+
readonly customRadialScaleIncrement?: number;
|
|
70
|
+
readonly coherent3DOffset?: boolean;
|
|
71
|
+
readonly hideGeometry?: boolean;
|
|
72
|
+
readonly hideLastTransition?: boolean;
|
|
73
|
+
readonly lockTextEntry?: boolean;
|
|
74
|
+
readonly moveWith?: string;
|
|
75
|
+
readonly useDefault?: boolean;
|
|
76
|
+
readonly zOrderOffset?: number;
|
|
77
|
+
readonly layoutTypeId?: string;
|
|
78
|
+
readonly layoutCategoryId?: string;
|
|
79
|
+
readonly quickStyleTypeId?: string;
|
|
80
|
+
readonly quickStyleCategoryId?: string;
|
|
81
|
+
readonly colorStyleTypeId?: string;
|
|
82
|
+
readonly colorStyleCategoryId?: string;
|
|
83
|
+
}
|
|
46
84
|
/**
|
|
47
85
|
* dgm:pt — SmartArt data model point (node).
|
|
48
86
|
*/
|
|
49
87
|
declare class Point extends XmlComponent {
|
|
50
|
-
constructor(modelId: string, text: string, type?: string);
|
|
88
|
+
constructor(modelId: string, text: string, type?: string, propertySet?: PointPropertySetOptions);
|
|
51
89
|
}
|
|
52
90
|
/**
|
|
53
91
|
* Transition point (parTrans or sibTrans) — no text body, references a connection.
|
|
@@ -84,4 +122,4 @@ interface TreeNode {
|
|
|
84
122
|
*/
|
|
85
123
|
declare const createDataModel: (nodes: readonly TreeNode[], layout?: string, style?: string, color?: string) => DataModel;
|
|
86
124
|
//#endregion
|
|
87
|
-
export { Point as a,
|
|
125
|
+
export { Point as a, DataModel as c, getColorXml as d, getLayoutXml as f, STYLE_CATEGORIES as g, LAYOUT_CATEGORIES as h, SmartArtData as i, Connection as l, COLOR_CATEGORIES as m, createDataModel as n, PointPropertySetOptions as o, getStyleXml as p, SmartArtCollection as r, TransPoint as s, TreeNode as t, DEFAULT_DRAWING_XML as u };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
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-
|
|
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-CoTp4wVf.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 { A as
|
|
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-C0lMGS9A.mjs";
|
|
5
|
-
import { a as Point, c as
|
|
3
|
+
import { A as DataLabelsOptions, B as TrendlineType, C as BubbleChartOptions, D as createChartType, E as ChartTypeOptions, F as ErrorBars, G as CatAx, H as View3DOptions, I as ErrorValueType, K as SerAx, L as TimeUnit, M as ErrorBarDirection, N as ErrorBarOptions, O as DataLabelPosition, P as ErrorBarType, R as Trendline, S as AxisChartType, T as ChartType, U as BubbleChart, V as View3D, W as BubbleSeriesData, _ 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 DateAx, k as DataLabels, l as DoughnutChart, m as ChartTitle, n as StockChart, o as PieChart, p as AreaChart, q as ValAx, r as ScatterChart, s as Line3DChart, t as SurfaceChart, u as Bar3DChart, v as ChartData, w as ChartSeriesData, x as AllChartTypeOptions, y as ChartSpace, z as TrendlineOptions } from "./index-Bh6s66Up.mjs";
|
|
4
|
+
import { $ as createSp, $a as createCdrCNvGrpSpPr, $c as RgbColorOptions, $i as createOfPieChart, $n as createWpSpPr, $o as Stretch, $r as createCustUnit, $s as CompoundLine, $t as StyleDefHdrOptions, A as createGrpSp, Aa as createSplitPos, Ac as PathShadeType, Ai as createLegacyDrawingHF, An as WpGroupOptions, Ao as createGraphicFrameLocking, Ar as createXdrSpPr, As as createScene3D, At as ColorListOptions, B as createLnDef, Ba as createUpDownBars, Bc as BlipEffectsOptions, Bi as createMax, Bn as createWpCNvGrpSpPr, Bo as TableStyleOptions, Br as createAutoUpdate, Bs as PresetShadowEffectOptions, Bt as createLinClrLst, C as createCxnSpLocks, Ca as createShowNegBubbles, Cc as buildFill, Ci as createHeaderFooter, Cn as createChPref, Co as createCdrY, Cr as createXdrNvPicPr, Cs as BackdropOptions, Ct as DiagramExtensionOptions, D as createExtraClrScheme, Da as createSize, Dc as GradientStop, Di as createLayoutTarget, Dn as WpCanvasOptions, Do as GroupLockingOptions, Dr as createXdrRow, Ds as Scene3DOptions, Dt as createDiagramTxPr, E as createEndCxn, Ea as createSideWall, Ec as GradientShadeOptions, Ei as createInvertIfNegative, En as createPresLayoutVars, Eo as GraphicFrameLockingOptions, Er as createXdrPic, Es as Point3D, Et as createDiagramSp3d, F as createHlinkMouseOver, Fa as createThickness, Fc as TileAlignment, Fi as createMajorTickMark, Fn as createWpBg, Fo as StyleMatrixReferenceOptions, Fr as PageMarginsOptions, Fs as BlurEffectOptions, Ft as HueDirection, G as createNvPicPr, Ga as createX, Gc as SystemColor, Gi as createMinorUnit, Gn as createWpExtLst, Go as createTableStyleList, Gr as createBubble3D, Gs as createOuterShadowEffect, Gt as ColorsDefHdrLstOptions, H as createNvCxnSpPr, Ha as createUserShapes, Hc as SolidFillOptions, Hi as createMinorGridlines, Hn as createWpCNvSpPr, Ho as TableTextStyleOptions, Hr as createBandFmt, Hs as createPresetShadowEffect, Ht as createTxEffectClrLst, I as createInsideH, Ia as createTickLblPos, Ic as TileOptions, Ii as createMajorTimeUnit, In as createWpBodyPr, Io as TableCellBorderOptions, Ir as PageSetupOptions, Is as EffectListOptions, It as StyleMatrixIndex, J as createPic, Ja as createYMode, Jc as SchemeColor, Ji as createMultiLvlStrRef, Jn as createWpGrpSpPr, Jo as createTransformation, Jr as createChartObject, Js as GlowEffectOptions, Jt as DiagramDescriptionOptions, K as createNvSpPr, Ka as createXMode, Kc as SystemColorOptions, Ki as createMinus, Kn as createWpGraphicFrame, Ko as MediaDataTransformation, Kr as createBubbleScale, Ks as InnerShadowEffectOptions, Kt as ColorsDefHdrOptions, L as createInsideV, La as createTickMarkSkip, Lc as createTileInfo, Li as createMajorUnit, Ln as createWpCNvCnPr, Lo as TableCellStyleOptions, Lr as createApplyToEnd, Ls as createEffectList, Lt as createDiagramStyle, M as createHeader, Ma as createStrLit, Mc as TileFlipMode, Mi as createLogBase, Mn as WpNonVisualDrawingPropsOptions, Mo as createPictureLocking, Mr as createXdrTo, Ms as EffectContainerType, Mt as DiagramStyleLblOptions, N as createHeaders, Na as createSurface3DChart, Nc as createGradientFill, Ni as createLvl, Nn as WpShapeOptions, No as createShapeLocking, Nr as createXdrTwoCellAnchor, Ns as EffectDagOptions, Nt as DiagramStyleOptions, O as createFontElement, Oa as createSizeRepresents, Oc as LinearShadeOptions, Oi as createLblAlgn, On as WpContentPartOptions, Oo as PictureLockingOptions, Or as createXdrRowOff, Os as SphereCoords, Ot as DiagramRelIdsOptions, P as createHighlight, Pa as createSymbol, Pc as createGradientStop, Pi as createMajorGridlines, Pn as WpTextboxOptions, Po as OnOffStyleType, Pr as createXdrTxBody, Ps as createEffectDag, Pt as FontCollectionIndex, Q as createSnd, Qa as createCdrCNvGraphicFramePr, Qc as createScRgbColor, Qi as createOddHeader, Qn as createWpSp, Qo as createTransform2D, Qr as createCustSplit, Qs as createFillOverlayEffect, Qt as StyleDefHdrLstOptions, R as createLeft, Ra as createTrendlineLbl, Rc as SourceRectangleOptions, Ri as createManualLayout, Rn as createWpCNvContentPartPr, Ro as TablePartStyleOptions, Rr as createApplyToFront, Rs as ReflectionEffectOptions, Rt as createEffectClrLst, S as createCxnSp, Sa as createShowLeaderLines, Sc as GradientStopOptions, Si as createHMode, Sn as createChMax, So as createCdrXfrm, Sr as createXdrNvGrpSpPr, Ss as createBottomBevel, St as DiagramExtLstOptions, T as createEnd, Ta as createShowVertBorder, Tc as GradientFillOptions, Ti as createHoleSize, Tn as createOrgChart, To as LockedCanvasOptions, Tr as createXdrOneCellAnchor, Ts as LightRigOptions, Tt as createDiagramExtLst, U as createNvGraphicFramePr, Ua as createW, Uc as createColorElement, Ui as createMinorTickMark, Un as createWpCanvas, Uo as ThemeableLineStyleOptions, Ur as createBandFmts, Us as OuterShadowEffectOptions, Ut as createTxFillClrLst, V as createLnTlToBr, Va as createUserInterface, Vc as createBlipEffects, Vi as createMin, Vn as createWpCNvPr, Vo as TableStyleRegion, Vr as createBackWall, Vs as PresetShadowVal, Vt as createStyleLbl, W as createNvGrpSpPr, Wa as createWMode, Wc as createSolidFill, Wi as createMinorTimeUnit, Wn as createWpContentPart, Wo as createTableStyle, Wr as createBaseTimeUnit, Ws as RectAlignment, Wt as createTxLinClrLst, X as createRight, Xa as createCdrBlipFill, Xc as createSchemeColor, Xi as createNumLit, Xn as createWpNestedGrpSp, Xo as Transform2DOptions, Xr as createCrossBetween, Xs as BlendMode, Xt as LayoutDefHdrLstOptions, Y as createQuickTimeFile, Ya as createCdrAbsSizeAnchor, Yc as SchemeColorOptions, Yi as createName, Yn as createWpLinkedTxbx, Yo as GroupTransform2DOptions, Yr as createClrMapOvr, Ys as createGlowEffect, Yt as DiagramNameOptions, Z as createRound, Za as createCdrCNvCxnSpPr, Zc as ScRgbColorOptions, Zi as createOddFooter, Zn as createWpNvContentPartPr, Zo as createGroupTransform2D, Zr as createCrossesAt, Zs as FillOverlayEffectOptions, Zt as LayoutDefHdrOptions, _ as createChart, _a as createSerLines, _c as createPatternFill, _i as createFmtId, _n as PresLayoutVarsOptions, _o as createCdrSpPr, _r as createXdrCxnSp, _s as Shape3DOptions, _t as createUFillTx, a as createBottom, aa as createPictureOptions, ac as PresetDash, ai as createDispUnits, al as createHslColor, an as createStyleDefHdrLst, ao as createCdrFrom, ar as XdrMarkerOptions, as as ConnectionSite, at as createSym, b as createCustClr, ba as createShowHorzBorder, bc as BlipFillMediaData, bi as createGapWidth, bn as createAnimLvl, bo as createCdrTxBody, br as createXdrGrpSpPr, bs as BevelPresetType, bt as createUseSpRect, c as createBuClrTx, ca as createPivotFmts, cc as LineEndOptions, ci as createEvenFooter, cn as AnimLevelValue, co as createCdrGrpSpPr, cr as createXdrBlipFill, cs as PathCommand, ct as createTableStyleElement, d as createBuSzTx, da as createPlus, dc as createLineEnd, di as createExt, dn as AnimOneValue, do as createCdrNvGrpSpPr, dr as createXdrCNvPicPr, ds as createCustomGeometry, dt as createTl2br, ea as createOfPieType, ec as LineCap, ei as createDLbl, el as createRgbColor, en as createColorsDefHdr, eo as createCdrCNvPicPr, er as createWpStyle, es as createExtentionList, et as createSpDef, f as createCNvCxnSpPr, fa as createPrintSettings, fc as DashStop, fi as createExtLst, fn as ChMaxOptions, fo as createCdrNvPicPr, fr as createXdrCNvPr, fs as PresetGeometry, ft as createTop, g as createCell3D, ga as createSelection, gc as PresetPattern, gi as createFloor, gn as OrgChartOptions, go as createCdrSp, gr as createXdrContentPart, gs as PresetMaterialType, gt as createUFill, h as createCNvSpPr, ha as createSecondPieSize, hc as PatternFillOptions, hi as createFirstHeader, hn as HierBranchStyle, ho as createCdrRelSizeAnchor, hr as createXdrColOff, hs as createAdjustmentValues, ht as createTxSp, i as createBldDgm, ia as createPictureFormat, ic as PenAlignment, ii as createDispBlanksAs, il as HslColorOptions, in as createStyleDefHdr, io as createCdrExt, ir as createWpXfrm, is as createBlip, it as createStyleElement, j as createGrpSpPr, ja as createSplitType, jc as RelativeRect, ji as createLegendEntry, jn as WpLinkedTextboxOptions, jo as createGroupLocking, jr as createXdrStyle, js as createSoftEdgeEffect, jt as ColorMethod, k as createGraphicFrame, ka as createSmooth, kc as PathShadeOptions, ki as createLeaderLines, kn as WpGraphicFrameOptions, ko as ShapeLockingOptions, kr as createXdrSp, ks as Vector3D, kt as createDiagramRelIds, l as createBuFontTx, la as createPivotSource, lc as LineEndType, li as createEvenHeader, ln as AnimLvlOptions, lo as createCdrNvCxnSpPr, lr as createXdrCNvCxnSpPr, ls as PathFillMode, lt as createThemeManager, m as createCNvGrpSpPr, ma as createSecondPiePt, mc as createGroupFill, mi as createFirstFooter, mn as HierBranchOptions, mo as createCdrPic, mr as createXdrCol, ms as GeometryGuide, mt as createTxDef, n as createBevelElement, na as createPageMargins, nc as OutlineFillProperties, ni as createDTable, nl as PresetColorOptions, nn as createLayoutDefHdr, no as createCdrCNvSpPr, nr as createWpTxbxContent, ns as createBlipFill, nt as createStCxn, o as createBr, oa as createPictureStackUnit, oc as createOutline, oi as createDispUnitsLbl, ol as ColorTransformOptions, on as AdjLstOptions, oo as createCdrGraphicFrame, or as XdrShapeAttributes, os as CustomGeometryOptions, ot as createTab, p as createCNvGraphicFramePr, pa as createProtection, pc as createCustomDash, pi as createExternalData, pn as ChPrefOptions, po as createCdrNvSpPr, pr as createXdrCNvSpPr, ps as PresetGeometryOptions, pt as createTr2bl, q as createOverrideClrMapping, qa as createY, qc as createSystemColor, qi as createMultiLvlStrCache, qn as createWpGrpSp, qo as MediaTransformation, qr as createBuiltInUnit, qs as createInnerShadowEffect, qt as DiagramCategoryOptions, r as createBldChart, ra as createPageSetup, rc as OutlineOptions, ri as createData, rl as createPresetColor, rn as createLayoutDefHdrLst, ro as createCdrCxnSp, rr as createWpWhole, rs as BlipOptions, rt as createStart, s as createBuBlip, sa as createPivotFmt, sc as LineEndLength, si as createDownBars, sl as createColorTransforms, sn as AdjOptions, so as createCdrGrpSp, sr as XdrTwoCellAnchorOptions, ss as GeomRect, st as createTabLst, t as createAudioCd, ta as createOverlap, tc as LineJoin, ti as createDPt, tl as PresetColor, tn as createColorsDefHdrLst, to as createCdrCNvPr, tr as createWpTxbx, ts as BlipFillOptions, tt as createSt, u as createBuSzPts, ua as createPlotVisOnly, uc as LineEndWidth, ui as createExplosion, un as AnimOneOptions, uo as createCdrNvGraphicFramePr, ur as createXdrCNvGrpSpPr, us as PathOptions, ut as createThemeOverride, v as createClrMap, va as createShape, vc as createNoFill, vi as createFormatting, vn as createAdj, vo as createCdrStyle, vr as createXdrFrom, vs as createShape3D, vt as createULn, w as createDgm, wa as createShowOutline, wc as extractBlipFillMedia, wi as createHiLowLines, wn as createHierBranch, wo as LockedCanvas, wr as createXdrNvSpPr, ws as CameraOptions, wt as DiagramTextPropsOptions, x as createCustClrLst, xa as createShowKeys, xc as FillOptions, xi as createH, xn as createAnimOne, xo as createCdrX, xr as createXdrNvCxnSpPr, xs as createBevel, xt as createWavAudioFile, y as createCpLocks, ya as createShowDLblsOverMax, yc as BlipFillConfigOptions, yi as createGapDepth, yn as createAdjLst, yo as createCdrTo, yr as createXdrGrpSp, ys as BevelOptions, yt as createULnTx, z as createLnBlToTr, za as createUpBars, zc as createSourceRectangle, zi as createMarker, zn as createWpCNvFrPr, zo as TableStyleListOptions, zr as createApplyToSides, zs as createReflectionEffect, zt as createFillClrLst } from "./index-C-DvIxek.mjs";
|
|
5
|
+
import { a as Point, c as DataModel, d as getColorXml, f as getLayoutXml, g as STYLE_CATEGORIES, h as LAYOUT_CATEGORIES, i as SmartArtData, l as Connection, m as COLOR_CATEGORIES, n as createDataModel, o as PointPropertySetOptions, p as getStyleXml, r as SmartArtCollection, s as TransPoint, t as TreeNode, u as DEFAULT_DRAWING_XML } from "./index-D0N5Bw2M.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
|
+
import { a as FontSchemeOptions, i as ColorSchemeOptions, n as buildThemeXml, o as ThemeOptions, r as DefaultTheme, t as DEFAULT_COLORS } from "./index-Cj2Yf5mk.mjs";
|
|
7
8
|
import { Element } from "@office-open/xml";
|
|
8
9
|
import { ZipOptions, Zippable, Zippable as Zippable$1, strFromU8, unzipSync } from "fflate";
|
|
9
10
|
import { DataType, toUint8Array } from "undio";
|
|
@@ -206,7 +207,7 @@ declare class AppProperties extends ImportedXmlComponent {
|
|
|
206
207
|
}
|
|
207
208
|
//#endregion
|
|
208
209
|
//#region src/opc/relationships.d.ts
|
|
209
|
-
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";
|
|
210
|
+
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/glossaryDocument" | "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/handoutMaster" | "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/chartsheet" | "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" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/table" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath";
|
|
210
211
|
declare const TargetModeType: {
|
|
211
212
|
readonly EXTERNAL: "External";
|
|
212
213
|
};
|
|
@@ -242,13 +243,9 @@ declare const createOverride: (contentType: string, partName?: string) => XmlCom
|
|
|
242
243
|
//#endregion
|
|
243
244
|
//#region src/formatter.d.ts
|
|
244
245
|
/**
|
|
245
|
-
* Converts an XmlComponent tree into
|
|
246
|
+
* Converts an XmlComponent tree into an XML string via the toXml() fast path.
|
|
246
247
|
*/
|
|
247
248
|
declare class Formatter {
|
|
248
|
-
/**
|
|
249
|
-
* @deprecated Use `component.toXml(context)` or `formatToXml()` instead.
|
|
250
|
-
*/
|
|
251
|
-
format<T extends Context = Context>(input: BaseXmlComponent, context?: T): Record<string, any>;
|
|
252
249
|
/**
|
|
253
250
|
* Serialize a component directly to XML string via the toXml() fast path.
|
|
254
251
|
* Always includes XML declaration.
|
|
@@ -348,7 +345,7 @@ declare function elementToCompact(el: Element): IXmlableObject;
|
|
|
348
345
|
declare class RawPassthrough extends BaseXmlComponent {
|
|
349
346
|
private readonly element;
|
|
350
347
|
constructor(element: Element);
|
|
351
|
-
|
|
348
|
+
toXml(_context: Context): string;
|
|
352
349
|
}
|
|
353
350
|
//#endregion
|
|
354
351
|
//#region src/placeholder.d.ts
|
|
@@ -508,4 +505,35 @@ declare function compileMapping(mapping: Record<string, {
|
|
|
508
505
|
path: string;
|
|
509
506
|
}[], mediaLevel?: number): Zippable;
|
|
510
507
|
//#endregion
|
|
511
|
-
|
|
508
|
+
//#region src/crypto.d.ts
|
|
509
|
+
/**
|
|
510
|
+
* Password hashing utilities for OOXML document protection.
|
|
511
|
+
*
|
|
512
|
+
* Implements ECMA-376 Agile Encryption password derivation.
|
|
513
|
+
*
|
|
514
|
+
* @module
|
|
515
|
+
*/
|
|
516
|
+
/**
|
|
517
|
+
* Generates cryptographically secure random bytes.
|
|
518
|
+
*/
|
|
519
|
+
declare function randomBytes(length: number): Uint8Array;
|
|
520
|
+
/**
|
|
521
|
+
* Computes the ECMA-376 Agile Encryption hash for a password.
|
|
522
|
+
*
|
|
523
|
+
* Algorithm: SHA-512(salt + UTF-8(password)), then iterate SHA-512(hash + i.toUint32LE()) spinCount times.
|
|
524
|
+
*/
|
|
525
|
+
declare function hashPasswordAgile(password: string, salt: Uint8Array, spinCount: number): string;
|
|
526
|
+
/**
|
|
527
|
+
* Derives a password hash for OOXML document protection.
|
|
528
|
+
*
|
|
529
|
+
* Returns base64-encoded hashValue, saltValue, spinCount, and algorithmName
|
|
530
|
+
* suitable for direct use in document protection options.
|
|
531
|
+
*/
|
|
532
|
+
declare function derivePasswordHash(password: string, spinCount?: number): {
|
|
533
|
+
hashValue: string;
|
|
534
|
+
saltValue: string;
|
|
535
|
+
spinCount: number;
|
|
536
|
+
algorithmName: string;
|
|
537
|
+
};
|
|
538
|
+
//#endregion
|
|
539
|
+
export { type AdjLstOptions, type AdjOptions, AllChartTypeOptions, AnimLevelValue, type AnimLvlOptions, type AnimOneOptions, AnimOneValue, 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, type ChMaxOptions, type ChPrefOptions, ChartCollection, ChartData, ChartSeriesData, ChartSpace, ChartSpaceOptions, ChartTitle, ChartType, ChartTypeOptions, type ColorListOptions, ColorMethod, type ColorSchemeOptions, type ColorTransformOptions, type ColorsDefHdrLstOptions, type ColorsDefHdrOptions, CompileFn, CompoundLine, CompressionOptions, Connection, type ConnectionSite, Context, CoreProperties, type CustomGeometryOptions, DEFAULT_COLORS, DEFAULT_DRAWING_XML, DOCX_NS, type DashStop, DataLabelPosition, DataLabels, DataLabelsOptions, DataModel, type DataType, DateAx, type DefaultAttributes, DefaultTheme, type DiagramCategoryOptions, type DiagramDescriptionOptions, type DiagramExtLstOptions, type DiagramExtensionOptions, type DiagramNameOptions, type DiagramRelIdsOptions, type DiagramStyleLblOptions, type DiagramStyleOptions, type DiagramTextPropsOptions, DoughnutChart, EMPTY_OBJECT, type EffectContainerType, type EffectDagOptions, type EffectListOptions, EmptyElement, ErrorBarDirection, ErrorBarOptions, ErrorBarType, ErrorBars, ErrorValueType, type FillOptions, type FillOverlayEffectOptions, FontCollectionIndex, type FontSchemeOptions, Formatter, 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, IXmlAttribute, IXmlableObject, IdFormat, IgnoreIfEmptyXmlComponent, ImportedRootElementAttributes, ImportedXmlComponent, InitializableXmlComponent, type InnerShadowEffectOptions, LAYOUT_CATEGORIES, type LayoutDefHdrLstOptions, type LayoutDefHdrOptions, type LightRigOptions, Line3DChart, LineCap, LineChart, LineEndLength, type LineEndOptions, LineEndType, LineEndWidth, LineJoin, type LinearShadeOptions, LockedCanvas, type LockedCanvasOptions, type MediaDataTransformation, type MediaTransformation, type OnOffStyleType, OoxmlMimeType, type OrgChartOptions, type OuterShadowEffectOptions, type OutlineFillProperties, type OutlineOptions, OutputByType, OutputType, type OverrideAttributes, PPTX_NS, Packer, PackerOptions, type PageMarginsOptions, type PageSetupOptions, ParsedArchive, type PathCommand, type PathFillMode, type PathOptions, type PathShadeOptions, PathShadeType, type PatternFillOptions, PenAlignment, Percentage, type PictureLockingOptions, Pie3DChart, PieChart, Point, type Point3D, PointPropertySetOptions, PositivePercentage, PositiveUniversalMeasure, type PresLayoutVarsOptions, 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, type ShapeLockingOptions, SmartArtCollection, SmartArtData, SmartArtRelOptions, type SolidFillOptions, type SourceRectangleOptions, type SphereCoords, StockChart, Stretch, type StyleDefHdrLstOptions, type StyleDefHdrOptions, StyleMatrixIndex, type StyleMatrixReferenceOptions, SurfaceChart, 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, TransPoint, type Transform2DOptions, TreeNode, Trendline, TrendlineOptions, TrendlineType, UniqueNumericIdCreator, UniversalMeasure, ValAx, type Vector3D, View3D, View3DOptions, type WpCanvasOptions, type WpContentPartOptions, type WpGraphicFrameOptions, type WpGroupOptions, type WpLinkedTextboxOptions, type WpNonVisualDrawingPropsOptions, type WpShapeOptions, type WpTextboxOptions, type XdrMarkerOptions, type XdrShapeAttributes, type XdrTwoCellAnchorOptions, XmlComponent, type XmlNamespaceConfig, XmlifyedFile, ZIP_DEFLATE_LEVEL, ZIP_STORED_LEVEL, type ZipOptions, type Zippable, addSmartArtRelationships, appendContentType, appendRelationship, attrObj, buildAttrObject, buildCorePropertiesXml, buildCorePropertiesXmlString, buildFill, buildThemeXml, chartAttr, collectPlaceholderKeys, compileMapping, convertEmuToInches, convertEmuToPixels, convertEmuToPoints, convertInchesToEmu, convertInchesToTwip, convertMillimetersToTwip, convertOutput, convertPixelsToEmu, convertPointsToEmu, convertToXmlComponent, createAdj, createAdjLst, createAdjustmentValues, createAnimLvl, createAnimOne, createApplyToEnd, createApplyToFront, createApplyToSides, createAudioCd, createAutoUpdate, createBackWall, createBandFmt, createBandFmts, createBaseTimeUnit, createBevel, createBevelElement, createBldChart, createBldDgm, createBlip, createBlipEffects, createBlipFill, createBottom, createBottomBevel, createBr, createBuBlip, createBuClrTx, createBuFontTx, createBuSzPts, createBuSzTx, createBubble3D, createBubbleScale, createBuiltInUnit, createCNvCxnSpPr, createCNvGraphicFramePr, createCNvGrpSpPr, createCNvSpPr, createCdrAbsSizeAnchor, createCdrBlipFill, createCdrCNvCxnSpPr, createCdrCNvGraphicFramePr, createCdrCNvGrpSpPr, createCdrCNvPicPr, createCdrCNvPr, createCdrCNvSpPr, createCdrCxnSp, createCdrExt, createCdrFrom, createCdrGraphicFrame, createCdrGrpSp, createCdrGrpSpPr, createCdrNvCxnSpPr, createCdrNvGraphicFramePr, createCdrNvGrpSpPr, createCdrNvPicPr, createCdrNvSpPr, createCdrPic, createCdrRelSizeAnchor, createCdrSp, createCdrSpPr, createCdrStyle, createCdrTo, createCdrTxBody, createCdrX, createCdrXfrm, createCdrY, createCell3D, createChMax, createChPref, createChart, createChartObject, createChartType, createClrMap, createClrMapOvr, createColorElement, createColorTransforms, createColorsDefHdr, createColorsDefHdrLst, createCpLocks, createCrossBetween, createCrossesAt, createCustClr, createCustClrLst, createCustSplit, createCustUnit, createCustomDash, createCustomGeometry, createCxnSp, createCxnSpLocks, createDLbl, createDPt, createDTable, createData, createDataModel, createDefault, createDgm, createDiagramExtLst, createDiagramRelIds, createDiagramSp3d, createDiagramStyle, createDiagramTxPr, createDispBlanksAs, createDispUnits, createDispUnitsLbl, createDownBars, createEffectClrLst, createEffectDag, createEffectList, createEnd, createEndCxn, createEvenFooter, createEvenHeader, createExplosion, createExt, createExtLst, createExtentionList, createExternalData, createExtraClrScheme, createFillClrLst, createFillOverlayEffect, createFirstFooter, createFirstHeader, createFloor, createFmtId, createFontElement, createFormatting, createGapDepth, createGapWidth, createGlowEffect, createGradientFill, createGradientStop, createGraphicFrame, createGraphicFrameLocking, createGroupFill, createGroupLocking, createGroupTransform2D, createGrpSp, createGrpSpPr, createH, createHMode, createHeader, createHeaderFooter, createHeaders, createHiLowLines, createHierBranch, createHighlight, createHlinkMouseOver, createHoleSize, createHslColor, createInnerShadowEffect, createInsideH, createInsideV, createInvertIfNegative, createLayoutDefHdr, createLayoutDefHdrLst, createLayoutTarget, createLblAlgn, createLeaderLines, createLeft, createLegacyDrawingHF, createLegendEntry, createLinClrLst, createLineEnd, createLnBlToTr, createLnDef, createLnTlToBr, createLogBase, createLvl, createMajorGridlines, createMajorTickMark, createMajorTimeUnit, createMajorUnit, createManualLayout, createMarker, createMax, createMin, createMinorGridlines, createMinorTickMark, createMinorTimeUnit, createMinorUnit, createMinus, createMultiLvlStrCache, createMultiLvlStrRef, createName, createNoFill, createNumLit, createNumRef, createNvCxnSpPr, createNvGraphicFramePr, createNvGrpSpPr, createNvPicPr, createNvSpPr, createOddFooter, createOddHeader, createOfPieChart, createOfPieType, createOrgChart, createOuterShadowEffect, createOutline, createOverlap, createOverride, createOverrideClrMapping, createPacker, createPageMargins, createPageSetup, createPatternFill, createPic, createPictureFormat, createPictureLocking, createPictureOptions, createPictureStackUnit, createPivotFmt, createPivotFmts, createPivotSource, createPlotVisOnly, createPlus, createPresLayoutVars, createPresetColor, createPresetShadowEffect, createPrintSettings, createProtection, createQuickTimeFile, createReflectionEffect, createReplacer, createRgbColor, createRight, createRound, createRunRenderer, createScRgbColor, createScene3D, createSchemeColor, createSecondPiePt, createSecondPieSize, createSelection, createSerLines, createShape, createShape3D, createShapeLocking, createShowDLblsOverMax, createShowHorzBorder, createShowKeys, createShowLeaderLines, createShowNegBubbles, createShowOutline, createShowVertBorder, createSideWall, createSize, createSizeRepresents, createSmooth, createSnd, createSoftEdgeEffect, createSolidFill, createSourceRectangle, createSp, createSpDef, createSplitInject, createSplitPos, createSplitType, createSt, createStCxn, createStart, createStrLit, createStrRef, createStyleDefHdr, createStyleDefHdrLst, createStyleElement, createStyleLbl, createSurface3DChart, createSym, createSymbol, createSystemColor, createTab, createTabLst, createTableStyle, createTableStyleElement, createTableStyleList, createTextElementContents, createThemeManager, createThemeOverride, createThickness, createTickLblPos, createTickMarkSkip, createTileInfo, createTl2br, createTokenReplacer, createTop, createTr2bl, createTransform2D, createTransformation, createTraverser, createTrendlineLbl, createTxDef, createTxEffectClrLst, createTxFillClrLst, createTxLinClrLst, createTxSp, createUFill, createUFillTx, createULn, createULnTx, createUpBars, createUpDownBars, createUseSpRect, createUserInterface, createUserShapes, createW, createWMode, createWavAudioFile, createWpBg, createWpBodyPr, createWpCNvCnPr, createWpCNvContentPartPr, createWpCNvFrPr, createWpCNvGrpSpPr, createWpCNvPr, createWpCNvSpPr, createWpCanvas, createWpContentPart, createWpExtLst, createWpGraphicFrame, createWpGrpSp, createWpGrpSpPr, createWpLinkedTxbx, createWpNestedGrpSp, createWpNvContentPartPr, createWpSp, createWpSpPr, createWpStyle, createWpTxbx, createWpTxbxContent, createWpWhole, createWpXfrm, createX, createXMode, createXdrBlipFill, createXdrCNvCxnSpPr, createXdrCNvGrpSpPr, createXdrCNvPicPr, createXdrCNvPr, createXdrCNvSpPr, createXdrCol, createXdrColOff, createXdrContentPart, createXdrCxnSp, createXdrFrom, createXdrGrpSp, createXdrGrpSpPr, createXdrNvCxnSpPr, createXdrNvGrpSpPr, createXdrNvPicPr, createXdrNvSpPr, createXdrOneCellAnchor, createXdrPic, createXdrRow, createXdrRowOff, createXdrSp, createXdrSpPr, createXdrStyle, createXdrTo, createXdrTwoCellAnchor, createXdrTxBody, createY, createYMode, createZipStream, dateTimeValue, decimalNumber, derivePasswordHash, eighthPointMeasureValue, elementToCompact, extractBlipFillMedia, formatId, getColorXml, getFirstLevelElements, getLayoutXml, getNextRelationshipIndex, getReferencedMedia, getStyleXml, hasPlaceholders, hashPasswordAgile, hashedId, hexBinary, hexColorValue, hpsMeasureObj, hpsMeasureValue, invertMap, longHexNumber, measurementOrPercentValue, numberValObj, onOffObj, parseArchive, parseCorePropsElement, patchSpaceAttribute, percentageValue, pointMeasureValue, positiveUniversalMeasureValue, randomBytes, replaceChartPlaceholders, replaceImagePlaceholders, replaceSmartArtPlaceholders, shortHexNumber, signedHpsMeasureValue, signedTwipsMeasureValue, strFromU8, stringContainerObj, stringEnumValObj, stringValObj, toJson, toUint8Array, 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 };
|
package/dist/index.mjs
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import { _ as EMPTY_OBJECT, a as BuilderElement, b as BaseXmlComponent, 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 IgnoreIfEmptyXmlComponent, y as XmlComponent } from "./xml-components-
|
|
1
|
+
import { _ as EMPTY_OBJECT, a as BuilderElement, b as BaseXmlComponent, 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 IgnoreIfEmptyXmlComponent, y as XmlComponent } from "./xml-components-DEU24Y1T.mjs";
|
|
2
2
|
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-zMCu5EoQ.mjs";
|
|
3
|
-
import { $ as
|
|
4
|
-
import { a as DataModel, c as getColorXml, d as COLOR_CATEGORIES, f as LAYOUT_CATEGORIES, i as TransPoint, l as getLayoutXml, n as SmartArtCollection, o as Connection, p as STYLE_CATEGORIES, r as Point, s as DEFAULT_DRAWING_XML, t as createDataModel, u as getStyleXml } from "./smartart-
|
|
5
|
-
import { C as ValAx, S as
|
|
3
|
+
import { $ as createSp, $a as createCustomGeometry, $i as createTickMarkSkip, $n as createApplyToEnd, $o as xsdPresetShadow, $r as createMajorUnit, $t as createHierBranch, A as createGrpSp, Aa as createCdrPic, Ai as createSecondPiePt, An as createXdrCNvPr, Ao as createCustomDash, Ar as createFirstFooter, As as convertInchesToTwip, At as createDiagramStyle, B as createLnDef, Ba as LockedCanvas, Bi as createShowOutline, Bn as createXdrNvGrpSpPr, Bo as createGradientStop, Br as createHiLowLines, Bt as createLayoutDefHdr, C as createCxnSpLocks, Ca as createCdrGrpSp, Ci as createPivotFmt, Cn as createWpTxbxContent, Co as PenAlignment, Cr as createDownBars, Cs as uniqueId, Ct as createDiagramSp3d, D as createExtraClrScheme, Da as createCdrNvGrpSpPr, Di as createPlus, Dn as createXdrCNvCxnSpPr, Do as LineEndType, Dr as createExt, Ds as convertEmuToPixels, Dt as FontCollectionIndex, E as createEndCxn, Ea as createCdrNvGraphicFramePr, Ei as createPlotVisOnly, En as createXdrBlipFill, Eo as LineEndLength, Er as createExplosion, Es as convertEmuToInches, Et as ColorMethod, F as createHlinkMouseOver, Fa as createCdrTo, Fi as createShowDLblsOverMax, Fn as createXdrCxnSp, Fo as PresetPattern, Fr as createGapDepth, Ft as createTxEffectClrLst, G as createNvPicPr, Ga as createTableStyle, Gi as createSmooth, Gn as createXdrRow, Go as xsdCompoundLine, Gr as createLeaderLines, Gt as AnimOneValue, H as createNvCxnSpPr, Ha as createGroupLocking, Hi as createSideWall, Hn as createXdrNvSpPr, Ho as createTileInfo, Hr as createInvertIfNegative, Ht as createStyleDefHdr, I as createInsideH, Ia as createCdrTxBody, Ii as createShowHorzBorder, In as createXdrFrom, Io as createPatternFill, Ir as createGapWidth, It as createTxFillClrLst, J as createPic, Ja as createGroupTransform2D, Ji as createStrLit, Jn as createXdrSpPr, Jo as xsdLineEndSize, Jr as createLogBase, Jt as createAdjLst, K as createNvSpPr, Ka as createTableStyleList, Ki as createSplitPos, Kn as createXdrRowOff, Ko as xsdEffectContainer, Kr as createLegacyDrawingHF, Kt as HierBranchStyle, L as createInsideV, La as createCdrX, Li as createShowKeys, Ln as createXdrGrpSp, Lo as PathShadeType, Lr as createH, Lt as createTxLinClrLst, M as createHeader, Ma as createCdrSp, Mi as createSelection, Mn as createXdrCol, Mo as createNoFill, Mr as createFloor, Ms as convertPixelsToEmu, Mt as createFillClrLst, N as createHeaders, Na as createCdrSpPr, Ni as createSerLines, Nn as createXdrColOff, No as buildFill, Nr as createFmtId, Ns as convertPointsToEmu, Nt as createLinClrLst, O as createFontElement, Oa as createCdrNvPicPr, Oi as createPrintSettings, On as createXdrCNvGrpSpPr, Oo as LineEndWidth, Or as createExtLst, Os as convertEmuToPoints, Ot as HueDirection, P as createHighlight, Pa as createCdrStyle, Pi as createShape, Pn as createXdrContentPart, Po as extractBlipFillMedia, Pr as createFormatting, Pt as createStyleLbl, Q as createSnd, Qa as createExtentionList, Qi as createTickLblPos, Qn as createXdrTxBody, Qo as xsdPenAlignment, Qr as createMajorTimeUnit, Qt as createChPref, R as createLeft, Ra as createCdrXfrm, Ri as createShowLeaderLines, Rn as createXdrGrpSpPr, Ro as TileFlipMode, Rr as createHMode, Rt as createColorsDefHdr, S as createCxnSp, Sa as createCdrGraphicFrame, Si as createPictureStackUnit, Sn as createWpTxbx, So as LineJoin, Sr as createDispUnitsLbl, Ss as hashedId, St as createDiagramExtLst, T as createEnd, Ta as createCdrNvCxnSpPr, Ti as createPivotSource, Tn as createWpXfrm, To as createOutline, Tr as createEvenHeader, Ts as uniqueUuid, Tt as createDiagramRelIds, U as createNvGraphicFramePr, Ua as createPictureLocking, Ui as createSize, Un as createXdrOneCellAnchor, Uo as invertMap, Ur as createLayoutTarget, Ut as createStyleDefHdrLst, V as createLnTlToBr, Va as createGraphicFrameLocking, Vi as createShowVertBorder, Vn as createXdrNvPicPr, Vo as TileAlignment, Vr as createHoleSize, Vt as createLayoutDefHdrLst, W as createNvGrpSpPr, Wa as createShapeLocking, Wi as createSizeRepresents, Wn as createXdrPic, Wo as xsdBlendMode, Wr as createLblAlgn, Wt as AnimLevelValue, X as createRight, Xa as createBlipFill, Xi as createSymbol, Xn as createXdrTo, Xo as xsdPathFillMode, Xr as createMajorGridlines, Xt as createAnimOne, Y as createQuickTimeFile, Ya as createTransform2D, Yi as createSurface3DChart, Yn as createXdrStyle, Yo as xsdMaterialType, Yr as createLvl, Yt as createAnimLvl, Z as createRound, Za as createBlip, Zi as createThickness, Zn as createXdrTwoCellAnchor, Zo as xsdPattern, Zr as createMajorTickMark, Zt as createChMax, _ as createChart, _a as createCdrCNvPr, _i as createOverlap, _n as createWpNestedGrpSp, _o as createGlowEffect, _r as createDPt, _s as createRgbColor, _t as createUFillTx, a as createBottom, aa as createW, ai as createMinorTickMark, an as createWpCNvContentPartPr, ao as createBevel, ar as createBandFmts, as as xsdUnderlineStyle, at as createSym, b as createCustClr, ba as createCdrExt, bi as createPictureFormat, bn as createWpSpPr, bo as CompoundLine, br as createDispBlanksAs, bs as createHslColor, bt as createUseSpRect, c as createBuClrTx, ca as createXMode, ci as createMinus, cn as createWpCNvPr, co as createEffectDag, cr as createBubbleScale, cs as createSourceRectangle, ct as createTableStyleElement, d as createBuSzTx, da as createCdrAbsSizeAnchor, di as createName, dn as createWpContentPart, do as createReflectionEffect, dr as createClrMapOvr, ds as createSolidFill, dt as createTl2br, ea as createTrendlineLbl, ei as createManualLayout, en as createOrgChart, eo as PresetGeometry, er as createApplyToFront, es as xsdRectAlignment, et as createSpDef, f as createCNvCxnSpPr, fa as createCdrBlipFill, fi as createNumLit, fn as createWpExtLst, fo as PresetShadowVal, fr as createCrossBetween, fs as SystemColor, ft as createTop, g as createCell3D, ga as createCdrCNvPicPr, gi as createOfPieType, gn as createWpLinkedTxbx, go as createInnerShadowEffect, gr as createDLbl, gs as createScRgbColor, gt as createUFill, h as createCNvSpPr, ha as createCdrCNvGrpSpPr, hi as createOfPieChart, hn as createWpGrpSpPr, ho as createOuterShadowEffect, hr as createCustUnit, hs as createSchemeColor, ht as createTxSp, i as createBldDgm, ia as createUserShapes, ii as createMinorGridlines, in as createWpCNvCnPr, io as BevelPresetType, ir as createBandFmt, is as xsdTextCaps, it as createStyleElement, j as createGrpSpPr, ja as createCdrRelSizeAnchor, ji as createSecondPieSize, jn as createXdrCNvSpPr, jo as createGroupFill, jr as createFirstHeader, js as convertMillimetersToTwip, jt as createEffectClrLst, k as createGraphicFrame, ka as createCdrNvSpPr, ki as createProtection, kn as createXdrCNvPicPr, ko as createLineEnd, kr as createExternalData, ks as convertInchesToEmu, kt as StyleMatrixIndex, l as createBuFontTx, la as createY, li as createMultiLvlStrCache, ln as createWpCNvSpPr, lo as createEffectList, lr as createBuiltInUnit, ls as createBlipEffects, lt as createThemeManager, m as createCNvGrpSpPr, ma as createCdrCNvGraphicFramePr, mi as createOddHeader, mn as createWpGrpSp, mo as RectAlignment, mr as createCustSplit, ms as SchemeColor, mt as createTxDef, n as createBevelElement, na as createUpDownBars, ni as createMax, nn as createWpBg, no as PresetMaterialType, nr as createAutoUpdate, ns as xsdTextAlign, nt as createStCxn, o as createBr, oa as createWMode, oi as createMinorTimeUnit, on as createWpCNvFrPr, oo as createBottomBevel, or as createBaseTimeUnit, os as xsdVerticalMergeRev, ot as createTab, p as createCNvGraphicFramePr, pa as createCdrCNvCxnSpPr, pi as createOddFooter, pn as createWpGraphicFrame, po as createPresetShadowEffect, pr as createCrossesAt, ps as createSystemColor, pt as createTr2bl, q as createOverrideClrMapping, qa as createTransformation, qi as createSplitType, qn as createXdrSp, qo as xsdLineCap, qr as createLegendEntry, qt as createAdj, r as createBldChart, ra as createUserInterface, ri as createMin, rn as createWpBodyPr, ro as createShape3D, rr as createBackWall, rs as xsdTextAnchor, rt as createStart, s as createBuBlip, sa as createX, si as createMinorUnit, sn as createWpCNvGrpSpPr, so as createScene3D, sr as createBubble3D, ss as Stretch, st as createTabLst, t as createAudioCd, ta as createUpBars, ti as createMarker, tn as createPresLayoutVars, to as createAdjustmentValues, tr as createApplyToSides, ts as xsdStrikeStyle, tt as createSt, u as createBuSzPts, ua as createYMode, ui as createMultiLvlStrRef, un as createWpCanvas, uo as createSoftEdgeEffect, ur as createChartObject, us as createColorElement, ut as createThemeOverride, v as createClrMap, va as createCdrCNvSpPr, vi as createPageMargins, vn as createWpNvContentPartPr, vo as BlendMode, vr as createDTable, vs as PresetColor, vt as createULn, w as createDgm, wa as createCdrGrpSpPr, wi as createPivotFmts, wn as createWpWhole, wo as PresetDash, wr as createEvenFooter, ws as uniqueNumericIdCreator, wt as createDiagramTxPr, x as createCustClrLst, xa as createCdrFrom, xi as createPictureOptions, xn as createWpStyle, xo as LineCap, xr as createDispUnits, xs as createColorTransforms, xt as createWavAudioFile, y as createCpLocks, ya as createCdrCxnSp, yi as createPageSetup, yn as createWpSp, yo as createFillOverlayEffect, yr as createData, ys as createPresetColor, yt as createULnTx, z as createLnBlToTr, za as createCdrY, zi as createShowNegBubbles, zn as createXdrNvCxnSpPr, zo as createGradientFill, zr as createHeaderFooter, zt as createColorsDefHdrLst } from "./drawingml-anlfMLLZ.mjs";
|
|
4
|
+
import { a as DataModel, c as getColorXml, d as COLOR_CATEGORIES, f as LAYOUT_CATEGORIES, i as TransPoint, l as getLayoutXml, n as SmartArtCollection, o as Connection, p as STYLE_CATEGORIES, r as Point, s as DEFAULT_DRAWING_XML, t as createDataModel, u as getStyleXml } from "./smartart-BAhTD2yA.mjs";
|
|
5
|
+
import { A as createNumRef, C as ErrorValueType, D as View3D, E as TrendlineType, M as CatAx, N as SerAx, O as Area3DChart, P as ValAx, S as ErrorBars, T as Trendline, _ as DataLabelPosition, a as SurfaceChart, b as ErrorBarDirection, c as RadarChart, d as Line3DChart, f as LineChart, g as BarChart, h as Bar3DChart, i as createChartType, j as createStrRef, k as AreaChart, l as Pie3DChart, m as BubbleChart, n as ChartSpace, o as StockChart, p as DoughnutChart, r as ChartTitle, s as ScatterChart, t as ChartCollection, u as PieChart, v as DataLabels, w as TimeUnit, x as ErrorBarType, y as DateAx } from "./chart-BtEtdK2K.mjs";
|
|
6
6
|
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";
|
|
7
|
-
import {
|
|
7
|
+
import { n as buildThemeXml, r as DEFAULT_COLORS, t as DefaultTheme } from "./theme-DmJXjgQs.mjs";
|
|
8
|
+
import { escapeXml, js2xml, textOf, xml, xml2js } from "@office-open/xml";
|
|
9
|
+
import hash from "hash.js";
|
|
8
10
|
import { AsyncZipDeflate, Zip, ZipPassThrough, strFromU8, strFromU8 as strFromU8$1, strToU8, unzipSync, unzipSync as unzipSync$1, zip, zipSync } from "fflate";
|
|
9
11
|
import { toUint8Array } from "undio";
|
|
10
12
|
//#region \0polyfill-node.global.js
|
|
@@ -1592,7 +1594,7 @@ const createPacker = (options) => {
|
|
|
1592
1594
|
};
|
|
1593
1595
|
//#endregion
|
|
1594
1596
|
//#region src/opc/app-properties.ts
|
|
1595
|
-
const APP_PROPS_XML = "<Properties xmlns=\"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties\" xmlns:vt=\"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes\"
|
|
1597
|
+
const APP_PROPS_XML = "<Properties xmlns=\"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties\" xmlns:vt=\"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes\"><Application>Microsoft Office Word</Application></Properties>";
|
|
1596
1598
|
var AppProperties = class AppProperties extends ImportedXmlComponent {
|
|
1597
1599
|
static instance = ImportedXmlComponent.fromXmlString(APP_PROPS_XML);
|
|
1598
1600
|
constructor() {
|
|
@@ -1683,17 +1685,9 @@ const createOverride = (contentType, partName) => new BuilderElement({
|
|
|
1683
1685
|
//#region src/formatter.ts
|
|
1684
1686
|
const XML_DECL = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>";
|
|
1685
1687
|
/**
|
|
1686
|
-
* Converts an XmlComponent tree into
|
|
1688
|
+
* Converts an XmlComponent tree into an XML string via the toXml() fast path.
|
|
1687
1689
|
*/
|
|
1688
1690
|
var Formatter = class {
|
|
1689
|
-
/**
|
|
1690
|
-
* @deprecated Use `component.toXml(context)` or `formatToXml()` instead.
|
|
1691
|
-
*/
|
|
1692
|
-
format(input, context = { stack: [] }) {
|
|
1693
|
-
const output = input.prepForXml(context);
|
|
1694
|
-
if (output) return output;
|
|
1695
|
-
throw new Error("XMLComponent did not format correctly");
|
|
1696
|
-
}
|
|
1697
1691
|
/**
|
|
1698
1692
|
* Serialize a component directly to XML string via the toXml() fast path.
|
|
1699
1693
|
* Always includes XML declaration.
|
|
@@ -1944,8 +1938,8 @@ var RawPassthrough = class extends BaseXmlComponent {
|
|
|
1944
1938
|
super(element.name ?? "unknown");
|
|
1945
1939
|
this.element = element;
|
|
1946
1940
|
}
|
|
1947
|
-
|
|
1948
|
-
return elementToCompact(this.element);
|
|
1941
|
+
toXml(_context) {
|
|
1942
|
+
return xml(elementToCompact(this.element));
|
|
1949
1943
|
}
|
|
1950
1944
|
};
|
|
1951
1945
|
//#endregion
|
|
@@ -2027,4 +2021,58 @@ function compileMapping(mapping, overrides, media, mediaLevel = 0) {
|
|
|
2027
2021
|
return files;
|
|
2028
2022
|
}
|
|
2029
2023
|
//#endregion
|
|
2030
|
-
|
|
2024
|
+
//#region src/crypto.ts
|
|
2025
|
+
/**
|
|
2026
|
+
* Password hashing utilities for OOXML document protection.
|
|
2027
|
+
*
|
|
2028
|
+
* Implements ECMA-376 Agile Encryption password derivation.
|
|
2029
|
+
*
|
|
2030
|
+
* @module
|
|
2031
|
+
*/
|
|
2032
|
+
/**
|
|
2033
|
+
* Encodes a Uint8Array to a plain base64 string (no data URI prefix).
|
|
2034
|
+
*/
|
|
2035
|
+
function toBase64(bytes) {
|
|
2036
|
+
const binary = String.fromCharCode(...bytes);
|
|
2037
|
+
return btoa(binary);
|
|
2038
|
+
}
|
|
2039
|
+
/**
|
|
2040
|
+
* Generates cryptographically secure random bytes.
|
|
2041
|
+
*/
|
|
2042
|
+
function randomBytes(length) {
|
|
2043
|
+
const bytes = new Uint8Array(length);
|
|
2044
|
+
if (typeof crypto !== "undefined" && crypto.getRandomValues) crypto.getRandomValues(bytes);
|
|
2045
|
+
else for (let i = 0; i < length; i++) bytes[i] = Math.floor(Math.random() * 256);
|
|
2046
|
+
return bytes;
|
|
2047
|
+
}
|
|
2048
|
+
/**
|
|
2049
|
+
* Computes the ECMA-376 Agile Encryption hash for a password.
|
|
2050
|
+
*
|
|
2051
|
+
* Algorithm: SHA-512(salt + UTF-8(password)), then iterate SHA-512(hash + i.toUint32LE()) spinCount times.
|
|
2052
|
+
*/
|
|
2053
|
+
function hashPasswordAgile(password, salt, spinCount) {
|
|
2054
|
+
let h = hash.sha512().update(salt).update(new TextEncoder().encode(password)).digest();
|
|
2055
|
+
for (let i = 0; i < spinCount; i++) {
|
|
2056
|
+
const counter = new Uint8Array(4);
|
|
2057
|
+
new DataView(counter.buffer).setUint32(0, i, true);
|
|
2058
|
+
h = hash.sha512().update(h).update(counter).digest();
|
|
2059
|
+
}
|
|
2060
|
+
return toBase64(new Uint8Array(h));
|
|
2061
|
+
}
|
|
2062
|
+
/**
|
|
2063
|
+
* Derives a password hash for OOXML document protection.
|
|
2064
|
+
*
|
|
2065
|
+
* Returns base64-encoded hashValue, saltValue, spinCount, and algorithmName
|
|
2066
|
+
* suitable for direct use in document protection options.
|
|
2067
|
+
*/
|
|
2068
|
+
function derivePasswordHash(password, spinCount = 1e5) {
|
|
2069
|
+
const salt = randomBytes(16);
|
|
2070
|
+
return {
|
|
2071
|
+
hashValue: hashPasswordAgile(password, salt, spinCount),
|
|
2072
|
+
saltValue: toBase64(salt),
|
|
2073
|
+
spinCount,
|
|
2074
|
+
algorithmName: "SHA-512"
|
|
2075
|
+
};
|
|
2076
|
+
}
|
|
2077
|
+
//#endregion
|
|
2078
|
+
export { AnimLevelValue, AnimOneValue, AppProperties, Area3DChart, AreaChart, Bar3DChart, BarChart, BaseXmlComponent, BevelPresetType, BlendMode, BubbleChart, BuilderElement, COLOR_CATEGORIES, CatAx, ChartCollection, ChartSpace, ChartTitle, ColorMethod, CompoundLine, Connection, DEFAULT_COLORS, DEFAULT_DRAWING_XML, DOCX_NS, DataLabelPosition, DataLabels, DataModel, DateAx, DefaultTheme, DoughnutChart, EMPTY_OBJECT, EmptyElement, ErrorBarDirection, ErrorBarType, ErrorBars, ErrorValueType, FontCollectionIndex, Formatter, HierBranchStyle, HueDirection, IgnoreIfEmptyXmlComponent, ImportedRootElementAttributes, ImportedXmlComponent, InitializableXmlComponent, LAYOUT_CATEGORIES, Line3DChart, LineCap, LineChart, LineEndLength, LineEndType, LineEndWidth, LineJoin, LockedCanvas, OoxmlMimeType, PPTX_NS, ParsedArchive, PathShadeType, PenAlignment, Pie3DChart, PieChart, Point, PresetColor, PresetDash, PresetGeometry, PresetMaterialType, PresetPattern, PresetShadowVal, RadarChart, RawPassthrough, RectAlignment, Relationships, STYLE_CATEGORIES, ScatterChart, SchemeColor, SerAx, SmartArtCollection, StockChart, Stretch, StyleMatrixIndex, SurfaceChart, SystemColor, TargetModeType, ThemeColor, ThemeFont, TileAlignment, TileFlipMode, TimeUnit, TokenNotFoundError, TransPoint, Trendline, TrendlineType, ValAx, View3D, XmlComponent, ZIP_DEFLATE_LEVEL, ZIP_STORED_LEVEL, addSmartArtRelationships, appendContentType, appendRelationship, attrObj, buildAttrObject, buildCorePropertiesXml, buildCorePropertiesXmlString, buildFill, buildThemeXml, chartAttr, collectPlaceholderKeys, compileMapping, convertEmuToInches, convertEmuToPixels, convertEmuToPoints, convertInchesToEmu, convertInchesToTwip, convertMillimetersToTwip, convertOutput, convertPixelsToEmu, convertPointsToEmu, convertToXmlComponent, createAdj, createAdjLst, createAdjustmentValues, createAnimLvl, createAnimOne, createApplyToEnd, createApplyToFront, createApplyToSides, createAudioCd, createAutoUpdate, createBackWall, createBandFmt, createBandFmts, createBaseTimeUnit, createBevel, createBevelElement, createBldChart, createBldDgm, createBlip, createBlipEffects, createBlipFill, createBottom, createBottomBevel, createBr, createBuBlip, createBuClrTx, createBuFontTx, createBuSzPts, createBuSzTx, createBubble3D, createBubbleScale, createBuiltInUnit, createCNvCxnSpPr, createCNvGraphicFramePr, createCNvGrpSpPr, createCNvSpPr, createCdrAbsSizeAnchor, createCdrBlipFill, createCdrCNvCxnSpPr, createCdrCNvGraphicFramePr, createCdrCNvGrpSpPr, createCdrCNvPicPr, createCdrCNvPr, createCdrCNvSpPr, createCdrCxnSp, createCdrExt, createCdrFrom, createCdrGraphicFrame, createCdrGrpSp, createCdrGrpSpPr, createCdrNvCxnSpPr, createCdrNvGraphicFramePr, createCdrNvGrpSpPr, createCdrNvPicPr, createCdrNvSpPr, createCdrPic, createCdrRelSizeAnchor, createCdrSp, createCdrSpPr, createCdrStyle, createCdrTo, createCdrTxBody, createCdrX, createCdrXfrm, createCdrY, createCell3D, createChMax, createChPref, createChart, createChartObject, createChartType, createClrMap, createClrMapOvr, createColorElement, createColorTransforms, createColorsDefHdr, createColorsDefHdrLst, createCpLocks, createCrossBetween, createCrossesAt, createCustClr, createCustClrLst, createCustSplit, createCustUnit, createCustomDash, createCustomGeometry, createCxnSp, createCxnSpLocks, createDLbl, createDPt, createDTable, createData, createDataModel, createDefault, createDgm, createDiagramExtLst, createDiagramRelIds, createDiagramSp3d, createDiagramStyle, createDiagramTxPr, createDispBlanksAs, createDispUnits, createDispUnitsLbl, createDownBars, createEffectClrLst, createEffectDag, createEffectList, createEnd, createEndCxn, createEvenFooter, createEvenHeader, createExplosion, createExt, createExtLst, createExtentionList, createExternalData, createExtraClrScheme, createFillClrLst, createFillOverlayEffect, createFirstFooter, createFirstHeader, createFloor, createFmtId, createFontElement, createFormatting, createGapDepth, createGapWidth, createGlowEffect, createGradientFill, createGradientStop, createGraphicFrame, createGraphicFrameLocking, createGroupFill, createGroupLocking, createGroupTransform2D, createGrpSp, createGrpSpPr, createH, createHMode, createHeader, createHeaderFooter, createHeaders, createHiLowLines, createHierBranch, createHighlight, createHlinkMouseOver, createHoleSize, createHslColor, createInnerShadowEffect, createInsideH, createInsideV, createInvertIfNegative, createLayoutDefHdr, createLayoutDefHdrLst, createLayoutTarget, createLblAlgn, createLeaderLines, createLeft, createLegacyDrawingHF, createLegendEntry, createLinClrLst, createLineEnd, createLnBlToTr, createLnDef, createLnTlToBr, createLogBase, createLvl, createMajorGridlines, createMajorTickMark, createMajorTimeUnit, createMajorUnit, createManualLayout, createMarker, createMax, createMin, createMinorGridlines, createMinorTickMark, createMinorTimeUnit, createMinorUnit, createMinus, createMultiLvlStrCache, createMultiLvlStrRef, createName, createNoFill, createNumLit, createNumRef, createNvCxnSpPr, createNvGraphicFramePr, createNvGrpSpPr, createNvPicPr, createNvSpPr, createOddFooter, createOddHeader, createOfPieChart, createOfPieType, createOrgChart, createOuterShadowEffect, createOutline, createOverlap, createOverride, createOverrideClrMapping, createPacker, createPageMargins, createPageSetup, createPatternFill, createPic, createPictureFormat, createPictureLocking, createPictureOptions, createPictureStackUnit, createPivotFmt, createPivotFmts, createPivotSource, createPlotVisOnly, createPlus, createPresLayoutVars, createPresetColor, createPresetShadowEffect, createPrintSettings, createProtection, createQuickTimeFile, createReflectionEffect, createReplacer, createRgbColor, createRight, createRound, createRunRenderer, createScRgbColor, createScene3D, createSchemeColor, createSecondPiePt, createSecondPieSize, createSelection, createSerLines, createShape, createShape3D, createShapeLocking, createShowDLblsOverMax, createShowHorzBorder, createShowKeys, createShowLeaderLines, createShowNegBubbles, createShowOutline, createShowVertBorder, createSideWall, createSize, createSizeRepresents, createSmooth, createSnd, createSoftEdgeEffect, createSolidFill, createSourceRectangle, createSp, createSpDef, createSplitInject, createSplitPos, createSplitType, createSt, createStCxn, createStart, createStrLit, createStrRef, createStyleDefHdr, createStyleDefHdrLst, createStyleElement, createStyleLbl, createSurface3DChart, createSym, createSymbol, createSystemColor, createTab, createTabLst, createTableStyle, createTableStyleElement, createTableStyleList, createTextElementContents, createThemeManager, createThemeOverride, createThickness, createTickLblPos, createTickMarkSkip, createTileInfo, createTl2br, createTokenReplacer, createTop, createTr2bl, createTransform2D, createTransformation, createTraverser, createTrendlineLbl, createTxDef, createTxEffectClrLst, createTxFillClrLst, createTxLinClrLst, createTxSp, createUFill, createUFillTx, createULn, createULnTx, createUpBars, createUpDownBars, createUseSpRect, createUserInterface, createUserShapes, createW, createWMode, createWavAudioFile, createWpBg, createWpBodyPr, createWpCNvCnPr, createWpCNvContentPartPr, createWpCNvFrPr, createWpCNvGrpSpPr, createWpCNvPr, createWpCNvSpPr, createWpCanvas, createWpContentPart, createWpExtLst, createWpGraphicFrame, createWpGrpSp, createWpGrpSpPr, createWpLinkedTxbx, createWpNestedGrpSp, createWpNvContentPartPr, createWpSp, createWpSpPr, createWpStyle, createWpTxbx, createWpTxbxContent, createWpWhole, createWpXfrm, createX, createXMode, createXdrBlipFill, createXdrCNvCxnSpPr, createXdrCNvGrpSpPr, createXdrCNvPicPr, createXdrCNvPr, createXdrCNvSpPr, createXdrCol, createXdrColOff, createXdrContentPart, createXdrCxnSp, createXdrFrom, createXdrGrpSp, createXdrGrpSpPr, createXdrNvCxnSpPr, createXdrNvGrpSpPr, createXdrNvPicPr, createXdrNvSpPr, createXdrOneCellAnchor, createXdrPic, createXdrRow, createXdrRowOff, createXdrSp, createXdrSpPr, createXdrStyle, createXdrTo, createXdrTwoCellAnchor, createXdrTxBody, createY, createYMode, createZipStream, dateTimeValue, decimalNumber, derivePasswordHash, eighthPointMeasureValue, elementToCompact, extractBlipFillMedia, formatId, getColorXml, getFirstLevelElements, getLayoutXml, getNextRelationshipIndex, getReferencedMedia, getStyleXml, hasPlaceholders, hashPasswordAgile, hashedId, hexBinary, hexColorValue, hpsMeasureObj, hpsMeasureValue, invertMap, longHexNumber, measurementOrPercentValue, numberValObj, onOffObj, parseArchive, parseCorePropsElement, patchSpaceAttribute, percentageValue, pointMeasureValue, positiveUniversalMeasureValue, randomBytes, replaceChartPlaceholders, replaceImagePlaceholders, replaceSmartArtPlaceholders, shortHexNumber, signedHpsMeasureValue, signedTwipsMeasureValue, strFromU8, stringContainerObj, stringEnumValObj, stringValObj, toJson, toUint8Array, 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 };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as Point, c as
|
|
2
|
-
export { COLOR_CATEGORIES, Connection, DEFAULT_DRAWING_XML, DataModel, LAYOUT_CATEGORIES, Point, STYLE_CATEGORIES, SmartArtCollection, SmartArtData, TransPoint, TreeNode, createDataModel, getColorXml, getLayoutXml, getStyleXml };
|
|
1
|
+
import { a as Point, c as DataModel, d as getColorXml, f as getLayoutXml, g as STYLE_CATEGORIES, h as LAYOUT_CATEGORIES, i as SmartArtData, l as Connection, m as COLOR_CATEGORIES, n as createDataModel, o as PointPropertySetOptions, p as getStyleXml, r as SmartArtCollection, s as TransPoint, t as TreeNode, u as DEFAULT_DRAWING_XML } from "../index-D0N5Bw2M.mjs";
|
|
2
|
+
export { COLOR_CATEGORIES, Connection, DEFAULT_DRAWING_XML, DataModel, LAYOUT_CATEGORIES, Point, PointPropertySetOptions, STYLE_CATEGORIES, SmartArtCollection, SmartArtData, TransPoint, TreeNode, createDataModel, getColorXml, getLayoutXml, getStyleXml };
|
package/dist/smartart/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as DataModel, c as getColorXml, d as COLOR_CATEGORIES, f as LAYOUT_CATEGORIES, i as TransPoint, l as getLayoutXml, n as SmartArtCollection, o as Connection, p as STYLE_CATEGORIES, r as Point, s as DEFAULT_DRAWING_XML, t as createDataModel, u as getStyleXml } from "../smartart-
|
|
1
|
+
import { a as DataModel, c as getColorXml, d as COLOR_CATEGORIES, f as LAYOUT_CATEGORIES, i as TransPoint, l as getLayoutXml, n as SmartArtCollection, o as Connection, p as STYLE_CATEGORIES, r as Point, s as DEFAULT_DRAWING_XML, t as createDataModel, u as getStyleXml } from "../smartart-BAhTD2yA.mjs";
|
|
2
2
|
export { COLOR_CATEGORIES, Connection, DEFAULT_DRAWING_XML, DataModel, LAYOUT_CATEGORIES, Point, STYLE_CATEGORIES, SmartArtCollection, TransPoint, createDataModel, getColorXml, getLayoutXml, getStyleXml };
|