@docx-editor.dev/editor-api 2.30.0 → 2.32.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/browser.d.ts CHANGED
@@ -20,11 +20,11 @@
20
20
  * @packageDocumentation
21
21
  * @public
22
22
  */
23
- import { ai as RevisionTextView, J as DocxEditorRuntime, C as CreateServerOptions, D as DocxEditorServerRuntime, a as CreateCollaborativeOptions } from './server-BHhcVU2-.js';
24
- export { A as Alignment, B as BesideLocation, b as Body, c as BodyInsertParagraphLocation, d as BodyInsertTextLocation, e as Bookmark, f as BookmarkCollection, g as BreakType, h as ChangeTrackingMode, i as ClientObject, j as ClientResult, k as Comment, l as CommentCollection, m as CommentReply, n as CommentReplyCollection, o as ContentControl, p as ContentControlCollection, q as ContentControlLockState, r as ContentControlSubtype, s as ContentControlType, t as ContentControlValue, u as Document, v as DocumentCapabilities, w as DocumentLimits, x as DocumentProperties, y as DocumentXmlLimits, z as DocumentZipLimits, E as DocxEditorDebugInfo, F as DocxEditorError, G as DocxEditorErrorCode, H as DocxEditorErrorInit, I as DocxEditorInnerError, K as EditorModule, L as Field, M as FieldCollection, N as FieldType, O as FieldTypeLiteral, P as Font, Q as HeaderFooterType, R as InlinePicture, S as InlinePictureCollection, T as InsertLocation, U as List, V as ListBullet, W as ListCollection, X as ListItem, Y as ListNumbering, Z as LoadOption, _ as LoadQueryOptions, $ as NoteItem, a0 as NoteItemCollection, a1 as NoteItemType, a2 as PageOrientation, a3 as PageSetup, a4 as Paragraph, a5 as ParagraphAlignment, a6 as ParagraphCollection, a7 as ParagraphInsertTextLocation, a8 as ParagraphReadingOrder, a9 as Range, aa as RangeCollection, ab as RangeInsertTextLocation, ac as RemoveDocInfoType, ad as RequestContext, ae as Revision, af as RevisionAuthorOptions, ag as RevisionAuthorSelection, ah as RevisionCollection, aj as RevisionType, ak as RunCallback, al as RuntimeDiagnostic, am as SearchOptions, an as Section, ao as SectionCollection, ap as SelectionMode, aq as ServerPaginationOptions, ar as Shape, as as ShapeCollection, at as ShapeType, au as Table, av as TableCell, aw as TableCellCollection, ax as TableCollection, ay as TableRow, az as TableRowCollection, aA as TrackedObjects, aB as UnderlineType, aC as VerticalAlignment, aD as isDocxEditorError } from './server-BHhcVU2-.js';
23
+ import { ao as RevisionTextView, N as DocxEditorRuntime, C as CreateServerOptions, D as DocxEditorServerRuntime, a as CreateCollaborativeOptions } from './server-BB94GFr9.js';
24
+ export { A as Alignment, B as BesideLocation, b as Body, c as BodyInsertParagraphLocation, d as BodyInsertTextLocation, e as Bookmark, f as BookmarkCollection, g as BreakType, h as ChangeTrackingMode, i as ChangeTrackingVersion, j as ClientObject, k as ClientResult, l as Comment, m as CommentCollection, n as CommentReply, o as CommentReplyCollection, p as CommitPreviewOptions, q as ContentControl, r as ContentControlCollection, s as ContentControlLockState, t as ContentControlSubtype, u as ContentControlType, v as ContentControlValue, w as Document, x as DocumentCapabilities, y as DocumentLimits, z as DocumentPreview, E as DocumentPreviewStatus, F as DocumentProperties, G as DocumentXmlLimits, H as DocumentZipLimits, I as DocxEditorDebugInfo, J as DocxEditorError, K as DocxEditorErrorCode, L as DocxEditorErrorInit, M as DocxEditorInnerError, O as EditorModule, P as Field, Q as FieldCollection, R as FieldType, S as FieldTypeLiteral, T as Font, U as HeaderFooterType, V as InlinePicture, W as InlinePictureCollection, X as InsertLocation, Y as List, Z as ListBullet, _ as ListCollection, $ as ListItem, a0 as ListNumbering, a1 as LoadOption, a2 as LoadQueryOptions, a3 as NoteItem, a4 as NoteItemCollection, a5 as NoteItemType, a6 as PageOrientation, a7 as PageSetup, a8 as Paragraph, a9 as ParagraphAlignment, aa as ParagraphCollection, ab as ParagraphInsertTextLocation, ac as ParagraphReadingOrder, ad as PreviewCallback, ae as Range, af as RangeCollection, ag as RangeInsertTextLocation, ah as RangeLocation, ai as RemoveDocInfoType, aj as RequestContext, ak as Revision, al as RevisionAuthorOptions, am as RevisionAuthorSelection, an as RevisionCollection, ap as RevisionType, aq as RunCallback, ar as RunOptions, as as RuntimeDiagnostic, at as SearchOptions, au as Section, av as SectionCollection, aw as SelectionMode, ax as ServerPaginationOptions, ay as Shape, az as ShapeCollection, aA as ShapeType, aB as Table, aC as TableCell, aD as TableCellCollection, aE as TableCollection, aF as TableRow, aG as TableRowCollection, aH as TrackedObjects, aI as UnderlineType, aJ as VerticalAlignment, aK as getReviewItemRange, aL as getReviewItemRangeOrNullObject, aM as getReviewItemRevisions, aN as isDocxEditorError } from './server-BB94GFr9.js';
25
25
  import { EditorCollaborationSession } from '@docx-editor.dev/core/collaboration';
26
+ export { HistoryGroup, HistoryGroupOutcome, RevisionAuthorEntry, RevisionAuthorResult, RevisionAuthorSkipReason, RevisionBatchEntry, RevisionBatchResult, RevisionBatchSkipReason } from '@docx-editor.dev/core/automation';
26
27
  import { DocxEditorInstance } from '@docx-editor.dev/core/editor';
27
- export { RevisionAuthorEntry, RevisionAuthorResult, RevisionAuthorSkipReason, RevisionBatchEntry, RevisionBatchResult, RevisionBatchSkipReason } from '@docx-editor.dev/core/automation';
28
28
 
29
29
  /**
30
30
  * How `DocxEditor.createBrowser` borrows a live editor.
@@ -37,7 +37,11 @@ interface CreateBrowserOptions {
37
37
  *
38
38
  * Required to reply to a comment: `CT_TrackChange` makes `@w:author` mandatory, and the editor
39
39
  * does not expose a signed-in identity to automation. Omitted means comment writes refuse with
40
- * `NotSupported`; ordinary document reads and writes are unaffected.
40
+ * `NotSupported` and the diagnostic `edit.comment-author-required`; ordinary document reads
41
+ * and writes are unaffected.
42
+ *
43
+ * To build a review UI over this editor, use `useReview()` from `@docx-editor.dev/pro/react`
44
+ * or `@docx-editor.dev/pro/vue` instead. It comments and replies as the editor's author.
41
45
  */
42
46
  readonly author?: string;
43
47
  /**