@docx-editor.dev/core 2.12.0 → 2.13.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.
Files changed (112) hide show
  1. package/README.md +18 -14
  2. package/dist/automation.cjs +1 -1
  3. package/dist/automation.d.cts +5 -5
  4. package/dist/automation.d.ts +5 -5
  5. package/dist/automation.js +1 -1
  6. package/dist/binding.cjs +1 -1
  7. package/dist/binding.d.cts +8 -8
  8. package/dist/binding.d.ts +8 -8
  9. package/dist/binding.js +1 -1
  10. package/dist/chunk-3AT4RUQ3.cjs +19 -0
  11. package/dist/chunk-4NAQLFXA.cjs +2 -0
  12. package/dist/{chunk-XCFM3G5L.cjs → chunk-67S7OHE6.cjs} +1 -1
  13. package/dist/chunk-BHAUFJO6.js +20 -0
  14. package/dist/{chunk-TKEGK4GQ.cjs → chunk-F7U4OLMS.cjs} +2 -2
  15. package/dist/chunk-FNMXRLGW.cjs +5 -0
  16. package/dist/{chunk-W77HJGYX.js → chunk-HWWHGREA.js} +1 -1
  17. package/dist/chunk-I36WS6XX.cjs +20 -0
  18. package/dist/chunk-IOTL2GGW.js +1 -0
  19. package/dist/chunk-OF2QZCTN.js +19 -0
  20. package/dist/chunk-PFSJVAWJ.cjs +1 -0
  21. package/dist/chunk-PRIBU3UH.js +2 -0
  22. package/dist/{chunk-WU7PUTVA.js → chunk-RIYSCEFQ.js} +1 -1
  23. package/dist/chunk-RO3HFCML.js +5 -0
  24. package/dist/chunk-SFOUCTKA.js +2 -0
  25. package/dist/{chunk-MHQNR2OU.js → chunk-VBEKERLJ.js} +2 -2
  26. package/dist/chunk-WANKXD34.cjs +2 -0
  27. package/dist/chunk-XETEMUIP.cjs +11 -0
  28. package/dist/chunk-YMW34EBA.js +11 -0
  29. package/dist/collaboration/replication.cjs +1 -1
  30. package/dist/collaboration/replication.d.cts +3 -3
  31. package/dist/collaboration/replication.d.ts +3 -3
  32. package/dist/collaboration/replication.js +1 -1
  33. package/dist/collaboration.d.cts +3 -3
  34. package/dist/collaboration.d.ts +3 -3
  35. package/dist/contracts/editor.d.cts +7 -7
  36. package/dist/contracts/editor.d.ts +7 -7
  37. package/dist/contracts/interaction.d.cts +7 -7
  38. package/dist/contracts/interaction.d.ts +7 -7
  39. package/dist/contracts/modules.d.cts +7 -7
  40. package/dist/contracts/modules.d.ts +7 -7
  41. package/dist/{custom-node-writes-D4rMJIES.d.cts → custom-node-writes-C46r3_5O.d.cts} +2 -2
  42. package/dist/{custom-node-writes-CcNeHH5C.d.ts → custom-node-writes-DntmaAVW.d.ts} +2 -2
  43. package/dist/{dist-YFULGVS3.js → dist-OSUJGKTK.js} +1 -1
  44. package/dist/{editor-B76SEMZw.d.cts → editor-DLrTueVe.d.cts} +21 -9
  45. package/dist/{editor-BcdsPdbY.d.ts → editor-KiB6JNvk.d.ts} +21 -9
  46. package/dist/editor.cjs +1 -1
  47. package/dist/editor.d.cts +22 -22
  48. package/dist/editor.d.ts +22 -22
  49. package/dist/editor.js +1 -1
  50. package/dist/{index-BYTvklN5.d.ts → index-D4Pxdo_p.d.ts} +168 -13
  51. package/dist/{index-CDGhPib1.d.cts → index-D_PA2Xv6.d.cts} +168 -13
  52. package/dist/index.cjs +1 -1
  53. package/dist/index.d.cts +15 -15
  54. package/dist/index.d.ts +15 -15
  55. package/dist/index.js +1 -1
  56. package/dist/layout.cjs +1 -1
  57. package/dist/layout.d.cts +179 -519
  58. package/dist/layout.d.ts +179 -519
  59. package/dist/layout.js +1 -1
  60. package/dist/{note-properties-Bx7rXruA.d.ts → note-properties-CDFiNXcD.d.ts} +1 -1
  61. package/dist/{note-properties-zQ8w04en.d.cts → note-properties-Y6qYh2Hv.d.cts} +1 -1
  62. package/dist/{omml-equation-69O1Pd8G.d.ts → omml-equation-BY49UOIF.d.ts} +1 -1
  63. package/dist/{omml-equation-BmV51rim.d.cts → omml-equation-DB8d-jCq.d.cts} +1 -1
  64. package/dist/output.cjs +1 -1
  65. package/dist/output.d.cts +6 -6
  66. package/dist/output.d.ts +6 -6
  67. package/dist/output.js +1 -1
  68. package/dist/{protocol-FTXtrAIT.d.cts → protocol-C8L58j66.d.cts} +2 -2
  69. package/dist/{protocol-DC7ueVuo.d.ts → protocol-DjgYKCAy.d.ts} +2 -2
  70. package/dist/{review-items-B78OsJU2.d.ts → review-items-CCS1h93f.d.ts} +1 -1
  71. package/dist/{review-items-C-2WQdEb.d.cts → review-items-CaAkgi5s.d.cts} +1 -1
  72. package/dist/{review-reads-CbBQlb-n.d.cts → review-reads-BrTDmoYH.d.cts} +2 -2
  73. package/dist/{review-reads-UexYBp-m.d.ts → review-reads-DcGYCH0w.d.ts} +2 -2
  74. package/dist/{revision-projection-B2v9U3qx.d.ts → revision-projection-BmLtLPxH.d.ts} +1 -1
  75. package/dist/{revision-projection-6u8lae9J.d.cts → revision-projection-Dknlar93.d.cts} +1 -1
  76. package/dist/{semantic-cell-selection-DsYz2Vg3.d.ts → semantic-cell-selection-BZ50i-Fu.d.ts} +4 -4
  77. package/dist/{semantic-cell-selection-nEE7E3Z8.d.cts → semantic-cell-selection-COnfaOZO.d.cts} +4 -4
  78. package/dist/{semantic-interaction-C00BpIyC.d.ts → semantic-interaction-BDJ4TBjm.d.ts} +4 -2
  79. package/dist/{semantic-interaction-DiOX0FIH.d.cts → semantic-interaction-Bq3ixB0I.d.cts} +4 -2
  80. package/dist/{semantic-paint-Cc11nrDL.d.cts → semantic-paint-C5SMTO8Y.d.cts} +2 -2
  81. package/dist/{semantic-paint-ofuoBsYo.d.ts → semantic-paint-DuhhY5-R.d.ts} +2 -2
  82. package/dist/{semantic-records-CzI0ZEuR.d.ts → semantic-records-BI1jpft7.d.ts} +603 -8
  83. package/dist/{semantic-records-CRG1r6-a.d.cts → semantic-records-Btw3Ao4v.d.cts} +603 -8
  84. package/dist/{shaped-measurer-CneACGcP.d.cts → shaped-measurer-CqdYa0fa.d.cts} +9 -1
  85. package/dist/{shaped-measurer-CkOGZQn9.d.ts → shaped-measurer-qnBJziPx.d.ts} +9 -1
  86. package/dist/store.cjs +1 -1
  87. package/dist/store.d.cts +15 -12
  88. package/dist/store.d.ts +15 -12
  89. package/dist/store.js +1 -1
  90. package/dist/{tree-op-types-CA7qgAUF.d.cts → tree-op-types-BUulYD5y.d.cts} +15 -2
  91. package/dist/{tree-op-types-HKfUzt_-.d.ts → tree-op-types-D6HzlPR4.d.ts} +15 -2
  92. package/dist/{tree-package-fragment-oJZX_5iN.d.ts → tree-package-fragment-B1supBtE.d.ts} +2 -2
  93. package/dist/{tree-package-fragment-Cz-v-0B3.d.cts → tree-package-fragment-ByN5yzll.d.cts} +2 -2
  94. package/dist/{tree-session-contract-BPDLrEPX.d.ts → tree-session-contract-BasiwZgZ.d.ts} +28 -5
  95. package/dist/{tree-session-contract-Cbl87xa8.d.cts → tree-session-contract-DbeBenMR.d.cts} +28 -5
  96. package/dist/{tree-store-B7hd6cEa.d.ts → tree-store-APgWx6qn.d.ts} +1 -1
  97. package/dist/{tree-store-BenW0Mg_.d.cts → tree-store-DEEQ9wz_.d.cts} +1 -1
  98. package/package.json +5 -2
  99. package/dist/chunk-3JON7JMD.cjs +0 -1
  100. package/dist/chunk-5V6FNKBE.cjs +0 -2
  101. package/dist/chunk-BXRVGHTY.cjs +0 -18
  102. package/dist/chunk-BXTTPJSH.js +0 -5
  103. package/dist/chunk-ILTZTY3K.cjs +0 -10
  104. package/dist/chunk-IUM7FZPA.js +0 -2
  105. package/dist/chunk-JWZG4QJ5.cjs +0 -2
  106. package/dist/chunk-JXZYDBKU.cjs +0 -19
  107. package/dist/chunk-KBOOIC2Q.js +0 -19
  108. package/dist/chunk-L6XZTLPS.js +0 -10
  109. package/dist/chunk-L7OR5TJK.cjs +0 -5
  110. package/dist/chunk-MLGPISGH.js +0 -1
  111. package/dist/chunk-NJXQABQU.js +0 -18
  112. package/dist/chunk-VGFMPWND.js +0 -2
