@eigenpal/docx-editor-core 1.5.0 → 1.6.1
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/agent/index.d.mts +4 -4
- package/dist/agent/index.d.ts +4 -4
- package/dist/agent/index.js +1 -1
- package/dist/agent/index.mjs +1 -1
- package/dist/chunk-3HLRRK6N.mjs +2 -0
- package/dist/{chunk-COV4LHQ7.js → chunk-4272FQ2E.js} +1 -1
- package/dist/chunk-47SKD7QB.mjs +4 -0
- package/dist/chunk-4DCTKHS5.js +1 -0
- package/dist/{chunk-3SJQRYO7.js → chunk-4HNEXEGS.js} +1 -1
- package/dist/chunk-4U2S3WV2.js +1 -0
- package/dist/{chunk-3HENAL6V.mjs → chunk-5EP47PMQ.mjs} +1 -1
- package/dist/{chunk-T4O4PFJD.mjs → chunk-6ENZQGYR.mjs} +1 -1
- package/dist/chunk-7EU6E64E.mjs +1 -0
- package/dist/chunk-A7C3DGQA.mjs +1 -0
- package/dist/chunk-B6FA4MJ5.mjs +1 -0
- package/dist/chunk-BJSG6TEG.js +1 -0
- package/dist/chunk-BMP2OSXE.js +1 -0
- package/dist/{chunk-NPFFCPZ6.js → chunk-DEQFU56O.js} +1 -1
- package/dist/chunk-DFDL337G.js +4 -0
- package/dist/chunk-DKUHG27E.js +1 -0
- package/dist/{chunk-WWVIVYX6.mjs → chunk-DU5TWD2W.mjs} +1 -1
- package/dist/chunk-DUVSDFRG.js +2 -0
- package/dist/{chunk-TV6JLFY5.js → chunk-DUXHJ6QP.js} +1 -1
- package/dist/{chunk-TE2AF7FM.js → chunk-FETIBXTH.js} +1 -1
- package/dist/chunk-GLPOVLZD.mjs +1 -0
- package/dist/{chunk-M7KTKPGO.mjs → chunk-HEJJXAXN.mjs} +1 -1
- package/dist/chunk-HQ76VZAN.mjs +1 -0
- package/dist/{chunk-WYFK4QOF.mjs → chunk-ICNIAAH7.mjs} +1 -1
- package/dist/{chunk-5WINQXA3.js → chunk-ILPNMG7Q.js} +1 -1
- package/dist/{chunk-TDYWEVAE.js → chunk-K7NSOCSY.js} +1 -1
- package/dist/{chunk-6KM4VW4L.js → chunk-KEDY4GFG.js} +3 -3
- package/dist/chunk-KNY7SXPJ.mjs +1 -0
- package/dist/{chunk-SKBHY5MK.mjs → chunk-KPWWI5UW.mjs} +1 -1
- package/dist/chunk-LVUL7O27.js +1 -0
- package/dist/{chunk-O2643IUW.js → chunk-LW5OFHSW.js} +2 -2
- package/dist/chunk-MWOHCSZE.js +1 -0
- package/dist/chunk-NKIDBERV.js +1 -0
- package/dist/chunk-NN2EJIO7.mjs +1 -0
- package/dist/{chunk-QUM4DFRE.mjs → chunk-O4RCQNUW.mjs} +1 -1
- package/dist/chunk-O5L4BZCZ.mjs +1 -0
- package/dist/chunk-OSTMAXZZ.mjs +1 -0
- package/dist/{chunk-PYDX4MOT.mjs → chunk-OWGY46IW.mjs} +1 -1
- package/dist/chunk-PGWY6UFK.js +1 -0
- package/dist/chunk-PJEB3ZWG.mjs +3 -0
- package/dist/{chunk-GB7RICH6.js → chunk-PM4KDJJ2.js} +1 -1
- package/dist/chunk-Q2VALXEU.js +3 -0
- package/dist/chunk-QCPISGPW.mjs +1 -0
- package/dist/{chunk-CBKJOPOW.mjs → chunk-QRBFMR7Z.mjs} +1 -1
- package/dist/chunk-RRJKF2XI.mjs +1 -0
- package/dist/chunk-SHZOAUHB.mjs +1 -0
- package/dist/chunk-TT3ILFZC.js +1 -0
- package/dist/chunk-TXAB4I4M.mjs +2 -0
- package/dist/chunk-UC7JW66O.mjs +1 -0
- package/dist/chunk-VMBCUUZM.mjs +1 -0
- package/dist/chunk-WTIN6QHX.js +1 -0
- package/dist/{chunk-P7HWOJC5.js → chunk-WVY2UXAK.js} +1 -1
- package/dist/chunk-XCTYXYEU.js +1 -0
- package/dist/{chunk-WXSGCEBZ.js → chunk-XCXQWCV2.js} +1 -1
- package/dist/{chunk-M3UL6EUU.mjs → chunk-YSBX4LFA.mjs} +2 -2
- package/dist/chunk-YUHOVME2.js +1 -0
- package/dist/{content-BlWiORm-.d.mts → content-BEFz1zcs.d.mts} +2 -2
- package/dist/{content-eG_Rtl0l.d.ts → content-DNcMlHU0.d.ts} +2 -2
- package/dist/{contentControlValues-CO7pUqOf.d.ts → contentControlValues-2pV4M4kG.d.ts} +1 -1
- package/dist/{contentControlValues-DfYN9BZ8.d.mts → contentControlValues-CKWIIkkr.d.mts} +1 -1
- package/dist/core-plugins.d.mts +2 -2
- package/dist/core-plugins.d.ts +2 -2
- package/dist/core-plugins.js +1 -1
- package/dist/core-plugins.mjs +1 -1
- package/dist/core.d.mts +7 -7
- package/dist/core.d.ts +7 -7
- package/dist/core.js +1 -1
- package/dist/core.mjs +1 -1
- package/dist/docx/index.d.mts +2 -2
- package/dist/docx/index.d.ts +2 -2
- package/dist/docx/index.js +1 -1
- package/dist/docx/index.mjs +1 -1
- package/dist/docx/parser.d.mts +2 -2
- package/dist/docx/parser.d.ts +2 -2
- package/dist/docx/parser.js +1 -1
- package/dist/docx/parser.mjs +1 -1
- package/dist/docx/rezip.d.mts +2 -2
- package/dist/docx/rezip.d.ts +2 -2
- package/dist/docx/serializer/index.d.mts +3 -3
- package/dist/docx/serializer/index.d.ts +3 -3
- package/dist/editor/index.d.mts +2 -2
- package/dist/editor/index.d.ts +2 -2
- package/dist/editor/index.js +1 -1
- package/dist/editor/index.mjs +1 -1
- package/dist/executor-FHL5D4CB.js +1 -0
- package/dist/executor-FL6XGVP3.mjs +1 -0
- package/dist/{fontLoader-C6VvBUVB.d.ts → fontLoader-CH12AtFF.d.ts} +1 -1
- package/dist/{fontLoader-3MFD_Hj2.d.mts → fontLoader-D3X2Qgb_.d.mts} +1 -1
- package/dist/{headerFooterLayout-bdHWlU6g.d.ts → headerFooterLayout-BdGTU0IA.d.ts} +31 -16
- package/dist/{headerFooterLayout-DJb-dV7X.d.mts → headerFooterLayout-D5-u-IsD.d.mts} +31 -16
- package/dist/headless.d.mts +5 -5
- package/dist/headless.d.ts +5 -5
- package/dist/headless.js +1 -1
- package/dist/headless.mjs +1 -1
- package/dist/layout-bridge/clickToPositionDom.js +1 -1
- package/dist/layout-bridge/clickToPositionDom.mjs +1 -1
- package/dist/layout-bridge/index.d.mts +67 -5
- package/dist/layout-bridge/index.d.ts +67 -5
- package/dist/layout-bridge/index.js +1 -1
- package/dist/layout-bridge/index.mjs +1 -1
- package/dist/layout-bridge/measuring/index.d.mts +2 -2
- package/dist/layout-bridge/measuring/index.d.ts +2 -2
- package/dist/layout-bridge/measuring/index.js +1 -1
- package/dist/layout-bridge/measuring/index.mjs +1 -1
- package/dist/layout-bridge/tableInsertHover.js +1 -1
- package/dist/layout-bridge/tableInsertHover.mjs +1 -1
- package/dist/layout-bridge/toFlowBlocks.d.mts +2 -2
- package/dist/layout-bridge/toFlowBlocks.d.ts +2 -2
- package/dist/layout-bridge/toFlowBlocks.js +1 -1
- package/dist/layout-bridge/toFlowBlocks.mjs +1 -1
- package/dist/layout-engine/index.d.mts +2 -2
- package/dist/layout-engine/index.d.ts +2 -2
- package/dist/layout-engine/index.js +1 -1
- package/dist/layout-engine/index.mjs +1 -1
- package/dist/layout-engine/types.d.mts +2 -2
- package/dist/layout-engine/types.d.ts +2 -2
- package/dist/layout-painter/index.d.mts +3 -3
- package/dist/layout-painter/index.d.ts +3 -3
- package/dist/layout-painter/index.js +1 -1
- package/dist/layout-painter/index.mjs +1 -1
- package/dist/layout-painter/renderPage.d.mts +3 -3
- package/dist/layout-painter/renderPage.d.ts +3 -3
- package/dist/layout-painter/renderPage.js +1 -1
- package/dist/layout-painter/renderPage.mjs +1 -1
- package/dist/managers/AutoSaveManager.d.mts +2 -2
- package/dist/managers/AutoSaveManager.d.ts +2 -2
- package/dist/managers/TableSelectionManager.d.mts +2 -2
- package/dist/managers/TableSelectionManager.d.ts +2 -2
- package/dist/managers/types.d.mts +2 -2
- package/dist/managers/types.d.ts +2 -2
- package/dist/mcp-cli.mjs +22 -22
- package/dist/mcp.d.mts +2 -2
- package/dist/mcp.d.ts +2 -2
- package/dist/mcp.js +7 -7
- package/dist/mcp.mjs +1 -1
- package/dist/{nodes-RfTS-NSv.d.mts → nodes-5w_QaI3g.d.mts} +13 -1
- package/dist/{nodes-BJef4KFW.d.ts → nodes-qQdZtu3Z.d.ts} +13 -1
- package/dist/prosemirror/applyFormatting.d.mts +34 -4
- package/dist/prosemirror/applyFormatting.d.ts +34 -4
- package/dist/prosemirror/applyFormatting.js +1 -1
- package/dist/prosemirror/applyFormatting.mjs +1 -1
- package/dist/prosemirror/commands/formatting.js +1 -1
- package/dist/prosemirror/commands/formatting.mjs +1 -1
- package/dist/prosemirror/commands/index.d.mts +2 -1
- package/dist/prosemirror/commands/index.d.ts +2 -1
- package/dist/prosemirror/commands/index.js +1 -1
- package/dist/prosemirror/commands/index.mjs +1 -1
- package/dist/prosemirror/commands/paragraph.js +1 -1
- package/dist/prosemirror/commands/paragraph.mjs +1 -1
- package/dist/prosemirror/commands/sectionBreak.d.mts +25 -0
- package/dist/prosemirror/commands/sectionBreak.d.ts +25 -0
- package/dist/prosemirror/commands/sectionBreak.js +1 -0
- package/dist/prosemirror/commands/sectionBreak.mjs +1 -0
- package/dist/prosemirror/commentIdAllocator.d.mts +2 -2
- package/dist/prosemirror/commentIdAllocator.d.ts +2 -2
- package/dist/prosemirror/commentOps.d.mts +2 -2
- package/dist/prosemirror/commentOps.d.ts +2 -2
- package/dist/prosemirror/conversion/fromProseDoc.d.mts +2 -2
- package/dist/prosemirror/conversion/fromProseDoc.d.ts +2 -2
- package/dist/prosemirror/conversion/fromProseDoc.js +1 -1
- package/dist/prosemirror/conversion/fromProseDoc.mjs +1 -1
- package/dist/prosemirror/conversion/index.d.mts +2 -2
- package/dist/prosemirror/conversion/index.d.ts +2 -2
- package/dist/prosemirror/conversion/index.js +1 -1
- package/dist/prosemirror/conversion/index.mjs +1 -1
- package/dist/prosemirror/extensions/index.js +1 -1
- package/dist/prosemirror/extensions/index.mjs +1 -1
- package/dist/prosemirror/index.d.mts +4 -4
- package/dist/prosemirror/index.d.ts +4 -4
- package/dist/prosemirror/index.js +2 -2
- package/dist/prosemirror/index.mjs +2 -2
- package/dist/prosemirror/plugins/index.d.mts +2 -2
- package/dist/prosemirror/plugins/index.d.ts +2 -2
- package/dist/prosemirror/plugins/index.js +1 -1
- package/dist/prosemirror/plugins/index.mjs +1 -1
- package/dist/prosemirror/queries.d.mts +2 -2
- package/dist/prosemirror/queries.d.ts +2 -2
- package/dist/prosemirror/schema/index.d.mts +3 -3
- package/dist/prosemirror/schema/index.d.ts +3 -3
- package/dist/prosemirror/schema/index.js +1 -1
- package/dist/prosemirror/schema/index.mjs +1 -1
- package/dist/prosemirror/utils/extractTrackedChanges.d.mts +2 -2
- package/dist/prosemirror/utils/extractTrackedChanges.d.ts +2 -2
- package/dist/{sectionPropertiesSerializer-S8J1V9mb.d.ts → sectionPropertiesSerializer-BJSNK-Wl.d.ts} +1 -1
- package/dist/{sectionPropertiesSerializer-C8XCmzE4.d.mts → sectionPropertiesSerializer-DI3OIQ1j.d.mts} +1 -1
- package/dist/types/content.d.mts +2 -2
- package/dist/types/content.d.ts +2 -2
- package/dist/types/content.js +1 -1
- package/dist/types/content.mjs +1 -1
- package/dist/types/document.d.mts +3 -3
- package/dist/types/document.d.ts +3 -3
- package/dist/types/document.js +1 -1
- package/dist/types/document.mjs +1 -1
- package/dist/utils/cardStyles.js +1 -1
- package/dist/utils/cardStyles.mjs +1 -1
- package/dist/utils/comments.d.mts +2 -2
- package/dist/utils/comments.d.ts +2 -2
- package/dist/utils/index.d.mts +37 -4
- package/dist/utils/index.d.ts +37 -4
- package/dist/utils/index.js +3 -3
- package/dist/utils/index.mjs +3 -3
- package/dist/utils/stylePreview.d.mts +83 -0
- package/dist/utils/stylePreview.d.ts +83 -0
- package/dist/utils/stylePreview.js +1 -0
- package/dist/utils/stylePreview.mjs +1 -0
- package/dist/utils/units.d.mts +7 -1
- package/dist/utils/units.d.ts +7 -1
- package/dist/utils/units.js +1 -1
- package/dist/utils/units.mjs +1 -1
- package/dist/{variableDetector-CN9_pUR_.d.mts → variableDetector-7xBsshP0.d.mts} +1 -1
- package/dist/{variableDetector-o4Rb2Csy.d.ts → variableDetector-Bv5Tm0D-.d.ts} +1 -1
- package/dist/{watermark-DAcnAs_J.d.mts → watermark-D90356ZM.d.mts} +7 -1
- package/dist/{watermark-DAcnAs_J.d.ts → watermark-D90356ZM.d.ts} +7 -1
- package/package.json +17 -1
- package/dist/chunk-4Q2IP5FW.js +0 -1
- package/dist/chunk-4RQAAKQI.mjs +0 -1
- package/dist/chunk-5HA66FH4.mjs +0 -1
- package/dist/chunk-7OW3VCZE.mjs +0 -1
- package/dist/chunk-AA6D2C6R.js +0 -4
- package/dist/chunk-AMJNIGO2.mjs +0 -2
- package/dist/chunk-BHBOAP6Z.js +0 -3
- package/dist/chunk-BTSL4AYY.js +0 -1
- package/dist/chunk-C45EFOVP.js +0 -1
- package/dist/chunk-CUY2THAO.mjs +0 -1
- package/dist/chunk-DKKTY56Q.js +0 -1
- package/dist/chunk-DZ3FN3JI.js +0 -2
- package/dist/chunk-ENIWJBS7.mjs +0 -2
- package/dist/chunk-EZNVVB63.mjs +0 -1
- package/dist/chunk-GKAXYZCE.mjs +0 -1
- package/dist/chunk-IGYHDSM7.mjs +0 -1
- package/dist/chunk-L6ZRNW7Y.mjs +0 -1
- package/dist/chunk-LJ2TB6CY.js +0 -1
- package/dist/chunk-MOKKS75W.mjs +0 -3
- package/dist/chunk-ND33YQGU.js +0 -1
- package/dist/chunk-QXSDGNJ4.js +0 -1
- package/dist/chunk-RT52EYG3.mjs +0 -4
- package/dist/chunk-SHYNWAW6.mjs +0 -1
- package/dist/chunk-SNTAAXXA.mjs +0 -1
- package/dist/chunk-TAQTZAVZ.js +0 -1
- package/dist/chunk-UKMKGIME.js +0 -1
- package/dist/chunk-UXPY65AC.js +0 -1
- package/dist/chunk-VOCHZNOF.mjs +0 -1
- package/dist/chunk-VW22RZ6C.mjs +0 -1
- package/dist/chunk-WQRWRWSK.js +0 -1
- package/dist/chunk-YHXVNJK5.mjs +0 -1
- package/dist/chunk-ZETEPB7I.js +0 -1
- package/dist/executor-DZAMMQ35.js +0 -1
- package/dist/executor-ZCJRLT3Z.mjs +0 -1
|
@@ -9,24 +9,24 @@
|
|
|
9
9
|
* @public
|
|
10
10
|
*/
|
|
11
11
|
export { ToFlowBlocksOptions, convertBorderSpecToLayout, resetBlockIdCounter, resolveListTemplate, toFlowBlocks } from './toFlowBlocks.mjs';
|
|
12
|
-
import { TableBlock,
|
|
12
|
+
import { TableBlock, FlowBlock, Fragment, Measure, Page, TableFragment, TableMeasure, ParagraphBlock, ParagraphMeasure, Layout, PageMargins, ColumnLayout } from '../layout-engine/types.mjs';
|
|
13
13
|
export { FontMetrics, FontStyle, MeasureParagraphOptions, RunMeasurement, TextMeasurement, buildFontString, clampFloatingWrapMargins, clearAllCaches, clearFontMetricsCache, clearParagraphMeasureCache, clearTextWidthCache, findCharacterAtX, getCachedFontMetrics, getCachedParagraphMeasure, getCachedTextWidth, getCanvasContext, getFontCacheSize, getFontMetrics, getParagraphCacheSize, getRunCharWidths, getTextCacheSize, getTotalCacheSize, getXForCharacter, halfPtToPx, hashParagraphBlock, measureParagraph, measureParagraphs, measureRun, measureText, measureTextWidth, ptToPx, pxToHalfPt, pxToPt, pxToTwips, resetCanvasContext, setCachedFontMetrics, setCachedParagraphMeasure, setCachedTextWidth, setFontCacheSize, setParagraphCacheSize, setTextCacheSize, twipsToPx } from './measuring/index.mjs';
|
|
14
14
|
export { F as FloatPageGeometry, a as FloatingExclusionRect, b as FloatingImageZone, c as FloatingLineSegmentZone, M as MeasureBlockFn, g as getFloatingMargins, m as measureBlocksWithFloats, r as rectsToFloatingZones } from '../measureBlocksPipeline-BMqbRFQB.mjs';
|
|
15
15
|
export { DomCaretPosition, DomSelectionRect, clickToPositionDom, clipRectToTableWindow, getCaretPositionFromDom, getSelectionRectsFromDom, clickToPositionDom as mouseToPosition } from './clickToPositionDom.mjs';
|
|
16
16
|
import { EditorState } from 'prosemirror-state';
|
|
17
|
-
export { C as ConvertFootnoteOptions, a as ConvertHeaderFooterOptions, F as FOOTNOTE_SEPARATOR_HEIGHT, H as HeaderFooterMetrics, M as MAX_FOOTNOTE_LAYOUT_PASSES,
|
|
17
|
+
export { C as ConvertFootnoteOptions, a as ConvertHeaderFooterOptions, F as FOOTNOTE_SEPARATOR_HEIGHT, b as FootnoteRefLocation, H as HeaderFooterMetrics, M as MAX_FOOTNOTE_LAYOUT_PASSES, c as MeasureBlocksFn, S as StabilizeFootnoteLayoutArgs, d as StabilizeFootnoteLayoutResult, k as applyFootnotePresentation, e as buildFootnoteContentMap, f as buildFootnoteRenderItems, g as calculateFootnoteReservedHeights, l as calculateHeaderFooterVisualBounds, h as collectFootnoteRefs, n as computeHfCaretRectFromView, o as computeHfSelectionRectsFromView, p as contributesToHeaderFooterFlowHeight, q as convertFootnoteToContent, r as convertHeaderFooterPmDocToContent, i as convertHeaderFooterToContent, j as footnoteReservedHeightsEqual, t as invalidateHfDomCache, m as mapFootnotesToPages, u as normalizeHeaderFooterMeasureBlocks, v as resolveHeaderFooterVisualTop, s as stabilizeFootnoteLayout } from '../headerFooterLayout-D5-u-IsD.mjs';
|
|
18
18
|
import { H as HeaderFooterContent } from '../footnotes-BZ24OTAT.mjs';
|
|
19
19
|
export { TABLE_INSERT_EDGE_PROXIMITY, TABLE_INSERT_HIDE_DELAY_MS, TableInsertHoverHit, TableInsertHoverInput, detectTableInsertHover } from './tableInsertHover.mjs';
|
|
20
20
|
import { SectionLayoutConfig } from '../layout-engine/index.mjs';
|
|
21
21
|
import { Document } from '../types/document.mjs';
|
|
22
|
-
import { S as SectionProperties,
|
|
22
|
+
import { S as SectionProperties, x as HeaderFooter } from '../content-BEFz1zcs.mjs';
|
|
23
23
|
import 'prosemirror-model';
|
|
24
24
|
import '../styles-Dqec8Aw6.mjs';
|
|
25
25
|
import '../formatting-DFtuRFQY.mjs';
|
|
26
26
|
import '../colors-C3vA7HUU.mjs';
|
|
27
27
|
import '../lists-CyGxd5Y2.mjs';
|
|
28
28
|
import '../docx/wrapTypes.mjs';
|
|
29
|
-
import '../watermark-
|
|
29
|
+
import '../watermark-D90356ZM.mjs';
|
|
30
30
|
import '../anchoredObjectPosition-KJEyF-wr.mjs';
|
|
31
31
|
import 'prosemirror-view';
|
|
32
32
|
|
|
@@ -70,6 +70,68 @@ declare function countTableColumns(tableBlock: TableBlock): number;
|
|
|
70
70
|
* scale down totals that exceed the target — this helper only fills gaps.
|
|
71
71
|
*/
|
|
72
72
|
declare function normalizeTableColumnWidths(columnWidths: number[], colCount: number, targetWidth: number): number[];
|
|
73
|
+
/**
|
|
74
|
+
* Resolve a table's per-column pixel widths from its grid metadata and width
|
|
75
|
+
* budget — the width half of `measureTableBlock`, with NO cell-content
|
|
76
|
+
* measurement. Factored out so a caller that only needs widths (e.g. deciding
|
|
77
|
+
* whether a floating table is effectively full-width, before the main measure
|
|
78
|
+
* pass) doesn't have to measure every cell.
|
|
79
|
+
*
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
82
|
+
declare function resolveTableColumnWidths(tableBlock: TableBlock, contentWidth: number): number[];
|
|
83
|
+
/**
|
|
84
|
+
* Total pixel width of a table — sum of its resolved column widths, falling
|
|
85
|
+
* back to the explicit table width or the content-width budget. No cell-content
|
|
86
|
+
* measurement, so it is safe to call before the main measure pass. Mirrors the
|
|
87
|
+
* `totalWidth` that `measureTableBlock` produces.
|
|
88
|
+
*
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
91
|
+
declare function resolveTableTotalWidthPx(tableBlock: TableBlock, contentWidth: number): number;
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* Detect "block-like" floating tables.
|
|
95
|
+
*
|
|
96
|
+
* A DOCX table with `w:tblpPr` is a positioned ("floating") table — text wraps
|
|
97
|
+
* around it. But contract templates routinely make a full-width form table
|
|
98
|
+
* floating (often a paste artifact), leaving NO horizontal room for text on
|
|
99
|
+
* either side. Word and Google Docs treat such a table as a normal in-flow
|
|
100
|
+
* block: it paginates across pages and following content flows beneath it.
|
|
101
|
+
*
|
|
102
|
+
* Our floating path instead places the whole table as one fragment (no
|
|
103
|
+
* pagination — it overflows past the page) AND registers a text-wrap zone the
|
|
104
|
+
* height of the table, so the next paragraph's first line is pushed past the
|
|
105
|
+
* entire table and lands off-page. Demoting these tables to inline (see
|
|
106
|
+
* `computeLayout`) fixes both: they paginate via `layoutTable` and create no
|
|
107
|
+
* wrap zone.
|
|
108
|
+
*
|
|
109
|
+
* The predicate mirrors the geometry in `layoutFloatingTable` (the existing
|
|
110
|
+
* block-like cursor-advance) and `extractFloatingTableZone`; keep the three in
|
|
111
|
+
* sync. Narrow floating tables — where text genuinely wraps beside them — fall
|
|
112
|
+
* below the threshold and stay floating.
|
|
113
|
+
*/
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* True when a floating table is effectively full-width — it leaves less than
|
|
117
|
+
* {@link MIN_WRAP_SEGMENT_WIDTH} of usable text room on BOTH sides, so no text
|
|
118
|
+
* can wrap beside it. Returns false for non-floating tables and for narrow
|
|
119
|
+
* floats that leave real wrap room.
|
|
120
|
+
*
|
|
121
|
+
* @internal
|
|
122
|
+
*/
|
|
123
|
+
declare function isBlockLikeFloatingTable(block: TableBlock, contentWidth: number): boolean;
|
|
124
|
+
/**
|
|
125
|
+
* In place, clear `floating` on every block-like floating table so the rest of
|
|
126
|
+
* the pipeline treats it as a normal inline table — it then paginates via
|
|
127
|
+
* `layoutTable` and registers no text-wrap zone. `blockWidths[i]` is the
|
|
128
|
+
* block's section content width (from `computePerBlockWidths`); `fallbackWidth`
|
|
129
|
+
* covers a missing entry. Demoted entries are replaced with shallow copies, so
|
|
130
|
+
* any cached source block the caller holds is left untouched.
|
|
131
|
+
*
|
|
132
|
+
* @internal
|
|
133
|
+
*/
|
|
134
|
+
declare function demoteBlockLikeFloatingTables(blocks: FlowBlock[], blockWidths: number[], fallbackWidth: number): void;
|
|
73
135
|
|
|
74
136
|
/**
|
|
75
137
|
* Hit Testing Utilities
|
|
@@ -595,4 +657,4 @@ declare function columnWidthForSection(config: SectionLayoutConfig): number;
|
|
|
595
657
|
*/
|
|
596
658
|
declare function computePerBlockWidths(blocks: FlowBlock[], initialConfig: SectionLayoutConfig, finalConfig: SectionLayoutConfig): number[];
|
|
597
659
|
|
|
598
|
-
export { type CaretPosition, DEFAULT_BODY_MARGIN_PX, DEFAULT_HF_DISTANCE_PX, DEFAULT_PAGE_HEIGHT_PX, DEFAULT_PAGE_WIDTH_PX, type ExtendMarginsForHeaderFooterInput, type ExtendMarginsForHeaderFooterResult, type FragmentHit, type HitTestResult, type PageHit, type Point, type PositionResult, type ResolvedGridCell, type SelectionRect, type TableCellHit, applyCellSelectionHighlight, clickToPosition, clickToPositionInParagraph, clickToPositionInTableCell, columnWidthForSection, computePerBlockWidths, countTableColumns, extendMarginsForHeaderFooter, findBodyEmptyRuns, findBodyPmAnchor, findBodyPmAnchors, findBodyPmSpans, getCaretPosition, getColumns, getMargins, getPageBounds, getPageIndexAtY, getPageSize, getPageTop, getPositionRect, getScrollYForPage, getTotalDocumentHeight, groupRectsByPage, hitTest, hitTestFragment, hitTestImageFragment, hitTestPage, hitTestTableCell, isMultiPageSelection, measureTableBlock, measureTableCellBlockVisualHeight, normalizeTableColumnWidths, positionToX, resolveCellGrid, resolveHeaderFooter, resolveTableWidthPx, selectionToRects, twipsToPixels };
|
|
660
|
+
export { type CaretPosition, DEFAULT_BODY_MARGIN_PX, DEFAULT_HF_DISTANCE_PX, DEFAULT_PAGE_HEIGHT_PX, DEFAULT_PAGE_WIDTH_PX, type ExtendMarginsForHeaderFooterInput, type ExtendMarginsForHeaderFooterResult, type FragmentHit, type HitTestResult, type PageHit, type Point, type PositionResult, type ResolvedGridCell, type SelectionRect, type TableCellHit, applyCellSelectionHighlight, clickToPosition, clickToPositionInParagraph, clickToPositionInTableCell, columnWidthForSection, computePerBlockWidths, countTableColumns, demoteBlockLikeFloatingTables, extendMarginsForHeaderFooter, findBodyEmptyRuns, findBodyPmAnchor, findBodyPmAnchors, findBodyPmSpans, getCaretPosition, getColumns, getMargins, getPageBounds, getPageIndexAtY, getPageSize, getPageTop, getPositionRect, getScrollYForPage, getTotalDocumentHeight, groupRectsByPage, hitTest, hitTestFragment, hitTestImageFragment, hitTestPage, hitTestTableCell, isBlockLikeFloatingTable, isMultiPageSelection, measureTableBlock, measureTableCellBlockVisualHeight, normalizeTableColumnWidths, positionToX, resolveCellGrid, resolveHeaderFooter, resolveTableColumnWidths, resolveTableTotalWidthPx, resolveTableWidthPx, selectionToRects, twipsToPixels };
|
|
@@ -9,24 +9,24 @@
|
|
|
9
9
|
* @public
|
|
10
10
|
*/
|
|
11
11
|
export { ToFlowBlocksOptions, convertBorderSpecToLayout, resetBlockIdCounter, resolveListTemplate, toFlowBlocks } from './toFlowBlocks.js';
|
|
12
|
-
import { TableBlock,
|
|
12
|
+
import { TableBlock, FlowBlock, Fragment, Measure, Page, TableFragment, TableMeasure, ParagraphBlock, ParagraphMeasure, Layout, PageMargins, ColumnLayout } from '../layout-engine/types.js';
|
|
13
13
|
export { FontMetrics, FontStyle, MeasureParagraphOptions, RunMeasurement, TextMeasurement, buildFontString, clampFloatingWrapMargins, clearAllCaches, clearFontMetricsCache, clearParagraphMeasureCache, clearTextWidthCache, findCharacterAtX, getCachedFontMetrics, getCachedParagraphMeasure, getCachedTextWidth, getCanvasContext, getFontCacheSize, getFontMetrics, getParagraphCacheSize, getRunCharWidths, getTextCacheSize, getTotalCacheSize, getXForCharacter, halfPtToPx, hashParagraphBlock, measureParagraph, measureParagraphs, measureRun, measureText, measureTextWidth, ptToPx, pxToHalfPt, pxToPt, pxToTwips, resetCanvasContext, setCachedFontMetrics, setCachedParagraphMeasure, setCachedTextWidth, setFontCacheSize, setParagraphCacheSize, setTextCacheSize, twipsToPx } from './measuring/index.js';
|
|
14
14
|
export { F as FloatPageGeometry, a as FloatingExclusionRect, b as FloatingImageZone, c as FloatingLineSegmentZone, M as MeasureBlockFn, g as getFloatingMargins, m as measureBlocksWithFloats, r as rectsToFloatingZones } from '../measureBlocksPipeline-iYNzAH-o.js';
|
|
15
15
|
export { DomCaretPosition, DomSelectionRect, clickToPositionDom, clipRectToTableWindow, getCaretPositionFromDom, getSelectionRectsFromDom, clickToPositionDom as mouseToPosition } from './clickToPositionDom.js';
|
|
16
16
|
import { EditorState } from 'prosemirror-state';
|
|
17
|
-
export { C as ConvertFootnoteOptions, a as ConvertHeaderFooterOptions, F as FOOTNOTE_SEPARATOR_HEIGHT, H as HeaderFooterMetrics, M as MAX_FOOTNOTE_LAYOUT_PASSES,
|
|
17
|
+
export { C as ConvertFootnoteOptions, a as ConvertHeaderFooterOptions, F as FOOTNOTE_SEPARATOR_HEIGHT, b as FootnoteRefLocation, H as HeaderFooterMetrics, M as MAX_FOOTNOTE_LAYOUT_PASSES, c as MeasureBlocksFn, S as StabilizeFootnoteLayoutArgs, d as StabilizeFootnoteLayoutResult, k as applyFootnotePresentation, e as buildFootnoteContentMap, f as buildFootnoteRenderItems, g as calculateFootnoteReservedHeights, l as calculateHeaderFooterVisualBounds, h as collectFootnoteRefs, n as computeHfCaretRectFromView, o as computeHfSelectionRectsFromView, p as contributesToHeaderFooterFlowHeight, q as convertFootnoteToContent, r as convertHeaderFooterPmDocToContent, i as convertHeaderFooterToContent, j as footnoteReservedHeightsEqual, t as invalidateHfDomCache, m as mapFootnotesToPages, u as normalizeHeaderFooterMeasureBlocks, v as resolveHeaderFooterVisualTop, s as stabilizeFootnoteLayout } from '../headerFooterLayout-BdGTU0IA.js';
|
|
18
18
|
import { H as HeaderFooterContent } from '../footnotes-DMsicPGd.js';
|
|
19
19
|
export { TABLE_INSERT_EDGE_PROXIMITY, TABLE_INSERT_HIDE_DELAY_MS, TableInsertHoverHit, TableInsertHoverInput, detectTableInsertHover } from './tableInsertHover.js';
|
|
20
20
|
import { SectionLayoutConfig } from '../layout-engine/index.js';
|
|
21
21
|
import { Document } from '../types/document.js';
|
|
22
|
-
import { S as SectionProperties,
|
|
22
|
+
import { S as SectionProperties, x as HeaderFooter } from '../content-DNcMlHU0.js';
|
|
23
23
|
import 'prosemirror-model';
|
|
24
24
|
import '../styles-gEujs7j6.js';
|
|
25
25
|
import '../formatting-JhqWT_XM.js';
|
|
26
26
|
import '../colors-C3vA7HUU.js';
|
|
27
27
|
import '../lists-Bn29SzeS.js';
|
|
28
28
|
import '../docx/wrapTypes.js';
|
|
29
|
-
import '../watermark-
|
|
29
|
+
import '../watermark-D90356ZM.js';
|
|
30
30
|
import '../anchoredObjectPosition-CS-8BfhO.js';
|
|
31
31
|
import 'prosemirror-view';
|
|
32
32
|
|
|
@@ -70,6 +70,68 @@ declare function countTableColumns(tableBlock: TableBlock): number;
|
|
|
70
70
|
* scale down totals that exceed the target — this helper only fills gaps.
|
|
71
71
|
*/
|
|
72
72
|
declare function normalizeTableColumnWidths(columnWidths: number[], colCount: number, targetWidth: number): number[];
|
|
73
|
+
/**
|
|
74
|
+
* Resolve a table's per-column pixel widths from its grid metadata and width
|
|
75
|
+
* budget — the width half of `measureTableBlock`, with NO cell-content
|
|
76
|
+
* measurement. Factored out so a caller that only needs widths (e.g. deciding
|
|
77
|
+
* whether a floating table is effectively full-width, before the main measure
|
|
78
|
+
* pass) doesn't have to measure every cell.
|
|
79
|
+
*
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
82
|
+
declare function resolveTableColumnWidths(tableBlock: TableBlock, contentWidth: number): number[];
|
|
83
|
+
/**
|
|
84
|
+
* Total pixel width of a table — sum of its resolved column widths, falling
|
|
85
|
+
* back to the explicit table width or the content-width budget. No cell-content
|
|
86
|
+
* measurement, so it is safe to call before the main measure pass. Mirrors the
|
|
87
|
+
* `totalWidth` that `measureTableBlock` produces.
|
|
88
|
+
*
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
91
|
+
declare function resolveTableTotalWidthPx(tableBlock: TableBlock, contentWidth: number): number;
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* Detect "block-like" floating tables.
|
|
95
|
+
*
|
|
96
|
+
* A DOCX table with `w:tblpPr` is a positioned ("floating") table — text wraps
|
|
97
|
+
* around it. But contract templates routinely make a full-width form table
|
|
98
|
+
* floating (often a paste artifact), leaving NO horizontal room for text on
|
|
99
|
+
* either side. Word and Google Docs treat such a table as a normal in-flow
|
|
100
|
+
* block: it paginates across pages and following content flows beneath it.
|
|
101
|
+
*
|
|
102
|
+
* Our floating path instead places the whole table as one fragment (no
|
|
103
|
+
* pagination — it overflows past the page) AND registers a text-wrap zone the
|
|
104
|
+
* height of the table, so the next paragraph's first line is pushed past the
|
|
105
|
+
* entire table and lands off-page. Demoting these tables to inline (see
|
|
106
|
+
* `computeLayout`) fixes both: they paginate via `layoutTable` and create no
|
|
107
|
+
* wrap zone.
|
|
108
|
+
*
|
|
109
|
+
* The predicate mirrors the geometry in `layoutFloatingTable` (the existing
|
|
110
|
+
* block-like cursor-advance) and `extractFloatingTableZone`; keep the three in
|
|
111
|
+
* sync. Narrow floating tables — where text genuinely wraps beside them — fall
|
|
112
|
+
* below the threshold and stay floating.
|
|
113
|
+
*/
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* True when a floating table is effectively full-width — it leaves less than
|
|
117
|
+
* {@link MIN_WRAP_SEGMENT_WIDTH} of usable text room on BOTH sides, so no text
|
|
118
|
+
* can wrap beside it. Returns false for non-floating tables and for narrow
|
|
119
|
+
* floats that leave real wrap room.
|
|
120
|
+
*
|
|
121
|
+
* @internal
|
|
122
|
+
*/
|
|
123
|
+
declare function isBlockLikeFloatingTable(block: TableBlock, contentWidth: number): boolean;
|
|
124
|
+
/**
|
|
125
|
+
* In place, clear `floating` on every block-like floating table so the rest of
|
|
126
|
+
* the pipeline treats it as a normal inline table — it then paginates via
|
|
127
|
+
* `layoutTable` and registers no text-wrap zone. `blockWidths[i]` is the
|
|
128
|
+
* block's section content width (from `computePerBlockWidths`); `fallbackWidth`
|
|
129
|
+
* covers a missing entry. Demoted entries are replaced with shallow copies, so
|
|
130
|
+
* any cached source block the caller holds is left untouched.
|
|
131
|
+
*
|
|
132
|
+
* @internal
|
|
133
|
+
*/
|
|
134
|
+
declare function demoteBlockLikeFloatingTables(blocks: FlowBlock[], blockWidths: number[], fallbackWidth: number): void;
|
|
73
135
|
|
|
74
136
|
/**
|
|
75
137
|
* Hit Testing Utilities
|
|
@@ -595,4 +657,4 @@ declare function columnWidthForSection(config: SectionLayoutConfig): number;
|
|
|
595
657
|
*/
|
|
596
658
|
declare function computePerBlockWidths(blocks: FlowBlock[], initialConfig: SectionLayoutConfig, finalConfig: SectionLayoutConfig): number[];
|
|
597
659
|
|
|
598
|
-
export { type CaretPosition, DEFAULT_BODY_MARGIN_PX, DEFAULT_HF_DISTANCE_PX, DEFAULT_PAGE_HEIGHT_PX, DEFAULT_PAGE_WIDTH_PX, type ExtendMarginsForHeaderFooterInput, type ExtendMarginsForHeaderFooterResult, type FragmentHit, type HitTestResult, type PageHit, type Point, type PositionResult, type ResolvedGridCell, type SelectionRect, type TableCellHit, applyCellSelectionHighlight, clickToPosition, clickToPositionInParagraph, clickToPositionInTableCell, columnWidthForSection, computePerBlockWidths, countTableColumns, extendMarginsForHeaderFooter, findBodyEmptyRuns, findBodyPmAnchor, findBodyPmAnchors, findBodyPmSpans, getCaretPosition, getColumns, getMargins, getPageBounds, getPageIndexAtY, getPageSize, getPageTop, getPositionRect, getScrollYForPage, getTotalDocumentHeight, groupRectsByPage, hitTest, hitTestFragment, hitTestImageFragment, hitTestPage, hitTestTableCell, isMultiPageSelection, measureTableBlock, measureTableCellBlockVisualHeight, normalizeTableColumnWidths, positionToX, resolveCellGrid, resolveHeaderFooter, resolveTableWidthPx, selectionToRects, twipsToPixels };
|
|
660
|
+
export { type CaretPosition, DEFAULT_BODY_MARGIN_PX, DEFAULT_HF_DISTANCE_PX, DEFAULT_PAGE_HEIGHT_PX, DEFAULT_PAGE_WIDTH_PX, type ExtendMarginsForHeaderFooterInput, type ExtendMarginsForHeaderFooterResult, type FragmentHit, type HitTestResult, type PageHit, type Point, type PositionResult, type ResolvedGridCell, type SelectionRect, type TableCellHit, applyCellSelectionHighlight, clickToPosition, clickToPositionInParagraph, clickToPositionInTableCell, columnWidthForSection, computePerBlockWidths, countTableColumns, demoteBlockLikeFloatingTables, extendMarginsForHeaderFooter, findBodyEmptyRuns, findBodyPmAnchor, findBodyPmAnchors, findBodyPmSpans, getCaretPosition, getColumns, getMargins, getPageBounds, getPageIndexAtY, getPageSize, getPageTop, getPositionRect, getScrollYForPage, getTotalDocumentHeight, groupRectsByPage, hitTest, hitTestFragment, hitTestImageFragment, hitTestPage, hitTestTableCell, isBlockLikeFloatingTable, isMultiPageSelection, measureTableBlock, measureTableCellBlockVisualHeight, normalizeTableColumnWidths, positionToX, resolveCellGrid, resolveHeaderFooter, resolveTableColumnWidths, resolveTableTotalWidthPx, resolveTableWidthPx, selectionToRects, twipsToPixels };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var chunkLJ2TB6CY_js=require('../chunk-LJ2TB6CY.js'),chunkTV6JLFY5_js=require('../chunk-TV6JLFY5.js'),chunkQXSDGNJ4_js=require('../chunk-QXSDGNJ4.js'),chunkBTSL4AYY_js=require('../chunk-BTSL4AYY.js'),chunkWQRWRWSK_js=require('../chunk-WQRWRWSK.js'),chunkZETEPB7I_js=require('../chunk-ZETEPB7I.js'),chunkTAQTZAVZ_js=require('../chunk-TAQTZAVZ.js'),chunkIMKU4O3P_js=require('../chunk-IMKU4O3P.js');require('../chunk-DROCYKAR.js'),require('../chunk-AA6D2C6R.js'),require('../chunk-FIGLFSNR.js'),require('../chunk-UXPY65AC.js'),require('../chunk-C45EFOVP.js'),require('../chunk-ISKTBM4L.js'),require('../chunk-JFZIXFRC.js'),require('../chunk-RQVHKDXK.js'),require('../chunk-O2643IUW.js'),require('../chunk-Z3LGMBJC.js'),require('../chunk-ND33YQGU.js'),require('../chunk-DZ3FN3JI.js'),require('../chunk-BHBOAP6Z.js'),require('../chunk-MZ7LW5CH.js'),require('../chunk-N3Y5BUKV.js'),require('../chunk-5WINQXA3.js'),require('../chunk-6LVPRTB6.js'),require('../chunk-LWH66Q7Q.js'),require('../chunk-X6AICTHN.js'),require('../chunk-7HANRHHL.js'),require('../chunk-MJ5FQX7Q.js'),require('../chunk-C2BAPYGJ.js'),require('../chunk-4Q2IP5FW.js'),require('../chunk-GSKMHXHG.js'),require('../chunk-H57LNDBH.js'),require('../chunk-3R7QHNI5.js'),require('../chunk-DC7S76ZX.js');Object.defineProperty(exports,"DEFAULT_BODY_MARGIN_PX",{enumerable:true,get:function(){return chunkLJ2TB6CY_js.G}});Object.defineProperty(exports,"DEFAULT_HF_DISTANCE_PX",{enumerable:true,get:function(){return chunkLJ2TB6CY_js.H}});Object.defineProperty(exports,"DEFAULT_PAGE_HEIGHT_PX",{enumerable:true,get:function(){return chunkLJ2TB6CY_js.F}});Object.defineProperty(exports,"DEFAULT_PAGE_WIDTH_PX",{enumerable:true,get:function(){return chunkLJ2TB6CY_js.E}});Object.defineProperty(exports,"applyCellSelectionHighlight",{enumerable:true,get:function(){return chunkLJ2TB6CY_js.p}});Object.defineProperty(exports,"calculateHeaderFooterVisualBounds",{enumerable:true,get:function(){return chunkLJ2TB6CY_js.x}});Object.defineProperty(exports,"clickToPosition",{enumerable:true,get:function(){return chunkLJ2TB6CY_js.m}});Object.defineProperty(exports,"clickToPositionInParagraph",{enumerable:true,get:function(){return chunkLJ2TB6CY_js.k}});Object.defineProperty(exports,"clickToPositionInTableCell",{enumerable:true,get:function(){return chunkLJ2TB6CY_js.l}});Object.defineProperty(exports,"columnWidthForSection",{enumerable:true,get:function(){return chunkLJ2TB6CY_js.N}});Object.defineProperty(exports,"computeHfCaretRectFromView",{enumerable:true,get:function(){return chunkLJ2TB6CY_js.B}});Object.defineProperty(exports,"computeHfSelectionRectsFromView",{enumerable:true,get:function(){return chunkLJ2TB6CY_js.C}});Object.defineProperty(exports,"computePerBlockWidths",{enumerable:true,get:function(){return chunkLJ2TB6CY_js.O}});Object.defineProperty(exports,"contributesToHeaderFooterFlowHeight",{enumerable:true,get:function(){return chunkLJ2TB6CY_js.w}});Object.defineProperty(exports,"convertHeaderFooterPmDocToContent",{enumerable:true,get:function(){return chunkLJ2TB6CY_js.z}});Object.defineProperty(exports,"convertHeaderFooterToContent",{enumerable:true,get:function(){return chunkLJ2TB6CY_js.y}});Object.defineProperty(exports,"extendMarginsForHeaderFooter",{enumerable:true,get:function(){return chunkLJ2TB6CY_js.D}});Object.defineProperty(exports,"getCaretPosition",{enumerable:true,get:function(){return chunkLJ2TB6CY_js.r}});Object.defineProperty(exports,"getColumns",{enumerable:true,get:function(){return chunkLJ2TB6CY_js.M}});Object.defineProperty(exports,"getMargins",{enumerable:true,get:function(){return chunkLJ2TB6CY_js.K}});Object.defineProperty(exports,"getPageBounds",{enumerable:true,get:function(){return chunkLJ2TB6CY_js.j}});Object.defineProperty(exports,"getPageIndexAtY",{enumerable:true,get:function(){return chunkLJ2TB6CY_js.c}});Object.defineProperty(exports,"getPageSize",{enumerable:true,get:function(){return chunkLJ2TB6CY_js.J}});Object.defineProperty(exports,"getPageTop",{enumerable:true,get:function(){return chunkLJ2TB6CY_js.b}});Object.defineProperty(exports,"getPositionRect",{enumerable:true,get:function(){return chunkLJ2TB6CY_js.o}});Object.defineProperty(exports,"getScrollYForPage",{enumerable:true,get:function(){return chunkLJ2TB6CY_js.i}});Object.defineProperty(exports,"getTotalDocumentHeight",{enumerable:true,get:function(){return chunkLJ2TB6CY_js.h}});Object.defineProperty(exports,"groupRectsByPage",{enumerable:true,get:function(){return chunkLJ2TB6CY_js.t}});Object.defineProperty(exports,"hitTest",{enumerable:true,get:function(){return chunkLJ2TB6CY_js.g}});Object.defineProperty(exports,"hitTestFragment",{enumerable:true,get:function(){return chunkLJ2TB6CY_js.d}});Object.defineProperty(exports,"hitTestImageFragment",{enumerable:true,get:function(){return chunkLJ2TB6CY_js.e}});Object.defineProperty(exports,"hitTestPage",{enumerable:true,get:function(){return chunkLJ2TB6CY_js.a}});Object.defineProperty(exports,"hitTestTableCell",{enumerable:true,get:function(){return chunkLJ2TB6CY_js.f}});Object.defineProperty(exports,"invalidateHfDomCache",{enumerable:true,get:function(){return chunkLJ2TB6CY_js.A}});Object.defineProperty(exports,"isMultiPageSelection",{enumerable:true,get:function(){return chunkLJ2TB6CY_js.s}});Object.defineProperty(exports,"normalizeHeaderFooterMeasureBlocks",{enumerable:true,get:function(){return chunkLJ2TB6CY_js.u}});Object.defineProperty(exports,"positionToX",{enumerable:true,get:function(){return chunkLJ2TB6CY_js.n}});Object.defineProperty(exports,"resolveHeaderFooter",{enumerable:true,get:function(){return chunkLJ2TB6CY_js.L}});Object.defineProperty(exports,"resolveHeaderFooterVisualTop",{enumerable:true,get:function(){return chunkLJ2TB6CY_js.v}});Object.defineProperty(exports,"selectionToRects",{enumerable:true,get:function(){return chunkLJ2TB6CY_js.q}});Object.defineProperty(exports,"twipsToPixels",{enumerable:true,get:function(){return chunkLJ2TB6CY_js.I}});Object.defineProperty(exports,"TABLE_INSERT_EDGE_PROXIMITY",{enumerable:true,get:function(){return chunkTV6JLFY5_js.a}});Object.defineProperty(exports,"TABLE_INSERT_HIDE_DELAY_MS",{enumerable:true,get:function(){return chunkTV6JLFY5_js.b}});Object.defineProperty(exports,"detectTableInsertHover",{enumerable:true,get:function(){return chunkTV6JLFY5_js.c}});Object.defineProperty(exports,"FOOTNOTE_SEPARATOR_HEIGHT",{enumerable:true,get:function(){return chunkQXSDGNJ4_js.a}});Object.defineProperty(exports,"MAX_FOOTNOTE_LAYOUT_PASSES",{enumerable:true,get:function(){return chunkQXSDGNJ4_js.b}});Object.defineProperty(exports,"applyFootnotePresentation",{enumerable:true,get:function(){return chunkQXSDGNJ4_js.f}});Object.defineProperty(exports,"buildFootnoteContentMap",{enumerable:true,get:function(){return chunkQXSDGNJ4_js.h}});Object.defineProperty(exports,"buildFootnoteRenderItems",{enumerable:true,get:function(){return chunkQXSDGNJ4_js.k}});Object.defineProperty(exports,"calculateFootnoteReservedHeights",{enumerable:true,get:function(){return chunkQXSDGNJ4_js.i}});Object.defineProperty(exports,"collectFootnoteRefs",{enumerable:true,get:function(){return chunkQXSDGNJ4_js.d}});Object.defineProperty(exports,"convertFootnoteToContent",{enumerable:true,get:function(){return chunkQXSDGNJ4_js.g}});Object.defineProperty(exports,"footnoteReservedHeightsEqual",{enumerable:true,get:function(){return chunkQXSDGNJ4_js.c}});Object.defineProperty(exports,"mapFootnotesToPages",{enumerable:true,get:function(){return chunkQXSDGNJ4_js.e}});Object.defineProperty(exports,"stabilizeFootnoteLayout",{enumerable:true,get:function(){return chunkQXSDGNJ4_js.j}});Object.defineProperty(exports,"convertBorderSpecToLayout",{enumerable:true,get:function(){return chunkBTSL4AYY_js.a}});Object.defineProperty(exports,"resolveListTemplate",{enumerable:true,get:function(){return chunkBTSL4AYY_js.b}});Object.defineProperty(exports,"toFlowBlocks",{enumerable:true,get:function(){return chunkBTSL4AYY_js.c}});Object.defineProperty(exports,"clickToPositionDom",{enumerable:true,get:function(){return chunkWQRWRWSK_js.e}});Object.defineProperty(exports,"clipRectToTableWindow",{enumerable:true,get:function(){return chunkWQRWRWSK_js.f}});Object.defineProperty(exports,"findBodyEmptyRuns",{enumerable:true,get:function(){return chunkWQRWRWSK_js.b}});Object.defineProperty(exports,"findBodyPmAnchor",{enumerable:true,get:function(){return chunkWQRWRWSK_js.d}});Object.defineProperty(exports,"findBodyPmAnchors",{enumerable:true,get:function(){return chunkWQRWRWSK_js.c}});Object.defineProperty(exports,"findBodyPmSpans",{enumerable:true,get:function(){return chunkWQRWRWSK_js.a}});Object.defineProperty(exports,"getCaretPositionFromDom",{enumerable:true,get:function(){return chunkWQRWRWSK_js.h}});Object.defineProperty(exports,"getSelectionRectsFromDom",{enumerable:true,get:function(){return chunkWQRWRWSK_js.g}});Object.defineProperty(exports,"mouseToPosition",{enumerable:true,get:function(){return chunkWQRWRWSK_js.e}});Object.defineProperty(exports,"clearAllCaches",{enumerable:true,get:function(){return chunkZETEPB7I_js.B}});Object.defineProperty(exports,"clearFontMetricsCache",{enumerable:true,get:function(){return chunkZETEPB7I_js.s}});Object.defineProperty(exports,"clearParagraphMeasureCache",{enumerable:true,get:function(){return chunkZETEPB7I_js.y}});Object.defineProperty(exports,"clearTextWidthCache",{enumerable:true,get:function(){return chunkZETEPB7I_js.n}});Object.defineProperty(exports,"getCachedFontMetrics",{enumerable:true,get:function(){return chunkZETEPB7I_js.q}});Object.defineProperty(exports,"getCachedParagraphMeasure",{enumerable:true,get:function(){return chunkZETEPB7I_js.w}});Object.defineProperty(exports,"getCachedTextWidth",{enumerable:true,get:function(){return chunkZETEPB7I_js.l}});Object.defineProperty(exports,"getFontCacheSize",{enumerable:true,get:function(){return chunkZETEPB7I_js.u}});Object.defineProperty(exports,"getParagraphCacheSize",{enumerable:true,get:function(){return chunkZETEPB7I_js.A}});Object.defineProperty(exports,"getTextCacheSize",{enumerable:true,get:function(){return chunkZETEPB7I_js.p}});Object.defineProperty(exports,"getTotalCacheSize",{enumerable:true,get:function(){return chunkZETEPB7I_js.C}});Object.defineProperty(exports,"hashParagraphBlock",{enumerable:true,get:function(){return chunkZETEPB7I_js.v}});Object.defineProperty(exports,"measureBlocksWithFloats",{enumerable:true,get:function(){return chunkZETEPB7I_js.k}});Object.defineProperty(exports,"measureTableBlock",{enumerable:true,get:function(){return chunkZETEPB7I_js.j}});Object.defineProperty(exports,"measureTableCellBlockVisualHeight",{enumerable:true,get:function(){return chunkZETEPB7I_js.i}});Object.defineProperty(exports,"setCachedFontMetrics",{enumerable:true,get:function(){return chunkZETEPB7I_js.r}});Object.defineProperty(exports,"setCachedParagraphMeasure",{enumerable:true,get:function(){return chunkZETEPB7I_js.x}});Object.defineProperty(exports,"setCachedTextWidth",{enumerable:true,get:function(){return chunkZETEPB7I_js.m}});Object.defineProperty(exports,"setFontCacheSize",{enumerable:true,get:function(){return chunkZETEPB7I_js.t}});Object.defineProperty(exports,"setParagraphCacheSize",{enumerable:true,get:function(){return chunkZETEPB7I_js.z}});Object.defineProperty(exports,"setTextCacheSize",{enumerable:true,get:function(){return chunkZETEPB7I_js.o}});Object.defineProperty(exports,"buildFontString",{enumerable:true,get:function(){return chunkTAQTZAVZ_js.g}});Object.defineProperty(exports,"clampFloatingWrapMargins",{enumerable:true,get:function(){return chunkTAQTZAVZ_js.y}});Object.defineProperty(exports,"countTableColumns",{enumerable:true,get:function(){return chunkTAQTZAVZ_js.c}});Object.defineProperty(exports,"findCharacterAtX",{enumerable:true,get:function(){return chunkTAQTZAVZ_js.l}});Object.defineProperty(exports,"getCanvasContext",{enumerable:true,get:function(){return chunkTAQTZAVZ_js.e}});Object.defineProperty(exports,"getFloatingMargins",{enumerable:true,get:function(){return chunkTAQTZAVZ_js.u}});Object.defineProperty(exports,"getFontMetrics",{enumerable:true,get:function(){return chunkTAQTZAVZ_js.h}});Object.defineProperty(exports,"getRunCharWidths",{enumerable:true,get:function(){return chunkTAQTZAVZ_js.B}});Object.defineProperty(exports,"getXForCharacter",{enumerable:true,get:function(){return chunkTAQTZAVZ_js.m}});Object.defineProperty(exports,"halfPtToPx",{enumerable:true,get:function(){return chunkTAQTZAVZ_js.r}});Object.defineProperty(exports,"measureParagraph",{enumerable:true,get:function(){return chunkTAQTZAVZ_js.z}});Object.defineProperty(exports,"measureParagraphs",{enumerable:true,get:function(){return chunkTAQTZAVZ_js.A}});Object.defineProperty(exports,"measureRun",{enumerable:true,get:function(){return chunkTAQTZAVZ_js.k}});Object.defineProperty(exports,"measureText",{enumerable:true,get:function(){return chunkTAQTZAVZ_js.j}});Object.defineProperty(exports,"measureTextWidth",{enumerable:true,get:function(){return chunkTAQTZAVZ_js.i}});Object.defineProperty(exports,"normalizeTableColumnWidths",{enumerable:true,get:function(){return chunkTAQTZAVZ_js.d}});Object.defineProperty(exports,"ptToPx",{enumerable:true,get:function(){return chunkTAQTZAVZ_js.p}});Object.defineProperty(exports,"pxToHalfPt",{enumerable:true,get:function(){return chunkTAQTZAVZ_js.s}});Object.defineProperty(exports,"pxToPt",{enumerable:true,get:function(){return chunkTAQTZAVZ_js.q}});Object.defineProperty(exports,"pxToTwips",{enumerable:true,get:function(){return chunkTAQTZAVZ_js.o}});Object.defineProperty(exports,"rectsToFloatingZones",{enumerable:true,get:function(){return chunkTAQTZAVZ_js.t}});Object.defineProperty(exports,"resetCanvasContext",{enumerable:true,get:function(){return chunkTAQTZAVZ_js.f}});Object.defineProperty(exports,"resolveCellGrid",{enumerable:true,get:function(){return chunkTAQTZAVZ_js.b}});Object.defineProperty(exports,"resolveTableWidthPx",{enumerable:true,get:function(){return chunkTAQTZAVZ_js.a}});Object.defineProperty(exports,"twipsToPx",{enumerable:true,get:function(){return chunkTAQTZAVZ_js.n}});Object.defineProperty(exports,"resetBlockIdCounter",{enumerable:true,get:function(){return chunkIMKU4O3P_js.d}});
|
|
1
|
+
'use strict';var chunkWTIN6QHX_js=require('../chunk-WTIN6QHX.js'),chunkDUXHJ6QP_js=require('../chunk-DUXHJ6QP.js'),chunkTT3ILFZC_js=require('../chunk-TT3ILFZC.js'),chunkNKIDBERV_js=require('../chunk-NKIDBERV.js'),chunkMWOHCSZE_js=require('../chunk-MWOHCSZE.js'),chunkYUHOVME2_js=require('../chunk-YUHOVME2.js'),chunkXCTYXYEU_js=require('../chunk-XCTYXYEU.js'),chunkIMKU4O3P_js=require('../chunk-IMKU4O3P.js');require('../chunk-DROCYKAR.js'),require('../chunk-DFDL337G.js'),require('../chunk-FIGLFSNR.js'),require('../chunk-DKUHG27E.js'),require('../chunk-PGWY6UFK.js'),require('../chunk-ISKTBM4L.js'),require('../chunk-JFZIXFRC.js'),require('../chunk-RQVHKDXK.js'),require('../chunk-LW5OFHSW.js'),require('../chunk-Z3LGMBJC.js'),require('../chunk-4U2S3WV2.js'),require('../chunk-DUVSDFRG.js'),require('../chunk-Q2VALXEU.js'),require('../chunk-MZ7LW5CH.js'),require('../chunk-N3Y5BUKV.js'),require('../chunk-ILPNMG7Q.js'),require('../chunk-6LVPRTB6.js'),require('../chunk-LWH66Q7Q.js'),require('../chunk-X6AICTHN.js'),require('../chunk-7HANRHHL.js'),require('../chunk-MJ5FQX7Q.js'),require('../chunk-C2BAPYGJ.js'),require('../chunk-BJSG6TEG.js'),require('../chunk-GSKMHXHG.js'),require('../chunk-H57LNDBH.js'),require('../chunk-3R7QHNI5.js'),require('../chunk-DC7S76ZX.js');Object.defineProperty(exports,"DEFAULT_BODY_MARGIN_PX",{enumerable:true,get:function(){return chunkWTIN6QHX_js.I}});Object.defineProperty(exports,"DEFAULT_HF_DISTANCE_PX",{enumerable:true,get:function(){return chunkWTIN6QHX_js.J}});Object.defineProperty(exports,"DEFAULT_PAGE_HEIGHT_PX",{enumerable:true,get:function(){return chunkWTIN6QHX_js.H}});Object.defineProperty(exports,"DEFAULT_PAGE_WIDTH_PX",{enumerable:true,get:function(){return chunkWTIN6QHX_js.G}});Object.defineProperty(exports,"applyCellSelectionHighlight",{enumerable:true,get:function(){return chunkWTIN6QHX_js.r}});Object.defineProperty(exports,"calculateHeaderFooterVisualBounds",{enumerable:true,get:function(){return chunkWTIN6QHX_js.z}});Object.defineProperty(exports,"clickToPosition",{enumerable:true,get:function(){return chunkWTIN6QHX_js.o}});Object.defineProperty(exports,"clickToPositionInParagraph",{enumerable:true,get:function(){return chunkWTIN6QHX_js.m}});Object.defineProperty(exports,"clickToPositionInTableCell",{enumerable:true,get:function(){return chunkWTIN6QHX_js.n}});Object.defineProperty(exports,"columnWidthForSection",{enumerable:true,get:function(){return chunkWTIN6QHX_js.P}});Object.defineProperty(exports,"computeHfCaretRectFromView",{enumerable:true,get:function(){return chunkWTIN6QHX_js.D}});Object.defineProperty(exports,"computeHfSelectionRectsFromView",{enumerable:true,get:function(){return chunkWTIN6QHX_js.E}});Object.defineProperty(exports,"computePerBlockWidths",{enumerable:true,get:function(){return chunkWTIN6QHX_js.Q}});Object.defineProperty(exports,"contributesToHeaderFooterFlowHeight",{enumerable:true,get:function(){return chunkWTIN6QHX_js.y}});Object.defineProperty(exports,"convertHeaderFooterPmDocToContent",{enumerable:true,get:function(){return chunkWTIN6QHX_js.B}});Object.defineProperty(exports,"convertHeaderFooterToContent",{enumerable:true,get:function(){return chunkWTIN6QHX_js.A}});Object.defineProperty(exports,"demoteBlockLikeFloatingTables",{enumerable:true,get:function(){return chunkWTIN6QHX_js.b}});Object.defineProperty(exports,"extendMarginsForHeaderFooter",{enumerable:true,get:function(){return chunkWTIN6QHX_js.F}});Object.defineProperty(exports,"getCaretPosition",{enumerable:true,get:function(){return chunkWTIN6QHX_js.t}});Object.defineProperty(exports,"getColumns",{enumerable:true,get:function(){return chunkWTIN6QHX_js.O}});Object.defineProperty(exports,"getMargins",{enumerable:true,get:function(){return chunkWTIN6QHX_js.M}});Object.defineProperty(exports,"getPageBounds",{enumerable:true,get:function(){return chunkWTIN6QHX_js.l}});Object.defineProperty(exports,"getPageIndexAtY",{enumerable:true,get:function(){return chunkWTIN6QHX_js.e}});Object.defineProperty(exports,"getPageSize",{enumerable:true,get:function(){return chunkWTIN6QHX_js.L}});Object.defineProperty(exports,"getPageTop",{enumerable:true,get:function(){return chunkWTIN6QHX_js.d}});Object.defineProperty(exports,"getPositionRect",{enumerable:true,get:function(){return chunkWTIN6QHX_js.q}});Object.defineProperty(exports,"getScrollYForPage",{enumerable:true,get:function(){return chunkWTIN6QHX_js.k}});Object.defineProperty(exports,"getTotalDocumentHeight",{enumerable:true,get:function(){return chunkWTIN6QHX_js.j}});Object.defineProperty(exports,"groupRectsByPage",{enumerable:true,get:function(){return chunkWTIN6QHX_js.v}});Object.defineProperty(exports,"hitTest",{enumerable:true,get:function(){return chunkWTIN6QHX_js.i}});Object.defineProperty(exports,"hitTestFragment",{enumerable:true,get:function(){return chunkWTIN6QHX_js.f}});Object.defineProperty(exports,"hitTestImageFragment",{enumerable:true,get:function(){return chunkWTIN6QHX_js.g}});Object.defineProperty(exports,"hitTestPage",{enumerable:true,get:function(){return chunkWTIN6QHX_js.c}});Object.defineProperty(exports,"hitTestTableCell",{enumerable:true,get:function(){return chunkWTIN6QHX_js.h}});Object.defineProperty(exports,"invalidateHfDomCache",{enumerable:true,get:function(){return chunkWTIN6QHX_js.C}});Object.defineProperty(exports,"isBlockLikeFloatingTable",{enumerable:true,get:function(){return chunkWTIN6QHX_js.a}});Object.defineProperty(exports,"isMultiPageSelection",{enumerable:true,get:function(){return chunkWTIN6QHX_js.u}});Object.defineProperty(exports,"normalizeHeaderFooterMeasureBlocks",{enumerable:true,get:function(){return chunkWTIN6QHX_js.w}});Object.defineProperty(exports,"positionToX",{enumerable:true,get:function(){return chunkWTIN6QHX_js.p}});Object.defineProperty(exports,"resolveHeaderFooter",{enumerable:true,get:function(){return chunkWTIN6QHX_js.N}});Object.defineProperty(exports,"resolveHeaderFooterVisualTop",{enumerable:true,get:function(){return chunkWTIN6QHX_js.x}});Object.defineProperty(exports,"selectionToRects",{enumerable:true,get:function(){return chunkWTIN6QHX_js.s}});Object.defineProperty(exports,"twipsToPixels",{enumerable:true,get:function(){return chunkWTIN6QHX_js.K}});Object.defineProperty(exports,"TABLE_INSERT_EDGE_PROXIMITY",{enumerable:true,get:function(){return chunkDUXHJ6QP_js.a}});Object.defineProperty(exports,"TABLE_INSERT_HIDE_DELAY_MS",{enumerable:true,get:function(){return chunkDUXHJ6QP_js.b}});Object.defineProperty(exports,"detectTableInsertHover",{enumerable:true,get:function(){return chunkDUXHJ6QP_js.c}});Object.defineProperty(exports,"FOOTNOTE_SEPARATOR_HEIGHT",{enumerable:true,get:function(){return chunkTT3ILFZC_js.a}});Object.defineProperty(exports,"MAX_FOOTNOTE_LAYOUT_PASSES",{enumerable:true,get:function(){return chunkTT3ILFZC_js.b}});Object.defineProperty(exports,"applyFootnotePresentation",{enumerable:true,get:function(){return chunkTT3ILFZC_js.f}});Object.defineProperty(exports,"buildFootnoteContentMap",{enumerable:true,get:function(){return chunkTT3ILFZC_js.h}});Object.defineProperty(exports,"buildFootnoteRenderItems",{enumerable:true,get:function(){return chunkTT3ILFZC_js.k}});Object.defineProperty(exports,"calculateFootnoteReservedHeights",{enumerable:true,get:function(){return chunkTT3ILFZC_js.i}});Object.defineProperty(exports,"collectFootnoteRefs",{enumerable:true,get:function(){return chunkTT3ILFZC_js.d}});Object.defineProperty(exports,"convertFootnoteToContent",{enumerable:true,get:function(){return chunkTT3ILFZC_js.g}});Object.defineProperty(exports,"footnoteReservedHeightsEqual",{enumerable:true,get:function(){return chunkTT3ILFZC_js.c}});Object.defineProperty(exports,"mapFootnotesToPages",{enumerable:true,get:function(){return chunkTT3ILFZC_js.e}});Object.defineProperty(exports,"stabilizeFootnoteLayout",{enumerable:true,get:function(){return chunkTT3ILFZC_js.j}});Object.defineProperty(exports,"convertBorderSpecToLayout",{enumerable:true,get:function(){return chunkNKIDBERV_js.a}});Object.defineProperty(exports,"resolveListTemplate",{enumerable:true,get:function(){return chunkNKIDBERV_js.b}});Object.defineProperty(exports,"toFlowBlocks",{enumerable:true,get:function(){return chunkNKIDBERV_js.c}});Object.defineProperty(exports,"clickToPositionDom",{enumerable:true,get:function(){return chunkMWOHCSZE_js.e}});Object.defineProperty(exports,"clipRectToTableWindow",{enumerable:true,get:function(){return chunkMWOHCSZE_js.f}});Object.defineProperty(exports,"findBodyEmptyRuns",{enumerable:true,get:function(){return chunkMWOHCSZE_js.b}});Object.defineProperty(exports,"findBodyPmAnchor",{enumerable:true,get:function(){return chunkMWOHCSZE_js.d}});Object.defineProperty(exports,"findBodyPmAnchors",{enumerable:true,get:function(){return chunkMWOHCSZE_js.c}});Object.defineProperty(exports,"findBodyPmSpans",{enumerable:true,get:function(){return chunkMWOHCSZE_js.a}});Object.defineProperty(exports,"getCaretPositionFromDom",{enumerable:true,get:function(){return chunkMWOHCSZE_js.h}});Object.defineProperty(exports,"getSelectionRectsFromDom",{enumerable:true,get:function(){return chunkMWOHCSZE_js.g}});Object.defineProperty(exports,"mouseToPosition",{enumerable:true,get:function(){return chunkMWOHCSZE_js.e}});Object.defineProperty(exports,"clearAllCaches",{enumerable:true,get:function(){return chunkYUHOVME2_js.B}});Object.defineProperty(exports,"clearFontMetricsCache",{enumerable:true,get:function(){return chunkYUHOVME2_js.s}});Object.defineProperty(exports,"clearParagraphMeasureCache",{enumerable:true,get:function(){return chunkYUHOVME2_js.y}});Object.defineProperty(exports,"clearTextWidthCache",{enumerable:true,get:function(){return chunkYUHOVME2_js.n}});Object.defineProperty(exports,"getCachedFontMetrics",{enumerable:true,get:function(){return chunkYUHOVME2_js.q}});Object.defineProperty(exports,"getCachedParagraphMeasure",{enumerable:true,get:function(){return chunkYUHOVME2_js.w}});Object.defineProperty(exports,"getCachedTextWidth",{enumerable:true,get:function(){return chunkYUHOVME2_js.l}});Object.defineProperty(exports,"getFontCacheSize",{enumerable:true,get:function(){return chunkYUHOVME2_js.u}});Object.defineProperty(exports,"getParagraphCacheSize",{enumerable:true,get:function(){return chunkYUHOVME2_js.A}});Object.defineProperty(exports,"getTextCacheSize",{enumerable:true,get:function(){return chunkYUHOVME2_js.p}});Object.defineProperty(exports,"getTotalCacheSize",{enumerable:true,get:function(){return chunkYUHOVME2_js.C}});Object.defineProperty(exports,"hashParagraphBlock",{enumerable:true,get:function(){return chunkYUHOVME2_js.v}});Object.defineProperty(exports,"measureBlocksWithFloats",{enumerable:true,get:function(){return chunkYUHOVME2_js.k}});Object.defineProperty(exports,"measureTableBlock",{enumerable:true,get:function(){return chunkYUHOVME2_js.j}});Object.defineProperty(exports,"measureTableCellBlockVisualHeight",{enumerable:true,get:function(){return chunkYUHOVME2_js.i}});Object.defineProperty(exports,"setCachedFontMetrics",{enumerable:true,get:function(){return chunkYUHOVME2_js.r}});Object.defineProperty(exports,"setCachedParagraphMeasure",{enumerable:true,get:function(){return chunkYUHOVME2_js.x}});Object.defineProperty(exports,"setCachedTextWidth",{enumerable:true,get:function(){return chunkYUHOVME2_js.m}});Object.defineProperty(exports,"setFontCacheSize",{enumerable:true,get:function(){return chunkYUHOVME2_js.t}});Object.defineProperty(exports,"setParagraphCacheSize",{enumerable:true,get:function(){return chunkYUHOVME2_js.z}});Object.defineProperty(exports,"setTextCacheSize",{enumerable:true,get:function(){return chunkYUHOVME2_js.o}});Object.defineProperty(exports,"buildFontString",{enumerable:true,get:function(){return chunkXCTYXYEU_js.i}});Object.defineProperty(exports,"clampFloatingWrapMargins",{enumerable:true,get:function(){return chunkXCTYXYEU_js.y}});Object.defineProperty(exports,"countTableColumns",{enumerable:true,get:function(){return chunkXCTYXYEU_js.c}});Object.defineProperty(exports,"findCharacterAtX",{enumerable:true,get:function(){return chunkXCTYXYEU_js.n}});Object.defineProperty(exports,"getCanvasContext",{enumerable:true,get:function(){return chunkXCTYXYEU_js.g}});Object.defineProperty(exports,"getFloatingMargins",{enumerable:true,get:function(){return chunkXCTYXYEU_js.D}});Object.defineProperty(exports,"getFontMetrics",{enumerable:true,get:function(){return chunkXCTYXYEU_js.j}});Object.defineProperty(exports,"getRunCharWidths",{enumerable:true,get:function(){return chunkXCTYXYEU_js.B}});Object.defineProperty(exports,"getXForCharacter",{enumerable:true,get:function(){return chunkXCTYXYEU_js.o}});Object.defineProperty(exports,"halfPtToPx",{enumerable:true,get:function(){return chunkXCTYXYEU_js.t}});Object.defineProperty(exports,"measureParagraph",{enumerable:true,get:function(){return chunkXCTYXYEU_js.z}});Object.defineProperty(exports,"measureParagraphs",{enumerable:true,get:function(){return chunkXCTYXYEU_js.A}});Object.defineProperty(exports,"measureRun",{enumerable:true,get:function(){return chunkXCTYXYEU_js.m}});Object.defineProperty(exports,"measureText",{enumerable:true,get:function(){return chunkXCTYXYEU_js.l}});Object.defineProperty(exports,"measureTextWidth",{enumerable:true,get:function(){return chunkXCTYXYEU_js.k}});Object.defineProperty(exports,"normalizeTableColumnWidths",{enumerable:true,get:function(){return chunkXCTYXYEU_js.d}});Object.defineProperty(exports,"ptToPx",{enumerable:true,get:function(){return chunkXCTYXYEU_js.r}});Object.defineProperty(exports,"pxToHalfPt",{enumerable:true,get:function(){return chunkXCTYXYEU_js.u}});Object.defineProperty(exports,"pxToPt",{enumerable:true,get:function(){return chunkXCTYXYEU_js.s}});Object.defineProperty(exports,"pxToTwips",{enumerable:true,get:function(){return chunkXCTYXYEU_js.q}});Object.defineProperty(exports,"rectsToFloatingZones",{enumerable:true,get:function(){return chunkXCTYXYEU_js.C}});Object.defineProperty(exports,"resetCanvasContext",{enumerable:true,get:function(){return chunkXCTYXYEU_js.h}});Object.defineProperty(exports,"resolveCellGrid",{enumerable:true,get:function(){return chunkXCTYXYEU_js.b}});Object.defineProperty(exports,"resolveTableColumnWidths",{enumerable:true,get:function(){return chunkXCTYXYEU_js.e}});Object.defineProperty(exports,"resolveTableTotalWidthPx",{enumerable:true,get:function(){return chunkXCTYXYEU_js.f}});Object.defineProperty(exports,"resolveTableWidthPx",{enumerable:true,get:function(){return chunkXCTYXYEU_js.a}});Object.defineProperty(exports,"twipsToPx",{enumerable:true,get:function(){return chunkXCTYXYEU_js.p}});Object.defineProperty(exports,"resetBlockIdCounter",{enumerable:true,get:function(){return chunkIMKU4O3P_js.d}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{I as DEFAULT_BODY_MARGIN_PX,J as DEFAULT_HF_DISTANCE_PX,H as DEFAULT_PAGE_HEIGHT_PX,G as DEFAULT_PAGE_WIDTH_PX,r as applyCellSelectionHighlight,z as calculateHeaderFooterVisualBounds,o as clickToPosition,m as clickToPositionInParagraph,n as clickToPositionInTableCell,P as columnWidthForSection,D as computeHfCaretRectFromView,E as computeHfSelectionRectsFromView,Q as computePerBlockWidths,y as contributesToHeaderFooterFlowHeight,B as convertHeaderFooterPmDocToContent,A as convertHeaderFooterToContent,b as demoteBlockLikeFloatingTables,F as extendMarginsForHeaderFooter,t as getCaretPosition,O as getColumns,M as getMargins,l as getPageBounds,e as getPageIndexAtY,L as getPageSize,d as getPageTop,q as getPositionRect,k as getScrollYForPage,j as getTotalDocumentHeight,v as groupRectsByPage,i as hitTest,f as hitTestFragment,g as hitTestImageFragment,c as hitTestPage,h as hitTestTableCell,C as invalidateHfDomCache,a as isBlockLikeFloatingTable,u as isMultiPageSelection,w as normalizeHeaderFooterMeasureBlocks,p as positionToX,N as resolveHeaderFooter,x as resolveHeaderFooterVisualTop,s as selectionToRects,K as twipsToPixels}from'../chunk-A7C3DGQA.mjs';export{a as TABLE_INSERT_EDGE_PROXIMITY,b as TABLE_INSERT_HIDE_DELAY_MS,c as detectTableInsertHover}from'../chunk-ICNIAAH7.mjs';export{a as FOOTNOTE_SEPARATOR_HEIGHT,b as MAX_FOOTNOTE_LAYOUT_PASSES,f as applyFootnotePresentation,h as buildFootnoteContentMap,k as buildFootnoteRenderItems,i as calculateFootnoteReservedHeights,d as collectFootnoteRefs,g as convertFootnoteToContent,c as footnoteReservedHeightsEqual,e as mapFootnotesToPages,j as stabilizeFootnoteLayout}from'../chunk-HQ76VZAN.mjs';export{a as convertBorderSpecToLayout,b as resolveListTemplate,c as toFlowBlocks}from'../chunk-7EU6E64E.mjs';export{e as clickToPositionDom,f as clipRectToTableWindow,b as findBodyEmptyRuns,d as findBodyPmAnchor,c as findBodyPmAnchors,a as findBodyPmSpans,h as getCaretPositionFromDom,g as getSelectionRectsFromDom,e as mouseToPosition}from'../chunk-RRJKF2XI.mjs';export{B as clearAllCaches,s as clearFontMetricsCache,y as clearParagraphMeasureCache,n as clearTextWidthCache,q as getCachedFontMetrics,w as getCachedParagraphMeasure,l as getCachedTextWidth,u as getFontCacheSize,A as getParagraphCacheSize,p as getTextCacheSize,C as getTotalCacheSize,v as hashParagraphBlock,k as measureBlocksWithFloats,j as measureTableBlock,i as measureTableCellBlockVisualHeight,r as setCachedFontMetrics,x as setCachedParagraphMeasure,m as setCachedTextWidth,t as setFontCacheSize,z as setParagraphCacheSize,o as setTextCacheSize}from'../chunk-QCPISGPW.mjs';export{i as buildFontString,y as clampFloatingWrapMargins,c as countTableColumns,n as findCharacterAtX,g as getCanvasContext,D as getFloatingMargins,j as getFontMetrics,B as getRunCharWidths,o as getXForCharacter,t as halfPtToPx,z as measureParagraph,A as measureParagraphs,m as measureRun,l as measureText,k as measureTextWidth,d as normalizeTableColumnWidths,r as ptToPx,u as pxToHalfPt,s as pxToPt,q as pxToTwips,C as rectsToFloatingZones,h as resetCanvasContext,b as resolveCellGrid,e as resolveTableColumnWidths,f as resolveTableTotalWidthPx,a as resolveTableWidthPx,p as twipsToPx}from'../chunk-VMBCUUZM.mjs';export{d as resetBlockIdCounter}from'../chunk-FCJWLEKT.mjs';import'../chunk-7E5VBRDL.mjs';import'../chunk-47SKD7QB.mjs';import'../chunk-MOCGHQ4A.mjs';import'../chunk-NN2EJIO7.mjs';import'../chunk-O5L4BZCZ.mjs';import'../chunk-LK6I3HMH.mjs';import'../chunk-QPFJJPIC.mjs';import'../chunk-GYWTUUXX.mjs';import'../chunk-3HLRRK6N.mjs';import'../chunk-W77JXDEV.mjs';import'../chunk-SHZOAUHB.mjs';import'../chunk-TXAB4I4M.mjs';import'../chunk-PJEB3ZWG.mjs';import'../chunk-OZMNIX6U.mjs';import'../chunk-AMENZY5F.mjs';import'../chunk-HEJJXAXN.mjs';import'../chunk-BGY3CB37.mjs';import'../chunk-2XP6GLA4.mjs';import'../chunk-NTBZRITU.mjs';import'../chunk-MJ6XZFVD.mjs';import'../chunk-67LVRQIR.mjs';import'../chunk-LE67NTCN.mjs';import'../chunk-KNY7SXPJ.mjs';import'../chunk-DI6CRWSW.mjs';import'../chunk-VJFIAFZ5.mjs';import'../chunk-3ANZ3252.mjs';import'../chunk-QYUPLKLP.mjs';
|
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
import { TextRun, ParagraphBlock, ParagraphMeasure } from '../../layout-engine/types.mjs';
|
|
10
10
|
import { b as FloatingImageZone } from '../../measureBlocksPipeline-BMqbRFQB.mjs';
|
|
11
11
|
export { F as FloatPageGeometry, a as FloatingExclusionRect, c as FloatingLineSegmentZone, M as MeasureBlockFn, g as getFloatingMargins, m as measureBlocksWithFloats, r as rectsToFloatingZones } from '../../measureBlocksPipeline-BMqbRFQB.mjs';
|
|
12
|
-
import '../../content-
|
|
12
|
+
import '../../content-BEFz1zcs.mjs';
|
|
13
13
|
import '../../formatting-DFtuRFQY.mjs';
|
|
14
14
|
import '../../colors-C3vA7HUU.mjs';
|
|
15
15
|
import '../../docx/wrapTypes.mjs';
|
|
16
16
|
import '../../lists-CyGxd5Y2.mjs';
|
|
17
|
-
import '../../watermark-
|
|
17
|
+
import '../../watermark-D90356ZM.mjs';
|
|
18
18
|
import '../../anchoredObjectPosition-KJEyF-wr.mjs';
|
|
19
19
|
|
|
20
20
|
/**
|
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
import { TextRun, ParagraphBlock, ParagraphMeasure } from '../../layout-engine/types.js';
|
|
10
10
|
import { b as FloatingImageZone } from '../../measureBlocksPipeline-iYNzAH-o.js';
|
|
11
11
|
export { F as FloatPageGeometry, a as FloatingExclusionRect, c as FloatingLineSegmentZone, M as MeasureBlockFn, g as getFloatingMargins, m as measureBlocksWithFloats, r as rectsToFloatingZones } from '../../measureBlocksPipeline-iYNzAH-o.js';
|
|
12
|
-
import '../../content-
|
|
12
|
+
import '../../content-DNcMlHU0.js';
|
|
13
13
|
import '../../formatting-JhqWT_XM.js';
|
|
14
14
|
import '../../colors-C3vA7HUU.js';
|
|
15
15
|
import '../../docx/wrapTypes.js';
|
|
16
16
|
import '../../lists-Bn29SzeS.js';
|
|
17
|
-
import '../../watermark-
|
|
17
|
+
import '../../watermark-D90356ZM.js';
|
|
18
18
|
import '../../anchoredObjectPosition-CS-8BfhO.js';
|
|
19
19
|
|
|
20
20
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkYUHOVME2_js=require('../../chunk-YUHOVME2.js'),chunkXCTYXYEU_js=require('../../chunk-XCTYXYEU.js');require('../../chunk-IMKU4O3P.js'),require('../../chunk-DROCYKAR.js'),require('../../chunk-FIGLFSNR.js'),require('../../chunk-JFZIXFRC.js'),require('../../chunk-N3Y5BUKV.js'),require('../../chunk-BJSG6TEG.js'),require('../../chunk-3R7QHNI5.js'),require('../../chunk-DC7S76ZX.js');Object.defineProperty(exports,"clearAllCaches",{enumerable:true,get:function(){return chunkYUHOVME2_js.B}});Object.defineProperty(exports,"clearFontMetricsCache",{enumerable:true,get:function(){return chunkYUHOVME2_js.s}});Object.defineProperty(exports,"clearParagraphMeasureCache",{enumerable:true,get:function(){return chunkYUHOVME2_js.y}});Object.defineProperty(exports,"clearTextWidthCache",{enumerable:true,get:function(){return chunkYUHOVME2_js.n}});Object.defineProperty(exports,"getCachedFontMetrics",{enumerable:true,get:function(){return chunkYUHOVME2_js.q}});Object.defineProperty(exports,"getCachedParagraphMeasure",{enumerable:true,get:function(){return chunkYUHOVME2_js.w}});Object.defineProperty(exports,"getCachedTextWidth",{enumerable:true,get:function(){return chunkYUHOVME2_js.l}});Object.defineProperty(exports,"getFontCacheSize",{enumerable:true,get:function(){return chunkYUHOVME2_js.u}});Object.defineProperty(exports,"getParagraphCacheSize",{enumerable:true,get:function(){return chunkYUHOVME2_js.A}});Object.defineProperty(exports,"getTextCacheSize",{enumerable:true,get:function(){return chunkYUHOVME2_js.p}});Object.defineProperty(exports,"getTotalCacheSize",{enumerable:true,get:function(){return chunkYUHOVME2_js.C}});Object.defineProperty(exports,"hashParagraphBlock",{enumerable:true,get:function(){return chunkYUHOVME2_js.v}});Object.defineProperty(exports,"measureBlocksWithFloats",{enumerable:true,get:function(){return chunkYUHOVME2_js.k}});Object.defineProperty(exports,"setCachedFontMetrics",{enumerable:true,get:function(){return chunkYUHOVME2_js.r}});Object.defineProperty(exports,"setCachedParagraphMeasure",{enumerable:true,get:function(){return chunkYUHOVME2_js.x}});Object.defineProperty(exports,"setCachedTextWidth",{enumerable:true,get:function(){return chunkYUHOVME2_js.m}});Object.defineProperty(exports,"setFontCacheSize",{enumerable:true,get:function(){return chunkYUHOVME2_js.t}});Object.defineProperty(exports,"setParagraphCacheSize",{enumerable:true,get:function(){return chunkYUHOVME2_js.z}});Object.defineProperty(exports,"setTextCacheSize",{enumerable:true,get:function(){return chunkYUHOVME2_js.o}});Object.defineProperty(exports,"buildFontString",{enumerable:true,get:function(){return chunkXCTYXYEU_js.i}});Object.defineProperty(exports,"clampFloatingWrapMargins",{enumerable:true,get:function(){return chunkXCTYXYEU_js.y}});Object.defineProperty(exports,"findCharacterAtX",{enumerable:true,get:function(){return chunkXCTYXYEU_js.n}});Object.defineProperty(exports,"getCanvasContext",{enumerable:true,get:function(){return chunkXCTYXYEU_js.g}});Object.defineProperty(exports,"getFloatingMargins",{enumerable:true,get:function(){return chunkXCTYXYEU_js.D}});Object.defineProperty(exports,"getFontMetrics",{enumerable:true,get:function(){return chunkXCTYXYEU_js.j}});Object.defineProperty(exports,"getRunCharWidths",{enumerable:true,get:function(){return chunkXCTYXYEU_js.B}});Object.defineProperty(exports,"getXForCharacter",{enumerable:true,get:function(){return chunkXCTYXYEU_js.o}});Object.defineProperty(exports,"halfPtToPx",{enumerable:true,get:function(){return chunkXCTYXYEU_js.t}});Object.defineProperty(exports,"measureParagraph",{enumerable:true,get:function(){return chunkXCTYXYEU_js.z}});Object.defineProperty(exports,"measureParagraphs",{enumerable:true,get:function(){return chunkXCTYXYEU_js.A}});Object.defineProperty(exports,"measureRun",{enumerable:true,get:function(){return chunkXCTYXYEU_js.m}});Object.defineProperty(exports,"measureText",{enumerable:true,get:function(){return chunkXCTYXYEU_js.l}});Object.defineProperty(exports,"measureTextWidth",{enumerable:true,get:function(){return chunkXCTYXYEU_js.k}});Object.defineProperty(exports,"ptToPx",{enumerable:true,get:function(){return chunkXCTYXYEU_js.r}});Object.defineProperty(exports,"pxToHalfPt",{enumerable:true,get:function(){return chunkXCTYXYEU_js.u}});Object.defineProperty(exports,"pxToPt",{enumerable:true,get:function(){return chunkXCTYXYEU_js.s}});Object.defineProperty(exports,"pxToTwips",{enumerable:true,get:function(){return chunkXCTYXYEU_js.q}});Object.defineProperty(exports,"rectsToFloatingZones",{enumerable:true,get:function(){return chunkXCTYXYEU_js.C}});Object.defineProperty(exports,"resetCanvasContext",{enumerable:true,get:function(){return chunkXCTYXYEU_js.h}});Object.defineProperty(exports,"twipsToPx",{enumerable:true,get:function(){return chunkXCTYXYEU_js.p}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{B as clearAllCaches,s as clearFontMetricsCache,y as clearParagraphMeasureCache,n as clearTextWidthCache,q as getCachedFontMetrics,w as getCachedParagraphMeasure,l as getCachedTextWidth,u as getFontCacheSize,A as getParagraphCacheSize,p as getTextCacheSize,C as getTotalCacheSize,v as hashParagraphBlock,k as measureBlocksWithFloats,r as setCachedFontMetrics,x as setCachedParagraphMeasure,m as setCachedTextWidth,t as setFontCacheSize,z as setParagraphCacheSize,o as setTextCacheSize}from'../../chunk-
|
|
1
|
+
export{B as clearAllCaches,s as clearFontMetricsCache,y as clearParagraphMeasureCache,n as clearTextWidthCache,q as getCachedFontMetrics,w as getCachedParagraphMeasure,l as getCachedTextWidth,u as getFontCacheSize,A as getParagraphCacheSize,p as getTextCacheSize,C as getTotalCacheSize,v as hashParagraphBlock,k as measureBlocksWithFloats,r as setCachedFontMetrics,x as setCachedParagraphMeasure,m as setCachedTextWidth,t as setFontCacheSize,z as setParagraphCacheSize,o as setTextCacheSize}from'../../chunk-QCPISGPW.mjs';export{i as buildFontString,y as clampFloatingWrapMargins,n as findCharacterAtX,g as getCanvasContext,D as getFloatingMargins,j as getFontMetrics,B as getRunCharWidths,o as getXForCharacter,t as halfPtToPx,z as measureParagraph,A as measureParagraphs,m as measureRun,l as measureText,k as measureTextWidth,r as ptToPx,u as pxToHalfPt,s as pxToPt,q as pxToTwips,C as rectsToFloatingZones,h as resetCanvasContext,p as twipsToPx}from'../../chunk-VMBCUUZM.mjs';import'../../chunk-FCJWLEKT.mjs';import'../../chunk-7E5VBRDL.mjs';import'../../chunk-MOCGHQ4A.mjs';import'../../chunk-QPFJJPIC.mjs';import'../../chunk-AMENZY5F.mjs';import'../../chunk-KNY7SXPJ.mjs';import'../../chunk-3ANZ3252.mjs';import'../../chunk-QYUPLKLP.mjs';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkDUXHJ6QP_js=require('../chunk-DUXHJ6QP.js');require('../chunk-TT3ILFZC.js'),require('../chunk-NKIDBERV.js'),require('../chunk-YUHOVME2.js'),require('../chunk-XCTYXYEU.js'),require('../chunk-IMKU4O3P.js'),require('../chunk-DROCYKAR.js'),require('../chunk-DFDL337G.js'),require('../chunk-FIGLFSNR.js'),require('../chunk-DKUHG27E.js'),require('../chunk-PGWY6UFK.js'),require('../chunk-ISKTBM4L.js'),require('../chunk-JFZIXFRC.js'),require('../chunk-RQVHKDXK.js'),require('../chunk-LW5OFHSW.js'),require('../chunk-Z3LGMBJC.js'),require('../chunk-4U2S3WV2.js'),require('../chunk-DUVSDFRG.js'),require('../chunk-Q2VALXEU.js'),require('../chunk-MZ7LW5CH.js'),require('../chunk-N3Y5BUKV.js'),require('../chunk-ILPNMG7Q.js'),require('../chunk-6LVPRTB6.js'),require('../chunk-LWH66Q7Q.js'),require('../chunk-X6AICTHN.js'),require('../chunk-7HANRHHL.js'),require('../chunk-MJ5FQX7Q.js'),require('../chunk-C2BAPYGJ.js'),require('../chunk-BJSG6TEG.js'),require('../chunk-GSKMHXHG.js'),require('../chunk-H57LNDBH.js'),require('../chunk-3R7QHNI5.js'),require('../chunk-DC7S76ZX.js');Object.defineProperty(exports,"TABLE_INSERT_EDGE_PROXIMITY",{enumerable:true,get:function(){return chunkDUXHJ6QP_js.a}});Object.defineProperty(exports,"TABLE_INSERT_HIDE_DELAY_MS",{enumerable:true,get:function(){return chunkDUXHJ6QP_js.b}});Object.defineProperty(exports,"detectTableInsertHover",{enumerable:true,get:function(){return chunkDUXHJ6QP_js.c}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as TABLE_INSERT_EDGE_PROXIMITY,b as TABLE_INSERT_HIDE_DELAY_MS,c as detectTableInsertHover}from'../chunk-
|
|
1
|
+
export{a as TABLE_INSERT_EDGE_PROXIMITY,b as TABLE_INSERT_HIDE_DELAY_MS,c as detectTableInsertHover}from'../chunk-ICNIAAH7.mjs';import'../chunk-HQ76VZAN.mjs';import'../chunk-7EU6E64E.mjs';import'../chunk-QCPISGPW.mjs';import'../chunk-VMBCUUZM.mjs';import'../chunk-FCJWLEKT.mjs';import'../chunk-7E5VBRDL.mjs';import'../chunk-47SKD7QB.mjs';import'../chunk-MOCGHQ4A.mjs';import'../chunk-NN2EJIO7.mjs';import'../chunk-O5L4BZCZ.mjs';import'../chunk-LK6I3HMH.mjs';import'../chunk-QPFJJPIC.mjs';import'../chunk-GYWTUUXX.mjs';import'../chunk-3HLRRK6N.mjs';import'../chunk-W77JXDEV.mjs';import'../chunk-SHZOAUHB.mjs';import'../chunk-TXAB4I4M.mjs';import'../chunk-PJEB3ZWG.mjs';import'../chunk-OZMNIX6U.mjs';import'../chunk-AMENZY5F.mjs';import'../chunk-HEJJXAXN.mjs';import'../chunk-BGY3CB37.mjs';import'../chunk-2XP6GLA4.mjs';import'../chunk-NTBZRITU.mjs';import'../chunk-MJ6XZFVD.mjs';import'../chunk-67LVRQIR.mjs';import'../chunk-LE67NTCN.mjs';import'../chunk-KNY7SXPJ.mjs';import'../chunk-DI6CRWSW.mjs';import'../chunk-VJFIAFZ5.mjs';import'../chunk-3ANZ3252.mjs';import'../chunk-QYUPLKLP.mjs';
|
|
@@ -14,11 +14,11 @@ import { Node } from 'prosemirror-model';
|
|
|
14
14
|
import { BorderStyle, FlowBlock } from '../layout-engine/types.mjs';
|
|
15
15
|
import { T as Theme } from '../styles-Dqec8Aw6.mjs';
|
|
16
16
|
import { N as NumberFormat } from '../lists-CyGxd5Y2.mjs';
|
|
17
|
-
import '../content-
|
|
17
|
+
import '../content-BEFz1zcs.mjs';
|
|
18
18
|
import '../formatting-DFtuRFQY.mjs';
|
|
19
19
|
import '../colors-C3vA7HUU.mjs';
|
|
20
20
|
import '../docx/wrapTypes.mjs';
|
|
21
|
-
import '../watermark-
|
|
21
|
+
import '../watermark-D90356ZM.mjs';
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
24
|
* Shared types and primitive helpers used across toFlowBlocks sub-modules.
|
|
@@ -14,11 +14,11 @@ import { Node } from 'prosemirror-model';
|
|
|
14
14
|
import { BorderStyle, FlowBlock } from '../layout-engine/types.js';
|
|
15
15
|
import { T as Theme } from '../styles-gEujs7j6.js';
|
|
16
16
|
import { N as NumberFormat } from '../lists-Bn29SzeS.js';
|
|
17
|
-
import '../content-
|
|
17
|
+
import '../content-DNcMlHU0.js';
|
|
18
18
|
import '../formatting-JhqWT_XM.js';
|
|
19
19
|
import '../colors-C3vA7HUU.js';
|
|
20
20
|
import '../docx/wrapTypes.js';
|
|
21
|
-
import '../watermark-
|
|
21
|
+
import '../watermark-D90356ZM.js';
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
24
|
* Shared types and primitive helpers used across toFlowBlocks sub-modules.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkNKIDBERV_js=require('../chunk-NKIDBERV.js'),chunkIMKU4O3P_js=require('../chunk-IMKU4O3P.js');require('../chunk-DROCYKAR.js'),require('../chunk-DFDL337G.js'),require('../chunk-LW5OFHSW.js'),require('../chunk-Z3LGMBJC.js'),require('../chunk-MJ5FQX7Q.js'),require('../chunk-BJSG6TEG.js'),require('../chunk-H57LNDBH.js'),require('../chunk-3R7QHNI5.js'),require('../chunk-DC7S76ZX.js');Object.defineProperty(exports,"convertBorderSpecToLayout",{enumerable:true,get:function(){return chunkNKIDBERV_js.a}});Object.defineProperty(exports,"resolveListTemplate",{enumerable:true,get:function(){return chunkNKIDBERV_js.b}});Object.defineProperty(exports,"toFlowBlocks",{enumerable:true,get:function(){return chunkNKIDBERV_js.c}});Object.defineProperty(exports,"resetBlockIdCounter",{enumerable:true,get:function(){return chunkIMKU4O3P_js.d}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as convertBorderSpecToLayout,b as resolveListTemplate,c as toFlowBlocks}from'../chunk-
|
|
1
|
+
export{a as convertBorderSpecToLayout,b as resolveListTemplate,c as toFlowBlocks}from'../chunk-7EU6E64E.mjs';export{d as resetBlockIdCounter}from'../chunk-FCJWLEKT.mjs';import'../chunk-7E5VBRDL.mjs';import'../chunk-47SKD7QB.mjs';import'../chunk-3HLRRK6N.mjs';import'../chunk-W77JXDEV.mjs';import'../chunk-67LVRQIR.mjs';import'../chunk-KNY7SXPJ.mjs';import'../chunk-VJFIAFZ5.mjs';import'../chunk-3ANZ3252.mjs';import'../chunk-QYUPLKLP.mjs';
|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
import { Page, PageMargins, ColumnLayout, Fragment, FlowBlock, Measure, SectionBreakBlock, Layout, TextBoxBlock, TableMeasure, LayoutOptions } from './types.mjs';
|
|
13
13
|
export { BlockId, BorderStyle, CellBorderSpec, CellBorders, ColumnBreakBlock, ColumnBreakMeasure, DEFAULT_TEXTBOX_MARGINS, DEFAULT_TEXTBOX_WIDTH, DocumentPosition, FieldRun, FloatingTablePosition, FootnoteContent, FragmentBase, HeaderFooterContentHeights, HeaderFooterLayout, HitTestResult, HyperlinkInfo, ImageBlock, ImageFragment, ImageMeasure, ImageRun, ImageRunPosition, InlineSdtWidget, LineBreakRun, ListNumPr, MeasuredLine, MeasuredLineSegment, PageBreakBlock, PageBreakMeasure, ParagraphAttrs, ParagraphBlock, ParagraphBorders, ParagraphFragment, ParagraphIndent, ParagraphMeasure, ParagraphSpacing, Run, RunFormatting, SdtGroup, SectionBreakMeasure, TabAlignment, TabRun, TabStop, TableBlock, TableCell, TableCellMeasure, TableFragment, TableRow, TableRowMeasure, TextBoxFragment, TextBoxMeasure, TextRun, WrapTextDirection, assertExhaustiveFlowBlock } from './types.mjs';
|
|
14
14
|
export { isFloatingWrapType, isWrapNone, wrapsAroundText } from '../docx/wrapTypes.mjs';
|
|
15
|
-
import '../content-
|
|
15
|
+
import '../content-BEFz1zcs.mjs';
|
|
16
16
|
import '../formatting-DFtuRFQY.mjs';
|
|
17
17
|
import '../colors-C3vA7HUU.mjs';
|
|
18
18
|
import '../lists-CyGxd5Y2.mjs';
|
|
19
|
-
import '../watermark-
|
|
19
|
+
import '../watermark-D90356ZM.mjs';
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Paginator - manages page state during layout
|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
import { Page, PageMargins, ColumnLayout, Fragment, FlowBlock, Measure, SectionBreakBlock, Layout, TextBoxBlock, TableMeasure, LayoutOptions } from './types.js';
|
|
13
13
|
export { BlockId, BorderStyle, CellBorderSpec, CellBorders, ColumnBreakBlock, ColumnBreakMeasure, DEFAULT_TEXTBOX_MARGINS, DEFAULT_TEXTBOX_WIDTH, DocumentPosition, FieldRun, FloatingTablePosition, FootnoteContent, FragmentBase, HeaderFooterContentHeights, HeaderFooterLayout, HitTestResult, HyperlinkInfo, ImageBlock, ImageFragment, ImageMeasure, ImageRun, ImageRunPosition, InlineSdtWidget, LineBreakRun, ListNumPr, MeasuredLine, MeasuredLineSegment, PageBreakBlock, PageBreakMeasure, ParagraphAttrs, ParagraphBlock, ParagraphBorders, ParagraphFragment, ParagraphIndent, ParagraphMeasure, ParagraphSpacing, Run, RunFormatting, SdtGroup, SectionBreakMeasure, TabAlignment, TabRun, TabStop, TableBlock, TableCell, TableCellMeasure, TableFragment, TableRow, TableRowMeasure, TextBoxFragment, TextBoxMeasure, TextRun, WrapTextDirection, assertExhaustiveFlowBlock } from './types.js';
|
|
14
14
|
export { isFloatingWrapType, isWrapNone, wrapsAroundText } from '../docx/wrapTypes.js';
|
|
15
|
-
import '../content-
|
|
15
|
+
import '../content-DNcMlHU0.js';
|
|
16
16
|
import '../formatting-JhqWT_XM.js';
|
|
17
17
|
import '../colors-C3vA7HUU.js';
|
|
18
18
|
import '../lists-Bn29SzeS.js';
|
|
19
|
-
import '../watermark-
|
|
19
|
+
import '../watermark-D90356ZM.js';
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Paginator - manages page state during layout
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkXCTYXYEU_js=require('../chunk-XCTYXYEU.js');require('../chunk-IMKU4O3P.js');var chunkDROCYKAR_js=require('../chunk-DROCYKAR.js');require('../chunk-FIGLFSNR.js');var chunkJFZIXFRC_js=require('../chunk-JFZIXFRC.js');require('../chunk-N3Y5BUKV.js'),require('../chunk-BJSG6TEG.js'),require('../chunk-3R7QHNI5.js'),require('../chunk-DC7S76ZX.js');Object.defineProperty(exports,"applyPendingToActive",{enumerable:true,get:function(){return chunkXCTYXYEU_js.R}});Object.defineProperty(exports,"calculateChainHeight",{enumerable:true,get:function(){return chunkXCTYXYEU_js.H}});Object.defineProperty(exports,"collectSectionConfigs",{enumerable:true,get:function(){return chunkXCTYXYEU_js.W}});Object.defineProperty(exports,"computeKeepNextChains",{enumerable:true,get:function(){return chunkXCTYXYEU_js.G}});Object.defineProperty(exports,"createInitialSectionState",{enumerable:true,get:function(){return chunkXCTYXYEU_js.P}});Object.defineProperty(exports,"createPaginator",{enumerable:true,get:function(){return chunkXCTYXYEU_js.F}});Object.defineProperty(exports,"findPageIndexContainingPmPos",{enumerable:true,get:function(){return chunkXCTYXYEU_js.V}});Object.defineProperty(exports,"floatingTextBoxReservesBand",{enumerable:true,get:function(){return chunkXCTYXYEU_js.M}});Object.defineProperty(exports,"floatingTextBoxWrapsText",{enumerable:true,get:function(){return chunkXCTYXYEU_js.N}});Object.defineProperty(exports,"getEffectiveColumns",{enumerable:true,get:function(){return chunkXCTYXYEU_js.U}});Object.defineProperty(exports,"getEffectiveMargins",{enumerable:true,get:function(){return chunkXCTYXYEU_js.S}});Object.defineProperty(exports,"getEffectivePageSize",{enumerable:true,get:function(){return chunkXCTYXYEU_js.T}});Object.defineProperty(exports,"getHeaderRowsHeight",{enumerable:true,get:function(){return chunkXCTYXYEU_js.Y}});Object.defineProperty(exports,"getMidChainIndices",{enumerable:true,get:function(){return chunkXCTYXYEU_js.I}});Object.defineProperty(exports,"hasKeepLines",{enumerable:true,get:function(){return chunkXCTYXYEU_js.J}});Object.defineProperty(exports,"hasPageBreakBefore",{enumerable:true,get:function(){return chunkXCTYXYEU_js.K}});Object.defineProperty(exports,"isFloatingTextBoxBlock",{enumerable:true,get:function(){return chunkXCTYXYEU_js.L}});Object.defineProperty(exports,"layoutDocument",{enumerable:true,get:function(){return chunkXCTYXYEU_js.X}});Object.defineProperty(exports,"scheduleSectionBreak",{enumerable:true,get:function(){return chunkXCTYXYEU_js.Q}});Object.defineProperty(exports,"DEFAULT_TEXTBOX_MARGINS",{enumerable:true,get:function(){return chunkDROCYKAR_js.a}});Object.defineProperty(exports,"DEFAULT_TEXTBOX_WIDTH",{enumerable:true,get:function(){return chunkDROCYKAR_js.b}});Object.defineProperty(exports,"assertExhaustiveFlowBlock",{enumerable:true,get:function(){return chunkDROCYKAR_js.c}});Object.defineProperty(exports,"isFloatingWrapType",{enumerable:true,get:function(){return chunkJFZIXFRC_js.a}});Object.defineProperty(exports,"isWrapNone",{enumerable:true,get:function(){return chunkJFZIXFRC_js.b}});Object.defineProperty(exports,"wrapsAroundText",{enumerable:true,get:function(){return chunkJFZIXFRC_js.c}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{R as applyPendingToActive,H as calculateChainHeight,W as collectSectionConfigs,G as computeKeepNextChains,P as createInitialSectionState,F as createPaginator,V as findPageIndexContainingPmPos,M as floatingTextBoxReservesBand,N as floatingTextBoxWrapsText,U as getEffectiveColumns,S as getEffectiveMargins,T as getEffectivePageSize,Y as getHeaderRowsHeight,I as getMidChainIndices,J as hasKeepLines,K as hasPageBreakBefore,L as isFloatingTextBoxBlock,X as layoutDocument,Q as scheduleSectionBreak}from'../chunk-VMBCUUZM.mjs';import'../chunk-FCJWLEKT.mjs';export{a as DEFAULT_TEXTBOX_MARGINS,b as DEFAULT_TEXTBOX_WIDTH,c as assertExhaustiveFlowBlock}from'../chunk-7E5VBRDL.mjs';import'../chunk-MOCGHQ4A.mjs';export{a as isFloatingWrapType,b as isWrapNone,c as wrapsAroundText}from'../chunk-QPFJJPIC.mjs';import'../chunk-AMENZY5F.mjs';import'../chunk-KNY7SXPJ.mjs';import'../chunk-3ANZ3252.mjs';import'../chunk-QYUPLKLP.mjs';
|
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
* @packageDocumentation
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
9
|
-
import {
|
|
9
|
+
import { a as RevisionInfo, ax as CellMarker } from '../content-BEFz1zcs.mjs';
|
|
10
10
|
import '../formatting-DFtuRFQY.mjs';
|
|
11
11
|
import '../colors-C3vA7HUU.mjs';
|
|
12
12
|
import '../docx/wrapTypes.mjs';
|
|
13
13
|
import '../lists-CyGxd5Y2.mjs';
|
|
14
|
-
import '../watermark-
|
|
14
|
+
import '../watermark-D90356ZM.mjs';
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* Inline SDT widget metadata carried by a painted text run.
|
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
* @packageDocumentation
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
9
|
-
import {
|
|
9
|
+
import { a as RevisionInfo, ax as CellMarker } from '../content-DNcMlHU0.js';
|
|
10
10
|
import '../formatting-JhqWT_XM.js';
|
|
11
11
|
import '../colors-C3vA7HUU.js';
|
|
12
12
|
import '../docx/wrapTypes.js';
|
|
13
13
|
import '../lists-Bn29SzeS.js';
|
|
14
|
-
import '../watermark-
|
|
14
|
+
import '../watermark-D90356ZM.js';
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* Inline SDT widget metadata carried by a painted text run.
|
|
@@ -14,13 +14,13 @@ import '../layout-engine/types.mjs';
|
|
|
14
14
|
export { B as BlockLookup, a as BlockLookupEntry, F as FRAGMENT_CLASS_NAMES, I as IMAGE_CLASS_NAMES, b as IMAGE_LAYOUT_OPTIONS, c as ImageHitTestResult, d as ImageLayoutIconHint, e as ImageLayoutOptionDef, L as LAYOUT_IMAGE_CLASSES, f as LayoutPainter, P as PainterOptions, RenderContext, RenderPageOptions, RenderPagesUpdateKind, T as TABLE_CLASS_NAMES, g as TEXTBOX_CLASS_NAMES, h as applySdtFocus, i as buildBlockLookup, j as captureInlinePositionEmu, k as createPainter, l as deriveLayoutChoice, m as enclosingSdtGroupIds, n as findImageElement, o as hitTestImage, isFloatingImageRun, p as isImageLayoutOptionEnabled, isTextWrappingFloatingImageRun, renderAllPagesNow, r as renderFragment, q as renderImageFragment, s as renderLine, renderPage, renderPages, t as renderParagraphFragment, u as renderTableFragment, v as renderTextBoxFragment, w as sliceRunsForLine, x as toolbarValueToLayoutTarget } from './renderPage.mjs';
|
|
15
15
|
export { P as PageGeometry, p as pageGeometryFromPage, r as resolveAnchoredObjectPosition, a as resolveAnchoredObjectVerticalTop } from '../anchoredObjectPosition-KJEyF-wr.mjs';
|
|
16
16
|
export { F as FootnoteRenderItem, H as HeaderFooterContent } from '../footnotes-BZ24OTAT.mjs';
|
|
17
|
-
import '../content-
|
|
17
|
+
import '../content-BEFz1zcs.mjs';
|
|
18
18
|
import '../formatting-DFtuRFQY.mjs';
|
|
19
19
|
import '../colors-C3vA7HUU.mjs';
|
|
20
20
|
import '../docx/wrapTypes.mjs';
|
|
21
21
|
import '../lists-CyGxd5Y2.mjs';
|
|
22
|
-
import '../watermark-
|
|
22
|
+
import '../watermark-D90356ZM.mjs';
|
|
23
23
|
import 'prosemirror-model';
|
|
24
|
-
import '../nodes-
|
|
24
|
+
import '../nodes-5w_QaI3g.mjs';
|
|
25
25
|
import '../ImageExtension-BN327PNe.mjs';
|
|
26
26
|
import '../styles-Dqec8Aw6.mjs';
|