@stll/docx-core 0.17.0 → 0.17.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.
@@ -2,6 +2,8 @@
2
2
  const OOXML_SYMBOL_CHARACTER_PATTERN = /^[\dA-Fa-f]{4}$/u;
3
3
  /** Whether a symbol character is exactly four hexadecimal digits. */
4
4
  const isOoxmlSymbolCharacter = (value) => OOXML_SYMBOL_CHARACTER_PATTERN.test(value);
5
+ /** Raw XML handling modes for drawings that Folio cannot model completely. */
6
+ const DRAWING_RAW_XML_MODES = { PRESERVE_ONLY: "preserveOnly" };
5
7
  /**
6
8
  * Largest value a revision id (`w:id`) may carry: 2^31 - 1.
7
9
  *
@@ -35,4 +37,4 @@ const DOCX_CONFORMANCE_CLASSES = Object.freeze({
35
37
  UNKNOWN: "unknown"
36
38
  });
37
39
  //#endregion
38
- export { normalizeRevisionId as i, MAX_REVISION_ID as n, isOoxmlSymbolCharacter as r, DOCX_CONFORMANCE_CLASSES as t };
40
+ export { normalizeRevisionId as a, isOoxmlSymbolCharacter as i, DRAWING_RAW_XML_MODES as n, MAX_REVISION_ID as r, DOCX_CONFORMANCE_CLASSES as t };
@@ -734,15 +734,28 @@ type NoBreakHyphenContent = {
734
734
  type RenderedPageBreakContent = {
735
735
  type: "renderedPageBreak";
736
736
  };
737
- /**
738
- * Drawing/image reference
739
- */
737
+ /** Raw XML handling modes for drawings that Folio cannot model completely. */
738
+ declare const DRAWING_RAW_XML_MODES: {
739
+ readonly PRESERVE_ONLY: "preserveOnly";
740
+ };
741
+ /** Raw XML handling mode for a drawing. */
742
+ type DrawingRawXmlMode = (typeof DRAWING_RAW_XML_MODES)[keyof typeof DRAWING_RAW_XML_MODES];
743
+ /** Drawing/image reference with replayable XML required for preservation-only content. */
740
744
  type DrawingContent = {
741
745
  type: "drawing";
742
746
  /** Image data */
743
747
  image: Image;
744
748
  /** Original OOXML for package-preserving round-trips of unsupported drawing markup. */
745
749
  rawXml?: string;
750
+ rawXmlMode?: never;
751
+ } | {
752
+ type: "drawing";
753
+ /** Image data */
754
+ image: Image;
755
+ /** Original OOXML required to replay a drawing without an editable projection. */
756
+ rawXml: string;
757
+ /** Explicitly classifies raw XML that has no editable projected representation. */
758
+ rawXmlMode: typeof DRAWING_RAW_XML_MODES.PRESERVE_ONLY;
746
759
  };
747
760
  /**
748
761
  * Shape reference
@@ -1002,6 +1015,11 @@ type Image = {
1002
1015
  * Shape types
1003
1016
  */
