@office-open/core 0.13.2 → 0.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chart/index.d.mts +1 -1
- package/dist/chart/index.mjs +1 -1
- package/dist/{chart-Bn_McAo-.mjs → chart-D0AdnVLT.mjs} +4 -4
- package/dist/{chart-Bn_McAo-.mjs.map → chart-D0AdnVLT.mjs.map} +1 -1
- package/dist/{data-type-CZMKVaaT.d.mts → data-type-BPt5FhW6.d.mts} +3 -2
- package/dist/{data-type-CZMKVaaT.d.mts.map → data-type-BPt5FhW6.d.mts.map} +1 -1
- package/dist/drawing/index.d.mts +1 -1
- package/dist/drawing/index.mjs +1 -1
- package/dist/{drawing-DJ363Awy.mjs → drawing-BP4zc7an.mjs} +2 -2
- package/dist/{drawing-DJ363Awy.mjs.map → drawing-BP4zc7an.mjs.map} +1 -1
- package/dist/{ext-uri-BR1ouCh3.mjs → ext-uri-5jTDczSP.mjs} +29 -2
- package/dist/ext-uri-5jTDczSP.mjs.map +1 -0
- package/dist/{index-CaNwM5_e.d.mts → index-CRgVoXmj.d.mts} +2 -2
- package/dist/{index-CaNwM5_e.d.mts.map → index-CRgVoXmj.d.mts.map} +1 -1
- package/dist/{index-6_MYd0cg.d.mts → index-DgHJCwlm.d.mts} +4 -4
- package/dist/{index-6_MYd0cg.d.mts.map → index-DgHJCwlm.d.mts.map} +1 -1
- package/dist/{index-BDeoFmTS.d.mts → index-DyrVZEy8.d.mts} +2 -2
- package/dist/{index-BDeoFmTS.d.mts.map → index-DyrVZEy8.d.mts.map} +1 -1
- package/dist/{index-Dg0nIw2S.d.mts → index-Qn5Vcn1O.d.mts} +4 -4
- package/dist/{index-Dg0nIw2S.d.mts.map → index-Qn5Vcn1O.d.mts.map} +1 -1
- package/dist/{index-DOtPArpl.d.mts → index-x3qerhXD.d.mts} +2 -2
- package/dist/{index-DOtPArpl.d.mts.map → index-x3qerhXD.d.mts.map} +1 -1
- package/dist/index.d.mts +14 -9
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +322 -28
- package/dist/index.mjs.map +1 -1
- package/dist/patch/index.d.mts +1 -1
- package/dist/smartart/index.d.mts +1 -1
- package/dist/smartart/index.mjs +1 -1
- package/dist/{smartart-D-8KBdQ_.mjs → smartart-CrVPot34.mjs} +4 -4
- package/dist/{smartart-D-8KBdQ_.mjs.map → smartart-CrVPot34.mjs.map} +1 -1
- package/dist/{style-matrix-B6YSVw6a.mjs → style-matrix-B69960kl.mjs} +2 -2
- package/dist/{style-matrix-B6YSVw6a.mjs.map → style-matrix-B69960kl.mjs.map} +1 -1
- package/dist/theme/index.d.mts +3 -3
- package/dist/theme/index.mjs +2 -2
- package/dist/{theme-BdqG5lmO.mjs → theme-BINSAPMD.mjs} +3 -3
- package/dist/{theme-BdqG5lmO.mjs.map → theme-BINSAPMD.mjs.map} +1 -1
- package/dist/{theme-options-wZX4i_xx.d.mts → theme-options-BfGRKvbu.d.mts} +2 -2
- package/dist/{theme-options-wZX4i_xx.d.mts.map → theme-options-BfGRKvbu.d.mts.map} +1 -1
- package/dist/util/index.d.mts +2 -2
- package/dist/util/index.mjs +3 -3
- package/dist/{util-BGfk-gE0.mjs → util-D61LJ_Wz.mjs} +74 -20
- package/dist/util-D61LJ_Wz.mjs.map +1 -0
- package/package.json +2 -2
- package/dist/ext-uri-BR1ouCh3.mjs.map +0 -1
- package/dist/util-BGfk-gE0.mjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { A as ZIP_STORED_LEVEL, B as OoxmlMimeType, C as replaceVideoPlaceholders, D as addBinaryFile, E as randomBytes, F as strFromU8, H as
|
|
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";
|
|
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
|
|
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-
|
|
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-
|
|
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";
|
|
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-
|
|
8
|
-
import { i as ChartCollection, n as userShapesDesc, r as chartSpaceDesc, t as buildUserShapesData } from "./chart-
|
|
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";
|
|
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-
|
|
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
12
|
import { attr, escapeXml, parse as parse$1, stringify as stringify$1, textOf } from "@office-open/xml";
|
|
13
|
-
import { strFromU8 as strFromU8$1, strToU8, unzipSync as unzipSync$1, zipSync as zipSync$1 } from "fflate";
|
|
13
|
+
import { inflateSync, strFromU8 as strFromU8$1, strToU8, unzipSync as unzipSync$1, zipSync as zipSync$1 } from "fflate";
|
|
14
14
|
//#region src/opc/relationships.ts
|
|
15
15
|
const TargetModeType = { EXTERNAL: "External" };
|
|
16
16
|
/**
|
|
@@ -770,6 +770,172 @@ function assertEncryptedExclusive(file, hasContent) {
|
|
|
770
770
|
if (file.encrypted && hasContent) throw new Error("Encrypted passthrough carries no editable content — clear the content fields or drop `encrypted`.");
|
|
771
771
|
}
|
|
772
772
|
//#endregion
|
|
773
|
+
//#region src/opc/byte-source.ts
|
|
774
|
+
/** Blob/File source — every read is a `slice()` window, the package never materializes. */
|
|
775
|
+
function blobSource(blob) {
|
|
776
|
+
return {
|
|
777
|
+
byteLength: blob.size,
|
|
778
|
+
async read(offset, length) {
|
|
779
|
+
const buf = await blob.slice(offset, offset + length).arrayBuffer();
|
|
780
|
+
return new Uint8Array(buf);
|
|
781
|
+
},
|
|
782
|
+
stream(offset, length) {
|
|
783
|
+
return blob.slice(offset, offset + length).stream();
|
|
784
|
+
}
|
|
785
|
+
};
|
|
786
|
+
}
|
|
787
|
+
//#endregion
|
|
788
|
+
//#region src/opc/gfxdata.ts
|
|
789
|
+
/**
|
|
790
|
+
* Byte-level strip of oversized `o:gfxdata` attribute values from XML parts.
|
|
791
|
+
*
|
|
792
|
+
* `o:gfxdata` (ISO/IEC 29500-4 §19.1.2.19) carries a base64 DrawingML
|
|
793
|
+
* snapshot alongside VML fallback markup; per the spec's own rationale the
|
|
794
|
+
* VML child elements handle the visual display and the attribute only
|
|
795
|
+
* persists the original content for DrawingML-aware consumers. Generators
|
|
796
|
+
* that copy-paste VML shapes duplicate the snapshot per copy, inflating
|
|
797
|
+
* document.xml into the gigabyte range (measured corpus: 42 values,
|
|
798
|
+
* 1.57 GB, 87.7% of the part) and hard-crashing XML parse at the JS string
|
|
799
|
+
* length cap. The attribute is unmodeled on v:group — the model layer
|
|
800
|
+
* already drops it there — so stripping oversized values loses nothing the
|
|
801
|
+
* parse would have kept; the threshold spares normal shape snapshots
|
|
802
|
+
* (tens of KB).
|
|
803
|
+
*
|
|
804
|
+
* @module
|
|
805
|
+
*/
|
|
806
|
+
/**
|
|
807
|
+
* Attribute values above this size (1 MB — far above any legitimate shape
|
|
808
|
+
* snapshot) are stripped before XML parse.
|
|
809
|
+
*/
|
|
810
|
+
const GFXDATA_STRIP_THRESHOLD = 1048576;
|
|
811
|
+
const NEEDLE = "o:gfxdata=\"";
|
|
812
|
+
/**
|
|
813
|
+
* Remove `o:gfxdata="…"` attributes whose value exceeds `threshold` bytes.
|
|
814
|
+
* Single scan to size the output (a subarray view would pin the oversized
|
|
815
|
+
* source buffer), then one copy pass. Returns the input unchanged when
|
|
816
|
+
* nothing oversized is present; an unterminated attribute value is left
|
|
817
|
+
* verbatim.
|
|
818
|
+
*/
|
|
819
|
+
function stripOversizedGfxdata(xml, threshold = GFXDATA_STRIP_THRESHOLD) {
|
|
820
|
+
let cursor = 0;
|
|
821
|
+
let kept = 0;
|
|
822
|
+
const drops = [];
|
|
823
|
+
for (;;) {
|
|
824
|
+
const hit = findNeedle(xml, cursor);
|
|
825
|
+
if (hit === -1) break;
|
|
826
|
+
const valueStart = hit + 11;
|
|
827
|
+
let close = valueStart;
|
|
828
|
+
while (close < xml.length && xml[close] !== 34) close++;
|
|
829
|
+
if (close === xml.length) break;
|
|
830
|
+
if (close - valueStart > threshold) {
|
|
831
|
+
drops.push([hit, close + 1]);
|
|
832
|
+
kept += hit - cursor;
|
|
833
|
+
} else kept += close + 1 - cursor;
|
|
834
|
+
cursor = close + 1;
|
|
835
|
+
}
|
|
836
|
+
if (drops.length === 0) return xml;
|
|
837
|
+
const out = new Uint8Array(kept + (xml.length - cursor));
|
|
838
|
+
let write = 0;
|
|
839
|
+
let source = 0;
|
|
840
|
+
for (const [start, end] of drops) {
|
|
841
|
+
out.set(xml.subarray(source, start), write);
|
|
842
|
+
write += start - source;
|
|
843
|
+
source = end;
|
|
844
|
+
}
|
|
845
|
+
out.set(xml.subarray(source), write);
|
|
846
|
+
return out;
|
|
847
|
+
}
|
|
848
|
+
/** First index of the needle at or after `from`, byte-wise. */
|
|
849
|
+
function findNeedle(xml, from) {
|
|
850
|
+
const first = NEEDLE.charCodeAt(0);
|
|
851
|
+
const last = xml.length - 11;
|
|
852
|
+
for (let i = from; i <= last; i++) {
|
|
853
|
+
if (xml[i] !== first) continue;
|
|
854
|
+
let m = 1;
|
|
855
|
+
while (m < 11 && xml[i + m] === NEEDLE.charCodeAt(m)) m++;
|
|
856
|
+
if (m === 11) return i;
|
|
857
|
+
}
|
|
858
|
+
return -1;
|
|
859
|
+
}
|
|
860
|
+
const QUOTE = 34;
|
|
861
|
+
/** Chunks can split the needle; this many tail bytes are held back between chunks. */
|
|
862
|
+
const NEEDLE_LEN = 11;
|
|
863
|
+
function concatChunks(chunks) {
|
|
864
|
+
let total = 0;
|
|
865
|
+
for (const c of chunks) total += c.length;
|
|
866
|
+
const out = new Uint8Array(total);
|
|
867
|
+
let offset = 0;
|
|
868
|
+
for (const c of chunks) {
|
|
869
|
+
out.set(c, offset);
|
|
870
|
+
offset += c.length;
|
|
871
|
+
}
|
|
872
|
+
return out;
|
|
873
|
+
}
|
|
874
|
+
/**
|
|
875
|
+
* Transform stream removing oversized `o:gfxdata="…"` attribute values on the
|
|
876
|
+
* fly. Feed it inflated XML chunks; the readable side yields the XML with
|
|
877
|
+
* those attributes already gone.
|
|
878
|
+
*/
|
|
879
|
+
function gfxdataStripStream(threshold = GFXDATA_STRIP_THRESHOLD) {
|
|
880
|
+
let carry = /* @__PURE__ */ new Uint8Array(0);
|
|
881
|
+
let mode = "scan";
|
|
882
|
+
let collected = [];
|
|
883
|
+
let valueLen = 0;
|
|
884
|
+
return new TransformStream({
|
|
885
|
+
transform(chunk, controller) {
|
|
886
|
+
const buf = carry.length > 0 ? concatChunks([carry, chunk]) : chunk;
|
|
887
|
+
carry = /* @__PURE__ */ new Uint8Array(0);
|
|
888
|
+
let i = 0;
|
|
889
|
+
const out = [];
|
|
890
|
+
const emitPending = () => {
|
|
891
|
+
if (out.length === 1) controller.enqueue(out[0]);
|
|
892
|
+
else if (out.length > 1) controller.enqueue(concatChunks(out));
|
|
893
|
+
};
|
|
894
|
+
while (true) if (mode === "scan") {
|
|
895
|
+
if (i >= buf.length) break;
|
|
896
|
+
const hit = findNeedle(buf, i);
|
|
897
|
+
if (hit === -1) {
|
|
898
|
+
const keepFrom = Math.max(i, buf.length - 10);
|
|
899
|
+
if (keepFrom > i) out.push(buf.subarray(i, keepFrom));
|
|
900
|
+
carry = buf.slice(keepFrom);
|
|
901
|
+
break;
|
|
902
|
+
}
|
|
903
|
+
if (hit > i) out.push(buf.subarray(i, hit));
|
|
904
|
+
collected = Array.from(NEEDLE, (ch) => ch.charCodeAt(0));
|
|
905
|
+
valueLen = 0;
|
|
906
|
+
mode = "collecting";
|
|
907
|
+
i = hit + NEEDLE_LEN;
|
|
908
|
+
} else {
|
|
909
|
+
let q = i;
|
|
910
|
+
while (q < buf.length && buf[q] !== QUOTE) {
|
|
911
|
+
if (mode === "collecting") {
|
|
912
|
+
collected.push(buf[q]);
|
|
913
|
+
valueLen++;
|
|
914
|
+
if (valueLen > threshold) {
|
|
915
|
+
mode = "discarding";
|
|
916
|
+
collected = [];
|
|
917
|
+
}
|
|
918
|
+
}
|
|
919
|
+
q++;
|
|
920
|
+
}
|
|
921
|
+
if (q === buf.length) break;
|
|
922
|
+
if (mode === "collecting") out.push(new Uint8Array(collected));
|
|
923
|
+
out.push(buf.subarray(q, q + 1));
|
|
924
|
+
collected = [];
|
|
925
|
+
mode = "scan";
|
|
926
|
+
i = q + 1;
|
|
927
|
+
}
|
|
928
|
+
emitPending();
|
|
929
|
+
},
|
|
930
|
+
flush(controller) {
|
|
931
|
+
if (mode === "collecting") controller.enqueue(new Uint8Array(collected));
|
|
932
|
+
else if (mode === "scan" && carry.length > 0) controller.enqueue(carry);
|
|
933
|
+
carry = /* @__PURE__ */ new Uint8Array(0);
|
|
934
|
+
collected = [];
|
|
935
|
+
}
|
|
936
|
+
});
|
|
937
|
+
}
|
|
938
|
+
//#endregion
|
|
773
939
|
//#region src/opc/namespaces.ts
|
|
774
940
|
/**
|
|
775
941
|
* Namespace URI → canonical prefix table for parse-time normalization.
|
|
@@ -958,6 +1124,43 @@ const OOXML_CANONICAL_PREFIXES = {
|
|
|
958
1124
|
[`${SCHEMAS_MS}/office/spreadsheetml/2016/revision6`]: "xr6",
|
|
959
1125
|
[`${SCHEMAS_MS}/office/spreadsheetml/2016/revision10`]: "xr10"
|
|
960
1126
|
};
|
|
1127
|
+
/**
|
|
1128
|
+
* Inflate a compressed zip entry from `source`, streaming when the entry is
|
|
1129
|
+
* an oversized XML part (the gfxdata-stripping transform rides along) and
|
|
1130
|
+
* reading a plain window otherwise. STORE entries skip decompression. No
|
|
1131
|
+
* CRC-32 is verified on the streaming path — the JS table costs more than
|
|
1132
|
+
* the inflate itself at these sizes, and the fflate fallback parity is
|
|
1133
|
+
* check-free by contract. XML parts get oversized `o:gfxdata` values
|
|
1134
|
+
* stripped on both paths, matching the bytes-backed archive behavior.
|
|
1135
|
+
*/
|
|
1136
|
+
async function inflateEntryFrom(source, entry) {
|
|
1137
|
+
const xml = entry.name.endsWith(".xml");
|
|
1138
|
+
const raw = await source.read(entry.dataStart, entry.compSize);
|
|
1139
|
+
if (entry.method === 0) return xml ? stripOversizedGfxdata(raw) : raw;
|
|
1140
|
+
if (xml && entry.uncompSize > 33554432 && typeof DecompressionStream !== "undefined") return inflateRawStreaming(source, entry);
|
|
1141
|
+
const data = inflateRawWindow(raw, entry);
|
|
1142
|
+
return xml ? stripOversizedGfxdata(data) : data;
|
|
1143
|
+
}
|
|
1144
|
+
/** Stream `slice → DecompressionStream → gfxdata strip` and join the output. */
|
|
1145
|
+
async function inflateRawStreaming(source, entry) {
|
|
1146
|
+
const decoded = source.stream(entry.dataStart, entry.compSize).pipeThrough(new DecompressionStream("deflate-raw")).pipeThrough(gfxdataStripStream());
|
|
1147
|
+
const chunks = [];
|
|
1148
|
+
let total = 0;
|
|
1149
|
+
const reader = decoded.getReader();
|
|
1150
|
+
for (;;) {
|
|
1151
|
+
const { done, value } = await reader.read();
|
|
1152
|
+
if (done) break;
|
|
1153
|
+
chunks.push(value);
|
|
1154
|
+
total += value.length;
|
|
1155
|
+
}
|
|
1156
|
+
const out = new Uint8Array(total);
|
|
1157
|
+
let offset = 0;
|
|
1158
|
+
for (const chunk of chunks) {
|
|
1159
|
+
out.set(chunk, offset);
|
|
1160
|
+
offset += chunk.length;
|
|
1161
|
+
}
|
|
1162
|
+
return out;
|
|
1163
|
+
}
|
|
961
1164
|
//#endregion
|
|
962
1165
|
//#region src/opc/parser.ts
|
|
963
1166
|
const XML_PARSE_OPTIONS = {
|
|
@@ -966,23 +1169,91 @@ const XML_PARSE_OPTIONS = {
|
|
|
966
1169
|
normalizeNamespaces: OOXML_CANONICAL_PREFIXES
|
|
967
1170
|
};
|
|
968
1171
|
/**
|
|
969
|
-
* Parsed OOXML archive backed by
|
|
1172
|
+
* Parsed OOXML archive backed by a lazily-inflated ZIP.
|
|
1173
|
+
*
|
|
1174
|
+
* The constructor walks the central directory only — no entry is decompressed
|
|
1175
|
+
* until first read — so opening a package costs an index build (milliseconds
|
|
1176
|
+
* even on multi-hundred-part archives) instead of a full inflate. Parts are
|
|
1177
|
+
* inflated on demand and cached; XML parts additionally have oversized
|
|
1178
|
+
* `o:gfxdata` attribute values stripped before parse (see
|
|
1179
|
+
* {@link stripOversizedGfxdata}).
|
|
970
1180
|
*
|
|
971
1181
|
* Provides unstorage-style API (get/set/getRaw/setRaw/remove/has/keys)
|
|
972
1182
|
* for reading and modifying individual parts, then serializing back to a ZIP buffer.
|
|
973
1183
|
*/
|
|
974
|
-
var ParsedArchive = class {
|
|
975
|
-
|
|
1184
|
+
var ParsedArchive = class ParsedArchive {
|
|
1185
|
+
source;
|
|
1186
|
+
/** Compressed entries not yet inflated (empty on the eager fallback path). */
|
|
1187
|
+
index;
|
|
1188
|
+
/** Inflated parts, populated on demand (and wholesale on the eager fallback). */
|
|
1189
|
+
parts = /* @__PURE__ */ new Map();
|
|
976
1190
|
modified = /* @__PURE__ */ new Map();
|
|
977
1191
|
wrapperCache = /* @__PURE__ */ new Map();
|
|
1192
|
+
/**
|
|
1193
|
+
* Central-directory order of every entry. keys() is ordered by this so a
|
|
1194
|
+
* bytes-backed archive (entries migrate index→parts as they are read) and
|
|
1195
|
+
* a Blob-backed one (hydrated wholesale) list parts identically — callers
|
|
1196
|
+
* compare parsed documents, and part order leaks into them.
|
|
1197
|
+
*/
|
|
1198
|
+
order;
|
|
978
1199
|
constructor(data) {
|
|
979
|
-
|
|
1200
|
+
this.source = data;
|
|
1201
|
+
let entries;
|
|
980
1202
|
try {
|
|
981
|
-
|
|
1203
|
+
entries = readCentralDirectory(data);
|
|
982
1204
|
} catch {
|
|
983
|
-
|
|
1205
|
+
const eager = unzipSync$1(data);
|
|
1206
|
+
for (const [name, bytes] of Object.entries(eager)) this.parts.set(name, bytes);
|
|
1207
|
+
this.index = /* @__PURE__ */ new Map();
|
|
1208
|
+
this.order = Object.keys(eager);
|
|
1209
|
+
return;
|
|
984
1210
|
}
|
|
985
|
-
this.
|
|
1211
|
+
this.index = new Map(entries.map((e) => [e.name, e]));
|
|
1212
|
+
this.order = entries.map((e) => e.name);
|
|
1213
|
+
}
|
|
1214
|
+
/**
|
|
1215
|
+
* Open an archive from bytes or a `Blob`/`File`. Bytes take the synchronous
|
|
1216
|
+
* constructor path; a Blob is read through {@link blobSource} random-access
|
|
1217
|
+
* windows — the package never materializes as one contiguous buffer — and
|
|
1218
|
+
* every entry is decompressed up front (oversized XML through the streaming
|
|
1219
|
+
* pipeline), so the returned archive serves the same synchronous
|
|
1220
|
+
* `get`/`getRaw` API as a bytes-backed one.
|
|
1221
|
+
*/
|
|
1222
|
+
static async open(data) {
|
|
1223
|
+
if (!(data instanceof Blob)) return new ParsedArchive(data);
|
|
1224
|
+
const source = blobSource(data);
|
|
1225
|
+
let entries;
|
|
1226
|
+
try {
|
|
1227
|
+
entries = await readCentralDirectoryAsync(source);
|
|
1228
|
+
} catch {
|
|
1229
|
+
return new ParsedArchive(await toUint8ArrayAsync(data));
|
|
1230
|
+
}
|
|
1231
|
+
const archive = Object.create(ParsedArchive.prototype);
|
|
1232
|
+
archive.source = source;
|
|
1233
|
+
archive.index = new Map(entries.map((e) => [e.name, e]));
|
|
1234
|
+
archive.parts = /* @__PURE__ */ new Map();
|
|
1235
|
+
archive.modified = /* @__PURE__ */ new Map();
|
|
1236
|
+
archive.wrapperCache = /* @__PURE__ */ new Map();
|
|
1237
|
+
archive.order = entries.map((e) => e.name);
|
|
1238
|
+
await hydrateArchive(archive);
|
|
1239
|
+
return archive;
|
|
1240
|
+
}
|
|
1241
|
+
/** Inflate and cache the compressed entry for `path`, if still compressed. */
|
|
1242
|
+
inflate(path) {
|
|
1243
|
+
const entry = this.index.get(path);
|
|
1244
|
+
if (entry === void 0) return void 0;
|
|
1245
|
+
const bytes = this.source;
|
|
1246
|
+
let data;
|
|
1247
|
+
try {
|
|
1248
|
+
data = inflateZipEntry(bytes, entry);
|
|
1249
|
+
} catch {
|
|
1250
|
+
const raw = bytes.subarray(entry.dataStart, entry.dataStart + entry.compSize);
|
|
1251
|
+
data = entry.method === 0 ? raw.slice() : inflateSync(raw);
|
|
1252
|
+
}
|
|
1253
|
+
if (path.endsWith(".xml")) data = stripOversizedGfxdata(data);
|
|
1254
|
+
this.index.delete(path);
|
|
1255
|
+
this.parts.set(path, data);
|
|
1256
|
+
return data;
|
|
986
1257
|
}
|
|
987
1258
|
/**
|
|
988
1259
|
* Read an XML part as an Element tree. `parseOptions` extends the default
|
|
@@ -1001,7 +1272,7 @@ var ParsedArchive = class {
|
|
|
1001
1272
|
this.wrapperCache.set(path, wrapper);
|
|
1002
1273
|
return wrapper.elements?.find((e) => e.type === "element");
|
|
1003
1274
|
}
|
|
1004
|
-
const data = this.
|
|
1275
|
+
const data = this.parts.get(path) ?? this.inflate(path);
|
|
1005
1276
|
if (data === void 0) return void 0;
|
|
1006
1277
|
const cached = this.wrapperCache.get(path);
|
|
1007
1278
|
if (cached) return cached.elements?.find((e) => e.type === "element");
|
|
@@ -1027,7 +1298,7 @@ var ParsedArchive = class {
|
|
|
1027
1298
|
}
|
|
1028
1299
|
/** Read raw binary data (images, media, etc.). */
|
|
1029
1300
|
getRaw(path) {
|
|
1030
|
-
return this.modified.get(path) ?? this.
|
|
1301
|
+
return this.modified.get(path) ?? this.parts.get(path) ?? this.inflate(path);
|
|
1031
1302
|
}
|
|
1032
1303
|
/** Write raw binary data. */
|
|
1033
1304
|
setRaw(path, data) {
|
|
@@ -1037,24 +1308,35 @@ var ParsedArchive = class {
|
|
|
1037
1308
|
/** Remove a part. Returns true if it existed. */
|
|
1038
1309
|
remove(path) {
|
|
1039
1310
|
this.wrapperCache.delete(path);
|
|
1040
|
-
return this.modified.delete(path) || this.
|
|
1311
|
+
return this.modified.delete(path) || this.parts.delete(path) || this.index.delete(path);
|
|
1041
1312
|
}
|
|
1042
1313
|
/** Check if a part exists. */
|
|
1043
1314
|
has(path) {
|
|
1044
|
-
return this.modified.has(path) || this.
|
|
1315
|
+
return this.modified.has(path) || this.parts.has(path) || this.index.has(path);
|
|
1045
1316
|
}
|
|
1046
|
-
/** List all paths matching an optional prefix. */
|
|
1317
|
+
/** List all paths matching an optional prefix, in central-directory order. */
|
|
1047
1318
|
keys(prefix) {
|
|
1048
|
-
const
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1319
|
+
const seen = /* @__PURE__ */ new Set();
|
|
1320
|
+
const collect = (key) => {
|
|
1321
|
+
if (!prefix || key.startsWith(prefix)) seen.add(key);
|
|
1322
|
+
};
|
|
1323
|
+
for (const key of this.order) collect(key);
|
|
1324
|
+
for (const key of this.parts.keys()) collect(key);
|
|
1325
|
+
for (const key of this.modified.keys()) collect(key);
|
|
1326
|
+
return [...seen];
|
|
1052
1327
|
}
|
|
1053
|
-
/** Serialize back to a ZIP buffer,
|
|
1328
|
+
/** Serialize back to a ZIP buffer, inflating any untouched compressed entries. */
|
|
1054
1329
|
save() {
|
|
1055
1330
|
const files = {};
|
|
1056
|
-
|
|
1057
|
-
|
|
1331
|
+
const collect = (path, data) => {
|
|
1332
|
+
files[path] = [data, { level: levelForMediaName(path, 6) }];
|
|
1333
|
+
};
|
|
1334
|
+
for (const path of this.keys()) {
|
|
1335
|
+
if (this.modified.has(path)) continue;
|
|
1336
|
+
const data = this.parts.get(path) ?? this.inflate(path);
|
|
1337
|
+
if (data !== void 0) collect(path, data);
|
|
1338
|
+
}
|
|
1339
|
+
for (const [path, data] of this.modified) collect(path, data);
|
|
1058
1340
|
return zipSync$1(files);
|
|
1059
1341
|
}
|
|
1060
1342
|
};
|
|
@@ -1062,6 +1344,18 @@ var ParsedArchive = class {
|
|
|
1062
1344
|
function parseArchive(data) {
|
|
1063
1345
|
return new ParsedArchive(data);
|
|
1064
1346
|
}
|
|
1347
|
+
/** Decompress every indexed entry (Blob-backed open — after this, sync reads). */
|
|
1348
|
+
async function hydrateArchive(archive) {
|
|
1349
|
+
const source = archive.source;
|
|
1350
|
+
for (const entry of archive.index.values()) {
|
|
1351
|
+
const data = await inflateEntryFrom(source, entry).catch(async () => {
|
|
1352
|
+
const raw = await source.read(entry.dataStart, entry.compSize);
|
|
1353
|
+
return entry.method === 0 ? raw.slice() : inflateSync(raw);
|
|
1354
|
+
});
|
|
1355
|
+
archive.index.delete(entry.name);
|
|
1356
|
+
archive.parts.set(entry.name, data);
|
|
1357
|
+
}
|
|
1358
|
+
}
|
|
1065
1359
|
//#endregion
|
|
1066
1360
|
//#region src/opc/opc-consistency.ts
|
|
1067
1361
|
/**
|
|
@@ -2542,6 +2836,6 @@ function pickGroupBase(opts) {
|
|
|
2542
2836
|
};
|
|
2543
2837
|
}
|
|
2544
2838
|
//#endregion
|
|
2545
|
-
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, 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 };
|
|
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 };
|
|
2546
2840
|
|
|
2547
2841
|
//# sourceMappingURL=index.mjs.map
|