@docx-editor.dev/core 2.9.2 → 2.10.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 (94) hide show
  1. package/dist/automation.cjs +1 -1
  2. package/dist/automation.js +1 -1
  3. package/dist/binding.cjs +1 -1
  4. package/dist/binding.d.cts +74 -10
  5. package/dist/binding.d.ts +74 -10
  6. package/dist/binding.js +1 -1
  7. package/dist/chunk-27APDXY2.js +2 -0
  8. package/dist/chunk-35MI6K7M.cjs +10 -0
  9. package/dist/chunk-4XL7SOWQ.cjs +2 -0
  10. package/dist/chunk-6K6QQVAZ.cjs +18 -0
  11. package/dist/chunk-7ZJL5AEY.cjs +1 -0
  12. package/dist/chunk-C6LK2BYA.cjs +2 -0
  13. package/dist/chunk-HBEBUCRM.cjs +5 -0
  14. package/dist/chunk-LG5K46OM.js +2 -0
  15. package/dist/chunk-LWADHMVV.js +5 -0
  16. package/dist/chunk-N725IUO7.js +18 -0
  17. package/dist/chunk-N7DBENH4.js +10 -0
  18. package/dist/chunk-NVGFWMCO.js +1 -0
  19. package/dist/chunk-SYTWKJPJ.cjs +18 -0
  20. package/dist/chunk-YI6JXF7U.js +18 -0
  21. package/dist/contracts/document.d.cts +6 -1
  22. package/dist/contracts/document.d.ts +6 -1
  23. package/dist/contracts/editor.d.cts +6 -6
  24. package/dist/contracts/editor.d.ts +6 -6
  25. package/dist/contracts/interaction.d.cts +6 -6
  26. package/dist/contracts/interaction.d.ts +6 -6
  27. package/dist/contracts/modules.d.cts +3 -4
  28. package/dist/contracts/modules.d.ts +3 -4
  29. package/dist/{custom-node-writes-D6SGwebL.d.ts → custom-node-writes-BvpWCnW8.d.ts} +35 -4
  30. package/dist/{custom-node-writes-Dy3b20PS.d.cts → custom-node-writes-Db8H6Z3n.d.cts} +35 -4
  31. package/dist/{editor-Cvd7Geoc.d.ts → editor-C0my6Uta.d.ts} +35 -14
  32. package/dist/{editor-cAEf1uXW.d.cts → editor-CwzY2Hcg.d.cts} +35 -14
  33. package/dist/editor.cjs +1 -1
  34. package/dist/editor.css +57 -456
  35. package/dist/editor.d.cts +20 -20
  36. package/dist/editor.d.ts +20 -20
  37. package/dist/editor.js +1 -1
  38. package/dist/{index-DRqY5JVF.d.ts → index-kID8Ymkp.d.ts} +79 -19
  39. package/dist/{index-wb-iOxfh.d.cts → index-nLFwo_17.d.cts} +79 -19
  40. package/dist/index.cjs +1 -1
  41. package/dist/index.d.cts +13 -13
  42. package/dist/index.d.ts +13 -13
  43. package/dist/index.js +1 -1
  44. package/dist/layout.cjs +1 -1
  45. package/dist/layout.d.cts +38 -19
  46. package/dist/layout.d.ts +38 -19
  47. package/dist/layout.js +1 -1
  48. package/dist/output.cjs +1 -1
  49. package/dist/output.d.cts +6 -6
  50. package/dist/output.d.ts +6 -6
  51. package/dist/output.js +1 -1
  52. package/dist/{review-items-B8tffIXj.d.cts → review-items-CwixiHNe.d.cts} +1 -1
  53. package/dist/{review-items-bdGxFWNA.d.ts → review-items-Dw-8a6Ie.d.ts} +1 -1
  54. package/dist/{review-reads-Bxz03tHG.d.cts → review-reads-BqkiJTeR.d.cts} +1 -1
  55. package/dist/{review-reads-CHODU0LI.d.ts → review-reads-C0u-IKEA.d.ts} +1 -1
  56. package/dist/{semantic-cell-selection-BPzx6DdT.d.cts → semantic-cell-selection-DT9x9WLf.d.cts} +2 -2
  57. package/dist/{semantic-cell-selection-CsHcr-yk.d.ts → semantic-cell-selection-Utrf0lz7.d.ts} +2 -2
  58. package/dist/{semantic-interaction-BfWDD_0V.d.cts → semantic-interaction-B6hFRQLy.d.ts} +21 -2
  59. package/dist/{semantic-interaction-D-RZ9Ust.d.ts → semantic-interaction-Z0xKQcB4.d.cts} +21 -2
  60. package/dist/{semantic-paint-WhVtSDJK.d.ts → semantic-paint-CQEOC0Od.d.cts} +2 -2
  61. package/dist/{semantic-paint-Bd7EqzXV.d.cts → semantic-paint-quke354p.d.ts} +2 -2
  62. package/dist/{semantic-records-DadVT_E1.d.cts → semantic-records-CMakzQ1X.d.cts} +16 -2
  63. package/dist/{semantic-records-DCt-ZwKU.d.ts → semantic-records-Do3-i5oB.d.ts} +16 -2
  64. package/dist/{shaped-measurer-B9f4A7QA.d.ts → shaped-measurer-BxwTUluj.d.ts} +1 -1
  65. package/dist/{shaped-measurer-CninrHr_.d.cts → shaped-measurer-DzRwWrL5.d.cts} +1 -1
  66. package/dist/store.cjs +1 -1
  67. package/dist/store.d.cts +128 -12
  68. package/dist/store.d.ts +128 -12
  69. package/dist/store.js +1 -1
  70. package/dist/tree-op-revision-attribution-CN06Xshv.d.cts +24 -0
  71. package/dist/tree-op-revision-attribution-CN06Xshv.d.ts +24 -0
  72. package/dist/{tree-op-types-CnRb7AYo.d.ts → tree-op-types-BuOfCrkp.d.ts} +259 -32
  73. package/dist/{tree-op-types-D1vNJ7XC.d.cts → tree-op-types-DSJYmf5b.d.cts} +259 -32
  74. package/dist/{tree-session-Df02ajqc.d.cts → tree-session-contract-ByWx8eew.d.cts} +44 -104
  75. package/dist/{tree-session-ZuBFOhIh.d.ts → tree-session-contract-C1dfE9hy.d.ts} +44 -104
  76. package/dist/{tree-store-DgETo6Mf.d.ts → tree-store-ASBtz7UB.d.ts} +1 -1
  77. package/dist/{tree-store-B_sJBMIS.d.cts → tree-store-CWOUMGN8.d.cts} +1 -1
  78. package/package.json +2 -2
  79. package/dist/chunk-6JWP2H7K.js +0 -2
  80. package/dist/chunk-6KNLLEUW.cjs +0 -18
  81. package/dist/chunk-7ADTI533.cjs +0 -10
  82. package/dist/chunk-7ETDCPF6.cjs +0 -2
  83. package/dist/chunk-7I3BSGGS.js +0 -1
  84. package/dist/chunk-7UU5YFCD.cjs +0 -2
  85. package/dist/chunk-CKDAK3MV.js +0 -10
  86. package/dist/chunk-DIMEYVNS.js +0 -2
  87. package/dist/chunk-H2656QDI.cjs +0 -1
  88. package/dist/chunk-KQGENNL5.cjs +0 -15
  89. package/dist/chunk-LIXPSV4T.js +0 -18
  90. package/dist/chunk-O4UULRAQ.cjs +0 -5
  91. package/dist/chunk-SIIFNE6U.js +0 -15
  92. package/dist/chunk-VXYECPKA.js +0 -5
  93. package/dist/image-resources-BgA9EQxY.d.ts +0 -203
  94. package/dist/image-resources-BiA-IXgo.d.cts +0 -203
package/dist/editor.d.cts CHANGED
@@ -1,31 +1,31 @@
1
- export { D as DEFAULT_IMAGE_RESOURCE_LIMITS, b as ImageDecodePort, c as ImageResourceLimits, R as RenderableImageMime, S as SupportedImageMime, a as VectorImageMime, r as resolveImageResourceLimits, d as resolveSvgIntrinsicSize, s as sniffImageMime, v as validateRasterHeader } from './image-resources-BiA-IXgo.cjs';
2
- import { j as TreeDocColorValue, d as DrawingPositionInput } from './tree-op-types-D1vNJ7XC.cjs';
3
- export { k as IMAGE_WRAP_TARGETS, b as ImageWrapTarget } from './tree-op-types-D1vNJ7XC.cjs';
1
+ import { l as TreeDocColorValue, d as DrawingPositionInput } from './tree-op-types-DSJYmf5b.cjs';
2
+ export { m as DEFAULT_IMAGE_RESOURCE_LIMITS, n as IMAGE_WRAP_TARGETS, j as ImageDecodePort, o as ImageResourceLimits, b as ImageWrapTarget, R as RenderableImageMime, c as SupportedImageMime, i as VectorImageMime, r as resolveImageResourceLimits, p as resolveSvgIntrinsicSize, s as sniffImageMime, v as validateRasterHeader } from './tree-op-types-DSJYmf5b.cjs';
4
3
  import { ColorValue } from './contracts/types.cjs';
5
4
  export { ParagraphFlags, ParagraphTabStop } from './contracts/types.cjs';
