@docx-editor.dev/core 2.10.0 → 2.12.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-3JON7JMD.cjs +1 -0
- package/dist/chunk-5V6FNKBE.cjs +2 -0
- package/dist/chunk-6JIJOZDW.js +1 -0
- package/dist/chunk-BTQKU64Q.cjs +1 -0
- package/dist/chunk-BXRVGHTY.cjs +18 -0
- package/dist/chunk-BXTTPJSH.js +5 -0
- package/dist/chunk-D5EHDHYV.js +1 -0
- package/dist/{chunk-PSZH2VXP.js → chunk-GOEBQ26R.js} +1 -1
- package/dist/chunk-ILTZTY3K.cjs +10 -0
- package/dist/chunk-IUM7FZPA.js +2 -0
- package/dist/chunk-JWZG4QJ5.cjs +2 -0
- package/dist/chunk-JXZYDBKU.cjs +19 -0
- package/dist/chunk-KBOOIC2Q.js +19 -0
- package/dist/chunk-L6XZTLPS.js +10 -0
- package/dist/chunk-L7OR5TJK.cjs +5 -0
- package/dist/chunk-MHQNR2OU.js +2 -0
- package/dist/chunk-MLGPISGH.js +1 -0
- package/dist/chunk-NJXQABQU.js +18 -0
- package/dist/{chunk-YMYCPY5Y.cjs → chunk-OHJQ7GPZ.cjs} +1 -1
- package/dist/chunk-TKEGK4GQ.cjs +2 -0
- package/dist/chunk-VGFMPWND.js +2 -0
- package/dist/chunk-W77HJGYX.js +1 -0
- package/dist/chunk-XCFM3G5L.cjs +1 -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-CcNeHH5C.d.ts +310 -0
- package/dist/custom-node-writes-D4rMJIES.d.cts +310 -0
- package/dist/document-properties-D6Ahr8D6.d.cts +28 -0
- package/dist/document-properties-D6Ahr8D6.d.ts +28 -0
- package/dist/{editor-CwzY2Hcg.d.cts → editor-B76SEMZw.d.cts} +145 -49
- package/dist/{editor-C0my6Uta.d.ts → editor-BcdsPdbY.d.ts} +145 -49
- package/dist/editor.cjs +1 -1
- package/dist/editor.css +1 -7299
- package/dist/editor.d.cts +60 -26
- package/dist/editor.d.ts +60 -26
- 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-BYTvklN5.d.ts} +262 -81
- package/dist/{index-nLFwo_17.d.cts → index-CDGhPib1.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 +82 -53
- package/dist/layout.d.ts +82 -53
- package/dist/layout.js +1 -1
- package/dist/{note-properties-jvnw_DGG.d.ts → note-properties-Bx7rXruA.d.ts} +1 -1
- package/dist/{note-properties-CQlxjic_.d.cts → note-properties-zQ8w04en.d.cts} +1 -1
- package/dist/{omml-equation-Dd3mBep-.d.ts → omml-equation-69O1Pd8G.d.ts} +1 -1
- package/dist/{omml-equation-BD-LsmWE.d.cts → omml-equation-BmV51rim.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-C7ahrdUx.d.ts → protocol-DC7ueVuo.d.ts} +2 -2
- package/dist/{protocol-UuZOcOp7.d.cts → protocol-FTXtrAIT.d.cts} +2 -2
- package/dist/{review-items-Dw-8a6Ie.d.ts → review-items-B78OsJU2.d.ts} +1 -2
- package/dist/{review-items-CwixiHNe.d.cts → review-items-C-2WQdEb.d.cts} +1 -2
- package/dist/{review-reads-BqkiJTeR.d.cts → review-reads-CbBQlb-n.d.cts} +2 -2
- package/dist/{review-reads-C0u-IKEA.d.ts → review-reads-UexYBp-m.d.ts} +2 -2
- package/dist/{revision-projection-Cc4wz30g.d.cts → revision-projection-6u8lae9J.d.cts} +1 -1
- package/dist/{revision-projection-CILpvv4M.d.ts → revision-projection-B2v9U3qx.d.ts} +1 -1
- package/dist/{semantic-cell-selection-Utrf0lz7.d.ts → semantic-cell-selection-DsYz2Vg3.d.ts} +4 -4
- package/dist/{semantic-cell-selection-DT9x9WLf.d.cts → semantic-cell-selection-nEE7E3Z8.d.cts} +4 -4
- package/dist/{semantic-interaction-B6hFRQLy.d.ts → semantic-interaction-C00BpIyC.d.ts} +1 -1
- package/dist/{semantic-interaction-Z0xKQcB4.d.cts → semantic-interaction-DiOX0FIH.d.cts} +1 -1
- package/dist/{semantic-paint-CQEOC0Od.d.cts → semantic-paint-Cc11nrDL.d.cts} +2 -2
- package/dist/{semantic-paint-quke354p.d.ts → semantic-paint-ofuoBsYo.d.ts} +2 -2
- package/dist/{semantic-records-Do3-i5oB.d.ts → semantic-records-CRG1r6-a.d.cts} +5 -4
- package/dist/{semantic-records-CMakzQ1X.d.cts → semantic-records-CzI0ZEuR.d.ts} +5 -4
- package/dist/{shaped-measurer-BxwTUluj.d.ts → shaped-measurer-CkOGZQn9.d.ts} +1 -1
- package/dist/{shaped-measurer-DzRwWrL5.d.cts → shaped-measurer-CneACGcP.d.cts} +1 -1
- package/dist/store.cjs +1 -1
- package/dist/store.d.cts +81 -17
- package/dist/store.d.ts +81 -17
- package/dist/store.js +1 -1
- package/dist/{tree-op-types-DSJYmf5b.d.cts → tree-op-types-CA7qgAUF.d.cts} +1288 -18
- package/dist/{tree-op-types-BuOfCrkp.d.ts → tree-op-types-HKfUzt_-.d.ts} +1288 -18
- package/dist/{custom-node-writes-BvpWCnW8.d.ts → tree-package-fragment-Cz-v-0B3.d.cts} +107 -322
- package/dist/{custom-node-writes-Db8H6Z3n.d.cts → tree-package-fragment-oJZX_5iN.d.ts} +107 -322
- package/dist/{tree-session-contract-ByWx8eew.d.cts → tree-session-contract-BPDLrEPX.d.ts} +16 -10
- package/dist/{tree-session-contract-C1dfE9hy.d.ts → tree-session-contract-Cbl87xa8.d.cts} +16 -10
- package/dist/{tree-store-ASBtz7UB.d.ts → tree-store-B7hd6cEa.d.ts} +130 -25
- package/dist/{tree-store-CWOUMGN8.d.cts → tree-store-BenW0Mg_.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-CkOGZQn9.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-CkOGZQn9.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-CzI0ZEuR.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-CzI0ZEuR.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-HKfUzt_-.js';
|
|
6
|
+
export { M as TableBorderStyle } from './tree-op-types-HKfUzt_-.js';
|
|
7
|
+
import { N as NoteKind, T as TreeModelChange, n as noteTypeOf } from './tree-store-B7hd6cEa.js';
|
|
8
|
+
import { R as ResolvedFootnoteProperties, a as ResolvedEndnoteProperties } from './note-properties-Bx7rXruA.js';
|
|
9
|
+
import { D as DocumentProperties } from './document-properties-D6Ahr8D6.js';
|
|
10
|
+
import { a as RevisionAttribution, R as RevisionDisplayMode } from './revision-projection-B2v9U3qx.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-B2v9U3qx.js';
|
|
12
|
+
import { a as SectionColumns } from './semantic-cell-selection-DsYz2Vg3.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-DsYz2Vg3.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-UexYBp-m.js';
|
|
15
|
+
import { a as ReviewItem } from './review-items-B78OsJU2.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-B78OsJU2.js';
|
|
17
|
+
import { S as SemanticPosition, b as SelectionRect, a as SemanticSelection } from './semantic-interaction-C00BpIyC.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-C00BpIyC.js';
|
|
19
|
+
import './omml-equation-69O1Pd8G.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
|
*
|
|
@@ -548,6 +554,17 @@ declare function cascadedBottomBorder(paragraphPropertyNodes: readonly OoxmlNode
|
|
|
548
554
|
* When a cascade table is supplied, also resolves `w:rStyle` character styles (basedOn chain,
|
|
549
555
|
* cycle/depth capped). Runs without an explicit `rStyle` pick up the default character style
|
|
550
556
|
* (`w:default="1"`). Precedence: inherited → character style chain → direct formatting.
|
|
557
|
+
*
|
|
558
|
+
* PASS `inheritedRunProperties` BY IDENTITY. It must be an array
|
|
559
|
+
* {@link cascadeParagraphFormatting} returned — `runProperties` or `markRunProperties` — and
|
|
560
|
+
* not a copy of one. A toggle property (ECMA-376 §17.7.3) resolves per level of the style
|
|
561
|
+
* hierarchy, and the levels below the character style resolve to more than a true or a false:
|
|
562
|
+
* whether the document defaults' short circuit is still standing decides what the character
|
|
563
|
+
* style's own toggle does next, and no single `w:b` element can spell that. The paragraph
|
|
564
|
+
* cascade attaches that state to the array it returns, so spreading, filtering or sorting the
|
|
565
|
+
* list drops it. (`Object.freeze` returns the same object, so that one is safe.) A list
|
|
566
|
+
* without it is read as one ordinary level, which is the most a bare property list can say
|
|
567
|
+
* and is what a caller assembling its own list gets.
|
|
551
568
|
*/
|
|
552
569
|
declare function cascadeRunProperties(inheritedRunProperties: readonly OoxmlProperty[], directRunProperties: readonly OoxmlProperty[], table?: StyleCascadeTable): readonly OoxmlProperty[];
|
|
553
570
|
/** Everything the line breaker needs about one paragraph, already cascaded and converted. */
|
|
@@ -1965,6 +1982,23 @@ interface HeaderFooterStoryInputs {
|
|
|
1965
1982
|
*/
|
|
1966
1983
|
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
1984
|
|
|
1985
|
+
/** Which header/footer variant a page shows (ECMA-376 §17.10.5). */
|
|
1986
|
+
type HeaderFooterVariantName = 'default' | 'first' | 'even';
|
|
1987
|
+
/**
|
|
1988
|
+
* Pre-laid page furniture, supplied by the host (phase 2).
|
|
1989
|
+
*
|
|
1990
|
+
* Baseline stories are laid out once per variant (`layoutHeaderFooterStory`) for furniture
|
|
1991
|
+
* height. Stories that actually contain allowlisted PAGE/NUMPAGES fields attach a projector
|
|
1992
|
+
* so document-level finalize can re-layout under the known page count; field-free furniture
|
|
1993
|
+
* reuses the baseline on every sheet.
|
|
1994
|
+
*/
|
|
1995
|
+
interface PageFurniture {
|
|
1996
|
+
readonly titlePage: boolean;
|
|
1997
|
+
readonly evenAndOddHeaders: boolean;
|
|
1998
|
+
readonly headers: ReadonlyMap<HeaderFooterVariantName, HeaderFooterStoryLayout>;
|
|
1999
|
+
readonly footers: ReadonlyMap<HeaderFooterVariantName, HeaderFooterStoryLayout>;
|
|
2000
|
+
}
|
|
2001
|
+
|
|
1968
2002
|
/**
|
|
1969
2003
|
* A deterministic measurer for tests and headless use.
|
|
1970
2004
|
*
|
|
@@ -1999,22 +2033,6 @@ withinParagraphs?: ReadonlySet<string>): readonly ContentControlBoundaryRecord$1
|
|
|
1999
2033
|
*/
|
|
2000
2034
|
declare function contentControlHoldingParagraph(part: OoxmlPart, paragraphId: string): ContentControlBoundaryRecord$1 | null;
|
|
2001
2035
|
|
|
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
2036
|
/**
|
|
2019
2037
|
* Everything a layout pass needs beyond the document itself.
|
|
2020
2038
|
*
|
|
@@ -2602,17 +2620,37 @@ interface PreferredWidth {
|
|
|
2602
2620
|
/** The frozen "no preferred width" value — what a table or cell that declares none resolves to. */
|
|
2603
2621
|
declare const AUTO_PREFERRED_WIDTH: PreferredWidth;
|
|
2604
2622
|
|
|
2623
|
+
/**
|
|
2624
|
+
* The uniform 3 pt (60 twip) inset this lane used to apply on every side.
|
|
2625
|
+
*
|
|
2626
|
+
* Word's defaults are not uniform — see {@link DEFAULT_CELL_MARGINS} — so nothing resolves
|
|
2627
|
+
* against this any more. Kept because it is published.
|
|
2628
|
+
*/
|
|
2629
|
+
declare const CELL_PAD = 3;
|
|
2630
|
+
/** Resolved cell padding in points, after the table default and any per-cell override. */
|
|
2631
|
+
interface CellMarginsPt {
|
|
2632
|
+
readonly top: number;
|
|
2633
|
+
readonly right: number;
|
|
2634
|
+
readonly bottom: number;
|
|
2635
|
+
readonly left: number;
|
|
2636
|
+
}
|
|
2637
|
+
/**
|
|
2638
|
+
* Word's own default cell padding, for a document whose styles part states none.
|
|
2639
|
+
*
|
|
2640
|
+
* 0 top, 0 bottom, 108 twips left and right — the values `TableNormal` carries. A uniform
|
|
2641
|
+
* 3 pt on all four sides made every row of every table that authored no `w:tblCellMar` 6 pt
|
|
2642
|
+
* taller than Word's, and that error compounds down a table until it paginates a page early.
|
|
2643
|
+
* A document that DOES ship a default table style resolves against that instead; this is the
|
|
2644
|
+
* floor beneath it.
|
|
2645
|
+
*/
|
|
2646
|
+
declare const DEFAULT_CELL_MARGINS: CellMarginsPt;
|
|
2647
|
+
|
|
2605
2648
|
/**
|
|
2606
2649
|
* Layout-time nesting ceiling. Parse-time depth (MAX_DEPTH = 256 XML levels) alone still
|
|
2607
2650
|
* admits ~80 levels of `w:tbl` recursion into the layout walk; deeper tables render as an
|
|
2608
2651
|
* empty cell box rather than recursing.
|
|
2609
2652
|
*/
|
|
2610
2653
|
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
2654
|
/**
|
|
2617
2655
|
* Soft ceiling on an authored `w:trHeight` (~22"). Hostile `w:val` otherwise becomes a
|
|
2618
2656
|
* multi-page row that every pagination preflight and cell box inherits.
|
|
@@ -2669,15 +2707,6 @@ interface TableFloatPosition {
|
|
|
2669
2707
|
/** `w:tblpY` in points; signed. */
|
|
2670
2708
|
readonly yPt: number;
|
|
2671
2709
|
}
|
|
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
2710
|
/**
|
|
2682
2711
|
* One cell in the resolved table structure.
|
|
2683
2712
|
*
|
|
@@ -2701,7 +2730,7 @@ interface SemanticTableCell {
|
|
|
2701
2730
|
readonly vMergeContinue: boolean;
|
|
2702
2731
|
/** `w:vAlign` — defaults to top when omitted/unrecognised. */
|
|
2703
2732
|
readonly vAlign: CellVerticalAlign;
|
|
2704
|
-
/** Resolved per-side margins (tcMar over tblCellMar over
|
|
2733
|
+
/** Resolved per-side margins (tcMar over tblCellMar over the table style over Word's default). */
|
|
2705
2734
|
readonly margins: CellMarginsPt;
|
|
2706
2735
|
/** Three-state authored `tcBorders` (omitted / none / edge). */
|
|
2707
2736
|
readonly borders: CellBorderBox;
|
|
@@ -2790,7 +2819,7 @@ interface SemanticTableStructure {
|
|
|
2790
2819
|
readonly layoutFixed: boolean;
|
|
2791
2820
|
/** Table-level `tblBorders` (three-state, including insideH/insideV). */
|
|
2792
2821
|
readonly tableBorders: TableBorderBox;
|
|
2793
|
-
/** Table-level `tblCellMar` defaults (per-side,
|
|
2822
|
+
/** Table-level `tblCellMar` defaults (per-side, Word's own default when a side is omitted). */
|
|
2794
2823
|
readonly defaultMargins: CellMarginsPt;
|
|
2795
2824
|
}
|
|
2796
2825
|
/**
|
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-NJXQABQU.js';export{a as setHarfBuzzWasmUrl}from'./chunk-WU7PUTVA.js';import'./chunk-VGFMPWND.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-IUM7FZPA.js';export{mc as MAX_SDT_NESTING,Bg as MAX_TABLE_COLUMNS,Nf as W15_NAMESPACE_URI,rc as collectFlowBlocks,qc as contentControlContentChildren,nc as isContentControl,oc as isContentControlContent,a as sha256FontBytes}from'./chunk-L6XZTLPS.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-HKfUzt_-.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-CA7qgAUF.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-HKfUzt_-.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-CA7qgAUF.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 chunkTKEGK4GQ_cjs=require('./chunk-TKEGK4GQ.cjs');require('./chunk-BXRVGHTY.cjs'),require('./chunk-5V6FNKBE.cjs'),require('./chunk-JWZG4QJ5.cjs'),require('./chunk-ILTZTY3K.cjs');Object.defineProperty(exports,"DEFAULT_FIELD_SHADING",{enumerable:true,get:function(){return chunkTKEGK4GQ_cjs.i}});Object.defineProperty(exports,"paintSelectionOverlay",{enumerable:true,get:function(){return chunkTKEGK4GQ_cjs.m}});Object.defineProperty(exports,"paintSemanticLayout",{enumerable:true,get:function(){return chunkTKEGK4GQ_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-Cc11nrDL.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-Cc11nrDL.cjs';
|
|
3
|
+
import { S as SemanticLayout } from './semantic-records-CRG1r6-a.cjs';
|
|
4
|
+
import './tree-op-types-CA7qgAUF.cjs';
|
|
6
5
|
import './contracts/types.cjs';
|
|
7
|
-
import './
|
|
8
|
-
import './
|
|
9
|
-
import './omml-equation-BD-LsmWE.cjs';
|
|
6
|
+
import './revision-projection-6u8lae9J.cjs';
|
|
7
|
+
import './omml-equation-BmV51rim.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-ofuoBsYo.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-ofuoBsYo.js';
|
|
3
|
+
import { S as SemanticLayout } from './semantic-records-CzI0ZEuR.js';
|
|
4
|
+
import './tree-op-types-HKfUzt_-.js';
|
|
6
5
|
import './contracts/types.js';
|
|
7
|
-
import './
|
|
8
|
-
import './
|
|
9
|
-
import './omml-equation-Dd3mBep-.js';
|
|
6
|
+
import './revision-projection-B2v9U3qx.js';
|
|
7
|
+
import './omml-equation-69O1Pd8G.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-MHQNR2OU.js';import'./chunk-NJXQABQU.js';import'./chunk-WU7PUTVA.js';import'./chunk-VGFMPWND.js';import'./chunk-IUM7FZPA.js';import'./chunk-L6XZTLPS.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-oJZX_5iN.js';
|
|
2
|
+
import { N as NoteKind } from './tree-store-B7hd6cEa.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,5 @@
|
|
|
1
|
-
import { H as HeaderFooterVariant } from './
|
|
2
|
-
import { N as NoteKind } from './
|
|
1
|
+
import { H as HeaderFooterVariant } from './tree-package-fragment-Cz-v-0B3.cjs';
|
|
2
|
+
import { N as NoteKind } from './tree-store-BenW0Mg_.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,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-HKfUzt_-.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,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-CA7qgAUF.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,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-CA7qgAUF.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-C-2WQdEb.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-HKfUzt_-.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-B78OsJU2.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-Utrf0lz7.d.ts → semantic-cell-selection-DsYz2Vg3.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-HKfUzt_-.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-CzI0ZEuR.js';
|
|
3
|
+
import { R as RevisionDisplayMode } from './revision-projection-B2v9U3qx.js';
|
|
4
|
+
import { S as SemanticPosition, C as CaretGeometry, a as SemanticSelection } from './semantic-interaction-C00BpIyC.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Hard ceiling on sections enumerated from a document (matches write-path
|
package/dist/{semantic-cell-selection-DT9x9WLf.d.cts → semantic-cell-selection-nEE7E3Z8.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-CA7qgAUF.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-CRG1r6-a.cjs';
|
|
3
|
+
import { R as RevisionDisplayMode } from './revision-projection-6u8lae9J.cjs';
|
|
4
|
+
import { S as SemanticPosition, C as CaretGeometry, a as SemanticSelection } from './semantic-interaction-DiOX0FIH.cjs';
|
|
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-CzI0ZEuR.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-CRG1r6-a.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-CRG1r6-a.cjs';
|
|
2
|
+
import { V as ValidatedImageBytesHandle, t as RenderableImageMime } from './tree-op-types-CA7qgAUF.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-CzI0ZEuR.js';
|
|
2
|
+
import { V as ValidatedImageBytesHandle, t as RenderableImageMime } from './tree-op-types-HKfUzt_-.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, G as DrawingAccessibility, S as SourceCrop, H as DrawingTransform, J as VectorShapeProjection, z as DrawingHorizontalReferenceFrame, A as DrawingVerticalReferenceFrame, u as ImageWrapTarget, K as DrawingProjection, L as OoxmlDrawingNode, M as TableBorderStyle, g as OoxmlElement, O as OoxmlPart } from './tree-op-types-CA7qgAUF.cjs';
|
|
2
|
+
import { a as RevisionAttribution } from './revision-projection-6u8lae9J.cjs';
|
|
3
|
+
import { O as OmmlEquationProjection } from './omml-equation-BmV51rim.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, G as DrawingAccessibility, S as SourceCrop, H as DrawingTransform, J as VectorShapeProjection, z as DrawingHorizontalReferenceFrame, A as DrawingVerticalReferenceFrame, u as ImageWrapTarget, K as DrawingProjection, L as OoxmlDrawingNode, M as TableBorderStyle, g as OoxmlElement, O as OoxmlPart } from './tree-op-types-HKfUzt_-.js';
|
|
2
|
+
import { a as RevisionAttribution } from './revision-projection-B2v9U3qx.js';
|
|
3
|
+
import { O as OmmlEquationProjection } from './omml-equation-69O1Pd8G.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-CzI0ZEuR.js';
|
|
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-CRG1r6-a.cjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* A face, as something asks for it: family plus the two axes this engine admits.
|