@office-open/core 0.14.2 → 0.14.4

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.
Files changed (31) hide show
  1. package/dist/chart/index.mjs +1 -1
  2. package/dist/{chart-D0AdnVLT.mjs → chart-DgwOj5KH.mjs} +4 -4
  3. package/dist/{chart-D0AdnVLT.mjs.map → chart-DgwOj5KH.mjs.map} +1 -1
  4. package/dist/drawing/index.mjs +1 -1
  5. package/dist/{drawing-BP4zc7an.mjs → drawing-Daklr1d9.mjs} +2 -2
  6. package/dist/{drawing-BP4zc7an.mjs.map → drawing-Daklr1d9.mjs.map} +1 -1
  7. package/dist/{ext-uri-5jTDczSP.mjs → ext-uri-CCwd6FZE.mjs} +20 -3
  8. package/dist/ext-uri-CCwd6FZE.mjs.map +1 -0
  9. package/dist/{index-Cd0lFS5x.d.mts → index-BETSqrn1.d.mts} +97 -3
  10. package/dist/index-BETSqrn1.d.mts.map +1 -0
  11. package/dist/index.d.mts +18 -2
  12. package/dist/index.d.mts.map +1 -1
  13. package/dist/index.mjs +77 -226
  14. package/dist/index.mjs.map +1 -1
  15. package/dist/smartart/index.mjs +1 -1
  16. package/dist/{smartart-CrVPot34.mjs → smartart-BMDH5tRW.mjs} +4 -4
  17. package/dist/{smartart-CrVPot34.mjs.map → smartart-BMDH5tRW.mjs.map} +1 -1
  18. package/dist/{style-matrix-B69960kl.mjs → style-matrix-BSk2hcAC.mjs} +2 -2
  19. package/dist/{style-matrix-B69960kl.mjs.map → style-matrix-BSk2hcAC.mjs.map} +1 -1
  20. package/dist/theme/index.mjs +2 -2
  21. package/dist/{theme-BINSAPMD.mjs → theme-CSJvGlzF.mjs} +3 -3
  22. package/dist/{theme-BINSAPMD.mjs.map → theme-CSJvGlzF.mjs.map} +1 -1
  23. package/dist/util/index.d.mts +2 -2
  24. package/dist/util/index.mjs +3 -3
  25. package/dist/{util-D61LJ_Wz.mjs → util-CeVahkDr.mjs} +316 -7
  26. package/dist/util-CeVahkDr.mjs.map +1 -0
  27. package/dist/values-BECDm4zr.d.mts.map +1 -1
  28. package/package.json +2 -2
  29. package/dist/ext-uri-5jTDczSP.mjs.map +0 -1
  30. package/dist/index-Cd0lFS5x.d.mts.map +0 -1
  31. package/dist/util-D61LJ_Wz.mjs.map +0 -1
package/dist/index.mjs CHANGED
@@ -1,235 +1,27 @@
1
- import { A as ZIP_STORED_LEVEL, B as OoxmlMimeType, C as replaceVideoPlaceholders, D as addBinaryFile, E as randomBytes, F as strFromU8, G as readCentralDirectory, H as inflateRawWindow, I as unzipSync, K as readCentralDirectoryAsync, L as zipAndConvert, M as createPacker, N as createZipStream, O as compileMapping, P as levelForMediaName, R as zipSync, S as replaceSmartArtPlaceholders, T as hashPasswordAgile, U as inflateZipEntry, V as convertOutput, W as nativeCrc32, _ as replaceMediaPlaceholders, a as getAudioRefs, b as replaceOlePlaceholders, c as getReferencedMedia, d as replaceAllPlaceholders, f as replaceAudioPlaceholders, g as replaceImagePlaceholders, h as replaceImageLinkPlaceholders, i as formatId, j as ZipStreamWriter, k as ZIP_DEFLATE_LEVEL, l as getVideoRefs, m as replaceHyperlinkPlaceholders, n as collectPlaceholderKeys, o as getMediaRefs, p as replaceChartPlaceholders, r as findAndReplaceImagePlaceholders, s as getOleRefs, t as addSmartArtRelationships, u as hasPlaceholders, v as replaceNumberingPlaceholders, w as derivePasswordHash, x as replacePlaceholders, y as replaceOleLinkPlaceholders, z as zipSyncAndConvert } from "./util-D61LJ_Wz.mjs";
1
+ import { $ as partPathToRelsPath, A as ZIP_DEFLATE_LEVEL, B as zipSyncAndConvert, C as replaceVideoPlaceholders, D as addBinaryFile, E as randomBytes, F as levelForMediaName, G as nativeCrc32, H as convertOutput, I as strFromU8, J as RELATIONSHIP_TYPES, K as readCentralDirectory, L as unzipSync, M as ZipStreamWriter, N as createPacker, O as addModelBinaries, P as createZipStream, Q as optionalRelsPart, R as zipAndConvert, S as replaceSmartArtPlaceholders, T as hashPasswordAgile, U as inflateRawWindow, V as OoxmlMimeType, W as inflateZipEntry, X as TargetModeType, Y as Relationships, Z as buildRootRelationships, _ as replaceMediaPlaceholders, a as getAudioRefs, b as replaceOlePlaceholders, c as getReferencedMedia, d as replaceAllPlaceholders, et as resolveRelationshipTarget, f as replaceAudioPlaceholders, g as replaceImagePlaceholders, h as replaceImageLinkPlaceholders, i as formatId, j as ZIP_STORED_LEVEL, k as compileMapping, l as getVideoRefs, m as replaceHyperlinkPlaceholders, n as collectPlaceholderKeys, o as getMediaRefs, p as replaceChartPlaceholders, q as readCentralDirectoryAsync, r as findAndReplaceImagePlaceholders, s as getOleRefs, t as addSmartArtRelationships, u as hasPlaceholders, v as replaceNumberingPlaceholders, w as derivePasswordHash, x as replacePlaceholders, y as replaceOleLinkPlaceholders, z as zipSync } from "./util-CeVahkDr.mjs";
2
2
  import { _ as toJson, a as appendOverride, b as buildCorePropertiesXmlString, c as createTraverser, d as TokenNotFoundError, f as createSplitInject, g as patchSpaceAttribute, h as nextNumericId, i as appendContentType, l as createRunRenderer, m as getFirstLevelElements, n as appendRelationship, o as removeOverride, p as createTextElementContents, r as getNextRelationshipIndex, s as createReplacer, t as applyCorePropertiesOverride, u as createTokenReplacer, v as DOCX_NS, x as parseCorePropsElement, y as PPTX_NS } from "./patch-AkQY17CD.mjs";