6
- export { R as ReviewModelInput } from './review-items-B8tffIXj.cjs';
7
- import { c as TreeDocxSessionView, g as DocumentThemeColorEntry } from './tree-session-Df02ajqc.cjs';
8
- export { a as TreeApplyResult } from './tree-session-Df02ajqc.cjs';
9
- import { F as FontConfiguration, E as EditorFontError, a as EditorSnapshot, b as EditorCommand, C as CanResult, Z as ZoomMode } from './editor-cAEf1uXW.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-cAEf1uXW.cjs';
11
- import { L as LayoutShapingOptions } from './shaped-measurer-CninrHr_.cjs';
12
- import { P as PaginatedSurfaceOptions, O as OpenPaginatedResult, a as PaginatedSurface, T as TableCommandPlan, D as DocxEditorInstance } from './index-wb-iOxfh.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 RunTableChromeCommandResult, $ as SectionAnchor, a0 as SelectedDrawingOverlayTarget, a1 as SurfaceEquation, a2 as SurfaceFormatting, a3 as SurfaceHyperlink, a4 as SurfaceNavigation, a5 as SurfaceOverlayCoordinates, a6 as SurfaceParagraphFormat, a7 as TABLE_BORDER_STYLE_OPTIONS, a8 as TABLE_BORDER_TARGET_OPTIONS, a9 as TABLE_BORDER_WIDTH_OPTIONS, aa as TABLE_CHROME_SLOT_IDS, ab as TableBorderStyleOption, ac as TableBorderTargetOption, ad as TableBorderTargetValue, ae as TableBorderWidthOption, af as TableChromeDraft, ag as TableChromePick, ah as TableChromeSlotId, ai as TableInteractionLabelKey, aj as ToolbarCommandState, ak as WORD_DEFAULT_FONT, al as applyTableChromePick, am as blankDocumentBytes, an as canExecuteImageCommand, ao as captureImageMutationPreconditions, ap as chromeControlCount, aq as chromeMenuSlots, ar as chromeProbeForSlot, as as chromeSlotId, at as commandForSlot, au as commandForSlotValue, av as commandForTableChromeSlotValue, aw as composeFontConfiguration, ax as computeImageResizeResult, ay as computeMovedImagePosition, az as computeResizedImageExtentEmu, aA as createDocxEditor, aB as createFontSource, aC as createImageOverlayScrollPort, aD as cssPixelsToLayoutPoints, aE as defaultChromeGroups, aF as defaultTableLabel, aG as emuToOverlayPoints, aH as equationAtPosition, aI as executeImageCommand, aJ as finalizeImageOverlayInteraction, aK as formattingBarChromeGroups, aL as isStaleImageInteractionCommit, aM as isTableChromeSlot, aN as layoutPointsToCssPixels, aO as loadFonts, aP as overlayFrameToSheetCssPixels, aQ as overlayHostOrigin, aR as pointsToEmu, aS as probeTableChromeCommand, aT as resizePreservesAspect, aU as runSave, aV as runTableChromeCommand, aW as runTableCommand, aX as runToolbarCommand, aY as selectedDrawingOverlayTargetOf, aZ as selectedImageStateOf, a_ as surfacePaintScale, a$ as tableChromeIconPaths, b0 as tableChromeLabelKeyForTarget, b1 as tableChromeToolbarState, b2 as tableChromeVisible, b3 as tableCommandToolbarState, b4 as toolbarCommandState, b5 as toolbarCommandStates } from './index-wb-iOxfh.cjs';
5
+ export { R as ReviewModelInput } from './review-items-CwixiHNe.cjs';
6
+ export { CollectReviewItems, EditorModule, EditorModuleRegistry, ReviewModuleContribution, resolveEditorModules } from './contracts/modules.cjs';
7
+ import { T as TreeDocxSessionView, e as DocumentThemeColorEntry } from './tree-session-contract-ByWx8eew.cjs';
8
+ export { a as TreeApplyResult } from './tree-session-contract-ByWx8eew.cjs';
9
+ import { F as FontConfiguration, E as EditorFontError, a as EditorSnapshot, b as EditorCommand, C as CanResult, Z as ZoomMode } from './editor-CwzY2Hcg.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-CwzY2Hcg.cjs';
11
+ import { L as LayoutShapingOptions } from './shaped-measurer-DzRwWrL5.cjs';
12
+ import { P as PaginatedSurfaceOptions, O as OpenPaginatedResult, a as PaginatedSurface, T as TableCommandPlan, D as DocxEditorInstance } from './index-nLFwo_17.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 RunTableChromeCommandResult, $ as SectionAnchor, a0 as SectionBreakInsertType, a1 as SelectedDrawingOverlayTarget, a2 as SurfaceEquation, a3 as SurfaceFormatting, a4 as SurfaceHyperlink, a5 as SurfaceNavigation, a6 as SurfaceOverlayCoordinates, a7 as SurfaceParagraphFormat, a8 as TABLE_BORDER_STYLE_OPTIONS, a9 as TABLE_BORDER_TARGET_OPTIONS, aa as TABLE_BORDER_WIDTH_OPTIONS, ab as TABLE_CHROME_SLOT_IDS, ac as TableBorderStyleOption, ad as TableBorderTargetOption, ae as TableBorderTargetValue, af as TableBorderWidthOption, ag as TableChromeDraft, ah as TableChromePick, ai as TableChromeSlotId, aj as TableInteractionLabelKey, ak as ToolbarCommandState, al as WORD_DEFAULT_FONT, am as applyTableChromePick, an as blankDocumentBytes, ao as canExecuteImageCommand, ap as captureImageMutationPreconditions, aq as chromeControlCount, ar as chromeMenuSlots, as as chromeProbeForSlot, at as chromeSlotId, au as commandForSlot, av as commandForSlotValue, aw as commandForTableChromeSlotValue, ax as composeFontConfiguration, ay as computeImageResizeResult, az as computeMovedImagePosition, aA as computeResizedImageExtentEmu, aB as createDocxEditor, aC as createFontSource, aD as createImageOverlayScrollPort, aE as cssPixelsToLayoutPoints, aF as defaultChromeGroups, aG as defaultTableLabel, aH as emuToOverlayPoints, aI as equationAtPosition, aJ as executeImageCommand, aK as finalizeImageOverlayInteraction, aL as formattingBarChromeGroups, aM as isStaleImageInteractionCommit, aN as isTableChromeSlot, aO as layoutPointsToCssPixels, aP as loadFonts, aQ as overlayFrameToSheetCssPixels, aR as overlayHostOrigin, aS as pointsToEmu, aT as probeTableChromeCommand, aU as resizePreservesAspect, aV as runSave, aW as runTableChromeCommand, aX as runTableCommand, aY as runToolbarCommand, aZ as selectedDrawingOverlayTargetOf, a_ as selectedImageStateOf, a$ as surfacePaintScale, b0 as tableChromeIconPaths, b1 as tableChromeLabelKeyForTarget, b2 as tableChromeToolbarState, b3 as tableChromeVisible, b4 as tableCommandToolbarState, b5 as toolbarCommandState, b6 as toolbarCommandStates } from './index-nLFwo_17.cjs';
14
14
  import { O as OoxmlPart } from './ooxml-package-CdEy9ufK.cjs';
15
15
  import { A as AutomationCapabilities, a as AutomationHost } from './protocol-UuZOcOp7.cjs';
16
- export { CollectReviewItems, EditorModule, EditorModuleRegistry, ReviewModuleContribution, resolveEditorModules } from './contracts/modules.cjs';
17
- import { S as SemanticLayout } from './semantic-records-DadVT_E1.cjs';
18
- export { T as TextMeasurer } from './semantic-records-DadVT_E1.cjs';
19
- export { S as SectionProperties } from './semantic-cell-selection-BPzx6DdT.cjs';
20
- export { N as NavigationCommand, S as SemanticPosition, a as SemanticSelection } from './semantic-interaction-BfWDD_0V.cjs';
21
- export { F as FieldShadingMode, R as ReviewAuthorInfo, a as RevisionAuthorAssignments, b as RevisionAuthorStyle, c as RevisionStyles } from './semantic-paint-Bd7EqzXV.cjs';
22
- import './custom-node-writes-Dy3b20PS.cjs';
16
+ import { S as SemanticLayout } from './semantic-records-CMakzQ1X.cjs';
17
+ export { T as TextMeasurer } from './semantic-records-CMakzQ1X.cjs';
18
+ export { S as SectionProperties } from './semantic-cell-selection-DT9x9WLf.cjs';
19
+ export { N as NavigationCommand, S as SemanticPosition, a as SemanticSelection } from './semantic-interaction-Z0xKQcB4.cjs';
20
+ export { F as FieldShadingMode, R as ReviewAuthorInfo, a as RevisionAuthorAssignments, b as RevisionAuthorStyle, c as RevisionStyles } from './semantic-paint-CQEOC0Od.cjs';
21
+ import './tree-op-revision-attribution-CN06Xshv.cjs';
22
+ import './revision-projection-Cc4wz30g.cjs';
23
+ import './custom-node-writes-Db8H6Z3n.cjs';
23
24
  import './hf-references-Dvk6De4Q.cjs';
24
25
  import './note-nodes-DL-Au22P.cjs';
25
- import './tree-store-B_sJBMIS.cjs';
26
+ import './tree-store-CWOUMGN8.cjs';
26
27
  import 'prosemirror-model';
27
28
  import './contracts/document.cjs';
28
- import './revision-projection-Cc4wz30g.cjs';
29
29
  import './note-properties-CQlxjic_.cjs';
30
30
  import './omml-equation-BD-LsmWE.cjs';
31
31
 
package/dist/editor.d.ts CHANGED
@@ -1,31 +1,31 @@
1
- export { D as DEFAULT_IMAGE_RESOURCE_LIMITS, b as ImageDecodePort, c as ImageResourceLimits, R as RenderableImageMime, S as SupportedImageMime, a as VectorImageMime, r as resolveImageResourceLimits, d as resolveSvgIntrinsicSize, s as sniffImageMime, v as validateRasterHeader } from './image-resources-BgA9EQxY.js';
2
- import { j as TreeDocColorValue, d as DrawingPositionInput } from './tree-op-types-CnRb7AYo.js';
3
- export { k as IMAGE_WRAP_TARGETS, b as ImageWrapTarget } from './tree-op-types-CnRb7AYo.js';
1
+ import { l as TreeDocColorValue, d as DrawingPositionInput } from './tree-op-types-BuOfCrkp.js';
2
+ export { m as DEFAULT_IMAGE_RESOURCE_LIMITS, n as IMAGE_WRAP_TARGETS, j as ImageDecodePort, o as ImageResourceLimits, b as ImageWrapTarget, R as RenderableImageMime, c as SupportedImageMime, i as VectorImageMime, r as resolveImageResourceLimits, p as resolveSvgIntrinsicSize, s as sniffImageMime, v as validateRasterHeader } from './tree-op-types-BuOfCrkp.js';
4
3
  import { ColorValue } from './contracts/types.js';
5
4
  export { ParagraphFlags, ParagraphTabStop } from './contracts/types.js';
