@stll/docx-core 0.47.0 → 0.48.0

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.
@@ -3913,6 +3913,10 @@ type DocumentBody = WritableRecord & {
3913
3913
  };
3914
3914
  /** A run-property container has one pending formatting revision. */
3915
3915
  declare const getSingularRunPropertyChange: (propertyChanges: readonly RunPropertyChange[] | undefined) => RunPropertyChange | undefined;
3916
+ /** The supported width when materializing table grids and their history. */
3917
+ declare const MAX_TABLE_GRID_COLUMNS = 4096;
3918
+ /** The widest row, including the slots it omits on either edge. */
3919
+ declare const gridColumnsInRows: (rows: readonly TableRow[]) => number;
3916
3920
  type ContentControlLock = NonNullable<SdtProperties["lock"]>;
3917
3921
  /** Whether `lock` forbids changing what the control holds. */
3918
3922
  declare const locksContent: (lock: ContentControlLock | null | undefined) => lock is "contentLocked" | "sdtContentLocked";
@@ -4594,4 +4598,4 @@ declare const COMMENT_PART_RELATIONSHIPS: {
4594
4598
  readonly target: "commentsExtended.xml";
4595
4599
  };
4596
4600
  };
4597
- export { lockedControlViolation as $, ParagraphAlignment as $i, Shape as $n, LevelSuffix as $r, ImageWrap as $t, ThemeColorScheme as A, isBorderNil as Aa, ParagraphNumberingReference as Ai, ParagraphMarkDeletion as An, Watermark as Ar, EndnotePosition as At, finalizeParagraphFormatting as B, resolveParagraphNumbering as Bi, PropertyRevisionKind as Bn, PreviewShape as Br, HeaderFooter as Bt, Relationship as C, SchemeColorValue as Ca, TableWidthType as Ci, PARAGRAPH_MARK_CHANGE_KINDS as Cn, TextBox as Cr, DocumentBody as Ct, StyleDefinitions as D, UnrecognisedBorderStyle as Da, NO_NUMBERING_NUM_ID as Di, ParagraphContent as Dn, TrackedRunChange as Dr, DrawingRawXmlMode as Dt, Style as E, BorderStyleValue as Ea, UnderlineStyle as Ei, Paragraph as En, TrackedChangeInfo as Er, DrawingGroupChild as Et, MAX_RETAINED_PARSE_WARNINGS_PER_CODE as F, BorderStyle as Fa, paragraphNumberingFromSlots as Fi, PreservedBlock as Fn, normalizeRevisionId as Fr, FoldedListNumber as Ft, ContentControlChange as G, OutlineLevel as Gi, RunPropertyChange as Gn, presetLineDashToken as Gr, Image as Gt, paragraphSpacingExplicit as H, sameStatedParagraphNumbering as Hi, ReviewCarrier as Hn, UnrecognisedPresetLineDash as Hr, HeaderReference as Ht, PARSE_WARNING_CODES as I, paragraphNumberingLevel as Ii, PreservedInline as In, RelationshipId as Ir, FooterReference as It, LockedControlTouch as J, outlineLevelFromStatedValue as Ji, SdtType as Jn, AbstractNumbering as Jr, ImageFrameLocks as Jt, ContentControlLock as K, headingLevelOf as Ki, SdtEndProperties as Kn, PRESET_LINE_DASH_VALS as Kr, ImageCrop as Kt, ParseWarning as L, paragraphNumberingReference as Li, PreservedXmlContent as Ln, mintRelationshipId as Lr, Footnote as Lt, ThemeFontScheme as M, isBorderStyle as Ma, ResolvedParagraphNumbering as Mi, PictureWatermark as Mn, WrapDistances as Mr, Field as Mt, IMPORTED_ID_COLLISION_KINDS as N, statesNoBorder as Na, isNumberingReference as Ni, PositionalTab as Nn, WrapPolygonPoint as Nr, FieldCharContent as Nt, StyleType as O, borderStyleFrom as Oa, NO_PARAGRAPH_NUMBERING as Oi, ParagraphMarkChange as On, TrackedRunContent as Or, EffectExtentSlots as Ot, ImportedIdCollisionKind as P, BORDER_STYLES as Pa, mergeParagraphNumbering as Pi, PositionedBookmarkMarker as Pn, isOoxmlSymbolCharacter as Pr, FieldType as Pt, lockedControlMessage as Q, PARAGRAPH_ALIGNMENTS as Qi, SectionStart as Qn, LevelOverride as Qr, ImageTransform as Qt, ParseWarningCode as R, paragraphNumberingReferenceId as Ri, PropertyChange as Rn, relationshipIdOf as Rr, FootnotePosition as Rt, MediaFile as S, SchemeColorSlot as Sa, TableRowFormatting as Si, NoteReferenceContent as Sn, TableStructuralChangeInfo as Sr, DocumentBackgroundDrawing as St, RelationshipType as T, ThemeColor as Ta, TextFormatting as Ti, PageOrientation as Tn, TextWatermark as Tr, DrawingContent as Tt, setDocumentBodyComments as U, BODY_TEXT_OUTLINE_LEVEL as Ui, Run as Un, isPresetLineDashVal as Ur, Hyperlink as Ut, isCanonicallyEmptyParagraphFormatting as V, sameEffectiveParagraphNumbering as Vi, REVIEW_CARRIERS as Vn, PresetLineDashValue as Vr, HeaderFooterType as Vt, CONTENT_CONTROL_LOCK as W, HeadingOutlineLevel as Wi, RunContent as Wn, presetLineDashFrom as Wr, INSERTION_SEAM_POLICIES as Wt, contentControlLockAllows as X, NUMBER_FORMATS as Xi, SectionProperties as Xn, CounterFormat as Xr, ImagePosition as Xt, LockedControlViolation as Y, outlineLevelStatedValue as Yi, Section as Yn, COUNTER_FORMATS as Yr, ImagePadding as Yt, firstLockedControlViolation as Z, NumberFormat as Zi, SectionPropertyChange as Zn, LevelLegacy as Zr, ImageSize as Zt, DocDefaults as _, isThemeColor as _a, TableFormatting as _i, MoveToRangeStart as _n, TablePreservedMarkup as _r, ComplexField as _t, DocumentSettings as a, TabStopAlignment as aa, CellMargins as ai, KeptCut as an, ShapeTextBody as ar, BlockContent as at, FontInfo as b, themeColorSlot as ba, TableMeasurement as bi, NoteMarkerContent as bn, TableRow as br, DisplacedByCustomXml as bt, NumberingLevelEntry as c, TextDirectionFlow as ca, FloatingTableProperties as ci, MAX_REVISION_ID as cn, SoftHyphenContent as cr, BookmarkEnd as ct, numberingInstanceResolves as d, ShadingProperties as da, SpacingExplicit as di, MoveBookmarkMarker as dn, Table as dr, BreakContent as dt, TABLE_ALIGNMENTS as ea, ListLevel as ei, ImageWrapPolygon as en, ShapeAlternateContent as er, locksContent as et, numberingLevelEntries as f, SCHEME_COLOR_VALUE_BY_THEME_COLOR as fa, TabLeader as fi, MoveFrom as fn, TableCell as fr, Column as ft, ExhaustiveFields as g, isSchemeColorValue as ga, TableCellFormatting as gi, MoveToRangeEnd as gn, TableCustomXmlWrapper as gr, CommentReference as gt, isNumberingLevel as h, UnrecognisedThemeColor as ha, TableCellBorders as hi, MoveTo as hn, TableContentCarrier as hr, CommentRangeStart as ht, Document as i, TEXT_DIRECTION_FLOW_BY_TOKEN as ia, NumberingInstance as ii, InstrTextContent as in, ShapeOutline as ir, BidiControl as it, ThemeFont as j, isBorderNone as ja, ParagraphNumberingSlots as ji, ParagraphPropertyChange as jn, WrapDistanceSlots as jr, EndnoteProperties as jt, Theme as k, borderStyleToken as ka, ParagraphNumberingOverride as ki, ParagraphMarkChangeKind as kn, VerticalAlign as kr, Endnote as kt, NumberingLevelResolution as l, BorderSpec as la, LineSpacingRule as li, MarkupRangeMarker as ln, SymbolContent as lr, BookmarkRangeMarker as lt, resolveNumberingLevel as m, ThemeColorValue as ma, TableBorders as mi, MoveFromRangeStart as mn, TableCellPropertyChange as mr, CommentRangeEnd as mt, DEFAULT_TAB_STOP_TWIPS as n, TEXT_DIRECTIONS as na, ListRendering as ni, InlineWrapper as nn, ShapeFill as nr, getSingularRunPropertyChange as nt, DocxConformanceClass as o, TableAlignment as oa, ConditionalFormatStyle as oi, KeptCutHolders as on, ShapeType as or, BlockCustomXml as ot, numberingLevelHasMarkerSlot as p, THEME_COLOR_BY_SCHEME_COLOR_VALUE as pa, TabStop as pi, MoveFromRangeEnd as pn, TableCellBlock as pr, Comment as pt, LockedControlSpan as q, headingOutlineLevel as qi, SdtProperties as qn, PresetLineDashVal as qr, ImageDocPrLink as qt, DOCX_CONFORMANCE_CLASSES as r, TEXT_DIRECTION_FLOWS as ra, NumberingDefinitions as ri, Insertion as rn, ShapeGeometryAdjustment as rr, BIDI_CONTROLS as rt, DocxPackage as s, TextDirection as sa, EmphasisMark as si, LineNumberRestart as sn, SimpleField as sr, BlockSdt as st, COMMENT_PART_RELATIONSHIPS as t, TAB_STOP_ALIGNMENTS as ta, ListMarkerFormatting as ti, InlineSdt as tn, ShapeContent as tr, locksControl as tt, levelShowsMarker as u, ColorValue as ua, ParagraphFormatting as ui, MathEquation as un, TabContent as ur, BookmarkStart as ut, EmbeddedFontRef as v, knownThemeColor as va, TableGridChange as vi, NoBreakHyphenContent as vn, TablePropertyChange as vr, DRAWING_RAW_XML_MODES as vt, RelationshipMap as w, THEME_COLORS as wa, TextEffect as wi, PROPERTY_REVISION_KINDS as wn, TextContent as wr, DrawingAnchor as wt, FontTable as x, themeColorToken as xa, TablePropertyExceptionFormatting as xi, NoteNumberRestart as xn, TableRowPropertyChange as xr, DocumentBackground as xt, FontCharset as y, readThemeColor as ya, TableLook as yi, NonVisualDrawingNames as yn, TablePropertyExceptionChange as yr, Deletion as yt, ParseWarningLocation as z, paragraphNumberingSlots as zi, PropertyChangeInfo as zn, PreviewDescriptor as zr, FootnoteProperties as zt };
4601
+ export { lockedControlViolation as $, NumberFormat as $i, SectionPropertyChange as $n, LevelLegacy as $r, ImageSize as $t, ThemeColorScheme as A, borderStyleFrom as Aa, NO_PARAGRAPH_NUMBERING as Ai, ParagraphMarkChange as An, TrackedRunContent as Ar, EffectExtentSlots as At, finalizeParagraphFormatting as B, paragraphNumberingReferenceId as Bi, PropertyChange as Bn, relationshipIdOf as Br, FootnotePosition as Bt, Relationship as C, themeColorToken as Ca, TablePropertyExceptionFormatting as Ci, NoteNumberRestart as Cn, TableRowPropertyChange as Cr, DocumentBackground as Ct, StyleDefinitions as D, ThemeColor as Da, TextFormatting as Di, PageOrientation as Dn, TextWatermark as Dr, DrawingContent as Dt, Style as E, THEME_COLORS as Ea, TextEffect as Ei, PROPERTY_REVISION_KINDS as En, TextContent as Er, DrawingAnchor as Et, MAX_RETAINED_PARSE_WARNINGS_PER_CODE as F, statesNoBorder as Fa, isNumberingReference as Fi, PositionalTab as Fn, WrapPolygonPoint as Fr, FieldCharContent as Ft, ContentControlChange as G, BODY_TEXT_OUTLINE_LEVEL as Gi, Run as Gn, isPresetLineDashVal as Gr, Hyperlink as Gt, paragraphSpacingExplicit as H, resolveParagraphNumbering as Hi, PropertyRevisionKind as Hn, PreviewShape as Hr, HeaderFooter as Ht, PARSE_WARNING_CODES as I, BORDER_STYLES as Ia, mergeParagraphNumbering as Ii, PositionedBookmarkMarker as In, isOoxmlSymbolCharacter as Ir, FieldType as It, LockedControlTouch as J, headingLevelOf as Ji, SdtEndProperties as Jn, PRESET_LINE_DASH_VALS as Jr, ImageCrop as Jt, ContentControlLock as K, HeadingOutlineLevel as Ki, RunContent as Kn, presetLineDashFrom as Kr, INSERTION_SEAM_POLICIES as Kt, ParseWarning as L, BorderStyle as La, paragraphNumberingFromSlots as Li, PreservedBlock as Ln, normalizeRevisionId as Lr, FoldedListNumber as Lt, ThemeFontScheme as M, isBorderNil as Ma, ParagraphNumberingReference as Mi, ParagraphMarkDeletion as Mn, Watermark as Mr, EndnotePosition as Mt, IMPORTED_ID_COLLISION_KINDS as N, isBorderNone as Na, ParagraphNumberingSlots as Ni, ParagraphPropertyChange as Nn, WrapDistanceSlots as Nr, EndnoteProperties as Nt, StyleType as O, BorderStyleValue as Oa, UnderlineStyle as Oi, Paragraph as On, TrackedChangeInfo as Or, DrawingGroupChild as Ot, ImportedIdCollisionKind as P, isBorderStyle as Pa, ResolvedParagraphNumbering as Pi, PictureWatermark as Pn, WrapDistances as Pr, Field as Pt, lockedControlMessage as Q, NUMBER_FORMATS as Qi, SectionProperties as Qn, CounterFormat as Qr, ImagePosition as Qt, ParseWarningCode as R, paragraphNumberingLevel as Ri, PreservedInline as Rn, RelationshipId as Rr, FooterReference as Rt, MediaFile as S, themeColorSlot as Sa, TableMeasurement as Si, NoteMarkerContent as Sn, TableRow as Sr, DisplacedByCustomXml as St, RelationshipType as T, SchemeColorValue as Ta, TableWidthType as Ti, PARAGRAPH_MARK_CHANGE_KINDS as Tn, TextBox as Tr, DocumentBody as Tt, setDocumentBodyComments as U, sameEffectiveParagraphNumbering as Ui, REVIEW_CARRIERS as Un, PresetLineDashValue as Ur, HeaderFooterType as Ut, isCanonicallyEmptyParagraphFormatting as V, paragraphNumberingSlots as Vi, PropertyChangeInfo as Vn, PreviewDescriptor as Vr, FootnoteProperties as Vt, CONTENT_CONTROL_LOCK as W, sameStatedParagraphNumbering as Wi, ReviewCarrier as Wn, UnrecognisedPresetLineDash as Wr, HeaderReference as Wt, contentControlLockAllows as X, outlineLevelFromStatedValue as Xi, SdtType as Xn, AbstractNumbering as Xr, ImageFrameLocks as Xt, LockedControlViolation as Y, headingOutlineLevel as Yi, SdtProperties as Yn, PresetLineDashVal as Yr, ImageDocPrLink as Yt, firstLockedControlViolation as Z, outlineLevelStatedValue as Zi, Section as Zn, COUNTER_FORMATS as Zr, ImagePadding as Zt, DocDefaults as _, UnrecognisedThemeColor as _a, TableCellBorders as _i, MoveTo as _n, TableContentCarrier as _r, CommentRangeStart as _t, DocumentSettings as a, TEXT_DIRECTION_FLOWS as aa, NumberingDefinitions as ai, Insertion as an, ShapeGeometryAdjustment as ar, BIDI_CONTROLS as at, FontInfo as b, knownThemeColor as ba, TableGridChange as bi, NoBreakHyphenContent as bn, TablePropertyChange as br, DRAWING_RAW_XML_MODES as bt, NumberingLevelEntry as c, TableAlignment as ca, ConditionalFormatStyle as ci, KeptCutHolders as cn, ShapeType as cr, BlockCustomXml as ct, numberingInstanceResolves as d, BorderSpec as da, LineSpacingRule as di, MarkupRangeMarker as dn, SymbolContent as dr, BookmarkRangeMarker as dt, PARAGRAPH_ALIGNMENTS as ea, LevelOverride as ei, ImageTransform as en, SectionStart as er, locksContent as et, numberingLevelEntries as f, ColorValue as fa, ParagraphFormatting as fi, MathEquation as fn, TabContent as fr, BookmarkStart as ft, ExhaustiveFields as g, ThemeColorValue as ga, TableBorders as gi, MoveFromRangeStart as gn, TableCellPropertyChange as gr, CommentRangeEnd as gt, isNumberingLevel as h, THEME_COLOR_BY_SCHEME_COLOR_VALUE as ha, TabStop as hi, MoveFromRangeEnd as hn, TableCellBlock as hr, Comment as ht, Document as i, TEXT_DIRECTIONS as ia, ListRendering as ii, InlineWrapper as in, ShapeFill as ir, getSingularRunPropertyChange as it, ThemeFont as j, borderStyleToken as ja, ParagraphNumberingOverride as ji, ParagraphMarkChangeKind as jn, VerticalAlign as jr, Endnote as jt, Theme as k, UnrecognisedBorderStyle as ka, NO_NUMBERING_NUM_ID as ki, ParagraphContent as kn, TrackedRunChange as kr, DrawingRawXmlMode as kt, NumberingLevelResolution as l, TextDirection as la, EmphasisMark as li, LineNumberRestart as ln, SimpleField as lr, BlockSdt as lt, resolveNumberingLevel as m, SCHEME_COLOR_VALUE_BY_THEME_COLOR as ma, TabLeader as mi, MoveFrom as mn, TableCell as mr, Column as mt, DEFAULT_TAB_STOP_TWIPS as n, TABLE_ALIGNMENTS as na, ListLevel as ni, ImageWrapPolygon as nn, ShapeAlternateContent as nr, MAX_TABLE_GRID_COLUMNS as nt, DocxConformanceClass as o, TEXT_DIRECTION_FLOW_BY_TOKEN as oa, NumberingInstance as oi, InstrTextContent as on, ShapeOutline as or, BidiControl as ot, numberingLevelHasMarkerSlot as p, ShadingProperties as pa, SpacingExplicit as pi, MoveBookmarkMarker as pn, Table as pr, BreakContent as pt, LockedControlSpan as q, OutlineLevel as qi, RunPropertyChange as qn, presetLineDashToken as qr, Image as qt, DOCX_CONFORMANCE_CLASSES as r, TAB_STOP_ALIGNMENTS as ra, ListMarkerFormatting as ri, InlineSdt as rn, ShapeContent as rr, gridColumnsInRows as rt, DocxPackage as s, TabStopAlignment as sa, CellMargins as si, KeptCut as sn, ShapeTextBody as sr, BlockContent as st, COMMENT_PART_RELATIONSHIPS as t, ParagraphAlignment as ta, LevelSuffix as ti, ImageWrap as tn, Shape as tr, locksControl as tt, levelShowsMarker as u, TextDirectionFlow as ua, FloatingTableProperties as ui, MAX_REVISION_ID as un, SoftHyphenContent as ur, BookmarkEnd as ut, EmbeddedFontRef as v, isSchemeColorValue as va, TableCellFormatting as vi, MoveToRangeEnd as vn, TableCustomXmlWrapper as vr, CommentReference as vt, RelationshipMap as w, SchemeColorSlot as wa, TableRowFormatting as wi, NoteReferenceContent as wn, TableStructuralChangeInfo as wr, DocumentBackgroundDrawing as wt, FontTable as x, readThemeColor as xa, TableLook as xi, NonVisualDrawingNames as xn, TablePropertyExceptionChange as xr, Deletion as xt, FontCharset as y, isThemeColor as ya, TableFormatting as yi, MoveToRangeStart as yn, TablePreservedMarkup as yr, ComplexField as yt, ParseWarningLocation as z, paragraphNumberingReference as zi, PreservedXmlContent as zn, mintRelationshipId as zr, Footnote as zt };
@@ -9,6 +9,19 @@ const getSingularRunPropertyChange = (propertyChanges) => {
9
9
  });
