@docx-editor.dev/core 2.30.0 → 2.32.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 (133) hide show
  1. package/README.md +24 -0
  2. package/dist/automation.cjs +1 -1
  3. package/dist/automation.d.ts +18 -27
  4. package/dist/automation.js +1 -1
  5. package/dist/binding.cjs +1 -1
  6. package/dist/binding.d.ts +17 -16
  7. package/dist/binding.js +1 -1
  8. package/dist/bookmark-names-DDuAra_V.d.ts +37 -0
  9. package/dist/{chrome-print-BM3Js-6X.d.ts → chrome-print-CznJ0ucN.d.ts} +361 -41
  10. package/dist/chunk-25EXMBV2.cjs +5 -0
  11. package/dist/chunk-2CWQY27B.cjs +1 -0
  12. package/dist/chunk-3IEXDEFH.cjs +7 -0
  13. package/dist/chunk-65XBN67F.cjs +2 -0
  14. package/dist/chunk-6NVZNB7O.cjs +3 -0
  15. package/dist/chunk-6UDJUI3W.cjs +2 -0
  16. package/dist/chunk-ACLR4DMK.js +1 -0
  17. package/dist/{chunk-RJCQGJR7.js → chunk-B2BEELUE.js} +1 -1
  18. package/dist/chunk-DDFHKQFU.js +30 -0
  19. package/dist/chunk-E4IAO4CY.cjs +2 -0
  20. package/dist/chunk-ETDZFNMI.js +2 -0
  21. package/dist/chunk-FDSL5OJU.cjs +30 -0
  22. package/dist/chunk-FS7CMYLT.js +4 -0
  23. package/dist/chunk-GDS24SZN.js +30 -0
  24. package/dist/chunk-GIY6NT2X.js +5 -0
  25. package/dist/chunk-GWM3AKUD.js +18 -0
  26. package/dist/chunk-HDOXACHP.js +2 -0
  27. package/dist/chunk-IILEENID.js +1 -0
  28. package/dist/chunk-L5TYBFDB.js +1 -0
  29. package/dist/chunk-MNF2K7NN.cjs +30 -0
  30. package/dist/chunk-O324RB6R.cjs +1 -0
  31. package/dist/chunk-OKMEMSKB.cjs +1 -0
  32. package/dist/chunk-QXJKYNYZ.js +1 -0
  33. package/dist/chunk-RALTVLB6.js +2 -0
  34. package/dist/chunk-SRVKFUFI.js +3 -0
  35. package/dist/chunk-TELQ52LG.cjs +1 -0
  36. package/dist/chunk-TJHE5EET.cjs +1 -0
  37. package/dist/chunk-UMMRURPE.js +7 -0
  38. package/dist/chunk-WN7ICTA5.js +1 -0
  39. package/dist/{chunk-FLBEJC6X.cjs → chunk-XJYZVGQR.cjs} +1 -1
  40. package/dist/chunk-ZGTIE3QJ.cjs +4 -0
  41. package/dist/chunk-ZOZI27AW.cjs +18 -0
  42. package/dist/collaboration/replication.cjs +1 -1
  43. package/dist/collaboration/replication.d.ts +20 -5
  44. package/dist/collaboration/replication.js +1 -1
  45. package/dist/collaboration.cjs +1 -1
  46. package/dist/collaboration.d.ts +5 -6
  47. package/dist/collaboration.js +1 -1
  48. package/dist/contracts/document.d.ts +3 -3
  49. package/dist/contracts/editor.d.ts +13 -10
  50. package/dist/contracts/interaction.d.ts +2 -2
  51. package/dist/contracts/modules.d.ts +15 -13
  52. package/dist/contracts/types.d.ts +135 -2
  53. package/dist/{custom-node-writes-0v0Kgw1T.d.ts → custom-node-writes-CLJKGD9t.d.ts} +7 -2
  54. package/dist/{diagnostic-context-CcAO4q1s.d.ts → diagnostic-context-BtDUY3v2.d.ts} +3 -2
  55. package/dist/{diagnostic-hints-2Bke6H_w.d.ts → diagnostic-hints-DK8-V0fk.d.ts} +2 -2
  56. package/dist/{document-protection-8eyMWIJ0.d.ts → document-protection-NaniLHWF.d.ts} +1 -1
  57. package/dist/{editor-DaEJd2so.d.ts → editor-DZwOTmlR.d.ts} +386 -279
  58. package/dist/editor-fonts-D_-vjuJi.d.ts +53 -0
  59. package/dist/{editor-scope-7o9xweiJ.d.ts → editor-scope-B3L-1ALc.d.ts} +57 -4
  60. package/dist/editor.cjs +1 -1
  61. package/dist/editor.css +6 -4
  62. package/dist/editor.d.ts +646 -31
  63. package/dist/editor.js +1 -1
  64. package/dist/export.cjs +2 -2
  65. package/dist/export.d.ts +9 -16
  66. package/dist/export.js +2 -2
  67. package/dist/{failure-NS2lsya4.d.ts → failure-6KGFrDO9.d.ts} +1 -1
  68. package/dist/{font-resolver-CL9BVKZo.d.ts → font-resolver-BlQNGdvR.d.ts} +1 -1
  69. package/dist/{headless-document-view-DZQN8Bnx.d.ts → headless-document-view-Bcz9_Qva.d.ts} +115 -4
  70. package/dist/index.cjs +1 -1
  71. package/dist/index.d.ts +27 -26
  72. package/dist/index.js +1 -1
  73. package/dist/{layout-shaping-cEnVrhWg.d.ts → layout-shaping-E5J4Z1Gf.d.ts} +1 -1
  74. package/dist/layout.cjs +1 -1
  75. package/dist/layout.d.ts +95 -23
  76. package/dist/layout.js +1 -1
  77. package/dist/{note-properties-9FH8zAeG.d.ts → note-properties-Ds5R2_3F.d.ts} +1 -1
  78. package/dist/output.cjs +1 -1
  79. package/dist/output.d.ts +24 -10
  80. package/dist/output.js +1 -1
  81. package/dist/{protocol-CZ1uUlPO.d.ts → protocol-DKa4qt7F.d.ts} +167 -5
  82. package/dist/{review-paragraph-order-CqVelc5A.d.ts → review-paragraph-order-Dc17w_6v.d.ts} +1 -1
  83. package/dist/revision-projection-Cn6rZJ7H.d.ts +258 -0
  84. package/dist/{semantic-cell-selection-Dr9yxFZt.d.ts → semantic-cell-selection-BaUR0iJ4.d.ts} +2 -2
  85. package/dist/{semantic-interaction-Dc3pf3hr.d.ts → semantic-interaction-CJoHLoOl.d.ts} +1 -1
  86. package/dist/{semantic-paint-Bz3FBAoH.d.ts → semantic-paint-BPw_n0li.d.ts} +7 -4
  87. package/dist/{semantic-record-queries-Bx0pl6kL.d.ts → semantic-record-queries-C0rJ3sB4.d.ts} +1 -1
  88. package/dist/{semantic-records-CjcF26ZL.d.ts → semantic-records-BvN-WWst.d.ts} +365 -512
  89. package/dist/store.cjs +1 -1
  90. package/dist/store.d.ts +47 -22
  91. package/dist/store.js +1 -1
  92. package/dist/{types-barrel-CA0xB8kH.d.ts → tree-op-types-C_S2niXW.d.ts} +1239 -747
  93. package/dist/{tree-package-store-DKhdEVym.d.ts → tree-package-store-CRHvMyNj.d.ts} +676 -646
  94. package/dist/{tree-session-contract-CwnTEVLF.d.ts → tree-session-contract-D1awo_dA.d.ts} +26 -13
  95. package/dist/unsupported-elements-CVos5cqe.d.ts +23 -0
  96. package/docs/accept-reject-without-scrolling.md +95 -0
  97. package/docs/comment-on-found-text.md +72 -0
  98. package/docs/custom-review-cards.md +178 -0
  99. package/docs/highlight-ranges.md +48 -0
  100. package/docs/index.md +36 -0
  101. package/docs/propose-rewrite.md +247 -0
  102. package/docs/tracked-replacement.md +68 -0
  103. package/package.json +3 -2
  104. package/dist/chunk-2PV5L5NJ.js +0 -5
  105. package/dist/chunk-5OTS2EJ7.js +0 -7
  106. package/dist/chunk-5P4223J4.cjs +0 -27
  107. package/dist/chunk-5RRAZMBU.cjs +0 -1
  108. package/dist/chunk-5SPITS5F.js +0 -18
  109. package/dist/chunk-6JIJOZDW.js +0 -1
  110. package/dist/chunk-7ATNKARV.js +0 -2
  111. package/dist/chunk-BGCUTKWE.cjs +0 -5
  112. package/dist/chunk-BTQKU64Q.cjs +0 -1
  113. package/dist/chunk-EBCXSH2W.js +0 -3
  114. package/dist/chunk-ERECKTIR.cjs +0 -2
  115. package/dist/chunk-HYASLE2G.cjs +0 -1
  116. package/dist/chunk-JC47NRJC.cjs +0 -3
  117. package/dist/chunk-KJRTNY2Q.cjs +0 -2
  118. package/dist/chunk-NKPUH3QJ.js +0 -1
  119. package/dist/chunk-PF5NJWS3.js +0 -2
  120. package/dist/chunk-PWTRJSES.cjs +0 -18
  121. package/dist/chunk-QFKGI242.cjs +0 -30
  122. package/dist/chunk-RPPV4S6T.cjs +0 -4
  123. package/dist/chunk-T32MGBJS.js +0 -1
  124. package/dist/chunk-UM26GH5B.js +0 -30
  125. package/dist/chunk-VRCZBFLH.js +0 -27
  126. package/dist/chunk-WF7JZ755.cjs +0 -1
  127. package/dist/chunk-WK5X2MMA.cjs +0 -7
  128. package/dist/chunk-WPDD2Y32.js +0 -2
  129. package/dist/chunk-YBMWBXST.cjs +0 -2
  130. package/dist/chunk-YZGUBCHP.js +0 -1
  131. package/dist/chunk-ZOS2PM4A.js +0 -4
  132. package/dist/image-resources-Bipz8toD.d.ts +0 -211
  133. package/dist/omml-equation-DP2WpUbK.d.ts +0 -97