6
- export { R as ReviewModelInput } from './review-items-bdGxFWNA.js';
7
- import { c as TreeDocxSessionView, g as DocumentThemeColorEntry } from './tree-session-ZuBFOhIh.js';
8
- export { a as TreeApplyResult } from './tree-session-ZuBFOhIh.js';
9
- import { F as FontConfiguration, E as EditorFontError, a as EditorSnapshot, b as EditorCommand, C as CanResult, Z as ZoomMode } from './editor-Cvd7Geoc.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-Cvd7Geoc.js';
11
- import { L as LayoutShapingOptions } from './shaped-measurer-B9f4A7QA.js';
12
- import { P as PaginatedSurfaceOptions, O as OpenPaginatedResult, a as PaginatedSurface, T as TableCommandPlan, D as DocxEditorInstance } from './index-DRqY5JVF.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 RunTableChromeCommandResult, $ as SectionAnchor, a0 as SelectedDrawingOverlayTarget, a1 as SurfaceEquation, a2 as SurfaceFormatting, a3 as SurfaceHyperlink, a4 as SurfaceNavigation, a5 as SurfaceOverlayCoordinates, a6 as SurfaceParagraphFormat, a7 as TABLE_BORDER_STYLE_OPTIONS, a8 as TABLE_BORDER_TARGET_OPTIONS, a9 as TABLE_BORDER_WIDTH_OPTIONS, aa as TABLE_CHROME_SLOT_IDS, ab as TableBorderStyleOption, ac as TableBorderTargetOption, ad as TableBorderTargetValue, ae as TableBorderWidthOption, af as TableChromeDraft, ag as TableChromePick, ah as TableChromeSlotId, ai as TableInteractionLabelKey, aj as ToolbarCommandState, ak as WORD_DEFAULT_FONT, al as applyTableChromePick, am as blankDocumentBytes, an as canExecuteImageCommand, ao as captureImageMutationPreconditions, ap as chromeControlCount, aq as chromeMenuSlots, ar as chromeProbeForSlot, as as chromeSlotId, at as commandForSlot, au as commandForSlotValue, av as commandForTableChromeSlotValue, aw as composeFontConfiguration, ax as computeImageResizeResult, ay as computeMovedImagePosition, az as computeResizedImageExtentEmu, aA as createDocxEditor, aB as createFontSource, aC as createImageOverlayScrollPort, aD as cssPixelsToLayoutPoints, aE as defaultChromeGroups, aF as defaultTableLabel, aG as emuToOverlayPoints, aH as equationAtPosition, aI as executeImageCommand, aJ as finalizeImageOverlayInteraction, aK as formattingBarChromeGroups, aL as isStaleImageInteractionCommit, aM as isTableChromeSlot, aN as layoutPointsToCssPixels, aO as loadFonts, aP as overlayFrameToSheetCssPixels, aQ as overlayHostOrigin, aR as pointsToEmu, aS as probeTableChromeCommand, aT as resizePreservesAspect, aU as runSave, aV as runTableChromeCommand, aW as runTableCommand, aX as runToolbarCommand, aY as selectedDrawingOverlayTargetOf, aZ as selectedImageStateOf, a_ as surfacePaintScale, a$ as tableChromeIconPaths, b0 as tableChromeLabelKeyForTarget, b1 as tableChromeToolbarState, b2 as tableChromeVisible, b3 as tableCommandToolbarState, b4 as toolbarCommandState, b5 as toolbarCommandStates } from './index-DRqY5JVF.js';
5
+ export { R as ReviewModelInput } from './review-items-Dw-8a6Ie.js';
6
+ export { CollectReviewItems, EditorModule, EditorModuleRegistry, ReviewModuleContribution, resolveEditorModules } from './contracts/modules.js';
7
+ import { T as TreeDocxSessionView, e as DocumentThemeColorEntry } from './tree-session-contract-C1dfE9hy.js';
8
+ export { a as TreeApplyResult } from './tree-session-contract-C1dfE9hy.js';
9
+ import { F as FontConfiguration, E as EditorFontError, a as EditorSnapshot, b as EditorCommand, C as CanResult, Z as ZoomMode } from './editor-C0my6Uta.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-C0my6Uta.js';
11
+ import { L as LayoutShapingOptions } from './shaped-measurer-BxwTUluj.js';
12
+ import { P as PaginatedSurfaceOptions, O as OpenPaginatedResult, a as PaginatedSurface, T as TableCommandPlan, D as DocxEditorInstance } from './index-kID8Ymkp.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 RunTableChromeCommandResult, $ as SectionAnchor, a0 as SectionBreakInsertType, a1 as SelectedDrawingOverlayTarget, a2 as SurfaceEquation, a3 as SurfaceFormatting, a4 as SurfaceHyperlink, a5 as SurfaceNavigation, a6 as SurfaceOverlayCoordinates, a7 as SurfaceParagraphFormat, a8 as TABLE_BORDER_STYLE_OPTIONS, a9 as TABLE_BORDER_TARGET_OPTIONS, aa as TABLE_BORDER_WIDTH_OPTIONS, ab as TABLE_CHROME_SLOT_IDS, ac as TableBorderStyleOption, ad as TableBorderTargetOption, ae as TableBorderTargetValue, af as TableBorderWidthOption, ag as TableChromeDraft, ah as TableChromePick, ai as TableChromeSlotId, aj as TableInteractionLabelKey, ak as ToolbarCommandState, al as WORD_DEFAULT_FONT, am as applyTableChromePick, an as blankDocumentBytes, ao as canExecuteImageCommand, ap as captureImageMutationPreconditions, aq as chromeControlCount, ar as chromeMenuSlots, as as chromeProbeForSlot, at as chromeSlotId, au as commandForSlot, av as commandForSlotValue, aw as commandForTableChromeSlotValue, ax as composeFontConfiguration, ay as computeImageResizeResult, az as computeMovedImagePosition, aA as computeResizedImageExtentEmu, aB as createDocxEditor, aC as createFontSource, aD as createImageOverlayScrollPort, aE as cssPixelsToLayoutPoints, aF as defaultChromeGroups, aG as defaultTableLabel, aH as emuToOverlayPoints, aI as equationAtPosition, aJ as executeImageCommand, aK as finalizeImageOverlayInteraction, aL as formattingBarChromeGroups, aM as isStaleImageInteractionCommit, aN as isTableChromeSlot, aO as layoutPointsToCssPixels, aP as loadFonts, aQ as overlayFrameToSheetCssPixels, aR as overlayHostOrigin, aS as pointsToEmu, aT as probeTableChromeCommand, aU as resizePreservesAspect, aV as runSave, aW as runTableChromeCommand, aX as runTableCommand, aY as runToolbarCommand, aZ as selectedDrawingOverlayTargetOf, a_ as selectedImageStateOf, a$ as surfacePaintScale, b0 as tableChromeIconPaths, b1 as tableChromeLabelKeyForTarget, b2 as tableChromeToolbarState, b3 as tableChromeVisible, b4 as tableCommandToolbarState, b5 as toolbarCommandState, b6 as toolbarCommandStates } from './index-kID8Ymkp.js';
14
14
  import { O as OoxmlPart } from './ooxml-package-CdEy9ufK.js';
15
15
  import { A as AutomationCapabilities, a as AutomationHost } from './protocol-C7ahrdUx.js';
16
- export { CollectReviewItems, EditorModule, EditorModuleRegistry, ReviewModuleContribution, resolveEditorModules } from './contracts/modules.js';
17
- import { S as SemanticLayout } from './semantic-records-DCt-ZwKU.js';
18
- export { T as TextMeasurer } from './semantic-records-DCt-ZwKU.js';
19
- export { S as SectionProperties } from './semantic-cell-selection-CsHcr-yk.js';
20
- export { N as NavigationCommand, S as SemanticPosition, a as SemanticSelection } from './semantic-interaction-D-RZ9Ust.js';
21
- export { F as FieldShadingMode, R as ReviewAuthorInfo, a as RevisionAuthorAssignments, b as RevisionAuthorStyle, c as RevisionStyles } from './semantic-paint-WhVtSDJK.js';
22
- import './custom-node-writes-D6SGwebL.js';
16
+ import { S as SemanticLayout } from './semantic-records-Do3-i5oB.js';
17
+ export { T as TextMeasurer } from './semantic-records-Do3-i5oB.js';
18
+ export { S as SectionProperties } from './semantic-cell-selection-Utrf0lz7.js';
19
+ export { N as NavigationCommand, S as SemanticPosition, a as SemanticSelection } from './semantic-interaction-B6hFRQLy.js';
20
+ export { F as FieldShadingMode, R as ReviewAuthorInfo, a as RevisionAuthorAssignments, b as RevisionAuthorStyle, c as RevisionStyles } from './semantic-paint-quke354p.js';
21
+ import './tree-op-revision-attribution-CN06Xshv.js';
22
+ import './revision-projection-CILpvv4M.js';
23
+ import './custom-node-writes-BvpWCnW8.js';
23
24
  import './hf-references-z5Y4N1ab.js';
24
25
  import './note-nodes-BNCANoGN.js';
25
- import './tree-store-DgETo6Mf.js';
26
+ import './tree-store-ASBtz7UB.js';
26
27
  import 'prosemirror-model';
27
28
  import './contracts/document.js';
28
- import './revision-projection-CILpvv4M.js';
29
29
  import './note-properties-jvnw_DGG.js';
30
30
  import './omml-equation-Dd3mBep-.js';
31
31
 
