@office-open/core 0.9.8 → 0.10.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/descriptor/index.mjs +1 -1
- package/dist/{descriptor-TtMXoZgS.mjs → descriptor-BdWTH1vv.mjs} +4 -3
- package/dist/drawingml/index.d.mts +1 -1
- package/dist/drawingml/index.mjs +1 -1
- package/dist/{index-CeVhA1an.d.mts → index-Bpw3LFuI.d.mts} +253 -209
- package/dist/index-DEeO4sOq.d.mts +239 -0
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +4 -4
- package/dist/patch/index.d.mts +2 -2
- package/dist/patch/index.mjs +2 -2
- package/dist/{patch-ilNZTQmG.mjs → patch-DocIv0Sn.mjs} +125 -3
- package/dist/{src-CSka9ln4.mjs → src-DaZbVB3f.mjs} +265 -154
- package/package.json +2 -2
- package/dist/index-DYy8l709.d.mts +0 -127
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as roundTripFields, c as boolEncode, d as parse, f as stringify, i as diffTagSets, l as enumDecode, n as findFieldSpec, o as DescriptorRegistry, r as checkOrder, s as boolDecode, t as FIELD_SPECS, u as enumEncode } from "../descriptor-
|
|
1
|
+
import { a as roundTripFields, c as boolEncode, d as parse, f as stringify, i as diffTagSets, l as enumDecode, n as findFieldSpec, o as DescriptorRegistry, r as checkOrder, s as boolDecode, t as FIELD_SPECS, u as enumEncode } from "../descriptor-BdWTH1vv.mjs";
|
|
2
2
|
export { DescriptorRegistry, FIELD_SPECS, boolDecode, boolEncode, checkOrder, diffTagSets, enumDecode, enumEncode, findFieldSpec, parse, roundTripFields, stringify };
|
|
@@ -188,7 +188,7 @@ function deepEqual(a, b) {
|
|
|
188
188
|
*/
|
|
189
189
|
const FIELD_SPECS = [{
|
|
190
190
|
id: "core-properties",
|
|
191
|
-
optionsInterface: "
|
|
191
|
+
optionsInterface: "CorePropertiesOptions",
|
|
192
192
|
interfaceFields: [
|
|
193
193
|
"title",
|
|
194
194
|
"subject",
|
|
@@ -351,7 +351,8 @@ const FIELD_SPECS = [{
|
|
|
351
351
|
"topLinePunct",
|
|
352
352
|
"autoSpaceDE",
|
|
353
353
|
"textAlignment",
|
|
354
|
-
"outlineLevel"
|
|
354
|
+
"outlineLevel",
|
|
355
|
+
"revision"
|
|
355
356
|
],
|
|
356
357
|
order: [
|
|
357
358
|
"pStyle",
|
|
@@ -434,7 +435,7 @@ const FIELD_SPECS = [{
|
|
|
434
435
|
"leftTabStop",
|
|
435
436
|
"includeIfEmpty"
|
|
436
437
|
],
|
|
437
|
-
notes: "F3 parse-loss: textDirection, textboxTightWrap, divId, cnfStyle
|
|
438
|
+
notes: "F3 parse-loss: textDirection, textboxTightWrap, divId, cnfStyle written but never parsed. Input-side sugar excluded from the field sets: thematicBreak (→pBdr/border), rightTabStop/leftTabStop (→tabs/tabStops), includeIfEmpty (control flag) — these map field→XML but XML→a different field, breaking the 1:1 round-trip assumption."
|
|
438
439
|
}];
|
|
439
440
|
function findFieldSpec(id) {
|
|
440
441
|
return FIELD_SPECS.find((s) => s.id === id);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as createLineColorList, $n as calculateEffectExtent, $t as TableStyleListOptions, A as rgbColorDesc,
|
|
1
|
+
import { $ as createLineColorList, $a as TileOptions, $n as calculateEffectExtent, $t as TableStyleListOptions, A as rgbColorDesc, An as stringifyAdjustmentValues, Ar as createCustomDash, At as PresentationLayoutVariablesOptions, B as createDiagramTextProperties, Ba as buildFill, Bn as LightRigOptions, Bt as GraphicFrameLockingOptions, C as fillDesc, Cn as PathCommand, Co as ColorTransformOptions, Cr as createOutline, Ct as AnimationLevelOptions, D as hslColorDesc, Dn as PresetGeometryOptions, Dr as LineEndWidth, Dt as MaxChildrenOptions, E as getColorDescriptor, En as createCustomGeometry, Er as LineEndType, Et as HierBranchStyle, F as DiagramExtensionListOptions, Fa as createNoFill, Fn as BevelPresetType, Ft as createHierBranch, G as DiagramStyleLabelOptions, Ga as LinearShadeOptions, Gn as createScene3D, Gt as createGroupLocking, H as createDiagramRelationshipIds, Ha as GradientFillOptions, Hn as Scene3DOptions, Ht as PictureLockingOptions, I as DiagramExtensionOptions, Ia as BlipFillConfigOptions, In as createBevel, It as createMaxChildren, J as HueDirection, Ja as RelativeRect, Jn as EffectDagOptions, Jt as OnOffStyleType, K as DiagramStyleOptions, Ka as PathShadeOptions, Kn as createSoftEdgeEffect, Kt as createPictureLocking, L as DiagramTextPropertiesOptions, La as BlipFillMediaData, Ln as createBottomBevel, Lt as createOrgChart, M as schemeColorDesc, Ma as PatternFillOptions, Mn as Shape3DOptions, Mt as createAdjustList, N as solidFillDesc, Na as PresetPattern, Nn as createShape3D, Nt as createAnimateOneByOne, O as parseColorChoice, On as stringifyPresetGeometry, Or as createLineEnd, Ot as OrgChartOptions, P as systemColorDesc, Pa as createPatternFill, Pn as BevelOptions, Pt as createAnimationLevel, Q as createFillColorList, Qa as TileAlignment, Qn as EffectListOptions, Qt as TablePartStyleOptions, R as createDiagramExtensionList, Ra as FillOptions, Rn as BackdropOptions, Rt as createPreferredChildren, S as outlineDesc, Sn as GeomRect, So as createHslColor, Sr as PresetDash, St as AnimateOneByOneValue, T as patternFillDesc, Tn as PathOptions, Tr as LineEndOptions, Tt as HierBranchOptions, U as ColorListOptions, Ua as GradientShadeOptions, Un as SphereCoords, Ut as ShapeLockingOptions, V as DiagramRelationshipIdsOptions, Va as extractBlipFillMedia, Vn as Point3D, Vt as GroupLockingOptions, W as ColorMethod, Wa as GradientStop, Wn as Vector3D, Wt as createGraphicFrameLocking, X as createDiagramStyle, Xa as createGradientFill, Xn as BlurEffectOptions, Xt as TableCellBorderOptions, Y as StyleMatrixIndex, Ya as TileFlipMode, Yn as createEffectDag, Yt as StyleMatrixReferenceOptions, Z as createEffectColorList, Za as createGradientStop, Zn as EffectExtent, Zt as TableCellStyleOptions, _ as graphicFrameLockingDesc, _n as createBlipFill, _o as createRgbColor, _r as LineCap, _t as createStyleDefinitionHeader, a as blipDesc, an as createTableStyleList, ao as SolidFillOptions, ar as createPresetShadowEffect, at as ColorsDefinitionHeaderOptions, b as shapeLockingDesc, bn as ConnectionSite, bo as createPresetColor, br as OutlineOptions, bt as AdjustOptions, c as stretchDesc, cn as MediaTransformation, co as SystemColor, cr as createOuterShadowEffect, ct as DiagramNameOptions, d as scene3DDesc, dn as Transform2DOptions, do as SchemeColor, dr as GlowEffectOptions, dt as StyleDefinitionHeaderListOptions, en as TableStyleOptions, eo as createTileInfo, er as createEffectList, et as createStyleLabel, f as shape3DDesc, fn as createGroupTransform2D, fo as SchemeColorOptions, fr as createGlowEffect, ft as StyleDefinitionHeaderOptions, g as presetGeometryDesc, gn as BlipFillOptions, go as RgbColorOptions, gr as CompoundLine, gt as createLayoutDefinitionHeaderList, h as customGeometryDesc, hn as createExtentionList, ho as createScRgbColor, hr as createFillOverlayEffect, ht as createLayoutDefinitionHeader, i as presentationLayoutVariablesDesc, in as createTableStyle, io as createBlipEffects, ir as PresetShadowVal, it as ColorsDefinitionHeaderListOptions, j as scRgbColorDesc, ja as createGroupFill, jn as PresetMaterialType, jt as createAdjust, k as presetColorDesc, kn as GeometryGuide, kr as DashStop, kt as PreferredChildrenOptions, l as tileDesc, ln as createTransformation, lo as SystemColorOptions, lr as InnerShadowEffectOptions, lt as LayoutDefinitionHeaderListOptions, m as transform2DDesc, mn as stringifyStretch, mo as ScRgbColorOptions, mr as FillOverlayEffectOptions, mt as createColorsDefinitionHeaderList, n as diagramRelationshipIdsDesc, nn as TableTextStyleOptions, no as createSourceRectangle, nr as createReflectionEffect, nt as createTextFillColorList, o as blipFillDesc, on as parseTableStyleList, oo as createColorElement, or as OuterShadowEffectOptions, ot as DiagramCategoryOptions, p as groupTransform2DDesc, pn as createTransform2D, po as createSchemeColor, pr as BlendMode, pt as createColorsDefinitionHeader, q as FontCollectionIndex, qa as PathShadeType, qn as EffectContainerType, qt as createShapeLocking, r as diagramStyleDesc, rn as ThemeableLineStyleOptions, ro as BlipEffectsOptions, rr as PresetShadowEffectOptions, rt as createTextLineColorList, s as sourceRectangleDesc, sn as MediaDataTransformation, so as createSolidFill, sr as RectAlignment, st as DiagramDescriptionOptions, t as diagramExtensionListDesc, tn as TableStyleRegion, to as SourceRectangleOptions, tr as ReflectionEffectOptions, tt as createTextEffectColorList, u as bevelDesc, un as GroupTransform2DOptions, uo as createSystemColor, ur as createInnerShadowEffect, ut as LayoutDefinitionHeaderOptions, v as groupLockingDesc, vn as BlipOptions, vo as PresetColor, vr as LineJoin, vt as createStyleDefinitionHeaderList, w as gradientFillDesc, wn as PathFillMode, wo as createColorTransforms, wr as LineEndLength, wt as AnimationLevelValue, x as effectListDesc, xn as CustomGeometryOptions, xo as HslColorOptions, xr as PenAlignment, xt as AnimateOneByOneOptions, y as pictureLockingDesc, yn as createBlip, yo as PresetColorOptions, yr as OutlineFillProperties, yt as AdjustListOptions, z as createDiagramShape3D, za as GradientStopOptions, zn as CameraOptions, zt as createPresentationLayoutVariables } from "../index-Bpw3LFuI.mjs";
|
|
2
2
|
export { type AdjustListOptions, type AdjustOptions, type AnimateOneByOneOptions, AnimateOneByOneValue, type AnimationLevelOptions, AnimationLevelValue, type BackdropOptions, type BevelOptions, BevelPresetType, BlendMode, type BlipEffectsOptions, type BlipFillConfigOptions, type BlipFillMediaData, type BlipFillOptions, type BlipOptions, type BlurEffectOptions, type CameraOptions, type ColorListOptions, ColorMethod, type ColorTransformOptions, type ColorsDefinitionHeaderListOptions, type ColorsDefinitionHeaderOptions, CompoundLine, type ConnectionSite, type CustomGeometryOptions, type DashStop, type DiagramCategoryOptions, type DiagramDescriptionOptions, type DiagramExtensionListOptions, type DiagramExtensionOptions, type DiagramNameOptions, type DiagramRelationshipIdsOptions, type DiagramStyleLabelOptions, type DiagramStyleOptions, type DiagramTextPropertiesOptions, type EffectContainerType, type EffectDagOptions, type EffectExtent, type EffectListOptions, type FillOptions, type FillOverlayEffectOptions, FontCollectionIndex, type GeomRect, type GeometryGuide, type GlowEffectOptions, type GradientFillOptions, type GradientShadeOptions, type GradientStop, type GradientStopOptions, type GraphicFrameLockingOptions, type GroupLockingOptions, type GroupTransform2DOptions, type HierBranchOptions, HierBranchStyle, type HslColorOptions, HueDirection, type InnerShadowEffectOptions, type LayoutDefinitionHeaderListOptions, type LayoutDefinitionHeaderOptions, type LightRigOptions, LineCap, LineEndLength, type LineEndOptions, LineEndType, LineEndWidth, LineJoin, type LinearShadeOptions, type MaxChildrenOptions, type MediaDataTransformation, type MediaTransformation, type OnOffStyleType, type OrgChartOptions, type OuterShadowEffectOptions, type OutlineFillProperties, type OutlineOptions, type PathCommand, type PathFillMode, type PathOptions, type PathShadeOptions, PathShadeType, type PatternFillOptions, PenAlignment, type PictureLockingOptions, type Point3D, type PreferredChildrenOptions, type PresentationLayoutVariablesOptions, PresetColor, type PresetColorOptions, PresetDash, type PresetGeometryOptions, PresetMaterialType, PresetPattern, type PresetShadowEffectOptions, PresetShadowVal, RectAlignment, type ReflectionEffectOptions, type RelativeRect, type RgbColorOptions, type ScRgbColorOptions, type Scene3DOptions, SchemeColor, type SchemeColorOptions, type Shape3DOptions, type ShapeLockingOptions, type SolidFillOptions, type SourceRectangleOptions, type SphereCoords, type StyleDefinitionHeaderListOptions, type StyleDefinitionHeaderOptions, StyleMatrixIndex, type StyleMatrixReferenceOptions, SystemColor, type SystemColorOptions, type TableCellBorderOptions, type TableCellStyleOptions, type TablePartStyleOptions, type TableStyleListOptions, type TableStyleOptions, type TableStyleRegion, type TableTextStyleOptions, type ThemeableLineStyleOptions, TileAlignment, TileFlipMode, type TileOptions, type Transform2DOptions, type Vector3D, 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, createTransformation, customGeometryDesc, diagramExtensionListDesc, diagramRelationshipIdsDesc, diagramStyleDesc, effectListDesc, extractBlipFillMedia, fillDesc, getColorDescriptor, gradientFillDesc, graphicFrameLockingDesc, groupLockingDesc, groupTransform2DDesc, hslColorDesc, outlineDesc, parseColorChoice, parseTableStyleList, patternFillDesc, pictureLockingDesc, presentationLayoutVariablesDesc, presetColorDesc, presetGeometryDesc, rgbColorDesc, scRgbColorDesc, scene3DDesc, schemeColorDesc, shape3DDesc, shapeLockingDesc, solidFillDesc, sourceRectangleDesc, stretchDesc, stringifyAdjustmentValues, stringifyPresetGeometry, stringifyStretch, systemColorDesc, tileDesc, transform2DDesc };
|
package/dist/drawingml/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as solidFillDesc, $n as createTileInfo, A as bevelDesc, An as createFillOverlayEffect, Ar as
|
|
1
|
+
import { $ as solidFillDesc, $n as createTileInfo, A as bevelDesc, An as createFillOverlayEffect, Ar as SchemeColor, At as createHierBranch, B as shapeLockingDesc, Bn as createLineEnd, Bt as createTableStyleList, C as diagramStyleDesc, Cn as PresetShadowVal, Ct as AnimateOneByOneValue, D as sourceRectangleDesc, Dn as createInnerShadowEffect, Dr as createSolidFill, Dt as createAdjustList, E as blipFillDesc, En as createOuterShadowEffect, Er as createColorElement, Et as createAdjust, F as customGeometryDesc, Fn as PresetDash, Fr as createPresetColor, Ft as createGraphicFrameLocking, G as patternFillDesc, Gn as extractBlipFillMedia, H as outlineDesc, Hn as createGroupFill, Ht as createTransformation, I as presetGeometryDesc, In as createOutline, Ir as createHslColor, It as createGroupLocking, J as parseColorChoice, Jn as PathShadeType, K as getColorDescriptor, Kn as PresetPattern, L as graphicFrameLockingDesc, Ln as LineEndLength, Lr as createColorTransforms, Lt as createPictureLocking, M as shape3DDesc, Mn as LineCap, Mr as createScRgbColor, Mt as createOrgChart, N as groupTransform2DDesc, Nn as LineJoin, Nr as createRgbColor, Nt as createPreferredChildren, O as stretchDesc, On as createGlowEffect, Or as SystemColor, Ot as createAnimateOneByOne, P as transform2DDesc, Pn as PenAlignment, Pr as PresetColor, Pt as createPresentationLayoutVariables, Q as schemeColorDesc, Qn as TileAlignment, R as groupLockingDesc, Rn as LineEndType, Rt as createShapeLocking, S as diagramRelationshipIdsDesc, Sn as createReflectionEffect, St as createStyleDefinitionHeaderList, T as blipDesc, Tn as RectAlignment, Tt as HierBranchStyle, U as fillDesc, Un as createNoFill, V as effectListDesc, Vn as createCustomDash, Vt as parseTableStyleList, W as gradientFillDesc, Wn as buildFill, X as rgbColorDesc, Xn as createGradientFill, Y as presetColorDesc, Yn as TileFlipMode, Z as scRgbColorDesc, Zn as createGradientStop, _n as createScene3D, _t as createColorsDefinitionHeader, an as stringifyStretch, at as ColorMethod, bn as createEffectList, bt as createLayoutDefinitionHeaderList, cn as createExtentionList, ct as StyleMatrixIndex, dn as stringifyAdjustmentValues, dt as createFillColorList, et as systemColorDesc, fn as PresetMaterialType, ft as createLineColorList, gn as createBottomBevel, gt as createTextLineColorList, hn as createBevel, ht as createTextFillColorList, in as createTransform2D, it as createDiagramRelationshipIds, j as scene3DDesc, jn as CompoundLine, jr as createSchemeColor, jt as createMaxChildren, k as tileDesc, kn as BlendMode, kr as createSystemColor, kt as createAnimationLevel, ln as createCustomGeometry, lt as createDiagramStyle, mn as BevelPresetType, mt as createTextEffectColorList, nt as createDiagramShape3D, on as createBlipFill, ot as FontCollectionIndex, pn as createShape3D, pt as createStyleLabel, q as hslColorDesc, qn as createPatternFill, rn as createGroupTransform2D, rt as createDiagramTextProperties, sn as createBlip, st as HueDirection, tt as createDiagramExtensionList, un as stringifyPresetGeometry, ut as createEffectColorList, vn as createEffectDag, vr as createSourceRectangle, vt as createColorsDefinitionHeaderList, w as presentationLayoutVariablesDesc, wn as createPresetShadowEffect, wt as AnimationLevelValue, x as diagramExtensionListDesc, xn as createSoftEdgeEffect, xt as createStyleDefinitionHeader, yn as calculateEffectExtent, yr as createBlipEffects, yt as createLayoutDefinitionHeader, z as pictureLockingDesc, zn as LineEndWidth, zt as createTableStyle } from "../src-DaZbVB3f.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, createTransformation, customGeometryDesc, diagramExtensionListDesc, diagramRelationshipIdsDesc, diagramStyleDesc, effectListDesc, extractBlipFillMedia, fillDesc, getColorDescriptor, gradientFillDesc, graphicFrameLockingDesc, groupLockingDesc, groupTransform2DDesc, hslColorDesc, outlineDesc, parseColorChoice, parseTableStyleList, patternFillDesc, pictureLockingDesc, presentationLayoutVariablesDesc, presetColorDesc, presetGeometryDesc, rgbColorDesc, scRgbColorDesc, scene3DDesc, schemeColorDesc, shape3DDesc, shapeLockingDesc, solidFillDesc, sourceRectangleDesc, stretchDesc, stringifyAdjustmentValues, stringifyPresetGeometry, stringifyStretch, systemColorDesc, tileDesc, transform2DDesc };
|