@docx-editor.dev/core 2.27.0 → 2.28.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 (116) hide show
  1. package/dist/automation.cjs +1 -1
  2. package/dist/automation.d.ts +26 -13
  3. package/dist/automation.js +1 -1
  4. package/dist/binding.cjs +1 -1
  5. package/dist/binding.d.ts +20 -9
  6. package/dist/binding.js +1 -1
  7. package/dist/chunk-2GO5T2JU.cjs +1 -0
  8. package/dist/chunk-2RC2EPND.js +3 -0
  9. package/dist/chunk-4GBTELJV.cjs +28 -0
  10. package/dist/chunk-4R3TEXMN.js +18 -0
  11. package/dist/chunk-5CSUYANV.js +1 -0
  12. package/dist/chunk-6APGXLBB.cjs +3 -0
  13. package/dist/chunk-6AWEKBLB.cjs +1 -0
  14. package/dist/chunk-6EYYL7FL.js +1 -0
  15. package/dist/chunk-E7BQA6UP.js +2 -0
  16. package/dist/chunk-EO4C5QJW.cjs +2 -0
  17. package/dist/chunk-ETTO6GK3.js +1 -0
  18. package/dist/chunk-FIJZIQXA.cjs +18 -0
  19. package/dist/chunk-FRXAOVTB.js +28 -0
  20. package/dist/chunk-J6BVWIDB.js +2 -0
  21. package/dist/chunk-JGNVNT2A.cjs +2 -0
  22. package/dist/chunk-K5U2PLDP.cjs +2 -0
  23. package/dist/chunk-KKIJG3C6.js +2 -0
  24. package/dist/chunk-LWDSDCMO.js +27 -0
  25. package/dist/chunk-O2AL2HSJ.cjs +1 -0
  26. package/dist/chunk-QMLCVPCD.cjs +1 -0
  27. package/dist/chunk-RCHS4ZEH.cjs +27 -0
  28. package/dist/chunk-SRPILEWV.cjs +5 -0
  29. package/dist/chunk-TSLBZ26X.js +1 -0
  30. package/dist/chunk-VDNNLG6X.js +2 -0
  31. package/dist/chunk-VHAVHCQY.js +7 -0
  32. package/dist/chunk-VX43VBAX.cjs +7 -0
  33. package/dist/chunk-Z6WBFXJU.js +5 -0
  34. package/dist/{chunk-2GK7YQB2.cjs → chunk-ZUHOMK52.cjs} +1 -1
  35. package/dist/collaboration/replication.cjs +1 -1
  36. package/dist/collaboration/replication.d.ts +41 -5
  37. package/dist/collaboration/replication.js +1 -1
  38. package/dist/collaboration.cjs +1 -1
  39. package/dist/collaboration.d.ts +98 -6
  40. package/dist/collaboration.js +1 -1
  41. package/dist/contracts/document.d.ts +17 -2
  42. package/dist/contracts/editor.d.ts +19 -9
  43. package/dist/contracts/interaction.d.ts +29 -0
  44. package/dist/contracts/modules.d.ts +31 -7
  45. package/dist/contracts/types.d.ts +10 -1
  46. package/dist/{custom-node-writes-Vzpq9I8_.d.ts → custom-node-writes-cvL5rhcD.d.ts} +2 -2
  47. package/dist/{document-protection-9zpIHWTE.d.ts → document-protection-BAGVGqaP.d.ts} +1 -1
  48. package/dist/{editor-B3OBYNrF.d.ts → editor-Ci7IZGmG.d.ts} +392 -140
  49. package/dist/editor.cjs +1 -1
  50. package/dist/editor.css +5 -5
  51. package/dist/editor.d.ts +415 -30
  52. package/dist/editor.js +1 -1
  53. package/dist/export.cjs +2 -2
  54. package/dist/export.d.ts +23 -13
  55. package/dist/export.js +2 -2
  56. package/dist/failure-NS2lsya4.d.ts +115 -0
  57. package/dist/{font-resolver-DN0xNOf_.d.ts → font-resolver-BVQB14qT.d.ts} +1 -1
  58. package/dist/{headless-document-view-ICYqNkQ1.d.ts → headless-document-view-qH331moE.d.ts} +2 -2
  59. package/dist/{image-resources-BDFxcu7W.d.ts → image-resources-BN-hUgCn.d.ts} +9 -9
  60. package/dist/{index-CkQVRJtJ.d.ts → index-Bsg7oIKP.d.ts} +234 -111
  61. package/dist/index.cjs +1 -1
  62. package/dist/index.d.ts +46 -19
  63. package/dist/index.js +1 -1
  64. package/dist/{layout-shaping-BvZD_VKP.d.ts → layout-shaping-BEyuiQOk.d.ts} +1 -1
  65. package/dist/layout.cjs +1 -1
  66. package/dist/layout.d.ts +170 -78
  67. package/dist/layout.js +1 -1
  68. package/dist/{note-properties-CkAk7g-n.d.ts → note-properties-4Y9o6Gyk.d.ts} +1 -1
  69. package/dist/{omml-equation-DuczgG5o.d.ts → omml-equation-CuzBL5DD.d.ts} +1 -1
  70. package/dist/output.cjs +1 -1
  71. package/dist/output.d.ts +18 -8
  72. package/dist/output.js +1 -1
  73. package/dist/{protocol-aKYr8r3u.d.ts → protocol-Bqk4Izjc.d.ts} +44 -4
  74. package/dist/review-pane-D9jm8DcY.d.ts +128 -0
  75. package/dist/{review-paragraph-order-Ddj5d6rp.d.ts → review-paragraph-order-DT-n6ouC.d.ts} +5 -2
  76. package/dist/{revision-projection-CSNFudZY.d.ts → revision-projection-DZ4kKVev.d.ts} +1 -1
  77. package/dist/{semantic-cell-selection-DoqYCz_F.d.ts → semantic-cell-selection-D9D1KSXq.d.ts} +8 -6
  78. package/dist/{semantic-interaction-G0bjmmmk.d.ts → semantic-interaction-CIC-PooQ.d.ts} +25 -34
  79. package/dist/{semantic-paint-CsMzF8-O.d.ts → semantic-paint-BME37OMv.d.ts} +4 -4
  80. package/dist/{semantic-record-queries-1du6lQqS.d.ts → semantic-record-queries-CBlZqZNa.d.ts} +1 -1
  81. package/dist/{semantic-records-B9OolWGN.d.ts → semantic-records-4B3WwFAi.d.ts} +74 -42
  82. package/dist/store.cjs +1 -1
  83. package/dist/store.d.ts +157 -134
  84. package/dist/store.js +1 -1
  85. package/dist/{tree-package-fragment-DYZIk1rY.d.ts → tree-package-fragment-BeeKxDw8.d.ts} +77 -57
  86. package/dist/{tree-session-contract-DQVJOOkv.d.ts → tree-session-contract-CVbmlMlq.d.ts} +7 -5
  87. package/dist/{types-barrel-BFKR8Pzp.d.ts → types-barrel-D3xCgQX6.d.ts} +462 -362
  88. package/package.json +2 -2
  89. package/dist/chunk-4KZ6L5YF.cjs +0 -15
  90. package/dist/chunk-55AT3MOU.cjs +0 -25
  91. package/dist/chunk-6ZQMII6V.js +0 -1
  92. package/dist/chunk-7IGCWG4H.js +0 -2
  93. package/dist/chunk-7MYITTAH.js +0 -5
  94. package/dist/chunk-AVKVRU7Z.cjs +0 -5
  95. package/dist/chunk-CWRBFNK5.cjs +0 -5
  96. package/dist/chunk-DGPA3TST.cjs +0 -27
  97. package/dist/chunk-DNXVNQEO.js +0 -1
  98. package/dist/chunk-FQN4KSFL.cjs +0 -7
  99. package/dist/chunk-GVUOWHTO.cjs +0 -1
  100. package/dist/chunk-GWQJ5774.js +0 -5
  101. package/dist/chunk-HAQ72KD7.js +0 -1
  102. package/dist/chunk-HO5XFO32.cjs +0 -3
  103. package/dist/chunk-IGR23DV2.js +0 -1
  104. package/dist/chunk-JSIX2EOH.js +0 -3
  105. package/dist/chunk-K246T47S.cjs +0 -1
  106. package/dist/chunk-KAXOGCGA.js +0 -1
  107. package/dist/chunk-LZLTN5A3.cjs +0 -1
  108. package/dist/chunk-OHAXVTWG.cjs +0 -1
  109. package/dist/chunk-S74GRBNE.js +0 -7
  110. package/dist/chunk-UBLUVNZR.js +0 -27
  111. package/dist/chunk-UMRSBLO7.js +0 -15
  112. package/dist/chunk-VIPMGGUT.js +0 -25
  113. package/dist/chunk-WG4KMSX2.cjs +0 -2
  114. package/dist/chunk-WRLKVNNR.cjs +0 -1
  115. package/dist/chunk-ZU7IVN6G.js +0 -2
  116. package/dist/failure-BIPVQbRm.d.ts +0 -65
