@eigenpal/docx-editor-core 1.2.1 → 1.3.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 +5 -4
- package/dist/agent/index.d.ts +5 -4
- package/dist/agent/index.js +1 -1
- package/dist/agent/index.mjs +1 -1
- package/dist/anchoredObjectPosition-CS-8BfhO.d.ts +48 -0
- package/dist/anchoredObjectPosition-KJEyF-wr.d.mts +48 -0
- package/dist/{chunk-U4WUDHDK.js → chunk-2SGJZYQF.js} +1 -1
- package/dist/chunk-3ANZ3252.mjs +2 -0
- package/dist/chunk-3G44SFHX.mjs +4 -0
- package/dist/{chunk-4QEETB7U.js → chunk-3QPKTG2Y.js} +2 -2
- package/dist/chunk-3R7QHNI5.js +2 -0
- package/dist/chunk-4GFTMGSV.mjs +1 -0
- package/dist/chunk-4MYKVWNF.js +1 -0
- package/dist/chunk-4RTVLMRZ.js +2 -0
- package/dist/chunk-55XWETY4.mjs +1 -0
- package/dist/chunk-6QO4O52Y.mjs +1 -0
- package/dist/{chunk-THLJYXFB.js → chunk-6V3SFHEM.js} +1 -1
- package/dist/{chunk-6ZXL3EIP.mjs → chunk-7CZEZ3UL.mjs} +1 -1
- package/dist/{chunk-Z5MJYQSD.mjs → chunk-7UZJ5YDF.mjs} +1 -1
- package/dist/{chunk-BXWOLARZ.js → chunk-APNMO5JT.js} +1 -1
- package/dist/{chunk-KZXZWGFX.mjs → chunk-B46V5G46.mjs} +1 -1
- package/dist/chunk-BH3ACQ3M.js +59 -0
- package/dist/chunk-BUCOTKYY.js +1 -0
- package/dist/{chunk-5BLQHXWK.mjs → chunk-CDXCFHOY.mjs} +1 -1
- package/dist/chunk-CHN26LLL.mjs +59 -0
- package/dist/chunk-CZSAC65M.js +2 -0
- package/dist/chunk-D3PRIF3Y.mjs +1 -0
- package/dist/chunk-DE2V4X3B.mjs +1 -0
- package/dist/{chunk-7BVHKWEW.mjs → chunk-DFUWJHKF.mjs} +1 -1
- package/dist/{chunk-UGV4KRQB.js → chunk-DG2CMDSM.js} +1 -1
- package/dist/chunk-DKKTY56Q.js +1 -0
- package/dist/chunk-FIGLFSNR.js +1 -0
- package/dist/{chunk-AMB6Y77B.js → chunk-FQS436KN.js} +1 -1
- package/dist/chunk-FYRJTDC4.mjs +2 -0
- package/dist/chunk-GYWTUUXX.mjs +2 -0
- package/dist/chunk-HPJBZL37.mjs +1 -0
- package/dist/chunk-INDYZOOS.js +1 -0
- package/dist/chunk-IUVQJ6PX.mjs +1 -0
- package/dist/chunk-J3YFJDZD.js +1 -0
- package/dist/chunk-JHTURDPX.mjs +1 -0
- package/dist/{chunk-D62KS7QG.mjs → chunk-LAJPGQEE.mjs} +1 -1
- package/dist/chunk-LERLET2D.js +4 -0
- package/dist/chunk-LX35TFGF.mjs +1 -0
- package/dist/{chunk-BOOHU5EW.mjs → chunk-MOCGHQ4A.mjs} +1 -1
- package/dist/chunk-NAFMAKLK.js +2 -0
- package/dist/chunk-NRWQ65NX.js +1 -0
- package/dist/chunk-OTHV7YV2.js +2 -0
- package/dist/chunk-QLAIOTQB.js +1 -0
- package/dist/{chunk-U4XMGWF7.js → chunk-RAWVGULQ.js} +1 -1
- package/dist/chunk-RQVHKDXK.js +2 -0
- package/dist/chunk-RSU4HTC6.js +1 -0
- package/dist/{chunk-E4JMCA5X.js → chunk-SCK6ZM5V.js} +2 -2
- package/dist/chunk-SWBLJF6R.mjs +2 -0
- package/dist/chunk-UE2ZKRYB.mjs +2 -0
- package/dist/chunk-VOCHZNOF.mjs +1 -0
- package/dist/{chunk-OEXVWIHW.mjs → chunk-W77JXDEV.mjs} +1 -1
- package/dist/chunk-W7CQRQZ6.mjs +1 -0
- package/dist/chunk-WWBNJ7KF.js +1 -0
- package/dist/chunk-WWNOXNEX.mjs +2 -0
- package/dist/chunk-YGWUKRFD.mjs +1 -0
- package/dist/chunk-YM7SMTYY.js +1 -0
- package/dist/{chunk-QKLY4F2J.mjs → chunk-YNUPP7UG.mjs} +1 -1
- package/dist/chunk-YPKIQMPR.js +1 -0
- package/dist/{chunk-HQPWFUP5.js → chunk-Z3LGMBJC.js} +1 -1
- package/dist/{colorResolver-BZ_yScf4.d.ts → colorResolver-8A-qj-LP.d.ts} +1 -1
- package/dist/{colorResolver-C6DtsoFI.d.mts → colorResolver-BCvxTlLF.d.mts} +1 -1
- package/dist/{content-CE-ZdMwG.d.mts → content-3xF4WDE8.d.mts} +51 -7
- package/dist/{content-CYXJ2tfQ.d.ts → content-C8fc_tL6.d.ts} +51 -7
- package/dist/{contentControlValues-gyVPsi6m.d.ts → contentControlValues-DGDKD589.d.ts} +1 -1
- package/dist/{contentControlValues-DAwTWfgR.d.mts → contentControlValues-DjWvoJQ-.d.mts} +1 -1
- package/dist/core-plugins.d.mts +6 -5
- package/dist/core-plugins.d.ts +6 -5
- package/dist/core-plugins.js +1 -1
- package/dist/core-plugins.mjs +1 -1
- package/dist/core.d.mts +12 -11
- package/dist/core.d.ts +12 -11
- package/dist/core.js +1 -1
- package/dist/core.mjs +1 -1
- package/dist/{documentStyles-DToJv9co.d.ts → documentStyles-C7k_8Sye.d.ts} +1 -1
- package/dist/{documentStyles-D87dxl18.d.mts → documentStyles-qR0VR2s0.d.mts} +1 -1
- package/dist/docx/index.d.mts +3 -2
- package/dist/docx/index.d.ts +3 -2
- package/dist/docx/index.js +1 -1
- package/dist/docx/index.mjs +1 -1
- package/dist/docx/parser.d.mts +3 -2
- package/dist/docx/parser.d.ts +3 -2
- package/dist/docx/parser.js +1 -1
- package/dist/docx/parser.mjs +1 -1
- package/dist/docx/rezip.d.mts +3 -2
- package/dist/docx/rezip.d.ts +3 -2
- package/dist/docx/rezip.js +1 -1
- package/dist/docx/rezip.mjs +1 -1
- package/dist/docx/serializer/index.d.mts +42 -4
- package/dist/docx/serializer/index.d.ts +42 -4
- package/dist/docx/serializer/index.js +1 -1
- package/dist/docx/serializer/index.mjs +1 -1
- package/dist/editor/index.d.mts +128 -0
- package/dist/editor/index.d.ts +128 -0
- package/dist/editor/index.js +1 -0
- package/dist/editor/index.mjs +1 -0
- package/dist/{fontLoader-Z7pqeNvZ.d.mts → fontLoader-CUS1BPv7.d.mts} +1 -1
- package/dist/{fontLoader-Cm02v7PO.d.ts → fontLoader-Dl9SEKex.d.ts} +1 -1
- package/dist/{footnotes-lCH_P3N3.d.mts → footnotes-BZ24OTAT.d.mts} +25 -2
- package/dist/{footnotes-skVvEHvZ.d.ts → footnotes-DMsicPGd.d.ts} +25 -2
- package/dist/{headerFooterLayout-Bd58Tum3.d.ts → headerFooterLayout-AtAOhM8E.d.ts} +22 -6
- package/dist/{headerFooterLayout-CuIJiIzi.d.mts → headerFooterLayout-CU6hvszp.d.mts} +22 -6
- package/dist/headless.d.mts +47 -11
- package/dist/headless.d.ts +47 -11
- package/dist/headless.js +1 -1
- package/dist/headless.mjs +1 -1
- package/dist/layout-bridge/clickToPositionDom.d.mts +26 -1
- package/dist/layout-bridge/clickToPositionDom.d.ts +26 -1
- package/dist/layout-bridge/clickToPositionDom.js +1 -1
- package/dist/layout-bridge/clickToPositionDom.mjs +1 -1
- package/dist/layout-bridge/index.d.mts +134 -8
- package/dist/layout-bridge/index.d.ts +134 -8
- package/dist/layout-bridge/index.js +1 -1
- package/dist/layout-bridge/index.mjs +1 -1
- package/dist/layout-bridge/measuring/index.d.mts +7 -75
- package/dist/layout-bridge/measuring/index.d.ts +7 -75
- 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 +3 -2
- package/dist/layout-bridge/toFlowBlocks.d.ts +3 -2
- package/dist/layout-bridge/toFlowBlocks.js +1 -1
- package/dist/layout-bridge/toFlowBlocks.mjs +1 -1
- package/dist/layout-engine/index.d.mts +16 -3
- package/dist/layout-engine/index.d.ts +16 -3
- package/dist/layout-engine/index.js +1 -1
- package/dist/layout-engine/index.mjs +1 -1
- package/dist/layout-engine/types.d.mts +22 -1
- package/dist/layout-engine/types.d.ts +22 -1
- package/dist/layout-painter/index.d.mts +7 -5
- package/dist/layout-painter/index.d.ts +7 -5
- package/dist/layout-painter/index.js +1 -1
- package/dist/layout-painter/index.mjs +1 -1
- package/dist/layout-painter/renderPage.d.mts +15 -6
- package/dist/layout-painter/renderPage.d.ts +15 -6
- package/dist/layout-painter/renderPage.js +1 -1
- package/dist/layout-painter/renderPage.mjs +1 -1
- package/dist/managers/AutoSaveManager.d.mts +3 -2
- package/dist/managers/AutoSaveManager.d.ts +3 -2
- package/dist/managers/TableSelectionManager.d.mts +3 -2
- package/dist/managers/TableSelectionManager.d.ts +3 -2
- package/dist/managers/types.d.mts +3 -2
- package/dist/managers/types.d.ts +3 -2
- package/dist/mcp-cli.mjs +23 -23
- package/dist/mcp.d.mts +4 -3
- package/dist/mcp.d.ts +4 -3
- package/dist/mcp.js +3 -3
- package/dist/mcp.mjs +2 -2
- package/dist/measureBlocksPipeline-BMqbRFQB.d.mts +96 -0
- package/dist/measureBlocksPipeline-iYNzAH-o.d.ts +96 -0
- package/dist/{nodes-BNkRKBBX.d.ts → nodes-75Q9GBxV.d.ts} +1 -1
- package/dist/{nodes-Bz-UHhLE.d.mts → nodes-cEI7hVY2.d.mts} +1 -1
- package/dist/prosemirror/applyFormatting.d.mts +67 -0
- package/dist/prosemirror/applyFormatting.d.ts +67 -0
- package/dist/prosemirror/applyFormatting.js +1 -0
- package/dist/prosemirror/applyFormatting.mjs +1 -0
- package/dist/prosemirror/commands/formatting.js +1 -1
- package/dist/prosemirror/commands/formatting.mjs +1 -1
- package/dist/prosemirror/commands/index.d.mts +20 -1
- package/dist/prosemirror/commands/index.d.ts +20 -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/commentIdAllocator.d.mts +50 -0
- package/dist/prosemirror/commentIdAllocator.d.ts +50 -0
- package/dist/prosemirror/commentIdAllocator.js +1 -0
- package/dist/prosemirror/commentIdAllocator.mjs +1 -0
- package/dist/prosemirror/commentOps.d.mts +46 -0
- package/dist/prosemirror/commentOps.d.ts +46 -0
- package/dist/prosemirror/commentOps.js +1 -0
- package/dist/prosemirror/commentOps.mjs +1 -0
- package/dist/prosemirror/conversion/fromProseDoc.d.mts +3 -2
- package/dist/prosemirror/conversion/fromProseDoc.d.ts +3 -2
- package/dist/prosemirror/conversion/fromProseDoc.js +1 -1
- package/dist/prosemirror/conversion/fromProseDoc.mjs +1 -1
- package/dist/prosemirror/conversion/index.d.mts +3 -2
- package/dist/prosemirror/conversion/index.d.ts +3 -2
- package/dist/prosemirror/conversion/index.js +1 -1
- package/dist/prosemirror/conversion/index.mjs +1 -1
- package/dist/prosemirror/editor.css +12 -2
- package/dist/prosemirror/extensions/index.js +1 -1
- package/dist/prosemirror/extensions/index.mjs +1 -1
- package/dist/prosemirror/imageCommit.d.mts +35 -0
- package/dist/prosemirror/imageCommit.d.ts +35 -0
- package/dist/prosemirror/imageCommit.js +1 -0
- package/dist/prosemirror/imageCommit.mjs +1 -0
- package/dist/prosemirror/index.d.mts +6 -5
- package/dist/prosemirror/index.d.ts +6 -5
- package/dist/prosemirror/index.js +2 -2
- package/dist/prosemirror/index.mjs +1 -1
- package/dist/prosemirror/paraText.d.mts +52 -0
- package/dist/prosemirror/paraText.d.ts +52 -0
- package/dist/prosemirror/paraText.js +1 -0
- package/dist/prosemirror/paraText.mjs +1 -0
- package/dist/prosemirror/plugins/index.d.mts +4 -3
- package/dist/prosemirror/plugins/index.d.ts +4 -3
- package/dist/prosemirror/queries.d.mts +65 -0
- package/dist/prosemirror/queries.d.ts +65 -0
- package/dist/prosemirror/queries.js +2 -0
- package/dist/prosemirror/queries.mjs +2 -0
- package/dist/prosemirror/schema/index.d.mts +3 -2
- package/dist/prosemirror/schema/index.d.ts +3 -2
- package/dist/prosemirror/schema/index.js +1 -1
- package/dist/prosemirror/schema/index.mjs +1 -1
- package/dist/prosemirror/styles/index.d.mts +1 -1
- package/dist/prosemirror/styles/index.d.ts +1 -1
- package/dist/prosemirror/tableResize.d.mts +58 -0
- package/dist/prosemirror/tableResize.d.ts +58 -0
- package/dist/prosemirror/tableResize.js +1 -0
- package/dist/prosemirror/tableResize.mjs +1 -0
- package/dist/prosemirror/utils/extractTrackedChanges.d.mts +2 -1
- package/dist/prosemirror/utils/extractTrackedChanges.d.ts +2 -1
- package/dist/{registry-Cpyybgij.d.mts → registry-NLnxX7pq.d.mts} +1 -1
- package/dist/{registry-E5pahPKL.d.ts → registry-egK81C_z.d.ts} +1 -1
- package/dist/sectionPropertiesSerializer-D86QlzlT.d.mts +59 -0
- package/dist/sectionPropertiesSerializer-uXyGONxu.d.ts +59 -0
- package/dist/{styles-EI2lxeEN.d.mts → styles-BOJ93SAm.d.mts} +1 -1
- package/dist/{styles-BBv7doYK.d.ts → styles-BWqX2AS-.d.ts} +1 -1
- package/dist/types/content.d.mts +2 -1
- package/dist/types/content.d.ts +2 -1
- package/dist/types/content.js +1 -1
- package/dist/types/content.mjs +1 -0
- package/dist/types/document.d.mts +17 -6
- package/dist/types/document.d.ts +17 -6
- package/dist/types/document.js +1 -1
- package/dist/types/document.mjs +1 -0
- package/dist/{types-DXG7vqe9.d.ts → types-DDQWU7-j.d.ts} +1 -1
- package/dist/{types-dYdjUZMo.d.mts → types-DTF0N7UE.d.mts} +1 -1
- package/dist/utils/autoScroll.d.mts +24 -0
- package/dist/utils/autoScroll.d.ts +24 -0
- package/dist/utils/autoScroll.js +1 -0
- package/dist/utils/autoScroll.mjs +1 -0
- package/dist/utils/comments.d.mts +2 -1
- package/dist/utils/comments.d.ts +2 -1
- package/dist/utils/index.d.mts +5 -4
- package/dist/utils/index.d.ts +5 -4
- package/dist/{variableDetector-HPZbJ_gw.d.ts → variableDetector-1mxzPfs2.d.ts} +1 -1
- package/dist/{variableDetector-C7BLz9sJ.d.mts → variableDetector-CaY-sDau.d.mts} +1 -1
- package/dist/watermark-DAcnAs_J.d.mts +77 -0
- package/dist/watermark-DAcnAs_J.d.ts +77 -0
- package/package.json +73 -1
- package/dist/chunk-2EQGBVPV.js +0 -2
- package/dist/chunk-44FHVKSI.js +0 -1
- package/dist/chunk-44JKHPGF.mjs +0 -2
- package/dist/chunk-5M7TI6TV.js +0 -1
- package/dist/chunk-6Y6LON6Y.mjs +0 -1
- package/dist/chunk-7RDCZLTU.js +0 -1
- package/dist/chunk-7ZN4WI5N.mjs +0 -4
- package/dist/chunk-CCPBNE2F.mjs +0 -2
- package/dist/chunk-DV6GWBUJ.js +0 -2
- package/dist/chunk-EQAORQC3.mjs +0 -1
- package/dist/chunk-FYKRDDKG.js +0 -1
- package/dist/chunk-GUQFNJHE.mjs +0 -1
- package/dist/chunk-ICE6NC3S.mjs +0 -1
- package/dist/chunk-IFUED5ZS.mjs +0 -1
- package/dist/chunk-KGTEBLB6.js +0 -1
- package/dist/chunk-KRN6YSR2.mjs +0 -1
- package/dist/chunk-L72YAV5N.js +0 -3
- package/dist/chunk-LTHT4A4S.js +0 -1
- package/dist/chunk-MERJFGEP.mjs +0 -59
- package/dist/chunk-MP4QSEO2.mjs +0 -1
- package/dist/chunk-PVAVS3IU.js +0 -1
- package/dist/chunk-QYF7BRG3.js +0 -2
- package/dist/chunk-RKDVY7I3.mjs +0 -1
- package/dist/chunk-ROG4MNOR.js +0 -4
- package/dist/chunk-SORYYVJ7.js +0 -1
- package/dist/chunk-SZIOF5SG.js +0 -59
- package/dist/chunk-VMRUBLPI.js +0 -1
- package/dist/chunk-WKUHYMDO.mjs +0 -1
- package/dist/chunk-WLDI6N3B.mjs +0 -3
- package/dist/chunk-WLHNIXWC.mjs +0 -2
- package/dist/chunk-YMZ3F2FZ.mjs +0 -1
- package/dist/chunk-ZBFNOJGY.js +0 -1
- package/dist/documentSerializer-Bghq9rFI.d.mts +0 -36
- package/dist/documentSerializer-C4lFC60P.d.ts +0 -36
|
@@ -1 +1 @@
|
|
|
1
|
-
export{O as acceptAllChanges,M as acceptChange,R as acceptChangeById,g as addColumnLeft,h as addColumnRight,K as addCommentMark,d as addRowAbove,e as addRowBelow,E as applyTableStyle,C as autoFitContents,i as deleteColumn,f as deleteRow,j as deleteTable,B as distributeColumns,Q as findNextChange,T as findPreviousChange,a as getSplitCellDialogConfig,I as insertImageNode,c as insertTable,n as mergeCells,P as rejectAllChanges,N as rejectChange,S as rejectChangeById,L as removeCommentMark,r as removeTableBorders,m as selectColumn,l as selectRow,k as selectTable,s as setAllTableBorders,p as setCellBorder,F as setCellFillColor,w as setCellMargins,x as setCellTextDirection,v as setCellVerticalAlign,J as setImageWrapType,u as setInsideTableBorders,t as setOutsideTableBorders,z as setRowHeight,G as setTableBorderColor,H as setTableBorderWidth,q as setTableBorders,D as setTableProperties,b as splitActiveTableCell,o as splitCell,A as toggleHeaderRow,y as toggleNoWrap}from'../../chunk-
|
|
1
|
+
export{O as acceptAllChanges,M as acceptChange,R as acceptChangeById,g as addColumnLeft,h as addColumnRight,K as addCommentMark,d as addRowAbove,e as addRowBelow,E as applyTableStyle,C as autoFitContents,i as deleteColumn,f as deleteRow,j as deleteTable,B as distributeColumns,Q as findNextChange,T as findPreviousChange,a as getSplitCellDialogConfig,U as getWatermarkFromState,I as insertImageNode,c as insertTable,n as mergeCells,P as rejectAllChanges,N as rejectChange,S as rejectChangeById,L as removeCommentMark,r as removeTableBorders,m as selectColumn,l as selectRow,k as selectTable,s as setAllTableBorders,p as setCellBorder,F as setCellFillColor,w as setCellMargins,x as setCellTextDirection,v as setCellVerticalAlign,J as setImageWrapType,u as setInsideTableBorders,t as setOutsideTableBorders,z as setRowHeight,G as setTableBorderColor,H as setTableBorderWidth,q as setTableBorders,D as setTableProperties,V as setWatermark,b as splitActiveTableCell,o as splitCell,A as toggleHeaderRow,y as toggleNoWrap}from'../../chunk-CDXCFHOY.mjs';export{z as addTabStop,c as alignCenter,e as alignJustify,b as alignLeft,d as alignRight,v as applyStyle,w as clearStyle,k as decreaseIndent,r as decreaseListLevel,i as doubleSpacing,D as generateTOC,j as increaseIndent,q as increaseListLevel,h as oneAndHalfSpacing,s as removeList,A as removeTabStop,a as setAlignment,n as setIndentFirstLine,l as setIndentLeft,m as setIndentRight,f as setLineSpacing,C as setLtr,B as setRtl,u as setSpaceAfter,t as setSpaceBefore,g as singleSpacing,o as toggleBulletList,p as toggleNumberedList}from'../../chunk-LAJPGQEE.mjs';export{o as clearFontFamily,m as clearFontSize,k as clearHighlight,i as clearTextColor,s as insertHyperlink,r as removeHyperlink,n as setFontFamily,l as setFontSize,j as setHighlight,q as setHyperlink,h as setTextColor,p as setUnderlineStyle,b as toggleBold,c as toggleItalic,e as toggleStrike,g as toggleSubscript,f as toggleSuperscript,d as toggleUnderline}from'../../chunk-7UZJ5YDF.mjs';export{a as insertPageBreak}from'../../chunk-3COGZG7O.mjs';import'../../chunk-KQTB5Y7P.mjs';import'../../chunk-FW23IMBF.mjs';import'../../chunk-4GFTMGSV.mjs';export{h as findHyperlinkRangeAt,f as getHyperlinkAttrs,j as getListInfo,a as getParagraphAlignment,d as getParagraphBidi,g as getSelectedText,c as getStyleId,e as isHyperlinkActive,i as isInList}from'../../chunk-SWBLJF6R.mjs';import'../../chunk-MOKKS75W.mjs';import'../../chunk-OZMNIX6U.mjs';import'../../chunk-AMENZY5F.mjs';export{g as clearFormatting,i as createRemoveMarkCommand,h as createSetMarkCommand,e as getMarkAttr,d as isMarkActive}from'../../chunk-U67MWOPZ.mjs';import'../../chunk-BGY3CB37.mjs';import'../../chunk-2XP6GLA4.mjs';export{a as getTableContext,b as isInTable}from'../../chunk-ZX26QZJ5.mjs';import'../../chunk-MJ6XZFVD.mjs';import'../../chunk-67LVRQIR.mjs';import'../../chunk-LE67NTCN.mjs';import'../../chunk-VW22RZ6C.mjs';import'../../chunk-DI6CRWSW.mjs';import'../../chunk-QYUPLKLP.mjs';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkAPNMO5JT_js=require('../../chunk-APNMO5JT.js');require('../../chunk-WWBNJ7KF.js');var chunk4RTVLMRZ_js=require('../../chunk-4RTVLMRZ.js');require('../../chunk-BHBOAP6Z.js'),require('../../chunk-MZ7LW5CH.js'),require('../../chunk-N3Y5BUKV.js'),require('../../chunk-WVERBZZU.js'),require('../../chunk-6LVPRTB6.js'),require('../../chunk-LWH66Q7Q.js'),require('../../chunk-TUIEV7Q7.js'),require('../../chunk-7HANRHHL.js'),require('../../chunk-MJ5FQX7Q.js'),require('../../chunk-C2BAPYGJ.js'),require('../../chunk-4Q2IP5FW.js'),require('../../chunk-GSKMHXHG.js'),require('../../chunk-DC7S76ZX.js');Object.defineProperty(exports,"addTabStop",{enumerable:true,get:function(){return chunkAPNMO5JT_js.z}});Object.defineProperty(exports,"alignCenter",{enumerable:true,get:function(){return chunkAPNMO5JT_js.c}});Object.defineProperty(exports,"alignJustify",{enumerable:true,get:function(){return chunkAPNMO5JT_js.e}});Object.defineProperty(exports,"alignLeft",{enumerable:true,get:function(){return chunkAPNMO5JT_js.b}});Object.defineProperty(exports,"alignRight",{enumerable:true,get:function(){return chunkAPNMO5JT_js.d}});Object.defineProperty(exports,"applyStyle",{enumerable:true,get:function(){return chunkAPNMO5JT_js.v}});Object.defineProperty(exports,"clearStyle",{enumerable:true,get:function(){return chunkAPNMO5JT_js.w}});Object.defineProperty(exports,"decreaseIndent",{enumerable:true,get:function(){return chunkAPNMO5JT_js.k}});Object.defineProperty(exports,"decreaseListLevel",{enumerable:true,get:function(){return chunkAPNMO5JT_js.r}});Object.defineProperty(exports,"doubleSpacing",{enumerable:true,get:function(){return chunkAPNMO5JT_js.i}});Object.defineProperty(exports,"generateTOC",{enumerable:true,get:function(){return chunkAPNMO5JT_js.D}});Object.defineProperty(exports,"increaseIndent",{enumerable:true,get:function(){return chunkAPNMO5JT_js.j}});Object.defineProperty(exports,"increaseListLevel",{enumerable:true,get:function(){return chunkAPNMO5JT_js.q}});Object.defineProperty(exports,"insertSectionBreak",{enumerable:true,get:function(){return chunkAPNMO5JT_js.x}});Object.defineProperty(exports,"oneAndHalfSpacing",{enumerable:true,get:function(){return chunkAPNMO5JT_js.h}});Object.defineProperty(exports,"removeList",{enumerable:true,get:function(){return chunkAPNMO5JT_js.s}});Object.defineProperty(exports,"removeSectionBreak",{enumerable:true,get:function(){return chunkAPNMO5JT_js.y}});Object.defineProperty(exports,"removeTabStop",{enumerable:true,get:function(){return chunkAPNMO5JT_js.A}});Object.defineProperty(exports,"setAlignment",{enumerable:true,get:function(){return chunkAPNMO5JT_js.a}});Object.defineProperty(exports,"setIndentFirstLine",{enumerable:true,get:function(){return chunkAPNMO5JT_js.n}});Object.defineProperty(exports,"setIndentLeft",{enumerable:true,get:function(){return chunkAPNMO5JT_js.l}});Object.defineProperty(exports,"setIndentRight",{enumerable:true,get:function(){return chunkAPNMO5JT_js.m}});Object.defineProperty(exports,"setLineSpacing",{enumerable:true,get:function(){return chunkAPNMO5JT_js.f}});Object.defineProperty(exports,"setLtr",{enumerable:true,get:function(){return chunkAPNMO5JT_js.C}});Object.defineProperty(exports,"setRtl",{enumerable:true,get:function(){return chunkAPNMO5JT_js.B}});Object.defineProperty(exports,"setSpaceAfter",{enumerable:true,get:function(){return chunkAPNMO5JT_js.u}});Object.defineProperty(exports,"setSpaceBefore",{enumerable:true,get:function(){return chunkAPNMO5JT_js.t}});Object.defineProperty(exports,"singleSpacing",{enumerable:true,get:function(){return chunkAPNMO5JT_js.g}});Object.defineProperty(exports,"toggleBulletList",{enumerable:true,get:function(){return chunkAPNMO5JT_js.o}});Object.defineProperty(exports,"toggleNumberedList",{enumerable:true,get:function(){return chunkAPNMO5JT_js.p}});Object.defineProperty(exports,"getListInfo",{enumerable:true,get:function(){return chunk4RTVLMRZ_js.j}});Object.defineProperty(exports,"getParagraphAlignment",{enumerable:true,get:function(){return chunk4RTVLMRZ_js.a}});Object.defineProperty(exports,"getParagraphBidi",{enumerable:true,get:function(){return chunk4RTVLMRZ_js.d}});Object.defineProperty(exports,"getParagraphTabs",{enumerable:true,get:function(){return chunk4RTVLMRZ_js.b}});Object.defineProperty(exports,"getStyleId",{enumerable:true,get:function(){return chunk4RTVLMRZ_js.c}});Object.defineProperty(exports,"isInList",{enumerable:true,get:function(){return chunk4RTVLMRZ_js.i}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{z as addTabStop,c as alignCenter,e as alignJustify,b as alignLeft,d as alignRight,v as applyStyle,w as clearStyle,k as decreaseIndent,r as decreaseListLevel,i as doubleSpacing,D as generateTOC,j as increaseIndent,q as increaseListLevel,x as insertSectionBreak,h as oneAndHalfSpacing,s as removeList,y as removeSectionBreak,A as removeTabStop,a as setAlignment,n as setIndentFirstLine,l as setIndentLeft,m as setIndentRight,f as setLineSpacing,C as setLtr,B as setRtl,u as setSpaceAfter,t as setSpaceBefore,g as singleSpacing,o as toggleBulletList,p as toggleNumberedList}from'../../chunk-
|
|
1
|
+
export{z as addTabStop,c as alignCenter,e as alignJustify,b as alignLeft,d as alignRight,v as applyStyle,w as clearStyle,k as decreaseIndent,r as decreaseListLevel,i as doubleSpacing,D as generateTOC,j as increaseIndent,q as increaseListLevel,x as insertSectionBreak,h as oneAndHalfSpacing,s as removeList,y as removeSectionBreak,A as removeTabStop,a as setAlignment,n as setIndentFirstLine,l as setIndentLeft,m as setIndentRight,f as setLineSpacing,C as setLtr,B as setRtl,u as setSpaceAfter,t as setSpaceBefore,g as singleSpacing,o as toggleBulletList,p as toggleNumberedList}from'../../chunk-LAJPGQEE.mjs';import'../../chunk-4GFTMGSV.mjs';export{j as getListInfo,a as getParagraphAlignment,d as getParagraphBidi,b as getParagraphTabs,c as getStyleId,i as isInList}from'../../chunk-SWBLJF6R.mjs';import'../../chunk-MOKKS75W.mjs';import'../../chunk-OZMNIX6U.mjs';import'../../chunk-AMENZY5F.mjs';import'../../chunk-U67MWOPZ.mjs';import'../../chunk-BGY3CB37.mjs';import'../../chunk-2XP6GLA4.mjs';import'../../chunk-ZX26QZJ5.mjs';import'../../chunk-MJ6XZFVD.mjs';import'../../chunk-67LVRQIR.mjs';import'../../chunk-LE67NTCN.mjs';import'../../chunk-VW22RZ6C.mjs';import'../../chunk-DI6CRWSW.mjs';import'../../chunk-QYUPLKLP.mjs';
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { EditorView } from 'prosemirror-view';
|
|
2
|
+
import { e as Comment } from '../content-3xF4WDE8.mjs';
|
|
3
|
+
import '../formatting-BH4hcZiq.mjs';
|
|
4
|
+
import '../colors-C3vA7HUU.mjs';
|
|
5
|
+
import '../docx/wrapTypes.mjs';
|
|
6
|
+
import '../watermark-DAcnAs_J.mjs';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Comment + tracked-change ID allocation.
|
|
10
|
+
*
|
|
11
|
+
* Comments (`w:comment` ids) and tracked changes (`w:ins`/`w:del` revision ids)
|
|
12
|
+
* share a single OOXML ID space — a duplicate ID between the two corrupts the
|
|
13
|
+
* round-trip. Allocation is therefore one monotonic, no-reuse counter, exposed
|
|
14
|
+
* as an **instance-scoped** factory rather than module-global state so two
|
|
15
|
+
* editor instances on one page never share (or collide on) a counter.
|
|
16
|
+
*
|
|
17
|
+
* Kept separate from the comment/tracked-change transaction builders
|
|
18
|
+
* (`commentOps.ts`) so the allocator can be owned independently — the editor
|
|
19
|
+
* engine seeds and threads it without dragging in the PM-text-lookup graph.
|
|
20
|
+
*/
|
|
21
|
+
|
|
22
|
+
/** Sentinel ID for a comment that hasn't been persisted yet (anchored to selection). */
|
|
23
|
+
declare const PENDING_COMMENT_ID = -1;
|
|
24
|
+
interface CommentIdAllocator {
|
|
25
|
+
/** Allocate the next ID and advance the counter. */
|
|
26
|
+
next(): number;
|
|
27
|
+
/**
|
|
28
|
+
* On document load, bump the counter above the highest ID found in the
|
|
29
|
+
* loaded comments and tracked-change marks so subsequent allocations don't
|
|
30
|
+
* collide with already-present IDs.
|
|
31
|
+
*/
|
|
32
|
+
seedAbove(maxId: number): void;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Create an instance-scoped monotonic comment/revision ID allocator. IDs are
|
|
36
|
+
* never reused (deleting a comment does not free its ID), and the counter is
|
|
37
|
+
* private to this allocator — multiple editors get independent ID spaces.
|
|
38
|
+
*/
|
|
39
|
+
declare function createCommentIdAllocator(): CommentIdAllocator;
|
|
40
|
+
/**
|
|
41
|
+
* Seed an allocator above every comment/revision ID currently in the document
|
|
42
|
+
* — comment objects (including replies, which carry no mark) plus
|
|
43
|
+
* tracked-change `revisionId` marks. Because `seedAbove` only ever raises the
|
|
44
|
+
* counter, this is safe to call on load (React) or before each allocation
|
|
45
|
+
* (Vue): new IDs never collide with or reuse an existing one, and the comment
|
|
46
|
+
* and revision ID spaces stay unified.
|
|
47
|
+
*/
|
|
48
|
+
declare function seedCommentAllocator(allocator: CommentIdAllocator, comments: Comment[] | undefined, view: EditorView | null): void;
|
|
49
|
+
|
|
50
|
+
export { type CommentIdAllocator, PENDING_COMMENT_ID, createCommentIdAllocator, seedCommentAllocator };
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { EditorView } from 'prosemirror-view';
|
|
2
|
+
import { e as Comment } from '../content-C8fc_tL6.js';
|
|
3
|
+
import '../formatting-_OXU8gLB.js';
|
|
4
|
+
import '../colors-C3vA7HUU.js';
|
|
5
|
+
import '../docx/wrapTypes.js';
|
|
6
|
+
import '../watermark-DAcnAs_J.js';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Comment + tracked-change ID allocation.
|
|
10
|
+
*
|
|
11
|
+
* Comments (`w:comment` ids) and tracked changes (`w:ins`/`w:del` revision ids)
|
|
12
|
+
* share a single OOXML ID space — a duplicate ID between the two corrupts the
|
|
13
|
+
* round-trip. Allocation is therefore one monotonic, no-reuse counter, exposed
|
|
14
|
+
* as an **instance-scoped** factory rather than module-global state so two
|
|
15
|
+
* editor instances on one page never share (or collide on) a counter.
|
|
16
|
+
*
|
|
17
|
+
* Kept separate from the comment/tracked-change transaction builders
|
|
18
|
+
* (`commentOps.ts`) so the allocator can be owned independently — the editor
|
|
19
|
+
* engine seeds and threads it without dragging in the PM-text-lookup graph.
|
|
20
|
+
*/
|
|
21
|
+
|
|
22
|
+
/** Sentinel ID for a comment that hasn't been persisted yet (anchored to selection). */
|
|
23
|
+
declare const PENDING_COMMENT_ID = -1;
|
|
24
|
+
interface CommentIdAllocator {
|
|
25
|
+
/** Allocate the next ID and advance the counter. */
|
|
26
|
+
next(): number;
|
|
27
|
+
/**
|
|
28
|
+
* On document load, bump the counter above the highest ID found in the
|
|
29
|
+
* loaded comments and tracked-change marks so subsequent allocations don't
|
|
30
|
+
* collide with already-present IDs.
|
|
31
|
+
*/
|
|
32
|
+
seedAbove(maxId: number): void;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Create an instance-scoped monotonic comment/revision ID allocator. IDs are
|
|
36
|
+
* never reused (deleting a comment does not free its ID), and the counter is
|
|
37
|
+
* private to this allocator — multiple editors get independent ID spaces.
|
|
38
|
+
*/
|
|
39
|
+
declare function createCommentIdAllocator(): CommentIdAllocator;
|
|
40
|
+
/**
|
|
41
|
+
* Seed an allocator above every comment/revision ID currently in the document
|
|
42
|
+
* — comment objects (including replies, which carry no mark) plus
|
|
43
|
+
* tracked-change `revisionId` marks. Because `seedAbove` only ever raises the
|
|
44
|
+
* counter, this is safe to call on load (React) or before each allocation
|
|
45
|
+
* (Vue): new IDs never collide with or reuse an existing one, and the comment
|
|
46
|
+
* and revision ID spaces stay unified.
|
|
47
|
+
*/
|
|
48
|
+
declare function seedCommentAllocator(allocator: CommentIdAllocator, comments: Comment[] | undefined, view: EditorView | null): void;
|
|
49
|
+
|
|
50
|
+
export { type CommentIdAllocator, PENDING_COMMENT_ID, createCommentIdAllocator, seedCommentAllocator };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';require('../chunk-DC7S76ZX.js');var d=-1;function i(){let e=1;return {next:()=>e++,seedAbove(t){t>=e&&(e=t+1);}}}function a(e,t,n){let o=0;for(let r of t??[])o=Math.max(o,r.id);n&&n.state.doc.descendants(r=>{for(let m of r.marks)m.attrs.revisionId!=null&&(o=Math.max(o,m.attrs.revisionId));}),e.seedAbove(o);}exports.PENDING_COMMENT_ID=d;exports.createCommentIdAllocator=i;exports.seedCommentAllocator=a;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import'../chunk-QYUPLKLP.mjs';var d=-1;function i(){let e=1;return {next:()=>e++,seedAbove(t){t>=e&&(e=t+1);}}}function a(e,t,n){let o=0;for(let r of t??[])o=Math.max(o,r.id);n&&n.state.doc.descendants(r=>{for(let m of r.marks)m.attrs.revisionId!=null&&(o=Math.max(o,m.attrs.revisionId));}),e.seedAbove(o);}export{d as PENDING_COMMENT_ID,i as createCommentIdAllocator,a as seedCommentAllocator};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { EditorView } from 'prosemirror-view';
|
|
2
|
+
import { e as Comment } from '../content-3xF4WDE8.mjs';
|
|
3
|
+
import { CommentIdAllocator } from './commentIdAllocator.mjs';
|
|
4
|
+
import '../formatting-BH4hcZiq.mjs';
|
|
5
|
+
import '../colors-C3vA7HUU.mjs';
|
|
6
|
+
import '../docx/wrapTypes.mjs';
|
|
7
|
+
import '../watermark-DAcnAs_J.mjs';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Comment + tracked-change (proposeChange) PM transaction builders shared by
|
|
11
|
+
* the React and Vue adapters. They locate the target range, apply the mark(s),
|
|
12
|
+
* dispatch, and return a result. ID allocation lives in `commentIdAllocator.ts`
|
|
13
|
+
* and is injected. Adapter-specific state mutation, event emission, and sidebar
|
|
14
|
+
* UI stay in each adapter.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
/** Build a Comment object with a freshly-allocated ID. */
|
|
18
|
+
declare function createComment(allocator: CommentIdAllocator, text: string, authorName: string, parentId?: number): Comment;
|
|
19
|
+
interface AddCommentOptions {
|
|
20
|
+
paraId: string;
|
|
21
|
+
text: string;
|
|
22
|
+
author: string;
|
|
23
|
+
search?: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Locate the comment range (paragraph, narrowed by `search`), add the comment
|
|
27
|
+
* mark, dispatch, and return the created Comment. Returns null when the schema
|
|
28
|
+
* lacks a comment mark or the range can't be resolved. The caller owns adding
|
|
29
|
+
* the comment to its own state and showing the sidebar.
|
|
30
|
+
*/
|
|
31
|
+
declare function addCommentToRange(view: EditorView, options: AddCommentOptions, allocator: CommentIdAllocator): Comment | null;
|
|
32
|
+
interface ProposeChangeOptions {
|
|
33
|
+
paraId: string;
|
|
34
|
+
search: string;
|
|
35
|
+
replaceWith: string;
|
|
36
|
+
author: string;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Apply a tracked change (insertion / deletion / replace) to the located range.
|
|
40
|
+
* `search === ''` means a pure insertion at the paragraph end; `replaceWith ===
|
|
41
|
+
* ''` means a pure deletion. Refuses to layer onto an existing tracked change.
|
|
42
|
+
* Returns true when a change was dispatched, false otherwise.
|
|
43
|
+
*/
|
|
44
|
+
declare function applyProposedChange(view: EditorView, options: ProposeChangeOptions, allocator: CommentIdAllocator): boolean;
|
|
45
|
+
|
|
46
|
+
export { type AddCommentOptions, type ProposeChangeOptions, addCommentToRange, applyProposedChange, createComment };
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { EditorView } from 'prosemirror-view';
|
|
2
|
+
import { e as Comment } from '../content-C8fc_tL6.js';
|
|
3
|
+
import { CommentIdAllocator } from './commentIdAllocator.js';
|
|
4
|
+
import '../formatting-_OXU8gLB.js';
|
|
5
|
+
import '../colors-C3vA7HUU.js';
|
|
6
|
+
import '../docx/wrapTypes.js';
|
|
7
|
+
import '../watermark-DAcnAs_J.js';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Comment + tracked-change (proposeChange) PM transaction builders shared by
|
|
11
|
+
* the React and Vue adapters. They locate the target range, apply the mark(s),
|
|
12
|
+
* dispatch, and return a result. ID allocation lives in `commentIdAllocator.ts`
|
|
13
|
+
* and is injected. Adapter-specific state mutation, event emission, and sidebar
|
|
14
|
+
* UI stay in each adapter.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
/** Build a Comment object with a freshly-allocated ID. */
|
|
18
|
+
declare function createComment(allocator: CommentIdAllocator, text: string, authorName: string, parentId?: number): Comment;
|
|
19
|
+
interface AddCommentOptions {
|
|
20
|
+
paraId: string;
|
|
21
|
+
text: string;
|
|
22
|
+
author: string;
|
|
23
|
+
search?: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Locate the comment range (paragraph, narrowed by `search`), add the comment
|
|
27
|
+
* mark, dispatch, and return the created Comment. Returns null when the schema
|
|
28
|
+
* lacks a comment mark or the range can't be resolved. The caller owns adding
|
|
29
|
+
* the comment to its own state and showing the sidebar.
|
|
30
|
+
*/
|
|
31
|
+
declare function addCommentToRange(view: EditorView, options: AddCommentOptions, allocator: CommentIdAllocator): Comment | null;
|
|
32
|
+
interface ProposeChangeOptions {
|
|
33
|
+
paraId: string;
|
|
34
|
+
search: string;
|
|
35
|
+
replaceWith: string;
|
|
36
|
+
author: string;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Apply a tracked change (insertion / deletion / replace) to the located range.
|
|
40
|
+
* `search === ''` means a pure insertion at the paragraph end; `replaceWith ===
|
|
41
|
+
* ''` means a pure deletion. Refuses to layer onto an existing tracked change.
|
|
42
|
+
* Returns true when a change was dispatched, false otherwise.
|
|
43
|
+
*/
|
|
44
|
+
declare function applyProposedChange(view: EditorView, options: ProposeChangeOptions, allocator: CommentIdAllocator): boolean;
|
|
45
|
+
|
|
46
|
+
export { type AddCommentOptions, type ProposeChangeOptions, addCommentToRange, applyProposedChange, createComment };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var chunkNRWQ65NX_js=require('../chunk-NRWQ65NX.js');require('../chunk-DC7S76ZX.js');function C(e,t,c,r){return {id:e.next(),author:c,date:new Date().toISOString(),content:[{type:"paragraph",formatting:{},content:[{type:"run",formatting:{},content:[{type:"text",text:t}]}]}],...r!==void 0&&{parentId:r}}}function y(e,t,c){let{schema:r}=e.state;if(!r.marks.comment)return null;let n=chunkNRWQ65NX_js.a(e.state.doc,t.paraId);if(!n)return null;let s=n.from+1,m=n.to-1;if(t.search){let o=chunkNRWQ65NX_js.d(e.state.doc,n.from,n.to,t.search);if(!o)return null;s=o.from,m=o.to;}if(s>=m)return null;let a=C(c,t.text,t.author);return e.dispatch(e.state.tr.addMark(s,m,r.marks.comment.create({commentId:a.id}))),a}function A(e,t,c){let{schema:r}=e.state;if(!r.marks.deletion||!r.marks.insertion)return false;let n=chunkNRWQ65NX_js.a(e.state.doc,t.paraId);if(!n)return false;let s=t.search==="",m=t.replaceWith==="";if(s&&m)return false;let a,o;if(s)a=n.to-1,o=n.to-1;else {let i=chunkNRWQ65NX_js.d(e.state.doc,n.from,n.to,t.search);if(!i)return false;a=i.from,o=i.to;}if(a<o){let i=false;if(e.state.doc.nodesBetween(a,o,I=>{for(let h of I.marks)if(h.type===r.marks.insertion||h.type===r.marks.deletion)return i=true,false;return true}),i)return false}let u=c.next(),p=new Date().toISOString(),g=r.marks.deletion.create({revisionId:u,author:t.author,date:p}),x=r.marks.insertion.create({revisionId:u,author:t.author,date:p}),d=e.state.tr;return s||(d=d.addMark(a,o,g)),m||(d=d.insert(o,r.text(t.replaceWith,[x]))),e.dispatch(d),true}exports.addCommentToRange=y;exports.applyProposedChange=A;exports.createComment=C;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import {a,d}from'../chunk-HPJBZL37.mjs';import'../chunk-QYUPLKLP.mjs';function C(e,t,c,r){return {id:e.next(),author:c,date:new Date().toISOString(),content:[{type:"paragraph",formatting:{},content:[{type:"run",formatting:{},content:[{type:"text",text:t}]}]}],...r!==void 0&&{parentId:r}}}function y(e,t,c){let{schema:r}=e.state;if(!r.marks.comment)return null;let n=a(e.state.doc,t.paraId);if(!n)return null;let s=n.from+1,m=n.to-1;if(t.search){let o=d(e.state.doc,n.from,n.to,t.search);if(!o)return null;s=o.from,m=o.to;}if(s>=m)return null;let a$1=C(c,t.text,t.author);return e.dispatch(e.state.tr.addMark(s,m,r.marks.comment.create({commentId:a$1.id}))),a$1}function A(e,t,c){let{schema:r}=e.state;if(!r.marks.deletion||!r.marks.insertion)return false;let n=a(e.state.doc,t.paraId);if(!n)return false;let s=t.search==="",m=t.replaceWith==="";if(s&&m)return false;let a$1,o;if(s)a$1=n.to-1,o=n.to-1;else {let i=d(e.state.doc,n.from,n.to,t.search);if(!i)return false;a$1=i.from,o=i.to;}if(a$1<o){let i=false;if(e.state.doc.nodesBetween(a$1,o,I=>{for(let h of I.marks)if(h.type===r.marks.insertion||h.type===r.marks.deletion)return i=true,false;return true}),i)return false}let u=c.next(),p=new Date().toISOString(),g=r.marks.deletion.create({revisionId:u,author:t.author,date:p}),x=r.marks.insertion.create({revisionId:u,author:t.author,date:p}),d$1=e.state.tr;return s||(d$1=d$1.addMark(a$1,o,g)),m||(d$1=d$1.insert(o,r.text(t.replaceWith,[x]))),e.dispatch(d$1),true}export{y as addCommentToRange,A as applyProposedChange,C as createComment};
|
|
@@ -20,10 +20,11 @@
|
|
|
20
20
|
*/
|
|
21
21
|
import { Node } from 'prosemirror-model';
|
|
22
22
|
import { Document } from '../../types/document.mjs';
|
|
23
|
-
import { B as BlockContent } from '../../content-
|
|
23
|
+
import { B as BlockContent } from '../../content-3xF4WDE8.mjs';
|
|
24
24
|
import '../../colors-C3vA7HUU.mjs';
|
|
25
25
|
import '../../formatting-BH4hcZiq.mjs';
|
|
26
|
-
import '../../
|
|
26
|
+
import '../../watermark-DAcnAs_J.mjs';
|
|
27
|
+
import '../../styles-BOJ93SAm.mjs';
|
|
27
28
|
import '../../docx/wrapTypes.mjs';
|
|
28
29
|
|
|
29
30
|
/**
|
|
@@ -20,10 +20,11 @@
|
|
|
20
20
|
*/
|
|
21
21
|
import { Node } from 'prosemirror-model';
|
|
22
22
|
import { Document } from '../../types/document.js';
|
|
23
|
-
import { B as BlockContent } from '../../content-
|
|
23
|
+
import { B as BlockContent } from '../../content-C8fc_tL6.js';
|
|
24
24
|
import '../../colors-C3vA7HUU.js';
|
|
25
25
|
import '../../formatting-_OXU8gLB.js';
|
|
26
|
-
import '../../
|
|
26
|
+
import '../../watermark-DAcnAs_J.js';
|
|
27
|
+
import '../../styles-BWqX2AS-.js';
|
|
27
28
|
import '../../docx/wrapTypes.js';
|
|
28
29
|
|
|
29
30
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkINDYZOOS_js=require('../../chunk-INDYZOOS.js');require('../../chunk-C45EFOVP.js'),require('../../chunk-JFZIXFRC.js'),require('../../chunk-RQVHKDXK.js'),require('../../chunk-SCK6ZM5V.js'),require('../../chunk-Z3LGMBJC.js'),require('../../chunk-3R7QHNI5.js'),require('../../chunk-4Q2IP5FW.js'),require('../../chunk-DC7S76ZX.js');Object.defineProperty(exports,"fromProseDoc",{enumerable:true,get:function(){return chunkINDYZOOS_js.a}});Object.defineProperty(exports,"proseDocToBlocks",{enumerable:true,get:function(){return chunkINDYZOOS_js.c}});Object.defineProperty(exports,"updateDocumentContent",{enumerable:true,get:function(){return chunkINDYZOOS_js.b}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as fromProseDoc,c as proseDocToBlocks,b as updateDocumentContent}from'../../chunk-
|
|
1
|
+
export{a as fromProseDoc,c as proseDocToBlocks,b as updateDocumentContent}from'../../chunk-D3PRIF3Y.mjs';import'../../chunk-7OW3VCZE.mjs';import'../../chunk-QPFJJPIC.mjs';import'../../chunk-GYWTUUXX.mjs';import'../../chunk-7CZEZ3UL.mjs';import'../../chunk-W77JXDEV.mjs';import'../../chunk-3ANZ3252.mjs';import'../../chunk-VW22RZ6C.mjs';import'../../chunk-QYUPLKLP.mjs';
|
|
@@ -7,11 +7,12 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { Node } from 'prosemirror-model';
|
|
9
9
|
import { Document } from '../../types/document.mjs';
|
|
10
|
-
import {
|
|
11
|
-
import { B as BlockContent } from '../../content-
|
|
10
|
+
import { S as StyleDefinitions, T as Theme } from '../../styles-BOJ93SAm.mjs';
|
|
11
|
+
import { B as BlockContent } from '../../content-3xF4WDE8.mjs';
|
|
12
12
|
export { fromProseDoc, proseDocToBlocks, updateDocumentContent } from './fromProseDoc.mjs';
|
|
13
13
|
import '../../colors-C3vA7HUU.mjs';
|
|
14
14
|
import '../../formatting-BH4hcZiq.mjs';
|
|
15
|
+
import '../../watermark-DAcnAs_J.mjs';
|
|
15
16
|
import '../../docx/wrapTypes.mjs';
|
|
16
17
|
|
|
17
18
|
/**
|
|
@@ -7,11 +7,12 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { Node } from 'prosemirror-model';
|
|
9
9
|
import { Document } from '../../types/document.js';
|
|
10
|
-
import {
|
|
11
|
-
import { B as BlockContent } from '../../content-
|
|
10
|
+
import { S as StyleDefinitions, T as Theme } from '../../styles-BWqX2AS-.js';
|
|
11
|
+
import { B as BlockContent } from '../../content-C8fc_tL6.js';
|
|
12
12
|
export { fromProseDoc, proseDocToBlocks, updateDocumentContent } from './fromProseDoc.js';
|
|
13
13
|
import '../../colors-C3vA7HUU.js';
|
|
14
14
|
import '../../formatting-_OXU8gLB.js';
|
|
15
|
+
import '../../watermark-DAcnAs_J.js';
|
|
15
16
|
import '../../docx/wrapTypes.js';
|
|
16
17
|
|
|
17
18
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';require('../../chunk-UQ6WNWXX.js');var
|
|
1
|
+
'use strict';require('../../chunk-UQ6WNWXX.js');var chunkINDYZOOS_js=require('../../chunk-INDYZOOS.js'),chunkBUCOTKYY_js=require('../../chunk-BUCOTKYY.js');require('../../chunk-C45EFOVP.js'),require('../../chunk-ISKTBM4L.js'),require('../../chunk-JFZIXFRC.js'),require('../../chunk-RQVHKDXK.js'),require('../../chunk-SCK6ZM5V.js'),require('../../chunk-Z3LGMBJC.js'),require('../../chunk-3R7QHNI5.js'),require('../../chunk-WWBNJ7KF.js'),require('../../chunk-4RTVLMRZ.js'),require('../../chunk-BHBOAP6Z.js'),require('../../chunk-MZ7LW5CH.js'),require('../../chunk-N3Y5BUKV.js'),require('../../chunk-WVERBZZU.js'),require('../../chunk-6LVPRTB6.js'),require('../../chunk-LWH66Q7Q.js'),require('../../chunk-TUIEV7Q7.js'),require('../../chunk-7HANRHHL.js'),require('../../chunk-MJ5FQX7Q.js'),require('../../chunk-C2BAPYGJ.js'),require('../../chunk-4Q2IP5FW.js'),require('../../chunk-GSKMHXHG.js'),require('../../chunk-DC7S76ZX.js');Object.defineProperty(exports,"fromProseDoc",{enumerable:true,get:function(){return chunkINDYZOOS_js.a}});Object.defineProperty(exports,"proseDocToBlocks",{enumerable:true,get:function(){return chunkINDYZOOS_js.c}});Object.defineProperty(exports,"updateDocumentContent",{enumerable:true,get:function(){return chunkINDYZOOS_js.b}});Object.defineProperty(exports,"createEmptyDoc",{enumerable:true,get:function(){return chunkBUCOTKYY_js.d}});Object.defineProperty(exports,"footnoteToProseDoc",{enumerable:true,get:function(){return chunkBUCOTKYY_js.c}});Object.defineProperty(exports,"headerFooterToProseDoc",{enumerable:true,get:function(){return chunkBUCOTKYY_js.b}});Object.defineProperty(exports,"toProseDoc",{enumerable:true,get:function(){return chunkBUCOTKYY_js.a}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import'../../chunk-RNOXNNSD.mjs';export{a as fromProseDoc,c as proseDocToBlocks,b as updateDocumentContent}from'../../chunk-
|
|
1
|
+
import'../../chunk-RNOXNNSD.mjs';export{a as fromProseDoc,c as proseDocToBlocks,b as updateDocumentContent}from'../../chunk-D3PRIF3Y.mjs';export{d as createEmptyDoc,c as footnoteToProseDoc,b as headerFooterToProseDoc,a as toProseDoc}from'../../chunk-IUVQJ6PX.mjs';import'../../chunk-7OW3VCZE.mjs';import'../../chunk-LK6I3HMH.mjs';import'../../chunk-QPFJJPIC.mjs';import'../../chunk-GYWTUUXX.mjs';import'../../chunk-7CZEZ3UL.mjs';import'../../chunk-W77JXDEV.mjs';import'../../chunk-3ANZ3252.mjs';import'../../chunk-4GFTMGSV.mjs';import'../../chunk-SWBLJF6R.mjs';import'../../chunk-MOKKS75W.mjs';import'../../chunk-OZMNIX6U.mjs';import'../../chunk-AMENZY5F.mjs';import'../../chunk-U67MWOPZ.mjs';import'../../chunk-BGY3CB37.mjs';import'../../chunk-2XP6GLA4.mjs';import'../../chunk-ZX26QZJ5.mjs';import'../../chunk-MJ6XZFVD.mjs';import'../../chunk-67LVRQIR.mjs';import'../../chunk-LE67NTCN.mjs';import'../../chunk-VW22RZ6C.mjs';import'../../chunk-DI6CRWSW.mjs';import'../../chunk-QYUPLKLP.mjs';
|
|
@@ -660,14 +660,24 @@
|
|
|
660
660
|
transition: opacity 0.15s ease;
|
|
661
661
|
}
|
|
662
662
|
|
|
663
|
-
/*
|
|
663
|
+
/* While editing one HF region, the sibling region (and the non-edited area)
|
|
664
|
+
shows a normal arrow, not the double-click "pointer" hint. The active
|
|
665
|
+
region's `cursor: text` below wins via later source order. */
|
|
666
|
+
.paged-editor--hf-editing .layout-page-header,
|
|
667
|
+
.paged-editor--hf-editing .layout-page-footer {
|
|
668
|
+
cursor: default;
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
/* Dotted border on active header area; text caret since it's being edited */
|
|
664
672
|
.paged-editor--editing-header .layout-page-header {
|
|
665
673
|
border-bottom: 1px dotted #4285f4;
|
|
674
|
+
cursor: text;
|
|
666
675
|
}
|
|
667
676
|
|
|
668
|
-
/* Dotted border on active footer area */
|
|
677
|
+
/* Dotted border on active footer area; text caret since it's being edited */
|
|
669
678
|
.paged-editor--editing-footer .layout-page-footer {
|
|
670
679
|
border-top: 1px dotted #4285f4;
|
|
680
|
+
cursor: text;
|
|
671
681
|
}
|
|
672
682
|
|
|
673
683
|
/*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunk4RTVLMRZ_js=require('../../chunk-4RTVLMRZ.js');require('../../chunk-BHBOAP6Z.js'),require('../../chunk-MZ7LW5CH.js'),require('../../chunk-N3Y5BUKV.js'),require('../../chunk-WVERBZZU.js'),require('../../chunk-6LVPRTB6.js'),require('../../chunk-LWH66Q7Q.js');var chunkTUIEV7Q7_js=require('../../chunk-TUIEV7Q7.js'),chunk7HANRHHL_js=require('../../chunk-7HANRHHL.js');require('../../chunk-MJ5FQX7Q.js'),require('../../chunk-C2BAPYGJ.js'),require('../../chunk-4Q2IP5FW.js'),require('../../chunk-GSKMHXHG.js'),require('../../chunk-DC7S76ZX.js');Object.defineProperty(exports,"ExtensionManager",{enumerable:true,get:function(){return chunk4RTVLMRZ_js.q}});Object.defineProperty(exports,"ParagraphChangeTrackerExtension",{enumerable:true,get:function(){return chunk4RTVLMRZ_js.o}});Object.defineProperty(exports,"clearTrackedChanges",{enumerable:true,get:function(){return chunk4RTVLMRZ_js.n}});Object.defineProperty(exports,"createStarterKit",{enumerable:true,get:function(){return chunk4RTVLMRZ_js.p}});Object.defineProperty(exports,"getChangedParagraphIds",{enumerable:true,get:function(){return chunk4RTVLMRZ_js.k}});Object.defineProperty(exports,"hasStructuralChanges",{enumerable:true,get:function(){return chunk4RTVLMRZ_js.l}});Object.defineProperty(exports,"hasUntrackedChanges",{enumerable:true,get:function(){return chunk4RTVLMRZ_js.m}});Object.defineProperty(exports,"TableCellExtension",{enumerable:true,get:function(){return chunkTUIEV7Q7_js.g}});Object.defineProperty(exports,"TableHeaderExtension",{enumerable:true,get:function(){return chunkTUIEV7Q7_js.h}});Object.defineProperty(exports,"TableNodeExtension",{enumerable:true,get:function(){return chunkTUIEV7Q7_js.e}});Object.defineProperty(exports,"TableRowExtension",{enumerable:true,get:function(){return chunkTUIEV7Q7_js.f}});Object.defineProperty(exports,"Priority",{enumerable:true,get:function(){return chunk7HANRHHL_js.a}});Object.defineProperty(exports,"createExtension",{enumerable:true,get:function(){return chunk7HANRHHL_js.b}});Object.defineProperty(exports,"createMarkExtension",{enumerable:true,get:function(){return chunk7HANRHHL_js.d}});Object.defineProperty(exports,"createNodeExtension",{enumerable:true,get:function(){return chunk7HANRHHL_js.c}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{q as ExtensionManager,o as ParagraphChangeTrackerExtension,n as clearTrackedChanges,p as createStarterKit,k as getChangedParagraphIds,l as hasStructuralChanges,m as hasUntrackedChanges}from'../../chunk-
|
|
1
|
+
export{q as ExtensionManager,o as ParagraphChangeTrackerExtension,n as clearTrackedChanges,p as createStarterKit,k as getChangedParagraphIds,l as hasStructuralChanges,m as hasUntrackedChanges}from'../../chunk-SWBLJF6R.mjs';import'../../chunk-MOKKS75W.mjs';import'../../chunk-OZMNIX6U.mjs';import'../../chunk-AMENZY5F.mjs';import'../../chunk-U67MWOPZ.mjs';import'../../chunk-BGY3CB37.mjs';import'../../chunk-2XP6GLA4.mjs';export{g as TableCellExtension,h as TableHeaderExtension,e as TableNodeExtension,f as TableRowExtension}from'../../chunk-ZX26QZJ5.mjs';export{a as Priority,b as createExtension,d as createMarkExtension,c as createNodeExtension}from'../../chunk-MJ6XZFVD.mjs';import'../../chunk-67LVRQIR.mjs';import'../../chunk-LE67NTCN.mjs';import'../../chunk-VW22RZ6C.mjs';import'../../chunk-DI6CRWSW.mjs';import'../../chunk-QYUPLKLP.mjs';
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Node } from 'prosemirror-model';
|
|
2
|
+
import { EditorView } from 'prosemirror-view';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Image resize / drag-move PM commits shared by the React and Vue adapters.
|
|
6
|
+
*
|
|
7
|
+
* The float-vs-inline fork is identical across adapters; only the DOM lookups
|
|
8
|
+
* differ (which `.layout-page-content` the drop landed in; how the inline drop
|
|
9
|
+
* position is hit-tested). Those stay in each adapter, which passes the
|
|
10
|
+
* resolved EMU offsets (float) or drop position (inline) into the pure commits
|
|
11
|
+
* here. Each commit dispatches and returns the PM position the caller should
|
|
12
|
+
* re-select as a NodeSelection (or null on no-op / failure).
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
/** True when the image is floating (anchored) rather than inline. */
|
|
16
|
+
declare function isFloatingImage(node: Node): boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Resize commit: set the image node's `width`/`height`. Returns `pmPos` to
|
|
19
|
+
* re-select, or null if the position no longer holds an image.
|
|
20
|
+
*/
|
|
21
|
+
declare function commitImageResize(view: EditorView, pmPos: number, newWidth: number, newHeight: number): number | null;
|
|
22
|
+
/**
|
|
23
|
+
* Floating drag commit: rewrite the anchor's margin-relative `position`
|
|
24
|
+
* offsets (in EMU) so the image lands at the drop point while staying
|
|
25
|
+
* floating. Returns `pmPos` to re-select, or null on no-op / failure.
|
|
26
|
+
*/
|
|
27
|
+
declare function commitImageFloatMove(view: EditorView, pmPos: number, hOffsetEmu: number, vOffsetEmu: number): number | null;
|
|
28
|
+
/**
|
|
29
|
+
* Inline drag commit: move the image node to `dropPos` via a delete + insert
|
|
30
|
+
* pair. Returns the PM position to re-select, or null when the drop is a
|
|
31
|
+
* no-op (same slot) or fails.
|
|
32
|
+
*/
|
|
33
|
+
declare function commitImageInlineMove(view: EditorView, pmPos: number, dropPos: number): number | null;
|
|
34
|
+
|
|
35
|
+
export { commitImageFloatMove, commitImageInlineMove, commitImageResize, isFloatingImage };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Node } from 'prosemirror-model';
|
|
2
|
+
import { EditorView } from 'prosemirror-view';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Image resize / drag-move PM commits shared by the React and Vue adapters.
|
|
6
|
+
*
|
|
7
|
+
* The float-vs-inline fork is identical across adapters; only the DOM lookups
|
|
8
|
+
* differ (which `.layout-page-content` the drop landed in; how the inline drop
|
|
9
|
+
* position is hit-tested). Those stay in each adapter, which passes the
|
|
10
|
+
* resolved EMU offsets (float) or drop position (inline) into the pure commits
|
|
11
|
+
* here. Each commit dispatches and returns the PM position the caller should
|
|
12
|
+
* re-select as a NodeSelection (or null on no-op / failure).
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
/** True when the image is floating (anchored) rather than inline. */
|
|
16
|
+
declare function isFloatingImage(node: Node): boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Resize commit: set the image node's `width`/`height`. Returns `pmPos` to
|
|
19
|
+
* re-select, or null if the position no longer holds an image.
|
|
20
|
+
*/
|
|
21
|
+
declare function commitImageResize(view: EditorView, pmPos: number, newWidth: number, newHeight: number): number | null;
|
|
22
|
+
/**
|
|
23
|
+
* Floating drag commit: rewrite the anchor's margin-relative `position`
|
|
24
|
+
* offsets (in EMU) so the image lands at the drop point while staying
|
|
25
|
+
* floating. Returns `pmPos` to re-select, or null on no-op / failure.
|
|
26
|
+
*/
|
|
27
|
+
declare function commitImageFloatMove(view: EditorView, pmPos: number, hOffsetEmu: number, vOffsetEmu: number): number | null;
|
|
28
|
+
/**
|
|
29
|
+
* Inline drag commit: move the image node to `dropPos` via a delete + insert
|
|
30
|
+
* pair. Returns the PM position to re-select, or null when the drop is a
|
|
31
|
+
* no-op (same slot) or fails.
|
|
32
|
+
*/
|
|
33
|
+
declare function commitImageInlineMove(view: EditorView, pmPos: number, dropPos: number): number | null;
|
|
34
|
+
|
|
35
|
+
export { commitImageFloatMove, commitImageInlineMove, commitImageResize, isFloatingImage };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';require('../chunk-DC7S76ZX.js');function a(e){let t=e.attrs.wrapType;return e.attrs.displayMode==="float"||(t?["square","tight","through"].includes(t):false)}function o(e,t){let r=e.state.doc.nodeAt(t);return !r||r.type.name!=="image"?null:r}function l(e,t,r,i){try{let n=o(e,t);return n?(e.dispatch(e.state.tr.setNodeMarkup(t,void 0,{...n.attrs,width:r,height:i})),t):null}catch{return null}}function d(e,t,r,i){try{let n=o(e,t);if(!n)return null;let u={horizontal:{posOffset:r,relativeTo:"margin"},vertical:{posOffset:i,relativeTo:"margin"}};return e.dispatch(e.state.tr.setNodeMarkup(t,void 0,{...n.attrs,position:u})),t}catch{return null}}function c(e,t,r){try{let i=o(e,t);if(!i||r===t||r===t+1)return null;let n=e.state.tr;if(r<=t)return n=n.delete(t,t+i.nodeSize),n=n.insert(r,i),e.dispatch(n),r;n=n.delete(t,t+i.nodeSize);let u=Math.min(r-i.nodeSize,n.doc.content.size);return n=n.insert(u,i),e.dispatch(n),Math.min(u,e.state.doc.content.size-1)}catch{return null}}exports.commitImageFloatMove=d;exports.commitImageInlineMove=c;exports.commitImageResize=l;exports.isFloatingImage=a;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import'../chunk-QYUPLKLP.mjs';function a(e){let t=e.attrs.wrapType;return e.attrs.displayMode==="float"||(t?["square","tight","through"].includes(t):false)}function o(e,t){let r=e.state.doc.nodeAt(t);return !r||r.type.name!=="image"?null:r}function l(e,t,r,i){try{let n=o(e,t);return n?(e.dispatch(e.state.tr.setNodeMarkup(t,void 0,{...n.attrs,width:r,height:i})),t):null}catch{return null}}function d(e,t,r,i){try{let n=o(e,t);if(!n)return null;let u={horizontal:{posOffset:r,relativeTo:"margin"},vertical:{posOffset:i,relativeTo:"margin"}};return e.dispatch(e.state.tr.setNodeMarkup(t,void 0,{...n.attrs,position:u})),t}catch{return null}}function c(e,t,r){try{let i=o(e,t);if(!i||r===t||r===t+1)return null;let n=e.state.tr;if(r<=t)return n=n.delete(t,t+i.nodeSize),n=n.insert(r,i),e.dispatch(n),r;n=n.delete(t,t+i.nodeSize);let u=Math.min(r-i.nodeSize,n.doc.content.size);return n=n.insert(u,i),e.dispatch(n),Math.min(u,e.state.doc.content.size-1)}catch{return null}}export{d as commitImageFloatMove,c as commitImageInlineMove,l as commitImageResize,a as isFloatingImage};
|
|
@@ -19,15 +19,15 @@ import { EditorState, Transaction } from 'prosemirror-state';
|
|
|
19
19
|
export { TextSelection } from 'prosemirror-state';
|
|
20
20
|
import { T as TextFormatting, P as ParagraphFormatting } from '../formatting-BH4hcZiq.mjs';
|
|
21
21
|
export { SelectionChangeCallback, SelectionContext, createSelectionTrackerPlugin, extractSelectionContext, getSelectionContext, selectionTrackerKey } from './plugins/selectionTracker.mjs';
|
|
22
|
-
export { c as createDocumentStylesPlugin, d as documentStylesKey, g as getDocumentStyleResolver } from '../documentStyles-
|
|
22
|
+
export { c as createDocumentStylesPlugin, d as documentStylesKey, g as getDocumentStyleResolver } from '../documentStyles-qR0VR2s0.mjs';
|
|
23
23
|
export { clearFontFamily, clearFontSize, clearFormatting, clearHighlight, clearTextColor, findHyperlinkRangeAt, getHyperlinkAttrs, getMarkAttr, getSelectedText, insertHyperlink, isHyperlinkActive, isMarkActive, removeHyperlink, setFontFamily, setFontSize, setHighlight, setHyperlink, setTextColor, toggleBold, toggleItalic, toggleStrike, toggleSubscript, toggleSuperscript, toggleUnderline } from './commands/formatting.mjs';
|
|
24
24
|
export { addTabStop, alignCenter, alignJustify, alignLeft, alignRight, applyStyle, clearStyle, decreaseIndent, decreaseListLevel, generateTOC, getListInfo, getParagraphAlignment, getParagraphBidi, getStyleId, increaseIndent, increaseListLevel, isInList, removeList, removeTabStop, setAlignment, setIndentFirstLine, setIndentLeft, setIndentRight, setLineSpacing, setLtr, setRtl, toggleBulletList, toggleNumberedList } from './commands/paragraph.mjs';
|
|
25
25
|
export { a as addColumnLeft, b as addColumnRight, c as addRowAbove, d as addRowBelow, e as applyTableStyle, f as autoFitContents, g as deleteColumn, h as deleteRow, i as deleteTable, j as distributeColumns, k as insertTable, m as mergeCells, r as removeTableBorders, s as selectColumn, l as selectRow, n as selectTable, o as setAllTableBorders, p as setCellBorder, q as setCellFillColor, t as setCellMargins, u as setCellTextDirection, v as setCellVerticalAlign, w as setInsideTableBorders, x as setOutsideTableBorders, y as setRowHeight, z as setTableBorderColor, A as setTableBorderWidth, B as setTableBorders, C as setTableProperties, D as splitCell, E as toggleHeaderRow, F as toggleNoWrap } from '../table-_t_W8oQf.mjs';
|
|
26
26
|
export { insertPageBreak } from './commands/pageBreak.mjs';
|
|
27
|
-
export { I as ImageAttrs, P as ParagraphAttrs } from '../nodes-
|
|
27
|
+
export { I as ImageAttrs, P as ParagraphAttrs } from '../nodes-cEI7hVY2.mjs';
|
|
28
28
|
import { Node } from 'prosemirror-model';
|
|
29
|
-
import { a as ContentControlFilter, f as ContentControlValue } from '../contentControlValues-
|
|
30
|
-
import { t as SdtType, u as SdtProperties, v as SdtDataBinding } from '../content-
|
|
29
|
+
import { a as ContentControlFilter, f as ContentControlValue } from '../contentControlValues-DjWvoJQ-.mjs';
|
|
30
|
+
import { t as SdtType, u as SdtProperties, v as SdtDataBinding } from '../content-3xF4WDE8.mjs';
|
|
31
31
|
export { f as findParagraphByParaId, a as findStartPosForParaId } from '../findParagraphByParaId-Maw_8M5D.mjs';
|
|
32
32
|
export { LayoutSelectionGate } from './utils/LayoutSelectionGate.mjs';
|
|
33
33
|
export { B as BorderPreset, T as TableContextInfo, g as getTableContext, i as isInTable } from '../borders-BH_GoYU3.mjs';
|
|
@@ -35,8 +35,9 @@ export { F as FontFamilyAttrs, a as FontSizeAttrs, H as HyperlinkAttrs, T as Tex
|
|
|
35
35
|
import '../types-RchZmPFN.mjs';
|
|
36
36
|
import '../colors-C3vA7HUU.mjs';
|
|
37
37
|
import '../docx/wrapTypes.mjs';
|
|
38
|
+
import '../watermark-DAcnAs_J.mjs';
|
|
38
39
|
import '../types/document.mjs';
|
|
39
|
-
import '../styles-
|
|
40
|
+
import '../styles-BOJ93SAm.mjs';
|
|
40
41
|
|
|
41
42
|
/**
|
|
42
43
|
* Selection State Utilities
|
|
@@ -19,15 +19,15 @@ import { EditorState, Transaction } from 'prosemirror-state';
|
|
|
19
19
|
export { TextSelection } from 'prosemirror-state';
|
|
20
20
|
import { T as TextFormatting, P as ParagraphFormatting } from '../formatting-_OXU8gLB.js';
|
|
21
21
|
export { SelectionChangeCallback, SelectionContext, createSelectionTrackerPlugin, extractSelectionContext, getSelectionContext, selectionTrackerKey } from './plugins/selectionTracker.js';
|
|
22
|
-
export { c as createDocumentStylesPlugin, d as documentStylesKey, g as getDocumentStyleResolver } from '../documentStyles-
|
|
22
|
+
export { c as createDocumentStylesPlugin, d as documentStylesKey, g as getDocumentStyleResolver } from '../documentStyles-C7k_8Sye.js';
|
|
23
23
|
export { clearFontFamily, clearFontSize, clearFormatting, clearHighlight, clearTextColor, findHyperlinkRangeAt, getHyperlinkAttrs, getMarkAttr, getSelectedText, insertHyperlink, isHyperlinkActive, isMarkActive, removeHyperlink, setFontFamily, setFontSize, setHighlight, setHyperlink, setTextColor, toggleBold, toggleItalic, toggleStrike, toggleSubscript, toggleSuperscript, toggleUnderline } from './commands/formatting.js';
|
|
24
24
|
export { addTabStop, alignCenter, alignJustify, alignLeft, alignRight, applyStyle, clearStyle, decreaseIndent, decreaseListLevel, generateTOC, getListInfo, getParagraphAlignment, getParagraphBidi, getStyleId, increaseIndent, increaseListLevel, isInList, removeList, removeTabStop, setAlignment, setIndentFirstLine, setIndentLeft, setIndentRight, setLineSpacing, setLtr, setRtl, toggleBulletList, toggleNumberedList } from './commands/paragraph.js';
|
|
25
25
|
export { a as addColumnLeft, b as addColumnRight, c as addRowAbove, d as addRowBelow, e as applyTableStyle, f as autoFitContents, g as deleteColumn, h as deleteRow, i as deleteTable, j as distributeColumns, k as insertTable, m as mergeCells, r as removeTableBorders, s as selectColumn, l as selectRow, n as selectTable, o as setAllTableBorders, p as setCellBorder, q as setCellFillColor, t as setCellMargins, u as setCellTextDirection, v as setCellVerticalAlign, w as setInsideTableBorders, x as setOutsideTableBorders, y as setRowHeight, z as setTableBorderColor, A as setTableBorderWidth, B as setTableBorders, C as setTableProperties, D as splitCell, E as toggleHeaderRow, F as toggleNoWrap } from '../table-P8esKWAc.js';
|
|
26
26
|
export { insertPageBreak } from './commands/pageBreak.js';
|
|
27
|
-
export { I as ImageAttrs, P as ParagraphAttrs } from '../nodes-
|
|
27
|
+
export { I as ImageAttrs, P as ParagraphAttrs } from '../nodes-75Q9GBxV.js';
|
|
28
28
|
import { Node } from 'prosemirror-model';
|
|
29
|
-
import { a as ContentControlFilter, f as ContentControlValue } from '../contentControlValues-
|
|
30
|
-
import { t as SdtType, u as SdtProperties, v as SdtDataBinding } from '../content-
|
|
29
|
+
import { a as ContentControlFilter, f as ContentControlValue } from '../contentControlValues-DGDKD589.js';
|
|
30
|
+
import { t as SdtType, u as SdtProperties, v as SdtDataBinding } from '../content-C8fc_tL6.js';
|
|
31
31
|
export { f as findParagraphByParaId, a as findStartPosForParaId } from '../findParagraphByParaId-Maw_8M5D.js';
|
|
32
32
|
export { LayoutSelectionGate } from './utils/LayoutSelectionGate.js';
|
|
33
33
|
export { B as BorderPreset, T as TableContextInfo, g as getTableContext, i as isInTable } from '../borders-Z9hPno2u.js';
|
|
@@ -35,8 +35,9 @@ export { F as FontFamilyAttrs, a as FontSizeAttrs, H as HyperlinkAttrs, T as Tex
|
|
|
35
35
|
import '../types-RchZmPFN.js';
|
|
36
36
|
import '../colors-C3vA7HUU.js';
|
|
37
37
|
import '../docx/wrapTypes.js';
|
|
38
|
+
import '../watermark-DAcnAs_J.js';
|
|
38
39
|
import '../types/document.js';
|
|
39
|
-
import '../styles-
|
|
40
|
+
import '../styles-BWqX2AS-.js';
|
|
40
41
|
|
|
41
42
|
/**
|
|
42
43
|
* Selection State Utilities
|