10
10
  return propertyChanges?.at(0);
11
11
  };
12
+ // src/model/tableGridLimits.ts
13
+ /** The supported width when materializing table grids and their history. */
14
+ const MAX_TABLE_GRID_COLUMNS = 4096;
15
+ /** The widest row, including the slots it omits on either edge. */
16
+ const gridColumnsInRows = (rows) => {
17
+ let widest = 0;
18
+ for (const row of rows) {
19
+ let columns = (row.formatting?.gridBefore ?? 0) + (row.formatting?.gridAfter ?? 0);
20
+ for (const cell of row.cells) columns += cell.formatting?.gridSpan ?? 1;
21
+ widest = Math.max(widest, columns);
22
+ }
23
+ return widest;
24
+ };
12
25
  // src/model/contentControlLock.ts
13
26
  /** Whether `lock` forbids changing what the control holds. */
14
27
  const locksContent = (lock) => lock === "contentLocked" || lock === "sdtContentLocked";
@@ -1421,4 +1434,4 @@ const COMMENT_PART_RELATIONSHIPS = {
1421
1434
  target: "commentsExtended.xml"
1422
1435
  }
1423
1436
  };
1424
- export { headingOutlineLevel as $, statesNoBorder as A, THEME_COLOR_BY_SCHEME_COLOR_VALUE as B, presetLineDashToken as C, contentControlLockAllows as Ct, isBorderNil as D, locksContent as Dt, borderStyleToken as E, lockedControlViolation as Et, TAB_STOP_ALIGNMENTS as F, themeColorSlot as G, isThemeColor as H, TEXT_DIRECTIONS as I, mintRelationshipId as J, themeColorToken as K, TEXT_DIRECTION_FLOWS as L, NUMBER_FORMATS as M, PARAGRAPH_ALIGNMENTS as N, isBorderNone as O, locksControl as Ot, TABLE_ALIGNMENTS as P, headingLevelOf as Q, TEXT_DIRECTION_FLOW_BY_TOKEN as R, presetLineDashFrom as S, CONTENT_CONTROL_LOCK as St, borderStyleFrom as T, lockedControlMessage as Tt, knownThemeColor as U, isSchemeColorValue as V, readThemeColor as W, preservedChildGap as X, relationshipIdOf as Y, BODY_TEXT_OUTLINE_LEVEL as Z, numberingLevelEntries as _, PARSE_WARNING_CODES as _t, DRAWING_RAW_XML_MODES as a, isNumberingReference as at, COUNTER_FORMATS as b, paragraphSpacingExplicit as bt, MAX_REVISION_ID as c, paragraphNumberingLevel as ct, REVIEW_CARRIERS as d, paragraphNumberingSlots as dt, outlineLevelFromStatedValue as et, isNoteReferenceId as f, resolveParagraphNumbering as ft, numberingInstanceResolves as g, MAX_RETAINED_PARSE_WARNINGS_PER_CODE as gt, levelShowsMarker as h, IMPORTED_ID_COLLISION_KINDS as ht, BIDI_CONTROLS as i, NO_PARAGRAPH_NUMBERING as it, BORDER_STYLES as j, isBorderStyle as k, getSingularRunPropertyChange as kt, PARAGRAPH_MARK_CHANGE_KINDS as l, paragraphNumberingReference as lt, normalizeRevisionId as m, sameStatedParagraphNumbering as mt, DEFAULT_TAB_STOP_TWIPS as n, isNumberingLevel as nt, HELD_PARAGRAPH_JOINS as o, mergeParagraphNumbering as ot, isOoxmlSymbolCharacter as p, sameEffectiveParagraphNumbering as pt, THEME_COLORS as q, DOCX_CONFORMANCE_CLASSES as r, NO_NUMBERING_NUM_ID as rt, INSERTION_SEAM_POLICIES as s, paragraphNumberingFromSlots as st, COMMENT_PART_RELATIONSHIPS as t, outlineLevelStatedValue as tt, PROPERTY_REVISION_KINDS as u, paragraphNumberingReferenceId as ut, numberingLevelHasMarkerSlot as v, finalizeParagraphFormatting as vt, PRESET_LINE_DASH_VALS as w, firstLockedControlViolation as wt, isPresetLineDashVal as x, setDocumentBodyComments as xt, resolveNumberingLevel as y, isCanonicallyEmptyParagraphFormatting as yt, SCHEME_COLOR_VALUE_BY_THEME_COLOR as z };
1437
+ export { headingOutlineLevel as $, statesNoBorder as A, gridColumnsInRows as At, THEME_COLOR_BY_SCHEME_COLOR_VALUE as B, presetLineDashToken as C, contentControlLockAllows as Ct, isBorderNil as D, locksContent as Dt, borderStyleToken as E, lockedControlViolation as Et, TAB_STOP_ALIGNMENTS as F, themeColorSlot as G, isThemeColor as H, TEXT_DIRECTIONS as I, mintRelationshipId as J, themeColorToken as K, TEXT_DIRECTION_FLOWS as L, NUMBER_FORMATS as M, PARAGRAPH_ALIGNMENTS as N, isBorderNone as O, locksControl as Ot, TABLE_ALIGNMENTS as P, headingLevelOf as Q, TEXT_DIRECTION_FLOW_BY_TOKEN as R, presetLineDashFrom as S, CONTENT_CONTROL_LOCK as St, borderStyleFrom as T, lockedControlMessage as Tt, knownThemeColor as U, isSchemeColorValue as V, readThemeColor as W, preservedChildGap as X, relationshipIdOf as Y, BODY_TEXT_OUTLINE_LEVEL as Z, numberingLevelEntries as _, PARSE_WARNING_CODES as _t, DRAWING_RAW_XML_MODES as a, isNumberingReference as at, COUNTER_FORMATS as b, paragraphSpacingExplicit as bt, MAX_REVISION_ID as c, paragraphNumberingLevel as ct, REVIEW_CARRIERS as d, paragraphNumberingSlots as dt, outlineLevelFromStatedValue as et, isNoteReferenceId as f, resolveParagraphNumbering as ft, numberingInstanceResolves as g, MAX_RETAINED_PARSE_WARNINGS_PER_CODE as gt, levelShowsMarker as h, IMPORTED_ID_COLLISION_KINDS as ht, BIDI_CONTROLS as i, NO_PARAGRAPH_NUMBERING as it, BORDER_STYLES as j, getSingularRunPropertyChange as jt, isBorderStyle as k, MAX_TABLE_GRID_COLUMNS as kt, PARAGRAPH_MARK_CHANGE_KINDS as l, paragraphNumberingReference as lt, normalizeRevisionId as m, sameStatedParagraphNumbering as mt, DEFAULT_TAB_STOP_TWIPS as n, isNumberingLevel as nt, HELD_PARAGRAPH_JOINS as o, mergeParagraphNumbering as ot, isOoxmlSymbolCharacter as p, sameEffectiveParagraphNumbering as pt, THEME_COLORS as q, DOCX_CONFORMANCE_CLASSES as r, NO_NUMBERING_NUM_ID as rt, INSERTION_SEAM_POLICIES as s, paragraphNumberingFromSlots as st, COMMENT_PART_RELATIONSHIPS as t, outlineLevelStatedValue as tt, PROPERTY_REVISION_KINDS as u, paragraphNumberingReferenceId as ut, numberingLevelHasMarkerSlot as v, finalizeParagraphFormatting as vt, PRESET_LINE_DASH_VALS as w, firstLockedControlViolation as wt, isPresetLineDashVal as x, setDocumentBodyComments as xt, resolveNumberingLevel as y, isCanonicallyEmptyParagraphFormatting as yt, SCHEME_COLOR_VALUE_BY_THEME_COLOR as z };
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { B as finalizeParagraphFormatting, Ct as DocumentBody, Dn as ParagraphContent, E as Style, En as Paragraph, Nn as PositionalTab, St as DocumentBackgroundDrawing, U as setDocumentBodyComments, Un as Run, V as isCanonicallyEmptyParagraphFormatting, Wn as RunContent, Xn as SectionProperties, at as BlockContent, br as TableRow, dr as Table, dt as BreakContent, fr as TableCell, i as Document, o as DocxConformanceClass, r as DOCX_CONFORMANCE_CLASSES, ri as NumberingDefinitions, s as DocxPackage, wr as TextContent, xt as DocumentBackground } from "./document-BKejiFuk.js";
1
+ import { B as finalizeParagraphFormatting, Ct as DocumentBackground, E as Style, Er as TextContent, Fn as PositionalTab, Gn as Run, Kn as RunContent, On as Paragraph, Qn as SectionProperties, Sr as TableRow, Tt as DocumentBody, U as setDocumentBodyComments, V as isCanonicallyEmptyParagraphFormatting, ai as NumberingDefinitions, i as Document, kn as ParagraphContent, mr as TableCell, o as DocxConformanceClass, pr as Table, pt as BreakContent, r as DOCX_CONFORMANCE_CLASSES, s as DocxPackage, st as BlockContent, wt as DocumentBackgroundDrawing } from "./document-BOzPxEBT.js";
2
2
  import { TaggedErrorClass } from "better-result";
