@docx-editor.dev/vue 2.27.0 → 2.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,7 +1,12 @@
1
+ /**
2
+ * @docx-editor.dev/vue
3
+ * @packageDocumentation
4
+ * @public
5
+ */
1
6
  import * as vue from 'vue';
2
7
  import { Ref, VNode, CSSProperties, PropType, VNodeChild, Component, FunctionalComponent, VNodeProps, AllowedComponentProps, ComponentCustomProps, ShallowRef, InjectionKey, MaybeRef, ComputedRef, MaybeRefOrGetter as MaybeRefOrGetter$1 } from 'vue';
3
8
  import * as vue_jsx_runtime from 'vue/jsx-runtime';
4
- import { RevisionMarkupDialogSession, ResolvedRevisionMarkup, RevisionMarkupOptions, ChromeExportFormat, ContentControlWidgetSession, CalendarMonth, ContentControlListNavigation, CalendarDay, InvalidTextFormFieldSession, TextFormFieldDialogSession, ParagraphDialogFields, ParagraphDialogMixed, ChromeMenuId, ChromeSlotId, ChromeMenuEntry, FontConfigurationFragment, FontResolver, EditorModule, ReviewDisplayMode, ImageDecodePort, DocxEditorInstance, SupportedImageMime, TableChromeSlotId, ChromeExportHandlers, DocumentSearchHighlight, DocumentSearchFindOptions, RevisionAuthorStyle, ReviewAuthorInfo, EditorCommandExecute, ToolbarValueMap, HighlightSource, ParagraphFormatRead, ParagraphFormatUpdate, MarkedFontResolver, FontOrigin, SurfaceHyperlink, RulerIndent, TextMeasurer, PaginatedSurfaceState, NavigationCommand, SurfaceFormatting, SectionProperties, HistoryGroupBindingOptions } from '@docx-editor.dev/core/editor';
9
+ import { RevisionMarkupDialogSession, ResolvedRevisionMarkup, RevisionMarkupOptions, ChromeExportFormat, ContentControlWidgetSession, CalendarMonth, ContentControlListNavigation, CalendarDay, InvalidTextFormFieldSession, TextFormFieldDialogSession, ParagraphDialogFields, ParagraphDialogMixed, ChromeMenuId, ChromeSlotId, ChromeMenuEntry, FontConfigurationFragment, FontResolver, EditorModule, ReviewDisplayMode, FieldResultsMode, ImageDecodePort, DocxEditorInstance, ChromeGroupId, SupportedImageMime, TableChromeSlotId, ChromeExportHandlers, DocumentSearchHighlight, DocumentSearchFindOptions, RevisionAuthorStyle, ReviewAuthorInfo, EditorCommandExecute, ToolbarValueMap, HighlightSource, ParagraphFormatRead, ParagraphFormatUpdate, MarkedFontResolver, FontOrigin, SurfaceHyperlink, RulerIndent, TextMeasurer, PaginatedSurfaceState, NavigationCommand, SurfaceFormatting, SectionProperties, HistoryGroupBindingOptions } from '@docx-editor.dev/core/editor';
5
10
  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';
6
11
  import * as _docx_editor_dev_core from '@docx-editor.dev/core';
7
12
  import { ContentControlType, ContentControlSummary } from '@docx-editor.dev/core';
