@stll/docx-core 0.43.1 → 0.44.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.
@@ -0,0 +1,116 @@
1
+ import { X as preservedChildGap } from "./document-BuoCvTcR.js";
2
+ import { c as readXml } from "./streamingXmlParser-BqnCIEZd.js";
3
+ import { OOXML_NAMESPACE_SCOPE, OOXML_NS, resolveNamespaceUri } from "./xml/xmlNamespaceContext.js";
4
+ // src/model/extremes.ts
5
+ /** `Math.max(floor, ...values)` without the argument limit. */
6
+ const maxOf = (values, floor = Number.NEGATIVE_INFINITY) => {
7
+ let result = floor;
8
+ for (const value of values) result = Math.max(result, value);
9
+ return result;
10
+ };
11
+ // src/xml/preservedCommentRangeMarkers.ts
12
+ const isWordprocessing = (uri) => uri === OOXML_NS.w || uri === "http://purl.oclc.org/ooxml/wordprocessingml/main";
13
+ /** Read a range boundary captured as a direct child of a table or row. */
14
+ const preservedCommentRangeMarker = (child) => {
15
+ const marker = capturedMarker(child);
16
+ return marker && {
17
+ type: marker.type,
18
+ id: marker.id
19
+ };
20
+ };
21
+ /** A captured range boundary under another comment id; another child as it is. */
22
+ const withPreservedCommentRangeId = (child, id) => {
23
+ const marker = capturedMarker(child);
24
+ if (marker === void 0 || marker.id === id) return child;
25
+ const attribute = marker.attribute.replaceAll(".", String.raw`\.`);
26
+ return {
27
+ ...child,
28
+ xml: child.xml.replace(new RegExp(String.raw`(?<before>\s${attribute}\s*=\s*)(?<quote>["'])\d+\k<quote>`, "u"), `$<before>$<quote>${String(id)}$<quote>`)
29
+ };
30
+ };
31
+ const capturedMarker = (child) => {
32
+ if (!child.xml.includes("commentRange")) return void 0;
33
+ const parsed = readXml(child.xml, {
34
+ conformance: "ooxml",
35
+ inheritedNamespaceScope: OOXML_NAMESPACE_SCOPE
36
+ });
37
+ if (parsed.status !== "parsed") return void 0;
38
+ const element = parsed.value.elements?.find(({ type }) => type === "element");
39
+ if (element?.name === void 0 || !isWordprocessing(element.namespaceUri)) return void 0;
40
+ const type = element.name.slice(element.name.indexOf(":") + 1);
41
+ if (type !== "commentRangeStart" && type !== "commentRangeEnd") return void 0;
42
+ for (const [name, raw] of Object.entries(element.attributes ?? {})) {
43
+ const colon = name.indexOf(":");
44
+ if (colon < 0 || name.slice(colon + 1) !== "id" || resolveNamespaceUri(element.namespaceScope, name.slice(0, colon)) !== element.namespaceUri || typeof raw !== "string" || !/^\d+$/u.test(raw)) continue;
45
+ const id = Number(raw);
46
+ if (Number.isSafeInteger(id)) return {
47
+ type,
48
+ id,
49
+ attribute: name
50
+ };
51
+ }
52
+ };
53
+ /** Read the boundaries before the named row or cell, in authored order. */
54
+ const preservedCommentRangeMarkersAt = (children, { at, childCount }) => {
55
+ const markers = [];
56
+ for (const child of children ?? []) {
57
+ if (preservedChildGap(child, childCount) !== at) continue;
58
+ const marker = preservedCommentRangeMarker(child);
59
+ if (marker !== void 0) markers.push(marker);
60
+ }
61
+ return markers;
62
+ };
63
+ // src/markdown/href.ts
64
+ const ALLOWED_URL_PROTOCOLS = /* @__PURE__ */ new Set([
65
+ "http:",
66
+ "https:",
67
+ "mailto:",
68
+ "tel:"
69
+ ]);
70
+ /**
71
+ * Keep only http(s), mailto, and tel URLs, normalised through the URL parser.
72
+ * Anything else (javascript:, data:, relative paths, malformed input) drops to
73
+ * `undefined` so a markdown link degrades to its text instead of carrying an
74
+ * executable target into the document.
75
+ */
76
+ const sanitizeExternalUrl = (rawUrl) => {
77
+ if (!rawUrl) return;
78
+ const trimmed = rawUrl.trim();
79
+ if (!trimmed) return;
80
+ const parsed = parseUrl(trimmed);
81
+ if (!parsed || !ALLOWED_URL_PROTOCOLS.has(parsed.protocol)) return;
82
+ if ((parsed.protocol === "mailto:" || parsed.protocol === "tel:") && parsed.pathname.trim() === "") return;
83
+ return parsed.href;
84
+ };
85
+ const parseUrl = (value) => {
86
+ try {
87
+ return new URL(value);
88
+ } catch {
89
+ return null;
90
+ }
91
+ };
92
+ const hasUnsafeAnchorCharacter = (anchor) => {
93
+ for (const char of anchor) {
94
+ const codePoint = char.codePointAt(0) ?? 0;
95
+ if (codePoint <= 32 || codePoint === 127 || char.trim() === "") return true;
96
+ }
97
+ return false;
98
+ };
99
+ /** A `#anchor` stays a document-internal target; anything else must pass {@link sanitizeExternalUrl}. */
100
+ const sanitizeMarkdownHref = (rawHref) => {
101
+ const trimmed = rawHref.trim();
102
+ if (!trimmed) return;
103
+ if (trimmed.startsWith("#")) {
104
+ const anchor = trimmed.slice(1);
105
+ if (!anchor || hasUnsafeAnchorCharacter(anchor)) return;
106
+ return `#${anchor}`;
107
+ }
108
+ return sanitizeExternalUrl(trimmed);
109
+ };
110
+ // src/ops/listItems.ts
111
+ /**
112
+ * The item of `list` just before `index`; `undefined` at the list's start,
113
+ * where `list.at(index - 1)` would read the list's last item instead.
114
+ */
115
+ const itemBefore = (list, index) => index > 0 ? list[index - 1] : void 0;
116
+ export { preservedCommentRangeMarkersAt as a, preservedCommentRangeMarker as i, sanitizeExternalUrl as n, withPreservedCommentRangeId as o, sanitizeMarkdownHref as r, maxOf as s, itemBefore as t };
@@ -1,3 +1,16 @@
1
- import { $ as locksContent, $i as TEXT_DIRECTION_FLOWS, $n as ShapeGeometryAdjustment, $r as NumberingDefinitions, $t as ImageWrapPolygon, A as ThemeColorScheme, Aa as BORDER_STYLES, Ai as mergeParagraphNumbering, An as PositionedBookmarkMarker, Ar as isOoxmlSymbolCharacter, At as EndnoteProperties, B as finalizeParagraphFormatting, Bi as HeadingOutlineLevel, Bn as RunContent, Br as presetLineDashFrom, Bt as HeaderFooterType, C as Relationship, Ca as UnrecognisedBorderStyle, Ci as NO_NUMBERING_NUM_ID, Cn as Paragraph, Cr as TrackedRunChange, Ct as DrawingAnchor, D as StyleDefinitions, Da as isBorderNone, Di as ParagraphNumberingSlots, Dn as ParagraphPropertyChange, Dr as WrapDistanceSlots, Dt as EffectExtentSlots, E as Style, Ea as isBorderNil, Ei as ParagraphNumberingReference, En as ParagraphMarkChangeKind, Er as Watermark, Et as DrawingRawXmlMode, F as MAX_RETAINED_PARSE_WARNINGS_PER_CODE, Fi as paragraphNumberingSlots, Fn as PropertyChangeInfo, Fr as PreviewDescriptor, Ft as FooterReference, G as ContentControlLock, Gi as outlineLevelStatedValue, Gn as Section, Gr as COUNTER_FORMATS, Gt as ImageCrop, H as setDocumentBodyComments, Hi as headingLevelOf, Hn as SdtEndProperties, Hr as PRESET_LINE_DASH_VALS, Ht as Hyperlink, I as PARSE_WARNING_CODES, Ii as resolveParagraphNumbering, In as PropertyRevisionKind, Ir as PreviewShape, It as Footnote, J as LockedControlViolation, Ji as PARAGRAPH_ALIGNMENTS, Jn as SectionStart, Jr as LevelOverride, Jt as ImagePadding, K as LockedControlSpan, Ki as NUMBER_FORMATS, Kn as SectionProperties, Kr as CounterFormat, Kt as ImageDocPrLink, L as ParseWarning, Li as sameEffectiveParagraphNumbering, Ln as REVIEW_CARRIERS, Lr as PresetLineDashValue, Lt as FootnotePosition, M as ThemeFontScheme, Mi as paragraphNumberingLevel, Mn as PreservedInline, Mr as RelationshipId, Mt as FieldCharContent, N as IMPORTED_ID_COLLISION_KINDS, Ni as paragraphNumberingReference, Nn as PreservedXmlContent, Nr as mintRelationshipId, Nt as FieldType, O as StyleType, Oa as isBorderStyle, Oi as ResolvedParagraphNumbering, On as PictureWatermark, Or as WrapDistances, Ot as Endnote, P as ImportedIdCollisionKind, Pi as paragraphNumberingReferenceId, Pn as PropertyChange, Pr as relationshipIdOf, Pt as FoldedListNumber, Q as lockedControlViolation, Qi as TEXT_DIRECTIONS, Qn as ShapeFill, Qr as ListRendering, Qt as ImageWrap, R as ParseWarningCode, Ri as sameStatedParagraphNumbering, Rn as ReviewCarrier, Rr as UnrecognisedPresetLineDash, Rt as FootnoteProperties, S as MediaFile, Sa as BorderStyleValue, Si as UnderlineStyle, Sn as PageOrientation, Sr as TrackedChangeInfo, St as DocumentBody, T as RelationshipType, Ta as borderStyleToken, Ti as ParagraphNumberingOverride, Tn as ParagraphMarkChange, Tr as VerticalAlign, Tt as DrawingGroupChild, U as CONTENT_CONTROL_LOCK, Ui as headingOutlineLevel, Un as SdtProperties, Ur as PresetLineDashVal, V as isCanonicallyEmptyParagraphFormatting, Vi as OutlineLevel, Vn as RunPropertyChange, Vr as presetLineDashToken, Vt as HeaderReference, W as ContentControlChange, Wi as outlineLevelFromStatedValue, Wn as SdtType, Wr as AbstractNumbering, Wt as Image, X as firstLockedControlViolation, Xi as TABLE_ALIGNMENTS, Xn as ShapeAlternateContent, Xr as ListLevel, Xt as ImageSize, Y as contentControlLockAllows, Yi as ParagraphAlignment, Yn as Shape, Yr as LevelSuffix, Yt as ImagePosition, Z as lockedControlMessage, Zi as TAB_STOP_ALIGNMENTS, Zn as ShapeContent, Zr as ListMarkerFormatting, Zt as ImageTransform, _ as DocDefaults, _a as themeColorToken, _i as TablePropertyExceptionFormatting, _n as NoteMarkerContent, _r as TableRowPropertyChange, _t as DRAWING_RAW_XML_MODES, a as DocumentSettings, aa as BorderSpec, ai as LineSpacingRule, an as MAX_REVISION_ID, ar as SymbolContent, at as BlockCustomXml, b as FontInfo, ba as THEME_COLORS, bi as TextEffect, bn as PARAGRAPH_MARK_CHANGE_KINDS, br as TextContent, bt as DocumentBackground, c as NumberingLevelEntry, ca as SCHEME_COLOR_VALUE_BY_THEME_COLOR, ci as TabLeader, cn as MoveBookmarkMarker, cr as TableCell, ct as BookmarkRangeMarker, d as numberingInstanceResolves, da as UnrecognisedThemeColor, di as TableCellBorders, dn as MoveFromRangeStart, dr as TableContentCarrier, dt as Column, ea as TEXT_DIRECTION_FLOW_BY_TOKEN, ei as NumberingInstance, en as InlineSdt, er as ShapeOutline, et as locksControl, f as numberingLevelEntries, fa as isSchemeColorValue, fi as TableCellFormatting, fn as MoveTo, fr as TableCustomXmlWrapper, ft as Comment, g as ExhaustiveFields, ga as themeColorSlot, gi as TableMeasurement, gn as NonVisualDrawingNames, gr as TableRow, gt as ComplexField, h as isNumberingLevel, ha as readThemeColor, hi as TableLook, hn as NoBreakHyphenContent, hr as TablePropertyExceptionChange, ht as CommentReference, i as Document, ia as TextDirectionFlow, ii as FloatingTableProperties, in as LineNumberRestart, ir as SoftHyphenContent, it as BlockContent, j as ThemeFont, ja as BorderStyle, ji as paragraphNumberingFromSlots, jn as PreservedBlock, jr as normalizeRevisionId, jt as Field, k as Theme, ka as statesNoBorder, ki as isNumberingReference, kn as PositionalTab, kr as WrapPolygonPoint, kt as EndnotePosition, l as NumberingLevelResolution, la as THEME_COLOR_BY_SCHEME_COLOR_VALUE, li as TabStop, ln as MoveFrom, lr as TableCellBlock, lt as BookmarkStart, m as resolveNumberingLevel, ma as knownThemeColor, mi as TableGridChange, mn as MoveToRangeStart, mr as TablePropertyChange, mt as CommentRangeStart, n as DEFAULT_TAB_STOP_TWIPS, na as TableAlignment, ni as ConditionalFormatStyle, nn as Insertion, nr as ShapeType, nt as BIDI_CONTROLS, o as DocxConformanceClass, oa as ColorValue, oi as ParagraphFormatting, on as MarkupRangeMarker, or as TabContent, ot as BlockSdt, p as numberingLevelHasMarkerSlot, pa as isThemeColor, pi as TableFormatting, pn as MoveToRangeEnd, pr as TablePreservedMarkup, pt as CommentRangeEnd, q as LockedControlTouch, qi as NumberFormat, qn as SectionPropertyChange, qr as LevelLegacy, qt as ImageFrameLocks, r as DOCX_CONFORMANCE_CLASSES, ra as TextDirection, ri as EmphasisMark, rn as InstrTextContent, rr as SimpleField, rt as BidiControl, s as DocxPackage, sa as ShadingProperties, si as SpacingExplicit, sn as MathEquation, sr as Table, st as BookmarkEnd, t as COMMENT_PART_RELATIONSHIPS, ta as TabStopAlignment, ti as CellMargins, tn as InlineWrapper, tr as ShapeTextBody, tt as getSingularRunPropertyChange, u as levelShowsMarker, ua as ThemeColorValue, ui as TableBorders, un as MoveFromRangeEnd, ur as TableCellPropertyChange, ut as BreakContent, v as EmbeddedFontRef, va as SchemeColorSlot, vi as TableRowFormatting, vn as NoteNumberRestart, vr as TableStructuralChangeInfo, vt as Deletion, w as RelationshipMap, wa as borderStyleFrom, wi as NO_PARAGRAPH_NUMBERING, wn as ParagraphContent, wr as TrackedRunContent, wt as DrawingContent, x as FontTable, xa as ThemeColor, xi as TextFormatting, xn as PROPERTY_REVISION_KINDS, xr as TextWatermark, xt as DocumentBackgroundDrawing, y as FontCharset, ya as SchemeColorValue, yi as TableWidthType, yn as NoteReferenceContent, yr as TextBox, yt as DisplacedByCustomXml, z as ParseWarningLocation, zi as BODY_TEXT_OUTLINE_LEVEL, zn as Run, zr as isPresetLineDashVal, zt as HeaderFooter } from "../document-CaGfolcU.js";
2
- import { n as PreservedChild, r as PreservedMarkup, t as PreservedAttribute } from "../preservedMarkup-9L4lbGnE.js";
3
- 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 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 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 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 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, 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, presetLineDashFrom, presetLineDashToken, readThemeColor, relationshipIdOf, resolveNumberingLevel, resolveParagraphNumbering, sameEffectiveParagraphNumbering, sameStatedParagraphNumbering, setDocumentBodyComments, statesNoBorder, themeColorSlot, themeColorToken };
1
+ /**
2
+ * Comprehensive TypeScript types for full DOCX document representation
3
+ *
4
+ * This barrel file re-exports all types from the split modules.
5
+ * Existing imports from './types/document' continue to work unchanged.
6
+ *
7
+ * Module structure:
8
+ * - colors.ts — Color primitives, borders, shading
9
+ * - formatting.ts — Text, paragraph, and table formatting properties
10
+ * - lists.ts — Numbering and list definitions
11
+ * - content.ts — Content model (runs, images, shapes, tables, paragraphs, sections)
12
+ * - styles.ts — Styles, theme, fonts, relationships, media
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 KeptCutPiece, 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-f4_h6JMT.js";
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 KeptCutPiece, 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 +1 @@
1
- export { i as BIDI_CONTROLS, Y as BODY_TEXT_OUTLINE_LEVEL, A as BORDER_STYLES, t as COMMENT_PART_RELATIONSHIPS, yt as CONTENT_CONTROL_LOCK, y as COUNTER_FORMATS, n as DEFAULT_TAB_STOP_TWIPS, r as DOCX_CONFORMANCE_CLASSES, a as DRAWING_RAW_XML_MODES, pt as IMPORTED_ID_COLLISION_KINDS, mt as MAX_RETAINED_PARSE_WARNINGS_PER_CODE, s as MAX_REVISION_ID, tt as NO_NUMBERING_NUM_ID, nt as NO_PARAGRAPH_NUMBERING, j as NUMBER_FORMATS, M as PARAGRAPH_ALIGNMENTS, c as PARAGRAPH_MARK_CHANGE_KINDS, ht as PARSE_WARNING_CODES, C as PRESET_LINE_DASH_VALS, l as PROPERTY_REVISION_KINDS, u as REVIEW_CARRIERS, R as SCHEME_COLOR_VALUE_BY_THEME_COLOR, N as TABLE_ALIGNMENTS, P as TAB_STOP_ALIGNMENTS, F as TEXT_DIRECTIONS, I as TEXT_DIRECTION_FLOWS, L as TEXT_DIRECTION_FLOW_BY_TOKEN, K as THEME_COLORS, z as THEME_COLOR_BY_SCHEME_COLOR_VALUE, w as borderStyleFrom, T as borderStyleToken, bt as contentControlLockAllows, gt as finalizeParagraphFormatting, xt as firstLockedControlViolation, Et as getSingularRunPropertyChange, X as headingLevelOf, Z as headingOutlineLevel, E as isBorderNil, D as isBorderNone, O as isBorderStyle, _t as isCanonicallyEmptyParagraphFormatting, et as isNumberingLevel, rt as isNumberingReference, f as isOoxmlSymbolCharacter, b as isPresetLineDashVal, B as isSchemeColorValue, V as isThemeColor, H as knownThemeColor, m as levelShowsMarker, St as lockedControlMessage, Ct as lockedControlViolation, wt as locksContent, Tt as locksControl, it as mergeParagraphNumbering, q as mintRelationshipId, p as normalizeRevisionId, h as numberingInstanceResolves, g as numberingLevelEntries, _ as numberingLevelHasMarkerSlot, Q as outlineLevelFromStatedValue, $ as outlineLevelStatedValue, at as paragraphNumberingFromSlots, ot as paragraphNumberingLevel, st as paragraphNumberingReference, ct as paragraphNumberingReferenceId, lt as paragraphNumberingSlots, x as presetLineDashFrom, S as presetLineDashToken, U as readThemeColor, J as relationshipIdOf, v as resolveNumberingLevel, ut as resolveParagraphNumbering, dt as sameEffectiveParagraphNumbering, ft as sameStatedParagraphNumbering, vt as setDocumentBodyComments, k as statesNoBorder, W as themeColorSlot, G as themeColorToken } from "../document-CEMwM5On.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, 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";