3
3
  import { Buffer } from "node:buffer";
4
4
  type LegalDocumentKind = "agreement" | "letter" | "memo" | "checklist" | "pleading" | "other";
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { $ as headingOutlineLevel, A as statesNoBorder, E as borderStyleToken, c as MAX_REVISION_ID, ct as paragraphNumberingLevel, dt as paragraphNumberingSlots, f as isNoteReferenceId, lt as paragraphNumberingReference, p as isOoxmlSymbolCharacter, r as DOCX_CONFORMANCE_CLASSES, ut as paragraphNumberingReferenceId, vt as finalizeParagraphFormatting, xt as setDocumentBodyComments, yt as isCanonicallyEmptyParagraphFormatting } from "./document-BuoCvTcR.js";
2
- import { i as preservedCommentRangeMarker, n as sanitizeExternalUrl, r as sanitizeMarkdownHref, s as maxOf, t as itemBefore } from "./listItems-bPpOKnLB.js";
1
+ import { $ as headingOutlineLevel, A as statesNoBorder, E as borderStyleToken, c as MAX_REVISION_ID, ct as paragraphNumberingLevel, dt as paragraphNumberingSlots, f as isNoteReferenceId, lt as paragraphNumberingReference, p as isOoxmlSymbolCharacter, r as DOCX_CONFORMANCE_CLASSES, ut as paragraphNumberingReferenceId, vt as finalizeParagraphFormatting, xt as setDocumentBodyComments, yt as isCanonicallyEmptyParagraphFormatting } from "./document-d_O4GWz3.js";
2
+ import { i as preservedCommentRangeMarker, n as sanitizeExternalUrl, r as sanitizeMarkdownHref, s as maxOf, t as itemBefore } from "./listItems-BM4hecVF.js";
3
3
  import { i as serializeSequenceChildren } from "./sequenceChildren-ESF-Ei5K.js";
4
4
  import { t as ZipArchive } from "./archive-D5kFLipm.js";
5
5
  import { _ as ZipError } from "./format-DKTCMfac.js";
@@ -1,4 +1,4 @@
1
- import { X as preservedChildGap } from "./document-BuoCvTcR.js";
1
+ import { X as preservedChildGap } from "./document-d_O4GWz3.js";
2
2
  import { c as readXml } from "./streamingXmlParser-BqnCIEZd.js";
3
3
  import { OOXML_NAMESPACE_SCOPE, OOXML_NS, resolveNamespaceUri } from "./xml/xmlNamespaceContext.js";
4
4
  // src/model/extremes.ts
@@ -11,6 +11,6 @@
11
11
  * - content.ts — Content model (runs, images, shapes, tables, paragraphs, sections)
12
12
  * - styles.ts — Styles, theme, fonts, relationships, media
13
13
  */
