@docx-editor.dev/react 2.26.0 → 2.27.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 +114 -41
- package/dist/index.d.ts +114 -41
- package/dist/index.js +3 -3
- package/dist/index.mjs +3 -3
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import react__default, { ReactNode, CSSProperties, ReactElement, ComponentType, ForwardRefExoticComponent, RefAttributes, HTMLAttributes, Ref } from 'react';
|
|
3
|
-
import { ChromeExportFormat, InvalidTextFormFieldSession, ContentControlWidgetSession, CalendarMonth, ContentControlListNavigation, CalendarDay, TextFormFieldDialogSession, RevisionAuthorStyle, ParagraphDialogFields, ParagraphDialogMixed, ChromeMenuId, ChromeSlotId, ChromeMenuEntry, DocxEditorInstance, FontConfigurationFragment, FontResolver, EditorModule, ImageDecodePort, SupportedImageMime, TableChromeSlotId, ChromeExportHandlers, DocumentSearchHighlight, DocumentSearchFindOptions, SurfaceHyperlink, FontOrigin, MarkedFontResolver, ReviewAuthorInfo, EditorCommandExecute, ToolbarValueMap, HighlightSource, ParagraphFormatRead, ParagraphFormatUpdate, TextMeasurer, PaginatedSurfaceState, NavigationCommand, SurfaceFormatting, SectionProperties, RulerIndent, HistoryGroupBindingOptions } from '@docx-editor.dev/core/editor';
|
|
4
|
-
export { CHROME_GROUPS, CHROME_MENUS, ChromeExportFormat, ChromeExportHandlers, ChromeMenu, ChromeMenuEntry, ChromeMenuId, ChromeMenuItemEntry, ChromeMenuSeparatorEntry, ChromeMenuSubmenuEntry, ChromeSlotId, ClearRefreshHighlightsOptions, DEFAULT_FONT, DocumentRefresh, DocumentRefreshError, DocumentRefreshState, DocumentSearchFindOptions, DocumentSearchHighlight, DocumentSearchNavigateOptions, DocumentSearchOptions, FontConfigurationBase, FontConfigurationFragment, FontLoadFailure, FontLoadFailureReason, FontOrigin, FontResolutionRequest, FontResolver, FontResolverMark, FontUrlSource, HIGHLIGHT_REFRESH_MS, HighlightSource, ImageWrapTarget, LOADING_SNAPSHOT, LoadFontsRequest, LoadFontsResult, MAX_RESOLVER_FAMILIES, MarkedFontResolver, NavigateToChangeOptions, PX_PER_CM, PX_PER_INCH, ParagraphFlagState, ParagraphFormatRead, ParagraphFormatUpdate, ParagraphTabStop, RefreshChange, RefreshChangeInput, RefreshFailureCode, RefreshHighlightAnimation, RefreshHighlightOptions, RefreshLocation, RefreshResult, RefreshSubmission, RefreshUpdate, ReviewAuthorInfo, RevisionAuthorAssignments, RevisionAuthorStyle, RevisionStyles, RulerTick, RulerUnit, SEARCH_DEBOUNCE_MS, SEARCH_HIGHLIGHT_PRIORITY, SEARCH_HIGHLIGHT_SET, SEARCH_MATCH_LIMIT, ToolbarCommandState, WORD_DEFAULT_FONT, chromeMenuSlots, commandForSlot, composeFontConfiguration, composeFontOrigins, createDocumentRefresh, createFontSource, defineFontResolver, generateRulerTicks, isFontResolver, loadFonts, rulerPageBox, runToolbarCommand, toolbarCommandState } from '@docx-editor.dev/core/editor';
|
|
3
|
+
import { RevisionMarkupDialogSession, ResolvedRevisionMarkup, RevisionMarkupOptions, ChromeExportFormat, InvalidTextFormFieldSession, ContentControlWidgetSession, CalendarMonth, ContentControlListNavigation, CalendarDay, TextFormFieldDialogSession, RevisionAuthorStyle, ParagraphDialogFields, ParagraphDialogMixed, ChromeMenuId, ChromeSlotId, ChromeMenuEntry, DocxEditorInstance, FontConfigurationFragment, FontResolver, EditorModule, ReviewDisplayMode, ImageDecodePort, SupportedImageMime, TableChromeSlotId, ChromeExportHandlers, DocumentSearchHighlight, DocumentSearchFindOptions, SurfaceHyperlink, FontOrigin, MarkedFontResolver, ReviewAuthorInfo, EditorCommandExecute, ToolbarValueMap, HighlightSource, ParagraphFormatRead, ParagraphFormatUpdate, TextMeasurer, PaginatedSurfaceState, NavigationCommand, SurfaceFormatting, SectionProperties, RulerIndent, HistoryGroupBindingOptions } from '@docx-editor.dev/core/editor';
|
|
4
|
+
export { CHROME_GROUPS, CHROME_MENUS, ChromeExportFormat, ChromeExportHandlers, ChromeMenu, ChromeMenuEntry, ChromeMenuId, ChromeMenuItemEntry, ChromeMenuSeparatorEntry, ChromeMenuSubmenuEntry, ChromeSlotId, ClearRefreshHighlightsOptions, DEFAULT_FONT, DocumentRefresh, DocumentRefreshError, DocumentRefreshState, DocumentSearchFindOptions, DocumentSearchHighlight, DocumentSearchNavigateOptions, DocumentSearchOptions, FontConfigurationBase, FontConfigurationFragment, FontLoadFailure, FontLoadFailureReason, FontOrigin, FontResolutionRequest, FontResolver, FontResolverMark, FontUrlSource, HIGHLIGHT_REFRESH_MS, HighlightSource, ImageWrapTarget, LOADING_SNAPSHOT, LoadFontsRequest, LoadFontsResult, MAX_RESOLVER_FAMILIES, MarkedFontResolver, NavigateToChangeOptions, PX_PER_CM, PX_PER_INCH, ParagraphFlagState, ParagraphFormatRead, ParagraphFormatUpdate, ParagraphTabStop, RefreshChange, RefreshChangeInput, RefreshFailureCode, RefreshHighlightAnimation, RefreshHighlightOptions, RefreshLocation, RefreshResult, RefreshSubmission, RefreshUpdate, ResolvedRevisionMarkup, ReviewAuthorInfo, ReviewDisplayMode, RevisionAuthorAssignments, RevisionAuthorStyle, RevisionChangedLinesMark, RevisionDeletionMark, RevisionMarkupChromeHandlers, RevisionMarkupColor, RevisionMarkupDialogSession, RevisionMarkupMark, RevisionMarkupNamedColor, RevisionMarkupOptions, RevisionStyles, RulerTick, RulerUnit, SEARCH_DEBOUNCE_MS, SEARCH_HIGHLIGHT_PRIORITY, SEARCH_HIGHLIGHT_SET, SEARCH_MATCH_LIMIT, ToolbarCommandState, WORD_DEFAULT_FONT, chromeMenuSlots, commandForSlot, composeFontConfiguration, composeFontOrigins, createDocumentRefresh, createFontSource, defineFontResolver, generateRulerTicks, isFontResolver, loadFonts, rulerPageBox, runToolbarCommand, toolbarCommandState } from '@docx-editor.dev/core/editor';
|
|
5
5
|
import { Editor, ViewScope, EditorCommand, DocumentSource, FontConfiguration, ZoomMode, DocumentChange, EditorFontError, TextMatch, DocumentHandle, EditorExecOptions, ExecResult, EditorScope, EditorSnapshot, EditorEvents, HighlightOptions, HighlightResult, HighlightRange, HighlightHit, PageSetup, IndentFormatting, ColorValue, Theme } from '@docx-editor.dev/core/contracts/editor';
|
|
6
6
|
export { AnchorHighlightAnimation, AnchorHighlightOptions, ClearAnchorHighlightOptions, Editor, EditorCommand, EditorFontError, EditorFontErrorCode, EditorQuery, EditorScope, EditorSnapshot, FontConfiguration, FontFaceRequest, FontSource, FontSourceSubstitution, HighlightHit, HighlightOptions, HighlightRange, HighlightRect, HighlightResult, PageSetup, ScrollToAnchorOptions, TextMatch } from '@docx-editor.dev/core/contracts/editor';
|
|
7
7
|
import { TFunction, Translations, LocaleStrings } from '@docx-editor.dev/i18n';
|
|
@@ -25,6 +25,92 @@ type MaybeRefOrGetter<T> = T;
|
|
|
25
25
|
*/
|
|
26
26
|
type DocxEditorChildren = ReactNode;
|
|
27
27
|
|
|
28
|
+
/**
|
|
29
|
+
* Presentation overrides for a dialog part. @public
|
|
30
|
+
*
|
|
31
|
+
* Anything beyond these members reaches the rendered element, so a part takes an `id`,
|
|
32
|
+
* an `aria-*` label or a `data-*` test hook. The part's own wiring wins every collision:
|
|
33
|
+
* a host cannot replace Apply's handler or its `data-docx-part` marker by passing one.
|
|
34
|
+
* To own the element and its handler outright, pass `asChild` and supply your own.
|
|
35
|
+
*/
|
|
36
|
+
interface DialogPartProps {
|
|
37
|
+
className?: string;
|
|
38
|
+
style?: CSSProperties;
|
|
39
|
+
hidden?: boolean;
|
|
40
|
+
asChild?: boolean;
|
|
41
|
+
children?: DocxEditorChildren;
|
|
42
|
+
id?: string;
|
|
43
|
+
title?: string;
|
|
44
|
+
'aria-label'?: string;
|
|
45
|
+
[attribute: `data-${string}`]: unknown;
|
|
46
|
+
}
|
|
47
|
+
/** Layout customization for a packaged dialog. @public */
|
|
48
|
+
interface DialogCustomizationProps {
|
|
49
|
+
className?: string;
|
|
50
|
+
style?: CSSProperties;
|
|
51
|
+
/** Render the default arrangement, replacing named children in place. Defaults to true. */
|
|
52
|
+
preset?: boolean;
|
|
53
|
+
children?: DocxEditorChildren;
|
|
54
|
+
}
|
|
55
|
+
/** State shared by a dialog's controls. @public */
|
|
56
|
+
interface UseDialogReturn<Fields extends object> {
|
|
57
|
+
readonly values: Fields;
|
|
58
|
+
setValue<K extends keyof Fields>(name: K, value: Fields[K]): void;
|
|
59
|
+
readonly errors: Readonly<Partial<Record<keyof Fields | 'form', string>>>;
|
|
60
|
+
readonly isEnabled: boolean;
|
|
61
|
+
apply(): void;
|
|
62
|
+
cancel(): void;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/** Revision markup session and presentation. @public */
|
|
66
|
+
interface DocxEditorRevisionMarkupDialogProps extends DialogCustomizationProps {
|
|
67
|
+
session: RevisionMarkupDialogSession | null;
|
|
68
|
+
}
|
|
69
|
+
/** Revision markup draft and actions. @public */
|
|
70
|
+
interface UseRevisionMarkupDialogReturn extends UseDialogReturn<ResolvedRevisionMarkup> {
|
|
71
|
+
reset(): void;
|
|
72
|
+
}
|
|
73
|
+
/** Read the enclosing revision markup draft. @public */
|
|
74
|
+
declare function useRevisionMarkupDialog(): UseRevisionMarkupDialogReturn;
|
|
75
|
+
declare function RevisionMarkupDialogRoot({ session, ...props }: DocxEditorRevisionMarkupDialogProps): react.JSX.Element | null;
|
|
76
|
+
/** Track changes options with replaceable controls and layout. @public */
|
|
77
|
+
declare const DocxEditorRevisionMarkupDialog: typeof RevisionMarkupDialogRoot & {
|
|
78
|
+
Header: (props: DialogPartProps & {
|
|
79
|
+
name?: keyof ResolvedRevisionMarkup | undefined;
|
|
80
|
+
}) => string | number | bigint | boolean | react.JSX.Element | Iterable<react.ReactNode> | Promise<string | number | bigint | boolean | Iterable<react.ReactNode> | react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | react.ReactPortal | null | undefined> | null;
|
|
81
|
+
Title: (props: DialogPartProps & {
|
|
82
|
+
name?: keyof ResolvedRevisionMarkup | undefined;
|
|
83
|
+
}) => string | number | bigint | boolean | react.JSX.Element | Iterable<react.ReactNode> | Promise<string | number | bigint | boolean | Iterable<react.ReactNode> | react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | react.ReactPortal | null | undefined> | null;
|
|
84
|
+
Body: (props: DialogPartProps & {
|
|
85
|
+
name?: keyof ResolvedRevisionMarkup | undefined;
|
|
86
|
+
}) => string | number | bigint | boolean | react.JSX.Element | Iterable<react.ReactNode> | Promise<string | number | bigint | boolean | Iterable<react.ReactNode> | react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | react.ReactPortal | null | undefined> | null;
|
|
87
|
+
Footer: (props: DialogPartProps & {
|
|
88
|
+
name?: keyof ResolvedRevisionMarkup | undefined;
|
|
89
|
+
}) => string | number | bigint | boolean | react.JSX.Element | Iterable<react.ReactNode> | Promise<string | number | bigint | boolean | Iterable<react.ReactNode> | react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | react.ReactPortal | null | undefined> | null;
|
|
90
|
+
Apply: (props: DialogPartProps & {
|
|
91
|
+
name?: keyof ResolvedRevisionMarkup | undefined;
|
|
92
|
+
}) => string | number | bigint | boolean | react.JSX.Element | Iterable<react.ReactNode> | Promise<string | number | bigint | boolean | Iterable<react.ReactNode> | react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | react.ReactPortal | null | undefined> | null;
|
|
93
|
+
Cancel: (props: DialogPartProps & {
|
|
94
|
+
name?: keyof ResolvedRevisionMarkup | undefined;
|
|
95
|
+
}) => string | number | bigint | boolean | react.JSX.Element | Iterable<react.ReactNode> | Promise<string | number | bigint | boolean | Iterable<react.ReactNode> | react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | react.ReactPortal | null | undefined> | null;
|
|
96
|
+
Error: (props: DialogPartProps & {
|
|
97
|
+
name?: keyof ResolvedRevisionMarkup | undefined;
|
|
98
|
+
}) => string | number | bigint | boolean | react.JSX.Element | Iterable<react.ReactNode> | Promise<string | number | bigint | boolean | Iterable<react.ReactNode> | react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | react.ReactPortal | null | undefined> | null;
|
|
99
|
+
Field: (props: DialogPartProps & {
|
|
100
|
+
name: keyof ResolvedRevisionMarkup;
|
|
101
|
+
}) => react.ReactNode;
|
|
102
|
+
Reset: (props: DialogPartProps & {
|
|
103
|
+
name?: keyof ResolvedRevisionMarkup | undefined;
|
|
104
|
+
}) => string | number | bigint | boolean | react.JSX.Element | Iterable<react.ReactNode> | Promise<string | number | bigint | boolean | Iterable<react.ReactNode> | react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | react.ReactPortal | null | undefined> | null;
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
/** Viewer-local markup declarations. @public */
|
|
108
|
+
interface DocxEditorRevisionMarkupProps extends RevisionMarkupOptions {
|
|
109
|
+
onRevisionMarkupChange?: (settings: ResolvedRevisionMarkup) => void;
|
|
110
|
+
}
|
|
111
|
+
/** Declares markup settings without rendering an element. @public */
|
|
112
|
+
declare function DocxEditorRevisionMarkup(props: DocxEditorRevisionMarkupProps): null;
|
|
113
|
+
|
|
28
114
|
/** State and presentation for the File menu export dialog. @public */
|
|
29
115
|
interface DocxEditorExportDialogProps {
|
|
30
116
|
/** Controls visibility when rendering the dialog directly. */
|
|
@@ -397,43 +483,6 @@ interface DocxEditorContentControlWidgetNamespace {
|
|
|
397
483
|
/** Compact value editor for a configured content-control popup. @public */
|
|
398
484
|
declare const DocxEditorContentControlWidget: DocxEditorContentControlWidgetNamespace;
|
|
399
485
|
|
|
400
|
-
/**
|
|
401
|
-
* Presentation overrides for a dialog part. @public
|
|
402
|
-
*
|
|
403
|
-
* Anything beyond these members reaches the rendered element, so a part takes an `id`,
|
|
404
|
-
* an `aria-*` label or a `data-*` test hook. The part's own wiring wins every collision:
|
|
405
|
-
* a host cannot replace Apply's handler or its `data-docx-part` marker by passing one.
|
|
406
|
-
* To own the element and its handler outright, pass `asChild` and supply your own.
|
|
407
|
-
*/
|
|
408
|
-
interface DialogPartProps {
|
|
409
|
-
className?: string;
|
|
410
|
-
style?: CSSProperties;
|
|
411
|
-
hidden?: boolean;
|
|
412
|
-
asChild?: boolean;
|
|
413
|
-
children?: DocxEditorChildren;
|
|
414
|
-
id?: string;
|
|
415
|
-
title?: string;
|
|
416
|
-
'aria-label'?: string;
|
|
417
|
-
[attribute: `data-${string}`]: unknown;
|
|
418
|
-
}
|
|
419
|
-
/** Layout customization for a packaged dialog. @public */
|
|
420
|
-
interface DialogCustomizationProps {
|
|
421
|
-
className?: string;
|
|
422
|
-
style?: CSSProperties;
|
|
423
|
-
/** Render the default arrangement, replacing named children in place. Defaults to true. */
|
|
424
|
-
preset?: boolean;
|
|
425
|
-
children?: DocxEditorChildren;
|
|
426
|
-
}
|
|
427
|
-
/** State shared by a dialog's controls. @public */
|
|
428
|
-
interface UseDialogReturn<Fields extends object> {
|
|
429
|
-
readonly values: Fields;
|
|
430
|
-
setValue<K extends keyof Fields>(name: K, value: Fields[K]): void;
|
|
431
|
-
readonly errors: Readonly<Partial<Record<keyof Fields | 'form', string>>>;
|
|
432
|
-
readonly isEnabled: boolean;
|
|
433
|
-
apply(): void;
|
|
434
|
-
cancel(): void;
|
|
435
|
-
}
|
|
436
|
-
|
|
437
486
|
/** Draft values for legacy text Field Options. @public */
|
|
438
487
|
interface TextFormFieldDialogFields {
|
|
439
488
|
defaultText: string;
|
|
@@ -1506,6 +1555,7 @@ interface DocxEditorPopups {
|
|
|
1506
1555
|
notesContextMenu?: DocxEditorPopup<DocxEditorNotesContextMenuProps>;
|
|
1507
1556
|
pageSetup?: DocxEditorPopup<DocxEditorPageSetupDialogProps>;
|
|
1508
1557
|
paragraph?: DocxEditorPopup<DocxEditorParagraphDialogProps>;
|
|
1558
|
+
revisionMarkup?: DocxEditorPopup<DocxEditorRevisionMarkupDialogProps>;
|
|
1509
1559
|
textFormField?: DocxEditorPopup<DocxEditorTextFormFieldDialogProps>;
|
|
1510
1560
|
hyperlink?: DocxEditorPopup<HyperLinkProps>;
|
|
1511
1561
|
contentControl?: DocxEditorPopup<ContentControlProps>;
|
|
@@ -1604,6 +1654,16 @@ interface DocxEditorRootProps {
|
|
|
1604
1654
|
* navigation pane shrinks the document by what it took. Pass `{ type: 'fixed' }` to opt out.
|
|
1605
1655
|
*/
|
|
1606
1656
|
zoomMode?: ZoomMode | 'auto';
|
|
1657
|
+
/**
|
|
1658
|
+
* Controlled viewer markup settings. Omitted fields use defaults.
|
|
1659
|
+
* Save callback values into this prop to accept API and dialog changes.
|
|
1660
|
+
* Omit this prop for uncontrolled settings. Use one configuration source.
|
|
1661
|
+
*/
|
|
1662
|
+
revisionMarkup?: RevisionMarkupOptions;
|
|
1663
|
+
/** Receives proposed settings from API or dialog changes, excluding prop reconciliation. */
|
|
1664
|
+
onRevisionMarkupChange?: (settings: ResolvedRevisionMarkup) => void;
|
|
1665
|
+
/** Initial revision display mode. */
|
|
1666
|
+
reviewDisplayMode?: ReviewDisplayMode;
|
|
1607
1667
|
/** Fired once per instance, after it is published to the tree (and after any
|
|
1608
1668
|
* `DocxEditor.Content` in the same commit has attached its mount point). A large
|
|
1609
1669
|
* document mounts behind one painted frame; `onReady` fires AFTER that mount lands,
|
|
@@ -1627,6 +1687,7 @@ interface DocxEditorRootListeners {
|
|
|
1627
1687
|
onReady?: (editor: Editor) => void;
|
|
1628
1688
|
onChange?: (change: DocumentChange) => void;
|
|
1629
1689
|
onFontError?: (error: EditorFontError) => void;
|
|
1690
|
+
onRevisionMarkupChange?: (settings: ResolvedRevisionMarkup) => void;
|
|
1630
1691
|
}
|
|
1631
1692
|
/** @public Vue-only setup result; exported for cross-adapter API parity. */
|
|
1632
1693
|
interface ProvideDocxEditorResult {
|
|
@@ -2884,6 +2945,16 @@ interface DocxEditorProps {
|
|
|
2884
2945
|
* `{ type: 'fixed' }` opts out.
|
|
2885
2946
|
*/
|
|
2886
2947
|
zoomMode?: ZoomMode | 'auto';
|
|
2948
|
+
/**
|
|
2949
|
+
* Controlled viewer markup settings. Omitted fields use defaults.
|
|
2950
|
+
* Save callback values into this prop to accept API and dialog changes.
|
|
2951
|
+
* Omit this prop for uncontrolled settings. Use one configuration source.
|
|
2952
|
+
*/
|
|
2953
|
+
revisionMarkup?: RevisionMarkupOptions;
|
|
2954
|
+
/** Receives proposed settings from API or dialog changes, excluding prop reconciliation. */
|
|
2955
|
+
onRevisionMarkupChange?: (settings: ResolvedRevisionMarkup) => void;
|
|
2956
|
+
/** Initial revision display mode. */
|
|
2957
|
+
reviewDisplayMode?: ReviewDisplayMode;
|
|
2887
2958
|
/**
|
|
2888
2959
|
* BCP-47 locale for regional date input and engine-generated labels. Defaults to en-US.
|
|
2889
2960
|
* Changes apply to subsequent edits without a remount; stored date formats are preserved.
|
|
@@ -2962,6 +3033,8 @@ interface DocxEditorNamespace extends ForwardRefExoticComponent<DocxEditorProps
|
|
|
2962
3033
|
/** Conditional loading screen: renders while there is no document to paint. */
|
|
2963
3034
|
readonly Loading: typeof DocxEditorLoading;
|
|
2964
3035
|
readonly ColorByChangeType: typeof DocxEditorColorByChangeType;
|
|
3036
|
+
readonly RevisionMarkupDialog: typeof DocxEditorRevisionMarkupDialog;
|
|
3037
|
+
readonly RevisionMarkup: typeof DocxEditorRevisionMarkup;
|
|
2965
3038
|
readonly AuthorStyle: typeof DocxEditorAuthorStyle;
|
|
2966
3039
|
/** Context-fed horizontal ruler with draggable margins (props-driven export stays). */
|
|
2967
3040
|
readonly HorizontalRuler: typeof DocxEditorHorizontalRuler;
|
|
@@ -4561,5 +4634,5 @@ interface UseHistoryGroupReturn {
|
|
|
4561
4634
|
/** Bind a control's native gesture lifecycle. Apply values through the existing command hooks. @public */
|
|
4562
4635
|
declare function useHistoryGroup({ kind }: HistoryGroupBindingOptions): UseHistoryGroupReturn;
|
|
4563
4636
|
|
|
4564
|
-
export { CONTENT_CONTROL_SLOTS, ContextMenuCellVerticalAlignment, ContextMenuCopy, ContextMenuCopyFormatting, ContextMenuCut, ContextMenuDelete, ContextMenuDeleteTable, ContextMenuDeleteTableColumn, ContextMenuDeleteTableRow, ContextMenuInsertColumnLeft, ContextMenuInsertColumnRight, ContextMenuInsertRowAbove, ContextMenuInsertRowBelow, ContextMenuItem, ContextMenuPaste, ContextMenuPasteFormatting, ContextMenuPasteWithoutFormatting, ContextMenuRefreshToc, ContextMenuRefreshTocPageNumbers, ContextMenuSelectAll, DocumentName, DocumentOutline, DocxEditor, DocxEditorAuthorStyle, DocxEditorColorByChangeType, DocxEditorContent, DocxEditorContentControl, DocxEditorContentControlWidget, DocxEditorContextMenu, DocxEditorDocumentOutline, DocxEditorEquation, DocxEditorExportDialog, DocxEditorFontNotice, DocxEditorHeaderFooterChrome, DocxEditorHorizontalRuler, DocxEditorHyperLink, DocxEditorImageAltTextPopup, DocxEditorImagePropertiesDialog, DocxEditorInvalidTextFormFieldDialog, DocxEditorLoading, DocxEditorLoadingSpinner, DocxEditorMenu, DocxEditorNavigation, DocxEditorNotePreview, DocxEditorNotePropertiesDialog, DocxEditorNotesChrome, DocxEditorNotesContextMenu, DocxEditorPageNumber, DocxEditorPageSetupDialog, DocxEditorParagraphDialog, DocxEditorPrintDialog, DocxEditorRoot, DocxEditorShell, DocxEditorTextFormFieldDialog, DocxEditorToolbar, DocxEditorVerticalRuler, DocxEditorViewport, HorizontalRuler, ImageAltText, ImageInsertProvider, ImageInsertTrigger, ImagePropertiesTrigger, ImageWrap, LocaleProvider, Logo, MenuBar, NAVIGATION_PANE_GAP, NAVIGATION_PANE_INSET, NAVIGATION_PANE_WIDTH, NavigationClose, NavigationFind, NavigationHeader, NavigationHeadings, NavigationTab, NavigationTabs, NavigationTitle, NavigationToggle, OUTLINE_BUTTON_LEFT_OFFSET, OUTLINE_BUTTON_RESERVED_SPACE, OUTLINE_LEFT_OFFSET, OUTLINE_RESERVED_SPACE, PageIndicator, PageNumberTranslationContext, PaginatedDocxEditor, PaginatedDocxEditorShell, REVIEW_MARKERS_GUTTER, REVIEW_PANE_GUTTER, RULER_WIDTH, ReviewRailContext, Slot, TitleBar, TitleBarRight, Toolbar, ToolbarButton, ToolbarContext, ToolbarGroup, ToolbarImageProperties, VERSION, VerticalRuler, definePopup, editorStateActiveSubscriptionCount, isFieldLink, navigationPaneReservation, navigationShift, normalizeImageBytes, notificationYieldsToTask, useProvidedDocxEditor as provideDocxEditor, reviewGutter, useChromeTranslate, useContentControl, useContentControlInstance, useContentControlWidget, useContextMenuTarget, useDocumentOutline, useDocumentSearch, useDocxEditor, useDocxSource, useEditorCaret, useEditorCommand, useEditorEvent, useEditorSnapshot, useEditorState, useEditorValueCommand, useFontFamily, useFonts, useHeaderFooterState, useHighlightAt, useHighlights, useHistoryGroup, useHyperlinkPopup, useHyperlinkPopupInstance, useNavigationPane, useNavigationShift, useNotePropertiesState, useNoteScopeState, usePageSetup, usePageSetupDialog, useParagraphDialog, useParagraphFormat, useParagraphIndent, useParagraphStyle, useReviewAuthors, useReviewGutter, useScopeClassName, useScopedChromeAnchor, useTableBorderTargetLabel, useTextFormFieldDialog, useToolbarContext, useToolbarLabel, useToolbarLabelFor, useTranslation, useZoom };
|
|
4565
|
-
export type { ChromeTranslate, ContentControlActionProps, ContentControlInspectorState, ContentControlLock, ContentControlPartProps, ContentControlProps, ContentControlSlotId, ContentControlWidgetDayProps, ContentControlWidgetEntry, ContentControlWidgetItemProps, ContentControlWidgetPictureProps, ContextMenuAnchor, ContextMenuCommandProps, ContextMenuContextValue, ContextMenuItemProps, ContextMenuTableRowProps, DialogCustomizationProps, DialogPartProps, DocxEditorAuthorStyleProps, DocxEditorChildren, DocxEditorContentControlNamespace, DocxEditorContentControlWidgetNamespace, DocxEditorContentControlWidgetPartProps, DocxEditorContentControlWidgetProps, DocxEditorContentProps, DocxEditorContextMenuNamespace, DocxEditorContextMenuProps, DocxEditorDocumentOutlineProps, DocxEditorExportDialogProps, DocxEditorFontNoticeProps, DocxEditorHeaderFooterChromeProps, DocxEditorHyperLinkNamespace, DocxEditorImageAltTextPopupProps, DocxEditorImagePropertiesDialogProps, DocxEditorInvalidTextFormFieldDialogProps, DocxEditorLoadingComponent, DocxEditorLoadingProps, DocxEditorLoadingSpinnerProps, DocxEditorMenuNamespace, DocxEditorMenuProps, DocxEditorNamespace, DocxEditorNavigationNamespace, DocxEditorNavigationProps, DocxEditorNotePreviewProps, DocxEditorNotePropertiesDialogProps, DocxEditorNotesChromeProps, DocxEditorNotesContextMenuProps, DocxEditorPageNumberProps, DocxEditorPageSetupDialogProps, DocxEditorParagraphDialogProps, DocxEditorPopup, DocxEditorPopups, DocxEditorPrintDialogProps, DocxEditorProps, DocxEditorRef, DocxEditorRootListeners, DocxEditorRootProps, DocxEditorRulerProps, DocxEditorTextFormFieldDialogProps, DocxEditorToolbarNamespace, DocxEditorToolbarProps, DocxEditorViewportProps, DocxFontOrigin, DocxFontsInput, DocxFontsSource, DocxSource, EditorCaret, EditorCommandState, EditorMode, EditorValueCommandState, FontFamilyItemProps, FontFamilyNamespace, FontFamilyPartProps, FontFamilyProps, FontsInput, HeaderFooterState, HorizontalRulerProps$1 as HorizontalRulerProps, HyperLinkActionProps, HyperLinkPartProps, HyperLinkProps, HyperlinkPopupAnchor, HyperlinkPopupMode, HyperlinkPopupState, ImagePropertiesTriggerProps, IndentUpdate, LocaleProviderProps, MaybeRefOrGetter, MenuActionProps, MenuGroupProps, MenuId, MenuItemProps, MenuPartComponent, MenuProps, MenuReportIssueProps, MenuReviewersProps, MenuRowProps, MenuSeparatorProps, MenuSubmenuProps, MenuTableGridProps, NavigationPartProps, NavigationShiftInput, NavigationTabProps, NavigationTab$1 as NavigationTabValue, NormalizedImagePayload, NotePropertiesState, OutlineHeading$1 as OutlineHeading, OutlineHeadingItem, PageIndicatorProps, PageSetupDialogFields, PageSetupUpdate, PaginatedDocxEditorExpose, PaginatedDocxEditorHandle, PaginatedDocxEditorProps, PaginatedDocxEditorShellProps, ParagraphStyleItemProps, ParagraphStyleNamespace, ParagraphStyleOption, ParagraphStylePartProps, ParagraphStyleProps, ProvideDocxEditorResult, ReviewGutter, ReviewGutterInput, ReviewRailRegistry, ScopedChromeAnchor, SlotProps, TableBorderColorNamespace, TableBorderStyleNamespace, TableBorderTargetNamespace, TableBorderWidthNamespace, TableCellFillNamespace, TableChromeItemProps, TableChromePartComponent, TableChromePartProps, TextFormFieldDialogFields, ToolbarActionProps, ToolbarAlignmentComponent, ToolbarButtonProps$1 as ToolbarButtonProps, ToolbarContextValue, ToolbarPartComponent, ToolbarPartProps, ToolbarProps, ToolbarReviewersProps, ToolbarSeparatorProps, ToolbarSlotPartComponent, ToolbarSlotPartProps, ToolbarTranslate, UseContentControlResult, UseContentControlWidgetResult, UseDialogReturn, UseDocumentOutlineResult, UseDocumentSearchOptions, UseDocumentSearchResult, UseDocxSourceOptions, UseDocxSourceResult, UseFontFamilyResult, UseHistoryGroupReturn, UseHyperlinkPopupResult, UseNavigationPaneOptions, UseNavigationPaneResult, UsePageSetupDialogReturn, UsePageSetupReturn, UseParagraphDialogReturn, UseParagraphFormatReturn, UseParagraphIndentReturn, UseParagraphStyleResult, UseTextFormFieldDialogReturn, UseZoomResult, VerticalRulerProps };
|
|
4637
|
+
export { CONTENT_CONTROL_SLOTS, ContextMenuCellVerticalAlignment, ContextMenuCopy, ContextMenuCopyFormatting, ContextMenuCut, ContextMenuDelete, ContextMenuDeleteTable, ContextMenuDeleteTableColumn, ContextMenuDeleteTableRow, ContextMenuInsertColumnLeft, ContextMenuInsertColumnRight, ContextMenuInsertRowAbove, ContextMenuInsertRowBelow, ContextMenuItem, ContextMenuPaste, ContextMenuPasteFormatting, ContextMenuPasteWithoutFormatting, ContextMenuRefreshToc, ContextMenuRefreshTocPageNumbers, ContextMenuSelectAll, DocumentName, DocumentOutline, DocxEditor, DocxEditorAuthorStyle, DocxEditorColorByChangeType, DocxEditorContent, DocxEditorContentControl, DocxEditorContentControlWidget, DocxEditorContextMenu, DocxEditorDocumentOutline, DocxEditorEquation, DocxEditorExportDialog, DocxEditorFontNotice, DocxEditorHeaderFooterChrome, DocxEditorHorizontalRuler, DocxEditorHyperLink, DocxEditorImageAltTextPopup, DocxEditorImagePropertiesDialog, DocxEditorInvalidTextFormFieldDialog, DocxEditorLoading, DocxEditorLoadingSpinner, DocxEditorMenu, DocxEditorNavigation, DocxEditorNotePreview, DocxEditorNotePropertiesDialog, DocxEditorNotesChrome, DocxEditorNotesContextMenu, DocxEditorPageNumber, DocxEditorPageSetupDialog, DocxEditorParagraphDialog, DocxEditorPrintDialog, DocxEditorRevisionMarkup, DocxEditorRevisionMarkupDialog, DocxEditorRoot, DocxEditorShell, DocxEditorTextFormFieldDialog, DocxEditorToolbar, DocxEditorVerticalRuler, DocxEditorViewport, HorizontalRuler, ImageAltText, ImageInsertProvider, ImageInsertTrigger, ImagePropertiesTrigger, ImageWrap, LocaleProvider, Logo, MenuBar, NAVIGATION_PANE_GAP, NAVIGATION_PANE_INSET, NAVIGATION_PANE_WIDTH, NavigationClose, NavigationFind, NavigationHeader, NavigationHeadings, NavigationTab, NavigationTabs, NavigationTitle, NavigationToggle, OUTLINE_BUTTON_LEFT_OFFSET, OUTLINE_BUTTON_RESERVED_SPACE, OUTLINE_LEFT_OFFSET, OUTLINE_RESERVED_SPACE, PageIndicator, PageNumberTranslationContext, PaginatedDocxEditor, PaginatedDocxEditorShell, REVIEW_MARKERS_GUTTER, REVIEW_PANE_GUTTER, RULER_WIDTH, ReviewRailContext, Slot, TitleBar, TitleBarRight, Toolbar, ToolbarButton, ToolbarContext, ToolbarGroup, ToolbarImageProperties, VERSION, VerticalRuler, definePopup, editorStateActiveSubscriptionCount, isFieldLink, navigationPaneReservation, navigationShift, normalizeImageBytes, notificationYieldsToTask, useProvidedDocxEditor as provideDocxEditor, reviewGutter, useChromeTranslate, useContentControl, useContentControlInstance, useContentControlWidget, useContextMenuTarget, useDocumentOutline, useDocumentSearch, useDocxEditor, useDocxSource, useEditorCaret, useEditorCommand, useEditorEvent, useEditorSnapshot, useEditorState, useEditorValueCommand, useFontFamily, useFonts, useHeaderFooterState, useHighlightAt, useHighlights, useHistoryGroup, useHyperlinkPopup, useHyperlinkPopupInstance, useNavigationPane, useNavigationShift, useNotePropertiesState, useNoteScopeState, usePageSetup, usePageSetupDialog, useParagraphDialog, useParagraphFormat, useParagraphIndent, useParagraphStyle, useReviewAuthors, useReviewGutter, useRevisionMarkupDialog, useScopeClassName, useScopedChromeAnchor, useTableBorderTargetLabel, useTextFormFieldDialog, useToolbarContext, useToolbarLabel, useToolbarLabelFor, useTranslation, useZoom };
|
|
4638
|
+
export type { ChromeTranslate, ContentControlActionProps, ContentControlInspectorState, ContentControlLock, ContentControlPartProps, ContentControlProps, ContentControlSlotId, ContentControlWidgetDayProps, ContentControlWidgetEntry, ContentControlWidgetItemProps, ContentControlWidgetPictureProps, ContextMenuAnchor, ContextMenuCommandProps, ContextMenuContextValue, ContextMenuItemProps, ContextMenuTableRowProps, DialogCustomizationProps, DialogPartProps, DocxEditorAuthorStyleProps, DocxEditorChildren, DocxEditorContentControlNamespace, DocxEditorContentControlWidgetNamespace, DocxEditorContentControlWidgetPartProps, DocxEditorContentControlWidgetProps, DocxEditorContentProps, DocxEditorContextMenuNamespace, DocxEditorContextMenuProps, DocxEditorDocumentOutlineProps, DocxEditorExportDialogProps, DocxEditorFontNoticeProps, DocxEditorHeaderFooterChromeProps, DocxEditorHyperLinkNamespace, DocxEditorImageAltTextPopupProps, DocxEditorImagePropertiesDialogProps, DocxEditorInvalidTextFormFieldDialogProps, DocxEditorLoadingComponent, DocxEditorLoadingProps, DocxEditorLoadingSpinnerProps, DocxEditorMenuNamespace, DocxEditorMenuProps, DocxEditorNamespace, DocxEditorNavigationNamespace, DocxEditorNavigationProps, DocxEditorNotePreviewProps, DocxEditorNotePropertiesDialogProps, DocxEditorNotesChromeProps, DocxEditorNotesContextMenuProps, DocxEditorPageNumberProps, DocxEditorPageSetupDialogProps, DocxEditorParagraphDialogProps, DocxEditorPopup, DocxEditorPopups, DocxEditorPrintDialogProps, DocxEditorProps, DocxEditorRef, DocxEditorRevisionMarkupDialogProps, DocxEditorRevisionMarkupProps, DocxEditorRootListeners, DocxEditorRootProps, DocxEditorRulerProps, DocxEditorTextFormFieldDialogProps, DocxEditorToolbarNamespace, DocxEditorToolbarProps, DocxEditorViewportProps, DocxFontOrigin, DocxFontsInput, DocxFontsSource, DocxSource, EditorCaret, EditorCommandState, EditorMode, EditorValueCommandState, FontFamilyItemProps, FontFamilyNamespace, FontFamilyPartProps, FontFamilyProps, FontsInput, HeaderFooterState, HorizontalRulerProps$1 as HorizontalRulerProps, HyperLinkActionProps, HyperLinkPartProps, HyperLinkProps, HyperlinkPopupAnchor, HyperlinkPopupMode, HyperlinkPopupState, ImagePropertiesTriggerProps, IndentUpdate, LocaleProviderProps, MaybeRefOrGetter, MenuActionProps, MenuGroupProps, MenuId, MenuItemProps, MenuPartComponent, MenuProps, MenuReportIssueProps, MenuReviewersProps, MenuRowProps, MenuSeparatorProps, MenuSubmenuProps, MenuTableGridProps, NavigationPartProps, NavigationShiftInput, NavigationTabProps, NavigationTab$1 as NavigationTabValue, NormalizedImagePayload, NotePropertiesState, OutlineHeading$1 as OutlineHeading, OutlineHeadingItem, PageIndicatorProps, PageSetupDialogFields, PageSetupUpdate, PaginatedDocxEditorExpose, PaginatedDocxEditorHandle, PaginatedDocxEditorProps, PaginatedDocxEditorShellProps, ParagraphStyleItemProps, ParagraphStyleNamespace, ParagraphStyleOption, ParagraphStylePartProps, ParagraphStyleProps, ProvideDocxEditorResult, ReviewGutter, ReviewGutterInput, ReviewRailRegistry, ScopedChromeAnchor, SlotProps, TableBorderColorNamespace, TableBorderStyleNamespace, TableBorderTargetNamespace, TableBorderWidthNamespace, TableCellFillNamespace, TableChromeItemProps, TableChromePartComponent, TableChromePartProps, TextFormFieldDialogFields, ToolbarActionProps, ToolbarAlignmentComponent, ToolbarButtonProps$1 as ToolbarButtonProps, ToolbarContextValue, ToolbarPartComponent, ToolbarPartProps, ToolbarProps, ToolbarReviewersProps, ToolbarSeparatorProps, ToolbarSlotPartComponent, ToolbarSlotPartProps, ToolbarTranslate, UseContentControlResult, UseContentControlWidgetResult, UseDialogReturn, UseDocumentOutlineResult, UseDocumentSearchOptions, UseDocumentSearchResult, UseDocxSourceOptions, UseDocxSourceResult, UseFontFamilyResult, UseHistoryGroupReturn, UseHyperlinkPopupResult, UseNavigationPaneOptions, UseNavigationPaneResult, UsePageSetupDialogReturn, UsePageSetupReturn, UseParagraphDialogReturn, UseParagraphFormatReturn, UseParagraphIndentReturn, UseParagraphStyleResult, UseRevisionMarkupDialogReturn, UseTextFormFieldDialogReturn, UseZoomResult, VerticalRulerProps };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import react__default, { ReactNode, CSSProperties, ReactElement, ComponentType, ForwardRefExoticComponent, RefAttributes, HTMLAttributes, Ref } from 'react';
|
|
3
|
-
import { ChromeExportFormat, InvalidTextFormFieldSession, ContentControlWidgetSession, CalendarMonth, ContentControlListNavigation, CalendarDay, TextFormFieldDialogSession, RevisionAuthorStyle, ParagraphDialogFields, ParagraphDialogMixed, ChromeMenuId, ChromeSlotId, ChromeMenuEntry, DocxEditorInstance, FontConfigurationFragment, FontResolver, EditorModule, ImageDecodePort, SupportedImageMime, TableChromeSlotId, ChromeExportHandlers, DocumentSearchHighlight, DocumentSearchFindOptions, SurfaceHyperlink, FontOrigin, MarkedFontResolver, ReviewAuthorInfo, EditorCommandExecute, ToolbarValueMap, HighlightSource, ParagraphFormatRead, ParagraphFormatUpdate, TextMeasurer, PaginatedSurfaceState, NavigationCommand, SurfaceFormatting, SectionProperties, RulerIndent, HistoryGroupBindingOptions } from '@docx-editor.dev/core/editor';
|
|
4
|
-
export { CHROME_GROUPS, CHROME_MENUS, ChromeExportFormat, ChromeExportHandlers, ChromeMenu, ChromeMenuEntry, ChromeMenuId, ChromeMenuItemEntry, ChromeMenuSeparatorEntry, ChromeMenuSubmenuEntry, ChromeSlotId, ClearRefreshHighlightsOptions, DEFAULT_FONT, DocumentRefresh, DocumentRefreshError, DocumentRefreshState, DocumentSearchFindOptions, DocumentSearchHighlight, DocumentSearchNavigateOptions, DocumentSearchOptions, FontConfigurationBase, FontConfigurationFragment, FontLoadFailure, FontLoadFailureReason, FontOrigin, FontResolutionRequest, FontResolver, FontResolverMark, FontUrlSource, HIGHLIGHT_REFRESH_MS, HighlightSource, ImageWrapTarget, LOADING_SNAPSHOT, LoadFontsRequest, LoadFontsResult, MAX_RESOLVER_FAMILIES, MarkedFontResolver, NavigateToChangeOptions, PX_PER_CM, PX_PER_INCH, ParagraphFlagState, ParagraphFormatRead, ParagraphFormatUpdate, ParagraphTabStop, RefreshChange, RefreshChangeInput, RefreshFailureCode, RefreshHighlightAnimation, RefreshHighlightOptions, RefreshLocation, RefreshResult, RefreshSubmission, RefreshUpdate, ReviewAuthorInfo, RevisionAuthorAssignments, RevisionAuthorStyle, RevisionStyles, RulerTick, RulerUnit, SEARCH_DEBOUNCE_MS, SEARCH_HIGHLIGHT_PRIORITY, SEARCH_HIGHLIGHT_SET, SEARCH_MATCH_LIMIT, ToolbarCommandState, WORD_DEFAULT_FONT, chromeMenuSlots, commandForSlot, composeFontConfiguration, composeFontOrigins, createDocumentRefresh, createFontSource, defineFontResolver, generateRulerTicks, isFontResolver, loadFonts, rulerPageBox, runToolbarCommand, toolbarCommandState } from '@docx-editor.dev/core/editor';
|
|
3
|
+
import { RevisionMarkupDialogSession, ResolvedRevisionMarkup, RevisionMarkupOptions, ChromeExportFormat, InvalidTextFormFieldSession, ContentControlWidgetSession, CalendarMonth, ContentControlListNavigation, CalendarDay, TextFormFieldDialogSession, RevisionAuthorStyle, ParagraphDialogFields, ParagraphDialogMixed, ChromeMenuId, ChromeSlotId, ChromeMenuEntry, DocxEditorInstance, FontConfigurationFragment, FontResolver, EditorModule, ReviewDisplayMode, ImageDecodePort, SupportedImageMime, TableChromeSlotId, ChromeExportHandlers, DocumentSearchHighlight, DocumentSearchFindOptions, SurfaceHyperlink, FontOrigin, MarkedFontResolver, ReviewAuthorInfo, EditorCommandExecute, ToolbarValueMap, HighlightSource, ParagraphFormatRead, ParagraphFormatUpdate, TextMeasurer, PaginatedSurfaceState, NavigationCommand, SurfaceFormatting, SectionProperties, RulerIndent, HistoryGroupBindingOptions } from '@docx-editor.dev/core/editor';
|
|
4
|
+
export { CHROME_GROUPS, CHROME_MENUS, ChromeExportFormat, ChromeExportHandlers, ChromeMenu, ChromeMenuEntry, ChromeMenuId, ChromeMenuItemEntry, ChromeMenuSeparatorEntry, ChromeMenuSubmenuEntry, ChromeSlotId, ClearRefreshHighlightsOptions, DEFAULT_FONT, DocumentRefresh, DocumentRefreshError, DocumentRefreshState, DocumentSearchFindOptions, DocumentSearchHighlight, DocumentSearchNavigateOptions, DocumentSearchOptions, FontConfigurationBase, FontConfigurationFragment, FontLoadFailure, FontLoadFailureReason, FontOrigin, FontResolutionRequest, FontResolver, FontResolverMark, FontUrlSource, HIGHLIGHT_REFRESH_MS, HighlightSource, ImageWrapTarget, LOADING_SNAPSHOT, LoadFontsRequest, LoadFontsResult, MAX_RESOLVER_FAMILIES, MarkedFontResolver, NavigateToChangeOptions, PX_PER_CM, PX_PER_INCH, ParagraphFlagState, ParagraphFormatRead, ParagraphFormatUpdate, ParagraphTabStop, RefreshChange, RefreshChangeInput, RefreshFailureCode, RefreshHighlightAnimation, RefreshHighlightOptions, RefreshLocation, RefreshResult, RefreshSubmission, RefreshUpdate, ResolvedRevisionMarkup, ReviewAuthorInfo, ReviewDisplayMode, RevisionAuthorAssignments, RevisionAuthorStyle, RevisionChangedLinesMark, RevisionDeletionMark, RevisionMarkupChromeHandlers, RevisionMarkupColor, RevisionMarkupDialogSession, RevisionMarkupMark, RevisionMarkupNamedColor, RevisionMarkupOptions, RevisionStyles, RulerTick, RulerUnit, SEARCH_DEBOUNCE_MS, SEARCH_HIGHLIGHT_PRIORITY, SEARCH_HIGHLIGHT_SET, SEARCH_MATCH_LIMIT, ToolbarCommandState, WORD_DEFAULT_FONT, chromeMenuSlots, commandForSlot, composeFontConfiguration, composeFontOrigins, createDocumentRefresh, createFontSource, defineFontResolver, generateRulerTicks, isFontResolver, loadFonts, rulerPageBox, runToolbarCommand, toolbarCommandState } from '@docx-editor.dev/core/editor';
|
|
5
5
|
import { Editor, ViewScope, EditorCommand, DocumentSource, FontConfiguration, ZoomMode, DocumentChange, EditorFontError, TextMatch, DocumentHandle, EditorExecOptions, ExecResult, EditorScope, EditorSnapshot, EditorEvents, HighlightOptions, HighlightResult, HighlightRange, HighlightHit, PageSetup, IndentFormatting, ColorValue, Theme } from '@docx-editor.dev/core/contracts/editor';
|
|
6
6
|
export { AnchorHighlightAnimation, AnchorHighlightOptions, ClearAnchorHighlightOptions, Editor, EditorCommand, EditorFontError, EditorFontErrorCode, EditorQuery, EditorScope, EditorSnapshot, FontConfiguration, FontFaceRequest, FontSource, FontSourceSubstitution, HighlightHit, HighlightOptions, HighlightRange, HighlightRect, HighlightResult, PageSetup, ScrollToAnchorOptions, TextMatch } from '@docx-editor.dev/core/contracts/editor';
|
|
7
7
|
import { TFunction, Translations, LocaleStrings } from '@docx-editor.dev/i18n';
|
|
@@ -25,6 +25,92 @@ type MaybeRefOrGetter<T> = T;
|
|
|
25
25
|
*/
|
|
26
26
|
type DocxEditorChildren = ReactNode;
|
|
27
27
|
|
|
28
|
+
/**
|
|
29
|
+
* Presentation overrides for a dialog part. @public
|
|
30
|
+
*
|
|
31
|
+
* Anything beyond these members reaches the rendered element, so a part takes an `id`,
|
|
32
|
+
* an `aria-*` label or a `data-*` test hook. The part's own wiring wins every collision:
|
|
33
|
+
* a host cannot replace Apply's handler or its `data-docx-part` marker by passing one.
|
|
34
|
+
* To own the element and its handler outright, pass `asChild` and supply your own.
|
|
35
|
+
*/
|
|
36
|
+
interface DialogPartProps {
|
|
37
|
+
className?: string;
|
|
38
|
+
style?: CSSProperties;
|
|
39
|
+
hidden?: boolean;
|
|
40
|
+
asChild?: boolean;
|
|
41
|
+
children?: DocxEditorChildren;
|
|
42
|
+
id?: string;
|
|
43
|
+
title?: string;
|
|
44
|
+
'aria-label'?: string;
|
|
45
|
+
[attribute: `data-${string}`]: unknown;
|
|
46
|
+
}
|
|
47
|
+
/** Layout customization for a packaged dialog. @public */
|
|
48
|
+
interface DialogCustomizationProps {
|
|
49
|
+
className?: string;
|
|
50
|
+
style?: CSSProperties;
|
|
51
|
+
/** Render the default arrangement, replacing named children in place. Defaults to true. */
|
|
52
|
+
preset?: boolean;
|
|
53
|
+
children?: DocxEditorChildren;
|
|
54
|
+
}
|
|
55
|
+
/** State shared by a dialog's controls. @public */
|
|
56
|
+
interface UseDialogReturn<Fields extends object> {
|
|
57
|
+
readonly values: Fields;
|
|
58
|
+
setValue<K extends keyof Fields>(name: K, value: Fields[K]): void;
|
|
59
|
+
readonly errors: Readonly<Partial<Record<keyof Fields | 'form', string>>>;
|
|
60
|
+
readonly isEnabled: boolean;
|
|
61
|
+
apply(): void;
|
|
62
|
+
cancel(): void;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/** Revision markup session and presentation. @public */
|
|
66
|
+
interface DocxEditorRevisionMarkupDialogProps extends DialogCustomizationProps {
|
|
67
|
+
session: RevisionMarkupDialogSession | null;
|
|
68
|
+
}
|
|
69
|
+
/** Revision markup draft and actions. @public */
|
|
70
|
+
interface UseRevisionMarkupDialogReturn extends UseDialogReturn<ResolvedRevisionMarkup> {
|
|
71
|
+
reset(): void;
|
|
72
|
+
}
|
|
73
|
+
/** Read the enclosing revision markup draft. @public */
|
|
74
|
+
declare function useRevisionMarkupDialog(): UseRevisionMarkupDialogReturn;
|
|
75
|
+
declare function RevisionMarkupDialogRoot({ session, ...props }: DocxEditorRevisionMarkupDialogProps): react.JSX.Element | null;
|
|
76
|
+
/** Track changes options with replaceable controls and layout. @public */
|
|
77
|
+
declare const DocxEditorRevisionMarkupDialog: typeof RevisionMarkupDialogRoot & {
|
|
78
|
+
Header: (props: DialogPartProps & {
|
|
79
|
+
name?: keyof ResolvedRevisionMarkup | undefined;
|
|
80
|
+
}) => string | number | bigint | boolean | react.JSX.Element | Iterable<react.ReactNode> | Promise<string | number | bigint | boolean | Iterable<react.ReactNode> | react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | react.ReactPortal | null | undefined> | null;
|
|
81
|
+
Title: (props: DialogPartProps & {
|
|
82
|
+
name?: keyof ResolvedRevisionMarkup | undefined;
|
|
83
|
+
}) => string | number | bigint | boolean | react.JSX.Element | Iterable<react.ReactNode> | Promise<string | number | bigint | boolean | Iterable<react.ReactNode> | react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | react.ReactPortal | null | undefined> | null;
|
|
84
|
+
Body: (props: DialogPartProps & {
|
|
85
|
+
name?: keyof ResolvedRevisionMarkup | undefined;
|
|
86
|
+
}) => string | number | bigint | boolean | react.JSX.Element | Iterable<react.ReactNode> | Promise<string | number | bigint | boolean | Iterable<react.ReactNode> | react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | react.ReactPortal | null | undefined> | null;
|
|
87
|
+
Footer: (props: DialogPartProps & {
|
|
88
|
+
name?: keyof ResolvedRevisionMarkup | undefined;
|
|
89
|
+
}) => string | number | bigint | boolean | react.JSX.Element | Iterable<react.ReactNode> | Promise<string | number | bigint | boolean | Iterable<react.ReactNode> | react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | react.ReactPortal | null | undefined> | null;
|
|
90
|
+
Apply: (props: DialogPartProps & {
|
|
91
|
+
name?: keyof ResolvedRevisionMarkup | undefined;
|
|
92
|
+
}) => string | number | bigint | boolean | react.JSX.Element | Iterable<react.ReactNode> | Promise<string | number | bigint | boolean | Iterable<react.ReactNode> | react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | react.ReactPortal | null | undefined> | null;
|
|
93
|
+
Cancel: (props: DialogPartProps & {
|
|
94
|
+
name?: keyof ResolvedRevisionMarkup | undefined;
|
|
95
|
+
}) => string | number | bigint | boolean | react.JSX.Element | Iterable<react.ReactNode> | Promise<string | number | bigint | boolean | Iterable<react.ReactNode> | react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | react.ReactPortal | null | undefined> | null;
|
|
96
|
+
Error: (props: DialogPartProps & {
|
|
97
|
+
name?: keyof ResolvedRevisionMarkup | undefined;
|
|
98
|
+
}) => string | number | bigint | boolean | react.JSX.Element | Iterable<react.ReactNode> | Promise<string | number | bigint | boolean | Iterable<react.ReactNode> | react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | react.ReactPortal | null | undefined> | null;
|
|
99
|
+
Field: (props: DialogPartProps & {
|
|
100
|
+
name: keyof ResolvedRevisionMarkup;
|
|
101
|
+
}) => react.ReactNode;
|
|
102
|
+
Reset: (props: DialogPartProps & {
|
|
103
|
+
name?: keyof ResolvedRevisionMarkup | undefined;
|
|
104
|
+
}) => string | number | bigint | boolean | react.JSX.Element | Iterable<react.ReactNode> | Promise<string | number | bigint | boolean | Iterable<react.ReactNode> | react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | react.ReactPortal | null | undefined> | null;
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
/** Viewer-local markup declarations. @public */
|
|
108
|
+
interface DocxEditorRevisionMarkupProps extends RevisionMarkupOptions {
|
|
109
|
+
onRevisionMarkupChange?: (settings: ResolvedRevisionMarkup) => void;
|
|
110
|
+
}
|
|
111
|
+
/** Declares markup settings without rendering an element. @public */
|
|
112
|
+
declare function DocxEditorRevisionMarkup(props: DocxEditorRevisionMarkupProps): null;
|
|
113
|
+
|
|
28
114
|
/** State and presentation for the File menu export dialog. @public */
|
|
29
115
|
interface DocxEditorExportDialogProps {
|
|
30
116
|
/** Controls visibility when rendering the dialog directly. */
|
|
@@ -397,43 +483,6 @@ interface DocxEditorContentControlWidgetNamespace {
|
|
|
397
483
|
/** Compact value editor for a configured content-control popup. @public */
|
|
398
484
|
declare const DocxEditorContentControlWidget: DocxEditorContentControlWidgetNamespace;
|
|
399
485
|
|
|
400
|
-
/**
|
|
401
|
-
* Presentation overrides for a dialog part. @public
|
|
402
|
-
*
|
|
403
|
-
* Anything beyond these members reaches the rendered element, so a part takes an `id`,
|
|
404
|
-
* an `aria-*` label or a `data-*` test hook. The part's own wiring wins every collision:
|
|
405
|
-
* a host cannot replace Apply's handler or its `data-docx-part` marker by passing one.
|
|
406
|
-
* To own the element and its handler outright, pass `asChild` and supply your own.
|
|
407
|
-
*/
|
|
408
|
-
interface DialogPartProps {
|
|
409
|
-
className?: string;
|
|
410
|
-
style?: CSSProperties;
|
|
411
|
-
hidden?: boolean;
|
|
412
|
-
asChild?: boolean;
|
|
413
|
-
children?: DocxEditorChildren;
|
|
414
|
-
id?: string;
|
|
415
|
-
title?: string;
|
|
416
|
-
'aria-label'?: string;
|
|
417
|
-
[attribute: `data-${string}`]: unknown;
|
|
418
|
-
}
|
|
419
|
-
/** Layout customization for a packaged dialog. @public */
|
|
420
|
-
interface DialogCustomizationProps {
|
|
421
|
-
className?: string;
|
|
422
|
-
style?: CSSProperties;
|
|
423
|
-
/** Render the default arrangement, replacing named children in place. Defaults to true. */
|
|
424
|
-
preset?: boolean;
|
|
425
|
-
children?: DocxEditorChildren;
|
|
426
|
-
}
|
|
427
|
-
/** State shared by a dialog's controls. @public */
|
|
428
|
-
interface UseDialogReturn<Fields extends object> {
|
|
429
|
-
readonly values: Fields;
|
|
430
|
-
setValue<K extends keyof Fields>(name: K, value: Fields[K]): void;
|
|
431
|
-
readonly errors: Readonly<Partial<Record<keyof Fields | 'form', string>>>;
|
|
432
|
-
readonly isEnabled: boolean;
|
|
433
|
-
apply(): void;
|
|
434
|
-
cancel(): void;
|
|
435
|
-
}
|
|
436
|
-
|
|
437
486
|
/** Draft values for legacy text Field Options. @public */
|
|
438
487
|
interface TextFormFieldDialogFields {
|
|
439
488
|
defaultText: string;
|
|
@@ -1506,6 +1555,7 @@ interface DocxEditorPopups {
|
|
|
1506
1555
|
notesContextMenu?: DocxEditorPopup<DocxEditorNotesContextMenuProps>;
|
|
1507
1556
|
pageSetup?: DocxEditorPopup<DocxEditorPageSetupDialogProps>;
|
|
1508
1557
|
paragraph?: DocxEditorPopup<DocxEditorParagraphDialogProps>;
|
|
1558
|
+
revisionMarkup?: DocxEditorPopup<DocxEditorRevisionMarkupDialogProps>;
|
|
1509
1559
|
textFormField?: DocxEditorPopup<DocxEditorTextFormFieldDialogProps>;
|
|
1510
1560
|
hyperlink?: DocxEditorPopup<HyperLinkProps>;
|
|
1511
1561
|
contentControl?: DocxEditorPopup<ContentControlProps>;
|
|
@@ -1604,6 +1654,16 @@ interface DocxEditorRootProps {
|
|
|
1604
1654
|
* navigation pane shrinks the document by what it took. Pass `{ type: 'fixed' }` to opt out.
|
|
1605
1655
|
*/
|
|
1606
1656
|
zoomMode?: ZoomMode | 'auto';
|
|
1657
|
+
/**
|
|
1658
|
+
* Controlled viewer markup settings. Omitted fields use defaults.
|
|
1659
|
+
* Save callback values into this prop to accept API and dialog changes.
|
|
1660
|
+
* Omit this prop for uncontrolled settings. Use one configuration source.
|
|
1661
|
+
*/
|
|
1662
|
+
revisionMarkup?: RevisionMarkupOptions;
|
|
1663
|
+
/** Receives proposed settings from API or dialog changes, excluding prop reconciliation. */
|
|
1664
|
+
onRevisionMarkupChange?: (settings: ResolvedRevisionMarkup) => void;
|
|
1665
|
+
/** Initial revision display mode. */
|
|
1666
|
+
reviewDisplayMode?: ReviewDisplayMode;
|
|
1607
1667
|
/** Fired once per instance, after it is published to the tree (and after any
|
|
1608
1668
|
* `DocxEditor.Content` in the same commit has attached its mount point). A large
|
|
1609
1669
|
* document mounts behind one painted frame; `onReady` fires AFTER that mount lands,
|
|
@@ -1627,6 +1687,7 @@ interface DocxEditorRootListeners {
|
|
|
1627
1687
|
onReady?: (editor: Editor) => void;
|
|
1628
1688
|
onChange?: (change: DocumentChange) => void;
|
|
1629
1689
|
onFontError?: (error: EditorFontError) => void;
|
|
1690
|
+
onRevisionMarkupChange?: (settings: ResolvedRevisionMarkup) => void;
|
|
1630
1691
|
}
|
|
1631
1692
|
/** @public Vue-only setup result; exported for cross-adapter API parity. */
|
|
1632
1693
|
interface ProvideDocxEditorResult {
|
|
@@ -2884,6 +2945,16 @@ interface DocxEditorProps {
|
|
|
2884
2945
|
* `{ type: 'fixed' }` opts out.
|
|
2885
2946
|
*/
|
|
2886
2947
|
zoomMode?: ZoomMode | 'auto';
|
|
2948
|
+
/**
|
|
2949
|
+
* Controlled viewer markup settings. Omitted fields use defaults.
|
|
2950
|
+
* Save callback values into this prop to accept API and dialog changes.
|
|
2951
|
+
* Omit this prop for uncontrolled settings. Use one configuration source.
|
|
2952
|
+
*/
|
|
2953
|
+
revisionMarkup?: RevisionMarkupOptions;
|
|
2954
|
+
/** Receives proposed settings from API or dialog changes, excluding prop reconciliation. */
|
|
2955
|
+
onRevisionMarkupChange?: (settings: ResolvedRevisionMarkup) => void;
|
|
2956
|
+
/** Initial revision display mode. */
|
|
2957
|
+
reviewDisplayMode?: ReviewDisplayMode;
|
|
2887
2958
|
/**
|
|
2888
2959
|
* BCP-47 locale for regional date input and engine-generated labels. Defaults to en-US.
|
|
2889
2960
|
* Changes apply to subsequent edits without a remount; stored date formats are preserved.
|
|
@@ -2962,6 +3033,8 @@ interface DocxEditorNamespace extends ForwardRefExoticComponent<DocxEditorProps
|
|
|
2962
3033
|
/** Conditional loading screen: renders while there is no document to paint. */
|
|
2963
3034
|
readonly Loading: typeof DocxEditorLoading;
|
|
2964
3035
|
readonly ColorByChangeType: typeof DocxEditorColorByChangeType;
|
|
3036
|
+
readonly RevisionMarkupDialog: typeof DocxEditorRevisionMarkupDialog;
|
|
3037
|
+
readonly RevisionMarkup: typeof DocxEditorRevisionMarkup;
|
|
2965
3038
|
readonly AuthorStyle: typeof DocxEditorAuthorStyle;
|
|
2966
3039
|
/** Context-fed horizontal ruler with draggable margins (props-driven export stays). */
|
|
2967
3040
|
readonly HorizontalRuler: typeof DocxEditorHorizontalRuler;
|
|
@@ -4561,5 +4634,5 @@ interface UseHistoryGroupReturn {
|
|
|
4561
4634
|
/** Bind a control's native gesture lifecycle. Apply values through the existing command hooks. @public */
|
|
4562
4635
|
declare function useHistoryGroup({ kind }: HistoryGroupBindingOptions): UseHistoryGroupReturn;
|
|
4563
4636
|
|
|
4564
|
-
export { CONTENT_CONTROL_SLOTS, ContextMenuCellVerticalAlignment, ContextMenuCopy, ContextMenuCopyFormatting, ContextMenuCut, ContextMenuDelete, ContextMenuDeleteTable, ContextMenuDeleteTableColumn, ContextMenuDeleteTableRow, ContextMenuInsertColumnLeft, ContextMenuInsertColumnRight, ContextMenuInsertRowAbove, ContextMenuInsertRowBelow, ContextMenuItem, ContextMenuPaste, ContextMenuPasteFormatting, ContextMenuPasteWithoutFormatting, ContextMenuRefreshToc, ContextMenuRefreshTocPageNumbers, ContextMenuSelectAll, DocumentName, DocumentOutline, DocxEditor, DocxEditorAuthorStyle, DocxEditorColorByChangeType, DocxEditorContent, DocxEditorContentControl, DocxEditorContentControlWidget, DocxEditorContextMenu, DocxEditorDocumentOutline, DocxEditorEquation, DocxEditorExportDialog, DocxEditorFontNotice, DocxEditorHeaderFooterChrome, DocxEditorHorizontalRuler, DocxEditorHyperLink, DocxEditorImageAltTextPopup, DocxEditorImagePropertiesDialog, DocxEditorInvalidTextFormFieldDialog, DocxEditorLoading, DocxEditorLoadingSpinner, DocxEditorMenu, DocxEditorNavigation, DocxEditorNotePreview, DocxEditorNotePropertiesDialog, DocxEditorNotesChrome, DocxEditorNotesContextMenu, DocxEditorPageNumber, DocxEditorPageSetupDialog, DocxEditorParagraphDialog, DocxEditorPrintDialog, DocxEditorRoot, DocxEditorShell, DocxEditorTextFormFieldDialog, DocxEditorToolbar, DocxEditorVerticalRuler, DocxEditorViewport, HorizontalRuler, ImageAltText, ImageInsertProvider, ImageInsertTrigger, ImagePropertiesTrigger, ImageWrap, LocaleProvider, Logo, MenuBar, NAVIGATION_PANE_GAP, NAVIGATION_PANE_INSET, NAVIGATION_PANE_WIDTH, NavigationClose, NavigationFind, NavigationHeader, NavigationHeadings, NavigationTab, NavigationTabs, NavigationTitle, NavigationToggle, OUTLINE_BUTTON_LEFT_OFFSET, OUTLINE_BUTTON_RESERVED_SPACE, OUTLINE_LEFT_OFFSET, OUTLINE_RESERVED_SPACE, PageIndicator, PageNumberTranslationContext, PaginatedDocxEditor, PaginatedDocxEditorShell, REVIEW_MARKERS_GUTTER, REVIEW_PANE_GUTTER, RULER_WIDTH, ReviewRailContext, Slot, TitleBar, TitleBarRight, Toolbar, ToolbarButton, ToolbarContext, ToolbarGroup, ToolbarImageProperties, VERSION, VerticalRuler, definePopup, editorStateActiveSubscriptionCount, isFieldLink, navigationPaneReservation, navigationShift, normalizeImageBytes, notificationYieldsToTask, useProvidedDocxEditor as provideDocxEditor, reviewGutter, useChromeTranslate, useContentControl, useContentControlInstance, useContentControlWidget, useContextMenuTarget, useDocumentOutline, useDocumentSearch, useDocxEditor, useDocxSource, useEditorCaret, useEditorCommand, useEditorEvent, useEditorSnapshot, useEditorState, useEditorValueCommand, useFontFamily, useFonts, useHeaderFooterState, useHighlightAt, useHighlights, useHistoryGroup, useHyperlinkPopup, useHyperlinkPopupInstance, useNavigationPane, useNavigationShift, useNotePropertiesState, useNoteScopeState, usePageSetup, usePageSetupDialog, useParagraphDialog, useParagraphFormat, useParagraphIndent, useParagraphStyle, useReviewAuthors, useReviewGutter, useScopeClassName, useScopedChromeAnchor, useTableBorderTargetLabel, useTextFormFieldDialog, useToolbarContext, useToolbarLabel, useToolbarLabelFor, useTranslation, useZoom };
|
|
4565
|
-
export type { ChromeTranslate, ContentControlActionProps, ContentControlInspectorState, ContentControlLock, ContentControlPartProps, ContentControlProps, ContentControlSlotId, ContentControlWidgetDayProps, ContentControlWidgetEntry, ContentControlWidgetItemProps, ContentControlWidgetPictureProps, ContextMenuAnchor, ContextMenuCommandProps, ContextMenuContextValue, ContextMenuItemProps, ContextMenuTableRowProps, DialogCustomizationProps, DialogPartProps, DocxEditorAuthorStyleProps, DocxEditorChildren, DocxEditorContentControlNamespace, DocxEditorContentControlWidgetNamespace, DocxEditorContentControlWidgetPartProps, DocxEditorContentControlWidgetProps, DocxEditorContentProps, DocxEditorContextMenuNamespace, DocxEditorContextMenuProps, DocxEditorDocumentOutlineProps, DocxEditorExportDialogProps, DocxEditorFontNoticeProps, DocxEditorHeaderFooterChromeProps, DocxEditorHyperLinkNamespace, DocxEditorImageAltTextPopupProps, DocxEditorImagePropertiesDialogProps, DocxEditorInvalidTextFormFieldDialogProps, DocxEditorLoadingComponent, DocxEditorLoadingProps, DocxEditorLoadingSpinnerProps, DocxEditorMenuNamespace, DocxEditorMenuProps, DocxEditorNamespace, DocxEditorNavigationNamespace, DocxEditorNavigationProps, DocxEditorNotePreviewProps, DocxEditorNotePropertiesDialogProps, DocxEditorNotesChromeProps, DocxEditorNotesContextMenuProps, DocxEditorPageNumberProps, DocxEditorPageSetupDialogProps, DocxEditorParagraphDialogProps, DocxEditorPopup, DocxEditorPopups, DocxEditorPrintDialogProps, DocxEditorProps, DocxEditorRef, DocxEditorRootListeners, DocxEditorRootProps, DocxEditorRulerProps, DocxEditorTextFormFieldDialogProps, DocxEditorToolbarNamespace, DocxEditorToolbarProps, DocxEditorViewportProps, DocxFontOrigin, DocxFontsInput, DocxFontsSource, DocxSource, EditorCaret, EditorCommandState, EditorMode, EditorValueCommandState, FontFamilyItemProps, FontFamilyNamespace, FontFamilyPartProps, FontFamilyProps, FontsInput, HeaderFooterState, HorizontalRulerProps$1 as HorizontalRulerProps, HyperLinkActionProps, HyperLinkPartProps, HyperLinkProps, HyperlinkPopupAnchor, HyperlinkPopupMode, HyperlinkPopupState, ImagePropertiesTriggerProps, IndentUpdate, LocaleProviderProps, MaybeRefOrGetter, MenuActionProps, MenuGroupProps, MenuId, MenuItemProps, MenuPartComponent, MenuProps, MenuReportIssueProps, MenuReviewersProps, MenuRowProps, MenuSeparatorProps, MenuSubmenuProps, MenuTableGridProps, NavigationPartProps, NavigationShiftInput, NavigationTabProps, NavigationTab$1 as NavigationTabValue, NormalizedImagePayload, NotePropertiesState, OutlineHeading$1 as OutlineHeading, OutlineHeadingItem, PageIndicatorProps, PageSetupDialogFields, PageSetupUpdate, PaginatedDocxEditorExpose, PaginatedDocxEditorHandle, PaginatedDocxEditorProps, PaginatedDocxEditorShellProps, ParagraphStyleItemProps, ParagraphStyleNamespace, ParagraphStyleOption, ParagraphStylePartProps, ParagraphStyleProps, ProvideDocxEditorResult, ReviewGutter, ReviewGutterInput, ReviewRailRegistry, ScopedChromeAnchor, SlotProps, TableBorderColorNamespace, TableBorderStyleNamespace, TableBorderTargetNamespace, TableBorderWidthNamespace, TableCellFillNamespace, TableChromeItemProps, TableChromePartComponent, TableChromePartProps, TextFormFieldDialogFields, ToolbarActionProps, ToolbarAlignmentComponent, ToolbarButtonProps$1 as ToolbarButtonProps, ToolbarContextValue, ToolbarPartComponent, ToolbarPartProps, ToolbarProps, ToolbarReviewersProps, ToolbarSeparatorProps, ToolbarSlotPartComponent, ToolbarSlotPartProps, ToolbarTranslate, UseContentControlResult, UseContentControlWidgetResult, UseDialogReturn, UseDocumentOutlineResult, UseDocumentSearchOptions, UseDocumentSearchResult, UseDocxSourceOptions, UseDocxSourceResult, UseFontFamilyResult, UseHistoryGroupReturn, UseHyperlinkPopupResult, UseNavigationPaneOptions, UseNavigationPaneResult, UsePageSetupDialogReturn, UsePageSetupReturn, UseParagraphDialogReturn, UseParagraphFormatReturn, UseParagraphIndentReturn, UseParagraphStyleResult, UseTextFormFieldDialogReturn, UseZoomResult, VerticalRulerProps };
|
|
4637
|
+
export { CONTENT_CONTROL_SLOTS, ContextMenuCellVerticalAlignment, ContextMenuCopy, ContextMenuCopyFormatting, ContextMenuCut, ContextMenuDelete, ContextMenuDeleteTable, ContextMenuDeleteTableColumn, ContextMenuDeleteTableRow, ContextMenuInsertColumnLeft, ContextMenuInsertColumnRight, ContextMenuInsertRowAbove, ContextMenuInsertRowBelow, ContextMenuItem, ContextMenuPaste, ContextMenuPasteFormatting, ContextMenuPasteWithoutFormatting, ContextMenuRefreshToc, ContextMenuRefreshTocPageNumbers, ContextMenuSelectAll, DocumentName, DocumentOutline, DocxEditor, DocxEditorAuthorStyle, DocxEditorColorByChangeType, DocxEditorContent, DocxEditorContentControl, DocxEditorContentControlWidget, DocxEditorContextMenu, DocxEditorDocumentOutline, DocxEditorEquation, DocxEditorExportDialog, DocxEditorFontNotice, DocxEditorHeaderFooterChrome, DocxEditorHorizontalRuler, DocxEditorHyperLink, DocxEditorImageAltTextPopup, DocxEditorImagePropertiesDialog, DocxEditorInvalidTextFormFieldDialog, DocxEditorLoading, DocxEditorLoadingSpinner, DocxEditorMenu, DocxEditorNavigation, DocxEditorNotePreview, DocxEditorNotePropertiesDialog, DocxEditorNotesChrome, DocxEditorNotesContextMenu, DocxEditorPageNumber, DocxEditorPageSetupDialog, DocxEditorParagraphDialog, DocxEditorPrintDialog, DocxEditorRevisionMarkup, DocxEditorRevisionMarkupDialog, DocxEditorRoot, DocxEditorShell, DocxEditorTextFormFieldDialog, DocxEditorToolbar, DocxEditorVerticalRuler, DocxEditorViewport, HorizontalRuler, ImageAltText, ImageInsertProvider, ImageInsertTrigger, ImagePropertiesTrigger, ImageWrap, LocaleProvider, Logo, MenuBar, NAVIGATION_PANE_GAP, NAVIGATION_PANE_INSET, NAVIGATION_PANE_WIDTH, NavigationClose, NavigationFind, NavigationHeader, NavigationHeadings, NavigationTab, NavigationTabs, NavigationTitle, NavigationToggle, OUTLINE_BUTTON_LEFT_OFFSET, OUTLINE_BUTTON_RESERVED_SPACE, OUTLINE_LEFT_OFFSET, OUTLINE_RESERVED_SPACE, PageIndicator, PageNumberTranslationContext, PaginatedDocxEditor, PaginatedDocxEditorShell, REVIEW_MARKERS_GUTTER, REVIEW_PANE_GUTTER, RULER_WIDTH, ReviewRailContext, Slot, TitleBar, TitleBarRight, Toolbar, ToolbarButton, ToolbarContext, ToolbarGroup, ToolbarImageProperties, VERSION, VerticalRuler, definePopup, editorStateActiveSubscriptionCount, isFieldLink, navigationPaneReservation, navigationShift, normalizeImageBytes, notificationYieldsToTask, useProvidedDocxEditor as provideDocxEditor, reviewGutter, useChromeTranslate, useContentControl, useContentControlInstance, useContentControlWidget, useContextMenuTarget, useDocumentOutline, useDocumentSearch, useDocxEditor, useDocxSource, useEditorCaret, useEditorCommand, useEditorEvent, useEditorSnapshot, useEditorState, useEditorValueCommand, useFontFamily, useFonts, useHeaderFooterState, useHighlightAt, useHighlights, useHistoryGroup, useHyperlinkPopup, useHyperlinkPopupInstance, useNavigationPane, useNavigationShift, useNotePropertiesState, useNoteScopeState, usePageSetup, usePageSetupDialog, useParagraphDialog, useParagraphFormat, useParagraphIndent, useParagraphStyle, useReviewAuthors, useReviewGutter, useRevisionMarkupDialog, useScopeClassName, useScopedChromeAnchor, useTableBorderTargetLabel, useTextFormFieldDialog, useToolbarContext, useToolbarLabel, useToolbarLabelFor, useTranslation, useZoom };
|
|
4638
|
+
export type { ChromeTranslate, ContentControlActionProps, ContentControlInspectorState, ContentControlLock, ContentControlPartProps, ContentControlProps, ContentControlSlotId, ContentControlWidgetDayProps, ContentControlWidgetEntry, ContentControlWidgetItemProps, ContentControlWidgetPictureProps, ContextMenuAnchor, ContextMenuCommandProps, ContextMenuContextValue, ContextMenuItemProps, ContextMenuTableRowProps, DialogCustomizationProps, DialogPartProps, DocxEditorAuthorStyleProps, DocxEditorChildren, DocxEditorContentControlNamespace, DocxEditorContentControlWidgetNamespace, DocxEditorContentControlWidgetPartProps, DocxEditorContentControlWidgetProps, DocxEditorContentProps, DocxEditorContextMenuNamespace, DocxEditorContextMenuProps, DocxEditorDocumentOutlineProps, DocxEditorExportDialogProps, DocxEditorFontNoticeProps, DocxEditorHeaderFooterChromeProps, DocxEditorHyperLinkNamespace, DocxEditorImageAltTextPopupProps, DocxEditorImagePropertiesDialogProps, DocxEditorInvalidTextFormFieldDialogProps, DocxEditorLoadingComponent, DocxEditorLoadingProps, DocxEditorLoadingSpinnerProps, DocxEditorMenuNamespace, DocxEditorMenuProps, DocxEditorNamespace, DocxEditorNavigationNamespace, DocxEditorNavigationProps, DocxEditorNotePreviewProps, DocxEditorNotePropertiesDialogProps, DocxEditorNotesChromeProps, DocxEditorNotesContextMenuProps, DocxEditorPageNumberProps, DocxEditorPageSetupDialogProps, DocxEditorParagraphDialogProps, DocxEditorPopup, DocxEditorPopups, DocxEditorPrintDialogProps, DocxEditorProps, DocxEditorRef, DocxEditorRevisionMarkupDialogProps, DocxEditorRevisionMarkupProps, DocxEditorRootListeners, DocxEditorRootProps, DocxEditorRulerProps, DocxEditorTextFormFieldDialogProps, DocxEditorToolbarNamespace, DocxEditorToolbarProps, DocxEditorViewportProps, DocxFontOrigin, DocxFontsInput, DocxFontsSource, DocxSource, EditorCaret, EditorCommandState, EditorMode, EditorValueCommandState, FontFamilyItemProps, FontFamilyNamespace, FontFamilyPartProps, FontFamilyProps, FontsInput, HeaderFooterState, HorizontalRulerProps$1 as HorizontalRulerProps, HyperLinkActionProps, HyperLinkPartProps, HyperLinkProps, HyperlinkPopupAnchor, HyperlinkPopupMode, HyperlinkPopupState, ImagePropertiesTriggerProps, IndentUpdate, LocaleProviderProps, MaybeRefOrGetter, MenuActionProps, MenuGroupProps, MenuId, MenuItemProps, MenuPartComponent, MenuProps, MenuReportIssueProps, MenuReviewersProps, MenuRowProps, MenuSeparatorProps, MenuSubmenuProps, MenuTableGridProps, NavigationPartProps, NavigationShiftInput, NavigationTabProps, NavigationTab$1 as NavigationTabValue, NormalizedImagePayload, NotePropertiesState, OutlineHeading$1 as OutlineHeading, OutlineHeadingItem, PageIndicatorProps, PageSetupDialogFields, PageSetupUpdate, PaginatedDocxEditorExpose, PaginatedDocxEditorHandle, PaginatedDocxEditorProps, PaginatedDocxEditorShellProps, ParagraphStyleItemProps, ParagraphStyleNamespace, ParagraphStyleOption, ParagraphStylePartProps, ParagraphStyleProps, ProvideDocxEditorResult, ReviewGutter, ReviewGutterInput, ReviewRailRegistry, ScopedChromeAnchor, SlotProps, TableBorderColorNamespace, TableBorderStyleNamespace, TableBorderTargetNamespace, TableBorderWidthNamespace, TableCellFillNamespace, TableChromeItemProps, TableChromePartComponent, TableChromePartProps, TextFormFieldDialogFields, ToolbarActionProps, ToolbarAlignmentComponent, ToolbarButtonProps$1 as ToolbarButtonProps, ToolbarContextValue, ToolbarPartComponent, ToolbarPartProps, ToolbarProps, ToolbarReviewersProps, ToolbarSeparatorProps, ToolbarSlotPartComponent, ToolbarSlotPartProps, ToolbarTranslate, UseContentControlResult, UseContentControlWidgetResult, UseDialogReturn, UseDocumentOutlineResult, UseDocumentSearchOptions, UseDocumentSearchResult, UseDocxSourceOptions, UseDocxSourceResult, UseFontFamilyResult, UseHistoryGroupReturn, UseHyperlinkPopupResult, UseNavigationPaneOptions, UseNavigationPaneResult, UsePageSetupDialogReturn, UsePageSetupReturn, UseParagraphDialogReturn, UseParagraphFormatReturn, UseParagraphIndentReturn, UseParagraphStyleResult, UseRevisionMarkupDialogReturn, UseTextFormFieldDialogReturn, UseZoomResult, VerticalRulerProps };
|