@office-open/docx 0.9.1 → 0.9.2

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.
@@ -1,4 +1,4 @@
1
- import { A as stringifyParagraphProperties, D as stringifyJsonChild, E as tableDesc, F as parseDrawingRun, M as parseMathChildren, O as stringifyParagraphInline, Y as BorderStyle, at as Media, j as stringifyRunProperties, n as sectionPropertiesDesc, ot as createTransformation } from "./document-Ch4dyBB4.mjs";
1
+ import { A as stringifyParagraphProperties, D as stringifyChildDispatch, E as tableDesc, F as parseDrawingRun, M as parseMathChildren, O as stringifyParagraphInline, Y as BorderStyle, at as Media, j as stringifyRunProperties, n as sectionPropertiesDesc, ot as createTransformation } from "./document-CeM-U6J3.mjs";
2
2
  import { Relationships, convertInchesToTwip, decimalNumber, derivePasswordHash, hexColorValue, toUint8Array, uCharHexNumber, uniqueId, uniqueNumericIdCreator, uniqueUuid } from "@office-open/core";
3
3
  import { attr, attrBool, attrNum, children, colorAttr, element, escapeXml, findChild, js2xml, textOf, xml2js } from "@office-open/xml";
4
4
  import { ChartCollection } from "@office-open/core/chart";
@@ -3219,7 +3219,7 @@ function stringifyRun(opts, ctx) {
3219
3219
  parts.push(emptyXml);
3220
3220
  continue;
3221
3221
  }
3222
- const jsonResult = stringifyJsonChild(child, ctx);
3222
+ const jsonResult = stringifyChildDispatch(child, ctx);
3223
3223
  if (jsonResult !== void 0) if (Array.isArray(jsonResult)) parts.push(...jsonResult);
3224
3224
  else parts.push(jsonResult);
3225
3225
  else throw new Error(`Unsupported run child type: ${Object.keys(child).join(", ")}`);
@@ -3249,7 +3249,7 @@ function stringifyParagraph(opts, ctx, sectionPropertiesXml) {
3249
3249
  if (resolved.children) {
3250
3250
  for (const child of resolved.children) if (typeof child === "string") parts.push(stringifyRun({ text: child }, ctx));
3251
3251
  else if (typeof child === "object" && child !== null) {
3252
- const jsonResult = stringifyJsonChild(child, ctx);
3252
+ const jsonResult = stringifyChildDispatch(child, ctx);
3253
3253
  if (jsonResult !== void 0) if (Array.isArray(jsonResult)) parts.push(...jsonResult);
3254
3254
  else parts.push(jsonResult);
3255
3255
  else if ("text" in child || "children" in child || "break" in child) parts.push(stringifyRun(child, ctx));
@@ -5581,4 +5581,4 @@ var DocxReadContext = class {
5581
5581
  //#endregion
5582
5582
  export { RelativeVerticalPosition as $, footnotesDesc as A, settingsDesc as B, fontTableDesc as C, EditGroupType as D, AltChunkCollection as E, stringifyTableOfContents as F, Numbering as G, buildNumberingCache as H, parseToc as I, LevelSuffix as J, parseNumberingDefinitions as K, SdtDateMappingType as L, parseParagraphProperties as M, stringifyBodyChild as N, parseSdtBlock as O, stringifyDocumentXml as P, RelativeHorizontalPosition as Q, SdtLock as R, bibliographyDesc as S, SubDocCollection as T, buildStyleCache as U, Styles as V, parseStyleDefinitions as W, TableLayoutType as X, TABLE_BORDERS_NONE as Y, OverlapType as Z, commentsDesc as _, AlignmentType as _t, framesetXml as a, PositionalTabAlignment as at, DocPartType as b, corePropertiesDesc as c, EmphasisMarkType as ct, sdtBlockDesc as d, HighlightColor as dt, TableAnchorType as et, setBodyParseChild as f, TextEffect as ft, contentTypesDesc as g, HeadingLevel as gt, buildContentTypes as h, TextboxTightWrapType as ht, frameXml as i, RubyAlign as it, parseParagraph as j, endnotesDesc as k, altChunkDesc as l, UnderlineType as lt, relationshipsDesc as m, TextAlignmentType as mt, DocxWriteContext as n, FormFieldTextType as nt, webSettingsDesc as o, PositionalTabLeader as ot, subDocDesc as p, PageNumber as pt, LevelFormat as q, TargetScreenSize as r, createFormFieldData as rt, customPropertiesDesc as s, PositionalTabRelativeTo as st, DocxReadContext as t, ProofErrorType as tt, customXmlBlockDesc as u, createImageData as ut, DocPartBehavior as v, CharacterSet as w, glossaryDesc as x, DocPartGallery as y, StyleLevel as z };
5583
5583
 
5584
- //# sourceMappingURL=context-DkABanLH.mjs.map
5584
+ //# sourceMappingURL=context-CERMOUn0.mjs.map