14
- import { $ as lockedControlViolation, $i as ParagraphAlignment, $n as Shape, $r as LevelSuffix, $t as ImageWrap, A as ThemeColorScheme, Aa as isBorderNil, Ai as ParagraphNumberingReference, An as ParagraphMarkDeletion, Ar as Watermark, At as EndnotePosition, B as finalizeParagraphFormatting, Bi as resolveParagraphNumbering, Bn as PropertyRevisionKind, Br as PreviewShape, Bt as HeaderFooter, C as Relationship, Ca as SchemeColorValue, Ci as TableWidthType, Cn as PARAGRAPH_MARK_CHANGE_KINDS, Cr as TextBox, Ct as DocumentBody, D as StyleDefinitions, Da as UnrecognisedBorderStyle, Di as NO_NUMBERING_NUM_ID, Dn as ParagraphContent, Dr as TrackedRunChange, Dt as DrawingRawXmlMode, E as Style, Ea as BorderStyleValue, Ei as UnderlineStyle, En as Paragraph, Er as TrackedChangeInfo, Et as DrawingGroupChild, F as MAX_RETAINED_PARSE_WARNINGS_PER_CODE, Fa as BorderStyle, Fi as paragraphNumberingFromSlots, Fn as PreservedBlock, Fr as normalizeRevisionId, Ft as FoldedListNumber, G as ContentControlChange, Gi as OutlineLevel, Gn as RunPropertyChange, Gr as presetLineDashToken, Gt as Image, H as paragraphSpacingExplicit, Hi as sameStatedParagraphNumbering, Hn as ReviewCarrier, Hr as UnrecognisedPresetLineDash, Ht as HeaderReference, I as PARSE_WARNING_CODES, Ii as paragraphNumberingLevel, In as PreservedInline, Ir as RelationshipId, It as FooterReference, J as LockedControlTouch, Ji as outlineLevelFromStatedValue, Jn as SdtType, Jr as AbstractNumbering, Jt as ImageFrameLocks, K as ContentControlLock, Ki as headingLevelOf, Kn as SdtEndProperties, Kr as PRESET_LINE_DASH_VALS, Kt as ImageCrop, L as ParseWarning, Li as paragraphNumberingReference, Ln as PreservedXmlContent, Lr as mintRelationshipId, Lt as Footnote, M as ThemeFontScheme, Ma as isBorderStyle, Mi as ResolvedParagraphNumbering, Mn as PictureWatermark, Mr as WrapDistances, Mt as Field, N as IMPORTED_ID_COLLISION_KINDS, Na as statesNoBorder, Ni as isNumberingReference, Nn as PositionalTab, Nr as WrapPolygonPoint, Nt as FieldCharContent, O as StyleType, Oa as borderStyleFrom, Oi as NO_PARAGRAPH_NUMBERING, On as ParagraphMarkChange, Or as TrackedRunContent, Ot as EffectExtentSlots, P as ImportedIdCollisionKind, Pa as BORDER_STYLES, Pi as mergeParagraphNumbering, Pn as PositionedBookmarkMarker, Pr as isOoxmlSymbolCharacter, Pt as FieldType, Q as lockedControlMessage, Qi as PARAGRAPH_ALIGNMENTS, Qn as SectionStart, Qr as LevelOverride, Qt as ImageTransform, R as ParseWarningCode, Ri as paragraphNumberingReferenceId, Rn as PropertyChange, Rr as relationshipIdOf, Rt as FootnotePosition, S as MediaFile, Sa as SchemeColorSlot, Si as TableRowFormatting, Sn as NoteReferenceContent, Sr as TableStructuralChangeInfo, St as DocumentBackgroundDrawing, T as RelationshipType, Ta as ThemeColor, Ti as TextFormatting, Tn as PageOrientation, Tr as TextWatermark, Tt as DrawingContent, U as setDocumentBodyComments, Ui as BODY_TEXT_OUTLINE_LEVEL, Un as Run, Ur as isPresetLineDashVal, Ut as Hyperlink, V as isCanonicallyEmptyParagraphFormatting, Vi as sameEffectiveParagraphNumbering, Vn as REVIEW_CARRIERS, Vr as PresetLineDashValue, Vt as HeaderFooterType, W as CONTENT_CONTROL_LOCK, Wi as HeadingOutlineLevel, Wn as RunContent, Wr as presetLineDashFrom, X as contentControlLockAllows, Xi as NUMBER_FORMATS, Xn as SectionProperties, Xr as CounterFormat, Xt as ImagePosition, Y as LockedControlViolation, Yi as outlineLevelStatedValue, Yn as Section, Yr as COUNTER_FORMATS, Yt as ImagePadding, Z as firstLockedControlViolation, Zi as NumberFormat, Zn as SectionPropertyChange, Zr as LevelLegacy, Zt as ImageSize, _ as DocDefaults, _a as isThemeColor, _i as TableFormatting, _n as MoveToRangeStart, _r as TablePreservedMarkup, _t as ComplexField, a as DocumentSettings, aa as TabStopAlignment, ai as CellMargins, an as KeptCut, ar as ShapeTextBody, at as BlockContent, b as FontInfo, ba as themeColorSlot, bi as TableMeasurement, bn as NoteMarkerContent, br as TableRow, bt as DisplacedByCustomXml, c as NumberingLevelEntry, ca as TextDirectionFlow, ci as FloatingTableProperties, cn as MAX_REVISION_ID, cr as SoftHyphenContent, ct as BookmarkEnd, d as numberingInstanceResolves, da as ShadingProperties, di as SpacingExplicit, dn as MoveBookmarkMarker, dr as Table, dt as BreakContent, ea as TABLE_ALIGNMENTS, ei as ListLevel, en as ImageWrapPolygon, er as ShapeAlternateContent, et as locksContent, f as numberingLevelEntries, fa as SCHEME_COLOR_VALUE_BY_THEME_COLOR, fi as TabLeader, fn as MoveFrom, fr as TableCell, ft as Column, g as ExhaustiveFields, ga as isSchemeColorValue, gi as TableCellFormatting, gn as MoveToRangeEnd, gr as TableCustomXmlWrapper, gt as CommentReference, h as isNumberingLevel, ha as UnrecognisedThemeColor, hi as TableCellBorders, hn as MoveTo, hr as TableContentCarrier, ht as CommentRangeStart, i as Document, ia as TEXT_DIRECTION_FLOW_BY_TOKEN, ii as NumberingInstance, in as InstrTextContent, ir as ShapeOutline, it as BidiControl, j as ThemeFont, ja as isBorderNone, ji as ParagraphNumberingSlots, jn as ParagraphPropertyChange, jr as WrapDistanceSlots, jt as EndnoteProperties, k as Theme, ka as borderStyleToken, ki as ParagraphNumberingOverride, kn as ParagraphMarkChangeKind, kr as VerticalAlign, kt as Endnote, l as NumberingLevelResolution, la as BorderSpec, li as LineSpacingRule, ln as MarkupRangeMarker, lr as SymbolContent, lt as BookmarkRangeMarker, m as resolveNumberingLevel, ma as ThemeColorValue, mi as TableBorders, mn as MoveFromRangeStart, mr as TableCellPropertyChange, mt as CommentRangeEnd, n as DEFAULT_TAB_STOP_TWIPS, na as TEXT_DIRECTIONS, ni as ListRendering, nn as InlineWrapper, nr as ShapeFill, nt as getSingularRunPropertyChange, o as DocxConformanceClass, oa as TableAlignment, oi as ConditionalFormatStyle, on as KeptCutHolders, or as ShapeType, ot as BlockCustomXml, p as numberingLevelHasMarkerSlot, pa as THEME_COLOR_BY_SCHEME_COLOR_VALUE, pi as TabStop, pn as MoveFromRangeEnd, pr as TableCellBlock, pt as Comment, q as LockedControlSpan, qi as headingOutlineLevel, qn as SdtProperties, qr as PresetLineDashVal, qt as ImageDocPrLink, r as DOCX_CONFORMANCE_CLASSES, ra as TEXT_DIRECTION_FLOWS, ri as NumberingDefinitions, rn as Insertion, rr as ShapeGeometryAdjustment, rt as BIDI_CONTROLS, s as DocxPackage, sa as TextDirection, si as EmphasisMark, sn as LineNumberRestart, sr as SimpleField, st as BlockSdt, t as COMMENT_PART_RELATIONSHIPS, ta as TAB_STOP_ALIGNMENTS, ti as ListMarkerFormatting, tn as InlineSdt, tr as ShapeContent, tt as locksControl, u as levelShowsMarker, ua as ColorValue, ui as ParagraphFormatting, un as MathEquation, ur as TabContent, ut as BookmarkStart, v as EmbeddedFontRef, va as knownThemeColor, vi as TableGridChange, vn as NoBreakHyphenContent, vr as TablePropertyChange, vt as DRAWING_RAW_XML_MODES, w as RelationshipMap, wa as THEME_COLORS, wi as TextEffect, wn as PROPERTY_REVISION_KINDS, wr as TextContent, wt as DrawingAnchor, x as FontTable, xa as themeColorToken, xi as TablePropertyExceptionFormatting, xn as NoteNumberRestart, xr as TableRowPropertyChange, xt as DocumentBackground, y as FontCharset, ya as readThemeColor, yi as TableLook, yn as NonVisualDrawingNames, yr as TablePropertyExceptionChange, yt as Deletion, z as ParseWarningLocation, zi as paragraphNumberingSlots, zn as PropertyChangeInfo, zr as PreviewDescriptor, zt as FootnoteProperties } from "../document-BKejiFuk.js";
14
+ import { $ as lockedControlViolation, $i as NumberFormat, $n as SectionPropertyChange, $r as LevelLegacy, $t as ImageSize, A as ThemeColorScheme, Aa as borderStyleFrom, Ai as NO_PARAGRAPH_NUMBERING, An as ParagraphMarkChange, Ar as TrackedRunContent, At as EffectExtentSlots, B as finalizeParagraphFormatting, Bi as paragraphNumberingReferenceId, Bn as PropertyChange, Br as relationshipIdOf, Bt as FootnotePosition, C as Relationship, Ca as themeColorToken, Ci as TablePropertyExceptionFormatting, Cn as NoteNumberRestart, Cr as TableRowPropertyChange, Ct as DocumentBackground, D as StyleDefinitions, Da as ThemeColor, Di as TextFormatting, Dn as PageOrientation, Dr as TextWatermark, Dt as DrawingContent, E as Style, Ea as THEME_COLORS, Ei as TextEffect, En as PROPERTY_REVISION_KINDS, Er as TextContent, Et as DrawingAnchor, F as MAX_RETAINED_PARSE_WARNINGS_PER_CODE, Fa as statesNoBorder, Fi as isNumberingReference, Fn as PositionalTab, Fr as WrapPolygonPoint, Ft as FieldCharContent, G as ContentControlChange, Gi as BODY_TEXT_OUTLINE_LEVEL, Gn as Run, Gr as isPresetLineDashVal, Gt as Hyperlink, H as paragraphSpacingExplicit, Hi as resolveParagraphNumbering, Hn as PropertyRevisionKind, Hr as PreviewShape, Ht as HeaderFooter, I as PARSE_WARNING_CODES, Ia as BORDER_STYLES, Ii as mergeParagraphNumbering, In as PositionedBookmarkMarker, Ir as isOoxmlSymbolCharacter, It as FieldType, J as LockedControlTouch, Ji as headingLevelOf, Jn as SdtEndProperties, Jr as PRESET_LINE_DASH_VALS, Jt as ImageCrop, K as ContentControlLock, Ki as HeadingOutlineLevel, Kn as RunContent, Kr as presetLineDashFrom, L as ParseWarning, La as BorderStyle, Li as paragraphNumberingFromSlots, Ln as PreservedBlock, Lr as normalizeRevisionId, Lt as FoldedListNumber, M as ThemeFontScheme, Ma as isBorderNil, Mi as ParagraphNumberingReference, Mn as ParagraphMarkDeletion, Mr as Watermark, Mt as EndnotePosition, N as IMPORTED_ID_COLLISION_KINDS, Na as isBorderNone, Ni as ParagraphNumberingSlots, Nn as ParagraphPropertyChange, Nr as WrapDistanceSlots, Nt as EndnoteProperties, O as StyleType, Oa as BorderStyleValue, Oi as UnderlineStyle, On as Paragraph, Or as TrackedChangeInfo, Ot as DrawingGroupChild, P as ImportedIdCollisionKind, Pa as isBorderStyle, Pi as ResolvedParagraphNumbering, Pn as PictureWatermark, Pr as WrapDistances, Pt as Field, Q as lockedControlMessage, Qi as NUMBER_FORMATS, Qn as SectionProperties, Qr as CounterFormat, Qt as ImagePosition, R as ParseWarningCode, Ri as paragraphNumberingLevel, Rn as PreservedInline, Rr as RelationshipId, Rt as FooterReference, S as MediaFile, Sa as themeColorSlot, Si as TableMeasurement, Sn as NoteMarkerContent, Sr as TableRow, St as DisplacedByCustomXml, T as RelationshipType, Ta as SchemeColorValue, Ti as TableWidthType, Tn as PARAGRAPH_MARK_CHANGE_KINDS, Tr as TextBox, Tt as DocumentBody, U as setDocumentBodyComments, Ui as sameEffectiveParagraphNumbering, Un as REVIEW_CARRIERS, Ur as PresetLineDashValue, Ut as HeaderFooterType, V as isCanonicallyEmptyParagraphFormatting, Vi as paragraphNumberingSlots, Vn as PropertyChangeInfo, Vr as PreviewDescriptor, Vt as FootnoteProperties, W as CONTENT_CONTROL_LOCK, Wi as sameStatedParagraphNumbering, Wn as ReviewCarrier, Wr as UnrecognisedPresetLineDash, Wt as HeaderReference, X as contentControlLockAllows, Xi as outlineLevelFromStatedValue, Xn as SdtType, Xr as AbstractNumbering, Xt as ImageFrameLocks, Y as LockedControlViolation, Yi as headingOutlineLevel, Yn as SdtProperties, Yr as PresetLineDashVal, Yt as ImageDocPrLink, Z as firstLockedControlViolation, Zi as outlineLevelStatedValue, Zn as Section, Zr as COUNTER_FORMATS, Zt as ImagePadding, _ as DocDefaults, _a as UnrecognisedThemeColor, _i as TableCellBorders, _n as MoveTo, _r as TableContentCarrier, _t as CommentRangeStart, a as DocumentSettings, aa as TEXT_DIRECTION_FLOWS, ai as NumberingDefinitions, an as Insertion, ar as ShapeGeometryAdjustment, at as BIDI_CONTROLS, b as FontInfo, ba as knownThemeColor, bi as TableGridChange, bn as NoBreakHyphenContent, br as TablePropertyChange, bt as DRAWING_RAW_XML_MODES, c as NumberingLevelEntry, ca as TableAlignment, ci as ConditionalFormatStyle, cn as KeptCutHolders, cr as ShapeType, ct as BlockCustomXml, d as numberingInstanceResolves, da as BorderSpec, di as LineSpacingRule, dn as MarkupRangeMarker, dr as SymbolContent, dt as BookmarkRangeMarker, ea as PARAGRAPH_ALIGNMENTS, ei as LevelOverride, en as ImageTransform, er as SectionStart, et as locksContent, f as numberingLevelEntries, fa as ColorValue, fi as ParagraphFormatting, fn as MathEquation, fr as TabContent, ft as BookmarkStart, g as ExhaustiveFields, ga as ThemeColorValue, gi as TableBorders, gn as MoveFromRangeStart, gr as TableCellPropertyChange, gt as CommentRangeEnd, h as isNumberingLevel, ha as THEME_COLOR_BY_SCHEME_COLOR_VALUE, hi as TabStop, hn as MoveFromRangeEnd, hr as TableCellBlock, ht as Comment, i as Document, ia as TEXT_DIRECTIONS, ii as ListRendering, in as InlineWrapper, ir as ShapeFill, it as getSingularRunPropertyChange, j as ThemeFont, ja as borderStyleToken, ji as ParagraphNumberingOverride, jn as ParagraphMarkChangeKind, jr as VerticalAlign, jt as Endnote, k as Theme, ka as UnrecognisedBorderStyle, ki as NO_NUMBERING_NUM_ID, kn as ParagraphContent, kr as TrackedRunChange, kt as DrawingRawXmlMode, l as NumberingLevelResolution, la as TextDirection, li as EmphasisMark, ln as LineNumberRestart, lr as SimpleField, lt as BlockSdt, m as resolveNumberingLevel, ma as SCHEME_COLOR_VALUE_BY_THEME_COLOR, mi as TabLeader, mn as MoveFrom, mr as TableCell, mt as Column, n as DEFAULT_TAB_STOP_TWIPS, na as TABLE_ALIGNMENTS, ni as ListLevel, nn as ImageWrapPolygon, nr as ShapeAlternateContent, nt as MAX_TABLE_GRID_COLUMNS, o as DocxConformanceClass, oa as TEXT_DIRECTION_FLOW_BY_TOKEN, oi as NumberingInstance, on as InstrTextContent, or as ShapeOutline, ot as BidiControl, p as numberingLevelHasMarkerSlot, pa as ShadingProperties, pi as SpacingExplicit, pn as MoveBookmarkMarker, pr as Table, pt as BreakContent, q as LockedControlSpan, qi as OutlineLevel, qn as RunPropertyChange, qr as presetLineDashToken, qt as Image, r as DOCX_CONFORMANCE_CLASSES, ra as TAB_STOP_ALIGNMENTS, ri as ListMarkerFormatting, rn as InlineSdt, rr as ShapeContent, rt as gridColumnsInRows, s as DocxPackage, sa as TabStopAlignment, si as CellMargins, sn as KeptCut, sr as ShapeTextBody, st as BlockContent, t as COMMENT_PART_RELATIONSHIPS, ta as ParagraphAlignment, ti as LevelSuffix, tn as ImageWrap, tr as Shape, tt as locksControl, u as levelShowsMarker, ua as TextDirectionFlow, ui as FloatingTableProperties, un as MAX_REVISION_ID, ur as SoftHyphenContent, ut as BookmarkEnd, v as EmbeddedFontRef, va as isSchemeColorValue, vi as TableCellFormatting, vn as MoveToRangeEnd, vr as TableCustomXmlWrapper, vt as CommentReference, w as RelationshipMap, wa as SchemeColorSlot, wi as TableRowFormatting, wn as NoteReferenceContent, wr as TableStructuralChangeInfo, wt as DocumentBackgroundDrawing, x as FontTable, xa as readThemeColor, xi as TableLook, xn as NonVisualDrawingNames, xr as TablePropertyExceptionChange, xt as Deletion, y as FontCharset, ya as isThemeColor, yi as TableFormatting, yn as MoveToRangeStart, yr as TablePreservedMarkup, yt as ComplexField, z as ParseWarningLocation, zi as paragraphNumberingReference, zn as PreservedXmlContent, zr as mintRelationshipId, zt as Footnote } from "../document-BOzPxEBT.js";
15
15
  import { a as DeepReadonly, i as preservedChildGap, n as PreservedChild, o as RecordField, r as PreservedMarkup, s as WritableRecord, t as PreservedAttribute } from "../preservedMarkup-BWpGhchw.js";