@@ -1,13 +1,33 @@
1
- import { R as RevisionMarkupDialogSession, a as ReviewDisplayMode } from '../revision-projection-CSNFudZY.js';
2
- export { b as RevisionDisplayMode } from '../revision-projection-CSNFudZY.js';
3
- import { R as ReviewModelInput, a as ReviewItem, O as OoxmlPart, b as ReviewRevisionItem } from '../types-barrel-BFKR8Pzp.js';
4
- 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-BFKR8Pzp.js';
1
+ /**
2
+ * `@docx-editor.dev/core/contracts/modules` — the `EditorModule` seam.
3
+ *
4
+ * How a paid or optional capability contributes to the engine without the free tier importing
5
+ * it: the review module and custom nodes both arrive through here, and their absence leaves the
6
+ * corresponding chrome disabled with the engine's own reason.
7
+ *
8
+ * NOT a plugin system. The shape is closed: every contribution point is named
9
+ * here, core iterates registered modules at its existing dispatch points, and
10
+ * core never imports a capability package. A capability absent from this file
11
+ * is not extendable from outside — deliberately, so the one-pipeline principle
12
+ * survives the packaging boundary.
13
+ * The free engine behaves identically with an empty registry: documents
14
+ * round-trip losslessly, revisions render in their final-state projection, and
15
+ * the review chrome slots stay disabled with the engine's own reason.
16
+ *
17
+ * @packageDocumentation
18
+ * @public
19
+ */
20
+ import { R as RevisionMarkupDialogSession, a as ReviewDisplayMode } from '../revision-projection-DZ4kKVev.js';
21
+ export { b as RevisionDisplayMode } from '../revision-projection-DZ4kKVev.js';
22
+ import { R as ReviewPaneOptions } from '../review-pane-D9jm8DcY.js';
23
+ import { R as ReviewModelInput, a as ReviewItem, O as OoxmlPart, b as ReviewRevisionItem } from '../types-barrel-D3xCgQX6.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-D3xCgQX6.js';
5
25
  import { CollaborationModuleContribution } from '../collaboration.js';
