@docx-editor.dev/core 2.30.0 → 2.31.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 (106) hide show
  1. package/dist/automation.cjs +1 -1
  2. package/dist/automation.d.ts +16 -25
  3. package/dist/automation.js +1 -1
  4. package/dist/binding.cjs +1 -1
  5. package/dist/binding.d.ts +15 -16
  6. package/dist/binding.js +1 -1
  7. package/dist/bookmark-names-DDuAra_V.d.ts +37 -0
  8. package/dist/{chrome-print-BM3Js-6X.d.ts → chrome-print-BWvaVEhD.d.ts} +318 -33
  9. package/dist/chunk-243W4WW2.cjs +2 -0
  10. package/dist/{chunk-RJCQGJR7.js → chunk-2E2RPEKX.js} +1 -1
  11. package/dist/chunk-4S24UOPG.js +30 -0
  12. package/dist/chunk-5JPIEN54.cjs +3 -0
  13. package/dist/{chunk-KJRTNY2Q.cjs → chunk-5SO5QDMV.cjs} +1 -1
  14. package/dist/{chunk-WF7JZ755.cjs → chunk-6IDOVU6L.cjs} +1 -1
  15. package/dist/chunk-DBOOTED4.cjs +30 -0
  16. package/dist/chunk-EOTAXOJY.cjs +5 -0
  17. package/dist/chunk-FDAKJ2SJ.cjs +30 -0
  18. package/dist/chunk-FNNOJNGY.js +3 -0
  19. package/dist/chunk-FT33HRZP.js +5 -0
  20. package/dist/{chunk-HYASLE2G.cjs → chunk-HC6YNKUI.cjs} +1 -1
  21. package/dist/chunk-HZ66UCIS.js +2 -0
  22. package/dist/{chunk-5RRAZMBU.cjs → chunk-IBRBNT37.cjs} +1 -1
  23. package/dist/chunk-IVIN7X43.js +30 -0
  24. package/dist/chunk-LZY6B6IV.js +4 -0
  25. package/dist/chunk-MOYYRVFV.cjs +2 -0
  26. package/dist/{chunk-YZGUBCHP.js → chunk-N6B3BXCL.js} +1 -1
  27. package/dist/chunk-Q5K2GGNG.js +2 -0
  28. package/dist/chunk-R2XINWVE.js +7 -0
  29. package/dist/chunk-SUEXVBPR.js +1 -0
  30. package/dist/chunk-T2QQHG5C.js +18 -0
  31. package/dist/{chunk-T32MGBJS.js → chunk-VWIJKH4A.js} +1 -1
  32. package/dist/chunk-WO4V6PNS.cjs +18 -0
  33. package/dist/chunk-XMJKFURD.cjs +4 -0
  34. package/dist/{chunk-FLBEJC6X.cjs → chunk-XSTGE3NI.cjs} +1 -1
  35. package/dist/chunk-YQWMI6J5.cjs +7 -0
  36. package/dist/{chunk-WPDD2Y32.js → chunk-ZCJS7D7S.js} +1 -1
  37. package/dist/collaboration/replication.cjs +1 -1
  38. package/dist/collaboration/replication.d.ts +4 -5
  39. package/dist/collaboration/replication.js +1 -1
  40. package/dist/collaboration.d.ts +3 -4
  41. package/dist/contracts/document.d.ts +3 -3
  42. package/dist/contracts/editor.d.ts +8 -9
  43. package/dist/contracts/interaction.d.ts +2 -2
  44. package/dist/contracts/modules.d.ts +12 -13
  45. package/dist/contracts/types.d.ts +2 -2
  46. package/dist/{custom-node-writes-0v0Kgw1T.d.ts → custom-node-writes-TeUvMP13.d.ts} +2 -2
  47. package/dist/{diagnostic-context-CcAO4q1s.d.ts → diagnostic-context-DJ0P1uZE.d.ts} +3 -2
  48. package/dist/{diagnostic-hints-2Bke6H_w.d.ts → diagnostic-hints-C9JlLz1L.d.ts} +1 -1
  49. package/dist/{document-protection-8eyMWIJ0.d.ts → document-protection-C8x3P2J6.d.ts} +1 -1
  50. package/dist/{editor-DaEJd2so.d.ts → editor-B2ShlO23.d.ts} +292 -50
  51. package/dist/{editor-scope-7o9xweiJ.d.ts → editor-scope-C7ke1KJG.d.ts} +57 -4
  52. package/dist/editor.cjs +1 -1
  53. package/dist/editor.css +5 -3
  54. package/dist/editor.d.ts +602 -31
  55. package/dist/editor.js +1 -1
  56. package/dist/export.cjs +2 -2
  57. package/dist/export.d.ts +13 -14
  58. package/dist/export.js +2 -2
  59. package/dist/{font-resolver-CL9BVKZo.d.ts → font-resolver-CWh40DYp.d.ts} +1 -1
  60. package/dist/{headless-document-view-DZQN8Bnx.d.ts → headless-document-view-qOpaCF82.d.ts} +2 -2
  61. package/dist/index.cjs +1 -1
  62. package/dist/index.d.ts +22 -23
  63. package/dist/index.js +1 -1
  64. package/dist/{layout-shaping-cEnVrhWg.d.ts → layout-shaping-CWS3j0Xr.d.ts} +1 -1
  65. package/dist/layout.cjs +1 -1
  66. package/dist/layout.d.ts +87 -22
  67. package/dist/layout.js +1 -1
  68. package/dist/{note-properties-9FH8zAeG.d.ts → note-properties-QsKh24sM.d.ts} +1 -1
  69. package/dist/{omml-equation-DP2WpUbK.d.ts → omml-equation-BsLAa2lX.d.ts} +27 -9
  70. package/dist/output.cjs +1 -1
  71. package/dist/output.d.ts +20 -10
  72. package/dist/output.js +1 -1
  73. package/dist/{protocol-CZ1uUlPO.d.ts → protocol-COZJUKUY.d.ts} +94 -2
  74. package/dist/{review-paragraph-order-CqVelc5A.d.ts → review-paragraph-order-C_QbCKcH.d.ts} +1 -1
  75. package/dist/{semantic-cell-selection-Dr9yxFZt.d.ts → semantic-cell-selection-Cub9FDa8.d.ts} +2 -2
  76. package/dist/{semantic-interaction-Dc3pf3hr.d.ts → semantic-interaction-dApRIYpt.d.ts} +1 -1
  77. package/dist/{semantic-paint-Bz3FBAoH.d.ts → semantic-paint-DLzA8sjP.d.ts} +3 -3
  78. package/dist/{semantic-record-queries-Bx0pl6kL.d.ts → semantic-record-queries-3yp9o11g.d.ts} +1 -1
  79. package/dist/{semantic-records-CjcF26ZL.d.ts → semantic-records-B-akgRch.d.ts} +130 -87
  80. package/dist/store.cjs +1 -1
  81. package/dist/store.d.ts +48 -22
  82. package/dist/store.js +1 -1
  83. package/dist/{tree-package-store-DKhdEVym.d.ts → tree-package-store-B8l8DX3Z.d.ts} +675 -645
  84. package/dist/{tree-session-contract-CwnTEVLF.d.ts → tree-session-contract-DeLRqohz.d.ts} +26 -13
  85. package/dist/{types-barrel-CA0xB8kH.d.ts → types-barrel-CkF2JbU4.d.ts} +1146 -745
  86. package/package.json +2 -2
  87. package/dist/chunk-2PV5L5NJ.js +0 -5
  88. package/dist/chunk-5OTS2EJ7.js +0 -7
  89. package/dist/chunk-5P4223J4.cjs +0 -27
  90. package/dist/chunk-5SPITS5F.js +0 -18
  91. package/dist/chunk-7ATNKARV.js +0 -2
  92. package/dist/chunk-BGCUTKWE.cjs +0 -5
  93. package/dist/chunk-EBCXSH2W.js +0 -3
  94. package/dist/chunk-ERECKTIR.cjs +0 -2
  95. package/dist/chunk-JC47NRJC.cjs +0 -3
  96. package/dist/chunk-NKPUH3QJ.js +0 -1
  97. package/dist/chunk-PF5NJWS3.js +0 -2
  98. package/dist/chunk-PWTRJSES.cjs +0 -18
  99. package/dist/chunk-QFKGI242.cjs +0 -30
  100. package/dist/chunk-RPPV4S6T.cjs +0 -4
  101. package/dist/chunk-UM26GH5B.js +0 -30
  102. package/dist/chunk-VRCZBFLH.js +0 -27
  103. package/dist/chunk-WK5X2MMA.cjs +0 -7
  104. package/dist/chunk-YBMWBXST.cjs +0 -2
  105. package/dist/chunk-ZOS2PM4A.js +0 -4
  106. package/dist/image-resources-Bipz8toD.d.ts +0 -211
