@docx-editor.dev/vue 2.7.0 → 2.8.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.cjs +3 -3
- package/dist/index.d.cts +142 -4
- package/dist/index.d.ts +142 -4
- package/dist/index.js +3 -3
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -848,10 +848,10 @@ declare const ToolbarAction: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
848
848
|
}>, {
|
|
849
849
|
disabledReason: string;
|
|
850
850
|
class: string;
|
|
851
|
+
active: boolean;
|
|
851
852
|
icon: VNode<vue.RendererNode, vue.RendererElement, {
|
|
852
853
|
[key: string]: any;
|
|
853
854
|
}>;
|
|
854
|
-
active: boolean;
|
|
855
855
|
disabled: boolean;
|
|
856
856
|
className: string;
|
|
857
857
|
asChild: boolean;
|
|
@@ -1444,10 +1444,10 @@ declare const MenuRow: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
1444
1444
|
}>> & Readonly<{}>, {
|
|
1445
1445
|
title: string;
|
|
1446
1446
|
slot: string;
|
|
1447
|
+
active: boolean;
|
|
1447
1448
|
icon: VNode<vue.RendererNode, vue.RendererElement, {
|
|
1448
1449
|
[key: string]: any;
|
|
1449
1450
|
}>;
|
|
1450
|
-
active: boolean;
|
|
1451
1451
|
disabled: boolean;
|
|
1452
1452
|
className: string;
|
|
1453
1453
|
selected: boolean;
|
|
@@ -2516,6 +2516,43 @@ declare const DocxEditorPageSetupDialog: vue.DefineComponent<vue.ExtractPropType
|
|
|
2516
2516
|
className: string;
|
|
2517
2517
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
2518
2518
|
|
|
2519
|
+
/** Props for `DocxEditorParagraphDialog`. @public */
|
|
2520
|
+
interface DocxEditorParagraphDialogProps {
|
|
2521
|
+
open: boolean;
|
|
2522
|
+
onClose: () => void;
|
|
2523
|
+
className?: string;
|
|
2524
|
+
}
|
|
2525
|
+
/** The Paragraph dialog, applied as one undoable command. @public */
|
|
2526
|
+
declare const DocxEditorParagraphDialog: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
2527
|
+
open: {
|
|
2528
|
+
type: BooleanConstructor;
|
|
2529
|
+
required: true;
|
|
2530
|
+
};
|
|
2531
|
+
onClose: {
|
|
2532
|
+
type: PropType<() => void>;
|
|
2533
|
+
required: true;
|
|
2534
|
+
};
|
|
2535
|
+
className: {
|
|
2536
|
+
type: StringConstructor;
|
|
2537
|
+
default: undefined;
|
|
2538
|
+
};
|
|
2539
|
+
}>, () => vue_jsx_runtime.JSX.Element | null, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
2540
|
+
open: {
|
|
2541
|
+
type: BooleanConstructor;
|
|
2542
|
+
required: true;
|
|
2543
|
+
};
|
|
2544
|
+
onClose: {
|
|
2545
|
+
type: PropType<() => void>;
|
|
2546
|
+
required: true;
|
|
2547
|
+
};
|
|
2548
|
+
className: {
|
|
2549
|
+
type: StringConstructor;
|
|
2550
|
+
default: undefined;
|
|
2551
|
+
};
|
|
2552
|
+
}>> & Readonly<{}>, {
|
|
2553
|
+
className: string;
|
|
2554
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
2555
|
+
|
|
2519
2556
|
/** Internal bridge from the batteries-included editor's `t` prop to this composition part. */
|
|
2520
2557
|
declare const PageNumberTranslationContext: InjectionKey<((key: string) => string) | null>;
|
|
2521
2558
|
/** Props for `DocxEditor.PageNumber`. @public */
|
|
@@ -4407,10 +4444,10 @@ declare const ContextMenuItem: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
4407
4444
|
};
|
|
4408
4445
|
}>> & Readonly<{}>, {
|
|
4409
4446
|
disabledReason: string;
|
|
4447
|
+
active: boolean;
|
|
4410
4448
|
icon: VNode<vue.RendererNode, vue.RendererElement, {
|
|
4411
4449
|
[key: string]: any;
|
|
4412
4450
|
}>;
|
|
4413
|
-
active: boolean;
|
|
4414
4451
|
disabled: boolean;
|
|
4415
4452
|
className: string;
|
|
4416
4453
|
onSelect: () => void;
|
|
@@ -4718,6 +4755,8 @@ interface DocxEditorNamespace {
|
|
|
4718
4755
|
readonly DocumentOutline: typeof DocxEditorDocumentOutline;
|
|
4719
4756
|
readonly Navigation: typeof Navigation;
|
|
4720
4757
|
readonly PageSetupDialog: typeof DocxEditorPageSetupDialog;
|
|
4758
|
+
/** The Paragraph dialog: alignment, indentation, spacing and the paragraph flags. */
|
|
4759
|
+
readonly ParagraphDialog: typeof DocxEditorParagraphDialog;
|
|
4721
4760
|
readonly PageNumber: typeof DocxEditorPageNumber;
|
|
4722
4761
|
readonly FontNotice: typeof DocxEditorFontNotice;
|
|
4723
4762
|
readonly HeaderFooterChrome: typeof DocxEditorHeaderFooterChrome;
|
|
@@ -4850,6 +4889,105 @@ interface UsePageSetupReturn {
|
|
|
4850
4889
|
/** @public */
|
|
4851
4890
|
declare function usePageSetup(): UsePageSetupReturn;
|
|
4852
4891
|
|
|
4892
|
+
/** One tri-state paragraph flag: on, off, or "the selection disagrees". @public */
|
|
4893
|
+
type ParagraphFlagState = boolean | null;
|
|
4894
|
+
/** One custom tab stop, as a control reads and writes it. @public */
|
|
4895
|
+
interface ParagraphTabStop {
|
|
4896
|
+
readonly positionTwips: number;
|
|
4897
|
+
readonly alignment: 'left' | 'center' | 'right' | 'decimal' | 'bar';
|
|
4898
|
+
readonly leader?: 'none' | 'dot' | 'hyphen' | 'underscore' | 'heavy' | 'middleDot';
|
|
4899
|
+
}
|
|
4900
|
+
/** What the Paragraph dialog reads: every field, as the selection currently stands. @public */
|
|
4901
|
+
interface ParagraphFormatRead {
|
|
4902
|
+
/**
|
|
4903
|
+
* `justify`, not OOXML's `both`. The engine speaks `w:jc` values; an adapter speaks the
|
|
4904
|
+
* word its consumers write. Read and write use the SAME spelling here, so a value that
|
|
4905
|
+
* comes out of `format` can go straight back into `apply`.
|
|
4906
|
+
*/
|
|
4907
|
+
readonly alignment: 'left' | 'center' | 'right' | 'justify' | null;
|
|
4908
|
+
readonly spaceBeforePt: number | null;
|
|
4909
|
+
readonly spaceAfterPt: number | null;
|
|
4910
|
+
readonly lineSpacing: {
|
|
4911
|
+
readonly rule: 'multiple' | 'exact' | 'atLeast';
|
|
4912
|
+
readonly value: number;
|
|
4913
|
+
} | null;
|
|
4914
|
+
readonly indentLeftTwips: number | null;
|
|
4915
|
+
readonly indentRightTwips: number | null;
|
|
4916
|
+
/** ONE signed first-line offset: negative is a hanging indent. */
|
|
4917
|
+
readonly indentFirstLineTwips: number | null;
|
|
4918
|
+
readonly contextualSpacing: ParagraphFlagState;
|
|
4919
|
+
readonly keepNext: ParagraphFlagState;
|
|
4920
|
+
readonly keepLines: ParagraphFlagState;
|
|
4921
|
+
readonly widowControl: ParagraphFlagState;
|
|
4922
|
+
readonly pageBreakBefore: ParagraphFlagState;
|
|
4923
|
+
/** Custom tab stops, cascade included. Null when the selection disagrees. */
|
|
4924
|
+
readonly tabStops: readonly ParagraphTabStop[] | null;
|
|
4925
|
+
/**
|
|
4926
|
+
* Which fields are `null` because the selection DISAGREES, as opposed to because nothing
|
|
4927
|
+
* states them.
|
|
4928
|
+
*
|
|
4929
|
+
* A `null` alone cannot tell those apart, and both readings shipped as bugs: a
|
|
4930
|
+
* disagreement rendered as a concrete value is uncorrectable, because the value that
|
|
4931
|
+
* would fix it is the one already on screen; an absent value rendered as "mixed" tells a
|
|
4932
|
+
* single paragraph it disagrees with itself.
|
|
4933
|
+
*/
|
|
4934
|
+
readonly disagrees: {
|
|
4935
|
+
readonly alignment: boolean;
|
|
4936
|
+
readonly spaceBeforePt: boolean;
|
|
4937
|
+
readonly spaceAfterPt: boolean;
|
|
4938
|
+
readonly lineSpacing: boolean;
|
|
4939
|
+
readonly tabStops: boolean;
|
|
4940
|
+
readonly indentLeft: boolean;
|
|
4941
|
+
readonly indentRight: boolean;
|
|
4942
|
+
readonly indentFirstLine: boolean;
|
|
4943
|
+
};
|
|
4944
|
+
/**
|
|
4945
|
+
* Whether the indent reads are UNKNOWN rather than disagreed.
|
|
4946
|
+
*
|
|
4947
|
+
* The engine reports no indent at all for a paragraph inside a table — correct, but not
|
|
4948
|
+
* placeable on a ruler. A control must not call that "mixed": one paragraph cannot
|
|
4949
|
+
* disagree with itself, and the commonest paragraph in a real document is in a cell.
|
|
4950
|
+
*/
|
|
4951
|
+
readonly indentUnknown: boolean;
|
|
4952
|
+
}
|
|
4953
|
+
/**
|
|
4954
|
+
* The fields `apply` accepts. Omitted fields are left as authored; `null` where allowed
|
|
4955
|
+
* REMOVES the setting so the style supplies it again, which is not the same as a zero.
|
|
4956
|
+
*
|
|
4957
|
+
* @public
|
|
4958
|
+
*/
|
|
4959
|
+
interface ParagraphFormatUpdate {
|
|
4960
|
+
readonly alignment?: 'left' | 'center' | 'right' | 'justify';
|
|
4961
|
+
readonly spaceBeforePt?: number | null;
|
|
4962
|
+
readonly spaceAfterPt?: number | null;
|
|
4963
|
+
readonly lineSpacing?: {
|
|
4964
|
+
readonly rule: 'multiple' | 'exact' | 'atLeast';
|
|
4965
|
+
readonly value: number;
|
|
4966
|
+
} | null;
|
|
4967
|
+
readonly indentLeftTwips?: number | null;
|
|
4968
|
+
readonly indentRightTwips?: number | null;
|
|
4969
|
+
readonly indentFirstLineTwips?: number | null;
|
|
4970
|
+
readonly contextualSpacing?: boolean;
|
|
4971
|
+
readonly keepNext?: boolean;
|
|
4972
|
+
readonly keepLines?: boolean;
|
|
4973
|
+
readonly widowControl?: boolean;
|
|
4974
|
+
readonly pageBreakBefore?: boolean;
|
|
4975
|
+
/** Replace the custom tab stops. An EMPTY list clears them; omit to leave them alone. */
|
|
4976
|
+
readonly tabStops?: readonly ParagraphTabStop[];
|
|
4977
|
+
}
|
|
4978
|
+
/** What `useParagraphFormat` returns. @public */
|
|
4979
|
+
interface UseParagraphFormatReturn {
|
|
4980
|
+
readonly format: ComputedRef<ParagraphFormatRead | null>;
|
|
4981
|
+
readonly isEnabled: ComputedRef<boolean>;
|
|
4982
|
+
readonly apply: (update: ParagraphFormatUpdate) => boolean;
|
|
4983
|
+
}
|
|
4984
|
+
/**
|
|
4985
|
+
* The selection's paragraph formatting, plus the command to change it.
|
|
4986
|
+
*
|
|
4987
|
+
* @public
|
|
4988
|
+
*/
|
|
4989
|
+
declare function useParagraphFormat(): UseParagraphFormatReturn;
|
|
4990
|
+
|
|
4853
4991
|
/** @public */
|
|
4854
4992
|
interface IndentUpdate {
|
|
4855
4993
|
readonly left?: number | null;
|
|
@@ -5969,4 +6107,4 @@ declare const TitleBarRight: vue.DefineComponent<{}, () => vue.VNode<vue.Rendere
|
|
|
5969
6107
|
[key: string]: any;
|
|
5970
6108
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
5971
6109
|
|
|
5972
|
-
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, 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, 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, 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 ParagraphStyleItemProps, type ParagraphStyleNamespace, type ParagraphStyleOption, type ParagraphStylePartProps, type ParagraphStyleProps, 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, 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 UseParagraphIndentReturn, type UseParagraphStyleResult, type UseZoomResult, VERSION, VerticalRuler, type VerticalRulerProps, editorStateActiveSubscriptionCount, isFieldLink, navigationPaneReservation, navigationShift, normalizeImageBytes, notificationYieldsToTask, 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, useParagraphIndent, useParagraphStyle, useReviewAuthors, useReviewGutter, useScopeClassName, useScopedChromeAnchor, useTableBorderTargetLabel, useToolbarContext, useToolbarLabel, useToolbarLabelFor, useTranslation, useZoom };
|
|
6110
|
+
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, 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, 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, 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, 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
|
@@ -848,10 +848,10 @@ declare const ToolbarAction: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
848
848
|
}>, {
|
|
849
849
|
disabledReason: string;
|
|
850
850
|
class: string;
|
|
851
|
+
active: boolean;
|
|
851
852
|
icon: VNode<vue.RendererNode, vue.RendererElement, {
|
|
852
853
|
[key: string]: any;
|
|
853
854
|
}>;
|
|
854
|
-
active: boolean;
|
|
855
855
|
disabled: boolean;
|
|
856
856
|
className: string;
|
|
857
857
|
asChild: boolean;
|
|
@@ -1444,10 +1444,10 @@ declare const MenuRow: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
1444
1444
|
}>> & Readonly<{}>, {
|
|
1445
1445
|
title: string;
|
|
1446
1446
|
slot: string;
|
|
1447
|
+
active: boolean;
|
|
1447
1448
|
icon: VNode<vue.RendererNode, vue.RendererElement, {
|
|
1448
1449
|
[key: string]: any;
|
|
1449
1450
|
}>;
|
|
1450
|
-
active: boolean;
|
|
1451
1451
|
disabled: boolean;
|
|
1452
1452
|
className: string;
|
|
1453
1453
|
selected: boolean;
|
|
@@ -2516,6 +2516,43 @@ declare const DocxEditorPageSetupDialog: vue.DefineComponent<vue.ExtractPropType
|
|
|
2516
2516
|
className: string;
|
|
2517
2517
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
2518
2518
|
|
|
2519
|
+
/** Props for `DocxEditorParagraphDialog`. @public */
|
|
2520
|
+
interface DocxEditorParagraphDialogProps {
|
|
2521
|
+
open: boolean;
|
|
2522
|
+
onClose: () => void;
|
|
2523
|
+
className?: string;
|
|
2524
|
+
}
|
|
2525
|
+
/** The Paragraph dialog, applied as one undoable command. @public */
|
|
2526
|
+
declare const DocxEditorParagraphDialog: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
2527
|
+
open: {
|
|
2528
|
+
type: BooleanConstructor;
|
|
2529
|
+
required: true;
|
|
2530
|
+
};
|
|
2531
|
+
onClose: {
|
|
2532
|
+
type: PropType<() => void>;
|
|
2533
|
+
required: true;
|
|
2534
|
+
};
|
|
2535
|
+
className: {
|
|
2536
|
+
type: StringConstructor;
|
|
2537
|
+
default: undefined;
|
|
2538
|
+
};
|
|
2539
|
+
}>, () => vue_jsx_runtime.JSX.Element | null, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
2540
|
+
open: {
|
|
2541
|
+
type: BooleanConstructor;
|
|
2542
|
+
required: true;
|
|
2543
|
+
};
|
|
2544
|
+
onClose: {
|
|
2545
|
+
type: PropType<() => void>;
|
|
2546
|
+
required: true;
|
|
2547
|
+
};
|
|
2548
|
+
className: {
|
|
2549
|
+
type: StringConstructor;
|
|
2550
|
+
default: undefined;
|
|
2551
|
+
};
|
|
2552
|
+
}>> & Readonly<{}>, {
|
|
2553
|
+
className: string;
|
|
2554
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
2555
|
+
|
|
2519
2556
|
/** Internal bridge from the batteries-included editor's `t` prop to this composition part. */
|
|
2520
2557
|
declare const PageNumberTranslationContext: InjectionKey<((key: string) => string) | null>;
|
|
2521
2558
|
/** Props for `DocxEditor.PageNumber`. @public */
|
|
@@ -4407,10 +4444,10 @@ declare const ContextMenuItem: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
4407
4444
|
};
|
|
4408
4445
|
}>> & Readonly<{}>, {
|
|
4409
4446
|
disabledReason: string;
|
|
4447
|
+
active: boolean;
|
|
4410
4448
|
icon: VNode<vue.RendererNode, vue.RendererElement, {
|
|
4411
4449
|
[key: string]: any;
|
|
4412
4450
|
}>;
|
|
4413
|
-
active: boolean;
|
|
4414
4451
|
disabled: boolean;
|
|
4415
4452
|
className: string;
|
|
4416
4453
|
onSelect: () => void;
|
|
@@ -4718,6 +4755,8 @@ interface DocxEditorNamespace {
|
|
|
4718
4755
|
readonly DocumentOutline: typeof DocxEditorDocumentOutline;
|
|
4719
4756
|
readonly Navigation: typeof Navigation;
|
|
4720
4757
|
readonly PageSetupDialog: typeof DocxEditorPageSetupDialog;
|
|
4758
|
+
/** The Paragraph dialog: alignment, indentation, spacing and the paragraph flags. */
|
|
4759
|
+
readonly ParagraphDialog: typeof DocxEditorParagraphDialog;
|
|
4721
4760
|
readonly PageNumber: typeof DocxEditorPageNumber;
|
|
4722
4761
|
readonly FontNotice: typeof DocxEditorFontNotice;
|
|
4723
4762
|
readonly HeaderFooterChrome: typeof DocxEditorHeaderFooterChrome;
|
|
@@ -4850,6 +4889,105 @@ interface UsePageSetupReturn {
|
|
|
4850
4889
|
/** @public */
|
|
4851
4890
|
declare function usePageSetup(): UsePageSetupReturn;
|
|
4852
4891
|
|
|
4892
|
+
/** One tri-state paragraph flag: on, off, or "the selection disagrees". @public */
|
|
4893
|
+
type ParagraphFlagState = boolean | null;
|
|
4894
|
+
/** One custom tab stop, as a control reads and writes it. @public */
|
|
4895
|
+
interface ParagraphTabStop {
|
|
4896
|
+
readonly positionTwips: number;
|
|
4897
|
+
readonly alignment: 'left' | 'center' | 'right' | 'decimal' | 'bar';
|
|
4898
|
+
readonly leader?: 'none' | 'dot' | 'hyphen' | 'underscore' | 'heavy' | 'middleDot';
|
|
4899
|
+
}
|
|
4900
|
+
/** What the Paragraph dialog reads: every field, as the selection currently stands. @public */
|
|
4901
|
+
interface ParagraphFormatRead {
|
|
4902
|
+
/**
|
|
4903
|
+
* `justify`, not OOXML's `both`. The engine speaks `w:jc` values; an adapter speaks the
|
|
4904
|
+
* word its consumers write. Read and write use the SAME spelling here, so a value that
|
|
4905
|
+
* comes out of `format` can go straight back into `apply`.
|
|
4906
|
+
*/
|
|
4907
|
+
readonly alignment: 'left' | 'center' | 'right' | 'justify' | null;
|
|
4908
|
+
readonly spaceBeforePt: number | null;
|
|
4909
|
+
readonly spaceAfterPt: number | null;
|
|
4910
|
+
readonly lineSpacing: {
|
|
4911
|
+
readonly rule: 'multiple' | 'exact' | 'atLeast';
|
|
4912
|
+
readonly value: number;
|
|
4913
|
+
} | null;
|
|
4914
|
+
readonly indentLeftTwips: number | null;
|
|
4915
|
+
readonly indentRightTwips: number | null;
|
|
4916
|
+
/** ONE signed first-line offset: negative is a hanging indent. */
|
|
4917
|
+
readonly indentFirstLineTwips: number | null;
|
|
4918
|
+
readonly contextualSpacing: ParagraphFlagState;
|
|
4919
|
+
readonly keepNext: ParagraphFlagState;
|
|
4920
|
+
readonly keepLines: ParagraphFlagState;
|
|
4921
|
+
readonly widowControl: ParagraphFlagState;
|
|
4922
|
+
readonly pageBreakBefore: ParagraphFlagState;
|
|
4923
|
+
/** Custom tab stops, cascade included. Null when the selection disagrees. */
|
|
4924
|
+
readonly tabStops: readonly ParagraphTabStop[] | null;
|
|
4925
|
+
/**
|
|
4926
|
+
* Which fields are `null` because the selection DISAGREES, as opposed to because nothing
|
|
4927
|
+
* states them.
|
|
4928
|
+
*
|
|
4929
|
+
* A `null` alone cannot tell those apart, and both readings shipped as bugs: a
|
|
4930
|
+
* disagreement rendered as a concrete value is uncorrectable, because the value that
|
|
4931
|
+
* would fix it is the one already on screen; an absent value rendered as "mixed" tells a
|
|
4932
|
+
* single paragraph it disagrees with itself.
|
|
4933
|
+
*/
|
|
4934
|
+
readonly disagrees: {
|
|
4935
|
+
readonly alignment: boolean;
|
|
4936
|
+
readonly spaceBeforePt: boolean;
|
|
4937
|
+
readonly spaceAfterPt: boolean;
|
|
4938
|
+
readonly lineSpacing: boolean;
|
|
4939
|
+
readonly tabStops: boolean;
|
|
4940
|
+
readonly indentLeft: boolean;
|
|
4941
|
+
readonly indentRight: boolean;
|
|
4942
|
+
readonly indentFirstLine: boolean;
|
|
4943
|
+
};
|
|
4944
|
+
/**
|
|
4945
|
+
* Whether the indent reads are UNKNOWN rather than disagreed.
|
|
4946
|
+
*
|
|
4947
|
+
* The engine reports no indent at all for a paragraph inside a table — correct, but not
|
|
4948
|
+
* placeable on a ruler. A control must not call that "mixed": one paragraph cannot
|
|
4949
|
+
* disagree with itself, and the commonest paragraph in a real document is in a cell.
|
|
4950
|
+
*/
|
|
4951
|
+
readonly indentUnknown: boolean;
|
|
4952
|
+
}
|
|
4953
|
+
/**
|
|
4954
|
+
* The fields `apply` accepts. Omitted fields are left as authored; `null` where allowed
|
|
4955
|
+
* REMOVES the setting so the style supplies it again, which is not the same as a zero.
|
|
4956
|
+
*
|
|
4957
|
+
* @public
|
|
4958
|
+
*/
|
|
4959
|
+
interface ParagraphFormatUpdate {
|
|
4960
|
+
readonly alignment?: 'left' | 'center' | 'right' | 'justify';
|
|
4961
|
+
readonly spaceBeforePt?: number | null;
|
|
4962
|
+
readonly spaceAfterPt?: number | null;
|
|
4963
|
+
readonly lineSpacing?: {
|
|
4964
|
+
readonly rule: 'multiple' | 'exact' | 'atLeast';
|
|
4965
|
+
readonly value: number;
|
|
4966
|
+
} | null;
|
|
4967
|
+
readonly indentLeftTwips?: number | null;
|
|
4968
|
+
readonly indentRightTwips?: number | null;
|
|
4969
|
+
readonly indentFirstLineTwips?: number | null;
|
|
4970
|
+
readonly contextualSpacing?: boolean;
|
|
4971
|
+
readonly keepNext?: boolean;
|
|
4972
|
+
readonly keepLines?: boolean;
|
|
4973
|
+
readonly widowControl?: boolean;
|
|
4974
|
+
readonly pageBreakBefore?: boolean;
|
|
4975
|
+
/** Replace the custom tab stops. An EMPTY list clears them; omit to leave them alone. */
|
|
4976
|
+
readonly tabStops?: readonly ParagraphTabStop[];
|
|
4977
|
+
}
|
|
4978
|
+
/** What `useParagraphFormat` returns. @public */
|
|
4979
|
+
interface UseParagraphFormatReturn {
|
|
4980
|
+
readonly format: ComputedRef<ParagraphFormatRead | null>;
|
|
4981
|
+
readonly isEnabled: ComputedRef<boolean>;
|
|
4982
|
+
readonly apply: (update: ParagraphFormatUpdate) => boolean;
|
|
4983
|
+
}
|
|
4984
|
+
/**
|
|
4985
|
+
* The selection's paragraph formatting, plus the command to change it.
|
|
4986
|
+
*
|
|
4987
|
+
* @public
|
|
4988
|
+
*/
|
|
4989
|
+
declare function useParagraphFormat(): UseParagraphFormatReturn;
|
|
4990
|
+
|
|
4853
4991
|
/** @public */
|
|
4854
4992
|
interface IndentUpdate {
|
|
4855
4993
|
readonly left?: number | null;
|
|
@@ -5969,4 +6107,4 @@ declare const TitleBarRight: vue.DefineComponent<{}, () => vue.VNode<vue.Rendere
|
|
|
5969
6107
|
[key: string]: any;
|
|
5970
6108
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
5971
6109
|
|
|
5972
|
-
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, 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, 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, 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 ParagraphStyleItemProps, type ParagraphStyleNamespace, type ParagraphStyleOption, type ParagraphStylePartProps, type ParagraphStyleProps, 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, 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 UseParagraphIndentReturn, type UseParagraphStyleResult, type UseZoomResult, VERSION, VerticalRuler, type VerticalRulerProps, editorStateActiveSubscriptionCount, isFieldLink, navigationPaneReservation, navigationShift, normalizeImageBytes, notificationYieldsToTask, 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, useParagraphIndent, useParagraphStyle, useReviewAuthors, useReviewGutter, useScopeClassName, useScopedChromeAnchor, useTableBorderTargetLabel, useToolbarContext, useToolbarLabel, useToolbarLabelFor, useTranslation, useZoom };
|
|
6110
|
+
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, 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, 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, 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, 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 };
|