3
- import { $ as xsdErrorValueType, $t as shortHexNumber, A as parsePercent, At as xsdTextVerticalType, B as xsdAxisCrosses, C as convertUniversalMeasureToInch, Ct as xsdStrikeStyle, D as emitPercent, Dt as xsdTextBuild, E as emitAngle, Et as xsdTextAnchor, F as xsdAnimClass, Ft as isBase64DataURL, G as xsdChartBuild, Gt as hexColorValue, H as xsdAxisOrientation, Ht as decimalNumber, I as xsdAnimLevel, It as toUint8Array, J as xsdConsolidateFunction, Jt as measurementOrPercentValue, K as xsdComments, Kt as hpsMeasureValue, L as xsdAnimValueType, Lt as toUint8ArrayAsync, M as parseUniversalMeasure, Mt as xsdTrendlineType, N as invertMap, Nt as xsdUnderlineStyle, O as mapOptional, Ot as xsdTextCaps, P as xsdAnimCalcMode, Pt as xsdVerticalMergeRev, Q as xsdEffectContainer, Qt as positiveUniversalMeasureValue, R as xsdAnimationDgmBuild, Rt as decodeBase64, S as convertUniversalMeasureToEmu, St as xsdSplitType, T as convertUniversalMeasureToTwip, Tt as xsdTextAlign, U as xsdAxisPosition, Ut as eighthPointMeasureValue, V as xsdAxisLabelAlignment, Vt as dateTimeValue, W as xsdBlendMode, Wt as hexBinary, X as xsdDiagramBuild, Xt as percentageValue, Y as xsdDataLabelPosition, Yt as parseOnOff, Z as xsdDiagramDirection, Zt as pointMeasureValue, _ as convertToEmu, _t as xsdRectAlignment, a as uniqueNumericIdCreator, an as universalMeasureValue, at as xsdLegendPosition, b as convertToTwip, bt as xsdSizeRepresents, c as convertEmuToPixels, ct as xsdLineEndSize, d as convertInchesToEmu, dt as xsdOrient, en as signedHpsMeasureValue, et as xsdFontAlignment, f as convertInchesToTwip, ft as xsdPathFillMode, g as convertPointsToTwip, gt as xsdPresetShadow, h as convertPointsToEmu, ht as xsdPlaceholderType, i as uniqueId, in as uCharHexNumber, it as xsdJcAlignment, j as parsePercentAttr, jt as xsdTotalsRowFunction, k as parseAngle, kt as xsdTextTabAlignment, l as convertEmuToPoints, lt as xsdMaterialType, m as convertPixelsToEmu, mt as xsdPenAlignment, n as imageTypeFromPath, nn as stripColorHashPrefix, nt as xsdHueDirection, o as uniqueUuid, on as unsignedDecimalNumber, ot as xsdLightRigDirection, p as convertMillimetersToTwip, pt as xsdPattern, q as xsdCompoundLine, qt as longHexNumber, r as hashedId, rn as twipsMeasureValue, rt as xsdIterateType, s as convertEmuToInches, st as xsdLineCap, t as extUriMatches, tn as signedTwipsMeasureValue, tt as xsdHierBranch, u as convertEmuToTwip, ut as xsdMathStyle, v as convertToInch, vt as xsdResizeHandles, w as convertUniversalMeasureToPt, wt as xsdTableWidthType, x as convertTwipToEmu, xt as xsdSlideLayoutType, y as convertToPt, yt as xsdShadingPattern, z as xsdAxisCrossBetween, zt as encodeBase64 } from "./ext-uri-5jTDczSP.mjs";
4
- import { C as stringifyDataModelOptions, D as COLOR_CATEGORIES, E as stringifyConnection, O as LAYOUT_CATEGORIES, S as stringifyDataModel, T as stringifyTransPoint, _ as parseLayoutDefinition, a as getColorXml, b as withDiagramNamespaces, c as parseStyleDefinition, d as styleDefDesc, f as colorsDefDesc, g as layoutDefDesc, h as stringifyColorDefinitionPart, i as DEFAULT_DRAWING_XML, k as STYLE_CATEGORIES, l as stringifyStyleDefinition, m as stringifyColorDefinition, n as SmartArtCollection, o as getLayoutXml, p as parseColorDefinition, r as definitionId, s as getStyleXml, t as createDataModel, u as stringifyStyleDefinitionPart, v as stringifyLayoutDefinition, w as stringifyPoint, x as parseDataModelOptions, y as stringifyLayoutDefinitionPart } from "./smartart-CrVPot34.mjs";
5
- import { $ as createAdjustList, $n as createSystemColor, $t as createGroupFill, A as groupShapePropertiesDesc, An as createEffectColorList, At as createCustomGeometry, B as shapeLockingDesc, Bn as emitColorChoice, Bt as createSoftEdgeEffect, C as createBodyProperties, Cn as bevelDesc, Ct as parseTableStyleList, D as DEFAULT_SHADOW_BLUR_RADIUS, Dn as FontCollectionIndex, Dt as createBlipFill, E as DEFAULT_SHADOW_ALPHA, En as shape3DDesc, Et as stringifyStretch, F as presetGeometryDesc, Fn as createTextFillColorList, Ft as createBottomBevel, G as createDiagramRelationshipIds, Gn as presetColorDesc, Gt as createGlowEffect, H as createDiagramExtensionList, Hn as isPlainRgbColor, Ht as createPresetShadowEffect, I as connectorLockingDesc, In as createTextLineColorList, It as createScene3D, J as createLayoutDefinitionHeader, Jn as schemeColorDesc, Jt as outlineDesc, K as createColorsDefinitionHeader, Kn as rgbColorDesc, Kt as BlendMode, L as graphicFrameLockingDesc, Lt as createEffectDag, M as groupTransform2DDesc, Mn as createLineColorList, Mt as stringifyAdjustmentValues, N as transform2DDesc, Nn as createStyleLabel, Nt as createShape3D, O as DEFAULT_SHADOW_DIRECTION, Ot as createBlip, P as customGeometryDesc, Pn as createTextEffectColorList, Pt as createBevel, Q as createAdjust, Qn as SystemColor, Qt as createCustomDash, R as groupLockingDesc, Rn as createColorElement, Rt as calculateEffectExtent, S as bodyPropertiesDesc, Sn as createRgbColor, St as parseTableStyle, T as DEFAULT_OUTLINE_WIDTH, Tn as scene3DDesc, Tt as createTransform2D, U as createDiagramShape3D, Un as parseColorChoice, Ut as createOuterShadowEffect, V as effectListDesc, Vn as hslColorDesc, Vt as createReflectionEffect, W as createDiagramTextProperties, Wn as parseColorChoiceElement, Wt as createInnerShadowEffect, X as createStyleDefinitionHeader, Xn as stringifyColorChoice, Xt as createOutline, Y as createLayoutDefinitionHeaderList, Yn as solidFillDesc, Yt as stringifyLineProperties, Z as createStyleDefinitionHeaderList, Zn as systemColorDesc, Zt as createLineEnd, _ as buildHyperlinkElement, _n as stretchDesc, _t as createGroupLocking, a as textBodyDesc, an as fillDesc, at as createPreferredChildren, b as runPropertiesDesc, bn as createScRgbColor, bt as createTableStyle, c as stringifyTextListStyleTag, cn as patternFillDesc, ct as stringifyNonVisualContentPartProperties, d as textStylesDesc, dn as createTileInfo, dt as stringifyNonVisualDrawingProperties, en as createPatternFill, er as SchemeColor, et as createAnimateOneByOne, f as paragraphDesc, fn as createSourceRectangle, ft as parseEndpointConnection, g as textRunDesc, gn as sourceRectangleDesc, gt as createGraphicFrameLocking, h as stringifyTextRun, hn as blipFillDesc, ht as createContentPartLocking, i as presentationLayoutVariablesDesc, in as emitFillXml, ir as createColorTransforms, it as createOrgChart, j as shapePropertiesDesc, jn as createFillColorList, jt as stringifyPresetGeometry, k as DEFAULT_SHADOW_DISTANCE, kn as createDiagramStyle, kt as createExtensionList, l as stringifyTextStyles, ln as createGradientFill, lt as parseNonVisualDrawingProperties, m as stringifyParagraphPropertiesElement, mn as blipDesc, mt as createConnectorLocking, n as diagramRelationshipIdsDesc, nn as buildFill, nr as PresetColor, nt as createHierBranch, o as DEFAULT_TEXT_STYLES, on as findFillChild, ot as createPresentationLayoutVariables, p as readParagraphProperties, pn as createBlipEffects, pt as stringifyEndpointConnection, q as createColorsDefinitionHeaderList, qn as scRgbColorDesc, qt as createFillOverlayEffect, r as diagramStyleDesc, rn as extractBlipFillMedia, rr as createPresetColor, rt as createMaxChildren, s as parseTextStyles, sn as gradientFillDesc, st as parseNonVisualContentPartProperties, t as diagramExtensionListDesc, tn as createNoFill, tr as createSchemeColor, tt as createAnimationLevel, u as textListStyleDesc, un as createGradientStop, ut as pickNonVisualDrawingProperties, v as readHyperlink, vn as stringifyBlipEffects, vt as createPictureLocking, w as parseBodyProperties, wn as cell3DDesc, wt as createGroupTransform2D, x as stringifyRunProperties, xn as createHslColor, xt as createTableStyleList, y as registerHyperlink, yn as tileDesc, yt as createShapeLocking, z as pictureLockingDesc, zn as createSolidFill, zt as createEffectList } from "./drawing-BP4zc7an.mjs";
3
+ import { $ as xsdErrorValueType, $t as shortHexNumber, A as parsePercent, At as xsdTextVerticalType, B as xsdAxisCrosses, C as convertUniversalMeasureToInch, Ct as xsdStrikeStyle, D as emitPercent, Dt as xsdTextBuild, E as emitAngle, Et as xsdTextAnchor, F as xsdAnimClass, Ft as isBase64DataURL, G as xsdChartBuild, Gt as hexColorValue, H as xsdAxisOrientation, Ht as decimalNumber, I as xsdAnimLevel, It as toUint8Array, J as xsdConsolidateFunction, Jt as measurementOrPercentValue, K as xsdComments, Kt as hpsMeasureValue, L as xsdAnimValueType, Lt as toUint8ArrayAsync, M as parseUniversalMeasure, Mt as xsdTrendlineType, N as invertMap, Nt as xsdUnderlineStyle, O as mapOptional, Ot as xsdTextCaps, P as xsdAnimCalcMode, Pt as xsdVerticalMergeRev, Q as xsdEffectContainer, Qt as positiveUniversalMeasureValue, R as xsdAnimationDgmBuild, Rt as decodeBase64, S as convertUniversalMeasureToEmu, St as xsdSplitType, T as convertUniversalMeasureToTwip, Tt as xsdTextAlign, U as xsdAxisPosition, Ut as eighthPointMeasureValue, V as xsdAxisLabelAlignment, Vt as dateTimeValue, W as xsdBlendMode, Wt as hexBinary, X as xsdDiagramBuild, Xt as percentageValue, Y as xsdDataLabelPosition, Yt as parseOnOff, Z as xsdDiagramDirection, Zt as pointMeasureValue, _ as convertToEmu, _t as xsdRectAlignment, a as uniqueNumericIdCreator, an as universalMeasureValue, at as xsdLegendPosition, b as convertToTwip, bt as xsdSizeRepresents, c as convertEmuToPixels, ct as xsdLineEndSize, d as convertInchesToEmu, dt as xsdOrient, en as signedHpsMeasureValue, et as xsdFontAlignment, f as convertInchesToTwip, ft as xsdPathFillMode, g as convertPointsToTwip, gt as xsdPresetShadow, h as convertPointsToEmu, ht as xsdPlaceholderType, i as uniqueId, in as uCharHexNumber, it as xsdJcAlignment, j as parsePercentAttr, jt as xsdTotalsRowFunction, k as parseAngle, kt as xsdTextTabAlignment, l as convertEmuToPoints, lt as xsdMaterialType, m as convertPixelsToEmu, mt as xsdPenAlignment, n as imageTypeFromPath, nn as stripColorHashPrefix, nt as xsdHueDirection, o as uniqueUuid, on as unsignedDecimalNumber, ot as xsdLightRigDirection, p as convertMillimetersToTwip, pt as xsdPattern, q as xsdCompoundLine, qt as longHexNumber, r as hashedId, rn as twipsMeasureValue, rt as xsdIterateType, s as convertEmuToInches, st as xsdLineCap, t as extUriMatches, tn as signedTwipsMeasureValue, tt as xsdHierBranch, u as convertEmuToTwip, ut as xsdMathStyle, v as convertToInch, vt as xsdResizeHandles, w as convertUniversalMeasureToPt, wt as xsdTableWidthType, x as convertTwipToEmu, xt as xsdSlideLayoutType, y as convertToPt, yt as xsdShadingPattern, z as xsdAxisCrossBetween, zt as encodeBase64 } from "./ext-uri-CCwd6FZE.mjs";
4
+ import { C as stringifyDataModelOptions, D as COLOR_CATEGORIES, E as stringifyConnection, O as LAYOUT_CATEGORIES, S as stringifyDataModel, T as stringifyTransPoint, _ as parseLayoutDefinition, a as getColorXml, b as withDiagramNamespaces, c as parseStyleDefinition, d as styleDefDesc, f as colorsDefDesc, g as layoutDefDesc, h as stringifyColorDefinitionPart, i as DEFAULT_DRAWING_XML, k as STYLE_CATEGORIES, l as stringifyStyleDefinition, m as stringifyColorDefinition, n as SmartArtCollection, o as getLayoutXml, p as parseColorDefinition, r as definitionId, s as getStyleXml, t as createDataModel, u as stringifyStyleDefinitionPart, v as stringifyLayoutDefinition, w as stringifyPoint, x as parseDataModelOptions, y as stringifyLayoutDefinitionPart } from "./smartart-BMDH5tRW.mjs";
5
+ import { $ as createAdjustList, $n as createSystemColor, $t as createGroupFill, A as groupShapePropertiesDesc, An as createEffectColorList, At as createCustomGeometry, B as shapeLockingDesc, Bn as emitColorChoice, Bt as createSoftEdgeEffect, C as createBodyProperties, Cn as bevelDesc, Ct as parseTableStyleList, D as DEFAULT_SHADOW_BLUR_RADIUS, Dn as FontCollectionIndex, Dt as createBlipFill, E as DEFAULT_SHADOW_ALPHA, En as shape3DDesc, Et as stringifyStretch, F as presetGeometryDesc, Fn as createTextFillColorList, Ft as createBottomBevel, G as createDiagramRelationshipIds, Gn as presetColorDesc, Gt as createGlowEffect, H as createDiagramExtensionList, Hn as isPlainRgbColor, Ht as createPresetShadowEffect, I as connectorLockingDesc, In as createTextLineColorList, It as createScene3D, J as createLayoutDefinitionHeader, Jn as schemeColorDesc, Jt as outlineDesc, K as createColorsDefinitionHeader, Kn as rgbColorDesc, Kt as BlendMode, L as graphicFrameLockingDesc, Lt as createEffectDag, M as groupTransform2DDesc, Mn as createLineColorList, Mt as stringifyAdjustmentValues, N as transform2DDesc, Nn as createStyleLabel, Nt as createShape3D, O as DEFAULT_SHADOW_DIRECTION, Ot as createBlip, P as customGeometryDesc, Pn as createTextEffectColorList, Pt as createBevel, Q as createAdjust, Qn as SystemColor, Qt as createCustomDash, R as groupLockingDesc, Rn as createColorElement, Rt as calculateEffectExtent, S as bodyPropertiesDesc, Sn as createRgbColor, St as parseTableStyle, T as DEFAULT_OUTLINE_WIDTH, Tn as scene3DDesc, Tt as createTransform2D, U as createDiagramShape3D, Un as parseColorChoice, Ut as createOuterShadowEffect, V as effectListDesc, Vn as hslColorDesc, Vt as createReflectionEffect, W as createDiagramTextProperties, Wn as parseColorChoiceElement, Wt as createInnerShadowEffect, X as createStyleDefinitionHeader, Xn as stringifyColorChoice, Xt as createOutline, Y as createLayoutDefinitionHeaderList, Yn as solidFillDesc, Yt as stringifyLineProperties, Z as createStyleDefinitionHeaderList, Zn as systemColorDesc, Zt as createLineEnd, _ as buildHyperlinkElement, _n as stretchDesc, _t as createGroupLocking, a as textBodyDesc, an as fillDesc, at as createPreferredChildren, b as runPropertiesDesc, bn as createScRgbColor, bt as createTableStyle, c as stringifyTextListStyleTag, cn as patternFillDesc, ct as stringifyNonVisualContentPartProperties, d as textStylesDesc, dn as createTileInfo, dt as stringifyNonVisualDrawingProperties, en as createPatternFill, er as SchemeColor, et as createAnimateOneByOne, f as paragraphDesc, fn as createSourceRectangle, ft as parseEndpointConnection, g as textRunDesc, gn as sourceRectangleDesc, gt as createGraphicFrameLocking, h as stringifyTextRun, hn as blipFillDesc, ht as createContentPartLocking, i as presentationLayoutVariablesDesc, in as emitFillXml, ir as createColorTransforms, it as createOrgChart, j as shapePropertiesDesc, jn as createFillColorList, jt as stringifyPresetGeometry, k as DEFAULT_SHADOW_DISTANCE, kn as createDiagramStyle, kt as createExtensionList, l as stringifyTextStyles, ln as createGradientFill, lt as parseNonVisualDrawingProperties, m as stringifyParagraphPropertiesElement, mn as blipDesc, mt as createConnectorLocking, n as diagramRelationshipIdsDesc, nn as buildFill, nr as PresetColor, nt as createHierBranch, o as DEFAULT_TEXT_STYLES, on as findFillChild, ot as createPresentationLayoutVariables, p as readParagraphProperties, pn as createBlipEffects, pt as stringifyEndpointConnection, q as createColorsDefinitionHeaderList, qn as scRgbColorDesc, qt as createFillOverlayEffect, r as diagramStyleDesc, rn as extractBlipFillMedia, rr as createPresetColor, rt as createMaxChildren, s as parseTextStyles, sn as gradientFillDesc, st as parseNonVisualContentPartProperties, t as diagramExtensionListDesc, tn as createNoFill, tr as createSchemeColor, tt as createAnimationLevel, u as textListStyleDesc, un as createGradientStop, ut as pickNonVisualDrawingProperties, v as readHyperlink, vn as stringifyBlipEffects, vt as createPictureLocking, w as parseBodyProperties, wn as cell3DDesc, wt as createGroupTransform2D, x as stringifyRunProperties, xn as createHslColor, xt as createTableStyleList, y as registerHyperlink, yn as tileDesc, yt as createShapeLocking, z as pictureLockingDesc, zn as createSolidFill, zt as createEffectList } from "./drawing-Daklr1d9.mjs";
6
6
  import { a as roundTripFields, i as diffTagSets, n as findFieldSpec, o as parse, r as checkOrder, s as stringify, t as FIELD_SPECS } from "./descriptor-BqaNZrrZ.mjs";