6
26
  import '../editor-scope-OHPwVQ5l.js';
7
- import '../tree-package-fragment-DYZIk1rY.js';
8
- import '../image-resources-BDFxcu7W.js';
27
+ import '../tree-package-fragment-BeeKxDw8.js';
28
+ import '../image-resources-BN-hUgCn.js';
9
29
  import '../collaboration/replication.js';
10
- import '../failure-BIPVQbRm.js';
30
+ import '../failure-NS2lsya4.js';
11
31
 
12
32
  /**
13
33
  * Derives the review queue — every pending revision decision and comment
@@ -44,6 +64,10 @@ interface ReviewModuleContribution {
44
64
  * The module enables the listed review projections.
45
65
  */
46
66
  readonly displayModes: readonly ReviewDisplayMode[];
67
+ /**
68
+ * The review pane settings the editor starts with. `setReviewPaneOptions` changes them later.
69
+ */
70
+ readonly pane?: ReviewPaneOptions;
47
71
  /** The review queue derivation. */
48
72
  readonly collectReviewItems: CollectReviewItems;
49
73
  /**
@@ -1,2 +1,11 @@
1
- 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, ai as DocxDocumentJSON, x as ExecErrorCode, E as ExecResult, l as Extent, al as FontDefinition, H as HeaderFooterSet, y as IndentFormatting, I as InsertableContentControlType, am as NumberingRef, an as PageMargins, P as Paragraph, ao as ParagraphDisagreements, z as ParagraphFlags, ad as ParagraphFormatCommand, A as ParagraphTabStop, ap as Point, af as Rect, p as Revision, F as RevisionType, aq as Run, k as RunFormatting, G as Section, J as SectionProperties, ag as SelectionPin, K as StyleDefinition, S as StyleDefinitions, T as Table, ar as TableCell, as as TableRow, L as Theme, M as ThemeColorScheme, ah as Unsubscribe, ae as Watermark } from '../types-barrel-BFKR8Pzp.js';
1
+ /**
2
+ * `@docx-editor.dev/core/contracts/types` — the shared type vocabulary. Zero runtime.
3
+ *
4
+ * Addressing (`DocAnchor`, `DocTarget`), the document model, and the geometry primitives every
5
+ * other contract is written in terms of.
6
+ *
7
+ * @packageDocumentation
8
+ * @public
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, av as DocxDocumentJSON, x as ExecErrorCode, E as ExecResult, l as Extent, ay as FontDefinition, H as HeaderFooterSet, y as IndentFormatting, I as InsertableContentControlType, az as NumberingRef, aA as PageMargins, P as Paragraph, aB as ParagraphDisagreements, z as ParagraphFlags, aq as ParagraphFormatCommand, A as ParagraphTabStop, aC as Point, as as Rect, p as Revision, F as RevisionType, aD as Run, k as RunFormatting, G as Section, J as SectionProperties, at as SelectionPin, K as StyleDefinition, S as StyleDefinitions, T as Table, aE as TableCell, aF as TableRow, L as Theme, M as ThemeColorScheme, au as Unsubscribe, ar as Watermark } from '../types-barrel-D3xCgQX6.js';
2
11
  import '../editor-scope-OHPwVQ5l.js';
@@ -1,5 +1,5 @@
1
- import { Q as OoxmlPackage, O as OoxmlPart, N as OoxmlNode, a5 as TreeOpRejection } from './types-barrel-BFKR8Pzp.js';
2
- import { e as TreeModelChange, f as TreeDocumentStore } from './tree-package-fragment-DYZIk1rY.js';
1
+ import { Q as OoxmlPackage, O as OoxmlPart, N as OoxmlNode, a8 as TreeOpRejection } from './types-barrel-D3xCgQX6.js';
2
+ import { e as TreeModelChange, f as TreeDocumentStore } from './tree-package-fragment-BeeKxDw8.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 { N as OoxmlNode } from './types-barrel-BFKR8Pzp.js';
1
+ import { N as OoxmlNode } from './types-barrel-D3xCgQX6.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';