@@ -1 +1 @@
1
- 'use strict';var chunkWF7JZ755_cjs=require('../chunk-WF7JZ755.cjs'),chunkPWTRJSES_cjs=require('../chunk-PWTRJSES.cjs');Object.defineProperty(exports,"createCollaborationDocumentPort",{enumerable:true,get:function(){return chunkWF7JZ755_cjs.b}});Object.defineProperty(exports,"mapOffsetAcrossText",{enumerable:true,get:function(){return chunkWF7JZ755_cjs.c}});Object.defineProperty(exports,"historyGroupOfJournal",{enumerable:true,get:function(){return chunkPWTRJSES_cjs.Ja}});Object.defineProperty(exports,"registerUndoHistoryPosition",{enumerable:true,get:function(){return chunkPWTRJSES_cjs.kl}});Object.defineProperty(exports,"reportHistoryGroup",{enumerable:true,get:function(){return chunkPWTRJSES_cjs.jl}});
1
+ 'use strict';var chunkO324RB6R_cjs=require('../chunk-O324RB6R.cjs'),chunkZOZI27AW_cjs=require('../chunk-ZOZI27AW.cjs');Object.defineProperty(exports,"createCollaborationDocumentPort",{enumerable:true,get:function(){return chunkO324RB6R_cjs.b}});Object.defineProperty(exports,"mapOffsetAcrossText",{enumerable:true,get:function(){return chunkO324RB6R_cjs.c}});Object.defineProperty(exports,"historyGroupOfJournal",{enumerable:true,get:function(){return chunkZOZI27AW_cjs.Na}});Object.defineProperty(exports,"registerUndoHistoryPosition",{enumerable:true,get:function(){return chunkZOZI27AW_cjs.Vl}});Object.defineProperty(exports,"reportHistoryGroup",{enumerable:true,get:function(){return chunkZOZI27AW_cjs.Ul}});
@@ -14,11 +14,10 @@
14
14
  * @packageDocumentation
15
15
  * @public
16
16
  */
17
- import { d as HistoryGroup, T as TreePackageStore, e as TreeModelChange } from '../tree-package-store-DKhdEVym.js';
18
- export { r as reportHistoryGroup } from '../tree-package-store-DKhdEVym.js';
19
- import { ah as OoxmlElement, Q as OoxmlPackage } from '../types-barrel-CA0xB8kH.js';
20
- import '../image-resources-Bipz8toD.js';
21
- import '../editor-scope-7o9xweiJ.js';
17
+ import { d as HistoryGroup, T as TreePackageStore, e as TreeModelChange } from '../tree-package-store-CRHvMyNj.js';
18
+ export { r as reportHistoryGroup } from '../tree-package-store-CRHvMyNj.js';
19
+ import { av as OoxmlElement, a5 as OoxmlPackage } from '../tree-op-types-C_S2niXW.js';
20
+ import '../editor-scope-B3L-1ALc.js';
22
21
 
23
22
  /** Attribute name as the journal addresses it. Prefix is authored fidelity, not identity. @public */