7
- import { i as stringifyShapeStyle, n as parseShapeStyle } from "./style-matrix-B69960kl.mjs";
8
- import { i as ChartCollection, n as userShapesDesc, r as chartSpaceDesc, t as buildUserShapesData } from "./chart-D0AdnVLT.mjs";
7
+ import { i as stringifyShapeStyle, n as parseShapeStyle } from "./style-matrix-BSk2hcAC.mjs";
8
+ import { i as ChartCollection, n as userShapesDesc, r as chartSpaceDesc, t as buildUserShapesData } from "./chart-DgwOj5KH.mjs";
9
9
  import { n as parseColorMapping, r as stringifyColorMapping, t as DEFAULT_COLOR_MAPPING } from "./color-mapping-CFF0vRSe.mjs";
10
10
  import { $ as stringifyVmlTextData, A as stringifyVmlPolyline, At as stringifyVmlExtrusion, B as stringifyVmlBorder, Bt as VML_CORE_ATTRS, C as stringifyVmlArc, Ct as parseVmlSignatureLine, D as stringifyVmlImage, Dt as stringifyVmlComplex, E as stringifyVmlGroup, Et as stringifyVmlClipPath, F as stringifyVmlShapetype, Ft as stringifyVmlSignatureLine, G as stringifyVmlTextbox, Gt as parseVmlTrueFalse, H as parseVmlTextPath, Ht as VML_OFFICE_SHAPE_ATTRS, I as parseVmlAnchorLock, It as stringifyVmlSkew, J as parseVmlShadow, Jt as stringifyVmlTrueFalse, K as parseVmlStroke, Kt as parseVmlTrueFalseBlank, L as parseVmlBorder, Lt as parseVmlShapeStyle, M as stringifyVmlRoundRect, Mt as stringifyVmlLock, N as stringifyVmlShape, Nt as stringifyVmlOfficeFill, O as stringifyVmlLine, Ot as stringifyVmlDiagram, P as stringifyVmlShapeChild, Pt as stringifyVmlOleObject, Q as stringifyVmlIsComment, R as parseVmlWrap, Rt as parseVmlStyle, S as parseVmlShapetype, St as parseVmlOleObject, T as stringifyVmlCurve, Tt as stringifyVmlCallout, U as stringifyVmlTextPath, Ut as VML_SHAPE_ATTRS, V as stringifyVmlWrap, Vt as VML_OFFICE_CORE_ATTRS, W as parseVmlTextbox, Wt as parseVmlAttributes, X as parseVmlIsComment, Y as stringifyVmlShadow, Yt as stringifyVmlTrueFalseBlank, Z as parseVmlTextData, _ as parseVmlPolyline, _t as parseVmlEquationXml, a as stringifyVmlColorMenu, at as stringifyVmlHandles, b as parseVmlShape, bt as parseVmlLock, c as stringifyVmlShapeLayout, ct as parseVmlFill, d as parseVmlBackground, dt as stringifyVmlClientData, et as parseVmlPath, f as parseVmlCurve, ft as EXT_ATTR, g as parseVmlOval, gt as parseVmlDiagram, h as parseVmlLine, ht as parseVmlComplex, i as parseVmlShapeLayout, it as parseVmlHandles, j as stringifyVmlRect, jt as stringifyVmlInk, k as stringifyVmlOval, kt as stringifyVmlEquationXml, l as nextVmlShapeId, lt as stringifyVmlFill, m as parseVmlImage, mt as parseVmlClipPath, n as parseVmlColorMru, nt as parseVmlImageData, o as stringifyVmlColorMru, ot as parseVmlFormulas, p as parseVmlGroup, pt as parseVmlCallout, q as stringifyVmlStroke, qt as stringifyVmlAttributes, r as parseVmlShapeDefaults, rt as stringifyVmlImageData, s as stringifyVmlShapeDefaults, st as stringifyVmlFormulas, t as parseVmlColorMenu, tt as stringifyVmlPath, u as parseVmlArc, ut as parseVmlClientData, v as parseVmlRect, vt as parseVmlExtrusion, w as stringifyVmlBackground, wt as parseVmlSkew, x as parseVmlShapeChild, xt as parseVmlOfficeFill, y as parseVmlRoundRect, yt as parseVmlInk, z as stringifyVmlAnchorLock, zt as stringifyVmlStyle } from "./vector-BhETDAdp.mjs";
