@docx-editor.dev/core 2.10.0 → 2.11.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.
- package/dist/automation.cjs +1 -1
- package/dist/automation.d.cts +14 -5
- package/dist/automation.d.ts +14 -5
- package/dist/automation.js +1 -1
- package/dist/binding.cjs +1 -1
- package/dist/binding.d.cts +12 -11
- package/dist/binding.d.ts +12 -11
- package/dist/binding.js +1 -1
- package/dist/chunk-34BNQUD4.js +10 -0
- package/dist/chunk-5AVHO75P.cjs +19 -0
- package/dist/chunk-6HMSC7UV.js +2 -0
- package/dist/chunk-6JIJOZDW.js +1 -0
- package/dist/chunk-76Y3Y45J.cjs +2 -0
- package/dist/chunk-BP7ANXGA.js +1 -0
- package/dist/chunk-BTQKU64Q.cjs +1 -0
- package/dist/chunk-CRZR6K5Z.js +19 -0
- package/dist/chunk-D5EHDHYV.js +1 -0
- package/dist/chunk-EJATEGJZ.cjs +1 -0
- package/dist/{chunk-PSZH2VXP.js → chunk-GOEBQ26R.js} +1 -1
- package/dist/chunk-GRDFEH5Q.cjs +2 -0
- package/dist/chunk-GWV65NQW.cjs +10 -0
- package/dist/chunk-GXLZCXEH.js +2 -0
- package/dist/chunk-JUQOPVSK.cjs +2 -0
- package/dist/chunk-LAETEBHD.js +1 -0
- package/dist/chunk-M6Z3KFXM.cjs +5 -0
- package/dist/{chunk-YMYCPY5Y.cjs → chunk-OHJQ7GPZ.cjs} +1 -1
- package/dist/chunk-UQFOYZJO.cjs +18 -0
- package/dist/chunk-WPQMPHNR.cjs +1 -0
- package/dist/chunk-WXQ245MQ.js +18 -0
- package/dist/chunk-WZHIFNSU.js +5 -0
- package/dist/chunk-X7A5XART.js +2 -0
- package/dist/chunk-ZKWRCLT2.cjs +1 -0
- package/dist/collaboration/replication.cjs +1 -0
- package/dist/collaboration/replication.d.cts +216 -0
- package/dist/collaboration/replication.d.ts +216 -0
- package/dist/collaboration/replication.js +1 -0
- package/dist/collaboration.cjs +1 -0
- package/dist/collaboration.d.cts +176 -0
- package/dist/collaboration.d.ts +176 -0
- package/dist/collaboration.js +1 -0
- package/dist/contracts/editor.cjs +1 -1
- package/dist/contracts/editor.d.cts +8 -9
- package/dist/contracts/editor.d.ts +8 -9
- package/dist/contracts/editor.js +1 -1
- package/dist/contracts/interaction.d.cts +8 -9
- package/dist/contracts/interaction.d.ts +8 -9
- package/dist/contracts/modules.cjs +1 -1
- package/dist/contracts/modules.d.cts +21 -8
- package/dist/contracts/modules.d.ts +21 -8
- package/dist/contracts/modules.js +1 -1
- package/dist/custom-node-writes-CwkYRw3V.d.cts +310 -0
- package/dist/custom-node-writes-JfTn-Sy6.d.ts +310 -0
- package/dist/document-properties-D6Ahr8D6.d.cts +28 -0
- package/dist/document-properties-D6Ahr8D6.d.ts +28 -0
- package/dist/{editor-C0my6Uta.d.ts → editor-BogcVHXk.d.ts} +145 -49
- package/dist/{editor-CwzY2Hcg.d.cts → editor-C8edZgy5.d.cts} +145 -49
- package/dist/editor.cjs +1 -1
- package/dist/editor.css +1 -7299
- package/dist/editor.d.cts +26 -25
- package/dist/editor.d.ts +26 -25
- package/dist/editor.js +1 -1
- package/dist/failure-BnGjoXf0.d.cts +64 -0
- package/dist/failure-BnGjoXf0.d.ts +64 -0
- package/dist/{index-kID8Ymkp.d.ts → index-BNv-ZLQP.d.ts} +262 -81
- package/dist/{index-nLFwo_17.d.cts → index-Dn0lOp9Z.d.cts} +262 -81
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +19 -18
- package/dist/index.d.ts +19 -18
- package/dist/index.js +1 -1
- package/dist/layout.cjs +1 -1
- package/dist/layout.d.cts +71 -53
- package/dist/layout.d.ts +71 -53
- package/dist/layout.js +1 -1
- package/dist/{note-properties-jvnw_DGG.d.ts → note-properties-BmoSdyKS.d.ts} +1 -1
- package/dist/{note-properties-CQlxjic_.d.cts → note-properties-BvGfHk5e.d.cts} +1 -1
- package/dist/{omml-equation-Dd3mBep-.d.ts → omml-equation-Ciq5rgb7.d.ts} +1 -1
- package/dist/{omml-equation-BD-LsmWE.d.cts → omml-equation-CqQOt_dD.d.cts} +1 -1
- package/dist/output.cjs +1 -1
- package/dist/output.d.cts +6 -8
- package/dist/output.d.ts +6 -8
- package/dist/output.js +1 -1
- package/dist/{protocol-UuZOcOp7.d.cts → protocol-BB-WP3zk.d.cts} +2 -2
- package/dist/{protocol-C7ahrdUx.d.ts → protocol-Ckl7hWsv.d.ts} +2 -2
- package/dist/{review-items-Dw-8a6Ie.d.ts → review-items-BdeLNRi2.d.cts} +1 -2
- package/dist/{review-items-CwixiHNe.d.cts → review-items-CkYyXhXM.d.ts} +1 -2
- package/dist/{review-reads-BqkiJTeR.d.cts → review-reads-BOLSBm5w.d.cts} +2 -2
- package/dist/{review-reads-C0u-IKEA.d.ts → review-reads-Crf0Xn42.d.ts} +2 -2
- package/dist/{revision-projection-CILpvv4M.d.ts → revision-projection-Ae2CWa8E.d.ts} +1 -1
- package/dist/{revision-projection-Cc4wz30g.d.cts → revision-projection-C2S8PSQm.d.cts} +1 -1
- package/dist/{semantic-cell-selection-DT9x9WLf.d.cts → semantic-cell-selection-C0OFD4D9.d.cts} +4 -4
- package/dist/{semantic-cell-selection-Utrf0lz7.d.ts → semantic-cell-selection-DdmoxC-y.d.ts} +4 -4
- package/dist/{semantic-interaction-B6hFRQLy.d.ts → semantic-interaction-COyhZ9WH.d.ts} +1 -1
- package/dist/{semantic-interaction-Z0xKQcB4.d.cts → semantic-interaction-Cs2jErnt.d.cts} +1 -1
- package/dist/{semantic-paint-CQEOC0Od.d.cts → semantic-paint-UHaj3sBY.d.cts} +2 -2
- package/dist/{semantic-paint-quke354p.d.ts → semantic-paint-vA-oLSdV.d.ts} +2 -2
- package/dist/{semantic-records-Do3-i5oB.d.ts → semantic-records-5AOQJmLX.d.cts} +5 -4
- package/dist/{semantic-records-CMakzQ1X.d.cts → semantic-records-9xhwbJ23.d.ts} +5 -4
- package/dist/{shaped-measurer-DzRwWrL5.d.cts → shaped-measurer-NeF2mPSu.d.cts} +1 -1
- package/dist/{shaped-measurer-BxwTUluj.d.ts → shaped-measurer-vzsY88oK.d.ts} +1 -1
- package/dist/store.cjs +1 -1
- package/dist/store.d.cts +74 -16
- package/dist/store.d.ts +74 -16
- package/dist/store.js +1 -1
- package/dist/{tree-op-types-DSJYmf5b.d.cts → tree-op-types-BPyXNxyL.d.cts} +1247 -10
- package/dist/{tree-op-types-BuOfCrkp.d.ts → tree-op-types-DnzAOnc9.d.ts} +1247 -10
- package/dist/{custom-node-writes-BvpWCnW8.d.ts → tree-package-fragment-BjZ3RWAS.d.cts} +107 -322
- package/dist/{custom-node-writes-Db8H6Z3n.d.cts → tree-package-fragment-CDER0G3B.d.ts} +107 -322
- package/dist/{tree-session-contract-C1dfE9hy.d.ts → tree-session-contract-BF2FVBOM.d.cts} +16 -10
- package/dist/{tree-session-contract-ByWx8eew.d.cts → tree-session-contract-DhdsFT_z.d.ts} +16 -10
- package/dist/{tree-store-ASBtz7UB.d.ts → tree-store-CNZ3O83s.d.ts} +130 -25
- package/dist/{tree-store-CWOUMGN8.d.cts → tree-store-DfZi7FqY.d.cts} +130 -25
- package/package.json +14 -3
- package/dist/chunk-27APDXY2.js +0 -2
- package/dist/chunk-35MI6K7M.cjs +0 -10
- package/dist/chunk-4XL7SOWQ.cjs +0 -2
- package/dist/chunk-6K6QQVAZ.cjs +0 -18
- package/dist/chunk-7VQ7YLW3.cjs +0 -1
- package/dist/chunk-7ZJL5AEY.cjs +0 -1
- package/dist/chunk-C6LK2BYA.cjs +0 -2
- package/dist/chunk-GQQOL4PV.js +0 -1
- package/dist/chunk-HBEBUCRM.cjs +0 -5
- package/dist/chunk-LG5K46OM.js +0 -2
- package/dist/chunk-LWADHMVV.js +0 -5
- package/dist/chunk-N725IUO7.js +0 -18
- package/dist/chunk-N7DBENH4.js +0 -10
- package/dist/chunk-NVGFWMCO.js +0 -1
- package/dist/chunk-SYTWKJPJ.cjs +0 -18
- package/dist/chunk-YI6JXF7U.js +0 -18
- package/dist/hf-references-Dvk6De4Q.d.cts +0 -70
- package/dist/hf-references-z5Y4N1ab.d.ts +0 -70
- package/dist/note-nodes-BNCANoGN.d.ts +0 -108
- package/dist/note-nodes-DL-Au22P.d.cts +0 -108
- package/dist/ooxml-package-CdEy9ufK.d.cts +0 -1222
- package/dist/ooxml-package-CdEy9ufK.d.ts +0 -1222
- package/dist/tree-op-revision-attribution-CN06Xshv.d.cts +0 -24
- package/dist/tree-op-revision-attribution-CN06Xshv.d.ts +0 -24
package/dist/layout.d.ts
CHANGED
|
@@ -1,25 +1,23 @@
|
|
|
1
|
-
import { V as VersionedShapingLibrary, T as TextShaper, F as FontByteValidator, a as FixedPointRoundingMode, b as FixedPoint, c as TextDirection, S as ShapedRun } from './shaped-measurer-
|
|
2
|
-
export { C as CacheLookup, d as CacheMiss, e as CacheProvenance, D as DeclaredFontSubstitution, f as FontFingerprintInputs, g as FontRequest, h as FontResolutionError, i as FontResolutionErrorCode, j as FontResourceDefinition, k as FontResourceInstrumentation, l as FontResourceSnapshot, m as FontResourceSnapshotOptions, n as FontSubstitution, o as FontValidationResult, G as GlyphOutline, H as HARD_MAX_AGGREGATE_FONT_BYTES, p as HARD_MAX_FONT_BYTES, q as HARD_MAX_FONT_SOURCES, L as LayoutShapingOptions, N as NormalizationPolicy, O as OperationSnapshot, r as OperationSnapshotField, s as OperationSnapshotGuard, R as ResolvedCache, t as ResolvedFont, u as ResourceDependencyProvenance, v as ShapeInput, w as ShapedCluster, x as ShapedFontSpan, y as ShapedGlyph, z as ShapedMeasurerOptions, A as ShapedRunComparatorInputs, B as ShapedVerticalMetrics, E as ShapingEnvironment, I as ShapingEnvironmentFingerprintInputs, J as ShapingEnvironmentInput, K as boundedStructuralFontValidator, M as captureOperationSnapshot, P as createFontResourceSnapshot, Q as createShapedMeasurer, U as createShapedRun, W as createShapingEnvironment, X as fixedPoint, Y as fontRequestKey, Z as guardOperationSnapshot, _ as shapedRunComparatorInputs, $ as shapingEnvironmentFingerprint, a0 as shapingEnvironmentFingerprintInputs } from './shaped-measurer-
|
|
3
|
-
import { d as LayoutBox, D as DrawingPoint, e as DrawingInsets, a as StyleSpanRecord, I as InlineDrawingRecord, M as ModelRange, f as ThemeFonts, g as ParagraphSpacing, h as ParagraphLineSpacing, i as ParagraphBorderEdge, j as ParagraphBorders, k as ResolvedTabStops, S as SemanticLayout, B as BlockFragmentRecord, A as AnchoredDrawingRecord, l as PageRecord, R as ResolvedRunStyle, m as TableBorderSide, C as ContentControlBoundaryRecord$1, n as ContentControlLock, o as ParagraphFragmentRecord, L as LineRecord, p as InlineDrawingLayoutContext, T as TextMeasurer, H as HyperlinkProjector, F as FieldLinkProjector, q as StoryPageFieldNeeds, P as PageGeometry, r as CellBorderBox, s as TableBorderBox } from './semantic-records-
|
|
4
|
-
export { t as AUTO_PARAGRAPH_SPACING_PT, u as BorderGridGeometry, v as ContentControlGeometryFragment, w as ContentControlLevel, x as ContentControlMappedType, y as DEFAULT_PAGE_GEOMETRY, z as DEFAULT_RUN_STYLE, E as DEFAULT_TAB_INTERVAL_PT, G as DEFAULT_TAB_INTERVAL_TWIPS, J as EMPTY_TAB_STOPS, K as EquationFractionGeometry, N as EquationGeometry, O as EquationNaryGeometry, Q as EquationRadicalGeometry, U as EquationRowGeometry, V as EquationScriptGeometry, W as EquationSpanRecord, X as EquationTextGeometry, Y as FieldAtomMarker, Z as HeaderFooterStoryRecord, _ as HyperlinkFieldSpec, $ as LineSpacingRule, a0 as ListMarkerRecord, a1 as MAX_BORDER_SPACE_PT, a2 as MAX_BORDER_WIDTH_PT, a3 as MAX_PARAGRAPH_SPACING_PT, a4 as MAX_TABLE_BORDER_STROKES, a5 as MAX_TAB_POSITION_TWIPS, a6 as MAX_TAB_STOPS, a7 as PARAGRAPH_BORDER_SIDES, a8 as ParagraphAutoSpacingContext, a9 as ParagraphBorderSide, aa as ParagraphBorderStrokeRecord, ab as ParagraphBottomBorderRecord, ac as ParagraphIndent, ad as ResolvedCellBorders, ae as ResolvedTableBorderEdge, af as ResolvedTableBorderEdgeSegment, ag as ResolvedUnderline, ah as SINGLE_LINE_SPACING, ai as SourceRange, aj as SpanLinkRecord, ak as TAB_LEADER_GLYPH, al as TabAlignment, am as TabDestination, an as TabLeader, ao as TabStop, ap as TableBorderSideName, aq as TableBorderStrokeRecord, c as TableCellFragmentRecord, ar as TableFragmentRecord, b as TableRowFragmentRecord, as as VerticalAlign, at as appliedSpaceBefore, au as applyLineSpacing, av as baselineShiftPtOf, aw as borderExtentPt, ax as borderWeight, ay as bottomBorderExtentPt, az as cascadedParagraphBorders, aA as cascadedTabStops, aB as collapsedSpaceBefore, aC as defaultTabIntervalFromSettings, aD as displayText, aE as layoutEquation, aF as measureDisplayText, aG as nextTabDestination, aH as paragraphBorderExtentPt, aI as paragraphBorderStrokeWidthPt, aJ as paragraphBorders, aK as paragraphBordersFingerprint, aL as paragraphBreaksBefore, aM as paragraphContextualSpacing, aN as paragraphLineSpacing, aO as paragraphSpacing, aP as paragraphTabStops, aQ as readBorderSide, aR as readCellBorders, aS as readTableBorders, aT as resolveBorderConflict, aU as resolveRunStyle, aV as resolveTableCellBorderGrid, aW as runStylesEqual, aX as tabAdvanceWidth, aY as tabStopsFingerprint, aZ as withDefaultTabInterval } from './semantic-records-
|
|
5
|
-
import { a as OoxmlNode,
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
export {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
import './omml-equation-Dd3mBep-.js';
|
|
1
|
+
import { V as VersionedShapingLibrary, T as TextShaper, F as FontByteValidator, a as FixedPointRoundingMode, b as FixedPoint, c as TextDirection, S as ShapedRun } from './shaped-measurer-vzsY88oK.js';
|
|
2
|
+
export { C as CacheLookup, d as CacheMiss, e as CacheProvenance, D as DeclaredFontSubstitution, f as FontFingerprintInputs, g as FontRequest, h as FontResolutionError, i as FontResolutionErrorCode, j as FontResourceDefinition, k as FontResourceInstrumentation, l as FontResourceSnapshot, m as FontResourceSnapshotOptions, n as FontSubstitution, o as FontValidationResult, G as GlyphOutline, H as HARD_MAX_AGGREGATE_FONT_BYTES, p as HARD_MAX_FONT_BYTES, q as HARD_MAX_FONT_SOURCES, L as LayoutShapingOptions, N as NormalizationPolicy, O as OperationSnapshot, r as OperationSnapshotField, s as OperationSnapshotGuard, R as ResolvedCache, t as ResolvedFont, u as ResourceDependencyProvenance, v as ShapeInput, w as ShapedCluster, x as ShapedFontSpan, y as ShapedGlyph, z as ShapedMeasurerOptions, A as ShapedRunComparatorInputs, B as ShapedVerticalMetrics, E as ShapingEnvironment, I as ShapingEnvironmentFingerprintInputs, J as ShapingEnvironmentInput, K as boundedStructuralFontValidator, M as captureOperationSnapshot, P as createFontResourceSnapshot, Q as createShapedMeasurer, U as createShapedRun, W as createShapingEnvironment, X as fixedPoint, Y as fontRequestKey, Z as guardOperationSnapshot, _ as shapedRunComparatorInputs, $ as shapingEnvironmentFingerprint, a0 as shapingEnvironmentFingerprintInputs } from './shaped-measurer-vzsY88oK.js';
|
|
3
|
+
import { d as LayoutBox, D as DrawingPoint, e as DrawingInsets, a as StyleSpanRecord, I as InlineDrawingRecord, M as ModelRange, f as ThemeFonts, g as ParagraphSpacing, h as ParagraphLineSpacing, i as ParagraphBorderEdge, j as ParagraphBorders, k as ResolvedTabStops, S as SemanticLayout, B as BlockFragmentRecord, A as AnchoredDrawingRecord, l as PageRecord, R as ResolvedRunStyle, m as TableBorderSide, C as ContentControlBoundaryRecord$1, n as ContentControlLock, o as ParagraphFragmentRecord, L as LineRecord, p as InlineDrawingLayoutContext, T as TextMeasurer, H as HyperlinkProjector, F as FieldLinkProjector, q as StoryPageFieldNeeds, P as PageGeometry, r as CellBorderBox, s as TableBorderBox } from './semantic-records-9xhwbJ23.js';
|
|
4
|
+
export { t as AUTO_PARAGRAPH_SPACING_PT, u as BorderGridGeometry, v as ContentControlGeometryFragment, w as ContentControlLevel, x as ContentControlMappedType, y as DEFAULT_PAGE_GEOMETRY, z as DEFAULT_RUN_STYLE, E as DEFAULT_TAB_INTERVAL_PT, G as DEFAULT_TAB_INTERVAL_TWIPS, J as EMPTY_TAB_STOPS, K as EquationFractionGeometry, N as EquationGeometry, O as EquationNaryGeometry, Q as EquationRadicalGeometry, U as EquationRowGeometry, V as EquationScriptGeometry, W as EquationSpanRecord, X as EquationTextGeometry, Y as FieldAtomMarker, Z as HeaderFooterStoryRecord, _ as HyperlinkFieldSpec, $ as LineSpacingRule, a0 as ListMarkerRecord, a1 as MAX_BORDER_SPACE_PT, a2 as MAX_BORDER_WIDTH_PT, a3 as MAX_PARAGRAPH_SPACING_PT, a4 as MAX_TABLE_BORDER_STROKES, a5 as MAX_TAB_POSITION_TWIPS, a6 as MAX_TAB_STOPS, a7 as PARAGRAPH_BORDER_SIDES, a8 as ParagraphAutoSpacingContext, a9 as ParagraphBorderSide, aa as ParagraphBorderStrokeRecord, ab as ParagraphBottomBorderRecord, ac as ParagraphIndent, ad as ResolvedCellBorders, ae as ResolvedTableBorderEdge, af as ResolvedTableBorderEdgeSegment, ag as ResolvedUnderline, ah as SINGLE_LINE_SPACING, ai as SourceRange, aj as SpanLinkRecord, ak as TAB_LEADER_GLYPH, al as TabAlignment, am as TabDestination, an as TabLeader, ao as TabStop, ap as TableBorderSideName, aq as TableBorderStrokeRecord, c as TableCellFragmentRecord, ar as TableFragmentRecord, b as TableRowFragmentRecord, as as VerticalAlign, at as appliedSpaceBefore, au as applyLineSpacing, av as baselineShiftPtOf, aw as borderExtentPt, ax as borderWeight, ay as bottomBorderExtentPt, az as cascadedParagraphBorders, aA as cascadedTabStops, aB as collapsedSpaceBefore, aC as defaultTabIntervalFromSettings, aD as displayText, aE as layoutEquation, aF as measureDisplayText, aG as nextTabDestination, aH as paragraphBorderExtentPt, aI as paragraphBorderStrokeWidthPt, aJ as paragraphBorders, aK as paragraphBordersFingerprint, aL as paragraphBreaksBefore, aM as paragraphContextualSpacing, aN as paragraphLineSpacing, aO as paragraphSpacing, aP as paragraphTabStops, aQ as readBorderSide, aR as readCellBorders, aS as readTableBorders, aT as resolveBorderConflict, aU as resolveRunStyle, aV as resolveTableCellBorderGrid, aW as runStylesEqual, aX as tabAdvanceWidth, aY as tabStopsFingerprint, aZ as withDefaultTabInterval } from './semantic-records-9xhwbJ23.js';
|
|
5
|
+
import { a as OoxmlNode, s as OoxmlProperty, g as OoxmlElement, I as ImpactClass, O as OoxmlPart, $ as ContentControlKind, a0 as ContentControlLevel, a1 as ContentControlLock$1, a2 as ContentControlDataBinding } from './tree-op-types-DnzAOnc9.js';
|
|
6
|
+
export { _ as TableBorderStyle } from './tree-op-types-DnzAOnc9.js';
|
|
7
|
+
import { N as NoteKind, T as TreeModelChange, n as noteTypeOf } from './tree-store-CNZ3O83s.js';
|
|
8
|
+
import { R as ResolvedFootnoteProperties, a as ResolvedEndnoteProperties } from './note-properties-BmoSdyKS.js';
|
|
9
|
+
import { D as DocumentProperties } from './document-properties-D6Ahr8D6.js';
|
|
10
|
+
import { a as RevisionAttribution, R as RevisionDisplayMode } from './revision-projection-Ae2CWa8E.js';
|
|
11
|
+
export { D as DEFAULT_REVISION_DISPLAY_MODE, b as RevisionKind, f as formatRevisionOf, m as markRevisionRemovesMark, p as paragraphMarkFormatRevisionOf, c as paragraphMarkRevisionOf, d as paragraphMarkRevisionsOf, r as revisionsAreDeletion, e as revisionsVisible, s as shownMarkRevision } from './revision-projection-Ae2CWa8E.js';
|
|
12
|
+
import { a as SectionColumns } from './semantic-cell-selection-DdmoxC-y.js';
|
|
13
|
+
export { C as CellSelection, D as DEFAULT_SECTION_PROPERTIES, b as DEFAULT_VERTICAL_WEIGHT, c as DocumentSection, d as DocumentSectionsEnumeration, e as DrawingOverlayFrame, H as HitPoint, f as HitTestOptions, M as MAX_DOCUMENT_SECTIONS, P as PlacedCell, g as SectionBreakType, h as SectionColumnDefinition, i as SectionMargins, j as SectionPageNumbering, S as SectionProperties, k as SemanticHit, l as SemanticHitDrawing, T as TableCellAddress, m as TableCellContext, n as caretBoxOnLine, o as cellSelectionBetween, p as cellSelectionRects, q as cellSelectionText, r as contentControlAtPoint, s as enumerateDocumentSections, t as enumerateDocumentSectionsBounded, u as findDrawingOverlayFrameInLayout, v as geometryOfSection, w as hitTestPage, x as hitTestSheet, y as isFurniturePoint, z as lineEndOffset, A as pageAtY, B as paragraphSectionNode, E as paragraphsInCells, F as parsePageNumbering, G as parseSectionProperties, I as readSectionProperties, J as spanOffsetX, K as spansInCells, L as tableContextAt } from './semantic-cell-selection-DdmoxC-y.js';
|
|
14
|
+
export { M as MAX_SDT_NESTING, c as collectFlowBlocks, a as commentBodyText, b as commentInitials, d as contentControlContentChildren, i as isContentControl, e as isContentControlContent, p as paragraphOrderOfPart } from './review-reads-Crf0Xn42.js';
|
|
15
|
+
import { a as ReviewItem } from './review-items-CkYyXhXM.js';
|
|
16
|
+
export { i as CommentAnchor, j as CommentPosition, C as CommentRecord, h as CommentThreadState, c as ReviewCommentItem, d as ReviewCustomItem, R as ReviewModelInput, e as ReviewPosition, f as ReviewRange, b as ReviewRevisionItem, g as ReviewRevisionKind, W as W15_NAMESPACE_URI, k as activeReviewItem, l as firstReviewRange, r as reviewItemKey, m as reviewItemPositionRank, n as reviewItemRanges, o as reviewItemsAt, p as reviewThreadRootOf } from './review-items-CkYyXhXM.js';
|
|
17
|
+
import { S as SemanticPosition, b as SelectionRect, a as SemanticSelection } from './semantic-interaction-COyhZ9WH.js';
|
|
18
|
+
export { c as CaretAtOptions, C as CaretGeometry, M as MoveCaretOptions, N as NavigationCommand, d as caretAt, e as caretStops, f as caretStopsForBlocks, g as compositionAnchor, h as contentControlAtSemantic, i as contentControlsInLayout, j as deletedTextBoundaries, k as hitTestSemantic, m as moveCaret, p as paragraphTextFromLayout, s as spansInSelection } from './semantic-interaction-COyhZ9WH.js';
|
|
19
|
+
import './omml-equation-Ciq5rgb7.js';
|
|
21
20
|
import './contracts/types.js';
|
|
22
|
-
import './tree-op-revision-attribution-CN06Xshv.js';
|
|
23
21
|
|
|
24
22
|
/**
|
|
25
23
|
* Page-field evaluation context for furniture projection.
|
|
@@ -456,6 +454,14 @@ interface StyleCascadeTable {
|
|
|
456
454
|
readonly defaultParagraphStyleId: string | null;
|
|
457
455
|
/** `w:style[@w:default='1'][@w:type='character']` — last wins among defaults of that type. */
|
|
458
456
|
readonly defaultCharacterStyleId: string | null;
|
|
457
|
+
/**
|
|
458
|
+
* `w:style[@w:default='1'][@w:type='table']` — last wins among defaults of that type.
|
|
459
|
+
*
|
|
460
|
+
* A `w:tbl` with no `w:tblStyle` still resolves against this one. Word's own
|
|
461
|
+
* `TableNormal` is where the 0/108/0/108 twip cell margins live, so skipping it gives
|
|
462
|
+
* every unstyled table padding the document says it does not have.
|
|
463
|
+
*/
|
|
464
|
+
readonly defaultTableStyleId: string | null;
|
|
459
465
|
/**
|
|
460
466
|
* The theme part's Latin typefaces, for `w:rFonts` theme references.
|
|
461
467
|
*
|
|
@@ -1965,6 +1971,23 @@ interface HeaderFooterStoryInputs {
|
|
|
1965
1971
|
*/
|
|
1966
1972
|
declare function layoutHeaderFooterStory(part: OoxmlPart, contentWidth: number, measurer: TextMeasurer, producer: string, cache?: ParagraphLayoutCache<readonly PendingLine[]>, styleCascade?: StyleCascadeTable, pageContext?: FieldPageContext, maxPageContextEntries?: number, defaultTabStopPt?: number, displayMode?: RevisionDisplayMode, inlineDrawingLayout?: InlineDrawingLayoutContext, drawingTokenForParagraph?: (paragraph: OoxmlNode) => string, drawingLayoutToken?: string, hfPageContext?: HeaderFooterPageContext, documentProperties?: DocumentProperties, inputs?: HeaderFooterStoryInputs): HeaderFooterStoryLayout;
|
|
1967
1973
|
|
|
1974
|
+
/** Which header/footer variant a page shows (ECMA-376 §17.10.5). */
|
|
1975
|
+
type HeaderFooterVariantName = 'default' | 'first' | 'even';
|
|
1976
|
+
/**
|
|
1977
|
+
* Pre-laid page furniture, supplied by the host (phase 2).
|
|
1978
|
+
*
|
|
1979
|
+
* Baseline stories are laid out once per variant (`layoutHeaderFooterStory`) for furniture
|
|
1980
|
+
* height. Stories that actually contain allowlisted PAGE/NUMPAGES fields attach a projector
|
|
1981
|
+
* so document-level finalize can re-layout under the known page count; field-free furniture
|
|
1982
|
+
* reuses the baseline on every sheet.
|
|
1983
|
+
*/
|
|
1984
|
+
interface PageFurniture {
|
|
1985
|
+
readonly titlePage: boolean;
|
|
1986
|
+
readonly evenAndOddHeaders: boolean;
|
|
1987
|
+
readonly headers: ReadonlyMap<HeaderFooterVariantName, HeaderFooterStoryLayout>;
|
|
1988
|
+
readonly footers: ReadonlyMap<HeaderFooterVariantName, HeaderFooterStoryLayout>;
|
|
1989
|
+
}
|
|
1990
|
+
|
|
1968
1991
|
/**
|
|
1969
1992
|
* A deterministic measurer for tests and headless use.
|
|
1970
1993
|
*
|
|
@@ -1999,22 +2022,6 @@ withinParagraphs?: ReadonlySet<string>): readonly ContentControlBoundaryRecord$1
|
|
|
1999
2022
|
*/
|
|
2000
2023
|
declare function contentControlHoldingParagraph(part: OoxmlPart, paragraphId: string): ContentControlBoundaryRecord$1 | null;
|
|
2001
2024
|
|
|
2002
|
-
/** Which header/footer variant a page shows (ECMA-376 §17.10.5). */
|
|
2003
|
-
type HeaderFooterVariantName = 'default' | 'first' | 'even';
|
|
2004
|
-
/**
|
|
2005
|
-
* Pre-laid page furniture, supplied by the host (phase 2).
|
|
2006
|
-
*
|
|
2007
|
-
* Baseline stories are laid out once per variant (`layoutHeaderFooterStory`) for furniture
|
|
2008
|
-
* height. Stories that actually contain allowlisted PAGE/NUMPAGES fields attach a projector
|
|
2009
|
-
* so document-level finalize can re-layout under the known page count; field-free furniture
|
|
2010
|
-
* reuses the baseline on every sheet.
|
|
2011
|
-
*/
|
|
2012
|
-
interface PageFurniture {
|
|
2013
|
-
readonly titlePage: boolean;
|
|
2014
|
-
readonly evenAndOddHeaders: boolean;
|
|
2015
|
-
readonly headers: ReadonlyMap<HeaderFooterVariantName, HeaderFooterStoryLayout>;
|
|
2016
|
-
readonly footers: ReadonlyMap<HeaderFooterVariantName, HeaderFooterStoryLayout>;
|
|
2017
|
-
}
|
|
2018
2025
|
/**
|
|
2019
2026
|
* Everything a layout pass needs beyond the document itself.
|
|
2020
2027
|
*
|
|
@@ -2602,17 +2609,37 @@ interface PreferredWidth {
|
|
|
2602
2609
|
/** The frozen "no preferred width" value — what a table or cell that declares none resolves to. */
|
|
2603
2610
|
declare const AUTO_PREFERRED_WIDTH: PreferredWidth;
|
|
2604
2611
|
|
|
2612
|
+
/**
|
|
2613
|
+
* The uniform 3 pt (60 twip) inset this lane used to apply on every side.
|
|
2614
|
+
*
|
|
2615
|
+
* Word's defaults are not uniform — see {@link DEFAULT_CELL_MARGINS} — so nothing resolves
|
|
2616
|
+
* against this any more. Kept because it is published.
|
|
2617
|
+
*/
|
|
2618
|
+
declare const CELL_PAD = 3;
|
|
2619
|
+
/** Resolved cell padding in points, after the table default and any per-cell override. */
|
|
2620
|
+
interface CellMarginsPt {
|
|
2621
|
+
readonly top: number;
|
|
2622
|
+
readonly right: number;
|
|
2623
|
+
readonly bottom: number;
|
|
2624
|
+
readonly left: number;
|
|
2625
|
+
}
|
|
2626
|
+
/**
|
|
2627
|
+
* Word's own default cell padding, for a document whose styles part states none.
|
|
2628
|
+
*
|
|
2629
|
+
* 0 top, 0 bottom, 108 twips left and right — the values `TableNormal` carries. A uniform
|
|
2630
|
+
* 3 pt on all four sides made every row of every table that authored no `w:tblCellMar` 6 pt
|
|
2631
|
+
* taller than Word's, and that error compounds down a table until it paginates a page early.
|
|
2632
|
+
* A document that DOES ship a default table style resolves against that instead; this is the
|
|
2633
|
+
* floor beneath it.
|
|
2634
|
+
*/
|
|
2635
|
+
declare const DEFAULT_CELL_MARGINS: CellMarginsPt;
|
|
2636
|
+
|
|
2605
2637
|
/**
|
|
2606
2638
|
* Layout-time nesting ceiling. Parse-time depth (MAX_DEPTH = 256 XML levels) alone still
|
|
2607
2639
|
* admits ~80 levels of `w:tbl` recursion into the layout walk; deeper tables render as an
|
|
2608
2640
|
* empty cell box rather than recursing.
|
|
2609
2641
|
*/
|
|
2610
2642
|
declare const MAX_TABLE_NESTING = 16;
|
|
2611
|
-
/**
|
|
2612
|
-
* Fallback cell padding in points (60 twips) when neither `tblCellMar` nor `tcMar` authors
|
|
2613
|
-
* a side. Matches the historical uniform `CELL_PAD` inset.
|
|
2614
|
-
*/
|
|
2615
|
-
declare const CELL_PAD = 3;
|
|
2616
2643
|
/**
|
|
2617
2644
|
* Soft ceiling on an authored `w:trHeight` (~22"). Hostile `w:val` otherwise becomes a
|
|
2618
2645
|
* multi-page row that every pagination preflight and cell box inherits.
|
|
@@ -2669,15 +2696,6 @@ interface TableFloatPosition {
|
|
|
2669
2696
|
/** `w:tblpY` in points; signed. */
|
|
2670
2697
|
readonly yPt: number;
|
|
2671
2698
|
}
|
|
2672
|
-
/** Resolved cell padding in points, after the table default and any per-cell override. */
|
|
2673
|
-
interface CellMarginsPt {
|
|
2674
|
-
readonly top: number;
|
|
2675
|
-
readonly right: number;
|
|
2676
|
-
readonly bottom: number;
|
|
2677
|
-
readonly left: number;
|
|
2678
|
-
}
|
|
2679
|
-
/** Word's own default cell padding, applied where a table declares no `w:tblCellMar`. */
|
|
2680
|
-
declare const DEFAULT_CELL_MARGINS: CellMarginsPt;
|
|
2681
2699
|
/**
|
|
2682
2700
|
* One cell in the resolved table structure.
|
|
2683
2701
|
*
|
|
@@ -2701,7 +2719,7 @@ interface SemanticTableCell {
|
|
|
2701
2719
|
readonly vMergeContinue: boolean;
|
|
2702
2720
|
/** `w:vAlign` — defaults to top when omitted/unrecognised. */
|
|
2703
2721
|
readonly vAlign: CellVerticalAlign;
|
|
2704
|
-
/** Resolved per-side margins (tcMar over tblCellMar over
|
|
2722
|
+
/** Resolved per-side margins (tcMar over tblCellMar over the table style over Word's default). */
|
|
2705
2723
|
readonly margins: CellMarginsPt;
|
|
2706
2724
|
/** Three-state authored `tcBorders` (omitted / none / edge). */
|
|
2707
2725
|
readonly borders: CellBorderBox;
|
|
@@ -2790,7 +2808,7 @@ interface SemanticTableStructure {
|
|
|
2790
2808
|
readonly layoutFixed: boolean;
|
|
2791
2809
|
/** Table-level `tblBorders` (three-state, including insideH/insideV). */
|
|
2792
2810
|
readonly tableBorders: TableBorderBox;
|
|
2793
|
-
/** Table-level `tblCellMar` defaults (per-side,
|
|
2811
|
+
/** Table-level `tblCellMar` defaults (per-side, Word's own default when a side is omitted). */
|
|
2794
2812
|
readonly defaultMargins: CellMarginsPt;
|
|
2795
2813
|
}
|
|
2796
2814
|
/**
|
package/dist/layout.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{na as AUTO_PARAGRAPH_SPACING_PT,Zb as AUTO_PREFERRED_WIDTH
|
|
1
|
+
export{na as AUTO_PARAGRAPH_SPACING_PT,Zb as AUTO_PREFERRED_WIDTH,_b as CELL_PAD,ha as COMPOUND_BORDER_MIN_GAP_PT,ga as COMPOUND_BORDER_MIN_STROKE_PT,Gd as DEFAULT_CANVAS_FONT_STACK,$b as DEFAULT_CELL_MARGINS,fa as DEFAULT_PAGE_GEOMETRY,lb as DEFAULT_REVISION_DISPLAY_MODE,fb as DEFAULT_RUN_STYLE,Yc as DEFAULT_SECTION_PROPERTIES,La as DEFAULT_TAB_INTERVAL_PT,Ka as DEFAULT_TAB_INTERVAL_TWIPS,yc as DEFAULT_VERTICAL_WEIGHT,ic as EMPTY_NUMBERING_INDEX,Na as EMPTY_TAB_STOPS,d as FontResolutionError,w as GRAPHEME_SEGMENTER_LOCALE,c as HARD_MAX_AGGREGATE_FONT_BYTES,a as HARD_MAX_FONT_BYTES,b as HARD_MAX_FONT_SOURCES,n as HARFBUZZ_SHAPING_LIBRARY,q as HarfBuzzShapingError,ma as MAX_BORDER_SPACE_PT,la as MAX_BORDER_WIDTH_PT,Xc as MAX_DOCUMENT_SECTIONS,wd as MAX_EACH_PAGE_MARK_CANDIDATES,fc as MAX_LVL_OVERRIDES,Wa as MAX_LVL_TEXT_LENGTH,Va as MAX_MARKER_TEXT_LENGTH,id as MAX_NOTES_LAID_OUT,jd as MAX_NOTE_FRAGMENTS,vd as MAX_NOTE_OVERFLOW_PAGES,ud as MAX_NOTE_REFLOW_ATTEMPTS,ec as MAX_NUMBERING_DEFINITIONS,ka as MAX_PARAGRAPH_SPACING_PT,Db as MAX_STYLE_BASED_ON_DEPTH,Eb as MAX_STYLE_DEFINITIONS,Rb as MAX_TABLE_BORDER_STROKES,ac as MAX_TABLE_NESTING,Oc as MAX_TABLE_ROW_FRAGMENTS,bc as MAX_TABLE_ROW_HEIGHT_PT,Ja as MAX_TAB_POSITION_TWIPS,Ia as MAX_TAB_STOPS,pa as PARAGRAPH_BORDER_SIDES,W as ResolvedCache,oa as SINGLE_LINE_SPACING,Ma as TAB_LEADER_GLYPH,Pc as TablePaginationError,u as UnsupportedScriptError,L as WORD_SEGMENTER_LOCALE,Md as anchorLineY,Ca as appliedSpaceBefore,ta as applyLineSpacing,Bd as attachNotesToLayout,kb as baselineShiftPtOf,Yb as borderExtentPt,Vb as borderWeight,za as bottomBorderExtentPt,O as boundedFallbackWordSegments,f as boundedStructuralFontValidator,gc as buildNumberingIndex,yd as buildPageRefIndex,Gb as buildStyleCascadeTable,U as captureOperationSnapshot,ae as caretAt,Hc as caretBoxOnLine,_d as caretStops,$d as caretStopsForBlocks,Hb as cascadeParagraphFormatting,Jb as cascadeRunProperties,Ib as cascadedBottomBorder,wa as cascadedParagraphBorders,Oa as cascadedTabStops,je as cellSelectionBetween,ne as cellSelectionRects,oe as cellSelectionText,Xa as clampListValue,Ba as collapsedSpaceBefore,he as compositionAnchor,ia as computeDoubleBorderMetricsPt,Ad as computeFootnoteReserves,Ec as contentControlAtPoint,ce as contentControlAtSemantic,Ld as contentControlBoundaries,Wc as contentControlHoldingParagraph,Vc as contentControlRecordsInPart,de as contentControlsInLayout,ca as contentControlsOfLayout,P as createBoundedFallbackWordBoundary,Q as createDefaultWordBoundary,Ed as createFixedMeasurer,g as createFontResourceSnapshot,t as createHarfBuzzTextShaper,N as createIntlWordBoundary,Rd as createLayoutScheduler,Dd as createLayoutSession,jc as createListCounterState,yb as createParagraphLayoutCache,Pd as createShapedMeasurer,l as createShapedRun,i as createShapingEnvironment,pd as defaultNoteSeparatorRuleStyle,Ra as defaultTabIntervalFromSettings,fe as deletedTextBoundaries,fd as deriveNoteDisplayMarks,gd as deriveNoteDisplayMarksResolved,hb as displayText,sc as documentOrder,Qb as effectiveBorderSide,ea as effectiveContentControlLock,Sc as emptyTocPlaceholderParagraphIds,Tc as emptyTocSuppressedResultParagraphIds,cd as enumerateDocumentSections,dd as enumerateDocumentSectionsBounded,tc as everyStoryOrder,db as expandLvlText,zd as filterRefsOnPage,Ic as findDrawingOverlayFrameInLayout,md as findSeparatorNote,h as fixedPoint,e as fontRequestKey,Ya as formatDecimal,Za as formatDecimalZero,bb as formatLowerLetter,$a as formatLowerRoman,cb as formatNumFmt,eb as formatPageNumber,sb as formatRevisionOf,ab as formatUpperLetter,_a as formatUpperRoman,xd as fragmentOwnsAtomOffset,aa as fragmentsOfParagraph,ed as geometryOfSection,z as graphemeBoundaryEpoch,D as graphemeCount,F as graphemeOffsetToUtf16,V as guardOperationSnapshot,r as harfBuzzFontValidator,Bc as hitTestPage,be as hitTestSemantic,Dc as hitTestSheet,o as initializeHarfBuzz,y as intlGraphemeBoundary,Id as isCanvasMeasurementAvailable,J as isCumulativeGeometryTrustedFromLineOrigin,Ac as isFurniturePoint,I as isGeometryTrustedCaretOffset,p as isHarfBuzzInitialized,x as isIntlSegmenterAvailable,M as isIntlWordSegmenterAvailable,qd as isMarkerOnlySeparatorNote,Fb as isValidStyleId,H as isWholeGraphemeHorizontalBoundary,v as itemizeScriptFontSlots,Ud as keyedRangeRects,wb as layoutEquation,Uc as layoutHeaderFooterStory,od as layoutNoteById,rd as layoutNoteSeparator,nd as layoutNoteStory,Fd as layoutSemanticDocument,ba as lineAtPosition,Fc as lineEndOffset,Z as linesOf,rc as listMarkerBox,qb as markRevisionRemovesMark,ib as measureDisplayText,nc as mergeListIndent,ge as moveCaret,Sa as nextTabDestination,ld as normalNotesOf,hd as noteDisplayMarkMap,kd as noteLineIdPrefix,ub as noteMarkKey,td as noteSeparatorAreaBox,Pb as noteStoryBlocks,zc as pageAtY,Qd as pagesToMaterialize,ya as paragraphBorderExtentPt,xa as paragraphBorderStrokeWidthPt,va as paragraphBorders,Aa as paragraphBordersFingerprint,ja as paragraphBreaksBefore,ua as paragraphContextualSpacing,X as paragraphFragmentsOf,Y as paragraphFragmentsOfBlocks,xb as paragraphLayoutKey,sa as paragraphLineSpacing,Mb as paragraphMarkDeleted,ob as paragraphMarkFormatRevisionOf,rb as paragraphMarkRevisionOf,nb as paragraphMarkRevisionsOf,ad as paragraphSectionNode,Ga as paragraphShading,Ha as paragraphShadingBox,ra as paragraphSpacing,Pa as paragraphTabStops,ee as paragraphTextFromLayout,le as paragraphsInCells,Zc as parsePageNumbering,_c as parseSectionProperties,Yd as positionPastDeletion,vb as projectedNoteMarkText,Cd as provisionalNoteMarks,Sb as readBorderSide,Ub as readCellBorders,lc as readNumPr,bd as readSectionProperties,Tb as readTableBorders,dc as readTableStructure,C as resetGraphemeBoundary,Wb as resolveBorderConflict,Kd as resolveDefaultSurfaceMeasurer,R as resolveDefaultWordBoundary,hc as resolveNumberingLevel,Ea as resolveOoxmlShadingFill,Kb as resolveParagraphLayoutInputs,gb as resolveRunStyle,pc as resolveStoryListItems,Da as resolveStrictHexFill,Xb as resolveTableCellBorderGrid,Nd as reviewAnchorIndex,Od as reviewItemGeometry,Nb as revisionRemovesParagraph,tb as revisionsAreDeletion,mb as revisionsVisible,s as roundFontUnitToFixedPoint,jb as runStylesEqual,A as segmentGraphemes,S as segmentWords,Sd as selectionRects,K as semanticHorizontalBoundaries,B as setGraphemeBoundary,Fa as shadingFillFromElement,G as shapedHorizontalBoundaries,m as shapedRunComparatorInputs,k as shapingEnvironmentFingerprint,j as shapingEnvironmentFingerprintInputs,pb as shownMarkRevision,Gc as spanOffsetX,me as spansInCells,ie as spansInSelection,Ob as storyBlocks,sd as syntheticSeparatorBox,Ta as tabAdvanceWidth,Ua as tabStopsFingerprint,pe as tableContextAt,cc as tableOriginX,Rc as tocFieldChromeParagraphIds,Jd as tryCreateCanvasMeasurer,da as unionLayoutBoxes,E as utf16OffsetToGrapheme,oc as walkStoryParagraphs,Qa as withDefaultTabInterval,mc as withNumberingStyleLinks,qc as withResolvedListItems,Zd as wordBoundary,T as wordSegmentsToGraphemeRecords}from'./chunk-WXQ245MQ.js';export{a as setHarfBuzzWasmUrl}from'./chunk-WU7PUTVA.js';import'./chunk-6HMSC7UV.js';export{$ as activeReviewItem,ba as commentBodyText,ca as commentInitials,Y as firstReviewRange,ha as paragraphOrderOfPart,W as reviewItemKey,Z as reviewItemPositionRank,X as reviewItemRanges,_ as reviewItemsAt,aa as reviewThreadRootOf}from'./chunk-X7A5XART.js';export{jc as MAX_SDT_NESTING,yg as MAX_TABLE_COLUMNS,Kf as W15_NAMESPACE_URI,oc as collectFlowBlocks,nc as contentControlContentChildren,kc as isContentControl,lc as isContentControlContent,a as sha256FontBytes}from'./chunk-34BNQUD4.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as OoxmlPart, a as OoxmlNode,
|
|
1
|
+
import { O as OoxmlPart, a as OoxmlNode, b as OoxmlPackage } from './tree-op-types-DnzAOnc9.js';
|
|
2
2
|
|
|
3
3
|
/** `w:pos` — where a section's footnotes are laid out. */
|
|
4
4
|
type FootnotePosition = 'pageBottom' | 'beneathText' | 'sectEnd' | 'docEnd';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as OoxmlPart, a as OoxmlNode,
|
|
1
|
+
import { O as OoxmlPart, a as OoxmlNode, b as OoxmlPackage } from './tree-op-types-BPyXNxyL.cjs';
|
|
2
2
|
|
|
3
3
|
/** `w:pos` — where a section's footnotes are laid out. */
|
|
4
4
|
type FootnotePosition = 'pageBottom' | 'beneathText' | 'sectEnd' | 'docEnd';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as OoxmlNodeId, d as OoxmlGenericElementNode, a as OoxmlNode } from './tree-op-types-DnzAOnc9.js';
|
|
2
2
|
|
|
3
3
|
/** Office Math Markup Language namespace. */
|
|
4
4
|
declare const OFFICE_MATH_NAMESPACE_URI = "http://schemas.openxmlformats.org/officeDocument/2006/math";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as OoxmlNodeId, d as OoxmlGenericElementNode, a as OoxmlNode } from './tree-op-types-BPyXNxyL.cjs';
|
|
2
2
|
|
|
3
3
|
/** Office Math Markup Language namespace. */
|
|
4
4
|
declare const OFFICE_MATH_NAMESPACE_URI = "http://schemas.openxmlformats.org/officeDocument/2006/math";
|
package/dist/output.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkJUQOPVSK_cjs=require('./chunk-JUQOPVSK.cjs');require('./chunk-UQFOYZJO.cjs'),require('./chunk-GRDFEH5Q.cjs'),require('./chunk-76Y3Y45J.cjs'),require('./chunk-GWV65NQW.cjs');Object.defineProperty(exports,"DEFAULT_FIELD_SHADING",{enumerable:true,get:function(){return chunkJUQOPVSK_cjs.i}});Object.defineProperty(exports,"paintSelectionOverlay",{enumerable:true,get:function(){return chunkJUQOPVSK_cjs.m}});Object.defineProperty(exports,"paintSemanticLayout",{enumerable:true,get:function(){return chunkJUQOPVSK_cjs.k}});
|
package/dist/output.d.cts
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import { R as ReviewAuthorInfo } from './semantic-paint-
|
|
2
|
-
export { D as DEFAULT_FIELD_SHADING, F as FieldShadingMode, P as PaintOptions, a as RevisionAuthorAssignments, b as RevisionAuthorStyle, c as RevisionStyles, p as paintSemanticLayout } from './semantic-paint-
|
|
3
|
-
import { S as SemanticLayout } from './semantic-records-
|
|
4
|
-
import './tree-op-types-
|
|
5
|
-
import './ooxml-package-CdEy9ufK.cjs';
|
|
1
|
+
import { R as ReviewAuthorInfo } from './semantic-paint-UHaj3sBY.cjs';
|
|
2
|
+
export { D as DEFAULT_FIELD_SHADING, F as FieldShadingMode, P as PaintOptions, a as RevisionAuthorAssignments, b as RevisionAuthorStyle, c as RevisionStyles, p as paintSemanticLayout } from './semantic-paint-UHaj3sBY.cjs';
|
|
3
|
+
import { S as SemanticLayout } from './semantic-records-5AOQJmLX.cjs';
|
|
4
|
+
import './tree-op-types-BPyXNxyL.cjs';
|
|
6
5
|
import './contracts/types.cjs';
|
|
7
|
-
import './
|
|
8
|
-
import './
|
|
9
|
-
import './omml-equation-BD-LsmWE.cjs';
|
|
6
|
+
import './revision-projection-C2S8PSQm.cjs';
|
|
7
|
+
import './omml-equation-CqQOt_dD.cjs';
|
|
10
8
|
|
|
11
9
|
/** A rectangle in page-content coordinates, on a named page. */
|
|
12
10
|
interface OverlayRect {
|
package/dist/output.d.ts
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import { R as ReviewAuthorInfo } from './semantic-paint-
|
|
2
|
-
export { D as DEFAULT_FIELD_SHADING, F as FieldShadingMode, P as PaintOptions, a as RevisionAuthorAssignments, b as RevisionAuthorStyle, c as RevisionStyles, p as paintSemanticLayout } from './semantic-paint-
|
|
3
|
-
import { S as SemanticLayout } from './semantic-records-
|
|
4
|
-
import './tree-op-types-
|
|
5
|
-
import './ooxml-package-CdEy9ufK.js';
|
|
1
|
+
import { R as ReviewAuthorInfo } from './semantic-paint-vA-oLSdV.js';
|
|
2
|
+
export { D as DEFAULT_FIELD_SHADING, F as FieldShadingMode, P as PaintOptions, a as RevisionAuthorAssignments, b as RevisionAuthorStyle, c as RevisionStyles, p as paintSemanticLayout } from './semantic-paint-vA-oLSdV.js';
|
|
3
|
+
import { S as SemanticLayout } from './semantic-records-9xhwbJ23.js';
|
|
4
|
+
import './tree-op-types-DnzAOnc9.js';
|
|
6
5
|
import './contracts/types.js';
|
|
7
|
-
import './
|
|
8
|
-
import './
|
|
9
|
-
import './omml-equation-Dd3mBep-.js';
|
|
6
|
+
import './revision-projection-Ae2CWa8E.js';
|
|
7
|
+
import './omml-equation-Ciq5rgb7.js';
|
|
10
8
|
|
|
11
9
|
/** A rectangle in page-content coordinates, on a named page. */
|
|
12
10
|
interface OverlayRect {
|
package/dist/output.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{i as DEFAULT_FIELD_SHADING,m as paintSelectionOverlay,k as paintSemanticLayout}from'./chunk-GXLZCXEH.js';import'./chunk-WXQ245MQ.js';import'./chunk-WU7PUTVA.js';import'./chunk-6HMSC7UV.js';import'./chunk-X7A5XART.js';import'./chunk-34BNQUD4.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { H as HeaderFooterVariant } from './
|
|
2
|
-
import { N as NoteKind } from './
|
|
1
|
+
import { H as HeaderFooterVariant } from './tree-package-fragment-BjZ3RWAS.cjs';
|
|
2
|
+
import { N as NoteKind } from './tree-store-DfZi7FqY.cjs';
|
|
3
3
|
|
|
4
4
|
/** Alignment as this protocol publishes it. `Mixed`/`Unknown` are read-only answers. */
|
|
5
5
|
type AutomationAlignment = 'Mixed' | 'Unknown' | 'Left' | 'Centered' | 'Right' | 'Justified';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { H as HeaderFooterVariant } from './
|
|
2
|
-
import { N as NoteKind } from './
|
|
1
|
+
import { H as HeaderFooterVariant } from './tree-package-fragment-CDER0G3B.js';
|
|
2
|
+
import { N as NoteKind } from './tree-store-CNZ3O83s.js';
|
|
3
3
|
|
|
4
4
|
/** Alignment as this protocol publishes it. `Mixed`/`Unknown` are read-only answers. */
|
|
5
5
|
type AutomationAlignment = 'Mixed' | 'Unknown' | 'Left' | 'Centered' | 'Right' | 'Justified';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { R as RevisionAddress } from './tree-op-revision-attribution-CN06Xshv.js';
|
|
1
|
+
import { g as OoxmlElement, O as OoxmlPart, b as OoxmlPackage, R as RevisionAddress } from './tree-op-types-BPyXNxyL.cjs';
|
|
3
2
|
|
|
4
3
|
/** The `w15` namespace: `commentsExtended.xml` — thread parent and resolved state. */
|
|
5
4
|
declare const W15_NAMESPACE_URI = "http://schemas.microsoft.com/office/word/2012/wordml";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { R as RevisionAddress } from './tree-op-revision-attribution-CN06Xshv.cjs';
|
|
1
|
+
import { g as OoxmlElement, O as OoxmlPart, b as OoxmlPackage, R as RevisionAddress } from './tree-op-types-DnzAOnc9.js';
|
|
3
2
|
|
|
4
3
|
/** The `w15` namespace: `commentsExtended.xml` — thread parent and resolved state. */
|
|
5
4
|
declare const W15_NAMESPACE_URI = "http://schemas.microsoft.com/office/word/2012/wordml";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as OoxmlNode,
|
|
2
|
-
import { C as CommentRecord, f as ReviewRange, R as ReviewModelInput, a as ReviewItem, e as ReviewPosition, h as CommentThreadState, c as ReviewCommentItem, b as ReviewRevisionItem } from './review-items-
|
|
1
|
+
import { a as OoxmlNode, g as OoxmlElement, h as OoxmlContentControlNode, d as OoxmlGenericElementNode, i as OoxmlContentControlContentNode, O as OoxmlPart } from './tree-op-types-BPyXNxyL.cjs';
|
|
2
|
+
import { C as CommentRecord, f as ReviewRange, R as ReviewModelInput, a as ReviewItem, e as ReviewPosition, h as CommentThreadState, c as ReviewCommentItem, b as ReviewRevisionItem } from './review-items-BdeLNRi2.cjs';
|
|
3
3
|
|
|
4
4
|
/** Nested content-control wrappers deeper than this stop flattening; content stays preserved. */
|
|
5
5
|
declare const MAX_CONTENT_CONTROL_NESTING = 32;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as OoxmlNode,
|
|
2
|
-
import { C as CommentRecord, f as ReviewRange, R as ReviewModelInput, a as ReviewItem, e as ReviewPosition, h as CommentThreadState, c as ReviewCommentItem, b as ReviewRevisionItem } from './review-items-
|
|
1
|
+
import { a as OoxmlNode, g as OoxmlElement, h as OoxmlContentControlNode, d as OoxmlGenericElementNode, i as OoxmlContentControlContentNode, O as OoxmlPart } from './tree-op-types-DnzAOnc9.js';
|
|
2
|
+
import { C as CommentRecord, f as ReviewRange, R as ReviewModelInput, a as ReviewItem, e as ReviewPosition, h as CommentThreadState, c as ReviewCommentItem, b as ReviewRevisionItem } from './review-items-CkYyXhXM.js';
|
|
3
3
|
|
|
4
4
|
/** Nested content-control wrappers deeper than this stop flattening; content stays preserved. */
|
|
5
5
|
declare const MAX_CONTENT_CONTROL_NESTING = 32;
|
package/dist/{semantic-cell-selection-DT9x9WLf.d.cts → semantic-cell-selection-C0OFD4D9.d.cts}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { O as OoxmlPart,
|
|
2
|
-
import { P as PageGeometry, I as InlineDrawingRecord, A as AnchoredDrawingRecord, T as TextMeasurer, L as LineRecord, a as StyleSpanRecord, S as SemanticLayout, C as ContentControlBoundaryRecord, b as TableRowFragmentRecord, c as TableCellFragmentRecord } from './semantic-records-
|
|
3
|
-
import { R as RevisionDisplayMode } from './revision-projection-
|
|
4
|
-
import { S as SemanticPosition, C as CaretGeometry, a as SemanticSelection } from './semantic-interaction-
|
|
1
|
+
import { O as OoxmlPart, g as OoxmlElement, a as OoxmlNode } from './tree-op-types-BPyXNxyL.cjs';
|
|
2
|
+
import { P as PageGeometry, I as InlineDrawingRecord, A as AnchoredDrawingRecord, T as TextMeasurer, L as LineRecord, a as StyleSpanRecord, S as SemanticLayout, C as ContentControlBoundaryRecord, b as TableRowFragmentRecord, c as TableCellFragmentRecord } from './semantic-records-5AOQJmLX.cjs';
|
|
3
|
+
import { R as RevisionDisplayMode } from './revision-projection-C2S8PSQm.cjs';
|
|
4
|
+
import { S as SemanticPosition, C as CaretGeometry, a as SemanticSelection } from './semantic-interaction-Cs2jErnt.cjs';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Hard ceiling on sections enumerated from a document (matches write-path
|
package/dist/{semantic-cell-selection-Utrf0lz7.d.ts → semantic-cell-selection-DdmoxC-y.d.ts}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { O as OoxmlPart,
|
|
2
|
-
import { P as PageGeometry, I as InlineDrawingRecord, A as AnchoredDrawingRecord, T as TextMeasurer, L as LineRecord, a as StyleSpanRecord, S as SemanticLayout, C as ContentControlBoundaryRecord, b as TableRowFragmentRecord, c as TableCellFragmentRecord } from './semantic-records-
|
|
3
|
-
import { R as RevisionDisplayMode } from './revision-projection-
|
|
4
|
-
import { S as SemanticPosition, C as CaretGeometry, a as SemanticSelection } from './semantic-interaction-
|
|
1
|
+
import { O as OoxmlPart, g as OoxmlElement, a as OoxmlNode } from './tree-op-types-DnzAOnc9.js';
|
|
2
|
+
import { P as PageGeometry, I as InlineDrawingRecord, A as AnchoredDrawingRecord, T as TextMeasurer, L as LineRecord, a as StyleSpanRecord, S as SemanticLayout, C as ContentControlBoundaryRecord, b as TableRowFragmentRecord, c as TableCellFragmentRecord } from './semantic-records-9xhwbJ23.js';
|
|
3
|
+
import { R as RevisionDisplayMode } from './revision-projection-Ae2CWa8E.js';
|
|
4
|
+
import { S as SemanticPosition, C as CaretGeometry, a as SemanticSelection } from './semantic-interaction-COyhZ9WH.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Hard ceiling on sections enumerated from a document (matches write-path
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as TextMeasurer, S as SemanticLayout, B as BlockFragmentRecord, C as ContentControlBoundaryRecord, a as StyleSpanRecord } from './semantic-records-
|
|
1
|
+
import { T as TextMeasurer, S as SemanticLayout, B as BlockFragmentRecord, C as ContentControlBoundaryRecord, a as StyleSpanRecord } from './semantic-records-9xhwbJ23.js';
|
|
2
2
|
|
|
3
3
|
/** A caret position in the model. */
|
|
4
4
|
interface SemanticPosition {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as TextMeasurer, S as SemanticLayout, B as BlockFragmentRecord, C as ContentControlBoundaryRecord, a as StyleSpanRecord } from './semantic-records-
|
|
1
|
+
import { T as TextMeasurer, S as SemanticLayout, B as BlockFragmentRecord, C as ContentControlBoundaryRecord, a as StyleSpanRecord } from './semantic-records-5AOQJmLX.cjs';
|
|
2
2
|
|
|
3
3
|
/** A caret position in the model. */
|
|
4
4
|
interface SemanticPosition {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as ContentControlBoundaryRecord, S as SemanticLayout } from './semantic-records-
|
|
2
|
-
import { V as ValidatedImageBytesHandle,
|
|
1
|
+
import { C as ContentControlBoundaryRecord, S as SemanticLayout } from './semantic-records-5AOQJmLX.cjs';
|
|
2
|
+
import { V as ValidatedImageBytesHandle, t as RenderableImageMime } from './tree-op-types-BPyXNxyL.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Everything a host can say about ONE author's presentation. Every field is optional and
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as ContentControlBoundaryRecord, S as SemanticLayout } from './semantic-records-
|
|
2
|
-
import { V as ValidatedImageBytesHandle,
|
|
1
|
+
import { C as ContentControlBoundaryRecord, S as SemanticLayout } from './semantic-records-9xhwbJ23.js';
|
|
2
|
+
import { V as ValidatedImageBytesHandle, t as RenderableImageMime } from './tree-op-types-DnzAOnc9.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Everything a host can say about ONE author's presentation. Every field is optional and
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { a as OoxmlNode,
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { O as OmmlEquationProjection } from './omml-equation-Dd3mBep-.js';
|
|
1
|
+
import { a as OoxmlNode, s as OoxmlProperty, x as ImageResourceState, U as DrawingAccessibility, S as SourceCrop, W as DrawingTransform, X as VectorShapeProjection, z as DrawingHorizontalReferenceFrame, A as DrawingVerticalReferenceFrame, u as ImageWrapTarget, Y as DrawingProjection, Z as OoxmlDrawingNode, _ as TableBorderStyle, g as OoxmlElement, O as OoxmlPart } from './tree-op-types-BPyXNxyL.cjs';
|
|
2
|
+
import { a as RevisionAttribution } from './revision-projection-C2S8PSQm.cjs';
|
|
3
|
+
import { O as OmmlEquationProjection } from './omml-equation-CqQOt_dD.cjs';
|
|
5
4
|
|
|
6
5
|
/**
|
|
7
6
|
* Whether a paragraph must start a new page (`w:pageBreakBefore`).
|
|
@@ -645,6 +644,8 @@ interface FieldAtomMarker {
|
|
|
645
644
|
*/
|
|
646
645
|
readonly pageField?: {
|
|
647
646
|
readonly kind: AllowlistedPageField;
|
|
647
|
+
/** The field's `\#` numeric picture, applied when finalize substitutes the value. */
|
|
648
|
+
readonly picture?: string;
|
|
648
649
|
};
|
|
649
650
|
}
|
|
650
651
|
/** A half-open model-offset range, in the paragraph's own UTF-16 offset space. */
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { a as OoxmlNode,
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { O as OmmlEquationProjection } from './omml-equation-BD-LsmWE.cjs';
|
|
1
|
+
import { a as OoxmlNode, s as OoxmlProperty, x as ImageResourceState, U as DrawingAccessibility, S as SourceCrop, W as DrawingTransform, X as VectorShapeProjection, z as DrawingHorizontalReferenceFrame, A as DrawingVerticalReferenceFrame, u as ImageWrapTarget, Y as DrawingProjection, Z as OoxmlDrawingNode, _ as TableBorderStyle, g as OoxmlElement, O as OoxmlPart } from './tree-op-types-DnzAOnc9.js';
|
|
2
|
+
import { a as RevisionAttribution } from './revision-projection-Ae2CWa8E.js';
|
|
3
|
+
import { O as OmmlEquationProjection } from './omml-equation-Ciq5rgb7.js';
|
|
5
4
|
|
|
6
5
|
/**
|
|
7
6
|
* Whether a paragraph must start a new page (`w:pageBreakBefore`).
|
|
@@ -645,6 +644,8 @@ interface FieldAtomMarker {
|
|
|
645
644
|
*/
|
|
646
645
|
readonly pageField?: {
|
|
647
646
|
readonly kind: AllowlistedPageField;
|
|
647
|
+
/** The field's `\#` numeric picture, applied when finalize substitutes the value. */
|
|
648
|
+
readonly picture?: string;
|
|
648
649
|
};
|
|
649
650
|
}
|
|
650
651
|
/** A half-open model-offset range, in the paragraph's own UTF-16 offset space. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { R as ResolvedRunStyle, T as TextMeasurer } from './semantic-records-
|
|
1
|
+
import { R as ResolvedRunStyle, T as TextMeasurer } from './semantic-records-5AOQJmLX.cjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* A face, as something asks for it: family plus the two axes this engine admits.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { R as ResolvedRunStyle, T as TextMeasurer } from './semantic-records-
|
|
1
|
+
import { R as ResolvedRunStyle, T as TextMeasurer } from './semantic-records-9xhwbJ23.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* A face, as something asks for it: family plus the two axes this engine admits.
|