16
- export { type AbstractNumbering, BIDI_CONTROLS, BODY_TEXT_OUTLINE_LEVEL, BORDER_STYLES, type BidiControl, type BlockContent, type BlockCustomXml, type BlockSdt, type BookmarkEnd, type BookmarkRangeMarker, type BookmarkStart, type BorderSpec, type BorderStyle, type BorderStyleValue, type BreakContent, COMMENT_PART_RELATIONSHIPS, CONTENT_CONTROL_LOCK, COUNTER_FORMATS, type CellMargins, type ColorValue, type Column, type Comment, type CommentRangeEnd, type CommentRangeStart, type CommentReference, type ComplexField, type ConditionalFormatStyle, type ContentControlChange, type ContentControlLock, type CounterFormat, DEFAULT_TAB_STOP_TWIPS, DOCX_CONFORMANCE_CLASSES, DRAWING_RAW_XML_MODES, type DeepReadonly, type Deletion, type DisplacedByCustomXml, type DocDefaults, Document, type DocumentBackground, type DocumentBackgroundDrawing, type DocumentBody, DocumentSettings, DocxConformanceClass, DocxPackage, type DrawingAnchor, type DrawingContent, type DrawingGroupChild, type DrawingRawXmlMode, type EffectExtentSlots, type EmbeddedFontRef, type EmphasisMark, type Endnote, type EndnotePosition, type EndnoteProperties, type ExhaustiveFields, type Field, type FieldCharContent, type FieldType, type FloatingTableProperties, type FoldedListNumber, type FontCharset, type FontInfo, type FontTable, type FooterReference, type Footnote, type FootnotePosition, type FootnoteProperties, type HeaderFooter, type HeaderFooterType, type HeaderReference, type HeadingOutlineLevel, type Hyperlink, IMPORTED_ID_COLLISION_KINDS, type Image, type ImageCrop, type ImageDocPrLink, type ImageFrameLocks, type ImagePadding, type ImagePosition, type ImageSize, type ImageTransform, type ImageWrap, type ImageWrapPolygon, type ImportedIdCollisionKind, type InlineSdt, type InlineWrapper, type Insertion, type InstrTextContent, type KeptCut, type KeptCutHolders, type LevelLegacy, type LevelOverride, type LevelSuffix, type LineNumberRestart, type LineSpacingRule, type ListLevel, type ListMarkerFormatting, type ListRendering, type LockedControlSpan, type LockedControlTouch, type LockedControlViolation, MAX_RETAINED_PARSE_WARNINGS_PER_CODE, MAX_REVISION_ID, type MarkupRangeMarker, type MathEquation, type MediaFile, type MoveBookmarkMarker, type MoveFrom, type MoveFromRangeEnd, type MoveFromRangeStart, type MoveTo, type MoveToRangeEnd, type MoveToRangeStart, NO_NUMBERING_NUM_ID, NO_PARAGRAPH_NUMBERING, NUMBER_FORMATS, type NoBreakHyphenContent, type NonVisualDrawingNames, type NoteMarkerContent, type NoteNumberRestart, type NoteReferenceContent, type NumberFormat, type NumberingDefinitions, type NumberingInstance, type NumberingLevelEntry, type NumberingLevelResolution, type OutlineLevel, PARAGRAPH_ALIGNMENTS, PARAGRAPH_MARK_CHANGE_KINDS, PARSE_WARNING_CODES, PRESET_LINE_DASH_VALS, PROPERTY_REVISION_KINDS, type PageOrientation, type Paragraph, type ParagraphAlignment, type ParagraphContent, type ParagraphFormatting, type ParagraphMarkChange, type ParagraphMarkChangeKind, type ParagraphMarkDeletion, type ParagraphNumberingOverride, type ParagraphNumberingReference, type ParagraphNumberingSlots, type ParagraphPropertyChange, type ParseWarning, type ParseWarningCode, type ParseWarningLocation, type PictureWatermark, type PositionalTab, type PositionedBookmarkMarker, type PreservedAttribute, type PreservedBlock, type PreservedChild, type PreservedInline, type PreservedMarkup, type PreservedXmlContent, type PresetLineDashVal, type PresetLineDashValue, type PreviewDescriptor, type PreviewShape, type PropertyChange, type PropertyChangeInfo, type PropertyRevisionKind, REVIEW_CARRIERS, type RecordField, type Relationship, type RelationshipId, type RelationshipMap, type RelationshipType, type ResolvedParagraphNumbering, type ReviewCarrier, type Run, type RunContent, type RunPropertyChange, SCHEME_COLOR_VALUE_BY_THEME_COLOR, type SchemeColorSlot, type SchemeColorValue, type SdtEndProperties, type SdtProperties, type SdtType, type Section, type SectionProperties, type SectionPropertyChange, type SectionStart, type ShadingProperties, type Shape, type ShapeAlternateContent, 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, TABLE_ALIGNMENTS, TAB_STOP_ALIGNMENTS, TEXT_DIRECTIONS, TEXT_DIRECTION_FLOWS, TEXT_DIRECTION_FLOW_BY_TOKEN, THEME_COLORS, THEME_COLOR_BY_SCHEME_COLOR_VALUE, type TabContent, type TabLeader, type TabStop, type TabStopAlignment, type Table, type TableAlignment, type TableBorders, type TableCell, type TableCellBlock, type TableCellBorders, type TableCellFormatting, type TableCellPropertyChange, type TableContentCarrier, type TableCustomXmlWrapper, type TableFormatting, type TableGridChange, type TableLook, type TableMeasurement, type TablePreservedMarkup, type TablePropertyChange, type TablePropertyExceptionChange, type TablePropertyExceptionFormatting, type TableRow, type TableRowFormatting, type TableRowPropertyChange, type TableStructuralChangeInfo, type TableWidthType, type TextBox, type TextContent, type TextDirection, type TextDirectionFlow, type TextEffect, type TextFormatting, type TextWatermark, type Theme, type ThemeColor, type ThemeColorScheme, type ThemeColorValue, type ThemeFont, type ThemeFontScheme, type TrackedChangeInfo, type TrackedRunChange, type TrackedRunContent, type UnderlineStyle, type UnrecognisedBorderStyle, type UnrecognisedPresetLineDash, type UnrecognisedThemeColor, type VerticalAlign, type Watermark, type WrapDistanceSlots, type WrapDistances, type WrapPolygonPoint, type WritableRecord, borderStyleFrom, borderStyleToken, contentControlLockAllows, finalizeParagraphFormatting, firstLockedControlViolation, getSingularRunPropertyChange, headingLevelOf, headingOutlineLevel, isBorderNil, isBorderNone, isBorderStyle, isCanonicallyEmptyParagraphFormatting, isNumberingLevel, isNumberingReference, isOoxmlSymbolCharacter, isPresetLineDashVal, isSchemeColorValue, isThemeColor, knownThemeColor, levelShowsMarker, lockedControlMessage, lockedControlViolation, locksContent, locksControl, mergeParagraphNumbering, mintRelationshipId, normalizeRevisionId, numberingInstanceResolves, numberingLevelEntries, numberingLevelHasMarkerSlot, outlineLevelFromStatedValue, outlineLevelStatedValue, paragraphNumberingFromSlots, paragraphNumberingLevel, paragraphNumberingReference, paragraphNumberingReferenceId, paragraphNumberingSlots, paragraphSpacingExplicit, preservedChildGap, presetLineDashFrom, presetLineDashToken, readThemeColor, relationshipIdOf, resolveNumberingLevel, resolveParagraphNumbering, sameEffectiveParagraphNumbering, sameStatedParagraphNumbering, setDocumentBodyComments, statesNoBorder, themeColorSlot, themeColorToken };
16
+ export { type AbstractNumbering, BIDI_CONTROLS, BODY_TEXT_OUTLINE_LEVEL, BORDER_STYLES, type BidiControl, type BlockContent, type BlockCustomXml, type BlockSdt, type BookmarkEnd, type BookmarkRangeMarker, type BookmarkStart, type BorderSpec, type BorderStyle, type BorderStyleValue, type BreakContent, COMMENT_PART_RELATIONSHIPS, CONTENT_CONTROL_LOCK, COUNTER_FORMATS, type CellMargins, type ColorValue, type Column, type Comment, type CommentRangeEnd, type CommentRangeStart, type CommentReference, type ComplexField, type ConditionalFormatStyle, type ContentControlChange, type ContentControlLock, type CounterFormat, DEFAULT_TAB_STOP_TWIPS, DOCX_CONFORMANCE_CLASSES, DRAWING_RAW_XML_MODES, type DeepReadonly, type Deletion, type DisplacedByCustomXml, type DocDefaults, Document, type DocumentBackground, type DocumentBackgroundDrawing, type DocumentBody, DocumentSettings, DocxConformanceClass, DocxPackage, type DrawingAnchor, type DrawingContent, type DrawingGroupChild, type DrawingRawXmlMode, type EffectExtentSlots, type EmbeddedFontRef, type EmphasisMark, type Endnote, type EndnotePosition, type EndnoteProperties, type ExhaustiveFields, type Field, type FieldCharContent, type FieldType, type FloatingTableProperties, type FoldedListNumber, type FontCharset, type FontInfo, type FontTable, type FooterReference, type Footnote, type FootnotePosition, type FootnoteProperties, type HeaderFooter, type HeaderFooterType, type HeaderReference, type HeadingOutlineLevel, type Hyperlink, IMPORTED_ID_COLLISION_KINDS, type Image, type ImageCrop, type ImageDocPrLink, type ImageFrameLocks, type ImagePadding, type ImagePosition, type ImageSize, type ImageTransform, type ImageWrap, type ImageWrapPolygon, type ImportedIdCollisionKind, type InlineSdt, type InlineWrapper, type Insertion, type InstrTextContent, type KeptCut, type KeptCutHolders, type LevelLegacy, type LevelOverride, type LevelSuffix, type LineNumberRestart, type LineSpacingRule, type ListLevel, type ListMarkerFormatting, type ListRendering, type LockedControlSpan, type LockedControlTouch, type LockedControlViolation, MAX_RETAINED_PARSE_WARNINGS_PER_CODE, MAX_REVISION_ID, MAX_TABLE_GRID_COLUMNS, type MarkupRangeMarker, type MathEquation, type MediaFile, type MoveBookmarkMarker, type MoveFrom, type MoveFromRangeEnd, type MoveFromRangeStart, type MoveTo, type MoveToRangeEnd, type MoveToRangeStart, NO_NUMBERING_NUM_ID, NO_PARAGRAPH_NUMBERING, NUMBER_FORMATS, type NoBreakHyphenContent, type NonVisualDrawingNames, type NoteMarkerContent, type NoteNumberRestart, type NoteReferenceContent, type NumberFormat, type NumberingDefinitions, type NumberingInstance, type NumberingLevelEntry, type NumberingLevelResolution, type OutlineLevel, PARAGRAPH_ALIGNMENTS, PARAGRAPH_MARK_CHANGE_KINDS, PARSE_WARNING_CODES, PRESET_LINE_DASH_VALS, PROPERTY_REVISION_KINDS, type PageOrientation, type Paragraph, type ParagraphAlignment, type ParagraphContent, type ParagraphFormatting, type ParagraphMarkChange, type ParagraphMarkChangeKind, type ParagraphMarkDeletion, type ParagraphNumberingOverride, type ParagraphNumberingReference, type ParagraphNumberingSlots, type ParagraphPropertyChange, type ParseWarning, type ParseWarningCode, type ParseWarningLocation, type PictureWatermark, type PositionalTab, type PositionedBookmarkMarker, type PreservedAttribute, type PreservedBlock, type PreservedChild, type PreservedInline, type PreservedMarkup, type PreservedXmlContent, type PresetLineDashVal, type PresetLineDashValue, type PreviewDescriptor, type PreviewShape, type PropertyChange, type PropertyChangeInfo, type PropertyRevisionKind, REVIEW_CARRIERS, type RecordField, type Relationship, type RelationshipId, type RelationshipMap, type RelationshipType, type ResolvedParagraphNumbering, type ReviewCarrier, type Run, type RunContent, type RunPropertyChange, SCHEME_COLOR_VALUE_BY_THEME_COLOR, type SchemeColorSlot, type SchemeColorValue, type SdtEndProperties, type SdtProperties, type SdtType, type Section, type SectionProperties, type SectionPropertyChange, type SectionStart, type ShadingProperties, type Shape, type ShapeAlternateContent, 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, TABLE_ALIGNMENTS, TAB_STOP_ALIGNMENTS, TEXT_DIRECTIONS, TEXT_DIRECTION_FLOWS, TEXT_DIRECTION_FLOW_BY_TOKEN, THEME_COLORS, THEME_COLOR_BY_SCHEME_COLOR_VALUE, type TabContent, type TabLeader, type TabStop, type TabStopAlignment, type Table, type TableAlignment, type TableBorders, type TableCell, type TableCellBlock, type TableCellBorders, type TableCellFormatting, type TableCellPropertyChange, type TableContentCarrier, type TableCustomXmlWrapper, type TableFormatting, type TableGridChange, type TableLook, type TableMeasurement, type TablePreservedMarkup, type TablePropertyChange, type TablePropertyExceptionChange, type TablePropertyExceptionFormatting, type TableRow, type TableRowFormatting, type TableRowPropertyChange, type TableStructuralChangeInfo, type TableWidthType, type TextBox, type TextContent, type TextDirection, type TextDirectionFlow, type TextEffect, type TextFormatting, type TextWatermark, type Theme, type ThemeColor, type ThemeColorScheme, type ThemeColorValue, type ThemeFont, type ThemeFontScheme, type TrackedChangeInfo, type TrackedRunChange, type TrackedRunContent, type UnderlineStyle, type UnrecognisedBorderStyle, type UnrecognisedPresetLineDash, type UnrecognisedThemeColor, type VerticalAlign, type Watermark, type WrapDistanceSlots, type WrapDistances, type WrapPolygonPoint, type WritableRecord, borderStyleFrom, borderStyleToken, contentControlLockAllows, finalizeParagraphFormatting, firstLockedControlViolation, getSingularRunPropertyChange, gridColumnsInRows, headingLevelOf, headingOutlineLevel, isBorderNil, isBorderNone, isBorderStyle, isCanonicallyEmptyParagraphFormatting, isNumberingLevel, isNumberingReference, isOoxmlSymbolCharacter, isPresetLineDashVal, isSchemeColorValue, isThemeColor, knownThemeColor, levelShowsMarker, lockedControlMessage, lockedControlViolation, locksContent, locksControl, mergeParagraphNumbering, mintRelationshipId, normalizeRevisionId, numberingInstanceResolves, numberingLevelEntries, numberingLevelHasMarkerSlot, outlineLevelFromStatedValue, outlineLevelStatedValue, paragraphNumberingFromSlots, paragraphNumberingLevel, paragraphNumberingReference, paragraphNumberingReferenceId, paragraphNumberingSlots, paragraphSpacingExplicit, preservedChildGap, presetLineDashFrom, presetLineDashToken, readThemeColor, relationshipIdOf, resolveNumberingLevel, resolveParagraphNumbering, sameEffectiveParagraphNumbering, sameStatedParagraphNumbering, setDocumentBodyComments, statesNoBorder, themeColorSlot, themeColorToken };
@@ -1 +1 @@
1
- export { i as BIDI_CONTROLS, Z as BODY_TEXT_OUTLINE_LEVEL, j as BORDER_STYLES, t as COMMENT_PART_RELATIONSHIPS, St as CONTENT_CONTROL_LOCK, b as COUNTER_FORMATS, n as DEFAULT_TAB_STOP_TWIPS, r as DOCX_CONFORMANCE_CLASSES, a as DRAWING_RAW_XML_MODES, ht as IMPORTED_ID_COLLISION_KINDS, gt as MAX_RETAINED_PARSE_WARNINGS_PER_CODE, c as MAX_REVISION_ID, rt as NO_NUMBERING_NUM_ID, it as NO_PARAGRAPH_NUMBERING, M as NUMBER_FORMATS, N as PARAGRAPH_ALIGNMENTS, l as PARAGRAPH_MARK_CHANGE_KINDS, _t as PARSE_WARNING_CODES, w as PRESET_LINE_DASH_VALS, u as PROPERTY_REVISION_KINDS, d as REVIEW_CARRIERS, z as SCHEME_COLOR_VALUE_BY_THEME_COLOR, P as TABLE_ALIGNMENTS, F as TAB_STOP_ALIGNMENTS, I as TEXT_DIRECTIONS, L as TEXT_DIRECTION_FLOWS, R as TEXT_DIRECTION_FLOW_BY_TOKEN, q as THEME_COLORS, B as THEME_COLOR_BY_SCHEME_COLOR_VALUE, T as borderStyleFrom, E as borderStyleToken, Ct as contentControlLockAllows, vt as finalizeParagraphFormatting, wt as firstLockedControlViolation, kt as getSingularRunPropertyChange, Q as headingLevelOf, $ as headingOutlineLevel, D as isBorderNil, O as isBorderNone, k as isBorderStyle, yt as isCanonicallyEmptyParagraphFormatting, nt as isNumberingLevel, at as isNumberingReference, p as isOoxmlSymbolCharacter, x as isPresetLineDashVal, V as isSchemeColorValue, H as isThemeColor, U as knownThemeColor, h as levelShowsMarker, Tt as lockedControlMessage, Et as lockedControlViolation, Dt as locksContent, Ot as locksControl, ot as mergeParagraphNumbering, J as mintRelationshipId, m as normalizeRevisionId, g as numberingInstanceResolves, _ as numberingLevelEntries, v as numberingLevelHasMarkerSlot, et as outlineLevelFromStatedValue, tt as outlineLevelStatedValue, st as paragraphNumberingFromSlots, ct as paragraphNumberingLevel, lt as paragraphNumberingReference, ut as paragraphNumberingReferenceId, dt as paragraphNumberingSlots, bt as paragraphSpacingExplicit, X as preservedChildGap, S as presetLineDashFrom, C as presetLineDashToken, W as readThemeColor, Y as relationshipIdOf, y as resolveNumberingLevel, ft as resolveParagraphNumbering, pt as sameEffectiveParagraphNumbering, mt as sameStatedParagraphNumbering, xt as setDocumentBodyComments, A as statesNoBorder, G as themeColorSlot, K as themeColorToken } from "../document-BuoCvTcR.js";
1
+ export { i as BIDI_CONTROLS, Z as BODY_TEXT_OUTLINE_LEVEL, j as BORDER_STYLES, t as COMMENT_PART_RELATIONSHIPS, St as CONTENT_CONTROL_LOCK, b as COUNTER_FORMATS, n as DEFAULT_TAB_STOP_TWIPS, r as DOCX_CONFORMANCE_CLASSES, a as DRAWING_RAW_XML_MODES, ht as IMPORTED_ID_COLLISION_KINDS, gt as MAX_RETAINED_PARSE_WARNINGS_PER_CODE, c as MAX_REVISION_ID, kt as MAX_TABLE_GRID_COLUMNS, rt as NO_NUMBERING_NUM_ID, it as NO_PARAGRAPH_NUMBERING, M as NUMBER_FORMATS, N as PARAGRAPH_ALIGNMENTS, l as PARAGRAPH_MARK_CHANGE_KINDS, _t as PARSE_WARNING_CODES, w as PRESET_LINE_DASH_VALS, u as PROPERTY_REVISION_KINDS, d as REVIEW_CARRIERS, z as SCHEME_COLOR_VALUE_BY_THEME_COLOR, P as TABLE_ALIGNMENTS, F as TAB_STOP_ALIGNMENTS, I as TEXT_DIRECTIONS, L as TEXT_DIRECTION_FLOWS, R as TEXT_DIRECTION_FLOW_BY_TOKEN, q as THEME_COLORS, B as THEME_COLOR_BY_SCHEME_COLOR_VALUE, T as borderStyleFrom, E as borderStyleToken, Ct as contentControlLockAllows, vt as finalizeParagraphFormatting, wt as firstLockedControlViolation, jt as getSingularRunPropertyChange, At as gridColumnsInRows, Q as headingLevelOf, $ as headingOutlineLevel, D as isBorderNil, O as isBorderNone, k as isBorderStyle, yt as isCanonicallyEmptyParagraphFormatting, nt as isNumberingLevel, at as isNumberingReference, p as isOoxmlSymbolCharacter, x as isPresetLineDashVal, V as isSchemeColorValue, H as isThemeColor, U as knownThemeColor, h as levelShowsMarker, Tt as lockedControlMessage, Et as lockedControlViolation, Dt as locksContent, Ot as locksControl, ot as mergeParagraphNumbering, J as mintRelationshipId, m as normalizeRevisionId, g as numberingInstanceResolves, _ as numberingLevelEntries, v as numberingLevelHasMarkerSlot, et as outlineLevelFromStatedValue, tt as outlineLevelStatedValue, st as paragraphNumberingFromSlots, ct as paragraphNumberingLevel, lt as paragraphNumberingReference, ut as paragraphNumberingReferenceId, dt as paragraphNumberingSlots, bt as paragraphSpacingExplicit, X as preservedChildGap, S as presetLineDashFrom, C as presetLineDashToken, W as readThemeColor, Y as relationshipIdOf, y as resolveNumberingLevel, ft as resolveParagraphNumbering, pt as sameEffectiveParagraphNumbering, mt as sameStatedParagraphNumbering, xt as setDocumentBodyComments, A as statesNoBorder, G as themeColorSlot, K as themeColorToken } from "../document-d_O4GWz3.js";
@@ -1,4 +1,4 @@
1
- import { Bt as HeaderFooter, C as Relationship, Ct as DocumentBody, D as StyleDefinitions, Dn as ParagraphContent, En as Paragraph, Er as TrackedChangeInfo, Jr as AbstractNumbering, Lt as Footnote, On as ParagraphMarkChange, S as MediaFile, Si as TableRowFormatting, Ti as TextFormatting, Un as Run, Vt as HeaderFooterType, Wi as HeadingOutlineLevel, Wn as RunContent, Wt as INSERTION_SEAM_POLICIES, Xn as SectionProperties, Yn as Section, Zn as SectionPropertyChange, _i as TableFormatting, a as DocumentSettings, an as KeptCut, at as BlockContent, br as TableRow, ct as BookmarkEnd, dr as Table, dt as BreakContent, g as ExhaustiveFields, gi as TableCellFormatting, i as Document, ii as NumberingInstance, jn as ParagraphPropertyChange, kt as Endnote, pt as Comment, qn as SdtProperties, ri as NumberingDefinitions, s as DocxPackage, st as BlockSdt, ui as ParagraphFormatting, ur as TabContent } from "../document-BKejiFuk.js";
1
+ import { $n as SectionPropertyChange, An as ParagraphMarkChange, C as Relationship, D as StyleDefinitions, Di as TextFormatting, Gn as Run, Ht as HeaderFooter, Ki as HeadingOutlineLevel, Kn as RunContent, Kt as INSERTION_SEAM_POLICIES, Ln as PreservedBlock, Nn as ParagraphPropertyChange, On as Paragraph, Or as TrackedChangeInfo, Qn as SectionProperties, S as MediaFile, Sr as TableRow, Tt as DocumentBody, Ut as HeaderFooterType, Xr as AbstractNumbering, Yn as SdtProperties, Zn as Section, a as DocumentSettings, ai as NumberingDefinitions, ct as BlockCustomXml, fi as ParagraphFormatting, fr as TabContent, g as ExhaustiveFields, ht as Comment, i as Document, jt as Endnote, kn as ParagraphContent, lt as BlockSdt, oi as NumberingInstance, pr as Table, pt as BreakContent, s as DocxPackage, sn as KeptCut, st as BlockContent, ut as BookmarkEnd, vi as TableCellFormatting, wi as TableRowFormatting, yi as TableFormatting, zt as Footnote } from "../document-BOzPxEBT.js";
2
2
  import { a as DeepReadonly, n as PreservedChild, o as RecordField } from "../preservedMarkup-BWpGhchw.js";
