@eigenpal/docx-editor-core 1.0.0 → 1.0.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.
Files changed (77) hide show
  1. package/dist/agent/index.js +1 -1
  2. package/dist/agent/index.mjs +1 -1
  3. package/dist/chunk-3GNIP6IX.mjs +4 -0
  4. package/dist/chunk-7UTXBQKF.mjs +1 -0
  5. package/dist/{chunk-CKXAHSJQ.js → chunk-AFMMYLPX.js} +2 -2
  6. package/dist/{chunk-J7ULKGU2.mjs → chunk-AGNZEOVL.mjs} +1 -1
  7. package/dist/chunk-BD4CYYFB.js +1 -0
  8. package/dist/{chunk-6ILFFGGS.js → chunk-C6GSFUV2.js} +1 -1
  9. package/dist/chunk-DN36K5JU.mjs +1 -0
  10. package/dist/{chunk-CWAP26GB.js → chunk-DV6IEOP5.js} +3 -3
  11. package/dist/{chunk-23CP3TOP.js → chunk-GH5N36F7.js} +1 -1
  12. package/dist/chunk-GNPLUGUG.mjs +1 -0
  13. package/dist/chunk-HVZMO3BU.js +1 -0
  14. package/dist/chunk-ITVXBQGR.mjs +1 -0
  15. package/dist/{chunk-S7IKPRC3.js → chunk-KSYEBTYE.js} +1 -1
  16. package/dist/{chunk-ZRZ2VRQQ.mjs → chunk-LDAOONXZ.mjs} +1 -1
  17. package/dist/{chunk-36VIYQHD.mjs → chunk-N3GIC2UI.mjs} +1 -1
  18. package/dist/{chunk-FC6QL3E6.js → chunk-NFYCMDM5.js} +1 -1
  19. package/dist/chunk-P3AXSRLG.mjs +1 -0
  20. package/dist/chunk-PK4PDRTA.js +1 -0
  21. package/dist/{chunk-VKTCTMIO.mjs → chunk-R7RR6M4A.mjs} +1 -1
  22. package/dist/{chunk-BGC7QKP5.mjs → chunk-RSMS6OTE.mjs} +1 -1
  23. package/dist/chunk-TZJUO3NW.js +1 -0
  24. package/dist/chunk-YE357WVA.js +1 -0
  25. package/dist/core-plugins.js +1 -1
  26. package/dist/core-plugins.mjs +1 -1
  27. package/dist/core.d.mts +1 -1
  28. package/dist/core.d.ts +1 -1
  29. package/dist/core.js +1 -1
  30. package/dist/core.mjs +1 -1
  31. package/dist/docx/index.js +1 -1
  32. package/dist/docx/index.mjs +1 -1
  33. package/dist/docx/parser.js +1 -1
  34. package/dist/docx/parser.mjs +1 -1
  35. package/dist/headless.js +1 -1
  36. package/dist/headless.mjs +1 -1
  37. package/dist/layout-bridge/index.d.mts +1 -1
  38. package/dist/layout-bridge/index.d.ts +1 -1
  39. package/dist/layout-bridge/index.js +1 -1
  40. package/dist/layout-bridge/index.mjs +1 -1
  41. package/dist/layout-bridge/measuring/index.d.mts +17 -1
  42. package/dist/layout-bridge/measuring/index.d.ts +17 -1
  43. package/dist/layout-bridge/measuring/index.js +1 -1
  44. package/dist/layout-bridge/measuring/index.mjs +1 -1
  45. package/dist/layout-bridge/tableInsertHover.js +1 -1
  46. package/dist/layout-bridge/tableInsertHover.mjs +1 -1
  47. package/dist/layout-bridge/toFlowBlocks.js +1 -1
  48. package/dist/layout-bridge/toFlowBlocks.mjs +1 -1
  49. package/dist/layout-engine/types.d.mts +8 -4
  50. package/dist/layout-engine/types.d.ts +8 -4
  51. package/dist/layout-painter/index.js +1 -1
  52. package/dist/layout-painter/index.mjs +1 -1
  53. package/dist/layout-painter/renderPage.d.mts +7 -0
  54. package/dist/layout-painter/renderPage.d.ts +7 -0
  55. package/dist/layout-painter/renderPage.js +1 -1
  56. package/dist/layout-painter/renderPage.mjs +1 -1
  57. package/dist/mcp-cli.mjs +15 -15
  58. package/dist/mcp.js +2 -2
  59. package/dist/mcp.mjs +1 -1
  60. package/dist/prosemirror/conversion/fromProseDoc.js +1 -1
  61. package/dist/prosemirror/conversion/fromProseDoc.mjs +1 -1
  62. package/dist/prosemirror/conversion/index.js +1 -1
  63. package/dist/prosemirror/conversion/index.mjs +1 -1
  64. package/dist/prosemirror/index.js +1 -1
  65. package/dist/prosemirror/index.mjs +1 -1
  66. package/package.json +1 -1
  67. package/dist/chunk-4AJYHCPB.js +0 -2
  68. package/dist/chunk-7GHQ4YCJ.mjs +0 -1
  69. package/dist/chunk-BWHUD2XC.mjs +0 -4
  70. package/dist/chunk-DY2MJCSV.js +0 -1
  71. package/dist/chunk-G6Y4UZMJ.mjs +0 -1
  72. package/dist/chunk-LMF2ELOB.js +0 -1
  73. package/dist/chunk-N27FJQTG.js +0 -1
  74. package/dist/chunk-UIROUI5I.mjs +0 -1
  75. package/dist/chunk-UOFQYE2L.mjs +0 -1
  76. package/dist/chunk-V7BKPX67.mjs +0 -2
  77. package/dist/chunk-Y7JZPBBW.js +0 -1