11
- import { a as buildThemeXml, i as createThemeXml, n as themeOverrideDesc, o as DEFAULT_COLORS, r as themeDesc, t as themeManagerDesc } from "./theme-BINSAPMD.mjs";
12
- import { attr, escapeXml, parse as parse$1, stringify as stringify$1, textOf } from "@office-open/xml";
11
+ import { a as buildThemeXml, i as createThemeXml, n as themeOverrideDesc, o as DEFAULT_COLORS, r as themeDesc, t as themeManagerDesc } from "./theme-CSJvGlzF.mjs";
12
+ import { OOXML_XML_DECLARATION, attr, escapeXml, parse as parse$1, stringify as stringify$1, textOf } from "@office-open/xml";
13
13
  import { inflateSync, strFromU8 as strFromU8$1, strToU8, unzipSync as unzipSync$1, zipSync as zipSync$1 } from "fflate";
14
- //#region src/opc/relationships.ts
15
- const TargetModeType = { EXTERNAL: "External" };
16
- /**
17
- * Manages OOXML relationship entries and serializes to XML.
18
- *
19
- * Standalone class — no XmlComponent inheritance.
20
- * Pure string concatenation for zero-allocation XML output.
21
- */
22
- var Relationships = class {
23
- entries = [];
24
- maxId = 0;
25
- trackId(rid) {
26
- const n = /^rId(\d+)$/.exec(rid);
27
- if (n) this.maxId = Math.max(this.maxId, Number(n[1]));
28
- }
29
- addRelationship(id, type, target, targetMode) {
30
- const rid = typeof id === "number" ? `rId${id}` : id;
31
- this.trackId(rid);
32
- this.entries.push({
33
- id: rid,
34
- type,
35
- target,
36
- targetMode
37
- });
38
- }
39
- /**
40
- * Register a relationship with an auto-allocated sequential id and return
41
- * the numeric id. Prefer this over the `relationshipCount + 1` +
42
- * `addRelationship` pair at every call site that wants the next id; reach
43
- * for `addRelationship` directly only when the id is externally determined
44
- * (a contiguous batch pre-computed from an offset, a fixed rId1, …).
45
- *
46
- * The id is max(existing) + 1, not count + 1 — externally-determined ids
47
- * (passthrough source ids) can leave gaps, and a gap-following count-based
48
- * id would collide with an existing entry (duplicate Relationship ids
49
- * corrupt the package for Office applications).
50
- */
51
- add(type, target, targetMode) {
52
- const id = this.maxId + 1;
53
- this.maxId = id;
54
- this.entries.push({
55
- id: `rId${id}`,
56
- type,
57
- target,
58
- targetMode
59
- });
60
- return id;
61
- }
62
- get relationshipCount() {
63
- return this.entries.length;
64
- }
65
- /** The next free numeric id (max existing + 1) — the safe offset base when
66
- * externally-determined ids (passthrough source ids) leave gaps below it. */
67
- get nextRelationshipId() {
68
- return this.maxId + 1;
69
- }
70
- /** Pre-claim a source id without registering an entry. Reserving every
71
- * passthrough source id up front keeps auto-allocated ids (add(), next)
72
- * strictly above the source id space, so a part the source didn't carry
73
- * (a fresh comment, say) can never take an id a later source re-use will
74
- * need — re-emitting the source rel at a taken id corrupts the package.
75
- * Accepts the passthrough `rId` form ("rId7") or a bare number. */
76
- reserveId(id) {
77
- const n = typeof id === "number" ? id : /^rId(\d+)$/.exec(id)?.[1];
78
- if (n !== void 0) this.trackId(`rId${n}`);
79
- }
80
- /** Reserve every passthrough id held by one source part — the uniform entry
81
- * point compilers call before filling a part's rels from the model. Without
82
- * it the model's batch allocations (offset snapshots, add()) can land on a
83
- * source id, forcing the later source re-emission to collide or renumber
84
- * (renumbering dangles the verbatim references that motivated keeping the
85
- * source id). Reserving is invisible to hasId/hasRelationship, so source
86
- * re-emission and rename-to-source-id still work. */
87
- reserveSourceRids(source, passthrough) {
88
- for (const rel of passthrough) if (rel.source === source) this.reserveId(rel.rId);
89
- }
90
- /** Rename the first entry matching `type` to `newId` — used to promote a
91
- * structured rel (e.g. the slide layout) to its source id when the
92
- * source rId is free. No-op when the slot is taken or no match. */
93
- renameEntryByType(type, newId) {
94
- if (this.hasId(`rId${newId}`)) return;
95
- const entry = this.entries.find((e) => e.type === type);
96
- if (entry) {
97
- entry.id = `rId${newId}`;
98
- this.maxId = Math.max(this.maxId, newId);
99
- }
100
- }
101
- /** Numeric id of the first entry matching `kind` (last segment of the type
102
- * URI), or undefined when none is registered. */
103
- idByKind(kind) {
104
- const entry = this.entries.find((e) => e.type.split("/").pop() === kind);
105
- if (!entry) return void 0;
106
- const m = /^rId(\d+)$/.exec(entry.id);
107
- if (!m) return void 0;
108
- return Number(m[1]);
109
- }
110
- /**
111
- * Claim a captured source relationship (round-trip pre-claim). Verbatim
112
- * part content references the source rIds, so re-emit the rel at its exact
113
- * source id whenever that slot is still free — renumbering would dangle
114
- * those references. Skips rels already registered under the same
115
- * kind+target (the model absorbed them); falls back to an auto id for
116
- * non-numeric source ids.
117
- */
118
- claimSourceRel(rel) {
119
- if (this.hasRelationship(rel.relationshipType, rel.target)) return;
120
- const numeric = /^rId(\d+)$/.exec(rel.rId);
121
- if (numeric && !this.hasId(rel.rId)) this.addRelationship(Number(numeric[1]), rel.relationshipType, rel.target, rel.targetMode);
122
- else this.add(rel.relationshipType, rel.target, rel.targetMode);
123
- }
124
- /**
125
- * True when a relationship of the same kind and target is already
126
- * registered. The kind compares only the relationship type's last path
127
- * segment, so the transitional and strict URI forms of the same
128
- * relationship compare equal — passthrough re-emission uses this to skip
129
- * relationships the compiler already wired (a duplicate entry corrupts the
130
- * package for Office applications).
131
- */
132
- hasRelationship(type, target) {
133
- const kind = type.split("/").pop();
134
- return this.entries.some((e) => e.type.split("/").pop() === kind && e.target === target);
135
- }
136
- /**
137
- * True when any entry carries the relationship kind (last type segment).
138
- * Round-trip re-emission uses this as the ownership test: a rebuilt part
139
- * that already registered a rel of this kind absorbed the concept, so the
140
- * captured source rel (possibly a renamed target or the ISO-strict type
141
- * dual) must not be re-emitted alongside it.
142
- */
143
- hasRelationshipKind(kind) {
144
- return this.entries.some((e) => e.type.split("/").pop() === kind);
145
- }
146
- /** True when an entry already occupies this exact relationship id. */
147
- hasId(id) {
148
- return this.entries.some((e) => e.id === id);
149
- }
150
- /**
151
- * The id of the entry matching kind+target (same last-path-segment equality
152
- * as {@link hasRelationship}), or undefined when absent. Round-trip legs use
153
- * this to point a reference element at an already-registered relationship.
154
- */
155
- idOf(type, target) {
156
- const kind = type.split("/").pop();
157
- return this.entries.find((e) => e.type.split("/").pop() === kind && e.target === target)?.id;
158
- }
159
- /** Directly builds XML string — zero intermediate tree allocation. */
160
- serialize() {
161
- const p = ["<Relationships xmlns=\"http://schemas.openxmlformats.org/package/2006/relationships\">"];
162
- for (const e of this.entries) {
163
- const tm = e.targetMode ? ` TargetMode="${escapeXml(e.targetMode)}"` : "";
164
- p.push(`<Relationship Id="${escapeXml(e.id)}" Type="${escapeXml(e.type)}" Target="${escapeXml(e.target)}"${tm}/>`);
165
- }
166
- p.push("</Relationships>");
167
- return p.join("");
168
- }
169
- };
170
- /**
171
- * Serialize a Relationships part only when it carries at least one
172
- * relationship. Optional parts (fontTable, headers, footers, charts, drawings,
173
- * worksheets, …) emit no .rels part when empty — Office strips empty rels
174
- * shells when re-saving, so skipping them keeps generated packages free of
175
- * redundant empty parts and matches Office's normalized output.
176
- *
177
- * Always-on parts (the package `_rels/.rels` and the main
178
- * document/presentation/workbook parts) carry relationships by construction
179
- * and must NOT use this gate.
180
- */
181
- function optionalRelsPart(rel, xmlDeclaration, path) {
182
- return rel.relationshipCount > 0 ? {
183
- data: xmlDeclaration + rel.serialize(),
184
- path
185
- } : void 0;
186
- }
187
- /** Build the package root relationships shared by docx, pptx, and xlsx. */
188
- function buildRootRelationships(mainPartTarget, includeCustomProperties, passthroughRelationships) {
189
- const rels = new Relationships();
190
- rels.addRelationship(1, "http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument", mainPartTarget);
191
- rels.addRelationship(2, "http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties", "docProps/core.xml");
192
- rels.addRelationship(3, "http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties", "docProps/app.xml");
193
- if (includeCustomProperties) rels.addRelationship(4, "http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties", "docProps/custom.xml");
194
- for (const rel of passthroughRelationships ?? []) {
195
- if (rel.source !== "") continue;
196
- if (rels.hasRelationship(rel.relationshipType, rel.target)) continue;
197
- rels.add(rel.relationshipType, rel.target, rel.targetMode);
198
- }
199
- return rels;
200
- }
201
- /**
202
- * Derive the .rels part path for a package part:
203
- * "ppt/slides/slide1.xml" → "ppt/slides/_rels/slide1.xml.rels".
204
- */
205
- function partPathToRelsPath(partPath) {
206
- const idx = partPath.lastIndexOf("/");
207
- return `${partPath.substring(0, idx)}/_rels/${partPath.substring(idx + 1)}.rels`;
208
- }
209
- /**
210
- * Resolve a relationship target against the referencing part's directory,
211
- * segment by segment: each ".." pops one directory level. A single
212
- * String.replace("../", …) only strips the first occurrence and mis-resolves
213
- * deeper targets like "../../media/image.png".
214
- */
215
- function resolveRelationshipTarget(partPath, target) {
216
- if (target.startsWith("/")) return target.slice(1);
217
- const dir = partPath.substring(0, partPath.lastIndexOf("/"));
218
- const dirParts = dir ? dir.split("/") : [];
219
- for (const part of target.split("/")) if (part === "..") dirParts.pop();
220
- else if (part !== "." && part !== "") dirParts.push(part);
221
- return dirParts.join("/");
222
- }
223
- //#endregion
224
14
  //#region src/opc/media.ts