package/dist/editor.cjs CHANGED
@@ -1 +1 @@
1
- 'use strict';var chunkJXZYDBKU_cjs=require('./chunk-JXZYDBKU.cjs'),chunkZKWRCLT2_cjs=require('./chunk-ZKWRCLT2.cjs');require('./chunk-TKEGK4GQ.cjs'),require('./chunk-BXRVGHTY.cjs'),require('./chunk-3JON7JMD.cjs'),require('./chunk-L7OR5TJK.cjs'),require('./chunk-5V6FNKBE.cjs'),require('./chunk-JWZG4QJ5.cjs'),require('./chunk-BTQKU64Q.cjs'),require('./chunk-XCFM3G5L.cjs');var chunkILTZTY3K_cjs=require('./chunk-ILTZTY3K.cjs');require('./chunk-OHJQ7GPZ.cjs');Object.defineProperty(exports,"AUTO_ZOOM_MODE",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.La}});Object.defineProperty(exports,"BROWSER_AUTOMATION_CAPABILITIES",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.Qa}});Object.defineProperty(exports,"CHROME_GROUPS",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.ya}});Object.defineProperty(exports,"CHROME_MENUS",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.Ca}});Object.defineProperty(exports,"CHROME_UNAVAILABLE_KEY",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.Fa}});Object.defineProperty(exports,"DEFAULT_TABLE_CHROME_DRAFT",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs._}});Object.defineProperty(exports,"EMU_PER_POINT",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.S}});Object.defineProperty(exports,"FIT_WIDTH_ZOOM_MODE",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.Ma}});Object.defineProperty(exports,"IMAGE_OVERLAY_NUDGE_PT",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.Q}});Object.defineProperty(exports,"IMAGE_OVERLAY_NUDGE_SHIFT_PT",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.R}});Object.defineProperty(exports,"LOADING_SNAPSHOT",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.d}});Object.defineProperty(exports,"MAX_RESOLVER_FAMILIES",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.e}});Object.defineProperty(exports,"PX_PER_CM",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.o}});Object.defineProperty(exports,"PX_PER_INCH",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.n}});Object.defineProperty(exports,"SNAP_TWIPS_CM",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.u}});Object.defineProperty(exports,"SNAP_TWIPS_INCH",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.t}});Object.defineProperty(exports,"TABLE_BORDER_STYLE_OPTIONS",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.ea}});Object.defineProperty(exports,"TABLE_BORDER_TARGET_OPTIONS",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.da}});Object.defineProperty(exports,"TABLE_BORDER_WIDTH_OPTIONS",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.fa}});Object.defineProperty(exports,"TABLE_CHROME_SLOT_IDS",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.$}});Object.defineProperty(exports,"TWIPS_PER_CM",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.s}});Object.defineProperty(exports,"TWIPS_PER_INCH",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.r}});Object.defineProperty(exports,"WORD_DEFAULT_FONT",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.f}});Object.defineProperty(exports,"ZOOM_MAX",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.Ka}});Object.defineProperty(exports,"ZOOM_MIN",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.Ja}});Object.defineProperty(exports,"applyTableChromePick",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.ga}});Object.defineProperty(exports,"applyThemeShade",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.A}});Object.defineProperty(exports,"applyThemeTint",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.z}});Object.defineProperty(exports,"blankDocumentBytes",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.h}});Object.defineProperty(exports,"canExecuteImageCommand",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.O}});Object.defineProperty(exports,"captureImageMutationPreconditions",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.N}});Object.defineProperty(exports,"chromeControlCount",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.Ea}});Object.defineProperty(exports,"chromeMenuSlots",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.Da}});Object.defineProperty(exports,"chromeProbeForSlot",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.ka}});Object.defineProperty(exports,"chromeSlotId",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.za}});Object.defineProperty(exports,"chromeSlotIsToggle",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.qa}});Object.defineProperty(exports,"clipboardDropLandsText",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.j}});Object.defineProperty(exports,"clipboardPasteLandsContent",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.i}});Object.defineProperty(exports,"commandForSlot",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.la}});Object.defineProperty(exports,"commandForSlotValue",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.na}});Object.defineProperty(exports,"commandForTableChromeSlotValue",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.ma}});Object.defineProperty(exports,"composeFontConfiguration",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.g}});Object.defineProperty(exports,"computeImageResizeResult",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.Ya}});Object.defineProperty(exports,"computeMovedImagePosition",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.X}});Object.defineProperty(exports,"computeResizedImageExtentEmu",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.W}});Object.defineProperty(exports,"createBrowserAutomationHost",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.Ra}});Object.defineProperty(exports,"createDocxEditor",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.Pa}});Object.defineProperty(exports,"createFontSource",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.m}});Object.defineProperty(exports,"createImageOverlayScrollPort",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.Za}});Object.defineProperty(exports,"createLayoutShaping",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.b}});Object.defineProperty(exports,"cropPercentFromCropPermille",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.K}});Object.defineProperty(exports,"cropPercentFromPermille",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.I}});Object.defineProperty(exports,"cropPercentFromSourceCrop",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.F}});Object.defineProperty(exports,"cropPermilleFromCropPercent",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.J}});Object.defineProperty(exports,"cropPermilleFromPercent",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.H}});Object.defineProperty(exports,"cssPixelsToLayoutPoints",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.Ua}});Object.defineProperty(exports,"defaultChromeGroups",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.Aa}});Object.defineProperty(exports,"defaultTableLabel",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.aa}});Object.defineProperty(exports,"disposeLayoutShaping",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.c}});Object.defineProperty(exports,"dragIndent",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.x}});Object.defineProperty(exports,"editorCommandKey",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.xa}});Object.defineProperty(exports,"emuToOverlayPoints",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.V}});Object.defineProperty(exports,"equationAtPosition",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.Ha}});Object.defineProperty(exports,"executeImageCommand",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.P}});Object.defineProperty(exports,"finalizeImageOverlayInteraction",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs._a}});Object.defineProperty(exports,"formattingBarChromeGroups",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.Ba}});Object.defineProperty(exports,"generateRulerTicks",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.p}});Object.defineProperty(exports,"handlePosition",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.v}});Object.defineProperty(exports,"isStaleImageInteractionCommit",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.Y}});Object.defineProperty(exports,"isTableChromeSlot",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.ba}});Object.defineProperty(exports,"layoutPointsToCssPixels",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.Ta}});Object.defineProperty(exports,"loadFonts",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.l}});Object.defineProperty(exports,"lowerColorValueForBorder",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.C}});Object.defineProperty(exports,"lowerColorValueForFill",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.D}});Object.defineProperty(exports,"mountPaginatedSurface",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.Ia}});Object.defineProperty(exports,"overlayFrameToSheetCssPixels",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.Va}});Object.defineProperty(exports,"overlayHostOrigin",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.Wa}});Object.defineProperty(exports,"partOfNodeId",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.k}});Object.defineProperty(exports,"pointsToEmu",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.U}});Object.defineProperty(exports,"probeTableChromeCommand",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.ha}});Object.defineProperty(exports,"resizePreservesAspect",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.Xa}});Object.defineProperty(exports,"resolveColorValueToCss",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.E}});Object.defineProperty(exports,"resolveThemeColorHex",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.B}});Object.defineProperty(exports,"resolveZoomMode",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.Na}});Object.defineProperty(exports,"rulerPageBox",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.q}});Object.defineProperty(exports,"runSave",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.ua}});Object.defineProperty(exports,"runTableChromeCommand",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.sa}});Object.defineProperty(exports,"runTableCommand",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.wa}});Object.defineProperty(exports,"runToolbarCommand",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.ta}});Object.defineProperty(exports,"sameZoomMode",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.Oa}});Object.defineProperty(exports,"selectedDrawingOverlayTargetOf",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.T}});Object.defineProperty(exports,"selectedImageStateOf",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.M}});Object.defineProperty(exports,"snapTwips",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.w}});Object.defineProperty(exports,"sourceCropFromCropPercent",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.G}});Object.defineProperty(exports,"surfaceExtent",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.Ga}});Object.defineProperty(exports,"surfacePaintScale",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.Sa}});Object.defineProperty(exports,"tableChromeIconPaths",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.ja}});Object.defineProperty(exports,"tableChromeLabelKeyForTarget",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.ia}});Object.defineProperty(exports,"tableChromeToolbarState",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.oa}});Object.defineProperty(exports,"tableChromeVisible",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.ca}});Object.defineProperty(exports,"tableCommandState",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.Z}});Object.defineProperty(exports,"tableCommandToolbarState",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.va}});Object.defineProperty(exports,"toEditorFontError",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.a}});Object.defineProperty(exports,"toolbarCommandState",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.pa}});Object.defineProperty(exports,"toolbarCommandStates",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.ra}});Object.defineProperty(exports,"validateImageCropPercent",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.L}});Object.defineProperty(exports,"validateThemeModifier",{enumerable:true,get:function(){return chunkJXZYDBKU_cjs.y}});Object.defineProperty(exports,"resolveEditorModules",{enumerable:true,get:function(){return chunkZKWRCLT2_cjs.a}});Object.defineProperty(exports,"DEFAULT_IMAGE_RESOURCE_LIMITS",{enumerable:true,get:function(){return chunkILTZTY3K_cjs.m}});Object.defineProperty(exports,"DRAWING_REL_FROM_H",{enumerable:true,get:function(){return chunkILTZTY3K_cjs.Ng}});Object.defineProperty(exports,"DRAWING_REL_FROM_V",{enumerable:true,get:function(){return chunkILTZTY3K_cjs.Og}});Object.defineProperty(exports,"IMAGE_WRAP_TARGETS",{enumerable:true,get:function(){return chunkILTZTY3K_cjs.Ya}});Object.defineProperty(exports,"positionInputFromPropertiesCommand",{enumerable:true,get:function(){return chunkILTZTY3K_cjs.Qg}});Object.defineProperty(exports,"propertiesCommandHasPositionFields",{enumerable:true,get:function(){return chunkILTZTY3K_cjs.Pg}});Object.defineProperty(exports,"resolveImageResourceLimits",{enumerable:true,get:function(){return chunkILTZTY3K_cjs.n}});Object.defineProperty(exports,"resolveSvgIntrinsicSize",{enumerable:true,get:function(){return chunkILTZTY3K_cjs.pb}});Object.defineProperty(exports,"sniffImageMime",{enumerable:true,get:function(){return chunkILTZTY3K_cjs.lb}});Object.defineProperty(exports,"validateDrawingPositionInput",{enumerable:true,get:function(){return chunkILTZTY3K_cjs.Mg}});Object.defineProperty(exports,"validateRasterHeader",{enumerable:true,get:function(){return chunkILTZTY3K_cjs.qb}});Object.defineProperty(exports,"validateSetImagePositionCommand",{enumerable:true,get:function(){return chunkILTZTY3K_cjs.Rg}});
1
+ 'use strict';var chunkI36WS6XX_cjs=require('./chunk-I36WS6XX.cjs'),chunkZKWRCLT2_cjs=require('./chunk-ZKWRCLT2.cjs');require('./chunk-F7U4OLMS.cjs'),require('./chunk-3AT4RUQ3.cjs'),require('./chunk-PFSJVAWJ.cjs'),require('./chunk-FNMXRLGW.cjs'),require('./chunk-WANKXD34.cjs'),require('./chunk-4NAQLFXA.cjs'),require('./chunk-BTQKU64Q.cjs'),require('./chunk-67S7OHE6.cjs');var chunkXETEMUIP_cjs=require('./chunk-XETEMUIP.cjs');require('./chunk-OHJQ7GPZ.cjs');Object.defineProperty(exports,"AUTO_ZOOM_MODE",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.Qa}});Object.defineProperty(exports,"BROWSER_AUTOMATION_CAPABILITIES",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.Va}});Object.defineProperty(exports,"CHROME_GROUPS",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.Da}});Object.defineProperty(exports,"CHROME_MENUS",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.Ha}});Object.defineProperty(exports,"CHROME_UNAVAILABLE_KEY",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.Ka}});Object.defineProperty(exports,"DEFAULT_TABLE_CHROME_DRAFT",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.da}});Object.defineProperty(exports,"EMU_PER_POINT",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.X}});Object.defineProperty(exports,"FIT_WIDTH_ZOOM_MODE",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.Ra}});Object.defineProperty(exports,"FONT_RESOLVER_BRAND",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.i}});Object.defineProperty(exports,"FONT_RESOLVER_MARK_KEY",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.h}});Object.defineProperty(exports,"IMAGE_OVERLAY_NUDGE_PT",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.V}});Object.defineProperty(exports,"IMAGE_OVERLAY_NUDGE_SHIFT_PT",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.W}});Object.defineProperty(exports,"LOADING_SNAPSHOT",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.d}});Object.defineProperty(exports,"MAX_RESOLVER_FAMILIES",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.e}});Object.defineProperty(exports,"PX_PER_CM",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.t}});Object.defineProperty(exports,"PX_PER_INCH",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.s}});Object.defineProperty(exports,"SNAP_TWIPS_CM",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.z}});Object.defineProperty(exports,"SNAP_TWIPS_INCH",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.y}});Object.defineProperty(exports,"TABLE_BORDER_STYLE_OPTIONS",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.ja}});Object.defineProperty(exports,"TABLE_BORDER_TARGET_OPTIONS",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.ia}});Object.defineProperty(exports,"TABLE_BORDER_WIDTH_OPTIONS",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.ka}});Object.defineProperty(exports,"TABLE_CHROME_SLOT_IDS",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.ea}});Object.defineProperty(exports,"TWIPS_PER_CM",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.x}});Object.defineProperty(exports,"TWIPS_PER_INCH",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.w}});Object.defineProperty(exports,"WORD_DEFAULT_FONT",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.f}});Object.defineProperty(exports,"ZOOM_MAX",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.Pa}});Object.defineProperty(exports,"ZOOM_MIN",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.Oa}});Object.defineProperty(exports,"applyTableChromePick",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.la}});Object.defineProperty(exports,"applyThemeShade",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.F}});Object.defineProperty(exports,"applyThemeTint",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.E}});Object.defineProperty(exports,"blankDocumentBytes",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.m}});Object.defineProperty(exports,"canExecuteImageCommand",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.T}});Object.defineProperty(exports,"captureImageMutationPreconditions",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.S}});Object.defineProperty(exports,"chromeControlCount",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.Ja}});Object.defineProperty(exports,"chromeMenuSlots",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.Ia}});Object.defineProperty(exports,"chromeProbeForSlot",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.pa}});Object.defineProperty(exports,"chromeSlotId",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.Ea}});Object.defineProperty(exports,"chromeSlotIsToggle",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.va}});Object.defineProperty(exports,"clipboardDropLandsText",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.o}});Object.defineProperty(exports,"clipboardPasteLandsContent",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.n}});Object.defineProperty(exports,"commandForSlot",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.qa}});Object.defineProperty(exports,"commandForSlotValue",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.sa}});Object.defineProperty(exports,"commandForTableChromeSlotValue",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.ra}});Object.defineProperty(exports,"composeFontConfiguration",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.g}});Object.defineProperty(exports,"composeFontOrigins",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.l}});Object.defineProperty(exports,"computeImageResizeResult",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.bb}});Object.defineProperty(exports,"computeMovedImagePosition",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.aa}});Object.defineProperty(exports,"computeResizedImageExtentEmu",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.$}});Object.defineProperty(exports,"createBrowserAutomationHost",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.Wa}});Object.defineProperty(exports,"createDocxEditor",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.Ua}});Object.defineProperty(exports,"createFontSource",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.r}});Object.defineProperty(exports,"createImageOverlayScrollPort",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.cb}});Object.defineProperty(exports,"createLayoutShaping",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.b}});Object.defineProperty(exports,"cropPercentFromCropPermille",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.P}});Object.defineProperty(exports,"cropPercentFromPermille",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.N}});Object.defineProperty(exports,"cropPercentFromSourceCrop",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.K}});Object.defineProperty(exports,"cropPermilleFromCropPercent",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.O}});Object.defineProperty(exports,"cropPermilleFromPercent",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.M}});Object.defineProperty(exports,"cssPixelsToLayoutPoints",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.Za}});Object.defineProperty(exports,"defaultChromeGroups",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.Fa}});Object.defineProperty(exports,"defaultTableLabel",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.fa}});Object.defineProperty(exports,"defineFontResolver",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.j}});Object.defineProperty(exports,"disposeLayoutShaping",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.c}});Object.defineProperty(exports,"dragIndent",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.C}});Object.defineProperty(exports,"editorCommandKey",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.Ca}});Object.defineProperty(exports,"emuToOverlayPoints",{enumerable:true,get:function(){return chunkI36WS6XX_cjs._}});Object.defineProperty(exports,"equationAtPosition",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.Ma}});Object.defineProperty(exports,"executeImageCommand",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.U}});Object.defineProperty(exports,"finalizeImageOverlayInteraction",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.db}});Object.defineProperty(exports,"formattingBarChromeGroups",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.Ga}});Object.defineProperty(exports,"generateRulerTicks",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.u}});Object.defineProperty(exports,"handlePosition",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.A}});Object.defineProperty(exports,"isFontResolver",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.k}});Object.defineProperty(exports,"isStaleImageInteractionCommit",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.ba}});Object.defineProperty(exports,"isTableChromeSlot",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.ga}});Object.defineProperty(exports,"layoutPointsToCssPixels",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.Ya}});Object.defineProperty(exports,"loadFonts",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.q}});Object.defineProperty(exports,"lowerColorValueForBorder",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.H}});Object.defineProperty(exports,"lowerColorValueForFill",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.I}});Object.defineProperty(exports,"mountPaginatedSurface",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.Na}});Object.defineProperty(exports,"overlayFrameToSheetCssPixels",{enumerable:true,get:function(){return chunkI36WS6XX_cjs._a}});Object.defineProperty(exports,"overlayHostOrigin",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.$a}});Object.defineProperty(exports,"partOfNodeId",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.p}});Object.defineProperty(exports,"pointsToEmu",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.Z}});Object.defineProperty(exports,"probeTableChromeCommand",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.ma}});Object.defineProperty(exports,"resizePreservesAspect",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.ab}});Object.defineProperty(exports,"resolveColorValueToCss",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.J}});Object.defineProperty(exports,"resolveThemeColorHex",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.G}});Object.defineProperty(exports,"resolveZoomMode",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.Sa}});Object.defineProperty(exports,"rulerPageBox",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.v}});Object.defineProperty(exports,"runSave",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.za}});Object.defineProperty(exports,"runTableChromeCommand",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.xa}});Object.defineProperty(exports,"runTableCommand",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.Ba}});Object.defineProperty(exports,"runToolbarCommand",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.ya}});Object.defineProperty(exports,"sameZoomMode",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.Ta}});Object.defineProperty(exports,"selectedDrawingOverlayTargetOf",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.Y}});Object.defineProperty(exports,"selectedImageStateOf",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.R}});Object.defineProperty(exports,"snapTwips",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.B}});Object.defineProperty(exports,"sourceCropFromCropPercent",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.L}});Object.defineProperty(exports,"surfaceExtent",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.La}});Object.defineProperty(exports,"surfacePaintScale",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.Xa}});Object.defineProperty(exports,"tableChromeIconPaths",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.oa}});Object.defineProperty(exports,"tableChromeLabelKeyForTarget",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.na}});Object.defineProperty(exports,"tableChromeToolbarState",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.ta}});Object.defineProperty(exports,"tableChromeVisible",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.ha}});Object.defineProperty(exports,"tableCommandState",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.ca}});Object.defineProperty(exports,"tableCommandToolbarState",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.Aa}});Object.defineProperty(exports,"toEditorFontError",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.a}});Object.defineProperty(exports,"toolbarCommandState",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.ua}});Object.defineProperty(exports,"toolbarCommandStates",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.wa}});Object.defineProperty(exports,"validateImageCropPercent",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.Q}});Object.defineProperty(exports,"validateThemeModifier",{enumerable:true,get:function(){return chunkI36WS6XX_cjs.D}});Object.defineProperty(exports,"resolveEditorModules",{enumerable:true,get:function(){return chunkZKWRCLT2_cjs.a}});Object.defineProperty(exports,"DEFAULT_IMAGE_RESOURCE_LIMITS",{enumerable:true,get:function(){return chunkXETEMUIP_cjs.m}});Object.defineProperty(exports,"DRAWING_REL_FROM_H",{enumerable:true,get:function(){return chunkXETEMUIP_cjs.Ng}});Object.defineProperty(exports,"DRAWING_REL_FROM_V",{enumerable:true,get:function(){return chunkXETEMUIP_cjs.Og}});Object.defineProperty(exports,"IMAGE_WRAP_TARGETS",{enumerable:true,get:function(){return chunkXETEMUIP_cjs.Ya}});Object.defineProperty(exports,"positionInputFromPropertiesCommand",{enumerable:true,get:function(){return chunkXETEMUIP_cjs.Qg}});Object.defineProperty(exports,"propertiesCommandHasPositionFields",{enumerable:true,get:function(){return chunkXETEMUIP_cjs.Pg}});Object.defineProperty(exports,"resolveImageResourceLimits",{enumerable:true,get:function(){return chunkXETEMUIP_cjs.n}});Object.defineProperty(exports,"resolveSvgIntrinsicSize",{enumerable:true,get:function(){return chunkXETEMUIP_cjs.pb}});Object.defineProperty(exports,"sniffImageMime",{enumerable:true,get:function(){return chunkXETEMUIP_cjs.lb}});Object.defineProperty(exports,"validateDrawingPositionInput",{enumerable:true,get:function(){return chunkXETEMUIP_cjs.Mg}});Object.defineProperty(exports,"validateRasterHeader",{enumerable:true,get:function(){return chunkXETEMUIP_cjs.qb}});Object.defineProperty(exports,"validateSetImagePositionCommand",{enumerable:true,get:function(){return chunkXETEMUIP_cjs.Rg}});
package/dist/editor.d.cts CHANGED
@@ -1,34 +1,34 @@
1
- import { O as OoxmlPart, N as TreeDocColorValue, v as DrawingPositionInput } from './tree-op-types-CA7qgAUF.cjs';
2
- export { Q as DEFAULT_IMAGE_RESOURCE_LIMITS, U as IMAGE_WRAP_TARGETS, C as ImageDecodePort, W as ImageResourceLimits, u as ImageWrapTarget, t as RenderableImageMime, y as SupportedImageMime, B as VectorImageMime, X as resolveImageResourceLimits, Y as resolveSvgIntrinsicSize, Z as sniffImageMime, _ as validateRasterHeader } from './tree-op-types-CA7qgAUF.cjs';
1
+ import { O as OoxmlPart, G as TreeDocColorValue, v as DrawingPositionInput } from './tree-op-types-BUulYD5y.cjs';
2
+ export { H as DEFAULT_IMAGE_RESOURCE_LIMITS, J as IMAGE_WRAP_TARGETS, C as ImageDecodePort, K as ImageResourceLimits, u as ImageWrapTarget, t as RenderableImageMime, y as SupportedImageMime, B as VectorImageMime, L as resolveImageResourceLimits, M as resolveSvgIntrinsicSize, N as sniffImageMime, Q as validateRasterHeader } from './tree-op-types-BUulYD5y.cjs';
3
3
  import { ColorValue } from './contracts/types.cjs';