package/dist/editor.js CHANGED
@@ -1 +1 @@
1
- export{Ia as AUTO_ZOOM_MODE,Na as BROWSER_AUTOMATION_CAPABILITIES,va as CHROME_GROUPS,za as CHROME_MENUS,Ca as CHROME_UNAVAILABLE_KEY,Y as DEFAULT_TABLE_CHROME_DRAFT,Q as EMU_PER_POINT,Ja as FIT_WIDTH_ZOOM_MODE,O as IMAGE_OVERLAY_NUDGE_PT,P as IMAGE_OVERLAY_NUDGE_SHIFT_PT,d as LOADING_SNAPSHOT,e as MAX_RESOLVER_FAMILIES,m as PX_PER_CM,l as PX_PER_INCH,s as SNAP_TWIPS_CM,r as SNAP_TWIPS_INCH,ca as TABLE_BORDER_STYLE_OPTIONS,ba as TABLE_BORDER_TARGET_OPTIONS,da as TABLE_BORDER_WIDTH_OPTIONS,Z as TABLE_CHROME_SLOT_IDS,q as TWIPS_PER_CM,p as TWIPS_PER_INCH,f as WORD_DEFAULT_FONT,Ha as ZOOM_MAX,Ga as ZOOM_MIN,ea as applyTableChromePick,y as applyThemeShade,x as applyThemeTint,h as blankDocumentBytes,M as canExecuteImageCommand,L as captureImageMutationPreconditions,Ba as chromeControlCount,Aa as chromeMenuSlots,ia as chromeProbeForSlot,wa as chromeSlotId,ja as commandForSlot,la as commandForSlotValue,ka as commandForTableChromeSlotValue,g as composeFontConfiguration,Va as computeImageResizeResult,V as computeMovedImagePosition,U as computeResizedImageExtentEmu,Oa as createBrowserAutomationHost,Ma as createDocxEditor,k as createFontSource,Wa as createImageOverlayScrollPort,b as createLayoutShaping,I as cropPercentFromCropPermille,G as cropPercentFromPermille,D as cropPercentFromSourceCrop,H as cropPermilleFromCropPercent,F as cropPermilleFromPercent,Ra as cssPixelsToLayoutPoints,xa as defaultChromeGroups,_ as defaultTableLabel,c as disposeLayoutShaping,v as dragIndent,ua as editorCommandKey,T as emuToOverlayPoints,Ea as equationAtPosition,N as executeImageCommand,Xa as finalizeImageOverlayInteraction,ya as formattingBarChromeGroups,n as generateRulerTicks,t as handlePosition,W as isStaleImageInteractionCommit,$ as isTableChromeSlot,Qa as layoutPointsToCssPixels,j as loadFonts,A as lowerColorValueForBorder,B as lowerColorValueForFill,Fa as mountPaginatedSurface,Sa as overlayFrameToSheetCssPixels,Ta as overlayHostOrigin,i as partOfNodeId,S as pointsToEmu,fa as probeTableChromeCommand,Ua as resizePreservesAspect,C as resolveColorValueToCss,z as resolveThemeColorHex,Ka as resolveZoomMode,o as rulerPageBox,ra as runSave,pa as runTableChromeCommand,ta as runTableCommand,qa as runToolbarCommand,La as sameZoomMode,R as selectedDrawingOverlayTargetOf,K as selectedImageStateOf,u as snapTwips,E as sourceCropFromCropPercent,Da as surfaceExtent,Pa as surfacePaintScale,ha as tableChromeIconPaths,ga as tableChromeLabelKeyForTarget,ma as tableChromeToolbarState,aa as tableChromeVisible,X as tableCommandState,sa as tableCommandToolbarState,a as toEditorFontError,na as toolbarCommandState,oa as toolbarCommandStates,J as validateImageCropPercent,w as validateThemeModifier}from'./chunk-SIIFNE6U.js';import'./chunk-6JWP2H7K.js';import'./chunk-LIXPSV4T.js';import'./chunk-WU7PUTVA.js';import'./chunk-7I3BSGGS.js';import'./chunk-VXYECPKA.js';import'./chunk-DIMEYVNS.js';export{m as DEFAULT_IMAGE_RESOURCE_LIMITS,Cf as DRAWING_REL_FROM_H,Df as DRAWING_REL_FROM_V,Na as IMAGE_WRAP_TARGETS,Ff as positionInputFromPropertiesCommand,Ef as propertiesCommandHasPositionFields,n as resolveImageResourceLimits,eb as resolveSvgIntrinsicSize,ab as sniffImageMime,Bf as validateDrawingPositionInput,fb as validateRasterHeader,Gf as validateSetImagePositionCommand}from'./chunk-CKDAK3MV.js';import'./chunk-PSZH2VXP.js';export{a as resolveEditorModules}from'./chunk-GQQOL4PV.js';
1
+ export{Ia as AUTO_ZOOM_MODE,Na as BROWSER_AUTOMATION_CAPABILITIES,va as CHROME_GROUPS,za as CHROME_MENUS,Ca as CHROME_UNAVAILABLE_KEY,Y as DEFAULT_TABLE_CHROME_DRAFT,Q as EMU_PER_POINT,Ja as FIT_WIDTH_ZOOM_MODE,O as IMAGE_OVERLAY_NUDGE_PT,P as IMAGE_OVERLAY_NUDGE_SHIFT_PT,d as LOADING_SNAPSHOT,e as MAX_RESOLVER_FAMILIES,m as PX_PER_CM,l as PX_PER_INCH,s as SNAP_TWIPS_CM,r as SNAP_TWIPS_INCH,ca as TABLE_BORDER_STYLE_OPTIONS,ba as TABLE_BORDER_TARGET_OPTIONS,da as TABLE_BORDER_WIDTH_OPTIONS,Z as TABLE_CHROME_SLOT_IDS,q as TWIPS_PER_CM,p as TWIPS_PER_INCH,f as WORD_DEFAULT_FONT,Ha as ZOOM_MAX,Ga as ZOOM_MIN,ea as applyTableChromePick,y as applyThemeShade,x as applyThemeTint,h as blankDocumentBytes,M as canExecuteImageCommand,L as captureImageMutationPreconditions,Ba as chromeControlCount,Aa as chromeMenuSlots,ia as chromeProbeForSlot,wa as chromeSlotId,ja as commandForSlot,la as commandForSlotValue,ka as commandForTableChromeSlotValue,g as composeFontConfiguration,Va as computeImageResizeResult,V as computeMovedImagePosition,U as computeResizedImageExtentEmu,Oa as createBrowserAutomationHost,Ma as createDocxEditor,k as createFontSource,Wa as createImageOverlayScrollPort,b as createLayoutShaping,I as cropPercentFromCropPermille,G as cropPercentFromPermille,D as cropPercentFromSourceCrop,H as cropPermilleFromCropPercent,F as cropPermilleFromPercent,Ra as cssPixelsToLayoutPoints,xa as defaultChromeGroups,_ as defaultTableLabel,c as disposeLayoutShaping,v as dragIndent,ua as editorCommandKey,T as emuToOverlayPoints,Ea as equationAtPosition,N as executeImageCommand,Xa as finalizeImageOverlayInteraction,ya as formattingBarChromeGroups,n as generateRulerTicks,t as handlePosition,W as isStaleImageInteractionCommit,$ as isTableChromeSlot,Qa as layoutPointsToCssPixels,j as loadFonts,A as lowerColorValueForBorder,B as lowerColorValueForFill,Fa as mountPaginatedSurface,Sa as overlayFrameToSheetCssPixels,Ta as overlayHostOrigin,i as partOfNodeId,S as pointsToEmu,fa as probeTableChromeCommand,Ua as resizePreservesAspect,C as resolveColorValueToCss,z as resolveThemeColorHex,Ka as resolveZoomMode,o as rulerPageBox,ra as runSave,pa as runTableChromeCommand,ta as runTableCommand,qa as runToolbarCommand,La as sameZoomMode,R as selectedDrawingOverlayTargetOf,K as selectedImageStateOf,u as snapTwips,E as sourceCropFromCropPercent,Da as surfaceExtent,Pa as surfacePaintScale,ha as tableChromeIconPaths,ga as tableChromeLabelKeyForTarget,ma as tableChromeToolbarState,aa as tableChromeVisible,X as tableCommandState,sa as tableCommandToolbarState,a as toEditorFontError,na as toolbarCommandState,oa as toolbarCommandStates,J as validateImageCropPercent,w as validateThemeModifier}from'./chunk-YI6JXF7U.js';import'./chunk-27APDXY2.js';import'./chunk-N725IUO7.js';import'./chunk-WU7PUTVA.js';import'./chunk-NVGFWMCO.js';import'./chunk-LWADHMVV.js';import'./chunk-LG5K46OM.js';export{m as DEFAULT_IMAGE_RESOURCE_LIMITS,Pf as DRAWING_REL_FROM_H,Qf as DRAWING_REL_FROM_V,Ra as IMAGE_WRAP_TARGETS,Sf as positionInputFromPropertiesCommand,Rf as propertiesCommandHasPositionFields,n as resolveImageResourceLimits,ib as resolveSvgIntrinsicSize,eb as sniffImageMime,Of as validateDrawingPositionInput,jb as validateRasterHeader,Tf as validateSetImagePositionCommand}from'./chunk-N7DBENH4.js';import'./chunk-PSZH2VXP.js';export{a as resolveEditorModules}from'./chunk-GQQOL4PV.js';
@@ -1,17 +1,17 @@
1
- import { T as TreeDocOp, d as DrawingPositionInput, m as DrawingTransform, i as DrawingTreeDocOp } from './tree-op-types-CnRb7AYo.js';
2
- import { b as ImageDecodePort, S as SupportedImageMime } from './image-resources-BgA9EQxY.js';
3
- import { g as ReviewRevisionKind } from './review-items-bdGxFWNA.js';
1
+ import { T as TreeDocOp, j as ImageDecodePort, d as DrawingPositionInput, t as DrawingTransform, k as DrawingTreeDocOp, c as SupportedImageMime } from './tree-op-types-BuOfCrkp.js';
2
+ import { Unsubscribe, ExecResult, ParagraphTabStop, IndentFormatting, ParagraphFlags, ParagraphDisagreements, SelectionPin } from './contracts/types.js';
3
+ import './tree-op-revision-attribution-CN06Xshv.js';
4
+ import { g as ReviewRevisionKind } from './review-items-Dw-8a6Ie.js';
4
5
  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, V as ViewScope, m as FontFaceRequest, I as ImageContext, T as TableBorderEdgeTarget, n as TableBorderSpec, o as TableBorderStyle, p as TableContext } from './editor-Cvd7Geoc.js';
6
+ 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, V as ViewScope, m as FontFaceRequest, I as ImageContext, T as TableBorderEdgeTarget, n as TableBorderSpec, o as TableBorderStyle, p as TableContext } from './editor-C0my6Uta.js';
6
7
  import { R as RevisionDisplayMode } from './revision-projection-CILpvv4M.js';
7
- import { S as SemanticPosition, a as SemanticSelection, N as NavigationCommand } from './semantic-interaction-D-RZ9Ust.js';
8
- import { c as RevisionStyles, R as ReviewAuthorInfo, b as RevisionAuthorStyle, F as FieldShadingMode, d as DrawingPaintStrings } from './semantic-paint-WhVtSDJK.js';
8
+ import { S as SemanticPosition, a as SemanticSelection, N as NavigationCommand } from './semantic-interaction-B6hFRQLy.js';
9
+ import { c as RevisionStyles, R as ReviewAuthorInfo, b as RevisionAuthorStyle, F as FieldShadingMode, d as DrawingPaintStrings } from './semantic-paint-quke354p.js';
9
10
  import { R as ResolvedFootnoteProperties, a as ResolvedEndnoteProperties, A as AuthoredNoteProperties } from './note-properties-jvnw_DGG.js';
10
- import { S as SemanticLayout, C as ContentControlBoundaryRecord, T as TextMeasurer } from './semantic-records-DCt-ZwKU.js';
11
- import { S as StoryScope, A as ApplyImagePropertiesInput, d as ImageIntentResult, c as InsertImageInput, B as BookmarkIndex } from './custom-node-writes-D6SGwebL.js';
12
- import { C as CellSelection, S as SectionProperties } from './semantic-cell-selection-CsHcr-yk.js';
13
- import { Unsubscribe, ExecResult, ParagraphTabStop, IndentFormatting, ParagraphFlags, ParagraphDisagreements, SelectionPin } from './contracts/types.js';
14
- import { c as TreeDocxSessionView, a as TreeApplyResult } from './tree-session-ZuBFOhIh.js';
11
+ import { S as SemanticLayout, C as ContentControlBoundaryRecord, T as TextMeasurer } from './semantic-records-Do3-i5oB.js';
12
+ import { S as StoryScope, A as ApplyImagePropertiesInput, d as ImageIntentResult, c as InsertImageInput, B as BookmarkIndex } from './custom-node-writes-BvpWCnW8.js';
13
+ import { C as CellSelection, S as SectionProperties } from './semantic-cell-selection-Utrf0lz7.js';
14
+ import { T as TreeDocxSessionView, a as TreeApplyResult } from './tree-session-contract-C1dfE9hy.js';
15
15
  import './contracts/document.js';
16
16
 
17
17
  /**
@@ -1233,6 +1233,16 @@ interface ContentControlSurfaceState {
1233
1233
  /** Innermost control containing the caret, or null. */
1234
1234
  readonly activeControlId: string | null;
1235
1235
  }