1004
1017
  type ShapeType = "rect" | "roundRect" | "ellipse" | "triangle" | "rtTriangle" | "parallelogram" | "trapezoid" | "pentagon" | "hexagon" | "heptagon" | "octagon" | "decagon" | "dodecagon" | "star4" | "star5" | "star6" | "star7" | "star8" | "star10" | "star12" | "star16" | "star24" | "star32" | "line" | "straightConnector1" | "bentConnector2" | "bentConnector3" | "bentConnector4" | "bentConnector5" | "curvedConnector2" | "curvedConnector3" | "curvedConnector4" | "curvedConnector5" | "rightArrow" | "leftArrow" | "upArrow" | "downArrow" | "leftRightArrow" | "upDownArrow" | "quadArrow" | "leftRightUpArrow" | "bentArrow" | "uturnArrow" | "leftUpArrow" | "bentUpArrow" | "curvedRightArrow" | "curvedLeftArrow" | "curvedUpArrow" | "curvedDownArrow" | "stripedRightArrow" | "notchedRightArrow" | "homePlate" | "chevron" | "rightArrowCallout" | "downArrowCallout" | "leftArrowCallout" | "upArrowCallout" | "leftRightArrowCallout" | "quadArrowCallout" | "circularArrow" | "flowChartProcess" | "flowChartAlternateProcess" | "flowChartDecision" | "flowChartInputOutput" | "flowChartPredefinedProcess" | "flowChartInternalStorage" | "flowChartDocument" | "flowChartMultidocument" | "flowChartTerminator" | "flowChartPreparation" | "flowChartManualInput" | "flowChartManualOperation" | "flowChartConnector" | "flowChartOffpageConnector" | "flowChartPunchedCard" | "flowChartPunchedTape" | "flowChartSummingJunction" | "flowChartOr" | "flowChartCollate" | "flowChartSort" | "flowChartExtract" | "flowChartMerge" | "flowChartOnlineStorage" | "flowChartDelay" | "flowChartMagneticTape" | "flowChartMagneticDisk" | "flowChartMagneticDrum" | "flowChartDisplay" | "wedgeRectCallout" | "wedgeRoundRectCallout" | "wedgeEllipseCallout" | "cloudCallout" | "borderCallout1" | "borderCallout2" | "borderCallout3" | "accentCallout1" | "accentCallout2" | "accentCallout3" | "callout1" | "callout2" | "callout3" | "accentBorderCallout1" | "accentBorderCallout2" | "accentBorderCallout3" | "actionButtonBlank" | "actionButtonHome" | "actionButtonHelp" | "actionButtonInformation" | "actionButtonBackPrevious" | "actionButtonForwardNext" | "actionButtonBeginning" | "actionButtonEnd" | "actionButtonReturn" | "actionButtonDocument" | "actionButtonSound" | "actionButtonMovie" | "irregularSeal1" | "irregularSeal2" | "frame" | "halfFrame" | "corner" | "diagStripe" | "chord" | "arc" | "bracketPair" | "bracePair" | "leftBracket" | "rightBracket" | "leftBrace" | "rightBrace" | "can" | "cube" | "bevel" | "donut" | "noSmoking" | "blockArc" | "foldedCorner" | "smileyFace" | "heart" | "lightningBolt" | "sun" | "moon" | "cloud" | "snip1Rect" | "snip2SameRect" | "snip2DiagRect" | "snipRoundRect" | "round1Rect" | "round2SameRect" | "round2DiagRect" | "plaque" | "teardrop" | "mathPlus" | "mathMinus" | "mathMultiply" | "mathDivide" | "mathEqual" | "mathNotEqual" | "gear6" | "gear9" | "funnel" | "pieWedge" | "pie" | "leftCircularArrow" | "leftRightCircularArrow" | "swooshArrow" | "textBox";
1018
+ /** Authored adjustment formula for a preset DrawingML geometry. */
1019
+ type ShapeGeometryAdjustment = {
1020
+ name: string;
1021
+ formula: string;
1022
+ };
1005
1023
  /**
1006
1024
  * Shape fill type
1007
1025
  */
