@arbidocs/blocks 0.4.100 → 0.4.102

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 (225) hide show
  1. package/dist/agents/index.cjs +207 -207
  2. package/dist/agents/index.js +2 -2
  3. package/dist/{chunk-NJX774HB.js → chunk-5NQIBJPP.js} +3 -3
  4. package/dist/{chunk-NJX774HB.js.map → chunk-5NQIBJPP.js.map} +1 -1
  5. package/dist/chunk-6MG62I5B.cjs +272 -0
  6. package/dist/chunk-6MG62I5B.cjs.map +1 -0
  7. package/dist/{chunk-NW3LFDZL.cjs → chunk-DDYXFALG.cjs} +3 -3
  8. package/dist/{chunk-NW3LFDZL.cjs.map → chunk-DDYXFALG.cjs.map} +1 -1
  9. package/dist/chunk-EQB3WELX.js +269 -0
  10. package/dist/chunk-EQB3WELX.js.map +1 -0
  11. package/dist/{chunk-B7P73VHX.cjs → chunk-FAGQTB3D.cjs} +30 -214
  12. package/dist/chunk-FAGQTB3D.cjs.map +1 -0
  13. package/dist/{chunk-6HZNFOHW.js → chunk-G5JH2YMQ.js} +3 -3
  14. package/dist/{chunk-6HZNFOHW.js.map → chunk-G5JH2YMQ.js.map} +1 -1
  15. package/dist/{chunk-72PQ42YI.js → chunk-MYALCKDR.js} +34 -217
  16. package/dist/chunk-MYALCKDR.js.map +1 -0
  17. package/dist/{chunk-O24WPHLD.cjs → chunk-Y5XW57U4.cjs} +5 -5
  18. package/dist/{chunk-O24WPHLD.cjs.map → chunk-Y5XW57U4.cjs.map} +1 -1
  19. package/dist/{chunk-E2QWWLK5.js → chunk-YGREW5TZ.js} +3 -3
  20. package/dist/{chunk-E2QWWLK5.js.map → chunk-YGREW5TZ.js.map} +1 -1
  21. package/dist/{chunk-IE55TWIG.cjs → chunk-ZT2EBBSC.cjs} +5 -5
  22. package/dist/{chunk-IE55TWIG.cjs.map → chunk-ZT2EBBSC.cjs.map} +1 -1
  23. package/dist/connect/docx.cjs +6 -6
  24. package/dist/connect/docx.js +4 -4
  25. package/dist/connect/index.cjs +3 -3
  26. package/dist/connect/index.js +2 -2
  27. package/dist/document-tools/AdoptSignatureDialog.d.ts +25 -0
  28. package/dist/document-tools/DocumentToolButtons.d.ts +2 -0
  29. package/dist/document-tools/SignatureRequestBanner.d.ts +18 -0
  30. package/dist/document-tools/index.cjs +175 -0
  31. package/dist/document-tools/index.cjs.map +1 -1
  32. package/dist/document-tools/index.d.ts +3 -1
  33. package/dist/document-tools/index.js +168 -3
  34. package/dist/document-tools/index.js.map +1 -1
  35. package/dist/document-tools/viewer/GuidedSigningViewer.d.ts +26 -0
  36. package/dist/document-tools/viewer/SignatureFieldsOverlay.d.ts +41 -0
  37. package/dist/document-tools/viewer/SignatureRequestEditor.d.ts +26 -0
  38. package/dist/document-tools/viewer/index.cjs +983 -0
  39. package/dist/document-tools/viewer/index.cjs.map +1 -1
  40. package/dist/document-tools/viewer/index.d.ts +3 -0
  41. package/dist/document-tools/viewer/index.js +983 -5
  42. package/dist/document-tools/viewer/index.js.map +1 -1
  43. package/dist/docx/NativeDocxEditor.d.ts +1 -1
  44. package/dist/docx/definitions/DefinedTerms.d.ts +1 -12
  45. package/dist/docx/definitions/commands.d.ts +3 -27
  46. package/dist/docx/index.cjs +35 -39
  47. package/dist/docx/index.d.ts +1 -1
  48. package/dist/docx/index.js +3 -3
  49. package/dist/facts/index.cjs +1 -1
  50. package/dist/facts/index.js +1 -1
  51. package/dist/files/index.cjs +1 -1
  52. package/dist/files/index.js +1 -1
  53. package/dist/home/index.cjs +1 -1
  54. package/dist/home/index.js +1 -1
  55. package/dist/index.cjs +253 -253
  56. package/dist/index.js +3 -3
  57. package/dist/shell/index.cjs +1 -1
  58. package/dist/shell/index.js +1 -1
  59. package/dist/studio/index.cjs +1 -1
  60. package/dist/studio/index.js +1 -1
  61. package/dist/workflow-canvas/index.cjs +9 -9
  62. package/dist/workflow-canvas/index.js +2 -2
  63. package/node_modules/@arbidocs/coedit/LICENSE +21 -0
  64. package/node_modules/@arbidocs/coedit/dist/encoding.cjs +751 -0
  65. package/node_modules/@arbidocs/coedit/dist/encoding.cjs.map +1 -0
  66. package/node_modules/@arbidocs/coedit/dist/encoding.d.cts +192 -0
  67. package/node_modules/@arbidocs/coedit/dist/encoding.d.ts +192 -0
  68. package/node_modules/@arbidocs/coedit/dist/encoding.js +716 -0
  69. package/node_modules/@arbidocs/coedit/dist/encoding.js.map +1 -0
  70. package/node_modules/@arbidocs/coedit/dist/hocuspocus.cjs +1759 -0
  71. package/node_modules/@arbidocs/coedit/dist/hocuspocus.cjs.map +1 -0
  72. package/node_modules/@arbidocs/coedit/dist/hocuspocus.d.cts +39 -0
  73. package/node_modules/@arbidocs/coedit/dist/hocuspocus.d.ts +39 -0
  74. package/node_modules/@arbidocs/coedit/dist/hocuspocus.js +1736 -0
  75. package/node_modules/@arbidocs/coedit/dist/hocuspocus.js.map +1 -0
  76. package/node_modules/@arbidocs/coedit/dist/index.cjs +1692 -0
  77. package/node_modules/@arbidocs/coedit/dist/index.cjs.map +1 -0
  78. package/node_modules/@arbidocs/coedit/dist/index.d.cts +16 -0
  79. package/node_modules/@arbidocs/coedit/dist/index.d.ts +16 -0
  80. package/node_modules/@arbidocs/coedit/dist/index.js +1664 -0
  81. package/node_modules/@arbidocs/coedit/dist/index.js.map +1 -0
  82. package/node_modules/@arbidocs/coedit/dist/server.cjs +1852 -0
  83. package/node_modules/@arbidocs/coedit/dist/server.cjs.map +1 -0
  84. package/node_modules/@arbidocs/coedit/dist/server.d.cts +43 -0
  85. package/node_modules/@arbidocs/coedit/dist/server.d.ts +43 -0
  86. package/node_modules/@arbidocs/coedit/dist/server.js +1822 -0
  87. package/node_modules/@arbidocs/coedit/dist/server.js.map +1 -0
  88. package/node_modules/@arbidocs/coedit/dist/session-Cf9iu1Vt.d.cts +82 -0
  89. package/node_modules/@arbidocs/coedit/dist/session-Cf9iu1Vt.d.ts +82 -0
  90. package/node_modules/@arbidocs/coedit/dist/template.cjs +1627 -0
  91. package/node_modules/@arbidocs/coedit/dist/template.cjs.map +1 -0
  92. package/node_modules/@arbidocs/coedit/dist/template.d.cts +125 -0
  93. package/node_modules/@arbidocs/coedit/dist/template.d.ts +125 -0
  94. package/node_modules/@arbidocs/coedit/dist/template.js +1612 -0
  95. package/node_modules/@arbidocs/coedit/dist/template.js.map +1 -0
  96. package/node_modules/@arbidocs/coedit/dist/versions-DXiFQMA6.d.cts +8 -0
  97. package/node_modules/@arbidocs/coedit/dist/versions-DXiFQMA6.d.ts +8 -0
  98. package/node_modules/@arbidocs/coedit/package.json +68 -0
  99. package/node_modules/@docx-editor.dev/core/LICENSE +201 -0
  100. package/node_modules/@docx-editor.dev/core/README.md +125 -0
  101. package/node_modules/@docx-editor.dev/core/THIRD_PARTY_NOTICES.md +56 -0
  102. package/node_modules/@docx-editor.dev/core/dist/automation.cjs +1 -0
  103. package/node_modules/@docx-editor.dev/core/dist/automation.d.ts +162 -0
  104. package/node_modules/@docx-editor.dev/core/dist/automation.js +1 -0
  105. package/node_modules/@docx-editor.dev/core/dist/binding.cjs +1 -0
  106. package/node_modules/@docx-editor.dev/core/dist/binding.d.ts +164 -0
  107. package/node_modules/@docx-editor.dev/core/dist/binding.js +1 -0
  108. package/node_modules/@docx-editor.dev/core/dist/chunk-2GO5T2JU.cjs +1 -0
  109. package/node_modules/@docx-editor.dev/core/dist/chunk-2RC2EPND.js +3 -0
  110. package/node_modules/@docx-editor.dev/core/dist/chunk-4GBTELJV.cjs +28 -0
  111. package/node_modules/@docx-editor.dev/core/dist/chunk-4R3TEXMN.js +18 -0
  112. package/node_modules/@docx-editor.dev/core/dist/chunk-5CSUYANV.js +1 -0
  113. package/node_modules/@docx-editor.dev/core/dist/chunk-6APGXLBB.cjs +3 -0
  114. package/node_modules/@docx-editor.dev/core/dist/chunk-6AWEKBLB.cjs +1 -0
  115. package/node_modules/@docx-editor.dev/core/dist/chunk-6EYYL7FL.js +1 -0
  116. package/node_modules/@docx-editor.dev/core/dist/chunk-6JIJOZDW.js +1 -0
  117. package/node_modules/@docx-editor.dev/core/dist/chunk-BTQKU64Q.cjs +1 -0
  118. package/node_modules/@docx-editor.dev/core/dist/chunk-E7BQA6UP.js +2 -0
  119. package/node_modules/@docx-editor.dev/core/dist/chunk-EO4C5QJW.cjs +2 -0
  120. package/node_modules/@docx-editor.dev/core/dist/chunk-ETTO6GK3.js +1 -0
  121. package/node_modules/@docx-editor.dev/core/dist/chunk-FIJZIQXA.cjs +18 -0
  122. package/node_modules/@docx-editor.dev/core/dist/chunk-FRXAOVTB.js +28 -0
  123. package/node_modules/@docx-editor.dev/core/dist/chunk-J6BVWIDB.js +2 -0
  124. package/node_modules/@docx-editor.dev/core/dist/chunk-JGNVNT2A.cjs +2 -0
  125. package/node_modules/@docx-editor.dev/core/dist/chunk-K5U2PLDP.cjs +2 -0
  126. package/node_modules/@docx-editor.dev/core/dist/chunk-KKIJG3C6.js +2 -0
  127. package/node_modules/@docx-editor.dev/core/dist/chunk-LWDSDCMO.js +27 -0
  128. package/node_modules/@docx-editor.dev/core/dist/chunk-NBCVVZOM.cjs +1 -0
  129. package/node_modules/@docx-editor.dev/core/dist/chunk-O2AL2HSJ.cjs +1 -0
  130. package/node_modules/@docx-editor.dev/core/dist/chunk-O5INAWZQ.js +1 -0
  131. package/node_modules/@docx-editor.dev/core/dist/chunk-QMLCVPCD.cjs +1 -0
  132. package/node_modules/@docx-editor.dev/core/dist/chunk-RCHS4ZEH.cjs +27 -0
  133. package/node_modules/@docx-editor.dev/core/dist/chunk-RIYSCEFQ.js +2 -0
  134. package/node_modules/@docx-editor.dev/core/dist/chunk-S6J4O5XP.js +1 -0
  135. package/node_modules/@docx-editor.dev/core/dist/chunk-SRPILEWV.cjs +5 -0
  136. package/node_modules/@docx-editor.dev/core/dist/chunk-TSLBZ26X.js +1 -0
  137. package/node_modules/@docx-editor.dev/core/dist/chunk-UKVVUHZL.cjs +1 -0
  138. package/node_modules/@docx-editor.dev/core/dist/chunk-VDNNLG6X.js +2 -0
  139. package/node_modules/@docx-editor.dev/core/dist/chunk-VHAVHCQY.js +7 -0
  140. package/node_modules/@docx-editor.dev/core/dist/chunk-VX43VBAX.cjs +7 -0
  141. package/node_modules/@docx-editor.dev/core/dist/chunk-Z6WBFXJU.js +5 -0
  142. package/node_modules/@docx-editor.dev/core/dist/chunk-ZUHOMK52.cjs +2 -0
  143. package/node_modules/@docx-editor.dev/core/dist/collaboration/replication.cjs +1 -0
  144. package/node_modules/@docx-editor.dev/core/dist/collaboration/replication.d.ts +270 -0
  145. package/node_modules/@docx-editor.dev/core/dist/collaboration/replication.js +1 -0
  146. package/node_modules/@docx-editor.dev/core/dist/collaboration.cjs +1 -0
  147. package/node_modules/@docx-editor.dev/core/dist/collaboration.d.ts +269 -0
  148. package/node_modules/@docx-editor.dev/core/dist/collaboration.js +1 -0
  149. package/node_modules/@docx-editor.dev/core/dist/contracts/document.cjs +1 -0
  150. package/node_modules/@docx-editor.dev/core/dist/contracts/document.d.ts +290 -0
  151. package/node_modules/@docx-editor.dev/core/dist/contracts/document.js +0 -0
  152. package/node_modules/@docx-editor.dev/core/dist/contracts/editor.cjs +1 -0
  153. package/node_modules/@docx-editor.dev/core/dist/contracts/editor.d.ts +22 -0
  154. package/node_modules/@docx-editor.dev/core/dist/contracts/editor.js +1 -0
  155. package/node_modules/@docx-editor.dev/core/dist/contracts/interaction.cjs +1 -0
  156. package/node_modules/@docx-editor.dev/core/dist/contracts/interaction.d.ts +103 -0
  157. package/node_modules/@docx-editor.dev/core/dist/contracts/interaction.js +0 -0
  158. package/node_modules/@docx-editor.dev/core/dist/contracts/modules.cjs +1 -0
  159. package/node_modules/@docx-editor.dev/core/dist/contracts/modules.d.ts +143 -0
  160. package/node_modules/@docx-editor.dev/core/dist/contracts/modules.js +1 -0
  161. package/node_modules/@docx-editor.dev/core/dist/contracts/types.cjs +1 -0
  162. package/node_modules/@docx-editor.dev/core/dist/contracts/types.d.ts +11 -0
  163. package/node_modules/@docx-editor.dev/core/dist/contracts/types.js +0 -0
  164. package/node_modules/@docx-editor.dev/core/dist/custom-node-writes-cvL5rhcD.d.ts +323 -0
  165. package/node_modules/@docx-editor.dev/core/dist/dist-PKZR6RSH.js +2 -0
  166. package/node_modules/@docx-editor.dev/core/dist/document-protection-BAGVGqaP.d.ts +20 -0
  167. package/node_modules/@docx-editor.dev/core/dist/editor-Ci7IZGmG.d.ts +2448 -0
  168. package/node_modules/@docx-editor.dev/core/dist/editor-scope-OHPwVQ5l.d.ts +84 -0
  169. package/node_modules/@docx-editor.dev/core/dist/editor.cjs +1 -0
  170. package/node_modules/@docx-editor.dev/core/dist/editor.css +15 -0
  171. package/node_modules/@docx-editor.dev/core/dist/editor.d.ts +1394 -0
  172. package/node_modules/@docx-editor.dev/core/dist/editor.js +1 -0
  173. package/node_modules/@docx-editor.dev/core/dist/export.cjs +2 -0
  174. package/node_modules/@docx-editor.dev/core/dist/export.d.ts +391 -0
  175. package/node_modules/@docx-editor.dev/core/dist/export.js +2 -0
  176. package/node_modules/@docx-editor.dev/core/dist/failure-NS2lsya4.d.ts +115 -0
  177. package/node_modules/@docx-editor.dev/core/dist/font-resolver-BVQB14qT.d.ts +256 -0
  178. package/node_modules/@docx-editor.dev/core/dist/harfbuzz.wasm +0 -0
  179. package/node_modules/@docx-editor.dev/core/dist/headless-document-view-qH331moE.d.ts +143 -0
  180. package/node_modules/@docx-editor.dev/core/dist/image-resources-BN-hUgCn.d.ts +211 -0
  181. package/node_modules/@docx-editor.dev/core/dist/index-Bsg7oIKP.d.ts +3869 -0
  182. package/node_modules/@docx-editor.dev/core/dist/index.cjs +1 -0
  183. package/node_modules/@docx-editor.dev/core/dist/index.d.ts +53 -0
  184. package/node_modules/@docx-editor.dev/core/dist/index.js +1 -0
  185. package/node_modules/@docx-editor.dev/core/dist/layout-shaping-BEyuiQOk.d.ts +246 -0
  186. package/node_modules/@docx-editor.dev/core/dist/layout.cjs +1 -0
  187. package/node_modules/@docx-editor.dev/core/dist/layout.d.ts +3151 -0
  188. package/node_modules/@docx-editor.dev/core/dist/layout.js +1 -0
  189. package/node_modules/@docx-editor.dev/core/dist/node-module-shim-TTKTT66I.js +1 -0
  190. package/node_modules/@docx-editor.dev/core/dist/note-properties-4Y9o6Gyk.d.ts +68 -0
  191. package/node_modules/@docx-editor.dev/core/dist/omml-equation-CuzBL5DD.d.ts +85 -0
  192. package/node_modules/@docx-editor.dev/core/dist/output.cjs +1 -0
  193. package/node_modules/@docx-editor.dev/core/dist/output.d.ts +97 -0
  194. package/node_modules/@docx-editor.dev/core/dist/output.js +1 -0
  195. package/node_modules/@docx-editor.dev/core/dist/protocol-Bqk4Izjc.d.ts +1651 -0
  196. package/node_modules/@docx-editor.dev/core/dist/review-pane-D9jm8DcY.d.ts +128 -0
  197. package/node_modules/@docx-editor.dev/core/dist/review-paragraph-order-DT-n6ouC.d.ts +85 -0
  198. package/node_modules/@docx-editor.dev/core/dist/revision-projection-DZ4kKVev.d.ts +242 -0
  199. package/node_modules/@docx-editor.dev/core/dist/semantic-cell-selection-D9D1KSXq.d.ts +464 -0
  200. package/node_modules/@docx-editor.dev/core/dist/semantic-interaction-CIC-PooQ.d.ts +135 -0
  201. package/node_modules/@docx-editor.dev/core/dist/semantic-paint-BME37OMv.d.ts +326 -0
  202. package/node_modules/@docx-editor.dev/core/dist/semantic-record-queries-CBlZqZNa.d.ts +177 -0
  203. package/node_modules/@docx-editor.dev/core/dist/semantic-records-4B3WwFAi.d.ts +3532 -0
  204. package/node_modules/@docx-editor.dev/core/dist/store.cjs +1 -0
  205. package/node_modules/@docx-editor.dev/core/dist/store.d.ts +2706 -0
  206. package/node_modules/@docx-editor.dev/core/dist/store.js +1 -0
  207. package/node_modules/@docx-editor.dev/core/dist/tree-package-fragment-BeeKxDw8.d.ts +1201 -0
  208. package/node_modules/@docx-editor.dev/core/dist/tree-session-contract-CVbmlMlq.d.ts +664 -0
  209. package/node_modules/@docx-editor.dev/core/dist/types-barrel-D3xCgQX6.d.ts +4269 -0
  210. package/node_modules/@docx-editor.dev/core/licenses/HarfBuzz-COPYING.txt +42 -0
  211. package/node_modules/@docx-editor.dev/core/package.json +140 -0
  212. package/node_modules/@docx-editor.dev/react/LICENSE +201 -0
  213. package/node_modules/@docx-editor.dev/react/README.md +141 -0
  214. package/node_modules/@docx-editor.dev/react/THIRD_PARTY_NOTICES.md +18 -0
  215. package/node_modules/@docx-editor.dev/react/dist/index.d.mts +4928 -0
  216. package/node_modules/@docx-editor.dev/react/dist/index.d.ts +4928 -0
  217. package/node_modules/@docx-editor.dev/react/dist/index.js +4 -0
  218. package/node_modules/@docx-editor.dev/react/dist/index.mjs +4 -0
  219. package/node_modules/@docx-editor.dev/react/package.json +74 -0
  220. package/node_modules/@docx-editor.dev/react/src/styles/editor.css +6 -0
  221. package/node_modules/@docx-editor.dev/react/src/styles/zIndex.ts +28 -0
  222. package/package.json +26 -15
  223. package/src/docx/README.md +2 -3
  224. package/dist/chunk-72PQ42YI.js.map +0 -1
  225. package/dist/chunk-B7P73VHX.cjs.map +0 -1