3
3
  import { Result, TaggedErrorClass } from "better-result";
4
4
  /** JSON-safe map presence, including an explicitly undefined section map. */
@@ -1457,8 +1457,10 @@ export declare const DOCUMENT_OP_REFUSAL_REASONS: Readonly<{
1457
1457
  readonly INSIDE_INLINE_CONTROL: "insideInlineControl";
1458
1458
  /**
1459
1459
  * No tracked change can record the edit, or no resolution op can carry it
1460
- * out yet: comment boundaries in a tracked range, the paragraph mark's run
1461
- * properties, a join at a section break, a record inside a field.
1460
+ * out yet: the paragraph mark's run properties, a deleted paragraph whose
1461
+ * hyperlink or content control holds a comment anchor, a section-ending
1462
+ * mark resolved across a standing range boundary, a change inside a
1463
+ * simple field holding content the field cannot hold.
1462
1464
  */
1463
1465
  readonly UNTRACKABLE: "untrackable";
1464
1466
  /**
@@ -1529,6 +1531,69 @@ export declare class DocumentOpRefusal extends DocumentOpRefusalBase<{
1529
1531
  */
1530
1532
  blockedParagraphMarkRevisionId?: number;
1531
1533
  }> {}
1534
+ /** A document an operation produced, the operations that undo it, and what it changed. */
1535
+ type AppliedDocumentOp = {
1536
+ document: Document;
1537
+ /** Apply in order to restore the input document. */
1538
+ inverse: readonly DocumentOp[];
1539
+ touched: TouchedBlocks;
1540
+ /**
1541
+ * Newly allocated tracked revision ids, in document order: its stamp's
1542
+ * id and the new ids its other records took. Existing ids retained by a
1543
+ * folded or continued review are excluded; a direct operation reports none.
1544
+ */
1545
+ revisions: readonly number[];
1546
+ /**
1547
+ * Existing revision ids whose pending property changes the operation
1548
+ * folded its edit into, in document order: the changes now carry its
1549
+ * stamp and record the properties it set, so accepting or rejecting one
1550
+ * of them accepts or rejects the edit too. Disjoint from `revisions`; a
1551
+ * direct operation reports none.
1552
+ */
1553
+ folded: readonly number[];
1554
+ };
1555
+ /** The revision ids a tracked operation's records carry. */
1556
+ type RecordedRevisionIds = Pick<AppliedDocumentOp, "revisions" | "folded">;
1557
+ /**
1558
+ * The revision ids of operations applied in turn, as one operation's: every
1559
+ * step's new ids, and the existing ids a step folded into that no step of
1560
+ * them allocated.
1561
+ */
1562
+ export declare const combineRecordedRevisions: (steps: readonly RecordedRevisionIds[]) => RecordedRevisionIds;
1563
+ /** Apply one operation to a document that meets the seed contract. */
1564
+ export declare const applyDocumentOp: (document: Document, input: DocumentOp) => Result<AppliedDocumentOp, DocumentOpRefusal>;
1565
+ /** Apply a journal envelope only when its schema matches this reader. */
1566
+ export declare const applyDocumentOpEnvelope: (document: Document, envelope: {
1567
+ schema: number;
1568
+ op: DocumentOp;
1569
+ }) => Result<AppliedDocumentOp, DocumentOpRefusal>;
1570
+ /**
1571
+ * An inverse whose whole-part restores expect the parts they meet when the
1572
+ * inverse runs, in order, on `document`.
1573
+ *
1574
+ * A restore records the parts its operation left, and refuses as stale when
1575
+ * the document it meets holds other ones. A caller that changes the document
1576
+ * after an operation (a derivation over the whole document, such as list
1577
+ * rendering) and puts its own inverse first rebases the restores onto that
1578
+ * document, so undo meets exactly what each restore expects. The inverse is
1579
+ * returned as it is when it holds no restore, or when it does not apply.
1580
+ */
1581
+ export declare const inverseMeetingDocument: (document: Document, inverse: readonly DocumentOp[]) => readonly DocumentOp[];
1582
+ /**
1583
+ * Apply operations in order, atomically: the first refusal is returned and
1584
+ * the document is unchanged. The inverse undoes the whole list, and
1585
+ * `revisions` lists each operation's in turn.
1586
+ */
1587
+ export declare const applyDocumentOps: (document: Document, ops: readonly DocumentOp[]) => Result<AppliedDocumentOp, DocumentOpRefusal>;
1588
+ /** Source coordinates of the inline text a resolved view omitted. */
1589
+ type IndependentMarkupParagraph = {
1590
+ index: number;
1591
+ sourceLength: number;
1592
+ omitted: readonly {
1593
+ from: number;
1594
+ to: number;
1595
+ }[];
1596
+ };
1532
1597
  /**
1533
1598
  * What a run of a story's blocks adds to the document's comment anchors, as
1534
1599
  * {@link commentDocumentIssue} reads them: each anchor's kind and id in
@@ -2043,60 +2108,6 @@ export declare const suggestionOwnersInStory: (document: Document, story: OpStor
2043
2108
  * every suggestion that proposes a comment.
2044
2109
  */
