@stll/docx-core 0.44.0 → 0.45.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.
|
@@ -1748,20 +1748,29 @@ type MarkupRangeMarker = WritableRecord & {
|
|
|
1748
1748
|
};
|
|
1749
1749
|
/**
|
|
1750
1750
|
* The cut a kept range marker stands in: the date of the revision it was kept
|
|
1751
|
-
* from, and
|
|
1752
|
-
*
|
|
1753
|
-
*
|
|
1751
|
+
* from, and the pending changes beside the marker that took its seam and hold
|
|
1752
|
+
* a piece of that cut (`holders`): resolved, such a change takes the marker
|
|
1753
|
+
* with no alike record across from it.
|
|
1754
1754
|
*/
|
|
1755
1755
|
type KeptCut = WritableRecord & {
|
|
1756
1756
|
keptFrom: string;
|
|
1757
|
-
|
|
1757
|
+
holders?: KeptCutHolders;
|
|
1758
1758
|
};
|
|
1759
1759
|
/**
|
|
1760
|
-
* The
|
|
1761
|
-
*
|
|
1762
|
-
*
|
|
1760
|
+
* The revision ids of the pending changes either side of a kept marker that
|
|
1761
|
+
* hold a piece of its cut: the one before it, the one after it, or both. A
|
|
1762
|
+
* holder no longer standing beside the marker holds nothing. A seam-scoped
|
|
1763
|
+
* marker waits on the whole cut, even where it has a holder on one side.
|
|
1763
1764
|
*/
|
|
1764
|
-
type
|
|
1765
|
+
type KeptCutHolders = WritableRecord & {
|
|
1766
|
+
scope?: "seam";
|
|
1767
|
+
} & ({
|
|
1768
|
+
before: number;
|
|
1769
|
+
after?: number;
|
|
1770
|
+
} | {
|
|
1771
|
+
before?: number;
|
|
1772
|
+
after: number;
|
|
1773
|
+
});
|
|
1765
1774
|
/** Added-revision ancestors that own a copied bookmark or move boundary. */
|
|
1766
1775
|
type CopyOriginAncestorOrdinals = readonly [number, ...number[]];
|
|
1767
1776
|
type CopyOriginMarker = WritableRecord & {
|
|
@@ -3396,6 +3405,20 @@ type ParagraphMarkChange = WritableRecord & {
|
|
|
3396
3405
|
* reader that does not know it joins as any rejected mark does.
|
|
3397
3406
|
*/
|
|
3398
3407
|
survivor?: "first" | undefined;
|
|
3408
|
+
/**
|
|
3409
|
+
* With `survivor: "first"`: the revision id of the tracked mark the
|
|
3410
|
+
* paragraph after took over (at the end of a chain of such marks), which
|
|
3411
|
+
* that paragraph holds. When the paragraph holding it goes (rejected, joined
|
|
3412
|
+
* on or deleted), the mark keeps the paragraph after on rejection, the one
|
|
3413
|
+
* that was there before both; when the mark is accepted, the paragraph
|
|
3414
|
+
* stays and the id goes. Absent when the taken-over mark was no tracked
|
|
3415
|
+
* change. Saved as folio's own ignorable review provenance.
|
|
3416
|
+
*
|
|
3417
|
+
* Compatibility: a file saved before folio recorded it carries
|
|
3418
|
+
* `survivor: "first"` alone, read as that same positional flag. Remove that
|
|
3419
|
+
* reading when no supported document can still carry the flag alone.
|
|
3420
|
+
*/
|
|
3421
|
+
takenOverMark?: number | undefined;
|
|
3399
3422
|
/**
|
|
3400
3423
|
* A later pending deletion of this added mark, `w:del` written beside its
|
|
3401
3424
|
* `w:ins` or `w:moveTo`: another author deleted the break an insertion
|
|
@@ -4571,4 +4594,4 @@ declare const COMMENT_PART_RELATIONSHIPS: {
|
|
|
4571
4594
|
readonly target: "commentsExtended.xml";
|
|
4572
4595
|
};
|
|
4573
4596
|
};
|
|
4574
|
-
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,
|
|
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 };
|
package/dist/docx_kernel_bg.wasm
CHANGED
|
Binary file
|
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-
|
|
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";
|
|
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/model/document.d.ts
CHANGED
|
@@ -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
|
|
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";
|
|
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
|
|
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 };
|
|
@@ -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-
|
|
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";
|
|
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. */
|
|
@@ -1026,7 +1026,10 @@ type SplitCellOp = TableEditTarget & {
|
|
|
1026
1026
|
type: typeof DOCUMENT_OP_TYPES.SPLIT_CELL;
|
|
1027
1027
|
newBlockIds: readonly string[];
|
|
1028
1028
|
};
|
|
1029
|
-
/**
|
|
1029
|
+
/**
|
|
1030
|
+
* Resize the existing logical grid without changing its topology. No widths
|
|
1031
|
+
* leaves the grid unmeasured, for a table laid out from its contents.
|
|
1032
|
+
*/
|
|
1030
1033
|
type SetTableGridOp = TableEditTarget & {
|
|
1031
1034
|
type: typeof DOCUMENT_OP_TYPES.SET_TABLE_GRID;
|
|
1032
1035
|
columnWidths: readonly number[];
|
|
@@ -1592,6 +1595,13 @@ type TrackedWrapper = Extract<InlineNode, {
|
|
|
1592
1595
|
}>;
|
|
1593
1596
|
/** The review fields a paragraph states, each only when present. */
|
|
1594
1597
|
export declare const reviewFieldsOf: (paragraph: ParagraphReviewFields) => ParagraphReviewFields;
|
|
1598
|
+
/**
|
|
1599
|
+
* The side of a kept marker whose pending change holds a piece of its cut,
|
|
1600
|
+
* as its holders name it: `both` where changes either side hold one. Derived
|
|
1601
|
+
* from {@link KeptCutHolders}; never stored.
|
|
1602
|
+
*/
|
|
1603
|
+
type KeptCutPiece = "before" | "after" | "both";
|
|
1604
|
+
export declare const isKeptCutPiece: (value: unknown) => value is KeptCutPiece;
|
|
1595
1605
|
type SeamJoins = NonNullable<TrackedWrapper["resolutionJoins"]>;
|
|
1596
1606
|
/**
|
|
1597
1607
|
* Kept markers a change's joins name in review history version 1: the
|
|
@@ -1612,13 +1622,14 @@ type VersionOneKept = {
|
|
|
1612
1622
|
groups: readonly (VersionOneKeptMarkers | undefined)[];
|
|
1613
1623
|
};
|
|
1614
1624
|
/** {@link withKeptCutsFromChanges} over a paragraph's content. */
|
|
1615
|
-
export declare const paragraphKeptCutsFromChanges: (content: readonly ParagraphContent[], writtenOnChange: (joins: SeamJoins) => VersionOneKept | undefined) => ParagraphContent[];
|
|
1625
|
+
export declare const paragraphKeptCutsFromChanges: (content: readonly ParagraphContent[], writtenOnChange: (joins: SeamJoins) => VersionOneKept | undefined, legacyPiece?: LegacyKeptCutPiece) => ParagraphContent[];
|
|
1616
1626
|
/**
|
|
1617
1627
|
* Whether `cut` is a well-formed kept cut: exactly its fields, kept from a
|
|
1618
|
-
* dated revision, naming
|
|
1619
|
-
* review history reader share it.
|
|
1628
|
+
* dated revision, naming the revisions holding its piece if any. The
|
|
1629
|
+
* contract and the review history reader share it.
|
|
1620
1630
|
*/
|
|
1621
1631
|
export declare const isKeptCut: (cut: unknown) => cut is KeptCut;
|
|
1632
|
+
type LegacyKeptCutPiece = (cut: KeptCut) => KeptCutPiece | undefined;
|
|
1622
1633
|
type NoteDeletionOpsOptions = {
|
|
1623
1634
|
/** The document before the tracked edit. */
|
|
1624
1635
|
before: Document;
|
|
@@ -1685,6 +1696,16 @@ type WithParagraphRenderingsOptions = {
|
|
|
1685
1696
|
export declare const withParagraphRenderings: ({ document, story, renderings }: WithParagraphRenderingsOptions) => Document | undefined;
|
|
1686
1697
|
/** Capture only fields owned by the lifecycle delta; absent values survive JSON as null. */
|
|
1687
1698
|
export declare const captureStoryParts: (document: Document, owned: StoryParts) => StoryParts;
|
|
1699
|
+
type StoryPartsOpOptions = {
|
|
1700
|
+
before: Document;
|
|
1701
|
+
after: Document;
|
|
1702
|
+
};
|
|
1703
|
+
/**
|
|
1704
|
+
* The operation that turns `before`'s story parts (body, sections, headers,
|
|
1705
|
+
* footers, notes and settings) into `after`'s, for an edit computed on the
|
|
1706
|
+
* whole document; it is stale-checked against `before`.
|
|
1707
|
+
*/
|
|
1708
|
+
export declare const storyPartsOpOf: ({ before, after }: StoryPartsOpOptions) => RestoreStoryPartsOp;
|
|
1688
1709
|
export declare const sectionPropertiesAt: (document: Document, sectionIndex: number) => SectionProperties | undefined;
|
|
1689
1710
|
/**
|
|
1690
1711
|
* A text box's `w:txbxContent`: a story drawn in a paragraph of another
|
|
@@ -1819,6 +1840,13 @@ export declare const paragraphContentVerdict: ({ width, zeroWidthItems }: {
|
|
|
1819
1840
|
width: number;
|
|
1820
1841
|
zeroWidthItems: Iterable<ZeroWidthItem>;
|
|
1821
1842
|
}) => ParagraphContentVerdict;
|
|
1843
|
+
/** Whether a paragraph holds content its mark must not take away. */
|
|
1844
|
+
export declare const paragraphHoldsContent: (paragraph: Paragraph) => ParagraphContentVerdict;
|
|
1845
|
+
/**
|
|
1846
|
+
* Whether a paragraph still holds content once every change in it is
|
|
1847
|
+
* accepted: what its pending deletions and moves away hold does not count.
|
|
1848
|
+
*/
|
|
1849
|
+
export declare const paragraphHoldsContentOnceAccepted: (paragraph: Paragraph) => ParagraphContentVerdict;
|
|
1822
1850
|
/** The number of logical units in a paragraph: its largest valid offset. */
|
|
1823
1851
|
export declare const paragraphLength: (paragraph: Paragraph) => number;
|
|
1824
1852
|
/** A comment reference and the offset of the unit it takes. */
|
|
@@ -2080,6 +2108,11 @@ type HyperlinkEditorIntent = {
|
|
|
2080
2108
|
href: string;
|
|
2081
2109
|
tooltip?: string;
|
|
2082
2110
|
};
|
|
2111
|
+
/** The notes and comments pasted references and markers name, by those ids. */
|
|
2112
|
+
type PasteAnnotations = {
|
|
2113
|
+
notes: readonly (Footnote | Endnote)[];
|
|
2114
|
+
comments: readonly Comment[];
|
|
2115
|
+
};
|
|
2083
2116
|
/** Accepted-view text without changing the canonical paragraph or its offset space. */
|
|
2084
2117
|
export declare const paragraphVisibleText: (paragraph: Paragraph) => string;
|
|
2085
2118
|
type SplitParagraphIntent = {
|
|
@@ -2200,6 +2233,25 @@ type EditorIntent = HyperlinkEditorIntent | GenerateTOCIntent | {
|
|
|
2200
2233
|
paragraphs: readonly Paragraph[];
|
|
2201
2234
|
openStart: 0 | 1;
|
|
2202
2235
|
openEnd: 0 | 1;
|
|
2236
|
+
} | {
|
|
2237
|
+
/**
|
|
2238
|
+
* Clipboard blocks, tables among them, over a range: the range is
|
|
2239
|
+
* cleared, an open first or last paragraph joins the text at its edge,
|
|
2240
|
+
* and the blocks between go in before the caret's paragraph, split at
|
|
2241
|
+
* the caret when text stands before it. Without a table it is
|
|
2242
|
+
* `replaceFragment`.
|
|
2243
|
+
*/
|
|
2244
|
+
type: "pasteBlocks";
|
|
2245
|
+
from: TextPosition;
|
|
2246
|
+
to: TextPosition;
|
|
2247
|
+
blocks: readonly (Paragraph | Table)[];
|
|
2248
|
+
openStart: 0 | 1;
|
|
2249
|
+
openEnd: 0 | 1;
|
|
2250
|
+
/**
|
|
2251
|
+
* The notes and comments the blocks' references and markers name, by
|
|
2252
|
+
* those ids: each is copied under a fresh id where its reference lands.
|
|
2253
|
+
*/
|
|
2254
|
+
annotations?: PasteAnnotations;
|
|
2203
2255
|
} | {
|
|
2204
2256
|
type: "moveFragment";
|
|
2205
2257
|
from: TextPosition;
|
|
@@ -3089,4 +3141,4 @@ export declare const preservedCommentRangeMarkersAt: (children: readonly Preserv
|
|
|
3089
3141
|
export declare const storyBody: (document: Document, story: OpStory) => DocumentBody;
|
|
3090
3142
|
export declare const findStoryBody: (document: Document, story: OpStory) => DocumentBody | undefined;
|
|
3091
3143
|
export declare const sameStory: (left: OpStory, right: OpStory) => boolean;
|
|
3092
|
-
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, LeasedId, LeasedIdCensus, MergeCellsOp, NewIds, NewListInstance, NoteStory, NumberingPartState, OpStory, PackageResourceEntry, PackageResourceEntryChange, PackageResourceMapChange, PackageResourceMedia, PackageResourcePart, PackageResources, ParagraphAbsorption, ParagraphContentVerdict, ParagraphPropsPatch, ParagraphReviewFields, 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 };
|
|
3144
|
+
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 };
|