@@ -0,0 +1 @@
1
+ export{N as DEFAULT_CANVAS_FONT_STACK,b as HARFBUZZ_SHAPING_LIBRARY,e as HarfBuzzShapingError,i as LayoutShapingConfigurationError,I as ResolvedCache,x as WORD_SEGMENTER_LOCALE,W as anchorLineY,A as boundedFallbackWordSegments,G as captureOperationSnapshot,da as cellSelectionBetween,ha as cellSelectionRects,ia as cellSelectionText,V as contentControlBoundaries,B as createBoundedFallbackWordBoundary,C as createDefaultWordBoundary,g as createHarfBuzzTextShaper,z as createIntlWordBoundary,ca as createLayoutScheduler,aa as createLayoutShapedMeasurer,p as createLayoutShaping,$ as createShapedMeasurer,r as disposeLayoutShaping,J as exportSourceRangeOf,K as forEachSemanticSpan,H as guardOperationSnapshot,f as harfBuzzFontValidator,c as initializeHarfBuzz,P as isCanvasMeasurementAvailable,v as isCumulativeGeometryTrustedFromLineOrigin,u as isGeometryTrustedCaretOffset,d as isHarfBuzzInitialized,y as isIntlWordSegmenterAvailable,t as isWholeGraphemeHorizontalBoundary,o as layoutFontConfigurationFingerprint,S as pageRefPageNumbersFromLayout,ba as pagesToMaterialize,fa as paragraphsInCells,T as planRefFieldResultRefresh,m as prepareLayoutFontConfiguration,R as resolveDefaultSurfaceMeasurer,D as resolveDefaultWordBoundary,X as reviewAnchorIndex,Y as reviewItemGeometry,a as roundFontUnitToFixedPoint,E as segmentWords,w as semanticHorizontalBoundaries,s as shapedHorizontalBoundaries,ga as spansInCells,ma as tabLeaderPattern,ja as tableContextAt,Q as tryCreateCanvasMeasurer,L as vectorShapeInkClip,F as wordSegmentsToGraphemeRecords}from'./chunk-2RC2EPND.js';export{a as setHarfBuzzWasmUrl}from'./chunk-RIYSCEFQ.js';export{L as AUTO_PARAGRAPH_SPACING_PT,Od as AUTO_PREFERRED_WIDTH,Pd as CELL_PAD,F as COMPOUND_BORDER_MIN_GAP_PT,E as COMPOUND_BORDER_MIN_STROKE_PT,Qd as DEFAULT_CELL_MARGINS,va as DEFAULT_PAGE_GEOMETRY,Za as DEFAULT_REVISION_DISPLAY_MODE,$ as DEFAULT_RUN_STYLE,Ic as DEFAULT_SECTION_PROPERTIES,tb as DEFAULT_TAB_INTERVAL_PT,sb as DEFAULT_TAB_INTERVAL_TWIPS,Wd as DEFAULT_VERTICAL_WEIGHT,nc as EMPTY_NUMBERING_INDEX,vb as EMPTY_TAB_STOPS,d as FontResolutionError,ia as GRAPHEME_SEGMENTER_LOCALE,c as HARD_MAX_AGGREGATE_FONT_BYTES,a as HARD_MAX_FONT_BYTES,b as HARD_MAX_FONT_SOURCES,K as MAX_BORDER_SPACE_PT,J as MAX_BORDER_WIDTH_PT,Hc as MAX_DOCUMENT_SECTIONS,yf as MAX_EACH_PAGE_MARK_CANDIDATES,kc as MAX_LVL_OVERRIDES,Lb as MAX_LVL_TEXT_LENGTH,Kb as MAX_MARKER_TEXT_LENGTH,kf as MAX_NOTES_LAID_OUT,lf as MAX_NOTE_FRAGMENTS,xf as MAX_NOTE_OVERFLOW_PAGES,wf as MAX_NOTE_REFLOW_ATTEMPTS,jc as MAX_NUMBERING_DEFINITIONS,I as MAX_PARAGRAPH_SPACING_PT,o as MAX_SHAPING_CONTEXT,Ib as MAX_STYLE_BASED_ON_DEPTH,gd as MAX_STYLE_DEFINITIONS,Gd as MAX_TABLE_BORDER_STROKES,Sd as MAX_TABLE_NESTING,Te as MAX_TABLE_ROW_FRAGMENTS,Td as MAX_TABLE_ROW_HEIGHT_PT,rb as MAX_TAB_POSITION_TWIPS,qb as MAX_TAB_STOPS,Dc as PAGE_BORDER_SIDES,N as PARAGRAPH_BORDER_SIDES,M as SINGLE_LINE_SPACING,ub as TAB_LEADER_GLYPH,Ue as TablePaginationError,sa as UnsupportedScriptError,_ as appliedSpaceBefore,R as applyLineSpacing,Df as attachNotesToLayout,ea as baselineShiftPtOf,Nd as borderExtentPt,Kd as borderWeight,X as bottomBorderExtentPt,l as boundedStructuralFontValidator,lc as buildNumberingIndex,Af as buildPageRefIndex,hd as buildStyleCascadeTable,ne as caretAt,ee as caretBoxOnLine,le as caretStops,me as caretStopsForBlocks,id as cascadeParagraphFormatting,ld as cascadeRunProperties,kd as cascadedBottomBorder,U as cascadedParagraphBorders,wb as cascadedTabStops,Mb as clampListValue,Z as collapsedSpaceBefore,se as compositionAnchor,G as computeDoubleBorderMetricsPt,Cf as computeFootnoteReserves,be as contentControlAtPoint,ke as contentControlAtSemantic,df as contentControlHoldingParagraph,cf as contentControlRecordsInPart,oe as contentControlsInLayout,Ia as contentControlsOfLayout,Ye as createDocumentFurnitureSource,$e as createDocumentLinkProjectors,Ze as createDocumentNotesInput,Ke as createDocumentStyleDependencies,af as createFieldLinkRegistry,ha as createFixedMeasurer,m as createFontResourceSnapshot,Gf as createLayoutSession,oc as createListCounterState,Ge as createParagraphLayoutCache,s as createShapedRun,p as createShapingEnvironment,rf as defaultNoteSeparatorRuleStyle,zb as defaultTabIntervalFromSettings,qe as deletedTextBoundaries,Ac as deriveNoteDisplayMarks,Bc as deriveNoteDisplayMarksResolved,ba as displayText,Ra as documentOrder,_e as documentRelationshipTargetIn,Fd as effectiveBorderSide,Ka as effectiveContentControlLock,mb as emptyTocPlaceholderParagraphIds,nb as emptyTocSuppressedResultParagraphIds,Oc as enumerateDocumentSections,Qc as enumerateDocumentSectionsBounded,Sa as everyStoryOrder,Ub as expandLvlText,Bf as filterRefsOnPage,fe as findDrawingOverlayFrameInLayout,of as findSeparatorNote,n as fixedPoint,h as fontRequestKey,Ea as forEachSemanticDrawing,Ca as forEachSemanticStory,Fa as forEachStoryParagraphFragment,Nb as formatDecimal,Ob as formatDecimalZero,Sb as formatLowerLetter,Qb as formatLowerRoman,Tb as formatNumFmt,ec as formatPageNumber,hb as formatRevisionOf,Rb as formatUpperLetter,Pb as formatUpperRoman,zf as fragmentOwnsAtomOffset,Ga as fragmentsOfParagraph,Rc as geometryOfSection,fa as glyphSizeFactorOf,la as graphemeBoundaryEpoch,pa as graphemeCount,ra as graphemeOffsetToUtf16,_d as hitTestPage,je as hitTestSemantic,ae as hitTestSheet,ka as intlGraphemeBoundary,Yd as isFurniturePoint,ja as isIntlSegmenterAvailable,sf as isMarkerOnlySeparatorNote,Gb as isValidStyleId,ta as itemizeScriptFontSlots,we as keyedRangeRects,ad as layoutEquation,Xe as layoutHeaderFooterStory,qf as layoutNoteById,tf as layoutNoteSeparator,pf as layoutNoteStory,Hf as layoutSemanticDocument,Ha as lineAtPosition,ce as lineEndOffset,La as lineSegments,za as linesOf,tc as listMarkerBox,fb as markRevisionRemovesMark,ca as measureDisplayText,xc as mergeListIndent,re as moveCaret,Ab as nextTabDestination,nf as normalNotesOf,Cc as noteDisplayMarkMap,mf as noteLineIdPrefix,Zc as noteMarkKey,vf as noteSeparatorAreaBox,jf as noteSeparatorRuleBox,rd as noteStoryBlocks,Xd as pageAtY,if as pageBorderFrame,Fc as pageBordersFingerprint,W as paragraphBorderExtentPt,V as paragraphBorderStrokeWidthPt,T as paragraphBorders,Y as paragraphBordersFingerprint,H as paragraphBreaksBefore,S as paragraphContextualSpacing,xa as paragraphFragmentsOf,ya as paragraphFragmentsOfBlocks,Fe as paragraphLayoutKey,Q as paragraphLineSpacing,pc as paragraphMarkDeleted,db as paragraphMarkFormatRevisionOf,gb as paragraphMarkRevisionOf,cb as paragraphMarkRevisionsOf,Mc as paragraphSectionNode,A as paragraphShading,B as paragraphShadingBox,P as paragraphSpacing,xb as paragraphTabStops,pe as paragraphTextFromLayout,cc as parseAutonumInstruction,Ec as parsePageBorders,Jc as parsePageNumbering,bc as parseRefInstruction,Kc as parseSectionProperties,wd as positionPastDeletion,_c as projectedNoteMarkText,Pc as projectedSectionSourceIndexes,Ef as provisionalNoteMarks,Hd as readBorderSide,Jd as readCellBorders,vc as readNumPr,Nc as readSectionProperties,Id as readTableBorders,Ud as readTableStructure,oa as resetGraphemeBoundary,Ld as resolveBorderConflict,mc as resolveNumberingLevel,y as resolveOoxmlShadingFill,md as resolveParagraphLayoutInputs,aa as resolveRunStyle,yc as resolveStoryListItems,Uc as resolveStoryRefFields,x as resolveStrictHexFill,Md as resolveTableCellBorderGrid,ab as revisionAuthorFilter,rc as revisionRemovesParagraph,ib as revisionsAreDeletion,bb as revisionsVisible,Fb as runBorderStrokesForLine,da as runStylesEqual,ma as segmentGraphemes,ue as selectionRects,na as setGraphemeBoundary,z as shadingFillFromElement,t as shapedRunComparatorInputs,r as shapingEnvironmentFingerprint,q as shapingEnvironmentFingerprintInputs,eb as shownMarkRevision,de as spanOffsetX,te as spansInSelection,qd as storyBlocks,ua as styleForFontSlot,uf as syntheticSeparatorBox,Bb as tabAdvanceWidth,Cb as tabStopsFingerprint,Rd as tableOriginX,lb as tocFieldChromeParagraphIds,Ja as unionLayoutBoxes,qa as utf16OffsetToGrapheme,dc as walkStoryParagraphs,yb as withDefaultTabInterval,wc as withNumberingStyleLinks,zc as withResolvedListItems,he as wordBoundary}from'./chunk-FRXAOVTB.js';import'./chunk-TSLBZ26X.js';import'./chunk-J6BVWIDB.js';export{Tc as MAX_SDT_NESTING,$i as MAX_TABLE_COLUMNS,Yh as W15_NAMESPACE_URI,Cj as activeReviewItem,Yc as collectFlowBlocks,Lj as commentBodyText,Nj as commentInitials,Xc as contentControlContentChildren,zj as firstReviewRange,Uc as isContentControl,Vc as isContentControlContent,d as mapSymbolPuaText,kj as paragraphOrderOfPart,xj as reviewItemKey,Aj as reviewItemPositionRank,yj as reviewItemRanges,Bj as reviewItemsAt,Dj as reviewThreadRootOf,f as sha256FontBytes}from'./chunk-4R3TEXMN.js';
@@ -0,0 +1 @@
1
+ function n(){let e=globalThis.process;if(typeof e?.getBuiltinModule=="function")return e.getBuiltinModule("module")}function u(e){let i=n();if(!i)throw new Error("createRequire is unavailable: this build reaches Node's `module` through process.getBuiltinModule, which needs Node 20.16+ or 22.3+.");return i.createRequire(e)}export{u as createRequire};
@@ -0,0 +1,68 @@
1
+ import { O as OoxmlPart, N as OoxmlNode, Q as OoxmlPackage } from './types-barrel-D3xCgQX6.js';
2
+
3
+ /** `w:pos` — where a section's footnotes are laid out. */
4
+ type FootnotePosition = 'pageBottom' | 'beneathText' | 'sectEnd' | 'docEnd';
5
+ /** `w:pos` for endnotes — only the two document-level placements are legal. */
6
+ type EndnotePosition = 'sectEnd' | 'docEnd';
7
+ /** `w:numRestart` — when note numbering starts over. `eachPage` needs the reference's page. */
8
+ type NoteNumRestart = 'continuous' | 'eachSect' | 'eachPage';
9
+ /** Authored subset — only keys present in the file appear. */
10
+ interface AuthoredNoteProperties {
11
+ readonly pos?: string;
12
+ readonly numFmt?: string;
13
+ readonly numStart?: number;
14
+ readonly numRestart?: string;
15
+ }
16
+ /** Fully resolved footnote properties (defaults filled). */
17
+ interface ResolvedFootnoteProperties {
18
+ readonly pos: FootnotePosition;
19
+ readonly numFmt: string;
20
+ readonly numStart: number;
21
+ readonly numRestart: NoteNumRestart;
22
+ }
23
+ /** Fully resolved endnote properties (defaults filled). */
24
+ interface ResolvedEndnoteProperties {
25
+ readonly pos: EndnotePosition;
26
+ readonly numFmt: string;
27
+ readonly numStart: number;
28
+ readonly numRestart: NoteNumRestart;
29
+ }
30
+ /** Word's own footnote defaults, applied where a section declares no `w:footnotePr`. */
31
+ declare const DEFAULT_FOOTNOTE_PROPERTIES: ResolvedFootnoteProperties;
32
+ /**
33
+ * Word-compatible defaults. ECMA-376 says omitted endnote `numFmt` is decimal;
34
+ * MS-OE376 / MS-OI29500 document that Word’s default is `lowerRoman` instead.
35
+ * Resolved (not authored) — unedited packages still invent nothing on save.
36
+ */
37
+ declare const DEFAULT_ENDNOTE_PROPERTIES: ResolvedEndnoteProperties;
38
+ /** Parse authored CT_FtnProps / CT_EdnProps without inventing defaults. */
39
+ declare function parseAuthoredNoteProperties(propsNode: OoxmlNode | null | undefined): AuthoredNoteProperties | undefined;
40
+ /** Authored footnotePr on a sectPr node. */
41
+ declare function authoredFootnotePropertiesFromSectPr(sectPr: OoxmlNode | null | undefined): AuthoredNoteProperties | undefined;
42
+ /** Authored endnotePr on a sectPr node. */
43
+ declare function authoredEndnotePropertiesFromSectPr(sectPr: OoxmlNode | null | undefined): AuthoredNoteProperties | undefined;
44
+ /** Locate settings.xml via the main document relationship when present. */
45
+ declare function settingsPartOf(pkg: OoxmlPackage): OoxmlPart | null;
46
+ /** Authored document-level footnotePr from settings. */
47
+ declare function authoredDocumentFootnoteProperties(settings: OoxmlPart | null | undefined): AuthoredNoteProperties | undefined;
48
+ /** Authored document-level endnotePr from settings. */
49
+ declare function authoredDocumentEndnoteProperties(settings: OoxmlPart | null | undefined): AuthoredNoteProperties | undefined;
50
+ /**
51
+ * Resolve footnote properties: section → document → defaults.
52
+ * Illegal position strings fall through to the next layer / default.
53
+ */
54
+ declare function resolveFootnoteProperties(section?: AuthoredNoteProperties, document?: AuthoredNoteProperties): ResolvedFootnoteProperties;
55
+ /**
56
+ * Resolve endnote properties: section → document → defaults.
57
+ * `pageBottom` is never a legal endnote position — falls back.
58
+ */
59
+ declare function resolveEndnoteProperties(section?: AuthoredNoteProperties, document?: AuthoredNoteProperties): ResolvedEndnoteProperties;
60
+ /** Validate an authored endnote position write — refuse `pageBottom`. */
61
+ declare function isLegalEndnotePosition(pos: string): pos is EndnotePosition;
62
+ /** Validate an authored footnote position write. */
63
+ declare function isLegalFootnotePosition(pos: string): pos is FootnotePosition;
64
+ /** Whether a file-supplied string is a legal `w:numRestart` value. Narrows the type. */
65
+ declare function isLegalNumRestart(value: string): value is NoteNumRestart;
66
+
67
+ export { DEFAULT_ENDNOTE_PROPERTIES as D, DEFAULT_FOOTNOTE_PROPERTIES as a, authoredDocumentEndnoteProperties as c, authoredDocumentFootnoteProperties as d, authoredEndnotePropertiesFromSectPr as e, authoredFootnotePropertiesFromSectPr as f, isLegalFootnotePosition as g, isLegalNumRestart as h, isLegalEndnotePosition as i, resolveFootnoteProperties as j, parseAuthoredNoteProperties as p, resolveEndnoteProperties as r, settingsPartOf as s };
68
+ export type { AuthoredNoteProperties as A, EndnotePosition as E, FootnotePosition as F, NoteNumRestart as N, ResolvedEndnoteProperties as R, ResolvedFootnoteProperties as b };
@@ -0,0 +1,85 @@
1
+ import { U as OoxmlNodeId, V as OoxmlGenericElementNode, N as OoxmlNode } from './types-barrel-D3xCgQX6.js';
2
+
3
+ /** Office Math Markup Language namespace. */
4
+ declare const OFFICE_MATH_NAMESPACE_URI = "http://schemas.openxmlformats.org/officeDocument/2006/math";
5
+ declare const DEFAULT_OMML_LIMITS: Readonly<{
6
+ maxDepth: 24;
7
+ maxNodes: 256;
8
+ maxTextLength: 512;
9
+ }>;
10
+ /** Shared work limits for untrusted OMML and linear-math input. */
11
+ interface OmmlLimits {
12
+ readonly maxDepth?: number;
13
+ readonly maxNodes?: number;
14
+ readonly maxTextLength?: number;
15
+ }
16
+ type EquationExpression = {
17
+ readonly kind: 'row';
18
+ readonly items: readonly EquationExpression[];
19
+ } | {
20
+ readonly kind: 'text';
21
+ readonly value: string;
22
+ } | {
23
+ readonly kind: 'fraction';
24
+ readonly numerator: EquationExpression;
25
+ readonly denominator: EquationExpression;
26
+ } | {
27
+ readonly kind: 'radical';
28
+ readonly radicand: EquationExpression;
29
+ readonly degree?: EquationExpression;
30
+ } | {
31
+ readonly kind: 'script';
32
+ readonly base: EquationExpression;
33
+ readonly subscript?: EquationExpression;
34
+ readonly superscript?: EquationExpression;
35
+ } | {
36
+ readonly kind: 'nary';
37
+ readonly operator: string;
38
+ readonly body: EquationExpression;
39
+ readonly lowerLimit?: EquationExpression;
40
+ readonly upperLimit?: EquationExpression;
41
+ } | {
42
+ readonly kind: 'fallback';
43
+ readonly text: string;
44
+ };
45
+ interface OmmlEquationProjection {
46
+ readonly sourceNodeId: OoxmlNodeId;
47
+ readonly expression: EquationExpression;
48
+ readonly fallbackText: string;
49
+ readonly truncated: boolean;
50
+ readonly visitedNodes: number;
51
+ }
52
+ type LinearMathRejection = 'empty' | 'invalid-syntax' | 'invalid-xml-text' | 'depth-limit' | 'node-limit' | 'text-limit';
53
+ type LinearMathParseResult = {
54
+ readonly ok: true;
55
+ readonly expression: EquationExpression;
56
+ } | {
57
+ readonly ok: false;
58
+ readonly reason: LinearMathRejection;
59
+ };
60
+ type LinearMathOmmlResult = {
61
+ readonly ok: true;
62
+ readonly expression: EquationExpression;
63
+ readonly equation: OoxmlGenericElementNode;
64
+ } | {
65
+ readonly ok: false;
66
+ readonly reason: LinearMathRejection;
67
+ };
68
+ /**
69
+ * Project one preserved `m:oMath` generic node without changing its canonical source.
70
+ */
71
+ declare function projectOmmlEquation(node: OoxmlNode, limits?: OmmlLimits): OmmlEquationProjection | null;
72
+ /** Parse the supported compact linear-math subset with fixed work limits. */
73
+ declare function parseLinearMath(input: string, limits?: OmmlLimits): LinearMathParseResult;
74
+ /**
75
+ * Convert a projected expression into reversible compact syntax.
76
+ *
77
+ * Returns an empty string when parsing the result would change the projected meaning.
78
+ */
79
+ declare function equationExpressionToLinearMath(expression: EquationExpression): string;
80
+ type NextNodeId = () => string;
81
+ /** Parse compact linear math and generate fresh canonical OMML in one bounded operation. */
82
+ declare function linearMathToOmml(input: string, nextId: NextNodeId, limits?: OmmlLimits): LinearMathOmmlResult;
83
+
84
+ export { DEFAULT_OMML_LIMITS as D, OFFICE_MATH_NAMESPACE_URI as c, equationExpressionToLinearMath as e, projectOmmlEquation as f, linearMathToOmml as l, parseLinearMath as p };
85
+ export type { EquationExpression as E, LinearMathOmmlResult as L, OmmlEquationProjection as O, LinearMathParseResult as a, LinearMathRejection as b, OmmlLimits as d };
@@ -0,0 +1 @@
1
+ 'use strict';var chunkEO4C5QJW_cjs=require('./chunk-EO4C5QJW.cjs');require('./chunk-6APGXLBB.cjs'),require('./chunk-4GBTELJV.cjs'),require('./chunk-O2AL2HSJ.cjs'),require('./chunk-JGNVNT2A.cjs'),require('./chunk-FIJZIQXA.cjs');Object.defineProperty(exports,"DEFAULT_FIELD_SHADING",{enumerable:true,get:function(){return chunkEO4C5QJW_cjs.k}});Object.defineProperty(exports,"collectPageChangeBars",{enumerable:true,get:function(){return chunkEO4C5QJW_cjs.f}});Object.defineProperty(exports,"paintSelectionOverlay",{enumerable:true,get:function(){return chunkEO4C5QJW_cjs.p}});Object.defineProperty(exports,"paintSemanticLayout",{enumerable:true,get:function(){return chunkEO4C5QJW_cjs.n}});
@@ -0,0 +1,97 @@
1
+ /**
2
+ * `@docx-editor.dev/core/output` — painting a layout into DOM.
3
+ *
4
+ * The painted pages ARE the editable surface, but the DOM is a picture: browser mutations are
5
+ * prevented and re-expressed as tree ops, and selection maps only through `data-paragraph-id`
6
+ * and `data-start`.
7
+ *
8
+ * @packageDocumentation
9
+ * @public
10
+ */
11
+ import { R as ReviewAuthorInfo } from './semantic-paint-BME37OMv.js';
12
+ export { C as ChangeBarsMode, D as DEFAULT_FIELD_SHADING, F as FieldShadingMode, P as PageChangeBars, a as PaintOptions, b as RevisionAuthorAssignments, c as RevisionAuthorStyle, d as RevisionStyles, e as collectPageChangeBars, p as paintSemanticLayout } from './semantic-paint-BME37OMv.js';
13
+ import { S as SemanticLayout } from './semantic-records-4B3WwFAi.js';
14
+ import './revision-projection-DZ4kKVev.js';
15
+ import './types-barrel-D3xCgQX6.js';
16
+ import './editor-scope-OHPwVQ5l.js';
17
+ import './semantic-record-queries-CBlZqZNa.js';
18
+ import './image-resources-BN-hUgCn.js';
19
+ import './omml-equation-CuzBL5DD.js';
20
+
21
+ /** A rectangle in page-content coordinates, on a named page. */
22
+ interface OverlayRect {
23
+ readonly pageIndex: number;
24
+ readonly x: number;
25
+ readonly y: number;
26
+ readonly width: number;
27
+ readonly height: number;
28
+ /**
29
+ * Class for THIS rectangle, overriding the layer's default.
30
+ *
31
+ * One layer draws bands that mean different things — every commented range, and the one the
32
+ * caret is in — and splitting them into two layers would stack two absolutely positioned
33
+ * sheets over the pages just to vary a colour.
34
+ */
35
+ readonly className?: string;
36
+ /**
37
+ * WHOSE band this is, as CSS hooks on the rectangle: `data-review-author`, `data-review-author-slot`, and
38
+ * `--doc-review-author-current` set to the colour that author resolves to.
39
+ *
40
+ * The same three the review card carries, and deliberately so — a host restyling one
41
+ * reviewer writes one selector that reaches both the card and the text it annotates. The
42
+ * band's DEFAULT colour does not change with the author (Word keeps every comment yellow);
43
+ * this only makes the author reachable from CSS.
44
+ *
45
+ * The SAME resolved author `getReviewAuthors` hands back, rather than a shape of this
46
+ * layer's own: one person is one object everywhere the review surface describes them.
47
+ */
48
+ readonly reviewAuthor?: ReviewAuthorInfo;
49
+ /**
50
+ * Background for the OPEN revision's band, from the author's declared
51
+ * `activeBackground`. Applied inline, so it outranks the kind tokens in the
52
+ * stylesheet, and the kind-coloured rule under the band is cleared with it.
53
+ *
54
+ * Set ONLY on an active revision band. A pending band keeps its transparent
55
+ * default, and comment bands keep their yellow — this field carries no opinion
56
+ * about either.
57
+ */
58
+ readonly activeBackground?: string;
59
+ }
60
+ /**
61
+ * How the selection overlay draws its rectangles over the painted pages.
62
+ *
63
+ * `scale` and `pageOffsetX` must match what the page painter used, or the highlight lands beside
64
+ * the content it describes rather than on it.
65
+ */
66
+ interface SelectionOverlayOptions {
67
+ /** Points to CSS pixels. */
68
+ readonly scale: number;
69
+ /**
70
+ * Per-page horizontal offset the page painter applied, by page index.
71
+ *
72
+ * A document whose pages differ in width centres each one individually, so a page is drawn
73
+ * at an x its record does not carry. Without the same offset here a highlight would sit
74
+ * beside the cells it describes.
75
+ */
76
+ readonly pageOffsetX?: ReadonlyMap<number, number>;
77
+ /**
78
+ * Class for each painted rectangle. Defaults to the cell-selection class, because a cell
79
+ * rectangle was the only thing this layer drew when it was written.
80
+ *
81
+ * A retained TEXT range is drawn here too and must not look like selected cells — one is
82
+ * "these cells are chosen", the other is "your selection is still here while you type in
83
+ * this panel". Same geometry, different meaning, so the caller names the class.
84
+ */
85
+ readonly className?: string;
86
+ }
87
+ /**
88
+ * Draw a set of rectangles over the pages.
89
+ *
90
+ * The layer is a SIBLING of the pages, never a child: the page painter sweeps anything it did
91
+ * not paint out of its own subtree, and a stray child of a contenteditable is editable content
92
+ * a keystroke could land in.
93
+ */
94
+ declare function paintSelectionOverlay(layer: HTMLElement, layout: SemanticLayout, rects: readonly OverlayRect[], options: SelectionOverlayOptions): void;
95
+
96
+ export { ReviewAuthorInfo, paintSelectionOverlay };
97
+ export type { OverlayRect, SelectionOverlayOptions };
@@ -0,0 +1 @@
1
+ export{k as DEFAULT_FIELD_SHADING,f as collectPageChangeBars,p as paintSelectionOverlay,n as paintSemanticLayout}from'./chunk-KKIJG3C6.js';import'./chunk-2RC2EPND.js';import'./chunk-RIYSCEFQ.js';import'./chunk-FRXAOVTB.js';import'./chunk-TSLBZ26X.js';import'./chunk-J6BVWIDB.js';import'./chunk-4R3TEXMN.js';