225
15
  /**
226
16
  * Content-deduplicated media collection for OOXML packages.
227
17
  *
228
18
  * Stores image entries keyed by file name. `addMedia` deduplicates by raw byte
229
- * content — byte-identical images referenced N times share one file, while
230
- * per-image metadata (transformation, extent, fallback) stays with each
231
- * reference in its own drawing XML and is passed via the `build` callback so it
232
- * never participates in the dedup key.
19
+ * content — byte-identical images referenced N times share one file AND one
20
+ * entry object. The `build` callback therefore must fill media-identity fields
21
+ * only (type/data/fileName); per-reference placement metadata
22
+ * (transformation/extent, crop, cNvPr, blip hints, the svg raster fallback) is
23
+ * owned by the caller at stringify time — baking it into the entry would leak
24
+ * the first registrant's values onto every later reference of the same bytes.
233
25
  *
234
26
  * Lookup is O(1) amortized: a `WeakMap` memoizes the resolved entry per input
235
27
  * `Uint8Array` (the hot path — a single document reuses the same buffer object
@@ -264,9 +56,11 @@ var Media = class {
264
56
  /**
265
57
  * Register media, reusing the existing entry when the bytes already exist.
266
58
  * Returns the canonical entry (shared across all identical references) —
267
- * callers read `entry.fileName` for placeholders/relationship targets or use
268
- * the whole entry (e.g. drawing XML). The `build` callback constructs the
269
- * package-specific entry from the allocated file name.
59
+ * callers read `entry.fileName` for placeholders/relationship targets; any
60
+ * per-reference metadata must be applied onto the returned object (or kept
61
+ * alongside), never assumed to be reference-specific inside the entry. The
62
+ * `build` callback constructs the package-specific entry from the allocated
63
+ * file name and is invoked only when the bytes are new.
270
64
  *
271
65
  * Pass `fileName` to pin the name (round-trip scenarios preserving a source
272
66
  * file name); omit it to allocate the next sequential `imageN.ext`.
@@ -2417,6 +2211,23 @@ function buildContentTypeOverrides(registry, facts) {
2417
2211
  }
2418
2212
  //#endregion
2419
2213
  //#region src/opc/content-types-input.ts
2214
+ /**
2215
+ * Files-driven [Content_Types].xml derivation (part-centric).
2216
+ *
2217
+ * Walks the actual part paths written to the package and derives the
2218
+ * Default/Override entries from a path→contentType resolver plus an
2219
+ * extension→MIME map. The part set is the single source of truth, so the
2220
+ * content-type declarations cannot drift from what is written — the class of
2221
+ * bug that registry/facts builders exist to patch (#357). Sparse or index-based
2222
+ * part naming (e.g. pptx comments keyed by slide index rather than a dense
2223
+ * sequence) is handled naturally: every written file is declared regardless of
2224
+ * its naming scheme, because emission follows the files, not a count.
2225
+ *
2226
+ * Reference: ECMA-376 Part 2 §10; peer libraries (python-pptx, openpyxl) derive
2227
+ * [Content_Types] from the actual part set the same way.
2228
+ *
2229
+ * @module
2230
+ */
2420
2231
  const contentTypesDesc = {
2421
2232
  kind: "custom",
2422
2233
  stringify(opts, _ctx) {
@@ -2661,6 +2472,46 @@ const IMAGE_MEDIA_CONTENT_TYPES = {
2661
2472
  ico: "image/x-icon",
2662
2473
  svg: "image/svg+xml"
2663
2474
  };
2475
+ /**
2476
+ * Shared closing step of the three format compilers: copy raw passthrough
2477
+ * parts into the package (compiler output wins at the same path), derive
2478
+ * [Content_Types].xml from the final file set, and return the XML document
2479
+ * (declaration included) for the caller to store at
2480
+ * files["[Content_Types].xml"]. Deriving after the copy is what keeps the
2481
+ * declarations and the parts in sync — passthrough parts whose extension has
2482
+ * no covering Default borrow their source content type as a per-part Override
2483
+ * (an undeclared part makes Office refuse to open the package).
2484
+ */
2485
+ function finalizeContentTypes(files, options, ctx) {
2486
+ const rawParts = options.rawParts ?? [];
2487
+ const passthroughSkipped = /* @__PURE__ */ new Set();
2488
+ for (const part of rawParts) {
2489
+ if (files[part.path] !== void 0) {
2490
+ passthroughSkipped.add(part.path);
2491
+ continue;
2492
+ }
2493
+ files[part.path] = toUint8Array(part.data);
2494
+ }
2495
+ const input = deriveContentTypes(Object.keys(files), {
2496
+ resolve: options.resolve,
2497
+ mediaContentTypes: options.mediaContentTypes,
2498
+ overrides: options.overrides,
2499
+ source: options.source,
2500
+ verbatimPaths: new Set(rawParts.map((p) => p.path))
2501
+ });
2502
+ const coveredExt = new Set(input.defaults.map((d) => d.extension.toLowerCase()));
2503
+ for (const part of rawParts) {
2504
+ if (part.contentType === void 0 || passthroughSkipped.has(part.path)) continue;
2505
+ const dot = part.path.lastIndexOf(".");
2506
+ const ext = dot > part.path.lastIndexOf("/") ? part.path.slice(dot + 1).toLowerCase() : void 0;
2507
+ if (ext && coveredExt.has(ext)) continue;
2508
+ input.overrides.push({
2509
+ partName: `/${part.path}`,
2510
+ contentType: part.contentType
2511
+ });
2512
+ }
2513
+ return OOXML_XML_DECLARATION + (contentTypesDesc.stringify(input, ctx) ?? "");
2514
+ }
2664
2515
  //#endregion
2665
2516
  //#region src/opc/passthrough.ts
2666
2517
  /**
@@ -2836,6 +2687,6 @@ function pickGroupBase(opts) {
2836
2687
  };
2837
2688
  }
2838
2689
  //#endregion
2839
- export { BlendMode, COLOR_CATEGORIES, ChartCollection, DEFAULT_COLORS, DEFAULT_COLOR_MAPPING, DEFAULT_DRAWING_XML, DEFAULT_OUTLINE_WIDTH, DEFAULT_SHADOW_ALPHA, DEFAULT_SHADOW_BLUR_RADIUS, DEFAULT_SHADOW_DIRECTION, DEFAULT_SHADOW_DISTANCE, DEFAULT_TEXT_STYLES, DOCX_NS, DOCX_PARTS, EXT_ATTR, EmbeddingCollection, FIELD_SPECS, FontCollectionIndex, IMAGE_MEDIA_CONTENT_TYPES, LAYOUT_CATEGORIES, Media, OOXML_CANONICAL_PREFIXES, OoxmlMimeType, PART_REGISTRIES, PPTX_NS, PPTX_PARTS, ParsedArchive, PresetColor, Relationships, STYLE_CATEGORIES, SchemeColor, SmartArtCollection, SystemColor, TargetModeType, TokenNotFoundError, VML_CORE_ATTRS, VML_OFFICE_CORE_ATTRS, VML_OFFICE_SHAPE_ATTRS, VML_SHAPE_ATTRS, XLSX_PARTS, ZIP_DEFLATE_LEVEL, ZIP_STORED_LEVEL, ZipStreamWriter, addBinaryFile, addSmartArtRelationships, appPropertiesDesc, appendContentType, appendOverride, appendRelationship, applyCorePropertiesOverride, assertEncryptedExclusive, bevelDesc, blipDesc, blipFillDesc, bodyPropertiesDesc, buildContentTypeOverrides, buildCorePropertiesXmlString, buildFill, buildHyperlinkElement, buildRootRelationships, buildThemeXml, buildUserShapesData, calculateEffectExtent, cell3DDesc, chartSpaceDesc, checkOrder, collectPassthroughParts, collectPlaceholderKeys, colorsDefDesc, compileMapping, connectorLockingDesc, contentTypesDesc, convertEmuToInches, convertEmuToPixels, convertEmuToPoints, convertEmuToTwip, convertInchesToEmu, convertInchesToTwip, convertMillimetersToTwip, convertOutput, convertPixelsToEmu, convertPointsToEmu, convertPointsToTwip, convertToEmu, convertToInch, convertToPt, convertToTwip, convertTwipToEmu, convertUniversalMeasureToEmu, convertUniversalMeasureToInch, convertUniversalMeasureToPt, convertUniversalMeasureToTwip, createAdjust, createAdjustList, createAnimateOneByOne, createAnimationLevel, createBevel, createBlip, createBlipEffects, createBlipFill, createBodyProperties, createBottomBevel, createColorElement, createColorTransforms, createColorsDefinitionHeader, createColorsDefinitionHeaderList, createConnectorLocking, createContentPartLocking, createCustomDash, createCustomGeometry, createDataModel, createDiagramExtensionList, createDiagramRelationshipIds, createDiagramShape3D, createDiagramStyle, createDiagramTextProperties, createEffectColorList, createEffectDag, createEffectList, createExtensionList, createFillColorList, createFillOverlayEffect, createGlowEffect, createGradientFill, createGradientStop, createGraphicFrameLocking, createGroupFill, createGroupLocking, createGroupTransform2D, createHierBranch, createHslColor, createInnerShadowEffect, createLayoutDefinitionHeader, createLayoutDefinitionHeaderList, createLineColorList, createLineEnd, createMaxChildren, createNoFill, createOrgChart, createOuterShadowEffect, createOutline, createPacker, createPatternFill, createPictureLocking, createPreferredChildren, createPresentationLayoutVariables, createPresetColor, createPresetShadowEffect, createReflectionEffect, createReplacer, createRgbColor, createRunRenderer, createScRgbColor, createScene3D, createSchemeColor, createShape3D, createShapeLocking, createSoftEdgeEffect, createSolidFill, createSourceRectangle, createSplitInject, createStyleDefinitionHeader, createStyleDefinitionHeaderList, createStyleLabel, createSystemColor, createTableStyle, createTableStyleList, createTextEffectColorList, createTextElementContents, createTextFillColorList, createTextLineColorList, createThemeXml, createTileInfo, createTokenReplacer, createTransform2D, createTraverser, createZipStream, customGeometryDesc, customPropertiesDesc, dateTimeValue, decimalNumber, decodeBase64, definitionId, deriveContentTypes, derivePasswordHash, diagramExtensionListDesc, diagramRelationshipIdsDesc, diagramStyleDesc, diffTagSets, dropDanglingPassthroughRels, effectListDesc, eighthPointMeasureValue, emitAngle, emitColorChoice, emitFillXml, emitPercent, encodeBase64, encryptedContainerOutput, encryptedContainerStream, extUriMatches, extractBlipFillMedia, fillDesc, findAndReplaceImagePlaceholders, findFieldSpec, findFillChild, formatId, getAudioRefs, getColorXml, getFirstLevelElements, getLayoutXml, getMediaRefs, getNextRelationshipIndex, getOleRefs, getReferencedMedia, getStyleXml, getVideoRefs, gradientFillDesc, graphicFrameLockingDesc, groupLockingDesc, groupShapePropertiesDesc, groupTransform2DDesc, hasPlaceholders, hashPasswordAgile, hashedId, hexBinary, hexColorValue, hpsMeasureValue, hslColorDesc, imageTypeFromPath, invertMap, isBase64DataURL, isEncryptedContainer, isPlainRgbColor, layoutDefDesc, levelForMediaName, longHexNumber, mapOptional, measurementOrPercentValue, nextNumericId, nextVmlShapeId, optionalRelsPart, outlineDesc, paragraphDesc, parse, parseAngle, parseArchive, parseBodyProperties, parseColorChoice, parseColorChoiceElement, parseColorDefinition, parseColorMapping, parseCorePropsElement, parseDataModelOptions, parseEndpointConnection, parseLayoutDefinition, parseNonVisualContentPartProperties, parseNonVisualDrawingProperties, parseOnOff, parsePercent, parsePercentAttr, parseShapeStyle, parseStyleDefinition, parseTableStyle, parseTableStyleList, parseTextStyles, parseUniversalMeasure, parseVariantValue, parseVector, parseVmlAnchorLock, parseVmlArc, parseVmlAttributes, parseVmlBackground, parseVmlBorder, parseVmlCallout, parseVmlClientData, parseVmlClipPath, parseVmlColorMenu, parseVmlColorMru, parseVmlComplex, parseVmlCurve, parseVmlDiagram, parseVmlEquationXml, parseVmlExtrusion, parseVmlFill, parseVmlFormulas, parseVmlGroup, parseVmlHandles, parseVmlImage, parseVmlImageData, parseVmlInk, parseVmlIsComment, parseVmlLine, parseVmlLock, parseVmlOfficeFill, parseVmlOleObject, parseVmlOval, parseVmlPath, parseVmlPolyline, parseVmlRect, parseVmlRoundRect, parseVmlShadow, parseVmlShape, parseVmlShapeChild, parseVmlShapeDefaults, parseVmlShapeLayout, parseVmlShapeStyle, parseVmlShapetype, parseVmlSignatureLine, parseVmlSkew, parseVmlStroke, parseVmlStyle, parseVmlTextData, parseVmlTextPath, parseVmlTextbox, parseVmlTrueFalse, parseVmlTrueFalseBlank, parseVmlWrap, partPathToRelsPath, patchSpaceAttribute, patternFillDesc, percentageValue, pickConnectorBase, pickGroupBase, pickNonVisualDrawingProperties, pictureLockingDesc, pointMeasureValue, positiveUniversalMeasureValue, presentationLayoutVariablesDesc, presetColorDesc, presetGeometryDesc, randomBytes, readHyperlink, readParagraphProperties, registerHyperlink, removeOverride, replaceAllPlaceholders, replaceAudioPlaceholders, replaceChartPlaceholders, replaceHyperlinkPlaceholders, replaceImageLinkPlaceholders, replaceImagePlaceholders, replaceMediaPlaceholders, replaceNumberingPlaceholders, replaceOleLinkPlaceholders, replaceOlePlaceholders, replacePlaceholders, replaceSmartArtPlaceholders, replaceVideoPlaceholders, resolveRelationshipTarget, resolverFromRegistry, rgbColorDesc, roundTripFields, runPropertiesDesc, scRgbColorDesc, scene3DDesc, schemeColorDesc, shape3DDesc, shapeLockingDesc, shapePropertiesDesc, shortHexNumber, signedHpsMeasureValue, signedTwipsMeasureValue, solidFillDesc, sourceRectangleDesc, strFromU8, stretchDesc, stringify, stringifyAdjustmentValues, stringifyBlipEffects, stringifyColorChoice, stringifyColorDefinition, stringifyColorDefinitionPart, stringifyColorMapping, stringifyConnection, stringifyDataModel, stringifyDataModelOptions, stringifyEndpointConnection, stringifyLayoutDefinition, stringifyLayoutDefinitionPart, stringifyLineProperties, stringifyNonVisualContentPartProperties, stringifyNonVisualDrawingProperties, stringifyParagraphPropertiesElement, stringifyPoint, stringifyPresetGeometry, stringifyRunProperties, stringifyShapeStyle, stringifyStretch, stringifyStringVector, stringifyStyleDefinition, stringifyStyleDefinitionPart, stringifyTextListStyleTag, stringifyTextRun, stringifyTextStyles, stringifyTransPoint, stringifyVariantValue, stringifyVmlAnchorLock, stringifyVmlArc, stringifyVmlAttributes, stringifyVmlBackground, stringifyVmlBorder, stringifyVmlCallout, stringifyVmlClientData, stringifyVmlClipPath, stringifyVmlColorMenu, stringifyVmlColorMru, stringifyVmlComplex, stringifyVmlCurve, stringifyVmlDiagram, stringifyVmlEquationXml, stringifyVmlExtrusion, stringifyVmlFill, stringifyVmlFormulas, stringifyVmlGroup, stringifyVmlHandles, stringifyVmlImage, stringifyVmlImageData, stringifyVmlInk, stringifyVmlIsComment, stringifyVmlLine, stringifyVmlLock, stringifyVmlOfficeFill, stringifyVmlOleObject, stringifyVmlOval, stringifyVmlPath, stringifyVmlPolyline, stringifyVmlRect, stringifyVmlRoundRect, stringifyVmlShadow, stringifyVmlShape, stringifyVmlShapeChild, stringifyVmlShapeDefaults, stringifyVmlShapeLayout, stringifyVmlShapetype, stringifyVmlSignatureLine, stringifyVmlSkew, stringifyVmlStroke, stringifyVmlStyle, stringifyVmlTextData, stringifyVmlTextPath, stringifyVmlTextbox, stringifyVmlTrueFalse, stringifyVmlTrueFalseBlank, stringifyVmlWrap, stripColorHashPrefix, styleDefDesc, summarizeOpcIssues, systemColorDesc, textBodyDesc, textListStyleDesc, textRunDesc, textStylesDesc, themeDesc, themeManagerDesc, themeOverrideDesc, tileDesc, toJson, toUint8Array, toUint8ArrayAsync, transform2DDesc, twipsMeasureValue, uCharHexNumber, uniqueId, uniqueNumericIdCreator, uniqueUuid, universalMeasureValue, unsignedDecimalNumber, unzipSync, userShapesDesc, validateOpcConsistency, withDiagramNamespaces, xsdAnimCalcMode, xsdAnimClass, xsdAnimLevel, xsdAnimValueType, xsdAnimationDgmBuild, xsdAxisCrossBetween, xsdAxisCrosses, xsdAxisLabelAlignment, xsdAxisOrientation, xsdAxisPosition, xsdBlendMode, xsdChartBuild, xsdComments, xsdCompoundLine, xsdConsolidateFunction, xsdDataLabelPosition, xsdDiagramBuild, xsdDiagramDirection, xsdEffectContainer, xsdErrorValueType, xsdFontAlignment, xsdHierBranch, xsdHueDirection, xsdIterateType, xsdJcAlignment, xsdLegendPosition, xsdLightRigDirection, xsdLineCap, xsdLineEndSize, xsdMaterialType, xsdMathStyle, xsdOrient, xsdPathFillMode, xsdPattern, xsdPenAlignment, xsdPlaceholderType, xsdPresetShadow, xsdRectAlignment, xsdResizeHandles, xsdShadingPattern, xsdSizeRepresents, xsdSlideLayoutType, xsdSplitType, xsdStrikeStyle, xsdTableWidthType, xsdTextAlign, xsdTextAnchor, xsdTextBuild, xsdTextCaps, xsdTextTabAlignment, xsdTextVerticalType, xsdTotalsRowFunction, xsdTrendlineType, xsdUnderlineStyle, xsdVerticalMergeRev, zipAndConvert, zipSync, zipSyncAndConvert };
2690
+ export { BlendMode, COLOR_CATEGORIES, ChartCollection, DEFAULT_COLORS, DEFAULT_COLOR_MAPPING, DEFAULT_DRAWING_XML, DEFAULT_OUTLINE_WIDTH, DEFAULT_SHADOW_ALPHA, DEFAULT_SHADOW_BLUR_RADIUS, DEFAULT_SHADOW_DIRECTION, DEFAULT_SHADOW_DISTANCE, DEFAULT_TEXT_STYLES, DOCX_NS, DOCX_PARTS, EXT_ATTR, EmbeddingCollection, FIELD_SPECS, FontCollectionIndex, IMAGE_MEDIA_CONTENT_TYPES, LAYOUT_CATEGORIES, Media, OOXML_CANONICAL_PREFIXES, OoxmlMimeType, PART_REGISTRIES, PPTX_NS, PPTX_PARTS, ParsedArchive, PresetColor, RELATIONSHIP_TYPES, Relationships, STYLE_CATEGORIES, SchemeColor, SmartArtCollection, SystemColor, TargetModeType, TokenNotFoundError, VML_CORE_ATTRS, VML_OFFICE_CORE_ATTRS, VML_OFFICE_SHAPE_ATTRS, VML_SHAPE_ATTRS, XLSX_PARTS, ZIP_DEFLATE_LEVEL, ZIP_STORED_LEVEL, ZipStreamWriter, addBinaryFile, addModelBinaries, addSmartArtRelationships, appPropertiesDesc, appendContentType, appendOverride, appendRelationship, applyCorePropertiesOverride, assertEncryptedExclusive, bevelDesc, blipDesc, blipFillDesc, bodyPropertiesDesc, buildContentTypeOverrides, buildCorePropertiesXmlString, buildFill, buildHyperlinkElement, buildRootRelationships, buildThemeXml, buildUserShapesData, calculateEffectExtent, cell3DDesc, chartSpaceDesc, checkOrder, collectPassthroughParts, collectPlaceholderKeys, colorsDefDesc, compileMapping, connectorLockingDesc, contentTypesDesc, convertEmuToInches, convertEmuToPixels, convertEmuToPoints, convertEmuToTwip, convertInchesToEmu, convertInchesToTwip, convertMillimetersToTwip, convertOutput, convertPixelsToEmu, convertPointsToEmu, convertPointsToTwip, convertToEmu, convertToInch, convertToPt, convertToTwip, convertTwipToEmu, convertUniversalMeasureToEmu, convertUniversalMeasureToInch, convertUniversalMeasureToPt, convertUniversalMeasureToTwip, createAdjust, createAdjustList, createAnimateOneByOne, createAnimationLevel, createBevel, createBlip, createBlipEffects, createBlipFill, createBodyProperties, createBottomBevel, createColorElement, createColorTransforms, createColorsDefinitionHeader, createColorsDefinitionHeaderList, createConnectorLocking, createContentPartLocking, createCustomDash, createCustomGeometry, createDataModel, createDiagramExtensionList, createDiagramRelationshipIds, createDiagramShape3D, createDiagramStyle, createDiagramTextProperties, createEffectColorList, createEffectDag, createEffectList, createExtensionList, createFillColorList, createFillOverlayEffect, createGlowEffect, createGradientFill, createGradientStop, createGraphicFrameLocking, createGroupFill, createGroupLocking, createGroupTransform2D, createHierBranch, createHslColor, createInnerShadowEffect, createLayoutDefinitionHeader, createLayoutDefinitionHeaderList, createLineColorList, createLineEnd, createMaxChildren, createNoFill, createOrgChart, createOuterShadowEffect, createOutline, createPacker, createPatternFill, createPictureLocking, createPreferredChildren, createPresentationLayoutVariables, createPresetColor, createPresetShadowEffect, createReflectionEffect, createReplacer, createRgbColor, createRunRenderer, createScRgbColor, createScene3D, createSchemeColor, createShape3D, createShapeLocking, createSoftEdgeEffect, createSolidFill, createSourceRectangle, createSplitInject, createStyleDefinitionHeader, createStyleDefinitionHeaderList, createStyleLabel, createSystemColor, createTableStyle, createTableStyleList, createTextEffectColorList, createTextElementContents, createTextFillColorList, createTextLineColorList, createThemeXml, createTileInfo, createTokenReplacer, createTransform2D, createTraverser, createZipStream, customGeometryDesc, customPropertiesDesc, dateTimeValue, decimalNumber, decodeBase64, definitionId, deriveContentTypes, derivePasswordHash, diagramExtensionListDesc, diagramRelationshipIdsDesc, diagramStyleDesc, diffTagSets, dropDanglingPassthroughRels, effectListDesc, eighthPointMeasureValue, emitAngle, emitColorChoice, emitFillXml, emitPercent, encodeBase64, encryptedContainerOutput, encryptedContainerStream, extUriMatches, extractBlipFillMedia, fillDesc, finalizeContentTypes, findAndReplaceImagePlaceholders, findFieldSpec, findFillChild, formatId, getAudioRefs, getColorXml, getFirstLevelElements, getLayoutXml, getMediaRefs, getNextRelationshipIndex, getOleRefs, getReferencedMedia, getStyleXml, getVideoRefs, gradientFillDesc, graphicFrameLockingDesc, groupLockingDesc, groupShapePropertiesDesc, groupTransform2DDesc, hasPlaceholders, hashPasswordAgile, hashedId, hexBinary, hexColorValue, hpsMeasureValue, hslColorDesc, imageTypeFromPath, invertMap, isBase64DataURL, isEncryptedContainer, isPlainRgbColor, layoutDefDesc, levelForMediaName, longHexNumber, mapOptional, measurementOrPercentValue, nextNumericId, nextVmlShapeId, optionalRelsPart, outlineDesc, paragraphDesc, parse, parseAngle, parseArchive, parseBodyProperties, parseColorChoice, parseColorChoiceElement, parseColorDefinition, parseColorMapping, parseCorePropsElement, parseDataModelOptions, parseEndpointConnection, parseLayoutDefinition, parseNonVisualContentPartProperties, parseNonVisualDrawingProperties, parseOnOff, parsePercent, parsePercentAttr, parseShapeStyle, parseStyleDefinition, parseTableStyle, parseTableStyleList, parseTextStyles, parseUniversalMeasure, parseVariantValue, parseVector, parseVmlAnchorLock, parseVmlArc, parseVmlAttributes, parseVmlBackground, parseVmlBorder, parseVmlCallout, parseVmlClientData, parseVmlClipPath, parseVmlColorMenu, parseVmlColorMru, parseVmlComplex, parseVmlCurve, parseVmlDiagram, parseVmlEquationXml, parseVmlExtrusion, parseVmlFill, parseVmlFormulas, parseVmlGroup, parseVmlHandles, parseVmlImage, parseVmlImageData, parseVmlInk, parseVmlIsComment, parseVmlLine, parseVmlLock, parseVmlOfficeFill, parseVmlOleObject, parseVmlOval, parseVmlPath, parseVmlPolyline, parseVmlRect, parseVmlRoundRect, parseVmlShadow, parseVmlShape, parseVmlShapeChild, parseVmlShapeDefaults, parseVmlShapeLayout, parseVmlShapeStyle, parseVmlShapetype, parseVmlSignatureLine, parseVmlSkew, parseVmlStroke, parseVmlStyle, parseVmlTextData, parseVmlTextPath, parseVmlTextbox, parseVmlTrueFalse, parseVmlTrueFalseBlank, parseVmlWrap, partPathToRelsPath, patchSpaceAttribute, patternFillDesc, percentageValue, pickConnectorBase, pickGroupBase, pickNonVisualDrawingProperties, pictureLockingDesc, pointMeasureValue, positiveUniversalMeasureValue, presentationLayoutVariablesDesc, presetColorDesc, presetGeometryDesc, randomBytes, readHyperlink, readParagraphProperties, registerHyperlink, removeOverride, replaceAllPlaceholders, replaceAudioPlaceholders, replaceChartPlaceholders, replaceHyperlinkPlaceholders, replaceImageLinkPlaceholders, replaceImagePlaceholders, replaceMediaPlaceholders, replaceNumberingPlaceholders, replaceOleLinkPlaceholders, replaceOlePlaceholders, replacePlaceholders, replaceSmartArtPlaceholders, replaceVideoPlaceholders, resolveRelationshipTarget, resolverFromRegistry, rgbColorDesc, roundTripFields, runPropertiesDesc, scRgbColorDesc, scene3DDesc, schemeColorDesc, shape3DDesc, shapeLockingDesc, shapePropertiesDesc, shortHexNumber, signedHpsMeasureValue, signedTwipsMeasureValue, solidFillDesc, sourceRectangleDesc, strFromU8, stretchDesc, stringify, stringifyAdjustmentValues, stringifyBlipEffects, stringifyColorChoice, stringifyColorDefinition, stringifyColorDefinitionPart, stringifyColorMapping, stringifyConnection, stringifyDataModel, stringifyDataModelOptions, stringifyEndpointConnection, stringifyLayoutDefinition, stringifyLayoutDefinitionPart, stringifyLineProperties, stringifyNonVisualContentPartProperties, stringifyNonVisualDrawingProperties, stringifyParagraphPropertiesElement, stringifyPoint, stringifyPresetGeometry, stringifyRunProperties, stringifyShapeStyle, stringifyStretch, stringifyStringVector, stringifyStyleDefinition, stringifyStyleDefinitionPart, stringifyTextListStyleTag, stringifyTextRun, stringifyTextStyles, stringifyTransPoint, stringifyVariantValue, stringifyVmlAnchorLock, stringifyVmlArc, stringifyVmlAttributes, stringifyVmlBackground, stringifyVmlBorder, stringifyVmlCallout, stringifyVmlClientData, stringifyVmlClipPath, stringifyVmlColorMenu, stringifyVmlColorMru, stringifyVmlComplex, stringifyVmlCurve, stringifyVmlDiagram, stringifyVmlEquationXml, stringifyVmlExtrusion, stringifyVmlFill, stringifyVmlFormulas, stringifyVmlGroup, stringifyVmlHandles, stringifyVmlImage, stringifyVmlImageData, stringifyVmlInk, stringifyVmlIsComment, stringifyVmlLine, stringifyVmlLock, stringifyVmlOfficeFill, stringifyVmlOleObject, stringifyVmlOval, stringifyVmlPath, stringifyVmlPolyline, stringifyVmlRect, stringifyVmlRoundRect, stringifyVmlShadow, stringifyVmlShape, stringifyVmlShapeChild, stringifyVmlShapeDefaults, stringifyVmlShapeLayout, stringifyVmlShapetype, stringifyVmlSignatureLine, stringifyVmlSkew, stringifyVmlStroke, stringifyVmlStyle, stringifyVmlTextData, stringifyVmlTextPath, stringifyVmlTextbox, stringifyVmlTrueFalse, stringifyVmlTrueFalseBlank, stringifyVmlWrap, stripColorHashPrefix, styleDefDesc, summarizeOpcIssues, systemColorDesc, textBodyDesc, textListStyleDesc, textRunDesc, textStylesDesc, themeDesc, themeManagerDesc, themeOverrideDesc, tileDesc, toJson, toUint8Array, toUint8ArrayAsync, transform2DDesc, twipsMeasureValue, uCharHexNumber, uniqueId, uniqueNumericIdCreator, uniqueUuid, universalMeasureValue, unsignedDecimalNumber, unzipSync, userShapesDesc, validateOpcConsistency, withDiagramNamespaces, xsdAnimCalcMode, xsdAnimClass, xsdAnimLevel, xsdAnimValueType, xsdAnimationDgmBuild, xsdAxisCrossBetween, xsdAxisCrosses, xsdAxisLabelAlignment, xsdAxisOrientation, xsdAxisPosition, xsdBlendMode, xsdChartBuild, xsdComments, xsdCompoundLine, xsdConsolidateFunction, xsdDataLabelPosition, xsdDiagramBuild, xsdDiagramDirection, xsdEffectContainer, xsdErrorValueType, xsdFontAlignment, xsdHierBranch, xsdHueDirection, xsdIterateType, xsdJcAlignment, xsdLegendPosition, xsdLightRigDirection, xsdLineCap, xsdLineEndSize, xsdMaterialType, xsdMathStyle, xsdOrient, xsdPathFillMode, xsdPattern, xsdPenAlignment, xsdPlaceholderType, xsdPresetShadow, xsdRectAlignment, xsdResizeHandles, xsdShadingPattern, xsdSizeRepresents, xsdSlideLayoutType, xsdSplitType, xsdStrikeStyle, xsdTableWidthType, xsdTextAlign, xsdTextAnchor, xsdTextBuild, xsdTextCaps, xsdTextTabAlignment, xsdTextVerticalType, xsdTotalsRowFunction, xsdTrendlineType, xsdUnderlineStyle, xsdVerticalMergeRev, zipAndConvert, zipSync, zipSyncAndConvert };
2840
2691
 
2841
2692
  //# sourceMappingURL=index.mjs.map