@@ -2937,9 +2942,20 @@ declare function useToolbarLabelFor(t: ToolbarTranslate | undefined): (key: stri
2937
2942
  /** @public */
2938
2943
  type MenuId = ChromeMenuId | (string & {});
2939
2944
 
2940
- interface MenuSubmenuProps {
2945
+ /**
2946
+ * Props for `DocxEditor.Menu.Submenu`. Set `labelKey` or `label`. A submenu with neither has
2947
+ * no name, with a development warning. An interface, so a host can extend it.
2948
+ *
2949
+ * @public
2950
+ */
2951
+ interface MenuSubmenuProps extends MenuSubmenuBaseProps {
2941
2952
  /** i18n key of the parent row's label. */
2942
- labelKey: string;
2953
+ labelKey?: string;
2954
+ /** Literal parent row label, already resolved. Wins over `labelKey`. */
2955
+ label?: string;
2956
+ }
2957
+ /** The props every `Menu.Submenu` takes besides its label. @public */
2958
+ interface MenuSubmenuBaseProps {
2943
2959
  /** Material Symbols paths for the parent row's icon. */
2944
2960
  paths?: readonly string[] | null;
2945
2961
  className?: string;
@@ -2958,7 +2974,11 @@ interface MenuSubmenuProps {
2958
2974
  declare const MenuSubmenu: vue.DefineComponent<vue.ExtractPropTypes<{
2959
2975
  labelKey: {
2960
2976
  type: StringConstructor;
2961
- required: true;
2977
+ default: undefined;
2978
+ };
2979
+ label: {
2980
+ type: StringConstructor;
2981
+ default: undefined;
2962
2982
  };
2963
2983
  paths: {
2964
2984
  type: PropType<readonly string[] | null>;
@@ -2971,7 +2991,11 @@ declare const MenuSubmenu: vue.DefineComponent<vue.ExtractPropTypes<{
2971
2991
  }>, () => vue_jsx_runtime.JSX.Element, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
2972
2992
  labelKey: {
2973
2993
  type: StringConstructor;
2974
- required: true;
2994
+ default: undefined;
2995
+ };
2996
+ label: {
2997
+ type: StringConstructor;
2998
+ default: undefined;
2975
2999
  };
2976
3000
  paths: {
2977
3001
  type: PropType<readonly string[] | null>;
@@ -2982,6 +3006,8 @@ declare const MenuSubmenu: vue.DefineComponent<vue.ExtractPropTypes<{
2982
3006
  default: undefined;
2983
3007
  };
2984
3008
  }>> & Readonly<{}>, {
3009
+ labelKey: string;
3010
+ label: string;
2985
3011
  paths: readonly string[] | null;
2986
3012
  className: string;
2987
3013
  }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
@@ -2992,8 +3018,8 @@ interface MenuTableGridProps {
2992
3018
  className?: string;
2993
3019
  }
2994
3020
  /**
2995
- * Word's insert-table size picker: a 6×6 grid that highlights as the pointer sweeps it
2996
- * and reads back the size underneath.
3021
+ * The insert-table size picker: a 6×6 grid that highlights as the pointer sweeps it and
3022
+ * reads back the size underneath. A pick inserts the table and closes the menu bar.
2997
3023
  *
2998
3024
  * Rendered only when the engine will honour an insert (see `MenuTablePicker`). A panel
2999
3025
  * that opens onto a grid nothing can be picked from is worse than no panel: the row
@@ -3244,16 +3270,31 @@ declare const MenuGroup: vue.DefineComponent<vue.ExtractPropTypes<{
3244
3270
  className: string;
3245
3271
  hidden: boolean;
3246
3272
  }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
3247
- /** Props for `DocxEditor.Menu.Item`: one chrome slot as a menu row. @public */
3248
- interface MenuItemProps {
3273
+ /**
3274
+ * Props for `DocxEditor.Menu.Item`: one chrome slot as a menu row. Set `slotId`. A row with
3275
+ * neither `slotId` nor the deprecated `slot` renders nothing, with a development warning.
3276
+ * An interface, so a host can extend it.
3277
+ *
3278
+ * @public
3279
+ */
3280
+ interface MenuItemProps extends MenuItemBaseProps {
3249
3281
  /** The chrome slot this row drives (`'text.bold'`, `'insert.pageBreak'`, …). */
3250
- slot: ChromeSlotId;
3282
+ slotId?: ChromeSlotId;
3283
+ /** @deprecated Use `slotId`. Still read in this release, with a development warning. */
3284
+ slot?: ChromeSlotId;
3285
+ }
3286
+ /** The props every `Menu.Item` takes besides the slot it names. @public */
3287
+ interface MenuItemBaseProps {
3251
3288
  /** Plain-label i18n key, overriding the slot's tooltip-shaped one. */
3252
3289
  labelKey?: string;
3253
3290
  /** i18n key of the shortcut shown in the right column. */
3254
3291
  shortcutKey?: string;
3255
3292
  className?: string;
3256
- /** Render nothing — inside a packaged menu this removes the row. */
3293
+ /**
3294
+ * Render nothing: inside a packaged menu this removes the row in place. A named row part
3295
+ * with `hidden`, such as `<ContextMenu.Cut hidden />`, is shorthand for this override
3296
+ * with that row's `slotId`.
3297
+ */
3257
3298
  hidden?: boolean;
3258
3299
  }
3259
3300
  /**
@@ -3264,9 +3305,13 @@ interface MenuItemProps {
3264
3305
  * @public
3265
3306
  */
3266
3307
  declare const MenuItem: vue.DefineComponent<vue.ExtractPropTypes<{
3308
+ slotId: {
3309
+ type: PropType<ChromeSlotId>;
3310
+ default: undefined;
3311
+ };
3267
3312
  slot: {
3268
3313
  type: PropType<ChromeSlotId>;
3269
- required: true;
3314
+ default: undefined;
3270
3315
  };
3271
3316
  labelKey: {
3272
3317
  type: StringConstructor;
@@ -3285,9 +3330,13 @@ declare const MenuItem: vue.DefineComponent<vue.ExtractPropTypes<{
3285
3330
  default: undefined;
3286
3331
  };
3287
3332
  }>, () => vue_jsx_runtime.JSX.Element | null, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
3333
+ slotId: {
3334
+ type: PropType<ChromeSlotId>;
3335
+ default: undefined;
3336
+ };
3288
3337
  slot: {
3289
3338
  type: PropType<ChromeSlotId>;
3290
- required: true;
3339
+ default: undefined;
3291
3340
  };
3292
3341
  labelKey: {
3293
3342
  type: StringConstructor;
@@ -3306,6 +3355,8 @@ declare const MenuItem: vue.DefineComponent<vue.ExtractPropTypes<{
3306
3355
  default: undefined;
3307
3356
  };
3308
3357
  }>> & Readonly<{}>, {
3358
+ slotId: ChromeSlotId;
3359
+ slot: ChromeSlotId;
3309
3360
  labelKey: string;
3310
3361
  shortcutKey: string;
3311
3362
  className: string;
@@ -3829,91 +3880,6 @@ interface MenuPartComponent {
3829
3880
  (props: Omit<MenuProps, 'id'>): VNode;
3830
3881
  readonly docxMenu: ChromeMenuId;
3831
3882
  }
3832
- /** Props for `DocxEditor.Menu.ReportIssue`. @public */
3833
- interface MenuReportIssueProps {
3834
- className?: string;
3835
- /** Render nothing — inside the packaged Help menu this removes the row. */
3836
- hidden?: boolean;
3837
- /** Replaces the packaged handler. Falls back to the menu's `onReportIssue`, then to
3838
- * this project's own tracker. */
3839
- onSelect?: () => void;
3840
- }
3841
- /**
3842
- * The report-issue row, with its row-identity marker.
3843
- *
3844
- * The key is NOT a `ChromeSlotId` — the row is React's, not the shared registry's — but the
3845
- * merge only needs a stable string, and using one here is what lets a host write
3846
- * `<Menu.ReportIssue hidden/>` and have it REPLACE the packaged row rather than render a
3847
- * second, invisible one beside it.
3848
- *
3849
- * @public
3850
- */
3851
- declare const MenuReportIssue: {
3852
- new (...args: any[]): vue.CreateComponentPublicInstanceWithMixins<Readonly<vue.ExtractPropTypes<{
3853
- className: {
3854
- type: StringConstructor;
3855
- default: undefined;
3856
- };
3857
- hidden: {
3858
- type: BooleanConstructor;
3859
- default: undefined;
3860
- };
3861
- onSelect: {
3862
- type: PropType<() => void>;
3863
- default: undefined;
3864
- };
3865
- }>> & Readonly<{}>, () => vue_jsx_runtime.JSX.Element | null, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, vue.PublicProps, {
3866
- className: string;
3867
- hidden: boolean;
3868
- onSelect: () => void;
3869
- }, true, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
3870
- P: {};
3871
- B: {};
3872
- D: {};
3873
- C: {};
3874
- M: {};
3875
- Defaults: {};
3876
- }, Readonly<vue.ExtractPropTypes<{
3877
- className: {
3878
- type: StringConstructor;
3879
- default: undefined;
3880
- };
3881
- hidden: {
3882
- type: BooleanConstructor;
3883
- default: undefined;
3884
- };
3885
- onSelect: {
3886
- type: PropType<() => void>;
3887
- default: undefined;
3888
- };
3889
- }>> & Readonly<{}>, () => vue_jsx_runtime.JSX.Element | null, {}, {}, {}, {
3890
- className: string;
3891
- hidden: boolean;
3892
- onSelect: () => void;
3893
- }>;
3894
- __isFragment?: never;
3895
- __isTeleport?: never;
3896
- __isSuspense?: never;
3897
- } & vue.ComponentOptionsBase<Readonly<vue.ExtractPropTypes<{
3898
- className: {
3899
- type: StringConstructor;
3900
- default: undefined;
3901
- };
3902
- hidden: {
3903
- type: BooleanConstructor;
3904
- default: undefined;
3905
- };
3906
- onSelect: {
3907
- type: PropType<() => void>;
3908
- default: undefined;
3909
- };
3910
- }>> & Readonly<{}>, () => vue_jsx_runtime.JSX.Element | null, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, {
3911
- className: string;
3912
- hidden: boolean;
3913
- onSelect: () => void;
3914
- }, {}, string, {}, vue.GlobalComponents, vue.GlobalDirectives, string, vue.ComponentProvideOptions> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {
3915
- docxSlot: string;
3916
- };
3917
3883
 
3918
3884
  /** Props for a packaged context-menu row. @public */
3919
3885
  interface ContextMenuCommandProps {
@@ -5844,6 +5810,13 @@ interface DocxEditorRootProps {
5844
5810
  onRevisionMarkupChange?: (settings: ResolvedRevisionMarkup) => void;
5845
5811
  /** Initial revision display mode. */
5846
5812
  reviewDisplayMode?: ReviewDisplayMode;
5813
+ /**
5814
+ * How the reader edits saved field results. `'atomic'` (the default) keeps every field one
5815
+ * unit. `'editable'` allows typing, deletion, and selection inside the saved result of a
5816
+ * DATE, MERGEFIELD, HYPERLINK, or similar field. Read once, when the editor is created: a later change is ignored, with a development warning. Refused
5817
+ * with a collaboration module.
5818
+ */
5819
+ fieldResults?: FieldResultsMode;
5847
5820
  tableInteractionLabel?: (key: 'table.insertRowBelow' | 'table.insertColumnRight') => string;
5848
5821
  imageDecodePort?: ImageDecodePort;
5849
5822
  onReady?: (editor: Editor) => void;
@@ -5919,6 +5892,10 @@ declare const DocxEditorRoot: vue.DefineComponent<vue.ExtractPropTypes<{
5919
5892
  };
5920
5893
  revisionMarkup: PropType<RevisionMarkupOptions>;
5921
5894
  reviewDisplayMode: PropType<ReviewDisplayMode>;
5895
+ fieldResults: {
5896
+ type: PropType<FieldResultsMode>;
5897
+ default: undefined;
5898
+ };
5922
5899
  zoom: {
5923
5900
  type: NumberConstructor;
5924
5901
  default: undefined;
@@ -5974,6 +5951,10 @@ declare const DocxEditorRoot: vue.DefineComponent<vue.ExtractPropTypes<{
5974
5951
  };
5975
5952
  revisionMarkup: PropType<RevisionMarkupOptions>;
5976
5953
  reviewDisplayMode: PropType<ReviewDisplayMode>;
5954
+ fieldResults: {
5955
+ type: PropType<FieldResultsMode>;
5956
+ default: undefined;
5957
+ };
5977
5958
  zoom: {
5978
5959
  type: NumberConstructor;
5979
5960
  default: undefined;
@@ -6003,6 +5984,7 @@ declare const DocxEditorRoot: vue.DefineComponent<vue.ExtractPropTypes<{
6003
5984
  translate: ((key: string, params?: Record<string, string | number>) => string) | undefined;
6004
5985
  modules: readonly EditorModule[];
6005
5986
  mode: "edit" | "suggesting" | "view";
5987
+ fieldResults: FieldResultsMode;
6006
5988
  zoom: number;
6007
5989
  zoomMode: "auto" | ZoomMode;
6008
5990
  tableInteractionLabel: ((key: 'table.insertRowBelow' | 'table.insertColumnRight') => string) | undefined;
@@ -6083,12 +6065,27 @@ declare const DocxEditorContent: vue.DefineComponent<vue.ExtractPropTypes<{
6083
6065
  className: string;
6084
6066
  }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
6085
6067
 
6086
- /** Props for `DocxEditor.Loading`. @public */
6068
+ /**
6069
+ * Props for `DocxEditor.Loading`. Two slots replace parts of the packaged screen: `indicator`
6070
+ * replaces only the spinner and, with `overlay`, moves onto the document's first page while a
6071
+ * large document lays out its remaining pages; `default` replaces the whole first screen.
6072
+ *
6073
+ * ```vue
6074
+ * <DocxEditor.Loading overlay>
6075
+ * <template #indicator><MyLogoSpinner label="Opening document" /></template>
6076
+ * </DocxEditor.Loading>
6077
+ * ```
6078
+ *
6079
+ * @public
6080
+ */
6087
6081
  interface DocxEditorLoadingProps {
6088
6082
  when?: boolean;
6089
6083
  overlay?: boolean;
6090
6084
  className?: string;
6091
6085
  style?: CSSProperties;
6086
+ /** The `indicator` slot: your own indicator, in place of the packaged spinner. */
6087
+ indicator?: DocxEditorChildren;
6088
+ /** The default slot: the whole first loading screen. */
6092
6089
  children?: DocxEditorChildren;
6093
6090
  }
6094
6091
  /** Props for `DocxEditor.Loading.Spinner`. @public */
@@ -6121,19 +6118,34 @@ declare const DocxEditorLoading: DocxEditorLoadingComponent;
6121
6118
 
6122
6119
  /** @public */
6123
6120
  interface ToolbarButtonProps {
6124
- slot: ChromeSlotId;
6121
+ /**
6122
+ * The chrome slot this button drives (`'text.bold'`, `'history.undo'`, ...). A button with
6123
+ * neither `slotId` nor the deprecated `slot` renders nothing, with a development warning.
6124
+ */
6125
+ slotId?: ChromeSlotId;
6126
+ /** @deprecated Use `slotId`. Still read in this release, with a development warning. */
6127
+ slot?: ChromeSlotId;
6125
6128
  icon?: DocxEditorChildren;
6126
6129
  asChild?: boolean;
6127
6130
  class?: string;
6128
6131
  className?: string;
6129
6132
  children?: DocxEditorChildren;
6133
+ /**
6134
+ * Render nothing: inside the default arrangement this removes the slot in place. A named
6135
+ * part is shorthand for the slot override, so `<Toolbar.Bold hidden />` is
6136
+ * `<Toolbar.Slot slotId="text.bold" hidden />`.
6137
+ */
6130
6138
  hidden?: boolean;
6131
6139
  }
6132
6140
  /** @public */
6133
6141
  declare const ToolbarButton$1: vue.DefineComponent<vue.ExtractPropTypes<{
6142
+ slotId: {
6143
+ type: PropType<ChromeSlotId>;
6144
+ default: undefined;
6145
+ };
6134
6146
  slot: {
6135
6147
  type: PropType<ChromeSlotId>;
6136
- required: true;
6148
+ default: undefined;
6137
6149
  };
6138
6150
  icon: {
6139
6151
  type: PropType<VNode>;
@@ -6158,9 +6170,13 @@ declare const ToolbarButton$1: vue.DefineComponent<vue.ExtractPropTypes<{
6158
6170
  }>, () => VNode<vue.RendererNode, vue.RendererElement, {
6159
6171
  [key: string]: any;
6160
6172
  }> | null, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
6173
+ slotId: {
6174
+ type: PropType<ChromeSlotId>;
6175
+ default: undefined;
6176
+ };
6161
6177
  slot: {
6162
6178
  type: PropType<ChromeSlotId>;
6163
- required: true;
6179
+ default: undefined;
6164
6180
  };
6165
6181
  icon: {
6166
6182
  type: PropType<VNode>;
@@ -6183,6 +6199,8 @@ declare const ToolbarButton$1: vue.DefineComponent<vue.ExtractPropTypes<{
6183
6199
  default: undefined;
6184
6200
  };
6185
6201
  }>> & Readonly<{}>, {
6202
+ slotId: ChromeSlotId;
6203
+ slot: ChromeSlotId;
6186
6204
  icon: VNode<vue.RendererNode, vue.RendererElement, {
6187
6205
  [key: string]: any;
6188
6206
  }>;
@@ -6192,88 +6210,491 @@ declare const ToolbarButton$1: vue.DefineComponent<vue.ExtractPropTypes<{
6192
6210
  hidden: boolean;
6193
6211
  }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
6194
6212
 
6195
- /** @public */
6196
- declare const ImageInsertProvider: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
6197
- [key: string]: any;
6198
- }>[], {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
6199
- /** @public */
6200
- declare const ImageInsertTrigger: vue.DefineComponent<vue.ExtractPropTypes<{
6201
- className: {
6202
- type: StringConstructor;
6203
- default: undefined;
6204
- };
6205
- hidden: {
6206
- type: BooleanConstructor;
6207
- default: undefined;
6208
- };
6209
- asChild: {
6210
- type: BooleanConstructor;
6211
- default: undefined;
6212
- };
6213
- }>, () => vue_jsx_runtime.JSX.Element | null, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
6214
- className: {
6215
- type: StringConstructor;
6216
- default: undefined;
6217
- };
6218
- hidden: {
6219
- type: BooleanConstructor;
6220
- default: undefined;
6221
- };
6222
- asChild: {
6223
- type: BooleanConstructor;
6224
- default: undefined;
6225
- };
6226
- }>> & Readonly<{}>, {
6227
- className: string;
6228
- hidden: boolean;
6229
- asChild: boolean;
6230
- }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
6231
-
6232
- /** @public */
6233
- interface ImageWrapProps {
6234
- className?: string;
6213
+ /** Props for `DocxEditor.Toolbar.Group`. @public */
6214
+ interface DocxEditorToolbarGroupProps {
6215
+ /**
6216
+ * The group id. A built-in id (`'history'`, `'font'`, `'text'`, `'review'`, ...) adds the
6217
+ * children to that group, after its own controls. Any other id makes a host group.
6218
+ */
6219
+ id: ChromeGroupId | (string & {});
6220
+ /**
6221
+ * Catalog key for the host group's "⋯" panel heading and accessible name. It goes through
6222
+ * the toolbar's `t` and the locale catalog. Built-in groups keep their own label.
6223
+ */
6224
+ labelKey?: string;
6225
+ /**
6226
+ * Literal heading and accessible name for a host group. It wins over `labelKey`. Without
6227
+ * either, the heading is `id`. Built-in groups keep their own label.
6228
+ */
6229
+ label?: string;
6230
+ /**
6231
+ * Collapse priority. A lower number leaves the bar first. Built-in groups use 10 (zoom)
6232
+ * through 90 (history) in steps of 10. A host group without a priority collapses before
6233
+ * every built-in group.
6234
+ */
6235
+ priority?: number;
6236
+ /** `true` keeps the group in the bar at every width, like the review group. */
6237
+ pinned?: boolean;
6238
+ /**
6239
+ * The group this one follows in the bar. Without it, a host group follows every built-in
6240
+ * group, in order of appearance. Ignored for built-in ids.
6241
+ */
6242
+ after?: ChromeGroupId | (string & {});
6243
+ /** Removes the group, built-in or host, from the bar and the "⋯" panel. */
6235
6244
  hidden?: boolean;
6236
- asChild?: boolean;
6237
- }
6238
- /** @public */
6239
- declare const ImageWrap: vue.DefineComponent<vue.ExtractPropTypes<{
6240
- className: {
6241
- type: StringConstructor;
6242
- default: undefined;
6243
- };
6244
- hidden: {
6245
- type: BooleanConstructor;
6246
- default: undefined;
6247
- };
6248
- asChild: {
6249
- type: BooleanConstructor;
6250
- default: undefined;
6251
- };
6252
- }>, () => vue_jsx_runtime.JSX.Element | null, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
6253
- className: {
6254
- type: StringConstructor;
6255
- default: undefined;
6256
- };
6257
- hidden: {
6258
- type: BooleanConstructor;
6259
- default: undefined;
6260
- };
6261
- asChild: {
6262
- type: BooleanConstructor;
6263
- default: undefined;
6264
- };
6265
- }>> & Readonly<{}>, {
6266
- className: string;
6267
- hidden: boolean;
6268
- asChild: boolean;
6269
- }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
6270
- /** @public */
6271
- interface ImageWrapPartComponent {
6272
- (props: ImageWrapProps): VNode | null;
6273
- readonly docxSlot: 'image.wrap';
6245
+ /**
6246
+ * Content for the group's "⋯" panel section, rendered after a built-in group's own rows.
6247
+ * It renders even when the group has no children, so a built-in id can add a panel-only
6248
+ * row. Without it, the panel renders the children in panel rows: actions become labeled
6249
+ * rows, and other content renders as is.
6250
+ */
6251
+ overflowContent?: () => DocxEditorChildren;
6252
+ className?: string;
6253
+ /** The group's controls, passed as the default slot. */
6254
+ children?: DocxEditorChildren;
6274
6255
  }
6275
-
6276
- type NormalizedImagePayload = {
6256
+ /**
6257
+ * A group of the preset toolbar: measured, collapsed in priority order, and shown as a
6258
+ * labeled section of the "⋯" panel when it does not fit.
6259
+ *
6260
+ * @example
6261
+ * ```ts
6262
+ * h(DocxEditorToolbar, null, () => [
6263
+ * h(DocxEditorToolbar.Group, { id: 'review-nav', label: 'Review', priority: 15 }, () => [
6264
+ * h(DocxEditorToolbar.Action, { label: 'Next change', onSelect: next }),
6265
+ * ]),
6266
+ * ]);
6267
+ * ```
6268
+ *
6269
+ * @public
6270
+ */
6271
+ declare const ToolbarHostGroup: {
6272
+ new (...args: any[]): vue.CreateComponentPublicInstanceWithMixins<Readonly<vue.ExtractPropTypes<{
6273
+ id: {
6274
+ type: PropType<ChromeGroupId | (string & {})>;
6275
+ required: true;
6276
+ };
6277
+ labelKey: {
6278
+ type: StringConstructor;
6279
+ default: undefined;
6280
+ };
6281
+ label: {
6282
+ type: StringConstructor;
6283
+ default: undefined;
6284
+ };
6285
+ priority: {
6286
+ type: NumberConstructor;
6287
+ default: undefined;
6288
+ };
6289
+ pinned: {
6290
+ type: BooleanConstructor;
6291
+ default: undefined;
6292
+ };
6293
+ after: {
6294
+ type: PropType<ChromeGroupId | (string & {})>;
6295
+ default: undefined;
6296
+ };
6297
+ hidden: {
6298
+ type: BooleanConstructor;
6299
+ default: undefined;
6300
+ };
6301
+ overflowContent: {
6302
+ type: PropType<() => DocxEditorChildren>;
6303
+ default: undefined;
6304
+ };
6305
+ class: {
6306
+ type: StringConstructor;
6307
+ default: undefined;
6308
+ };
6309
+ className: {
6310
+ type: StringConstructor;
6311
+ default: undefined;
6312
+ };
6313
+ }>> & Readonly<{}>, () => VNode<vue.RendererNode, vue.RendererElement, {
6314
+ [key: string]: any;
6315
+ }> | null, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, vue.PublicProps, {
6316
+ labelKey: string;
6317
+ label: string;
6318
+ priority: number;
6319
+ pinned: boolean;
6320
+ after: ChromeGroupId | (string & {});
6321
+ hidden: boolean;
6322
+ overflowContent: () => DocxEditorChildren;
6323
+ class: string;
6324
+ className: string;
6325
+ }, true, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
6326
+ P: {};
6327
+ B: {};
6328
+ D: {};
6329
+ C: {};
6330
+ M: {};
6331
+ Defaults: {};
6332
+ }, Readonly<vue.ExtractPropTypes<{
6333
+ id: {
6334
+ type: PropType<ChromeGroupId | (string & {})>;
6335
+ required: true;
6336
+ };
6337
+ labelKey: {
6338
+ type: StringConstructor;
6339
+ default: undefined;
6340
+ };
6341
+ label: {
6342
+ type: StringConstructor;
6343
+ default: undefined;
6344
+ };
6345
+ priority: {
6346
+ type: NumberConstructor;
6347
+ default: undefined;
6348
+ };
6349
+ pinned: {
6350
+ type: BooleanConstructor;
6351
+ default: undefined;
6352
+ };
6353
+ after: {
6354
+ type: PropType<ChromeGroupId | (string & {})>;
6355
+ default: undefined;
6356
+ };
6357
+ hidden: {
6358
+ type: BooleanConstructor;
6359
+ default: undefined;
6360
+ };
6361
+ overflowContent: {
6362
+ type: PropType<() => DocxEditorChildren>;
6363
+ default: undefined;
6364
+ };
6365
+ class: {
6366
+ type: StringConstructor;
6367
+ default: undefined;
6368
+ };
6369
+ className: {
6370
+ type: StringConstructor;
6371
+ default: undefined;
6372
+ };
6373
+ }>> & Readonly<{}>, () => VNode<vue.RendererNode, vue.RendererElement, {
6374
+ [key: string]: any;
6375
+ }> | null, {}, {}, {}, {
6376
+ labelKey: string;
6377
+ label: string;
6378
+ priority: number;
6379
+ pinned: boolean;
6380
+ after: ChromeGroupId | (string & {});
6381
+ hidden: boolean;
6382
+ overflowContent: () => DocxEditorChildren;
6383
+ class: string;
6384
+ className: string;
6385
+ }>;
6386
+ __isFragment?: never;
6387
+ __isTeleport?: never;
6388
+ __isSuspense?: never;
6389
+ } & vue.ComponentOptionsBase<Readonly<vue.ExtractPropTypes<{
6390
+ id: {
6391
+ type: PropType<ChromeGroupId | (string & {})>;
6392
+ required: true;
6393
+ };
6394
+ labelKey: {
6395
+ type: StringConstructor;
6396
+ default: undefined;
6397
+ };
6398
+ label: {
6399
+ type: StringConstructor;
6400
+ default: undefined;
6401
+ };
6402
+ priority: {
6403
+ type: NumberConstructor;
6404
+ default: undefined;
6405
+ };
6406
+ pinned: {
6407
+ type: BooleanConstructor;
6408
+ default: undefined;
6409
+ };
6410
+ after: {
6411
+ type: PropType<ChromeGroupId | (string & {})>;
6412
+ default: undefined;
6413
+ };
6414
+ hidden: {
6415
+ type: BooleanConstructor;
6416
+ default: undefined;
6417
+ };
6418
+ overflowContent: {
6419
+ type: PropType<() => DocxEditorChildren>;
6420
+ default: undefined;
6421
+ };
6422
+ class: {
6423
+ type: StringConstructor;
6424
+ default: undefined;
6425
+ };
6426
+ className: {
6427
+ type: StringConstructor;
6428
+ default: undefined;
6429
+ };
6430
+ }>> & Readonly<{}>, () => VNode<vue.RendererNode, vue.RendererElement, {
6431
+ [key: string]: any;
6432
+ }> | null, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, {
6433
+ labelKey: string;
6434
+ label: string;
6435
+ priority: number;
6436
+ pinned: boolean;
6437
+ after: ChromeGroupId | (string & {});
6438
+ hidden: boolean;
6439
+ overflowContent: () => DocxEditorChildren;
6440
+ class: string;
6441
+ className: string;
6442
+ }, {}, string, {}, vue.GlobalComponents, vue.GlobalDirectives, string, vue.ComponentProvideOptions> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {
6443
+ docxToolbarGroup: true;
6444
+ };
6445
+ /** Props for `DocxEditor.Toolbar.Slot`. @public */
6446
+ interface DocxEditorToolbarSlotProps {
6447
+ /** The built-in slot this content replaces, for example `'text.bold'`. */
6448
+ slotId: ChromeSlotId;
6449
+ /**
6450
+ * Render nothing: inside the preset arrangement this removes the slot in place. A named
6451
+ * part with `hidden`, such as `<Toolbar.Bold hidden />`, is shorthand for this override.
6452
+ */
6453
+ hidden?: boolean;
6454
+ /**
6455
+ * Content for the slot's "⋯" panel row when its group collapses. Without it the panel row
6456
+ * shows the default slot content under the slot's label.
6457
+ */
6458
+ overflowContent?: () => DocxEditorChildren;
6459
+ /** The replacement content, passed as the default slot. */
6460
+ children?: DocxEditorChildren;
6461
+ }
6462
+ /**
6463
+ * Replaces one built-in slot with arbitrary content. The content takes the slot's place and
6464
+ * collapses with the slot's group. A slot the preset arrangement does not draw has no place
6465
+ * to take, so the content is appended and a development warning names the slot. With
6466
+ * `hidden` it removes the slot in place; a named part with `hidden`, such as
6467
+ * `<Toolbar.Bold hidden />`, is shorthand for `<Toolbar.Slot slotId="text.bold" hidden />`.
6468
+ *
6469
+ * @example
6470
+ * ```ts
6471
+ * h(DocxEditorToolbar, null, () => [
6472
+ * h(DocxEditorToolbar.Slot, { slotId: 'zoom.level' }, () => [h(MyZoomPicker)]),
6473
+ * ]);
6474
+ * ```
6475
+ *
6476
+ * @public
6477
+ */
6478
+ declare const ToolbarSlot: {
6479
+ new (...args: any[]): vue.CreateComponentPublicInstanceWithMixins<Readonly<vue.ExtractPropTypes<{
6480
+ slotId: {
6481
+ type: PropType<ChromeSlotId>;
6482
+ required: true;
6483
+ };
6484
+ hidden: {
6485
+ type: BooleanConstructor;
6486
+ default: undefined;
6487
+ };
6488
+ overflowContent: {
6489
+ type: PropType<() => DocxEditorChildren>;
6490
+ default: undefined;
6491
+ };
6492
+ }>> & Readonly<{}>, () => VNode<vue.RendererNode, vue.RendererElement, {
6493
+ [key: string]: any;
6494
+ }>[] | null, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, vue.PublicProps, {
6495
+ hidden: boolean;
6496
+ overflowContent: () => DocxEditorChildren;
6497
+ }, true, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
6498
+ P: {};
6499
+ B: {};
6500
+ D: {};
6501
+ C: {};
6502
+ M: {};
6503
+ Defaults: {};
6504
+ }, Readonly<vue.ExtractPropTypes<{
6505
+ slotId: {
6506
+ type: PropType<ChromeSlotId>;
6507
+ required: true;
6508
+ };
6509
+ hidden: {
6510
+ type: BooleanConstructor;
6511
+ default: undefined;
6512
+ };
6513
+ overflowContent: {
6514
+ type: PropType<() => DocxEditorChildren>;
6515
+ default: undefined;
6516
+ };
6517
+ }>> & Readonly<{}>, () => VNode<vue.RendererNode, vue.RendererElement, {
6518
+ [key: string]: any;
6519
+ }>[] | null, {}, {}, {}, {
6520
+ hidden: boolean;
6521
+ overflowContent: () => DocxEditorChildren;
6522
+ }>;
6523
+ __isFragment?: never;
6524
+ __isTeleport?: never;
6525
+ __isSuspense?: never;
6526
+ } & vue.ComponentOptionsBase<Readonly<vue.ExtractPropTypes<{
6527
+ slotId: {
6528
+ type: PropType<ChromeSlotId>;
6529
+ required: true;
6530
+ };
6531
+ hidden: {
6532
+ type: BooleanConstructor;
6533
+ default: undefined;
6534
+ };
6535
+ overflowContent: {
6536
+ type: PropType<() => DocxEditorChildren>;
6537
+ default: undefined;
6538
+ };
6539
+ }>> & Readonly<{}>, () => VNode<vue.RendererNode, vue.RendererElement, {
6540
+ [key: string]: any;
6541
+ }>[] | null, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, {
6542
+ hidden: boolean;
6543
+ overflowContent: () => DocxEditorChildren;
6544
+ }, {}, string, {}, vue.GlobalComponents, vue.GlobalDirectives, string, vue.ComponentProvideOptions> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {
6545
+ docxToolbarSlot: true;
6546
+ };
6547
+
6548
+ /**
6549
+ * Add Comment (`DocxEditorToolbar.AddComment`, slot `review.addComment`): opens a comment
6550
+ * draft on the selection in the review rail. It needs a mounted review rail to open the
6551
+ * draft. It is not part of the default arrangement; place it with `Toolbar.Group`.
6552
+ *
6553
+ * @example
6554
+ * ```ts
6555
+ * h(DocxEditorToolbar, null, () => [
6556
+ * h(DocxEditorToolbar.Group, { id: 'review' }, () => [h(DocxEditorToolbar.AddComment)]),
6557
+ * ]);
6558
+ * ```
6559
+ *
6560
+ * @public
6561
+ */
6562
+ declare const ToolbarAddComment: vue.DefineComponent<vue.ExtractPropTypes<{
6563
+ class: {
6564
+ type: StringConstructor;
6565
+ default: undefined;
6566
+ };
6567
+ className: {
6568
+ type: StringConstructor;
6569
+ default: undefined;
6570
+ };
6571
+ hidden: {
6572
+ type: BooleanConstructor;
6573
+ default: undefined;
6574
+ };
6575
+ asChild: {
6576
+ type: BooleanConstructor;
6577
+ default: undefined;
6578
+ };
6579
+ icon: {
6580
+ type: PropType<VNode>;
6581
+ default: undefined;
6582
+ };
6583
+ }>, () => VNode<vue.RendererNode, vue.RendererElement, {
6584
+ [key: string]: any;
6585
+ }> | null, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
6586
+ class: {
6587
+ type: StringConstructor;
6588
+ default: undefined;
6589
+ };
6590
+ className: {
6591
+ type: StringConstructor;
6592
+ default: undefined;
6593
+ };
6594
+ hidden: {
6595
+ type: BooleanConstructor;
6596
+ default: undefined;
6597
+ };
6598
+ asChild: {
6599
+ type: BooleanConstructor;
6600
+ default: undefined;
6601
+ };
6602
+ icon: {
6603
+ type: PropType<VNode>;
6604
+ default: undefined;
6605
+ };
6606
+ }>> & Readonly<{}>, {
6607
+ class: string;
6608
+ className: string;
6609
+ hidden: boolean;
6610
+ asChild: boolean;
6611
+ icon: VNode<vue.RendererNode, vue.RendererElement, {
6612
+ [key: string]: any;
6613
+ }>;
6614
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
6615
+
6616
+ /** @public */
6617
+ declare const ImageInsertProvider: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
6618
+ [key: string]: any;
6619
+ }>[], {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
6620
+ /** @public */
6621
+ declare const ImageInsertTrigger: vue.DefineComponent<vue.ExtractPropTypes<{
6622
+ className: {
6623
+ type: StringConstructor;
6624
+ default: undefined;
6625
+ };
6626
+ hidden: {
6627
+ type: BooleanConstructor;
6628
+ default: undefined;
6629
+ };
6630
+ asChild: {
6631
+ type: BooleanConstructor;
6632
+ default: undefined;
6633
+ };
6634
+ }>, () => vue_jsx_runtime.JSX.Element | null, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
6635
+ className: {
6636
+ type: StringConstructor;
6637
+ default: undefined;
6638
+ };
6639
+ hidden: {
6640
+ type: BooleanConstructor;
6641
+ default: undefined;
6642
+ };
6643
+ asChild: {
6644
+ type: BooleanConstructor;
6645
+ default: undefined;
6646
+ };
6647
+ }>> & Readonly<{}>, {
6648
+ className: string;
6649
+ hidden: boolean;
6650
+ asChild: boolean;
6651
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
6652
+
6653
+ /** @public */
6654
+ interface ImageWrapProps {
6655
+ className?: string;
6656
+ hidden?: boolean;
6657
+ asChild?: boolean;
6658
+ }
6659
+ /** @public */
6660
+ declare const ImageWrap: vue.DefineComponent<vue.ExtractPropTypes<{
6661
+ className: {
6662
+ type: StringConstructor;
6663
+ default: undefined;
6664
+ };
6665
+ hidden: {
6666
+ type: BooleanConstructor;
6667
+ default: undefined;
6668
+ };
6669
+ asChild: {
6670
+ type: BooleanConstructor;
6671
+ default: undefined;
6672
+ };
6673
+ }>, () => vue_jsx_runtime.JSX.Element | null, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
6674
+ className: {
6675
+ type: StringConstructor;
6676
+ default: undefined;
6677
+ };
6678
+ hidden: {
6679
+ type: BooleanConstructor;
6680
+ default: undefined;
6681
+ };
6682
+ asChild: {
6683
+ type: BooleanConstructor;
6684
+ default: undefined;
6685
+ };
6686
+ }>> & Readonly<{}>, {
6687
+ className: string;
6688
+ hidden: boolean;
6689
+ asChild: boolean;
6690
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
6691
+ /** @public */
6692
+ interface ImageWrapPartComponent {
6693
+ (props: ImageWrapProps): VNode | null;
6694
+ readonly docxSlot: 'image.wrap';
6695
+ }
6696
+
6697
+ type NormalizedImagePayload = {
6277
6698
  readonly ok: true;
6278
6699
  readonly bytes: Uint8Array;
6279
6700
  readonly mime: SupportedImageMime;
@@ -6297,6 +6718,11 @@ interface ToolbarPartComponent {
6297
6718
  interface ToolbarSlotPartProps {
6298
6719
  class?: string;
6299
6720
  className?: string;
6721
+ /**
6722
+ * Render nothing: inside the default arrangement this removes the slot in place. A named
6723
+ * part is shorthand for the slot override, so `<Toolbar.Bold hidden />` is
6724
+ * `<Toolbar.Slot slotId="text.bold" hidden />`.
6725
+ */
6300
6726
  hidden?: boolean;
6301
6727
  }
6302
6728
  /** @public */
@@ -6823,6 +7249,15 @@ interface DocxEditorToolbarNamespace {
6823
7249
  readonly Button: typeof ToolbarButton$1;
6824
7250
  readonly Action: typeof ToolbarAction;
6825
7251
  readonly Separator: typeof ToolbarSeparator;
7252
+ /**
7253
+ * A group of the preset bar: host content that is measured and collapses into the "⋯"
7254
+ * panel, or, with a built-in id, controls added to that group or the group hidden.
7255
+ */
7256
+ readonly Group: typeof ToolbarHostGroup;
7257
+ /** Replaces one built-in slot with arbitrary content, in the slot's place. */
7258
+ readonly Slot: typeof ToolbarSlot;
7259
+ /** Opens a comment draft on the selection in the review rail. */
7260
+ readonly AddComment: typeof ToolbarAddComment;
6826
7261
  readonly Undo: ToolbarPartComponent;
6827
7262
  readonly Redo: ToolbarPartComponent;
6828
7263
  readonly Bold: ToolbarPartComponent;
@@ -6873,6 +7308,92 @@ interface DocxEditorToolbarNamespace {
6873
7308
  /** @public */
6874
7309
  declare const DocxEditorToolbar: DocxEditorToolbarNamespace;
6875
7310
 
7311
+ /** Props for `DocxEditor.Menu.ReportIssue`. @public */
7312
+ interface MenuReportIssueProps {
7313
+ className?: string;
7314
+ /** Render nothing — inside the packaged Help menu this removes the row. */
7315
+ hidden?: boolean;
7316
+ /** Replaces the packaged handler. Falls back to the menu's `onReportIssue`, then to
7317
+ * this project's own tracker. */
7318
+ onSelect?: () => void;
7319
+ }
7320
+ /**
7321
+ * The report-issue row, with its row-identity marker.
7322
+ *
7323
+ * The key is NOT a `ChromeSlotId` — the row is React's, not the shared registry's — but the
7324
+ * merge only needs a stable string, and using one here is what lets a host write
7325
+ * `<Menu.ReportIssue hidden/>` and have it REPLACE the packaged row rather than render a
7326
+ * second, invisible one beside it.
7327
+ *
7328
+ * @public
7329
+ */
7330
+ declare const MenuReportIssue: {
7331
+ new (...args: any[]): vue.CreateComponentPublicInstanceWithMixins<Readonly<vue.ExtractPropTypes<{
7332
+ className: {
7333
+ type: StringConstructor;
7334
+ default: undefined;
7335
+ };
7336
+ hidden: {
7337
+ type: BooleanConstructor;
7338
+ default: undefined;
7339
+ };
7340
+ onSelect: {
7341
+ type: PropType<() => void>;
7342
+ default: undefined;
7343
+ };
7344
+ }>> & Readonly<{}>, () => vue_jsx_runtime.JSX.Element | null, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, vue.PublicProps, {
7345
+ className: string;
7346
+ hidden: boolean;
7347
+ onSelect: () => void;
7348
+ }, true, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
7349
+ P: {};
7350
+ B: {};
7351
+ D: {};
7352
+ C: {};
7353
+ M: {};
7354
+ Defaults: {};
7355
+ }, Readonly<vue.ExtractPropTypes<{
7356
+ className: {
7357
+ type: StringConstructor;
7358
+ default: undefined;
7359
+ };
7360
+ hidden: {
7361
+ type: BooleanConstructor;
7362
+ default: undefined;
7363
+ };
7364
+ onSelect: {
7365
+ type: PropType<() => void>;
7366
+ default: undefined;
7367
+ };
7368
+ }>> & Readonly<{}>, () => vue_jsx_runtime.JSX.Element | null, {}, {}, {}, {
7369
+ className: string;
7370
+ hidden: boolean;
7371
+ onSelect: () => void;
7372
+ }>;
7373
+ __isFragment?: never;
7374
+ __isTeleport?: never;
7375
+ __isSuspense?: never;
7376
+ } & vue.ComponentOptionsBase<Readonly<vue.ExtractPropTypes<{
7377
+ className: {
7378
+ type: StringConstructor;
7379
+ default: undefined;
7380
+ };
7381
+ hidden: {
7382
+ type: BooleanConstructor;
7383
+ default: undefined;
7384
+ };
7385
+ onSelect: {
7386
+ type: PropType<() => void>;
7387
+ default: undefined;
7388
+ };
7389
+ }>> & Readonly<{}>, () => vue_jsx_runtime.JSX.Element | null, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, {
7390
+ className: string;
7391
+ hidden: boolean;
7392
+ onSelect: () => void;
7393
+ }, {}, string, {}, vue.GlobalComponents, vue.GlobalDirectives, string, vue.ComponentProvideOptions> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {
7394
+ docxSlot: string;
7395
+ };
7396
+
6876
7397
  /** @public */
6877
7398
  type MenuReviewersProps = {
6878
7399
  className?: string;
@@ -6942,6 +7463,21 @@ interface DocxEditorMenuProps {
6942
7463
  onReportIssue?: () => void;
6943
7464
  reportIssue?: boolean;
6944
7465
  preset?: boolean;
7466
+ /**
7467
+ * What the bar does when its menus do not fit on one line. Default `true`: the bar stays
7468
+ * one line, measures its menus, and moves the ones that do not fit, from the end, into
7469
+ * one "⋯" menu, where each becomes a submenu with the same rows. `false` lets the bar
7470
+ * wrap onto more lines instead.
7471
+ *
7472
+ * The bar must be able to shrink for this to work, so give it a bounded width (for
7473
+ * example `min-width: 0` in a flex row). Host children that are not menus never move.
7474
+ *
7475
+ * @example
7476
+ * ```vue
7477
+ * <DocxEditorMenu :overflow="false" />
7478
+ * ```
7479
+ */
7480
+ overflow?: boolean;
6945
7481
  children?: DocxEditorChildren;
6946
7482
  }
6947
7483
  /** @public */
@@ -7158,6 +7694,12 @@ interface UseNavigationPaneResult {
7158
7694
  readonly setTab: (tab: NavigationTab$1) => void;
7159
7695
  readonly paneWidth: ComputedRef<number>;
7160
7696
  readonly shift: ComputedRef<number>;
7697
+ /**
7698
+ * Whether the open pane covers the page instead of moving it. True on a viewport too
7699
+ * narrow to show a readable page beside the pane (see `NAVIGATION_PANE_MIN_PAGE_ROOM`);
7700
+ * `shift` is then 0, and `DocxEditorNavigation` closes after a heading or result is picked.
7701
+ */
7702
+ readonly overlay: ComputedRef<boolean>;
7161
7703
  }
7162
7704
  /** @public */
7163
7705
  declare function useNavigationPane(options?: MaybeRefOrGetter$1<UseNavigationPaneOptions>): UseNavigationPaneResult;
@@ -7367,6 +7909,10 @@ declare const NavigationToggle: vue.DefineComponent<vue.ExtractPropTypes<{
7367
7909
 
7368
7910
  /** Props for `DocxEditor.Navigation`. @public */
7369
7911
  interface DocxEditorNavigationProps extends UseNavigationPaneOptions {
7912
+ /**
7913
+ * Label resolver. Defaults to the `translate` given to `DocxEditorRoot`, and for keys it
7914
+ * leaves unresolved, to the active locale catalogue.
7915
+ */
7370
7916
  t?: (key: string, params?: Record<string, string | number>) => string;
7371
7917
  toggle?: boolean | NavigationPartProps;
7372
7918
  /**
@@ -7375,6 +7921,12 @@ interface DocxEditorNavigationProps extends UseNavigationPaneOptions {
7375
7921
  * tab; another `useDocumentSearch` consumer can still request them.
7376
7922
  */
7377
7923
  searchHighlight?: DocumentSearchHighlight;
7924
+ /**
7925
+ * Whether Ctrl+F (Cmd+F on macOS) opens the pane on the Find tab. Defaults to `true`. The
7926
+ * shortcut applies only while focus is in this editor, so the rest of the page keeps the
7927
+ * browser's own search. Set `false` to leave the shortcut to the browser everywhere.
7928
+ */
7929
+ findShortcut?: boolean;
7378
7930
  className?: string;
7379
7931
  style?: CSSProperties;
7380
7932
  children?: DocxEditorChildren;
@@ -7465,6 +8017,21 @@ interface NavigationShiftInput {
7465
8017
  * make the pane jump on the first frame and settle on the second.
7466
8018
  */
7467
8019
  declare function navigationShift({ viewportWidth, pageWidthPx, reservation, inlineEndReservation, inlineStartReservation, docked, }: NavigationShiftInput): number;
8020
+ /**
8021
+ * The narrowest page column, in px, an open pane must leave beside it.
8022
+ *
8023
+ * Below it a shift cannot help: a 390px phone viewport less the default 328px reservation
8024
+ * leaves a 62px strip of page. There the pane overlays the page instead, at the viewport's
8025
+ * full width less its inset on each side, and the page does not move.
8026
+ */
8027
+ declare const NAVIGATION_PANE_MIN_PAGE_ROOM = 320;
8028
+ /**
8029
+ * Whether an open pane overlays the page rather than moving it: true when the viewport
8030
+ * leaves less than {@link NAVIGATION_PANE_MIN_PAGE_ROOM} beside the reservation. Uses the
8031
+ * viewport's client width only, never a padding the pane itself causes, so the answer cannot
8032
+ * feed back into its own input. `false` for a viewport that has not been measured.
8033
+ */
8034
+ declare function navigationPaneOverlays(viewportWidth: number, reservation: number): boolean;
7468
8035
 
7469
8036
  /** @public */
7470
8037
  declare function useNavigationShift(): ShallowRef<number>;
@@ -7476,7 +8043,28 @@ interface DocxEditorPageNumberProps {
7476
8043
  className?: string;
7477
8044
  style?: CSSProperties;
7478
8045
  }
7479
- /** @public */
8046
+ /**
8047
+ * Floating localized page readout for the active `DocxEditorViewport`.
8048
+ *
8049
+ * It appears while a multi-page document scrolls and fades after 600 ms of inactivity. It is
8050
+ * positioned `absolute` against the nearest positioned ancestor, so give the element that holds
8051
+ * the viewport `position: relative`.
8052
+ *
8053
+ * Place it as a sibling of the viewport or inside it. Inside the viewport, it renders into the
8054
+ * viewport's parent element, so it stays in view while the pages scroll.
8055
+ *
8056
+ * @example
8057
+ * ```vue
8058
+ * <div style="position: relative; height: 100%">
8059
+ * <DocxEditorViewport>
8060
+ * <DocxEditorContent />
8061
+ * </DocxEditorViewport>
8062
+ * <DocxEditorPageNumber />
8063
+ * </div>
8064
+ * ```
8065
+ *
8066
+ * @public
8067
+ */
7480
8068
  declare const DocxEditorPageNumber: vue.DefineComponent<vue.ExtractPropTypes<{
7481
8069
  className: {
7482
8070
  type: StringConstructor;
@@ -7600,6 +8188,12 @@ interface DocxEditorProps {
7600
8188
  menu?: boolean | DocxEditorMenuProps;
7601
8189
  hyperlinkPopup?: boolean;
7602
8190
  contextMenu?: boolean | DocxEditorContextMenuProps;
8191
+ /**
8192
+ * The packaged navigation pane: `false` removes it, an object is
8193
+ * `DocxEditorNavigationProps`. The pane captures Ctrl+F (Cmd+F on macOS) while focus is in
8194
+ * this editor and opens Find; `:navigation="{ findShortcut: false }"` leaves the shortcut
8195
+ * to the browser.
8196
+ */
7603
8197
  navigation?: boolean | DocxEditorNavigationProps;
7604
8198
  rulers?: boolean;
7605
8199
  document?: DocumentSource;
@@ -7615,6 +8209,13 @@ interface DocxEditorProps {
7615
8209
  revisionMarkup?: RevisionMarkupOptions;
7616
8210
  /** Initial revision display mode. */
7617
8211
  reviewDisplayMode?: ReviewDisplayMode;
8212
+ /**
8213
+ * How the reader edits saved field results. `'atomic'` (the default) keeps every field one
8214
+ * unit. `'editable'` allows typing, deletion, and selection inside the saved result of a
8215
+ * DATE, MERGEFIELD, HYPERLINK, or similar field. Read once, when the editor is created: a later change is ignored, with a development warning. Refused
8216
+ * with a collaboration module.
8217
+ */
8218
+ fieldResults?: FieldResultsMode;
7618
8219
  /**
7619
8220
  * BCP-47 locale for regional date input and engine-generated labels. Defaults to en-US.
7620
8221
  * Changes apply to subsequent edits without a remount; stored date formats are preserved.
@@ -7700,9 +8301,11 @@ interface ReviewGutterInput {
7700
8301
  readonly pageWidthPx: number;
7701
8302
  readonly inlineStartReservation?: number;
7702
8303
  readonly docked?: boolean;
8304
+ /** `overflow: 'scroll'`: the full column stands even when it does not fit. */
8305
+ readonly scroll?: boolean;
7703
8306
  }
7704
8307
  /** Returns the inline-edge reservations for the current rail geometry. @public */
7705
- declare function reviewGutter({ open, viewportWidth, pageWidthPx, inlineStartReservation, docked, }: ReviewGutterInput): ReviewGutter;
8308
+ declare function reviewGutter({ open, viewportWidth, pageWidthPx, inlineStartReservation, docked, scroll, }: ReviewGutterInput): ReviewGutter;
7706
8309
  /** Returns the live review-rail reservation for the viewport and rulers. @public */
7707
8310
  declare function useReviewGutter(): ShallowRef<ReviewGutter>;
7708
8311
 
@@ -8989,5 +9592,5 @@ interface UseHistoryGroupReturn {
8989
9592
  /** Bind a control's native gesture lifecycle. Apply values through the existing command hooks. @public */
8990
9593
  declare function useHistoryGroup({ kind }: HistoryGroupBindingOptions): UseHistoryGroupReturn;
8991
9594
 
8992
- 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, 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 };
8993
- 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, 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, 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 };
9595
+ 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_MIN_PAGE_ROOM, 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, navigationPaneOverlays, navigationPaneReservation, navigationShift, normalizeImageBytes, notificationYieldsToTask, 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 };
9596
+ 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, DocxEditorToolbarGroupProps, DocxEditorToolbarNamespace, DocxEditorToolbarProps, DocxEditorToolbarSlotProps, DocxEditorViewportProps, DocxFontOrigin, DocxFontsInput, DocxFontsSource, DocxSource, EditorCaret, EditorCommandState, EditorMode, EditorValueCommandState, FontFamilyItemProps, FontFamilyNamespace, FontFamilyPartProps, FontFamilyProps, FontsInput, HeaderFooterState, HorizontalRulerProps, HyperLinkActionProps, HyperLinkPartProps, HyperLinkProps, HyperlinkPopupAnchor, HyperlinkPopupMode, HyperlinkPopupState, ImagePropertiesTriggerProps, IndentUpdate, LocaleProviderProps, MaybeRefOrGetter, MenuActionProps, MenuGroupProps, MenuId, MenuItemBaseProps, MenuItemProps, MenuPartComponent, MenuProps, MenuReportIssueProps, MenuReviewersProps, MenuRowProps, MenuSeparatorProps, MenuSubmenuBaseProps, 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, 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 };