@@ -1,2 +1,2 @@
1
- import {d}from'./chunk-T32MGBJS.js';import {sa,qa,ra}from'./chunk-PF5NJWS3.js';import {nf,db,If,ig,eb,Mj,cb,od,pd,bb}from'./chunk-5SPITS5F.js';function z(n){let r=[],s=0;for(let t of n){let o=s+t.text.length;t.resultRuns?r.push({text:t.text,rawStart:t.rawStart,rawEnd:t.rawEnd,resultRuns:t.resultRuns,...t.symbolOffsets?{symbolOffsets:t.symbolOffsets}:{},...t.symbolDisplays?{symbolDisplays:t.symbolDisplays}:{},projectedStart:s,projectedEnd:o,expansion:t.text.length!==t.rawEnd-t.rawStart}):t.floatingObject?r.push({text:t.text,rawStart:t.rawStart,rawEnd:t.rawEnd,floatingObject:true,projectedStart:s,projectedEnd:o,expansion:t.text.length!==t.rawEnd-t.rawStart}):r.push({text:t.text,rawStart:t.rawStart,rawEnd:t.rawEnd,...t.symbol?{symbol:true}:{},...t.symbolOffsets?{symbolOffsets:t.symbolOffsets}:{},...t.symbolDisplays?{symbolDisplays:t.symbolDisplays}:{},projectedStart:s,projectedEnd:o,expansion:t.text.length!==t.rawEnd-t.rawStart}),s=o;}return r}function G(n,r){return r<=n.rawStart?n.projectedStart:r>=n.rawEnd?n.projectedEnd:n.expansion?n.projectedStart:n.projectedStart+r-n.rawStart}function I(n,r){return n.expansion?n.rawStart:n.rawStart+r-n.projectedStart}function L(n,r){return n.expansion?n.rawEnd:n.rawStart+r-n.projectedStart}var K=new Set([bb,"\u2011"]),Q=/[\u001e\u001f\u2011]/,Y="\uFFFF";function W(n,r){if(!Q.test(n)&&!r?.size)return {text:n,at:null};let s="",t=[];for(let o=0;o<n.length;o+=1){let l=n[o];if(r?.has(o))s+=Y;else {if(l===cb)continue;s+=K.has(l)?"-":l;}t.push(o);}return {text:s,at:t}}function U(n){let r;for(let s of n){if(s.symbol){r??=new Set;for(let t=s.projectedStart;t<s.projectedEnd;t+=1)r.add(t);}for(let t of s.symbolOffsets??[])(r??=new Set).add(s.projectedStart+t);}return r}function O(n){let r=z(n),s="";for(let o of n)s+=o.text;let t=null;return {text:s,projectedOffset(o){let l=0;for(let i of r){if(o<=i.rawEnd)return G(i,o);l=i.projectedEnd;}return l},rawRange(o,l){if(o<0||o>=l||l>s.length)return null;let i=r.find(d=>o>=d.projectedStart&&o<d.projectedEnd),e=r.find(d=>l>d.projectedStart&&l<=d.projectedEnd);return !i||!e?null:{start:I(i,o),end:L(e,l)}},sliceRaw(o,l){if(o>=l)return "";let i="";for(let e of r){if(e.expansion){o<=e.rawStart&&l>=e.rawEnd&&(i+=e.text);continue}let d=Math.max(o,e.rawStart),a=Math.min(l,e.rawEnd);d<a&&(i+=e.text.slice(d-e.rawStart,a-e.rawStart));}return i},displaySlice(o,l){let i="";for(let e of r){if(e.projectedEnd<=o||e.projectedStart>=l)continue;let d=Math.max(o,e.projectedStart)-e.projectedStart,a=Math.min(l,e.projectedEnd)-e.projectedStart;if(e.symbol){i+=e.symbolDisplays?.[0]??"";continue}let u=new Map;e.symbolOffsets?.forEach((f,c)=>u.set(f,e.symbolDisplays?.[c]??""));for(let f=d;f<a;f+=1)i+=u.get(f)??e.text[f];}return i},resultRunAddressAt(o){let l=r.find(e=>e.resultRuns!==void 0&&o>=e.projectedStart&&o<e.projectedEnd);if(!l?.resultRuns)return null;let i=o-l.projectedStart;for(let e of l.resultRuns)if(i>=e.start&&i<e.end)return {runId:e.runId,offset:i-e.start};return null},findOccurrences(o,l,i={}){let e=[];if(l<=0||!sa(o)||s.length===0)return {matches:e,truncated:false};let d=i.matchCase===true,a=i.wholeWord===true;t??=W(s,U(r));let u=t,f=W(o).text;if(f.length===0||f.includes(Y))return {matches:e,truncated:false};let c=d?f:qa(f),j=d?u.text:qa(u.text),R=p=>u.at?.[p]??p,X=p=>{if(!u.at)return p;let m=0;for(;m<u.at.length&&u.at[m]<p;)m+=1;return m},v=Math.min(s.length,i.to??s.length),D=new Set,b=j.indexOf(c,X(Math.max(0,i.from??0)));for(;b>=0;){let p=b+c.length,m=R(b),x=R(p-1)+1;if(x>v)return {matches:e,truncated:false};if(r.some(y=>y.floatingObject===true&&y.projectedStart>m&&y.projectedStart<x)){b=j.indexOf(c,b+1);continue}if(!a||ra(u.text,b,p)){let y=r.find(h=>m>=h.projectedStart&&m<h.projectedEnd),E=r.find(h=>x>h.projectedStart&&x<=h.projectedEnd);if(!y||!E)return {matches:e,truncated:false};let S=y===E&&y.expansion?y:null;if(!S||!D.has(S)){if(e.length>=l)return {matches:e,truncated:true};e.push({start:m,length:x-m,rawStart:I(y,m),rawEnd:L(E,x)}),S&&D.add(S);}}b=j.indexOf(c,p);}return {matches:e,truncated:false}}}}function q(n){return n.length===0?O([]):O([{text:n,rawStart:0,rawEnd:n.length}])}var J="http://schemas.openxmlformats.org/markup-compatibility/2006";function Z(n){if(n.kind==="textValue")return false;if(od(n))return pd(n);let r=s=>s.kind!=="textValue"&&s.children.some(t=>t.kind==="anchoredDrawing"||t.kind!=="textValue"&&t.localName==="anchor");if(n.kind==="drawing")return r(n);if(n.namespaceUri!==J||n.localName!=="AlternateContent")return false;for(let s of n.children){if(s.kind==="textValue"||s.localName!=="Choice")continue;let t=s.children.find(o=>o.kind==="drawing"||o.kind!=="textValue"&&o.localName==="drawing");if(t)return r(t)}return false}function $(n,r,s="allMarkup"){if(!r.includes(nf)&&!r.includes(db))return r.length===0?[]:[{text:r,rawStart:0,rawEnd:r.length}];let t=If(n),o=ig(n,t),l=d(n,t,s),i=new Map;for(let a of t)i.set(a.node.id,a);let e=[],d$1=0;for(let a of o){let u=i.get(a.node.id),f=!u&&eb(a.node);if(!u&&!f){Z(a.node)&&(d$1<a.start&&e.push({text:r.slice(d$1,a.start),rawStart:d$1,rawEnd:a.start}),e.push({text:"",rawStart:a.start,rawEnd:a.end,floatingObject:true}),d$1=a.end);continue}if(d$1<a.start&&e.push({text:r.slice(d$1,a.start),rawStart:d$1,rawEnd:a.start}),!u){e.push({text:db,rawStart:a.start,rawEnd:a.end,symbol:true,symbolDisplays:[Mj(a.node)]}),d$1=a.end;continue}let c=l.get(u.node.id);u.kind==="simple"&&c?e.push({text:c.text,rawStart:a.start,rawEnd:a.end,resultRuns:c.runs,...c.symbols?{symbolOffsets:c.symbols}:{},...c.symbolDisplays?{symbolDisplays:c.symbolDisplays}:{}}):e.push({text:c?.text??nf,rawStart:a.start,rawEnd:a.end,...c?.symbols?{symbolOffsets:c.symbols}:{},...c?.symbolDisplays?{symbolDisplays:c.symbolDisplays}:{}}),d$1=a.end;}return d$1<r.length&&e.push({text:r.slice(d$1),rawStart:d$1,rawEnd:r.length}),e}function it(n,r,s="allMarkup"){return !r.includes(nf)&&!r.includes(db)?q(r):O($(n,r,s))}
1
+ import {d}from'./chunk-VWIJKH4A.js';import {sa,qa,ra}from'./chunk-Q5K2GGNG.js';import {qf,db,Lf,lg,eb,ck,cb,qd,rd,bb}from'./chunk-T2QQHG5C.js';function z(n){let r=[],s=0;for(let t of n){let o=s+t.text.length;t.resultRuns?r.push({text:t.text,rawStart:t.rawStart,rawEnd:t.rawEnd,resultRuns:t.resultRuns,...t.symbolOffsets?{symbolOffsets:t.symbolOffsets}:{},...t.symbolDisplays?{symbolDisplays:t.symbolDisplays}:{},projectedStart:s,projectedEnd:o,expansion:t.text.length!==t.rawEnd-t.rawStart}):t.floatingObject?r.push({text:t.text,rawStart:t.rawStart,rawEnd:t.rawEnd,floatingObject:true,projectedStart:s,projectedEnd:o,expansion:t.text.length!==t.rawEnd-t.rawStart}):r.push({text:t.text,rawStart:t.rawStart,rawEnd:t.rawEnd,...t.symbol?{symbol:true}:{},...t.symbolOffsets?{symbolOffsets:t.symbolOffsets}:{},...t.symbolDisplays?{symbolDisplays:t.symbolDisplays}:{},projectedStart:s,projectedEnd:o,expansion:t.text.length!==t.rawEnd-t.rawStart}),s=o;}return r}function G(n,r){return r<=n.rawStart?n.projectedStart:r>=n.rawEnd?n.projectedEnd:n.expansion?n.projectedStart:n.projectedStart+r-n.rawStart}function I(n,r){return n.expansion?n.rawStart:n.rawStart+r-n.projectedStart}function L(n,r){return n.expansion?n.rawEnd:n.rawStart+r-n.projectedStart}var K=new Set([bb,"\u2011"]),Q=/[\u001e\u001f\u2011]/,Y="\uFFFF";function W(n,r){if(!Q.test(n)&&!r?.size)return {text:n,at:null};let s="",t=[];for(let o=0;o<n.length;o+=1){let l=n[o];if(r?.has(o))s+=Y;else {if(l===cb)continue;s+=K.has(l)?"-":l;}t.push(o);}return {text:s,at:t}}function U(n){let r;for(let s of n){if(s.symbol){r??=new Set;for(let t=s.projectedStart;t<s.projectedEnd;t+=1)r.add(t);}for(let t of s.symbolOffsets??[])(r??=new Set).add(s.projectedStart+t);}return r}function O(n){let r=z(n),s="";for(let o of n)s+=o.text;let t=null;return {text:s,projectedOffset(o){let l=0;for(let i of r){if(o<=i.rawEnd)return G(i,o);l=i.projectedEnd;}return l},rawRange(o,l){if(o<0||o>=l||l>s.length)return null;let i=r.find(d=>o>=d.projectedStart&&o<d.projectedEnd),e=r.find(d=>l>d.projectedStart&&l<=d.projectedEnd);return !i||!e?null:{start:I(i,o),end:L(e,l)}},sliceRaw(o,l){if(o>=l)return "";let i="";for(let e of r){if(e.expansion){o<=e.rawStart&&l>=e.rawEnd&&(i+=e.text);continue}let d=Math.max(o,e.rawStart),a=Math.min(l,e.rawEnd);d<a&&(i+=e.text.slice(d-e.rawStart,a-e.rawStart));}return i},displaySlice(o,l){let i="";for(let e of r){if(e.projectedEnd<=o||e.projectedStart>=l)continue;let d=Math.max(o,e.projectedStart)-e.projectedStart,a=Math.min(l,e.projectedEnd)-e.projectedStart;if(e.symbol){i+=e.symbolDisplays?.[0]??"";continue}let u=new Map;e.symbolOffsets?.forEach((f,c)=>u.set(f,e.symbolDisplays?.[c]??""));for(let f=d;f<a;f+=1)i+=u.get(f)??e.text[f];}return i},resultRunAddressAt(o){let l=r.find(e=>e.resultRuns!==void 0&&o>=e.projectedStart&&o<e.projectedEnd);if(!l?.resultRuns)return null;let i=o-l.projectedStart;for(let e of l.resultRuns)if(i>=e.start&&i<e.end)return {runId:e.runId,offset:i-e.start};return null},findOccurrences(o,l,i={}){let e=[];if(l<=0||!sa(o)||s.length===0)return {matches:e,truncated:false};let d=i.matchCase===true,a=i.wholeWord===true;t??=W(s,U(r));let u=t,f=W(o).text;if(f.length===0||f.includes(Y))return {matches:e,truncated:false};let c=d?f:qa(f),j=d?u.text:qa(u.text),R=p=>u.at?.[p]??p,X=p=>{if(!u.at)return p;let m=0;for(;m<u.at.length&&u.at[m]<p;)m+=1;return m},v=Math.min(s.length,i.to??s.length),D=new Set,b=j.indexOf(c,X(Math.max(0,i.from??0)));for(;b>=0;){let p=b+c.length,m=R(b),x=R(p-1)+1;if(x>v)return {matches:e,truncated:false};if(r.some(y=>y.floatingObject===true&&y.projectedStart>m&&y.projectedStart<x)){b=j.indexOf(c,b+1);continue}if(!a||ra(u.text,b,p)){let y=r.find(h=>m>=h.projectedStart&&m<h.projectedEnd),E=r.find(h=>x>h.projectedStart&&x<=h.projectedEnd);if(!y||!E)return {matches:e,truncated:false};let S=y===E&&y.expansion?y:null;if(!S||!D.has(S)){if(e.length>=l)return {matches:e,truncated:true};e.push({start:m,length:x-m,rawStart:I(y,m),rawEnd:L(E,x)}),S&&D.add(S);}}b=j.indexOf(c,p);}return {matches:e,truncated:false}}}}function q(n){return n.length===0?O([]):O([{text:n,rawStart:0,rawEnd:n.length}])}var J="http://schemas.openxmlformats.org/markup-compatibility/2006";function Z(n){if(n.kind==="textValue")return false;if(qd(n))return rd(n);let r=s=>s.kind!=="textValue"&&s.children.some(t=>t.kind==="anchoredDrawing"||t.kind!=="textValue"&&t.localName==="anchor");if(n.kind==="drawing")return r(n);if(n.namespaceUri!==J||n.localName!=="AlternateContent")return false;for(let s of n.children){if(s.kind==="textValue"||s.localName!=="Choice")continue;let t=s.children.find(o=>o.kind==="drawing"||o.kind!=="textValue"&&o.localName==="drawing");if(t)return r(t)}return false}function $(n,r,s="allMarkup"){if(!r.includes(qf)&&!r.includes(db))return r.length===0?[]:[{text:r,rawStart:0,rawEnd:r.length}];let t=Lf(n),o=lg(n,t),l=d(n,t,s),i=new Map;for(let a of t)i.set(a.node.id,a);let e=[],d$1=0;for(let a of o){let u=i.get(a.node.id),f=!u&&eb(a.node);if(!u&&!f){Z(a.node)&&(d$1<a.start&&e.push({text:r.slice(d$1,a.start),rawStart:d$1,rawEnd:a.start}),e.push({text:"",rawStart:a.start,rawEnd:a.end,floatingObject:true}),d$1=a.end);continue}if(d$1<a.start&&e.push({text:r.slice(d$1,a.start),rawStart:d$1,rawEnd:a.start}),!u){e.push({text:db,rawStart:a.start,rawEnd:a.end,symbol:true,symbolDisplays:[ck(a.node)]}),d$1=a.end;continue}let c=l.get(u.node.id);u.kind==="simple"&&c?e.push({text:c.text,rawStart:a.start,rawEnd:a.end,resultRuns:c.runs,...c.symbols?{symbolOffsets:c.symbols}:{},...c.symbolDisplays?{symbolDisplays:c.symbolDisplays}:{}}):e.push({text:c?.text??qf,rawStart:a.start,rawEnd:a.end,...c?.symbols?{symbolOffsets:c.symbols}:{},...c?.symbolDisplays?{symbolDisplays:c.symbolDisplays}:{}}),d$1=a.end;}return d$1<r.length&&e.push({text:r.slice(d$1),rawStart:d$1,rawEnd:r.length}),e}function it(n,r,s="allMarkup"){return !r.includes(qf)&&!r.includes(db)?q(r):O($(n,r,s))}
2
2
  export{O as a,q as b,$ as c,it as d};