1236
+ /**
1237
+ * Where the section after an inserted break begins — Word's Layout > Breaks menu.
1238
+ *
1239
+ * The two the engine paginates. `evenPage` / `oddPage` are readable in a file but not
1240
+ * offered here, because layout does not skip the blank sheet they need yet, and a menu
1241
+ * entry that silently behaves like `nextPage` is the lie this vocabulary exists to avoid.
1242
+ *
1243
+ * @public
1244
+ */
1245
+ type SectionBreakInsertType = 'nextPage' | 'continuous';
1236
1246
  /**
1237
1247
  * The mounted, painted, editable document — the layer `createDocxEditor` builds its contract on.
1238
1248
  *
@@ -1518,11 +1528,33 @@ interface PaginatedSurface {
1518
1528
  readonly anchorParagraphId?: string;
1519
1529
  }): boolean;
1520
1530
  /**
1521
- * Insert a next-page section break at the caret: the paragraph splits, and the head
1522
- * ends a new section cloning the governing section's page setup — Word's Layout >
1523
- * Breaks > Next Page. One undoable step. Returns whether the break committed.
1531
+ * Insert a section break at the caret: the paragraph splits, and the head ends a new
1532
+ * section cloning the governing section's page setup — Word's Layout > Breaks. One
1533
+ * undoable step. Returns whether the break committed.
1534
+ *
1535
+ * `breakType` says where the section AFTER the break begins: `'nextPage'` (the default,
1536
+ * Word's Next Page) starts a new sheet, `'continuous'` keeps it on the sheet the
1537
+ * previous section ended, which is how a mid-page column or margin change is authored.
1538
+ */
1539
+ insertSectionBreak(breakType?: SectionBreakInsertType): boolean;
1540
+ /**
1541
+ * Why {@link insertSectionBreak} would refuse this kind right now, or `null`.
1542
+ *
1543
+ * THE authority for the BREAK's own questions, so `Editor.can` and the write cannot answer
1544
+ * those differently. Both halves are things only the surface knows: the LIVE editing mode
1545
+ * (a document that declares `w:trackRevisions` opens suggesting without anyone passing a
1546
+ * mode, and Review > Track Changes moves it again afterwards), and the paragraph the break
1547
+ * would actually land in — which for a range in suggesting mode is past the struck words,
1548
+ * not the selection's head.
1549
+ *
1550
+ * NOT the deletion's questions. A break replaces the selection first, and that deletion can
1551
+ * cross content a control holds or a region protected some other way; only the store sees
1552
+ * that, and it sees it at write time. So a range whose landing is fine while its deletion
1553
+ * is not answers `null` here and refuses at the press — as every other replacing command in
1554
+ * the engine does, less loudly. Story scope is gated separately again, because a caret in a
1555
+ * header refuses every break kind for a different reason.
1524
1556
  */
1525
- insertSectionBreak(): boolean;
1557
+ sectionBreakRefusal(breakType?: SectionBreakInsertType): string | null;
1526
1558
  /** The layout session, so a host or a test can see how much work a pass actually did. */