@@ -1 +1 @@
1
- 'use strict';var chunkDY2MJCSV_js=require('../../chunk-DY2MJCSV.js');require('../../chunk-JFZIXFRC.js'),require('../../chunk-N3Y5BUKV.js'),require('../../chunk-DC7S76ZX.js');Object.defineProperty(exports,"buildFontString",{enumerable:true,get:function(){return chunkDY2MJCSV_js.c}});Object.defineProperty(exports,"clearAllCaches",{enumerable:true,get:function(){return chunkDY2MJCSV_js.K}});Object.defineProperty(exports,"clearFontMetricsCache",{enumerable:true,get:function(){return chunkDY2MJCSV_js.B}});Object.defineProperty(exports,"clearParagraphMeasureCache",{enumerable:true,get:function(){return chunkDY2MJCSV_js.H}});Object.defineProperty(exports,"clearTextWidthCache",{enumerable:true,get:function(){return chunkDY2MJCSV_js.w}});Object.defineProperty(exports,"findCharacterAtX",{enumerable:true,get:function(){return chunkDY2MJCSV_js.h}});Object.defineProperty(exports,"getCachedFontMetrics",{enumerable:true,get:function(){return chunkDY2MJCSV_js.z}});Object.defineProperty(exports,"getCachedParagraphMeasure",{enumerable:true,get:function(){return chunkDY2MJCSV_js.F}});Object.defineProperty(exports,"getCachedTextWidth",{enumerable:true,get:function(){return chunkDY2MJCSV_js.u}});Object.defineProperty(exports,"getCanvasContext",{enumerable:true,get:function(){return chunkDY2MJCSV_js.a}});Object.defineProperty(exports,"getFloatingMargins",{enumerable:true,get:function(){return chunkDY2MJCSV_js.q}});Object.defineProperty(exports,"getFontCacheSize",{enumerable:true,get:function(){return chunkDY2MJCSV_js.D}});Object.defineProperty(exports,"getFontMetrics",{enumerable:true,get:function(){return chunkDY2MJCSV_js.d}});Object.defineProperty(exports,"getParagraphCacheSize",{enumerable:true,get:function(){return chunkDY2MJCSV_js.J}});Object.defineProperty(exports,"getRunCharWidths",{enumerable:true,get:function(){return chunkDY2MJCSV_js.t}});Object.defineProperty(exports,"getTextCacheSize",{enumerable:true,get:function(){return chunkDY2MJCSV_js.y}});Object.defineProperty(exports,"getTotalCacheSize",{enumerable:true,get:function(){return chunkDY2MJCSV_js.L}});Object.defineProperty(exports,"getXForCharacter",{enumerable:true,get:function(){return chunkDY2MJCSV_js.i}});Object.defineProperty(exports,"halfPtToPx",{enumerable:true,get:function(){return chunkDY2MJCSV_js.n}});Object.defineProperty(exports,"hashParagraphBlock",{enumerable:true,get:function(){return chunkDY2MJCSV_js.E}});Object.defineProperty(exports,"measureParagraph",{enumerable:true,get:function(){return chunkDY2MJCSV_js.r}});Object.defineProperty(exports,"measureParagraphs",{enumerable:true,get:function(){return chunkDY2MJCSV_js.s}});Object.defineProperty(exports,"measureRun",{enumerable:true,get:function(){return chunkDY2MJCSV_js.g}});Object.defineProperty(exports,"measureText",{enumerable:true,get:function(){return chunkDY2MJCSV_js.f}});Object.defineProperty(exports,"measureTextWidth",{enumerable:true,get:function(){return chunkDY2MJCSV_js.e}});Object.defineProperty(exports,"ptToPx",{enumerable:true,get:function(){return chunkDY2MJCSV_js.l}});Object.defineProperty(exports,"pxToHalfPt",{enumerable:true,get:function(){return chunkDY2MJCSV_js.o}});Object.defineProperty(exports,"pxToPt",{enumerable:true,get:function(){return chunkDY2MJCSV_js.m}});Object.defineProperty(exports,"pxToTwips",{enumerable:true,get:function(){return chunkDY2MJCSV_js.k}});Object.defineProperty(exports,"rectsToFloatingZones",{enumerable:true,get:function(){return chunkDY2MJCSV_js.p}});Object.defineProperty(exports,"resetCanvasContext",{enumerable:true,get:function(){return chunkDY2MJCSV_js.b}});Object.defineProperty(exports,"setCachedFontMetrics",{enumerable:true,get:function(){return chunkDY2MJCSV_js.A}});Object.defineProperty(exports,"setCachedParagraphMeasure",{enumerable:true,get:function(){return chunkDY2MJCSV_js.G}});Object.defineProperty(exports,"setCachedTextWidth",{enumerable:true,get:function(){return chunkDY2MJCSV_js.v}});Object.defineProperty(exports,"setFontCacheSize",{enumerable:true,get:function(){return chunkDY2MJCSV_js.C}});Object.defineProperty(exports,"setParagraphCacheSize",{enumerable:true,get:function(){return chunkDY2MJCSV_js.I}});Object.defineProperty(exports,"setTextCacheSize",{enumerable:true,get:function(){return chunkDY2MJCSV_js.x}});Object.defineProperty(exports,"twipsToPx",{enumerable:true,get:function(){return chunkDY2MJCSV_js.j}});
1
+ 'use strict';var chunkTZJUO3NW_js=require('../../chunk-TZJUO3NW.js');require('../../chunk-JFZIXFRC.js'),require('../../chunk-N3Y5BUKV.js'),require('../../chunk-DC7S76ZX.js');Object.defineProperty(exports,"buildFontString",{enumerable:true,get:function(){return chunkTZJUO3NW_js.c}});Object.defineProperty(exports,"clampFloatingWrapMargins",{enumerable:true,get:function(){return chunkTZJUO3NW_js.r}});Object.defineProperty(exports,"clearAllCaches",{enumerable:true,get:function(){return chunkTZJUO3NW_js.L}});Object.defineProperty(exports,"clearFontMetricsCache",{enumerable:true,get:function(){return chunkTZJUO3NW_js.C}});Object.defineProperty(exports,"clearParagraphMeasureCache",{enumerable:true,get:function(){return chunkTZJUO3NW_js.I}});Object.defineProperty(exports,"clearTextWidthCache",{enumerable:true,get:function(){return chunkTZJUO3NW_js.x}});Object.defineProperty(exports,"findCharacterAtX",{enumerable:true,get:function(){return chunkTZJUO3NW_js.h}});Object.defineProperty(exports,"getCachedFontMetrics",{enumerable:true,get:function(){return chunkTZJUO3NW_js.A}});Object.defineProperty(exports,"getCachedParagraphMeasure",{enumerable:true,get:function(){return chunkTZJUO3NW_js.G}});Object.defineProperty(exports,"getCachedTextWidth",{enumerable:true,get:function(){return chunkTZJUO3NW_js.v}});Object.defineProperty(exports,"getCanvasContext",{enumerable:true,get:function(){return chunkTZJUO3NW_js.a}});Object.defineProperty(exports,"getFloatingMargins",{enumerable:true,get:function(){return chunkTZJUO3NW_js.q}});Object.defineProperty(exports,"getFontCacheSize",{enumerable:true,get:function(){return chunkTZJUO3NW_js.E}});Object.defineProperty(exports,"getFontMetrics",{enumerable:true,get:function(){return chunkTZJUO3NW_js.d}});Object.defineProperty(exports,"getParagraphCacheSize",{enumerable:true,get:function(){return chunkTZJUO3NW_js.K}});Object.defineProperty(exports,"getRunCharWidths",{enumerable:true,get:function(){return chunkTZJUO3NW_js.u}});Object.defineProperty(exports,"getTextCacheSize",{enumerable:true,get:function(){return chunkTZJUO3NW_js.z}});Object.defineProperty(exports,"getTotalCacheSize",{enumerable:true,get:function(){return chunkTZJUO3NW_js.M}});Object.defineProperty(exports,"getXForCharacter",{enumerable:true,get:function(){return chunkTZJUO3NW_js.i}});Object.defineProperty(exports,"halfPtToPx",{enumerable:true,get:function(){return chunkTZJUO3NW_js.n}});Object.defineProperty(exports,"hashParagraphBlock",{enumerable:true,get:function(){return chunkTZJUO3NW_js.F}});Object.defineProperty(exports,"measureParagraph",{enumerable:true,get:function(){return chunkTZJUO3NW_js.s}});Object.defineProperty(exports,"measureParagraphs",{enumerable:true,get:function(){return chunkTZJUO3NW_js.t}});Object.defineProperty(exports,"measureRun",{enumerable:true,get:function(){return chunkTZJUO3NW_js.g}});Object.defineProperty(exports,"measureText",{enumerable:true,get:function(){return chunkTZJUO3NW_js.f}});Object.defineProperty(exports,"measureTextWidth",{enumerable:true,get:function(){return chunkTZJUO3NW_js.e}});Object.defineProperty(exports,"ptToPx",{enumerable:true,get:function(){return chunkTZJUO3NW_js.l}});Object.defineProperty(exports,"pxToHalfPt",{enumerable:true,get:function(){return chunkTZJUO3NW_js.o}});Object.defineProperty(exports,"pxToPt",{enumerable:true,get:function(){return chunkTZJUO3NW_js.m}});Object.defineProperty(exports,"pxToTwips",{enumerable:true,get:function(){return chunkTZJUO3NW_js.k}});Object.defineProperty(exports,"rectsToFloatingZones",{enumerable:true,get:function(){return chunkTZJUO3NW_js.p}});Object.defineProperty(exports,"resetCanvasContext",{enumerable:true,get:function(){return chunkTZJUO3NW_js.b}});Object.defineProperty(exports,"setCachedFontMetrics",{enumerable:true,get:function(){return chunkTZJUO3NW_js.B}});Object.defineProperty(exports,"setCachedParagraphMeasure",{enumerable:true,get:function(){return chunkTZJUO3NW_js.H}});Object.defineProperty(exports,"setCachedTextWidth",{enumerable:true,get:function(){return chunkTZJUO3NW_js.w}});Object.defineProperty(exports,"setFontCacheSize",{enumerable:true,get:function(){return chunkTZJUO3NW_js.D}});Object.defineProperty(exports,"setParagraphCacheSize",{enumerable:true,get:function(){return chunkTZJUO3NW_js.J}});Object.defineProperty(exports,"setTextCacheSize",{enumerable:true,get:function(){return chunkTZJUO3NW_js.y}});Object.defineProperty(exports,"twipsToPx",{enumerable:true,get:function(){return chunkTZJUO3NW_js.j}});
@@ -1 +1 @@
1
- export{c as buildFontString,K as clearAllCaches,B as clearFontMetricsCache,H as clearParagraphMeasureCache,w as clearTextWidthCache,h as findCharacterAtX,z as getCachedFontMetrics,F as getCachedParagraphMeasure,u as getCachedTextWidth,a as getCanvasContext,q as getFloatingMargins,D as getFontCacheSize,d as getFontMetrics,J as getParagraphCacheSize,t as getRunCharWidths,y as getTextCacheSize,L as getTotalCacheSize,i as getXForCharacter,n as halfPtToPx,E as hashParagraphBlock,r as measureParagraph,s as measureParagraphs,g as measureRun,f as measureText,e as measureTextWidth,l as ptToPx,o as pxToHalfPt,m as pxToPt,k as pxToTwips,p as rectsToFloatingZones,b as resetCanvasContext,A as setCachedFontMetrics,G as setCachedParagraphMeasure,v as setCachedTextWidth,C as setFontCacheSize,I as setParagraphCacheSize,x as setTextCacheSize,j as twipsToPx}from'../../chunk-G6Y4UZMJ.mjs';import'../../chunk-QPFJJPIC.mjs';import'../../chunk-AMENZY5F.mjs';import'../../chunk-QYUPLKLP.mjs';
1
+ export{c as buildFontString,r as clampFloatingWrapMargins,L as clearAllCaches,C as clearFontMetricsCache,I as clearParagraphMeasureCache,x as clearTextWidthCache,h as findCharacterAtX,A as getCachedFontMetrics,G as getCachedParagraphMeasure,v as getCachedTextWidth,a as getCanvasContext,q as getFloatingMargins,E as getFontCacheSize,d as getFontMetrics,K as getParagraphCacheSize,u as getRunCharWidths,z as getTextCacheSize,M as getTotalCacheSize,i as getXForCharacter,n as halfPtToPx,F as hashParagraphBlock,s as measureParagraph,t as measureParagraphs,g as measureRun,f as measureText,e as measureTextWidth,l as ptToPx,o as pxToHalfPt,m as pxToPt,k as pxToTwips,p as rectsToFloatingZones,b as resetCanvasContext,B as setCachedFontMetrics,H as setCachedParagraphMeasure,w as setCachedTextWidth,D as setFontCacheSize,J as setParagraphCacheSize,y as setTextCacheSize,j as twipsToPx}from'../../chunk-7UTXBQKF.mjs';import'../../chunk-QPFJJPIC.mjs';import'../../chunk-AMENZY5F.mjs';import'../../chunk-QYUPLKLP.mjs';
@@ -1 +1 @@
1
- 'use strict';var chunk23CP3TOP_js=require('../chunk-23CP3TOP.js');require('../chunk-4AJYHCPB.js'),require('../chunk-N27FJQTG.js'),require('../chunk-44RUAQA2.js'),require('../chunk-DROCYKAR.js'),require('../chunk-DY2MJCSV.js'),require('../chunk-CWAP26GB.js'),require('../chunk-Y7JZPBBW.js'),require('../chunk-D4RPOJC7.js'),require('../chunk-IP2VXNWG.js'),require('../chunk-JFZIXFRC.js'),require('../chunk-MZOVDLYL.js'),require('../chunk-YGHHSCPR.js'),require('../chunk-7VCMJCBY.js'),require('../chunk-SUXJX72X.js'),require('../chunk-DFZTUQ7O.js'),require('../chunk-BHBOAP6Z.js'),require('../chunk-MZ7LW5CH.js'),require('../chunk-N3Y5BUKV.js'),require('../chunk-6LVPRTB6.js'),require('../chunk-NERY274X.js'),require('../chunk-MJ5FQX7Q.js'),require('../chunk-T4CPTPRP.js'),require('../chunk-Q4CKLXWA.js'),require('../chunk-4Q2IP5FW.js'),require('../chunk-DC7S76ZX.js');Object.defineProperty(exports,"TABLE_INSERT_EDGE_PROXIMITY",{enumerable:true,get:function(){return chunk23CP3TOP_js.a}});Object.defineProperty(exports,"TABLE_INSERT_HIDE_DELAY_MS",{enumerable:true,get:function(){return chunk23CP3TOP_js.b}});Object.defineProperty(exports,"detectTableInsertHover",{enumerable:true,get:function(){return chunk23CP3TOP_js.c}});
1
+ 'use strict';var chunkGH5N36F7_js=require('../chunk-GH5N36F7.js');require('../chunk-PK4PDRTA.js'),require('../chunk-BD4CYYFB.js'),require('../chunk-44RUAQA2.js'),require('../chunk-DROCYKAR.js'),require('../chunk-TZJUO3NW.js'),require('../chunk-DV6IEOP5.js'),require('../chunk-HVZMO3BU.js'),require('../chunk-D4RPOJC7.js'),require('../chunk-IP2VXNWG.js'),require('../chunk-JFZIXFRC.js'),require('../chunk-MZOVDLYL.js'),require('../chunk-YGHHSCPR.js'),require('../chunk-7VCMJCBY.js'),require('../chunk-SUXJX72X.js'),require('../chunk-DFZTUQ7O.js'),require('../chunk-BHBOAP6Z.js'),require('../chunk-MZ7LW5CH.js'),require('../chunk-N3Y5BUKV.js'),require('../chunk-6LVPRTB6.js'),require('../chunk-NERY274X.js'),require('../chunk-MJ5FQX7Q.js'),require('../chunk-T4CPTPRP.js'),require('../chunk-Q4CKLXWA.js'),require('../chunk-4Q2IP5FW.js'),require('../chunk-DC7S76ZX.js');Object.defineProperty(exports,"TABLE_INSERT_EDGE_PROXIMITY",{enumerable:true,get:function(){return chunkGH5N36F7_js.a}});Object.defineProperty(exports,"TABLE_INSERT_HIDE_DELAY_MS",{enumerable:true,get:function(){return chunkGH5N36F7_js.b}});Object.defineProperty(exports,"detectTableInsertHover",{enumerable:true,get:function(){return chunkGH5N36F7_js.c}});
@@ -1 +1 @@
1
- export{a as TABLE_INSERT_EDGE_PROXIMITY,b as TABLE_INSERT_HIDE_DELAY_MS,c as detectTableInsertHover}from'../chunk-ZRZ2VRQQ.mjs';import'../chunk-V7BKPX67.mjs';import'../chunk-7GHQ4YCJ.mjs';import'../chunk-5N5DBQJV.mjs';import'../chunk-7E5VBRDL.mjs';import'../chunk-G6Y4UZMJ.mjs';import'../chunk-BWHUD2XC.mjs';import'../chunk-UIROUI5I.mjs';import'../chunk-LBKMYD3M.mjs';import'../chunk-NBLJPT54.mjs';import'../chunk-QPFJJPIC.mjs';import'../chunk-ILJUDEZ5.mjs';import'../chunk-IBNUQL57.mjs';import'../chunk-6LOYA7G5.mjs';import'../chunk-JKVXID22.mjs';import'../chunk-LVD6HXRF.mjs';import'../chunk-MOKKS75W.mjs';import'../chunk-OZMNIX6U.mjs';import'../chunk-AMENZY5F.mjs';import'../chunk-BGY3CB37.mjs';import'../chunk-CP5OSG5Z.mjs';import'../chunk-67LVRQIR.mjs';import'../chunk-6VUYFDHY.mjs';import'../chunk-VQWZHPWI.mjs';import'../chunk-VW22RZ6C.mjs';import'../chunk-QYUPLKLP.mjs';
1
+ export{a as TABLE_INSERT_EDGE_PROXIMITY,b as TABLE_INSERT_HIDE_DELAY_MS,c as detectTableInsertHover}from'../chunk-LDAOONXZ.mjs';import'../chunk-ITVXBQGR.mjs';import'../chunk-DN36K5JU.mjs';import'../chunk-5N5DBQJV.mjs';import'../chunk-7E5VBRDL.mjs';import'../chunk-7UTXBQKF.mjs';import'../chunk-3GNIP6IX.mjs';import'../chunk-GNPLUGUG.mjs';import'../chunk-LBKMYD3M.mjs';import'../chunk-NBLJPT54.mjs';import'../chunk-QPFJJPIC.mjs';import'../chunk-ILJUDEZ5.mjs';import'../chunk-IBNUQL57.mjs';import'../chunk-6LOYA7G5.mjs';import'../chunk-JKVXID22.mjs';import'../chunk-LVD6HXRF.mjs';import'../chunk-MOKKS75W.mjs';import'../chunk-OZMNIX6U.mjs';import'../chunk-AMENZY5F.mjs';import'../chunk-BGY3CB37.mjs';import'../chunk-CP5OSG5Z.mjs';import'../chunk-67LVRQIR.mjs';import'../chunk-6VUYFDHY.mjs';import'../chunk-VQWZHPWI.mjs';import'../chunk-VW22RZ6C.mjs';import'../chunk-QYUPLKLP.mjs';
@@ -1 +1 @@
1
- 'use strict';var chunkN27FJQTG_js=require('../chunk-N27FJQTG.js');require('../chunk-DROCYKAR.js'),require('../chunk-CWAP26GB.js'),require('../chunk-YGHHSCPR.js'),require('../chunk-7VCMJCBY.js'),require('../chunk-MJ5FQX7Q.js'),require('../chunk-4Q2IP5FW.js'),require('../chunk-DC7S76ZX.js');Object.defineProperty(exports,"convertBorderSpecToLayout",{enumerable:true,get:function(){return chunkN27FJQTG_js.b}});Object.defineProperty(exports,"resetBlockIdCounter",{enumerable:true,get:function(){return chunkN27FJQTG_js.a}});Object.defineProperty(exports,"resolveListTemplate",{enumerable:true,get:function(){return chunkN27FJQTG_js.c}});Object.defineProperty(exports,"toFlowBlocks",{enumerable:true,get:function(){return chunkN27FJQTG_js.d}});
1
+ 'use strict';var chunkBD4CYYFB_js=require('../chunk-BD4CYYFB.js');require('../chunk-DROCYKAR.js'),require('../chunk-DV6IEOP5.js'),require('../chunk-YGHHSCPR.js'),require('../chunk-7VCMJCBY.js'),require('../chunk-MJ5FQX7Q.js'),require('../chunk-4Q2IP5FW.js'),require('../chunk-DC7S76ZX.js');Object.defineProperty(exports,"convertBorderSpecToLayout",{enumerable:true,get:function(){return chunkBD4CYYFB_js.b}});Object.defineProperty(exports,"resetBlockIdCounter",{enumerable:true,get:function(){return chunkBD4CYYFB_js.a}});Object.defineProperty(exports,"resolveListTemplate",{enumerable:true,get:function(){return chunkBD4CYYFB_js.c}});Object.defineProperty(exports,"toFlowBlocks",{enumerable:true,get:function(){return chunkBD4CYYFB_js.d}});
@@ -1 +1 @@
1
- export{b as convertBorderSpecToLayout,a as resetBlockIdCounter,c as resolveListTemplate,d as toFlowBlocks}from'../chunk-7GHQ4YCJ.mjs';import'../chunk-7E5VBRDL.mjs';import'../chunk-BWHUD2XC.mjs';import'../chunk-IBNUQL57.mjs';import'../chunk-6LOYA7G5.mjs';import'../chunk-67LVRQIR.mjs';import'../chunk-VW22RZ6C.mjs';import'../chunk-QYUPLKLP.mjs';
1
+ export{b as convertBorderSpecToLayout,a as resetBlockIdCounter,c as resolveListTemplate,d as toFlowBlocks}from'../chunk-DN36K5JU.mjs';import'../chunk-7E5VBRDL.mjs';import'../chunk-3GNIP6IX.mjs';import'../chunk-IBNUQL57.mjs';import'../chunk-6LOYA7G5.mjs';import'../chunk-67LVRQIR.mjs';import'../chunk-VW22RZ6C.mjs';import'../chunk-QYUPLKLP.mjs';
@@ -77,10 +77,7 @@ type RunFormatting = {
77
77
  */
78
78
  textEffect?: 'blinkBackground' | 'lights' | 'antsBlack' | 'antsRed' | 'shimmer' | 'sparkle';
79
79
  /** Hyperlink info if this run is a link */
80
- hyperlink?: {
81
- href: string;
82
- tooltip?: string;
83
- };
80
+ hyperlink?: HyperlinkInfo;
84
81
  /** Footnote reference ID (if this run contains a footnote reference) */
85
82
  footnoteRefId?: number;
86
83
  /** Endnote reference ID (if this run contains an endnote reference) */
@@ -104,6 +101,13 @@ type RunFormatting = {
104
101
  type HyperlinkInfo = {
105
102
  href: string;
106
103
  tooltip?: string;
104
+ /**
105
+ * Skip the painter's "Word default" blue + underline fallback when the run
106
+ * has no resolved color/underline. Set by the layout-bridge for hyperlinks
107
+ * inside TOC paragraphs, where Word renders entries in the TOCx paragraph
108
+ * color rather than the Hyperlink character style's color.
109
+ */
110
+ noDefaultStyle?: boolean;
107
111
  };
108
112
  /**
109
113
  * A text run within a paragraph.
@@ -77,10 +77,7 @@ type RunFormatting = {
77
77
  */
78
78
  textEffect?: 'blinkBackground' | 'lights' | 'antsBlack' | 'antsRed' | 'shimmer' | 'sparkle';
79
79
  /** Hyperlink info if this run is a link */
80
- hyperlink?: {
81
- href: string;
82
- tooltip?: string;
83
- };
80
+ hyperlink?: HyperlinkInfo;
84
81
  /** Footnote reference ID (if this run contains a footnote reference) */
85
82
  footnoteRefId?: number;
86
83
  /** Endnote reference ID (if this run contains an endnote reference) */
@@ -104,6 +101,13 @@ type RunFormatting = {
104
101
  type HyperlinkInfo = {
105
102
  href: string;
106
103
  tooltip?: string;
104
+ /**
105
+ * Skip the painter's "Word default" blue + underline fallback when the run
106
+ * has no resolved color/underline. Set by the layout-bridge for hyperlinks
107
+ * inside TOC paragraphs, where Word renders entries in the TOCx paragraph
108
+ * color rather than the Hyperlink character style's color.
109
+ */
110
+ noDefaultStyle?: boolean;
107
111
  };
108
112
  /**
109
113
  * A text run within a paragraph.
@@ -1 +1 @@
1
- 'use strict';var chunk4AJYHCPB_js=require('../chunk-4AJYHCPB.js');require('../chunk-N27FJQTG.js'),require('../chunk-44RUAQA2.js'),require('../chunk-DROCYKAR.js'),require('../chunk-DY2MJCSV.js'),require('../chunk-CWAP26GB.js'),require('../chunk-Y7JZPBBW.js'),require('../chunk-D4RPOJC7.js'),require('../chunk-IP2VXNWG.js'),require('../chunk-JFZIXFRC.js'),require('../chunk-MZOVDLYL.js'),require('../chunk-YGHHSCPR.js'),require('../chunk-7VCMJCBY.js'),require('../chunk-SUXJX72X.js'),require('../chunk-DFZTUQ7O.js'),require('../chunk-BHBOAP6Z.js'),require('../chunk-MZ7LW5CH.js'),require('../chunk-N3Y5BUKV.js'),require('../chunk-6LVPRTB6.js'),require('../chunk-NERY274X.js'),require('../chunk-MJ5FQX7Q.js'),require('../chunk-T4CPTPRP.js'),require('../chunk-Q4CKLXWA.js');var chunk4Q2IP5FW_js=require('../chunk-4Q2IP5FW.js'),chunkDC7S76ZX_js=require('../chunk-DC7S76ZX.js');var i={runImage:"layout-run-image",blockImage:"layout-block-image",pageFloatingImage:"layout-page-floating-image",cellFloatingImage:"layout-cell-floating-image",pageContent:"layout-page-content",paragraph:"layout-paragraph"},y=[`.${i.pageFloatingImage}`,`.${i.cellFloatingImage}`,`.${i.blockImage}`,`.${i.runImage}`].join(", ");function P(n){if(!(n instanceof Element))return null;let e=n.closest(y);if(!e)return null;let o=e.dataset.pmStart;if(o===void 0)return null;let t=Number(o);return Number.isNaN(t)?null:{pos:t,imageEl:e}}function v(n){if(!(n instanceof HTMLElement))return null;if(n.tagName==="IMG"&&n.classList.contains(i.runImage))return n;let e=n.closest(y);return e&&e.dataset.pmStart?e:null}function B(n,e=1){if(!n.classList.contains(i.runImage))return;let o=n.closest(`.${i.pageContent}`),t=n.closest(`.${i.paragraph}`);if(!o||!t)return;let a=n.getBoundingClientRect(),r=o.getBoundingClientRect(),l=t.getBoundingClientRect(),p=e>0?e:1;return {horizontalEmu:Math.round(chunk4Q2IP5FW_js.f((a.left-r.left)/p)),verticalEmu:Math.round(chunk4Q2IP5FW_js.f((a.top-l.top)/p))}}function C(n,e){return n==="inline"?"inline":n==="behind"?"behind":n==="inFront"?"inFront":n==="square"||n==="tight"||n==="through"?e==="right"?"squareRight":"squareLeft":null}var H=[{choice:"inline",i18nLabelKey:"inLineWithText",i18nDescKey:"inLineWithText",iconHint:"inline"},{choice:"squareLeft",i18nLabelKey:"squareLeft",i18nDescKey:"squareLeft",iconHint:"squareLeft"},{choice:"squareRight",i18nLabelKey:"squareRight",i18nDescKey:"squareRight",iconHint:"squareRight"},{choice:"behind",i18nLabelKey:"behindText",i18nDescKey:"behindText",iconHint:"behind"},{choice:"inFront",i18nLabelKey:"inFrontOfText",i18nDescKey:"inFrontOfText",iconHint:"inFront"}];function R(n,e){return true}function A(n){switch(n){case "inline":return "inline";case "square":case "tight":case "through":return "squareLeft";case "topAndBottom":return "topAndBottom";case "behind":return "behind";case "inFront":return "inFront";case "wrapRight":return "squareLeft";case "wrapLeft":return "squareRight";default:return}}var c=class{constructor(e={}){chunkDC7S76ZX_js.a(this,"container",null);chunkDC7S76ZX_js.a(this,"blockLookup",new Map);chunkDC7S76ZX_js.a(this,"pageStates",[]);chunkDC7S76ZX_js.a(this,"totalPages",0);chunkDC7S76ZX_js.a(this,"options");chunkDC7S76ZX_js.a(this,"doc");chunkDC7S76ZX_js.a(this,"resolvedCommentIds",new Set);this.options=e,this.doc=e.document??document;}setBlockLookup(e){this.blockLookup=e;}mount(e){this.container=e,this.applyContainerStyles();}unmount(){this.container&&(this.container.innerHTML=""),this.container=null,this.pageStates=[];}applyContainerStyles(){if(!this.container)return;let e=this.options.pageGap??24;this.container.style.display="flex",this.container.style.flexDirection="column",this.container.style.alignItems="center",this.container.style.gap=`${e}px`,this.container.style.padding=`${e}px`,this.container.style.backgroundColor=this.options.containerBackground??"var(--doc-bg, #f8f9fa)",this.container.style.minHeight="100%";}paint(e){if(!this.container)throw new Error("LayoutPainter: not mounted");let{pages:o}=e;this.totalPages=o.length,this.container.innerHTML="",this.pageStates=[];for(let t=0;t<o.length;t++){let a=o[t],r={pageNumber:a.number,totalPages:this.totalPages,section:"body",resolvedCommentIds:this.resolvedCommentIds},l=this.renderPageWithLookup(a,r);this.container.appendChild(l),this.pageStates.push({element:l,pageNumber:a.number,fragmentCount:a.fragments.length});}}renderPageWithLookup(e,o){let t=this.doc.createElement("div");t.className="layout-page",t.dataset.pageNumber=String(e.number),t.style.position="relative",t.style.width=`${e.size.w}px`,t.style.height=`${e.size.h}px`,t.style.backgroundColor=this.options.pageBackground??"#ffffff",t.style.overflow="hidden",this.options.showShadow&&(t.style.boxShadow="0 2px 8px rgba(0, 0, 0, 0.15)");let a=this.doc.createElement("div");a.className="layout-page-content",a.style.position="absolute",a.style.top=`${e.margins.top}px`,a.style.left=`${e.margins.left}px`,a.style.right=`${e.margins.right}px`,a.style.bottom=`${e.margins.bottom}px`,a.style.overflow="visible";for(let r of e.fragments){let l=this.renderFragmentWithLookup(r,o);this.applyFragmentPosition(l,r),a.appendChild(l);}return t.appendChild(a),t}renderFragmentWithLookup(e,o){let t=this.blockLookup.get(String(e.blockId));if(e.kind==="paragraph"&&t){let a=t.block,r=t.measure;return chunk4AJYHCPB_js.v(e,a,r,o,{document:this.doc})}if(e.kind==="table"&&t){let a=t.block,r=t.measure;return chunk4AJYHCPB_js.y(e,a,r,o,{document:this.doc})}if(e.kind==="image"&&t){let a=t.block,r=t.measure;return chunk4AJYHCPB_js.s(e,a,r,o,{document:this.doc})}if(e.kind==="textBox"&&t){let a=t.block,r=t.measure;return chunk4AJYHCPB_js.A(e,a,r,o,{document:this.doc})}return chunk4AJYHCPB_js.m(e,o,{document:this.doc})}applyFragmentPosition(e,o){e.style.position="absolute",e.style.left=`${o.x}px`,e.style.top=`${o.y}px`,e.style.width=`${o.width}px`,"height"in o&&(e.style.height=`${o.height}px`);}getPageCount(){return this.totalPages}getPageElement(e){return this.pageStates[e]?.element??null}scrollToPage(e){let o=this.pageStates.find(t=>t.pageNumber===e);o?.element&&o.element.scrollIntoView({behavior:"smooth",block:"start"});}};function W(n){return new c(n)}Object.defineProperty(exports,"FRAGMENT_CLASS_NAMES",{enumerable:true,get:function(){return chunk4AJYHCPB_js.l}});Object.defineProperty(exports,"IMAGE_CLASS_NAMES",{enumerable:true,get:function(){return chunk4AJYHCPB_js.r}});Object.defineProperty(exports,"TABLE_CLASS_NAMES",{enumerable:true,get:function(){return chunk4AJYHCPB_js.x}});Object.defineProperty(exports,"TEXTBOX_CLASS_NAMES",{enumerable:true,get:function(){return chunk4AJYHCPB_js.z}});Object.defineProperty(exports,"isFloatingImageRun",{enumerable:true,get:function(){return chunk4AJYHCPB_js.p}});Object.defineProperty(exports,"isTextWrappingFloatingImageRun",{enumerable:true,get:function(){return chunk4AJYHCPB_js.q}});Object.defineProperty(exports,"renderFragment",{enumerable:true,get:function(){return chunk4AJYHCPB_js.m}});Object.defineProperty(exports,"renderImageFragment",{enumerable:true,get:function(){return chunk4AJYHCPB_js.s}});Object.defineProperty(exports,"renderLine",{enumerable:true,get:function(){return chunk4AJYHCPB_js.u}});Object.defineProperty(exports,"renderPage",{enumerable:true,get:function(){return chunk4AJYHCPB_js.F}});Object.defineProperty(exports,"renderPages",{enumerable:true,get:function(){return chunk4AJYHCPB_js.C}});Object.defineProperty(exports,"renderParagraphFragment",{enumerable:true,get:function(){return chunk4AJYHCPB_js.v}});Object.defineProperty(exports,"renderTableFragment",{enumerable:true,get:function(){return chunk4AJYHCPB_js.y}});Object.defineProperty(exports,"renderTextBoxFragment",{enumerable:true,get:function(){return chunk4AJYHCPB_js.A}});Object.defineProperty(exports,"sliceRunsForLine",{enumerable:true,get:function(){return chunk4AJYHCPB_js.t}});exports.IMAGE_LAYOUT_OPTIONS=H;exports.LAYOUT_IMAGE_CLASSES=i;exports.LayoutPainter=c;exports.captureInlinePositionEmu=B;exports.createPainter=W;exports.deriveLayoutChoice=C;exports.findImageElement=v;exports.hitTestImage=P;exports.isImageLayoutOptionEnabled=R;exports.toolbarValueToLayoutTarget=A;
1
+ 'use strict';var chunkPK4PDRTA_js=require('../chunk-PK4PDRTA.js');require('../chunk-BD4CYYFB.js'),require('../chunk-44RUAQA2.js'),require('../chunk-DROCYKAR.js'),require('../chunk-TZJUO3NW.js'),require('../chunk-DV6IEOP5.js'),require('../chunk-HVZMO3BU.js'),require('../chunk-D4RPOJC7.js'),require('../chunk-IP2VXNWG.js'),require('../chunk-JFZIXFRC.js'),require('../chunk-MZOVDLYL.js'),require('../chunk-YGHHSCPR.js'),require('../chunk-7VCMJCBY.js'),require('../chunk-SUXJX72X.js'),require('../chunk-DFZTUQ7O.js'),require('../chunk-BHBOAP6Z.js'),require('../chunk-MZ7LW5CH.js'),require('../chunk-N3Y5BUKV.js'),require('../chunk-6LVPRTB6.js'),require('../chunk-NERY274X.js'),require('../chunk-MJ5FQX7Q.js'),require('../chunk-T4CPTPRP.js'),require('../chunk-Q4CKLXWA.js');var chunk4Q2IP5FW_js=require('../chunk-4Q2IP5FW.js'),chunkDC7S76ZX_js=require('../chunk-DC7S76ZX.js');var i={runImage:"layout-run-image",blockImage:"layout-block-image",pageFloatingImage:"layout-page-floating-image",cellFloatingImage:"layout-cell-floating-image",pageContent:"layout-page-content",paragraph:"layout-paragraph"},y=[`.${i.pageFloatingImage}`,`.${i.cellFloatingImage}`,`.${i.blockImage}`,`.${i.runImage}`].join(", ");function P(n){if(!(n instanceof Element))return null;let e=n.closest(y);if(!e)return null;let o=e.dataset.pmStart;if(o===void 0)return null;let t=Number(o);return Number.isNaN(t)?null:{pos:t,imageEl:e}}function v(n){if(!(n instanceof HTMLElement))return null;if(n.tagName==="IMG"&&n.classList.contains(i.runImage))return n;let e=n.closest(y);return e&&e.dataset.pmStart?e:null}function B(n,e=1){if(!n.classList.contains(i.runImage))return;let o=n.closest(`.${i.pageContent}`),t=n.closest(`.${i.paragraph}`);if(!o||!t)return;let a=n.getBoundingClientRect(),r=o.getBoundingClientRect(),l=t.getBoundingClientRect(),p=e>0?e:1;return {horizontalEmu:Math.round(chunk4Q2IP5FW_js.f((a.left-r.left)/p)),verticalEmu:Math.round(chunk4Q2IP5FW_js.f((a.top-l.top)/p))}}function C(n,e){return n==="inline"?"inline":n==="behind"?"behind":n==="inFront"?"inFront":n==="square"||n==="tight"||n==="through"?e==="right"?"squareRight":"squareLeft":null}var H=[{choice:"inline",i18nLabelKey:"inLineWithText",i18nDescKey:"inLineWithText",iconHint:"inline"},{choice:"squareLeft",i18nLabelKey:"squareLeft",i18nDescKey:"squareLeft",iconHint:"squareLeft"},{choice:"squareRight",i18nLabelKey:"squareRight",i18nDescKey:"squareRight",iconHint:"squareRight"},{choice:"behind",i18nLabelKey:"behindText",i18nDescKey:"behindText",iconHint:"behind"},{choice:"inFront",i18nLabelKey:"inFrontOfText",i18nDescKey:"inFrontOfText",iconHint:"inFront"}];function R(n,e){return true}function A(n){switch(n){case "inline":return "inline";case "square":case "tight":case "through":return "squareLeft";case "topAndBottom":return "topAndBottom";case "behind":return "behind";case "inFront":return "inFront";case "wrapRight":return "squareLeft";case "wrapLeft":return "squareRight";default:return}}var c=class{constructor(e={}){chunkDC7S76ZX_js.a(this,"container",null);chunkDC7S76ZX_js.a(this,"blockLookup",new Map);chunkDC7S76ZX_js.a(this,"pageStates",[]);chunkDC7S76ZX_js.a(this,"totalPages",0);chunkDC7S76ZX_js.a(this,"options");chunkDC7S76ZX_js.a(this,"doc");chunkDC7S76ZX_js.a(this,"resolvedCommentIds",new Set);this.options=e,this.doc=e.document??document;}setBlockLookup(e){this.blockLookup=e;}mount(e){this.container=e,this.applyContainerStyles();}unmount(){this.container&&(this.container.innerHTML=""),this.container=null,this.pageStates=[];}applyContainerStyles(){if(!this.container)return;let e=this.options.pageGap??24;this.container.style.display="flex",this.container.style.flexDirection="column",this.container.style.alignItems="center",this.container.style.gap=`${e}px`,this.container.style.padding=`${e}px`,this.container.style.backgroundColor=this.options.containerBackground??"var(--doc-bg, #f8f9fa)",this.container.style.minHeight="100%";}paint(e){if(!this.container)throw new Error("LayoutPainter: not mounted");let{pages:o}=e;this.totalPages=o.length,this.container.innerHTML="",this.pageStates=[];for(let t=0;t<o.length;t++){let a=o[t],r={pageNumber:a.number,totalPages:this.totalPages,section:"body",resolvedCommentIds:this.resolvedCommentIds},l=this.renderPageWithLookup(a,r);this.container.appendChild(l),this.pageStates.push({element:l,pageNumber:a.number,fragmentCount:a.fragments.length});}}renderPageWithLookup(e,o){let t=this.doc.createElement("div");t.className="layout-page",t.dataset.pageNumber=String(e.number),t.style.position="relative",t.style.width=`${e.size.w}px`,t.style.height=`${e.size.h}px`,t.style.backgroundColor=this.options.pageBackground??"#ffffff",t.style.overflow="hidden",this.options.showShadow&&(t.style.boxShadow="0 2px 8px rgba(0, 0, 0, 0.15)");let a=this.doc.createElement("div");a.className="layout-page-content",a.style.position="absolute",a.style.top=`${e.margins.top}px`,a.style.left=`${e.margins.left}px`,a.style.right=`${e.margins.right}px`,a.style.bottom=`${e.margins.bottom}px`,a.style.overflow="visible";for(let r of e.fragments){let l=this.renderFragmentWithLookup(r,o);this.applyFragmentPosition(l,r),a.appendChild(l);}return t.appendChild(a),t}renderFragmentWithLookup(e,o){let t=this.blockLookup.get(String(e.blockId));if(e.kind==="paragraph"&&t){let a=t.block,r=t.measure;return chunkPK4PDRTA_js.v(e,a,r,o,{document:this.doc})}if(e.kind==="table"&&t){let a=t.block,r=t.measure;return chunkPK4PDRTA_js.y(e,a,r,o,{document:this.doc})}if(e.kind==="image"&&t){let a=t.block,r=t.measure;return chunkPK4PDRTA_js.s(e,a,r,o,{document:this.doc})}if(e.kind==="textBox"&&t){let a=t.block,r=t.measure;return chunkPK4PDRTA_js.A(e,a,r,o,{document:this.doc})}return chunkPK4PDRTA_js.m(e,o,{document:this.doc})}applyFragmentPosition(e,o){e.style.position="absolute",e.style.left=`${o.x}px`,e.style.top=`${o.y}px`,e.style.width=`${o.width}px`,"height"in o&&(e.style.height=`${o.height}px`);}getPageCount(){return this.totalPages}getPageElement(e){return this.pageStates[e]?.element??null}scrollToPage(e){let o=this.pageStates.find(t=>t.pageNumber===e);o?.element&&o.element.scrollIntoView({behavior:"smooth",block:"start"});}};function W(n){return new c(n)}Object.defineProperty(exports,"FRAGMENT_CLASS_NAMES",{enumerable:true,get:function(){return chunkPK4PDRTA_js.l}});Object.defineProperty(exports,"IMAGE_CLASS_NAMES",{enumerable:true,get:function(){return chunkPK4PDRTA_js.r}});Object.defineProperty(exports,"TABLE_CLASS_NAMES",{enumerable:true,get:function(){return chunkPK4PDRTA_js.x}});Object.defineProperty(exports,"TEXTBOX_CLASS_NAMES",{enumerable:true,get:function(){return chunkPK4PDRTA_js.z}});Object.defineProperty(exports,"isFloatingImageRun",{enumerable:true,get:function(){return chunkPK4PDRTA_js.p}});Object.defineProperty(exports,"isTextWrappingFloatingImageRun",{enumerable:true,get:function(){return chunkPK4PDRTA_js.q}});Object.defineProperty(exports,"renderFragment",{enumerable:true,get:function(){return chunkPK4PDRTA_js.m}});Object.defineProperty(exports,"renderImageFragment",{enumerable:true,get:function(){return chunkPK4PDRTA_js.s}});Object.defineProperty(exports,"renderLine",{enumerable:true,get:function(){return chunkPK4PDRTA_js.u}});Object.defineProperty(exports,"renderPage",{enumerable:true,get:function(){return chunkPK4PDRTA_js.F}});Object.defineProperty(exports,"renderPages",{enumerable:true,get:function(){return chunkPK4PDRTA_js.C}});Object.defineProperty(exports,"renderParagraphFragment",{enumerable:true,get:function(){return chunkPK4PDRTA_js.v}});Object.defineProperty(exports,"renderTableFragment",{enumerable:true,get:function(){return chunkPK4PDRTA_js.y}});Object.defineProperty(exports,"renderTextBoxFragment",{enumerable:true,get:function(){return chunkPK4PDRTA_js.A}});Object.defineProperty(exports,"sliceRunsForLine",{enumerable:true,get:function(){return chunkPK4PDRTA_js.t}});exports.IMAGE_LAYOUT_OPTIONS=H;exports.LAYOUT_IMAGE_CLASSES=i;exports.LayoutPainter=c;exports.captureInlinePositionEmu=B;exports.createPainter=W;exports.deriveLayoutChoice=C;exports.findImageElement=v;exports.hitTestImage=P;exports.isImageLayoutOptionEnabled=R;exports.toolbarValueToLayoutTarget=A;
@@ -1 +1 @@
1
- import {v as v$1,y as y$1,s,A as A$1,m}from'../chunk-V7BKPX67.mjs';export{l as FRAGMENT_CLASS_NAMES,r as IMAGE_CLASS_NAMES,x as TABLE_CLASS_NAMES,z as TEXTBOX_CLASS_NAMES,p as isFloatingImageRun,q as isTextWrappingFloatingImageRun,m as renderFragment,s as renderImageFragment,u as renderLine,F as renderPage,C as renderPages,v as renderParagraphFragment,y as renderTableFragment,A as renderTextBoxFragment,t as sliceRunsForLine}from'../chunk-V7BKPX67.mjs';import'../chunk-7GHQ4YCJ.mjs';import'../chunk-5N5DBQJV.mjs';import'../chunk-7E5VBRDL.mjs';import'../chunk-G6Y4UZMJ.mjs';import'../chunk-BWHUD2XC.mjs';import'../chunk-UIROUI5I.mjs';import'../chunk-LBKMYD3M.mjs';import'../chunk-NBLJPT54.mjs';import'../chunk-QPFJJPIC.mjs';import'../chunk-ILJUDEZ5.mjs';import'../chunk-IBNUQL57.mjs';import'../chunk-6LOYA7G5.mjs';import'../chunk-JKVXID22.mjs';import'../chunk-LVD6HXRF.mjs';import'../chunk-MOKKS75W.mjs';import'../chunk-OZMNIX6U.mjs';import'../chunk-AMENZY5F.mjs';import'../chunk-BGY3CB37.mjs';import'../chunk-CP5OSG5Z.mjs';import'../chunk-67LVRQIR.mjs';import'../chunk-6VUYFDHY.mjs';import'../chunk-VQWZHPWI.mjs';import {f}from'../chunk-VW22RZ6C.mjs';import {a}from'../chunk-QYUPLKLP.mjs';var i={runImage:"layout-run-image",blockImage:"layout-block-image",pageFloatingImage:"layout-page-floating-image",cellFloatingImage:"layout-cell-floating-image",pageContent:"layout-page-content",paragraph:"layout-paragraph"},y=[`.${i.pageFloatingImage}`,`.${i.cellFloatingImage}`,`.${i.blockImage}`,`.${i.runImage}`].join(", ");function P(n){if(!(n instanceof Element))return null;let e=n.closest(y);if(!e)return null;let o=e.dataset.pmStart;if(o===void 0)return null;let t=Number(o);return Number.isNaN(t)?null:{pos:t,imageEl:e}}function v(n){if(!(n instanceof HTMLElement))return null;if(n.tagName==="IMG"&&n.classList.contains(i.runImage))return n;let e=n.closest(y);return e&&e.dataset.pmStart?e:null}function B(n,e=1){if(!n.classList.contains(i.runImage))return;let o=n.closest(`.${i.pageContent}`),t=n.closest(`.${i.paragraph}`);if(!o||!t)return;let a=n.getBoundingClientRect(),r=o.getBoundingClientRect(),l=t.getBoundingClientRect(),p=e>0?e:1;return {horizontalEmu:Math.round(f((a.left-r.left)/p)),verticalEmu:Math.round(f((a.top-l.top)/p))}}function C(n,e){return n==="inline"?"inline":n==="behind"?"behind":n==="inFront"?"inFront":n==="square"||n==="tight"||n==="through"?e==="right"?"squareRight":"squareLeft":null}var H=[{choice:"inline",i18nLabelKey:"inLineWithText",i18nDescKey:"inLineWithText",iconHint:"inline"},{choice:"squareLeft",i18nLabelKey:"squareLeft",i18nDescKey:"squareLeft",iconHint:"squareLeft"},{choice:"squareRight",i18nLabelKey:"squareRight",i18nDescKey:"squareRight",iconHint:"squareRight"},{choice:"behind",i18nLabelKey:"behindText",i18nDescKey:"behindText",iconHint:"behind"},{choice:"inFront",i18nLabelKey:"inFrontOfText",i18nDescKey:"inFrontOfText",iconHint:"inFront"}];function R(n,e){return true}function A(n){switch(n){case "inline":return "inline";case "square":case "tight":case "through":return "squareLeft";case "topAndBottom":return "topAndBottom";case "behind":return "behind";case "inFront":return "inFront";case "wrapRight":return "squareLeft";case "wrapLeft":return "squareRight";default:return}}var c=class{constructor(e={}){a(this,"container",null);a(this,"blockLookup",new Map);a(this,"pageStates",[]);a(this,"totalPages",0);a(this,"options");a(this,"doc");a(this,"resolvedCommentIds",new Set);this.options=e,this.doc=e.document??document;}setBlockLookup(e){this.blockLookup=e;}mount(e){this.container=e,this.applyContainerStyles();}unmount(){this.container&&(this.container.innerHTML=""),this.container=null,this.pageStates=[];}applyContainerStyles(){if(!this.container)return;let e=this.options.pageGap??24;this.container.style.display="flex",this.container.style.flexDirection="column",this.container.style.alignItems="center",this.container.style.gap=`${e}px`,this.container.style.padding=`${e}px`,this.container.style.backgroundColor=this.options.containerBackground??"var(--doc-bg, #f8f9fa)",this.container.style.minHeight="100%";}paint(e){if(!this.container)throw new Error("LayoutPainter: not mounted");let{pages:o}=e;this.totalPages=o.length,this.container.innerHTML="",this.pageStates=[];for(let t=0;t<o.length;t++){let a=o[t],r={pageNumber:a.number,totalPages:this.totalPages,section:"body",resolvedCommentIds:this.resolvedCommentIds},l=this.renderPageWithLookup(a,r);this.container.appendChild(l),this.pageStates.push({element:l,pageNumber:a.number,fragmentCount:a.fragments.length});}}renderPageWithLookup(e,o){let t=this.doc.createElement("div");t.className="layout-page",t.dataset.pageNumber=String(e.number),t.style.position="relative",t.style.width=`${e.size.w}px`,t.style.height=`${e.size.h}px`,t.style.backgroundColor=this.options.pageBackground??"#ffffff",t.style.overflow="hidden",this.options.showShadow&&(t.style.boxShadow="0 2px 8px rgba(0, 0, 0, 0.15)");let a=this.doc.createElement("div");a.className="layout-page-content",a.style.position="absolute",a.style.top=`${e.margins.top}px`,a.style.left=`${e.margins.left}px`,a.style.right=`${e.margins.right}px`,a.style.bottom=`${e.margins.bottom}px`,a.style.overflow="visible";for(let r of e.fragments){let l=this.renderFragmentWithLookup(r,o);this.applyFragmentPosition(l,r),a.appendChild(l);}return t.appendChild(a),t}renderFragmentWithLookup(e,o){let t=this.blockLookup.get(String(e.blockId));if(e.kind==="paragraph"&&t){let a=t.block,r=t.measure;return v$1(e,a,r,o,{document:this.doc})}if(e.kind==="table"&&t){let a=t.block,r=t.measure;return y$1(e,a,r,o,{document:this.doc})}if(e.kind==="image"&&t){let a=t.block,r=t.measure;return s(e,a,r,o,{document:this.doc})}if(e.kind==="textBox"&&t){let a=t.block,r=t.measure;return A$1(e,a,r,o,{document:this.doc})}return m(e,o,{document:this.doc})}applyFragmentPosition(e,o){e.style.position="absolute",e.style.left=`${o.x}px`,e.style.top=`${o.y}px`,e.style.width=`${o.width}px`,"height"in o&&(e.style.height=`${o.height}px`);}getPageCount(){return this.totalPages}getPageElement(e){return this.pageStates[e]?.element??null}scrollToPage(e){let o=this.pageStates.find(t=>t.pageNumber===e);o?.element&&o.element.scrollIntoView({behavior:"smooth",block:"start"});}};function W(n){return new c(n)}export{H as IMAGE_LAYOUT_OPTIONS,i as LAYOUT_IMAGE_CLASSES,c as LayoutPainter,B as captureInlinePositionEmu,W as createPainter,C as deriveLayoutChoice,v as findImageElement,P as hitTestImage,R as isImageLayoutOptionEnabled,A as toolbarValueToLayoutTarget};
1
+ import {v as v$1,y as y$1,s,A as A$1,m}from'../chunk-ITVXBQGR.mjs';export{l as FRAGMENT_CLASS_NAMES,r as IMAGE_CLASS_NAMES,x as TABLE_CLASS_NAMES,z as TEXTBOX_CLASS_NAMES,p as isFloatingImageRun,q as isTextWrappingFloatingImageRun,m as renderFragment,s as renderImageFragment,u as renderLine,F as renderPage,C as renderPages,v as renderParagraphFragment,y as renderTableFragment,A as renderTextBoxFragment,t as sliceRunsForLine}from'../chunk-ITVXBQGR.mjs';import'../chunk-DN36K5JU.mjs';import'../chunk-5N5DBQJV.mjs';import'../chunk-7E5VBRDL.mjs';import'../chunk-7UTXBQKF.mjs';import'../chunk-3GNIP6IX.mjs';import'../chunk-GNPLUGUG.mjs';import'../chunk-LBKMYD3M.mjs';import'../chunk-NBLJPT54.mjs';import'../chunk-QPFJJPIC.mjs';import'../chunk-ILJUDEZ5.mjs';import'../chunk-IBNUQL57.mjs';import'../chunk-6LOYA7G5.mjs';import'../chunk-JKVXID22.mjs';import'../chunk-LVD6HXRF.mjs';import'../chunk-MOKKS75W.mjs';import'../chunk-OZMNIX6U.mjs';import'../chunk-AMENZY5F.mjs';import'../chunk-BGY3CB37.mjs';import'../chunk-CP5OSG5Z.mjs';import'../chunk-67LVRQIR.mjs';import'../chunk-6VUYFDHY.mjs';import'../chunk-VQWZHPWI.mjs';import {f}from'../chunk-VW22RZ6C.mjs';import {a}from'../chunk-QYUPLKLP.mjs';var i={runImage:"layout-run-image",blockImage:"layout-block-image",pageFloatingImage:"layout-page-floating-image",cellFloatingImage:"layout-cell-floating-image",pageContent:"layout-page-content",paragraph:"layout-paragraph"},y=[`.${i.pageFloatingImage}`,`.${i.cellFloatingImage}`,`.${i.blockImage}`,`.${i.runImage}`].join(", ");function P(n){if(!(n instanceof Element))return null;let e=n.closest(y);if(!e)return null;let o=e.dataset.pmStart;if(o===void 0)return null;let t=Number(o);return Number.isNaN(t)?null:{pos:t,imageEl:e}}function v(n){if(!(n instanceof HTMLElement))return null;if(n.tagName==="IMG"&&n.classList.contains(i.runImage))return n;let e=n.closest(y);return e&&e.dataset.pmStart?e:null}function B(n,e=1){if(!n.classList.contains(i.runImage))return;let o=n.closest(`.${i.pageContent}`),t=n.closest(`.${i.paragraph}`);if(!o||!t)return;let a=n.getBoundingClientRect(),r=o.getBoundingClientRect(),l=t.getBoundingClientRect(),p=e>0?e:1;return {horizontalEmu:Math.round(f((a.left-r.left)/p)),verticalEmu:Math.round(f((a.top-l.top)/p))}}function C(n,e){return n==="inline"?"inline":n==="behind"?"behind":n==="inFront"?"inFront":n==="square"||n==="tight"||n==="through"?e==="right"?"squareRight":"squareLeft":null}var H=[{choice:"inline",i18nLabelKey:"inLineWithText",i18nDescKey:"inLineWithText",iconHint:"inline"},{choice:"squareLeft",i18nLabelKey:"squareLeft",i18nDescKey:"squareLeft",iconHint:"squareLeft"},{choice:"squareRight",i18nLabelKey:"squareRight",i18nDescKey:"squareRight",iconHint:"squareRight"},{choice:"behind",i18nLabelKey:"behindText",i18nDescKey:"behindText",iconHint:"behind"},{choice:"inFront",i18nLabelKey:"inFrontOfText",i18nDescKey:"inFrontOfText",iconHint:"inFront"}];function R(n,e){return true}function A(n){switch(n){case "inline":return "inline";case "square":case "tight":case "through":return "squareLeft";case "topAndBottom":return "topAndBottom";case "behind":return "behind";case "inFront":return "inFront";case "wrapRight":return "squareLeft";case "wrapLeft":return "squareRight";default:return}}var c=class{constructor(e={}){a(this,"container",null);a(this,"blockLookup",new Map);a(this,"pageStates",[]);a(this,"totalPages",0);a(this,"options");a(this,"doc");a(this,"resolvedCommentIds",new Set);this.options=e,this.doc=e.document??document;}setBlockLookup(e){this.blockLookup=e;}mount(e){this.container=e,this.applyContainerStyles();}unmount(){this.container&&(this.container.innerHTML=""),this.container=null,this.pageStates=[];}applyContainerStyles(){if(!this.container)return;let e=this.options.pageGap??24;this.container.style.display="flex",this.container.style.flexDirection="column",this.container.style.alignItems="center",this.container.style.gap=`${e}px`,this.container.style.padding=`${e}px`,this.container.style.backgroundColor=this.options.containerBackground??"var(--doc-bg, #f8f9fa)",this.container.style.minHeight="100%";}paint(e){if(!this.container)throw new Error("LayoutPainter: not mounted");let{pages:o}=e;this.totalPages=o.length,this.container.innerHTML="",this.pageStates=[];for(let t=0;t<o.length;t++){let a=o[t],r={pageNumber:a.number,totalPages:this.totalPages,section:"body",resolvedCommentIds:this.resolvedCommentIds},l=this.renderPageWithLookup(a,r);this.container.appendChild(l),this.pageStates.push({element:l,pageNumber:a.number,fragmentCount:a.fragments.length});}}renderPageWithLookup(e,o){let t=this.doc.createElement("div");t.className="layout-page",t.dataset.pageNumber=String(e.number),t.style.position="relative",t.style.width=`${e.size.w}px`,t.style.height=`${e.size.h}px`,t.style.backgroundColor=this.options.pageBackground??"#ffffff",t.style.overflow="hidden",this.options.showShadow&&(t.style.boxShadow="0 2px 8px rgba(0, 0, 0, 0.15)");let a=this.doc.createElement("div");a.className="layout-page-content",a.style.position="absolute",a.style.top=`${e.margins.top}px`,a.style.left=`${e.margins.left}px`,a.style.right=`${e.margins.right}px`,a.style.bottom=`${e.margins.bottom}px`,a.style.overflow="visible";for(let r of e.fragments){let l=this.renderFragmentWithLookup(r,o);this.applyFragmentPosition(l,r),a.appendChild(l);}return t.appendChild(a),t}renderFragmentWithLookup(e,o){let t=this.blockLookup.get(String(e.blockId));if(e.kind==="paragraph"&&t){let a=t.block,r=t.measure;return v$1(e,a,r,o,{document:this.doc})}if(e.kind==="table"&&t){let a=t.block,r=t.measure;return y$1(e,a,r,o,{document:this.doc})}if(e.kind==="image"&&t){let a=t.block,r=t.measure;return s(e,a,r,o,{document:this.doc})}if(e.kind==="textBox"&&t){let a=t.block,r=t.measure;return A$1(e,a,r,o,{document:this.doc})}return m(e,o,{document:this.doc})}applyFragmentPosition(e,o){e.style.position="absolute",e.style.left=`${o.x}px`,e.style.top=`${o.y}px`,e.style.width=`${o.width}px`,"height"in o&&(e.style.height=`${o.height}px`);}getPageCount(){return this.totalPages}getPageElement(e){return this.pageStates[e]?.element??null}scrollToPage(e){let o=this.pageStates.find(t=>t.pageNumber===e);o?.element&&o.element.scrollIntoView({behavior:"smooth",block:"start"});}};function W(n){return new c(n)}export{H as IMAGE_LAYOUT_OPTIONS,i as LAYOUT_IMAGE_CLASSES,c as LayoutPainter,B as captureInlinePositionEmu,W as createPainter,C as deriveLayoutChoice,v as findImageElement,P as hitTestImage,R as isImageLayoutOptionEnabled,A as toolbarValueToLayoutTarget};
@@ -269,6 +269,13 @@ interface RenderLineOptions {
269
269
  };
270
270
  /** Track inline image runs already rendered in this paragraph fragment to prevent duplicates */
271
271
  renderedInlineImageKeys?: Set<string>;
272
+ /**
273
+ * Rightmost x where inline content may render, in content-area coords. Used
274
+ * by the right-tab anchor; passed in directly (rather than recomposed from
275
+ * `leftIndentPx + availableWidth`) because `availableWidth` excludes the
276
+ * hung-out region for some inputs and would drift.
277
+ */
278
+ lineRightEdgePx?: number;
272
279
  }
273
280
  /**
274
281
  * Render a single line
@@ -269,6 +269,13 @@ interface RenderLineOptions {
269
269
  };
270
270
  /** Track inline image runs already rendered in this paragraph fragment to prevent duplicates */
271
271
  renderedInlineImageKeys?: Set<string>;
272
+ /**
273
+ * Rightmost x where inline content may render, in content-area coords. Used
274
+ * by the right-tab anchor; passed in directly (rather than recomposed from
275
+ * `leftIndentPx + availableWidth`) because `availableWidth` excludes the
276
+ * hung-out region for some inputs and would drift.
277
+ */
278
+ lineRightEdgePx?: number;
272
279
  }
273
280
  /**
274
281
  * Render a single line
@@ -1 +1 @@
1
- 'use strict';var chunk4AJYHCPB_js=require('../chunk-4AJYHCPB.js');require('../chunk-N27FJQTG.js'),require('../chunk-44RUAQA2.js'),require('../chunk-DROCYKAR.js'),require('../chunk-DY2MJCSV.js'),require('../chunk-CWAP26GB.js'),require('../chunk-Y7JZPBBW.js'),require('../chunk-D4RPOJC7.js'),require('../chunk-IP2VXNWG.js'),require('../chunk-JFZIXFRC.js'),require('../chunk-MZOVDLYL.js'),require('../chunk-YGHHSCPR.js'),require('../chunk-7VCMJCBY.js'),require('../chunk-SUXJX72X.js'),require('../chunk-DFZTUQ7O.js'),require('../chunk-BHBOAP6Z.js'),require('../chunk-MZ7LW5CH.js'),require('../chunk-N3Y5BUKV.js'),require('../chunk-6LVPRTB6.js'),require('../chunk-NERY274X.js'),require('../chunk-MJ5FQX7Q.js'),require('../chunk-T4CPTPRP.js'),require('../chunk-Q4CKLXWA.js'),require('../chunk-4Q2IP5FW.js'),require('../chunk-DC7S76ZX.js');Object.defineProperty(exports,"PAGE_CLASS_NAMES",{enumerable:true,get:function(){return chunk4AJYHCPB_js.D}});Object.defineProperty(exports,"applyPageStyles",{enumerable:true,get:function(){return chunk4AJYHCPB_js.E}});Object.defineProperty(exports,"floatingImageIsBehindDoc",{enumerable:true,get:function(){return chunk4AJYHCPB_js.o}});Object.defineProperty(exports,"floatingImageWrapsText",{enumerable:true,get:function(){return chunk4AJYHCPB_js.n}});Object.defineProperty(exports,"isFloatingImageRun",{enumerable:true,get:function(){return chunk4AJYHCPB_js.p}});Object.defineProperty(exports,"isTextWrappingFloatingImageRun",{enumerable:true,get:function(){return chunk4AJYHCPB_js.q}});Object.defineProperty(exports,"renderFloatingImagesLayer",{enumerable:true,get:function(){return chunk4AJYHCPB_js.w}});Object.defineProperty(exports,"renderPage",{enumerable:true,get:function(){return chunk4AJYHCPB_js.F}});Object.defineProperty(exports,"renderPages",{enumerable:true,get:function(){return chunk4AJYHCPB_js.C}});Object.defineProperty(exports,"resolveHeaderFooterFloatingTablePosition",{enumerable:true,get:function(){return chunk4AJYHCPB_js.B}});
1
+ 'use strict';var chunkPK4PDRTA_js=require('../chunk-PK4PDRTA.js');require('../chunk-BD4CYYFB.js'),require('../chunk-44RUAQA2.js'),require('../chunk-DROCYKAR.js'),require('../chunk-TZJUO3NW.js'),require('../chunk-DV6IEOP5.js'),require('../chunk-HVZMO3BU.js'),require('../chunk-D4RPOJC7.js'),require('../chunk-IP2VXNWG.js'),require('../chunk-JFZIXFRC.js'),require('../chunk-MZOVDLYL.js'),require('../chunk-YGHHSCPR.js'),require('../chunk-7VCMJCBY.js'),require('../chunk-SUXJX72X.js'),require('../chunk-DFZTUQ7O.js'),require('../chunk-BHBOAP6Z.js'),require('../chunk-MZ7LW5CH.js'),require('../chunk-N3Y5BUKV.js'),require('../chunk-6LVPRTB6.js'),require('../chunk-NERY274X.js'),require('../chunk-MJ5FQX7Q.js'),require('../chunk-T4CPTPRP.js'),require('../chunk-Q4CKLXWA.js'),require('../chunk-4Q2IP5FW.js'),require('../chunk-DC7S76ZX.js');Object.defineProperty(exports,"PAGE_CLASS_NAMES",{enumerable:true,get:function(){return chunkPK4PDRTA_js.D}});Object.defineProperty(exports,"applyPageStyles",{enumerable:true,get:function(){return chunkPK4PDRTA_js.E}});Object.defineProperty(exports,"floatingImageIsBehindDoc",{enumerable:true,get:function(){return chunkPK4PDRTA_js.o}});Object.defineProperty(exports,"floatingImageWrapsText",{enumerable:true,get:function(){return chunkPK4PDRTA_js.n}});Object.defineProperty(exports,"isFloatingImageRun",{enumerable:true,get:function(){return chunkPK4PDRTA_js.p}});Object.defineProperty(exports,"isTextWrappingFloatingImageRun",{enumerable:true,get:function(){return chunkPK4PDRTA_js.q}});Object.defineProperty(exports,"renderFloatingImagesLayer",{enumerable:true,get:function(){return chunkPK4PDRTA_js.w}});Object.defineProperty(exports,"renderPage",{enumerable:true,get:function(){return chunkPK4PDRTA_js.F}});Object.defineProperty(exports,"renderPages",{enumerable:true,get:function(){return chunkPK4PDRTA_js.C}});Object.defineProperty(exports,"resolveHeaderFooterFloatingTablePosition",{enumerable:true,get:function(){return chunkPK4PDRTA_js.B}});
@@ -1 +1 @@
1
- export{D as PAGE_CLASS_NAMES,E as applyPageStyles,o as floatingImageIsBehindDoc,n as floatingImageWrapsText,p as isFloatingImageRun,q as isTextWrappingFloatingImageRun,w as renderFloatingImagesLayer,F as renderPage,C as renderPages,B as resolveHeaderFooterFloatingTablePosition}from'../chunk-V7BKPX67.mjs';import'../chunk-7GHQ4YCJ.mjs';import'../chunk-5N5DBQJV.mjs';import'../chunk-7E5VBRDL.mjs';import'../chunk-G6Y4UZMJ.mjs';import'../chunk-BWHUD2XC.mjs';import'../chunk-UIROUI5I.mjs';import'../chunk-LBKMYD3M.mjs';import'../chunk-NBLJPT54.mjs';import'../chunk-QPFJJPIC.mjs';import'../chunk-ILJUDEZ5.mjs';import'../chunk-IBNUQL57.mjs';import'../chunk-6LOYA7G5.mjs';import'../chunk-JKVXID22.mjs';import'../chunk-LVD6HXRF.mjs';import'../chunk-MOKKS75W.mjs';import'../chunk-OZMNIX6U.mjs';import'../chunk-AMENZY5F.mjs';import'../chunk-BGY3CB37.mjs';import'../chunk-CP5OSG5Z.mjs';import'../chunk-67LVRQIR.mjs';import'../chunk-6VUYFDHY.mjs';import'../chunk-VQWZHPWI.mjs';import'../chunk-VW22RZ6C.mjs';import'../chunk-QYUPLKLP.mjs';
1
+ export{D as PAGE_CLASS_NAMES,E as applyPageStyles,o as floatingImageIsBehindDoc,n as floatingImageWrapsText,p as isFloatingImageRun,q as isTextWrappingFloatingImageRun,w as renderFloatingImagesLayer,F as renderPage,C as renderPages,B as resolveHeaderFooterFloatingTablePosition}from'../chunk-ITVXBQGR.mjs';import'../chunk-DN36K5JU.mjs';import'../chunk-5N5DBQJV.mjs';import'../chunk-7E5VBRDL.mjs';import'../chunk-7UTXBQKF.mjs';import'../chunk-3GNIP6IX.mjs';import'../chunk-GNPLUGUG.mjs';import'../chunk-LBKMYD3M.mjs';import'../chunk-NBLJPT54.mjs';import'../chunk-QPFJJPIC.mjs';import'../chunk-ILJUDEZ5.mjs';import'../chunk-IBNUQL57.mjs';import'../chunk-6LOYA7G5.mjs';import'../chunk-JKVXID22.mjs';import'../chunk-LVD6HXRF.mjs';import'../chunk-MOKKS75W.mjs';import'../chunk-OZMNIX6U.mjs';import'../chunk-AMENZY5F.mjs';import'../chunk-BGY3CB37.mjs';import'../chunk-CP5OSG5Z.mjs';import'../chunk-67LVRQIR.mjs';import'../chunk-6VUYFDHY.mjs';import'../chunk-VQWZHPWI.mjs';import'../chunk-VW22RZ6C.mjs';import'../chunk-QYUPLKLP.mjs';