4
4
  export { ParagraphFlags, ParagraphTabStop } from './contracts/types.cjs';
5
- export { R as ReviewModelInput } from './review-items-C-2WQdEb.cjs';
5
+ export { R as ReviewModelInput } from './review-items-CaAkgi5s.cjs';
6
6
  export { CollectReviewItems, EditorModule, EditorModuleRegistry, ReviewModuleContribution, resolveEditorModules } from './contracts/modules.cjs';
7
- import { T as TreeDocxSessionView, f as DocumentThemeColorEntry } from './tree-session-contract-Cbl87xa8.cjs';
8
- export { a as TreeApplyResult } from './tree-session-contract-Cbl87xa8.cjs';
9
- import { F as FontConfiguration, E as EditorFontError, a as EditorSnapshot, b as EditorCommand, C as CanResult, Z as ZoomMode } from './editor-B76SEMZw.cjs';
10
- export { I as ImageContext, c as ImageCropPercent, d as ImageCropPermille, S as SelectedImageState, e as cropPercentFromCropPermille, f as cropPercentFromPermille, g as cropPercentFromSourceCrop, h as cropPermilleFromCropPercent, i as cropPermilleFromPercent, s as sourceCropFromCropPercent, v as validateImageCropPercent } from './editor-B76SEMZw.cjs';
11
- import { L as LayoutShapingOptions } from './shaped-measurer-CneACGcP.cjs';
12
- import { P as PaginatedSurfaceOptions, O as OpenPaginatedResult, a as PaginatedSurface, T as TableCommandPlan, D as DocxEditorInstance } from './index-CDGhPib1.cjs';
13
- export { A as AnchorFrameOrigin, C as CHROME_GROUPS, b as CHROME_MENUS, c as CHROME_UNAVAILABLE_KEY, d as ChromeControl, e as ChromeControlId, f as ChromeControlState, g as ChromeGroup, h as ChromeGroupId, i as ChromeMenu, j as ChromeMenuEntry, k as ChromeMenuId, l as ChromeMenuItemEntry, m as ChromeMenuSeparatorEntry, n as ChromeMenuSubmenuEntry, o as ChromeSlotId, p as DEFAULT_TABLE_CHROME_DRAFT, q as DocxEditorConfig, r as DrawingSelectionIntent, E as EMU_PER_POINT, s as EquationActivation, t as EquationChromeHandlers, u as EquationOps, F as FinalizedImageOverlayInteraction, v as FontConfigurationBase, w as FontConfigurationFragment, x as FontLoadFailure, y as FontLoadFailureReason, z as FontMeasurementState, B as FontResolutionRequest, G as FontResolver, H as FontUrlSource, I as HyperlinkActivation, J as HyperlinkChromeHandlers, K as HyperlinkOps, L as IMAGE_OVERLAY_NUDGE_PT, M as IMAGE_OVERLAY_NUDGE_SHIFT_PT, N as ImageInteractionSession, Q as ImageOverlayScrollPort, R as ImageResizeHandle, S as ImageResizeResult, U as LoadFontsRequest, V as LoadFontsResult, W as MAX_RESOLVER_FAMILIES, X as OverlayFrameRect, Y as PaginatedSurfaceState, Z as ParagraphPropertyEdit, _ as RemoteCaretLabelAnchor, $ as RemoteCaretLabelHost, a0 as ReviewWriteIntent, a1 as RunTableChromeCommandResult, a2 as SectionAnchor, a3 as SectionBreakInsertType, a4 as SelectedDrawingOverlayTarget, a5 as SurfaceEquation, a6 as SurfaceFormatting, a7 as SurfaceHyperlink, a8 as SurfaceInsertImageInput, a9 as SurfaceNavigation, aa as SurfaceOverlayCoordinates, ab as SurfaceParagraphFormat, ac as TABLE_BORDER_STYLE_OPTIONS, ad as TABLE_BORDER_TARGET_OPTIONS, ae as TABLE_BORDER_WIDTH_OPTIONS, af as TABLE_CHROME_SLOT_IDS, ag as TableBorderStyleOption, ah as TableBorderTargetOption, ai as TableBorderTargetValue, aj as TableBorderWidthOption, ak as TableChromeDraft, al as TableChromePick, am as TableChromeSlotId, an as TableInteractionLabelKey, ao as ToolbarCommandState, ap as WORD_DEFAULT_FONT, aq as applyTableChromePick, ar as blankDocumentBytes, as as canExecuteImageCommand, at as captureImageMutationPreconditions, au as chromeControlCount, av as chromeMenuSlots, aw as chromeProbeForSlot, ax as chromeSlotId, ay as chromeSlotIsToggle, az as commandForSlot, aA as commandForSlotValue, aB as commandForTableChromeSlotValue, aC as composeFontConfiguration, aD as computeImageResizeResult, aE as computeMovedImagePosition, aF as computeResizedImageExtentEmu, aG as createDocxEditor, aH as createFontSource, aI as createImageOverlayScrollPort, aJ as cssPixelsToLayoutPoints, aK as defaultChromeGroups, aL as defaultTableLabel, aM as emuToOverlayPoints, aN as equationAtPosition, aO as executeImageCommand, aP as finalizeImageOverlayInteraction, aQ as formattingBarChromeGroups, aR as isStaleImageInteractionCommit, aS as isTableChromeSlot, aT as layoutPointsToCssPixels, aU as loadFonts, aV as overlayFrameToSheetCssPixels, aW as overlayHostOrigin, aX as pointsToEmu, aY as probeTableChromeCommand, aZ as resizePreservesAspect, a_ as runSave, a$ as runTableChromeCommand, b0 as runTableCommand, b1 as runToolbarCommand, b2 as selectedDrawingOverlayTargetOf, b3 as selectedImageStateOf, b4 as surfacePaintScale, b5 as tableChromeIconPaths, b6 as tableChromeLabelKeyForTarget, b7 as tableChromeToolbarState, b8 as tableChromeVisible, b9 as tableCommandToolbarState, ba as toolbarCommandState, bb as toolbarCommandStates } from './index-CDGhPib1.cjs';
14
- import { A as AutomationCapabilities, a as AutomationHost } from './protocol-FTXtrAIT.cjs';
15
- import { S as SemanticLayout } from './semantic-records-CRG1r6-a.cjs';
16
- export { T as TextMeasurer } from './semantic-records-CRG1r6-a.cjs';
17
- export { S as SectionProperties } from './semantic-cell-selection-nEE7E3Z8.cjs';
18
- export { N as NavigationCommand, S as SemanticPosition, a as SemanticSelection } from './semantic-interaction-DiOX0FIH.cjs';
19
- export { F as FieldShadingMode, R as ReviewAuthorInfo, a as RevisionAuthorAssignments, b as RevisionAuthorStyle, c as RevisionStyles } from './semantic-paint-Cc11nrDL.cjs';
7
+ import { T as TreeDocxSessionView, f as DocumentThemeColorEntry } from './tree-session-contract-DbeBenMR.cjs';
8
+ export { a as TreeApplyResult } from './tree-session-contract-DbeBenMR.cjs';
9
+ import { F as FontConfiguration, E as EditorFontError, a as EditorSnapshot, b as EditorCommand, C as CanResult, Z as ZoomMode } from './editor-DLrTueVe.cjs';
10
+ export { I as ImageContext, c as ImageCropPercent, d as ImageCropPermille, S as SelectedImageState, e as cropPercentFromCropPermille, f as cropPercentFromPermille, g as cropPercentFromSourceCrop, h as cropPermilleFromCropPercent, i as cropPermilleFromPercent, s as sourceCropFromCropPercent, v as validateImageCropPercent } from './editor-DLrTueVe.cjs';
11
+ import { L as LayoutShapingOptions } from './shaped-measurer-CqdYa0fa.cjs';
12
+ import { P as PaginatedSurfaceOptions, O as OpenPaginatedResult, a as PaginatedSurface, T as TableCommandPlan, D as DocxEditorInstance } from './index-D_PA2Xv6.cjs';
13
+ export { A as AnchorFrameOrigin, C as CHROME_GROUPS, b as CHROME_MENUS, c as CHROME_UNAVAILABLE_KEY, d as ChromeControl, e as ChromeControlId, f as ChromeControlState, g as ChromeGroup, h as ChromeGroupId, i as ChromeMenu, j as ChromeMenuEntry, k as ChromeMenuId, l as ChromeMenuItemEntry, m as ChromeMenuSeparatorEntry, n as ChromeMenuSubmenuEntry, o as ChromeSlotId, p as DEFAULT_TABLE_CHROME_DRAFT, q as DocxEditorConfig, r as DrawingSelectionIntent, E as EMU_PER_POINT, s as EquationActivation, t as EquationChromeHandlers, u as EquationOps, F as FONT_RESOLVER_BRAND, v as FONT_RESOLVER_MARK_KEY, w as FinalizedImageOverlayInteraction, x as FontConfigurationBase, y as FontConfigurationFragment, z as FontLoadFailure, B as FontLoadFailureReason, G as FontMeasurementState, H as FontOrigin, I as FontResolutionRequest, J as FontResolver, K as FontResolverMark, L as FontUrlSource, M as HyperlinkActivation, N as HyperlinkChromeHandlers, Q as HyperlinkOps, R as IMAGE_OVERLAY_NUDGE_PT, S as IMAGE_OVERLAY_NUDGE_SHIFT_PT, U as ImageInteractionSession, V as ImageOverlayScrollPort, W as ImageResizeHandle, X as ImageResizeResult, Y as LoadFontsRequest, Z as LoadFontsResult, _ as MAX_RESOLVER_FAMILIES, $ as MarkedFontResolver, a0 as OverlayFrameRect, a1 as PaginatedSurfaceState, a2 as ParagraphPropertyEdit, a3 as RemoteCaretLabelAnchor, a4 as RemoteCaretLabelHost, a5 as ReviewWriteIntent, a6 as RunTableChromeCommandResult, a7 as SectionAnchor, a8 as SectionBreakInsertType, a9 as SelectedDrawingOverlayTarget, aa as SurfaceEquation, ab as SurfaceFormatting, ac as SurfaceHyperlink, ad as SurfaceInsertImageInput, ae as SurfaceNavigation, af as SurfaceOverlayCoordinates, ag as SurfaceParagraphFormat, ah as TABLE_BORDER_STYLE_OPTIONS, ai as TABLE_BORDER_TARGET_OPTIONS, aj as TABLE_BORDER_WIDTH_OPTIONS, ak as TABLE_CHROME_SLOT_IDS, al as TableBorderStyleOption, am as TableBorderTargetOption, an as TableBorderTargetValue, ao as TableBorderWidthOption, ap as TableChromeDraft, aq as TableChromePick, ar as TableChromeSlotId, as as TableInteractionLabelKey, at as ToolbarCommandState, au as WORD_DEFAULT_FONT, av as applyTableChromePick, aw as blankDocumentBytes, ax as canExecuteImageCommand, ay as captureImageMutationPreconditions, az as chromeControlCount, aA as chromeMenuSlots, aB as chromeProbeForSlot, aC as chromeSlotId, aD as chromeSlotIsToggle, aE as commandForSlot, aF as commandForSlotValue, aG as commandForTableChromeSlotValue, aH as composeFontConfiguration, aI as composeFontOrigins, aJ as computeImageResizeResult, aK as computeMovedImagePosition, aL as computeResizedImageExtentEmu, aM as createDocxEditor, aN as createFontSource, aO as createImageOverlayScrollPort, aP as cssPixelsToLayoutPoints, aQ as defaultChromeGroups, aR as defaultTableLabel, aS as defineFontResolver, aT as emuToOverlayPoints, aU as equationAtPosition, aV as executeImageCommand, aW as finalizeImageOverlayInteraction, aX as formattingBarChromeGroups, aY as isFontResolver, aZ as isStaleImageInteractionCommit, a_ as isTableChromeSlot, a$ as layoutPointsToCssPixels, b0 as loadFonts, b1 as overlayFrameToSheetCssPixels, b2 as overlayHostOrigin, b3 as pointsToEmu, b4 as probeTableChromeCommand, b5 as resizePreservesAspect, b6 as runSave, b7 as runTableChromeCommand, b8 as runTableCommand, b9 as runToolbarCommand, ba as selectedDrawingOverlayTargetOf, bb as selectedImageStateOf, bc as surfacePaintScale, bd as tableChromeIconPaths, be as tableChromeLabelKeyForTarget, bf as tableChromeToolbarState, bg as tableChromeVisible, bh as tableCommandToolbarState, bi as toolbarCommandState, bj as toolbarCommandStates } from './index-D_PA2Xv6.cjs';
14
+ import { A as AutomationCapabilities, a as AutomationHost } from './protocol-C8L58j66.cjs';
15
+ import { S as SemanticLayout } from './semantic-records-Btw3Ao4v.cjs';
16
+ export { T as TextMeasurer } from './semantic-records-Btw3Ao4v.cjs';
17
+ export { S as SectionProperties } from './semantic-cell-selection-COnfaOZO.cjs';
18
+ export { N as NavigationCommand, S as SemanticPosition, a as SemanticSelection } from './semantic-interaction-Bq3ixB0I.cjs';
19
+ export { F as FieldShadingMode, R as ReviewAuthorInfo, a as RevisionAuthorAssignments, b as RevisionAuthorStyle, c as RevisionStyles } from './semantic-paint-C5SMTO8Y.cjs';
20
20
  export { CollaborationModuleContribution } from './collaboration.cjs';
