@docx-editor.dev/react 2.9.2 → 2.11.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/index.d.mts CHANGED
@@ -254,7 +254,7 @@ interface DocxEditorRootProps {
254
254
  translate?: (key: string, params?: Record<string, string | number>) => string;
255
255
  /**
256
256
  * Capability modules to register (`@docx-editor.dev/pro`'s review module,
257
- * custom nodes). Sampled at mount only, like `mode`: module registration is
257
+ * custom nodes, collaboration). Sampled at mount only, like `mode`: module registration is
258
258
  * construction-time in the engine.
259
259
  */
260
260
  modules?: readonly EditorModule[];
@@ -959,6 +959,13 @@ interface MenuRowProps {
959
959
  selected?: true;
960
960
  /** Stable marker for hosts, tests and e2e. */
961
961
  slot?: string;
962
+ /**
963
+ * What the slot currently SHOWS, for a control whose state is more than pressed-or-not —
964
+ * the format painter's `once` against its `locked`. Declared rather than left to a spread:
965
+ * this component renders only the props it names, so an undeclared attribute is dropped in
966
+ * silence, and the stylesheet rule keyed on it can never match.
967
+ */
968
+ 'data-value'?: string;
962
969
  /**
963
970
  * Vue TSX maps row identity through `rowSlot` because `slot` is reserved.
964
971
  * React uses {@link slot} directly.
@@ -1046,6 +1053,10 @@ declare function MenuPageSetupImpl({ className, hidden }: MenuActionProps): reac
1046
1053
  declare const MenuPageSetup: typeof MenuPageSetupImpl & {
1047
1054
  docxSlot: ChromeSlotId;
1048
1055
  };
1056
+ declare function MenuImageInsertImpl({ className, hidden }: MenuActionProps): react.JSX.Element | null;
1057
+ declare const MenuImageInsert: typeof MenuImageInsertImpl & {
1058
+ docxSlot: ChromeSlotId;
1059
+ };
1049
1060
  interface MenuSubmenuProps {
1050
1061
  /** i18n key of the parent row's label. */
1051
1062
  labelKey: string;
@@ -1250,6 +1261,8 @@ interface DocxEditorMenuNamespace {
1250
1261
  readonly Open: typeof MenuOpen;
1251
1262
  readonly Save: typeof MenuSave;
1252
1263
  readonly PageSetup: typeof MenuPageSetup;
1264
+ /** Insert › Image, so a host can hide it or place it elsewhere by name. */
1265
+ readonly ImageInsert: typeof MenuImageInsert;
1253
1266
  /** Help › Report issue, so a host can drop it or point it elsewhere by name. */
1254
1267
  readonly ReportIssue: typeof MenuReportIssue;
1255
1268
  }
@@ -1867,6 +1880,39 @@ declare function ContextMenuPaste({ icon, labelKey, shortcutKey, className, hidd
1867
1880
  declare namespace ContextMenuPaste {
1868
1881
  var docxRow: "edit.paste";
1869
1882
  }
1883
+ /**
1884
+ * Paste the clipboard's plain text as if typed, whatever richer flavours it holds.
1885
+ *
1886
+ * The Cmd+Shift+V twin as a menu row: same clipboard-read contract as
1887
+ * {@link ContextMenuPaste}, routed through the `pasteWithoutFormatting` command.
1888
+ *
1889
+ * @public
1890
+ */
1891
+ declare function ContextMenuPasteWithoutFormatting({ icon, labelKey, shortcutKey, className, hidden, }: ContextMenuCommandProps): react.JSX.Element | null;
1892
+ declare namespace ContextMenuPasteWithoutFormatting {
1893
+ var docxRow: "edit.pasteWithoutFormatting";
1894
+ }
1895
+ /**
1896
+ * Copy the formatting at the selection — the Format Painter's read half.
1897
+ *
1898
+ * Stays available in a read-only document, like Copy: it writes nothing.
1899
+ *
1900
+ * @public
1901
+ */
1902
+ declare const ContextMenuCopyFormatting: (({ icon, labelKey, shortcutKey, className, hidden }: ContextMenuCommandProps) => react.JSX.Element | null) & {
1903
+ docxRow: string;
1904
+ };
1905
+ /**
1906
+ * Apply the copied formatting to the selection.
1907
+ *
1908
+ * Disabled with the engine's own reason until something has been copied, so the row says
1909
+ * why rather than looking live and doing nothing.
1910
+ *
1911
+ * @public
1912
+ */
1913
+ declare const ContextMenuPasteFormatting: (({ icon, labelKey, shortcutKey, className, hidden }: ContextMenuCommandProps) => react.JSX.Element | null) & {
1914
+ docxRow: string;
1915
+ };
1870
1916
  /** Props for packaged table context-menu rows. @public */
1871
1917
  interface ContextMenuTableRowProps extends ContextMenuCommandProps {
1872
1918
  /** When true, the row uses the destructive treatment. */
@@ -1982,6 +2028,7 @@ interface DocxEditorContextMenuNamespace {
1982
2028
  readonly Cut: typeof ContextMenuCut;
1983
2029
  readonly Copy: typeof ContextMenuCopy;
1984
2030
  readonly Paste: typeof ContextMenuPaste;
2031
+ readonly PasteWithoutFormatting: typeof ContextMenuPasteWithoutFormatting;
1985
2032
  readonly Delete: typeof ContextMenuDelete;
1986
2033
  readonly SelectAll: typeof ContextMenuSelectAll;
1987
2034
  readonly InsertRowAbove: typeof ContextMenuInsertRowAbove;
@@ -2936,6 +2983,15 @@ interface EditorCommandState {
2936
2983
  readonly isEnabled: boolean;
2937
2984
  /** The engine's reason when disabled — surface it as a tooltip, never invent one. */
2938
2985
  readonly disabledReason: string | null;
2986
+ /**
2987
+ * What the control SHOWS, for the slots whose answer is a value rather than a pressed
2988
+ * state — the editing-mode pill, and the format painter's `off` / `once` / `locked`.
2989
+ *
2990
+ * `isActive` cannot express it: "armed for one paint" and "locked on until Escape" are
2991
+ * both pressed, and only one of them ends with a keystroke. Null for every slot whose
2992
+ * state really is just pressed-or-not, and for the raw-command form.
2993
+ */
2994
+ readonly value: string | null;
2939
2995
  }
2940
2996
  /**
2941
2997
  * Bind a chrome slot (`'text.bold'`, `'history.undo'`, …) or a raw `EditorCommand`
@@ -3776,12 +3832,16 @@ interface OutlineProps {
3776
3832
  * + toggle button, plus slots for the toolbar, paged-area body,
3777
3833
  * overlays, dialogs, and hidden file inputs.
3778
3834
  *
3779
- * The expanded-sidebar-item highlight styles are computed here from
3780
- * `expandedSidebarItem` + `trackedChanges` because they need to live
3781
- * inside the editor-content `<div>` for proper scoping.
3835
+ * This shell renders NO review highlight of its own. Marking the active
3836
+ * comment or tracked change belongs to the engine, which paints
3837
+ * `docx-comment-band--active` and `docx-revision-band--active` for the item
3838
+ * the caret is in, or for the one an `Editor.setActiveReviewItem` pin names
3839
+ * instead. One source for which item is active, so a host sidebar and the
3840
+ * painted document cannot disagree about it.
3841
+ *
3842
+ * @deprecated Use `<DocxEditor>` from the composition layer instead.
3782
3843
  */
3783
- /** @deprecated Use `<DocxEditor>` from the composition layer instead. */
3784
- declare function DocxEditorShell({ i18n, isDark, onEditorError, containerRef, scrollContainerRef, editorContentRef, className, containerStyle, mainContentStyle, editorContainerStyle, showRuler, readOnlyProp, showOutline, showOutlineButton, sidebarOpen, minLayoutWidth, toolbarHeight, editorScrollLeft, expandedSidebarItem, trackedChanges, onScrollContainerMouseDown, onEditorBgMouseDown, onEditorContextMenu, horizontalRulerProps, verticalRulerProps, outlineProps, onToggleOutline, scrollPageInfo, toolbar, pagedArea, overlays, dialogs, fileInputs, }: {
3844
+ declare function DocxEditorShell({ i18n, isDark, onEditorError, containerRef, scrollContainerRef, editorContentRef, className, containerStyle, mainContentStyle, editorContainerStyle, showRuler, readOnlyProp, showOutline, showOutlineButton, sidebarOpen, minLayoutWidth, toolbarHeight, editorScrollLeft, onScrollContainerMouseDown, onEditorBgMouseDown, onEditorContextMenu, horizontalRulerProps, verticalRulerProps, outlineProps, onToggleOutline, scrollPageInfo, toolbar, pagedArea, overlays, dialogs, fileInputs, }: {
3785
3845
  i18n: React.ComponentProps<typeof LocaleProvider>['i18n'];
3786
3846
  isDark?: boolean;
3787
3847
  onEditorError: (error: Error) => void;
@@ -3800,8 +3860,18 @@ declare function DocxEditorShell({ i18n, isDark, onEditorError, containerRef, sc
3800
3860
  minLayoutWidth: number;
3801
3861
  toolbarHeight: number;
3802
3862
  editorScrollLeft: number;
3803
- expandedSidebarItem: string | null;
3804
- trackedChanges: readonly TrackedChangeSummary[];
3863
+ /**
3864
+ * @deprecated Ignored. Mark the active comment or tracked change with
3865
+ * `Editor.setActiveReviewItem`, which paints the band the engine draws.
3866
+ */
3867
+ expandedSidebarItem?: string | null;
3868
+ /**
3869
+ * @deprecated Ignored. Read tracked changes with `Editor.getTrackedChanges`;
3870
+ * activation goes through `Editor.setActiveReviewItem`. Its keys are
3871
+ * `` `${kind}-${id}` ``, so a tracked change is `revision-<id>`, not the
3872
+ * `tc-<id>` this shell once took.
3873
+ */
3874
+ trackedChanges?: readonly TrackedChangeSummary[];
3805
3875
  onScrollContainerMouseDown: (e: React.MouseEvent) => void;
3806
3876
  onEditorBgMouseDown: (e: React.MouseEvent) => void;
3807
3877
  onEditorContextMenu: (e: React.MouseEvent) => void;
@@ -3911,4 +3981,4 @@ declare function VerticalRuler({ pageSetup, zoom, editable, onTopMarginChange, o
3911
3981
  */
3912
3982
  declare function useEditorSnapshot(editor: Editor | null): number;
3913
3983
 
3914
- export { CONTENT_CONTROL_SLOTS, type ChromeTranslate, type ContentControlActionProps, type ContentControlInspectorState, type ContentControlLock, type ContentControlPartProps, type ContentControlProps, type ContentControlSlotId, type ContextMenuAnchor, ContextMenuCellVerticalAlignment, type ContextMenuCommandProps, type ContextMenuContextValue, ContextMenuCopy, ContextMenuCut, ContextMenuDelete, ContextMenuDeleteTable, ContextMenuDeleteTableColumn, ContextMenuDeleteTableRow, ContextMenuInsertColumnLeft, ContextMenuInsertColumnRight, ContextMenuInsertRowAbove, ContextMenuInsertRowBelow, ContextMenuItem, type ContextMenuItemProps, ContextMenuPaste, ContextMenuRefreshToc, ContextMenuRefreshTocPageNumbers, ContextMenuSelectAll, type ContextMenuTableRowProps, DocumentName, DocumentOutline, DocxEditor, DocxEditorAuthorStyle, type DocxEditorAuthorStyleProps, type DocxEditorChildren, DocxEditorColorByChangeType, DocxEditorContent, DocxEditorContentControl, type DocxEditorContentControlNamespace, type DocxEditorContentProps, DocxEditorContextMenu, type DocxEditorContextMenuNamespace, type DocxEditorContextMenuProps, DocxEditorDocumentOutline, type DocxEditorDocumentOutlineProps, DocxEditorEquation, DocxEditorFontNotice, type DocxEditorFontNoticeProps, DocxEditorHeaderFooterChrome, type DocxEditorHeaderFooterChromeProps, DocxEditorHorizontalRuler, DocxEditorHyperLink, type DocxEditorHyperLinkNamespace, DocxEditorImagePropertiesDialog, type DocxEditorImagePropertiesDialogProps, DocxEditorLoading, type DocxEditorLoadingComponent, type DocxEditorLoadingProps, DocxEditorLoadingSpinner, type DocxEditorLoadingSpinnerProps, DocxEditorMenu, type DocxEditorMenuNamespace, type DocxEditorMenuProps, type DocxEditorNamespace, DocxEditorNavigation, type DocxEditorNavigationNamespace, type DocxEditorNavigationProps, DocxEditorNotesChrome, type DocxEditorNotesChromeProps, DocxEditorPageNumber, type DocxEditorPageNumberProps, DocxEditorPageSetupDialog, type DocxEditorPageSetupDialogProps, DocxEditorParagraphDialog, type DocxEditorParagraphDialogProps, type DocxEditorProps, type DocxEditorRef, DocxEditorRoot, type DocxEditorRootListeners, type DocxEditorRootProps, type DocxEditorRulerProps, DocxEditorShell, DocxEditorToolbar, type DocxEditorToolbarNamespace, type DocxEditorToolbarProps, DocxEditorVerticalRuler, DocxEditorViewport, type DocxEditorViewportProps, type DocxFontsInput, type DocxFontsSource, type DocxSource, type EditorCaret, type EditorCommandState, type EditorMode, type EditorValueCommandState, type FontFamilyItemProps, type FontFamilyNamespace, type FontFamilyPartProps, type FontFamilyProps, type FontsInput, type HeaderFooterState, HorizontalRuler, type HorizontalRulerProps$1 as HorizontalRulerProps, type HyperLinkActionProps, type HyperLinkPartProps, type HyperLinkProps, type HyperlinkPopupAnchor, type HyperlinkPopupMode, type HyperlinkPopupState, ImageAltText, ImageInsertProvider, ImageInsertTrigger, ImagePropertiesTrigger, type ImagePropertiesTriggerProps, ImageWrap, type IndentUpdate, LocaleProvider, type LocaleProviderProps, Logo, type MaybeRefOrGetter, type MenuActionProps, MenuBar, type MenuGroupProps, type MenuId, type MenuItemProps, type MenuPartComponent, type MenuProps, type MenuReportIssueProps, type MenuRowProps, type MenuSeparatorProps, type MenuSubmenuProps, type MenuTableGridProps, NAVIGATION_PANE_GAP, NAVIGATION_PANE_INSET, NAVIGATION_PANE_WIDTH, NavigationClose, NavigationFind, NavigationHeader, NavigationHeadings, type NavigationPartProps, type NavigationShiftInput, NavigationTab, type NavigationTabProps, type NavigationTab$1 as NavigationTabValue, NavigationTabs, NavigationTitle, NavigationToggle, type NormalizedImagePayload, type NotePropertiesState, OUTLINE_BUTTON_LEFT_OFFSET, OUTLINE_BUTTON_RESERVED_SPACE, OUTLINE_LEFT_OFFSET, OUTLINE_RESERVED_SPACE, type OutlineHeading$1 as OutlineHeading, type OutlineHeadingItem, PageIndicator, type PageIndicatorProps, PageNumberTranslationContext, type PageSetupUpdate, PaginatedDocxEditor, type PaginatedDocxEditorExpose, type PaginatedDocxEditorHandle, type PaginatedDocxEditorProps, PaginatedDocxEditorShell, type PaginatedDocxEditorShellProps, type ParagraphFlagState, type ParagraphFormatRead, type ParagraphFormatUpdate, type ParagraphStyleItemProps, type ParagraphStyleNamespace, type ParagraphStyleOption, type ParagraphStylePartProps, type ParagraphStyleProps, type ParagraphTabStop, type ProvideDocxEditorResult, REVIEW_MARKERS_GUTTER, REVIEW_PANE_GUTTER, RULER_WIDTH, type ReviewGutter, type ReviewGutterInput, ReviewRailContext, type ReviewRailRegistry, SEARCH_DEBOUNCE_MS, SEARCH_MATCH_LIMIT, type ScopedChromeAnchor, Slot, type SlotProps, type TableBorderColorNamespace, type TableBorderStyleNamespace, type TableBorderTargetNamespace, type TableBorderWidthNamespace, type TableCellFillNamespace, type TableChromeItemProps, type TableChromePartComponent, type TableChromePartProps, TitleBar, TitleBarRight, Toolbar, type ToolbarActionProps, type ToolbarAlignmentComponent, ToolbarButton, type ToolbarButtonProps$1 as ToolbarButtonProps, ToolbarContext, type ToolbarContextValue, ToolbarGroup, ToolbarImageProperties, type ToolbarPartComponent, type ToolbarPartProps, type ToolbarProps, type ToolbarSeparatorProps, type ToolbarSlotPartComponent, type ToolbarSlotPartProps, type ToolbarTranslate, type UseContentControlResult, type UseDocumentOutlineResult, type UseDocumentSearchResult, type UseDocxSourceOptions, type UseDocxSourceResult, type UseFontFamilyResult, type UseHyperlinkPopupResult, type UseNavigationPaneOptions, type UseNavigationPaneResult, type UsePageSetupReturn, type UseParagraphFormatReturn, type UseParagraphIndentReturn, type UseParagraphStyleResult, type UseZoomResult, VERSION, VerticalRuler, type VerticalRulerProps, editorStateActiveSubscriptionCount, isFieldLink, navigationPaneReservation, navigationShift, normalizeImageBytes, notificationYieldsToTask, useProvidedDocxEditor as provideDocxEditor, reviewGutter, useChromeTranslate, useContentControl, useContentControlInstance, useContextMenuTarget, useDocumentOutline, useDocumentSearch, useDocxEditor, useDocxSource, useEditorCaret, useEditorCommand, useEditorEvent, useEditorSnapshot, useEditorState, useEditorValueCommand, useFontFamily, useFonts, useHeaderFooterState, useHyperlinkPopup, useHyperlinkPopupInstance, useNavigationPane, useNavigationShift, useNotePropertiesState, useNoteScopeState, usePageSetup, useParagraphFormat, useParagraphIndent, useParagraphStyle, useReviewAuthors, useReviewGutter, useScopeClassName, useScopedChromeAnchor, useTableBorderTargetLabel, useToolbarContext, useToolbarLabel, useToolbarLabelFor, useTranslation, useZoom };
3984
+ export { CONTENT_CONTROL_SLOTS, type ChromeTranslate, type ContentControlActionProps, type ContentControlInspectorState, type ContentControlLock, type ContentControlPartProps, type ContentControlProps, type ContentControlSlotId, type ContextMenuAnchor, ContextMenuCellVerticalAlignment, type ContextMenuCommandProps, type ContextMenuContextValue, ContextMenuCopy, ContextMenuCopyFormatting, ContextMenuCut, ContextMenuDelete, ContextMenuDeleteTable, ContextMenuDeleteTableColumn, ContextMenuDeleteTableRow, ContextMenuInsertColumnLeft, ContextMenuInsertColumnRight, ContextMenuInsertRowAbove, ContextMenuInsertRowBelow, ContextMenuItem, type ContextMenuItemProps, ContextMenuPaste, ContextMenuPasteFormatting, ContextMenuPasteWithoutFormatting, ContextMenuRefreshToc, ContextMenuRefreshTocPageNumbers, ContextMenuSelectAll, type ContextMenuTableRowProps, DocumentName, DocumentOutline, DocxEditor, DocxEditorAuthorStyle, type DocxEditorAuthorStyleProps, type DocxEditorChildren, DocxEditorColorByChangeType, DocxEditorContent, DocxEditorContentControl, type DocxEditorContentControlNamespace, type DocxEditorContentProps, DocxEditorContextMenu, type DocxEditorContextMenuNamespace, type DocxEditorContextMenuProps, DocxEditorDocumentOutline, type DocxEditorDocumentOutlineProps, DocxEditorEquation, DocxEditorFontNotice, type DocxEditorFontNoticeProps, DocxEditorHeaderFooterChrome, type DocxEditorHeaderFooterChromeProps, DocxEditorHorizontalRuler, DocxEditorHyperLink, type DocxEditorHyperLinkNamespace, DocxEditorImagePropertiesDialog, type DocxEditorImagePropertiesDialogProps, DocxEditorLoading, type DocxEditorLoadingComponent, type DocxEditorLoadingProps, DocxEditorLoadingSpinner, type DocxEditorLoadingSpinnerProps, DocxEditorMenu, type DocxEditorMenuNamespace, type DocxEditorMenuProps, type DocxEditorNamespace, DocxEditorNavigation, type DocxEditorNavigationNamespace, type DocxEditorNavigationProps, DocxEditorNotesChrome, type DocxEditorNotesChromeProps, DocxEditorPageNumber, type DocxEditorPageNumberProps, DocxEditorPageSetupDialog, type DocxEditorPageSetupDialogProps, DocxEditorParagraphDialog, type DocxEditorParagraphDialogProps, type DocxEditorProps, type DocxEditorRef, DocxEditorRoot, type DocxEditorRootListeners, type DocxEditorRootProps, type DocxEditorRulerProps, DocxEditorShell, DocxEditorToolbar, type DocxEditorToolbarNamespace, type DocxEditorToolbarProps, DocxEditorVerticalRuler, DocxEditorViewport, type DocxEditorViewportProps, type DocxFontsInput, type DocxFontsSource, type DocxSource, type EditorCaret, type EditorCommandState, type EditorMode, type EditorValueCommandState, type FontFamilyItemProps, type FontFamilyNamespace, type FontFamilyPartProps, type FontFamilyProps, type FontsInput, type HeaderFooterState, HorizontalRuler, type HorizontalRulerProps$1 as HorizontalRulerProps, type HyperLinkActionProps, type HyperLinkPartProps, type HyperLinkProps, type HyperlinkPopupAnchor, type HyperlinkPopupMode, type HyperlinkPopupState, ImageAltText, ImageInsertProvider, ImageInsertTrigger, ImagePropertiesTrigger, type ImagePropertiesTriggerProps, ImageWrap, type IndentUpdate, LocaleProvider, type LocaleProviderProps, Logo, type MaybeRefOrGetter, type MenuActionProps, MenuBar, type MenuGroupProps, type MenuId, type MenuItemProps, type MenuPartComponent, type MenuProps, type MenuReportIssueProps, type MenuRowProps, type MenuSeparatorProps, type MenuSubmenuProps, type MenuTableGridProps, NAVIGATION_PANE_GAP, NAVIGATION_PANE_INSET, NAVIGATION_PANE_WIDTH, NavigationClose, NavigationFind, NavigationHeader, NavigationHeadings, type NavigationPartProps, type NavigationShiftInput, NavigationTab, type NavigationTabProps, type NavigationTab$1 as NavigationTabValue, NavigationTabs, NavigationTitle, NavigationToggle, type NormalizedImagePayload, type NotePropertiesState, OUTLINE_BUTTON_LEFT_OFFSET, OUTLINE_BUTTON_RESERVED_SPACE, OUTLINE_LEFT_OFFSET, OUTLINE_RESERVED_SPACE, type OutlineHeading$1 as OutlineHeading, type OutlineHeadingItem, PageIndicator, type PageIndicatorProps, PageNumberTranslationContext, type PageSetupUpdate, PaginatedDocxEditor, type PaginatedDocxEditorExpose, type PaginatedDocxEditorHandle, type PaginatedDocxEditorProps, PaginatedDocxEditorShell, type PaginatedDocxEditorShellProps, type ParagraphFlagState, type ParagraphFormatRead, type ParagraphFormatUpdate, type ParagraphStyleItemProps, type ParagraphStyleNamespace, type ParagraphStyleOption, type ParagraphStylePartProps, type ParagraphStyleProps, type ParagraphTabStop, type ProvideDocxEditorResult, REVIEW_MARKERS_GUTTER, REVIEW_PANE_GUTTER, RULER_WIDTH, type ReviewGutter, type ReviewGutterInput, ReviewRailContext, type ReviewRailRegistry, SEARCH_DEBOUNCE_MS, SEARCH_MATCH_LIMIT, type ScopedChromeAnchor, Slot, type SlotProps, type TableBorderColorNamespace, type TableBorderStyleNamespace, type TableBorderTargetNamespace, type TableBorderWidthNamespace, type TableCellFillNamespace, type TableChromeItemProps, type TableChromePartComponent, type TableChromePartProps, TitleBar, TitleBarRight, Toolbar, type ToolbarActionProps, type ToolbarAlignmentComponent, ToolbarButton, type ToolbarButtonProps$1 as ToolbarButtonProps, ToolbarContext, type ToolbarContextValue, ToolbarGroup, ToolbarImageProperties, type ToolbarPartComponent, type ToolbarPartProps, type ToolbarProps, type ToolbarSeparatorProps, type ToolbarSlotPartComponent, type ToolbarSlotPartProps, type ToolbarTranslate, type UseContentControlResult, type UseDocumentOutlineResult, type UseDocumentSearchResult, type UseDocxSourceOptions, type UseDocxSourceResult, type UseFontFamilyResult, type UseHyperlinkPopupResult, type UseNavigationPaneOptions, type UseNavigationPaneResult, type UsePageSetupReturn, type UseParagraphFormatReturn, type UseParagraphIndentReturn, type UseParagraphStyleResult, type UseZoomResult, VERSION, VerticalRuler, type VerticalRulerProps, editorStateActiveSubscriptionCount, isFieldLink, navigationPaneReservation, navigationShift, normalizeImageBytes, notificationYieldsToTask, useProvidedDocxEditor as provideDocxEditor, reviewGutter, useChromeTranslate, useContentControl, useContentControlInstance, useContextMenuTarget, useDocumentOutline, useDocumentSearch, useDocxEditor, useDocxSource, useEditorCaret, useEditorCommand, useEditorEvent, useEditorSnapshot, useEditorState, useEditorValueCommand, useFontFamily, useFonts, useHeaderFooterState, useHyperlinkPopup, useHyperlinkPopupInstance, useNavigationPane, useNavigationShift, useNotePropertiesState, useNoteScopeState, usePageSetup, useParagraphFormat, useParagraphIndent, useParagraphStyle, useReviewAuthors, useReviewGutter, useScopeClassName, useScopedChromeAnchor, useTableBorderTargetLabel, useToolbarContext, useToolbarLabel, useToolbarLabelFor, useTranslation, useZoom };
package/dist/index.d.ts CHANGED
@@ -254,7 +254,7 @@ interface DocxEditorRootProps {
254
254
  translate?: (key: string, params?: Record<string, string | number>) => string;
255
255
  /**
256
256
  * Capability modules to register (`@docx-editor.dev/pro`'s review module,
257
- * custom nodes). Sampled at mount only, like `mode`: module registration is
257
+ * custom nodes, collaboration). Sampled at mount only, like `mode`: module registration is
258
258
  * construction-time in the engine.
259
259
  */
260
260
  modules?: readonly EditorModule[];
@@ -959,6 +959,13 @@ interface MenuRowProps {
959
959
  selected?: true;
960
960
  /** Stable marker for hosts, tests and e2e. */
961
961
  slot?: string;
962
+ /**
963
+ * What the slot currently SHOWS, for a control whose state is more than pressed-or-not —
964
+ * the format painter's `once` against its `locked`. Declared rather than left to a spread:
965
+ * this component renders only the props it names, so an undeclared attribute is dropped in
966
+ * silence, and the stylesheet rule keyed on it can never match.
967
+ */
968
+ 'data-value'?: string;
962
969
  /**
963
970
  * Vue TSX maps row identity through `rowSlot` because `slot` is reserved.
964
971
  * React uses {@link slot} directly.
@@ -1046,6 +1053,10 @@ declare function MenuPageSetupImpl({ className, hidden }: MenuActionProps): reac
1046
1053
  declare const MenuPageSetup: typeof MenuPageSetupImpl & {
1047
1054
  docxSlot: ChromeSlotId;
1048
1055
  };
1056
+ declare function MenuImageInsertImpl({ className, hidden }: MenuActionProps): react.JSX.Element | null;
1057
+ declare const MenuImageInsert: typeof MenuImageInsertImpl & {
1058
+ docxSlot: ChromeSlotId;
1059
+ };
1049
1060
  interface MenuSubmenuProps {
1050
1061
  /** i18n key of the parent row's label. */
1051
1062
  labelKey: string;
@@ -1250,6 +1261,8 @@ interface DocxEditorMenuNamespace {
1250
1261
  readonly Open: typeof MenuOpen;
1251
1262
  readonly Save: typeof MenuSave;
1252
1263
  readonly PageSetup: typeof MenuPageSetup;
1264
+ /** Insert › Image, so a host can hide it or place it elsewhere by name. */
1265
+ readonly ImageInsert: typeof MenuImageInsert;
1253
1266
  /** Help › Report issue, so a host can drop it or point it elsewhere by name. */
1254
1267
  readonly ReportIssue: typeof MenuReportIssue;
1255
1268
  }
@@ -1867,6 +1880,39 @@ declare function ContextMenuPaste({ icon, labelKey, shortcutKey, className, hidd
1867
1880
  declare namespace ContextMenuPaste {
1868
1881
  var docxRow: "edit.paste";
1869
1882
  }
1883
+ /**
1884
+ * Paste the clipboard's plain text as if typed, whatever richer flavours it holds.
1885
+ *
1886
+ * The Cmd+Shift+V twin as a menu row: same clipboard-read contract as
1887
+ * {@link ContextMenuPaste}, routed through the `pasteWithoutFormatting` command.
1888
+ *
1889
+ * @public
1890
+ */
1891
+ declare function ContextMenuPasteWithoutFormatting({ icon, labelKey, shortcutKey, className, hidden, }: ContextMenuCommandProps): react.JSX.Element | null;
1892
+ declare namespace ContextMenuPasteWithoutFormatting {
1893
+ var docxRow: "edit.pasteWithoutFormatting";
1894
+ }
1895
+ /**
1896
+ * Copy the formatting at the selection — the Format Painter's read half.
1897
+ *
1898
+ * Stays available in a read-only document, like Copy: it writes nothing.
1899
+ *
1900
+ * @public
1901
+ */
1902
+ declare const ContextMenuCopyFormatting: (({ icon, labelKey, shortcutKey, className, hidden }: ContextMenuCommandProps) => react.JSX.Element | null) & {
1903
+ docxRow: string;
1904
+ };
1905
+ /**
1906
+ * Apply the copied formatting to the selection.
1907
+ *
1908
+ * Disabled with the engine's own reason until something has been copied, so the row says
1909
+ * why rather than looking live and doing nothing.
1910
+ *
1911
+ * @public
1912
+ */
1913
+ declare const ContextMenuPasteFormatting: (({ icon, labelKey, shortcutKey, className, hidden }: ContextMenuCommandProps) => react.JSX.Element | null) & {
1914
+ docxRow: string;
1915
+ };
1870
1916
  /** Props for packaged table context-menu rows. @public */
1871
1917
  interface ContextMenuTableRowProps extends ContextMenuCommandProps {
1872
1918
  /** When true, the row uses the destructive treatment. */
@@ -1982,6 +2028,7 @@ interface DocxEditorContextMenuNamespace {
1982
2028
  readonly Cut: typeof ContextMenuCut;
1983
2029
  readonly Copy: typeof ContextMenuCopy;
1984
2030
  readonly Paste: typeof ContextMenuPaste;
2031
+ readonly PasteWithoutFormatting: typeof ContextMenuPasteWithoutFormatting;
1985
2032
  readonly Delete: typeof ContextMenuDelete;
1986
2033
  readonly SelectAll: typeof ContextMenuSelectAll;
1987
2034
  readonly InsertRowAbove: typeof ContextMenuInsertRowAbove;
@@ -2936,6 +2983,15 @@ interface EditorCommandState {
2936
2983
  readonly isEnabled: boolean;
2937
2984
  /** The engine's reason when disabled — surface it as a tooltip, never invent one. */
2938
2985
  readonly disabledReason: string | null;
2986
+ /**
2987
+ * What the control SHOWS, for the slots whose answer is a value rather than a pressed
2988
+ * state — the editing-mode pill, and the format painter's `off` / `once` / `locked`.
2989
+ *
2990
+ * `isActive` cannot express it: "armed for one paint" and "locked on until Escape" are
2991
+ * both pressed, and only one of them ends with a keystroke. Null for every slot whose
2992
+ * state really is just pressed-or-not, and for the raw-command form.
2993
+ */
2994
+ readonly value: string | null;
2939
2995
  }
2940
2996
  /**
2941
2997
  * Bind a chrome slot (`'text.bold'`, `'history.undo'`, …) or a raw `EditorCommand`
@@ -3776,12 +3832,16 @@ interface OutlineProps {
3776
3832
  * + toggle button, plus slots for the toolbar, paged-area body,
3777
3833
  * overlays, dialogs, and hidden file inputs.
3778
3834
  *
3779
- * The expanded-sidebar-item highlight styles are computed here from
3780
- * `expandedSidebarItem` + `trackedChanges` because they need to live
3781
- * inside the editor-content `<div>` for proper scoping.
3835
+ * This shell renders NO review highlight of its own. Marking the active
3836
+ * comment or tracked change belongs to the engine, which paints
3837
+ * `docx-comment-band--active` and `docx-revision-band--active` for the item
3838
+ * the caret is in, or for the one an `Editor.setActiveReviewItem` pin names
3839
+ * instead. One source for which item is active, so a host sidebar and the
3840
+ * painted document cannot disagree about it.
3841
+ *
3842
+ * @deprecated Use `<DocxEditor>` from the composition layer instead.
3782
3843
  */
3783
- /** @deprecated Use `<DocxEditor>` from the composition layer instead. */
3784
- declare function DocxEditorShell({ i18n, isDark, onEditorError, containerRef, scrollContainerRef, editorContentRef, className, containerStyle, mainContentStyle, editorContainerStyle, showRuler, readOnlyProp, showOutline, showOutlineButton, sidebarOpen, minLayoutWidth, toolbarHeight, editorScrollLeft, expandedSidebarItem, trackedChanges, onScrollContainerMouseDown, onEditorBgMouseDown, onEditorContextMenu, horizontalRulerProps, verticalRulerProps, outlineProps, onToggleOutline, scrollPageInfo, toolbar, pagedArea, overlays, dialogs, fileInputs, }: {
3844
+ declare function DocxEditorShell({ i18n, isDark, onEditorError, containerRef, scrollContainerRef, editorContentRef, className, containerStyle, mainContentStyle, editorContainerStyle, showRuler, readOnlyProp, showOutline, showOutlineButton, sidebarOpen, minLayoutWidth, toolbarHeight, editorScrollLeft, onScrollContainerMouseDown, onEditorBgMouseDown, onEditorContextMenu, horizontalRulerProps, verticalRulerProps, outlineProps, onToggleOutline, scrollPageInfo, toolbar, pagedArea, overlays, dialogs, fileInputs, }: {
3785
3845
  i18n: React.ComponentProps<typeof LocaleProvider>['i18n'];
3786
3846
  isDark?: boolean;
3787
3847
  onEditorError: (error: Error) => void;
@@ -3800,8 +3860,18 @@ declare function DocxEditorShell({ i18n, isDark, onEditorError, containerRef, sc
3800
3860
  minLayoutWidth: number;
3801
3861
  toolbarHeight: number;
3802
3862
  editorScrollLeft: number;
3803
- expandedSidebarItem: string | null;
3804
- trackedChanges: readonly TrackedChangeSummary[];
3863
+ /**
3864
+ * @deprecated Ignored. Mark the active comment or tracked change with
3865
+ * `Editor.setActiveReviewItem`, which paints the band the engine draws.
3866
+ */
3867
+ expandedSidebarItem?: string | null;
3868
+ /**
3869
+ * @deprecated Ignored. Read tracked changes with `Editor.getTrackedChanges`;
3870
+ * activation goes through `Editor.setActiveReviewItem`. Its keys are
3871
+ * `` `${kind}-${id}` ``, so a tracked change is `revision-<id>`, not the
3872
+ * `tc-<id>` this shell once took.
3873
+ */
3874
+ trackedChanges?: readonly TrackedChangeSummary[];
3805
3875
  onScrollContainerMouseDown: (e: React.MouseEvent) => void;
3806
3876
  onEditorBgMouseDown: (e: React.MouseEvent) => void;
3807
3877
  onEditorContextMenu: (e: React.MouseEvent) => void;
@@ -3911,4 +3981,4 @@ declare function VerticalRuler({ pageSetup, zoom, editable, onTopMarginChange, o
3911
3981
  */
3912
3982
  declare function useEditorSnapshot(editor: Editor | null): number;
3913
3983
 
3914
- export { CONTENT_CONTROL_SLOTS, type ChromeTranslate, type ContentControlActionProps, type ContentControlInspectorState, type ContentControlLock, type ContentControlPartProps, type ContentControlProps, type ContentControlSlotId, type ContextMenuAnchor, ContextMenuCellVerticalAlignment, type ContextMenuCommandProps, type ContextMenuContextValue, ContextMenuCopy, ContextMenuCut, ContextMenuDelete, ContextMenuDeleteTable, ContextMenuDeleteTableColumn, ContextMenuDeleteTableRow, ContextMenuInsertColumnLeft, ContextMenuInsertColumnRight, ContextMenuInsertRowAbove, ContextMenuInsertRowBelow, ContextMenuItem, type ContextMenuItemProps, ContextMenuPaste, ContextMenuRefreshToc, ContextMenuRefreshTocPageNumbers, ContextMenuSelectAll, type ContextMenuTableRowProps, DocumentName, DocumentOutline, DocxEditor, DocxEditorAuthorStyle, type DocxEditorAuthorStyleProps, type DocxEditorChildren, DocxEditorColorByChangeType, DocxEditorContent, DocxEditorContentControl, type DocxEditorContentControlNamespace, type DocxEditorContentProps, DocxEditorContextMenu, type DocxEditorContextMenuNamespace, type DocxEditorContextMenuProps, DocxEditorDocumentOutline, type DocxEditorDocumentOutlineProps, DocxEditorEquation, DocxEditorFontNotice, type DocxEditorFontNoticeProps, DocxEditorHeaderFooterChrome, type DocxEditorHeaderFooterChromeProps, DocxEditorHorizontalRuler, DocxEditorHyperLink, type DocxEditorHyperLinkNamespace, DocxEditorImagePropertiesDialog, type DocxEditorImagePropertiesDialogProps, DocxEditorLoading, type DocxEditorLoadingComponent, type DocxEditorLoadingProps, DocxEditorLoadingSpinner, type DocxEditorLoadingSpinnerProps, DocxEditorMenu, type DocxEditorMenuNamespace, type DocxEditorMenuProps, type DocxEditorNamespace, DocxEditorNavigation, type DocxEditorNavigationNamespace, type DocxEditorNavigationProps, DocxEditorNotesChrome, type DocxEditorNotesChromeProps, DocxEditorPageNumber, type DocxEditorPageNumberProps, DocxEditorPageSetupDialog, type DocxEditorPageSetupDialogProps, DocxEditorParagraphDialog, type DocxEditorParagraphDialogProps, type DocxEditorProps, type DocxEditorRef, DocxEditorRoot, type DocxEditorRootListeners, type DocxEditorRootProps, type DocxEditorRulerProps, DocxEditorShell, DocxEditorToolbar, type DocxEditorToolbarNamespace, type DocxEditorToolbarProps, DocxEditorVerticalRuler, DocxEditorViewport, type DocxEditorViewportProps, type DocxFontsInput, type DocxFontsSource, type DocxSource, type EditorCaret, type EditorCommandState, type EditorMode, type EditorValueCommandState, type FontFamilyItemProps, type FontFamilyNamespace, type FontFamilyPartProps, type FontFamilyProps, type FontsInput, type HeaderFooterState, HorizontalRuler, type HorizontalRulerProps$1 as HorizontalRulerProps, type HyperLinkActionProps, type HyperLinkPartProps, type HyperLinkProps, type HyperlinkPopupAnchor, type HyperlinkPopupMode, type HyperlinkPopupState, ImageAltText, ImageInsertProvider, ImageInsertTrigger, ImagePropertiesTrigger, type ImagePropertiesTriggerProps, ImageWrap, type IndentUpdate, LocaleProvider, type LocaleProviderProps, Logo, type MaybeRefOrGetter, type MenuActionProps, MenuBar, type MenuGroupProps, type MenuId, type MenuItemProps, type MenuPartComponent, type MenuProps, type MenuReportIssueProps, type MenuRowProps, type MenuSeparatorProps, type MenuSubmenuProps, type MenuTableGridProps, NAVIGATION_PANE_GAP, NAVIGATION_PANE_INSET, NAVIGATION_PANE_WIDTH, NavigationClose, NavigationFind, NavigationHeader, NavigationHeadings, type NavigationPartProps, type NavigationShiftInput, NavigationTab, type NavigationTabProps, type NavigationTab$1 as NavigationTabValue, NavigationTabs, NavigationTitle, NavigationToggle, type NormalizedImagePayload, type NotePropertiesState, OUTLINE_BUTTON_LEFT_OFFSET, OUTLINE_BUTTON_RESERVED_SPACE, OUTLINE_LEFT_OFFSET, OUTLINE_RESERVED_SPACE, type OutlineHeading$1 as OutlineHeading, type OutlineHeadingItem, PageIndicator, type PageIndicatorProps, PageNumberTranslationContext, type PageSetupUpdate, PaginatedDocxEditor, type PaginatedDocxEditorExpose, type PaginatedDocxEditorHandle, type PaginatedDocxEditorProps, PaginatedDocxEditorShell, type PaginatedDocxEditorShellProps, type ParagraphFlagState, type ParagraphFormatRead, type ParagraphFormatUpdate, type ParagraphStyleItemProps, type ParagraphStyleNamespace, type ParagraphStyleOption, type ParagraphStylePartProps, type ParagraphStyleProps, type ParagraphTabStop, type ProvideDocxEditorResult, REVIEW_MARKERS_GUTTER, REVIEW_PANE_GUTTER, RULER_WIDTH, type ReviewGutter, type ReviewGutterInput, ReviewRailContext, type ReviewRailRegistry, SEARCH_DEBOUNCE_MS, SEARCH_MATCH_LIMIT, type ScopedChromeAnchor, Slot, type SlotProps, type TableBorderColorNamespace, type TableBorderStyleNamespace, type TableBorderTargetNamespace, type TableBorderWidthNamespace, type TableCellFillNamespace, type TableChromeItemProps, type TableChromePartComponent, type TableChromePartProps, TitleBar, TitleBarRight, Toolbar, type ToolbarActionProps, type ToolbarAlignmentComponent, ToolbarButton, type ToolbarButtonProps$1 as ToolbarButtonProps, ToolbarContext, type ToolbarContextValue, ToolbarGroup, ToolbarImageProperties, type ToolbarPartComponent, type ToolbarPartProps, type ToolbarProps, type ToolbarSeparatorProps, type ToolbarSlotPartComponent, type ToolbarSlotPartProps, type ToolbarTranslate, type UseContentControlResult, type UseDocumentOutlineResult, type UseDocumentSearchResult, type UseDocxSourceOptions, type UseDocxSourceResult, type UseFontFamilyResult, type UseHyperlinkPopupResult, type UseNavigationPaneOptions, type UseNavigationPaneResult, type UsePageSetupReturn, type UseParagraphFormatReturn, type UseParagraphIndentReturn, type UseParagraphStyleResult, type UseZoomResult, VERSION, VerticalRuler, type VerticalRulerProps, editorStateActiveSubscriptionCount, isFieldLink, navigationPaneReservation, navigationShift, normalizeImageBytes, notificationYieldsToTask, useProvidedDocxEditor as provideDocxEditor, reviewGutter, useChromeTranslate, useContentControl, useContentControlInstance, useContextMenuTarget, useDocumentOutline, useDocumentSearch, useDocxEditor, useDocxSource, useEditorCaret, useEditorCommand, useEditorEvent, useEditorSnapshot, useEditorState, useEditorValueCommand, useFontFamily, useFonts, useHeaderFooterState, useHyperlinkPopup, useHyperlinkPopupInstance, useNavigationPane, useNavigationShift, useNotePropertiesState, useNoteScopeState, usePageSetup, useParagraphFormat, useParagraphIndent, useParagraphStyle, useReviewAuthors, useReviewGutter, useScopeClassName, useScopedChromeAnchor, useTableBorderTargetLabel, useToolbarContext, useToolbarLabel, useToolbarLabelFor, useTranslation, useZoom };
3984
+ export { CONTENT_CONTROL_SLOTS, type ChromeTranslate, type ContentControlActionProps, type ContentControlInspectorState, type ContentControlLock, type ContentControlPartProps, type ContentControlProps, type ContentControlSlotId, type ContextMenuAnchor, ContextMenuCellVerticalAlignment, type ContextMenuCommandProps, type ContextMenuContextValue, ContextMenuCopy, ContextMenuCopyFormatting, ContextMenuCut, ContextMenuDelete, ContextMenuDeleteTable, ContextMenuDeleteTableColumn, ContextMenuDeleteTableRow, ContextMenuInsertColumnLeft, ContextMenuInsertColumnRight, ContextMenuInsertRowAbove, ContextMenuInsertRowBelow, ContextMenuItem, type ContextMenuItemProps, ContextMenuPaste, ContextMenuPasteFormatting, ContextMenuPasteWithoutFormatting, ContextMenuRefreshToc, ContextMenuRefreshTocPageNumbers, ContextMenuSelectAll, type ContextMenuTableRowProps, DocumentName, DocumentOutline, DocxEditor, DocxEditorAuthorStyle, type DocxEditorAuthorStyleProps, type DocxEditorChildren, DocxEditorColorByChangeType, DocxEditorContent, DocxEditorContentControl, type DocxEditorContentControlNamespace, type DocxEditorContentProps, DocxEditorContextMenu, type DocxEditorContextMenuNamespace, type DocxEditorContextMenuProps, DocxEditorDocumentOutline, type DocxEditorDocumentOutlineProps, DocxEditorEquation, DocxEditorFontNotice, type DocxEditorFontNoticeProps, DocxEditorHeaderFooterChrome, type DocxEditorHeaderFooterChromeProps, DocxEditorHorizontalRuler, DocxEditorHyperLink, type DocxEditorHyperLinkNamespace, DocxEditorImagePropertiesDialog, type DocxEditorImagePropertiesDialogProps, DocxEditorLoading, type DocxEditorLoadingComponent, type DocxEditorLoadingProps, DocxEditorLoadingSpinner, type DocxEditorLoadingSpinnerProps, DocxEditorMenu, type DocxEditorMenuNamespace, type DocxEditorMenuProps, type DocxEditorNamespace, DocxEditorNavigation, type DocxEditorNavigationNamespace, type DocxEditorNavigationProps, DocxEditorNotesChrome, type DocxEditorNotesChromeProps, DocxEditorPageNumber, type DocxEditorPageNumberProps, DocxEditorPageSetupDialog, type DocxEditorPageSetupDialogProps, DocxEditorParagraphDialog, type DocxEditorParagraphDialogProps, type DocxEditorProps, type DocxEditorRef, DocxEditorRoot, type DocxEditorRootListeners, type DocxEditorRootProps, type DocxEditorRulerProps, DocxEditorShell, DocxEditorToolbar, type DocxEditorToolbarNamespace, type DocxEditorToolbarProps, DocxEditorVerticalRuler, DocxEditorViewport, type DocxEditorViewportProps, type DocxFontsInput, type DocxFontsSource, type DocxSource, type EditorCaret, type EditorCommandState, type EditorMode, type EditorValueCommandState, type FontFamilyItemProps, type FontFamilyNamespace, type FontFamilyPartProps, type FontFamilyProps, type FontsInput, type HeaderFooterState, HorizontalRuler, type HorizontalRulerProps$1 as HorizontalRulerProps, type HyperLinkActionProps, type HyperLinkPartProps, type HyperLinkProps, type HyperlinkPopupAnchor, type HyperlinkPopupMode, type HyperlinkPopupState, ImageAltText, ImageInsertProvider, ImageInsertTrigger, ImagePropertiesTrigger, type ImagePropertiesTriggerProps, ImageWrap, type IndentUpdate, LocaleProvider, type LocaleProviderProps, Logo, type MaybeRefOrGetter, type MenuActionProps, MenuBar, type MenuGroupProps, type MenuId, type MenuItemProps, type MenuPartComponent, type MenuProps, type MenuReportIssueProps, type MenuRowProps, type MenuSeparatorProps, type MenuSubmenuProps, type MenuTableGridProps, NAVIGATION_PANE_GAP, NAVIGATION_PANE_INSET, NAVIGATION_PANE_WIDTH, NavigationClose, NavigationFind, NavigationHeader, NavigationHeadings, type NavigationPartProps, type NavigationShiftInput, NavigationTab, type NavigationTabProps, type NavigationTab$1 as NavigationTabValue, NavigationTabs, NavigationTitle, NavigationToggle, type NormalizedImagePayload, type NotePropertiesState, OUTLINE_BUTTON_LEFT_OFFSET, OUTLINE_BUTTON_RESERVED_SPACE, OUTLINE_LEFT_OFFSET, OUTLINE_RESERVED_SPACE, type OutlineHeading$1 as OutlineHeading, type OutlineHeadingItem, PageIndicator, type PageIndicatorProps, PageNumberTranslationContext, type PageSetupUpdate, PaginatedDocxEditor, type PaginatedDocxEditorExpose, type PaginatedDocxEditorHandle, type PaginatedDocxEditorProps, PaginatedDocxEditorShell, type PaginatedDocxEditorShellProps, type ParagraphFlagState, type ParagraphFormatRead, type ParagraphFormatUpdate, type ParagraphStyleItemProps, type ParagraphStyleNamespace, type ParagraphStyleOption, type ParagraphStylePartProps, type ParagraphStyleProps, type ParagraphTabStop, type ProvideDocxEditorResult, REVIEW_MARKERS_GUTTER, REVIEW_PANE_GUTTER, RULER_WIDTH, type ReviewGutter, type ReviewGutterInput, ReviewRailContext, type ReviewRailRegistry, SEARCH_DEBOUNCE_MS, SEARCH_MATCH_LIMIT, type ScopedChromeAnchor, Slot, type SlotProps, type TableBorderColorNamespace, type TableBorderStyleNamespace, type TableBorderTargetNamespace, type TableBorderWidthNamespace, type TableCellFillNamespace, type TableChromeItemProps, type TableChromePartComponent, type TableChromePartProps, TitleBar, TitleBarRight, Toolbar, type ToolbarActionProps, type ToolbarAlignmentComponent, ToolbarButton, type ToolbarButtonProps$1 as ToolbarButtonProps, ToolbarContext, type ToolbarContextValue, ToolbarGroup, ToolbarImageProperties, type ToolbarPartComponent, type ToolbarPartProps, type ToolbarProps, type ToolbarSeparatorProps, type ToolbarSlotPartComponent, type ToolbarSlotPartProps, type ToolbarTranslate, type UseContentControlResult, type UseDocumentOutlineResult, type UseDocumentSearchResult, type UseDocxSourceOptions, type UseDocxSourceResult, type UseFontFamilyResult, type UseHyperlinkPopupResult, type UseNavigationPaneOptions, type UseNavigationPaneResult, type UsePageSetupReturn, type UseParagraphFormatReturn, type UseParagraphIndentReturn, type UseParagraphStyleResult, type UseZoomResult, VERSION, VerticalRuler, type VerticalRulerProps, editorStateActiveSubscriptionCount, isFieldLink, navigationPaneReservation, navigationShift, normalizeImageBytes, notificationYieldsToTask, useProvidedDocxEditor as provideDocxEditor, reviewGutter, useChromeTranslate, useContentControl, useContentControlInstance, useContextMenuTarget, useDocumentOutline, useDocumentSearch, useDocxEditor, useDocxSource, useEditorCaret, useEditorCommand, useEditorEvent, useEditorSnapshot, useEditorState, useEditorValueCommand, useFontFamily, useFonts, useHeaderFooterState, useHyperlinkPopup, useHyperlinkPopupInstance, useNavigationPane, useNavigationShift, useNotePropertiesState, useNoteScopeState, usePageSetup, useParagraphFormat, useParagraphIndent, useParagraphStyle, useReviewAuthors, useReviewGutter, useScopeClassName, useScopedChromeAnchor, useTableBorderTargetLabel, useToolbarContext, useToolbarLabel, useToolbarLabelFor, useTranslation, useZoom };