@@ -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 chunk6IDOVU6L_cjs=require('../chunk-6IDOVU6L.cjs'),chunkWO4V6PNS_cjs=require('../chunk-WO4V6PNS.cjs');Object.defineProperty(exports,"createCollaborationDocumentPort",{enumerable:true,get:function(){return chunk6IDOVU6L_cjs.b}});Object.defineProperty(exports,"mapOffsetAcrossText",{enumerable:true,get:function(){return chunk6IDOVU6L_cjs.c}});Object.defineProperty(exports,"historyGroupOfJournal",{enumerable:true,get:function(){return chunkWO4V6PNS_cjs.Ja}});Object.defineProperty(exports,"registerUndoHistoryPosition",{enumerable:true,get:function(){return chunkWO4V6PNS_cjs.Cl}});Object.defineProperty(exports,"reportHistoryGroup",{enumerable:true,get:function(){return chunkWO4V6PNS_cjs.Bl}});
@@ -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-B8l8DX3Z.js';
18
+ export { r as reportHistoryGroup } from '../tree-package-store-B8l8DX3Z.js';
19
+ import { ap as OoxmlElement, Q as OoxmlPackage } from '../types-barrel-CkF2JbU4.js';
20
+ import '../editor-scope-C7ke1KJG.js';
22
21
 
