@eigenpal/docx-editor-core 1.0.3 → 1.1.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/LICENSE +13 -16
- package/dist/agent/index.d.mts +1 -2
- package/dist/agent/index.d.ts +1 -2
- package/dist/agent/index.js +1 -1
- package/dist/agent/index.mjs +1 -1
- package/dist/{chunk-Z4SJCSTS.js → chunk-25KY5HLN.js} +1 -1
- package/dist/chunk-44FHVKSI.js +1 -0
- package/dist/{chunk-XWQB6APW.mjs → chunk-5CDBSK2R.mjs} +1 -1
- package/dist/{chunk-EQVNAHL7.mjs → chunk-6Y6LON6Y.mjs} +1 -1
- package/dist/{chunk-QVEAQOMR.mjs → chunk-6ZXL3EIP.mjs} +1 -1
- package/dist/chunk-73AZQWIE.js +1 -0
- package/dist/chunk-7HANRHHL.js +1 -0
- package/dist/chunk-7LRR7RKE.mjs +15 -0
- package/dist/{chunk-GHQS3I2W.mjs → chunk-7Z2AGPNQ.mjs} +1 -1
- package/dist/chunk-BGE57OES.js +1 -0
- package/dist/{chunk-3JXR6YU4.mjs → chunk-BOOHU5EW.mjs} +1 -1
- package/dist/chunk-CA2EYL6T.mjs +1 -0
- package/dist/{chunk-2IE6UDHJ.mjs → chunk-CTHHUJAB.mjs} +1 -1
- package/dist/chunk-DLCDDB66.mjs +3 -0
- package/dist/chunk-DV6GWBUJ.js +2 -0
- package/dist/{chunk-EPX7BBJD.js → chunk-E4JMCA5X.js} +2 -2
- package/dist/chunk-F44ZLDZS.js +4 -0
- package/dist/chunk-FDEDN2RC.mjs +0 -0
- package/dist/chunk-FEWCI2E5.mjs +1 -0
- package/dist/chunk-GFDIPDJ6.mjs +1 -0
- package/dist/chunk-GM4USWKO.js +2 -0
- package/dist/chunk-GWBVJZVT.js +3 -0
- package/dist/chunk-GY5BWVM7.js +1 -0
- package/dist/{chunk-XBHF5Q2F.js → chunk-H42RXHT4.js} +1 -1
- package/dist/chunk-HMBVSDCH.mjs +1 -0
- package/dist/{chunk-D536HC5M.js → chunk-HQPWFUP5.js} +1 -1
- package/dist/chunk-HV6HE6YR.js +59 -0
- package/dist/chunk-IF4C25FN.mjs +1 -0
- package/dist/chunk-IQG3KLWY.mjs +2 -0
- package/dist/{chunk-ABBG4WD2.js → chunk-J4J2Y6EU.js} +2 -2
- package/dist/chunk-KGDXHUYC.js +1 -0
- package/dist/chunk-KHF4JU7D.mjs +1 -0
- package/dist/chunk-LCICADWM.js +2 -0
- package/dist/{chunk-D5E5TA74.js → chunk-LOCW6MR2.js} +1 -1
- package/dist/{chunk-XBIKSAH6.js → chunk-LTHT4A4S.js} +1 -1
- package/dist/chunk-MJ6XZFVD.mjs +1 -0
- package/dist/chunk-MNOHUTKE.js +15 -0
- package/dist/chunk-MP4QSEO2.mjs +1 -0
- package/dist/chunk-MZ2XCZAN.mjs +1 -0
- package/dist/chunk-OAWTQ3IY.js +1 -0
- package/dist/{chunk-HL5PQT3A.mjs → chunk-OEXVWIHW.mjs} +1 -1
- package/dist/chunk-ONRBRDIC.mjs +59 -0
- package/dist/{chunk-7PX32GLB.mjs → chunk-ONWOHAFW.mjs} +1 -1
- package/dist/{chunk-EV6W6KXG.mjs → chunk-OUEKNYX5.mjs} +1 -1
- package/dist/chunk-OX75Q5ZG.mjs +1 -0
- package/dist/chunk-QEACB5VG.js +1 -0
- package/dist/chunk-RFC2SXZ6.mjs +4 -0
- package/dist/chunk-RFVFX5WK.mjs +1 -0
- package/dist/chunk-SORYYVJ7.js +1 -0
- package/dist/chunk-TUIEV7Q7.js +1 -0
- package/dist/chunk-U74VPTIU.js +1 -0
- package/dist/chunk-UOQT6A7P.js +1 -0
- package/dist/chunk-V5VDCQDN.mjs +1 -0
- package/dist/chunk-VHUVPHPI.mjs +1 -0
- package/dist/{chunk-SAFW7UQZ.js → chunk-W7GLQ6DV.js} +1 -1
- package/dist/chunk-WLHNIXWC.mjs +2 -0
- package/dist/chunk-X6HFDXKB.js +1 -0
- package/dist/chunk-XPV6VILW.mjs +1 -0
- package/dist/chunk-Y3ZQQI4D.js +1 -0
- package/dist/chunk-YTDWMXNS.js +1 -0
- package/dist/chunk-ZUGNF5KU.js +1 -0
- package/dist/chunk-ZX26QZJ5.mjs +1 -0
- package/dist/content-5Mrz6w_b.d.mts +1360 -0
- package/dist/content-CmqAwdFL.d.ts +1360 -0
- package/dist/core-plugins.d.mts +1 -2
- package/dist/core-plugins.d.ts +1 -2
- package/dist/core-plugins.js +1 -1
- package/dist/core-plugins.mjs +1 -1
- package/dist/core.d.mts +6 -7
- package/dist/core.d.ts +6 -7
- package/dist/core.js +1 -1
- package/dist/core.mjs +1 -1
- package/dist/{documentSerializer-Chn7J1WG.d.ts → documentSerializer-BRaaXIHm.d.ts} +1 -1
- package/dist/{documentSerializer-C1ueey5d.d.mts → documentSerializer-DgO3A9av.d.mts} +1 -1
- package/dist/docx/index.d.mts +1 -2
- package/dist/docx/index.d.ts +1 -2
- package/dist/docx/index.js +1 -1
- package/dist/docx/index.mjs +1 -1
- package/dist/docx/parser.d.mts +1 -2
- package/dist/docx/parser.d.ts +1 -2
- package/dist/docx/parser.js +1 -1
- package/dist/docx/parser.mjs +1 -1
- package/dist/docx/rezip.d.mts +1 -2
- package/dist/docx/rezip.d.ts +1 -2
- package/dist/docx/rezip.js +1 -1
- package/dist/docx/rezip.mjs +1 -1
- package/dist/docx/serializer/index.d.mts +2 -3
- package/dist/docx/serializer/index.d.ts +2 -3
- package/dist/docx/serializer/index.js +1 -1
- package/dist/docx/serializer/index.mjs +1 -1
- package/dist/{fontLoader-BOt95Jtf.d.mts → fontLoader-8b4X-AIh.d.mts} +63 -3
- package/dist/{fontLoader-QPwbcX5j.d.ts → fontLoader-CK2QLq68.d.ts} +63 -3
- package/dist/{headerFooterLayout-DVFcJ832.d.mts → headerFooterLayout-72Vz7yp3.d.mts} +74 -2
- package/dist/{headerFooterLayout-B5LyDpSM.d.ts → headerFooterLayout-Ca4ESDHF.d.ts} +74 -2
- 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/index.d.mts +4 -4
- package/dist/layout-bridge/index.d.ts +4 -4
- package/dist/layout-bridge/index.js +1 -1
- package/dist/layout-bridge/index.mjs +1 -1
- package/dist/layout-bridge/measuring/index.d.mts +4 -0
- package/dist/layout-bridge/measuring/index.d.ts +4 -0
- 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 -1
- package/dist/layout-bridge/toFlowBlocks.d.ts +2 -1
- package/dist/layout-bridge/toFlowBlocks.js +1 -1
- package/dist/layout-bridge/toFlowBlocks.mjs +1 -1
- package/dist/layout-engine/index.d.mts +3 -0
- package/dist/layout-engine/index.d.ts +3 -0
- package/dist/layout-engine/index.js +1 -1
- package/dist/layout-engine/index.mjs +1 -1
- package/dist/layout-engine/types.d.mts +44 -0
- package/dist/layout-engine/types.d.ts +44 -0
- package/dist/layout-painter/index.d.mts +2 -3
- package/dist/layout-painter/index.d.ts +2 -3
- package/dist/layout-painter/index.js +1 -1
- package/dist/layout-painter/index.mjs +1 -1
- package/dist/layout-painter/renderPage.d.mts +2 -3
- package/dist/layout-painter/renderPage.d.ts +2 -3
- package/dist/layout-painter/renderPage.js +1 -1
- package/dist/layout-painter/renderPage.mjs +1 -1
- package/dist/managers/AutoSaveManager.d.mts +1 -2
- package/dist/managers/AutoSaveManager.d.ts +1 -2
- package/dist/managers/TableSelectionManager.d.mts +1 -2
- package/dist/managers/TableSelectionManager.d.ts +1 -2
- package/dist/managers/types.d.mts +1 -2
- package/dist/managers/types.d.ts +1 -2
- package/dist/mcp-cli.mjs +23 -22
- package/dist/mcp.d.mts +1 -2
- package/dist/mcp.d.ts +1 -2
- package/dist/mcp.js +3 -3
- package/dist/mcp.mjs +1 -1
- package/dist/{nodes-CL8M0L-a.d.mts → nodes-7753Bgi_.d.mts} +64 -3
- package/dist/{nodes-D7PTUJ2N.d.ts → nodes-CC_nwkT_.d.ts} +64 -3
- package/dist/prosemirror/commands/formatting.js +1 -1
- package/dist/prosemirror/commands/formatting.mjs +1 -1
- package/dist/prosemirror/commands/index.d.mts +80 -6
- package/dist/prosemirror/commands/index.d.ts +80 -6
- 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/conversion/fromProseDoc.d.mts +1 -2
- package/dist/prosemirror/conversion/fromProseDoc.d.ts +1 -2
- package/dist/prosemirror/conversion/fromProseDoc.js +1 -1
- package/dist/prosemirror/conversion/fromProseDoc.mjs +1 -1
- package/dist/prosemirror/conversion/index.d.mts +1 -2
- package/dist/prosemirror/conversion/index.d.ts +1 -2
- package/dist/prosemirror/conversion/index.js +1 -1
- package/dist/prosemirror/conversion/index.mjs +1 -1
- package/dist/prosemirror/editor.css +155 -95
- package/dist/prosemirror/extensions/index.js +1 -1
- package/dist/prosemirror/extensions/index.mjs +1 -1
- package/dist/prosemirror/extensions/nodes/TableExtension.js +1 -1
- package/dist/prosemirror/extensions/nodes/TableExtension.mjs +1 -1
- package/dist/prosemirror/index.d.mts +2 -3
- package/dist/prosemirror/index.d.ts +2 -3
- package/dist/prosemirror/index.js +1 -1
- package/dist/prosemirror/index.mjs +1 -1
- package/dist/prosemirror/plugins/index.d.mts +121 -17
- package/dist/prosemirror/plugins/index.d.ts +121 -17
- package/dist/prosemirror/plugins/index.js +1 -1
- package/dist/prosemirror/plugins/index.mjs +1 -1
- package/dist/prosemirror/schema/index.d.mts +3 -4
- package/dist/prosemirror/schema/index.d.ts +3 -4
- package/dist/prosemirror/schema/index.js +1 -1
- package/dist/prosemirror/schema/index.mjs +1 -1
- package/dist/prosemirror/utils/extractTrackedChanges.d.mts +44 -22
- package/dist/prosemirror/utils/extractTrackedChanges.d.ts +44 -22
- package/dist/prosemirror/utils/extractTrackedChanges.js +1 -1
- package/dist/prosemirror/utils/extractTrackedChanges.mjs +1 -1
- package/dist/types/content.d.mts +4 -1167
- package/dist/types/content.d.ts +4 -1167
- package/dist/types/document.d.mts +2 -4
- package/dist/types/document.d.ts +2 -4
- package/dist/utils/comments.d.mts +78 -5
- package/dist/utils/comments.d.ts +78 -5
- package/dist/utils/comments.js +1 -1
- package/dist/utils/comments.mjs +1 -1
- package/dist/utils/highlightColors.js +1 -1
- package/dist/utils/highlightColors.mjs +1 -1
- package/dist/utils/index.d.mts +2 -3
- package/dist/utils/index.d.ts +2 -3
- package/dist/utils/index.js +3 -3
- package/dist/utils/index.mjs +3 -3
- package/dist/{variableDetector-CAdt8yOr.d.mts → variableDetector-DF3-nxUC.d.mts} +1 -1
- package/dist/{variableDetector-W4XEN9YC.d.ts → variableDetector-sBkgVh3f.d.ts} +1 -1
- package/package.json +3 -3
- package/dist/chunk-3AZWLVLC.js +0 -1
- package/dist/chunk-3NLVHZMT.js +0 -59
- package/dist/chunk-5SU4HPQS.mjs +0 -1
- package/dist/chunk-AHXPHBMT.js +0 -1
- package/dist/chunk-B6LYBJ4H.mjs +0 -1
- package/dist/chunk-BFB4PRS4.mjs +0 -1
- package/dist/chunk-BRHHK4MG.mjs +0 -2
- package/dist/chunk-CP5OSG5Z.mjs +0 -1
- package/dist/chunk-CUXXRGPQ.mjs +0 -1
- package/dist/chunk-G7AKYAKU.mjs +0 -1
- package/dist/chunk-HAAMO2Z2.mjs +0 -1
- package/dist/chunk-IN6IYQ2X.js +0 -1
- package/dist/chunk-IO6HZ7KR.js +0 -2
- package/dist/chunk-KBU6QQFU.js +0 -9
- package/dist/chunk-LDKESXXK.mjs +0 -3
- package/dist/chunk-N3EIZN65.js +0 -1
- package/dist/chunk-NERY274X.js +0 -1
- package/dist/chunk-NNQWQOC5.mjs +0 -1
- package/dist/chunk-NO5LW2DQ.mjs +0 -1
- package/dist/chunk-OTDF6PZK.js +0 -1
- package/dist/chunk-P3AXSRLG.mjs +0 -1
- package/dist/chunk-QMLIXLZJ.mjs +0 -4
- package/dist/chunk-QXHL67FG.mjs +0 -1
- package/dist/chunk-TGPS3SRR.mjs +0 -1
- package/dist/chunk-TMISJEGL.js +0 -1
- package/dist/chunk-TRJWRZZD.js +0 -1
- package/dist/chunk-TRQN2SFW.mjs +0 -59
- package/dist/chunk-UGXSKZVM.js +0 -1
- package/dist/chunk-V435QKZB.js +0 -3
- package/dist/chunk-V6SWUCTS.js +0 -2
- package/dist/chunk-X3NB7STJ.js +0 -1
- package/dist/chunk-XOH7YAYL.js +0 -1
- package/dist/chunk-Y5HZAMND.mjs +0 -9
- package/dist/chunk-Y7I5QDCN.mjs +0 -1
- package/dist/chunk-YCDB5TA6.js +0 -4
- package/dist/chunk-YE357WVA.js +0 -1
- package/dist/chunk-YVYB4YCI.js +0 -1
- package/dist/lists-CvG_iVK3.d.mts +0 -148
- package/dist/lists-UTp_tk7B.d.ts +0 -148
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Layout Engine Types
|
|
3
|
+
*
|
|
4
|
+
* Core types for the paginated layout engine.
|
|
5
|
+
* Converts document blocks + measurements into positioned fragments on pages.
|
|
6
|
+
* @packageDocumentation
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
import { m as RevisionInfo, n as CellMarker } from '../content-CmqAwdFL.js';
|
|
10
|
+
import '../formatting-_OXU8gLB.js';
|
|
11
|
+
import '../colors-C3vA7HUU.js';
|
|
12
|
+
import '../docx/wrapTypes.js';
|
|
13
|
+
|
|
1
14
|
/**
|
|
2
15
|
* Layout Engine Types
|
|
3
16
|
*
|
|
@@ -178,6 +191,16 @@ type ImageRun = {
|
|
|
178
191
|
cropLeft?: number;
|
|
179
192
|
/** a:alphaModFix → CSS opacity in [0, 1]. */
|
|
180
193
|
opacity?: number;
|
|
194
|
+
/** Whether this picture is itself a tracked insertion (`<w:ins>`). */
|
|
195
|
+
isInsertion?: boolean;
|
|
196
|
+
/** Whether this picture is itself a tracked deletion (`<w:del>`). */
|
|
197
|
+
isDeletion?: boolean;
|
|
198
|
+
/** Author of the tracked change wrapping the picture. */
|
|
199
|
+
changeAuthor?: string;
|
|
200
|
+
/** Date of the tracked change wrapping the picture. */
|
|
201
|
+
changeDate?: string;
|
|
202
|
+
/** Revision id of the tracked change (for sidebar matching). */
|
|
203
|
+
changeRevisionId?: number;
|
|
181
204
|
pmStart?: number;
|
|
182
205
|
pmEnd?: number;
|
|
183
206
|
};
|
|
@@ -294,6 +317,13 @@ type ParagraphAttrs = {
|
|
|
294
317
|
listMarkerFontFamily?: string;
|
|
295
318
|
listMarkerFontSize?: number;
|
|
296
319
|
listMarkerSuffix?: 'tab' | 'space' | 'nothing';
|
|
320
|
+
/**
|
|
321
|
+
* Tracked-change state of the list numbering itself. When a list is applied
|
|
322
|
+
* (or removed) under suggesting mode, the marker paints in the insertion /
|
|
323
|
+
* deletion color so an inserted list item's number reads as part of the
|
|
324
|
+
* suggestion, matching Word. `undefined` = numbering is not a pending change.
|
|
325
|
+
*/
|
|
326
|
+
listMarkerRevision?: 'ins' | 'del';
|
|
297
327
|
/** Document-wide `w:defaultTabStop` in twips (§17.6.13). Default 720. */
|
|
298
328
|
defaultTabStopTwips?: number;
|
|
299
329
|
defaultFontSize?: number;
|
|
@@ -306,6 +336,15 @@ type ParagraphAttrs = {
|
|
|
306
336
|
* (#381).
|
|
307
337
|
*/
|
|
308
338
|
suppressEmptyParagraphHeight?: boolean;
|
|
339
|
+
/**
|
|
340
|
+
* Tracked-change marker on the paragraph mark itself
|
|
341
|
+
* (`<w:pPr><w:rPr><w:ins/>`). The painter renders a pilcrow and margin
|
|
342
|
+
* change bar; the cache key includes presence so two paragraphs with
|
|
343
|
+
* different revisions don't share a measurement.
|
|
344
|
+
*/
|
|
345
|
+
pPrIns?: RevisionInfo | null;
|
|
346
|
+
/** Tracked-change marker on the paragraph mark (`<w:pPr><w:rPr><w:del/>`). */
|
|
347
|
+
pPrDel?: RevisionInfo | null;
|
|
309
348
|
};
|
|
310
349
|
/**
|
|
311
350
|
* A paragraph block containing runs.
|
|
@@ -366,6 +405,8 @@ type TableCell = {
|
|
|
366
405
|
* — content stays on one line and the cell expands horizontally.
|
|
367
406
|
*/
|
|
368
407
|
noWrap?: boolean;
|
|
408
|
+
/** Tracked cell marker (`<w:cellIns>` / `<w:cellDel>` / `<w:cellMerge>`) — painter colors the top border. */
|
|
409
|
+
trackedMarker?: CellMarker;
|
|
369
410
|
};
|
|
370
411
|
/**
|
|
371
412
|
* A table row containing cells.
|
|
@@ -376,6 +417,9 @@ type TableRow = {
|
|
|
376
417
|
height?: number;
|
|
377
418
|
heightRule?: 'auto' | 'atLeast' | 'exact';
|
|
378
419
|
isHeader?: boolean;
|
|
420
|
+
/** Tracked row ins / del (`<w:trPr><w:ins/>` / `<w:del/>`). */
|
|
421
|
+
trackedIns?: RevisionInfo;
|
|
422
|
+
/** see trackedIns */ trackedDel?: RevisionInfo;
|
|
379
423
|
};
|
|
380
424
|
/**
|
|
381
425
|
* Floating table positioning info (pixel values).
|
|
@@ -13,11 +13,10 @@
|
|
|
13
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 captureInlinePositionEmu, i as createPainter, j as deriveLayoutChoice, k as findImageElement, l as hitTestImage, isFloatingImageRun, m as isImageLayoutOptionEnabled, isTextWrappingFloatingImageRun, r as renderFragment, n as renderImageFragment, o as renderLine, renderPage, renderPages, p as renderParagraphFragment, q as renderTableFragment, s as renderTextBoxFragment, t as sliceRunsForLine, u as toolbarValueToLayoutTarget } from './renderPage.mjs';
|
|
15
15
|
export { F as FootnoteRenderItem, H as HeaderFooterContent } from '../footnotes-lCH_P3N3.mjs';
|
|
16
|
-
import '../
|
|
16
|
+
import '../content-5Mrz6w_b.mjs';
|
|
17
17
|
import '../formatting-BH4hcZiq.mjs';
|
|
18
18
|
import '../colors-C3vA7HUU.mjs';
|
|
19
|
-
import '../lists-CvG_iVK3.mjs';
|
|
20
19
|
import '../docx/wrapTypes.mjs';
|
|
21
|
-
import '../
|
|
20
|
+
import '../nodes-7753Bgi_.mjs';
|
|
22
21
|
import '../ImageExtension-BN327PNe.mjs';
|
|
23
22
|
import '../styles-EI2lxeEN.mjs';
|
|
@@ -13,11 +13,10 @@
|
|
|
13
13
|
import '../layout-engine/types.js';
|
|
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 captureInlinePositionEmu, i as createPainter, j as deriveLayoutChoice, k as findImageElement, l as hitTestImage, isFloatingImageRun, m as isImageLayoutOptionEnabled, isTextWrappingFloatingImageRun, r as renderFragment, n as renderImageFragment, o as renderLine, renderPage, renderPages, p as renderParagraphFragment, q as renderTableFragment, s as renderTextBoxFragment, t as sliceRunsForLine, u as toolbarValueToLayoutTarget } from './renderPage.js';
|
|
15
15
|
export { F as FootnoteRenderItem, H as HeaderFooterContent } from '../footnotes-skVvEHvZ.js';
|
|
16
|
-
import '../
|
|
16
|
+
import '../content-CmqAwdFL.js';
|
|
17
17
|
import '../formatting-_OXU8gLB.js';
|
|
18
18
|
import '../colors-C3vA7HUU.js';
|
|
19
|
-
import '../lists-UTp_tk7B.js';
|
|
20
19
|
import '../docx/wrapTypes.js';
|
|
21
|
-
import '../
|
|
20
|
+
import '../nodes-CC_nwkT_.js';
|
|
22
21
|
import '../ImageExtension-BlI5afZD.js';
|
|
23
22
|
import '../styles-BBv7doYK.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkZUGNF5KU_js=require('../chunk-ZUGNF5KU.js');require('../chunk-GY5BWVM7.js');var chunkSORYYVJ7_js=require('../chunk-SORYYVJ7.js');require('../chunk-LTHT4A4S.js'),require('../chunk-IMKU4O3P.js'),require('../chunk-DROCYKAR.js'),require('../chunk-F44ZLDZS.js'),require('../chunk-44FHVKSI.js'),require('../chunk-X6HFDXKB.js'),require('../chunk-D4RPOJC7.js'),require('../chunk-IP2VXNWG.js'),require('../chunk-JFZIXFRC.js'),require('../chunk-MZOVDLYL.js'),require('../chunk-E4JMCA5X.js'),require('../chunk-HQPWFUP5.js'),require('../chunk-DV6GWBUJ.js'),require('../chunk-OAWTQ3IY.js'),require('../chunk-GM4USWKO.js'),require('../chunk-BHBOAP6Z.js'),require('../chunk-MZ7LW5CH.js'),require('../chunk-N3Y5BUKV.js'),require('../chunk-YTDWMXNS.js'),require('../chunk-6LVPRTB6.js'),require('../chunk-TUIEV7Q7.js'),require('../chunk-7HANRHHL.js'),require('../chunk-MJ5FQX7Q.js'),require('../chunk-C2BAPYGJ.js');var chunk4Q2IP5FW_js=require('../chunk-4Q2IP5FW.js');require('../chunk-Q4CKLXWA.js');var chunkDC7S76ZX_js=require('../chunk-DC7S76ZX.js');var i={runImage:"layout-run-image",blockImage:"layout-block-image",pageFloatingImage:"layout-page-floating-image",cellFloatingImage:"layout-cell-floating-image",pageContent:"layout-page-content",paragraph:"layout-paragraph"},y=[`.${i.pageFloatingImage}`,`.${i.cellFloatingImage}`,`.${i.blockImage}`,`.${i.runImage}`].join(", ");function P(n){if(!(n instanceof Element))return null;let e=n.closest(y);if(!e)return null;let o=e.dataset.pmStart;if(o===void 0)return null;let t=Number(o);return Number.isNaN(t)?null:{pos:t,imageEl:e}}function v(n){if(!(n instanceof HTMLElement))return null;if(n.tagName==="IMG"&&n.classList.contains(i.runImage))return n;let e=n.closest(y);return e&&e.dataset.pmStart?e:null}function B(n,e=1){if(!n.classList.contains(i.runImage))return;let o=n.closest(`.${i.pageContent}`),t=n.closest(`.${i.paragraph}`);if(!o||!t)return;let a=n.getBoundingClientRect(),r=o.getBoundingClientRect(),l=t.getBoundingClientRect(),p=e>0?e:1;return {horizontalEmu:Math.round(chunk4Q2IP5FW_js.f((a.left-r.left)/p)),verticalEmu:Math.round(chunk4Q2IP5FW_js.f((a.top-l.top)/p))}}function C(n,e){return n==="inline"?"inline":n==="behind"?"behind":n==="inFront"?"inFront":n==="square"||n==="tight"||n==="through"?e==="right"?"squareRight":"squareLeft":null}var H=[{choice:"inline",i18nLabelKey:"inLineWithText",i18nDescKey:"inLineWithText",iconHint:"inline"},{choice:"squareLeft",i18nLabelKey:"squareLeft",i18nDescKey:"squareLeft",iconHint:"squareLeft"},{choice:"squareRight",i18nLabelKey:"squareRight",i18nDescKey:"squareRight",iconHint:"squareRight"},{choice:"behind",i18nLabelKey:"behindText",i18nDescKey:"behindText",iconHint:"behind"},{choice:"inFront",i18nLabelKey:"inFrontOfText",i18nDescKey:"inFrontOfText",iconHint:"inFront"}];function R(n,e){return true}function A(n){switch(n){case "inline":return "inline";case "square":case "tight":case "through":return "squareLeft";case "topAndBottom":return "topAndBottom";case "behind":return "behind";case "inFront":return "inFront";case "wrapRight":return "squareLeft";case "wrapLeft":return "squareRight";default:return}}var c=class{constructor(e={}){chunkDC7S76ZX_js.a(this,"container",null);chunkDC7S76ZX_js.a(this,"blockLookup",new Map);chunkDC7S76ZX_js.a(this,"pageStates",[]);chunkDC7S76ZX_js.a(this,"totalPages",0);chunkDC7S76ZX_js.a(this,"options");chunkDC7S76ZX_js.a(this,"doc");chunkDC7S76ZX_js.a(this,"resolvedCommentIds",new Set);this.options=e,this.doc=e.document??document;}setBlockLookup(e){this.blockLookup=e;}mount(e){this.container=e,this.applyContainerStyles();}unmount(){this.container&&(this.container.innerHTML=""),this.container=null,this.pageStates=[];}applyContainerStyles(){if(!this.container)return;let e=this.options.pageGap??24;this.container.style.display="flex",this.container.style.flexDirection="column",this.container.style.alignItems="center",this.container.style.gap=`${e}px`,this.container.style.padding=`${e}px`,this.container.style.backgroundColor=this.options.containerBackground??"var(--doc-bg, #f8f9fa)",this.container.style.minHeight="100%";}paint(e){if(!this.container)throw new Error("LayoutPainter: not mounted");let{pages:o}=e;this.totalPages=o.length,this.container.innerHTML="",this.pageStates=[];for(let t=0;t<o.length;t++){let a=o[t],r={pageNumber:a.number,totalPages:this.totalPages,section:"body",resolvedCommentIds:this.resolvedCommentIds},l=this.renderPageWithLookup(a,r);this.container.appendChild(l),this.pageStates.push({element:l,pageNumber:a.number,fragmentCount:a.fragments.length});}}renderPageWithLookup(e,o){let t=this.doc.createElement("div");t.className="layout-page",t.dataset.pageNumber=String(e.number),t.style.position="relative",t.style.width=`${e.size.w}px`,t.style.height=`${e.size.h}px`,t.style.backgroundColor=this.options.pageBackground??"#ffffff",t.style.overflow="hidden",this.options.showShadow&&(t.style.boxShadow="0 2px 8px rgba(0, 0, 0, 0.15)");let a=this.doc.createElement("div");a.className="layout-page-content",a.style.position="absolute",a.style.top=`${e.margins.top}px`,a.style.left=`${e.margins.left}px`,a.style.right=`${e.margins.right}px`,a.style.bottom=`${e.margins.bottom}px`,a.style.overflow="visible";for(let r of e.fragments){let l=this.renderFragmentWithLookup(r,o);this.applyFragmentPosition(l,r),a.appendChild(l);}return t.appendChild(a),t}renderFragmentWithLookup(e,o){let t=this.blockLookup.get(String(e.blockId));if(e.kind==="paragraph"&&t){let a=t.block,r=t.measure;return chunkZUGNF5KU_js.r(e,a,r,o,{document:this.doc})}if(e.kind==="table"&&t){let a=t.block,r=t.measure;return chunkZUGNF5KU_js.u(e,a,r,o,{document:this.doc})}if(e.kind==="image"&&t){let a=t.block,r=t.measure;return chunkZUGNF5KU_js.o(e,a,r,o,{document:this.doc})}if(e.kind==="textBox"&&t){let a=t.block,r=t.measure;return chunkZUGNF5KU_js.w(e,a,r,o,{document:this.doc})}return chunkZUGNF5KU_js.m(e,o,{document:this.doc})}applyFragmentPosition(e,o){e.style.position="absolute",e.style.left=`${o.x}px`,e.style.top=`${o.y}px`,e.style.width=`${o.width}px`,"height"in o&&(e.style.height=`${o.height}px`);}getPageCount(){return this.totalPages}getPageElement(e){return this.pageStates[e]?.element??null}scrollToPage(e){let o=this.pageStates.find(t=>t.pageNumber===e);o?.element&&o.element.scrollIntoView({behavior:"smooth",block:"start"});}};function W(n){return new c(n)}Object.defineProperty(exports,"FRAGMENT_CLASS_NAMES",{enumerable:true,get:function(){return chunkZUGNF5KU_js.l}});Object.defineProperty(exports,"IMAGE_CLASS_NAMES",{enumerable:true,get:function(){return chunkZUGNF5KU_js.n}});Object.defineProperty(exports,"TABLE_CLASS_NAMES",{enumerable:true,get:function(){return chunkZUGNF5KU_js.t}});Object.defineProperty(exports,"TEXTBOX_CLASS_NAMES",{enumerable:true,get:function(){return chunkZUGNF5KU_js.v}});Object.defineProperty(exports,"renderFragment",{enumerable:true,get:function(){return chunkZUGNF5KU_js.m}});Object.defineProperty(exports,"renderImageFragment",{enumerable:true,get:function(){return chunkZUGNF5KU_js.o}});Object.defineProperty(exports,"renderLine",{enumerable:true,get:function(){return chunkZUGNF5KU_js.q}});Object.defineProperty(exports,"renderPage",{enumerable:true,get:function(){return chunkZUGNF5KU_js.B}});Object.defineProperty(exports,"renderPages",{enumerable:true,get:function(){return chunkZUGNF5KU_js.y}});Object.defineProperty(exports,"renderParagraphFragment",{enumerable:true,get:function(){return chunkZUGNF5KU_js.r}});Object.defineProperty(exports,"renderTableFragment",{enumerable:true,get:function(){return chunkZUGNF5KU_js.u}});Object.defineProperty(exports,"renderTextBoxFragment",{enumerable:true,get:function(){return chunkZUGNF5KU_js.w}});Object.defineProperty(exports,"sliceRunsForLine",{enumerable:true,get:function(){return chunkZUGNF5KU_js.p}});Object.defineProperty(exports,"isFloatingImageRun",{enumerable:true,get:function(){return chunkSORYYVJ7_js.f}});Object.defineProperty(exports,"isTextWrappingFloatingImageRun",{enumerable:true,get:function(){return chunkSORYYVJ7_js.g}});exports.IMAGE_LAYOUT_OPTIONS=H;exports.LAYOUT_IMAGE_CLASSES=i;exports.LayoutPainter=c;exports.captureInlinePositionEmu=B;exports.createPainter=W;exports.deriveLayoutChoice=C;exports.findImageElement=v;exports.hitTestImage=P;exports.isImageLayoutOptionEnabled=R;exports.toolbarValueToLayoutTarget=A;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {r,u,o,w,m}from'../chunk-
|
|
1
|
+
import {r,u,o,w,m}from'../chunk-RFVFX5WK.mjs';export{l as FRAGMENT_CLASS_NAMES,n as IMAGE_CLASS_NAMES,t as TABLE_CLASS_NAMES,v as TEXTBOX_CLASS_NAMES,m as renderFragment,o as renderImageFragment,q as renderLine,B as renderPage,y as renderPages,r as renderParagraphFragment,u as renderTableFragment,w as renderTextBoxFragment,p as sliceRunsForLine}from'../chunk-RFVFX5WK.mjs';import'../chunk-V5VDCQDN.mjs';export{f as isFloatingImageRun,g as isTextWrappingFloatingImageRun}from'../chunk-MP4QSEO2.mjs';import'../chunk-6Y6LON6Y.mjs';import'../chunk-FCJWLEKT.mjs';import'../chunk-7E5VBRDL.mjs';import'../chunk-RFC2SXZ6.mjs';import'../chunk-BOOHU5EW.mjs';import'../chunk-FEWCI2E5.mjs';import'../chunk-LBKMYD3M.mjs';import'../chunk-NBLJPT54.mjs';import'../chunk-QPFJJPIC.mjs';import'../chunk-ILJUDEZ5.mjs';import'../chunk-6ZXL3EIP.mjs';import'../chunk-OEXVWIHW.mjs';import'../chunk-WLHNIXWC.mjs';import'../chunk-CA2EYL6T.mjs';import'../chunk-IQG3KLWY.mjs';import'../chunk-MOKKS75W.mjs';import'../chunk-OZMNIX6U.mjs';import'../chunk-AMENZY5F.mjs';import'../chunk-VHUVPHPI.mjs';import'../chunk-BGY3CB37.mjs';import'../chunk-ZX26QZJ5.mjs';import'../chunk-MJ6XZFVD.mjs';import'../chunk-67LVRQIR.mjs';import'../chunk-LE67NTCN.mjs';import {f}from'../chunk-VW22RZ6C.mjs';import'../chunk-VQWZHPWI.mjs';import {a}from'../chunk-QYUPLKLP.mjs';var i={runImage:"layout-run-image",blockImage:"layout-block-image",pageFloatingImage:"layout-page-floating-image",cellFloatingImage:"layout-cell-floating-image",pageContent:"layout-page-content",paragraph:"layout-paragraph"},y=[`.${i.pageFloatingImage}`,`.${i.cellFloatingImage}`,`.${i.blockImage}`,`.${i.runImage}`].join(", ");function P(n){if(!(n instanceof Element))return null;let e=n.closest(y);if(!e)return null;let o=e.dataset.pmStart;if(o===void 0)return null;let t=Number(o);return Number.isNaN(t)?null:{pos:t,imageEl:e}}function v(n){if(!(n instanceof HTMLElement))return null;if(n.tagName==="IMG"&&n.classList.contains(i.runImage))return n;let e=n.closest(y);return e&&e.dataset.pmStart?e:null}function B(n,e=1){if(!n.classList.contains(i.runImage))return;let o=n.closest(`.${i.pageContent}`),t=n.closest(`.${i.paragraph}`);if(!o||!t)return;let a=n.getBoundingClientRect(),r=o.getBoundingClientRect(),l=t.getBoundingClientRect(),p=e>0?e:1;return {horizontalEmu:Math.round(f((a.left-r.left)/p)),verticalEmu:Math.round(f((a.top-l.top)/p))}}function C(n,e){return n==="inline"?"inline":n==="behind"?"behind":n==="inFront"?"inFront":n==="square"||n==="tight"||n==="through"?e==="right"?"squareRight":"squareLeft":null}var H=[{choice:"inline",i18nLabelKey:"inLineWithText",i18nDescKey:"inLineWithText",iconHint:"inline"},{choice:"squareLeft",i18nLabelKey:"squareLeft",i18nDescKey:"squareLeft",iconHint:"squareLeft"},{choice:"squareRight",i18nLabelKey:"squareRight",i18nDescKey:"squareRight",iconHint:"squareRight"},{choice:"behind",i18nLabelKey:"behindText",i18nDescKey:"behindText",iconHint:"behind"},{choice:"inFront",i18nLabelKey:"inFrontOfText",i18nDescKey:"inFrontOfText",iconHint:"inFront"}];function R(n,e){return true}function A(n){switch(n){case "inline":return "inline";case "square":case "tight":case "through":return "squareLeft";case "topAndBottom":return "topAndBottom";case "behind":return "behind";case "inFront":return "inFront";case "wrapRight":return "squareLeft";case "wrapLeft":return "squareRight";default:return}}var c=class{constructor(e={}){a(this,"container",null);a(this,"blockLookup",new Map);a(this,"pageStates",[]);a(this,"totalPages",0);a(this,"options");a(this,"doc");a(this,"resolvedCommentIds",new Set);this.options=e,this.doc=e.document??document;}setBlockLookup(e){this.blockLookup=e;}mount(e){this.container=e,this.applyContainerStyles();}unmount(){this.container&&(this.container.innerHTML=""),this.container=null,this.pageStates=[];}applyContainerStyles(){if(!this.container)return;let e=this.options.pageGap??24;this.container.style.display="flex",this.container.style.flexDirection="column",this.container.style.alignItems="center",this.container.style.gap=`${e}px`,this.container.style.padding=`${e}px`,this.container.style.backgroundColor=this.options.containerBackground??"var(--doc-bg, #f8f9fa)",this.container.style.minHeight="100%";}paint(e){if(!this.container)throw new Error("LayoutPainter: not mounted");let{pages:o}=e;this.totalPages=o.length,this.container.innerHTML="",this.pageStates=[];for(let t=0;t<o.length;t++){let a=o[t],r={pageNumber:a.number,totalPages:this.totalPages,section:"body",resolvedCommentIds:this.resolvedCommentIds},l=this.renderPageWithLookup(a,r);this.container.appendChild(l),this.pageStates.push({element:l,pageNumber:a.number,fragmentCount:a.fragments.length});}}renderPageWithLookup(e,o){let t=this.doc.createElement("div");t.className="layout-page",t.dataset.pageNumber=String(e.number),t.style.position="relative",t.style.width=`${e.size.w}px`,t.style.height=`${e.size.h}px`,t.style.backgroundColor=this.options.pageBackground??"#ffffff",t.style.overflow="hidden",this.options.showShadow&&(t.style.boxShadow="0 2px 8px rgba(0, 0, 0, 0.15)");let a=this.doc.createElement("div");a.className="layout-page-content",a.style.position="absolute",a.style.top=`${e.margins.top}px`,a.style.left=`${e.margins.left}px`,a.style.right=`${e.margins.right}px`,a.style.bottom=`${e.margins.bottom}px`,a.style.overflow="visible";for(let r of e.fragments){let l=this.renderFragmentWithLookup(r,o);this.applyFragmentPosition(l,r),a.appendChild(l);}return t.appendChild(a),t}renderFragmentWithLookup(e,o$1){let t=this.blockLookup.get(String(e.blockId));if(e.kind==="paragraph"&&t){let a=t.block,r$1=t.measure;return r(e,a,r$1,o$1,{document:this.doc})}if(e.kind==="table"&&t){let a=t.block,r=t.measure;return u(e,a,r,o$1,{document:this.doc})}if(e.kind==="image"&&t){let a=t.block,r=t.measure;return o(e,a,r,o$1,{document:this.doc})}if(e.kind==="textBox"&&t){let a=t.block,r=t.measure;return w(e,a,r,o$1,{document:this.doc})}return m(e,o$1,{document:this.doc})}applyFragmentPosition(e,o){e.style.position="absolute",e.style.left=`${o.x}px`,e.style.top=`${o.y}px`,e.style.width=`${o.width}px`,"height"in o&&(e.style.height=`${o.height}px`);}getPageCount(){return this.totalPages}getPageElement(e){return this.pageStates[e]?.element??null}scrollToPage(e){let o=this.pageStates.find(t=>t.pageNumber===e);o?.element&&o.element.scrollIntoView({behavior:"smooth",block:"start"});}};function W(n){return new c(n)}export{H as IMAGE_LAYOUT_OPTIONS,i as LAYOUT_IMAGE_CLASSES,c as LayoutPainter,B as captureInlinePositionEmu,W as createPainter,C as deriveLayoutChoice,v as findImageElement,P as hitTestImage,R as isImageLayoutOptionEnabled,A as toolbarValueToLayoutTarget};
|
|
@@ -13,16 +13,15 @@
|
|
|
13
13
|
* @public
|
|
14
14
|
*/
|
|
15
15
|
import { ImageRun, Page, ParagraphBlock, MeasuredLine, TabStop, Run, ParagraphFragment, ParagraphMeasure, ParagraphBorders, Fragment, TableFragment, TableBlock, TableMeasure, ImageFragment, ImageBlock, ImageMeasure, TextBoxFragment, TextBoxBlock, TextBoxMeasure, FlowBlock, Measure, Layout } from '../layout-engine/types.mjs';
|
|
16
|
-
import { I as ImageAttrs } from '../nodes-
|
|
16
|
+
import { I as ImageAttrs } from '../nodes-7753Bgi_.mjs';
|
|
17
17
|
import { I as ImageLayoutTarget } from '../ImageExtension-BN327PNe.mjs';
|
|
18
18
|
import { WrapType } from '../docx/wrapTypes.mjs';
|
|
19
19
|
import { F as FootnoteRenderItem, H as HeaderFooterContent } from '../footnotes-lCH_P3N3.mjs';
|
|
20
20
|
export { a as HeaderFooterLayoutInfo, r as resolveHeaderFooterFloatingTablePosition } from '../footnotes-lCH_P3N3.mjs';
|
|
21
21
|
import { B as BorderSpec } from '../colors-C3vA7HUU.mjs';
|
|
22
22
|
import { T as Theme } from '../styles-EI2lxeEN.mjs';
|
|
23
|
+
import '../content-5Mrz6w_b.mjs';
|
|
23
24
|
import '../formatting-BH4hcZiq.mjs';
|
|
24
|
-
import '../lists-CvG_iVK3.mjs';
|
|
25
|
-
import '../types/content.mjs';
|
|
26
25
|
|
|
27
26
|
/**
|
|
28
27
|
* Whether a floating image record reserves space in the text-wrap calculation.
|
|
@@ -13,16 +13,15 @@
|
|
|
13
13
|
* @public
|
|
14
14
|
*/
|
|
15
15
|
import { ImageRun, Page, ParagraphBlock, MeasuredLine, TabStop, Run, ParagraphFragment, ParagraphMeasure, ParagraphBorders, Fragment, TableFragment, TableBlock, TableMeasure, ImageFragment, ImageBlock, ImageMeasure, TextBoxFragment, TextBoxBlock, TextBoxMeasure, FlowBlock, Measure, Layout } from '../layout-engine/types.js';
|
|
16
|
-
import { I as ImageAttrs } from '../nodes-
|
|
16
|
+
import { I as ImageAttrs } from '../nodes-CC_nwkT_.js';
|
|
17
17
|
import { I as ImageLayoutTarget } from '../ImageExtension-BlI5afZD.js';
|
|
18
18
|
import { WrapType } from '../docx/wrapTypes.js';
|
|
19
19
|
import { F as FootnoteRenderItem, H as HeaderFooterContent } from '../footnotes-skVvEHvZ.js';
|
|
20
20
|
export { a as HeaderFooterLayoutInfo, r as resolveHeaderFooterFloatingTablePosition } from '../footnotes-skVvEHvZ.js';
|
|
21
21
|
import { B as BorderSpec } from '../colors-C3vA7HUU.js';
|
|
22
22
|
import { T as Theme } from '../styles-BBv7doYK.js';
|
|
23
|
+
import '../content-CmqAwdFL.js';
|
|
23
24
|
import '../formatting-_OXU8gLB.js';
|
|
24
|
-
import '../lists-UTp_tk7B.js';
|
|
25
|
-
import '../types/content.js';
|
|
26
25
|
|
|
27
26
|
/**
|
|
28
27
|
* Whether a floating image record reserves space in the text-wrap calculation.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkZUGNF5KU_js=require('../chunk-ZUGNF5KU.js');require('../chunk-GY5BWVM7.js');var chunkSORYYVJ7_js=require('../chunk-SORYYVJ7.js');require('../chunk-LTHT4A4S.js'),require('../chunk-IMKU4O3P.js'),require('../chunk-DROCYKAR.js'),require('../chunk-F44ZLDZS.js'),require('../chunk-44FHVKSI.js'),require('../chunk-X6HFDXKB.js'),require('../chunk-D4RPOJC7.js'),require('../chunk-IP2VXNWG.js'),require('../chunk-JFZIXFRC.js'),require('../chunk-MZOVDLYL.js'),require('../chunk-E4JMCA5X.js'),require('../chunk-HQPWFUP5.js'),require('../chunk-DV6GWBUJ.js'),require('../chunk-OAWTQ3IY.js'),require('../chunk-GM4USWKO.js'),require('../chunk-BHBOAP6Z.js'),require('../chunk-MZ7LW5CH.js'),require('../chunk-N3Y5BUKV.js'),require('../chunk-YTDWMXNS.js'),require('../chunk-6LVPRTB6.js'),require('../chunk-TUIEV7Q7.js'),require('../chunk-7HANRHHL.js'),require('../chunk-MJ5FQX7Q.js'),require('../chunk-C2BAPYGJ.js'),require('../chunk-4Q2IP5FW.js'),require('../chunk-Q4CKLXWA.js'),require('../chunk-DC7S76ZX.js');Object.defineProperty(exports,"PAGE_CLASS_NAMES",{enumerable:true,get:function(){return chunkZUGNF5KU_js.z}});Object.defineProperty(exports,"applyPageStyles",{enumerable:true,get:function(){return chunkZUGNF5KU_js.A}});Object.defineProperty(exports,"renderFloatingImagesLayer",{enumerable:true,get:function(){return chunkZUGNF5KU_js.s}});Object.defineProperty(exports,"renderPage",{enumerable:true,get:function(){return chunkZUGNF5KU_js.B}});Object.defineProperty(exports,"renderPages",{enumerable:true,get:function(){return chunkZUGNF5KU_js.y}});Object.defineProperty(exports,"resolveHeaderFooterFloatingTablePosition",{enumerable:true,get:function(){return chunkZUGNF5KU_js.x}});Object.defineProperty(exports,"floatingImageIsBehindDoc",{enumerable:true,get:function(){return chunkSORYYVJ7_js.e}});Object.defineProperty(exports,"floatingImageWrapsText",{enumerable:true,get:function(){return chunkSORYYVJ7_js.d}});Object.defineProperty(exports,"isFloatingImageRun",{enumerable:true,get:function(){return chunkSORYYVJ7_js.f}});Object.defineProperty(exports,"isTextWrappingFloatingImageRun",{enumerable:true,get:function(){return chunkSORYYVJ7_js.g}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{z as PAGE_CLASS_NAMES,A as applyPageStyles,s as renderFloatingImagesLayer,B as renderPage,y as renderPages,x as resolveHeaderFooterFloatingTablePosition}from'../chunk-
|
|
1
|
+
export{z as PAGE_CLASS_NAMES,A as applyPageStyles,s as renderFloatingImagesLayer,B as renderPage,y as renderPages,x as resolveHeaderFooterFloatingTablePosition}from'../chunk-RFVFX5WK.mjs';import'../chunk-V5VDCQDN.mjs';export{e as floatingImageIsBehindDoc,d as floatingImageWrapsText,f as isFloatingImageRun,g as isTextWrappingFloatingImageRun}from'../chunk-MP4QSEO2.mjs';import'../chunk-6Y6LON6Y.mjs';import'../chunk-FCJWLEKT.mjs';import'../chunk-7E5VBRDL.mjs';import'../chunk-RFC2SXZ6.mjs';import'../chunk-BOOHU5EW.mjs';import'../chunk-FEWCI2E5.mjs';import'../chunk-LBKMYD3M.mjs';import'../chunk-NBLJPT54.mjs';import'../chunk-QPFJJPIC.mjs';import'../chunk-ILJUDEZ5.mjs';import'../chunk-6ZXL3EIP.mjs';import'../chunk-OEXVWIHW.mjs';import'../chunk-WLHNIXWC.mjs';import'../chunk-CA2EYL6T.mjs';import'../chunk-IQG3KLWY.mjs';import'../chunk-MOKKS75W.mjs';import'../chunk-OZMNIX6U.mjs';import'../chunk-AMENZY5F.mjs';import'../chunk-VHUVPHPI.mjs';import'../chunk-BGY3CB37.mjs';import'../chunk-ZX26QZJ5.mjs';import'../chunk-MJ6XZFVD.mjs';import'../chunk-67LVRQIR.mjs';import'../chunk-LE67NTCN.mjs';import'../chunk-VW22RZ6C.mjs';import'../chunk-VQWZHPWI.mjs';import'../chunk-QYUPLKLP.mjs';
|
|
@@ -17,8 +17,7 @@ import { Document } from '../types/document.mjs';
|
|
|
17
17
|
import 'prosemirror-view';
|
|
18
18
|
import '../colors-C3vA7HUU.mjs';
|
|
19
19
|
import '../formatting-BH4hcZiq.mjs';
|
|
20
|
-
import '../
|
|
21
|
-
import '../types/content.mjs';
|
|
20
|
+
import '../content-5Mrz6w_b.mjs';
|
|
22
21
|
import '../docx/wrapTypes.mjs';
|
|
23
22
|
import '../styles-EI2lxeEN.mjs';
|
|
24
23
|
|
|
@@ -17,8 +17,7 @@ import { Document } from '../types/document.js';
|
|
|
17
17
|
import 'prosemirror-view';
|
|
18
18
|
import '../colors-C3vA7HUU.js';
|
|
19
19
|
import '../formatting-_OXU8gLB.js';
|
|
20
|
-
import '../
|
|
21
|
-
import '../types/content.js';
|
|
20
|
+
import '../content-CmqAwdFL.js';
|
|
22
21
|
import '../docx/wrapTypes.js';
|
|
23
22
|
import '../styles-BBv7doYK.js';
|
|
24
23
|
|
|
@@ -20,11 +20,10 @@
|
|
|
20
20
|
import { S as Subscribable } from '../Subscribable-DOz6Ohoo.mjs';
|
|
21
21
|
import { TableSelectionSnapshot, CellCoordinates } from './types.mjs';
|
|
22
22
|
import { Document } from '../types/document.mjs';
|
|
23
|
-
import { Table } from '../
|
|
23
|
+
import { T as Table } from '../content-5Mrz6w_b.mjs';
|
|
24
24
|
import 'prosemirror-view';
|
|
25
25
|
import '../colors-C3vA7HUU.mjs';
|
|
26
26
|
import '../formatting-BH4hcZiq.mjs';
|
|
27
|
-
import '../lists-CvG_iVK3.mjs';
|
|
28
27
|
import '../docx/wrapTypes.mjs';
|
|
29
28
|
import '../styles-EI2lxeEN.mjs';
|
|
30
29
|
|
|
@@ -20,11 +20,10 @@
|
|
|
20
20
|
import { S as Subscribable } from '../Subscribable-DOz6Ohoo.js';
|
|
21
21
|
import { TableSelectionSnapshot, CellCoordinates } from './types.js';
|
|
22
22
|
import { Document } from '../types/document.js';
|
|
23
|
-
import { Table } from '../
|
|
23
|
+
import { T as Table } from '../content-CmqAwdFL.js';
|
|
24
24
|
import 'prosemirror-view';
|
|
25
25
|
import '../colors-C3vA7HUU.js';
|
|
26
26
|
import '../formatting-_OXU8gLB.js';
|
|
27
|
-
import '../lists-UTp_tk7B.js';
|
|
28
27
|
import '../docx/wrapTypes.js';
|
|
29
28
|
import '../styles-BBv7doYK.js';
|
|
30
29
|
|
|
@@ -9,8 +9,7 @@ import { EditorView } from 'prosemirror-view';
|
|
|
9
9
|
import { Document } from '../types/document.mjs';
|
|
10
10
|
import '../colors-C3vA7HUU.mjs';
|
|
11
11
|
import '../formatting-BH4hcZiq.mjs';
|
|
12
|
-
import '../
|
|
13
|
-
import '../types/content.mjs';
|
|
12
|
+
import '../content-5Mrz6w_b.mjs';
|
|
14
13
|
import '../docx/wrapTypes.mjs';
|
|
15
14
|
import '../styles-EI2lxeEN.mjs';
|
|
16
15
|
|
package/dist/managers/types.d.ts
CHANGED
|
@@ -9,8 +9,7 @@ import { EditorView } from 'prosemirror-view';
|
|
|
9
9
|
import { Document } from '../types/document.js';
|
|
10
10
|
import '../colors-C3vA7HUU.js';
|
|
11
11
|
import '../formatting-_OXU8gLB.js';
|
|
12
|
-
import '../
|
|
13
|
-
import '../types/content.js';
|
|
12
|
+
import '../content-CmqAwdFL.js';
|
|
14
13
|
import '../docx/wrapTypes.js';
|
|
15
14
|
import '../styles-BBv7doYK.js';
|
|
16
15
|
|