@@ -1089,6 +1107,8 @@ type Shape = {
1089
1107
  type: "shape";
1090
1108
  /** Shape type preset */
1091
1109
  shapeType: ShapeType;
1110
+ /** Authored preset-geometry adjustments, in document order. */
1111
+ geometryAdjustments?: ShapeGeometryAdjustment[];
1092
1112
  /** Unique ID */
1093
1113
  id?: string;
1094
1114
  /** Name */
@@ -2286,4 +2306,4 @@ type Document = {
2286
2306
  warnings?: string[];
2287
2307
  };
2288
2308
  //#endregion
2289
- export { ImageTransform as $, TrackedChangeInfo as $t, ComplexField as A, TableRowFormatting as An, SectionProperties as At, FooterReference as B, SoftHyphenContent as Bt, BookmarkStart as C, TabStopAlignment as Cn, PropertyChangeInfo as Ct, CommentRangeEnd as D, TableFormatting as Dn, SdtProperties as Dt, Comment as E, TableCellFormatting as En, RunPropertyChange as Et, EndnotePosition as F, BorderSpec as Fn, ShapeFill as Ft, HeaderFooterType as G, TableCellPropertyChange as Gt, FootnotePosition as H, TabContent as Ht, EndnoteProperties as I, ColorValue as In, ShapeOutline as It, Image as J, TableRowPropertyChange as Jt, HeaderReference as K, TablePropertyChange as Kt, Field as L, KnownBorderStyle as Ln, ShapeTextBody as Lt, DocumentBody as M, TextEffect as Mn, SectionStart as Mt, DrawingContent as N, TextFormatting as Nn, Shape as Nt, CommentRangeStart as O, TableLook as On, SdtType as Ot, Endnote as P, UnderlineStyle as Pn, ShapeContent as Pt, ImageSize as Q, TextWatermark as Qt, FieldCharContent as R, ShadingProperties as Rn, ShapeType as Rt, BookmarkEnd as S, TabStop as Sn, PositionalTab as St, Column as T, TableCellBorders as Tn, RunContent as Tt, FootnoteProperties as U, Table as Ut, Footnote as V, SymbolContent as Vt, HeaderFooter as W, TableCell as Wt, ImagePadding as X, TextBox as Xt, ImageCrop as Y, TableStructuralChangeInfo as Yt, ImagePosition as Z, TextContent as Zt, ThemeColorScheme as _, LineSpacingRule as _n, Paragraph as _t, DocxPackage as a, AbstractNumbering as an, MAX_REVISION_ID as at, BlockContent as b, SpacingExplicit as bn, ParagraphPropertyChange as bt, FontTable as c, ListMarkerFormatting as cn, MoveFromRangeEnd as ct, RelationshipMap as d, NumberingDefinitions as dn, MoveToRangeEnd as dt, TrackedRunChange as en, ImageWrap as et, RelationshipType as f, NumberingInstance as fn, MoveToRangeStart as ft, Theme as g, FloatingTableProperties as gn, PageOrientation as gt, StyleType as h, EmphasisMark as hn, NoteReferenceContent as ht, DocxConformanceClass as i, normalizeRevisionId as in, LineNumberRestart as it, Deletion as j, TableWidthType as jn, SectionPropertyChange as jt, CommentReference as k, TableMeasurement as kn, Section as kt, MediaFile as l, ListRendering as ln, MoveFromRangeStart as lt, StyleDefinitions as m, ConditionalFormatStyle as mn, NoteNumberRestart as mt, Document as n, Watermark as nn, Insertion as nt, DocDefaults as o, LevelSuffix as on, MathEquation as ot, Style as p, CellMargins as pn, NoBreakHyphenContent as pt, Hyperlink as q, TableRow as qt, DocumentSettings as r, isOoxmlSymbolCharacter as rn, InstrTextContent as rt, FontInfo as s, ListLevel as sn, MoveFrom as st, DOCX_CONFORMANCE_CLASSES as t, VerticalAlign as tn, InlineSdt as tt, Relationship as u, NumberFormat as un, MoveTo as ut, ThemeFont as v, ParagraphAlignment as vn, ParagraphContent as vt, BreakContent as w, TableBorders as wn, Run as wt, BlockSdt as x, TabLeader as xn, PictureWatermark as xt, ThemeFontScheme as y, ParagraphFormatting as yn, ParagraphMarkChange as yt, FieldType as z, ThemeColorSlot as zn, SimpleField as zt };
2309
+ export { ImagePosition as $, TextBox as $t, ComplexField as A, TableFormatting as An, SdtType as At, FieldCharContent as B, KnownBorderStyle as Bn, ShapeTextBody as Bt, BookmarkStart as C, SpacingExplicit as Cn, PictureWatermark as Ct, CommentRangeEnd as D, TableBorders as Dn, RunContent as Dt, Comment as E, TabStopAlignment as En, Run as Et, DrawingRawXmlMode as F, TextEffect as Fn, Shape as Ft, FootnoteProperties as G, TabContent as Gt, FooterReference as H, ThemeColorSlot as Hn, SimpleField as Ht, Endnote as I, TextFormatting as In, ShapeContent as It, HeaderReference as J, TableCellPropertyChange as Jt, HeaderFooter as K, Table as Kt, EndnotePosition as L, UnderlineStyle as Ln, ShapeFill as Lt, Deletion as M, TableMeasurement as Mn, SectionProperties as Mt, DocumentBody as N, TableRowFormatting as Nn, SectionPropertyChange as Nt, CommentRangeStart as O, TableCellBorders as On, RunPropertyChange as Ot, DrawingContent as P, TableWidthType as Pn, SectionStart as Pt, ImagePadding as Q, TableStructuralChangeInfo as Qt, EndnoteProperties as R, BorderSpec as Rn, ShapeGeometryAdjustment as Rt, BookmarkEnd as S, ParagraphFormatting as Sn, ParagraphPropertyChange as St, Column as T, TabStop as Tn, PropertyChangeInfo as Tt, Footnote as U, SoftHyphenContent as Ut, FieldType as V, ShadingProperties as Vn, ShapeType as Vt, FootnotePosition as W, SymbolContent as Wt, Image as X, TableRow as Xt, Hyperlink as Y, TablePropertyChange as Yt, ImageCrop as Z, TableRowPropertyChange as Zt, ThemeColorScheme as _, ConditionalFormatStyle as _n, NoteReferenceContent as _t, DocxPackage as a, Watermark as an, InstrTextContent as at, BlockContent as b, LineSpacingRule as bn, ParagraphContent as bt, FontTable as c, AbstractNumbering as cn, MathEquation as ct, RelationshipMap as d, ListMarkerFormatting as dn, MoveFromRangeStart as dt, TextContent as en, ImageSize as et, RelationshipType as f, ListRendering as fn, MoveTo as ft, Theme as g, CellMargins as gn, NoteNumberRestart as gt, StyleType as h, NumberingInstance as hn, NoBreakHyphenContent as ht, DocxConformanceClass as i, VerticalAlign as in, Insertion as it, DRAWING_RAW_XML_MODES as j, TableLook as jn, Section as jt, CommentReference as k, TableCellFormatting as kn, SdtProperties as kt, MediaFile as l, LevelSuffix as ln, MoveFrom as lt, StyleDefinitions as m, NumberingDefinitions as mn, MoveToRangeStart as mt, Document as n, TrackedChangeInfo as nn, ImageWrap as nt, DocDefaults as o, isOoxmlSymbolCharacter as on, LineNumberRestart as ot, Style as p, NumberFormat as pn, MoveToRangeEnd as pt, HeaderFooterType as q, TableCell as qt, DocumentSettings as r, TrackedRunChange as rn, InlineSdt as rt, FontInfo as s, normalizeRevisionId as sn, MAX_REVISION_ID as st, DOCX_CONFORMANCE_CLASSES as t, TextWatermark as tn, ImageTransform as tt, Relationship as u, ListLevel as un, MoveFromRangeEnd as ut, ThemeFont as v, EmphasisMark as vn, PageOrientation as vt, BreakContent as w, TabLeader as wn, PositionalTab as wt, BlockSdt as x, ParagraphAlignment as xn, ParagraphMarkChange as xt, ThemeFontScheme as y, FloatingTableProperties as yn, Paragraph as yt, Field as z, ColorValue as zn, ShapeOutline as zt };
Binary file
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { At as SectionProperties, M as DocumentBody, St as PositionalTab, Tt as RunContent, Ut as Table, Wt as TableCell, Zt as TextContent, _t as Paragraph, a as DocxPackage, b as BlockContent, i as DocxConformanceClass, n as Document, p as Style, qt as TableRow, t as DOCX_CONFORMANCE_CLASSES, vt as ParagraphContent, w as BreakContent, wt as Run } from "./document-tediyzsy.js";
1
+ import { Dt as RunContent, Et as Run, Kt as Table, Mt as SectionProperties, N as DocumentBody, Xt as TableRow, a as DocxPackage, b as BlockContent, bt as ParagraphContent, en as TextContent, i as DocxConformanceClass, n as Document, p as Style, qt as TableCell, t as DOCX_CONFORMANCE_CLASSES, w as BreakContent, wt as PositionalTab, yt as Paragraph } from "./document-P4LhYoK3.js";
2
2
  import { Buffer } from "node:buffer";
3
3
  //#region src/legal-source/types.d.ts
4
4
  type LegalDocumentKind = "agreement" | "letter" | "memo" | "checklist" | "pleading" | "other";
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { r as isOoxmlSymbolCharacter, t as DOCX_CONFORMANCE_CLASSES } from "./document-BO7h-LxY.js";
1
+ import { i as isOoxmlSymbolCharacter, t as DOCX_CONFORMANCE_CLASSES } from "./document-BPDUWV3O.js";
2
2
  import JSZip from "jszip";
3
3
  import { panic } from "better-result";
4
4
  import { XMLParser, XMLValidator } from "fast-xml-parser";
@@ -1,2 +1,2 @@
1
- import { $ as ImageTransform, $t as TrackedChangeInfo, A as ComplexField, An as TableRowFormatting, At as SectionProperties, B as FooterReference, Bt as SoftHyphenContent, C as BookmarkStart, Cn as TabStopAlignment, Ct as PropertyChangeInfo, D as CommentRangeEnd, Dn as TableFormatting, Dt as SdtProperties, E as Comment, En as TableCellFormatting, Et as RunPropertyChange, F as EndnotePosition, Fn as BorderSpec, Ft as ShapeFill, G as HeaderFooterType, Gt as TableCellPropertyChange, H as FootnotePosition, Ht as TabContent, I as EndnoteProperties, In as ColorValue, It as ShapeOutline, J as Image, Jt as TableRowPropertyChange, K as HeaderReference, Kt as TablePropertyChange, L as Field, Ln as KnownBorderStyle, Lt as ShapeTextBody, M as DocumentBody, Mn as TextEffect, Mt as SectionStart, N as DrawingContent, Nn as TextFormatting, Nt as Shape, O as CommentRangeStart, On as TableLook, Ot as SdtType, P as Endnote, Pn as UnderlineStyle, Pt as ShapeContent, Q as ImageSize, Qt as TextWatermark, R as FieldCharContent, Rn as ShadingProperties, Rt as ShapeType, S as BookmarkEnd, Sn as TabStop, St as PositionalTab, T as Column, Tn as TableCellBorders, Tt as RunContent, U as FootnoteProperties, Ut as Table, V as Footnote, Vt as SymbolContent, W as HeaderFooter, Wt as TableCell, X as ImagePadding, Xt as TextBox, Y as ImageCrop, Yt as TableStructuralChangeInfo, Z as ImagePosition, Zt as TextContent, _ as ThemeColorScheme, _n as LineSpacingRule, _t as Paragraph, a as DocxPackage, an as AbstractNumbering, at as MAX_REVISION_ID, b as BlockContent, bn as SpacingExplicit, bt as ParagraphPropertyChange, c as FontTable, cn as ListMarkerFormatting, ct as MoveFromRangeEnd, d as RelationshipMap, dn as NumberingDefinitions, dt as MoveToRangeEnd, en as TrackedRunChange, et as ImageWrap, f as RelationshipType, fn as NumberingInstance, ft as MoveToRangeStart, g as Theme, gn as FloatingTableProperties, gt as PageOrientation, h as StyleType, hn as EmphasisMark, ht as NoteReferenceContent, i as DocxConformanceClass, in as normalizeRevisionId, it as LineNumberRestart, j as Deletion, jn as TableWidthType, jt as SectionPropertyChange, k as CommentReference, kn as TableMeasurement, kt as Section, l as MediaFile, ln as ListRendering, lt as MoveFromRangeStart, m as StyleDefinitions, mn as ConditionalFormatStyle, mt as NoteNumberRestart, n as Document, nn as Watermark, nt as Insertion, o as DocDefaults, on as LevelSuffix, ot as MathEquation, p as Style, pn as CellMargins, pt as NoBreakHyphenContent, q as Hyperlink, qt as TableRow, r as DocumentSettings, rn as isOoxmlSymbolCharacter, rt as InstrTextContent, s as FontInfo, sn as ListLevel, st as MoveFrom, t as DOCX_CONFORMANCE_CLASSES, tn as VerticalAlign, tt as InlineSdt, u as Relationship, un as NumberFormat, ut as MoveTo, v as ThemeFont, vn as ParagraphAlignment, vt as ParagraphContent, w as BreakContent, wn as TableBorders, wt as Run, x as BlockSdt, xn as TabLeader, xt as PictureWatermark, y as ThemeFontScheme, yn as ParagraphFormatting, yt as ParagraphMarkChange, z as FieldType, zn as ThemeColorSlot, zt as SimpleField } from "../document-tediyzsy.js";
2
- export { type AbstractNumbering, type BlockContent, type BlockSdt, type BookmarkEnd, type BookmarkStart, type BorderSpec, type BreakContent, type CellMargins, type ColorValue, type Column, type Comment, type CommentRangeEnd, type CommentRangeStart, type CommentReference, type ComplexField, type ConditionalFormatStyle, DOCX_CONFORMANCE_CLASSES, type Deletion, type DocDefaults, Document, type DocumentBody, DocumentSettings, DocxConformanceClass, DocxPackage, type DrawingContent, type EmphasisMark, type Endnote, type EndnotePosition, type EndnoteProperties, type Field, type FieldCharContent, type FieldType, type FloatingTableProperties, type FontInfo, type FontTable, type FooterReference, type Footnote, type FootnotePosition, type FootnoteProperties, type HeaderFooter, type HeaderFooterType, type HeaderReference, type Hyperlink, type Image, type ImageCrop, type ImagePadding, type ImagePosition, type ImageSize, type ImageTransform, type ImageWrap, type InlineSdt, type Insertion, type InstrTextContent, type KnownBorderStyle, type LevelSuffix, type LineNumberRestart, type LineSpacingRule, type ListLevel, type ListMarkerFormatting, type ListRendering, MAX_REVISION_ID, type MathEquation, type MediaFile, type MoveFrom, type MoveFromRangeEnd, type MoveFromRangeStart, type MoveTo, type MoveToRangeEnd, type MoveToRangeStart, type NoBreakHyphenContent, type NoteNumberRestart, type NoteReferenceContent, type NumberFormat, type NumberingDefinitions, type NumberingInstance, type PageOrientation, type Paragraph, type ParagraphAlignment, type ParagraphContent, type ParagraphFormatting, type ParagraphMarkChange, type ParagraphPropertyChange, type PictureWatermark, type PositionalTab, type PropertyChangeInfo, type Relationship, type RelationshipMap, type RelationshipType, type Run, type RunContent, type RunPropertyChange, type SdtProperties, type SdtType, type Section, type SectionProperties, type SectionPropertyChange, type SectionStart, type ShadingProperties, type Shape, type ShapeContent, type ShapeFill, type ShapeOutline, type ShapeTextBody, type ShapeType, type SimpleField, type SoftHyphenContent, type SpacingExplicit, type Style, type StyleDefinitions, type StyleType, type SymbolContent, type TabContent, type TabLeader, type TabStop, type TabStopAlignment, type Table, type TableBorders, type TableCell, type TableCellBorders, type TableCellFormatting, type TableCellPropertyChange, type TableFormatting, type TableLook, type TableMeasurement, type TablePropertyChange, type TableRow, type TableRowFormatting, type TableRowPropertyChange, type TableStructuralChangeInfo, type TableWidthType, type TextBox, type TextContent, type TextEffect, type TextFormatting, type TextWatermark, type Theme, type ThemeColorScheme, type ThemeColorSlot, type ThemeFont, type ThemeFontScheme, type TrackedChangeInfo, type TrackedRunChange, type UnderlineStyle, type VerticalAlign, type Watermark, isOoxmlSymbolCharacter, normalizeRevisionId };
1
+ import { $ as ImagePosition, $t as TextBox, A as ComplexField, An as TableFormatting, At as SdtType, B as FieldCharContent, Bn as KnownBorderStyle, Bt as ShapeTextBody, C as BookmarkStart, Cn as SpacingExplicit, Ct as PictureWatermark, D as CommentRangeEnd, Dn as TableBorders, Dt as RunContent, E as Comment, En as TabStopAlignment, Et as Run, F as DrawingRawXmlMode, Fn as TextEffect, Ft as Shape, G as FootnoteProperties, Gt as TabContent, H as FooterReference, Hn as ThemeColorSlot, Ht as SimpleField, I as Endnote, In as TextFormatting, It as ShapeContent, J as HeaderReference, Jt as TableCellPropertyChange, K as HeaderFooter, Kt as Table, L as EndnotePosition, Ln as UnderlineStyle, Lt as ShapeFill, M as Deletion, Mn as TableMeasurement, Mt as SectionProperties, N as DocumentBody, Nn as TableRowFormatting, Nt as SectionPropertyChange, O as CommentRangeStart, On as TableCellBorders, Ot as RunPropertyChange, P as DrawingContent, Pn as TableWidthType, Pt as SectionStart, Q as ImagePadding, Qt as TableStructuralChangeInfo, R as EndnoteProperties, Rn as BorderSpec, Rt as ShapeGeometryAdjustment, S as BookmarkEnd, Sn as ParagraphFormatting, St as ParagraphPropertyChange, T as Column, Tn as TabStop, Tt as PropertyChangeInfo, U as Footnote, Ut as SoftHyphenContent, V as FieldType, Vn as ShadingProperties, Vt as ShapeType, W as FootnotePosition, Wt as SymbolContent, X as Image, Xt as TableRow, Y as Hyperlink, Yt as TablePropertyChange, Z as ImageCrop, Zt as TableRowPropertyChange, _ as ThemeColorScheme, _n as ConditionalFormatStyle, _t as NoteReferenceContent, a as DocxPackage, an as Watermark, at as InstrTextContent, b as BlockContent, bn as LineSpacingRule, bt as ParagraphContent, c as FontTable, cn as AbstractNumbering, ct as MathEquation, d as RelationshipMap, dn as ListMarkerFormatting, dt as MoveFromRangeStart, en as TextContent, et as ImageSize, f as RelationshipType, fn as ListRendering, ft as MoveTo, g as Theme, gn as CellMargins, gt as NoteNumberRestart, h as StyleType, hn as NumberingInstance, ht as NoBreakHyphenContent, i as DocxConformanceClass, in as VerticalAlign, it as Insertion, j as DRAWING_RAW_XML_MODES, jn as TableLook, jt as Section, k as CommentReference, kn as TableCellFormatting, kt as SdtProperties, l as MediaFile, ln as LevelSuffix, lt as MoveFrom, m as StyleDefinitions, mn as NumberingDefinitions, mt as MoveToRangeStart, n as Document, nn as TrackedChangeInfo, nt as ImageWrap, o as DocDefaults, on as isOoxmlSymbolCharacter, ot as LineNumberRestart, p as Style, pn as NumberFormat, pt as MoveToRangeEnd, q as HeaderFooterType, qt as TableCell, r as DocumentSettings, rn as TrackedRunChange, rt as InlineSdt, s as FontInfo, sn as normalizeRevisionId, st as MAX_REVISION_ID, t as DOCX_CONFORMANCE_CLASSES, tn as TextWatermark, tt as ImageTransform, u as Relationship, un as ListLevel, ut as MoveFromRangeEnd, v as ThemeFont, vn as EmphasisMark, vt as PageOrientation, w as BreakContent, wn as TabLeader, wt as PositionalTab, x as BlockSdt, xn as ParagraphAlignment, xt as ParagraphMarkChange, y as ThemeFontScheme, yn as FloatingTableProperties, yt as Paragraph, z as Field, zn as ColorValue, zt as ShapeOutline } from "../document-P4LhYoK3.js";
2
+ export { type AbstractNumbering, type BlockContent, type BlockSdt, type BookmarkEnd, type BookmarkStart, type BorderSpec, type BreakContent, type CellMargins, type ColorValue, type Column, type Comment, type CommentRangeEnd, type CommentRangeStart, type CommentReference, type ComplexField, type ConditionalFormatStyle, DOCX_CONFORMANCE_CLASSES, DRAWING_RAW_XML_MODES, type Deletion, type DocDefaults, Document, type DocumentBody, DocumentSettings, DocxConformanceClass, DocxPackage, type DrawingContent, type DrawingRawXmlMode, type EmphasisMark, type Endnote, type EndnotePosition, type EndnoteProperties, type Field, type FieldCharContent, type FieldType, type FloatingTableProperties, type FontInfo, type FontTable, type FooterReference, type Footnote, type FootnotePosition, type FootnoteProperties, type HeaderFooter, type HeaderFooterType, type HeaderReference, type Hyperlink, type Image, type ImageCrop, type ImagePadding, type ImagePosition, type ImageSize, type ImageTransform, type ImageWrap, type InlineSdt, type Insertion, type InstrTextContent, type KnownBorderStyle, type LevelSuffix, type LineNumberRestart, type LineSpacingRule, type ListLevel, type ListMarkerFormatting, type ListRendering, MAX_REVISION_ID, type MathEquation, type MediaFile, type MoveFrom, type MoveFromRangeEnd, type MoveFromRangeStart, type MoveTo, type MoveToRangeEnd, type MoveToRangeStart, type NoBreakHyphenContent, type NoteNumberRestart, type NoteReferenceContent, type NumberFormat, type NumberingDefinitions, type NumberingInstance, type PageOrientation, type Paragraph, type ParagraphAlignment, type ParagraphContent, type ParagraphFormatting, type ParagraphMarkChange, type ParagraphPropertyChange, type PictureWatermark, type PositionalTab, type PropertyChangeInfo, type Relationship, type RelationshipMap, type RelationshipType, type Run, type RunContent, type RunPropertyChange, type SdtProperties, type SdtType, type Section, type SectionProperties, type SectionPropertyChange, type SectionStart, type ShadingProperties, type Shape, type ShapeContent, type ShapeFill, type ShapeGeometryAdjustment, type ShapeOutline, type ShapeTextBody, type ShapeType, type SimpleField, type SoftHyphenContent, type SpacingExplicit, type Style, type StyleDefinitions, type StyleType, type SymbolContent, type TabContent, type TabLeader, type TabStop, type TabStopAlignment, type Table, type TableBorders, type TableCell, type TableCellBorders, type TableCellFormatting, type TableCellPropertyChange, type TableFormatting, type TableLook, type TableMeasurement, type TablePropertyChange, type TableRow, type TableRowFormatting, type TableRowPropertyChange, type TableStructuralChangeInfo, type TableWidthType, type TextBox, type TextContent, type TextEffect, type TextFormatting, type TextWatermark, type Theme, type ThemeColorScheme, type ThemeColorSlot, type ThemeFont, type ThemeFontScheme, type TrackedChangeInfo, type TrackedRunChange, type UnderlineStyle, type VerticalAlign, type Watermark, isOoxmlSymbolCharacter, normalizeRevisionId };
@@ -1,2 +1,2 @@
1
- import { i as normalizeRevisionId, n as MAX_REVISION_ID, r as isOoxmlSymbolCharacter, t as DOCX_CONFORMANCE_CLASSES } from "../document-BO7h-LxY.js";
2
- export { DOCX_CONFORMANCE_CLASSES, MAX_REVISION_ID, isOoxmlSymbolCharacter, normalizeRevisionId };
1
+ import { a as normalizeRevisionId, i as isOoxmlSymbolCharacter, n as DRAWING_RAW_XML_MODES, r as MAX_REVISION_ID, t as DOCX_CONFORMANCE_CLASSES } from "../document-BPDUWV3O.js";
2
+ export { DOCX_CONFORMANCE_CLASSES, DRAWING_RAW_XML_MODES, MAX_REVISION_ID, isOoxmlSymbolCharacter, normalizeRevisionId };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stll/docx-core",
3
- "version": "0.17.0",
3
+ "version": "0.17.2",
4
4
  "description": "Typed OOXML/DOCX model, validation, serialization, legal-source compilation, and browser-native package projection.",
5
5
  "keywords": [
6
6
  "document-model",