21
- import './revision-projection-6u8lae9J.cjs';
22
- import './tree-package-fragment-Cz-v-0B3.cjs';
23
- import './tree-store-BenW0Mg_.cjs';
21
+ import './revision-projection-Dknlar93.cjs';
22
+ import './tree-package-fragment-ByN5yzll.cjs';
23
+ import './tree-store-DEEQ9wz_.cjs';
24
24
  import './collaboration/replication.cjs';
25
25
  import './failure-BnGjoXf0.cjs';
26
- import './custom-node-writes-D4rMJIES.cjs';
26
+ import './custom-node-writes-C46r3_5O.cjs';
27
27
  import './document-properties-D6Ahr8D6.cjs';
28
28
  import 'prosemirror-model';
29
29
  import './contracts/document.cjs';
30
- import './note-properties-zQ8w04en.cjs';
31
- import './omml-equation-BmV51rim.cjs';
30
+ import './note-properties-Y6qYh2Hv.cjs';
31
+ import './omml-equation-DB8d-jCq.cjs';
32
32
 
33
33
  interface LayoutShapingInstrumentation {
34
34
  readonly onFontByteCopy?: () => void;
package/dist/editor.d.ts CHANGED
@@ -1,34 +1,34 @@
1
- import { O as OoxmlPart, N as TreeDocColorValue, v as DrawingPositionInput } from './tree-op-types-HKfUzt_-.js';
2
- export { Q as DEFAULT_IMAGE_RESOURCE_LIMITS, U as IMAGE_WRAP_TARGETS, C as ImageDecodePort, W as ImageResourceLimits, u as ImageWrapTarget, t as RenderableImageMime, y as SupportedImageMime, B as VectorImageMime, X as resolveImageResourceLimits, Y as resolveSvgIntrinsicSize, Z as sniffImageMime, _ as validateRasterHeader } from './tree-op-types-HKfUzt_-.js';
1
+ import { O as OoxmlPart, G as TreeDocColorValue, v as DrawingPositionInput } from './tree-op-types-D6HzlPR4.js';
2
+ export { H as DEFAULT_IMAGE_RESOURCE_LIMITS, J as IMAGE_WRAP_TARGETS, C as ImageDecodePort, K as ImageResourceLimits, u as ImageWrapTarget, t as RenderableImageMime, y as SupportedImageMime, B as VectorImageMime, L as resolveImageResourceLimits, M as resolveSvgIntrinsicSize, N as sniffImageMime, Q as validateRasterHeader } from './tree-op-types-D6HzlPR4.js';
3
3
  import { ColorValue } from './contracts/types.js';
4
4
  export { ParagraphFlags, ParagraphTabStop } from './contracts/types.js';
5
- export { R as ReviewModelInput } from './review-items-B78OsJU2.js';
5
+ export { R as ReviewModelInput } from './review-items-CCS1h93f.js';
6
6
  export { CollectReviewItems, EditorModule, EditorModuleRegistry, ReviewModuleContribution, resolveEditorModules } from './contracts/modules.js';
7
- import { T as TreeDocxSessionView, f as DocumentThemeColorEntry } from './tree-session-contract-BPDLrEPX.js';
8
- export { a as TreeApplyResult } from './tree-session-contract-BPDLrEPX.js';
9
- import { F as FontConfiguration, E as EditorFontError, a as EditorSnapshot, b as EditorCommand, C as CanResult, Z as ZoomMode } from './editor-BcdsPdbY.js';
10
- export { I as ImageContext, c as ImageCropPercent, d as ImageCropPermille, S as SelectedImageState, e as cropPercentFromCropPermille, f as cropPercentFromPermille, g as cropPercentFromSourceCrop, h as cropPermilleFromCropPercent, i as cropPermilleFromPercent, s as sourceCropFromCropPercent, v as validateImageCropPercent } from './editor-BcdsPdbY.js';
11
- import { L as LayoutShapingOptions } from './shaped-measurer-CkOGZQn9.js';
12
- import { P as PaginatedSurfaceOptions, O as OpenPaginatedResult, a as PaginatedSurface, T as TableCommandPlan, D as DocxEditorInstance } from './index-BYTvklN5.js';
13
- export { A as AnchorFrameOrigin, C as CHROME_GROUPS, b as CHROME_MENUS, c as CHROME_UNAVAILABLE_KEY, d as ChromeControl, e as ChromeControlId, f as ChromeControlState, g as ChromeGroup, h as ChromeGroupId, i as ChromeMenu, j as ChromeMenuEntry, k as ChromeMenuId, l as ChromeMenuItemEntry, m as ChromeMenuSeparatorEntry, n as ChromeMenuSubmenuEntry, o as ChromeSlotId, p as DEFAULT_TABLE_CHROME_DRAFT, q as DocxEditorConfig, r as DrawingSelectionIntent, E as EMU_PER_POINT, s as EquationActivation, t as EquationChromeHandlers, u as EquationOps, F as FinalizedImageOverlayInteraction, v as FontConfigurationBase, w as FontConfigurationFragment, x as FontLoadFailure, y as FontLoadFailureReason, z as FontMeasurementState, B as FontResolutionRequest, G as FontResolver, H as FontUrlSource, I as HyperlinkActivation, J as HyperlinkChromeHandlers, K as HyperlinkOps, L as IMAGE_OVERLAY_NUDGE_PT, M as IMAGE_OVERLAY_NUDGE_SHIFT_PT, N as ImageInteractionSession, Q as ImageOverlayScrollPort, R as ImageResizeHandle, S as ImageResizeResult, U as LoadFontsRequest, V as LoadFontsResult, W as MAX_RESOLVER_FAMILIES, X as OverlayFrameRect, Y as PaginatedSurfaceState, Z as ParagraphPropertyEdit, _ as RemoteCaretLabelAnchor, $ as RemoteCaretLabelHost, a0 as ReviewWriteIntent, a1 as RunTableChromeCommandResult, a2 as SectionAnchor, a3 as SectionBreakInsertType, a4 as SelectedDrawingOverlayTarget, a5 as SurfaceEquation, a6 as SurfaceFormatting, a7 as SurfaceHyperlink, a8 as SurfaceInsertImageInput, a9 as SurfaceNavigation, aa as SurfaceOverlayCoordinates, ab as SurfaceParagraphFormat, ac as TABLE_BORDER_STYLE_OPTIONS, ad as TABLE_BORDER_TARGET_OPTIONS, ae as TABLE_BORDER_WIDTH_OPTIONS, af as TABLE_CHROME_SLOT_IDS, ag as TableBorderStyleOption, ah as TableBorderTargetOption, ai as TableBorderTargetValue, aj as TableBorderWidthOption, ak as TableChromeDraft, al as TableChromePick, am as TableChromeSlotId, an as TableInteractionLabelKey, ao as ToolbarCommandState, ap as WORD_DEFAULT_FONT, aq as applyTableChromePick, ar as blankDocumentBytes, as as canExecuteImageCommand, at as captureImageMutationPreconditions, au as chromeControlCount, av as chromeMenuSlots, aw as chromeProbeForSlot, ax as chromeSlotId, ay as chromeSlotIsToggle, az as commandForSlot, aA as commandForSlotValue, aB as commandForTableChromeSlotValue, aC as composeFontConfiguration, aD as computeImageResizeResult, aE as computeMovedImagePosition, aF as computeResizedImageExtentEmu, aG as createDocxEditor, aH as createFontSource, aI as createImageOverlayScrollPort, aJ as cssPixelsToLayoutPoints, aK as defaultChromeGroups, aL as defaultTableLabel, aM as emuToOverlayPoints, aN as equationAtPosition, aO as executeImageCommand, aP as finalizeImageOverlayInteraction, aQ as formattingBarChromeGroups, aR as isStaleImageInteractionCommit, aS as isTableChromeSlot, aT as layoutPointsToCssPixels, aU as loadFonts, aV as overlayFrameToSheetCssPixels, aW as overlayHostOrigin, aX as pointsToEmu, aY as probeTableChromeCommand, aZ as resizePreservesAspect, a_ as runSave, a$ as runTableChromeCommand, b0 as runTableCommand, b1 as runToolbarCommand, b2 as selectedDrawingOverlayTargetOf, b3 as selectedImageStateOf, b4 as surfacePaintScale, b5 as tableChromeIconPaths, b6 as tableChromeLabelKeyForTarget, b7 as tableChromeToolbarState, b8 as tableChromeVisible, b9 as tableCommandToolbarState, ba as toolbarCommandState, bb as toolbarCommandStates } from './index-BYTvklN5.js';
14
- import { A as AutomationCapabilities, a as AutomationHost } from './protocol-DC7ueVuo.js';
15
- import { S as SemanticLayout } from './semantic-records-CzI0ZEuR.js';
16
- export { T as TextMeasurer } from './semantic-records-CzI0ZEuR.js';
17
- export { S as SectionProperties } from './semantic-cell-selection-DsYz2Vg3.js';
18
- export { N as NavigationCommand, S as SemanticPosition, a as SemanticSelection } from './semantic-interaction-C00BpIyC.js';
19
- export { F as FieldShadingMode, R as ReviewAuthorInfo, a as RevisionAuthorAssignments, b as RevisionAuthorStyle, c as RevisionStyles } from './semantic-paint-ofuoBsYo.js';
7
+ import { T as TreeDocxSessionView, f as DocumentThemeColorEntry } from './tree-session-contract-BasiwZgZ.js';
8
+ export { a as TreeApplyResult } from './tree-session-contract-BasiwZgZ.js';
9
+ import { F as FontConfiguration, E as EditorFontError, a as EditorSnapshot, b as EditorCommand, C as CanResult, Z as ZoomMode } from './editor-KiB6JNvk.js';
10
+ export { I as ImageContext, c as ImageCropPercent, d as ImageCropPermille, S as SelectedImageState, e as cropPercentFromCropPermille, f as cropPercentFromPermille, g as cropPercentFromSourceCrop, h as cropPermilleFromCropPercent, i as cropPermilleFromPercent, s as sourceCropFromCropPercent, v as validateImageCropPercent } from './editor-KiB6JNvk.js';
11
+ import { L as LayoutShapingOptions } from './shaped-measurer-qnBJziPx.js';
12
+ import { P as PaginatedSurfaceOptions, O as OpenPaginatedResult, a as PaginatedSurface, T as TableCommandPlan, D as DocxEditorInstance } from './index-D4Pxdo_p.js';
13
+ export { A as AnchorFrameOrigin, C as CHROME_GROUPS, b as CHROME_MENUS, c as CHROME_UNAVAILABLE_KEY, d as ChromeControl, e as ChromeControlId, f as ChromeControlState, g as ChromeGroup, h as ChromeGroupId, i as ChromeMenu, j as ChromeMenuEntry, k as ChromeMenuId, l as ChromeMenuItemEntry, m as ChromeMenuSeparatorEntry, n as ChromeMenuSubmenuEntry, o as ChromeSlotId, p as DEFAULT_TABLE_CHROME_DRAFT, q as DocxEditorConfig, r as DrawingSelectionIntent, E as EMU_PER_POINT, s as EquationActivation, t as EquationChromeHandlers, u as EquationOps, F as FONT_RESOLVER_BRAND, v as FONT_RESOLVER_MARK_KEY, w as FinalizedImageOverlayInteraction, x as FontConfigurationBase, y as FontConfigurationFragment, z as FontLoadFailure, B as FontLoadFailureReason, G as FontMeasurementState, H as FontOrigin, I as FontResolutionRequest, J as FontResolver, K as FontResolverMark, L as FontUrlSource, M as HyperlinkActivation, N as HyperlinkChromeHandlers, Q as HyperlinkOps, R as IMAGE_OVERLAY_NUDGE_PT, S as IMAGE_OVERLAY_NUDGE_SHIFT_PT, U as ImageInteractionSession, V as ImageOverlayScrollPort, W as ImageResizeHandle, X as ImageResizeResult, Y as LoadFontsRequest, Z as LoadFontsResult, _ as MAX_RESOLVER_FAMILIES, $ as MarkedFontResolver, a0 as OverlayFrameRect, a1 as PaginatedSurfaceState, a2 as ParagraphPropertyEdit, a3 as RemoteCaretLabelAnchor, a4 as RemoteCaretLabelHost, a5 as ReviewWriteIntent, a6 as RunTableChromeCommandResult, a7 as SectionAnchor, a8 as SectionBreakInsertType, a9 as SelectedDrawingOverlayTarget, aa as SurfaceEquation, ab as SurfaceFormatting, ac as SurfaceHyperlink, ad as SurfaceInsertImageInput, ae as SurfaceNavigation, af as SurfaceOverlayCoordinates, ag as SurfaceParagraphFormat, ah as TABLE_BORDER_STYLE_OPTIONS, ai as TABLE_BORDER_TARGET_OPTIONS, aj as TABLE_BORDER_WIDTH_OPTIONS, ak as TABLE_CHROME_SLOT_IDS, al as TableBorderStyleOption, am as TableBorderTargetOption, an as TableBorderTargetValue, ao as TableBorderWidthOption, ap as TableChromeDraft, aq as TableChromePick, ar as TableChromeSlotId, as as TableInteractionLabelKey, at as ToolbarCommandState, au as WORD_DEFAULT_FONT, av as applyTableChromePick, aw as blankDocumentBytes, ax as canExecuteImageCommand, ay as captureImageMutationPreconditions, az as chromeControlCount, aA as chromeMenuSlots, aB as chromeProbeForSlot, aC as chromeSlotId, aD as chromeSlotIsToggle, aE as commandForSlot, aF as commandForSlotValue, aG as commandForTableChromeSlotValue, aH as composeFontConfiguration, aI as composeFontOrigins, aJ as computeImageResizeResult, aK as computeMovedImagePosition, aL as computeResizedImageExtentEmu, aM as createDocxEditor, aN as createFontSource, aO as createImageOverlayScrollPort, aP as cssPixelsToLayoutPoints, aQ as defaultChromeGroups, aR as defaultTableLabel, aS as defineFontResolver, aT as emuToOverlayPoints, aU as equationAtPosition, aV as executeImageCommand, aW as finalizeImageOverlayInteraction, aX as formattingBarChromeGroups, aY as isFontResolver, aZ as isStaleImageInteractionCommit, a_ as isTableChromeSlot, a$ as layoutPointsToCssPixels, b0 as loadFonts, b1 as overlayFrameToSheetCssPixels, b2 as overlayHostOrigin, b3 as pointsToEmu, b4 as probeTableChromeCommand, b5 as resizePreservesAspect, b6 as runSave, b7 as runTableChromeCommand, b8 as runTableCommand, b9 as runToolbarCommand, ba as selectedDrawingOverlayTargetOf, bb as selectedImageStateOf, bc as surfacePaintScale, bd as tableChromeIconPaths, be as tableChromeLabelKeyForTarget, bf as tableChromeToolbarState, bg as tableChromeVisible, bh as tableCommandToolbarState, bi as toolbarCommandState, bj as toolbarCommandStates } from './index-D4Pxdo_p.js';
14
+ import { A as AutomationCapabilities, a as AutomationHost } from './protocol-DjgYKCAy.js';
15
+ import { S as SemanticLayout } from './semantic-records-BI1jpft7.js';
16
+ export { T as TextMeasurer } from './semantic-records-BI1jpft7.js';
17
+ export { S as SectionProperties } from './semantic-cell-selection-BZ50i-Fu.js';
18
+ export { N as NavigationCommand, S as SemanticPosition, a as SemanticSelection } from './semantic-interaction-BDJ4TBjm.js';
19
+ export { F as FieldShadingMode, R as ReviewAuthorInfo, a as RevisionAuthorAssignments, b as RevisionAuthorStyle, c as RevisionStyles } from './semantic-paint-DuhhY5-R.js';
20
20
  export { CollaborationModuleContribution } from './collaboration.js';
21
- import './revision-projection-B2v9U3qx.js';
22
- import './tree-package-fragment-oJZX_5iN.js';
23
- import './tree-store-B7hd6cEa.js';
21
+ import './revision-projection-BmLtLPxH.js';
22
+ import './tree-package-fragment-B1supBtE.js';
23
+ import './tree-store-APgWx6qn.js';
24
24
  import './collaboration/replication.js';
25
25
  import './failure-BnGjoXf0.js';
26
- import './custom-node-writes-CcNeHH5C.js';
26
+ import './custom-node-writes-DntmaAVW.js';
27
27
  import './document-properties-D6Ahr8D6.js';
28
28
  import 'prosemirror-model';
29
29
  import './contracts/document.js';
30
- import './note-properties-Bx7rXruA.js';
31
- import './omml-equation-69O1Pd8G.js';
30
+ import './note-properties-CDFiNXcD.js';
31
+ import './omml-equation-BY49UOIF.js';
32
32
 
33
33
  interface LayoutShapingInstrumentation {
34
34
  readonly onFontByteCopy?: () => void;
package/dist/editor.js CHANGED
@@ -1 +1 @@
1
- export{La as AUTO_ZOOM_MODE,Qa as BROWSER_AUTOMATION_CAPABILITIES,ya as CHROME_GROUPS,Ca as CHROME_MENUS,Fa as CHROME_UNAVAILABLE_KEY,_ as DEFAULT_TABLE_CHROME_DRAFT,S as EMU_PER_POINT,Ma as FIT_WIDTH_ZOOM_MODE,Q as IMAGE_OVERLAY_NUDGE_PT,R as IMAGE_OVERLAY_NUDGE_SHIFT_PT,d as LOADING_SNAPSHOT,e as MAX_RESOLVER_FAMILIES,o as PX_PER_CM,n as PX_PER_INCH,u as SNAP_TWIPS_CM,t as SNAP_TWIPS_INCH,ea as TABLE_BORDER_STYLE_OPTIONS,da as TABLE_BORDER_TARGET_OPTIONS,fa as TABLE_BORDER_WIDTH_OPTIONS,$ as TABLE_CHROME_SLOT_IDS,s as TWIPS_PER_CM,r as TWIPS_PER_INCH,f as WORD_DEFAULT_FONT,Ka as ZOOM_MAX,Ja as ZOOM_MIN,ga as applyTableChromePick,A as applyThemeShade,z as applyThemeTint,h as blankDocumentBytes,O as canExecuteImageCommand,N as captureImageMutationPreconditions,Ea as chromeControlCount,Da as chromeMenuSlots,ka as chromeProbeForSlot,za as chromeSlotId,qa as chromeSlotIsToggle,j as clipboardDropLandsText,i as clipboardPasteLandsContent,la as commandForSlot,na as commandForSlotValue,ma as commandForTableChromeSlotValue,g as composeFontConfiguration,Ya as computeImageResizeResult,X as computeMovedImagePosition,W as computeResizedImageExtentEmu,Ra as createBrowserAutomationHost,Pa as createDocxEditor,m as createFontSource,Za as createImageOverlayScrollPort,b as createLayoutShaping,K as cropPercentFromCropPermille,I as cropPercentFromPermille,F as cropPercentFromSourceCrop,J as cropPermilleFromCropPercent,H as cropPermilleFromPercent,Ua as cssPixelsToLayoutPoints,Aa as defaultChromeGroups,aa as defaultTableLabel,c as disposeLayoutShaping,x as dragIndent,xa as editorCommandKey,V as emuToOverlayPoints,Ha as equationAtPosition,P as executeImageCommand,_a as finalizeImageOverlayInteraction,Ba as formattingBarChromeGroups,p as generateRulerTicks,v as handlePosition,Y as isStaleImageInteractionCommit,ba as isTableChromeSlot,Ta as layoutPointsToCssPixels,l as loadFonts,C as lowerColorValueForBorder,D as lowerColorValueForFill,Ia as mountPaginatedSurface,Va as overlayFrameToSheetCssPixels,Wa as overlayHostOrigin,k as partOfNodeId,U as pointsToEmu,ha as probeTableChromeCommand,Xa as resizePreservesAspect,E as resolveColorValueToCss,B as resolveThemeColorHex,Na as resolveZoomMode,q as rulerPageBox,ua as runSave,sa as runTableChromeCommand,wa as runTableCommand,ta as runToolbarCommand,Oa as sameZoomMode,T as selectedDrawingOverlayTargetOf,M as selectedImageStateOf,w as snapTwips,G as sourceCropFromCropPercent,Ga as surfaceExtent,Sa as surfacePaintScale,ja as tableChromeIconPaths,ia as tableChromeLabelKeyForTarget,oa as tableChromeToolbarState,ca as tableChromeVisible,Z as tableCommandState,va as tableCommandToolbarState,a as toEditorFontError,pa as toolbarCommandState,ra as toolbarCommandStates,L as validateImageCropPercent,y as validateThemeModifier}from'./chunk-KBOOIC2Q.js';export{a as resolveEditorModules}from'./chunk-D5EHDHYV.js';import'./chunk-MHQNR2OU.js';import'./chunk-NJXQABQU.js';import'./chunk-WU7PUTVA.js';import'./chunk-MLGPISGH.js';import'./chunk-BXTTPJSH.js';import'./chunk-VGFMPWND.js';import'./chunk-IUM7FZPA.js';import'./chunk-6JIJOZDW.js';import'./chunk-W77HJGYX.js';export{m as DEFAULT_IMAGE_RESOURCE_LIMITS,Ng as DRAWING_REL_FROM_H,Og as DRAWING_REL_FROM_V,Ya as IMAGE_WRAP_TARGETS,Qg as positionInputFromPropertiesCommand,Pg as propertiesCommandHasPositionFields,n as resolveImageResourceLimits,pb as resolveSvgIntrinsicSize,lb as sniffImageMime,Mg as validateDrawingPositionInput,qb as validateRasterHeader,Rg as validateSetImagePositionCommand}from'./chunk-L6XZTLPS.js';import'./chunk-GOEBQ26R.js';
1
+ export{Qa as AUTO_ZOOM_MODE,Va as BROWSER_AUTOMATION_CAPABILITIES,Da as CHROME_GROUPS,Ha as CHROME_MENUS,Ka as CHROME_UNAVAILABLE_KEY,da as DEFAULT_TABLE_CHROME_DRAFT,X as EMU_PER_POINT,Ra as FIT_WIDTH_ZOOM_MODE,i as FONT_RESOLVER_BRAND,h as FONT_RESOLVER_MARK_KEY,V as IMAGE_OVERLAY_NUDGE_PT,W as IMAGE_OVERLAY_NUDGE_SHIFT_PT,d as LOADING_SNAPSHOT,e as MAX_RESOLVER_FAMILIES,t as PX_PER_CM,s as PX_PER_INCH,z as SNAP_TWIPS_CM,y as SNAP_TWIPS_INCH,ja as TABLE_BORDER_STYLE_OPTIONS,ia as TABLE_BORDER_TARGET_OPTIONS,ka as TABLE_BORDER_WIDTH_OPTIONS,ea as TABLE_CHROME_SLOT_IDS,x as TWIPS_PER_CM,w as TWIPS_PER_INCH,f as WORD_DEFAULT_FONT,Pa as ZOOM_MAX,Oa as ZOOM_MIN,la as applyTableChromePick,F as applyThemeShade,E as applyThemeTint,m as blankDocumentBytes,T as canExecuteImageCommand,S as captureImageMutationPreconditions,Ja as chromeControlCount,Ia as chromeMenuSlots,pa as chromeProbeForSlot,Ea as chromeSlotId,va as chromeSlotIsToggle,o as clipboardDropLandsText,n as clipboardPasteLandsContent,qa as commandForSlot,sa as commandForSlotValue,ra as commandForTableChromeSlotValue,g as composeFontConfiguration,l as composeFontOrigins,bb as computeImageResizeResult,aa as computeMovedImagePosition,$ as computeResizedImageExtentEmu,Wa as createBrowserAutomationHost,Ua as createDocxEditor,r as createFontSource,cb as createImageOverlayScrollPort,b as createLayoutShaping,P as cropPercentFromCropPermille,N as cropPercentFromPermille,K as cropPercentFromSourceCrop,O as cropPermilleFromCropPercent,M as cropPermilleFromPercent,Za as cssPixelsToLayoutPoints,Fa as defaultChromeGroups,fa as defaultTableLabel,j as defineFontResolver,c as disposeLayoutShaping,C as dragIndent,Ca as editorCommandKey,_ as emuToOverlayPoints,Ma as equationAtPosition,U as executeImageCommand,db as finalizeImageOverlayInteraction,Ga as formattingBarChromeGroups,u as generateRulerTicks,A as handlePosition,k as isFontResolver,ba as isStaleImageInteractionCommit,ga as isTableChromeSlot,Ya as layoutPointsToCssPixels,q as loadFonts,H as lowerColorValueForBorder,I as lowerColorValueForFill,Na as mountPaginatedSurface,_a as overlayFrameToSheetCssPixels,$a as overlayHostOrigin,p as partOfNodeId,Z as pointsToEmu,ma as probeTableChromeCommand,ab as resizePreservesAspect,J as resolveColorValueToCss,G as resolveThemeColorHex,Sa as resolveZoomMode,v as rulerPageBox,za as runSave,xa as runTableChromeCommand,Ba as runTableCommand,ya as runToolbarCommand,Ta as sameZoomMode,Y as selectedDrawingOverlayTargetOf,R as selectedImageStateOf,B as snapTwips,L as sourceCropFromCropPercent,La as surfaceExtent,Xa as surfacePaintScale,oa as tableChromeIconPaths,na as tableChromeLabelKeyForTarget,ta as tableChromeToolbarState,ha as tableChromeVisible,ca as tableCommandState,Aa as tableCommandToolbarState,a as toEditorFontError,ua as toolbarCommandState,wa as toolbarCommandStates,Q as validateImageCropPercent,D as validateThemeModifier}from'./chunk-BHAUFJO6.js';export{a as resolveEditorModules}from'./chunk-D5EHDHYV.js';import'./chunk-VBEKERLJ.js';import'./chunk-OF2QZCTN.js';import'./chunk-RIYSCEFQ.js';import'./chunk-IOTL2GGW.js';import'./chunk-RO3HFCML.js';import'./chunk-PRIBU3UH.js';import'./chunk-SFOUCTKA.js';import'./chunk-6JIJOZDW.js';import'./chunk-HWWHGREA.js';export{m as DEFAULT_IMAGE_RESOURCE_LIMITS,Ng as DRAWING_REL_FROM_H,Og as DRAWING_REL_FROM_V,Ya as IMAGE_WRAP_TARGETS,Qg as positionInputFromPropertiesCommand,Pg as propertiesCommandHasPositionFields,n as resolveImageResourceLimits,pb as resolveSvgIntrinsicSize,lb as sniffImageMime,Mg as validateDrawingPositionInput,qb as validateRasterHeader,Rg as validateSetImagePositionCommand}from'./chunk-YMW34EBA.js';import'./chunk-GOEBQ26R.js';
@@ -1,18 +1,18 @@
1
- import { T as TreeDocOp, C as ImageDecodePort, v as DrawingPositionInput, H as DrawingTransform, F as DrawingTreeDocOp, y as SupportedImageMime } from './tree-op-types-HKfUzt_-.js';
1
+ import { T as TreeDocOp, C as ImageDecodePort, v as DrawingPositionInput, W as DrawingTransform, F as DrawingTreeDocOp, y as SupportedImageMime } from './tree-op-types-D6HzlPR4.js';
2
2
  import { Unsubscribe, ExecResult, ParagraphTabStop, IndentFormatting, ParagraphFlags, ParagraphDisagreements, SelectionPin } from './contracts/types.js';
3
- import { g as ReviewRevisionKind } from './review-items-B78OsJU2.js';
3
+ import { g as ReviewRevisionKind } from './review-items-CCS1h93f.js';
4
4
  import { EditorModule, ReviewModuleContribution } from './contracts/modules.js';
5
- import { j as FontSource, k as FontSourceSubstitution, F as FontConfiguration, D as DocumentSource, Z as ZoomMode, E as EditorFontError, l as Editor, b as EditorCommand, C as CanResult, S as SelectedImageState, m as FormatPainterSurfaceState, V as ViewScope, n as FontFaceRequest, I as ImageContext, T as TableBorderEdgeTarget, o as TableBorderSpec, p as TableBorderStyle, q as TableContext } from './editor-BcdsPdbY.js';
6
- import { R as RevisionDisplayMode } from './revision-projection-B2v9U3qx.js';
7
- import { S as SemanticPosition, a as SemanticSelection, N as NavigationCommand } from './semantic-interaction-C00BpIyC.js';
5
+ import { j as FontSource, k as FontSourceSubstitution, l as FontFaceRequest, F as FontConfiguration, D as DocumentSource, Z as ZoomMode, E as EditorFontError, m as Editor, b as EditorCommand, C as CanResult, S as SelectedImageState, n as FormatPainterSurfaceState, V as ViewScope, I as ImageContext, T as TableBorderEdgeTarget, o as TableBorderSpec, p as TableBorderStyle, q as TableContext } from './editor-KiB6JNvk.js';
6
+ import { R as RevisionDisplayMode } from './revision-projection-BmLtLPxH.js';
7
+ import { S as SemanticPosition, a as SemanticSelection, N as NavigationCommand } from './semantic-interaction-BDJ4TBjm.js';
8
8
  import { EditorCollaborationSession, CollaborationRemoteSelection, CollaborationModuleContribution } from './collaboration.js';
9
- import { c as RevisionStyles, R as ReviewAuthorInfo, b as RevisionAuthorStyle, F as FieldShadingMode, d as DrawingPaintStrings } from './semantic-paint-ofuoBsYo.js';
10
- import { R as ResolvedFootnoteProperties, a as ResolvedEndnoteProperties, A as AuthoredNoteProperties } from './note-properties-Bx7rXruA.js';
11
- import { S as SemanticLayout, C as ContentControlBoundaryRecord, T as TextMeasurer } from './semantic-records-CzI0ZEuR.js';
12
- import { B as BookmarkIndex } from './custom-node-writes-CcNeHH5C.js';
13
- import { I as InsertImageInput, S as StoryScope, A as ApplyImagePropertiesInput, d as ImageIntentResult } from './tree-package-fragment-oJZX_5iN.js';
14
- import { C as CellSelection, S as SectionProperties } from './semantic-cell-selection-DsYz2Vg3.js';
15
- import { T as TreeDocxSessionView, a as TreeApplyResult } from './tree-session-contract-BPDLrEPX.js';
9
+ import { c as RevisionStyles, R as ReviewAuthorInfo, b as RevisionAuthorStyle, F as FieldShadingMode, d as DrawingPaintStrings } from './semantic-paint-DuhhY5-R.js';
10
+ import { R as ResolvedFootnoteProperties, a as ResolvedEndnoteProperties, A as AuthoredNoteProperties } from './note-properties-CDFiNXcD.js';
11
+ import { S as SemanticLayout, C as ContentControlBoundaryRecord, T as TextMeasurer } from './semantic-records-BI1jpft7.js';
12
+ import { B as BookmarkIndex } from './custom-node-writes-DntmaAVW.js';
13
+ import { I as InsertImageInput, S as StoryScope, A as ApplyImagePropertiesInput, d as ImageIntentResult } from './tree-package-fragment-B1supBtE.js';
14
+ import { C as CellSelection, S as SectionProperties } from './semantic-cell-selection-BZ50i-Fu.js';
15
+ import { T as TreeDocxSessionView, a as TreeApplyResult } from './tree-session-contract-BasiwZgZ.js';
16
16
  import { C as CollaborationStatus } from './failure-BnGjoXf0.js';
17
17
  import './contracts/document.js';
18
18
 
@@ -58,6 +58,26 @@ interface FontResolutionRequest {
58
58
  readonly families: readonly string[];
59
59
  /** The face a run naming no font resolves to, so a resolver can cover it too. */
60
60
  readonly defaultFamily: string;
61
+ /**
62
+ * Faces an EARLIER origin in the same composition can already PAINT — either because it
63
+ * supplied the bytes, or because it mapped that face onto one it did supply.
64
+ *
65
+ * Absent, not empty, when there is nothing to report: the engine calling a resolver
66
+ * directly, and the first origin of a composition.
67
+ *
68
+ * FACES, not families, and only faces backed by bytes. Both narrowings are load-bearing.
69
+ * A family-grained list would let an origin holding only regular Arial suppress the bold
70
+ * and italic a later origin would have supplied, and a list built from substitutions
71
+ * alone would let an origin whose fetches all failed suppress the failover behind it,
72
+ * because both shipped resolvers emit their substitution map before fetching. Together
73
+ * they are what makes honouring this an OPTIMIZATION rather than a correctness
74
+ * requirement: skipping a reported face cannot lose one, so a resolver that ignores this
75
+ * list only spends bytes on a face first-wins composition would drop anyway.
76
+ *
77
+ * Match it case-insensitively. Word matches font names that way and both shipped
78
+ * resolvers do.
79
+ */
80
+ readonly resolvedFaces?: readonly FontFaceRequest[];
61
81
  }
62
82
  /**
63
83
  * Resolve fonts once the document's needs are known, instead of ahead of them.
@@ -103,6 +123,132 @@ declare const WORD_DEFAULT_FONT: FontConfiguration['defaultFont'];
103
123
  */
104
124
  declare function composeFontConfiguration(base: FontConfigurationBase, ...fragments: readonly FontConfigurationFragment[]): FontConfiguration;
105
125
 
126
+ /**
127
+ * The namespaced key carrying the type-level half of the mark, and the runtime property
128
+ * name that backs it.
129
+ *
130
+ * A plain string rather than a symbol on purpose: `@docx-editor.dev/fonts` has no runtime
131
+ * or type dependency on the engine, so it declares the same mark itself, and two
132
+ * `unique symbol`s in two packages would not unify. Two identical string keys do.
133
+ *
134
+ * @public
135
+ */
136
+ declare const FONT_RESOLVER_MARK_KEY = "docx-editor.dev/font-resolver";
137
+ /**
138
+ * The runtime marker `defineFontResolver` sets and {@link isFontResolver} reads.
139
+ *
140
+ * Exported because a package mirroring the font contract structurally still has to mark
141
+ * the resolvers it builds. A package in that position sets
142
+ * `Symbol.for('docx-editor.dev/font-resolver')` itself; this constant is the same symbol,
143
+ * named, for everyone who can import it.
144
+ *
145
+ * @public
146
+ */
147
+ declare const FONT_RESOLVER_BRAND: unique symbol;
148
+ /**
149
+ * The type-level half of the mark: what {@link defineFontResolver} adds to a function's
150
+ * type so a `FontOrigin` list can REQUIRE it.
151
+ *
152
+ * Declared with a string key so `@docx-editor.dev/fonts` can declare an identical
153
+ * interface and have the two unify without importing anything from the engine. Set at
154
+ * runtime as well as in the type — non-enumerable, so it stays out of `Object.keys` and
155
+ * out of a host's own spread.
156
+ *
157
+ * @public
158
+ */
159
+ interface FontResolverMark {
160
+ /** Always `true`. Set non-enumerably by {@link defineFontResolver}. */
161
+ readonly 'docx-editor.dev/font-resolver': true;
162
+ }
163
+ /**
164
+ * A {@link FontResolver} that has been through {@link defineFontResolver}.
165
+ *
166
+ * This, not bare `FontResolver`, is what a `FontOrigin` list accepts. The mark is the only
167
+ * thing separating a resolver from a zero-argument loader, and getting that wrong loses
168
+ * every font silently, so the type asks for it up front.
169
+ *
170
+ * @public
171
+ */
172
+ type MarkedFontResolver<T extends FontResolver = FontResolver> = T & FontResolverMark;
173
+ /**
174
+ * Mark a function as an on-demand {@link FontResolver}.
175
+ *
176
+ * Wrap every resolver you put in a `fonts` list — `useFonts(...)`, `useDocxSource`'s
177
+ * `fonts` option, `composeFontOrigins`. The `fonts` PROP needs no marking, because a
178
+ * function there is always a resolver; a list also accepts the older zero-argument loader
179
+ * form (`{ fonts: defaultFonts }`), and this is what keeps the two apart.
180
+ *
181
+ * Returns the same function object, mutated, so the mark survives being passed around and
182
+ * a marked resolver stays `===` to itself. It does NOT survive `.bind()` or being wrapped:
183
+ * both make a new function object. Re-mark the result.
184
+ *
185
+ * ```ts
186
+ * const brandFonts = defineFontResolver(async ({ families }) => ({
187
+ * sources: await loadMine(families),
188
+ * }));
189
+ * ```
190
+ *
191
+ * Throws a `TypeError` on a frozen or sealed function, which cannot take the mark. That is
192
+ * deliberate: returning it unmarked would compile — the return TYPE says marked — and then
193
+ * lose every font at runtime.
194
+ *
195
+ * @public
196
+ */
197
+ declare function defineFontResolver<T extends FontResolver>(resolve: T): MarkedFontResolver<T>;
198
+ /**
199
+ * Whether a value is a function marked by {@link defineFontResolver}.
200
+ *
201
+ * False for an unmarked function, which callers read as a zero-argument loader. Calling a
202
+ * resolver that way reads `request.defaultFamily` off `undefined` and throws, so the
203
+ * callers that make this choice say so rather than swallowing it — and the type-level mark
204
+ * on {@link MarkedFontResolver} is there to stop it reaching runtime at all.
205
+ *
206
+ * @public
207
+ */
208
+ declare function isFontResolver(value: unknown): value is MarkedFontResolver;
209
+ /**
210
+ * ONE font origin, in the one shape every origin takes: a finished configuration, a
211
+ * fragment, a promise for either, or a marked resolver that answers per document.
212
+ *
213
+ * The point of the union is that `packagedFonts()`, `googleFonts()`, `await defaultFonts()`
214
+ * and a hand-built `{ sources }` are all the same kind of thing, so a list of them needs no
215
+ * ordering rule beyond "first wins".
216
+ *
217
+ * The resolver arm is {@link MarkedFontResolver}, not bare `FontResolver`: a list may also
218
+ * hold a zero-argument loader, and only the mark separates the two.
219
+ *
220
+ * @public
221
+ */
222
+ type FontOrigin = FontConfiguration | FontConfigurationFragment | MarkedFontResolver | Promise<FontConfiguration | FontConfigurationFragment | undefined> | undefined;
223
+ /**
224
+ * Resolve a list of {@link FontOrigin}s against one document's needs and merge them,
225
+ * first-wins in list order.
226
+ *
227
+ * Origins resolve IN ORDER, one after another, and each is told which faces the ones
228
+ * before it can already paint ({@link FontResolutionRequest.resolvedFaces}). Sequential
229
+ * rather than a `Promise.all`, and that is a real cost — one extra origin's latency on the
230
+ * critical path — bought deliberately: composition is first-wins, so a later origin's copy
231
+ * of a face an earlier one supplied can never be used, and fetching it anyway spends the
232
+ * bytes twice and tells a font host which families the document uses for a result that
233
+ * gets thrown away. Order origins cheapest-first.
234
+ *
235
+ * A resolver that ignores `resolvedFaces` still composes correctly; it just spends more.
236
+ *
237
+ * ONE ORIGIN CANNOT SINK THE REST. An origin that throws, answers `null`, or answers
238
+ * something malformed is reported and skipped whole, and the origins around it still
239
+ * compose — an app that listed a flaky network origin behind a bundled one keeps the
240
+ * bundled faces. Skipped WHOLE: an answer is read completely before any of it is
241
+ * committed, so a half-ingested origin can never reach composition.
242
+ *
243
+ * The result carries NO `epoch`: it is a fragment for the engine to stamp with the load
244
+ * sequence. A fixed epoch from here would label every document's byte set as the same one.
245
+ * `undefined` means no origin contributed anything, which is a normal answer — the document
246
+ * stays on the fixed measurer.
247
+ *
248
+ * @public
249
+ */
250
+ declare function composeFontOrigins(origins: readonly FontOrigin[], request: FontResolutionRequest): Promise<FontConfigurationFragment | undefined>;
251
+
106
252
  /**
107
253
  * A Word-faithful blank document, freshly zipped per call (the caller may hand the
108
254
  * bytes to a loader that takes ownership). Calibri 11pt and Word's Normal paragraph
@@ -1741,6 +1887,15 @@ interface PaginatedSurface {
1741
1887
  insertToc(): boolean;
1742
1888
  /** Refresh cached TOC entries and/or page numbers through the two-pass layout pipeline. */
1743
1889
  refreshToc(tocId?: string, mode?: 'entire' | 'pageNumbers'): boolean;
1890
+ /**
1891
+ * Rewrite stale REF field results in the body, footnote and endnote stories so a save
1892
+ * exports what the pages paint. Fresh results commit nothing (no transaction, no revision
1893
+ * bump, no undo entry); a rewrite is ONE transaction and ONE undo unit across every stale
1894
+ * part. Viewing, a non-editable session, and a collaborative session write nothing — the
1895
+ * collaboration gate cannot journal the rewrite, so those saves export cached results and
1896
+ * the call returns false.
1897
+ */
1898
+ refreshRefFieldResults(): boolean;
1744
1899
  /** Whether a body paragraph belongs to a detected TOC boundary or cached result. */
1745
1900
  isInsideToc(paragraphId: string): boolean;
1746
1901
  /**
@@ -3199,4 +3354,4 @@ declare function runTableCommand(editor: Editor | null, command: EditorCommand):
3199
3354
  */
3200
3355
  declare function createDocxEditor(config: DocxEditorConfig): DocxEditorInstance;
3201
3356
 
3202
- export { type RemoteCaretLabelHost as $, type AnchorFrameOrigin as A, type FontResolutionRequest as B, CHROME_GROUPS as C, type DocxEditorInstance as D, EMU_PER_POINT as E, type FinalizedImageOverlayInteraction as F, type FontResolver as G, type FontUrlSource as H, type HyperlinkActivation as I, type HyperlinkChromeHandlers as J, type HyperlinkOps as K, IMAGE_OVERLAY_NUDGE_PT as L, IMAGE_OVERLAY_NUDGE_SHIFT_PT as M, type ImageInteractionSession as N, type OpenPaginatedResult as O, type PaginatedSurfaceOptions as P, type ImageOverlayScrollPort as Q, type ImageResizeHandle as R, type ImageResizeResult as S, type TableCommandPlan as T, type LoadFontsRequest as U, type LoadFontsResult as V, MAX_RESOLVER_FAMILIES as W, type OverlayFrameRect as X, type PaginatedSurfaceState as Y, type ParagraphPropertyEdit as Z, type RemoteCaretLabelAnchor as _, type PaginatedSurface as a, runTableChromeCommand as a$, type ReviewWriteIntent as a0, type RunTableChromeCommandResult as a1, type SectionAnchor as a2, type SectionBreakInsertType as a3, type SelectedDrawingOverlayTarget as a4, type SurfaceEquation as a5, type SurfaceFormatting as a6, type SurfaceHyperlink as a7, type SurfaceInsertImageInput as a8, type SurfaceNavigation as a9, commandForSlotValue as aA, commandForTableChromeSlotValue as aB, composeFontConfiguration as aC, computeImageResizeResult as aD, computeMovedImagePosition as aE, computeResizedImageExtentEmu as aF, createDocxEditor as aG, createFontSource as aH, createImageOverlayScrollPort as aI, cssPixelsToLayoutPoints as aJ, defaultChromeGroups as aK, defaultTableLabel as aL, emuToOverlayPoints as aM, equationAtPosition as aN, executeImageCommand as aO, finalizeImageOverlayInteraction as aP, formattingBarChromeGroups as aQ, isStaleImageInteractionCommit as aR, isTableChromeSlot as aS, layoutPointsToCssPixels as aT, loadFonts as aU, overlayFrameToSheetCssPixels as aV, overlayHostOrigin as aW, pointsToEmu as aX, probeTableChromeCommand as aY, resizePreservesAspect as aZ, runSave as a_, type SurfaceOverlayCoordinates as aa, type SurfaceParagraphFormat as ab, TABLE_BORDER_STYLE_OPTIONS as ac, TABLE_BORDER_TARGET_OPTIONS as ad, TABLE_BORDER_WIDTH_OPTIONS as ae, TABLE_CHROME_SLOT_IDS as af, type TableBorderStyleOption as ag, type TableBorderTargetOption as ah, type TableBorderTargetValue as ai, type TableBorderWidthOption as aj, type TableChromeDraft as ak, type TableChromePick as al, type TableChromeSlotId as am, type TableInteractionLabelKey as an, type ToolbarCommandState as ao, WORD_DEFAULT_FONT as ap, applyTableChromePick as aq, blankDocumentBytes as ar, canExecuteImageCommand as as, captureImageMutationPreconditions as at, chromeControlCount as au, chromeMenuSlots as av, chromeProbeForSlot as aw, chromeSlotId as ax, chromeSlotIsToggle as ay, commandForSlot as az, CHROME_MENUS as b, runTableCommand as b0, runToolbarCommand as b1, selectedDrawingOverlayTargetOf as b2, selectedImageStateOf as b3, surfacePaintScale as b4, tableChromeIconPaths as b5, tableChromeLabelKeyForTarget as b6, tableChromeToolbarState as b7, tableChromeVisible as b8, tableCommandToolbarState as b9, toolbarCommandState as ba, toolbarCommandStates as bb, CHROME_UNAVAILABLE_KEY as c, type ChromeControl as d, type ChromeControlId as e, type ChromeControlState as f, type ChromeGroup as g, type ChromeGroupId as h, type ChromeMenu as i, type ChromeMenuEntry as j, type ChromeMenuId as k, type ChromeMenuItemEntry as l, type ChromeMenuSeparatorEntry as m, type ChromeMenuSubmenuEntry as n, type ChromeSlotId as o, DEFAULT_TABLE_CHROME_DRAFT as p, type DocxEditorConfig as q, type DrawingSelectionIntent as r, type EquationActivation as s, type EquationChromeHandlers as t, type EquationOps as u, type FontConfigurationBase as v, type FontConfigurationFragment as w, type FontLoadFailure as x, type FontLoadFailureReason as y, type FontMeasurementState as z };
3357
+ export { type MarkedFontResolver as $, type AnchorFrameOrigin as A, type FontLoadFailureReason as B, CHROME_GROUPS as C, type DocxEditorInstance as D, EMU_PER_POINT as E, FONT_RESOLVER_BRAND as F, type FontMeasurementState as G, type FontOrigin as H, type FontResolutionRequest as I, type FontResolver as J, type FontResolverMark as K, type FontUrlSource as L, type HyperlinkActivation as M, type HyperlinkChromeHandlers as N, type OpenPaginatedResult as O, type PaginatedSurfaceOptions as P, type HyperlinkOps as Q, IMAGE_OVERLAY_NUDGE_PT as R, IMAGE_OVERLAY_NUDGE_SHIFT_PT as S, type TableCommandPlan as T, type ImageInteractionSession as U, type ImageOverlayScrollPort as V, type ImageResizeHandle as W, type ImageResizeResult as X, type LoadFontsRequest as Y, type LoadFontsResult as Z, MAX_RESOLVER_FAMILIES as _, type PaginatedSurface as a, layoutPointsToCssPixels as a$, type OverlayFrameRect as a0, type PaginatedSurfaceState as a1, type ParagraphPropertyEdit as a2, type RemoteCaretLabelAnchor as a3, type RemoteCaretLabelHost as a4, type ReviewWriteIntent as a5, type RunTableChromeCommandResult as a6, type SectionAnchor as a7, type SectionBreakInsertType as a8, type SelectedDrawingOverlayTarget as a9, chromeMenuSlots as aA, chromeProbeForSlot as aB, chromeSlotId as aC, chromeSlotIsToggle as aD, commandForSlot as aE, commandForSlotValue as aF, commandForTableChromeSlotValue as aG, composeFontConfiguration as aH, composeFontOrigins as aI, computeImageResizeResult as aJ, computeMovedImagePosition as aK, computeResizedImageExtentEmu as aL, createDocxEditor as aM, createFontSource as aN, createImageOverlayScrollPort as aO, cssPixelsToLayoutPoints as aP, defaultChromeGroups as aQ, defaultTableLabel as aR, defineFontResolver as aS, emuToOverlayPoints as aT, equationAtPosition as aU, executeImageCommand as aV, finalizeImageOverlayInteraction as aW, formattingBarChromeGroups as aX, isFontResolver as aY, isStaleImageInteractionCommit as aZ, isTableChromeSlot as a_, type SurfaceEquation as aa, type SurfaceFormatting as ab, type SurfaceHyperlink as ac, type SurfaceInsertImageInput as ad, type SurfaceNavigation as ae, type SurfaceOverlayCoordinates as af, type SurfaceParagraphFormat as ag, TABLE_BORDER_STYLE_OPTIONS as ah, TABLE_BORDER_TARGET_OPTIONS as ai, TABLE_BORDER_WIDTH_OPTIONS as aj, TABLE_CHROME_SLOT_IDS as ak, type TableBorderStyleOption as al, type TableBorderTargetOption as am, type TableBorderTargetValue as an, type TableBorderWidthOption as ao, type TableChromeDraft as ap, type TableChromePick as aq, type TableChromeSlotId as ar, type TableInteractionLabelKey as as, type ToolbarCommandState as at, WORD_DEFAULT_FONT as au, applyTableChromePick as av, blankDocumentBytes as aw, canExecuteImageCommand as ax, captureImageMutationPreconditions as ay, chromeControlCount as az, CHROME_MENUS as b, loadFonts as b0, overlayFrameToSheetCssPixels as b1, overlayHostOrigin as b2, pointsToEmu as b3, probeTableChromeCommand as b4, resizePreservesAspect as b5, runSave as b6, runTableChromeCommand as b7, runTableCommand as b8, runToolbarCommand as b9, selectedDrawingOverlayTargetOf as ba, selectedImageStateOf as bb, surfacePaintScale as bc, tableChromeIconPaths as bd, tableChromeLabelKeyForTarget as be, tableChromeToolbarState as bf, tableChromeVisible as bg, tableCommandToolbarState as bh, toolbarCommandState as bi, toolbarCommandStates as bj, CHROME_UNAVAILABLE_KEY as c, type ChromeControl as d, type ChromeControlId as e, type ChromeControlState as f, type ChromeGroup as g, type ChromeGroupId as h, type ChromeMenu as i, type ChromeMenuEntry as j, type ChromeMenuId as k, type ChromeMenuItemEntry as l, type ChromeMenuSeparatorEntry as m, type ChromeMenuSubmenuEntry as n, type ChromeSlotId as o, DEFAULT_TABLE_CHROME_DRAFT as p, type DocxEditorConfig as q, type DrawingSelectionIntent as r, type EquationActivation as s, type EquationChromeHandlers as t, type EquationOps as u, FONT_RESOLVER_MARK_KEY as v, type FinalizedImageOverlayInteraction as w, type FontConfigurationBase as x, type FontConfigurationFragment as y, type FontLoadFailure as z };