1527
1559
  layoutSession(): {
1528
1560
  readonly stats: {
@@ -1627,6 +1659,15 @@ interface PaginatedSurface {
1627
1659
  * target is one this engine will not author, and the write is refused having changed nothing.
1628
1660
  */
1629
1661
  applyAutomationOps(staged: (relate: (url: string) => string | null) => readonly TreeDocOp[] | null, scope?: StoryScope): TreeApplyResult;
1662
+ /**
1663
+ * Which revision halves this surface is SHOWING.
1664
+ *
1665
+ * Read by the automation adapter so the object model's formatting reaches the same runs the
1666
+ * toolbar does. A range's offsets cover every revision half whatever the view does with
1667
+ * them, so with markup on, a selection over a struck word means one thing to a reader and
1668
+ * would mean another to a script that assumed the resolved result.
1669
+ */
1670
+ revisionDisplayMode(): RevisionDisplayMode;
1630
1671
  /**
1631
1672
  * Commit review ops — accept, reject, a new comment — through the SAME path a keystroke
1632
1673
  * takes: layout, paint, and a caret clamped to what the document now holds.
@@ -1732,6 +1773,25 @@ interface PaginatedSurface {
1732
1773
  bookmarks(): BookmarkIndex;
1733
1774
  /** The selected text, for copy and cut. */
1734
1775
  selectedText(): string;
1776
+ /**
1777
+ * Every clipboard flavour for the current selection: plain text, and the interop HTML
1778
+ * carrying the embedded fragment when the selection is a body-story range. A cell
1779
+ * rectangle answers grid text plus a flattened table; `html` is null where only plain
1780
+ * text should be written.
1781
+ */
1782
+ copyFlavours(): {
1783
+ readonly text: string;
1784
+ readonly html: string | null;
1785
+ };
1786
+ /**
1787
+ * Route one paste payload by fidelity: embedded fragment, then external HTML, then
1788
+ * plain text — degrading on decode, read, or apply refusal. Suggesting mode, non-body
1789
+ * stories and an armed force-plain all land on the plain lane. False when the payload
1790
+ * landed on no lane at all (nothing to insert).
1791
+ */
1792
+ pasteRich(text: string, html: string | null): boolean;
1793
+ /** The next paste routes plain, whatever its payload carries (Cmd+Shift+V). */
1794
+ armForcePlainPaste(): void;
1735
1795
  /** Remove the selection, if any. Returns whether anything was deleted. */
1736
1796
  deleteSelection(): boolean;
1737
1797
  navigate(command: NavigationCommand, extend?: boolean): void;
@@ -2619,9 +2679,9 @@ declare function chromeSlotId(group: {
2619
2679
  declare function defaultChromeGroups(): readonly ChromeGroup[];
2620
2680
  /**
2621
2681
  * The formatting-bar groups for one editor snapshot: the default bar, plus the
2622
- * contextual `image` group when a drawing is selected. Insertion without a selection is
2623
- * not in the packaged chrome at all — a host that wants it places `image.insert` itself,
2624
- * through `DocxEditor.Toolbar.ImageInsert` or `DocxEditor.Menu.ImageInsert`.
2682
+ * contextual `image` group when a drawing is selected. Insertion without a selection
2683
+ * lives in the packaged Insert menu (`CHROME_MENUS`), not in the bar — a host that wants
2684
+ * a bar button places `DocxEditor.Toolbar.ImageInsert` itself.
2625
2685
  *
2626
2686
  * @public
2627
2687
  */
@@ -2958,4 +3018,4 @@ declare function runTableCommand(editor: Editor | null, command: EditorCommand):
2958
3018
  */
2959
3019
  declare function createDocxEditor(config: DocxEditorConfig): DocxEditorInstance;
2960
3020
 
2961
- export { type SectionAnchor 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 RunTableChromeCommandResult as _, type PaginatedSurface as a, tableChromeIconPaths as a$, type SelectedDrawingOverlayTarget as a0, type SurfaceEquation as a1, type SurfaceFormatting as a2, type SurfaceHyperlink as a3, type SurfaceNavigation as a4, type SurfaceOverlayCoordinates as a5, type SurfaceParagraphFormat as a6, TABLE_BORDER_STYLE_OPTIONS as a7, TABLE_BORDER_TARGET_OPTIONS as a8, TABLE_BORDER_WIDTH_OPTIONS as a9, createDocxEditor as aA, createFontSource as aB, createImageOverlayScrollPort as aC, cssPixelsToLayoutPoints as aD, defaultChromeGroups as aE, defaultTableLabel as aF, emuToOverlayPoints as aG, equationAtPosition as aH, executeImageCommand as aI, finalizeImageOverlayInteraction as aJ, formattingBarChromeGroups as aK, isStaleImageInteractionCommit as aL, isTableChromeSlot as aM, layoutPointsToCssPixels as aN, loadFonts as aO, overlayFrameToSheetCssPixels as aP, overlayHostOrigin as aQ, pointsToEmu as aR, probeTableChromeCommand as aS, resizePreservesAspect as aT, runSave as aU, runTableChromeCommand as aV, runTableCommand as aW, runToolbarCommand as aX, selectedDrawingOverlayTargetOf as aY, selectedImageStateOf as aZ, surfacePaintScale as a_, TABLE_CHROME_SLOT_IDS as aa, type TableBorderStyleOption as ab, type TableBorderTargetOption as ac, type TableBorderTargetValue as ad, type TableBorderWidthOption as ae, type TableChromeDraft as af, type TableChromePick as ag, type TableChromeSlotId as ah, type TableInteractionLabelKey as ai, type ToolbarCommandState as aj, WORD_DEFAULT_FONT as ak, applyTableChromePick as al, blankDocumentBytes as am, canExecuteImageCommand as an, captureImageMutationPreconditions as ao, chromeControlCount as ap, chromeMenuSlots as aq, chromeProbeForSlot as ar, chromeSlotId as as, commandForSlot as at, commandForSlotValue as au, commandForTableChromeSlotValue as av, composeFontConfiguration as aw, computeImageResizeResult as ax, computeMovedImagePosition as ay, computeResizedImageExtentEmu as az, CHROME_MENUS as b, tableChromeLabelKeyForTarget as b0, tableChromeToolbarState as b1, tableChromeVisible as b2, tableCommandToolbarState as b3, toolbarCommandState as b4, toolbarCommandStates as b5, 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 };
3021
+ export { type SectionAnchor 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 RunTableChromeCommandResult as _, type PaginatedSurface as a, surfacePaintScale as a$, type SectionBreakInsertType as a0, type SelectedDrawingOverlayTarget as a1, type SurfaceEquation as a2, type SurfaceFormatting as a3, type SurfaceHyperlink as a4, type SurfaceNavigation as a5, type SurfaceOverlayCoordinates as a6, type SurfaceParagraphFormat as a7, TABLE_BORDER_STYLE_OPTIONS as a8, TABLE_BORDER_TARGET_OPTIONS as a9, computeResizedImageExtentEmu as aA, createDocxEditor as aB, createFontSource as aC, createImageOverlayScrollPort as aD, cssPixelsToLayoutPoints as aE, defaultChromeGroups as aF, defaultTableLabel as aG, emuToOverlayPoints as aH, equationAtPosition as aI, executeImageCommand as aJ, finalizeImageOverlayInteraction as aK, formattingBarChromeGroups as aL, isStaleImageInteractionCommit as aM, isTableChromeSlot as aN, layoutPointsToCssPixels as aO, loadFonts as aP, overlayFrameToSheetCssPixels as aQ, overlayHostOrigin as aR, pointsToEmu as aS, probeTableChromeCommand as aT, resizePreservesAspect as aU, runSave as aV, runTableChromeCommand as aW, runTableCommand as aX, runToolbarCommand as aY, selectedDrawingOverlayTargetOf as aZ, selectedImageStateOf as a_, TABLE_BORDER_WIDTH_OPTIONS as aa, TABLE_CHROME_SLOT_IDS as ab, type TableBorderStyleOption as ac, type TableBorderTargetOption as ad, type TableBorderTargetValue as ae, type TableBorderWidthOption as af, type TableChromeDraft as ag, type TableChromePick as ah, type TableChromeSlotId as ai, type TableInteractionLabelKey as aj, type ToolbarCommandState as ak, WORD_DEFAULT_FONT as al, applyTableChromePick as am, blankDocumentBytes as an, canExecuteImageCommand as ao, captureImageMutationPreconditions as ap, chromeControlCount as aq, chromeMenuSlots as ar, chromeProbeForSlot as as, chromeSlotId as at, commandForSlot as au, commandForSlotValue as av, commandForTableChromeSlotValue as aw, composeFontConfiguration as ax, computeImageResizeResult as ay, computeMovedImagePosition as az, CHROME_MENUS as b, tableChromeIconPaths as b0, tableChromeLabelKeyForTarget as b1, tableChromeToolbarState as b2, tableChromeVisible as b3, tableCommandToolbarState as b4, toolbarCommandState as b5, toolbarCommandStates as b6, 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 };
@@ -1,17 +1,17 @@
1
- import { T as TreeDocOp, d as DrawingPositionInput, m as DrawingTransform, i as DrawingTreeDocOp } from './tree-op-types-D1vNJ7XC.cjs';
2
- import { b as ImageDecodePort, S as SupportedImageMime } from './image-resources-BiA-IXgo.cjs';
3
- import { g as ReviewRevisionKind } from './review-items-B8tffIXj.cjs';
1
+ import { T as TreeDocOp, j as ImageDecodePort, d as DrawingPositionInput, t as DrawingTransform, k as DrawingTreeDocOp, c as SupportedImageMime } from './tree-op-types-DSJYmf5b.cjs';
2
+ import { Unsubscribe, ExecResult, ParagraphTabStop, IndentFormatting, ParagraphFlags, ParagraphDisagreements, SelectionPin } from './contracts/types.cjs';
3
+ import './tree-op-revision-attribution-CN06Xshv.cjs';
4
+ import { g as ReviewRevisionKind } from './review-items-CwixiHNe.cjs';
4
5
  import { EditorModule, ReviewModuleContribution } from './contracts/modules.cjs';
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, V as ViewScope, m as FontFaceRequest, I as ImageContext, T as TableBorderEdgeTarget, n as TableBorderSpec, o as TableBorderStyle, p as TableContext } from './editor-cAEf1uXW.cjs';
6
+ 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, V as ViewScope, m as FontFaceRequest, I as ImageContext, T as TableBorderEdgeTarget, n as TableBorderSpec, o as TableBorderStyle, p as TableContext } from './editor-CwzY2Hcg.cjs';
6
7
  import { R as RevisionDisplayMode } from './revision-projection-Cc4wz30g.cjs';
7
- import { S as SemanticPosition, a as SemanticSelection, N as NavigationCommand } from './semantic-interaction-BfWDD_0V.cjs';
8
- import { c as RevisionStyles, R as ReviewAuthorInfo, b as RevisionAuthorStyle, F as FieldShadingMode, d as DrawingPaintStrings } from './semantic-paint-Bd7EqzXV.cjs';
8
+ import { S as SemanticPosition, a as SemanticSelection, N as NavigationCommand } from './semantic-interaction-Z0xKQcB4.cjs';
9
+ import { c as RevisionStyles, R as ReviewAuthorInfo, b as RevisionAuthorStyle, F as FieldShadingMode, d as DrawingPaintStrings } from './semantic-paint-CQEOC0Od.cjs';
9
10
  import { R as ResolvedFootnoteProperties, a as ResolvedEndnoteProperties, A as AuthoredNoteProperties } from './note-properties-CQlxjic_.cjs';
10
- import { S as SemanticLayout, C as ContentControlBoundaryRecord, T as TextMeasurer } from './semantic-records-DadVT_E1.cjs';
11
- import { S as StoryScope, A as ApplyImagePropertiesInput, d as ImageIntentResult, c as InsertImageInput, B as BookmarkIndex } from './custom-node-writes-Dy3b20PS.cjs';
12
- import { C as CellSelection, S as SectionProperties } from './semantic-cell-selection-BPzx6DdT.cjs';
13
- import { Unsubscribe, ExecResult, ParagraphTabStop, IndentFormatting, ParagraphFlags, ParagraphDisagreements, SelectionPin } from './contracts/types.cjs';
14
- import { c as TreeDocxSessionView, a as TreeApplyResult } from './tree-session-Df02ajqc.cjs';
11
+ import { S as SemanticLayout, C as ContentControlBoundaryRecord, T as TextMeasurer } from './semantic-records-CMakzQ1X.cjs';
12
+ import { S as StoryScope, A as ApplyImagePropertiesInput, d as ImageIntentResult, c as InsertImageInput, B as BookmarkIndex } from './custom-node-writes-Db8H6Z3n.cjs';
13
+ import { C as CellSelection, S as SectionProperties } from './semantic-cell-selection-DT9x9WLf.cjs';
14
+ import { T as TreeDocxSessionView, a as TreeApplyResult } from './tree-session-contract-ByWx8eew.cjs';
15
15
  import './contracts/document.cjs';
16
16
 
17
17
  /**
@@ -1233,6 +1233,16 @@ interface ContentControlSurfaceState {
1233
1233
  /** Innermost control containing the caret, or null. */
1234
1234
  readonly activeControlId: string | null;
1235
1235
  }
1236
+ /**
1237
+ * Where the section after an inserted break begins — Word's Layout > Breaks menu.
1238
+ *
1239
+ * The two the engine paginates. `evenPage` / `oddPage` are readable in a file but not
1240
+ * offered here, because layout does not skip the blank sheet they need yet, and a menu
1241
+ * entry that silently behaves like `nextPage` is the lie this vocabulary exists to avoid.
1242
+ *
1243
+ * @public
1244
+ */
1245
+ type SectionBreakInsertType = 'nextPage' | 'continuous';
1236
1246
  /**
1237
1247
  * The mounted, painted, editable document — the layer `createDocxEditor` builds its contract on.
1238
1248
  *
@@ -1518,11 +1528,33 @@ interface PaginatedSurface {
1518
1528
  readonly anchorParagraphId?: string;
1519
1529
  }): boolean;
1520
1530
  /**
1521
- * Insert a next-page section break at the caret: the paragraph splits, and the head
1522
- * ends a new section cloning the governing section's page setup — Word's Layout >
1523
- * Breaks > Next Page. One undoable step. Returns whether the break committed.
1531
+ * Insert a section break at the caret: the paragraph splits, and the head ends a new
1532
+ * section cloning the governing section's page setup — Word's Layout > Breaks. One
1533
+ * undoable step. Returns whether the break committed.
1534
+ *
1535
+ * `breakType` says where the section AFTER the break begins: `'nextPage'` (the default,
1536
+ * Word's Next Page) starts a new sheet, `'continuous'` keeps it on the sheet the
1537
+ * previous section ended, which is how a mid-page column or margin change is authored.
1538
+ */
1539
+ insertSectionBreak(breakType?: SectionBreakInsertType): boolean;
1540
+ /**
1541
+ * Why {@link insertSectionBreak} would refuse this kind right now, or `null`.
1542
+ *
1543
+ * THE authority for the BREAK's own questions, so `Editor.can` and the write cannot answer
1544
+ * those differently. Both halves are things only the surface knows: the LIVE editing mode
1545
+ * (a document that declares `w:trackRevisions` opens suggesting without anyone passing a
1546
+ * mode, and Review > Track Changes moves it again afterwards), and the paragraph the break
1547
+ * would actually land in — which for a range in suggesting mode is past the struck words,
1548
+ * not the selection's head.
1549
+ *
1550
+ * NOT the deletion's questions. A break replaces the selection first, and that deletion can
1551
+ * cross content a control holds or a region protected some other way; only the store sees
1552
+ * that, and it sees it at write time. So a range whose landing is fine while its deletion
1553
+ * is not answers `null` here and refuses at the press — as every other replacing command in
1554
+ * the engine does, less loudly. Story scope is gated separately again, because a caret in a
1555
+ * header refuses every break kind for a different reason.
1524
1556
  */
1525
- insertSectionBreak(): boolean;
1557
+ sectionBreakRefusal(breakType?: SectionBreakInsertType): string | null;
1526
1558
  /** The layout session, so a host or a test can see how much work a pass actually did. */
1527
1559
  layoutSession(): {
1528
1560
  readonly stats: {
@@ -1627,6 +1659,15 @@ interface PaginatedSurface {
1627
1659
  * target is one this engine will not author, and the write is refused having changed nothing.
1628
1660
  */
1629
1661
  applyAutomationOps(staged: (relate: (url: string) => string | null) => readonly TreeDocOp[] | null, scope?: StoryScope): TreeApplyResult;
1662
+ /**
1663
+ * Which revision halves this surface is SHOWING.
1664
+ *
1665
+ * Read by the automation adapter so the object model's formatting reaches the same runs the
1666
+ * toolbar does. A range's offsets cover every revision half whatever the view does with
1667
+ * them, so with markup on, a selection over a struck word means one thing to a reader and
1668
+ * would mean another to a script that assumed the resolved result.
1669
+ */
1670
+ revisionDisplayMode(): RevisionDisplayMode;
1630
1671
  /**
1631
1672
  * Commit review ops — accept, reject, a new comment — through the SAME path a keystroke
1632
1673
  * takes: layout, paint, and a caret clamped to what the document now holds.
@@ -1732,6 +1773,25 @@ interface PaginatedSurface {
1732
1773
  bookmarks(): BookmarkIndex;
1733
1774
  /** The selected text, for copy and cut. */
1734
1775
  selectedText(): string;
1776
+ /**
1777
+ * Every clipboard flavour for the current selection: plain text, and the interop HTML
1778
+ * carrying the embedded fragment when the selection is a body-story range. A cell
1779
+ * rectangle answers grid text plus a flattened table; `html` is null where only plain
1780
+ * text should be written.
1781
+ */
1782
+ copyFlavours(): {
1783
+ readonly text: string;
1784
+ readonly html: string | null;
1785
+ };
1786
+ /**
1787
+ * Route one paste payload by fidelity: embedded fragment, then external HTML, then
1788
+ * plain text — degrading on decode, read, or apply refusal. Suggesting mode, non-body
1789
+ * stories and an armed force-plain all land on the plain lane. False when the payload
1790
+ * landed on no lane at all (nothing to insert).
1791
+ */
1792
+ pasteRich(text: string, html: string | null): boolean;
1793
+ /** The next paste routes plain, whatever its payload carries (Cmd+Shift+V). */
1794
+ armForcePlainPaste(): void;
1735
1795
  /** Remove the selection, if any. Returns whether anything was deleted. */
1736
1796
  deleteSelection(): boolean;
1737
1797
  navigate(command: NavigationCommand, extend?: boolean): void;
@@ -2619,9 +2679,9 @@ declare function chromeSlotId(group: {
2619
2679
  declare function defaultChromeGroups(): readonly ChromeGroup[];
2620
2680
  /**
2621
2681
  * The formatting-bar groups for one editor snapshot: the default bar, plus the
2622
- * contextual `image` group when a drawing is selected. Insertion without a selection is
2623
- * not in the packaged chrome at all — a host that wants it places `image.insert` itself,
2624
- * through `DocxEditor.Toolbar.ImageInsert` or `DocxEditor.Menu.ImageInsert`.
2682
+ * contextual `image` group when a drawing is selected. Insertion without a selection
2683
+ * lives in the packaged Insert menu (`CHROME_MENUS`), not in the bar — a host that wants
2684
+ * a bar button places `DocxEditor.Toolbar.ImageInsert` itself.
2625
2685
  *
2626
2686
  * @public
2627
2687
  */
@@ -2958,4 +3018,4 @@ declare function runTableCommand(editor: Editor | null, command: EditorCommand):
2958
3018
  */
2959
3019
  declare function createDocxEditor(config: DocxEditorConfig): DocxEditorInstance;
2960
3020
 
2961
- export { type SectionAnchor 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 RunTableChromeCommandResult as _, type PaginatedSurface as a, tableChromeIconPaths as a$, type SelectedDrawingOverlayTarget as a0, type SurfaceEquation as a1, type SurfaceFormatting as a2, type SurfaceHyperlink as a3, type SurfaceNavigation as a4, type SurfaceOverlayCoordinates as a5, type SurfaceParagraphFormat as a6, TABLE_BORDER_STYLE_OPTIONS as a7, TABLE_BORDER_TARGET_OPTIONS as a8, TABLE_BORDER_WIDTH_OPTIONS as a9, createDocxEditor as aA, createFontSource as aB, createImageOverlayScrollPort as aC, cssPixelsToLayoutPoints as aD, defaultChromeGroups as aE, defaultTableLabel as aF, emuToOverlayPoints as aG, equationAtPosition as aH, executeImageCommand as aI, finalizeImageOverlayInteraction as aJ, formattingBarChromeGroups as aK, isStaleImageInteractionCommit as aL, isTableChromeSlot as aM, layoutPointsToCssPixels as aN, loadFonts as aO, overlayFrameToSheetCssPixels as aP, overlayHostOrigin as aQ, pointsToEmu as aR, probeTableChromeCommand as aS, resizePreservesAspect as aT, runSave as aU, runTableChromeCommand as aV, runTableCommand as aW, runToolbarCommand as aX, selectedDrawingOverlayTargetOf as aY, selectedImageStateOf as aZ, surfacePaintScale as a_, TABLE_CHROME_SLOT_IDS as aa, type TableBorderStyleOption as ab, type TableBorderTargetOption as ac, type TableBorderTargetValue as ad, type TableBorderWidthOption as ae, type TableChromeDraft as af, type TableChromePick as ag, type TableChromeSlotId as ah, type TableInteractionLabelKey as ai, type ToolbarCommandState as aj, WORD_DEFAULT_FONT as ak, applyTableChromePick as al, blankDocumentBytes as am, canExecuteImageCommand as an, captureImageMutationPreconditions as ao, chromeControlCount as ap, chromeMenuSlots as aq, chromeProbeForSlot as ar, chromeSlotId as as, commandForSlot as at, commandForSlotValue as au, commandForTableChromeSlotValue as av, composeFontConfiguration as aw, computeImageResizeResult as ax, computeMovedImagePosition as ay, computeResizedImageExtentEmu as az, CHROME_MENUS as b, tableChromeLabelKeyForTarget as b0, tableChromeToolbarState as b1, tableChromeVisible as b2, tableCommandToolbarState as b3, toolbarCommandState as b4, toolbarCommandStates as b5, 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 };
3021
+ export { type SectionAnchor 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 RunTableChromeCommandResult as _, type PaginatedSurface as a, surfacePaintScale as a$, type SectionBreakInsertType as a0, type SelectedDrawingOverlayTarget as a1, type SurfaceEquation as a2, type SurfaceFormatting as a3, type SurfaceHyperlink as a4, type SurfaceNavigation as a5, type SurfaceOverlayCoordinates as a6, type SurfaceParagraphFormat as a7, TABLE_BORDER_STYLE_OPTIONS as a8, TABLE_BORDER_TARGET_OPTIONS as a9, computeResizedImageExtentEmu as aA, createDocxEditor as aB, createFontSource as aC, createImageOverlayScrollPort as aD, cssPixelsToLayoutPoints as aE, defaultChromeGroups as aF, defaultTableLabel as aG, emuToOverlayPoints as aH, equationAtPosition as aI, executeImageCommand as aJ, finalizeImageOverlayInteraction as aK, formattingBarChromeGroups as aL, isStaleImageInteractionCommit as aM, isTableChromeSlot as aN, layoutPointsToCssPixels as aO, loadFonts as aP, overlayFrameToSheetCssPixels as aQ, overlayHostOrigin as aR, pointsToEmu as aS, probeTableChromeCommand as aT, resizePreservesAspect as aU, runSave as aV, runTableChromeCommand as aW, runTableCommand as aX, runToolbarCommand as aY, selectedDrawingOverlayTargetOf as aZ, selectedImageStateOf as a_, TABLE_BORDER_WIDTH_OPTIONS as aa, TABLE_CHROME_SLOT_IDS as ab, type TableBorderStyleOption as ac, type TableBorderTargetOption as ad, type TableBorderTargetValue as ae, type TableBorderWidthOption as af, type TableChromeDraft as ag, type TableChromePick as ah, type TableChromeSlotId as ai, type TableInteractionLabelKey as aj, type ToolbarCommandState as ak, WORD_DEFAULT_FONT as al, applyTableChromePick as am, blankDocumentBytes as an, canExecuteImageCommand as ao, captureImageMutationPreconditions as ap, chromeControlCount as aq, chromeMenuSlots as ar, chromeProbeForSlot as as, chromeSlotId as at, commandForSlot as au, commandForSlotValue as av, commandForTableChromeSlotValue as aw, composeFontConfiguration as ax, computeImageResizeResult as ay, computeMovedImagePosition as az, CHROME_MENUS as b, tableChromeIconPaths as b0, tableChromeLabelKeyForTarget as b1, tableChromeToolbarState as b2, tableChromeVisible as b3, tableCommandToolbarState as b4, toolbarCommandState as b5, toolbarCommandStates as b6, 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 };
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- 'use strict';var chunkKQGENNL5_cjs=require('./chunk-KQGENNL5.cjs');require('./chunk-7ETDCPF6.cjs'),require('./chunk-6KNLLEUW.cjs'),require('./chunk-H2656QDI.cjs'),require('./chunk-O4UULRAQ.cjs'),require('./chunk-7UU5YFCD.cjs'),require('./chunk-7ADTI533.cjs'),require('./chunk-YMYCPY5Y.cjs'),require('./chunk-7VQ7YLW3.cjs');Object.defineProperty(exports,"CHROME_GROUPS",{enumerable:true,get:function(){return chunkKQGENNL5_cjs.va}});Object.defineProperty(exports,"CHROME_MENUS",{enumerable:true,get:function(){return chunkKQGENNL5_cjs.za}});Object.defineProperty(exports,"WORD_DEFAULT_FONT",{enumerable:true,get:function(){return chunkKQGENNL5_cjs.f}});Object.defineProperty(exports,"blankDocumentBytes",{enumerable:true,get:function(){return chunkKQGENNL5_cjs.h}});Object.defineProperty(exports,"chromeMenuSlots",{enumerable:true,get:function(){return chunkKQGENNL5_cjs.Aa}});Object.defineProperty(exports,"commandForSlot",{enumerable:true,get:function(){return chunkKQGENNL5_cjs.ja}});Object.defineProperty(exports,"commandForSlotValue",{enumerable:true,get:function(){return chunkKQGENNL5_cjs.la}});Object.defineProperty(exports,"composeFontConfiguration",{enumerable:true,get:function(){return chunkKQGENNL5_cjs.g}});Object.defineProperty(exports,"createDocxEditor",{enumerable:true,get:function(){return chunkKQGENNL5_cjs.Ma}});Object.defineProperty(exports,"createFontSource",{enumerable:true,get:function(){return chunkKQGENNL5_cjs.k}});Object.defineProperty(exports,"loadFonts",{enumerable:true,get:function(){return chunkKQGENNL5_cjs.j}});Object.defineProperty(exports,"runToolbarCommand",{enumerable:true,get:function(){return chunkKQGENNL5_cjs.qa}});Object.defineProperty(exports,"toolbarCommandState",{enumerable:true,get:function(){return chunkKQGENNL5_cjs.na}});
1
+ 'use strict';var chunkSYTWKJPJ_cjs=require('./chunk-SYTWKJPJ.cjs');require('./chunk-4XL7SOWQ.cjs'),require('./chunk-6K6QQVAZ.cjs'),require('./chunk-7ZJL5AEY.cjs'),require('./chunk-HBEBUCRM.cjs'),require('./chunk-C6LK2BYA.cjs'),require('./chunk-35MI6K7M.cjs'),require('./chunk-YMYCPY5Y.cjs'),require('./chunk-7VQ7YLW3.cjs');Object.defineProperty(exports,"CHROME_GROUPS",{enumerable:true,get:function(){return chunkSYTWKJPJ_cjs.va}});Object.defineProperty(exports,"CHROME_MENUS",{enumerable:true,get:function(){return chunkSYTWKJPJ_cjs.za}});Object.defineProperty(exports,"WORD_DEFAULT_FONT",{enumerable:true,get:function(){return chunkSYTWKJPJ_cjs.f}});Object.defineProperty(exports,"blankDocumentBytes",{enumerable:true,get:function(){return chunkSYTWKJPJ_cjs.h}});Object.defineProperty(exports,"chromeMenuSlots",{enumerable:true,get:function(){return chunkSYTWKJPJ_cjs.Aa}});Object.defineProperty(exports,"commandForSlot",{enumerable:true,get:function(){return chunkSYTWKJPJ_cjs.ja}});Object.defineProperty(exports,"commandForSlotValue",{enumerable:true,get:function(){return chunkSYTWKJPJ_cjs.la}});Object.defineProperty(exports,"composeFontConfiguration",{enumerable:true,get:function(){return chunkSYTWKJPJ_cjs.g}});Object.defineProperty(exports,"createDocxEditor",{enumerable:true,get:function(){return chunkSYTWKJPJ_cjs.Ma}});Object.defineProperty(exports,"createFontSource",{enumerable:true,get:function(){return chunkSYTWKJPJ_cjs.k}});Object.defineProperty(exports,"loadFonts",{enumerable:true,get:function(){return chunkSYTWKJPJ_cjs.j}});Object.defineProperty(exports,"runToolbarCommand",{enumerable:true,get:function(){return chunkSYTWKJPJ_cjs.qa}});Object.defineProperty(exports,"toolbarCommandState",{enumerable:true,get:function(){return chunkSYTWKJPJ_cjs.na}});
package/dist/index.d.cts CHANGED
@@ -1,22 +1,22 @@
1
- export { f as DrawingHorizontalReferenceFrame, c as DrawingKind, e as DrawingLocks, d as DrawingPositionInput, g as DrawingVerticalReferenceFrame, b as ImageWrapTarget, R as RevisionAddress } from './tree-op-types-D1vNJ7XC.cjs';
2
- export { I as ImageResourceState, P as PreservedImageMime, R as RenderableImageMime, S as SupportedImageMime, V as ValidatedImageBytesHandle, a as VectorImageMime } from './image-resources-BiA-IXgo.cjs';
3
- export { C as CommentRecord, c as ReviewCommentItem, d as ReviewCustomItem, a as ReviewItem, R as ReviewModelInput, e as ReviewPosition, f as ReviewRange, b as ReviewRevisionItem, g as ReviewRevisionKind } from './review-items-B8tffIXj.cjs';
1
+ export { g as DrawingHorizontalReferenceFrame, D as DrawingKind, e as DrawingLocks, d as DrawingPositionInput, h as DrawingVerticalReferenceFrame, f as ImageResourceState, b as ImageWrapTarget, P as PreservedImageMime, R as RenderableImageMime, c as SupportedImageMime, V as ValidatedImageBytesHandle, i as VectorImageMime } from './tree-op-types-DSJYmf5b.cjs';
2
+ export { Block, ColorValue, ContainerRef, ContentControl, ContentControlFilter, ContentControlType, DocAnchor, DocAnchorRange, DocComment, DocLocation, DocRange, DocTarget, DocumentBody, DocxDocument, DocxDocumentJSON, ExecErrorCode, ExecResult, Extent, FontDefinition, HeaderFooterSet, IndentFormatting, InsertableContentControlType, NumberingRef, PageMargins, Paragraph, ParagraphDisagreements, ParagraphFlags, ParagraphFormatCommand, ParagraphTabStop, Point, Rect, Revision, RevisionType, Run, RunFormatting, Section, SectionProperties, SelectionPin, StyleDefinition, StyleDefinitions, Table, TableCell, TableRow, Theme, ThemeColorScheme, Unsubscribe, Watermark } from './contracts/types.cjs';
3
+ export { R as RevisionAddress } from './tree-op-revision-attribution-CN06Xshv.cjs';
4
+ export { C as CommentRecord, c as ReviewCommentItem, d as ReviewCustomItem, a as ReviewItem, R as ReviewModelInput, e as ReviewPosition, f as ReviewRange, b as ReviewRevisionItem, g as ReviewRevisionKind } from './review-items-CwixiHNe.cjs';
4
5
  export { CollectReviewItems, EditorModule, ReviewModuleContribution } from './contracts/modules.cjs';
5
- export { A as AuthoredNoteNumbering, C as CanResult, q as DocumentChange, r as DocumentEditingMode, t as DocumentHandle, D as DocumentSource, l as Editor, b as EditorCommand, u as EditorCommandShape, w as EditorCommands, x as EditorError, y as EditorEvents, E as EditorFontError, z as EditorFontErrorCode, B as EditorHeaderFooterCommands, G as EditorNoteCommands, H as EditorPosition, J as EditorQueries, K as EditorQuery, L as EditorQueryResults, M as EditorScope, N as EditorSelection, a as EditorSnapshot, F as FontConfiguration, m as FontFaceRequest, j as FontSource, k as FontSourceSubstitution, O as FurnitureVariant, P as HeaderFooterSlotArgs, Q as HeaderFooterState, R as HyperlinkInfo, I as ImageContext, c as ImageCropPercent, U as InteractionAffinity, W as InteractionOutcome, X as InteractionOutcomeCode, Y as NoteKind, _ as NotePropertiesSide, $ as NotePropertiesState, a0 as PageSetup, a1 as ResolvedNoteNumbering, a2 as ReviewActivationOptions, a3 as ReviewCommentPlacement, a4 as ReviewCustomPlacement, a5 as ReviewItemPlacement, a6 as ReviewItemPlacementBase, a7 as ReviewItemQuery, a8 as ReviewRevisionPlacement, S as SelectedImageState, a9 as SemanticIdentity, aa as SemanticTarget, T as TableBorderEdgeTarget, n as TableBorderSpec, o as TableBorderStyle, ab as TableBorderTarget, ac as TableCellVerticalAlignment, ad as TableColumnDividerResizeTarget, ae as TableColumnOccurrenceTarget, p as TableContext, af as TableRightEdgeResizeTarget, ag as TableRowOccurrenceTarget, ah as TextMatch, V as ViewScope, ai as ZoomFitTarget, Z as ZoomMode } from './editor-cAEf1uXW.cjs';
6
+ export { A as AuthoredNoteNumbering, C as CanResult, q as DocumentChange, r as DocumentEditingMode, t as DocumentHandle, D as DocumentSource, l as Editor, b as EditorCommand, u as EditorCommandShape, w as EditorCommands, x as EditorError, y as EditorEvents, E as EditorFontError, z as EditorFontErrorCode, B as EditorHeaderFooterCommands, G as EditorNoteCommands, H as EditorPosition, J as EditorQueries, K as EditorQuery, L as EditorQueryResults, M as EditorScope, N as EditorSelection, a as EditorSnapshot, F as FontConfiguration, m as FontFaceRequest, j as FontSource, k as FontSourceSubstitution, O as FurnitureVariant, P as HeaderFooterSlotArgs, Q as HeaderFooterState, R as HyperlinkInfo, I as ImageContext, c as ImageCropPercent, U as InteractionAffinity, W as InteractionOutcome, X as InteractionOutcomeCode, Y as NoteKind, _ as NotePropertiesSide, $ as NotePropertiesState, a0 as PageSetup, a1 as ResolvedNoteNumbering, a2 as ReviewActivationOptions, a3 as ReviewCommentPlacement, a4 as ReviewCustomPlacement, a5 as ReviewItemPlacement, a6 as ReviewItemPlacementBase, a7 as ReviewItemQuery, a8 as ReviewRevisionPlacement, S as SelectedImageState, a9 as SemanticIdentity, aa as SemanticTarget, T as TableBorderEdgeTarget, n as TableBorderSpec, o as TableBorderStyle, ab as TableBorderTarget, ac as TableCellVerticalAlignment, ad as TableColumnDividerResizeTarget, ae as TableColumnOccurrenceTarget, p as TableContext, af as TableRightEdgeResizeTarget, ag as TableRowOccurrenceTarget, ah as TextMatch, V as ViewScope, ai as ZoomFitTarget, Z as ZoomMode } from './editor-CwzY2Hcg.cjs';
6
7
  export { R as RevisionDisplayMode } from './revision-projection-Cc4wz30g.cjs';
7
- export { S as SemanticPosition, a as SemanticSelection } from './semantic-interaction-BfWDD_0V.cjs';
8
- export { C as CHROME_GROUPS, b as CHROME_MENUS, i as ChromeMenu, j as ChromeMenuEntry, k as ChromeMenuId, l as ChromeMenuItemEntry, m as ChromeMenuSeparatorEntry, n as ChromeMenuSubmenuEntry, o as ChromeSlotId, q as DocxEditorConfig, D as DocxEditorInstance, 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, U as LoadFontsRequest, V as LoadFontsResult, a3 as SurfaceHyperlink, aj as ToolbarCommandState, ak as WORD_DEFAULT_FONT, am as blankDocumentBytes, aq as chromeMenuSlots, at as commandForSlot, au as commandForSlotValue, aw as composeFontConfiguration, aA as createDocxEditor, aB as createFontSource, aO as loadFonts, aX as runToolbarCommand, b4 as toolbarCommandState } from './index-wb-iOxfh.cjs';
9
- export { Block, ColorValue, ContainerRef, ContentControl, ContentControlFilter, ContentControlType, DocAnchor, DocAnchorRange, DocComment, DocLocation, DocRange, DocTarget, DocumentBody, DocxDocument, DocxDocumentJSON, ExecErrorCode, ExecResult, Extent, FontDefinition, HeaderFooterSet, IndentFormatting, InsertableContentControlType, NumberingRef, PageMargins, Paragraph, ParagraphDisagreements, ParagraphFlags, ParagraphFormatCommand, ParagraphTabStop, Point, Rect, Revision, RevisionType, Run, RunFormatting, Section, SectionProperties, SelectionPin, StyleDefinition, StyleDefinitions, Table, TableCell, TableRow, Theme, ThemeColorScheme, Unsubscribe, Watermark } from './contracts/types.cjs';
8
+ export { S as SemanticPosition, a as SemanticSelection } from './semantic-interaction-Z0xKQcB4.cjs';
9
+ export { C as CHROME_GROUPS, b as CHROME_MENUS, i as ChromeMenu, j as ChromeMenuEntry, k as ChromeMenuId, l as ChromeMenuItemEntry, m as ChromeMenuSeparatorEntry, n as ChromeMenuSubmenuEntry, o as ChromeSlotId, q as DocxEditorConfig, D as DocxEditorInstance, 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, U as LoadFontsRequest, V as LoadFontsResult, a4 as SurfaceHyperlink, ak as ToolbarCommandState, al as WORD_DEFAULT_FONT, an as blankDocumentBytes, ar as chromeMenuSlots, au as commandForSlot, av as commandForSlotValue, ax as composeFontConfiguration, aB as createDocxEditor, aC as createFontSource, aP as loadFonts, aY as runToolbarCommand, b5 as toolbarCommandState } from './index-nLFwo_17.cjs';
10
10
  export { ApplyResult, ContentControlSummary, DocEdit, DocEdits, DocQueries, DocQuery, DocQueryResults, ParagraphSummary } from './contracts/document.cjs';
11
11
  import './ooxml-package-CdEy9ufK.cjs';
12
- import './semantic-records-DadVT_E1.cjs';
12
+ import './semantic-records-CMakzQ1X.cjs';
13
13
  import './omml-equation-BD-LsmWE.cjs';
14
- import './semantic-paint-Bd7EqzXV.cjs';
14
+ import './semantic-paint-CQEOC0Od.cjs';
15
15
  import './note-properties-CQlxjic_.cjs';
16
- import './custom-node-writes-Dy3b20PS.cjs';
16
+ import './custom-node-writes-Db8H6Z3n.cjs';
17
17
  import './hf-references-Dvk6De4Q.cjs';
18
18
  import './note-nodes-DL-Au22P.cjs';
19
- import './tree-store-B_sJBMIS.cjs';
20
- import './semantic-cell-selection-BPzx6DdT.cjs';
21
- import './tree-session-Df02ajqc.cjs';
19
+ import './tree-store-CWOUMGN8.cjs';
20
+ import './semantic-cell-selection-DT9x9WLf.cjs';
21
+ import './tree-session-contract-ByWx8eew.cjs';
22
22
  import 'prosemirror-model';