@docx-editor.dev/core 2.21.1 → 2.23.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/README.md +11 -5
- package/dist/automation.cjs +1 -1
- package/dist/automation.d.ts +13 -12
- package/dist/automation.js +1 -1
- package/dist/binding.cjs +1 -1
- package/dist/binding.d.ts +11 -10
- package/dist/binding.js +1 -1
- package/dist/chunk-4OAXZNBU.js +5 -0
- package/dist/chunk-6745I4XF.cjs +20 -0
- package/dist/chunk-6KA3L3FR.cjs +11 -0
- package/dist/chunk-6QS5WL63.js +1 -0
- package/dist/{chunk-E5OUYRNM.cjs → chunk-BUDXZ7T2.cjs} +5 -5
- package/dist/chunk-DYRXA5UJ.cjs +2 -0
- package/dist/chunk-DZOGUV7O.js +1 -0
- package/dist/chunk-EHT4LKKZ.cjs +1 -0
- package/dist/chunk-F5LAOPAD.js +20 -0
- package/dist/chunk-FWX535CS.cjs +1 -0
- package/dist/chunk-GRVRQBKU.js +1 -0
- package/dist/chunk-JN62FLHE.cjs +4 -0
- package/dist/{chunk-BF2TOG2V.js → chunk-KRBBWATQ.js} +1 -1
- package/dist/chunk-KV5HFE23.cjs +2 -0
- package/dist/{chunk-T5B4NMKF.cjs → chunk-PCPBDYEL.cjs} +1 -1
- package/dist/chunk-Q4RDWB3U.cjs +18 -0
- package/dist/{chunk-4TYA4RLP.cjs → chunk-QK23BSRK.cjs} +1 -1
- package/dist/chunk-QTFAXWVI.cjs +1 -0
- package/dist/chunk-RLO64PHP.cjs +1 -0
- package/dist/chunk-T7RGKBCE.cjs +5 -0
- package/dist/{chunk-FPDIJ4RF.js → chunk-UMBHUW6R.js} +1 -1
- package/dist/chunk-VE6H5EJA.js +5 -0
- package/dist/chunk-WHG23WNI.js +1 -0
- package/dist/chunk-XBYZTDF7.js +4 -0
- package/dist/chunk-XRBPZCNK.js +11 -0
- package/dist/chunk-Y5JCIWTF.js +2 -0
- package/dist/chunk-ZA6HEWUM.js +2 -0
- package/dist/chunk-ZCRSPN4Q.js +18 -0
- package/dist/collaboration/replication.cjs +1 -1
- package/dist/collaboration/replication.d.ts +6 -5
- package/dist/collaboration/replication.js +1 -1
- package/dist/collaboration.d.ts +7 -6
- package/dist/contracts/document.d.ts +4 -3
- package/dist/contracts/editor.d.ts +9 -9
- package/dist/contracts/interaction.d.ts +2 -1
- package/dist/contracts/modules.d.ts +9 -8
- package/dist/contracts/types.d.ts +1 -1
- package/dist/{custom-node-writes-CncR6KfC.d.ts → custom-node-writes-77rvPW2-.d.ts} +4 -3
- package/dist/{document-protection-DM6mA8Rf.d.ts → document-protection-CYIjO-li.d.ts} +3 -2
- package/dist/{editor-BRh7GuZF.d.ts → editor-DhUQsWWH.d.ts} +179 -52
- package/dist/editor.cjs +1 -1
- package/dist/editor.css +1 -1
- package/dist/editor.d.ts +181 -28
- package/dist/editor.js +1 -1
- package/dist/export.cjs +2 -2
- package/dist/export.d.ts +36 -18
- package/dist/export.js +2 -2
- package/dist/{failure-DNNmwsgD.d.ts → failure-BIPVQbRm.d.ts} +2 -1
- package/dist/{font-resolver-DwuQYj3P.d.ts → font-resolver-BwoHFBlr.d.ts} +3 -2
- package/dist/{headless-document-view-C3fc_jV0.d.ts → headless-document-view-Cc3fFWhv.d.ts} +4 -3
- package/dist/{image-resources-DxF-SN_8.d.ts → image-resources-DkuzBnTM.d.ts} +3 -2
- package/dist/{index-3pNnG4z4.d.ts → index-BYaCkGKO.d.ts} +179 -26
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +18 -18
- package/dist/index.js +1 -1
- package/dist/{layout-shaping-_GGjhhVc.d.ts → layout-shaping-DpWQG26a.d.ts} +7 -3
- package/dist/layout.cjs +1 -1
- package/dist/layout.d.ts +473 -64
- package/dist/layout.js +1 -1
- package/dist/{note-properties-CjT31AuP.d.ts → note-properties-DMfKK3QU.d.ts} +3 -2
- package/dist/{omml-equation-Bk3OP1fv.d.ts → omml-equation-BY7OdfGY.d.ts} +3 -2
- package/dist/output.cjs +1 -1
- package/dist/output.d.ts +9 -8
- package/dist/output.js +1 -1
- package/dist/{protocol-CrbTIW2Z.d.ts → protocol-CPAakntQ.d.ts} +4 -3
- package/dist/{review-paragraph-order-D3KZohIL.d.ts → review-paragraph-order-B0BP_wJP.d.ts} +1 -1
- package/dist/{revision-projection-kVd7p6Wd.d.ts → revision-projection-CVJeA2jp.d.ts} +3 -2
- package/dist/{semantic-cell-selection-CkSsZHDL.d.ts → semantic-cell-selection-B8GF_H2e.d.ts} +10 -6
- package/dist/{semantic-interaction-Z2Xa68U5.d.ts → semantic-interaction-DQjtIruQ.d.ts} +3 -2
- package/dist/{semantic-paint-BHKprI9P.d.ts → semantic-paint-DoPl85nR.d.ts} +4 -3
- package/dist/{semantic-records-StH-AnHK.d.ts → semantic-records-DB0VgWsr.d.ts} +1125 -1039
- package/dist/store.cjs +1 -1
- package/dist/store.d.ts +17 -16
- package/dist/store.js +1 -1
- package/dist/{tree-package-fragment-CpEV1gl3.d.ts → tree-package-fragment-BIyGh6L8.d.ts} +4 -3
- package/dist/{tree-session-contract-CTT9nM7Z.d.ts → tree-session-contract-CHcCnz3W.d.ts} +7 -6
- package/dist/{types-barrel-PwcfEkaX.d.ts → types-barrel-DN_-gaRX.d.ts} +72 -5
- package/package.json +3 -3
- package/dist/chunk-25OQBAKA.js +0 -2
- package/dist/chunk-3B3DQMSL.js +0 -11
- package/dist/chunk-3P3DNJYM.js +0 -5
- package/dist/chunk-3PA64KPK.js +0 -5
- package/dist/chunk-7N77EN2Z.cjs +0 -2
- package/dist/chunk-AGWWNVIJ.cjs +0 -1
- package/dist/chunk-DFTVN25X.cjs +0 -5
- package/dist/chunk-DGONGMAV.js +0 -2
- package/dist/chunk-DZYKU2HG.js +0 -1
- package/dist/chunk-F4H3LC6M.cjs +0 -2
- package/dist/chunk-FGBADUSK.cjs +0 -1
- package/dist/chunk-IUTTOBQW.cjs +0 -20
- package/dist/chunk-IYCXQAFT.cjs +0 -4
- package/dist/chunk-JL3SI5SZ.js +0 -18
- package/dist/chunk-OFWUHH52.js +0 -20
- package/dist/chunk-OKY6JRJL.js +0 -4
- package/dist/chunk-P24FHMQW.cjs +0 -1
- package/dist/chunk-QBKAOSVF.cjs +0 -18
- package/dist/chunk-RA2TDTEQ.cjs +0 -1
- package/dist/chunk-U5GUJKTS.js +0 -1
- package/dist/chunk-VP7SDFCM.js +0 -1
- package/dist/chunk-XRYSPKKC.js +0 -1
- package/dist/chunk-ZZRCVDQU.cjs +0 -11
package/dist/layout.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{N as DEFAULT_CANVAS_FONT_STACK,a as HARFBUZZ_SHAPING_LIBRARY,d as HarfBuzzShapingError,i as LayoutShapingConfigurationError,I as ResolvedCache,x as WORD_SEGMENTER_LOCALE,W as anchorLineY,A as boundedFallbackWordSegments,G as captureOperationSnapshot,da as cellSelectionBetween,ha as cellSelectionRects,ia as cellSelectionText,V as contentControlBoundaries,B as createBoundedFallbackWordBoundary,C as createDefaultWordBoundary,g as createHarfBuzzTextShaper,z as createIntlWordBoundary,ca as createLayoutScheduler,aa as createLayoutShapedMeasurer,p as createLayoutShaping,$ as createShapedMeasurer,r as disposeLayoutShaping,J as exportSourceRangeOf,K as forEachSemanticSpan,H as guardOperationSnapshot,e as harfBuzzFontValidator,b as initializeHarfBuzz,P as isCanvasMeasurementAvailable,v as isCumulativeGeometryTrustedFromLineOrigin,u as isGeometryTrustedCaretOffset,c as isHarfBuzzInitialized,y as isIntlWordSegmenterAvailable,t as isWholeGraphemeHorizontalBoundary,o as layoutFontConfigurationFingerprint,S as pageRefPageNumbersFromLayout,ba as pagesToMaterialize,fa as paragraphsInCells,T as planRefFieldResultRefresh,m as prepareLayoutFontConfiguration,R as resolveDefaultSurfaceMeasurer,D as resolveDefaultWordBoundary,X as reviewAnchorIndex,Y as reviewItemGeometry,f as roundFontUnitToFixedPoint,E as segmentWords,w as semanticHorizontalBoundaries,s as shapedHorizontalBoundaries,ga as spansInCells,ma as tabLeaderPattern,ja as tableContextAt,Q as tryCreateCanvasMeasurer,L as vectorShapeInkClip,F as wordSegmentsToGraphemeRecords}from'./chunk-XBYZTDF7.js';export{a as setHarfBuzzWasmUrl}from'./chunk-RIYSCEFQ.js';export{J as AUTO_PARAGRAPH_SPACING_PT,td as AUTO_PREFERRED_WIDTH,ud as CELL_PAD,D as COMPOUND_BORDER_MIN_GAP_PT,C as COMPOUND_BORDER_MIN_STROKE_PT,vd as DEFAULT_CELL_MARGINS,Ia as DEFAULT_PAGE_GEOMETRY,Ra as DEFAULT_REVISION_DISPLAY_MODE,Z as DEFAULT_RUN_STYLE,Hc as DEFAULT_SECTION_PROPERTIES,Ib as DEFAULT_TAB_INTERVAL_PT,Hb as DEFAULT_TAB_INTERVAL_TWIPS,Gd as DEFAULT_VERTICAL_WEIGHT,hd as EMPTY_NUMBERING_INDEX,Kb as EMPTY_TAB_STOPS,e as FontResolutionError,ga as GRAPHEME_SEGMENTER_LOCALE,d as HARD_MAX_AGGREGATE_FONT_BYTES,b as HARD_MAX_FONT_BYTES,c as HARD_MAX_FONT_SOURCES,I as MAX_BORDER_SPACE_PT,H as MAX_BORDER_WIDTH_PT,Gc as MAX_DOCUMENT_SECTIONS,ze as MAX_EACH_PAGE_MARK_CANDIDATES,ed as MAX_LVL_OVERRIDES,qb as MAX_LVL_TEXT_LENGTH,pb as MAX_MARKER_TEXT_LENGTH,le as MAX_NOTES_LAID_OUT,me as MAX_NOTE_FRAGMENTS,ye as MAX_NOTE_OVERFLOW_PAGES,xe as MAX_NOTE_REFLOW_ATTEMPTS,dd as MAX_NUMBERING_DEFINITIONS,G as MAX_PARAGRAPH_SPACING_PT,p as MAX_SHAPING_CONTEXT,Vb as MAX_STYLE_BASED_ON_DEPTH,bc as MAX_STYLE_DEFINITIONS,ld as MAX_TABLE_BORDER_STROKES,yd as MAX_TABLE_NESTING,Yd as MAX_TABLE_ROW_FRAGMENTS,zd as MAX_TABLE_ROW_HEIGHT_PT,Gb as MAX_TAB_POSITION_TWIPS,Fb as MAX_TAB_STOPS,Cc as PAGE_BORDER_SIDES,L as PARAGRAPH_BORDER_SIDES,K as SINGLE_LINE_SPACING,Jb as TAB_LEADER_GLYPH,Zd as TablePaginationError,qa as UnsupportedScriptError,Y as appliedSpaceBefore,P as applyLineSpacing,Ee as attachNotesToLayout,ca as baselineShiftPtOf,sd as borderExtentPt,pd as borderWeight,V as bottomBorderExtentPt,m as boundedStructuralFontValidator,fd as buildNumberingIndex,Be as buildPageRefIndex,cc as buildStyleCascadeTable,Xe as caretAt,Qd as caretBoxOnLine,Ve as caretStops,We as caretStopsForBlocks,dc as cascadeParagraphFormatting,fc as cascadeRunProperties,ec as cascadedBottomBorder,S as cascadedParagraphBorders,Lb as cascadedTabStops,rb as clampListValue,X as collapsedSpaceBefore,cf as compositionAnchor,E as computeDoubleBorderMetricsPt,De as computeFootnoteReserves,Nd as contentControlAtPoint,Ze as contentControlAtSemantic,je as contentControlHoldingParagraph,ie as contentControlRecordsInPart,_e as contentControlsInLayout,Fa as contentControlsOfLayout,be as createDocumentFurnitureSource,ee as createDocumentLinkProjectors,ce as createDocumentNotesInput,id as createDocumentStyleDependencies,fe as createFieldLinkRegistry,fa as createFixedMeasurer,n as createFontResourceSnapshot,Ge as createLayoutSession,ic as createListCounterState,fb as createParagraphLayoutCache,t as createShapedRun,q as createShapingEnvironment,se as defaultNoteSeparatorRuleStyle,Ob as defaultTabIntervalFromSettings,af as deletedTextBoundaries,zc as deriveNoteDisplayMarks,Ac as deriveNoteDisplayMarksResolved,$ as displayText,Oa as documentOrder,de as documentRelationshipTargetIn,kd as effectiveBorderSide,Ha as effectiveContentControlLock,Cb as emptyTocPlaceholderParagraphIds,Db as emptyTocSuppressedResultParagraphIds,Nc as enumerateDocumentSections,Pc as enumerateDocumentSectionsBounded,Pa as everyStoryOrder,zb as expandLvlText,Ce as filterRefsOnPage,Rd as findDrawingOverlayFrameInLayout,pe as findSeparatorNote,o as fixedPoint,i as fontRequestKey,Ba as forEachSemanticDrawing,za as forEachSemanticStory,Ca as forEachStoryParagraphFragment,sb as formatDecimal,tb as formatDecimalZero,xb as formatLowerLetter,vb as formatLowerRoman,yb as formatNumFmt,Wc as formatPageNumber,$a as formatRevisionOf,wb as formatUpperLetter,ub as formatUpperRoman,Ae as fragmentOwnsAtomOffset,Da as fragmentsOfParagraph,Qc as geometryOfSection,da as glyphSizeFactorOf,ja as graphemeBoundaryEpoch,na as graphemeCount,pa as graphemeOffsetToUtf16,Kd as hitTestPage,Ye as hitTestSemantic,Md as hitTestSheet,ia as intlGraphemeBoundary,Id as isFurniturePoint,ha as isIntlSegmenterAvailable,te as isMarkerOnlySeparatorNote,Ub as isValidStyleId,ra as itemizeScriptFontSlots,Qe as keyedRangeRects,_b as layoutEquation,ae as layoutHeaderFooterStory,re as layoutNoteById,ue as layoutNoteSeparator,qe as layoutNoteStory,He as layoutSemanticDocument,Ea as lineAtPosition,Od as lineEndOffset,Ja as lineSegments,wa as linesOf,nc as listMarkerBox,a as mapSymbolPuaText,Za as markRevisionRemovesMark,aa as measureDisplayText,rc as mergeListIndent,bf as moveCaret,Pb as nextTabDestination,oe as normalNotesOf,Bc as noteDisplayMarkMap,ne as noteLineIdPrefix,ad as noteMarkKey,we as noteSeparatorAreaBox,ke as noteSeparatorRuleBox,yc as noteStoryBlocks,Hd as pageAtY,he as pageBorderFrame,Ec as pageBordersFingerprint,U as paragraphBorderExtentPt,T as paragraphBorderStrokeWidthPt,R as paragraphBorders,W as paragraphBordersFingerprint,F as paragraphBreaksBefore,Q as paragraphContextualSpacing,ua as paragraphFragmentsOf,va as paragraphFragmentsOfBlocks,eb as paragraphLayoutKey,O as paragraphLineSpacing,jc as paragraphMarkDeleted,Xa as paragraphMarkFormatRevisionOf,_a as paragraphMarkRevisionOf,Wa as paragraphMarkRevisionsOf,Lc as paragraphSectionNode,y as paragraphShading,z as paragraphShadingBox,N as paragraphSpacing,Mb as paragraphTabStops,$e as paragraphTextFromLayout,Ab as parseAutonumInstruction,Dc as parsePageBorders,Ic as parsePageNumbering,ob as parseRefInstruction,Jc as parseSectionProperties,Ke as positionPastDeletion,bd as projectedNoteMarkText,Oc as projectedSectionSourceIndexes,Fe as provisionalNoteMarks,md as readBorderSide,od as readCellBorders,pc as readNumPr,Mc as readSectionProperties,nd as readTableBorders,Ad as readTableStructure,ma as resetGraphemeBoundary,qd as resolveBorderConflict,gd as resolveNumberingLevel,w as resolveOoxmlShadingFill,gc as resolveParagraphLayoutInputs,_ as resolveRunStyle,tc as resolveStoryListItems,Tc as resolveStoryRefFields,v as resolveStrictHexFill,rd as resolveTableCellBorderGrid,Ua as revisionAuthorFilter,lc as revisionRemovesParagraph,ab as revisionsAreDeletion,Va as revisionsVisible,Tb as runBorderStrokesForLine,ba as runStylesEqual,ka as segmentGraphemes,Oe as selectionRects,la as setGraphemeBoundary,x as shadingFillFromElement,u as shapedRunComparatorInputs,s as shapingEnvironmentFingerprint,r as shapingEnvironmentFingerprintInputs,Ya as shownMarkRevision,Pd as spanOffsetX,df as spansInSelection,xc as storyBlocks,sa as styleForFontSlot,ve as syntheticSeparatorBox,Qb as tabAdvanceWidth,Rb as tabStopsFingerprint,xd as tableOriginX,Bb as tocFieldChromeParagraphIds,Ga as unionLayoutBoxes,oa as utf16OffsetToGrapheme,sc as walkStoryParagraphs,Nb as withDefaultTabInterval,qc as withNumberingStyleLinks,uc as withResolvedListItems,Le as wordBoundary}from'./chunk-ZCRSPN4Q.js';import'./chunk-6QS5WL63.js';export{ra as activeReviewItem,ta as commentBodyText,ua as commentInitials,oa as firstReviewRange,ma as reviewItemKey,pa as reviewItemPositionRank,na as reviewItemRanges,qa as reviewItemsAt,sa as reviewThreadRootOf}from'./chunk-VE6H5EJA.js';export{qc as MAX_SDT_NESTING,ei as MAX_TABLE_COLUMNS,Zg as W15_NAMESPACE_URI,vc as collectFlowBlocks,uc as contentControlContentChildren,rc as isContentControl,sc as isContentControlContent,Ii as paragraphOrderOfPart,a as sha256FontBytes}from'./chunk-XRBPZCNK.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as OoxmlPart,
|
|
1
|
+
import { O as OoxmlPart, N as OoxmlNode, Q as OoxmlPackage } from './types-barrel-DN_-gaRX.js';
|
|
2
2
|
|
|
3
3
|
/** `w:pos` — where a section's footnotes are laid out. */
|
|
4
4
|
type FootnotePosition = 'pageBottom' | 'beneathText' | 'sectEnd' | 'docEnd';
|
|
@@ -64,4 +64,5 @@ declare function isLegalFootnotePosition(pos: string): pos is FootnotePosition;
|
|
|
64
64
|
/** Whether a file-supplied string is a legal `w:numRestart` value. Narrows the type. */
|
|
65
65
|
declare function isLegalNumRestart(value: string): value is NoteNumRestart;
|
|
66
66
|
|
|
67
|
-
export {
|
|
67
|
+
export { DEFAULT_ENDNOTE_PROPERTIES as D, DEFAULT_FOOTNOTE_PROPERTIES as a, authoredDocumentEndnoteProperties as c, authoredDocumentFootnoteProperties as d, authoredEndnotePropertiesFromSectPr as e, authoredFootnotePropertiesFromSectPr as f, isLegalFootnotePosition as g, isLegalNumRestart as h, isLegalEndnotePosition as i, resolveFootnoteProperties as j, parseAuthoredNoteProperties as p, resolveEndnoteProperties as r, settingsPartOf as s };
|
|
68
|
+
export type { AuthoredNoteProperties as A, EndnotePosition as E, FootnotePosition as F, NoteNumRestart as N, ResolvedEndnoteProperties as R, ResolvedFootnoteProperties as b };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { U as OoxmlNodeId, V as OoxmlGenericElementNode,
|
|
1
|
+
import { U as OoxmlNodeId, V as OoxmlGenericElementNode, N as OoxmlNode } from './types-barrel-DN_-gaRX.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";
|
|
@@ -81,4 +81,5 @@ type NextNodeId = () => string;
|
|
|
81
81
|
/** Parse compact linear math and generate fresh canonical OMML in one bounded operation. */
|
|
82
82
|
declare function linearMathToOmml(input: string, nextId: NextNodeId, limits?: OmmlLimits): LinearMathOmmlResult;
|
|
83
83
|
|
|
84
|
-
export { DEFAULT_OMML_LIMITS as D,
|
|
84
|
+
export { DEFAULT_OMML_LIMITS as D, OFFICE_MATH_NAMESPACE_URI as c, equationExpressionToLinearMath as e, projectOmmlEquation as f, linearMathToOmml as l, parseLinearMath as p };
|
|
85
|
+
export type { EquationExpression as E, LinearMathOmmlResult as L, OmmlEquationProjection as O, LinearMathParseResult as a, LinearMathRejection as b, OmmlLimits as d };
|
package/dist/output.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkDYRXA5UJ_cjs=require('./chunk-DYRXA5UJ.cjs');require('./chunk-JN62FLHE.cjs'),require('./chunk-Q4RDWB3U.cjs'),require('./chunk-EHT4LKKZ.cjs'),require('./chunk-T7RGKBCE.cjs'),require('./chunk-6KA3L3FR.cjs');Object.defineProperty(exports,"DEFAULT_FIELD_SHADING",{enumerable:true,get:function(){return chunkDYRXA5UJ_cjs.j}});Object.defineProperty(exports,"paintSelectionOverlay",{enumerable:true,get:function(){return chunkDYRXA5UJ_cjs.o}});Object.defineProperty(exports,"paintSemanticLayout",{enumerable:true,get:function(){return chunkDYRXA5UJ_cjs.m}});
|
package/dist/output.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
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 './image-resources-
|
|
5
|
-
import './types-barrel-
|
|
1
|
+
import { R as ReviewAuthorInfo } from './semantic-paint-DoPl85nR.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-DoPl85nR.js';
|
|
3
|
+
import { S as SemanticLayout } from './semantic-records-DB0VgWsr.js';
|
|
4
|
+
import './image-resources-DkuzBnTM.js';
|
|
5
|
+
import './types-barrel-DN_-gaRX.js';
|
|
6
6
|
import './editor-scope-OHPwVQ5l.js';
|
|
7
|
-
import './revision-projection-
|
|
8
|
-
import './omml-equation-
|
|
7
|
+
import './revision-projection-CVJeA2jp.js';
|
|
8
|
+
import './omml-equation-BY7OdfGY.js';
|
|
9
9
|
|
|
10
10
|
/** A rectangle in page-content coordinates, on a named page. */
|
|
11
11
|
interface OverlayRect {
|
|
@@ -82,4 +82,5 @@ interface SelectionOverlayOptions {
|
|
|
82
82
|
*/
|
|
83
83
|
declare function paintSelectionOverlay(layer: HTMLElement, layout: SemanticLayout, rects: readonly OverlayRect[], options: SelectionOverlayOptions): void;
|
|
84
84
|
|
|
85
|
-
export {
|
|
85
|
+
export { ReviewAuthorInfo, paintSelectionOverlay };
|
|
86
|
+
export type { OverlayRect, SelectionOverlayOptions };
|
package/dist/output.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{j as DEFAULT_FIELD_SHADING,o as paintSelectionOverlay,m as paintSemanticLayout}from'./chunk-
|
|
1
|
+
export{j as DEFAULT_FIELD_SHADING,o as paintSelectionOverlay,m as paintSemanticLayout}from'./chunk-Y5JCIWTF.js';import'./chunk-XBYZTDF7.js';import'./chunk-RIYSCEFQ.js';import'./chunk-ZCRSPN4Q.js';import'./chunk-6QS5WL63.js';import'./chunk-VE6H5EJA.js';import'./chunk-XRBPZCNK.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a6 as AutomationTableMutation, _ as RevisionBatchResult } from './types-barrel-
|
|
2
|
-
import { H as HeaderFooterVariant, N as NoteKind } from './tree-package-fragment-
|
|
1
|
+
import { a6 as AutomationTableMutation, _ as RevisionBatchResult } from './types-barrel-DN_-gaRX.js';
|
|
2
|
+
import { H as HeaderFooterVariant, N as NoteKind } from './tree-package-fragment-BIyGh6L8.js';
|
|
3
3
|
|
|
4
4
|
interface AutomationInlinePictureRead {
|
|
5
5
|
readonly width: number;
|
|
@@ -1558,4 +1558,5 @@ interface AutomationHost {
|
|
|
1558
1558
|
dispose(): void;
|
|
1559
1559
|
}
|
|
1560
1560
|
|
|
1561
|
-
export {
|
|
1561
|
+
export { isAutomationCommand as N, isSolitaryAutomationCommand as O, AUTOMATION_COMMAND_OPERATIONS as b, AUTOMATION_QUERY_OPERATIONS as c, AUTOMATION_SOLITARY_OPERATIONS as d };
|
|
1562
|
+
export type { AutomationCapabilities as A, AutomationParagraphFormatRead as B, AutomationParagraphFormatWrite as C, AutomationParagraphRef as D, AutomationPoint as E, AutomationSaveResult as F, AutomationSearchOptions as G, AutomationSelectionMode as H, AutomationSpan as I, AutomationSpanRef as J, AutomationTextProjection as K, AutomationUnsubscribe as L, AutomationValue as M, AutomationHost as a, AutomationAlignment as e, AutomationBatchRequest as f, AutomationBatchResponse as g, AutomationChangeEvent as h, AutomationContentControlLock as i, AutomationContentControlRangeLocation as j, AutomationContentControlScope as k, AutomationContentControlSubtype as l, AutomationContentControlValue as m, AutomationError as n, AutomationErrorCode as o, AutomationFontRead as p, AutomationFontWrite as q, AutomationHandle as r, AutomationHandleRef as s, AutomationObjectKind as t, AutomationOperation as u, AutomationOperationKind as v, AutomationOperationResult as w, AutomationPageOrientation as x, AutomationPageSetupRead as y, AutomationPageSetupWrite as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { N as OoxmlNode, a1 as OoxmlElement, a2 as OoxmlContentControlNode, V as OoxmlGenericElementNode, a3 as OoxmlContentControlContentNode, C as CommentRecord, O as OoxmlPart } from './types-barrel-DN_-gaRX.js';
|
|
2
2
|
|
|
3
3
|
/** Nested content-control wrappers deeper than this stop flattening; content stays preserved. */
|
|
4
4
|
declare const MAX_CONTENT_CONTROL_NESTING = 32;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { N as OoxmlNode } from './types-barrel-DN_-gaRX.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* What a revision wrapper asserts about the content inside it.
|
|
@@ -167,4 +167,5 @@ declare function formatRevisionOf(properties: readonly {
|
|
|
167
167
|
/** True when this stack of revisions marks its content as deleted from the live document. */
|
|
168
168
|
declare function revisionsAreDeletion(revisions: readonly RevisionAttribution[]): boolean;
|
|
169
169
|
|
|
170
|
-
export { DEFAULT_REVISION_DISPLAY_MODE as D,
|
|
170
|
+
export { DEFAULT_REVISION_DISPLAY_MODE as D, formatRevisionOf as f, paragraphMarkRevisionOf as g, paragraphMarkRevisionsOf as h, revisionsAreDeletion as i, revisionsVisible as j, markRevisionRemovesMark as m, paragraphMarkFormatRevisionOf as p, revisionAuthorFilter as r, shownMarkRevision as s };
|
|
171
|
+
export type { ReviewDisplayMode as R, RevisionDisplayMode as a, RevisionAuthorFilter as b, RevisionAttribution as c, RevisionFilter as d, RevisionKind as e };
|
package/dist/{semantic-cell-selection-CkSsZHDL.d.ts → semantic-cell-selection-B8GF_H2e.d.ts}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { O as OoxmlPart, a1 as OoxmlElement,
|
|
2
|
-
import { a as RevisionDisplayMode, b as RevisionAuthorFilter } from './revision-projection-
|
|
3
|
-
import { b as SectionPageBorders, P as PageGeometry, I as InlineDrawingRecord, A as AnchoredDrawingRecord, T as TextMeasurer, L as LineRecord, a as StyleSpanRecord, S as SemanticLayout, C as ContentControlBoundaryRecord, c as TableRowFragmentRecord, d as TableCellFragmentRecord } from './semantic-records-
|
|
4
|
-
import { S as SemanticPosition, C as CaretGeometry, a as SemanticSelection } from './semantic-interaction-
|
|
1
|
+
import { O as OoxmlPart, a1 as OoxmlElement, N as OoxmlNode } from './types-barrel-DN_-gaRX.js';
|
|
2
|
+
import { a as RevisionDisplayMode, b as RevisionAuthorFilter } from './revision-projection-CVJeA2jp.js';
|
|
3
|
+
import { b as SectionPageBorders, P as PageGeometry, I as InlineDrawingRecord, A as AnchoredDrawingRecord, T as TextMeasurer, L as LineRecord, a as StyleSpanRecord, S as SemanticLayout, C as ContentControlBoundaryRecord, c as TableRowFragmentRecord, d as TableCellFragmentRecord } from './semantic-records-DB0VgWsr.js';
|
|
4
|
+
import { S as SemanticPosition, C as CaretGeometry, a as SemanticSelection } from './semantic-interaction-DQjtIruQ.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Hard ceiling on sections enumerated from a document (matches write-path
|
|
@@ -79,7 +79,7 @@ interface SectionPageNumbering {
|
|
|
79
79
|
* inherited.
|
|
80
80
|
*/
|
|
81
81
|
interface SectionProperties {
|
|
82
|
-
/** Active document grid line pitch
|
|
82
|
+
/** Active document grid line pitch: line-unit paragraph margins and line snapping. */
|
|
83
83
|
readonly gridLinePitchTwips?: number;
|
|
84
84
|
readonly pageSize: {
|
|
85
85
|
readonly widthTwips: number;
|
|
@@ -184,6 +184,9 @@ declare function enumerateDocumentSectionsBounded(part: OoxmlPart, displayMode?:
|
|
|
184
184
|
*
|
|
185
185
|
* The gutter is added to the LEFT margin: it is binding allowance, extra space on the inner
|
|
186
186
|
* edge, and folding it into the content width instead would silently narrow every line.
|
|
187
|
+
*
|
|
188
|
+
* Top and bottom keep the authored sign of `w:pgMar`: a negative value is an exact inset that
|
|
189
|
+
* header and footer height never moves. Read them through `page-body-margins.ts`.
|
|
187
190
|
*/
|
|
188
191
|
declare function geometryOfSection(section: SectionProperties): PageGeometry;
|
|
189
192
|
|
|
@@ -437,4 +440,5 @@ interface TableCellContext {
|
|
|
437
440
|
*/
|
|
438
441
|
declare function tableContextAt(layout: SemanticLayout, paragraphId: string): TableCellContext | null;
|
|
439
442
|
|
|
440
|
-
export { pageAtY as A, paragraphSectionNode as B,
|
|
443
|
+
export { pageAtY as A, paragraphSectionNode as B, DEFAULT_SECTION_PROPERTIES as D, paragraphsInCells as E, parsePageNumbering as F, parseSectionProperties as G, projectedSectionSourceIndexes as I, readSectionProperties as J, spanOffsetX as K, spansInCells as L, MAX_DOCUMENT_SECTIONS as M, tableContextAt as N, DEFAULT_VERTICAL_WEIGHT as b, caretBoxOnLine as n, cellSelectionBetween as o, cellSelectionRects as p, cellSelectionText as q, contentControlAtPoint as r, enumerateDocumentSections as s, enumerateDocumentSectionsBounded as t, findDrawingOverlayFrameInLayout as u, geometryOfSection as v, hitTestPage as w, hitTestSheet as x, isFurniturePoint as y, lineEndOffset as z };
|
|
444
|
+
export type { CellSelection as C, HitPoint as H, PlacedCell as P, SectionProperties as S, TableCellAddress as T, SectionColumns as a, DocumentSection as c, DocumentSectionsEnumeration as d, DrawingOverlayFrame as e, HitTestOptions as f, SectionBreakType as g, SectionColumnDefinition as h, SectionMargins as i, SectionPageNumbering as j, SemanticHit as k, SemanticHitDrawing as l, TableCellContext as m };
|
|
@@ -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-DB0VgWsr.js';
|
|
2
2
|
|
|
3
3
|
/** A caret position in the model. */
|
|
4
4
|
interface SemanticPosition {
|
|
@@ -140,4 +140,5 @@ declare function spansInSelection(layout: SemanticLayout, selection: SemanticSel
|
|
|
140
140
|
*/
|
|
141
141
|
order: readonly string[]): StyleSpanRecord[];
|
|
142
142
|
|
|
143
|
-
export {
|
|
143
|
+
export { caretAt as d, caretStops as e, caretStopsForBlocks as f, compositionAnchor as g, contentControlAtSemantic as h, contentControlsInLayout as i, deletedTextBoundaries as j, hitTestSemantic as k, moveCaret as m, paragraphTextFromLayout as p, spansInSelection as s };
|
|
144
|
+
export type { CaretGeometry as C, MoveCaretOptions as M, NavigationCommand as N, SemanticPosition as S, SemanticSelection as a, SelectionRect as b, CaretAtOptions as c };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as ContentControlBoundaryRecord, S as SemanticLayout } from './semantic-records-
|
|
2
|
-
import { V as ValidatedImageBytesHandle, R as RenderableImageMime } from './image-resources-
|
|
1
|
+
import { C as ContentControlBoundaryRecord, S as SemanticLayout } from './semantic-records-DB0VgWsr.js';
|
|
2
|
+
import { V as ValidatedImageBytesHandle, R as RenderableImageMime } from './image-resources-DkuzBnTM.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Everything a host can say about ONE author's presentation. Every field is optional and
|
|
@@ -270,4 +270,5 @@ interface PaintOptions {
|
|
|
270
270
|
*/
|
|
271
271
|
declare function paintSemanticLayout(container: HTMLElement, layout: SemanticLayout, options?: PaintOptions): void;
|
|
272
272
|
|
|
273
|
-
export { DEFAULT_FIELD_SHADING as D,
|
|
273
|
+
export { DEFAULT_FIELD_SHADING as D, paintSemanticLayout as p };
|
|
274
|
+
export type { FieldShadingMode as F, PaintOptions as P, ReviewAuthorInfo as R, RevisionAuthorAssignments as a, RevisionAuthorStyle as b, RevisionStyles as c, DrawingPaintStrings as d };
|