23
22
  /** Attribute name as the journal addresses it. Prefix is authored fidelity, not identity. @public */
24
23
  interface CanonicalAttributeName {
@@ -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-N6B3BXCL.js';export{Ja as historyGroupOfJournal,Cl as registerUndoHistoryPosition,Bl as reportHistoryGroup}from'../chunk-T2QQHG5C.js';
@@ -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-B8l8DX3Z.js';
11
+ import { ao as TreeDocOp } from './types-barrel-CkF2JbU4.js';
12
12
  import { CollaborationDocumentPort } from './collaboration/replication.js';
13
13
  import { C as CollaborationStatus, a as CollaborationStatusSnapshot, b as CollaborationFailureCode } from './failure-NS2lsya4.js';
14
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';
15
+ import './editor-scope-C7ke1KJG.js';
17
16
 
18
17
  /**
19
18
  * A peer's presence color is attacker-controlled: it arrives over awareness from whoever is in
@@ -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 '../types-barrel-CkF2JbU4.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-CkF2JbU4.js';
18
+ import '../editor-scope-C7ke1KJG.js';
19
19
 
20
20
  /**
21
21
  * `@docx-editor.dev/core/contracts/document` — the document-level edit and query vocabulary.
@@ -7,15 +7,14 @@
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 { a as ReviewDisplayMode } from '../semantic-records-B-akgRch.js';
11
+ 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 EditorFontErrorCode, L as EditorFormatPainterCommands, M as EditorHeaderFooterCommands, N as EditorHighlights, O as EditorHostChange, P as EditorHostDocument, Q as EditorNoteCommands, S as EditorPosition, T as EditorQueries, U as EditorQuery, V as EditorQueryResults, W as EditorReviewHits, X as EditorSelection, Y as EditorSnapshot, Z as FontConfiguration, _ as FontFaceRequest, $ as FontFailedDiagnostic, a0 as FontSource, a1 as FontSourceSubstitution, a2 as FormatPainterLevel, a3 as FormatPainterMode, a4 as FormatPainterSurfaceState, a5 as FurnitureVariant, a6 as HeaderFooterSlotArgs, a7 as HeaderFooterState, a8 as HighlightHit, a9 as HighlightOptions, aa as HighlightRange, ab as HighlightRect, ac as HighlightResult, ad as HistoryDiagnosticEvent, ae as HyperlinkInfo, af as ImageContext, ag as ImageCropPercent, ah as NoteKind, ai as NotePropertiesSide, aj as NotePropertiesState, ak as PageSetup, al as PerformanceDiagnostic, am as ResolveReviewChangesOptions, an as ResolvedNoteNumbering, ao as ReviewActivationOptions, ap as ReviewChangesAttribution, aq as ReviewCommentPlacement, ar as ReviewCustomPlacement, as as ReviewItemHit, at as ReviewItemPlacement, au as ReviewItemPlacementBase, av as ReviewItemQuery, aw as ReviewItemRevealEvent, ax as ReviewItemRevealSource, ay as ReviewRevisionPlacement, az as ReviewSkippedDiagnostic, aA as ScrollPlacement, aB as ScrollToAnchorOptions, aC as SelectedImageState, aD as SessionActivity, aE as SessionDiagnostic, aF as SetReviewChangesAuthorOptions, aG as TableBorderEdgeTarget, aH as TableBorderSpec, aI as TableBorderStyle, aJ as TableBorderTarget, aK as TableCellVerticalAlignment, aL as TableColumnDividerResizeTarget, aM as TableColumnOccurrenceTarget, aN as TableContext, aO as TableRightEdgeResizeTarget, aP as TableRowOccurrenceTarget, aQ as TextMatch, aR as TimingSummary, aS as TrackedChangeFilterMode, aT as TrackedChangePredicate, aU as ZoomFitTarget, aV as ZoomMode } from '../editor-B2ShlO23.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 ImageResourceState, a2 as ImageWrapTarget, y as IndentFormatting, I as InsertableContentControlType, a3 as NumberingRef, a4 as PageMargins, P as Paragraph, a5 as ParagraphDisagreements, z as ParagraphFlags, a6 as ParagraphFormatCommand, A as ParagraphTabStop, a7 as Point, a8 as PreservedImageMime, a9 as Rect, aa 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, ab as RevisionAuthorResult, ac as RevisionBatchResult, F as RevisionType, ad as Run, k as RunFormatting, G as Section, J as SectionProperties, ae as SelectionPin, K as StyleDefinition, S as StyleDefinitions, af as SupportedImageMime, T as Table, ag as TableCell, ah as TableRow, L as Theme, M as ThemeColorScheme, ai as Unsubscribe, aj as ValidatedImageBytesHandle, ak as VectorImageMime, al as Watermark, am as WatermarkLayout, an as WatermarkState } from '../types-barrel-CkF2JbU4.js';
13
13
  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';
14
+ export { a as EditorExecOptions, E as EditorScope, H as HistoryDiagnostic, b as HistoryGroup, c as HistoryGroupOptions, d as HistoryGroupOutcome, V as ViewScope } from '../editor-scope-C7ke1KJG.js';
15
15
  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';
16
+ export { S as SemanticPosition, a as SemanticSelection } from '../semantic-interaction-dApRIYpt.js';
17
+ import '../document-protection-C8x3P2J6.js';
19
18
  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';
19
+ 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-C9JlLz1L.js';
20
+ import '../omml-equation-BsLAa2lX.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-C7ke1KJG.js';
31
+ export { E as EditorScope } from '../editor-scope-C7ke1KJG.js';
32
32
 
33
33
  /**
34
34
  * `@docx-editor.dev/core/contracts/interaction` — semantic addressing and interaction outcomes.
@@ -17,22 +17,21 @@
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 '../semantic-records-B-akgRch.js';
21
+ export { b as RevisionDisplayMode } from '../semantic-records-B-akgRch.js';
22
+ import { R as ReviewPaneOptions, E as EditorDiagnostic, a as EditorDiagnosticKind } from '../editor-B2ShlO23.js';
23
+ import { R as ReviewModelInput, a as ReviewItem, O as OoxmlPart, b as ReviewRevisionItem } from '../types-barrel-CkF2JbU4.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-CkF2JbU4.js';
25
25
  import { CollaborationModuleContribution } from '../collaboration.js';
26
- import '../image-resources-Bipz8toD.js';
27
- import '../omml-equation-DP2WpUbK.js';
28
- import '../editor-scope-7o9xweiJ.js';
26
+ import '../omml-equation-BsLAa2lX.js';
27
+ import '../editor-scope-C7ke1KJG.js';
28
+ import '../diagnostic-hints-C9JlLz1L.js';
29
+ import '../failure-NS2lsya4.js';
29
30
  import './document.js';
30
31
  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';
32
+ import '../semantic-interaction-dApRIYpt.js';
33
+ import '../document-protection-C8x3P2J6.js';
34
+ import '../tree-package-store-B8l8DX3Z.js';
36
35
  import '../collaboration/replication.js';
37
36
 
38
37
  /**
@@ -7,5 +7,5 @@
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, W as DocxDocumentJSON, x as ExecErrorCode, E as ExecResult, l as Extent, a0 as FontDefinition, H as HeaderFooterSet, y as IndentFormatting, I as InsertableContentControlType, a3 as NumberingRef, a4 as PageMargins, P as Paragraph, a5 as ParagraphDisagreements, z as ParagraphFlags, a6 as ParagraphFormatCommand, A as ParagraphTabStop, a7 as Point, a9 as Rect, p as Revision, F as RevisionType, ad as Run, k as RunFormatting, G as Section, J as SectionProperties, ae as SelectionPin, K as StyleDefinition, S as StyleDefinitions, T as Table, ag as TableCell, ah as TableRow, L as Theme, M as ThemeColorScheme, ai as Unsubscribe, al as Watermark, am as WatermarkLayout, an as WatermarkState } from '../types-barrel-CkF2JbU4.js';
11
+ import '../editor-scope-C7ke1KJG.js';
@@ -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 { Q as OoxmlPackage, O as OoxmlPart, N as OoxmlNode, aC as TreeOpRejection } from './types-barrel-CkF2JbU4.js';
2
+ import { e as TreeModelChange, f as TreeDocumentStore } from './tree-package-store-B8l8DX3Z.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';
@@ -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-C9JlLz1L.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. */
@@ -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.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.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.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 { N as OoxmlNode } from './types-barrel-CkF2JbU4.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';