2045
2110
  export declare const pendingSuggestionIdsIn: (document: Document) => Set<string>;
2046
- /** A document an operation produced, the operations that undo it, and what it changed. */
2047
- type AppliedDocumentOp = {
2048
- document: Document;
2049
- /** Apply in order to restore the input document. */
2050
- inverse: readonly DocumentOp[];
2051
- touched: TouchedBlocks;
2052
- /**
2053
- * Newly allocated tracked revision ids, in document order: its stamp's
2054
- * id and the new ids its other records took. Existing ids retained by a
2055
- * folded or continued review are excluded; a direct operation reports none.
2056
- */
2057
- revisions: readonly number[];
2058
- /**
2059
- * Existing revision ids whose pending property changes the operation
2060
- * folded its edit into, in document order: the changes now carry its
2061
- * stamp and record the properties it set, so accepting or rejecting one
2062
- * of them accepts or rejects the edit too. Disjoint from `revisions`; a
2063
- * direct operation reports none.
2064
- */
2065
- folded: readonly number[];
2066
- };
2067
- /** The revision ids a tracked operation's records carry. */
2068
- type RecordedRevisionIds = Pick<AppliedDocumentOp, "revisions" | "folded">;
2069
- /**
2070
- * The revision ids of operations applied in turn, as one operation's: every
2071
- * step's new ids, and the existing ids a step folded into that no step of
2072
- * them allocated.
2073
- */
2074
- export declare const combineRecordedRevisions: (steps: readonly RecordedRevisionIds[]) => RecordedRevisionIds;
2075
- /** Apply one operation to a document that meets the seed contract. */
2076
- export declare const applyDocumentOp: (document: Document, input: DocumentOp) => Result<AppliedDocumentOp, DocumentOpRefusal>;
2077
- /** Apply a journal envelope only when its schema matches this reader. */
2078
- export declare const applyDocumentOpEnvelope: (document: Document, envelope: {
2079
- schema: number;
2080
- op: DocumentOp;
2081
- }) => Result<AppliedDocumentOp, DocumentOpRefusal>;
2082
- /**
2083
- * An inverse whose whole-part restores expect the parts they meet when the
2084
- * inverse runs, in order, on `document`.
2085
- *
2086
- * A restore records the parts its operation left, and refuses as stale when
2087
- * the document it meets holds other ones. A caller that changes the document
2088
- * after an operation (a derivation over the whole document, such as list
2089
- * rendering) and puts its own inverse first rebases the restores onto that
2090
- * document, so undo meets exactly what each restore expects. The inverse is
2091
- * returned as it is when it holds no restore, or when it does not apply.
2092
- */
2093
- export declare const inverseMeetingDocument: (document: Document, inverse: readonly DocumentOp[]) => readonly DocumentOp[];
2094
- /**
2095
- * Apply operations in order, atomically: the first refusal is returned and
2096
- * the document is unchanged. The inverse undoes the whole list, and
2097
- * `revisions` lists each operation's in turn.
2098
- */
2099
- export declare const applyDocumentOps: (document: Document, ops: readonly DocumentOp[]) => Result<AppliedDocumentOp, DocumentOpRefusal>;
2100
2111
  type HyperlinkEditorIntent = {
2101
2112
  type: "setHyperlink";
2102
2113
  from: TextPosition;
@@ -2116,6 +2127,12 @@ type HyperlinkEditorIntent = {
2116
2127
  href: string;
2117
2128
  tooltip?: string;
2118
2129
  };
2130
+ /**
2131
+ * A block a clipboard paste places: a paragraph, a table, a block content
2132
+ * control or custom XML element holding blocks of its own, or block markup
2133
+ * kept as it was read.
2134
+ */
2135
+ type PastedBlock = Paragraph | Table | BlockSdt | BlockCustomXml | PreservedBlock;
2119
2136
  /** The notes and comments pasted references and markers name, by those ids. */
2120
2137
  type PasteAnnotations = {
2121
2138
  notes: readonly (Footnote | Endnote)[];
@@ -2246,13 +2263,20 @@ type EditorIntent = HyperlinkEditorIntent | GenerateTOCIntent | {
2246
2263
  * Clipboard blocks, tables among them, over a range: the range is
2247
2264
  * cleared, an open first or last paragraph joins the text at its edge,
2248
2265
  * and the blocks between go in before the caret's paragraph, split at
2249
- * the caret when text stands before it. Without a table it is
2250
- * `replaceFragment`.
2266
+ * the caret when text stands before it. Only when every block is a
2267
+ * paragraph is it `replaceFragment`; a table, a container or kept
2268
+ * block markup among them is placed as a block.
2251
2269
  */
2252
2270
  type: "pasteBlocks";
2253
2271
  from: TextPosition;
2254
2272
  to: TextPosition;
2255
- blocks: readonly (Paragraph | Table)[];
2273
+ /**
2274
+ * A block content control or custom XML element goes in whole, its own
2275
+ * paragraphs identified as the others are, and so does block markup
2276
+ * kept as it was read; neither has a tracked record, so suggesting
2277
+ * refuses them.
2278
+ */
2279
+ blocks: readonly PastedBlock[];
2256
2280
  openStart: 0 | 1;
2257
2281
  openEnd: 0 | 1;
2258
2282
  /**
@@ -2270,18 +2294,22 @@ type EditorIntent = HyperlinkEditorIntent | GenerateTOCIntent | {
2270
2294
  openEnd: 0 | 1;
2271
2295
  } | {
2272
2296
  /**
2273
- * Blocks, tables among them, dragged from a range to a target. The
2274
- * tables standing wholly between `from` and `to` are removed, or in
2275
- * suggesting mode recorded as deleted, the text of the range is
2276
- * deleted as `moveFragment` deletes it, and the blocks go in at the
2277
- * target as `pasteBlocks` places them, a suggestion recording them as
2278
- * inserted. Without a table it is `moveFragment`.
2297
+ * Blocks, tables and containers among them, dragged from a range to a
2298
+ * target. The tables and containers standing wholly between `from`
2299
+ * and `to` are removed, a table in suggesting mode recorded as
2300
+ * deleted, the text of the range is deleted as `moveFragment` deletes
2301
+ * it, and the blocks go in at the target as `pasteBlocks` places them,
2302
+ * a suggestion recording them as inserted. A container has no tracked
2303
+ * record, so a suggestion moving one refuses. Only when every block
2304
+ * is a paragraph is it `moveFragment`. A direct move keeps the notes
2305
+ * and comments the blocks' references and markers name, under their
2306
+ * own ids.
2279
2307
  */
2280
2308
  type: "moveBlocks";
2281
2309
  from: TextPosition;
2282
2310
  to: TextPosition;
2283
2311
  target: TextPosition;
2284
- blocks: readonly (Paragraph | Table)[];
2312
+ blocks: readonly PastedBlock[];
2285
2313
  openStart: 0 | 1;
2286
2314
  openEnd: 0 | 1;
2287
2315
  } | {
@@ -2390,6 +2418,12 @@ type CompileEditorIntentOptions = {
2390
2418
  replacementFormattingDocument?: Document;
2391
2419
  /** Lowest candidate for compiler-owned pasted block IDs, including retired session IDs. */
2392
2420
  firstBlockId?: number;
2421
+ /**
2422
+ * Pasted blocks a direct move took from this story: their note references
2423
+ * and comment markers keep naming the notes and comments they named, which
2424
+ * the move leaves in place, rather than naming copies.
2425
+ */
2426
+ moved?: true;
2393
2427
  };
2394
2428
  type CompiledEditorIntent = {
2395
2429
  ops: DocumentOp[];
@@ -3142,12 +3176,19 @@ type ResolvedDocumentView = {
3142
3176
  */
3143
3177
  unresolved: readonly OpStory[];
3144
3178
  };
3179
+ /** A rendered review view with inline changes available for position mapping. */
3180
+ type ResolvedMarkupDocumentView = ResolvedDocumentView & {
3181
+ /** Every changed paragraph keeps its place and only its inline content changed. */
3182
+ independentInline?: readonly IndependentMarkupParagraph[];
3183
+ };
3145
3184
  /**
3146
3185
  * `document` with every revision resolved by `decision`, story by story. A
3147
3186
  * story the resolution of an earlier one removed (a note whose every
3148
3187
  * reference went) is not read again.
3149
3188
  */
3150
3189
  export declare const resolvedDocumentView: (document: Document, decision: RevisionDecision) => ResolvedDocumentView;
3190
+ /** Resolve a markup display, keeping paragraphs before pending table receivers. */
3191
+ export declare const resolvedMarkupDocumentView: (document: Document, decision: RevisionDecision) => ResolvedMarkupDocumentView;
3151
3192
  type WholeParagraphReplacementOptions = {
3152
3193
  document: Document;
3153
3194
  from: TextPosition;
@@ -3183,4 +3224,4 @@ export declare const preservedCommentRangeMarkersAt: (children: readonly Preserv
3183
3224
  export declare const storyBody: (document: Document, story: OpStory) => DocumentBody;
3184
3225
  export declare const findStoryBody: (document: Document, story: OpStory) => DocumentBody | undefined;
3185
3226
  export declare const sameStory: (left: OpStory, right: OpStory) => boolean;
3186
- export type { AddNoteOp, AppliedDocumentOp, BatchAck, BatchAnnotationKind, BatchBlockAccess, BatchOrderAddress, BatchReject, BatchRejectionReason, BatchSubmission, BlockBoundary, BlockInsertionPoint, BoundaryOccurrence, ClientDocumentChange, ClientNotice, CommentAnchor, CommentExhaustionInput, CommentReferenceOffset, CommentState, CopyOriginAncestorList, CreateCommentOp, CreateHeaderFooterOp, CreateNumberingInstanceOp, DeleteBlocksOp, DeleteColumnOp, DeleteCommentOp, DeleteNumberingInstanceOp, DeleteRangeOp, DeleteRowOp, DeleteTableOp, DocumentBatch, DocumentOp, DocumentOpEnvelope, DocumentOpRefusalReason, DocumentOpType, EditorIntent, EditorIntentMode, EmptyPropertySet, ExclusivePart, FinalBreakCandidate, FinalBreakCarrier, FormattingPatch, HeaderFooterStory, IdBlock, IdLease, IdLeaseGrant, IdLeaseKind, IdLeaseMinted, IdLeaseRefusalReason, IdLeaseState, InlineSlice, InsertBlocksOp, InsertColumnOp, InsertContentOp, InsertRowOp, InsertTableOp, InsertTextOp, InsertedRunProps, JoinBlocksOp, JoinInlineOp, KeptCutPiece, LeasedId, LeasedIdCensus, MergeCellsOp, NewIds, NewListInstance, NoteStory, NumberingPartState, OpStory, PackageResourceEntry, PackageResourceEntryChange, PackageResourceMapChange, PackageResourceMedia, PackageResourcePart, PackageResources, ParagraphAbsorption, ParagraphContentVerdict, ParagraphPropsPatch, ParagraphReviewFields, PasteAnnotations, PlanTrackedDeletionOptions, PlanTrackedReplaceOptions, PreservedCommentRangeMarker, RecordedRevisionIds, RemoveHeaderFooterOp, RemoveNoteOp, ReplaceBlocksOp, ReplaceInlineOp, ResolveRevisionOp, ResolvedDocumentView, RestoreCommentStateOp, RestoreStoryPartsOp, RevisionAbsorption, RevisionDecision, RevisionStamp, RunPropsPatch, SectionEndpoint, SectionMapState, SectionPropertiesState, SectionViewEntry, SectionViewState, SequencedBatch, SequencerOptions, SetCellPropsOp, SetCommentResolutionOp, SetContainerBlocksOp, SetContentControlOp, SetPackageResourcesOp, SetParagraphPropsOp, SetParagraphReviewOp, SetRowPropsOp, SetRunPropsOp, SetSectionEndpointOp, SetSectionPropsOp, SetTableGridOp, SetTableOp, SetTablePropsOp, SetTableRowsOp, SplitBlockOp, SplitCellOp, SplitHalf, SplitInlineOp, SplitParagraphFields, StoryParts, TableBlockIntentOperation, TableEditOp, TableInsertionPoint, TableIntentOperation, TableRowIntentOperation, TextPosition, TouchedBlocks, UpdateCommentContentOp, VersionOneKept, VersionOneKeptMarkers, WellFormedRangePlan, ZeroWidthItem };
3227
+ export type { AddNoteOp, AppliedDocumentOp, BatchAck, BatchAnnotationKind, BatchBlockAccess, BatchOrderAddress, BatchReject, BatchRejectionReason, BatchSubmission, BlockBoundary, BlockInsertionPoint, BoundaryOccurrence, ClientDocumentChange, ClientNotice, CommentAnchor, CommentExhaustionInput, CommentReferenceOffset, CommentState, CopyOriginAncestorList, CreateCommentOp, CreateHeaderFooterOp, CreateNumberingInstanceOp, DeleteBlocksOp, DeleteColumnOp, DeleteCommentOp, DeleteNumberingInstanceOp, DeleteRangeOp, DeleteRowOp, DeleteTableOp, DocumentBatch, DocumentOp, DocumentOpEnvelope, DocumentOpRefusalReason, DocumentOpType, EditorIntent, EditorIntentMode, EmptyPropertySet, ExclusivePart, FinalBreakCandidate, FinalBreakCarrier, FormattingPatch, HeaderFooterStory, IdBlock, IdLease, IdLeaseGrant, IdLeaseKind, IdLeaseMinted, IdLeaseRefusalReason, IdLeaseState, IndependentMarkupParagraph, InlineSlice, InsertBlocksOp, InsertColumnOp, InsertContentOp, InsertRowOp, InsertTableOp, InsertTextOp, InsertedRunProps, JoinBlocksOp, JoinInlineOp, KeptCutPiece, LeasedId, LeasedIdCensus, MergeCellsOp, NewIds, NewListInstance, NoteStory, NumberingPartState, OpStory, PackageResourceEntry, PackageResourceEntryChange, PackageResourceMapChange, PackageResourceMedia, PackageResourcePart, PackageResources, ParagraphAbsorption, ParagraphContentVerdict, ParagraphPropsPatch, ParagraphReviewFields, PasteAnnotations, PastedBlock, PlanTrackedDeletionOptions, PlanTrackedReplaceOptions, PreservedCommentRangeMarker, RecordedRevisionIds, RemoveHeaderFooterOp, RemoveNoteOp, ReplaceBlocksOp, ReplaceInlineOp, ResolveRevisionOp, ResolvedDocumentView, ResolvedMarkupDocumentView, RestoreCommentStateOp, RestoreStoryPartsOp, RevisionAbsorption, RevisionDecision, RevisionStamp, RunPropsPatch, SectionEndpoint, SectionMapState, SectionPropertiesState, SectionViewEntry, SectionViewState, SequencedBatch, SequencerOptions, SetCellPropsOp, SetCommentResolutionOp, SetContainerBlocksOp, SetContentControlOp, SetPackageResourcesOp, SetParagraphPropsOp, SetParagraphReviewOp, SetRowPropsOp, SetRunPropsOp, SetSectionEndpointOp, SetSectionPropsOp, SetTableGridOp, SetTableOp, SetTablePropsOp, SetTableRowsOp, SplitBlockOp, SplitCellOp, SplitHalf, SplitInlineOp, SplitParagraphFields, StoryParts, TableBlockIntentOperation, TableEditOp, TableInsertionPoint, TableIntentOperation, TableRowIntentOperation, TextPosition, TouchedBlocks, UpdateCommentContentOp, VersionOneKept, VersionOneKeptMarkers, WellFormedRangePlan, ZeroWidthItem };