24
23
  interface CanonicalAttributeName {
@@ -131,6 +130,13 @@ declare function historyGroupOfJournal(journal: CanonicalPrimitiveJournal): Hist
131
130
  /** Options for a canonical collaboration document port. @public */
132
131
  interface CreateCollaborationDocumentPortOptions {
133
132
  readonly documentId: string;
133
+ /**
134
+ * The port belongs to an editor that people edit through, so it shows undo state to them.
135
+ * Set it for such a host: a full-document session then refuses `beginUndoGroup()` with
136
+ * `editor-attached`, and attaching the port closes an open undo group. See
137
+ * {@link CollaborationDocumentPort.interactive}. Default false.
138
+ */
139
+ readonly interactive?: boolean;
134
140
  }
135
141
  /** Create the narrow collaboration view over one canonical package store. @public */
136
142
  declare function createCollaborationDocumentPort(store: TreePackageStore, options: CreateCollaborationDocumentPortOptions): CollaborationDocumentPort;
@@ -214,6 +220,15 @@ type CollaborationApplyResult = {
214
220
  */
215
221
  interface CollaborationDocumentPort {
216
222
  readonly documentId: string;
223
+ /**
224
+ * True for the port of an editor that people edit through, which shows undo state to
225
+ * them. False or absent for a headless or server replica. Optional.
226
+ *
227
+ * While a port with `true` is attached, a full-document session refuses
228
+ * `beginUndoGroup()` with `editor-attached`, and attaching it closes an open undo group, so
229
+ * the undo state a person sees stays true.
230
+ */
231
+ readonly interactive?: boolean;
217
232
  paragraphs(): readonly CollaborationParagraph[];
218
233
  paragraphByNodeId(nodeId: string): CollaborationParagraph | null;
219
234
  /**
@@ -1 +1 @@
1
- export{b as createCollaborationDocumentPort,c as mapOffsetAcrossText}from'../chunk-YZGUBCHP.js';export{Ja as historyGroupOfJournal,kl as registerUndoHistoryPosition,jl as reportHistoryGroup}from'../chunk-5SPITS5F.js';
1
+ export{b as createCollaborationDocumentPort,c as mapOffsetAcrossText}from'../chunk-IILEENID.js';export{Na as historyGroupOfJournal,Vl as registerUndoHistoryPosition,Ul as reportHistoryGroup}from'../chunk-GWM3AKUD.js';
@@ -1 +1 @@
1
- 'use strict';var chunkBTQKU64Q_cjs=require('./chunk-BTQKU64Q.cjs');var C={"already-initialized":true,"authentication-failed":true,"baseline-digest-mismatch":true,"baseline-too-large":true,"blob-digest-mismatch":true,"blob-read":true,"blob-store-full":true,"blob-too-large":true,"collaboration-format-mismatch":true,"collaboration-session-destroyed":true,"collaboration-session-not-attached":true,"collaboration-session-not-ready":true,"collaboration-text-limit":true,"concurrent-seed":true,"document-id-mismatch":true,"duplicate-paragraph-id":true,"experimental-collaboration-body-text-only":true,"experimental-collaboration-existing-paragraphs-only":true,"experimental-collaboration-text-only":true,"experimental-collaboration-untracked-text-only":true,"immutable-baseline-changed":true,"immutable-metadata-changed":true,"initialization-aborted":true,"initialization-timeout":true,"invalid-baseline":true,"invalid-blob-descriptor":true,"invalid-bound":true,"invalid-document-id":true,"invalid-identity":true,"invalid-identity-color":true,"invalid-logical-id":true,"invalid-relationships":true,"invalid-saved-room":true,"invalid-session-id":true,"invalid-shared-metadata":true,"invalid-string":true,"local-mirror-failed":true,"materialize-dropped-content":true,"missing-blob":true,"missing-local-blob":true,"missing-root":true,"no-main-document-part":true,"not-initialized":true,"paragraph-set-mismatch":true,"port-already-attached":true,"protocol-version-mismatch":true,"prototype-key":true,"remote-apply-failed":true,"room-generation-changed":true,"saved-room-unavailable":true,"schema-version-mismatch":true,"shared-schema-invalid":true,"text-too-long":true,"too-many-attributes":true,"too-many-children":true,"too-many-nodes":true,"too-many-parts":true,"too-many-relationships":true,transport:true,"transport-disconnected":true,"tree-too-deep":true,"unknown-logical-id":true,"unknown-paragraph-id":true,"unsafe-part-name":true,"unsupported-root-key":true};function g(e){return Object.hasOwn(C,e)}function f(e,o){return e===o?true:!e||!o?false:e.code===o.code&&e.detail===o.detail}function h(e,o){return Object.freeze(o!==void 0&&o.length>0?{code:e,detail:o}:{code:e})}function S(e="initializing"){let o=e,a,l,s=0,r=false,i=false,d=Object.freeze({status:o,reason:a,lastFailure:l,failureCount:s,recovering:r,waiting:i}),u=()=>{d=Object.freeze({status:o,reason:a,lastFailure:l,failureCount:s,recovering:r,waiting:i});};return {status:()=>o,snapshot:()=>d,set(t,c,p,m=false){let n=c===void 0?void 0:h(c,p),b=t==="error"&&m;return o===t&&f(a,n)&&r===b?false:(o=t,a=n,r=b,t==="error"&&n&&(l=n,s+=1),u(),true)},setWaiting(t){return i===t?false:(i=t,u(),true)}}}Object.defineProperty(exports,"safeParticipantColor",{enumerable:true,get:function(){return chunkBTQKU64Q_cjs.a}});exports.createCollaborationStatusTracker=S;exports.isCollaborationFailureCode=g;
1
+ 'use strict';var chunk2CWQY27B_cjs=require('./chunk-2CWQY27B.cjs');Object.defineProperty(exports,"createCollaborationStatusTracker",{enumerable:true,get:function(){return chunk2CWQY27B_cjs.c}});Object.defineProperty(exports,"isCollaborationFailureCode",{enumerable:true,get:function(){return chunk2CWQY27B_cjs.b}});Object.defineProperty(exports,"safeParticipantColor",{enumerable:true,get:function(){return chunk2CWQY27B_cjs.a}});
@@ -7,13 +7,12 @@
7
7
  * @packageDocumentation
8
8
  * @public
9
9
  */
10
- import { S as StoryScope } from './tree-package-store-DKhdEVym.js';
11
- import { ag as TreeDocOp } from './types-barrel-CA0xB8kH.js';
10
+ import { S as StoryScope } from './tree-package-store-CRHvMyNj.js';
11
+ import { au as TreeDocOp } from './tree-op-types-C_S2niXW.js';
12
12
  import { CollaborationDocumentPort } from './collaboration/replication.js';
13
- import { C as CollaborationStatus, a as CollaborationStatusSnapshot, b as CollaborationFailureCode } from './failure-NS2lsya4.js';
14
- export { c as CollaborationFailure, d as createCollaborationStatusTracker, i as isCollaborationFailureCode } from './failure-NS2lsya4.js';
15
- import './image-resources-Bipz8toD.js';
16
- import './editor-scope-7o9xweiJ.js';
13
+ import { a as CollaborationStatus, b as CollaborationStatusSnapshot, C as CollaborationFailureCode } from './failure-6KGFrDO9.js';
14
+ export { c as CollaborationFailure, d as createCollaborationStatusTracker, i as isCollaborationFailureCode } from './failure-6KGFrDO9.js';
15
+ import './editor-scope-B3L-1ALc.js';
17
16
 
18
17
  /**
19
18
  * A peer's presence color is attacker-controlled: it arrives over awareness from whoever is in
@@ -1 +1 @@
1
- export{a as safeParticipantColor}from'./chunk-6JIJOZDW.js';var C={"already-initialized":true,"authentication-failed":true,"baseline-digest-mismatch":true,"baseline-too-large":true,"blob-digest-mismatch":true,"blob-read":true,"blob-store-full":true,"blob-too-large":true,"collaboration-format-mismatch":true,"collaboration-session-destroyed":true,"collaboration-session-not-attached":true,"collaboration-session-not-ready":true,"collaboration-text-limit":true,"concurrent-seed":true,"document-id-mismatch":true,"duplicate-paragraph-id":true,"experimental-collaboration-body-text-only":true,"experimental-collaboration-existing-paragraphs-only":true,"experimental-collaboration-text-only":true,"experimental-collaboration-untracked-text-only":true,"immutable-baseline-changed":true,"immutable-metadata-changed":true,"initialization-aborted":true,"initialization-timeout":true,"invalid-baseline":true,"invalid-blob-descriptor":true,"invalid-bound":true,"invalid-document-id":true,"invalid-identity":true,"invalid-identity-color":true,"invalid-logical-id":true,"invalid-relationships":true,"invalid-saved-room":true,"invalid-session-id":true,"invalid-shared-metadata":true,"invalid-string":true,"local-mirror-failed":true,"materialize-dropped-content":true,"missing-blob":true,"missing-local-blob":true,"missing-root":true,"no-main-document-part":true,"not-initialized":true,"paragraph-set-mismatch":true,"port-already-attached":true,"protocol-version-mismatch":true,"prototype-key":true,"remote-apply-failed":true,"room-generation-changed":true,"saved-room-unavailable":true,"schema-version-mismatch":true,"shared-schema-invalid":true,"text-too-long":true,"too-many-attributes":true,"too-many-children":true,"too-many-nodes":true,"too-many-parts":true,"too-many-relationships":true,transport:true,"transport-disconnected":true,"tree-too-deep":true,"unknown-logical-id":true,"unknown-paragraph-id":true,"unsafe-part-name":true,"unsupported-root-key":true};function g(e){return Object.hasOwn(C,e)}function f(e,o){return e===o?true:!e||!o?false:e.code===o.code&&e.detail===o.detail}function h(e,o){return Object.freeze(o!==void 0&&o.length>0?{code:e,detail:o}:{code:e})}function S(e="initializing"){let o=e,a,l,s=0,r=false,i=false,d=Object.freeze({status:o,reason:a,lastFailure:l,failureCount:s,recovering:r,waiting:i}),u=()=>{d=Object.freeze({status:o,reason:a,lastFailure:l,failureCount:s,recovering:r,waiting:i});};return {status:()=>o,snapshot:()=>d,set(t,c,p,m=false){let n=c===void 0?void 0:h(c,p),b=t==="error"&&m;return o===t&&f(a,n)&&r===b?false:(o=t,a=n,r=b,t==="error"&&n&&(l=n,s+=1),u(),true)},setWaiting(t){return i===t?false:(i=t,u(),true)}}}export{S as createCollaborationStatusTracker,g as isCollaborationFailureCode};
1
+ export{c as createCollaborationStatusTracker,b as isCollaborationFailureCode,a as safeParticipantColor}from'./chunk-WN7ICTA5.js';
@@ -13,9 +13,9 @@
13
13
  * @packageDocumentation
14
14
  * @public
15
15
  */
16
- import { D as DocxDocument, E as ExecResult, i as ContentControlType, j as DocTarget, k as RunFormatting, l as Extent, I as InsertableContentControlType, m as ContainerRef, n as ContentControlFilter, o as DocRange, p as Revision, q as DocComment, S as StyleDefinitions } from '../types-barrel-CA0xB8kH.js';
17
- export { B as Block, r as ColorValue, s as ContentControl, t as DocAnchor, u as DocAnchorRange, v as DocLocation, w as DocumentBody, x as ExecErrorCode, H as HeaderFooterSet, y as IndentFormatting, P as Paragraph, z as ParagraphFlags, A as ParagraphTabStop, F as RevisionType, G as Section, J as SectionProperties, K as StyleDefinition, T as Table, L as Theme, M as ThemeColorScheme } from '../types-barrel-CA0xB8kH.js';
18
- import '../editor-scope-7o9xweiJ.js';
16
+ import { D as DocxDocument, E as ExecResult, i as ContentControlType, j as DocTarget, k as RunFormatting, l as Extent, I as InsertableContentControlType, m as ContainerRef, n as ContentControlFilter, o as DocRange, p as Revision, q as DocComment, S as StyleDefinitions } from '../tree-op-types-C_S2niXW.js';
17
+ export { B as Block, r as ColorValue, s as ContentControl, t as DocAnchor, u as DocAnchorRange, v as DocLocation, w as DocumentBody, x as ExecErrorCode, H as HeaderFooterSet, y as IndentFormatting, N as NumberingRef, P as PageMargins, z as Paragraph, A as ParagraphDisagreements, F as ParagraphFlags, G as ParagraphTabStop, e as ReviewPosition, f as ReviewRange, b as ReviewRevisionItem, g as ReviewRevisionKind, h as RevisionAddress, J as RevisionAuthorEntry, K as RevisionAuthorResult, L as RevisionAuthorSkipReason, M as RevisionBatchEntry, Q as RevisionBatchResult, T as RevisionBatchSkipDetail, U as RevisionBatchSkipReason, V as RevisionSiteRefusal, W as RevisionType, X as Run, Y as Section, Z as SectionProperties, _ as StyleDefinition, $ as Table, a0 as TableCell, a1 as TableRow, a2 as Theme, a3 as ThemeColorScheme } from '../tree-op-types-C_S2niXW.js';
18
+ export { H as HistoryGroupOutcome } from '../editor-scope-B3L-1ALc.js';
19
19
 
20
20
  /**
21
21
  * `@docx-editor.dev/core/contracts/document` — the document-level edit and query vocabulary.
@@ -7,15 +7,18 @@
7
7
  * @packageDocumentation
8
8
  * @public
9
9
  */
10
- export { a as ReviewDisplayMode } from '../semantic-records-CjcF26ZL.js';
11
- export { A as AnchorHighlightAnimation, c as AnchorHighlightOptions, d as AuthoredNoteNumbering, C as CanResult, e as ClearAnchorHighlightOptions, f as CollaborationParticipantsDiagnostic, g as CollaborationStatusDiagnostic, h as CustomNodeDiagnosticEvent, D as DIAGNOSTIC_SCHEMA_VERSION, i as DiagnosticBase, j as DiagnosticFailureDetail, k as DocumentChange, l as DocumentEditingMode, m as DocumentHandle, n as DocumentOpenDiagnostic, o as DocumentSaveDiagnostic, p as DocumentShape, q as DocumentSource, r as EditRejectedDiagnostic, s as EditRejectionOrigin, t as Editor, u as EditorAnchorNavigation, b as EditorCommand, v as EditorCommandShape, w as EditorCommands, E as EditorDiagnostic, a as EditorDiagnosticKind, x as EditorError, y as EditorEvents, z as EditorFontError, B as EditorFontErrorCode, F as EditorFormatPainterCommands, G as EditorHeaderFooterCommands, H as EditorHighlights, I as EditorNoteCommands, J as EditorPosition, K as EditorQueries, L as EditorQuery, M as EditorQueryResults, N as EditorReviewHits, O as EditorSelection, P as EditorSnapshot, Q as FontConfiguration, S as FontFaceRequest, T as FontFailedDiagnostic, U as FontSource, V as FontSourceSubstitution, W as FormatPainterLevel, X as FormatPainterMode, Y as FormatPainterSurfaceState, Z as FurnitureVariant, _ as HeaderFooterSlotArgs, $ as HeaderFooterState, a0 as HighlightHit, a1 as HighlightOptions, a2 as HighlightRange, a3 as HighlightRect, a4 as HighlightResult, a5 as HistoryDiagnosticEvent, a6 as HyperlinkInfo, a7 as ImageContext, a8 as ImageCropPercent, a9 as NoteKind, aa as NotePropertiesSide, ab as NotePropertiesState, ac as PageSetup, ad as PerformanceDiagnostic, ae as ResolveReviewChangesOptions, af as ResolvedNoteNumbering, ag as ReviewActivationOptions, ah as ReviewChangesAttribution, ai as ReviewCommentPlacement, aj as ReviewCustomPlacement, ak as ReviewItemHit, al as ReviewItemPlacement, am as ReviewItemPlacementBase, an as ReviewItemQuery, ao as ReviewItemRevealEvent, ap as ReviewItemRevealSource, aq as ReviewRevisionPlacement, ar as ReviewSkippedDiagnostic, as as ScrollPlacement, at as ScrollToAnchorOptions, au as SelectedImageState, av as SessionActivity, aw as SessionDiagnostic, ax as SetReviewChangesAuthorOptions, ay as TableBorderEdgeTarget, az as TableBorderSpec, aA as TableBorderStyle, aB as TableBorderTarget, aC as TableCellVerticalAlignment, aD as TableColumnDividerResizeTarget, aE as TableColumnOccurrenceTarget, aF as TableContext, aG as TableRightEdgeResizeTarget, aH as TableRowOccurrenceTarget, aI as TextMatch, aJ as TimingSummary, aK as TrackedChangeFilterMode, aL as TrackedChangePredicate, aM as ZoomFitTarget, aN as ZoomMode } from '../editor-DaEJd2so.js';
12
- export { B as Block, r as ColorValue, C as CommentRecord, m as ContainerRef, s as ContentControl, n as ContentControlFilter, i as ContentControlType, t as DocAnchor, u as DocAnchorRange, q as DocComment, v as DocLocation, o as DocRange, j as DocTarget, w as DocumentBody, D as DocxDocument, W as DocxDocumentJSON, X as DrawingHorizontalReferenceFrame, Y as DrawingKind, Z as DrawingLocks, _ as DrawingPositionInput, $ as DrawingVerticalReferenceFrame, x as ExecErrorCode, E as ExecResult, l as Extent, a0 as FontDefinition, H as HeaderFooterSet, a1 as ImageWrapTarget, y as IndentFormatting, I as InsertableContentControlType, a2 as NumberingRef, a3 as PageMargins, P as Paragraph, a4 as ParagraphDisagreements, z as ParagraphFlags, a5 as ParagraphFormatCommand, A as ParagraphTabStop, a6 as Point, a7 as Rect, c as ReviewCommentItem, d as ReviewCustomItem, a as ReviewItem, e as ReviewPosition, f as ReviewRange, b as ReviewRevisionItem, g as ReviewRevisionKind, p as Revision, h as RevisionAddress, a8 as RevisionAuthorResult, a9 as RevisionBatchResult, F as RevisionType, aa as Run, k as RunFormatting, G as Section, J as SectionProperties, ab as SelectionPin, K as StyleDefinition, S as StyleDefinitions, T as Table, ac as TableCell, ad as TableRow, L as Theme, M as ThemeColorScheme, ae as Unsubscribe, af as Watermark } from '../types-barrel-CA0xB8kH.js';
10
+ export { D as DEFAULT_REVISION_MARKUP, c as REVISION_MARKUP_COLORS, d as ResolvedRevisionMarkup, a as ReviewDisplayMode, e as RevisionChangedLinesMark, f as RevisionDeletionMark, b as RevisionDisplayMode, g as RevisionMarkupChromeHandlers, h as RevisionMarkupColor, R as RevisionMarkupDialogSession, i as RevisionMarkupMark, j as RevisionMarkupNamedColor, k as RevisionMarkupOptions, l as RevisionMarkupStyle, m as RevisionMarkupTextStyle, r as resolveRevisionMarkup, n as revisionMarkupColor, o as revisionMarkupStyle } from '../revision-projection-Cn6rZJ7H.js';
11
+ export { CommentMarkerStyle, DEFAULT_REVIEW_PANE, ResolvedReviewPane, ReviewPaneItemFields, ReviewPaneOpening, ReviewPaneOptions, ReviewPaneOverflow, RevisionDisplay, resolveReviewPane, reviewPaneListsItem } from './types.js';
12
+ export { A as AnchorHighlightAnimation, c as AnchorHighlightOptions, d as AuthoredNoteNumbering, B as BookmarkPlace, e as BookmarkStory, f as BookmarkSummary, C as CanResult, g as ClearAnchorHighlightOptions, h as CollaborationParticipantsDiagnostic, i as CollaborationStatusDiagnostic, j as CustomNodeDiagnosticEvent, D as DIAGNOSTIC_SCHEMA_VERSION, k as DiagnosticBase, l as DiagnosticFailureDetail, m as DocumentChange, n as DocumentEditingMode, o as DocumentHandle, p as DocumentOpenDiagnostic, q as DocumentOpenFailure, r as DocumentOpenFailureReason, s as DocumentSaveDiagnostic, t as DocumentShape, u as DocumentSource, v as EditRejectedDiagnostic, w as EditRejectionOrigin, x as Editor, y as EditorAnchorNavigation, z as EditorBookmarkCommands, b as EditorCommand, F as EditorCommandShape, G as EditorCommands, E as EditorDiagnostic, a as EditorDiagnosticKind, H as EditorError, I as EditorEvents, J as EditorFontError, K as EditorFormatPainterCommands, L as EditorHeaderFooterCommands, M as EditorHighlights, N as EditorHostChange, O as EditorHostDocument, P as EditorNoteCommands, Q as EditorPosition, R as EditorQueries, S as EditorQuery, T as EditorQueryResults, U as EditorReviewHits, V as EditorSelection, W as EditorSnapshot, X as FontFailedDiagnostic, Y as FormatPainterLevel, Z as FormatPainterMode, _ as FormatPainterSurfaceState, $ as FurnitureVariant, a0 as HeaderFooterSlotArgs, a1 as HeaderFooterState, a2 as HighlightHit, a3 as HighlightOptions, a4 as HighlightRange, a5 as HighlightRect, a6 as HighlightResult, a7 as HistoryDiagnosticEvent, a8 as HyperlinkInfo, a9 as ImageContext, aa as ImageCropPercent, ab as NoteKind, ac as NotePropertiesSide, ad as NotePropertiesState, ae as PageSetup, af as PerformanceDiagnostic, ag as ResolveReviewChangesOptions, ah as ResolvedNoteNumbering, ai as ReviewActivationOptions, aj as ReviewChangesAttribution, ak as ReviewCommentPlacement, al as ReviewCustomPlacement, am as ReviewItemHit, an as ReviewItemPlacement, ao as ReviewItemPlacementBase, ap as ReviewItemQuery, aq as ReviewItemRevealEvent, ar as ReviewItemRevealSource, as as ReviewRevisionPlacement, at as ReviewSkippedDiagnostic, au as ScrollPlacement, av as ScrollToAnchorOptions, aw as SelectedImageState, ax as SessionActivity, ay as SessionDiagnostic, az as SetReviewChangesAuthorOptions, aA as TableBorderEdgeTarget, aB as TableBorderSpec, aC as TableBorderStyle, aD as TableBorderTarget, aE as TableCellVerticalAlignment, aF as TableColumnDividerResizeTarget, aG as TableColumnOccurrenceTarget, aH as TableContext, aI as TableRightEdgeResizeTarget, aJ as TableRowOccurrenceTarget, aK as TextMatch, aL as TimingSummary, aM as TrackedChangeFilterMode, aN as TrackedChangePredicate, aO as ZoomFitTarget, aP as ZoomMode } from '../editor-DZwOTmlR.js';
13
+ export { E as EditorFontErrorCode, F as FontConfiguration, a as FontFaceRequest, b as FontSource, c as FontSourceSubstitution } from '../editor-fonts-D_-vjuJi.js';
14
+ export { B as Block, r as ColorValue, C as CommentRecord, m as ContainerRef, s as ContentControl, n as ContentControlFilter, i as ContentControlType, t as DocAnchor, u as DocAnchorRange, q as DocComment, v as DocLocation, o as DocRange, j as DocTarget, w as DocumentBody, D as DocxDocument, a6 as DocxDocumentJSON, a7 as DrawingHorizontalReferenceFrame, a8 as DrawingKind, a9 as DrawingLocks, aa as DrawingPositionInput, ab as DrawingVerticalReferenceFrame, x as ExecErrorCode, E as ExecResult, l as Extent, ac as FontDefinition, H as HeaderFooterSet, af as ImageResourceState, ag as ImageWrapTarget, y as IndentFormatting, I as InsertableContentControlType, N as NumberingRef, P as PageMargins, z as Paragraph, A as ParagraphDisagreements, F as ParagraphFlags, ah as ParagraphFormatCommand, G as ParagraphTabStop, ai as Point, aj as PreservedImageMime, ak as Rect, al as RenderableImageMime, c as ReviewCommentItem, d as ReviewCustomItem, a as ReviewItem, e as ReviewPosition, f as ReviewRange, b as ReviewRevisionItem, g as ReviewRevisionKind, p as Revision, h as RevisionAddress, J as RevisionAuthorEntry, K as RevisionAuthorResult, L as RevisionAuthorSkipReason, M as RevisionBatchEntry, Q as RevisionBatchResult, T as RevisionBatchSkipDetail, U as RevisionBatchSkipReason, V as RevisionSiteRefusal, W as RevisionType, X as Run, k as RunFormatting, Y as Section, Z as SectionProperties, am as SelectionPin, _ as StyleDefinition, S as StyleDefinitions, an as SupportedImageMime, $ as Table, a0 as TableCell, a1 as TableRow, a2 as Theme, a3 as ThemeColorScheme, ao as Unsubscribe, ap as ValidatedImageBytesHandle, aq as VectorImageMime, ar as Watermark, as as WatermarkLayout, at as WatermarkState } from '../tree-op-types-C_S2niXW.js';
13
15
  export { ContentControlSummary, DocEdits, DocQueries, DocQueryResults, ParagraphSummary } from './document.js';
14
- export { a as EditorExecOptions, E as EditorScope, H as HistoryDiagnostic, b as HistoryGroup, c as HistoryGroupOutcome, V as ViewScope } from '../editor-scope-7o9xweiJ.js';
16
+ export { a as EditorExecOptions, E as EditorScope, b as HistoryDiagnostic, c as HistoryGroup, d as HistoryGroupOptions, H as HistoryGroupOutcome, V as ViewScope } from '../editor-scope-B3L-1ALc.js';
15
17
  export { InteractionAffinity, InteractionOutcome, InteractionOutcomeCode, SemanticIdentity, SemanticTarget } from './interaction.js';
16
- export { S as SemanticPosition, a as SemanticSelection } from '../semantic-interaction-Dc3pf3hr.js';
17
- export { I as ImageResourceState, P as PreservedImageMime, R as RenderableImageMime, S as SupportedImageMime, V as ValidatedImageBytesHandle, a as VectorImageMime } from '../image-resources-Bipz8toD.js';
18
- import '../document-protection-8eyMWIJ0.js';
19
- import '../failure-NS2lsya4.js';
20
- export { B as ByteSizeBucket, C as CollaborationDiagnosticCode, b as CountBucket, c as CustomNodeDiagnosticCode, d as DiagnosticCode, D as DiagnosticErrorName, e as DiagnosticExplanation, f as DocumentOpenDiagnosticCode, a as DocumentPartKind, g as DocumentSaveDiagnosticCode, E as EditDiagnosticCode, F as FailureStage, h as FontDiagnosticCode, i as FormattingChangeKind, H as HistoryDiagnosticCode, P as PerformanceDiagnosticCode, R as ReviewChangeKind, j as ReviewDiagnosticCode, k as ReviewOperation } from '../diagnostic-hints-2Bke6H_w.js';
21
- import '../omml-equation-DP2WpUbK.js';
18
+ export { S as SemanticPosition, a as SemanticSelection } from '../semantic-interaction-CJoHLoOl.js';
19
+ export { D as DocumentProtectionEdit, a as DocumentProtectionState } from '../document-protection-NaniLHWF.js';
20
+ export { C as CollaborationFailureCode, a as CollaborationStatus } from '../failure-6KGFrDO9.js';
21
+ export { B as ByteSizeBucket, C as CollaborationDiagnosticCode, b as CountBucket, c as CustomNodeDiagnosticCode, d as DiagnosticCode, D as DiagnosticErrorName, e as DiagnosticExplanation, f as DocumentOpenDiagnosticCode, a as DocumentPartKind, g as DocumentSaveDiagnosticCode, E as EditDiagnosticCode, F as FailureStage, h as FontDiagnosticCode, i as FormattingChangeKind, H as HistoryDiagnosticCode, P as PerformanceDiagnosticCode, R as ReviewChangeKind, j as ReviewDiagnosticCode, k as ReviewOperation } from '../diagnostic-hints-DK8-V0fk.js';
22
+ import '../semantic-records-BvN-WWst.js';
23
+ import '../headless-document-view-Bcz9_Qva.js';
24
+ import '../tree-package-store-CRHvMyNj.js';
@@ -27,8 +27,8 @@
27
27
  * @packageDocumentation
28
28
  * @public
29
29
  */
30
- import { V as ViewScope } from '../editor-scope-7o9xweiJ.js';
31
- export { E as EditorScope } from '../editor-scope-7o9xweiJ.js';
30
+ import { V as ViewScope } from '../editor-scope-B3L-1ALc.js';
31
+ export { E as EditorScope } from '../editor-scope-B3L-1ALc.js';
32
32
 
33
33
  /**
34
34
  * `@docx-editor.dev/core/contracts/interaction` — semantic addressing and interaction outcomes.
@@ -17,22 +17,24 @@
17
17
  * @packageDocumentation
18
18
  * @public
19
19
  */
20
- import { R as RevisionMarkupDialogSession, a as ReviewDisplayMode } from '../semantic-records-CjcF26ZL.js';
21
- export { b as RevisionDisplayMode } from '../semantic-records-CjcF26ZL.js';
22
- import { R as ReviewPaneOptions, E as EditorDiagnostic, a as EditorDiagnosticKind } from '../editor-DaEJd2so.js';
23
- import { R as ReviewModelInput, a as ReviewItem, O as OoxmlPart, b as ReviewRevisionItem } from '../types-barrel-CA0xB8kH.js';
24
- export { C as CommentRecord, c as ReviewCommentItem, d as ReviewCustomItem, e as ReviewPosition, f as ReviewRange, g as ReviewRevisionKind, h as RevisionAddress } from '../types-barrel-CA0xB8kH.js';
20
+ import { R as RevisionMarkupDialogSession, a as ReviewDisplayMode } from '../revision-projection-Cn6rZJ7H.js';
21
+ export { b as RevisionDisplayMode } from '../revision-projection-Cn6rZJ7H.js';
22
+ import { ReviewPaneOptions } from './types.js';
23
+ import { E as EditorDiagnostic, a as EditorDiagnosticKind } from '../editor-DZwOTmlR.js';
24
+ import { R as ReviewModelInput, a as ReviewItem, O as OoxmlPart, b as ReviewRevisionItem } from '../tree-op-types-C_S2niXW.js';
25
+ export { C as CommentRecord, c as ReviewCommentItem, d as ReviewCustomItem, e as ReviewPosition, f as ReviewRange, g as ReviewRevisionKind, h as RevisionAddress } from '../tree-op-types-C_S2niXW.js';
25
26
  import { CollaborationModuleContribution } from '../collaboration.js';
26
- import '../image-resources-Bipz8toD.js';
27
- import '../omml-equation-DP2WpUbK.js';
28
- import '../editor-scope-7o9xweiJ.js';
27
+ import '../failure-6KGFrDO9.js';
28
+ import '../document-protection-NaniLHWF.js';
29
+ import '../editor-scope-B3L-1ALc.js';
30
+ import '../editor-fonts-D_-vjuJi.js';
31
+ import '../diagnostic-hints-DK8-V0fk.js';
29
32
  import './document.js';
30
33
  import './interaction.js';
31
- import '../semantic-interaction-Dc3pf3hr.js';
32
- import '../document-protection-8eyMWIJ0.js';
33
- import '../failure-NS2lsya4.js';
34
- import '../diagnostic-hints-2Bke6H_w.js';
35
- import '../tree-package-store-DKhdEVym.js';
34
+ import '../semantic-interaction-CJoHLoOl.js';
35
+ import '../semantic-records-BvN-WWst.js';
36
+ import '../headless-document-view-Bcz9_Qva.js';
37
+ import '../tree-package-store-CRHvMyNj.js';
36
38
  import '../collaboration/replication.js';
37
39
 
38
40
  /**
@@ -7,5 +7,138 @@
7
7
  * @packageDocumentation
8
8
  * @public
9
9
  */
10
- export { B as Block, r as ColorValue, m as ContainerRef, s as ContentControl, n as ContentControlFilter, i as ContentControlType, t as DocAnchor, u as DocAnchorRange, q as DocComment, v as DocLocation, o as DocRange, j as DocTarget, w as DocumentBody, D as DocxDocument, W as DocxDocumentJSON, x as ExecErrorCode, E as ExecResult, l as Extent, a0 as FontDefinition, H as HeaderFooterSet, y as IndentFormatting, I as InsertableContentControlType, a2 as NumberingRef, a3 as PageMargins, P as Paragraph, a4 as ParagraphDisagreements, z as ParagraphFlags, a5 as ParagraphFormatCommand, A as ParagraphTabStop, a6 as Point, a7 as Rect, p as Revision, F as RevisionType, aa as Run, k as RunFormatting, G as Section, J as SectionProperties, ab as SelectionPin, K as StyleDefinition, S as StyleDefinitions, T as Table, ac as TableCell, ad as TableRow, L as Theme, M as ThemeColorScheme, ae as Unsubscribe, af as Watermark } from '../types-barrel-CA0xB8kH.js';
11
- import '../editor-scope-7o9xweiJ.js';
10
+ export { B as Block, r as ColorValue, m as ContainerRef, s as ContentControl, n as ContentControlFilter, i as ContentControlType, t as DocAnchor, u as DocAnchorRange, q as DocComment, v as DocLocation, o as DocRange, j as DocTarget, w as DocumentBody, D as DocxDocument, a6 as DocxDocumentJSON, x as ExecErrorCode, E as ExecResult, l as Extent, ac as FontDefinition, H as HeaderFooterSet, y as IndentFormatting, I as InsertableContentControlType, N as NumberingRef, P as PageMargins, z as Paragraph, A as ParagraphDisagreements, F as ParagraphFlags, ah as ParagraphFormatCommand, G as ParagraphTabStop, ai as Point, ak as Rect, e as ReviewPosition, f as ReviewRange, b as ReviewRevisionItem, g as ReviewRevisionKind, p as Revision, h as RevisionAddress, J as RevisionAuthorEntry, K as RevisionAuthorResult, L as RevisionAuthorSkipReason, M as RevisionBatchEntry, Q as RevisionBatchResult, T as RevisionBatchSkipDetail, U as RevisionBatchSkipReason, V as RevisionSiteRefusal, W as RevisionType, X as Run, k as RunFormatting, Y as Section, Z as SectionProperties, am as SelectionPin, _ as StyleDefinition, S as StyleDefinitions, $ as Table, a0 as TableCell, a1 as TableRow, a2 as Theme, a3 as ThemeColorScheme, ao as Unsubscribe, ar as Watermark, as as WatermarkLayout, at as WatermarkState } from '../tree-op-types-C_S2niXW.js';
11
+ export { C as CollaborationFailureCode, a as CollaborationStatus } from '../failure-6KGFrDO9.js';
12
+ export { D as DEFAULT_REVISION_MARKUP, c as REVISION_MARKUP_COLORS, d as ResolvedRevisionMarkup, e as RevisionChangedLinesMark, f as RevisionDeletionMark, b as RevisionDisplayMode, g as RevisionMarkupChromeHandlers, h as RevisionMarkupColor, R as RevisionMarkupDialogSession, i as RevisionMarkupMark, j as RevisionMarkupNamedColor, k as RevisionMarkupOptions, l as RevisionMarkupStyle, m as RevisionMarkupTextStyle, r as resolveRevisionMarkup, n as revisionMarkupColor, o as revisionMarkupStyle } from '../revision-projection-Cn6rZJ7H.js';
13
+ export { D as DocumentProtectionEdit, a as DocumentProtectionState } from '../document-protection-NaniLHWF.js';
14
+ export { H as HistoryGroupOutcome } from '../editor-scope-B3L-1ALc.js';
15
+
16
+ /**
17
+ * When the review pane opens by itself.
18
+ *
19
+ * - `'auto'`: the pane opens when a document with review items loads, and when a tracked
20
+ * change is made while it is closed, in both cases when the pane has items to list. With
21
+ * `revisionsIn: 'balloons'` the pane lists no tracked change and no reply to one, so
22
+ * tracked changes and their replies alone do not open it.
23
+ * - `'manual'`: the pane stays closed until the host or the user opens it. Use it when the
24
+ * host shows review items its own way, such as in balloons or margin markers.
25
+ *
26
+ * @public
27
+ */
28
+ type ReviewPaneOpening = 'auto' | 'manual';
29
+ /**
30
+ * What the open review pane does when its full card column does not fit beside the page at
31
+ * the page's zoom.
32
+ *
33
+ * - `'float'`: the pane shrinks to a strip of markers, and the open card floats over the
34
+ * page.
35
+ * - `'shrinkPage'`: under a fit zoom mode, the page may shrink down to the mode's
36
+ * `minZoom` (or 10%) so that the full column fits. The pane changes to the marker strip
37
+ * only when the column does not fit at that floor either. A fixed zoom behaves as
38
+ * `'float'`.
39
+ * - `'scroll'`: the page keeps the size it has beside the closed pane's marker strip, and
40
+ * the full column stands beside it. The document and the column scroll together: the
41
+ * viewport scrolls sideways to reach the cards.
42
+ *
43
+ * The setting applies to the review pane only. The navigation pane stays docked at its side
44
+ * in every mode: it never scrolls with the document, and it takes its room beside the page
45
+ * exactly as it does with no review pane.
46
+ *
47
+ * @public
48
+ */
49
+ type ReviewPaneOverflow = 'float' | 'shrinkPage' | 'scroll';
50
+ /**
51
+ * Where tracked changes open.
52
+ *
53
+ * - `'pane'`: the review pane lists tracked changes as cards beside the comments.
54
+ * - `'balloons'`: the pane lists comments only, except comments that reply to a tracked
55
+ * change: the change's balloon shows those. A tracked change opens in a balloon at its
56
+ * text when the reader clicks it, or when Next Change, Previous Change, or
57
+ * `setActiveReviewItem(key, { announce: true })` reaches it. A replacement is one balloon.
58
+ * In both settings, Next Change and Previous Change stop on a replacement once.
59
+ *
60
+ * @public
61
+ */
62
+ type RevisionDisplay = 'pane' | 'balloons';
63
+ /**
64
+ * How a collapsed comment marker looks.
65
+ *
66
+ * - `'initials'`: a badge with the thread author's initials in the author's color, a reply
67
+ * count, and a check mark when the thread is resolved.
68
+ * - `'icon'`: the comment icon.
69
+ *
70
+ * @public
71
+ */
72
+ type CommentMarkerStyle = 'initials' | 'icon';
73
+ /**
74
+ * Review pane settings to change. Every field is optional, and an omitted field keeps its
75
+ * current value.
76
+ *
77
+ * @public
78
+ */
79
+ interface ReviewPaneOptions {
80
+ /** Default `'auto'`. */
81
+ readonly opening?: ReviewPaneOpening;
82
+ /** Default `'float'`. */
83
+ readonly overflow?: ReviewPaneOverflow;
84
+ /** Default `'pane'`. */
85
+ readonly revisionsIn?: RevisionDisplay;
86
+ /** Default `'icon'`. */
87
+ readonly commentMarkers?: CommentMarkerStyle;
88
+ }
89
+ /**
90
+ * The review pane settings in force, with every field resolved.
91
+ *
92
+ * @public
93
+ */
94
+ interface ResolvedReviewPane {
95
+ /** When the pane opens by itself. */
96
+ readonly opening: ReviewPaneOpening;
97
+ /** What the open pane does when its card column does not fit beside the page. */
98
+ readonly overflow: ReviewPaneOverflow;
99
+ /** Where tracked changes open. */
100
+ readonly revisionsIn: RevisionDisplay;
101
+ /** How a collapsed comment marker looks. */
102
+ readonly commentMarkers: CommentMarkerStyle;
103
+ }
104
+ /** The settings an editor starts with when nothing sets them. @public */
105
+ declare const DEFAULT_REVIEW_PANE: ResolvedReviewPane;
106
+ /**
107
+ * Merge `options` over `base`. Throws a `TypeError` for an unknown field or value, so a
108
+ * misspelled setting fails loudly instead of being ignored. Returns `base` itself when
109
+ * nothing changes, so the snapshot keeps its reference.
110
+ *
111
+ * @public
112
+ */
113
+ declare function resolveReviewPane(options: ReviewPaneOptions | undefined, base?: ResolvedReviewPane): ResolvedReviewPane;
114
+ /**
115
+ * The fields of a review item that decide whether the review pane lists it. A
116
+ * `ReviewItem` and a review item placement both have them.
117
+ *
118
+ * @public
119
+ */
120
+ interface ReviewPaneItemFields {
121
+ /** The item kind, as `ReviewItem.kind` gives it. */
122
+ readonly kind: 'revision' | 'comment' | 'custom';
123
+ /** For a comment, the tracked change it replies to. */
124
+ readonly parentRevisionId?: string;
125
+ }
126
+ /**
127
+ * Whether the review pane lists a card for `item` under `revisionsIn`.
128
+ *
129
+ * With `'balloons'`, a balloon at the text shows every tracked change and every comment
130
+ * that replies to a tracked change, so the pane lists neither. Give the item as an
131
+ * unfiltered `getReviewItems()` read returns it: a query that excludes revision kinds
132
+ * removes `parentRevisionId` from replies to the changes it drops.
133
+ *
134
+ * The engine applies this rule to every review item when it decides whether the pane opens
135
+ * by itself or closes after a settings change. A review pane must apply the same rule before
136
+ * its own filters, such as a hidden kind or a host filter. Those filters can hide every card,
137
+ * and then the pane that the engine opens is empty.
138
+ *
139
+ * @public
140
+ */
141
+ declare function reviewPaneListsItem(revisionsIn: RevisionDisplay, item: ReviewPaneItemFields): boolean;
142
+
143
+ export { DEFAULT_REVIEW_PANE, resolveReviewPane, reviewPaneListsItem };
144
+ export type { CommentMarkerStyle, ResolvedReviewPane, ReviewPaneItemFields, ReviewPaneOpening, ReviewPaneOptions, ReviewPaneOverflow, RevisionDisplay };
@@ -1,5 +1,5 @@
1
- import { Q as OoxmlPackage, O as OoxmlPart, N as OoxmlNode, av as TreeOpRejection } from './types-barrel-CA0xB8kH.js';
2
- import { e as TreeModelChange, f as TreeDocumentStore } from './tree-package-store-DKhdEVym.js';
1
+ import { a5 as OoxmlPackage, O as OoxmlPart, a4 as OoxmlNode, aF as RevisionAttributionInput, aG as TreeOpRejection } from './tree-op-types-C_S2niXW.js';
2
+ import { e as TreeModelChange, f as TreeDocumentStore } from './tree-package-store-CRHvMyNj.js';
3
3
 
4
4
  /** Which of a family's four faces an embedded font relationship supplies. */
5
5
  type FontStyleKey = 'regular' | 'bold' | 'italic' | 'boldItalic';
@@ -177,6 +177,11 @@ interface InsertCustomNodeWrite {
177
177
  readonly lock?: 'sdtLocked' | 'sdtContentLocked' | 'contentLocked';
178
178
  /** Omitted authors an ordinary tagged control with no store — the pre-payload behaviour. */
179
179
  readonly payload?: CustomNodePayloadWrite;
180
+ /**
181
+ * Propose the node as a tracked insertion. A wrap (`replaceUntil`) or a rewrite
182
+ * (`replaceControlId`) has no tracked form yet, and refuses with a revision.
183
+ */
184
+ readonly revision?: RevisionAttributionInput;
180
185
  }
181
186
  /**
182
187
  * Why a payload write was refused.
@@ -1,4 +1,4 @@
1
- import { D as DiagnosticErrorName, a as DocumentPartKind } from './diagnostic-hints-2Bke6H_w.js';
1
+ import { D as DiagnosticErrorName, a as DocumentPartKind } from './diagnostic-hints-DK8-V0fk.js';
2
2
 
3
3
  /**
4
4
  * Every engine reason a diagnostic can carry as its `cause`. Causes are the engine's own
@@ -11,7 +11,8 @@ declare function diagnosticCauses(): readonly string[];
11
11
  /**
12
12
  * The engine reason token in a refusal reason, or undefined when the reason is not one the
13
13
  * engine knows, such as a sentence. Only the token before a colon counts; the detail after it
14
- * can name parts of the file and is never returned.
14
+ * can name parts of the file and is never returned. A full reason such as
15
+ * `unsupported-revision:foreign-insertion` reports its token; its public code names the rule.
15
16
  */
16
17
  declare function diagnosticCause(reason: string | undefined): string | undefined;
17
18
  /** The cause of a failure the engine did not name: an exception. */
@@ -1,4 +1,4 @@
1
- import { b as CollaborationFailureCode } from './failure-NS2lsya4.js';
1
+ import { C as CollaborationFailureCode } from './failure-6KGFrDO9.js';
2
2
 
3
3
  /**
4
4
  * The public diagnostic vocabulary: stable codes and the buckets sizes and counts are reported
@@ -16,7 +16,7 @@ type DocumentOpenDiagnosticCode = 'open.unsupported-source' | 'open.zip-corrupt'
16
16
  */
17
17
  type DocumentSaveDiagnosticCode = 'save.no-document' | 'save.document-changed' | 'save.failed';
18
18
  /** Why an edit, a command or a tracked change was refused. @public */
19
- type EditDiagnosticCode = 'edit.read-only' | 'edit.protected-content' | 'edit.suggesting-needs-author' | 'edit.review-module-required' | 'edit.tracked-drawing-delete-unsupported' | 'edit.tracked-structure-unsupported' | 'edit.tracked-operation-unsupported' | 'edit.tracking-mode-unsupported' | 'edit.tracking-author-required' | 'edit.tracking-unsupported-host' | 'edit.revision-unsupported' | 'edit.tracking-required' | 'edit.tracked-image-replace-unsupported' | 'edit.picture-selected' | 'edit.cross-structure-join' | 'edit.indivisible-content' | 'edit.field-structure' | 'edit.section-mark' | 'edit.table-structure-unsupported' | 'edit.table-insert-refused' | 'edit.table-of-contents-refused' | 'edit.unsupported-content' | 'edit.operation-unsupported' | 'edit.unsupported-story' | 'edit.unmapped-change' | 'edit.stale-target' | 'edit.invalid-argument' | 'edit.resource-limit' | 'edit.refresh-in-progress' | 'edit.collaboration-not-ready' | 'edit.collaboration-text-limit' | 'edit.internal-invariant' | 'edit.refused';
19
+ type EditDiagnosticCode = 'edit.read-only' | 'edit.protected-content' | 'edit.suggesting-needs-author' | 'edit.review-module-required' | 'edit.tracked-drawing-delete-unsupported' | 'edit.tracked-structure-unsupported' | 'edit.tracked-operation-unsupported' | 'edit.tracking-mode-unsupported' | 'edit.tracking-author-required' | 'edit.comment-author-required' | 'edit.tracking-unsupported-host' | 'edit.revision-unsupported' | 'edit.tracking-required' | 'edit.tracked-image-replace-unsupported' | 'edit.tracked-deleted-text-only' | 'edit.tracked-foreign-revision-unsupported' | 'edit.tracked-own-pending-change' | 'edit.picture-selected' | 'edit.cross-structure-join' | 'edit.indivisible-content' | 'edit.field-structure' | 'edit.field-unsupported' | 'edit.field-result-unsupported' | 'edit.ooxml-unsupported' | 'edit.section-mark' | 'edit.table-structure-unsupported' | 'edit.table-merge-not-rectangle' | 'edit.table-split-unsupported' | 'edit.table-insert-refused' | 'edit.table-of-contents-refused' | 'edit.unsupported-content' | 'edit.operation-unsupported' | 'edit.unsupported-story' | 'edit.unmapped-change' | 'edit.stale-target' | 'edit.invalid-argument' | 'edit.resource-limit' | 'edit.refresh-in-progress' | 'edit.preview-active' | 'edit.preview-unsupported' | 'edit.preview-composing' | 'edit.preview-diverged' | 'edit.collaboration-not-ready' | 'edit.collaboration-text-limit' | 'edit.internal-invariant' | 'edit.refused';
20
20
  /** Why accepting, rejecting or re-authoring a tracked change skipped an item. @public */
21
21
  type ReviewDiagnosticCode = 'review.revision-unsupported' | 'review.incomplete-group' | 'review.retained-structure' | 'review.stale-revision';
22
22
  /** Why a font did not load. The family name is never reported. @public */
@@ -1,4 +1,4 @@
1
- import { N as OoxmlNode } from './types-barrel-CA0xB8kH.js';
1
+ import { a4 as OoxmlNode } from './tree-op-types-C_S2niXW.js';
2
2
 
3
3
  /** `ST_DocProtect`: the restriction a document asks for. `none` also stands for "no element". */
4
4
  type DocumentProtectionEdit = 'none' | 'readOnly' | 'comments' | 'trackedChanges' | 'forms';