@office-open/core 0.10.9 → 0.10.10
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/drawingml/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $n as createGradientStop, $t as createGroupLocking, A as customGeometryDesc, An as createGlowEffect, Ar as SystemColor, At as createStyleLabel, Bn as LineEndType, Bt as AnimateOneByOneValue, C as diagramStyleDesc, Cn as createSoftEdgeEffect, Ct as FontCollectionIndex, D as shape3DDesc, Dn as RectAlignment, Dt as createEffectColorList, E as scene3DDesc, En as createPresetShadowEffect, Et as createDiagramStyle, F as shapeLockingDesc, Fn as LineJoin, Fr as createRgbColor, Ft as createColorsDefinitionHeaderList, Gn as createNoFill, Gt as createAnimateOneByOne, Hn as createLineEnd, Ht as HierBranchStyle, I as effectListDesc, In as PenAlignment, Ir as PresetColor, It as createLayoutDefinitionHeader, Jn as PresetPattern, Jt as createMaxChildren, Kn as buildFill, Kt as createAnimationLevel, L as outlineDesc, Ln as PresetDash, Lr as createPresetColor, Lt as createLayoutDefinitionHeaderList, M as graphicFrameLockingDesc, Mn as createFillOverlayEffect, Mr as SchemeColor, Mt as createTextFillColorList, N as groupLockingDesc, Nn as CompoundLine, Nr as createSchemeColor, Nt as createTextLineColorList, O as groupTransform2DDesc, On as createOuterShadowEffect, Or as createColorElement, Ot as createFillColorList, P as pictureLockingDesc, Pn as LineCap, Pr as createScRgbColor, Pt as createColorsDefinitionHeader, Qn as createGradientFill, Qt as createGraphicFrameLocking, Rn as createOutline, Rr as createHslColor, Rt as createStyleDefinitionHeader, S as diagramRelationshipIdsDesc, Sn as createEffectList, St as ColorMethod, T as bevelDesc, Tn as PresetShadowVal, Tt as StyleMatrixIndex, Un as createCustomDash, Ut as createAdjust, Vn as LineEndWidth, Vt as AnimationLevelValue, Wn as createGroupFill, Wt as createAdjustList, Xn as PathShadeType, Xt as createPreferredChildren, Yn as createPatternFill, Yt as createOrgChart, Zn as TileFlipMode, Zt as createPresentationLayoutVariables, _n as createBevel, _t as systemColorDesc, an as createGroupTransform2D, at as blipFillDesc, bn as createEffectDag, br as createSourceRectangle, bt as createDiagramTextProperties, cn as createBlipFill, ct as tileDesc, dn as createCustomGeometry, dt as presetColorDesc, en as createPictureLocking, er as TileAlignment, fn as stringifyPresetGeometry, ft as rgbColorDesc, gn as BevelPresetType, gt as stringifyColorChoice, hn as createShape3D, ht as solidFillDesc, in as parseTableStyleList, it as blipDesc, j as presetGeometryDesc, jn as BlendMode, jr as createSystemColor, jt as createTextEffectColorList, k as transform2DDesc, kn as createInnerShadowEffect, kr as createSolidFill, kt as createLineColorList, ln as createBlip, lt as hslColorDesc, mn as PresetMaterialType, mt as schemeColorDesc, nn as createTableStyle, nt as gradientFillDesc, on as createTransform2D, ot as sourceRectangleDesc, pn as stringifyAdjustmentValues, pt as scRgbColorDesc, qn as extractBlipFillMedia, qt as createHierBranch, rn as createTableStyleList, rt as patternFillDesc, sn as stringifyStretch, st as stretchDesc, tn as createShapeLocking, tr as createTileInfo, tt as fillDesc, un as createExtentionList, ut as parseColorChoice, vn as createBottomBevel, vt as createDiagramExtensionList, w as presentationLayoutVariablesDesc, wn as createReflectionEffect, wt as HueDirection, x as diagramExtensionListDesc, xn as calculateEffectExtent, xr as createBlipEffects, xt as createDiagramRelationshipIds, yn as createScene3D, yt as createDiagramShape3D, zn as LineEndLength, zr as createColorTransforms, zt as createStyleDefinitionHeaderList } from "../src-
|
|
1
|
+
import { $n as createGradientStop, $t as createGroupLocking, A as customGeometryDesc, An as createGlowEffect, Ar as SystemColor, At as createStyleLabel, Bn as LineEndType, Bt as AnimateOneByOneValue, C as diagramStyleDesc, Cn as createSoftEdgeEffect, Ct as FontCollectionIndex, D as shape3DDesc, Dn as RectAlignment, Dt as createEffectColorList, E as scene3DDesc, En as createPresetShadowEffect, Et as createDiagramStyle, F as shapeLockingDesc, Fn as LineJoin, Fr as createRgbColor, Ft as createColorsDefinitionHeaderList, Gn as createNoFill, Gt as createAnimateOneByOne, Hn as createLineEnd, Ht as HierBranchStyle, I as effectListDesc, In as PenAlignment, Ir as PresetColor, It as createLayoutDefinitionHeader, Jn as PresetPattern, Jt as createMaxChildren, Kn as buildFill, Kt as createAnimationLevel, L as outlineDesc, Ln as PresetDash, Lr as createPresetColor, Lt as createLayoutDefinitionHeaderList, M as graphicFrameLockingDesc, Mn as createFillOverlayEffect, Mr as SchemeColor, Mt as createTextFillColorList, N as groupLockingDesc, Nn as CompoundLine, Nr as createSchemeColor, Nt as createTextLineColorList, O as groupTransform2DDesc, On as createOuterShadowEffect, Or as createColorElement, Ot as createFillColorList, P as pictureLockingDesc, Pn as LineCap, Pr as createScRgbColor, Pt as createColorsDefinitionHeader, Qn as createGradientFill, Qt as createGraphicFrameLocking, Rn as createOutline, Rr as createHslColor, Rt as createStyleDefinitionHeader, S as diagramRelationshipIdsDesc, Sn as createEffectList, St as ColorMethod, T as bevelDesc, Tn as PresetShadowVal, Tt as StyleMatrixIndex, Un as createCustomDash, Ut as createAdjust, Vn as LineEndWidth, Vt as AnimationLevelValue, Wn as createGroupFill, Wt as createAdjustList, Xn as PathShadeType, Xt as createPreferredChildren, Yn as createPatternFill, Yt as createOrgChart, Zn as TileFlipMode, Zt as createPresentationLayoutVariables, _n as createBevel, _t as systemColorDesc, an as createGroupTransform2D, at as blipFillDesc, bn as createEffectDag, br as createSourceRectangle, bt as createDiagramTextProperties, cn as createBlipFill, ct as tileDesc, dn as createCustomGeometry, dt as presetColorDesc, en as createPictureLocking, er as TileAlignment, fn as stringifyPresetGeometry, ft as rgbColorDesc, gn as BevelPresetType, gt as stringifyColorChoice, hn as createShape3D, ht as solidFillDesc, in as parseTableStyleList, it as blipDesc, j as presetGeometryDesc, jn as BlendMode, jr as createSystemColor, jt as createTextEffectColorList, k as transform2DDesc, kn as createInnerShadowEffect, kr as createSolidFill, kt as createLineColorList, ln as createBlip, lt as hslColorDesc, mn as PresetMaterialType, mt as schemeColorDesc, nn as createTableStyle, nt as gradientFillDesc, on as createTransform2D, ot as sourceRectangleDesc, pn as stringifyAdjustmentValues, pt as scRgbColorDesc, qn as extractBlipFillMedia, qt as createHierBranch, rn as createTableStyleList, rt as patternFillDesc, sn as stringifyStretch, st as stretchDesc, tn as createShapeLocking, tr as createTileInfo, tt as fillDesc, un as createExtentionList, ut as parseColorChoice, vn as createBottomBevel, vt as createDiagramExtensionList, w as presentationLayoutVariablesDesc, wn as createReflectionEffect, wt as HueDirection, x as diagramExtensionListDesc, xn as calculateEffectExtent, xr as createBlipEffects, xt as createDiagramRelationshipIds, yn as createScene3D, yt as createDiagramShape3D, zn as LineEndLength, zr as createColorTransforms, zt as createStyleDefinitionHeaderList } from "../src-CZhsuR-x.mjs";
|
|
2
2
|
export { AnimateOneByOneValue, AnimationLevelValue, BevelPresetType, BlendMode, ColorMethod, CompoundLine, FontCollectionIndex, HierBranchStyle, HueDirection, LineCap, LineEndLength, LineEndType, LineEndWidth, LineJoin, PathShadeType, PenAlignment, PresetColor, PresetDash, PresetMaterialType, PresetPattern, PresetShadowVal, RectAlignment, SchemeColor, StyleMatrixIndex, SystemColor, TileAlignment, TileFlipMode, bevelDesc, blipDesc, blipFillDesc, buildFill, calculateEffectExtent, createAdjust, createAdjustList, createAnimateOneByOne, createAnimationLevel, createBevel, createBlip, createBlipEffects, createBlipFill, createBottomBevel, createColorElement, createColorTransforms, createColorsDefinitionHeader, createColorsDefinitionHeaderList, createCustomDash, createCustomGeometry, createDiagramExtensionList, createDiagramRelationshipIds, createDiagramShape3D, createDiagramStyle, createDiagramTextProperties, createEffectColorList, createEffectDag, createEffectList, createExtentionList, createFillColorList, createFillOverlayEffect, createGlowEffect, createGradientFill, createGradientStop, createGraphicFrameLocking, createGroupFill, createGroupLocking, createGroupTransform2D, createHierBranch, createHslColor, createInnerShadowEffect, createLayoutDefinitionHeader, createLayoutDefinitionHeaderList, createLineColorList, createLineEnd, createMaxChildren, createNoFill, createOrgChart, createOuterShadowEffect, createOutline, createPatternFill, createPictureLocking, createPreferredChildren, createPresentationLayoutVariables, createPresetColor, createPresetShadowEffect, createReflectionEffect, createRgbColor, createScRgbColor, createScene3D, createSchemeColor, createShape3D, createShapeLocking, createSoftEdgeEffect, createSolidFill, createSourceRectangle, createStyleDefinitionHeader, createStyleDefinitionHeaderList, createStyleLabel, createSystemColor, createTableStyle, createTableStyleList, createTextEffectColorList, createTextFillColorList, createTextLineColorList, createTileInfo, createTransform2D, customGeometryDesc, diagramExtensionListDesc, diagramRelationshipIdsDesc, diagramStyleDesc, effectListDesc, extractBlipFillMedia, fillDesc, gradientFillDesc, graphicFrameLockingDesc, groupLockingDesc, groupTransform2DDesc, hslColorDesc, outlineDesc, parseColorChoice, parseTableStyleList, patternFillDesc, pictureLockingDesc, presentationLayoutVariablesDesc, presetColorDesc, presetGeometryDesc, rgbColorDesc, scRgbColorDesc, scene3DDesc, schemeColorDesc, shape3DDesc, shapeLockingDesc, solidFillDesc, sourceRectangleDesc, stretchDesc, stringifyAdjustmentValues, stringifyColorChoice, stringifyPresetGeometry, stringifyStretch, systemColorDesc, tileDesc, transform2DDesc };
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as convertUniversalMeasureToTwip, $n as createGradientStop, $r as levelForMediaName, $t as createGroupLocking, A as customGeometryDesc, An as createGlowEffect, Ar as SystemColor, At as createStyleLabel, B as convertEmuToPoints, Bn as LineEndType, Br as buildContentTypeOverrides, Bt as AnimateOneByOneValue, C as diagramStyleDesc, Cn as createSoftEdgeEffect, Cr as uniqueId, Ct as FontCollectionIndex, D as shape3DDesc, Dn as RectAlignment, Dr as toUint8Array, Dt as createEffectColorList, E as scene3DDesc, En as createPresetShadowEffect, Er as isBase64DataURL, Et as createDiagramStyle, F as shapeLockingDesc, Fn as LineJoin, Fr as createRgbColor, Ft as createColorsDefinitionHeaderList, G as convertPointsToEmu, Gn as createNoFill, Gr as summarizeOpcIssues, Gt as createAnimateOneByOne, H as convertInchesToTwip, Hn as createLineEnd, Hr as PART_REGISTRIES, Ht as HierBranchStyle, I as effectListDesc, In as PenAlignment, Ir as PresetColor, It as createLayoutDefinitionHeader, J as convertToPt, Jn as PresetPattern, Jr as parseArchive, Jt as createMaxChildren, K as convertToEmu, Kn as buildFill, Kr as validateOpcConsistency, Kt as createAnimationLevel, L as outlineDesc, Ln as PresetDash, Lr as createPresetColor, Lt as createLayoutDefinitionHeaderList, M as graphicFrameLockingDesc, Mn as createFillOverlayEffect, Mr as SchemeColor, Mt as createTextFillColorList, N as groupLockingDesc, Nn as CompoundLine, Nr as createSchemeColor, Nt as createTextLineColorList, O as groupTransform2DDesc, On as createOuterShadowEffect, Or as createColorElement, Ot as createFillColorList, P as pictureLockingDesc, Pn as LineCap, Pr as createScRgbColor, Pt as createColorsDefinitionHeader, Q as convertUniversalMeasureToPt, Qn as createGradientFill, Qr as createZipStream, Qt as createGraphicFrameLocking, R as convertEmuToInches, Rn as createOutline, Rr as createHslColor, Rt as createStyleDefinitionHeader, S as diagramRelationshipIdsDesc, Sn as createEffectList, Sr as hashedId, St as ColorMethod, T as bevelDesc, Tn as PresetShadowVal, Tr as uniqueUuid, Tt as StyleMatrixIndex, U as convertMillimetersToTwip, Un as createCustomDash, Ur as PPTX_PARTS, Ut as createAdjust, V as convertInchesToEmu, Vn as LineEndWidth, Vr as DOCX_PARTS, Vt as AnimationLevelValue, W as convertPixelsToEmu, Wn as createGroupFill, Wr as XLSX_PARTS, Wt as createAdjustList, X as convertUniversalMeasureToEmu, Xn as PathShadeType, Xr as ZIP_STORED_LEVEL, Xt as createPreferredChildren, Y as convertToTwip, Yn as createPatternFill, Yr as ZIP_DEFLATE_LEVEL, Yt as createOrgChart, Z as convertUniversalMeasureToInch, Zn as TileFlipMode, Zr as createPacker, Zt as createPresentationLayoutVariables, _ as derivePasswordHash, _n as createBevel, _r as xsdTextCaps, _t as systemColorDesc, a as getMediaRefs, ai as convertOutput, an as createGroupTransform2D, ar as xsdEffectContainer, at as blipFillDesc, b as compileMapping, bn as createEffectDag, br as createSourceRectangle, bt as createDiagramTextProperties, c as hasPlaceholders, ci as customPropertiesDesc, cn as createBlipFill, cr as xsdMaterialType, ct as tileDesc, d as replaceHyperlinkPlaceholders, di as createOverride, dn as createCustomGeometry, dr as xsdPenAlignment, dt as presetColorDesc, ei as strFromU8, en as createPictureLocking, er as TileAlignment, et as parseUniversalMeasure, f as replaceImagePlaceholders, fi as Media, fn as stringifyPresetGeometry, fr as xsdPresetShadow, ft as rgbColorDesc, g as replaceVideoPlaceholders, gn as BevelPresetType, gr as xsdTextAnchor, gt as stringifyColorChoice, h as replaceSmartArtPlaceholders, hi as optionalRelsPart, hn as createShape3D, hr as xsdTextAlign, ht as solidFillDesc, i as formatId, ii as OoxmlMimeType, in as parseTableStyleList, ir as xsdCompoundLine, it as blipDesc, j as presetGeometryDesc, jn as BlendMode, jr as createSystemColor, jt as createTextEffectColorList, k as transform2DDesc, kn as createInnerShadowEffect, kr as createSolidFill, kt as createLineColorList, l as replaceAllPlaceholders, li as appPropertiesDesc, ln as createBlip, lr as xsdPathFillMode, lt as hslColorDesc, m as replaceNumberingPlaceholders, mi as TargetModeType, mn as PresetMaterialType, mr as xsdStrikeStyle, mt as schemeColorDesc, n as collectPlaceholderKeys, ni as zipAndConvert, nn as createTableStyle, nr as invertMap, nt as gradientFillDesc, o as getReferencedMedia, oi as decodeBase64, on as createTransform2D, or as xsdLineCap, ot as sourceRectangleDesc, p as replaceMediaPlaceholders, pi as Relationships, pn as stringifyAdjustmentValues, pr as xsdRectAlignment, pt as scRgbColorDesc, q as convertToInch, qn as extractBlipFillMedia, qr as ParsedArchive, qt as createHierBranch, r as findAndReplaceImagePlaceholders, ri as zipSyncAndConvert, rn as createTableStyleList, rr as xsdBlendMode, rt as patternFillDesc, s as getVideoRefs, si as encodeBase64, sn as stringifyStretch, sr as xsdLineEndSize, st as stretchDesc, t as addSmartArtRelationships, ti as unzipSync, tn as createShapeLocking, tr as createTileInfo, tt as fillDesc, u as replaceChartPlaceholders, ui as createDefault, un as createExtentionList, ur as xsdPattern, ut as parseColorChoice, v as hashPasswordAgile, vn as createBottomBevel, vr as xsdUnderlineStyle, vt as createDiagramExtensionList, w as presentationLayoutVariablesDesc, wn as createReflectionEffect, wr as uniqueNumericIdCreator, wt as HueDirection, x as diagramExtensionListDesc, xn as calculateEffectExtent, xr as createBlipEffects, xt as createDiagramRelationshipIds, y as randomBytes, yn as createScene3D, yr as xsdVerticalMergeRev, yt as createDiagramShape3D, z as convertEmuToPixels, zn as LineEndLength, zr as createColorTransforms, zt as createStyleDefinitionHeaderList } from "./src-
|
|
1
|
+
import { $ as convertUniversalMeasureToTwip, $n as createGradientStop, $r as levelForMediaName, $t as createGroupLocking, A as customGeometryDesc, An as createGlowEffect, Ar as SystemColor, At as createStyleLabel, B as convertEmuToPoints, Bn as LineEndType, Br as buildContentTypeOverrides, Bt as AnimateOneByOneValue, C as diagramStyleDesc, Cn as createSoftEdgeEffect, Cr as uniqueId, Ct as FontCollectionIndex, D as shape3DDesc, Dn as RectAlignment, Dr as toUint8Array, Dt as createEffectColorList, E as scene3DDesc, En as createPresetShadowEffect, Er as isBase64DataURL, Et as createDiagramStyle, F as shapeLockingDesc, Fn as LineJoin, Fr as createRgbColor, Ft as createColorsDefinitionHeaderList, G as convertPointsToEmu, Gn as createNoFill, Gr as summarizeOpcIssues, Gt as createAnimateOneByOne, H as convertInchesToTwip, Hn as createLineEnd, Hr as PART_REGISTRIES, Ht as HierBranchStyle, I as effectListDesc, In as PenAlignment, Ir as PresetColor, It as createLayoutDefinitionHeader, J as convertToPt, Jn as PresetPattern, Jr as parseArchive, Jt as createMaxChildren, K as convertToEmu, Kn as buildFill, Kr as validateOpcConsistency, Kt as createAnimationLevel, L as outlineDesc, Ln as PresetDash, Lr as createPresetColor, Lt as createLayoutDefinitionHeaderList, M as graphicFrameLockingDesc, Mn as createFillOverlayEffect, Mr as SchemeColor, Mt as createTextFillColorList, N as groupLockingDesc, Nn as CompoundLine, Nr as createSchemeColor, Nt as createTextLineColorList, O as groupTransform2DDesc, On as createOuterShadowEffect, Or as createColorElement, Ot as createFillColorList, P as pictureLockingDesc, Pn as LineCap, Pr as createScRgbColor, Pt as createColorsDefinitionHeader, Q as convertUniversalMeasureToPt, Qn as createGradientFill, Qr as createZipStream, Qt as createGraphicFrameLocking, R as convertEmuToInches, Rn as createOutline, Rr as createHslColor, Rt as createStyleDefinitionHeader, S as diagramRelationshipIdsDesc, Sn as createEffectList, Sr as hashedId, St as ColorMethod, T as bevelDesc, Tn as PresetShadowVal, Tr as uniqueUuid, Tt as StyleMatrixIndex, U as convertMillimetersToTwip, Un as createCustomDash, Ur as PPTX_PARTS, Ut as createAdjust, V as convertInchesToEmu, Vn as LineEndWidth, Vr as DOCX_PARTS, Vt as AnimationLevelValue, W as convertPixelsToEmu, Wn as createGroupFill, Wr as XLSX_PARTS, Wt as createAdjustList, X as convertUniversalMeasureToEmu, Xn as PathShadeType, Xr as ZIP_STORED_LEVEL, Xt as createPreferredChildren, Y as convertToTwip, Yn as createPatternFill, Yr as ZIP_DEFLATE_LEVEL, Yt as createOrgChart, Z as convertUniversalMeasureToInch, Zn as TileFlipMode, Zr as createPacker, Zt as createPresentationLayoutVariables, _ as derivePasswordHash, _n as createBevel, _r as xsdTextCaps, _t as systemColorDesc, a as getMediaRefs, ai as convertOutput, an as createGroupTransform2D, ar as xsdEffectContainer, at as blipFillDesc, b as compileMapping, bn as createEffectDag, br as createSourceRectangle, bt as createDiagramTextProperties, c as hasPlaceholders, ci as customPropertiesDesc, cn as createBlipFill, cr as xsdMaterialType, ct as tileDesc, d as replaceHyperlinkPlaceholders, di as createOverride, dn as createCustomGeometry, dr as xsdPenAlignment, dt as presetColorDesc, ei as strFromU8, en as createPictureLocking, er as TileAlignment, et as parseUniversalMeasure, f as replaceImagePlaceholders, fi as Media, fn as stringifyPresetGeometry, fr as xsdPresetShadow, ft as rgbColorDesc, g as replaceVideoPlaceholders, gn as BevelPresetType, gr as xsdTextAnchor, gt as stringifyColorChoice, h as replaceSmartArtPlaceholders, hi as optionalRelsPart, hn as createShape3D, hr as xsdTextAlign, ht as solidFillDesc, i as formatId, ii as OoxmlMimeType, in as parseTableStyleList, ir as xsdCompoundLine, it as blipDesc, j as presetGeometryDesc, jn as BlendMode, jr as createSystemColor, jt as createTextEffectColorList, k as transform2DDesc, kn as createInnerShadowEffect, kr as createSolidFill, kt as createLineColorList, l as replaceAllPlaceholders, li as appPropertiesDesc, ln as createBlip, lr as xsdPathFillMode, lt as hslColorDesc, m as replaceNumberingPlaceholders, mi as TargetModeType, mn as PresetMaterialType, mr as xsdStrikeStyle, mt as schemeColorDesc, n as collectPlaceholderKeys, ni as zipAndConvert, nn as createTableStyle, nr as invertMap, nt as gradientFillDesc, o as getReferencedMedia, oi as decodeBase64, on as createTransform2D, or as xsdLineCap, ot as sourceRectangleDesc, p as replaceMediaPlaceholders, pi as Relationships, pn as stringifyAdjustmentValues, pr as xsdRectAlignment, pt as scRgbColorDesc, q as convertToInch, qn as extractBlipFillMedia, qr as ParsedArchive, qt as createHierBranch, r as findAndReplaceImagePlaceholders, ri as zipSyncAndConvert, rn as createTableStyleList, rr as xsdBlendMode, rt as patternFillDesc, s as getVideoRefs, si as encodeBase64, sn as stringifyStretch, sr as xsdLineEndSize, st as stretchDesc, t as addSmartArtRelationships, ti as unzipSync, tn as createShapeLocking, tr as createTileInfo, tt as fillDesc, u as replaceChartPlaceholders, ui as createDefault, un as createExtentionList, ur as xsdPattern, ut as parseColorChoice, v as hashPasswordAgile, vn as createBottomBevel, vr as xsdUnderlineStyle, vt as createDiagramExtensionList, w as presentationLayoutVariablesDesc, wn as createReflectionEffect, wr as uniqueNumericIdCreator, wt as HueDirection, x as diagramExtensionListDesc, xn as calculateEffectExtent, xr as createBlipEffects, xt as createDiagramRelationshipIds, y as randomBytes, yn as createScene3D, yr as xsdVerticalMergeRev, yt as createDiagramShape3D, z as convertEmuToPixels, zn as LineEndLength, zr as createColorTransforms, zt as createStyleDefinitionHeaderList } from "./src-CZhsuR-x.mjs";
|
|
2
2
|
import { _ as DOCX_NS, a as appendOverride, b as buildCorePropertiesXmlString, c as createRunRenderer, d as createSplitInject, f as createTextElementContents, g as toJson, h as patchSpaceAttribute, i as appendContentType, l as createTokenReplacer, m as nextNumericId, n as appendRelationship, o as createReplacer, p as getFirstLevelElements, r as getNextRelationshipIndex, s as createTraverser, t as applyCorePropertiesOverride, u as TokenNotFoundError, v as PPTX_NS, x as parseCorePropsElement, y as buildCorePropertiesXml } from "./patch-DEPPafeB.mjs";
|
|
3
3
|
import { a as stringifyDataModel, c as getColorXml, d as COLOR_CATEGORIES, f as LAYOUT_CATEGORIES, i as stringifyTransPoint, l as getLayoutXml, n as SmartArtCollection, o as stringifyConnection, p as STYLE_CATEGORIES, r as stringifyPoint, s as DEFAULT_DRAWING_XML, t as createDataModel, u as getStyleXml } from "./smartart-DCY-Vdv7.mjs";
|
|
4
4
|
import { a as TimeUnit, c as ChartCollection, i as ErrorValueType, n as ErrorBarDirection, o as TrendlineType, r as ErrorBarType, s as chartSpaceDesc, t as DataLabelPosition } from "./chart-DwE8FCFk.mjs";
|
|
@@ -7435,9 +7435,9 @@ const outlineDesc = {
|
|
|
7435
7435
|
const parts = [];
|
|
7436
7436
|
const attrParts = [];
|
|
7437
7437
|
if (opts.width !== void 0) attrParts.push(`w="${convertToEmu(opts.width)}"`);
|
|
7438
|
-
if (opts.cap !== void 0) attrParts.push(`cap="${escapeXml(opts.cap)}"`);
|
|
7439
|
-
if (opts.compoundLine !== void 0) attrParts.push(`cmpd="${escapeXml(opts.compoundLine)}"`);
|
|
7440
|
-
if (opts.align !== void 0) attrParts.push(`algn="${escapeXml(opts.align)}"`);
|
|
7438
|
+
if (opts.cap !== void 0) attrParts.push(`cap="${escapeXml(xsdLineCap.to(opts.cap))}"`);
|
|
7439
|
+
if (opts.compoundLine !== void 0) attrParts.push(`cmpd="${escapeXml(xsdCompoundLine.to(opts.compoundLine))}"`);
|
|
7440
|
+
if (opts.align !== void 0) attrParts.push(`algn="${escapeXml(xsdPenAlignment.to(opts.align))}"`);
|
|
7441
7441
|
const attrStr = attrParts.length ? " " + attrParts.join(" ") : "";
|
|
7442
7442
|
if (opts.type === "noFill") parts.push("<a:noFill/>");
|
|
7443
7443
|
else if (opts.type === "solidFill" && opts.color) {
|
|
@@ -7461,9 +7461,9 @@ const outlineDesc = {
|
|
|
7461
7461
|
const result = {};
|
|
7462
7462
|
if (el.attributes) {
|
|
7463
7463
|
if (el.attributes["w"] !== void 0) result.width = Number(el.attributes["w"]);
|
|
7464
|
-
if (el.attributes["cap"] !== void 0) result.cap = String(el.attributes["cap"]);
|
|
7465
|
-
if (el.attributes["cmpd"] !== void 0) result.compoundLine = String(el.attributes["cmpd"]);
|
|
7466
|
-
if (el.attributes["algn"] !== void 0) result.align = String(el.attributes["algn"]);
|
|
7464
|
+
if (el.attributes["cap"] !== void 0) result.cap = xsdLineCap.from(String(el.attributes["cap"]));
|
|
7465
|
+
if (el.attributes["cmpd"] !== void 0) result.compoundLine = xsdCompoundLine.from(String(el.attributes["cmpd"]));
|
|
7466
|
+
if (el.attributes["algn"] !== void 0) result.align = xsdPenAlignment.from(String(el.attributes["algn"]));
|
|
7467
7467
|
}
|
|
7468
7468
|
const solidFill = findChild(el, "a:solidFill");
|
|
7469
7469
|
if (solidFill) {
|
|
@@ -7534,7 +7534,7 @@ const effectListDesc = {
|
|
|
7534
7534
|
const attrStr = attrParts.length ? " " + attrParts.join(" ") : "";
|
|
7535
7535
|
parts.push(`<a:blur${attrStr}/>`);
|
|
7536
7536
|
}
|
|
7537
|
-
if (opts.fillOverlay) parts.push(`<a:fillOverlay blend="${escapeXml(opts.fillOverlay.blend)}"/>`);
|
|
7537
|
+
if (opts.fillOverlay) parts.push(`<a:fillOverlay blend="${escapeXml(xsdBlendMode.to(opts.fillOverlay.blend))}"/>`);
|
|
7538
7538
|
if (opts.glow) parts.push(stringifyColorEffect("a:glow", { rad: opts.glow.radius }, opts.glow.color, ctx) ?? "");
|
|
7539
7539
|
if (opts.innerShadow) parts.push(stringifyColorEffect("a:innerShdw", {
|
|
7540
7540
|
blurRad: opts.innerShadow.blurRadius,
|
|
@@ -7549,7 +7549,7 @@ const effectListDesc = {
|
|
|
7549
7549
|
sy: opts.outerShadow.scaleY,
|
|
7550
7550
|
kx: opts.outerShadow.skewX,
|
|
7551
7551
|
ky: opts.outerShadow.skewY,
|
|
7552
|
-
algn: opts.outerShadow.alignment,
|
|
7552
|
+
algn: opts.outerShadow.alignment !== void 0 ? xsdRectAlignment.to(opts.outerShadow.alignment) : void 0,
|
|
7553
7553
|
rotWithShape: opts.outerShadow.rotWithShape === false ? 0 : void 0
|
|
7554
7554
|
}, opts.outerShadow.color, ctx) ?? "");
|
|
7555
7555
|
if (opts.presetShadow) parts.push(stringifyColorEffect("a:prstShdw", {
|
|
@@ -7572,7 +7572,7 @@ const effectListDesc = {
|
|
|
7572
7572
|
if (refOpts.scaleY !== void 0) attrParts.push(`sy="${refOpts.scaleY}"`);
|
|
7573
7573
|
if (refOpts.skewX !== void 0) attrParts.push(`kx="${refOpts.skewX}"`);
|
|
7574
7574
|
if (refOpts.skewY !== void 0) attrParts.push(`ky="${refOpts.skewY}"`);
|
|
7575
|
-
if (refOpts.alignment !== void 0) attrParts.push(`algn="${refOpts.alignment}"`);
|
|
7575
|
+
if (refOpts.alignment !== void 0) attrParts.push(`algn="${escapeXml(xsdRectAlignment.to(refOpts.alignment))}"`);
|
|
7576
7576
|
if (refOpts.rotWithShape !== void 0) attrParts.push(`rotWithShape="${refOpts.rotWithShape ? 1 : 0}"`);
|
|
7577
7577
|
const attrStr = attrParts.length ? " " + attrParts.join(" ") : "";
|
|
7578
7578
|
parts.push(`<a:reflection${attrStr}/>`);
|
|
@@ -7619,7 +7619,7 @@ const effectListDesc = {
|
|
|
7619
7619
|
if (outerShdw.attributes?.["sy"] !== void 0) outerOpts.scaleY = Number(outerShdw.attributes["sy"]);
|
|
7620
7620
|
if (outerShdw.attributes?.["kx"] !== void 0) outerOpts.skewX = Number(outerShdw.attributes["kx"]);
|
|
7621
7621
|
if (outerShdw.attributes?.["ky"] !== void 0) outerOpts.skewY = Number(outerShdw.attributes["ky"]);
|
|
7622
|
-
if (outerShdw.attributes?.["algn"] !== void 0) outerOpts.alignment = String(outerShdw.attributes["algn"]);
|
|
7622
|
+
if (outerShdw.attributes?.["algn"] !== void 0) outerOpts.alignment = xsdRectAlignment.from(String(outerShdw.attributes["algn"]));
|
|
7623
7623
|
if (outerShdw.attributes?.["rotWithShape"] !== void 0) outerOpts.rotWithShape = outerShdw.attributes["rotWithShape"] !== "0";
|
|
7624
7624
|
const color = readColorFromElement(outerShdw, ctx);
|
|
7625
7625
|
if (color) outerOpts.color = color;
|
|
@@ -7628,7 +7628,7 @@ const effectListDesc = {
|
|
|
7628
7628
|
const fillOverlay = findChild(el, "a:fillOverlay");
|
|
7629
7629
|
if (fillOverlay) {
|
|
7630
7630
|
const overlayOpts = {};
|
|
7631
|
-
if (fillOverlay.attributes?.["blend"] !== void 0) overlayOpts.blend = String(fillOverlay.attributes["blend"]);
|
|
7631
|
+
if (fillOverlay.attributes?.["blend"] !== void 0) overlayOpts.blend = xsdBlendMode.from(String(fillOverlay.attributes["blend"]));
|
|
7632
7632
|
result.fillOverlay = overlayOpts;
|
|
7633
7633
|
}
|
|
7634
7634
|
const prstShdw = findChild(el, "a:prstShdw");
|
|
@@ -7656,7 +7656,7 @@ const effectListDesc = {
|
|
|
7656
7656
|
if (reflection.attributes?.["sy"] !== void 0) refOpts.scaleY = Number(reflection.attributes["sy"]);
|
|
7657
7657
|
if (reflection.attributes?.["kx"] !== void 0) refOpts.skewX = Number(reflection.attributes["kx"]);
|
|
7658
7658
|
if (reflection.attributes?.["ky"] !== void 0) refOpts.skewY = Number(reflection.attributes["ky"]);
|
|
7659
|
-
if (reflection.attributes?.["algn"] !== void 0) refOpts.alignment = String(reflection.attributes["algn"]);
|
|
7659
|
+
if (reflection.attributes?.["algn"] !== void 0) refOpts.alignment = xsdRectAlignment.from(String(reflection.attributes["algn"]));
|
|
7660
7660
|
if (reflection.attributes?.["rotWithShape"] !== void 0) refOpts.rotWithShape = reflection.attributes["rotWithShape"] !== "0";
|
|
7661
7661
|
result.reflection = refOpts;
|
|
7662
7662
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@office-open/core",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.10",
|
|
4
4
|
"description": "Shared OOXML infrastructure — XML components, validators, converters, charts, and SmartArt",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"core",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"dependencies": {
|
|
67
67
|
"@noble/hashes": "2.2.0",
|
|
68
68
|
"fflate": "0.8.3",
|
|
69
|
-
"@office-open/xml": "0.10.
|
|
69
|
+
"@office-open/xml": "0.10.10"
|
|
70
70
|
},
|
|
71
71
|
"scripts": {
|
|
72
72
|
"dev": "basis build --stub",
|