@eigenpal/docx-editor-core 1.4.0 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent/index.d.mts +8 -7
- package/dist/agent/index.d.ts +8 -7
- package/dist/agent/index.js +1 -1
- package/dist/agent/index.mjs +1 -1
- package/dist/chunk-2KPOGFFR.js +1 -0
- package/dist/{chunk-KXVCCT2A.js → chunk-2KUOYHXX.js} +1 -1
- package/dist/chunk-2LVK7EF5.mjs +2 -0
- package/dist/chunk-2ZTKTE7P.js +1 -0
- package/dist/{chunk-C45EFOVP.js → chunk-34DJT72K.js} +1 -1
- package/dist/chunk-3HLRRK6N.mjs +2 -0
- package/dist/chunk-4272FQ2E.js +1 -0
- package/dist/chunk-4DCTKHS5.js +1 -0
- package/dist/chunk-4JPHW7ZI.js +2 -0
- package/dist/chunk-4QJEMD23.mjs +4 -0
- package/dist/chunk-4QSFBX26.mjs +1 -0
- package/dist/chunk-4SZAFWLV.mjs +1 -0
- package/dist/{chunk-GGUHM74A.mjs → chunk-5JULVEYK.mjs} +1 -1
- package/dist/chunk-6AGU57TL.mjs +1 -0
- package/dist/chunk-6ENZQGYR.mjs +1 -0
- package/dist/chunk-6KYOT4E7.js +4 -0
- package/dist/chunk-77X765ZO.js +1 -0
- package/dist/chunk-7UMOUKSF.js +1 -0
- package/dist/chunk-AXVWVIIN.js +1 -0
- package/dist/chunk-B6FA4MJ5.mjs +1 -0
- package/dist/chunk-BBJMUBTD.mjs +1 -0
- package/dist/chunk-BJSG6TEG.js +1 -0
- package/dist/chunk-BKP5QMTS.js +1 -0
- package/dist/chunk-C57BOE7B.mjs +2 -0
- package/dist/chunk-CDBKFBC2.mjs +15 -0
- package/dist/{chunk-BUEMXRXH.js → chunk-CDGV7CLS.js} +1 -1
- package/dist/{chunk-6IZOFIQH.js → chunk-CWPIXUU2.js} +1 -1
- package/dist/chunk-DX5XU6JN.js +1 -0
- package/dist/chunk-E7UN3PVC.mjs +1 -0
- package/dist/chunk-EJ2JAYRI.js +1 -0
- package/dist/{chunk-CHN26LLL.mjs → chunk-F24WZXN4.mjs} +1 -1
- package/dist/{chunk-2SGJZYQF.js → chunk-F44XU6G5.js} +1 -1
- package/dist/{chunk-TE2AF7FM.js → chunk-FETIBXTH.js} +1 -1
- package/dist/{chunk-CZSAC65M.js → chunk-GFM6PERG.js} +1 -1
- package/dist/chunk-GLPOVLZD.mjs +1 -0
- package/dist/chunk-H57LNDBH.js +1 -0
- package/dist/chunk-HEJJXAXN.mjs +1 -0
- package/dist/chunk-ILPNMG7Q.js +1 -0
- package/dist/chunk-IM56AITE.mjs +1 -0
- package/dist/{chunk-BH3ACQ3M.js → chunk-JQUIUKRO.js} +3 -3
- package/dist/chunk-KK673XRZ.mjs +1 -0
- package/dist/chunk-KNY7SXPJ.mjs +1 -0
- package/dist/{chunk-DFUWJHKF.mjs → chunk-KSW6W2EK.mjs} +4 -4
- package/dist/chunk-LVUL7O27.js +1 -0
- package/dist/{chunk-SCK6ZM5V.js → chunk-LW5OFHSW.js} +2 -2
- package/dist/chunk-M65C4SQJ.mjs +2 -0
- package/dist/chunk-MA3HLGFO.js +1 -0
- package/dist/chunk-MWOHCSZE.js +1 -0
- package/dist/chunk-NO6PIL32.mjs +1 -0
- package/dist/chunk-NTBZRITU.mjs +1 -0
- package/dist/chunk-NTYJIOUE.js +2 -0
- package/dist/chunk-NY36MZ55.mjs +1 -0
- package/dist/chunk-PJEB3ZWG.mjs +3 -0
- package/dist/chunk-Q2VALXEU.js +3 -0
- package/dist/chunk-QVRMX2AC.js +15 -0
- package/dist/{chunk-FYRJTDC4.mjs → chunk-QZPVZY6S.mjs} +1 -1
- package/dist/{chunk-3QPKTG2Y.js → chunk-RGHRXIIZ.js} +3 -3
- package/dist/chunk-RRJKF2XI.mjs +1 -0
- package/dist/{chunk-ZBCFIW2V.js → chunk-T3UP6LF5.js} +1 -1
- package/dist/chunk-UC7JW66O.mjs +1 -0
- package/dist/chunk-V3NE7Q22.js +2 -0
- package/dist/chunk-VDKSZ5BQ.mjs +1 -0
- package/dist/chunk-VJFIAFZ5.mjs +1 -0
- package/dist/chunk-WCB25ESG.mjs +1 -0
- package/dist/chunk-WEQA5PPW.mjs +1 -0
- package/dist/{chunk-HPAUUQAX.mjs → chunk-WQJWT4RB.mjs} +1 -1
- package/dist/chunk-WWG6PUWU.js +1 -0
- package/dist/chunk-X6AICTHN.js +1 -0
- package/dist/{chunk-YNUPP7UG.mjs → chunk-XTPT4TNP.mjs} +2 -2
- package/dist/{chunk-CHTIWTHQ.mjs → chunk-YMXWLXVF.mjs} +1 -1
- package/dist/{colorResolver-8A-qj-LP.d.ts → colorResolver-C696sd9x.d.ts} +1 -1
- package/dist/{colorResolver-BCvxTlLF.d.mts → colorResolver-DCBfI4ld.d.mts} +1 -1
- package/dist/{content-C8fc_tL6.d.ts → content-BebvPfXc.d.ts} +4 -148
- package/dist/{content-3xF4WDE8.d.mts → content-CbBCrsr0.d.mts} +4 -148
- package/dist/{contentControlValues-DGDKD589.d.ts → contentControlValues-Com1GnZS.d.ts} +1 -1
- package/dist/{contentControlValues-DjWvoJQ-.d.mts → contentControlValues-DVJyudKU.d.mts} +1 -1
- package/dist/core-plugins.d.mts +5 -4
- package/dist/core-plugins.d.ts +5 -4
- 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-qR0VR2s0.d.mts → documentStyles-1G0xTl1v.d.mts} +1 -1
- package/dist/{documentStyles-C7k_8Sye.d.ts → documentStyles-Bw98BwEy.d.ts} +1 -1
- package/dist/docx/index.d.mts +8 -68
- package/dist/docx/index.d.ts +8 -68
- package/dist/docx/index.js +1 -1
- package/dist/docx/index.mjs +1 -1
- package/dist/docx/parser.d.mts +5 -4
- package/dist/docx/parser.d.ts +5 -4
- package/dist/docx/parser.js +1 -1
- package/dist/docx/parser.mjs +1 -1
- package/dist/docx/rezip.d.mts +5 -4
- package/dist/docx/rezip.d.ts +5 -4
- package/dist/docx/rezip.js +1 -1
- package/dist/docx/rezip.mjs +1 -1
- package/dist/docx/serializer/index.d.mts +6 -5
- package/dist/docx/serializer/index.d.ts +6 -5
- package/dist/docx/serializer/index.js +1 -1
- package/dist/docx/serializer/index.mjs +1 -1
- package/dist/editor/index.d.mts +5 -4
- package/dist/editor/index.d.ts +5 -4
- package/dist/editor/index.js +1 -1
- package/dist/editor/index.mjs +1 -1
- package/dist/executor-FHL5D4CB.js +1 -0
- package/dist/executor-FL6XGVP3.mjs +1 -0
- package/dist/{fontLoader-CUS1BPv7.d.mts → fontLoader-B4uFKpAy.d.mts} +48 -5
- package/dist/{fontLoader-Dl9SEKex.d.ts → fontLoader-D9SBYuZZ.d.ts} +48 -5
- package/dist/{formatting-BH4hcZiq.d.mts → formatting-DFtuRFQY.d.mts} +13 -0
- package/dist/{formatting-_OXU8gLB.d.ts → formatting-JhqWT_XM.d.ts} +13 -0
- package/dist/{headerFooterLayout-AtAOhM8E.d.ts → headerFooterLayout-CtVsfqxQ.d.ts} +2 -2
- package/dist/{headerFooterLayout-CU6hvszp.d.mts → headerFooterLayout-D2LZLkDC.d.mts} +2 -2
- package/dist/headless.d.mts +10 -9
- package/dist/headless.d.ts +10 -9
- package/dist/headless.js +1 -1
- package/dist/headless.mjs +1 -1
- package/dist/layout-bridge/clickToPositionDom.js +1 -1
- package/dist/layout-bridge/clickToPositionDom.mjs +1 -1
- package/dist/layout-bridge/index.d.mts +70 -7
- package/dist/layout-bridge/index.d.ts +70 -7
- 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 -3
- package/dist/layout-bridge/measuring/index.d.ts +4 -3
- 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 +5 -4
- package/dist/layout-bridge/toFlowBlocks.d.ts +5 -4
- package/dist/layout-bridge/toFlowBlocks.js +1 -1
- package/dist/layout-bridge/toFlowBlocks.mjs +1 -1
- package/dist/layout-engine/index.d.mts +5 -4
- package/dist/layout-engine/index.d.ts +5 -4
- package/dist/layout-engine/index.js +1 -1
- package/dist/layout-engine/index.mjs +1 -1
- package/dist/layout-engine/types.d.mts +22 -10
- package/dist/layout-engine/types.d.ts +22 -10
- package/dist/layout-painter/index.d.mts +6 -5
- package/dist/layout-painter/index.d.ts +6 -5
- package/dist/layout-painter/index.js +1 -1
- package/dist/layout-painter/index.mjs +1 -1
- package/dist/layout-painter/renderPage.d.mts +6 -5
- package/dist/layout-painter/renderPage.d.ts +6 -5
- package/dist/layout-painter/renderPage.js +1 -1
- package/dist/layout-painter/renderPage.mjs +1 -1
- package/dist/lists-Bn29SzeS.d.ts +148 -0
- package/dist/lists-CyGxd5Y2.d.mts +148 -0
- package/dist/managers/AutoSaveManager.d.mts +5 -4
- package/dist/managers/AutoSaveManager.d.ts +5 -4
- package/dist/managers/TableSelectionManager.d.mts +5 -4
- package/dist/managers/TableSelectionManager.d.ts +5 -4
- package/dist/managers/types.d.mts +5 -4
- package/dist/managers/types.d.ts +5 -4
- package/dist/{marks-BY573yZn.d.mts → marks-CzrbFi4o.d.mts} +1 -1
- package/dist/{marks-CjC9tF5k.d.ts → marks-Dq1QsxKA.d.ts} +1 -1
- package/dist/mcp-cli.mjs +23 -23
- package/dist/mcp.d.mts +5 -4
- package/dist/mcp.d.ts +5 -4
- package/dist/mcp.js +8 -8
- package/dist/mcp.mjs +7 -7
- package/dist/{nodes-75Q9GBxV.d.ts → nodes-Bd6tTkp0.d.ts} +17 -2
- package/dist/{nodes-cEI7hVY2.d.mts → nodes-BvO8GGD4.d.mts} +17 -2
- package/dist/numberingParser-ZSQ3SDCV.d.ts +81 -0
- package/dist/numberingParser-nSPZlzKr.d.mts +81 -0
- package/dist/prosemirror/applyFormatting.d.mts +39 -6
- package/dist/prosemirror/applyFormatting.d.ts +39 -6
- package/dist/prosemirror/applyFormatting.js +1 -1
- package/dist/prosemirror/applyFormatting.mjs +1 -1
- package/dist/prosemirror/cellDragSelection.d.mts +46 -0
- package/dist/prosemirror/cellDragSelection.d.ts +46 -0
- package/dist/prosemirror/cellDragSelection.js +1 -0
- package/dist/prosemirror/cellDragSelection.mjs +1 -0
- package/dist/prosemirror/commands/formatting.d.mts +2 -2
- package/dist/prosemirror/commands/formatting.d.ts +2 -2
- package/dist/prosemirror/commands/formatting.js +1 -1
- package/dist/prosemirror/commands/formatting.mjs +1 -1
- package/dist/prosemirror/commands/index.d.mts +34 -4
- package/dist/prosemirror/commands/index.d.ts +34 -4
- package/dist/prosemirror/commands/index.js +1 -1
- package/dist/prosemirror/commands/index.mjs +1 -1
- package/dist/prosemirror/commands/paragraph.d.mts +11 -1
- package/dist/prosemirror/commands/paragraph.d.ts +11 -1
- package/dist/prosemirror/commands/paragraph.js +1 -1
- package/dist/prosemirror/commands/paragraph.mjs +1 -1
- package/dist/prosemirror/commands/sectionBreak.d.mts +25 -0
- package/dist/prosemirror/commands/sectionBreak.d.ts +25 -0
- package/dist/prosemirror/commands/sectionBreak.js +1 -0
- package/dist/prosemirror/commands/sectionBreak.mjs +1 -0
- package/dist/prosemirror/commentIdAllocator.d.mts +4 -3
- package/dist/prosemirror/commentIdAllocator.d.ts +4 -3
- package/dist/prosemirror/commentOps.d.mts +4 -3
- package/dist/prosemirror/commentOps.d.ts +4 -3
- package/dist/prosemirror/conversion/fromProseDoc.d.mts +5 -4
- package/dist/prosemirror/conversion/fromProseDoc.d.ts +5 -4
- package/dist/prosemirror/conversion/fromProseDoc.js +1 -1
- package/dist/prosemirror/conversion/fromProseDoc.mjs +1 -1
- package/dist/prosemirror/conversion/index.d.mts +5 -4
- package/dist/prosemirror/conversion/index.d.ts +5 -4
- package/dist/prosemirror/conversion/index.js +1 -1
- package/dist/prosemirror/conversion/index.mjs +1 -1
- package/dist/prosemirror/editor.css +13 -0
- package/dist/prosemirror/extensions/index.d.mts +1 -1
- package/dist/prosemirror/extensions/index.d.ts +1 -1
- 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 +21 -11
- package/dist/prosemirror/index.d.ts +21 -11
- package/dist/prosemirror/index.js +3 -3
- package/dist/prosemirror/index.mjs +3 -3
- package/dist/prosemirror/plugins/index.d.mts +6 -5
- package/dist/prosemirror/plugins/index.d.ts +6 -5
- package/dist/prosemirror/plugins/index.js +1 -1
- package/dist/prosemirror/plugins/index.mjs +1 -1
- package/dist/prosemirror/plugins/selectionTracker.d.mts +1 -1
- package/dist/prosemirror/plugins/selectionTracker.d.ts +1 -1
- package/dist/prosemirror/queries.d.mts +46 -4
- package/dist/prosemirror/queries.d.ts +46 -4
- package/dist/prosemirror/queries.js +2 -2
- package/dist/prosemirror/queries.mjs +2 -2
- package/dist/prosemirror/schema/index.d.mts +6 -5
- package/dist/prosemirror/schema/index.d.ts +6 -5
- package/dist/prosemirror/schema/index.js +1 -1
- package/dist/prosemirror/schema/index.mjs +1 -1
- package/dist/prosemirror/styles/index.d.mts +2 -2
- package/dist/prosemirror/styles/index.d.ts +2 -2
- package/dist/prosemirror/tableResize.js +1 -1
- package/dist/prosemirror/tableResize.mjs +1 -1
- package/dist/prosemirror/utils/extractTrackedChanges.d.mts +4 -3
- package/dist/prosemirror/utils/extractTrackedChanges.d.ts +4 -3
- package/dist/prosemirror/utils/extractTrackedChanges.js +1 -1
- package/dist/prosemirror/utils/extractTrackedChanges.mjs +1 -1
- package/dist/{sectionPropertiesSerializer-uXyGONxu.d.ts → sectionPropertiesSerializer-CzgskSoA.d.ts} +1 -1
- package/dist/{sectionPropertiesSerializer-D86QlzlT.d.mts → sectionPropertiesSerializer-D3yI82iZ.d.mts} +1 -1
- package/dist/{selectionContext-BPAqgNgk.d.ts → selectionContext-BJZZW1JA.d.ts} +1 -1
- package/dist/{selectionContext-CoZat7QZ.d.mts → selectionContext-BjMyVQZO.d.mts} +1 -1
- package/dist/{styles-BOJ93SAm.d.mts → styles-Dqec8Aw6.d.mts} +1 -1
- package/dist/{styles-BWqX2AS-.d.ts → styles-gEujs7j6.d.ts} +1 -1
- package/dist/types/agentApi.d.mts +1 -1
- package/dist/types/agentApi.d.ts +1 -1
- package/dist/types/content.d.mts +4 -3
- package/dist/types/content.d.ts +4 -3
- package/dist/types/content.js +1 -1
- package/dist/types/content.mjs +1 -1
- package/dist/types/document.d.mts +8 -6
- package/dist/types/document.d.ts +8 -6
- package/dist/types/document.js +1 -1
- package/dist/types/document.mjs +1 -1
- package/dist/utils/cardStyles.js +1 -1
- package/dist/utils/cardStyles.mjs +1 -1
- package/dist/utils/comments.d.mts +4 -3
- package/dist/utils/comments.d.ts +4 -3
- package/dist/utils/index.d.mts +41 -7
- package/dist/utils/index.d.ts +41 -7
- package/dist/utils/index.js +3 -3
- package/dist/utils/index.mjs +3 -3
- package/dist/utils/stylePreview.d.mts +83 -0
- package/dist/utils/stylePreview.d.ts +83 -0
- package/dist/utils/stylePreview.js +1 -0
- package/dist/utils/stylePreview.mjs +1 -0
- package/dist/utils/units.d.mts +7 -1
- package/dist/utils/units.d.ts +7 -1
- package/dist/utils/units.js +1 -1
- package/dist/utils/units.mjs +1 -1
- package/dist/{variableDetector-CaY-sDau.d.mts → variableDetector-D2-xDa2O.d.mts} +1 -1
- package/dist/{variableDetector-1mxzPfs2.d.ts → variableDetector-d-PpDlNV.d.ts} +1 -1
- package/dist/{watermark-DAcnAs_J.d.mts → watermark-D90356ZM.d.mts} +7 -1
- package/dist/{watermark-DAcnAs_J.d.ts → watermark-D90356ZM.d.ts} +7 -1
- package/package.json +25 -1
- package/dist/chunk-2WGTGBBS.js +0 -2
- package/dist/chunk-3G44SFHX.mjs +0 -4
- package/dist/chunk-4Q2IP5FW.js +0 -1
- package/dist/chunk-55XWETY4.mjs +0 -1
- package/dist/chunk-77GRQUSK.js +0 -1
- package/dist/chunk-7CZEZ3UL.mjs +0 -2
- package/dist/chunk-7LRR7RKE.mjs +0 -15
- package/dist/chunk-7OW3VCZE.mjs +0 -1
- package/dist/chunk-BHBOAP6Z.js +0 -3
- package/dist/chunk-CRMZH7U7.mjs +0 -2
- package/dist/chunk-CUY2THAO.mjs +0 -1
- package/dist/chunk-D3PRIF3Y.mjs +0 -1
- package/dist/chunk-DKKTY56Q.js +0 -1
- package/dist/chunk-EM33RGHT.mjs +0 -1
- package/dist/chunk-ESCPS4AO.mjs +0 -1
- package/dist/chunk-EUZLYQRB.mjs +0 -1
- package/dist/chunk-EV4LVK4X.js +0 -1
- package/dist/chunk-FW23IMBF.mjs +0 -1
- package/dist/chunk-HKN2NKOG.mjs +0 -1
- package/dist/chunk-INDYZOOS.js +0 -1
- package/dist/chunk-IUJCUITW.mjs +0 -1
- package/dist/chunk-IYKBX24M.js +0 -1
- package/dist/chunk-J3YFJDZD.js +0 -1
- package/dist/chunk-JHTURDPX.mjs +0 -1
- package/dist/chunk-KAOLVBLH.js +0 -1
- package/dist/chunk-L5NPEM7C.js +0 -1
- package/dist/chunk-LERLET2D.js +0 -4
- package/dist/chunk-MNOHUTKE.js +0 -15
- package/dist/chunk-MOKKS75W.mjs +0 -3
- package/dist/chunk-NAFMAKLK.js +0 -2
- package/dist/chunk-OEC6SBDV.mjs +0 -1
- package/dist/chunk-OF373DBR.mjs +0 -1
- package/dist/chunk-OTHV7YV2.js +0 -2
- package/dist/chunk-Q4IEATDJ.js +0 -1
- package/dist/chunk-QAJSNLJR.mjs +0 -1
- package/dist/chunk-RSU4HTC6.js +0 -1
- package/dist/chunk-TUIEV7Q7.js +0 -1
- package/dist/chunk-U67MWOPZ.mjs +0 -1
- package/dist/chunk-UE2ZKRYB.mjs +0 -2
- package/dist/chunk-VOCHZNOF.mjs +0 -1
- package/dist/chunk-VW22RZ6C.mjs +0 -1
- package/dist/chunk-WVERBZZU.js +0 -1
- package/dist/chunk-WWNOXNEX.mjs +0 -2
- package/dist/chunk-XLB6AC5Q.js +0 -1
- package/dist/chunk-YPQACU4A.js +0 -1
- package/dist/chunk-ZX26QZJ5.mjs +0 -1
- package/dist/executor-DZAMMQ35.js +0 -1
- package/dist/executor-ZCJRLT3Z.mjs +0 -1
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* @public
|
|
11
11
|
*/
|
|
12
12
|
import { Plugin, EditorState, PluginKey } from 'prosemirror-state';
|
|
13
|
-
import { T as TextFormatting, P as ParagraphFormatting } from '../../formatting-
|
|
13
|
+
import { T as TextFormatting, P as ParagraphFormatting } from '../../formatting-DFtuRFQY.mjs';
|
|
14
14
|
import '../../colors-C3vA7HUU.mjs';
|
|
15
15
|
|
|
16
16
|
/**
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* @public
|
|
11
11
|
*/
|
|
12
12
|
import { Plugin, EditorState, PluginKey } from 'prosemirror-state';
|
|
13
|
-
import { T as TextFormatting, P as ParagraphFormatting } from '../../formatting-
|
|
13
|
+
import { T as TextFormatting, P as ParagraphFormatting } from '../../formatting-JhqWT_XM.js';
|
|
14
14
|
import '../../colors-C3vA7HUU.js';
|
|
15
15
|
|
|
16
16
|
/**
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { EditorView } from 'prosemirror-view';
|
|
2
|
+
import { Node } from 'prosemirror-model';
|
|
2
3
|
import { Layout } from '../layout-engine/types.mjs';
|
|
3
|
-
import '../content-
|
|
4
|
-
import '../formatting-
|
|
4
|
+
import '../content-CbBCrsr0.mjs';
|
|
5
|
+
import '../formatting-DFtuRFQY.mjs';
|
|
5
6
|
import '../colors-C3vA7HUU.mjs';
|
|
6
7
|
import '../docx/wrapTypes.mjs';
|
|
7
|
-
import '../
|
|
8
|
+
import '../lists-CyGxd5Y2.mjs';
|
|
9
|
+
import '../watermark-D90356ZM.mjs';
|
|
8
10
|
|
|
9
11
|
/**
|
|
10
12
|
* Pure ref-API query helpers — read-only inspectors over the PM document
|
|
@@ -16,6 +18,46 @@ import '../watermark-DAcnAs_J.mjs';
|
|
|
16
18
|
* (and the future vanilla wrapper) share one implementation.
|
|
17
19
|
*/
|
|
18
20
|
|
|
21
|
+
/** A resolved PM position range — half-open `[from, to)` in PM coordinates. */
|
|
22
|
+
interface PmRange {
|
|
23
|
+
from: number;
|
|
24
|
+
to: number;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Clamp a caller-supplied `[from, to]` range to a valid in-document span, or
|
|
28
|
+
* return `null` when it cannot be made valid: non-integer, negative, reversed
|
|
29
|
+
* (`to < from`), or a `from` past the document end. `to` is clamped to the
|
|
30
|
+
* document size so an out-of-range end never makes `doc.resolve()` throw a
|
|
31
|
+
* `RangeError`. Both adapters' `highlightRange` route raw caller positions
|
|
32
|
+
* through this so the no-op contract holds identically.
|
|
33
|
+
*/
|
|
34
|
+
declare function clampRangeToDoc(doc: Node, from: number, to: number): PmRange | null;
|
|
35
|
+
/**
|
|
36
|
+
* Resolve a `commentId` to the PM position range its `comment` mark
|
|
37
|
+
* spans. Walks every inline node carrying a `comment` mark with the
|
|
38
|
+
* matching id and returns the union range (earliest start → latest end),
|
|
39
|
+
* so a comment whose range is interrupted by un-marked inline atoms still
|
|
40
|
+
* resolves to a single span. Returns `null` when the id is no longer
|
|
41
|
+
* present (the comment was deleted, or the marked text was removed) — the
|
|
42
|
+
* caller distinguishes "scrolled" from "stale" on that signal.
|
|
43
|
+
*
|
|
44
|
+
* Pure read over `view.state`; no dispatch.
|
|
45
|
+
*/
|
|
46
|
+
declare function findCommentRange(view: EditorView | null, commentId: number): PmRange | null;
|
|
47
|
+
/**
|
|
48
|
+
* Resolve a tracked-change `revisionId` to the PM position range of its
|
|
49
|
+
* first site. Delegates to {@link extractTrackedChanges} so a coalesced
|
|
50
|
+
* revision (sites scattered across paragraphs, replace pairs, Enter
|
|
51
|
+
* chains) resolves to the same entry the sidebar shows. Matches on the
|
|
52
|
+
* entry's primary `revisionId`, its `insertionRevisionId`, or any
|
|
53
|
+
* `coalescedRevisionIds` member. Returns `null` when no entry carries the
|
|
54
|
+
* id (the change was accepted/rejected/deleted) — the caller uses this to
|
|
55
|
+
* show a "location no longer exists" affordance instead of a silent
|
|
56
|
+
* no-op.
|
|
57
|
+
*
|
|
58
|
+
* Pure read over `view.state`; no dispatch.
|
|
59
|
+
*/
|
|
60
|
+
declare function findChangeRange(view: EditorView | null, revisionId: number): PmRange | null;
|
|
19
61
|
interface FindInDocumentMatch {
|
|
20
62
|
paraId: string;
|
|
21
63
|
match: string;
|
|
@@ -62,4 +104,4 @@ interface PageContent {
|
|
|
62
104
|
*/
|
|
63
105
|
declare function getPageContent(view: EditorView | null, layout: Layout | null, pageNumber: number): PageContent | null;
|
|
64
106
|
|
|
65
|
-
export { type FindInDocumentMatch, type PageContent, type SelectionInfo, findInDocument, getPageContent, getSelectionInfo };
|
|
107
|
+
export { type FindInDocumentMatch, type PageContent, type PmRange, type SelectionInfo, clampRangeToDoc, findChangeRange, findCommentRange, findInDocument, getPageContent, getSelectionInfo };
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { EditorView } from 'prosemirror-view';
|
|
2
|
+
import { Node } from 'prosemirror-model';
|
|
2
3
|
import { Layout } from '../layout-engine/types.js';
|
|
3
|
-
import '../content-
|
|
4
|
-
import '../formatting-
|
|
4
|
+
import '../content-BebvPfXc.js';
|
|
5
|
+
import '../formatting-JhqWT_XM.js';
|
|
5
6
|
import '../colors-C3vA7HUU.js';
|
|
6
7
|
import '../docx/wrapTypes.js';
|
|
7
|
-
import '../
|
|
8
|
+
import '../lists-Bn29SzeS.js';
|
|
9
|
+
import '../watermark-D90356ZM.js';
|
|
8
10
|
|
|
9
11
|
/**
|
|
10
12
|
* Pure ref-API query helpers — read-only inspectors over the PM document
|
|
@@ -16,6 +18,46 @@ import '../watermark-DAcnAs_J.js';
|
|
|
16
18
|
* (and the future vanilla wrapper) share one implementation.
|
|
17
19
|
*/
|
|
18
20
|
|
|
21
|
+
/** A resolved PM position range — half-open `[from, to)` in PM coordinates. */
|
|
22
|
+
interface PmRange {
|
|
23
|
+
from: number;
|
|
24
|
+
to: number;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Clamp a caller-supplied `[from, to]` range to a valid in-document span, or
|
|
28
|
+
* return `null` when it cannot be made valid: non-integer, negative, reversed
|
|
29
|
+
* (`to < from`), or a `from` past the document end. `to` is clamped to the
|
|
30
|
+
* document size so an out-of-range end never makes `doc.resolve()` throw a
|
|
31
|
+
* `RangeError`. Both adapters' `highlightRange` route raw caller positions
|
|
32
|
+
* through this so the no-op contract holds identically.
|
|
33
|
+
*/
|
|
34
|
+
declare function clampRangeToDoc(doc: Node, from: number, to: number): PmRange | null;
|
|
35
|
+
/**
|
|
36
|
+
* Resolve a `commentId` to the PM position range its `comment` mark
|
|
37
|
+
* spans. Walks every inline node carrying a `comment` mark with the
|
|
38
|
+
* matching id and returns the union range (earliest start → latest end),
|
|
39
|
+
* so a comment whose range is interrupted by un-marked inline atoms still
|
|
40
|
+
* resolves to a single span. Returns `null` when the id is no longer
|
|
41
|
+
* present (the comment was deleted, or the marked text was removed) — the
|
|
42
|
+
* caller distinguishes "scrolled" from "stale" on that signal.
|
|
43
|
+
*
|
|
44
|
+
* Pure read over `view.state`; no dispatch.
|
|
45
|
+
*/
|
|
46
|
+
declare function findCommentRange(view: EditorView | null, commentId: number): PmRange | null;
|
|
47
|
+
/**
|
|
48
|
+
* Resolve a tracked-change `revisionId` to the PM position range of its
|
|
49
|
+
* first site. Delegates to {@link extractTrackedChanges} so a coalesced
|
|
50
|
+
* revision (sites scattered across paragraphs, replace pairs, Enter
|
|
51
|
+
* chains) resolves to the same entry the sidebar shows. Matches on the
|
|
52
|
+
* entry's primary `revisionId`, its `insertionRevisionId`, or any
|
|
53
|
+
* `coalescedRevisionIds` member. Returns `null` when no entry carries the
|
|
54
|
+
* id (the change was accepted/rejected/deleted) — the caller uses this to
|
|
55
|
+
* show a "location no longer exists" affordance instead of a silent
|
|
56
|
+
* no-op.
|
|
57
|
+
*
|
|
58
|
+
* Pure read over `view.state`; no dispatch.
|
|
59
|
+
*/
|
|
60
|
+
declare function findChangeRange(view: EditorView | null, revisionId: number): PmRange | null;
|
|
19
61
|
interface FindInDocumentMatch {
|
|
20
62
|
paraId: string;
|
|
21
63
|
match: string;
|
|
@@ -62,4 +104,4 @@ interface PageContent {
|
|
|
62
104
|
*/
|
|
63
105
|
declare function getPageContent(view: EditorView | null, layout: Layout | null, pageNumber: number): PageContent | null;
|
|
64
106
|
|
|
65
|
-
export { type FindInDocumentMatch, type PageContent, type SelectionInfo, findInDocument, getPageContent, getSelectionInfo };
|
|
107
|
+
export { type FindInDocumentMatch, type PageContent, type PmRange, type SelectionInfo, clampRangeToDoc, findChangeRange, findCommentRange, findInDocument, getPageContent, getSelectionInfo };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var chunkNRWQ65NX_js=require('../chunk-NRWQ65NX.js');require('../chunk-DC7S76ZX.js');function
|
|
2
|
-
`);return {pageNumber:
|
|
1
|
+
'use strict';var chunkNRWQ65NX_js=require('../chunk-NRWQ65NX.js'),chunkMA3HLGFO_js=require('../chunk-MA3HLGFO.js');require('../chunk-DC7S76ZX.js');function I(o,t,r){if(!Number.isInteger(t)||!Number.isInteger(r)||t<0||r<t)return null;let n=o.content.size;return t>n?null:{from:t,to:Math.min(r,n)}}function b(o,t){if(!o)return null;let r=o.state.schema.marks.comment;if(!r)return null;let n=1/0,e=-1/0;return o.state.doc.descendants((i,c)=>{if(i.isInline)for(let a of i.marks)a.type===r&&a.attrs.commentId===t&&(n=Math.min(n,c),e=Math.max(e,c+i.nodeSize));}),e<0?null:{from:n,to:e}}function T(o,t){if(!o)return null;let{entries:r}=chunkMA3HLGFO_js.a(o.state),n=r.find(e=>e.revisionId===t||e.insertionRevisionId===t||e.coalescedRevisionIds?.includes(t));return n?{from:n.from,to:n.to}:null}function S(o,t,r){if(!o||!t)return [];let n=r?.caseSensitive??false,e=r?.limit??20,i=n?t:t.toLowerCase(),c=[];return o.state.doc.descendants(a=>{if(c.length>=e)return false;if(!a.isTextblock)return true;let f=a.attrs?.paraId;if(!f)return false;let s=chunkNRWQ65NX_js.b(a),u=n?s:s.toLowerCase(),l=u.indexOf(i);if(l===-1||u.indexOf(i,l+1)!==-1)return false;let p=40;return c.push({paraId:f,match:s.slice(l,l+t.length),before:s.slice(Math.max(0,l-p),l),after:s.slice(l+t.length,l+t.length+p)}),false}),c}function y(o){if(!o)return null;let{selection:t,doc:r}=o.state,n=t.$from,e=n.depth;for(;e>0&&!n.node(e).isTextblock;)e--;let i=e>0?n.node(e):null;if(!i)return null;let c=i.attrs?.paraId??null,a=n.start(e),f=a+i.content.size,s=chunkNRWQ65NX_js.c(r,a,t.from),u=chunkNRWQ65NX_js.c(r,t.from,t.to),l=chunkNRWQ65NX_js.c(r,t.to,f);return {paraId:c,selectedText:u,paragraphText:s+u+l,before:s,after:l}}function P(o,t,r){if(!t||!o)return null;let n=t.pages[r-1];if(!n)return null;let e=new Set,i=[];for(let a of n.fragments){if(a.kind!=="paragraph")continue;let f=a.pmStart;if(f==null)continue;let s=o.state.doc.nodeAt(f);if(!s||!s.isTextblock)continue;let u=s.attrs?.paraId;!u||e.has(u)||(e.add(u),i.push({paraId:u,text:chunkNRWQ65NX_js.b(s),styleId:s.attrs?.styleId??void 0}));}let c=i.map(a=>`[${a.paraId}] ${a.text}`).join(`
|
|
2
|
+
`);return {pageNumber:r,text:c,paragraphs:i}}exports.clampRangeToDoc=I;exports.findChangeRange=T;exports.findCommentRange=b;exports.findInDocument=S;exports.getPageContent=P;exports.getSelectionInfo=y;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {b,c}from'../chunk-HPJBZL37.mjs';import'../chunk-QYUPLKLP.mjs';function
|
|
2
|
-
`);return {pageNumber:
|
|
1
|
+
import {b as b$1,c}from'../chunk-HPJBZL37.mjs';import {a}from'../chunk-VDKSZ5BQ.mjs';import'../chunk-QYUPLKLP.mjs';function I(o,t,r){if(!Number.isInteger(t)||!Number.isInteger(r)||t<0||r<t)return null;let n=o.content.size;return t>n?null:{from:t,to:Math.min(r,n)}}function b(o,t){if(!o)return null;let r=o.state.schema.marks.comment;if(!r)return null;let n=1/0,e=-1/0;return o.state.doc.descendants((i,c)=>{if(i.isInline)for(let a of i.marks)a.type===r&&a.attrs.commentId===t&&(n=Math.min(n,c),e=Math.max(e,c+i.nodeSize));}),e<0?null:{from:n,to:e}}function T(o,t){if(!o)return null;let{entries:r}=a(o.state),n=r.find(e=>e.revisionId===t||e.insertionRevisionId===t||e.coalescedRevisionIds?.includes(t));return n?{from:n.from,to:n.to}:null}function S(o,t,r){if(!o||!t)return [];let n=r?.caseSensitive??false,e=r?.limit??20,i=n?t:t.toLowerCase(),c=[];return o.state.doc.descendants(a=>{if(c.length>=e)return false;if(!a.isTextblock)return true;let f=a.attrs?.paraId;if(!f)return false;let s=b$1(a),u=n?s:s.toLowerCase(),l=u.indexOf(i);if(l===-1||u.indexOf(i,l+1)!==-1)return false;let p=40;return c.push({paraId:f,match:s.slice(l,l+t.length),before:s.slice(Math.max(0,l-p),l),after:s.slice(l+t.length,l+t.length+p)}),false}),c}function y(o){if(!o)return null;let{selection:t,doc:r}=o.state,n=t.$from,e=n.depth;for(;e>0&&!n.node(e).isTextblock;)e--;let i=e>0?n.node(e):null;if(!i)return null;let c$1=i.attrs?.paraId??null,a=n.start(e),f=a+i.content.size,s=c(r,a,t.from),u=c(r,t.from,t.to),l=c(r,t.to,f);return {paraId:c$1,selectedText:u,paragraphText:s+u+l,before:s,after:l}}function P(o,t,r){if(!t||!o)return null;let n=t.pages[r-1];if(!n)return null;let e=new Set,i=[];for(let a of n.fragments){if(a.kind!=="paragraph")continue;let f=a.pmStart;if(f==null)continue;let s=o.state.doc.nodeAt(f);if(!s||!s.isTextblock)continue;let u=s.attrs?.paraId;!u||e.has(u)||(e.add(u),i.push({paraId:u,text:b$1(s),styleId:s.attrs?.styleId??void 0}));}let c=i.map(a=>`[${a.paraId}] ${a.text}`).join(`
|
|
2
|
+
`);return {pageNumber:r,text:c,paragraphs:i}}export{I as clampRangeToDoc,T as findChangeRange,b as findCommentRange,S as findInDocument,P as getPageContent,y as getSelectionInfo};
|
|
@@ -9,14 +9,15 @@
|
|
|
9
9
|
*/
|
|
10
10
|
import * as prosemirror_model from 'prosemirror-model';
|
|
11
11
|
import { a as ExtensionManager } from '../../types-RchZmPFN.mjs';
|
|
12
|
-
export { I as ImageAttrs, a as ImagePositionAttrs, P as ParagraphAttrs, T as TableAttrs, b as TableCellAttrs, c as TableRowAttrs } from '../../nodes-
|
|
13
|
-
export { F as FontFamilyAttrs, a as FontSizeAttrs, H as HyperlinkAttrs, T as TextColorAttrs, U as UnderlineAttrs } from '../../marks-
|
|
12
|
+
export { I as ImageAttrs, a as ImagePositionAttrs, P as ParagraphAttrs, T as TableAttrs, b as TableCellAttrs, c as TableRowAttrs } from '../../nodes-BvO8GGD4.mjs';
|
|
13
|
+
export { F as FontFamilyAttrs, a as FontSizeAttrs, H as HyperlinkAttrs, T as TextColorAttrs, U as UnderlineAttrs } from '../../marks-CzrbFi4o.mjs';
|
|
14
14
|
import 'prosemirror-state';
|
|
15
15
|
import '../../colors-C3vA7HUU.mjs';
|
|
16
|
-
import '../../formatting-
|
|
17
|
-
import '../../
|
|
16
|
+
import '../../formatting-DFtuRFQY.mjs';
|
|
17
|
+
import '../../lists-CyGxd5Y2.mjs';
|
|
18
18
|
import '../../docx/wrapTypes.mjs';
|
|
19
|
-
import '../../
|
|
19
|
+
import '../../content-CbBCrsr0.mjs';
|
|
20
|
+
import '../../watermark-D90356ZM.mjs';
|
|
20
21
|
|
|
21
22
|
declare const singletonManager: ExtensionManager;
|
|
22
23
|
declare const schema: prosemirror_model.Schema<any, any>;
|
|
@@ -9,14 +9,15 @@
|
|
|
9
9
|
*/
|
|
10
10
|
import * as prosemirror_model from 'prosemirror-model';
|
|
11
11
|
import { a as ExtensionManager } from '../../types-RchZmPFN.js';
|
|
12
|
-
export { I as ImageAttrs, a as ImagePositionAttrs, P as ParagraphAttrs, T as TableAttrs, b as TableCellAttrs, c as TableRowAttrs } from '../../nodes-
|
|
13
|
-
export { F as FontFamilyAttrs, a as FontSizeAttrs, H as HyperlinkAttrs, T as TextColorAttrs, U as UnderlineAttrs } from '../../marks-
|
|
12
|
+
export { I as ImageAttrs, a as ImagePositionAttrs, P as ParagraphAttrs, T as TableAttrs, b as TableCellAttrs, c as TableRowAttrs } from '../../nodes-Bd6tTkp0.js';
|
|
13
|
+
export { F as FontFamilyAttrs, a as FontSizeAttrs, H as HyperlinkAttrs, T as TextColorAttrs, U as UnderlineAttrs } from '../../marks-Dq1QsxKA.js';
|
|
14
14
|
import 'prosemirror-state';
|
|
15
15
|
import '../../colors-C3vA7HUU.js';
|
|
16
|
-
import '../../formatting-
|
|
17
|
-
import '../../
|
|
16
|
+
import '../../formatting-JhqWT_XM.js';
|
|
17
|
+
import '../../lists-Bn29SzeS.js';
|
|
18
18
|
import '../../docx/wrapTypes.js';
|
|
19
|
-
import '../../
|
|
19
|
+
import '../../content-BebvPfXc.js';
|
|
20
|
+
import '../../watermark-D90356ZM.js';
|
|
20
21
|
|
|
21
22
|
declare const singletonManager: ExtensionManager;
|
|
22
23
|
declare const schema: prosemirror_model.Schema<any, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkAXVWVIIN_js=require('../../chunk-AXVWVIIN.js');require('../../chunk-NTYJIOUE.js'),require('../../chunk-Q2VALXEU.js'),require('../../chunk-MZ7LW5CH.js'),require('../../chunk-N3Y5BUKV.js'),require('../../chunk-ILPNMG7Q.js'),require('../../chunk-6LVPRTB6.js'),require('../../chunk-LWH66Q7Q.js'),require('../../chunk-X6AICTHN.js'),require('../../chunk-7HANRHHL.js'),require('../../chunk-MJ5FQX7Q.js'),require('../../chunk-C2BAPYGJ.js'),require('../../chunk-BJSG6TEG.js'),require('../../chunk-GSKMHXHG.js'),require('../../chunk-H57LNDBH.js'),require('../../chunk-3R7QHNI5.js'),require('../../chunk-DC7S76ZX.js');Object.defineProperty(exports,"schema",{enumerable:true,get:function(){return chunkAXVWVIIN_js.b}});Object.defineProperty(exports,"singletonManager",{enumerable:true,get:function(){return chunkAXVWVIIN_js.a}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{b as schema,a as singletonManager}from'../../chunk-
|
|
1
|
+
export{b as schema,a as singletonManager}from'../../chunk-NO6PIL32.mjs';import'../../chunk-M65C4SQJ.mjs';import'../../chunk-PJEB3ZWG.mjs';import'../../chunk-OZMNIX6U.mjs';import'../../chunk-AMENZY5F.mjs';import'../../chunk-HEJJXAXN.mjs';import'../../chunk-BGY3CB37.mjs';import'../../chunk-2XP6GLA4.mjs';import'../../chunk-NTBZRITU.mjs';import'../../chunk-MJ6XZFVD.mjs';import'../../chunk-67LVRQIR.mjs';import'../../chunk-LE67NTCN.mjs';import'../../chunk-KNY7SXPJ.mjs';import'../../chunk-DI6CRWSW.mjs';import'../../chunk-VJFIAFZ5.mjs';import'../../chunk-3ANZ3252.mjs';import'../../chunk-QYUPLKLP.mjs';
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* @packageDocumentation
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
6
|
-
import { P as ParagraphFormatting, T as TextFormatting } from '../../formatting-
|
|
7
|
-
import { S as StyleDefinitions, a as Style, D as DocDefaults } from '../../styles-
|
|
6
|
+
import { P as ParagraphFormatting, T as TextFormatting } from '../../formatting-DFtuRFQY.mjs';
|
|
7
|
+
import { S as StyleDefinitions, a as Style, D as DocDefaults } from '../../styles-Dqec8Aw6.mjs';
|
|
8
8
|
import '../../colors-C3vA7HUU.mjs';
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* @packageDocumentation
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
6
|
-
import { P as ParagraphFormatting, T as TextFormatting } from '../../formatting-
|
|
7
|
-
import { S as StyleDefinitions, a as Style, D as DocDefaults } from '../../styles-
|
|
6
|
+
import { P as ParagraphFormatting, T as TextFormatting } from '../../formatting-JhqWT_XM.js';
|
|
7
|
+
import { S as StyleDefinitions, a as Style, D as DocDefaults } from '../../styles-gEujs7j6.js';
|
|
8
8
|
import '../../colors-C3vA7HUU.js';
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';require('../chunk-DC7S76ZX.js');var
|
|
1
|
+
'use strict';require('../chunk-DC7S76ZX.js');var E=15,g=300,W=200;function c(n,r){try{let o=n.state.doc.resolve(r+1);for(let t=o.depth;t>=0;t--){let e=o.node(t);if(e.type.name==="table")return {node:e,tablePos:o.before(t)}}}catch{}return null}function S(n,r,o){let t=c(n,r);if(!t)return null;let e=t.node.attrs.columnWidths;return !e||e[o]===void 0||e[o+1]===void 0?null:{left:e[o],right:e[o+1]}}function I(n,r,o){let t=c(n,r);if(!t)return null;let e=null,i=0;return t.node.forEach(s=>{if(i===o){let u=s.attrs.height;u&&(e=u);}i++;}),e}function P(n,r,o){let t=c(n,r);if(!t)return null;let e=t.node.attrs.columnWidths;return !e||e[o]===void 0?null:e[o]}function R(n,r){let{pmStart:o,colIdx:t,newLeft:e,newRight:i}=r,s=c(n,o);if(!s)return;let{node:u,tablePos:d}=s,l=n.state.tr,a=[...u.attrs.columnWidths??[]];a[t]=e,a[t+1]=i,l.setNodeMarkup(d,void 0,{...u.attrs,columnWidths:a,tableLayout:"fixed"});let m=d+1;u.forEach(h=>{let p=m+1,f=0;h.forEach(b=>{let w=b.attrs.colspan||1;if(f===t||f===t+1){let x=f===t?e:i;l.setNodeMarkup(l.mapping.map(p),void 0,{...b.attrs,width:x,widthType:"dxa",colwidth:null});}p+=b.nodeSize,f+=w;}),m+=h.nodeSize;}),n.dispatch(l);}function N(n,r){let{pmStart:o,rowIdx:t,newHeight:e}=r,i=c(n,o);if(!i)return;let{node:s,tablePos:u}=i,d=n.state.tr,l=u+1,a=0;s.forEach(m=>{a===t&&d.setNodeMarkup(d.mapping.map(l),void 0,{...m.attrs,height:e,heightRule:"atLeast"}),l+=m.nodeSize,a++;}),n.dispatch(d);}function T(n,r){let{pmStart:o,colIdx:t,newWidth:e}=r,i=c(n,o);if(!i)return;let{node:s,tablePos:u}=i,d=n.state.tr,l=[...s.attrs.columnWidths??[]];l[t]=e,d.setNodeMarkup(u,void 0,{...s.attrs,columnWidths:l,tableLayout:"fixed"});let a=u+1;s.forEach(m=>{let h=a+1,p=0;m.forEach(f=>{let b=f.attrs.colspan||1;p===t&&d.setNodeMarkup(d.mapping.map(h),void 0,{...f.attrs,width:e,widthType:"dxa",colwidth:null}),h+=f.nodeSize,p+=b;}),a+=m.nodeSize;}),n.dispatch(d);}exports.MIN_CELL_WIDTH_TWIPS=g;exports.MIN_ROW_HEIGHT_TWIPS=W;exports.TWIPS_PER_PIXEL=E;exports.commitColumnResize=R;exports.commitRightEdgeResize=T;exports.commitRowResize=N;exports.readColumnWidthAt=P;exports.readColumnWidths=S;exports.readRowHeight=I;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import'../chunk-QYUPLKLP.mjs';var
|
|
1
|
+
import'../chunk-QYUPLKLP.mjs';var E=15,g=300,W=200;function c(n,r){try{let o=n.state.doc.resolve(r+1);for(let t=o.depth;t>=0;t--){let e=o.node(t);if(e.type.name==="table")return {node:e,tablePos:o.before(t)}}}catch{}return null}function S(n,r,o){let t=c(n,r);if(!t)return null;let e=t.node.attrs.columnWidths;return !e||e[o]===void 0||e[o+1]===void 0?null:{left:e[o],right:e[o+1]}}function I(n,r,o){let t=c(n,r);if(!t)return null;let e=null,i=0;return t.node.forEach(s=>{if(i===o){let u=s.attrs.height;u&&(e=u);}i++;}),e}function P(n,r,o){let t=c(n,r);if(!t)return null;let e=t.node.attrs.columnWidths;return !e||e[o]===void 0?null:e[o]}function R(n,r){let{pmStart:o,colIdx:t,newLeft:e,newRight:i}=r,s=c(n,o);if(!s)return;let{node:u,tablePos:d}=s,l=n.state.tr,a=[...u.attrs.columnWidths??[]];a[t]=e,a[t+1]=i,l.setNodeMarkup(d,void 0,{...u.attrs,columnWidths:a,tableLayout:"fixed"});let m=d+1;u.forEach(h=>{let p=m+1,f=0;h.forEach(b=>{let w=b.attrs.colspan||1;if(f===t||f===t+1){let x=f===t?e:i;l.setNodeMarkup(l.mapping.map(p),void 0,{...b.attrs,width:x,widthType:"dxa",colwidth:null});}p+=b.nodeSize,f+=w;}),m+=h.nodeSize;}),n.dispatch(l);}function N(n,r){let{pmStart:o,rowIdx:t,newHeight:e}=r,i=c(n,o);if(!i)return;let{node:s,tablePos:u}=i,d=n.state.tr,l=u+1,a=0;s.forEach(m=>{a===t&&d.setNodeMarkup(d.mapping.map(l),void 0,{...m.attrs,height:e,heightRule:"atLeast"}),l+=m.nodeSize,a++;}),n.dispatch(d);}function T(n,r){let{pmStart:o,colIdx:t,newWidth:e}=r,i=c(n,o);if(!i)return;let{node:s,tablePos:u}=i,d=n.state.tr,l=[...s.attrs.columnWidths??[]];l[t]=e,d.setNodeMarkup(u,void 0,{...s.attrs,columnWidths:l,tableLayout:"fixed"});let a=u+1;s.forEach(m=>{let h=a+1,p=0;m.forEach(f=>{let b=f.attrs.colspan||1;p===t&&d.setNodeMarkup(d.mapping.map(h),void 0,{...f.attrs,width:e,widthType:"dxa",colwidth:null}),h+=f.nodeSize,p+=b;}),a+=m.nodeSize;}),n.dispatch(d);}export{g as MIN_CELL_WIDTH_TWIPS,W as MIN_ROW_HEIGHT_TWIPS,E as TWIPS_PER_PIXEL,R as commitColumnResize,T as commitRightEdgeResize,N as commitRowResize,P as readColumnWidthAt,S as readColumnWidths,I as readRowHeight};
|
|
@@ -18,11 +18,12 @@
|
|
|
18
18
|
*/
|
|
19
19
|
import { EditorState } from 'prosemirror-state';
|
|
20
20
|
import { TrackedChangeEntry } from '../../utils/comments.mjs';
|
|
21
|
-
import '../../content-
|
|
22
|
-
import '../../formatting-
|
|
21
|
+
import '../../content-CbBCrsr0.mjs';
|
|
22
|
+
import '../../formatting-DFtuRFQY.mjs';
|
|
23
23
|
import '../../colors-C3vA7HUU.mjs';
|
|
24
24
|
import '../../docx/wrapTypes.mjs';
|
|
25
|
-
import '../../
|
|
25
|
+
import '../../lists-CyGxd5Y2.mjs';
|
|
26
|
+
import '../../watermark-D90356ZM.mjs';
|
|
26
27
|
|
|
27
28
|
/**
|
|
28
29
|
* Walk the PM doc once and derive (a) the tracked-change list and (b) a
|
|
@@ -18,11 +18,12 @@
|
|
|
18
18
|
*/
|
|
19
19
|
import { EditorState } from 'prosemirror-state';
|
|
20
20
|
import { TrackedChangeEntry } from '../../utils/comments.js';
|
|
21
|
-
import '../../content-
|
|
22
|
-
import '../../formatting-
|
|
21
|
+
import '../../content-BebvPfXc.js';
|
|
22
|
+
import '../../formatting-JhqWT_XM.js';
|
|
23
23
|
import '../../colors-C3vA7HUU.js';
|
|
24
24
|
import '../../docx/wrapTypes.js';
|
|
25
|
-
import '../../
|
|
25
|
+
import '../../lists-Bn29SzeS.js';
|
|
26
|
+
import '../../watermark-D90356ZM.js';
|
|
26
27
|
|
|
27
28
|
/**
|
|
28
29
|
* Walk the PM doc once and derive (a) the tracked-change list and (b) a
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';require('../../chunk-
|
|
1
|
+
'use strict';var chunkMA3HLGFO_js=require('../../chunk-MA3HLGFO.js');require('../../chunk-DC7S76ZX.js');Object.defineProperty(exports,"extractTrackedChanges",{enumerable:true,get:function(){return chunkMA3HLGFO_js.a}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
export{a as extractTrackedChanges}from'../../chunk-VDKSZ5BQ.mjs';import'../../chunk-QYUPLKLP.mjs';
|
package/dist/{sectionPropertiesSerializer-uXyGONxu.d.ts → sectionPropertiesSerializer-CzgskSoA.d.ts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Document } from './types/document.js';
|
|
2
|
-
import { D as DocumentBody, B as BlockContent, S as SectionProperties } from './content-
|
|
2
|
+
import { D as DocumentBody, B as BlockContent, S as SectionProperties } from './content-BebvPfXc.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Document Serializer - Serialize complete document.xml
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Document } from './types/document.mjs';
|
|
2
|
-
import { D as DocumentBody, B as BlockContent, S as SectionProperties } from './content-
|
|
2
|
+
import { D as DocumentBody, B as BlockContent, S as SectionProperties } from './content-CbBCrsr0.mjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Document Serializer - Serialize complete document.xml
|
|
@@ -2,7 +2,7 @@ import { Document } from './types/document.js';
|
|
|
2
2
|
import { StyleInfo, AgentContext, Position, Range, AgentCommand, SelectionContext } from './types/agentApi.js';
|
|
3
3
|
import { S as SelectiveSaveOptions } from './selectiveSave-CWaPEv0B.js';
|
|
4
4
|
import { D as DocxInput } from './docxInput-DTbCa48g.js';
|
|
5
|
-
import { T as TextFormatting, P as ParagraphFormatting } from './formatting-
|
|
5
|
+
import { T as TextFormatting, P as ParagraphFormatting } from './formatting-JhqWT_XM.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* DocumentAgent - High-level fluent API for programmatic document manipulation
|
|
@@ -2,7 +2,7 @@ import { Document } from './types/document.mjs';
|
|
|
2
2
|
import { StyleInfo, AgentContext, Position, Range, AgentCommand, SelectionContext } from './types/agentApi.mjs';
|
|
3
3
|
import { S as SelectiveSaveOptions } from './selectiveSave-jinP_4xa.mjs';
|
|
4
4
|
import { D as DocxInput } from './docxInput-DTbCa48g.mjs';
|
|
5
|
-
import { T as TextFormatting, P as ParagraphFormatting } from './formatting-
|
|
5
|
+
import { T as TextFormatting, P as ParagraphFormatting } from './formatting-DFtuRFQY.mjs';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* DocumentAgent - High-level fluent API for programmatic document manipulation
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as TextFormatting, P as ParagraphFormatting, a as TableFormatting, b as TableRowFormatting, c as TableCellFormatting } from './formatting-
|
|
1
|
+
import { T as TextFormatting, P as ParagraphFormatting, a as TableFormatting, b as TableRowFormatting, c as TableCellFormatting } from './formatting-DFtuRFQY.mjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Styles, Theme, Font Table, Relationships & Media Types
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as TextFormatting, P as ParagraphFormatting, a as TableFormatting, b as TableRowFormatting, c as TableCellFormatting } from './formatting-
|
|
1
|
+
import { T as TextFormatting, P as ParagraphFormatting, a as TableFormatting, b as TableRowFormatting, c as TableCellFormatting } from './formatting-JhqWT_XM.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Styles, Theme, Font Table, Relationships & Media Types
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @packageDocumentation
|
|
9
9
|
* @public
|
|
10
10
|
*/
|
|
11
|
-
import { T as TextFormatting, P as ParagraphFormatting } from '../formatting-
|
|
11
|
+
import { T as TextFormatting, P as ParagraphFormatting } from '../formatting-DFtuRFQY.mjs';
|
|
12
12
|
import '../colors-C3vA7HUU.mjs';
|
|
13
13
|
|
|
14
14
|
/**
|
package/dist/types/agentApi.d.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @packageDocumentation
|
|
9
9
|
* @public
|
|
10
10
|
*/
|
|
11
|
-
import { T as TextFormatting, P as ParagraphFormatting } from '../formatting-
|
|
11
|
+
import { T as TextFormatting, P as ParagraphFormatting } from '../formatting-JhqWT_XM.js';
|
|
12
12
|
import '../colors-C3vA7HUU.js';
|
|
13
13
|
|
|
14
14
|
/**
|
package/dist/types/content.d.mts
CHANGED
|
@@ -12,8 +12,9 @@
|
|
|
12
12
|
* @packageDocumentation
|
|
13
13
|
* @public
|
|
14
14
|
*/
|
|
15
|
-
export { B as BlockContent,
|
|
16
|
-
export { P as PictureWatermark, T as TextWatermark, W as Watermark, p as pictureWatermarkDisplayEmu } from '../watermark-
|
|
17
|
-
import '../formatting-
|
|
15
|
+
export { B as BlockContent, u as BlockSdt, x as BookmarkEnd, y as BookmarkStart, v as BreakContent, z as Column, C as Comment, e as CommentRangeEnd, f as CommentRangeStart, A as ComplexField, g as Deletion, D as DocumentBody, G as DrawingContent, E as Endnote, J as EndnotePosition, K as EndnoteProperties, L as Field, N as FieldCharContent, O as FieldType, Q as FooterReference, F as Footnote, U as FootnotePosition, V as FootnoteProperties, w as HeaderFooter, W as HeaderFooterType, X as HeaderReference, H as Hyperlink, I as Image, Y as ImageCrop, Z as ImagePadding, _ as ImagePosition, $ as ImageSize, a0 as ImageTransform, a1 as ImageWrap, a2 as InlineSdt, h as Insertion, a3 as InstrTextContent, a4 as LineNumberRestart, a5 as MathEquation, M as MoveFrom, a6 as MoveFromRangeEnd, a7 as MoveFromRangeStart, i as MoveTo, a8 as MoveToRangeEnd, a9 as MoveToRangeStart, aa as NoBreakHyphenContent, ab as NoteNumberRestart, ac as NoteRefMarkContent, ad as NoteReferenceContent, ae as PageOrientation, P as Paragraph, j as ParagraphContent, a as ParagraphPropertyChange, af as PropertyChangeInfo, k as Run, l as RunContent, ag as RunPropertyChange, t as SdtDataBinding, s as SdtProperties, r as SdtType, ah as Section, S as SectionProperties, ai as SectionStart, aj as SeparatorContent, ak as Shape, al as ShapeContent, am as ShapeFill, an as ShapeOutline, ao as ShapeTextBody, ap as ShapeType, aq as SimpleField, ar as SoftHyphenContent, as as SymbolContent, at as TabContent, T as Table, m as TableCell, c as TableCellPropertyChange, b as TablePropertyChange, n as TableRow, d as TableRowPropertyChange, au as TableStructuralChangeInfo, av as TextBox, o as TextContent, p as TrackedChangeInfo, q as TrackedRunChange, aw as VerticalAlign } from '../content-CbBCrsr0.mjs';
|
|
16
|
+
export { D as DEFAULT_WATERMARK_PRESETS, P as PictureWatermark, T as TextWatermark, W as Watermark, p as pictureWatermarkDisplayEmu } from '../watermark-D90356ZM.mjs';
|
|
17
|
+
import '../formatting-DFtuRFQY.mjs';
|
|
18
18
|
import '../colors-C3vA7HUU.mjs';
|
|
19
19
|
import '../docx/wrapTypes.mjs';
|
|
20
|
+
import '../lists-CyGxd5Y2.mjs';
|
package/dist/types/content.d.ts
CHANGED
|
@@ -12,8 +12,9 @@
|
|
|
12
12
|
* @packageDocumentation
|
|
13
13
|
* @public
|
|
14
14
|
*/
|
|
15
|
-
export { B as BlockContent,
|
|
16
|
-
export { P as PictureWatermark, T as TextWatermark, W as Watermark, p as pictureWatermarkDisplayEmu } from '../watermark-
|
|
17
|
-
import '../formatting-
|
|
15
|
+
export { B as BlockContent, u as BlockSdt, x as BookmarkEnd, y as BookmarkStart, v as BreakContent, z as Column, C as Comment, e as CommentRangeEnd, f as CommentRangeStart, A as ComplexField, g as Deletion, D as DocumentBody, G as DrawingContent, E as Endnote, J as EndnotePosition, K as EndnoteProperties, L as Field, N as FieldCharContent, O as FieldType, Q as FooterReference, F as Footnote, U as FootnotePosition, V as FootnoteProperties, w as HeaderFooter, W as HeaderFooterType, X as HeaderReference, H as Hyperlink, I as Image, Y as ImageCrop, Z as ImagePadding, _ as ImagePosition, $ as ImageSize, a0 as ImageTransform, a1 as ImageWrap, a2 as InlineSdt, h as Insertion, a3 as InstrTextContent, a4 as LineNumberRestart, a5 as MathEquation, M as MoveFrom, a6 as MoveFromRangeEnd, a7 as MoveFromRangeStart, i as MoveTo, a8 as MoveToRangeEnd, a9 as MoveToRangeStart, aa as NoBreakHyphenContent, ab as NoteNumberRestart, ac as NoteRefMarkContent, ad as NoteReferenceContent, ae as PageOrientation, P as Paragraph, j as ParagraphContent, a as ParagraphPropertyChange, af as PropertyChangeInfo, k as Run, l as RunContent, ag as RunPropertyChange, t as SdtDataBinding, s as SdtProperties, r as SdtType, ah as Section, S as SectionProperties, ai as SectionStart, aj as SeparatorContent, ak as Shape, al as ShapeContent, am as ShapeFill, an as ShapeOutline, ao as ShapeTextBody, ap as ShapeType, aq as SimpleField, ar as SoftHyphenContent, as as SymbolContent, at as TabContent, T as Table, m as TableCell, c as TableCellPropertyChange, b as TablePropertyChange, n as TableRow, d as TableRowPropertyChange, au as TableStructuralChangeInfo, av as TextBox, o as TextContent, p as TrackedChangeInfo, q as TrackedRunChange, aw as VerticalAlign } from '../content-BebvPfXc.js';
|
|
16
|
+
export { D as DEFAULT_WATERMARK_PRESETS, P as PictureWatermark, T as TextWatermark, W as Watermark, p as pictureWatermarkDisplayEmu } from '../watermark-D90356ZM.js';
|
|
17
|
+
import '../formatting-JhqWT_XM.js';
|
|
18
18
|
import '../colors-C3vA7HUU.js';
|
|
19
19
|
import '../docx/wrapTypes.js';
|
|
20
|
+
import '../lists-Bn29SzeS.js';
|
package/dist/types/content.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkLVUL7O27_js=require('../chunk-LVUL7O27.js');require('../chunk-DC7S76ZX.js');Object.defineProperty(exports,"DEFAULT_WATERMARK_PRESETS",{enumerable:true,get:function(){return chunkLVUL7O27_js.a}});Object.defineProperty(exports,"pictureWatermarkDisplayEmu",{enumerable:true,get:function(){return chunkLVUL7O27_js.b}});
|
package/dist/types/content.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as pictureWatermarkDisplayEmu}from'../chunk-
|
|
1
|
+
export{a as DEFAULT_WATERMARK_PRESETS,b as pictureWatermarkDisplayEmu}from'../chunk-UC7JW66O.mjs';import'../chunk-QYUPLKLP.mjs';
|
|
@@ -14,12 +14,14 @@
|
|
|
14
14
|
* @public
|
|
15
15
|
*/
|
|
16
16
|
export { B as BorderSpec, C as ColorValue, S as ShadingProperties, T as ThemeColorSlot } from '../colors-C3vA7HUU.mjs';
|
|
17
|
-
export { C as CellMargins, g as ConditionalFormatStyle, E as EmphasisMark, F as FloatingTableProperties, L as LineSpacingRule, d as ParagraphAlignment, P as ParagraphFormatting, h as TabLeader, e as TabStop, i as TabStopAlignment, j as TableBorders, c as TableCellFormatting, a as TableFormatting, f as TableLook, k as TableMeasurement, b as TableRowFormatting, l as TableWidthType, m as TextEffect, T as TextFormatting, U as UnderlineStyle } from '../formatting-
|
|
18
|
-
import {
|
|
19
|
-
export { A as AbstractNumbering,
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
export { D as
|
|
17
|
+
export { C as CellMargins, g as ConditionalFormatStyle, E as EmphasisMark, F as FloatingTableProperties, L as LineSpacingRule, d as ParagraphAlignment, P as ParagraphFormatting, h as TabLeader, e as TabStop, i as TabStopAlignment, j as TableBorders, c as TableCellFormatting, a as TableFormatting, f as TableLook, k as TableMeasurement, b as TableRowFormatting, l as TableWidthType, m as TextEffect, T as TextFormatting, U as UnderlineStyle } from '../formatting-DFtuRFQY.mjs';
|
|
18
|
+
import { a as NumberingDefinitions } from '../lists-CyGxd5Y2.mjs';
|
|
19
|
+
export { A as AbstractNumbering, d as LevelSuffix, L as ListLevel, c as ListRendering, N as NumberFormat, b as NumberingInstance } from '../lists-CyGxd5Y2.mjs';
|
|
20
|
+
import { D as DocumentBody, F as Footnote, E as Endnote, w as HeaderFooter } from '../content-CbBCrsr0.mjs';
|
|
21
|
+
export { B as BlockContent, u as BlockSdt, x as BookmarkEnd, y as BookmarkStart, v as BreakContent, z as Column, C as Comment, e as CommentRangeEnd, f as CommentRangeStart, A as ComplexField, g as Deletion, G as DrawingContent, J as EndnotePosition, K as EndnoteProperties, L as Field, N as FieldCharContent, O as FieldType, Q as FooterReference, U as FootnotePosition, V as FootnoteProperties, W as HeaderFooterType, X as HeaderReference, H as Hyperlink, I as Image, Y as ImageCrop, Z as ImagePadding, _ as ImagePosition, $ as ImageSize, a0 as ImageTransform, a1 as ImageWrap, a2 as InlineSdt, h as Insertion, a3 as InstrTextContent, a4 as LineNumberRestart, a5 as MathEquation, M as MoveFrom, a6 as MoveFromRangeEnd, a7 as MoveFromRangeStart, i as MoveTo, a8 as MoveToRangeEnd, a9 as MoveToRangeStart, aa as NoBreakHyphenContent, ab as NoteNumberRestart, ac as NoteRefMarkContent, ad as NoteReferenceContent, ae as PageOrientation, P as Paragraph, j as ParagraphContent, a as ParagraphPropertyChange, af as PropertyChangeInfo, k as Run, l as RunContent, ag as RunPropertyChange, t as SdtDataBinding, s as SdtProperties, r as SdtType, ah as Section, S as SectionProperties, ai as SectionStart, aj as SeparatorContent, ak as Shape, al as ShapeContent, am as ShapeFill, an as ShapeOutline, ao as ShapeTextBody, ap as ShapeType, aq as SimpleField, ar as SoftHyphenContent, as as SymbolContent, at as TabContent, T as Table, m as TableCell, c as TableCellPropertyChange, b as TablePropertyChange, n as TableRow, d as TableRowPropertyChange, au as TableStructuralChangeInfo, av as TextBox, o as TextContent, p as TrackedChangeInfo, q as TrackedRunChange, aw as VerticalAlign } from '../content-CbBCrsr0.mjs';
|
|
22
|
+
export { D as DEFAULT_WATERMARK_PRESETS, P as PictureWatermark, T as TextWatermark, W as Watermark, p as pictureWatermarkDisplayEmu } from '../watermark-D90356ZM.mjs';
|
|
23
|
+
import { S as StyleDefinitions, T as Theme, F as FontTable, b as RelationshipMap, M as MediaFile } from '../styles-Dqec8Aw6.mjs';
|
|
24
|
+
export { D as DocDefaults, c as FontInfo, R as Relationship, d as RelationshipType, a as Style, e as StyleType, f as ThemeColorScheme, g as ThemeFont, h as ThemeFontScheme } from '../styles-Dqec8Aw6.mjs';
|
|
23
25
|
import '../docx/wrapTypes.mjs';
|
|
24
26
|
|
|
25
27
|
/**
|
package/dist/types/document.d.ts
CHANGED
|
@@ -14,12 +14,14 @@
|
|
|
14
14
|
* @public
|
|
15
15
|
*/
|
|
16
16
|
export { B as BorderSpec, C as ColorValue, S as ShadingProperties, T as ThemeColorSlot } from '../colors-C3vA7HUU.js';
|
|
17
|
-
export { C as CellMargins, g as ConditionalFormatStyle, E as EmphasisMark, F as FloatingTableProperties, L as LineSpacingRule, d as ParagraphAlignment, P as ParagraphFormatting, h as TabLeader, e as TabStop, i as TabStopAlignment, j as TableBorders, c as TableCellFormatting, a as TableFormatting, f as TableLook, k as TableMeasurement, b as TableRowFormatting, l as TableWidthType, m as TextEffect, T as TextFormatting, U as UnderlineStyle } from '../formatting-
|
|
18
|
-
import {
|
|
19
|
-
export { A as AbstractNumbering,
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
export { D as
|
|
17
|
+
export { C as CellMargins, g as ConditionalFormatStyle, E as EmphasisMark, F as FloatingTableProperties, L as LineSpacingRule, d as ParagraphAlignment, P as ParagraphFormatting, h as TabLeader, e as TabStop, i as TabStopAlignment, j as TableBorders, c as TableCellFormatting, a as TableFormatting, f as TableLook, k as TableMeasurement, b as TableRowFormatting, l as TableWidthType, m as TextEffect, T as TextFormatting, U as UnderlineStyle } from '../formatting-JhqWT_XM.js';
|
|
18
|
+
import { a as NumberingDefinitions } from '../lists-Bn29SzeS.js';
|
|
19
|
+
export { A as AbstractNumbering, d as LevelSuffix, L as ListLevel, c as ListRendering, N as NumberFormat, b as NumberingInstance } from '../lists-Bn29SzeS.js';
|
|
20
|
+
import { D as DocumentBody, F as Footnote, E as Endnote, w as HeaderFooter } from '../content-BebvPfXc.js';
|
|
21
|
+
export { B as BlockContent, u as BlockSdt, x as BookmarkEnd, y as BookmarkStart, v as BreakContent, z as Column, C as Comment, e as CommentRangeEnd, f as CommentRangeStart, A as ComplexField, g as Deletion, G as DrawingContent, J as EndnotePosition, K as EndnoteProperties, L as Field, N as FieldCharContent, O as FieldType, Q as FooterReference, U as FootnotePosition, V as FootnoteProperties, W as HeaderFooterType, X as HeaderReference, H as Hyperlink, I as Image, Y as ImageCrop, Z as ImagePadding, _ as ImagePosition, $ as ImageSize, a0 as ImageTransform, a1 as ImageWrap, a2 as InlineSdt, h as Insertion, a3 as InstrTextContent, a4 as LineNumberRestart, a5 as MathEquation, M as MoveFrom, a6 as MoveFromRangeEnd, a7 as MoveFromRangeStart, i as MoveTo, a8 as MoveToRangeEnd, a9 as MoveToRangeStart, aa as NoBreakHyphenContent, ab as NoteNumberRestart, ac as NoteRefMarkContent, ad as NoteReferenceContent, ae as PageOrientation, P as Paragraph, j as ParagraphContent, a as ParagraphPropertyChange, af as PropertyChangeInfo, k as Run, l as RunContent, ag as RunPropertyChange, t as SdtDataBinding, s as SdtProperties, r as SdtType, ah as Section, S as SectionProperties, ai as SectionStart, aj as SeparatorContent, ak as Shape, al as ShapeContent, am as ShapeFill, an as ShapeOutline, ao as ShapeTextBody, ap as ShapeType, aq as SimpleField, ar as SoftHyphenContent, as as SymbolContent, at as TabContent, T as Table, m as TableCell, c as TableCellPropertyChange, b as TablePropertyChange, n as TableRow, d as TableRowPropertyChange, au as TableStructuralChangeInfo, av as TextBox, o as TextContent, p as TrackedChangeInfo, q as TrackedRunChange, aw as VerticalAlign } from '../content-BebvPfXc.js';
|
|
22
|
+
export { D as DEFAULT_WATERMARK_PRESETS, P as PictureWatermark, T as TextWatermark, W as Watermark, p as pictureWatermarkDisplayEmu } from '../watermark-D90356ZM.js';
|
|
23
|
+
import { S as StyleDefinitions, T as Theme, F as FontTable, b as RelationshipMap, M as MediaFile } from '../styles-gEujs7j6.js';
|
|
24
|
+
export { D as DocDefaults, c as FontInfo, R as Relationship, d as RelationshipType, a as Style, e as StyleType, f as ThemeColorScheme, g as ThemeFont, h as ThemeFontScheme } from '../styles-gEujs7j6.js';
|
|
23
25
|
import '../docx/wrapTypes.js';
|
|
24
26
|
|
|
25
27
|
/**
|
package/dist/types/document.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkLVUL7O27_js=require('../chunk-LVUL7O27.js');require('../chunk-DC7S76ZX.js');Object.defineProperty(exports,"DEFAULT_WATERMARK_PRESETS",{enumerable:true,get:function(){return chunkLVUL7O27_js.a}});Object.defineProperty(exports,"pictureWatermarkDisplayEmu",{enumerable:true,get:function(){return chunkLVUL7O27_js.b}});
|
package/dist/types/document.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as pictureWatermarkDisplayEmu}from'../chunk-
|
|
1
|
+
export{a as DEFAULT_WATERMARK_PRESETS,b as pictureWatermarkDisplayEmu}from'../chunk-UC7JW66O.mjs';import'../chunk-QYUPLKLP.mjs';
|